blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
dae11d26957860fe37ea6e4b1cf4df49432a4e45
b78df448ca3ab23f39628de71d59cc99aea67840
/fmm/omp_sse.cc
7542f9bae09bc93b3780e77efa3120f394fc4f8c
[]
no_license
jeewhanchoi/kifmm--hybrid--double-only
54b42c50054f04c06deef932083b0928f7f15155
ccc9852eb68a93cab6048d713b5d884c1ad46428
refs/heads/master
2021-01-02T09:19:53.962038
2017-01-08T20:54:16
2017-01-08T20:54:16
13,448,982
5
1
null
null
null
null
UTF-8
C++
false
false
26,133
cc
#include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "vecmatop.h" #include "reals_aligned.h" #include "evaluate--basic.h" #include "evaluate.h" #include "timing.h" #include "util.h" #include <omp.h> /* ------------------------------------------------------------------------ */ const char * get_implementation_name (void) { static const char* fmt__ = "omp_sse-%d"; static char* desc__ = NULL; static size_t desc_max_len__ = 0; #pragma omp parallel { #pragma omp single { int num_threads = 1; if (!desc__) { desc_max_len__ = strlen (fmt__) + 16; desc__ = (char *)malloc (sizeof (char) * (strlen (fmt__) + 16)); assert (desc__); memset (desc__, 0, desc_max_len__); } num_threads = omp_get_num_threads (); snprintf (desc__, desc_max_len__, fmt__, num_threads); } /* omp single */ } /* omp parallel */ return desc__; } /* ------------------------------------------------------------------------ */ int get_num_threads (void) { int nthreads; #pragma omp parallel { nthreads = omp_get_num_threads(); } return nthreads; } /* ------------------------------------------------------------------------ */ int up_compute (int i, Node **tl_pos, AllNodes *All_N) { Point3 c; real_t r; Pos* SP = All_N->SP; Trans_matrix* TM = All_N->TM; vector<NodeTree>& nodeVec = *All_N->N; if (nodeVec[i].tag & LET_SRCNODE) { real_t *uden = &All_N->src_upw_equ_den[i*pln_size(UE, SP)]; /* S2M */ if (nodeVec[i].child == -1) { /* Upward check potential */ c = center (i, nodeVec); r = radius (i, nodeVec); int tid = omp_get_thread_num(); compute_localpos (c, r, tl_pos[tid], &SP[UC]); reals_zero (SP[UC].n, tl_pos[tid]->den_pot); ulist__direct_evaluation (*tl_pos[tid], All_N->Ns[i]); /* Upward equivalent density */ int srcDOF = 1; real_t *tmpDen = (real_t *) reals_alloc__aligned (srcDOF*SP[UE].n); reals_zero (SP[UE].n, tmpDen); dgemv(TM->m, TM->n, 1.0, TM->UC2UE, tl_pos[tid]->den_pot, 1.0, tmpDen); //scale int l = nodeVec[i].depth; real_t degVec[1]; degVec[0] = 1; real_t sclvec[srcDOF]; for(int s=0; s<srcDOF; s++) sclvec[s] = pow(2.0, -l*degVec[s]); int cnt = 0; for(int i=0; i < SP[UE].n; i++) for(int s=0; s < srcDOF; s++) { uden[cnt] = uden[cnt] + tmpDen[cnt] * sclvec[s]; cnt++; } } if (nodeVec[i].child != -1) { Node* tnl_pos; tnl_pos = (Node *) _mm_malloc(sizeof(Node), IDEAL_ALIGNMENT); tnl_pos->den_pot = (real_t *) reals_alloc__aligned (SP[UC].n); reals_zero (SP[UC].n, tnl_pos->den_pot); for(int a=0; a<2; a++) { for(int b=0; b<2; b++) { for(int c=0; c<2; c++) { Index3 idx(a,b,c); int chi = child(i, idx, nodeVec); if(nodeVec[chi].tag & LET_SRCNODE) { real_t *den = &All_N->src_upw_equ_den[chi*pln_size(UE, SP)]; int srcDOF = 1; real_t *tmpDen = (real_t *) reals_alloc__aligned (srcDOF*SP[UE].n); reals_zero (SP[UE].n, tmpDen); int l = nodeVec[chi].depth; real_t degVec[1]; degVec[0] = 1; real_t sclvec[srcDOF]; for(int s=0; s<srcDOF; s++) sclvec[s] = pow(2.0, l*degVec[s]); int cnt = 0; for(int i=0; i < SP[UE].n; i++) for(int s=0; s < srcDOF; s++) { tmpDen[cnt] = den[cnt] * sclvec[s]; cnt++; } real_t *UE2UCii = TM->UE2UC[idx(2)+idx(1)*2+idx(0)*2*2]; dgemv(TM->n, TM->m, 1.0, UE2UCii, tmpDen, 1.0, tnl_pos->den_pot); } } } } /* Upward equivalent density */ int srcDOF = 1; real_t *tmpDen = (real_t *) reals_alloc__aligned (srcDOF*SP[UE].n); reals_zero (SP[UE].n, tmpDen); dgemv(TM->m, TM->n, 1.0, TM->UC2UE, tnl_pos->den_pot, 1.0, tmpDen); //scale int l = nodeVec[i].depth; real_t degVec[1]; degVec[0] = 1; real_t sclvec[srcDOF]; for(int s=0; s<srcDOF; s++) sclvec[s] = pow(2.0, -l*degVec[s]); int cnt = 0; for(int i=0; i < SP[UE].n; i++) for(int s=0; s < srcDOF; s++) { uden[cnt] = uden[cnt] + tmpDen[cnt] * sclvec[s]; cnt++; } } } return 0; } /* ------------------------------------------------------------------------ */ int up_calc__cpu (FMMWrapper_t *F) { int i, n, np; Point3 c; real_t r; AllNodes *All_N = F->AN; Pos* SP = All_N->SP; Trans_matrix* TM = All_N->TM; vector<NodeTree>& nodeVec = *All_N->N; vector<int>& nodeLevel = *All_N->nodeLevel; /* Pre-compute UC2UE matrix */ compute_UC2UE_mat (TM, SP); /* Pre-compute UE2UC matrices */ TM->UE2UC = (real_t **) malloc (sizeof(real_t*) * 2*2*2); for(int a=0; a<2; a++) { for(int b=0; b<2; b++) { for(int c=0; c<2; c++) { Index3 idx(a, b, c); compute_UE2UC_mat (idx, TM, SP); } } } int nthreads = get_num_threads (); Node* tl_pos[nthreads]; for (i = 0; i < nthreads; i++) { tl_pos[i] = (Node *) _mm_malloc(sizeof(Node), IDEAL_ALIGNMENT); tl_pos[i]->x = (real_t *) reals_alloc__aligned (SP[UC].n); tl_pos[i]->y = (real_t *) reals_alloc__aligned (SP[UC].n); tl_pos[i]->z = (real_t *) reals_alloc__aligned (SP[UC].n); tl_pos[i]->den_pot = (real_t *) reals_alloc__aligned (SP[UC].n); tl_pos[i]->num_pts = SP[UC].n; } /* Upward */ int l = nodeLevel.size(); int leaf_nodes = nodeLevel[l-1] - nodeLevel[l-2]; int bz = getenv__upbs(); int nbz = ceil((real_t)leaf_nodes/bz); if (nbz < 1) nbz = 1; int beg, end; for (int k = 0; k < nbz; k++) { for (int j = l-1; j > 3; j--) { //TODO: It's been hardcoded to 3 just for testing if (j == l-1) { beg = nodeLevel[j-1] + k * bz; end = ((beg + bz) > nodeLevel[j]) ? nodeLevel[j] : (beg + bz); } else { beg = (k == 0) ? nodeLevel[j-1] : nodeVec[beg-1].parent ; end = (k == nbz-1) ? nodeLevel[j] : nodeVec[end-1].parent; } #pragma omp parallel for schedule(guided) private(i,c,r) for (i = beg; i < end; i++) { up_compute (i, tl_pos, All_N); } } } for (int j = 3; j > 0; j--) { //TODO: It's been hardcoded to 3 for now #pragma omp parallel for schedule(guided) private(i,c,r) for (i = nodeLevel[j-1]; i < nodeLevel[j]; i++) { up_compute (i, tl_pos, All_N); } } return 0; } /* ------------------------------------------------------------------------ */ int ulist_calc__cpu (FMMWrapper_t *F) { AllNodes *All_N = F->AN; if (All_N) { int i; vector<NodeTree>& nodeVec = *All_N->N; int* Ti = All_N->Tu; #pragma omp parallel shared (All_N) { int i; int tid = omp_get_thread_num(); for (i = Ti[tid]; i < Ti[tid+1]; i++) { int k; for (k = 0; k < nodeVec[i].Unodes.size(); k++) { int src = nodeVec[i].Unodes[k]; ulist__direct_evaluation (All_N->Nt[i], All_N->Ns[src]); } } } } return 0; } /* ------------------------------------------------------------------------ */ int ulist__direct_evaluation (Node trg, Node src) { int i; SIMD_REG OOFP_R__ = SIMD_SET1 (OOFP_R); for (i = 0; (i+SIMD_LEN) <= trg.num_pts; i += SIMD_LEN) { SIMD_REG TX__ = SIMD_LOAD_U (trg.x + i); SIMD_REG TY__ = SIMD_LOAD_U (trg.y + i); SIMD_REG TZ__ = SIMD_LOAD_U (trg.z + i); SIMD_REG TD__ = SIMD_ZERO; int j; for (j = 0; j < src.num_pts; j++) { SIMD_REG SD1__ = SIMD_LOAD1 (src.den_pot + j); SIMD_REG DX1__ = SIMD_SUB (TX__, SIMD_LOAD1 (src.x + j)); SIMD_REG DY1__ = SIMD_SUB (TY__, SIMD_LOAD1 (src.y + j)); SIMD_REG DZ1__ = SIMD_SUB (TZ__, SIMD_LOAD1 (src.z + j)); SIMD_REG R__ = SIMD_MUL (DX1__, DX1__); R__ = SIMD_ADD (R__, SIMD_MUL (DY1__, DY1__)); R__ = SIMD_ADD (R__, SIMD_MUL (DZ1__, DZ1__)); SIMD_REG TEMP__ = SIMD_CMPEQ (R__, SIMD_ZERO); #if !defined (USE_FLOAT) SIMD_REG XHALF__ = SIMD_MUL (SIMD_SET1 (0.5), R__); R__ = SIMD_INV_SQRT_S (R__); SIMD_REG RNR__ = SIMD_MUL (R__, R__); RNR__ = SIMD_MUL (RNR__, XHALF__); RNR__ = SIMD_SUB (SIMD_SET1 (1.5), RNR__); R__ = SIMD_MUL (RNR__, R__); // R__ = SIMD_INV_SQRT (R__); #else R__ = SIMD_INV_SQRT (R__); #endif // To handle the condition when src and trg coincide R__ = SIMD_ANDNOT (TEMP__, R__); TD__ = SIMD_ADD (TD__, SIMD_MUL (SD1__, R__)); } TD__ = SIMD_MUL (TD__, OOFP_R__); TD__ = SIMD_ADD (TD__, SIMD_LOAD_U (trg.den_pot + i)); SIMD_STORE_U (trg.den_pot + i, TD__); } while (i < trg.num_pts) { real_t tx = trg.x[i]; real_t ty = trg.y[i]; real_t tz = trg.z[i]; real_t td = 0.0; int j; for (j = 0; j < src.num_pts; j++) { real_t x = tx - src.x[j]; real_t y = ty - src.y[j]; real_t z = tz - src.z[j]; real_t r2 = x*x + y*y + z*z; #if !defined (USE_FLOAT) real_t r = sqrt(r2); #else real_t r = sqrtf(r2); #endif if (r != 0) td += src.den_pot[j] / r; } trg.den_pot[i] += OOFP_R * td; ++i; } return 0; } int kernel (int sn, int tn, real_t* x1, real_t* x2, real_t* x3, real_t* y1, real_t* y2, real_t* y3, real_t* mat) { int i; SIMD_REG OOFP_R__ = SIMD_SET1 (OOFP_R); // Load and calculate in groups of SIMD_LEN for (i = 0; i < sn; i++) { SIMD_REG SX__ = SIMD_LOAD1 (&x1[i]); SIMD_REG SY__ = SIMD_LOAD1 (&x2[i]); SIMD_REG SZ__ = SIMD_LOAD1 (&x3[i]); int j; for (j = 0; (j+SIMD_LEN) <= tn; j+=SIMD_LEN) { SIMD_REG TX1__ = SIMD_SUB (SX__, SIMD_LOAD_U (&y1[j])); SIMD_REG TY1__ = SIMD_SUB (SY__, SIMD_LOAD_U (&y2[j])); SIMD_REG TZ1__ = SIMD_SUB (SZ__, SIMD_LOAD_U (&y3[j])); SIMD_REG R__ = SIMD_MUL (TX1__, TX1__); R__ = SIMD_ADD (R__, SIMD_MUL (TY1__, TY1__)); R__ = SIMD_ADD (R__, SIMD_MUL (TZ1__, TZ1__)); SIMD_REG TEMP__ = SIMD_CMPEQ (R__, SIMD_ZERO); #if !defined (USE_FLOAT) SIMD_REG XHALF__ = SIMD_MUL (SIMD_SET1 (0.5), R__); R__ = SIMD_INV_SQRT_S (R__); SIMD_REG RNR__ = SIMD_MUL (R__, R__); RNR__ = SIMD_MUL (RNR__, XHALF__); RNR__ = SIMD_SUB (SIMD_SET1 (1.5), RNR__); R__ = SIMD_MUL (RNR__, R__); #else R__ = SIMD_INV_SQRT (R__); #endif R__ = SIMD_ANDNOT (TEMP__, R__); R__ = SIMD_MUL (R__, OOFP_R__); SIMD_STORE_U (&mat[i*tn+j], R__); } // Handle left overs - not divisible by SIMD_LEN for (; j < tn; j++) { double dx, dy, dz; double dr2; double dr; dx = x1[i] - y1[j]; dy = x2[i] - y2[j]; dz = x3[i] - y3[j]; dr2 = dx*dx + dy*dy + dz*dz; #if !defined (USE_FLOAT) dr = sqrt(dr2); #else dr = sqrtf(dr2); #endif if (dr != 0) mat[i*tn+j] = OOFP_R / dr; } } return 0; } /* ------------------------------------------------------------------------ */ int compute_fft_src (AllNodes *All_N, FFT_PLAN& forplan) { int i = 0; int eff_size; int nthreads; real_t* eden; real_t* uden; real_t* rden; real_t* tden; vector<NodeTree>& nodeVec = *All_N->N; eff_size = eff_data_size (UE); Pos* SP = All_N->SP; Pos* RP = All_N->RP; #pragma omp parallel { nthreads = omp_get_num_threads(); } real_t* reg_den = reals_alloc__aligned (RP->n * nthreads); real_t* tmp_den = reals_alloc__aligned (SP[UE].n * nthreads); if (nodeVec[i].tag & LET_SRCNODE) { eden = &All_N->eff_den[i * eff_size]; uden = &All_N->src_upw_equ_den[i*pln_size(UE, SP)]; plnDen2EffDeninit(nodeVec[i].depth, uden, eden, forplan, All_N); //2. transform from upeDen to effDen } #pragma omp parallel for schedule(static) private(i, eden, uden, rden, tden) for(i = 1; i<nodeVec.size(); i++) { int tid = omp_get_thread_num(); if (nodeVec[i].tag & LET_SRCNODE) { eden = &All_N->eff_den[i * eff_size]; uden = &All_N->src_upw_equ_den[i*pln_size(UE, SP)]; rden = &reg_den[tid * RP->n]; tden = &tmp_den[tid * SP[UE].n]; plnDen2EffDen(nodeVec[i].depth, uden, eden, rden, tden, forplan, All_N); //2. transform from upeDen to effDen } } return 0; } /* ------------------------------------------------------------------------ */ int compute_fft_trans (AllNodes *All_N, FFT_PLAN& forplan) { int srcDOF; int trgDOF; int effNum = eff_data_size (UE); real_t R = 1; // TODO: fix needed for vector kernel Pos* RP = All_N->RP; Trans_matrix* TM = All_N->TM; srcDOF = 1; trgDOF = 1; /* Pre-compute UE2UC matrices */ TM->UE2DC = (real_t **) malloc (sizeof(real_t*) * 7*7*7); #pragma omp parallel for schedule(static) for (int i1=-3; i1<=3; i1++) for (int i2=-3; i2<=3; i2++) for (int i3=-3; i3<=3; i3++) if (abs(i1)>1 || abs(i2)>1 || abs(i3)>1 ) { // compute and copy translation operator int idx; idx = (i1+3) + (i2+3)*7 + (i3+3)*7*7; real_t denPosX[1]; real_t denPosY[1]; real_t denPosZ[1]; denPosX[0] = (real_t)(i1)*2.0*R; //shift denPosY[0] = (real_t)(i2)*2.0*R; //shift denPosZ[0] = (real_t)(i3)*2.0*R; //shift real_t chkPosX[RP->n]; reals_zero(RP->n, chkPosX); daxpy(RP->n, R, RP->x, chkPosX) ; //scale real_t chkPosY[RP->n]; reals_zero(RP->n, chkPosY); daxpy(RP->n, R, RP->y, chkPosY) ; //scale real_t chkPosZ[RP->n]; reals_zero(RP->n, chkPosZ); daxpy(RP->n, R, RP->z, chkPosZ) ; //scale real_t* tt = reals_alloc__aligned (RP->n*trgDOF*srcDOF); kernel(1, RP->n, denPosX, denPosY, denPosZ, chkPosX, chkPosY, chkPosZ, tt); // move data to tmp real_t* tmp = reals_alloc__aligned (RP->n*trgDOF*srcDOF); for(int k=0; k<RP->n;k++) { tmp[k] = tt[k]; } real_t *UpwEqu2DwnChkii = reals_alloc__aligned (trgDOF*srcDOF * effNum); FFT_RE_EXECUTE(forplan, tmp, (FFT_COMPLEX*)(UpwEqu2DwnChkii)); //TODO: When srcDOF = trgDOF = 1 same plan as prev FFT can be used. Otherwise new plan should be created. TM->UE2DC[idx] = UpwEqu2DwnChkii; } return 0; } /* ------------------------------------------------------------------------ */ int compute_ifft_trg (AllNodes *All_N) { int i = 0; int invset = 0; int eff_size; int nthreads; real_t *eval; real_t *tval; real_t *rval; FFT_PLAN invplan; vector<NodeTree>& nodeVec = *All_N->N; Pos* SP = All_N->SP; Pos* RP = All_N->RP; eff_size = eff_data_size (DC); while(invset == 0) { if( nodeVec[i].tag & LET_TRGNODE && nodeVec[i].Vnodes.size()>0) { tval = &All_N->trg_dwn_chk_val[i*pln_size(DC, SP)]; eval = &All_N->eff_val[i * eff_size]; real_t nrmfc = 1.0/real_t(RP->n); for (int k=0; k<eff_size; k++) eval[k] *= nrmfc; effVal2PlnValinit(nodeVec[i].depth, eval, tval, invplan, All_N); //1. transform from effVal to dncVal invset = 1; } i++; } #pragma omp parallel { nthreads = omp_get_num_threads(); } real_t* reg_val = reals_alloc__aligned (RP->n * nthreads); #pragma omp parallel for schedule(static) private(tval, eval, rval) for(int j=i; j < nodeVec.size(); j++) { int tid = omp_get_thread_num(); if( nodeVec[j].tag & LET_TRGNODE && nodeVec[j].Vnodes.size()>0) { tval = &All_N->trg_dwn_chk_val[j*pln_size(DC, SP)]; eval = &All_N->eff_val[j * eff_size]; rval = &reg_val[tid * RP->n]; real_t nrmfc = 1.0/real_t(RP->n); for (int k=0; k<eff_size; k++) eval[k] *= nrmfc; effVal2PlnVal(nodeVec[i].depth, eval, tval, rval, invplan, All_N); //1. transform from effVal to dncVal } } FFT_DESTROY(invplan); return 0; } /* ------------------------------------------------------------------------ */ int vlist_calc__cpu (FMMWrapper_t* F) { AllNodes *All_N = F->AN; if (All_N) { int eff_src_size; int eff_trg_size; int effNum; int dim = 3; int srcDOF = 1; int trgDOF = 1; real_t *eden; real_t *eval; real_t *UpwEqu2DwnChkii; vector<NodeTree>& nodeVec = *All_N->N; Pos* SP = All_N->SP; Pos* RP = All_N->RP; Trans_matrix* TM = All_N->TM; int* Ti = All_N->Tv; FFT_PLAN forplan; compute_fft_src (All_N, forplan); compute_fft_trans (All_N, forplan); // FFT_DESTROY(forplan); eff_trg_size = eff_data_size (DC); eff_src_size = eff_data_size (UE); effNum = eff_src_size; #pragma omp parallel private(eden, eval, UpwEqu2DwnChkii) { int i, j; int tid = omp_get_thread_num(); for (i = Ti[tid]; i < Ti[tid+1]; i++) { if( nodeVec[i].tag & LET_TRGNODE && nodeVec[i].Vnodes.size()>0) { eval = &All_N->eff_val[i * eff_trg_size]; Point3 gNodeIdxCtr(center(i, nodeVec)); real_t D = 2.0 * radius (i, nodeVec); for (j = 0; j < nodeVec[i].Vnodes.size(); j++) { int src = nodeVec[i].Vnodes[j]; Point3 viCtr(center (src, nodeVec)); Index3 idx; for(int d=0; d<dim; d++) { idx(d) = int (round( (viCtr[d]-gNodeIdxCtr[d])/D )); } eden = &All_N->eff_den[src * eff_src_size]; //fft mult int id = (idx(0)+3) + (idx(1)+3)*7 + (idx(2)+3)*7*7; UpwEqu2DwnChkii = TM->UE2DC[id]; real_t nrmfc = 1.0/real_t(RP->n); FFT_COMPLEX* matPtr = (FFT_COMPLEX*)(UpwEqu2DwnChkii); FFT_COMPLEX* denPtr = (FFT_COMPLEX*)(eden); FFT_COMPLEX* chkPtr = (FFT_COMPLEX*)(eval); int matStp = srcDOF*trgDOF; int denStp = srcDOF; int chkStp = trgDOF; real_t newalpha = nrmfc; for(int i=0; i<trgDOF; i++) for(int k=0; k<srcDOF; k++) { int matOff = k*trgDOF + i; int denOff = k; int chkOff = i; pointwise_mult (effNum/2, matPtr+matOff, matStp, denPtr+denOff, denStp, chkPtr+chkOff, chkStp); } } } } } compute_ifft_trg (All_N); } return 0; } /* ------------------------------------------------------------------------ */ int pointwise_mult (int n, FFT_COMPLEX* x, int ix, FFT_COMPLEX* y, int iy, FFT_COMPLEX* z, int iz) { int i; SIMD_REG tmp = SIMD_SET_1; for (i = 0; i + SIMD_LEN <= (n * 2); i+=SIMD_LEN) { SIMD_REG Z = SIMD_LOAD (&(*z)[i]); SIMD_REG X = SIMD_LOAD (&(*x)[i]); SIMD_REG Y = SIMD_LOAD (&(*y)[i]); SIMD_REG x0 = SIMD_SHUFFLE (X, X, SHUFFLE_0); SIMD_REG p0 = SIMD_MUL (x0, Y); Z = SIMD_ADD (Z, p0); x0 = SIMD_SHUFFLE (X, X, SHUFFLE_1); SIMD_REG y0 = SIMD_SHUFFLE (Y, Y, SHUFFLE_2); p0 = SIMD_MUL (x0, y0); p0 = SIMD_MUL (p0, tmp); Z = SIMD_ADD (Z, p0); SIMD_STORE (&(*z)[i], Z); } for (; i < (n * 2); i+=2) { (*z)[0] += ( (*x)[0] * (*y)[0] - (*x)[1] * (*y)[1]); (*z)[1] += ( (*x)[0] * (*y)[1] + (*x)[1] * (*y)[0]); x = x + 1; y = y + 1; z = z + 1; } return 0; } /* ------------------------------------------------------------------------ */ int wlist_calc__cpu (FMMWrapper_t *F) { int srcDOF = 1; real_t r; Point3 c; AllNodes *All_N = F->AN; Pos* SP = All_N->SP; vector<NodeTree>& nodeVec = *All_N->N; #pragma omp parallel for schedule(static) private(c, r) for (int i = 0; i < nodeVec.size(); i++) { if( nodeVec[i].tag & LET_TRGNODE) { if( nodeVec[i].child == -1) { for (int j = 0; j < nodeVec[i].Wnodes.size(); j++) { int src = nodeVec[i].Wnodes[j]; if(nodeVec[src].child == -1 && nodeVec[src].srcNum*srcDOF<pln_size(UE, SP)) { //S2T - source -> target ulist__direct_evaluation (All_N->Nt[i], All_N->Ns[src]); } else { //M2T - multipole -> target c = center (src, nodeVec); r = radius (src, nodeVec); Node* sl_pos; sl_pos = (Node *) _mm_malloc(sizeof(Node), IDEAL_ALIGNMENT); sl_pos->x = (real_t *) reals_alloc__aligned (SP[UE].n); sl_pos->y = (real_t *) reals_alloc__aligned (SP[UE].n); sl_pos->z = (real_t *) reals_alloc__aligned (SP[UE].n); sl_pos->num_pts = SP[UE].n; compute_localpos (c, r, sl_pos, &SP[UE]); sl_pos->den_pot = &All_N->src_upw_equ_den[src*pln_size(UE, SP)]; ulist__direct_evaluation (All_N->Nt[i], *sl_pos); } } } } } return 0; } /* ------------------------------------------------------------------------ */ int xlist_calc__cpu (FMMWrapper_t* F) { int trgDOF = 1; Point3 c; real_t r; AllNodes *All_N = F->AN; Pos* SP = All_N->SP; vector<NodeTree>& nodeVec = *All_N->N; #pragma omp parallel for schedule(static) private (c, r) for (int i = 0; i < nodeVec.size(); i++) { if( nodeVec[i].tag & LET_TRGNODE) { for (int j = 0; j < nodeVec[i].Xnodes.size(); j++) { int src = nodeVec[i].Xnodes[j]; if(nodeVec[i].child == -1 && nodeVec[i].trgNum*trgDOF<pln_size(DC, SP)) { ulist__direct_evaluation (All_N->Nt[i], All_N->Ns[src]); } else { //S2L - source -> local c = center (i, nodeVec); r = radius (i, nodeVec); Node* tl_pos; tl_pos = (Node *) _mm_malloc(sizeof(Node), IDEAL_ALIGNMENT); tl_pos->x = (real_t *) reals_alloc__aligned (SP[DC].n); tl_pos->y = (real_t *) reals_alloc__aligned (SP[DC].n); tl_pos->z = (real_t *) reals_alloc__aligned (SP[DC].n); tl_pos->num_pts = SP[DC].n; compute_localpos (c, r, tl_pos, &SP[DC]); tl_pos->den_pot = &All_N->trg_dwn_chk_val[i*pln_size(DC, SP)]; ulist__direct_evaluation (*tl_pos, All_N->Ns[src]); } } } } return 0; } /* ------------------------------------------------------------------------ */ int down_calc__cpu (FMMWrapper_t* F) { int i; real_t r; Point3 c; real_t *tval; real_t *dden; AllNodes *All_N = F->AN; Pos* SP = All_N->SP; Trans_matrix* TM = All_N->TM; vector<NodeTree>& nodeVec = *All_N->N; vector<int>& nodeLevel = *All_N->nodeLevel; /* Pre-compute DC2DE matrix */ compute_DC2DE_mat (TM, SP); /* Pre-compute DE2DC matrices */ TM->DE2DC = (real_t **) malloc (sizeof(real_t*) * 2*2*2); for(int a=0; a<2; a++) { for(int b=0; b<2; b++) { for(int c=0; c<2; c++) { Index3 idx(a, b, c); compute_DE2DC_mat (idx, TM, SP); } } } int nthreads = get_num_threads(); Node* sl_pos[nthreads]; for (int i = 0; i < nthreads; i++) { sl_pos[i] = (Node *) _mm_malloc(sizeof(Node), IDEAL_ALIGNMENT); sl_pos[i]->x = (real_t *) reals_alloc__aligned (SP[DE].n); sl_pos[i]->y = (real_t *) reals_alloc__aligned (SP[DE].n); sl_pos[i]->z = (real_t *) reals_alloc__aligned (SP[DE].n); sl_pos[i]->num_pts = SP[DE].n; } for (int j = 0; j < nodeLevel.size()-1; j++) { #pragma omp parallel for schedule(guided) private(i, c, r, tval, dden) for (i = nodeLevel[j]; i < nodeLevel[j+1]; i++) { if (nodeVec[i].depth >= 3) { int parent = nodeVec[i].parent; Index3 cidx(nodeVec[i].path2Node-2 * nodeVec[parent].path2Node); //L2L - local -> local tval = &All_N->trg_dwn_chk_val[i*pln_size(DC, SP)]; dden = &All_N->trg_dwn_equ_den[parent*pln_size(DE, SP)]; int srcDOF = 1; real_t *tmpDen = (real_t *) reals_alloc__aligned (srcDOF*SP[DE].n); reals_zero (SP[DE].n, tmpDen); int l = nodeVec[parent].depth; real_t degVec[1]; degVec[0] = 1; real_t sclvec[srcDOF]; for(int s=0; s<srcDOF; s++) sclvec[s] = pow(2.0, l*degVec[s]); int cnt = 0; for(int j=0; j < SP[DE].n; j++) for(int s=0; s < srcDOF; s++) { tmpDen[cnt] = dden[cnt] * sclvec[s]; cnt++; } real_t *DE2DCii = TM->DE2DC[cidx(2)+cidx(1)*2+cidx(0)*2*2]; dgemv(TM->n, TM->m, 1.0, DE2DCii, tmpDen, 1.0, tval); } if (nodeVec[i].depth >= 2) { //L2L - local -> local tval = &All_N->trg_dwn_chk_val[i*pln_size(DC, SP)]; dden = &All_N->trg_dwn_equ_den[i*pln_size(DE, SP)]; int srcDOF = 1; real_t *tmpDen = (real_t *) reals_alloc__aligned (srcDOF*SP[DE].n); reals_zero (SP[DE].n, tmpDen); dgemv(TM->m, TM->n, 1.0, TM->DC2DE, tval, 1.0, tmpDen); //scale int l = nodeVec[i].depth; real_t degVec[1]; degVec[0] = 1; real_t sclvec[srcDOF]; for(int s=0; s<srcDOF; s++) sclvec[s] = pow(2.0, -l*degVec[s]); int cnt = 0; for(int j=0; j < SP[DE].n; j++) for(int s=0; s < srcDOF; s++) { dden[cnt] = dden[cnt] + tmpDen[cnt] * sclvec[s]; cnt++; } } // leaf if (nodeVec[i].child == -1) { //L2T - local -> target c = center (i, nodeVec); r = radius (i, nodeVec); int tid = omp_get_thread_num(); compute_localpos (c, r, sl_pos[tid], &SP[DE]); sl_pos[tid]->den_pot = &All_N->trg_dwn_equ_den[i*pln_size(DE, SP)]; ulist__direct_evaluation (All_N->Nt[i], *sl_pos[tid]); } } } return 0; } /* ------------------------------------------------------------------------ */ int copy_trg_val__cpu (FMMWrapper_t* F) { int i; AllNodes *All_N = F->AN; vector<NodeTree>& nodeVec = *All_N->N; for (i = 0; i < nodeVec.size(); i++) if( nodeVec[i].tag & LET_TRGNODE) if (nodeVec[i].child == -1) { set_value (nodeVec[i].trgNum, All_N->pot_orig, All_N->Nt[i].den_pot, nodeVec[i].trgOwnVecIdxs); } return 0; } /* ---------------------------------------------------------------------------------------------------------- * eof */
[ "gt6818a@jinx-login.cc.gatech.edu" ]
gt6818a@jinx-login.cc.gatech.edu
472dafee817ad8df408e88fb513c094349779dc6
c1e1c8daa6644e04ff46a44e9875a92eea80dd27
/src/test/pegtl/trace.cpp
be5bd4ea193a382ad752d32badacda19a311988f
[ "MIT" ]
permissive
angelomatni2018/PEGTL
b4f5e06260fd869b9fbbcfb42d5c8d44493cf7a1
bd5a17607f87d37a24339b17f8baa5409aa584f7
refs/heads/master
2021-01-19T15:08:50.440635
2017-04-13T18:25:39
2017-04-13T18:25:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
649
cpp
// Copyright (c) 2014-2017 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include "test.hpp" #include <tao/pegtl/trace.hpp> namespace tao { namespace TAOCPP_PEGTL_NAMESPACE { using GRAMMAR = tao::TAOCPP_PEGTL_NAMESPACE::sor< tao::TAOCPP_PEGTL_NAMESPACE::failure, tao::TAOCPP_PEGTL_NAMESPACE::one< 'a' > >; void unit_test() { if( !tao::TAOCPP_PEGTL_NAMESPACE::trace_string< GRAMMAR >( "ab", "trace test please ignore" ) ) { ++failed; } } } // namespace TAOCPP_PEGTL_NAMESPACE } // namespace tao #include "main.hpp"
[ "d.frey@gmx.de" ]
d.frey@gmx.de
ed4a9f93086e7bc2b9efea80db41fe180d32dde1
575731c1155e321e7b22d8373ad5876b292b0b2f
/examples/native/ios/Pods/boost-for-react-native/boost/regex/icu.hpp
9a8d15adad39596e903ac0edbba3423ca724ec51
[ "BSL-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Nozbe/zacs
802a84ffd47413a1687a573edda519156ca317c7
c3d455426bc7dfb83e09fdf20781c2632a205c04
refs/heads/master
2023-06-12T20:53:31.482746
2023-06-07T07:06:49
2023-06-07T07:06:49
201,777,469
432
10
MIT
2023-01-24T13:29:34
2019-08-11T14:47:50
JavaScript
UTF-8
C++
false
false
41,691
hpp
/* * * Copyright (c) 2004 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. * FILE icu.hpp * VERSION see <boost/version.hpp> * DESCRIPTION: Unicode regular expressions on top of the ICU Library. */ #ifndef BOOST_REGEX_ICU_HPP #define BOOST_REGEX_ICU_HPP #include <unicode/utypes.h> #include <unicode/uchar.h> #include <unicode/coll.h> #include <boost/regex.hpp> #include <boost/regex/pending/unicode_iterator.hpp> #include <boost/mpl/int_fwd.hpp> #include <bitset> #ifdef BOOST_MSVC #pragma warning (push) #pragma warning (disable: 4251) #endif namespace boost{ namespace BOOST_REGEX_DETAIL_NS{ // // Implementation details: // class BOOST_REGEX_DECL icu_regex_traits_implementation { typedef UChar32 char_type; typedef std::size_t size_type; typedef std::vector<char_type> string_type; typedef U_NAMESPACE_QUALIFIER Locale locale_type; typedef boost::uint_least32_t char_class_type; public: icu_regex_traits_implementation(const U_NAMESPACE_QUALIFIER Locale& l) : m_locale(l) { UErrorCode success = U_ZERO_ERROR; m_collator.reset(U_NAMESPACE_QUALIFIER Collator::createInstance(l, success)); if(U_SUCCESS(success) == 0) init_error(); m_collator->setStrength(U_NAMESPACE_QUALIFIER Collator::IDENTICAL); success = U_ZERO_ERROR; m_primary_collator.reset(U_NAMESPACE_QUALIFIER Collator::createInstance(l, success)); if(U_SUCCESS(success) == 0) init_error(); m_primary_collator->setStrength(U_NAMESPACE_QUALIFIER Collator::PRIMARY); } U_NAMESPACE_QUALIFIER Locale getloc()const { return m_locale; } string_type do_transform(const char_type* p1, const char_type* p2, const U_NAMESPACE_QUALIFIER Collator* pcoll) const; string_type transform(const char_type* p1, const char_type* p2) const { return do_transform(p1, p2, m_collator.get()); } string_type transform_primary(const char_type* p1, const char_type* p2) const { return do_transform(p1, p2, m_primary_collator.get()); } private: void init_error() { std::runtime_error e("Could not initialize ICU resources"); boost::throw_exception(e); } U_NAMESPACE_QUALIFIER Locale m_locale; // The ICU locale that we're using boost::scoped_ptr< U_NAMESPACE_QUALIFIER Collator> m_collator; // The full collation object boost::scoped_ptr< U_NAMESPACE_QUALIFIER Collator> m_primary_collator; // The primary collation object }; inline boost::shared_ptr<icu_regex_traits_implementation> get_icu_regex_traits_implementation(const U_NAMESPACE_QUALIFIER Locale& loc) { return boost::shared_ptr<icu_regex_traits_implementation>(new icu_regex_traits_implementation(loc)); } } class BOOST_REGEX_DECL icu_regex_traits { public: typedef UChar32 char_type; typedef std::size_t size_type; typedef std::vector<char_type> string_type; typedef U_NAMESPACE_QUALIFIER Locale locale_type; #ifdef BOOST_NO_INT64_T typedef std::bitset<64> char_class_type; #else typedef boost::uint64_t char_class_type; #endif struct boost_extensions_tag{}; icu_regex_traits() : m_pimpl(BOOST_REGEX_DETAIL_NS::get_icu_regex_traits_implementation(U_NAMESPACE_QUALIFIER Locale())) { } static size_type length(const char_type* p); ::boost::regex_constants::syntax_type syntax_type(char_type c)const { return ((c < 0x7f) && (c > 0)) ? BOOST_REGEX_DETAIL_NS::get_default_syntax_type(static_cast<char>(c)) : regex_constants::syntax_char; } ::boost::regex_constants::escape_syntax_type escape_syntax_type(char_type c) const { return ((c < 0x7f) && (c > 0)) ? BOOST_REGEX_DETAIL_NS::get_default_escape_syntax_type(static_cast<char>(c)) : regex_constants::syntax_char; } char_type translate(char_type c) const { return c; } char_type translate_nocase(char_type c) const { return ::u_tolower(c); } char_type translate(char_type c, bool icase) const { return icase ? translate_nocase(c) : translate(c); } char_type tolower(char_type c) const { return ::u_tolower(c); } char_type toupper(char_type c) const { return ::u_toupper(c); } string_type transform(const char_type* p1, const char_type* p2) const { return m_pimpl->transform(p1, p2); } string_type transform_primary(const char_type* p1, const char_type* p2) const { return m_pimpl->transform_primary(p1, p2); } char_class_type lookup_classname(const char_type* p1, const char_type* p2) const; string_type lookup_collatename(const char_type* p1, const char_type* p2) const; bool isctype(char_type c, char_class_type f) const; boost::intmax_t toi(const char_type*& p1, const char_type* p2, int radix)const { return BOOST_REGEX_DETAIL_NS::global_toi(p1, p2, radix, *this); } int value(char_type c, int radix)const { return u_digit(c, static_cast< ::int8_t>(radix)); } locale_type imbue(locale_type l) { locale_type result(m_pimpl->getloc()); m_pimpl = BOOST_REGEX_DETAIL_NS::get_icu_regex_traits_implementation(l); return result; } locale_type getloc()const { return locale_type(); } std::string error_string(::boost::regex_constants::error_type n) const { return BOOST_REGEX_DETAIL_NS::get_default_error_string(n); } private: icu_regex_traits(const icu_regex_traits&); icu_regex_traits& operator=(const icu_regex_traits&); // // define the bitmasks offsets we need for additional character properties: // enum{ offset_blank = U_CHAR_CATEGORY_COUNT, offset_space = U_CHAR_CATEGORY_COUNT+1, offset_xdigit = U_CHAR_CATEGORY_COUNT+2, offset_underscore = U_CHAR_CATEGORY_COUNT+3, offset_unicode = U_CHAR_CATEGORY_COUNT+4, offset_any = U_CHAR_CATEGORY_COUNT+5, offset_ascii = U_CHAR_CATEGORY_COUNT+6, offset_horizontal = U_CHAR_CATEGORY_COUNT+7, offset_vertical = U_CHAR_CATEGORY_COUNT+8 }; // // and now the masks: // static const char_class_type mask_blank; static const char_class_type mask_space; static const char_class_type mask_xdigit; static const char_class_type mask_underscore; static const char_class_type mask_unicode; static const char_class_type mask_any; static const char_class_type mask_ascii; static const char_class_type mask_horizontal; static const char_class_type mask_vertical; static char_class_type lookup_icu_mask(const ::UChar32* p1, const ::UChar32* p2); boost::shared_ptr< ::boost::BOOST_REGEX_DETAIL_NS::icu_regex_traits_implementation> m_pimpl; }; } // namespace boost // // template instances: // #define BOOST_REGEX_CHAR_T UChar32 #undef BOOST_REGEX_TRAITS_T #define BOOST_REGEX_TRAITS_T , icu_regex_traits #define BOOST_REGEX_ICU_INSTANCES #ifdef BOOST_REGEX_ICU_INSTANTIATE # define BOOST_REGEX_INSTANTIATE #endif #include <boost/regex/v4/instances.hpp> #undef BOOST_REGEX_CHAR_T #undef BOOST_REGEX_TRAITS_T #undef BOOST_REGEX_ICU_INSTANCES #ifdef BOOST_REGEX_INSTANTIATE # undef BOOST_REGEX_INSTANTIATE #endif namespace boost{ // types: typedef basic_regex< ::UChar32, icu_regex_traits> u32regex; typedef match_results<const ::UChar32*> u32match; typedef match_results<const ::UChar*> u16match; // // Construction of 32-bit regex types from UTF-8 and UTF-16 primitives: // namespace BOOST_REGEX_DETAIL_NS{ #if !defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<1>*) { typedef boost::u8_to_u32_iterator<InputIterator, UChar32> conv_type; return u32regex(conv_type(i, i, j), conv_type(j, i, j), opt); } template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<2>*) { typedef boost::u16_to_u32_iterator<InputIterator, UChar32> conv_type; return u32regex(conv_type(i, i, j), conv_type(j, i, j), opt); } template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<4>*) { return u32regex(i, j, opt); } #else template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<1>*) { typedef boost::u8_to_u32_iterator<InputIterator, UChar32> conv_type; typedef std::vector<UChar32> vector_type; vector_type v; conv_type a(i, i, j), b(j, i, j); while(a != b) { v.push_back(*a); ++a; } if(v.size()) return u32regex(&*v.begin(), v.size(), opt); return u32regex(static_cast<UChar32 const*>(0), static_cast<u32regex::size_type>(0), opt); } template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<2>*) { typedef boost::u16_to_u32_iterator<InputIterator, UChar32> conv_type; typedef std::vector<UChar32> vector_type; vector_type v; conv_type a(i, i, j), b(j, i, j); while(a != b) { v.push_back(*a); ++a; } if(v.size()) return u32regex(&*v.begin(), v.size(), opt); return u32regex(static_cast<UChar32 const*>(0), static_cast<u32regex::size_type>(0), opt); } template <class InputIterator> inline u32regex do_make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<4>*) { typedef std::vector<UChar32> vector_type; vector_type v; while(i != j) { v.push_back((UChar32)(*i)); ++i; } if(v.size()) return u32regex(&*v.begin(), v.size(), opt); return u32regex(static_cast<UChar32 const*>(0), static_cast<u32regex::size_type>(0), opt); } #endif } // // Construction from an iterator pair: // template <class InputIterator> inline u32regex make_u32regex(InputIterator i, InputIterator j, boost::regex_constants::syntax_option_type opt) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(i, j, opt, static_cast<boost::mpl::int_<sizeof(*i)> const*>(0)); } // // construction from UTF-8 nul-terminated strings: // inline u32regex make_u32regex(const char* p, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + std::strlen(p), opt, static_cast<boost::mpl::int_<1> const*>(0)); } inline u32regex make_u32regex(const unsigned char* p, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + std::strlen(reinterpret_cast<const char*>(p)), opt, static_cast<boost::mpl::int_<1> const*>(0)); } // // construction from UTF-16 nul-terminated strings: // #ifndef BOOST_NO_WREGEX inline u32regex make_u32regex(const wchar_t* p, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + std::wcslen(p), opt, static_cast<boost::mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif #if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) inline u32regex make_u32regex(const UChar* p, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + u_strlen(p), opt, static_cast<boost::mpl::int_<2> const*>(0)); } #endif // // construction from basic_string class-template: // template<class C, class T, class A> inline u32regex make_u32regex(const std::basic_string<C, T, A>& s, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(s.begin(), s.end(), opt, static_cast<boost::mpl::int_<sizeof(C)> const*>(0)); } // // Construction from ICU string type: // inline u32regex make_u32regex(const U_NAMESPACE_QUALIFIER UnicodeString& s, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl) { return BOOST_REGEX_DETAIL_NS::do_make_u32regex(s.getBuffer(), s.getBuffer() + s.length(), opt, static_cast<boost::mpl::int_<2> const*>(0)); } // // regex_match overloads that widen the character type as appropriate: // namespace BOOST_REGEX_DETAIL_NS{ template<class MR1, class MR2> void copy_results(MR1& out, MR2 const& in) { // copy results from an adapted MR2 match_results: out.set_size(in.size(), in.prefix().first.base(), in.suffix().second.base()); out.set_base(in.base().base()); for(int i = 0; i < (int)in.size(); ++i) { if(in[i].matched || !i) { out.set_first(in[i].first.base(), i); out.set_second(in[i].second.base(), i, in[i].matched); } } #ifdef BOOST_REGEX_MATCH_EXTRA // Copy full capture info as well: for(int i = 0; i < (int)in.size(); ++i) { if(in[i].captures().size()) { out[i].get_captures().assign(in[i].captures().size(), typename MR1::value_type()); for(int j = 0; j < out[i].captures().size(); ++j) { out[i].get_captures()[j].first = in[i].captures()[j].first.base(); out[i].get_captures()[j].second = in[i].captures()[j].second.base(); out[i].get_captures()[j].matched = in[i].captures()[j].matched; } } } #endif } template <class BidiIterator, class Allocator> inline bool do_regex_match(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, boost::mpl::int_<4> const*) { return ::boost::regex_match(first, last, m, e, flags); } template <class BidiIterator, class Allocator> bool do_regex_match(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, boost::mpl::int_<2> const*) { typedef u16_to_u32_iterator<BidiIterator, UChar32> conv_type; typedef match_results<conv_type> match_type; //typedef typename match_type::allocator_type alloc_type; match_type what; bool result = ::boost::regex_match(conv_type(first, first, last), conv_type(last, first, last), what, e, flags); // copy results across to m: if(result) copy_results(m, what); return result; } template <class BidiIterator, class Allocator> bool do_regex_match(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, boost::mpl::int_<1> const*) { typedef u8_to_u32_iterator<BidiIterator, UChar32> conv_type; typedef match_results<conv_type> match_type; //typedef typename match_type::allocator_type alloc_type; match_type what; bool result = ::boost::regex_match(conv_type(first, first, last), conv_type(last, first, last), what, e, flags); // copy results across to m: if(result) copy_results(m, what); return result; } } // namespace BOOST_REGEX_DETAIL_NS template <class BidiIterator, class Allocator> inline bool u32regex_match(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(first, last, m, e, flags, static_cast<mpl::int_<sizeof(*first)> const*>(0)); } inline bool u32regex_match(const UChar* p, match_results<const UChar*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+u_strlen(p), m, e, flags, static_cast<mpl::int_<2> const*>(0)); } #if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX) inline bool u32regex_match(const wchar_t* p, match_results<const wchar_t*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::wcslen(p), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_match(const char* p, match_results<const char*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::strlen(p), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_match(const unsigned char* p, match_results<const unsigned char*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::strlen((const char*)p), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_match(const std::string& s, match_results<std::string::const_iterator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(s.begin(), s.end(), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } #ifndef BOOST_NO_STD_WSTRING inline bool u32regex_match(const std::wstring& s, match_results<std::wstring::const_iterator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(s.begin(), s.end(), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_match(const U_NAMESPACE_QUALIFIER UnicodeString& s, match_results<const UChar*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_match(s.getBuffer(), s.getBuffer() + s.length(), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } // // regex_match overloads that do not return what matched: // template <class BidiIterator> inline bool u32regex_match(BidiIterator first, BidiIterator last, const u32regex& e, match_flag_type flags = match_default) { match_results<BidiIterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(first, last, m, e, flags, static_cast<mpl::int_<sizeof(*first)> const*>(0)); } inline bool u32regex_match(const UChar* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const UChar*> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+u_strlen(p), m, e, flags, static_cast<mpl::int_<2> const*>(0)); } #if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX) inline bool u32regex_match(const wchar_t* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const wchar_t*> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::wcslen(p), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_match(const char* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const char*> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::strlen(p), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_match(const unsigned char* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const unsigned char*> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+std::strlen((const char*)p), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_match(const std::string& s, const u32regex& e, match_flag_type flags = match_default) { match_results<std::string::const_iterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(s.begin(), s.end(), m, e, flags, static_cast<mpl::int_<1> const*>(0)); } #ifndef BOOST_NO_STD_WSTRING inline bool u32regex_match(const std::wstring& s, const u32regex& e, match_flag_type flags = match_default) { match_results<std::wstring::const_iterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(s.begin(), s.end(), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_match(const U_NAMESPACE_QUALIFIER UnicodeString& s, const u32regex& e, match_flag_type flags = match_default) { match_results<const UChar*> m; return BOOST_REGEX_DETAIL_NS::do_regex_match(s.getBuffer(), s.getBuffer() + s.length(), m, e, flags, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } // // regex_search overloads that widen the character type as appropriate: // namespace BOOST_REGEX_DETAIL_NS{ template <class BidiIterator, class Allocator> inline bool do_regex_search(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, BidiIterator base, boost::mpl::int_<4> const*) { return ::boost::regex_search(first, last, m, e, flags, base); } template <class BidiIterator, class Allocator> bool do_regex_search(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, BidiIterator base, boost::mpl::int_<2> const*) { typedef u16_to_u32_iterator<BidiIterator, UChar32> conv_type; typedef match_results<conv_type> match_type; //typedef typename match_type::allocator_type alloc_type; match_type what; bool result = ::boost::regex_search(conv_type(first, first, last), conv_type(last, first, last), what, e, flags, conv_type(base)); // copy results across to m: if(result) copy_results(m, what); return result; } template <class BidiIterator, class Allocator> bool do_regex_search(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, BidiIterator base, boost::mpl::int_<1> const*) { typedef u8_to_u32_iterator<BidiIterator, UChar32> conv_type; typedef match_results<conv_type> match_type; //typedef typename match_type::allocator_type alloc_type; match_type what; bool result = ::boost::regex_search(conv_type(first, first, last), conv_type(last, first, last), what, e, flags, conv_type(base)); // copy results across to m: if(result) copy_results(m, what); return result; } } template <class BidiIterator, class Allocator> inline bool u32regex_search(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(first, last, m, e, flags, first, static_cast<mpl::int_<sizeof(*first)> const*>(0)); } template <class BidiIterator, class Allocator> inline bool u32regex_search(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const u32regex& e, match_flag_type flags, BidiIterator base) { return BOOST_REGEX_DETAIL_NS::do_regex_search(first, last, m, e, flags, base, static_cast<mpl::int_<sizeof(*first)> const*>(0)); } inline bool u32regex_search(const UChar* p, match_results<const UChar*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+u_strlen(p), m, e, flags, p, static_cast<mpl::int_<2> const*>(0)); } #if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX) inline bool u32regex_search(const wchar_t* p, match_results<const wchar_t*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::wcslen(p), m, e, flags, p, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_search(const char* p, match_results<const char*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::strlen(p), m, e, flags, p, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_search(const unsigned char* p, match_results<const unsigned char*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::strlen((const char*)p), m, e, flags, p, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_search(const std::string& s, match_results<std::string::const_iterator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(s.begin(), s.end(), m, e, flags, s.begin(), static_cast<mpl::int_<1> const*>(0)); } #ifndef BOOST_NO_STD_WSTRING inline bool u32regex_search(const std::wstring& s, match_results<std::wstring::const_iterator>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(s.begin(), s.end(), m, e, flags, s.begin(), static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_search(const U_NAMESPACE_QUALIFIER UnicodeString& s, match_results<const UChar*>& m, const u32regex& e, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::do_regex_search(s.getBuffer(), s.getBuffer() + s.length(), m, e, flags, s.getBuffer(), static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } template <class BidiIterator> inline bool u32regex_search(BidiIterator first, BidiIterator last, const u32regex& e, match_flag_type flags = match_default) { match_results<BidiIterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(first, last, m, e, flags, first, static_cast<mpl::int_<sizeof(*first)> const*>(0)); } inline bool u32regex_search(const UChar* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const UChar*> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+u_strlen(p), m, e, flags, p, static_cast<mpl::int_<2> const*>(0)); } #if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX) inline bool u32regex_search(const wchar_t* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const wchar_t*> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::wcslen(p), m, e, flags, p, static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_search(const char* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const char*> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::strlen(p), m, e, flags, p, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_search(const unsigned char* p, const u32regex& e, match_flag_type flags = match_default) { match_results<const unsigned char*> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+std::strlen((const char*)p), m, e, flags, p, static_cast<mpl::int_<1> const*>(0)); } inline bool u32regex_search(const std::string& s, const u32regex& e, match_flag_type flags = match_default) { match_results<std::string::const_iterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(s.begin(), s.end(), m, e, flags, s.begin(), static_cast<mpl::int_<1> const*>(0)); } #ifndef BOOST_NO_STD_WSTRING inline bool u32regex_search(const std::wstring& s, const u32regex& e, match_flag_type flags = match_default) { match_results<std::wstring::const_iterator> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(s.begin(), s.end(), m, e, flags, s.begin(), static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } #endif inline bool u32regex_search(const U_NAMESPACE_QUALIFIER UnicodeString& s, const u32regex& e, match_flag_type flags = match_default) { match_results<const UChar*> m; return BOOST_REGEX_DETAIL_NS::do_regex_search(s.getBuffer(), s.getBuffer() + s.length(), m, e, flags, s.getBuffer(), static_cast<mpl::int_<sizeof(wchar_t)> const*>(0)); } // // overloads for regex_replace with utf-8 and utf-16 data types: // namespace BOOST_REGEX_DETAIL_NS{ template <class I> inline std::pair< boost::u8_to_u32_iterator<I>, boost::u8_to_u32_iterator<I> > make_utf32_seq(I i, I j, mpl::int_<1> const*) { return std::pair< boost::u8_to_u32_iterator<I>, boost::u8_to_u32_iterator<I> >(boost::u8_to_u32_iterator<I>(i, i, j), boost::u8_to_u32_iterator<I>(j, i, j)); } template <class I> inline std::pair< boost::u16_to_u32_iterator<I>, boost::u16_to_u32_iterator<I> > make_utf32_seq(I i, I j, mpl::int_<2> const*) { return std::pair< boost::u16_to_u32_iterator<I>, boost::u16_to_u32_iterator<I> >(boost::u16_to_u32_iterator<I>(i, i, j), boost::u16_to_u32_iterator<I>(j, i, j)); } template <class I> inline std::pair< I, I > make_utf32_seq(I i, I j, mpl::int_<4> const*) { return std::pair< I, I >(i, j); } template <class charT> inline std::pair< boost::u8_to_u32_iterator<const charT*>, boost::u8_to_u32_iterator<const charT*> > make_utf32_seq(const charT* p, mpl::int_<1> const*) { std::size_t len = std::strlen((const char*)p); return std::pair< boost::u8_to_u32_iterator<const charT*>, boost::u8_to_u32_iterator<const charT*> >(boost::u8_to_u32_iterator<const charT*>(p, p, p+len), boost::u8_to_u32_iterator<const charT*>(p+len, p, p+len)); } template <class charT> inline std::pair< boost::u16_to_u32_iterator<const charT*>, boost::u16_to_u32_iterator<const charT*> > make_utf32_seq(const charT* p, mpl::int_<2> const*) { std::size_t len = u_strlen((const UChar*)p); return std::pair< boost::u16_to_u32_iterator<const charT*>, boost::u16_to_u32_iterator<const charT*> >(boost::u16_to_u32_iterator<const charT*>(p, p, p + len), boost::u16_to_u32_iterator<const charT*>(p+len, p, p + len)); } template <class charT> inline std::pair< const charT*, const charT* > make_utf32_seq(const charT* p, mpl::int_<4> const*) { return std::pair< const charT*, const charT* >(p, p+icu_regex_traits::length((UChar32 const*)p)); } template <class OutputIterator> inline OutputIterator make_utf32_out(OutputIterator o, mpl::int_<4> const*) { return o; } template <class OutputIterator> inline utf16_output_iterator<OutputIterator> make_utf32_out(OutputIterator o, mpl::int_<2> const*) { return o; } template <class OutputIterator> inline utf8_output_iterator<OutputIterator> make_utf32_out(OutputIterator o, mpl::int_<1> const*) { return o; } template <class OutputIterator, class I1, class I2> OutputIterator do_regex_replace(OutputIterator out, std::pair<I1, I1> const& in, const u32regex& e, const std::pair<I2, I2>& fmt, match_flag_type flags ) { // unfortunately we have to copy the format string in order to pass in onward: std::vector<UChar32> f; #ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS f.assign(fmt.first, fmt.second); #else f.clear(); I2 pos = fmt.first; while(pos != fmt.second) f.push_back(*pos++); #endif regex_iterator<I1, UChar32, icu_regex_traits> i(in.first, in.second, e, flags); regex_iterator<I1, UChar32, icu_regex_traits> j; if(i == j) { if(!(flags & regex_constants::format_no_copy)) out = BOOST_REGEX_DETAIL_NS::copy(in.first, in.second, out); } else { I1 last_m = in.first; while(i != j) { if(!(flags & regex_constants::format_no_copy)) out = BOOST_REGEX_DETAIL_NS::copy(i->prefix().first, i->prefix().second, out); if(f.size()) out = ::boost::BOOST_REGEX_DETAIL_NS::regex_format_imp(out, *i, &*f.begin(), &*f.begin() + f.size(), flags, e.get_traits()); else out = ::boost::BOOST_REGEX_DETAIL_NS::regex_format_imp(out, *i, static_cast<UChar32 const*>(0), static_cast<UChar32 const*>(0), flags, e.get_traits()); last_m = (*i)[0].second; if(flags & regex_constants::format_first_only) break; ++i; } if(!(flags & regex_constants::format_no_copy)) out = BOOST_REGEX_DETAIL_NS::copy(last_m, in.second, out); } return out; } template <class BaseIterator> inline const BaseIterator& extract_output_base(const BaseIterator& b) { return b; } template <class BaseIterator> inline BaseIterator extract_output_base(const utf8_output_iterator<BaseIterator>& b) { return b.base(); } template <class BaseIterator> inline BaseIterator extract_output_base(const utf16_output_iterator<BaseIterator>& b) { return b.base(); } } // BOOST_REGEX_DETAIL_NS template <class OutputIterator, class BidirectionalIterator, class charT> inline OutputIterator u32regex_replace(OutputIterator out, BidirectionalIterator first, BidirectionalIterator last, const u32regex& e, const charT* fmt, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::extract_output_base ( BOOST_REGEX_DETAIL_NS::do_regex_replace( BOOST_REGEX_DETAIL_NS::make_utf32_out(out, static_cast<mpl::int_<sizeof(*first)> const*>(0)), BOOST_REGEX_DETAIL_NS::make_utf32_seq(first, last, static_cast<mpl::int_<sizeof(*first)> const*>(0)), e, BOOST_REGEX_DETAIL_NS::make_utf32_seq(fmt, static_cast<mpl::int_<sizeof(*fmt)> const*>(0)), flags) ); } template <class OutputIterator, class Iterator, class charT> inline OutputIterator u32regex_replace(OutputIterator out, Iterator first, Iterator last, const u32regex& e, const std::basic_string<charT>& fmt, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::extract_output_base ( BOOST_REGEX_DETAIL_NS::do_regex_replace( BOOST_REGEX_DETAIL_NS::make_utf32_out(out, static_cast<mpl::int_<sizeof(*first)> const*>(0)), BOOST_REGEX_DETAIL_NS::make_utf32_seq(first, last, static_cast<mpl::int_<sizeof(*first)> const*>(0)), e, BOOST_REGEX_DETAIL_NS::make_utf32_seq(fmt.begin(), fmt.end(), static_cast<mpl::int_<sizeof(charT)> const*>(0)), flags) ); } template <class OutputIterator, class Iterator> inline OutputIterator u32regex_replace(OutputIterator out, Iterator first, Iterator last, const u32regex& e, const U_NAMESPACE_QUALIFIER UnicodeString& fmt, match_flag_type flags = match_default) { return BOOST_REGEX_DETAIL_NS::extract_output_base ( BOOST_REGEX_DETAIL_NS::do_regex_replace( BOOST_REGEX_DETAIL_NS::make_utf32_out(out, static_cast<mpl::int_<sizeof(*first)> const*>(0)), BOOST_REGEX_DETAIL_NS::make_utf32_seq(first, last, static_cast<mpl::int_<sizeof(*first)> const*>(0)), e, BOOST_REGEX_DETAIL_NS::make_utf32_seq(fmt.getBuffer(), fmt.getBuffer() + fmt.length(), static_cast<mpl::int_<2> const*>(0)), flags) ); } template <class charT> std::basic_string<charT> u32regex_replace(const std::basic_string<charT>& s, const u32regex& e, const charT* fmt, match_flag_type flags = match_default) { std::basic_string<charT> result; BOOST_REGEX_DETAIL_NS::string_out_iterator<std::basic_string<charT> > i(result); u32regex_replace(i, s.begin(), s.end(), e, fmt, flags); return result; } template <class charT> std::basic_string<charT> u32regex_replace(const std::basic_string<charT>& s, const u32regex& e, const std::basic_string<charT>& fmt, match_flag_type flags = match_default) { std::basic_string<charT> result; BOOST_REGEX_DETAIL_NS::string_out_iterator<std::basic_string<charT> > i(result); u32regex_replace(i, s.begin(), s.end(), e, fmt.c_str(), flags); return result; } namespace BOOST_REGEX_DETAIL_NS{ class unicode_string_out_iterator { U_NAMESPACE_QUALIFIER UnicodeString* out; public: unicode_string_out_iterator(U_NAMESPACE_QUALIFIER UnicodeString& s) : out(&s) {} unicode_string_out_iterator& operator++() { return *this; } unicode_string_out_iterator& operator++(int) { return *this; } unicode_string_out_iterator& operator*() { return *this; } unicode_string_out_iterator& operator=(UChar v) { *out += v; return *this; } typedef std::ptrdiff_t difference_type; typedef UChar value_type; typedef value_type* pointer; typedef value_type& reference; typedef std::output_iterator_tag iterator_category; }; } inline U_NAMESPACE_QUALIFIER UnicodeString u32regex_replace(const U_NAMESPACE_QUALIFIER UnicodeString& s, const u32regex& e, const UChar* fmt, match_flag_type flags = match_default) { U_NAMESPACE_QUALIFIER UnicodeString result; BOOST_REGEX_DETAIL_NS::unicode_string_out_iterator i(result); u32regex_replace(i, s.getBuffer(), s.getBuffer()+s.length(), e, fmt, flags); return result; } inline U_NAMESPACE_QUALIFIER UnicodeString u32regex_replace(const U_NAMESPACE_QUALIFIER UnicodeString& s, const u32regex& e, const U_NAMESPACE_QUALIFIER UnicodeString& fmt, match_flag_type flags = match_default) { U_NAMESPACE_QUALIFIER UnicodeString result; BOOST_REGEX_DETAIL_NS::unicode_string_out_iterator i(result); BOOST_REGEX_DETAIL_NS::do_regex_replace( BOOST_REGEX_DETAIL_NS::make_utf32_out(i, static_cast<mpl::int_<2> const*>(0)), BOOST_REGEX_DETAIL_NS::make_utf32_seq(s.getBuffer(), s.getBuffer()+s.length(), static_cast<mpl::int_<2> const*>(0)), e, BOOST_REGEX_DETAIL_NS::make_utf32_seq(fmt.getBuffer(), fmt.getBuffer() + fmt.length(), static_cast<mpl::int_<2> const*>(0)), flags); return result; } } // namespace boost. #ifdef BOOST_MSVC #pragma warning (pop) #endif #include <boost/regex/v4/u32regex_iterator.hpp> #include <boost/regex/v4/u32regex_token_iterator.hpp> #endif
[ "radexpl@gmail.com" ]
radexpl@gmail.com
98fed867b1365ea7649dbf3254dcde27461ba2f7
b648a0ff402d23a6432643879b0b81ebe0bc9685
/vendor/protobuf/src/google/protobuf/message.cc
1a5c77560e65e2fbe029c64a05c43309afa349b7
[ "Apache-2.0", "LicenseRef-scancode-protobuf" ]
permissive
jviotti/binary-json-size-benchmark
4712faca2724d47d23efef241983ce875dc71cee
165b577884ef366348bf48042fddf54aacfe647a
refs/heads/main
2023-04-18T01:40:26.141995
2022-12-19T13:25:35
2022-12-19T13:25:35
337,583,132
21
1
Apache-2.0
2022-12-17T21:53:56
2021-02-10T01:18:05
C++
UTF-8
C++
false
false
12,334
cc
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // 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 following disclaimer. // * 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. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Author: kenton@google.com (Kenton Varda) // Based on original Protocol Buffers design by // Sanjay Ghemawat, Jeff Dean, and others. #include <google/protobuf/message.h> #include <iostream> #include <stack> #include <unordered_map> #include <google/protobuf/stubs/casts.h> #include <google/protobuf/stubs/logging.h> #include <google/protobuf/stubs/common.h> #include <google/protobuf/descriptor.pb.h> #include <google/protobuf/parse_context.h> #include <google/protobuf/reflection_internal.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/generated_message_util.h> #include <google/protobuf/map_field.h> #include <google/protobuf/map_field_inl.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/unknown_field_set.h> #include <google/protobuf/wire_format.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/stubs/strutil.h> #include <google/protobuf/stubs/map_util.h> #include <google/protobuf/stubs/stl_util.h> #include <google/protobuf/stubs/hash.h> #include <google/protobuf/port_def.inc> namespace google { namespace protobuf { namespace internal { // TODO(gerbens) make this factorized better. This should not have to hop // to reflection. Currently uses GeneratedMessageReflection and thus is // defined in generated_message_reflection.cc void RegisterFileLevelMetadata(const DescriptorTable* descriptor_table); } // namespace internal using internal::ReflectionOps; using internal::WireFormat; using internal::WireFormatLite; void Message::MergeFrom(const Message& from) { const Descriptor* descriptor = GetDescriptor(); GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) << ": Tried to merge from a message with a different type. " "to: " << descriptor->full_name() << ", " "from: " << from.GetDescriptor()->full_name(); ReflectionOps::Merge(from, this); } void Message::CheckTypeAndMergeFrom(const MessageLite& other) { MergeFrom(*down_cast<const Message*>(&other)); } void Message::CopyFrom(const Message& from) { const Descriptor* descriptor = GetDescriptor(); GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) << ": Tried to copy from a message with a different type. " "to: " << descriptor->full_name() << ", " "from: " << from.GetDescriptor()->full_name(); ReflectionOps::Copy(from, this); } std::string Message::GetTypeName() const { return GetDescriptor()->full_name(); } void Message::Clear() { ReflectionOps::Clear(this); } bool Message::IsInitialized() const { return ReflectionOps::IsInitialized(*this); } void Message::FindInitializationErrors(std::vector<std::string>* errors) const { return ReflectionOps::FindInitializationErrors(*this, "", errors); } std::string Message::InitializationErrorString() const { std::vector<std::string> errors; FindInitializationErrors(&errors); return Join(errors, ", "); } void Message::CheckInitialized() const { GOOGLE_CHECK(IsInitialized()) << "Message of type \"" << GetDescriptor()->full_name() << "\" is missing required fields: " << InitializationErrorString(); } void Message::DiscardUnknownFields() { return ReflectionOps::DiscardUnknownFields(this); } const char* Message::_InternalParse(const char* ptr, internal::ParseContext* ctx) { return WireFormat::_InternalParse(this, ptr, ctx); } uint8* Message::_InternalSerialize(uint8* target, io::EpsCopyOutputStream* stream) const { return WireFormat::_InternalSerialize(*this, target, stream); } size_t Message::ByteSizeLong() const { size_t size = WireFormat::ByteSize(*this); SetCachedSize(internal::ToCachedSize(size)); return size; } void Message::SetCachedSize(int /* size */) const { GOOGLE_LOG(FATAL) << "Message class \"" << GetDescriptor()->full_name() << "\" implements neither SetCachedSize() nor ByteSize(). " "Must implement one or the other."; } size_t Message::SpaceUsedLong() const { return GetReflection()->SpaceUsedLong(*this); } uint64 Message::GetInvariantPerBuild(uint64 salt) { return salt; } // ============================================================================= // MessageFactory MessageFactory::~MessageFactory() {} namespace { #define HASH_MAP std::unordered_map #define STR_HASH_FXN hash<::google::protobuf::StringPiece> class GeneratedMessageFactory final : public MessageFactory { public: static GeneratedMessageFactory* singleton(); void RegisterFile(const google::protobuf::internal::DescriptorTable* table); void RegisterType(const Descriptor* descriptor, const Message* prototype); // implements MessageFactory --------------------------------------- const Message* GetPrototype(const Descriptor* type) override; private: // Only written at static init time, so does not require locking. HASH_MAP<StringPiece, const google::protobuf::internal::DescriptorTable*, STR_HASH_FXN> file_map_; internal::WrappedMutex mutex_; // Initialized lazily, so requires locking. std::unordered_map<const Descriptor*, const Message*> type_map_; }; GeneratedMessageFactory* GeneratedMessageFactory::singleton() { static auto instance = internal::OnShutdownDelete(new GeneratedMessageFactory); return instance; } void GeneratedMessageFactory::RegisterFile( const google::protobuf::internal::DescriptorTable* table) { if (!InsertIfNotPresent(&file_map_, table->filename, table)) { GOOGLE_LOG(FATAL) << "File is already registered: " << table->filename; } } void GeneratedMessageFactory::RegisterType(const Descriptor* descriptor, const Message* prototype) { GOOGLE_DCHECK_EQ(descriptor->file()->pool(), DescriptorPool::generated_pool()) << "Tried to register a non-generated type with the generated " "type registry."; // This should only be called as a result of calling a file registration // function during GetPrototype(), in which case we already have locked // the mutex. mutex_.AssertHeld(); if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { GOOGLE_LOG(DFATAL) << "Type is already registered: " << descriptor->full_name(); } } const Message* GeneratedMessageFactory::GetPrototype(const Descriptor* type) { { ReaderMutexLock lock(&mutex_); const Message* result = FindPtrOrNull(type_map_, type); if (result != NULL) return result; } // If the type is not in the generated pool, then we can't possibly handle // it. if (type->file()->pool() != DescriptorPool::generated_pool()) return NULL; // Apparently the file hasn't been registered yet. Let's do that now. const internal::DescriptorTable* registration_data = FindPtrOrNull(file_map_, type->file()->name().c_str()); if (registration_data == NULL) { GOOGLE_LOG(DFATAL) << "File appears to be in generated pool but wasn't " "registered: " << type->file()->name(); return NULL; } WriterMutexLock lock(&mutex_); // Check if another thread preempted us. const Message* result = FindPtrOrNull(type_map_, type); if (result == NULL) { // Nope. OK, register everything. internal::RegisterFileLevelMetadata(registration_data); // Should be here now. result = FindPtrOrNull(type_map_, type); } if (result == NULL) { GOOGLE_LOG(DFATAL) << "Type appears to be in generated pool but wasn't " << "registered: " << type->full_name(); } return result; } } // namespace MessageFactory* MessageFactory::generated_factory() { return GeneratedMessageFactory::singleton(); } void MessageFactory::InternalRegisterGeneratedFile( const google::protobuf::internal::DescriptorTable* table) { GeneratedMessageFactory::singleton()->RegisterFile(table); } void MessageFactory::InternalRegisterGeneratedMessage( const Descriptor* descriptor, const Message* prototype) { GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype); } namespace { template <typename T> T* GetSingleton() { static T singleton; return &singleton; } } // namespace const internal::RepeatedFieldAccessor* Reflection::RepeatedFieldAccessor( const FieldDescriptor* field) const { GOOGLE_CHECK(field->is_repeated()); switch (field->cpp_type()) { #define HANDLE_PRIMITIVE_TYPE(TYPE, type) \ case FieldDescriptor::CPPTYPE_##TYPE: \ return GetSingleton<internal::RepeatedFieldPrimitiveAccessor<type> >(); HANDLE_PRIMITIVE_TYPE(INT32, int32) HANDLE_PRIMITIVE_TYPE(UINT32, uint32) HANDLE_PRIMITIVE_TYPE(INT64, int64) HANDLE_PRIMITIVE_TYPE(UINT64, uint64) HANDLE_PRIMITIVE_TYPE(FLOAT, float) HANDLE_PRIMITIVE_TYPE(DOUBLE, double) HANDLE_PRIMITIVE_TYPE(BOOL, bool) HANDLE_PRIMITIVE_TYPE(ENUM, int32) #undef HANDLE_PRIMITIVE_TYPE case FieldDescriptor::CPPTYPE_STRING: switch (field->options().ctype()) { default: case FieldOptions::STRING: return GetSingleton<internal::RepeatedPtrFieldStringAccessor>(); } break; case FieldDescriptor::CPPTYPE_MESSAGE: if (field->is_map()) { return GetSingleton<internal::MapFieldAccessor>(); } else { return GetSingleton<internal::RepeatedPtrFieldMessageAccessor>(); } } GOOGLE_LOG(FATAL) << "Should not reach here."; return NULL; } namespace internal { template <> #if defined(_MSC_VER) && (_MSC_VER >= 1800) // Note: force noinline to workaround MSVC compiler bug with /Zc:inline, issue // #240 PROTOBUF_NOINLINE #endif Message* GenericTypeHandler<Message>::NewFromPrototype(const Message* prototype, Arena* arena) { return prototype->New(arena); } template <> #if defined(_MSC_VER) && (_MSC_VER >= 1800) // Note: force noinline to workaround MSVC compiler bug with /Zc:inline, issue // #240 PROTOBUF_NOINLINE #endif Arena* GenericTypeHandler<Message>::GetArena(Message* value) { return value->GetArena(); } template <> #if defined(_MSC_VER) && (_MSC_VER >= 1800) // Note: force noinline to workaround MSVC compiler bug with /Zc:inline, issue // #240 PROTOBUF_NOINLINE #endif void* GenericTypeHandler<Message>::GetMaybeArenaPointer(Message* value) { return value->GetMaybeArenaPointer(); } } // namespace internal } // namespace protobuf } // namespace google #include <google/protobuf/port_undef.inc>
[ "jv@jviotti.com" ]
jv@jviotti.com
fb418b05719ee765f1cca9f5b115bcac840b6fba
98b345594e6fa0ad9910bc0c20020827bbb62c53
/re110_1/processor32/constant/polyMesh/pointProcAddressing
6c0eab172958f9204a6a2232d4b9dfef60b8872f
[]
no_license
carsumptive/coe-of2
e9027de48e42546ca4df1c104dcc8d04725954f2
fc3e0426696f42fbbbdce7c027df9ee8ced4ccd0
refs/heads/master
2023-04-04T06:09:23.093717
2021-04-06T06:47:14
2021-04-06T06:47:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,549
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class labelList; location "constant/polyMesh"; object pointProcAddressing; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 550 ( 18 19 20 21 40 41 42 43 62 63 64 65 84 85 86 87 106 107 108 109 128 129 130 131 150 151 152 153 172 173 174 175 195 196 197 217 218 219 239 240 241 262 263 284 285 307 329 351 373 395 417 439 461 483 502 503 504 505 524 525 526 527 546 547 548 549 568 569 570 571 590 591 592 593 612 613 614 615 634 635 636 637 656 657 658 659 679 680 681 701 702 703 723 724 725 746 747 768 769 791 813 835 857 879 901 923 945 967 6049 6511 6533 6555 6577 6599 6621 6643 6665 6687 6708 6709 6730 6731 6751 6752 6753 6773 6774 6775 6795 6796 6797 6816 6817 6818 6819 6838 6839 6840 6841 6860 6861 6862 6863 6882 6883 6884 6885 6904 6905 6906 6907 6926 6927 6928 6929 6948 6949 6950 6951 6973 6995 7017 7039 7061 7083 7105 7127 7148 7149 7170 7171 7191 7192 7193 7213 7214 7215 7235 7236 7237 7256 7257 7258 7259 7278 7279 7280 7281 7300 7301 7302 7303 7322 7323 7324 7325 7344 7345 7346 7347 7366 7367 7368 7369 7388 7389 7390 7391 7392 7427 7462 7497 7532 7533 7567 7568 7602 7603 7637 7638 7672 7673 7707 7708 7742 7743 7777 7778 7812 7813 7847 7848 7882 7883 7917 7918 7952 7953 7987 7988 8022 8023 8057 8058 8092 8093 8127 8128 8162 8197 8232 8267 8302 8303 8337 8338 8372 8373 8407 8408 8442 8443 8477 8478 8512 8513 8547 8548 8582 8583 8617 8618 8652 8653 8687 8688 8722 8723 8757 8758 8792 8793 8827 8828 8862 8863 8897 8898 8933 8934 8969 8970 9005 9006 9041 9042 9077 9078 9113 9114 9149 9150 9185 9186 9221 9222 9257 9258 9293 9294 9329 9330 9365 9366 9401 9402 9437 9438 9473 9474 9509 9510 9545 9546 9581 9582 9617 9618 9653 9654 9689 9690 9725 9726 9761 9762 9797 9798 9833 9834 9869 9870 9905 9906 9941 9942 9977 9978 10013 10014 10049 10050 10085 10086 10121 10122 10157 10158 10193 10194 10229 10230 10265 10266 10301 10302 10337 10338 10373 10374 10409 10410 14754 14755 14756 14757 14758 14759 14760 14761 14762 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16744 16745 16779 16780 16814 16815 16849 16850 16884 16885 16919 16920 16954 16955 16989 16990 17024 17025 17059 17060 17094 17095 17129 17130 17164 17165 17199 17200 17234 17235 17269 17270 17304 17339 17374 17409 17444 17445 17479 17480 17514 17515 17549 17550 17584 17585 17619 17620 17654 17655 17689 17690 17724 17725 17759 17760 17794 17795 17829 17830 17864 17865 17899 17900 17934 17935 17969 17970 18004 18039 18074 18109 ) // ************************************************************************* //
[ "chaseguy15" ]
chaseguy15
07da3058c646ecc7a821783e11d6f09af76f4300
58febce6be896835382f03b21162f0090b3fcb0a
/leetcode/top_interview_questions/easy/linked_list/2.cpp
60c71005cd114f29c3005eca9e85d10d1ee6f1c5
[ "Apache-2.0" ]
permissive
bvbasavaraju/competitive_programming
5e63c0710b02476ecb499b2087ddec674fdb049f
bc17ec49b601aac62fa94449927fd64b620352d7
refs/heads/master
2022-10-31T15:17:00.151024
2022-10-23T09:14:52
2022-10-23T09:14:52
216,365,719
1
0
null
null
null
null
UTF-8
C++
false
false
1,298
cpp
#include <iostream> #include <vector> using namespace std; /* Q: Remove Nth Node From End of List Given the head of a linked list, remove the nth node from the end of the list and return its head. Follow up: Could you do this in one pass? Example 1: Input: head = [1,2,3,4,5], n = 2 Output: [1,2,3,5] Example 2: Input: head = [1], n = 1 Output: [] Example 3: Input: head = [1,2], n = 1 Output: [1] Constraints: The number of nodes in the list is sz. 1 <= sz <= 30 0 <= Node.val <= 100 1 <= n <= sz Hide Hint #1 Maintain two pointers and update one with a delay of n steps. */ struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode* removeNthFromEnd(ListNode* head, int n) { vector<ListNode*> ptrs; while(head != nullptr) { ptrs.push_back(head); head = head->next; } int l = ptrs.size(); int pos_node_to_remove = l-n; if(pos_node_to_remove == 0) { return (l > 1)? ptrs[1] : nullptr; } ptrs[pos_node_to_remove-1]->next = ptrs[pos_node_to_remove]->next; return ptrs[0]; } };
[ "bv.basavaraju@gmail.com" ]
bv.basavaraju@gmail.com
b06172e71e8f95527fea3e4f482c7d0e1383eb14
86e0e40156d930d535f23a34975c292cad6db4ea
/src/Screens/TimeScreen.h
4e7eb438ae26228364a3d41eb93aaefd2be08f0b
[ "MIT" ]
permissive
DanielCasner/Watchy
73846626141653fd917644e4c41842727eadab6f
961235a05f0ec35915940615c9c876d3e3f2b5c7
refs/heads/main
2023-08-21T15:41:33.216539
2021-10-26T14:32:10
2021-10-26T14:32:10
377,560,330
0
0
MIT
2021-06-16T16:27:16
2021-06-16T16:27:15
null
UTF-8
C++
false
false
162
h
#pragma once #include "Screen.h" class TimeScreen : public Screen { public: TimeScreen(uint16_t bg = GxEPD_WHITE) : Screen(bg) {} void show() override; };
[ "ceh+github@ceh.bz" ]
ceh+github@ceh.bz
4346671093a83d897552b2e470f5bf747ae02134
33dbd76de54b5cfccf1324f0d89c1aed356d492f
/modules/assimp/assimp/code/IFCUtil.cpp
92e55c9ac65c63c4d8e6fc352191eac0cbec4f1b
[]
no_license
Zylann/SnowfeetEngine
91147c164891158fb91233082690b3094cc2c92f
86038da11a70eeb850455070ea5f6ccc22b73f6c
refs/heads/master
2021-05-16T02:46:09.782547
2016-10-21T23:02:50
2016-10-21T23:02:50
26,117,634
19
2
null
null
null
null
UTF-8
C++
false
false
16,273
cpp
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software 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 following disclaimer. * 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. * Neither the name of the assimp team, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of the assimp team. 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. ---------------------------------------------------------------------- */ /** @file IFCUtil.cpp * @brief Implementation of conversion routines for some common Ifc helper entities. */ #include "AssimpPCH.h" #ifndef ASSIMP_BUILD_NO_IFC_IMPORTER #include "IFCUtil.h" #include "PolyTools.h" #include "ProcessHelper.h" namespace Assimp { namespace IFC { // ------------------------------------------------------------------------------------------------ void TempOpening::Transform(const IfcMatrix4& mat) { if(profileMesh) { profileMesh->Transform(mat); } if(profileMesh2D) { profileMesh2D->Transform(mat); } extrusionDir *= IfcMatrix3(mat); } // ------------------------------------------------------------------------------------------------ aiMesh* TempMesh::ToMesh() { ai_assert(verts.size() == std::accumulate(vertcnt.begin(),vertcnt.end(),size_t(0))); if (verts.empty()) { return NULL; } std::auto_ptr<aiMesh> mesh(new aiMesh()); // copy vertices mesh->mNumVertices = static_cast<unsigned int>(verts.size()); mesh->mVertices = new aiVector3D[mesh->mNumVertices]; std::copy(verts.begin(),verts.end(),mesh->mVertices); // and build up faces mesh->mNumFaces = static_cast<unsigned int>(vertcnt.size()); mesh->mFaces = new aiFace[mesh->mNumFaces]; for(unsigned int i = 0,n=0, acc = 0; i < mesh->mNumFaces; ++n) { aiFace& f = mesh->mFaces[i]; if (!vertcnt[n]) { --mesh->mNumFaces; continue; } f.mNumIndices = vertcnt[n]; f.mIndices = new unsigned int[f.mNumIndices]; for(unsigned int a = 0; a < f.mNumIndices; ++a) { f.mIndices[a] = acc++; } ++i; } return mesh.release(); } // ------------------------------------------------------------------------------------------------ void TempMesh::Clear() { verts.clear(); vertcnt.clear(); } // ------------------------------------------------------------------------------------------------ void TempMesh::Transform(const IfcMatrix4& mat) { BOOST_FOREACH(IfcVector3& v, verts) { v *= mat; } } // ------------------------------------------------------------------------------ IfcVector3 TempMesh::Center() const { return std::accumulate(verts.begin(),verts.end(),IfcVector3()) / static_cast<IfcFloat>(verts.size()); } // ------------------------------------------------------------------------------------------------ void TempMesh::Append(const TempMesh& other) { verts.insert(verts.end(),other.verts.begin(),other.verts.end()); vertcnt.insert(vertcnt.end(),other.vertcnt.begin(),other.vertcnt.end()); } // ------------------------------------------------------------------------------------------------ void TempMesh::RemoveDegenerates() { // The strategy is simple: walk the mesh and compute normals using // Newell's algorithm. The length of the normals gives the area // of the polygons, which is close to zero for lines. std::vector<IfcVector3> normals; ComputePolygonNormals(normals, false); bool drop = false; size_t inor = 0; std::vector<IfcVector3>::iterator vit = verts.begin(); for (std::vector<unsigned int>::iterator it = vertcnt.begin(); it != vertcnt.end(); ++inor) { const unsigned int pcount = *it; if (normals[inor].SquareLength() < 1e-5f) { it = vertcnt.erase(it); vit = verts.erase(vit, vit + pcount); drop = true; continue; } vit += pcount; ++it; } if(drop) { IFCImporter::LogDebug("removing degenerate faces"); } } // ------------------------------------------------------------------------------------------------ void TempMesh::ComputePolygonNormals(std::vector<IfcVector3>& normals, bool normalize, size_t ofs) const { size_t max_vcount = 0; std::vector<unsigned int>::const_iterator begin = vertcnt.begin()+ofs, end = vertcnt.end(), iit; for(iit = begin; iit != end; ++iit) { max_vcount = std::max(max_vcount,static_cast<size_t>(*iit)); } std::vector<IfcFloat> temp((max_vcount+2)*4); normals.reserve( normals.size() + vertcnt.size()-ofs ); // `NewellNormal()` currently has a relatively strange interface and need to // re-structure things a bit to meet them. size_t vidx = std::accumulate(vertcnt.begin(),begin,0); for(iit = begin; iit != end; vidx += *iit++) { if (!*iit) { normals.push_back(IfcVector3()); continue; } for(size_t vofs = 0, cnt = 0; vofs < *iit; ++vofs) { const IfcVector3& v = verts[vidx+vofs]; temp[cnt++] = v.x; temp[cnt++] = v.y; temp[cnt++] = v.z; #ifdef ASSIMP_BUILD_DEBUG temp[cnt] = std::numeric_limits<IfcFloat>::quiet_NaN(); #endif ++cnt; } normals.push_back(IfcVector3()); NewellNormal<4,4,4>(normals.back(),*iit,&temp[0],&temp[1],&temp[2]); } if(normalize) { BOOST_FOREACH(IfcVector3& n, normals) { n.Normalize(); } } } // ------------------------------------------------------------------------------------------------ // Compute the normal of the last polygon in the given mesh IfcVector3 TempMesh::ComputeLastPolygonNormal(bool normalize) const { size_t total = vertcnt.back(), vidx = verts.size() - total; std::vector<IfcFloat> temp((total+2)*3); for(size_t vofs = 0, cnt = 0; vofs < total; ++vofs) { const IfcVector3& v = verts[vidx+vofs]; temp[cnt++] = v.x; temp[cnt++] = v.y; temp[cnt++] = v.z; } IfcVector3 nor; NewellNormal<3,3,3>(nor,total,&temp[0],&temp[1],&temp[2]); return normalize ? nor.Normalize() : nor; } // ------------------------------------------------------------------------------------------------ void TempMesh::FixupFaceOrientation() { const IfcVector3 vavg = Center(); std::vector<IfcVector3> normals; ComputePolygonNormals(normals); size_t c = 0, ofs = 0; BOOST_FOREACH(unsigned int cnt, vertcnt) { if (cnt>2){ const IfcVector3& thisvert = verts[c]; if (normals[ofs]*(thisvert-vavg) < 0) { std::reverse(verts.begin()+c,verts.begin()+cnt+c); } } c += cnt; ++ofs; } } // ------------------------------------------------------------------------------------------------ void TempMesh::RemoveAdjacentDuplicates() { bool drop = false; std::vector<IfcVector3>::iterator base = verts.begin(); BOOST_FOREACH(unsigned int& cnt, vertcnt) { if (cnt < 2){ base += cnt; continue; } IfcVector3 vmin,vmax; ArrayBounds(&*base, cnt ,vmin,vmax); const IfcFloat epsilon = (vmax-vmin).SquareLength() / static_cast<IfcFloat>(1e9); //const IfcFloat dotepsilon = 1e-9; //// look for vertices that lie directly on the line between their predecessor and their //// successor and replace them with either of them. //for(size_t i = 0; i < cnt; ++i) { // IfcVector3& v1 = *(base+i), &v0 = *(base+(i?i-1:cnt-1)), &v2 = *(base+(i+1)%cnt); // const IfcVector3& d0 = (v1-v0), &d1 = (v2-v1); // const IfcFloat l0 = d0.SquareLength(), l1 = d1.SquareLength(); // if (!l0 || !l1) { // continue; // } // const IfcFloat d = (d0/sqrt(l0))*(d1/sqrt(l1)); // if ( d >= 1.f-dotepsilon ) { // v1 = v0; // } // else if ( d < -1.f+dotepsilon ) { // v2 = v1; // continue; // } //} // drop any identical, adjacent vertices. this pass will collect the dropouts // of the previous pass as a side-effect. FuzzyVectorCompare fz(epsilon); std::vector<IfcVector3>::iterator end = base+cnt, e = std::unique( base, end, fz ); if (e != end) { cnt -= static_cast<unsigned int>(std::distance(e, end)); verts.erase(e,end); drop = true; } // check front and back vertices for this polygon if (cnt > 1 && fz(*base,*(base+cnt-1))) { verts.erase(base+ --cnt); drop = true; } // removing adjacent duplicates shouldn't erase everything :-) ai_assert(cnt>0); base += cnt; } if(drop) { IFCImporter::LogDebug("removing duplicate vertices"); } } // ------------------------------------------------------------------------------------------------ void TempMesh::Swap(TempMesh& other) { vertcnt.swap(other.vertcnt); verts.swap(other.verts); } // ------------------------------------------------------------------------------------------------ bool IsTrue(const EXPRESS::BOOLEAN& in) { return (std::string)in == "TRUE" || (std::string)in == "T"; } // ------------------------------------------------------------------------------------------------ IfcFloat ConvertSIPrefix(const std::string& prefix) { if (prefix == "EXA") { return 1e18f; } else if (prefix == "PETA") { return 1e15f; } else if (prefix == "TERA") { return 1e12f; } else if (prefix == "GIGA") { return 1e9f; } else if (prefix == "MEGA") { return 1e6f; } else if (prefix == "KILO") { return 1e3f; } else if (prefix == "HECTO") { return 1e2f; } else if (prefix == "DECA") { return 1e-0f; } else if (prefix == "DECI") { return 1e-1f; } else if (prefix == "CENTI") { return 1e-2f; } else if (prefix == "MILLI") { return 1e-3f; } else if (prefix == "MICRO") { return 1e-6f; } else if (prefix == "NANO") { return 1e-9f; } else if (prefix == "PICO") { return 1e-12f; } else if (prefix == "FEMTO") { return 1e-15f; } else if (prefix == "ATTO") { return 1e-18f; } else { IFCImporter::LogError("Unrecognized SI prefix: " + prefix); return 1; } } // ------------------------------------------------------------------------------------------------ void ConvertColor(aiColor4D& out, const IfcColourRgb& in) { out.r = static_cast<float>( in.Red ); out.g = static_cast<float>( in.Green ); out.b = static_cast<float>( in.Blue ); out.a = static_cast<float>( 1.f ); } // ------------------------------------------------------------------------------------------------ void ConvertColor(aiColor4D& out, const IfcColourOrFactor& in,ConversionData& conv,const aiColor4D* base) { if (const EXPRESS::REAL* const r = in.ToPtr<EXPRESS::REAL>()) { out.r = out.g = out.b = static_cast<float>(*r); if(base) { out.r *= static_cast<float>( base->r ); out.g *= static_cast<float>( base->g ); out.b *= static_cast<float>( base->b ); out.a = static_cast<float>( base->a ); } else out.a = 1.0; } else if (const IfcColourRgb* const rgb = in.ResolveSelectPtr<IfcColourRgb>(conv.db)) { ConvertColor(out,*rgb); } else { IFCImporter::LogWarn("skipping unknown IfcColourOrFactor entity"); } } // ------------------------------------------------------------------------------------------------ void ConvertCartesianPoint(IfcVector3& out, const IfcCartesianPoint& in) { out = IfcVector3(); for(size_t i = 0; i < in.Coordinates.size(); ++i) { out[i] = in.Coordinates[i]; } } // ------------------------------------------------------------------------------------------------ void ConvertVector(IfcVector3& out, const IfcVector& in) { ConvertDirection(out,in.Orientation); out *= in.Magnitude; } // ------------------------------------------------------------------------------------------------ void ConvertDirection(IfcVector3& out, const IfcDirection& in) { out = IfcVector3(); for(size_t i = 0; i < in.DirectionRatios.size(); ++i) { out[i] = in.DirectionRatios[i]; } const IfcFloat len = out.Length(); if (len<1e-6) { IFCImporter::LogWarn("direction vector magnitude too small, normalization would result in a division by zero"); return; } out /= len; } // ------------------------------------------------------------------------------------------------ void AssignMatrixAxes(IfcMatrix4& out, const IfcVector3& x, const IfcVector3& y, const IfcVector3& z) { out.a1 = x.x; out.b1 = x.y; out.c1 = x.z; out.a2 = y.x; out.b2 = y.y; out.c2 = y.z; out.a3 = z.x; out.b3 = z.y; out.c3 = z.z; } // ------------------------------------------------------------------------------------------------ void ConvertAxisPlacement(IfcMatrix4& out, const IfcAxis2Placement3D& in) { IfcVector3 loc; ConvertCartesianPoint(loc,in.Location); IfcVector3 z(0.f,0.f,1.f),r(1.f,0.f,0.f),x; if (in.Axis) { ConvertDirection(z,*in.Axis.Get()); } if (in.RefDirection) { ConvertDirection(r,*in.RefDirection.Get()); } IfcVector3 v = r.Normalize(); IfcVector3 tmpx = z * (v*z); x = (v-tmpx).Normalize(); IfcVector3 y = (z^x); IfcMatrix4::Translation(loc,out); AssignMatrixAxes(out,x,y,z); } // ------------------------------------------------------------------------------------------------ void ConvertAxisPlacement(IfcMatrix4& out, const IfcAxis2Placement2D& in) { IfcVector3 loc; ConvertCartesianPoint(loc,in.Location); IfcVector3 x(1.f,0.f,0.f); if (in.RefDirection) { ConvertDirection(x,*in.RefDirection.Get()); } const IfcVector3 y = IfcVector3(x.y,-x.x,0.f); IfcMatrix4::Translation(loc,out); AssignMatrixAxes(out,x,y,IfcVector3(0.f,0.f,1.f)); } // ------------------------------------------------------------------------------------------------ void ConvertAxisPlacement(IfcVector3& axis, IfcVector3& pos, const IfcAxis1Placement& in) { ConvertCartesianPoint(pos,in.Location); if (in.Axis) { ConvertDirection(axis,in.Axis.Get()); } else { axis = IfcVector3(0.f,0.f,1.f); } } // ------------------------------------------------------------------------------------------------ void ConvertAxisPlacement(IfcMatrix4& out, const IfcAxis2Placement& in, ConversionData& conv) { if(const IfcAxis2Placement3D* pl3 = in.ResolveSelectPtr<IfcAxis2Placement3D>(conv.db)) { ConvertAxisPlacement(out,*pl3); } else if(const IfcAxis2Placement2D* pl2 = in.ResolveSelectPtr<IfcAxis2Placement2D>(conv.db)) { ConvertAxisPlacement(out,*pl2); } else { IFCImporter::LogWarn("skipping unknown IfcAxis2Placement entity"); } } // ------------------------------------------------------------------------------------------------ void ConvertTransformOperator(IfcMatrix4& out, const IfcCartesianTransformationOperator& op) { IfcVector3 loc; ConvertCartesianPoint(loc,op.LocalOrigin); IfcVector3 x(1.f,0.f,0.f),y(0.f,1.f,0.f),z(0.f,0.f,1.f); if (op.Axis1) { ConvertDirection(x,*op.Axis1.Get()); } if (op.Axis2) { ConvertDirection(y,*op.Axis2.Get()); } if (const IfcCartesianTransformationOperator3D* op2 = op.ToPtr<IfcCartesianTransformationOperator3D>()) { if(op2->Axis3) { ConvertDirection(z,*op2->Axis3.Get()); } } IfcMatrix4 locm; IfcMatrix4::Translation(loc,locm); AssignMatrixAxes(out,x,y,z); IfcVector3 vscale; if (const IfcCartesianTransformationOperator3DnonUniform* nuni = op.ToPtr<IfcCartesianTransformationOperator3DnonUniform>()) { vscale.x = nuni->Scale?op.Scale.Get():1.f; vscale.y = nuni->Scale2?nuni->Scale2.Get():1.f; vscale.z = nuni->Scale3?nuni->Scale3.Get():1.f; } else { const IfcFloat sc = op.Scale?op.Scale.Get():1.f; vscale = IfcVector3(sc,sc,sc); } IfcMatrix4 s; IfcMatrix4::Scaling(vscale,s); out = locm * out * s; } } // ! IFC } // ! Assimp #endif
[ "marc.gilleron@gmail.com" ]
marc.gilleron@gmail.com
dec9a979e05c3ddaf33fed8e2481d624d441ce2d
73cfd700522885a3fec41127e1f87e1b78acd4d3
/_Include/boost/mpl/list/list30.hpp
ec5f314f2b19122429baaa38915b1cf0e98602fe
[]
no_license
pu2oqa/muServerDeps
88e8e92fa2053960671f9f57f4c85e062c188319
92fcbe082556e11587887ab9d2abc93ec40c41e4
refs/heads/master
2023-03-15T12:37:13.995934
2019-02-04T10:07:14
2019-02-04T10:07:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,283
hpp
#ifndef BOOST_MPL_LIST_LIST30_HPP_INCLUDED #define BOOST_MPL_LIST_LIST30_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include <boost/mpl/list/list20.hpp> #endif #include <boost/mpl/aux_/config/use_preprocessed.hpp> #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ && !defined(BOOST_MPL_PREPROCESSING_MODE) # define BOOST_MPL_PREPROCESSED_HEADER list30.hpp # include <boost/mpl/list/aux_/include_preprocessed.hpp> #else # include <boost/preprocessor/iterate.hpp> namespace boost { namespace mpl { # define BOOST_PP_ITERATION_PARAMS_1 \ (3,(21, 30, <boost/mpl/list/aux_/numbered.hpp>)) # include BOOST_PP_ITERATE() }} #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS #endif // BOOST_MPL_LIST_LIST30_HPP_INCLUDED ///////////////////////////////////////////////// // vnDev.Games - Trong.LIVE - DAO VAN TRONG // ////////////////////////////////////////////////////////////////////////////////
[ "langley.joshua@gmail.com" ]
langley.joshua@gmail.com
35b8eaaa3740633bc5c90993d0baa5bd41bab649
0881bc5ae792f95ed386b5bbe689495f3d4ef3d2
/1 - Autonomous Jigsaw Solution/Source Code/Assignment/binaryimage.h
00080a4870fc2d1fcef115da141c060ee0afa421
[ "MIT" ]
permissive
daleluck/Year2-SoftwareDev-Assignments
deed56432f1ecb6d52c14aaceb8132967c9946b1
36f5ea8fd4551f5fba2b29b7ba84d9ca4c5d5999
refs/heads/master
2020-03-31T09:17:50.238065
2014-11-18T17:21:14
2014-11-18T17:21:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
634
h
// binaryimage.h : derived class of matrix, allows only binary values (0/1) #include "matrix.h" #ifndef _binaryimage #define binaryimage class BinaryImage : public Matrix { public: BinaryImage(int, int, double*, double); // constructor BinaryImage(const BinaryImage&); // copy constructor ~BinaryImage(); // destructor BinaryImage operator+(const BinaryImage&); // OR function BinaryImage operator-(const BinaryImage&); // XOR function BinaryImage operator*(const BinaryImage&); // AND function BinaryImage operator/(const BinaryImage&); // NAND function BinaryImage& operator++(); // NOT function }; #endif
[ "dale.t.luck@gmail.com" ]
dale.t.luck@gmail.com
c99a770a7884aaef9ea6179c43f2faa5b58e1e05
f4d2fffefd8c79bad49d5450f5944b6763c52bbd
/lab 1/task2 Smesharik/task2 Smesharik/ComplexShape.h
8315d01797fe2c86481f09407acd76c64c997971
[]
no_license
Jane1408/CG
8441f13c57e413ce349d52f1a5f9ad2856cdabe5
a638f9a3694da4a7937e8948e0772181c43b33eb
refs/heads/master
2020-12-11T05:45:36.876416
2016-10-24T08:04:32
2016-10-24T08:04:32
68,314,782
0
0
null
null
null
null
UTF-8
C++
false
false
520
h
#pragma once class CBasicShape; class CComplexShape { public: CComplexShape(); ~CComplexShape(); void ReadInfo(); void ReadFromFile(std::string const& inputName); bool HitTest(const glm::vec2 &point); const std::vector <std::shared_ptr<CBasicShape>> & GetShapes() const; void SetPosition(glm::ivec2 const& position); const glm::ivec2 GetPosition(); const glm::ivec2 GetCenter(); private: std::vector <std::shared_ptr<CBasicShape>> m_shapes; int m_radius; glm::ivec2 m_center; glm::ivec2 m_position; };
[ "Женечка" ]
Женечка
0fd343f72ba416ad6792e9d623adba24db433362
67afc2ea594d864f8f7193cbb783faf96e4c07c8
/Math_final_assign.cpp
66a2631f8e81cf41fbb8ae0d66417a6c283b05c3
[]
no_license
rdxuchchhwash/Cryptography
e3d90273ca7fc39e147e0914e4c10dca8778e357
241cb96a395d3e4441d24eb7cd090fc31a403210
refs/heads/master
2021-05-07T23:30:15.438000
2017-10-18T21:45:11
2017-10-18T21:45:11
107,466,544
0
0
null
null
null
null
UTF-8
C++
false
false
5,392
cpp
#include<iostream> #include<stdlib.h> #include<conio.h> #include<string> using namespace std; int det(); char arr[100]; int numarr[30]; int asci=65; string input; int matrix[10][10]; int encrypted[10][10]; int decrypted[10][10]; int cryptokey[3][3]={{1,2,3},{1,1,2},{0,1,2}}; char decryptedletter[100]; char letterarray[100]; void encryption(); void decryption(); int main() { char choice; for(int i=0,j=65;i<26;i++) { letterarray[i]=(char)j++; } for(int i=0;i<26;i++) { arr[i]=asci; arr[i+32]=asci+32; asci++; } while(1) { cout<<"Press 1 for Encryption\nPress 2 for Decryption\nPress escape for exit\n"; choice=getche(); system("cls"); switch(choice) { case '1': encryption(); break; case '2': decryption(); break; case 27: exit(1); break; default: cout<<"Input Error!Wrong Key"; } cout<<endl<<"\n\n\nPress anykey To get back to main menu\nPress escape for exit\n"; choice=getche(); system("cls"); if(choice==27) { break; } system("cls"); } } void encryption() { cout<<"Enter a string: " ; getline(cin,input); // int l; l=input.size(); system("cls"); if(l%3==0) { for(int i=0;i<l;i++) { for (int j=0;j<26;j++) { if(input[i]==arr[j]) numarr[i]=j+1; else if(input[i]==arr[j+32]) numarr[i]=j+1; } } // for(int i=0,c=0;i<l/3;i++) { for (int j=0;j<3;j++) { matrix[i][j]=numarr[c]; c++; } } cout<<endl; cout<<"Matrix is: \t"; for(int i=0;i<l/3;i++) { for (int j=0;j<3;j++) { cout<<" "<<matrix[i][j]; } cout<<"\n\t\t"; } cout<<endl<<"Encrypted code is : "; int sum=0; for(int i=0;i<l/3;i++) { for(int j=0;j<3;j++) { sum=0; for(int k=0;k<3;k++) { sum+=cryptokey[j][k]*matrix[i][k]; } encrypted[i][j]=sum; } } for(int i=0;i<l/3;i++) { for (int j=0;j<3;j++) { cout<<" "<<encrypted[i][j]; } } cout<<endl; } else cout<<"String Length Error! String Length must be divisible by 3" ; } void decryption() { int inverse[3][3]; int mat[3][3]; mat[0][0]=cryptokey[1][1]*cryptokey[2][2]-cryptokey[1][2]*cryptokey[2][1]; mat[0][1]=-(cryptokey[1][0]*cryptokey[2][2]-cryptokey[1][2]*cryptokey[2][0]); mat[0][2]=cryptokey[1][0]*cryptokey[2][1]-cryptokey[1][1]*cryptokey[2][0]; mat[1][0]=-(cryptokey[0][1]*cryptokey[2][2]-cryptokey[0][2]*cryptokey[2][1]); mat[1][1]=cryptokey[0][0]*cryptokey[2][2]-cryptokey[0][2]*cryptokey[2][0]; mat[1][2]=-(cryptokey[0][0]*cryptokey[2][1]-cryptokey[0][1]*cryptokey[2][0]); mat[2][0]=cryptokey[0][1]*cryptokey[1][2]-cryptokey[0][2]*cryptokey[1][1]; mat[2][1]=-(cryptokey[0][0]*cryptokey[1][2]-cryptokey[0][2]*cryptokey[1][0]); mat[2][2]=cryptokey[0][0]*cryptokey[1][1]-cryptokey[0][1]*cryptokey[1][0]; inverse[0][0]=mat[0][0]/det(); inverse[0][1]=mat[1][0]/det(); inverse[0][2]=mat[2][0]/det(); inverse[1][0]=mat[0][1]/det(); inverse[1][1]=mat[1][1]/det(); inverse[1][2]=mat[2][1]/det(); inverse[2][0]=mat[0][2]/det(); inverse[2][1]=mat[1][2]/det(); inverse[2][2]=mat[2][2]/det(); cout<<endl; for(int i=0;i<3;i++) { for (int j=0;j<3;j++) { cout<<" "<<inverse[i][j]; } cout<<endl; } // cout<<endl<<"Enter the encrypted codes : "; for(int i=0;i<4;i++) { for (int j=0;j<3;j++) { cin>>encrypted[i][j]; } } int sum=0; for(int i=0;i<4;i++) { for(int j=0;j<3;j++) { sum=0; for(int k=0;k<3;k++) { sum+=inverse[j][k]*encrypted[i][k]; } decrypted[i][j]=sum; } } cout<<endl; for(int i=0;i<4;i++) { for (int j=0;j<3;j++) { cout<<" "<<decrypted[i][j]; } cout<<endl; } int c=0; for(int i=0;i<4;i++) { for(int j=0;j<3;j++) { for(int k=1;k<=26;k++) { if(decrypted[i][j]==k) decryptedletter[c]=letterarray[k-1]; } c++; } } cout<<"\nDecrypted Message Is: "; for(int i=0;i<12;i++) { cout<<decryptedletter[i]; } } int det() { int detA=0; detA+= (cryptokey[0][0])*(cryptokey[1][1]*cryptokey[2][2]-cryptokey[1][2]*cryptokey[2][1]); detA+= (-cryptokey[0][1])*(cryptokey[1][0]*cryptokey[2][2]-cryptokey[1][2]*cryptokey[2][0]); detA+= (cryptokey[0][2])*(cryptokey[1][0]*cryptokey[2][1]-cryptokey[1][1]*cryptokey[2][0]); return detA; }
[ "rdx.uchchhwash@gmail.com" ]
rdx.uchchhwash@gmail.com
4c9ab1c74d5d0e0127a47c9f0ae36a097375f736
e56fad54a8d4fb91a6f41b381a12bcc6c1b8579c
/nth_ugly_number.cpp
71f52c39b49a0751bdfd1653a021b0203d127777
[]
no_license
harsha20599/algorithms
aa2671f2f45bbc26b30a40e08f0aea138581978c
ae32a235562b985aa331ab0ae0ea7bbfa1ff3681
refs/heads/master
2020-05-18T11:57:01.893735
2019-05-01T09:15:41
2019-05-01T09:15:41
184,393,122
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
#include<stdio.h> int isPrime(int n){ for(int i = 2 ; i <= n/2 ; i++ ) if(n%i == 0) return 0; return 1; } int uglyNumber(int n){ if( n == 2 || n ==3 || n == 5) return 1; if(isPrime(n)) return 0; for(int i = 7; i <= n/2 ; i+=2) if( n%i == 0 && isPrime(i) ) return 0; return 1; } int main(){ int n,count = 0,i=1; printf("Enter the nth term to print the ugly number : "); scanf("%d",&n); while(count != n){ if(uglyNumber(i)){ count++; } i++; } printf("The %dth term is %d\n",n,i-1); }
[ "harsha20599@gmail.com" ]
harsha20599@gmail.com
3b3808a98e7a4214e3197aea1d450dc3d5cdbe93
0edbcda83b7a9542f15f706573a8e21da51f6020
/private/windbg64/debugger/sapi/loadomf.cpp
113b4fb6f4822683f945c9827e05e20eedcce5fe
[]
no_license
yair-k/Win2000SRC
fe9f6f62e60e9bece135af15359bb80d3b65dc6a
fd809a81098565b33f52d0f65925159de8f4c337
refs/heads/main
2023-04-12T08:28:31.485426
2021-05-08T22:47:00
2021-05-08T22:47:00
365,623,923
1
3
null
null
null
null
UTF-8
C++
false
false
94,233
cpp
// loadomf.cxx - load // // Copyright <C> 1989-94, Microsoft Corporation // // Purpose: // // 10-Nov-94 BryanT // Merge in NT changes. // Change the load code so we first call the Shell to see // if the symbol load s/b deferred or ignored. // Functions changed: OLStart, OLLoadOmf // New Functions: OLContinue (the part of OLStart that determines) // what type of file we're looking at). // LoadOmfForReal (the part of OLLoadOmf that actually // performs the symbol load) // Replace all the hexg param's with lpexg's. We have it everywhere // it's needed and every function calls LLLock/LLUnlock to get it... // Define UnloadOmf. // // 07-Jan-96 BryanT // #include "shinc.hpp" #pragma hdrstop #include <dbghelp.h> // The exe file information static LSZ lszFName; // file name static LONG lfaBase; // offset of directory info from end of file static ULONG cDir; // number of directory entries static OMFDirEntry *lpdss; // pointer to directory table static OMFDirEntry *lpdssCur; // pointer to current directory entry static LONG lcbFilePos; static WORD csegExe; static PIMAGE_SECTION_HEADER SecHdr; static unsigned int SecCount; static DWORD ImageAlign; static WORD btAlign; // Alignment bit extern HLLI HlliExgExe; BOOL FKillLazyLoad; HANDLE HthdLazyLoad; HANDLE HevntLazyLoad; CRITICAL_SECTION CsExeModify; typedef struct _PDB_INFO { SIG sig; AGE age; char sz[_MAX_PATH]; } PDB_INFO; static PDB_INFO pdbInfo; const ULONG sigNB11 = '11BN'; const ULONG sigNB10 = '01BN'; const ULONG sigNB09 = '90BN'; const ULONG sigNB08 = '80BN'; const ULONG sigNB07 = '70BN'; const ULONG sigNB06 = '60BN'; const ULONG sigNB05 = '50BN'; // compile time assert #if !defined(cassert) #define cassert(x) extern char dummyAssert[ (x) ] #endif SHE CheckSignature (HANDLE, OMFSignature *, PDB_INFO *); SHE OLStart (LPEXG); BOOL OLMkSegDir (WORD, LPSGD *, LPSGE *, LPEXG); SHE OLLoadTypes (LPEXG); SHE OLLoadSym (LPEXG); SHE OLLoadSrc (LPEXG); SHE OLGlobalPubs (LPEXG); SHE OLGlobalSym (LPEXG); SHE OLStaticSym (LPEXG); SHE OLLoadSegMap (LPEXG); SHE OLLoadNameIndex (LPEXG); LPCH OLRwrSrcMod (OMFSourceModule *); BOOL OLLoadHashSubSec (LPGST, LPB, WidenTi * =0); SHE NB10LoadOmf (LPEXG, HEXG); SHE LoadPdb (LPEXG, PDB_INFO *, UOFFSET, BOOL); SHE NB10LoadModules (LPEXG, ULONG*, HEXG); VOID LoadSymbols(HEXG, BOOL); SHE LoadOmfForReal(LPEXG, HEXG); SHE LoadFpo(LPEXG, HANDLE, PIMAGE_DEBUG_DIRECTORY); SHE LoadPdata(LPEXG, HANDLE, UOFFSET, UOFFSET, ULONG, ULONG, BOOL); SHE LoadOmap(LPEXG, HANDLE, PIMAGE_DEBUG_DIRECTORY); int OLMkModule(LPEXG, HEXG); SHE OLValidate(HANDLE, PVLDCHK); SHE SheFixupConvertedSyms(LPEXG); void ConvertGlobal16bitSyms(WidenTi*, LPGST, PB, ULONG); #define MAX_SEARCH_PATH_LEN 512 // This is hard-coded name of the registry location where setup will put the // pdb path. This should be changed when we have a general mechanism for the // debugger dlls to get the IDE's root registry key name. static TCHAR szDefaultKeyName[300]; const TCHAR szKeySuffix[] = _T("Build System\\Components\\Platforms\\Win32 (x86)\\Directories"); static const TCHAR szPdbDirs[] = "Pdb Dirs"; TCHAR szSearchPath[MAX_SEARCH_PATH_LEN]; BOOL fQueriedRegistry; // CFile is a simple helper class which will force its file to be closed // as soon as the CFile object is destructed. class CFile { public: HANDLE m_hfile; CFile() { m_hfile = INVALID_HANDLE_VALUE; } void ReInit() { if (m_hfile != INVALID_HANDLE_VALUE) { SYClose(m_hfile); m_hfile = INVALID_HANDLE_VALUE; } } HANDLE Open(LSZ lszName) { m_hfile = SYOpen(lszName); return(m_hfile); } ~CFile() { if(m_hfile != INVALID_HANDLE_VALUE) { SYClose (m_hfile); m_hfile = INVALID_HANDLE_VALUE; } } int Int() { return (int) HandleToLong(m_hfile); } operator HANDLE&() { return m_hfile; } }; VOID LoadDefered( HEXG hexg ) { LoadSymbols(hexg, TRUE); return; } VOID UnloadDefered( HEXG hexg ) { return; } SHE UnloadNow(HEXG hexg) { LPEXG lpexg; lpexg = (LPEXG) LLLock(hexg); OLUnloadOmf(lpexg); VoidCaches(); lpexg->fOmfDefered = TRUE; lpexg->sheLoadStatus = sheDeferSyms; lpexg->sheLoadError = sheNoSymbols; LLUnlock(hexg); return sheNone; } inline BOOL fSheGoodReturn(SHE she) { return ((she == sheNone) || (she == sheSymbolsConverted) || (she == sheConvertTIs)); } // OLLoadOmf - load omf information from exe // // error = OLLoadOmf (hexg) // // Entry hexg = handle to executable information struct // // Exit // // Returns An error code suitable for errno. SHE OLLoadOmf( HEXG hexg, VLDCHK *pVldChk, UOFFSET dllLoadAddress ) { SHE sheRet = sheNone; LSZ lszFname = NULL; LPEXG lpexg = (LPEXG) LLLock (hexg); if (lpexg->fOmfLoaded) { return sheNone; } // Query the shell and see if we should load this one now. lszFname = lpexg->lszName; // SYGetDefaultShe () always returns TRUE and leavs the parameters // unchanged; so this bit of code is dead. #ifndef NT_BUILD_ONLY #undef SYGetDefaultShe #define SYGetDefaultShe(a, b) ((*b=sheNone), TRUE) #endif // NT_BUILD_ONLY if (!SYGetDefaultShe(lszFname, &sheRet)) { if (lpexg->lszAltName) { lszFname = lpexg->lszAltName; if (!SYGetDefaultShe(lszFname, &sheRet)) { SYGetDefaultShe(NULL, &sheRet); lszFname = lpexg->lszName; } } else { SYGetDefaultShe(NULL, &sheRet); } } // SYGetDefaultShe is expected to return one of the following // values: // // sheSuppressSyms - Don't load, just keep track of the name/start // sheNoSymbols - This module has already been processed and there are no symbols // sheDeferSyms - Defer symbol loading until needed // sheSymbolsConverted - The symbols are already loaded // sheNone - Go ahead and load the symbols now. // Regardless of the load type, save some stuff lpexg->LoadAddress = dllLoadAddress; lpexg->ulTimeStamp = pVldChk->ImgTimeDateStamp; lpexg->ulCheckSum = pVldChk->ImgCheckSum; lpexg->ulImageSize = pVldChk->ImgSize; lpexg->sheLoadStatus = sheRet; switch( sheRet ) { case sheNone: case sheSymbolsConverted: // // If we made it this far, we must load the symbols // LoadSymbols(hexg, FALSE); if (lpexg->fOmfMissing) { sheRet = sheNoSymbols; } else if (lpexg->fOmfSkipped) { sheRet = sheSuppressSyms; } else if (lpexg->fOmfDefered) { sheRet = sheDeferSyms; } lpexg->sheLoadStatus = sheRet; break; case sheNoSymbols: lpexg->fOmfMissing = TRUE; break; case sheSuppressSyms: lpexg->fOmfSkipped = TRUE; break; case sheDeferSyms: lpexg->fOmfDefered = TRUE; SetEvent(HevntLazyLoad); break; } LLUnlock(hexg); return sheRet; } // LoadSymbols // // Purpose: This function loads a defered module's symbols. After // the symbols are loaded the shell is notified of the completed // module load. // // Input: hpds - Handle to process to load the symbols for // hexg - exg handle for the module to be added // fNotifyShell - Should shell be notified on load. // // Return: None VOID LoadSymbols( HEXG hexg, BOOL fNotifyShell ) { SHE sheRet; LPEXG lpexg = NULL; LPSTR lpname = NULL; HPDS hpdsLast; Retry: EnterCriticalSection( &CsExeModify ); // lock down the necessary data structure lpexg = (LPEXG) LLLock(hexg); if (!lpexg) { goto done; } // // We need to find out if the symbols are already being loaded by // somebody else. If so then we need wait for them to finish what // we need done. // if (lpexg->fOmfLoading) { // // Somebody beat us to it. Need to wait for them // LLUnlock(hexg); LeaveCriticalSection(&CsExeModify); Sleep(1000); goto Retry; } // mark the module as being loaded lpexg->fOmfLoading = TRUE; LeaveCriticalSection( &CsExeModify ); // load the symbols (yes, pass both lpexg and hexg. // OlMkModule needs hexg for creating the lpmds) sheRet = LoadOmfForReal(lpexg, hexg); EnterCriticalSection( &CsExeModify ); switch (sheRet) { case sheNoSymbols: lpexg->fOmfMissing = TRUE; break; case sheSuppressSyms: lpexg->fOmfSkipped = TRUE; break; case sheNone: case sheSymbolsConverted: lpexg->fOmfLoaded = TRUE; break; default: lpexg->fOmfMissing = TRUE; break; } if (fNotifyShell) { // // notify the shell that symbols have been loaded // if (lpexg->lszAltName) { lpname = lpexg->lszAltName; } else { lpname = lpexg->lszName; } DLoadedSymbols(sheRet, lpname); } // update the module flags lpexg->fOmfDefered = FALSE; lpexg->fOmfLoading = FALSE; done: LeaveCriticalSection( &CsExeModify ); // free resources if (lpexg) { LLUnlock(hexg); } return; } // LoadOmfForReal // // Purpose: Here's where the symbolic is actually loaded from the image. // // Input: lpexg - The pointer to the exg structure // hexg - The handle of the exg structure // // Return: Standard she error codes. SHE LoadOmfForReal( LPEXG lpexg, HEXG hexg ) { SHE sheRet = sheNone; SHE sheRetSymbols = sheNone; WORD cbMod = 0; ULONG cMod; ULONG iDir; csegExe = 0; __try { // Open and verify the exe. sheRet = sheRetSymbols = OLStart(lpexg); // If there was an error, bail. // (sheNone doesn't mean "no symbols", it means "error None") if (!fSheGoodReturn(sheRet)) { goto returnhere; } if (lpexg->ppdb) { sheRet = NB10LoadOmf(lpexg, hexg); goto returnhere; } if (sheRet == sheConvertTIs) { // set up to do the conversions if (!WidenTi::fCreate(lpexg->pwti)) { sheRet = sheOutOfMemory; goto returnhere; } } btAlign = (WORD)(lfaBase & 1); lpdssCur = lpdss; iDir = 0; // Load up the module table. // First, count up how many sstModule entries we have. The spec // requires all the sstModules to be before any other. while (iDir < cDir && lpdssCur->SubSection == sstModule) { lpdssCur++; iDir++; } // If there's no modules, there's no sense continuing. if (iDir == 0) { sheRet = sheNoSymbols; goto returnhere; } lpexg->cMod = cMod = iDir; // Allocate the rgMod buffer and load each dir entry in. lpexg->rgMod = (LPMDS)MHAlloc((cMod+2) * sizeof(MDS)); if (lpexg->rgMod == NULL) { sheRet = sheOutOfMemory; goto returnhere; } memset(lpexg->rgMod, 0, sizeof(MDS)*(cMod+2)); lpexg->rgMod[cMod+1].imds = (WORD) -1; // Go through the list of directory entries and process all of the sstModule records. for (iDir = 0, lpdssCur = lpdss; iDir < cMod; iDir += 1, lpdssCur++) { if (!OLMkModule (lpexg, hexg)) { sheRet = sheOutOfMemory; goto returnhere; } } // Set up map of modules. This function is used to create a map // of contributer segments to modules. This is then used when // determining which module is used for an address. lpexg->csgd = csegExe; if (!OLMkSegDir (csegExe, &lpexg->lpsgd, &lpexg->lpsge, lpexg)) { sheRet = sheOutOfMemory; goto returnhere; } // continue through the directory entries for (; iDir < cDir; lpdssCur++, iDir++) { if (lpdssCur->cb == 0) { // if nothing in this entry continue; } switch (lpdssCur->SubSection) { case sstSrcModule: sheRet = OLLoadSrc(lpexg); break; case sstAlignSym: sheRet = OLLoadSym(lpexg); break; case sstGlobalTypes: sheRet = OLLoadTypes(lpexg); break; case sstGlobalPub: sheRet = OLGlobalPubs(lpexg); break; case sstGlobalSym: sheRet = OLGlobalSym(lpexg); break; case sstSegMap: sheRet = OLLoadSegMap(lpexg); break; case sstLibraries: // ignore this table case sstMPC: // until this table is implemented case sstSegName: // until this table is implemented case sstModule: // Handled elsewhere break; case sstFileIndex: sheRet = OLLoadNameIndex(lpexg); break; case sstStaticSym: sheRet = OLStaticSym(lpexg); break; default: sheRet = sheCorruptOmf; break; } if (sheRet == sheCorruptOmf) { sheRet = sheNoSymbols; } } if (lpexg->pwti) { sheRet = SheFixupConvertedSyms(lpexg); } } __except(EXCEPTION_EXECUTE_HANDLER) { sheRet = sheNoSymbols; } returnhere: if (SecHdr) { MHFree(SecHdr); SecHdr = NULL; SecCount = 0; } return sheRet; } SHE NB10LoadOmf( LPEXG lpexg, HEXG hexg ) { SHE sheRet = sheNone; WORD cbMod = 0; ULONG ModCnt = 0; btAlign = (WORD)(lfaBase & 1); // we need to allocate a buffer large enough to read the largest module // table entry if ((sheRet = NB10LoadModules (lpexg, &ModCnt, hexg)) != sheNone) { return sheRet; } if (ModCnt == 0L) { // if no symbols found return sheNoSymbols; } lpexg->cMod = ModCnt; if(!DBIOpenGlobals(lpexg->pdbi, &(lpexg->pgsiGlobs)) || !DBIOpenPublics(lpexg->pdbi, &(lpexg->pgsiPubs))) { return sheOutOfMemory; } if((sheRet = OLLoadSegMap(lpexg)) != sheNone || (sheRet = OLLoadNameIndex(lpexg)) != sheNone) { return sheRet; } return sheRet; } #define cbFileMax (_MAX_CVFNAME + _MAX_CVEXT) // OLStart - get exe debug information // // Purpose: To open the file specified and get the offset to the directory // and get the base that everyone is offset from. // // Entry hexg = handle to exe to get info for // // Exit lfaBase = base offset of debug information // cDir = count of number of directory entries // lpdss = directory entries // // Returns // returns a 'she' value that clasified as symbol load is deferred, // symbol load failed, or symbols load succeeded #define UNKNOWN_IMAGE 0 #define DOS_IMAGE 1 #define VCDBG_IMAGE 2 #define WIN16_IMAGE 3 #define PE_IMAGE 4 #define ROM_IMAGE 5 #define NTDBG_IMAGE 6 SHE OLStart( LPEXG lpexg ) { // This is the 'she' value that will be returned to the calling value. // The values it returns falls into 3 categories, symbol loading was: // deferred, failed, or succeeded SHE sheRet; // This value compliments 'sheRet' by providing additional information // about the load process. Even though a symbol may have been // successfully loaded, an error may have occurred such as a checksum // error, etc. SHE sheError; ULONG DirSize; OMFSignature Signature; OMFDirHeader DirHeader; IMAGE_DOS_HEADER doshdr; // Old format MZ header IMAGE_NT_HEADERS pehdr; IMAGE_ROM_HEADERS romhdr; IMAGE_SEPARATE_DEBUG_HEADER sepHdr; PIMAGE_FILE_HEADER pfile; IMAGE_DEBUG_DIRECTORY dbgDir; IMAGE_DEBUG_DIRECTORY cvDbgDir; DWORD cbData; UOFFSET dllLoadAddress; DWORD ul; VLDCHK vldChk = {0}; LSZ szFName = NULL; char szNewName[_MAX_PATH]; int ImageType = UNKNOWN_IMAGE; DWORD cDebugDir; DWORD offDbgDir; DWORD cObjs; CFile hfile; UOFFSET ImageBase; if (lpexg->lszAltName) { szFName = lpexg->lszAltName; } else { szFName = lpexg->lszName; } // lpexg->lszDebug is the file where we pull the symbolic from. dllLoadAddress = lpexg->LoadAddress; vldChk.ImgTimeDateStamp = lpexg->ulTimeStamp; vldChk.ImgCheckSum = lpexg->ulCheckSum; vldChk.ImgSize = lpexg->ulImageSize; ImageAlign = 0; hfile.Open(szFName); if (hfile == INVALID_HANDLE_VALUE) { retry: if (lpexg->lszDebug) { MHFree(lpexg->lszDebug); lpexg->lszDebug = 0; } hfile = SYFindExeFile(szFName, szNewName, sizeof(szNewName), &vldChk, OLValidate, &sheError); if (hfile == INVALID_HANDLE_VALUE) { // 'SYFindExeFile' failed. Return a generic failure code in sheRet, but // preserve the specific failure error returned by 'SYFindExeFile' sheRet = sheFileOpen; goto ReturnHere; } else { // We succeeded. But save sheError, since the value of sheRet may // be changed. sheRet = sheError; } if ( ! ( lpexg->lszDebug = (LSZ) MHAlloc ( _ftcslen ( szNewName ) + 1 ) ) ) { sheRet = sheOutOfMemory; goto ReturnHere; } _tcscpy ( lpexg->lszDebug, szNewName ); } else { // Assert that the input file is OK. We only get here // when using the file name as passed in from the DM. sheError = sheRet = OLValidate(hfile, &vldChk); if ((sheRet == sheBadChecksum) || (sheRet == sheBadTimeStamp) || (sheRet == sheNoSymbols)) { hfile.ReInit(); goto retry; } if ( ! ( lpexg->lszDebug = (LSZ) MHAlloc ( _ftcslen ( szFName ) + 1 ) ) ) { sheRet = sheOutOfMemory; goto ReturnHere; } _tcscpy ( lpexg->lszDebug, szFName ); } // HACK: If we are pre-loading symbols lpexg->[ulTimeStamp|ulCheckSum] will be 0 // at this point. However vldChk will be updated to have the appropriate // information. Update the lpexg structures with the right value. if (lpexg->ulTimeStamp == 0) { lpexg->ulTimeStamp = vldChk.ImgTimeDateStamp; } // Now figure out what we're looking at. Here are the possible formats: // 1. Image starts with a DOS MZ header and e_lfanew is zero // - Standard DOS exe. // 2. Image starts with a DOS NE header and e_lfanew is non-zero // - If e_lfanew points to a PE header, this is a PE image // - Otherwise, it's probably a Win16 image. // 3. Image starts with a PE header. // - Image is a PE image built with -stub:none // 4. Image starts with a ROM PE header. // - Image is a ROM image. If characteristics flag // doesn't have IMAGE_FILE_DEBUG_STRIPPED set, the debug // directory is at the start of rdata. // 5. Image starts with a DBG file header // - Image is an NT DBG file (symbols only). // 6. None of the signatures match. // - This may be a Languages DBG file. Seek to the end // of the file and attempt to read the CV signature/offset // from there (a Languages DBG file is made by chopping an // image at the start of the debug data and writing the end // in a new file. In the CV format, the signature/offset at the // end of the file points back to the beginning of the data). if ((SYSeek(hfile, 0, SEEK_SET) == 0) && sizeof(doshdr) == SYReadFar (hfile, (LPB) &doshdr, sizeof(doshdr))) { switch (doshdr.e_magic) { case IMAGE_DOS_SIGNATURE: // This is a DOS NE header. if (doshdr.e_lfanew == 0) { ImageType = DOS_IMAGE; } else { if ((SYSeek(hfile, doshdr.e_lfanew, SEEK_SET) == doshdr.e_lfanew) && (SYReadFar(hfile, (LPB) &pehdr, sizeof(pehdr)) == sizeof(pehdr))) { if (pehdr.Signature == IMAGE_NT_SIGNATURE) { ImageType = PE_IMAGE; ImageAlign = pehdr.OptionalHeader.SectionAlignment; pfile = &pehdr.FileHeader; } else { ImageType = WIN16_IMAGE; } } else { // No luck reading from the image. Must be corrupt. sheRet = sheCorruptOmf; goto ReturnHere; } } break; case IMAGE_SEPARATE_DEBUG_SIGNATURE: // This image is an NT DBG file. ImageType = NTDBG_IMAGE; if ((SYSeek(hfile, 0, SEEK_SET) != 0) || (SYReadFar(hfile, (LPB) &sepHdr, sizeof(sepHdr)) != sizeof(sepHdr))) { // No luck reading from the image. Must be corrupt. sheRet = sheCorruptOmf; goto ReturnHere; } // If there's no debug info, we can't continue further. if (sepHdr.DebugDirectorySize / sizeof(dbgDir) == 0) { sheRet = sheNoSymbols; goto ReturnHere; } break; default: // None of the above. See if it's a ROM image. // Note: The only way we think we're working on a ROM image // is if the optional header size is correct. Not really foolproof. if ((SYSeek(hfile, 0, SEEK_SET) == 0) && (SYReadFar(hfile, (LPB) &romhdr, sizeof(romhdr)) == sizeof(romhdr))) { if (romhdr.FileHeader.SizeOfOptionalHeader == IMAGE_SIZEOF_ROM_OPTIONAL_HEADER) { // If we think we have a ROM image, make sure there's // symbolic to look for. if (romhdr.FileHeader.Characteristics & IMAGE_FILE_DEBUG_STRIPPED) { sheRet = sheNoSymbols; goto ReturnHere; } else { ImageType = ROM_IMAGE; pfile = &romhdr.FileHeader; } } else { ImageType = VCDBG_IMAGE; } } else { // No luck reading from the image. Must be corrupt. sheRet = sheCorruptOmf; goto ReturnHere; } break; } } else { // No luck reading from the image. Must be corrupt. sheRet = sheCorruptOmf; goto ReturnHere; } // Now, we know what kind of image we're looking at. // Either obtain the pointer to the CV debug data (and other // relevant data along the way) or convert whatever we do find // to CV debug data. lpexg->fSymConverted = FALSE; switch (ImageType) { case DOS_IMAGE: case VCDBG_IMAGE: case WIN16_IMAGE: // Easy. Skip to the end and look back. ul = SYSeek (hfile, -((LONG)sizeof (OMFSignature)), SEEK_END); if ((sheRet = CheckSignature (hfile, &Signature, &pdbInfo)) == sheNone) { // seek to the base and read in the new key lfaBase = SYSeek (hfile, -Signature.filepos, SEEK_END); sheRet = CheckSignature(hfile, &Signature, &pdbInfo); cbData = ul - lfaBase; } // Only possible architecture of the image file lpexg->machine = IMAGE_FILE_MACHINE_I386; // If the CV signature is invalid, see if we can convert what we do // have (perhaps a .sym file?) if (sheRet != sheNone) { if (pfConvertSymbolsForImage) { lpexg->lpbData = (LPB) (pfConvertSymbolsForImage)( hfile, lpexg->lszDebug); } // If no symbols converted, bail. Nothing more we can do. if (lpexg->lpbData == 0) { sheRet = sheNoSymbols; goto ReturnHere; } Signature = *(OMFSignature*)lpexg->lpbData; lpexg->fSymConverted = TRUE; } break; case PE_IMAGE: case ROM_IMAGE: // In both the PE image and ROM image, we're past the FILE // and OPTIONAL header by now. Walk through the section // headers and pick up interesting data. We make a // a copy of the section headers in case we need to // reconstruct the original values for a Lego'd image cObjs = pfile->NumberOfSections; SecCount = pfile->NumberOfSections; ImageBase = pehdr.OptionalHeader.ImageBase; ul = SecCount * sizeof(IMAGE_SECTION_HEADER); // Note: SecHdr is free'd by LoadOmfForReal. SecHdr = (PIMAGE_SECTION_HEADER) MHAlloc(ul); // Capture the architecture of the image file lpexg->machine = pfile->Machine; if (!SecHdr) { sheRet = sheNoSymbols; goto ReturnHere; } if (SYReadFar(hfile, (LPB) SecHdr, ul) != ul) { sheRet = sheNoSymbols; goto ReturnHere; } if (ImageType == PE_IMAGE) { // look for the .pdata section on RISC platforms if ((pfile->Machine == IMAGE_FILE_MACHINE_ALPHA) || (pfile->Machine == IMAGE_FILE_MACHINE_ALPHA64) || (pfile->Machine == IMAGE_FILE_MACHINE_IA64)) { for (ul=0; ul < cObjs; ul++) { if (_tcscmp((char *) SecHdr[ul].Name, ".pdata") == 0) { LoadPdata(lpexg, hfile, dllLoadAddress, ImageBase, SecHdr[ul].PointerToRawData, SecHdr[ul].SizeOfRawData, FALSE); lpexg->debugData.lpOriginalRtf = (PVOID)(ImageBase + SecHdr[ul].VirtualAddress); break; } } } // If the debug info has been stripped, close this handle // and look for the .dbg file... if (pfile->Characteristics & IMAGE_FILE_DEBUG_STRIPPED) { // The debug info has been stripped from this image. // Close this file handle and look for the .DBG file. hfile.ReInit(); ImageType = UNKNOWN_IMAGE; MHFree(SecHdr); SecHdr = 0; goto retry; } // Find the debug directory and the number of entries in it. // For PE images, walk the section headers looking for the // one that's got the debug directory. for (ul=0; ul < cObjs; ul++) { if ((SecHdr[ul].VirtualAddress <= pehdr.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_DEBUG].VirtualAddress) && (pehdr.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_DEBUG].VirtualAddress < SecHdr[ul].VirtualAddress + SecHdr[ul].SizeOfRawData)) { // This calculation really isn't necessary nor is the range test // above. Like ROM images, it s/b at the beginning of .rdata. The // only time it won't be is when a pre NT 1.0 image is split sym'd // creating a new MISC debug entry and relocating the directory // to the DEBUG section... offDbgDir = SecHdr[ul].PointerToRawData + pehdr.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_DEBUG].VirtualAddress - SecHdr[ul].VirtualAddress; cDebugDir = pehdr.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_DEBUG].Size / sizeof(IMAGE_DEBUG_DIRECTORY); break; } } } else { // For ROM images, there's much less work to do. We only // need to search for the .rdata section. There's no need // to look for .pdata (it will never exist) or worry about // stripped debug symbolic (that case was already handled above). for (ul=0; ul < cObjs; ul++) { if (!_tcscmp((char *)SecHdr[ul].Name, ".rdata")) { offDbgDir = SecHdr[ul].PointerToRawData; if (SYSeek(hfile, offDbgDir, SEEK_SET) != (LONG) offDbgDir) { sheRet = sheCorruptOmf; goto ReturnHere; } // The linker stores an empty directory entry for ROM // images to terminate the list. cDebugDir = 0; do { if (SYReadFar(hfile, (LPB) &dbgDir, sizeof(dbgDir)) != sizeof(dbgDir)) { sheRet = sheNoSymbols; goto ReturnHere; } cDebugDir++; } while (dbgDir.Type != 0); break; } } } // Assuming we haven't exhausted the list of section headers, // we should have the debug directory now. if (ul == cObjs) { // We didn't find any CV info. Try converting what we did // find. if (pfConvertSymbolsForImage) { lpexg->lpbData = (LPB)(pfConvertSymbolsForImage)( hfile, lpexg->lszDebug); } if (lpexg->lpbData == 0) { sheRet = sheNoSymbols; goto ReturnHere; } Signature = *(OMFSignature*)lpexg->lpbData; lpexg->fSymConverted = TRUE; break; } // Now search the debug directory for relevant entries. if (SYSeek(hfile, offDbgDir, SEEK_SET) != (LONG) offDbgDir) { sheRet = sheCorruptOmf; goto ReturnHere; } ZeroMemory(&cvDbgDir, sizeof(cvDbgDir) ); for (ul=0; ul < cDebugDir; ul++) { if (SYReadFar(hfile, (LPB) &dbgDir, sizeof(dbgDir)) != sizeof(dbgDir)) { sheRet = sheCorruptOmf; goto ReturnHere; } if (dbgDir.Type == IMAGE_DEBUG_TYPE_CODEVIEW) { cvDbgDir = dbgDir; continue; } if (dbgDir.Type == IMAGE_DEBUG_TYPE_FPO) { LoadFpo(lpexg, hfile, &dbgDir); } if (dbgDir.Type == IMAGE_DEBUG_TYPE_OMAP_FROM_SRC || dbgDir.Type == IMAGE_DEBUG_TYPE_OMAP_TO_SRC) { LoadOmap(lpexg, hfile, &dbgDir); } } if (cvDbgDir.Type != IMAGE_DEBUG_TYPE_CODEVIEW) { // We didn't find any CV info. Try converting what we did // find. if (pfConvertSymbolsForImage) { lpexg->lpbData = (LPB)(pfConvertSymbolsForImage)( hfile, lpexg->lszDebug); } if (lpexg->lpbData == 0) { sheRet = sheNoSymbols; goto ReturnHere; } Signature = *(OMFSignature*)lpexg->lpbData; lpexg->fSymConverted = TRUE; } else { // Otherwise, calculate the location/size so we can load it. lfaBase = cvDbgDir.PointerToRawData; cbData = cvDbgDir.SizeOfData; if (SYSeek(hfile, lfaBase, SEEK_SET) != lfaBase) { sheRet = sheCorruptOmf; goto ReturnHere; } sheRet = CheckSignature (hfile, &Signature, &pdbInfo); if ((sheRet != sheNone) && (sheRet != sheConvertTIs)) { goto ReturnHere; } } break; case NTDBG_IMAGE: SecCount = sepHdr.NumberOfSections; ImageBase= sepHdr.ImageBase; if (sepHdr.SectionAlignment) { // The first reserved slot hold the original image alignment // for use with recreating the pre-lego section headers. ImageAlign = sepHdr.SectionAlignment; } ul = SecCount * sizeof(IMAGE_SECTION_HEADER); // Note: SecHdr is free'd by LoadOmfForReal. SecHdr = (PIMAGE_SECTION_HEADER) MHAlloc(ul); if (!SecHdr) { sheRet = sheNoSymbols; goto ReturnHere; } // Read in the section headers. if (SYReadFar(hfile, (LPB) SecHdr, ul) != ul) { sheRet = sheCorruptOmf; goto ReturnHere; } // Capture the architecture of the image file lpexg->machine = sepHdr.Machine; // Skip over the exported names. SYSeek(hfile, sepHdr.ExportedNamesSize, SEEK_CUR); // Look for the interesting debug data. ZeroMemory(&cvDbgDir, sizeof(cvDbgDir)); for (ul=0; ul < (sepHdr.DebugDirectorySize/sizeof(dbgDir)); ul++) { if (SYReadFar(hfile, (LPB) &dbgDir, sizeof(dbgDir)) != sizeof(dbgDir)) { sheRet = sheCorruptOmf; goto ReturnHere; } switch (dbgDir.Type) { case IMAGE_DEBUG_TYPE_CODEVIEW : cvDbgDir = dbgDir; break; case IMAGE_DEBUG_TYPE_FPO : LoadFpo(lpexg, hfile, &dbgDir); break; case IMAGE_DEBUG_TYPE_EXCEPTION : // UNDONE: We can eliminate this load for images // that we've already processed the pdata from the // real image... LoadPdata(lpexg, hfile, dllLoadAddress, ImageBase, dbgDir.PointerToRawData, dbgDir.SizeOfData, TRUE); ULONG ul2; for (ul2=0; ul2 < cObjs; ul2++) { if (_tcscmp((char *) SecHdr[ul2].Name, ".pdata") == 0) { lpexg->debugData.lpOriginalRtf = (PVOID)SecHdr[ul].PointerToRawData; break; } } break; case IMAGE_DEBUG_TYPE_OMAP_TO_SRC : case IMAGE_DEBUG_TYPE_OMAP_FROM_SRC : LoadOmap(lpexg, hfile, &dbgDir); break; } } if (cvDbgDir.Type != IMAGE_DEBUG_TYPE_CODEVIEW) { if (pfConvertSymbolsForImage) { lpexg->lpbData = (LPB)(pfConvertSymbolsForImage)( hfile, lpexg->lszDebug); } if (lpexg->lpbData == 0) { sheRet = sheNoSymbols; goto ReturnHere; } Signature = *(OMFSignature*)lpexg->lpbData; lpexg->fSymConverted = TRUE; } else { lfaBase = cvDbgDir.PointerToRawData; cbData = cvDbgDir.SizeOfData; if (SYSeek(hfile, lfaBase, SEEK_SET) != lfaBase) { sheRet = sheCorruptOmf; goto ReturnHere; } sheRet = CheckSignature (hfile, &Signature, &pdbInfo); if ((sheRet != sheNone) && (sheRet != sheConvertTIs)) { goto ReturnHere; } } break; default: // No way we should get here, but assert if we do. assert(FALSE); } // O.K. Everything's loaded. If we're looking at a pdb file, // load it and get out. if ((*(LONG UNALIGNED *)(Signature.Signature)) == sigNB10) { sheRet = LoadPdb(lpexg, &pdbInfo, ImageBase, !SYIgnoreAllSymbolErrors()); } else { // No PDB. // If the symbols weren't synthesized, allocate a buffer and // copy them in... if (!lpexg->fSymConverted) { HANDLE hMap; HANDLE hFileMap; hFileMap = CreateFile(lpexg->lszDebug, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (hFileMap != INVALID_HANDLE_VALUE) { hMap = CreateFileMapping(hFileMap, NULL, PAGE_WRITECOPY, 0, 0, NULL); if (hMap != NULL) { // Map in the symbolic (only). SYSTEM_INFO si; DWORD dwAllocStart, dwAllocDiff; GetSystemInfo(&si); dwAllocStart = lfaBase & (~(si.dwAllocationGranularity - 1)); dwAllocDiff = lfaBase - dwAllocStart; lpexg->pvSymMappedBase = MapViewOfFile(hMap, FILE_MAP_COPY, 0, dwAllocStart, cbData + dwAllocDiff); if (lpexg->pvSymMappedBase) { lpexg->lpbData = ((BYTE *) lpexg->pvSymMappedBase) + dwAllocDiff; } CloseHandle(hMap); } CloseHandle(hFileMap); } if (lpexg->lpbData == NULL) { // Unable to map the image. Read the whole blob in from disk. lpexg->lpbData = (LPB)MHAlloc(cbData); if (!lpexg->lpbData) { sheRet = sheNoSymbols; goto ReturnHere; } if ((SYSeek (hfile, lfaBase, SEEK_SET) != lfaBase) || (SYReadFar (hfile, lpexg->lpbData, cbData) != cbData)) { // Failed to read in the data... Must be corrupt. MHFree(lpexg->lpbData); lpexg->lpbData = 0; sheRet = sheCorruptOmf; goto ReturnHere; } } } // We now have a pointer to the CV debug data. Setup the // pointers to the CV Directory header and return. LPB lpb; lpexg->ppdb = NULL; lpexg->ptpi = NULL; lpexg->pdbi = NULL; lpb = Signature.filepos + lpexg->lpbData; DirHeader = *(OMFDirHeader *) lpb; cDir = DirHeader.cDir; // check to make sure somebody has not messed with omf structure if (DirHeader.cbDirEntry != sizeof (OMFDirEntry)) { sheRet = sheCorruptOmf; goto ReturnHere; } lpdss = (OMFDirEntry *)(lpb + sizeof(DirHeader)); if (lpexg->fSymConverted) { sheRet = sheSymbolsConverted; goto ReturnHere; } if (sheRet == sheConvertTIs) { goto ReturnHere; } sheRet = sheNone; } ReturnHere: lpexg->sheLoadStatus = sheRet; lpexg->sheLoadError = sheError; return sheRet; } SHE LoadFpo( LPEXG lpexg, HANDLE hfile, PIMAGE_DEBUG_DIRECTORY dbgDir ) { LONG fpos; fpos = SYTell(hfile); lpexg->fIsRisc = FALSE; if (SYSeek(hfile, dbgDir->PointerToRawData, SEEK_SET) != (LONG) dbgDir->PointerToRawData) { return(sheCorruptOmf); } if(!(lpexg->debugData.lpFpo = (PFPO_DATA) MHAlloc(dbgDir->SizeOfData))) { return sheOutOfMemory; } SYReadFar(hfile, (LPB) lpexg->debugData.lpFpo, dbgDir->SizeOfData); lpexg->debugData.cRtf = dbgDir->SizeOfData / SIZEOF_RFPO_DATA; SYSeek(hfile, fpos, SEEK_SET); return sheNone; } SHE LoadOmap( LPEXG lpexg, HANDLE hfile, PIMAGE_DEBUG_DIRECTORY dbgDir ) { LONG fpos; LPVOID lpOmap; DWORD dwCount; fpos = SYTell(hfile); if (SYSeek(hfile, dbgDir->PointerToRawData, SEEK_SET) != (LONG) dbgDir->PointerToRawData) { return(sheCorruptOmf); } if(!(lpOmap = (LPVOID) MHAlloc(dbgDir->SizeOfData))) return sheOutOfMemory; SYReadFar(hfile, (LPB) lpOmap, dbgDir->SizeOfData); dwCount = dbgDir->SizeOfData / sizeof(OMAP); SYSeek(hfile, fpos, SEEK_SET); if(dbgDir->Type == IMAGE_DEBUG_TYPE_OMAP_FROM_SRC) { lpexg->debugData.lpOmapFrom = (LPOMAP) lpOmap; lpexg->debugData.cOmapFrom = dwCount; } else if(dbgDir->Type == IMAGE_DEBUG_TYPE_OMAP_TO_SRC) { lpexg->debugData.lpOmapTo = (LPOMAP) lpOmap; lpexg->debugData.cOmapTo = dwCount; } else { MHFree(lpOmap); } return sheNone; } PVOID CreateRuntimeFunctionTable ( PVOID dbgRf, ULONG cFunc, UOFFSET imageBase, DWORD dwSizRTFEntry ) { ULONG index; PVOID rf; if(!(rf = MHAlloc(cFunc * dwSizRTFEntry))) { return NULL; } // // This fixes up the function table to look as it does in the un-fixed up image. // switch(GetTargetMachine()) { case mptdaxp: // Case 32bit mptdaxp if (dwSizRTFEntry == sizeof(IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)) { for (index=0; index<cFunc; index++) { ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].BeginAddress = ((PIMAGE_FUNCTION_ENTRY)dbgRf)[index].StartingAddress + (DWORD)imageBase; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].EndAddress = ((PIMAGE_FUNCTION_ENTRY)dbgRf)[index].EndingAddress + (DWORD)imageBase; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].PrologEndAddress = ((PIMAGE_FUNCTION_ENTRY)dbgRf)[index].EndOfPrologue + (DWORD)imageBase; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].ExceptionHandler = 0; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].HandlerData = 0; } // Case 64bit mptdaxp } else { for (index=0; index<cFunc; index++) { ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].BeginAddress = ((PIMAGE_FUNCTION_ENTRY64)dbgRf)[index].StartingAddress + imageBase; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].EndAddress = ((PIMAGE_FUNCTION_ENTRY64)dbgRf)[index].EndingAddress + imageBase; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].PrologEndAddress = ((PIMAGE_FUNCTION_ENTRY64)dbgRf)[index].EndOfPrologue + imageBase; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].ExceptionHandler = 0; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].HandlerData = 0; } } break; case mptia64: break; default: assert(!"Unsupported platform"); break; } return rf; } SHE LoadPdata( LPEXG lpexg, HANDLE hfile, UOFFSET loadAddress, UOFFSET imageBase, ULONG start, ULONG size, BOOL fDbgFile ) { ULONG cFunc; UOFFSET diff; ULONG index; PVOID rf; PVOID tf; LONG fpos; DWORD dwSizRTFEntry; DWORD dwSizFEntry; lpexg->debugData.lpRtf = NULL; lpexg->debugData.cRtf = 0; if(size == 0) { return sheNone; // No data to read... Just return. } switch (lpexg->machine) { case IMAGE_FILE_MACHINE_ALPHA: dwSizRTFEntry = sizeof(IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY); dwSizFEntry = sizeof(IMAGE_FUNCTION_ENTRY); break; case IMAGE_FILE_MACHINE_ALPHA64: dwSizRTFEntry = sizeof(IMAGE_AXP64_RUNTIME_FUNCTION_ENTRY); dwSizFEntry = sizeof(IMAGE_FUNCTION_ENTRY64); break; case IMAGE_FILE_MACHINE_IA64: dwSizRTFEntry = sizeof(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY); dwSizFEntry = sizeof(IMAGE_FUNCTION_ENTRY); break; default: assert(!"Unsupported platform"); break; } if(fDbgFile) { cFunc = size / dwSizFEntry; diff = 0; } else { cFunc = size / dwSizRTFEntry; if (loadAddress) { diff = loadAddress - imageBase; } else { diff = 0; } } lpexg->fIsRisc = TRUE; fpos = SYTell(hfile); if (SYSeek(hfile, start, SEEK_SET) != (LONG) start) { return(sheCorruptOmf); } if(fDbgFile) { PVOID dbgRf; if(!(dbgRf = MHAlloc(size))) { return sheOutOfMemory; } SYReadFar(hfile, (LPB)dbgRf, size); tf = rf = CreateRuntimeFunctionTable(dbgRf, cFunc, imageBase, dwSizRTFEntry); MHFree(dbgRf); } else { if(!(tf = rf = MHAlloc(size))) { return sheOutOfMemory; } SYReadFar(hfile, (LPB)rf, size); } // If this is an ilink'd image, there'll be padding at the end of the pdata section // (to allow for insertion later). Shrink the table if this is true. // Find the start of the padded page (end of the real data) assert(dwSizRTFEntry !=0); switch (lpexg->machine) { case IMAGE_FILE_MACHINE_ALPHA: for(index=0; index<cFunc && ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)tf)->BeginAddress; tf = (PBYTE)tf + dwSizRTFEntry,index++) { ; } break; case IMAGE_FILE_MACHINE_ALPHA64: for(index=0; index<cFunc && ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)tf)->BeginAddress; tf = (PBYTE)tf + dwSizRTFEntry,index++) { ; } break; case IMAGE_FILE_MACHINE_IA64: for(index=0; index<cFunc && ((PIMAGE_IA64_RUNTIME_FUNCTION_ENTRY)tf)->BeginAddress; tf = (PBYTE)tf + dwSizRTFEntry,index++) { ; } break; default: assert(!"Unsupported platform"); break; } if(index < cFunc) { cFunc = index; size = index * dwSizRTFEntry; if(!(rf = MHRealloc(rf, size))) { return sheOutOfMemory; } } if (diff != 0) { switch (lpexg->machine) { case IMAGE_FILE_MACHINE_ALPHA: for (index=0; index<cFunc; index++) { ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].BeginAddress += (DWORD)diff; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].EndAddress += (DWORD)diff; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].PrologEndAddress += (DWORD)diff; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].ExceptionHandler = 0; ((PIMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY)rf)[index].HandlerData = 0; } break; case IMAGE_FILE_MACHINE_ALPHA64: for (index=0; index<cFunc; index++) { ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].BeginAddress += diff; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].EndAddress += diff; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].PrologEndAddress += diff; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].ExceptionHandler = 0; ((PIMAGE_AXP64_RUNTIME_FUNCTION_ENTRY)rf)[index].HandlerData = 0; } break; case IMAGE_FILE_MACHINE_IA64: break; default: assert(!"Unsupported platform"); break; } } lpexg->debugData.lpRtf = rf; lpexg->debugData.cRtf = cFunc; SYSeek(hfile, fpos, SEEK_SET); return sheNone; } // CheckSignature - check file signature // // she = CheckSignature (HANDLE hfile, OMFSignature *pSig) // // Entry hfile = handle to file // pSig = location where signature should be written to // ppdb = PDB information. // // Exit none // // Return sheNoSymbols if exe has no signature // sheMustRelink if exe has NB00 to NB06 or NB07 (qcwin) signature // sheNotPacked if exe has NB08 signature // sheNone if exe has NB11 signature // sheConvertTIs if exe has NB09 signature // sheFutureSymbols if exe has NB12 to NB99 signature SHE CheckSignature( HANDLE hfile, OMFSignature *pSig, PDB_INFO *ppdb ) { UINT uSig; if ((SYReadFar (hfile, (LPB) pSig, sizeof (*pSig)) != sizeof (*pSig)) || (pSig->Signature[0] != 'N') || (pSig->Signature[1] != 'B') || (!isdigit(pSig->Signature[2])) || (!isdigit(pSig->Signature[3]))) { return sheNoSymbols; } switch (*(LONG UNALIGNED *)(pSig->Signature)) { case sigNB05: case sigNB06: case sigNB07: return sheMustRelink; case sigNB08: return sheNotPacked; case sigNB09: return sheConvertTIs; case sigNB10: SYReadFar(hfile, (LPB)ppdb, sizeof(PDB_INFO)); case sigNB11: return sheNone; default: return sheFutureSymbols; } } // OLMkSegDir - MakeSegment directory // // Entry // // Returns non-zero for success BOOL OLMkSegDir( WORD csgd, LPSGD *lplpsgd, LPSGE *lplpsge, LPEXG lpexg ) { LPSGD lpsgd; LPSGE lpsge = NULL; int *lpisge; int csgc = 0; int isge = 0; int isgd = 0; DWORD iMod; if (!(lpsgd = (LPSGD) MHAlloc (csgd * sizeof (SGD)))) { return FALSE; } if (!(lpisge = (int *) MHAlloc (csgd * sizeof (int)))) { MHFree(lpsgd); return FALSE; } memset(lpsgd, 0, csgd * sizeof(SGD)); memset(lpisge, 0, csgd * sizeof(int)); // Count the number of contributers per segment for (iMod = 1; iMod <= lpexg->cMod; iMod++) { LPMDS lpmds = &lpexg->rgMod[iMod]; int cseg = lpmds->csgc; int iseg = 0; int isegT = 0; for (iseg = 0; iseg < cseg; iseg++) { isegT = lpmds->lpsgc [ iseg ].seg; if (isegT != 0) { lpsgd [ isegT - 1 ].csge += 1; csgc += 1; } } } // Allocate subtable for each all segments lpsge = (LPSGE) MHAlloc (csgc * sizeof (SGE)); if (!lpsge) { MHFree (lpsgd); MHFree (lpisge); return FALSE; } // Set up sgd's with pointers into appropriate places in the sge table isge = 0; for (isgd = 0; isgd < (int) csgd; isgd++) { lpsgd[ isgd ].lpsge = lpsge + isge; isge += lpsgd[ isgd ].csge; } // Fill in the sge table for (iMod = 1; iMod <= lpexg->cMod; iMod += 1) { LPMDS lpmds = &lpexg->rgMod[iMod]; int cseg = lpmds->csgc; int iseg = 0; for (iseg = 0; iseg < cseg; iseg++) { int isgeT = lpmds->lpsgc[ iseg ].seg - 1; if (isgeT != -1) { lpsgd[ isgeT ].lpsge[ lpisge[ isgeT ]].sgc = lpmds->lpsgc[ iseg ]; lpsgd[ isgeT ].lpsge[ lpisge[ isgeT ]].hmod = (HMOD)lpmds; lpisge[ isgeT ] += 1; } } } MHFree (lpisge); *lplpsge = lpsge; *lplpsgd = lpsgd; return TRUE; } // OLMkModule - make module entries for module // // Entry lpexg - Supplies the pointer to the EXG structure for current exe // hexg - Supplies the handle EXG structure // // Returns non-zero for success int OLMkModule( LPEXG lpexg, HEXG hexg ) { LSZ lszModName; LPMDS lpmds; LPB lpbName; WORD cbName; WORD i; OMFModule *pMod; // Point to the OMFModule table. This structure describes the name and // segments for the current Module being processed. There is a one to one // correspondance of modules to object files. pMod = (OMFModule *) (lpexg->lpbData + lpdssCur->lfo); // Point to the name field in the module table. This location is variable // and is dependent on the number of contributuer segments for the module. lpbName = ((LPB)pMod) + offsetof (OMFModule, SegInfo[0]) + (sizeof (OMFSegDesc) * pMod->cSeg); cbName = *((LPB)lpbName)++; lszModName = (LPCH) MHAlloc (cbName + 1); memmove(lszModName, lpbName, cbName); *(lszModName + cbName) = 0; lpmds = &lpexg->rgMod[lpdssCur->iMod]; lpmds->imds = lpdssCur->iMod; lpmds->hexg = hexg; lpmds->name = lszModName; // step thru making the module entries // // NOTENOTE -- This can most likely be optimized as the data // is just being copied from the debug data. lpmds->csgc = pMod->cSeg; lpmds->lpsgc = (LPSGC)MHAlloc ( pMod->cSeg * sizeof ( SGC ) ); for ( i = 0; i < pMod->cSeg; i++ ) { if ( pMod->SegInfo[i].Seg > csegExe ) { csegExe = pMod->SegInfo[i].Seg; } lpmds->lpsgc[i].seg = pMod->SegInfo[i].Seg; lpmds->lpsgc[i].off = pMod->SegInfo[i].Off; lpmds->lpsgc[i].cb = pMod->SegInfo[i].cbSeg; } return TRUE; } SHE NB10LoadModules( LPEXG lpexg, ULONG* pcMods, HEXG hexg ) { Mod* pmod = NULL; ULONG cMod = 0; IMOD imod; // First count up the number of Mods while (DBIQueryNextMod(lpexg->pdbi, pmod, &pmod) && pmod) { if (!ModQueryImod(pmod, &imod)) { return sheCorruptOmf; } if (imod > *pcMods) { cMod = imod; } } *pcMods = cMod; // Got the count. Allocate rgMod. lpexg->rgMod = (LPMDS) MHAlloc((cMod+2) * sizeof(MDS)); if (lpexg->rgMod == NULL) { return sheOutOfMemory; } memset(lpexg->rgMod, 0, sizeof(MDS)*(cMod+2)); lpexg->rgMod[cMod+1].imds = (WORD) -1; // Now fill in the blanks. pmod = NULL; for (; cMod; cMod--) { LPMDS lpmds; LPCH lpchName; CB cbName; DBIQueryNextMod(lpexg->pdbi, pmod, &pmod); if (!ModQueryImod(pmod, &imod)) { return sheCorruptOmf; } lpmds = &lpexg->rgMod[imod]; lpmds->imds = imod; lpmds->pmod = pmod; lpmds->hexg = hexg; if (!ModQueryName(pmod, NULL, &cbName)) { return sheCorruptOmf; } lpmds->name = (LSZ) MHAlloc(cbName); if(!lpmds->name) { return sheOutOfMemory; } if(!ModQueryName(pmod, lpmds->name, &cbName)) { return sheCorruptOmf; } if(!ModSetPvClient(pmod, lpmds)) { return sheCorruptOmf; } } return sheNone; } BOOL OLLoadHashTable( LPB lpbData, ULONG cbTable, LPSHT lpsht, BOOL fDWordChains ) { WORD ccib = 0; LPUL rgib = NULL; LPUL rgcib = NULL; ULONG cbHeader = 0; LPB lpHashStart = lpbData; memset(lpsht, 0, sizeof(SHT)); ccib = *(WORD *)lpbData; // First, get the hash bucket counts lpbData += 4; // the 2 byte hash count and 2 bytes padding rgib = (LPUL) lpbData; lpbData += ccib * sizeof(ULONG); rgcib = (LPUL) lpbData; lpbData += ccib * sizeof(ULONG); // Subtract off what we've processed already. cbTable -= (ULONG)(lpbData - lpHashStart); lpsht->ccib = ccib; lpsht->rgib = rgib; lpsht->rgcib = rgcib; lpsht->lpalm = BuildALM(FALSE, btAlign, lpbData, cbTable, cbAlign); if (lpsht->lpalm == NULL) { return FALSE; } return TRUE; } BOOL OLLoadHashSubSec( LPGST lpgst, LPB lpbData, WidenTi * pwti ) { LPB lpbTbl = NULL; OMFSymHash hash; ULONG cbSymbol; BOOL fRet = TRUE; LPSHT lpshtName = &lpgst->shtName; LPSHT lpshtAddr = &lpgst->shtAddr; memset(lpshtAddr, 0, sizeof(SHT)); memset(lpshtName, 0, sizeof(SHT)); hash = *(OMFSymHash *)lpbData; lpbData += sizeof (OMFSymHash); cbSymbol = hash.cbSymbol; if (pwti) { ConvertGlobal16bitSyms(pwti, lpgst, lpbData, cbSymbol); } else { lpgst->lpalm = BuildALM(TRUE, btAlign, lpbData, cbSymbol, cbAlign); } if (lpgst->lpalm == NULL) { return FALSE; } lpbData += cbSymbol; // if (hash.symhash == 6 || hash.symhash == 10) { if (hash.symhash == 10) { fRet = OLLoadHashTable(lpbData, hash.cbHSym, &lpgst->shtName, hash.symhash == 10); lpgst->shtName.HashIndex = hash.symhash; } lpbData += hash.cbHSym; // if (hash.addrhash == 8 || hash.addrhash == 12) { if (hash.addrhash == 12) { fRet = OLLoadHashTable(lpbData, hash.cbHAddr, &lpgst->shtAddr, hash.addrhash == 12); lpgst->shtAddr.HashIndex = hash.addrhash; } return fRet; } // OLLoadTypes - load compacted types table // // Input: lpexg - Pointer to exg we're working on. // // Returns: - An error code SHE OLLoadTypes( LPEXG lpexg ) { LPB pTyp; LPB pTypes; OMFTypeFlags flags; DWORD cType = 0; DWORD *rgitd = NULL; DWORD ibType = 0; pTyp = pTypes = lpexg->lpbData + lpdssCur->lfo; flags = *(OMFTypeFlags *) pTypes; pTypes += sizeof(OMFTypeFlags); cType = *(ULONG *) pTypes; pTypes += sizeof(ULONG); if (!cType) { return sheNone; } // Point to the array of pointers to types rgitd = (DWORD *) pTypes; // Move past them pTypes += cType * sizeof(ULONG); // Read in the type index table ibType = (DWORD)(pTypes - pTyp); lpexg->lpalmTypes = BuildALM (FALSE, btAlign, pTypes, lpdssCur->cb - ibType, cbAlignType); if (lpexg->lpalmTypes == NULL) { return sheOutOfMemory; } lpexg->rgitd = rgitd; lpexg->citd = cType; return sheNone; } // OLLoadSym - load symbol information // // error = OLLoadSym (pMod) // // Entry lpexg - Pointer to exg structure to use. // // Returns sheNone if symbols loaded SHE OLLoadSym( LPEXG lpexg ) { // UNDONE: If we run into problems with a stale VC, we'll have to // revert to reading the file on demand. The expectation is that the // mapped I/O code will just work. // lpexg->rgMod[lpdssCur->iMod].symbols = NULL; if (lpexg->pwti) { // we be converting 16-bit symbols to 32-bit versions. SHE sheRet = sheOutOfMemory; WidenTi * pwti = lpexg->pwti; PMDS pmod = &lpexg->rgMod[lpdssCur->iMod]; SymConvertInfo & sci = pmod->sci; PB pbSyms = lpexg->lpbData + lpdssCur->lfo; CB cbSyms = lpdssCur->cb; // Remember the signature! if (pwti->fQuerySymConvertInfo (sci, pbSyms, cbSyms, sizeof ULONG)) { sci.pbSyms = PB(MHAlloc (sci.cbSyms)); sci.rgOffMap = POffMap(MHAlloc (sci.cSyms * sizeof OffMap)); if (sci.pbSyms && sci.rgOffMap) { memset (sci.pbSyms, 0, sci.cbSyms); memset (sci.rgOffMap, 0, sci.cSyms * sizeof OffMap); if (pwti->fConvertSymbolBlock (sci, pbSyms, cbSyms, sizeof ULONG) ) { pmod->symbols = sci.pbSyms; *(ULONG*)pmod->symbols = CV_SIGNATURE_C11; pmod->cbSymbols = sci.cbSyms; // REVIEW: What about pmod->ulsym? how is it used? sheRet = sheNone; } else { sheRet = sheCorruptOmf; } } } return sheRet; } else { lpexg->rgMod[lpdssCur->iMod].symbols = lpexg->lpbData + lpdssCur->lfo; lpexg->rgMod[lpdssCur->iMod].cbSymbols = lpdssCur->cb; lpexg->rgMod[lpdssCur->iMod].ulsym = lpdssCur->lfo; return sheNone; } } __inline SHE OLLoadSrc( LPEXG lpexg ) { lpexg->rgMod[lpdssCur->iMod].hst = (HST) (lpexg->lpbData + lpdssCur->lfo); return sheNone; } __inline SHE OLGlobalPubs( LPEXG lpexg ) { SHE she = sheNone; if (!OLLoadHashSubSec (&lpexg->gstPublics, lpexg->lpbData + lpdssCur->lfo, lpexg->pwti)) { she = sheOutOfMemory; } return she; } __inline SHE OLGlobalSym( LPEXG lpexg ) { SHE she = sheNone; if (!OLLoadHashSubSec (&lpexg->gstGlobals, lpexg->lpbData + lpdssCur->lfo, lpexg->pwti)) { she = sheOutOfMemory; } return she; } SHE OLLoadSegMap( LPEXG lpexg ) { LPB lpb; SHE sheRet = sheNone; if(lpexg->pdbi) { CB cb; // load from the pdb if(!DBIQuerySecMap(lpexg->pdbi, NULL, &cb) || !(lpb = (LPB) MHAlloc (cb))) { sheRet = sheOutOfMemory; } else if(!DBIQuerySecMap(lpexg->pdbi, lpb, &cb)) { MHFree(lpb); lpb = NULL; sheRet = sheOutOfMemory; } } else { lpb = lpexg->lpbData + lpdssCur->lfo; } lpexg->lpgsi = lpb; return sheRet; } SHE OLLoadNameIndex( LPEXG lpexg ) { OMFFileIndex * lpefi; WORD cmod = 0; WORD cfile = 0; CB cb; if(lpexg->pdbi) { if(!DBIQueryFileInfo(lpexg->pdbi, 0, &cb)) { return sheNoSymbols; } else if(!(lpefi = (OMFFileIndex *) MHAlloc(cb))) { return sheOutOfMemory; } else if(!DBIQueryFileInfo(lpexg->pdbi, (PB)lpefi, &cb)) { MHFree(lpefi); return sheNoSymbols; } } else { lpefi = (OMFFileIndex *)(lpexg->lpbData + lpdssCur->lfo); cb = (CB)lpdssCur->cb; } cmod = lpefi->cmodules; // Make sure we found as many sstModule entries as we should have. assert(cmod == lpexg->cMod); // lpexg->cmod = cmod; cfile = lpefi->cfilerefs; lpexg->lpefi = (LPB) lpefi; lpexg->rgiulFile = lpefi->modulelist; lpexg->rgculFile = &lpefi->modulelist [cmod]; lpexg->rgichFile = (LPUL) &lpefi->modulelist [cmod * 2]; lpexg->lpchFileNames = (LPCH) &lpefi->modulelist [cmod * 2 + cfile * 2]; lpexg->cbFileNames = (ULONG)(cb - ((LPB)lpexg->lpchFileNames - (LPB)lpefi + 1)); return sheNone; } SHE OLStaticSym( LPEXG lpexg ) { SHE she = sheNone; if (!OLLoadHashSubSec (&lpexg->gstStatics, lpexg->lpbData + lpdssCur->lfo, lpexg->pwti)) { she = sheOutOfMemory; } return she; } const SHE mpECToShe[] = { sheNone, // EC_OK sheNoSymbols, // EC_USAGE (invalid parameter of call order) sheOutOfMemory, // EC_OUT_OF_MEMORY (-, out of RAM) sheNoSymbols, // EC_FILE_SYSTEM (pdb name, can't write file, out of disk, etc) shePdbNotFound, // EC_NOT_FOUND (PDB file not found) shePdbBadSig, // EC_INVALID_SIG (PDB::OpenValidate() and its clients only) shePdbInvalidAge, // EC_INVALID_AGE (PDB::OpenValidate() and its clients only) sheNoSymbols, // EC_PRECOMP_REQUIRED (obj name, Mod::AddTypes only) sheNoSymbols, // EC_OUT_OF_TI (pdb name, TPI::QueryTiForCVRecord() only) sheNoSymbols, // EC_NOT_IMPLEMENTED sheNoSymbols, // EC_V1_PDB (pdb name, PDB::Open() only) shePdbOldFormat, // EC_FORMAT (accessing pdb with obsolete format) sheNoSymbols, // EC_LIMIT, sheNoSymbols, // EC_CORRUPT, // cv info corrupt, recompile mod sheNoSymbols, // EC_TI16, // no 16-bit type interface present sheNoSymbols, // EC_ACCESS_DENIED, // "pdb name", PDB file read-only }; // Get the name of the pdb file (OMF name) for the specified exe. If the // LoadPdb hasn't been called on this exe OR it's not NB10, this will return // an empty string! Note: There will only be an lszPdbName if there was // an error loading the pdb VOID LOADDS SHPdbNameFromExe( LSZ lszExe, LSZ lszPdbName, UINT cbMax ) { HEXE hexe; // Zero out the destination memset(lszPdbName, 0, cbMax); // Look up the exe if (hexe = SHGethExeFromName(lszExe)) { HEXG hexg = ((LPEXE)LLLock(hexe))->hexg; LPEXG lpexg = (LPEXG)LLLock(hexg); // Only copy if there's a pdbname if (lpexg->lszPdbName) { _tcsncpy(lszPdbName, lpexg->lszPdbName, cbMax); } // Clean up LLUnlock(hexg); LLUnlock(hexe); } } BOOL GetDefaultKeyName( LPCTSTR KeySuffix, LPTSTR KeyBuffer, DWORD nLength ) { DWORD lnLength = nLength; if (!GetRegistryRoot (KeyBuffer, &lnLength)) return FALSE; if (KeyBuffer [lnLength - 1] != '\\') { KeyBuffer [lnLength++] = '\\'; KeyBuffer [lnLength] = '\000'; } assert (*KeySuffix != '\\'); _tcscpy (&KeyBuffer [lnLength], KeySuffix); return TRUE; } PDB * LocatePdb( char *szPDB, ULONG PdbAge, ULONG PdbSignature, char *SymbolPath, char *szImageExt, BOOL fValidatePdb ) /*++ Description: Arguments: fValidatePdb - TRUE - call PDBOpenValidate FALSE - call PDBOpen --*/ { PDB *pdb = NULL; EC ec; char szError[cbErrMax] = ""; char szPDBSansPath[_MAX_FNAME]; char szPDBExt[_MAX_EXT]; char szPDBLocal[_MAX_PATH]; char *SemiColon; BOOL fPass1; BOOL symsrv = TRUE; char szPDBName[_MAX_PATH]; // SymbolPath is a semicolon delimited path (reference path first) strcpy (szPDBLocal, szPDB); _splitpath(szPDBLocal, NULL, NULL, szPDBSansPath, szPDBExt); do { SemiColon = strchr(SymbolPath, ';'); if (SemiColon) { *SemiColon = '\0'; } fPass1 = TRUE; if (SymbolPath) { do_again: if (!_strnicmp(SymbolPath, "SYMSRV*", 7)) { *szPDBLocal = 0; sprintf(szPDBName, "%s%s", szPDBSansPath, ".pdb"); if (symsrv) { GetSymbolFileFromServer(SymbolPath, szPDBName, PdbSignature, PdbAge, 0, szPDBLocal); symsrv = FALSE; } } else { ExpandEnvironmentStringsA(SymbolPath, szPDBLocal, sizeof(szPDBLocal)); strcat(szPDBLocal, "\\"); if (fPass1) { strcat(szPDBLocal, szImageExt); strcat(szPDBLocal, "\\"); } strcat(szPDBLocal, szPDBSansPath); strcat(szPDBLocal, szPDBExt); } if (fValidatePdb) { PDBOpenValidate(szPDBLocal, NULL, "r", PdbSignature, PdbAge, &ec, szError, &pdb ); } else { PDBOpen(szPDBLocal, "r", PdbSignature, &ec, szError, &pdb ); } // UNDONE: Add DEBUG Diagnostics if (pdb) { break; } else { if (fPass1) { fPass1=FALSE; goto do_again; } } } if (SemiColon) { *SemiColon = ';'; SemiColon++; symsrv = TRUE; } SymbolPath = SemiColon; } while (SemiColon); if (!pdb) { strcpy(szPDBLocal, szPDB); if (fValidatePdb) { PDBOpenValidate(szPDBLocal, NULL, "r", PdbSignature, PdbAge, &ec, szError, &pdb ); } else { PDBOpen(szPDBLocal, "r", PdbSignature, &ec, szError, &pdb ); } // UNDONE: Add DEBUG Diagnostics } if (pdb) { // Store the name of the PDB we actually opened for later reference. strcpy(szPDB, szPDBLocal); } return pdb; } SHE LoadPdb( LPEXG lpexg, PDB_INFO *ppdb, UOFFSET ImageBase, BOOL fValidatePdb ) /*++ Description: Arguments: fValidatePdb - TRUE - Open and validate the PDB using the images age and signature FALSE - Just open the PDB --*/ { EC ec; char szRefPath[_MAX_PATH]; char szImageExt[_MAX_PATH]; char szPDBOut[cbErrMax]; ULONG cbRet; assert(lpexg); // figure out the home directory of the EXE/DLL or DBG file - pass that along to // OpenValidate this will direct to dbi to search for it in that directory. _fullpath(szRefPath, lpexg->lszDebug ? lpexg->lszDebug : lpexg->lszName, _MAX_PATH); char *pcEndOfPath = _tcsrchr(szRefPath, '\\'); *pcEndOfPath = '\0'; // null terminate it *szPDBOut = '\0'; _splitpath(lpexg->lszName, NULL, NULL, NULL, szImageExt); if (!SYGetProfileString(szPdbDirs, szSearchPath, sizeof(szSearchPath), &cbRet)) { szSearchPath[0] = 0; } PCHAR pszPdbSearchPath = (PCHAR)MHAlloc(strlen(szRefPath) + strlen(szSearchPath) + 2); if (!pszPdbSearchPath) { return sheOutOfMemory; } strcpy(pszPdbSearchPath, szRefPath); strcat(pszPdbSearchPath, ";"); strcat(pszPdbSearchPath, szSearchPath); lpexg->ppdb = LocatePdb(ppdb->sz, ppdb->age, ppdb->sig, pszPdbSearchPath, &szImageExt[1], fValidatePdb ); if (!lpexg->ppdb) { return sheNoSymbols; } MHFree(pszPdbSearchPath); // Store the name of the pdb in lszDebug. char *szPdb = PDBQueryPDBName(lpexg->ppdb, (char *)szPDBOut); assert(szPdb); // Save the name of the PDB if (lpexg->lszDebug) { MHFree(lpexg->lszDebug); lpexg->lszDebug = 0; } if (!(lpexg->lszDebug = (LSZ)MHAlloc(_tcslen(szPDBOut) + 1))) { return sheOutOfMemory; } _tcscpy(lpexg->lszDebug, szPDBOut); if (!PDBOpenTpi(lpexg->ppdb, pdbRead, &(lpexg->ptpi))) { ec = PDBQueryLastError(lpexg->ppdb, NULL); return mpECToShe[ec]; } if (!PDBOpenDBIEx(lpexg->ppdb, pdbRead, lpexg->lszName, &(lpexg->pdbi), pSYFindDebugInfoFile)) { ec = PDBQueryLastError(lpexg->ppdb, NULL); return mpECToShe[ ec ]; } if (!STABOpen(&(lpexg->pstabUDTSym))) return sheOutOfMemory; // Read in the omap. int DebugCount; void *DebugData; Dbg *pDbg; if (DBIOpenDbg(lpexg->pdbi, dbgtypeOmapFromSrc, &pDbg)) { DebugCount = DbgQuerySize(pDbg); if (DebugCount) { DebugData = MHAlloc( DebugCount * sizeof(OMAP) ); if (!DebugData) return sheOutOfMemory; if (DbgQueryNext((Dbg *) pDbg, DebugCount, DebugData)) { lpexg->debugData.lpOmapFrom = (LPOMAP) DebugData; lpexg->debugData.cOmapFrom = DebugCount; } } DbgClose(pDbg); } if (DBIOpenDbg(lpexg->pdbi, dbgtypeOmapToSrc, &pDbg)) { DebugCount = DbgQuerySize(pDbg); if (DebugCount) { DebugData = MHAlloc( DebugCount * sizeof(OMAP) ); if (!DebugData) return sheOutOfMemory; if (DbgQueryNext((Dbg *) pDbg, DebugCount, DebugData)) { lpexg->debugData.lpOmapTo = (LPOMAP)DebugData; lpexg->debugData.cOmapTo = DebugCount; } } DbgClose(pDbg); } // Read in the fpo (if it exists) if (!lpexg->debugData.lpFpo) { if (DBIOpenDbg(lpexg->pdbi, dbgtypeFPO, &pDbg)) { DebugCount = DbgQuerySize(pDbg); if (DebugCount) { DebugData = MHAlloc( DebugCount * sizeof(FPO_DATA) ); if (!DebugData) return sheOutOfMemory; if (DbgQueryNext((Dbg *) pDbg, DebugCount, DebugData)) { lpexg->debugData.lpFpo = (PFPO_DATA)DebugData; lpexg->debugData.cRtf = DebugCount; } } DbgClose(pDbg); } } if (!lpexg->debugData.lpRtf) { if (DBIOpenDbg(lpexg->pdbi, dbgtypeException, &pDbg)) { DebugCount = DbgQuerySize(pDbg); if (DebugCount) { DWORD dwSizRTFEntry; switch (lpexg->machine) { case IMAGE_FILE_MACHINE_ALPHA: dwSizRTFEntry = sizeof(IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY); break; case IMAGE_FILE_MACHINE_ALPHA64: dwSizRTFEntry = sizeof(IMAGE_AXP64_RUNTIME_FUNCTION_ENTRY); break; case IMAGE_FILE_MACHINE_IA64: dwSizRTFEntry = sizeof(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY); break; default: assert(!"Unsupported platform"); break; } DebugData = MHAlloc( DebugCount * dwSizRTFEntry); if (!DebugData) return sheOutOfMemory; if (DbgQueryNext((Dbg *) pDbg, DebugCount, DebugData)) { lpexg->debugData.lpRtf = CreateRuntimeFunctionTable(DebugData, DebugCount, ImageBase, dwSizRTFEntry); lpexg->debugData.cRtf = DebugCount; } MHFree(DebugData); } DbgClose(pDbg); } } return sheNone; } // Routine Description: // // This routine is used to validate that the debug information // in a file matches the debug information requested // // Arguments: // // hFile - Supplies the file handle to be validated // lpv - Supplies a pointer to the information to used in vaidation // // Return Value: // // TRUE if matches and FALSE otherwise SHE OLValidate( HANDLE hFile, PVLDCHK pVldChk ) { IMAGE_DOS_HEADER exeHdr; IMAGE_NT_HEADERS peHdr; int fPeExe = FALSE; int fPeDbg = FALSE; // Read in a dos exe header if ((SYSeek(hFile, 0, SEEK_SET) != 0) || (SYReadFar( hFile, (LPB) &exeHdr, sizeof(exeHdr)) != sizeof(exeHdr))) { return sheNoSymbols; } // See if it is a dos exe hdr if (exeHdr.e_magic == IMAGE_DOS_SIGNATURE) { if ((SYSeek(hFile, exeHdr.e_lfanew, SEEK_SET) == exeHdr.e_lfanew) && (SYReadFar(hFile, (LPB) &peHdr, sizeof(peHdr)) == sizeof(peHdr))) { if (peHdr.Signature == IMAGE_NT_SIGNATURE) { fPeExe = TRUE; } } } else if (exeHdr.e_magic == IMAGE_SEPARATE_DEBUG_SIGNATURE) { fPeDbg = TRUE; } if (fPeExe) { if (pVldChk->ImgTimeDateStamp == 0) { // If the timestamp has not been initialized do so now. pVldChk->ImgTimeDateStamp = peHdr.FileHeader.TimeDateStamp; } if (peHdr.FileHeader.Characteristics & IMAGE_FILE_DEBUG_STRIPPED) { return sheNoSymbols; } if (pVldChk->ImgTimeDateStamp == 0xffffffff) { pVldChk->SymTimeDateStamp = peHdr.FileHeader.TimeDateStamp; return sheCouldntReadImageHeader; } else if (peHdr.FileHeader.TimeDateStamp != pVldChk->ImgTimeDateStamp) { pVldChk->SymTimeDateStamp = peHdr.FileHeader.TimeDateStamp; return sheBadTimeStamp; } } else if (fPeDbg) { IMAGE_SEPARATE_DEBUG_HEADER sepHdr; if ((SYSeek(hFile, 0, SEEK_SET) != 0) || (SYReadFar(hFile, (LPB) &sepHdr, sizeof(sepHdr)) != sizeof(sepHdr))) { return sheNoSymbols; } pVldChk->SymTimeDateStamp = sepHdr.TimeDateStamp; pVldChk->SymCheckSum = sepHdr.CheckSum; if (pVldChk->ImgTimeDateStamp == 0xffffffff && pVldChk->ImgCheckSum == 0xffffffff) { // // The timestamp is frequently unavailable, so don't return an error unless // both the timestamp and checksum are unavailable. // return sheCouldntReadImageHeader; } if (pVldChk->ImgTimeDateStamp != 0xffffffff && sepHdr.TimeDateStamp != pVldChk->ImgTimeDateStamp) { return sheBadTimeStamp; } if (pVldChk->ImgCheckSum != 0xffffffff && sepHdr.CheckSum != pVldChk->ImgCheckSum) { return sheBadChecksum; } } else { // // When debugging a ROM image, this hack will find what we are // looking for. It doesn't validate correctly, so don't be // surprised if we get in trouble when the symbols aren't good. // char rgch[4]; if ((SYSeek(hFile, -8, SEEK_END) == -1) || (SYReadFar(hFile, (LPB)rgch, sizeof(rgch)) != sizeof(rgch))) { return sheNoSymbols; } if ((rgch[0] != 'N') || (rgch[1] != 'B')) { return sheNoSymbols; } } return sheNone; } BOOL OLUnloadOmf( LPEXG lpexg ) { ULONG i; // Cleanup the Module table; for (i = 0; i < lpexg->cMod; i++) { KillMdsNode(&lpexg->rgMod[i]); } if (lpexg->rgMod) { MHFree(lpexg->rgMod); lpexg->rgMod = NULL; lpexg->cMod = 0; } // module map info if (lpexg->lpsgd) { MHFree(lpexg->lpsgd); lpexg->lpsgd = NULL; lpexg->csgd = 0; } // if (lpexg->lpsge) { MHFree(lpexg->lpsge); lpexg->lpsge = NULL; } if (lpexg->lpbData) { // Depending on how we got the data, free it. if (lpexg->pvSymMappedBase) { // Mapped view of file. UnmapViewOfFile(lpexg->pvSymMappedBase); lpexg->pvSymMappedBase = NULL; } else { if (lpexg->fSymConverted) { // Converted from coff/sym file LocalFree(lpexg->lpbData); } else { // Read the blob in from disk MHFree(lpexg->lpbData); } } lpexg->lpbData = NULL; } // OSDebug 4 FPO info if (lpexg->debugData.lpRtf) { MHFree(lpexg->debugData.lpRtf); lpexg->debugData.lpRtf = NULL; } if (lpexg->debugData.lpOmapFrom) { MHFree(lpexg->debugData.lpOmapFrom); lpexg->debugData.lpOmapFrom = NULL; } if (lpexg->debugData.lpOmapTo) { MHFree(lpexg->debugData.lpOmapTo); lpexg->debugData.lpOmapTo = NULL; } if (lpexg->debugData.lpSecStart) { MHFree(lpexg->debugData.lpSecStart); lpexg->debugData.lpSecStart = NULL; } // Segment map info if (lpexg->lpgsi) { if (lpexg->ppdb) { MHFree (lpexg->lpgsi); } lpexg->lpgsi = NULL; } // Source Module information if (lpexg->lpefi) { if (lpexg->ppdb) { MHFree(lpexg->lpefi); } lpexg->lpefi = NULL; } // Type Info array lpexg->citd = 0; lpexg->rgitd = NULL; // Publics, Globals, and Statics KillGst(&lpexg->gstPublics); KillGst(&lpexg->gstGlobals); KillGst(&lpexg->gstStatics); // If there's PDB info, clean up and close if (lpexg->ppdb) { if (lpexg->pgsiPubs) { if (!GSIClose(lpexg->pgsiPubs)) { assert(FALSE); } lpexg->pgsiPubs = 0; } if (lpexg->pgsiGlobs) { if (!GSIClose(lpexg->pgsiGlobs)) { assert(FALSE); } lpexg->pgsiGlobs = 0; } if (lpexg->pdbi) { if (!DBIClose(lpexg->pdbi)) { assert(FALSE); } lpexg->pdbi = 0; } if (lpexg->ptpi) { if (!TypesClose(lpexg->ptpi)) { assert(FALSE); } lpexg->ptpi = 0; } if (lpexg->pstabUDTSym) { STABClose(lpexg->pstabUDTSym); lpexg->pstabUDTSym = 0; } if (!PDBClose(lpexg->ppdb)) { assert(FALSE); } lpexg->ppdb = 0; } lpexg->fOmfLoaded = 0; return TRUE; } cassert(offsetof(OffMap,offOld) == 0); int __cdecl sgnCompareOffsFromOffMap( const void * pOff1, const void * pOff2 ) { ULONG off1 = POffMap(pOff1)->offOld; ULONG off2 = POffMap(pOff2)->offOld; if (off1 < off2) return -1; if (off1 > off2) return 1; return 0; } void FixupHash( SymConvertInfo & sci, SHT & sht ) { // for every offset in the hash, we need to fixup the offset which // references the old 16-bit pool with the associated new one for the // new pool of 32-bit types. assert(sht.HashIndex); assert(sci.cSyms); assert(sci.rgOffMap); unsigned iBucketMax = sht.ccib; for (unsigned iBucket = 0; iBucket < iBucketMax; iBucket++) { unsigned offChain = sht.rgib[iBucket]; unsigned iulpMax = sht.rgcib[iBucket]; for (unsigned iulp = 0; iulp < iulpMax; iulp++, offChain += sizeof ULP ) { LPULP pulp = LPULP(LpvFromAlmLfo(sht.lpalm, offChain)); POffMap poffmap = POffMap( bsearch( &pulp->ib, sci.rgOffMap, sci.cSyms, sizeof OffMap, sgnCompareOffsFromOffMap ) ); // we should always find it //assert(poffmap); if (poffmap) { pulp->ib = poffmap->offNew; } } } } // // this routine will do all the post processing for the inter-relationships // that exist between the module symbols and the global syms. The global // syms include procref and dataref records that include offsets into the // module symbols. We have to fix up those offsets to refer to the new // offsets. Each of these mappings is stored in the MDS structure and can // be released after this operation. // // the hash offsets for the globals, publics, and statics are also fixed up here // void FixupGst( LPEXG pexg, GST & gst, BOOL fFixupRefSyms ) { assert(pexg->pwti); if (!gst.lpalm) return; // first off, we check to see if we need to and can fixup the refsyms // that may be present. if (fFixupRefSyms) { for ( SYMPTR psym = SYMPTR(gst.lpalm->pbData); psym; psym = GetNextSym(psym, gst.lpalm) ) { unsigned rectyp = psym->rectyp; if (rectyp == S_PROCREF || rectyp == S_LPROCREF || rectyp == S_DATAREF) { // fix up the ibSym from the module's array of offset mappings REFSYM & refsym = *(REFSYM *)psym; SymConvertInfo & sci = pexg->rgMod[refsym.imod].sci; POffMap poffmap = POffMap( bsearch( &refsym.ibSym, sci.rgOffMap, sci.cSyms, sizeof OffMap, sgnCompareOffsFromOffMap ) ); // we should always find it. assert(poffmap); if (poffmap) { refsym.ibSym = poffmap->offNew; } } } } // next, we check our hash tables and fix up all of the offsets there. if (gst.shtName.HashIndex) { // fixup name hash FixupHash(gst.sci, gst.shtName); } if (gst.shtAddr.HashIndex) { // fixup address hash FixupHash(gst.sci, gst.shtAddr); } } SHE SheFixupConvertedSyms( LPEXG pexg ) { // for each of the symbol blocks, iterate over all symbols, // and if they are REFSYMs of some sort, we go to the appropriate // module's sci.rgoffmap to find what new offset we need to plug into // the REFSYM.ibSym field. FixupGst(pexg, pexg->gstGlobals, TRUE); FixupGst(pexg, pexg->gstStatics, TRUE); FixupGst(pexg, pexg->gstPublics, FALSE); // we can safely get rid of all of our offmap buffers. // first, the module ones. unsigned imod = 0; unsigned imodMax = pexg->cMod; while (imod < imodMax) { MDS & mds = pexg->rgMod[imod]; if (mds.sci.rgOffMap) { MHFree(mds.sci.rgOffMap); mds.sci.rgOffMap = 0; } imod++; } // now, the gst versions if (pexg->gstGlobals.sci.rgOffMap) { MHFree(pexg->gstGlobals.sci.rgOffMap); pexg->gstGlobals.sci.rgOffMap = 0; } if (pexg->gstStatics.sci.rgOffMap) { MHFree(pexg->gstStatics.sci.rgOffMap); pexg->gstStatics.sci.rgOffMap = 0; } if (pexg->gstPublics.sci.rgOffMap) { MHFree(pexg->gstPublics.sci.rgOffMap); pexg->gstPublics.sci.rgOffMap = 0; } return sheNone; } void ConvertGlobal16bitSyms( WidenTi * pwti, LPGST pgst, PB pbSymSrc, ULONG cbSymSrc ) { SymConvertInfo & sci = pgst->sci; memset ( &sci, 0, sizeof sci ); if (pwti->fQuerySymConvertInfo(sci, pbSymSrc, cbSymSrc)) { // allocate the needed memory sci.pbSyms = PB(MHAlloc(sci.cbSyms)); sci.rgOffMap = POffMap(MHAlloc(sci.cSyms * sizeof OffMap)); if (sci.pbSyms && sci.rgOffMap) { memset(sci.pbSyms, 0, sci.cbSyms); memset(sci.rgOffMap, 0, sci.cSyms * sizeof OffMap); if (pwti->fConvertSymbolBlock(sci, pbSymSrc, cbSymSrc)) { // all cool, set up the ALM. pgst->lpalm = BuildALM( FALSE, 0, sci.pbSyms, sci.cbSyms, cbAlign); } } } } //// LazyLoader // // Description: // This routine is used to do lazy loads and unloads of debug // information. DWORD LazyLoader( LPVOID ) { BOOL fNoChanges; FILETIME ftNow; LONGLONG llNow; HEXG hexg; LPEXG pexg; // // We loop forever until told to die // for (; TRUE; ) { // // Wait for someone to tell us that we some work to do, or // a suffient amount of time has passed that we should go // out and check for defered unloads // // Current time out on lazy unloads is 10 minutes // if (WaitForSingleObject(HevntLazyLoad, 1000*60*10) == WAIT_OBJECT_0) { // // If we have been told to die -- die // if (FKillLazyLoad) { break; } // // We were just told that a dll has been loaded and we should // check symbols -- wait for a minute just incase the symbols // are immeadiately demand loaded // Sleep(10*1000); } // // Walk the entire list of exe's looking for modules to be loaded // and modules to be unloaded. // GetSystemTimeAsFileTime(&ftNow); memcpy(&llNow, &ftNow, sizeof(LONGLONG)); do { hexg = LLFind(HlliExgExe, 0, &llNow, 2); if (hexg != NULL) { pexg = (LPEXG) LLLock(hexg); // // Check for defer load modules // if (pexg->fOmfDefered) { LLUnlock(hexg); LoadSymbols(hexg, TRUE); } // // Check for defered unload of symbols else if (pexg->llUnload != 0) { LLUnlock(hexg); LLDelete(HlliExgExe, hexg); } } } while (hexg != NULL); } return 1; } BOOL StartLazyLoader( void ) { // // Setup the items used for lazy load of symbols // InitializeCriticalSection(&CsExeModify); HevntLazyLoad = CreateEvent(NULL, FALSE, FALSE, NULL); //HthdLazyLoad = CreateThread(NULL, 0, LazyLoader, NULL, 0, NULL); // SetThreadPriority(HthdLazyLoad, THREAD_PRIORITY_IDLE); return TRUE; } VOID StopLazyLoader( void ) { // // Tell the lazy loader it is suppose to die and then start the thread // going again // FKillLazyLoad = TRUE; SetEvent(HevntLazyLoad); // // Wait for the lazy loaded to die // //WaitForSingleObject(HthdLazyLoad, INFINITE); // // Close and zero the handles // CloseHandle(HevntLazyLoad); HevntLazyLoad = NULL; //CloseHandle(HthdLazyLoad); HthdLazyLoad = NULL; DeleteCriticalSection(&CsExeModify); return; }
[ "ykorokhov@pace.ca" ]
ykorokhov@pace.ca
f6b6686d2c83028ce58b552d68cb49f21ff86351
ade5804defd9d406953b3b8fc8408e49df89e915
/Code/sampledivision10407.cpp
f55bada8b81bc07991679b598459bd7d331028d0
[]
no_license
SantiCe/ProgrammingPractice
f0f0cf66cb025979b3f7ad1a0d6b4f8e7b1dc274
eb439cc17bcfbadcf40a2bb13855dcf86efe44a3
refs/heads/master
2016-09-05T15:24:27.495132
2015-11-26T19:54:47
2015-11-26T19:54:47
42,137,716
0
0
null
null
null
null
UTF-8
C++
false
false
517
cpp
#include<bits/stdc++.h> using namespace std; int n,m,mcd; bool i; int gcd ( int a, int b ) { if ( a==0 ) return b; return gcd ( b%a, a ); } int main(){ cin >> n; while(n != 0){ i = true; cin >> m; while( m != 0){ if(i) { mcd = abs(n-m); i = false; } else{ mcd = gcd(mcd,abs(n-m)); } cin >> m; } cout << mcd << endl; cin >> n; } }
[ "santiago.ceron.uribe@gmail.com" ]
santiago.ceron.uribe@gmail.com
d889058c95fda912da9b86906b576067144066d5
052a6f91f17570566312880b85b9e18a57edde63
/include/AD/sort/bubble.h
a65e501a9884397379f95ad03571d0bae189ad81
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
zjhmale/prop
749b606675e37e4e47aba8ebe2111faf4c418d34
a24efadede84821353cb7de6626a0bd437800125
refs/heads/master
2020-09-08T15:04:34.737510
2009-01-01T20:35:59
2009-01-01T20:35:59
221,167,123
1
0
null
null
null
null
UTF-8
C++
false
false
2,426
h
////////////////////////////////////////////////////////////////////////////// // NOTICE: // // ADLib, Prop and their related set of tools and documentation are in the // public domain. The author(s) of this software reserve no copyrights on // the source code and any code generated using the tools. You are encouraged // to use ADLib and Prop to develop software, in both academic and commercial // settings, and are free to incorporate any part of ADLib and Prop into // your programs. // // Although you are under no obligation to do so, we strongly recommend that // you give away all software developed using our tools. // // We also ask that credit be given to us when ADLib and/or Prop are used in // your programs, and that this notice be preserved intact in all the source // code. // // This software is still under development and we welcome any suggestions // and help from the users. // // Allen Leung // 1994 ////////////////////////////////////////////////////////////////////////////// #ifndef bubble_sort_h #define bubble_sort_h #include <AD/sort/sorting.h> // // Lazy bubble sort, for those who don't care for anything better. // // e.g.: bubbleSort(char *, names, 100, strcmp(names[i], names[i+1]) < 0); // ///////////////////////////////////////////////////////////////////////////// // Macro version ///////////////////////////////////////////////////////////////////////////// #define bubbleSort(TYPE,A,N,predicate) \ do { \ for (register int j = (N) - 1; j >= 0; j--) { \ for (register int i = 0; i < j; i++) { \ if (! (predicate)) { \ register TYPE temp = A[i]; \ A[i] = A[i+1]; A[i+1] = temp; \ } \ } \ } \ } while(0) ///////////////////////////////////////////////////////////////////////////// // Template version ///////////////////////////////////////////////////////////////////////////// template <class T, class Ord> class BubbleSort : public Sorting<T,Ord> { public: void sort(int, T []); }; template <class T, class Ord> void BubbleSort<T,Ord>::sort(int N, T array[]) { bubbleSort(T, array, N, Ord::less(array[i], array[i+1])); } #endif
[ "ygrek@autistici.org" ]
ygrek@autistici.org
e3d2fb2c98025af6b094242b11e9795ee556e3ec
f0ebd816955d0c3fb584368ff9bb67517e1f0f55
/src/qt/optionsmodel.h
7ad94cf506b21e3feb9b2d51ec8d80ca51557cec
[ "MIT" ]
permissive
yeahitsme2/LGCMN
6fa0c59aab4b63121049f6243ff5dbbbe8177967
cfc7f0db34389abec0ad9a6e9c86148577f4eeca
refs/heads/master
2021-01-02T00:43:47.800683
2019-04-22T16:15:14
2019-04-22T16:15:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,693
h
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2018 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_OPTIONSMODEL_H #define BITCOIN_QT_OPTIONSMODEL_H #include "amount.h" #include <QAbstractListModel> QT_BEGIN_NAMESPACE class QNetworkProxy; QT_END_NAMESPACE /** Interface from Qt to configuration data structure for Bitcoin client. To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree once the settings become sufficiently complex. */ class OptionsModel : public QAbstractListModel { Q_OBJECT public: explicit OptionsModel(QObject* parent = 0); enum OptionID { StartAtStartup, // bool MinimizeToTray, // bool MapPortUPnP, // bool MinimizeOnClose, // bool ProxyUse, // bool ProxyIP, // QString ProxyPort, // int DisplayUnit, // BitcoinUnits::Unit ThirdPartyTxUrls, // QString Digits, // QString Theme, // QString Language, // QString CoinControlFeatures, // bool ThreadsScriptVerif, // int DatabaseCache, // int SpendZeroConfChange, // bool ZeromintEnable, // bool ZeromintPercentage, // int ZeromintPrefDenom, // int HideZeroBalances, // bool AnonymizeLiteGoldCoinMNAmount, //int ShowMasternodesTab, // bool Listen, // bool StakeSplitThreshold, // int OptionIDRowCount, }; void Init(); void Reset(); int rowCount(const QModelIndex& parent = QModelIndex()) const; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); /** Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal */ void setDisplayUnit(const QVariant& value); /* Update StakeSplitThreshold's value in wallet */ void setStakeSplitThreshold(int value); /* Explicit getters */ bool getMinimizeToTray() { return fMinimizeToTray; } bool getMinimizeOnClose() { return fMinimizeOnClose; } int getDisplayUnit() { return nDisplayUnit; } QString getThirdPartyTxUrls() { return strThirdPartyTxUrls; } bool getProxySettings(QNetworkProxy& proxy) const; bool getCoinControlFeatures() { return fCoinControlFeatures; } const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; } /* Restart flag helper */ void setRestartRequired(bool fRequired); bool isRestartRequired(); bool resetSettings; private: /* Qt-only settings */ bool fMinimizeToTray; bool fMinimizeOnClose; QString language; int nDisplayUnit; QString strThirdPartyTxUrls; bool fCoinControlFeatures; bool fHideZeroBalances; /* settings that were overriden by command-line */ QString strOverriddenByCommandLine; /// Add option to list of GUI options overridden through command line/config file void addOverriddenOption(const std::string& option); signals: void displayUnitChanged(int unit); void zeromintEnableChanged(bool); void zeromintPercentageChanged(int); void preferredDenomChanged(int); void anonymizeLiteGoldCoinMNAmountChanged(int); void coinControlFeaturesChanged(bool); void hideZeroBalancesChanged(bool); }; #endif // BITCOIN_QT_OPTIONSMODEL_H
[ "root@vmi246353.contaboserver.net" ]
root@vmi246353.contaboserver.net
dc9b4ace462e83ca61490e3681dbdda4b729c251
82dd80d94530e4cbce8fb11eeb114f8d54aebe0c
/Artifical_intelligence/A1/Matrix.cpp
61e70e5d914e98ff6cc457fe635904a301d166dd
[ "MIT" ]
permissive
jiwidi/KTH-Erasmus
2a23455ceb4d7eee89f787af0e7ba7a0c806bee1
a32908fcd6d0229b649e6498695f05acf095dd77
refs/heads/master
2021-03-24T12:12:28.921886
2018-09-20T08:57:00
2018-09-20T08:57:00
101,639,586
0
0
null
null
null
null
UTF-8
C++
false
false
2,948
cpp
#include <iostream> #include <vector> using namespace std; class Matrix{ vector <vector<double> > matrix; int n, m; public: Matrix(const int n, const int m){ this->n = n; this->m = m; vector<double> v(m,0); for (int i=0; i<n; i++){ matrix.push_back(v); } } Matrix(const int n, const int m, const double x){ this->n = n; this->m = m; vector<double> v(m,x); for (int i=0; i<n; i++){ matrix.push_back(v); for(int j=0; j<m; j++){ matrix[i].push_back(x); } } } ~Matrix(){ for (int i=0; i<n; i++){ matrix[i].clear(); } matrix.clear(); } int getn() const{ return n; } int getm() const{ return m; } double getelement(const int i, const int j) const{ return matrix[i][j]; } vector<double> getvector (const int i) const{ return matrix[i]; } void addelement (const double a, const int i, const int j){ matrix[i][j] = a; } void addvector (const vector<double>& v, const int i){ matrix[i] = v; } void print() const{ cout << n << " " << m; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ cout << " " << matrix[i][j]; } } cout << endl; } void identity() { matrix.clear(); for (int i=0; i<n; i++){ vector<double> v(m,0); v[i]=1; matrix.push_back(v); } } Matrix transpose() const{ Matrix trans=Matrix(getm(),getn()); for(int i = 0; i < getn(); ++i) for(int j = 0; j < getm(); ++j) { trans.addelement(matrix[i][j],j,i); } return trans; } void normalize() { for(int i=0; i<n; i++){ double sum = 0; for(int j=0; j<m; j++){ sum = sum + matrix[i][j]; } for(int j=0; j<m; j++){ matrix[i][j] *= 1/sum; } } } vector<double> operator*(const vector<double>& v){ vector<double> resul(m,0); if(m != v.size()){ cerr << "Dimensions are not correct to multiply"; return v; } else{ for (int i=0; i<n; i++){ for (int j=0; j<m; j++){ resul[i] = resul[i] + matrix[i][j] * v[j]; } } } return resul; } Matrix operator*(const Matrix& mat1) { Matrix resul(mat1.getm(),n); Matrix trans = mat1.transpose(); for(int i=0; i<mat1.getm(); i++){ vector<double> v = *this * (trans.getvector(i)); resul.addvector(v,i); } return resul.transpose(); } };
[ "fhjaime96@gmail.com" ]
fhjaime96@gmail.com
755db255e543ae61336c717d5a0fc0c63ca87063
5a77b5092acf817ac37a5fafd006feea434dd0d6
/Doxygen_Graphviz/DesignPatternExample/品味Java的21種設計模式/dp_cpp/observer/example5/Watcher.h
f8919cee07b5bb821cb141de36ee39508ac22d0c
[]
no_license
shihyu/MyTool
dfc94f507b848fb112483a635ef95e6a196c1969
3bfd1667ad86b3db63d82424cb4fa447cbe515af
refs/heads/master
2023-05-27T19:09:10.538570
2023-05-17T15:58:18
2023-05-17T15:58:18
14,722,815
33
21
null
null
null
null
GB18030
C++
false
false
651
h
#pragma once #include "WatcherObserver.h" #include "WaterQualitySubject.h" #include <string> namespace cn { namespace javass { namespace dp { namespace observer { namespace example5 { /// /// <summary> * 具体的观察者实现 </summary> /// class Watcher : public WatcherObserver { /// /// <summary> * 职务 </summary> /// private: std::string job; public: virtual void update(WaterQualitySubject *subject); virtual std::string getJob(); virtual void setJob(std::string job); }; } } } } }
[ "jason_yao@htc.com" ]
jason_yao@htc.com
a5a1481f2b7e2ee74a33ad0297e376171173fdcb
d7b3a44ebaf2db0055895fb8f80479eeae8414f2
/SimplifyPath/main.cc
448df007e96355856fff2396b22c10de8fe4befd
[]
no_license
ypan1988/leetcode
212085e95de5050a23bbb2eb6e902fc0cbea0fd6
4ed77221ab7c19a057eb17b8225bb7d4be2edab6
refs/heads/master
2020-06-18T05:50:22.927109
2020-02-14T20:05:23
2020-02-14T20:05:23
196,185,351
0
0
null
null
null
null
UTF-8
C++
false
false
450
cc
#include <iostream> #include "solution.h" int main() { Solution s; std::cout << s.simplifyPath("/home/") << std::endl; std::cout << s.simplifyPath("/../") << std::endl; std::cout << s.simplifyPath("/home//foo/") << std::endl; std::cout << s.simplifyPath("/a/./b/../../c/") << std::endl; std::cout << s.simplifyPath("/a/../../b/../c//.//") << std::endl; std::cout << s.simplifyPath("/a//b////c/d//././/..") << std::endl; return 0; }
[ "ypan1988@gmail.com" ]
ypan1988@gmail.com
e9e7a90cc4304cc1e012f439ed8828541ea183a1
4e7f01a7cb18fd0f415a69694878da40563ce692
/src/from_class/template/list.h
357d39db46c3ed8d6d45e928403d42a9388ef7d2
[]
no_license
anicanor/CSCI211
f713dc41e1096f501fe6f441ffd286ed32f772a8
fb834419ade0648626c76b487011c9bd23df6b5f
refs/heads/master
2020-03-14T14:59:40.651159
2015-08-27T07:27:12
2015-08-27T07:27:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,638
h
// demonstrate C++ templates by implementing a simple linked-list of integers // Unlike "normal" C++ classes, the entire template (class definitions and // and functions) are placed into a .h file. #ifndef LIST_H #define LIST_H #include <iostream> using namespace std; template <class TYPE> class List { public: List() {m_head = 0;} void insert_front(TYPE value); void insert_rear(TYPE value); void print(); private: class Node { public: Node(TYPE value, Node *next) {m_value = value; m_next = next;} TYPE m_value; Node *m_next; }; Node *m_head; }; // insert at the front of the list template <class TYPE> void List<TYPE>::insert_front(TYPE value) { m_head = new Node(value, m_head); } // insert at rear of the list template <class TYPE> void List<TYPE>::insert_rear(TYPE value) { if (m_head == 0) return insert_front(value); // look for last node in list (there must be one node in list) // the next pointer of the last node == 0 Node *ptr; for (ptr = m_head; ptr->m_next != 0; ptr = ptr->m_next) ; // empty for loop // at this point ptr points to the last element in the list ptr->m_next = new Node(value, 0); } template <class TYPE> void List<TYPE>::print() { cout << "{"; for (Node *ptr = m_head; ptr != 0; ptr = ptr->m_next) { // if this is not the first element, print a ", " if (ptr != m_head) cout << ", "; cout << ptr->m_value; } cout << "}" << endl; // end of list } #endif
[ "jx63king@live.cn" ]
jx63king@live.cn
f6b8b5bea61a85dda4b17f43a941ac85fc30ec46
3b0d1c0c80cbda515ccc08be15b6d6a7277a0db1
/PropellerCompiler/CompileDatBlocks.cpp
0acf0f04e054f65f8548aa347b854cedb6f8d44f
[]
no_license
bweir/OpenSpin
05282bdcd12b3b5b2059d218e7c585ac60d11eda
a251700087f44faa3f2b2ef3e6add8ce95fd107e
refs/heads/master
2021-01-14T14:24:05.669571
2020-08-23T23:48:02
2020-08-23T23:48:02
27,117,328
0
2
null
2020-08-23T23:48:03
2014-11-25T09:03:21
C++
UTF-8
C++
false
false
28,761
cpp
////////////////////////////////////////////////////////////// // // // Propeller Spin/PASM Compiler // // (c)2012 Parallax Inc. DBA Parallax Semiconductor. // // Adapted from Chip Gracey's x86 asm code by Roy Eltham // // See end of file for terms of use. // // // ////////////////////////////////////////////////////////////// // // CompileDatBlocks.cpp // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include "Utilities.h" #include "PropellerCompilerInternal.h" #include "SymbolEngine.h" #include "Elementizer.h" #include "ErrorStrings.h" void CompileDatBlocks_EnterInfo(int datstart, int objstart) { g_pCompilerData->inf_start = datstart; g_pCompilerData->inf_finish = g_pElementizer->GetSourcePtr(); g_pCompilerData->inf_data0 = objstart; g_pCompilerData->inf_data1 = g_pCompilerData->obj_ptr; g_pCompilerData->inf_data2 = 0; g_pCompilerData->inf_data3 = 0; g_pCompilerData->inf_data4 = 0; g_pCompilerData->inf_type = info_dat; EnterInfo(); } void CompileDatBlocks_EnterSymbol(bool bResSymbol, int size) { int value_1 = g_pCompilerData->obj_ptr; int value_2 = g_pCompilerData->cog_org; g_pCompilerData->inf_data0 = value_1; g_pCompilerData->inf_data1 = size; g_pCompilerData->inf_data2 = value_2; g_pCompilerData->inf_data3 = 0; g_pCompilerData->inf_data4 = 0; g_pCompilerData->inf_type = info_dat_symbol; EnterInfo(); g_pSymbolEngine->AddSymbol(g_pCompilerData->symbolBackup, bResSymbol ? type_dat_long_res : (size == 0 ? type_dat_byte : (size == 1 ? type_dat_word : type_dat_long)), value_1, value_2); #ifdef RPE_DEBUG printf("dat: %s %08X %08X (%d)\n", g_pCompilerData->symbolBackup, value_1, value_2, size); #endif } bool CompileDatBlocks_EnterByte(unsigned char value) { if (EnterObj(value)) { if (g_pCompilerData->orgx == 0) { g_pCompilerData->cog_org++; } return true; } return false; } bool CompileDatBlocks_Enter(int value, int count, int size) { int numBytesPer = 1 << size; for (int i = 0; i < count; i++) { if(!CompileDatBlocks_EnterByte(value & 0x000000FF)) { return false; } if (numBytesPer > 1) { if(!CompileDatBlocks_EnterByte((value >> 8) & 0x000000FF)) { return false; } } if (numBytesPer > 2) { if(!CompileDatBlocks_EnterByte((value >> 16) & 0x000000FF)) { return false; } if(!CompileDatBlocks_EnterByte((value >> 24) & 0x000000FF)) { return false; } } } return true; } bool CompileDatBlocks_Advance(bool bSymbol, bool bResSymbol, int size) { int testVal = (1 << size) - 1; for (;;) { if ((g_pCompilerData->obj_ptr & testVal) == 0) { if (bSymbol) { CompileDatBlocks_EnterSymbol(bResSymbol, size); } break; } if (!CompileDatBlocks_EnterByte(0)) // obj_ptr gets incremented in here { return false; } } return true; } bool CompileDatBlocks_Data(bool& bEof, int pass, bool bSymbol, bool& bResSymbol, int& size) { size = g_pElementizer->GetValue() & 0x000000FF; int overrideSize = size; if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_end) { return true; } while (!bEof) { // do we have a size override? if (g_pElementizer->GetType() == type_size) { // yes, get it overrideSize = g_pElementizer->GetValue() & 0x000000FF; if (overrideSize < size) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_sombl]; return false; } } else { // no, backup g_pElementizer->Backup(); } // get the value if (!GetTryValue(pass == 1 ? true : false, overrideSize == 2 ? false : true, true)) { return false; } int value = GetResult(); // get the count int count = 1; if (g_pElementizer->CheckElement(type_leftb)) { if (!GetTryValue(true, true, true)) { return false; } count = GetResult(); if (!g_pElementizer->GetElement(type_rightb)) { return false; } } // enter the value count times into the obj if (!CompileDatBlocks_Enter(value, count, overrideSize)) { return false; } bool bComma = false; if (!GetCommaOrEnd(bComma)) { return false; } if (!bComma) { break; } if (!g_pElementizer->GetNext(bEof)) { return false; } } return true; } bool CompileDatBlocks_File(bool bSymbol, bool bResSymbol, int& size) { size = 0; // force size to byte if (bSymbol) { CompileDatBlocks_EnterSymbol(bResSymbol, size); } int filenameStart = 0; int filenameFinish = 0; if (!GetFilename(filenameStart, filenameFinish)) { return false; } // find the file in the dat_data array and copy it into obj for (int i = 0; i < g_pCompilerData->dat_files; i++) { if (strcmp(&(g_pCompilerData->dat_filenames[256*i]), g_pCompilerData->filename) == 0) { // copy dat data into obj (RPE: this should be optimized) for (int j = 0; j < g_pCompilerData->dat_lengths[i]; j++) { if (!CompileDatBlocks_EnterByte(g_pCompilerData->dat_data[g_pCompilerData->dat_offsets[i] + j])) { return false; } } if (!g_pElementizer->GetElement(type_end)) { return false; } return true; } } // file data not found g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_idfnf]; return false; } bool CompileDatBlocks_AsmDirective(bool bSymbol, bool& bResSymbol, int& size) { size = 2; // force to long size int directive = g_pElementizer->GetValue() & 0x000000FF; switch (directive) { case dir_nop: { if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } if (!g_pElementizer->GetElement(type_end)) { return false; } if (!CompileDatBlocks_Enter(0, 1, 2)) // enter a 0 long { return false; } return true; } break; case dir_fit: { if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } int fit = 0x1F0; if (!g_pElementizer->CheckElement(type_end)) { if (!GetTryValue(true, true, true)) { return false; } fit = GetResult(); if (!g_pElementizer->GetElement(type_end)) { return false; } } fit <<= 2; if ((unsigned int)(g_pCompilerData->cog_org) > (unsigned int)fit) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_oefl]; return false; } return true; } break; case dir_res: { if (g_pCompilerData->orgx != 0) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_rinaiom]; return false; } bResSymbol = true; if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } int resSize = 1; if (!g_pElementizer->CheckElement(type_end)) { if (!GetTryValue(true, true, true)) { return false; } resSize = GetResult(); if (!g_pElementizer->GetElement(type_end)) { return false; } } resSize <<= 2; g_pCompilerData->cog_org += resSize; if (g_pCompilerData->cog_org > (0x1F0 * 4)) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_oexl]; return false; } return true; } break; case dir_org: { if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } int newOrg = 0; if (!g_pElementizer->CheckElement(type_end)) { if (!GetTryValue(true, true, true)) { return false; } newOrg = GetResult(); if (!g_pElementizer->GetElement(type_end)) { return false; } } if (newOrg > 0x1F0) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_oexl]; return false; } g_pCompilerData->cog_org = newOrg << 2; g_pCompilerData->orgx = 0; return true; } break; } if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } if (!g_pElementizer->GetElement(type_end)) { return false; } g_pCompilerData->cog_org = 0; g_pCompilerData->orgx = 1; return true; } bool CompileDatBlocks_ValidateCallSymbol(bool bIsRet, char* pSymbol) { if (!g_pElementizer->FindSymbol(pSymbol)) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eads]; return false; } if (g_pElementizer->GetType() == type_undefined) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[bIsRet ? error_urs : error_us]; return false; } if (g_pElementizer->GetType() < type_dat_byte || g_pElementizer->GetType() > type_dat_long_res) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eads]; return false; } // the offset to the label symbol is in second symbol value int value = g_pElementizer->GetValue2(); // make sure it's long aligned if (value & 0x03) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[bIsRet ? error_rainl : error_ainl]; return false; } // make sure is in range value >>= 2; if (value >= 0x1F0) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[bIsRet ? error_raioor : error_aioor]; return false; } return true; } bool CompileDatBlocks_AsmInstruction(bool& bEof, int pass, bool bSymbol, bool bResSymbol, int& size, unsigned char condition) { size = 2; // force to long size if (!CompileDatBlocks_Advance(bSymbol, bResSymbol, size)) { return false; } int opcode = g_pElementizer->GetValue() & 0x000000FF; // handle dual type entries and also AND and OR (which are the only type_binary that will get here) if (g_pElementizer->IsDual() || g_pElementizer->GetType() == type_binary) { opcode = g_pElementizer->GetAsm() & 0x000000FF; } unsigned int instruction = opcode << 8; if (opcode & 0x80) // sys instruction { instruction = 0x03 << 8; } instruction |= condition; if (opcode & 0x40) // set WR? { instruction |= 0x20; } instruction <<= 18; // justify the instruction (s & d will go in lower 18 bits) if (opcode & 0x80) // sys instruction { instruction |= 0x00400000; // set immediate instruction |= (opcode & 0x07); // set s // get d if (!GetTryValue(pass == 1 ? true : false, true, true)) { return false; } int d = GetResult(); if (d > 0x1FF) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_drcex]; return false; } instruction |= (d << 9); // set d } else if (opcode == 0x15) // call? { // make 'jmpret label_ret, #label' instruction ^= 0x08C00000; if (!g_pElementizer->GetElement(type_pound)) { return false; } int length = 0; if (!GetSymbol(&length)) { return false; } if (length > 0) { if (length > symbol_limit - 4) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_csmnexc]; return false; } char* pSymbol = g_pElementizer->GetCurrentSymbol(); if (pass == 1) { if (!CompileDatBlocks_ValidateCallSymbol(false, pSymbol)) { return false; } } instruction |= ((g_pElementizer->GetValue2() & 0x7FF) >> 2); // set #label pSymbol[length] = '_'; pSymbol[length+1] = 'R'; pSymbol[length+2] = 'E'; pSymbol[length+3] = 'T'; pSymbol[length+4] = 0; if (pass == 1) { if (!CompileDatBlocks_ValidateCallSymbol(true, pSymbol)) { return false; } } instruction |= (((g_pElementizer->GetValue2() & 0x7FF) >> 2) << 9); // set label_ret } else { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eads]; return false; } } else if (opcode == 0x16) // ret? { instruction ^= 0x04400000; // make 'jmp #0' } else if (opcode == 0x17) // jmp? { // for jmp, we only get s, there is no d // see if it's an immediate value for s if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_pound) { instruction |= 0x00400000; } else { g_pElementizer->Backup(); } // get s if (!GetTryValue(pass == 1 ? true : false, true, true)) { return false; } int s = GetResult(); // make sure it's in range if (s > 0x1FF) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_srccex]; return false; } // set s on instruction instruction |= s; } else // regular instruction get both d and s { // get d if (!GetTryValue(pass == 1 ? true : false, true, true)) { return false; } int d = GetResult(); // make sure it's in range if (d > 0x1FF) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_drcex]; return false; } // set d on instruction instruction |= (d << 9); if (!g_pElementizer->GetElement(type_comma)) { return false; } // see if it's an immediate value for s if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_pound) { instruction |= 0x00400000; } else { g_pElementizer->Backup(); } // get s if (!GetTryValue(pass == 1 ? true : false, true, true)) { return false; } int s = GetResult(); // make sure it's in range if (s > 0x1FF) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_srccex]; return false; } // set s on instruction instruction |= s; } // check for effects bool bAfterComma = false; while (!bEof) { if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_asm_effect) { int effectValue = g_pElementizer->GetValue(); // don't allow wr/nr for r/w instructions if ((effectValue & 0x09) && (instruction >> 26) <= 2) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_micuwn]; return false; } // apply effect to instruction int temp = (effectValue & 0x38) << 20; instruction |= temp; instruction ^= temp; instruction |= ((effectValue & 0x07) << 23); bool bComma = false; if (!GetCommaOrEnd(bComma)) { return false; } if (!bComma) { // got end, done with effects break; } // got a comma, expecting another effect bAfterComma = true; } else if (bAfterComma) { // expected another effect after the comma g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eaasme]; return false; } else if (g_pElementizer->GetType() != type_end) { // if it wasn't an effect the first time in then it should be an end g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eaaeoeol]; return false; } else { // we get here if we got no effect and got the proper end break; } } // enter instruction as 1 long if (!CompileDatBlocks_Enter(instruction, 1, 2)) { return false; } return true; } bool CompileDatBlocks_CheckInstruction() { if (g_pElementizer->GetType() == type_asm_inst || g_pElementizer->IsDual()) { return true; } if (g_pElementizer->GetType() == type_binary) { if (g_pElementizer->GetOpType() == op_log_and || g_pElementizer->GetOpType() == op_log_or) { return true; } } return false; } bool CompileDatBlocks_AsmCondition(bool& bEof, int pass, bool bSymbol, bool bResSymbol, int& size) { unsigned char condition = (unsigned char)(g_pElementizer->GetValue() & 0x000000FF); if (!g_pElementizer->GetNext(bEof)) { return false; } if (CompileDatBlocks_CheckInstruction()) { return CompileDatBlocks_AsmInstruction(bEof, pass, bSymbol, bResSymbol, size, condition); } g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eaasmi]; return false; } bool CompileDatBlocks() { int infoflag = 0; int ptr = g_pCompilerData->obj_ptr; int datstart = 0; int objstart = 0; for (int pass = 0; pass < 2; pass++) { g_pCompilerData->obj_ptr = ptr; g_pCompilerData->asm_local = 0; g_pCompilerData->cog_org = 0; g_pCompilerData->orgx = 0; int size = 0; bool bEof = false; g_pElementizer->Reset(); while(!bEof) { if(g_pElementizer->GetNextBlock(block_dat, bEof)) { if (bEof) { break; } datstart = g_pCompilerData->source_start; objstart = g_pCompilerData->obj_ptr; while (!bEof) { if (!g_pElementizer->GetNext(bEof)) { return false; } if (bEof) { break; } infoflag = 1; if (g_pElementizer->GetType() == type_end) { continue; } g_pCompilerData->inf_start = g_pCompilerData->source_start; // clear symbol flags bool bLocal = false; bool bSymbol = false; bool bResSymbol = false; if (!CheckLocal(bLocal)) // bLocal will be set if it is a local { return false; } g_pCompilerData->inf_finish = g_pCompilerData->source_finish; if (g_pElementizer->GetType() == type_undefined) // undefined here means it's a symbol { if (!bLocal) { if (!IncrementAsmLocal()) { return false; } } bSymbol = true; g_pElementizer->BackupSymbol(); if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_end) { if (bSymbol) { CompileDatBlocks_EnterSymbol(bResSymbol, size); } continue; } } else if (g_pElementizer->GetType() == type_dat_byte || g_pElementizer->GetType() == type_dat_word || g_pElementizer->GetType() == type_dat_long || g_pElementizer->GetType() == type_dat_long_res) { if (!bLocal) { if (!IncrementAsmLocal()) { return false; } } if (pass == 0) { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_siad]; return false; } if (!g_pElementizer->GetNext(bEof)) { return false; } if (g_pElementizer->GetType() == type_end) { continue; } } if (g_pElementizer->GetType() == type_size) { if (!CompileDatBlocks_Data(bEof, pass, bSymbol, bResSymbol, size)) { return false; } continue; } else if (g_pElementizer->GetType() == type_file) { if (!CompileDatBlocks_File(bSymbol, bResSymbol, size)) { return false; } continue; } else if (g_pElementizer->GetType() == type_asm_dir) { if (!CompileDatBlocks_AsmDirective(bSymbol, bResSymbol, size)) { return false; } continue; } else if (g_pElementizer->GetType() == type_asm_cond) { if (!CompileDatBlocks_AsmCondition(bEof, pass, bSymbol, bResSymbol, size)) { return false; } continue; } else if (CompileDatBlocks_CheckInstruction()) { if (!CompileDatBlocks_AsmInstruction(bEof, pass, bSymbol, bResSymbol, size, if_always)) { return false; } continue; } if (g_pElementizer->GetType() == type_block) { g_pElementizer->Backup(); if (pass == 0) { CompileDatBlocks_EnterInfo(datstart, objstart); } break; } else { g_pCompilerData->error = true; g_pCompilerData->error_msg = g_pErrorStrings[error_eaunbwlo]; return false; } } } else { return false; } } if (infoflag != 0 && pass == 0) { CompileDatBlocks_EnterInfo(datstart, objstart); } } return true; } /////////////////////////////////////////////////////////////////////////////////////////// // TERMS OF USE: MIT License // /////////////////////////////////////////////////////////////////////////////////////////// // 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. // ///////////////////////////////////////////////////////////////////////////////////////////
[ "reltham@gmail.com" ]
reltham@gmail.com
ef723c85b1437b1ba63db6250c572d34c379bb46
74c3b02b5baed311cc5cb8cbe59edcb140885b06
/CSES/Math/Divisors.cpp
a521d41be92db9fa0ae0a04039a89b3ed44b5768
[]
no_license
paresh113/CodeIsLifeOrLifeIsCode
4810c8ba953d1c763a8240693e182b6e5155d641
0f2bfb43f7393b812b147370c0b83aa70533f418
refs/heads/master
2023-01-20T14:36:19.745624
2020-11-30T14:05:07
2020-11-30T14:05:07
314,968,660
0
0
null
null
null
null
UTF-8
C++
false
false
1,227
cpp
#include<bits/stdc++.h> using namespace std; int primes[1000003]; int save[1000003]; void sieve(){ int sr = sqrt(100005); for(int i = 2; i <= sr; i++){ if(primes[i]){ for(int j = 2*i; j <= 100005; j+=i){ primes[j] = 0; } } } int k = 0; for(int i = 2; i <= 100005; i++){ if(primes[i]){ save[k] = i; //cout << save[k++] << " "; k++; } } } int main(){ memset(primes, 1,sizeof(primes)); int n,t; cin >> t; sieve(); while(t--){ cin >> n; /// prime factorization int factor[100]; int p = 0; int sum = 1; for(int i = 0; save[i] <= sqrt(n); i++){ if(n % save[i] == 0){ int cnt = 0; while(n % save[i] == 0){ n /= save[i]; cnt++; } sum *=(cnt + 1); // cout << cnt << " "; // sum *= ((pow(save[i],cnt+1) -1)/(save[i]-1)) ; } } if(n > 1) sum *= 2; cout << sum << endl; } }
[ "31143249+paresh113@users.noreply.github.com" ]
31143249+paresh113@users.noreply.github.com
e24bb2da9fd21fe84522c8d4cea3ed7c5528370c
5d1a033cf72f630688da2b8de788d1cebf6339e6
/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
e858b3fb4091f150b8ff5afdab1b9f612d1204c4
[]
no_license
jaokim/odyssey
e2115123f75df185fcda87452f455f25907b0c79
5ee0f826dd3502f04e077b3df59e3d855c7afd0c
refs/heads/kas1e_branch
2022-11-07T17:48:02.860664
2017-04-05T20:43:43
2017-04-05T20:43:43
55,713,581
2
1
null
2022-10-28T23:56:32
2016-04-07T17:17:09
C++
UTF-8
C++
false
false
18,064
cpp
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * Copyright (C) 2010 University of Szeged * * 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 APPLE INC. AND ITS 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 APPLE INC. OR ITS CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #if PLUGIN_ARCHITECTURE(X11) && ENABLE(NETSCAPE_PLUGIN_API) #include "NetscapePlugin.h" #include "PluginController.h" #include "WebEvent.h" #include <WebCore/GraphicsContext.h> #include <WebCore/NotImplemented.h> #include <WebCore/PlatformDisplayX11.h> #include <WebCore/XUniquePtr.h> #if PLATFORM(GTK) #include <gtk/gtk.h> #ifndef GTK_API_VERSION_2 #include <gtk/gtkx.h> #endif #include <gdk/gdkx.h> #include <WebCore/GtkVersioning.h> #elif PLATFORM(EFL) && defined(HAVE_ECORE_X) #include <Ecore_X.h> #endif #if USE(CAIRO) #include "PlatformContextCairo.h" #include "RefPtrCairo.h" #include <cairo/cairo-xlib.h> #endif using namespace WebCore; namespace WebKit { static Display* getPluginDisplay() { #if PLATFORM(GTK) // Since we're a gdk/gtk app, we'll (probably?) have the same X connection as any gdk-based // plugins, so we can return that. We might want to add other implementations here later. return GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); #elif PLATFORM(EFL) && defined(HAVE_ECORE_X) return static_cast<Display*>(ecore_x_display_get()); #else return 0; #endif } static inline int x11Screen() { #if PLATFORM(GTK) return gdk_screen_get_number(gdk_screen_get_default()); #elif PLATFORM(EFL) && defined(HAVE_ECORE_X) return ecore_x_screen_index_get(ecore_x_default_screen_get()); #else return 0; #endif } static inline int displayDepth() { #if PLATFORM(GTK) return gdk_visual_get_depth(gdk_screen_get_system_visual(gdk_screen_get_default())); #elif PLATFORM(EFL) && defined(HAVE_ECORE_X) return ecore_x_default_depth_get(NetscapePlugin::x11HostDisplay(), ecore_x_default_screen_get()); #else return 0; #endif } static inline unsigned long rootWindowID() { #if PLATFORM(GTK) return GDK_ROOT_WINDOW(); #elif PLATFORM(EFL) && defined(HAVE_ECORE_X) return ecore_x_window_root_first_get(); #else return 0; #endif } Display* NetscapePlugin::x11HostDisplay() { return downcast<PlatformDisplayX11>(PlatformDisplay::sharedDisplay()).native(); } #if PLATFORM(GTK) static gboolean socketPlugRemovedCallback(GtkSocket*) { // Default action is to destroy the GtkSocket, so we just return TRUE here // to be able to reuse the socket. For some obscure reason, newer versions // of flash plugin remove the plug from the socket, probably because the plug // created by the plugin is re-parented. return TRUE; } #endif bool NetscapePlugin::platformPostInitializeWindowed(bool needsXEmbed, uint64_t windowID) { m_npWindow.type = NPWindowTypeWindow; if (!needsXEmbed) { notImplemented(); return false; } Display* display = x11HostDisplay(); #if PLATFORM(GTK) // It seems flash needs the socket to be in the same process, // I guess it uses gdk_window_lookup(), so we create a new socket here // containing a plug with the UI process socket embedded. m_platformPluginWidget = gtk_plug_new(static_cast<Window>(windowID)); GtkWidget* socket = gtk_socket_new(); // Do not show the plug widget until the socket is connected. g_signal_connect_swapped(socket, "plug-added", G_CALLBACK(gtk_widget_show), m_platformPluginWidget); g_signal_connect(socket, "plug-removed", G_CALLBACK(socketPlugRemovedCallback), nullptr); gtk_container_add(GTK_CONTAINER(m_platformPluginWidget), socket); gtk_widget_show(socket); m_npWindow.window = GINT_TO_POINTER(gtk_socket_get_id(GTK_SOCKET(socket))); GdkWindow* window = gtk_widget_get_window(socket); NPSetWindowCallbackStruct* callbackStruct = static_cast<NPSetWindowCallbackStruct*>(m_npWindow.ws_info); callbackStruct->display = GDK_WINDOW_XDISPLAY(window); callbackStruct->visual = GDK_VISUAL_XVISUAL(gdk_window_get_visual(window)); callbackStruct->depth = gdk_visual_get_depth(gdk_window_get_visual(window)); callbackStruct->colormap = XCreateColormap(display, GDK_ROOT_WINDOW(), callbackStruct->visual, AllocNone); #else UNUSED_PARAM(windowID); #endif XFlush(display); callSetWindow(); return true; } bool NetscapePlugin::platformPostInitializeWindowless() { Display* display = x11HostDisplay(); m_npWindow.type = NPWindowTypeDrawable; m_npWindow.window = 0; int depth = displayDepth(); NPSetWindowCallbackStruct* callbackStruct = static_cast<NPSetWindowCallbackStruct*>(m_npWindow.ws_info); callbackStruct->display = display; callbackStruct->depth = depth; XVisualInfo visualTemplate; visualTemplate.screen = x11Screen(); visualTemplate.depth = depth; visualTemplate.c_class = TrueColor; int numMatching; XUniquePtr<XVisualInfo> visualInfo(XGetVisualInfo(display, VisualScreenMask | VisualDepthMask | VisualClassMask, &visualTemplate, &numMatching)); ASSERT(visualInfo); Visual* visual = visualInfo.get()[0].visual; ASSERT(visual); callbackStruct->visual = visual; callbackStruct->colormap = XCreateColormap(display, rootWindowID(), visual, AllocNone); callSetWindow(); return true; } void NetscapePlugin::platformPreInitialize() { } bool NetscapePlugin::platformPostInitialize() { uint64_t windowID = 0; // NPPVpluginNeedsXEmbed is a boolean value, but at least the // Flash player plugin is using an 'int' instead. int needsXEmbed = 0; if (m_isWindowed) { NPP_GetValue(NPPVpluginNeedsXEmbed, &needsXEmbed); if (needsXEmbed) { windowID = controller()->createPluginContainer(); if (!windowID) return false; } else { notImplemented(); return false; } } if (!(m_pluginDisplay = getPluginDisplay())) return false; NPSetWindowCallbackStruct* callbackStruct = new NPSetWindowCallbackStruct; callbackStruct->type = 0; m_npWindow.ws_info = callbackStruct; if (m_isWindowed) return platformPostInitializeWindowed(needsXEmbed, windowID); return platformPostInitializeWindowless(); } void NetscapePlugin::platformDestroy() { NPSetWindowCallbackStruct* callbackStruct = static_cast<NPSetWindowCallbackStruct*>(m_npWindow.ws_info); Display* hostDisplay = x11HostDisplay(); XFreeColormap(hostDisplay, callbackStruct->colormap); delete callbackStruct; m_drawable.reset(); #if PLATFORM(GTK) if (m_platformPluginWidget) { gtk_widget_destroy(m_platformPluginWidget); m_platformPluginWidget = 0; } #endif } bool NetscapePlugin::platformInvalidate(const IntRect&) { notImplemented(); return false; } void NetscapePlugin::platformGeometryDidChange() { if (m_isWindowed) { uint64_t windowID = 0; #if PLATFORM(GTK) windowID = static_cast<uint64_t>(GDK_WINDOW_XID(gtk_plug_get_socket_window(GTK_PLUG(m_platformPluginWidget)))); #endif controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, m_clipRect, windowID); return; } m_drawable.reset(); if (m_pluginSize.isEmpty()) return; m_drawable = XCreatePixmap(x11HostDisplay(), rootWindowID(), m_pluginSize.width(), m_pluginSize.height(), displayDepth()); XSync(x11HostDisplay(), false); // Make sure that the server knows about the Drawable. } void NetscapePlugin::platformVisibilityDidChange() { if (!m_isWindowed) return; uint64_t windowID = 0; #if PLATFORM(GTK) windowID = static_cast<uint64_t>(GDK_WINDOW_XID(gtk_plug_get_socket_window(GTK_PLUG(m_platformPluginWidget)))); #endif controller()->windowedPluginVisibilityDidChange(m_isVisible, windowID); controller()->windowedPluginGeometryDidChange(m_frameRectInWindowCoordinates, m_clipRect, windowID); } void NetscapePlugin::platformPaint(GraphicsContext& context, const IntRect& dirtyRect, bool /*isSnapshot*/) { if (m_isWindowed) return; if (!m_isStarted) { // FIXME: we should paint a missing plugin icon. return; } if (context.paintingDisabled() || !m_drawable) return; XEvent xevent; memset(&xevent, 0, sizeof(XEvent)); XGraphicsExposeEvent& exposeEvent = xevent.xgraphicsexpose; exposeEvent.type = GraphicsExpose; exposeEvent.display = x11HostDisplay(); exposeEvent.drawable = m_drawable.get(); IntRect exposedRect(dirtyRect); exposeEvent.x = exposedRect.x(); exposeEvent.y = exposedRect.y(); // Note: in transparent mode Flash thinks width is the right and height is the bottom. // We should take it into account if we want to support transparency. exposeEvent.width = exposedRect.width(); exposeEvent.height = exposedRect.height(); NPP_HandleEvent(&xevent); if (m_pluginDisplay != x11HostDisplay()) XSync(m_pluginDisplay, false); #if PLATFORM(GTK) || (PLATFORM(EFL) && USE(CAIRO)) RefPtr<cairo_surface_t> drawableSurface = adoptRef(cairo_xlib_surface_create(m_pluginDisplay, m_drawable.get(), static_cast<NPSetWindowCallbackStruct*>(m_npWindow.ws_info)->visual, m_pluginSize.width(), m_pluginSize.height())); cairo_t* cr = context.platformContext()->cr(); cairo_save(cr); cairo_set_source_surface(cr, drawableSurface.get(), 0, 0); cairo_rectangle(cr, exposedRect.x(), exposedRect.y(), exposedRect.width(), exposedRect.height()); cairo_clip(cr); cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); cairo_paint(cr); cairo_restore(cr); #else notImplemented(); #endif } static inline void initializeXEvent(XEvent& event) { memset(&event, 0, sizeof(XEvent)); event.xany.serial = 0; event.xany.send_event = false; event.xany.display = NetscapePlugin::x11HostDisplay(); event.xany.window = 0; } static inline uint64_t xTimeStamp(double timestampInSeconds) { return timestampInSeconds * 1000; } static inline unsigned xKeyModifiers(const WebEvent& event) { unsigned xModifiers = 0; if (event.controlKey()) xModifiers |= ControlMask; if (event.shiftKey()) xModifiers |= ShiftMask; if (event.altKey()) xModifiers |= Mod1Mask; if (event.metaKey()) xModifiers |= Mod4Mask; return xModifiers; } template <typename XEventType, typename WebEventType> static inline void setCommonMouseEventFields(XEventType& xEvent, const WebEventType& webEvent, const WebCore::IntPoint& pluginLocation) { xEvent.root = rootWindowID(); xEvent.subwindow = 0; xEvent.time = xTimeStamp(webEvent.timestamp()); xEvent.x = webEvent.position().x() - pluginLocation.x(); xEvent.y = webEvent.position().y() - pluginLocation.y(); xEvent.x_root = webEvent.globalPosition().x(); xEvent.y_root = webEvent.globalPosition().y(); xEvent.state = xKeyModifiers(webEvent); xEvent.same_screen = true; } static inline void setXMotionEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const WebCore::IntPoint& pluginLocation) { XMotionEvent& xMotion = xEvent.xmotion; setCommonMouseEventFields(xMotion, webEvent, pluginLocation); xMotion.type = MotionNotify; } static inline void setXButtonEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const WebCore::IntPoint& pluginLocation) { XButtonEvent& xButton = xEvent.xbutton; setCommonMouseEventFields(xButton, webEvent, pluginLocation); xButton.type = (webEvent.type() == WebEvent::MouseDown) ? ButtonPress : ButtonRelease; switch (webEvent.button()) { case WebMouseEvent::LeftButton: xButton.button = Button1; break; case WebMouseEvent::MiddleButton: xButton.button = Button2; break; case WebMouseEvent::RightButton: xButton.button = Button3; break; default: ASSERT_NOT_REACHED(); break; } } static inline void setXButtonEventFieldsByWebWheelEvent(XEvent& xEvent, const WebWheelEvent& webEvent, const WebCore::IntPoint& pluginLocation) { XButtonEvent& xButton = xEvent.xbutton; setCommonMouseEventFields(xButton, webEvent, pluginLocation); xButton.type = ButtonPress; FloatSize ticks = webEvent.wheelTicks(); if (ticks.height()) { if (ticks.height() > 0) xButton.button = 4; // up else xButton.button = 5; // down } else { if (ticks.width() > 0) xButton.button = 6; // left else xButton.button = 7; // right } } static inline void setXCrossingEventFields(XEvent& xEvent, const WebMouseEvent& webEvent, const WebCore::IntPoint& pluginLocation, int type) { XCrossingEvent& xCrossing = xEvent.xcrossing; setCommonMouseEventFields(xCrossing, webEvent, pluginLocation); xCrossing.type = type; xCrossing.mode = NotifyNormal; xCrossing.detail = NotifyDetailNone; xCrossing.focus = false; } bool NetscapePlugin::platformHandleMouseEvent(const WebMouseEvent& event) { if (m_isWindowed) return false; if ((event.type() == WebEvent::MouseDown || event.type() == WebEvent::MouseUp) && event.button() == WebMouseEvent::RightButton && quirks().contains(PluginQuirks::IgnoreRightClickInWindowlessMode)) return false; XEvent xEvent; initializeXEvent(xEvent); switch (event.type()) { case WebEvent::MouseDown: case WebEvent::MouseUp: setXButtonEventFields(xEvent, event, convertToRootView(IntPoint())); break; case WebEvent::MouseMove: setXMotionEventFields(xEvent, event, convertToRootView(IntPoint())); break; case WebEvent::MouseForceChanged: case WebEvent::MouseForceDown: case WebEvent::MouseForceUp: case WebEvent::NoType: case WebEvent::Wheel: case WebEvent::KeyDown: case WebEvent::KeyUp: case WebEvent::RawKeyDown: case WebEvent::Char: #if ENABLE(TOUCH_EVENTS) case WebEvent::TouchStart: case WebEvent::TouchMove: case WebEvent::TouchEnd: case WebEvent::TouchCancel: #endif return false; } return !NPP_HandleEvent(&xEvent); } // We undefine these constants in npruntime_internal.h to avoid collision // with WebKit and platform headers. Values are defined in X.h. const int kKeyPressType = 2; const int kKeyReleaseType = 3; const int kFocusInType = 9; const int kFocusOutType = 10; bool NetscapePlugin::platformHandleWheelEvent(const WebWheelEvent& event) { if (m_isWindowed) return false; XEvent xEvent; initializeXEvent(xEvent); setXButtonEventFieldsByWebWheelEvent(xEvent, event, convertToRootView(IntPoint())); return !NPP_HandleEvent(&xEvent); } void NetscapePlugin::platformSetFocus(bool focusIn) { if (m_isWindowed) return; XEvent xEvent; initializeXEvent(xEvent); XFocusChangeEvent& focusEvent = xEvent.xfocus; focusEvent.type = focusIn ? kFocusInType : kFocusOutType; focusEvent.mode = NotifyNormal; focusEvent.detail = NotifyDetailNone; NPP_HandleEvent(&xEvent); } bool NetscapePlugin::wantsPluginRelativeNPWindowCoordinates() { return true; } bool NetscapePlugin::platformHandleMouseEnterEvent(const WebMouseEvent& event) { if (m_isWindowed) return false; XEvent xEvent; initializeXEvent(xEvent); setXCrossingEventFields(xEvent, event, convertToRootView(IntPoint()), EnterNotify); return !NPP_HandleEvent(&xEvent); } bool NetscapePlugin::platformHandleMouseLeaveEvent(const WebMouseEvent& event) { if (m_isWindowed) return false; XEvent xEvent; initializeXEvent(xEvent); setXCrossingEventFields(xEvent, event, convertToRootView(IntPoint()), LeaveNotify); return !NPP_HandleEvent(&xEvent); } static inline void setXKeyEventFields(XEvent& xEvent, const WebKeyboardEvent& webEvent) { xEvent.xany.type = (webEvent.type() == WebEvent::KeyDown) ? kKeyPressType : kKeyReleaseType; XKeyEvent& xKey = xEvent.xkey; xKey.root = rootWindowID(); xKey.subwindow = 0; xKey.time = xTimeStamp(webEvent.timestamp()); xKey.state = xKeyModifiers(webEvent); xKey.keycode = webEvent.nativeVirtualKeyCode(); xKey.same_screen = true; // Key events propagated to the plugin does not need to have position. // source: https://developer.mozilla.org/en/NPEvent xKey.x = 0; xKey.y = 0; xKey.x_root = 0; xKey.y_root = 0; } bool NetscapePlugin::platformHandleKeyboardEvent(const WebKeyboardEvent& event) { // We don't generate other types of keyboard events via WebEventFactory. ASSERT(event.type() == WebEvent::KeyDown || event.type() == WebEvent::KeyUp); XEvent xEvent; initializeXEvent(xEvent); setXKeyEventFields(xEvent, event); return !NPP_HandleEvent(&xEvent); } } // namespace WebKit #endif // PLUGIN_ARCHITECTURE(X11) && ENABLE(NETSCAPE_PLUGIN_API)
[ "deadwood@wp.pl" ]
deadwood@wp.pl
547b938d5759b7576977bab181001fefbd76e3ca
56d71a5b92c2c61867e52c32cffeb92ee1c169cc
/libraries/ExtensionMotor/ExtensionMotor.cpp
e7a7a44d37be75bcdf801f021006ccdc23caa8fe
[]
no_license
dotCID/ID4045-JMP_Arduino
4934a2e1a4c5ac5e89a5f28b31d4254a904d5b6a
edca1501b12b6d35c3dd83de80349a97a47678ec
refs/heads/master
2021-01-18T14:05:21.661718
2015-01-28T10:53:57
2015-01-28T10:53:57
29,581,430
0
0
null
null
null
null
UTF-8
C++
false
false
1,133
cpp
/* Arduino Code for JMP, version 0.1 Motor controller class @author Marien Wolthuis date created 16/1/2015 */ #include <Arduino.h> #include <ExtensionMotor.h> static int _fwd[3] = {1,0,0}; static int _bck[3] = {0,1,0}; static int _stop[3] ={1,1,0}; ExtensionMotor::ExtensionMotor(int fwd, int rev, int dis){ _pins[0] = fwd; _pins[1] = rev; _pins[2] = dis; ExtensionMotor::stop(); } bool ExtensionMotor::run(int direction){ _direction = direction==1?1:-1; if(_direction == 1){ for(int i=0;i<2;i++) // for testing purposes, use all three parts of the array digitalWrite(_pins[i],_fwd[i]); analogWrite(_pins[2],_speed); }else{ for(int i=0;i<2;i++) digitalWrite(_pins[i],_bck[i]); analogWrite(_pins[2],_speed); } return true; } bool ExtensionMotor::stop(){ for(int i=0;i<3;i++) digitalWrite(_pins[i],_stop[i]); return true; } float ExtensionMotor::getSpeed(){ return (_speed / 255); } void ExtensionMotor::setSpeed(float speed){ _speed = (int) (speed * 255); } int ExtensionMotor::getDirection(){ return _direction; } bool ExtensionMotor::isActive(){ return _active; }
[ "marien@marienwolthuis.nl" ]
marien@marienwolthuis.nl
69d268959bd3ecc6522fa917fd96efed8a9ac457
5896167027f07d1e53672ebb76b60ed7bf2f09c8
/Win10_20H1_18941/x86/System32/ndis.sys/Standalone/NDIS_BIND_FILTER_LINK.h
feafa8c564811c6019866331326e26b18cecb745
[]
no_license
antiwar3/headers
c776e1de8b552e1284901361907f5e7515ef20ae
e3ec0f11f62cdc76b6c0b6b9fa0d6ffe55e476f0
refs/heads/master
2021-05-25T22:49:20.063532
2020-02-24T21:43:26
2020-02-24T21:44:11
253,953,543
1
2
null
2020-04-08T01:25:44
2020-04-08T01:25:44
null
UTF-8
C++
false
false
288
h
class KRef<NDIS_BIND_FILTER_DRIVER> { /* 0x0000 */ class KRef<NDIS_BIND_FILTER_DRIVER>::KRefHolder* _p; }; /* size: 0x0004 */ struct NDIS_BIND_FILTER_LINK { /* 0x0034 */ class KRef<NDIS_BIND_FILTER_DRIVER> BindDriver; /* 0x0038 */ unsigned long FilterIndex; }; /* size: 0x003c */
[ "w.benny@outlook.com" ]
w.benny@outlook.com
d7eb0d10eb188e396c258131a6843559e2547bdf
1de1d34a097a62faf8aa7cdc2aaf0325adf597f3
/src/utils/ThreadedLogFileEntry.h
da80f82aa56433b56108f299653abe3e02ccc4ef
[]
no_license
mmason930/kinslayer-mud
9fb0d57b6b404b024429f884a4c94cc60623b299
6473ec8bf9eb3e43742e825099de747ad315b0c2
refs/heads/master
2023-08-03T05:03:27.332311
2023-08-01T22:45:35
2023-08-01T22:45:35
56,131,481
4
1
null
2023-03-06T01:55:21
2016-04-13T07:42:54
C++
UTF-8
C++
false
false
397
h
#ifndef THREADED_LOG_FILE_ENTRY_H #define THREADED_LOG_FILE_ENTRY_H #include "../DateTime.h" class ThreadedLogFileEntry { private: protected: public: timeval submittedTimeval; std::string message; ThreadedLogFileEntry(const std::string &message, const timeval &submittedTimeval) { this->message = message; this->submittedTimeval = submittedTimeval; } }; #endif
[ "mike@mercato.com" ]
mike@mercato.com
45da5791dcecfbae701c94b7fbe4db873419571a
edea3c95b937a81af75792d8d563d0f000d90bf6
/Learn/CTCI/Chapter03/pb3.6.cpp
c019f9f560aaa4566d0c8a71b930ffbae600226c
[]
no_license
rajesh-kr/cloaked-octo-avenger
6b9ff6d78c98a7abf26fc4bcdad0ea808e15b3e8
995c6f9f09b64fc1971d7ef59b021eb5ab8240ae
refs/heads/master
2021-01-17T13:03:48.344008
2016-04-17T04:59:43
2016-04-17T04:59:43
11,065,805
0
0
null
null
null
null
UTF-8
C++
false
false
1,319
cpp
#include <iostream> #include <stack> using namespace std; void sort_descending(stack<int>& st) { // create a buffer stack stack<int> buffer; while(!st.empty()) { // pick the top element of st int top = st.top(); st.pop(); int count = 0; // move all the smaller element of buffer to stack while(!buffer.empty() && top > buffer.top()) { int t = buffer.top(); buffer.pop(); st.push(t); ++count; } buffer.push(top); // move back from st to buffer while(count > 0) { int t = st.top(); st.pop(); buffer.push(t); --count; } } // buffer is now sorted in ascending order // reverse it in st while(!buffer.empty()) { int top = buffer.top(); buffer.pop(); st.push(top); } } void print_stack(stack<int> st) { while(!st.empty()) { cout << st.top() << endl; st.pop(); } } int main() { stack<int> st; // add elements to stack st.push(4); st.push(10); st.push(3); st.push(2); st.push(9); st.push(1); st.push(5); // sort the stack sort_descending(st); // print content of stack print_stack(st); return 0; }
[ "rajeshkrcse@gmail.com" ]
rajeshkrcse@gmail.com
d791dee8425041f1a709de867761d28066d283a1
fbc28fe2517b6c7a2bd0066c9f30628ef1d9ceb3
/mainwindow.h
29efb91f9d31e98ab9f06110e86f71db0bb9590c
[]
no_license
Alex-Barros/Consumidor-IR
baefb9d014bca5f8297eeb0d05458411ef9825d5
0a2f377087cad893ef3881f2f846ff2b64b701bd
refs/heads/master
2020-06-12T15:35:57.905210
2016-12-07T04:18:35
2016-12-07T04:18:35
75,798,730
0
0
null
null
null
null
UTF-8
C++
false
false
816
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QTcpSocket> #include <QDebug> #include <QStandardItemModel> #include <vector> using namespace std; namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void tcpConnect(QString); signals: void lista(vector<int> *l); public slots: void listIP(); void getIP(); void disconnectS(); void start(); void stop(); void setVelocidade(int); void timerEvent(QTimerEvent*); private: Ui::MainWindow *ui; QTcpSocket *socket; bool flag = false; int delay =0; int frequencia =0; int timer =0; public: vector<int> *l = new vector<int>(); }; #endif // MAINWINDOW_H
[ "noreply@github.com" ]
Alex-Barros.noreply@github.com
7447fab00ecb088564e53194e44e12f8791a378f
2b1e94b1152050536209c451d1f7f3987a9a8c02
/lex/token.cpp
d9e79026a637429c7a50a1d14a0e102de149bfc4
[ "MIT" ]
permissive
yufengzhe1/c-compiler-1
87944bbb60ce17877caf92891a1abef3d4252923
73fa86a6d0fc7d6032dbbedc314481d11bccb8c6
refs/heads/master
2020-04-13T05:18:47.043196
2018-12-23T11:35:12
2018-12-23T11:35:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,707
cpp
#include "token.h" #include "lex.h" #include "../error/error.h" regex_table::regex_table() :table{ make_pair(std::regex(R"QWERTY(typedef)QWERTY"),token::toktypedef), make_pair(std::regex(R"QWERTY(__builtin_input)QWERTY"),token::__builtin_input), make_pair(std::regex(R"QWERTY(__builtin_output)QWERTY"),token::__builtin_output), make_pair(std::regex(R"QWERTY(void)QWERTY"),token::tokvoid), make_pair(std::regex(R"QWERTY(const)QWERTY"),token::tokconst), make_pair(std::regex(R"QWERTY(volatile)QWERTY"),token::tokvolatile), make_pair(std::regex(R"QWERTY(register)QWERTY"),token::tokregister), make_pair(std::regex(R"QWERTY(signed)QWERTY"),token::toksigned), make_pair(std::regex(R"QWERTY(char)QWERTY"),token::tokchar), make_pair(std::regex(R"QWERTY(int)QWERTY"),token::tokint), make_pair(std::regex(R"QWERTY(unsigned)QWERTY"),token::tokunsigned), make_pair(std::regex(R"QWERTY(short)QWERTY"),token::tokshort), make_pair(std::regex(R"QWERTY(long)QWERTY"),token::toklong), make_pair(std::regex(R"QWERTY(float)QWERTY"),token::tokfloat), make_pair(std::regex(R"QWERTY(double)QWERTY"),token::tokdouble), make_pair(std::regex(R"QWERTY(sizeof)QWERTY"),token::toksizeof), make_pair(std::regex(R"QWERTY(struct)QWERTY"),token::tokstruct), make_pair(std::regex(R"QWERTY(enum)QWERTY"),token::tokenum), make_pair(std::regex(R"QWERTY(union)QWERTY"),token::tokunion), make_pair(std::regex(R"QWERTY(if)QWERTY"),token::tokif), make_pair(std::regex(R"QWERTY(else)QWERTY"),token::tokelse), make_pair(std::regex(R"QWERTY(do)QWERTY"),token::tokdo), make_pair(std::regex(R"QWERTY(for)QWERTY"),token::tokfor), make_pair(std::regex(R"QWERTY(while)QWERTY"),token::tokwhile), make_pair(std::regex(R"QWERTY(return)QWERTY"),token::tokreturn), make_pair(std::regex(R"QWERTY(goto)QWERTY"),token::tokgoto), make_pair(std::regex(R"QWERTY(switch)QWERTY"),token::tokswitch), make_pair(std::regex(R"QWERTY(case)QWERTY"),token::tokcase), make_pair(std::regex(R"QWERTY(default)QWERTY"),token::tokdefault), make_pair(std::regex(R"QWERTY(break)QWERTY"),token::tokbreak), make_pair(std::regex(R"QWERTY(continue)QWERTY"),token::tokcontinue), make_pair(std::regex(R"QWERTY(auto)QWERTY"),token::tokauto), make_pair(std::regex(R"QWERTY(extern)QWERTY"),token::tokextern), make_pair(std::regex(R"QWERTY(static)QWERTY"),token::tokstatic), make_pair(std::regex(R"QWERTY(pragma)QWERTY"),token::tokpragma), make_pair(std::regex(R"QWERTY(include)QWERTY"),token::tokinclude), make_pair(std::regex(R"QWERTY(define)QWERTY"),token::tokdefine), make_pair(std::regex(R"QWERTY(undef)QWERTY"),token::tokundef), make_pair(std::regex(R"QWERTY(ifdef)QWERTY"),token::tokifdef), make_pair(std::regex(R"QWERTY(elif)QWERTY"),token::tokelif), make_pair(std::regex(R"QWERTY(endif)QWERTY"),token::tokendif), make_pair(std::regex(R"QWERTY([0-9]+((((\.[0-9]+)([eE]-?[0-9]+)|(\.[0-9]+)|([eE]-?[0-9]+))[fF]?)|[fF]))QWERTY"),token::double_literal), make_pair(std::regex(R"QWERTY((0|[1-9][0-9]*|0[xX][0-9a-fA-F]+|0[0-7]+)[uU]?[lL]{0,2})QWERTY"),token::int_literal), make_pair(std::regex(R"QWERTY('.')QWERTY"),token::char_literal), make_pair(std::regex(R"QWERTY(".*?[^\\]")QWERTY"),token::string_literal), make_pair(std::regex(R"QWERTY(<[a-zA-Z_\\/]+(\.[a-zA-Z_\\/]+)?>)QWERTY"),token::include_file), make_pair(std::regex(R"QWERTY([a-zA-Z_][0-9a-zA-Z_]*)QWERTY"),token::identifier), make_pair(std::regex(R"QWERTY(\+\+)QWERTY"),token::inc), make_pair(std::regex(R"QWERTY(--)QWERTY"),token::dec), make_pair(std::regex(R"QWERTY(\+=)QWERTY"),token::addass), make_pair(std::regex(R"QWERTY(-=)QWERTY"),token::subass), make_pair(std::regex(R"QWERTY(\*=)QWERTY"),token::mulass), make_pair(std::regex(R"QWERTY(/=)QWERTY"),token::divass), make_pair(std::regex(R"QWERTY(%=)QWERTY"),token::modass), make_pair(std::regex(R"QWERTY(<<=)QWERTY"),token::shlass), make_pair(std::regex(R"QWERTY(>>=)QWERTY"),token::shrass), make_pair(std::regex(R"QWERTY(\|=)QWERTY"),token::orass), make_pair(std::regex(R"QWERTY(&=)QWERTY"),token::andass), make_pair(std::regex(R"QWERTY(\^=)QWERTY"),token::xorass), make_pair(std::regex(R"QWERTY(==)QWERTY"),token::equal), make_pair(std::regex(R"QWERTY(\|\|)QWERTY"),token::lor), make_pair(std::regex(R"QWERTY(&&)QWERTY"),token::land), make_pair(std::regex(R"QWERTY(!=)QWERTY"),token::nequal), make_pair(std::regex(R"QWERTY(<=)QWERTY"),token::lequal), make_pair(std::regex(R"QWERTY(>=)QWERTY"),token::gequal), make_pair(std::regex(R"QWERTY(<<)QWERTY"),token::shl), make_pair(std::regex(R"QWERTY(>>)QWERTY"),token::shr), make_pair(std::regex(R"QWERTY(\.)QWERTY"),token::point), make_pair(std::regex(R"QWERTY(->)QWERTY"),token::arrow), make_pair(std::regex(R"QWERTY(\.{3})QWERTY"),token::tokellipsis), make_pair(std::regex(R"QWERTY(##)QWERTY"),token::hashhash), make_pair(std::regex(R"QWERTY(#)QWERTY"),token::hash), make_pair(std::regex(R"QWERTY(;)QWERTY"),token::semicolon), make_pair(std::regex(R"QWERTY(:)QWERTY"),token::colon), make_pair(std::regex(R"QWERTY(\?)QWERTY"),token::question), make_pair(std::regex(R"QWERTY(\{)QWERTY"),token::lbrace), make_pair(std::regex(R"QWERTY(\})QWERTY"),token::rbrace), make_pair(std::regex(R"QWERTY(\[)QWERTY"),token::lbracket), make_pair(std::regex(R"QWERTY(\])QWERTY"),token::rbracket), make_pair(std::regex(R"QWERTY(\()QWERTY"),token::lparenthesis), make_pair(std::regex(R"QWERTY(\))QWERTY"),token::rparenthesis), make_pair(std::regex(R"QWERTY(\+)QWERTY"),token::add), make_pair(std::regex(R"QWERTY(-)QWERTY"),token::sub), make_pair(std::regex(R"QWERTY(\*)QWERTY"),token::mul), make_pair(std::regex(R"QWERTY(/)QWERTY"),token::div), make_pair(std::regex(R"QWERTY(%)QWERTY"),token::mod), make_pair(std::regex(R"QWERTY(!)QWERTY"),token::not), make_pair(std::regex(R"QWERTY(~)QWERTY"),token::bnot), make_pair(std::regex(R"QWERTY(&)QWERTY"),token::band), make_pair(std::regex(R"QWERTY(\|)QWERTY"),token::bor), make_pair(std::regex(R"QWERTY(\^)QWERTY"),token::bxor), make_pair(std::regex(R"QWERTY(>)QWERTY"),token::greater), make_pair(std::regex(R"QWERTY(<)QWERTY"),token::less), make_pair(std::regex(R"QWERTY(=)QWERTY"),token::assign), make_pair(std::regex(R"QWERTY(,)QWERTY"),token::comma), make_pair(std::regex(R"QWERTY([\r\n\t\s]+)QWERTY"),token::whitespace) } {} token_name_type::token_name_type() { _name.emplace(token::toktypedef, "typedef"); _name.emplace(token::tokvoid, "void"); _name.emplace(token::tokconst, "const"); _name.emplace(token::tokvolatile, "volatile"); _name.emplace(token::tokregister, "register"); _name.emplace(token::tokchar, "char"); _name.emplace(token::tokint, "int"); _name.emplace(token::tokunsigned, "unsigned"); _name.emplace(token::tokshort, "short"); _name.emplace(token::toklong, "long"); _name.emplace(token::tokfloat, "float"); _name.emplace(token::tokdouble, "double"); _name.emplace(token::toksizeof, "sizeof"); _name.emplace(token::tokstruct, "struct"); _name.emplace(token::tokenum, "enum"); _name.emplace(token::tokunion, "union"); _name.emplace(token::tokif, "if"); _name.emplace(token::tokelse, "else"); _name.emplace(token::tokdo, "do"); _name.emplace(token::tokfor, "for"); _name.emplace(token::tokwhile, "while"); _name.emplace(token::tokreturn, "return"); _name.emplace(token::tokgoto, "goto"); _name.emplace(token::tokswitch, "switch"); _name.emplace(token::tokcase, "case"); _name.emplace(token::tokdefault, "default"); _name.emplace(token::tokbreak, "break"); _name.emplace(token::tokcontinue, "continue"); _name.emplace(token::tokauto, "auto"); _name.emplace(token::tokextern, "extern"); _name.emplace(token::tokstatic, "static"); _name.emplace(token::tokpragma, "pragma"); _name.emplace(token::tokinclude, "include"); _name.emplace(token::tokdefine, "define"); _name.emplace(token::tokundef, "undef"); _name.emplace(token::tokifdef, "ifdef"); _name.emplace(token::tokelif, "elif"); _name.emplace(token::tokendif, "endif"); _name.emplace(token::double_literal, "double_literal"); _name.emplace(token::int_literal, "int_literal"); _name.emplace(token::char_literal, "char_literal"); _name.emplace(token::string_literal, "string_literal"); _name.emplace(token::include_file, "include_file"); _name.emplace(token::identifier, "identifier"); _name.emplace(token::inc, "++"); _name.emplace(token::dec, "--"); _name.emplace(token::addass, "+="); _name.emplace(token::subass, "-="); _name.emplace(token::mulass, "*="); _name.emplace(token::divass, "/="); _name.emplace(token::modass, "%="); _name.emplace(token::shlass, "<<="); _name.emplace(token::shrass, ">>="); _name.emplace(token::orass, "|="); _name.emplace(token::andass, "&="); _name.emplace(token::xorass, "^="); _name.emplace(token::equal, "=="); _name.emplace(token::lor, "||"); _name.emplace(token::land, "&&"); _name.emplace(token::nequal, "!="); _name.emplace(token::lequal, "<="); _name.emplace(token::gequal, ">="); _name.emplace(token::shl, "<<"); _name.emplace(token::shr, ">>"); _name.emplace(token::point, "."); _name.emplace(token::arrow, "->"); _name.emplace(token::tokellipsis, "..."); _name.emplace(token::hashhash, "##"); _name.emplace(token::hash, "#"); _name.emplace(token::semicolon, ";"); _name.emplace(token::colon, ":"); _name.emplace(token::question, "?"); _name.emplace(token::toksigned, "signed"); _name.emplace(token::lbrace, "{"); _name.emplace(token::rbrace, "}"); _name.emplace(token::lbracket, "["); _name.emplace(token::rbracket, "]"); _name.emplace(token::lparenthesis, "("); _name.emplace(token::rparenthesis, ")"); _name.emplace(token::add, "+"); _name.emplace(token::sub, "-"); _name.emplace(token::mul, "*"); _name.emplace(token::div, "/"); _name.emplace(token::mod, "%"); _name.emplace(token::not, "!"); _name.emplace(token::bnot, "~"); _name.emplace(token::band, "&"); _name.emplace(token::bor, "|"); _name.emplace(token::bxor, "^"); _name.emplace(token::greater, ">"); _name.emplace(token::less, "<"); _name.emplace(token::assign, "="); _name.emplace(token::comma, ","); _name.emplace(token::whitespace, " "); _name.emplace(token::dummy, "end of file"); _name.emplace(token::__builtin_input, "__builtin_input"); _name.emplace(token::__builtin_output, "__builtin_output"); } token_name_type token_name; void lex_next_word(std::string const& s, int &position, std::vector<token_pair> &table) { static const regex_table reg; if (position <= 0)return; if (position >= s.size())return; auto it = s.begin() + position; bool unsucc = true; for (auto &e : reg.table) { std::smatch m; if (std::regex_search(it, s.end(), m, e.first, std::regex_constants::match_continuous)) { std::string str = m[0].str(); if (e.second != token::whitespace) table.emplace_back(e.second, str); //std::cerr << token_name[e.second] << " \"" << str <<"\""<< std::endl; position += str.size(); unsucc = false; break; } } } #define _CASE_X_VEC(_STDF,_VLIT)\ {\ auto v = _STDF ;\ auto f = find(_VLIT.begin(), _VLIT.end(), v);\ if (f == _VLIT.end()){\ _VLIT.push_back(v);\ now_num = _VLIT.size() - 1;\ }else now_num = f - _VLIT.begin();\ }\ std::vector<token_P2> lex(std::string const& s, std::vector<std::string >& vlit_str, std::vector<std::int64_t>& vlit_int, std::vector<double >& vlit_dbl, std::vector<char >& vlit_chr, std::vector<std::string >& vlit_idt, std::vector<std::string >& vlit_file, std::vector<int >& word_pos, std::vector<int > const & lines ) { word_pos.clear(); static regex_table reg; std::vector<token_P2 > res; auto it = s.begin(); while (it != s.end()) { bool unsucc = true; for (auto& e : reg.table) { std::smatch m; //std::cerr<<"\tTest " << token_name[e.second]<<std:: endl; if (std::regex_search(it, s.end(), m, e.first, std::regex_constants::match_continuous)) { std::string str = m[0].str(); if (e.second != token::whitespace) { type_token tt = to_type_token(e.second); size_t now_num; switch (tt) { case type_token::keyword: case type_token::cpp_keyword: case type_token::delimiter: now_num = token_to_number(e.second); break; case type_token::double_literal: _CASE_X_VEC(std::stod(str), vlit_dbl); break; case type_token::int_literal: _CASE_X_VEC(std::stoll(str), vlit_int); break; case type_token::char_literal: _CASE_X_VEC(str[1], vlit_chr); break; case type_token::string_literal: _CASE_X_VEC(str.substr(1, str.size() - 2), vlit_str); break; case type_token::include_file: _CASE_X_VEC(str.substr(1, str.size() - 2), vlit_file); break; case type_token::identifier: _CASE_X_VEC(str, vlit_idt); break; default: break; } word_pos.push_back(std::distance(s.begin(), it)); res.emplace_back(tt, now_num); }//std::cerr << token_name[e.second] << " \"" << str <<"\""<< std::endl; it += str.size(); unsucc = false; break; } } if (unsucc) { std::string report; int dis = std::distance(s.begin(), it); auto line = std::lower_bound(lines.begin(), lines.end(), dis); if (*line != dis)line--; int chr = dis - *line; report += std::string("In line ") + std::to_string(distance(lines.begin(), line)) + ", char "+std::to_string(chr) + ": Unexpected character '";; report.push_back(*it); report += "'. "; throw (lex_error(report)); } } /* for (auto m : res) { std::cerr << "{" << token_name[m.first] << " ,\"" << m.second << "\"},"; } */ return res; } int token_to_number(token t) { return (int)t; } type_token to_type_token(token t) { if (token_to_number(t) >= 200) return type_token::delimiter; else if (token_to_number(t) < 100)return type_token::keyword; else if (token_to_number(t) < 150)return type_token::cpp_keyword; else switch (t) { case token::double_literal: return type_token::double_literal; case token::int_literal: return type_token::int_literal; case token::char_literal: return type_token::char_literal; case token::string_literal: return type_token::string_literal; case token::include_file: return type_token::include_file; case token::identifier: return type_token::identifier; default: return type_token::identifier; } } void assign_item(token_item &it, std::string const& s) { switch (it.first) { case token::char_literal: it.second = s[1]; break; case token::string_literal: it.second = s.substr(1, s.size() - 2); break; case token::double_literal: it.second = std::stod(s); break; case token::int_literal: it.second = std::stoll(s); break; case token::identifier: it.second = static_cast<std::string>(s); break; default: it.second = nullptr; break; } } std::string nameof(type_token t) { switch (t) { case type_token::keyword: return "keyword"; case type_token::cpp_keyword: return "cpp_keyword"; case type_token::double_literal: return "double_literal"; case type_token::int_literal: return "int_literal"; case type_token::char_literal: return "char_literal"; case type_token::string_literal: return "string_literal"; case type_token::include_file: return "include_file"; case type_token::identifier: return "identifier"; case type_token::delimiter: return "delimiter"; default: return ""; } } std::map<std::string, token> get_token_map() { std::map<std::string, token> tok_Mp; #define ADD_TOKEN(str,tok) tok_Mp.emplace(#str,tok) ADD_TOKEN('typedef', token::toktypedef); ADD_TOKEN('void', token::tokvoid); ADD_TOKEN('const', token::tokconst); ADD_TOKEN('volatile', token::tokvolatile); ADD_TOKEN('char', token::tokchar); ADD_TOKEN('int', token::tokint); ADD_TOKEN('unsigned', token::tokunsigned); ADD_TOKEN('short', token::tokshort); ADD_TOKEN('long', token::toklong); ADD_TOKEN('float', token::tokfloat); ADD_TOKEN('double', token::tokdouble); ADD_TOKEN('sizeof', token::toksizeof); ADD_TOKEN('struct', token::tokstruct); ADD_TOKEN('enum', token::tokenum); ADD_TOKEN('union', token::tokunion); ADD_TOKEN('if', token::tokif); ADD_TOKEN('else', token::tokelse); ADD_TOKEN('do', token::tokdo); ADD_TOKEN('for', token::tokfor); ADD_TOKEN('while', token::tokwhile); ADD_TOKEN('return', token::tokreturn); ADD_TOKEN('goto', token::tokgoto); ADD_TOKEN('switch', token::tokswitch); ADD_TOKEN('case', token::tokcase); ADD_TOKEN('default', token::tokdefault); ADD_TOKEN('break', token::tokbreak); ADD_TOKEN('continue', token::tokcontinue); ADD_TOKEN('auto', token::tokauto); ADD_TOKEN('register', token::tokregister); ADD_TOKEN('extern', token::tokextern); ADD_TOKEN('static', token::tokstatic); ADD_TOKEN('signed', token::toksigned); ADD_TOKEN('++', token::inc); ADD_TOKEN('--', token::dec); ADD_TOKEN('+=', token::addass); ADD_TOKEN('-=', token::subass); ADD_TOKEN('*=', token::mulass); ADD_TOKEN('/=', token::divass); ADD_TOKEN('%=', token::modass); ADD_TOKEN('<<=', token::shlass); ADD_TOKEN('>>=', token::shrass); ADD_TOKEN('|=', token::orass); ADD_TOKEN('&=', token::andass); ADD_TOKEN('^=', token::xorass); ADD_TOKEN('==', token::equal); ADD_TOKEN('||', token::lor); ADD_TOKEN('&&', token::land); ADD_TOKEN('!=', token::nequal); ADD_TOKEN('<=', token::lequal); ADD_TOKEN('>=', token::gequal); ADD_TOKEN('<<', token::shl); ADD_TOKEN('>>', token::shr); ADD_TOKEN('.', token::point); ADD_TOKEN('->', token::arrow); //ADD_TOKEN('', token::tokellipsis); //ADD_TOKEN('', token::hash); //ADD_TOKEN('', token::hashhash); ADD_TOKEN(';', token::semicolon); ADD_TOKEN('?', token::question); ADD_TOKEN('{', token::lbrace); ADD_TOKEN('}', token::rbrace); ADD_TOKEN('[', token::lbracket); ADD_TOKEN(']', token::rbracket); ADD_TOKEN('(', token::lparenthesis); ADD_TOKEN(')', token::rparenthesis); ADD_TOKEN('+', token::add); ADD_TOKEN('-', token::sub); ADD_TOKEN('*', token::mul); ADD_TOKEN('/', token::div); ADD_TOKEN('%', token::mod); ADD_TOKEN('!', token::not); ADD_TOKEN('~', token::bnot); ADD_TOKEN('&', token::band); ADD_TOKEN('|', token::bor); ADD_TOKEN('^', token::bxor); ADD_TOKEN('>', token::greater); ADD_TOKEN('<', token::less); ADD_TOKEN('=', token::assign); ADD_TOKEN(',', token::comma); ADD_TOKEN(':', token::colon); ADD_TOKEN('...', token::tokellipsis); ADD_TOKEN('dummy', token::dummy); // std::string grammar::literals[] = { "int_const", "char_const","float_const","id", "string","enumeration_const" }; ADD_TOKEN(int_const, token::int_literal); ADD_TOKEN(char_const, token::char_literal); ADD_TOKEN(float_const, token::double_literal); ADD_TOKEN(id, token::identifier); ADD_TOKEN(string, token::string_literal); ADD_TOKEN(enumeration_const, token::identifier); ADD_TOKEN('input', token::__builtin_input); ADD_TOKEN('output', token::__builtin_output); return tok_Mp; }
[ "joker_xii@outlook.com" ]
joker_xii@outlook.com
ae0caa609d42d4008eb24ebce0d5d6b149dc7c4e
34798f395210b568751ac34a64d7138a284fbed7
/KDicomD/mlConv.cpp
f1af1049eba2c3cff8fcce5745dfec9560f62d97
[]
no_license
SHyeonLee/summer2015
39259885eb959d7aeae20ff87bd9f73901c544d3
ac460bad6ccaa315dbad311722446b876e257361
refs/heads/master
2020-04-13T16:34:14.901798
2015-09-16T12:00:08
2015-09-16T12:00:08
39,883,654
1
0
null
null
null
null
UTF-8
C++
false
false
4,046
cpp
//////////////////////////////////////////////////////////////////////////// // mlConv.cpp #include "stdafx.h" #include "mlConv.h" #define CP_UTF16 1200 MlConv* MlConv::_instance = NULL; CRITICAL_SECTION MlConv::_cs; UINT MlConv::_cpDef = CP_ACP; MlConv::MlConv() : _pMlcc(NULL) { CoInitialize(NULL); } MlConv* mlConv() { return MlConv::instance(); } MlConv* MlConv::instance() { DWORD codePage; if (_instance == NULL) { _instance = new MlConv; if (_instance->init()) { int ret = GetLocaleInfo(LOCALE_SYSTEM_DEFAULT, LOCALE_IDEFAULTANSICODEPAGE | LOCALE_RETURN_NUMBER, (LPTSTR)&codePage, sizeof(codePage) / sizeof(TCHAR)); ASSERT(0 < ret); _cpDef = codePage; } } return _instance; } void MlConv::destroy() { DeleteCriticalSection(&_cs); release(); CoUninitialize(); delete _instance; _instance = NULL; } BOOL MlConv::init() { InitializeCriticalSection(&_cs); ASSERT(_pMlcc == NULL); HRESULT hr = CoCreateInstance(CLSID_CMLangConvertCharset, NULL, CLSCTX_ALL, IID_IMLangConvertCharset, (VOID **)&_pMlcc); if (hr != S_OK || !_pMlcc) return FALSE; return TRUE; } void MlConv::release() { if (_pMlcc) { IMLangConvertCharset_Release(_pMlcc); _pMlcc = NULL; } } BOOL MlConv::mb2Unicode(UINT cpIn, char* strSrc, WCHAR** pStrDst) { UINT lenSrc; UINT lenDst; if (strSrc) lenSrc = (UINT)strlen(strSrc); else lenSrc = 0; lenDst = lenSrc; ASSERT(pStrDst); *pStrDst = new WCHAR[lenDst +1]; EnterCriticalSection(&_cs); ASSERT(_pMlcc); if (IMLangConvertCharset_Initialize(_pMlcc, cpIn, CP_UTF16, 0) == S_OK) { if (IMLangConvertCharset_DoConversionToUnicode(_pMlcc, strSrc, &lenSrc, *pStrDst, &lenDst) == S_OK) { (*pStrDst)[lenDst] = L'\0'; LeaveCriticalSection(&_cs); return TRUE; } } LeaveCriticalSection(&_cs); return FALSE; } BOOL MlConv::unicode2Mb(UINT cpOut, LPCWSTR strSrc, char** pStrDst) { UINT lenSrc; UINT lenDst; ASSERT(pStrDst); if (strSrc) { lenSrc = (UINT)wcslen(strSrc); lenDst = WideCharToMultiByte(cpOut, 0, strSrc, lenSrc, *pStrDst, 0, NULL, NULL); } else lenDst = lenSrc = 0; *pStrDst = new char[lenDst +1]; if (lenDst == 0) return FALSE; if (0 < WideCharToMultiByte(cpOut, 0, (LPCWSTR)strSrc, lenSrc, *pStrDst, lenDst, NULL, NULL)) (*pStrDst)[lenDst] = '\0'; return TRUE; } CStringA MlConv::convStr(LPCSTR strSrc, UINT cpIn, UINT cpOut) { WCHAR* unicode = NULL; char* buf; char* strDst = NULL; CStringA str; if (!strSrc) return ""; int size = strlen(strSrc) + 1; buf = new char[size]; strcpy_s(buf, size, strSrc); if (mb2Unicode(cpIn, buf, &unicode)) { if (unicode2Mb(cpOut, unicode, &strDst)) { str = strDst; delete[] strDst; delete[] unicode; delete[] buf; return str; } delete[] strDst; } delete[] unicode; delete[] buf; return ""; } CStringA MlConv::convStr(LPCWSTR strSrc, UINT cpOut) { char* strDst = NULL; CStringA str; if (unicode2Mb(cpOut, strSrc, &strDst)) { str = strDst; delete[] strDst; return str; } delete[] strDst; return ""; } CStringA MlConv::convStr(LPCWSTR strSrc) { return convStr(strSrc, _cpDef); } CStringW MlConv::convStr(LPCSTR strSrc, UINT cpIn) { WCHAR* unicode = NULL; CStringW str; if (strSrc) { int size = strlen(strSrc) + 1; char* buf = new char[size]; strcpy_s(buf, size, strSrc); if (mb2Unicode(cpIn, buf, &unicode)) { str = unicode; delete[] unicode; delete[] buf; return str; } delete[] unicode; delete[] buf; } return L""; } CStringW MlConv::convStr(LPCSTR strSrc) { return convStr(strSrc, _cpDef); }
[ "cupcola@naver.com" ]
cupcola@naver.com
1676ae9f0f16206eda1372ed20953a7238626a88
fc31485d6e76bed4fadd3f687149eed26a01485a
/dymamic/dynamic_a.cpp
a2f0a8dfac908aec7a4a3d3784e7c8a442c02eb8
[]
no_license
ZHUXUHAN/cuda-cpp-c-compile
cf4fa07ad22d01c1fb58d544353736be671f1442
dad8fc14b7dcaac8e533a8a0e31146fc73c708ad
refs/heads/master
2020-04-18T03:26:14.631532
2019-01-23T15:02:01
2019-01-23T15:02:01
167,198,642
2
0
null
null
null
null
UTF-8
C++
false
false
174
cpp
#include"dynamic.h" using namespace std; void dynamic_a() { cout<<"this is in dynamic_a"<<endl; <<<<<<< HEAD } ======= } >>>>>>> 771b0aff3664449711eb7ce37a768091b57affc4
[ "2513413259@qq.com" ]
2513413259@qq.com
015736911826159f4e4da79ccfd04f980f80e26f
bec30b3f91319632ed378920dd0b7ad89cab170b
/Hackerrank/Filling Jars/Filling Jars/main.cpp
ab87ebbfe00463002e0b7ee1cddbc77c3998af99
[]
no_license
nkuclassical/algorithmexercise
4034a85c2550627f44999fbd7c19cd0cef722f34
ec357eb55d10ab7c1f84ee93355720fdf962ec62
refs/heads/master
2021-01-18T23:10:25.405498
2015-11-09T19:11:40
2015-11-09T19:11:40
32,098,081
0
0
null
null
null
null
UTF-8
C++
false
false
388
cpp
// // main.cpp // Filling Jars // // Created by Yanqiao Zhan on 11/30/14. // Copyright (c) 2014 Yanqiao Zhan. All rights reserved. // #include <iostream> using namespace std; int main(int argc, const char * argv[]) { size_t N,M,a,b,k,sum=0; cin>>N>>M; for(int i=0;i<M;i++) { cin>>a>>b>>k; sum+=(b-a+1)*k; } cout<<sum/N<<endl; return 0; }
[ "yzhan14@stevens.edu" ]
yzhan14@stevens.edu
8b3c08ef2e8cbec23bc49032a34ea07732715051
ad934eeba2ac2a3c1d49b02af864790ece137034
/Training/2016 Multi-University Training Contest 10/4.cpp
c2e4677dc22cf1b659ae1b2eedddb3a71c77b60f
[]
no_license
xiang578/acm-icpc
19b3d8c7771b935293749f5ccad0591cde8fc896
6f2fdfc62bd689842c80b1caee2d4caf8162d72f
refs/heads/master
2022-01-12T12:28:43.381927
2022-01-12T04:20:44
2022-01-12T04:20:44
39,777,634
0
0
null
null
null
null
UTF-8
C++
false
false
2,109
cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=200000+5; ll a[N],ans; struct Tree { int left,right; ll sum,f; }tree[4*N+10]; void build(int id,int l,int r) { tree[id].left=l; tree[id].right=r; tree[id].f=-1; if (l==r) tree[id].sum=a[l]; else { int mid=(l+r)/2; build(id*2,l,mid); build(id*2+1,mid+1,r); tree[id].sum=tree[id*2].sum+tree[id*2+1].sum; } } void pushdown(int id) { if(tree[id].f!=-1) { tree[id*2].f=tree[id*2+1].f=tree[id].f; tree[id*2].sum=tree[id].f*(tree[id*2].right-tree[id*2].left+1); tree[id*2+1].sum=tree[id].f*(tree[id*2+1].right-tree[id*2+1].left+1); tree[id].f=-1; } } void update(int id,int l,int r, ll val) { if (l<=tree[id].left&&tree[id].right<=r) { tree[id].f=val; tree[id].sum=val*(tree[id].right-tree[id].left+1); } else { pushdown(id); int mid=(tree[id].left+tree[id].right)/2; if(l<=mid) update(id*2,l,r,val); if(r>mid) update(id*2+1,l,r,val); tree[id].sum=tree[id*2].sum+tree[id*2+1].sum; } } ll query(int id,int l,int r) { printf("%d %d\n",l,r); if (l==tree[id].left&&tree[id].right==r) { pushdown(id); printf("%lld\n",tree[id].sum); return tree[id].sum; } else { pushdown(id); int mid=(tree[id].left+tree[id].right)/2; if(r<=mid) return query(id*2,l,r); else if(l>mid) return query(id*2+1,l,r); else return query(id*2,l,mid)+query(id*2+1,mid+1,r); } } int main() { int n,m; int u,v,t; while(~scanf("%d%d",&n,&m)) { for(int i=1;i<=n-1;i++) scanf("%lld",&a[i]); build(1,1,n-1); for(int i=0;i<m;i++) { scanf("%d%d",&u,&v); //if(u>v) {t=u;u=v;v=t;}; if(u>v) swap(u,v); v--; //printf("%d %d\n",u,v); ll ans=query(1,u,v); printf("%lld\n",ans); update(1,u,v,0); } } return 0; }
[ "xiang578@foxmail.com" ]
xiang578@foxmail.com
5494a7d346bdb0b943980cd74809417d26a035c1
761e15d5dad0eef8a330ca36d4a09a049bb1d2d0
/zhou_yb/extension/security/openssl/OpenSSL_Base.h
e3a60fac5b28d00809935f2056ac6aec8c3abf2a
[]
no_license
radtek/libzhouyb
8abff4942faf2aca898929dce2c0571097ec3377
05bab65246d760d94db3028267ef488a74ea26a1
refs/heads/master
2020-06-01T11:07:08.930921
2016-05-21T01:51:00
2016-05-21T01:51:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,013
h
//========================================================= /**@file OpenSSL_Base.h * @brief OpenSSL引用基本定义 * * @date 2014-10-25 10:56:48 * @author Zhyioo * @version 1.0 */ //--------------------------------------------------------- #ifndef _LIBZHOUYB_OPENSSL_BASE_H_ #define _LIBZHOUYB_OPENSSL_BASE_H_ //--------------------------------------------------------- #include "../../../include/Base.h" #include <openssl/rand.h> #pragma comment(lib, "libeay32.lib") //--------------------------------------------------------- namespace zhou_yb { namespace extension { namespace security { //--------------------------------------------------------- /// openssl基本对象的封装,主要用于自动释放对象 template<class T, pointer TFunc> class openssl_obj { protected: shared_obj<T*> _val; public: openssl_obj(const T* val = NULL) { _val.obj() = const_cast<T*>(val); } openssl_obj(const openssl_obj& other) { _val = other._val; } virtual ~openssl_obj() { Free(); } bool IsNull() const { return _val.obj() == NULL; } void Free() { if(_val.ref_count() < 2 && _val.obj()) { typedef void(*FuncFree)(T*); if(TFunc != NULL) { FuncFree _FuncFree = reinterpret_cast<FuncFree>(TFunc); _FuncFree(_val.obj()); _val.obj() = NULL; } } } operator T*() { return _val.obj(); } operator const T*() { return _val.obj(); } T& operator *() { return *(_val.obj()); } T* operator ->() { return &(operator *()); } const T& operator *() const { return *(_val.obj()); } const T* operator ->() const { return &(operator *()); } openssl_obj& operator =(const T* val) { Free(); _val.obj() = const_cast<T*>(val); return *this; } openssl_obj& operator =(const openssl_obj& other) { Free(); _val = other._val; return *this; } }; //--------------------------------------------------------- class openssl_helper { protected: openssl_helper() {} public: /// 获取指定字节长度的随机数 static bool Random(ByteBuilder& random, size_t randomlen) { size_t lastLen = random.GetLength(); random.Append(static_cast<byte>(0x00), randomlen); byte* pDst = const_cast<byte*>(random.GetBuffer(lastLen)); if(RAND_bytes(pDst, randomlen) <= 0) { random.RemoveTail(randomlen); return false; } return true; } }; //--------------------------------------------------------- } // namespace security } // namespace extension } // namespace zhou_yb //--------------------------------------------------------- #endif // _LIBZHOUYB_OPENSSL_BASE_H_ //=========================================================
[ "zhyioo@vip.qq.com" ]
zhyioo@vip.qq.com
614d09afd7c6495a10f4268b9cc9355b41467f1c
a83321d88aecb6da6f72e5192de134b58c2dda2e
/Leetcode/May-Challenge/find-the-town-judge.cpp
c3db9d1606738fb05305ac81b2b30872e964698f
[ "MIT" ]
permissive
pragya-chauhan/dsa
8e3818c4b9e92900054c9b7646485a38db89393d
fe3f54df6802d2520142992b541602ce5ee24f26
refs/heads/master
2023-03-25T19:43:01.314340
2021-03-22T18:24:12
2021-03-22T18:24:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
536
cpp
class Solution { public: int findJudge(int N, vector<vector<int>>& trust) { if(N == 1) { return 1; } vector<int> nums(N+1, 0); for(int i = 0;i<trust.size();i++) { //All the outcoming ones! nums[trust[i][0]]--; // All the Incoming ones! nums[trust[i][1]]++; } for(int i = 0 ; i<= N ;i++) { if( nums[i] == N-1) return i; } return -1; } };
[ "geekyabhi12@gmail.com" ]
geekyabhi12@gmail.com
8775bb5508c5fda10e3280243b923ff61c23778e
20e7990890414b27083c10b46b8dbdd91de87094
/C_Tutorships/some_Cpp_functions/CAP15/P323.CPP
8c2f36ae458ad38de2866d58bf9ee7aa507c7975
[]
no_license
agudeloandres/C_Struct_Files
eb3aa9a62c596939a79f1e13c2f5cc04543592ec
cafe017f5dad4cec5d1ea2fabf4d6c646c99a23b
refs/heads/master
2021-01-10T14:04:32.468058
2015-10-22T04:12:02
2015-10-22T04:12:02
44,718,124
0
0
null
null
null
null
UTF-8
C++
false
false
657
cpp
#include "stdio.h" #include "dos.h" #include "conio.h" int F(void) { printf ("Programa cancelado por el usuario\n"); printf ("Por favor hacer copia del archivo \'archi.txt\'\n"); printf ("Oprima una tecla...\n"); getch(); return (0); /* 0 Aborta el programa */ /* Un valor diferente de cero, reasume la */ /* La ejecucion del programa */ } void main() { int F(void); int i; ctrlbrk (F); /* Habilita a la funcion F(), para ser ejecutada cuando se opriman las teclas Ctrl-C */ /* Para salir de este loop, se deben oprimir las teclas Ctrl-C */ for (i=0;;i++) { printf ("%3d Ejecutando ciclo infinito...\n",i); } }
[ "agudeloandres@gmail.com" ]
agudeloandres@gmail.com
95bc8a0e3a1815daff7255eba316d99772f3e8e5
37d08c745caee39da991debb54635065df1a8e2a
/testing/testing_dormql.cpp
e9a2af99267a2d4aeb62238c01609d8651732b1f
[]
no_license
kjbartel/magma
c936cd4838523779f31df418303c6bebb063aecd
3f0dd347d2e230c8474d1e22e05b550fa233c7a3
refs/heads/master
2020-06-06T18:12:56.286615
2015-06-04T17:20:40
2015-06-04T17:20:40
36,885,326
23
4
null
null
null
null
UTF-8
C++
false
false
7,367
cpp
/* -- MAGMA (version 1.6.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date January 2015 @author Mark Gates @generated from testing_zunmql.cpp normal z -> d, Fri Jan 30 19:00:26 2015 */ // includes, system #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <assert.h> // includes, project #include "flops.h" #include "magma.h" #include "magma_lapack.h" #include "testings.h" /* //////////////////////////////////////////////////////////////////////////// -- Testing dormql */ int main( int argc, char** argv ) { TESTING_INIT(); real_Double_t gflops, gpu_perf, gpu_time, cpu_perf, cpu_time; double error, work[1]; double c_neg_one = MAGMA_D_NEG_ONE; magma_int_t ione = 1; magma_int_t mm, m, n, k, size, info; magma_int_t ISEED[4] = {0,0,0,1}; magma_int_t nb, ldc, lda, lwork, lwork_max; double *C, *R, *A, *W, *tau; magma_int_t status = 0; magma_opts opts; parse_opts( argc, argv, &opts ); // need slightly looser bound (60*eps instead of 30*eps) for some tests opts.tolerance = max( 60., opts.tolerance ); double tol = opts.tolerance * lapackf77_dlamch("E"); // test all combinations of input parameters magma_side_t side [] = { MagmaLeft, MagmaRight }; magma_trans_t trans[] = { MagmaTrans, MagmaNoTrans }; printf(" M N K side trans CPU GFlop/s (sec) GPU GFlop/s (sec) ||R||_F / ||QC||_F\n"); printf("===============================================================================================\n"); for( int itest = 0; itest < opts.ntest; ++itest ) { for( int iside = 0; iside < 2; ++iside ) { for( int itran = 0; itran < 2; ++itran ) { for( int iter = 0; iter < opts.niter; ++iter ) { m = opts.msize[itest]; n = opts.nsize[itest]; k = opts.ksize[itest]; nb = magma_get_dgeqlf_nb( m ); ldc = m; // A is m x k (left) or n x k (right) mm = (side[iside] == MagmaLeft ? m : n); lda = mm; gflops = FLOPS_DORMQL( m, n, k, side[iside] ) / 1e9; if ( side[iside] == MagmaLeft && m < k ) { printf( "%5d %5d %5d %4c %5c skipping because side=left and m < k\n", (int) m, (int) n, (int) k, lapacke_side_const( side[iside] ), lapacke_trans_const( trans[itran] ) ); continue; } if ( side[iside] == MagmaRight && n < k ) { printf( "%5d %5d %5d %4c %5c skipping because side=right and n < k\n", (int) m, (int) n, (int) k, lapacke_side_const( side[iside] ), lapacke_trans_const( trans[itran] ) ); continue; } // need at least 2*nb*nb for geqlf lwork_max = max( max( m*nb, n*nb ), 2*nb*nb ); TESTING_MALLOC_CPU( C, double, ldc*n ); TESTING_MALLOC_CPU( R, double, ldc*n ); TESTING_MALLOC_CPU( A, double, lda*k ); TESTING_MALLOC_CPU( W, double, lwork_max ); TESTING_MALLOC_CPU( tau, double, k ); // C is full, m x n size = ldc*n; lapackf77_dlarnv( &ione, ISEED, &size, C ); lapackf77_dlacpy( "Full", &m, &n, C, &ldc, R, &ldc ); size = lda*k; lapackf77_dlarnv( &ione, ISEED, &size, A ); // compute QL factorization to get Householder vectors in A, tau magma_dgeqlf( mm, k, A, lda, tau, W, lwork_max, &info ); if (info != 0) printf("magma_dgeqlf returned error %d: %s.\n", (int) info, magma_strerror( info )); /* ===================================================================== Performs operation using LAPACK =================================================================== */ cpu_time = magma_wtime(); lapackf77_dormql( lapack_side_const( side[iside] ), lapack_trans_const( trans[itran] ), &m, &n, &k, A, &lda, tau, C, &ldc, W, &lwork_max, &info ); cpu_time = magma_wtime() - cpu_time; cpu_perf = gflops / cpu_time; if (info != 0) printf("lapackf77_dormql returned error %d: %s.\n", (int) info, magma_strerror( info )); /* ==================================================================== Performs operation using MAGMA =================================================================== */ // query for workspace size lwork = -1; magma_dormql( side[iside], trans[itran], m, n, k, A, lda, tau, R, ldc, W, lwork, &info ); if (info != 0) printf("magma_dormql (lwork query) returned error %d: %s.\n", (int) info, magma_strerror( info )); lwork = (magma_int_t) MAGMA_D_REAL( W[0] ); if ( lwork < 0 || lwork > lwork_max ) { printf("optimal lwork %d > lwork_max %d\n", (int) lwork, (int) lwork_max ); lwork = lwork_max; } gpu_time = magma_wtime(); magma_dormql( side[iside], trans[itran], m, n, k, A, lda, tau, R, ldc, W, lwork, &info ); gpu_time = magma_wtime() - gpu_time; gpu_perf = gflops / gpu_time; if (info != 0) printf("magma_dormql returned error %d: %s.\n", (int) info, magma_strerror( info )); /* ===================================================================== compute relative error |QC_magma - QC_lapack| / |QC_lapack| =================================================================== */ error = lapackf77_dlange( "Fro", &m, &n, C, &ldc, work ); size = ldc*n; blasf77_daxpy( &size, &c_neg_one, C, &ione, R, &ione ); error = lapackf77_dlange( "Fro", &m, &n, R, &ldc, work ) / error; printf( "%5d %5d %5d %4c %5c %7.2f (%7.2f) %7.2f (%7.2f) %8.2e %s\n", (int) m, (int) n, (int) k, lapacke_side_const( side[iside] ), lapacke_trans_const( trans[itran] ), cpu_perf, cpu_time, gpu_perf, gpu_time, error, (error < tol ? "ok" : "failed") ); status += ! (error < tol); TESTING_FREE_CPU( C ); TESTING_FREE_CPU( R ); TESTING_FREE_CPU( A ); TESTING_FREE_CPU( W ); TESTING_FREE_CPU( tau ); fflush( stdout ); } if ( opts.niter > 1 ) { printf( "\n" ); } }} // end iside, itran printf( "\n" ); } TESTING_FINALIZE(); return status; }
[ "kjbartel@users.noreply.github.com" ]
kjbartel@users.noreply.github.com
9b4d341b936b75d4ef4e18c39d09db1c6a964a31
04cfdcc52a3c9880dc787447033ed2ae2487ad7e
/includes/acl/math/affine_matrix_32.h
db3293ea777d4e0197683851071d7413a81f5990
[ "MIT" ]
permissive
scipiox64/acl
b09500a0a1ebedda4fd830d5cbe41c83b69651ae
4575c1538dde3cb17b6cbbccbcbed71bcfc73b10
refs/heads/master
2020-09-06T10:59:56.810050
2019-04-12T00:24:28
2019-04-12T00:27:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,925
h
#pragma once //////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2017 Nicholas Frechette & Animation Compression Library contributors // // 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 "acl/core/compiler_utils.h" #include "acl/core/error.h" #include "acl/math/math.h" #include "acl/math/vector4_32.h" #include "acl/math/quat_32.h" ACL_IMPL_FILE_PRAGMA_PUSH namespace acl { ////////////////////////////////////////////////////////////////////////// // An 4x4 affine matrix represents a 3D rotation, 3D translation, and 3D scale. // It properly deals with skew/shear when present but once scale with mirroring is combined, // it cannot be safely extracted back. // // Affine matrices have their last column always equal to [0, 0, 0, 1] // // X axis == forward // Y axis == right // Z axis == up ////////////////////////////////////////////////////////////////////////// inline AffineMatrix_32 ACL_SIMD_CALL matrix_set(Vector4_32Arg0 x_axis, Vector4_32Arg1 y_axis, Vector4_32Arg2 z_axis, Vector4_32Arg3 w_axis) { ACL_ASSERT(vector_get_w(x_axis) == 0.0f, "X axis does not have a W component == 0.0"); ACL_ASSERT(vector_get_w(y_axis) == 0.0f, "Y axis does not have a W component == 0.0"); ACL_ASSERT(vector_get_w(z_axis) == 0.0f, "Z axis does not have a W component == 0.0"); ACL_ASSERT(vector_get_w(w_axis) == 1.0f, "W axis does not have a W component == 1.0"); return AffineMatrix_32{x_axis, y_axis, z_axis, w_axis}; } inline AffineMatrix_32 ACL_SIMD_CALL matrix_set(Quat_32Arg0 quat, Vector4_32Arg1 translation, Vector4_32Arg2 scale) { ACL_ASSERT(quat_is_normalized(quat), "Quaternion is not normalized"); const float x2 = quat_get_x(quat) + quat_get_x(quat); const float y2 = quat_get_y(quat) + quat_get_y(quat); const float z2 = quat_get_z(quat) + quat_get_z(quat); const float xx = quat_get_x(quat) * x2; const float xy = quat_get_x(quat) * y2; const float xz = quat_get_x(quat) * z2; const float yy = quat_get_y(quat) * y2; const float yz = quat_get_y(quat) * z2; const float zz = quat_get_z(quat) * z2; const float wx = quat_get_w(quat) * x2; const float wy = quat_get_w(quat) * y2; const float wz = quat_get_w(quat) * z2; Vector4_32 x_axis = vector_mul(vector_set(1.0f - (yy + zz), xy + wz, xz - wy, 0.0f), vector_get_x(scale)); Vector4_32 y_axis = vector_mul(vector_set(xy - wz, 1.0f - (xx + zz), yz + wx, 0.0f), vector_get_y(scale)); Vector4_32 z_axis = vector_mul(vector_set(xz + wy, yz - wx, 1.0f - (xx + yy), 0.0f), vector_get_z(scale)); Vector4_32 w_axis = vector_set(vector_get_x(translation), vector_get_y(translation), vector_get_z(translation), 1.0f); return matrix_set(x_axis, y_axis, z_axis, w_axis); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_identity_32() { return matrix_set(vector_set(1.0f, 0.0f, 0.0f, 0.0f), vector_set(0.0f, 1.0f, 0.0f, 0.0f), vector_set(0.0f, 0.0f, 1.0f, 0.0f), vector_set(0.0f, 0.0f, 0.0f, 1.0f)); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_cast(const AffineMatrix_64& input) { return matrix_set(vector_cast(input.x_axis), vector_cast(input.y_axis), vector_cast(input.z_axis), vector_cast(input.w_axis)); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_from_quat(Quat_32Arg0 quat) { ACL_ASSERT(quat_is_normalized(quat), "Quaternion is not normalized"); const float x2 = quat_get_x(quat) + quat_get_x(quat); const float y2 = quat_get_y(quat) + quat_get_y(quat); const float z2 = quat_get_z(quat) + quat_get_z(quat); const float xx = quat_get_x(quat) * x2; const float xy = quat_get_x(quat) * y2; const float xz = quat_get_x(quat) * z2; const float yy = quat_get_y(quat) * y2; const float yz = quat_get_y(quat) * z2; const float zz = quat_get_z(quat) * z2; const float wx = quat_get_w(quat) * x2; const float wy = quat_get_w(quat) * y2; const float wz = quat_get_w(quat) * z2; Vector4_32 x_axis = vector_set(1.0f - (yy + zz), xy + wz, xz - wy, 0.0f); Vector4_32 y_axis = vector_set(xy - wz, 1.0f - (xx + zz), yz + wx, 0.0f); Vector4_32 z_axis = vector_set(xz + wy, yz - wx, 1.0f - (xx + yy), 0.0f); Vector4_32 w_axis = vector_set(0.0f, 0.0f, 0.0f, 1.0f); return matrix_set(x_axis, y_axis, z_axis, w_axis); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_from_translation(Vector4_32Arg0 translation) { return matrix_set(vector_set(1.0f, 0.0f, 0.0f, 0.0f), vector_set(0.0f, 1.0f, 0.0f, 0.0f), vector_set(0.0f, 0.0f, 1.0f, 0.0f), vector_set(vector_get_x(translation), vector_get_y(translation), vector_get_z(translation), 1.0f)); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_from_scale(Vector4_32Arg0 scale) { ACL_ASSERT(!vector_any_near_equal3(scale, vector_zero_32()), "Scale cannot be zero"); return matrix_set(vector_set(vector_get_x(scale), 0.0f, 0.0f, 0.0f), vector_set(0.0f, vector_get_y(scale), 0.0f, 0.0f), vector_set(0.0f, 0.0f, vector_get_z(scale), 0.0f), vector_set(0.0f, 0.0f, 0.0f, 1.0f)); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_from_transform(Transform_32Arg0 transform) { return matrix_set(transform.rotation, transform.translation, transform.scale); } inline const Vector4_32& matrix_get_axis(const AffineMatrix_32& input, MatrixAxis axis) { switch (axis) { case MatrixAxis::X: return input.x_axis; case MatrixAxis::Y: return input.y_axis; case MatrixAxis::Z: return input.z_axis; case MatrixAxis::W: return input.w_axis; default: ACL_ASSERT(false, "Invalid matrix axis"); return input.x_axis; } } inline Vector4_32& matrix_get_axis(AffineMatrix_32& input, MatrixAxis axis) { switch (axis) { case MatrixAxis::X: return input.x_axis; case MatrixAxis::Y: return input.y_axis; case MatrixAxis::Z: return input.z_axis; case MatrixAxis::W: return input.w_axis; default: ACL_ASSERT(false, "Invalid matrix axis"); return input.x_axis; } } constexpr Vector4_32 ACL_SIMD_CALL matrix_get_axis(Vector4_32Arg0 x_axis, Vector4_32Arg1 y_axis, Vector4_32Arg2 z_axis, Vector4_32Arg3 w_axis, MatrixAxis axis) { return axis == MatrixAxis::X ? x_axis : (axis == MatrixAxis::Y ? y_axis : (axis == MatrixAxis::Z ? z_axis : w_axis)); } inline Quat_32 ACL_SIMD_CALL quat_from_matrix(AffineMatrix_32Arg0 input) { if (vector_all_near_equal3(input.x_axis, vector_zero_32()) || vector_all_near_equal3(input.y_axis, vector_zero_32()) || vector_all_near_equal3(input.z_axis, vector_zero_32())) { // Zero scale not supported, return the identity return quat_identity_32(); } const float mtx_trace = vector_get_x(input.x_axis) + vector_get_y(input.y_axis) + vector_get_z(input.z_axis); if (mtx_trace > 0.0f) { const float inv_trace = sqrt_reciprocal(mtx_trace + 1.0f); const float half_inv_trace = inv_trace * 0.5f; const float x = (vector_get_z(input.y_axis) - vector_get_y(input.z_axis)) * half_inv_trace; const float y = (vector_get_x(input.z_axis) - vector_get_z(input.x_axis)) * half_inv_trace; const float z = (vector_get_y(input.x_axis) - vector_get_x(input.y_axis)) * half_inv_trace; const float w = reciprocal(inv_trace) * 0.5f; return quat_normalize(quat_set(x, y, z, w)); } else { int8_t best_axis = 0; if (vector_get_y(input.y_axis) > vector_get_x(input.x_axis)) best_axis = 1; if (vector_get_z(input.z_axis) > vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(best_axis)), VectorMix(best_axis))) best_axis = 2; const int8_t next_best_axis = (best_axis + 1) % 3; const int8_t next_next_best_axis = (next_best_axis + 1) % 3; const float mtx_pseudo_trace = 1.0f + vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(best_axis)), VectorMix(best_axis)) - vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_best_axis)), VectorMix(next_best_axis)) - vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_next_best_axis)), VectorMix(next_next_best_axis)); const float inv_pseudo_trace = sqrt_reciprocal(mtx_pseudo_trace); const float half_inv_pseudo_trace = inv_pseudo_trace * 0.5f; float quat_values[4]; quat_values[best_axis] = reciprocal(inv_pseudo_trace) * 0.5f; quat_values[next_best_axis] = half_inv_pseudo_trace * (vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(best_axis)), VectorMix(next_best_axis)) + vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_best_axis)), VectorMix(best_axis))); quat_values[next_next_best_axis] = half_inv_pseudo_trace * (vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(best_axis)), VectorMix(next_next_best_axis)) + vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_next_best_axis)), VectorMix(best_axis))); quat_values[3] = half_inv_pseudo_trace * (vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_best_axis)), VectorMix(next_next_best_axis)) - vector_get_component(matrix_get_axis(input.x_axis, input.y_axis, input.z_axis, input.w_axis, MatrixAxis(next_next_best_axis)), VectorMix(next_best_axis))); return quat_normalize(quat_unaligned_load(&quat_values[0])); } } // Multiplication order is as follow: local_to_world = matrix_mul(local_to_object, object_to_world) inline AffineMatrix_32 ACL_SIMD_CALL matrix_mul(AffineMatrix_32Arg0 lhs, AffineMatrix_32ArgN rhs) { Vector4_32 tmp = vector_mul(vector_mix_xxxx(lhs.x_axis), rhs.x_axis); tmp = vector_mul_add(vector_mix_yyyy(lhs.x_axis), rhs.y_axis, tmp); tmp = vector_mul_add(vector_mix_zzzz(lhs.x_axis), rhs.z_axis, tmp); Vector4_32 x_axis = tmp; tmp = vector_mul(vector_mix_xxxx(lhs.y_axis), rhs.x_axis); tmp = vector_mul_add(vector_mix_yyyy(lhs.y_axis), rhs.y_axis, tmp); tmp = vector_mul_add(vector_mix_zzzz(lhs.y_axis), rhs.z_axis, tmp); Vector4_32 y_axis = tmp; tmp = vector_mul(vector_mix_xxxx(lhs.z_axis), rhs.x_axis); tmp = vector_mul_add(vector_mix_yyyy(lhs.z_axis), rhs.y_axis, tmp); tmp = vector_mul_add(vector_mix_zzzz(lhs.z_axis), rhs.z_axis, tmp); Vector4_32 z_axis = tmp; tmp = vector_mul(vector_mix_xxxx(lhs.w_axis), rhs.x_axis); tmp = vector_mul_add(vector_mix_yyyy(lhs.w_axis), rhs.y_axis, tmp); tmp = vector_mul_add(vector_mix_zzzz(lhs.w_axis), rhs.z_axis, tmp); Vector4_32 w_axis = vector_add(rhs.w_axis, tmp); return matrix_set(x_axis, y_axis, z_axis, w_axis); } inline Vector4_32 ACL_SIMD_CALL matrix_mul_position(AffineMatrix_32Arg0 lhs, Vector4_32Arg4 rhs) { Vector4_32 tmp0; Vector4_32 tmp1; tmp0 = vector_mul(vector_mix_xxxx(rhs), lhs.x_axis); tmp0 = vector_mul_add(vector_mix_yyyy(rhs), lhs.y_axis, tmp0); tmp1 = vector_mul_add(vector_mix_zzzz(rhs), lhs.z_axis, lhs.w_axis); return vector_add(tmp0, tmp1); } namespace math_impl { // Note: This is a generic matrix 4x4 transpose, the resulting matrix is no longer // affine because the last column is no longer [0,0,0,1] inline AffineMatrix_32 ACL_SIMD_CALL matrix_transpose(AffineMatrix_32Arg0 input) { Vector4_32 tmp0 = vector_mix_xyab(input.x_axis, input.y_axis); Vector4_32 tmp1 = vector_mix_zwcd(input.x_axis, input.y_axis); Vector4_32 tmp2 = vector_mix_xyab(input.z_axis, input.w_axis); Vector4_32 tmp3 = vector_mix_zwcd(input.z_axis, input.w_axis); Vector4_32 x_axis = vector_mix_xzac(tmp0, tmp2); Vector4_32 y_axis = vector_mix_ywbd(tmp0, tmp2); Vector4_32 z_axis = vector_mix_xzac(tmp1, tmp3); Vector4_32 w_axis = vector_mix_ywbd(tmp1, tmp3); return AffineMatrix_32{ x_axis, y_axis, z_axis, w_axis }; } } inline AffineMatrix_32 ACL_SIMD_CALL matrix_inverse(AffineMatrix_32Arg0 input) { // TODO: This is a generic matrix inverse function, implement the affine version? AffineMatrix_32 input_transposed = math_impl::matrix_transpose(input); Vector4_32 v00 = vector_mix_xxyy(input_transposed.z_axis); Vector4_32 v01 = vector_mix_xxyy(input_transposed.x_axis); Vector4_32 v02 = vector_mix_xzac(input_transposed.z_axis, input_transposed.x_axis); Vector4_32 v10 = vector_mix_zwzw(input_transposed.w_axis); Vector4_32 v11 = vector_mix_zwzw(input_transposed.y_axis); Vector4_32 v12 = vector_mix_ywbd(input_transposed.w_axis, input_transposed.y_axis); Vector4_32 d0 = vector_mul(v00, v10); Vector4_32 d1 = vector_mul(v01, v11); Vector4_32 d2 = vector_mul(v02, v12); v00 = vector_mix_zwzw(input_transposed.z_axis); v01 = vector_mix_zwzw(input_transposed.x_axis); v02 = vector_mix_ywbd(input_transposed.z_axis, input_transposed.x_axis); v10 = vector_mix_xxyy(input_transposed.w_axis); v11 = vector_mix_xxyy(input_transposed.y_axis); v12 = vector_mix_xzac(input_transposed.w_axis, input_transposed.y_axis); d0 = vector_neg_mul_sub(v00, v10, d0); d1 = vector_neg_mul_sub(v01, v11, d1); d2 = vector_neg_mul_sub(v02, v12, d2); v00 = vector_mix_yzxy(input_transposed.y_axis); v01 = vector_mix_zxyx(input_transposed.x_axis); v02 = vector_mix_yzxy(input_transposed.w_axis); Vector4_32 v03 = vector_mix_zxyx(input_transposed.z_axis); v10 = vector_mix_bywx(d0, d2); v11 = vector_mix_wbyz(d0, d2); v12 = vector_mix_dywx(d1, d2); Vector4_32 v13 = vector_mix_wdyz(d1, d2); Vector4_32 c0 = vector_mul(v00, v10); Vector4_32 c2 = vector_mul(v01, v11); Vector4_32 c4 = vector_mul(v02, v12); Vector4_32 c6 = vector_mul(v03, v13); v00 = vector_mix_zwyz(input_transposed.y_axis); v01 = vector_mix_wzwy(input_transposed.x_axis); v02 = vector_mix_zwyz(input_transposed.w_axis); v03 = vector_mix_wzwy(input_transposed.z_axis); v10 = vector_mix_wxya(d0, d2); v11 = vector_mix_zyax(d0, d2); v12 = vector_mix_wxyc(d1, d2); v13 = vector_mix_zycx(d1, d2); c0 = vector_neg_mul_sub(v00, v10, c0); c2 = vector_neg_mul_sub(v01, v11, c2); c4 = vector_neg_mul_sub(v02, v12, c4); c6 = vector_neg_mul_sub(v03, v13, c6); v00 = vector_mix_wxwx(input_transposed.y_axis); v01 = vector_mix_ywxz(input_transposed.x_axis); v02 = vector_mix_wxwx(input_transposed.w_axis); v03 = vector_mix_ywxz(input_transposed.z_axis); v10 = vector_mix_zbaz(d0, d2); v11 = vector_mix_bxwa(d0, d2); v12 = vector_mix_zdcz(d1, d2); v13 = vector_mix_dxwc(d1, d2); Vector4_32 c1 = vector_neg_mul_sub(v00, v10, c0); c0 = vector_mul_add(v00, v10, c0); Vector4_32 c3 = vector_mul_add(v01, v11, c2); c2 = vector_neg_mul_sub(v01, v11, c2); Vector4_32 c5 = vector_neg_mul_sub(v02, v12, c4); c4 = vector_mul_add(v02, v12, c4); Vector4_32 c7 = vector_mul_add(v03, v13, c6); c6 = vector_neg_mul_sub(v03, v13, c6); Vector4_32 x_axis = vector_mix_xbzd(c0, c1); Vector4_32 y_axis = vector_mix_xbzd(c2, c3); Vector4_32 z_axis = vector_mix_xbzd(c4, c5); Vector4_32 w_axis = vector_mix_xbzd(c6, c7); float det = vector_dot(x_axis, input_transposed.x_axis); Vector4_32 inv_det = vector_set(reciprocal(det)); x_axis = vector_mul(x_axis, inv_det); y_axis = vector_mul(y_axis, inv_det); z_axis = vector_mul(z_axis, inv_det); w_axis = vector_mul(w_axis, inv_det); #if defined(ACL_NO_INTRINSICS) w_axis = vector_set(vector_get_x(w_axis), vector_get_y(w_axis), vector_get_z(w_axis), 1.0f); #endif return matrix_set(x_axis, y_axis, z_axis, w_axis); } inline AffineMatrix_32 ACL_SIMD_CALL matrix_remove_scale(AffineMatrix_32Arg0 input) { AffineMatrix_32 result; result.x_axis = vector_normalize3(input.x_axis); result.y_axis = vector_normalize3(input.y_axis); result.z_axis = vector_normalize3(input.z_axis); result.w_axis = input.w_axis; return result; } } ACL_IMPL_FILE_PRAGMA_POP
[ "zeno490@gmail.com" ]
zeno490@gmail.com
d0dbdcc0ee265ece14dc2285394a31ca3194f239
227376dd80872a4cc6162061b873f071918fe68a
/src/blade_damage/WND_Files/turb_wnd_dir_A_I/dlc_NTM_seed2_mws7.hh
2376abb32425aa04614389400f0d046472981914
[]
no_license
byuflowlab/blade_damage
252761128fd5ae966147066eac4b49b201acd46b
aec5a1795b6ebe3f5c581e590ab0f5ed2b73dce2
refs/heads/master
2020-03-26T09:18:14.318923
2018-08-19T03:31:27
2018-08-19T03:31:27
144,744,036
0
0
null
null
null
null
UTF-8
C++
false
false
807,495
hh
! This hub-height wind-speed file was generated by TurbSim (v1.06.00, 21-Sep-2012) on 03-Feb-2018 at 23:29:43. ! ! The requested statistics for this data were: ! Mean Total Wind Speed = 7.000 m/s ! Turbulence Intensity = 21.700% ! ! Time HorSpd WndDir VerSpd HorShr VerShr LnVShr GstSpd ! (sec) (m/s) (deg) (m/s) (-) (-) (-) (m/s) 0.000 7.56 -7.89 0.23 0.000 0.200 0.000 0.00 0.050 7.63 -7.03 0.15 0.000 0.200 0.000 0.00 0.100 7.72 -5.13 0.10 0.000 0.200 0.000 0.00 0.150 7.43 -10.08 0.35 0.000 0.200 0.000 0.00 0.200 7.30 -7.66 0.68 0.000 0.200 0.000 0.00 0.250 7.26 -4.68 0.74 0.000 0.200 0.000 0.00 0.300 7.37 -3.28 0.92 0.000 0.200 0.000 0.00 0.350 7.20 -3.07 0.72 0.000 0.200 0.000 0.00 0.400 7.35 -3.12 0.61 0.000 0.200 0.000 0.00 0.450 7.71 -2.81 0.52 0.000 0.200 0.000 0.00 0.500 7.75 -2.19 0.39 0.000 0.200 0.000 0.00 0.550 7.66 -3.82 0.36 0.000 0.200 0.000 0.00 0.600 7.33 -2.34 0.64 0.000 0.200 0.000 0.00 0.650 7.52 -1.31 0.44 0.000 0.200 0.000 0.00 0.700 7.49 -0.81 0.16 0.000 0.200 0.000 0.00 0.750 7.61 -0.38 -0.02 0.000 0.200 0.000 0.00 0.800 7.82 -0.72 0.11 0.000 0.200 0.000 0.00 0.850 7.65 0.05 0.14 0.000 0.200 0.000 0.00 0.900 7.70 -0.27 0.21 0.000 0.200 0.000 0.00 0.950 7.41 2.31 0.60 0.000 0.200 0.000 0.00 1.000 7.59 2.48 0.73 0.000 0.200 0.000 0.00 1.050 7.67 -0.12 1.07 0.000 0.200 0.000 0.00 1.100 7.81 -3.57 1.11 0.000 0.200 0.000 0.00 1.150 7.92 -3.48 0.90 0.000 0.200 0.000 0.00 1.200 7.62 -2.29 0.88 0.000 0.200 0.000 0.00 1.250 7.54 -2.89 1.17 0.000 0.200 0.000 0.00 1.300 7.65 -1.49 1.54 0.000 0.200 0.000 0.00 1.350 7.86 -0.40 1.20 0.000 0.200 0.000 0.00 1.400 7.84 -0.84 0.91 0.000 0.200 0.000 0.00 1.450 7.80 3.83 0.44 0.000 0.200 0.000 0.00 1.500 7.74 5.52 0.75 0.000 0.200 0.000 0.00 1.550 7.68 1.82 0.90 0.000 0.200 0.000 0.00 1.600 7.78 2.25 0.74 0.000 0.200 0.000 0.00 1.650 7.79 6.81 0.63 0.000 0.200 0.000 0.00 1.700 7.85 2.35 0.62 0.000 0.200 0.000 0.00 1.750 7.87 3.61 0.35 0.000 0.200 0.000 0.00 1.800 7.73 3.67 0.37 0.000 0.200 0.000 0.00 1.850 8.33 4.48 0.62 0.000 0.200 0.000 0.00 1.900 8.36 4.62 0.88 0.000 0.200 0.000 0.00 1.950 8.26 3.02 1.05 0.000 0.200 0.000 0.00 2.000 8.30 2.85 1.35 0.000 0.200 0.000 0.00 2.050 8.48 1.92 1.60 0.000 0.200 0.000 0.00 2.100 8.18 -1.26 1.64 0.000 0.200 0.000 0.00 2.150 8.05 -0.96 1.70 0.000 0.200 0.000 0.00 2.200 8.05 -2.61 1.23 0.000 0.200 0.000 0.00 2.250 8.37 -3.88 1.54 0.000 0.200 0.000 0.00 2.300 8.00 -4.66 1.59 0.000 0.200 0.000 0.00 2.350 8.00 -7.54 1.46 0.000 0.200 0.000 0.00 2.400 8.13 -5.97 1.48 0.000 0.200 0.000 0.00 2.450 8.38 -4.30 1.91 0.000 0.200 0.000 0.00 2.500 8.08 -1.92 1.84 0.000 0.200 0.000 0.00 2.550 8.20 0.30 1.97 0.000 0.200 0.000 0.00 2.600 7.80 -0.02 1.92 0.000 0.200 0.000 0.00 2.650 7.62 -1.36 1.86 0.000 0.200 0.000 0.00 2.700 7.62 -5.38 1.37 0.000 0.200 0.000 0.00 2.750 7.65 -5.50 1.61 0.000 0.200 0.000 0.00 2.800 7.58 -5.18 1.52 0.000 0.200 0.000 0.00 2.850 7.80 -2.99 1.61 0.000 0.200 0.000 0.00 2.900 7.90 -3.91 1.45 0.000 0.200 0.000 0.00 2.950 7.93 -3.16 1.13 0.000 0.200 0.000 0.00 3.000 7.74 -3.01 1.65 0.000 0.200 0.000 0.00 3.050 7.77 -3.90 1.43 0.000 0.200 0.000 0.00 3.100 7.69 -2.78 1.53 0.000 0.200 0.000 0.00 3.150 7.65 -3.97 1.57 0.000 0.200 0.000 0.00 3.200 7.59 -5.24 1.48 0.000 0.200 0.000 0.00 3.250 7.76 -5.27 1.21 0.000 0.200 0.000 0.00 3.300 7.63 -5.16 1.30 0.000 0.200 0.000 0.00 3.350 8.16 -4.71 1.94 0.000 0.200 0.000 0.00 3.400 8.17 -10.60 2.05 0.000 0.200 0.000 0.00 3.450 8.35 -10.70 1.90 0.000 0.200 0.000 0.00 3.500 8.48 -9.97 1.95 0.000 0.200 0.000 0.00 3.550 8.19 -8.87 2.14 0.000 0.200 0.000 0.00 3.600 8.11 -4.45 1.86 0.000 0.200 0.000 0.00 3.650 8.08 -5.97 1.72 0.000 0.200 0.000 0.00 3.700 7.94 -9.31 1.79 0.000 0.200 0.000 0.00 3.750 8.02 -9.79 1.55 0.000 0.200 0.000 0.00 3.800 8.15 -11.53 1.48 0.000 0.200 0.000 0.00 3.850 8.03 -10.55 1.54 0.000 0.200 0.000 0.00 3.900 7.99 -10.74 1.94 0.000 0.200 0.000 0.00 3.950 7.71 -8.23 1.97 0.000 0.200 0.000 0.00 4.000 7.58 -7.63 2.04 0.000 0.200 0.000 0.00 4.050 7.47 -7.56 2.05 0.000 0.200 0.000 0.00 4.100 7.47 -7.17 1.94 0.000 0.200 0.000 0.00 4.150 7.41 -6.85 1.76 0.000 0.200 0.000 0.00 4.200 7.99 -5.11 1.78 0.000 0.200 0.000 0.00 4.250 8.36 -4.65 1.82 0.000 0.200 0.000 0.00 4.300 8.26 -6.28 1.52 0.000 0.200 0.000 0.00 4.350 8.11 -6.41 1.20 0.000 0.200 0.000 0.00 4.400 8.25 -5.82 1.07 0.000 0.200 0.000 0.00 4.450 8.33 -2.39 1.12 0.000 0.200 0.000 0.00 4.500 8.45 -2.14 1.01 0.000 0.200 0.000 0.00 4.550 8.62 -3.40 0.85 0.000 0.200 0.000 0.00 4.600 8.48 -6.33 0.69 0.000 0.200 0.000 0.00 4.650 8.05 -5.58 0.80 0.000 0.200 0.000 0.00 4.700 8.11 -6.45 0.85 0.000 0.200 0.000 0.00 4.750 8.58 -9.93 0.82 0.000 0.200 0.000 0.00 4.800 8.38 -8.71 0.55 0.000 0.200 0.000 0.00 4.850 8.02 -9.57 0.78 0.000 0.200 0.000 0.00 4.900 7.96 -9.21 0.79 0.000 0.200 0.000 0.00 4.950 8.20 -10.73 0.63 0.000 0.200 0.000 0.00 5.000 8.05 -12.78 0.76 0.000 0.200 0.000 0.00 5.050 8.38 -14.65 0.68 0.000 0.200 0.000 0.00 5.100 8.32 -14.51 0.64 0.000 0.200 0.000 0.00 5.150 8.26 -12.02 0.45 0.000 0.200 0.000 0.00 5.200 8.27 -12.57 0.26 0.000 0.200 0.000 0.00 5.250 8.11 -12.83 0.55 0.000 0.200 0.000 0.00 5.300 8.11 -13.37 0.82 0.000 0.200 0.000 0.00 5.350 8.30 -16.38 1.05 0.000 0.200 0.000 0.00 5.400 8.43 -13.15 1.14 0.000 0.200 0.000 0.00 5.450 8.13 -14.19 1.29 0.000 0.200 0.000 0.00 5.500 7.89 -15.97 1.35 0.000 0.200 0.000 0.00 5.550 7.70 -16.60 0.97 0.000 0.200 0.000 0.00 5.600 7.69 -16.29 0.24 0.000 0.200 0.000 0.00 5.650 7.71 -13.59 0.21 0.000 0.200 0.000 0.00 5.700 7.54 -9.30 0.13 0.000 0.200 0.000 0.00 5.750 7.48 -8.22 -0.17 0.000 0.200 0.000 0.00 5.800 7.30 -6.81 0.16 0.000 0.200 0.000 0.00 5.850 7.35 -8.78 0.28 0.000 0.200 0.000 0.00 5.900 7.70 -9.43 0.19 0.000 0.200 0.000 0.00 5.950 7.67 -9.93 0.13 0.000 0.200 0.000 0.00 6.000 7.96 -11.06 -0.15 0.000 0.200 0.000 0.00 6.050 7.98 -11.08 0.11 0.000 0.200 0.000 0.00 6.100 8.03 -8.79 0.19 0.000 0.200 0.000 0.00 6.150 7.92 -8.74 0.46 0.000 0.200 0.000 0.00 6.200 7.91 -8.26 0.87 0.000 0.200 0.000 0.00 6.250 7.77 -8.88 0.95 0.000 0.200 0.000 0.00 6.300 7.59 -9.77 0.82 0.000 0.200 0.000 0.00 6.350 8.01 -10.22 0.40 0.000 0.200 0.000 0.00 6.400 7.95 -9.60 0.25 0.000 0.200 0.000 0.00 6.450 8.06 -9.07 0.45 0.000 0.200 0.000 0.00 6.500 8.30 -9.68 0.04 0.000 0.200 0.000 0.00 6.550 7.98 -11.89 -0.16 0.000 0.200 0.000 0.00 6.600 7.97 -10.63 -0.25 0.000 0.200 0.000 0.00 6.650 8.03 -10.33 -0.53 0.000 0.200 0.000 0.00 6.700 8.19 -8.15 -0.82 0.000 0.200 0.000 0.00 6.750 8.13 -7.61 -0.68 0.000 0.200 0.000 0.00 6.800 8.19 -11.48 0.01 0.000 0.200 0.000 0.00 6.850 8.13 -9.52 -0.31 0.000 0.200 0.000 0.00 6.900 8.04 -9.41 -0.06 0.000 0.200 0.000 0.00 6.950 7.75 -7.34 -0.22 0.000 0.200 0.000 0.00 7.000 8.27 -7.33 -0.07 0.000 0.200 0.000 0.00 7.050 8.39 -5.99 -0.24 0.000 0.200 0.000 0.00 7.100 8.03 -6.71 -0.26 0.000 0.200 0.000 0.00 7.150 8.34 -3.65 -0.01 0.000 0.200 0.000 0.00 7.200 8.64 -4.31 -0.11 0.000 0.200 0.000 0.00 7.250 8.64 -4.20 0.00 0.000 0.200 0.000 0.00 7.300 8.73 -3.06 -0.15 0.000 0.200 0.000 0.00 7.350 8.63 -3.26 -0.10 0.000 0.200 0.000 0.00 7.400 8.94 -4.86 -0.17 0.000 0.200 0.000 0.00 7.450 8.69 -6.03 -0.48 0.000 0.200 0.000 0.00 7.500 9.05 -7.55 -0.34 0.000 0.200 0.000 0.00 7.550 9.11 -6.22 -0.29 0.000 0.200 0.000 0.00 7.600 9.13 -6.69 -0.37 0.000 0.200 0.000 0.00 7.650 9.48 -6.00 -0.06 0.000 0.200 0.000 0.00 7.700 9.44 -3.99 -0.21 0.000 0.200 0.000 0.00 7.750 9.48 -3.65 -0.01 0.000 0.200 0.000 0.00 7.800 9.41 -5.06 -0.21 0.000 0.200 0.000 0.00 7.850 9.36 -5.13 -0.59 0.000 0.200 0.000 0.00 7.900 9.62 -4.97 -0.32 0.000 0.200 0.000 0.00 7.950 9.56 -4.16 -0.42 0.000 0.200 0.000 0.00 8.000 9.18 -2.38 -0.55 0.000 0.200 0.000 0.00 8.050 9.38 -2.15 -0.61 0.000 0.200 0.000 0.00 8.100 9.38 -2.45 -0.83 0.000 0.200 0.000 0.00 8.150 9.18 -3.64 -0.55 0.000 0.200 0.000 0.00 8.200 9.04 -2.48 -0.64 0.000 0.200 0.000 0.00 8.250 9.05 -3.40 -0.56 0.000 0.200 0.000 0.00 8.300 9.07 -1.87 -0.73 0.000 0.200 0.000 0.00 8.350 9.25 -2.49 -0.85 0.000 0.200 0.000 0.00 8.400 9.24 -0.44 -0.66 0.000 0.200 0.000 0.00 8.450 9.06 -0.96 -0.51 0.000 0.200 0.000 0.00 8.500 8.95 -0.17 -0.48 0.000 0.200 0.000 0.00 8.550 9.12 2.53 -0.11 0.000 0.200 0.000 0.00 8.600 9.07 2.81 -0.37 0.000 0.200 0.000 0.00 8.650 8.97 3.30 -0.47 0.000 0.200 0.000 0.00 8.700 9.05 4.12 0.04 0.000 0.200 0.000 0.00 8.750 9.08 4.67 -0.11 0.000 0.200 0.000 0.00 8.800 9.32 3.80 -0.05 0.000 0.200 0.000 0.00 8.850 9.24 3.79 -0.12 0.000 0.200 0.000 0.00 8.900 9.14 1.48 -0.41 0.000 0.200 0.000 0.00 8.950 9.14 -0.27 -0.10 0.000 0.200 0.000 0.00 9.000 9.27 -1.11 -0.02 0.000 0.200 0.000 0.00 9.050 9.06 -1.87 -0.15 0.000 0.200 0.000 0.00 9.100 9.47 -1.37 -0.62 0.000 0.200 0.000 0.00 9.150 9.57 -1.29 -0.31 0.000 0.200 0.000 0.00 9.200 9.38 0.26 0.33 0.000 0.200 0.000 0.00 9.250 9.03 0.73 0.05 0.000 0.200 0.000 0.00 9.300 9.63 0.76 0.08 0.000 0.200 0.000 0.00 9.350 9.66 3.13 -0.24 0.000 0.200 0.000 0.00 9.400 9.66 4.28 -0.47 0.000 0.200 0.000 0.00 9.450 9.56 5.73 -0.60 0.000 0.200 0.000 0.00 9.500 9.52 7.19 -0.63 0.000 0.200 0.000 0.00 9.550 9.32 9.09 -0.10 0.000 0.200 0.000 0.00 9.600 9.33 7.60 -0.17 0.000 0.200 0.000 0.00 9.650 9.31 12.10 -0.37 0.000 0.200 0.000 0.00 9.700 9.58 13.04 -0.31 0.000 0.200 0.000 0.00 9.750 9.48 11.03 -0.27 0.000 0.200 0.000 0.00 9.800 9.22 11.11 -0.07 0.000 0.200 0.000 0.00 9.850 9.17 12.74 -0.36 0.000 0.200 0.000 0.00 9.900 9.22 12.18 -0.45 0.000 0.200 0.000 0.00 9.950 9.41 9.36 -0.26 0.000 0.200 0.000 0.00 10.000 9.27 10.88 -0.22 0.000 0.200 0.000 0.00 10.050 9.32 10.22 -0.22 0.000 0.200 0.000 0.00 10.100 9.62 7.54 0.20 0.000 0.200 0.000 0.00 10.150 9.89 8.04 -0.06 0.000 0.200 0.000 0.00 10.200 9.65 5.12 -0.25 0.000 0.200 0.000 0.00 10.250 9.95 6.21 -0.24 0.000 0.200 0.000 0.00 10.300 9.84 4.27 -0.33 0.000 0.200 0.000 0.00 10.350 9.56 2.60 -0.28 0.000 0.200 0.000 0.00 10.400 9.29 5.17 -0.14 0.000 0.200 0.000 0.00 10.450 9.37 4.58 0.21 0.000 0.200 0.000 0.00 10.500 9.55 5.10 0.30 0.000 0.200 0.000 0.00 10.550 9.66 6.41 0.62 0.000 0.200 0.000 0.00 10.600 9.77 7.15 0.48 0.000 0.200 0.000 0.00 10.650 9.75 6.66 0.77 0.000 0.200 0.000 0.00 10.700 9.55 5.27 0.24 0.000 0.200 0.000 0.00 10.750 9.52 5.88 0.60 0.000 0.200 0.000 0.00 10.800 9.17 5.15 0.04 0.000 0.200 0.000 0.00 10.850 9.22 6.06 -0.14 0.000 0.200 0.000 0.00 10.900 9.41 8.29 0.07 0.000 0.200 0.000 0.00 10.950 9.25 6.14 0.26 0.000 0.200 0.000 0.00 11.000 9.15 7.77 0.58 0.000 0.200 0.000 0.00 11.050 9.42 8.11 0.56 0.000 0.200 0.000 0.00 11.100 9.76 7.93 0.39 0.000 0.200 0.000 0.00 11.150 9.80 10.01 0.68 0.000 0.200 0.000 0.00 11.200 9.53 10.75 0.48 0.000 0.200 0.000 0.00 11.250 9.42 12.39 0.25 0.000 0.200 0.000 0.00 11.300 9.51 13.91 0.36 0.000 0.200 0.000 0.00 11.350 9.58 14.15 0.07 0.000 0.200 0.000 0.00 11.400 9.82 11.22 -0.24 0.000 0.200 0.000 0.00 11.450 9.49 10.72 -0.01 0.000 0.200 0.000 0.00 11.500 9.25 13.02 0.26 0.000 0.200 0.000 0.00 11.550 9.23 12.35 0.22 0.000 0.200 0.000 0.00 11.600 9.44 9.24 -0.01 0.000 0.200 0.000 0.00 11.650 9.39 11.36 0.26 0.000 0.200 0.000 0.00 11.700 8.89 11.67 0.21 0.000 0.200 0.000 0.00 11.750 9.24 10.04 0.41 0.000 0.200 0.000 0.00 11.800 9.21 7.33 0.32 0.000 0.200 0.000 0.00 11.850 9.46 6.02 0.19 0.000 0.200 0.000 0.00 11.900 9.52 6.33 0.16 0.000 0.200 0.000 0.00 11.950 9.51 8.59 0.59 0.000 0.200 0.000 0.00 12.000 9.29 9.35 0.20 0.000 0.200 0.000 0.00 12.050 9.07 10.08 0.48 0.000 0.200 0.000 0.00 12.100 9.21 10.20 0.27 0.000 0.200 0.000 0.00 12.150 9.25 9.51 0.17 0.000 0.200 0.000 0.00 12.200 9.34 8.87 0.20 0.000 0.200 0.000 0.00 12.250 9.14 4.96 0.44 0.000 0.200 0.000 0.00 12.300 9.05 7.23 0.15 0.000 0.200 0.000 0.00 12.350 8.73 6.98 0.24 0.000 0.200 0.000 0.00 12.400 8.79 6.16 0.30 0.000 0.200 0.000 0.00 12.450 9.16 4.46 0.00 0.000 0.200 0.000 0.00 12.500 9.13 3.55 0.02 0.000 0.200 0.000 0.00 12.550 9.25 1.55 0.37 0.000 0.200 0.000 0.00 12.600 9.05 -0.34 0.59 0.000 0.200 0.000 0.00 12.650 8.99 -1.05 0.53 0.000 0.200 0.000 0.00 12.700 9.10 -1.41 0.94 0.000 0.200 0.000 0.00 12.750 8.82 0.38 0.75 0.000 0.200 0.000 0.00 12.800 9.09 -4.29 0.42 0.000 0.200 0.000 0.00 12.850 9.07 -5.34 0.89 0.000 0.200 0.000 0.00 12.900 9.18 -6.87 0.84 0.000 0.200 0.000 0.00 12.950 9.43 -8.04 0.56 0.000 0.200 0.000 0.00 13.000 9.50 -9.18 0.52 0.000 0.200 0.000 0.00 13.050 9.39 -5.42 0.29 0.000 0.200 0.000 0.00 13.100 9.16 -5.64 0.16 0.000 0.200 0.000 0.00 13.150 9.22 -5.48 0.11 0.000 0.200 0.000 0.00 13.200 9.38 -5.55 -0.40 0.000 0.200 0.000 0.00 13.250 9.37 -5.42 -0.06 0.000 0.200 0.000 0.00 13.300 9.20 -5.44 -0.12 0.000 0.200 0.000 0.00 13.350 9.68 -3.28 -0.06 0.000 0.200 0.000 0.00 13.400 9.49 -3.26 -0.15 0.000 0.200 0.000 0.00 13.450 9.53 -4.18 -0.21 0.000 0.200 0.000 0.00 13.500 9.33 -2.66 -0.35 0.000 0.200 0.000 0.00 13.550 8.96 -2.34 -0.11 0.000 0.200 0.000 0.00 13.600 9.15 -1.88 0.12 0.000 0.200 0.000 0.00 13.650 9.10 -4.26 0.52 0.000 0.200 0.000 0.00 13.700 9.45 -2.01 0.40 0.000 0.200 0.000 0.00 13.750 9.19 -0.22 0.22 0.000 0.200 0.000 0.00 13.800 9.10 0.62 0.28 0.000 0.200 0.000 0.00 13.850 9.05 -0.13 0.08 0.000 0.200 0.000 0.00 13.900 8.75 1.24 0.07 0.000 0.200 0.000 0.00 13.950 8.72 1.17 0.21 0.000 0.200 0.000 0.00 14.000 8.70 -0.14 0.33 0.000 0.200 0.000 0.00 14.050 8.36 1.45 0.54 0.000 0.200 0.000 0.00 14.100 8.66 -0.40 0.02 0.000 0.200 0.000 0.00 14.150 8.67 -4.68 -0.18 0.000 0.200 0.000 0.00 14.200 8.46 -6.21 -0.11 0.000 0.200 0.000 0.00 14.250 8.29 -3.53 -0.07 0.000 0.200 0.000 0.00 14.300 8.50 -2.92 -0.32 0.000 0.200 0.000 0.00 14.350 8.47 0.92 -0.04 0.000 0.200 0.000 0.00 14.400 8.48 1.71 0.01 0.000 0.200 0.000 0.00 14.450 8.31 3.30 0.34 0.000 0.200 0.000 0.00 14.500 8.40 4.12 0.07 0.000 0.200 0.000 0.00 14.550 8.46 2.59 -0.20 0.000 0.200 0.000 0.00 14.600 7.99 3.41 -0.25 0.000 0.200 0.000 0.00 14.650 7.68 3.27 0.09 0.000 0.200 0.000 0.00 14.700 8.03 6.09 0.14 0.000 0.200 0.000 0.00 14.750 8.13 5.57 0.05 0.000 0.200 0.000 0.00 14.800 8.09 6.70 -0.22 0.000 0.200 0.000 0.00 14.850 8.07 8.11 -0.08 0.000 0.200 0.000 0.00 14.900 7.52 9.40 0.17 0.000 0.200 0.000 0.00 14.950 7.36 8.98 0.20 0.000 0.200 0.000 0.00 15.000 7.08 5.46 -0.09 0.000 0.200 0.000 0.00 15.050 7.23 6.97 -0.10 0.000 0.200 0.000 0.00 15.100 7.38 7.41 -0.10 0.000 0.200 0.000 0.00 15.150 7.68 4.76 -0.26 0.000 0.200 0.000 0.00 15.200 7.67 7.91 -0.23 0.000 0.200 0.000 0.00 15.250 7.50 7.98 -0.26 0.000 0.200 0.000 0.00 15.300 7.65 7.97 -0.21 0.000 0.200 0.000 0.00 15.350 7.31 9.01 -0.23 0.000 0.200 0.000 0.00 15.400 7.59 9.16 -0.13 0.000 0.200 0.000 0.00 15.450 7.51 8.71 0.09 0.000 0.200 0.000 0.00 15.500 7.43 10.26 0.16 0.000 0.200 0.000 0.00 15.550 7.22 5.81 0.10 0.000 0.200 0.000 0.00 15.600 7.17 5.60 0.05 0.000 0.200 0.000 0.00 15.650 7.04 4.39 -0.29 0.000 0.200 0.000 0.00 15.700 7.12 7.10 0.18 0.000 0.200 0.000 0.00 15.750 7.41 7.12 0.14 0.000 0.200 0.000 0.00 15.800 7.27 5.63 0.47 0.000 0.200 0.000 0.00 15.850 7.15 8.00 0.63 0.000 0.200 0.000 0.00 15.900 7.16 7.10 0.18 0.000 0.200 0.000 0.00 15.950 7.19 7.69 -0.12 0.000 0.200 0.000 0.00 16.000 7.22 8.29 0.03 0.000 0.200 0.000 0.00 16.050 7.33 5.88 -0.12 0.000 0.200 0.000 0.00 16.100 7.16 6.01 -0.44 0.000 0.200 0.000 0.00 16.150 7.22 4.47 -0.70 0.000 0.200 0.000 0.00 16.200 7.23 3.40 -0.85 0.000 0.200 0.000 0.00 16.250 7.40 3.50 -0.92 0.000 0.200 0.000 0.00 16.300 7.90 -0.05 -0.81 0.000 0.200 0.000 0.00 16.350 7.60 -1.71 -0.81 0.000 0.200 0.000 0.00 16.400 7.56 -2.35 -0.62 0.000 0.200 0.000 0.00 16.450 7.72 -1.21 -0.61 0.000 0.200 0.000 0.00 16.500 7.70 -0.31 -0.24 0.000 0.200 0.000 0.00 16.550 7.61 0.98 -0.08 0.000 0.200 0.000 0.00 16.600 7.61 0.07 -0.38 0.000 0.200 0.000 0.00 16.650 7.45 -0.38 -0.54 0.000 0.200 0.000 0.00 16.700 7.37 2.40 -0.06 0.000 0.200 0.000 0.00 16.750 7.43 -1.24 0.09 0.000 0.200 0.000 0.00 16.800 7.44 -1.22 0.17 0.000 0.200 0.000 0.00 16.850 7.90 -0.17 -0.05 0.000 0.200 0.000 0.00 16.900 7.51 1.33 -0.16 0.000 0.200 0.000 0.00 16.950 7.80 -0.46 0.10 0.000 0.200 0.000 0.00 17.000 7.85 2.35 0.06 0.000 0.200 0.000 0.00 17.050 7.80 2.80 0.22 0.000 0.200 0.000 0.00 17.100 7.84 4.11 0.08 0.000 0.200 0.000 0.00 17.150 7.79 1.52 0.01 0.000 0.200 0.000 0.00 17.200 7.73 -2.32 0.18 0.000 0.200 0.000 0.00 17.250 7.95 -3.39 0.06 0.000 0.200 0.000 0.00 17.300 7.95 -2.83 -0.31 0.000 0.200 0.000 0.00 17.350 7.91 -0.97 -0.53 0.000 0.200 0.000 0.00 17.400 8.04 2.27 -0.05 0.000 0.200 0.000 0.00 17.450 7.81 3.49 0.51 0.000 0.200 0.000 0.00 17.500 7.84 2.13 0.93 0.000 0.200 0.000 0.00 17.550 7.74 1.84 1.35 0.000 0.200 0.000 0.00 17.600 8.10 1.40 1.19 0.000 0.200 0.000 0.00 17.650 7.96 3.05 1.28 0.000 0.200 0.000 0.00 17.700 7.86 1.33 0.96 0.000 0.200 0.000 0.00 17.750 7.89 1.11 1.12 0.000 0.200 0.000 0.00 17.800 7.65 4.85 1.42 0.000 0.200 0.000 0.00 17.850 7.61 5.16 1.18 0.000 0.200 0.000 0.00 17.900 7.31 4.77 1.09 0.000 0.200 0.000 0.00 17.950 7.10 2.29 1.23 0.000 0.200 0.000 0.00 18.000 6.98 3.47 1.15 0.000 0.200 0.000 0.00 18.050 7.03 4.67 1.33 0.000 0.200 0.000 0.00 18.100 7.14 3.70 1.16 0.000 0.200 0.000 0.00 18.150 6.99 6.08 1.41 0.000 0.200 0.000 0.00 18.200 7.06 3.78 1.21 0.000 0.200 0.000 0.00 18.250 6.93 4.74 1.45 0.000 0.200 0.000 0.00 18.300 6.94 4.86 1.46 0.000 0.200 0.000 0.00 18.350 6.90 4.22 1.66 0.000 0.200 0.000 0.00 18.400 7.14 5.77 1.81 0.000 0.200 0.000 0.00 18.450 6.92 6.77 1.95 0.000 0.200 0.000 0.00 18.500 6.94 10.37 2.09 0.000 0.200 0.000 0.00 18.550 7.54 10.87 2.02 0.000 0.200 0.000 0.00 18.600 7.58 12.54 1.36 0.000 0.200 0.000 0.00 18.650 7.44 12.95 1.33 0.000 0.200 0.000 0.00 18.700 7.40 11.02 1.06 0.000 0.200 0.000 0.00 18.750 7.50 11.76 1.28 0.000 0.200 0.000 0.00 18.800 7.59 12.04 1.27 0.000 0.200 0.000 0.00 18.850 7.15 13.28 1.63 0.000 0.200 0.000 0.00 18.900 6.88 11.45 1.82 0.000 0.200 0.000 0.00 18.950 7.08 13.52 1.91 0.000 0.200 0.000 0.00 19.000 6.85 12.10 2.37 0.000 0.200 0.000 0.00 19.050 6.95 14.37 2.19 0.000 0.200 0.000 0.00 19.100 7.18 14.32 2.26 0.000 0.200 0.000 0.00 19.150 7.23 13.96 2.04 0.000 0.200 0.000 0.00 19.200 7.47 16.44 1.75 0.000 0.200 0.000 0.00 19.250 7.16 14.17 1.64 0.000 0.200 0.000 0.00 19.300 6.93 12.76 1.88 0.000 0.200 0.000 0.00 19.350 6.93 14.23 1.81 0.000 0.200 0.000 0.00 19.400 6.97 14.52 1.53 0.000 0.200 0.000 0.00 19.450 7.17 11.80 1.26 0.000 0.200 0.000 0.00 19.500 7.24 11.59 1.26 0.000 0.200 0.000 0.00 19.550 7.14 10.98 1.34 0.000 0.200 0.000 0.00 19.600 7.10 11.39 1.60 0.000 0.200 0.000 0.00 19.650 7.30 10.60 1.58 0.000 0.200 0.000 0.00 19.700 7.26 7.74 1.78 0.000 0.200 0.000 0.00 19.750 7.18 7.64 1.69 0.000 0.200 0.000 0.00 19.800 7.38 6.55 1.30 0.000 0.200 0.000 0.00 19.850 7.45 7.65 1.34 0.000 0.200 0.000 0.00 19.900 7.62 6.04 1.09 0.000 0.200 0.000 0.00 19.950 7.74 6.52 1.07 0.000 0.200 0.000 0.00 20.000 7.39 4.73 0.96 0.000 0.200 0.000 0.00 20.050 7.46 3.01 0.75 0.000 0.200 0.000 0.00 20.100 7.47 3.34 1.03 0.000 0.200 0.000 0.00 20.150 7.61 1.71 1.12 0.000 0.200 0.000 0.00 20.200 7.61 1.18 0.97 0.000 0.200 0.000 0.00 20.250 7.55 1.59 0.99 0.000 0.200 0.000 0.00 20.300 7.78 1.73 1.44 0.000 0.200 0.000 0.00 20.350 7.97 1.63 1.43 0.000 0.200 0.000 0.00 20.400 7.75 0.75 0.91 0.000 0.200 0.000 0.00 20.450 7.85 3.19 0.69 0.000 0.200 0.000 0.00 20.500 8.48 0.49 0.80 0.000 0.200 0.000 0.00 20.550 8.43 -0.51 0.72 0.000 0.200 0.000 0.00 20.600 7.99 -0.63 1.07 0.000 0.200 0.000 0.00 20.650 8.11 0.55 1.45 0.000 0.200 0.000 0.00 20.700 8.64 1.66 1.75 0.000 0.200 0.000 0.00 20.750 8.68 1.08 1.60 0.000 0.200 0.000 0.00 20.800 8.46 2.07 2.11 0.000 0.200 0.000 0.00 20.850 8.21 0.36 2.09 0.000 0.200 0.000 0.00 20.900 8.05 -1.04 1.74 0.000 0.200 0.000 0.00 20.950 7.90 -0.70 1.90 0.000 0.200 0.000 0.00 21.000 7.71 -2.69 2.16 0.000 0.200 0.000 0.00 21.050 7.40 -3.45 1.92 0.000 0.200 0.000 0.00 21.100 7.34 -2.03 1.60 0.000 0.200 0.000 0.00 21.150 7.79 -1.54 1.73 0.000 0.200 0.000 0.00 21.200 8.28 -2.93 2.08 0.000 0.200 0.000 0.00 21.250 8.40 -3.13 2.28 0.000 0.200 0.000 0.00 21.300 8.58 -2.37 2.40 0.000 0.200 0.000 0.00 21.350 8.34 -1.23 2.34 0.000 0.200 0.000 0.00 21.400 8.19 -1.83 2.65 0.000 0.200 0.000 0.00 21.450 8.41 -1.55 2.56 0.000 0.200 0.000 0.00 21.500 8.84 -0.92 2.44 0.000 0.200 0.000 0.00 21.550 8.63 1.03 2.24 0.000 0.200 0.000 0.00 21.600 8.69 0.79 2.35 0.000 0.200 0.000 0.00 21.650 8.49 1.80 2.11 0.000 0.200 0.000 0.00 21.700 8.24 3.18 1.82 0.000 0.200 0.000 0.00 21.750 8.66 2.57 1.95 0.000 0.200 0.000 0.00 21.800 8.76 3.26 2.11 0.000 0.200 0.000 0.00 21.850 8.76 2.53 2.54 0.000 0.200 0.000 0.00 21.900 8.84 1.38 2.07 0.000 0.200 0.000 0.00 21.950 8.85 1.17 1.98 0.000 0.200 0.000 0.00 22.000 8.77 0.91 1.77 0.000 0.200 0.000 0.00 22.050 8.83 1.02 1.73 0.000 0.200 0.000 0.00 22.100 8.70 2.11 1.89 0.000 0.200 0.000 0.00 22.150 8.48 6.04 1.60 0.000 0.200 0.000 0.00 22.200 8.11 5.57 1.36 0.000 0.200 0.000 0.00 22.250 7.91 7.03 1.28 0.000 0.200 0.000 0.00 22.300 7.67 10.81 1.54 0.000 0.200 0.000 0.00 22.350 7.58 8.26 1.41 0.000 0.200 0.000 0.00 22.400 7.33 4.46 1.32 0.000 0.200 0.000 0.00 22.450 7.49 3.53 1.10 0.000 0.200 0.000 0.00 22.500 7.68 2.73 1.12 0.000 0.200 0.000 0.00 22.550 7.55 3.25 0.87 0.000 0.200 0.000 0.00 22.600 7.23 3.92 0.83 0.000 0.200 0.000 0.00 22.650 7.26 3.87 0.71 0.000 0.200 0.000 0.00 22.700 7.46 7.96 0.83 0.000 0.200 0.000 0.00 22.750 7.46 5.93 0.93 0.000 0.200 0.000 0.00 22.800 8.01 5.24 0.91 0.000 0.200 0.000 0.00 22.850 8.34 8.25 0.79 0.000 0.200 0.000 0.00 22.900 8.24 5.62 0.40 0.000 0.200 0.000 0.00 22.950 8.11 5.36 0.58 0.000 0.200 0.000 0.00 23.000 7.82 5.62 0.73 0.000 0.200 0.000 0.00 23.050 7.70 5.82 0.82 0.000 0.200 0.000 0.00 23.100 7.86 9.12 0.87 0.000 0.200 0.000 0.00 23.150 7.88 10.75 0.67 0.000 0.200 0.000 0.00 23.200 7.93 7.01 0.59 0.000 0.200 0.000 0.00 23.250 7.90 8.51 0.18 0.000 0.200 0.000 0.00 23.300 7.90 11.26 0.50 0.000 0.200 0.000 0.00 23.350 7.73 9.27 0.62 0.000 0.200 0.000 0.00 23.400 7.68 11.66 0.58 0.000 0.200 0.000 0.00 23.450 7.66 13.10 0.72 0.000 0.200 0.000 0.00 23.500 7.53 14.37 0.96 0.000 0.200 0.000 0.00 23.550 7.57 14.05 1.12 0.000 0.200 0.000 0.00 23.600 7.33 14.48 1.11 0.000 0.200 0.000 0.00 23.650 7.54 14.71 1.27 0.000 0.200 0.000 0.00 23.700 7.65 14.56 1.81 0.000 0.200 0.000 0.00 23.750 7.78 15.92 1.96 0.000 0.200 0.000 0.00 23.800 7.89 20.04 1.55 0.000 0.200 0.000 0.00 23.850 8.03 20.22 1.47 0.000 0.200 0.000 0.00 23.900 8.17 19.97 1.11 0.000 0.200 0.000 0.00 23.950 8.04 16.85 0.89 0.000 0.200 0.000 0.00 24.000 8.42 17.07 0.70 0.000 0.200 0.000 0.00 24.050 8.49 18.83 0.38 0.000 0.200 0.000 0.00 24.100 8.41 16.79 0.22 0.000 0.200 0.000 0.00 24.150 8.27 16.12 0.14 0.000 0.200 0.000 0.00 24.200 8.00 17.63 0.19 0.000 0.200 0.000 0.00 24.250 8.29 13.81 0.36 0.000 0.200 0.000 0.00 24.300 8.51 10.75 0.16 0.000 0.200 0.000 0.00 24.350 8.50 9.95 0.28 0.000 0.200 0.000 0.00 24.400 8.21 10.03 0.32 0.000 0.200 0.000 0.00 24.450 8.28 10.32 0.21 0.000 0.200 0.000 0.00 24.500 8.15 12.57 0.31 0.000 0.200 0.000 0.00 24.550 8.39 13.79 -0.12 0.000 0.200 0.000 0.00 24.600 8.30 12.02 0.22 0.000 0.200 0.000 0.00 24.650 8.44 12.83 0.22 0.000 0.200 0.000 0.00 24.700 8.03 13.96 0.07 0.000 0.200 0.000 0.00 24.750 8.07 13.46 0.21 0.000 0.200 0.000 0.00 24.800 8.18 13.72 -0.42 0.000 0.200 0.000 0.00 24.850 8.34 11.48 0.19 0.000 0.200 0.000 0.00 24.900 8.07 10.92 0.45 0.000 0.200 0.000 0.00 24.950 7.85 11.89 0.04 0.000 0.200 0.000 0.00 25.000 8.05 15.16 -0.02 0.000 0.200 0.000 0.00 25.050 7.87 13.62 -0.18 0.000 0.200 0.000 0.00 25.100 8.05 12.85 -0.13 0.000 0.200 0.000 0.00 25.150 7.95 12.79 0.10 0.000 0.200 0.000 0.00 25.200 8.15 12.83 0.00 0.000 0.200 0.000 0.00 25.250 8.09 12.73 -0.04 0.000 0.200 0.000 0.00 25.300 7.87 9.35 -0.39 0.000 0.200 0.000 0.00 25.350 7.91 8.63 -0.45 0.000 0.200 0.000 0.00 25.400 7.88 12.18 -0.45 0.000 0.200 0.000 0.00 25.450 7.65 10.32 -0.24 0.000 0.200 0.000 0.00 25.500 7.45 12.91 -0.31 0.000 0.200 0.000 0.00 25.550 7.03 11.85 -0.73 0.000 0.200 0.000 0.00 25.600 7.45 11.24 -0.92 0.000 0.200 0.000 0.00 25.650 7.55 9.20 -0.82 0.000 0.200 0.000 0.00 25.700 7.35 8.01 -1.10 0.000 0.200 0.000 0.00 25.750 7.52 9.14 -1.05 0.000 0.200 0.000 0.00 25.800 7.46 10.00 -0.76 0.000 0.200 0.000 0.00 25.850 7.41 8.65 -0.60 0.000 0.200 0.000 0.00 25.900 7.48 5.22 -0.44 0.000 0.200 0.000 0.00 25.950 7.37 6.20 -0.44 0.000 0.200 0.000 0.00 26.000 7.36 7.56 -0.32 0.000 0.200 0.000 0.00 26.050 7.41 9.92 -0.28 0.000 0.200 0.000 0.00 26.100 7.62 9.08 -0.27 0.000 0.200 0.000 0.00 26.150 7.91 10.76 -0.42 0.000 0.200 0.000 0.00 26.200 7.85 10.66 -0.31 0.000 0.200 0.000 0.00 26.250 7.50 9.00 -0.08 0.000 0.200 0.000 0.00 26.300 7.80 5.33 -0.16 0.000 0.200 0.000 0.00 26.350 7.91 4.10 -0.12 0.000 0.200 0.000 0.00 26.400 7.57 1.72 -0.26 0.000 0.200 0.000 0.00 26.450 7.36 -0.04 -0.01 0.000 0.200 0.000 0.00 26.500 7.46 3.10 0.09 0.000 0.200 0.000 0.00 26.550 7.76 4.66 0.41 0.000 0.200 0.000 0.00 26.600 8.28 3.67 0.38 0.000 0.200 0.000 0.00 26.650 8.47 4.43 0.42 0.000 0.200 0.000 0.00 26.700 8.30 3.24 0.44 0.000 0.200 0.000 0.00 26.750 8.19 0.41 0.14 0.000 0.200 0.000 0.00 26.800 8.07 1.54 0.39 0.000 0.200 0.000 0.00 26.850 7.80 1.84 0.64 0.000 0.200 0.000 0.00 26.900 7.68 2.92 0.48 0.000 0.200 0.000 0.00 26.950 7.70 4.68 0.42 0.000 0.200 0.000 0.00 27.000 7.77 7.91 0.79 0.000 0.200 0.000 0.00 27.050 7.40 12.90 0.94 0.000 0.200 0.000 0.00 27.100 7.41 13.70 1.01 0.000 0.200 0.000 0.00 27.150 7.47 13.11 1.14 0.000 0.200 0.000 0.00 27.200 7.52 9.12 1.07 0.000 0.200 0.000 0.00 27.250 7.60 8.51 1.13 0.000 0.200 0.000 0.00 27.300 7.44 9.85 1.14 0.000 0.200 0.000 0.00 27.350 7.44 9.10 1.15 0.000 0.200 0.000 0.00 27.400 7.48 8.51 0.63 0.000 0.200 0.000 0.00 27.450 7.26 6.62 0.94 0.000 0.200 0.000 0.00 27.500 7.47 4.45 1.37 0.000 0.200 0.000 0.00 27.550 7.66 1.38 1.06 0.000 0.200 0.000 0.00 27.600 7.41 0.76 0.77 0.000 0.200 0.000 0.00 27.650 7.41 4.21 0.80 0.000 0.200 0.000 0.00 27.700 7.90 6.36 0.97 0.000 0.200 0.000 0.00 27.750 7.90 5.83 0.88 0.000 0.200 0.000 0.00 27.800 8.04 7.70 0.78 0.000 0.200 0.000 0.00 27.850 8.47 4.60 0.77 0.000 0.200 0.000 0.00 27.900 8.27 3.59 0.79 0.000 0.200 0.000 0.00 27.950 8.07 2.02 0.84 0.000 0.200 0.000 0.00 28.000 7.97 2.72 0.67 0.000 0.200 0.000 0.00 28.050 7.77 1.32 0.01 0.000 0.200 0.000 0.00 28.100 8.08 1.15 0.41 0.000 0.200 0.000 0.00 28.150 8.48 2.59 0.37 0.000 0.200 0.000 0.00 28.200 8.55 2.73 0.35 0.000 0.200 0.000 0.00 28.250 8.28 5.26 0.26 0.000 0.200 0.000 0.00 28.300 7.91 6.16 0.02 0.000 0.200 0.000 0.00 28.350 8.02 6.00 0.16 0.000 0.200 0.000 0.00 28.400 7.82 5.23 0.47 0.000 0.200 0.000 0.00 28.450 7.81 1.55 0.23 0.000 0.200 0.000 0.00 28.500 7.66 3.46 0.06 0.000 0.200 0.000 0.00 28.550 7.78 2.26 0.26 0.000 0.200 0.000 0.00 28.600 8.02 3.91 0.29 0.000 0.200 0.000 0.00 28.650 8.07 2.02 0.43 0.000 0.200 0.000 0.00 28.700 8.31 2.84 0.44 0.000 0.200 0.000 0.00 28.750 8.39 -0.21 0.86 0.000 0.200 0.000 0.00 28.800 8.54 -0.53 0.57 0.000 0.200 0.000 0.00 28.850 8.66 2.07 0.51 0.000 0.200 0.000 0.00 28.900 8.74 3.24 0.50 0.000 0.200 0.000 0.00 28.950 8.48 -1.08 0.82 0.000 0.200 0.000 0.00 29.000 8.18 -1.86 0.80 0.000 0.200 0.000 0.00 29.050 8.20 2.41 0.56 0.000 0.200 0.000 0.00 29.100 8.67 -0.24 0.33 0.000 0.200 0.000 0.00 29.150 8.63 -2.43 0.17 0.000 0.200 0.000 0.00 29.200 8.57 -0.67 0.18 0.000 0.200 0.000 0.00 29.250 8.52 0.81 0.22 0.000 0.200 0.000 0.00 29.300 8.44 0.74 -0.01 0.000 0.200 0.000 0.00 29.350 8.01 -0.43 -0.44 0.000 0.200 0.000 0.00 29.400 8.15 2.20 0.09 0.000 0.200 0.000 0.00 29.450 8.44 0.32 0.12 0.000 0.200 0.000 0.00 29.500 8.55 2.65 -0.07 0.000 0.200 0.000 0.00 29.550 8.84 2.35 0.05 0.000 0.200 0.000 0.00 29.600 8.80 1.74 0.02 0.000 0.200 0.000 0.00 29.650 8.74 1.95 0.18 0.000 0.200 0.000 0.00 29.700 8.50 0.83 -0.02 0.000 0.200 0.000 0.00 29.750 8.52 1.26 -0.14 0.000 0.200 0.000 0.00 29.800 8.69 -0.45 0.09 0.000 0.200 0.000 0.00 29.850 8.46 0.40 0.32 0.000 0.200 0.000 0.00 29.900 8.42 0.70 0.28 0.000 0.200 0.000 0.00 29.950 8.54 2.80 0.09 0.000 0.200 0.000 0.00 30.000 8.62 2.88 0.33 0.000 0.200 0.000 0.00 30.050 8.75 1.06 0.29 0.000 0.200 0.000 0.00 30.100 8.86 -0.05 0.07 0.000 0.200 0.000 0.00 30.150 8.85 1.16 -0.09 0.000 0.200 0.000 0.00 30.200 8.86 -0.39 0.08 0.000 0.200 0.000 0.00 30.250 8.63 -2.15 -0.36 0.000 0.200 0.000 0.00 30.300 8.74 -1.64 -0.84 0.000 0.200 0.000 0.00 30.350 9.15 -0.41 -0.73 0.000 0.200 0.000 0.00 30.400 8.98 -0.03 -0.78 0.000 0.200 0.000 0.00 30.450 8.78 1.91 -0.18 0.000 0.200 0.000 0.00 30.500 8.86 -0.33 -0.34 0.000 0.200 0.000 0.00 30.550 8.77 -1.73 -0.66 0.000 0.200 0.000 0.00 30.600 8.90 -0.68 -0.57 0.000 0.200 0.000 0.00 30.650 8.89 1.90 -0.77 0.000 0.200 0.000 0.00 30.700 8.80 3.52 -0.78 0.000 0.200 0.000 0.00 30.750 9.01 2.56 -0.69 0.000 0.200 0.000 0.00 30.800 9.00 0.21 -0.70 0.000 0.200 0.000 0.00 30.850 8.67 0.10 -0.89 0.000 0.200 0.000 0.00 30.900 8.71 -0.95 -0.55 0.000 0.200 0.000 0.00 30.950 8.57 -1.51 -0.59 0.000 0.200 0.000 0.00 31.000 9.09 -2.95 -0.76 0.000 0.200 0.000 0.00 31.050 9.14 -3.79 -1.04 0.000 0.200 0.000 0.00 31.100 9.15 -3.36 -1.01 0.000 0.200 0.000 0.00 31.150 9.03 -4.89 -1.02 0.000 0.200 0.000 0.00 31.200 8.89 -7.17 -0.66 0.000 0.200 0.000 0.00 31.250 8.81 -7.49 -0.42 0.000 0.200 0.000 0.00 31.300 8.94 -6.23 -0.54 0.000 0.200 0.000 0.00 31.350 8.97 -3.98 -0.67 0.000 0.200 0.000 0.00 31.400 9.03 -5.33 -0.69 0.000 0.200 0.000 0.00 31.450 8.98 -5.94 -0.69 0.000 0.200 0.000 0.00 31.500 8.87 -5.37 -0.68 0.000 0.200 0.000 0.00 31.550 8.77 -5.95 -0.27 0.000 0.200 0.000 0.00 31.600 8.68 -5.88 -0.08 0.000 0.200 0.000 0.00 31.650 8.71 -4.08 -0.14 0.000 0.200 0.000 0.00 31.700 8.57 -3.70 0.04 0.000 0.200 0.000 0.00 31.750 8.66 -3.37 0.33 0.000 0.200 0.000 0.00 31.800 8.72 -3.80 0.38 0.000 0.200 0.000 0.00 31.850 8.82 -1.60 0.18 0.000 0.200 0.000 0.00 31.900 9.09 -2.00 0.27 0.000 0.200 0.000 0.00 31.950 9.08 -0.41 0.15 0.000 0.200 0.000 0.00 32.000 9.11 0.85 0.22 0.000 0.200 0.000 0.00 32.050 8.79 1.69 0.17 0.000 0.200 0.000 0.00 32.100 8.63 2.45 0.38 0.000 0.200 0.000 0.00 32.150 8.71 2.64 0.74 0.000 0.200 0.000 0.00 32.200 8.48 4.65 0.76 0.000 0.200 0.000 0.00 32.250 8.63 5.79 0.65 0.000 0.200 0.000 0.00 32.300 8.55 4.61 0.82 0.000 0.200 0.000 0.00 32.350 8.32 5.43 0.56 0.000 0.200 0.000 0.00 32.400 8.14 2.18 0.65 0.000 0.200 0.000 0.00 32.450 8.21 0.48 0.65 0.000 0.200 0.000 0.00 32.500 8.22 2.56 0.81 0.000 0.200 0.000 0.00 32.550 8.01 2.70 0.75 0.000 0.200 0.000 0.00 32.600 8.31 3.10 0.40 0.000 0.200 0.000 0.00 32.650 8.90 3.97 0.45 0.000 0.200 0.000 0.00 32.700 9.06 5.40 0.61 0.000 0.200 0.000 0.00 32.750 9.16 3.86 0.60 0.000 0.200 0.000 0.00 32.800 9.21 1.71 0.82 0.000 0.200 0.000 0.00 32.850 9.37 3.56 0.61 0.000 0.200 0.000 0.00 32.900 9.41 5.07 0.31 0.000 0.200 0.000 0.00 32.950 9.26 2.02 0.37 0.000 0.200 0.000 0.00 33.000 9.11 3.67 0.28 0.000 0.200 0.000 0.00 33.050 8.87 4.76 0.21 0.000 0.200 0.000 0.00 33.100 9.09 5.43 0.39 0.000 0.200 0.000 0.00 33.150 8.85 6.03 0.42 0.000 0.200 0.000 0.00 33.200 9.02 5.31 -0.23 0.000 0.200 0.000 0.00 33.250 9.18 7.74 -0.35 0.000 0.200 0.000 0.00 33.300 9.14 5.35 -0.33 0.000 0.200 0.000 0.00 33.350 9.45 4.66 -0.51 0.000 0.200 0.000 0.00 33.400 9.49 1.71 -0.35 0.000 0.200 0.000 0.00 33.450 9.42 3.62 -0.52 0.000 0.200 0.000 0.00 33.500 9.65 2.62 -0.52 0.000 0.200 0.000 0.00 33.550 9.89 2.14 -0.41 0.000 0.200 0.000 0.00 33.600 9.37 1.04 -0.26 0.000 0.200 0.000 0.00 33.650 9.17 0.35 0.15 0.000 0.200 0.000 0.00 33.700 8.93 3.82 0.17 0.000 0.200 0.000 0.00 33.750 8.83 4.89 -0.13 0.000 0.200 0.000 0.00 33.800 8.86 3.96 0.03 0.000 0.200 0.000 0.00 33.850 8.85 4.92 -0.30 0.000 0.200 0.000 0.00 33.900 8.93 5.83 -0.43 0.000 0.200 0.000 0.00 33.950 8.83 5.64 -0.11 0.000 0.200 0.000 0.00 34.000 8.96 5.34 -0.01 0.000 0.200 0.000 0.00 34.050 8.64 5.71 0.06 0.000 0.200 0.000 0.00 34.100 8.71 5.03 0.22 0.000 0.200 0.000 0.00 34.150 9.03 3.32 0.45 0.000 0.200 0.000 0.00 34.200 8.57 3.63 0.13 0.000 0.200 0.000 0.00 34.250 9.00 2.37 -0.16 0.000 0.200 0.000 0.00 34.300 9.45 1.24 -0.28 0.000 0.200 0.000 0.00 34.350 9.60 0.25 -0.39 0.000 0.200 0.000 0.00 34.400 9.91 1.64 -0.11 0.000 0.200 0.000 0.00 34.450 9.47 3.04 -0.16 0.000 0.200 0.000 0.00 34.500 9.27 3.52 0.15 0.000 0.200 0.000 0.00 34.550 8.93 3.97 0.02 0.000 0.200 0.000 0.00 34.600 9.16 3.03 -0.21 0.000 0.200 0.000 0.00 34.650 8.96 1.70 -0.10 0.000 0.200 0.000 0.00 34.700 9.13 3.56 -0.23 0.000 0.200 0.000 0.00 34.750 8.93 5.09 -0.32 0.000 0.200 0.000 0.00 34.800 9.20 6.06 -0.65 0.000 0.200 0.000 0.00 34.850 9.21 4.54 -0.46 0.000 0.200 0.000 0.00 34.900 9.08 2.68 -0.68 0.000 0.200 0.000 0.00 34.950 9.27 1.71 -0.56 0.000 0.200 0.000 0.00 35.000 9.32 5.09 -0.34 0.000 0.200 0.000 0.00 35.050 9.06 6.00 0.14 0.000 0.200 0.000 0.00 35.100 9.24 4.88 -0.20 0.000 0.200 0.000 0.00 35.150 9.04 4.92 -0.17 0.000 0.200 0.000 0.00 35.200 9.28 5.37 -0.08 0.000 0.200 0.000 0.00 35.250 9.42 3.94 -0.22 0.000 0.200 0.000 0.00 35.300 9.57 3.16 -0.17 0.000 0.200 0.000 0.00 35.350 9.46 3.07 0.01 0.000 0.200 0.000 0.00 35.400 9.32 3.24 -0.10 0.000 0.200 0.000 0.00 35.450 9.00 1.21 -0.27 0.000 0.200 0.000 0.00 35.500 8.97 1.05 0.00 0.000 0.200 0.000 0.00 35.550 9.37 -0.20 0.00 0.000 0.200 0.000 0.00 35.600 9.27 -1.26 -0.06 0.000 0.200 0.000 0.00 35.650 9.21 -3.26 -0.03 0.000 0.200 0.000 0.00 35.700 9.43 -2.71 0.00 0.000 0.200 0.000 0.00 35.750 9.21 -2.11 -0.18 0.000 0.200 0.000 0.00 35.800 9.33 -2.25 -0.83 0.000 0.200 0.000 0.00 35.850 9.09 -0.48 -0.20 0.000 0.200 0.000 0.00 35.900 9.07 -0.19 -0.62 0.000 0.200 0.000 0.00 35.950 8.75 1.29 -0.72 0.000 0.200 0.000 0.00 36.000 8.53 -1.61 -0.69 0.000 0.200 0.000 0.00 36.050 8.22 -1.92 -0.55 0.000 0.200 0.000 0.00 36.100 8.18 -4.03 -0.63 0.000 0.200 0.000 0.00 36.150 8.60 -2.95 -0.51 0.000 0.200 0.000 0.00 36.200 8.47 -1.11 -0.47 0.000 0.200 0.000 0.00 36.250 8.28 -1.03 -0.90 0.000 0.200 0.000 0.00 36.300 8.20 -4.50 -0.95 0.000 0.200 0.000 0.00 36.350 8.23 -5.69 -0.67 0.000 0.200 0.000 0.00 36.400 8.68 -5.72 -0.71 0.000 0.200 0.000 0.00 36.450 8.67 -4.23 -0.92 0.000 0.200 0.000 0.00 36.500 8.60 -3.96 -0.88 0.000 0.200 0.000 0.00 36.550 8.90 -4.21 -1.07 0.000 0.200 0.000 0.00 36.600 9.06 -2.68 -1.62 0.000 0.200 0.000 0.00 36.650 9.00 -3.03 -1.09 0.000 0.200 0.000 0.00 36.700 9.09 -1.46 -1.02 0.000 0.200 0.000 0.00 36.750 9.26 -1.92 -1.20 0.000 0.200 0.000 0.00 36.800 9.39 -2.99 -1.07 0.000 0.200 0.000 0.00 36.850 9.50 -3.42 -1.01 0.000 0.200 0.000 0.00 36.900 9.35 -3.88 -1.02 0.000 0.200 0.000 0.00 36.950 9.45 -3.26 -0.95 0.000 0.200 0.000 0.00 37.000 9.33 -1.72 -1.29 0.000 0.200 0.000 0.00 37.050 9.52 -3.93 -1.06 0.000 0.200 0.000 0.00 37.100 9.54 -2.84 -0.71 0.000 0.200 0.000 0.00 37.150 9.63 -3.21 -0.71 0.000 0.200 0.000 0.00 37.200 9.56 -3.57 -0.97 0.000 0.200 0.000 0.00 37.250 9.54 -4.05 -0.65 0.000 0.200 0.000 0.00 37.300 9.79 -4.98 -0.89 0.000 0.200 0.000 0.00 37.350 9.87 -3.05 -0.98 0.000 0.200 0.000 0.00 37.400 9.88 -3.53 -0.73 0.000 0.200 0.000 0.00 37.450 10.02 -3.78 -0.51 0.000 0.200 0.000 0.00 37.500 10.00 -2.56 -0.76 0.000 0.200 0.000 0.00 37.550 10.01 -2.72 -0.94 0.000 0.200 0.000 0.00 37.600 10.16 -2.27 -0.52 0.000 0.200 0.000 0.00 37.650 10.03 -2.95 -0.22 0.000 0.200 0.000 0.00 37.700 9.77 -6.20 0.09 0.000 0.200 0.000 0.00 37.750 9.63 -5.01 0.15 0.000 0.200 0.000 0.00 37.800 9.69 -4.22 0.20 0.000 0.200 0.000 0.00 37.850 9.39 -4.46 -0.10 0.000 0.200 0.000 0.00 37.900 9.43 -3.45 -0.36 0.000 0.200 0.000 0.00 37.950 9.58 -0.96 -0.62 0.000 0.200 0.000 0.00 38.000 9.86 0.01 -0.64 0.000 0.200 0.000 0.00 38.050 9.85 2.00 -0.84 0.000 0.200 0.000 0.00 38.100 9.72 -1.44 -0.95 0.000 0.200 0.000 0.00 38.150 10.08 -1.55 -0.86 0.000 0.200 0.000 0.00 38.200 10.38 -0.44 -1.02 0.000 0.200 0.000 0.00 38.250 10.36 -0.55 -0.65 0.000 0.200 0.000 0.00 38.300 10.08 -1.10 -0.90 0.000 0.200 0.000 0.00 38.350 10.07 -2.35 -0.53 0.000 0.200 0.000 0.00 38.400 9.59 0.66 -0.31 0.000 0.200 0.000 0.00 38.450 9.72 0.24 -0.39 0.000 0.200 0.000 0.00 38.500 9.75 0.39 0.01 0.000 0.200 0.000 0.00 38.550 9.67 0.76 -0.04 0.000 0.200 0.000 0.00 38.600 9.48 0.14 -0.07 0.000 0.200 0.000 0.00 38.650 9.70 0.65 -0.37 0.000 0.200 0.000 0.00 38.700 9.77 0.03 -0.48 0.000 0.200 0.000 0.00 38.750 9.72 -1.29 -0.36 0.000 0.200 0.000 0.00 38.800 9.63 -2.01 -0.58 0.000 0.200 0.000 0.00 38.850 9.83 -2.15 -0.79 0.000 0.200 0.000 0.00 38.900 9.77 -3.08 -0.77 0.000 0.200 0.000 0.00 38.950 9.62 -1.66 -0.70 0.000 0.200 0.000 0.00 39.000 9.55 0.20 -0.43 0.000 0.200 0.000 0.00 39.050 9.41 -1.27 -0.43 0.000 0.200 0.000 0.00 39.100 9.51 -1.22 -0.43 0.000 0.200 0.000 0.00 39.150 9.83 -1.25 -0.08 0.000 0.200 0.000 0.00 39.200 9.88 0.56 -0.35 0.000 0.200 0.000 0.00 39.250 9.95 -0.06 -0.72 0.000 0.200 0.000 0.00 39.300 9.86 0.72 -1.07 0.000 0.200 0.000 0.00 39.350 9.71 1.60 -0.82 0.000 0.200 0.000 0.00 39.400 9.71 4.34 -0.48 0.000 0.200 0.000 0.00 39.450 10.04 3.06 -0.94 0.000 0.200 0.000 0.00 39.500 10.04 2.91 -0.57 0.000 0.200 0.000 0.00 39.550 9.70 4.14 -0.70 0.000 0.200 0.000 0.00 39.600 9.71 4.51 -0.64 0.000 0.200 0.000 0.00 39.650 9.67 4.97 -0.45 0.000 0.200 0.000 0.00 39.700 9.72 0.95 -0.65 0.000 0.200 0.000 0.00 39.750 9.71 0.21 -0.64 0.000 0.200 0.000 0.00 39.800 9.56 -1.94 -0.67 0.000 0.200 0.000 0.00 39.850 9.35 -1.53 -0.53 0.000 0.200 0.000 0.00 39.900 9.44 -5.45 0.10 0.000 0.200 0.000 0.00 39.950 9.59 -3.56 0.28 0.000 0.200 0.000 0.00 40.000 9.18 -2.11 -0.02 0.000 0.200 0.000 0.00 40.050 9.22 0.16 -0.41 0.000 0.200 0.000 0.00 40.100 9.39 -1.14 -0.64 0.000 0.200 0.000 0.00 40.150 9.44 -0.39 -0.55 0.000 0.200 0.000 0.00 40.200 9.06 -1.41 -0.69 0.000 0.200 0.000 0.00 40.250 9.08 0.27 -0.66 0.000 0.200 0.000 0.00 40.300 9.16 0.27 -0.29 0.000 0.200 0.000 0.00 40.350 8.68 -1.62 -0.06 0.000 0.200 0.000 0.00 40.400 8.34 -2.94 -0.29 0.000 0.200 0.000 0.00 40.450 8.43 -3.26 -0.40 0.000 0.200 0.000 0.00 40.500 8.66 -1.30 -0.02 0.000 0.200 0.000 0.00 40.550 8.45 -0.98 0.34 0.000 0.200 0.000 0.00 40.600 8.60 -0.71 0.38 0.000 0.200 0.000 0.00 40.650 8.88 -0.31 0.28 0.000 0.200 0.000 0.00 40.700 8.84 0.34 0.07 0.000 0.200 0.000 0.00 40.750 8.57 -0.85 0.17 0.000 0.200 0.000 0.00 40.800 8.69 0.53 0.22 0.000 0.200 0.000 0.00 40.850 8.62 5.32 -0.15 0.000 0.200 0.000 0.00 40.900 8.48 3.00 -0.28 0.000 0.200 0.000 0.00 40.950 8.43 3.88 -0.25 0.000 0.200 0.000 0.00 41.000 8.56 5.29 -0.37 0.000 0.200 0.000 0.00 41.050 8.64 5.79 -0.34 0.000 0.200 0.000 0.00 41.100 9.07 5.14 -0.22 0.000 0.200 0.000 0.00 41.150 8.82 3.30 0.15 0.000 0.200 0.000 0.00 41.200 8.78 3.89 -0.11 0.000 0.200 0.000 0.00 41.250 8.80 4.26 -0.94 0.000 0.200 0.000 0.00 41.300 8.71 6.32 -0.82 0.000 0.200 0.000 0.00 41.350 8.46 5.58 -0.18 0.000 0.200 0.000 0.00 41.400 8.28 6.32 0.32 0.000 0.200 0.000 0.00 41.450 8.37 6.55 0.17 0.000 0.200 0.000 0.00 41.500 8.65 8.98 -0.12 0.000 0.200 0.000 0.00 41.550 8.43 7.97 -0.13 0.000 0.200 0.000 0.00 41.600 7.84 7.14 -0.39 0.000 0.200 0.000 0.00 41.650 7.93 8.29 -0.58 0.000 0.200 0.000 0.00 41.700 8.13 7.21 -0.12 0.000 0.200 0.000 0.00 41.750 8.02 6.02 -0.30 0.000 0.200 0.000 0.00 41.800 7.68 4.48 -0.06 0.000 0.200 0.000 0.00 41.850 7.62 5.90 0.27 0.000 0.200 0.000 0.00 41.900 7.38 7.75 0.31 0.000 0.200 0.000 0.00 41.950 7.42 8.14 0.43 0.000 0.200 0.000 0.00 42.000 7.60 5.72 -0.09 0.000 0.200 0.000 0.00 42.050 7.83 3.41 0.09 0.000 0.200 0.000 0.00 42.100 7.94 3.73 0.17 0.000 0.200 0.000 0.00 42.150 7.96 1.34 0.18 0.000 0.200 0.000 0.00 42.200 7.96 -2.42 0.20 0.000 0.200 0.000 0.00 42.250 7.95 -5.56 -0.24 0.000 0.200 0.000 0.00 42.300 7.74 -3.73 -0.37 0.000 0.200 0.000 0.00 42.350 7.51 -1.96 -0.52 0.000 0.200 0.000 0.00 42.400 7.57 -2.76 -0.83 0.000 0.200 0.000 0.00 42.450 7.86 -0.13 -1.06 0.000 0.200 0.000 0.00 42.500 7.76 2.72 -0.79 0.000 0.200 0.000 0.00 42.550 7.83 2.31 -0.74 0.000 0.200 0.000 0.00 42.600 7.76 2.26 -0.54 0.000 0.200 0.000 0.00 42.650 7.67 2.27 -0.89 0.000 0.200 0.000 0.00 42.700 7.81 3.68 -1.13 0.000 0.200 0.000 0.00 42.750 8.24 4.59 -0.84 0.000 0.200 0.000 0.00 42.800 8.47 3.55 -0.81 0.000 0.200 0.000 0.00 42.850 8.27 2.80 -0.47 0.000 0.200 0.000 0.00 42.900 8.45 2.99 -0.62 0.000 0.200 0.000 0.00 42.950 8.45 4.51 -0.46 0.000 0.200 0.000 0.00 43.000 8.54 4.37 -0.38 0.000 0.200 0.000 0.00 43.050 8.48 4.82 -0.74 0.000 0.200 0.000 0.00 43.100 8.63 4.08 -0.80 0.000 0.200 0.000 0.00 43.150 8.78 3.72 -0.89 0.000 0.200 0.000 0.00 43.200 8.67 4.25 -0.71 0.000 0.200 0.000 0.00 43.250 8.88 5.88 -0.63 0.000 0.200 0.000 0.00 43.300 8.56 6.83 -0.78 0.000 0.200 0.000 0.00 43.350 8.40 9.22 -0.86 0.000 0.200 0.000 0.00 43.400 8.13 10.41 -0.68 0.000 0.200 0.000 0.00 43.450 8.42 8.76 -0.40 0.000 0.200 0.000 0.00 43.500 8.40 9.75 -0.56 0.000 0.200 0.000 0.00 43.550 8.43 11.19 -1.05 0.000 0.200 0.000 0.00 43.600 8.44 12.81 -1.16 0.000 0.200 0.000 0.00 43.650 8.63 11.19 -1.38 0.000 0.200 0.000 0.00 43.700 8.61 10.13 -1.23 0.000 0.200 0.000 0.00 43.750 8.51 11.03 -1.08 0.000 0.200 0.000 0.00 43.800 8.69 10.66 -0.97 0.000 0.200 0.000 0.00 43.850 8.82 13.00 -1.08 0.000 0.200 0.000 0.00 43.900 8.75 12.00 -1.35 0.000 0.200 0.000 0.00 43.950 8.96 12.91 -1.67 0.000 0.200 0.000 0.00 44.000 9.01 11.16 -1.40 0.000 0.200 0.000 0.00 44.050 8.83 11.03 -1.44 0.000 0.200 0.000 0.00 44.100 8.61 11.44 -1.08 0.000 0.200 0.000 0.00 44.150 8.67 9.22 -1.18 0.000 0.200 0.000 0.00 44.200 8.66 9.62 -1.78 0.000 0.200 0.000 0.00 44.250 8.42 9.03 -2.14 0.000 0.200 0.000 0.00 44.300 8.44 8.79 -1.81 0.000 0.200 0.000 0.00 44.350 8.26 7.11 -1.83 0.000 0.200 0.000 0.00 44.400 8.28 5.83 -1.75 0.000 0.200 0.000 0.00 44.450 8.18 7.76 -1.67 0.000 0.200 0.000 0.00 44.500 8.03 7.33 -1.77 0.000 0.200 0.000 0.00 44.550 7.79 8.86 -1.86 0.000 0.200 0.000 0.00 44.600 8.02 8.32 -1.92 0.000 0.200 0.000 0.00 44.650 8.04 8.46 -2.11 0.000 0.200 0.000 0.00 44.700 7.91 7.85 -1.85 0.000 0.200 0.000 0.00 44.750 7.70 9.16 -1.52 0.000 0.200 0.000 0.00 44.800 7.66 9.64 -1.63 0.000 0.200 0.000 0.00 44.850 7.54 13.31 -1.49 0.000 0.200 0.000 0.00 44.900 7.47 15.19 -1.33 0.000 0.200 0.000 0.00 44.950 7.82 13.36 -1.20 0.000 0.200 0.000 0.00 45.000 7.87 12.85 -1.34 0.000 0.200 0.000 0.00 45.050 7.79 11.24 -1.32 0.000 0.200 0.000 0.00 45.100 7.45 12.77 -1.38 0.000 0.200 0.000 0.00 45.150 7.26 11.91 -1.23 0.000 0.200 0.000 0.00 45.200 7.67 12.18 -1.31 0.000 0.200 0.000 0.00 45.250 7.46 9.24 -1.36 0.000 0.200 0.000 0.00 45.300 7.25 9.79 -1.25 0.000 0.200 0.000 0.00 45.350 7.63 11.83 -1.31 0.000 0.200 0.000 0.00 45.400 7.67 10.41 -1.35 0.000 0.200 0.000 0.00 45.450 7.65 10.33 -1.26 0.000 0.200 0.000 0.00 45.500 7.64 7.99 -1.18 0.000 0.200 0.000 0.00 45.550 7.40 7.64 -1.04 0.000 0.200 0.000 0.00 45.600 6.94 9.86 -0.85 0.000 0.200 0.000 0.00 45.650 6.93 8.38 -0.76 0.000 0.200 0.000 0.00 45.700 7.13 6.55 -0.95 0.000 0.200 0.000 0.00 45.750 7.35 6.46 -0.91 0.000 0.200 0.000 0.00 45.800 7.51 3.07 -0.85 0.000 0.200 0.000 0.00 45.850 7.13 2.33 -1.00 0.000 0.200 0.000 0.00 45.900 7.40 5.11 -0.94 0.000 0.200 0.000 0.00 45.950 7.49 4.17 -0.88 0.000 0.200 0.000 0.00 46.000 7.40 0.52 -0.58 0.000 0.200 0.000 0.00 46.050 7.18 2.81 -0.71 0.000 0.200 0.000 0.00 46.100 7.02 1.33 -0.45 0.000 0.200 0.000 0.00 46.150 6.89 1.12 -0.63 0.000 0.200 0.000 0.00 46.200 6.73 -2.91 -0.48 0.000 0.200 0.000 0.00 46.250 7.17 -3.73 -0.50 0.000 0.200 0.000 0.00 46.300 6.61 -3.40 -0.31 0.000 0.200 0.000 0.00 46.350 6.72 -0.09 -0.11 0.000 0.200 0.000 0.00 46.400 6.86 3.84 -0.34 0.000 0.200 0.000 0.00 46.450 6.56 2.20 -0.48 0.000 0.200 0.000 0.00 46.500 6.57 4.31 -0.55 0.000 0.200 0.000 0.00 46.550 6.82 2.59 -0.94 0.000 0.200 0.000 0.00 46.600 6.92 2.41 -0.79 0.000 0.200 0.000 0.00 46.650 6.93 3.25 -0.71 0.000 0.200 0.000 0.00 46.700 6.88 4.08 -0.28 0.000 0.200 0.000 0.00 46.750 6.78 3.59 -0.53 0.000 0.200 0.000 0.00 46.800 6.83 7.13 -0.81 0.000 0.200 0.000 0.00 46.850 6.70 8.50 -0.94 0.000 0.200 0.000 0.00 46.900 6.51 10.65 -0.73 0.000 0.200 0.000 0.00 46.950 6.71 9.14 -0.83 0.000 0.200 0.000 0.00 47.000 6.80 8.94 -0.63 0.000 0.200 0.000 0.00 47.050 6.75 7.06 -0.65 0.000 0.200 0.000 0.00 47.100 6.81 9.49 -0.38 0.000 0.200 0.000 0.00 47.150 6.53 9.22 -0.38 0.000 0.200 0.000 0.00 47.200 6.16 8.13 -0.16 0.000 0.200 0.000 0.00 47.250 6.15 7.45 -0.27 0.000 0.200 0.000 0.00 47.300 6.17 6.02 0.19 0.000 0.200 0.000 0.00 47.350 6.25 5.38 0.49 0.000 0.200 0.000 0.00 47.400 6.18 5.37 0.38 0.000 0.200 0.000 0.00 47.450 6.35 4.77 0.48 0.000 0.200 0.000 0.00 47.500 6.19 1.24 0.42 0.000 0.200 0.000 0.00 47.550 6.41 -1.55 0.42 0.000 0.200 0.000 0.00 47.600 6.51 0.61 0.13 0.000 0.200 0.000 0.00 47.650 6.52 2.91 0.02 0.000 0.200 0.000 0.00 47.700 6.56 5.71 -0.28 0.000 0.200 0.000 0.00 47.750 6.88 5.70 -0.30 0.000 0.200 0.000 0.00 47.800 7.00 5.60 0.02 0.000 0.200 0.000 0.00 47.850 7.10 5.33 -0.06 0.000 0.200 0.000 0.00 47.900 6.74 4.82 -0.38 0.000 0.200 0.000 0.00 47.950 7.07 4.45 -0.21 0.000 0.200 0.000 0.00 48.000 7.34 4.15 0.01 0.000 0.200 0.000 0.00 48.050 7.14 1.70 -0.17 0.000 0.200 0.000 0.00 48.100 6.93 3.60 -0.28 0.000 0.200 0.000 0.00 48.150 7.17 4.52 -0.19 0.000 0.200 0.000 0.00 48.200 7.37 3.30 0.19 0.000 0.200 0.000 0.00 48.250 7.33 5.61 0.07 0.000 0.200 0.000 0.00 48.300 7.36 6.61 0.12 0.000 0.200 0.000 0.00 48.350 7.54 7.98 0.31 0.000 0.200 0.000 0.00 48.400 7.25 6.45 0.14 0.000 0.200 0.000 0.00 48.450 7.05 9.83 -0.40 0.000 0.200 0.000 0.00 48.500 7.09 13.54 -0.38 0.000 0.200 0.000 0.00 48.550 7.30 12.73 -0.37 0.000 0.200 0.000 0.00 48.600 7.29 10.36 -0.21 0.000 0.200 0.000 0.00 48.650 7.32 10.82 0.08 0.000 0.200 0.000 0.00 48.700 7.38 11.67 -0.07 0.000 0.200 0.000 0.00 48.750 7.47 12.45 -0.12 0.000 0.200 0.000 0.00 48.800 7.63 12.63 -0.08 0.000 0.200 0.000 0.00 48.850 7.76 11.06 0.23 0.000 0.200 0.000 0.00 48.900 7.67 10.71 0.30 0.000 0.200 0.000 0.00 48.950 7.97 11.79 0.02 0.000 0.200 0.000 0.00 49.000 7.95 14.32 0.01 0.000 0.200 0.000 0.00 49.050 7.87 14.06 -0.40 0.000 0.200 0.000 0.00 49.100 7.58 16.10 -0.06 0.000 0.200 0.000 0.00 49.150 7.57 17.09 0.15 0.000 0.200 0.000 0.00 49.200 7.44 14.89 0.03 0.000 0.200 0.000 0.00 49.250 7.56 14.43 -0.33 0.000 0.200 0.000 0.00 49.300 7.67 17.30 -0.51 0.000 0.200 0.000 0.00 49.350 7.78 15.61 -0.06 0.000 0.200 0.000 0.00 49.400 7.96 17.71 0.17 0.000 0.200 0.000 0.00 49.450 7.98 16.94 -0.27 0.000 0.200 0.000 0.00 49.500 7.84 18.45 -0.36 0.000 0.200 0.000 0.00 49.550 7.41 16.68 -0.19 0.000 0.200 0.000 0.00 49.600 7.40 14.75 -0.28 0.000 0.200 0.000 0.00 49.650 7.44 15.46 -0.50 0.000 0.200 0.000 0.00 49.700 7.52 15.61 -0.17 0.000 0.200 0.000 0.00 49.750 7.24 14.13 -0.35 0.000 0.200 0.000 0.00 49.800 7.30 12.56 -0.25 0.000 0.200 0.000 0.00 49.850 7.61 13.66 -0.40 0.000 0.200 0.000 0.00 49.900 7.71 14.58 -0.51 0.000 0.200 0.000 0.00 49.950 7.64 15.53 -0.45 0.000 0.200 0.000 0.00 50.000 7.73 14.85 -0.48 0.000 0.200 0.000 0.00 50.050 7.73 15.67 -0.92 0.000 0.200 0.000 0.00 50.100 7.83 16.07 -0.98 0.000 0.200 0.000 0.00 50.150 7.71 14.85 -0.33 0.000 0.200 0.000 0.00 50.200 7.84 14.32 -0.31 0.000 0.200 0.000 0.00 50.250 7.67 13.15 -0.20 0.000 0.200 0.000 0.00 50.300 7.38 10.25 0.00 0.000 0.200 0.000 0.00 50.350 7.04 11.96 -0.03 0.000 0.200 0.000 0.00 50.400 7.33 11.93 -0.45 0.000 0.200 0.000 0.00 50.450 7.41 12.06 -0.47 0.000 0.200 0.000 0.00 50.500 7.72 12.04 -0.39 0.000 0.200 0.000 0.00 50.550 7.98 8.56 -0.39 0.000 0.200 0.000 0.00 50.600 8.01 10.53 -0.18 0.000 0.200 0.000 0.00 50.650 8.17 10.55 0.18 0.000 0.200 0.000 0.00 50.700 8.36 10.92 0.30 0.000 0.200 0.000 0.00 50.750 8.60 14.63 0.39 0.000 0.200 0.000 0.00 50.800 8.68 15.10 0.52 0.000 0.200 0.000 0.00 50.850 8.34 14.64 0.50 0.000 0.200 0.000 0.00 50.900 8.44 15.96 0.26 0.000 0.200 0.000 0.00 50.950 8.44 15.93 0.26 0.000 0.200 0.000 0.00 51.000 8.51 15.21 -0.06 0.000 0.200 0.000 0.00 51.050 8.45 13.99 0.50 0.000 0.200 0.000 0.00 51.100 8.56 13.04 0.49 0.000 0.200 0.000 0.00 51.150 8.48 13.56 0.30 0.000 0.200 0.000 0.00 51.200 8.64 11.91 0.23 0.000 0.200 0.000 0.00 51.250 8.62 14.02 -0.03 0.000 0.200 0.000 0.00 51.300 8.36 13.07 -0.15 0.000 0.200 0.000 0.00 51.350 8.39 13.26 0.16 0.000 0.200 0.000 0.00 51.400 8.19 10.22 0.09 0.000 0.200 0.000 0.00 51.450 8.27 11.64 -0.10 0.000 0.200 0.000 0.00 51.500 8.21 12.12 0.11 0.000 0.200 0.000 0.00 51.550 8.44 15.03 0.32 0.000 0.200 0.000 0.00 51.600 8.03 13.26 0.29 0.000 0.200 0.000 0.00 51.650 7.76 12.08 0.47 0.000 0.200 0.000 0.00 51.700 7.61 12.19 0.53 0.000 0.200 0.000 0.00 51.750 7.63 9.88 0.22 0.000 0.200 0.000 0.00 51.800 7.58 8.74 -0.46 0.000 0.200 0.000 0.00 51.850 7.45 8.29 -0.15 0.000 0.200 0.000 0.00 51.900 7.57 5.00 -0.20 0.000 0.200 0.000 0.00 51.950 7.53 5.17 -0.46 0.000 0.200 0.000 0.00 52.000 7.52 8.08 -0.64 0.000 0.200 0.000 0.00 52.050 7.50 8.81 -0.46 0.000 0.200 0.000 0.00 52.100 7.25 6.74 -0.15 0.000 0.200 0.000 0.00 52.150 7.19 7.83 0.01 0.000 0.200 0.000 0.00 52.200 7.67 9.31 -0.11 0.000 0.200 0.000 0.00 52.250 7.38 8.68 0.25 0.000 0.200 0.000 0.00 52.300 7.15 9.16 0.07 0.000 0.200 0.000 0.00 52.350 7.33 8.84 0.16 0.000 0.200 0.000 0.00 52.400 7.40 9.44 0.20 0.000 0.200 0.000 0.00 52.450 7.67 11.69 -0.05 0.000 0.200 0.000 0.00 52.500 7.71 9.32 0.24 0.000 0.200 0.000 0.00 52.550 7.57 6.34 0.01 0.000 0.200 0.000 0.00 52.600 7.38 7.67 -0.06 0.000 0.200 0.000 0.00 52.650 7.27 7.63 -0.22 0.000 0.200 0.000 0.00 52.700 7.05 6.99 0.06 0.000 0.200 0.000 0.00 52.750 7.33 6.35 0.38 0.000 0.200 0.000 0.00 52.800 7.32 6.29 0.50 0.000 0.200 0.000 0.00 52.850 7.00 6.12 0.03 0.000 0.200 0.000 0.00 52.900 7.00 4.56 0.17 0.000 0.200 0.000 0.00 52.950 6.69 6.75 0.25 0.000 0.200 0.000 0.00 53.000 6.22 6.11 0.33 0.000 0.200 0.000 0.00 53.050 6.33 2.91 0.14 0.000 0.200 0.000 0.00 53.100 6.50 1.32 -0.04 0.000 0.200 0.000 0.00 53.150 6.90 4.82 -0.01 0.000 0.200 0.000 0.00 53.200 6.59 5.23 -0.18 0.000 0.200 0.000 0.00 53.250 6.58 6.25 -0.23 0.000 0.200 0.000 0.00 53.300 6.81 8.54 -0.14 0.000 0.200 0.000 0.00 53.350 6.97 9.40 -0.13 0.000 0.200 0.000 0.00 53.400 6.92 6.02 -0.21 0.000 0.200 0.000 0.00 53.450 6.94 5.13 -0.29 0.000 0.200 0.000 0.00 53.500 6.71 4.66 -0.20 0.000 0.200 0.000 0.00 53.550 6.83 6.58 -0.33 0.000 0.200 0.000 0.00 53.600 7.09 1.93 -0.52 0.000 0.200 0.000 0.00 53.650 7.30 2.95 -0.65 0.000 0.200 0.000 0.00 53.700 7.25 6.98 -0.42 0.000 0.200 0.000 0.00 53.750 7.20 7.64 -0.43 0.000 0.200 0.000 0.00 53.800 7.25 8.08 -0.07 0.000 0.200 0.000 0.00 53.850 6.93 7.76 0.19 0.000 0.200 0.000 0.00 53.900 6.99 5.02 0.13 0.000 0.200 0.000 0.00 53.950 6.81 3.77 0.14 0.000 0.200 0.000 0.00 54.000 6.65 3.28 -0.07 0.000 0.200 0.000 0.00 54.050 6.83 5.07 -0.27 0.000 0.200 0.000 0.00 54.100 7.13 7.59 -0.75 0.000 0.200 0.000 0.00 54.150 6.88 7.04 -0.87 0.000 0.200 0.000 0.00 54.200 6.64 4.51 -0.79 0.000 0.200 0.000 0.00 54.250 6.90 6.60 -0.68 0.000 0.200 0.000 0.00 54.300 6.92 8.65 -0.46 0.000 0.200 0.000 0.00 54.350 6.37 10.67 -0.41 0.000 0.200 0.000 0.00 54.400 6.45 8.38 -0.67 0.000 0.200 0.000 0.00 54.450 6.71 10.50 -0.96 0.000 0.200 0.000 0.00 54.500 6.99 8.59 -1.00 0.000 0.200 0.000 0.00 54.550 6.64 6.99 -1.13 0.000 0.200 0.000 0.00 54.600 6.72 4.96 -0.90 0.000 0.200 0.000 0.00 54.650 6.41 4.06 -1.04 0.000 0.200 0.000 0.00 54.700 6.16 5.03 -0.83 0.000 0.200 0.000 0.00 54.750 6.57 5.31 -0.66 0.000 0.200 0.000 0.00 54.800 6.53 4.31 -0.87 0.000 0.200 0.000 0.00 54.850 6.66 2.51 -0.75 0.000 0.200 0.000 0.00 54.900 6.59 3.00 -0.64 0.000 0.200 0.000 0.00 54.950 6.62 2.45 -0.45 0.000 0.200 0.000 0.00 55.000 6.61 -0.56 -0.53 0.000 0.200 0.000 0.00 55.050 6.63 -2.89 -0.60 0.000 0.200 0.000 0.00 55.100 7.11 -0.89 -0.07 0.000 0.200 0.000 0.00 55.150 7.29 -2.32 0.23 0.000 0.200 0.000 0.00 55.200 7.32 -0.06 -0.11 0.000 0.200 0.000 0.00 55.250 7.01 -2.01 -0.14 0.000 0.200 0.000 0.00 55.300 6.99 0.26 0.11 0.000 0.200 0.000 0.00 55.350 7.06 -0.92 -0.12 0.000 0.200 0.000 0.00 55.400 7.01 0.97 -0.07 0.000 0.200 0.000 0.00 55.450 7.20 0.66 -0.14 0.000 0.200 0.000 0.00 55.500 7.10 0.07 0.05 0.000 0.200 0.000 0.00 55.550 6.99 1.39 0.26 0.000 0.200 0.000 0.00 55.600 6.88 2.54 -0.14 0.000 0.200 0.000 0.00 55.650 7.11 0.21 0.08 0.000 0.200 0.000 0.00 55.700 7.51 -2.91 0.33 0.000 0.200 0.000 0.00 55.750 7.26 0.67 0.65 0.000 0.200 0.000 0.00 55.800 7.46 2.26 0.43 0.000 0.200 0.000 0.00 55.850 7.64 1.21 0.07 0.000 0.200 0.000 0.00 55.900 7.40 2.44 -0.01 0.000 0.200 0.000 0.00 55.950 7.49 2.64 0.12 0.000 0.200 0.000 0.00 56.000 7.54 2.87 0.37 0.000 0.200 0.000 0.00 56.050 7.73 5.05 0.38 0.000 0.200 0.000 0.00 56.100 7.74 6.29 0.72 0.000 0.200 0.000 0.00 56.150 8.17 7.70 0.78 0.000 0.200 0.000 0.00 56.200 8.04 7.40 0.83 0.000 0.200 0.000 0.00 56.250 7.86 5.95 0.69 0.000 0.200 0.000 0.00 56.300 8.10 6.60 0.51 0.000 0.200 0.000 0.00 56.350 7.81 6.22 0.55 0.000 0.200 0.000 0.00 56.400 7.71 3.58 0.71 0.000 0.200 0.000 0.00 56.450 7.98 6.36 0.57 0.000 0.200 0.000 0.00 56.500 7.99 5.82 0.83 0.000 0.200 0.000 0.00 56.550 7.77 10.88 0.58 0.000 0.200 0.000 0.00 56.600 7.80 13.02 0.43 0.000 0.200 0.000 0.00 56.650 7.98 14.32 0.25 0.000 0.200 0.000 0.00 56.700 8.11 12.34 0.44 0.000 0.200 0.000 0.00 56.750 7.89 11.78 0.29 0.000 0.200 0.000 0.00 56.800 7.86 10.95 0.17 0.000 0.200 0.000 0.00 56.850 7.79 10.60 -0.29 0.000 0.200 0.000 0.00 56.900 8.00 13.01 -0.31 0.000 0.200 0.000 0.00 56.950 8.02 11.87 -0.18 0.000 0.200 0.000 0.00 57.000 8.17 7.95 0.05 0.000 0.200 0.000 0.00 57.050 8.07 6.92 0.19 0.000 0.200 0.000 0.00 57.100 7.91 6.63 0.20 0.000 0.200 0.000 0.00 57.150 7.60 6.04 0.18 0.000 0.200 0.000 0.00 57.200 7.56 5.70 0.08 0.000 0.200 0.000 0.00 57.250 7.51 6.74 0.27 0.000 0.200 0.000 0.00 57.300 7.79 7.16 0.07 0.000 0.200 0.000 0.00 57.350 8.27 7.23 -0.23 0.000 0.200 0.000 0.00 57.400 8.09 5.52 -0.22 0.000 0.200 0.000 0.00 57.450 8.35 5.81 -0.02 0.000 0.200 0.000 0.00 57.500 8.55 7.69 0.06 0.000 0.200 0.000 0.00 57.550 8.54 8.68 0.33 0.000 0.200 0.000 0.00 57.600 8.53 7.30 -0.03 0.000 0.200 0.000 0.00 57.650 8.50 6.89 -0.43 0.000 0.200 0.000 0.00 57.700 8.46 5.23 -0.69 0.000 0.200 0.000 0.00 57.750 8.36 8.24 -0.64 0.000 0.200 0.000 0.00 57.800 8.48 9.77 -0.24 0.000 0.200 0.000 0.00 57.850 8.49 11.19 -0.08 0.000 0.200 0.000 0.00 57.900 8.16 10.76 -0.07 0.000 0.200 0.000 0.00 57.950 8.24 9.19 0.01 0.000 0.200 0.000 0.00 58.000 8.20 8.82 -0.06 0.000 0.200 0.000 0.00 58.050 8.33 9.16 -0.21 0.000 0.200 0.000 0.00 58.100 8.16 9.36 -0.80 0.000 0.200 0.000 0.00 58.150 8.35 11.35 -0.87 0.000 0.200 0.000 0.00 58.200 8.54 10.74 -0.76 0.000 0.200 0.000 0.00 58.250 8.46 10.94 -0.81 0.000 0.200 0.000 0.00 58.300 8.39 12.18 -0.77 0.000 0.200 0.000 0.00 58.350 8.19 12.26 -0.82 0.000 0.200 0.000 0.00 58.400 8.29 9.14 -0.37 0.000 0.200 0.000 0.00 58.450 8.25 8.80 -0.27 0.000 0.200 0.000 0.00 58.500 8.30 10.22 -0.74 0.000 0.200 0.000 0.00 58.550 8.09 8.76 -0.16 0.000 0.200 0.000 0.00 58.600 7.86 8.94 -0.05 0.000 0.200 0.000 0.00 58.650 8.05 11.24 0.02 0.000 0.200 0.000 0.00 58.700 8.07 10.17 -0.07 0.000 0.200 0.000 0.00 58.750 7.87 9.56 0.16 0.000 0.200 0.000 0.00 58.800 7.79 10.46 -0.04 0.000 0.200 0.000 0.00 58.850 8.24 9.23 -0.18 0.000 0.200 0.000 0.00 58.900 8.10 8.83 0.14 0.000 0.200 0.000 0.00 58.950 8.16 9.87 0.28 0.000 0.200 0.000 0.00 59.000 7.89 9.60 0.58 0.000 0.200 0.000 0.00 59.050 7.51 11.43 0.52 0.000 0.200 0.000 0.00 59.100 7.54 9.98 0.33 0.000 0.200 0.000 0.00 59.150 7.45 12.14 0.25 0.000 0.200 0.000 0.00 59.200 7.95 12.83 0.03 0.000 0.200 0.000 0.00 59.250 8.06 12.06 -0.03 0.000 0.200 0.000 0.00 59.300 8.44 11.82 0.12 0.000 0.200 0.000 0.00 59.350 8.72 13.35 0.21 0.000 0.200 0.000 0.00 59.400 8.67 12.52 0.37 0.000 0.200 0.000 0.00 59.450 8.74 10.31 0.46 0.000 0.200 0.000 0.00 59.500 8.89 11.97 0.59 0.000 0.200 0.000 0.00 59.550 8.72 11.13 0.36 0.000 0.200 0.000 0.00 59.600 8.42 11.02 0.54 0.000 0.200 0.000 0.00 59.650 8.45 10.21 0.69 0.000 0.200 0.000 0.00 59.700 8.09 8.03 0.98 0.000 0.200 0.000 0.00 59.750 7.95 5.53 1.04 0.000 0.200 0.000 0.00 59.800 7.89 5.12 0.81 0.000 0.200 0.000 0.00 59.850 7.80 5.71 0.88 0.000 0.200 0.000 0.00 59.900 7.75 6.92 0.70 0.000 0.200 0.000 0.00 59.950 8.31 8.46 0.91 0.000 0.200 0.000 0.00 60.000 8.28 9.70 0.77 0.000 0.200 0.000 0.00 60.050 8.20 11.54 0.83 0.000 0.200 0.000 0.00 60.100 8.06 9.10 0.71 0.000 0.200 0.000 0.00 60.150 8.01 6.00 0.22 0.000 0.200 0.000 0.00 60.200 8.21 7.70 0.01 0.000 0.200 0.000 0.00 60.250 7.89 5.95 0.08 0.000 0.200 0.000 0.00 60.300 7.81 8.49 0.13 0.000 0.200 0.000 0.00 60.350 7.98 9.76 -0.03 0.000 0.200 0.000 0.00 60.400 8.17 10.28 0.10 0.000 0.200 0.000 0.00 60.450 8.34 11.68 0.08 0.000 0.200 0.000 0.00 60.500 8.41 12.22 0.50 0.000 0.200 0.000 0.00 60.550 8.67 11.47 0.96 0.000 0.200 0.000 0.00 60.600 8.38 11.32 0.83 0.000 0.200 0.000 0.00 60.650 8.20 9.35 0.82 0.000 0.200 0.000 0.00 60.700 8.10 10.00 1.49 0.000 0.200 0.000 0.00 60.750 8.40 11.59 1.16 0.000 0.200 0.000 0.00 60.800 8.18 11.72 0.78 0.000 0.200 0.000 0.00 60.850 8.34 10.57 0.86 0.000 0.200 0.000 0.00 60.900 8.69 11.91 0.99 0.000 0.200 0.000 0.00 60.950 8.46 11.38 0.74 0.000 0.200 0.000 0.00 61.000 8.32 12.42 0.66 0.000 0.200 0.000 0.00 61.050 8.44 11.42 0.36 0.000 0.200 0.000 0.00 61.100 8.41 10.68 0.70 0.000 0.200 0.000 0.00 61.150 8.20 9.67 0.57 0.000 0.200 0.000 0.00 61.200 8.44 9.74 0.46 0.000 0.200 0.000 0.00 61.250 8.30 8.47 0.15 0.000 0.200 0.000 0.00 61.300 8.24 7.83 0.30 0.000 0.200 0.000 0.00 61.350 7.91 9.02 0.49 0.000 0.200 0.000 0.00 61.400 7.71 4.53 0.31 0.000 0.200 0.000 0.00 61.450 7.67 2.89 0.23 0.000 0.200 0.000 0.00 61.500 7.86 0.66 0.35 0.000 0.200 0.000 0.00 61.550 7.94 0.60 0.22 0.000 0.200 0.000 0.00 61.600 7.88 1.02 0.57 0.000 0.200 0.000 0.00 61.650 7.50 1.92 0.31 0.000 0.200 0.000 0.00 61.700 7.62 3.29 -0.02 0.000 0.200 0.000 0.00 61.750 7.61 4.87 -0.18 0.000 0.200 0.000 0.00 61.800 7.81 3.06 0.01 0.000 0.200 0.000 0.00 61.850 7.50 0.45 0.22 0.000 0.200 0.000 0.00 61.900 7.91 1.24 0.18 0.000 0.200 0.000 0.00 61.950 7.83 1.57 0.23 0.000 0.200 0.000 0.00 62.000 7.59 0.29 0.18 0.000 0.200 0.000 0.00 62.050 7.88 -3.05 -0.03 0.000 0.200 0.000 0.00 62.100 7.43 -4.19 -0.27 0.000 0.200 0.000 0.00 62.150 7.41 -2.62 -0.38 0.000 0.200 0.000 0.00 62.200 7.66 -4.44 -0.13 0.000 0.200 0.000 0.00 62.250 7.79 -5.15 0.20 0.000 0.200 0.000 0.00 62.300 7.62 -6.22 0.17 0.000 0.200 0.000 0.00 62.350 7.62 -6.20 0.00 0.000 0.200 0.000 0.00 62.400 7.74 -7.55 -0.21 0.000 0.200 0.000 0.00 62.450 7.57 -6.85 0.03 0.000 0.200 0.000 0.00 62.500 7.42 -4.20 0.13 0.000 0.200 0.000 0.00 62.550 7.36 -2.72 0.07 0.000 0.200 0.000 0.00 62.600 7.31 1.01 0.03 0.000 0.200 0.000 0.00 62.650 7.52 2.53 0.06 0.000 0.200 0.000 0.00 62.700 7.35 3.33 0.15 0.000 0.200 0.000 0.00 62.750 7.10 3.87 0.19 0.000 0.200 0.000 0.00 62.800 7.19 1.74 0.39 0.000 0.200 0.000 0.00 62.850 7.20 2.39 0.58 0.000 0.200 0.000 0.00 62.900 7.24 2.95 0.95 0.000 0.200 0.000 0.00 62.950 7.48 2.99 0.60 0.000 0.200 0.000 0.00 63.000 7.31 0.13 0.94 0.000 0.200 0.000 0.00 63.050 7.20 1.85 1.07 0.000 0.200 0.000 0.00 63.100 7.09 3.62 0.94 0.000 0.200 0.000 0.00 63.150 6.95 3.34 1.15 0.000 0.200 0.000 0.00 63.200 6.92 1.56 1.00 0.000 0.200 0.000 0.00 63.250 7.25 1.56 1.02 0.000 0.200 0.000 0.00 63.300 7.24 5.61 0.82 0.000 0.200 0.000 0.00 63.350 7.40 6.22 0.80 0.000 0.200 0.000 0.00 63.400 7.40 6.98 0.89 0.000 0.200 0.000 0.00 63.450 7.56 4.07 0.67 0.000 0.200 0.000 0.00 63.500 7.32 4.10 0.53 0.000 0.200 0.000 0.00 63.550 7.12 6.21 0.22 0.000 0.200 0.000 0.00 63.600 7.16 6.05 0.47 0.000 0.200 0.000 0.00 63.650 7.09 7.82 0.58 0.000 0.200 0.000 0.00 63.700 7.28 7.14 0.53 0.000 0.200 0.000 0.00 63.750 7.45 6.30 0.54 0.000 0.200 0.000 0.00 63.800 7.57 7.04 0.56 0.000 0.200 0.000 0.00 63.850 7.61 5.23 0.67 0.000 0.200 0.000 0.00 63.900 7.84 0.54 0.82 0.000 0.200 0.000 0.00 63.950 8.21 1.09 0.90 0.000 0.200 0.000 0.00 64.000 8.12 0.14 0.78 0.000 0.200 0.000 0.00 64.050 8.31 1.23 0.75 0.000 0.200 0.000 0.00 64.100 8.28 5.65 0.42 0.000 0.200 0.000 0.00 64.150 8.19 4.99 0.53 0.000 0.200 0.000 0.00 64.200 8.68 5.39 0.33 0.000 0.200 0.000 0.00 64.250 8.43 5.58 -0.05 0.000 0.200 0.000 0.00 64.300 8.48 7.05 -0.09 0.000 0.200 0.000 0.00 64.350 8.22 4.24 0.06 0.000 0.200 0.000 0.00 64.400 7.76 3.79 -0.12 0.000 0.200 0.000 0.00 64.450 7.91 6.21 -0.07 0.000 0.200 0.000 0.00 64.500 8.08 6.37 -0.01 0.000 0.200 0.000 0.00 64.550 8.47 5.88 -0.23 0.000 0.200 0.000 0.00 64.600 8.18 3.12 -0.54 0.000 0.200 0.000 0.00 64.650 7.90 6.10 -0.42 0.000 0.200 0.000 0.00 64.700 8.13 6.34 -0.45 0.000 0.200 0.000 0.00 64.750 8.19 7.97 -0.50 0.000 0.200 0.000 0.00 64.800 8.30 12.19 -0.48 0.000 0.200 0.000 0.00 64.850 8.42 14.75 -0.20 0.000 0.200 0.000 0.00 64.900 8.17 12.07 -0.28 0.000 0.200 0.000 0.00 64.950 7.98 10.92 -0.21 0.000 0.200 0.000 0.00 65.000 7.83 9.58 -0.39 0.000 0.200 0.000 0.00 65.050 7.93 9.98 -0.25 0.000 0.200 0.000 0.00 65.100 8.05 8.73 -0.45 0.000 0.200 0.000 0.00 65.150 7.82 7.07 -0.37 0.000 0.200 0.000 0.00 65.200 8.08 7.18 -0.12 0.000 0.200 0.000 0.00 65.250 7.83 7.34 0.35 0.000 0.200 0.000 0.00 65.300 7.93 6.15 0.47 0.000 0.200 0.000 0.00 65.350 7.48 6.87 0.41 0.000 0.200 0.000 0.00 65.400 7.69 8.66 0.39 0.000 0.200 0.000 0.00 65.450 7.75 11.22 0.34 0.000 0.200 0.000 0.00 65.500 7.55 8.59 -0.25 0.000 0.200 0.000 0.00 65.550 7.71 6.41 -0.17 0.000 0.200 0.000 0.00 65.600 7.89 5.61 0.08 0.000 0.200 0.000 0.00 65.650 7.82 6.77 -0.09 0.000 0.200 0.000 0.00 65.700 7.64 7.81 0.20 0.000 0.200 0.000 0.00 65.750 7.86 5.37 0.48 0.000 0.200 0.000 0.00 65.800 7.52 6.08 0.52 0.000 0.200 0.000 0.00 65.850 7.75 5.53 0.78 0.000 0.200 0.000 0.00 65.900 7.82 4.82 0.77 0.000 0.200 0.000 0.00 65.950 7.85 7.25 0.76 0.000 0.200 0.000 0.00 66.000 7.92 7.43 0.44 0.000 0.200 0.000 0.00 66.050 8.20 4.96 0.43 0.000 0.200 0.000 0.00 66.100 8.27 4.34 0.30 0.000 0.200 0.000 0.00 66.150 8.05 5.23 0.07 0.000 0.200 0.000 0.00 66.200 7.94 5.40 -0.08 0.000 0.200 0.000 0.00 66.250 8.08 4.01 0.12 0.000 0.200 0.000 0.00 66.300 8.09 2.09 0.55 0.000 0.200 0.000 0.00 66.350 8.49 4.93 0.65 0.000 0.200 0.000 0.00 66.400 8.31 3.53 0.70 0.000 0.200 0.000 0.00 66.450 8.10 0.72 1.18 0.000 0.200 0.000 0.00 66.500 8.12 1.37 1.08 0.000 0.200 0.000 0.00 66.550 7.91 0.49 1.28 0.000 0.200 0.000 0.00 66.600 8.08 1.49 1.73 0.000 0.200 0.000 0.00 66.650 7.90 1.82 1.63 0.000 0.200 0.000 0.00 66.700 7.92 -1.84 1.12 0.000 0.200 0.000 0.00 66.750 7.72 -3.25 1.21 0.000 0.200 0.000 0.00 66.800 8.12 -1.74 1.12 0.000 0.200 0.000 0.00 66.850 8.36 -2.03 1.13 0.000 0.200 0.000 0.00 66.900 8.42 -0.88 0.69 0.000 0.200 0.000 0.00 66.950 8.68 -2.51 0.72 0.000 0.200 0.000 0.00 67.000 9.00 -3.15 0.93 0.000 0.200 0.000 0.00 67.050 8.71 -4.58 0.97 0.000 0.200 0.000 0.00 67.100 8.58 -7.01 1.21 0.000 0.200 0.000 0.00 67.150 8.59 -4.35 1.11 0.000 0.200 0.000 0.00 67.200 8.76 -0.14 1.08 0.000 0.200 0.000 0.00 67.250 8.46 2.64 1.05 0.000 0.200 0.000 0.00 67.300 8.58 1.88 1.24 0.000 0.200 0.000 0.00 67.350 8.81 3.29 0.64 0.000 0.200 0.000 0.00 67.400 8.81 1.75 0.66 0.000 0.200 0.000 0.00 67.450 8.83 2.44 0.87 0.000 0.200 0.000 0.00 67.500 9.01 2.76 0.90 0.000 0.200 0.000 0.00 67.550 9.18 3.63 0.81 0.000 0.200 0.000 0.00 67.600 9.29 2.89 1.00 0.000 0.200 0.000 0.00 67.650 9.13 2.58 0.51 0.000 0.200 0.000 0.00 67.700 9.18 2.20 0.57 0.000 0.200 0.000 0.00 67.750 9.01 3.38 0.92 0.000 0.200 0.000 0.00 67.800 8.80 6.26 1.05 0.000 0.200 0.000 0.00 67.850 8.71 7.33 1.21 0.000 0.200 0.000 0.00 67.900 8.81 4.60 1.22 0.000 0.200 0.000 0.00 67.950 8.72 5.55 0.76 0.000 0.200 0.000 0.00 68.000 8.85 3.84 0.39 0.000 0.200 0.000 0.00 68.050 8.68 5.77 0.45 0.000 0.200 0.000 0.00 68.100 8.82 1.97 0.57 0.000 0.200 0.000 0.00 68.150 9.02 0.77 0.48 0.000 0.200 0.000 0.00 68.200 9.01 2.47 0.76 0.000 0.200 0.000 0.00 68.250 8.82 4.14 1.12 0.000 0.200 0.000 0.00 68.300 8.99 5.33 0.85 0.000 0.200 0.000 0.00 68.350 9.04 6.46 0.55 0.000 0.200 0.000 0.00 68.400 9.20 5.15 0.62 0.000 0.200 0.000 0.00 68.450 9.41 6.56 0.53 0.000 0.200 0.000 0.00 68.500 9.42 4.37 0.05 0.000 0.200 0.000 0.00 68.550 9.34 5.36 0.19 0.000 0.200 0.000 0.00 68.600 9.05 4.37 -0.17 0.000 0.200 0.000 0.00 68.650 9.04 3.56 0.00 0.000 0.200 0.000 0.00 68.700 8.81 2.63 -0.16 0.000 0.200 0.000 0.00 68.750 8.53 1.27 0.02 0.000 0.200 0.000 0.00 68.800 8.53 0.16 -0.02 0.000 0.200 0.000 0.00 68.850 8.47 3.50 -0.37 0.000 0.200 0.000 0.00 68.900 8.86 3.19 -0.31 0.000 0.200 0.000 0.00 68.950 8.90 4.95 -0.22 0.000 0.200 0.000 0.00 69.000 8.99 5.43 -0.27 0.000 0.200 0.000 0.00 69.050 9.17 3.84 -0.25 0.000 0.200 0.000 0.00 69.100 9.34 4.30 -0.17 0.000 0.200 0.000 0.00 69.150 9.35 4.61 -0.05 0.000 0.200 0.000 0.00 69.200 9.35 4.14 0.06 0.000 0.200 0.000 0.00 69.250 9.54 3.54 0.19 0.000 0.200 0.000 0.00 69.300 9.42 3.19 0.07 0.000 0.200 0.000 0.00 69.350 9.39 5.94 0.41 0.000 0.200 0.000 0.00 69.400 9.52 6.10 0.50 0.000 0.200 0.000 0.00 69.450 9.17 4.04 0.17 0.000 0.200 0.000 0.00 69.500 9.23 3.92 0.14 0.000 0.200 0.000 0.00 69.550 9.63 5.21 0.27 0.000 0.200 0.000 0.00 69.600 9.39 4.11 0.40 0.000 0.200 0.000 0.00 69.650 9.26 4.77 0.51 0.000 0.200 0.000 0.00 69.700 9.22 5.09 0.58 0.000 0.200 0.000 0.00 69.750 9.40 5.55 0.66 0.000 0.200 0.000 0.00 69.800 9.49 7.22 0.79 0.000 0.200 0.000 0.00 69.850 9.32 6.49 0.89 0.000 0.200 0.000 0.00 69.900 8.53 3.66 0.71 0.000 0.200 0.000 0.00 69.950 8.51 4.38 0.43 0.000 0.200 0.000 0.00 70.000 8.31 5.34 0.67 0.000 0.200 0.000 0.00 70.050 8.53 1.90 0.93 0.000 0.200 0.000 0.00 70.100 8.80 3.82 0.71 0.000 0.200 0.000 0.00 70.150 8.75 3.48 0.59 0.000 0.200 0.000 0.00 70.200 8.95 1.54 0.36 0.000 0.200 0.000 0.00 70.250 8.84 -0.91 0.73 0.000 0.200 0.000 0.00 70.300 8.60 0.53 0.58 0.000 0.200 0.000 0.00 70.350 8.83 0.40 0.85 0.000 0.200 0.000 0.00 70.400 9.04 0.22 0.91 0.000 0.200 0.000 0.00 70.450 9.04 0.98 0.73 0.000 0.200 0.000 0.00 70.500 9.01 2.47 0.69 0.000 0.200 0.000 0.00 70.550 9.55 2.02 0.94 0.000 0.200 0.000 0.00 70.600 9.77 2.03 1.24 0.000 0.200 0.000 0.00 70.650 9.82 1.47 1.22 0.000 0.200 0.000 0.00 70.700 9.65 0.12 1.43 0.000 0.200 0.000 0.00 70.750 9.85 1.25 1.45 0.000 0.200 0.000 0.00 70.800 10.03 1.16 1.48 0.000 0.200 0.000 0.00 70.850 9.99 1.17 1.28 0.000 0.200 0.000 0.00 70.900 9.83 -0.58 1.41 0.000 0.200 0.000 0.00 70.950 9.55 0.04 1.46 0.000 0.200 0.000 0.00 71.000 9.39 0.09 1.18 0.000 0.200 0.000 0.00 71.050 9.44 -2.32 1.13 0.000 0.200 0.000 0.00 71.100 9.55 -2.31 1.08 0.000 0.200 0.000 0.00 71.150 9.35 -1.43 1.12 0.000 0.200 0.000 0.00 71.200 8.81 -1.08 1.03 0.000 0.200 0.000 0.00 71.250 8.88 -2.72 1.19 0.000 0.200 0.000 0.00 71.300 9.25 -4.61 1.08 0.000 0.200 0.000 0.00 71.350 9.47 -5.31 0.84 0.000 0.200 0.000 0.00 71.400 9.66 -6.17 0.50 0.000 0.200 0.000 0.00 71.450 9.45 -4.62 0.72 0.000 0.200 0.000 0.00 71.500 9.12 -1.85 0.41 0.000 0.200 0.000 0.00 71.550 9.15 0.04 0.01 0.000 0.200 0.000 0.00 71.600 8.99 -0.77 0.15 0.000 0.200 0.000 0.00 71.650 9.29 0.58 -0.09 0.000 0.200 0.000 0.00 71.700 9.15 -0.13 0.30 0.000 0.200 0.000 0.00 71.750 9.17 1.52 0.69 0.000 0.200 0.000 0.00 71.800 8.95 1.35 0.36 0.000 0.200 0.000 0.00 71.850 8.95 3.09 0.19 0.000 0.200 0.000 0.00 71.900 8.99 1.42 0.54 0.000 0.200 0.000 0.00 71.950 8.60 2.73 0.39 0.000 0.200 0.000 0.00 72.000 8.83 3.81 0.43 0.000 0.200 0.000 0.00 72.050 8.86 4.80 0.75 0.000 0.200 0.000 0.00 72.100 8.83 5.38 0.94 0.000 0.200 0.000 0.00 72.150 8.54 1.82 1.16 0.000 0.200 0.000 0.00 72.200 8.36 2.24 1.16 0.000 0.200 0.000 0.00 72.250 8.52 2.30 1.12 0.000 0.200 0.000 0.00 72.300 8.28 0.61 1.12 0.000 0.200 0.000 0.00 72.350 8.30 2.76 1.14 0.000 0.200 0.000 0.00 72.400 8.46 1.08 0.96 0.000 0.200 0.000 0.00 72.450 8.85 1.15 1.04 0.000 0.200 0.000 0.00 72.500 8.77 1.71 1.25 0.000 0.200 0.000 0.00 72.550 8.79 2.83 1.24 0.000 0.200 0.000 0.00 72.600 8.85 0.70 1.27 0.000 0.200 0.000 0.00 72.650 8.90 -1.57 1.05 0.000 0.200 0.000 0.00 72.700 8.82 -1.47 1.35 0.000 0.200 0.000 0.00 72.750 9.02 -1.03 1.34 0.000 0.200 0.000 0.00 72.800 8.86 -1.11 1.60 0.000 0.200 0.000 0.00 72.850 8.88 -4.43 1.48 0.000 0.200 0.000 0.00 72.900 9.01 -4.15 1.26 0.000 0.200 0.000 0.00 72.950 9.10 -4.11 1.25 0.000 0.200 0.000 0.00 73.000 8.83 -4.60 1.25 0.000 0.200 0.000 0.00 73.050 9.00 -3.32 1.10 0.000 0.200 0.000 0.00 73.100 8.81 -3.74 0.99 0.000 0.200 0.000 0.00 73.150 9.15 -2.26 1.06 0.000 0.200 0.000 0.00 73.200 8.98 -0.66 0.51 0.000 0.200 0.000 0.00 73.250 9.45 2.31 0.80 0.000 0.200 0.000 0.00 73.300 9.10 3.61 0.86 0.000 0.200 0.000 0.00 73.350 9.17 3.05 0.97 0.000 0.200 0.000 0.00 73.400 9.56 4.43 0.69 0.000 0.200 0.000 0.00 73.450 9.46 4.40 0.70 0.000 0.200 0.000 0.00 73.500 9.06 3.35 0.37 0.000 0.200 0.000 0.00 73.550 9.05 2.56 0.02 0.000 0.200 0.000 0.00 73.600 9.47 3.12 -0.26 0.000 0.200 0.000 0.00 73.650 9.48 4.22 -0.51 0.000 0.200 0.000 0.00 73.700 9.41 2.67 -0.09 0.000 0.200 0.000 0.00 73.750 9.37 1.27 0.23 0.000 0.200 0.000 0.00 73.800 9.39 3.50 0.28 0.000 0.200 0.000 0.00 73.850 9.39 1.61 0.40 0.000 0.200 0.000 0.00 73.900 9.19 1.39 0.21 0.000 0.200 0.000 0.00 73.950 8.77 0.28 0.55 0.000 0.200 0.000 0.00 74.000 8.82 1.88 0.81 0.000 0.200 0.000 0.00 74.050 8.87 2.37 0.70 0.000 0.200 0.000 0.00 74.100 8.51 4.26 0.58 0.000 0.200 0.000 0.00 74.150 8.55 5.83 0.52 0.000 0.200 0.000 0.00 74.200 8.84 3.71 0.52 0.000 0.200 0.000 0.00 74.250 9.01 1.91 0.41 0.000 0.200 0.000 0.00 74.300 8.92 1.59 0.16 0.000 0.200 0.000 0.00 74.350 8.63 1.90 0.23 0.000 0.200 0.000 0.00 74.400 8.39 -2.89 0.48 0.000 0.200 0.000 0.00 74.450 8.43 -2.22 0.63 0.000 0.200 0.000 0.00 74.500 8.92 -4.64 0.77 0.000 0.200 0.000 0.00 74.550 9.09 -4.59 0.48 0.000 0.200 0.000 0.00 74.600 8.72 -3.70 0.24 0.000 0.200 0.000 0.00 74.650 8.91 -2.60 0.39 0.000 0.200 0.000 0.00 74.700 8.98 -6.94 0.40 0.000 0.200 0.000 0.00 74.750 9.08 -8.24 0.12 0.000 0.200 0.000 0.00 74.800 9.02 -6.40 0.00 0.000 0.200 0.000 0.00 74.850 8.75 -4.27 0.45 0.000 0.200 0.000 0.00 74.900 8.78 -4.04 0.81 0.000 0.200 0.000 0.00 74.950 8.71 -2.49 1.26 0.000 0.200 0.000 0.00 75.000 8.90 -2.92 1.28 0.000 0.200 0.000 0.00 75.050 8.82 -3.41 1.20 0.000 0.200 0.000 0.00 75.100 8.82 -2.46 0.80 0.000 0.200 0.000 0.00 75.150 8.71 -2.18 0.79 0.000 0.200 0.000 0.00 75.200 8.66 -2.77 0.92 0.000 0.200 0.000 0.00 75.250 8.79 -1.62 1.23 0.000 0.200 0.000 0.00 75.300 8.65 0.90 1.22 0.000 0.200 0.000 0.00 75.350 8.55 -0.66 0.80 0.000 0.200 0.000 0.00 75.400 8.62 -0.51 0.90 0.000 0.200 0.000 0.00 75.450 8.90 -1.99 0.67 0.000 0.200 0.000 0.00 75.500 8.98 -2.96 0.58 0.000 0.200 0.000 0.00 75.550 9.34 -3.34 0.79 0.000 0.200 0.000 0.00 75.600 9.15 -2.20 0.98 0.000 0.200 0.000 0.00 75.650 8.84 -0.54 0.87 0.000 0.200 0.000 0.00 75.700 8.67 -1.50 0.84 0.000 0.200 0.000 0.00 75.750 8.74 -2.01 0.71 0.000 0.200 0.000 0.00 75.800 8.73 -4.45 0.79 0.000 0.200 0.000 0.00 75.850 8.85 -4.71 0.82 0.000 0.200 0.000 0.00 75.900 9.11 -4.62 0.75 0.000 0.200 0.000 0.00 75.950 9.01 -5.70 0.44 0.000 0.200 0.000 0.00 76.000 8.87 -5.67 -0.06 0.000 0.200 0.000 0.00 76.050 8.81 -5.12 -0.10 0.000 0.200 0.000 0.00 76.100 8.91 -4.65 0.18 0.000 0.200 0.000 0.00 76.150 9.10 -4.00 -0.14 0.000 0.200 0.000 0.00 76.200 9.36 -3.20 -0.12 0.000 0.200 0.000 0.00 76.250 9.18 -4.21 -0.45 0.000 0.200 0.000 0.00 76.300 9.08 -4.15 -0.11 0.000 0.200 0.000 0.00 76.350 9.34 -2.08 0.04 0.000 0.200 0.000 0.00 76.400 9.29 -0.95 -0.17 0.000 0.200 0.000 0.00 76.450 9.38 -4.29 -0.36 0.000 0.200 0.000 0.00 76.500 9.51 -5.64 -0.11 0.000 0.200 0.000 0.00 76.550 9.43 -6.32 -0.36 0.000 0.200 0.000 0.00 76.600 9.80 -5.34 -0.57 0.000 0.200 0.000 0.00 76.650 9.39 -2.69 -0.62 0.000 0.200 0.000 0.00 76.700 9.18 -5.16 -0.39 0.000 0.200 0.000 0.00 76.750 9.29 -7.08 0.07 0.000 0.200 0.000 0.00 76.800 9.12 -7.54 0.52 0.000 0.200 0.000 0.00 76.850 8.77 -6.01 0.36 0.000 0.200 0.000 0.00 76.900 9.03 -7.32 0.05 0.000 0.200 0.000 0.00 76.950 8.91 -5.31 -0.18 0.000 0.200 0.000 0.00 77.000 9.31 -4.94 -0.34 0.000 0.200 0.000 0.00 77.050 9.64 -8.45 -0.61 0.000 0.200 0.000 0.00 77.100 9.55 -7.57 -0.72 0.000 0.200 0.000 0.00 77.150 9.25 -3.86 -0.31 0.000 0.200 0.000 0.00 77.200 9.13 -2.57 -0.52 0.000 0.200 0.000 0.00 77.250 8.99 -2.70 -0.60 0.000 0.200 0.000 0.00 77.300 9.03 -3.04 -0.55 0.000 0.200 0.000 0.00 77.350 9.36 -6.60 -0.37 0.000 0.200 0.000 0.00 77.400 9.02 -6.07 -0.21 0.000 0.200 0.000 0.00 77.450 8.78 -8.35 -0.20 0.000 0.200 0.000 0.00 77.500 8.84 -9.09 -0.39 0.000 0.200 0.000 0.00 77.550 8.73 -6.62 -0.05 0.000 0.200 0.000 0.00 77.600 8.41 -4.90 0.08 0.000 0.200 0.000 0.00 77.650 8.25 -5.22 0.15 0.000 0.200 0.000 0.00 77.700 8.18 -2.03 -0.06 0.000 0.200 0.000 0.00 77.750 8.07 -4.60 -0.22 0.000 0.200 0.000 0.00 77.800 7.81 -5.02 0.01 0.000 0.200 0.000 0.00 77.850 7.87 -5.66 0.36 0.000 0.200 0.000 0.00 77.900 8.16 -7.18 0.18 0.000 0.200 0.000 0.00 77.950 7.77 -7.63 0.05 0.000 0.200 0.000 0.00 78.000 7.77 -9.23 0.37 0.000 0.200 0.000 0.00 78.050 7.80 -6.26 0.39 0.000 0.200 0.000 0.00 78.100 7.85 -5.06 0.51 0.000 0.200 0.000 0.00 78.150 7.77 -6.61 0.51 0.000 0.200 0.000 0.00 78.200 7.40 -3.73 0.71 0.000 0.200 0.000 0.00 78.250 7.69 -3.31 0.46 0.000 0.200 0.000 0.00 78.300 7.59 -4.71 0.25 0.000 0.200 0.000 0.00 78.350 7.62 -3.56 0.36 0.000 0.200 0.000 0.00 78.400 7.75 -4.45 0.45 0.000 0.200 0.000 0.00 78.450 7.91 -6.41 0.32 0.000 0.200 0.000 0.00 78.500 8.06 -8.24 0.25 0.000 0.200 0.000 0.00 78.550 8.17 -8.08 0.44 0.000 0.200 0.000 0.00 78.600 8.15 -9.67 0.03 0.000 0.200 0.000 0.00 78.650 8.09 -9.73 -0.49 0.000 0.200 0.000 0.00 78.700 7.96 -8.66 -0.12 0.000 0.200 0.000 0.00 78.750 7.92 -6.66 -0.29 0.000 0.200 0.000 0.00 78.800 7.85 -4.94 -0.36 0.000 0.200 0.000 0.00 78.850 7.60 -3.58 -0.34 0.000 0.200 0.000 0.00 78.900 7.45 -4.03 -0.31 0.000 0.200 0.000 0.00 78.950 7.73 -3.43 -0.32 0.000 0.200 0.000 0.00 79.000 7.91 -3.81 -0.31 0.000 0.200 0.000 0.00 79.050 8.06 -3.54 -0.51 0.000 0.200 0.000 0.00 79.100 7.71 -3.23 -0.32 0.000 0.200 0.000 0.00 79.150 7.65 -5.83 -0.32 0.000 0.200 0.000 0.00 79.200 7.66 -5.47 -0.47 0.000 0.200 0.000 0.00 79.250 7.67 -3.85 -0.40 0.000 0.200 0.000 0.00 79.300 7.76 -3.69 -0.53 0.000 0.200 0.000 0.00 79.350 7.82 -4.50 -0.50 0.000 0.200 0.000 0.00 79.400 8.07 -3.07 -0.35 0.000 0.200 0.000 0.00 79.450 8.34 -3.91 -0.13 0.000 0.200 0.000 0.00 79.500 8.23 -4.71 0.38 0.000 0.200 0.000 0.00 79.550 8.34 -1.53 0.17 0.000 0.200 0.000 0.00 79.600 8.42 -1.51 -0.15 0.000 0.200 0.000 0.00 79.650 7.91 -4.65 -0.64 0.000 0.200 0.000 0.00 79.700 7.73 -2.03 -0.63 0.000 0.200 0.000 0.00 79.750 8.25 -1.83 -0.80 0.000 0.200 0.000 0.00 79.800 8.51 -2.87 -0.59 0.000 0.200 0.000 0.00 79.850 8.04 -3.30 -0.50 0.000 0.200 0.000 0.00 79.900 8.27 -4.68 -0.49 0.000 0.200 0.000 0.00 79.950 7.97 -2.81 -0.57 0.000 0.200 0.000 0.00 80.000 7.62 -3.15 -0.61 0.000 0.200 0.000 0.00 80.050 7.46 -3.43 -0.58 0.000 0.200 0.000 0.00 80.100 7.50 -2.79 -0.65 0.000 0.200 0.000 0.00 80.150 7.47 -0.79 -0.78 0.000 0.200 0.000 0.00 80.200 7.37 -2.51 -0.48 0.000 0.200 0.000 0.00 80.250 7.39 -3.67 -0.63 0.000 0.200 0.000 0.00 80.300 7.66 -6.20 -0.87 0.000 0.200 0.000 0.00 80.350 7.59 -4.37 -0.73 0.000 0.200 0.000 0.00 80.400 7.72 -5.46 -0.66 0.000 0.200 0.000 0.00 80.450 7.69 -2.86 -0.90 0.000 0.200 0.000 0.00 80.500 7.58 -0.32 -1.07 0.000 0.200 0.000 0.00 80.550 7.69 -1.93 -1.06 0.000 0.200 0.000 0.00 80.600 7.54 -0.93 -0.79 0.000 0.200 0.000 0.00 80.650 7.57 -0.21 -0.87 0.000 0.200 0.000 0.00 80.700 7.48 0.71 -1.12 0.000 0.200 0.000 0.00 80.750 7.36 0.11 -0.85 0.000 0.200 0.000 0.00 80.800 7.51 -1.01 -1.26 0.000 0.200 0.000 0.00 80.850 7.53 -2.44 -0.74 0.000 0.200 0.000 0.00 80.900 7.15 -2.68 -1.19 0.000 0.200 0.000 0.00 80.950 6.88 -2.68 -1.24 0.000 0.200 0.000 0.00 81.000 6.52 -4.96 -1.29 0.000 0.200 0.000 0.00 81.050 6.34 -3.48 -1.12 0.000 0.200 0.000 0.00 81.100 6.39 -4.04 -1.30 0.000 0.200 0.000 0.00 81.150 6.71 -4.48 -1.43 0.000 0.200 0.000 0.00 81.200 6.75 -5.81 -1.89 0.000 0.200 0.000 0.00 81.250 6.89 -9.24 -2.15 0.000 0.200 0.000 0.00 81.300 7.15 -10.83 -2.14 0.000 0.200 0.000 0.00 81.350 6.71 -9.83 -2.34 0.000 0.200 0.000 0.00 81.400 6.46 -8.60 -2.24 0.000 0.200 0.000 0.00 81.450 6.44 -8.11 -2.21 0.000 0.200 0.000 0.00 81.500 6.80 -6.99 -2.09 0.000 0.200 0.000 0.00 81.550 6.60 -10.75 -2.14 0.000 0.200 0.000 0.00 81.600 6.56 -9.91 -1.50 0.000 0.200 0.000 0.00 81.650 6.31 -10.55 -1.60 0.000 0.200 0.000 0.00 81.700 6.17 -10.39 -1.67 0.000 0.200 0.000 0.00 81.750 6.16 -7.01 -1.53 0.000 0.200 0.000 0.00 81.800 5.87 -7.83 -1.93 0.000 0.200 0.000 0.00 81.850 5.91 -4.95 -1.58 0.000 0.200 0.000 0.00 81.900 5.91 -5.62 -1.78 0.000 0.200 0.000 0.00 81.950 6.06 -8.59 -1.67 0.000 0.200 0.000 0.00 82.000 6.44 -9.66 -1.60 0.000 0.200 0.000 0.00 82.050 6.25 -12.41 -1.52 0.000 0.200 0.000 0.00 82.100 6.66 -12.50 -1.86 0.000 0.200 0.000 0.00 82.150 6.49 -10.71 -1.94 0.000 0.200 0.000 0.00 82.200 6.56 -10.34 -1.75 0.000 0.200 0.000 0.00 82.250 6.75 -7.43 -1.75 0.000 0.200 0.000 0.00 82.300 6.13 -6.25 -1.37 0.000 0.200 0.000 0.00 82.350 6.01 -4.09 -1.26 0.000 0.200 0.000 0.00 82.400 6.28 -8.41 -1.03 0.000 0.200 0.000 0.00 82.450 6.37 -6.70 -1.31 0.000 0.200 0.000 0.00 82.500 6.39 -8.13 -1.42 0.000 0.200 0.000 0.00 82.550 6.84 -9.07 -1.33 0.000 0.200 0.000 0.00 82.600 7.26 -7.75 -1.09 0.000 0.200 0.000 0.00 82.650 7.06 -8.27 -1.12 0.000 0.200 0.000 0.00 82.700 6.72 -7.52 -1.26 0.000 0.200 0.000 0.00 82.750 6.94 -9.87 -0.96 0.000 0.200 0.000 0.00 82.800 7.12 -8.42 -0.90 0.000 0.200 0.000 0.00 82.850 6.90 -7.67 -0.61 0.000 0.200 0.000 0.00 82.900 6.92 -4.20 -1.19 0.000 0.200 0.000 0.00 82.950 6.97 -4.20 -1.00 0.000 0.200 0.000 0.00 83.000 7.00 -5.87 -0.75 0.000 0.200 0.000 0.00 83.050 7.06 -7.26 -0.57 0.000 0.200 0.000 0.00 83.100 6.90 -6.46 -0.26 0.000 0.200 0.000 0.00 83.150 6.94 -7.30 -0.77 0.000 0.200 0.000 0.00 83.200 6.96 -5.69 -0.79 0.000 0.200 0.000 0.00 83.250 6.39 -5.57 -0.82 0.000 0.200 0.000 0.00 83.300 6.56 -6.85 -0.70 0.000 0.200 0.000 0.00 83.350 6.84 -7.08 -0.82 0.000 0.200 0.000 0.00 83.400 6.75 -9.55 -0.37 0.000 0.200 0.000 0.00 83.450 6.79 -9.86 0.33 0.000 0.200 0.000 0.00 83.500 6.58 -8.43 0.44 0.000 0.200 0.000 0.00 83.550 6.41 -9.26 -0.06 0.000 0.200 0.000 0.00 83.600 6.76 -9.35 -0.35 0.000 0.200 0.000 0.00 83.650 6.51 -10.16 -0.65 0.000 0.200 0.000 0.00 83.700 6.23 -8.81 -0.75 0.000 0.200 0.000 0.00 83.750 6.07 -6.42 -0.60 0.000 0.200 0.000 0.00 83.800 5.84 -4.28 -0.72 0.000 0.200 0.000 0.00 83.850 5.74 -4.15 -0.88 0.000 0.200 0.000 0.00 83.900 6.16 -6.31 -0.73 0.000 0.200 0.000 0.00 83.950 6.04 -7.01 -0.79 0.000 0.200 0.000 0.00 84.000 5.89 -7.95 -0.42 0.000 0.200 0.000 0.00 84.050 5.47 -10.74 -0.52 0.000 0.200 0.000 0.00 84.100 5.37 -8.96 -0.63 0.000 0.200 0.000 0.00 84.150 5.49 -9.06 -0.37 0.000 0.200 0.000 0.00 84.200 5.90 -8.52 -0.43 0.000 0.200 0.000 0.00 84.250 5.83 -8.93 -0.25 0.000 0.200 0.000 0.00 84.300 5.55 -8.52 -0.30 0.000 0.200 0.000 0.00 84.350 5.32 -12.36 -0.24 0.000 0.200 0.000 0.00 84.400 5.16 -9.20 -0.42 0.000 0.200 0.000 0.00 84.450 5.47 -8.76 -0.20 0.000 0.200 0.000 0.00 84.500 5.48 -10.64 -0.37 0.000 0.200 0.000 0.00 84.550 5.54 -11.20 -0.30 0.000 0.200 0.000 0.00 84.600 5.77 -6.98 -0.24 0.000 0.200 0.000 0.00 84.650 5.73 -9.52 -0.29 0.000 0.200 0.000 0.00 84.700 6.00 -9.12 -0.37 0.000 0.200 0.000 0.00 84.750 6.31 -9.77 -0.52 0.000 0.200 0.000 0.00 84.800 6.28 -12.41 -0.45 0.000 0.200 0.000 0.00 84.850 6.36 -14.18 -0.51 0.000 0.200 0.000 0.00 84.900 6.51 -14.26 -0.74 0.000 0.200 0.000 0.00 84.950 6.16 -11.12 -0.35 0.000 0.200 0.000 0.00 85.000 6.16 -10.20 0.04 0.000 0.200 0.000 0.00 85.050 6.01 -8.62 -0.09 0.000 0.200 0.000 0.00 85.100 5.92 -7.15 -0.02 0.000 0.200 0.000 0.00 85.150 5.54 -5.99 -0.01 0.000 0.200 0.000 0.00 85.200 5.39 -6.20 0.02 0.000 0.200 0.000 0.00 85.250 5.05 -2.81 -0.42 0.000 0.200 0.000 0.00 85.300 5.14 -7.72 -0.28 0.000 0.200 0.000 0.00 85.350 5.29 -6.94 -0.44 0.000 0.200 0.000 0.00 85.400 5.18 -11.79 -0.18 0.000 0.200 0.000 0.00 85.450 5.65 -12.98 -0.20 0.000 0.200 0.000 0.00 85.500 5.62 -17.11 -0.13 0.000 0.200 0.000 0.00 85.550 5.52 -19.59 0.13 0.000 0.200 0.000 0.00 85.600 5.33 -15.74 0.00 0.000 0.200 0.000 0.00 85.650 5.03 -17.55 -0.12 0.000 0.200 0.000 0.00 85.700 5.24 -12.14 -0.18 0.000 0.200 0.000 0.00 85.750 5.14 -16.27 -0.34 0.000 0.200 0.000 0.00 85.800 5.31 -17.87 -0.30 0.000 0.200 0.000 0.00 85.850 5.77 -20.56 0.05 0.000 0.200 0.000 0.00 85.900 5.77 -20.23 -0.03 0.000 0.200 0.000 0.00 85.950 5.47 -18.82 -0.23 0.000 0.200 0.000 0.00 86.000 5.27 -20.24 -0.45 0.000 0.200 0.000 0.00 86.050 5.71 -21.50 -0.34 0.000 0.200 0.000 0.00 86.100 6.29 -21.68 0.11 0.000 0.200 0.000 0.00 86.150 6.16 -19.37 0.04 0.000 0.200 0.000 0.00 86.200 6.12 -17.07 -0.13 0.000 0.200 0.000 0.00 86.250 6.30 -16.54 -0.11 0.000 0.200 0.000 0.00 86.300 6.49 -16.30 -0.19 0.000 0.200 0.000 0.00 86.350 6.47 -17.15 -0.03 0.000 0.200 0.000 0.00 86.400 6.54 -17.91 -0.38 0.000 0.200 0.000 0.00 86.450 6.65 -19.50 -0.34 0.000 0.200 0.000 0.00 86.500 6.50 -19.51 -0.36 0.000 0.200 0.000 0.00 86.550 6.77 -19.19 -0.63 0.000 0.200 0.000 0.00 86.600 6.66 -18.75 -0.51 0.000 0.200 0.000 0.00 86.650 7.11 -21.15 -0.36 0.000 0.200 0.000 0.00 86.700 6.96 -21.52 -0.56 0.000 0.200 0.000 0.00 86.750 6.94 -21.51 -0.65 0.000 0.200 0.000 0.00 86.800 6.76 -21.62 -0.78 0.000 0.200 0.000 0.00 86.850 6.94 -21.54 -0.31 0.000 0.200 0.000 0.00 86.900 6.82 -23.35 -0.38 0.000 0.200 0.000 0.00 86.950 6.73 -20.85 -0.07 0.000 0.200 0.000 0.00 87.000 6.67 -22.43 -0.36 0.000 0.200 0.000 0.00 87.050 6.41 -24.11 0.09 0.000 0.200 0.000 0.00 87.100 6.37 -19.77 0.26 0.000 0.200 0.000 0.00 87.150 6.13 -17.62 -0.04 0.000 0.200 0.000 0.00 87.200 6.15 -16.39 0.09 0.000 0.200 0.000 0.00 87.250 5.91 -13.72 0.22 0.000 0.200 0.000 0.00 87.300 5.92 -13.03 -0.08 0.000 0.200 0.000 0.00 87.350 6.23 -11.58 -0.36 0.000 0.200 0.000 0.00 87.400 6.55 -12.30 -0.42 0.000 0.200 0.000 0.00 87.450 6.36 -15.72 -0.24 0.000 0.200 0.000 0.00 87.500 5.98 -18.61 0.18 0.000 0.200 0.000 0.00 87.550 5.93 -19.37 0.14 0.000 0.200 0.000 0.00 87.600 6.09 -20.57 0.06 0.000 0.200 0.000 0.00 87.650 5.94 -21.29 0.04 0.000 0.200 0.000 0.00 87.700 5.87 -21.30 0.21 0.000 0.200 0.000 0.00 87.750 6.00 -24.00 0.16 0.000 0.200 0.000 0.00 87.800 5.73 -23.74 0.46 0.000 0.200 0.000 0.00 87.850 6.13 -19.10 0.48 0.000 0.200 0.000 0.00 87.900 6.07 -16.53 0.44 0.000 0.200 0.000 0.00 87.950 6.26 -15.92 0.03 0.000 0.200 0.000 0.00 88.000 6.48 -11.29 0.22 0.000 0.200 0.000 0.00 88.050 6.43 -11.47 0.11 0.000 0.200 0.000 0.00 88.100 6.13 -10.20 0.07 0.000 0.200 0.000 0.00 88.150 6.00 -11.62 -0.27 0.000 0.200 0.000 0.00 88.200 5.95 -12.32 -0.41 0.000 0.200 0.000 0.00 88.250 5.84 -15.10 -0.37 0.000 0.200 0.000 0.00 88.300 5.78 -15.30 -0.45 0.000 0.200 0.000 0.00 88.350 6.04 -18.40 -0.48 0.000 0.200 0.000 0.00 88.400 6.03 -20.49 -0.44 0.000 0.200 0.000 0.00 88.450 6.07 -22.08 -0.66 0.000 0.200 0.000 0.00 88.500 6.14 -20.41 -0.98 0.000 0.200 0.000 0.00 88.550 6.10 -19.78 -0.82 0.000 0.200 0.000 0.00 88.600 6.38 -20.75 -1.11 0.000 0.200 0.000 0.00 88.650 6.58 -22.44 -1.04 0.000 0.200 0.000 0.00 88.700 6.64 -22.75 -0.87 0.000 0.200 0.000 0.00 88.750 6.44 -22.66 -1.00 0.000 0.200 0.000 0.00 88.800 6.52 -19.97 -1.08 0.000 0.200 0.000 0.00 88.850 6.57 -19.94 -0.94 0.000 0.200 0.000 0.00 88.900 6.69 -20.05 -0.58 0.000 0.200 0.000 0.00 88.950 6.30 -20.52 -0.67 0.000 0.200 0.000 0.00 89.000 6.57 -19.10 -0.39 0.000 0.200 0.000 0.00 89.050 6.73 -19.05 -0.08 0.000 0.200 0.000 0.00 89.100 6.41 -16.17 -0.15 0.000 0.200 0.000 0.00 89.150 6.71 -16.44 -0.25 0.000 0.200 0.000 0.00 89.200 6.83 -17.04 -0.37 0.000 0.200 0.000 0.00 89.250 6.79 -19.10 -0.02 0.000 0.200 0.000 0.00 89.300 7.04 -19.69 0.51 0.000 0.200 0.000 0.00 89.350 7.19 -18.71 0.95 0.000 0.200 0.000 0.00 89.400 7.12 -23.06 0.77 0.000 0.200 0.000 0.00 89.450 7.47 -20.34 0.81 0.000 0.200 0.000 0.00 89.500 7.52 -19.31 0.63 0.000 0.200 0.000 0.00 89.550 7.65 -18.36 0.26 0.000 0.200 0.000 0.00 89.600 7.53 -18.62 0.64 0.000 0.200 0.000 0.00 89.650 7.47 -18.25 1.17 0.000 0.200 0.000 0.00 89.700 7.73 -18.40 0.94 0.000 0.200 0.000 0.00 89.750 7.46 -18.58 0.66 0.000 0.200 0.000 0.00 89.800 7.51 -17.83 0.33 0.000 0.200 0.000 0.00 89.850 7.57 -18.83 0.08 0.000 0.200 0.000 0.00 89.900 7.40 -19.45 0.37 0.000 0.200 0.000 0.00 89.950 7.39 -19.73 0.31 0.000 0.200 0.000 0.00 90.000 7.33 -19.40 0.18 0.000 0.200 0.000 0.00 90.050 7.46 -16.68 0.12 0.000 0.200 0.000 0.00 90.100 7.45 -14.67 0.51 0.000 0.200 0.000 0.00 90.150 7.34 -14.54 0.15 0.000 0.200 0.000 0.00 90.200 7.38 -15.45 0.03 0.000 0.200 0.000 0.00 90.250 7.59 -15.92 0.02 0.000 0.200 0.000 0.00 90.300 7.51 -16.61 -0.07 0.000 0.200 0.000 0.00 90.350 7.39 -15.77 -0.32 0.000 0.200 0.000 0.00 90.400 7.34 -16.44 -0.56 0.000 0.200 0.000 0.00 90.450 7.47 -19.85 -0.64 0.000 0.200 0.000 0.00 90.500 7.83 -19.18 -0.83 0.000 0.200 0.000 0.00 90.550 7.81 -17.59 -0.36 0.000 0.200 0.000 0.00 90.600 8.08 -18.62 -0.31 0.000 0.200 0.000 0.00 90.650 8.26 -18.37 -0.33 0.000 0.200 0.000 0.00 90.700 8.18 -17.08 -0.91 0.000 0.200 0.000 0.00 90.750 7.69 -18.69 -0.71 0.000 0.200 0.000 0.00 90.800 7.58 -17.82 -0.99 0.000 0.200 0.000 0.00 90.850 7.40 -16.50 -1.13 0.000 0.200 0.000 0.00 90.900 7.22 -16.54 -1.21 0.000 0.200 0.000 0.00 90.950 7.38 -16.88 -1.01 0.000 0.200 0.000 0.00 91.000 7.47 -18.61 -1.02 0.000 0.200 0.000 0.00 91.050 7.40 -16.63 -0.66 0.000 0.200 0.000 0.00 91.100 7.48 -16.51 -1.28 0.000 0.200 0.000 0.00 91.150 7.73 -18.23 -0.84 0.000 0.200 0.000 0.00 91.200 7.71 -16.55 -1.03 0.000 0.200 0.000 0.00 91.250 7.44 -17.32 -0.93 0.000 0.200 0.000 0.00 91.300 7.24 -17.05 -0.72 0.000 0.200 0.000 0.00 91.350 7.36 -18.99 -0.68 0.000 0.200 0.000 0.00 91.400 7.44 -21.73 -0.40 0.000 0.200 0.000 0.00 91.450 7.42 -19.16 -0.70 0.000 0.200 0.000 0.00 91.500 7.27 -20.11 -0.56 0.000 0.200 0.000 0.00 91.550 7.14 -18.55 -0.85 0.000 0.200 0.000 0.00 91.600 7.18 -18.69 -0.21 0.000 0.200 0.000 0.00 91.650 7.01 -18.06 -0.20 0.000 0.200 0.000 0.00 91.700 6.83 -19.62 -0.13 0.000 0.200 0.000 0.00 91.750 7.21 -21.91 -0.18 0.000 0.200 0.000 0.00 91.800 7.40 -22.64 0.15 0.000 0.200 0.000 0.00 91.850 7.25 -24.99 0.08 0.000 0.200 0.000 0.00 91.900 7.47 -21.13 -0.40 0.000 0.200 0.000 0.00 91.950 7.43 -19.01 -0.55 0.000 0.200 0.000 0.00 92.000 7.48 -15.70 -0.60 0.000 0.200 0.000 0.00 92.050 7.19 -15.00 -0.73 0.000 0.200 0.000 0.00 92.100 7.17 -14.24 -0.67 0.000 0.200 0.000 0.00 92.150 7.47 -18.87 -0.38 0.000 0.200 0.000 0.00 92.200 7.49 -20.56 -0.28 0.000 0.200 0.000 0.00 92.250 7.03 -15.95 -0.23 0.000 0.200 0.000 0.00 92.300 7.07 -15.24 -0.13 0.000 0.200 0.000 0.00 92.350 7.08 -17.04 -0.18 0.000 0.200 0.000 0.00 92.400 7.29 -17.50 -0.31 0.000 0.200 0.000 0.00 92.450 7.33 -15.57 -0.34 0.000 0.200 0.000 0.00 92.500 6.98 -14.64 -0.48 0.000 0.200 0.000 0.00 92.550 6.87 -13.91 -0.43 0.000 0.200 0.000 0.00 92.600 6.90 -17.89 -0.45 0.000 0.200 0.000 0.00 92.650 7.00 -19.20 -0.65 0.000 0.200 0.000 0.00 92.700 7.06 -14.41 -0.57 0.000 0.200 0.000 0.00 92.750 7.32 -11.23 -0.27 0.000 0.200 0.000 0.00 92.800 7.57 -11.32 0.04 0.000 0.200 0.000 0.00 92.850 7.40 -16.31 -0.03 0.000 0.200 0.000 0.00 92.900 7.38 -15.56 -0.04 0.000 0.200 0.000 0.00 92.950 7.25 -12.81 -0.48 0.000 0.200 0.000 0.00 93.000 7.42 -10.54 -0.23 0.000 0.200 0.000 0.00 93.050 7.47 -11.28 -0.08 0.000 0.200 0.000 0.00 93.100 7.59 -9.98 -0.11 0.000 0.200 0.000 0.00 93.150 7.85 -10.76 -0.25 0.000 0.200 0.000 0.00 93.200 7.82 -9.82 -0.73 0.000 0.200 0.000 0.00 93.250 7.62 -9.26 -0.47 0.000 0.200 0.000 0.00 93.300 7.56 -9.51 -0.53 0.000 0.200 0.000 0.00 93.350 7.69 -11.14 -0.53 0.000 0.200 0.000 0.00 93.400 7.55 -12.24 -0.30 0.000 0.200 0.000 0.00 93.450 7.73 -11.84 -0.14 0.000 0.200 0.000 0.00 93.500 7.83 -11.01 -0.33 0.000 0.200 0.000 0.00 93.550 7.42 -10.57 -0.35 0.000 0.200 0.000 0.00 93.600 7.19 -9.63 -0.58 0.000 0.200 0.000 0.00 93.650 7.45 -9.33 -0.38 0.000 0.200 0.000 0.00 93.700 7.37 -10.54 -0.24 0.000 0.200 0.000 0.00 93.750 7.27 -10.58 -0.56 0.000 0.200 0.000 0.00 93.800 7.10 -9.13 -0.17 0.000 0.200 0.000 0.00 93.850 6.89 -7.83 -0.02 0.000 0.200 0.000 0.00 93.900 6.99 -4.57 -0.33 0.000 0.200 0.000 0.00 93.950 7.00 -6.62 -0.57 0.000 0.200 0.000 0.00 94.000 6.86 -6.30 -0.08 0.000 0.200 0.000 0.00 94.050 7.01 -8.13 -0.17 0.000 0.200 0.000 0.00 94.100 7.08 -9.95 0.22 0.000 0.200 0.000 0.00 94.150 6.81 -10.37 0.45 0.000 0.200 0.000 0.00 94.200 7.12 -11.46 0.38 0.000 0.200 0.000 0.00 94.250 7.07 -10.12 0.52 0.000 0.200 0.000 0.00 94.300 7.14 -10.35 0.41 0.000 0.200 0.000 0.00 94.350 7.33 -10.83 0.51 0.000 0.200 0.000 0.00 94.400 6.92 -7.61 0.34 0.000 0.200 0.000 0.00 94.450 6.86 -11.15 0.63 0.000 0.200 0.000 0.00 94.500 7.39 -13.87 0.54 0.000 0.200 0.000 0.00 94.550 7.36 -12.73 0.64 0.000 0.200 0.000 0.00 94.600 7.20 -10.39 0.67 0.000 0.200 0.000 0.00 94.650 6.93 -11.70 0.78 0.000 0.200 0.000 0.00 94.700 6.78 -10.58 0.63 0.000 0.200 0.000 0.00 94.750 6.56 -14.88 0.78 0.000 0.200 0.000 0.00 94.800 6.40 -14.81 0.52 0.000 0.200 0.000 0.00 94.850 6.95 -13.28 0.69 0.000 0.200 0.000 0.00 94.900 6.85 -12.24 0.89 0.000 0.200 0.000 0.00 94.950 6.59 -14.52 0.72 0.000 0.200 0.000 0.00 95.000 6.98 -15.51 0.55 0.000 0.200 0.000 0.00 95.050 6.84 -15.77 0.64 0.000 0.200 0.000 0.00 95.100 6.81 -12.27 0.40 0.000 0.200 0.000 0.00 95.150 6.76 -11.90 0.63 0.000 0.200 0.000 0.00 95.200 6.71 -9.35 0.65 0.000 0.200 0.000 0.00 95.250 6.30 -10.92 0.90 0.000 0.200 0.000 0.00 95.300 6.17 -9.00 1.03 0.000 0.200 0.000 0.00 95.350 6.45 -9.47 0.77 0.000 0.200 0.000 0.00 95.400 6.15 -9.36 0.80 0.000 0.200 0.000 0.00 95.450 6.26 -5.67 0.74 0.000 0.200 0.000 0.00 95.500 6.22 -7.62 1.06 0.000 0.200 0.000 0.00 95.550 6.45 -12.64 1.35 0.000 0.200 0.000 0.00 95.600 6.42 -12.39 1.29 0.000 0.200 0.000 0.00 95.650 6.37 -8.21 1.33 0.000 0.200 0.000 0.00 95.700 6.27 -8.26 1.31 0.000 0.200 0.000 0.00 95.750 6.35 -7.56 0.96 0.000 0.200 0.000 0.00 95.800 6.52 -6.93 1.23 0.000 0.200 0.000 0.00 95.850 6.59 -4.15 0.99 0.000 0.200 0.000 0.00 95.900 6.57 -4.87 1.05 0.000 0.200 0.000 0.00 95.950 6.71 -6.81 1.34 0.000 0.200 0.000 0.00 96.000 6.60 -8.48 1.58 0.000 0.200 0.000 0.00 96.050 6.59 -5.84 1.08 0.000 0.200 0.000 0.00 96.100 6.56 1.40 0.98 0.000 0.200 0.000 0.00 96.150 6.78 0.70 0.94 0.000 0.200 0.000 0.00 96.200 6.74 -2.24 0.83 0.000 0.200 0.000 0.00 96.250 6.86 -6.58 0.54 0.000 0.200 0.000 0.00 96.300 6.69 -6.98 0.70 0.000 0.200 0.000 0.00 96.350 6.75 -6.82 0.68 0.000 0.200 0.000 0.00 96.400 7.02 -4.21 0.56 0.000 0.200 0.000 0.00 96.450 7.13 -2.03 0.87 0.000 0.200 0.000 0.00 96.500 7.35 -0.10 0.83 0.000 0.200 0.000 0.00 96.550 7.49 -0.77 0.91 0.000 0.200 0.000 0.00 96.600 7.57 -0.33 0.74 0.000 0.200 0.000 0.00 96.650 7.80 0.09 1.14 0.000 0.200 0.000 0.00 96.700 7.75 -3.46 1.08 0.000 0.200 0.000 0.00 96.750 7.87 -3.93 0.91 0.000 0.200 0.000 0.00 96.800 7.67 -3.93 0.98 0.000 0.200 0.000 0.00 96.850 7.64 -4.14 0.80 0.000 0.200 0.000 0.00 96.900 7.42 -4.20 0.62 0.000 0.200 0.000 0.00 96.950 7.04 -1.41 0.80 0.000 0.200 0.000 0.00 97.000 7.21 -2.77 0.92 0.000 0.200 0.000 0.00 97.050 7.51 -3.15 0.98 0.000 0.200 0.000 0.00 97.100 7.27 -4.31 1.15 0.000 0.200 0.000 0.00 97.150 7.65 -7.18 0.98 0.000 0.200 0.000 0.00 97.200 7.78 -8.27 0.97 0.000 0.200 0.000 0.00 97.250 7.56 -9.23 0.61 0.000 0.200 0.000 0.00 97.300 7.70 -10.08 0.62 0.000 0.200 0.000 0.00 97.350 7.66 -7.73 0.50 0.000 0.200 0.000 0.00 97.400 7.62 -7.98 0.71 0.000 0.200 0.000 0.00 97.450 7.59 -10.04 0.58 0.000 0.200 0.000 0.00 97.500 7.58 -9.06 0.50 0.000 0.200 0.000 0.00 97.550 7.40 -12.79 0.84 0.000 0.200 0.000 0.00 97.600 7.34 -9.94 1.23 0.000 0.200 0.000 0.00 97.650 7.45 -11.96 1.14 0.000 0.200 0.000 0.00 97.700 7.50 -14.50 0.85 0.000 0.200 0.000 0.00 97.750 7.55 -15.05 0.88 0.000 0.200 0.000 0.00 97.800 7.05 -15.83 0.50 0.000 0.200 0.000 0.00 97.850 7.12 -14.02 0.69 0.000 0.200 0.000 0.00 97.900 7.20 -15.17 0.74 0.000 0.200 0.000 0.00 97.950 6.95 -16.52 0.65 0.000 0.200 0.000 0.00 98.000 6.81 -18.29 0.45 0.000 0.200 0.000 0.00 98.050 6.71 -17.16 0.12 0.000 0.200 0.000 0.00 98.100 6.82 -16.84 0.52 0.000 0.200 0.000 0.00 98.150 6.62 -18.22 0.71 0.000 0.200 0.000 0.00 98.200 6.85 -18.50 0.73 0.000 0.200 0.000 0.00 98.250 6.85 -16.34 1.17 0.000 0.200 0.000 0.00 98.300 7.21 -13.92 0.70 0.000 0.200 0.000 0.00 98.350 7.33 -14.78 0.69 0.000 0.200 0.000 0.00 98.400 7.31 -12.69 0.65 0.000 0.200 0.000 0.00 98.450 7.42 -11.55 0.53 0.000 0.200 0.000 0.00 98.500 7.34 -11.53 0.81 0.000 0.200 0.000 0.00 98.550 7.27 -12.68 0.83 0.000 0.200 0.000 0.00 98.600 7.53 -12.84 0.85 0.000 0.200 0.000 0.00 98.650 7.58 -12.30 1.03 0.000 0.200 0.000 0.00 98.700 7.73 -14.08 0.79 0.000 0.200 0.000 0.00 98.750 7.66 -15.40 0.68 0.000 0.200 0.000 0.00 98.800 7.54 -14.69 0.68 0.000 0.200 0.000 0.00 98.850 7.24 -14.26 0.22 0.000 0.200 0.000 0.00 98.900 7.38 -13.90 -0.11 0.000 0.200 0.000 0.00 98.950 7.61 -11.66 -0.21 0.000 0.200 0.000 0.00 99.000 7.70 -12.87 -0.03 0.000 0.200 0.000 0.00 99.050 7.85 -11.82 -0.16 0.000 0.200 0.000 0.00 99.100 7.81 -10.46 -0.17 0.000 0.200 0.000 0.00 99.150 7.49 -11.28 -0.33 0.000 0.200 0.000 0.00 99.200 7.35 -7.72 -0.16 0.000 0.200 0.000 0.00 99.250 7.39 -6.43 -0.12 0.000 0.200 0.000 0.00 99.300 7.79 -8.69 -0.16 0.000 0.200 0.000 0.00 99.350 7.95 -13.16 -0.33 0.000 0.200 0.000 0.00 99.400 7.81 -15.42 -0.50 0.000 0.200 0.000 0.00 99.450 7.49 -13.47 -0.47 0.000 0.200 0.000 0.00 99.500 7.07 -14.73 -0.52 0.000 0.200 0.000 0.00 99.550 6.58 -16.63 -0.62 0.000 0.200 0.000 0.00 99.600 6.59 -17.27 -0.97 0.000 0.200 0.000 0.00 99.650 6.62 -16.94 -0.94 0.000 0.200 0.000 0.00 99.700 6.57 -16.95 -1.44 0.000 0.200 0.000 0.00 99.750 6.79 -16.25 -1.41 0.000 0.200 0.000 0.00 99.800 6.82 -15.21 -1.41 0.000 0.200 0.000 0.00 99.850 6.78 -17.24 -1.17 0.000 0.200 0.000 0.00 99.900 6.62 -17.59 -1.19 0.000 0.200 0.000 0.00 99.950 6.78 -18.29 -0.58 0.000 0.200 0.000 0.00 100.000 6.56 -18.76 -0.46 0.000 0.200 0.000 0.00 100.050 6.50 -16.97 -0.62 0.000 0.200 0.000 0.00 100.100 6.50 -15.22 -0.49 0.000 0.200 0.000 0.00 100.150 6.58 -16.43 -0.18 0.000 0.200 0.000 0.00 100.200 6.68 -16.58 0.09 0.000 0.200 0.000 0.00 100.250 7.02 -13.25 0.17 0.000 0.200 0.000 0.00 100.300 7.35 -11.24 0.41 0.000 0.200 0.000 0.00 100.350 7.18 -9.05 0.50 0.000 0.200 0.000 0.00 100.400 7.30 -9.59 0.64 0.000 0.200 0.000 0.00 100.450 7.28 -9.76 0.82 0.000 0.200 0.000 0.00 100.500 7.34 -9.66 1.28 0.000 0.200 0.000 0.00 100.550 7.31 -9.63 0.99 0.000 0.200 0.000 0.00 100.600 7.42 -11.62 0.87 0.000 0.200 0.000 0.00 100.650 7.41 -14.38 0.74 0.000 0.200 0.000 0.00 100.700 7.47 -11.62 0.95 0.000 0.200 0.000 0.00 100.750 7.44 -12.41 0.88 0.000 0.200 0.000 0.00 100.800 7.43 -13.01 1.17 0.000 0.200 0.000 0.00 100.850 7.73 -10.25 1.04 0.000 0.200 0.000 0.00 100.900 7.72 -9.22 0.86 0.000 0.200 0.000 0.00 100.950 7.81 -12.22 0.65 0.000 0.200 0.000 0.00 101.000 7.61 -11.27 0.15 0.000 0.200 0.000 0.00 101.050 7.79 -12.42 0.26 0.000 0.200 0.000 0.00 101.100 7.59 -14.16 0.56 0.000 0.200 0.000 0.00 101.150 7.65 -13.94 0.25 0.000 0.200 0.000 0.00 101.200 7.90 -14.41 0.34 0.000 0.200 0.000 0.00 101.250 8.02 -13.16 0.50 0.000 0.200 0.000 0.00 101.300 8.18 -11.62 0.34 0.000 0.200 0.000 0.00 101.350 8.42 -12.58 0.20 0.000 0.200 0.000 0.00 101.400 8.59 -14.71 -0.25 0.000 0.200 0.000 0.00 101.450 8.46 -14.51 -0.36 0.000 0.200 0.000 0.00 101.500 8.47 -15.22 0.00 0.000 0.200 0.000 0.00 101.550 8.50 -13.06 -0.06 0.000 0.200 0.000 0.00 101.600 8.19 -14.12 0.19 0.000 0.200 0.000 0.00 101.650 8.40 -12.31 0.05 0.000 0.200 0.000 0.00 101.700 8.51 -9.49 0.09 0.000 0.200 0.000 0.00 101.750 8.29 -7.40 -0.15 0.000 0.200 0.000 0.00 101.800 8.06 -6.60 -0.76 0.000 0.200 0.000 0.00 101.850 7.74 -6.09 -0.84 0.000 0.200 0.000 0.00 101.900 7.73 -7.74 -0.32 0.000 0.200 0.000 0.00 101.950 7.85 -8.32 -0.23 0.000 0.200 0.000 0.00 102.000 7.78 -7.83 -0.50 0.000 0.200 0.000 0.00 102.050 7.97 -8.03 -0.69 0.000 0.200 0.000 0.00 102.100 7.94 -9.66 -0.68 0.000 0.200 0.000 0.00 102.150 7.97 -11.53 -0.44 0.000 0.200 0.000 0.00 102.200 7.98 -10.15 -0.58 0.000 0.200 0.000 0.00 102.250 7.77 -6.01 -0.64 0.000 0.200 0.000 0.00 102.300 7.85 -5.48 -0.27 0.000 0.200 0.000 0.00 102.350 7.74 -2.69 0.08 0.000 0.200 0.000 0.00 102.400 8.32 -4.50 -0.18 0.000 0.200 0.000 0.00 102.450 8.28 -5.87 -0.08 0.000 0.200 0.000 0.00 102.500 8.17 -7.10 0.00 0.000 0.200 0.000 0.00 102.550 8.26 -7.90 -0.10 0.000 0.200 0.000 0.00 102.600 8.60 -8.66 0.03 0.000 0.200 0.000 0.00 102.650 8.72 -8.10 0.20 0.000 0.200 0.000 0.00 102.700 8.36 -7.39 0.39 0.000 0.200 0.000 0.00 102.750 8.26 -7.50 0.17 0.000 0.200 0.000 0.00 102.800 8.55 -6.35 -0.14 0.000 0.200 0.000 0.00 102.850 8.51 -6.09 -0.32 0.000 0.200 0.000 0.00 102.900 8.38 -6.79 0.09 0.000 0.200 0.000 0.00 102.950 8.38 -7.93 0.36 0.000 0.200 0.000 0.00 103.000 8.29 -7.32 0.21 0.000 0.200 0.000 0.00 103.050 8.55 -5.64 0.23 0.000 0.200 0.000 0.00 103.100 8.40 -5.75 0.39 0.000 0.200 0.000 0.00 103.150 8.56 -6.09 0.41 0.000 0.200 0.000 0.00 103.200 8.81 -4.38 0.42 0.000 0.200 0.000 0.00 103.250 8.77 -5.19 0.57 0.000 0.200 0.000 0.00 103.300 8.84 -6.49 0.27 0.000 0.200 0.000 0.00 103.350 8.75 -5.74 0.38 0.000 0.200 0.000 0.00 103.400 8.68 -6.73 0.44 0.000 0.200 0.000 0.00 103.450 8.69 -6.86 0.05 0.000 0.200 0.000 0.00 103.500 8.20 -5.21 0.10 0.000 0.200 0.000 0.00 103.550 8.00 -3.17 0.09 0.000 0.200 0.000 0.00 103.600 7.94 -5.26 0.20 0.000 0.200 0.000 0.00 103.650 7.75 -4.96 0.25 0.000 0.200 0.000 0.00 103.700 7.84 -3.02 -0.15 0.000 0.200 0.000 0.00 103.750 8.11 -4.19 0.11 0.000 0.200 0.000 0.00 103.800 7.95 -5.98 0.16 0.000 0.200 0.000 0.00 103.850 7.96 -3.08 -0.03 0.000 0.200 0.000 0.00 103.900 8.33 -1.85 -0.15 0.000 0.200 0.000 0.00 103.950 8.78 -2.57 -0.34 0.000 0.200 0.000 0.00 104.000 8.59 -4.46 -0.27 0.000 0.200 0.000 0.00 104.050 8.52 -3.79 -0.01 0.000 0.200 0.000 0.00 104.100 8.60 -2.30 -0.09 0.000 0.200 0.000 0.00 104.150 9.00 -3.69 0.08 0.000 0.200 0.000 0.00 104.200 8.54 -2.08 -0.03 0.000 0.200 0.000 0.00 104.250 8.59 -3.31 0.04 0.000 0.200 0.000 0.00 104.300 8.62 -2.48 -0.27 0.000 0.200 0.000 0.00 104.350 8.87 -1.70 -0.27 0.000 0.200 0.000 0.00 104.400 8.85 -3.64 -0.18 0.000 0.200 0.000 0.00 104.450 8.70 -5.67 -0.26 0.000 0.200 0.000 0.00 104.500 8.82 -5.29 -0.23 0.000 0.200 0.000 0.00 104.550 8.60 -4.71 -0.35 0.000 0.200 0.000 0.00 104.600 8.52 -7.73 -0.28 0.000 0.200 0.000 0.00 104.650 8.21 -6.70 -0.73 0.000 0.200 0.000 0.00 104.700 8.31 -5.31 -0.81 0.000 0.200 0.000 0.00 104.750 8.30 -4.17 -0.83 0.000 0.200 0.000 0.00 104.800 8.59 -1.47 -1.22 0.000 0.200 0.000 0.00 104.850 8.96 -1.90 -1.12 0.000 0.200 0.000 0.00 104.900 8.83 -2.34 -0.98 0.000 0.200 0.000 0.00 104.950 8.72 0.61 -0.90 0.000 0.200 0.000 0.00 105.000 8.59 0.85 -0.95 0.000 0.200 0.000 0.00 105.050 8.70 0.71 -0.84 0.000 0.200 0.000 0.00 105.100 8.58 -0.09 -0.64 0.000 0.200 0.000 0.00 105.150 8.89 -3.23 -0.46 0.000 0.200 0.000 0.00 105.200 8.74 -4.66 -0.32 0.000 0.200 0.000 0.00 105.250 8.54 -4.10 -0.24 0.000 0.200 0.000 0.00 105.300 8.47 -2.10 -0.08 0.000 0.200 0.000 0.00 105.350 8.33 -4.22 -0.13 0.000 0.200 0.000 0.00 105.400 8.29 -4.32 -0.07 0.000 0.200 0.000 0.00 105.450 8.72 -3.78 -0.41 0.000 0.200 0.000 0.00 105.500 8.79 -2.67 -0.39 0.000 0.200 0.000 0.00 105.550 8.78 -4.64 -0.22 0.000 0.200 0.000 0.00 105.600 8.55 -5.10 -0.38 0.000 0.200 0.000 0.00 105.650 8.45 -2.89 -0.42 0.000 0.200 0.000 0.00 105.700 8.48 -1.04 -0.55 0.000 0.200 0.000 0.00 105.750 8.55 -1.47 -0.56 0.000 0.200 0.000 0.00 105.800 8.53 -1.84 -0.66 0.000 0.200 0.000 0.00 105.850 8.30 -0.99 -0.49 0.000 0.200 0.000 0.00 105.900 8.67 -1.08 -0.47 0.000 0.200 0.000 0.00 105.950 8.84 -1.24 -0.40 0.000 0.200 0.000 0.00 106.000 9.15 -1.93 -0.54 0.000 0.200 0.000 0.00 106.050 9.30 -2.68 -0.30 0.000 0.200 0.000 0.00 106.100 9.29 -0.76 -0.37 0.000 0.200 0.000 0.00 106.150 9.26 -0.02 -0.58 0.000 0.200 0.000 0.00 106.200 9.01 -0.54 -0.58 0.000 0.200 0.000 0.00 106.250 9.12 -1.18 -0.28 0.000 0.200 0.000 0.00 106.300 8.89 -1.90 -0.21 0.000 0.200 0.000 0.00 106.350 8.62 -0.50 -0.08 0.000 0.200 0.000 0.00 106.400 8.54 -2.25 -0.21 0.000 0.200 0.000 0.00 106.450 8.59 -3.88 -0.12 0.000 0.200 0.000 0.00 106.500 8.47 -2.71 0.30 0.000 0.200 0.000 0.00 106.550 8.81 -3.51 -0.01 0.000 0.200 0.000 0.00 106.600 8.62 -3.10 -0.05 0.000 0.200 0.000 0.00 106.650 8.78 -6.45 -0.03 0.000 0.200 0.000 0.00 106.700 8.63 -6.17 -0.25 0.000 0.200 0.000 0.00 106.750 8.70 -4.54 -0.26 0.000 0.200 0.000 0.00 106.800 8.69 -4.47 -0.52 0.000 0.200 0.000 0.00 106.850 8.94 -4.30 -0.39 0.000 0.200 0.000 0.00 106.900 9.19 -2.87 -0.14 0.000 0.200 0.000 0.00 106.950 8.91 -2.71 -0.22 0.000 0.200 0.000 0.00 107.000 8.74 -1.78 -0.35 0.000 0.200 0.000 0.00 107.050 8.76 -3.68 -0.44 0.000 0.200 0.000 0.00 107.100 8.69 -5.54 -0.11 0.000 0.200 0.000 0.00 107.150 8.88 -5.69 -0.33 0.000 0.200 0.000 0.00 107.200 8.49 -5.31 -0.25 0.000 0.200 0.000 0.00 107.250 8.82 -5.17 -0.46 0.000 0.200 0.000 0.00 107.300 9.47 -2.14 -0.80 0.000 0.200 0.000 0.00 107.350 9.11 -2.69 -0.68 0.000 0.200 0.000 0.00 107.400 8.99 -2.88 -0.52 0.000 0.200 0.000 0.00 107.450 9.13 -4.14 -0.30 0.000 0.200 0.000 0.00 107.500 8.93 -4.53 -0.47 0.000 0.200 0.000 0.00 107.550 8.80 -6.14 -0.57 0.000 0.200 0.000 0.00 107.600 8.79 -3.55 -0.35 0.000 0.200 0.000 0.00 107.650 8.52 -2.75 -0.47 0.000 0.200 0.000 0.00 107.700 8.41 -3.02 -0.18 0.000 0.200 0.000 0.00 107.750 8.38 -2.55 0.00 0.000 0.200 0.000 0.00 107.800 8.59 -3.65 -0.24 0.000 0.200 0.000 0.00 107.850 8.36 -3.10 -0.06 0.000 0.200 0.000 0.00 107.900 8.39 -3.76 0.15 0.000 0.200 0.000 0.00 107.950 8.35 -1.31 0.23 0.000 0.200 0.000 0.00 108.000 8.46 -0.73 0.24 0.000 0.200 0.000 0.00 108.050 8.76 -1.25 0.26 0.000 0.200 0.000 0.00 108.100 8.75 -2.93 0.14 0.000 0.200 0.000 0.00 108.150 8.60 -2.21 0.00 0.000 0.200 0.000 0.00 108.200 8.59 -2.63 -0.16 0.000 0.200 0.000 0.00 108.250 9.04 -1.09 -0.20 0.000 0.200 0.000 0.00 108.300 8.87 -0.71 0.03 0.000 0.200 0.000 0.00 108.350 9.13 -2.42 0.06 0.000 0.200 0.000 0.00 108.400 9.05 -1.73 0.31 0.000 0.200 0.000 0.00 108.450 8.69 -2.31 0.44 0.000 0.200 0.000 0.00 108.500 8.55 -4.80 0.13 0.000 0.200 0.000 0.00 108.550 8.75 -2.49 -0.19 0.000 0.200 0.000 0.00 108.600 8.75 -1.99 -0.38 0.000 0.200 0.000 0.00 108.650 8.76 -1.98 -0.49 0.000 0.200 0.000 0.00 108.700 9.13 -1.80 -0.67 0.000 0.200 0.000 0.00 108.750 9.11 -1.57 -0.60 0.000 0.200 0.000 0.00 108.800 8.99 -1.53 -0.43 0.000 0.200 0.000 0.00 108.850 8.85 -1.53 -0.28 0.000 0.200 0.000 0.00 108.900 8.74 -2.31 -0.44 0.000 0.200 0.000 0.00 108.950 8.95 -5.65 -0.31 0.000 0.200 0.000 0.00 109.000 9.17 -5.81 -0.02 0.000 0.200 0.000 0.00 109.050 9.48 -5.33 -0.06 0.000 0.200 0.000 0.00 109.100 9.38 -6.71 -0.07 0.000 0.200 0.000 0.00 109.150 9.39 -6.90 0.01 0.000 0.200 0.000 0.00 109.200 9.55 -8.45 -0.07 0.000 0.200 0.000 0.00 109.250 9.84 -8.27 0.13 0.000 0.200 0.000 0.00 109.300 9.84 -9.00 -0.04 0.000 0.200 0.000 0.00 109.350 9.75 -9.45 -0.22 0.000 0.200 0.000 0.00 109.400 9.48 -8.49 -0.04 0.000 0.200 0.000 0.00 109.450 9.51 -7.83 -0.08 0.000 0.200 0.000 0.00 109.500 9.56 -6.27 -0.03 0.000 0.200 0.000 0.00 109.550 9.24 -6.10 -0.03 0.000 0.200 0.000 0.00 109.600 9.21 -3.01 0.04 0.000 0.200 0.000 0.00 109.650 9.32 -4.54 0.02 0.000 0.200 0.000 0.00 109.700 8.96 -3.44 -0.47 0.000 0.200 0.000 0.00 109.750 8.97 -4.37 -0.51 0.000 0.200 0.000 0.00 109.800 8.77 -7.67 -0.86 0.000 0.200 0.000 0.00 109.850 8.89 -7.71 -0.93 0.000 0.200 0.000 0.00 109.900 9.46 -5.02 -0.67 0.000 0.200 0.000 0.00 109.950 9.32 -3.91 -0.88 0.000 0.200 0.000 0.00 110.000 9.22 -5.00 -0.74 0.000 0.200 0.000 0.00 110.050 9.02 -5.30 -0.49 0.000 0.200 0.000 0.00 110.100 8.79 -4.83 -0.44 0.000 0.200 0.000 0.00 110.150 8.72 -4.64 -0.91 0.000 0.200 0.000 0.00 110.200 8.73 -2.45 -1.39 0.000 0.200 0.000 0.00 110.250 8.77 -3.54 -1.50 0.000 0.200 0.000 0.00 110.300 8.76 -5.15 -1.26 0.000 0.200 0.000 0.00 110.350 9.06 -5.73 -0.92 0.000 0.200 0.000 0.00 110.400 8.82 -6.21 -0.63 0.000 0.200 0.000 0.00 110.450 8.85 -5.86 -0.32 0.000 0.200 0.000 0.00 110.500 8.72 -5.39 -0.33 0.000 0.200 0.000 0.00 110.550 8.69 -7.70 -0.39 0.000 0.200 0.000 0.00 110.600 8.83 -10.45 -0.06 0.000 0.200 0.000 0.00 110.650 9.07 -8.78 -0.27 0.000 0.200 0.000 0.00 110.700 9.18 -5.98 -0.12 0.000 0.200 0.000 0.00 110.750 9.31 -3.99 -0.15 0.000 0.200 0.000 0.00 110.800 9.37 -5.30 -0.19 0.000 0.200 0.000 0.00 110.850 9.23 -4.45 -0.53 0.000 0.200 0.000 0.00 110.900 9.25 -3.06 -0.52 0.000 0.200 0.000 0.00 110.950 9.13 -2.48 -0.79 0.000 0.200 0.000 0.00 111.000 9.00 -1.17 -0.80 0.000 0.200 0.000 0.00 111.050 9.14 -2.50 -0.68 0.000 0.200 0.000 0.00 111.100 9.36 -5.59 -0.39 0.000 0.200 0.000 0.00 111.150 9.40 -6.57 -0.50 0.000 0.200 0.000 0.00 111.200 8.98 -5.12 -0.56 0.000 0.200 0.000 0.00 111.250 9.10 -4.12 -0.29 0.000 0.200 0.000 0.00 111.300 9.32 -5.97 -0.43 0.000 0.200 0.000 0.00 111.350 9.26 -8.62 -0.07 0.000 0.200 0.000 0.00 111.400 9.38 -7.39 -0.64 0.000 0.200 0.000 0.00 111.450 9.32 -9.34 -0.62 0.000 0.200 0.000 0.00 111.500 8.93 -7.76 -0.61 0.000 0.200 0.000 0.00 111.550 8.61 -7.08 -0.50 0.000 0.200 0.000 0.00 111.600 8.61 -6.07 -0.45 0.000 0.200 0.000 0.00 111.650 8.94 -6.20 -0.53 0.000 0.200 0.000 0.00 111.700 9.23 -7.35 -0.56 0.000 0.200 0.000 0.00 111.750 9.13 -6.34 -0.43 0.000 0.200 0.000 0.00 111.800 9.43 -4.16 -0.39 0.000 0.200 0.000 0.00 111.850 9.41 -4.58 -0.82 0.000 0.200 0.000 0.00 111.900 8.89 -7.77 -1.06 0.000 0.200 0.000 0.00 111.950 8.91 -8.53 -0.71 0.000 0.200 0.000 0.00 112.000 9.12 -9.43 -0.74 0.000 0.200 0.000 0.00 112.050 9.14 -10.44 -0.98 0.000 0.200 0.000 0.00 112.100 9.48 -7.53 -0.85 0.000 0.200 0.000 0.00 112.150 9.23 -8.59 -0.55 0.000 0.200 0.000 0.00 112.200 9.16 -7.97 -0.69 0.000 0.200 0.000 0.00 112.250 9.17 -8.75 -0.59 0.000 0.200 0.000 0.00 112.300 9.10 -9.91 -0.66 0.000 0.200 0.000 0.00 112.350 8.86 -10.76 -0.66 0.000 0.200 0.000 0.00 112.400 8.82 -8.84 -0.58 0.000 0.200 0.000 0.00 112.450 8.94 -8.16 -0.38 0.000 0.200 0.000 0.00 112.500 8.88 -10.91 -0.57 0.000 0.200 0.000 0.00 112.550 8.63 -11.58 -0.60 0.000 0.200 0.000 0.00 112.600 8.17 -11.47 -0.87 0.000 0.200 0.000 0.00 112.650 8.42 -10.78 -0.72 0.000 0.200 0.000 0.00 112.700 8.28 -12.61 -0.39 0.000 0.200 0.000 0.00 112.750 8.69 -13.64 -0.58 0.000 0.200 0.000 0.00 112.800 8.45 -16.10 -0.76 0.000 0.200 0.000 0.00 112.850 8.66 -15.63 -0.88 0.000 0.200 0.000 0.00 112.900 8.53 -12.23 -0.75 0.000 0.200 0.000 0.00 112.950 8.48 -11.87 -0.63 0.000 0.200 0.000 0.00 113.000 8.30 -12.65 -0.91 0.000 0.200 0.000 0.00 113.050 8.36 -13.08 -0.63 0.000 0.200 0.000 0.00 113.100 8.35 -13.03 -0.63 0.000 0.200 0.000 0.00 113.150 8.41 -13.27 -0.85 0.000 0.200 0.000 0.00 113.200 8.54 -12.85 -1.03 0.000 0.200 0.000 0.00 113.250 8.77 -14.07 -0.83 0.000 0.200 0.000 0.00 113.300 8.72 -11.41 -0.76 0.000 0.200 0.000 0.00 113.350 8.71 -9.89 -0.77 0.000 0.200 0.000 0.00 113.400 8.89 -10.43 -1.04 0.000 0.200 0.000 0.00 113.450 9.17 -11.35 -0.94 0.000 0.200 0.000 0.00 113.500 9.31 -9.51 -0.69 0.000 0.200 0.000 0.00 113.550 9.38 -9.17 -0.56 0.000 0.200 0.000 0.00 113.600 9.61 -9.45 -0.14 0.000 0.200 0.000 0.00 113.650 9.84 -8.33 -0.21 0.000 0.200 0.000 0.00 113.700 10.17 -8.06 -0.18 0.000 0.200 0.000 0.00 113.750 9.85 -11.29 -0.28 0.000 0.200 0.000 0.00 113.800 9.47 -11.22 -0.16 0.000 0.200 0.000 0.00 113.850 9.42 -10.78 0.14 0.000 0.200 0.000 0.00 113.900 9.50 -9.63 -0.27 0.000 0.200 0.000 0.00 113.950 9.40 -8.13 -0.39 0.000 0.200 0.000 0.00 114.000 9.28 -7.66 0.28 0.000 0.200 0.000 0.00 114.050 8.83 -6.28 0.43 0.000 0.200 0.000 0.00 114.100 9.06 -5.60 0.24 0.000 0.200 0.000 0.00 114.150 9.33 -3.67 0.20 0.000 0.200 0.000 0.00 114.200 9.30 -2.53 -0.09 0.000 0.200 0.000 0.00 114.250 9.52 -2.17 -0.42 0.000 0.200 0.000 0.00 114.300 9.24 -1.27 -0.28 0.000 0.200 0.000 0.00 114.350 9.44 -1.24 0.31 0.000 0.200 0.000 0.00 114.400 9.64 -0.09 -0.31 0.000 0.200 0.000 0.00 114.450 9.47 -1.18 -0.29 0.000 0.200 0.000 0.00 114.500 9.93 -1.00 -0.34 0.000 0.200 0.000 0.00 114.550 9.54 -0.85 -0.45 0.000 0.200 0.000 0.00 114.600 9.59 -0.87 -0.12 0.000 0.200 0.000 0.00 114.650 9.77 0.47 -0.40 0.000 0.200 0.000 0.00 114.700 9.67 2.36 -0.46 0.000 0.200 0.000 0.00 114.750 9.74 1.72 -0.12 0.000 0.200 0.000 0.00 114.800 9.72 2.23 -0.19 0.000 0.200 0.000 0.00 114.850 9.54 3.32 -0.17 0.000 0.200 0.000 0.00 114.900 9.69 5.25 0.36 0.000 0.200 0.000 0.00 114.950 9.86 3.25 0.32 0.000 0.200 0.000 0.00 115.000 9.63 4.57 0.22 0.000 0.200 0.000 0.00 115.050 9.64 4.24 0.09 0.000 0.200 0.000 0.00 115.100 9.54 4.78 -0.14 0.000 0.200 0.000 0.00 115.150 9.68 2.78 0.11 0.000 0.200 0.000 0.00 115.200 9.53 0.64 0.05 0.000 0.200 0.000 0.00 115.250 9.70 1.01 -0.10 0.000 0.200 0.000 0.00 115.300 9.92 1.90 0.39 0.000 0.200 0.000 0.00 115.350 9.95 3.52 0.68 0.000 0.200 0.000 0.00 115.400 9.83 3.36 1.02 0.000 0.200 0.000 0.00 115.450 9.72 3.15 1.17 0.000 0.200 0.000 0.00 115.500 9.59 3.91 1.24 0.000 0.200 0.000 0.00 115.550 9.16 3.33 1.01 0.000 0.200 0.000 0.00 115.600 9.33 2.88 0.95 0.000 0.200 0.000 0.00 115.650 9.39 3.93 1.28 0.000 0.200 0.000 0.00 115.700 9.38 5.03 1.24 0.000 0.200 0.000 0.00 115.750 9.15 3.35 1.20 0.000 0.200 0.000 0.00 115.800 9.46 2.52 0.66 0.000 0.200 0.000 0.00 115.850 9.42 3.14 0.20 0.000 0.200 0.000 0.00 115.900 9.51 2.63 0.16 0.000 0.200 0.000 0.00 115.950 9.37 3.05 0.34 0.000 0.200 0.000 0.00 116.000 9.62 2.54 0.69 0.000 0.200 0.000 0.00 116.050 9.52 2.57 0.44 0.000 0.200 0.000 0.00 116.100 9.38 1.83 0.54 0.000 0.200 0.000 0.00 116.150 9.29 0.06 0.49 0.000 0.200 0.000 0.00 116.200 8.93 -1.85 0.80 0.000 0.200 0.000 0.00 116.250 8.93 -1.80 0.81 0.000 0.200 0.000 0.00 116.300 8.99 -0.93 0.72 0.000 0.200 0.000 0.00 116.350 9.15 -1.03 0.76 0.000 0.200 0.000 0.00 116.400 9.13 -0.71 0.85 0.000 0.200 0.000 0.00 116.450 9.16 -2.36 0.86 0.000 0.200 0.000 0.00 116.500 9.09 -1.92 0.59 0.000 0.200 0.000 0.00 116.550 9.13 0.41 0.49 0.000 0.200 0.000 0.00 116.600 8.99 1.77 0.84 0.000 0.200 0.000 0.00 116.650 8.99 2.99 0.49 0.000 0.200 0.000 0.00 116.700 8.96 0.48 0.64 0.000 0.200 0.000 0.00 116.750 9.01 0.32 0.64 0.000 0.200 0.000 0.00 116.800 9.18 0.30 0.21 0.000 0.200 0.000 0.00 116.850 9.30 -0.07 0.12 0.000 0.200 0.000 0.00 116.900 8.97 -0.41 -0.25 0.000 0.200 0.000 0.00 116.950 8.71 -0.23 0.02 0.000 0.200 0.000 0.00 117.000 8.63 -0.14 -0.36 0.000 0.200 0.000 0.00 117.050 8.72 0.69 -0.34 0.000 0.200 0.000 0.00 117.100 9.16 1.18 -0.44 0.000 0.200 0.000 0.00 117.150 8.74 3.78 -0.33 0.000 0.200 0.000 0.00 117.200 8.74 4.01 -0.74 0.000 0.200 0.000 0.00 117.250 8.84 1.70 -0.51 0.000 0.200 0.000 0.00 117.300 8.52 0.99 -0.22 0.000 0.200 0.000 0.00 117.350 8.44 -0.18 0.15 0.000 0.200 0.000 0.00 117.400 8.28 -0.98 0.38 0.000 0.200 0.000 0.00 117.450 8.52 -1.40 0.30 0.000 0.200 0.000 0.00 117.500 8.37 -4.74 0.60 0.000 0.200 0.000 0.00 117.550 8.41 -6.56 0.90 0.000 0.200 0.000 0.00 117.600 8.04 -6.30 0.84 0.000 0.200 0.000 0.00 117.650 8.15 -4.02 0.90 0.000 0.200 0.000 0.00 117.700 8.36 -3.71 0.53 0.000 0.200 0.000 0.00 117.750 8.27 -3.62 0.39 0.000 0.200 0.000 0.00 117.800 8.26 -2.56 0.18 0.000 0.200 0.000 0.00 117.850 8.51 -0.74 0.27 0.000 0.200 0.000 0.00 117.900 8.49 3.14 0.27 0.000 0.200 0.000 0.00 117.950 8.34 1.19 0.41 0.000 0.200 0.000 0.00 118.000 8.46 0.32 0.31 0.000 0.200 0.000 0.00 118.050 8.30 0.43 0.23 0.000 0.200 0.000 0.00 118.100 8.51 2.74 0.10 0.000 0.200 0.000 0.00 118.150 8.36 1.71 -0.20 0.000 0.200 0.000 0.00 118.200 8.40 0.82 -0.09 0.000 0.200 0.000 0.00 118.250 8.53 1.96 -0.16 0.000 0.200 0.000 0.00 118.300 8.52 1.22 0.54 0.000 0.200 0.000 0.00 118.350 8.41 0.12 0.46 0.000 0.200 0.000 0.00 118.400 8.68 -0.89 0.54 0.000 0.200 0.000 0.00 118.450 8.51 -0.04 0.75 0.000 0.200 0.000 0.00 118.500 8.75 0.99 0.72 0.000 0.200 0.000 0.00 118.550 8.83 0.97 0.33 0.000 0.200 0.000 0.00 118.600 9.02 0.45 -0.07 0.000 0.200 0.000 0.00 118.650 8.95 -0.43 0.20 0.000 0.200 0.000 0.00 118.700 9.19 -0.90 0.33 0.000 0.200 0.000 0.00 118.750 9.58 -1.67 0.55 0.000 0.200 0.000 0.00 118.800 9.48 -0.45 0.40 0.000 0.200 0.000 0.00 118.850 9.70 0.27 0.18 0.000 0.200 0.000 0.00 118.900 9.71 2.22 0.82 0.000 0.200 0.000 0.00 118.950 9.54 3.57 0.31 0.000 0.200 0.000 0.00 119.000 9.28 3.10 0.33 0.000 0.200 0.000 0.00 119.050 9.40 2.72 0.70 0.000 0.200 0.000 0.00 119.100 9.42 5.36 0.66 0.000 0.200 0.000 0.00 119.150 9.40 4.09 0.80 0.000 0.200 0.000 0.00 119.200 9.25 7.60 0.73 0.000 0.200 0.000 0.00 119.250 9.41 7.90 1.08 0.000 0.200 0.000 0.00 119.300 9.54 9.03 1.11 0.000 0.200 0.000 0.00 119.350 9.58 10.32 0.96 0.000 0.200 0.000 0.00 119.400 9.53 10.46 1.16 0.000 0.200 0.000 0.00 119.450 9.63 10.56 0.94 0.000 0.200 0.000 0.00 119.500 9.76 11.12 1.50 0.000 0.200 0.000 0.00 119.550 10.13 10.55 1.13 0.000 0.200 0.000 0.00 119.600 10.10 6.67 1.12 0.000 0.200 0.000 0.00 119.650 10.08 5.25 0.75 0.000 0.200 0.000 0.00 119.700 9.83 6.47 0.69 0.000 0.200 0.000 0.00 119.750 9.71 7.13 0.53 0.000 0.200 0.000 0.00 119.800 9.42 8.09 0.82 0.000 0.200 0.000 0.00 119.850 9.19 9.29 0.91 0.000 0.200 0.000 0.00 119.900 9.38 9.36 1.05 0.000 0.200 0.000 0.00 119.950 9.51 6.38 1.12 0.000 0.200 0.000 0.00 120.000 9.59 5.89 1.05 0.000 0.200 0.000 0.00 120.050 9.57 6.20 1.09 0.000 0.200 0.000 0.00 120.100 9.98 7.52 0.98 0.000 0.200 0.000 0.00 120.150 9.74 7.50 1.18 0.000 0.200 0.000 0.00 120.200 9.81 4.20 0.90 0.000 0.200 0.000 0.00 120.250 9.93 5.83 1.04 0.000 0.200 0.000 0.00 120.300 9.70 7.04 1.28 0.000 0.200 0.000 0.00 120.350 9.37 5.69 1.27 0.000 0.200 0.000 0.00 120.400 9.59 4.73 1.09 0.000 0.200 0.000 0.00 120.450 9.44 7.45 1.25 0.000 0.200 0.000 0.00 120.500 9.15 7.26 1.30 0.000 0.200 0.000 0.00 120.550 9.36 7.25 1.22 0.000 0.200 0.000 0.00 120.600 9.11 8.05 1.19 0.000 0.200 0.000 0.00 120.650 9.14 9.06 0.95 0.000 0.200 0.000 0.00 120.700 9.27 9.53 0.89 0.000 0.200 0.000 0.00 120.750 9.20 7.84 0.85 0.000 0.200 0.000 0.00 120.800 9.26 9.62 1.09 0.000 0.200 0.000 0.00 120.850 9.00 10.44 1.00 0.000 0.200 0.000 0.00 120.900 8.90 7.47 1.00 0.000 0.200 0.000 0.00 120.950 8.95 6.45 1.20 0.000 0.200 0.000 0.00 121.000 8.91 8.11 1.13 0.000 0.200 0.000 0.00 121.050 9.11 6.27 1.03 0.000 0.200 0.000 0.00 121.100 8.92 4.34 1.01 0.000 0.200 0.000 0.00 121.150 8.70 3.85 0.62 0.000 0.200 0.000 0.00 121.200 8.64 2.52 0.79 0.000 0.200 0.000 0.00 121.250 8.97 1.07 0.66 0.000 0.200 0.000 0.00 121.300 9.14 2.16 0.93 0.000 0.200 0.000 0.00 121.350 9.61 2.95 0.61 0.000 0.200 0.000 0.00 121.400 9.60 2.45 0.25 0.000 0.200 0.000 0.00 121.450 9.40 0.88 0.22 0.000 0.200 0.000 0.00 121.500 9.52 1.70 0.20 0.000 0.200 0.000 0.00 121.550 9.56 1.13 0.40 0.000 0.200 0.000 0.00 121.600 9.62 0.06 0.68 0.000 0.200 0.000 0.00 121.650 9.80 1.07 0.58 0.000 0.200 0.000 0.00 121.700 9.73 0.48 0.37 0.000 0.200 0.000 0.00 121.750 9.94 -3.20 0.32 0.000 0.200 0.000 0.00 121.800 9.76 -3.69 0.26 0.000 0.200 0.000 0.00 121.850 9.92 -2.30 0.20 0.000 0.200 0.000 0.00 121.900 9.72 -0.25 0.43 0.000 0.200 0.000 0.00 121.950 9.74 -0.77 0.31 0.000 0.200 0.000 0.00 122.000 9.81 0.29 0.19 0.000 0.200 0.000 0.00 122.050 9.60 0.45 0.11 0.000 0.200 0.000 0.00 122.100 9.52 2.35 0.11 0.000 0.200 0.000 0.00 122.150 9.43 2.35 0.27 0.000 0.200 0.000 0.00 122.200 9.67 1.68 0.39 0.000 0.200 0.000 0.00 122.250 9.56 0.80 0.58 0.000 0.200 0.000 0.00 122.300 9.43 2.80 0.10 0.000 0.200 0.000 0.00 122.350 8.99 0.79 0.14 0.000 0.200 0.000 0.00 122.400 8.66 3.31 0.27 0.000 0.200 0.000 0.00 122.450 8.49 5.25 -0.01 0.000 0.200 0.000 0.00 122.500 8.52 4.50 -0.18 0.000 0.200 0.000 0.00 122.550 8.66 2.90 -0.47 0.000 0.200 0.000 0.00 122.600 8.71 2.17 -0.41 0.000 0.200 0.000 0.00 122.650 8.63 1.42 -0.29 0.000 0.200 0.000 0.00 122.700 8.67 0.00 -0.36 0.000 0.200 0.000 0.00 122.750 8.70 -1.50 -0.33 0.000 0.200 0.000 0.00 122.800 8.64 0.09 -0.12 0.000 0.200 0.000 0.00 122.850 9.18 -0.04 0.32 0.000 0.200 0.000 0.00 122.900 9.40 1.29 -0.22 0.000 0.200 0.000 0.00 122.950 9.51 2.19 0.07 0.000 0.200 0.000 0.00 123.000 9.61 3.99 0.20 0.000 0.200 0.000 0.00 123.050 9.64 4.84 0.13 0.000 0.200 0.000 0.00 123.100 9.50 1.19 0.17 0.000 0.200 0.000 0.00 123.150 9.49 1.69 0.42 0.000 0.200 0.000 0.00 123.200 9.44 1.25 0.59 0.000 0.200 0.000 0.00 123.250 9.66 -1.36 0.28 0.000 0.200 0.000 0.00 123.300 9.23 -0.91 0.25 0.000 0.200 0.000 0.00 123.350 9.06 -0.26 0.38 0.000 0.200 0.000 0.00 123.400 9.05 -0.34 0.15 0.000 0.200 0.000 0.00 123.450 8.98 -0.09 0.08 0.000 0.200 0.000 0.00 123.500 8.87 1.39 0.01 0.000 0.200 0.000 0.00 123.550 8.91 2.18 0.17 0.000 0.200 0.000 0.00 123.600 8.69 5.00 0.53 0.000 0.200 0.000 0.00 123.650 8.86 6.34 0.56 0.000 0.200 0.000 0.00 123.700 8.76 6.50 0.47 0.000 0.200 0.000 0.00 123.750 8.77 4.77 0.27 0.000 0.200 0.000 0.00 123.800 8.75 5.68 0.28 0.000 0.200 0.000 0.00 123.850 8.79 4.83 0.26 0.000 0.200 0.000 0.00 123.900 8.84 4.39 -0.11 0.000 0.200 0.000 0.00 123.950 8.74 4.16 0.28 0.000 0.200 0.000 0.00 124.000 8.70 6.96 0.54 0.000 0.200 0.000 0.00 124.050 8.68 9.32 0.48 0.000 0.200 0.000 0.00 124.100 8.72 10.41 0.20 0.000 0.200 0.000 0.00 124.150 8.85 9.86 0.13 0.000 0.200 0.000 0.00 124.200 9.18 6.93 0.30 0.000 0.200 0.000 0.00 124.250 9.06 5.87 0.30 0.000 0.200 0.000 0.00 124.300 9.22 3.33 0.05 0.000 0.200 0.000 0.00 124.350 9.48 3.77 -0.07 0.000 0.200 0.000 0.00 124.400 9.43 3.10 -0.28 0.000 0.200 0.000 0.00 124.450 9.46 3.14 -0.41 0.000 0.200 0.000 0.00 124.500 9.49 1.01 -0.41 0.000 0.200 0.000 0.00 124.550 9.51 -1.02 -0.12 0.000 0.200 0.000 0.00 124.600 9.30 0.15 -0.26 0.000 0.200 0.000 0.00 124.650 9.46 1.60 -0.23 0.000 0.200 0.000 0.00 124.700 9.45 1.32 0.30 0.000 0.200 0.000 0.00 124.750 9.49 2.01 0.44 0.000 0.200 0.000 0.00 124.800 9.27 2.33 0.19 0.000 0.200 0.000 0.00 124.850 9.23 2.56 0.22 0.000 0.200 0.000 0.00 124.900 9.31 0.35 0.06 0.000 0.200 0.000 0.00 124.950 9.07 2.30 0.39 0.000 0.200 0.000 0.00 125.000 9.08 2.54 0.18 0.000 0.200 0.000 0.00 125.050 9.36 1.19 -0.03 0.000 0.200 0.000 0.00 125.100 9.23 -0.51 0.02 0.000 0.200 0.000 0.00 125.150 9.34 1.55 0.01 0.000 0.200 0.000 0.00 125.200 9.52 3.18 -0.15 0.000 0.200 0.000 0.00 125.250 9.43 0.27 -0.23 0.000 0.200 0.000 0.00 125.300 9.05 -0.01 -0.20 0.000 0.200 0.000 0.00 125.350 9.00 2.56 0.01 0.000 0.200 0.000 0.00 125.400 8.93 0.61 0.07 0.000 0.200 0.000 0.00 125.450 8.47 0.55 0.36 0.000 0.200 0.000 0.00 125.500 8.58 3.09 0.60 0.000 0.200 0.000 0.00 125.550 8.73 4.67 0.42 0.000 0.200 0.000 0.00 125.600 8.77 4.72 0.36 0.000 0.200 0.000 0.00 125.650 8.82 2.19 0.61 0.000 0.200 0.000 0.00 125.700 8.96 3.10 0.24 0.000 0.200 0.000 0.00 125.750 8.78 0.19 0.50 0.000 0.200 0.000 0.00 125.800 8.62 2.03 0.96 0.000 0.200 0.000 0.00 125.850 8.51 2.86 0.70 0.000 0.200 0.000 0.00 125.900 8.66 1.65 -0.21 0.000 0.200 0.000 0.00 125.950 8.77 4.74 -0.20 0.000 0.200 0.000 0.00 126.000 8.91 2.98 0.06 0.000 0.200 0.000 0.00 126.050 8.77 1.12 0.02 0.000 0.200 0.000 0.00 126.100 8.57 0.50 -0.03 0.000 0.200 0.000 0.00 126.150 8.45 0.45 0.04 0.000 0.200 0.000 0.00 126.200 8.16 0.11 0.11 0.000 0.200 0.000 0.00 126.250 8.40 3.33 0.11 0.000 0.200 0.000 0.00 126.300 8.29 4.71 -0.32 0.000 0.200 0.000 0.00 126.350 8.23 1.78 -0.17 0.000 0.200 0.000 0.00 126.400 8.38 1.77 -0.24 0.000 0.200 0.000 0.00 126.450 8.34 -0.38 0.08 0.000 0.200 0.000 0.00 126.500 8.43 2.43 -0.28 0.000 0.200 0.000 0.00 126.550 8.45 -0.91 -0.27 0.000 0.200 0.000 0.00 126.600 8.39 4.09 -0.16 0.000 0.200 0.000 0.00 126.650 8.51 2.43 -0.20 0.000 0.200 0.000 0.00 126.700 8.17 1.05 -0.47 0.000 0.200 0.000 0.00 126.750 7.97 0.24 -0.44 0.000 0.200 0.000 0.00 126.800 7.90 3.94 -0.42 0.000 0.200 0.000 0.00 126.850 7.61 3.94 -0.23 0.000 0.200 0.000 0.00 126.900 7.80 3.14 -0.27 0.000 0.200 0.000 0.00 126.950 8.22 -1.21 0.02 0.000 0.200 0.000 0.00 127.000 8.52 -1.46 0.33 0.000 0.200 0.000 0.00 127.050 8.52 0.20 0.19 0.000 0.200 0.000 0.00 127.100 8.52 -1.91 -0.35 0.000 0.200 0.000 0.00 127.150 8.38 -0.93 -0.53 0.000 0.200 0.000 0.00 127.200 8.52 -1.11 0.09 0.000 0.200 0.000 0.00 127.250 8.19 0.55 0.44 0.000 0.200 0.000 0.00 127.300 8.17 2.73 0.32 0.000 0.200 0.000 0.00 127.350 7.89 0.08 0.47 0.000 0.200 0.000 0.00 127.400 7.93 -3.17 0.26 0.000 0.200 0.000 0.00 127.450 7.93 -1.44 0.34 0.000 0.200 0.000 0.00 127.500 7.82 -0.88 -0.01 0.000 0.200 0.000 0.00 127.550 7.92 -3.66 -0.13 0.000 0.200 0.000 0.00 127.600 7.84 -0.27 -0.11 0.000 0.200 0.000 0.00 127.650 8.13 -2.61 -0.18 0.000 0.200 0.000 0.00 127.700 8.02 0.40 -0.24 0.000 0.200 0.000 0.00 127.750 7.98 0.79 -0.16 0.000 0.200 0.000 0.00 127.800 7.71 2.73 -0.13 0.000 0.200 0.000 0.00 127.850 7.84 2.63 0.10 0.000 0.200 0.000 0.00 127.900 7.89 1.73 0.05 0.000 0.200 0.000 0.00 127.950 7.73 -0.77 0.00 0.000 0.200 0.000 0.00 128.000 7.65 -2.22 -0.06 0.000 0.200 0.000 0.00 128.050 7.58 -3.24 0.07 0.000 0.200 0.000 0.00 128.100 7.74 -3.70 0.14 0.000 0.200 0.000 0.00 128.150 7.73 -6.25 0.30 0.000 0.200 0.000 0.00 128.200 7.97 -4.66 0.53 0.000 0.200 0.000 0.00 128.250 8.02 -6.00 1.23 0.000 0.200 0.000 0.00 128.300 7.92 -9.23 1.29 0.000 0.200 0.000 0.00 128.350 7.87 -8.07 1.04 0.000 0.200 0.000 0.00 128.400 7.46 -4.73 0.86 0.000 0.200 0.000 0.00 128.450 7.94 -4.14 0.54 0.000 0.200 0.000 0.00 128.500 8.15 -5.18 0.43 0.000 0.200 0.000 0.00 128.550 8.02 -4.66 0.42 0.000 0.200 0.000 0.00 128.600 7.71 -5.97 0.57 0.000 0.200 0.000 0.00 128.650 7.82 -2.90 0.52 0.000 0.200 0.000 0.00 128.700 7.95 -2.42 0.53 0.000 0.200 0.000 0.00 128.750 7.56 -1.51 0.86 0.000 0.200 0.000 0.00 128.800 7.40 0.17 0.89 0.000 0.200 0.000 0.00 128.850 7.39 -1.46 1.12 0.000 0.200 0.000 0.00 128.900 7.61 -2.22 1.26 0.000 0.200 0.000 0.00 128.950 7.35 -3.22 1.02 0.000 0.200 0.000 0.00 129.000 7.40 -2.17 1.61 0.000 0.200 0.000 0.00 129.050 7.43 1.81 1.60 0.000 0.200 0.000 0.00 129.100 7.47 3.30 1.58 0.000 0.200 0.000 0.00 129.150 7.35 3.16 1.66 0.000 0.200 0.000 0.00 129.200 7.14 -1.38 1.59 0.000 0.200 0.000 0.00 129.250 7.31 -5.88 1.26 0.000 0.200 0.000 0.00 129.300 7.37 -5.36 0.99 0.000 0.200 0.000 0.00 129.350 7.09 -7.43 1.22 0.000 0.200 0.000 0.00 129.400 7.22 -4.70 1.33 0.000 0.200 0.000 0.00 129.450 8.02 -4.06 1.09 0.000 0.200 0.000 0.00 129.500 7.98 -3.84 0.75 0.000 0.200 0.000 0.00 129.550 7.98 -5.26 1.17 0.000 0.200 0.000 0.00 129.600 7.83 -5.98 0.90 0.000 0.200 0.000 0.00 129.650 7.77 -5.70 0.68 0.000 0.200 0.000 0.00 129.700 7.50 -7.84 0.69 0.000 0.200 0.000 0.00 129.750 7.62 -7.08 0.55 0.000 0.200 0.000 0.00 129.800 7.58 -5.93 0.56 0.000 0.200 0.000 0.00 129.850 7.50 -3.99 0.41 0.000 0.200 0.000 0.00 129.900 7.61 -4.81 0.51 0.000 0.200 0.000 0.00 129.950 7.41 -6.70 0.72 0.000 0.200 0.000 0.00 130.000 7.16 -9.18 0.67 0.000 0.200 0.000 0.00 130.050 7.29 -8.16 0.36 0.000 0.200 0.000 0.00 130.100 7.42 -6.83 0.41 0.000 0.200 0.000 0.00 130.150 7.38 -6.83 0.57 0.000 0.200 0.000 0.00 130.200 7.25 -9.01 0.30 0.000 0.200 0.000 0.00 130.250 7.25 -8.95 0.24 0.000 0.200 0.000 0.00 130.300 7.57 -8.24 0.03 0.000 0.200 0.000 0.00 130.350 7.70 -9.09 -0.12 0.000 0.200 0.000 0.00 130.400 7.72 -8.58 -0.18 0.000 0.200 0.000 0.00 130.450 7.87 -6.99 -0.04 0.000 0.200 0.000 0.00 130.500 7.69 -7.69 0.29 0.000 0.200 0.000 0.00 130.550 7.91 -9.48 0.02 0.000 0.200 0.000 0.00 130.600 7.84 -7.10 -0.28 0.000 0.200 0.000 0.00 130.650 8.02 -6.45 -0.41 0.000 0.200 0.000 0.00 130.700 7.89 -7.71 0.10 0.000 0.200 0.000 0.00 130.750 7.87 -5.99 -0.01 0.000 0.200 0.000 0.00 130.800 8.11 -5.21 0.11 0.000 0.200 0.000 0.00 130.850 8.15 -5.10 -0.06 0.000 0.200 0.000 0.00 130.900 8.07 -5.33 -0.53 0.000 0.200 0.000 0.00 130.950 8.20 -4.36 -0.61 0.000 0.200 0.000 0.00 131.000 7.90 -5.00 -0.60 0.000 0.200 0.000 0.00 131.050 8.25 -7.28 -0.25 0.000 0.200 0.000 0.00 131.100 8.20 -4.72 -0.26 0.000 0.200 0.000 0.00 131.150 8.19 -4.51 -0.28 0.000 0.200 0.000 0.00 131.200 8.12 -6.74 -0.01 0.000 0.200 0.000 0.00 131.250 7.89 -5.36 0.25 0.000 0.200 0.000 0.00 131.300 8.03 -8.54 0.22 0.000 0.200 0.000 0.00 131.350 8.21 -9.05 0.12 0.000 0.200 0.000 0.00 131.400 7.83 -12.07 0.17 0.000 0.200 0.000 0.00 131.450 7.51 -11.94 0.02 0.000 0.200 0.000 0.00 131.500 7.46 -8.81 -0.07 0.000 0.200 0.000 0.00 131.550 7.26 -5.71 0.14 0.000 0.200 0.000 0.00 131.600 7.54 -5.61 0.41 0.000 0.200 0.000 0.00 131.650 7.83 -6.29 0.42 0.000 0.200 0.000 0.00 131.700 7.51 -7.34 0.32 0.000 0.200 0.000 0.00 131.750 7.41 -9.15 0.39 0.000 0.200 0.000 0.00 131.800 7.12 -8.33 0.69 0.000 0.200 0.000 0.00 131.850 6.90 -11.85 0.66 0.000 0.200 0.000 0.00 131.900 6.59 -14.72 0.39 0.000 0.200 0.000 0.00 131.950 6.50 -13.21 0.12 0.000 0.200 0.000 0.00 132.000 6.54 -14.49 -0.17 0.000 0.200 0.000 0.00 132.050 6.40 -13.25 -0.19 0.000 0.200 0.000 0.00 132.100 6.54 -11.96 -0.38 0.000 0.200 0.000 0.00 132.150 6.88 -10.06 -0.12 0.000 0.200 0.000 0.00 132.200 7.09 -11.37 0.39 0.000 0.200 0.000 0.00 132.250 6.83 -11.40 0.07 0.000 0.200 0.000 0.00 132.300 6.90 -8.70 0.30 0.000 0.200 0.000 0.00 132.350 6.75 -10.07 0.20 0.000 0.200 0.000 0.00 132.400 6.50 -8.12 0.66 0.000 0.200 0.000 0.00 132.450 6.40 -7.97 0.89 0.000 0.200 0.000 0.00 132.500 6.37 -9.89 0.49 0.000 0.200 0.000 0.00 132.550 6.44 -11.23 0.42 0.000 0.200 0.000 0.00 132.600 6.07 -8.55 -0.11 0.000 0.200 0.000 0.00 132.650 6.16 -7.50 0.21 0.000 0.200 0.000 0.00 132.700 6.14 -3.72 0.17 0.000 0.200 0.000 0.00 132.750 6.08 -7.75 0.13 0.000 0.200 0.000 0.00 132.800 6.31 -10.90 -0.01 0.000 0.200 0.000 0.00 132.850 6.48 -10.56 0.04 0.000 0.200 0.000 0.00 132.900 6.70 -10.32 -0.08 0.000 0.200 0.000 0.00 132.950 6.65 -11.70 0.05 0.000 0.200 0.000 0.00 133.000 6.62 -12.73 0.18 0.000 0.200 0.000 0.00 133.050 6.34 -9.28 0.19 0.000 0.200 0.000 0.00 133.100 6.35 -9.40 -0.04 0.000 0.200 0.000 0.00 133.150 6.45 -10.82 0.08 0.000 0.200 0.000 0.00 133.200 6.28 -10.34 0.09 0.000 0.200 0.000 0.00 133.250 6.48 -12.47 -0.03 0.000 0.200 0.000 0.00 133.300 6.18 -11.08 0.16 0.000 0.200 0.000 0.00 133.350 6.33 -12.41 0.19 0.000 0.200 0.000 0.00 133.400 6.43 -13.40 0.11 0.000 0.200 0.000 0.00 133.450 6.31 -15.51 0.34 0.000 0.200 0.000 0.00 133.500 6.35 -17.09 -0.06 0.000 0.200 0.000 0.00 133.550 6.13 -17.14 0.37 0.000 0.200 0.000 0.00 133.600 6.10 -15.47 0.79 0.000 0.200 0.000 0.00 133.650 6.42 -16.79 0.64 0.000 0.200 0.000 0.00 133.700 6.47 -14.25 0.62 0.000 0.200 0.000 0.00 133.750 6.42 -15.34 0.69 0.000 0.200 0.000 0.00 133.800 6.30 -15.68 0.73 0.000 0.200 0.000 0.00 133.850 6.17 -14.72 0.84 0.000 0.200 0.000 0.00 133.900 6.50 -15.99 0.94 0.000 0.200 0.000 0.00 133.950 6.33 -14.42 1.13 0.000 0.200 0.000 0.00 134.000 6.35 -12.92 1.20 0.000 0.200 0.000 0.00 134.050 6.47 -7.79 0.93 0.000 0.200 0.000 0.00 134.100 6.40 -5.75 1.04 0.000 0.200 0.000 0.00 134.150 6.50 -7.45 1.27 0.000 0.200 0.000 0.00 134.200 6.20 -6.58 1.13 0.000 0.200 0.000 0.00 134.250 6.53 -6.64 1.11 0.000 0.200 0.000 0.00 134.300 6.74 -6.27 1.42 0.000 0.200 0.000 0.00 134.350 6.95 -8.59 1.44 0.000 0.200 0.000 0.00 134.400 6.82 -9.94 1.40 0.000 0.200 0.000 0.00 134.450 6.81 -9.34 1.04 0.000 0.200 0.000 0.00 134.500 6.78 -9.62 1.23 0.000 0.200 0.000 0.00 134.550 6.65 -13.44 1.40 0.000 0.200 0.000 0.00 134.600 6.44 -13.12 1.13 0.000 0.200 0.000 0.00 134.650 6.12 -13.83 0.87 0.000 0.200 0.000 0.00 134.700 6.03 -13.53 0.61 0.000 0.200 0.000 0.00 134.750 6.15 -15.50 0.53 0.000 0.200 0.000 0.00 134.800 6.41 -15.01 0.46 0.000 0.200 0.000 0.00 134.850 6.41 -15.55 0.45 0.000 0.200 0.000 0.00 134.900 6.46 -9.63 0.64 0.000 0.200 0.000 0.00 134.950 6.67 -6.09 0.87 0.000 0.200 0.000 0.00 135.000 6.59 -7.12 0.94 0.000 0.200 0.000 0.00 135.050 6.48 -9.99 0.71 0.000 0.200 0.000 0.00 135.100 6.65 -9.20 0.70 0.000 0.200 0.000 0.00 135.150 7.07 -11.56 0.59 0.000 0.200 0.000 0.00 135.200 7.03 -10.96 0.60 0.000 0.200 0.000 0.00 135.250 7.14 -9.59 -0.07 0.000 0.200 0.000 0.00 135.300 6.94 -6.85 0.16 0.000 0.200 0.000 0.00 135.350 6.98 -8.96 0.36 0.000 0.200 0.000 0.00 135.400 6.74 -8.56 0.43 0.000 0.200 0.000 0.00 135.450 6.95 -5.95 0.84 0.000 0.200 0.000 0.00 135.500 6.56 -9.48 0.77 0.000 0.200 0.000 0.00 135.550 6.38 -6.22 0.68 0.000 0.200 0.000 0.00 135.600 6.43 -10.83 0.58 0.000 0.200 0.000 0.00 135.650 6.54 -10.09 0.53 0.000 0.200 0.000 0.00 135.700 6.37 -8.65 0.54 0.000 0.200 0.000 0.00 135.750 6.28 -10.16 0.88 0.000 0.200 0.000 0.00 135.800 6.35 -6.80 0.95 0.000 0.200 0.000 0.00 135.850 6.35 -7.22 1.14 0.000 0.200 0.000 0.00 135.900 6.20 -7.19 1.26 0.000 0.200 0.000 0.00 135.950 6.40 -7.33 0.96 0.000 0.200 0.000 0.00 136.000 6.66 -5.90 1.04 0.000 0.200 0.000 0.00 136.050 6.43 -3.22 0.74 0.000 0.200 0.000 0.00 136.100 6.22 -4.22 0.71 0.000 0.200 0.000 0.00 136.150 6.05 0.82 0.38 0.000 0.200 0.000 0.00 136.200 5.80 -1.64 0.34 0.000 0.200 0.000 0.00 136.250 5.98 -5.18 0.47 0.000 0.200 0.000 0.00 136.300 6.36 -0.25 0.46 0.000 0.200 0.000 0.00 136.350 6.16 -0.45 0.32 0.000 0.200 0.000 0.00 136.400 6.00 -0.66 0.23 0.000 0.200 0.000 0.00 136.450 6.04 -1.21 0.78 0.000 0.200 0.000 0.00 136.500 6.02 -4.60 1.08 0.000 0.200 0.000 0.00 136.550 5.61 -4.37 0.71 0.000 0.200 0.000 0.00 136.600 5.44 -4.29 0.59 0.000 0.200 0.000 0.00 136.650 5.39 -0.54 0.42 0.000 0.200 0.000 0.00 136.700 5.46 2.50 0.41 0.000 0.200 0.000 0.00 136.750 5.30 -1.13 0.38 0.000 0.200 0.000 0.00 136.800 5.33 -4.93 0.29 0.000 0.200 0.000 0.00 136.850 5.69 -4.35 0.28 0.000 0.200 0.000 0.00 136.900 5.75 -2.46 0.02 0.000 0.200 0.000 0.00 136.950 5.84 -2.76 0.20 0.000 0.200 0.000 0.00 137.000 5.56 -1.35 -0.05 0.000 0.200 0.000 0.00 137.050 5.50 -0.88 0.22 0.000 0.200 0.000 0.00 137.100 5.25 -3.93 0.52 0.000 0.200 0.000 0.00 137.150 5.61 -2.65 0.50 0.000 0.200 0.000 0.00 137.200 5.88 -2.58 0.49 0.000 0.200 0.000 0.00 137.250 5.58 -4.15 0.50 0.000 0.200 0.000 0.00 137.300 5.21 -1.11 0.87 0.000 0.200 0.000 0.00 137.350 5.48 1.43 0.94 0.000 0.200 0.000 0.00 137.400 5.71 3.71 0.64 0.000 0.200 0.000 0.00 137.450 5.88 0.75 0.71 0.000 0.200 0.000 0.00 137.500 5.74 1.62 1.03 0.000 0.200 0.000 0.00 137.550 5.94 1.30 1.05 0.000 0.200 0.000 0.00 137.600 5.99 3.49 1.09 0.000 0.200 0.000 0.00 137.650 6.25 5.61 1.34 0.000 0.200 0.000 0.00 137.700 6.10 1.29 0.97 0.000 0.200 0.000 0.00 137.750 6.13 1.22 0.55 0.000 0.200 0.000 0.00 137.800 6.43 0.03 0.37 0.000 0.200 0.000 0.00 137.850 6.34 0.36 0.21 0.000 0.200 0.000 0.00 137.900 6.42 -2.53 -0.20 0.000 0.200 0.000 0.00 137.950 6.74 -5.15 -0.14 0.000 0.200 0.000 0.00 138.000 6.70 -5.12 -0.04 0.000 0.200 0.000 0.00 138.050 6.68 -5.78 -0.12 0.000 0.200 0.000 0.00 138.100 6.31 -7.56 -0.14 0.000 0.200 0.000 0.00 138.150 6.21 -8.38 -0.18 0.000 0.200 0.000 0.00 138.200 6.20 -7.60 -0.25 0.000 0.200 0.000 0.00 138.250 6.14 -5.17 -0.31 0.000 0.200 0.000 0.00 138.300 6.08 -5.45 -0.35 0.000 0.200 0.000 0.00 138.350 6.12 -4.79 -0.27 0.000 0.200 0.000 0.00 138.400 5.99 -6.27 -0.07 0.000 0.200 0.000 0.00 138.450 6.22 -6.46 0.00 0.000 0.200 0.000 0.00 138.500 6.00 -5.69 -0.08 0.000 0.200 0.000 0.00 138.550 5.95 -6.29 -0.05 0.000 0.200 0.000 0.00 138.600 6.20 -8.08 -0.12 0.000 0.200 0.000 0.00 138.650 6.15 -10.88 0.36 0.000 0.200 0.000 0.00 138.700 5.93 -8.78 0.65 0.000 0.200 0.000 0.00 138.750 6.24 -6.85 0.63 0.000 0.200 0.000 0.00 138.800 5.86 -7.04 0.70 0.000 0.200 0.000 0.00 138.850 5.60 -9.47 0.89 0.000 0.200 0.000 0.00 138.900 5.69 -9.55 0.83 0.000 0.200 0.000 0.00 138.950 5.57 -7.46 0.51 0.000 0.200 0.000 0.00 139.000 5.74 -5.82 0.20 0.000 0.200 0.000 0.00 139.050 5.74 -7.69 0.19 0.000 0.200 0.000 0.00 139.100 5.94 -8.69 0.69 0.000 0.200 0.000 0.00 139.150 6.05 -6.53 1.02 0.000 0.200 0.000 0.00 139.200 6.09 -7.94 1.03 0.000 0.200 0.000 0.00 139.250 5.92 -5.97 0.96 0.000 0.200 0.000 0.00 139.300 5.86 -6.64 1.34 0.000 0.200 0.000 0.00 139.350 5.67 -4.28 1.37 0.000 0.200 0.000 0.00 139.400 5.70 -2.35 0.92 0.000 0.200 0.000 0.00 139.450 5.91 -1.09 1.07 0.000 0.200 0.000 0.00 139.500 6.20 -0.70 0.95 0.000 0.200 0.000 0.00 139.550 6.34 0.62 0.99 0.000 0.200 0.000 0.00 139.600 6.42 3.89 0.96 0.000 0.200 0.000 0.00 139.650 6.43 5.85 0.36 0.000 0.200 0.000 0.00 139.700 6.45 5.18 0.71 0.000 0.200 0.000 0.00 139.750 6.48 7.37 0.56 0.000 0.200 0.000 0.00 139.800 6.88 6.09 0.21 0.000 0.200 0.000 0.00 139.850 6.82 2.56 0.36 0.000 0.200 0.000 0.00 139.900 6.72 3.07 0.53 0.000 0.200 0.000 0.00 139.950 6.73 3.52 0.44 0.000 0.200 0.000 0.00 140.000 6.75 6.74 0.71 0.000 0.200 0.000 0.00 140.050 6.53 4.23 0.88 0.000 0.200 0.000 0.00 140.100 6.93 5.24 0.58 0.000 0.200 0.000 0.00 140.150 6.77 2.37 0.81 0.000 0.200 0.000 0.00 140.200 6.76 -0.44 0.74 0.000 0.200 0.000 0.00 140.250 6.76 -2.68 1.14 0.000 0.200 0.000 0.00 140.300 6.96 -2.29 1.21 0.000 0.200 0.000 0.00 140.350 6.80 2.27 0.90 0.000 0.200 0.000 0.00 140.400 6.86 5.46 0.62 0.000 0.200 0.000 0.00 140.450 6.93 4.96 0.41 0.000 0.200 0.000 0.00 140.500 6.89 5.69 0.12 0.000 0.200 0.000 0.00 140.550 6.86 5.04 -0.17 0.000 0.200 0.000 0.00 140.600 6.82 3.20 0.04 0.000 0.200 0.000 0.00 140.650 6.84 3.30 0.16 0.000 0.200 0.000 0.00 140.700 6.41 5.37 0.17 0.000 0.200 0.000 0.00 140.750 6.03 5.83 0.19 0.000 0.200 0.000 0.00 140.800 5.86 6.57 0.00 0.000 0.200 0.000 0.00 140.850 5.92 3.28 -0.08 0.000 0.200 0.000 0.00 140.900 6.03 -0.69 0.22 0.000 0.200 0.000 0.00 140.950 5.98 2.88 0.23 0.000 0.200 0.000 0.00 141.000 6.20 0.41 0.52 0.000 0.200 0.000 0.00 141.050 6.31 2.94 0.50 0.000 0.200 0.000 0.00 141.100 6.49 0.93 0.40 0.000 0.200 0.000 0.00 141.150 6.51 2.33 0.50 0.000 0.200 0.000 0.00 141.200 6.47 0.61 0.96 0.000 0.200 0.000 0.00 141.250 6.53 -0.21 0.75 0.000 0.200 0.000 0.00 141.300 6.90 -0.57 0.90 0.000 0.200 0.000 0.00 141.350 7.21 1.09 0.99 0.000 0.200 0.000 0.00 141.400 6.84 -0.01 0.84 0.000 0.200 0.000 0.00 141.450 6.60 -0.82 0.67 0.000 0.200 0.000 0.00 141.500 6.68 -1.83 0.76 0.000 0.200 0.000 0.00 141.550 6.47 -1.80 0.88 0.000 0.200 0.000 0.00 141.600 6.16 -2.25 0.66 0.000 0.200 0.000 0.00 141.650 6.19 -2.06 0.46 0.000 0.200 0.000 0.00 141.700 6.07 -2.99 0.55 0.000 0.200 0.000 0.00 141.750 5.85 -2.55 0.48 0.000 0.200 0.000 0.00 141.800 5.68 -2.98 0.75 0.000 0.200 0.000 0.00 141.850 5.62 -4.85 0.93 0.000 0.200 0.000 0.00 141.900 5.39 -2.21 1.30 0.000 0.200 0.000 0.00 141.950 5.55 -8.60 1.37 0.000 0.200 0.000 0.00 142.000 5.49 -9.02 1.40 0.000 0.200 0.000 0.00 142.050 5.85 -8.30 1.53 0.000 0.200 0.000 0.00 142.100 5.94 -5.03 1.32 0.000 0.200 0.000 0.00 142.150 6.22 -3.05 1.50 0.000 0.200 0.000 0.00 142.200 6.26 -0.52 1.47 0.000 0.200 0.000 0.00 142.250 6.06 2.14 1.38 0.000 0.200 0.000 0.00 142.300 6.27 0.48 1.33 0.000 0.200 0.000 0.00 142.350 6.09 0.78 0.87 0.000 0.200 0.000 0.00 142.400 5.99 1.59 1.29 0.000 0.200 0.000 0.00 142.450 6.24 -0.53 1.05 0.000 0.200 0.000 0.00 142.500 6.04 -0.54 1.11 0.000 0.200 0.000 0.00 142.550 5.99 -0.22 1.16 0.000 0.200 0.000 0.00 142.600 6.15 1.64 1.10 0.000 0.200 0.000 0.00 142.650 6.35 -0.88 0.97 0.000 0.200 0.000 0.00 142.700 6.01 -7.04 1.11 0.000 0.200 0.000 0.00 142.750 6.06 -8.79 1.21 0.000 0.200 0.000 0.00 142.800 6.26 -10.76 1.18 0.000 0.200 0.000 0.00 142.850 6.09 -10.61 0.67 0.000 0.200 0.000 0.00 142.900 6.17 -15.76 0.78 0.000 0.200 0.000 0.00 142.950 6.10 -18.27 0.74 0.000 0.200 0.000 0.00 143.000 6.23 -16.04 0.74 0.000 0.200 0.000 0.00 143.050 6.19 -17.50 0.97 0.000 0.200 0.000 0.00 143.100 5.99 -15.42 1.13 0.000 0.200 0.000 0.00 143.150 6.13 -13.02 0.82 0.000 0.200 0.000 0.00 143.200 6.02 -9.20 0.79 0.000 0.200 0.000 0.00 143.250 6.11 -10.23 0.70 0.000 0.200 0.000 0.00 143.300 6.04 -9.62 0.86 0.000 0.200 0.000 0.00 143.350 5.99 -11.09 0.71 0.000 0.200 0.000 0.00 143.400 5.88 -8.95 0.74 0.000 0.200 0.000 0.00 143.450 6.21 -6.42 1.06 0.000 0.200 0.000 0.00 143.500 6.47 -9.05 1.08 0.000 0.200 0.000 0.00 143.550 6.01 -10.49 1.29 0.000 0.200 0.000 0.00 143.600 6.08 -9.95 1.15 0.000 0.200 0.000 0.00 143.650 6.18 -8.74 0.93 0.000 0.200 0.000 0.00 143.700 6.52 -10.55 0.96 0.000 0.200 0.000 0.00 143.750 6.24 -12.53 1.13 0.000 0.200 0.000 0.00 143.800 6.14 -14.98 0.92 0.000 0.200 0.000 0.00 143.850 6.11 -10.63 0.90 0.000 0.200 0.000 0.00 143.900 6.13 -13.79 0.55 0.000 0.200 0.000 0.00 143.950 5.98 -14.26 0.42 0.000 0.200 0.000 0.00 144.000 5.81 -14.89 0.20 0.000 0.200 0.000 0.00 144.050 5.49 -12.17 0.40 0.000 0.200 0.000 0.00 144.100 5.31 -10.93 0.40 0.000 0.200 0.000 0.00 144.150 5.44 -11.56 -0.05 0.000 0.200 0.000 0.00 144.200 5.46 -6.02 0.31 0.000 0.200 0.000 0.00 144.250 5.30 -0.42 0.50 0.000 0.200 0.000 0.00 144.300 5.26 -0.36 0.76 0.000 0.200 0.000 0.00 144.350 5.22 3.62 1.22 0.000 0.200 0.000 0.00 144.400 4.98 3.55 0.79 0.000 0.200 0.000 0.00 144.450 5.28 2.84 0.82 0.000 0.200 0.000 0.00 144.500 5.08 3.09 0.67 0.000 0.200 0.000 0.00 144.550 4.91 4.69 0.82 0.000 0.200 0.000 0.00 144.600 5.25 3.52 0.61 0.000 0.200 0.000 0.00 144.650 5.38 0.33 0.52 0.000 0.200 0.000 0.00 144.700 5.11 -1.51 0.44 0.000 0.200 0.000 0.00 144.750 5.31 -3.30 0.54 0.000 0.200 0.000 0.00 144.800 5.34 -4.14 0.30 0.000 0.200 0.000 0.00 144.850 4.98 -3.26 0.79 0.000 0.200 0.000 0.00 144.900 5.01 -10.25 1.02 0.000 0.200 0.000 0.00 144.950 5.31 -13.71 1.03 0.000 0.200 0.000 0.00 145.000 5.49 -8.89 0.94 0.000 0.200 0.000 0.00 145.050 5.54 -8.31 0.91 0.000 0.200 0.000 0.00 145.100 5.33 -9.95 0.67 0.000 0.200 0.000 0.00 145.150 5.65 -4.69 1.04 0.000 0.200 0.000 0.00 145.200 5.52 -7.44 1.52 0.000 0.200 0.000 0.00 145.250 5.49 -11.07 1.35 0.000 0.200 0.000 0.00 145.300 5.53 -10.87 1.17 0.000 0.200 0.000 0.00 145.350 5.61 -11.62 0.88 0.000 0.200 0.000 0.00 145.400 5.52 -10.81 0.54 0.000 0.200 0.000 0.00 145.450 5.57 -9.20 0.49 0.000 0.200 0.000 0.00 145.500 5.48 -10.87 0.42 0.000 0.200 0.000 0.00 145.550 5.36 -12.26 0.66 0.000 0.200 0.000 0.00 145.600 5.21 -9.84 0.71 0.000 0.200 0.000 0.00 145.650 5.22 -9.53 0.84 0.000 0.200 0.000 0.00 145.700 5.11 -10.28 0.93 0.000 0.200 0.000 0.00 145.750 5.43 -10.53 1.11 0.000 0.200 0.000 0.00 145.800 5.20 -8.00 1.07 0.000 0.200 0.000 0.00 145.850 5.49 -5.67 1.27 0.000 0.200 0.000 0.00 145.900 4.98 -2.49 1.08 0.000 0.200 0.000 0.00 145.950 5.12 -5.50 0.87 0.000 0.200 0.000 0.00 146.000 5.29 -2.72 0.97 0.000 0.200 0.000 0.00 146.050 5.14 -2.30 0.95 0.000 0.200 0.000 0.00 146.100 5.06 -1.64 1.31 0.000 0.200 0.000 0.00 146.150 5.18 -1.65 1.09 0.000 0.200 0.000 0.00 146.200 5.31 -3.95 0.78 0.000 0.200 0.000 0.00 146.250 5.01 -4.79 0.75 0.000 0.200 0.000 0.00 146.300 4.81 -0.72 0.76 0.000 0.200 0.000 0.00 146.350 4.68 2.50 0.83 0.000 0.200 0.000 0.00 146.400 4.83 3.84 0.85 0.000 0.200 0.000 0.00 146.450 5.01 4.31 0.89 0.000 0.200 0.000 0.00 146.500 5.01 3.67 0.90 0.000 0.200 0.000 0.00 146.550 5.22 4.60 0.45 0.000 0.200 0.000 0.00 146.600 5.45 0.85 0.44 0.000 0.200 0.000 0.00 146.650 5.52 4.30 0.35 0.000 0.200 0.000 0.00 146.700 5.51 7.74 0.72 0.000 0.200 0.000 0.00 146.750 5.96 7.66 1.10 0.000 0.200 0.000 0.00 146.800 5.79 13.54 0.96 0.000 0.200 0.000 0.00 146.850 5.59 11.71 1.07 0.000 0.200 0.000 0.00 146.900 5.56 12.41 0.69 0.000 0.200 0.000 0.00 146.950 5.56 16.59 0.53 0.000 0.200 0.000 0.00 147.000 5.39 14.87 0.63 0.000 0.200 0.000 0.00 147.050 5.32 8.26 0.60 0.000 0.200 0.000 0.00 147.100 5.02 4.97 0.63 0.000 0.200 0.000 0.00 147.150 4.90 3.56 0.71 0.000 0.200 0.000 0.00 147.200 5.03 1.46 0.43 0.000 0.200 0.000 0.00 147.250 5.11 -1.23 0.83 0.000 0.200 0.000 0.00 147.300 5.09 2.86 0.94 0.000 0.200 0.000 0.00 147.350 5.09 0.49 1.38 0.000 0.200 0.000 0.00 147.400 4.96 -1.98 1.30 0.000 0.200 0.000 0.00 147.450 5.27 -0.50 1.38 0.000 0.200 0.000 0.00 147.500 5.34 -3.40 1.10 0.000 0.200 0.000 0.00 147.550 5.17 -3.58 1.05 0.000 0.200 0.000 0.00 147.600 4.70 -3.85 1.12 0.000 0.200 0.000 0.00 147.650 4.86 -2.05 0.68 0.000 0.200 0.000 0.00 147.700 5.06 -2.87 0.59 0.000 0.200 0.000 0.00 147.750 5.18 3.32 0.64 0.000 0.200 0.000 0.00 147.800 5.04 0.64 0.77 0.000 0.200 0.000 0.00 147.850 5.71 1.19 0.74 0.000 0.200 0.000 0.00 147.900 5.83 0.48 0.82 0.000 0.200 0.000 0.00 147.950 5.40 0.30 1.16 0.000 0.200 0.000 0.00 148.000 5.29 0.04 0.98 0.000 0.200 0.000 0.00 148.050 5.37 1.19 1.15 0.000 0.200 0.000 0.00 148.100 5.58 1.95 1.10 0.000 0.200 0.000 0.00 148.150 5.62 0.44 1.11 0.000 0.200 0.000 0.00 148.200 6.04 4.44 0.94 0.000 0.200 0.000 0.00 148.250 6.04 2.35 1.00 0.000 0.200 0.000 0.00 148.300 6.16 3.59 0.93 0.000 0.200 0.000 0.00 148.350 5.55 2.51 1.01 0.000 0.200 0.000 0.00 148.400 5.70 4.74 0.82 0.000 0.200 0.000 0.00 148.450 5.92 5.61 0.71 0.000 0.200 0.000 0.00 148.500 6.08 4.21 0.79 0.000 0.200 0.000 0.00 148.550 6.30 3.66 1.08 0.000 0.200 0.000 0.00 148.600 6.22 4.37 0.83 0.000 0.200 0.000 0.00 148.650 6.16 7.29 0.76 0.000 0.200 0.000 0.00 148.700 6.15 7.42 0.46 0.000 0.200 0.000 0.00 148.750 6.02 9.42 0.44 0.000 0.200 0.000 0.00 148.800 6.39 10.05 0.25 0.000 0.200 0.000 0.00 148.850 6.21 13.63 0.45 0.000 0.200 0.000 0.00 148.900 6.22 13.83 0.42 0.000 0.200 0.000 0.00 148.950 6.21 14.26 0.71 0.000 0.200 0.000 0.00 149.000 6.05 11.03 0.28 0.000 0.200 0.000 0.00 149.050 5.82 12.90 0.59 0.000 0.200 0.000 0.00 149.100 5.58 11.71 0.66 0.000 0.200 0.000 0.00 149.150 5.55 10.05 0.51 0.000 0.200 0.000 0.00 149.200 5.49 9.16 0.15 0.000 0.200 0.000 0.00 149.250 5.39 7.59 -0.06 0.000 0.200 0.000 0.00 149.300 5.37 9.80 -0.02 0.000 0.200 0.000 0.00 149.350 5.59 10.11 -0.01 0.000 0.200 0.000 0.00 149.400 5.56 7.93 0.06 0.000 0.200 0.000 0.00 149.450 5.70 7.66 0.20 0.000 0.200 0.000 0.00 149.500 5.31 11.61 0.18 0.000 0.200 0.000 0.00 149.550 5.39 14.86 0.69 0.000 0.200 0.000 0.00 149.600 5.50 12.35 0.85 0.000 0.200 0.000 0.00 149.650 5.33 11.26 0.83 0.000 0.200 0.000 0.00 149.700 5.38 9.24 0.75 0.000 0.200 0.000 0.00 149.750 5.65 8.99 0.84 0.000 0.200 0.000 0.00 149.800 5.41 7.54 0.67 0.000 0.200 0.000 0.00 149.850 5.56 6.96 0.41 0.000 0.200 0.000 0.00 149.900 5.72 7.15 0.65 0.000 0.200 0.000 0.00 149.950 5.67 7.54 0.37 0.000 0.200 0.000 0.00 150.000 5.65 4.21 0.40 0.000 0.200 0.000 0.00 150.050 5.51 6.19 0.37 0.000 0.200 0.000 0.00 150.100 5.51 6.99 0.27 0.000 0.200 0.000 0.00 150.150 5.27 11.59 0.47 0.000 0.200 0.000 0.00 150.200 4.99 7.78 0.55 0.000 0.200 0.000 0.00 150.250 4.96 10.32 0.15 0.000 0.200 0.000 0.00 150.300 4.73 10.94 0.05 0.000 0.200 0.000 0.00 150.350 5.01 13.74 0.00 0.000 0.200 0.000 0.00 150.400 5.10 14.13 0.46 0.000 0.200 0.000 0.00 150.450 5.06 11.42 0.51 0.000 0.200 0.000 0.00 150.500 5.31 7.74 0.51 0.000 0.200 0.000 0.00 150.550 5.42 6.23 0.36 0.000 0.200 0.000 0.00 150.600 5.31 2.51 0.65 0.000 0.200 0.000 0.00 150.650 5.20 1.31 0.19 0.000 0.200 0.000 0.00 150.700 5.37 4.68 0.22 0.000 0.200 0.000 0.00 150.750 5.09 5.56 0.38 0.000 0.200 0.000 0.00 150.800 4.62 7.57 0.06 0.000 0.200 0.000 0.00 150.850 4.30 8.80 -0.16 0.000 0.200 0.000 0.00 150.900 4.53 9.80 -0.06 0.000 0.200 0.000 0.00 150.950 4.83 11.30 0.07 0.000 0.200 0.000 0.00 151.000 4.97 11.96 -0.04 0.000 0.200 0.000 0.00 151.050 4.74 14.66 -0.47 0.000 0.200 0.000 0.00 151.100 4.83 11.61 -0.64 0.000 0.200 0.000 0.00 151.150 4.97 9.05 -0.58 0.000 0.200 0.000 0.00 151.200 4.81 8.92 -0.53 0.000 0.200 0.000 0.00 151.250 5.05 9.88 -0.60 0.000 0.200 0.000 0.00 151.300 4.39 8.86 -0.26 0.000 0.200 0.000 0.00 151.350 5.01 5.26 0.02 0.000 0.200 0.000 0.00 151.400 4.97 6.09 0.15 0.000 0.200 0.000 0.00 151.450 5.28 4.49 0.22 0.000 0.200 0.000 0.00 151.500 5.01 3.08 0.07 0.000 0.200 0.000 0.00 151.550 4.96 -0.59 0.21 0.000 0.200 0.000 0.00 151.600 4.79 -0.04 0.25 0.000 0.200 0.000 0.00 151.650 4.57 -0.69 0.29 0.000 0.200 0.000 0.00 151.700 4.63 -1.23 0.82 0.000 0.200 0.000 0.00 151.750 4.49 -0.55 0.46 0.000 0.200 0.000 0.00 151.800 4.42 1.92 0.47 0.000 0.200 0.000 0.00 151.850 4.41 3.22 0.51 0.000 0.200 0.000 0.00 151.900 4.68 5.15 -0.06 0.000 0.200 0.000 0.00 151.950 4.42 6.69 -0.16 0.000 0.200 0.000 0.00 152.000 4.20 3.39 -0.67 0.000 0.200 0.000 0.00 152.050 4.15 3.30 -0.41 0.000 0.200 0.000 0.00 152.100 3.95 4.88 -0.47 0.000 0.200 0.000 0.00 152.150 4.15 7.83 -0.48 0.000 0.200 0.000 0.00 152.200 4.19 7.80 -0.41 0.000 0.200 0.000 0.00 152.250 4.34 6.08 -0.47 0.000 0.200 0.000 0.00 152.300 4.50 3.87 -0.35 0.000 0.200 0.000 0.00 152.350 4.53 4.94 -0.23 0.000 0.200 0.000 0.00 152.400 4.23 4.56 -0.68 0.000 0.200 0.000 0.00 152.450 4.25 4.83 -0.44 0.000 0.200 0.000 0.00 152.500 4.03 2.43 -0.34 0.000 0.200 0.000 0.00 152.550 3.96 4.42 -0.54 0.000 0.200 0.000 0.00 152.600 4.03 6.56 -0.54 0.000 0.200 0.000 0.00 152.650 3.91 9.63 -0.41 0.000 0.200 0.000 0.00 152.700 4.00 6.49 -0.66 0.000 0.200 0.000 0.00 152.750 3.98 7.82 -0.64 0.000 0.200 0.000 0.00 152.800 4.23 15.22 -0.24 0.000 0.200 0.000 0.00 152.850 4.26 10.37 -0.09 0.000 0.200 0.000 0.00 152.900 4.22 9.95 0.15 0.000 0.200 0.000 0.00 152.950 4.07 11.69 0.39 0.000 0.200 0.000 0.00 153.000 4.07 9.92 -0.30 0.000 0.200 0.000 0.00 153.050 4.29 6.08 -0.42 0.000 0.200 0.000 0.00 153.100 4.12 12.35 -0.51 0.000 0.200 0.000 0.00 153.150 4.30 14.10 -0.28 0.000 0.200 0.000 0.00 153.200 4.20 12.92 -0.68 0.000 0.200 0.000 0.00 153.250 4.22 11.09 -0.92 0.000 0.200 0.000 0.00 153.300 4.42 14.39 -0.43 0.000 0.200 0.000 0.00 153.350 4.58 15.45 -0.32 0.000 0.200 0.000 0.00 153.400 4.58 17.95 -0.47 0.000 0.200 0.000 0.00 153.450 4.65 15.16 -0.13 0.000 0.200 0.000 0.00 153.500 4.33 11.39 -0.74 0.000 0.200 0.000 0.00 153.550 3.88 8.69 -0.96 0.000 0.200 0.000 0.00 153.600 4.01 13.19 -0.98 0.000 0.200 0.000 0.00 153.650 3.90 10.72 -0.70 0.000 0.200 0.000 0.00 153.700 3.96 7.83 -1.06 0.000 0.200 0.000 0.00 153.750 3.98 7.17 -0.84 0.000 0.200 0.000 0.00 153.800 4.13 5.58 -0.47 0.000 0.200 0.000 0.00 153.850 4.16 9.51 -0.76 0.000 0.200 0.000 0.00 153.900 4.22 10.83 -0.96 0.000 0.200 0.000 0.00 153.950 4.84 12.03 -0.72 0.000 0.200 0.000 0.00 154.000 5.00 13.46 -0.82 0.000 0.200 0.000 0.00 154.050 5.13 12.17 -1.01 0.000 0.200 0.000 0.00 154.100 4.82 14.30 -1.01 0.000 0.200 0.000 0.00 154.150 5.07 11.83 -0.85 0.000 0.200 0.000 0.00 154.200 5.46 9.06 -0.81 0.000 0.200 0.000 0.00 154.250 5.45 12.96 -0.46 0.000 0.200 0.000 0.00 154.300 5.31 8.12 -0.56 0.000 0.200 0.000 0.00 154.350 5.17 9.00 -0.57 0.000 0.200 0.000 0.00 154.400 5.66 5.79 -0.13 0.000 0.200 0.000 0.00 154.450 5.88 6.28 0.09 0.000 0.200 0.000 0.00 154.500 5.58 8.59 0.13 0.000 0.200 0.000 0.00 154.550 5.64 9.69 0.26 0.000 0.200 0.000 0.00 154.600 5.85 6.92 0.18 0.000 0.200 0.000 0.00 154.650 5.55 1.50 0.13 0.000 0.200 0.000 0.00 154.700 5.65 0.55 0.30 0.000 0.200 0.000 0.00 154.750 5.42 -1.25 0.12 0.000 0.200 0.000 0.00 154.800 5.22 -1.49 0.41 0.000 0.200 0.000 0.00 154.850 5.34 0.30 0.69 0.000 0.200 0.000 0.00 154.900 5.20 1.56 0.65 0.000 0.200 0.000 0.00 154.950 5.07 -2.62 0.61 0.000 0.200 0.000 0.00 155.000 5.44 0.86 0.33 0.000 0.200 0.000 0.00 155.050 5.24 0.91 0.14 0.000 0.200 0.000 0.00 155.100 4.81 3.49 -0.12 0.000 0.200 0.000 0.00 155.150 5.05 3.12 0.18 0.000 0.200 0.000 0.00 155.200 5.39 2.45 -0.01 0.000 0.200 0.000 0.00 155.250 5.37 3.19 0.14 0.000 0.200 0.000 0.00 155.300 5.31 4.94 0.10 0.000 0.200 0.000 0.00 155.350 5.12 9.58 0.18 0.000 0.200 0.000 0.00 155.400 5.10 10.92 0.50 0.000 0.200 0.000 0.00 155.450 5.19 12.83 0.58 0.000 0.200 0.000 0.00 155.500 5.39 12.88 0.42 0.000 0.200 0.000 0.00 155.550 5.12 11.83 0.27 0.000 0.200 0.000 0.00 155.600 4.94 10.86 0.14 0.000 0.200 0.000 0.00 155.650 5.08 12.35 0.35 0.000 0.200 0.000 0.00 155.700 4.90 12.32 0.65 0.000 0.200 0.000 0.00 155.750 5.01 9.24 0.55 0.000 0.200 0.000 0.00 155.800 5.05 9.15 0.34 0.000 0.200 0.000 0.00 155.850 5.02 10.03 0.46 0.000 0.200 0.000 0.00 155.900 5.09 10.56 0.63 0.000 0.200 0.000 0.00 155.950 5.36 7.32 0.34 0.000 0.200 0.000 0.00 156.000 5.22 8.11 0.57 0.000 0.200 0.000 0.00 156.050 5.40 10.07 0.51 0.000 0.200 0.000 0.00 156.100 5.48 9.27 0.55 0.000 0.200 0.000 0.00 156.150 5.03 10.28 0.43 0.000 0.200 0.000 0.00 156.200 5.04 8.26 0.63 0.000 0.200 0.000 0.00 156.250 4.80 9.05 0.30 0.000 0.200 0.000 0.00 156.300 4.40 8.34 0.11 0.000 0.200 0.000 0.00 156.350 4.90 9.10 0.38 0.000 0.200 0.000 0.00 156.400 5.29 9.08 0.18 0.000 0.200 0.000 0.00 156.450 5.41 9.26 0.18 0.000 0.200 0.000 0.00 156.500 5.50 7.95 0.13 0.000 0.200 0.000 0.00 156.550 5.60 7.70 0.06 0.000 0.200 0.000 0.00 156.600 5.18 9.39 0.06 0.000 0.200 0.000 0.00 156.650 5.12 12.91 -0.19 0.000 0.200 0.000 0.00 156.700 4.99 13.83 -0.45 0.000 0.200 0.000 0.00 156.750 5.34 13.42 -0.24 0.000 0.200 0.000 0.00 156.800 5.28 10.36 -0.08 0.000 0.200 0.000 0.00 156.850 5.32 8.16 -0.20 0.000 0.200 0.000 0.00 156.900 5.23 8.43 -0.18 0.000 0.200 0.000 0.00 156.950 5.25 12.66 -0.42 0.000 0.200 0.000 0.00 157.000 5.38 14.01 -0.16 0.000 0.200 0.000 0.00 157.050 5.43 13.78 0.01 0.000 0.200 0.000 0.00 157.100 5.61 10.55 -0.37 0.000 0.200 0.000 0.00 157.150 5.80 12.06 -0.43 0.000 0.200 0.000 0.00 157.200 5.50 11.57 -0.68 0.000 0.200 0.000 0.00 157.250 5.38 11.84 -0.68 0.000 0.200 0.000 0.00 157.300 5.16 17.07 -0.63 0.000 0.200 0.000 0.00 157.350 5.46 19.35 -0.94 0.000 0.200 0.000 0.00 157.400 5.55 18.15 -1.00 0.000 0.200 0.000 0.00 157.450 5.31 16.37 -1.12 0.000 0.200 0.000 0.00 157.500 5.48 13.39 -0.89 0.000 0.200 0.000 0.00 157.550 5.58 12.18 -1.16 0.000 0.200 0.000 0.00 157.600 5.56 12.20 -1.44 0.000 0.200 0.000 0.00 157.650 5.51 15.45 -1.30 0.000 0.200 0.000 0.00 157.700 5.48 14.39 -1.01 0.000 0.200 0.000 0.00 157.750 5.19 13.97 -0.59 0.000 0.200 0.000 0.00 157.800 5.02 13.74 -0.43 0.000 0.200 0.000 0.00 157.850 5.13 13.34 -0.62 0.000 0.200 0.000 0.00 157.900 5.10 15.24 -0.75 0.000 0.200 0.000 0.00 157.950 5.04 14.38 -0.94 0.000 0.200 0.000 0.00 158.000 5.11 15.79 -0.74 0.000 0.200 0.000 0.00 158.050 5.19 17.09 -1.00 0.000 0.200 0.000 0.00 158.100 5.14 13.92 -1.29 0.000 0.200 0.000 0.00 158.150 5.09 10.28 -1.42 0.000 0.200 0.000 0.00 158.200 5.17 15.52 -1.25 0.000 0.200 0.000 0.00 158.250 5.20 13.73 -1.07 0.000 0.200 0.000 0.00 158.300 5.33 12.54 -1.15 0.000 0.200 0.000 0.00 158.350 5.17 15.73 -1.15 0.000 0.200 0.000 0.00 158.400 5.26 17.68 -1.45 0.000 0.200 0.000 0.00 158.450 5.19 15.85 -1.05 0.000 0.200 0.000 0.00 158.500 5.38 12.42 -1.24 0.000 0.200 0.000 0.00 158.550 5.47 9.88 -1.46 0.000 0.200 0.000 0.00 158.600 5.28 9.11 -1.25 0.000 0.200 0.000 0.00 158.650 5.20 3.33 -0.96 0.000 0.200 0.000 0.00 158.700 5.22 2.72 -0.90 0.000 0.200 0.000 0.00 158.750 5.07 0.41 -0.44 0.000 0.200 0.000 0.00 158.800 5.05 2.19 -0.53 0.000 0.200 0.000 0.00 158.850 5.03 4.69 -0.34 0.000 0.200 0.000 0.00 158.900 5.04 3.65 -0.14 0.000 0.200 0.000 0.00 158.950 5.00 4.12 -0.11 0.000 0.200 0.000 0.00 159.000 5.45 4.41 -0.17 0.000 0.200 0.000 0.00 159.050 5.78 9.47 -0.38 0.000 0.200 0.000 0.00 159.100 5.73 9.20 -0.34 0.000 0.200 0.000 0.00 159.150 5.70 6.12 -0.27 0.000 0.200 0.000 0.00 159.200 5.58 5.80 -0.56 0.000 0.200 0.000 0.00 159.250 5.43 6.91 -0.32 0.000 0.200 0.000 0.00 159.300 5.50 8.80 -0.09 0.000 0.200 0.000 0.00 159.350 5.76 12.06 0.02 0.000 0.200 0.000 0.00 159.400 5.81 11.25 0.22 0.000 0.200 0.000 0.00 159.450 6.17 4.34 -0.03 0.000 0.200 0.000 0.00 159.500 6.07 3.66 -0.13 0.000 0.200 0.000 0.00 159.550 5.85 3.64 -0.39 0.000 0.200 0.000 0.00 159.600 5.83 5.97 -0.30 0.000 0.200 0.000 0.00 159.650 5.96 7.88 -0.12 0.000 0.200 0.000 0.00 159.700 5.78 9.83 -0.22 0.000 0.200 0.000 0.00 159.750 5.83 9.55 -0.22 0.000 0.200 0.000 0.00 159.800 5.99 5.96 -0.57 0.000 0.200 0.000 0.00 159.850 5.84 6.64 -0.98 0.000 0.200 0.000 0.00 159.900 5.32 10.23 -0.79 0.000 0.200 0.000 0.00 159.950 5.52 14.20 -0.84 0.000 0.200 0.000 0.00 160.000 5.51 14.49 -0.74 0.000 0.200 0.000 0.00 160.050 5.67 15.12 -0.54 0.000 0.200 0.000 0.00 160.100 5.56 11.12 -0.41 0.000 0.200 0.000 0.00 160.150 5.53 9.98 -0.41 0.000 0.200 0.000 0.00 160.200 5.66 8.90 -0.78 0.000 0.200 0.000 0.00 160.250 5.73 12.43 -0.78 0.000 0.200 0.000 0.00 160.300 5.85 10.05 -1.21 0.000 0.200 0.000 0.00 160.350 6.00 5.04 -1.33 0.000 0.200 0.000 0.00 160.400 6.10 7.25 -1.00 0.000 0.200 0.000 0.00 160.450 5.85 5.87 -1.19 0.000 0.200 0.000 0.00 160.500 6.17 5.93 -1.25 0.000 0.200 0.000 0.00 160.550 6.28 7.08 -1.07 0.000 0.200 0.000 0.00 160.600 5.84 5.24 -0.94 0.000 0.200 0.000 0.00 160.650 5.85 6.97 -0.90 0.000 0.200 0.000 0.00 160.700 5.99 11.14 -0.61 0.000 0.200 0.000 0.00 160.750 5.89 12.75 -0.90 0.000 0.200 0.000 0.00 160.800 6.06 15.03 -1.14 0.000 0.200 0.000 0.00 160.850 6.49 16.57 -0.96 0.000 0.200 0.000 0.00 160.900 6.43 17.20 -0.44 0.000 0.200 0.000 0.00 160.950 6.09 16.68 -0.39 0.000 0.200 0.000 0.00 161.000 6.33 20.36 -0.64 0.000 0.200 0.000 0.00 161.050 6.25 14.90 -0.44 0.000 0.200 0.000 0.00 161.100 6.46 16.56 -0.47 0.000 0.200 0.000 0.00 161.150 6.21 12.62 -0.30 0.000 0.200 0.000 0.00 161.200 6.43 14.58 -0.48 0.000 0.200 0.000 0.00 161.250 6.52 16.05 -0.83 0.000 0.200 0.000 0.00 161.300 6.49 19.74 -0.81 0.000 0.200 0.000 0.00 161.350 6.25 19.57 -0.78 0.000 0.200 0.000 0.00 161.400 6.19 22.31 -0.49 0.000 0.200 0.000 0.00 161.450 6.18 17.79 -0.21 0.000 0.200 0.000 0.00 161.500 6.28 14.53 0.01 0.000 0.200 0.000 0.00 161.550 6.30 15.34 0.03 0.000 0.200 0.000 0.00 161.600 6.84 14.64 0.36 0.000 0.200 0.000 0.00 161.650 7.11 16.78 0.18 0.000 0.200 0.000 0.00 161.700 6.83 16.95 0.23 0.000 0.200 0.000 0.00 161.750 6.94 18.28 0.05 0.000 0.200 0.000 0.00 161.800 7.46 19.36 0.19 0.000 0.200 0.000 0.00 161.850 7.21 17.35 0.24 0.000 0.200 0.000 0.00 161.900 7.09 13.64 0.42 0.000 0.200 0.000 0.00 161.950 7.03 15.71 0.37 0.000 0.200 0.000 0.00 162.000 7.07 15.71 0.54 0.000 0.200 0.000 0.00 162.050 7.00 14.33 0.43 0.000 0.200 0.000 0.00 162.100 6.91 15.41 -0.19 0.000 0.200 0.000 0.00 162.150 7.17 12.87 -0.17 0.000 0.200 0.000 0.00 162.200 7.04 13.92 0.01 0.000 0.200 0.000 0.00 162.250 6.75 15.62 -0.42 0.000 0.200 0.000 0.00 162.300 6.83 13.49 -0.26 0.000 0.200 0.000 0.00 162.350 6.82 16.67 -0.06 0.000 0.200 0.000 0.00 162.400 6.83 18.29 -0.31 0.000 0.200 0.000 0.00 162.450 6.96 17.75 0.02 0.000 0.200 0.000 0.00 162.500 6.74 14.57 -0.22 0.000 0.200 0.000 0.00 162.550 6.57 13.79 -0.51 0.000 0.200 0.000 0.00 162.600 6.46 14.11 -0.12 0.000 0.200 0.000 0.00 162.650 6.59 16.93 0.50 0.000 0.200 0.000 0.00 162.700 6.68 17.30 0.27 0.000 0.200 0.000 0.00 162.750 6.59 16.72 0.29 0.000 0.200 0.000 0.00 162.800 6.52 19.34 -0.19 0.000 0.200 0.000 0.00 162.850 6.27 17.71 -0.20 0.000 0.200 0.000 0.00 162.900 6.57 18.07 -0.24 0.000 0.200 0.000 0.00 162.950 6.53 17.88 -0.35 0.000 0.200 0.000 0.00 163.000 6.37 17.96 -0.24 0.000 0.200 0.000 0.00 163.050 6.50 17.82 -0.47 0.000 0.200 0.000 0.00 163.100 6.30 17.98 -0.24 0.000 0.200 0.000 0.00 163.150 6.08 16.26 -0.05 0.000 0.200 0.000 0.00 163.200 6.03 20.15 0.07 0.000 0.200 0.000 0.00 163.250 6.05 22.52 -0.01 0.000 0.200 0.000 0.00 163.300 5.94 24.91 -0.04 0.000 0.200 0.000 0.00 163.350 6.21 23.26 -0.21 0.000 0.200 0.000 0.00 163.400 6.37 21.23 -0.60 0.000 0.200 0.000 0.00 163.450 6.30 18.75 -0.38 0.000 0.200 0.000 0.00 163.500 6.18 21.65 -0.10 0.000 0.200 0.000 0.00 163.550 6.13 21.43 -0.37 0.000 0.200 0.000 0.00 163.600 6.05 17.32 -0.66 0.000 0.200 0.000 0.00 163.650 5.73 15.18 -0.89 0.000 0.200 0.000 0.00 163.700 5.52 14.57 -0.60 0.000 0.200 0.000 0.00 163.750 5.73 9.15 -0.49 0.000 0.200 0.000 0.00 163.800 6.09 8.74 -0.54 0.000 0.200 0.000 0.00 163.850 6.16 9.21 -0.55 0.000 0.200 0.000 0.00 163.900 5.94 9.54 -0.43 0.000 0.200 0.000 0.00 163.950 6.20 8.58 -0.39 0.000 0.200 0.000 0.00 164.000 6.40 11.46 -0.43 0.000 0.200 0.000 0.00 164.050 6.87 10.83 0.04 0.000 0.200 0.000 0.00 164.100 7.14 8.69 -0.24 0.000 0.200 0.000 0.00 164.150 6.85 9.81 -0.35 0.000 0.200 0.000 0.00 164.200 6.66 12.94 -0.48 0.000 0.200 0.000 0.00 164.250 6.35 16.47 -0.35 0.000 0.200 0.000 0.00 164.300 6.15 15.92 -0.14 0.000 0.200 0.000 0.00 164.350 6.24 13.45 0.00 0.000 0.200 0.000 0.00 164.400 6.08 16.04 0.28 0.000 0.200 0.000 0.00 164.450 6.26 16.39 0.36 0.000 0.200 0.000 0.00 164.500 6.33 16.20 0.13 0.000 0.200 0.000 0.00 164.550 6.36 17.76 0.40 0.000 0.200 0.000 0.00 164.600 6.30 15.90 0.32 0.000 0.200 0.000 0.00 164.650 6.58 17.34 0.27 0.000 0.200 0.000 0.00 164.700 6.42 15.36 0.48 0.000 0.200 0.000 0.00 164.750 6.55 13.13 0.61 0.000 0.200 0.000 0.00 164.800 6.44 16.00 0.14 0.000 0.200 0.000 0.00 164.850 6.32 19.16 0.42 0.000 0.200 0.000 0.00 164.900 6.43 23.29 0.43 0.000 0.200 0.000 0.00 164.950 6.42 25.15 0.37 0.000 0.200 0.000 0.00 165.000 6.49 21.85 0.07 0.000 0.200 0.000 0.00 165.050 6.84 21.57 0.38 0.000 0.200 0.000 0.00 165.100 6.89 22.65 0.17 0.000 0.200 0.000 0.00 165.150 6.63 28.13 0.00 0.000 0.200 0.000 0.00 165.200 6.58 30.05 0.24 0.000 0.200 0.000 0.00 165.250 6.21 28.52 0.24 0.000 0.200 0.000 0.00 165.300 6.16 29.97 0.45 0.000 0.200 0.000 0.00 165.350 6.51 25.74 0.46 0.000 0.200 0.000 0.00 165.400 6.67 25.21 0.17 0.000 0.200 0.000 0.00 165.450 6.71 24.71 0.56 0.000 0.200 0.000 0.00 165.500 6.61 23.92 0.87 0.000 0.200 0.000 0.00 165.550 6.52 23.78 1.09 0.000 0.200 0.000 0.00 165.600 6.42 21.16 0.87 0.000 0.200 0.000 0.00 165.650 6.37 21.22 0.87 0.000 0.200 0.000 0.00 165.700 6.25 18.39 1.15 0.000 0.200 0.000 0.00 165.750 6.55 19.34 1.45 0.000 0.200 0.000 0.00 165.800 6.55 19.93 1.25 0.000 0.200 0.000 0.00 165.850 6.58 20.01 0.97 0.000 0.200 0.000 0.00 165.900 6.21 21.13 0.92 0.000 0.200 0.000 0.00 165.950 6.21 20.79 0.57 0.000 0.200 0.000 0.00 166.000 6.07 17.25 0.90 0.000 0.200 0.000 0.00 166.050 6.13 17.26 0.93 0.000 0.200 0.000 0.00 166.100 5.81 17.76 0.62 0.000 0.200 0.000 0.00 166.150 5.75 17.98 0.80 0.000 0.200 0.000 0.00 166.200 5.78 17.88 0.47 0.000 0.200 0.000 0.00 166.250 5.68 18.84 0.73 0.000 0.200 0.000 0.00 166.300 6.06 22.85 0.95 0.000 0.200 0.000 0.00 166.350 5.93 22.22 0.00 0.000 0.200 0.000 0.00 166.400 6.04 19.87 -0.09 0.000 0.200 0.000 0.00 166.450 5.84 18.93 0.30 0.000 0.200 0.000 0.00 166.500 6.04 17.33 -0.03 0.000 0.200 0.000 0.00 166.550 6.21 15.10 -0.23 0.000 0.200 0.000 0.00 166.600 5.98 15.21 -0.27 0.000 0.200 0.000 0.00 166.650 5.87 19.34 -0.18 0.000 0.200 0.000 0.00 166.700 6.10 20.54 -0.05 0.000 0.200 0.000 0.00 166.750 6.43 20.33 -0.02 0.000 0.200 0.000 0.00 166.800 6.45 21.23 -0.03 0.000 0.200 0.000 0.00 166.850 6.52 21.80 -0.11 0.000 0.200 0.000 0.00 166.900 6.71 19.80 -0.19 0.000 0.200 0.000 0.00 166.950 6.91 21.53 -0.68 0.000 0.200 0.000 0.00 167.000 6.53 19.48 -0.55 0.000 0.200 0.000 0.00 167.050 6.76 18.30 -0.49 0.000 0.200 0.000 0.00 167.100 6.81 16.51 -0.43 0.000 0.200 0.000 0.00 167.150 6.93 15.01 -0.53 0.000 0.200 0.000 0.00 167.200 6.73 17.24 -0.56 0.000 0.200 0.000 0.00 167.250 7.12 17.26 -0.49 0.000 0.200 0.000 0.00 167.300 7.21 16.29 -0.61 0.000 0.200 0.000 0.00 167.350 7.31 15.34 -0.39 0.000 0.200 0.000 0.00 167.400 7.14 12.95 0.05 0.000 0.200 0.000 0.00 167.450 6.96 12.27 -0.04 0.000 0.200 0.000 0.00 167.500 6.72 10.31 -0.23 0.000 0.200 0.000 0.00 167.550 6.65 8.94 -0.37 0.000 0.200 0.000 0.00 167.600 7.00 8.30 -0.32 0.000 0.200 0.000 0.00 167.650 6.68 12.59 -0.56 0.000 0.200 0.000 0.00 167.700 6.76 15.13 -0.76 0.000 0.200 0.000 0.00 167.750 6.99 13.40 -0.86 0.000 0.200 0.000 0.00 167.800 7.01 12.64 -1.02 0.000 0.200 0.000 0.00 167.850 7.04 10.05 -0.68 0.000 0.200 0.000 0.00 167.900 7.31 10.62 -1.08 0.000 0.200 0.000 0.00 167.950 7.18 12.17 -1.11 0.000 0.200 0.000 0.00 168.000 7.39 10.34 -1.29 0.000 0.200 0.000 0.00 168.050 7.54 9.90 -1.63 0.000 0.200 0.000 0.00 168.100 7.64 7.80 -1.59 0.000 0.200 0.000 0.00 168.150 7.54 9.48 -1.36 0.000 0.200 0.000 0.00 168.200 7.46 11.39 -1.43 0.000 0.200 0.000 0.00 168.250 7.51 11.27 -1.13 0.000 0.200 0.000 0.00 168.300 7.36 10.27 -1.07 0.000 0.200 0.000 0.00 168.350 7.30 10.70 -1.12 0.000 0.200 0.000 0.00 168.400 7.68 12.51 -1.11 0.000 0.200 0.000 0.00 168.450 7.52 11.16 -1.35 0.000 0.200 0.000 0.00 168.500 7.46 12.35 -1.50 0.000 0.200 0.000 0.00 168.550 7.50 9.21 -1.28 0.000 0.200 0.000 0.00 168.600 7.46 7.99 -1.02 0.000 0.200 0.000 0.00 168.650 7.39 11.17 -1.04 0.000 0.200 0.000 0.00 168.700 7.19 8.04 -0.81 0.000 0.200 0.000 0.00 168.750 7.27 8.42 -0.70 0.000 0.200 0.000 0.00 168.800 7.05 10.75 -0.60 0.000 0.200 0.000 0.00 168.850 6.93 7.53 -0.38 0.000 0.200 0.000 0.00 168.900 6.81 5.17 -0.20 0.000 0.200 0.000 0.00 168.950 6.58 5.65 -0.01 0.000 0.200 0.000 0.00 169.000 6.73 6.78 -0.11 0.000 0.200 0.000 0.00 169.050 6.65 7.90 -0.64 0.000 0.200 0.000 0.00 169.100 6.69 9.44 -0.03 0.000 0.200 0.000 0.00 169.150 6.56 6.75 0.21 0.000 0.200 0.000 0.00 169.200 6.54 7.82 0.03 0.000 0.200 0.000 0.00 169.250 6.36 5.76 0.18 0.000 0.200 0.000 0.00 169.300 6.42 8.65 0.32 0.000 0.200 0.000 0.00 169.350 6.34 8.05 0.46 0.000 0.200 0.000 0.00 169.400 5.97 8.78 0.79 0.000 0.200 0.000 0.00 169.450 5.97 9.64 0.54 0.000 0.200 0.000 0.00 169.500 5.84 10.80 0.42 0.000 0.200 0.000 0.00 169.550 6.10 9.68 0.36 0.000 0.200 0.000 0.00 169.600 6.01 10.49 0.17 0.000 0.200 0.000 0.00 169.650 6.13 11.48 0.60 0.000 0.200 0.000 0.00 169.700 6.42 7.95 0.76 0.000 0.200 0.000 0.00 169.750 6.41 7.05 0.58 0.000 0.200 0.000 0.00 169.800 6.18 2.72 0.06 0.000 0.200 0.000 0.00 169.850 6.24 -0.82 0.28 0.000 0.200 0.000 0.00 169.900 6.13 -2.93 0.40 0.000 0.200 0.000 0.00 169.950 6.33 -6.50 0.22 0.000 0.200 0.000 0.00 170.000 6.45 -3.84 0.44 0.000 0.200 0.000 0.00 170.050 5.90 -7.19 0.02 0.000 0.200 0.000 0.00 170.100 6.14 -8.69 0.10 0.000 0.200 0.000 0.00 170.150 6.26 -6.59 -0.15 0.000 0.200 0.000 0.00 170.200 6.56 -7.48 -0.30 0.000 0.200 0.000 0.00 170.250 6.53 -8.26 -0.04 0.000 0.200 0.000 0.00 170.300 6.47 -7.29 0.04 0.000 0.200 0.000 0.00 170.350 6.36 -6.69 0.11 0.000 0.200 0.000 0.00 170.400 6.64 -6.45 -0.35 0.000 0.200 0.000 0.00 170.450 6.77 -3.47 0.00 0.000 0.200 0.000 0.00 170.500 6.72 -4.21 0.00 0.000 0.200 0.000 0.00 170.550 6.95 -1.73 0.43 0.000 0.200 0.000 0.00 170.600 6.86 -3.25 0.22 0.000 0.200 0.000 0.00 170.650 7.02 -1.59 0.24 0.000 0.200 0.000 0.00 170.700 6.87 -1.39 0.24 0.000 0.200 0.000 0.00 170.750 6.80 1.62 0.36 0.000 0.200 0.000 0.00 170.800 6.55 3.16 0.54 0.000 0.200 0.000 0.00 170.850 6.55 6.54 0.77 0.000 0.200 0.000 0.00 170.900 6.49 11.39 0.61 0.000 0.200 0.000 0.00 170.950 6.35 10.21 0.67 0.000 0.200 0.000 0.00 171.000 6.14 10.85 0.43 0.000 0.200 0.000 0.00 171.050 5.84 10.28 0.28 0.000 0.200 0.000 0.00 171.100 5.78 10.59 0.30 0.000 0.200 0.000 0.00 171.150 5.95 11.28 -0.04 0.000 0.200 0.000 0.00 171.200 6.02 9.68 -0.32 0.000 0.200 0.000 0.00 171.250 6.21 10.77 0.13 0.000 0.200 0.000 0.00 171.300 6.55 13.18 0.44 0.000 0.200 0.000 0.00 171.350 6.69 16.54 0.11 0.000 0.200 0.000 0.00 171.400 6.77 14.45 0.35 0.000 0.200 0.000 0.00 171.450 6.51 14.26 0.21 0.000 0.200 0.000 0.00 171.500 6.18 13.76 0.14 0.000 0.200 0.000 0.00 171.550 6.11 11.21 0.28 0.000 0.200 0.000 0.00 171.600 6.30 8.49 0.30 0.000 0.200 0.000 0.00 171.650 6.16 8.47 0.56 0.000 0.200 0.000 0.00 171.700 6.39 9.95 0.68 0.000 0.200 0.000 0.00 171.750 6.37 9.36 0.50 0.000 0.200 0.000 0.00 171.800 6.46 9.06 0.08 0.000 0.200 0.000 0.00 171.850 6.22 14.30 -0.28 0.000 0.200 0.000 0.00 171.900 6.15 15.16 -0.08 0.000 0.200 0.000 0.00 171.950 6.23 17.52 0.08 0.000 0.200 0.000 0.00 172.000 6.52 17.80 0.25 0.000 0.200 0.000 0.00 172.050 6.24 19.06 0.19 0.000 0.200 0.000 0.00 172.100 6.02 16.61 0.36 0.000 0.200 0.000 0.00 172.150 5.82 14.58 0.07 0.000 0.200 0.000 0.00 172.200 5.94 16.71 -0.20 0.000 0.200 0.000 0.00 172.250 5.99 18.18 -0.24 0.000 0.200 0.000 0.00 172.300 5.81 17.53 -0.01 0.000 0.200 0.000 0.00 172.350 5.52 14.21 -0.09 0.000 0.200 0.000 0.00 172.400 5.47 10.96 -0.31 0.000 0.200 0.000 0.00 172.450 5.53 11.60 -0.08 0.000 0.200 0.000 0.00 172.500 5.41 9.83 0.38 0.000 0.200 0.000 0.00 172.550 5.45 11.77 0.33 0.000 0.200 0.000 0.00 172.600 5.56 12.33 0.31 0.000 0.200 0.000 0.00 172.650 5.65 12.49 -0.18 0.000 0.200 0.000 0.00 172.700 5.55 10.30 -0.28 0.000 0.200 0.000 0.00 172.750 5.62 7.78 -0.62 0.000 0.200 0.000 0.00 172.800 5.28 5.75 -0.93 0.000 0.200 0.000 0.00 172.850 5.26 4.39 -0.81 0.000 0.200 0.000 0.00 172.900 5.76 4.53 -0.78 0.000 0.200 0.000 0.00 172.950 5.85 2.82 -0.84 0.000 0.200 0.000 0.00 173.000 5.82 -1.74 -0.91 0.000 0.200 0.000 0.00 173.050 5.74 -0.87 -0.81 0.000 0.200 0.000 0.00 173.100 5.52 1.14 -0.86 0.000 0.200 0.000 0.00 173.150 5.76 3.78 -0.74 0.000 0.200 0.000 0.00 173.200 5.61 4.13 -0.70 0.000 0.200 0.000 0.00 173.250 5.78 5.78 -0.34 0.000 0.200 0.000 0.00 173.300 5.61 6.66 -0.62 0.000 0.200 0.000 0.00 173.350 5.31 3.59 -0.49 0.000 0.200 0.000 0.00 173.400 5.37 3.87 -0.30 0.000 0.200 0.000 0.00 173.450 5.36 5.05 -0.56 0.000 0.200 0.000 0.00 173.500 5.55 3.45 -0.53 0.000 0.200 0.000 0.00 173.550 5.48 3.84 -0.20 0.000 0.200 0.000 0.00 173.600 5.49 4.27 -0.14 0.000 0.200 0.000 0.00 173.650 5.69 4.97 0.00 0.000 0.200 0.000 0.00 173.700 5.50 6.14 0.27 0.000 0.200 0.000 0.00 173.750 5.39 6.43 0.32 0.000 0.200 0.000 0.00 173.800 5.28 10.43 0.16 0.000 0.200 0.000 0.00 173.850 5.19 7.94 0.48 0.000 0.200 0.000 0.00 173.900 5.34 7.35 0.79 0.000 0.200 0.000 0.00 173.950 5.30 9.74 0.85 0.000 0.200 0.000 0.00 174.000 5.16 7.53 0.57 0.000 0.200 0.000 0.00 174.050 5.15 6.53 0.30 0.000 0.200 0.000 0.00 174.100 5.18 6.20 -0.02 0.000 0.200 0.000 0.00 174.150 5.39 5.51 -0.06 0.000 0.200 0.000 0.00 174.200 5.51 8.95 0.38 0.000 0.200 0.000 0.00 174.250 5.47 10.19 0.14 0.000 0.200 0.000 0.00 174.300 5.12 8.51 0.15 0.000 0.200 0.000 0.00 174.350 5.37 6.84 0.03 0.000 0.200 0.000 0.00 174.400 5.38 5.18 -0.24 0.000 0.200 0.000 0.00 174.450 5.47 4.66 -0.06 0.000 0.200 0.000 0.00 174.500 5.71 7.60 -0.31 0.000 0.200 0.000 0.00 174.550 5.78 6.19 -0.88 0.000 0.200 0.000 0.00 174.600 5.69 8.60 -1.00 0.000 0.200 0.000 0.00 174.650 5.55 10.04 -0.78 0.000 0.200 0.000 0.00 174.700 5.42 5.37 -0.53 0.000 0.200 0.000 0.00 174.750 5.04 7.58 -0.56 0.000 0.200 0.000 0.00 174.800 5.04 5.08 -0.38 0.000 0.200 0.000 0.00 174.850 5.04 2.94 -0.44 0.000 0.200 0.000 0.00 174.900 5.16 5.87 -0.41 0.000 0.200 0.000 0.00 174.950 5.23 7.42 0.02 0.000 0.200 0.000 0.00 175.000 4.94 5.43 0.58 0.000 0.200 0.000 0.00 175.050 4.74 7.09 0.48 0.000 0.200 0.000 0.00 175.100 4.78 3.85 0.14 0.000 0.200 0.000 0.00 175.150 5.07 1.60 0.04 0.000 0.200 0.000 0.00 175.200 5.45 -3.36 -0.47 0.000 0.200 0.000 0.00 175.250 5.19 -2.02 -0.49 0.000 0.200 0.000 0.00 175.300 5.27 -2.45 -0.42 0.000 0.200 0.000 0.00 175.350 5.40 -2.82 -0.23 0.000 0.200 0.000 0.00 175.400 5.27 -5.45 -0.11 0.000 0.200 0.000 0.00 175.450 5.27 -4.84 -0.39 0.000 0.200 0.000 0.00 175.500 5.48 -2.59 -0.79 0.000 0.200 0.000 0.00 175.550 5.23 -7.19 -0.80 0.000 0.200 0.000 0.00 175.600 5.29 -7.76 -0.23 0.000 0.200 0.000 0.00 175.650 5.42 -7.11 -0.10 0.000 0.200 0.000 0.00 175.700 5.14 -5.04 -0.13 0.000 0.200 0.000 0.00 175.750 5.16 -4.42 -0.04 0.000 0.200 0.000 0.00 175.800 5.09 -3.91 -0.19 0.000 0.200 0.000 0.00 175.850 5.06 -8.07 -0.06 0.000 0.200 0.000 0.00 175.900 5.01 -8.03 0.09 0.000 0.200 0.000 0.00 175.950 5.09 -6.24 0.48 0.000 0.200 0.000 0.00 176.000 4.86 -9.75 0.67 0.000 0.200 0.000 0.00 176.050 4.80 -11.58 0.81 0.000 0.200 0.000 0.00 176.100 4.98 -14.84 0.54 0.000 0.200 0.000 0.00 176.150 5.04 -14.99 0.68 0.000 0.200 0.000 0.00 176.200 5.30 -16.54 0.66 0.000 0.200 0.000 0.00 176.250 5.31 -10.52 0.45 0.000 0.200 0.000 0.00 176.300 5.54 -12.26 0.52 0.000 0.200 0.000 0.00 176.350 5.73 -12.77 0.62 0.000 0.200 0.000 0.00 176.400 5.48 -10.24 0.61 0.000 0.200 0.000 0.00 176.450 5.44 -8.22 0.79 0.000 0.200 0.000 0.00 176.500 5.30 -8.46 0.82 0.000 0.200 0.000 0.00 176.550 5.11 -7.30 0.69 0.000 0.200 0.000 0.00 176.600 5.09 -7.99 0.94 0.000 0.200 0.000 0.00 176.650 5.26 -10.43 0.88 0.000 0.200 0.000 0.00 176.700 5.65 -8.59 0.65 0.000 0.200 0.000 0.00 176.750 5.64 -8.42 0.68 0.000 0.200 0.000 0.00 176.800 5.36 -8.91 0.98 0.000 0.200 0.000 0.00 176.850 5.38 -11.37 0.90 0.000 0.200 0.000 0.00 176.900 5.56 -8.62 0.67 0.000 0.200 0.000 0.00 176.950 5.34 -11.79 0.76 0.000 0.200 0.000 0.00 177.000 5.23 -8.78 0.73 0.000 0.200 0.000 0.00 177.050 5.53 -7.92 0.71 0.000 0.200 0.000 0.00 177.100 5.47 -4.43 0.83 0.000 0.200 0.000 0.00 177.150 5.37 -7.39 0.68 0.000 0.200 0.000 0.00 177.200 5.27 -7.71 0.94 0.000 0.200 0.000 0.00 177.250 5.05 -10.85 0.89 0.000 0.200 0.000 0.00 177.300 5.04 -10.57 0.77 0.000 0.200 0.000 0.00 177.350 5.32 -6.06 0.81 0.000 0.200 0.000 0.00 177.400 5.15 -6.98 1.09 0.000 0.200 0.000 0.00 177.450 5.03 -9.26 1.04 0.000 0.200 0.000 0.00 177.500 5.11 -6.41 1.18 0.000 0.200 0.000 0.00 177.550 4.98 -5.68 1.45 0.000 0.200 0.000 0.00 177.600 4.95 -4.26 1.08 0.000 0.200 0.000 0.00 177.650 4.73 -1.89 1.05 0.000 0.200 0.000 0.00 177.700 4.95 1.02 0.83 0.000 0.200 0.000 0.00 177.750 4.63 0.54 0.73 0.000 0.200 0.000 0.00 177.800 4.56 -1.25 0.64 0.000 0.200 0.000 0.00 177.850 4.37 -3.16 0.61 0.000 0.200 0.000 0.00 177.900 4.42 -1.13 0.77 0.000 0.200 0.000 0.00 177.950 4.64 -2.33 0.86 0.000 0.200 0.000 0.00 178.000 4.84 1.83 0.94 0.000 0.200 0.000 0.00 178.050 4.73 -4.41 0.75 0.000 0.200 0.000 0.00 178.100 4.92 -6.21 0.65 0.000 0.200 0.000 0.00 178.150 5.04 0.21 0.74 0.000 0.200 0.000 0.00 178.200 5.30 -2.77 0.99 0.000 0.200 0.000 0.00 178.250 5.31 -1.49 1.25 0.000 0.200 0.000 0.00 178.300 5.09 -1.49 1.29 0.000 0.200 0.000 0.00 178.350 5.11 -1.40 1.17 0.000 0.200 0.000 0.00 178.400 5.03 -1.68 1.15 0.000 0.200 0.000 0.00 178.450 4.86 -2.27 1.13 0.000 0.200 0.000 0.00 178.500 4.58 1.99 0.90 0.000 0.200 0.000 0.00 178.550 4.84 1.58 1.13 0.000 0.200 0.000 0.00 178.600 4.66 2.10 0.76 0.000 0.200 0.000 0.00 178.650 4.65 1.04 0.65 0.000 0.200 0.000 0.00 178.700 4.96 4.11 0.79 0.000 0.200 0.000 0.00 178.750 4.84 7.55 0.73 0.000 0.200 0.000 0.00 178.800 4.95 8.64 0.72 0.000 0.200 0.000 0.00 178.850 4.93 10.09 0.76 0.000 0.200 0.000 0.00 178.900 5.45 9.52 0.59 0.000 0.200 0.000 0.00 178.950 5.44 9.69 0.79 0.000 0.200 0.000 0.00 179.000 5.35 10.58 0.65 0.000 0.200 0.000 0.00 179.050 5.79 8.98 0.39 0.000 0.200 0.000 0.00 179.100 5.81 13.42 0.74 0.000 0.200 0.000 0.00 179.150 5.90 12.97 0.68 0.000 0.200 0.000 0.00 179.200 6.28 13.80 0.58 0.000 0.200 0.000 0.00 179.250 6.20 10.42 0.23 0.000 0.200 0.000 0.00 179.300 6.18 9.64 0.70 0.000 0.200 0.000 0.00 179.350 6.10 13.43 0.70 0.000 0.200 0.000 0.00 179.400 6.05 14.16 0.85 0.000 0.200 0.000 0.00 179.450 6.09 15.18 0.65 0.000 0.200 0.000 0.00 179.500 6.06 11.13 0.95 0.000 0.200 0.000 0.00 179.550 6.18 6.11 1.07 0.000 0.200 0.000 0.00 179.600 6.53 7.24 0.89 0.000 0.200 0.000 0.00 179.650 6.27 5.92 0.86 0.000 0.200 0.000 0.00 179.700 6.31 3.45 0.50 0.000 0.200 0.000 0.00 179.750 6.21 5.11 0.73 0.000 0.200 0.000 0.00 179.800 6.03 5.46 0.66 0.000 0.200 0.000 0.00 179.850 6.21 5.87 0.69 0.000 0.200 0.000 0.00 179.900 6.28 5.71 0.74 0.000 0.200 0.000 0.00 179.950 6.35 3.54 0.80 0.000 0.200 0.000 0.00 180.000 5.88 1.43 0.14 0.000 0.200 0.000 0.00 180.050 5.83 3.58 -0.15 0.000 0.200 0.000 0.00 180.100 5.54 1.34 0.49 0.000 0.200 0.000 0.00 180.150 5.29 2.86 0.38 0.000 0.200 0.000 0.00 180.200 5.45 4.08 0.44 0.000 0.200 0.000 0.00 180.250 5.08 6.14 0.40 0.000 0.200 0.000 0.00 180.300 5.09 7.07 0.18 0.000 0.200 0.000 0.00 180.350 5.48 8.62 0.31 0.000 0.200 0.000 0.00 180.400 5.68 6.46 0.44 0.000 0.200 0.000 0.00 180.450 5.61 5.06 0.56 0.000 0.200 0.000 0.00 180.500 6.09 8.64 0.27 0.000 0.200 0.000 0.00 180.550 6.36 8.61 -0.21 0.000 0.200 0.000 0.00 180.600 6.36 6.71 -0.55 0.000 0.200 0.000 0.00 180.650 6.10 9.27 -0.33 0.000 0.200 0.000 0.00 180.700 6.12 11.12 -0.09 0.000 0.200 0.000 0.00 180.750 6.05 10.22 -0.42 0.000 0.200 0.000 0.00 180.800 6.32 7.06 -0.10 0.000 0.200 0.000 0.00 180.850 6.25 5.28 0.11 0.000 0.200 0.000 0.00 180.900 6.26 2.24 0.32 0.000 0.200 0.000 0.00 180.950 6.38 0.65 0.25 0.000 0.200 0.000 0.00 181.000 6.13 2.36 0.08 0.000 0.200 0.000 0.00 181.050 5.70 3.56 0.22 0.000 0.200 0.000 0.00 181.100 5.76 7.71 -0.15 0.000 0.200 0.000 0.00 181.150 5.80 3.94 -0.24 0.000 0.200 0.000 0.00 181.200 5.74 1.98 0.06 0.000 0.200 0.000 0.00 181.250 5.54 3.65 0.01 0.000 0.200 0.000 0.00 181.300 5.68 6.08 -0.39 0.000 0.200 0.000 0.00 181.350 5.92 7.14 -0.36 0.000 0.200 0.000 0.00 181.400 6.03 10.94 -0.31 0.000 0.200 0.000 0.00 181.450 6.33 11.82 -0.69 0.000 0.200 0.000 0.00 181.500 6.32 10.15 -0.40 0.000 0.200 0.000 0.00 181.550 6.48 12.24 -0.73 0.000 0.200 0.000 0.00 181.600 6.71 11.45 -0.64 0.000 0.200 0.000 0.00 181.650 6.50 10.04 -0.69 0.000 0.200 0.000 0.00 181.700 6.34 9.00 -0.76 0.000 0.200 0.000 0.00 181.750 6.30 8.77 -0.49 0.000 0.200 0.000 0.00 181.800 6.37 8.33 -0.59 0.000 0.200 0.000 0.00 181.850 6.28 10.41 -0.85 0.000 0.200 0.000 0.00 181.900 6.06 9.32 -0.66 0.000 0.200 0.000 0.00 181.950 6.46 7.89 -0.98 0.000 0.200 0.000 0.00 182.000 6.70 9.26 -0.74 0.000 0.200 0.000 0.00 182.050 6.27 7.83 -0.53 0.000 0.200 0.000 0.00 182.100 6.22 11.62 -0.29 0.000 0.200 0.000 0.00 182.150 6.37 12.06 -0.48 0.000 0.200 0.000 0.00 182.200 6.40 13.41 -0.65 0.000 0.200 0.000 0.00 182.250 6.49 10.47 -0.58 0.000 0.200 0.000 0.00 182.300 6.65 10.60 -0.94 0.000 0.200 0.000 0.00 182.350 6.69 12.39 -1.04 0.000 0.200 0.000 0.00 182.400 6.88 14.40 -1.01 0.000 0.200 0.000 0.00 182.450 6.88 12.57 -0.53 0.000 0.200 0.000 0.00 182.500 7.00 12.00 -0.59 0.000 0.200 0.000 0.00 182.550 7.12 13.24 -0.39 0.000 0.200 0.000 0.00 182.600 7.30 11.38 -0.86 0.000 0.200 0.000 0.00 182.650 7.54 10.61 -0.55 0.000 0.200 0.000 0.00 182.700 7.44 13.26 -0.76 0.000 0.200 0.000 0.00 182.750 7.20 10.68 -0.43 0.000 0.200 0.000 0.00 182.800 7.20 10.03 -0.07 0.000 0.200 0.000 0.00 182.850 6.99 9.92 -0.43 0.000 0.200 0.000 0.00 182.900 7.01 10.51 -0.59 0.000 0.200 0.000 0.00 182.950 7.00 8.81 -0.53 0.000 0.200 0.000 0.00 183.000 6.99 9.48 -0.76 0.000 0.200 0.000 0.00 183.050 6.84 8.87 -0.72 0.000 0.200 0.000 0.00 183.100 6.88 8.42 -0.66 0.000 0.200 0.000 0.00 183.150 6.61 6.55 -0.30 0.000 0.200 0.000 0.00 183.200 6.48 7.10 -0.13 0.000 0.200 0.000 0.00 183.250 6.44 8.58 -0.07 0.000 0.200 0.000 0.00 183.300 6.01 9.23 0.13 0.000 0.200 0.000 0.00 183.350 6.14 10.34 0.14 0.000 0.200 0.000 0.00 183.400 6.38 11.36 -0.13 0.000 0.200 0.000 0.00 183.450 6.11 14.19 -0.11 0.000 0.200 0.000 0.00 183.500 5.75 13.78 0.42 0.000 0.200 0.000 0.00 183.550 5.83 10.05 0.56 0.000 0.200 0.000 0.00 183.600 5.57 9.07 0.24 0.000 0.200 0.000 0.00 183.650 5.68 10.94 0.21 0.000 0.200 0.000 0.00 183.700 5.67 11.97 -0.02 0.000 0.200 0.000 0.00 183.750 5.46 16.57 0.03 0.000 0.200 0.000 0.00 183.800 5.57 14.90 -0.06 0.000 0.200 0.000 0.00 183.850 5.94 15.90 -0.13 0.000 0.200 0.000 0.00 183.900 6.24 15.20 -0.30 0.000 0.200 0.000 0.00 183.950 6.53 9.86 -0.37 0.000 0.200 0.000 0.00 184.000 6.31 14.91 0.09 0.000 0.200 0.000 0.00 184.050 5.95 11.61 0.02 0.000 0.200 0.000 0.00 184.100 5.66 12.13 0.11 0.000 0.200 0.000 0.00 184.150 5.82 13.45 0.14 0.000 0.200 0.000 0.00 184.200 5.90 13.92 -0.06 0.000 0.200 0.000 0.00 184.250 5.50 13.20 -0.45 0.000 0.200 0.000 0.00 184.300 5.37 11.04 -0.74 0.000 0.200 0.000 0.00 184.350 5.50 16.11 -0.58 0.000 0.200 0.000 0.00 184.400 5.62 16.84 -0.60 0.000 0.200 0.000 0.00 184.450 5.96 17.29 -0.97 0.000 0.200 0.000 0.00 184.500 5.99 17.06 -1.26 0.000 0.200 0.000 0.00 184.550 6.09 16.38 -0.86 0.000 0.200 0.000 0.00 184.600 6.25 19.56 -0.57 0.000 0.200 0.000 0.00 184.650 6.55 19.63 -0.81 0.000 0.200 0.000 0.00 184.700 6.44 13.89 -0.73 0.000 0.200 0.000 0.00 184.750 6.52 18.89 -0.72 0.000 0.200 0.000 0.00 184.800 6.48 20.83 -0.29 0.000 0.200 0.000 0.00 184.850 6.19 17.61 -0.10 0.000 0.200 0.000 0.00 184.900 6.38 14.92 0.24 0.000 0.200 0.000 0.00 184.950 6.23 17.07 0.25 0.000 0.200 0.000 0.00 185.000 6.57 19.74 0.10 0.000 0.200 0.000 0.00 185.050 6.40 20.98 0.13 0.000 0.200 0.000 0.00 185.100 6.07 19.66 0.04 0.000 0.200 0.000 0.00 185.150 6.20 22.51 -0.02 0.000 0.200 0.000 0.00 185.200 6.31 24.95 -0.17 0.000 0.200 0.000 0.00 185.250 6.03 21.86 -0.20 0.000 0.200 0.000 0.00 185.300 6.11 22.53 -0.70 0.000 0.200 0.000 0.00 185.350 6.25 24.76 -0.42 0.000 0.200 0.000 0.00 185.400 6.63 24.21 -0.31 0.000 0.200 0.000 0.00 185.450 6.75 23.18 -0.27 0.000 0.200 0.000 0.00 185.500 6.90 22.69 -0.11 0.000 0.200 0.000 0.00 185.550 6.77 22.48 0.05 0.000 0.200 0.000 0.00 185.600 6.66 23.54 -0.24 0.000 0.200 0.000 0.00 185.650 6.52 23.20 -0.29 0.000 0.200 0.000 0.00 185.700 6.14 25.40 -0.33 0.000 0.200 0.000 0.00 185.750 6.08 23.18 -0.20 0.000 0.200 0.000 0.00 185.800 6.01 23.14 -0.34 0.000 0.200 0.000 0.00 185.850 5.80 23.34 -0.42 0.000 0.200 0.000 0.00 185.900 5.80 23.39 -0.40 0.000 0.200 0.000 0.00 185.950 5.91 23.85 -0.37 0.000 0.200 0.000 0.00 186.000 6.04 26.73 -0.17 0.000 0.200 0.000 0.00 186.050 6.20 25.11 -0.05 0.000 0.200 0.000 0.00 186.100 6.44 21.07 -0.22 0.000 0.200 0.000 0.00 186.150 6.49 19.67 0.00 0.000 0.200 0.000 0.00 186.200 6.26 22.28 -0.12 0.000 0.200 0.000 0.00 186.250 6.30 20.14 -0.09 0.000 0.200 0.000 0.00 186.300 6.30 20.22 0.15 0.000 0.200 0.000 0.00 186.350 6.26 17.94 0.24 0.000 0.200 0.000 0.00 186.400 6.31 14.87 0.01 0.000 0.200 0.000 0.00 186.450 6.51 13.09 -0.37 0.000 0.200 0.000 0.00 186.500 6.60 13.88 -0.29 0.000 0.200 0.000 0.00 186.550 6.59 15.41 -0.41 0.000 0.200 0.000 0.00 186.600 6.59 16.09 -0.65 0.000 0.200 0.000 0.00 186.650 6.59 15.43 -0.72 0.000 0.200 0.000 0.00 186.700 6.68 10.55 -0.94 0.000 0.200 0.000 0.00 186.750 6.62 12.01 -1.26 0.000 0.200 0.000 0.00 186.800 6.57 11.86 -1.03 0.000 0.200 0.000 0.00 186.850 6.60 8.71 -0.74 0.000 0.200 0.000 0.00 186.900 6.54 7.89 -0.72 0.000 0.200 0.000 0.00 186.950 6.70 11.74 -0.56 0.000 0.200 0.000 0.00 187.000 6.57 13.57 -0.44 0.000 0.200 0.000 0.00 187.050 6.64 13.38 -0.43 0.000 0.200 0.000 0.00 187.100 6.90 12.32 -0.27 0.000 0.200 0.000 0.00 187.150 6.63 14.91 -0.02 0.000 0.200 0.000 0.00 187.200 6.64 16.64 0.23 0.000 0.200 0.000 0.00 187.250 6.68 16.16 -0.19 0.000 0.200 0.000 0.00 187.300 7.00 16.01 -0.08 0.000 0.200 0.000 0.00 187.350 6.76 13.08 -0.21 0.000 0.200 0.000 0.00 187.400 6.67 14.07 -0.28 0.000 0.200 0.000 0.00 187.450 6.41 16.79 -0.47 0.000 0.200 0.000 0.00 187.500 6.47 17.92 -0.71 0.000 0.200 0.000 0.00 187.550 6.54 19.32 -0.50 0.000 0.200 0.000 0.00 187.600 6.34 20.61 -0.66 0.000 0.200 0.000 0.00 187.650 6.37 18.37 -0.39 0.000 0.200 0.000 0.00 187.700 6.20 19.25 -0.60 0.000 0.200 0.000 0.00 187.750 6.19 18.13 -0.71 0.000 0.200 0.000 0.00 187.800 5.98 19.56 -0.76 0.000 0.200 0.000 0.00 187.850 5.33 18.73 -0.55 0.000 0.200 0.000 0.00 187.900 5.54 16.91 -0.81 0.000 0.200 0.000 0.00 187.950 5.68 22.26 -1.00 0.000 0.200 0.000 0.00 188.000 5.48 18.62 -1.04 0.000 0.200 0.000 0.00 188.050 5.63 22.29 -0.99 0.000 0.200 0.000 0.00 188.100 5.85 24.81 -0.79 0.000 0.200 0.000 0.00 188.150 5.93 27.86 -0.83 0.000 0.200 0.000 0.00 188.200 5.64 25.04 -0.92 0.000 0.200 0.000 0.00 188.250 5.84 25.30 -1.23 0.000 0.200 0.000 0.00 188.300 5.69 23.29 -0.89 0.000 0.200 0.000 0.00 188.350 5.75 21.48 -0.70 0.000 0.200 0.000 0.00 188.400 5.94 19.50 -0.69 0.000 0.200 0.000 0.00 188.450 5.73 17.40 -0.96 0.000 0.200 0.000 0.00 188.500 6.01 20.70 -0.84 0.000 0.200 0.000 0.00 188.550 6.12 19.24 -0.58 0.000 0.200 0.000 0.00 188.600 6.04 16.51 -0.74 0.000 0.200 0.000 0.00 188.650 6.08 15.16 -0.73 0.000 0.200 0.000 0.00 188.700 5.74 16.33 -0.99 0.000 0.200 0.000 0.00 188.750 5.70 15.37 -0.95 0.000 0.200 0.000 0.00 188.800 5.89 13.78 -0.95 0.000 0.200 0.000 0.00 188.850 5.80 12.58 -0.89 0.000 0.200 0.000 0.00 188.900 5.47 13.98 -1.00 0.000 0.200 0.000 0.00 188.950 5.55 17.08 -0.90 0.000 0.200 0.000 0.00 189.000 5.59 17.15 -1.18 0.000 0.200 0.000 0.00 189.050 5.74 18.64 -0.91 0.000 0.200 0.000 0.00 189.100 5.79 18.55 -1.16 0.000 0.200 0.000 0.00 189.150 5.57 16.66 -1.55 0.000 0.200 0.000 0.00 189.200 5.71 17.53 -1.48 0.000 0.200 0.000 0.00 189.250 5.93 18.42 -1.56 0.000 0.200 0.000 0.00 189.300 5.85 23.27 -1.28 0.000 0.200 0.000 0.00 189.350 5.92 26.99 -1.35 0.000 0.200 0.000 0.00 189.400 6.10 30.98 -0.92 0.000 0.200 0.000 0.00 189.450 6.03 30.44 -1.00 0.000 0.200 0.000 0.00 189.500 5.68 28.76 -0.98 0.000 0.200 0.000 0.00 189.550 5.74 26.87 -0.81 0.000 0.200 0.000 0.00 189.600 5.91 24.07 -0.81 0.000 0.200 0.000 0.00 189.650 5.69 22.03 -1.32 0.000 0.200 0.000 0.00 189.700 5.76 18.60 -1.25 0.000 0.200 0.000 0.00 189.750 6.00 15.43 -0.95 0.000 0.200 0.000 0.00 189.800 6.16 17.96 -0.51 0.000 0.200 0.000 0.00 189.850 5.98 17.22 -0.67 0.000 0.200 0.000 0.00 189.900 6.03 19.92 -0.92 0.000 0.200 0.000 0.00 189.950 5.89 16.55 -0.88 0.000 0.200 0.000 0.00 190.000 6.24 19.68 -0.62 0.000 0.200 0.000 0.00 190.050 6.41 20.58 -0.51 0.000 0.200 0.000 0.00 190.100 6.29 21.27 -1.07 0.000 0.200 0.000 0.00 190.150 6.26 20.92 -1.10 0.000 0.200 0.000 0.00 190.200 6.25 19.81 -1.40 0.000 0.200 0.000 0.00 190.250 6.17 24.96 -1.51 0.000 0.200 0.000 0.00 190.300 6.28 25.35 -1.60 0.000 0.200 0.000 0.00 190.350 6.13 20.34 -1.61 0.000 0.200 0.000 0.00 190.400 5.97 24.31 -1.71 0.000 0.200 0.000 0.00 190.450 5.77 24.44 -1.40 0.000 0.200 0.000 0.00 190.500 5.85 21.07 -2.18 0.000 0.200 0.000 0.00 190.550 6.11 18.95 -2.19 0.000 0.200 0.000 0.00 190.600 6.32 19.25 -2.10 0.000 0.200 0.000 0.00 190.650 6.14 21.13 -1.93 0.000 0.200 0.000 0.00 190.700 5.80 16.63 -1.95 0.000 0.200 0.000 0.00 190.750 5.89 14.15 -1.91 0.000 0.200 0.000 0.00 190.800 5.69 15.70 -2.09 0.000 0.200 0.000 0.00 190.850 5.84 18.51 -1.83 0.000 0.200 0.000 0.00 190.900 6.22 18.06 -1.89 0.000 0.200 0.000 0.00 190.950 6.72 17.45 -1.92 0.000 0.200 0.000 0.00 191.000 6.48 18.91 -1.96 0.000 0.200 0.000 0.00 191.050 6.54 19.16 -1.93 0.000 0.200 0.000 0.00 191.100 6.67 22.21 -1.64 0.000 0.200 0.000 0.00 191.150 6.68 23.42 -0.95 0.000 0.200 0.000 0.00 191.200 6.78 21.37 -0.91 0.000 0.200 0.000 0.00 191.250 6.54 19.39 -1.07 0.000 0.200 0.000 0.00 191.300 6.60 21.43 -0.96 0.000 0.200 0.000 0.00 191.350 6.85 19.27 -1.10 0.000 0.200 0.000 0.00 191.400 6.87 16.52 -1.21 0.000 0.200 0.000 0.00 191.450 6.41 13.27 -1.04 0.000 0.200 0.000 0.00 191.500 6.47 12.77 -0.90 0.000 0.200 0.000 0.00 191.550 6.50 14.85 -0.87 0.000 0.200 0.000 0.00 191.600 6.36 14.72 -0.92 0.000 0.200 0.000 0.00 191.650 6.55 11.74 -0.98 0.000 0.200 0.000 0.00 191.700 6.59 12.52 -0.67 0.000 0.200 0.000 0.00 191.750 6.67 12.62 -0.68 0.000 0.200 0.000 0.00 191.800 6.64 13.61 -0.90 0.000 0.200 0.000 0.00 191.850 6.68 12.59 -0.81 0.000 0.200 0.000 0.00 191.900 6.76 12.42 -0.99 0.000 0.200 0.000 0.00 191.950 6.99 16.65 -0.66 0.000 0.200 0.000 0.00 192.000 6.78 16.09 -0.66 0.000 0.200 0.000 0.00 192.050 7.14 16.60 -0.96 0.000 0.200 0.000 0.00 192.100 6.89 17.52 -1.27 0.000 0.200 0.000 0.00 192.150 6.72 16.38 -1.21 0.000 0.200 0.000 0.00 192.200 6.82 17.85 -1.06 0.000 0.200 0.000 0.00 192.250 6.67 20.83 -0.74 0.000 0.200 0.000 0.00 192.300 6.83 21.21 -0.75 0.000 0.200 0.000 0.00 192.350 6.50 23.91 -0.51 0.000 0.200 0.000 0.00 192.400 6.60 22.34 -0.33 0.000 0.200 0.000 0.00 192.450 6.70 20.43 -0.30 0.000 0.200 0.000 0.00 192.500 6.71 20.08 -0.68 0.000 0.200 0.000 0.00 192.550 6.67 18.79 -0.52 0.000 0.200 0.000 0.00 192.600 6.66 19.95 -0.40 0.000 0.200 0.000 0.00 192.650 6.69 18.94 -0.42 0.000 0.200 0.000 0.00 192.700 6.51 18.49 -0.19 0.000 0.200 0.000 0.00 192.750 6.72 16.16 -0.23 0.000 0.200 0.000 0.00 192.800 6.92 15.50 -0.21 0.000 0.200 0.000 0.00 192.850 7.18 15.54 -0.53 0.000 0.200 0.000 0.00 192.900 7.07 17.31 -0.09 0.000 0.200 0.000 0.00 192.950 6.98 17.63 0.16 0.000 0.200 0.000 0.00 193.000 7.07 19.02 0.71 0.000 0.200 0.000 0.00 193.050 7.16 19.91 0.46 0.000 0.200 0.000 0.00 193.100 7.01 20.59 0.03 0.000 0.200 0.000 0.00 193.150 7.31 19.02 0.08 0.000 0.200 0.000 0.00 193.200 7.43 18.37 0.41 0.000 0.200 0.000 0.00 193.250 7.19 16.51 0.41 0.000 0.200 0.000 0.00 193.300 7.35 17.79 0.55 0.000 0.200 0.000 0.00 193.350 7.36 15.77 0.79 0.000 0.200 0.000 0.00 193.400 7.35 14.59 0.93 0.000 0.200 0.000 0.00 193.450 7.63 14.30 1.25 0.000 0.200 0.000 0.00 193.500 7.53 18.60 1.13 0.000 0.200 0.000 0.00 193.550 7.05 16.22 1.29 0.000 0.200 0.000 0.00 193.600 7.54 13.10 1.18 0.000 0.200 0.000 0.00 193.650 7.81 10.91 0.78 0.000 0.200 0.000 0.00 193.700 7.81 8.74 0.46 0.000 0.200 0.000 0.00 193.750 7.79 7.84 0.57 0.000 0.200 0.000 0.00 193.800 7.97 11.95 0.53 0.000 0.200 0.000 0.00 193.850 7.89 12.95 0.80 0.000 0.200 0.000 0.00 193.900 7.82 9.93 0.87 0.000 0.200 0.000 0.00 193.950 7.74 11.77 0.54 0.000 0.200 0.000 0.00 194.000 7.55 10.16 0.55 0.000 0.200 0.000 0.00 194.050 7.73 10.26 0.89 0.000 0.200 0.000 0.00 194.100 7.62 8.56 0.80 0.000 0.200 0.000 0.00 194.150 7.48 10.78 0.79 0.000 0.200 0.000 0.00 194.200 7.67 14.19 1.09 0.000 0.200 0.000 0.00 194.250 7.74 13.23 1.12 0.000 0.200 0.000 0.00 194.300 7.48 10.87 1.55 0.000 0.200 0.000 0.00 194.350 7.67 12.29 1.75 0.000 0.200 0.000 0.00 194.400 7.50 8.29 1.60 0.000 0.200 0.000 0.00 194.450 7.62 8.08 1.51 0.000 0.200 0.000 0.00 194.500 7.86 9.35 1.01 0.000 0.200 0.000 0.00 194.550 8.24 8.82 0.63 0.000 0.200 0.000 0.00 194.600 8.05 9.33 0.32 0.000 0.200 0.000 0.00 194.650 7.97 11.67 0.65 0.000 0.200 0.000 0.00 194.700 7.71 11.83 0.68 0.000 0.200 0.000 0.00 194.750 7.68 10.04 0.45 0.000 0.200 0.000 0.00 194.800 7.43 9.51 0.39 0.000 0.200 0.000 0.00 194.850 7.47 9.27 0.44 0.000 0.200 0.000 0.00 194.900 7.33 8.97 0.47 0.000 0.200 0.000 0.00 194.950 7.00 13.90 0.44 0.000 0.200 0.000 0.00 195.000 7.01 15.31 0.23 0.000 0.200 0.000 0.00 195.050 7.11 13.65 0.56 0.000 0.200 0.000 0.00 195.100 6.94 12.96 0.32 0.000 0.200 0.000 0.00 195.150 6.64 14.33 0.03 0.000 0.200 0.000 0.00 195.200 6.82 13.00 0.02 0.000 0.200 0.000 0.00 195.250 6.75 12.78 -0.06 0.000 0.200 0.000 0.00 195.300 6.23 12.61 -0.29 0.000 0.200 0.000 0.00 195.350 6.17 14.60 -0.24 0.000 0.200 0.000 0.00 195.400 6.29 13.12 -0.31 0.000 0.200 0.000 0.00 195.450 6.49 11.40 -0.50 0.000 0.200 0.000 0.00 195.500 6.48 11.53 0.06 0.000 0.200 0.000 0.00 195.550 6.69 13.18 0.10 0.000 0.200 0.000 0.00 195.600 6.39 13.55 0.32 0.000 0.200 0.000 0.00 195.650 6.32 13.10 0.59 0.000 0.200 0.000 0.00 195.700 6.03 14.21 0.67 0.000 0.200 0.000 0.00 195.750 6.18 14.44 0.63 0.000 0.200 0.000 0.00 195.800 6.35 11.69 0.73 0.000 0.200 0.000 0.00 195.850 5.87 10.22 0.92 0.000 0.200 0.000 0.00 195.900 6.21 8.90 0.70 0.000 0.200 0.000 0.00 195.950 6.33 10.41 0.35 0.000 0.200 0.000 0.00 196.000 6.40 10.43 -0.07 0.000 0.200 0.000 0.00 196.050 6.51 9.16 0.16 0.000 0.200 0.000 0.00 196.100 6.27 12.24 -0.18 0.000 0.200 0.000 0.00 196.150 6.26 10.29 0.05 0.000 0.200 0.000 0.00 196.200 6.24 10.78 0.45 0.000 0.200 0.000 0.00 196.250 6.04 11.52 0.20 0.000 0.200 0.000 0.00 196.300 5.90 7.70 0.34 0.000 0.200 0.000 0.00 196.350 6.29 5.80 0.56 0.000 0.200 0.000 0.00 196.400 6.57 7.48 0.49 0.000 0.200 0.000 0.00 196.450 6.66 9.25 0.43 0.000 0.200 0.000 0.00 196.500 6.70 6.59 0.10 0.000 0.200 0.000 0.00 196.550 6.55 7.43 -0.12 0.000 0.200 0.000 0.00 196.600 6.62 7.19 -0.09 0.000 0.200 0.000 0.00 196.650 6.49 5.31 0.10 0.000 0.200 0.000 0.00 196.700 6.56 7.53 0.10 0.000 0.200 0.000 0.00 196.750 6.24 8.21 0.14 0.000 0.200 0.000 0.00 196.800 6.40 4.13 0.20 0.000 0.200 0.000 0.00 196.850 6.40 4.09 0.47 0.000 0.200 0.000 0.00 196.900 6.69 9.97 0.32 0.000 0.200 0.000 0.00 196.950 6.68 8.88 0.23 0.000 0.200 0.000 0.00 197.000 6.37 9.13 -0.05 0.000 0.200 0.000 0.00 197.050 6.37 12.20 -0.19 0.000 0.200 0.000 0.00 197.100 6.15 8.28 -0.09 0.000 0.200 0.000 0.00 197.150 5.84 7.05 0.00 0.000 0.200 0.000 0.00 197.200 6.08 7.41 0.18 0.000 0.200 0.000 0.00 197.250 6.08 6.98 0.04 0.000 0.200 0.000 0.00 197.300 5.85 10.56 0.16 0.000 0.200 0.000 0.00 197.350 5.59 10.53 0.42 0.000 0.200 0.000 0.00 197.400 5.36 7.53 0.14 0.000 0.200 0.000 0.00 197.450 5.85 11.13 0.09 0.000 0.200 0.000 0.00 197.500 5.83 10.93 0.03 0.000 0.200 0.000 0.00 197.550 5.71 9.61 -0.08 0.000 0.200 0.000 0.00 197.600 5.99 10.38 0.33 0.000 0.200 0.000 0.00 197.650 6.52 12.02 0.47 0.000 0.200 0.000 0.00 197.700 6.23 11.37 0.52 0.000 0.200 0.000 0.00 197.750 6.37 11.90 0.50 0.000 0.200 0.000 0.00 197.800 6.28 10.82 0.35 0.000 0.200 0.000 0.00 197.850 6.15 8.40 0.51 0.000 0.200 0.000 0.00 197.900 5.88 8.47 0.89 0.000 0.200 0.000 0.00 197.950 5.92 5.72 0.65 0.000 0.200 0.000 0.00 198.000 5.90 10.22 0.77 0.000 0.200 0.000 0.00 198.050 5.72 12.29 0.99 0.000 0.200 0.000 0.00 198.100 5.62 13.09 0.82 0.000 0.200 0.000 0.00 198.150 5.29 13.04 0.57 0.000 0.200 0.000 0.00 198.200 5.17 11.34 0.32 0.000 0.200 0.000 0.00 198.250 5.39 8.38 0.31 0.000 0.200 0.000 0.00 198.300 5.35 8.04 0.20 0.000 0.200 0.000 0.00 198.350 5.26 6.78 0.45 0.000 0.200 0.000 0.00 198.400 5.21 3.34 0.43 0.000 0.200 0.000 0.00 198.450 5.42 2.40 0.26 0.000 0.200 0.000 0.00 198.500 5.71 5.58 0.41 0.000 0.200 0.000 0.00 198.550 5.46 8.91 0.55 0.000 0.200 0.000 0.00 198.600 5.35 11.76 0.64 0.000 0.200 0.000 0.00 198.650 5.80 14.48 0.70 0.000 0.200 0.000 0.00 198.700 5.58 14.44 0.51 0.000 0.200 0.000 0.00 198.750 5.29 11.60 0.32 0.000 0.200 0.000 0.00 198.800 5.67 16.77 0.29 0.000 0.200 0.000 0.00 198.850 5.77 13.65 0.42 0.000 0.200 0.000 0.00 198.900 6.03 14.71 0.34 0.000 0.200 0.000 0.00 198.950 6.16 15.31 0.34 0.000 0.200 0.000 0.00 199.000 5.97 15.88 0.46 0.000 0.200 0.000 0.00 199.050 6.20 15.69 0.24 0.000 0.200 0.000 0.00 199.100 5.89 13.38 0.65 0.000 0.200 0.000 0.00 199.150 5.91 18.66 0.60 0.000 0.200 0.000 0.00 199.200 5.74 20.79 0.70 0.000 0.200 0.000 0.00 199.250 5.69 19.28 1.03 0.000 0.200 0.000 0.00 199.300 5.80 19.08 0.74 0.000 0.200 0.000 0.00 199.350 5.76 22.94 0.60 0.000 0.200 0.000 0.00 199.400 5.91 20.19 0.34 0.000 0.200 0.000 0.00 199.450 6.22 17.72 0.08 0.000 0.200 0.000 0.00 199.500 5.91 17.55 -0.13 0.000 0.200 0.000 0.00 199.550 5.85 18.02 -0.07 0.000 0.200 0.000 0.00 199.600 6.31 20.04 -0.01 0.000 0.200 0.000 0.00 199.650 6.20 23.25 0.03 0.000 0.200 0.000 0.00 199.700 6.76 25.77 0.23 0.000 0.200 0.000 0.00 199.750 6.56 23.99 0.20 0.000 0.200 0.000 0.00 199.800 6.60 20.01 0.12 0.000 0.200 0.000 0.00 199.850 6.77 21.93 0.42 0.000 0.200 0.000 0.00 199.900 6.41 19.40 0.32 0.000 0.200 0.000 0.00 199.950 6.24 21.59 0.08 0.000 0.200 0.000 0.00 200.000 6.55 21.66 0.67 0.000 0.200 0.000 0.00 200.050 6.42 19.47 0.70 0.000 0.200 0.000 0.00 200.100 6.65 17.96 0.56 0.000 0.200 0.000 0.00 200.150 6.37 19.59 0.66 0.000 0.200 0.000 0.00 200.200 6.32 17.94 0.39 0.000 0.200 0.000 0.00 200.250 6.48 18.25 0.28 0.000 0.200 0.000 0.00 200.300 6.61 20.41 0.28 0.000 0.200 0.000 0.00 200.350 6.40 21.02 0.42 0.000 0.200 0.000 0.00 200.400 6.34 18.22 0.07 0.000 0.200 0.000 0.00 200.450 6.26 18.34 -0.23 0.000 0.200 0.000 0.00 200.500 5.95 15.99 -0.05 0.000 0.200 0.000 0.00 200.550 6.12 18.17 0.08 0.000 0.200 0.000 0.00 200.600 6.32 19.43 0.06 0.000 0.200 0.000 0.00 200.650 6.43 12.87 0.01 0.000 0.200 0.000 0.00 200.700 6.00 11.72 -0.04 0.000 0.200 0.000 0.00 200.750 5.71 13.38 -0.05 0.000 0.200 0.000 0.00 200.800 5.77 15.39 0.05 0.000 0.200 0.000 0.00 200.850 5.62 15.63 0.28 0.000 0.200 0.000 0.00 200.900 5.50 15.94 0.19 0.000 0.200 0.000 0.00 200.950 5.74 18.55 0.40 0.000 0.200 0.000 0.00 201.000 5.78 19.05 0.17 0.000 0.200 0.000 0.00 201.050 5.75 16.62 -0.16 0.000 0.200 0.000 0.00 201.100 6.18 15.96 -0.12 0.000 0.200 0.000 0.00 201.150 6.14 9.61 0.18 0.000 0.200 0.000 0.00 201.200 6.07 9.90 -0.33 0.000 0.200 0.000 0.00 201.250 5.98 13.69 -0.47 0.000 0.200 0.000 0.00 201.300 6.12 15.49 -0.26 0.000 0.200 0.000 0.00 201.350 6.17 15.42 -0.56 0.000 0.200 0.000 0.00 201.400 6.35 14.76 -0.36 0.000 0.200 0.000 0.00 201.450 6.19 15.86 -0.38 0.000 0.200 0.000 0.00 201.500 5.76 21.86 -0.22 0.000 0.200 0.000 0.00 201.550 5.66 18.04 0.01 0.000 0.200 0.000 0.00 201.600 5.64 14.85 -0.01 0.000 0.200 0.000 0.00 201.650 5.55 23.76 -0.28 0.000 0.200 0.000 0.00 201.700 5.88 26.56 0.25 0.000 0.200 0.000 0.00 201.750 5.89 20.56 0.28 0.000 0.200 0.000 0.00 201.800 5.60 13.47 0.22 0.000 0.200 0.000 0.00 201.850 5.79 15.07 0.28 0.000 0.200 0.000 0.00 201.900 5.86 13.69 0.24 0.000 0.200 0.000 0.00 201.950 5.90 10.06 -0.26 0.000 0.200 0.000 0.00 202.000 6.14 10.52 -0.24 0.000 0.200 0.000 0.00 202.050 6.03 6.83 -0.18 0.000 0.200 0.000 0.00 202.100 5.79 3.63 -0.46 0.000 0.200 0.000 0.00 202.150 5.76 3.49 -0.91 0.000 0.200 0.000 0.00 202.200 5.95 5.55 -0.97 0.000 0.200 0.000 0.00 202.250 6.42 5.86 -1.16 0.000 0.200 0.000 0.00 202.300 6.43 4.92 -1.18 0.000 0.200 0.000 0.00 202.350 6.38 7.15 -1.00 0.000 0.200 0.000 0.00 202.400 6.66 5.30 -0.99 0.000 0.200 0.000 0.00 202.450 7.03 5.09 -1.07 0.000 0.200 0.000 0.00 202.500 6.75 6.11 -1.16 0.000 0.200 0.000 0.00 202.550 6.49 7.55 -1.25 0.000 0.200 0.000 0.00 202.600 6.72 7.69 -1.09 0.000 0.200 0.000 0.00 202.650 6.77 3.65 -1.36 0.000 0.200 0.000 0.00 202.700 7.03 2.75 -1.09 0.000 0.200 0.000 0.00 202.750 6.96 6.01 -1.14 0.000 0.200 0.000 0.00 202.800 7.14 1.22 -0.93 0.000 0.200 0.000 0.00 202.850 7.18 -0.45 -1.00 0.000 0.200 0.000 0.00 202.900 7.21 2.97 -1.25 0.000 0.200 0.000 0.00 202.950 7.33 6.68 -0.73 0.000 0.200 0.000 0.00 203.000 7.26 8.00 -0.46 0.000 0.200 0.000 0.00 203.050 7.15 9.15 -0.58 0.000 0.200 0.000 0.00 203.100 6.78 7.25 -1.10 0.000 0.200 0.000 0.00 203.150 6.68 5.21 -1.12 0.000 0.200 0.000 0.00 203.200 6.43 5.25 -1.25 0.000 0.200 0.000 0.00 203.250 6.30 2.47 -1.24 0.000 0.200 0.000 0.00 203.300 6.53 3.42 -1.29 0.000 0.200 0.000 0.00 203.350 6.41 5.88 -1.24 0.000 0.200 0.000 0.00 203.400 6.53 4.45 -1.20 0.000 0.200 0.000 0.00 203.450 6.77 3.42 -1.47 0.000 0.200 0.000 0.00 203.500 7.06 2.35 -1.54 0.000 0.200 0.000 0.00 203.550 6.73 2.58 -1.78 0.000 0.200 0.000 0.00 203.600 7.01 0.25 -1.74 0.000 0.200 0.000 0.00 203.650 6.79 -1.71 -1.25 0.000 0.200 0.000 0.00 203.700 6.56 1.37 -1.17 0.000 0.200 0.000 0.00 203.750 6.56 2.00 -0.91 0.000 0.200 0.000 0.00 203.800 6.39 0.98 -0.80 0.000 0.200 0.000 0.00 203.850 6.35 0.43 -0.87 0.000 0.200 0.000 0.00 203.900 6.30 -1.26 -0.88 0.000 0.200 0.000 0.00 203.950 6.50 -1.24 -0.90 0.000 0.200 0.000 0.00 204.000 6.91 3.56 -0.47 0.000 0.200 0.000 0.00 204.050 6.94 3.66 -0.56 0.000 0.200 0.000 0.00 204.100 6.80 -0.21 -0.35 0.000 0.200 0.000 0.00 204.150 7.18 -0.60 -0.27 0.000 0.200 0.000 0.00 204.200 7.19 -0.87 0.06 0.000 0.200 0.000 0.00 204.250 7.05 0.61 0.29 0.000 0.200 0.000 0.00 204.300 6.91 -1.87 0.40 0.000 0.200 0.000 0.00 204.350 6.72 -0.90 0.45 0.000 0.200 0.000 0.00 204.400 6.85 0.75 0.13 0.000 0.200 0.000 0.00 204.450 7.05 0.25 0.23 0.000 0.200 0.000 0.00 204.500 7.29 -2.67 0.18 0.000 0.200 0.000 0.00 204.550 7.56 -2.97 0.28 0.000 0.200 0.000 0.00 204.600 7.68 0.26 0.52 0.000 0.200 0.000 0.00 204.650 7.48 0.59 0.42 0.000 0.200 0.000 0.00 204.700 7.31 2.39 0.14 0.000 0.200 0.000 0.00 204.750 7.42 3.06 -0.04 0.000 0.200 0.000 0.00 204.800 7.12 3.57 -0.02 0.000 0.200 0.000 0.00 204.850 7.03 7.17 0.51 0.000 0.200 0.000 0.00 204.900 7.14 4.03 0.70 0.000 0.200 0.000 0.00 204.950 7.20 3.20 0.96 0.000 0.200 0.000 0.00 205.000 7.12 3.54 1.07 0.000 0.200 0.000 0.00 205.050 6.87 3.60 0.69 0.000 0.200 0.000 0.00 205.100 7.28 4.13 0.27 0.000 0.200 0.000 0.00 205.150 7.11 3.62 0.16 0.000 0.200 0.000 0.00 205.200 6.96 2.77 0.23 0.000 0.200 0.000 0.00 205.250 7.10 2.23 0.00 0.000 0.200 0.000 0.00 205.300 7.11 2.19 -0.13 0.000 0.200 0.000 0.00 205.350 7.00 0.98 -0.26 0.000 0.200 0.000 0.00 205.400 7.00 3.84 -0.11 0.000 0.200 0.000 0.00 205.450 6.59 1.87 0.25 0.000 0.200 0.000 0.00 205.500 6.63 -0.02 0.15 0.000 0.200 0.000 0.00 205.550 6.72 1.47 0.43 0.000 0.200 0.000 0.00 205.600 6.99 1.83 0.02 0.000 0.200 0.000 0.00 205.650 7.41 0.41 -0.02 0.000 0.200 0.000 0.00 205.700 7.49 -0.19 0.09 0.000 0.200 0.000 0.00 205.750 7.12 -1.15 -0.06 0.000 0.200 0.000 0.00 205.800 6.87 -0.02 -0.07 0.000 0.200 0.000 0.00 205.850 7.03 0.14 -0.27 0.000 0.200 0.000 0.00 205.900 6.95 -0.65 0.04 0.000 0.200 0.000 0.00 205.950 6.80 0.21 0.14 0.000 0.200 0.000 0.00 206.000 6.75 0.50 0.20 0.000 0.200 0.000 0.00 206.050 6.62 1.64 0.31 0.000 0.200 0.000 0.00 206.100 6.62 2.56 0.14 0.000 0.200 0.000 0.00 206.150 7.02 4.24 0.13 0.000 0.200 0.000 0.00 206.200 6.69 4.03 0.38 0.000 0.200 0.000 0.00 206.250 6.67 3.79 0.31 0.000 0.200 0.000 0.00 206.300 7.08 4.40 0.47 0.000 0.200 0.000 0.00 206.350 7.21 3.81 0.44 0.000 0.200 0.000 0.00 206.400 7.25 3.45 0.73 0.000 0.200 0.000 0.00 206.450 6.75 1.93 0.60 0.000 0.200 0.000 0.00 206.500 6.58 2.27 0.72 0.000 0.200 0.000 0.00 206.550 6.79 -0.54 0.95 0.000 0.200 0.000 0.00 206.600 6.86 -1.55 1.13 0.000 0.200 0.000 0.00 206.650 7.12 0.57 0.67 0.000 0.200 0.000 0.00 206.700 7.37 -0.78 0.91 0.000 0.200 0.000 0.00 206.750 7.28 -4.01 0.82 0.000 0.200 0.000 0.00 206.800 7.42 -4.62 0.84 0.000 0.200 0.000 0.00 206.850 7.01 -6.71 0.97 0.000 0.200 0.000 0.00 206.900 7.38 -6.57 1.26 0.000 0.200 0.000 0.00 206.950 7.58 -6.75 1.34 0.000 0.200 0.000 0.00 207.000 7.37 -5.68 1.00 0.000 0.200 0.000 0.00 207.050 7.54 -5.80 0.27 0.000 0.200 0.000 0.00 207.100 7.26 -5.89 0.24 0.000 0.200 0.000 0.00 207.150 7.15 -7.41 0.34 0.000 0.200 0.000 0.00 207.200 7.28 -11.37 0.31 0.000 0.200 0.000 0.00 207.250 7.36 -10.97 0.09 0.000 0.200 0.000 0.00 207.300 7.17 -10.10 0.38 0.000 0.200 0.000 0.00 207.350 7.32 -10.85 0.36 0.000 0.200 0.000 0.00 207.400 7.34 -9.50 0.37 0.000 0.200 0.000 0.00 207.450 7.08 -9.37 0.10 0.000 0.200 0.000 0.00 207.500 7.28 -10.91 0.49 0.000 0.200 0.000 0.00 207.550 7.39 -8.23 0.56 0.000 0.200 0.000 0.00 207.600 7.63 -10.97 0.48 0.000 0.200 0.000 0.00 207.650 7.40 -13.36 0.87 0.000 0.200 0.000 0.00 207.700 7.16 -11.14 0.74 0.000 0.200 0.000 0.00 207.750 7.40 -9.64 0.81 0.000 0.200 0.000 0.00 207.800 7.25 -10.70 1.22 0.000 0.200 0.000 0.00 207.850 7.08 -12.79 0.96 0.000 0.200 0.000 0.00 207.900 6.80 -12.08 0.97 0.000 0.200 0.000 0.00 207.950 6.98 -15.08 0.74 0.000 0.200 0.000 0.00 208.000 6.86 -13.58 1.23 0.000 0.200 0.000 0.00 208.050 7.11 -13.16 1.23 0.000 0.200 0.000 0.00 208.100 7.33 -10.77 1.34 0.000 0.200 0.000 0.00 208.150 7.32 -13.27 1.65 0.000 0.200 0.000 0.00 208.200 7.06 -13.01 1.63 0.000 0.200 0.000 0.00 208.250 7.30 -11.27 1.99 0.000 0.200 0.000 0.00 208.300 7.10 -9.44 1.68 0.000 0.200 0.000 0.00 208.350 7.55 -9.68 1.57 0.000 0.200 0.000 0.00 208.400 7.50 -11.70 1.21 0.000 0.200 0.000 0.00 208.450 7.40 -12.93 1.48 0.000 0.200 0.000 0.00 208.500 7.17 -11.91 1.39 0.000 0.200 0.000 0.00 208.550 7.06 -9.94 0.75 0.000 0.200 0.000 0.00 208.600 7.14 -11.67 0.28 0.000 0.200 0.000 0.00 208.650 7.33 -11.76 0.61 0.000 0.200 0.000 0.00 208.700 7.41 -12.89 0.30 0.000 0.200 0.000 0.00 208.750 7.67 -14.31 0.45 0.000 0.200 0.000 0.00 208.800 7.68 -12.91 0.32 0.000 0.200 0.000 0.00 208.850 7.45 -15.46 0.65 0.000 0.200 0.000 0.00 208.900 7.03 -15.53 0.82 0.000 0.200 0.000 0.00 208.950 7.23 -18.30 0.62 0.000 0.200 0.000 0.00 209.000 7.53 -17.15 0.87 0.000 0.200 0.000 0.00 209.050 7.30 -15.85 1.06 0.000 0.200 0.000 0.00 209.100 7.79 -17.71 1.09 0.000 0.200 0.000 0.00 209.150 7.49 -19.90 0.88 0.000 0.200 0.000 0.00 209.200 7.82 -18.03 1.19 0.000 0.200 0.000 0.00 209.250 7.86 -19.47 1.21 0.000 0.200 0.000 0.00 209.300 7.77 -22.52 1.06 0.000 0.200 0.000 0.00 209.350 7.88 -22.56 0.91 0.000 0.200 0.000 0.00 209.400 8.01 -21.81 0.43 0.000 0.200 0.000 0.00 209.450 8.19 -21.90 0.05 0.000 0.200 0.000 0.00 209.500 7.99 -18.05 -0.38 0.000 0.200 0.000 0.00 209.550 8.20 -18.06 -0.32 0.000 0.200 0.000 0.00 209.600 8.01 -18.58 0.33 0.000 0.200 0.000 0.00 209.650 7.61 -18.67 0.61 0.000 0.200 0.000 0.00 209.700 7.73 -16.49 0.34 0.000 0.200 0.000 0.00 209.750 7.70 -17.53 0.11 0.000 0.200 0.000 0.00 209.800 7.48 -17.37 0.15 0.000 0.200 0.000 0.00 209.850 7.56 -15.48 0.28 0.000 0.200 0.000 0.00 209.900 7.61 -16.37 0.24 0.000 0.200 0.000 0.00 209.950 7.47 -18.57 0.22 0.000 0.200 0.000 0.00 210.000 7.26 -19.77 0.77 0.000 0.200 0.000 0.00 210.050 7.41 -17.92 0.92 0.000 0.200 0.000 0.00 210.100 7.26 -19.80 0.81 0.000 0.200 0.000 0.00 210.150 7.01 -19.05 0.86 0.000 0.200 0.000 0.00 210.200 7.19 -18.79 0.87 0.000 0.200 0.000 0.00 210.250 7.34 -20.73 0.56 0.000 0.200 0.000 0.00 210.300 7.49 -20.76 0.20 0.000 0.200 0.000 0.00 210.350 7.86 -22.08 0.30 0.000 0.200 0.000 0.00 210.400 7.70 -21.02 0.19 0.000 0.200 0.000 0.00 210.450 7.84 -23.39 -0.01 0.000 0.200 0.000 0.00 210.500 7.61 -22.04 0.26 0.000 0.200 0.000 0.00 210.550 7.83 -18.16 0.12 0.000 0.200 0.000 0.00 210.600 7.97 -19.72 0.30 0.000 0.200 0.000 0.00 210.650 7.91 -20.43 0.14 0.000 0.200 0.000 0.00 210.700 7.51 -20.99 0.29 0.000 0.200 0.000 0.00 210.750 7.58 -18.77 0.21 0.000 0.200 0.000 0.00 210.800 7.55 -19.63 -0.02 0.000 0.200 0.000 0.00 210.850 7.57 -19.58 -0.26 0.000 0.200 0.000 0.00 210.900 7.38 -20.93 -0.63 0.000 0.200 0.000 0.00 210.950 7.46 -20.33 -0.87 0.000 0.200 0.000 0.00 211.000 7.46 -20.24 -0.70 0.000 0.200 0.000 0.00 211.050 7.67 -20.21 -0.49 0.000 0.200 0.000 0.00 211.100 7.55 -17.68 -0.32 0.000 0.200 0.000 0.00 211.150 7.47 -16.48 -0.63 0.000 0.200 0.000 0.00 211.200 7.19 -15.56 -0.41 0.000 0.200 0.000 0.00 211.250 7.14 -17.44 -0.55 0.000 0.200 0.000 0.00 211.300 7.05 -19.26 -0.46 0.000 0.200 0.000 0.00 211.350 7.06 -15.42 -0.23 0.000 0.200 0.000 0.00 211.400 6.80 -16.41 -0.45 0.000 0.200 0.000 0.00 211.450 6.56 -13.33 -0.57 0.000 0.200 0.000 0.00 211.500 6.51 -11.65 -0.29 0.000 0.200 0.000 0.00 211.550 6.20 -11.55 -0.88 0.000 0.200 0.000 0.00 211.600 6.08 -13.07 -0.61 0.000 0.200 0.000 0.00 211.650 5.88 -12.93 -0.52 0.000 0.200 0.000 0.00 211.700 6.49 -16.73 -0.61 0.000 0.200 0.000 0.00 211.750 6.73 -15.52 -0.34 0.000 0.200 0.000 0.00 211.800 6.51 -17.05 -0.63 0.000 0.200 0.000 0.00 211.850 6.54 -17.25 -0.73 0.000 0.200 0.000 0.00 211.900 6.71 -15.11 -0.60 0.000 0.200 0.000 0.00 211.950 6.60 -17.17 -0.38 0.000 0.200 0.000 0.00 212.000 6.68 -16.20 -0.68 0.000 0.200 0.000 0.00 212.050 6.51 -15.16 -0.68 0.000 0.200 0.000 0.00 212.100 6.66 -11.76 -0.14 0.000 0.200 0.000 0.00 212.150 6.50 -12.37 -0.25 0.000 0.200 0.000 0.00 212.200 6.34 -12.55 0.14 0.000 0.200 0.000 0.00 212.250 6.20 -13.90 0.67 0.000 0.200 0.000 0.00 212.300 6.34 -14.78 0.56 0.000 0.200 0.000 0.00 212.350 6.34 -13.92 0.45 0.000 0.200 0.000 0.00 212.400 6.13 -13.69 0.39 0.000 0.200 0.000 0.00 212.450 6.07 -13.58 0.44 0.000 0.200 0.000 0.00 212.500 6.16 -15.29 0.57 0.000 0.200 0.000 0.00 212.550 6.20 -16.86 0.95 0.000 0.200 0.000 0.00 212.600 6.40 -20.52 0.45 0.000 0.200 0.000 0.00 212.650 6.54 -17.25 0.68 0.000 0.200 0.000 0.00 212.700 6.62 -17.47 0.87 0.000 0.200 0.000 0.00 212.750 6.63 -17.97 0.68 0.000 0.200 0.000 0.00 212.800 6.57 -18.67 0.62 0.000 0.200 0.000 0.00 212.850 6.59 -18.70 0.63 0.000 0.200 0.000 0.00 212.900 6.68 -19.07 0.79 0.000 0.200 0.000 0.00 212.950 6.80 -19.37 0.59 0.000 0.200 0.000 0.00 213.000 6.71 -14.88 0.77 0.000 0.200 0.000 0.00 213.050 6.58 -14.07 0.61 0.000 0.200 0.000 0.00 213.100 6.47 -18.55 0.37 0.000 0.200 0.000 0.00 213.150 6.58 -19.29 0.67 0.000 0.200 0.000 0.00 213.200 6.44 -22.65 0.91 0.000 0.200 0.000 0.00 213.250 6.22 -20.74 0.96 0.000 0.200 0.000 0.00 213.300 6.18 -24.14 0.74 0.000 0.200 0.000 0.00 213.350 6.50 -21.49 0.65 0.000 0.200 0.000 0.00 213.400 6.59 -18.02 1.02 0.000 0.200 0.000 0.00 213.450 6.74 -19.06 0.82 0.000 0.200 0.000 0.00 213.500 6.65 -17.79 0.86 0.000 0.200 0.000 0.00 213.550 6.84 -19.78 1.31 0.000 0.200 0.000 0.00 213.600 6.92 -19.38 1.01 0.000 0.200 0.000 0.00 213.650 6.81 -23.55 0.41 0.000 0.200 0.000 0.00 213.700 6.99 -20.50 0.56 0.000 0.200 0.000 0.00 213.750 6.90 -18.60 0.24 0.000 0.200 0.000 0.00 213.800 6.56 -19.76 0.66 0.000 0.200 0.000 0.00 213.850 6.64 -18.95 0.71 0.000 0.200 0.000 0.00 213.900 6.82 -17.87 0.69 0.000 0.200 0.000 0.00 213.950 7.10 -19.23 0.31 0.000 0.200 0.000 0.00 214.000 7.26 -21.45 0.27 0.000 0.200 0.000 0.00 214.050 7.60 -23.02 0.52 0.000 0.200 0.000 0.00 214.100 7.83 -22.24 0.95 0.000 0.200 0.000 0.00 214.150 7.75 -20.46 1.21 0.000 0.200 0.000 0.00 214.200 7.66 -21.87 1.18 0.000 0.200 0.000 0.00 214.250 7.67 -24.04 1.03 0.000 0.200 0.000 0.00 214.300 7.72 -23.06 1.00 0.000 0.200 0.000 0.00 214.350 7.51 -20.80 1.30 0.000 0.200 0.000 0.00 214.400 7.69 -18.93 0.92 0.000 0.200 0.000 0.00 214.450 7.59 -19.31 0.84 0.000 0.200 0.000 0.00 214.500 7.48 -20.07 0.61 0.000 0.200 0.000 0.00 214.550 7.35 -19.79 0.62 0.000 0.200 0.000 0.00 214.600 7.33 -18.11 0.49 0.000 0.200 0.000 0.00 214.650 7.37 -19.39 0.15 0.000 0.200 0.000 0.00 214.700 7.55 -15.15 0.27 0.000 0.200 0.000 0.00 214.750 7.52 -17.58 0.21 0.000 0.200 0.000 0.00 214.800 7.64 -18.43 0.49 0.000 0.200 0.000 0.00 214.850 8.16 -19.52 0.12 0.000 0.200 0.000 0.00 214.900 8.12 -16.97 0.20 0.000 0.200 0.000 0.00 214.950 7.92 -19.06 0.32 0.000 0.200 0.000 0.00 215.000 7.71 -20.14 0.21 0.000 0.200 0.000 0.00 215.050 7.60 -20.65 -0.16 0.000 0.200 0.000 0.00 215.100 7.26 -20.74 -0.22 0.000 0.200 0.000 0.00 215.150 7.00 -18.77 -0.34 0.000 0.200 0.000 0.00 215.200 6.98 -17.29 -0.05 0.000 0.200 0.000 0.00 215.250 6.79 -19.55 0.01 0.000 0.200 0.000 0.00 215.300 6.84 -20.42 -0.17 0.000 0.200 0.000 0.00 215.350 6.80 -17.38 0.13 0.000 0.200 0.000 0.00 215.400 6.94 -17.78 -0.12 0.000 0.200 0.000 0.00 215.450 6.90 -20.97 0.14 0.000 0.200 0.000 0.00 215.500 7.10 -18.39 0.00 0.000 0.200 0.000 0.00 215.550 6.99 -17.57 -0.14 0.000 0.200 0.000 0.00 215.600 6.70 -16.32 0.33 0.000 0.200 0.000 0.00 215.650 6.48 -17.14 0.05 0.000 0.200 0.000 0.00 215.700 6.50 -25.19 -0.08 0.000 0.200 0.000 0.00 215.750 6.80 -22.05 -0.40 0.000 0.200 0.000 0.00 215.800 7.13 -20.93 -0.73 0.000 0.200 0.000 0.00 215.850 6.86 -17.98 -0.63 0.000 0.200 0.000 0.00 215.900 6.82 -17.03 -0.52 0.000 0.200 0.000 0.00 215.950 6.82 -18.21 -0.62 0.000 0.200 0.000 0.00 216.000 6.65 -15.15 -0.56 0.000 0.200 0.000 0.00 216.050 6.68 -16.49 -0.74 0.000 0.200 0.000 0.00 216.100 6.77 -13.49 -0.70 0.000 0.200 0.000 0.00 216.150 6.79 -10.86 -0.15 0.000 0.200 0.000 0.00 216.200 6.45 -12.32 -0.17 0.000 0.200 0.000 0.00 216.250 6.53 -15.73 -0.02 0.000 0.200 0.000 0.00 216.300 6.64 -16.52 -0.20 0.000 0.200 0.000 0.00 216.350 6.69 -15.54 -0.27 0.000 0.200 0.000 0.00 216.400 6.09 -13.11 -0.25 0.000 0.200 0.000 0.00 216.450 5.90 -13.71 -0.44 0.000 0.200 0.000 0.00 216.500 5.99 -15.91 -0.39 0.000 0.200 0.000 0.00 216.550 6.17 -16.06 -0.21 0.000 0.200 0.000 0.00 216.600 6.33 -12.61 0.03 0.000 0.200 0.000 0.00 216.650 6.46 -13.94 0.07 0.000 0.200 0.000 0.00 216.700 6.47 -13.75 0.29 0.000 0.200 0.000 0.00 216.750 6.41 -13.67 -0.03 0.000 0.200 0.000 0.00 216.800 6.32 -16.60 0.14 0.000 0.200 0.000 0.00 216.850 6.22 -19.11 0.18 0.000 0.200 0.000 0.00 216.900 6.46 -17.95 0.30 0.000 0.200 0.000 0.00 216.950 6.02 -17.68 0.27 0.000 0.200 0.000 0.00 217.000 5.86 -15.94 0.69 0.000 0.200 0.000 0.00 217.050 5.96 -17.85 0.40 0.000 0.200 0.000 0.00 217.100 6.07 -17.82 0.57 0.000 0.200 0.000 0.00 217.150 6.13 -18.15 0.61 0.000 0.200 0.000 0.00 217.200 6.11 -15.88 0.57 0.000 0.200 0.000 0.00 217.250 6.29 -14.26 0.91 0.000 0.200 0.000 0.00 217.300 6.12 -13.83 0.74 0.000 0.200 0.000 0.00 217.350 6.01 -14.56 0.91 0.000 0.200 0.000 0.00 217.400 5.86 -12.49 1.02 0.000 0.200 0.000 0.00 217.450 6.47 -16.17 1.12 0.000 0.200 0.000 0.00 217.500 6.90 -14.63 0.75 0.000 0.200 0.000 0.00 217.550 6.70 -10.73 0.88 0.000 0.200 0.000 0.00 217.600 6.60 -11.67 1.02 0.000 0.200 0.000 0.00 217.650 6.42 -12.16 0.88 0.000 0.200 0.000 0.00 217.700 6.21 -9.21 1.16 0.000 0.200 0.000 0.00 217.750 6.18 -11.37 1.31 0.000 0.200 0.000 0.00 217.800 6.05 -10.30 1.34 0.000 0.200 0.000 0.00 217.850 5.94 -10.32 1.22 0.000 0.200 0.000 0.00 217.900 6.29 -8.89 1.15 0.000 0.200 0.000 0.00 217.950 6.50 -9.08 0.54 0.000 0.200 0.000 0.00 218.000 6.48 -9.13 0.66 0.000 0.200 0.000 0.00 218.050 6.61 -9.11 0.74 0.000 0.200 0.000 0.00 218.100 6.85 -10.29 0.59 0.000 0.200 0.000 0.00 218.150 6.81 -9.13 0.65 0.000 0.200 0.000 0.00 218.200 6.53 -6.21 0.67 0.000 0.200 0.000 0.00 218.250 6.47 -4.51 0.74 0.000 0.200 0.000 0.00 218.300 6.18 -4.58 0.63 0.000 0.200 0.000 0.00 218.350 6.43 -4.96 0.25 0.000 0.200 0.000 0.00 218.400 7.14 -5.48 0.34 0.000 0.200 0.000 0.00 218.450 7.25 -2.11 0.57 0.000 0.200 0.000 0.00 218.500 7.48 -4.38 0.62 0.000 0.200 0.000 0.00 218.550 7.18 -7.21 0.90 0.000 0.200 0.000 0.00 218.600 7.19 -5.10 0.53 0.000 0.200 0.000 0.00 218.650 7.31 -3.48 0.64 0.000 0.200 0.000 0.00 218.700 7.67 -2.48 1.01 0.000 0.200 0.000 0.00 218.750 7.69 -2.23 1.10 0.000 0.200 0.000 0.00 218.800 7.89 -1.19 1.11 0.000 0.200 0.000 0.00 218.850 8.11 -2.47 1.30 0.000 0.200 0.000 0.00 218.900 7.99 -5.00 1.30 0.000 0.200 0.000 0.00 218.950 7.70 -2.23 1.08 0.000 0.200 0.000 0.00 219.000 7.74 -2.06 1.23 0.000 0.200 0.000 0.00 219.050 7.37 -3.80 1.46 0.000 0.200 0.000 0.00 219.100 7.40 0.85 1.38 0.000 0.200 0.000 0.00 219.150 7.33 1.07 1.28 0.000 0.200 0.000 0.00 219.200 7.28 -1.56 1.39 0.000 0.200 0.000 0.00 219.250 7.13 -2.50 0.87 0.000 0.200 0.000 0.00 219.300 7.27 -4.97 0.63 0.000 0.200 0.000 0.00 219.350 7.14 -3.64 0.74 0.000 0.200 0.000 0.00 219.400 7.13 -2.51 0.58 0.000 0.200 0.000 0.00 219.450 7.48 -4.29 0.47 0.000 0.200 0.000 0.00 219.500 7.62 -5.47 0.99 0.000 0.200 0.000 0.00 219.550 7.59 -6.50 0.97 0.000 0.200 0.000 0.00 219.600 7.56 -5.08 1.09 0.000 0.200 0.000 0.00 219.650 7.35 -3.96 1.08 0.000 0.200 0.000 0.00 219.700 7.35 -4.31 1.19 0.000 0.200 0.000 0.00 219.750 7.33 -4.60 1.20 0.000 0.200 0.000 0.00 219.800 7.11 -7.17 1.22 0.000 0.200 0.000 0.00 219.850 6.96 -9.96 1.23 0.000 0.200 0.000 0.00 219.900 6.99 -11.94 1.45 0.000 0.200 0.000 0.00 219.950 6.81 -7.71 1.29 0.000 0.200 0.000 0.00 220.000 7.08 -4.74 1.27 0.000 0.200 0.000 0.00 220.050 7.52 -5.32 1.45 0.000 0.200 0.000 0.00 220.100 7.49 -8.99 1.40 0.000 0.200 0.000 0.00 220.150 7.31 -11.74 1.40 0.000 0.200 0.000 0.00 220.200 7.54 -8.81 1.58 0.000 0.200 0.000 0.00 220.250 7.41 -9.77 1.72 0.000 0.200 0.000 0.00 220.300 7.58 -12.83 1.52 0.000 0.200 0.000 0.00 220.350 7.60 -13.94 1.26 0.000 0.200 0.000 0.00 220.400 7.82 -12.08 1.04 0.000 0.200 0.000 0.00 220.450 7.66 -9.85 0.47 0.000 0.200 0.000 0.00 220.500 7.21 -8.81 0.29 0.000 0.200 0.000 0.00 220.550 7.08 -11.07 0.58 0.000 0.200 0.000 0.00 220.600 7.31 -14.03 0.50 0.000 0.200 0.000 0.00 220.650 7.29 -15.80 0.58 0.000 0.200 0.000 0.00 220.700 6.97 -15.66 0.86 0.000 0.200 0.000 0.00 220.750 7.31 -14.05 1.15 0.000 0.200 0.000 0.00 220.800 7.59 -13.70 0.84 0.000 0.200 0.000 0.00 220.850 7.43 -13.84 1.18 0.000 0.200 0.000 0.00 220.900 7.70 -10.78 1.13 0.000 0.200 0.000 0.00 220.950 7.79 -11.95 0.87 0.000 0.200 0.000 0.00 221.000 7.79 -12.00 0.47 0.000 0.200 0.000 0.00 221.050 8.06 -13.03 0.26 0.000 0.200 0.000 0.00 221.100 7.96 -13.44 0.22 0.000 0.200 0.000 0.00 221.150 7.82 -13.63 0.30 0.000 0.200 0.000 0.00 221.200 7.62 -11.26 0.17 0.000 0.200 0.000 0.00 221.250 7.77 -13.40 0.08 0.000 0.200 0.000 0.00 221.300 7.69 -11.69 0.18 0.000 0.200 0.000 0.00 221.350 7.49 -7.80 0.81 0.000 0.200 0.000 0.00 221.400 7.40 -8.74 0.58 0.000 0.200 0.000 0.00 221.450 7.12 -9.03 0.62 0.000 0.200 0.000 0.00 221.500 7.14 -3.72 0.09 0.000 0.200 0.000 0.00 221.550 7.20 -2.48 0.19 0.000 0.200 0.000 0.00 221.600 7.27 -1.98 0.09 0.000 0.200 0.000 0.00 221.650 7.27 -4.07 -0.17 0.000 0.200 0.000 0.00 221.700 7.19 -9.34 0.13 0.000 0.200 0.000 0.00 221.750 7.08 -13.51 0.47 0.000 0.200 0.000 0.00 221.800 6.82 -10.93 0.86 0.000 0.200 0.000 0.00 221.850 6.90 -7.58 0.44 0.000 0.200 0.000 0.00 221.900 6.91 -9.21 0.66 0.000 0.200 0.000 0.00 221.950 7.01 -7.90 0.49 0.000 0.200 0.000 0.00 222.000 7.05 -5.99 0.86 0.000 0.200 0.000 0.00 222.050 7.14 -7.06 0.58 0.000 0.200 0.000 0.00 222.100 7.27 -7.28 0.47 0.000 0.200 0.000 0.00 222.150 7.05 -6.06 0.55 0.000 0.200 0.000 0.00 222.200 6.87 -3.73 0.16 0.000 0.200 0.000 0.00 222.250 6.89 0.17 0.21 0.000 0.200 0.000 0.00 222.300 6.75 -0.54 0.64 0.000 0.200 0.000 0.00 222.350 6.87 -2.92 0.68 0.000 0.200 0.000 0.00 222.400 7.42 -3.63 0.41 0.000 0.200 0.000 0.00 222.450 7.40 -3.88 0.54 0.000 0.200 0.000 0.00 222.500 7.57 -4.21 1.10 0.000 0.200 0.000 0.00 222.550 6.99 -4.00 1.34 0.000 0.200 0.000 0.00 222.600 6.84 -2.16 1.26 0.000 0.200 0.000 0.00 222.650 6.48 -2.13 0.81 0.000 0.200 0.000 0.00 222.700 6.63 -1.70 0.76 0.000 0.200 0.000 0.00 222.750 6.82 -2.22 0.50 0.000 0.200 0.000 0.00 222.800 6.96 -2.67 0.47 0.000 0.200 0.000 0.00 222.850 6.71 -3.03 0.35 0.000 0.200 0.000 0.00 222.900 6.41 -5.12 -0.07 0.000 0.200 0.000 0.00 222.950 6.77 -4.52 -0.29 0.000 0.200 0.000 0.00 223.000 7.10 -1.75 -0.29 0.000 0.200 0.000 0.00 223.050 6.59 1.07 0.22 0.000 0.200 0.000 0.00 223.100 6.57 -0.33 0.57 0.000 0.200 0.000 0.00 223.150 6.47 0.38 0.81 0.000 0.200 0.000 0.00 223.200 6.67 -3.44 0.57 0.000 0.200 0.000 0.00 223.250 6.90 -5.76 0.65 0.000 0.200 0.000 0.00 223.300 7.11 -7.48 0.81 0.000 0.200 0.000 0.00 223.350 7.09 -5.65 1.01 0.000 0.200 0.000 0.00 223.400 7.03 -6.19 1.00 0.000 0.200 0.000 0.00 223.450 7.42 -5.27 1.28 0.000 0.200 0.000 0.00 223.500 7.77 -5.98 1.42 0.000 0.200 0.000 0.00 223.550 7.34 -6.01 0.92 0.000 0.200 0.000 0.00 223.600 7.32 -7.80 1.14 0.000 0.200 0.000 0.00 223.650 6.91 -6.61 1.46 0.000 0.200 0.000 0.00 223.700 7.28 -5.68 1.39 0.000 0.200 0.000 0.00 223.750 7.58 -9.87 1.38 0.000 0.200 0.000 0.00 223.800 7.86 -11.26 1.23 0.000 0.200 0.000 0.00 223.850 7.56 -10.78 1.24 0.000 0.200 0.000 0.00 223.900 7.98 -10.87 0.96 0.000 0.200 0.000 0.00 223.950 8.26 -11.44 1.25 0.000 0.200 0.000 0.00 224.000 7.78 -8.37 1.29 0.000 0.200 0.000 0.00 224.050 7.99 -6.98 0.96 0.000 0.200 0.000 0.00 224.100 7.99 -7.99 0.85 0.000 0.200 0.000 0.00 224.150 7.84 -9.01 0.82 0.000 0.200 0.000 0.00 224.200 8.09 -9.64 0.42 0.000 0.200 0.000 0.00 224.250 7.91 -10.11 0.40 0.000 0.200 0.000 0.00 224.300 7.77 -12.57 0.24 0.000 0.200 0.000 0.00 224.350 8.39 -15.80 0.03 0.000 0.200 0.000 0.00 224.400 8.34 -17.27 -0.11 0.000 0.200 0.000 0.00 224.450 8.20 -16.73 0.02 0.000 0.200 0.000 0.00 224.500 7.93 -16.65 0.10 0.000 0.200 0.000 0.00 224.550 7.64 -16.72 0.12 0.000 0.200 0.000 0.00 224.600 7.62 -15.41 0.12 0.000 0.200 0.000 0.00 224.650 7.39 -15.98 0.30 0.000 0.200 0.000 0.00 224.700 7.69 -17.18 0.41 0.000 0.200 0.000 0.00 224.750 7.73 -15.11 0.37 0.000 0.200 0.000 0.00 224.800 7.75 -13.80 0.19 0.000 0.200 0.000 0.00 224.850 8.05 -13.99 0.25 0.000 0.200 0.000 0.00 224.900 7.93 -12.60 0.34 0.000 0.200 0.000 0.00 224.950 8.02 -12.61 0.72 0.000 0.200 0.000 0.00 225.000 7.96 -12.32 0.84 0.000 0.200 0.000 0.00 225.050 7.87 -10.97 0.59 0.000 0.200 0.000 0.00 225.100 7.82 -12.14 0.36 0.000 0.200 0.000 0.00 225.150 7.97 -12.39 0.21 0.000 0.200 0.000 0.00 225.200 8.11 -13.62 0.62 0.000 0.200 0.000 0.00 225.250 8.08 -13.48 0.95 0.000 0.200 0.000 0.00 225.300 7.70 -11.25 0.68 0.000 0.200 0.000 0.00 225.350 7.84 -15.51 0.79 0.000 0.200 0.000 0.00 225.400 7.81 -16.94 0.68 0.000 0.200 0.000 0.00 225.450 7.97 -15.51 0.58 0.000 0.200 0.000 0.00 225.500 8.02 -16.29 0.52 0.000 0.200 0.000 0.00 225.550 8.11 -18.14 0.59 0.000 0.200 0.000 0.00 225.600 7.86 -17.81 0.60 0.000 0.200 0.000 0.00 225.650 7.58 -16.25 0.22 0.000 0.200 0.000 0.00 225.700 7.71 -18.07 0.31 0.000 0.200 0.000 0.00 225.750 7.79 -18.00 0.66 0.000 0.200 0.000 0.00 225.800 7.88 -19.23 0.48 0.000 0.200 0.000 0.00 225.850 7.86 -19.18 0.20 0.000 0.200 0.000 0.00 225.900 7.63 -20.51 0.23 0.000 0.200 0.000 0.00 225.950 7.65 -19.93 0.16 0.000 0.200 0.000 0.00 226.000 7.69 -20.49 0.30 0.000 0.200 0.000 0.00 226.050 7.36 -19.28 0.30 0.000 0.200 0.000 0.00 226.100 7.34 -17.97 0.22 0.000 0.200 0.000 0.00 226.150 7.48 -18.53 0.25 0.000 0.200 0.000 0.00 226.200 7.20 -18.60 -0.58 0.000 0.200 0.000 0.00 226.250 7.25 -18.38 -0.92 0.000 0.200 0.000 0.00 226.300 7.22 -20.61 -0.64 0.000 0.200 0.000 0.00 226.350 7.27 -21.15 -0.54 0.000 0.200 0.000 0.00 226.400 7.34 -18.69 -0.88 0.000 0.200 0.000 0.00 226.450 7.38 -17.46 -1.09 0.000 0.200 0.000 0.00 226.500 7.38 -16.88 -1.17 0.000 0.200 0.000 0.00 226.550 7.55 -21.07 -1.32 0.000 0.200 0.000 0.00 226.600 7.44 -23.96 -1.62 0.000 0.200 0.000 0.00 226.650 7.89 -21.81 -1.54 0.000 0.200 0.000 0.00 226.700 7.84 -18.34 -1.11 0.000 0.200 0.000 0.00 226.750 7.38 -16.09 -0.67 0.000 0.200 0.000 0.00 226.800 7.49 -13.06 -0.22 0.000 0.200 0.000 0.00 226.850 7.35 -11.88 -0.83 0.000 0.200 0.000 0.00 226.900 7.42 -9.99 -0.83 0.000 0.200 0.000 0.00 226.950 7.32 -9.07 -0.98 0.000 0.200 0.000 0.00 227.000 7.24 -10.85 -0.88 0.000 0.200 0.000 0.00 227.050 7.28 -11.54 -0.20 0.000 0.200 0.000 0.00 227.100 6.96 -16.59 -0.20 0.000 0.200 0.000 0.00 227.150 6.91 -16.70 -0.55 0.000 0.200 0.000 0.00 227.200 6.84 -14.98 -0.79 0.000 0.200 0.000 0.00 227.250 6.52 -11.67 -0.94 0.000 0.200 0.000 0.00 227.300 6.62 -13.05 -0.82 0.000 0.200 0.000 0.00 227.350 6.58 -13.60 -0.77 0.000 0.200 0.000 0.00 227.400 6.76 -11.05 -0.85 0.000 0.200 0.000 0.00 227.450 7.25 -7.82 -0.66 0.000 0.200 0.000 0.00 227.500 7.31 -8.42 -0.92 0.000 0.200 0.000 0.00 227.550 7.07 -8.75 -1.13 0.000 0.200 0.000 0.00 227.600 6.99 -6.79 -1.58 0.000 0.200 0.000 0.00 227.650 7.04 -7.93 -1.62 0.000 0.200 0.000 0.00 227.700 6.92 -6.67 -1.57 0.000 0.200 0.000 0.00 227.750 6.59 -7.74 -1.44 0.000 0.200 0.000 0.00 227.800 6.57 -8.06 -1.51 0.000 0.200 0.000 0.00 227.850 6.50 -8.86 -1.66 0.000 0.200 0.000 0.00 227.900 6.71 -10.76 -1.57 0.000 0.200 0.000 0.00 227.950 7.06 -11.64 -1.61 0.000 0.200 0.000 0.00 228.000 7.34 -10.72 -1.56 0.000 0.200 0.000 0.00 228.050 7.32 -11.00 -1.51 0.000 0.200 0.000 0.00 228.100 7.13 -8.67 -1.91 0.000 0.200 0.000 0.00 228.150 7.02 -11.29 -2.19 0.000 0.200 0.000 0.00 228.200 6.93 -9.00 -2.36 0.000 0.200 0.000 0.00 228.250 7.06 -9.52 -2.29 0.000 0.200 0.000 0.00 228.300 7.23 -9.71 -2.02 0.000 0.200 0.000 0.00 228.350 7.20 -8.91 -1.94 0.000 0.200 0.000 0.00 228.400 7.06 -5.26 -1.70 0.000 0.200 0.000 0.00 228.450 6.96 -5.50 -1.44 0.000 0.200 0.000 0.00 228.500 6.91 -5.70 -1.67 0.000 0.200 0.000 0.00 228.550 6.71 -7.69 -1.71 0.000 0.200 0.000 0.00 228.600 6.72 -7.62 -1.40 0.000 0.200 0.000 0.00 228.650 6.95 -5.18 -0.90 0.000 0.200 0.000 0.00 228.700 6.79 -1.76 -1.07 0.000 0.200 0.000 0.00 228.750 6.54 -0.62 -1.16 0.000 0.200 0.000 0.00 228.800 6.56 -1.69 -1.42 0.000 0.200 0.000 0.00 228.850 6.34 0.24 -1.21 0.000 0.200 0.000 0.00 228.900 6.31 -1.46 -1.41 0.000 0.200 0.000 0.00 228.950 6.10 -2.18 -1.28 0.000 0.200 0.000 0.00 229.000 6.02 -4.09 -1.45 0.000 0.200 0.000 0.00 229.050 5.83 -4.30 -1.37 0.000 0.200 0.000 0.00 229.100 5.67 -0.52 -1.15 0.000 0.200 0.000 0.00 229.150 5.75 -2.77 -0.89 0.000 0.200 0.000 0.00 229.200 5.55 -2.40 -0.77 0.000 0.200 0.000 0.00 229.250 5.35 1.51 -0.81 0.000 0.200 0.000 0.00 229.300 5.48 1.91 -0.70 0.000 0.200 0.000 0.00 229.350 5.68 1.55 -0.51 0.000 0.200 0.000 0.00 229.400 5.79 2.12 -0.34 0.000 0.200 0.000 0.00 229.450 5.55 2.63 -0.49 0.000 0.200 0.000 0.00 229.500 5.78 -0.19 -0.49 0.000 0.200 0.000 0.00 229.550 5.76 -0.78 -0.43 0.000 0.200 0.000 0.00 229.600 5.64 -3.57 -0.88 0.000 0.200 0.000 0.00 229.650 5.42 -0.10 -0.54 0.000 0.200 0.000 0.00 229.700 5.52 2.64 -0.57 0.000 0.200 0.000 0.00 229.750 5.86 1.61 -0.44 0.000 0.200 0.000 0.00 229.800 5.84 -0.69 -0.76 0.000 0.200 0.000 0.00 229.850 5.41 4.03 -1.42 0.000 0.200 0.000 0.00 229.900 5.55 1.90 -1.24 0.000 0.200 0.000 0.00 229.950 5.55 2.54 -1.05 0.000 0.200 0.000 0.00 230.000 5.51 3.27 -0.86 0.000 0.200 0.000 0.00 230.050 5.79 -0.13 -0.64 0.000 0.200 0.000 0.00 230.100 5.83 -3.82 -0.81 0.000 0.200 0.000 0.00 230.150 5.86 -0.80 -0.82 0.000 0.200 0.000 0.00 230.200 6.16 2.28 -0.81 0.000 0.200 0.000 0.00 230.250 6.23 3.46 -0.93 0.000 0.200 0.000 0.00 230.300 6.27 2.21 -1.08 0.000 0.200 0.000 0.00 230.350 6.00 2.89 -1.09 0.000 0.200 0.000 0.00 230.400 6.03 1.86 -1.03 0.000 0.200 0.000 0.00 230.450 6.06 0.98 -0.66 0.000 0.200 0.000 0.00 230.500 6.02 -0.72 -0.93 0.000 0.200 0.000 0.00 230.550 5.86 0.11 -1.11 0.000 0.200 0.000 0.00 230.600 6.09 0.31 -1.00 0.000 0.200 0.000 0.00 230.650 5.50 0.77 -1.16 0.000 0.200 0.000 0.00 230.700 5.43 -0.03 -0.84 0.000 0.200 0.000 0.00 230.750 5.34 1.09 -0.73 0.000 0.200 0.000 0.00 230.800 5.42 2.18 -0.70 0.000 0.200 0.000 0.00 230.850 5.44 3.80 -0.65 0.000 0.200 0.000 0.00 230.900 5.78 1.86 -0.57 0.000 0.200 0.000 0.00 230.950 5.75 1.37 -0.58 0.000 0.200 0.000 0.00 231.000 5.62 -0.09 -0.83 0.000 0.200 0.000 0.00 231.050 5.81 -2.04 -0.90 0.000 0.200 0.000 0.00 231.100 5.58 -1.31 -1.01 0.000 0.200 0.000 0.00 231.150 5.47 -0.43 -1.44 0.000 0.200 0.000 0.00 231.200 5.69 -0.93 -1.27 0.000 0.200 0.000 0.00 231.250 5.58 1.65 -1.00 0.000 0.200 0.000 0.00 231.300 5.41 -0.39 -1.14 0.000 0.200 0.000 0.00 231.350 5.46 -0.96 -1.36 0.000 0.200 0.000 0.00 231.400 5.37 -2.63 -1.42 0.000 0.200 0.000 0.00 231.450 5.34 0.92 -1.32 0.000 0.200 0.000 0.00 231.500 5.33 -2.44 -1.46 0.000 0.200 0.000 0.00 231.550 5.32 -0.19 -1.82 0.000 0.200 0.000 0.00 231.600 5.23 -0.71 -1.94 0.000 0.200 0.000 0.00 231.650 5.52 0.19 -2.00 0.000 0.200 0.000 0.00 231.700 5.33 -0.66 -1.71 0.000 0.200 0.000 0.00 231.750 5.14 -2.47 -1.44 0.000 0.200 0.000 0.00 231.800 5.06 -2.99 -1.59 0.000 0.200 0.000 0.00 231.850 5.36 -5.53 -1.87 0.000 0.200 0.000 0.00 231.900 5.31 -4.98 -1.89 0.000 0.200 0.000 0.00 231.950 5.05 -2.58 -1.83 0.000 0.200 0.000 0.00 232.000 4.89 -1.34 -1.70 0.000 0.200 0.000 0.00 232.050 4.75 -1.19 -1.66 0.000 0.200 0.000 0.00 232.100 4.66 -1.96 -1.46 0.000 0.200 0.000 0.00 232.150 4.77 1.24 -1.11 0.000 0.200 0.000 0.00 232.200 4.84 -2.60 -0.92 0.000 0.200 0.000 0.00 232.250 4.55 -1.38 -0.95 0.000 0.200 0.000 0.00 232.300 4.51 1.92 -1.08 0.000 0.200 0.000 0.00 232.350 4.84 0.52 -1.24 0.000 0.200 0.000 0.00 232.400 5.02 3.46 -0.86 0.000 0.200 0.000 0.00 232.450 5.25 1.88 -0.93 0.000 0.200 0.000 0.00 232.500 5.35 2.29 -0.85 0.000 0.200 0.000 0.00 232.550 5.64 9.68 -0.69 0.000 0.200 0.000 0.00 232.600 5.39 11.48 -0.64 0.000 0.200 0.000 0.00 232.650 5.38 12.11 -0.86 0.000 0.200 0.000 0.00 232.700 5.37 11.78 -0.77 0.000 0.200 0.000 0.00 232.750 4.95 12.05 -0.84 0.000 0.200 0.000 0.00 232.800 5.25 13.88 -1.05 0.000 0.200 0.000 0.00 232.850 5.40 10.06 -0.83 0.000 0.200 0.000 0.00 232.900 5.69 10.96 -0.65 0.000 0.200 0.000 0.00 232.950 5.96 10.45 -0.67 0.000 0.200 0.000 0.00 233.000 5.75 9.91 -0.35 0.000 0.200 0.000 0.00 233.050 5.51 10.40 -0.11 0.000 0.200 0.000 0.00 233.100 5.43 11.54 -0.08 0.000 0.200 0.000 0.00 233.150 5.19 10.63 -0.23 0.000 0.200 0.000 0.00 233.200 4.99 6.99 -0.36 0.000 0.200 0.000 0.00 233.250 4.89 6.21 -0.61 0.000 0.200 0.000 0.00 233.300 4.89 4.24 -0.90 0.000 0.200 0.000 0.00 233.350 5.12 5.46 -0.96 0.000 0.200 0.000 0.00 233.400 5.11 6.50 -0.36 0.000 0.200 0.000 0.00 233.450 5.29 5.85 -0.42 0.000 0.200 0.000 0.00 233.500 5.55 2.48 -0.26 0.000 0.200 0.000 0.00 233.550 5.56 1.75 -0.15 0.000 0.200 0.000 0.00 233.600 5.51 0.49 -0.06 0.000 0.200 0.000 0.00 233.650 5.42 -0.83 -0.25 0.000 0.200 0.000 0.00 233.700 5.81 5.88 -0.18 0.000 0.200 0.000 0.00 233.750 5.69 4.61 -0.19 0.000 0.200 0.000 0.00 233.800 5.96 2.29 -0.48 0.000 0.200 0.000 0.00 233.850 6.05 2.37 -0.13 0.000 0.200 0.000 0.00 233.900 6.09 4.08 -0.28 0.000 0.200 0.000 0.00 233.950 6.09 2.56 -0.42 0.000 0.200 0.000 0.00 234.000 5.69 5.07 -0.50 0.000 0.200 0.000 0.00 234.050 6.06 3.15 -0.53 0.000 0.200 0.000 0.00 234.100 6.24 6.05 0.13 0.000 0.200 0.000 0.00 234.150 6.20 3.39 0.44 0.000 0.200 0.000 0.00 234.200 6.29 1.88 0.36 0.000 0.200 0.000 0.00 234.250 6.08 -2.18 0.17 0.000 0.200 0.000 0.00 234.300 5.96 -1.00 0.07 0.000 0.200 0.000 0.00 234.350 5.85 -4.53 0.34 0.000 0.200 0.000 0.00 234.400 6.10 -2.49 0.49 0.000 0.200 0.000 0.00 234.450 6.19 2.48 0.53 0.000 0.200 0.000 0.00 234.500 6.08 2.64 0.86 0.000 0.200 0.000 0.00 234.550 5.97 -1.56 0.67 0.000 0.200 0.000 0.00 234.600 5.99 -0.22 0.40 0.000 0.200 0.000 0.00 234.650 5.91 -5.31 0.53 0.000 0.200 0.000 0.00 234.700 5.91 -4.09 0.73 0.000 0.200 0.000 0.00 234.750 6.17 -0.68 0.57 0.000 0.200 0.000 0.00 234.800 6.13 -0.61 0.68 0.000 0.200 0.000 0.00 234.850 6.10 -1.13 0.87 0.000 0.200 0.000 0.00 234.900 6.13 -0.07 0.81 0.000 0.200 0.000 0.00 234.950 6.49 -0.11 0.62 0.000 0.200 0.000 0.00 235.000 6.31 1.36 0.95 0.000 0.200 0.000 0.00 235.050 6.30 2.74 0.98 0.000 0.200 0.000 0.00 235.100 6.32 2.57 1.03 0.000 0.200 0.000 0.00 235.150 6.36 4.68 0.92 0.000 0.200 0.000 0.00 235.200 5.92 3.42 1.25 0.000 0.200 0.000 0.00 235.250 6.12 2.97 1.19 0.000 0.200 0.000 0.00 235.300 5.82 2.20 1.21 0.000 0.200 0.000 0.00 235.350 5.99 1.22 1.08 0.000 0.200 0.000 0.00 235.400 6.34 1.32 1.07 0.000 0.200 0.000 0.00 235.450 6.44 3.21 1.39 0.000 0.200 0.000 0.00 235.500 6.36 5.16 1.69 0.000 0.200 0.000 0.00 235.550 6.35 7.41 1.38 0.000 0.200 0.000 0.00 235.600 6.34 3.06 0.73 0.000 0.200 0.000 0.00 235.650 6.01 3.49 1.05 0.000 0.200 0.000 0.00 235.700 6.00 2.79 1.49 0.000 0.200 0.000 0.00 235.750 5.94 4.17 1.12 0.000 0.200 0.000 0.00 235.800 5.99 4.01 1.36 0.000 0.200 0.000 0.00 235.850 5.97 1.90 1.76 0.000 0.200 0.000 0.00 235.900 5.98 2.00 1.67 0.000 0.200 0.000 0.00 235.950 5.79 0.29 1.68 0.000 0.200 0.000 0.00 236.000 5.83 -1.58 1.66 0.000 0.200 0.000 0.00 236.050 6.07 -4.53 1.42 0.000 0.200 0.000 0.00 236.100 6.15 -5.25 1.28 0.000 0.200 0.000 0.00 236.150 5.97 -4.00 1.28 0.000 0.200 0.000 0.00 236.200 6.23 -3.76 1.39 0.000 0.200 0.000 0.00 236.250 6.38 -1.27 1.45 0.000 0.200 0.000 0.00 236.300 6.20 -2.60 2.18 0.000 0.200 0.000 0.00 236.350 6.37 3.26 2.27 0.000 0.200 0.000 0.00 236.400 6.15 5.31 2.38 0.000 0.200 0.000 0.00 236.450 6.23 2.25 2.03 0.000 0.200 0.000 0.00 236.500 6.15 4.12 1.98 0.000 0.200 0.000 0.00 236.550 6.29 4.63 1.75 0.000 0.200 0.000 0.00 236.600 6.55 4.44 1.93 0.000 0.200 0.000 0.00 236.650 6.31 4.08 1.36 0.000 0.200 0.000 0.00 236.700 6.53 6.54 1.33 0.000 0.200 0.000 0.00 236.750 6.31 7.67 1.58 0.000 0.200 0.000 0.00 236.800 6.21 9.25 1.51 0.000 0.200 0.000 0.00 236.850 6.21 6.57 1.41 0.000 0.200 0.000 0.00 236.900 6.17 5.66 1.40 0.000 0.200 0.000 0.00 236.950 6.35 6.92 1.25 0.000 0.200 0.000 0.00 237.000 6.39 6.90 1.33 0.000 0.200 0.000 0.00 237.050 6.20 9.29 1.18 0.000 0.200 0.000 0.00 237.100 5.97 9.83 1.71 0.000 0.200 0.000 0.00 237.150 5.92 10.92 1.53 0.000 0.200 0.000 0.00 237.200 6.16 11.93 1.17 0.000 0.200 0.000 0.00 237.250 6.29 11.80 0.93 0.000 0.200 0.000 0.00 237.300 6.37 10.80 1.27 0.000 0.200 0.000 0.00 237.350 6.79 9.13 1.22 0.000 0.200 0.000 0.00 237.400 6.93 11.37 1.10 0.000 0.200 0.000 0.00 237.450 6.78 8.67 0.82 0.000 0.200 0.000 0.00 237.500 6.78 5.60 1.02 0.000 0.200 0.000 0.00 237.550 6.71 0.67 0.96 0.000 0.200 0.000 0.00 237.600 6.90 -1.72 0.99 0.000 0.200 0.000 0.00 237.650 6.80 -2.08 1.06 0.000 0.200 0.000 0.00 237.700 6.61 -1.63 1.15 0.000 0.200 0.000 0.00 237.750 6.64 -1.87 1.27 0.000 0.200 0.000 0.00 237.800 6.45 -2.14 1.24 0.000 0.200 0.000 0.00 237.850 6.42 2.11 1.40 0.000 0.200 0.000 0.00 237.900 6.58 3.35 1.49 0.000 0.200 0.000 0.00 237.950 6.63 3.16 1.47 0.000 0.200 0.000 0.00 238.000 6.74 3.60 1.68 0.000 0.200 0.000 0.00 238.050 6.98 2.03 1.68 0.000 0.200 0.000 0.00 238.100 6.91 -2.17 1.71 0.000 0.200 0.000 0.00 238.150 6.68 -4.76 2.03 0.000 0.200 0.000 0.00 238.200 6.66 -4.75 1.70 0.000 0.200 0.000 0.00 238.250 6.67 -3.72 1.38 0.000 0.200 0.000 0.00 238.300 6.51 -3.11 1.28 0.000 0.200 0.000 0.00 238.350 6.70 -1.18 1.25 0.000 0.200 0.000 0.00 238.400 6.48 -0.34 1.03 0.000 0.200 0.000 0.00 238.450 6.41 -1.79 0.54 0.000 0.200 0.000 0.00 238.500 6.59 -0.31 0.15 0.000 0.200 0.000 0.00 238.550 6.53 -3.91 0.28 0.000 0.200 0.000 0.00 238.600 6.87 -4.43 0.45 0.000 0.200 0.000 0.00 238.650 7.08 -6.61 0.14 0.000 0.200 0.000 0.00 238.700 7.32 -5.46 0.46 0.000 0.200 0.000 0.00 238.750 7.50 -6.01 0.48 0.000 0.200 0.000 0.00 238.800 7.72 -6.66 0.53 0.000 0.200 0.000 0.00 238.850 7.94 -3.60 0.41 0.000 0.200 0.000 0.00 238.900 7.86 -4.35 0.47 0.000 0.200 0.000 0.00 238.950 7.71 -5.06 0.60 0.000 0.200 0.000 0.00 239.000 7.78 -2.05 0.77 0.000 0.200 0.000 0.00 239.050 7.67 -3.37 0.54 0.000 0.200 0.000 0.00 239.100 7.63 -2.22 0.45 0.000 0.200 0.000 0.00 239.150 7.90 1.89 0.33 0.000 0.200 0.000 0.00 239.200 7.81 2.72 0.33 0.000 0.200 0.000 0.00 239.250 7.67 0.86 0.25 0.000 0.200 0.000 0.00 239.300 7.34 1.16 0.56 0.000 0.200 0.000 0.00 239.350 7.06 2.31 0.66 0.000 0.200 0.000 0.00 239.400 7.07 0.80 0.72 0.000 0.200 0.000 0.00 239.450 7.09 0.49 0.80 0.000 0.200 0.000 0.00 239.500 7.27 1.51 0.42 0.000 0.200 0.000 0.00 239.550 7.48 1.85 -0.20 0.000 0.200 0.000 0.00 239.600 7.80 -1.11 -0.23 0.000 0.200 0.000 0.00 239.650 7.72 0.45 0.03 0.000 0.200 0.000 0.00 239.700 7.45 -0.18 -0.38 0.000 0.200 0.000 0.00 239.750 7.10 -1.89 -0.50 0.000 0.200 0.000 0.00 239.800 7.22 -3.12 0.01 0.000 0.200 0.000 0.00 239.850 7.38 -3.50 0.04 0.000 0.200 0.000 0.00 239.900 7.10 -1.19 -0.06 0.000 0.200 0.000 0.00 239.950 6.86 -0.02 0.13 0.000 0.200 0.000 0.00 240.000 6.87 -1.32 0.02 0.000 0.200 0.000 0.00 240.050 7.04 0.60 -0.05 0.000 0.200 0.000 0.00 240.100 6.56 -0.06 -0.09 0.000 0.200 0.000 0.00 240.150 6.38 0.17 -0.19 0.000 0.200 0.000 0.00 240.200 6.29 3.29 -0.25 0.000 0.200 0.000 0.00 240.250 6.52 3.04 -0.09 0.000 0.200 0.000 0.00 240.300 6.56 0.75 -0.31 0.000 0.200 0.000 0.00 240.350 7.13 3.85 0.07 0.000 0.200 0.000 0.00 240.400 7.43 7.25 0.45 0.000 0.200 0.000 0.00 240.450 7.57 6.22 0.07 0.000 0.200 0.000 0.00 240.500 7.29 5.97 -0.22 0.000 0.200 0.000 0.00 240.550 7.06 3.88 -0.11 0.000 0.200 0.000 0.00 240.600 7.16 0.84 0.34 0.000 0.200 0.000 0.00 240.650 7.18 -0.25 0.40 0.000 0.200 0.000 0.00 240.700 7.30 -1.77 0.40 0.000 0.200 0.000 0.00 240.750 6.89 -0.12 0.26 0.000 0.200 0.000 0.00 240.800 7.05 0.37 0.00 0.000 0.200 0.000 0.00 240.850 7.05 0.27 -0.15 0.000 0.200 0.000 0.00 240.900 6.94 -0.71 -0.25 0.000 0.200 0.000 0.00 240.950 7.03 -3.22 -0.50 0.000 0.200 0.000 0.00 241.000 7.43 -1.62 -0.20 0.000 0.200 0.000 0.00 241.050 7.43 3.37 -0.48 0.000 0.200 0.000 0.00 241.100 7.47 1.08 -0.42 0.000 0.200 0.000 0.00 241.150 7.08 4.56 -0.53 0.000 0.200 0.000 0.00 241.200 7.38 5.80 -0.68 0.000 0.200 0.000 0.00 241.250 7.44 6.92 -0.78 0.000 0.200 0.000 0.00 241.300 7.83 8.07 -0.30 0.000 0.200 0.000 0.00 241.350 7.84 9.81 0.13 0.000 0.200 0.000 0.00 241.400 7.94 11.53 0.13 0.000 0.200 0.000 0.00 241.450 8.11 9.86 0.32 0.000 0.200 0.000 0.00 241.500 8.10 8.85 0.19 0.000 0.200 0.000 0.00 241.550 7.93 5.53 -0.10 0.000 0.200 0.000 0.00 241.600 7.83 1.75 0.18 0.000 0.200 0.000 0.00 241.650 7.63 -0.56 0.38 0.000 0.200 0.000 0.00 241.700 7.33 -1.06 0.45 0.000 0.200 0.000 0.00 241.750 7.25 -0.05 0.69 0.000 0.200 0.000 0.00 241.800 7.11 0.18 0.38 0.000 0.200 0.000 0.00 241.850 6.69 2.82 0.72 0.000 0.200 0.000 0.00 241.900 6.93 5.40 0.82 0.000 0.200 0.000 0.00 241.950 7.09 3.68 1.30 0.000 0.200 0.000 0.00 242.000 7.14 1.96 1.43 0.000 0.200 0.000 0.00 242.050 7.22 1.93 1.20 0.000 0.200 0.000 0.00 242.100 7.15 1.39 1.11 0.000 0.200 0.000 0.00 242.150 7.27 3.25 1.03 0.000 0.200 0.000 0.00 242.200 7.19 4.09 0.86 0.000 0.200 0.000 0.00 242.250 7.12 3.72 1.31 0.000 0.200 0.000 0.00 242.300 7.35 2.57 1.28 0.000 0.200 0.000 0.00 242.350 7.42 2.63 1.46 0.000 0.200 0.000 0.00 242.400 7.19 3.65 1.28 0.000 0.200 0.000 0.00 242.450 7.31 3.97 1.12 0.000 0.200 0.000 0.00 242.500 7.38 2.89 1.29 0.000 0.200 0.000 0.00 242.550 7.48 1.25 0.87 0.000 0.200 0.000 0.00 242.600 7.43 0.02 0.80 0.000 0.200 0.000 0.00 242.650 7.52 -0.93 0.31 0.000 0.200 0.000 0.00 242.700 7.75 1.31 0.27 0.000 0.200 0.000 0.00 242.750 7.56 3.23 0.29 0.000 0.200 0.000 0.00 242.800 7.71 3.66 0.66 0.000 0.200 0.000 0.00 242.850 7.87 6.33 0.82 0.000 0.200 0.000 0.00 242.900 7.80 7.78 0.48 0.000 0.200 0.000 0.00 242.950 7.85 5.95 0.26 0.000 0.200 0.000 0.00 243.000 7.98 6.51 0.32 0.000 0.200 0.000 0.00 243.050 7.56 7.31 0.04 0.000 0.200 0.000 0.00 243.100 7.70 5.12 -0.08 0.000 0.200 0.000 0.00 243.150 7.54 3.64 -0.18 0.000 0.200 0.000 0.00 243.200 7.55 3.77 0.03 0.000 0.200 0.000 0.00 243.250 7.74 3.04 -0.08 0.000 0.200 0.000 0.00 243.300 7.97 3.27 -0.05 0.000 0.200 0.000 0.00 243.350 7.79 3.03 0.15 0.000 0.200 0.000 0.00 243.400 7.62 4.59 0.28 0.000 0.200 0.000 0.00 243.450 7.71 4.91 0.52 0.000 0.200 0.000 0.00 243.500 7.74 5.20 0.49 0.000 0.200 0.000 0.00 243.550 7.39 4.23 0.45 0.000 0.200 0.000 0.00 243.600 7.55 4.13 0.05 0.000 0.200 0.000 0.00 243.650 7.55 1.60 0.20 0.000 0.200 0.000 0.00 243.700 7.50 3.61 0.58 0.000 0.200 0.000 0.00 243.750 7.36 5.48 0.85 0.000 0.200 0.000 0.00 243.800 7.57 2.72 1.19 0.000 0.200 0.000 0.00 243.850 7.66 0.61 1.31 0.000 0.200 0.000 0.00 243.900 7.91 0.52 1.00 0.000 0.200 0.000 0.00 243.950 8.39 -1.10 0.87 0.000 0.200 0.000 0.00 244.000 8.21 0.23 0.66 0.000 0.200 0.000 0.00 244.050 8.18 1.40 0.49 0.000 0.200 0.000 0.00 244.100 8.28 0.80 0.44 0.000 0.200 0.000 0.00 244.150 8.38 1.20 0.25 0.000 0.200 0.000 0.00 244.200 8.37 0.78 0.33 0.000 0.200 0.000 0.00 244.250 8.22 -0.70 0.29 0.000 0.200 0.000 0.00 244.300 8.06 0.06 0.49 0.000 0.200 0.000 0.00 244.350 8.38 -0.74 0.71 0.000 0.200 0.000 0.00 244.400 8.55 -5.18 0.61 0.000 0.200 0.000 0.00 244.450 8.06 -6.21 0.33 0.000 0.200 0.000 0.00 244.500 7.96 -4.61 0.59 0.000 0.200 0.000 0.00 244.550 8.19 -0.96 0.56 0.000 0.200 0.000 0.00 244.600 8.32 -0.92 0.62 0.000 0.200 0.000 0.00 244.650 8.48 -0.66 0.39 0.000 0.200 0.000 0.00 244.700 8.65 -2.19 0.14 0.000 0.200 0.000 0.00 244.750 8.63 -0.73 0.04 0.000 0.200 0.000 0.00 244.800 8.59 0.14 0.08 0.000 0.200 0.000 0.00 244.850 8.42 0.96 0.02 0.000 0.200 0.000 0.00 244.900 8.62 3.27 -0.05 0.000 0.200 0.000 0.00 244.950 7.93 2.89 0.26 0.000 0.200 0.000 0.00 245.000 8.08 3.55 0.44 0.000 0.200 0.000 0.00 245.050 8.42 5.48 0.47 0.000 0.200 0.000 0.00 245.100 8.41 2.47 0.65 0.000 0.200 0.000 0.00 245.150 8.02 0.57 0.75 0.000 0.200 0.000 0.00 245.200 7.83 2.07 0.38 0.000 0.200 0.000 0.00 245.250 8.06 1.37 0.14 0.000 0.200 0.000 0.00 245.300 7.93 4.42 0.18 0.000 0.200 0.000 0.00 245.350 7.49 4.55 0.38 0.000 0.200 0.000 0.00 245.400 7.53 4.67 0.70 0.000 0.200 0.000 0.00 245.450 7.36 4.38 0.46 0.000 0.200 0.000 0.00 245.500 7.19 4.00 0.53 0.000 0.200 0.000 0.00 245.550 7.36 1.92 0.44 0.000 0.200 0.000 0.00 245.600 7.62 4.10 0.52 0.000 0.200 0.000 0.00 245.650 7.80 5.59 0.64 0.000 0.200 0.000 0.00 245.700 7.71 7.80 1.05 0.000 0.200 0.000 0.00 245.750 7.54 7.67 0.98 0.000 0.200 0.000 0.00 245.800 7.36 8.65 0.79 0.000 0.200 0.000 0.00 245.850 7.76 9.95 1.04 0.000 0.200 0.000 0.00 245.900 7.65 12.41 0.91 0.000 0.200 0.000 0.00 245.950 7.58 9.83 0.82 0.000 0.200 0.000 0.00 246.000 7.48 12.16 1.35 0.000 0.200 0.000 0.00 246.050 7.70 13.91 1.04 0.000 0.200 0.000 0.00 246.100 7.81 16.02 1.30 0.000 0.200 0.000 0.00 246.150 7.68 15.93 1.46 0.000 0.200 0.000 0.00 246.200 7.60 15.56 1.37 0.000 0.200 0.000 0.00 246.250 7.47 12.76 1.27 0.000 0.200 0.000 0.00 246.300 7.77 9.94 1.02 0.000 0.200 0.000 0.00 246.350 7.82 7.20 0.98 0.000 0.200 0.000 0.00 246.400 7.80 6.88 1.20 0.000 0.200 0.000 0.00 246.450 7.94 10.55 0.98 0.000 0.200 0.000 0.00 246.500 7.68 8.25 1.01 0.000 0.200 0.000 0.00 246.550 7.60 7.34 0.74 0.000 0.200 0.000 0.00 246.600 7.48 6.95 0.59 0.000 0.200 0.000 0.00 246.650 7.57 7.22 0.51 0.000 0.200 0.000 0.00 246.700 7.03 8.43 0.74 0.000 0.200 0.000 0.00 246.750 7.01 8.32 0.34 0.000 0.200 0.000 0.00 246.800 7.10 8.81 0.47 0.000 0.200 0.000 0.00 246.850 7.13 8.35 0.53 0.000 0.200 0.000 0.00 246.900 7.17 7.10 0.39 0.000 0.200 0.000 0.00 246.950 7.25 5.10 0.72 0.000 0.200 0.000 0.00 247.000 6.89 6.48 0.63 0.000 0.200 0.000 0.00 247.050 6.95 8.84 0.82 0.000 0.200 0.000 0.00 247.100 7.09 6.77 0.79 0.000 0.200 0.000 0.00 247.150 7.11 10.48 0.46 0.000 0.200 0.000 0.00 247.200 7.13 9.72 0.50 0.000 0.200 0.000 0.00 247.250 7.28 8.91 0.11 0.000 0.200 0.000 0.00 247.300 7.21 10.07 0.47 0.000 0.200 0.000 0.00 247.350 7.15 5.94 0.51 0.000 0.200 0.000 0.00 247.400 7.20 7.54 0.53 0.000 0.200 0.000 0.00 247.450 6.77 5.43 0.51 0.000 0.200 0.000 0.00 247.500 6.93 6.17 0.53 0.000 0.200 0.000 0.00 247.550 7.15 6.18 0.35 0.000 0.200 0.000 0.00 247.600 7.15 2.35 0.50 0.000 0.200 0.000 0.00 247.650 7.26 4.66 0.47 0.000 0.200 0.000 0.00 247.700 7.41 2.74 0.61 0.000 0.200 0.000 0.00 247.750 7.59 5.69 0.48 0.000 0.200 0.000 0.00 247.800 7.79 8.22 0.82 0.000 0.200 0.000 0.00 247.850 7.66 8.11 0.82 0.000 0.200 0.000 0.00 247.900 7.78 12.90 0.60 0.000 0.200 0.000 0.00 247.950 7.74 11.10 0.41 0.000 0.200 0.000 0.00 248.000 7.49 8.66 0.37 0.000 0.200 0.000 0.00 248.050 7.71 8.29 0.44 0.000 0.200 0.000 0.00 248.100 7.59 4.08 0.43 0.000 0.200 0.000 0.00 248.150 7.50 3.75 0.45 0.000 0.200 0.000 0.00 248.200 7.64 5.05 0.35 0.000 0.200 0.000 0.00 248.250 7.57 7.44 0.58 0.000 0.200 0.000 0.00 248.300 7.35 8.58 0.88 0.000 0.200 0.000 0.00 248.350 7.58 6.06 0.90 0.000 0.200 0.000 0.00 248.400 7.64 5.06 1.00 0.000 0.200 0.000 0.00 248.450 7.52 7.06 1.58 0.000 0.200 0.000 0.00 248.500 7.26 6.53 1.37 0.000 0.200 0.000 0.00 248.550 7.24 5.76 1.38 0.000 0.200 0.000 0.00 248.600 7.12 6.66 1.22 0.000 0.200 0.000 0.00 248.650 7.39 4.42 1.03 0.000 0.200 0.000 0.00 248.700 7.45 2.98 0.79 0.000 0.200 0.000 0.00 248.750 7.37 2.53 0.69 0.000 0.200 0.000 0.00 248.800 7.43 5.58 0.62 0.000 0.200 0.000 0.00 248.850 7.63 6.30 0.72 0.000 0.200 0.000 0.00 248.900 7.26 7.88 0.72 0.000 0.200 0.000 0.00 248.950 7.44 9.71 1.07 0.000 0.200 0.000 0.00 249.000 7.52 10.21 1.43 0.000 0.200 0.000 0.00 249.050 7.48 9.63 1.53 0.000 0.200 0.000 0.00 249.100 7.76 8.88 1.20 0.000 0.200 0.000 0.00 249.150 7.96 7.71 1.43 0.000 0.200 0.000 0.00 249.200 8.14 7.19 1.36 0.000 0.200 0.000 0.00 249.250 8.23 5.59 1.32 0.000 0.200 0.000 0.00 249.300 8.34 4.07 1.26 0.000 0.200 0.000 0.00 249.350 8.45 1.62 0.87 0.000 0.200 0.000 0.00 249.400 8.02 -0.13 0.62 0.000 0.200 0.000 0.00 249.450 7.76 1.83 1.05 0.000 0.200 0.000 0.00 249.500 8.00 1.05 1.08 0.000 0.200 0.000 0.00 249.550 8.09 3.91 0.93 0.000 0.200 0.000 0.00 249.600 8.11 4.18 0.39 0.000 0.200 0.000 0.00 249.650 8.39 4.66 0.42 0.000 0.200 0.000 0.00 249.700 8.53 5.85 0.67 0.000 0.200 0.000 0.00 249.750 8.40 3.13 0.78 0.000 0.200 0.000 0.00 249.800 8.26 3.01 1.02 0.000 0.200 0.000 0.00 249.850 8.28 4.24 0.80 0.000 0.200 0.000 0.00 249.900 8.28 4.95 0.71 0.000 0.200 0.000 0.00 249.950 8.20 5.62 0.59 0.000 0.200 0.000 0.00 250.000 8.14 5.78 0.64 0.000 0.200 0.000 0.00 250.050 8.15 5.09 0.81 0.000 0.200 0.000 0.00 250.100 8.25 5.09 0.93 0.000 0.200 0.000 0.00 250.150 8.09 7.83 0.77 0.000 0.200 0.000 0.00 250.200 8.20 8.18 0.52 0.000 0.200 0.000 0.00 250.250 7.89 8.01 0.40 0.000 0.200 0.000 0.00 250.300 7.88 7.91 0.34 0.000 0.200 0.000 0.00 250.350 7.53 7.17 0.78 0.000 0.200 0.000 0.00 250.400 7.46 7.63 0.35 0.000 0.200 0.000 0.00 250.450 7.28 8.34 0.80 0.000 0.200 0.000 0.00 250.500 6.99 10.68 0.85 0.000 0.200 0.000 0.00 250.550 7.19 9.81 0.58 0.000 0.200 0.000 0.00 250.600 7.34 5.24 0.35 0.000 0.200 0.000 0.00 250.650 7.12 5.68 0.86 0.000 0.200 0.000 0.00 250.700 7.37 7.14 1.17 0.000 0.200 0.000 0.00 250.750 7.30 7.64 1.12 0.000 0.200 0.000 0.00 250.800 7.32 8.75 1.32 0.000 0.200 0.000 0.00 250.850 7.18 5.73 0.84 0.000 0.200 0.000 0.00 250.900 7.18 3.93 1.33 0.000 0.200 0.000 0.00 250.950 7.38 4.68 1.35 0.000 0.200 0.000 0.00 251.000 7.16 4.27 1.59 0.000 0.200 0.000 0.00 251.050 6.94 10.23 1.40 0.000 0.200 0.000 0.00 251.100 6.86 11.25 1.44 0.000 0.200 0.000 0.00 251.150 6.80 12.64 1.37 0.000 0.200 0.000 0.00 251.200 6.96 12.63 1.36 0.000 0.200 0.000 0.00 251.250 6.51 15.38 1.41 0.000 0.200 0.000 0.00 251.300 6.71 14.80 1.14 0.000 0.200 0.000 0.00 251.350 6.62 14.34 1.00 0.000 0.200 0.000 0.00 251.400 6.51 12.54 0.99 0.000 0.200 0.000 0.00 251.450 6.44 9.25 0.16 0.000 0.200 0.000 0.00 251.500 6.06 11.35 0.13 0.000 0.200 0.000 0.00 251.550 6.31 14.46 0.37 0.000 0.200 0.000 0.00 251.600 6.15 16.35 0.35 0.000 0.200 0.000 0.00 251.650 6.12 16.07 0.42 0.000 0.200 0.000 0.00 251.700 6.45 14.83 0.47 0.000 0.200 0.000 0.00 251.750 6.38 15.70 0.35 0.000 0.200 0.000 0.00 251.800 6.02 14.54 0.33 0.000 0.200 0.000 0.00 251.850 5.91 14.66 0.49 0.000 0.200 0.000 0.00 251.900 5.92 14.70 0.80 0.000 0.200 0.000 0.00 251.950 6.24 13.40 0.96 0.000 0.200 0.000 0.00 252.000 6.37 14.25 1.00 0.000 0.200 0.000 0.00 252.050 6.43 18.01 0.87 0.000 0.200 0.000 0.00 252.100 6.61 19.88 0.98 0.000 0.200 0.000 0.00 252.150 6.47 18.75 0.90 0.000 0.200 0.000 0.00 252.200 5.98 17.24 0.87 0.000 0.200 0.000 0.00 252.250 6.04 15.78 0.85 0.000 0.200 0.000 0.00 252.300 5.86 14.85 0.76 0.000 0.200 0.000 0.00 252.350 5.65 17.91 0.82 0.000 0.200 0.000 0.00 252.400 5.75 19.82 0.66 0.000 0.200 0.000 0.00 252.450 6.28 20.74 0.66 0.000 0.200 0.000 0.00 252.500 6.41 21.39 0.39 0.000 0.200 0.000 0.00 252.550 6.48 18.86 0.41 0.000 0.200 0.000 0.00 252.600 6.60 18.52 0.61 0.000 0.200 0.000 0.00 252.650 6.49 19.50 0.74 0.000 0.200 0.000 0.00 252.700 6.57 17.01 0.78 0.000 0.200 0.000 0.00 252.750 6.82 11.75 1.02 0.000 0.200 0.000 0.00 252.800 6.52 11.70 0.92 0.000 0.200 0.000 0.00 252.850 6.48 10.64 1.24 0.000 0.200 0.000 0.00 252.900 6.31 8.88 1.30 0.000 0.200 0.000 0.00 252.950 6.32 8.86 1.35 0.000 0.200 0.000 0.00 253.000 6.67 9.33 1.18 0.000 0.200 0.000 0.00 253.050 6.73 7.94 1.23 0.000 0.200 0.000 0.00 253.100 6.49 8.20 0.93 0.000 0.200 0.000 0.00 253.150 6.68 8.23 0.84 0.000 0.200 0.000 0.00 253.200 6.67 8.14 0.95 0.000 0.200 0.000 0.00 253.250 6.72 10.68 1.02 0.000 0.200 0.000 0.00 253.300 6.71 9.96 0.93 0.000 0.200 0.000 0.00 253.350 6.71 8.28 1.14 0.000 0.200 0.000 0.00 253.400 6.73 6.16 1.14 0.000 0.200 0.000 0.00 253.450 6.63 3.21 0.93 0.000 0.200 0.000 0.00 253.500 6.50 2.54 0.92 0.000 0.200 0.000 0.00 253.550 6.59 2.76 0.63 0.000 0.200 0.000 0.00 253.600 6.65 1.84 0.96 0.000 0.200 0.000 0.00 253.650 6.69 3.86 1.02 0.000 0.200 0.000 0.00 253.700 6.83 3.40 1.05 0.000 0.200 0.000 0.00 253.750 6.79 4.57 0.39 0.000 0.200 0.000 0.00 253.800 6.64 3.62 0.52 0.000 0.200 0.000 0.00 253.850 6.92 6.09 0.44 0.000 0.200 0.000 0.00 253.900 7.08 6.75 0.55 0.000 0.200 0.000 0.00 253.950 7.06 6.78 0.46 0.000 0.200 0.000 0.00 254.000 7.08 6.24 0.22 0.000 0.200 0.000 0.00 254.050 7.27 4.05 0.10 0.000 0.200 0.000 0.00 254.100 7.20 5.33 0.25 0.000 0.200 0.000 0.00 254.150 7.35 5.60 0.50 0.000 0.200 0.000 0.00 254.200 7.41 4.76 0.25 0.000 0.200 0.000 0.00 254.250 7.36 4.40 0.11 0.000 0.200 0.000 0.00 254.300 7.37 4.52 0.33 0.000 0.200 0.000 0.00 254.350 7.53 3.47 0.29 0.000 0.200 0.000 0.00 254.400 7.09 3.07 0.42 0.000 0.200 0.000 0.00 254.450 7.08 0.46 0.91 0.000 0.200 0.000 0.00 254.500 6.88 0.85 0.42 0.000 0.200 0.000 0.00 254.550 7.08 2.55 0.42 0.000 0.200 0.000 0.00 254.600 7.00 1.53 0.83 0.000 0.200 0.000 0.00 254.650 7.04 -1.93 0.51 0.000 0.200 0.000 0.00 254.700 6.89 -4.75 0.79 0.000 0.200 0.000 0.00 254.750 6.93 -3.81 0.68 0.000 0.200 0.000 0.00 254.800 7.03 0.37 0.82 0.000 0.200 0.000 0.00 254.850 6.89 2.22 0.78 0.000 0.200 0.000 0.00 254.900 6.76 1.47 0.79 0.000 0.200 0.000 0.00 254.950 6.50 3.32 0.74 0.000 0.200 0.000 0.00 255.000 6.50 1.14 0.59 0.000 0.200 0.000 0.00 255.050 6.43 -1.89 0.55 0.000 0.200 0.000 0.00 255.100 6.54 -0.59 0.66 0.000 0.200 0.000 0.00 255.150 6.88 -2.11 0.55 0.000 0.200 0.000 0.00 255.200 6.71 -1.45 0.64 0.000 0.200 0.000 0.00 255.250 6.75 -5.37 0.66 0.000 0.200 0.000 0.00 255.300 6.52 -3.97 0.42 0.000 0.200 0.000 0.00 255.350 6.34 -3.89 0.17 0.000 0.200 0.000 0.00 255.400 6.64 -4.81 0.50 0.000 0.200 0.000 0.00 255.450 7.04 -6.15 0.44 0.000 0.200 0.000 0.00 255.500 7.11 -5.39 -0.08 0.000 0.200 0.000 0.00 255.550 7.21 -3.66 0.13 0.000 0.200 0.000 0.00 255.600 7.18 -0.12 -0.09 0.000 0.200 0.000 0.00 255.650 7.08 2.66 0.23 0.000 0.200 0.000 0.00 255.700 6.97 4.83 0.41 0.000 0.200 0.000 0.00 255.750 6.88 5.21 0.61 0.000 0.200 0.000 0.00 255.800 6.73 3.48 0.41 0.000 0.200 0.000 0.00 255.850 6.99 1.10 0.46 0.000 0.200 0.000 0.00 255.900 7.21 0.34 0.24 0.000 0.200 0.000 0.00 255.950 7.09 -2.40 0.06 0.000 0.200 0.000 0.00 256.000 7.21 -5.76 0.16 0.000 0.200 0.000 0.00 256.050 7.54 -3.74 -0.09 0.000 0.200 0.000 0.00 256.100 7.42 -0.04 0.35 0.000 0.200 0.000 0.00 256.150 7.56 0.32 0.57 0.000 0.200 0.000 0.00 256.200 7.75 -0.01 0.11 0.000 0.200 0.000 0.00 256.250 7.51 4.58 -0.02 0.000 0.200 0.000 0.00 256.300 7.52 5.24 0.00 0.000 0.200 0.000 0.00 256.350 7.58 5.19 -0.19 0.000 0.200 0.000 0.00 256.400 7.61 4.10 -0.31 0.000 0.200 0.000 0.00 256.450 7.73 4.35 0.01 0.000 0.200 0.000 0.00 256.500 7.77 2.73 -0.33 0.000 0.200 0.000 0.00 256.550 7.68 1.21 -0.58 0.000 0.200 0.000 0.00 256.600 7.71 1.38 -0.60 0.000 0.200 0.000 0.00 256.650 7.84 1.63 -0.33 0.000 0.200 0.000 0.00 256.700 7.62 2.11 -0.12 0.000 0.200 0.000 0.00 256.750 7.39 -0.75 -0.29 0.000 0.200 0.000 0.00 256.800 7.21 -4.17 -0.45 0.000 0.200 0.000 0.00 256.850 7.49 0.53 -0.37 0.000 0.200 0.000 0.00 256.900 7.60 -0.34 -0.31 0.000 0.200 0.000 0.00 256.950 7.64 0.93 -0.40 0.000 0.200 0.000 0.00 257.000 7.61 2.25 -0.52 0.000 0.200 0.000 0.00 257.050 7.93 3.10 -0.17 0.000 0.200 0.000 0.00 257.100 7.87 0.89 -0.13 0.000 0.200 0.000 0.00 257.150 7.93 0.91 -0.63 0.000 0.200 0.000 0.00 257.200 7.51 -0.21 -0.13 0.000 0.200 0.000 0.00 257.250 7.43 -0.16 0.02 0.000 0.200 0.000 0.00 257.300 7.15 -1.44 -0.02 0.000 0.200 0.000 0.00 257.350 7.21 -1.12 -0.35 0.000 0.200 0.000 0.00 257.400 7.26 0.48 -0.73 0.000 0.200 0.000 0.00 257.450 7.35 -0.29 -0.75 0.000 0.200 0.000 0.00 257.500 7.65 -1.04 -0.77 0.000 0.200 0.000 0.00 257.550 7.79 -0.97 -0.14 0.000 0.200 0.000 0.00 257.600 7.66 -2.04 -0.20 0.000 0.200 0.000 0.00 257.650 7.39 -0.77 -0.50 0.000 0.200 0.000 0.00 257.700 7.74 0.70 -0.33 0.000 0.200 0.000 0.00 257.750 7.67 -0.39 -0.06 0.000 0.200 0.000 0.00 257.800 7.49 -1.57 0.04 0.000 0.200 0.000 0.00 257.850 7.66 -1.79 0.15 0.000 0.200 0.000 0.00 257.900 7.91 -1.57 0.35 0.000 0.200 0.000 0.00 257.950 7.92 -2.51 0.56 0.000 0.200 0.000 0.00 258.000 7.72 -1.23 0.47 0.000 0.200 0.000 0.00 258.050 8.03 -1.27 0.38 0.000 0.200 0.000 0.00 258.100 8.07 -2.74 0.47 0.000 0.200 0.000 0.00 258.150 8.28 -4.62 0.53 0.000 0.200 0.000 0.00 258.200 8.13 -5.92 0.55 0.000 0.200 0.000 0.00 258.250 8.39 -5.03 0.26 0.000 0.200 0.000 0.00 258.300 8.48 -4.30 0.58 0.000 0.200 0.000 0.00 258.350 8.53 -6.41 0.37 0.000 0.200 0.000 0.00 258.400 8.74 -7.63 0.48 0.000 0.200 0.000 0.00 258.450 8.52 -5.12 0.64 0.000 0.200 0.000 0.00 258.500 8.22 -3.75 0.64 0.000 0.200 0.000 0.00 258.550 8.16 -2.57 0.96 0.000 0.200 0.000 0.00 258.600 7.91 -0.05 0.94 0.000 0.200 0.000 0.00 258.650 7.76 -1.53 0.67 0.000 0.200 0.000 0.00 258.700 7.90 -2.07 0.58 0.000 0.200 0.000 0.00 258.750 7.86 -1.52 1.00 0.000 0.200 0.000 0.00 258.800 8.12 -2.79 0.76 0.000 0.200 0.000 0.00 258.850 8.12 -1.50 0.40 0.000 0.200 0.000 0.00 258.900 7.48 -2.69 0.62 0.000 0.200 0.000 0.00 258.950 7.31 -1.73 0.63 0.000 0.200 0.000 0.00 259.000 7.18 0.67 0.42 0.000 0.200 0.000 0.00 259.050 7.41 -0.86 0.48 0.000 0.200 0.000 0.00 259.100 7.25 -0.09 0.38 0.000 0.200 0.000 0.00 259.150 7.25 0.42 0.30 0.000 0.200 0.000 0.00 259.200 7.32 0.05 0.11 0.000 0.200 0.000 0.00 259.250 7.43 -0.16 0.25 0.000 0.200 0.000 0.00 259.300 7.14 -0.01 0.17 0.000 0.200 0.000 0.00 259.350 7.06 1.20 -0.02 0.000 0.200 0.000 0.00 259.400 7.20 1.45 0.04 0.000 0.200 0.000 0.00 259.450 7.20 1.09 0.47 0.000 0.200 0.000 0.00 259.500 7.24 0.67 0.28 0.000 0.200 0.000 0.00 259.550 6.98 2.46 0.12 0.000 0.200 0.000 0.00 259.600 6.77 -0.50 -0.03 0.000 0.200 0.000 0.00 259.650 6.73 -2.99 -0.03 0.000 0.200 0.000 0.00 259.700 6.67 -3.17 -0.18 0.000 0.200 0.000 0.00 259.750 6.71 -2.73 -0.43 0.000 0.200 0.000 0.00 259.800 6.68 -1.83 -0.59 0.000 0.200 0.000 0.00 259.850 6.70 -3.37 -0.46 0.000 0.200 0.000 0.00 259.900 6.86 1.23 -0.81 0.000 0.200 0.000 0.00 259.950 6.42 4.63 -0.65 0.000 0.200 0.000 0.00 260.000 6.13 8.61 -0.63 0.000 0.200 0.000 0.00 260.050 6.38 7.12 -0.40 0.000 0.200 0.000 0.00 260.100 6.32 6.68 -0.47 0.000 0.200 0.000 0.00 260.150 6.48 6.10 -0.27 0.000 0.200 0.000 0.00 260.200 6.32 6.35 -0.16 0.000 0.200 0.000 0.00 260.250 6.13 3.70 -0.37 0.000 0.200 0.000 0.00 260.300 6.04 6.80 -0.45 0.000 0.200 0.000 0.00 260.350 6.30 6.05 -0.04 0.000 0.200 0.000 0.00 260.400 6.57 7.95 0.11 0.000 0.200 0.000 0.00 260.450 6.59 4.67 0.14 0.000 0.200 0.000 0.00 260.500 6.83 3.24 0.30 0.000 0.200 0.000 0.00 260.550 6.71 4.49 -0.03 0.000 0.200 0.000 0.00 260.600 6.73 1.78 0.12 0.000 0.200 0.000 0.00 260.650 6.95 4.19 0.38 0.000 0.200 0.000 0.00 260.700 6.37 5.45 0.20 0.000 0.200 0.000 0.00 260.750 6.53 3.70 0.54 0.000 0.200 0.000 0.00 260.800 6.67 5.21 0.40 0.000 0.200 0.000 0.00 260.850 7.04 0.60 -0.02 0.000 0.200 0.000 0.00 260.900 7.19 0.19 0.13 0.000 0.200 0.000 0.00 260.950 7.50 2.03 -0.07 0.000 0.200 0.000 0.00 261.000 7.83 2.10 -0.17 0.000 0.200 0.000 0.00 261.050 7.97 2.89 0.00 0.000 0.200 0.000 0.00 261.100 7.66 5.52 0.29 0.000 0.200 0.000 0.00 261.150 7.52 3.58 0.17 0.000 0.200 0.000 0.00 261.200 7.21 -0.15 0.77 0.000 0.200 0.000 0.00 261.250 7.53 0.44 0.93 0.000 0.200 0.000 0.00 261.300 7.76 1.33 0.83 0.000 0.200 0.000 0.00 261.350 7.34 0.66 0.64 0.000 0.200 0.000 0.00 261.400 7.29 -0.31 0.49 0.000 0.200 0.000 0.00 261.450 7.47 -1.29 0.16 0.000 0.200 0.000 0.00 261.500 7.63 -4.82 0.38 0.000 0.200 0.000 0.00 261.550 7.79 -3.66 0.52 0.000 0.200 0.000 0.00 261.600 7.44 -3.07 0.56 0.000 0.200 0.000 0.00 261.650 7.01 -1.04 0.35 0.000 0.200 0.000 0.00 261.700 7.22 -2.70 0.39 0.000 0.200 0.000 0.00 261.750 7.47 -2.75 0.38 0.000 0.200 0.000 0.00 261.800 7.56 -2.29 0.20 0.000 0.200 0.000 0.00 261.850 7.57 -4.71 0.28 0.000 0.200 0.000 0.00 261.900 7.38 -6.22 0.43 0.000 0.200 0.000 0.00 261.950 7.18 -4.61 0.55 0.000 0.200 0.000 0.00 262.000 7.44 -5.14 -0.01 0.000 0.200 0.000 0.00 262.050 6.90 -7.95 0.36 0.000 0.200 0.000 0.00 262.100 6.57 -6.57 0.25 0.000 0.200 0.000 0.00 262.150 6.51 -7.17 0.12 0.000 0.200 0.000 0.00 262.200 6.72 -10.03 0.41 0.000 0.200 0.000 0.00 262.250 6.71 -8.38 0.65 0.000 0.200 0.000 0.00 262.300 6.98 -6.18 0.51 0.000 0.200 0.000 0.00 262.350 6.69 -6.95 0.52 0.000 0.200 0.000 0.00 262.400 7.22 -6.20 0.22 0.000 0.200 0.000 0.00 262.450 7.40 -4.85 0.29 0.000 0.200 0.000 0.00 262.500 7.51 -5.00 0.65 0.000 0.200 0.000 0.00 262.550 7.36 -7.76 0.66 0.000 0.200 0.000 0.00 262.600 7.50 -3.85 0.48 0.000 0.200 0.000 0.00 262.650 7.43 -4.56 0.65 0.000 0.200 0.000 0.00 262.700 7.45 -5.21 0.12 0.000 0.200 0.000 0.00 262.750 7.80 -2.85 0.20 0.000 0.200 0.000 0.00 262.800 7.64 -1.44 0.06 0.000 0.200 0.000 0.00 262.850 7.29 0.87 -0.27 0.000 0.200 0.000 0.00 262.900 7.49 0.33 -0.62 0.000 0.200 0.000 0.00 262.950 7.30 -0.13 -0.68 0.000 0.200 0.000 0.00 263.000 7.43 -0.17 -0.48 0.000 0.200 0.000 0.00 263.050 7.32 -0.35 -0.54 0.000 0.200 0.000 0.00 263.100 7.53 1.68 -0.45 0.000 0.200 0.000 0.00 263.150 7.26 1.09 0.14 0.000 0.200 0.000 0.00 263.200 7.04 2.40 0.10 0.000 0.200 0.000 0.00 263.250 7.13 0.78 0.15 0.000 0.200 0.000 0.00 263.300 7.30 0.35 0.02 0.000 0.200 0.000 0.00 263.350 7.56 -1.03 0.05 0.000 0.200 0.000 0.00 263.400 7.57 0.03 -0.30 0.000 0.200 0.000 0.00 263.450 7.78 2.95 -0.33 0.000 0.200 0.000 0.00 263.500 7.49 3.06 -0.21 0.000 0.200 0.000 0.00 263.550 7.43 4.52 0.14 0.000 0.200 0.000 0.00 263.600 7.02 8.03 0.50 0.000 0.200 0.000 0.00 263.650 7.05 6.77 0.27 0.000 0.200 0.000 0.00 263.700 7.18 7.76 0.11 0.000 0.200 0.000 0.00 263.750 7.54 7.13 0.48 0.000 0.200 0.000 0.00 263.800 7.95 6.80 0.48 0.000 0.200 0.000 0.00 263.850 7.82 5.08 0.44 0.000 0.200 0.000 0.00 263.900 7.85 5.93 0.16 0.000 0.200 0.000 0.00 263.950 7.63 7.02 0.13 0.000 0.200 0.000 0.00 264.000 7.74 7.47 0.76 0.000 0.200 0.000 0.00 264.050 7.35 6.23 0.48 0.000 0.200 0.000 0.00 264.100 7.20 7.56 0.50 0.000 0.200 0.000 0.00 264.150 7.46 6.45 0.53 0.000 0.200 0.000 0.00 264.200 7.63 5.28 0.21 0.000 0.200 0.000 0.00 264.250 7.67 6.58 0.28 0.000 0.200 0.000 0.00 264.300 7.44 8.17 0.29 0.000 0.200 0.000 0.00 264.350 7.51 6.65 0.19 0.000 0.200 0.000 0.00 264.400 7.32 8.04 -0.08 0.000 0.200 0.000 0.00 264.450 7.53 8.45 0.10 0.000 0.200 0.000 0.00 264.500 7.23 9.34 -0.21 0.000 0.200 0.000 0.00 264.550 7.05 4.27 -0.04 0.000 0.200 0.000 0.00 264.600 7.32 2.87 0.08 0.000 0.200 0.000 0.00 264.650 7.43 4.29 -0.30 0.000 0.200 0.000 0.00 264.700 7.17 4.89 -0.27 0.000 0.200 0.000 0.00 264.750 7.05 -1.67 -0.20 0.000 0.200 0.000 0.00 264.800 7.27 0.50 -0.48 0.000 0.200 0.000 0.00 264.850 7.63 5.18 -0.43 0.000 0.200 0.000 0.00 264.900 7.61 4.30 -0.44 0.000 0.200 0.000 0.00 264.950 7.54 2.69 -0.38 0.000 0.200 0.000 0.00 265.000 7.48 4.19 -0.44 0.000 0.200 0.000 0.00 265.050 7.58 3.72 -0.43 0.000 0.200 0.000 0.00 265.100 7.57 2.36 -0.34 0.000 0.200 0.000 0.00 265.150 7.85 2.84 -0.16 0.000 0.200 0.000 0.00 265.200 7.98 6.00 -0.09 0.000 0.200 0.000 0.00 265.250 7.76 5.21 -0.14 0.000 0.200 0.000 0.00 265.300 7.55 2.86 -0.33 0.000 0.200 0.000 0.00 265.350 7.75 1.24 -0.59 0.000 0.200 0.000 0.00 265.400 7.96 -0.43 -0.84 0.000 0.200 0.000 0.00 265.450 8.14 -0.39 -0.84 0.000 0.200 0.000 0.00 265.500 8.39 -0.19 -0.86 0.000 0.200 0.000 0.00 265.550 8.44 -1.02 -0.77 0.000 0.200 0.000 0.00 265.600 8.49 -1.09 -0.55 0.000 0.200 0.000 0.00 265.650 8.41 0.02 -0.64 0.000 0.200 0.000 0.00 265.700 8.49 3.68 -0.69 0.000 0.200 0.000 0.00 265.750 8.39 2.01 -0.93 0.000 0.200 0.000 0.00 265.800 8.19 -1.03 -0.86 0.000 0.200 0.000 0.00 265.850 8.24 1.09 -0.66 0.000 0.200 0.000 0.00 265.900 8.62 3.11 -0.26 0.000 0.200 0.000 0.00 265.950 8.72 4.08 -0.04 0.000 0.200 0.000 0.00 266.000 8.37 4.80 -0.23 0.000 0.200 0.000 0.00 266.050 8.49 4.73 -0.36 0.000 0.200 0.000 0.00 266.100 8.53 4.97 -0.07 0.000 0.200 0.000 0.00 266.150 8.38 6.52 -0.12 0.000 0.200 0.000 0.00 266.200 8.36 6.84 -0.29 0.000 0.200 0.000 0.00 266.250 8.17 5.94 -0.44 0.000 0.200 0.000 0.00 266.300 8.32 7.20 -0.64 0.000 0.200 0.000 0.00 266.350 8.61 7.23 -0.75 0.000 0.200 0.000 0.00 266.400 8.56 9.13 -0.74 0.000 0.200 0.000 0.00 266.450 8.56 8.79 -0.64 0.000 0.200 0.000 0.00 266.500 8.37 6.35 -0.50 0.000 0.200 0.000 0.00 266.550 8.41 5.52 -0.50 0.000 0.200 0.000 0.00 266.600 8.85 8.04 -0.46 0.000 0.200 0.000 0.00 266.650 8.64 7.71 -0.40 0.000 0.200 0.000 0.00 266.700 8.85 6.73 -0.61 0.000 0.200 0.000 0.00 266.750 8.65 7.52 -0.48 0.000 0.200 0.000 0.00 266.800 8.56 6.82 -0.58 0.000 0.200 0.000 0.00 266.850 8.42 7.98 -0.76 0.000 0.200 0.000 0.00 266.900 8.33 9.94 -0.92 0.000 0.200 0.000 0.00 266.950 8.13 10.66 -0.99 0.000 0.200 0.000 0.00 267.000 7.99 8.08 -0.84 0.000 0.200 0.000 0.00 267.050 8.16 8.25 -0.73 0.000 0.200 0.000 0.00 267.100 8.08 8.12 -0.90 0.000 0.200 0.000 0.00 267.150 8.13 5.20 -0.93 0.000 0.200 0.000 0.00 267.200 7.94 4.73 -0.45 0.000 0.200 0.000 0.00 267.250 7.89 3.50 -0.60 0.000 0.200 0.000 0.00 267.300 7.95 1.64 -0.35 0.000 0.200 0.000 0.00 267.350 7.99 3.10 -0.34 0.000 0.200 0.000 0.00 267.400 7.92 4.56 -0.10 0.000 0.200 0.000 0.00 267.450 8.01 5.71 -0.34 0.000 0.200 0.000 0.00 267.500 8.23 5.79 -0.29 0.000 0.200 0.000 0.00 267.550 8.12 5.58 -0.37 0.000 0.200 0.000 0.00 267.600 7.87 7.41 -0.40 0.000 0.200 0.000 0.00 267.650 7.79 5.40 0.01 0.000 0.200 0.000 0.00 267.700 7.93 3.67 -0.13 0.000 0.200 0.000 0.00 267.750 7.93 3.67 -0.27 0.000 0.200 0.000 0.00 267.800 8.13 5.49 -0.23 0.000 0.200 0.000 0.00 267.850 8.15 4.91 -0.25 0.000 0.200 0.000 0.00 267.900 8.29 5.92 0.29 0.000 0.200 0.000 0.00 267.950 8.42 8.90 0.17 0.000 0.200 0.000 0.00 268.000 8.52 6.22 0.33 0.000 0.200 0.000 0.00 268.050 8.35 5.04 0.25 0.000 0.200 0.000 0.00 268.100 8.35 6.63 -0.07 0.000 0.200 0.000 0.00 268.150 8.40 7.25 -0.48 0.000 0.200 0.000 0.00 268.200 8.26 8.46 -0.18 0.000 0.200 0.000 0.00 268.250 7.91 5.12 -0.01 0.000 0.200 0.000 0.00 268.300 7.83 2.74 0.11 0.000 0.200 0.000 0.00 268.350 7.88 2.65 0.14 0.000 0.200 0.000 0.00 268.400 7.87 3.35 0.11 0.000 0.200 0.000 0.00 268.450 7.88 0.95 -0.07 0.000 0.200 0.000 0.00 268.500 8.02 1.16 -0.16 0.000 0.200 0.000 0.00 268.550 8.08 -2.09 -0.43 0.000 0.200 0.000 0.00 268.600 8.08 -3.94 -0.41 0.000 0.200 0.000 0.00 268.650 7.81 -4.52 -0.14 0.000 0.200 0.000 0.00 268.700 7.71 -5.76 -0.11 0.000 0.200 0.000 0.00 268.750 7.48 -4.36 0.00 0.000 0.200 0.000 0.00 268.800 7.53 -3.78 0.10 0.000 0.200 0.000 0.00 268.850 7.70 -2.25 0.10 0.000 0.200 0.000 0.00 268.900 7.72 0.01 0.23 0.000 0.200 0.000 0.00 268.950 7.98 -0.07 0.24 0.000 0.200 0.000 0.00 269.000 7.91 0.27 0.42 0.000 0.200 0.000 0.00 269.050 7.41 3.68 0.05 0.000 0.200 0.000 0.00 269.100 7.20 1.93 0.06 0.000 0.200 0.000 0.00 269.150 7.55 -0.87 0.46 0.000 0.200 0.000 0.00 269.200 7.73 -0.18 0.31 0.000 0.200 0.000 0.00 269.250 7.64 1.79 0.02 0.000 0.200 0.000 0.00 269.300 7.56 2.04 -0.10 0.000 0.200 0.000 0.00 269.350 7.70 1.73 -0.02 0.000 0.200 0.000 0.00 269.400 7.49 0.20 -0.27 0.000 0.200 0.000 0.00 269.450 7.48 -1.92 -0.19 0.000 0.200 0.000 0.00 269.500 7.30 -1.44 -0.01 0.000 0.200 0.000 0.00 269.550 6.96 -1.46 -0.20 0.000 0.200 0.000 0.00 269.600 6.96 -2.05 -0.67 0.000 0.200 0.000 0.00 269.650 6.92 -0.87 -0.66 0.000 0.200 0.000 0.00 269.700 7.14 0.76 -0.52 0.000 0.200 0.000 0.00 269.750 6.92 0.44 -0.04 0.000 0.200 0.000 0.00 269.800 7.03 -3.33 -0.04 0.000 0.200 0.000 0.00 269.850 7.05 0.88 -0.06 0.000 0.200 0.000 0.00 269.900 6.79 0.92 -0.14 0.000 0.200 0.000 0.00 269.950 6.85 3.28 0.17 0.000 0.200 0.000 0.00 270.000 6.57 4.31 0.09 0.000 0.200 0.000 0.00 270.050 6.75 4.52 -0.08 0.000 0.200 0.000 0.00 270.100 6.48 4.06 0.32 0.000 0.200 0.000 0.00 270.150 6.50 2.86 0.38 0.000 0.200 0.000 0.00 270.200 6.89 2.34 0.67 0.000 0.200 0.000 0.00 270.250 7.30 4.75 0.91 0.000 0.200 0.000 0.00 270.300 7.59 1.66 0.85 0.000 0.200 0.000 0.00 270.350 7.17 3.47 0.53 0.000 0.200 0.000 0.00 270.400 7.37 4.54 0.71 0.000 0.200 0.000 0.00 270.450 7.35 3.76 0.90 0.000 0.200 0.000 0.00 270.500 7.00 4.90 0.49 0.000 0.200 0.000 0.00 270.550 6.83 2.02 0.25 0.000 0.200 0.000 0.00 270.600 7.07 0.91 0.55 0.000 0.200 0.000 0.00 270.650 7.01 1.72 0.54 0.000 0.200 0.000 0.00 270.700 7.23 1.05 0.66 0.000 0.200 0.000 0.00 270.750 7.53 1.85 0.62 0.000 0.200 0.000 0.00 270.800 7.65 0.84 0.97 0.000 0.200 0.000 0.00 270.850 7.38 -0.85 0.64 0.000 0.200 0.000 0.00 270.900 7.67 -0.15 0.68 0.000 0.200 0.000 0.00 270.950 7.33 0.00 0.78 0.000 0.200 0.000 0.00 271.000 7.25 -0.77 0.76 0.000 0.200 0.000 0.00 271.050 6.81 -2.28 0.91 0.000 0.200 0.000 0.00 271.100 6.95 -4.10 1.06 0.000 0.200 0.000 0.00 271.150 6.91 -2.73 1.08 0.000 0.200 0.000 0.00 271.200 6.99 -2.88 1.40 0.000 0.200 0.000 0.00 271.250 7.13 -4.39 1.21 0.000 0.200 0.000 0.00 271.300 7.19 -7.60 1.65 0.000 0.200 0.000 0.00 271.350 7.48 -7.34 1.63 0.000 0.200 0.000 0.00 271.400 7.63 -6.19 1.33 0.000 0.200 0.000 0.00 271.450 7.52 -6.73 1.33 0.000 0.200 0.000 0.00 271.500 7.31 -9.52 1.28 0.000 0.200 0.000 0.00 271.550 7.47 -11.00 1.42 0.000 0.200 0.000 0.00 271.600 7.78 -10.40 1.23 0.000 0.200 0.000 0.00 271.650 8.14 -7.47 1.24 0.000 0.200 0.000 0.00 271.700 8.16 -6.26 1.01 0.000 0.200 0.000 0.00 271.750 8.11 -6.71 1.03 0.000 0.200 0.000 0.00 271.800 7.98 -8.90 0.78 0.000 0.200 0.000 0.00 271.850 7.75 -7.00 0.80 0.000 0.200 0.000 0.00 271.900 7.85 -5.74 0.65 0.000 0.200 0.000 0.00 271.950 7.74 -4.65 0.72 0.000 0.200 0.000 0.00 272.000 7.69 -5.81 0.51 0.000 0.200 0.000 0.00 272.050 7.55 -5.53 0.34 0.000 0.200 0.000 0.00 272.100 7.52 -5.29 0.43 0.000 0.200 0.000 0.00 272.150 7.73 -4.02 0.39 0.000 0.200 0.000 0.00 272.200 7.39 -4.13 0.56 0.000 0.200 0.000 0.00 272.250 7.21 -3.30 0.74 0.000 0.200 0.000 0.00 272.300 6.99 -2.85 0.69 0.000 0.200 0.000 0.00 272.350 7.06 3.39 0.21 0.000 0.200 0.000 0.00 272.400 7.08 1.92 0.37 0.000 0.200 0.000 0.00 272.450 7.13 3.65 0.20 0.000 0.200 0.000 0.00 272.500 6.77 3.89 0.26 0.000 0.200 0.000 0.00 272.550 6.70 4.34 0.24 0.000 0.200 0.000 0.00 272.600 6.97 4.27 0.05 0.000 0.200 0.000 0.00 272.650 6.92 2.09 -0.04 0.000 0.200 0.000 0.00 272.700 6.94 0.34 -0.17 0.000 0.200 0.000 0.00 272.750 6.94 1.00 0.03 0.000 0.200 0.000 0.00 272.800 7.20 0.87 0.32 0.000 0.200 0.000 0.00 272.850 7.41 -1.40 0.77 0.000 0.200 0.000 0.00 272.900 7.27 -0.97 0.53 0.000 0.200 0.000 0.00 272.950 7.12 -0.72 0.55 0.000 0.200 0.000 0.00 273.000 6.95 -2.25 0.43 0.000 0.200 0.000 0.00 273.050 6.99 -2.26 0.19 0.000 0.200 0.000 0.00 273.100 6.99 -0.79 0.35 0.000 0.200 0.000 0.00 273.150 7.02 0.03 0.28 0.000 0.200 0.000 0.00 273.200 6.57 0.15 0.17 0.000 0.200 0.000 0.00 273.250 6.90 4.84 -0.29 0.000 0.200 0.000 0.00 273.300 7.00 4.04 -0.28 0.000 0.200 0.000 0.00 273.350 6.69 2.26 -0.42 0.000 0.200 0.000 0.00 273.400 6.95 3.39 -0.47 0.000 0.200 0.000 0.00 273.450 6.80 3.97 -0.80 0.000 0.200 0.000 0.00 273.500 6.48 1.74 -1.02 0.000 0.200 0.000 0.00 273.550 6.56 3.52 -0.53 0.000 0.200 0.000 0.00 273.600 6.84 3.26 -0.42 0.000 0.200 0.000 0.00 273.650 6.74 4.53 -0.37 0.000 0.200 0.000 0.00 273.700 7.06 7.03 -0.66 0.000 0.200 0.000 0.00 273.750 6.97 6.21 -0.69 0.000 0.200 0.000 0.00 273.800 7.12 6.37 -0.77 0.000 0.200 0.000 0.00 273.850 6.92 3.80 -0.18 0.000 0.200 0.000 0.00 273.900 7.03 0.91 0.20 0.000 0.200 0.000 0.00 273.950 7.17 3.41 0.01 0.000 0.200 0.000 0.00 274.000 7.21 5.68 0.34 0.000 0.200 0.000 0.00 274.050 6.95 3.70 0.72 0.000 0.200 0.000 0.00 274.100 6.88 3.42 0.46 0.000 0.200 0.000 0.00 274.150 6.97 2.36 0.46 0.000 0.200 0.000 0.00 274.200 7.16 1.61 0.49 0.000 0.200 0.000 0.00 274.250 7.15 1.25 0.54 0.000 0.200 0.000 0.00 274.300 7.20 -2.29 0.36 0.000 0.200 0.000 0.00 274.350 7.44 -0.55 0.27 0.000 0.200 0.000 0.00 274.400 7.02 1.76 0.37 0.000 0.200 0.000 0.00 274.450 6.99 -1.31 0.08 0.000 0.200 0.000 0.00 274.500 7.11 -0.92 -0.09 0.000 0.200 0.000 0.00 274.550 7.41 -1.79 0.00 0.000 0.200 0.000 0.00 274.600 7.35 -3.58 -0.02 0.000 0.200 0.000 0.00 274.650 7.15 -2.50 -0.18 0.000 0.200 0.000 0.00 274.700 6.90 -5.24 -0.25 0.000 0.200 0.000 0.00 274.750 6.81 -5.64 0.09 0.000 0.200 0.000 0.00 274.800 6.67 -5.13 0.27 0.000 0.200 0.000 0.00 274.850 6.83 -4.95 0.52 0.000 0.200 0.000 0.00 274.900 6.75 -4.83 0.55 0.000 0.200 0.000 0.00 274.950 6.97 -5.55 0.61 0.000 0.200 0.000 0.00 275.000 7.41 -3.54 0.19 0.000 0.200 0.000 0.00 275.050 7.38 -1.32 0.37 0.000 0.200 0.000 0.00 275.100 7.38 -0.50 0.55 0.000 0.200 0.000 0.00 275.150 7.12 -0.84 0.20 0.000 0.200 0.000 0.00 275.200 7.19 0.00 -0.11 0.000 0.200 0.000 0.00 275.250 6.76 0.39 -0.02 0.000 0.200 0.000 0.00 275.300 6.53 -0.87 0.35 0.000 0.200 0.000 0.00 275.350 6.20 1.70 0.27 0.000 0.200 0.000 0.00 275.400 6.43 2.60 0.29 0.000 0.200 0.000 0.00 275.450 6.81 1.70 0.30 0.000 0.200 0.000 0.00 275.500 6.87 2.95 0.50 0.000 0.200 0.000 0.00 275.550 6.96 3.00 0.58 0.000 0.200 0.000 0.00 275.600 7.00 1.24 0.45 0.000 0.200 0.000 0.00 275.650 6.74 2.25 0.82 0.000 0.200 0.000 0.00 275.700 6.59 -2.05 0.69 0.000 0.200 0.000 0.00 275.750 7.09 -0.27 0.43 0.000 0.200 0.000 0.00 275.800 7.41 -0.96 0.00 0.000 0.200 0.000 0.00 275.850 7.25 -2.47 0.07 0.000 0.200 0.000 0.00 275.900 7.58 -2.12 -0.01 0.000 0.200 0.000 0.00 275.950 7.53 -0.55 -0.31 0.000 0.200 0.000 0.00 276.000 7.26 -1.90 -0.31 0.000 0.200 0.000 0.00 276.050 7.21 -1.27 -0.21 0.000 0.200 0.000 0.00 276.100 7.32 -1.22 -0.39 0.000 0.200 0.000 0.00 276.150 7.48 -1.39 -0.16 0.000 0.200 0.000 0.00 276.200 7.58 -3.07 -0.20 0.000 0.200 0.000 0.00 276.250 7.59 1.47 -0.18 0.000 0.200 0.000 0.00 276.300 7.61 2.62 -0.40 0.000 0.200 0.000 0.00 276.350 7.34 0.53 -0.29 0.000 0.200 0.000 0.00 276.400 7.04 1.35 -0.30 0.000 0.200 0.000 0.00 276.450 6.68 1.44 -0.07 0.000 0.200 0.000 0.00 276.500 6.41 1.51 -0.32 0.000 0.200 0.000 0.00 276.550 6.50 -0.83 -0.75 0.000 0.200 0.000 0.00 276.600 6.40 -0.69 -0.50 0.000 0.200 0.000 0.00 276.650 6.37 2.16 -0.43 0.000 0.200 0.000 0.00 276.700 6.20 0.38 -0.10 0.000 0.200 0.000 0.00 276.750 6.19 -2.30 -0.17 0.000 0.200 0.000 0.00 276.800 6.59 -3.30 -0.15 0.000 0.200 0.000 0.00 276.850 6.61 -3.13 -0.02 0.000 0.200 0.000 0.00 276.900 6.41 -1.58 0.07 0.000 0.200 0.000 0.00 276.950 6.23 -3.33 -0.10 0.000 0.200 0.000 0.00 277.000 6.28 -5.01 0.17 0.000 0.200 0.000 0.00 277.050 6.35 -5.55 0.12 0.000 0.200 0.000 0.00 277.100 6.26 -4.46 -0.36 0.000 0.200 0.000 0.00 277.150 6.16 -4.40 -0.12 0.000 0.200 0.000 0.00 277.200 6.45 -7.14 0.01 0.000 0.200 0.000 0.00 277.250 6.54 -6.23 -0.24 0.000 0.200 0.000 0.00 277.300 6.61 -5.96 -0.45 0.000 0.200 0.000 0.00 277.350 6.74 -4.26 -0.33 0.000 0.200 0.000 0.00 277.400 6.85 -1.75 -0.75 0.000 0.200 0.000 0.00 277.450 7.03 -1.25 -0.54 0.000 0.200 0.000 0.00 277.500 7.01 -2.48 -1.11 0.000 0.200 0.000 0.00 277.550 6.94 -5.77 -1.24 0.000 0.200 0.000 0.00 277.600 6.93 -5.14 -1.38 0.000 0.200 0.000 0.00 277.650 6.73 -1.22 -1.16 0.000 0.200 0.000 0.00 277.700 6.46 0.22 -1.63 0.000 0.200 0.000 0.00 277.750 6.40 1.03 -1.59 0.000 0.200 0.000 0.00 277.800 6.75 0.24 -1.12 0.000 0.200 0.000 0.00 277.850 6.80 -1.27 -1.00 0.000 0.200 0.000 0.00 277.900 6.49 -0.59 -1.15 0.000 0.200 0.000 0.00 277.950 6.32 -4.75 -1.24 0.000 0.200 0.000 0.00 278.000 6.43 -6.99 -0.97 0.000 0.200 0.000 0.00 278.050 6.40 -8.54 -0.99 0.000 0.200 0.000 0.00 278.100 6.05 -5.10 -0.60 0.000 0.200 0.000 0.00 278.150 6.20 -6.23 -0.40 0.000 0.200 0.000 0.00 278.200 5.71 -5.76 -0.37 0.000 0.200 0.000 0.00 278.250 5.53 -3.19 -0.22 0.000 0.200 0.000 0.00 278.300 5.66 1.07 -0.48 0.000 0.200 0.000 0.00 278.350 5.70 4.77 -0.47 0.000 0.200 0.000 0.00 278.400 5.77 4.73 -0.71 0.000 0.200 0.000 0.00 278.450 6.00 5.15 -0.63 0.000 0.200 0.000 0.00 278.500 6.15 2.84 -0.48 0.000 0.200 0.000 0.00 278.550 6.05 5.92 -0.39 0.000 0.200 0.000 0.00 278.600 6.15 3.60 -0.29 0.000 0.200 0.000 0.00 278.650 6.33 4.64 -0.55 0.000 0.200 0.000 0.00 278.700 6.02 7.79 -1.03 0.000 0.200 0.000 0.00 278.750 5.92 6.75 -0.64 0.000 0.200 0.000 0.00 278.800 5.94 8.63 -0.51 0.000 0.200 0.000 0.00 278.850 5.88 8.15 -0.29 0.000 0.200 0.000 0.00 278.900 6.25 10.37 -0.36 0.000 0.200 0.000 0.00 278.950 5.86 9.56 -0.62 0.000 0.200 0.000 0.00 279.000 6.09 3.71 -0.56 0.000 0.200 0.000 0.00 279.050 6.02 -0.32 -0.63 0.000 0.200 0.000 0.00 279.100 6.05 1.50 -1.04 0.000 0.200 0.000 0.00 279.150 6.00 1.67 -1.20 0.000 0.200 0.000 0.00 279.200 5.91 0.35 -1.41 0.000 0.200 0.000 0.00 279.250 5.94 -0.56 -1.27 0.000 0.200 0.000 0.00 279.300 6.21 1.34 -1.46 0.000 0.200 0.000 0.00 279.350 6.29 2.42 -1.24 0.000 0.200 0.000 0.00 279.400 6.40 -1.47 -1.10 0.000 0.200 0.000 0.00 279.450 6.35 -2.84 -1.26 0.000 0.200 0.000 0.00 279.500 6.31 -0.95 -0.93 0.000 0.200 0.000 0.00 279.550 6.17 1.38 -0.94 0.000 0.200 0.000 0.00 279.600 5.76 2.43 -1.20 0.000 0.200 0.000 0.00 279.650 6.07 0.09 -1.06 0.000 0.200 0.000 0.00 279.700 6.16 2.06 -1.12 0.000 0.200 0.000 0.00 279.750 6.15 3.20 -1.21 0.000 0.200 0.000 0.00 279.800 5.65 3.63 -1.45 0.000 0.200 0.000 0.00 279.850 5.69 2.70 -1.26 0.000 0.200 0.000 0.00 279.900 5.85 2.51 -0.71 0.000 0.200 0.000 0.00 279.950 5.48 0.92 -0.72 0.000 0.200 0.000 0.00 280.000 5.64 0.41 -0.71 0.000 0.200 0.000 0.00 280.050 6.11 1.43 -0.82 0.000 0.200 0.000 0.00 280.100 5.91 1.16 -0.94 0.000 0.200 0.000 0.00 280.150 6.00 -0.05 -0.60 0.000 0.200 0.000 0.00 280.200 5.77 -2.92 -0.53 0.000 0.200 0.000 0.00 280.250 5.66 -0.71 -0.91 0.000 0.200 0.000 0.00 280.300 5.48 -2.68 -0.97 0.000 0.200 0.000 0.00 280.350 5.36 -4.17 -0.78 0.000 0.200 0.000 0.00 280.400 5.67 -3.43 -0.43 0.000 0.200 0.000 0.00 280.450 5.64 -2.26 -0.63 0.000 0.200 0.000 0.00 280.500 5.77 -6.76 -0.60 0.000 0.200 0.000 0.00 280.550 5.42 -2.37 -0.71 0.000 0.200 0.000 0.00 280.600 5.16 -4.79 -0.52 0.000 0.200 0.000 0.00 280.650 5.41 -4.89 -0.35 0.000 0.200 0.000 0.00 280.700 5.56 -4.73 -0.83 0.000 0.200 0.000 0.00 280.750 5.75 -5.93 -0.63 0.000 0.200 0.000 0.00 280.800 6.09 -4.72 -0.50 0.000 0.200 0.000 0.00 280.850 6.11 -5.82 -0.58 0.000 0.200 0.000 0.00 280.900 5.97 -7.66 -0.44 0.000 0.200 0.000 0.00 280.950 5.89 -4.35 -0.40 0.000 0.200 0.000 0.00 281.000 5.92 -5.66 -0.38 0.000 0.200 0.000 0.00 281.050 6.14 -3.19 -0.59 0.000 0.200 0.000 0.00 281.100 6.44 -2.44 -0.10 0.000 0.200 0.000 0.00 281.150 6.46 -0.86 -0.10 0.000 0.200 0.000 0.00 281.200 6.43 -1.66 -0.02 0.000 0.200 0.000 0.00 281.250 6.35 2.47 0.00 0.000 0.200 0.000 0.00 281.300 6.37 3.58 0.40 0.000 0.200 0.000 0.00 281.350 6.55 6.22 0.41 0.000 0.200 0.000 0.00 281.400 6.67 3.89 0.41 0.000 0.200 0.000 0.00 281.450 6.61 1.59 0.04 0.000 0.200 0.000 0.00 281.500 5.83 3.84 0.04 0.000 0.200 0.000 0.00 281.550 6.19 8.26 0.02 0.000 0.200 0.000 0.00 281.600 6.30 6.89 0.01 0.000 0.200 0.000 0.00 281.650 6.52 0.25 -0.39 0.000 0.200 0.000 0.00 281.700 6.34 -0.25 -0.45 0.000 0.200 0.000 0.00 281.750 6.01 2.84 -0.21 0.000 0.200 0.000 0.00 281.800 5.85 4.48 -0.12 0.000 0.200 0.000 0.00 281.850 6.10 4.25 -0.20 0.000 0.200 0.000 0.00 281.900 6.16 4.72 -0.06 0.000 0.200 0.000 0.00 281.950 5.97 1.60 -0.24 0.000 0.200 0.000 0.00 282.000 5.93 0.29 -0.39 0.000 0.200 0.000 0.00 282.050 5.75 2.02 -0.37 0.000 0.200 0.000 0.00 282.100 5.96 2.38 -0.02 0.000 0.200 0.000 0.00 282.150 5.97 3.81 -0.25 0.000 0.200 0.000 0.00 282.200 5.66 3.69 -0.01 0.000 0.200 0.000 0.00 282.250 5.59 -0.68 -0.08 0.000 0.200 0.000 0.00 282.300 5.74 -2.66 -0.60 0.000 0.200 0.000 0.00 282.350 5.71 -3.91 -0.25 0.000 0.200 0.000 0.00 282.400 5.95 -1.76 -0.14 0.000 0.200 0.000 0.00 282.450 6.33 -0.77 -0.09 0.000 0.200 0.000 0.00 282.500 6.61 0.17 0.14 0.000 0.200 0.000 0.00 282.550 6.71 -1.32 0.11 0.000 0.200 0.000 0.00 282.600 6.49 0.37 -0.03 0.000 0.200 0.000 0.00 282.650 6.34 1.97 -0.17 0.000 0.200 0.000 0.00 282.700 6.26 6.23 -0.17 0.000 0.200 0.000 0.00 282.750 6.55 3.58 0.02 0.000 0.200 0.000 0.00 282.800 6.65 1.09 0.09 0.000 0.200 0.000 0.00 282.850 6.43 2.01 -0.31 0.000 0.200 0.000 0.00 282.900 6.18 2.42 0.03 0.000 0.200 0.000 0.00 282.950 6.00 -1.77 0.24 0.000 0.200 0.000 0.00 283.000 6.20 -0.17 0.35 0.000 0.200 0.000 0.00 283.050 6.34 -1.27 0.11 0.000 0.200 0.000 0.00 283.100 6.60 -2.12 -0.05 0.000 0.200 0.000 0.00 283.150 6.58 -2.58 0.07 0.000 0.200 0.000 0.00 283.200 6.60 -2.61 0.23 0.000 0.200 0.000 0.00 283.250 6.15 -3.35 0.01 0.000 0.200 0.000 0.00 283.300 5.94 -3.19 0.12 0.000 0.200 0.000 0.00 283.350 5.98 -5.48 0.11 0.000 0.200 0.000 0.00 283.400 6.06 -3.89 0.40 0.000 0.200 0.000 0.00 283.450 5.93 -3.92 0.41 0.000 0.200 0.000 0.00 283.500 6.11 -1.76 0.20 0.000 0.200 0.000 0.00 283.550 6.35 -0.78 0.04 0.000 0.200 0.000 0.00 283.600 6.22 1.15 0.37 0.000 0.200 0.000 0.00 283.650 5.94 -0.60 0.70 0.000 0.200 0.000 0.00 283.700 5.76 -6.06 0.70 0.000 0.200 0.000 0.00 283.750 6.11 -4.99 0.32 0.000 0.200 0.000 0.00 283.800 6.27 -3.38 0.15 0.000 0.200 0.000 0.00 283.850 6.12 -0.25 0.63 0.000 0.200 0.000 0.00 283.900 6.42 1.21 0.92 0.000 0.200 0.000 0.00 283.950 6.39 -0.13 0.64 0.000 0.200 0.000 0.00 284.000 6.44 1.23 0.30 0.000 0.200 0.000 0.00 284.050 6.31 0.30 0.32 0.000 0.200 0.000 0.00 284.100 6.28 -0.53 0.46 0.000 0.200 0.000 0.00 284.150 6.23 3.20 0.19 0.000 0.200 0.000 0.00 284.200 6.25 1.82 0.41 0.000 0.200 0.000 0.00 284.250 6.07 0.73 -0.10 0.000 0.200 0.000 0.00 284.300 5.85 -1.87 -0.25 0.000 0.200 0.000 0.00 284.350 5.96 -0.31 -0.31 0.000 0.200 0.000 0.00 284.400 5.93 -0.64 -0.57 0.000 0.200 0.000 0.00 284.450 5.82 -0.28 -0.62 0.000 0.200 0.000 0.00 284.500 5.78 -2.56 -0.46 0.000 0.200 0.000 0.00 284.550 5.98 -0.02 -0.47 0.000 0.200 0.000 0.00 284.600 6.05 1.13 -0.60 0.000 0.200 0.000 0.00 284.650 5.81 -1.88 -0.38 0.000 0.200 0.000 0.00 284.700 5.78 -1.26 -0.25 0.000 0.200 0.000 0.00 284.750 6.00 0.98 -0.32 0.000 0.200 0.000 0.00 284.800 5.81 -0.23 -0.47 0.000 0.200 0.000 0.00 284.850 5.77 -1.70 -0.60 0.000 0.200 0.000 0.00 284.900 5.75 -2.24 -0.61 0.000 0.200 0.000 0.00 284.950 5.79 -1.71 -0.52 0.000 0.200 0.000 0.00 285.000 5.97 -1.64 -0.63 0.000 0.200 0.000 0.00 285.050 6.25 -0.54 -0.46 0.000 0.200 0.000 0.00 285.100 6.34 -3.37 -0.64 0.000 0.200 0.000 0.00 285.150 6.31 -3.94 -0.82 0.000 0.200 0.000 0.00 285.200 6.37 -4.36 -0.71 0.000 0.200 0.000 0.00 285.250 6.14 -9.24 -0.58 0.000 0.200 0.000 0.00 285.300 5.99 -8.35 -0.59 0.000 0.200 0.000 0.00 285.350 5.96 -6.92 -0.13 0.000 0.200 0.000 0.00 285.400 5.98 -3.62 0.00 0.000 0.200 0.000 0.00 285.450 5.95 -8.01 -0.38 0.000 0.200 0.000 0.00 285.500 6.25 -5.41 -0.54 0.000 0.200 0.000 0.00 285.550 6.41 -7.65 -0.61 0.000 0.200 0.000 0.00 285.600 6.34 -8.83 -0.75 0.000 0.200 0.000 0.00 285.650 6.44 -7.37 -0.69 0.000 0.200 0.000 0.00 285.700 6.40 -8.52 -0.50 0.000 0.200 0.000 0.00 285.750 6.55 -10.91 -0.65 0.000 0.200 0.000 0.00 285.800 6.46 -10.61 -0.77 0.000 0.200 0.000 0.00 285.850 6.34 -10.03 -0.54 0.000 0.200 0.000 0.00 285.900 6.13 -11.08 -0.84 0.000 0.200 0.000 0.00 285.950 6.21 -11.33 -1.29 0.000 0.200 0.000 0.00 286.000 5.75 -10.84 -1.53 0.000 0.200 0.000 0.00 286.050 5.58 -11.94 -1.13 0.000 0.200 0.000 0.00 286.100 5.73 -10.81 -0.98 0.000 0.200 0.000 0.00 286.150 5.77 -13.40 -1.27 0.000 0.200 0.000 0.00 286.200 5.92 -15.52 -1.01 0.000 0.200 0.000 0.00 286.250 5.79 -11.52 -1.07 0.000 0.200 0.000 0.00 286.300 5.63 -7.46 -1.34 0.000 0.200 0.000 0.00 286.350 5.66 -9.75 -1.31 0.000 0.200 0.000 0.00 286.400 5.61 -9.60 -1.01 0.000 0.200 0.000 0.00 286.450 5.81 -10.95 -1.19 0.000 0.200 0.000 0.00 286.500 5.63 -10.14 -1.03 0.000 0.200 0.000 0.00 286.550 5.71 -9.50 -0.94 0.000 0.200 0.000 0.00 286.600 5.60 -14.52 -0.84 0.000 0.200 0.000 0.00 286.650 5.64 -11.65 -0.68 0.000 0.200 0.000 0.00 286.700 5.83 -11.01 -0.70 0.000 0.200 0.000 0.00 286.750 5.60 -12.03 -0.14 0.000 0.200 0.000 0.00 286.800 5.37 -8.14 -0.51 0.000 0.200 0.000 0.00 286.850 5.59 -7.29 -0.74 0.000 0.200 0.000 0.00 286.900 5.79 -7.64 -0.84 0.000 0.200 0.000 0.00 286.950 5.76 -5.31 -0.76 0.000 0.200 0.000 0.00 287.000 6.00 -2.71 -1.06 0.000 0.200 0.000 0.00 287.050 5.82 -2.27 -1.64 0.000 0.200 0.000 0.00 287.100 6.18 -3.16 -1.67 0.000 0.200 0.000 0.00 287.150 6.35 -3.69 -1.34 0.000 0.200 0.000 0.00 287.200 6.45 -6.57 -1.48 0.000 0.200 0.000 0.00 287.250 6.89 -12.83 -1.69 0.000 0.200 0.000 0.00 287.300 6.98 -11.26 -1.45 0.000 0.200 0.000 0.00 287.350 6.73 -13.04 -1.11 0.000 0.200 0.000 0.00 287.400 6.67 -12.20 -0.92 0.000 0.200 0.000 0.00 287.450 6.39 -13.67 -0.88 0.000 0.200 0.000 0.00 287.500 6.24 -15.13 -0.87 0.000 0.200 0.000 0.00 287.550 6.43 -14.41 -0.96 0.000 0.200 0.000 0.00 287.600 6.74 -12.39 -1.08 0.000 0.200 0.000 0.00 287.650 6.89 -9.84 -1.30 0.000 0.200 0.000 0.00 287.700 6.85 -9.24 -1.25 0.000 0.200 0.000 0.00 287.750 6.56 -8.85 -1.34 0.000 0.200 0.000 0.00 287.800 6.41 -3.47 -1.52 0.000 0.200 0.000 0.00 287.850 6.50 -6.32 -1.44 0.000 0.200 0.000 0.00 287.900 6.61 -7.02 -1.35 0.000 0.200 0.000 0.00 287.950 6.77 -4.88 -1.49 0.000 0.200 0.000 0.00 288.000 6.54 -7.03 -1.01 0.000 0.200 0.000 0.00 288.050 6.66 -8.21 -1.29 0.000 0.200 0.000 0.00 288.100 6.67 -7.41 -1.57 0.000 0.200 0.000 0.00 288.150 6.88 -5.34 -1.68 0.000 0.200 0.000 0.00 288.200 7.01 -6.13 -1.21 0.000 0.200 0.000 0.00 288.250 6.83 -8.39 -1.34 0.000 0.200 0.000 0.00 288.300 6.59 -5.35 -1.17 0.000 0.200 0.000 0.00 288.350 6.80 -4.31 -1.65 0.000 0.200 0.000 0.00 288.400 6.96 -6.46 -1.84 0.000 0.200 0.000 0.00 288.450 6.85 -3.33 -1.72 0.000 0.200 0.000 0.00 288.500 7.05 -4.19 -1.89 0.000 0.200 0.000 0.00 288.550 6.95 -4.60 -1.98 0.000 0.200 0.000 0.00 288.600 6.56 -4.95 -1.92 0.000 0.200 0.000 0.00 288.650 6.49 -5.87 -1.77 0.000 0.200 0.000 0.00 288.700 6.46 -3.13 -1.74 0.000 0.200 0.000 0.00 288.750 6.48 0.49 -1.52 0.000 0.200 0.000 0.00 288.800 6.46 0.11 -1.52 0.000 0.200 0.000 0.00 288.850 6.70 1.96 -1.56 0.000 0.200 0.000 0.00 288.900 7.24 1.53 -2.06 0.000 0.200 0.000 0.00 288.950 7.30 1.02 -2.19 0.000 0.200 0.000 0.00 289.000 7.69 1.90 -1.85 0.000 0.200 0.000 0.00 289.050 7.93 -1.11 -1.82 0.000 0.200 0.000 0.00 289.100 7.75 -4.04 -1.70 0.000 0.200 0.000 0.00 289.150 7.99 -7.68 -1.97 0.000 0.200 0.000 0.00 289.200 8.11 -6.17 -1.84 0.000 0.200 0.000 0.00 289.250 8.16 -5.22 -1.71 0.000 0.200 0.000 0.00 289.300 8.37 -3.63 -1.44 0.000 0.200 0.000 0.00 289.350 8.36 0.71 -1.37 0.000 0.200 0.000 0.00 289.400 8.24 -1.04 -1.39 0.000 0.200 0.000 0.00 289.450 7.94 -2.47 -1.41 0.000 0.200 0.000 0.00 289.500 8.10 -2.05 -0.89 0.000 0.200 0.000 0.00 289.550 8.13 -1.33 -1.13 0.000 0.200 0.000 0.00 289.600 8.05 -1.55 -1.16 0.000 0.200 0.000 0.00 289.650 8.10 -0.01 -1.47 0.000 0.200 0.000 0.00 289.700 7.82 -1.25 -1.58 0.000 0.200 0.000 0.00 289.750 7.83 -3.50 -1.60 0.000 0.200 0.000 0.00 289.800 7.65 0.02 -1.17 0.000 0.200 0.000 0.00 289.850 7.81 -1.31 -1.29 0.000 0.200 0.000 0.00 289.900 7.83 -0.73 -1.31 0.000 0.200 0.000 0.00 289.950 7.39 -3.99 -1.20 0.000 0.200 0.000 0.00 290.000 7.53 -6.97 -1.13 0.000 0.200 0.000 0.00 290.050 7.75 -7.86 -0.83 0.000 0.200 0.000 0.00 290.100 7.51 -7.81 -0.59 0.000 0.200 0.000 0.00 290.150 7.88 -7.87 -0.50 0.000 0.200 0.000 0.00 290.200 7.80 -8.15 -0.95 0.000 0.200 0.000 0.00 290.250 7.58 -9.58 -1.33 0.000 0.200 0.000 0.00 290.300 7.67 -9.34 -1.42 0.000 0.200 0.000 0.00 290.350 7.70 -9.26 -1.30 0.000 0.200 0.000 0.00 290.400 7.59 -8.85 -1.36 0.000 0.200 0.000 0.00 290.450 7.97 -11.72 -1.56 0.000 0.200 0.000 0.00 290.500 8.44 -11.61 -1.70 0.000 0.200 0.000 0.00 290.550 8.31 -12.47 -1.62 0.000 0.200 0.000 0.00 290.600 8.46 -11.41 -1.42 0.000 0.200 0.000 0.00 290.650 8.68 -9.32 -1.28 0.000 0.200 0.000 0.00 290.700 8.45 -10.71 -1.55 0.000 0.200 0.000 0.00 290.750 8.17 -11.28 -1.29 0.000 0.200 0.000 0.00 290.800 8.10 -11.18 -1.00 0.000 0.200 0.000 0.00 290.850 8.03 -11.37 -1.13 0.000 0.200 0.000 0.00 290.900 7.53 -11.73 -0.93 0.000 0.200 0.000 0.00 290.950 7.48 -12.14 -0.91 0.000 0.200 0.000 0.00 291.000 7.51 -12.70 -1.39 0.000 0.200 0.000 0.00 291.050 7.55 -12.62 -1.31 0.000 0.200 0.000 0.00 291.100 7.67 -11.82 -1.47 0.000 0.200 0.000 0.00 291.150 7.76 -8.25 -1.30 0.000 0.200 0.000 0.00 291.200 7.74 -10.85 -1.35 0.000 0.200 0.000 0.00 291.250 7.64 -10.20 -1.29 0.000 0.200 0.000 0.00 291.300 7.59 -10.21 -1.20 0.000 0.200 0.000 0.00 291.350 7.84 -12.83 -0.96 0.000 0.200 0.000 0.00 291.400 8.20 -15.88 -0.62 0.000 0.200 0.000 0.00 291.450 8.18 -15.28 -0.66 0.000 0.200 0.000 0.00 291.500 7.79 -14.32 -0.75 0.000 0.200 0.000 0.00 291.550 7.63 -15.79 -0.28 0.000 0.200 0.000 0.00 291.600 7.60 -13.52 -0.48 0.000 0.200 0.000 0.00 291.650 7.72 -14.56 -0.53 0.000 0.200 0.000 0.00 291.700 7.70 -13.43 -0.61 0.000 0.200 0.000 0.00 291.750 7.75 -12.86 -0.70 0.000 0.200 0.000 0.00 291.800 7.74 -13.89 -0.84 0.000 0.200 0.000 0.00 291.850 7.27 -13.27 -0.61 0.000 0.200 0.000 0.00 291.900 7.38 -12.64 -0.47 0.000 0.200 0.000 0.00 291.950 7.25 -14.37 -0.55 0.000 0.200 0.000 0.00 292.000 7.65 -15.10 -1.11 0.000 0.200 0.000 0.00 292.050 7.96 -16.51 -1.46 0.000 0.200 0.000 0.00 292.100 8.02 -16.75 -1.18 0.000 0.200 0.000 0.00 292.150 8.22 -14.26 -1.39 0.000 0.200 0.000 0.00 292.200 8.16 -13.38 -1.13 0.000 0.200 0.000 0.00 292.250 8.08 -13.99 -0.60 0.000 0.200 0.000 0.00 292.300 8.16 -14.41 -0.58 0.000 0.200 0.000 0.00 292.350 8.36 -14.91 -0.71 0.000 0.200 0.000 0.00 292.400 8.17 -14.48 -0.86 0.000 0.200 0.000 0.00 292.450 8.31 -13.77 -1.26 0.000 0.200 0.000 0.00 292.500 8.30 -14.13 -1.28 0.000 0.200 0.000 0.00 292.550 8.61 -16.60 -1.38 0.000 0.200 0.000 0.00 292.600 8.61 -16.53 -0.95 0.000 0.200 0.000 0.00 292.650 8.56 -17.00 -1.06 0.000 0.200 0.000 0.00 292.700 8.47 -16.53 -1.19 0.000 0.200 0.000 0.00 292.750 8.58 -16.22 -1.18 0.000 0.200 0.000 0.00 292.800 8.55 -17.12 -1.00 0.000 0.200 0.000 0.00 292.850 8.80 -16.23 -0.99 0.000 0.200 0.000 0.00 292.900 8.78 -14.30 -1.05 0.000 0.200 0.000 0.00 292.950 8.24 -14.88 -1.05 0.000 0.200 0.000 0.00 293.000 8.11 -17.12 -1.02 0.000 0.200 0.000 0.00 293.050 8.10 -14.36 -0.81 0.000 0.200 0.000 0.00 293.100 7.97 -13.92 -0.91 0.000 0.200 0.000 0.00 293.150 7.88 -14.48 -1.34 0.000 0.200 0.000 0.00 293.200 8.02 -15.47 -1.31 0.000 0.200 0.000 0.00 293.250 8.27 -15.53 -1.02 0.000 0.200 0.000 0.00 293.300 8.59 -17.39 -1.30 0.000 0.200 0.000 0.00 293.350 8.20 -16.86 -1.29 0.000 0.200 0.000 0.00 293.400 8.05 -15.74 -1.56 0.000 0.200 0.000 0.00 293.450 8.07 -14.61 -1.69 0.000 0.200 0.000 0.00 293.500 8.19 -16.55 -1.60 0.000 0.200 0.000 0.00 293.550 8.25 -14.25 -1.72 0.000 0.200 0.000 0.00 293.600 8.24 -12.34 -1.74 0.000 0.200 0.000 0.00 293.650 8.52 -11.86 -1.49 0.000 0.200 0.000 0.00 293.700 8.41 -12.04 -1.58 0.000 0.200 0.000 0.00 293.750 8.25 -13.23 -1.52 0.000 0.200 0.000 0.00 293.800 8.04 -12.97 -1.51 0.000 0.200 0.000 0.00 293.850 8.01 -11.24 -1.63 0.000 0.200 0.000 0.00 293.900 8.35 -11.54 -1.57 0.000 0.200 0.000 0.00 293.950 8.47 -12.76 -1.37 0.000 0.200 0.000 0.00 294.000 8.24 -13.66 -0.97 0.000 0.200 0.000 0.00 294.050 8.29 -12.93 -0.79 0.000 0.200 0.000 0.00 294.100 8.34 -13.53 -1.01 0.000 0.200 0.000 0.00 294.150 8.42 -12.40 -0.95 0.000 0.200 0.000 0.00 294.200 8.41 -12.79 -0.92 0.000 0.200 0.000 0.00 294.250 8.18 -10.70 -1.02 0.000 0.200 0.000 0.00 294.300 8.21 -9.79 -0.78 0.000 0.200 0.000 0.00 294.350 8.13 -7.33 -0.85 0.000 0.200 0.000 0.00 294.400 8.19 -9.08 -0.44 0.000 0.200 0.000 0.00 294.450 8.60 -9.34 -0.20 0.000 0.200 0.000 0.00 294.500 8.67 -7.84 -0.24 0.000 0.200 0.000 0.00 294.550 8.17 -7.35 -0.02 0.000 0.200 0.000 0.00 294.600 7.66 -8.53 -0.15 0.000 0.200 0.000 0.00 294.650 7.84 -7.42 0.00 0.000 0.200 0.000 0.00 294.700 7.88 -4.33 -0.15 0.000 0.200 0.000 0.00 294.750 7.54 -3.62 -0.19 0.000 0.200 0.000 0.00 294.800 7.48 -4.65 -0.20 0.000 0.200 0.000 0.00 294.850 7.52 -7.30 -0.53 0.000 0.200 0.000 0.00 294.900 7.75 -5.64 -0.61 0.000 0.200 0.000 0.00 294.950 7.69 -2.87 -0.97 0.000 0.200 0.000 0.00 295.000 8.01 -3.65 -0.95 0.000 0.200 0.000 0.00 295.050 7.97 -2.33 -0.83 0.000 0.200 0.000 0.00 295.100 8.18 -2.85 -0.53 0.000 0.200 0.000 0.00 295.150 8.48 -1.23 -0.51 0.000 0.200 0.000 0.00 295.200 8.37 -1.15 -0.31 0.000 0.200 0.000 0.00 295.250 8.35 0.56 -0.46 0.000 0.200 0.000 0.00 295.300 8.32 1.40 -0.74 0.000 0.200 0.000 0.00 295.350 7.81 1.84 -0.89 0.000 0.200 0.000 0.00 295.400 7.38 2.73 -1.06 0.000 0.200 0.000 0.00 295.450 7.68 1.59 -1.09 0.000 0.200 0.000 0.00 295.500 7.77 3.89 -1.05 0.000 0.200 0.000 0.00 295.550 7.58 7.40 -1.32 0.000 0.200 0.000 0.00 295.600 7.68 6.43 -1.30 0.000 0.200 0.000 0.00 295.650 8.05 7.67 -1.06 0.000 0.200 0.000 0.00 295.700 8.37 7.00 -1.27 0.000 0.200 0.000 0.00 295.750 8.29 6.62 -1.17 0.000 0.200 0.000 0.00 295.800 8.37 5.26 -1.01 0.000 0.200 0.000 0.00 295.850 8.38 5.67 -0.65 0.000 0.200 0.000 0.00 295.900 8.52 3.61 -0.55 0.000 0.200 0.000 0.00 295.950 8.71 4.31 -0.39 0.000 0.200 0.000 0.00 296.000 8.86 3.80 -0.65 0.000 0.200 0.000 0.00 296.050 8.51 1.11 -0.51 0.000 0.200 0.000 0.00 296.100 8.51 1.22 -0.20 0.000 0.200 0.000 0.00 296.150 8.50 0.46 -0.04 0.000 0.200 0.000 0.00 296.200 8.71 1.00 0.13 0.000 0.200 0.000 0.00 296.250 8.64 0.47 0.00 0.000 0.200 0.000 0.00 296.300 8.56 -0.99 -0.06 0.000 0.200 0.000 0.00 296.350 8.59 0.45 -0.04 0.000 0.200 0.000 0.00 296.400 8.65 -1.42 0.13 0.000 0.200 0.000 0.00 296.450 8.66 0.29 0.25 0.000 0.200 0.000 0.00 296.500 8.42 -2.19 0.26 0.000 0.200 0.000 0.00 296.550 8.37 -2.05 0.32 0.000 0.200 0.000 0.00 296.600 8.09 -1.92 0.03 0.000 0.200 0.000 0.00 296.650 7.82 -5.78 -0.39 0.000 0.200 0.000 0.00 296.700 7.97 -5.65 -0.30 0.000 0.200 0.000 0.00 296.750 8.06 -5.28 0.13 0.000 0.200 0.000 0.00 296.800 8.09 -7.07 0.18 0.000 0.200 0.000 0.00 296.850 8.04 -5.37 -0.09 0.000 0.200 0.000 0.00 296.900 8.31 -4.42 -0.35 0.000 0.200 0.000 0.00 296.950 8.35 -3.02 -0.04 0.000 0.200 0.000 0.00 297.000 7.78 -2.16 0.12 0.000 0.200 0.000 0.00 297.050 7.95 -3.64 0.30 0.000 0.200 0.000 0.00 297.100 7.95 -5.38 0.32 0.000 0.200 0.000 0.00 297.150 8.07 -4.91 0.49 0.000 0.200 0.000 0.00 297.200 8.06 -6.11 0.56 0.000 0.200 0.000 0.00 297.250 7.92 -7.36 0.86 0.000 0.200 0.000 0.00 297.300 8.03 -6.09 0.67 0.000 0.200 0.000 0.00 297.350 8.40 -6.08 0.43 0.000 0.200 0.000 0.00 297.400 8.29 -5.58 0.56 0.000 0.200 0.000 0.00 297.450 8.24 -5.74 0.59 0.000 0.200 0.000 0.00 297.500 8.40 -6.66 0.53 0.000 0.200 0.000 0.00 297.550 8.58 -6.33 0.69 0.000 0.200 0.000 0.00 297.600 8.54 -4.65 0.43 0.000 0.200 0.000 0.00 297.650 8.41 -2.48 0.40 0.000 0.200 0.000 0.00 297.700 8.46 -3.09 0.84 0.000 0.200 0.000 0.00 297.750 8.46 -4.47 0.67 0.000 0.200 0.000 0.00 297.800 8.53 -5.34 0.37 0.000 0.200 0.000 0.00 297.850 8.74 -6.82 0.57 0.000 0.200 0.000 0.00 297.900 8.26 -3.31 0.45 0.000 0.200 0.000 0.00 297.950 8.38 -2.61 0.28 0.000 0.200 0.000 0.00 298.000 8.62 -2.45 0.04 0.000 0.200 0.000 0.00 298.050 8.69 -2.98 0.49 0.000 0.200 0.000 0.00 298.100 8.51 -0.59 0.66 0.000 0.200 0.000 0.00 298.150 8.40 -2.43 0.49 0.000 0.200 0.000 0.00 298.200 8.20 -1.53 0.16 0.000 0.200 0.000 0.00 298.250 8.53 -1.61 -0.07 0.000 0.200 0.000 0.00 298.300 8.56 -2.25 -0.13 0.000 0.200 0.000 0.00 298.350 8.39 -0.01 -0.22 0.000 0.200 0.000 0.00 298.400 8.23 0.60 -0.26 0.000 0.200 0.000 0.00 298.450 8.40 0.71 -0.05 0.000 0.200 0.000 0.00 298.500 8.37 1.02 -0.15 0.000 0.200 0.000 0.00 298.550 8.45 2.35 -0.16 0.000 0.200 0.000 0.00 298.600 8.21 3.80 -0.49 0.000 0.200 0.000 0.00 298.650 8.08 3.90 -0.37 0.000 0.200 0.000 0.00 298.700 8.05 2.90 -0.23 0.000 0.200 0.000 0.00 298.750 8.02 3.93 0.21 0.000 0.200 0.000 0.00 298.800 8.06 3.20 0.55 0.000 0.200 0.000 0.00 298.850 7.79 2.63 0.19 0.000 0.200 0.000 0.00 298.900 7.34 1.65 -0.09 0.000 0.200 0.000 0.00 298.950 7.39 2.22 -0.08 0.000 0.200 0.000 0.00 299.000 7.43 2.26 -0.15 0.000 0.200 0.000 0.00 299.050 7.77 4.01 -0.35 0.000 0.200 0.000 0.00 299.100 7.84 2.34 -0.76 0.000 0.200 0.000 0.00 299.150 7.92 0.03 -1.04 0.000 0.200 0.000 0.00 299.200 8.08 0.20 -1.09 0.000 0.200 0.000 0.00 299.250 7.74 1.76 -0.76 0.000 0.200 0.000 0.00 299.300 7.69 2.76 -0.93 0.000 0.200 0.000 0.00 299.350 7.26 4.66 -1.02 0.000 0.200 0.000 0.00 299.400 7.17 2.16 -0.87 0.000 0.200 0.000 0.00 299.450 7.45 1.28 -0.95 0.000 0.200 0.000 0.00 299.500 7.59 2.47 -1.05 0.000 0.200 0.000 0.00 299.550 7.56 0.89 -0.92 0.000 0.200 0.000 0.00 299.600 7.03 0.14 -0.57 0.000 0.200 0.000 0.00 299.650 7.16 -2.30 -0.72 0.000 0.200 0.000 0.00 299.700 7.48 0.66 -0.49 0.000 0.200 0.000 0.00 299.750 7.58 6.30 -0.25 0.000 0.200 0.000 0.00 299.800 7.81 5.23 0.04 0.000 0.200 0.000 0.00 299.850 7.91 3.07 -0.16 0.000 0.200 0.000 0.00 299.900 7.93 3.52 0.20 0.000 0.200 0.000 0.00 299.950 7.48 3.95 0.24 0.000 0.200 0.000 0.00 300.000 7.44 3.45 0.06 0.000 0.200 0.000 0.00 300.050 7.64 5.60 0.07 0.000 0.200 0.000 0.00 300.100 8.02 5.74 -0.01 0.000 0.200 0.000 0.00 300.150 7.85 6.01 -0.11 0.000 0.200 0.000 0.00 300.200 7.43 4.72 0.02 0.000 0.200 0.000 0.00 300.250 7.49 5.64 -0.16 0.000 0.200 0.000 0.00 300.300 7.12 7.20 -0.21 0.000 0.200 0.000 0.00 300.350 7.22 6.31 -0.51 0.000 0.200 0.000 0.00 300.400 7.20 4.27 -0.62 0.000 0.200 0.000 0.00 300.450 7.12 5.07 -0.10 0.000 0.200 0.000 0.00 300.500 7.20 5.61 -0.19 0.000 0.200 0.000 0.00 300.550 7.28 10.60 -0.20 0.000 0.200 0.000 0.00 300.600 7.11 9.79 -0.24 0.000 0.200 0.000 0.00 300.650 7.08 11.02 0.06 0.000 0.200 0.000 0.00 300.700 6.92 14.11 -0.06 0.000 0.200 0.000 0.00 300.750 7.30 11.50 -0.38 0.000 0.200 0.000 0.00 300.800 7.42 10.56 -0.16 0.000 0.200 0.000 0.00 300.850 7.30 9.82 -0.24 0.000 0.200 0.000 0.00 300.900 7.51 10.70 -0.53 0.000 0.200 0.000 0.00 300.950 7.43 11.98 -0.41 0.000 0.200 0.000 0.00 301.000 7.60 11.86 -0.10 0.000 0.200 0.000 0.00 301.050 7.73 14.76 -0.02 0.000 0.200 0.000 0.00 301.100 7.61 13.96 0.29 0.000 0.200 0.000 0.00 301.150 7.60 11.31 0.38 0.000 0.200 0.000 0.00 301.200 7.74 11.28 0.67 0.000 0.200 0.000 0.00 301.250 7.88 14.51 0.70 0.000 0.200 0.000 0.00 301.300 7.72 16.51 0.84 0.000 0.200 0.000 0.00 301.350 7.63 14.83 0.69 0.000 0.200 0.000 0.00 301.400 7.87 11.20 0.74 0.000 0.200 0.000 0.00 301.450 7.83 10.54 0.55 0.000 0.200 0.000 0.00 301.500 8.25 13.03 0.74 0.000 0.200 0.000 0.00 301.550 8.01 12.24 0.51 0.000 0.200 0.000 0.00 301.600 8.10 14.81 0.29 0.000 0.200 0.000 0.00 301.650 7.95 15.09 0.60 0.000 0.200 0.000 0.00 301.700 8.09 14.76 0.94 0.000 0.200 0.000 0.00 301.750 8.09 13.19 0.85 0.000 0.200 0.000 0.00 301.800 7.52 13.04 1.04 0.000 0.200 0.000 0.00 301.850 7.55 15.03 1.29 0.000 0.200 0.000 0.00 301.900 7.79 14.86 1.31 0.000 0.200 0.000 0.00 301.950 7.75 15.16 1.11 0.000 0.200 0.000 0.00 302.000 7.52 16.59 0.96 0.000 0.200 0.000 0.00 302.050 7.21 15.28 1.32 0.000 0.200 0.000 0.00 302.100 7.32 15.09 1.11 0.000 0.200 0.000 0.00 302.150 7.06 16.76 1.04 0.000 0.200 0.000 0.00 302.200 7.24 16.52 1.23 0.000 0.200 0.000 0.00 302.250 7.37 14.54 0.97 0.000 0.200 0.000 0.00 302.300 7.36 15.98 0.90 0.000 0.200 0.000 0.00 302.350 7.36 15.78 0.61 0.000 0.200 0.000 0.00 302.400 7.45 18.79 0.44 0.000 0.200 0.000 0.00 302.450 7.50 16.67 0.55 0.000 0.200 0.000 0.00 302.500 7.46 18.52 0.41 0.000 0.200 0.000 0.00 302.550 7.25 16.23 0.73 0.000 0.200 0.000 0.00 302.600 7.14 16.43 0.51 0.000 0.200 0.000 0.00 302.650 7.02 14.76 0.26 0.000 0.200 0.000 0.00 302.700 6.86 14.95 0.67 0.000 0.200 0.000 0.00 302.750 7.12 14.23 0.64 0.000 0.200 0.000 0.00 302.800 6.96 13.07 0.92 0.000 0.200 0.000 0.00 302.850 7.23 10.96 1.01 0.000 0.200 0.000 0.00 302.900 7.15 10.47 1.13 0.000 0.200 0.000 0.00 302.950 7.13 8.88 1.18 0.000 0.200 0.000 0.00 303.000 6.93 10.07 1.17 0.000 0.200 0.000 0.00 303.050 7.01 9.98 0.77 0.000 0.200 0.000 0.00 303.100 6.82 11.44 0.46 0.000 0.200 0.000 0.00 303.150 6.83 11.70 0.45 0.000 0.200 0.000 0.00 303.200 6.66 11.51 0.53 0.000 0.200 0.000 0.00 303.250 6.80 10.48 0.89 0.000 0.200 0.000 0.00 303.300 6.81 7.66 0.70 0.000 0.200 0.000 0.00 303.350 6.85 6.93 0.80 0.000 0.200 0.000 0.00 303.400 7.07 7.30 0.94 0.000 0.200 0.000 0.00 303.450 7.04 9.42 0.78 0.000 0.200 0.000 0.00 303.500 6.88 7.77 1.23 0.000 0.200 0.000 0.00 303.550 7.02 10.65 0.99 0.000 0.200 0.000 0.00 303.600 7.12 12.58 1.08 0.000 0.200 0.000 0.00 303.650 7.55 13.92 1.34 0.000 0.200 0.000 0.00 303.700 7.31 12.16 1.33 0.000 0.200 0.000 0.00 303.750 7.25 11.83 1.49 0.000 0.200 0.000 0.00 303.800 7.16 13.61 1.27 0.000 0.200 0.000 0.00 303.850 7.15 12.33 1.24 0.000 0.200 0.000 0.00 303.900 7.20 16.58 1.09 0.000 0.200 0.000 0.00 303.950 7.21 15.63 0.91 0.000 0.200 0.000 0.00 304.000 7.32 16.34 1.04 0.000 0.200 0.000 0.00 304.050 7.47 16.96 1.59 0.000 0.200 0.000 0.00 304.100 7.70 16.91 1.40 0.000 0.200 0.000 0.00 304.150 7.65 17.19 1.20 0.000 0.200 0.000 0.00 304.200 7.53 18.17 0.82 0.000 0.200 0.000 0.00 304.250 7.27 19.03 0.54 0.000 0.200 0.000 0.00 304.300 7.25 19.95 1.03 0.000 0.200 0.000 0.00 304.350 7.03 16.44 0.83 0.000 0.200 0.000 0.00 304.400 6.95 15.06 0.77 0.000 0.200 0.000 0.00 304.450 7.22 14.72 0.67 0.000 0.200 0.000 0.00 304.500 7.07 14.43 1.00 0.000 0.200 0.000 0.00 304.550 6.50 9.57 1.00 0.000 0.200 0.000 0.00 304.600 6.53 8.46 0.84 0.000 0.200 0.000 0.00 304.650 6.29 5.12 1.04 0.000 0.200 0.000 0.00 304.700 6.25 3.24 0.77 0.000 0.200 0.000 0.00 304.750 6.11 3.32 0.80 0.000 0.200 0.000 0.00 304.800 6.16 0.59 0.87 0.000 0.200 0.000 0.00 304.850 6.13 4.58 0.94 0.000 0.200 0.000 0.00 304.900 6.00 3.55 1.07 0.000 0.200 0.000 0.00 304.950 5.97 6.51 1.01 0.000 0.200 0.000 0.00 305.000 6.17 5.08 0.52 0.000 0.200 0.000 0.00 305.050 6.06 4.55 0.61 0.000 0.200 0.000 0.00 305.100 6.33 6.79 0.79 0.000 0.200 0.000 0.00 305.150 6.62 6.21 0.93 0.000 0.200 0.000 0.00 305.200 6.80 7.49 1.02 0.000 0.200 0.000 0.00 305.250 6.63 8.26 1.36 0.000 0.200 0.000 0.00 305.300 6.95 9.05 1.61 0.000 0.200 0.000 0.00 305.350 6.70 10.82 1.69 0.000 0.200 0.000 0.00 305.400 6.73 9.54 1.41 0.000 0.200 0.000 0.00 305.450 6.59 10.48 1.35 0.000 0.200 0.000 0.00 305.500 6.31 6.80 1.40 0.000 0.200 0.000 0.00 305.550 6.28 9.65 1.23 0.000 0.200 0.000 0.00 305.600 6.35 9.40 0.91 0.000 0.200 0.000 0.00 305.650 6.13 9.57 0.75 0.000 0.200 0.000 0.00 305.700 5.88 10.61 1.06 0.000 0.200 0.000 0.00 305.750 6.32 14.41 0.74 0.000 0.200 0.000 0.00 305.800 6.35 10.78 0.79 0.000 0.200 0.000 0.00 305.850 6.18 11.74 0.98 0.000 0.200 0.000 0.00 305.900 6.43 14.71 1.41 0.000 0.200 0.000 0.00 305.950 6.45 12.39 1.03 0.000 0.200 0.000 0.00 306.000 6.37 7.07 0.89 0.000 0.200 0.000 0.00 306.050 6.32 9.17 1.14 0.000 0.200 0.000 0.00 306.100 6.22 11.39 1.08 0.000 0.200 0.000 0.00 306.150 6.06 10.41 0.94 0.000 0.200 0.000 0.00 306.200 6.10 8.33 0.94 0.000 0.200 0.000 0.00 306.250 5.97 12.35 0.87 0.000 0.200 0.000 0.00 306.300 6.02 14.43 0.80 0.000 0.200 0.000 0.00 306.350 5.90 12.63 0.76 0.000 0.200 0.000 0.00 306.400 5.74 11.59 0.72 0.000 0.200 0.000 0.00 306.450 5.45 10.67 0.60 0.000 0.200 0.000 0.00 306.500 5.03 7.89 0.54 0.000 0.200 0.000 0.00 306.550 5.28 4.84 0.51 0.000 0.200 0.000 0.00 306.600 5.37 9.77 0.77 0.000 0.200 0.000 0.00 306.650 5.43 11.39 1.08 0.000 0.200 0.000 0.00 306.700 5.64 10.71 0.61 0.000 0.200 0.000 0.00 306.750 5.42 8.13 0.59 0.000 0.200 0.000 0.00 306.800 5.37 8.94 0.80 0.000 0.200 0.000 0.00 306.850 5.63 6.59 0.25 0.000 0.200 0.000 0.00 306.900 5.85 8.52 0.34 0.000 0.200 0.000 0.00 306.950 5.80 7.89 0.75 0.000 0.200 0.000 0.00 307.000 5.73 8.47 0.53 0.000 0.200 0.000 0.00 307.050 5.39 5.81 0.89 0.000 0.200 0.000 0.00 307.100 5.29 2.24 0.78 0.000 0.200 0.000 0.00 307.150 5.30 3.29 0.87 0.000 0.200 0.000 0.00 307.200 5.58 2.00 0.83 0.000 0.200 0.000 0.00 307.250 5.52 0.36 1.31 0.000 0.200 0.000 0.00 307.300 5.35 1.60 1.39 0.000 0.200 0.000 0.00 307.350 5.50 -1.65 0.82 0.000 0.200 0.000 0.00 307.400 5.43 -1.13 0.95 0.000 0.200 0.000 0.00 307.450 5.60 1.68 0.91 0.000 0.200 0.000 0.00 307.500 5.54 -0.27 0.68 0.000 0.200 0.000 0.00 307.550 5.27 1.67 1.08 0.000 0.200 0.000 0.00 307.600 5.30 5.68 1.30 0.000 0.200 0.000 0.00 307.650 5.46 6.61 1.14 0.000 0.200 0.000 0.00 307.700 5.44 8.88 1.27 0.000 0.200 0.000 0.00 307.750 5.39 9.71 1.03 0.000 0.200 0.000 0.00 307.800 5.30 6.27 1.16 0.000 0.200 0.000 0.00 307.850 5.39 4.08 0.99 0.000 0.200 0.000 0.00 307.900 5.57 7.92 0.74 0.000 0.200 0.000 0.00 307.950 5.56 3.81 0.72 0.000 0.200 0.000 0.00 308.000 5.58 2.17 0.80 0.000 0.200 0.000 0.00 308.050 5.47 0.41 1.07 0.000 0.200 0.000 0.00 308.100 5.62 0.25 1.06 0.000 0.200 0.000 0.00 308.150 5.46 0.35 1.29 0.000 0.200 0.000 0.00 308.200 5.89 0.92 0.79 0.000 0.200 0.000 0.00 308.250 5.80 3.44 0.75 0.000 0.200 0.000 0.00 308.300 6.11 5.77 0.19 0.000 0.200 0.000 0.00 308.350 6.42 7.55 -0.13 0.000 0.200 0.000 0.00 308.400 6.59 3.90 0.08 0.000 0.200 0.000 0.00 308.450 6.59 4.50 0.02 0.000 0.200 0.000 0.00 308.500 6.55 3.10 0.15 0.000 0.200 0.000 0.00 308.550 6.34 4.73 0.47 0.000 0.200 0.000 0.00 308.600 6.54 2.37 0.32 0.000 0.200 0.000 0.00 308.650 6.50 3.88 0.28 0.000 0.200 0.000 0.00 308.700 6.41 -0.43 0.39 0.000 0.200 0.000 0.00 308.750 6.63 0.69 0.31 0.000 0.200 0.000 0.00 308.800 6.61 2.42 0.05 0.000 0.200 0.000 0.00 308.850 6.19 6.04 0.01 0.000 0.200 0.000 0.00 308.900 5.96 5.14 0.14 0.000 0.200 0.000 0.00 308.950 5.67 7.28 0.43 0.000 0.200 0.000 0.00 309.000 5.72 6.10 0.34 0.000 0.200 0.000 0.00 309.050 5.93 7.63 0.14 0.000 0.200 0.000 0.00 309.100 5.75 5.38 0.30 0.000 0.200 0.000 0.00 309.150 5.60 0.31 0.32 0.000 0.200 0.000 0.00 309.200 5.73 4.95 0.55 0.000 0.200 0.000 0.00 309.250 5.78 5.30 1.01 0.000 0.200 0.000 0.00 309.300 5.52 4.88 1.17 0.000 0.200 0.000 0.00 309.350 5.68 4.45 1.23 0.000 0.200 0.000 0.00 309.400 5.96 2.94 1.16 0.000 0.200 0.000 0.00 309.450 5.76 1.15 0.85 0.000 0.200 0.000 0.00 309.500 5.66 2.48 0.87 0.000 0.200 0.000 0.00 309.550 5.95 1.77 0.91 0.000 0.200 0.000 0.00 309.600 5.94 1.46 0.56 0.000 0.200 0.000 0.00 309.650 5.89 1.51 0.45 0.000 0.200 0.000 0.00 309.700 5.95 3.06 0.66 0.000 0.200 0.000 0.00 309.750 5.78 3.49 0.57 0.000 0.200 0.000 0.00 309.800 5.88 0.15 0.42 0.000 0.200 0.000 0.00 309.850 6.26 -1.15 0.58 0.000 0.200 0.000 0.00 309.900 6.62 -2.31 0.71 0.000 0.200 0.000 0.00 309.950 6.66 1.48 0.47 0.000 0.200 0.000 0.00 310.000 6.69 3.80 -0.02 0.000 0.200 0.000 0.00 310.050 6.80 1.90 -0.02 0.000 0.200 0.000 0.00 310.100 6.56 1.07 -0.24 0.000 0.200 0.000 0.00 310.150 6.67 1.75 -0.05 0.000 0.200 0.000 0.00 310.200 6.56 3.78 0.26 0.000 0.200 0.000 0.00 310.250 6.64 3.85 0.37 0.000 0.200 0.000 0.00 310.300 6.62 4.57 0.59 0.000 0.200 0.000 0.00 310.350 6.86 4.79 0.54 0.000 0.200 0.000 0.00 310.400 7.16 4.49 0.59 0.000 0.200 0.000 0.00 310.450 7.63 7.31 0.56 0.000 0.200 0.000 0.00 310.500 7.59 4.54 0.40 0.000 0.200 0.000 0.00 310.550 7.46 3.82 0.73 0.000 0.200 0.000 0.00 310.600 7.42 4.08 0.77 0.000 0.200 0.000 0.00 310.650 7.47 6.51 0.61 0.000 0.200 0.000 0.00 310.700 7.44 9.07 0.34 0.000 0.200 0.000 0.00 310.750 7.87 6.79 0.48 0.000 0.200 0.000 0.00 310.800 7.38 1.78 0.53 0.000 0.200 0.000 0.00 310.850 7.21 1.36 0.52 0.000 0.200 0.000 0.00 310.900 7.15 0.43 0.35 0.000 0.200 0.000 0.00 310.950 7.36 2.43 -0.01 0.000 0.200 0.000 0.00 311.000 7.39 1.70 -0.20 0.000 0.200 0.000 0.00 311.050 7.25 -1.16 -0.06 0.000 0.200 0.000 0.00 311.100 6.95 0.70 -0.10 0.000 0.200 0.000 0.00 311.150 7.10 -0.72 -0.12 0.000 0.200 0.000 0.00 311.200 7.05 1.61 -0.29 0.000 0.200 0.000 0.00 311.250 7.08 1.95 0.01 0.000 0.200 0.000 0.00 311.300 7.27 2.87 0.07 0.000 0.200 0.000 0.00 311.350 7.40 3.17 0.04 0.000 0.200 0.000 0.00 311.400 7.39 1.35 0.34 0.000 0.200 0.000 0.00 311.450 7.49 2.30 0.47 0.000 0.200 0.000 0.00 311.500 7.54 1.09 0.64 0.000 0.200 0.000 0.00 311.550 7.53 -0.40 0.71 0.000 0.200 0.000 0.00 311.600 7.72 1.39 0.57 0.000 0.200 0.000 0.00 311.650 7.75 3.91 0.90 0.000 0.200 0.000 0.00 311.700 7.89 3.94 0.54 0.000 0.200 0.000 0.00 311.750 7.49 5.78 0.66 0.000 0.200 0.000 0.00 311.800 7.50 5.80 0.59 0.000 0.200 0.000 0.00 311.850 7.38 6.02 0.42 0.000 0.200 0.000 0.00 311.900 7.42 4.07 0.29 0.000 0.200 0.000 0.00 311.950 7.07 4.30 0.39 0.000 0.200 0.000 0.00 312.000 7.13 5.72 0.55 0.000 0.200 0.000 0.00 312.050 7.05 7.34 0.72 0.000 0.200 0.000 0.00 312.100 7.00 7.08 0.80 0.000 0.200 0.000 0.00 312.150 6.98 7.50 0.51 0.000 0.200 0.000 0.00 312.200 6.75 4.97 0.75 0.000 0.200 0.000 0.00 312.250 6.69 2.42 0.68 0.000 0.200 0.000 0.00 312.300 7.02 7.06 0.54 0.000 0.200 0.000 0.00 312.350 6.87 7.98 0.65 0.000 0.200 0.000 0.00 312.400 6.66 7.02 0.77 0.000 0.200 0.000 0.00 312.450 6.89 4.30 1.25 0.000 0.200 0.000 0.00 312.500 7.03 3.37 1.26 0.000 0.200 0.000 0.00 312.550 6.78 4.68 1.03 0.000 0.200 0.000 0.00 312.600 6.48 4.77 1.23 0.000 0.200 0.000 0.00 312.650 6.57 4.42 1.13 0.000 0.200 0.000 0.00 312.700 6.80 4.74 1.03 0.000 0.200 0.000 0.00 312.750 7.00 4.41 1.07 0.000 0.200 0.000 0.00 312.800 6.72 1.19 0.91 0.000 0.200 0.000 0.00 312.850 6.84 1.17 0.62 0.000 0.200 0.000 0.00 312.900 6.68 -0.75 0.66 0.000 0.200 0.000 0.00 312.950 6.91 -3.23 0.76 0.000 0.200 0.000 0.00 313.000 7.01 -5.59 0.84 0.000 0.200 0.000 0.00 313.050 7.35 -5.00 0.39 0.000 0.200 0.000 0.00 313.100 7.54 -4.94 0.72 0.000 0.200 0.000 0.00 313.150 7.35 -3.57 0.79 0.000 0.200 0.000 0.00 313.200 7.59 -4.48 0.67 0.000 0.200 0.000 0.00 313.250 7.57 -5.61 0.83 0.000 0.200 0.000 0.00 313.300 7.58 -5.00 0.74 0.000 0.200 0.000 0.00 313.350 7.65 -4.03 0.86 0.000 0.200 0.000 0.00 313.400 7.60 -2.19 0.87 0.000 0.200 0.000 0.00 313.450 7.34 -2.91 1.19 0.000 0.200 0.000 0.00 313.500 7.27 -0.76 1.19 0.000 0.200 0.000 0.00 313.550 6.81 -3.26 1.13 0.000 0.200 0.000 0.00 313.600 6.86 -6.43 1.19 0.000 0.200 0.000 0.00 313.650 6.85 -3.29 0.94 0.000 0.200 0.000 0.00 313.700 6.64 -8.13 0.82 0.000 0.200 0.000 0.00 313.750 6.76 -6.09 0.85 0.000 0.200 0.000 0.00 313.800 6.53 -6.51 1.13 0.000 0.200 0.000 0.00 313.850 6.31 -7.11 1.06 0.000 0.200 0.000 0.00 313.900 6.24 -6.41 0.87 0.000 0.200 0.000 0.00 313.950 5.88 -7.30 0.85 0.000 0.200 0.000 0.00 314.000 6.26 -8.42 1.37 0.000 0.200 0.000 0.00 314.050 6.65 -11.04 1.31 0.000 0.200 0.000 0.00 314.100 6.89 -14.48 1.28 0.000 0.200 0.000 0.00 314.150 6.74 -11.97 1.21 0.000 0.200 0.000 0.00 314.200 6.75 -10.69 1.17 0.000 0.200 0.000 0.00 314.250 6.85 -9.08 1.49 0.000 0.200 0.000 0.00 314.300 6.79 -9.66 0.97 0.000 0.200 0.000 0.00 314.350 7.37 -11.15 0.66 0.000 0.200 0.000 0.00 314.400 7.35 -8.77 0.82 0.000 0.200 0.000 0.00 314.450 7.48 -8.20 0.71 0.000 0.200 0.000 0.00 314.500 7.74 -9.36 0.99 0.000 0.200 0.000 0.00 314.550 7.83 -8.29 0.47 0.000 0.200 0.000 0.00 314.600 8.07 -8.23 0.17 0.000 0.200 0.000 0.00 314.650 7.70 -8.03 0.03 0.000 0.200 0.000 0.00 314.700 7.80 -7.24 0.12 0.000 0.200 0.000 0.00 314.750 7.59 -10.95 0.00 0.000 0.200 0.000 0.00 314.800 7.52 -11.79 -0.02 0.000 0.200 0.000 0.00 314.850 7.49 -9.45 0.36 0.000 0.200 0.000 0.00 314.900 7.70 -8.87 0.23 0.000 0.200 0.000 0.00 314.950 7.50 -9.08 0.37 0.000 0.200 0.000 0.00 315.000 7.67 -8.33 0.07 0.000 0.200 0.000 0.00 315.050 7.59 -11.16 0.53 0.000 0.200 0.000 0.00 315.100 7.36 -14.11 0.87 0.000 0.200 0.000 0.00 315.150 6.93 -14.99 1.10 0.000 0.200 0.000 0.00 315.200 6.85 -14.18 1.10 0.000 0.200 0.000 0.00 315.250 6.88 -11.93 0.71 0.000 0.200 0.000 0.00 315.300 6.90 -8.35 0.59 0.000 0.200 0.000 0.00 315.350 6.93 -6.32 0.53 0.000 0.200 0.000 0.00 315.400 7.36 -10.94 0.44 0.000 0.200 0.000 0.00 315.450 7.25 -14.29 0.28 0.000 0.200 0.000 0.00 315.500 7.38 -12.15 0.60 0.000 0.200 0.000 0.00 315.550 7.42 -13.64 0.54 0.000 0.200 0.000 0.00 315.600 7.49 -9.64 0.59 0.000 0.200 0.000 0.00 315.650 6.99 -6.80 0.24 0.000 0.200 0.000 0.00 315.700 6.90 -5.85 0.27 0.000 0.200 0.000 0.00 315.750 6.69 -4.75 0.92 0.000 0.200 0.000 0.00 315.800 6.19 -5.46 0.99 0.000 0.200 0.000 0.00 315.850 6.30 -6.88 1.14 0.000 0.200 0.000 0.00 315.900 6.30 -5.76 1.53 0.000 0.200 0.000 0.00 315.950 6.40 -6.88 1.13 0.000 0.200 0.000 0.00 316.000 6.09 -5.41 0.55 0.000 0.200 0.000 0.00 316.050 6.01 -5.67 0.66 0.000 0.200 0.000 0.00 316.100 6.37 -4.49 1.03 0.000 0.200 0.000 0.00 316.150 6.44 -5.00 0.97 0.000 0.200 0.000 0.00 316.200 6.55 -2.51 0.76 0.000 0.200 0.000 0.00 316.250 6.86 0.03 0.79 0.000 0.200 0.000 0.00 316.300 6.58 -2.14 0.89 0.000 0.200 0.000 0.00 316.350 6.55 -2.76 0.73 0.000 0.200 0.000 0.00 316.400 6.59 -3.57 0.71 0.000 0.200 0.000 0.00 316.450 6.31 -2.01 0.68 0.000 0.200 0.000 0.00 316.500 6.31 -0.52 0.52 0.000 0.200 0.000 0.00 316.550 6.50 -0.83 0.53 0.000 0.200 0.000 0.00 316.600 6.70 -2.00 0.34 0.000 0.200 0.000 0.00 316.650 6.92 -3.63 0.37 0.000 0.200 0.000 0.00 316.700 6.84 -1.79 0.29 0.000 0.200 0.000 0.00 316.750 6.86 0.37 0.23 0.000 0.200 0.000 0.00 316.800 6.77 3.18 0.32 0.000 0.200 0.000 0.00 316.850 6.83 0.28 0.13 0.000 0.200 0.000 0.00 316.900 6.87 -0.79 0.37 0.000 0.200 0.000 0.00 316.950 6.76 -0.98 0.49 0.000 0.200 0.000 0.00 317.000 6.52 0.01 0.46 0.000 0.200 0.000 0.00 317.050 6.49 -2.07 0.72 0.000 0.200 0.000 0.00 317.100 6.64 -2.93 0.30 0.000 0.200 0.000 0.00 317.150 6.96 -3.57 0.24 0.000 0.200 0.000 0.00 317.200 7.24 -2.38 0.46 0.000 0.200 0.000 0.00 317.250 7.33 -1.77 0.46 0.000 0.200 0.000 0.00 317.300 7.27 -1.15 0.31 0.000 0.200 0.000 0.00 317.350 7.47 -0.16 -0.02 0.000 0.200 0.000 0.00 317.400 7.16 0.20 0.26 0.000 0.200 0.000 0.00 317.450 7.00 -2.98 0.40 0.000 0.200 0.000 0.00 317.500 6.77 1.15 0.67 0.000 0.200 0.000 0.00 317.550 6.70 2.28 1.02 0.000 0.200 0.000 0.00 317.600 7.13 -1.26 0.60 0.000 0.200 0.000 0.00 317.650 7.35 1.14 0.15 0.000 0.200 0.000 0.00 317.700 7.21 1.25 0.08 0.000 0.200 0.000 0.00 317.750 7.23 1.61 0.00 0.000 0.200 0.000 0.00 317.800 7.17 5.36 0.18 0.000 0.200 0.000 0.00 317.850 6.59 4.30 0.24 0.000 0.200 0.000 0.00 317.900 6.71 3.19 0.37 0.000 0.200 0.000 0.00 317.950 6.59 -2.80 0.40 0.000 0.200 0.000 0.00 318.000 6.79 -8.37 0.35 0.000 0.200 0.000 0.00 318.050 6.82 -8.87 0.27 0.000 0.200 0.000 0.00 318.100 6.63 -7.92 0.28 0.000 0.200 0.000 0.00 318.150 6.90 -4.81 0.31 0.000 0.200 0.000 0.00 318.200 7.28 -3.88 0.64 0.000 0.200 0.000 0.00 318.250 7.30 -4.40 0.53 0.000 0.200 0.000 0.00 318.300 7.22 -5.16 0.09 0.000 0.200 0.000 0.00 318.350 6.91 -5.39 0.75 0.000 0.200 0.000 0.00 318.400 6.78 -5.91 1.08 0.000 0.200 0.000 0.00 318.450 6.90 -2.05 1.10 0.000 0.200 0.000 0.00 318.500 7.14 -1.93 1.42 0.000 0.200 0.000 0.00 318.550 7.25 -3.23 0.81 0.000 0.200 0.000 0.00 318.600 7.10 -1.32 0.98 0.000 0.200 0.000 0.00 318.650 7.42 -0.96 1.26 0.000 0.200 0.000 0.00 318.700 7.15 -1.37 1.42 0.000 0.200 0.000 0.00 318.750 7.09 -1.29 1.27 0.000 0.200 0.000 0.00 318.800 6.74 -1.50 1.20 0.000 0.200 0.000 0.00 318.850 6.59 -1.92 1.15 0.000 0.200 0.000 0.00 318.900 6.69 -1.46 1.28 0.000 0.200 0.000 0.00 318.950 6.63 -1.42 0.95 0.000 0.200 0.000 0.00 319.000 6.58 -4.38 0.70 0.000 0.200 0.000 0.00 319.050 6.46 -2.48 0.94 0.000 0.200 0.000 0.00 319.100 6.24 -1.49 0.56 0.000 0.200 0.000 0.00 319.150 6.05 -1.78 0.41 0.000 0.200 0.000 0.00 319.200 6.13 -3.26 0.69 0.000 0.200 0.000 0.00 319.250 5.82 -1.28 0.95 0.000 0.200 0.000 0.00 319.300 5.86 1.21 0.33 0.000 0.200 0.000 0.00 319.350 5.80 6.40 0.32 0.000 0.200 0.000 0.00 319.400 5.72 6.36 0.75 0.000 0.200 0.000 0.00 319.450 5.74 9.85 0.51 0.000 0.200 0.000 0.00 319.500 5.82 6.11 0.44 0.000 0.200 0.000 0.00 319.550 5.95 5.38 0.66 0.000 0.200 0.000 0.00 319.600 5.99 4.15 0.73 0.000 0.200 0.000 0.00 319.650 5.64 3.96 0.65 0.000 0.200 0.000 0.00 319.700 5.83 5.97 0.64 0.000 0.200 0.000 0.00 319.750 6.12 7.29 0.63 0.000 0.200 0.000 0.00 319.800 6.11 6.69 0.64 0.000 0.200 0.000 0.00 319.850 6.23 6.34 0.48 0.000 0.200 0.000 0.00 319.900 6.37 11.99 0.14 0.000 0.200 0.000 0.00 319.950 6.46 10.59 0.01 0.000 0.200 0.000 0.00 320.000 6.48 7.15 -0.12 0.000 0.200 0.000 0.00 320.050 6.57 6.46 -0.25 0.000 0.200 0.000 0.00 320.100 6.76 6.81 0.06 0.000 0.200 0.000 0.00 320.150 6.76 9.14 0.37 0.000 0.200 0.000 0.00 320.200 6.44 6.54 0.55 0.000 0.200 0.000 0.00 320.250 6.63 6.23 0.22 0.000 0.200 0.000 0.00 320.300 6.76 5.88 0.30 0.000 0.200 0.000 0.00 320.350 6.72 7.52 0.11 0.000 0.200 0.000 0.00 320.400 6.90 8.36 0.02 0.000 0.200 0.000 0.00 320.450 7.06 6.95 -0.05 0.000 0.200 0.000 0.00 320.500 6.88 4.21 0.41 0.000 0.200 0.000 0.00 320.550 6.88 5.42 0.27 0.000 0.200 0.000 0.00 320.600 6.89 5.26 0.57 0.000 0.200 0.000 0.00 320.650 7.13 8.06 0.85 0.000 0.200 0.000 0.00 320.700 7.14 7.11 0.90 0.000 0.200 0.000 0.00 320.750 6.87 6.74 0.51 0.000 0.200 0.000 0.00 320.800 7.28 3.36 0.20 0.000 0.200 0.000 0.00 320.850 7.48 2.71 0.13 0.000 0.200 0.000 0.00 320.900 7.47 4.25 0.05 0.000 0.200 0.000 0.00 320.950 7.22 8.25 0.20 0.000 0.200 0.000 0.00 321.000 7.13 9.47 0.67 0.000 0.200 0.000 0.00 321.050 7.09 8.88 0.38 0.000 0.200 0.000 0.00 321.100 6.92 8.89 0.38 0.000 0.200 0.000 0.00 321.150 6.90 9.65 0.25 0.000 0.200 0.000 0.00 321.200 7.03 13.43 0.28 0.000 0.200 0.000 0.00 321.250 6.94 15.06 0.13 0.000 0.200 0.000 0.00 321.300 6.88 14.56 0.17 0.000 0.200 0.000 0.00 321.350 6.73 12.28 -0.04 0.000 0.200 0.000 0.00 321.400 6.63 11.01 0.29 0.000 0.200 0.000 0.00 321.450 6.59 12.35 0.45 0.000 0.200 0.000 0.00 321.500 6.46 13.62 0.53 0.000 0.200 0.000 0.00 321.550 6.45 13.42 0.51 0.000 0.200 0.000 0.00 321.600 6.65 18.02 0.35 0.000 0.200 0.000 0.00 321.650 6.43 19.54 0.32 0.000 0.200 0.000 0.00 321.700 6.46 17.41 0.11 0.000 0.200 0.000 0.00 321.750 6.05 12.89 0.25 0.000 0.200 0.000 0.00 321.800 6.08 12.20 -0.10 0.000 0.200 0.000 0.00 321.850 6.41 10.35 -0.33 0.000 0.200 0.000 0.00 321.900 6.58 8.62 -0.58 0.000 0.200 0.000 0.00 321.950 6.79 11.14 -0.66 0.000 0.200 0.000 0.00 322.000 6.77 8.00 -0.89 0.000 0.200 0.000 0.00 322.050 7.08 8.61 -0.35 0.000 0.200 0.000 0.00 322.100 6.86 7.88 -0.38 0.000 0.200 0.000 0.00 322.150 6.59 10.48 -0.72 0.000 0.200 0.000 0.00 322.200 6.56 9.03 -1.11 0.000 0.200 0.000 0.00 322.250 6.43 8.86 -1.00 0.000 0.200 0.000 0.00 322.300 6.79 7.54 -1.15 0.000 0.200 0.000 0.00 322.350 6.69 6.70 -1.52 0.000 0.200 0.000 0.00 322.400 6.60 4.73 -1.22 0.000 0.200 0.000 0.00 322.450 6.44 6.03 -0.75 0.000 0.200 0.000 0.00 322.500 6.46 5.70 -0.70 0.000 0.200 0.000 0.00 322.550 6.50 6.14 -0.56 0.000 0.200 0.000 0.00 322.600 6.09 4.40 -0.50 0.000 0.200 0.000 0.00 322.650 6.49 3.41 -0.38 0.000 0.200 0.000 0.00 322.700 6.55 5.28 -0.24 0.000 0.200 0.000 0.00 322.750 6.39 5.14 -0.02 0.000 0.200 0.000 0.00 322.800 6.67 4.89 -0.21 0.000 0.200 0.000 0.00 322.850 6.97 9.58 -0.40 0.000 0.200 0.000 0.00 322.900 7.17 8.22 -0.53 0.000 0.200 0.000 0.00 322.950 7.40 10.58 -0.54 0.000 0.200 0.000 0.00 323.000 7.26 11.70 -0.52 0.000 0.200 0.000 0.00 323.050 7.21 12.12 -0.69 0.000 0.200 0.000 0.00 323.100 7.42 13.63 -0.56 0.000 0.200 0.000 0.00 323.150 7.22 13.60 -0.13 0.000 0.200 0.000 0.00 323.200 7.03 12.19 -0.14 0.000 0.200 0.000 0.00 323.250 7.28 10.08 0.21 0.000 0.200 0.000 0.00 323.300 7.02 12.87 0.15 0.000 0.200 0.000 0.00 323.350 6.91 12.12 -0.05 0.000 0.200 0.000 0.00 323.400 6.79 14.46 0.20 0.000 0.200 0.000 0.00 323.450 6.69 13.17 0.25 0.000 0.200 0.000 0.00 323.500 7.06 13.29 0.29 0.000 0.200 0.000 0.00 323.550 7.30 12.54 0.35 0.000 0.200 0.000 0.00 323.600 7.10 16.13 0.55 0.000 0.200 0.000 0.00 323.650 7.32 17.29 0.91 0.000 0.200 0.000 0.00 323.700 7.52 16.11 0.67 0.000 0.200 0.000 0.00 323.750 7.52 14.57 0.64 0.000 0.200 0.000 0.00 323.800 7.43 14.51 0.38 0.000 0.200 0.000 0.00 323.850 7.25 14.56 0.53 0.000 0.200 0.000 0.00 323.900 7.29 14.27 0.06 0.000 0.200 0.000 0.00 323.950 7.42 12.77 0.02 0.000 0.200 0.000 0.00 324.000 7.36 11.54 0.36 0.000 0.200 0.000 0.00 324.050 7.22 16.52 0.63 0.000 0.200 0.000 0.00 324.100 7.27 16.33 0.61 0.000 0.200 0.000 0.00 324.150 7.10 17.30 0.64 0.000 0.200 0.000 0.00 324.200 7.49 17.73 0.82 0.000 0.200 0.000 0.00 324.250 7.47 12.88 0.89 0.000 0.200 0.000 0.00 324.300 7.46 16.69 1.31 0.000 0.200 0.000 0.00 324.350 7.22 16.04 1.65 0.000 0.200 0.000 0.00 324.400 7.24 17.21 1.59 0.000 0.200 0.000 0.00 324.450 7.13 14.77 1.29 0.000 0.200 0.000 0.00 324.500 7.47 14.58 1.45 0.000 0.200 0.000 0.00 324.550 7.43 12.36 1.26 0.000 0.200 0.000 0.00 324.600 7.49 11.45 1.21 0.000 0.200 0.000 0.00 324.650 7.74 11.20 1.03 0.000 0.200 0.000 0.00 324.700 7.71 12.39 1.31 0.000 0.200 0.000 0.00 324.750 7.58 13.66 1.20 0.000 0.200 0.000 0.00 324.800 8.02 11.56 1.26 0.000 0.200 0.000 0.00 324.850 7.67 13.58 1.25 0.000 0.200 0.000 0.00 324.900 7.38 13.43 1.14 0.000 0.200 0.000 0.00 324.950 7.60 14.97 0.99 0.000 0.200 0.000 0.00 325.000 7.86 15.94 1.11 0.000 0.200 0.000 0.00 325.050 8.02 14.89 1.48 0.000 0.200 0.000 0.00 325.100 7.94 14.52 1.28 0.000 0.200 0.000 0.00 325.150 7.41 15.39 1.10 0.000 0.200 0.000 0.00 325.200 7.45 13.06 1.41 0.000 0.200 0.000 0.00 325.250 7.39 11.03 1.43 0.000 0.200 0.000 0.00 325.300 7.50 9.46 1.37 0.000 0.200 0.000 0.00 325.350 7.58 11.25 1.21 0.000 0.200 0.000 0.00 325.400 7.65 10.95 0.87 0.000 0.200 0.000 0.00 325.450 7.91 11.07 0.68 0.000 0.200 0.000 0.00 325.500 7.57 9.08 1.06 0.000 0.200 0.000 0.00 325.550 7.78 7.17 1.22 0.000 0.200 0.000 0.00 325.600 8.09 7.69 1.03 0.000 0.200 0.000 0.00 325.650 8.12 8.46 1.17 0.000 0.200 0.000 0.00 325.700 8.28 8.20 1.25 0.000 0.200 0.000 0.00 325.750 8.31 6.91 1.18 0.000 0.200 0.000 0.00 325.800 8.22 9.14 1.05 0.000 0.200 0.000 0.00 325.850 7.89 8.41 0.80 0.000 0.200 0.000 0.00 325.900 8.34 8.73 0.76 0.000 0.200 0.000 0.00 325.950 8.24 8.23 0.58 0.000 0.200 0.000 0.00 326.000 8.13 6.30 0.62 0.000 0.200 0.000 0.00 326.050 8.17 9.80 0.29 0.000 0.200 0.000 0.00 326.100 8.16 9.97 0.64 0.000 0.200 0.000 0.00 326.150 8.26 12.23 0.68 0.000 0.200 0.000 0.00 326.200 8.00 10.51 1.14 0.000 0.200 0.000 0.00 326.250 8.14 10.93 1.12 0.000 0.200 0.000 0.00 326.300 8.42 10.66 0.82 0.000 0.200 0.000 0.00 326.350 8.50 11.14 0.99 0.000 0.200 0.000 0.00 326.400 8.50 14.95 1.02 0.000 0.200 0.000 0.00 326.450 8.17 14.60 1.01 0.000 0.200 0.000 0.00 326.500 7.96 14.36 1.23 0.000 0.200 0.000 0.00 326.550 8.10 16.20 1.13 0.000 0.200 0.000 0.00 326.600 7.71 17.73 0.87 0.000 0.200 0.000 0.00 326.650 7.89 17.52 0.79 0.000 0.200 0.000 0.00 326.700 8.17 17.51 0.66 0.000 0.200 0.000 0.00 326.750 8.29 18.41 0.67 0.000 0.200 0.000 0.00 326.800 8.16 16.80 0.25 0.000 0.200 0.000 0.00 326.850 8.08 17.42 0.35 0.000 0.200 0.000 0.00 326.900 7.97 17.60 0.77 0.000 0.200 0.000 0.00 326.950 7.83 17.74 0.63 0.000 0.200 0.000 0.00 327.000 7.84 17.31 0.50 0.000 0.200 0.000 0.00 327.050 7.68 16.27 0.37 0.000 0.200 0.000 0.00 327.100 7.96 16.89 0.18 0.000 0.200 0.000 0.00 327.150 7.73 17.05 0.19 0.000 0.200 0.000 0.00 327.200 7.61 19.21 0.38 0.000 0.200 0.000 0.00 327.250 7.52 15.46 0.40 0.000 0.200 0.000 0.00 327.300 7.38 16.98 0.50 0.000 0.200 0.000 0.00 327.350 7.51 17.62 0.30 0.000 0.200 0.000 0.00 327.400 7.51 16.27 0.39 0.000 0.200 0.000 0.00 327.450 7.41 15.69 0.24 0.000 0.200 0.000 0.00 327.500 7.38 18.81 0.14 0.000 0.200 0.000 0.00 327.550 6.96 18.76 0.38 0.000 0.200 0.000 0.00 327.600 6.81 19.56 0.14 0.000 0.200 0.000 0.00 327.650 7.04 18.21 -0.02 0.000 0.200 0.000 0.00 327.700 6.96 20.02 0.11 0.000 0.200 0.000 0.00 327.750 6.75 17.98 0.09 0.000 0.200 0.000 0.00 327.800 6.94 14.45 0.08 0.000 0.200 0.000 0.00 327.850 7.10 14.81 0.30 0.000 0.200 0.000 0.00 327.900 6.87 16.48 0.21 0.000 0.200 0.000 0.00 327.950 6.60 15.36 0.10 0.000 0.200 0.000 0.00 328.000 6.81 17.34 0.25 0.000 0.200 0.000 0.00 328.050 6.82 16.65 0.33 0.000 0.200 0.000 0.00 328.100 6.82 18.69 0.30 0.000 0.200 0.000 0.00 328.150 6.81 18.85 0.16 0.000 0.200 0.000 0.00 328.200 6.73 20.23 0.10 0.000 0.200 0.000 0.00 328.250 6.95 20.77 -0.14 0.000 0.200 0.000 0.00 328.300 6.77 21.50 0.02 0.000 0.200 0.000 0.00 328.350 6.91 20.06 -0.13 0.000 0.200 0.000 0.00 328.400 6.91 16.90 -0.18 0.000 0.200 0.000 0.00 328.450 6.68 15.74 -0.25 0.000 0.200 0.000 0.00 328.500 6.69 16.89 -0.38 0.000 0.200 0.000 0.00 328.550 6.84 14.92 -0.33 0.000 0.200 0.000 0.00 328.600 7.10 14.33 -0.28 0.000 0.200 0.000 0.00 328.650 7.02 13.55 -0.31 0.000 0.200 0.000 0.00 328.700 6.95 8.63 -0.67 0.000 0.200 0.000 0.00 328.750 6.99 10.54 -0.72 0.000 0.200 0.000 0.00 328.800 6.90 13.92 -0.56 0.000 0.200 0.000 0.00 328.850 6.77 14.98 -0.48 0.000 0.200 0.000 0.00 328.900 6.71 17.60 -0.12 0.000 0.200 0.000 0.00 328.950 6.76 15.84 0.11 0.000 0.200 0.000 0.00 329.000 6.63 13.45 -0.06 0.000 0.200 0.000 0.00 329.050 6.37 15.94 0.06 0.000 0.200 0.000 0.00 329.100 6.70 16.23 0.58 0.000 0.200 0.000 0.00 329.150 6.92 14.15 0.79 0.000 0.200 0.000 0.00 329.200 6.89 12.46 0.28 0.000 0.200 0.000 0.00 329.250 6.67 11.49 0.14 0.000 0.200 0.000 0.00 329.300 6.42 13.38 -0.35 0.000 0.200 0.000 0.00 329.350 6.54 12.25 -0.64 0.000 0.200 0.000 0.00 329.400 6.76 12.48 -0.61 0.000 0.200 0.000 0.00 329.450 6.72 10.54 -0.68 0.000 0.200 0.000 0.00 329.500 6.50 12.22 -0.38 0.000 0.200 0.000 0.00 329.550 6.29 14.72 -0.24 0.000 0.200 0.000 0.00 329.600 6.54 13.67 -0.10 0.000 0.200 0.000 0.00 329.650 6.74 12.12 -0.30 0.000 0.200 0.000 0.00 329.700 6.68 10.15 -0.15 0.000 0.200 0.000 0.00 329.750 6.70 12.43 -0.11 0.000 0.200 0.000 0.00 329.800 6.57 14.68 0.05 0.000 0.200 0.000 0.00 329.850 6.37 11.95 -0.13 0.000 0.200 0.000 0.00 329.900 6.22 10.60 -0.13 0.000 0.200 0.000 0.00 329.950 6.25 11.13 -0.44 0.000 0.200 0.000 0.00 330.000 6.32 9.69 -0.46 0.000 0.200 0.000 0.00 330.050 6.37 9.12 -0.41 0.000 0.200 0.000 0.00 330.100 6.56 8.08 -0.44 0.000 0.200 0.000 0.00 330.150 6.72 10.79 -0.34 0.000 0.200 0.000 0.00 330.200 6.63 10.88 -0.36 0.000 0.200 0.000 0.00 330.250 6.71 7.65 -0.24 0.000 0.200 0.000 0.00 330.300 6.67 6.11 -0.26 0.000 0.200 0.000 0.00 330.350 6.68 5.06 -0.21 0.000 0.200 0.000 0.00 330.400 7.10 5.63 -0.23 0.000 0.200 0.000 0.00 330.450 6.95 6.76 -0.33 0.000 0.200 0.000 0.00 330.500 6.72 6.57 -0.14 0.000 0.200 0.000 0.00 330.550 6.60 8.65 -0.28 0.000 0.200 0.000 0.00 330.600 6.80 10.84 -0.13 0.000 0.200 0.000 0.00 330.650 6.93 11.75 -0.02 0.000 0.200 0.000 0.00 330.700 7.20 11.40 0.14 0.000 0.200 0.000 0.00 330.750 7.23 10.30 0.14 0.000 0.200 0.000 0.00 330.800 7.12 11.06 0.14 0.000 0.200 0.000 0.00 330.850 7.39 10.08 -0.01 0.000 0.200 0.000 0.00 330.900 7.53 12.18 0.13 0.000 0.200 0.000 0.00 330.950 7.37 12.15 0.33 0.000 0.200 0.000 0.00 331.000 7.05 14.04 0.57 0.000 0.200 0.000 0.00 331.050 6.97 11.75 0.31 0.000 0.200 0.000 0.00 331.100 6.94 13.09 0.09 0.000 0.200 0.000 0.00 331.150 6.70 13.41 -0.11 0.000 0.200 0.000 0.00 331.200 6.69 14.60 -0.06 0.000 0.200 0.000 0.00 331.250 6.60 14.95 -0.26 0.000 0.200 0.000 0.00 331.300 6.37 15.23 -0.09 0.000 0.200 0.000 0.00 331.350 6.17 13.91 -0.32 0.000 0.200 0.000 0.00 331.400 5.94 18.18 -0.33 0.000 0.200 0.000 0.00 331.450 5.75 20.65 0.04 0.000 0.200 0.000 0.00 331.500 6.26 18.64 0.14 0.000 0.200 0.000 0.00 331.550 6.55 16.32 0.15 0.000 0.200 0.000 0.00 331.600 6.34 15.81 -0.31 0.000 0.200 0.000 0.00 331.650 6.21 19.13 0.35 0.000 0.200 0.000 0.00 331.700 6.08 17.64 0.60 0.000 0.200 0.000 0.00 331.750 6.09 18.13 0.15 0.000 0.200 0.000 0.00 331.800 6.11 15.10 0.08 0.000 0.200 0.000 0.00 331.850 6.39 16.31 0.05 0.000 0.200 0.000 0.00 331.900 6.03 18.52 -0.23 0.000 0.200 0.000 0.00 331.950 5.91 12.71 -0.15 0.000 0.200 0.000 0.00 332.000 6.41 11.95 0.27 0.000 0.200 0.000 0.00 332.050 6.58 9.41 -0.12 0.000 0.200 0.000 0.00 332.100 6.44 10.34 -0.34 0.000 0.200 0.000 0.00 332.150 6.28 8.69 -0.10 0.000 0.200 0.000 0.00 332.200 6.19 8.08 -0.28 0.000 0.200 0.000 0.00 332.250 5.92 6.86 -0.21 0.000 0.200 0.000 0.00 332.300 6.17 4.37 0.12 0.000 0.200 0.000 0.00 332.350 6.33 8.05 -0.12 0.000 0.200 0.000 0.00 332.400 6.42 7.57 -0.25 0.000 0.200 0.000 0.00 332.450 6.28 6.74 -0.11 0.000 0.200 0.000 0.00 332.500 6.08 7.87 -0.24 0.000 0.200 0.000 0.00 332.550 5.98 8.07 -0.26 0.000 0.200 0.000 0.00 332.600 6.29 8.88 -0.20 0.000 0.200 0.000 0.00 332.650 6.47 8.29 -0.02 0.000 0.200 0.000 0.00 332.700 6.56 8.26 0.09 0.000 0.200 0.000 0.00 332.750 6.55 6.19 -0.11 0.000 0.200 0.000 0.00 332.800 6.52 7.46 0.34 0.000 0.200 0.000 0.00 332.850 6.45 6.82 0.49 0.000 0.200 0.000 0.00 332.900 6.39 7.03 0.44 0.000 0.200 0.000 0.00 332.950 6.59 5.77 0.66 0.000 0.200 0.000 0.00 333.000 6.63 4.20 0.62 0.000 0.200 0.000 0.00 333.050 7.08 5.10 0.42 0.000 0.200 0.000 0.00 333.100 7.03 5.33 0.45 0.000 0.200 0.000 0.00 333.150 7.17 3.67 0.33 0.000 0.200 0.000 0.00 333.200 6.99 3.51 0.10 0.000 0.200 0.000 0.00 333.250 6.86 3.79 0.02 0.000 0.200 0.000 0.00 333.300 6.48 5.46 -0.04 0.000 0.200 0.000 0.00 333.350 6.28 4.74 0.33 0.000 0.200 0.000 0.00 333.400 6.35 1.34 0.64 0.000 0.200 0.000 0.00 333.450 6.43 3.95 0.64 0.000 0.200 0.000 0.00 333.500 6.63 5.15 0.41 0.000 0.200 0.000 0.00 333.550 6.89 2.53 0.39 0.000 0.200 0.000 0.00 333.600 6.84 2.15 0.61 0.000 0.200 0.000 0.00 333.650 6.73 3.26 0.95 0.000 0.200 0.000 0.00 333.700 6.65 1.59 1.35 0.000 0.200 0.000 0.00 333.750 6.61 1.51 1.10 0.000 0.200 0.000 0.00 333.800 6.47 0.43 1.18 0.000 0.200 0.000 0.00 333.850 6.27 -2.65 1.05 0.000 0.200 0.000 0.00 333.900 6.39 -0.30 0.89 0.000 0.200 0.000 0.00 333.950 6.35 0.51 0.69 0.000 0.200 0.000 0.00 334.000 6.41 -0.54 0.49 0.000 0.200 0.000 0.00 334.050 6.09 -2.21 0.62 0.000 0.200 0.000 0.00 334.100 5.83 -2.24 0.47 0.000 0.200 0.000 0.00 334.150 5.81 0.09 0.46 0.000 0.200 0.000 0.00 334.200 6.16 1.19 0.57 0.000 0.200 0.000 0.00 334.250 6.21 1.70 0.66 0.000 0.200 0.000 0.00 334.300 6.24 4.79 0.72 0.000 0.200 0.000 0.00 334.350 6.17 3.64 0.57 0.000 0.200 0.000 0.00 334.400 6.01 1.85 0.71 0.000 0.200 0.000 0.00 334.450 5.72 0.49 0.52 0.000 0.200 0.000 0.00 334.500 5.80 -3.53 -0.22 0.000 0.200 0.000 0.00 334.550 5.81 0.94 -0.31 0.000 0.200 0.000 0.00 334.600 6.19 3.47 0.01 0.000 0.200 0.000 0.00 334.650 6.07 4.05 0.23 0.000 0.200 0.000 0.00 334.700 6.08 8.73 0.52 0.000 0.200 0.000 0.00 334.750 5.92 7.58 0.52 0.000 0.200 0.000 0.00 334.800 5.74 4.75 0.39 0.000 0.200 0.000 0.00 334.850 5.92 3.24 0.64 0.000 0.200 0.000 0.00 334.900 5.95 6.76 0.61 0.000 0.200 0.000 0.00 334.950 5.76 8.85 0.43 0.000 0.200 0.000 0.00 335.000 5.95 8.02 0.63 0.000 0.200 0.000 0.00 335.050 5.90 7.90 0.37 0.000 0.200 0.000 0.00 335.100 5.67 6.05 0.54 0.000 0.200 0.000 0.00 335.150 5.61 9.04 0.78 0.000 0.200 0.000 0.00 335.200 6.03 5.26 0.41 0.000 0.200 0.000 0.00 335.250 6.15 3.41 0.43 0.000 0.200 0.000 0.00 335.300 6.14 3.05 1.06 0.000 0.200 0.000 0.00 335.350 6.21 2.92 1.17 0.000 0.200 0.000 0.00 335.400 6.09 4.53 1.30 0.000 0.200 0.000 0.00 335.450 6.32 4.38 1.37 0.000 0.200 0.000 0.00 335.500 6.26 6.22 1.24 0.000 0.200 0.000 0.00 335.550 6.32 7.79 0.82 0.000 0.200 0.000 0.00 335.600 5.91 4.72 0.77 0.000 0.200 0.000 0.00 335.650 5.94 5.43 0.78 0.000 0.200 0.000 0.00 335.700 5.99 2.88 0.66 0.000 0.200 0.000 0.00 335.750 5.91 -2.19 0.45 0.000 0.200 0.000 0.00 335.800 6.06 -0.79 0.33 0.000 0.200 0.000 0.00 335.850 6.01 -0.15 0.44 0.000 0.200 0.000 0.00 335.900 6.21 2.02 0.37 0.000 0.200 0.000 0.00 335.950 6.03 1.33 0.30 0.000 0.200 0.000 0.00 336.000 6.18 0.11 0.13 0.000 0.200 0.000 0.00 336.050 6.41 -3.90 0.36 0.000 0.200 0.000 0.00 336.100 6.47 -0.48 0.24 0.000 0.200 0.000 0.00 336.150 6.40 0.41 0.50 0.000 0.200 0.000 0.00 336.200 6.38 1.54 0.61 0.000 0.200 0.000 0.00 336.250 6.31 2.60 0.53 0.000 0.200 0.000 0.00 336.300 6.54 2.41 0.89 0.000 0.200 0.000 0.00 336.350 6.90 4.27 0.75 0.000 0.200 0.000 0.00 336.400 6.85 3.66 0.88 0.000 0.200 0.000 0.00 336.450 6.88 2.65 0.94 0.000 0.200 0.000 0.00 336.500 6.97 0.76 0.65 0.000 0.200 0.000 0.00 336.550 7.05 4.51 0.51 0.000 0.200 0.000 0.00 336.600 6.99 6.86 0.41 0.000 0.200 0.000 0.00 336.650 6.61 3.71 0.44 0.000 0.200 0.000 0.00 336.700 6.71 6.30 0.40 0.000 0.200 0.000 0.00 336.750 6.54 7.13 0.73 0.000 0.200 0.000 0.00 336.800 6.50 8.13 0.52 0.000 0.200 0.000 0.00 336.850 6.59 10.67 0.63 0.000 0.200 0.000 0.00 336.900 6.65 8.28 0.50 0.000 0.200 0.000 0.00 336.950 7.05 5.13 0.51 0.000 0.200 0.000 0.00 337.000 7.00 4.27 0.59 0.000 0.200 0.000 0.00 337.050 7.21 5.47 0.75 0.000 0.200 0.000 0.00 337.100 6.68 5.01 0.68 0.000 0.200 0.000 0.00 337.150 6.59 2.25 0.72 0.000 0.200 0.000 0.00 337.200 6.74 3.07 0.89 0.000 0.200 0.000 0.00 337.250 6.40 5.61 0.91 0.000 0.200 0.000 0.00 337.300 6.19 6.21 0.85 0.000 0.200 0.000 0.00 337.350 6.38 6.18 0.79 0.000 0.200 0.000 0.00 337.400 6.41 4.90 0.62 0.000 0.200 0.000 0.00 337.450 6.67 6.44 0.33 0.000 0.200 0.000 0.00 337.500 6.65 8.47 0.52 0.000 0.200 0.000 0.00 337.550 6.69 8.60 0.77 0.000 0.200 0.000 0.00 337.600 6.57 10.54 0.91 0.000 0.200 0.000 0.00 337.650 6.76 10.03 0.56 0.000 0.200 0.000 0.00 337.700 6.60 7.91 0.65 0.000 0.200 0.000 0.00 337.750 6.55 7.00 0.49 0.000 0.200 0.000 0.00 337.800 6.84 8.07 0.68 0.000 0.200 0.000 0.00 337.850 6.38 9.57 0.71 0.000 0.200 0.000 0.00 337.900 6.53 7.43 0.74 0.000 0.200 0.000 0.00 337.950 6.42 8.25 0.68 0.000 0.200 0.000 0.00 338.000 6.50 7.41 0.61 0.000 0.200 0.000 0.00 338.050 6.68 8.58 0.76 0.000 0.200 0.000 0.00 338.100 7.03 8.89 0.94 0.000 0.200 0.000 0.00 338.150 6.71 8.03 0.10 0.000 0.200 0.000 0.00 338.200 6.45 3.71 0.48 0.000 0.200 0.000 0.00 338.250 6.50 3.31 0.44 0.000 0.200 0.000 0.00 338.300 6.16 6.47 0.52 0.000 0.200 0.000 0.00 338.350 6.18 6.52 0.54 0.000 0.200 0.000 0.00 338.400 5.87 8.26 0.63 0.000 0.200 0.000 0.00 338.450 5.71 7.71 0.49 0.000 0.200 0.000 0.00 338.500 5.62 6.29 0.45 0.000 0.200 0.000 0.00 338.550 5.52 5.00 0.44 0.000 0.200 0.000 0.00 338.600 5.96 4.49 0.60 0.000 0.200 0.000 0.00 338.650 5.99 4.10 0.43 0.000 0.200 0.000 0.00 338.700 5.89 2.91 0.44 0.000 0.200 0.000 0.00 338.750 5.84 3.67 0.58 0.000 0.200 0.000 0.00 338.800 5.63 2.64 0.33 0.000 0.200 0.000 0.00 338.850 5.62 2.04 0.36 0.000 0.200 0.000 0.00 338.900 5.64 4.35 0.20 0.000 0.200 0.000 0.00 338.950 5.59 4.66 0.01 0.000 0.200 0.000 0.00 339.000 5.85 2.59 0.00 0.000 0.200 0.000 0.00 339.050 6.22 5.18 0.04 0.000 0.200 0.000 0.00 339.100 6.33 6.13 0.22 0.000 0.200 0.000 0.00 339.150 6.25 5.65 0.29 0.000 0.200 0.000 0.00 339.200 6.12 6.52 0.45 0.000 0.200 0.000 0.00 339.250 6.07 6.72 0.65 0.000 0.200 0.000 0.00 339.300 6.26 7.08 0.22 0.000 0.200 0.000 0.00 339.350 6.17 7.34 0.23 0.000 0.200 0.000 0.00 339.400 6.03 7.39 0.07 0.000 0.200 0.000 0.00 339.450 5.93 4.50 -0.23 0.000 0.200 0.000 0.00 339.500 5.72 3.12 -0.47 0.000 0.200 0.000 0.00 339.550 5.52 6.92 -0.65 0.000 0.200 0.000 0.00 339.600 5.44 7.10 -0.59 0.000 0.200 0.000 0.00 339.650 5.80 7.74 -0.51 0.000 0.200 0.000 0.00 339.700 5.86 5.55 -0.20 0.000 0.200 0.000 0.00 339.750 5.83 8.48 -0.46 0.000 0.200 0.000 0.00 339.800 5.82 5.78 -0.51 0.000 0.200 0.000 0.00 339.850 5.79 3.98 -0.40 0.000 0.200 0.000 0.00 339.900 5.60 0.02 -0.69 0.000 0.200 0.000 0.00 339.950 5.86 -1.91 -0.27 0.000 0.200 0.000 0.00 340.000 5.33 -3.04 -0.18 0.000 0.200 0.000 0.00 340.050 5.49 -3.85 -0.60 0.000 0.200 0.000 0.00 340.100 5.50 -2.31 -0.41 0.000 0.200 0.000 0.00 340.150 5.34 -5.16 -0.52 0.000 0.200 0.000 0.00 340.200 5.32 -6.83 -0.72 0.000 0.200 0.000 0.00 340.250 5.23 -3.49 -0.92 0.000 0.200 0.000 0.00 340.300 4.99 1.73 -1.35 0.000 0.200 0.000 0.00 340.350 4.90 1.46 -1.39 0.000 0.200 0.000 0.00 340.400 4.73 2.48 -1.34 0.000 0.200 0.000 0.00 340.450 4.79 5.65 -1.14 0.000 0.200 0.000 0.00 340.500 5.06 4.82 -1.43 0.000 0.200 0.000 0.00 340.550 5.31 5.38 -1.06 0.000 0.200 0.000 0.00 340.600 5.44 6.72 -0.67 0.000 0.200 0.000 0.00 340.650 5.77 6.22 -0.60 0.000 0.200 0.000 0.00 340.700 5.41 7.44 -0.94 0.000 0.200 0.000 0.00 340.750 5.50 3.65 -1.09 0.000 0.200 0.000 0.00 340.800 5.35 4.41 -1.08 0.000 0.200 0.000 0.00 340.850 5.18 9.66 -0.68 0.000 0.200 0.000 0.00 340.900 5.00 6.98 -0.69 0.000 0.200 0.000 0.00 340.950 4.66 3.81 -0.82 0.000 0.200 0.000 0.00 341.000 4.81 8.26 -0.76 0.000 0.200 0.000 0.00 341.050 4.97 8.20 -0.54 0.000 0.200 0.000 0.00 341.100 4.82 3.87 -0.63 0.000 0.200 0.000 0.00 341.150 5.34 8.06 -0.23 0.000 0.200 0.000 0.00 341.200 5.50 6.60 -0.06 0.000 0.200 0.000 0.00 341.250 5.64 4.09 -0.57 0.000 0.200 0.000 0.00 341.300 5.86 2.72 -0.27 0.000 0.200 0.000 0.00 341.350 5.99 4.32 -0.57 0.000 0.200 0.000 0.00 341.400 5.96 -0.78 -0.68 0.000 0.200 0.000 0.00 341.450 6.04 -3.32 -0.43 0.000 0.200 0.000 0.00 341.500 6.03 -0.94 -0.53 0.000 0.200 0.000 0.00 341.550 6.12 0.58 -0.38 0.000 0.200 0.000 0.00 341.600 6.02 3.06 0.15 0.000 0.200 0.000 0.00 341.650 6.18 5.98 0.03 0.000 0.200 0.000 0.00 341.700 6.16 3.43 -0.07 0.000 0.200 0.000 0.00 341.750 6.32 3.72 0.35 0.000 0.200 0.000 0.00 341.800 6.56 1.06 0.16 0.000 0.200 0.000 0.00 341.850 6.51 1.88 0.34 0.000 0.200 0.000 0.00 341.900 6.52 -0.04 0.25 0.000 0.200 0.000 0.00 341.950 6.60 0.66 0.11 0.000 0.200 0.000 0.00 342.000 6.41 3.77 0.46 0.000 0.200 0.000 0.00 342.050 6.02 3.81 0.18 0.000 0.200 0.000 0.00 342.100 6.00 6.67 -0.04 0.000 0.200 0.000 0.00 342.150 5.69 7.23 -0.13 0.000 0.200 0.000 0.00 342.200 5.66 10.61 -0.20 0.000 0.200 0.000 0.00 342.250 5.54 7.21 -0.48 0.000 0.200 0.000 0.00 342.300 5.55 10.01 -0.57 0.000 0.200 0.000 0.00 342.350 5.67 11.13 -0.74 0.000 0.200 0.000 0.00 342.400 5.76 11.90 -0.37 0.000 0.200 0.000 0.00 342.450 6.01 13.94 -0.26 0.000 0.200 0.000 0.00 342.500 5.79 16.49 0.00 0.000 0.200 0.000 0.00 342.550 5.97 16.74 0.20 0.000 0.200 0.000 0.00 342.600 5.77 16.69 0.08 0.000 0.200 0.000 0.00 342.650 5.59 17.34 0.16 0.000 0.200 0.000 0.00 342.700 5.68 18.24 0.52 0.000 0.200 0.000 0.00 342.750 5.51 19.96 0.35 0.000 0.200 0.000 0.00 342.800 5.81 19.39 0.93 0.000 0.200 0.000 0.00 342.850 5.64 16.28 0.76 0.000 0.200 0.000 0.00 342.900 5.94 14.93 0.48 0.000 0.200 0.000 0.00 342.950 5.89 13.13 0.58 0.000 0.200 0.000 0.00 343.000 6.13 11.21 0.58 0.000 0.200 0.000 0.00 343.050 6.32 10.89 0.75 0.000 0.200 0.000 0.00 343.100 5.94 7.58 0.86 0.000 0.200 0.000 0.00 343.150 6.03 7.74 0.60 0.000 0.200 0.000 0.00 343.200 6.27 9.37 0.58 0.000 0.200 0.000 0.00 343.250 6.48 8.29 0.55 0.000 0.200 0.000 0.00 343.300 6.23 10.28 0.46 0.000 0.200 0.000 0.00 343.350 6.04 10.58 0.01 0.000 0.200 0.000 0.00 343.400 6.32 9.34 -0.26 0.000 0.200 0.000 0.00 343.450 6.28 12.00 -0.52 0.000 0.200 0.000 0.00 343.500 5.89 12.97 -0.24 0.000 0.200 0.000 0.00 343.550 6.05 13.61 -0.04 0.000 0.200 0.000 0.00 343.600 6.25 12.60 0.02 0.000 0.200 0.000 0.00 343.650 6.15 14.18 -0.19 0.000 0.200 0.000 0.00 343.700 6.17 13.76 -0.20 0.000 0.200 0.000 0.00 343.750 5.81 11.40 -0.64 0.000 0.200 0.000 0.00 343.800 6.28 9.83 -0.29 0.000 0.200 0.000 0.00 343.850 6.39 8.52 -0.74 0.000 0.200 0.000 0.00 343.900 5.93 10.27 -1.13 0.000 0.200 0.000 0.00 343.950 6.07 11.83 -1.26 0.000 0.200 0.000 0.00 344.000 5.86 14.39 -1.08 0.000 0.200 0.000 0.00 344.050 5.96 16.85 -0.98 0.000 0.200 0.000 0.00 344.100 6.35 18.87 -0.91 0.000 0.200 0.000 0.00 344.150 6.27 16.98 -1.05 0.000 0.200 0.000 0.00 344.200 6.27 9.92 -1.15 0.000 0.200 0.000 0.00 344.250 6.13 9.19 -1.49 0.000 0.200 0.000 0.00 344.300 6.63 6.00 -1.40 0.000 0.200 0.000 0.00 344.350 6.77 5.90 -1.44 0.000 0.200 0.000 0.00 344.400 6.74 10.75 -1.16 0.000 0.200 0.000 0.00 344.450 6.74 13.35 -0.73 0.000 0.200 0.000 0.00 344.500 6.70 13.87 -0.65 0.000 0.200 0.000 0.00 344.550 7.05 14.25 -1.24 0.000 0.200 0.000 0.00 344.600 7.01 14.21 -1.51 0.000 0.200 0.000 0.00 344.650 6.78 12.69 -1.17 0.000 0.200 0.000 0.00 344.700 6.71 13.21 -1.00 0.000 0.200 0.000 0.00 344.750 6.97 13.50 -0.58 0.000 0.200 0.000 0.00 344.800 6.96 16.49 -0.35 0.000 0.200 0.000 0.00 344.850 6.93 18.70 -0.32 0.000 0.200 0.000 0.00 344.900 6.64 19.52 -0.32 0.000 0.200 0.000 0.00 344.950 6.50 14.82 -0.34 0.000 0.200 0.000 0.00 345.000 6.75 13.39 -0.18 0.000 0.200 0.000 0.00 345.050 6.93 15.14 -0.18 0.000 0.200 0.000 0.00 345.100 6.95 17.10 -0.14 0.000 0.200 0.000 0.00 345.150 6.92 17.40 -0.41 0.000 0.200 0.000 0.00 345.200 6.90 13.51 -0.43 0.000 0.200 0.000 0.00 345.250 6.89 11.25 -0.34 0.000 0.200 0.000 0.00 345.300 6.89 8.86 -0.40 0.000 0.200 0.000 0.00 345.350 6.77 10.45 -0.08 0.000 0.200 0.000 0.00 345.400 6.82 11.21 -0.02 0.000 0.200 0.000 0.00 345.450 6.72 7.28 -0.07 0.000 0.200 0.000 0.00 345.500 6.71 12.03 0.02 0.000 0.200 0.000 0.00 345.550 6.13 11.22 0.01 0.000 0.200 0.000 0.00 345.600 6.74 10.67 -0.17 0.000 0.200 0.000 0.00 345.650 6.43 12.02 -0.23 0.000 0.200 0.000 0.00 345.700 6.39 10.22 -0.16 0.000 0.200 0.000 0.00 345.750 6.70 6.89 -0.24 0.000 0.200 0.000 0.00 345.800 6.58 8.13 -0.42 0.000 0.200 0.000 0.00 345.850 6.40 10.48 -0.43 0.000 0.200 0.000 0.00 345.900 6.55 9.17 -0.51 0.000 0.200 0.000 0.00 345.950 6.57 10.39 -0.16 0.000 0.200 0.000 0.00 346.000 6.18 11.68 -0.49 0.000 0.200 0.000 0.00 346.050 6.60 12.56 -0.50 0.000 0.200 0.000 0.00 346.100 6.64 11.10 -0.66 0.000 0.200 0.000 0.00 346.150 6.67 9.64 -0.81 0.000 0.200 0.000 0.00 346.200 6.21 11.13 -0.61 0.000 0.200 0.000 0.00 346.250 6.13 10.89 -0.74 0.000 0.200 0.000 0.00 346.300 6.72 8.08 -0.44 0.000 0.200 0.000 0.00 346.350 6.49 9.77 -0.30 0.000 0.200 0.000 0.00 346.400 6.28 10.00 -0.33 0.000 0.200 0.000 0.00 346.450 6.52 11.12 -0.24 0.000 0.200 0.000 0.00 346.500 6.77 10.69 -0.25 0.000 0.200 0.000 0.00 346.550 6.97 11.90 -0.16 0.000 0.200 0.000 0.00 346.600 7.16 12.94 -0.29 0.000 0.200 0.000 0.00 346.650 7.14 12.86 -0.46 0.000 0.200 0.000 0.00 346.700 7.22 13.02 -0.57 0.000 0.200 0.000 0.00 346.750 7.22 14.73 -0.69 0.000 0.200 0.000 0.00 346.800 7.32 16.16 -0.41 0.000 0.200 0.000 0.00 346.850 7.24 16.49 -0.18 0.000 0.200 0.000 0.00 346.900 7.13 15.09 -0.35 0.000 0.200 0.000 0.00 346.950 7.20 16.97 -0.30 0.000 0.200 0.000 0.00 347.000 7.26 15.35 -0.03 0.000 0.200 0.000 0.00 347.050 7.29 15.37 0.17 0.000 0.200 0.000 0.00 347.100 7.28 14.71 0.04 0.000 0.200 0.000 0.00 347.150 7.34 13.67 -0.55 0.000 0.200 0.000 0.00 347.200 7.46 11.10 -0.73 0.000 0.200 0.000 0.00 347.250 7.42 11.74 -0.42 0.000 0.200 0.000 0.00 347.300 7.36 13.84 -0.32 0.000 0.200 0.000 0.00 347.350 7.16 13.69 0.04 0.000 0.200 0.000 0.00 347.400 7.10 14.58 -0.33 0.000 0.200 0.000 0.00 347.450 7.10 12.91 -0.30 0.000 0.200 0.000 0.00 347.500 7.08 10.77 -0.23 0.000 0.200 0.000 0.00 347.550 7.39 11.34 0.21 0.000 0.200 0.000 0.00 347.600 7.69 10.95 -0.18 0.000 0.200 0.000 0.00 347.650 7.47 9.21 -0.50 0.000 0.200 0.000 0.00 347.700 7.74 10.62 -0.24 0.000 0.200 0.000 0.00 347.750 7.89 13.02 -0.12 0.000 0.200 0.000 0.00 347.800 7.89 11.91 -0.38 0.000 0.200 0.000 0.00 347.850 7.94 12.72 -0.43 0.000 0.200 0.000 0.00 347.900 8.12 12.09 -0.27 0.000 0.200 0.000 0.00 347.950 8.17 11.79 -0.74 0.000 0.200 0.000 0.00 348.000 8.01 13.31 -0.77 0.000 0.200 0.000 0.00 348.050 8.08 12.09 -0.96 0.000 0.200 0.000 0.00 348.100 8.27 14.15 -0.88 0.000 0.200 0.000 0.00 348.150 8.22 14.57 -1.15 0.000 0.200 0.000 0.00 348.200 7.87 13.49 -1.37 0.000 0.200 0.000 0.00 348.250 7.72 14.81 -1.31 0.000 0.200 0.000 0.00 348.300 7.82 12.83 -0.98 0.000 0.200 0.000 0.00 348.350 7.84 14.13 -0.75 0.000 0.200 0.000 0.00 348.400 8.01 12.92 -0.50 0.000 0.200 0.000 0.00 348.450 8.33 11.46 -0.56 0.000 0.200 0.000 0.00 348.500 8.26 10.36 -0.55 0.000 0.200 0.000 0.00 348.550 8.70 12.94 -1.02 0.000 0.200 0.000 0.00 348.600 8.77 14.80 -1.01 0.000 0.200 0.000 0.00 348.650 8.82 15.07 -1.42 0.000 0.200 0.000 0.00 348.700 8.96 15.50 -1.24 0.000 0.200 0.000 0.00 348.750 8.82 16.15 -1.09 0.000 0.200 0.000 0.00 348.800 8.68 15.30 -1.00 0.000 0.200 0.000 0.00 348.850 8.81 15.05 -1.15 0.000 0.200 0.000 0.00 348.900 8.92 13.04 -0.68 0.000 0.200 0.000 0.00 348.950 8.89 12.21 -0.33 0.000 0.200 0.000 0.00 349.000 8.60 11.32 -0.53 0.000 0.200 0.000 0.00 349.050 8.65 8.87 -0.34 0.000 0.200 0.000 0.00 349.100 9.09 10.42 -0.49 0.000 0.200 0.000 0.00 349.150 9.10 9.57 -0.73 0.000 0.200 0.000 0.00 349.200 8.40 9.66 -0.73 0.000 0.200 0.000 0.00 349.250 8.29 10.24 -1.08 0.000 0.200 0.000 0.00 349.300 8.26 13.55 -1.22 0.000 0.200 0.000 0.00 349.350 8.38 13.77 -1.22 0.000 0.200 0.000 0.00 349.400 8.08 13.73 -0.93 0.000 0.200 0.000 0.00 349.450 8.20 14.37 -0.93 0.000 0.200 0.000 0.00 349.500 8.39 14.37 -0.88 0.000 0.200 0.000 0.00 349.550 8.28 11.46 -0.92 0.000 0.200 0.000 0.00 349.600 8.31 13.14 -0.81 0.000 0.200 0.000 0.00 349.650 8.59 12.71 -0.94 0.000 0.200 0.000 0.00 349.700 8.73 14.11 -0.69 0.000 0.200 0.000 0.00 349.750 8.80 16.71 -0.39 0.000 0.200 0.000 0.00 349.800 8.61 16.07 -0.68 0.000 0.200 0.000 0.00 349.850 8.73 16.17 -0.64 0.000 0.200 0.000 0.00 349.900 8.91 17.62 -0.65 0.000 0.200 0.000 0.00 349.950 8.63 13.64 -0.76 0.000 0.200 0.000 0.00 350.000 9.01 15.22 -0.77 0.000 0.200 0.000 0.00 350.050 9.08 14.31 -1.51 0.000 0.200 0.000 0.00 350.100 9.12 15.21 -1.26 0.000 0.200 0.000 0.00 350.150 8.71 13.84 -1.47 0.000 0.200 0.000 0.00 350.200 8.85 16.12 -1.53 0.000 0.200 0.000 0.00 350.250 9.05 17.14 -1.28 0.000 0.200 0.000 0.00 350.300 8.69 15.43 -1.37 0.000 0.200 0.000 0.00 350.350 8.58 15.18 -0.81 0.000 0.200 0.000 0.00 350.400 8.65 15.83 -0.93 0.000 0.200 0.000 0.00 350.450 8.85 16.04 -0.83 0.000 0.200 0.000 0.00 350.500 8.63 15.23 -0.65 0.000 0.200 0.000 0.00 350.550 8.41 14.05 -0.39 0.000 0.200 0.000 0.00 350.600 8.47 14.53 -0.66 0.000 0.200 0.000 0.00 350.650 8.77 17.77 -0.47 0.000 0.200 0.000 0.00 350.700 8.81 16.49 -0.69 0.000 0.200 0.000 0.00 350.750 8.82 15.77 -1.02 0.000 0.200 0.000 0.00 350.800 8.65 15.51 -1.21 0.000 0.200 0.000 0.00 350.850 8.31 13.74 -1.14 0.000 0.200 0.000 0.00 350.900 8.15 13.89 -1.28 0.000 0.200 0.000 0.00 350.950 8.14 14.56 -1.16 0.000 0.200 0.000 0.00 351.000 8.08 14.34 -1.10 0.000 0.200 0.000 0.00 351.050 8.08 14.03 -1.25 0.000 0.200 0.000 0.00 351.100 8.17 15.83 -0.91 0.000 0.200 0.000 0.00 351.150 8.23 14.67 -0.47 0.000 0.200 0.000 0.00 351.200 7.98 15.51 -0.43 0.000 0.200 0.000 0.00 351.250 8.30 15.18 -0.29 0.000 0.200 0.000 0.00 351.300 8.31 12.26 -0.41 0.000 0.200 0.000 0.00 351.350 8.18 13.99 -0.53 0.000 0.200 0.000 0.00 351.400 8.18 12.31 -0.98 0.000 0.200 0.000 0.00 351.450 8.49 10.01 -0.94 0.000 0.200 0.000 0.00 351.500 8.40 7.41 -1.07 0.000 0.200 0.000 0.00 351.550 8.87 5.52 -1.04 0.000 0.200 0.000 0.00 351.600 8.91 5.16 -0.84 0.000 0.200 0.000 0.00 351.650 9.32 5.79 -0.76 0.000 0.200 0.000 0.00 351.700 9.34 5.35 -0.81 0.000 0.200 0.000 0.00 351.750 8.97 5.28 -0.45 0.000 0.200 0.000 0.00 351.800 8.81 4.11 -0.35 0.000 0.200 0.000 0.00 351.850 8.89 6.49 -0.82 0.000 0.200 0.000 0.00 351.900 8.89 7.06 -0.96 0.000 0.200 0.000 0.00 351.950 9.10 5.44 -1.13 0.000 0.200 0.000 0.00 352.000 9.26 4.60 -1.52 0.000 0.200 0.000 0.00 352.050 9.25 6.47 -1.79 0.000 0.200 0.000 0.00 352.100 9.41 4.65 -1.62 0.000 0.200 0.000 0.00 352.150 9.25 4.50 -1.21 0.000 0.200 0.000 0.00 352.200 9.29 4.44 -0.96 0.000 0.200 0.000 0.00 352.250 9.39 5.20 -1.49 0.000 0.200 0.000 0.00 352.300 9.47 4.92 -1.54 0.000 0.200 0.000 0.00 352.350 9.23 2.60 -1.54 0.000 0.200 0.000 0.00 352.400 9.09 1.36 -1.49 0.000 0.200 0.000 0.00 352.450 9.05 3.72 -1.45 0.000 0.200 0.000 0.00 352.500 8.87 3.83 -1.82 0.000 0.200 0.000 0.00 352.550 8.85 2.74 -1.35 0.000 0.200 0.000 0.00 352.600 8.92 -0.52 -1.28 0.000 0.200 0.000 0.00 352.650 8.90 2.52 -1.04 0.000 0.200 0.000 0.00 352.700 9.07 3.02 -0.92 0.000 0.200 0.000 0.00 352.750 8.94 3.11 -0.91 0.000 0.200 0.000 0.00 352.800 8.99 3.41 -1.32 0.000 0.200 0.000 0.00 352.850 9.27 1.18 -1.18 0.000 0.200 0.000 0.00 352.900 8.99 1.50 -0.92 0.000 0.200 0.000 0.00 352.950 8.77 5.06 -1.13 0.000 0.200 0.000 0.00 353.000 8.56 5.89 -1.38 0.000 0.200 0.000 0.00 353.050 8.38 6.36 -1.47 0.000 0.200 0.000 0.00 353.100 8.70 5.63 -1.29 0.000 0.200 0.000 0.00 353.150 8.51 3.26 -1.09 0.000 0.200 0.000 0.00 353.200 8.74 3.10 -0.56 0.000 0.200 0.000 0.00 353.250 8.82 0.05 -0.67 0.000 0.200 0.000 0.00 353.300 8.61 2.24 -0.79 0.000 0.200 0.000 0.00 353.350 8.63 3.30 -0.86 0.000 0.200 0.000 0.00 353.400 8.52 2.67 -0.84 0.000 0.200 0.000 0.00 353.450 8.96 4.85 -0.46 0.000 0.200 0.000 0.00 353.500 8.75 4.43 -0.19 0.000 0.200 0.000 0.00 353.550 8.57 5.34 -0.05 0.000 0.200 0.000 0.00 353.600 8.85 6.14 0.19 0.000 0.200 0.000 0.00 353.650 9.07 7.45 0.19 0.000 0.200 0.000 0.00 353.700 9.03 7.38 0.31 0.000 0.200 0.000 0.00 353.750 8.80 9.92 0.20 0.000 0.200 0.000 0.00 353.800 8.89 9.93 -0.05 0.000 0.200 0.000 0.00 353.850 8.76 11.45 0.00 0.000 0.200 0.000 0.00 353.900 8.79 9.57 -0.19 0.000 0.200 0.000 0.00 353.950 8.88 10.64 -0.81 0.000 0.200 0.000 0.00 354.000 9.04 8.93 -0.82 0.000 0.200 0.000 0.00 354.050 9.17 8.39 -0.89 0.000 0.200 0.000 0.00 354.100 9.12 11.72 -0.69 0.000 0.200 0.000 0.00 354.150 9.01 13.39 -0.81 0.000 0.200 0.000 0.00 354.200 9.33 14.41 -0.73 0.000 0.200 0.000 0.00 354.250 9.30 17.47 -0.71 0.000 0.200 0.000 0.00 354.300 9.18 17.30 -0.08 0.000 0.200 0.000 0.00 354.350 8.98 18.84 0.08 0.000 0.200 0.000 0.00 354.400 9.01 19.00 -0.09 0.000 0.200 0.000 0.00 354.450 8.68 19.17 -0.17 0.000 0.200 0.000 0.00 354.500 8.96 17.45 -0.43 0.000 0.200 0.000 0.00 354.550 9.28 18.76 -0.81 0.000 0.200 0.000 0.00 354.600 9.27 15.92 -0.80 0.000 0.200 0.000 0.00 354.650 9.15 17.53 -1.21 0.000 0.200 0.000 0.00 354.700 8.80 16.40 -1.42 0.000 0.200 0.000 0.00 354.750 9.18 17.15 -1.07 0.000 0.200 0.000 0.00 354.800 9.14 18.61 -0.69 0.000 0.200 0.000 0.00 354.850 9.10 17.50 -0.07 0.000 0.200 0.000 0.00 354.900 8.92 16.56 0.01 0.000 0.200 0.000 0.00 354.950 8.78 15.10 -0.08 0.000 0.200 0.000 0.00 355.000 8.72 14.31 -0.02 0.000 0.200 0.000 0.00 355.050 8.37 14.78 -0.38 0.000 0.200 0.000 0.00 355.100 8.17 12.23 -0.50 0.000 0.200 0.000 0.00 355.150 7.82 13.93 -0.63 0.000 0.200 0.000 0.00 355.200 8.05 15.68 -0.33 0.000 0.200 0.000 0.00 355.250 7.92 14.88 0.16 0.000 0.200 0.000 0.00 355.300 7.74 14.72 0.15 0.000 0.200 0.000 0.00 355.350 7.78 14.37 -0.19 0.000 0.200 0.000 0.00 355.400 7.68 12.83 0.05 0.000 0.200 0.000 0.00 355.450 8.01 11.77 0.09 0.000 0.200 0.000 0.00 355.500 7.93 9.80 0.06 0.000 0.200 0.000 0.00 355.550 8.01 9.92 -0.16 0.000 0.200 0.000 0.00 355.600 7.90 12.98 -0.26 0.000 0.200 0.000 0.00 355.650 8.06 14.76 -0.26 0.000 0.200 0.000 0.00 355.700 7.90 14.74 -0.22 0.000 0.200 0.000 0.00 355.750 8.23 15.03 -0.47 0.000 0.200 0.000 0.00 355.800 8.00 12.58 -0.65 0.000 0.200 0.000 0.00 355.850 7.80 12.71 -0.38 0.000 0.200 0.000 0.00 355.900 7.40 12.67 -0.63 0.000 0.200 0.000 0.00 355.950 7.25 10.61 -0.66 0.000 0.200 0.000 0.00 356.000 7.24 12.69 -0.57 0.000 0.200 0.000 0.00 356.050 7.32 12.67 -0.51 0.000 0.200 0.000 0.00 356.100 7.39 13.50 -0.57 0.000 0.200 0.000 0.00 356.150 7.49 14.12 -0.92 0.000 0.200 0.000 0.00 356.200 7.52 11.33 -0.63 0.000 0.200 0.000 0.00 356.250 7.52 10.48 -0.73 0.000 0.200 0.000 0.00 356.300 7.32 9.51 -0.38 0.000 0.200 0.000 0.00 356.350 7.37 11.61 -0.03 0.000 0.200 0.000 0.00 356.400 7.04 10.66 -0.34 0.000 0.200 0.000 0.00 356.450 7.11 10.35 -0.22 0.000 0.200 0.000 0.00 356.500 6.91 11.83 0.07 0.000 0.200 0.000 0.00 356.550 7.05 9.71 -0.17 0.000 0.200 0.000 0.00 356.600 7.15 12.40 -0.14 0.000 0.200 0.000 0.00 356.650 6.89 11.08 -0.20 0.000 0.200 0.000 0.00 356.700 7.10 14.49 -0.46 0.000 0.200 0.000 0.00 356.750 7.21 17.72 -0.36 0.000 0.200 0.000 0.00 356.800 7.60 17.94 -0.65 0.000 0.200 0.000 0.00 356.850 7.91 19.25 -0.76 0.000 0.200 0.000 0.00 356.900 7.67 21.01 -0.77 0.000 0.200 0.000 0.00 356.950 7.92 19.74 -0.49 0.000 0.200 0.000 0.00 357.000 7.93 18.12 -0.35 0.000 0.200 0.000 0.00 357.050 7.81 17.73 -0.09 0.000 0.200 0.000 0.00 357.100 7.93 15.93 -0.45 0.000 0.200 0.000 0.00 357.150 8.17 19.12 -0.86 0.000 0.200 0.000 0.00 357.200 8.28 19.87 -1.24 0.000 0.200 0.000 0.00 357.250 8.27 18.08 -0.86 0.000 0.200 0.000 0.00 357.300 8.22 18.07 -0.84 0.000 0.200 0.000 0.00 357.350 7.71 17.56 -0.78 0.000 0.200 0.000 0.00 357.400 7.91 21.27 -0.91 0.000 0.200 0.000 0.00 357.450 7.96 22.13 -0.94 0.000 0.200 0.000 0.00 357.500 7.91 18.84 -1.47 0.000 0.200 0.000 0.00 357.550 7.82 17.46 -1.58 0.000 0.200 0.000 0.00 357.600 7.61 19.42 -1.56 0.000 0.200 0.000 0.00 357.650 7.30 19.11 -0.97 0.000 0.200 0.000 0.00 357.700 7.15 16.14 -0.46 0.000 0.200 0.000 0.00 357.750 7.28 14.33 -0.78 0.000 0.200 0.000 0.00 357.800 7.43 10.63 -1.39 0.000 0.200 0.000 0.00 357.850 7.44 12.97 -0.82 0.000 0.200 0.000 0.00 357.900 7.27 16.25 -0.43 0.000 0.200 0.000 0.00 357.950 7.23 15.91 -0.07 0.000 0.200 0.000 0.00 358.000 7.48 15.63 0.02 0.000 0.200 0.000 0.00 358.050 7.48 11.91 -0.32 0.000 0.200 0.000 0.00 358.100 7.71 14.47 -0.41 0.000 0.200 0.000 0.00 358.150 7.84 13.78 -0.24 0.000 0.200 0.000 0.00 358.200 7.78 12.92 -0.36 0.000 0.200 0.000 0.00 358.250 8.10 17.00 -0.45 0.000 0.200 0.000 0.00 358.300 8.20 15.12 -0.04 0.000 0.200 0.000 0.00 358.350 8.29 12.42 0.16 0.000 0.200 0.000 0.00 358.400 8.52 12.99 0.13 0.000 0.200 0.000 0.00 358.450 8.20 13.46 0.39 0.000 0.200 0.000 0.00 358.500 8.45 10.06 0.29 0.000 0.200 0.000 0.00 358.550 8.64 10.68 0.16 0.000 0.200 0.000 0.00 358.600 8.39 12.40 0.61 0.000 0.200 0.000 0.00 358.650 8.48 9.18 0.41 0.000 0.200 0.000 0.00 358.700 8.36 9.97 0.37 0.000 0.200 0.000 0.00 358.750 8.19 9.71 0.34 0.000 0.200 0.000 0.00 358.800 8.24 8.56 0.10 0.000 0.200 0.000 0.00 358.850 8.23 8.31 -0.07 0.000 0.200 0.000 0.00 358.900 7.94 8.66 -0.31 0.000 0.200 0.000 0.00 358.950 7.99 8.75 -0.43 0.000 0.200 0.000 0.00 359.000 7.97 11.44 -0.52 0.000 0.200 0.000 0.00 359.050 7.90 11.43 -0.44 0.000 0.200 0.000 0.00 359.100 7.76 12.08 -0.32 0.000 0.200 0.000 0.00 359.150 7.96 12.05 -0.03 0.000 0.200 0.000 0.00 359.200 7.97 12.28 -0.29 0.000 0.200 0.000 0.00 359.250 7.99 10.64 -0.23 0.000 0.200 0.000 0.00 359.300 7.89 10.60 -0.35 0.000 0.200 0.000 0.00 359.350 8.13 12.68 -0.30 0.000 0.200 0.000 0.00 359.400 8.12 12.00 -0.50 0.000 0.200 0.000 0.00 359.450 7.81 12.34 -0.55 0.000 0.200 0.000 0.00 359.500 7.59 13.07 -0.30 0.000 0.200 0.000 0.00 359.550 7.44 11.52 -0.22 0.000 0.200 0.000 0.00 359.600 7.62 10.91 -0.25 0.000 0.200 0.000 0.00 359.650 7.62 9.45 -0.44 0.000 0.200 0.000 0.00 359.700 7.69 8.63 -0.58 0.000 0.200 0.000 0.00 359.750 7.76 9.33 -0.58 0.000 0.200 0.000 0.00 359.800 7.77 10.74 -0.58 0.000 0.200 0.000 0.00 359.850 7.55 13.13 -0.76 0.000 0.200 0.000 0.00 359.900 7.21 10.44 -0.71 0.000 0.200 0.000 0.00 359.950 7.44 9.86 -0.36 0.000 0.200 0.000 0.00 360.000 6.92 9.96 -0.13 0.000 0.200 0.000 0.00 360.050 6.69 8.97 -0.16 0.000 0.200 0.000 0.00 360.100 6.95 11.97 -0.01 0.000 0.200 0.000 0.00 360.150 6.88 11.67 -0.11 0.000 0.200 0.000 0.00 360.200 6.94 10.11 -0.19 0.000 0.200 0.000 0.00 360.250 7.17 8.97 -0.16 0.000 0.200 0.000 0.00 360.300 7.43 9.57 -0.44 0.000 0.200 0.000 0.00 360.350 7.48 9.57 -0.56 0.000 0.200 0.000 0.00 360.400 7.29 7.02 -1.36 0.000 0.200 0.000 0.00 360.450 7.20 8.81 -1.02 0.000 0.200 0.000 0.00 360.500 7.44 8.23 -1.13 0.000 0.200 0.000 0.00 360.550 7.29 6.16 -0.86 0.000 0.200 0.000 0.00 360.600 7.50 6.21 -0.81 0.000 0.200 0.000 0.00 360.650 7.42 7.81 -0.85 0.000 0.200 0.000 0.00 360.700 7.48 10.72 -0.75 0.000 0.200 0.000 0.00 360.750 7.60 9.94 -0.34 0.000 0.200 0.000 0.00 360.800 7.44 7.41 -0.53 0.000 0.200 0.000 0.00 360.850 7.65 8.25 -0.70 0.000 0.200 0.000 0.00 360.900 7.50 7.15 -0.63 0.000 0.200 0.000 0.00 360.950 7.38 8.83 -0.94 0.000 0.200 0.000 0.00 361.000 7.80 10.39 -0.97 0.000 0.200 0.000 0.00 361.050 7.68 10.48 -0.88 0.000 0.200 0.000 0.00 361.100 7.82 9.19 -0.88 0.000 0.200 0.000 0.00 361.150 7.46 9.32 -0.82 0.000 0.200 0.000 0.00 361.200 7.65 9.65 -0.83 0.000 0.200 0.000 0.00 361.250 7.99 10.03 -0.92 0.000 0.200 0.000 0.00 361.300 7.88 8.98 -0.84 0.000 0.200 0.000 0.00 361.350 7.62 6.58 -0.74 0.000 0.200 0.000 0.00 361.400 7.75 10.05 -0.20 0.000 0.200 0.000 0.00 361.450 7.81 9.08 -0.27 0.000 0.200 0.000 0.00 361.500 7.81 4.48 -0.07 0.000 0.200 0.000 0.00 361.550 7.66 4.12 0.00 0.000 0.200 0.000 0.00 361.600 7.64 4.70 0.11 0.000 0.200 0.000 0.00 361.650 7.53 5.49 -0.09 0.000 0.200 0.000 0.00 361.700 7.47 4.56 -0.13 0.000 0.200 0.000 0.00 361.750 7.58 3.96 -0.38 0.000 0.200 0.000 0.00 361.800 7.51 3.98 -0.79 0.000 0.200 0.000 0.00 361.850 7.44 4.29 -1.10 0.000 0.200 0.000 0.00 361.900 7.23 7.67 -1.34 0.000 0.200 0.000 0.00 361.950 7.47 11.28 -1.37 0.000 0.200 0.000 0.00 362.000 7.26 13.50 -1.62 0.000 0.200 0.000 0.00 362.050 7.34 15.83 -1.39 0.000 0.200 0.000 0.00 362.100 7.21 14.67 -0.97 0.000 0.200 0.000 0.00 362.150 7.20 15.15 -0.94 0.000 0.200 0.000 0.00 362.200 7.03 11.49 -0.78 0.000 0.200 0.000 0.00 362.250 7.35 13.92 -1.11 0.000 0.200 0.000 0.00 362.300 7.75 14.42 -1.06 0.000 0.200 0.000 0.00 362.350 7.92 16.23 -0.59 0.000 0.200 0.000 0.00 362.400 7.89 17.42 -0.37 0.000 0.200 0.000 0.00 362.450 7.87 17.64 -0.43 0.000 0.200 0.000 0.00 362.500 7.84 15.83 -0.78 0.000 0.200 0.000 0.00 362.550 7.70 17.77 -1.18 0.000 0.200 0.000 0.00 362.600 7.45 16.99 -1.18 0.000 0.200 0.000 0.00 362.650 7.64 16.10 -0.98 0.000 0.200 0.000 0.00 362.700 7.96 16.26 -1.19 0.000 0.200 0.000 0.00 362.750 7.75 15.62 -1.16 0.000 0.200 0.000 0.00 362.800 7.94 15.16 -1.35 0.000 0.200 0.000 0.00 362.850 8.12 14.75 -1.56 0.000 0.200 0.000 0.00 362.900 7.96 16.00 -1.75 0.000 0.200 0.000 0.00 362.950 7.90 14.64 -1.54 0.000 0.200 0.000 0.00 363.000 7.90 17.38 -1.13 0.000 0.200 0.000 0.00 363.050 7.78 16.03 -1.18 0.000 0.200 0.000 0.00 363.100 7.83 14.48 -0.93 0.000 0.200 0.000 0.00 363.150 7.87 15.90 -0.92 0.000 0.200 0.000 0.00 363.200 7.89 12.80 -0.54 0.000 0.200 0.000 0.00 363.250 8.19 11.34 -0.67 0.000 0.200 0.000 0.00 363.300 8.44 8.98 -0.59 0.000 0.200 0.000 0.00 363.350 8.40 6.23 -0.14 0.000 0.200 0.000 0.00 363.400 8.61 6.53 0.11 0.000 0.200 0.000 0.00 363.450 8.80 7.34 0.06 0.000 0.200 0.000 0.00 363.500 8.78 7.00 -0.15 0.000 0.200 0.000 0.00 363.550 8.58 8.10 -0.10 0.000 0.200 0.000 0.00 363.600 8.72 7.16 0.01 0.000 0.200 0.000 0.00 363.650 8.63 6.15 -0.02 0.000 0.200 0.000 0.00 363.700 8.42 3.58 -0.08 0.000 0.200 0.000 0.00 363.750 8.15 5.21 -0.33 0.000 0.200 0.000 0.00 363.800 8.11 5.35 -0.28 0.000 0.200 0.000 0.00 363.850 8.33 5.69 -0.33 0.000 0.200 0.000 0.00 363.900 8.39 6.87 -0.15 0.000 0.200 0.000 0.00 363.950 8.09 7.25 -0.22 0.000 0.200 0.000 0.00 364.000 8.15 7.29 -0.44 0.000 0.200 0.000 0.00 364.050 7.86 7.03 -0.28 0.000 0.200 0.000 0.00 364.100 7.84 7.77 -0.16 0.000 0.200 0.000 0.00 364.150 8.16 6.25 -0.32 0.000 0.200 0.000 0.00 364.200 8.29 6.73 -0.47 0.000 0.200 0.000 0.00 364.250 8.43 7.06 -0.39 0.000 0.200 0.000 0.00 364.300 8.45 9.09 -0.46 0.000 0.200 0.000 0.00 364.350 8.75 8.94 -0.03 0.000 0.200 0.000 0.00 364.400 8.67 11.05 -0.04 0.000 0.200 0.000 0.00 364.450 8.39 9.51 -0.10 0.000 0.200 0.000 0.00 364.500 8.10 8.08 0.27 0.000 0.200 0.000 0.00 364.550 8.49 8.32 0.49 0.000 0.200 0.000 0.00 364.600 8.42 8.31 0.16 0.000 0.200 0.000 0.00 364.650 8.10 6.05 -0.16 0.000 0.200 0.000 0.00 364.700 8.19 8.39 -0.33 0.000 0.200 0.000 0.00 364.750 8.72 7.77 -0.41 0.000 0.200 0.000 0.00 364.800 8.40 6.39 -0.33 0.000 0.200 0.000 0.00 364.850 8.18 5.35 -0.41 0.000 0.200 0.000 0.00 364.900 8.06 7.57 -0.42 0.000 0.200 0.000 0.00 364.950 7.92 9.13 -0.01 0.000 0.200 0.000 0.00 365.000 8.36 11.17 -0.34 0.000 0.200 0.000 0.00 365.050 7.94 11.67 -0.43 0.000 0.200 0.000 0.00 365.100 7.77 12.40 -0.62 0.000 0.200 0.000 0.00 365.150 8.13 13.13 -1.11 0.000 0.200 0.000 0.00 365.200 8.23 11.95 -1.00 0.000 0.200 0.000 0.00 365.250 8.46 11.49 -0.74 0.000 0.200 0.000 0.00 365.300 8.21 11.60 -0.62 0.000 0.200 0.000 0.00 365.350 8.07 9.82 -0.58 0.000 0.200 0.000 0.00 365.400 7.97 7.65 -0.37 0.000 0.200 0.000 0.00 365.450 7.66 7.66 -0.37 0.000 0.200 0.000 0.00 365.500 7.79 3.52 -0.17 0.000 0.200 0.000 0.00 365.550 7.51 2.33 -0.35 0.000 0.200 0.000 0.00 365.600 7.77 2.06 -0.25 0.000 0.200 0.000 0.00 365.650 7.67 0.46 -0.12 0.000 0.200 0.000 0.00 365.700 7.42 0.44 -0.18 0.000 0.200 0.000 0.00 365.750 7.67 -1.95 -0.20 0.000 0.200 0.000 0.00 365.800 7.70 -4.36 -0.58 0.000 0.200 0.000 0.00 365.850 8.04 -4.70 -0.58 0.000 0.200 0.000 0.00 365.900 7.99 -4.03 -0.47 0.000 0.200 0.000 0.00 365.950 8.06 -2.26 -0.40 0.000 0.200 0.000 0.00 366.000 8.27 -1.79 -0.30 0.000 0.200 0.000 0.00 366.050 7.92 -1.79 0.04 0.000 0.200 0.000 0.00 366.100 8.00 -0.64 0.10 0.000 0.200 0.000 0.00 366.150 7.89 0.26 -0.13 0.000 0.200 0.000 0.00 366.200 7.72 -1.46 -0.33 0.000 0.200 0.000 0.00 366.250 7.70 -2.58 -0.54 0.000 0.200 0.000 0.00 366.300 7.70 0.64 -0.63 0.000 0.200 0.000 0.00 366.350 7.93 1.79 -0.35 0.000 0.200 0.000 0.00 366.400 8.03 1.31 -0.40 0.000 0.200 0.000 0.00 366.450 8.08 2.04 -0.23 0.000 0.200 0.000 0.00 366.500 7.84 2.36 -0.59 0.000 0.200 0.000 0.00 366.550 8.02 4.16 -0.37 0.000 0.200 0.000 0.00 366.600 7.77 7.41 -0.15 0.000 0.200 0.000 0.00 366.650 7.82 7.75 -0.20 0.000 0.200 0.000 0.00 366.700 7.48 9.25 -0.08 0.000 0.200 0.000 0.00 366.750 7.41 8.56 -0.44 0.000 0.200 0.000 0.00 366.800 7.22 7.53 -0.44 0.000 0.200 0.000 0.00 366.850 7.24 5.63 -0.55 0.000 0.200 0.000 0.00 366.900 7.32 10.12 -0.61 0.000 0.200 0.000 0.00 366.950 7.18 8.84 -0.51 0.000 0.200 0.000 0.00 367.000 7.16 7.40 -0.72 0.000 0.200 0.000 0.00 367.050 7.37 5.98 -0.57 0.000 0.200 0.000 0.00 367.100 6.91 6.29 -0.48 0.000 0.200 0.000 0.00 367.150 6.79 6.57 -0.45 0.000 0.200 0.000 0.00 367.200 6.94 7.90 -0.51 0.000 0.200 0.000 0.00 367.250 6.69 8.06 -0.59 0.000 0.200 0.000 0.00 367.300 6.66 8.52 -0.55 0.000 0.200 0.000 0.00 367.350 6.72 9.91 -0.13 0.000 0.200 0.000 0.00 367.400 6.77 9.03 -0.12 0.000 0.200 0.000 0.00 367.450 6.56 7.46 -0.45 0.000 0.200 0.000 0.00 367.500 6.20 3.28 -0.42 0.000 0.200 0.000 0.00 367.550 5.90 3.22 -0.46 0.000 0.200 0.000 0.00 367.600 5.93 5.23 -0.10 0.000 0.200 0.000 0.00 367.650 6.01 7.25 -0.21 0.000 0.200 0.000 0.00 367.700 5.97 6.72 -0.19 0.000 0.200 0.000 0.00 367.750 5.74 6.52 0.11 0.000 0.200 0.000 0.00 367.800 5.76 12.70 -0.38 0.000 0.200 0.000 0.00 367.850 6.06 9.17 -0.51 0.000 0.200 0.000 0.00 367.900 5.96 5.83 -0.18 0.000 0.200 0.000 0.00 367.950 6.28 8.98 -0.41 0.000 0.200 0.000 0.00 368.000 6.41 11.42 -0.59 0.000 0.200 0.000 0.00 368.050 6.25 12.09 -0.39 0.000 0.200 0.000 0.00 368.100 6.30 12.03 -0.33 0.000 0.200 0.000 0.00 368.150 6.36 10.31 0.27 0.000 0.200 0.000 0.00 368.200 6.43 12.92 0.20 0.000 0.200 0.000 0.00 368.250 6.65 13.71 0.35 0.000 0.200 0.000 0.00 368.300 6.46 15.52 0.35 0.000 0.200 0.000 0.00 368.350 6.13 15.82 0.37 0.000 0.200 0.000 0.00 368.400 6.00 13.85 0.36 0.000 0.200 0.000 0.00 368.450 6.11 12.64 0.35 0.000 0.200 0.000 0.00 368.500 6.14 13.14 0.09 0.000 0.200 0.000 0.00 368.550 6.21 13.25 0.38 0.000 0.200 0.000 0.00 368.600 6.15 12.29 0.23 0.000 0.200 0.000 0.00 368.650 6.09 13.18 0.06 0.000 0.200 0.000 0.00 368.700 6.50 16.01 0.16 0.000 0.200 0.000 0.00 368.750 6.52 13.87 0.06 0.000 0.200 0.000 0.00 368.800 6.00 15.46 0.11 0.000 0.200 0.000 0.00 368.850 5.80 14.19 0.43 0.000 0.200 0.000 0.00 368.900 6.09 15.31 0.52 0.000 0.200 0.000 0.00 368.950 6.47 15.89 0.84 0.000 0.200 0.000 0.00 369.000 6.24 15.29 1.09 0.000 0.200 0.000 0.00 369.050 5.95 18.29 0.81 0.000 0.200 0.000 0.00 369.100 5.54 15.93 0.83 0.000 0.200 0.000 0.00 369.150 5.68 15.28 0.73 0.000 0.200 0.000 0.00 369.200 6.22 10.28 0.78 0.000 0.200 0.000 0.00 369.250 6.56 12.59 0.63 0.000 0.200 0.000 0.00 369.300 6.19 17.72 0.26 0.000 0.200 0.000 0.00 369.350 6.15 15.37 0.37 0.000 0.200 0.000 0.00 369.400 6.31 14.27 0.66 0.000 0.200 0.000 0.00 369.450 6.24 13.15 0.45 0.000 0.200 0.000 0.00 369.500 6.50 16.88 0.43 0.000 0.200 0.000 0.00 369.550 6.15 18.13 0.22 0.000 0.200 0.000 0.00 369.600 6.56 16.14 -0.14 0.000 0.200 0.000 0.00 369.650 6.55 13.91 -0.14 0.000 0.200 0.000 0.00 369.700 6.32 11.83 -0.27 0.000 0.200 0.000 0.00 369.750 6.18 11.22 -0.38 0.000 0.200 0.000 0.00 369.800 6.33 10.04 -0.24 0.000 0.200 0.000 0.00 369.850 6.16 9.73 -0.47 0.000 0.200 0.000 0.00 369.900 6.05 9.88 -0.34 0.000 0.200 0.000 0.00 369.950 6.19 9.14 -0.45 0.000 0.200 0.000 0.00 370.000 6.30 10.86 -0.53 0.000 0.200 0.000 0.00 370.050 6.22 8.28 -0.23 0.000 0.200 0.000 0.00 370.100 5.95 10.03 -0.33 0.000 0.200 0.000 0.00 370.150 5.86 11.34 -0.48 0.000 0.200 0.000 0.00 370.200 5.94 10.84 -0.71 0.000 0.200 0.000 0.00 370.250 6.53 11.34 -0.56 0.000 0.200 0.000 0.00 370.300 6.18 12.77 -0.39 0.000 0.200 0.000 0.00 370.350 6.00 10.16 -0.06 0.000 0.200 0.000 0.00 370.400 6.07 8.95 0.25 0.000 0.200 0.000 0.00 370.450 5.80 10.68 0.06 0.000 0.200 0.000 0.00 370.500 5.75 9.78 -0.32 0.000 0.200 0.000 0.00 370.550 5.92 8.44 -0.46 0.000 0.200 0.000 0.00 370.600 5.84 7.06 -0.65 0.000 0.200 0.000 0.00 370.650 5.63 10.43 -0.27 0.000 0.200 0.000 0.00 370.700 5.46 11.06 -0.26 0.000 0.200 0.000 0.00 370.750 5.26 13.41 -0.79 0.000 0.200 0.000 0.00 370.800 5.18 11.91 -0.72 0.000 0.200 0.000 0.00 370.850 5.25 8.93 -0.55 0.000 0.200 0.000 0.00 370.900 4.96 11.57 -0.59 0.000 0.200 0.000 0.00 370.950 4.87 12.45 -0.67 0.000 0.200 0.000 0.00 371.000 4.69 7.12 -0.65 0.000 0.200 0.000 0.00 371.050 4.94 5.03 -0.72 0.000 0.200 0.000 0.00 371.100 5.11 6.64 -0.26 0.000 0.200 0.000 0.00 371.150 4.99 10.30 -0.69 0.000 0.200 0.000 0.00 371.200 4.58 5.84 -0.71 0.000 0.200 0.000 0.00 371.250 4.70 4.54 -0.12 0.000 0.200 0.000 0.00 371.300 4.65 3.50 0.06 0.000 0.200 0.000 0.00 371.350 4.44 5.86 -0.05 0.000 0.200 0.000 0.00 371.400 4.81 5.51 -0.31 0.000 0.200 0.000 0.00 371.450 4.78 6.00 -0.58 0.000 0.200 0.000 0.00 371.500 4.71 12.92 -0.48 0.000 0.200 0.000 0.00 371.550 4.74 12.31 -0.51 0.000 0.200 0.000 0.00 371.600 4.38 11.54 -0.68 0.000 0.200 0.000 0.00 371.650 4.44 14.58 -0.55 0.000 0.200 0.000 0.00 371.700 4.55 12.86 -0.32 0.000 0.200 0.000 0.00 371.750 4.81 11.59 -0.16 0.000 0.200 0.000 0.00 371.800 4.72 13.90 -0.13 0.000 0.200 0.000 0.00 371.850 4.52 9.02 -0.32 0.000 0.200 0.000 0.00 371.900 4.27 12.52 -0.45 0.000 0.200 0.000 0.00 371.950 4.18 12.18 -0.33 0.000 0.200 0.000 0.00 372.000 4.10 8.31 -0.18 0.000 0.200 0.000 0.00 372.050 4.16 11.27 -0.13 0.000 0.200 0.000 0.00 372.100 4.30 11.56 -0.32 0.000 0.200 0.000 0.00 372.150 4.46 11.51 -0.35 0.000 0.200 0.000 0.00 372.200 4.65 14.60 -0.22 0.000 0.200 0.000 0.00 372.250 4.48 14.70 -0.32 0.000 0.200 0.000 0.00 372.300 4.39 17.20 -0.69 0.000 0.200 0.000 0.00 372.350 4.56 15.15 -0.53 0.000 0.200 0.000 0.00 372.400 4.43 14.94 -0.74 0.000 0.200 0.000 0.00 372.450 4.54 16.29 -0.35 0.000 0.200 0.000 0.00 372.500 4.78 20.19 -0.29 0.000 0.200 0.000 0.00 372.550 4.73 21.40 -0.65 0.000 0.200 0.000 0.00 372.600 4.38 17.15 -0.96 0.000 0.200 0.000 0.00 372.650 4.24 16.81 -0.68 0.000 0.200 0.000 0.00 372.700 4.36 18.63 -0.63 0.000 0.200 0.000 0.00 372.750 4.37 23.07 -0.72 0.000 0.200 0.000 0.00 372.800 4.45 24.13 -0.64 0.000 0.200 0.000 0.00 372.850 4.30 22.53 -0.73 0.000 0.200 0.000 0.00 372.900 4.19 26.95 -0.45 0.000 0.200 0.000 0.00 372.950 4.11 24.45 -0.23 0.000 0.200 0.000 0.00 373.000 3.96 19.82 -0.32 0.000 0.200 0.000 0.00 373.050 4.41 25.24 -0.19 0.000 0.200 0.000 0.00 373.100 4.70 24.21 -0.12 0.000 0.200 0.000 0.00 373.150 4.68 26.73 -0.63 0.000 0.200 0.000 0.00 373.200 4.80 28.61 -0.68 0.000 0.200 0.000 0.00 373.250 5.04 26.99 -0.48 0.000 0.200 0.000 0.00 373.300 4.98 26.37 -0.70 0.000 0.200 0.000 0.00 373.350 4.85 24.79 -0.81 0.000 0.200 0.000 0.00 373.400 4.75 21.59 -0.54 0.000 0.200 0.000 0.00 373.450 5.04 20.16 -0.85 0.000 0.200 0.000 0.00 373.500 5.09 21.83 -0.54 0.000 0.200 0.000 0.00 373.550 4.82 18.44 -0.51 0.000 0.200 0.000 0.00 373.600 4.73 22.73 -0.79 0.000 0.200 0.000 0.00 373.650 4.58 22.60 -0.94 0.000 0.200 0.000 0.00 373.700 4.69 23.95 -1.25 0.000 0.200 0.000 0.00 373.750 4.51 24.14 -0.95 0.000 0.200 0.000 0.00 373.800 4.66 21.41 -1.09 0.000 0.200 0.000 0.00 373.850 4.37 21.61 -0.95 0.000 0.200 0.000 0.00 373.900 4.30 17.55 -0.59 0.000 0.200 0.000 0.00 373.950 4.34 17.77 -0.75 0.000 0.200 0.000 0.00 374.000 4.30 17.87 -0.93 0.000 0.200 0.000 0.00 374.050 4.45 13.72 -1.14 0.000 0.200 0.000 0.00 374.100 4.39 15.49 -1.25 0.000 0.200 0.000 0.00 374.150 4.32 15.97 -1.19 0.000 0.200 0.000 0.00 374.200 4.38 15.70 -1.35 0.000 0.200 0.000 0.00 374.250 4.42 21.28 -1.29 0.000 0.200 0.000 0.00 374.300 4.74 21.15 -1.96 0.000 0.200 0.000 0.00 374.350 4.54 20.88 -2.10 0.000 0.200 0.000 0.00 374.400 4.23 18.65 -1.88 0.000 0.200 0.000 0.00 374.450 4.64 20.09 -1.87 0.000 0.200 0.000 0.00 374.500 4.58 13.10 -2.08 0.000 0.200 0.000 0.00 374.550 4.58 13.79 -1.80 0.000 0.200 0.000 0.00 374.600 4.81 14.66 -1.51 0.000 0.200 0.000 0.00 374.650 4.37 15.56 -1.92 0.000 0.200 0.000 0.00 374.700 4.48 11.15 -1.80 0.000 0.200 0.000 0.00 374.750 4.68 11.35 -1.79 0.000 0.200 0.000 0.00 374.800 4.52 15.56 -1.19 0.000 0.200 0.000 0.00 374.850 4.48 14.78 -1.28 0.000 0.200 0.000 0.00 374.900 4.86 13.89 -1.58 0.000 0.200 0.000 0.00 374.950 5.22 17.03 -1.56 0.000 0.200 0.000 0.00 375.000 5.09 18.32 -1.07 0.000 0.200 0.000 0.00 375.050 4.76 19.38 -1.21 0.000 0.200 0.000 0.00 375.100 4.50 21.84 -1.08 0.000 0.200 0.000 0.00 375.150 4.52 22.45 -0.91 0.000 0.200 0.000 0.00 375.200 4.77 23.13 -0.98 0.000 0.200 0.000 0.00 375.250 4.69 23.14 -1.13 0.000 0.200 0.000 0.00 375.300 4.78 19.27 -0.92 0.000 0.200 0.000 0.00 375.350 5.21 21.42 -0.78 0.000 0.200 0.000 0.00 375.400 5.38 21.46 -0.88 0.000 0.200 0.000 0.00 375.450 5.94 19.60 -0.63 0.000 0.200 0.000 0.00 375.500 6.38 19.87 -0.56 0.000 0.200 0.000 0.00 375.550 6.50 17.69 -0.87 0.000 0.200 0.000 0.00 375.600 6.13 15.15 -1.18 0.000 0.200 0.000 0.00 375.650 6.09 14.54 -1.00 0.000 0.200 0.000 0.00 375.700 6.07 18.38 -0.73 0.000 0.200 0.000 0.00 375.750 5.89 16.80 -0.33 0.000 0.200 0.000 0.00 375.800 6.18 19.29 -0.22 0.000 0.200 0.000 0.00 375.850 5.98 21.35 -0.15 0.000 0.200 0.000 0.00 375.900 5.52 22.64 -0.01 0.000 0.200 0.000 0.00 375.950 5.58 19.72 -0.32 0.000 0.200 0.000 0.00 376.000 5.05 18.61 -0.61 0.000 0.200 0.000 0.00 376.050 4.88 17.54 -0.64 0.000 0.200 0.000 0.00 376.100 4.88 16.60 -0.53 0.000 0.200 0.000 0.00 376.150 5.02 17.74 -0.65 0.000 0.200 0.000 0.00 376.200 5.00 21.96 -0.96 0.000 0.200 0.000 0.00 376.250 4.87 20.89 -0.71 0.000 0.200 0.000 0.00 376.300 4.53 18.44 -0.68 0.000 0.200 0.000 0.00 376.350 4.74 18.77 -0.75 0.000 0.200 0.000 0.00 376.400 4.78 18.98 -0.86 0.000 0.200 0.000 0.00 376.450 5.05 22.72 -0.78 0.000 0.200 0.000 0.00 376.500 5.11 24.33 -0.98 0.000 0.200 0.000 0.00 376.550 4.81 19.84 -0.90 0.000 0.200 0.000 0.00 376.600 4.47 17.33 -0.97 0.000 0.200 0.000 0.00 376.650 4.42 15.19 -0.53 0.000 0.200 0.000 0.00 376.700 4.52 22.36 -0.32 0.000 0.200 0.000 0.00 376.750 4.38 25.56 -0.46 0.000 0.200 0.000 0.00 376.800 4.29 24.24 -0.55 0.000 0.200 0.000 0.00 376.850 4.25 25.70 -0.51 0.000 0.200 0.000 0.00 376.900 4.19 30.16 -0.58 0.000 0.200 0.000 0.00 376.950 4.21 37.03 -0.20 0.000 0.200 0.000 0.00 377.000 4.39 34.15 -0.13 0.000 0.200 0.000 0.00 377.050 4.49 33.42 -0.29 0.000 0.200 0.000 0.00 377.100 4.33 30.13 0.03 0.000 0.200 0.000 0.00 377.150 4.36 31.53 -0.27 0.000 0.200 0.000 0.00 377.200 4.19 26.63 -0.53 0.000 0.200 0.000 0.00 377.250 4.44 28.94 -0.69 0.000 0.200 0.000 0.00 377.300 4.21 25.26 -0.40 0.000 0.200 0.000 0.00 377.350 3.95 24.36 -0.56 0.000 0.200 0.000 0.00 377.400 3.61 19.65 -0.64 0.000 0.200 0.000 0.00 377.450 3.54 21.95 -0.66 0.000 0.200 0.000 0.00 377.500 3.92 23.03 -0.71 0.000 0.200 0.000 0.00 377.550 3.97 25.60 -0.35 0.000 0.200 0.000 0.00 377.600 4.12 25.57 -0.25 0.000 0.200 0.000 0.00 377.650 4.08 26.07 -0.43 0.000 0.200 0.000 0.00 377.700 3.75 29.98 -0.59 0.000 0.200 0.000 0.00 377.750 3.54 24.41 -0.60 0.000 0.200 0.000 0.00 377.800 3.49 18.35 -0.76 0.000 0.200 0.000 0.00 377.850 3.28 15.67 -0.72 0.000 0.200 0.000 0.00 377.900 3.49 15.45 -0.70 0.000 0.200 0.000 0.00 377.950 3.57 15.13 -0.48 0.000 0.200 0.000 0.00 378.000 3.66 12.22 -0.56 0.000 0.200 0.000 0.00 378.050 3.50 8.38 -0.59 0.000 0.200 0.000 0.00 378.100 3.06 8.81 -0.29 0.000 0.200 0.000 0.00 378.150 3.10 14.37 -0.23 0.000 0.200 0.000 0.00 378.200 3.01 15.50 -0.41 0.000 0.200 0.000 0.00 378.250 3.30 14.19 -0.28 0.000 0.200 0.000 0.00 378.300 3.41 14.87 -0.32 0.000 0.200 0.000 0.00 378.350 3.57 7.63 0.06 0.000 0.200 0.000 0.00 378.400 3.45 2.76 0.12 0.000 0.200 0.000 0.00 378.450 3.28 -0.63 -0.07 0.000 0.200 0.000 0.00 378.500 3.52 2.39 -0.05 0.000 0.200 0.000 0.00 378.550 3.26 3.94 -0.39 0.000 0.200 0.000 0.00 378.600 3.03 7.16 -0.68 0.000 0.200 0.000 0.00 378.650 3.07 4.79 -0.63 0.000 0.200 0.000 0.00 378.700 3.12 6.65 -0.58 0.000 0.200 0.000 0.00 378.750 2.67 8.69 -0.40 0.000 0.200 0.000 0.00 378.800 2.58 12.96 -0.43 0.000 0.200 0.000 0.00 378.850 2.58 12.78 -0.44 0.000 0.200 0.000 0.00 378.900 2.67 15.47 -0.68 0.000 0.200 0.000 0.00 378.950 2.49 8.29 -0.27 0.000 0.200 0.000 0.00 379.000 2.42 18.09 -0.01 0.000 0.200 0.000 0.00 379.050 2.43 19.26 -0.06 0.000 0.200 0.000 0.00 379.100 2.63 18.81 -0.14 0.000 0.200 0.000 0.00 379.150 2.99 12.36 -0.12 0.000 0.200 0.000 0.00 379.200 3.41 6.18 -0.45 0.000 0.200 0.000 0.00 379.250 3.15 6.59 -0.28 0.000 0.200 0.000 0.00 379.300 3.29 7.42 -0.01 0.000 0.200 0.000 0.00 379.350 3.14 12.67 -0.04 0.000 0.200 0.000 0.00 379.400 3.32 14.46 -0.35 0.000 0.200 0.000 0.00 379.450 3.41 14.63 -0.41 0.000 0.200 0.000 0.00 379.500 3.64 17.53 -0.38 0.000 0.200 0.000 0.00 379.550 3.69 14.88 -0.31 0.000 0.200 0.000 0.00 379.600 3.84 12.67 -0.37 0.000 0.200 0.000 0.00 379.650 3.83 15.71 -0.27 0.000 0.200 0.000 0.00 379.700 3.82 15.60 0.07 0.000 0.200 0.000 0.00 379.750 3.90 12.21 -0.44 0.000 0.200 0.000 0.00 379.800 3.59 9.28 -0.42 0.000 0.200 0.000 0.00 379.850 3.53 9.17 -0.35 0.000 0.200 0.000 0.00 379.900 3.86 15.31 -0.56 0.000 0.200 0.000 0.00 379.950 4.21 16.04 -0.72 0.000 0.200 0.000 0.00 380.000 4.27 14.59 -0.89 0.000 0.200 0.000 0.00 380.050 4.29 10.24 -0.80 0.000 0.200 0.000 0.00 380.100 4.43 11.54 -0.44 0.000 0.200 0.000 0.00 380.150 4.24 10.14 -0.43 0.000 0.200 0.000 0.00 380.200 4.35 9.58 -0.45 0.000 0.200 0.000 0.00 380.250 4.45 10.70 -0.30 0.000 0.200 0.000 0.00 380.300 4.45 12.50 -0.40 0.000 0.200 0.000 0.00 380.350 4.73 13.18 -0.36 0.000 0.200 0.000 0.00 380.400 4.95 18.37 -0.11 0.000 0.200 0.000 0.00 380.450 4.96 20.02 0.13 0.000 0.200 0.000 0.00 380.500 4.94 21.51 0.04 0.000 0.200 0.000 0.00 380.550 4.94 22.20 0.16 0.000 0.200 0.000 0.00 380.600 5.08 17.31 0.07 0.000 0.200 0.000 0.00 380.650 5.24 15.90 -0.04 0.000 0.200 0.000 0.00 380.700 5.07 12.41 -0.22 0.000 0.200 0.000 0.00 380.750 5.05 9.18 -0.17 0.000 0.200 0.000 0.00 380.800 5.01 9.47 -0.11 0.000 0.200 0.000 0.00 380.850 4.56 6.57 0.43 0.000 0.200 0.000 0.00 380.900 4.55 7.35 0.49 0.000 0.200 0.000 0.00 380.950 4.58 1.67 0.54 0.000 0.200 0.000 0.00 381.000 4.40 -1.54 0.53 0.000 0.200 0.000 0.00 381.050 4.34 -2.90 0.36 0.000 0.200 0.000 0.00 381.100 4.12 -0.94 0.18 0.000 0.200 0.000 0.00 381.150 4.22 -4.47 0.39 0.000 0.200 0.000 0.00 381.200 4.36 -8.76 0.08 0.000 0.200 0.000 0.00 381.250 4.51 -5.13 0.20 0.000 0.200 0.000 0.00 381.300 4.28 1.22 0.20 0.000 0.200 0.000 0.00 381.350 4.32 4.46 0.06 0.000 0.200 0.000 0.00 381.400 4.41 4.00 -0.18 0.000 0.200 0.000 0.00 381.450 4.31 -2.21 -0.34 0.000 0.200 0.000 0.00 381.500 4.51 -2.37 -0.32 0.000 0.200 0.000 0.00 381.550 4.59 -0.40 -0.52 0.000 0.200 0.000 0.00 381.600 4.65 6.52 -0.80 0.000 0.200 0.000 0.00 381.650 4.38 11.18 -0.89 0.000 0.200 0.000 0.00 381.700 4.45 15.19 -0.75 0.000 0.200 0.000 0.00 381.750 4.46 17.33 -0.77 0.000 0.200 0.000 0.00 381.800 4.35 14.87 -0.87 0.000 0.200 0.000 0.00 381.850 4.32 11.60 -0.96 0.000 0.200 0.000 0.00 381.900 4.30 8.35 -0.60 0.000 0.200 0.000 0.00 381.950 4.28 8.66 -0.75 0.000 0.200 0.000 0.00 382.000 4.06 8.16 -0.52 0.000 0.200 0.000 0.00 382.050 4.17 17.28 -0.11 0.000 0.200 0.000 0.00 382.100 4.29 15.84 -0.19 0.000 0.200 0.000 0.00 382.150 4.11 12.61 -0.13 0.000 0.200 0.000 0.00 382.200 4.23 15.79 0.06 0.000 0.200 0.000 0.00 382.250 4.09 14.38 0.11 0.000 0.200 0.000 0.00 382.300 3.96 4.10 -0.10 0.000 0.200 0.000 0.00 382.350 3.85 1.43 -0.30 0.000 0.200 0.000 0.00 382.400 3.83 -0.40 -0.14 0.000 0.200 0.000 0.00 382.450 3.97 -3.23 -0.11 0.000 0.200 0.000 0.00 382.500 3.85 -7.50 -0.83 0.000 0.200 0.000 0.00 382.550 3.82 -4.31 -0.87 0.000 0.200 0.000 0.00 382.600 3.94 -6.65 -1.41 0.000 0.200 0.000 0.00 382.650 3.64 -4.42 -1.38 0.000 0.200 0.000 0.00 382.700 3.82 -9.28 -1.48 0.000 0.200 0.000 0.00 382.750 3.88 -12.30 -1.35 0.000 0.200 0.000 0.00 382.800 3.96 -12.37 -1.12 0.000 0.200 0.000 0.00 382.850 4.02 -18.11 -0.92 0.000 0.200 0.000 0.00 382.900 3.58 -13.20 -0.98 0.000 0.200 0.000 0.00 382.950 3.52 -12.57 -1.16 0.000 0.200 0.000 0.00 383.000 3.29 -11.08 -1.42 0.000 0.200 0.000 0.00 383.050 3.10 -9.89 -1.24 0.000 0.200 0.000 0.00 383.100 3.25 -8.20 -1.09 0.000 0.200 0.000 0.00 383.150 3.40 -4.59 -1.16 0.000 0.200 0.000 0.00 383.200 3.29 -4.14 -1.35 0.000 0.200 0.000 0.00 383.250 3.15 -4.83 -1.12 0.000 0.200 0.000 0.00 383.300 3.19 -3.74 -1.20 0.000 0.200 0.000 0.00 383.350 3.58 -3.37 -1.18 0.000 0.200 0.000 0.00 383.400 3.69 -2.72 -0.52 0.000 0.200 0.000 0.00 383.450 3.50 -10.11 -0.32 0.000 0.200 0.000 0.00 383.500 3.66 -11.35 -0.34 0.000 0.200 0.000 0.00 383.550 3.91 -15.07 -0.16 0.000 0.200 0.000 0.00 383.600 3.70 -15.67 -0.14 0.000 0.200 0.000 0.00 383.650 3.92 -11.50 -0.52 0.000 0.200 0.000 0.00 383.700 3.62 -8.01 -0.78 0.000 0.200 0.000 0.00 383.750 3.40 -5.71 -0.59 0.000 0.200 0.000 0.00 383.800 3.39 -6.05 -0.68 0.000 0.200 0.000 0.00 383.850 3.41 -6.07 -0.83 0.000 0.200 0.000 0.00 383.900 3.71 -8.85 -0.94 0.000 0.200 0.000 0.00 383.950 3.61 -4.92 -0.62 0.000 0.200 0.000 0.00 384.000 3.30 -2.97 -0.86 0.000 0.200 0.000 0.00 384.050 3.37 -3.57 -0.46 0.000 0.200 0.000 0.00 384.100 3.49 -0.88 -0.53 0.000 0.200 0.000 0.00 384.150 3.61 4.31 -0.29 0.000 0.200 0.000 0.00 384.200 3.80 6.27 -0.32 0.000 0.200 0.000 0.00 384.250 3.95 2.65 -0.39 0.000 0.200 0.000 0.00 384.300 4.03 1.24 -0.53 0.000 0.200 0.000 0.00 384.350 3.84 5.41 -0.62 0.000 0.200 0.000 0.00 384.400 4.10 7.73 -0.62 0.000 0.200 0.000 0.00 384.450 4.35 7.83 -0.50 0.000 0.200 0.000 0.00 384.500 4.74 5.92 -0.52 0.000 0.200 0.000 0.00 384.550 4.71 7.69 -0.30 0.000 0.200 0.000 0.00 384.600 4.45 3.66 0.05 0.000 0.200 0.000 0.00 384.650 4.27 1.71 0.09 0.000 0.200 0.000 0.00 384.700 4.12 -7.32 0.20 0.000 0.200 0.000 0.00 384.750 4.53 -10.06 0.37 0.000 0.200 0.000 0.00 384.800 5.13 -8.45 0.07 0.000 0.200 0.000 0.00 384.850 5.07 -2.22 -0.27 0.000 0.200 0.000 0.00 384.900 4.50 -3.99 -0.21 0.000 0.200 0.000 0.00 384.950 4.14 2.11 -0.13 0.000 0.200 0.000 0.00 385.000 4.03 4.42 -0.32 0.000 0.200 0.000 0.00 385.050 4.38 4.78 -0.23 0.000 0.200 0.000 0.00 385.100 4.27 2.50 -0.44 0.000 0.200 0.000 0.00 385.150 3.94 4.43 -0.26 0.000 0.200 0.000 0.00 385.200 3.85 1.98 -0.08 0.000 0.200 0.000 0.00 385.250 3.99 -2.81 -0.24 0.000 0.200 0.000 0.00 385.300 3.71 -3.29 -0.12 0.000 0.200 0.000 0.00 385.350 3.77 2.62 0.04 0.000 0.200 0.000 0.00 385.400 3.95 0.61 0.87 0.000 0.200 0.000 0.00 385.450 3.91 6.05 0.69 0.000 0.200 0.000 0.00 385.500 3.78 8.53 0.59 0.000 0.200 0.000 0.00 385.550 3.76 8.30 0.49 0.000 0.200 0.000 0.00 385.600 3.60 9.34 0.24 0.000 0.200 0.000 0.00 385.650 3.73 6.76 0.55 0.000 0.200 0.000 0.00 385.700 3.83 5.20 0.58 0.000 0.200 0.000 0.00 385.750 3.66 2.98 0.35 0.000 0.200 0.000 0.00 385.800 3.53 7.42 0.29 0.000 0.200 0.000 0.00 385.850 3.66 6.28 0.34 0.000 0.200 0.000 0.00 385.900 3.60 8.98 0.24 0.000 0.200 0.000 0.00 385.950 3.72 8.89 0.17 0.000 0.200 0.000 0.00 386.000 3.31 6.04 0.22 0.000 0.200 0.000 0.00 386.050 3.49 10.54 0.24 0.000 0.200 0.000 0.00 386.100 3.29 7.92 0.05 0.000 0.200 0.000 0.00 386.150 3.01 12.59 -0.52 0.000 0.200 0.000 0.00 386.200 2.95 3.86 -0.57 0.000 0.200 0.000 0.00 386.250 3.16 2.18 -0.74 0.000 0.200 0.000 0.00 386.300 3.02 9.38 -0.55 0.000 0.200 0.000 0.00 386.350 3.00 12.48 -0.48 0.000 0.200 0.000 0.00 386.400 3.00 17.55 -0.73 0.000 0.200 0.000 0.00 386.450 3.00 15.69 -0.60 0.000 0.200 0.000 0.00 386.500 3.15 16.39 -1.12 0.000 0.200 0.000 0.00 386.550 3.20 22.65 -1.18 0.000 0.200 0.000 0.00 386.600 2.69 24.37 -1.23 0.000 0.200 0.000 0.00 386.650 2.72 23.08 -1.60 0.000 0.200 0.000 0.00 386.700 3.09 15.27 -1.10 0.000 0.200 0.000 0.00 386.750 3.46 16.13 -0.88 0.000 0.200 0.000 0.00 386.800 3.76 15.59 -0.97 0.000 0.200 0.000 0.00 386.850 3.87 10.08 -1.09 0.000 0.200 0.000 0.00 386.900 3.63 10.01 -1.31 0.000 0.200 0.000 0.00 386.950 3.68 12.92 -1.11 0.000 0.200 0.000 0.00 387.000 3.41 8.50 -0.95 0.000 0.200 0.000 0.00 387.050 3.63 8.20 -1.01 0.000 0.200 0.000 0.00 387.100 4.45 10.74 -1.02 0.000 0.200 0.000 0.00 387.150 4.63 14.89 -1.19 0.000 0.200 0.000 0.00 387.200 4.86 13.98 -1.22 0.000 0.200 0.000 0.00 387.250 4.72 17.29 -1.20 0.000 0.200 0.000 0.00 387.300 4.30 18.53 -1.11 0.000 0.200 0.000 0.00 387.350 3.99 13.62 -0.88 0.000 0.200 0.000 0.00 387.400 4.05 16.01 -1.01 0.000 0.200 0.000 0.00 387.450 4.01 17.46 -0.99 0.000 0.200 0.000 0.00 387.500 3.93 14.98 -0.62 0.000 0.200 0.000 0.00 387.550 4.24 15.92 -0.37 0.000 0.200 0.000 0.00 387.600 4.34 12.84 -0.15 0.000 0.200 0.000 0.00 387.650 4.59 12.72 -0.50 0.000 0.200 0.000 0.00 387.700 4.72 9.30 -0.41 0.000 0.200 0.000 0.00 387.750 4.95 10.58 -0.26 0.000 0.200 0.000 0.00 387.800 4.93 10.39 -0.11 0.000 0.200 0.000 0.00 387.850 4.82 8.82 -0.24 0.000 0.200 0.000 0.00 387.900 4.96 10.80 -0.14 0.000 0.200 0.000 0.00 387.950 4.97 6.35 -0.69 0.000 0.200 0.000 0.00 388.000 4.80 3.60 -0.82 0.000 0.200 0.000 0.00 388.050 4.35 9.49 -0.79 0.000 0.200 0.000 0.00 388.100 4.64 9.06 -0.60 0.000 0.200 0.000 0.00 388.150 4.93 6.87 -0.72 0.000 0.200 0.000 0.00 388.200 4.99 6.02 -0.84 0.000 0.200 0.000 0.00 388.250 4.77 7.35 -0.84 0.000 0.200 0.000 0.00 388.300 4.67 3.62 -1.03 0.000 0.200 0.000 0.00 388.350 4.59 7.77 -0.94 0.000 0.200 0.000 0.00 388.400 4.91 8.54 -0.77 0.000 0.200 0.000 0.00 388.450 5.22 9.51 -0.84 0.000 0.200 0.000 0.00 388.500 5.35 7.55 -1.07 0.000 0.200 0.000 0.00 388.550 5.41 8.57 -1.03 0.000 0.200 0.000 0.00 388.600 5.34 11.27 -0.96 0.000 0.200 0.000 0.00 388.650 5.41 12.64 -0.71 0.000 0.200 0.000 0.00 388.700 5.09 17.55 -0.70 0.000 0.200 0.000 0.00 388.750 5.36 15.42 -0.56 0.000 0.200 0.000 0.00 388.800 5.69 12.48 -0.67 0.000 0.200 0.000 0.00 388.850 5.38 13.81 -0.78 0.000 0.200 0.000 0.00 388.900 5.02 13.11 -0.80 0.000 0.200 0.000 0.00 388.950 4.75 14.27 -0.11 0.000 0.200 0.000 0.00 389.000 4.83 11.72 0.10 0.000 0.200 0.000 0.00 389.050 4.61 11.00 -0.29 0.000 0.200 0.000 0.00 389.100 4.86 10.93 -0.17 0.000 0.200 0.000 0.00 389.150 4.81 13.13 -0.33 0.000 0.200 0.000 0.00 389.200 4.90 9.62 -0.36 0.000 0.200 0.000 0.00 389.250 5.04 7.14 -0.35 0.000 0.200 0.000 0.00 389.300 4.81 6.66 -0.40 0.000 0.200 0.000 0.00 389.350 4.59 4.30 -0.43 0.000 0.200 0.000 0.00 389.400 4.41 3.17 -0.44 0.000 0.200 0.000 0.00 389.450 4.47 5.80 -0.75 0.000 0.200 0.000 0.00 389.500 4.37 8.92 -0.67 0.000 0.200 0.000 0.00 389.550 4.14 13.46 -0.62 0.000 0.200 0.000 0.00 389.600 4.37 11.69 -0.83 0.000 0.200 0.000 0.00 389.650 4.34 5.90 -0.54 0.000 0.200 0.000 0.00 389.700 4.51 5.01 -0.50 0.000 0.200 0.000 0.00 389.750 4.51 8.67 -0.86 0.000 0.200 0.000 0.00 389.800 4.58 6.18 -0.60 0.000 0.200 0.000 0.00 389.850 4.76 -0.46 -0.52 0.000 0.200 0.000 0.00 389.900 4.82 0.90 -0.41 0.000 0.200 0.000 0.00 389.950 4.88 5.53 -0.28 0.000 0.200 0.000 0.00 390.000 5.26 3.05 -0.44 0.000 0.200 0.000 0.00 390.050 4.74 0.22 -0.41 0.000 0.200 0.000 0.00 390.100 4.42 -0.52 -0.73 0.000 0.200 0.000 0.00 390.150 4.62 -3.46 -0.55 0.000 0.200 0.000 0.00 390.200 4.53 3.41 -0.37 0.000 0.200 0.000 0.00 390.250 4.50 3.68 -0.49 0.000 0.200 0.000 0.00 390.300 4.62 3.08 -0.41 0.000 0.200 0.000 0.00 390.350 4.68 4.08 -0.65 0.000 0.200 0.000 0.00 390.400 4.85 7.18 -0.54 0.000 0.200 0.000 0.00 390.450 5.20 3.94 -0.72 0.000 0.200 0.000 0.00 390.500 5.25 2.63 -0.45 0.000 0.200 0.000 0.00 390.550 5.10 -0.35 -0.47 0.000 0.200 0.000 0.00 390.600 5.26 1.56 -0.86 0.000 0.200 0.000 0.00 390.650 5.40 -1.15 -0.96 0.000 0.200 0.000 0.00 390.700 5.25 -1.93 -0.89 0.000 0.200 0.000 0.00 390.750 5.31 0.16 -0.66 0.000 0.200 0.000 0.00 390.800 5.10 -1.55 -0.88 0.000 0.200 0.000 0.00 390.850 5.07 0.13 -1.23 0.000 0.200 0.000 0.00 390.900 5.26 2.54 -1.01 0.000 0.200 0.000 0.00 390.950 5.33 0.13 -1.09 0.000 0.200 0.000 0.00 391.000 5.28 2.61 -0.99 0.000 0.200 0.000 0.00 391.050 4.97 7.01 -1.11 0.000 0.200 0.000 0.00 391.100 4.81 7.57 -1.25 0.000 0.200 0.000 0.00 391.150 4.99 3.28 -0.78 0.000 0.200 0.000 0.00 391.200 5.17 2.15 -1.15 0.000 0.200 0.000 0.00 391.250 5.64 1.53 -1.15 0.000 0.200 0.000 0.00 391.300 5.72 0.25 -0.83 0.000 0.200 0.000 0.00 391.350 5.52 1.59 -0.61 0.000 0.200 0.000 0.00 391.400 5.81 -2.98 -0.66 0.000 0.200 0.000 0.00 391.450 5.85 -3.73 -1.05 0.000 0.200 0.000 0.00 391.500 5.37 -2.69 -1.28 0.000 0.200 0.000 0.00 391.550 5.36 -0.85 -1.06 0.000 0.200 0.000 0.00 391.600 5.47 -3.20 -1.43 0.000 0.200 0.000 0.00 391.650 5.37 -4.22 -1.05 0.000 0.200 0.000 0.00 391.700 5.18 -1.33 -0.94 0.000 0.200 0.000 0.00 391.750 5.21 0.49 -1.14 0.000 0.200 0.000 0.00 391.800 5.05 2.31 -1.28 0.000 0.200 0.000 0.00 391.850 5.17 2.61 -1.16 0.000 0.200 0.000 0.00 391.900 5.11 2.96 -1.29 0.000 0.200 0.000 0.00 391.950 4.88 2.77 -1.02 0.000 0.200 0.000 0.00 392.000 4.81 2.47 -1.09 0.000 0.200 0.000 0.00 392.050 4.73 1.34 -0.89 0.000 0.200 0.000 0.00 392.100 4.84 -1.88 -0.48 0.000 0.200 0.000 0.00 392.150 4.60 1.46 -0.13 0.000 0.200 0.000 0.00 392.200 4.95 0.90 -0.52 0.000 0.200 0.000 0.00 392.250 5.20 0.97 -0.70 0.000 0.200 0.000 0.00 392.300 5.30 0.01 -0.79 0.000 0.200 0.000 0.00 392.350 5.13 2.83 -0.44 0.000 0.200 0.000 0.00 392.400 5.49 -0.06 -0.42 0.000 0.200 0.000 0.00 392.450 5.50 -0.89 -1.11 0.000 0.200 0.000 0.00 392.500 5.22 3.52 -1.14 0.000 0.200 0.000 0.00 392.550 5.29 1.57 -0.96 0.000 0.200 0.000 0.00 392.600 5.29 -0.55 -0.97 0.000 0.200 0.000 0.00 392.650 5.13 1.51 -1.17 0.000 0.200 0.000 0.00 392.700 4.89 3.51 -1.18 0.000 0.200 0.000 0.00 392.750 4.65 0.52 -1.15 0.000 0.200 0.000 0.00 392.800 4.70 -2.36 -0.69 0.000 0.200 0.000 0.00 392.850 4.71 -3.89 -0.25 0.000 0.200 0.000 0.00 392.900 4.53 -3.06 -0.41 0.000 0.200 0.000 0.00 392.950 4.59 -1.91 -0.85 0.000 0.200 0.000 0.00 393.000 4.75 -0.06 -0.79 0.000 0.200 0.000 0.00 393.050 4.55 -0.99 -0.81 0.000 0.200 0.000 0.00 393.100 4.93 -1.80 -0.78 0.000 0.200 0.000 0.00 393.150 4.88 -3.64 -1.30 0.000 0.200 0.000 0.00 393.200 5.07 -3.99 -1.05 0.000 0.200 0.000 0.00 393.250 4.92 -2.04 -0.98 0.000 0.200 0.000 0.00 393.300 4.90 -2.40 -0.96 0.000 0.200 0.000 0.00 393.350 4.85 -0.53 -0.62 0.000 0.200 0.000 0.00 393.400 4.61 2.44 -0.64 0.000 0.200 0.000 0.00 393.450 4.60 6.00 -0.52 0.000 0.200 0.000 0.00 393.500 4.45 3.75 -0.86 0.000 0.200 0.000 0.00 393.550 4.42 2.24 -0.94 0.000 0.200 0.000 0.00 393.600 4.27 1.06 -0.64 0.000 0.200 0.000 0.00 393.650 4.39 3.26 -1.05 0.000 0.200 0.000 0.00 393.700 4.56 1.94 -1.28 0.000 0.200 0.000 0.00 393.750 4.56 -0.06 -0.94 0.000 0.200 0.000 0.00 393.800 4.80 0.22 -1.30 0.000 0.200 0.000 0.00 393.850 5.07 -4.63 -1.42 0.000 0.200 0.000 0.00 393.900 4.75 -5.88 -1.26 0.000 0.200 0.000 0.00 393.950 4.72 -6.39 -1.20 0.000 0.200 0.000 0.00 394.000 4.83 -4.71 -1.33 0.000 0.200 0.000 0.00 394.050 4.57 -1.49 -1.48 0.000 0.200 0.000 0.00 394.100 4.83 -0.14 -1.64 0.000 0.200 0.000 0.00 394.150 5.01 0.32 -1.31 0.000 0.200 0.000 0.00 394.200 4.91 1.59 -1.11 0.000 0.200 0.000 0.00 394.250 4.59 -1.41 -1.30 0.000 0.200 0.000 0.00 394.300 4.54 -3.15 -1.14 0.000 0.200 0.000 0.00 394.350 4.48 -9.49 -0.99 0.000 0.200 0.000 0.00 394.400 4.51 -12.05 -1.06 0.000 0.200 0.000 0.00 394.450 4.30 -11.53 -1.11 0.000 0.200 0.000 0.00 394.500 4.09 -14.62 -1.14 0.000 0.200 0.000 0.00 394.550 4.14 -17.39 -1.14 0.000 0.200 0.000 0.00 394.600 4.08 -18.00 -0.88 0.000 0.200 0.000 0.00 394.650 4.45 -21.66 -0.85 0.000 0.200 0.000 0.00 394.700 4.34 -19.03 -0.91 0.000 0.200 0.000 0.00 394.750 4.16 -16.23 -0.51 0.000 0.200 0.000 0.00 394.800 4.01 -18.20 -0.52 0.000 0.200 0.000 0.00 394.850 3.91 -18.19 -0.96 0.000 0.200 0.000 0.00 394.900 4.18 -16.02 -1.18 0.000 0.200 0.000 0.00 394.950 4.17 -19.06 -0.99 0.000 0.200 0.000 0.00 395.000 4.05 -9.00 -0.84 0.000 0.200 0.000 0.00 395.050 3.88 -12.61 -1.39 0.000 0.200 0.000 0.00 395.100 3.67 -16.64 -1.22 0.000 0.200 0.000 0.00 395.150 3.70 -15.34 -1.05 0.000 0.200 0.000 0.00 395.200 3.58 -11.97 -1.01 0.000 0.200 0.000 0.00 395.250 3.70 -15.71 -1.23 0.000 0.200 0.000 0.00 395.300 3.84 -16.29 -1.07 0.000 0.200 0.000 0.00 395.350 3.60 -17.28 -1.01 0.000 0.200 0.000 0.00 395.400 4.14 -18.00 -0.89 0.000 0.200 0.000 0.00 395.450 4.33 -21.38 -0.78 0.000 0.200 0.000 0.00 395.500 4.15 -22.44 -0.71 0.000 0.200 0.000 0.00 395.550 4.10 -19.19 -0.52 0.000 0.200 0.000 0.00 395.600 4.39 -21.00 -0.30 0.000 0.200 0.000 0.00 395.650 4.12 -19.96 -0.75 0.000 0.200 0.000 0.00 395.700 3.80 -14.36 -0.94 0.000 0.200 0.000 0.00 395.750 3.80 -18.79 -0.86 0.000 0.200 0.000 0.00 395.800 4.00 -13.93 -0.72 0.000 0.200 0.000 0.00 395.850 4.13 -6.77 -0.90 0.000 0.200 0.000 0.00 395.900 4.10 -6.91 -0.83 0.000 0.200 0.000 0.00 395.950 4.11 -8.14 -1.05 0.000 0.200 0.000 0.00 396.000 3.56 -8.49 -0.53 0.000 0.200 0.000 0.00 396.050 3.53 -10.41 -0.56 0.000 0.200 0.000 0.00 396.100 3.75 -12.73 -0.39 0.000 0.200 0.000 0.00 396.150 3.96 -10.68 -0.32 0.000 0.200 0.000 0.00 396.200 4.04 -6.33 -0.66 0.000 0.200 0.000 0.00 396.250 3.57 -5.55 -0.79 0.000 0.200 0.000 0.00 396.300 3.48 -12.70 -1.11 0.000 0.200 0.000 0.00 396.350 3.54 -10.17 -0.81 0.000 0.200 0.000 0.00 396.400 3.69 -6.75 -0.81 0.000 0.200 0.000 0.00 396.450 3.54 -6.15 -1.08 0.000 0.200 0.000 0.00 396.500 3.52 -5.92 -1.50 0.000 0.200 0.000 0.00 396.550 3.66 -2.27 -1.77 0.000 0.200 0.000 0.00 396.600 3.58 -3.15 -1.70 0.000 0.200 0.000 0.00 396.650 3.94 -5.44 -1.94 0.000 0.200 0.000 0.00 396.700 4.10 -6.63 -2.23 0.000 0.200 0.000 0.00 396.750 4.23 -6.07 -2.02 0.000 0.200 0.000 0.00 396.800 3.96 -5.54 -1.99 0.000 0.200 0.000 0.00 396.850 3.82 -7.19 -2.02 0.000 0.200 0.000 0.00 396.900 3.97 -3.49 -2.20 0.000 0.200 0.000 0.00 396.950 4.22 -4.12 -2.08 0.000 0.200 0.000 0.00 397.000 4.23 -4.70 -1.81 0.000 0.200 0.000 0.00 397.050 4.00 -0.07 -1.82 0.000 0.200 0.000 0.00 397.100 3.82 -8.34 -1.81 0.000 0.200 0.000 0.00 397.150 3.86 -5.35 -1.73 0.000 0.200 0.000 0.00 397.200 3.74 -5.79 -1.66 0.000 0.200 0.000 0.00 397.250 4.11 -4.89 -1.70 0.000 0.200 0.000 0.00 397.300 4.18 -2.74 -1.97 0.000 0.200 0.000 0.00 397.350 4.17 -0.67 -2.11 0.000 0.200 0.000 0.00 397.400 4.53 -4.48 -1.79 0.000 0.200 0.000 0.00 397.450 4.25 -0.20 -1.53 0.000 0.200 0.000 0.00 397.500 4.23 -2.37 -1.15 0.000 0.200 0.000 0.00 397.550 3.96 0.76 -1.24 0.000 0.200 0.000 0.00 397.600 4.24 -2.17 -1.53 0.000 0.200 0.000 0.00 397.650 4.46 -4.33 -1.40 0.000 0.200 0.000 0.00 397.700 4.15 -8.29 -1.42 0.000 0.200 0.000 0.00 397.750 4.00 -3.39 -1.45 0.000 0.200 0.000 0.00 397.800 3.55 -3.71 -1.14 0.000 0.200 0.000 0.00 397.850 3.60 -3.52 -0.84 0.000 0.200 0.000 0.00 397.900 3.94 -3.20 -1.27 0.000 0.200 0.000 0.00 397.950 4.28 -4.73 -1.53 0.000 0.200 0.000 0.00 398.000 4.31 -1.49 -1.56 0.000 0.200 0.000 0.00 398.050 4.46 -5.81 -1.43 0.000 0.200 0.000 0.00 398.100 4.74 -5.97 -1.38 0.000 0.200 0.000 0.00 398.150 5.01 -6.87 -1.33 0.000 0.200 0.000 0.00 398.200 4.96 -6.94 -1.30 0.000 0.200 0.000 0.00 398.250 5.02 -7.86 -1.63 0.000 0.200 0.000 0.00 398.300 4.99 -7.78 -1.11 0.000 0.200 0.000 0.00 398.350 5.20 -7.33 -1.06 0.000 0.200 0.000 0.00 398.400 5.09 -4.35 -0.99 0.000 0.200 0.000 0.00 398.450 5.32 -8.33 -0.82 0.000 0.200 0.000 0.00 398.500 5.21 -13.69 -0.94 0.000 0.200 0.000 0.00 398.550 4.75 -9.57 -1.00 0.000 0.200 0.000 0.00 398.600 4.63 -10.06 -0.91 0.000 0.200 0.000 0.00 398.650 4.48 -6.87 -0.76 0.000 0.200 0.000 0.00 398.700 4.53 -7.62 -0.53 0.000 0.200 0.000 0.00 398.750 4.49 -6.04 -0.59 0.000 0.200 0.000 0.00 398.800 4.47 -4.79 -0.40 0.000 0.200 0.000 0.00 398.850 4.44 -5.50 -0.13 0.000 0.200 0.000 0.00 398.900 4.27 -3.45 0.04 0.000 0.200 0.000 0.00 398.950 4.02 2.79 -0.04 0.000 0.200 0.000 0.00 399.000 4.05 -1.55 -0.43 0.000 0.200 0.000 0.00 399.050 4.25 -5.91 -0.80 0.000 0.200 0.000 0.00 399.100 4.42 -7.93 -0.56 0.000 0.200 0.000 0.00 399.150 4.62 -7.17 -0.56 0.000 0.200 0.000 0.00 399.200 4.21 -8.92 -0.37 0.000 0.200 0.000 0.00 399.250 4.18 -6.98 -0.42 0.000 0.200 0.000 0.00 399.300 4.19 -10.37 -0.56 0.000 0.200 0.000 0.00 399.350 4.20 -14.82 -0.30 0.000 0.200 0.000 0.00 399.400 4.41 -20.36 -0.53 0.000 0.200 0.000 0.00 399.450 4.57 -19.33 -0.76 0.000 0.200 0.000 0.00 399.500 4.48 -22.96 -0.41 0.000 0.200 0.000 0.00 399.550 4.64 -23.58 -0.29 0.000 0.200 0.000 0.00 399.600 4.79 -19.83 -0.35 0.000 0.200 0.000 0.00 399.650 4.80 -25.22 -0.39 0.000 0.200 0.000 0.00 399.700 4.65 -18.67 -0.93 0.000 0.200 0.000 0.00 399.750 4.40 -15.41 -1.42 0.000 0.200 0.000 0.00 399.800 4.49 -14.06 -1.30 0.000 0.200 0.000 0.00 399.850 4.45 -13.98 -1.25 0.000 0.200 0.000 0.00 399.900 4.77 -13.31 -0.93 0.000 0.200 0.000 0.00 399.950 4.68 -11.00 -0.85 0.000 0.200 0.000 0.00 400.000 4.86 -11.82 -1.39 0.000 0.200 0.000 0.00 400.050 5.04 -11.80 -1.20 0.000 0.200 0.000 0.00 400.100 4.90 -12.16 -1.24 0.000 0.200 0.000 0.00 400.150 4.94 -9.47 -1.06 0.000 0.200 0.000 0.00 400.200 4.56 -3.98 -1.37 0.000 0.200 0.000 0.00 400.250 4.47 -5.44 -1.40 0.000 0.200 0.000 0.00 400.300 4.70 -8.02 -1.00 0.000 0.200 0.000 0.00 400.350 4.56 -4.79 -0.54 0.000 0.200 0.000 0.00 400.400 4.36 -3.79 -0.85 0.000 0.200 0.000 0.00 400.450 4.40 -6.73 -0.74 0.000 0.200 0.000 0.00 400.500 4.77 -9.39 -0.72 0.000 0.200 0.000 0.00 400.550 4.87 -8.20 -0.78 0.000 0.200 0.000 0.00 400.600 4.74 -3.00 -1.09 0.000 0.200 0.000 0.00 400.650 4.93 1.59 -0.81 0.000 0.200 0.000 0.00 400.700 4.87 0.31 -0.87 0.000 0.200 0.000 0.00 400.750 4.43 -0.12 -1.29 0.000 0.200 0.000 0.00 400.800 4.25 -1.69 -1.46 0.000 0.200 0.000 0.00 400.850 4.58 -0.25 -1.53 0.000 0.200 0.000 0.00 400.900 5.12 1.77 -1.64 0.000 0.200 0.000 0.00 400.950 5.16 1.81 -2.03 0.000 0.200 0.000 0.00 401.000 5.30 0.85 -2.14 0.000 0.200 0.000 0.00 401.050 4.87 0.57 -1.86 0.000 0.200 0.000 0.00 401.100 4.85 0.56 -1.88 0.000 0.200 0.000 0.00 401.150 5.04 4.15 -1.85 0.000 0.200 0.000 0.00 401.200 4.94 6.75 -2.03 0.000 0.200 0.000 0.00 401.250 5.10 5.48 -1.95 0.000 0.200 0.000 0.00 401.300 5.37 4.70 -2.12 0.000 0.200 0.000 0.00 401.350 5.19 3.79 -2.25 0.000 0.200 0.000 0.00 401.400 5.31 0.22 -2.44 0.000 0.200 0.000 0.00 401.450 5.43 3.59 -2.33 0.000 0.200 0.000 0.00 401.500 5.59 5.24 -2.28 0.000 0.200 0.000 0.00 401.550 5.66 0.64 -1.88 0.000 0.200 0.000 0.00 401.600 5.22 0.81 -1.75 0.000 0.200 0.000 0.00 401.650 5.03 -2.36 -1.38 0.000 0.200 0.000 0.00 401.700 5.03 0.97 -1.40 0.000 0.200 0.000 0.00 401.750 4.82 -1.86 -1.02 0.000 0.200 0.000 0.00 401.800 5.13 -4.60 -0.90 0.000 0.200 0.000 0.00 401.850 5.21 -1.52 -0.69 0.000 0.200 0.000 0.00 401.900 5.09 1.61 -0.48 0.000 0.200 0.000 0.00 401.950 5.38 1.27 -0.77 0.000 0.200 0.000 0.00 402.000 5.39 4.06 -0.60 0.000 0.200 0.000 0.00 402.050 5.38 6.70 -0.61 0.000 0.200 0.000 0.00 402.100 5.59 6.63 -0.54 0.000 0.200 0.000 0.00 402.150 5.76 7.56 -0.46 0.000 0.200 0.000 0.00 402.200 5.59 3.20 -0.62 0.000 0.200 0.000 0.00 402.250 5.59 2.23 -0.93 0.000 0.200 0.000 0.00 402.300 5.51 2.28 -0.75 0.000 0.200 0.000 0.00 402.350 5.31 1.55 -0.53 0.000 0.200 0.000 0.00 402.400 4.90 3.77 -0.54 0.000 0.200 0.000 0.00 402.450 5.22 4.85 -0.38 0.000 0.200 0.000 0.00 402.500 5.15 4.24 -0.39 0.000 0.200 0.000 0.00 402.550 5.30 1.59 -0.40 0.000 0.200 0.000 0.00 402.600 5.03 3.04 -0.19 0.000 0.200 0.000 0.00 402.650 5.13 1.18 -0.09 0.000 0.200 0.000 0.00 402.700 5.20 4.49 -0.13 0.000 0.200 0.000 0.00 402.750 5.23 3.74 0.06 0.000 0.200 0.000 0.00 402.800 5.34 -0.39 0.01 0.000 0.200 0.000 0.00 402.850 5.12 -2.14 0.00 0.000 0.200 0.000 0.00 402.900 5.81 -3.12 -0.01 0.000 0.200 0.000 0.00 402.950 5.89 -6.08 0.07 0.000 0.200 0.000 0.00 403.000 5.96 -3.08 0.27 0.000 0.200 0.000 0.00 403.050 6.06 -5.53 0.58 0.000 0.200 0.000 0.00 403.100 5.96 -4.90 0.54 0.000 0.200 0.000 0.00 403.150 6.18 -5.97 0.48 0.000 0.200 0.000 0.00 403.200 6.23 -7.92 0.23 0.000 0.200 0.000 0.00 403.250 6.07 -9.19 0.04 0.000 0.200 0.000 0.00 403.300 6.10 -9.01 -0.12 0.000 0.200 0.000 0.00 403.350 5.93 -10.80 -0.26 0.000 0.200 0.000 0.00 403.400 5.87 -11.54 -0.28 0.000 0.200 0.000 0.00 403.450 5.64 -12.94 -0.02 0.000 0.200 0.000 0.00 403.500 5.44 -11.05 0.64 0.000 0.200 0.000 0.00 403.550 5.54 -8.61 0.36 0.000 0.200 0.000 0.00 403.600 5.38 -10.31 0.02 0.000 0.200 0.000 0.00 403.650 5.48 -5.11 -0.04 0.000 0.200 0.000 0.00 403.700 5.28 -4.54 -0.01 0.000 0.200 0.000 0.00 403.750 5.09 -8.03 -0.32 0.000 0.200 0.000 0.00 403.800 5.02 -3.58 -0.24 0.000 0.200 0.000 0.00 403.850 4.97 -8.05 0.06 0.000 0.200 0.000 0.00 403.900 5.12 -10.58 0.14 0.000 0.200 0.000 0.00 403.950 5.29 -8.45 0.08 0.000 0.200 0.000 0.00 404.000 5.41 -11.08 0.20 0.000 0.200 0.000 0.00 404.050 5.48 -16.13 0.07 0.000 0.200 0.000 0.00 404.100 5.48 -10.63 0.28 0.000 0.200 0.000 0.00 404.150 5.41 -7.41 0.19 0.000 0.200 0.000 0.00 404.200 5.63 -6.86 0.25 0.000 0.200 0.000 0.00 404.250 5.85 -5.47 0.34 0.000 0.200 0.000 0.00 404.300 6.00 -2.47 0.56 0.000 0.200 0.000 0.00 404.350 5.93 -4.64 0.61 0.000 0.200 0.000 0.00 404.400 5.67 -6.66 0.54 0.000 0.200 0.000 0.00 404.450 5.56 -2.70 0.56 0.000 0.200 0.000 0.00 404.500 5.68 -1.32 0.64 0.000 0.200 0.000 0.00 404.550 5.60 -1.80 0.96 0.000 0.200 0.000 0.00 404.600 5.78 -1.88 0.48 0.000 0.200 0.000 0.00 404.650 5.85 -2.98 0.53 0.000 0.200 0.000 0.00 404.700 5.72 -2.26 0.92 0.000 0.200 0.000 0.00 404.750 5.98 -4.01 0.85 0.000 0.200 0.000 0.00 404.800 6.12 -2.13 1.06 0.000 0.200 0.000 0.00 404.850 6.22 -2.99 0.96 0.000 0.200 0.000 0.00 404.900 6.71 -0.92 1.21 0.000 0.200 0.000 0.00 404.950 6.84 0.48 1.80 0.000 0.200 0.000 0.00 405.000 7.09 -0.16 1.62 0.000 0.200 0.000 0.00 405.050 7.00 1.28 1.45 0.000 0.200 0.000 0.00 405.100 6.66 -0.37 1.16 0.000 0.200 0.000 0.00 405.150 6.45 4.31 0.87 0.000 0.200 0.000 0.00 405.200 6.36 2.28 0.69 0.000 0.200 0.000 0.00 405.250 6.03 0.48 0.54 0.000 0.200 0.000 0.00 405.300 5.98 0.52 0.59 0.000 0.200 0.000 0.00 405.350 6.11 3.80 0.73 0.000 0.200 0.000 0.00 405.400 6.26 4.02 0.43 0.000 0.200 0.000 0.00 405.450 6.44 6.38 0.57 0.000 0.200 0.000 0.00 405.500 6.45 7.01 0.81 0.000 0.200 0.000 0.00 405.550 6.32 4.39 0.89 0.000 0.200 0.000 0.00 405.600 6.08 3.99 0.66 0.000 0.200 0.000 0.00 405.650 5.90 5.21 0.81 0.000 0.200 0.000 0.00 405.700 6.49 2.03 0.82 0.000 0.200 0.000 0.00 405.750 6.46 -0.35 0.52 0.000 0.200 0.000 0.00 405.800 6.54 1.39 0.35 0.000 0.200 0.000 0.00 405.850 6.39 -0.71 0.07 0.000 0.200 0.000 0.00 405.900 6.16 -1.03 0.18 0.000 0.200 0.000 0.00 405.950 5.96 -2.33 -0.04 0.000 0.200 0.000 0.00 406.000 5.69 -2.78 0.27 0.000 0.200 0.000 0.00 406.050 5.52 -1.16 0.28 0.000 0.200 0.000 0.00 406.100 5.42 1.56 0.37 0.000 0.200 0.000 0.00 406.150 5.30 3.14 0.39 0.000 0.200 0.000 0.00 406.200 5.58 5.49 0.64 0.000 0.200 0.000 0.00 406.250 5.64 5.95 0.25 0.000 0.200 0.000 0.00 406.300 5.39 6.11 0.06 0.000 0.200 0.000 0.00 406.350 5.49 5.83 0.35 0.000 0.200 0.000 0.00 406.400 5.73 6.44 0.14 0.000 0.200 0.000 0.00 406.450 5.87 7.85 0.45 0.000 0.200 0.000 0.00 406.500 5.89 9.69 0.73 0.000 0.200 0.000 0.00 406.550 5.83 8.73 0.63 0.000 0.200 0.000 0.00 406.600 5.99 9.20 0.57 0.000 0.200 0.000 0.00 406.650 5.85 4.23 0.52 0.000 0.200 0.000 0.00 406.700 5.79 3.64 0.29 0.000 0.200 0.000 0.00 406.750 6.00 5.14 0.17 0.000 0.200 0.000 0.00 406.800 6.06 5.94 0.25 0.000 0.200 0.000 0.00 406.850 5.85 9.18 -0.13 0.000 0.200 0.000 0.00 406.900 5.99 5.50 -0.38 0.000 0.200 0.000 0.00 406.950 6.12 4.69 -0.44 0.000 0.200 0.000 0.00 407.000 6.35 4.33 -0.37 0.000 0.200 0.000 0.00 407.050 6.66 2.71 -0.07 0.000 0.200 0.000 0.00 407.100 6.78 0.87 0.09 0.000 0.200 0.000 0.00 407.150 6.47 4.08 -0.16 0.000 0.200 0.000 0.00 407.200 6.55 4.30 0.21 0.000 0.200 0.000 0.00 407.250 6.49 6.69 0.17 0.000 0.200 0.000 0.00 407.300 6.43 6.29 0.20 0.000 0.200 0.000 0.00 407.350 6.48 6.55 0.53 0.000 0.200 0.000 0.00 407.400 6.49 8.45 0.73 0.000 0.200 0.000 0.00 407.450 5.88 10.25 0.83 0.000 0.200 0.000 0.00 407.500 6.07 9.80 0.75 0.000 0.200 0.000 0.00 407.550 5.87 7.75 0.76 0.000 0.200 0.000 0.00 407.600 5.89 3.36 0.85 0.000 0.200 0.000 0.00 407.650 5.83 4.21 0.92 0.000 0.200 0.000 0.00 407.700 5.84 3.04 0.94 0.000 0.200 0.000 0.00 407.750 5.60 2.23 1.03 0.000 0.200 0.000 0.00 407.800 5.78 6.05 0.85 0.000 0.200 0.000 0.00 407.850 5.47 9.50 0.71 0.000 0.200 0.000 0.00 407.900 5.73 9.56 0.71 0.000 0.200 0.000 0.00 407.950 5.62 5.07 0.62 0.000 0.200 0.000 0.00 408.000 5.33 3.93 0.59 0.000 0.200 0.000 0.00 408.050 4.96 6.50 0.50 0.000 0.200 0.000 0.00 408.100 4.85 7.79 0.62 0.000 0.200 0.000 0.00 408.150 5.08 5.79 0.63 0.000 0.200 0.000 0.00 408.200 5.14 8.28 0.66 0.000 0.200 0.000 0.00 408.250 4.91 8.49 0.99 0.000 0.200 0.000 0.00 408.300 4.54 6.41 1.13 0.000 0.200 0.000 0.00 408.350 4.64 4.37 1.29 0.000 0.200 0.000 0.00 408.400 4.92 7.34 1.14 0.000 0.200 0.000 0.00 408.450 5.21 7.90 1.04 0.000 0.200 0.000 0.00 408.500 4.93 9.18 0.97 0.000 0.200 0.000 0.00 408.550 5.08 9.35 0.89 0.000 0.200 0.000 0.00 408.600 5.18 12.10 0.78 0.000 0.200 0.000 0.00 408.650 5.08 13.12 0.56 0.000 0.200 0.000 0.00 408.700 5.07 9.12 0.60 0.000 0.200 0.000 0.00 408.750 5.40 7.06 0.69 0.000 0.200 0.000 0.00 408.800 5.25 5.27 0.42 0.000 0.200 0.000 0.00 408.850 5.47 4.81 0.22 0.000 0.200 0.000 0.00 408.900 5.38 4.45 0.58 0.000 0.200 0.000 0.00 408.950 5.58 6.01 0.67 0.000 0.200 0.000 0.00 409.000 5.68 2.39 0.73 0.000 0.200 0.000 0.00 409.050 5.60 -1.57 0.58 0.000 0.200 0.000 0.00 409.100 5.54 2.73 0.65 0.000 0.200 0.000 0.00 409.150 5.44 5.59 0.62 0.000 0.200 0.000 0.00 409.200 5.27 5.23 0.88 0.000 0.200 0.000 0.00 409.250 5.20 4.23 0.60 0.000 0.200 0.000 0.00 409.300 5.43 6.06 0.24 0.000 0.200 0.000 0.00 409.350 5.43 3.88 0.27 0.000 0.200 0.000 0.00 409.400 5.74 1.35 -0.07 0.000 0.200 0.000 0.00 409.450 5.74 4.08 0.06 0.000 0.200 0.000 0.00 409.500 5.74 3.93 0.02 0.000 0.200 0.000 0.00 409.550 5.67 6.95 0.01 0.000 0.200 0.000 0.00 409.600 5.89 8.83 -0.09 0.000 0.200 0.000 0.00 409.650 5.95 8.45 0.14 0.000 0.200 0.000 0.00 409.700 5.38 7.53 -0.29 0.000 0.200 0.000 0.00 409.750 5.82 6.93 -0.33 0.000 0.200 0.000 0.00 409.800 5.98 7.45 -0.32 0.000 0.200 0.000 0.00 409.850 6.12 9.80 -0.52 0.000 0.200 0.000 0.00 409.900 6.06 7.37 -0.50 0.000 0.200 0.000 0.00 409.950 5.98 8.88 -0.52 0.000 0.200 0.000 0.00 410.000 5.76 9.03 -0.48 0.000 0.200 0.000 0.00 410.050 5.75 9.78 -0.17 0.000 0.200 0.000 0.00 410.100 5.56 10.89 -0.26 0.000 0.200 0.000 0.00 410.150 5.81 8.22 -0.38 0.000 0.200 0.000 0.00 410.200 5.82 12.90 -0.04 0.000 0.200 0.000 0.00 410.250 5.34 11.73 -0.12 0.000 0.200 0.000 0.00 410.300 5.15 8.80 -0.41 0.000 0.200 0.000 0.00 410.350 5.23 8.42 -0.49 0.000 0.200 0.000 0.00 410.400 5.31 10.99 -0.60 0.000 0.200 0.000 0.00 410.450 5.47 6.81 -0.74 0.000 0.200 0.000 0.00 410.500 5.58 2.35 -0.87 0.000 0.200 0.000 0.00 410.550 5.63 1.93 -1.05 0.000 0.200 0.000 0.00 410.600 5.68 8.54 -0.83 0.000 0.200 0.000 0.00 410.650 5.90 9.73 -0.59 0.000 0.200 0.000 0.00 410.700 5.71 8.08 -0.59 0.000 0.200 0.000 0.00 410.750 5.63 6.68 -0.73 0.000 0.200 0.000 0.00 410.800 6.04 8.94 -0.49 0.000 0.200 0.000 0.00 410.850 5.94 6.83 -0.55 0.000 0.200 0.000 0.00 410.900 5.69 5.16 -0.58 0.000 0.200 0.000 0.00 410.950 5.87 5.07 -0.35 0.000 0.200 0.000 0.00 411.000 6.05 3.64 0.02 0.000 0.200 0.000 0.00 411.050 5.88 2.48 0.47 0.000 0.200 0.000 0.00 411.100 5.80 2.00 0.22 0.000 0.200 0.000 0.00 411.150 5.38 3.87 0.24 0.000 0.200 0.000 0.00 411.200 5.34 2.59 0.33 0.000 0.200 0.000 0.00 411.250 5.76 4.26 0.73 0.000 0.200 0.000 0.00 411.300 5.74 3.64 1.05 0.000 0.200 0.000 0.00 411.350 5.78 3.69 0.75 0.000 0.200 0.000 0.00 411.400 6.13 6.47 0.54 0.000 0.200 0.000 0.00 411.450 6.10 4.52 0.42 0.000 0.200 0.000 0.00 411.500 6.30 2.03 0.58 0.000 0.200 0.000 0.00 411.550 5.77 1.60 0.52 0.000 0.200 0.000 0.00 411.600 5.84 1.50 0.22 0.000 0.200 0.000 0.00 411.650 6.28 1.25 -0.21 0.000 0.200 0.000 0.00 411.700 6.25 1.73 -0.34 0.000 0.200 0.000 0.00 411.750 6.36 1.39 -0.44 0.000 0.200 0.000 0.00 411.800 6.22 1.53 -0.39 0.000 0.200 0.000 0.00 411.850 6.03 3.26 -0.67 0.000 0.200 0.000 0.00 411.900 5.64 4.03 -0.76 0.000 0.200 0.000 0.00 411.950 5.52 3.65 -0.81 0.000 0.200 0.000 0.00 412.000 5.20 3.43 -0.45 0.000 0.200 0.000 0.00 412.050 5.41 4.35 -1.06 0.000 0.200 0.000 0.00 412.100 5.42 7.26 -1.39 0.000 0.200 0.000 0.00 412.150 5.28 9.25 -1.52 0.000 0.200 0.000 0.00 412.200 5.21 8.40 -1.22 0.000 0.200 0.000 0.00 412.250 4.86 5.85 -1.27 0.000 0.200 0.000 0.00 412.300 5.18 4.65 -1.44 0.000 0.200 0.000 0.00 412.350 5.35 4.49 -1.36 0.000 0.200 0.000 0.00 412.400 5.25 5.76 -1.48 0.000 0.200 0.000 0.00 412.450 4.90 4.68 -1.22 0.000 0.200 0.000 0.00 412.500 5.15 10.11 -1.27 0.000 0.200 0.000 0.00 412.550 5.14 8.26 -1.37 0.000 0.200 0.000 0.00 412.600 5.31 10.00 -0.92 0.000 0.200 0.000 0.00 412.650 5.09 8.01 -1.04 0.000 0.200 0.000 0.00 412.700 4.80 11.20 -1.05 0.000 0.200 0.000 0.00 412.750 4.81 13.86 -1.20 0.000 0.200 0.000 0.00 412.800 4.78 11.83 -0.90 0.000 0.200 0.000 0.00 412.850 4.94 14.44 -1.03 0.000 0.200 0.000 0.00 412.900 5.03 13.93 -0.67 0.000 0.200 0.000 0.00 412.950 4.79 8.51 -1.09 0.000 0.200 0.000 0.00 413.000 4.60 7.71 -0.86 0.000 0.200 0.000 0.00 413.050 4.63 12.97 -0.73 0.000 0.200 0.000 0.00 413.100 4.69 15.27 -1.01 0.000 0.200 0.000 0.00 413.150 4.99 10.16 -0.82 0.000 0.200 0.000 0.00 413.200 5.25 5.68 -0.48 0.000 0.200 0.000 0.00 413.250 5.14 3.71 -0.34 0.000 0.200 0.000 0.00 413.300 4.94 0.42 -0.53 0.000 0.200 0.000 0.00 413.350 4.77 2.33 -0.47 0.000 0.200 0.000 0.00 413.400 4.56 2.10 -0.04 0.000 0.200 0.000 0.00 413.450 4.59 9.40 -0.14 0.000 0.200 0.000 0.00 413.500 4.35 7.06 0.14 0.000 0.200 0.000 0.00 413.550 4.31 7.06 -0.02 0.000 0.200 0.000 0.00 413.600 4.26 8.30 -0.04 0.000 0.200 0.000 0.00 413.650 4.20 9.40 -0.20 0.000 0.200 0.000 0.00 413.700 4.12 9.04 -0.33 0.000 0.200 0.000 0.00 413.750 4.46 10.26 -0.15 0.000 0.200 0.000 0.00 413.800 4.60 9.01 -0.13 0.000 0.200 0.000 0.00 413.850 4.72 10.34 -0.24 0.000 0.200 0.000 0.00 413.900 4.36 12.34 0.12 0.000 0.200 0.000 0.00 413.950 4.78 14.53 0.10 0.000 0.200 0.000 0.00 414.000 4.83 17.37 0.00 0.000 0.200 0.000 0.00 414.050 4.40 16.51 -0.02 0.000 0.200 0.000 0.00 414.100 4.27 17.32 0.29 0.000 0.200 0.000 0.00 414.150 4.31 15.28 -0.13 0.000 0.200 0.000 0.00 414.200 4.83 13.22 -0.25 0.000 0.200 0.000 0.00 414.250 5.08 14.11 -0.42 0.000 0.200 0.000 0.00 414.300 4.91 9.56 -1.00 0.000 0.200 0.000 0.00 414.350 5.08 8.24 -1.10 0.000 0.200 0.000 0.00 414.400 5.31 9.05 -0.65 0.000 0.200 0.000 0.00 414.450 5.44 12.79 -0.41 0.000 0.200 0.000 0.00 414.500 5.62 15.17 -0.55 0.000 0.200 0.000 0.00 414.550 5.24 13.76 -0.40 0.000 0.200 0.000 0.00 414.600 5.36 12.80 -0.59 0.000 0.200 0.000 0.00 414.650 5.18 11.07 -0.81 0.000 0.200 0.000 0.00 414.700 4.72 7.60 -0.80 0.000 0.200 0.000 0.00 414.750 4.60 12.97 -0.76 0.000 0.200 0.000 0.00 414.800 4.67 6.57 -0.72 0.000 0.200 0.000 0.00 414.850 4.89 9.28 -0.60 0.000 0.200 0.000 0.00 414.900 5.19 3.41 -0.46 0.000 0.200 0.000 0.00 414.950 5.25 6.06 -0.50 0.000 0.200 0.000 0.00 415.000 4.73 5.23 -0.72 0.000 0.200 0.000 0.00 415.050 4.48 1.93 -1.00 0.000 0.200 0.000 0.00 415.100 4.84 1.31 -0.75 0.000 0.200 0.000 0.00 415.150 4.76 4.60 0.11 0.000 0.200 0.000 0.00 415.200 4.92 7.47 0.22 0.000 0.200 0.000 0.00 415.250 4.93 11.85 -0.11 0.000 0.200 0.000 0.00 415.300 5.21 13.71 -0.24 0.000 0.200 0.000 0.00 415.350 5.36 14.07 -0.31 0.000 0.200 0.000 0.00 415.400 5.50 13.63 -0.22 0.000 0.200 0.000 0.00 415.450 5.45 14.63 -0.20 0.000 0.200 0.000 0.00 415.500 5.65 11.86 -0.01 0.000 0.200 0.000 0.00 415.550 5.53 9.04 -0.04 0.000 0.200 0.000 0.00 415.600 5.02 11.17 0.47 0.000 0.200 0.000 0.00 415.650 5.00 10.70 0.23 0.000 0.200 0.000 0.00 415.700 4.86 9.11 0.16 0.000 0.200 0.000 0.00 415.750 5.27 8.52 0.06 0.000 0.200 0.000 0.00 415.800 5.42 8.21 -0.01 0.000 0.200 0.000 0.00 415.850 5.43 9.89 0.00 0.000 0.200 0.000 0.00 415.900 5.41 9.38 -0.01 0.000 0.200 0.000 0.00 415.950 5.44 7.52 0.04 0.000 0.200 0.000 0.00 416.000 5.27 6.26 0.17 0.000 0.200 0.000 0.00 416.050 5.12 2.92 0.27 0.000 0.200 0.000 0.00 416.100 5.22 3.40 0.17 0.000 0.200 0.000 0.00 416.150 5.71 5.32 0.05 0.000 0.200 0.000 0.00 416.200 5.76 2.37 0.02 0.000 0.200 0.000 0.00 416.250 6.02 -1.17 0.15 0.000 0.200 0.000 0.00 416.300 6.19 -0.78 0.18 0.000 0.200 0.000 0.00 416.350 6.40 -1.01 0.25 0.000 0.200 0.000 0.00 416.400 6.60 1.25 0.46 0.000 0.200 0.000 0.00 416.450 6.76 3.01 0.18 0.000 0.200 0.000 0.00 416.500 6.56 3.91 0.02 0.000 0.200 0.000 0.00 416.550 6.67 5.19 0.00 0.000 0.200 0.000 0.00 416.600 6.41 5.65 0.17 0.000 0.200 0.000 0.00 416.650 6.20 5.94 0.20 0.000 0.200 0.000 0.00 416.700 5.91 2.97 0.13 0.000 0.200 0.000 0.00 416.750 5.97 3.59 0.41 0.000 0.200 0.000 0.00 416.800 6.01 4.74 0.10 0.000 0.200 0.000 0.00 416.850 6.46 8.27 0.40 0.000 0.200 0.000 0.00 416.900 6.38 11.12 0.49 0.000 0.200 0.000 0.00 416.950 6.17 9.91 0.48 0.000 0.200 0.000 0.00 417.000 6.09 14.47 0.08 0.000 0.200 0.000 0.00 417.050 5.76 14.24 0.41 0.000 0.200 0.000 0.00 417.100 5.54 14.88 0.57 0.000 0.200 0.000 0.00 417.150 5.48 15.94 0.27 0.000 0.200 0.000 0.00 417.200 5.67 15.90 0.42 0.000 0.200 0.000 0.00 417.250 5.62 10.78 0.84 0.000 0.200 0.000 0.00 417.300 5.70 10.41 0.73 0.000 0.200 0.000 0.00 417.350 6.05 14.98 0.67 0.000 0.200 0.000 0.00 417.400 6.35 14.02 0.49 0.000 0.200 0.000 0.00 417.450 6.37 13.98 0.57 0.000 0.200 0.000 0.00 417.500 6.44 13.73 0.19 0.000 0.200 0.000 0.00 417.550 6.85 14.30 0.22 0.000 0.200 0.000 0.00 417.600 6.68 15.14 0.43 0.000 0.200 0.000 0.00 417.650 6.63 14.81 0.16 0.000 0.200 0.000 0.00 417.700 6.64 15.02 0.44 0.000 0.200 0.000 0.00 417.750 6.43 16.20 0.47 0.000 0.200 0.000 0.00 417.800 6.28 14.44 0.19 0.000 0.200 0.000 0.00 417.850 6.58 13.79 0.09 0.000 0.200 0.000 0.00 417.900 6.10 14.88 0.09 0.000 0.200 0.000 0.00 417.950 6.46 11.34 -0.05 0.000 0.200 0.000 0.00 418.000 6.67 11.86 -0.23 0.000 0.200 0.000 0.00 418.050 6.34 10.35 -0.26 0.000 0.200 0.000 0.00 418.100 6.11 8.47 -0.39 0.000 0.200 0.000 0.00 418.150 6.02 13.05 -0.33 0.000 0.200 0.000 0.00 418.200 5.69 13.35 -0.54 0.000 0.200 0.000 0.00 418.250 6.38 11.75 -0.15 0.000 0.200 0.000 0.00 418.300 6.09 14.92 -0.13 0.000 0.200 0.000 0.00 418.350 6.01 20.64 0.03 0.000 0.200 0.000 0.00 418.400 6.15 20.97 0.03 0.000 0.200 0.000 0.00 418.450 6.13 17.10 0.01 0.000 0.200 0.000 0.00 418.500 6.19 12.85 -0.38 0.000 0.200 0.000 0.00 418.550 6.10 12.08 -0.71 0.000 0.200 0.000 0.00 418.600 6.52 9.45 -0.55 0.000 0.200 0.000 0.00 418.650 6.97 10.15 -0.21 0.000 0.200 0.000 0.00 418.700 7.09 11.31 0.06 0.000 0.200 0.000 0.00 418.750 6.97 13.86 -0.10 0.000 0.200 0.000 0.00 418.800 7.10 14.46 -0.06 0.000 0.200 0.000 0.00 418.850 7.07 15.37 -0.01 0.000 0.200 0.000 0.00 418.900 6.78 13.57 0.06 0.000 0.200 0.000 0.00 418.950 6.77 11.53 0.57 0.000 0.200 0.000 0.00 419.000 6.77 11.54 0.63 0.000 0.200 0.000 0.00 419.050 6.67 9.27 0.52 0.000 0.200 0.000 0.00 419.100 6.31 11.56 0.69 0.000 0.200 0.000 0.00 419.150 6.48 8.40 0.40 0.000 0.200 0.000 0.00 419.200 6.73 5.32 -0.26 0.000 0.200 0.000 0.00 419.250 6.21 7.06 -0.16 0.000 0.200 0.000 0.00 419.300 6.41 6.14 -0.21 0.000 0.200 0.000 0.00 419.350 6.59 9.84 0.14 0.000 0.200 0.000 0.00 419.400 6.35 13.82 0.02 0.000 0.200 0.000 0.00 419.450 6.48 13.67 -0.35 0.000 0.200 0.000 0.00 419.500 6.34 14.69 -0.40 0.000 0.200 0.000 0.00 419.550 6.20 9.80 -0.16 0.000 0.200 0.000 0.00 419.600 6.61 12.42 -0.76 0.000 0.200 0.000 0.00 419.650 6.51 8.04 -0.47 0.000 0.200 0.000 0.00 419.700 6.67 5.82 0.08 0.000 0.200 0.000 0.00 419.750 6.64 5.33 0.09 0.000 0.200 0.000 0.00 419.800 7.00 5.65 0.24 0.000 0.200 0.000 0.00 419.850 6.74 5.16 0.07 0.000 0.200 0.000 0.00 419.900 6.54 3.26 -0.07 0.000 0.200 0.000 0.00 419.950 6.93 4.45 0.30 0.000 0.200 0.000 0.00 420.000 6.69 4.35 0.14 0.000 0.200 0.000 0.00 420.050 7.14 4.12 0.12 0.000 0.200 0.000 0.00 420.100 7.14 6.30 0.31 0.000 0.200 0.000 0.00 420.150 7.00 6.94 -0.01 0.000 0.200 0.000 0.00 420.200 7.10 9.98 0.10 0.000 0.200 0.000 0.00 420.250 6.94 11.04 0.29 0.000 0.200 0.000 0.00 420.300 7.14 13.35 0.42 0.000 0.200 0.000 0.00 420.350 6.95 10.45 0.35 0.000 0.200 0.000 0.00 420.400 6.89 10.81 0.06 0.000 0.200 0.000 0.00 420.450 6.89 11.86 -0.24 0.000 0.200 0.000 0.00 420.500 7.02 8.20 -0.65 0.000 0.200 0.000 0.00 420.550 6.97 11.23 -0.74 0.000 0.200 0.000 0.00 420.600 7.17 11.49 -0.46 0.000 0.200 0.000 0.00 420.650 7.37 7.25 -0.43 0.000 0.200 0.000 0.00 420.700 7.20 7.17 -0.47 0.000 0.200 0.000 0.00 420.750 6.86 9.11 -0.62 0.000 0.200 0.000 0.00 420.800 6.59 7.39 -0.75 0.000 0.200 0.000 0.00 420.850 6.62 7.33 -0.39 0.000 0.200 0.000 0.00 420.900 6.96 8.92 -0.45 0.000 0.200 0.000 0.00 420.950 6.56 8.46 -0.58 0.000 0.200 0.000 0.00 421.000 6.48 9.03 -0.43 0.000 0.200 0.000 0.00 421.050 6.71 7.44 -0.63 0.000 0.200 0.000 0.00 421.100 6.82 9.24 -0.51 0.000 0.200 0.000 0.00 421.150 6.88 11.14 -0.49 0.000 0.200 0.000 0.00 421.200 6.96 13.41 -0.51 0.000 0.200 0.000 0.00 421.250 6.92 11.43 -0.63 0.000 0.200 0.000 0.00 421.300 7.11 10.14 -0.77 0.000 0.200 0.000 0.00 421.350 7.10 10.51 -0.76 0.000 0.200 0.000 0.00 421.400 7.27 11.11 -0.88 0.000 0.200 0.000 0.00 421.450 7.67 12.11 -0.97 0.000 0.200 0.000 0.00 421.500 8.11 13.74 -1.31 0.000 0.200 0.000 0.00 421.550 7.83 9.45 -1.11 0.000 0.200 0.000 0.00 421.600 7.65 7.83 -0.97 0.000 0.200 0.000 0.00 421.650 7.65 5.33 -1.00 0.000 0.200 0.000 0.00 421.700 7.17 6.89 -1.05 0.000 0.200 0.000 0.00 421.750 7.35 6.98 -1.04 0.000 0.200 0.000 0.00 421.800 7.27 4.48 -0.93 0.000 0.200 0.000 0.00 421.850 7.00 5.61 -1.08 0.000 0.200 0.000 0.00 421.900 7.24 5.21 -1.07 0.000 0.200 0.000 0.00 421.950 7.07 6.33 -0.67 0.000 0.200 0.000 0.00 422.000 7.23 8.41 -0.90 0.000 0.200 0.000 0.00 422.050 7.15 5.94 -1.39 0.000 0.200 0.000 0.00 422.100 7.15 4.39 -0.96 0.000 0.200 0.000 0.00 422.150 6.95 6.87 -1.23 0.000 0.200 0.000 0.00 422.200 6.91 7.16 -1.28 0.000 0.200 0.000 0.00 422.250 7.34 8.74 -1.34 0.000 0.200 0.000 0.00 422.300 7.31 7.48 -1.29 0.000 0.200 0.000 0.00 422.350 7.14 7.34 -0.87 0.000 0.200 0.000 0.00 422.400 7.22 7.19 -0.99 0.000 0.200 0.000 0.00 422.450 7.58 5.37 -0.83 0.000 0.200 0.000 0.00 422.500 7.46 6.34 -1.04 0.000 0.200 0.000 0.00 422.550 7.32 4.92 -1.12 0.000 0.200 0.000 0.00 422.600 7.21 2.96 -0.81 0.000 0.200 0.000 0.00 422.650 7.24 1.52 -1.17 0.000 0.200 0.000 0.00 422.700 7.19 3.01 -0.95 0.000 0.200 0.000 0.00 422.750 7.08 -0.33 -0.73 0.000 0.200 0.000 0.00 422.800 6.90 -0.68 -0.43 0.000 0.200 0.000 0.00 422.850 6.75 2.26 -0.11 0.000 0.200 0.000 0.00 422.900 6.50 2.10 0.09 0.000 0.200 0.000 0.00 422.950 6.73 1.90 -0.16 0.000 0.200 0.000 0.00 423.000 6.95 0.13 -0.18 0.000 0.200 0.000 0.00 423.050 6.58 -2.30 -0.20 0.000 0.200 0.000 0.00 423.100 6.54 -5.46 -0.20 0.000 0.200 0.000 0.00 423.150 6.51 -6.64 -0.36 0.000 0.200 0.000 0.00 423.200 6.42 -7.62 -0.18 0.000 0.200 0.000 0.00 423.250 6.56 -10.69 -0.43 0.000 0.200 0.000 0.00 423.300 6.71 -10.83 -0.09 0.000 0.200 0.000 0.00 423.350 6.63 -10.80 0.35 0.000 0.200 0.000 0.00 423.400 6.71 -6.30 0.14 0.000 0.200 0.000 0.00 423.450 6.70 -5.50 -0.02 0.000 0.200 0.000 0.00 423.500 6.50 -4.13 -0.21 0.000 0.200 0.000 0.00 423.550 6.58 -1.21 -0.69 0.000 0.200 0.000 0.00 423.600 6.35 -3.67 -0.79 0.000 0.200 0.000 0.00 423.650 6.47 -2.59 -0.84 0.000 0.200 0.000 0.00 423.700 6.48 -2.67 -0.71 0.000 0.200 0.000 0.00 423.750 6.53 0.24 -0.71 0.000 0.200 0.000 0.00 423.800 6.04 -1.37 -0.60 0.000 0.200 0.000 0.00 423.850 6.14 -2.87 -0.71 0.000 0.200 0.000 0.00 423.900 6.36 -2.70 -1.03 0.000 0.200 0.000 0.00 423.950 5.89 -3.31 -1.39 0.000 0.200 0.000 0.00 424.000 5.87 -3.67 -1.44 0.000 0.200 0.000 0.00 424.050 5.66 -3.74 -1.18 0.000 0.200 0.000 0.00 424.100 5.64 -1.78 -1.18 0.000 0.200 0.000 0.00 424.150 5.60 5.64 -1.48 0.000 0.200 0.000 0.00 424.200 5.51 3.88 -1.75 0.000 0.200 0.000 0.00 424.250 5.60 7.01 -1.45 0.000 0.200 0.000 0.00 424.300 5.85 8.42 -1.23 0.000 0.200 0.000 0.00 424.350 5.79 7.70 -1.08 0.000 0.200 0.000 0.00 424.400 5.88 8.60 -1.18 0.000 0.200 0.000 0.00 424.450 6.13 5.53 -0.80 0.000 0.200 0.000 0.00 424.500 6.43 7.08 -1.29 0.000 0.200 0.000 0.00 424.550 6.55 6.64 -1.11 0.000 0.200 0.000 0.00 424.600 6.82 5.74 -1.05 0.000 0.200 0.000 0.00 424.650 6.81 7.23 -1.07 0.000 0.200 0.000 0.00 424.700 6.66 12.23 -0.82 0.000 0.200 0.000 0.00 424.750 7.07 9.08 -0.99 0.000 0.200 0.000 0.00 424.800 6.95 8.29 -1.27 0.000 0.200 0.000 0.00 424.850 6.80 9.80 -1.31 0.000 0.200 0.000 0.00 424.900 6.68 11.51 -0.92 0.000 0.200 0.000 0.00 424.950 6.66 12.95 -1.26 0.000 0.200 0.000 0.00 425.000 6.42 11.49 -1.27 0.000 0.200 0.000 0.00 425.050 6.38 11.72 -1.11 0.000 0.200 0.000 0.00 425.100 6.46 12.82 -0.95 0.000 0.200 0.000 0.00 425.150 6.31 10.58 -0.73 0.000 0.200 0.000 0.00 425.200 6.51 12.06 -0.76 0.000 0.200 0.000 0.00 425.250 6.26 9.80 -0.85 0.000 0.200 0.000 0.00 425.300 6.13 7.93 -0.83 0.000 0.200 0.000 0.00 425.350 5.85 8.48 -0.23 0.000 0.200 0.000 0.00 425.400 5.95 6.02 -0.37 0.000 0.200 0.000 0.00 425.450 5.80 3.19 -0.38 0.000 0.200 0.000 0.00 425.500 5.86 1.17 -0.46 0.000 0.200 0.000 0.00 425.550 6.09 4.25 -0.96 0.000 0.200 0.000 0.00 425.600 6.07 3.47 -0.71 0.000 0.200 0.000 0.00 425.650 6.01 2.65 -0.83 0.000 0.200 0.000 0.00 425.700 6.12 4.58 -0.82 0.000 0.200 0.000 0.00 425.750 6.33 1.37 -1.17 0.000 0.200 0.000 0.00 425.800 6.31 0.28 -0.90 0.000 0.200 0.000 0.00 425.850 6.46 1.68 -0.53 0.000 0.200 0.000 0.00 425.900 6.68 1.54 -0.59 0.000 0.200 0.000 0.00 425.950 6.76 5.14 -0.91 0.000 0.200 0.000 0.00 426.000 6.44 3.59 -0.70 0.000 0.200 0.000 0.00 426.050 6.21 2.22 -1.13 0.000 0.200 0.000 0.00 426.100 6.64 5.80 -1.00 0.000 0.200 0.000 0.00 426.150 6.89 3.49 -0.95 0.000 0.200 0.000 0.00 426.200 6.66 4.78 -1.09 0.000 0.200 0.000 0.00 426.250 6.50 6.60 -1.62 0.000 0.200 0.000 0.00 426.300 6.40 7.55 -1.34 0.000 0.200 0.000 0.00 426.350 6.54 10.24 -0.95 0.000 0.200 0.000 0.00 426.400 6.46 7.28 -1.04 0.000 0.200 0.000 0.00 426.450 6.52 8.08 -0.84 0.000 0.200 0.000 0.00 426.500 6.70 9.07 -0.88 0.000 0.200 0.000 0.00 426.550 6.45 9.91 -0.65 0.000 0.200 0.000 0.00 426.600 6.37 11.98 -0.46 0.000 0.200 0.000 0.00 426.650 6.13 10.48 -0.39 0.000 0.200 0.000 0.00 426.700 6.49 8.96 -0.41 0.000 0.200 0.000 0.00 426.750 6.61 9.54 -0.49 0.000 0.200 0.000 0.00 426.800 6.83 12.82 -0.40 0.000 0.200 0.000 0.00 426.850 6.76 13.11 -0.16 0.000 0.200 0.000 0.00 426.900 6.76 13.27 0.20 0.000 0.200 0.000 0.00 426.950 6.90 13.26 0.07 0.000 0.200 0.000 0.00 427.000 6.77 14.60 -0.25 0.000 0.200 0.000 0.00 427.050 6.66 12.83 -0.52 0.000 0.200 0.000 0.00 427.100 6.71 12.15 -0.81 0.000 0.200 0.000 0.00 427.150 6.68 12.79 -0.73 0.000 0.200 0.000 0.00 427.200 6.73 14.42 -0.73 0.000 0.200 0.000 0.00 427.250 7.07 14.68 -0.50 0.000 0.200 0.000 0.00 427.300 7.16 10.27 -0.45 0.000 0.200 0.000 0.00 427.350 7.18 10.59 -0.10 0.000 0.200 0.000 0.00 427.400 7.29 9.50 -0.12 0.000 0.200 0.000 0.00 427.450 7.34 8.34 -0.26 0.000 0.200 0.000 0.00 427.500 7.10 5.78 -0.48 0.000 0.200 0.000 0.00 427.550 7.21 8.13 -0.29 0.000 0.200 0.000 0.00 427.600 7.31 7.86 -0.23 0.000 0.200 0.000 0.00 427.650 7.41 6.02 -0.23 0.000 0.200 0.000 0.00 427.700 7.36 9.47 -0.41 0.000 0.200 0.000 0.00 427.750 7.51 8.56 -0.04 0.000 0.200 0.000 0.00 427.800 7.51 6.62 -0.06 0.000 0.200 0.000 0.00 427.850 7.15 3.11 -0.07 0.000 0.200 0.000 0.00 427.900 7.30 3.00 -0.09 0.000 0.200 0.000 0.00 427.950 7.47 5.14 -0.06 0.000 0.200 0.000 0.00 428.000 7.50 7.58 -0.66 0.000 0.200 0.000 0.00 428.050 7.47 4.04 -0.71 0.000 0.200 0.000 0.00 428.100 7.59 3.63 -0.76 0.000 0.200 0.000 0.00 428.150 7.58 4.26 -0.98 0.000 0.200 0.000 0.00 428.200 7.48 4.55 -0.99 0.000 0.200 0.000 0.00 428.250 7.42 6.19 -1.19 0.000 0.200 0.000 0.00 428.300 7.55 5.84 -1.19 0.000 0.200 0.000 0.00 428.350 7.90 3.97 -1.10 0.000 0.200 0.000 0.00 428.400 7.82 2.18 -1.16 0.000 0.200 0.000 0.00 428.450 7.47 3.34 -1.20 0.000 0.200 0.000 0.00 428.500 7.32 0.01 -0.78 0.000 0.200 0.000 0.00 428.550 7.74 0.36 -0.71 0.000 0.200 0.000 0.00 428.600 7.79 -0.68 -0.97 0.000 0.200 0.000 0.00 428.650 7.91 0.10 -0.73 0.000 0.200 0.000 0.00 428.700 7.95 -1.56 -0.64 0.000 0.200 0.000 0.00 428.750 8.05 -2.14 -0.40 0.000 0.200 0.000 0.00 428.800 8.10 -1.66 -0.39 0.000 0.200 0.000 0.00 428.850 8.04 -1.31 -0.49 0.000 0.200 0.000 0.00 428.900 7.97 -0.45 -0.61 0.000 0.200 0.000 0.00 428.950 8.10 0.25 -0.47 0.000 0.200 0.000 0.00 429.000 8.35 0.95 -0.32 0.000 0.200 0.000 0.00 429.050 8.43 4.05 -0.74 0.000 0.200 0.000 0.00 429.100 8.67 5.31 -0.69 0.000 0.200 0.000 0.00 429.150 8.49 6.85 -0.44 0.000 0.200 0.000 0.00 429.200 8.57 7.90 -0.63 0.000 0.200 0.000 0.00 429.250 8.78 5.45 -0.94 0.000 0.200 0.000 0.00 429.300 8.72 5.09 -0.91 0.000 0.200 0.000 0.00 429.350 8.94 5.79 -1.21 0.000 0.200 0.000 0.00 429.400 8.81 6.30 -1.28 0.000 0.200 0.000 0.00 429.450 8.83 6.61 -1.59 0.000 0.200 0.000 0.00 429.500 8.61 5.56 -2.11 0.000 0.200 0.000 0.00 429.550 8.70 3.97 -1.89 0.000 0.200 0.000 0.00 429.600 8.89 3.54 -1.43 0.000 0.200 0.000 0.00 429.650 8.79 2.65 -1.40 0.000 0.200 0.000 0.00 429.700 9.07 3.49 -1.87 0.000 0.200 0.000 0.00 429.750 8.97 2.29 -1.90 0.000 0.200 0.000 0.00 429.800 9.01 2.48 -1.73 0.000 0.200 0.000 0.00 429.850 9.14 2.23 -1.75 0.000 0.200 0.000 0.00 429.900 8.89 1.89 -2.07 0.000 0.200 0.000 0.00 429.950 9.12 -0.51 -2.02 0.000 0.200 0.000 0.00 430.000 9.05 -0.65 -1.88 0.000 0.200 0.000 0.00 430.050 8.87 2.76 -1.95 0.000 0.200 0.000 0.00 430.100 9.01 4.02 -1.99 0.000 0.200 0.000 0.00 430.150 9.19 5.05 -2.09 0.000 0.200 0.000 0.00 430.200 9.34 5.04 -2.29 0.000 0.200 0.000 0.00 430.250 9.42 4.37 -2.00 0.000 0.200 0.000 0.00 430.300 9.35 5.11 -1.91 0.000 0.200 0.000 0.00 430.350 9.41 6.41 -1.73 0.000 0.200 0.000 0.00 430.400 9.64 4.49 -1.86 0.000 0.200 0.000 0.00 430.450 9.55 4.71 -1.63 0.000 0.200 0.000 0.00 430.500 9.19 6.01 -1.65 0.000 0.200 0.000 0.00 430.550 9.39 11.19 -1.47 0.000 0.200 0.000 0.00 430.600 9.44 10.73 -1.53 0.000 0.200 0.000 0.00 430.650 9.53 7.47 -1.70 0.000 0.200 0.000 0.00 430.700 9.17 7.55 -1.89 0.000 0.200 0.000 0.00 430.750 9.34 9.46 -1.64 0.000 0.200 0.000 0.00 430.800 9.44 10.35 -1.95 0.000 0.200 0.000 0.00 430.850 9.39 9.76 -2.14 0.000 0.200 0.000 0.00 430.900 9.24 10.48 -1.82 0.000 0.200 0.000 0.00 430.950 9.24 9.69 -2.07 0.000 0.200 0.000 0.00 431.000 9.54 10.07 -1.96 0.000 0.200 0.000 0.00 431.050 9.38 12.09 -2.00 0.000 0.200 0.000 0.00 431.100 9.22 12.03 -2.07 0.000 0.200 0.000 0.00 431.150 9.01 12.69 -1.73 0.000 0.200 0.000 0.00 431.200 8.89 15.14 -1.82 0.000 0.200 0.000 0.00 431.250 8.82 14.16 -1.96 0.000 0.200 0.000 0.00 431.300 8.89 15.82 -2.01 0.000 0.200 0.000 0.00 431.350 8.85 15.60 -1.78 0.000 0.200 0.000 0.00 431.400 8.93 17.15 -1.99 0.000 0.200 0.000 0.00 431.450 8.94 18.75 -1.59 0.000 0.200 0.000 0.00 431.500 9.22 16.21 -1.44 0.000 0.200 0.000 0.00 431.550 9.06 15.57 -1.33 0.000 0.200 0.000 0.00 431.600 9.09 14.80 -1.38 0.000 0.200 0.000 0.00 431.650 9.29 14.01 -1.42 0.000 0.200 0.000 0.00 431.700 9.05 13.50 -1.68 0.000 0.200 0.000 0.00 431.750 9.02 14.49 -1.54 0.000 0.200 0.000 0.00 431.800 9.02 13.62 -1.27 0.000 0.200 0.000 0.00 431.850 8.74 15.51 -1.44 0.000 0.200 0.000 0.00 431.900 8.61 15.59 -1.23 0.000 0.200 0.000 0.00 431.950 8.61 13.95 -1.48 0.000 0.200 0.000 0.00 432.000 8.50 12.10 -1.26 0.000 0.200 0.000 0.00 432.050 8.35 13.00 -1.08 0.000 0.200 0.000 0.00 432.100 8.70 13.77 -0.73 0.000 0.200 0.000 0.00 432.150 8.95 13.72 -0.59 0.000 0.200 0.000 0.00 432.200 8.69 12.63 -0.39 0.000 0.200 0.000 0.00 432.250 8.46 11.53 -0.65 0.000 0.200 0.000 0.00 432.300 8.68 12.88 -0.82 0.000 0.200 0.000 0.00 432.350 8.75 12.76 -1.24 0.000 0.200 0.000 0.00 432.400 8.87 10.32 -0.86 0.000 0.200 0.000 0.00 432.450 8.68 12.76 -0.74 0.000 0.200 0.000 0.00 432.500 8.72 10.62 -0.55 0.000 0.200 0.000 0.00 432.550 8.76 11.15 -0.58 0.000 0.200 0.000 0.00 432.600 8.67 9.68 -0.55 0.000 0.200 0.000 0.00 432.650 8.49 9.52 -0.73 0.000 0.200 0.000 0.00 432.700 8.14 11.34 -0.49 0.000 0.200 0.000 0.00 432.750 8.17 11.82 -0.46 0.000 0.200 0.000 0.00 432.800 8.13 12.92 0.10 0.000 0.200 0.000 0.00 432.850 8.35 13.44 0.14 0.000 0.200 0.000 0.00 432.900 8.16 14.94 -0.16 0.000 0.200 0.000 0.00 432.950 8.05 16.68 -0.26 0.000 0.200 0.000 0.00 433.000 8.09 16.80 -0.62 0.000 0.200 0.000 0.00 433.050 8.32 15.87 -0.86 0.000 0.200 0.000 0.00 433.100 8.34 14.40 -0.81 0.000 0.200 0.000 0.00 433.150 8.29 13.71 -1.16 0.000 0.200 0.000 0.00 433.200 8.41 12.80 -1.33 0.000 0.200 0.000 0.00 433.250 8.83 13.65 -1.33 0.000 0.200 0.000 0.00 433.300 8.78 15.45 -1.22 0.000 0.200 0.000 0.00 433.350 8.65 14.22 -1.24 0.000 0.200 0.000 0.00 433.400 8.83 14.13 -1.04 0.000 0.200 0.000 0.00 433.450 8.86 13.21 -1.22 0.000 0.200 0.000 0.00 433.500 9.19 13.18 -1.37 0.000 0.200 0.000 0.00 433.550 9.12 14.46 -1.63 0.000 0.200 0.000 0.00 433.600 9.10 14.95 -1.81 0.000 0.200 0.000 0.00 433.650 9.13 14.51 -1.61 0.000 0.200 0.000 0.00 433.700 8.82 15.32 -1.42 0.000 0.200 0.000 0.00 433.750 8.94 12.26 -1.63 0.000 0.200 0.000 0.00 433.800 8.76 12.40 -1.70 0.000 0.200 0.000 0.00 433.850 8.89 11.72 -1.52 0.000 0.200 0.000 0.00 433.900 8.98 11.99 -1.42 0.000 0.200 0.000 0.00 433.950 8.83 11.35 -1.00 0.000 0.200 0.000 0.00 434.000 8.69 10.50 -1.05 0.000 0.200 0.000 0.00 434.050 8.49 11.57 -1.40 0.000 0.200 0.000 0.00 434.100 8.56 12.40 -1.68 0.000 0.200 0.000 0.00 434.150 9.01 10.68 -1.48 0.000 0.200 0.000 0.00 434.200 8.85 10.20 -1.70 0.000 0.200 0.000 0.00 434.250 8.53 13.74 -1.83 0.000 0.200 0.000 0.00 434.300 8.63 12.37 -1.55 0.000 0.200 0.000 0.00 434.350 8.76 10.00 -1.48 0.000 0.200 0.000 0.00 434.400 8.59 10.42 -1.44 0.000 0.200 0.000 0.00 434.450 8.96 10.82 -1.18 0.000 0.200 0.000 0.00 434.500 8.75 10.78 -0.78 0.000 0.200 0.000 0.00 434.550 8.57 9.36 -1.10 0.000 0.200 0.000 0.00 434.600 8.47 8.60 -1.07 0.000 0.200 0.000 0.00 434.650 8.47 8.35 -0.89 0.000 0.200 0.000 0.00 434.700 8.37 8.71 -0.82 0.000 0.200 0.000 0.00 434.750 8.30 8.11 -0.65 0.000 0.200 0.000 0.00 434.800 8.79 4.44 -0.61 0.000 0.200 0.000 0.00 434.850 8.87 5.60 -0.95 0.000 0.200 0.000 0.00 434.900 9.16 7.34 -0.99 0.000 0.200 0.000 0.00 434.950 9.29 3.42 -1.21 0.000 0.200 0.000 0.00 435.000 9.20 3.18 -1.51 0.000 0.200 0.000 0.00 435.050 9.30 3.76 -1.56 0.000 0.200 0.000 0.00 435.100 9.29 2.81 -1.77 0.000 0.200 0.000 0.00 435.150 9.40 3.18 -1.99 0.000 0.200 0.000 0.00 435.200 9.19 1.87 -1.93 0.000 0.200 0.000 0.00 435.250 9.04 4.74 -1.98 0.000 0.200 0.000 0.00 435.300 9.02 3.76 -1.66 0.000 0.200 0.000 0.00 435.350 9.38 4.29 -1.28 0.000 0.200 0.000 0.00 435.400 9.34 0.94 -1.43 0.000 0.200 0.000 0.00 435.450 9.37 0.71 -1.13 0.000 0.200 0.000 0.00 435.500 9.33 -2.17 -1.18 0.000 0.200 0.000 0.00 435.550 9.10 -2.46 -1.09 0.000 0.200 0.000 0.00 435.600 8.69 -0.12 -1.02 0.000 0.200 0.000 0.00 435.650 9.16 -0.02 -1.14 0.000 0.200 0.000 0.00 435.700 9.00 0.02 -0.73 0.000 0.200 0.000 0.00 435.750 8.76 1.79 -0.48 0.000 0.200 0.000 0.00 435.800 9.05 0.76 -0.26 0.000 0.200 0.000 0.00 435.850 9.23 0.99 0.02 0.000 0.200 0.000 0.00 435.900 9.13 2.87 0.18 0.000 0.200 0.000 0.00 435.950 9.26 1.80 0.41 0.000 0.200 0.000 0.00 436.000 8.78 1.84 -0.04 0.000 0.200 0.000 0.00 436.050 8.61 3.89 0.45 0.000 0.200 0.000 0.00 436.100 8.62 4.99 0.25 0.000 0.200 0.000 0.00 436.150 8.88 6.04 -0.19 0.000 0.200 0.000 0.00 436.200 8.70 6.91 -0.19 0.000 0.200 0.000 0.00 436.250 8.61 9.21 -0.23 0.000 0.200 0.000 0.00 436.300 8.77 8.15 -0.22 0.000 0.200 0.000 0.00 436.350 8.79 10.26 0.02 0.000 0.200 0.000 0.00 436.400 8.74 8.83 0.26 0.000 0.200 0.000 0.00 436.450 8.88 11.57 0.06 0.000 0.200 0.000 0.00 436.500 8.92 11.14 0.07 0.000 0.200 0.000 0.00 436.550 8.83 9.57 0.02 0.000 0.200 0.000 0.00 436.600 8.61 9.20 -0.06 0.000 0.200 0.000 0.00 436.650 8.49 10.02 -0.14 0.000 0.200 0.000 0.00 436.700 8.18 8.89 -0.28 0.000 0.200 0.000 0.00 436.750 7.92 5.50 -0.17 0.000 0.200 0.000 0.00 436.800 7.92 7.02 -0.18 0.000 0.200 0.000 0.00 436.850 8.05 3.41 -0.55 0.000 0.200 0.000 0.00 436.900 7.84 4.26 -0.57 0.000 0.200 0.000 0.00 436.950 7.54 5.29 -0.51 0.000 0.200 0.000 0.00 437.000 7.51 8.04 -0.67 0.000 0.200 0.000 0.00 437.050 7.36 8.25 -0.47 0.000 0.200 0.000 0.00 437.100 7.09 5.85 -0.39 0.000 0.200 0.000 0.00 437.150 7.01 3.31 -0.78 0.000 0.200 0.000 0.00 437.200 6.97 3.55 -0.83 0.000 0.200 0.000 0.00 437.250 6.93 5.16 -0.91 0.000 0.200 0.000 0.00 437.300 6.95 5.08 -0.73 0.000 0.200 0.000 0.00 437.350 6.92 7.74 -0.25 0.000 0.200 0.000 0.00 437.400 6.65 4.22 -0.41 0.000 0.200 0.000 0.00 437.450 7.12 4.88 -0.49 0.000 0.200 0.000 0.00 437.500 7.10 3.81 -0.33 0.000 0.200 0.000 0.00 437.550 7.41 1.77 -0.44 0.000 0.200 0.000 0.00 437.600 7.45 0.46 -0.29 0.000 0.200 0.000 0.00 437.650 7.31 1.16 -0.22 0.000 0.200 0.000 0.00 437.700 7.26 -2.48 -0.05 0.000 0.200 0.000 0.00 437.750 7.11 -0.50 -0.14 0.000 0.200 0.000 0.00 437.800 7.29 -2.65 -0.33 0.000 0.200 0.000 0.00 437.850 7.18 -4.45 -0.37 0.000 0.200 0.000 0.00 437.900 6.91 -2.82 -0.35 0.000 0.200 0.000 0.00 437.950 6.98 -1.40 -0.84 0.000 0.200 0.000 0.00 438.000 7.31 -3.36 -0.77 0.000 0.200 0.000 0.00 438.050 7.37 -5.66 -0.64 0.000 0.200 0.000 0.00 438.100 7.76 -8.02 -0.43 0.000 0.200 0.000 0.00 438.150 7.79 -9.01 -0.68 0.000 0.200 0.000 0.00 438.200 7.96 -8.72 -0.43 0.000 0.200 0.000 0.00 438.250 7.76 -10.49 -0.65 0.000 0.200 0.000 0.00 438.300 7.83 -10.73 -0.51 0.000 0.200 0.000 0.00 438.350 7.37 -8.25 -0.37 0.000 0.200 0.000 0.00 438.400 7.16 -8.32 -0.40 0.000 0.200 0.000 0.00 438.450 7.11 -6.71 -0.37 0.000 0.200 0.000 0.00 438.500 7.02 -5.76 -0.30 0.000 0.200 0.000 0.00 438.550 6.90 -4.37 -0.34 0.000 0.200 0.000 0.00 438.600 7.08 -2.85 -0.10 0.000 0.200 0.000 0.00 438.650 7.25 -2.37 -0.17 0.000 0.200 0.000 0.00 438.700 7.00 -2.11 0.09 0.000 0.200 0.000 0.00 438.750 6.80 -0.59 0.01 0.000 0.200 0.000 0.00 438.800 6.69 -2.71 -0.10 0.000 0.200 0.000 0.00 438.850 6.85 -2.75 0.24 0.000 0.200 0.000 0.00 438.900 6.62 -1.89 -0.08 0.000 0.200 0.000 0.00 438.950 6.47 -2.64 -0.22 0.000 0.200 0.000 0.00 439.000 6.34 -1.55 -0.01 0.000 0.200 0.000 0.00 439.050 6.57 0.54 -0.03 0.000 0.200 0.000 0.00 439.100 6.42 0.71 -0.03 0.000 0.200 0.000 0.00 439.150 6.13 0.36 0.39 0.000 0.200 0.000 0.00 439.200 6.05 1.32 0.35 0.000 0.200 0.000 0.00 439.250 6.37 0.16 0.46 0.000 0.200 0.000 0.00 439.300 6.17 3.81 0.43 0.000 0.200 0.000 0.00 439.350 6.32 2.79 0.48 0.000 0.200 0.000 0.00 439.400 6.39 3.75 0.02 0.000 0.200 0.000 0.00 439.450 6.07 1.25 0.16 0.000 0.200 0.000 0.00 439.500 5.87 0.34 0.14 0.000 0.200 0.000 0.00 439.550 5.82 1.20 0.37 0.000 0.200 0.000 0.00 439.600 6.11 4.57 -0.02 0.000 0.200 0.000 0.00 439.650 6.29 3.12 0.19 0.000 0.200 0.000 0.00 439.700 6.15 1.48 0.09 0.000 0.200 0.000 0.00 439.750 6.03 0.34 -0.31 0.000 0.200 0.000 0.00 439.800 6.02 -0.67 -0.17 0.000 0.200 0.000 0.00 439.850 5.82 -1.60 -0.51 0.000 0.200 0.000 0.00 439.900 5.71 -5.50 -0.04 0.000 0.200 0.000 0.00 439.950 5.76 -5.49 0.14 0.000 0.200 0.000 0.00 440.000 5.67 -5.80 -0.21 0.000 0.200 0.000 0.00 440.050 5.66 -7.41 -0.33 0.000 0.200 0.000 0.00 440.100 5.76 -7.99 -0.01 0.000 0.200 0.000 0.00 440.150 5.86 -8.31 -0.10 0.000 0.200 0.000 0.00 440.200 5.98 -13.41 0.06 0.000 0.200 0.000 0.00 440.250 6.09 -12.61 0.61 0.000 0.200 0.000 0.00 440.300 6.03 -10.96 0.47 0.000 0.200 0.000 0.00 440.350 5.82 -10.42 -0.01 0.000 0.200 0.000 0.00 440.400 5.76 -10.20 0.32 0.000 0.200 0.000 0.00 440.450 5.94 -11.45 0.49 0.000 0.200 0.000 0.00 440.500 5.99 -11.96 0.80 0.000 0.200 0.000 0.00 440.550 6.08 -15.58 0.62 0.000 0.200 0.000 0.00 440.600 5.90 -11.88 0.44 0.000 0.200 0.000 0.00 440.650 5.66 -13.26 0.58 0.000 0.200 0.000 0.00 440.700 5.33 -11.97 0.73 0.000 0.200 0.000 0.00 440.750 5.34 -11.31 0.85 0.000 0.200 0.000 0.00 440.800 5.43 -10.65 0.73 0.000 0.200 0.000 0.00 440.850 5.59 -8.28 0.56 0.000 0.200 0.000 0.00 440.900 5.58 -7.70 0.64 0.000 0.200 0.000 0.00 440.950 5.46 -10.15 0.47 0.000 0.200 0.000 0.00 441.000 5.24 -10.77 0.40 0.000 0.200 0.000 0.00 441.050 5.42 -11.31 0.27 0.000 0.200 0.000 0.00 441.100 5.52 -8.24 0.06 0.000 0.200 0.000 0.00 441.150 5.62 -11.91 -0.28 0.000 0.200 0.000 0.00 441.200 5.62 -7.58 -0.30 0.000 0.200 0.000 0.00 441.250 5.71 -4.21 -0.25 0.000 0.200 0.000 0.00 441.300 6.04 -3.92 -0.42 0.000 0.200 0.000 0.00 441.350 6.35 -3.48 -0.45 0.000 0.200 0.000 0.00 441.400 6.52 -1.14 -0.29 0.000 0.200 0.000 0.00 441.450 6.66 -3.03 -0.33 0.000 0.200 0.000 0.00 441.500 6.56 -7.36 -0.07 0.000 0.200 0.000 0.00 441.550 6.22 -11.57 -0.44 0.000 0.200 0.000 0.00 441.600 6.18 -7.38 -0.39 0.000 0.200 0.000 0.00 441.650 6.34 -5.07 -0.35 0.000 0.200 0.000 0.00 441.700 6.09 -4.04 -0.49 0.000 0.200 0.000 0.00 441.750 5.61 -4.59 -0.40 0.000 0.200 0.000 0.00 441.800 5.34 -2.73 -0.51 0.000 0.200 0.000 0.00 441.850 5.54 0.68 -0.38 0.000 0.200 0.000 0.00 441.900 5.59 2.38 0.06 0.000 0.200 0.000 0.00 441.950 5.41 3.15 0.05 0.000 0.200 0.000 0.00 442.000 5.80 3.32 0.24 0.000 0.200 0.000 0.00 442.050 5.91 1.06 0.11 0.000 0.200 0.000 0.00 442.100 6.13 0.63 -0.05 0.000 0.200 0.000 0.00 442.150 6.13 0.85 -0.21 0.000 0.200 0.000 0.00 442.200 6.13 -0.37 -0.36 0.000 0.200 0.000 0.00 442.250 5.90 0.57 -0.56 0.000 0.200 0.000 0.00 442.300 5.70 -2.44 -0.25 0.000 0.200 0.000 0.00 442.350 5.67 -2.11 -0.26 0.000 0.200 0.000 0.00 442.400 5.42 -3.35 -0.25 0.000 0.200 0.000 0.00 442.450 5.76 -2.92 0.09 0.000 0.200 0.000 0.00 442.500 6.00 -1.81 0.05 0.000 0.200 0.000 0.00 442.550 5.97 -0.33 0.20 0.000 0.200 0.000 0.00 442.600 6.16 -3.35 -0.11 0.000 0.200 0.000 0.00 442.650 6.14 -5.52 -0.36 0.000 0.200 0.000 0.00 442.700 6.44 -5.82 0.14 0.000 0.200 0.000 0.00 442.750 6.23 -5.96 0.59 0.000 0.200 0.000 0.00 442.800 6.23 -4.83 0.52 0.000 0.200 0.000 0.00 442.850 6.11 -8.14 0.35 0.000 0.200 0.000 0.00 442.900 6.13 -9.58 0.17 0.000 0.200 0.000 0.00 442.950 6.19 -11.61 0.36 0.000 0.200 0.000 0.00 443.000 6.56 -10.23 0.17 0.000 0.200 0.000 0.00 443.050 6.38 -10.24 -0.26 0.000 0.200 0.000 0.00 443.100 6.43 -8.62 0.03 0.000 0.200 0.000 0.00 443.150 6.41 -7.68 -0.62 0.000 0.200 0.000 0.00 443.200 6.50 -8.00 -0.50 0.000 0.200 0.000 0.00 443.250 6.38 -8.71 -0.69 0.000 0.200 0.000 0.00 443.300 6.29 -9.03 -1.01 0.000 0.200 0.000 0.00 443.350 6.27 -7.33 -0.83 0.000 0.200 0.000 0.00 443.400 6.17 -6.02 -1.06 0.000 0.200 0.000 0.00 443.450 6.18 -5.19 -1.12 0.000 0.200 0.000 0.00 443.500 6.32 -7.24 -1.02 0.000 0.200 0.000 0.00 443.550 6.44 -9.56 -0.49 0.000 0.200 0.000 0.00 443.600 6.24 -7.78 -0.61 0.000 0.200 0.000 0.00 443.650 5.91 -7.06 -0.33 0.000 0.200 0.000 0.00 443.700 5.57 -9.73 -0.34 0.000 0.200 0.000 0.00 443.750 5.71 -6.73 -0.26 0.000 0.200 0.000 0.00 443.800 5.72 -7.07 -0.31 0.000 0.200 0.000 0.00 443.850 5.41 -7.88 -0.28 0.000 0.200 0.000 0.00 443.900 5.25 -5.60 -0.34 0.000 0.200 0.000 0.00 443.950 5.22 -4.10 -0.33 0.000 0.200 0.000 0.00 444.000 5.60 -8.69 -0.77 0.000 0.200 0.000 0.00 444.050 5.53 -4.26 -0.40 0.000 0.200 0.000 0.00 444.100 5.97 -4.35 -0.71 0.000 0.200 0.000 0.00 444.150 6.00 -0.97 -0.51 0.000 0.200 0.000 0.00 444.200 6.23 -1.62 -0.37 0.000 0.200 0.000 0.00 444.250 5.92 -0.15 -0.06 0.000 0.200 0.000 0.00 444.300 5.93 3.25 0.04 0.000 0.200 0.000 0.00 444.350 5.57 5.18 -0.31 0.000 0.200 0.000 0.00 444.400 5.82 5.91 -0.13 0.000 0.200 0.000 0.00 444.450 5.71 7.42 0.03 0.000 0.200 0.000 0.00 444.500 5.59 4.35 -0.30 0.000 0.200 0.000 0.00 444.550 5.74 -1.83 -0.17 0.000 0.200 0.000 0.00 444.600 5.92 -1.22 -0.27 0.000 0.200 0.000 0.00 444.650 6.04 -2.72 -0.49 0.000 0.200 0.000 0.00 444.700 6.32 -4.57 -0.40 0.000 0.200 0.000 0.00 444.750 6.05 -3.99 -0.42 0.000 0.200 0.000 0.00 444.800 6.06 -2.11 -0.63 0.000 0.200 0.000 0.00 444.850 6.05 -2.82 -0.18 0.000 0.200 0.000 0.00 444.900 6.44 -3.22 -0.03 0.000 0.200 0.000 0.00 444.950 6.63 -2.04 0.04 0.000 0.200 0.000 0.00 445.000 7.13 -0.44 0.09 0.000 0.200 0.000 0.00 445.050 7.22 0.78 -0.30 0.000 0.200 0.000 0.00 445.100 6.78 2.33 -0.45 0.000 0.200 0.000 0.00 445.150 6.70 1.04 -0.77 0.000 0.200 0.000 0.00 445.200 6.65 2.03 -0.76 0.000 0.200 0.000 0.00 445.250 6.69 1.52 -0.50 0.000 0.200 0.000 0.00 445.300 6.74 3.32 -0.86 0.000 0.200 0.000 0.00 445.350 6.51 7.95 -0.97 0.000 0.200 0.000 0.00 445.400 6.57 4.18 -0.45 0.000 0.200 0.000 0.00 445.450 6.67 1.40 -0.63 0.000 0.200 0.000 0.00 445.500 6.55 1.38 -0.48 0.000 0.200 0.000 0.00 445.550 6.44 -0.53 -0.49 0.000 0.200 0.000 0.00 445.600 6.56 -3.00 -0.63 0.000 0.200 0.000 0.00 445.650 6.53 -0.86 -0.51 0.000 0.200 0.000 0.00 445.700 6.61 1.52 -0.55 0.000 0.200 0.000 0.00 445.750 6.55 -1.19 -0.60 0.000 0.200 0.000 0.00 445.800 6.81 -6.18 -0.70 0.000 0.200 0.000 0.00 445.850 6.38 -4.95 -0.56 0.000 0.200 0.000 0.00 445.900 5.82 -2.08 -0.37 0.000 0.200 0.000 0.00 445.950 5.69 0.32 -0.59 0.000 0.200 0.000 0.00 446.000 5.33 -0.50 -0.70 0.000 0.200 0.000 0.00 446.050 5.43 -1.19 -0.16 0.000 0.200 0.000 0.00 446.100 5.65 -3.76 -0.24 0.000 0.200 0.000 0.00 446.150 5.50 -0.71 -0.04 0.000 0.200 0.000 0.00 446.200 5.28 0.63 -0.04 0.000 0.200 0.000 0.00 446.250 5.46 -1.28 0.19 0.000 0.200 0.000 0.00 446.300 5.67 -3.17 -0.02 0.000 0.200 0.000 0.00 446.350 5.72 1.52 -0.07 0.000 0.200 0.000 0.00 446.400 5.65 2.28 -0.58 0.000 0.200 0.000 0.00 446.450 5.68 0.43 -0.68 0.000 0.200 0.000 0.00 446.500 5.92 2.02 -0.86 0.000 0.200 0.000 0.00 446.550 5.92 2.59 -1.07 0.000 0.200 0.000 0.00 446.600 5.95 0.78 -1.20 0.000 0.200 0.000 0.00 446.650 6.06 5.44 -1.26 0.000 0.200 0.000 0.00 446.700 5.81 6.36 -1.39 0.000 0.200 0.000 0.00 446.750 6.08 3.82 -1.24 0.000 0.200 0.000 0.00 446.800 6.06 1.94 -1.22 0.000 0.200 0.000 0.00 446.850 5.85 2.48 -0.96 0.000 0.200 0.000 0.00 446.900 6.03 7.08 -0.94 0.000 0.200 0.000 0.00 446.950 6.03 8.55 -1.56 0.000 0.200 0.000 0.00 447.000 6.23 4.68 -1.42 0.000 0.200 0.000 0.00 447.050 6.08 4.14 -1.36 0.000 0.200 0.000 0.00 447.100 6.08 4.23 -1.05 0.000 0.200 0.000 0.00 447.150 6.07 5.77 -1.03 0.000 0.200 0.000 0.00 447.200 5.64 8.26 -1.50 0.000 0.200 0.000 0.00 447.250 5.71 7.64 -1.65 0.000 0.200 0.000 0.00 447.300 5.81 5.27 -1.47 0.000 0.200 0.000 0.00 447.350 5.71 1.67 -1.34 0.000 0.200 0.000 0.00 447.400 5.88 1.83 -1.28 0.000 0.200 0.000 0.00 447.450 5.69 -0.88 -1.04 0.000 0.200 0.000 0.00 447.500 5.29 -1.78 -1.03 0.000 0.200 0.000 0.00 447.550 5.56 1.51 -0.95 0.000 0.200 0.000 0.00 447.600 5.39 3.48 -0.80 0.000 0.200 0.000 0.00 447.650 5.46 -1.42 -0.87 0.000 0.200 0.000 0.00 447.700 5.60 -0.49 -0.72 0.000 0.200 0.000 0.00 447.750 5.68 -2.84 -0.78 0.000 0.200 0.000 0.00 447.800 5.80 -3.15 -0.78 0.000 0.200 0.000 0.00 447.850 5.29 -0.64 -0.65 0.000 0.200 0.000 0.00 447.900 4.97 -4.95 -0.95 0.000 0.200 0.000 0.00 447.950 5.10 -6.82 -0.88 0.000 0.200 0.000 0.00 448.000 5.38 -7.71 -0.75 0.000 0.200 0.000 0.00 448.050 5.12 -6.88 -0.64 0.000 0.200 0.000 0.00 448.100 4.92 -6.23 -0.62 0.000 0.200 0.000 0.00 448.150 4.64 -5.33 -0.92 0.000 0.200 0.000 0.00 448.200 4.63 -1.85 -1.06 0.000 0.200 0.000 0.00 448.250 4.75 -1.24 -1.00 0.000 0.200 0.000 0.00 448.300 4.91 -0.89 -0.86 0.000 0.200 0.000 0.00 448.350 5.18 3.67 -0.75 0.000 0.200 0.000 0.00 448.400 5.29 2.19 -1.03 0.000 0.200 0.000 0.00 448.450 5.08 1.87 -1.08 0.000 0.200 0.000 0.00 448.500 4.76 3.13 -0.92 0.000 0.200 0.000 0.00 448.550 4.79 4.77 -0.77 0.000 0.200 0.000 0.00 448.600 4.96 3.91 -0.77 0.000 0.200 0.000 0.00 448.650 4.90 3.03 -0.70 0.000 0.200 0.000 0.00 448.700 5.30 4.08 -0.38 0.000 0.200 0.000 0.00 448.750 5.62 5.73 -0.37 0.000 0.200 0.000 0.00 448.800 5.27 5.97 -0.44 0.000 0.200 0.000 0.00 448.850 5.40 4.02 -0.58 0.000 0.200 0.000 0.00 448.900 5.53 6.35 -0.72 0.000 0.200 0.000 0.00 448.950 5.40 7.67 -1.03 0.000 0.200 0.000 0.00 449.000 5.61 7.05 -0.88 0.000 0.200 0.000 0.00 449.050 5.45 4.48 -0.86 0.000 0.200 0.000 0.00 449.100 5.29 4.93 -1.14 0.000 0.200 0.000 0.00 449.150 5.26 6.65 -0.84 0.000 0.200 0.000 0.00 449.200 5.52 8.27 -0.76 0.000 0.200 0.000 0.00 449.250 5.50 7.40 -0.84 0.000 0.200 0.000 0.00 449.300 5.59 6.83 -0.89 0.000 0.200 0.000 0.00 449.350 5.40 7.72 -0.88 0.000 0.200 0.000 0.00 449.400 5.68 7.00 -1.08 0.000 0.200 0.000 0.00 449.450 5.60 3.28 -1.36 0.000 0.200 0.000 0.00 449.500 5.36 2.40 -1.34 0.000 0.200 0.000 0.00 449.550 5.56 6.62 -1.12 0.000 0.200 0.000 0.00 449.600 6.05 4.00 -0.99 0.000 0.200 0.000 0.00 449.650 6.06 -0.15 -0.71 0.000 0.200 0.000 0.00 449.700 5.76 1.60 -0.56 0.000 0.200 0.000 0.00 449.750 5.42 4.28 -0.80 0.000 0.200 0.000 0.00 449.800 5.62 4.73 -0.65 0.000 0.200 0.000 0.00 449.850 5.75 4.87 -0.35 0.000 0.200 0.000 0.00 449.900 5.76 5.05 -0.33 0.000 0.200 0.000 0.00 449.950 5.51 5.99 -0.09 0.000 0.200 0.000 0.00 450.000 5.39 5.54 -0.12 0.000 0.200 0.000 0.00 450.050 5.53 10.22 0.07 0.000 0.200 0.000 0.00 450.100 5.46 4.89 0.18 0.000 0.200 0.000 0.00 450.150 5.44 5.78 -0.15 0.000 0.200 0.000 0.00 450.200 5.40 6.62 0.13 0.000 0.200 0.000 0.00 450.250 4.93 4.49 0.27 0.000 0.200 0.000 0.00 450.300 4.93 6.84 0.48 0.000 0.200 0.000 0.00 450.350 5.22 3.39 0.86 0.000 0.200 0.000 0.00 450.400 5.43 1.11 0.97 0.000 0.200 0.000 0.00 450.450 5.57 2.65 1.11 0.000 0.200 0.000 0.00 450.500 5.74 -0.45 1.37 0.000 0.200 0.000 0.00 450.550 5.68 -1.91 1.16 0.000 0.200 0.000 0.00 450.600 5.63 1.75 0.93 0.000 0.200 0.000 0.00 450.650 5.32 0.30 1.02 0.000 0.200 0.000 0.00 450.700 5.26 -0.99 1.42 0.000 0.200 0.000 0.00 450.750 5.63 0.57 1.60 0.000 0.200 0.000 0.00 450.800 5.69 -2.83 1.75 0.000 0.200 0.000 0.00 450.850 5.59 0.45 1.61 0.000 0.200 0.000 0.00 450.900 5.75 -1.30 1.40 0.000 0.200 0.000 0.00 450.950 6.12 -0.92 1.39 0.000 0.200 0.000 0.00 451.000 6.35 -2.36 1.07 0.000 0.200 0.000 0.00 451.050 6.14 0.86 0.90 0.000 0.200 0.000 0.00 451.100 6.19 -1.55 1.07 0.000 0.200 0.000 0.00 451.150 5.85 -0.95 0.93 0.000 0.200 0.000 0.00 451.200 5.80 -0.60 1.24 0.000 0.200 0.000 0.00 451.250 5.87 -1.29 0.87 0.000 0.200 0.000 0.00 451.300 5.51 0.85 0.54 0.000 0.200 0.000 0.00 451.350 5.73 -0.22 0.52 0.000 0.200 0.000 0.00 451.400 5.76 -2.15 -0.28 0.000 0.200 0.000 0.00 451.450 6.19 -0.59 -0.02 0.000 0.200 0.000 0.00 451.500 6.00 0.72 0.35 0.000 0.200 0.000 0.00 451.550 6.11 -1.78 0.53 0.000 0.200 0.000 0.00 451.600 6.01 -1.73 0.75 0.000 0.200 0.000 0.00 451.650 5.71 -5.46 0.56 0.000 0.200 0.000 0.00 451.700 5.32 -4.77 0.31 0.000 0.200 0.000 0.00 451.750 5.17 -6.20 0.42 0.000 0.200 0.000 0.00 451.800 5.23 -4.89 0.88 0.000 0.200 0.000 0.00 451.850 5.36 -5.56 0.92 0.000 0.200 0.000 0.00 451.900 5.98 -3.07 0.71 0.000 0.200 0.000 0.00 451.950 6.33 -7.41 0.70 0.000 0.200 0.000 0.00 452.000 6.51 -7.66 0.69 0.000 0.200 0.000 0.00 452.050 6.50 -7.86 0.74 0.000 0.200 0.000 0.00 452.100 6.44 -6.44 0.83 0.000 0.200 0.000 0.00 452.150 6.10 -5.39 0.51 0.000 0.200 0.000 0.00 452.200 5.92 -9.78 0.49 0.000 0.200 0.000 0.00 452.250 6.10 -9.11 0.43 0.000 0.200 0.000 0.00 452.300 6.06 -8.33 0.62 0.000 0.200 0.000 0.00 452.350 5.71 -10.52 0.59 0.000 0.200 0.000 0.00 452.400 5.59 -10.50 0.22 0.000 0.200 0.000 0.00 452.450 5.72 -3.75 0.38 0.000 0.200 0.000 0.00 452.500 5.71 -0.56 0.13 0.000 0.200 0.000 0.00 452.550 5.61 -0.90 -0.38 0.000 0.200 0.000 0.00 452.600 5.48 -1.68 -0.59 0.000 0.200 0.000 0.00 452.650 5.97 -1.68 -0.65 0.000 0.200 0.000 0.00 452.700 5.64 -0.94 -0.72 0.000 0.200 0.000 0.00 452.750 5.86 -4.92 -0.43 0.000 0.200 0.000 0.00 452.800 6.15 -4.39 -0.71 0.000 0.200 0.000 0.00 452.850 6.30 -1.11 -0.43 0.000 0.200 0.000 0.00 452.900 6.38 -1.29 -0.88 0.000 0.200 0.000 0.00 452.950 6.36 -3.63 -1.09 0.000 0.200 0.000 0.00 453.000 6.55 -3.56 -1.10 0.000 0.200 0.000 0.00 453.050 6.56 -3.22 -0.80 0.000 0.200 0.000 0.00 453.100 6.57 -5.04 -0.48 0.000 0.200 0.000 0.00 453.150 6.92 -4.38 -0.46 0.000 0.200 0.000 0.00 453.200 7.12 -3.80 -0.32 0.000 0.200 0.000 0.00 453.250 6.94 -4.10 -0.44 0.000 0.200 0.000 0.00 453.300 6.97 -3.01 -0.46 0.000 0.200 0.000 0.00 453.350 6.90 -2.13 -0.34 0.000 0.200 0.000 0.00 453.400 6.57 -4.70 -0.59 0.000 0.200 0.000 0.00 453.450 6.77 -6.02 -0.61 0.000 0.200 0.000 0.00 453.500 6.65 -7.02 -0.47 0.000 0.200 0.000 0.00 453.550 6.54 -8.48 -0.55 0.000 0.200 0.000 0.00 453.600 6.60 -7.14 -0.56 0.000 0.200 0.000 0.00 453.650 6.51 -6.47 -0.46 0.000 0.200 0.000 0.00 453.700 6.40 -6.84 -0.02 0.000 0.200 0.000 0.00 453.750 6.21 -6.32 -0.06 0.000 0.200 0.000 0.00 453.800 6.17 -3.09 -0.08 0.000 0.200 0.000 0.00 453.850 5.71 -5.30 0.25 0.000 0.200 0.000 0.00 453.900 5.74 -3.69 0.21 0.000 0.200 0.000 0.00 453.950 5.76 -2.72 -0.16 0.000 0.200 0.000 0.00 454.000 5.83 -3.26 0.03 0.000 0.200 0.000 0.00 454.050 5.90 -6.66 -0.14 0.000 0.200 0.000 0.00 454.100 5.93 -10.85 0.00 0.000 0.200 0.000 0.00 454.150 6.41 -13.64 0.02 0.000 0.200 0.000 0.00 454.200 6.43 -13.06 0.24 0.000 0.200 0.000 0.00 454.250 6.25 -11.45 0.38 0.000 0.200 0.000 0.00 454.300 6.04 -10.88 0.68 0.000 0.200 0.000 0.00 454.350 5.74 -6.60 0.38 0.000 0.200 0.000 0.00 454.400 5.99 -3.31 0.34 0.000 0.200 0.000 0.00 454.450 6.13 -3.68 0.37 0.000 0.200 0.000 0.00 454.500 6.14 -3.34 0.32 0.000 0.200 0.000 0.00 454.550 6.18 -2.59 0.24 0.000 0.200 0.000 0.00 454.600 6.03 -5.83 0.91 0.000 0.200 0.000 0.00 454.650 5.93 -8.19 0.83 0.000 0.200 0.000 0.00 454.700 5.99 -8.96 0.77 0.000 0.200 0.000 0.00 454.750 5.85 -7.23 0.72 0.000 0.200 0.000 0.00 454.800 6.16 -8.37 0.67 0.000 0.200 0.000 0.00 454.850 6.11 -12.12 1.06 0.000 0.200 0.000 0.00 454.900 6.17 -13.70 0.39 0.000 0.200 0.000 0.00 454.950 6.05 -14.75 0.10 0.000 0.200 0.000 0.00 455.000 6.04 -19.36 0.05 0.000 0.200 0.000 0.00 455.050 5.81 -17.45 0.20 0.000 0.200 0.000 0.00 455.100 6.12 -15.66 -0.04 0.000 0.200 0.000 0.00 455.150 6.31 -12.22 -0.21 0.000 0.200 0.000 0.00 455.200 6.42 -11.21 -0.09 0.000 0.200 0.000 0.00 455.250 6.45 -12.12 -0.04 0.000 0.200 0.000 0.00 455.300 6.49 -10.50 -0.04 0.000 0.200 0.000 0.00 455.350 6.21 -12.74 -0.01 0.000 0.200 0.000 0.00 455.400 6.01 -16.09 -0.26 0.000 0.200 0.000 0.00 455.450 5.96 -15.98 -0.14 0.000 0.200 0.000 0.00 455.500 5.83 -21.40 -0.28 0.000 0.200 0.000 0.00 455.550 5.83 -19.81 -0.54 0.000 0.200 0.000 0.00 455.600 5.93 -18.59 -0.30 0.000 0.200 0.000 0.00 455.650 6.05 -21.01 -0.36 0.000 0.200 0.000 0.00 455.700 6.03 -19.10 -0.48 0.000 0.200 0.000 0.00 455.750 5.90 -17.62 -0.22 0.000 0.200 0.000 0.00 455.800 5.65 -16.11 -0.30 0.000 0.200 0.000 0.00 455.850 5.81 -15.76 -0.17 0.000 0.200 0.000 0.00 455.900 5.76 -18.70 -0.13 0.000 0.200 0.000 0.00 455.950 5.70 -20.15 -0.57 0.000 0.200 0.000 0.00 456.000 5.61 -22.22 -0.20 0.000 0.200 0.000 0.00 456.050 5.58 -24.07 -0.33 0.000 0.200 0.000 0.00 456.100 5.98 -27.65 -0.77 0.000 0.200 0.000 0.00 456.150 5.84 -25.79 -0.71 0.000 0.200 0.000 0.00 456.200 5.65 -23.34 -0.96 0.000 0.200 0.000 0.00 456.250 5.56 -21.21 -0.75 0.000 0.200 0.000 0.00 456.300 5.65 -21.33 -0.41 0.000 0.200 0.000 0.00 456.350 5.78 -26.42 -0.45 0.000 0.200 0.000 0.00 456.400 5.84 -26.34 -0.97 0.000 0.200 0.000 0.00 456.450 6.03 -25.61 -0.75 0.000 0.200 0.000 0.00 456.500 5.59 -23.98 -0.56 0.000 0.200 0.000 0.00 456.550 5.86 -25.78 -0.62 0.000 0.200 0.000 0.00 456.600 5.79 -24.11 -0.67 0.000 0.200 0.000 0.00 456.650 5.91 -24.90 -1.00 0.000 0.200 0.000 0.00 456.700 5.82 -27.94 -0.65 0.000 0.200 0.000 0.00 456.750 5.81 -25.26 -0.83 0.000 0.200 0.000 0.00 456.800 5.64 -19.11 -1.02 0.000 0.200 0.000 0.00 456.850 5.89 -23.72 -0.57 0.000 0.200 0.000 0.00 456.900 5.70 -24.74 -0.74 0.000 0.200 0.000 0.00 456.950 5.79 -24.93 -0.82 0.000 0.200 0.000 0.00 457.000 5.82 -25.24 -0.76 0.000 0.200 0.000 0.00 457.050 5.72 -21.40 -0.72 0.000 0.200 0.000 0.00 457.100 5.76 -21.58 -1.01 0.000 0.200 0.000 0.00 457.150 5.72 -19.61 -0.90 0.000 0.200 0.000 0.00 457.200 5.58 -18.55 -1.26 0.000 0.200 0.000 0.00 457.250 5.60 -17.92 -1.41 0.000 0.200 0.000 0.00 457.300 5.48 -19.21 -1.10 0.000 0.200 0.000 0.00 457.350 5.44 -19.05 -1.00 0.000 0.200 0.000 0.00 457.400 5.55 -19.65 -0.93 0.000 0.200 0.000 0.00 457.450 5.53 -22.79 -0.42 0.000 0.200 0.000 0.00 457.500 5.53 -21.12 -0.47 0.000 0.200 0.000 0.00 457.550 6.04 -21.57 -0.20 0.000 0.200 0.000 0.00 457.600 6.24 -22.45 -0.12 0.000 0.200 0.000 0.00 457.650 6.02 -24.71 0.00 0.000 0.200 0.000 0.00 457.700 6.16 -23.91 -0.01 0.000 0.200 0.000 0.00 457.750 6.21 -21.45 0.16 0.000 0.200 0.000 0.00 457.800 6.21 -22.27 1.08 0.000 0.200 0.000 0.00 457.850 6.18 -18.81 0.83 0.000 0.200 0.000 0.00 457.900 6.37 -20.85 0.49 0.000 0.200 0.000 0.00 457.950 6.31 -20.10 0.56 0.000 0.200 0.000 0.00 458.000 5.98 -18.86 0.41 0.000 0.200 0.000 0.00 458.050 6.21 -15.93 0.87 0.000 0.200 0.000 0.00 458.100 5.98 -16.32 1.04 0.000 0.200 0.000 0.00 458.150 5.99 -16.04 1.17 0.000 0.200 0.000 0.00 458.200 5.92 -20.01 1.37 0.000 0.200 0.000 0.00 458.250 5.97 -22.08 1.61 0.000 0.200 0.000 0.00 458.300 5.45 -25.37 1.39 0.000 0.200 0.000 0.00 458.350 5.38 -27.08 1.22 0.000 0.200 0.000 0.00 458.400 5.58 -19.93 1.25 0.000 0.200 0.000 0.00 458.450 4.98 -21.98 1.32 0.000 0.200 0.000 0.00 458.500 4.92 -24.16 1.29 0.000 0.200 0.000 0.00 458.550 5.09 -19.35 1.59 0.000 0.200 0.000 0.00 458.600 4.96 -17.49 1.26 0.000 0.200 0.000 0.00 458.650 5.21 -17.60 1.31 0.000 0.200 0.000 0.00 458.700 5.37 -16.06 1.44 0.000 0.200 0.000 0.00 458.750 5.51 -18.06 1.74 0.000 0.200 0.000 0.00 458.800 5.50 -17.00 1.76 0.000 0.200 0.000 0.00 458.850 5.51 -15.43 1.89 0.000 0.200 0.000 0.00 458.900 5.41 -16.92 1.55 0.000 0.200 0.000 0.00 458.950 5.68 -17.44 1.48 0.000 0.200 0.000 0.00 459.000 5.80 -19.23 1.25 0.000 0.200 0.000 0.00 459.050 6.01 -18.32 1.12 0.000 0.200 0.000 0.00 459.100 6.12 -18.46 0.93 0.000 0.200 0.000 0.00 459.150 6.21 -17.67 1.14 0.000 0.200 0.000 0.00 459.200 6.68 -17.43 0.90 0.000 0.200 0.000 0.00 459.250 6.38 -16.41 0.72 0.000 0.200 0.000 0.00 459.300 6.12 -18.39 0.75 0.000 0.200 0.000 0.00 459.350 6.32 -18.75 0.56 0.000 0.200 0.000 0.00 459.400 6.24 -18.11 0.31 0.000 0.200 0.000 0.00 459.450 6.29 -15.67 0.24 0.000 0.200 0.000 0.00 459.500 6.32 -12.05 -0.11 0.000 0.200 0.000 0.00 459.550 6.28 -11.93 -0.06 0.000 0.200 0.000 0.00 459.600 6.47 -15.67 0.09 0.000 0.200 0.000 0.00 459.650 6.74 -18.18 0.52 0.000 0.200 0.000 0.00 459.700 6.37 -18.02 0.59 0.000 0.200 0.000 0.00 459.750 6.59 -21.37 0.63 0.000 0.200 0.000 0.00 459.800 6.46 -20.79 0.88 0.000 0.200 0.000 0.00 459.850 6.43 -19.91 0.74 0.000 0.200 0.000 0.00 459.900 6.52 -18.86 1.02 0.000 0.200 0.000 0.00 459.950 6.69 -21.79 0.71 0.000 0.200 0.000 0.00 460.000 6.71 -16.70 0.42 0.000 0.200 0.000 0.00 460.050 6.32 -13.47 0.37 0.000 0.200 0.000 0.00 460.100 6.28 -13.10 0.27 0.000 0.200 0.000 0.00 460.150 6.23 -13.70 0.35 0.000 0.200 0.000 0.00 460.200 6.15 -10.57 0.41 0.000 0.200 0.000 0.00 460.250 6.07 -6.95 0.53 0.000 0.200 0.000 0.00 460.300 5.87 -4.07 0.12 0.000 0.200 0.000 0.00 460.350 5.67 -5.00 0.13 0.000 0.200 0.000 0.00 460.400 6.05 -0.51 0.46 0.000 0.200 0.000 0.00 460.450 6.17 0.21 0.10 0.000 0.200 0.000 0.00 460.500 6.03 -0.24 0.29 0.000 0.200 0.000 0.00 460.550 5.86 1.83 0.36 0.000 0.200 0.000 0.00 460.600 5.79 3.05 0.63 0.000 0.200 0.000 0.00 460.650 5.75 -0.78 1.28 0.000 0.200 0.000 0.00 460.700 5.94 -0.87 1.12 0.000 0.200 0.000 0.00 460.750 5.99 -1.50 0.91 0.000 0.200 0.000 0.00 460.800 5.86 -3.15 0.69 0.000 0.200 0.000 0.00 460.850 5.62 -0.57 0.81 0.000 0.200 0.000 0.00 460.900 6.10 -5.20 0.99 0.000 0.200 0.000 0.00 460.950 6.40 -4.69 0.62 0.000 0.200 0.000 0.00 461.000 6.49 -5.61 0.37 0.000 0.200 0.000 0.00 461.050 6.34 -5.22 0.46 0.000 0.200 0.000 0.00 461.100 6.25 -6.85 0.75 0.000 0.200 0.000 0.00 461.150 6.44 -7.48 0.99 0.000 0.200 0.000 0.00 461.200 6.44 -11.25 0.99 0.000 0.200 0.000 0.00 461.250 6.37 -10.84 1.17 0.000 0.200 0.000 0.00 461.300 6.34 -9.66 0.94 0.000 0.200 0.000 0.00 461.350 6.35 -3.13 0.58 0.000 0.200 0.000 0.00 461.400 6.36 -1.91 0.46 0.000 0.200 0.000 0.00 461.450 6.75 -5.00 0.22 0.000 0.200 0.000 0.00 461.500 6.89 -1.70 0.08 0.000 0.200 0.000 0.00 461.550 7.07 -1.64 -0.20 0.000 0.200 0.000 0.00 461.600 6.79 -1.42 0.32 0.000 0.200 0.000 0.00 461.650 6.89 1.69 0.69 0.000 0.200 0.000 0.00 461.700 7.01 -0.27 0.33 0.000 0.200 0.000 0.00 461.750 6.97 -1.26 0.02 0.000 0.200 0.000 0.00 461.800 6.72 -1.44 -0.27 0.000 0.200 0.000 0.00 461.850 6.69 -2.16 -0.25 0.000 0.200 0.000 0.00 461.900 6.69 -3.48 -0.31 0.000 0.200 0.000 0.00 461.950 6.60 -4.31 -0.18 0.000 0.200 0.000 0.00 462.000 6.50 -0.43 0.30 0.000 0.200 0.000 0.00 462.050 6.46 -0.71 0.50 0.000 0.200 0.000 0.00 462.100 6.61 -2.27 0.54 0.000 0.200 0.000 0.00 462.150 6.74 -1.36 0.48 0.000 0.200 0.000 0.00 462.200 6.93 -3.12 0.66 0.000 0.200 0.000 0.00 462.250 6.80 -2.97 0.71 0.000 0.200 0.000 0.00 462.300 6.91 -4.36 0.89 0.000 0.200 0.000 0.00 462.350 7.00 0.40 1.04 0.000 0.200 0.000 0.00 462.400 7.00 1.88 1.02 0.000 0.200 0.000 0.00 462.450 6.68 0.58 0.52 0.000 0.200 0.000 0.00 462.500 6.40 1.74 0.53 0.000 0.200 0.000 0.00 462.550 6.33 -1.58 0.13 0.000 0.200 0.000 0.00 462.600 6.46 -3.47 -0.11 0.000 0.200 0.000 0.00 462.650 6.47 -3.90 0.24 0.000 0.200 0.000 0.00 462.700 6.34 -1.19 0.03 0.000 0.200 0.000 0.00 462.750 6.39 -2.15 -0.22 0.000 0.200 0.000 0.00 462.800 6.34 -1.08 -0.29 0.000 0.200 0.000 0.00 462.850 6.03 -1.10 -0.08 0.000 0.200 0.000 0.00 462.900 6.14 -2.60 0.19 0.000 0.200 0.000 0.00 462.950 6.22 -4.04 0.27 0.000 0.200 0.000 0.00 463.000 6.40 -4.51 0.33 0.000 0.200 0.000 0.00 463.050 6.75 -2.20 0.60 0.000 0.200 0.000 0.00 463.100 6.61 -3.98 0.49 0.000 0.200 0.000 0.00 463.150 6.43 -3.94 0.48 0.000 0.200 0.000 0.00 463.200 6.62 -4.50 0.49 0.000 0.200 0.000 0.00 463.250 6.43 -6.41 0.78 0.000 0.200 0.000 0.00 463.300 6.20 -5.77 0.70 0.000 0.200 0.000 0.00 463.350 6.14 -4.67 0.67 0.000 0.200 0.000 0.00 463.400 6.43 -4.90 0.62 0.000 0.200 0.000 0.00 463.450 6.60 -8.08 0.06 0.000 0.200 0.000 0.00 463.500 6.64 -5.26 0.35 0.000 0.200 0.000 0.00 463.550 6.73 -7.54 0.22 0.000 0.200 0.000 0.00 463.600 6.54 -3.40 -0.01 0.000 0.200 0.000 0.00 463.650 6.63 -2.49 0.20 0.000 0.200 0.000 0.00 463.700 6.81 -2.98 0.12 0.000 0.200 0.000 0.00 463.750 6.89 -2.10 0.07 0.000 0.200 0.000 0.00 463.800 6.64 -5.93 -0.38 0.000 0.200 0.000 0.00 463.850 6.21 -7.91 -0.35 0.000 0.200 0.000 0.00 463.900 6.41 -8.91 -0.29 0.000 0.200 0.000 0.00 463.950 6.67 -11.00 -0.55 0.000 0.200 0.000 0.00 464.000 6.68 -11.43 -0.22 0.000 0.200 0.000 0.00 464.050 6.63 -12.77 -0.20 0.000 0.200 0.000 0.00 464.100 6.71 -9.40 0.05 0.000 0.200 0.000 0.00 464.150 6.54 -7.72 0.14 0.000 0.200 0.000 0.00 464.200 6.33 -12.79 0.01 0.000 0.200 0.000 0.00 464.250 6.26 -9.90 0.15 0.000 0.200 0.000 0.00 464.300 6.03 -11.06 0.42 0.000 0.200 0.000 0.00 464.350 6.12 -12.65 0.87 0.000 0.200 0.000 0.00 464.400 6.16 -11.05 0.89 0.000 0.200 0.000 0.00 464.450 6.12 -10.52 0.69 0.000 0.200 0.000 0.00 464.500 6.41 -9.35 0.77 0.000 0.200 0.000 0.00 464.550 6.43 -8.66 0.89 0.000 0.200 0.000 0.00 464.600 6.17 -9.58 0.86 0.000 0.200 0.000 0.00 464.650 6.11 -10.24 0.89 0.000 0.200 0.000 0.00 464.700 6.11 -12.14 0.74 0.000 0.200 0.000 0.00 464.750 5.90 -11.27 0.51 0.000 0.200 0.000 0.00 464.800 5.87 -10.19 0.63 0.000 0.200 0.000 0.00 464.850 6.07 -12.67 1.34 0.000 0.200 0.000 0.00 464.900 5.80 -14.36 1.84 0.000 0.200 0.000 0.00 464.950 5.84 -15.76 1.53 0.000 0.200 0.000 0.00 465.000 5.43 -13.46 0.96 0.000 0.200 0.000 0.00 465.050 5.78 -16.12 1.13 0.000 0.200 0.000 0.00 465.100 6.07 -17.56 0.91 0.000 0.200 0.000 0.00 465.150 6.09 -15.98 0.36 0.000 0.200 0.000 0.00 465.200 6.25 -14.56 0.83 0.000 0.200 0.000 0.00 465.250 6.48 -15.97 0.74 0.000 0.200 0.000 0.00 465.300 6.54 -18.49 1.36 0.000 0.200 0.000 0.00 465.350 6.92 -15.68 1.32 0.000 0.200 0.000 0.00 465.400 6.84 -12.96 1.22 0.000 0.200 0.000 0.00 465.450 6.78 -11.47 1.14 0.000 0.200 0.000 0.00 465.500 6.71 -8.47 1.24 0.000 0.200 0.000 0.00 465.550 6.81 -7.93 1.39 0.000 0.200 0.000 0.00 465.600 6.65 -7.42 1.46 0.000 0.200 0.000 0.00 465.650 6.64 -8.58 1.59 0.000 0.200 0.000 0.00 465.700 6.63 -11.22 1.59 0.000 0.200 0.000 0.00 465.750 6.37 -7.18 1.42 0.000 0.200 0.000 0.00 465.800 6.51 -10.23 1.66 0.000 0.200 0.000 0.00 465.850 6.54 -8.58 1.34 0.000 0.200 0.000 0.00 465.900 6.81 -10.16 1.05 0.000 0.200 0.000 0.00 465.950 6.92 -11.95 0.87 0.000 0.200 0.000 0.00 466.000 6.65 -12.77 0.68 0.000 0.200 0.000 0.00 466.050 6.51 -13.66 0.38 0.000 0.200 0.000 0.00 466.100 6.45 -12.90 0.30 0.000 0.200 0.000 0.00 466.150 6.72 -17.10 0.14 0.000 0.200 0.000 0.00 466.200 6.66 -17.58 0.22 0.000 0.200 0.000 0.00 466.250 6.64 -16.38 -0.08 0.000 0.200 0.000 0.00 466.300 6.88 -17.83 -0.07 0.000 0.200 0.000 0.00 466.350 6.81 -17.55 0.41 0.000 0.200 0.000 0.00 466.400 7.11 -15.98 0.43 0.000 0.200 0.000 0.00 466.450 7.04 -16.29 0.37 0.000 0.200 0.000 0.00 466.500 7.06 -14.45 0.46 0.000 0.200 0.000 0.00 466.550 7.01 -15.38 0.63 0.000 0.200 0.000 0.00 466.600 7.09 -12.91 0.84 0.000 0.200 0.000 0.00 466.650 7.07 -13.55 0.87 0.000 0.200 0.000 0.00 466.700 6.89 -15.22 0.49 0.000 0.200 0.000 0.00 466.750 6.64 -13.82 0.90 0.000 0.200 0.000 0.00 466.800 6.64 -10.88 1.07 0.000 0.200 0.000 0.00 466.850 6.74 -9.02 0.93 0.000 0.200 0.000 0.00 466.900 6.80 -6.66 0.60 0.000 0.200 0.000 0.00 466.950 6.85 -7.74 0.55 0.000 0.200 0.000 0.00 467.000 6.77 -6.78 0.86 0.000 0.200 0.000 0.00 467.050 6.64 -5.96 1.01 0.000 0.200 0.000 0.00 467.100 6.60 -7.75 1.33 0.000 0.200 0.000 0.00 467.150 6.80 -9.67 0.96 0.000 0.200 0.000 0.00 467.200 6.71 -8.79 0.74 0.000 0.200 0.000 0.00 467.250 6.96 -10.81 0.56 0.000 0.200 0.000 0.00 467.300 6.85 -11.61 0.51 0.000 0.200 0.000 0.00 467.350 6.48 -13.07 0.42 0.000 0.200 0.000 0.00 467.400 6.14 -13.75 0.23 0.000 0.200 0.000 0.00 467.450 6.06 -14.24 0.17 0.000 0.200 0.000 0.00 467.500 5.85 -11.70 0.01 0.000 0.200 0.000 0.00 467.550 5.84 -12.56 0.21 0.000 0.200 0.000 0.00 467.600 5.55 -12.45 0.19 0.000 0.200 0.000 0.00 467.650 5.45 -12.41 0.35 0.000 0.200 0.000 0.00 467.700 5.41 -11.41 0.23 0.000 0.200 0.000 0.00 467.750 5.27 -10.27 0.51 0.000 0.200 0.000 0.00 467.800 5.37 -4.71 0.05 0.000 0.200 0.000 0.00 467.850 5.36 -2.81 -0.10 0.000 0.200 0.000 0.00 467.900 5.06 -3.13 -0.19 0.000 0.200 0.000 0.00 467.950 5.14 -5.99 -0.34 0.000 0.200 0.000 0.00 468.000 5.30 -6.22 -0.19 0.000 0.200 0.000 0.00 468.050 4.68 -3.75 -0.17 0.000 0.200 0.000 0.00 468.100 4.28 -5.08 -0.23 0.000 0.200 0.000 0.00 468.150 4.35 -2.51 -0.26 0.000 0.200 0.000 0.00 468.200 4.36 -11.41 0.08 0.000 0.200 0.000 0.00 468.250 4.60 -10.40 -0.31 0.000 0.200 0.000 0.00 468.300 4.82 -8.00 -0.15 0.000 0.200 0.000 0.00 468.350 4.90 -8.13 -0.18 0.000 0.200 0.000 0.00 468.400 4.95 -10.75 -0.29 0.000 0.200 0.000 0.00 468.450 5.09 -13.01 -0.66 0.000 0.200 0.000 0.00 468.500 4.71 -12.41 -0.41 0.000 0.200 0.000 0.00 468.550 4.69 -10.47 -0.12 0.000 0.200 0.000 0.00 468.600 4.55 -7.48 -0.26 0.000 0.200 0.000 0.00 468.650 4.30 -5.49 -0.46 0.000 0.200 0.000 0.00 468.700 4.24 -2.08 -0.32 0.000 0.200 0.000 0.00 468.750 4.40 -1.06 -0.26 0.000 0.200 0.000 0.00 468.800 4.33 -3.70 -0.39 0.000 0.200 0.000 0.00 468.850 4.30 -5.14 -0.21 0.000 0.200 0.000 0.00 468.900 4.56 -5.47 -0.09 0.000 0.200 0.000 0.00 468.950 4.50 -12.80 -0.01 0.000 0.200 0.000 0.00 469.000 4.62 -13.22 -0.08 0.000 0.200 0.000 0.00 469.050 4.53 -14.00 -0.34 0.000 0.200 0.000 0.00 469.100 4.54 -12.51 -0.14 0.000 0.200 0.000 0.00 469.150 4.39 -17.15 -0.12 0.000 0.200 0.000 0.00 469.200 4.51 -15.30 0.23 0.000 0.200 0.000 0.00 469.250 4.34 -8.56 0.05 0.000 0.200 0.000 0.00 469.300 4.35 -10.17 0.23 0.000 0.200 0.000 0.00 469.350 4.54 -10.63 0.37 0.000 0.200 0.000 0.00 469.400 4.16 -12.31 0.25 0.000 0.200 0.000 0.00 469.450 4.22 -8.13 -0.02 0.000 0.200 0.000 0.00 469.500 4.25 -2.65 0.09 0.000 0.200 0.000 0.00 469.550 4.40 -1.55 0.28 0.000 0.200 0.000 0.00 469.600 4.51 -4.07 0.54 0.000 0.200 0.000 0.00 469.650 4.35 -4.59 0.41 0.000 0.200 0.000 0.00 469.700 4.52 -8.51 0.20 0.000 0.200 0.000 0.00 469.750 4.49 -11.04 0.37 0.000 0.200 0.000 0.00 469.800 4.63 -9.55 0.15 0.000 0.200 0.000 0.00 469.850 4.75 -11.11 0.15 0.000 0.200 0.000 0.00 469.900 4.47 -3.22 0.11 0.000 0.200 0.000 0.00 469.950 4.40 -5.39 0.30 0.000 0.200 0.000 0.00 470.000 4.61 -7.88 0.57 0.000 0.200 0.000 0.00 470.050 4.94 -5.53 0.57 0.000 0.200 0.000 0.00 470.100 5.20 -8.99 0.49 0.000 0.200 0.000 0.00 470.150 5.56 -2.68 0.68 0.000 0.200 0.000 0.00 470.200 5.25 -1.99 0.43 0.000 0.200 0.000 0.00 470.250 5.47 -6.11 0.50 0.000 0.200 0.000 0.00 470.300 5.05 -4.71 0.58 0.000 0.200 0.000 0.00 470.350 4.88 -0.95 0.74 0.000 0.200 0.000 0.00 470.400 4.84 -3.13 0.95 0.000 0.200 0.000 0.00 470.450 5.10 -4.94 0.96 0.000 0.200 0.000 0.00 470.500 4.98 -1.93 0.88 0.000 0.200 0.000 0.00 470.550 4.99 -6.28 0.76 0.000 0.200 0.000 0.00 470.600 5.09 -7.38 0.66 0.000 0.200 0.000 0.00 470.650 5.32 -6.40 0.38 0.000 0.200 0.000 0.00 470.700 5.39 -8.87 0.09 0.000 0.200 0.000 0.00 470.750 5.46 -4.41 0.02 0.000 0.200 0.000 0.00 470.800 5.62 -5.65 0.31 0.000 0.200 0.000 0.00 470.850 5.69 -3.96 0.31 0.000 0.200 0.000 0.00 470.900 5.35 -4.10 0.09 0.000 0.200 0.000 0.00 470.950 5.37 -2.03 -0.07 0.000 0.200 0.000 0.00 471.000 5.01 -4.34 0.22 0.000 0.200 0.000 0.00 471.050 5.02 -6.45 0.12 0.000 0.200 0.000 0.00 471.100 5.14 -8.85 0.24 0.000 0.200 0.000 0.00 471.150 5.16 -7.51 0.46 0.000 0.200 0.000 0.00 471.200 5.53 -3.85 0.39 0.000 0.200 0.000 0.00 471.250 5.20 -3.64 0.48 0.000 0.200 0.000 0.00 471.300 5.54 -2.29 0.52 0.000 0.200 0.000 0.00 471.350 5.53 -0.99 0.47 0.000 0.200 0.000 0.00 471.400 5.38 -2.58 0.23 0.000 0.200 0.000 0.00 471.450 5.51 -1.53 0.29 0.000 0.200 0.000 0.00 471.500 5.63 -0.31 0.40 0.000 0.200 0.000 0.00 471.550 5.59 0.41 0.31 0.000 0.200 0.000 0.00 471.600 5.89 -1.24 0.22 0.000 0.200 0.000 0.00 471.650 5.51 -1.72 0.08 0.000 0.200 0.000 0.00 471.700 5.63 -1.62 0.24 0.000 0.200 0.000 0.00 471.750 6.09 -0.10 0.65 0.000 0.200 0.000 0.00 471.800 6.06 -1.58 0.33 0.000 0.200 0.000 0.00 471.850 6.12 -0.31 0.12 0.000 0.200 0.000 0.00 471.900 6.26 0.27 0.02 0.000 0.200 0.000 0.00 471.950 6.17 4.05 0.25 0.000 0.200 0.000 0.00 472.000 6.29 3.79 0.66 0.000 0.200 0.000 0.00 472.050 6.15 3.50 1.28 0.000 0.200 0.000 0.00 472.100 6.20 2.60 1.19 0.000 0.200 0.000 0.00 472.150 5.97 4.93 1.02 0.000 0.200 0.000 0.00 472.200 5.95 4.59 1.10 0.000 0.200 0.000 0.00 472.250 6.20 4.83 1.03 0.000 0.200 0.000 0.00 472.300 6.09 3.55 1.06 0.000 0.200 0.000 0.00 472.350 5.77 3.59 0.67 0.000 0.200 0.000 0.00 472.400 5.72 4.49 0.63 0.000 0.200 0.000 0.00 472.450 6.01 6.62 0.80 0.000 0.200 0.000 0.00 472.500 5.83 5.72 0.83 0.000 0.200 0.000 0.00 472.550 5.71 3.65 0.49 0.000 0.200 0.000 0.00 472.600 5.86 2.45 0.31 0.000 0.200 0.000 0.00 472.650 5.72 3.47 -0.14 0.000 0.200 0.000 0.00 472.700 5.68 5.64 -0.46 0.000 0.200 0.000 0.00 472.750 6.10 3.96 -0.71 0.000 0.200 0.000 0.00 472.800 6.03 4.60 -0.65 0.000 0.200 0.000 0.00 472.850 6.03 6.11 -0.37 0.000 0.200 0.000 0.00 472.900 6.37 5.36 -0.38 0.000 0.200 0.000 0.00 472.950 6.36 6.03 -0.56 0.000 0.200 0.000 0.00 473.000 6.01 4.33 -0.54 0.000 0.200 0.000 0.00 473.050 5.77 0.51 -0.70 0.000 0.200 0.000 0.00 473.100 5.76 5.82 -0.55 0.000 0.200 0.000 0.00 473.150 5.80 6.95 -0.38 0.000 0.200 0.000 0.00 473.200 5.89 11.06 -0.28 0.000 0.200 0.000 0.00 473.250 6.21 12.34 -0.35 0.000 0.200 0.000 0.00 473.300 6.35 9.60 -0.15 0.000 0.200 0.000 0.00 473.350 6.39 9.03 -0.09 0.000 0.200 0.000 0.00 473.400 6.20 8.69 -0.19 0.000 0.200 0.000 0.00 473.450 6.66 13.09 -0.25 0.000 0.200 0.000 0.00 473.500 6.52 15.78 0.19 0.000 0.200 0.000 0.00 473.550 6.68 9.97 0.55 0.000 0.200 0.000 0.00 473.600 6.85 6.94 0.20 0.000 0.200 0.000 0.00 473.650 6.47 6.12 0.29 0.000 0.200 0.000 0.00 473.700 6.52 4.65 0.81 0.000 0.200 0.000 0.00 473.750 6.23 5.23 0.38 0.000 0.200 0.000 0.00 473.800 6.34 6.68 0.21 0.000 0.200 0.000 0.00 473.850 6.34 8.05 0.20 0.000 0.200 0.000 0.00 473.900 6.45 9.36 0.18 0.000 0.200 0.000 0.00 473.950 6.51 4.02 0.02 0.000 0.200 0.000 0.00 474.000 6.56 2.97 -0.32 0.000 0.200 0.000 0.00 474.050 6.66 5.46 -0.15 0.000 0.200 0.000 0.00 474.100 6.62 7.41 0.17 0.000 0.200 0.000 0.00 474.150 6.45 6.02 0.19 0.000 0.200 0.000 0.00 474.200 6.37 9.06 0.22 0.000 0.200 0.000 0.00 474.250 6.11 13.51 0.40 0.000 0.200 0.000 0.00 474.300 6.07 12.65 0.18 0.000 0.200 0.000 0.00 474.350 6.22 10.93 0.21 0.000 0.200 0.000 0.00 474.400 6.36 9.26 0.46 0.000 0.200 0.000 0.00 474.450 6.17 7.20 0.70 0.000 0.200 0.000 0.00 474.500 5.92 8.40 0.65 0.000 0.200 0.000 0.00 474.550 5.91 8.91 0.52 0.000 0.200 0.000 0.00 474.600 5.87 10.53 0.38 0.000 0.200 0.000 0.00 474.650 6.21 11.04 0.33 0.000 0.200 0.000 0.00 474.700 6.13 12.70 0.32 0.000 0.200 0.000 0.00 474.750 5.96 10.33 0.12 0.000 0.200 0.000 0.00 474.800 6.05 8.38 0.02 0.000 0.200 0.000 0.00 474.850 6.15 9.85 0.05 0.000 0.200 0.000 0.00 474.900 6.04 6.38 0.10 0.000 0.200 0.000 0.00 474.950 5.65 8.12 -0.16 0.000 0.200 0.000 0.00 475.000 5.83 6.88 -0.02 0.000 0.200 0.000 0.00 475.050 5.60 7.25 0.02 0.000 0.200 0.000 0.00 475.100 5.84 8.46 -0.05 0.000 0.200 0.000 0.00 475.150 6.10 12.56 0.31 0.000 0.200 0.000 0.00 475.200 5.92 15.08 0.25 0.000 0.200 0.000 0.00 475.250 5.80 9.93 0.24 0.000 0.200 0.000 0.00 475.300 5.97 8.77 0.26 0.000 0.200 0.000 0.00 475.350 5.87 9.50 0.20 0.000 0.200 0.000 0.00 475.400 6.11 6.50 -0.02 0.000 0.200 0.000 0.00 475.450 5.94 7.12 -0.10 0.000 0.200 0.000 0.00 475.500 6.16 4.67 0.07 0.000 0.200 0.000 0.00 475.550 6.24 -0.11 -0.13 0.000 0.200 0.000 0.00 475.600 6.20 1.16 0.30 0.000 0.200 0.000 0.00 475.650 6.22 0.26 0.00 0.000 0.200 0.000 0.00 475.700 6.08 2.76 0.19 0.000 0.200 0.000 0.00 475.750 5.96 1.99 0.31 0.000 0.200 0.000 0.00 475.800 6.31 1.45 0.38 0.000 0.200 0.000 0.00 475.850 6.40 0.91 0.40 0.000 0.200 0.000 0.00 475.900 6.31 5.17 0.17 0.000 0.200 0.000 0.00 475.950 6.25 5.84 0.44 0.000 0.200 0.000 0.00 476.000 5.92 3.43 -0.02 0.000 0.200 0.000 0.00 476.050 6.07 3.85 0.34 0.000 0.200 0.000 0.00 476.100 6.09 0.35 0.38 0.000 0.200 0.000 0.00 476.150 5.82 -2.08 0.50 0.000 0.200 0.000 0.00 476.200 6.17 -1.21 0.60 0.000 0.200 0.000 0.00 476.250 6.22 -1.56 0.83 0.000 0.200 0.000 0.00 476.300 6.18 -3.09 1.30 0.000 0.200 0.000 0.00 476.350 6.28 -1.10 1.23 0.000 0.200 0.000 0.00 476.400 6.39 -2.04 0.84 0.000 0.200 0.000 0.00 476.450 6.33 0.65 0.65 0.000 0.200 0.000 0.00 476.500 6.23 -1.29 0.48 0.000 0.200 0.000 0.00 476.550 6.21 -7.06 0.82 0.000 0.200 0.000 0.00 476.600 6.27 -11.48 0.69 0.000 0.200 0.000 0.00 476.650 6.12 -10.99 0.92 0.000 0.200 0.000 0.00 476.700 6.16 -12.44 1.07 0.000 0.200 0.000 0.00 476.750 6.23 -11.48 0.97 0.000 0.200 0.000 0.00 476.800 6.44 -8.31 0.68 0.000 0.200 0.000 0.00 476.850 6.50 -3.79 0.48 0.000 0.200 0.000 0.00 476.900 6.69 -1.67 0.41 0.000 0.200 0.000 0.00 476.950 6.51 -1.44 0.16 0.000 0.200 0.000 0.00 477.000 6.52 -3.75 0.66 0.000 0.200 0.000 0.00 477.050 6.34 -7.90 0.64 0.000 0.200 0.000 0.00 477.100 6.37 -8.52 0.61 0.000 0.200 0.000 0.00 477.150 6.70 -8.55 0.37 0.000 0.200 0.000 0.00 477.200 6.50 -9.82 0.03 0.000 0.200 0.000 0.00 477.250 6.46 -11.05 0.43 0.000 0.200 0.000 0.00 477.300 6.67 -12.01 0.71 0.000 0.200 0.000 0.00 477.350 6.58 -10.31 0.41 0.000 0.200 0.000 0.00 477.400 6.80 -7.04 0.49 0.000 0.200 0.000 0.00 477.450 7.00 -5.33 0.73 0.000 0.200 0.000 0.00 477.500 7.11 -2.79 0.85 0.000 0.200 0.000 0.00 477.550 7.06 -6.78 0.58 0.000 0.200 0.000 0.00 477.600 6.93 -6.86 0.47 0.000 0.200 0.000 0.00 477.650 6.85 -8.65 0.23 0.000 0.200 0.000 0.00 477.700 7.30 -11.56 0.14 0.000 0.200 0.000 0.00 477.750 6.94 -9.04 -0.36 0.000 0.200 0.000 0.00 477.800 6.76 -8.90 -0.22 0.000 0.200 0.000 0.00 477.850 6.53 -10.11 -0.13 0.000 0.200 0.000 0.00 477.900 6.59 -7.70 -0.28 0.000 0.200 0.000 0.00 477.950 6.34 -6.08 -0.40 0.000 0.200 0.000 0.00 478.000 6.52 -4.01 -0.29 0.000 0.200 0.000 0.00 478.050 6.37 -2.79 -0.40 0.000 0.200 0.000 0.00 478.100 6.59 -0.32 -0.81 0.000 0.200 0.000 0.00 478.150 6.62 -3.15 -0.91 0.000 0.200 0.000 0.00 478.200 6.94 -4.82 -1.13 0.000 0.200 0.000 0.00 478.250 6.97 -7.19 -0.76 0.000 0.200 0.000 0.00 478.300 7.13 -8.71 -0.48 0.000 0.200 0.000 0.00 478.350 7.00 -8.80 -0.35 0.000 0.200 0.000 0.00 478.400 6.87 -11.38 -0.12 0.000 0.200 0.000 0.00 478.450 6.69 -11.16 0.09 0.000 0.200 0.000 0.00 478.500 6.73 -7.59 0.17 0.000 0.200 0.000 0.00 478.550 6.79 -7.92 0.19 0.000 0.200 0.000 0.00 478.600 6.87 -10.06 -0.17 0.000 0.200 0.000 0.00 478.650 6.95 -10.85 -0.07 0.000 0.200 0.000 0.00 478.700 6.88 -11.55 -0.25 0.000 0.200 0.000 0.00 478.750 7.21 -11.23 -0.30 0.000 0.200 0.000 0.00 478.800 7.48 -10.35 -0.22 0.000 0.200 0.000 0.00 478.850 7.14 -10.52 -0.14 0.000 0.200 0.000 0.00 478.900 7.00 -8.52 -0.33 0.000 0.200 0.000 0.00 478.950 7.09 -10.49 -0.44 0.000 0.200 0.000 0.00 479.000 7.17 -8.13 -0.22 0.000 0.200 0.000 0.00 479.050 7.26 -7.08 -0.28 0.000 0.200 0.000 0.00 479.100 7.37 -7.80 -0.23 0.000 0.200 0.000 0.00 479.150 7.25 -9.03 -0.27 0.000 0.200 0.000 0.00 479.200 7.40 -11.31 -0.12 0.000 0.200 0.000 0.00 479.250 7.28 -15.20 0.06 0.000 0.200 0.000 0.00 479.300 7.20 -12.66 -0.11 0.000 0.200 0.000 0.00 479.350 7.19 -11.24 -0.29 0.000 0.200 0.000 0.00 479.400 7.32 -10.06 -0.37 0.000 0.200 0.000 0.00 479.450 7.30 -9.78 -0.52 0.000 0.200 0.000 0.00 479.500 7.40 -11.53 -0.30 0.000 0.200 0.000 0.00 479.550 7.46 -10.52 -0.51 0.000 0.200 0.000 0.00 479.600 7.53 -11.38 0.05 0.000 0.200 0.000 0.00 479.650 7.76 -11.89 -0.23 0.000 0.200 0.000 0.00 479.700 7.65 -14.14 -0.34 0.000 0.200 0.000 0.00 479.750 7.28 -13.69 -0.58 0.000 0.200 0.000 0.00 479.800 7.39 -12.55 -0.39 0.000 0.200 0.000 0.00 479.850 7.44 -10.82 -0.73 0.000 0.200 0.000 0.00 479.900 7.52 -11.50 -1.15 0.000 0.200 0.000 0.00 479.950 7.59 -12.17 -1.29 0.000 0.200 0.000 0.00 480.000 7.35 -10.70 -1.14 0.000 0.200 0.000 0.00 480.050 7.53 -10.32 -1.01 0.000 0.200 0.000 0.00 480.100 7.58 -9.48 -0.73 0.000 0.200 0.000 0.00 480.150 7.17 -11.60 -0.58 0.000 0.200 0.000 0.00 480.200 7.09 -11.38 -0.85 0.000 0.200 0.000 0.00 480.250 7.11 -13.84 -0.48 0.000 0.200 0.000 0.00 480.300 7.14 -12.00 -0.66 0.000 0.200 0.000 0.00 480.350 7.08 -10.27 -0.45 0.000 0.200 0.000 0.00 480.400 7.21 -8.82 -0.58 0.000 0.200 0.000 0.00 480.450 7.31 -4.36 -0.58 0.000 0.200 0.000 0.00 480.500 7.20 -4.95 -0.36 0.000 0.200 0.000 0.00 480.550 6.72 -4.85 -0.08 0.000 0.200 0.000 0.00 480.600 6.54 -4.01 0.14 0.000 0.200 0.000 0.00 480.650 6.43 -6.31 0.02 0.000 0.200 0.000 0.00 480.700 6.61 -9.11 0.13 0.000 0.200 0.000 0.00 480.750 6.59 -8.49 0.48 0.000 0.200 0.000 0.00 480.800 6.60 -8.36 0.48 0.000 0.200 0.000 0.00 480.850 6.88 -9.38 0.21 0.000 0.200 0.000 0.00 480.900 6.66 -9.54 0.26 0.000 0.200 0.000 0.00 480.950 6.55 -8.73 0.02 0.000 0.200 0.000 0.00 481.000 6.60 -7.14 -0.08 0.000 0.200 0.000 0.00 481.050 7.00 -11.43 -0.19 0.000 0.200 0.000 0.00 481.100 7.16 -15.29 -0.06 0.000 0.200 0.000 0.00 481.150 7.15 -14.89 -0.22 0.000 0.200 0.000 0.00 481.200 7.03 -10.54 -0.34 0.000 0.200 0.000 0.00 481.250 7.03 -12.70 0.03 0.000 0.200 0.000 0.00 481.300 7.04 -13.46 0.21 0.000 0.200 0.000 0.00 481.350 7.01 -8.48 0.17 0.000 0.200 0.000 0.00 481.400 6.80 -7.78 -0.06 0.000 0.200 0.000 0.00 481.450 6.40 -11.37 -0.45 0.000 0.200 0.000 0.00 481.500 6.61 -13.13 -0.79 0.000 0.200 0.000 0.00 481.550 6.59 -15.65 -0.56 0.000 0.200 0.000 0.00 481.600 6.59 -14.11 -0.59 0.000 0.200 0.000 0.00 481.650 6.58 -14.25 -0.75 0.000 0.200 0.000 0.00 481.700 6.83 -12.14 -0.75 0.000 0.200 0.000 0.00 481.750 6.94 -13.22 -0.37 0.000 0.200 0.000 0.00 481.800 7.13 -13.97 -0.15 0.000 0.200 0.000 0.00 481.850 6.92 -13.88 0.21 0.000 0.200 0.000 0.00 481.900 6.86 -14.64 -0.07 0.000 0.200 0.000 0.00 481.950 7.11 -15.82 0.06 0.000 0.200 0.000 0.00 482.000 7.14 -13.88 0.15 0.000 0.200 0.000 0.00 482.050 7.26 -12.77 0.11 0.000 0.200 0.000 0.00 482.100 7.34 -9.89 -0.18 0.000 0.200 0.000 0.00 482.150 7.49 -7.56 -0.30 0.000 0.200 0.000 0.00 482.200 7.25 -9.68 0.22 0.000 0.200 0.000 0.00 482.250 7.33 -9.55 -0.27 0.000 0.200 0.000 0.00 482.300 7.08 -7.95 -0.13 0.000 0.200 0.000 0.00 482.350 6.87 -5.47 0.05 0.000 0.200 0.000 0.00 482.400 6.81 -8.81 0.29 0.000 0.200 0.000 0.00 482.450 6.96 -10.67 0.31 0.000 0.200 0.000 0.00 482.500 6.69 -8.86 0.20 0.000 0.200 0.000 0.00 482.550 6.82 -7.56 0.25 0.000 0.200 0.000 0.00 482.600 6.70 -9.04 -0.14 0.000 0.200 0.000 0.00 482.650 6.80 -10.93 -0.40 0.000 0.200 0.000 0.00 482.700 6.97 -9.46 -0.45 0.000 0.200 0.000 0.00 482.750 6.79 -10.90 -0.37 0.000 0.200 0.000 0.00 482.800 6.53 -11.53 0.15 0.000 0.200 0.000 0.00 482.850 6.56 -10.99 0.25 0.000 0.200 0.000 0.00 482.900 6.39 -10.20 0.22 0.000 0.200 0.000 0.00 482.950 6.40 -13.65 0.58 0.000 0.200 0.000 0.00 483.000 6.24 -13.36 0.80 0.000 0.200 0.000 0.00 483.050 6.32 -12.16 0.85 0.000 0.200 0.000 0.00 483.100 6.46 -13.11 0.63 0.000 0.200 0.000 0.00 483.150 6.76 -15.84 0.71 0.000 0.200 0.000 0.00 483.200 6.87 -16.74 0.98 0.000 0.200 0.000 0.00 483.250 7.01 -14.55 0.75 0.000 0.200 0.000 0.00 483.300 7.00 -16.06 0.69 0.000 0.200 0.000 0.00 483.350 6.60 -13.58 0.72 0.000 0.200 0.000 0.00 483.400 6.83 -12.25 1.04 0.000 0.200 0.000 0.00 483.450 6.77 -11.58 1.02 0.000 0.200 0.000 0.00 483.500 6.61 -11.54 0.92 0.000 0.200 0.000 0.00 483.550 6.49 -13.04 0.97 0.000 0.200 0.000 0.00 483.600 6.45 -10.45 0.80 0.000 0.200 0.000 0.00 483.650 6.18 -13.12 0.89 0.000 0.200 0.000 0.00 483.700 6.24 -9.00 0.91 0.000 0.200 0.000 0.00 483.750 6.12 -5.02 0.56 0.000 0.200 0.000 0.00 483.800 6.43 -6.09 0.59 0.000 0.200 0.000 0.00 483.850 6.33 -3.13 0.78 0.000 0.200 0.000 0.00 483.900 6.50 0.08 1.00 0.000 0.200 0.000 0.00 483.950 6.55 -2.60 0.43 0.000 0.200 0.000 0.00 484.000 6.19 -2.14 0.81 0.000 0.200 0.000 0.00 484.050 6.39 -0.88 0.51 0.000 0.200 0.000 0.00 484.100 6.41 -2.13 0.30 0.000 0.200 0.000 0.00 484.150 6.52 -2.51 -0.04 0.000 0.200 0.000 0.00 484.200 6.56 -3.80 -0.34 0.000 0.200 0.000 0.00 484.250 6.24 -7.01 -0.18 0.000 0.200 0.000 0.00 484.300 6.38 -8.17 0.03 0.000 0.200 0.000 0.00 484.350 6.58 -11.39 0.29 0.000 0.200 0.000 0.00 484.400 6.49 -10.89 0.18 0.000 0.200 0.000 0.00 484.450 6.44 -7.47 0.12 0.000 0.200 0.000 0.00 484.500 6.17 -5.95 -0.02 0.000 0.200 0.000 0.00 484.550 6.20 -6.23 0.12 0.000 0.200 0.000 0.00 484.600 6.61 -5.47 0.26 0.000 0.200 0.000 0.00 484.650 6.64 -4.81 -0.43 0.000 0.200 0.000 0.00 484.700 6.79 -5.17 0.11 0.000 0.200 0.000 0.00 484.750 6.71 -5.55 0.06 0.000 0.200 0.000 0.00 484.800 6.79 -5.69 0.02 0.000 0.200 0.000 0.00 484.850 6.67 -7.74 0.21 0.000 0.200 0.000 0.00 484.900 6.94 -7.85 0.29 0.000 0.200 0.000 0.00 484.950 6.99 -8.74 0.14 0.000 0.200 0.000 0.00 485.000 6.89 -9.66 0.05 0.000 0.200 0.000 0.00 485.050 6.78 -11.28 0.05 0.000 0.200 0.000 0.00 485.100 6.78 -9.00 0.09 0.000 0.200 0.000 0.00 485.150 6.59 -5.85 -0.18 0.000 0.200 0.000 0.00 485.200 6.87 -5.42 -0.40 0.000 0.200 0.000 0.00 485.250 6.71 -6.11 -0.07 0.000 0.200 0.000 0.00 485.300 6.81 -4.70 -0.25 0.000 0.200 0.000 0.00 485.350 6.75 -3.64 0.10 0.000 0.200 0.000 0.00 485.400 6.29 -3.64 0.03 0.000 0.200 0.000 0.00 485.450 6.32 -3.94 -0.18 0.000 0.200 0.000 0.00 485.500 6.31 -6.37 -0.41 0.000 0.200 0.000 0.00 485.550 6.29 -4.73 -0.14 0.000 0.200 0.000 0.00 485.600 6.24 -3.31 0.11 0.000 0.200 0.000 0.00 485.650 5.88 -3.65 0.47 0.000 0.200 0.000 0.00 485.700 5.80 -6.24 0.34 0.000 0.200 0.000 0.00 485.750 5.79 -8.45 0.41 0.000 0.200 0.000 0.00 485.800 6.00 -9.95 0.14 0.000 0.200 0.000 0.00 485.850 6.10 -7.77 0.45 0.000 0.200 0.000 0.00 485.900 5.79 -10.63 0.46 0.000 0.200 0.000 0.00 485.950 5.79 -13.02 0.09 0.000 0.200 0.000 0.00 486.000 5.98 -10.54 0.08 0.000 0.200 0.000 0.00 486.050 6.13 -8.93 0.04 0.000 0.200 0.000 0.00 486.100 6.74 -9.75 -0.11 0.000 0.200 0.000 0.00 486.150 6.47 -10.67 -0.20 0.000 0.200 0.000 0.00 486.200 6.26 -10.32 -0.25 0.000 0.200 0.000 0.00 486.250 6.39 -9.27 -0.29 0.000 0.200 0.000 0.00 486.300 6.39 -9.52 -0.07 0.000 0.200 0.000 0.00 486.350 6.79 -8.63 0.21 0.000 0.200 0.000 0.00 486.400 6.75 -9.04 0.14 0.000 0.200 0.000 0.00 486.450 6.59 -10.00 0.27 0.000 0.200 0.000 0.00 486.500 6.20 -10.61 0.30 0.000 0.200 0.000 0.00 486.550 6.03 -15.53 0.38 0.000 0.200 0.000 0.00 486.600 6.40 -20.08 0.39 0.000 0.200 0.000 0.00 486.650 6.69 -19.55 0.07 0.000 0.200 0.000 0.00 486.700 6.93 -17.68 0.18 0.000 0.200 0.000 0.00 486.750 6.87 -15.49 0.29 0.000 0.200 0.000 0.00 486.800 6.97 -16.32 0.16 0.000 0.200 0.000 0.00 486.850 6.84 -17.07 0.30 0.000 0.200 0.000 0.00 486.900 6.79 -13.80 0.47 0.000 0.200 0.000 0.00 486.950 6.65 -11.17 0.50 0.000 0.200 0.000 0.00 487.000 6.89 -12.84 0.49 0.000 0.200 0.000 0.00 487.050 7.12 -13.68 0.42 0.000 0.200 0.000 0.00 487.100 6.73 -14.34 0.43 0.000 0.200 0.000 0.00 487.150 6.71 -12.70 0.46 0.000 0.200 0.000 0.00 487.200 6.98 -12.32 0.18 0.000 0.200 0.000 0.00 487.250 7.35 -11.47 -0.14 0.000 0.200 0.000 0.00 487.300 7.37 -9.97 -0.19 0.000 0.200 0.000 0.00 487.350 7.12 -10.11 -0.22 0.000 0.200 0.000 0.00 487.400 7.04 -12.16 0.08 0.000 0.200 0.000 0.00 487.450 6.74 -9.51 0.24 0.000 0.200 0.000 0.00 487.500 6.73 -10.10 0.27 0.000 0.200 0.000 0.00 487.550 6.84 -9.98 0.33 0.000 0.200 0.000 0.00 487.600 6.84 -13.03 0.32 0.000 0.200 0.000 0.00 487.650 6.88 -13.43 0.16 0.000 0.200 0.000 0.00 487.700 7.06 -14.35 -0.34 0.000 0.200 0.000 0.00 487.750 6.91 -14.33 -0.51 0.000 0.200 0.000 0.00 487.800 6.62 -17.64 0.04 0.000 0.200 0.000 0.00 487.850 6.62 -17.42 0.11 0.000 0.200 0.000 0.00 487.900 6.51 -13.74 0.09 0.000 0.200 0.000 0.00 487.950 6.73 -13.21 -0.07 0.000 0.200 0.000 0.00 488.000 6.68 -10.15 -0.33 0.000 0.200 0.000 0.00 488.050 6.89 -7.07 -0.24 0.000 0.200 0.000 0.00 488.100 6.73 -11.42 -0.19 0.000 0.200 0.000 0.00 488.150 6.88 -11.81 -0.19 0.000 0.200 0.000 0.00 488.200 7.05 -10.97 -0.28 0.000 0.200 0.000 0.00 488.250 6.68 -12.42 -0.51 0.000 0.200 0.000 0.00 488.300 6.60 -15.16 -0.22 0.000 0.200 0.000 0.00 488.350 6.57 -12.86 -0.08 0.000 0.200 0.000 0.00 488.400 6.46 -14.43 0.01 0.000 0.200 0.000 0.00 488.450 6.82 -13.16 0.01 0.000 0.200 0.000 0.00 488.500 6.88 -13.29 0.12 0.000 0.200 0.000 0.00 488.550 7.09 -14.46 0.03 0.000 0.200 0.000 0.00 488.600 7.00 -14.82 0.04 0.000 0.200 0.000 0.00 488.650 6.94 -12.01 -0.17 0.000 0.200 0.000 0.00 488.700 7.17 -12.47 -0.43 0.000 0.200 0.000 0.00 488.750 7.24 -12.42 -0.46 0.000 0.200 0.000 0.00 488.800 7.35 -9.85 -0.18 0.000 0.200 0.000 0.00 488.850 7.62 -10.25 0.16 0.000 0.200 0.000 0.00 488.900 7.67 -8.04 0.12 0.000 0.200 0.000 0.00 488.950 7.30 -7.21 0.26 0.000 0.200 0.000 0.00 489.000 7.36 -8.41 0.17 0.000 0.200 0.000 0.00 489.050 7.44 -8.18 -0.02 0.000 0.200 0.000 0.00 489.100 7.57 -11.38 0.25 0.000 0.200 0.000 0.00 489.150 7.43 -14.14 0.43 0.000 0.200 0.000 0.00 489.200 7.68 -12.95 0.43 0.000 0.200 0.000 0.00 489.250 7.78 -14.23 0.87 0.000 0.200 0.000 0.00 489.300 7.86 -16.75 1.02 0.000 0.200 0.000 0.00 489.350 8.17 -18.49 0.75 0.000 0.200 0.000 0.00 489.400 8.45 -19.48 0.71 0.000 0.200 0.000 0.00 489.450 8.22 -20.01 0.68 0.000 0.200 0.000 0.00 489.500 8.51 -19.84 0.86 0.000 0.200 0.000 0.00 489.550 8.29 -21.97 0.53 0.000 0.200 0.000 0.00 489.600 8.30 -22.73 1.01 0.000 0.200 0.000 0.00 489.650 8.62 -22.99 1.26 0.000 0.200 0.000 0.00 489.700 8.82 -20.60 1.23 0.000 0.200 0.000 0.00 489.750 8.73 -19.89 1.33 0.000 0.200 0.000 0.00 489.800 8.72 -21.16 1.08 0.000 0.200 0.000 0.00 489.850 8.65 -20.40 0.94 0.000 0.200 0.000 0.00 489.900 8.44 -18.36 1.11 0.000 0.200 0.000 0.00 489.950 8.19 -15.47 1.00 0.000 0.200 0.000 0.00 490.000 8.34 -14.63 0.75 0.000 0.200 0.000 0.00 490.050 8.44 -15.49 0.61 0.000 0.200 0.000 0.00 490.100 8.65 -15.63 0.69 0.000 0.200 0.000 0.00 490.150 8.77 -14.94 0.61 0.000 0.200 0.000 0.00 490.200 8.83 -15.38 0.66 0.000 0.200 0.000 0.00 490.250 8.46 -15.31 1.04 0.000 0.200 0.000 0.00 490.300 8.31 -15.64 0.78 0.000 0.200 0.000 0.00 490.350 8.57 -14.47 0.87 0.000 0.200 0.000 0.00 490.400 8.26 -14.05 1.01 0.000 0.200 0.000 0.00 490.450 8.20 -11.87 1.20 0.000 0.200 0.000 0.00 490.500 8.04 -10.88 1.41 0.000 0.200 0.000 0.00 490.550 8.26 -13.21 1.47 0.000 0.200 0.000 0.00 490.600 8.51 -12.57 1.33 0.000 0.200 0.000 0.00 490.650 8.38 -12.47 1.05 0.000 0.200 0.000 0.00 490.700 8.08 -12.43 0.69 0.000 0.200 0.000 0.00 490.750 8.28 -12.93 0.53 0.000 0.200 0.000 0.00 490.800 8.19 -15.59 0.95 0.000 0.200 0.000 0.00 490.850 8.28 -16.77 1.04 0.000 0.200 0.000 0.00 490.900 8.37 -19.53 0.63 0.000 0.200 0.000 0.00 490.950 8.64 -19.53 0.66 0.000 0.200 0.000 0.00 491.000 8.69 -20.80 0.94 0.000 0.200 0.000 0.00 491.050 8.40 -22.89 1.02 0.000 0.200 0.000 0.00 491.100 8.37 -21.95 0.67 0.000 0.200 0.000 0.00 491.150 8.54 -23.12 0.58 0.000 0.200 0.000 0.00 491.200 8.78 -23.39 0.87 0.000 0.200 0.000 0.00 491.250 8.69 -20.23 0.53 0.000 0.200 0.000 0.00 491.300 8.85 -20.37 0.89 0.000 0.200 0.000 0.00 491.350 9.04 -22.65 0.64 0.000 0.200 0.000 0.00 491.400 9.49 -22.11 1.22 0.000 0.200 0.000 0.00 491.450 9.41 -21.49 1.27 0.000 0.200 0.000 0.00 491.500 9.55 -22.41 1.10 0.000 0.200 0.000 0.00 491.550 9.71 -21.01 1.25 0.000 0.200 0.000 0.00 491.600 9.77 -19.56 1.11 0.000 0.200 0.000 0.00 491.650 9.48 -17.88 0.94 0.000 0.200 0.000 0.00 491.700 9.20 -18.68 0.87 0.000 0.200 0.000 0.00 491.750 8.89 -19.61 0.67 0.000 0.200 0.000 0.00 491.800 8.95 -18.89 0.49 0.000 0.200 0.000 0.00 491.850 8.74 -18.86 0.22 0.000 0.200 0.000 0.00 491.900 8.91 -18.29 0.30 0.000 0.200 0.000 0.00 491.950 9.37 -16.89 0.36 0.000 0.200 0.000 0.00 492.000 9.34 -17.00 0.49 0.000 0.200 0.000 0.00 492.050 9.22 -17.62 0.39 0.000 0.200 0.000 0.00 492.100 9.31 -20.04 0.35 0.000 0.200 0.000 0.00 492.150 9.14 -20.57 0.36 0.000 0.200 0.000 0.00 492.200 9.12 -23.16 0.21 0.000 0.200 0.000 0.00 492.250 9.11 -22.97 0.45 0.000 0.200 0.000 0.00 492.300 9.23 -23.82 0.23 0.000 0.200 0.000 0.00 492.350 9.28 -22.35 0.16 0.000 0.200 0.000 0.00 492.400 9.18 -21.59 0.10 0.000 0.200 0.000 0.00 492.450 9.16 -22.26 0.05 0.000 0.200 0.000 0.00 492.500 8.88 -21.39 0.10 0.000 0.200 0.000 0.00 492.550 8.67 -18.98 -0.03 0.000 0.200 0.000 0.00 492.600 8.66 -18.04 -0.28 0.000 0.200 0.000 0.00 492.650 8.63 -20.18 -0.10 0.000 0.200 0.000 0.00 492.700 8.46 -19.92 0.15 0.000 0.200 0.000 0.00 492.750 8.27 -20.25 0.55 0.000 0.200 0.000 0.00 492.800 8.22 -20.47 0.49 0.000 0.200 0.000 0.00 492.850 8.02 -20.63 0.91 0.000 0.200 0.000 0.00 492.900 7.72 -19.89 0.74 0.000 0.200 0.000 0.00 492.950 7.85 -19.05 0.63 0.000 0.200 0.000 0.00 493.000 7.81 -17.72 0.46 0.000 0.200 0.000 0.00 493.050 7.91 -21.24 0.39 0.000 0.200 0.000 0.00 493.100 7.46 -18.03 0.05 0.000 0.200 0.000 0.00 493.150 7.45 -12.09 0.07 0.000 0.200 0.000 0.00 493.200 7.61 -12.09 -0.10 0.000 0.200 0.000 0.00 493.250 7.70 -13.63 -0.23 0.000 0.200 0.000 0.00 493.300 7.76 -14.35 -0.17 0.000 0.200 0.000 0.00 493.350 7.97 -11.60 -0.49 0.000 0.200 0.000 0.00 493.400 7.80 -9.76 -0.10 0.000 0.200 0.000 0.00 493.450 7.55 -10.24 -0.16 0.000 0.200 0.000 0.00 493.500 7.60 -8.71 -0.48 0.000 0.200 0.000 0.00 493.550 7.54 -6.36 -0.43 0.000 0.200 0.000 0.00 493.600 7.27 -7.24 -0.49 0.000 0.200 0.000 0.00 493.650 7.38 -6.16 -0.48 0.000 0.200 0.000 0.00 493.700 7.54 -7.79 -0.17 0.000 0.200 0.000 0.00 493.750 7.38 -9.73 0.06 0.000 0.200 0.000 0.00 493.800 7.25 -10.66 0.01 0.000 0.200 0.000 0.00 493.850 7.41 -8.29 -0.06 0.000 0.200 0.000 0.00 493.900 7.44 -10.48 0.00 0.000 0.200 0.000 0.00 493.950 7.52 -5.79 0.11 0.000 0.200 0.000 0.00 494.000 7.56 -4.09 0.13 0.000 0.200 0.000 0.00 494.050 7.61 -7.47 -0.20 0.000 0.200 0.000 0.00 494.100 7.56 -4.08 -0.15 0.000 0.200 0.000 0.00 494.150 7.21 -3.93 -0.22 0.000 0.200 0.000 0.00 494.200 7.19 -6.12 -0.56 0.000 0.200 0.000 0.00 494.250 6.90 -7.14 -0.63 0.000 0.200 0.000 0.00 494.300 7.20 -10.14 -0.18 0.000 0.200 0.000 0.00 494.350 7.22 -9.77 -0.36 0.000 0.200 0.000 0.00 494.400 6.98 -11.65 -0.42 0.000 0.200 0.000 0.00 494.450 7.00 -14.93 -0.42 0.000 0.200 0.000 0.00 494.500 6.68 -17.43 -0.32 0.000 0.200 0.000 0.00 494.550 6.56 -17.63 -0.17 0.000 0.200 0.000 0.00 494.600 6.60 -15.66 -0.08 0.000 0.200 0.000 0.00 494.650 6.98 -17.12 -0.40 0.000 0.200 0.000 0.00 494.700 7.15 -15.34 -0.62 0.000 0.200 0.000 0.00 494.750 7.26 -16.78 -0.28 0.000 0.200 0.000 0.00 494.800 7.55 -20.54 -0.46 0.000 0.200 0.000 0.00 494.850 7.49 -19.35 -0.16 0.000 0.200 0.000 0.00 494.900 7.54 -20.13 0.23 0.000 0.200 0.000 0.00 494.950 7.70 -16.96 0.42 0.000 0.200 0.000 0.00 495.000 7.99 -17.88 0.43 0.000 0.200 0.000 0.00 495.050 8.03 -18.15 0.66 0.000 0.200 0.000 0.00 495.100 7.88 -17.87 0.72 0.000 0.200 0.000 0.00 495.150 7.99 -15.25 0.28 0.000 0.200 0.000 0.00 495.200 8.35 -12.83 0.31 0.000 0.200 0.000 0.00 495.250 8.68 -14.22 0.34 0.000 0.200 0.000 0.00 495.300 8.28 -15.96 0.09 0.000 0.200 0.000 0.00 495.350 8.10 -17.12 -0.38 0.000 0.200 0.000 0.00 495.400 7.77 -14.31 -0.20 0.000 0.200 0.000 0.00 495.450 7.77 -18.07 -0.24 0.000 0.200 0.000 0.00 495.500 7.71 -20.33 -0.60 0.000 0.200 0.000 0.00 495.550 7.35 -19.66 -0.67 0.000 0.200 0.000 0.00 495.600 7.48 -18.78 -0.89 0.000 0.200 0.000 0.00 495.650 7.29 -20.92 -0.99 0.000 0.200 0.000 0.00 495.700 7.39 -24.77 -0.94 0.000 0.200 0.000 0.00 495.750 7.66 -23.69 -0.94 0.000 0.200 0.000 0.00 495.800 7.93 -25.35 -1.02 0.000 0.200 0.000 0.00 495.850 8.00 -27.03 -1.03 0.000 0.200 0.000 0.00 495.900 7.65 -24.73 -0.88 0.000 0.200 0.000 0.00 495.950 7.59 -23.66 -1.23 0.000 0.200 0.000 0.00 496.000 7.27 -23.15 -1.25 0.000 0.200 0.000 0.00 496.050 7.29 -19.37 -1.08 0.000 0.200 0.000 0.00 496.100 7.11 -22.94 -0.70 0.000 0.200 0.000 0.00 496.150 6.97 -20.89 -0.42 0.000 0.200 0.000 0.00 496.200 7.09 -21.86 -0.51 0.000 0.200 0.000 0.00 496.250 7.39 -23.54 -0.52 0.000 0.200 0.000 0.00 496.300 7.34 -22.23 -0.49 0.000 0.200 0.000 0.00 496.350 7.31 -23.61 -0.69 0.000 0.200 0.000 0.00 496.400 7.29 -21.91 -0.66 0.000 0.200 0.000 0.00 496.450 7.37 -22.22 -0.67 0.000 0.200 0.000 0.00 496.500 7.49 -20.11 -0.35 0.000 0.200 0.000 0.00 496.550 7.34 -20.64 0.49 0.000 0.200 0.000 0.00 496.600 7.27 -21.13 0.62 0.000 0.200 0.000 0.00 496.650 7.21 -18.93 0.79 0.000 0.200 0.000 0.00 496.700 7.43 -19.01 0.52 0.000 0.200 0.000 0.00 496.750 7.59 -16.47 0.56 0.000 0.200 0.000 0.00 496.800 7.94 -15.85 0.72 0.000 0.200 0.000 0.00 496.850 7.98 -16.63 0.88 0.000 0.200 0.000 0.00 496.900 8.23 -17.99 0.98 0.000 0.200 0.000 0.00 496.950 8.10 -19.26 0.46 0.000 0.200 0.000 0.00 497.000 8.25 -20.07 0.84 0.000 0.200 0.000 0.00 497.050 8.19 -18.85 0.87 0.000 0.200 0.000 0.00 497.100 8.17 -18.09 0.93 0.000 0.200 0.000 0.00 497.150 8.08 -15.86 0.85 0.000 0.200 0.000 0.00 497.200 8.18 -16.68 0.11 0.000 0.200 0.000 0.00 497.250 8.28 -18.09 0.07 0.000 0.200 0.000 0.00 497.300 8.41 -19.41 0.31 0.000 0.200 0.000 0.00 497.350 8.08 -18.13 0.44 0.000 0.200 0.000 0.00 497.400 7.95 -19.26 0.34 0.000 0.200 0.000 0.00 497.450 7.96 -21.68 0.84 0.000 0.200 0.000 0.00 497.500 7.57 -21.44 0.86 0.000 0.200 0.000 0.00 497.550 7.19 -21.56 0.87 0.000 0.200 0.000 0.00 497.600 7.15 -25.49 0.80 0.000 0.200 0.000 0.00 497.650 7.62 -25.63 0.79 0.000 0.200 0.000 0.00 497.700 7.50 -20.85 0.59 0.000 0.200 0.000 0.00 497.750 7.26 -17.86 0.12 0.000 0.200 0.000 0.00 497.800 6.93 -19.38 0.40 0.000 0.200 0.000 0.00 497.850 7.08 -20.98 0.71 0.000 0.200 0.000 0.00 497.900 7.42 -21.81 1.00 0.000 0.200 0.000 0.00 497.950 7.75 -21.82 0.86 0.000 0.200 0.000 0.00 498.000 7.82 -23.05 0.88 0.000 0.200 0.000 0.00 498.050 7.93 -21.59 1.05 0.000 0.200 0.000 0.00 498.100 7.84 -19.38 1.32 0.000 0.200 0.000 0.00 498.150 7.74 -18.37 1.09 0.000 0.200 0.000 0.00 498.200 7.50 -16.29 1.10 0.000 0.200 0.000 0.00 498.250 7.31 -12.19 0.90 0.000 0.200 0.000 0.00 498.300 7.00 -13.46 0.87 0.000 0.200 0.000 0.00 498.350 7.02 -17.48 1.04 0.000 0.200 0.000 0.00 498.400 6.84 -17.87 1.25 0.000 0.200 0.000 0.00 498.450 6.51 -14.72 0.79 0.000 0.200 0.000 0.00 498.500 6.54 -14.11 0.90 0.000 0.200 0.000 0.00 498.550 6.87 -14.36 0.71 0.000 0.200 0.000 0.00 498.600 7.09 -16.95 1.10 0.000 0.200 0.000 0.00 498.650 6.72 -16.81 1.01 0.000 0.200 0.000 0.00 498.700 6.79 -17.14 0.67 0.000 0.200 0.000 0.00 498.750 6.73 -13.99 0.50 0.000 0.200 0.000 0.00 498.800 6.37 -14.10 0.79 0.000 0.200 0.000 0.00 498.850 6.45 -17.16 1.02 0.000 0.200 0.000 0.00 498.900 6.81 -16.60 0.85 0.000 0.200 0.000 0.00 498.950 6.99 -13.47 0.75 0.000 0.200 0.000 0.00 499.000 7.37 -9.33 0.84 0.000 0.200 0.000 0.00 499.050 7.19 -10.16 0.77 0.000 0.200 0.000 0.00 499.100 7.00 -12.24 0.60 0.000 0.200 0.000 0.00 499.150 6.95 -15.07 0.46 0.000 0.200 0.000 0.00 499.200 6.99 -13.90 0.25 0.000 0.200 0.000 0.00 499.250 7.09 -14.95 0.47 0.000 0.200 0.000 0.00 499.300 7.12 -14.93 0.06 0.000 0.200 0.000 0.00 499.350 6.62 -15.66 0.01 0.000 0.200 0.000 0.00 499.400 6.58 -19.22 -0.51 0.000 0.200 0.000 0.00 499.450 6.32 -20.20 -0.16 0.000 0.200 0.000 0.00 499.500 6.27 -16.78 0.31 0.000 0.200 0.000 0.00 499.550 6.40 -14.82 0.48 0.000 0.200 0.000 0.00 499.600 6.51 -13.47 0.37 0.000 0.200 0.000 0.00 499.650 6.01 -16.78 0.16 0.000 0.200 0.000 0.00 499.700 6.06 -16.39 -0.08 0.000 0.200 0.000 0.00 499.750 6.31 -15.52 0.22 0.000 0.200 0.000 0.00 499.800 6.67 -11.85 0.13 0.000 0.200 0.000 0.00 499.850 6.32 -13.08 0.23 0.000 0.200 0.000 0.00 499.900 6.53 -13.14 0.44 0.000 0.200 0.000 0.00 499.950 6.75 -13.94 0.59 0.000 0.200 0.000 0.00 500.000 6.79 -13.77 0.20 0.000 0.200 0.000 0.00 500.050 7.06 -13.25 0.09 0.000 0.200 0.000 0.00 500.100 6.87 -14.99 0.24 0.000 0.200 0.000 0.00 500.150 6.91 -14.70 -0.48 0.000 0.200 0.000 0.00 500.200 7.13 -11.74 -0.11 0.000 0.200 0.000 0.00 500.250 6.87 -9.87 0.23 0.000 0.200 0.000 0.00 500.300 7.01 -11.56 0.01 0.000 0.200 0.000 0.00 500.350 6.59 -10.44 0.05 0.000 0.200 0.000 0.00 500.400 6.69 -12.60 0.27 0.000 0.200 0.000 0.00 500.450 6.82 -13.14 0.25 0.000 0.200 0.000 0.00 500.500 6.86 -11.81 0.21 0.000 0.200 0.000 0.00 500.550 6.76 -9.58 0.05 0.000 0.200 0.000 0.00 500.600 6.61 -10.06 0.34 0.000 0.200 0.000 0.00 500.650 6.84 -10.16 0.55 0.000 0.200 0.000 0.00 500.700 6.74 -10.47 0.25 0.000 0.200 0.000 0.00 500.750 6.46 -7.14 0.75 0.000 0.200 0.000 0.00 500.800 6.13 -8.19 0.88 0.000 0.200 0.000 0.00 500.850 6.53 -6.30 0.95 0.000 0.200 0.000 0.00 500.900 6.57 -7.07 0.84 0.000 0.200 0.000 0.00 500.950 6.61 -4.68 0.76 0.000 0.200 0.000 0.00 501.000 6.42 -4.67 0.41 0.000 0.200 0.000 0.00 501.050 6.27 -1.81 0.53 0.000 0.200 0.000 0.00 501.100 6.41 1.01 0.97 0.000 0.200 0.000 0.00 501.150 6.59 2.76 0.60 0.000 0.200 0.000 0.00 501.200 6.49 0.30 0.89 0.000 0.200 0.000 0.00 501.250 6.66 -1.07 0.91 0.000 0.200 0.000 0.00 501.300 6.48 0.13 0.74 0.000 0.200 0.000 0.00 501.350 6.56 2.77 0.76 0.000 0.200 0.000 0.00 501.400 6.52 3.74 0.73 0.000 0.200 0.000 0.00 501.450 6.66 1.82 1.00 0.000 0.200 0.000 0.00 501.500 6.23 -1.99 0.90 0.000 0.200 0.000 0.00 501.550 5.93 -2.06 1.09 0.000 0.200 0.000 0.00 501.600 6.10 -4.21 1.63 0.000 0.200 0.000 0.00 501.650 5.95 -2.71 1.44 0.000 0.200 0.000 0.00 501.700 5.72 2.75 1.20 0.000 0.200 0.000 0.00 501.750 5.70 1.63 1.05 0.000 0.200 0.000 0.00 501.800 5.91 -0.13 0.98 0.000 0.200 0.000 0.00 501.850 5.73 0.88 1.51 0.000 0.200 0.000 0.00 501.900 5.57 2.69 1.81 0.000 0.200 0.000 0.00 501.950 5.74 6.66 1.79 0.000 0.200 0.000 0.00 502.000 6.01 7.40 1.92 0.000 0.200 0.000 0.00 502.050 6.18 7.90 1.79 0.000 0.200 0.000 0.00 502.100 6.12 10.97 1.40 0.000 0.200 0.000 0.00 502.150 6.04 10.36 1.11 0.000 0.200 0.000 0.00 502.200 5.95 7.78 0.92 0.000 0.200 0.000 0.00 502.250 6.06 6.39 0.93 0.000 0.200 0.000 0.00 502.300 6.24 6.93 1.17 0.000 0.200 0.000 0.00 502.350 6.54 4.90 1.52 0.000 0.200 0.000 0.00 502.400 6.64 4.71 1.43 0.000 0.200 0.000 0.00 502.450 6.50 6.50 1.15 0.000 0.200 0.000 0.00 502.500 6.77 7.28 1.12 0.000 0.200 0.000 0.00 502.550 6.74 8.23 0.96 0.000 0.200 0.000 0.00 502.600 6.66 9.61 0.78 0.000 0.200 0.000 0.00 502.650 6.85 5.61 0.85 0.000 0.200 0.000 0.00 502.700 6.67 1.51 1.18 0.000 0.200 0.000 0.00 502.750 6.64 7.99 1.00 0.000 0.200 0.000 0.00 502.800 6.60 6.35 0.95 0.000 0.200 0.000 0.00 502.850 6.60 5.51 0.86 0.000 0.200 0.000 0.00 502.900 6.59 5.48 1.22 0.000 0.200 0.000 0.00 502.950 6.53 1.67 1.26 0.000 0.200 0.000 0.00 503.000 6.51 -1.72 1.32 0.000 0.200 0.000 0.00 503.050 6.36 2.12 1.00 0.000 0.200 0.000 0.00 503.100 6.04 3.05 0.95 0.000 0.200 0.000 0.00 503.150 6.12 0.26 1.15 0.000 0.200 0.000 0.00 503.200 6.34 -4.41 1.12 0.000 0.200 0.000 0.00 503.250 6.31 -0.37 1.12 0.000 0.200 0.000 0.00 503.300 6.27 0.54 1.16 0.000 0.200 0.000 0.00 503.350 6.15 -1.69 1.37 0.000 0.200 0.000 0.00 503.400 6.28 2.21 1.81 0.000 0.200 0.000 0.00 503.450 6.27 2.09 1.62 0.000 0.200 0.000 0.00 503.500 6.14 1.16 1.22 0.000 0.200 0.000 0.00 503.550 6.32 5.05 1.09 0.000 0.200 0.000 0.00 503.600 6.35 4.95 1.39 0.000 0.200 0.000 0.00 503.650 6.72 2.93 1.72 0.000 0.200 0.000 0.00 503.700 6.96 6.09 1.73 0.000 0.200 0.000 0.00 503.750 6.54 2.44 1.21 0.000 0.200 0.000 0.00 503.800 6.35 2.68 1.70 0.000 0.200 0.000 0.00 503.850 6.50 5.94 1.68 0.000 0.200 0.000 0.00 503.900 6.62 1.96 1.43 0.000 0.200 0.000 0.00 503.950 6.66 4.97 1.37 0.000 0.200 0.000 0.00 504.000 6.72 4.06 1.19 0.000 0.200 0.000 0.00 504.050 6.78 6.18 1.35 0.000 0.200 0.000 0.00 504.100 6.33 4.88 1.17 0.000 0.200 0.000 0.00 504.150 6.55 7.21 0.99 0.000 0.200 0.000 0.00 504.200 6.73 5.21 0.89 0.000 0.200 0.000 0.00 504.250 6.39 5.87 0.86 0.000 0.200 0.000 0.00 504.300 6.55 6.19 0.89 0.000 0.200 0.000 0.00 504.350 6.67 5.41 1.00 0.000 0.200 0.000 0.00 504.400 7.01 4.23 0.94 0.000 0.200 0.000 0.00 504.450 6.81 1.98 1.23 0.000 0.200 0.000 0.00 504.500 6.70 0.35 1.18 0.000 0.200 0.000 0.00 504.550 6.73 0.98 0.82 0.000 0.200 0.000 0.00 504.600 6.88 -0.92 0.84 0.000 0.200 0.000 0.00 504.650 6.68 3.09 0.61 0.000 0.200 0.000 0.00 504.700 7.17 4.90 0.59 0.000 0.200 0.000 0.00 504.750 7.22 8.46 0.18 0.000 0.200 0.000 0.00 504.800 7.03 8.41 0.29 0.000 0.200 0.000 0.00 504.850 7.09 8.17 0.76 0.000 0.200 0.000 0.00 504.900 7.25 8.44 1.04 0.000 0.200 0.000 0.00 504.950 7.08 5.80 0.87 0.000 0.200 0.000 0.00 505.000 7.09 5.06 0.60 0.000 0.200 0.000 0.00 505.050 6.85 2.01 0.42 0.000 0.200 0.000 0.00 505.100 6.81 2.29 0.23 0.000 0.200 0.000 0.00 505.150 6.88 1.43 0.59 0.000 0.200 0.000 0.00 505.200 6.93 1.68 0.89 0.000 0.200 0.000 0.00 505.250 6.72 2.93 0.61 0.000 0.200 0.000 0.00 505.300 6.88 -0.20 0.38 0.000 0.200 0.000 0.00 505.350 6.82 -0.89 0.62 0.000 0.200 0.000 0.00 505.400 6.75 -1.40 0.44 0.000 0.200 0.000 0.00 505.450 6.72 -0.10 0.19 0.000 0.200 0.000 0.00 505.500 6.45 -4.23 0.50 0.000 0.200 0.000 0.00 505.550 6.51 -5.50 0.41 0.000 0.200 0.000 0.00 505.600 6.58 -2.09 0.68 0.000 0.200 0.000 0.00 505.650 6.60 -6.62 0.69 0.000 0.200 0.000 0.00 505.700 6.32 -5.71 0.51 0.000 0.200 0.000 0.00 505.750 6.34 -5.65 0.81 0.000 0.200 0.000 0.00 505.800 6.82 -8.06 1.00 0.000 0.200 0.000 0.00 505.850 6.97 -9.33 0.98 0.000 0.200 0.000 0.00 505.900 6.95 -9.45 1.05 0.000 0.200 0.000 0.00 505.950 6.64 -9.00 0.81 0.000 0.200 0.000 0.00 506.000 6.58 -4.97 0.86 0.000 0.200 0.000 0.00 506.050 6.89 -5.93 0.52 0.000 0.200 0.000 0.00 506.100 6.83 -8.01 0.53 0.000 0.200 0.000 0.00 506.150 6.63 -8.54 0.20 0.000 0.200 0.000 0.00 506.200 6.87 -9.79 0.16 0.000 0.200 0.000 0.00 506.250 6.63 -10.29 0.15 0.000 0.200 0.000 0.00 506.300 6.48 -8.50 0.05 0.000 0.200 0.000 0.00 506.350 6.21 -6.51 0.35 0.000 0.200 0.000 0.00 506.400 6.03 -6.82 0.28 0.000 0.200 0.000 0.00 506.450 5.93 -7.83 -0.04 0.000 0.200 0.000 0.00 506.500 6.23 -8.89 -0.04 0.000 0.200 0.000 0.00 506.550 6.20 -8.56 0.01 0.000 0.200 0.000 0.00 506.600 6.22 -9.01 0.27 0.000 0.200 0.000 0.00 506.650 6.52 -9.81 0.23 0.000 0.200 0.000 0.00 506.700 6.23 -10.22 0.17 0.000 0.200 0.000 0.00 506.750 6.06 -5.28 0.05 0.000 0.200 0.000 0.00 506.800 6.05 -5.06 0.05 0.000 0.200 0.000 0.00 506.850 6.19 -5.68 0.79 0.000 0.200 0.000 0.00 506.900 5.84 -4.50 0.37 0.000 0.200 0.000 0.00 506.950 5.94 -5.86 0.77 0.000 0.200 0.000 0.00 507.000 5.66 -3.58 0.98 0.000 0.200 0.000 0.00 507.050 5.40 -2.88 0.87 0.000 0.200 0.000 0.00 507.100 5.32 -4.98 1.43 0.000 0.200 0.000 0.00 507.150 5.04 -5.72 1.30 0.000 0.200 0.000 0.00 507.200 5.10 -5.04 0.79 0.000 0.200 0.000 0.00 507.250 5.03 -4.90 0.61 0.000 0.200 0.000 0.00 507.300 5.30 -5.08 0.36 0.000 0.200 0.000 0.00 507.350 5.32 -6.23 0.63 0.000 0.200 0.000 0.00 507.400 5.39 -4.99 0.73 0.000 0.200 0.000 0.00 507.450 5.16 -3.66 0.55 0.000 0.200 0.000 0.00 507.500 5.21 -2.08 0.64 0.000 0.200 0.000 0.00 507.550 5.14 0.17 0.58 0.000 0.200 0.000 0.00 507.600 5.25 -4.10 0.39 0.000 0.200 0.000 0.00 507.650 5.23 -7.31 0.52 0.000 0.200 0.000 0.00 507.700 5.21 -13.13 0.38 0.000 0.200 0.000 0.00 507.750 5.44 -13.42 0.41 0.000 0.200 0.000 0.00 507.800 5.13 -11.45 0.31 0.000 0.200 0.000 0.00 507.850 4.74 -8.16 0.36 0.000 0.200 0.000 0.00 507.900 5.24 -5.01 0.49 0.000 0.200 0.000 0.00 507.950 5.90 -4.55 0.48 0.000 0.200 0.000 0.00 508.000 6.30 -3.99 0.62 0.000 0.200 0.000 0.00 508.050 6.09 -4.44 1.06 0.000 0.200 0.000 0.00 508.100 6.04 -2.80 0.87 0.000 0.200 0.000 0.00 508.150 5.82 -3.51 1.11 0.000 0.200 0.000 0.00 508.200 6.10 -7.43 0.84 0.000 0.200 0.000 0.00 508.250 6.17 -6.32 1.03 0.000 0.200 0.000 0.00 508.300 6.04 -3.85 0.93 0.000 0.200 0.000 0.00 508.350 6.18 -3.47 1.25 0.000 0.200 0.000 0.00 508.400 6.18 -3.38 1.20 0.000 0.200 0.000 0.00 508.450 6.35 -2.57 1.29 0.000 0.200 0.000 0.00 508.500 6.48 -2.33 1.44 0.000 0.200 0.000 0.00 508.550 6.37 -1.96 1.47 0.000 0.200 0.000 0.00 508.600 6.07 -0.40 1.47 0.000 0.200 0.000 0.00 508.650 6.33 -2.50 1.64 0.000 0.200 0.000 0.00 508.700 6.56 -4.21 1.85 0.000 0.200 0.000 0.00 508.750 6.82 -6.16 1.47 0.000 0.200 0.000 0.00 508.800 7.06 -5.05 1.01 0.000 0.200 0.000 0.00 508.850 7.00 -6.10 1.20 0.000 0.200 0.000 0.00 508.900 7.01 -3.78 0.96 0.000 0.200 0.000 0.00 508.950 6.73 -4.14 0.44 0.000 0.200 0.000 0.00 509.000 7.04 -4.80 0.47 0.000 0.200 0.000 0.00 509.050 6.81 -6.52 0.43 0.000 0.200 0.000 0.00 509.100 6.63 -8.41 0.06 0.000 0.200 0.000 0.00 509.150 6.73 -8.22 -0.25 0.000 0.200 0.000 0.00 509.200 6.78 -3.86 -0.17 0.000 0.200 0.000 0.00 509.250 6.80 -5.11 0.01 0.000 0.200 0.000 0.00 509.300 6.69 -7.88 -0.23 0.000 0.200 0.000 0.00 509.350 6.71 -5.89 -0.01 0.000 0.200 0.000 0.00 509.400 6.50 -6.17 -0.19 0.000 0.200 0.000 0.00 509.450 6.55 -10.30 -0.27 0.000 0.200 0.000 0.00 509.500 6.60 -5.56 -0.26 0.000 0.200 0.000 0.00 509.550 6.31 -5.63 -0.14 0.000 0.200 0.000 0.00 509.600 6.28 -7.66 -0.12 0.000 0.200 0.000 0.00 509.650 6.36 -8.91 -0.48 0.000 0.200 0.000 0.00 509.700 6.51 -8.70 -0.69 0.000 0.200 0.000 0.00 509.750 6.35 -8.03 -0.31 0.000 0.200 0.000 0.00 509.800 6.21 -10.52 -0.25 0.000 0.200 0.000 0.00 509.850 6.22 -10.11 -0.30 0.000 0.200 0.000 0.00 509.900 6.19 -6.26 -0.29 0.000 0.200 0.000 0.00 509.950 6.29 -3.35 -0.37 0.000 0.200 0.000 0.00 510.000 6.41 -1.68 -0.28 0.000 0.200 0.000 0.00 510.050 6.58 -0.84 -0.24 0.000 0.200 0.000 0.00 510.100 6.66 0.52 -0.49 0.000 0.200 0.000 0.00 510.150 6.81 -3.36 -0.85 0.000 0.200 0.000 0.00 510.200 6.83 -3.27 -0.61 0.000 0.200 0.000 0.00 510.250 6.73 -9.10 -0.77 0.000 0.200 0.000 0.00 510.300 6.72 -11.09 -0.78 0.000 0.200 0.000 0.00 510.350 6.49 -7.92 -0.73 0.000 0.200 0.000 0.00 510.400 6.37 -5.63 -0.70 0.000 0.200 0.000 0.00 510.450 6.51 -5.93 -0.71 0.000 0.200 0.000 0.00 510.500 6.40 -4.69 -0.59 0.000 0.200 0.000 0.00 510.550 6.08 -6.42 -0.41 0.000 0.200 0.000 0.00 510.600 6.17 -4.73 -0.53 0.000 0.200 0.000 0.00 510.650 6.07 -4.53 -0.37 0.000 0.200 0.000 0.00 510.700 6.31 -7.82 -0.08 0.000 0.200 0.000 0.00 510.750 6.20 -7.05 -0.77 0.000 0.200 0.000 0.00 510.800 5.86 -5.39 -1.15 0.000 0.200 0.000 0.00 510.850 5.61 -2.98 -1.16 0.000 0.200 0.000 0.00 510.900 5.55 -0.40 -0.86 0.000 0.200 0.000 0.00 510.950 5.45 1.68 -0.81 0.000 0.200 0.000 0.00 511.000 5.38 3.45 -0.67 0.000 0.200 0.000 0.00 511.050 5.70 1.48 -0.35 0.000 0.200 0.000 0.00 511.100 5.91 -1.95 -0.23 0.000 0.200 0.000 0.00 511.150 5.94 -1.60 -0.78 0.000 0.200 0.000 0.00 511.200 5.75 -1.81 -0.83 0.000 0.200 0.000 0.00 511.250 5.73 -3.42 -0.53 0.000 0.200 0.000 0.00 511.300 5.78 -1.91 -1.03 0.000 0.200 0.000 0.00 511.350 5.48 -2.18 -1.02 0.000 0.200 0.000 0.00 511.400 5.44 -3.62 -1.02 0.000 0.200 0.000 0.00 511.450 5.11 -1.39 -1.19 0.000 0.200 0.000 0.00 511.500 4.81 -2.08 -1.14 0.000 0.200 0.000 0.00 511.550 4.93 -3.21 -1.22 0.000 0.200 0.000 0.00 511.600 4.91 -1.96 -1.11 0.000 0.200 0.000 0.00 511.650 5.08 -4.42 -0.71 0.000 0.200 0.000 0.00 511.700 5.13 -2.63 -0.61 0.000 0.200 0.000 0.00 511.750 5.41 -1.78 -0.79 0.000 0.200 0.000 0.00 511.800 5.50 -4.11 -0.74 0.000 0.200 0.000 0.00 511.850 5.49 -6.65 -0.50 0.000 0.200 0.000 0.00 511.900 5.44 -7.46 -0.40 0.000 0.200 0.000 0.00 511.950 5.41 -4.62 -0.29 0.000 0.200 0.000 0.00 512.000 5.63 -4.72 -0.17 0.000 0.200 0.000 0.00 512.050 5.60 -5.43 -0.42 0.000 0.200 0.000 0.00 512.100 5.26 -4.30 -0.64 0.000 0.200 0.000 0.00 512.150 5.39 -4.28 -0.90 0.000 0.200 0.000 0.00 512.200 5.21 -4.40 -0.85 0.000 0.200 0.000 0.00 512.250 5.04 -3.77 -0.90 0.000 0.200 0.000 0.00 512.300 5.28 0.08 -0.74 0.000 0.200 0.000 0.00 512.350 5.26 1.27 -0.67 0.000 0.200 0.000 0.00 512.400 5.30 1.45 -0.59 0.000 0.200 0.000 0.00 512.450 5.53 2.63 -0.81 0.000 0.200 0.000 0.00 512.500 5.48 2.89 -1.02 0.000 0.200 0.000 0.00 512.550 5.78 0.22 -0.76 0.000 0.200 0.000 0.00 512.600 5.58 1.22 -1.20 0.000 0.200 0.000 0.00 512.650 5.75 4.15 -0.95 0.000 0.200 0.000 0.00 512.700 5.81 3.88 -0.69 0.000 0.200 0.000 0.00 512.750 5.48 0.52 -0.07 0.000 0.200 0.000 0.00 512.800 5.76 2.44 -0.22 0.000 0.200 0.000 0.00 512.850 5.84 0.32 -0.75 0.000 0.200 0.000 0.00 512.900 5.77 -3.11 -0.84 0.000 0.200 0.000 0.00 512.950 5.64 -3.44 -1.12 0.000 0.200 0.000 0.00 513.000 5.80 -5.26 -1.07 0.000 0.200 0.000 0.00 513.050 6.11 -7.00 -1.10 0.000 0.200 0.000 0.00 513.100 6.13 -3.08 -0.71 0.000 0.200 0.000 0.00 513.150 5.91 -2.63 -0.46 0.000 0.200 0.000 0.00 513.200 5.80 -3.07 -0.38 0.000 0.200 0.000 0.00 513.250 5.78 -3.16 -0.33 0.000 0.200 0.000 0.00 513.300 5.95 0.74 -0.31 0.000 0.200 0.000 0.00 513.350 5.82 3.95 -0.57 0.000 0.200 0.000 0.00 513.400 5.48 -1.11 -0.50 0.000 0.200 0.000 0.00 513.450 5.44 -6.51 -0.07 0.000 0.200 0.000 0.00 513.500 5.93 -1.53 -0.04 0.000 0.200 0.000 0.00 513.550 6.03 -7.56 0.29 0.000 0.200 0.000 0.00 513.600 5.77 -5.67 0.34 0.000 0.200 0.000 0.00 513.650 5.51 -3.39 0.37 0.000 0.200 0.000 0.00 513.700 5.56 -4.65 0.03 0.000 0.200 0.000 0.00 513.750 5.88 -3.12 0.14 0.000 0.200 0.000 0.00 513.800 5.73 -5.42 0.07 0.000 0.200 0.000 0.00 513.850 5.58 -7.86 0.11 0.000 0.200 0.000 0.00 513.900 5.25 -13.00 0.18 0.000 0.200 0.000 0.00 513.950 5.19 -12.97 -0.26 0.000 0.200 0.000 0.00 514.000 4.94 -10.86 -0.56 0.000 0.200 0.000 0.00 514.050 5.26 -7.90 -0.81 0.000 0.200 0.000 0.00 514.100 5.45 -8.63 -1.10 0.000 0.200 0.000 0.00 514.150 5.40 -6.10 -0.70 0.000 0.200 0.000 0.00 514.200 5.31 -10.62 -0.61 0.000 0.200 0.000 0.00 514.250 5.16 -10.29 -0.45 0.000 0.200 0.000 0.00 514.300 5.40 -8.66 -0.14 0.000 0.200 0.000 0.00 514.350 5.63 -10.53 -0.52 0.000 0.200 0.000 0.00 514.400 5.73 -7.43 -0.51 0.000 0.200 0.000 0.00 514.450 5.86 -9.49 -0.37 0.000 0.200 0.000 0.00 514.500 5.94 -9.91 -0.37 0.000 0.200 0.000 0.00 514.550 6.23 -8.81 -0.50 0.000 0.200 0.000 0.00 514.600 5.99 -4.34 0.09 0.000 0.200 0.000 0.00 514.650 5.83 -4.54 0.21 0.000 0.200 0.000 0.00 514.700 5.56 -3.91 0.10 0.000 0.200 0.000 0.00 514.750 5.22 -4.29 0.10 0.000 0.200 0.000 0.00 514.800 5.34 -3.91 -0.15 0.000 0.200 0.000 0.00 514.850 5.33 -4.48 -0.69 0.000 0.200 0.000 0.00 514.900 5.36 -1.73 -0.63 0.000 0.200 0.000 0.00 514.950 5.26 -0.20 -0.70 0.000 0.200 0.000 0.00 515.000 5.48 2.16 -0.76 0.000 0.200 0.000 0.00 515.050 5.39 0.71 -0.06 0.000 0.200 0.000 0.00 515.100 5.20 -1.94 0.17 0.000 0.200 0.000 0.00 515.150 5.42 -1.38 -0.03 0.000 0.200 0.000 0.00 515.200 5.27 -1.52 0.07 0.000 0.200 0.000 0.00 515.250 4.82 -1.73 -0.02 0.000 0.200 0.000 0.00 515.300 4.60 2.11 -0.18 0.000 0.200 0.000 0.00 515.350 4.60 1.43 -0.09 0.000 0.200 0.000 0.00 515.400 4.88 2.85 0.04 0.000 0.200 0.000 0.00 515.450 5.20 3.13 -0.02 0.000 0.200 0.000 0.00 515.500 5.44 -0.70 0.09 0.000 0.200 0.000 0.00 515.550 5.35 -1.70 -0.06 0.000 0.200 0.000 0.00 515.600 5.58 1.67 -0.12 0.000 0.200 0.000 0.00 515.650 5.77 2.22 -0.05 0.000 0.200 0.000 0.00 515.700 5.60 3.37 -0.10 0.000 0.200 0.000 0.00 515.750 5.54 6.08 -0.31 0.000 0.200 0.000 0.00 515.800 5.49 9.36 -0.04 0.000 0.200 0.000 0.00 515.850 5.06 9.42 0.32 0.000 0.200 0.000 0.00 515.900 4.91 4.90 0.55 0.000 0.200 0.000 0.00 515.950 5.03 2.66 0.64 0.000 0.200 0.000 0.00 516.000 5.13 0.55 0.68 0.000 0.200 0.000 0.00 516.050 4.96 -0.81 0.41 0.000 0.200 0.000 0.00 516.100 5.20 5.66 0.39 0.000 0.200 0.000 0.00 516.150 5.64 3.77 0.30 0.000 0.200 0.000 0.00 516.200 5.47 2.79 0.35 0.000 0.200 0.000 0.00 516.250 5.62 2.16 0.21 0.000 0.200 0.000 0.00 516.300 5.72 4.88 -0.28 0.000 0.200 0.000 0.00 516.350 5.59 5.76 -0.11 0.000 0.200 0.000 0.00 516.400 5.88 5.93 0.07 0.000 0.200 0.000 0.00 516.450 5.81 6.38 -0.05 0.000 0.200 0.000 0.00 516.500 5.86 7.06 0.04 0.000 0.200 0.000 0.00 516.550 5.79 4.56 0.25 0.000 0.200 0.000 0.00 516.600 5.85 1.86 -0.08 0.000 0.200 0.000 0.00 516.650 5.74 2.57 0.01 0.000 0.200 0.000 0.00 516.700 5.49 2.30 -0.29 0.000 0.200 0.000 0.00 516.750 5.48 4.79 -0.15 0.000 0.200 0.000 0.00 516.800 5.51 4.32 -0.05 0.000 0.200 0.000 0.00 516.850 5.61 5.20 -0.08 0.000 0.200 0.000 0.00 516.900 5.47 5.58 -0.30 0.000 0.200 0.000 0.00 516.950 5.47 4.71 -0.69 0.000 0.200 0.000 0.00 517.000 5.70 3.35 -0.86 0.000 0.200 0.000 0.00 517.050 6.17 -0.10 -0.62 0.000 0.200 0.000 0.00 517.100 6.34 -0.31 -0.63 0.000 0.200 0.000 0.00 517.150 6.01 -0.23 -0.67 0.000 0.200 0.000 0.00 517.200 5.82 1.64 -0.37 0.000 0.200 0.000 0.00 517.250 6.04 3.35 -0.20 0.000 0.200 0.000 0.00 517.300 5.83 2.04 -0.13 0.000 0.200 0.000 0.00 517.350 6.25 -1.17 0.14 0.000 0.200 0.000 0.00 517.400 6.33 -2.25 0.59 0.000 0.200 0.000 0.00 517.450 6.13 -1.40 0.73 0.000 0.200 0.000 0.00 517.500 6.06 -3.63 0.80 0.000 0.200 0.000 0.00 517.550 5.97 -6.65 0.43 0.000 0.200 0.000 0.00 517.600 5.96 -7.48 0.58 0.000 0.200 0.000 0.00 517.650 5.94 -4.48 0.75 0.000 0.200 0.000 0.00 517.700 6.09 -2.27 0.51 0.000 0.200 0.000 0.00 517.750 6.33 -4.17 0.35 0.000 0.200 0.000 0.00 517.800 6.38 -3.33 0.52 0.000 0.200 0.000 0.00 517.850 6.33 -2.71 0.58 0.000 0.200 0.000 0.00 517.900 6.59 -3.22 0.68 0.000 0.200 0.000 0.00 517.950 6.40 -7.39 0.80 0.000 0.200 0.000 0.00 518.000 6.54 -6.04 0.82 0.000 0.200 0.000 0.00 518.050 6.70 -4.34 0.71 0.000 0.200 0.000 0.00 518.100 6.50 -3.23 0.87 0.000 0.200 0.000 0.00 518.150 6.37 -3.69 0.34 0.000 0.200 0.000 0.00 518.200 6.60 -4.75 0.18 0.000 0.200 0.000 0.00 518.250 6.44 -6.70 0.24 0.000 0.200 0.000 0.00 518.300 6.42 -6.41 0.54 0.000 0.200 0.000 0.00 518.350 6.44 -5.43 0.90 0.000 0.200 0.000 0.00 518.400 6.43 -5.67 0.82 0.000 0.200 0.000 0.00 518.450 6.48 -4.09 0.71 0.000 0.200 0.000 0.00 518.500 6.45 -2.85 0.86 0.000 0.200 0.000 0.00 518.550 6.28 -2.56 0.66 0.000 0.200 0.000 0.00 518.600 6.09 0.73 0.92 0.000 0.200 0.000 0.00 518.650 6.23 -1.20 1.04 0.000 0.200 0.000 0.00 518.700 6.15 -6.18 1.12 0.000 0.200 0.000 0.00 518.750 5.95 -3.33 0.88 0.000 0.200 0.000 0.00 518.800 5.72 2.47 0.91 0.000 0.200 0.000 0.00 518.850 5.56 2.19 0.64 0.000 0.200 0.000 0.00 518.900 5.55 5.74 0.79 0.000 0.200 0.000 0.00 518.950 5.58 4.95 0.81 0.000 0.200 0.000 0.00 519.000 5.64 5.91 0.45 0.000 0.200 0.000 0.00 519.050 5.61 7.19 0.66 0.000 0.200 0.000 0.00 519.100 5.69 6.89 0.68 0.000 0.200 0.000 0.00 519.150 5.78 4.57 0.47 0.000 0.200 0.000 0.00 519.200 5.91 3.98 0.49 0.000 0.200 0.000 0.00 519.250 5.42 5.60 0.63 0.000 0.200 0.000 0.00 519.300 5.59 7.30 0.93 0.000 0.200 0.000 0.00 519.350 5.75 5.43 0.81 0.000 0.200 0.000 0.00 519.400 5.59 6.97 1.10 0.000 0.200 0.000 0.00 519.450 5.61 1.49 1.25 0.000 0.200 0.000 0.00 519.500 5.76 2.45 0.72 0.000 0.200 0.000 0.00 519.550 6.09 -1.20 0.84 0.000 0.200 0.000 0.00 519.600 6.15 -3.18 0.34 0.000 0.200 0.000 0.00 519.650 6.12 -0.87 0.68 0.000 0.200 0.000 0.00 519.700 6.46 1.66 0.71 0.000 0.200 0.000 0.00 519.750 6.64 4.52 0.55 0.000 0.200 0.000 0.00 519.800 6.80 4.68 0.84 0.000 0.200 0.000 0.00 519.850 6.76 3.49 1.13 0.000 0.200 0.000 0.00 519.900 6.61 1.97 1.14 0.000 0.200 0.000 0.00 519.950 6.69 5.69 0.95 0.000 0.200 0.000 0.00 520.000 6.63 8.11 0.93 0.000 0.200 0.000 0.00 520.050 6.12 7.89 0.61 0.000 0.200 0.000 0.00 520.100 5.83 5.84 0.42 0.000 0.200 0.000 0.00 520.150 5.54 6.03 0.51 0.000 0.200 0.000 0.00 520.200 5.58 6.72 0.29 0.000 0.200 0.000 0.00 520.250 5.59 5.55 0.28 0.000 0.200 0.000 0.00 520.300 5.87 6.55 0.20 0.000 0.200 0.000 0.00 520.350 5.77 7.41 0.27 0.000 0.200 0.000 0.00 520.400 5.99 6.40 0.04 0.000 0.200 0.000 0.00 520.450 6.08 4.16 -0.08 0.000 0.200 0.000 0.00 520.500 6.06 6.52 -0.10 0.000 0.200 0.000 0.00 520.550 6.47 8.49 -0.09 0.000 0.200 0.000 0.00 520.600 6.31 5.83 -0.55 0.000 0.200 0.000 0.00 520.650 6.27 7.26 -0.68 0.000 0.200 0.000 0.00 520.700 6.44 7.13 -0.87 0.000 0.200 0.000 0.00 520.750 6.12 9.73 -0.97 0.000 0.200 0.000 0.00 520.800 6.08 5.96 -0.49 0.000 0.200 0.000 0.00 520.850 5.38 8.73 -0.20 0.000 0.200 0.000 0.00 520.900 5.34 9.55 -0.13 0.000 0.200 0.000 0.00 520.950 5.13 9.88 -0.39 0.000 0.200 0.000 0.00 521.000 5.25 9.70 0.02 0.000 0.200 0.000 0.00 521.050 5.20 9.09 0.14 0.000 0.200 0.000 0.00 521.100 5.29 6.44 0.23 0.000 0.200 0.000 0.00 521.150 5.18 10.83 0.48 0.000 0.200 0.000 0.00 521.200 5.33 8.86 0.34 0.000 0.200 0.000 0.00 521.250 5.14 6.73 0.05 0.000 0.200 0.000 0.00 521.300 4.74 7.39 -0.07 0.000 0.200 0.000 0.00 521.350 4.50 4.03 -0.28 0.000 0.200 0.000 0.00 521.400 4.63 2.93 -0.14 0.000 0.200 0.000 0.00 521.450 4.70 8.80 0.03 0.000 0.200 0.000 0.00 521.500 4.65 16.10 0.25 0.000 0.200 0.000 0.00 521.550 4.57 11.87 0.34 0.000 0.200 0.000 0.00 521.600 4.52 9.25 0.74 0.000 0.200 0.000 0.00 521.650 4.61 5.59 1.01 0.000 0.200 0.000 0.00 521.700 4.57 1.28 1.01 0.000 0.200 0.000 0.00 521.750 4.28 3.62 1.18 0.000 0.200 0.000 0.00 521.800 4.41 3.16 0.92 0.000 0.200 0.000 0.00 521.850 3.96 2.94 0.89 0.000 0.200 0.000 0.00 521.900 3.93 1.29 1.22 0.000 0.200 0.000 0.00 521.950 4.08 -1.00 1.06 0.000 0.200 0.000 0.00 522.000 4.27 0.42 1.20 0.000 0.200 0.000 0.00 522.050 3.95 0.33 0.79 0.000 0.200 0.000 0.00 522.100 4.01 -4.38 0.66 0.000 0.200 0.000 0.00 522.150 4.13 -1.53 0.69 0.000 0.200 0.000 0.00 522.200 4.30 1.93 0.78 0.000 0.200 0.000 0.00 522.250 4.78 3.97 0.55 0.000 0.200 0.000 0.00 522.300 5.11 5.01 0.34 0.000 0.200 0.000 0.00 522.350 5.07 5.60 0.30 0.000 0.200 0.000 0.00 522.400 5.10 8.29 0.19 0.000 0.200 0.000 0.00 522.450 5.12 3.66 0.33 0.000 0.200 0.000 0.00 522.500 5.01 -1.15 0.32 0.000 0.200 0.000 0.00 522.550 4.95 -1.95 0.23 0.000 0.200 0.000 0.00 522.600 5.05 -6.60 0.37 0.000 0.200 0.000 0.00 522.650 5.13 -8.19 0.31 0.000 0.200 0.000 0.00 522.700 5.00 -9.75 0.69 0.000 0.200 0.000 0.00 522.750 5.35 -10.73 0.78 0.000 0.200 0.000 0.00 522.800 5.50 -10.88 1.05 0.000 0.200 0.000 0.00 522.850 5.06 -12.24 1.09 0.000 0.200 0.000 0.00 522.900 5.25 -13.01 1.09 0.000 0.200 0.000 0.00 522.950 5.27 -13.08 1.34 0.000 0.200 0.000 0.00 523.000 5.29 -10.88 1.29 0.000 0.200 0.000 0.00 523.050 5.27 -8.27 1.08 0.000 0.200 0.000 0.00 523.100 4.76 -5.34 0.68 0.000 0.200 0.000 0.00 523.150 4.91 -0.23 1.01 0.000 0.200 0.000 0.00 523.200 5.11 -2.70 1.06 0.000 0.200 0.000 0.00 523.250 5.42 -2.71 0.52 0.000 0.200 0.000 0.00 523.300 5.28 -3.80 0.77 0.000 0.200 0.000 0.00 523.350 5.23 -5.71 0.98 0.000 0.200 0.000 0.00 523.400 5.40 -1.24 0.63 0.000 0.200 0.000 0.00 523.450 5.41 2.70 0.97 0.000 0.200 0.000 0.00 523.500 5.68 -2.36 1.14 0.000 0.200 0.000 0.00 523.550 5.78 -3.98 1.06 0.000 0.200 0.000 0.00 523.600 5.54 -0.14 0.95 0.000 0.200 0.000 0.00 523.650 5.29 -0.51 0.99 0.000 0.200 0.000 0.00 523.700 5.74 -4.28 0.74 0.000 0.200 0.000 0.00 523.750 5.73 -5.96 0.93 0.000 0.200 0.000 0.00 523.800 5.54 -10.96 0.75 0.000 0.200 0.000 0.00 523.850 5.15 -10.06 0.81 0.000 0.200 0.000 0.00 523.900 5.17 -11.01 0.80 0.000 0.200 0.000 0.00 523.950 4.94 -11.11 0.31 0.000 0.200 0.000 0.00 524.000 4.84 -7.83 0.83 0.000 0.200 0.000 0.00 524.050 4.91 -4.92 0.43 0.000 0.200 0.000 0.00 524.100 4.99 -8.34 0.44 0.000 0.200 0.000 0.00 524.150 4.86 -5.09 0.39 0.000 0.200 0.000 0.00 524.200 5.20 -6.38 0.96 0.000 0.200 0.000 0.00 524.250 5.43 -5.79 0.69 0.000 0.200 0.000 0.00 524.300 5.29 -1.61 0.37 0.000 0.200 0.000 0.00 524.350 5.34 -1.02 0.47 0.000 0.200 0.000 0.00 524.400 5.32 -2.65 0.04 0.000 0.200 0.000 0.00 524.450 5.46 -1.61 0.67 0.000 0.200 0.000 0.00 524.500 5.40 -1.18 0.26 0.000 0.200 0.000 0.00 524.550 5.23 0.65 0.16 0.000 0.200 0.000 0.00 524.600 5.30 6.84 -0.20 0.000 0.200 0.000 0.00 524.650 5.46 6.76 -0.04 0.000 0.200 0.000 0.00 524.700 5.36 7.51 0.33 0.000 0.200 0.000 0.00 524.750 5.33 4.04 -0.07 0.000 0.200 0.000 0.00 524.800 4.68 3.73 -0.24 0.000 0.200 0.000 0.00 524.850 4.80 3.75 -0.23 0.000 0.200 0.000 0.00 524.900 5.19 4.24 -0.40 0.000 0.200 0.000 0.00 524.950 5.21 3.20 -0.46 0.000 0.200 0.000 0.00 525.000 5.29 0.84 -0.36 0.000 0.200 0.000 0.00 525.050 5.10 2.31 -0.34 0.000 0.200 0.000 0.00 525.100 5.34 1.81 -0.24 0.000 0.200 0.000 0.00 525.150 5.23 0.87 -0.25 0.000 0.200 0.000 0.00 525.200 5.34 1.06 -0.27 0.000 0.200 0.000 0.00 525.250 5.50 2.18 -0.02 0.000 0.200 0.000 0.00 525.300 5.76 3.82 -0.16 0.000 0.200 0.000 0.00 525.350 5.93 4.23 -0.10 0.000 0.200 0.000 0.00 525.400 5.80 2.34 -0.23 0.000 0.200 0.000 0.00 525.450 6.24 1.17 -0.17 0.000 0.200 0.000 0.00 525.500 6.20 1.05 0.13 0.000 0.200 0.000 0.00 525.550 6.58 -2.29 -0.12 0.000 0.200 0.000 0.00 525.600 6.93 -3.88 -0.25 0.000 0.200 0.000 0.00 525.650 7.05 -0.54 -0.32 0.000 0.200 0.000 0.00 525.700 7.06 -1.44 -0.40 0.000 0.200 0.000 0.00 525.750 7.29 -2.79 -0.81 0.000 0.200 0.000 0.00 525.800 7.08 -1.81 -0.62 0.000 0.200 0.000 0.00 525.850 7.06 -5.42 -0.57 0.000 0.200 0.000 0.00 525.900 7.26 -6.71 -0.44 0.000 0.200 0.000 0.00 525.950 7.52 -3.13 -0.07 0.000 0.200 0.000 0.00 526.000 7.47 -3.52 0.17 0.000 0.200 0.000 0.00 526.050 7.35 -3.30 -0.21 0.000 0.200 0.000 0.00 526.100 7.15 -2.97 -0.64 0.000 0.200 0.000 0.00 526.150 7.44 -0.93 -0.66 0.000 0.200 0.000 0.00 526.200 7.52 -1.43 -0.65 0.000 0.200 0.000 0.00 526.250 7.54 0.07 -0.48 0.000 0.200 0.000 0.00 526.300 7.05 0.70 -0.25 0.000 0.200 0.000 0.00 526.350 7.21 0.20 -0.55 0.000 0.200 0.000 0.00 526.400 6.93 1.67 -0.39 0.000 0.200 0.000 0.00 526.450 7.18 2.96 -0.12 0.000 0.200 0.000 0.00 526.500 6.83 3.88 -0.56 0.000 0.200 0.000 0.00 526.550 6.72 4.19 -0.41 0.000 0.200 0.000 0.00 526.600 6.40 5.10 -0.46 0.000 0.200 0.000 0.00 526.650 6.57 3.07 -0.11 0.000 0.200 0.000 0.00 526.700 6.71 2.00 0.01 0.000 0.200 0.000 0.00 526.750 7.09 -0.90 0.20 0.000 0.200 0.000 0.00 526.800 7.53 1.09 -0.17 0.000 0.200 0.000 0.00 526.850 7.49 2.72 0.10 0.000 0.200 0.000 0.00 526.900 7.47 2.58 0.27 0.000 0.200 0.000 0.00 526.950 7.61 0.58 0.50 0.000 0.200 0.000 0.00 527.000 7.38 -0.68 0.54 0.000 0.200 0.000 0.00 527.050 7.21 -1.57 0.50 0.000 0.200 0.000 0.00 527.100 7.27 -0.08 0.43 0.000 0.200 0.000 0.00 527.150 7.23 -0.64 0.10 0.000 0.200 0.000 0.00 527.200 7.40 -6.12 -0.09 0.000 0.200 0.000 0.00 527.250 7.38 -5.95 -0.22 0.000 0.200 0.000 0.00 527.300 7.45 -8.42 -0.52 0.000 0.200 0.000 0.00 527.350 7.66 -6.81 -0.42 0.000 0.200 0.000 0.00 527.400 7.40 -6.10 -0.21 0.000 0.200 0.000 0.00 527.450 7.37 -5.00 -0.13 0.000 0.200 0.000 0.00 527.500 7.54 -2.23 -0.13 0.000 0.200 0.000 0.00 527.550 7.77 -4.41 -0.25 0.000 0.200 0.000 0.00 527.600 8.15 -2.49 -0.65 0.000 0.200 0.000 0.00 527.650 8.49 -0.78 -0.90 0.000 0.200 0.000 0.00 527.700 8.22 0.07 -1.08 0.000 0.200 0.000 0.00 527.750 8.47 -2.77 -0.52 0.000 0.200 0.000 0.00 527.800 8.25 -1.91 -0.20 0.000 0.200 0.000 0.00 527.850 8.31 -0.97 -0.07 0.000 0.200 0.000 0.00 527.900 8.02 -0.62 -0.09 0.000 0.200 0.000 0.00 527.950 8.14 -0.57 -0.02 0.000 0.200 0.000 0.00 528.000 8.26 -0.42 0.17 0.000 0.200 0.000 0.00 528.050 8.36 -0.31 -0.09 0.000 0.200 0.000 0.00 528.100 8.36 -0.39 0.22 0.000 0.200 0.000 0.00 528.150 8.30 0.60 0.41 0.000 0.200 0.000 0.00 528.200 7.78 1.39 0.51 0.000 0.200 0.000 0.00 528.250 7.72 1.71 0.49 0.000 0.200 0.000 0.00 528.300 7.69 0.60 0.39 0.000 0.200 0.000 0.00 528.350 7.54 1.24 0.77 0.000 0.200 0.000 0.00 528.400 7.54 -0.13 0.89 0.000 0.200 0.000 0.00 528.450 7.68 -2.07 1.11 0.000 0.200 0.000 0.00 528.500 7.64 -2.53 1.47 0.000 0.200 0.000 0.00 528.550 7.51 -2.02 1.11 0.000 0.200 0.000 0.00 528.600 7.64 -3.95 0.97 0.000 0.200 0.000 0.00 528.650 7.84 -4.73 0.84 0.000 0.200 0.000 0.00 528.700 7.68 -4.02 0.63 0.000 0.200 0.000 0.00 528.750 7.38 -9.17 0.86 0.000 0.200 0.000 0.00 528.800 7.10 -8.93 0.62 0.000 0.200 0.000 0.00 528.850 7.05 -11.71 0.50 0.000 0.200 0.000 0.00 528.900 7.11 -10.42 0.91 0.000 0.200 0.000 0.00 528.950 7.24 -10.91 1.16 0.000 0.200 0.000 0.00 529.000 7.29 -10.97 1.33 0.000 0.200 0.000 0.00 529.050 7.30 -13.02 1.43 0.000 0.200 0.000 0.00 529.100 7.09 -12.32 1.60 0.000 0.200 0.000 0.00 529.150 6.95 -13.52 1.35 0.000 0.200 0.000 0.00 529.200 6.92 -14.85 1.48 0.000 0.200 0.000 0.00 529.250 6.82 -11.09 2.08 0.000 0.200 0.000 0.00 529.300 7.24 -12.25 2.07 0.000 0.200 0.000 0.00 529.350 7.18 -9.87 1.87 0.000 0.200 0.000 0.00 529.400 7.12 -7.79 1.79 0.000 0.200 0.000 0.00 529.450 7.29 -7.45 1.52 0.000 0.200 0.000 0.00 529.500 7.41 -7.56 1.48 0.000 0.200 0.000 0.00 529.550 7.29 -7.70 1.41 0.000 0.200 0.000 0.00 529.600 7.44 -8.31 1.20 0.000 0.200 0.000 0.00 529.650 7.59 -9.33 1.35 0.000 0.200 0.000 0.00 529.700 7.87 -13.36 1.37 0.000 0.200 0.000 0.00 529.750 8.15 -16.40 2.29 0.000 0.200 0.000 0.00 529.800 8.07 -13.43 2.15 0.000 0.200 0.000 0.00 529.850 8.49 -14.17 2.34 0.000 0.200 0.000 0.00 529.900 8.82 -15.75 2.09 0.000 0.200 0.000 0.00 529.950 8.62 -14.96 1.69 0.000 0.200 0.000 0.00 530.000 8.73 -14.38 1.31 0.000 0.200 0.000 0.00 530.050 9.04 -12.95 1.50 0.000 0.200 0.000 0.00 530.100 9.21 -14.50 1.73 0.000 0.200 0.000 0.00 530.150 8.93 -12.57 2.18 0.000 0.200 0.000 0.00 530.200 8.67 -14.19 2.08 0.000 0.200 0.000 0.00 530.250 8.62 -14.54 2.05 0.000 0.200 0.000 0.00 530.300 8.88 -14.03 2.04 0.000 0.200 0.000 0.00 530.350 8.84 -15.87 1.79 0.000 0.200 0.000 0.00 530.400 8.35 -16.08 1.95 0.000 0.200 0.000 0.00 530.450 8.24 -14.85 1.52 0.000 0.200 0.000 0.00 530.500 7.86 -13.67 1.35 0.000 0.200 0.000 0.00 530.550 7.90 -15.15 1.71 0.000 0.200 0.000 0.00 530.600 7.97 -16.55 1.49 0.000 0.200 0.000 0.00 530.650 8.01 -16.11 1.25 0.000 0.200 0.000 0.00 530.700 7.95 -16.41 1.31 0.000 0.200 0.000 0.00 530.750 8.45 -16.71 0.83 0.000 0.200 0.000 0.00 530.800 8.81 -15.26 0.79 0.000 0.200 0.000 0.00 530.850 8.91 -16.56 1.00 0.000 0.200 0.000 0.00 530.900 8.92 -19.31 1.75 0.000 0.200 0.000 0.00 530.950 8.87 -20.16 1.57 0.000 0.200 0.000 0.00 531.000 9.00 -19.21 1.78 0.000 0.200 0.000 0.00 531.050 8.96 -16.40 1.74 0.000 0.200 0.000 0.00 531.100 9.21 -14.73 1.53 0.000 0.200 0.000 0.00 531.150 8.89 -14.96 1.36 0.000 0.200 0.000 0.00 531.200 8.71 -15.98 1.20 0.000 0.200 0.000 0.00 531.250 8.70 -15.07 0.98 0.000 0.200 0.000 0.00 531.300 8.78 -14.28 0.80 0.000 0.200 0.000 0.00 531.350 8.76 -17.84 0.41 0.000 0.200 0.000 0.00 531.400 8.62 -17.06 0.07 0.000 0.200 0.000 0.00 531.450 8.82 -17.10 0.14 0.000 0.200 0.000 0.00 531.500 9.13 -18.12 0.35 0.000 0.200 0.000 0.00 531.550 9.26 -18.64 0.56 0.000 0.200 0.000 0.00 531.600 8.92 -20.11 0.73 0.000 0.200 0.000 0.00 531.650 9.07 -20.33 0.93 0.000 0.200 0.000 0.00 531.700 9.02 -24.15 0.75 0.000 0.200 0.000 0.00 531.750 8.94 -23.09 0.40 0.000 0.200 0.000 0.00 531.800 8.86 -23.49 0.38 0.000 0.200 0.000 0.00 531.850 8.70 -24.86 0.23 0.000 0.200 0.000 0.00 531.900 8.26 -25.02 0.54 0.000 0.200 0.000 0.00 531.950 8.23 -25.57 0.63 0.000 0.200 0.000 0.00 532.000 8.43 -23.82 0.61 0.000 0.200 0.000 0.00 532.050 8.51 -25.54 0.57 0.000 0.200 0.000 0.00 532.100 8.28 -24.54 0.47 0.000 0.200 0.000 0.00 532.150 8.50 -23.07 0.09 0.000 0.200 0.000 0.00 532.200 8.49 -24.22 0.13 0.000 0.200 0.000 0.00 532.250 8.22 -24.97 0.61 0.000 0.200 0.000 0.00 532.300 8.52 -22.91 0.73 0.000 0.200 0.000 0.00 532.350 8.31 -23.16 0.44 0.000 0.200 0.000 0.00 532.400 8.52 -22.35 0.19 0.000 0.200 0.000 0.00 532.450 8.25 -22.49 -0.14 0.000 0.200 0.000 0.00 532.500 8.20 -19.61 -0.26 0.000 0.200 0.000 0.00 532.550 8.19 -19.68 -0.04 0.000 0.200 0.000 0.00 532.600 8.31 -20.68 -0.25 0.000 0.200 0.000 0.00 532.650 8.48 -21.21 -0.52 0.000 0.200 0.000 0.00 532.700 8.28 -19.29 -0.69 0.000 0.200 0.000 0.00 532.750 8.35 -17.66 -1.04 0.000 0.200 0.000 0.00 532.800 8.32 -17.40 -0.73 0.000 0.200 0.000 0.00 532.850 8.93 -17.90 -0.52 0.000 0.200 0.000 0.00 532.900 9.00 -19.92 -0.74 0.000 0.200 0.000 0.00 532.950 8.72 -18.73 -0.31 0.000 0.200 0.000 0.00 533.000 8.68 -20.26 -0.26 0.000 0.200 0.000 0.00 533.050 8.61 -21.26 -0.20 0.000 0.200 0.000 0.00 533.100 8.43 -22.27 -0.08 0.000 0.200 0.000 0.00 533.150 8.25 -21.65 -0.02 0.000 0.200 0.000 0.00 533.200 8.52 -21.79 -0.01 0.000 0.200 0.000 0.00 533.250 8.88 -21.45 -0.11 0.000 0.200 0.000 0.00 533.300 9.13 -18.29 -0.12 0.000 0.200 0.000 0.00 533.350 8.90 -15.74 0.53 0.000 0.200 0.000 0.00 533.400 9.10 -15.23 0.53 0.000 0.200 0.000 0.00 533.450 9.49 -12.85 0.22 0.000 0.200 0.000 0.00 533.500 9.07 -12.67 0.26 0.000 0.200 0.000 0.00 533.550 9.00 -12.48 0.59 0.000 0.200 0.000 0.00 533.600 8.83 -13.59 0.73 0.000 0.200 0.000 0.00 533.650 8.54 -15.91 0.59 0.000 0.200 0.000 0.00 533.700 8.57 -14.48 0.64 0.000 0.200 0.000 0.00 533.750 8.45 -15.31 0.34 0.000 0.200 0.000 0.00 533.800 8.87 -15.83 -0.02 0.000 0.200 0.000 0.00 533.850 8.84 -16.62 -0.03 0.000 0.200 0.000 0.00 533.900 8.91 -15.38 0.26 0.000 0.200 0.000 0.00 533.950 8.89 -12.24 -0.09 0.000 0.200 0.000 0.00 534.000 9.05 -11.59 -0.21 0.000 0.200 0.000 0.00 534.050 9.13 -12.07 -0.16 0.000 0.200 0.000 0.00 534.100 9.11 -12.48 -0.41 0.000 0.200 0.000 0.00 534.150 9.23 -14.74 -0.21 0.000 0.200 0.000 0.00 534.200 9.14 -14.84 0.13 0.000 0.200 0.000 0.00 534.250 8.76 -14.41 0.30 0.000 0.200 0.000 0.00 534.300 8.55 -15.99 0.35 0.000 0.200 0.000 0.00 534.350 8.33 -14.70 -0.05 0.000 0.200 0.000 0.00 534.400 8.49 -13.17 -0.16 0.000 0.200 0.000 0.00 534.450 8.93 -13.13 -0.31 0.000 0.200 0.000 0.00 534.500 8.57 -13.68 -0.25 0.000 0.200 0.000 0.00 534.550 8.45 -11.28 0.00 0.000 0.200 0.000 0.00 534.600 7.81 -13.53 -0.14 0.000 0.200 0.000 0.00 534.650 7.99 -14.59 0.27 0.000 0.200 0.000 0.00 534.700 7.70 -12.18 0.54 0.000 0.200 0.000 0.00 534.750 7.42 -12.66 0.62 0.000 0.200 0.000 0.00 534.800 7.77 -13.31 0.81 0.000 0.200 0.000 0.00 534.850 7.52 -13.35 0.82 0.000 0.200 0.000 0.00 534.900 7.63 -14.50 0.65 0.000 0.200 0.000 0.00 534.950 7.81 -12.31 0.61 0.000 0.200 0.000 0.00 535.000 7.63 -10.87 0.51 0.000 0.200 0.000 0.00 535.050 7.81 -13.97 0.22 0.000 0.200 0.000 0.00 535.100 7.71 -16.76 0.16 0.000 0.200 0.000 0.00 535.150 7.50 -12.50 0.53 0.000 0.200 0.000 0.00 535.200 7.63 -10.66 0.38 0.000 0.200 0.000 0.00 535.250 7.74 -13.97 0.41 0.000 0.200 0.000 0.00 535.300 7.48 -10.31 0.26 0.000 0.200 0.000 0.00 535.350 7.30 -11.98 0.24 0.000 0.200 0.000 0.00 535.400 7.21 -12.62 0.67 0.000 0.200 0.000 0.00 535.450 7.19 -12.46 0.62 0.000 0.200 0.000 0.00 535.500 6.80 -12.26 0.54 0.000 0.200 0.000 0.00 535.550 7.13 -8.24 0.28 0.000 0.200 0.000 0.00 535.600 6.98 -6.05 0.29 0.000 0.200 0.000 0.00 535.650 6.79 -7.09 0.79 0.000 0.200 0.000 0.00 535.700 6.99 -6.39 0.62 0.000 0.200 0.000 0.00 535.750 7.00 -4.96 0.76 0.000 0.200 0.000 0.00 535.800 7.07 -2.95 0.86 0.000 0.200 0.000 0.00 535.850 6.98 -4.19 0.91 0.000 0.200 0.000 0.00 535.900 7.27 -3.44 0.84 0.000 0.200 0.000 0.00 535.950 7.09 -3.17 0.61 0.000 0.200 0.000 0.00 536.000 7.19 -2.57 0.38 0.000 0.200 0.000 0.00 536.050 7.51 -1.95 0.22 0.000 0.200 0.000 0.00 536.100 7.17 -2.93 0.16 0.000 0.200 0.000 0.00 536.150 6.81 -0.44 0.17 0.000 0.200 0.000 0.00 536.200 6.64 0.96 0.05 0.000 0.200 0.000 0.00 536.250 6.73 1.00 0.23 0.000 0.200 0.000 0.00 536.300 7.06 1.35 0.18 0.000 0.200 0.000 0.00 536.350 6.72 2.06 0.17 0.000 0.200 0.000 0.00 536.400 6.73 1.31 0.13 0.000 0.200 0.000 0.00 536.450 7.03 0.66 0.57 0.000 0.200 0.000 0.00 536.500 7.01 1.91 0.71 0.000 0.200 0.000 0.00 536.550 7.32 3.11 0.71 0.000 0.200 0.000 0.00 536.600 7.29 3.86 0.97 0.000 0.200 0.000 0.00 536.650 7.31 2.06 0.51 0.000 0.200 0.000 0.00 536.700 7.02 3.27 0.25 0.000 0.200 0.000 0.00 536.750 7.01 1.13 -0.11 0.000 0.200 0.000 0.00 536.800 7.27 2.41 -0.15 0.000 0.200 0.000 0.00 536.850 7.46 1.45 -0.26 0.000 0.200 0.000 0.00 536.900 7.25 1.94 -0.32 0.000 0.200 0.000 0.00 536.950 7.25 3.93 -0.29 0.000 0.200 0.000 0.00 537.000 7.31 4.93 -1.18 0.000 0.200 0.000 0.00 537.050 7.68 6.21 -1.18 0.000 0.200 0.000 0.00 537.100 7.49 5.40 -1.44 0.000 0.200 0.000 0.00 537.150 7.02 5.67 -1.21 0.000 0.200 0.000 0.00 537.200 7.06 7.89 -1.12 0.000 0.200 0.000 0.00 537.250 7.54 6.40 -1.05 0.000 0.200 0.000 0.00 537.300 7.28 7.17 -0.65 0.000 0.200 0.000 0.00 537.350 7.25 4.04 -0.73 0.000 0.200 0.000 0.00 537.400 7.40 4.14 -0.66 0.000 0.200 0.000 0.00 537.450 7.39 1.90 -0.57 0.000 0.200 0.000 0.00 537.500 7.26 4.55 -0.46 0.000 0.200 0.000 0.00 537.550 7.46 6.99 -0.53 0.000 0.200 0.000 0.00 537.600 7.60 8.04 -0.39 0.000 0.200 0.000 0.00 537.650 7.59 5.19 -0.66 0.000 0.200 0.000 0.00 537.700 7.70 4.66 -0.27 0.000 0.200 0.000 0.00 537.750 7.79 7.67 -0.52 0.000 0.200 0.000 0.00 537.800 7.63 5.25 -0.41 0.000 0.200 0.000 0.00 537.850 7.56 3.57 -0.04 0.000 0.200 0.000 0.00 537.900 7.55 0.02 0.01 0.000 0.200 0.000 0.00 537.950 7.45 -1.02 0.03 0.000 0.200 0.000 0.00 538.000 7.31 0.95 -0.10 0.000 0.200 0.000 0.00 538.050 7.49 2.85 -0.16 0.000 0.200 0.000 0.00 538.100 7.67 2.96 -0.48 0.000 0.200 0.000 0.00 538.150 7.72 3.67 -0.15 0.000 0.200 0.000 0.00 538.200 8.19 3.00 0.53 0.000 0.200 0.000 0.00 538.250 8.00 2.39 0.64 0.000 0.200 0.000 0.00 538.300 7.85 2.02 0.04 0.000 0.200 0.000 0.00 538.350 7.85 0.72 0.09 0.000 0.200 0.000 0.00 538.400 7.63 -1.35 0.55 0.000 0.200 0.000 0.00 538.450 7.75 -0.35 0.58 0.000 0.200 0.000 0.00 538.500 7.84 -0.02 0.80 0.000 0.200 0.000 0.00 538.550 7.65 1.88 0.84 0.000 0.200 0.000 0.00 538.600 7.83 -0.94 0.68 0.000 0.200 0.000 0.00 538.650 7.70 -1.74 0.63 0.000 0.200 0.000 0.00 538.700 7.67 -2.45 0.50 0.000 0.200 0.000 0.00 538.750 7.79 -2.82 0.49 0.000 0.200 0.000 0.00 538.800 7.75 -0.21 0.54 0.000 0.200 0.000 0.00 538.850 8.20 -0.69 0.59 0.000 0.200 0.000 0.00 538.900 7.98 -0.35 0.53 0.000 0.200 0.000 0.00 538.950 7.96 -2.74 0.61 0.000 0.200 0.000 0.00 539.000 7.59 -4.54 0.45 0.000 0.200 0.000 0.00 539.050 7.49 -4.42 0.49 0.000 0.200 0.000 0.00 539.100 7.56 -3.90 0.32 0.000 0.200 0.000 0.00 539.150 7.79 -1.99 0.12 0.000 0.200 0.000 0.00 539.200 7.81 -3.22 0.04 0.000 0.200 0.000 0.00 539.250 8.04 -5.28 0.08 0.000 0.200 0.000 0.00 539.300 7.98 -1.13 0.00 0.000 0.200 0.000 0.00 539.350 7.85 -0.48 0.13 0.000 0.200 0.000 0.00 539.400 8.21 -1.84 0.21 0.000 0.200 0.000 0.00 539.450 7.98 -4.81 0.17 0.000 0.200 0.000 0.00 539.500 7.78 -5.09 0.19 0.000 0.200 0.000 0.00 539.550 7.70 -3.05 0.51 0.000 0.200 0.000 0.00 539.600 8.01 -0.50 0.20 0.000 0.200 0.000 0.00 539.650 8.44 -3.08 0.02 0.000 0.200 0.000 0.00 539.700 8.34 -2.71 -0.35 0.000 0.200 0.000 0.00 539.750 8.36 -2.33 -0.09 0.000 0.200 0.000 0.00 539.800 8.48 0.54 -0.10 0.000 0.200 0.000 0.00 539.850 8.48 2.79 -0.40 0.000 0.200 0.000 0.00 539.900 8.26 3.13 -0.54 0.000 0.200 0.000 0.00 539.950 8.28 2.10 -0.84 0.000 0.200 0.000 0.00 540.000 8.13 1.47 -0.66 0.000 0.200 0.000 0.00 540.050 8.24 1.22 -1.06 0.000 0.200 0.000 0.00 540.100 8.44 2.73 -1.52 0.000 0.200 0.000 0.00 540.150 8.53 4.01 -1.17 0.000 0.200 0.000 0.00 540.200 8.25 3.87 -0.88 0.000 0.200 0.000 0.00 540.250 8.48 4.05 -1.27 0.000 0.200 0.000 0.00 540.300 8.58 2.10 -1.21 0.000 0.200 0.000 0.00 540.350 8.48 -0.14 -1.04 0.000 0.200 0.000 0.00 540.400 8.60 -1.63 -0.94 0.000 0.200 0.000 0.00 540.450 8.51 0.10 -0.95 0.000 0.200 0.000 0.00 540.500 8.69 -2.02 -1.07 0.000 0.200 0.000 0.00 540.550 8.64 -1.68 -1.22 0.000 0.200 0.000 0.00 540.600 8.77 -4.86 -1.22 0.000 0.200 0.000 0.00 540.650 8.77 -2.19 -1.23 0.000 0.200 0.000 0.00 540.700 9.10 -3.15 -1.06 0.000 0.200 0.000 0.00 540.750 8.93 -4.13 -1.09 0.000 0.200 0.000 0.00 540.800 8.74 -5.00 -1.02 0.000 0.200 0.000 0.00 540.850 8.53 -5.63 -0.81 0.000 0.200 0.000 0.00 540.900 8.58 -4.85 -1.12 0.000 0.200 0.000 0.00 540.950 8.60 -4.82 -1.26 0.000 0.200 0.000 0.00 541.000 8.88 -1.65 -1.29 0.000 0.200 0.000 0.00 541.050 8.92 -2.09 -1.23 0.000 0.200 0.000 0.00 541.100 8.82 -0.74 -1.37 0.000 0.200 0.000 0.00 541.150 8.79 -1.33 -1.16 0.000 0.200 0.000 0.00 541.200 8.46 -4.28 -1.67 0.000 0.200 0.000 0.00 541.250 8.59 -4.09 -1.82 0.000 0.200 0.000 0.00 541.300 8.75 -0.66 -1.80 0.000 0.200 0.000 0.00 541.350 8.78 -2.64 -1.37 0.000 0.200 0.000 0.00 541.400 8.94 -4.53 -1.41 0.000 0.200 0.000 0.00 541.450 9.07 -4.64 -1.31 0.000 0.200 0.000 0.00 541.500 8.82 -4.47 -1.00 0.000 0.200 0.000 0.00 541.550 8.80 -4.35 -0.94 0.000 0.200 0.000 0.00 541.600 8.97 -4.07 -1.07 0.000 0.200 0.000 0.00 541.650 8.78 -5.08 -1.28 0.000 0.200 0.000 0.00 541.700 8.83 -4.21 -1.07 0.000 0.200 0.000 0.00 541.750 8.83 -2.69 -1.54 0.000 0.200 0.000 0.00 541.800 8.62 -2.91 -1.54 0.000 0.200 0.000 0.00 541.850 8.95 -4.63 -1.48 0.000 0.200 0.000 0.00 541.900 8.96 -4.68 -1.19 0.000 0.200 0.000 0.00 541.950 8.75 -3.69 -1.13 0.000 0.200 0.000 0.00 542.000 8.55 -2.43 -0.80 0.000 0.200 0.000 0.00 542.050 8.66 -4.26 -0.86 0.000 0.200 0.000 0.00 542.100 8.80 -6.20 -0.78 0.000 0.200 0.000 0.00 542.150 8.68 -5.35 -0.91 0.000 0.200 0.000 0.00 542.200 8.43 -3.53 -0.85 0.000 0.200 0.000 0.00 542.250 8.42 -2.18 -1.02 0.000 0.200 0.000 0.00 542.300 8.53 -2.86 -0.87 0.000 0.200 0.000 0.00 542.350 8.59 -1.62 -0.60 0.000 0.200 0.000 0.00 542.400 8.62 -3.04 -0.42 0.000 0.200 0.000 0.00 542.450 8.72 -5.54 -0.52 0.000 0.200 0.000 0.00 542.500 8.80 -5.06 -0.58 0.000 0.200 0.000 0.00 542.550 9.10 -3.32 -0.66 0.000 0.200 0.000 0.00 542.600 9.10 -5.52 -0.42 0.000 0.200 0.000 0.00 542.650 8.96 -4.43 0.19 0.000 0.200 0.000 0.00 542.700 9.19 -3.86 -0.20 0.000 0.200 0.000 0.00 542.750 8.86 -1.22 -0.82 0.000 0.200 0.000 0.00 542.800 9.08 -1.20 -0.33 0.000 0.200 0.000 0.00 542.850 9.19 -3.43 -0.25 0.000 0.200 0.000 0.00 542.900 9.17 -2.91 -0.13 0.000 0.200 0.000 0.00 542.950 9.05 -1.59 -0.14 0.000 0.200 0.000 0.00 543.000 8.70 0.03 -0.21 0.000 0.200 0.000 0.00 543.050 8.72 2.85 -0.18 0.000 0.200 0.000 0.00 543.100 8.63 2.40 -0.13 0.000 0.200 0.000 0.00 543.150 8.48 0.46 -0.16 0.000 0.200 0.000 0.00 543.200 8.66 -1.02 -0.11 0.000 0.200 0.000 0.00 543.250 8.40 -1.15 0.12 0.000 0.200 0.000 0.00 543.300 8.44 -2.66 0.07 0.000 0.200 0.000 0.00 543.350 8.34 -2.20 0.12 0.000 0.200 0.000 0.00 543.400 8.26 -0.69 0.26 0.000 0.200 0.000 0.00 543.450 8.11 -2.81 0.15 0.000 0.200 0.000 0.00 543.500 8.25 -4.01 -0.08 0.000 0.200 0.000 0.00 543.550 8.15 -3.61 -0.44 0.000 0.200 0.000 0.00 543.600 7.95 -0.60 -0.55 0.000 0.200 0.000 0.00 543.650 7.81 -1.08 -0.93 0.000 0.200 0.000 0.00 543.700 7.81 -1.04 -0.39 0.000 0.200 0.000 0.00 543.750 7.62 -1.38 -0.73 0.000 0.200 0.000 0.00 543.800 7.68 -2.94 -0.95 0.000 0.200 0.000 0.00 543.850 7.61 -1.67 -0.63 0.000 0.200 0.000 0.00 543.900 7.49 -4.49 -0.59 0.000 0.200 0.000 0.00 543.950 7.58 -4.44 -0.63 0.000 0.200 0.000 0.00 544.000 7.80 -6.73 -0.85 0.000 0.200 0.000 0.00 544.050 7.83 -9.24 -0.53 0.000 0.200 0.000 0.00 544.100 7.89 -6.63 -0.24 0.000 0.200 0.000 0.00 544.150 7.61 -5.01 -0.42 0.000 0.200 0.000 0.00 544.200 7.90 -4.70 -0.26 0.000 0.200 0.000 0.00 544.250 7.71 -3.88 -0.01 0.000 0.200 0.000 0.00 544.300 7.79 -5.14 0.00 0.000 0.200 0.000 0.00 544.350 7.71 -6.47 -0.30 0.000 0.200 0.000 0.00 544.400 7.62 -8.66 -0.20 0.000 0.200 0.000 0.00 544.450 7.54 -8.05 -0.06 0.000 0.200 0.000 0.00 544.500 7.44 -5.82 -0.01 0.000 0.200 0.000 0.00 544.550 7.66 -3.79 -0.04 0.000 0.200 0.000 0.00 544.600 7.91 -4.76 -0.05 0.000 0.200 0.000 0.00 544.650 7.95 -5.59 0.00 0.000 0.200 0.000 0.00 544.700 7.86 -6.61 0.04 0.000 0.200 0.000 0.00 544.750 7.69 -7.23 -0.29 0.000 0.200 0.000 0.00 544.800 7.55 -6.95 -0.37 0.000 0.200 0.000 0.00 544.850 7.87 -8.08 -0.65 0.000 0.200 0.000 0.00 544.900 7.63 -7.67 -0.67 0.000 0.200 0.000 0.00 544.950 7.17 -6.56 -0.42 0.000 0.200 0.000 0.00 545.000 7.08 -8.45 0.25 0.000 0.200 0.000 0.00 545.050 6.99 -10.63 0.20 0.000 0.200 0.000 0.00 545.100 6.99 -11.76 0.52 0.000 0.200 0.000 0.00 545.150 6.90 -13.87 0.50 0.000 0.200 0.000 0.00 545.200 6.96 -17.79 0.56 0.000 0.200 0.000 0.00 545.250 6.86 -16.60 0.34 0.000 0.200 0.000 0.00 545.300 6.74 -15.52 0.03 0.000 0.200 0.000 0.00 545.350 6.62 -13.71 -0.18 0.000 0.200 0.000 0.00 545.400 6.60 -13.51 0.00 0.000 0.200 0.000 0.00 545.450 6.56 -12.40 0.09 0.000 0.200 0.000 0.00 545.500 6.55 -9.24 -0.07 0.000 0.200 0.000 0.00 545.550 6.67 -7.80 -0.18 0.000 0.200 0.000 0.00 545.600 6.71 -9.18 -0.31 0.000 0.200 0.000 0.00 545.650 6.54 -7.77 -0.19 0.000 0.200 0.000 0.00 545.700 6.50 -4.19 0.14 0.000 0.200 0.000 0.00 545.750 7.05 -4.67 -0.02 0.000 0.200 0.000 0.00 545.800 6.99 -3.47 -0.07 0.000 0.200 0.000 0.00 545.850 7.21 -3.75 -0.16 0.000 0.200 0.000 0.00 545.900 7.06 -7.57 -0.33 0.000 0.200 0.000 0.00 545.950 6.97 -6.12 -0.41 0.000 0.200 0.000 0.00 546.000 7.00 -8.68 0.22 0.000 0.200 0.000 0.00 546.050 7.20 -8.86 0.19 0.000 0.200 0.000 0.00 546.100 7.18 -12.77 -0.09 0.000 0.200 0.000 0.00 546.150 7.20 -13.09 -0.21 0.000 0.200 0.000 0.00 546.200 7.29 -10.79 0.04 0.000 0.200 0.000 0.00 546.250 7.33 -11.93 -0.01 0.000 0.200 0.000 0.00 546.300 6.95 -8.69 0.00 0.000 0.200 0.000 0.00 546.350 7.29 -8.99 0.27 0.000 0.200 0.000 0.00 546.400 7.12 -9.35 0.37 0.000 0.200 0.000 0.00 546.450 7.36 -10.72 0.36 0.000 0.200 0.000 0.00 546.500 7.01 -8.80 0.33 0.000 0.200 0.000 0.00 546.550 6.79 -11.80 0.59 0.000 0.200 0.000 0.00 546.600 6.79 -15.19 0.84 0.000 0.200 0.000 0.00 546.650 6.80 -12.89 0.90 0.000 0.200 0.000 0.00 546.700 6.91 -14.82 1.09 0.000 0.200 0.000 0.00 546.750 6.91 -14.48 0.93 0.000 0.200 0.000 0.00 546.800 7.13 -13.43 0.76 0.000 0.200 0.000 0.00 546.850 7.37 -11.33 0.59 0.000 0.200 0.000 0.00 546.900 7.32 -10.56 0.46 0.000 0.200 0.000 0.00 546.950 7.62 -11.60 0.41 0.000 0.200 0.000 0.00 547.000 7.78 -10.31 0.27 0.000 0.200 0.000 0.00 547.050 7.73 -9.55 0.15 0.000 0.200 0.000 0.00 547.100 7.79 -10.94 0.24 0.000 0.200 0.000 0.00 547.150 7.46 -12.39 0.60 0.000 0.200 0.000 0.00 547.200 7.47 -11.45 0.52 0.000 0.200 0.000 0.00 547.250 7.36 -9.92 0.60 0.000 0.200 0.000 0.00 547.300 7.45 -9.39 0.56 0.000 0.200 0.000 0.00 547.350 7.04 -9.65 0.47 0.000 0.200 0.000 0.00 547.400 7.15 -9.06 0.66 0.000 0.200 0.000 0.00 547.450 7.13 -8.93 0.54 0.000 0.200 0.000 0.00 547.500 7.02 -8.91 0.59 0.000 0.200 0.000 0.00 547.550 7.05 -4.95 0.54 0.000 0.200 0.000 0.00 547.600 7.21 -4.24 0.81 0.000 0.200 0.000 0.00 547.650 7.30 -2.73 0.75 0.000 0.200 0.000 0.00 547.700 7.64 -4.91 0.99 0.000 0.200 0.000 0.00 547.750 7.81 -1.01 0.89 0.000 0.200 0.000 0.00 547.800 7.75 -1.97 0.48 0.000 0.200 0.000 0.00 547.850 7.94 -3.07 0.11 0.000 0.200 0.000 0.00 547.900 7.78 -0.72 0.07 0.000 0.200 0.000 0.00 547.950 7.48 0.99 0.16 0.000 0.200 0.000 0.00 548.000 7.57 -0.43 0.21 0.000 0.200 0.000 0.00 548.050 7.62 -2.94 0.57 0.000 0.200 0.000 0.00 548.100 7.34 -3.39 0.20 0.000 0.200 0.000 0.00 548.150 7.39 -4.04 -0.01 0.000 0.200 0.000 0.00 548.200 7.39 -3.33 0.15 0.000 0.200 0.000 0.00 548.250 7.29 -3.13 0.19 0.000 0.200 0.000 0.00 548.300 7.64 -1.50 0.21 0.000 0.200 0.000 0.00 548.350 7.48 -0.74 0.26 0.000 0.200 0.000 0.00 548.400 7.51 -0.32 0.22 0.000 0.200 0.000 0.00 548.450 7.52 1.87 0.71 0.000 0.200 0.000 0.00 548.500 7.59 -2.38 0.83 0.000 0.200 0.000 0.00 548.550 7.80 -2.18 1.00 0.000 0.200 0.000 0.00 548.600 7.97 -0.14 0.94 0.000 0.200 0.000 0.00 548.650 7.75 -0.45 0.90 0.000 0.200 0.000 0.00 548.700 7.82 0.94 0.47 0.000 0.200 0.000 0.00 548.750 7.99 -2.46 0.45 0.000 0.200 0.000 0.00 548.800 8.19 -2.16 0.15 0.000 0.200 0.000 0.00 548.850 8.11 -2.61 0.26 0.000 0.200 0.000 0.00 548.900 8.15 0.18 0.18 0.000 0.200 0.000 0.00 548.950 8.03 1.49 0.08 0.000 0.200 0.000 0.00 549.000 7.76 0.02 -0.03 0.000 0.200 0.000 0.00 549.050 7.51 1.20 -0.31 0.000 0.200 0.000 0.00 549.100 7.48 1.08 -0.35 0.000 0.200 0.000 0.00 549.150 7.72 0.97 -0.30 0.000 0.200 0.000 0.00 549.200 7.42 0.35 -0.71 0.000 0.200 0.000 0.00 549.250 7.47 0.77 -0.67 0.000 0.200 0.000 0.00 549.300 7.81 -1.06 -0.57 0.000 0.200 0.000 0.00 549.350 7.67 -0.89 -0.33 0.000 0.200 0.000 0.00 549.400 7.51 -3.81 -0.16 0.000 0.200 0.000 0.00 549.450 7.48 -4.88 -0.61 0.000 0.200 0.000 0.00 549.500 7.87 -9.23 -0.52 0.000 0.200 0.000 0.00 549.550 8.46 -10.77 -0.49 0.000 0.200 0.000 0.00 549.600 8.21 -7.79 -0.60 0.000 0.200 0.000 0.00 549.650 8.07 -8.15 -0.67 0.000 0.200 0.000 0.00 549.700 8.23 -8.18 -0.75 0.000 0.200 0.000 0.00 549.750 8.34 -7.91 -0.56 0.000 0.200 0.000 0.00 549.800 8.48 -7.15 -0.41 0.000 0.200 0.000 0.00 549.850 8.59 -6.82 -0.27 0.000 0.200 0.000 0.00 549.900 8.53 -6.53 -0.46 0.000 0.200 0.000 0.00 549.950 8.82 -8.01 -0.39 0.000 0.200 0.000 0.00 550.000 8.53 -9.90 -0.01 0.000 0.200 0.000 0.00 550.050 8.97 -8.61 -0.19 0.000 0.200 0.000 0.00 550.100 8.82 -6.98 0.02 0.000 0.200 0.000 0.00 550.150 8.55 -6.53 0.02 0.000 0.200 0.000 0.00 550.200 8.12 -7.41 0.16 0.000 0.200 0.000 0.00 550.250 8.13 -6.56 0.14 0.000 0.200 0.000 0.00 550.300 8.10 -6.42 0.06 0.000 0.200 0.000 0.00 550.350 8.55 -6.96 0.13 0.000 0.200 0.000 0.00 550.400 8.41 -5.49 0.22 0.000 0.200 0.000 0.00 550.450 8.41 -4.58 0.24 0.000 0.200 0.000 0.00 550.500 8.37 -6.62 0.39 0.000 0.200 0.000 0.00 550.550 8.65 -5.96 0.26 0.000 0.200 0.000 0.00 550.600 8.61 -9.35 0.34 0.000 0.200 0.000 0.00 550.650 8.48 -8.83 0.30 0.000 0.200 0.000 0.00 550.700 8.41 -7.20 0.48 0.000 0.200 0.000 0.00 550.750 8.38 -10.54 0.19 0.000 0.200 0.000 0.00 550.800 8.31 -8.34 -0.03 0.000 0.200 0.000 0.00 550.850 7.99 -9.17 0.07 0.000 0.200 0.000 0.00 550.900 7.99 -7.16 -0.01 0.000 0.200 0.000 0.00 550.950 8.07 -8.19 -0.38 0.000 0.200 0.000 0.00 551.000 8.30 -9.65 -0.70 0.000 0.200 0.000 0.00 551.050 8.06 -7.56 -0.26 0.000 0.200 0.000 0.00 551.100 7.88 -7.71 -0.37 0.000 0.200 0.000 0.00 551.150 7.93 -7.33 -0.25 0.000 0.200 0.000 0.00 551.200 8.14 -5.57 -0.21 0.000 0.200 0.000 0.00 551.250 8.15 -5.41 -0.21 0.000 0.200 0.000 0.00 551.300 8.12 -4.60 -0.81 0.000 0.200 0.000 0.00 551.350 8.26 -2.94 -0.97 0.000 0.200 0.000 0.00 551.400 8.31 -3.24 -0.72 0.000 0.200 0.000 0.00 551.450 8.21 -4.67 -0.75 0.000 0.200 0.000 0.00 551.500 8.20 -6.11 -0.55 0.000 0.200 0.000 0.00 551.550 8.14 -5.93 -0.58 0.000 0.200 0.000 0.00 551.600 7.95 -6.03 -0.81 0.000 0.200 0.000 0.00 551.650 7.95 -6.81 -0.75 0.000 0.200 0.000 0.00 551.700 7.96 -7.31 -0.89 0.000 0.200 0.000 0.00 551.750 8.01 -5.03 -1.05 0.000 0.200 0.000 0.00 551.800 7.62 -3.99 -0.45 0.000 0.200 0.000 0.00 551.850 7.62 -7.05 -0.61 0.000 0.200 0.000 0.00 551.900 7.74 -8.28 -0.80 0.000 0.200 0.000 0.00 551.950 7.54 -8.55 -0.92 0.000 0.200 0.000 0.00 552.000 7.28 -9.17 -0.93 0.000 0.200 0.000 0.00 552.050 7.62 -9.68 -0.37 0.000 0.200 0.000 0.00 552.100 7.67 -9.91 -0.19 0.000 0.200 0.000 0.00 552.150 7.40 -13.65 -0.31 0.000 0.200 0.000 0.00 552.200 7.54 -14.27 -0.48 0.000 0.200 0.000 0.00 552.250 7.41 -12.10 -0.58 0.000 0.200 0.000 0.00 552.300 7.52 -10.34 -0.63 0.000 0.200 0.000 0.00 552.350 7.29 -9.86 -0.54 0.000 0.200 0.000 0.00 552.400 7.34 -9.49 -0.70 0.000 0.200 0.000 0.00 552.450 7.41 -9.25 -0.62 0.000 0.200 0.000 0.00 552.500 7.50 -11.87 -0.70 0.000 0.200 0.000 0.00 552.550 7.94 -13.72 -0.93 0.000 0.200 0.000 0.00 552.600 8.07 -12.63 -0.77 0.000 0.200 0.000 0.00 552.650 7.70 -12.91 -0.53 0.000 0.200 0.000 0.00 552.700 7.58 -13.03 -0.27 0.000 0.200 0.000 0.00 552.750 7.35 -16.71 0.29 0.000 0.200 0.000 0.00 552.800 7.31 -13.21 0.54 0.000 0.200 0.000 0.00 552.850 7.48 -10.36 0.25 0.000 0.200 0.000 0.00 552.900 7.55 -6.72 0.47 0.000 0.200 0.000 0.00 552.950 7.92 -6.69 0.90 0.000 0.200 0.000 0.00 553.000 7.86 -8.78 0.76 0.000 0.200 0.000 0.00 553.050 8.18 -10.83 0.36 0.000 0.200 0.000 0.00 553.100 8.18 -10.64 0.36 0.000 0.200 0.000 0.00 553.150 8.30 -10.57 0.27 0.000 0.200 0.000 0.00 553.200 8.44 -11.92 0.07 0.000 0.200 0.000 0.00 553.250 8.49 -10.47 -0.10 0.000 0.200 0.000 0.00 553.300 8.76 -10.12 -0.25 0.000 0.200 0.000 0.00 553.350 8.79 -11.36 -0.52 0.000 0.200 0.000 0.00 553.400 8.69 -11.23 -0.32 0.000 0.200 0.000 0.00 553.450 8.75 -10.14 -0.10 0.000 0.200 0.000 0.00 553.500 8.83 -8.45 0.10 0.000 0.200 0.000 0.00 553.550 8.78 -8.54 0.20 0.000 0.200 0.000 0.00 553.600 9.07 -8.73 0.13 0.000 0.200 0.000 0.00 553.650 9.10 -6.47 -0.09 0.000 0.200 0.000 0.00 553.700 8.68 -6.02 -0.26 0.000 0.200 0.000 0.00 553.750 8.70 -7.39 0.09 0.000 0.200 0.000 0.00 553.800 8.49 -8.46 0.24 0.000 0.200 0.000 0.00 553.850 8.64 -8.93 0.22 0.000 0.200 0.000 0.00 553.900 8.53 -8.49 0.40 0.000 0.200 0.000 0.00 553.950 8.18 -8.67 0.08 0.000 0.200 0.000 0.00 554.000 8.26 -11.82 -0.06 0.000 0.200 0.000 0.00 554.050 8.16 -11.99 -0.33 0.000 0.200 0.000 0.00 554.100 7.76 -9.20 0.02 0.000 0.200 0.000 0.00 554.150 7.88 -10.06 0.12 0.000 0.200 0.000 0.00 554.200 8.02 -11.79 0.16 0.000 0.200 0.000 0.00 554.250 8.10 -11.78 0.33 0.000 0.200 0.000 0.00 554.300 8.17 -12.96 0.29 0.000 0.200 0.000 0.00 554.350 8.23 -11.43 0.31 0.000 0.200 0.000 0.00 554.400 8.39 -9.70 0.22 0.000 0.200 0.000 0.00 554.450 8.41 -9.04 0.05 0.000 0.200 0.000 0.00 554.500 8.40 -12.06 0.48 0.000 0.200 0.000 0.00 554.550 8.51 -12.16 0.50 0.000 0.200 0.000 0.00 554.600 8.38 -13.07 0.31 0.000 0.200 0.000 0.00 554.650 8.16 -14.25 0.18 0.000 0.200 0.000 0.00 554.700 8.33 -14.21 -0.01 0.000 0.200 0.000 0.00 554.750 8.10 -13.91 -0.22 0.000 0.200 0.000 0.00 554.800 8.03 -12.60 -0.11 0.000 0.200 0.000 0.00 554.850 8.09 -10.92 -0.07 0.000 0.200 0.000 0.00 554.900 7.90 -8.99 -0.27 0.000 0.200 0.000 0.00 554.950 8.35 -8.52 -0.25 0.000 0.200 0.000 0.00 555.000 8.79 -8.48 -0.12 0.000 0.200 0.000 0.00 555.050 8.62 -7.17 -0.45 0.000 0.200 0.000 0.00 555.100 8.91 -7.10 -0.58 0.000 0.200 0.000 0.00 555.150 8.49 -6.34 -0.12 0.000 0.200 0.000 0.00 555.200 8.38 -5.97 -0.38 0.000 0.200 0.000 0.00 555.250 8.33 -5.41 -0.61 0.000 0.200 0.000 0.00 555.300 8.66 -3.91 -0.84 0.000 0.200 0.000 0.00 555.350 8.27 -1.64 -0.79 0.000 0.200 0.000 0.00 555.400 8.14 -5.34 -0.84 0.000 0.200 0.000 0.00 555.450 8.58 -5.84 -0.63 0.000 0.200 0.000 0.00 555.500 8.73 -5.66 0.10 0.000 0.200 0.000 0.00 555.550 8.76 -2.92 0.09 0.000 0.200 0.000 0.00 555.600 8.67 -4.12 0.40 0.000 0.200 0.000 0.00 555.650 8.51 -5.79 0.19 0.000 0.200 0.000 0.00 555.700 8.95 -7.61 0.24 0.000 0.200 0.000 0.00 555.750 9.12 -9.95 0.28 0.000 0.200 0.000 0.00 555.800 9.31 -10.25 0.51 0.000 0.200 0.000 0.00 555.850 8.94 -8.22 0.98 0.000 0.200 0.000 0.00 555.900 8.65 -8.10 1.32 0.000 0.200 0.000 0.00 555.950 8.80 -8.87 1.13 0.000 0.200 0.000 0.00 556.000 8.80 -8.76 0.95 0.000 0.200 0.000 0.00 556.050 8.66 -10.74 0.81 0.000 0.200 0.000 0.00 556.100 8.32 -13.93 0.76 0.000 0.200 0.000 0.00 556.150 8.64 -16.15 0.19 0.000 0.200 0.000 0.00 556.200 8.84 -14.30 -0.18 0.000 0.200 0.000 0.00 556.250 8.98 -12.57 0.14 0.000 0.200 0.000 0.00 556.300 9.10 -12.14 0.43 0.000 0.200 0.000 0.00 556.350 8.95 -14.50 -0.02 0.000 0.200 0.000 0.00 556.400 8.89 -18.46 -0.23 0.000 0.200 0.000 0.00 556.450 8.59 -18.65 0.09 0.000 0.200 0.000 0.00 556.500 8.45 -14.75 0.42 0.000 0.200 0.000 0.00 556.550 8.49 -14.87 0.39 0.000 0.200 0.000 0.00 556.600 8.40 -16.67 0.06 0.000 0.200 0.000 0.00 556.650 8.38 -17.53 0.02 0.000 0.200 0.000 0.00 556.700 8.67 -16.57 0.35 0.000 0.200 0.000 0.00 556.750 8.77 -17.88 0.11 0.000 0.200 0.000 0.00 556.800 8.57 -16.61 0.28 0.000 0.200 0.000 0.00 556.850 8.71 -14.60 0.36 0.000 0.200 0.000 0.00 556.900 9.29 -14.77 0.15 0.000 0.200 0.000 0.00 556.950 8.94 -18.29 -0.02 0.000 0.200 0.000 0.00 557.000 8.97 -19.02 -0.50 0.000 0.200 0.000 0.00 557.050 9.13 -16.74 -0.48 0.000 0.200 0.000 0.00 557.100 8.89 -17.72 -0.41 0.000 0.200 0.000 0.00 557.150 9.24 -17.21 -0.21 0.000 0.200 0.000 0.00 557.200 9.24 -17.99 -0.07 0.000 0.200 0.000 0.00 557.250 9.13 -16.06 -0.25 0.000 0.200 0.000 0.00 557.300 9.56 -16.97 -0.34 0.000 0.200 0.000 0.00 557.350 9.47 -13.48 -0.46 0.000 0.200 0.000 0.00 557.400 9.36 -12.12 -0.65 0.000 0.200 0.000 0.00 557.450 9.34 -14.26 -0.46 0.000 0.200 0.000 0.00 557.500 9.39 -13.32 -0.50 0.000 0.200 0.000 0.00 557.550 9.12 -14.41 -0.50 0.000 0.200 0.000 0.00 557.600 8.95 -14.81 -0.75 0.000 0.200 0.000 0.00 557.650 9.06 -15.87 -0.76 0.000 0.200 0.000 0.00 557.700 9.28 -13.99 -0.59 0.000 0.200 0.000 0.00 557.750 9.39 -14.73 -0.71 0.000 0.200 0.000 0.00 557.800 9.64 -14.96 -0.55 0.000 0.200 0.000 0.00 557.850 9.52 -16.19 -0.49 0.000 0.200 0.000 0.00 557.900 9.43 -15.53 -0.68 0.000 0.200 0.000 0.00 557.950 9.61 -16.10 -0.90 0.000 0.200 0.000 0.00 558.000 9.58 -15.76 -0.53 0.000 0.200 0.000 0.00 558.050 9.77 -15.24 -0.23 0.000 0.200 0.000 0.00 558.100 9.81 -15.25 0.28 0.000 0.200 0.000 0.00 558.150 9.88 -14.62 -0.01 0.000 0.200 0.000 0.00 558.200 9.66 -15.02 -0.26 0.000 0.200 0.000 0.00 558.250 9.55 -15.45 -0.62 0.000 0.200 0.000 0.00 558.300 9.69 -16.58 -0.43 0.000 0.200 0.000 0.00 558.350 9.57 -16.73 -0.32 0.000 0.200 0.000 0.00 558.400 9.98 -19.00 -0.19 0.000 0.200 0.000 0.00 558.450 10.01 -20.81 -0.31 0.000 0.200 0.000 0.00 558.500 9.97 -21.99 -0.18 0.000 0.200 0.000 0.00 558.550 9.64 -20.55 -0.04 0.000 0.200 0.000 0.00 558.600 9.57 -20.29 0.09 0.000 0.200 0.000 0.00 558.650 9.38 -20.43 -0.07 0.000 0.200 0.000 0.00 558.700 9.16 -20.86 -0.19 0.000 0.200 0.000 0.00 558.750 9.12 -21.74 -0.03 0.000 0.200 0.000 0.00 558.800 9.00 -20.25 -0.03 0.000 0.200 0.000 0.00 558.850 8.67 -20.44 0.09 0.000 0.200 0.000 0.00 558.900 8.88 -22.97 0.63 0.000 0.200 0.000 0.00 558.950 9.02 -21.97 0.28 0.000 0.200 0.000 0.00 559.000 8.77 -23.16 0.16 0.000 0.200 0.000 0.00 559.050 8.66 -23.74 0.21 0.000 0.200 0.000 0.00 559.100 8.78 -22.28 0.24 0.000 0.200 0.000 0.00 559.150 8.83 -19.93 0.68 0.000 0.200 0.000 0.00 559.200 8.74 -19.02 0.54 0.000 0.200 0.000 0.00 559.250 8.61 -21.31 0.45 0.000 0.200 0.000 0.00 559.300 8.98 -19.44 0.84 0.000 0.200 0.000 0.00 559.350 9.09 -22.04 0.85 0.000 0.200 0.000 0.00 559.400 9.32 -24.49 0.43 0.000 0.200 0.000 0.00 559.450 9.58 -25.51 0.22 0.000 0.200 0.000 0.00 559.500 9.72 -24.29 0.23 0.000 0.200 0.000 0.00 559.550 9.51 -23.78 0.23 0.000 0.200 0.000 0.00 559.600 9.37 -21.50 -0.24 0.000 0.200 0.000 0.00 559.650 9.09 -19.73 -0.38 0.000 0.200 0.000 0.00 559.700 9.14 -21.57 -0.43 0.000 0.200 0.000 0.00 559.750 8.85 -21.79 -0.57 0.000 0.200 0.000 0.00 559.800 8.89 -16.84 -0.38 0.000 0.200 0.000 0.00 559.850 8.90 -16.85 -0.53 0.000 0.200 0.000 0.00 559.900 9.05 -16.33 -0.75 0.000 0.200 0.000 0.00 559.950 9.20 -16.99 -0.84 0.000 0.200 0.000 0.00 560.000 8.93 -16.61 -0.87 0.000 0.200 0.000 0.00 560.050 9.00 -17.07 -0.60 0.000 0.200 0.000 0.00 560.100 9.15 -15.42 -0.49 0.000 0.200 0.000 0.00 560.150 9.17 -14.61 -0.88 0.000 0.200 0.000 0.00 560.200 9.32 -15.80 -0.92 0.000 0.200 0.000 0.00 560.250 9.66 -15.41 -0.93 0.000 0.200 0.000 0.00 560.300 9.62 -15.22 -1.05 0.000 0.200 0.000 0.00 560.350 9.63 -14.47 -0.92 0.000 0.200 0.000 0.00 560.400 9.86 -14.58 -0.65 0.000 0.200 0.000 0.00 560.450 9.57 -14.88 -0.89 0.000 0.200 0.000 0.00 560.500 9.55 -15.92 -0.98 0.000 0.200 0.000 0.00 560.550 9.58 -14.32 -0.72 0.000 0.200 0.000 0.00 560.600 9.54 -14.17 -0.62 0.000 0.200 0.000 0.00 560.650 9.34 -15.27 -0.26 0.000 0.200 0.000 0.00 560.700 9.03 -12.86 -0.31 0.000 0.200 0.000 0.00 560.750 9.05 -11.62 -0.47 0.000 0.200 0.000 0.00 560.800 9.22 -13.28 -0.37 0.000 0.200 0.000 0.00 560.850 9.10 -9.99 -0.25 0.000 0.200 0.000 0.00 560.900 9.02 -8.99 -0.11 0.000 0.200 0.000 0.00 560.950 9.20 -7.64 -0.04 0.000 0.200 0.000 0.00 561.000 8.83 -7.95 -0.35 0.000 0.200 0.000 0.00 561.050 9.03 -8.48 -0.33 0.000 0.200 0.000 0.00 561.100 9.13 -7.78 -0.17 0.000 0.200 0.000 0.00 561.150 9.33 -6.19 -0.41 0.000 0.200 0.000 0.00 561.200 9.61 -5.36 -0.63 0.000 0.200 0.000 0.00 561.250 9.53 -4.22 -0.68 0.000 0.200 0.000 0.00 561.300 9.59 -3.93 -0.80 0.000 0.200 0.000 0.00 561.350 9.32 -2.91 -0.89 0.000 0.200 0.000 0.00 561.400 9.47 -1.13 -0.95 0.000 0.200 0.000 0.00 561.450 9.52 -1.84 -1.11 0.000 0.200 0.000 0.00 561.500 9.50 -0.04 -1.02 0.000 0.200 0.000 0.00 561.550 9.32 0.84 -1.05 0.000 0.200 0.000 0.00 561.600 9.39 -0.63 -0.61 0.000 0.200 0.000 0.00 561.650 9.24 -0.50 -0.69 0.000 0.200 0.000 0.00 561.700 9.20 -3.03 -0.68 0.000 0.200 0.000 0.00 561.750 9.20 -1.58 -0.67 0.000 0.200 0.000 0.00 561.800 9.01 -0.81 -0.86 0.000 0.200 0.000 0.00 561.850 8.92 -3.38 -0.59 0.000 0.200 0.000 0.00 561.900 8.97 -2.47 -0.40 0.000 0.200 0.000 0.00 561.950 9.17 -2.87 -0.56 0.000 0.200 0.000 0.00 562.000 8.93 -0.02 -0.61 0.000 0.200 0.000 0.00 562.050 9.02 -0.92 -0.88 0.000 0.200 0.000 0.00 562.100 9.00 -3.12 -0.80 0.000 0.200 0.000 0.00 562.150 9.00 -1.26 -0.61 0.000 0.200 0.000 0.00 562.200 8.87 -2.28 -0.77 0.000 0.200 0.000 0.00 562.250 9.20 -3.63 -0.25 0.000 0.200 0.000 0.00 562.300 9.20 -4.39 -0.27 0.000 0.200 0.000 0.00 562.350 9.24 -3.30 -0.45 0.000 0.200 0.000 0.00 562.400 9.26 -3.23 -0.20 0.000 0.200 0.000 0.00 562.450 9.46 -4.35 0.19 0.000 0.200 0.000 0.00 562.500 9.66 -4.38 0.13 0.000 0.200 0.000 0.00 562.550 9.78 -4.39 -0.04 0.000 0.200 0.000 0.00 562.600 9.66 -3.73 0.11 0.000 0.200 0.000 0.00 562.650 9.80 -2.95 0.20 0.000 0.200 0.000 0.00 562.700 9.81 -3.53 0.25 0.000 0.200 0.000 0.00 562.750 9.77 -3.02 0.05 0.000 0.200 0.000 0.00 562.800 9.46 -3.15 -0.36 0.000 0.200 0.000 0.00 562.850 9.40 -4.87 -0.07 0.000 0.200 0.000 0.00 562.900 9.44 -3.20 0.14 0.000 0.200 0.000 0.00 562.950 9.37 -0.83 0.02 0.000 0.200 0.000 0.00 563.000 9.27 -0.49 -0.08 0.000 0.200 0.000 0.00 563.050 9.53 -1.53 -0.40 0.000 0.200 0.000 0.00 563.100 9.35 1.51 -0.28 0.000 0.200 0.000 0.00 563.150 9.10 1.64 0.13 0.000 0.200 0.000 0.00 563.200 9.17 -2.72 0.00 0.000 0.200 0.000 0.00 563.250 8.76 -3.33 -0.23 0.000 0.200 0.000 0.00 563.300 8.69 -1.75 -0.19 0.000 0.200 0.000 0.00 563.350 8.82 -0.79 0.17 0.000 0.200 0.000 0.00 563.400 8.71 -2.50 0.17 0.000 0.200 0.000 0.00 563.450 8.76 -0.27 0.14 0.000 0.200 0.000 0.00 563.500 8.57 2.67 0.29 0.000 0.200 0.000 0.00 563.550 8.25 1.17 0.46 0.000 0.200 0.000 0.00 563.600 8.50 -1.28 0.28 0.000 0.200 0.000 0.00 563.650 8.67 0.41 -0.20 0.000 0.200 0.000 0.00 563.700 8.71 1.90 -0.41 0.000 0.200 0.000 0.00 563.750 8.92 1.34 -0.38 0.000 0.200 0.000 0.00 563.800 9.27 -0.42 -0.47 0.000 0.200 0.000 0.00 563.850 9.22 0.31 -0.59 0.000 0.200 0.000 0.00 563.900 9.05 -0.60 -0.77 0.000 0.200 0.000 0.00 563.950 9.13 -2.18 -0.72 0.000 0.200 0.000 0.00 564.000 9.35 -0.08 -0.59 0.000 0.200 0.000 0.00 564.050 9.60 -3.33 -0.82 0.000 0.200 0.000 0.00 564.100 9.17 -3.44 -0.83 0.000 0.200 0.000 0.00 564.150 8.97 -2.42 -1.00 0.000 0.200 0.000 0.00 564.200 8.86 -1.31 -0.86 0.000 0.200 0.000 0.00 564.250 8.37 0.45 -1.13 0.000 0.200 0.000 0.00 564.300 8.34 3.21 -0.88 0.000 0.200 0.000 0.00 564.350 8.30 3.15 -0.87 0.000 0.200 0.000 0.00 564.400 7.83 4.93 -1.07 0.000 0.200 0.000 0.00 564.450 7.81 6.57 -1.16 0.000 0.200 0.000 0.00 564.500 7.85 4.31 -1.24 0.000 0.200 0.000 0.00 564.550 8.01 1.68 -1.14 0.000 0.200 0.000 0.00 564.600 8.27 3.48 -0.95 0.000 0.200 0.000 0.00 564.650 8.06 4.36 -1.02 0.000 0.200 0.000 0.00 564.700 7.70 4.90 -0.93 0.000 0.200 0.000 0.00 564.750 7.59 0.76 -0.86 0.000 0.200 0.000 0.00 564.800 8.11 1.60 -0.57 0.000 0.200 0.000 0.00 564.850 8.09 1.88 -0.59 0.000 0.200 0.000 0.00 564.900 8.16 2.76 -0.93 0.000 0.200 0.000 0.00 564.950 7.93 3.35 -1.22 0.000 0.200 0.000 0.00 565.000 7.95 3.64 -1.54 0.000 0.200 0.000 0.00 565.050 7.96 2.19 -1.51 0.000 0.200 0.000 0.00 565.100 8.28 2.02 -1.87 0.000 0.200 0.000 0.00 565.150 8.45 1.05 -1.72 0.000 0.200 0.000 0.00 565.200 8.38 0.32 -1.56 0.000 0.200 0.000 0.00 565.250 8.48 -0.04 -1.49 0.000 0.200 0.000 0.00 565.300 8.41 0.53 -1.33 0.000 0.200 0.000 0.00 565.350 8.76 2.79 -1.10 0.000 0.200 0.000 0.00 565.400 8.82 3.14 -1.51 0.000 0.200 0.000 0.00 565.450 8.58 3.18 -1.64 0.000 0.200 0.000 0.00 565.500 8.57 1.39 -1.60 0.000 0.200 0.000 0.00 565.550 8.52 4.66 -1.40 0.000 0.200 0.000 0.00 565.600 8.09 1.49 -1.05 0.000 0.200 0.000 0.00 565.650 7.84 0.39 -0.93 0.000 0.200 0.000 0.00 565.700 8.33 -0.56 -1.16 0.000 0.200 0.000 0.00 565.750 8.30 0.84 -1.17 0.000 0.200 0.000 0.00 565.800 8.01 1.94 -0.90 0.000 0.200 0.000 0.00 565.850 7.96 1.40 -1.05 0.000 0.200 0.000 0.00 565.900 7.93 3.42 -1.27 0.000 0.200 0.000 0.00 565.950 8.11 2.22 -1.19 0.000 0.200 0.000 0.00 566.000 8.35 1.15 -1.15 0.000 0.200 0.000 0.00 566.050 8.25 0.50 -1.30 0.000 0.200 0.000 0.00 566.100 8.13 -0.64 -1.64 0.000 0.200 0.000 0.00 566.150 8.18 -0.30 -1.27 0.000 0.200 0.000 0.00 566.200 8.26 -0.66 -1.05 0.000 0.200 0.000 0.00 566.250 8.26 1.53 -0.92 0.000 0.200 0.000 0.00 566.300 8.47 2.47 -0.81 0.000 0.200 0.000 0.00 566.350 8.43 3.91 -0.88 0.000 0.200 0.000 0.00 566.400 8.33 3.21 -1.04 0.000 0.200 0.000 0.00 566.450 8.73 1.23 -1.07 0.000 0.200 0.000 0.00 566.500 9.26 2.40 -0.62 0.000 0.200 0.000 0.00 566.550 9.51 2.05 -0.98 0.000 0.200 0.000 0.00 566.600 9.57 1.89 -1.12 0.000 0.200 0.000 0.00 566.650 9.65 0.98 -1.19 0.000 0.200 0.000 0.00 566.700 9.67 0.34 -1.25 0.000 0.200 0.000 0.00 566.750 9.89 -1.16 -1.77 0.000 0.200 0.000 0.00 566.800 9.87 -1.54 -1.95 0.000 0.200 0.000 0.00 566.850 10.03 -1.03 -2.00 0.000 0.200 0.000 0.00 566.900 9.79 -0.84 -2.07 0.000 0.200 0.000 0.00 566.950 9.84 -2.89 -2.29 0.000 0.200 0.000 0.00 567.000 9.86 -0.11 -1.96 0.000 0.200 0.000 0.00 567.050 9.76 0.43 -1.88 0.000 0.200 0.000 0.00 567.100 10.03 0.42 -1.72 0.000 0.200 0.000 0.00 567.150 10.26 -0.01 -1.85 0.000 0.200 0.000 0.00 567.200 9.97 0.78 -1.72 0.000 0.200 0.000 0.00 567.250 10.08 -0.24 -1.99 0.000 0.200 0.000 0.00 567.300 10.21 0.08 -1.70 0.000 0.200 0.000 0.00 567.350 10.25 -0.04 -1.65 0.000 0.200 0.000 0.00 567.400 10.10 -1.32 -1.52 0.000 0.200 0.000 0.00 567.450 9.94 -2.16 -1.34 0.000 0.200 0.000 0.00 567.500 10.36 -1.28 -1.51 0.000 0.200 0.000 0.00 567.550 10.23 0.87 -1.39 0.000 0.200 0.000 0.00 567.600 10.22 -0.64 -1.91 0.000 0.200 0.000 0.00 567.650 10.44 -0.07 -1.67 0.000 0.200 0.000 0.00 567.700 10.51 -2.10 -1.96 0.000 0.200 0.000 0.00 567.750 10.49 -2.47 -1.76 0.000 0.200 0.000 0.00 567.800 10.41 -1.18 -1.64 0.000 0.200 0.000 0.00 567.850 10.41 0.69 -1.58 0.000 0.200 0.000 0.00 567.900 10.34 0.42 -1.35 0.000 0.200 0.000 0.00 567.950 10.07 -0.93 -1.03 0.000 0.200 0.000 0.00 568.000 9.97 0.59 -0.85 0.000 0.200 0.000 0.00 568.050 10.30 0.79 -1.16 0.000 0.200 0.000 0.00 568.100 9.99 0.80 -0.85 0.000 0.200 0.000 0.00 568.150 10.18 -1.47 -0.80 0.000 0.200 0.000 0.00 568.200 10.32 -1.59 -0.69 0.000 0.200 0.000 0.00 568.250 10.37 0.11 -0.71 0.000 0.200 0.000 0.00 568.300 10.33 0.13 -0.69 0.000 0.200 0.000 0.00 568.350 10.39 0.10 -0.53 0.000 0.200 0.000 0.00 568.400 10.46 0.78 -0.41 0.000 0.200 0.000 0.00 568.450 10.39 1.48 -0.24 0.000 0.200 0.000 0.00 568.500 10.13 -1.03 -0.31 0.000 0.200 0.000 0.00 568.550 10.10 -1.99 -0.15 0.000 0.200 0.000 0.00 568.600 10.29 -3.09 -0.21 0.000 0.200 0.000 0.00 568.650 10.42 -3.98 -0.27 0.000 0.200 0.000 0.00 568.700 10.21 -3.78 0.06 0.000 0.200 0.000 0.00 568.750 10.55 -5.79 0.01 0.000 0.200 0.000 0.00 568.800 10.14 -5.66 0.05 0.000 0.200 0.000 0.00 568.850 9.99 -5.49 -0.31 0.000 0.200 0.000 0.00 568.900 10.10 -6.18 0.09 0.000 0.200 0.000 0.00 568.950 9.93 -5.91 0.20 0.000 0.200 0.000 0.00 569.000 10.03 -5.87 0.29 0.000 0.200 0.000 0.00 569.050 9.92 -5.44 0.03 0.000 0.200 0.000 0.00 569.100 10.03 -4.33 0.36 0.000 0.200 0.000 0.00 569.150 9.87 -6.92 0.09 0.000 0.200 0.000 0.00 569.200 9.96 -5.22 0.24 0.000 0.200 0.000 0.00 569.250 9.83 -3.90 0.34 0.000 0.200 0.000 0.00 569.300 9.68 -4.63 -0.12 0.000 0.200 0.000 0.00 569.350 9.28 -5.23 -0.29 0.000 0.200 0.000 0.00 569.400 9.14 -4.21 0.19 0.000 0.200 0.000 0.00 569.450 8.72 -4.49 0.32 0.000 0.200 0.000 0.00 569.500 8.68 -4.90 -0.29 0.000 0.200 0.000 0.00 569.550 8.79 -8.00 -0.23 0.000 0.200 0.000 0.00 569.600 8.92 -7.16 0.09 0.000 0.200 0.000 0.00 569.650 8.98 -8.23 0.21 0.000 0.200 0.000 0.00 569.700 8.98 -9.19 0.04 0.000 0.200 0.000 0.00 569.750 9.14 -6.39 0.31 0.000 0.200 0.000 0.00 569.800 9.27 -7.24 0.24 0.000 0.200 0.000 0.00 569.850 9.38 -7.07 0.17 0.000 0.200 0.000 0.00 569.900 9.32 -4.68 -0.14 0.000 0.200 0.000 0.00 569.950 9.67 -6.63 -0.45 0.000 0.200 0.000 0.00 570.000 9.64 -8.29 0.15 0.000 0.200 0.000 0.00 570.050 9.69 -7.75 -0.32 0.000 0.200 0.000 0.00 570.100 9.56 -4.11 0.04 0.000 0.200 0.000 0.00 570.150 9.50 -4.82 -0.23 0.000 0.200 0.000 0.00 570.200 9.29 -3.93 -0.34 0.000 0.200 0.000 0.00 570.250 9.03 -3.31 -0.68 0.000 0.200 0.000 0.00 570.300 8.92 -2.56 -0.24 0.000 0.200 0.000 0.00 570.350 8.73 -1.72 0.01 0.000 0.200 0.000 0.00 570.400 8.87 -0.32 -0.21 0.000 0.200 0.000 0.00 570.450 8.91 1.67 0.09 0.000 0.200 0.000 0.00 570.500 8.82 1.56 0.16 0.000 0.200 0.000 0.00 570.550 8.51 -0.39 -0.30 0.000 0.200 0.000 0.00 570.600 8.72 0.53 -0.37 0.000 0.200 0.000 0.00 570.650 8.62 0.38 -0.26 0.000 0.200 0.000 0.00 570.700 8.48 0.73 -0.20 0.000 0.200 0.000 0.00 570.750 8.34 -1.46 -0.09 0.000 0.200 0.000 0.00 570.800 8.48 -2.00 0.02 0.000 0.200 0.000 0.00 570.850 8.48 -3.62 -0.11 0.000 0.200 0.000 0.00 570.900 8.94 -2.73 -0.17 0.000 0.200 0.000 0.00 570.950 8.60 -3.99 0.36 0.000 0.200 0.000 0.00 571.000 8.65 -4.34 0.36 0.000 0.200 0.000 0.00 571.050 8.78 -7.24 0.02 0.000 0.200 0.000 0.00 571.100 8.52 -6.56 -0.23 0.000 0.200 0.000 0.00 571.150 8.62 -4.98 -0.41 0.000 0.200 0.000 0.00 571.200 8.24 -3.66 -0.14 0.000 0.200 0.000 0.00 571.250 7.90 0.15 -0.23 0.000 0.200 0.000 0.00 571.300 7.99 -0.18 -0.21 0.000 0.200 0.000 0.00 571.350 7.97 1.79 -0.41 0.000 0.200 0.000 0.00 571.400 7.88 1.27 -0.36 0.000 0.200 0.000 0.00 571.450 7.92 0.14 -0.26 0.000 0.200 0.000 0.00 571.500 7.89 -2.37 -0.39 0.000 0.200 0.000 0.00 571.550 8.19 -1.10 -0.32 0.000 0.200 0.000 0.00 571.600 8.40 -2.39 -0.36 0.000 0.200 0.000 0.00 571.650 8.30 -4.05 0.03 0.000 0.200 0.000 0.00 571.700 8.71 -2.47 0.29 0.000 0.200 0.000 0.00 571.750 8.50 -1.74 0.22 0.000 0.200 0.000 0.00 571.800 9.05 -0.61 0.27 0.000 0.200 0.000 0.00 571.850 9.22 0.80 0.53 0.000 0.200 0.000 0.00 571.900 9.57 -1.06 0.51 0.000 0.200 0.000 0.00 571.950 9.59 0.44 0.58 0.000 0.200 0.000 0.00 572.000 9.51 3.15 0.45 0.000 0.200 0.000 0.00 572.050 9.40 4.14 0.26 0.000 0.200 0.000 0.00 572.100 9.49 1.98 0.24 0.000 0.200 0.000 0.00 572.150 9.37 2.61 0.22 0.000 0.200 0.000 0.00 572.200 9.58 3.38 0.19 0.000 0.200 0.000 0.00 572.250 9.92 3.20 0.36 0.000 0.200 0.000 0.00 572.300 9.91 2.21 0.62 0.000 0.200 0.000 0.00 572.350 10.05 1.72 0.53 0.000 0.200 0.000 0.00 572.400 10.12 2.26 0.41 0.000 0.200 0.000 0.00 572.450 10.11 2.06 0.41 0.000 0.200 0.000 0.00 572.500 9.89 0.53 0.50 0.000 0.200 0.000 0.00 572.550 9.57 -0.23 0.68 0.000 0.200 0.000 0.00 572.600 9.55 0.18 0.34 0.000 0.200 0.000 0.00 572.650 9.23 4.23 0.15 0.000 0.200 0.000 0.00 572.700 9.30 4.11 -0.04 0.000 0.200 0.000 0.00 572.750 9.18 5.33 0.12 0.000 0.200 0.000 0.00 572.800 9.26 6.90 -0.03 0.000 0.200 0.000 0.00 572.850 9.20 7.73 -0.30 0.000 0.200 0.000 0.00 572.900 9.23 8.26 -0.67 0.000 0.200 0.000 0.00 572.950 9.83 6.08 -0.84 0.000 0.200 0.000 0.00 573.000 9.71 4.14 -0.95 0.000 0.200 0.000 0.00 573.050 9.57 6.12 -0.53 0.000 0.200 0.000 0.00 573.100 9.96 6.32 -0.57 0.000 0.200 0.000 0.00 573.150 9.68 5.37 -0.24 0.000 0.200 0.000 0.00 573.200 9.37 4.04 -0.08 0.000 0.200 0.000 0.00 573.250 8.97 3.72 0.11 0.000 0.200 0.000 0.00 573.300 9.00 5.11 -0.17 0.000 0.200 0.000 0.00 573.350 9.03 3.17 -0.27 0.000 0.200 0.000 0.00 573.400 9.21 3.45 -0.47 0.000 0.200 0.000 0.00 573.450 8.99 2.87 -0.19 0.000 0.200 0.000 0.00 573.500 8.95 4.85 0.29 0.000 0.200 0.000 0.00 573.550 8.82 7.72 0.31 0.000 0.200 0.000 0.00 573.600 8.86 7.15 0.29 0.000 0.200 0.000 0.00 573.650 8.74 5.19 0.43 0.000 0.200 0.000 0.00 573.700 9.23 5.17 0.18 0.000 0.200 0.000 0.00 573.750 9.21 4.40 -0.44 0.000 0.200 0.000 0.00 573.800 9.21 3.82 -0.52 0.000 0.200 0.000 0.00 573.850 9.40 5.82 -0.59 0.000 0.200 0.000 0.00 573.900 9.38 7.02 -0.76 0.000 0.200 0.000 0.00 573.950 9.23 5.61 -0.57 0.000 0.200 0.000 0.00 574.000 9.43 5.88 -0.89 0.000 0.200 0.000 0.00 574.050 9.74 5.17 -1.10 0.000 0.200 0.000 0.00 574.100 9.43 8.58 -0.93 0.000 0.200 0.000 0.00 574.150 9.45 9.25 -0.78 0.000 0.200 0.000 0.00 574.200 9.64 8.48 -0.87 0.000 0.200 0.000 0.00 574.250 9.66 7.98 -0.86 0.000 0.200 0.000 0.00 574.300 9.52 7.71 -0.77 0.000 0.200 0.000 0.00 574.350 9.14 5.66 -1.26 0.000 0.200 0.000 0.00 574.400 9.01 5.58 -1.07 0.000 0.200 0.000 0.00 574.450 9.22 4.07 -0.78 0.000 0.200 0.000 0.00 574.500 9.29 6.28 -0.43 0.000 0.200 0.000 0.00 574.550 9.21 4.64 -0.28 0.000 0.200 0.000 0.00 574.600 9.06 6.18 -0.42 0.000 0.200 0.000 0.00 574.650 9.12 6.54 -0.89 0.000 0.200 0.000 0.00 574.700 9.26 5.96 -0.74 0.000 0.200 0.000 0.00 574.750 9.29 5.54 -0.75 0.000 0.200 0.000 0.00 574.800 9.13 4.90 -0.39 0.000 0.200 0.000 0.00 574.850 9.10 6.85 -0.38 0.000 0.200 0.000 0.00 574.900 9.15 7.15 -0.01 0.000 0.200 0.000 0.00 574.950 9.10 3.36 0.12 0.000 0.200 0.000 0.00 575.000 9.14 3.62 -0.03 0.000 0.200 0.000 0.00 575.050 9.24 2.39 0.15 0.000 0.200 0.000 0.00 575.100 9.28 2.12 -0.12 0.000 0.200 0.000 0.00 575.150 9.71 0.55 -0.16 0.000 0.200 0.000 0.00 575.200 9.60 0.06 -0.36 0.000 0.200 0.000 0.00 575.250 9.46 -0.08 0.07 0.000 0.200 0.000 0.00 575.300 9.74 0.89 -0.03 0.000 0.200 0.000 0.00 575.350 9.41 1.19 -0.41 0.000 0.200 0.000 0.00 575.400 9.34 0.30 -0.02 0.000 0.200 0.000 0.00 575.450 9.37 1.70 0.25 0.000 0.200 0.000 0.00 575.500 9.53 1.53 0.03 0.000 0.200 0.000 0.00 575.550 9.63 -0.04 0.20 0.000 0.200 0.000 0.00 575.600 9.42 -2.47 0.35 0.000 0.200 0.000 0.00 575.650 9.32 -2.41 0.20 0.000 0.200 0.000 0.00 575.700 9.64 -1.01 0.17 0.000 0.200 0.000 0.00 575.750 9.52 0.46 0.01 0.000 0.200 0.000 0.00 575.800 9.46 0.68 -0.12 0.000 0.200 0.000 0.00 575.850 9.34 0.45 -0.40 0.000 0.200 0.000 0.00 575.900 9.27 -1.73 -0.76 0.000 0.200 0.000 0.00 575.950 9.09 -1.44 -0.49 0.000 0.200 0.000 0.00 576.000 9.07 -0.18 -0.50 0.000 0.200 0.000 0.00 576.050 9.36 -1.70 -0.48 0.000 0.200 0.000 0.00 576.100 9.35 1.09 -0.50 0.000 0.200 0.000 0.00 576.150 9.33 1.58 -0.48 0.000 0.200 0.000 0.00 576.200 9.21 1.03 -0.30 0.000 0.200 0.000 0.00 576.250 8.94 -1.67 -0.52 0.000 0.200 0.000 0.00 576.300 9.04 -3.30 -0.42 0.000 0.200 0.000 0.00 576.350 9.08 -4.15 -0.71 0.000 0.200 0.000 0.00 576.400 8.90 -2.79 -0.62 0.000 0.200 0.000 0.00 576.450 8.96 -2.83 -0.79 0.000 0.200 0.000 0.00 576.500 9.05 -5.48 -0.54 0.000 0.200 0.000 0.00 576.550 8.99 -7.01 -0.53 0.000 0.200 0.000 0.00 576.600 8.98 -8.48 -0.15 0.000 0.200 0.000 0.00 576.650 8.98 -5.75 0.27 0.000 0.200 0.000 0.00 576.700 8.88 -4.37 0.04 0.000 0.200 0.000 0.00 576.750 8.69 -3.65 -0.49 0.000 0.200 0.000 0.00 576.800 8.49 -3.04 -0.29 0.000 0.200 0.000 0.00 576.850 8.69 -1.49 0.29 0.000 0.200 0.000 0.00 576.900 8.76 -0.17 0.37 0.000 0.200 0.000 0.00 576.950 8.82 -0.08 0.29 0.000 0.200 0.000 0.00 577.000 8.54 0.47 0.14 0.000 0.200 0.000 0.00 577.050 8.47 -1.33 0.01 0.000 0.200 0.000 0.00 577.100 8.48 0.18 -0.02 0.000 0.200 0.000 0.00 577.150 8.46 -1.52 0.08 0.000 0.200 0.000 0.00 577.200 8.42 -1.20 -0.13 0.000 0.200 0.000 0.00 577.250 8.21 -0.99 0.08 0.000 0.200 0.000 0.00 577.300 8.43 -1.53 -0.19 0.000 0.200 0.000 0.00 577.350 8.43 -0.45 -0.25 0.000 0.200 0.000 0.00 577.400 8.51 3.27 -0.49 0.000 0.200 0.000 0.00 577.450 8.51 1.93 -0.44 0.000 0.200 0.000 0.00 577.500 8.25 -1.08 -0.25 0.000 0.200 0.000 0.00 577.550 8.25 1.12 -0.35 0.000 0.200 0.000 0.00 577.600 8.22 0.71 -0.28 0.000 0.200 0.000 0.00 577.650 7.89 1.44 0.24 0.000 0.200 0.000 0.00 577.700 7.90 -2.54 0.53 0.000 0.200 0.000 0.00 577.750 7.75 -1.12 0.35 0.000 0.200 0.000 0.00 577.800 7.93 -0.15 -0.10 0.000 0.200 0.000 0.00 577.850 8.14 0.97 0.28 0.000 0.200 0.000 0.00 577.900 8.04 2.08 -0.15 0.000 0.200 0.000 0.00 577.950 8.57 0.42 -0.31 0.000 0.200 0.000 0.00 578.000 8.40 1.01 -0.07 0.000 0.200 0.000 0.00 578.050 8.34 -0.35 0.28 0.000 0.200 0.000 0.00 578.100 8.36 -4.02 0.44 0.000 0.200 0.000 0.00 578.150 8.35 -4.46 0.37 0.000 0.200 0.000 0.00 578.200 8.29 -5.31 0.96 0.000 0.200 0.000 0.00 578.250 8.66 -3.69 0.53 0.000 0.200 0.000 0.00 578.300 8.70 -3.42 0.00 0.000 0.200 0.000 0.00 578.350 8.81 -4.41 -0.27 0.000 0.200 0.000 0.00 578.400 8.84 -5.55 -0.50 0.000 0.200 0.000 0.00 578.450 8.87 -3.63 -0.40 0.000 0.200 0.000 0.00 578.500 9.36 -2.79 -0.58 0.000 0.200 0.000 0.00 578.550 9.23 -4.08 -0.16 0.000 0.200 0.000 0.00 578.600 9.30 -4.15 -0.07 0.000 0.200 0.000 0.00 578.650 9.36 -4.40 0.28 0.000 0.200 0.000 0.00 578.700 9.35 -3.50 0.35 0.000 0.200 0.000 0.00 578.750 9.28 -5.90 0.34 0.000 0.200 0.000 0.00 578.800 9.16 -6.83 0.29 0.000 0.200 0.000 0.00 578.850 9.28 -7.12 0.36 0.000 0.200 0.000 0.00 578.900 9.17 -6.56 0.18 0.000 0.200 0.000 0.00 578.950 9.36 -6.71 0.21 0.000 0.200 0.000 0.00 579.000 9.41 -6.13 0.44 0.000 0.200 0.000 0.00 579.050 9.42 -3.81 0.70 0.000 0.200 0.000 0.00 579.100 9.19 -2.89 0.63 0.000 0.200 0.000 0.00 579.150 9.08 -2.31 0.51 0.000 0.200 0.000 0.00 579.200 8.79 -2.11 0.32 0.000 0.200 0.000 0.00 579.250 8.59 -0.75 0.36 0.000 0.200 0.000 0.00 579.300 8.80 0.64 0.31 0.000 0.200 0.000 0.00 579.350 9.01 0.59 0.29 0.000 0.200 0.000 0.00 579.400 8.52 0.37 0.46 0.000 0.200 0.000 0.00 579.450 8.49 -1.34 0.12 0.000 0.200 0.000 0.00 579.500 8.60 -3.40 -0.24 0.000 0.200 0.000 0.00 579.550 8.59 -4.59 0.11 0.000 0.200 0.000 0.00 579.600 8.35 -3.36 0.42 0.000 0.200 0.000 0.00 579.650 8.31 -4.95 0.25 0.000 0.200 0.000 0.00 579.700 8.14 -3.09 -0.02 0.000 0.200 0.000 0.00 579.750 8.01 -6.36 0.06 0.000 0.200 0.000 0.00 579.800 8.23 -7.05 0.05 0.000 0.200 0.000 0.00 579.850 8.21 -7.19 0.27 0.000 0.200 0.000 0.00 579.900 7.90 -10.53 0.60 0.000 0.200 0.000 0.00 579.950 7.61 -8.00 0.50 0.000 0.200 0.000 0.00 580.000 7.97 -6.59 0.52 0.000 0.200 0.000 0.00 580.050 7.66 -8.21 0.89 0.000 0.200 0.000 0.00 580.100 7.63 -8.09 0.62 0.000 0.200 0.000 0.00 580.150 7.70 -10.51 0.35 0.000 0.200 0.000 0.00 580.200 7.76 -10.31 0.80 0.000 0.200 0.000 0.00 580.250 7.76 -8.79 0.82 0.000 0.200 0.000 0.00 580.300 7.50 -6.75 0.79 0.000 0.200 0.000 0.00 580.350 7.57 -7.19 0.94 0.000 0.200 0.000 0.00 580.400 7.80 -5.90 0.42 0.000 0.200 0.000 0.00 580.450 7.86 -6.07 -0.17 0.000 0.200 0.000 0.00 580.500 7.73 -5.18 -0.07 0.000 0.200 0.000 0.00 580.550 7.80 -5.91 0.21 0.000 0.200 0.000 0.00 580.600 8.00 -5.03 0.18 0.000 0.200 0.000 0.00 580.650 8.20 -2.57 -0.11 0.000 0.200 0.000 0.00 580.700 8.36 -4.46 -0.13 0.000 0.200 0.000 0.00 580.750 8.19 -5.61 -0.04 0.000 0.200 0.000 0.00 580.800 8.15 -4.44 0.09 0.000 0.200 0.000 0.00 580.850 7.90 -5.10 0.19 0.000 0.200 0.000 0.00 580.900 8.40 -2.95 -0.22 0.000 0.200 0.000 0.00 580.950 8.29 -4.01 0.34 0.000 0.200 0.000 0.00 581.000 8.20 -4.53 0.25 0.000 0.200 0.000 0.00 581.050 8.39 -3.27 0.39 0.000 0.200 0.000 0.00 581.100 8.30 -3.92 0.34 0.000 0.200 0.000 0.00 581.150 8.54 -5.31 -0.01 0.000 0.200 0.000 0.00 581.200 8.41 -4.20 -0.11 0.000 0.200 0.000 0.00 581.250 8.42 -2.38 0.19 0.000 0.200 0.000 0.00 581.300 8.43 2.01 -0.08 0.000 0.200 0.000 0.00 581.350 8.34 5.34 -0.26 0.000 0.200 0.000 0.00 581.400 8.32 3.42 -0.11 0.000 0.200 0.000 0.00 581.450 8.14 2.96 -0.11 0.000 0.200 0.000 0.00 581.500 8.16 -0.43 -0.25 0.000 0.200 0.000 0.00 581.550 8.29 2.15 -0.20 0.000 0.200 0.000 0.00 581.600 8.43 2.48 -0.31 0.000 0.200 0.000 0.00 581.650 8.73 -0.41 -0.74 0.000 0.200 0.000 0.00 581.700 8.74 -2.24 -0.72 0.000 0.200 0.000 0.00 581.750 8.78 -4.12 -0.41 0.000 0.200 0.000 0.00 581.800 8.59 -2.78 -0.32 0.000 0.200 0.000 0.00 581.850 8.87 0.18 -0.28 0.000 0.200 0.000 0.00 581.900 8.95 -2.50 -0.15 0.000 0.200 0.000 0.00 581.950 8.93 -3.53 -0.07 0.000 0.200 0.000 0.00 582.000 8.75 -2.83 0.06 0.000 0.200 0.000 0.00 582.050 8.75 -3.18 0.42 0.000 0.200 0.000 0.00 582.100 8.60 -5.25 0.62 0.000 0.200 0.000 0.00 582.150 8.62 -6.52 0.54 0.000 0.200 0.000 0.00 582.200 8.70 -6.35 0.11 0.000 0.200 0.000 0.00 582.250 8.61 -8.60 -0.31 0.000 0.200 0.000 0.00 582.300 8.71 -10.92 -0.37 0.000 0.200 0.000 0.00 582.350 8.69 -9.89 -0.34 0.000 0.200 0.000 0.00 582.400 8.97 -10.96 -0.47 0.000 0.200 0.000 0.00 582.450 9.18 -9.16 -0.10 0.000 0.200 0.000 0.00 582.500 9.34 -9.62 0.13 0.000 0.200 0.000 0.00 582.550 9.51 -9.18 -0.09 0.000 0.200 0.000 0.00 582.600 9.40 -6.58 -0.13 0.000 0.200 0.000 0.00 582.650 9.63 -7.25 0.03 0.000 0.200 0.000 0.00 582.700 9.68 -5.67 0.22 0.000 0.200 0.000 0.00 582.750 9.63 -3.48 0.10 0.000 0.200 0.000 0.00 582.800 9.54 -3.85 -0.42 0.000 0.200 0.000 0.00 582.850 9.64 -2.01 -0.26 0.000 0.200 0.000 0.00 582.900 9.83 -0.67 -0.23 0.000 0.200 0.000 0.00 582.950 9.63 1.67 -0.18 0.000 0.200 0.000 0.00 583.000 9.48 5.15 -0.16 0.000 0.200 0.000 0.00 583.050 9.22 6.57 -0.14 0.000 0.200 0.000 0.00 583.100 9.46 5.94 -0.48 0.000 0.200 0.000 0.00 583.150 9.35 4.27 -0.45 0.000 0.200 0.000 0.00 583.200 9.39 2.31 -0.22 0.000 0.200 0.000 0.00 583.250 9.62 4.19 0.00 0.000 0.200 0.000 0.00 583.300 9.82 5.32 -0.11 0.000 0.200 0.000 0.00 583.350 9.51 4.98 -0.08 0.000 0.200 0.000 0.00 583.400 9.28 4.09 -0.01 0.000 0.200 0.000 0.00 583.450 9.31 2.68 -0.15 0.000 0.200 0.000 0.00 583.500 9.25 1.59 -0.23 0.000 0.200 0.000 0.00 583.550 9.48 1.53 -0.10 0.000 0.200 0.000 0.00 583.600 9.42 2.32 0.04 0.000 0.200 0.000 0.00 583.650 9.44 1.09 -0.18 0.000 0.200 0.000 0.00 583.700 9.74 0.11 -0.15 0.000 0.200 0.000 0.00 583.750 9.83 2.24 -0.22 0.000 0.200 0.000 0.00 583.800 9.64 0.32 -0.59 0.000 0.200 0.000 0.00 583.850 9.76 2.13 -0.60 0.000 0.200 0.000 0.00 583.900 9.95 4.58 -0.59 0.000 0.200 0.000 0.00 583.950 10.02 4.50 -0.66 0.000 0.200 0.000 0.00 584.000 9.65 3.64 -0.93 0.000 0.200 0.000 0.00 584.050 9.69 3.50 -0.68 0.000 0.200 0.000 0.00 584.100 10.17 0.73 -0.57 0.000 0.200 0.000 0.00 584.150 9.69 0.06 -0.11 0.000 0.200 0.000 0.00 584.200 9.94 -0.72 0.12 0.000 0.200 0.000 0.00 584.250 9.87 0.93 -0.09 0.000 0.200 0.000 0.00 584.300 9.64 1.01 -0.10 0.000 0.200 0.000 0.00 584.350 9.72 0.13 0.28 0.000 0.200 0.000 0.00 584.400 9.35 -0.45 0.50 0.000 0.200 0.000 0.00 584.450 9.34 -1.53 0.63 0.000 0.200 0.000 0.00 584.500 9.44 0.60 0.43 0.000 0.200 0.000 0.00 584.550 9.28 1.87 0.37 0.000 0.200 0.000 0.00 584.600 9.09 1.09 0.37 0.000 0.200 0.000 0.00 584.650 9.26 -1.24 0.11 0.000 0.200 0.000 0.00 584.700 9.46 -2.11 0.29 0.000 0.200 0.000 0.00 584.750 9.17 -3.44 0.45 0.000 0.200 0.000 0.00 584.800 8.85 -2.91 0.02 0.000 0.200 0.000 0.00 584.850 8.89 -1.20 0.07 0.000 0.200 0.000 0.00 584.900 8.92 0.50 0.23 0.000 0.200 0.000 0.00 584.950 9.03 0.85 0.06 0.000 0.200 0.000 0.00 585.000 8.81 -0.87 -0.15 0.000 0.200 0.000 0.00 585.050 8.70 -3.18 -0.52 0.000 0.200 0.000 0.00 585.100 8.67 -4.96 -0.54 0.000 0.200 0.000 0.00 585.150 8.41 -2.07 -0.12 0.000 0.200 0.000 0.00 585.200 8.43 -1.61 -0.25 0.000 0.200 0.000 0.00 585.250 8.28 -0.67 -0.81 0.000 0.200 0.000 0.00 585.300 8.25 -1.88 -0.93 0.000 0.200 0.000 0.00 585.350 8.29 -2.48 -0.82 0.000 0.200 0.000 0.00 585.400 8.22 -4.30 -0.75 0.000 0.200 0.000 0.00 585.450 8.01 -5.45 -0.78 0.000 0.200 0.000 0.00 585.500 7.67 -6.57 -0.96 0.000 0.200 0.000 0.00 585.550 7.71 -4.11 -1.13 0.000 0.200 0.000 0.00 585.600 7.91 -4.34 -1.17 0.000 0.200 0.000 0.00 585.650 7.97 -3.45 -0.69 0.000 0.200 0.000 0.00 585.700 7.62 -5.17 -0.66 0.000 0.200 0.000 0.00 585.750 7.65 -7.14 -0.65 0.000 0.200 0.000 0.00 585.800 8.26 -7.32 -0.65 0.000 0.200 0.000 0.00 585.850 8.44 -8.00 -0.62 0.000 0.200 0.000 0.00 585.900 8.26 -5.52 -0.46 0.000 0.200 0.000 0.00 585.950 8.20 -5.33 -0.59 0.000 0.200 0.000 0.00 586.000 8.49 -6.30 -0.45 0.000 0.200 0.000 0.00 586.050 8.32 -9.73 -0.16 0.000 0.200 0.000 0.00 586.100 8.49 -8.95 -0.45 0.000 0.200 0.000 0.00 586.150 8.65 -7.59 -0.19 0.000 0.200 0.000 0.00 586.200 8.77 -7.83 -0.37 0.000 0.200 0.000 0.00 586.250 9.13 -8.61 -0.18 0.000 0.200 0.000 0.00 586.300 8.72 -6.64 0.25 0.000 0.200 0.000 0.00 586.350 9.09 -7.95 0.22 0.000 0.200 0.000 0.00 586.400 9.05 -5.91 0.36 0.000 0.200 0.000 0.00 586.450 8.89 -3.63 0.21 0.000 0.200 0.000 0.00 586.500 9.05 -3.49 0.07 0.000 0.200 0.000 0.00 586.550 9.06 -5.77 -0.16 0.000 0.200 0.000 0.00 586.600 9.17 -4.14 -0.27 0.000 0.200 0.000 0.00 586.650 9.19 -3.54 -0.34 0.000 0.200 0.000 0.00 586.700 8.84 -2.53 -0.22 0.000 0.200 0.000 0.00 586.750 8.71 -0.95 -0.24 0.000 0.200 0.000 0.00 586.800 8.72 -2.67 0.01 0.000 0.200 0.000 0.00 586.850 8.60 -5.68 -0.28 0.000 0.200 0.000 0.00 586.900 8.57 -5.51 -0.31 0.000 0.200 0.000 0.00 586.950 8.84 -3.48 -0.18 0.000 0.200 0.000 0.00 587.000 9.16 -3.43 0.06 0.000 0.200 0.000 0.00 587.050 9.19 -3.81 0.20 0.000 0.200 0.000 0.00 587.100 9.00 -3.70 0.16 0.000 0.200 0.000 0.00 587.150 8.96 -4.56 -0.15 0.000 0.200 0.000 0.00 587.200 9.09 -5.38 0.05 0.000 0.200 0.000 0.00 587.250 9.31 -4.32 0.20 0.000 0.200 0.000 0.00 587.300 9.37 -4.49 0.07 0.000 0.200 0.000 0.00 587.350 9.04 -6.67 0.13 0.000 0.200 0.000 0.00 587.400 9.01 -6.42 -0.02 0.000 0.200 0.000 0.00 587.450 9.34 -7.89 -0.10 0.000 0.200 0.000 0.00 587.500 9.27 -6.34 0.18 0.000 0.200 0.000 0.00 587.550 9.11 -6.16 0.36 0.000 0.200 0.000 0.00 587.600 9.06 -6.01 0.54 0.000 0.200 0.000 0.00 587.650 9.21 -5.98 0.60 0.000 0.200 0.000 0.00 587.700 9.10 -4.40 0.23 0.000 0.200 0.000 0.00 587.750 9.02 -5.96 -0.40 0.000 0.200 0.000 0.00 587.800 9.42 -7.05 -0.19 0.000 0.200 0.000 0.00 587.850 8.86 -7.52 -0.22 0.000 0.200 0.000 0.00 587.900 9.00 -6.89 -0.28 0.000 0.200 0.000 0.00 587.950 9.29 -8.11 -0.60 0.000 0.200 0.000 0.00 588.000 9.24 -8.74 -0.65 0.000 0.200 0.000 0.00 588.050 9.06 -8.81 -0.27 0.000 0.200 0.000 0.00 588.100 9.31 -9.37 -0.26 0.000 0.200 0.000 0.00 588.150 9.27 -8.72 -0.69 0.000 0.200 0.000 0.00 588.200 9.20 -7.76 -0.64 0.000 0.200 0.000 0.00 588.250 9.16 -7.29 -0.43 0.000 0.200 0.000 0.00 588.300 8.91 -8.98 -0.36 0.000 0.200 0.000 0.00 588.350 8.63 -6.79 -0.18 0.000 0.200 0.000 0.00 588.400 8.80 -8.99 -0.07 0.000 0.200 0.000 0.00 588.450 8.73 -10.39 -0.02 0.000 0.200 0.000 0.00 588.500 8.87 -10.41 -0.10 0.000 0.200 0.000 0.00 588.550 8.72 -10.04 -0.47 0.000 0.200 0.000 0.00 588.600 8.50 -11.83 -0.24 0.000 0.200 0.000 0.00 588.650 8.44 -13.63 0.05 0.000 0.200 0.000 0.00 588.700 8.42 -13.55 -0.06 0.000 0.200 0.000 0.00 588.750 8.47 -14.02 0.02 0.000 0.200 0.000 0.00 588.800 8.39 -17.12 -0.13 0.000 0.200 0.000 0.00 588.850 8.44 -16.53 0.05 0.000 0.200 0.000 0.00 588.900 8.36 -16.68 0.62 0.000 0.200 0.000 0.00 588.950 8.52 -15.44 0.65 0.000 0.200 0.000 0.00 589.000 8.25 -15.64 1.00 0.000 0.200 0.000 0.00 589.050 8.44 -16.22 1.09 0.000 0.200 0.000 0.00 589.100 8.42 -15.46 0.97 0.000 0.200 0.000 0.00 589.150 8.23 -12.84 1.09 0.000 0.200 0.000 0.00 589.200 8.08 -11.00 0.90 0.000 0.200 0.000 0.00 589.250 8.39 -12.08 0.76 0.000 0.200 0.000 0.00 589.300 8.31 -15.47 0.60 0.000 0.200 0.000 0.00 589.350 8.45 -16.15 0.52 0.000 0.200 0.000 0.00 589.400 8.45 -15.61 0.61 0.000 0.200 0.000 0.00 589.450 8.51 -14.54 0.48 0.000 0.200 0.000 0.00 589.500 8.55 -14.31 0.32 0.000 0.200 0.000 0.00 589.550 8.44 -14.78 0.36 0.000 0.200 0.000 0.00 589.600 8.45 -11.28 0.27 0.000 0.200 0.000 0.00 589.650 8.34 -9.49 0.26 0.000 0.200 0.000 0.00 589.700 8.62 -10.06 0.24 0.000 0.200 0.000 0.00 589.750 8.63 -10.92 0.00 0.000 0.200 0.000 0.00 589.800 8.75 -9.75 0.31 0.000 0.200 0.000 0.00 589.850 8.82 -9.40 0.83 0.000 0.200 0.000 0.00 589.900 8.94 -8.93 0.85 0.000 0.200 0.000 0.00 589.950 8.67 -8.05 0.83 0.000 0.200 0.000 0.00 590.000 8.70 -7.54 0.93 0.000 0.200 0.000 0.00 590.050 9.14 -6.44 1.03 0.000 0.200 0.000 0.00 590.100 9.07 -4.83 0.89 0.000 0.200 0.000 0.00 590.150 8.89 -5.57 0.57 0.000 0.200 0.000 0.00 590.200 8.77 -7.12 0.24 0.000 0.200 0.000 0.00 590.250 9.02 -6.15 0.22 0.000 0.200 0.000 0.00 590.300 9.14 -7.35 0.37 0.000 0.200 0.000 0.00 590.350 9.27 -7.30 0.25 0.000 0.200 0.000 0.00 590.400 9.21 -6.63 0.90 0.000 0.200 0.000 0.00 590.450 8.82 -6.26 0.91 0.000 0.200 0.000 0.00 590.500 8.93 -8.46 0.39 0.000 0.200 0.000 0.00 590.550 8.96 -8.20 0.58 0.000 0.200 0.000 0.00 590.600 9.19 -8.69 0.85 0.000 0.200 0.000 0.00 590.650 9.39 -10.52 0.55 0.000 0.200 0.000 0.00 590.700 9.37 -8.10 0.48 0.000 0.200 0.000 0.00 590.750 9.39 -6.94 0.15 0.000 0.200 0.000 0.00 590.800 9.35 -6.01 -0.13 0.000 0.200 0.000 0.00 590.850 9.10 -4.68 -0.02 0.000 0.200 0.000 0.00 590.900 9.08 -2.37 -0.20 0.000 0.200 0.000 0.00 590.950 9.05 -5.01 0.16 0.000 0.200 0.000 0.00 591.000 8.80 -5.30 0.06 0.000 0.200 0.000 0.00 591.050 8.86 -5.52 0.23 0.000 0.200 0.000 0.00 591.100 9.15 -8.57 0.14 0.000 0.200 0.000 0.00 591.150 9.53 -7.13 0.28 0.000 0.200 0.000 0.00 591.200 9.65 -7.32 0.13 0.000 0.200 0.000 0.00 591.250 9.94 -7.94 0.35 0.000 0.200 0.000 0.00 591.300 9.66 -8.25 0.36 0.000 0.200 0.000 0.00 591.350 9.48 -8.46 0.23 0.000 0.200 0.000 0.00 591.400 9.71 -7.69 0.48 0.000 0.200 0.000 0.00 591.450 9.66 -7.06 0.54 0.000 0.200 0.000 0.00 591.500 9.75 -8.60 0.15 0.000 0.200 0.000 0.00 591.550 9.61 -6.92 0.26 0.000 0.200 0.000 0.00 591.600 9.81 -4.35 0.08 0.000 0.200 0.000 0.00 591.650 9.65 -3.00 0.48 0.000 0.200 0.000 0.00 591.700 9.60 -2.01 0.99 0.000 0.200 0.000 0.00 591.750 9.36 -3.07 0.85 0.000 0.200 0.000 0.00 591.800 9.56 -1.72 0.61 0.000 0.200 0.000 0.00 591.850 9.58 0.97 0.86 0.000 0.200 0.000 0.00 591.900 9.63 -0.03 0.69 0.000 0.200 0.000 0.00 591.950 9.32 -0.26 0.95 0.000 0.200 0.000 0.00 592.000 9.34 -0.46 0.77 0.000 0.200 0.000 0.00 592.050 9.14 -1.79 0.47 0.000 0.200 0.000 0.00 592.100 9.13 -0.86 0.29 0.000 0.200 0.000 0.00 592.150 9.38 -2.85 0.39 0.000 0.200 0.000 0.00 592.200 9.41 -1.81 0.33 0.000 0.200 0.000 0.00 592.250 9.60 -2.04 0.94 0.000 0.200 0.000 0.00 592.300 9.39 -0.59 0.51 0.000 0.200 0.000 0.00 592.350 9.20 -2.69 0.50 0.000 0.200 0.000 0.00 592.400 9.26 -2.79 0.33 0.000 0.200 0.000 0.00 592.450 9.02 0.39 0.56 0.000 0.200 0.000 0.00 592.500 9.21 -0.63 0.66 0.000 0.200 0.000 0.00 592.550 9.15 -2.76 0.58 0.000 0.200 0.000 0.00 592.600 9.19 -3.86 0.45 0.000 0.200 0.000 0.00 592.650 9.43 -4.11 0.56 0.000 0.200 0.000 0.00 592.700 8.97 -2.63 0.45 0.000 0.200 0.000 0.00 592.750 9.13 -3.87 0.41 0.000 0.200 0.000 0.00 592.800 9.25 -3.23 0.50 0.000 0.200 0.000 0.00 592.850 9.37 -5.01 0.70 0.000 0.200 0.000 0.00 592.900 9.51 -6.20 0.83 0.000 0.200 0.000 0.00 592.950 9.38 -5.95 0.70 0.000 0.200 0.000 0.00 593.000 9.46 -2.52 0.87 0.000 0.200 0.000 0.00 593.050 9.34 -1.17 0.75 0.000 0.200 0.000 0.00 593.100 9.52 0.44 0.72 0.000 0.200 0.000 0.00 593.150 9.33 -0.12 0.59 0.000 0.200 0.000 0.00 593.200 9.13 -1.37 0.29 0.000 0.200 0.000 0.00 593.250 8.72 -0.92 -0.10 0.000 0.200 0.000 0.00 593.300 8.62 -0.62 -0.07 0.000 0.200 0.000 0.00 593.350 8.80 -1.17 0.17 0.000 0.200 0.000 0.00 593.400 8.73 -0.68 0.27 0.000 0.200 0.000 0.00 593.450 8.49 -1.92 -0.36 0.000 0.200 0.000 0.00 593.500 8.20 -1.24 -0.56 0.000 0.200 0.000 0.00 593.550 8.10 0.44 -0.12 0.000 0.200 0.000 0.00 593.600 8.34 1.42 0.09 0.000 0.200 0.000 0.00 593.650 8.55 0.98 0.43 0.000 0.200 0.000 0.00 593.700 8.70 0.96 0.53 0.000 0.200 0.000 0.00 593.750 9.01 1.19 0.58 0.000 0.200 0.000 0.00 593.800 8.82 -0.71 0.34 0.000 0.200 0.000 0.00 593.850 8.95 0.29 0.21 0.000 0.200 0.000 0.00 593.900 8.74 -1.69 0.19 0.000 0.200 0.000 0.00 593.950 8.85 -0.91 0.31 0.000 0.200 0.000 0.00 594.000 8.78 0.95 0.28 0.000 0.200 0.000 0.00 594.050 8.84 -0.45 0.63 0.000 0.200 0.000 0.00 594.100 9.05 -0.39 0.61 0.000 0.200 0.000 0.00 594.150 9.42 -0.51 0.40 0.000 0.200 0.000 0.00 594.200 9.20 -1.37 0.66 0.000 0.200 0.000 0.00 594.250 9.17 0.51 0.69 0.000 0.200 0.000 0.00 594.300 9.05 0.09 0.42 0.000 0.200 0.000 0.00 594.350 8.82 1.44 -0.10 0.000 0.200 0.000 0.00 594.400 9.15 2.90 0.06 0.000 0.200 0.000 0.00 594.450 9.17 1.80 0.34 0.000 0.200 0.000 0.00 594.500 8.95 2.50 0.25 0.000 0.200 0.000 0.00 594.550 8.90 -2.50 0.50 0.000 0.200 0.000 0.00 594.600 9.04 -1.97 0.56 0.000 0.200 0.000 0.00 594.650 8.77 -1.56 0.50 0.000 0.200 0.000 0.00 594.700 8.69 -4.33 0.48 0.000 0.200 0.000 0.00 594.750 8.59 -3.97 0.94 0.000 0.200 0.000 0.00 594.800 8.65 -3.12 1.12 0.000 0.200 0.000 0.00 594.850 8.66 -3.40 1.17 0.000 0.200 0.000 0.00 594.900 8.42 -1.58 1.11 0.000 0.200 0.000 0.00 594.950 8.57 -0.91 0.93 0.000 0.200 0.000 0.00 595.000 8.61 -2.31 0.88 0.000 0.200 0.000 0.00 595.050 8.50 -3.37 1.01 0.000 0.200 0.000 0.00 595.100 8.56 -5.52 1.05 0.000 0.200 0.000 0.00 595.150 8.54 -5.13 1.02 0.000 0.200 0.000 0.00 595.200 8.32 -5.51 1.20 0.000 0.200 0.000 0.00 595.250 8.28 -6.06 1.41 0.000 0.200 0.000 0.00 595.300 8.48 -6.33 1.03 0.000 0.200 0.000 0.00 595.350 8.44 -5.71 1.09 0.000 0.200 0.000 0.00 595.400 8.34 -5.72 0.82 0.000 0.200 0.000 0.00 595.450 8.20 -5.72 0.92 0.000 0.200 0.000 0.00 595.500 8.07 -3.27 0.88 0.000 0.200 0.000 0.00 595.550 8.08 -1.43 0.81 0.000 0.200 0.000 0.00 595.600 8.42 -2.63 0.51 0.000 0.200 0.000 0.00 595.650 8.45 -6.01 0.42 0.000 0.200 0.000 0.00 595.700 8.59 -7.44 0.58 0.000 0.200 0.000 0.00 595.750 8.79 -4.77 0.39 0.000 0.200 0.000 0.00 595.800 8.56 -3.99 0.45 0.000 0.200 0.000 0.00 595.850 8.53 -3.67 0.57 0.000 0.200 0.000 0.00 595.900 8.29 -2.14 0.69 0.000 0.200 0.000 0.00 595.950 8.43 0.33 0.82 0.000 0.200 0.000 0.00 596.000 8.58 -2.71 0.59 0.000 0.200 0.000 0.00 596.050 8.28 -2.99 0.09 0.000 0.200 0.000 0.00 596.100 8.25 -3.65 0.30 0.000 0.200 0.000 0.00 596.150 8.24 -4.70 0.47 0.000 0.200 0.000 0.00 596.200 8.41 -5.18 0.59 0.000 0.200 0.000 0.00 596.250 8.67 -5.02 0.65 0.000 0.200 0.000 0.00 596.300 8.94 -3.92 0.31 0.000 0.200 0.000 0.00 596.350 8.67 -5.39 0.26 0.000 0.200 0.000 0.00 596.400 8.71 -4.59 0.41 0.000 0.200 0.000 0.00 596.450 8.41 -7.29 0.26 0.000 0.200 0.000 0.00 596.500 7.99 -8.12 0.54 0.000 0.200 0.000 0.00 596.550 7.88 -8.93 0.25 0.000 0.200 0.000 0.00 596.600 7.90 -9.81 0.66 0.000 0.200 0.000 0.00 596.650 7.92 -7.27 1.01 0.000 0.200 0.000 0.00 596.700 7.81 -6.13 1.15 0.000 0.200 0.000 0.00 596.750 7.94 -7.09 1.45 0.000 0.200 0.000 0.00 596.800 7.94 -9.25 1.32 0.000 0.200 0.000 0.00 596.850 7.99 -12.48 1.57 0.000 0.200 0.000 0.00 596.900 7.99 -11.59 1.19 0.000 0.200 0.000 0.00 596.950 7.94 -11.41 1.20 0.000 0.200 0.000 0.00 597.000 8.06 -8.04 0.70 0.000 0.200 0.000 0.00 597.050 8.10 -8.26 0.51 0.000 0.200 0.000 0.00 597.100 8.00 -7.77 0.50 0.000 0.200 0.000 0.00 597.150 7.87 -5.60 0.63 0.000 0.200 0.000 0.00 597.200 7.85 -5.44 0.65 0.000 0.200 0.000 0.00 597.250 7.77 -6.48 0.94 0.000 0.200 0.000 0.00 597.300 7.80 -7.53 1.46 0.000 0.200 0.000 0.00 597.350 8.04 -4.69 1.22 0.000 0.200 0.000 0.00 597.400 8.14 -3.22 1.06 0.000 0.200 0.000 0.00 597.450 8.10 -1.56 0.79 0.000 0.200 0.000 0.00 597.500 7.78 -2.13 1.21 0.000 0.200 0.000 0.00 597.550 7.73 -0.95 0.97 0.000 0.200 0.000 0.00 597.600 7.66 -1.53 0.93 0.000 0.200 0.000 0.00 597.650 7.47 -1.22 1.12 0.000 0.200 0.000 0.00 597.700 7.89 -0.48 0.84 0.000 0.200 0.000 0.00 597.750 7.74 1.35 0.77 0.000 0.200 0.000 0.00 597.800 7.40 -0.10 0.78 0.000 0.200 0.000 0.00 597.850 7.54 -1.52 1.06 0.000 0.200 0.000 0.00 597.900 7.51 -1.73 0.59 0.000 0.200 0.000 0.00 597.950 7.47 -4.22 0.41 0.000 0.200 0.000 0.00 598.000 7.52 -4.79 0.66 0.000 0.200 0.000 0.00 598.050 7.66 -4.16 0.61 0.000 0.200 0.000 0.00 598.100 7.43 -6.33 0.53 0.000 0.200 0.000 0.00 598.150 7.21 -7.48 0.45 0.000 0.200 0.000 0.00 598.200 7.35 -8.89 0.56 0.000 0.200 0.000 0.00 598.250 7.65 -6.91 0.99 0.000 0.200 0.000 0.00 598.300 7.88 -7.95 0.77 0.000 0.200 0.000 0.00 598.350 8.02 -8.35 0.39 0.000 0.200 0.000 0.00 598.400 8.03 -6.70 0.82 0.000 0.200 0.000 0.00 598.450 8.05 -8.81 0.65 0.000 0.200 0.000 0.00 598.500 8.41 -8.20 0.68 0.000 0.200 0.000 0.00 598.550 8.37 -6.22 0.57 0.000 0.200 0.000 0.00 598.600 8.24 -6.56 0.59 0.000 0.200 0.000 0.00 598.650 8.30 -5.08 0.57 0.000 0.200 0.000 0.00 598.700 8.08 -4.58 0.97 0.000 0.200 0.000 0.00 598.750 8.05 -5.77 0.98 0.000 0.200 0.000 0.00 598.800 8.45 -5.78 0.42 0.000 0.200 0.000 0.00 598.850 8.63 -5.57 0.57 0.000 0.200 0.000 0.00 598.900 8.51 -4.25 0.93 0.000 0.200 0.000 0.00 598.950 8.55 -2.47 1.00 0.000 0.200 0.000 0.00 599.000 8.52 -2.84 0.70 0.000 0.200 0.000 0.00 599.050 8.65 -4.02 0.43 0.000 0.200 0.000 0.00 599.100 8.68 -1.91 0.67 0.000 0.200 0.000 0.00 599.150 8.23 1.96 0.42 0.000 0.200 0.000 0.00 599.200 8.32 1.74 -0.01 0.000 0.200 0.000 0.00 599.250 8.67 1.74 0.34 0.000 0.200 0.000 0.00 599.300 8.60 0.58 0.62 0.000 0.200 0.000 0.00 599.350 8.34 0.79 0.19 0.000 0.200 0.000 0.00 599.400 8.05 0.52 -0.19 0.000 0.200 0.000 0.00 599.450 7.95 0.81 -0.20 0.000 0.200 0.000 0.00 599.500 8.06 1.16 -0.32 0.000 0.200 0.000 0.00 599.550 8.25 0.39 -0.26 0.000 0.200 0.000 0.00 599.600 8.08 -3.22 -0.55 0.000 0.200 0.000 0.00 599.650 7.98 -4.30 -0.56 0.000 0.200 0.000 0.00 599.700 8.09 -3.19 -0.78 0.000 0.200 0.000 0.00 599.750 7.91 -1.63 -0.43 0.000 0.200 0.000 0.00 599.800 7.94 -3.66 -0.56 0.000 0.200 0.000 0.00 599.850 8.01 -3.21 -0.13 0.000 0.200 0.000 0.00 599.900 8.01 -3.54 0.13 0.000 0.200 0.000 0.00 599.950 8.29 -1.39 0.36 0.000 0.200 0.000 0.00 600.000 8.48 -1.04 0.09 0.000 0.200 0.000 0.00 600.050 8.55 -1.42 0.22 0.000 0.200 0.000 0.00 600.100 8.51 -1.21 0.10 0.000 0.200 0.000 0.00 600.150 8.50 -2.04 -0.62 0.000 0.200 0.000 0.00 600.200 8.81 0.52 -0.76 0.000 0.200 0.000 0.00 600.250 8.99 -0.29 -1.01 0.000 0.200 0.000 0.00 600.300 8.87 -2.88 -0.89 0.000 0.200 0.000 0.00 600.350 8.64 -1.58 -1.04 0.000 0.200 0.000 0.00 600.400 8.65 -3.20 -0.96 0.000 0.200 0.000 0.00 600.450 8.44 0.02 -0.61 0.000 0.200 0.000 0.00 600.500 8.53 -1.00 -0.92 0.000 0.200 0.000 0.00 600.550 8.17 -1.96 -0.80 0.000 0.200 0.000 0.00 600.600 8.37 -1.55 -0.84 0.000 0.200 0.000 0.00 600.650 8.41 -3.57 -0.53 0.000 0.200 0.000 0.00 600.700 8.10 -4.72 -0.77 0.000 0.200 0.000 0.00 600.750 7.97 -1.40 -0.87 0.000 0.200 0.000 0.00 600.800 8.15 2.46 -0.93 0.000 0.200 0.000 0.00 600.850 8.02 2.00 -0.71 0.000 0.200 0.000 0.00 600.900 7.81 -0.07 -0.91 0.000 0.200 0.000 0.00 600.950 7.71 -0.48 -1.01 0.000 0.200 0.000 0.00 601.000 8.07 -1.17 -1.33 0.000 0.200 0.000 0.00 601.050 8.58 1.89 -1.65 0.000 0.200 0.000 0.00 601.100 8.61 0.76 -1.29 0.000 0.200 0.000 0.00 601.150 8.80 -2.55 -1.11 0.000 0.200 0.000 0.00 601.200 8.60 -0.64 -1.24 0.000 0.200 0.000 0.00 601.250 8.73 -0.87 -1.27 0.000 0.200 0.000 0.00 601.300 9.02 0.90 -0.96 0.000 0.200 0.000 0.00 601.350 8.83 1.01 -0.76 0.000 0.200 0.000 0.00 601.400 8.73 0.29 -0.64 0.000 0.200 0.000 0.00 601.450 8.93 -0.24 -0.63 0.000 0.200 0.000 0.00 601.500 8.77 -1.36 -0.79 0.000 0.200 0.000 0.00 601.550 8.86 -2.29 -0.84 0.000 0.200 0.000 0.00 601.600 8.74 -3.15 -0.66 0.000 0.200 0.000 0.00 601.650 8.58 -4.08 -0.14 0.000 0.200 0.000 0.00 601.700 8.40 -3.66 -0.29 0.000 0.200 0.000 0.00 601.750 8.58 -0.90 -0.55 0.000 0.200 0.000 0.00 601.800 8.75 -0.08 -0.47 0.000 0.200 0.000 0.00 601.850 9.08 0.08 -0.44 0.000 0.200 0.000 0.00 601.900 9.54 0.70 -0.21 0.000 0.200 0.000 0.00 601.950 9.44 -0.14 -0.05 0.000 0.200 0.000 0.00 602.000 9.57 2.63 -0.45 0.000 0.200 0.000 0.00 602.050 9.82 0.85 -0.86 0.000 0.200 0.000 0.00 602.100 9.74 2.25 -0.58 0.000 0.200 0.000 0.00 602.150 9.58 3.87 -0.42 0.000 0.200 0.000 0.00 602.200 9.73 4.47 -0.51 0.000 0.200 0.000 0.00 602.250 9.41 2.85 -0.49 0.000 0.200 0.000 0.00 602.300 9.38 1.76 -0.73 0.000 0.200 0.000 0.00 602.350 9.30 1.28 -0.99 0.000 0.200 0.000 0.00 602.400 9.25 2.21 -1.14 0.000 0.200 0.000 0.00 602.450 9.34 2.80 -1.30 0.000 0.200 0.000 0.00 602.500 9.24 0.76 -1.16 0.000 0.200 0.000 0.00 602.550 9.38 1.64 -1.11 0.000 0.200 0.000 0.00 602.600 9.41 3.51 -1.59 0.000 0.200 0.000 0.00 602.650 9.58 3.05 -1.62 0.000 0.200 0.000 0.00 602.700 9.51 3.24 -1.71 0.000 0.200 0.000 0.00 602.750 9.59 1.51 -1.57 0.000 0.200 0.000 0.00 602.800 9.36 2.48 -1.14 0.000 0.200 0.000 0.00 602.850 9.17 1.46 -1.24 0.000 0.200 0.000 0.00 602.900 9.22 -1.28 -1.05 0.000 0.200 0.000 0.00 602.950 9.36 -2.23 -0.87 0.000 0.200 0.000 0.00 603.000 9.34 -1.02 -0.78 0.000 0.200 0.000 0.00 603.050 9.15 -1.30 -0.82 0.000 0.200 0.000 0.00 603.100 9.09 -1.66 -0.77 0.000 0.200 0.000 0.00 603.150 8.82 -2.77 -0.43 0.000 0.200 0.000 0.00 603.200 8.78 -2.81 -0.21 0.000 0.200 0.000 0.00 603.250 8.65 -2.23 -0.44 0.000 0.200 0.000 0.00 603.300 8.74 -3.43 -0.19 0.000 0.200 0.000 0.00 603.350 8.68 -3.33 -0.15 0.000 0.200 0.000 0.00 603.400 8.78 -0.93 -0.19 0.000 0.200 0.000 0.00 603.450 8.99 2.51 -0.31 0.000 0.200 0.000 0.00 603.500 8.63 0.76 -0.59 0.000 0.200 0.000 0.00 603.550 8.94 -1.53 -0.60 0.000 0.200 0.000 0.00 603.600 8.89 -4.63 -0.39 0.000 0.200 0.000 0.00 603.650 8.98 -4.69 -0.24 0.000 0.200 0.000 0.00 603.700 8.79 -4.19 -0.03 0.000 0.200 0.000 0.00 603.750 8.48 -3.18 -0.10 0.000 0.200 0.000 0.00 603.800 8.51 -4.55 0.06 0.000 0.200 0.000 0.00 603.850 8.50 -7.93 -0.13 0.000 0.200 0.000 0.00 603.900 8.46 -6.35 -0.22 0.000 0.200 0.000 0.00 603.950 7.99 -6.81 -0.68 0.000 0.200 0.000 0.00 604.000 7.93 -6.97 -0.95 0.000 0.200 0.000 0.00 604.050 8.30 -7.75 -1.01 0.000 0.200 0.000 0.00 604.100 8.02 -6.36 -0.80 0.000 0.200 0.000 0.00 604.150 7.63 -6.89 -0.79 0.000 0.200 0.000 0.00 604.200 7.35 -6.35 -0.73 0.000 0.200 0.000 0.00 604.250 7.41 -6.57 -0.80 0.000 0.200 0.000 0.00 604.300 7.53 -4.97 -0.55 0.000 0.200 0.000 0.00 604.350 7.51 -3.75 -1.01 0.000 0.200 0.000 0.00 604.400 7.33 -3.50 -0.51 0.000 0.200 0.000 0.00 604.450 7.40 -3.76 -0.28 0.000 0.200 0.000 0.00 604.500 7.29 -0.96 -0.36 0.000 0.200 0.000 0.00 604.550 7.10 -3.67 -0.54 0.000 0.200 0.000 0.00 604.600 6.94 -1.01 -0.52 0.000 0.200 0.000 0.00 604.650 7.17 -1.04 -0.29 0.000 0.200 0.000 0.00 604.700 7.35 -2.02 -0.69 0.000 0.200 0.000 0.00 604.750 7.45 -1.29 -0.67 0.000 0.200 0.000 0.00 604.800 7.59 0.12 -0.66 0.000 0.200 0.000 0.00 604.850 7.42 -0.82 -0.85 0.000 0.200 0.000 0.00 604.900 7.14 -1.81 -0.88 0.000 0.200 0.000 0.00 604.950 7.11 2.96 -0.98 0.000 0.200 0.000 0.00 605.000 7.10 1.87 -0.55 0.000 0.200 0.000 0.00 605.050 7.01 1.37 -0.55 0.000 0.200 0.000 0.00 605.100 7.33 -2.51 -0.84 0.000 0.200 0.000 0.00 605.150 7.00 -5.31 -0.77 0.000 0.200 0.000 0.00 605.200 6.77 -6.17 -0.20 0.000 0.200 0.000 0.00 605.250 7.18 -4.95 0.01 0.000 0.200 0.000 0.00 605.300 7.18 -4.08 0.16 0.000 0.200 0.000 0.00 605.350 7.38 -6.09 0.46 0.000 0.200 0.000 0.00 605.400 6.96 -6.31 0.13 0.000 0.200 0.000 0.00 605.450 7.00 -6.34 0.25 0.000 0.200 0.000 0.00 605.500 6.96 -4.28 0.27 0.000 0.200 0.000 0.00 605.550 7.06 -7.05 0.55 0.000 0.200 0.000 0.00 605.600 6.94 -8.36 0.61 0.000 0.200 0.000 0.00 605.650 7.26 -6.80 0.33 0.000 0.200 0.000 0.00 605.700 7.10 -9.76 0.88 0.000 0.200 0.000 0.00 605.750 6.87 -12.05 0.75 0.000 0.200 0.000 0.00 605.800 6.87 -9.31 0.22 0.000 0.200 0.000 0.00 605.850 7.15 -9.16 0.16 0.000 0.200 0.000 0.00 605.900 7.42 -7.61 0.03 0.000 0.200 0.000 0.00 605.950 7.02 -7.43 0.15 0.000 0.200 0.000 0.00 606.000 6.76 -6.12 -0.11 0.000 0.200 0.000 0.00 606.050 6.59 -4.41 -0.20 0.000 0.200 0.000 0.00 606.100 6.52 -3.24 0.06 0.000 0.200 0.000 0.00 606.150 6.50 -5.68 0.24 0.000 0.200 0.000 0.00 606.200 6.55 -0.72 0.00 0.000 0.200 0.000 0.00 606.250 6.63 0.84 -0.32 0.000 0.200 0.000 0.00 606.300 6.49 0.27 -0.36 0.000 0.200 0.000 0.00 606.350 6.38 1.51 -0.46 0.000 0.200 0.000 0.00 606.400 6.56 1.38 -0.56 0.000 0.200 0.000 0.00 606.450 6.70 -2.76 -0.26 0.000 0.200 0.000 0.00 606.500 6.64 -2.11 -0.01 0.000 0.200 0.000 0.00 606.550 6.65 -0.06 -0.13 0.000 0.200 0.000 0.00 606.600 6.50 -0.51 -0.18 0.000 0.200 0.000 0.00 606.650 6.39 -1.46 -0.08 0.000 0.200 0.000 0.00 606.700 6.08 -0.85 -0.05 0.000 0.200 0.000 0.00 606.750 5.92 -1.36 0.03 0.000 0.200 0.000 0.00 606.800 6.08 -2.98 0.18 0.000 0.200 0.000 0.00 606.850 6.37 -1.48 -0.18 0.000 0.200 0.000 0.00 606.900 6.36 -0.94 -0.32 0.000 0.200 0.000 0.00 606.950 6.31 -0.59 -0.70 0.000 0.200 0.000 0.00 607.000 6.26 -1.43 -0.33 0.000 0.200 0.000 0.00 607.050 6.39 -0.46 -0.21 0.000 0.200 0.000 0.00 607.100 6.31 0.08 -0.49 0.000 0.200 0.000 0.00 607.150 6.32 0.77 -0.55 0.000 0.200 0.000 0.00 607.200 6.40 1.23 -0.91 0.000 0.200 0.000 0.00 607.250 6.55 2.46 -1.11 0.000 0.200 0.000 0.00 607.300 6.71 0.82 -1.18 0.000 0.200 0.000 0.00 607.350 6.79 2.72 -1.60 0.000 0.200 0.000 0.00 607.400 6.67 5.33 -1.55 0.000 0.200 0.000 0.00 607.450 6.77 4.04 -1.25 0.000 0.200 0.000 0.00 607.500 6.79 1.11 -1.35 0.000 0.200 0.000 0.00 607.550 6.87 1.25 -1.40 0.000 0.200 0.000 0.00 607.600 7.08 -0.48 -1.03 0.000 0.200 0.000 0.00 607.650 6.82 -3.04 -0.87 0.000 0.200 0.000 0.00 607.700 6.61 -3.13 -0.78 0.000 0.200 0.000 0.00 607.750 6.78 -2.60 -0.91 0.000 0.200 0.000 0.00 607.800 6.75 -2.21 -1.23 0.000 0.200 0.000 0.00 607.850 6.64 -2.27 -1.28 0.000 0.200 0.000 0.00 607.900 6.18 -2.51 -1.09 0.000 0.200 0.000 0.00 607.950 6.43 -2.83 -0.78 0.000 0.200 0.000 0.00 608.000 6.25 -1.15 -0.68 0.000 0.200 0.000 0.00 608.050 6.33 -3.16 -0.48 0.000 0.200 0.000 0.00 608.100 6.24 -3.21 -0.33 0.000 0.200 0.000 0.00 608.150 6.41 -1.26 -0.53 0.000 0.200 0.000 0.00 608.200 6.19 -3.67 -0.68 0.000 0.200 0.000 0.00 608.250 5.89 -2.23 -0.44 0.000 0.200 0.000 0.00 608.300 6.19 -4.85 -0.09 0.000 0.200 0.000 0.00 608.350 6.24 -7.41 -0.04 0.000 0.200 0.000 0.00 608.400 6.16 -11.21 -0.02 0.000 0.200 0.000 0.00 608.450 6.12 -13.91 -0.12 0.000 0.200 0.000 0.00 608.500 6.00 -11.24 0.14 0.000 0.200 0.000 0.00 608.550 6.20 -9.22 0.08 0.000 0.200 0.000 0.00 608.600 5.93 -12.74 0.56 0.000 0.200 0.000 0.00 608.650 6.04 -8.93 0.16 0.000 0.200 0.000 0.00 608.700 6.05 -8.71 0.08 0.000 0.200 0.000 0.00 608.750 5.94 -8.48 0.31 0.000 0.200 0.000 0.00 608.800 6.03 -9.15 0.07 0.000 0.200 0.000 0.00 608.850 6.29 -7.20 -0.19 0.000 0.200 0.000 0.00 608.900 6.27 -9.79 -0.10 0.000 0.200 0.000 0.00 608.950 6.24 -8.12 0.01 0.000 0.200 0.000 0.00 609.000 6.24 -10.13 -0.07 0.000 0.200 0.000 0.00 609.050 6.23 -10.99 0.27 0.000 0.200 0.000 0.00 609.100 6.12 -9.00 0.07 0.000 0.200 0.000 0.00 609.150 6.19 -11.60 -0.12 0.000 0.200 0.000 0.00 609.200 5.95 -13.22 -0.12 0.000 0.200 0.000 0.00 609.250 6.18 -11.88 0.18 0.000 0.200 0.000 0.00 609.300 6.37 -13.94 0.41 0.000 0.200 0.000 0.00 609.350 6.21 -12.69 0.23 0.000 0.200 0.000 0.00 609.400 6.38 -9.32 0.36 0.000 0.200 0.000 0.00 609.450 6.65 -8.48 0.28 0.000 0.200 0.000 0.00 609.500 6.68 -10.82 0.31 0.000 0.200 0.000 0.00 609.550 6.45 -12.47 0.38 0.000 0.200 0.000 0.00 609.600 6.85 -17.33 0.44 0.000 0.200 0.000 0.00 609.650 6.91 -16.41 0.47 0.000 0.200 0.000 0.00 609.700 7.06 -15.93 0.81 0.000 0.200 0.000 0.00 609.750 7.15 -13.52 0.68 0.000 0.200 0.000 0.00 609.800 7.56 -15.25 0.64 0.000 0.200 0.000 0.00 609.850 7.52 -14.98 0.51 0.000 0.200 0.000 0.00 609.900 7.71 -13.49 0.46 0.000 0.200 0.000 0.00 609.950 7.86 -15.23 0.46 0.000 0.200 0.000 0.00 610.000 7.60 -19.25 0.63 0.000 0.200 0.000 0.00 610.050 7.60 -16.63 0.29 0.000 0.200 0.000 0.00 610.100 7.93 -14.42 0.29 0.000 0.200 0.000 0.00 610.150 7.76 -15.62 0.17 0.000 0.200 0.000 0.00 610.200 7.64 -14.33 -0.18 0.000 0.200 0.000 0.00 610.250 7.48 -15.54 0.03 0.000 0.200 0.000 0.00 610.300 7.26 -13.30 -0.31 0.000 0.200 0.000 0.00 610.350 7.12 -11.99 -0.35 0.000 0.200 0.000 0.00 610.400 7.17 -12.32 -0.43 0.000 0.200 0.000 0.00 610.450 7.44 -12.34 -0.37 0.000 0.200 0.000 0.00 610.500 7.65 -13.39 -0.62 0.000 0.200 0.000 0.00 610.550 7.62 -14.35 -0.64 0.000 0.200 0.000 0.00 610.600 7.86 -13.34 -0.36 0.000 0.200 0.000 0.00 610.650 8.01 -11.65 -0.55 0.000 0.200 0.000 0.00 610.700 7.80 -8.35 -0.26 0.000 0.200 0.000 0.00 610.750 7.81 -8.66 -0.54 0.000 0.200 0.000 0.00 610.800 8.01 -8.69 -0.36 0.000 0.200 0.000 0.00 610.850 8.38 -9.04 -0.22 0.000 0.200 0.000 0.00 610.900 8.52 -9.61 0.12 0.000 0.200 0.000 0.00 610.950 7.99 -8.98 0.03 0.000 0.200 0.000 0.00 611.000 7.79 -9.03 -0.40 0.000 0.200 0.000 0.00 611.050 7.68 -8.23 -0.14 0.000 0.200 0.000 0.00 611.100 7.70 -7.43 -0.17 0.000 0.200 0.000 0.00 611.150 7.88 -6.46 -0.17 0.000 0.200 0.000 0.00 611.200 8.14 -6.35 0.25 0.000 0.200 0.000 0.00 611.250 8.52 -6.29 0.27 0.000 0.200 0.000 0.00 611.300 8.62 -6.63 0.12 0.000 0.200 0.000 0.00 611.350 8.63 -7.07 0.16 0.000 0.200 0.000 0.00 611.400 8.34 -7.49 0.41 0.000 0.200 0.000 0.00
[ "bryceingersoll@gmail.com" ]
bryceingersoll@gmail.com
6346977da0c17307e729ef2cd997917769cb371d
17633d1f00948a49ebf058df74863a4992ead4f5
/415/P415/P415/main.cpp
7549c80429331349f0822ec2d23793df066311c8
[ "MIT" ]
permissive
swy20190/Leetcode-Cracker
965ae2ce9c548dc39cbe3a082258c2373301248c
3b80eacfa63983d5fcc50442f0813296d5c1af94
refs/heads/main
2023-07-01T15:06:57.827192
2021-08-12T07:30:23
2021-08-12T07:30:23
311,195,588
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
#include <string> #include <algorithm> using namespace std; class Solution { public: string addStrings(string num1, string num2) { string answer = ""; int carry = 0; int tail1 = num1.size() - 1; int tail2 = num2.size() - 1; while (tail1 >= 0 || tail2 >= 0) { if (tail1 >= 0) { carry += num1[tail1] - '0'; tail1--; } if (tail2 >= 0) { carry += num2[tail2] - '0'; tail2--; } answer = answer + to_string(carry % 10); carry = carry / 10; } if (carry != 0) { answer = answer + to_string(carry); } reverse(answer.begin(), answer.end()); return answer; } };
[ "midnightsun114514@gmail.com" ]
midnightsun114514@gmail.com
7fc03a0bce214ebe4d58ddef1a013ea71b41a92b
ef8f557bc75f620cb94db76734eaf9b04cfa01bf
/abc/abc116/abc116a.cpp
1ebad7fbd846a304973d1b73cb29fe7a1262f4a9
[]
no_license
Kanazawanaoaki/atcoder_memo
3273d52093ab3e4a3c2a312dfc9658c8e1df820c
4f4dcb847d3479cb1f5ef01710c0e101a3bd6dfb
refs/heads/master
2021-08-17T02:37:51.175202
2020-09-01T02:55:11
2020-09-01T02:55:11
217,087,895
0
0
null
2020-03-23T02:36:08
2019-10-23T15:12:49
C++
UTF-8
C++
false
false
385
cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <string> #include <sstream> #include <complex> #include <vector> #include <list> #include <queue> #include <deque> #include <stack> #include <map> #include <set> using namespace std; int main(){ int a1,a2,a3; cin >> a1 >> a2 >> a3; cout << a1 * a2 *0.5<<endl; }
[ "naoaki65k@gmail.com" ]
naoaki65k@gmail.com
3005c9efcb7e7781b3bbf2fee757f697124a16f0
1c91c3991b5b0e210d5bd31d8aebf2e0a17cbe9f
/Core/CommandBuffer.cpp
b29c8d33d9bdcaaf1605cb6bab10c21f04a42d7b
[ "MIT" ]
permissive
GlynnJKW/Stratum-1
09682b6632a6d5db97248b083393fd9d425e5888
5bde1c2ab1992109947f19808f7ae905c3de2dff
refs/heads/master
2022-12-01T16:05:45.454498
2020-08-13T04:28:30
2020-08-13T04:28:30
287,180,872
0
0
null
2020-08-13T04:29:04
2020-08-13T04:29:03
null
UTF-8
C++
false
false
7,881
cpp
#include <Core/CommandBuffer.hpp> #include <Core/Buffer.hpp> #include <Core/RenderPass.hpp> #include <Content/Material.hpp> #include <Content/Shader.hpp> #include <Core/Device.hpp> #include <Scene/Camera.hpp> #include <Util/Util.hpp> #include <Util/Profiler.hpp> #include <cstring> #include <Shaders/include/shadercompat.h> using namespace std; Fence::Fence(Device* device) : mDevice(device) { VkFenceCreateInfo fenceInfo = {}; fenceInfo.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; ThrowIfFailed(vkCreateFence(*mDevice, &fenceInfo, nullptr, &mFence), "vkCreateFence failed"); } Fence::~Fence() { Wait(); vkDestroyFence(*mDevice, mFence, nullptr); } void Fence::Wait() { ThrowIfFailed(vkWaitForFences(*mDevice, 1, &mFence, true, numeric_limits<uint64_t>::max()), "vkWaitForFences failed"); } bool Fence::Signaled() { VkResult status = vkGetFenceStatus(*mDevice, mFence); if (status == VK_NOT_READY) return false; if (status == VK_SUCCESS) return true; ThrowIfFailed(status, "vkGetFenceStatus failed"); return false; } void Fence::Reset(){ ThrowIfFailed(vkResetFences(*mDevice, 1, &mFence), "vkResetFences failed"); } Semaphore::Semaphore(Device* device) : mDevice(device) { VkSemaphoreCreateInfo fenceInfo = {}; fenceInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; ThrowIfFailed(vkCreateSemaphore(*mDevice, &fenceInfo, nullptr, &mSemaphore), "vkCreateSemaphore failed"); } Semaphore::~Semaphore() { vkDestroySemaphore(*mDevice, mSemaphore, nullptr); } CommandBuffer::CommandBuffer(::Device* device, VkCommandPool commandPool, const string& name) : mDevice(device), mCommandPool(commandPool), mCurrentRenderPass(nullptr), mCurrentMaterial(nullptr), mCurrentPipeline(VK_NULL_HANDLE), mTriangleCount(0), mCurrentIndexBuffer(nullptr) { VkCommandBufferAllocateInfo allocInfo = {}; allocInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; allocInfo.commandPool = mCommandPool; allocInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; allocInfo.commandBufferCount = 1; ThrowIfFailed(vkAllocateCommandBuffers(*mDevice, &allocInfo, &mCommandBuffer), "vkAllocateCommandBuffers failed"); mDevice->SetObjectName(mCommandBuffer, name, VK_OBJECT_TYPE_COMMAND_BUFFER); mSignalFence = make_shared<Fence>(device); mDevice->SetObjectName(mSignalFence->operator VkFence(), name, VK_OBJECT_TYPE_FENCE); } CommandBuffer::~CommandBuffer() { vkFreeCommandBuffers(*mDevice, mCommandPool, 1, &mCommandBuffer); } #ifdef ENABLE_DEBUG_LAYERS void CommandBuffer::BeginLabel(const string& text, const float4& color) { VkDebugUtilsLabelEXT label = {}; label.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT; memcpy(label.color, &color, sizeof(color)); label.pLabelName = text.c_str(); mDevice->CmdBeginDebugUtilsLabelEXT(mCommandBuffer, &label); } void CommandBuffer::EndLabel() { mDevice->CmdEndDebugUtilsLabelEXT(mCommandBuffer); } #endif void CommandBuffer::Reset(const string& name) { vkResetCommandBuffer(mCommandBuffer, 0); mDevice->SetObjectName(mCommandBuffer, name, VK_OBJECT_TYPE_COMMAND_BUFFER); mSignalFence->Reset(); mDevice->SetObjectName(*mSignalFence, name + " Fence", VK_OBJECT_TYPE_FENCE); mCurrentRenderPass = nullptr; mCurrentCamera = nullptr; mCurrentMaterial = nullptr; mCurrentPipeline = VK_NULL_HANDLE; mTriangleCount = 0; mCurrentIndexBuffer = nullptr; mCurrentVertexBuffers.clear(); } void CommandBuffer::BeginRenderPass(RenderPass* renderPass, const VkExtent2D& renderArea, VkFramebuffer frameBuffer, VkClearValue* clearValues, uint32_t clearValueCount) { VkRenderPassBeginInfo info = {}; info.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO; info.renderPass = *renderPass; info.clearValueCount = clearValueCount; info.pClearValues = clearValues; info.renderArea = { { 0, 0 }, renderArea }; info.framebuffer = frameBuffer; vkCmdBeginRenderPass(*this, &info, VK_SUBPASS_CONTENTS_INLINE); mCurrentRenderPass = renderPass; mTriangleCount = 0; } void CommandBuffer::EndRenderPass() { vkCmdEndRenderPass(*this); mCurrentRenderPass = nullptr; mCurrentCamera = nullptr; mCurrentMaterial = nullptr; mCurrentIndexBuffer = nullptr; mCurrentVertexBuffers.clear(); mCurrentPipeline = VK_NULL_HANDLE; } bool CommandBuffer::PushConstant(ShaderVariant* shader, const std::string& name, const void* value) { if (shader->mPushConstants.count(name) == 0) return false; VkPushConstantRange range = shader->mPushConstants.at(name); vkCmdPushConstants(*this, shader->mPipelineLayout, range.stageFlags, range.offset, range.size, value); return true; } VkPipelineLayout CommandBuffer::BindShader(GraphicsShader* shader, PassType pass, const VertexInput* input, Camera* camera, VkPrimitiveTopology topology, VkCullModeFlags cullMode, BlendMode blendMode, VkPolygonMode polyMode) { VkPipeline pipeline = shader->GetPipeline(mCurrentRenderPass, input, topology, cullMode, blendMode, polyMode); if (mCurrentPipeline == pipeline) { if (mCurrentCamera != camera && camera) { mCurrentCamera = camera; if (mCurrentRenderPass && camera && shader->mDescriptorBindings.count("Camera")) vkCmdBindDescriptorSets(*this, VK_PIPELINE_BIND_POINT_GRAPHICS, shader->mPipelineLayout, PER_CAMERA, 1, *camera->DescriptorSet(shader->mDescriptorBindings.at("Camera").second.stageFlags), 0, nullptr); uint32_t eye = 0; PushConstant(shader, "StereoEye", &eye); } return shader->mPipelineLayout; } mCurrentPipeline = pipeline; vkCmdBindPipeline(*this, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline); if (camera) { if (mCurrentRenderPass && shader->mDescriptorBindings.count("Camera")) vkCmdBindDescriptorSets(*this, VK_PIPELINE_BIND_POINT_GRAPHICS, shader->mPipelineLayout, PER_CAMERA, 1, *camera->DescriptorSet(shader->mDescriptorBindings.at("Camera").second.stageFlags), 0, nullptr); mCurrentCamera = camera; uint32_t eye = 0; PushConstant(shader, "StereoEye", &eye); } mCurrentMaterial = nullptr; return shader->mPipelineLayout; } VkPipelineLayout CommandBuffer::BindMaterial(Material* material, PassType pass, const VertexInput* input, Camera* camera, VkPrimitiveTopology topology, VkCullModeFlags cullMode, BlendMode blendMode, VkPolygonMode polyMode) { GraphicsShader* shader = material->GetShader(pass); if (!shader) return VK_NULL_HANDLE; if (blendMode == BLEND_MODE_MAX_ENUM) blendMode = material->BlendMode(); if (cullMode == VK_CULL_MODE_FLAG_BITS_MAX_ENUM) cullMode = material->CullMode(); VkPipeline pipeline = shader->GetPipeline(mCurrentRenderPass, input, topology, cullMode, blendMode, polyMode); if (pipeline != mCurrentPipeline && mCurrentCamera == camera && mCurrentMaterial == material) return shader->mPipelineLayout; Material::VariantData* data = material->GetData(pass); if (pipeline != mCurrentPipeline) { vkCmdBindPipeline(*this, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline); mCurrentPipeline = pipeline; mCurrentCamera = nullptr; mCurrentMaterial = nullptr; } if (mCurrentCamera != camera || mCurrentMaterial != material) { material->SetDescriptorParameters(this, camera, data); mCurrentCamera = camera; mCurrentMaterial = material; } material->SetPushConstantParameters(this, camera, data); uint32_t eye = 0; PushConstant(data->mShaderVariant, "StereoEye", &eye); return shader->mPipelineLayout; } void CommandBuffer::BindVertexBuffer(Buffer* buffer, uint32_t index, VkDeviceSize offset) { if (mCurrentVertexBuffers[index] == buffer) return; VkBuffer buf = buffer == nullptr ? (VkBuffer)VK_NULL_HANDLE : (*buffer); vkCmdBindVertexBuffers(mCommandBuffer, index, 1, &buf, &offset); mCurrentVertexBuffers[index] = buffer; } void CommandBuffer::BindIndexBuffer(Buffer* buffer, VkDeviceSize offset, VkIndexType indexType) { if (mCurrentIndexBuffer == buffer) return; VkBuffer buf = buffer == nullptr ? (VkBuffer)VK_NULL_HANDLE : (*buffer); vkCmdBindIndexBuffer(mCommandBuffer, buf, offset, indexType); mCurrentIndexBuffer = buffer; }
[ "Shmaug@users.noreply.github.com" ]
Shmaug@users.noreply.github.com
78fd3693e1e9a8ead8d2ef545f12cc8f99689117
0160490319cac0dfbe37834d0468aed63f2cd0c0
/src/parsing/SgfcPropertyDecoder.h
8b8025dfd8c3e13c556b0e2ab755f619519b31cf
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
herzbube/libsgfcplusplus
a6c9c11b05a13ca1f422b15e220efb84aeefb875
cd93b76c9044952a0067240cbebac7c535e0275a
refs/heads/develop
2021-07-14T20:04:24.516039
2021-02-23T19:16:12
2021-02-23T19:16:12
238,560,277
8
1
Apache-2.0
2021-02-13T16:53:57
2020-02-05T22:21:31
C++
UTF-8
C++
false
false
17,501
h
// ----------------------------------------------------------------------------- // Copyright 2020 Patrick Näf (herzbube@herzbube.ch) // // 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. // ----------------------------------------------------------------------------- #pragma once // Project includes #include "../../include/ISgfcPropertyValue.h" #include "../../include/SgfcBoardSize.h" #include "../../include/SgfcColor.h" #include "../../include/SgfcGameType.h" #include "../../include/SgfcPropertyType.h" #include "../../include/SgfcPropertyValueType.h" #include "../../include/SgfcTypedefs.h" #include "../interface/internal/ISgfcPropertyValueTypeDescriptor.h" #include "SgfcSinglePropertyValueContext.h" // C++ Standard Library includes #include <memory> #include <vector> // Forward declarations struct Node; struct Property; struct PropValue; namespace LibSgfcPlusPlus { // Forward declarations class SgfcPropertyMetaInfo; /// @brief The SgfcPropertyDecoder class parses the raw strings that SGFC /// provides for SGF properties and their values, and generates proper /// objects from those parsing activities. /// /// @ingroup internals /// @ingroup parsing class SgfcPropertyDecoder { public: /// @brief Initializes a newly constructed SgfcPropertyDecoder object. The /// object parses the specified SGF property @a sgfProperty and its values. /// The SGF property's string value is used to determine the property type. /// The specified @a gameType and @a boardSize are important for /// interpreting certain game-specific properties and their values, but /// are ignored for all other properties and their values. /// /// @exception std::domain_error Is thrown if something about @a sgfProperty /// is not as expected. This exception should never be thrown, but when it /// @b is thrown this is an indicator for an interfacing problem with SGFC. /// The exception is known to be thrown in the following cases: /// 1) @a sgfProperty is nullptr. 2) @a sgfProperty->idstr is nullptr. /// 3) @a sgfProperty->value is nullptr. SgfcPropertyDecoder(const Property* sgfProperty, SgfcGameType gameType, SgfcBoardSize boardSize); /// @brief Destroys and cleans up the SgfcPropertyDecoder object. virtual ~SgfcPropertyDecoder(); /// @brief Returns true if escape processing is enabled. Returns false if /// escape processing is diabled. The default is false. /// /// When escape processing is enabled SgfcPropertyDecoder removes escape /// characters from SimpleText and Text property values, from /// Move/Point/Stone property values if the game type is not /// SgfcGameType::Go, and from values for properties that have /// #SgfcPropertyTypeUnknown. /// /// The default for this setting used to be true, but beginning with V2.00 /// SGFC now removes all escape characters for us. The setting is left in /// place because programming the escape processing was a substantial amount /// of work, and it may become necessary to enable it again at some time in /// the future. bool GetEscapProcessingEnabled() const; /// @brief Enables escape processing if @a escapeProcessingEnabled is true. /// Disables escape processing if @a escapeProcessingEnabled is false. /// /// @see GetEscapProcessingEnabled() void SetEscapeProcessingEnabled(bool escapeProcessingEnabled); /// @brief Returns the SgfcPropertyType value that corresponds to the /// SGF property with which SgfcPropertyDecoder was constructed. Returns /// SgfcPropertyType::Unknown for properties that are not defined in the /// SGF standard. SgfcPropertyType GetPropertyType() const; /// @brief Returns the raw string name of the SGF property with which /// SgfcPropertyDecoder was constructed. std::string GetPropertyName() const; /// @brief Returns a list with the values of the SGF property with which /// SgfcPropertyDecoder was constructed. /// /// If GetPropertyType() returns SgfcPropertyType::Unknown all /// ISgfcSinglePropertyValue objects contain uninterpreted raw values only /// and their GetValueType() method returns SgfcPropertyValueType::Unknown. /// This is because the property is not defined in the SGF standard, so /// SgfcPropertyDecoder does not know the type the raw values should have. /// /// If GetPropertyType() returns something other than /// SgfcPropertyType::Unknown, the property is defined in the SGF standard /// and SgfcPropertyDecoder attempts to convert the raw string values into /// values of the types required by the property according to the SGF /// standard. In all cases the GetValueType() method of /// ISgfcSinglePropertyValue objects returns the value type as defined by /// the SGF standard. The outcome of the conversion attempt determines the /// other properties of ISgfcSinglePropertyValue objects: /// - If SgfcPropertyDecoder fails to convert the raw string value, the /// ISgfcSinglePropertyValue objects' HasTypedValue() method returns false /// and the GetTypeConversionErrorMessage() method returns a message that /// describes the reason for the conversion failure. /// - If SgfcPropertyDecoder succeeds to convert the raw string value, the /// ISgfcSinglePropertyValue objects' HasTypedValue() method returns true /// and one of the numerous To...() methods can be used to cast the /// object to a concrete type. /// /// @exception std::domain_error Is thrown if something about the SGF /// property object passed to the constructor is not as expected. This /// exception should never be thrown, but when it @b is thrown this is an /// indicator for an interfacing problem with SGFC. The exception is known /// to be thrown in the following cases: 1) Any value type is expected, but /// the SGF property object does not contain a value. 2) A single value type /// is expected, but the SGF property object also contains a second value. /// 3) A composed value type is expected, but the SGF property object /// contains no second value. /// /// @note This method relies on certain pre-processing performed by SGFC. /// Notably: /// - SGFC is expected to trim leading and trailing whitespace from values /// that are not SimpleText or Text. Without trimming this method would /// be unable to recognize Double and Color values. /// - In SimpleText values, SGFC is expected to convert whitespace /// characters other than space to space (i.e. line breaks are not /// preserved). Due to shortcomings in SGFC's handling of line breaks /// this method adds its own line break handling, so currently SGFC's /// line break handling is irrelevant to the implementation of this /// method. See the next note for details. /// - In Text values, SGFC is expected to convert whitespace characters /// other than line breaks are converted to space (i.e. line breaks are /// preserved). SGFC is also expected to remove escaped line breaks. /// Due to shortcomings in SGFC's handling of line breaks this method /// adds its own line break handling, so currently SGFC's line break /// handling is irrelevant to the implementation of this method. /// See the next note for details. /// - In SimpleText and Text values, all escape characters are removed. /// - In Move values, if the game type is Go and the board size is <= 19x19, /// SGFC is expected to convert the value "tt" to an empty string. /// According to the SGF standard an empty string and value "tt" both /// express a pass move, but in FF4 the "tt" representation is kept only /// for compatibility with FF3. /// /// @note This method has its own line break handling for SimpleText and /// Text values, due to two shortcomings in SGFC: 1) A bug in SGFC: If a /// SimpleText value is the second value of a composed value then SGFC does /// not detect and remove hard and soft line breaks in all cases. This /// method is capable of detecting these cases. 2) SGFC only handles one /// kind of line break (e.g. LF, CRLF, ...) in SimpleText and Text values: /// The one that was predetermined at compile time. This method is capable /// of recognizing and handling all kinds of platform-specific line breaks. /// /// @note If SgfcPropertyDecoder was constructed with SgfcGameType::Go /// the decoding process performs the following game logic validation: /// - If SgfcPropertyDecoder was constructed with /// SgfcConstants::BoardSizeNone or SgfcConstants::BoardSizeInvalid, any /// game-specific property value objects (e.g. ISgfcGoPointPropertyValue) /// that would normally contain an ISgfcGoPoint do not contain such an /// object. Instead they contain the raw property value only. /// - If SgfcPropertyDecoder was constructed with a valid board size but /// the property value contains a location that is outside the boundaries /// of the specified board size, any game-specific property value objects /// (e.g. ISgfcGoPointPropertyValue) that would normally contain an /// ISgfcGoPoint do not contain such an object. Instead they contain the /// raw property value only. /// /// @note This documentation has to be replicated on the public interface. /// specifically, the notes regarding the expected pre-processing performed /// by SGFC must be available as well in the documentation of /// ISgfcSinglePropertyValue::GetRawValue(). std::vector<std::shared_ptr<ISgfcPropertyValue>> GetPropertyValues() const; /// @brief Probes the SGF node @a sgfNode for a property of type /// SgfcPropertyType::GM and returns an SgfcGameType value that corresponds /// to the result of the probing. /// /// @param sgfNode The SGF node to be probed. The node should be the root /// node of a game because SgfcPropertyType::GM can be expected to be /// present in that node. /// /// @retval SgfcGameType If the property is present and has a single Number /// value, and that value is defined in the SGF standard, then the /// SgfcGameType value that corresponds to the Number value is /// returned. The value is guaranteed not to be /// SgfcGameType::Unknown. /// @retval SgfcConstants::DefaultGameType If the property is not present. /// The value is guaranteed not to be SgfcGameType::Unknown. /// @retval SgfcGameType::Unknown If the property is present and has a /// single Number value, but that value is not defined in the /// SGF standard. /// /// @exception std::domain_error Is thrown if something about @a sgfNode /// is not as expected. This exception should never be thrown, but when it /// @b is thrown this is an indicator for an interfacing problem with SGFC. /// The exception is known to be thrown in the following cases: /// 1) @a sgfNode is nullptr. 2) @a sgfNode contains a GM property that has /// no value, or more than one value, or a single value that is not a /// Number string, or a composed value. static SgfcGameType GetGameTypeFromNode(const Node* sgfNode); /// @brief Probes the SGF node @a sgfNode for a property of type /// SgfcPropertyType::SZ and returns an SgfcBoardSize value that corresponds /// to the result of the probing. /// /// @param sgfNode The SGF node to be probed. The node should be the root /// node of a game because SgfcPropertyType::SZ can be expected to be /// present in that node. /// @param gameType The game type that should be used in case the property /// is not present to determine a game-specific default board size. /// /// @retval SgfcBoardSize If the property is present and has a valid value. /// The value is guaranteed not to be SgfcConstants::BoardSizeNone /// nor SgfcConstants::BoardSizeInvalid. /// @retval SgfcConstants::BoardSizeDefaultGo If the property is not present /// and @a gameType is SgfcGameType::Go. /// @retval SgfcConstants::BoardSizeDefaultChess If the property is not /// present and @a gameType is SgfcGameType::Chess. /// @retval SgfcConstants::BoardSizeNone If the property is not present and /// @a gameType is neither SgfcGameType::Go nor SgfcGameType::Chess. /// @retval SgfcConstants::BoardSizeInvalid If the property is present but /// its SgfcBoardSize value violates the constraints defined by the /// SGF standard. See the documentation of /// SgfcConstants::BoardSizeInvalid for details. /// /// @exception std::domain_error Is thrown if something about @a sgfNode /// is not as expected. This exception should never be thrown, but when it /// @b is thrown this is an indicator for an interfacing problem with SGFC. /// The exception is known to be thrown in the following cases: /// 1) @a sgfNode is nullptr. 2) @a sgfNode contains an SZ property that has /// no value, or a value that is neither a Number string nor a composed /// value consisting of two Number strings. static SgfcBoardSize GetBoardSizeFromNode(const Node* sgfNode, SgfcGameType gameType); private: bool escapeProcessingEnabled; const Property* sgfProperty; std::shared_ptr<SgfcPropertyMetaInfo> propertyMetaInfo; SgfcBoardSize boardSize; SgfcPropertyType GetPropertyTypeInternal() const; std::vector<std::shared_ptr<ISgfcPropertyValue>> GetSgfcPropertyValuesFromSgfPropertyValue( PropValue* sgfPropertyValue, std::shared_ptr<ISgfcPropertyValueTypeDescriptor> elementValueTypeDescriptor) const; std::shared_ptr<ISgfcPropertyValue> GetSgfcPropertyValueFromSgfPropertyValue( PropValue* sgfPropertyValue, std::shared_ptr<ISgfcPropertyValueTypeDescriptor> valueTypeDescriptor) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcPropertyValueType propertyValueType, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcNumberPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcRealPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcDoublePropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcColorPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcSimpleTextPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcTextPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcPointPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcMovePropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcStonePropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::shared_ptr<ISgfcSinglePropertyValue> GetSgfcUnknownPropertyValueFromSgfPropertyValue( const char* rawPropertyValueBuffer, SgfcSinglePropertyValueContext singlePropertyValueContext) const; bool DoesSgfcPropertyHaveTypedValues(const std::shared_ptr<ISgfcPropertyValue>& propertyValue) const; SgfcColor GetColorForPropertyType() const; std::string RemoveSimpleTextLineBreaks(const std::string& rawPropertyValue) const; std::string RemoveTextLineBreaks(const std::string& rawPropertyValue) const; std::string RemoveSimpleTextAndTextEscapeCharacters( const std::string& rawPropertyValue, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::string RemoveMoveAndPointAndStoneEscapeCharactersForNonGoGameTypes( const std::string& rawPropertyValue, SgfcSinglePropertyValueContext singlePropertyValueContext) const; std::string RemoveMandatoryEscapeCharacters(const std::string& rawPropertyValue) const; }; }
[ "herzbube@herzbube.ch" ]
herzbube@herzbube.ch
ff33cb00681b1ff9faffc45386f97be25d7dc788
834b551c9e17345d761bc54c6a56c2de9002d6ac
/problems/40. Combination Sum II/back_tracking.cpp
924a4df7d8a34a4fded48c1114ea08b8f5972d27
[]
no_license
nullscc/leetcode
15507aecbb256acff0506bbc2bdb4dada113553b
95fbe47252b6f5e88378719fcdf3ee6200c68de4
refs/heads/main
2023-03-20T08:36:22.313209
2021-03-02T08:40:20
2021-03-02T08:40:20
330,892,647
0
0
null
null
null
null
UTF-8
C++
false
false
920
cpp
class Solution { public: vector<vector<int>> ans; vector<int> output; vector<int> visited; void back_tracking(vector<int>& candidates, int target, int sum, int start) { if(sum>target) return; if(sum==target) { ans.push_back(output); return; } for(int i=start; i<candidates.size(); i++) { if(i>0 && candidates[i]==candidates[i-1] && !visited[i-1]) continue; visited[i] = true; output.push_back(candidates[i]); back_tracking(candidates, target, sum + candidates[i], i+1); output.pop_back(); visited[i] = false; } } vector<vector<int>> combinationSum2(vector<int>& candidates, int target) { visited.resize(candidates.size()); sort(candidates.begin(), candidates.end()); back_tracking(candidates, target, 0, 0); return ans; } };
[ "jarves@foxmail.com" ]
jarves@foxmail.com
6d5ac5022f92c5844a64e61f3c5379433cc47229
5b4da825e536f570a464ae9f5d7f377fc16e12b7
/externals/wasm-compiler/llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
7cf1cd22a2fb26049dfa58feb4f2a8d5cf599170
[ "BSD-3-Clause", "Apache-2.0", "MIT", "NCSA" ]
permissive
JaminChan/eos_win
9ecb3fe7d1fbb52340e7b8df42b2d3d6695930a6
c03e57151cfe152d0d3120abb13226f4df74f37e
refs/heads/master
2020-03-24T20:38:49.539494
2018-09-06T10:13:16
2018-09-06T10:13:16
142,989,586
0
0
MIT
2018-09-04T06:49:10
2018-07-31T09:02:44
C++
UTF-8
C++
false
false
7,048
cpp
//===- DebugTypeODRUniquingTest.cpp - Debug type ODR uniquing tests -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include "llvm/IR/LLVMContext.h" #include "llvm/IR/DebugInfoMetadata.h" #include "gtest/gtest.h" using namespace llvm; namespace { TEST(DebugTypeODRUniquingTest, enableDebugTypeODRUniquing) { LLVMContext Context; EXPECT_FALSE(Context.isODRUniquingDebugTypes()); Context.enableDebugTypeODRUniquing(); EXPECT_TRUE(Context.isODRUniquingDebugTypes()); Context.disableDebugTypeODRUniquing(); EXPECT_FALSE(Context.isODRUniquingDebugTypes()); } TEST(DebugTypeODRUniquingTest, getODRType) { LLVMContext Context; MDString &UUID = *MDString::get(Context, "string"); // Without a type map, this should return null. EXPECT_FALSE(DICompositeType::getODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr)); // Enable the mapping. There still shouldn't be a type. Context.enableDebugTypeODRUniquing(); EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); // Create some ODR-uniqued type. auto &CT = *DICompositeType::getODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr); EXPECT_EQ(UUID.getString(), CT.getIdentifier()); // Check that we get it back, even if we change a field. EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); EXPECT_EQ(&CT, DICompositeType::getODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr)); EXPECT_EQ(&CT, DICompositeType::getODRType( Context, UUID, dwarf::DW_TAG_class_type, MDString::get(Context, "name"), nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr)); // Check that it's discarded with the type map. Context.disableDebugTypeODRUniquing(); EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); // And it shouldn't magically reappear... Context.enableDebugTypeODRUniquing(); EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); } TEST(DebugTypeODRUniquingTest, buildODRType) { LLVMContext Context; Context.enableDebugTypeODRUniquing(); // Build an ODR type that's a forward decl. MDString &UUID = *MDString::get(Context, "Type"); auto &CT = *DICompositeType::buildODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr); EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); EXPECT_EQ(dwarf::DW_TAG_class_type, CT.getTag()); // Update with another forward decl. This should be a no-op. EXPECT_EQ(&CT, DICompositeType::buildODRType( Context, UUID, dwarf::DW_TAG_structure_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr)); EXPECT_EQ(dwarf::DW_TAG_class_type, CT.getTag()); // Update with a definition. This time we should see a change. EXPECT_EQ(&CT, DICompositeType::buildODRType( Context, UUID, dwarf::DW_TAG_structure_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr)); EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag()); // Further updates should be ignored. EXPECT_EQ(&CT, DICompositeType::buildODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr)); EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag()); EXPECT_EQ(&CT, DICompositeType::buildODRType( Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr)); EXPECT_EQ(dwarf::DW_TAG_structure_type, CT.getTag()); } TEST(DebugTypeODRUniquingTest, buildODRTypeFields) { LLVMContext Context; Context.enableDebugTypeODRUniquing(); // Build an ODR type that's a forward decl with no other fields set. MDString &UUID = *MDString::get(Context, "UUID"); auto &CT = *DICompositeType::buildODRType( Context, UUID, 0, nullptr, nullptr, 0, nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr); // Create macros for running through all the fields except Identifier and Flags. #define FOR_EACH_MDFIELD() \ DO_FOR_FIELD(Name) \ DO_FOR_FIELD(File) \ DO_FOR_FIELD(Scope) \ DO_FOR_FIELD(BaseType) \ DO_FOR_FIELD(Elements) \ DO_FOR_FIELD(VTableHolder) \ DO_FOR_FIELD(TemplateParams) #define FOR_EACH_INLINEFIELD() \ DO_FOR_FIELD(Tag) \ DO_FOR_FIELD(Line) \ DO_FOR_FIELD(SizeInBits) \ DO_FOR_FIELD(AlignInBits) \ DO_FOR_FIELD(OffsetInBits) \ DO_FOR_FIELD(RuntimeLang) // Create all the fields. #define DO_FOR_FIELD(X) auto *X = MDString::get(Context, #X); FOR_EACH_MDFIELD(); #undef DO_FOR_FIELD unsigned NonZeroInit = 0; #define DO_FOR_FIELD(X) auto X = ++NonZeroInit; FOR_EACH_INLINEFIELD(); #undef DO_FOR_FIELD // Replace all the fields with new values that are distinct from each other. EXPECT_EQ(&CT, DICompositeType::buildODRType( Context, UUID, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits, DINode::FlagArtificial, Elements, RuntimeLang, VTableHolder, TemplateParams)); // Confirm that all the right fields got updated. #define DO_FOR_FIELD(X) EXPECT_EQ(X, CT.getRaw##X()); FOR_EACH_MDFIELD(); #undef DO_FOR_FIELD #undef FOR_EACH_MDFIELD #define DO_FOR_FIELD(X) EXPECT_EQ(X, CT.get##X()); FOR_EACH_INLINEFIELD(); #undef DO_FOR_FIELD #undef FOR_EACH_INLINEFIELD EXPECT_EQ(DINode::FlagArtificial, CT.getFlags()); EXPECT_EQ(&UUID, CT.getRawIdentifier()); } } // end namespace
[ "349683504@qq.com" ]
349683504@qq.com
1784c4256e72b21972f68d33c353b365b6a5a204
9526edb531bca23e527bf956134008d8ab51011b
/test/tailoring_rule_test_ar_standard_001.cpp
631b84de78e9518b5a05359a076ca1fbc4d220fd
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
mikezackles/text
f2d4fa2431479ab0bed3feba1aae249e179394af
a5a21f87bbe8a1f8b893951f318f25802c52aa0d
refs/heads/master
2021-05-20T16:39:09.467828
2020-05-19T17:55:40
2020-05-19T17:55:40
252,369,260
0
0
BSL-1.0
2020-04-02T06:02:42
2020-04-02T06:02:42
null
UTF-8
C++
false
false
91,789
cpp
// Warning! This file is autogenerated. #include <boost/text/collation_table.hpp> #include <boost/text/collate.hpp> #include <boost/text/data/all.hpp> #ifndef LIMIT_TESTING_FOR_CI #include <boost/text/save_load_table.hpp> #include <boost/filesystem.hpp> #endif #include <gtest/gtest.h> using namespace boost::text; auto const error = [](string const & s) { std::cout << s; }; auto const warning = [](string const & s) {}; collation_table make_save_load_table() { #ifdef LIMIT_TESTING_FOR_CI string const table_str(data::ar::standard_collation_tailoring()); return tailored_collation_table( table_str, "ar::standard_collation_tailoring()", error, warning); #else if (!exists(boost::filesystem::path("ar_standard.table"))) { string const table_str(data::ar::standard_collation_tailoring()); collation_table table = tailored_collation_table( table_str, "ar::standard_collation_tailoring()", error, warning); save_table(table, "ar_standard.table.1"); boost::filesystem::rename("ar_standard.table.1", "ar_standard.table"); } return load_table("ar_standard.table"); #endif } collation_table const & table() { static collation_table retval = make_save_load_table(); return retval; } TEST(tailoring, ar_standard_000_000) { { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x064c); auto const rel = std::vector<uint32_t>(1, 0xfe72); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x064c, 0x0651}; auto const rel = std::vector<uint32_t>(1, 0xfc5e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x064d); auto const rel = std::vector<uint32_t>(1, 0xfe74); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x064d, 0x0651}; auto const rel = std::vector<uint32_t>(1, 0xfc5f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x064e); auto const rel = std::vector<uint32_t>(1, 0xfe76); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x064e, 0x0651}; auto const rel = std::vector<uint32_t>(1, 0xfc60); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x064f); auto const rel = std::vector<uint32_t>(1, 0xfe78); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x064f, 0x0651}; auto const rel = std::vector<uint32_t>(1, 0xfc61); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0650); auto const rel = std::vector<uint32_t>(1, 0xfe7a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x0650, 0x0651}; auto const rel = std::vector<uint32_t>(1, 0xfc62); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0651); auto const rel = std::vector<uint32_t>(1, 0xfe7c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x0651, 0x0670}; auto const rel = std::vector<uint32_t>(1, 0xfc63); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0652); auto const rel = std::vector<uint32_t>(1, 0xfe7e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0671); auto const rel = std::vector<uint32_t>(1, 0xfb50); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb50); auto const rel = std::vector<uint32_t>(1, 0xfb51); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0679); auto const rel = std::vector<uint32_t>(1, 0xfb66); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb66); auto const rel = std::vector<uint32_t>(1, 0xfb67); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb67); auto const rel = std::vector<uint32_t>(1, 0xfb68); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb68); auto const rel = std::vector<uint32_t>(1, 0xfb69); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x067a); auto const rel = std::vector<uint32_t>(1, 0xfb5e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb5e); auto const rel = std::vector<uint32_t>(1, 0xfb5f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb5f); auto const rel = std::vector<uint32_t>(1, 0xfb60); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb60); auto const rel = std::vector<uint32_t>(1, 0xfb61); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x067b); auto const rel = std::vector<uint32_t>(1, 0xfb52); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb52); auto const rel = std::vector<uint32_t>(1, 0xfb53); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb53); auto const rel = std::vector<uint32_t>(1, 0xfb54); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb54); auto const rel = std::vector<uint32_t>(1, 0xfb55); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x067e); auto const rel = std::vector<uint32_t>(1, 0xfb56); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb56); auto const rel = std::vector<uint32_t>(1, 0xfb57); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb57); auto const rel = std::vector<uint32_t>(1, 0xfb58); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb58); auto const rel = std::vector<uint32_t>(1, 0xfb59); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x067f); auto const rel = std::vector<uint32_t>(1, 0xfb62); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb62); auto const rel = std::vector<uint32_t>(1, 0xfb63); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } } TEST(tailoring, ar_standard_001_001) { { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb63); auto const rel = std::vector<uint32_t>(1, 0xfb64); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb64); auto const rel = std::vector<uint32_t>(1, 0xfb65); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0680); auto const rel = std::vector<uint32_t>(1, 0xfb5a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb5a); auto const rel = std::vector<uint32_t>(1, 0xfb5b); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb5b); auto const rel = std::vector<uint32_t>(1, 0xfb5c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb5c); auto const rel = std::vector<uint32_t>(1, 0xfb5d); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0683); auto const rel = std::vector<uint32_t>(1, 0xfb76); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb76); auto const rel = std::vector<uint32_t>(1, 0xfb77); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb77); auto const rel = std::vector<uint32_t>(1, 0xfb78); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb78); auto const rel = std::vector<uint32_t>(1, 0xfb79); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0684); auto const rel = std::vector<uint32_t>(1, 0xfb72); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb72); auto const rel = std::vector<uint32_t>(1, 0xfb73); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb73); auto const rel = std::vector<uint32_t>(1, 0xfb74); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb74); auto const rel = std::vector<uint32_t>(1, 0xfb75); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0686); auto const rel = std::vector<uint32_t>(1, 0xfb7a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb7a); auto const rel = std::vector<uint32_t>(1, 0xfb7b); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb7b); auto const rel = std::vector<uint32_t>(1, 0xfb7c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb7c); auto const rel = std::vector<uint32_t>(1, 0xfb7d); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0687); auto const rel = std::vector<uint32_t>(1, 0xfb7e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb7e); auto const rel = std::vector<uint32_t>(1, 0xfb7f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb7f); auto const rel = std::vector<uint32_t>(1, 0xfb80); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb80); auto const rel = std::vector<uint32_t>(1, 0xfb81); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0688); auto const rel = std::vector<uint32_t>(1, 0xfb88); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb88); auto const rel = std::vector<uint32_t>(1, 0xfb89); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x068c); auto const rel = std::vector<uint32_t>(1, 0xfb84); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb84); auto const rel = std::vector<uint32_t>(1, 0xfb85); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x068d); auto const rel = std::vector<uint32_t>(1, 0xfb82); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb82); auto const rel = std::vector<uint32_t>(1, 0xfb83); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x068e); auto const rel = std::vector<uint32_t>(1, 0xfb86); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb86); auto const rel = std::vector<uint32_t>(1, 0xfb87); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0691); auto const rel = std::vector<uint32_t>(1, 0xfb8c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb8c); auto const rel = std::vector<uint32_t>(1, 0xfb8d); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x0698); auto const rel = std::vector<uint32_t>(1, 0xfb8a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb8a); auto const rel = std::vector<uint32_t>(1, 0xfb8b); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06a4); auto const rel = std::vector<uint32_t>(1, 0xfb6a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb6a); auto const rel = std::vector<uint32_t>(1, 0xfb6b); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb6b); auto const rel = std::vector<uint32_t>(1, 0xfb6c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb6c); auto const rel = std::vector<uint32_t>(1, 0xfb6d); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } } TEST(tailoring, ar_standard_001_002) { { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06a6); auto const rel = std::vector<uint32_t>(1, 0xfb6e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb6e); auto const rel = std::vector<uint32_t>(1, 0xfb6f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb6f); auto const rel = std::vector<uint32_t>(1, 0xfb70); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb70); auto const rel = std::vector<uint32_t>(1, 0xfb71); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06a9); auto const rel = std::vector<uint32_t>(1, 0xfb8e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb8e); auto const rel = std::vector<uint32_t>(1, 0xfb8f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb8f); auto const rel = std::vector<uint32_t>(1, 0xfb90); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb90); auto const rel = std::vector<uint32_t>(1, 0xfb91); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06ad); auto const rel = std::vector<uint32_t>(1, 0xfbd3); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbd3); auto const rel = std::vector<uint32_t>(1, 0xfbd4); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbd4); auto const rel = std::vector<uint32_t>(1, 0xfbd5); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbd5); auto const rel = std::vector<uint32_t>(1, 0xfbd6); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06af); auto const rel = std::vector<uint32_t>(1, 0xfb92); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb92); auto const rel = std::vector<uint32_t>(1, 0xfb93); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb93); auto const rel = std::vector<uint32_t>(1, 0xfb94); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb94); auto const rel = std::vector<uint32_t>(1, 0xfb95); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06b1); auto const rel = std::vector<uint32_t>(1, 0xfb9a); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb9a); auto const rel = std::vector<uint32_t>(1, 0xfb9b); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb9b); auto const rel = std::vector<uint32_t>(1, 0xfb9c); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb9c); auto const rel = std::vector<uint32_t>(1, 0xfb9d); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06b3); auto const rel = std::vector<uint32_t>(1, 0xfb96); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb96); auto const rel = std::vector<uint32_t>(1, 0xfb97); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb97); auto const rel = std::vector<uint32_t>(1, 0xfb98); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb98); auto const rel = std::vector<uint32_t>(1, 0xfb99); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06ba); auto const rel = std::vector<uint32_t>(1, 0xfb9e); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfb9e); auto const rel = std::vector<uint32_t>(1, 0xfb9f); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06bb); auto const rel = std::vector<uint32_t>(1, 0xfba0); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba0); auto const rel = std::vector<uint32_t>(1, 0xfba1); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba1); auto const rel = std::vector<uint32_t>(1, 0xfba2); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba2); auto const rel = std::vector<uint32_t>(1, 0xfba3); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06be); auto const rel = std::vector<uint32_t>(1, 0xfbaa); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbaa); auto const rel = std::vector<uint32_t>(1, 0xfbab); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbab); auto const rel = std::vector<uint32_t>(1, 0xfbac); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbac); auto const rel = std::vector<uint32_t>(1, 0xfbad); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c1); auto const rel = std::vector<uint32_t>(1, 0xfba6); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba6); auto const rel = std::vector<uint32_t>(1, 0xfba7); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba7); auto const rel = std::vector<uint32_t>(1, 0xfba8); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba8); auto const rel = std::vector<uint32_t>(1, 0xfba9); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c5); auto const rel = std::vector<uint32_t>(1, 0xfbe0); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbe0); auto const rel = std::vector<uint32_t>(1, 0xfbe1); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } } TEST(tailoring, ar_standard_001_003) { { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c6); auto const rel = std::vector<uint32_t>(1, 0xfbd9); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbd9); auto const rel = std::vector<uint32_t>(1, 0xfbda); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c7); auto const rel = std::vector<uint32_t>(1, 0xfbd7); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbd7); auto const rel = std::vector<uint32_t>(1, 0xfbd8); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>{0x06c7, 0x0674}; auto const rel = std::vector<uint32_t>(1, 0xfbdd); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c8); auto const rel = std::vector<uint32_t>(1, 0xfbdb); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbdb); auto const rel = std::vector<uint32_t>(1, 0xfbdc); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c9); auto const rel = std::vector<uint32_t>(1, 0xfbe2); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbe2); auto const rel = std::vector<uint32_t>(1, 0xfbe3); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06cb); auto const rel = std::vector<uint32_t>(1, 0xfbde); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbde); auto const rel = std::vector<uint32_t>(1, 0xfbdf); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06cc); auto const rel = std::vector<uint32_t>(1, 0xfbfc); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbfc); auto const rel = std::vector<uint32_t>(1, 0xfbfd); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbfd); auto const rel = std::vector<uint32_t>(1, 0xfbfe); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbfe); auto const rel = std::vector<uint32_t>(1, 0xfbff); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06d0); auto const rel = std::vector<uint32_t>(1, 0xfbe4); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbe4); auto const rel = std::vector<uint32_t>(1, 0xfbe5); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbe5); auto const rel = std::vector<uint32_t>(1, 0xfbe6); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbe6); auto const rel = std::vector<uint32_t>(1, 0xfbe7); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06d2); auto const rel = std::vector<uint32_t>(1, 0xfbae); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbae); auto const rel = std::vector<uint32_t>(1, 0xfbaf); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06d3); auto const rel = std::vector<uint32_t>(1, 0xfbb0); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfbb0); auto const rel = std::vector<uint32_t>(1, 0xfbb1); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0x06c0); auto const rel = std::vector<uint32_t>(1, 0xfba4); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } { // greater than (or equal to, for =) preceeding cps auto const res = std::vector<uint32_t>(1, 0xfba4); auto const rel = std::vector<uint32_t>(1, 0xfba5); string const res_str = to_string(res); string const rel_str = to_string(rel); auto const res_view = as_utf32(res); auto const rel_view = as_utf32(rel); EXPECT_EQ(collate( res.begin(), res.end(), rel.begin(), rel.end(), table(), collation_strength::quaternary), 0); EXPECT_EQ(collate( res_view.begin(), res_view.end(), rel_view.begin(), rel_view.end(), table(), collation_strength::quaternary), 0); } }
[ "whatwasthataddress@gmail.com" ]
whatwasthataddress@gmail.com
b7b7eacf3e26d5d191df8f0e741a125ba92f028f
65d7574d73bc4de67265e5dcf8603f6a701bec72
/codebase/libs/Radx/src/Radx/Radx.cc
c6dd018eea4a61ddb619319c50df42b1590e0448
[ "BSD-3-Clause" ]
permissive
Nina-Om/lrose-core
84245e25633ca3e75999774bb82d838e625f36ca
14d5e087518627e5bfd62da8a3e369a44d46ad3d
refs/heads/master
2023-07-07T03:05:55.205016
2021-08-16T18:03:57
2021-08-16T18:03:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
27,109
cc
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Boulder, Colorado, USA // ** BSD licence applies - redistribution and use in source and binary // ** forms, with or without modification, are permitted provided that // ** the following conditions are met: // ** 1) If the software is modified to produce derivative works, // ** such modified software should be clearly marked, so as not // ** to confuse it with the version available from UCAR. // ** 2) Redistributions of source code must retain the above copyright // ** notice, this list of conditions and the following disclaimer. // ** 3) 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. // ** 4) Neither the name of UCAR nor the names of its contributors, // ** if any, may be used to endorse or promote products derived from // ** this software without specific prior written permission. // ** DISCLAIMER: THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS // ** OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED // ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* ///////////////////////////////////////////////////////////// // Radx.cc // // Definitions for Radx data // // Mike Dixon, RAP, NCAR // P.O.Box 3000, Boulder, CO, 80307-3000, USA // // Dec 2009 // /////////////////////////////////////////////////////////////// #include <Radx/Radx.hh> #include <iostream> #include <cstring> #include <cstdio> #include <cmath> using namespace std; // initialize constants const Radx::InstrumentType_t Radx::missingInstrumentType = Radx::INSTRUMENT_TYPE_RADAR; const Radx::PlatformType_t Radx::missingPlatformType = Radx::PLATFORM_TYPE_FIXED; const Radx::SweepMode_t Radx::missingSweepMode = Radx::SWEEP_MODE_NOT_SET; const Radx::FollowMode_t Radx::missingFollowMode = Radx::FOLLOW_MODE_NONE; const Radx::PolarizationMode_t Radx::missingPolarizationMode = Radx::POL_MODE_NOT_SET; const Radx::PrtMode_t Radx::missingPrtMode = Radx::PRT_MODE_NOT_SET; const Radx::EventCause_t Radx::missingEventCause = Radx::EVENT_CAUSE_NOT_SET; const double Radx::LIGHT_SPEED = 2.99792458e8; // m/s const double Radx::DegToRad = 0.01745329251994372; const double Radx::RadToDeg = 57.29577951308092; // missing values in meta-data double Radx::missingMetaDouble = -9999.0; float Radx::missingMetaFloat = -9999.0; int Radx::missingMetaInt = -9999; char Radx::missingMetaChar = -128; // missing values in field data Radx::fl64 Radx::missingFl64 = -9.0e33; Radx::fl32 Radx::missingFl32 = -9.0e33f; Radx::si32 Radx::missingSi32 = -2147483647; Radx::si16 Radx::missingSi16 = -32768; Radx::si08 Radx::missingSi08 = -128; // standard strings const char* Radx::AIRCRAFT = "aircraft"; const char* Radx::AIRCRAFT_AFT = "aircraft_aft"; const char* Radx::AIRCRAFT_BELLY = "aircraft_belly"; const char* Radx::AIRCRAFT_FORE = "aircraft_fore"; const char* Radx::AIRCRAFT_NOSE = "aircraft_nose"; const char* Radx::AIRCRAFT_ROOF = "aircraft_roof"; const char* Radx::AIRCRAFT_TAIL = "aircraft_tail"; const char* Radx::AXIS_X = "axis_x"; const char* Radx::AXIS_X_PRIME = "axis_x_prime"; const char* Radx::AXIS_Y = "axis_y"; const char* Radx::AXIS_Y_PRIME = "axis_y_prime"; const char* Radx::AXIS_Z = "axis_z"; const char* Radx::AXIS_Z_PRIME = "axis_z_prime"; const char* Radx::AZIMUTH_SURVEILLANCE = "azimuth_surveillance"; const char* Radx::CALIBRATION = "calibration"; const char* Radx::CIRCULAR = "circular"; const char* Radx::COMPLEX_TRAJECTORY = "complex_trajectory"; const char* Radx::COPLANE = "coplane"; const char* Radx::DOPPLER_BEAM_SWINGING = "doppler_beam_swinging"; const char* Radx::DUAL = "dual"; const char* Radx::ELECTRONIC_STEERING = "electronic_steering"; const char* Radx::ELEVATION_SURVEILLANCE = "elevation_surveillance"; const char* Radx::FIXED = "fixed"; const char* Radx::HORIZONTAL = "horizontal"; const char* Radx::HV_ALT = "hv_alt"; const char* Radx::HV_SIM = "hv_sim"; const char* Radx::HV_H_XMIT = "hv_h_xmit"; const char* Radx::HV_V_XMIT = "hv_v_xmit"; const char* Radx::IDLE = "idle"; const char* Radx::LIDAR = "lidar"; const char* Radx::MANUAL = "manual"; const char* Radx::MANUAL_PPI = "manual_ppi"; const char* Radx::MANUAL_RHI = "manual_rhi"; const char* Radx::NONE = "none"; const char* Radx::NOT_SET = "not_set"; const char* Radx::POINTING = "pointing"; const char* Radx::RADAR = "radar"; const char* Radx::RHI = "rhi"; const char* Radx::SATELLITE_GEOSTAT = "satellite_geostat"; const char* Radx::SATELLITE_ORBIT = "satellite_orbit"; const char* Radx::SECTOR = "sector"; const char* Radx::SHIP = "ship"; const char* Radx::STAGGERED = "staggered"; const char* Radx::SUN = "sun"; const char* Radx::SUNSCAN = "sunscan"; const char* Radx::SUNSCAN_RHI = "sunscan_rhi"; const char* Radx::TARGET = "target"; const char* Radx::UNKNOWN = "unknown"; const char* Radx::VEHICLE = "vehicle"; const char* Radx::VERTICAL = "vertical"; const char* Radx::VERTICAL_POINTING = "vertical_pointing"; const char* Radx::EVENT_DONE = "EVENT_DONE"; const char* Radx::EVENT_TIMEOUT = "EVENT_TIMEOUT"; const char* Radx::EVENT_TIMER = "EVENT_TIMER"; const char* Radx::EVENT_ABORT = "EVENT_ABORT"; const char* Radx::EVENT_SCAN_ABORT = "EVENT_SCAN_ABORT"; const char* Radx::EVENT_RESTART = "EVENT_RESTART"; const char* Radx::EVENT_SCAN_STATE_TIMEOUT = "EVENT_SCAN_STATE_TIMEOUT"; /////////////////////////////// // get byte width of data type int Radx::getByteWidth(DataType_t dtype) { switch (dtype) { case FL64: return sizeof(fl64); case FL32: return sizeof(fl32); case SI32: return sizeof(si32); case SI16: return sizeof(si16); case SI08: default: return sizeof(si08); } } /////////////////////////////////////////// // convert enums to strings string Radx::dataTypeToStr(DataType_t dtype) { switch (dtype) { case FL64: return "fl64"; case FL32: return "fl32"; case SI32: return "si32"; case SI16: return "si16"; case SI08: default: return "si08"; } } string Radx::instrumentTypeToStr(InstrumentType_t ptype) { switch (ptype) { case INSTRUMENT_TYPE_RADAR: { return Radx::RADAR; } case INSTRUMENT_TYPE_LIDAR: { return Radx::LIDAR; } default: { return Radx::UNKNOWN; } } } Radx::InstrumentType_t Radx::instrumentTypeFromStr(const string &str) { if (str.find(Radx::RADAR) != string::npos) { return INSTRUMENT_TYPE_RADAR; } if (str.find(Radx::LIDAR) != string::npos) { return INSTRUMENT_TYPE_LIDAR; } return INSTRUMENT_TYPE_RADAR; } string Radx::instrumentTypeOptions() { string options; options += + Radx::RADAR; options += ", "; options += Radx::LIDAR; return options; } string Radx::primaryAxisToStr(PrimaryAxis_t ptype) { switch (ptype) { case PRIMARY_AXIS_Y_PRIME: { return Radx::AXIS_Y_PRIME; } case PRIMARY_AXIS_Y: { return Radx::AXIS_Y; } case PRIMARY_AXIS_X_PRIME: { return Radx::AXIS_X_PRIME; } case PRIMARY_AXIS_X: { return Radx::AXIS_X; } case PRIMARY_AXIS_Z_PRIME: { return Radx::AXIS_Z_PRIME; } case PRIMARY_AXIS_Z: default: { return Radx::AXIS_Z; } } } Radx::PrimaryAxis_t Radx::primaryAxisFromStr(const string &str) { if (str.find(Radx::AXIS_Z_PRIME) != string::npos) { return PRIMARY_AXIS_Z_PRIME; } if (str.find(Radx::AXIS_Y_PRIME) != string::npos) { return PRIMARY_AXIS_Y_PRIME; } if (str.find(Radx::AXIS_X_PRIME) != string::npos) { return PRIMARY_AXIS_X_PRIME; } if (str.find(Radx::AXIS_Z) != string::npos) { return PRIMARY_AXIS_Z; } if (str.find(Radx::AXIS_Y) != string::npos) { return PRIMARY_AXIS_Y; } if (str.find(Radx::AXIS_X) != string::npos) { return PRIMARY_AXIS_X; } return PRIMARY_AXIS_Z; } string Radx::primaryAxisOptions() { string options; options += + Radx::AXIS_Z; options += ", "; options += Radx::AXIS_Y; options += ", "; options += Radx::AXIS_X; options += ", "; options += Radx::AXIS_Z_PRIME; options += ", "; options += Radx::AXIS_Y_PRIME; options += ", "; options += Radx::AXIS_X_PRIME; return options; } string Radx::platformTypeToStr(PlatformType_t ptype) { switch (ptype) { case PLATFORM_TYPE_NOT_SET: { return Radx::NOT_SET; } case PLATFORM_TYPE_FIXED: { return Radx::FIXED; } case PLATFORM_TYPE_VEHICLE: { return Radx::VEHICLE; } case PLATFORM_TYPE_SHIP: { return Radx::SHIP; } case PLATFORM_TYPE_AIRCRAFT: { return Radx::AIRCRAFT; } case PLATFORM_TYPE_AIRCRAFT_FORE: { return Radx::AIRCRAFT_FORE; } case PLATFORM_TYPE_AIRCRAFT_AFT: { return Radx::AIRCRAFT_AFT; } case PLATFORM_TYPE_AIRCRAFT_TAIL: { return Radx::AIRCRAFT_TAIL; } case PLATFORM_TYPE_AIRCRAFT_BELLY: { return Radx::AIRCRAFT_BELLY; } case PLATFORM_TYPE_AIRCRAFT_ROOF: { return Radx::AIRCRAFT_ROOF; } case PLATFORM_TYPE_AIRCRAFT_NOSE: { return Radx::AIRCRAFT_NOSE; } case PLATFORM_TYPE_SATELLITE_ORBIT: { return Radx::SATELLITE_ORBIT; } case PLATFORM_TYPE_SATELLITE_GEOSTAT: { return Radx::SATELLITE_GEOSTAT; } default: { return Radx::UNKNOWN; } } } Radx::PlatformType_t Radx::platformTypeFromStr(const string &str) { if (str.find(Radx::FIXED) != string::npos) { return PLATFORM_TYPE_FIXED; } if (str.find(Radx::VEHICLE) != string::npos) { return PLATFORM_TYPE_VEHICLE; } if (str.find(Radx::SHIP) != string::npos) { return PLATFORM_TYPE_SHIP; } if (str.find(Radx::AIRCRAFT_FORE) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_FORE; } if (str.find(Radx::AIRCRAFT_AFT) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_AFT; } if (str.find(Radx::AIRCRAFT_TAIL) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_TAIL; } if (str.find(Radx::AIRCRAFT_BELLY) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_BELLY; } if (str.find(Radx::AIRCRAFT_ROOF) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_ROOF; } if (str.find(Radx::AIRCRAFT_NOSE) != string::npos) { return PLATFORM_TYPE_AIRCRAFT_NOSE; } if (str.find(Radx::AIRCRAFT) != string::npos) { return PLATFORM_TYPE_AIRCRAFT; } if (str.find(Radx::SATELLITE_ORBIT) != string::npos) { return PLATFORM_TYPE_SATELLITE_ORBIT; } if (str.find(Radx::SATELLITE_GEOSTAT) != string::npos) { return PLATFORM_TYPE_SATELLITE_GEOSTAT; } return PLATFORM_TYPE_NOT_SET; } string Radx::platformTypeOptions() { string options; options += + Radx::FIXED; options += ", "; options += Radx::VEHICLE; options += ", "; options += Radx::SHIP; options += ", "; options += Radx::AIRCRAFT_FORE; options += ", "; options += Radx::AIRCRAFT_AFT; options += ", "; options += Radx::AIRCRAFT_TAIL; options += ", "; options += Radx::AIRCRAFT_BELLY; options += ", "; options += Radx::AIRCRAFT_ROOF; options += ", "; options += Radx::AIRCRAFT_NOSE; options += ", "; options += Radx::SATELLITE_ORBIT; options += ", "; options += Radx::SATELLITE_GEOSTAT; return options; } string Radx::sweepModeToStr(SweepMode_t mode) { switch (mode) { case SWEEP_MODE_NOT_SET: { return Radx::NOT_SET; } case SWEEP_MODE_SECTOR: { return Radx::SECTOR; } case SWEEP_MODE_COPLANE: { return Radx::COPLANE; } case SWEEP_MODE_RHI: { return Radx::RHI; } case SWEEP_MODE_VERTICAL_POINTING: { return Radx::VERTICAL_POINTING; } case SWEEP_MODE_IDLE: { return Radx::IDLE; } case SWEEP_MODE_AZIMUTH_SURVEILLANCE: { return Radx::AZIMUTH_SURVEILLANCE; } case SWEEP_MODE_ELEVATION_SURVEILLANCE: { return Radx::ELEVATION_SURVEILLANCE; } case SWEEP_MODE_SUNSCAN: { return Radx::SUNSCAN; } case SWEEP_MODE_POINTING: { return Radx::POINTING; } case SWEEP_MODE_CALIBRATION: { return Radx::CALIBRATION; } case SWEEP_MODE_MANUAL_PPI: { return Radx::MANUAL_PPI; } case SWEEP_MODE_MANUAL_RHI: { return Radx::MANUAL_RHI; } case SWEEP_MODE_SUNSCAN_RHI: { return Radx::SUNSCAN_RHI; } case SWEEP_MODE_DOPPLER_BEAM_SWINGING: { return Radx::DOPPLER_BEAM_SWINGING; } case SWEEP_MODE_COMPLEX_TRAJECTORY: { return Radx::COMPLEX_TRAJECTORY; } case SWEEP_MODE_ELECTRONIC_STEERING: { return Radx::ELECTRONIC_STEERING; } default: { return Radx::UNKNOWN; } } } string Radx::sweepModeToShortStr(SweepMode_t mode) { switch (mode) { case SWEEP_MODE_NOT_SET: { return "XXX"; } case SWEEP_MODE_SECTOR: { return "PPI"; } case SWEEP_MODE_COPLANE: { return "COP"; } case SWEEP_MODE_RHI: { return "RHI"; } case SWEEP_MODE_VERTICAL_POINTING: { return "VER"; } case SWEEP_MODE_IDLE: { return "IDL"; } case SWEEP_MODE_AZIMUTH_SURVEILLANCE: { return "SUR"; } case SWEEP_MODE_ELEVATION_SURVEILLANCE: { return "AIR"; } case SWEEP_MODE_SUNSCAN: { return "SUN"; } case SWEEP_MODE_SUNSCAN_RHI: { return "SRH"; } case SWEEP_MODE_CALIBRATION: { return "CAL"; } case SWEEP_MODE_POINTING: case SWEEP_MODE_MANUAL_PPI: case SWEEP_MODE_MANUAL_RHI: { return "MAN"; } case SWEEP_MODE_DOPPLER_BEAM_SWINGING: { return "DBS"; } case SWEEP_MODE_COMPLEX_TRAJECTORY: { return "TRJ"; } case SWEEP_MODE_ELECTRONIC_STEERING: { return "PAR"; } default: { return "SUR"; } } } /////////////////////////////////////////// // convert strings to enums Radx::DataType_t Radx::dataTypeFromStr(const string &str) { if (str == "fl64") { return FL64; } if (str == "fl32") { return FL32; } if (str == "si32") { return SI32; } if (str == "si16") { return SI16; } if (str == "si08") { return SI08; } // default return FL32; } Radx::SweepMode_t Radx::sweepModeFromStr(const string &str) { if (str.find(Radx::SECTOR) != string::npos) { return SWEEP_MODE_SECTOR; } if (str.find(Radx::COPLANE) != string::npos) { return SWEEP_MODE_COPLANE; } if (str.find(Radx::RHI) != string::npos) { return SWEEP_MODE_RHI; } if (str.find(Radx::VERTICAL_POINTING) != string::npos) { return SWEEP_MODE_VERTICAL_POINTING; } if (str.find(Radx::IDLE) != string::npos) { return SWEEP_MODE_IDLE; } if (str.find(Radx::AZIMUTH_SURVEILLANCE) != string::npos) { return SWEEP_MODE_AZIMUTH_SURVEILLANCE; } if (str.find(Radx::ELEVATION_SURVEILLANCE) != string::npos) { return SWEEP_MODE_ELEVATION_SURVEILLANCE; } if (str.find(Radx::SUNSCAN) != string::npos) { return SWEEP_MODE_SUNSCAN; } if (str.find(Radx::POINTING) != string::npos) { return SWEEP_MODE_POINTING; } if (str.find(Radx::CALIBRATION) != string::npos) { return SWEEP_MODE_CALIBRATION; } if (str.find(Radx::MANUAL_PPI) != string::npos) { return SWEEP_MODE_MANUAL_PPI; } if (str.find(Radx::MANUAL_RHI) != string::npos) { return SWEEP_MODE_MANUAL_RHI; } if (str.find(Radx::SUNSCAN_RHI) != string::npos) { return SWEEP_MODE_SUNSCAN_RHI; } if (str.find(Radx::DOPPLER_BEAM_SWINGING) != string::npos) { return SWEEP_MODE_DOPPLER_BEAM_SWINGING; } if (str.find(Radx::COMPLEX_TRAJECTORY) != string::npos) { return SWEEP_MODE_COMPLEX_TRAJECTORY; } if (str.find(Radx::ELECTRONIC_STEERING) != string::npos) { return SWEEP_MODE_ELECTRONIC_STEERING; } return SWEEP_MODE_NOT_SET; } string Radx::sweepModeOptions() { string options; options += Radx::SECTOR; options += ", "; options += Radx::COPLANE; options += ", "; options += Radx::RHI; options += ", "; options += Radx::VERTICAL_POINTING; options += ", "; options += Radx::IDLE; options += ", "; options += Radx::AZIMUTH_SURVEILLANCE; options += ", "; options += Radx::ELEVATION_SURVEILLANCE; options += ", "; options += Radx::SUNSCAN; options += ", "; options += Radx::POINTING; options += ", "; options += Radx::CALIBRATION; options += ", "; options += Radx::MANUAL_PPI; options += ", "; options += Radx::MANUAL_RHI; options += ", "; options += Radx::SUNSCAN_RHI; options += ", "; options += Radx::DOPPLER_BEAM_SWINGING; options += ", "; options += Radx::COMPLEX_TRAJECTORY; options += ", "; options += Radx::ELECTRONIC_STEERING; return options; } string Radx::followModeToStr(FollowMode_t mode) { switch (mode) { case FOLLOW_MODE_NOT_SET: { return Radx::NOT_SET; } case FOLLOW_MODE_NONE: { return Radx::NONE; } case FOLLOW_MODE_SUN: { return Radx::SUN; } case FOLLOW_MODE_VEHICLE: { return Radx::VEHICLE; } case FOLLOW_MODE_AIRCRAFT: { return Radx::AIRCRAFT; } case FOLLOW_MODE_TARGET: { return Radx::TARGET; } case FOLLOW_MODE_MANUAL: { return Radx::MANUAL; } default: { return Radx::UNKNOWN; } } } Radx::FollowMode_t Radx::followModeFromStr(const string &str) { if (str == Radx::NONE) { return FOLLOW_MODE_NONE; } if (str == Radx::SUN) { return FOLLOW_MODE_SUN; } if (str == Radx::VEHICLE) { return FOLLOW_MODE_VEHICLE; } if (str == Radx::AIRCRAFT) { return FOLLOW_MODE_AIRCRAFT; } if (str == Radx::TARGET) { return FOLLOW_MODE_TARGET; } if (str == Radx::MANUAL) { return FOLLOW_MODE_MANUAL; } return FOLLOW_MODE_NOT_SET; } string Radx::followModeOptions() { string options; options += Radx::NONE; options += ", "; options += Radx::SUN; options += ", "; options += Radx::VEHICLE; options += ", "; options += Radx::AIRCRAFT; options += ", "; options += Radx::TARGET; options += ", "; options += Radx::MANUAL; return options; } string Radx::polarizationModeToStr(PolarizationMode_t mode) { switch (mode) { case POL_MODE_NOT_SET: { return Radx::NOT_SET; } case POL_MODE_HORIZONTAL: { return Radx::HORIZONTAL; } case POL_MODE_VERTICAL: { return Radx::VERTICAL; } case POL_MODE_HV_ALT: { return Radx::HV_ALT; } case POL_MODE_HV_SIM: { return Radx::HV_SIM; } case POL_MODE_HV_H_XMIT: { return Radx::HV_H_XMIT; } case POL_MODE_HV_V_XMIT: { return Radx::HV_V_XMIT; } case POL_MODE_CIRCULAR: { return Radx::CIRCULAR; } default: { return Radx::UNKNOWN; } } } Radx::PolarizationMode_t Radx::polarizationModeFromStr(const string &str) { if (str == Radx::HORIZONTAL) { return POL_MODE_HORIZONTAL; } if (str == Radx::VERTICAL) { return POL_MODE_VERTICAL; } if (str == Radx::HV_ALT) { return POL_MODE_HV_ALT; } if (str == Radx::HV_SIM) { return POL_MODE_HV_SIM; } if (str == Radx::HV_H_XMIT) { return POL_MODE_HV_H_XMIT; } if (str == Radx::HV_V_XMIT) { return POL_MODE_HV_V_XMIT; } if (str == Radx::CIRCULAR) { return POL_MODE_CIRCULAR; } return POL_MODE_NOT_SET; } string Radx::polarizationModeOptions() { string options; options += Radx::HORIZONTAL; options += ", "; options += Radx::VERTICAL; options += ", "; options += Radx::HV_ALT; options += ", "; options += Radx::HV_SIM; options += ", "; options += Radx::CIRCULAR; return options; } string Radx::prtModeToStr(PrtMode_t mode) { switch (mode) { case PRT_MODE_NOT_SET: { return Radx::NOT_SET; } case PRT_MODE_FIXED: { return Radx::FIXED; } case PRT_MODE_STAGGERED: { return Radx::STAGGERED; } case PRT_MODE_DUAL: { return Radx::DUAL; } default: { return Radx::UNKNOWN; } } } Radx::PrtMode_t Radx::prtModeFromStr(const string &str) { if (str == Radx::FIXED) { return PRT_MODE_FIXED; } if (str == Radx::STAGGERED) { return PRT_MODE_STAGGERED; } if (str == Radx::DUAL) { return PRT_MODE_DUAL; } return PRT_MODE_NOT_SET; } string Radx::prtModeOptions() { string options; options += Radx::FIXED; options += ", "; options += Radx::STAGGERED; options += ", "; options += Radx::DUAL; return options; } string Radx::eventCauseToStr(EventCause_t cause) { switch (cause) { case EVENT_CAUSE_DONE: { return Radx::EVENT_DONE; } case EVENT_CAUSE_TIMEOUT: { return Radx::EVENT_TIMEOUT; } case EVENT_CAUSE_TIMER: { return Radx::EVENT_TIMER; } case EVENT_CAUSE_ABORT: { return Radx::EVENT_ABORT; } case EVENT_CAUSE_SCAN_ABORT: { return Radx::EVENT_SCAN_ABORT; } case EVENT_CAUSE_RESTART: { return Radx::EVENT_RESTART; } case EVENT_CAUSE_SCAN_STATE_TIMEOUT: { return Radx::EVENT_SCAN_STATE_TIMEOUT; } default: { return Radx::UNKNOWN; } } } Radx::EventCause_t Radx::eventCauseFromStr(const string &str) { if (str == Radx::EVENT_DONE) { return EVENT_CAUSE_DONE; } if (str == Radx::EVENT_TIMEOUT) { return EVENT_CAUSE_TIMEOUT; } if (str == Radx::EVENT_TIMER) { return EVENT_CAUSE_TIMER; } if (str == Radx::EVENT_ABORT) { return EVENT_CAUSE_ABORT; } if (str == Radx::EVENT_SCAN_ABORT) { return EVENT_CAUSE_SCAN_ABORT; } if (str == Radx::EVENT_RESTART) { return EVENT_CAUSE_RESTART; } if (str == Radx::EVENT_SCAN_STATE_TIMEOUT) { return EVENT_CAUSE_SCAN_STATE_TIMEOUT; } return EVENT_CAUSE_NOT_SET; } string Radx::eventCauseOptions() { string options; options += EVENT_DONE; options += ", "; options += EVENT_TIMEOUT; options += ", "; options += EVENT_TIMER; options += ", "; options += EVENT_ABORT; options += ", "; options += EVENT_SCAN_ABORT; options += ", "; options += EVENT_RESTART; options += ", "; options += EVENT_SCAN_STATE_TIMEOUT; return options; } /////////////////////////////////////////////// // add labelled integer value to error string, // with optional following carriage return. void Radx::addErrInt(string &errStr, string label, int iarg, bool cr) { errStr += label; char str[32]; sprintf(str, "%d", iarg); errStr += str; if (cr) { errStr += "\n"; } } /////////////////////////////////////////////// // add labelled double value to error string, // with optional following carriage return. // Default format is %g. void Radx::addErrDbl(string &errStr, string label, double darg, string format, bool cr) { errStr += label; char str[128]; sprintf(str, format.c_str(), darg); errStr += str; if (cr) { errStr += "\n"; } } //////////////////////////////////////// // add labelled string to error string // with optional following carriage return. void Radx::addErrStr(string &errStr, string label, string strarg, bool cr) { errStr += label; errStr += strarg; if (cr) { errStr += "\n"; } } ///////////////////////////// // make string from char text // Ensure null termination string Radx::makeString(const char *text, int len) { char *copy = new char[len + 1]; memcpy(copy, text, len); // force null termination copy[len] = '\0'; // remove trailing spaces or non-printable characters for (int ii = len - 1; ii >= 0; ii--) { char cc = copy[ii]; if (!isprint(cc) || isspace(cc)) { copy[ii] = '\0'; } else { break; } } // convert to string string str(copy); delete[] copy; return str; } /////////////////////////////////////////////////////////////////// // Smart copy of string into specified location. // Generally used to set headers with fixed-length strings. // If strlen is equal to or exceeds destlen, omit trailing null. void Radx::copyString(char *dest, const string &src, size_t destLen) { if (src.size() >= destLen) { memcpy(dest, src.c_str(), destLen); } else { strncpy(dest, src.c_str(), destLen); } } ////////////////////////////////////////////// // replace spaces in a string with underscores void Radx::replaceSpacesWithUnderscores(string &str) { for (size_t ii = 0; ii < str.size(); ii++) { if (str[ii] == ' ') { str[ii] = '_'; } } } /////////////////////////// // safe print for char text // Ensure null termination void Radx::printString(const string &label, const char *text, int len, ostream &out) { out << " " << label << ": " << makeString(text, len) << endl; } ///////////////////////////////// /// compute sin and cos together void Radx::sincos(double radians, double &sinVal, double &cosVal) { double cosv, sinv, interval; // compute cosine cosv = cos(radians); cosVal = cosv; // compute sine magnitude sinv = sqrt(1.0 - cosv * cosv); // set sine sign from location relative to PI interval = floor(radians / M_PI); if (fabs(fmod(interval, 2.0)) == 0) { sinVal = sinv; } else { sinVal = -1.0 * sinv; } } ///////////////////////////////////// /// condition az to between 0 and 360 double Radx::conditionAz(double az) { while (az < 0.0) { az += 360.0; } while (az > 360.0) { az -= 360.0; } return az; } /////////////////////////////////////////////////// /// condition el to between -180 and 180 double Radx::conditionEl(double el) { while (el < -180.0) { el += 360.0; } while (el > 180.0) { el -= 360.0; } return el; } /////////////////////////////////////////////////// /// condition angle delta to between -180 and 180 double Radx::conditionAngleDelta(double delta) { if (delta < -180.0) { delta += 360.0; } else if (delta > 180.0) { delta -= 360.0; } return delta; } /////////////////////////////////////////////////// /// compute diff between 2 angles: (ang1 - ang2) double Radx::computeAngleDiff(double ang1, double ang2) { double delta = Radx::conditionAngleDelta(ang1 - ang2); return delta; } //////////////////////////////////////////////////////////// /// /// compute mean of 2 angles - ang1 + ((ang2 - ang1)/2) double Radx::computeAngleMean(double ang1, double ang2) { double delta = Radx::conditionAngleDelta(ang2 - ang1); double mean = ang1 + delta / 2.0; if (ang1 > 180 || ang2 > 180) { mean = Radx::conditionAz(mean); } else { mean = Radx::conditionEl(mean); } return mean; }
[ "dixon@ucar.edu" ]
dixon@ucar.edu
28ded3f48f962c78a51d6f9814d39e64c2ecb273
ad715f9713dc5c6c570a5ac51a18b11932edf548
/tensorflow/compiler/xla/tests/client_test.cc
328f1d995fd365d36e4293ab148bb72292bafc03
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
rockzhuang/tensorflow
f1f31bc8edfa402b748c500efb97473c001bac95
cb40c060b36c6a75edfefbc4e5fc7ee720273e13
refs/heads/master
2022-11-08T20:41:36.735747
2022-10-21T01:45:52
2022-10-21T01:45:52
161,580,587
27
11
Apache-2.0
2019-01-23T11:00:44
2018-12-13T03:47:28
C++
UTF-8
C++
false
false
6,327
cc
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include <memory> #include <vector> #include "tensorflow/compiler/xla/client/global_data.h" #include "tensorflow/compiler/xla/client/local_client.h" #include "tensorflow/compiler/xla/client/xla_builder.h" #include "tensorflow/compiler/xla/client/xla_computation.h" #include "tensorflow/compiler/xla/shape_util.h" #include "tensorflow/compiler/xla/status_macros.h" #include "tensorflow/compiler/xla/statusor.h" #include "tensorflow/compiler/xla/test_helpers.h" #include "tensorflow/compiler/xla/tests/client_library_test_base.h" #include "tensorflow/compiler/xla/tests/literal_test_util.h" #include "tensorflow/compiler/xla/tests/test_macros.h" #include "tensorflow/compiler/xla/tests/test_utils.h" #include "tensorflow/compiler/xla/xla_data.pb.h" #include "tensorflow/tsl/platform/test.h" namespace xla { namespace { class ClientTest : public ClientLibraryTestBase {}; XLA_TEST_F(ClientTest, ExecuteWithLayout) { XlaBuilder b(TestName()); std::vector<std::vector<int64_t>> layouts = {{0, 1}, {1, 0}}; for (const std::vector<int64_t>& execute_layout : layouts) { for (const std::vector<int64_t>& transfer_layout : layouts) { Add(ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}}), ConstantR2<int32_t>(&b, {{10, 20}, {30, 40}})); TF_ASSERT_OK_AND_ASSIGN(auto computation, b.Build()); ExecutionOptions execution_options = execution_options_; *execution_options.mutable_shape_with_output_layout() = ShapeUtil::MakeShapeWithLayout(S32, /*dimensions=*/{2, 2}, execute_layout) .ToProto(); TF_ASSERT_OK_AND_ASSIGN( std::unique_ptr<GlobalData> data, client_->Execute(computation, {}, &execution_options)); Literal expected_literal = LiteralUtil::CreateR2WithLayout<int32_t>( {{11, 22}, {33, 44}}, LayoutUtil::MakeLayout(transfer_layout)); TF_ASSERT_OK_AND_ASSIGN( auto computed, client_->Transfer(*data, &expected_literal.shape())); ASSERT_TRUE(LiteralTestUtil::EqualShapesAndLayouts( expected_literal.shape(), computed.shape())); EXPECT_TRUE(LiteralTestUtil::Equal(expected_literal, computed)); } } } XLA_TEST_F(ClientTest, ExecuteWithTupleLayout) { XlaBuilder b(TestName()); Tuple(&b, {ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}}), ConstantR2<int32_t>(&b, {{10, 20}, {30, 40}})}); TF_ASSERT_OK_AND_ASSIGN(auto computation, b.Build()); ExecutionOptions execution_options = execution_options_; // Create a result shape with one element column major and the other row // major. *execution_options.mutable_shape_with_output_layout() = ShapeUtil::MakeTupleShape( {ShapeUtil::MakeShapeWithLayout(S32, /*dimensions=*/{2, 2}, /*minor_to_major=*/{0, 1}), ShapeUtil::MakeShapeWithLayout(S32, /*dimensions=*/{2, 2}, /*minor_to_major=*/{1, 0})}) .ToProto(); TF_ASSERT_OK_AND_ASSIGN( auto result, client_->ExecuteAndTransfer(computation, {}, &execution_options)); LiteralTestUtil::ExpectR2Equal<int32_t>({{1, 2}, {3, 4}}, LiteralSlice(result, {0})); LiteralTestUtil::ExpectR2Equal<int32_t>({{10, 20}, {30, 40}}, LiteralSlice(result, {1})); EXPECT_TRUE(result.shape().IsTuple()); EXPECT_EQ(2, ShapeUtil::TupleElementCount(result.shape())); EXPECT_TRUE(ShapeUtil::Equal( ShapeUtil::GetTupleElementShape(result.shape(), 0), ShapeUtil::MakeShapeWithLayout(S32, /*dimensions=*/{2, 2}, /*minor_to_major=*/{0, 1}))); EXPECT_TRUE(ShapeUtil::Equal( ShapeUtil::GetTupleElementShape(result.shape(), 1), ShapeUtil::MakeShapeWithLayout(S32, /*dimensions=*/{2, 2}, /*minor_to_major=*/{1, 0}))); } // Disabled for interpreter since ExecuteAsyncOnStream is not implemented on // interpreter backend. XLA_TEST_F(ClientTest, DISABLED_ON_INTERPRETER(DISABLED_ON_GPU(ExecuteParallel))) { XlaComputation add_with_one_arg, mul_with_two_args, dot_with_one_arg; Shape shape = ShapeUtil::MakeShape(S32, {2, 2}); TF_ASSERT_OK_AND_ASSIGN( std::unique_ptr<GlobalData> const_arg, client_->TransferToServer( LiteralUtil::CreateR2<int32_t>({{5, 6}, {7, 8}}))); XlaBuilder b(TestName() + ".add"); Add(Parameter(&b, 0, shape, "param_0"), ConstantR2<int32_t>(&b, {{1, 2}, {3, 4}})); TF_ASSERT_OK_AND_ASSIGN(add_with_one_arg, b.Build()); // We can't really test parallel execution on CPU since all of the cores in a // CPU are presented as a single device. So for now we test "parallel" // execution on a single device. std::vector<Client::XlaComputationInstance> computation_instances; TF_ASSERT_OK_AND_ASSIGN(std::vector<xla::DeviceHandle> devices, client_->GetDeviceHandles(1)); ASSERT_EQ(devices.size(), 1); ExecutionOptions options = execution_options_; *options.add_device_handles() = devices[0]; computation_instances.push_back(Client::XlaComputationInstance( add_with_one_arg, {const_arg.get()}, options, nullptr)); TF_ASSERT_OK_AND_ASSIGN(auto results, client_->ExecuteParallel(computation_instances)); auto expected_result = LiteralUtil::CreateR2<int32_t>({{6, 8}, {10, 12}}); TF_ASSERT_OK_AND_ASSIGN( auto result_literal, client_->Transfer(*results[0], &expected_result.shape())); EXPECT_TRUE(LiteralTestUtil::Equal(expected_result, result_literal)); } } // namespace } // namespace xla
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
04b8c90dd553fd4bb89dddbb3d0faf1b17fb0ae4
6b342e06bf8ec9bf89af44eb96bb716240947981
/421.cpp
f9b48d9dbe8ec9b0417ea4a26e39c1910693713c
[]
no_license
githubcai/leetcode
d822198f07db33ffbb1bc98813e5cd332be56562
4b63186b522cb80a0bc4939a89f5b6294c1b11ca
refs/heads/master
2021-01-13T03:32:38.704206
2017-03-14T02:06:35
2017-03-14T02:06:35
77,529,061
0
0
null
null
null
null
UTF-8
C++
false
false
536
cpp
class Solution { public: int findMaximumXOR(vector<int>& nums) { int ret = 0, flag = 0; for(int i = 31; i >= 0; --i){ flag |= (1 << i); set<int> store; for(int j = 0; j < nums.size(); ++j) store.insert(nums[j] & flag); int temp = (ret | (1 << i)); for(auto j : store){ if(store.find(j ^ temp) != store.end()){ ret = temp; break; } } } return ret; } };
[ "2468085704@qq.com" ]
2468085704@qq.com
8a91d2961c0b6f91dc3fcb1b6792259b011479a4
00d66b0743d2a44e3b1173f2c8eda18479f9b0da
/svt/core/include/svt_properties.h
14d191db5c75e1b01ceecc959782fd4fbc111b2d
[]
no_license
biomachina-lab/Sculptor
f72c8c924423194da847b407d33da1e6be6fd51c
3276b6cf55b681bb8c03ed464727d4f3f576b7f8
refs/heads/master
2021-01-23T18:56:39.440776
2015-01-17T05:05:18
2015-01-17T05:05:18
29,320,420
0
0
null
null
null
null
UTF-8
C++
false
false
4,106
h
/*************************************************************************** svt_properties.h ---------------- begin : Tue Mar 30 2000 author : Stefan Birmanns email : sculptor@biomachina.org ***************************************************************************/ #ifndef SVT_PROPERTIES_H #define SVT_PROPERTIES_H #include <svt_color.h> #include <svt_opengl.h> /** * Represents the (material) properties of a svt object *@author Stefan Birmanns */ class DLLEXPORT svt_properties { protected: svt_color* m_pColor; svt_color* m_pWireframeColor; svt_color* m_pUnderTextureColor; bool m_bWireframe; bool m_bSolid; bool m_bLighting; bool m_bSmooth; bool m_bTexture; bool m_bNormals; bool m_bCullBackfaces; bool m_bTwoSided; static svt_color sm_oDefWireframeColor; static svt_color sm_oDefUnderTextureColor; static svt_color sm_oDefColor; bool m_bDeleteColors; public: /** * Constructor. * \param pColor pointer to a svt_color object */ svt_properties(svt_color* pColor =NULL); virtual ~svt_properties(); public: /** * set the color of this properties object * \param pColor pointer to the svt_color object. Set theis pointer to * NULL to restore return to the default color */ void setColor(svt_color* pColor); void setWireframeColor(svt_color* pColor); void setUnderTextureColor(svt_color* pColor); /** * get the color * \return pointer to the svt_color object or NULL, if the global * default color is currently used. */ svt_color* getColor() const; svt_color* getWireframeColor() const; svt_color* getUnderTextureColor() const; /** * set the wireframe mode * \param bWireframe if true if the object is visualized in wireframe mode */ void setWireframe(bool b); void setSolid(bool b); void setSmooth(bool b); void setLighting(bool b); void setTexture(bool b); void setNormals(bool b); void setBackfaceCulling(bool b); void setTwoSided(bool b); /** * get the wireframe mode * \return if true if the object is visualized in wireframe mode */ bool getWireframe() const; bool getSolid() const; bool getSmooth() const; bool getLighting() const; bool getTexture() const; bool getNormals() const; bool getBackfaceCulling() const; bool getTwoSided() const; /** * toggle settings */ bool toggleWireframe(); bool toggleSolid(); bool toggleSmooth(); bool toggleLighting(); bool toggleTexture(); bool toggleNormals(); bool toggleBackfaceCulling(); /** * apply the properties to the current opengl state */ void applyGLsolid(bool bTextureAvailable); void applyGLwireframe(); void applyGLnormals(); /** * print the vrml code for the properties object */ void applyVrml(); /** * set the default color */ static void setDefColor(Real32 r, Real32 g, Real32 b); static void setDefWireframeColor(Real32 r, Real32 g, Real32 b); static void setDefUnderTextureColor(Real32 r, Real32 g, Real32 b); static const svt_color& defColor(); static const svt_color& defWireframeColor(); static const svt_color& defUnderTextureColor(); /** * Set if the object should delete the color objects by itself or wait for somebody else to do it. It will delete all color objects - color, wireframe color, color under texture objects! * \param bDeleteColors if true, the object will delete the color objects in the destructor */ void setDeleteColors( bool bDeleteColors ); /** * Get if the object should delete the color objects by itself or wait for somebody else to do it. It will delete all color objects - color, wireframe color, color under texture objects! * \return if true, the object will delete the color objects in the destructor */ bool getDeleteColors( ); }; #endif
[ "wriggers@biomachina.org" ]
wriggers@biomachina.org
7e70a3fb791fd19bcaf434b1058ddb0bcd6819e8
83dbe0a351d3ee36eace86dc7494ef6d0f95c37a
/common/clumsy_lib/include/clumsy_lib/class_reflection.h
f9d02310d653fd522d29a384ebe281c857f68a71
[]
no_license
zeagle01/graphics_play_ground
f3023ca374f1cdce1dc3e81e736e55b3907f2f4b
01f4220e99020935c66be25ac8a012ce43accd1e
refs/heads/master
2023-09-01T15:33:22.435143
2023-08-27T13:30:38
2023-08-27T13:30:38
177,251,614
0
0
null
null
null
null
UTF-8
C++
false
false
2,712
h
#pragma once #include <type_traits> #include <tuple> #include "macro_loop.h" #include "type_list.h" namespace clumsy_lib { //get field count struct to_any { template<typename T> operator T(); template<typename T> operator T* (); }; template<typename T, typename U = void, typename ...P> struct get_field_count { static constexpr int value = sizeof...(P) - 1; }; template<typename T, typename ...P> struct get_field_count < T, std::void_t < decltype(T{ P{}... }) > , P... > { static constexpr int value = get_field_count<T, void, to_any, P...>::value; }; //as tuple #define VV_B(n) v##n #define VV(n) ,v##n #define VAR_LIST(n) INSIDE_LOOP(n,VV_B,VV) #define IF_BRANCH(num)\ if constexpr (get_field_count<T>::value ==0){ \ return std::make_tuple(); \ }\ #define ELSE_IF_BRANCH(num)\ else if constexpr (get_field_count<T>::value ==num){ \ auto [VAR_LIST(num)] = T{}; \ return std::make_tuple(VAR_LIST(num)); \ }\ #define TOTUPLES(n) LOOP(n,IF_BRANCH,ELSE_IF_BRANCH) template<typename T> constexpr auto as_tuple() { EVAL(TOTUPLES(32)); } ////////from exsiting object #define IF_BRANCH_FROM(num,obj)\ if constexpr (get_field_count<T>::value ==0){ \ return std::make_tuple(); \ }\ #define ELSE_IF_BRANCH_FROM(num,obj)\ else if constexpr (get_field_count<T>::value ==num){ \ auto& [VAR_LIST(num)] = obj; \ return std::tie(VAR_LIST(num)); \ }\ #define TOTUPLES_FROM(a,n) LOOP(n,IF_BRANCH_FROM,ELSE_IF_BRANCH_FROM,a) template<typename T> constexpr auto as_tuple(T& a) { EVAL(TOTUPLES_FROM(a, 32)); } //extract type list from type #define CE_WRAP(...) __VA_ARGS__ #define ADD_EXIST_TYPE_TO_GROUP(class_name) \ class_name* class_name##_var;\ #define ADD_TYPE_TO_GROUP(class_name,parent_class,...) \ class class_name :public parent_class<__VA_ARGS__> {};\ ADD_EXIST_TYPE_TO_GROUP(class_name) \ #define ADD_EXIST_TYPE_TO_GROUP_WITH_PREFIX(type_name,prefix) \ using type_name=prefix##type_name;\ ADD_EXIST_TYPE_TO_GROUP(type_name)\ #define ADD_EXIST_TYPE_TO_GROUP_AS_VALUE(class_name) \ class_name class_name##_var;\ #define ADD_TYPE_TO_GROUP_AS_VALUE(class_name,parent_class,...) \ class class_name :public parent_class<__VA_ARGS__> {};\ ADD_EXIST_TYPE_TO_GROUP_AS_VALUE(class_name) \ template<typename tup> struct extract_tuple_pointer; template<typename ...P> struct extract_tuple_pointer<std::tuple<P*...>> { using types = type_list<P...>; }; template<typename T> struct extract_member_type_list { using tuple_t = decltype(clumsy_lib::as_tuple<T>()); using types = extract_tuple_pointer<tuple_t>::types; }; template<typename T> using extract_member_type_list_t = extract_member_type_list<T>::types; }
[ "zeagle01@163.com" ]
zeagle01@163.com
661e8474b0dbf5c87f0135cc3efbb4a6743d0437
113f805d920ba0dac533158a1dcae9875ab77547
/Dynamic Programming/LadderProb.cpp
3c4f54ce7f92117781232eb4ad489298f7ee3eac
[]
no_license
Sanskar31/CP-Algorithms
4542dbba6c9692ace218fee561f3d87ef02b7a95
99f5a8b39939c97304c3f7c49a0a9a5016a8422e
refs/heads/master
2022-06-11T08:52:01.626495
2020-05-08T10:18:23
2020-05-08T10:18:23
259,908,086
0
0
null
null
null
null
UTF-8
C++
false
false
1,149
cpp
/* Author: Sanskar Agarwal Nick: sanskaragarwal Birla Institute Of Technology, Mesra */ #include <bits/stdc++.h> using namespace std; #define ll long long int #define endl "\n" #define fast ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define F(i,a,b) for(ll i = (ll)(a); i <= (ll)(b); i++) #define RF(i,a,b) for(ll i = (ll)(a); i >= (ll)(b); i--) #define INF 100009 #define mod 1000000007 #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ff first #define ss second ll n,k,dp[100005]; ll countWays(ll n) { if(n==0) return 1; if(dp[n]!=-1) return dp[n]; ll ways=0; for(ll i=1;i<=k;++i) { if(n-i>=0) { ways+= countWays(n-i); } else break; } return ways; } ll bottomUp() { dp[0]=1, dp[1]=1; for(ll i=2;i<=k;++i) dp[i]=2*dp[i-1]; for(ll i=k+1;i<=n;++i) { dp[i]=2*dp[i-1]-dp[i-k-1]; continue; } return dp[n]; } int main() { fast cin>>n>>k; for(ll i=0;i<=n;++i) dp[i]=-1; dp[0]=1; cout<<countWays(n)<<endl; cout<<bottomUp()<<endl; return 0; }
[ "sanskaragarwal05@gmail.com" ]
sanskaragarwal05@gmail.com
494cdbae05210f4bb0795e4ae40801765e21353a
3a851c70709912dae1e034380a9f62fcb6927058
/Linked Lists/Insertion sort LL.cpp
f6376ebf5d0cc5d958316458f9bdb9d43a98306d
[]
no_license
talrejamohit03/DataStructuresAndAlgorithms
3ee0fc35f8fc75bb4b3cfdf75eaf9875a35fccbc
f8d2db7040ed69e85331f489963ae9b7ff7ae5ac
refs/heads/main
2023-02-18T09:28:29.959585
2021-01-21T08:32:55
2021-01-21T08:32:55
331,559,406
0
0
null
null
null
null
UTF-8
C++
false
false
1,273
cpp
#include <iostream> using namespace std; struct lnode{ int data; struct lnode* next; }; typedef lnode* LPTR; void inpLL(LPTR &L){ LPTR T; int n; cout<<"New Linked List\n"; cout<<"Enter element (-1 to terminate): "; cin>>n; while(n!=-1){ LPTR temp; temp=new(lnode); temp->data=n; temp->next=NULL; if(L==NULL){ L=temp; T=L; }else{ while(T->next!=NULL) T=T->next; T->next=temp; } cout<<"Enter next element (-1 to terminate): "; cin>>n; } } int main(){ LPTR L1=NULL,LS,LU,TS; inpLL(L1); LU=L1->next; LS=L1; LS->next=NULL; while(LU!=NULL){ TS=LS; LPTR TMP=LU->next; LU->next=NULL; if(LS->data>LU->data){ LU->next=LS; LS->next=NULL; LS=LU; }else{ while(TS->next!=NULL&&TS->next->data<LU->data) TS=TS->next; if(TS->next==NULL) TS->next=LU; else{ LU->next=TS->next; TS->next=LU; } } LU=TMP; } while(LS!=NULL){ cout<<LS->data<<" "; LS=LS->next; } return 0; }
[ "mohitr_talreja@hotmail.com" ]
mohitr_talreja@hotmail.com
c7d5577b9521512f4ddd876745943f1ef27b4553
2424a498882bc520be88503b28899cf8733ace5e
/ArticulationPoints.cpp
c274dd92b5580c9ce19fa4db11b3f18250aa8bb2
[]
no_license
dhirajfx3/Algorithms
a8df457e10602eaa2a6a4300d7c6c691b6df2476
353a4fc9ece4444c99a7e6c4860c466e11bf3d55
refs/heads/master
2021-01-13T03:13:17.479824
2020-10-06T14:11:51
2020-10-06T14:11:51
77,627,559
3
5
null
2020-10-06T14:11:52
2016-12-29T17:10:10
C++
UTF-8
C++
false
false
986
cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; class Graph { int n; vector<vector<int> > adj; vector<int> level, be_lvl; vector<int> visited, ap; int var; void dfs(int u, int p = -1, int lvl = 0) { visited[u] = true; level[u] = lvl; be_lvl[u] = lvl; bool is_leaf = true; for (auto &x : adj[u]) { if (!visited[x]) { is_leaf = false; dfs(x, u, lvl + 1); be_lvl[u] = min(be_lvl[x], be_lvl[u]); if (u == 0) ++var; } else if (x != p) be_lvl[u] = min(level[x], be_lvl[u]); if (be_lvl[x] >= level[u] && u != 0) { ap[u] = true; } } if (is_leaf == true) ap[u] = false; } public: Graph(int n, int m) :n(n), adj(n), level(n), be_lvl(n), visited(n), ap(n) { var = 0; for (int i = 0; i<m; i++) { int u, v; cin >> u >> v; --u, --v; adj[u].push_back(v); adj[v].push_back(u); } dfs(0); } }; int main() { int n, m; cin >> n >> m; new Graph(n, m); return 0; }
[ "noreply@github.com" ]
dhirajfx3.noreply@github.com
cf0518e2c90e9ae98082c9172ad6ba5d5f03a785
6db0a1ce4428c77c234932f4acc2566eee77ee8d
/svdpp/cmdline.h
50680c9dd7369755bba6c1600c438f496bcb1cad
[]
no_license
Joucks98/svdpp
7ee692f62c8c6c5976decbc65f853cbc96a2b7e3
63e29723916a1d25b400c8aa2ec1128a886727e2
refs/heads/master
2020-06-17T03:08:07.425721
2019-07-11T05:59:17
2019-07-11T05:59:17
195,776,156
0
0
null
null
null
null
UTF-8
C++
false
false
7,427
h
// Copyright (C) 2010, 2011, 2012, 2013, 2014 Steffen Rendle // Contact: srendle@libfm.org, http://www.libfm.org/ // // This file is part of libFM. // // libFM 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. // // libFM 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 libFM. If not, see <http://www.gnu.org/licenses/>. // // // cmdline.h: Command line parser #ifndef CMDLINE_H_ #define CMDLINE_H_ #include <map> #include <vector> #include <iostream> //#include "util.h" typedef unsigned int uint; std::vector<std::string> tokenize(const std::string& str, const std::string& delimiter) { std::vector<std::string> result; std::string::size_type lastPos = str.find_first_not_of(delimiter, 0); std::string::size_type pos = str.find_first_of(delimiter, lastPos); while (std::string::npos != pos || std::string::npos != lastPos) { result.push_back(str.substr(lastPos, pos - lastPos)); lastPos = str.find_first_not_of(delimiter, pos); pos = str.find_first_of(delimiter, lastPos); } return result; } class CMDLine { public: CMDLine(int argc, char **argv); void setValue(std::string parameter, std::string value); bool hasParameter(std::string parameter); void removeParameter(const std::string& parameter); //void print_help(); const std::string& registerParameter(const std::string& parameter, const std::string& help); //void checkParameters(); const std::string& getValue(const std::string& parameter); const std::string& getValue(const std::string& parameter, const std::string& default_value); const double getValue(const std::string& parameter, const double& default_value); const long int getValue(const std::string& parameter, const long int& default_value); const int getValue(const std::string& parameter, const int& default_value); const uint getValue(const std::string& parameter, const uint& default_value); std::vector<std::string> getStrValues(const std::string& parameter); std::vector<int> getIntValues(const std::string& parameter); std::vector<double> getDblValues(const std::string& parameter); std::vector<uint> getUIntValues(const std::string& parameter); std::string delimiter; protected: bool parse_name(std::string& s); std::map<std::string, std::string> help; std::map<std::string, std::string> value; }; // Implementation bool CMDLine::parse_name(std::string& s) { if ((s.length() <= 0) || (s[0] != '-')) { return false; } s = s.substr((s.length() > 1) && (s[1] == '-') ? 2 : 1); return true; } CMDLine::CMDLine(int argc, char **argv) :delimiter(";,") { int i = 1; while (i < argc) { std::string s(argv[i]); if (!parse_name(s)) { throw "cannot parse " + s; } if (value.find(s) != value.end()) { throw "the parameter " + s + " is already specified"; } value[s] = ""; if ((i + 1) < argc) { std::string s_next(argv[i + 1]); if (!parse_name(s_next)) { value[s] = s_next; ++i; } } ++i; } } void CMDLine::setValue(std::string parameter, std::string value) { this->value[parameter] = value; } bool CMDLine::hasParameter(std::string parameter) { return value.find(parameter) != value.end(); } void CMDLine::removeParameter(const std::string& parameter) { if (hasParameter(parameter)) { value.erase(parameter); } } //void CMDLine::print_help() { // for (std::map< std::string, std::string >::const_iterator pv = help.begin(); pv != help.end(); ++pv) { // std::cout << "-" << pv->first; // for (int i=pv->first.size()+1; i < 16; i++) { std::cout << " "; } // std::string s_out = pv->second; // while (s_out.size() > 0) { // if (s_out.size() > (72-16)) { // size_t p = s_out.substr(0, 72-16).find_last_of(" \t"); // if (p == 0) { // p = 72-16; // } // std::cout << s_out.substr(0, p) << std::endl; // s_out = s_out.substr(p+1, s_out.length()-p); // } else { // std::cout << s_out << std::endl; // s_out = ""; // } // if (s_out.size() > 0) { // for (int i=0; i < 16; i++) { std::cout << " "; } // } // } // } //} const std::string& CMDLine::registerParameter(const std::string& parameter, const std::string& help) { this->help[parameter] = help; return parameter; } //void CMDLine::checkParameters() { // // make sure there is no parameter specified on the cmdline that is not registered: // for (std::map< std::string, std::string >::const_iterator pv = value.begin(); pv != value.end(); ++pv) { // if (help.find(pv->first) == help.end()) { // throw "the parameter " + pv->first + " does not exist"; // } // } //} const std::string& CMDLine::getValue(const std::string& parameter) { return value[parameter]; } const std::string& CMDLine::getValue(const std::string& parameter, const std::string& default_value) { return hasParameter(parameter) ? value[parameter]: default_value; } const double CMDLine::getValue(const std::string& parameter, const double& default_value) { return hasParameter(parameter) ? atof(value[parameter].c_str()) : default_value; } const long int CMDLine::getValue(const std::string& parameter, const long int& default_value) { return hasParameter(parameter) ? atoi(value[parameter].c_str()) : default_value; } const int CMDLine::getValue(const std::string& parameter, const int& default_value) { return hasParameter(parameter) ? atoi(value[parameter].c_str()) : default_value; } const uint CMDLine::getValue(const std::string& parameter, const uint& default_value) { return hasParameter(parameter) ? atoi(value[parameter].c_str()) : default_value; } std::vector<std::string> CMDLine::getStrValues(const std::string& parameter) { return tokenize(value[parameter], delimiter); } std::vector<int> CMDLine::getIntValues(const std::string& parameter) { std::vector<std::string> result_str = getStrValues(parameter); std::vector<int> result(result_str.size()); for (uint i = 0; i < result.size(); ++i) { result[i] = atoi(result_str[i].c_str()); } return result; } std::vector<double> CMDLine::getDblValues(const std::string& parameter) { std::vector<std::string> result_str = getStrValues(parameter); std::vector<double> result(result_str.size()); for (uint i = 0; i < result.size(); ++i) { result[i] = atof(result_str[i].c_str()); } return result; } std::vector<uint> CMDLine::getUIntValues(const std::string& parameter) { std::vector<std::string> result_str = getStrValues(parameter); std::vector<uint> result(result_str.size()); for (uint i = 0; i < result.size(); ++i) { result[i] = atoi(result_str[i].c_str()); } return result; } #endif /*CMDLINE_H_*/
[ "algbrageometry@gmail.com" ]
algbrageometry@gmail.com
a423c1eb2c03b40efc2002acd10c11dcb1108d34
37085691b07d596597d72e512c6433e9da2d99a3
/src/EDL/EDL_ProcedureSignature.hxx
4c32cf5fdfcefb408aa02f6b73c1b77f9ca5a512
[]
no_license
siberlee526/OCCT-wok
9e1dfbc1398ea50b09dcbd3b0e8076f00055b797
958949b10481094ee482d1d883a8cf14ab819cf3
refs/heads/master
2023-04-06T10:56:50.451609
2015-01-22T11:51:30
2015-04-06T10:54:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
274
hxx
#ifndef _EDL_ProcedureSignature_HeaderFile #define _EDL_ProcedureSignature_HeaderFile class EDL_Variable; #define EDL_PROCEDURE(name) extern "C" void name( const int argc,const EDL_Variable*argv) typedef void (*EDL_ProcedureSignature)(const int,const EDL_Variable*); #endif
[ "cas@opencascade.com" ]
cas@opencascade.com
fcec38bb948059df6b0b65f9fbcd26f52a6b0a6d
233361a845c47d0377237327d23609a13f5de09f
/Algorithms/Implementation/Encryption.cpp
92e5b05bbaa3809d1389b9a7305744ac84268e93
[]
no_license
tanjo3/HackerRank
3b299f4d8a6b5806669ab77152ee5025173908b4
c0bcfafe49838ef566b081cadd79adca363fb36a
refs/heads/master
2020-05-29T16:09:07.936785
2019-06-15T21:17:54
2019-06-15T21:17:54
57,077,480
0
0
null
null
null
null
UTF-8
C++
false
false
620
cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { string s; cin >> s; int rows = (int) sqrt(s.length()); int columns = rows; if (rows * columns < s.length()) { columns++; if (rows * columns < s.length()) { rows++; } } for (int i = 0; i < columns; i++) { for (int j = 0; j < rows; j++) { if (i + j * columns < s.length()) { cout << s[i + j * columns]; } } cout << ' '; } cout << endl; return 0; }
[ "jontan_@hotmail.com" ]
jontan_@hotmail.com
0c0f89f9c362156ba7b2e671738e5bd2c491e2f8
068311bb4b25ef78ac73af7152691960e08c9471
/GH Injector Library/Import Handler WOW64.cpp
9721eec56c33db0c94003dde5be17d23cc4cb973
[]
no_license
Rhythmoo/GH-Injector-Library
ca0f3274b3018d4fc9b1814f72b38f3a60d6bee5
d3cd0cf5c96d3afcdd84232957c571cab5e164e8
refs/heads/master
2023-08-26T03:17:57.370467
2021-09-28T16:39:50
2021-09-28T16:39:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,341
cpp
#include "pch.h" #ifdef _WIN64 #include "Import Handler.h" #ifdef UNICODE #undef MODULEENTRY32 #undef Module32First #undef Module32Next #endif using namespace WOW64; #define S_FUNC(f) f##_WOW64, #f template <typename T> DWORD LoadNtSymbolWOW64(T & Function, const char * szFunction) { DWORD RVA = 0; DWORD sym_ret = sym_ntdll_wow64.GetSymbolAddress(szFunction, RVA); if (sym_ret != SYMBOL_ERR_SUCCESS) { LOG(" Failed to load WOW64 function: %s\n", szFunction); return 0; } Function = (T)(ReCa<UINT_PTR>(g_hNTDLL_WOW64) + RVA); return INJ_ERR_SUCCESS; } DWORD ResolveImports_WOW64(ERROR_DATA & error_data) { LOG(" ResolveImports_WOW64 called\n"); PROCESS_INFORMATION pi{ 0 }; STARTUPINFOW si{ 0 }; si.cb = sizeof(si); si.dwFlags = STARTF_USESHOWWINDOW; si.wShowWindow = SW_HIDE; SECURITY_ATTRIBUTES sa{ 0 }; sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.bInheritHandle = TRUE; HANDLE hEventStart = CreateEventEx(&sa, nullptr, CREATE_EVENT_MANUAL_RESET, EVENT_ALL_ACCESS); if (!hEventStart) { INIT_ERROR_DATA(error_data, GetLastError()); LOG(" CreateEventEx failed: %08X\n", error_data.AdvErrorCode); return INJ_ERR_CREATE_EVENT_FAILED; } HANDLE hEventEnd = CreateEventEx(&sa, nullptr, CREATE_EVENT_MANUAL_RESET, EVENT_ALL_ACCESS); if (!hEventEnd) { INIT_ERROR_DATA(error_data, GetLastError()); LOG(" CreateEventEx failed: %08X\n", error_data.AdvErrorCode); CloseHandle(hEventStart); return INJ_ERR_CREATE_EVENT_FAILED; } wchar_t hEventStart_string[9]{ 0 }; _ultow_s(MDWD(hEventStart), hEventStart_string, 0x10); wchar_t hEventEnd_string[9]{ 0 }; _ultow_s(MDWD(hEventEnd), hEventEnd_string, 0x10); wchar_t RootPath[MAX_PATH * 2]{ 0 }; StringCbCopyW(RootPath, sizeof(RootPath), g_RootPathW.c_str()); StringCbCatW(RootPath, sizeof(RootPath), SM_EXE_FILENAME86); wchar_t cmdLine[MAX_PATH]{ 0 }; StringCbCatW(cmdLine, sizeof(cmdLine), L"\"" SM_EXE_FILENAME86 "\" " ID_WOW64 " "); StringCbCatW(cmdLine, sizeof(cmdLine), hEventStart_string); StringCbCatW(cmdLine, sizeof(cmdLine), L" "); StringCbCatW(cmdLine, sizeof(cmdLine), hEventEnd_string); if (!CreateProcessW(RootPath, cmdLine, nullptr, nullptr, TRUE, CREATE_NO_WINDOW, nullptr, nullptr, &si, &pi)) { INIT_ERROR_DATA(error_data, GetLastError()); LOG(" CreateProcessW failed: %08X\n", error_data.AdvErrorCode); CloseHandle(hEventStart); CloseHandle(hEventEnd); return INJ_ERR_CREATE_PROCESS_FAILED; } DWORD dwWaitRet = WaitForSingleObject(hEventStart, 1000); if (dwWaitRet != WAIT_OBJECT_0) { DWORD err_ret = INJ_ERR_WAIT_FAILED; if (dwWaitRet == WAIT_FAILED) { INIT_ERROR_DATA(error_data, GetLastError()); } else { INIT_ERROR_DATA(error_data, dwWaitRet); err_ret = INJ_ERR_WAIT_TIMEOUT; } LOG(" WaitForSingleObject failed: %08X\n", error_data.AdvErrorCode); SetEvent(hEventEnd); CloseHandle(hEventStart); CloseHandle(hEventEnd); CloseHandle(pi.hThread); CloseHandle(pi.hProcess); return err_ret; } auto wow64_pid = GetProcessId(pi.hProcess); LOG(" Successfully spawned wow64 dummy process: %08X (%d)\n", wow64_pid, wow64_pid); g_hNTDLL_WOW64 = GetModuleHandleExW_WOW64(pi.hProcess, L"ntdll.dll"); auto hKernel32_WOW64 = GetModuleHandleExW_WOW64(pi.hProcess, L"kernel32.dll"); if (!g_hNTDLL_WOW64 || !hKernel32_WOW64) { INIT_ERROR_DATA(error_data, INJ_ERR_ADVANCED_NOT_DEFINED); if (!g_hNTDLL_WOW64) { LOG(" Failed to get WOW64 ntdll.dll\n"); } if (!hKernel32_WOW64) { LOG(" Failed to get WOW64 kernel32.dll\n"); } SetEvent(hEventEnd); CloseHandle(hEventStart); CloseHandle(hEventEnd); CloseHandle(pi.hThread); CloseHandle(pi.hProcess); return INJ_ERR_WOW64_NTDLL_MISSING; } LOG(" WOW64 kernel32.dll loaded at %08X\n", MDWD(hKernel32_WOW64)); bool b_lle = GetProcAddressEx_WOW64(pi.hProcess, hKernel32_WOW64, "LoadLibraryExW", WOW64::LoadLibraryExW_WOW64); bool b_gle = GetProcAddressEx_WOW64(pi.hProcess, hKernel32_WOW64, "GetLastError", WOW64::GetLastError_WOW64); SetEvent(hEventEnd); CloseHandle(hEventStart); CloseHandle(hEventEnd); CloseHandle(pi.hThread); CloseHandle(pi.hProcess); if (!b_lle || !b_gle) { INIT_ERROR_DATA(error_data, INJ_ERR_ADVANCED_NOT_DEFINED); if (!b_lle) { LOG(" Failed to resolve WOW64 address of LoadLibrarExW\n"); } if (!b_gle) { LOG(" Failed to resolve WOW64 address of GetLastError\n"); } return INJ_ERR_GET_PROC_ADDRESS_FAIL; } LOG(" LoadLibraryExW = %08X\n", WOW64::LoadLibraryExW_WOW64); LOG(" GetLastError = %08X\n", WOW64::GetLastError_WOW64); LOG(" Waiting for WOW64 symbol parser to finish initialization\n"); while (sym_ntdll_wow64_ret.wait_for(std::chrono::milliseconds(100)) != std::future_status::ready); LOG(" WOW64 ntdll.dll loaded at %08X\n", MDWD(g_hNTDLL_WOW64)); DWORD sym_ret = sym_ntdll_wow64_ret.get(); if (sym_ret != SYMBOL_ERR_SUCCESS) { INIT_ERROR_DATA(error_data, sym_ret); LOG(" WOW64 symbol loading failed: %08X\n", sym_ret); return INJ_ERR_SYMBOL_INIT_FAIL; } LOG(" Start loading WOW64 ntdll symbols\n"); if (LoadNtSymbolWOW64(S_FUNC(LdrLoadDll))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrUnloadDll))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpLoadDll))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrGetDllHandleEx))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrGetProcedureAddress))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(WOW64::memmove_WOW64, "memmove")) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlZeroMemory))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlAllocateHeap))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlFreeHeap))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlAnsiStringToUnicodeString))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtOpenFile))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtReadFile))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtSetInformationFile))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtQueryInformationFile))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtClose))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtAllocateVirtualMemory))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtFreeVirtualMemory))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtProtectVirtualMemory))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtCreateSection))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(NtMapViewOfSection))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlInsertInvertedFunctionTable))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpHandleTlsData))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrLockLoaderLock))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrUnlockLoaderLock))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlAddVectoredExceptionHandler))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(RtlRemoveVectoredExceptionHandler))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpHeap))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpInvertedFunctionTable))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (IsWin7OrGreater() && !IsWin8OrGreater()) { if (LoadNtSymbolWOW64(S_FUNC(LdrpDefaultPath))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; } if (IsWin8OrGreater()) { if (LoadNtSymbolWOW64(S_FUNC(RtlRbRemoveNode))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpModuleBaseAddressIndex))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpMappingInfoIndex))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; } if (IsWin81OrGreater()) { if (LoadNtSymbolWOW64(S_FUNC(LdrProtectMrdata))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; } if (IsWin10OrGreater()) { if (LoadNtSymbolWOW64(S_FUNC(LdrpPreprocessDllName))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; if (LoadNtSymbolWOW64(S_FUNC(LdrpLoadDllInternal))) return INJ_ERR_GET_SYMBOL_ADDRESS_FAILED; } LOG(" WOW64 ntdll symbols loaded\n"); return INJ_ERR_SUCCESS; } HINSTANCE GetModuleHandleExW_WOW64(HANDLE hTargetProc, const wchar_t * lpModuleName) { MODULEENTRY32W ME32{ 0 }; ME32.dwSize = sizeof(ME32); HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE32 | TH32CS_SNAPMODULE, GetProcessId(hTargetProc)); if (hSnap == INVALID_HANDLE_VALUE) { while (GetLastError() == ERROR_BAD_LENGTH) { hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE32 | TH32CS_SNAPMODULE, GetProcessId(hTargetProc)); if (hSnap != INVALID_HANDLE_VALUE) { break; } } Sleep(5); } if (hSnap == INVALID_HANDLE_VALUE || !hSnap) { return NULL; } BOOL bRet = Module32FirstW(hSnap, &ME32); while (bRet) { if (ME32.modBaseAddr && !_wcsicmp(ME32.szModule, lpModuleName) && (ME32.modBaseAddr < (BYTE *)0x7FFFF000)) { BYTE header[0x1000]; if (!ReadProcessMemory(hTargetProc, ME32.modBaseAddr, header, sizeof(header), nullptr)) { bRet = Module32NextW(hSnap, &ME32); continue; } IMAGE_DOS_HEADER * pDos = ReCa<IMAGE_DOS_HEADER *>(header); IMAGE_NT_HEADERS32 * pNT = ReCa<IMAGE_NT_HEADERS32 *>(header + pDos->e_lfanew); if (pNT->FileHeader.Machine != IMAGE_FILE_MACHINE_I386) { bRet = Module32NextW(hSnap, &ME32); continue; } break; } bRet = Module32NextW(hSnap, &ME32); } CloseHandle(hSnap); if (!bRet) { return NULL; } return ME32.hModule; } bool GetProcAddressExW_WOW64(HANDLE hTargetProc, const wchar_t * szModuleName, const char * szProcName, DWORD &pOut) { return GetProcAddressEx_WOW64(hTargetProc, GetModuleHandleExW_WOW64(hTargetProc, szModuleName), szProcName, pOut); } bool GetProcAddressEx_WOW64(HANDLE hTargetProc, HINSTANCE hModule, const char * szProcName, DWORD &pOut) { BYTE * modBase = ReCa<BYTE*>(hModule); if (!modBase) { return false; } BYTE * pBuffer = new BYTE[0x1000]; if (!ReadProcessMemory(hTargetProc, modBase, pBuffer, 0x1000, nullptr)) { delete[] pBuffer; return false; } auto * pNT = ReCa<IMAGE_NT_HEADERS32*>(ReCa<IMAGE_DOS_HEADER*>(pBuffer)->e_lfanew + pBuffer); auto * pDir = &pNT->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT]; auto ExportSize = pDir->Size; auto DirRVA = pDir->VirtualAddress; if (!ExportSize) { delete[] pBuffer; return false; } BYTE * pExpDirBuffer = new BYTE[ExportSize]; auto * pExportDir = ReCa<IMAGE_EXPORT_DIRECTORY*>(pExpDirBuffer); if (!ReadProcessMemory(hTargetProc, modBase + DirRVA, pExpDirBuffer, ExportSize, nullptr)) { delete[] pExpDirBuffer; delete[] pBuffer; return false; } BYTE * pBase = pExpDirBuffer - DirRVA; auto Forward = [&](DWORD FuncRVA, DWORD &pForwarded) -> bool { char pFullExport[MAX_PATH]{ 0 }; size_t len_out = 0; HRESULT hr = StringCchLengthA(ReCa<char*>(pBase + FuncRVA), sizeof(pFullExport), &len_out); if (FAILED(hr) || !len_out) { return false; } StringCchCopyA(pFullExport, len_out, ReCa<char*>(pBase + FuncRVA)); char * pFuncName = strchr(pFullExport, '.'); *pFuncName++ = '\0'; if (*pFuncName == '#') { pFuncName = ReCa<char*>(LOWORD(atoi(++pFuncName))); } wchar_t ModNameW[MAX_PATH]{ 0 }; size_t SizeOut = 0; if (mbstowcs_s(&SizeOut, ModNameW, pFullExport, MAX_PATH)) { return GetProcAddressExW_WOW64(hTargetProc, ModNameW, pFuncName, pForwarded); } else { return false; } }; if (ReCa<ULONG_PTR>(szProcName) <= MAXWORD) { WORD Base = LOWORD(pExportDir->Base - 1); WORD Ordinal = LOWORD(szProcName) - Base; DWORD FuncRVA = ReCa<DWORD*>(pBase + pExportDir->AddressOfFunctions)[Ordinal]; delete[] pExpDirBuffer; delete[] pBuffer; if (FuncRVA >= DirRVA && FuncRVA < DirRVA + ExportSize) { return Forward(FuncRVA, pOut); } pOut = MDWD(modBase) + FuncRVA; return true; } DWORD max = pExportDir->NumberOfNames - 1; DWORD min = 0; DWORD FuncRVA = 0; while (min <= max) { DWORD mid = (min + max) / 2; DWORD CurrNameRVA = ReCa<DWORD*>(pBase + pExportDir->AddressOfNames)[mid]; char * szName = ReCa<char*>(pBase + CurrNameRVA); int cmp = strcmp(szName, szProcName); if (cmp < 0) { min = mid + 1; } else if (cmp > 0) { max = mid - 1; } else { WORD Ordinal = ReCa<WORD*>(pBase + pExportDir->AddressOfNameOrdinals)[mid]; FuncRVA = ReCa<DWORD*>(pBase + pExportDir->AddressOfFunctions)[Ordinal]; break; } } delete[] pExpDirBuffer; delete[] pBuffer; if (!FuncRVA) { return false; } if (FuncRVA >= DirRVA && FuncRVA < DirRVA + ExportSize) { return Forward(FuncRVA, pOut); } pOut = MDWD(modBase) + FuncRVA; return true; } #endif
[ "konradherrmann@t-online.de" ]
konradherrmann@t-online.de
fe461d10f40c23f00ea38e0df04d76be2fe70914
26a7bf928769171d08bb123b548806975da6078b
/Algorithms/Lab10/q2.cpp
417ab41031dd9c8d371263f3250a2d09f0e9c6b3
[]
no_license
mayuresh12345/Lab-Exercises
33263813c087b25fba531a7ac4f637d9b18e00e3
da5042c20f8b46934086d437787c15ae0ce96a15
refs/heads/master
2020-08-03T06:30:48.091387
2019-09-29T11:54:38
2019-09-29T11:54:38
211,654,938
1
0
null
null
null
null
UTF-8
C++
false
false
1,003
cpp
#include <iostream> #include <stdlib.h> using namespace std; void copy(int *a1[], int *a2[], int n) { int i, j, k; for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { a1[i][j] = a2[i][j]; } } } int min(int a, int b) { if(a > b) return b; return a; } int main() { cout << "Enter the number of vertices: "; int n; cin >> n; int *arr[n]; for(int i = 0; i < n; i++) arr[i] = (int *)malloc(n * sizeof(int)); cout << "Enter the matrix: "; int i, j, k; for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { cin >> arr[i][j]; } } // Warshall's algo int *temp[n]; for(int i = 0; i < n; i++) temp[i] = (int *)malloc(n * sizeof(int)); copy(temp, arr, n); for(k = 0; k < n; k++) { for(i = 0; i < n; i++) { for(j = 0; j < n; j++) arr[i][j] = min(temp[i][j], (temp[i][k] + temp[k][j])); } copy(temp, arr, n); } cout << "Transitive Closure: \n"; for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { cout << arr[i][j] << " "; } cout << endl; } }
[ "mayureshwagh6@gmail.com" ]
mayureshwagh6@gmail.com
61be8cb9b8f817afe48c771da6662bc609c46d54
395d1860e82bc75ccc04b91c4b9a8fa46276d9bb
/Source/Vision/Runtime/Base/System/Threading/ThreadManager/VThreadedTask.hpp
0560c919320f2b1a4fc0db9254bf3995d7b36e3f
[]
no_license
Hakhyun-Kim/projectanarchy
28ba7370050000a12e4305faa11d5deb77c330a1
ccea719afcb03967a68a169730b59e8a8a6c45f8
refs/heads/master
2021-06-03T04:41:22.814866
2013-11-07T07:21:03
2013-11-07T07:21:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,910
hpp
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2013 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement. * */ /// \file VThreadedTask.hpp #ifndef VTHREADEDTASK_HPP_INCLUDED #define VTHREADEDTASK_HPP_INCLUDED class VManagedThread; /// \brief /// enum used to describe the state of a VThreadedTask enum VTaskState { TASKSTATE_UNASSIGNED, TASKSTATE_PENDING, TASKSTATE_EXECUTING, TASKSTATE_FINISHED }; /// \brief /// Task class for multi-threading /// /// VThreadedTask is the base class for all tasks that can be scheduled for execution with the /// VThreadManager. /// /// VThreadedTask objects are automatically assigned to idle threads in the VThreadManager. There /// is no hard limit regarding the number of tasks that can be scheduled in the VThreadManager. class VThreadedTask : public VTypedObject { public: /// /// @name Constructor / Destructor /// @{ /// /// \brief /// Task default constructor. VBASE_IMPEXP VThreadedTask(); /// \brief /// Task destructor. VBASE_IMPEXP virtual ~VThreadedTask(); /// /// @} /// /// /// @name Manager Properties /// @{ /// /// \brief /// Returns the current state of the task /// /// This method does not block and has low overhead. /// /// \return The current state of the task as a VTaskState enum: /// \li \b TASKSTATE_UNASSIGNED: Task has not been scheduled yet. /// \li \b TASKSTATE_PENDING: Task has been scheduled for execution with the /// VThreadManager::ScheduleTask method, but execution hasn't started yet. /// \li \b TASKSTATE_EXECUTING: Task is currently being executed. /// \li \b TASKSTATE_FINISHED: Task has finished executing. VBASE_IMPEXP VTaskState GetState() const { return m_eState; } /// \brief /// Sets the thread mask of the task. /// /// The thread mask can be used to specify which thread(s) this task is allowed to be executed /// in. For instance, it is typically desired to run certain tasks (networking, background /// loading) in low-priority threads, while other tasks (particles, physics, etc.) should run in /// high-priority threads. /// /// The thread mask should only be set before scheduling the task. Changing the thread mask of an /// already scheduled task may result in the modification being ignored. /// /// \param iMask /// The task's thread bitmask. VBASE_IMPEXP void SetThreadMask(unsigned int iMask); /// \brief /// Returns the thread mask of the task. /// /// The thread mask can be used to specify which thread(s) this task is allowed to be executed /// in. For instance, it is typically desired to run certain tasks (networking, background /// loading) in low-priority threads, while other tasks (particles, physics, etc.) should run in /// high-priority threads. /// /// \return /// unsigned int: The task's thread bitmask. VBASE_IMPEXP unsigned int GetThreadMask() const; /// \brief /// Pure virtual Run method of the task /// /// This method has to be implemented in derived classes. It will be called by the thread this /// task is scheduled in. /// /// \param pThread /// Pointer to the thread the task is executed in. May be NULL if the task is executed in the /// main thread. VBASE_IMPEXP virtual void Run(VManagedThread *pThread) = 0; /// \brief /// Overridable that is called from the thread. /// /// This method is scheduled in just after the task has finished executing. /// /// The default implementation does nothing. /// /// \param pThread /// Pointer to the thread the task is executed in. May be NULL if the task is executed in the /// main thread. VBASE_IMPEXP virtual void OnFinished(VManagedThread *pThread); /// \brief /// Overridable that is called by the engine to notify the task that the engine will call /// WaitForAllThreads soon /// /// Implement this function in case the Run function takes significantly longer than a game tick. /// /// In such a case you can use this function to set a flag (volatile!) that aborts the worker /// loop inside the Run function. /// /// In other cases it is not necessary to override this function as WaitForAllThreads waits until /// all pending and busy tasks have returned from their Run function. /// /// The default implementation is empty. VBASE_IMPEXP virtual void OnCancel() { } V_DECLARE_DYNAMIC_DLLEXP(VThreadedTask, VBASE_IMPEXP) // Internal use only: void SetState(VTaskState state); void WaitUntilFinished(); protected: volatile unsigned int m_iMask; volatile VTaskState m_eState; // Linked list members for the thread manager friend class VThreadManager; friend class VThreadTaskList; VThreadedTask* m_pPrevious; VThreadedTask* m_pNext; int m_iPriority; /// /// @} /// }; #endif /* * Havok SDK - Base file, BUILD(#20131019) * * Confidential Information of Havok. (C) Copyright 1999-2013 * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok * Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership * rights, and intellectual property rights in the Havok software remain in * Havok and/or its suppliers. * * Use of this software for evaluation purposes is subject to and indicates * acceptance of the End User licence Agreement for this product. A copy of * the license is included with this software and is also available from salesteam@havok.com. * */
[ "joel.van.eenwyk@havok.com" ]
joel.van.eenwyk@havok.com
373e146176a3519685632cd6167b8c998d1ef6e8
38c10c01007624cd2056884f25e0d6ab85442194
/base/test/test_file_util_win.cc
d2d6ac3a0275366e49b4764cde16ab5a404038ba
[ "BSD-3-Clause" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
C++
false
false
7,113
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/test_file_util.h" #include <windows.h> #include <aclapi.h> #include <shlwapi.h> #include <vector> #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/logging.h" #include "base/strings/string_split.h" #include "base/threading/platform_thread.h" #include "base/win/scoped_handle.h" namespace base { namespace { struct PermissionInfo { PSECURITY_DESCRIPTOR security_descriptor; ACL dacl; }; // Deny |permission| on the file |path|, for the current user. bool DenyFilePermission(const FilePath& path, DWORD permission) { PACL old_dacl; PSECURITY_DESCRIPTOR security_descriptor; if (GetNamedSecurityInfo(const_cast<wchar_t*>(path.value().c_str()), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL, &old_dacl, NULL, &security_descriptor) != ERROR_SUCCESS) { return false; } EXPLICIT_ACCESS change; change.grfAccessPermissions = permission; change.grfAccessMode = DENY_ACCESS; change.grfInheritance = 0; change.Trustee.pMultipleTrustee = NULL; change.Trustee.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; change.Trustee.TrusteeForm = TRUSTEE_IS_NAME; change.Trustee.TrusteeType = TRUSTEE_IS_USER; change.Trustee.ptstrName = const_cast<wchar_t*>(L"CURRENT_USER"); PACL new_dacl; if (SetEntriesInAcl(1, &change, old_dacl, &new_dacl) != ERROR_SUCCESS) { LocalFree(security_descriptor); return false; } DWORD rc = SetNamedSecurityInfo(const_cast<wchar_t*>(path.value().c_str()), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL, new_dacl, NULL); LocalFree(security_descriptor); LocalFree(new_dacl); return rc == ERROR_SUCCESS; } // Gets a blob indicating the permission information for |path|. // |length| is the length of the blob. Zero on failure. // Returns the blob pointer, or NULL on failure. void* GetPermissionInfo(const FilePath& path, size_t* length) { DCHECK(length != NULL); *length = 0; PACL dacl = NULL; PSECURITY_DESCRIPTOR security_descriptor; if (GetNamedSecurityInfo(const_cast<wchar_t*>(path.value().c_str()), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL, &dacl, NULL, &security_descriptor) != ERROR_SUCCESS) { return NULL; } DCHECK(dacl != NULL); *length = sizeof(PSECURITY_DESCRIPTOR) + dacl->AclSize; PermissionInfo* info = reinterpret_cast<PermissionInfo*>(new char[*length]); info->security_descriptor = security_descriptor; memcpy(&info->dacl, dacl, dacl->AclSize); return info; } // Restores the permission information for |path|, given the blob retrieved // using |GetPermissionInfo()|. // |info| is the pointer to the blob. // |length| is the length of the blob. // Either |info| or |length| may be NULL/0, in which case nothing happens. bool RestorePermissionInfo(const FilePath& path, void* info, size_t length) { if (!info || !length) return false; PermissionInfo* perm = reinterpret_cast<PermissionInfo*>(info); DWORD rc = SetNamedSecurityInfo(const_cast<wchar_t*>(path.value().c_str()), SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL, &perm->dacl, NULL); LocalFree(perm->security_descriptor); char* char_array = reinterpret_cast<char*>(info); delete [] char_array; return rc == ERROR_SUCCESS; } } // namespace bool DieFileDie(const FilePath& file, bool recurse) { // It turns out that to not induce flakiness a long timeout is needed. const int kIterations = 25; const TimeDelta kTimeout = TimeDelta::FromSeconds(10) / kIterations; if (!PathExists(file)) return true; // Sometimes Delete fails, so try a few more times. Divide the timeout // into short chunks, so that if a try succeeds, we won't delay the test // for too long. for (int i = 0; i < kIterations; ++i) { if (DeleteFile(file, recurse)) return true; PlatformThread::Sleep(kTimeout); } return false; } bool EvictFileFromSystemCache(const FilePath& file) { base::win::ScopedHandle file_handle( CreateFile(file.value().c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, NULL)); if (!file_handle.IsValid()) return false; // Re-write the file time information to trigger cache eviction for the file. // This function previously overwrote the entire file without buffering, but // local experimentation validates this simplified and *much* faster approach: // [1] Sysinternals RamMap no longer lists these files as cached afterwards. // [2] Telemetry performance test startup.cold.blank_page reports sane values. BY_HANDLE_FILE_INFORMATION bhi = {0}; CHECK(::GetFileInformationByHandle(file_handle.Get(), &bhi)); CHECK(::SetFileTime(file_handle.Get(), &bhi.ftCreationTime, &bhi.ftLastAccessTime, &bhi.ftLastWriteTime)); return true; } // Checks if the volume supports Alternate Data Streams. This is required for // the Zone Identifier implementation. bool VolumeSupportsADS(const FilePath& path) { wchar_t drive[MAX_PATH] = {0}; wcscpy_s(drive, MAX_PATH, path.value().c_str()); if (!PathStripToRootW(drive)) return false; DWORD fs_flags = 0; if (!GetVolumeInformationW(drive, NULL, 0, 0, NULL, &fs_flags, NULL, 0)) return false; if (fs_flags & FILE_NAMED_STREAMS) return true; return false; } // Return whether the ZoneIdentifier is correctly set to "Internet" (3) // Only returns a valid result when called from same process as the // one that (was supposed to have) set the zone identifier. bool HasInternetZoneIdentifier(const FilePath& full_path) { FilePath zone_path(full_path.value() + L":Zone.Identifier"); std::string zone_path_contents; if (!ReadFileToString(zone_path, &zone_path_contents)) return false; std::vector<std::string> lines = SplitString( zone_path_contents, "\n", TRIM_WHITESPACE, SPLIT_WANT_ALL); switch (lines.size()) { case 3: // optional empty line at end of file: if (!lines[2].empty()) return false; // fall through: case 2: return lines[0] == "[ZoneTransfer]" && lines[1] == "ZoneId=3"; default: return false; } } bool MakeFileUnreadable(const FilePath& path) { return DenyFilePermission(path, GENERIC_READ); } bool MakeFileUnwritable(const FilePath& path) { return DenyFilePermission(path, GENERIC_WRITE); } FilePermissionRestorer::FilePermissionRestorer(const FilePath& path) : path_(path), info_(NULL), length_(0) { info_ = GetPermissionInfo(path_, &length_); DCHECK(info_ != NULL); DCHECK_NE(0u, length_); } FilePermissionRestorer::~FilePermissionRestorer() { if (!RestorePermissionInfo(path_, info_, length_)) NOTREACHED(); } } // namespace base
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
0d88b5a23a17cc2d33671b4c72973b95b1a1f512
6bc73bec189500f564332b0c4212cc057093fc43
/tests/type_already_bound_different_kind_of_binding.cpp
5871c611ee91e76eb59e09c7e6b1f2c8daa06cb1
[ "Apache-2.0" ]
permissive
preempt/fruit
0b0870fa465b27e4b082045ef1d2b373557dac3f
9ea3e31b63836797ec7ba1dd759ead8c00d0d227
refs/heads/master
2023-07-14T02:42:21.498680
2016-04-24T09:44:53
2016-04-24T09:44:53
72,961,655
0
0
Apache-2.0
2023-06-28T22:55:22
2016-11-06T00:35:43
C++
UTF-8
C++
false
false
1,022
cpp
// expect-compile-error TypeAlreadyBoundError<X>|Trying to bind C but it is already bound. /* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <fruit/fruit.h> #include "test_macros.h" using fruit::Component; using fruit::Injector; using fruit::createComponent; struct X { }; struct Y : public X { }; Component<Y> getComponent() { return createComponent() .registerConstructor<X()>() .registerConstructor<Y()>() .bind<X, Y>(); }
[ "poletti.marco@gmail.com" ]
poletti.marco@gmail.com
57c4d0203972a1332e60480e0a5373d92d1489f8
ba178314b7ef0fc031462adb7d878314b761a910
/sample_evr/MainDlg.cpp
244db01efa618b64f147c602b1fb13367d5d106e
[ "Zlib" ]
permissive
sailfish009/sample_evr
a2d25407eb40bba9e19b0d29df91b84f7e72a0bb
bf35ac56e542547dd8968d2d27c53a54aef86c27
refs/heads/master
2021-04-27T12:15:34.722462
2018-03-08T08:44:57
2018-03-08T08:44:57
122,576,874
0
0
null
null
null
null
UTF-8
C++
false
false
4,429
cpp
//======================================================================== // Mediafoundation EVR sample //------------------------------------------------------------------------ // Copyright (c) 2018 Ji Wong Park <sailfish009@gmail.com> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for any purpose, // including commercial applications, and to alter it and redistribute it // freely, subject to the following restrictions: // // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would // be appreciated but is not required. // // 2. Altered source versions must be plainly marked as such, and must not // be misrepresented as being the original software. // // 3. This notice may not be removed or altered from any source // distribution. // //======================================================================== #include "stdafx.h" #include "MainDlg.h" #include <atldlgs.h> #include <atomic> #include <io.h> /////////////////////////////////////////////////////////////////////////// #define VIDEO_MEMORY_SIZE (4096*1080) #include <d3d9.h> #include <dshow.h> #include <strmif.h> #include <evr.h> #include <atlcom.h> #include <Mfapi.h> #include <Mfidl.h> #include <mfreadwrite.h> #pragma comment(lib, "strmiids.lib") #pragma comment(lib, "mfuuid.lib") #pragma comment(lib, "mfplat.lib") #pragma comment(lib, "mf.lib") #define SR(x) { if (x) x.Release(); } //SAFE_RELEASE #define SC SUCCEEDED /////////////////////////////////////////////////////////////////////////// BOOL video_toggle = FALSE; // Source CComPtr<IStream> pStream; CComPtr<IMFByteStream> pByteStream; CHAR *temp = (CHAR*)GlobalAlloc(GMEM_FIXED, VIDEO_MEMORY_SIZE); // Sink CComPtr<IMFMediaSink> pMediaSink; CComPtr<IMFStreamSink> pStreamSink; CComPtr<IMFActivate> pActivate; CComPtr<IMFVideoRenderer> pEVR; CComPtr<IEVRFilterConfig> pConfig; CComPtr<IMFGetService> pGetService; CComPtr<IMFVideoDisplayControl> pVDC; HRESULT hr = S_OK; /////////////////////////////////////////////////////////////////////////// LRESULT CMainDlg::OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { switch (video_toggle) { case FALSE: video_toggle = TRUE; //run init(); break; default: video_toggle = FALSE; //stop break; } return 0; } FILE *fp = nullptr; void CMainDlg::init() { // MF init /////////////////////////////////////////////////////////////////////////// hr = MFStartup(MF_VERSION); /////////////////////////////////////////////////////////////////////////// // File open /////////////////////////////////////////////////////////////////////////// #if 1 if (fopen_s(&fp, "../../nv12.yuv", "rb")) { printf("file open error\n"); return; } #endif // Media Source /////////////////////////////////////////////////////////////////////////// hr = ::CreateStreamOnHGlobal(temp, TRUE, &pStream); hr = MFCreateMFByteStreamOnStream(pStream, &pByteStream); // fread(temp, 1, VIDEO_MEMORY_SIZE, fp); /////////////////////////////////////////////////////////////////////////// // EVR sink /////////////////////////////////////////////////////////////////////////// hr = MFCreateVideoRendererActivate(view_hwnd, &pActivate); hr = pActivate->ActivateObject(IID_IMFMediaSink, (void**)&pMediaSink); hr = pMediaSink->QueryInterface(IID_IMFVideoRenderer, (void**)&pEVR); hr = pEVR->InitializeRenderer(NULL, NULL); hr = pEVR->QueryInterface(IID_IEVRFilterConfig, (void**)&pConfig); hr = pConfig->SetNumberOfStreams(16); hr = pEVR->QueryInterface(IID_IMFGetService, reinterpret_cast<LPVOID*>(&pGetService)); hr = pGetService->GetService(MR_VIDEO_RENDER_SERVICE, IID_IMFVideoDisplayControl, reinterpret_cast<LPVOID*>(&pVDC)); if (SC(hr)) { hr = pVDC->SetVideoWindow(view_hwnd); hr = pVDC->SetAspectRatioMode(MFVideoARMode_None); SR(pVDC); } hr = pMediaSink->AddStreamSink(1000, NULL, &pStreamSink); /////////////////////////////////////////////////////////////////////////// } void CMainDlg::run() { } void CMainDlg::stop() { }
[ "sailfish009@gmail.com" ]
sailfish009@gmail.com
bb0be0317d70329f335e0f2ed8cdef5a430daf89
0f08276e557de8437759659970efc829a9cbc669
/problems/p1635.h
0a5f9119c92d838b111a18a0444799d64198c15f
[]
no_license
petru-d/leetcode-solutions-reboot
4fb35a58435f18934b9fe7931e01dabcc9d05186
680dc63d24df4c0cc58fcad429135e90f7dfe8bd
refs/heads/master
2023-06-14T21:58:53.553870
2021-07-11T20:41:57
2021-07-11T20:41:57
250,795,996
0
0
null
null
null
null
UTF-8
C++
false
false
66
h
#pragma once namespace p1635 { class Solution { }; }
[ "berserk.ro@gmail.com" ]
berserk.ro@gmail.com
e0f472729bff905593656486f6bc326bd7996b97
e668804617c64191139d76991f5b7261e2d57ed9
/common-c-library/livechat/RecvCamShareStartTask.cpp
99bd2c0bbf119eb04cc4136db47aab07d39aa18c
[]
no_license
commshare/testIPv6
064356102a5777fcad1bddd01ed511dd552ce7c2
c6ba4190a6ba89ec86894351ab4480143eef8a25
refs/heads/master
2020-03-24T06:54:30.409726
2018-11-01T02:20:11
2018-11-01T02:20:11
142,545,942
0
0
null
null
null
null
UTF-8
C++
false
false
3,418
cpp
/* * author: Alex shum * date: 2016-10-28 * file: RecvCamShareStartTask.cpp * desc: Cam聊天开始通知(仅女士端) Task实现类 */ #include "RecvCamShareStartTask.h" #include "ITaskManager.h" #include "ILiveChatClient.h" #include "AmfPublicParse.h" #include <json/json/json.h> #include <common/CheckMemoryLeak.h> #include <common/CommonFunc.h> // 返回参数定义 // Cam聊天参与男士Id #define MANID_PARAM "manId" // Cam聊天参与女士Id #define WOMANID_PARAM "womanId" // Cam邀请Id #define INVITEID_PARAM "inviteId" RecvCamShareStartTask::RecvCamShareStartTask(void) { m_listener = NULL; m_seq = 0; m_errType = LCC_ERR_FAIL; m_errMsg = ""; m_manId = ""; m_womanId = ""; m_inviteId = ""; } RecvCamShareStartTask::~RecvCamShareStartTask(void) { } // 初始化 bool RecvCamShareStartTask::Init(ILiveChatClientListener* listener) { bool result = false; if (NULL != listener) { m_listener = listener; result = true; } return result; } // 处理已接收数据 bool RecvCamShareStartTask::Handle(const TransportProtocol* tp) { bool result = false; AmfParser parser; amf_object_handle root = parser.Decode((char*)tp->data, tp->GetDataLength()); if (!root.isnull()) { if(root->type == DT_OBJECT) { // manId amf_object_handle manIdObject = root->get_child(MANID_PARAM); result = !manIdObject.isnull() && manIdObject->type == DT_STRING; if (result) { m_manId = manIdObject->strValue; } // womanId amf_object_handle womanIdObject = root->get_child(WOMANID_PARAM); result = !womanIdObject.isnull() && womanIdObject->type == DT_STRING; if (result) { m_womanId = womanIdObject->strValue; } // inviteId amf_object_handle inviteIdObject = root->get_child(INVITEID_PARAM); result = !inviteIdObject.isnull() && inviteIdObject->type == DT_STRING; if (result) { m_inviteId = inviteIdObject->strValue; } } if (!result){ int errType = 0; string errMsg = ""; if (GetAMFProtocolError(root, errType, errMsg)) { m_errType = (LCC_ERR_TYPE)errType; m_errMsg = errMsg; // 解析成功 result = true; } } } // 通知listener if (NULL != m_listener && result) { m_listener->OnRecvCamShareStart(m_manId, m_womanId, m_inviteId); } return result; } // 获取待发送的数据,可先获取data长度,如:GetSendData(NULL, 0, dataLen); bool RecvCamShareStartTask::GetSendData(void* data, unsigned int dataSize, unsigned int& dataLen) { bool result = false; // 本协议没有返回 return result; } // 获取待发送数据的类型 TASK_PROTOCOL_TYPE RecvCamShareStartTask::GetSendDataProtocolType() { return AMF_PROTOCOL; } // 获取命令号 int RecvCamShareStartTask::GetCmdCode() { return TCMD_RECVCAMSHARESTART; } // 设置seq void RecvCamShareStartTask::SetSeq(unsigned int seq) { m_seq = seq; } // 获取seq unsigned int RecvCamShareStartTask::GetSeq() { return m_seq; } // 是否需要等待回复。若false则发送后释放(delete掉),否则发送后会被添加至待回复列表,收到回复后释放 bool RecvCamShareStartTask::IsWaitToRespond() { return false; } // 获取处理结果 void RecvCamShareStartTask::GetHandleResult(LCC_ERR_TYPE& errType, string& errMsg) { errType = m_errType; errMsg = m_errMsg; } // 未完成任务的断线通知 void RecvCamShareStartTask::OnDisconnect() { // 不用回调 }
[ "nowget@qq.comf" ]
nowget@qq.comf
acfcf184702c55320925b293518d1a9a448c9b12
c96748bfa9da5a052b3502c89cfe7ac66a63d6de
/cse110a/asg3/astree.cpp
701543e2862732c146474e922cba26561a1427f8
[]
no_license
rfbergeron/UCSC
dc2bf4377e666eb6126b7f3769fe4897e2296bed
5f3bc292e2ed279db623205e893aa2be4b31576b
refs/heads/master
2023-04-13T20:06:12.001297
2023-03-20T23:17:15
2023-03-20T23:17:15
180,865,880
0
2
null
null
null
null
UTF-8
C++
false
false
3,651
cpp
// $Id: astree.cpp,v 1.15 2019-08-22 17:28:52-07 - - $ #include <cassert> #include <iomanip> #include <iostream> using namespace std; #include "astree.h" #include "lyutils.h" #include "string_set.h" const char* astree::NOINFO = ""; ostream& operator<< (ostream& out, const location& loc) { return out << "{" << loc.filenr << "," << loc.linenr << "," << loc.offset << "}"; } ostream& operator<< (ostream& out, const astree* tree) { const char* tname = parser::get_tname (tree->symbol); tname += 4; return out << tname << " \"" << *tree->lexinfo << "\" " << tree->loc; } astree::astree (int symbol_, const location& loc_, const char* info): symbol (symbol_), loc (loc_), lexinfo (string_set::intern (info)), firstborn (this), next_sibling (nullptr) {} astree::~astree () { while (not children.empty ()) { astree* child = children.back (); children.pop_back (); delete child; } if (yydebug) { cerr << "Deleting astree ("; astree::dump (cerr, this); cerr << ")" << endl; } } astree* astree::adopt (astree* child1, astree* child2, astree* child3) { if (child1 != nullptr) { astree* current_sibling = child1->firstborn; do { children.push_back (current_sibling); current_sibling = current_sibling->next_sibling; } while (current_sibling != nullptr); } if (child2 != nullptr) { astree* current_sibling = child2->firstborn; do { children.push_back (current_sibling); current_sibling = current_sibling->next_sibling; } while (current_sibling != nullptr); } if (child3 != nullptr) { astree* current_sibling = child3->firstborn; do { children.push_back (current_sibling); current_sibling = current_sibling->next_sibling; } while (current_sibling != nullptr); } return this; } astree* astree::adopt_sym (int symbol_, astree* child1, astree* child2) { symbol = symbol_; return adopt (child1, child2); } astree* astree::buddy_up (astree* sibling) { // if it is the head of the list, this node points to itself sibling->firstborn = firstborn; next_sibling = sibling; // want to append to the end of the "list" DEBUGH ('y', " buddying up " << parser::get_tname (symbol) << " with " << parser::get_tname (sibling->symbol) << "; oldest sib: " << parser::get_tname (firstborn->symbol) << " " << *(firstborn->lexinfo)); return sibling; } void astree::dump_node (ostream& out) { out << static_cast<const void*> (this) << "->{" << this; for (const auto& child : children) { out << " " << static_cast<const void*> (child); } } void astree::dump_tree (ostream& out, int depth) { out << setw (depth * 3) << ""; dump_node (out); out << endl; for (astree* child : children) child->dump_tree (out, depth + 1); } void astree::dump (ostream& out, astree* tree) { if (tree == nullptr) out << "nullptr"; else tree->dump_node (out); } void astree::print (ostream& out, astree* tree, int depth) { for (int i = 0; i < depth; ++i) { out << "| "; } out << tree << endl; for (astree* child : tree->children) { astree::print (out, child, depth + 1); } } void destroy (astree* tree1, astree* tree2, astree* tree3) { DEBUGH ('y', " DESTROYING"); if (tree1 != nullptr) delete tree1; if (tree2 != nullptr) delete tree2; if (tree3 != nullptr) delete tree3; }
[ "robertbergeron3@gmail.com" ]
robertbergeron3@gmail.com
1288d593191187c0299df023f3dbd0624ae07341
ed708d3439a5398ae9627db311bac8aca010ac1d
/src/algorithms/image_helper_types.h
38cb9a2ad6fee39842100e786c72da55a72a9ffc
[ "BSD-3-Clause", "MIT", "BSL-1.0", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-public-domain" ]
permissive
tainenko/tiscamera
dbe084a7034c3801642bbc52bebf6fae4e48b41a
528f4d941aef24c387f78b3d8f8c865b98cf80a0
refs/heads/master
2023-04-12T07:07:40.052106
2021-03-26T10:01:45
2021-03-31T08:48:35
365,178,263
0
0
Apache-2.0
2021-05-07T09:16:32
2021-05-07T09:13:08
null
UTF-8
C++
false
false
1,003
h
/* * Copyright 2019 The Imaging Source Europe GmbH * * 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. */ #pragma once namespace img { struct point { int x, y; }; struct rect { int left; int top; int right; int bottom; }; struct dim { int cx, cy; }; constexpr bool operator==( const dim& lhs, const dim& rhs ) noexcept { return (lhs.cx == rhs.cx) && (lhs.cy == rhs.cy); } constexpr bool operator!=( const dim& lhs, const dim& rhs ) noexcept { return !(lhs == rhs); } }
[ "edgar.thier@theimagingsource.com" ]
edgar.thier@theimagingsource.com
c60feffdbc4b99d1706a022202b86326f786eda5
57f24846a3fa3670c8519af87e658eca120f6d23
/NGpitzDaily/900/k
a17521d9a8ce1029dd5b20f3d0be444ef565c5b7
[]
no_license
bshambaugh/openfoam-experiments
82adb4b7d7eb0ec454d6f98eba274b279a6597d8
a1dd4012cb9791836da2f9298247ceba8701211c
refs/heads/master
2021-07-14T05:53:07.275777
2019-02-15T19:37:28
2019-02-15T19:37:28
153,547,385
0
0
null
null
null
null
UTF-8
C++
false
false
63,537
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "900"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField nonuniform List<scalar> 6820 ( 0.226697 0.279347 0.331744 0.382734 0.43093 0.475126 0.51442 0.54829 0.576587 0.599476 0.617344 0.630716 0.64018 0.64634 0.649768 0.650989 0.650466 0.648594 0.645709 0.642084 0.637945 0.633472 0.628806 0.624061 0.619321 0.614654 0.610107 0.605726 0.601498 0.597637 0.593201 0.592919 0.573722 0.207938 0.216621 0.219548 0.220394 0.221057 0.222078 0.223474 0.22514 0.226961 0.228846 0.230731 0.232584 0.234394 0.236162 0.237902 0.239628 0.241358 0.243107 0.244886 0.246707 0.248574 0.250492 0.252461 0.254478 0.256539 0.258638 0.260766 0.262915 0.265066 0.267234 0.269308 0.271642 0.273194 0.201064 0.204896 0.206826 0.206612 0.205168 0.203176 0.200968 0.198675 0.196348 0.194008 0.19167 0.189349 0.187063 0.184828 0.182661 0.180578 0.178592 0.176713 0.174949 0.173308 0.171791 0.170401 0.169138 0.167998 0.166981 0.166081 0.165293 0.164613 0.164033 0.163547 0.163144 0.162821 0.162547 0.199585 0.199595 0.199834 0.199709 0.199082 0.198053 0.196754 0.195281 0.193696 0.192037 0.19033 0.188591 0.186834 0.18507 0.183308 0.181557 0.179825 0.178118 0.176444 0.174806 0.17321 0.171659 0.170156 0.168704 0.167303 0.165957 0.164664 0.163426 0.162242 0.161112 0.160036 0.159013 0.15804 0.199411 0.198486 0.19779 0.197167 0.196484 0.195676 0.194737 0.193687 0.19255 0.191348 0.190098 0.188816 0.187511 0.186191 0.184864 0.183536 0.182211 0.180895 0.17959 0.1783 0.177029 0.175777 0.174549 0.173345 0.172168 0.171018 0.169896 0.168804 0.167742 0.166711 0.165711 0.164743 0.163807 0.199395 0.198258 0.197235 0.196308 0.195431 0.194563 0.193675 0.192755 0.191799 0.190812 0.189799 0.188765 0.187716 0.186657 0.185592 0.184526 0.183461 0.182401 0.181348 0.180303 0.17927 0.17825 0.177243 0.176253 0.175279 0.174322 0.173384 0.172466 0.171567 0.170689 0.169832 0.168996 0.168182 0.199395 0.198217 0.197099 0.196044 0.195047 0.194092 0.193165 0.192252 0.191343 0.190435 0.189525 0.188612 0.187697 0.186781 0.185867 0.184955 0.184048 0.183146 0.182252 0.181366 0.180489 0.179623 0.178769 0.177926 0.177097 0.176282 0.17548 0.174694 0.173922 0.173166 0.172426 0.171702 0.170995 0.199395 0.198211 0.19707 0.195974 0.194924 0.193917 0.192948 0.19201 0.191097 0.190204 0.189326 0.188462 0.187608 0.186764 0.185929 0.185103 0.184287 0.18348 0.182683 0.181896 0.181119 0.180354 0.179599 0.178857 0.178126 0.177408 0.176702 0.176009 0.17533 0.174663 0.17401 0.17337 0.172744 0.199395 0.19821 0.197064 0.195957 0.194889 0.19386 0.192867 0.191909 0.190981 0.190082 0.189208 0.188355 0.187523 0.186708 0.18591 0.185127 0.184358 0.183603 0.182862 0.182133 0.181417 0.180714 0.180023 0.179345 0.178679 0.178026 0.177385 0.176756 0.17614 0.175536 0.174945 0.174365 0.173798 0.199395 0.19821 0.197062 0.195953 0.19488 0.193843 0.19284 0.191871 0.190934 0.190027 0.189147 0.188294 0.187465 0.186659 0.185874 0.185108 0.184361 0.183631 0.182918 0.182221 0.181539 0.180871 0.180218 0.179579 0.178953 0.17834 0.177741 0.177154 0.17658 0.176018 0.175468 0.17493 0.174403 0.199395 0.198209 0.197062 0.195951 0.194877 0.193838 0.192832 0.191858 0.190916 0.190004 0.189121 0.188264 0.187434 0.186628 0.185846 0.185085 0.184345 0.183625 0.182925 0.182242 0.181576 0.180927 0.180293 0.179675 0.179072 0.178483 0.177908 0.177346 0.176797 0.176261 0.175738 0.175226 0.174727 0.199395 0.198209 0.197061 0.195951 0.194876 0.193836 0.192829 0.191854 0.19091 0.189995 0.189109 0.188251 0.187418 0.186611 0.185828 0.185068 0.18433 0.183613 0.182916 0.182239 0.181579 0.180938 0.180314 0.179706 0.179114 0.178537 0.177974 0.177426 0.176892 0.176371 0.175862 0.175367 0.174883 0.199395 0.198209 0.197061 0.19595 0.194875 0.193834 0.192827 0.191851 0.190907 0.189991 0.189104 0.188244 0.187411 0.186603 0.185818 0.185058 0.184319 0.183603 0.182907 0.18223 0.181573 0.180934 0.180313 0.17971 0.179122 0.17855 0.177994 0.177452 0.176925 0.176411 0.175911 0.175423 0.174948 0.199395 0.198209 0.197061 0.19595 0.194874 0.193833 0.192826 0.19185 0.190905 0.189989 0.189101 0.188241 0.187407 0.186598 0.185813 0.185051 0.184313 0.183595 0.182899 0.182223 0.181566 0.180928 0.180307 0.179705 0.179119 0.178549 0.177994 0.177455 0.176931 0.17642 0.175923 0.175439 0.174968 0.199395 0.198209 0.19706 0.195949 0.194874 0.193833 0.192825 0.191849 0.190903 0.189987 0.189099 0.188238 0.187404 0.186594 0.185809 0.185047 0.184308 0.18359 0.182893 0.182217 0.18156 0.180921 0.180301 0.179698 0.179112 0.178543 0.177989 0.17745 0.176927 0.176417 0.175921 0.175438 0.174968 0.199395 0.198209 0.19706 0.195949 0.194873 0.193832 0.192824 0.191848 0.190902 0.189985 0.189097 0.188236 0.187401 0.186591 0.185806 0.185044 0.184304 0.183586 0.182889 0.182212 0.181554 0.180916 0.180295 0.179692 0.179106 0.178536 0.177982 0.177444 0.17692 0.17641 0.175914 0.175432 0.174962 0.199395 0.198209 0.19706 0.195949 0.194873 0.193832 0.192823 0.191847 0.190901 0.189984 0.189095 0.188234 0.187399 0.186589 0.185803 0.185041 0.184301 0.183582 0.182885 0.182207 0.18155 0.180911 0.18029 0.179686 0.1791 0.17853 0.177976 0.177437 0.176912 0.176403 0.175907 0.175424 0.174954 0.199395 0.198208 0.19706 0.195948 0.194873 0.193831 0.192823 0.191846 0.1909 0.189983 0.189094 0.188232 0.187397 0.186587 0.185801 0.185038 0.184298 0.183579 0.182881 0.182204 0.181545 0.180906 0.180285 0.179681 0.179094 0.178524 0.177969 0.17743 0.176906 0.176395 0.175899 0.175416 0.174946 0.199395 0.198208 0.19706 0.195948 0.194872 0.193831 0.192822 0.191845 0.190899 0.189982 0.189093 0.188231 0.187395 0.186585 0.185798 0.185035 0.184295 0.183576 0.182878 0.1822 0.181542 0.180902 0.18028 0.179676 0.179089 0.178519 0.177964 0.177424 0.176899 0.176389 0.175892 0.175408 0.174938 0.199395 0.198208 0.19706 0.195948 0.194872 0.19383 0.192821 0.191844 0.190898 0.189981 0.189092 0.18823 0.187394 0.186583 0.185796 0.185033 0.184292 0.183573 0.182875 0.182197 0.181538 0.180898 0.180276 0.179672 0.179085 0.178514 0.177958 0.177418 0.176893 0.176382 0.175885 0.175401 0.174931 0.199395 0.198208 0.19706 0.195948 0.194872 0.19383 0.192821 0.191844 0.190897 0.18998 0.189091 0.188228 0.187392 0.186581 0.185795 0.185031 0.18429 0.183571 0.182872 0.182194 0.181535 0.180895 0.180273 0.179668 0.17908 0.178509 0.177953 0.177413 0.176888 0.176376 0.175879 0.175395 0.174924 0.199395 0.198208 0.19706 0.195948 0.194872 0.19383 0.192821 0.191843 0.190897 0.189979 0.18909 0.188227 0.187391 0.18658 0.185793 0.185029 0.184288 0.183568 0.18287 0.182191 0.181532 0.180891 0.180269 0.179664 0.179076 0.178505 0.177949 0.177408 0.176883 0.176371 0.175873 0.175389 0.174918 0.199395 0.198208 0.197059 0.195948 0.194871 0.193829 0.19282 0.191843 0.190896 0.189978 0.189089 0.188226 0.18739 0.186579 0.185791 0.185028 0.184286 0.183566 0.182867 0.182189 0.181529 0.180888 0.180266 0.179661 0.179073 0.178501 0.177945 0.177404 0.176878 0.176366 0.175868 0.175383 0.174912 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.19282 0.191843 0.190896 0.189978 0.189088 0.188225 0.187389 0.186577 0.18579 0.185026 0.184284 0.183564 0.182865 0.182186 0.181527 0.180886 0.180263 0.179658 0.179069 0.178497 0.177941 0.1774 0.176873 0.176361 0.175863 0.175378 0.174906 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.19282 0.191842 0.190895 0.189977 0.189087 0.188225 0.187388 0.186576 0.185789 0.185025 0.184283 0.183563 0.182864 0.182184 0.181525 0.180883 0.18026 0.179655 0.179066 0.178494 0.177937 0.177396 0.17687 0.176357 0.175859 0.175374 0.174902 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.19282 0.191842 0.190895 0.189977 0.189087 0.188224 0.187387 0.186576 0.185788 0.185024 0.184282 0.183561 0.182862 0.182183 0.181523 0.180881 0.180258 0.179652 0.179064 0.178491 0.177934 0.177393 0.176866 0.176353 0.175855 0.17537 0.174897 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191842 0.190895 0.189976 0.189086 0.188224 0.187387 0.186575 0.185787 0.185023 0.184281 0.18356 0.18286 0.182181 0.181521 0.180879 0.180256 0.17965 0.179061 0.178488 0.177931 0.17739 0.176863 0.17635 0.175851 0.175366 0.174893 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191842 0.190894 0.189976 0.189086 0.188223 0.187386 0.186574 0.185786 0.185022 0.18428 0.183559 0.182859 0.18218 0.181519 0.180878 0.180254 0.179648 0.179059 0.178486 0.177929 0.177387 0.17686 0.176347 0.175848 0.175362 0.17489 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191842 0.190894 0.189976 0.189086 0.188223 0.187386 0.186574 0.185786 0.185021 0.184279 0.183558 0.182858 0.182178 0.181518 0.180876 0.180253 0.179647 0.179057 0.178484 0.177927 0.177385 0.176858 0.176345 0.175845 0.17536 0.174887 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191841 0.190894 0.189976 0.189086 0.188223 0.187385 0.186573 0.185785 0.185021 0.184278 0.183557 0.182857 0.182178 0.181517 0.180875 0.180252 0.179645 0.179056 0.178483 0.177925 0.177383 0.176856 0.176342 0.175843 0.175357 0.174884 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191841 0.190894 0.189976 0.189086 0.188222 0.187385 0.186573 0.185785 0.18502 0.184278 0.183557 0.182857 0.182177 0.181516 0.180874 0.180251 0.179644 0.179055 0.178481 0.177924 0.177382 0.176854 0.176341 0.175841 0.175355 0.174882 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191841 0.190894 0.189976 0.189086 0.188222 0.187385 0.186573 0.185785 0.18502 0.184278 0.183557 0.182857 0.182177 0.181516 0.180874 0.180251 0.179644 0.179054 0.178481 0.177923 0.177381 0.176853 0.17634 0.17584 0.175354 0.174881 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.192819 0.191841 0.190894 0.189976 0.189086 0.188223 0.187386 0.186573 0.185786 0.185021 0.184278 0.183558 0.182858 0.182178 0.181517 0.180875 0.180251 0.179644 0.179055 0.178481 0.177923 0.177381 0.176852 0.176339 0.175839 0.175352 0.174878 0.199395 0.198208 0.197059 0.195947 0.194871 0.193829 0.19282 0.191843 0.190896 0.189978 0.189089 0.188226 0.18739 0.186578 0.185791 0.185026 0.184284 0.183563 0.182863 0.182183 0.181522 0.180879 0.180255 0.179647 0.179056 0.178481 0.177922 0.177378 0.176848 0.176333 0.17583 0.175342 0.174865 0.199395 0.198208 0.197059 0.195948 0.194872 0.193831 0.192824 0.191848 0.190902 0.189986 0.189098 0.188236 0.1874 0.186589 0.185801 0.185036 0.184293 0.183571 0.182869 0.182186 0.181522 0.180877 0.180248 0.179636 0.179041 0.178461 0.177897 0.177347 0.176811 0.176289 0.175781 0.175285 0.174802 0.199395 0.198209 0.197062 0.195955 0.194886 0.193853 0.192854 0.191885 0.190945 0.190033 0.189146 0.188284 0.187446 0.186631 0.185838 0.185066 0.184314 0.183582 0.182869 0.182174 0.181497 0.180837 0.180194 0.179567 0.178956 0.17836 0.177779 0.177212 0.176659 0.176119 0.175593 0.175079 0.174577 0.199395 0.198223 0.197106 0.196032 0.194988 0.19397 0.192977 0.192008 0.191061 0.190136 0.189233 0.188352 0.187492 0.186652 0.185833 0.185034 0.184253 0.183492 0.182748 0.182022 0.181314 0.180622 0.179947 0.179288 0.178644 0.178015 0.1774 0.1768 0.176214 0.175641 0.175082 0.174535 0.174001 0.19941 0.198319 0.197296 0.196301 0.19531 0.194319 0.193329 0.192346 0.191374 0.190417 0.189479 0.188561 0.187664 0.186788 0.185934 0.185101 0.184288 0.183495 0.182721 0.181966 0.18123 0.180511 0.179809 0.179123 0.178454 0.1778 0.177161 0.176537 0.175927 0.175331 0.174749 0.17418 0.173624 0.199716 0.199139 0.19847 0.197764 0.197072 0.196419 0.195812 0.195251 0.194735 0.194262 0.193831 0.193441 0.193089 0.192773 0.192493 0.192245 0.192027 0.191839 0.191676 0.191539 0.191425 0.191332 0.191258 0.191203 0.191164 0.191141 0.191132 0.191136 0.191152 0.191179 0.191217 0.191264 0.191319 0.205424 0.216593 0.227629 0.238434 0.248976 0.259243 0.269229 0.278926 0.288326 0.297424 0.306216 0.314701 0.322877 0.330747 0.338313 0.345577 0.352546 0.359225 0.365619 0.371736 0.377584 0.383171 0.388503 0.393591 0.398442 0.403065 0.407469 0.411661 0.415651 0.419447 0.423057 0.426489 0.429753 0.660072 0.768134 0.874153 0.981723 1.0924 1.20235 1.30505 1.39456 1.46733 1.52299 1.56374 1.59311 1.61468 1.63138 1.64515 1.657 1.66727 1.67589 1.68268 1.68753 1.69046 1.69165 1.69136 1.68994 1.68767 1.68483 1.68161 1.67816 1.67458 1.67095 1.66731 1.66368 1.66006 1.65642 1.65269 1.64879 1.64459 1.63994 1.63469 1.62866 1.62167 1.61355 1.6041 1.59318 1.58064 1.56636 1.55023 1.53221 1.51227 1.49041 1.4667 1.44123 1.41413 1.38557 1.35577 1.32497 1.29341 1.26139 1.22919 1.1971 1.16541 1.13441 1.10433 1.07542 1.04789 1.02189 0.997559 0.975004 0.954284 0.935427 0.918429 0.903258 0.889855 0.878138 0.868008 0.85935 0.852037 0.845932 0.840894 0.836777 0.833436 0.830727 0.82851 0.826653 0.825027 0.823515 0.822008 0.820406 0.81862 0.816568 0.81418 0.811393 0.808152 0.804407 0.800124 0.795241 0.789793 0.783533 0.777302 0.76664 0.276539 0.284721 0.298009 0.317403 0.344424 0.380588 0.426983 0.48394 0.550773 0.625742 0.706265 0.789258 0.87153 0.950168 1.02285 1.08802 1.14495 1.19366 1.2347 1.26894 1.2974 1.32104 1.34066 1.35687 1.37011 1.38071 1.38893 1.39499 1.39913 1.40158 1.40257 1.40229 1.40089 1.3985 1.39517 1.39095 1.38581 1.37973 1.37265 1.36449 1.35518 1.34463 1.33275 1.31946 1.3047 1.28842 1.27057 1.25116 1.23022 1.20781 1.18401 1.15895 1.13279 1.10572 1.07794 1.04971 1.02125 0.992842 0.964736 0.937186 0.910438 0.884715 0.86022 0.837128 0.815584 0.795702 0.777562 0.761216 0.746684 0.73396 0.723011 0.713784 0.706206 0.700188 0.695628 0.692411 0.690416 0.689513 0.689566 0.69044 0.691994 0.694093 0.6966 0.699384 0.702322 0.705292 0.708186 0.710901 0.713342 0.715426 0.717077 0.718228 0.71882 0.718799 0.718125 0.71674 0.714664 0.711695 0.708433 0.701972 0.162234 0.162075 0.162291 0.163025 0.16457 0.167277 0.171575 0.177999 0.187194 0.19989 0.21687 0.238905 0.266659 0.300587 0.340823 0.387104 0.438717 0.494505 0.552943 0.61227 0.670673 0.726486 0.778358 0.825364 0.867026 0.903267 0.934308 0.960557 0.982496 1.00061 1.01532 1.02699 1.03594 1.04239 1.04655 1.0486 1.04866 1.04686 1.04328 1.038 1.03108 1.02255 1.01246 1.00083 0.987703 0.973115 0.957123 0.939797 0.921228 0.901529 0.880836 0.859305 0.837114 0.81446 0.791551 0.768604 0.745842 0.723484 0.701741 0.680811 0.660876 0.642095 0.624604 0.608512 0.593904 0.580839 0.569351 0.559453 0.551138 0.544382 0.539145 0.535374 0.533006 0.531968 0.532176 0.53354 0.535964 0.539342 0.543566 0.548521 0.554088 0.560148 0.566577 0.573255 0.580063 0.586883 0.593606 0.600126 0.606345 0.612172 0.617524 0.622327 0.626513 0.630023 0.632806 0.634805 0.636017 0.636292 0.635954 0.633747 0.156976 0.15582 0.154717 0.153683 0.152725 0.151877 0.151188 0.150724 0.150572 0.150846 0.151687 0.153273 0.155823 0.159601 0.164923 0.172152 0.181688 0.193949 0.209329 0.228143 0.250565 0.276565 0.305868 0.337948 0.37205 0.407259 0.442589 0.47708 0.509882 0.540317 0.567907 0.592367 0.613584 0.63157 0.646429 0.658313 0.667399 0.673865 0.677886 0.679623 0.679227 0.676839 0.672591 0.666611 0.659028 0.649969 0.63957 0.62797 0.615319 0.601773 0.587499 0.572672 0.557471 0.54208 0.526681 0.511454 0.496569 0.482186 0.468451 0.455493 0.44342 0.432324 0.422276 0.413328 0.405519 0.398869 0.393388 0.389075 0.385921 0.38391 0.383021 0.383228 0.384501 0.386803 0.390096 0.394332 0.39946 0.405419 0.412141 0.41955 0.42756 0.43608 0.44501 0.454246 0.463681 0.473205 0.482706 0.492079 0.501216 0.51002 0.518395 0.526255 0.533519 0.540114 0.545977 0.55104 0.555277 0.558586 0.56099 0.562919 0.162755 0.161579 0.160413 0.159263 0.158129 0.157014 0.155926 0.154875 0.153875 0.152943 0.152104 0.151386 0.150827 0.150471 0.150373 0.150597 0.151224 0.152346 0.154072 0.156527 0.159851 0.164192 0.169702 0.176522 0.184768 0.194507 0.205742 0.218391 0.232284 0.247158 0.262683 0.278473 0.294128 0.309255 0.323501 0.336566 0.34822 0.358299 0.366707 0.373403 0.378394 0.381727 0.383475 0.383735 0.382617 0.380247 0.376755 0.372281 0.366968 0.360963 0.354411 0.347457 0.340243 0.332905 0.32557 0.318355 0.311368 0.304701 0.298434 0.292635 0.287359 0.282648 0.278537 0.275049 0.272204 0.270016 0.268495 0.267651 0.267493 0.268028 0.269265 0.271215 0.273885 0.277285 0.28142 0.286292 0.291899 0.298231 0.305271 0.312989 0.321347 0.330293 0.339764 0.349683 0.359966 0.370518 0.381236 0.392014 0.402743 0.413314 0.423619 0.433556 0.443025 0.451935 0.460203 0.467744 0.474501 0.480414 0.485196 0.490895 0.167258 0.166213 0.165165 0.164117 0.163068 0.162022 0.160979 0.159943 0.158915 0.157901 0.156905 0.155935 0.155 0.154111 0.153281 0.152526 0.151866 0.151321 0.150917 0.150682 0.150647 0.150846 0.151315 0.152093 0.153219 0.154733 0.15667 0.159057 0.161913 0.165242 0.16903 0.17324 0.177815 0.182673 0.187716 0.192827 0.197884 0.202761 0.207341 0.211519 0.215206 0.218338 0.22087 0.222782 0.224074 0.224767 0.224895 0.224507 0.223661 0.222421 0.220857 0.219038 0.217032 0.214905 0.21272 0.210531 0.20839 0.206341 0.204421 0.202665 0.2011 0.19975 0.198636 0.197776 0.197188 0.196887 0.196892 0.197221 0.197892 0.198928 0.200352 0.20219 0.204471 0.207225 0.210483 0.214275 0.218633 0.223582 0.229146 0.235341 0.242173 0.24964 0.257724 0.266396 0.275609 0.285303 0.295405 0.305827 0.316471 0.327232 0.337999 0.348657 0.359093 0.369195 0.378857 0.387977 0.396457 0.404274 0.41084 0.41962 0.170189 0.169272 0.168348 0.167417 0.166481 0.165539 0.164594 0.163646 0.162696 0.161745 0.160795 0.159849 0.15891 0.15798 0.157064 0.156168 0.155299 0.154462 0.153668 0.152925 0.152244 0.151635 0.151112 0.150685 0.150368 0.150172 0.150108 0.150186 0.150414 0.150799 0.151341 0.15204 0.152889 0.153877 0.154986 0.156194 0.157475 0.158797 0.160127 0.161431 0.162676 0.163829 0.164865 0.165761 0.166501 0.167075 0.167482 0.167723 0.167807 0.167747 0.167558 0.16726 0.166873 0.166416 0.165911 0.165378 0.164834 0.164299 0.163787 0.163314 0.162894 0.16254 0.162263 0.162077 0.161993 0.162024 0.162185 0.16249 0.162956 0.163602 0.164448 0.165519 0.166841 0.168441 0.170353 0.17261 0.175248 0.178305 0.181819 0.185827 0.190363 0.195457 0.201133 0.207404 0.214273 0.221728 0.229745 0.238279 0.247273 0.256651 0.266326 0.276198 0.286157 0.296088 0.305874 0.315397 0.324531 0.333276 0.340798 0.3516 0.172029 0.171215 0.170391 0.169559 0.16872 0.167873 0.167019 0.166159 0.165293 0.164422 0.163547 0.162669 0.161788 0.160907 0.160027 0.15915 0.158279 0.157418 0.156568 0.155735 0.154924 0.154138 0.153383 0.152666 0.15199 0.151363 0.150789 0.150272 0.149819 0.149431 0.149111 0.14886 0.148679 0.148564 0.148513 0.148521 0.14858 0.148682 0.148817 0.148976 0.149147 0.14932 0.149484 0.149629 0.149748 0.149833 0.14988 0.149886 0.149849 0.14977 0.149651 0.149495 0.149307 0.149091 0.148853 0.148598 0.148333 0.148063 0.147795 0.147534 0.147285 0.147055 0.146849 0.146674 0.146536 0.146443 0.146402 0.146424 0.146519 0.146698 0.146976 0.147368 0.147893 0.14857 0.149423 0.150477 0.15176 0.153304 0.155141 0.157308 0.15984 0.162776 0.166152 0.170002 0.174356 0.179238 0.184663 0.190634 0.197143 0.204163 0.211655 0.21956 0.227805 0.236303 0.244952 0.253647 0.262251 0.270791 0.278289 0.289735 0.17315 0.172412 0.171665 0.170909 0.170146 0.169375 0.168596 0.16781 0.167017 0.166217 0.165411 0.1646 0.163784 0.162963 0.16214 0.161314 0.160487 0.159661 0.158837 0.158017 0.157204 0.1564 0.155608 0.15483 0.15407 0.15333 0.152614 0.151925 0.151265 0.150637 0.150044 0.149486 0.148965 0.148482 0.148036 0.147626 0.14725 0.146907 0.146594 0.146306 0.14604 0.145792 0.145557 0.145332 0.145112 0.144894 0.144675 0.144452 0.144222 0.143985 0.14374 0.143485 0.143222 0.14295 0.14267 0.142384 0.142092 0.141795 0.141496 0.141196 0.140896 0.140599 0.140306 0.140021 0.139746 0.139486 0.139243 0.139024 0.138834 0.138679 0.138569 0.138513 0.138521 0.138606 0.138784 0.13907 0.139484 0.140047 0.140783 0.141717 0.142878 0.144296 0.146003 0.148033 0.150419 0.153193 0.156385 0.160022 0.164122 0.168697 0.173747 0.179261 0.185211 0.191557 0.198239 0.20519 0.212298 0.21962 0.226179 0.236819 0.173803 0.173118 0.172426 0.171727 0.17102 0.170306 0.169585 0.168856 0.168121 0.167378 0.16663 0.165875 0.165115 0.164349 0.163578 0.162804 0.162026 0.161246 0.160464 0.159682 0.158901 0.158122 0.157347 0.156577 0.155815 0.155061 0.154318 0.153588 0.152873 0.152174 0.151493 0.150832 0.150192 0.149574 0.148978 0.148406 0.147857 0.147331 0.146828 0.146345 0.145883 0.145439 0.145012 0.1446 0.1442 0.143812 0.143432 0.14306 0.142694 0.142331 0.141971 0.141613 0.141255 0.140896 0.140537 0.140175 0.13981 0.139443 0.139072 0.138698 0.13832 0.137939 0.137555 0.137168 0.13678 0.136392 0.136005 0.135623 0.135248 0.134884 0.134535 0.134206 0.133905 0.133638 0.133414 0.133245 0.133141 0.133116 0.133186 0.133368 0.133682 0.134148 0.13479 0.135633 0.136703 0.138029 0.139639 0.14156 0.143818 0.146437 0.149435 0.152825 0.156612 0.16079 0.165341 0.170237 0.175411 0.180943 0.185996 0.194717 0.174157 0.173509 0.172855 0.172194 0.171527 0.170854 0.170174 0.169488 0.168796 0.168097 0.167392 0.166682 0.165965 0.165244 0.164517 0.163786 0.163051 0.162313 0.161572 0.160828 0.160083 0.159338 0.158594 0.15785 0.15711 0.156372 0.15564 0.154914 0.154196 0.153486 0.152785 0.152097 0.15142 0.150757 0.150107 0.149473 0.148855 0.148252 0.147666 0.147095 0.146541 0.146002 0.145477 0.144967 0.14447 0.143986 0.143512 0.143048 0.142593 0.142146 0.141705 0.141269 0.140836 0.140406 0.139978 0.13955 0.13912 0.138689 0.138255 0.137816 0.137373 0.136924 0.136469 0.136007 0.135539 0.135065 0.134584 0.134099 0.13361 0.133118 0.132627 0.132139 0.131658 0.131188 0.130734 0.130302 0.1299 0.129536 0.129219 0.12896 0.128772 0.128669 0.128667 0.128783 0.129036 0.129445 0.130034 0.130824 0.131838 0.133099 0.134627 0.136441 0.138558 0.140987 0.143732 0.146792 0.150136 0.153847 0.157297 0.163633 0.174332 0.173707 0.173077 0.172441 0.1718 0.171154 0.170502 0.169845 0.169183 0.168515 0.167842 0.167164 0.16648 0.165792 0.165099 0.164402 0.163701 0.162996 0.162288 0.161578 0.160865 0.160151 0.159435 0.15872 0.158005 0.157291 0.15658 0.155871 0.155166 0.154465 0.153771 0.153082 0.152401 0.151729 0.151065 0.150411 0.149768 0.149136 0.148515 0.147906 0.14731 0.146725 0.146152 0.145591 0.145041 0.144502 0.143973 0.143454 0.142944 0.142442 0.141946 0.141456 0.140971 0.14049 0.14001 0.139532 0.139053 0.138573 0.138089 0.137602 0.13711 0.136612 0.136106 0.135592 0.13507 0.134539 0.133999 0.133449 0.132891 0.132324 0.13175 0.131171 0.130587 0.130002 0.129418 0.12884 0.12827 0.127714 0.127179 0.126669 0.126195 0.125763 0.125385 0.125071 0.124835 0.12469 0.124651 0.124736 0.12496 0.125342 0.1259 0.126651 0.127611 0.128795 0.130214 0.131878 0.133774 0.135974 0.138058 0.142152 0.174408 0.173795 0.173178 0.172557 0.171932 0.171303 0.170669 0.17003 0.169387 0.16874 0.168088 0.167432 0.166771 0.166106 0.165437 0.164764 0.164088 0.163408 0.162725 0.16204 0.161352 0.160662 0.159971 0.15928 0.158587 0.157895 0.157204 0.156513 0.155825 0.155139 0.154457 0.153779 0.153105 0.152436 0.151774 0.151118 0.150469 0.149828 0.149196 0.148572 0.147957 0.147351 0.146755 0.146168 0.14559 0.145021 0.144461 0.143909 0.143365 0.142828 0.142297 0.141772 0.141251 0.140733 0.140218 0.139704 0.139189 0.138674 0.138155 0.137633 0.137106 0.136573 0.136032 0.135483 0.134925 0.134357 0.133778 0.133189 0.132589 0.131977 0.131356 0.130724 0.130083 0.129434 0.128779 0.12812 0.127459 0.126799 0.126143 0.125496 0.124862 0.124247 0.123657 0.123099 0.122581 0.122112 0.121702 0.121363 0.121107 0.120946 0.120894 0.120964 0.121171 0.121528 0.122046 0.122738 0.123601 0.124688 0.125751 0.128045 0.174433 0.173826 0.173216 0.172603 0.171986 0.171366 0.170742 0.170114 0.169483 0.168848 0.168209 0.167566 0.16692 0.16627 0.165617 0.164961 0.164301 0.163638 0.162973 0.162305 0.161635 0.160964 0.160291 0.159616 0.158941 0.158266 0.157591 0.156916 0.156243 0.155571 0.154901 0.154233 0.153569 0.152908 0.152252 0.1516 0.150953 0.150312 0.149677 0.149049 0.148427 0.147813 0.147206 0.146606 0.146013 0.145428 0.14485 0.144279 0.143715 0.143156 0.142603 0.142054 0.14151 0.140968 0.140428 0.139889 0.13935 0.13881 0.138267 0.137721 0.137169 0.136612 0.136047 0.135474 0.134892 0.1343 0.133698 0.133084 0.132458 0.131821 0.131171 0.13051 0.129837 0.129154 0.12846 0.127758 0.127048 0.126333 0.125614 0.124893 0.124175 0.123461 0.122756 0.122063 0.12139 0.120739 0.12012 0.119537 0.119 0.118517 0.118097 0.117751 0.117489 0.117321 0.117258 0.11731 0.117481 0.117801 0.118155 0.119135 0.174435 0.173831 0.173224 0.172614 0.172002 0.171386 0.170767 0.170145 0.169519 0.168891 0.168259 0.167625 0.166987 0.166346 0.165702 0.165055 0.164406 0.163754 0.1631 0.162444 0.161786 0.161126 0.160465 0.159803 0.15914 0.158476 0.157813 0.157149 0.156487 0.155825 0.155165 0.154506 0.15385 0.153197 0.152546 0.151899 0.151256 0.150618 0.149984 0.149355 0.148732 0.148114 0.147502 0.146896 0.146296 0.145702 0.145114 0.144532 0.143955 0.143383 0.142816 0.142252 0.141692 0.141134 0.140578 0.140023 0.139467 0.13891 0.13835 0.137786 0.137218 0.136645 0.136064 0.135475 0.134878 0.13427 0.133653 0.133024 0.132383 0.13173 0.131065 0.130387 0.129697 0.128995 0.128282 0.127557 0.126823 0.126079 0.125327 0.12457 0.123807 0.123043 0.122278 0.121515 0.120759 0.120011 0.119277 0.118561 0.117867 0.117201 0.116571 0.115981 0.11544 0.114954 0.114533 0.114183 0.113912 0.113731 0.113619 0.113693 0.174429 0.173826 0.17322 0.172611 0.172 0.171386 0.170769 0.170149 0.169527 0.168901 0.168273 0.167642 0.167009 0.166373 0.165734 0.165093 0.164449 0.163804 0.163156 0.162506 0.161855 0.161202 0.160549 0.159894 0.159238 0.158582 0.157926 0.15727 0.156614 0.15596 0.155306 0.154653 0.154003 0.153355 0.152709 0.152066 0.151426 0.15079 0.150157 0.149529 0.148905 0.148286 0.147672 0.147063 0.146458 0.145859 0.145265 0.144676 0.144091 0.143511 0.142934 0.142361 0.14179 0.141222 0.140654 0.140088 0.13952 0.138952 0.138381 0.137806 0.137227 0.136642 0.13605 0.135451 0.134844 0.134227 0.133599 0.132961 0.132312 0.13165 0.130976 0.13029 0.129591 0.128879 0.128156 0.12742 0.126674 0.125916 0.125149 0.124374 0.12359 0.122801 0.122006 0.121209 0.120411 0.119613 0.11882 0.118033 0.117256 0.116492 0.115745 0.115019 0.11432 0.113652 0.11302 0.112431 0.111891 0.111398 0.110995 0.110478 0.174421 0.173818 0.173212 0.172603 0.171992 0.171378 0.170762 0.170143 0.169521 0.168897 0.16827 0.167641 0.167009 0.166375 0.165739 0.1651 0.16446 0.163817 0.163173 0.162527 0.161879 0.16123 0.16058 0.159929 0.159277 0.158625 0.157973 0.157321 0.156669 0.156018 0.155368 0.154719 0.154072 0.153426 0.152783 0.152142 0.151504 0.150869 0.150237 0.149609 0.148984 0.148364 0.147748 0.147137 0.146529 0.145927 0.145328 0.144734 0.144144 0.143557 0.142974 0.142394 0.141817 0.141241 0.140666 0.140091 0.139516 0.138939 0.13836 0.137778 0.137191 0.136599 0.136 0.135394 0.13478 0.134157 0.133524 0.13288 0.132225 0.131559 0.13088 0.13019 0.129486 0.128771 0.128043 0.127302 0.12655 0.125787 0.125014 0.12423 0.123437 0.122636 0.121829 0.121015 0.120197 0.119376 0.118554 0.117732 0.116912 0.116098 0.11529 0.114492 0.113708 0.112939 0.11219 0.111464 0.110769 0.110091 0.109516 0.108631 0.174413 0.173809 0.173202 0.172593 0.171982 0.171368 0.170751 0.170132 0.169511 0.168887 0.168261 0.167632 0.167001 0.166368 0.165732 0.165094 0.164455 0.163813 0.16317 0.162526 0.161879 0.161232 0.160584 0.159934 0.159284 0.158634 0.157983 0.157333 0.156683 0.156033 0.155384 0.154736 0.15409 0.153445 0.152802 0.152162 0.151524 0.150888 0.150256 0.149627 0.149002 0.14838 0.147762 0.147148 0.146538 0.145932 0.14533 0.144732 0.144137 0.143546 0.142958 0.142373 0.141789 0.141208 0.140627 0.140047 0.139466 0.138883 0.138298 0.13771 0.137118 0.136521 0.135917 0.135307 0.134689 0.134062 0.133425 0.132778 0.13212 0.131451 0.130771 0.130078 0.129373 0.128655 0.127926 0.127184 0.126431 0.125666 0.12489 0.124103 0.123307 0.122503 0.121689 0.120869 0.120043 0.119211 0.118376 0.117537 0.116698 0.115859 0.115021 0.114187 0.113358 0.112537 0.111726 0.110926 0.110145 0.109364 0.108691 0.10759 0.174404 0.1738 0.173193 0.172584 0.171972 0.171357 0.170741 0.170121 0.1695 0.168875 0.168249 0.16762 0.166989 0.166356 0.16572 0.165083 0.164444 0.163802 0.163159 0.162515 0.161869 0.161222 0.160574 0.159925 0.159275 0.158625 0.157975 0.157324 0.156674 0.156024 0.155375 0.154727 0.15408 0.153435 0.152791 0.15215 0.15151 0.150874 0.15024 0.149609 0.148981 0.148357 0.147737 0.14712 0.146507 0.145898 0.145292 0.14469 0.144092 0.143496 0.142904 0.142314 0.141726 0.14114 0.140555 0.13997 0.139384 0.138797 0.138208 0.137615 0.137019 0.136418 0.135811 0.135197 0.134576 0.133946 0.133307 0.132658 0.131999 0.131329 0.130647 0.129954 0.129248 0.128531 0.127801 0.12706 0.126306 0.125541 0.124765 0.123979 0.123182 0.122377 0.121562 0.12074 0.119911 0.119075 0.118234 0.117389 0.116541 0.11569 0.114838 0.113987 0.113137 0.112289 0.111446 0.110608 0.109782 0.108945 0.10822 0.106997 0.174397 0.173792 0.173184 0.172575 0.171962 0.171347 0.17073 0.17011 0.169488 0.168864 0.168237 0.167608 0.166976 0.166343 0.165707 0.16507 0.16443 0.163789 0.163145 0.162501 0.161855 0.161207 0.160559 0.159909 0.159259 0.158608 0.157957 0.157306 0.156655 0.156004 0.155354 0.154704 0.154056 0.153409 0.152764 0.15212 0.151479 0.15084 0.150204 0.149571 0.148941 0.148314 0.14769 0.14707 0.146454 0.145841 0.145232 0.144626 0.144023 0.143424 0.142828 0.142234 0.141642 0.141051 0.140461 0.139872 0.139282 0.138691 0.138098 0.137502 0.136903 0.136298 0.135689 0.135072 0.134449 0.133817 0.133177 0.132527 0.131866 0.131196 0.130513 0.12982 0.129115 0.128398 0.127668 0.126928 0.126175 0.125411 0.124636 0.12385 0.123055 0.122249 0.121435 0.120613 0.119783 0.118947 0.118104 0.117256 0.116404 0.115549 0.114691 0.113831 0.112971 0.112111 0.111252 0.110395 0.109545 0.108679 0.107926 0.106637 0.174389 0.173784 0.173176 0.172566 0.171953 0.171338 0.17072 0.1701 0.169478 0.168853 0.168225 0.167596 0.166964 0.16633 0.165694 0.165056 0.164416 0.163774 0.163131 0.162485 0.161839 0.161191 0.160541 0.159891 0.15924 0.158588 0.157936 0.157283 0.156631 0.155979 0.155327 0.154676 0.154026 0.153377 0.152729 0.152084 0.15144 0.150799 0.15016 0.149524 0.14889 0.14826 0.147633 0.14701 0.14639 0.145773 0.14516 0.14455 0.143944 0.14334 0.14274 0.142142 0.141546 0.140951 0.140357 0.139764 0.13917 0.138576 0.137979 0.13738 0.136777 0.13617 0.135558 0.134939 0.134314 0.13368 0.133039 0.132387 0.131727 0.131055 0.130373 0.129679 0.128974 0.128258 0.127529 0.126789 0.126038 0.125274 0.1245 0.123716 0.122921 0.122117 0.121303 0.120481 0.119652 0.118815 0.117972 0.117123 0.11627 0.115412 0.114551 0.113688 0.112822 0.111956 0.111089 0.110222 0.109361 0.108479 0.107712 0.106387 0.174383 0.173777 0.173169 0.172558 0.171945 0.171329 0.170711 0.170091 0.169468 0.168842 0.168215 0.167585 0.166953 0.166318 0.165682 0.165043 0.164403 0.16376 0.163116 0.16247 0.161823 0.161174 0.160524 0.159873 0.15922 0.158568 0.157914 0.15726 0.156606 0.155953 0.155299 0.154646 0.153994 0.153343 0.152693 0.152045 0.151399 0.150754 0.150112 0.149473 0.148837 0.148203 0.147573 0.146945 0.146322 0.145701 0.145084 0.144471 0.14386 0.143253 0.142648 0.142046 0.141445 0.140847 0.140249 0.139652 0.139055 0.138456 0.137856 0.137254 0.136648 0.136038 0.135423 0.134803 0.134175 0.13354 0.132897 0.132245 0.131583 0.130911 0.130228 0.129534 0.128829 0.128113 0.127385 0.126645 0.125894 0.125131 0.124358 0.123574 0.122779 0.121975 0.121162 0.12034 0.119511 0.118674 0.11783 0.116981 0.116126 0.115267 0.114404 0.113538 0.112669 0.111799 0.110927 0.110054 0.109186 0.108295 0.10752 0.106174 0.174377 0.173771 0.173162 0.172551 0.171937 0.171321 0.170703 0.170082 0.169458 0.168833 0.168204 0.167574 0.166941 0.166307 0.16567 0.165031 0.16439 0.163747 0.163102 0.162455 0.161807 0.161158 0.160507 0.159855 0.159202 0.158548 0.157893 0.157238 0.156582 0.155927 0.155271 0.154617 0.153962 0.153309 0.152657 0.152006 0.151357 0.15071 0.150065 0.149423 0.148783 0.148146 0.147512 0.146881 0.146254 0.14563 0.145009 0.144391 0.143776 0.143165 0.142556 0.14195 0.141345 0.140743 0.140141 0.13954 0.138939 0.138337 0.137734 0.137128 0.136519 0.135906 0.135289 0.134666 0.134036 0.133399 0.132754 0.1321 0.131437 0.130764 0.13008 0.129386 0.12868 0.127963 0.127234 0.126494 0.125743 0.12498 0.124206 0.123421 0.122626 0.121822 0.121008 0.120185 0.119354 0.118516 0.117671 0.11682 0.115964 0.115102 0.114237 0.113368 0.112496 0.111622 0.110746 0.109868 0.108995 0.108098 0.107317 0.105957 0.174371 0.173765 0.173156 0.172544 0.17193 0.171314 0.170695 0.170073 0.16945 0.168824 0.168195 0.167564 0.166931 0.166296 0.165659 0.165019 0.164377 0.163734 0.163089 0.162441 0.161793 0.161142 0.160491 0.159838 0.159183 0.158528 0.157872 0.157216 0.156559 0.155902 0.155245 0.154588 0.153932 0.153276 0.152622 0.151969 0.151317 0.150667 0.15002 0.149374 0.148731 0.148091 0.147454 0.146819 0.146188 0.14556 0.144935 0.144314 0.143695 0.143079 0.142466 0.141856 0.141248 0.140641 0.140035 0.13943 0.138826 0.13822 0.137613 0.137004 0.136392 0.135776 0.135155 0.134529 0.133896 0.133257 0.132609 0.131953 0.131288 0.130613 0.129928 0.129231 0.128524 0.127805 0.127075 0.126333 0.12558 0.124815 0.12404 0.123253 0.122456 0.121649 0.120833 0.120008 0.119175 0.118334 0.117486 0.116632 0.115772 0.114907 0.114038 0.113165 0.112289 0.11141 0.11053 0.109647 0.108768 0.107864 0.107078 0.105706 0.174366 0.173759 0.17315 0.172538 0.171924 0.171307 0.170688 0.170066 0.169442 0.168815 0.168186 0.167555 0.166922 0.166286 0.165648 0.165008 0.164366 0.163722 0.163076 0.162428 0.161779 0.161128 0.160475 0.159821 0.159166 0.15851 0.157853 0.157195 0.156537 0.155878 0.15522 0.154561 0.153903 0.153246 0.152589 0.151934 0.151279 0.150627 0.149977 0.149328 0.148682 0.148039 0.147398 0.14676 0.146125 0.145494 0.144865 0.144239 0.143617 0.142997 0.14238 0.141766 0.141153 0.140542 0.139933 0.139324 0.138715 0.138105 0.137494 0.136881 0.136265 0.135645 0.135021 0.134391 0.133755 0.133112 0.132461 0.131802 0.131133 0.130455 0.129766 0.129067 0.128356 0.127634 0.1269 0.126155 0.125398 0.12463 0.12385 0.12306 0.122259 0.121448 0.120627 0.119798 0.11896 0.118114 0.117261 0.116402 0.115537 0.114666 0.113791 0.112913 0.112031 0.111146 0.110259 0.109369 0.108484 0.107573 0.10678 0.105396 0.174361 0.173754 0.173145 0.172532 0.171918 0.171301 0.170681 0.170059 0.169434 0.168807 0.168178 0.167547 0.166913 0.166277 0.165638 0.164998 0.164355 0.163711 0.163064 0.162416 0.161766 0.161114 0.160461 0.159806 0.15915 0.158493 0.157835 0.157176 0.156516 0.155856 0.155196 0.154536 0.153876 0.153217 0.152558 0.1519 0.151244 0.150589 0.149936 0.149285 0.148636 0.147989 0.147345 0.146704 0.146066 0.14543 0.144798 0.144168 0.143542 0.142918 0.142297 0.141678 0.141061 0.140446 0.139832 0.139218 0.138605 0.13799 0.137375 0.136757 0.136136 0.135511 0.134882 0.134248 0.133607 0.132959 0.132303 0.131638 0.130965 0.130281 0.129587 0.128882 0.128166 0.127438 0.126698 0.125947 0.125184 0.124409 0.123623 0.122826 0.122019 0.121201 0.120373 0.119536 0.118691 0.117838 0.116977 0.11611 0.115238 0.114359 0.113477 0.11259 0.1117 0.110807 0.109912 0.109014 0.10812 0.1072 0.1064 0.105001 0.174357 0.17375 0.17314 0.172527 0.171912 0.171295 0.170675 0.170053 0.169428 0.1688 0.168171 0.167539 0.166905 0.166268 0.165629 0.164988 0.164345 0.1637 0.163053 0.162404 0.161754 0.161101 0.160447 0.159792 0.159135 0.158477 0.157818 0.157158 0.156497 0.155836 0.155174 0.154512 0.153851 0.153189 0.152529 0.151869 0.15121 0.150553 0.149897 0.149243 0.148591 0.147942 0.147295 0.14665 0.146008 0.145369 0.144733 0.144099 0.143469 0.14284 0.142215 0.141591 0.140969 0.140349 0.139729 0.13911 0.138491 0.137871 0.137249 0.136625 0.135998 0.135367 0.134731 0.134089 0.133441 0.132786 0.132122 0.13145 0.130768 0.130076 0.129374 0.12866 0.127935 0.127198 0.12645 0.125689 0.124916 0.124132 0.123336 0.122529 0.121711 0.120883 0.120045 0.119198 0.118342 0.117479 0.116608 0.11573 0.114847 0.113959 0.113066 0.112168 0.111268 0.110365 0.109459 0.108551 0.107647 0.106716 0.105908 0.104492 0.174353 0.173746 0.173136 0.172523 0.171908 0.17129 0.17067 0.170047 0.169422 0.168794 0.168164 0.167532 0.166897 0.16626 0.165621 0.16498 0.164336 0.163691 0.163043 0.162394 0.161743 0.161089 0.160435 0.159778 0.159121 0.158462 0.157802 0.15714 0.156479 0.155816 0.155153 0.15449 0.153826 0.153163 0.152501 0.151839 0.151178 0.150518 0.14986 0.149203 0.148548 0.147895 0.147244 0.146596 0.14595 0.145307 0.144666 0.144028 0.143392 0.142759 0.142128 0.141498 0.14087 0.140243 0.139617 0.138991 0.138364 0.137736 0.137106 0.136473 0.135837 0.135196 0.13455 0.133899 0.13324 0.132574 0.131899 0.131215 0.130521 0.129817 0.129102 0.128375 0.127637 0.126887 0.126125 0.12535 0.124564 0.123766 0.122956 0.122134 0.121302 0.12046 0.119608 0.118747 0.117877 0.117 0.116116 0.115225 0.114328 0.113427 0.112521 0.111611 0.110698 0.109783 0.108866 0.107945 0.10703 0.106088 0.105269 0.103837 0.17435 0.173742 0.173132 0.172519 0.171903 0.171285 0.170665 0.170042 0.169416 0.168789 0.168158 0.167526 0.166891 0.166253 0.165614 0.164972 0.164328 0.163682 0.163034 0.162384 0.161732 0.161078 0.160423 0.159766 0.159107 0.158447 0.157786 0.157124 0.156461 0.155797 0.155132 0.154467 0.153802 0.153137 0.152472 0.151808 0.151144 0.150481 0.14982 0.14916 0.148501 0.147844 0.147189 0.146536 0.145885 0.145237 0.14459 0.143946 0.143303 0.142663 0.142024 0.141387 0.14075 0.140114 0.139478 0.138841 0.138204 0.137564 0.136922 0.136277 0.135627 0.134973 0.134313 0.133646 0.132972 0.13229 0.131598 0.130897 0.130186 0.129464 0.128731 0.127986 0.127229 0.12646 0.125679 0.124886 0.124081 0.123263 0.122435 0.121595 0.120744 0.119884 0.119014 0.118135 0.117249 0.116354 0.115453 0.114546 0.113634 0.112717 0.111797 0.110873 0.109946 0.109017 0.108087 0.107154 0.106227 0.105273 0.104446 0.102998 0.174347 0.173739 0.173129 0.172516 0.1719 0.171282 0.170661 0.170038 0.169412 0.168784 0.168153 0.16752 0.166885 0.166247 0.165607 0.164965 0.16432 0.163674 0.163025 0.162374 0.161722 0.161067 0.160411 0.159752 0.159093 0.158432 0.157769 0.157105 0.15644 0.155774 0.155108 0.15444 0.153773 0.153105 0.152437 0.151769 0.151102 0.150435 0.149769 0.149104 0.14844 0.147778 0.147117 0.146457 0.145799 0.145143 0.144488 0.143834 0.143182 0.142531 0.141881 0.141232 0.140582 0.139933 0.139282 0.138631 0.137977 0.13732 0.136661 0.135997 0.135328 0.134653 0.133972 0.133284 0.132587 0.131882 0.131167 0.130443 0.129707 0.128961 0.128203 0.127433 0.126651 0.125857 0.125051 0.124234 0.123404 0.122563 0.12171 0.120847 0.119975 0.119092 0.118201 0.117301 0.116394 0.115481 0.114561 0.113636 0.112707 0.111774 0.110838 0.109899 0.108959 0.108017 0.107076 0.106133 0.105196 0.104235 0.103402 0.101946 0.174345 0.173737 0.173126 0.172513 0.171897 0.171278 0.170657 0.170033 0.169407 0.168779 0.168148 0.167514 0.166878 0.16624 0.165599 0.164956 0.164311 0.163663 0.163014 0.162362 0.161708 0.161052 0.160394 0.159734 0.159072 0.158409 0.157744 0.157077 0.15641 0.155741 0.15507 0.154399 0.153727 0.153055 0.152382 0.151708 0.151035 0.150362 0.149689 0.149016 0.148343 0.147672 0.147001 0.14633 0.145661 0.144992 0.144324 0.143656 0.142989 0.142321 0.141654 0.140986 0.140318 0.139648 0.138976 0.138301 0.137624 0.136943 0.136257 0.135566 0.13487 0.134167 0.133456 0.132738 0.13201 0.131274 0.130527 0.129771 0.129003 0.128225 0.127434 0.126633 0.125819 0.124994 0.124158 0.12331 0.122451 0.121581 0.120702 0.119812 0.118913 0.118006 0.117091 0.11617 0.115242 0.114308 0.11337 0.112428 0.111483 0.110535 0.109587 0.108637 0.107688 0.10674 0.105793 0.104848 0.103911 0.102951 0.102123 0.10068 0.174343 0.173735 0.173124 0.17251 0.171894 0.171274 0.170653 0.170028 0.169401 0.168772 0.16814 0.167505 0.166868 0.166228 0.165586 0.164941 0.164294 0.163644 0.162992 0.162338 0.161681 0.161022 0.16036 0.159697 0.159031 0.158363 0.157693 0.157021 0.156348 0.155672 0.154995 0.154317 0.153637 0.152956 0.152273 0.15159 0.150906 0.150221 0.149535 0.148849 0.148162 0.147475 0.146787 0.146099 0.145411 0.144722 0.144032 0.143342 0.142651 0.141959 0.141266 0.14057 0.139873 0.139173 0.138469 0.137762 0.13705 0.136334 0.135612 0.134884 0.13415 0.133408 0.132657 0.131899 0.131131 0.130354 0.129568 0.128771 0.127963 0.127145 0.126316 0.125476 0.124626 0.123764 0.122893 0.122011 0.12112 0.12022 0.119311 0.118394 0.117469 0.116538 0.115601 0.11466 0.113714 0.112765 0.111814 0.110861 0.109909 0.108957 0.108007 0.10706 0.106116 0.105177 0.104245 0.103318 0.102404 0.101474 0.100675 0.0992972 0.17434 0.17373 0.173118 0.172503 0.171885 0.171264 0.170641 0.170014 0.169385 0.168753 0.168118 0.167481 0.16684 0.166196 0.16555 0.164901 0.164249 0.163594 0.162936 0.162275 0.161612 0.160946 0.160277 0.159605 0.15893 0.158252 0.157572 0.156889 0.156204 0.155516 0.154826 0.154133 0.153438 0.152741 0.152041 0.15134 0.150636 0.14993 0.149223 0.148514 0.147803 0.14709 0.146376 0.14566 0.144942 0.144222 0.1435 0.142776 0.142049 0.14132 0.140588 0.139853 0.139114 0.138371 0.137623 0.136871 0.136113 0.135349 0.134579 0.133803 0.133019 0.132227 0.131427 0.130619 0.129802 0.128977 0.128142 0.127298 0.126444 0.125582 0.12471 0.123829 0.122939 0.122041 0.121134 0.12022 0.119299 0.118371 0.117437 0.116499 0.115556 0.114611 0.113663 0.112715 0.111767 0.110821 0.109877 0.108938 0.108004 0.107078 0.106159 0.105251 0.104354 0.10347 0.102601 0.101747 0.100915 0.100082 0.0993726 0.0981862 0.174325 0.173712 0.173095 0.172476 0.171853 0.171228 0.170598 0.169966 0.16933 0.168691 0.168048 0.167402 0.166753 0.1661 0.165443 0.164783 0.16412 0.163453 0.162782 0.162108 0.161429 0.160748 0.160062 0.159373 0.15868 0.157984 0.157283 0.156579 0.155872 0.155161 0.154446 0.153727 0.153005 0.15228 0.151551 0.150819 0.150083 0.149344 0.148602 0.147856 0.147107 0.146355 0.1456 0.144841 0.144079 0.143313 0.142544 0.141771 0.140994 0.140213 0.139427 0.138638 0.137843 0.137043 0.136238 0.135427 0.134611 0.133788 0.132959 0.132123 0.13128 0.13043 0.129574 0.12871 0.127839 0.126961 0.126076 0.125184 0.124285 0.12338 0.12247 0.121553 0.120632 0.119706 0.118776 0.117844 0.11691 0.115975 0.115041 0.114108 0.113179 0.112255 0.111338 0.11043 0.109532 0.108646 0.107775 0.106921 0.106086 0.105272 0.104481 0.103716 0.10298 0.102275 0.101603 0.100968 0.100375 0.0998153 0.0993533 0.0986816 0.174252 0.173629 0.173002 0.17237 0.171735 0.171096 0.170452 0.169804 0.169152 0.168496 0.167835 0.16717 0.166501 0.165827 0.165149 0.164466 0.163778 0.163086 0.162389 0.161687 0.160981 0.16027 0.159554 0.158833 0.158107 0.157376 0.15664 0.155899 0.155154 0.154403 0.153647 0.152887 0.152121 0.151351 0.150575 0.149795 0.14901 0.14822 0.147425 0.146626 0.145821 0.145012 0.144198 0.143379 0.142556 0.141728 0.140894 0.140056 0.139213 0.138366 0.137513 0.136655 0.135792 0.134924 0.134051 0.133173 0.132291 0.131403 0.130511 0.129614 0.128713 0.127808 0.126899 0.125986 0.125071 0.124154 0.123235 0.122314 0.121394 0.120474 0.119556 0.118642 0.117732 0.116828 0.115933 0.115048 0.114175 0.113318 0.112478 0.111658 0.110863 0.110094 0.109355 0.10865 0.107982 0.107355 0.106773 0.106238 0.105756 0.105331 0.104965 0.104664 0.104431 0.104271 0.104189 0.104189 0.104271 0.104465 0.104673 0.105345 0.174007 0.173358 0.172705 0.172046 0.171382 0.170713 0.170038 0.169359 0.168673 0.167983 0.167286 0.166584 0.165877 0.165164 0.164445 0.16372 0.162989 0.162253 0.16151 0.160761 0.160007 0.159246 0.158479 0.157706 0.156926 0.156141 0.155349 0.15455 0.153746 0.152935 0.152118 0.151294 0.150465 0.149629 0.148787 0.147938 0.147084 0.146224 0.145358 0.144487 0.143609 0.142727 0.141839 0.140946 0.140049 0.139147 0.13824 0.13733 0.136416 0.1355 0.13458 0.133658 0.132735 0.13181 0.130885 0.129961 0.129037 0.128115 0.127196 0.126282 0.125372 0.124469 0.123573 0.122688 0.121814 0.120953 0.120109 0.119284 0.118481 0.117703 0.116954 0.11624 0.115563 0.114929 0.114344 0.113813 0.113341 0.112935 0.112602 0.112346 0.112175 0.112094 0.11211 0.112228 0.112453 0.112791 0.113245 0.11382 0.114519 0.115345 0.1163 0.117385 0.118601 0.119948 0.121424 0.123032 0.124751 0.126667 0.12837 0.131742 0.173392 0.172699 0.172 0.171294 0.170582 0.169863 0.169137 0.168404 0.167665 0.166919 0.166165 0.165405 0.164637 0.163863 0.163081 0.162293 0.161497 0.160694 0.159883 0.159066 0.158242 0.15741 0.156571 0.155726 0.154873 0.154014 0.153148 0.152276 0.151397 0.150513 0.149622 0.148726 0.147825 0.146918 0.146008 0.145094 0.144176 0.143256 0.142334 0.141411 0.140488 0.139565 0.138645 0.137728 0.136815 0.135909 0.13501 0.134121 0.133243 0.132378 0.13153 0.130699 0.129889 0.129103 0.128344 0.127615 0.12692 0.126263 0.125648 0.12508 0.124565 0.124108 0.123714 0.123392 0.123148 0.122989 0.122924 0.122961 0.12311 0.12338 0.12378 0.12432 0.125009 0.125857 0.126871 0.128061 0.129432 0.13099 0.132739 0.13468 0.136814 0.139138 0.141648 0.144335 0.147191 0.150202 0.153354 0.15663 0.160011 0.163475 0.167003 0.170569 0.174153 0.17773 0.181278 0.184778 0.188192 0.1916 0.194486 0.19929 0.172991 0.17227 0.171543 0.17081 0.170069 0.169323 0.16857 0.167811 0.167046 0.166276 0.1655 0.164719 0.163933 0.163142 0.162348 0.16155 0.160748 0.159945 0.159139 0.158333 0.157526 0.156719 0.155915 0.155112 0.154314 0.153521 0.152734 0.151955 0.151185 0.150427 0.149683 0.148955 0.148244 0.147555 0.146889 0.14625 0.145641 0.145066 0.144528 0.144033 0.143584 0.143187 0.142846 0.142568 0.14236 0.142226 0.142176 0.142215 0.142353 0.142598 0.142958 0.143444 0.144066 0.144834 0.145759 0.146851 0.148124 0.149587 0.151254 0.153134 0.15524 0.157581 0.160168 0.163009 0.166111 0.169479 0.173117 0.177025 0.181201 0.18564 0.190332 0.195265 0.200421 0.20578 0.211315 0.216995 0.222786 0.228648 0.234539 0.240413 0.246222 0.251917 0.257448 0.262768 0.26783 0.272594 0.277022 0.281082 0.284749 0.288007 0.290843 0.293255 0.295246 0.296826 0.298012 0.298817 0.299284 0.299372 0.299294 0.298476 0.191394 0.191494 0.191611 0.191745 0.191897 0.192067 0.192256 0.192464 0.192693 0.192942 0.193214 0.193509 0.193827 0.194172 0.194543 0.194942 0.195371 0.195832 0.196327 0.196858 0.197428 0.198039 0.198693 0.199395 0.200146 0.200952 0.201814 0.202739 0.203729 0.204789 0.205925 0.207141 0.208443 0.209837 0.211328 0.212924 0.214632 0.216458 0.218412 0.2205 0.222733 0.225119 0.227668 0.230392 0.233301 0.236406 0.239722 0.24326 0.247034 0.251059 0.255348 0.259916 0.264779 0.269949 0.275441 0.281267 0.287438 0.293961 0.300841 0.308079 0.31567 0.323602 0.331856 0.340404 0.349209 0.358221 0.36738 0.376615 0.385841 0.394966 0.403885 0.412491 0.420669 0.428307 0.435296 0.441536 0.446937 0.451429 0.454956 0.457487 0.45901 0.459537 0.4591 0.457748 0.455547 0.452574 0.448916 0.444663 0.439906 0.434737 0.42924 0.423498 0.417583 0.41156 0.405491 0.39941 0.393422 0.387291 0.382129 0.373267 0.433353 0.437306 0.441141 0.44485 0.44843 0.451875 0.455182 0.458346 0.461363 0.464229 0.466942 0.469498 0.471894 0.474126 0.476193 0.478092 0.47982 0.481375 0.482756 0.48396 0.484986 0.485831 0.486495 0.486976 0.487273 0.487384 0.487307 0.487041 0.486585 0.485937 0.485096 0.48406 0.482826 0.481394 0.47976 0.477924 0.475884 0.473636 0.471179 0.468512 0.465632 0.462539 0.459231 0.455709 0.451971 0.44802 0.443857 0.439486 0.434911 0.430138 0.425175 0.420033 0.414723 0.409259 0.40366 0.397945 0.392137 0.386262 0.380348 0.374427 0.368533 0.362703 0.356975 0.351388 0.345981 0.340794 0.335864 0.331226 0.32691 0.32294 0.319337 0.31611 0.313261 0.310786 0.308668 0.306883 0.305401 0.304182 0.303183 0.302358 0.301659 0.301039 0.300454 0.299862 0.299229 0.298524 0.297725 0.296815 0.295783 0.294623 0.293335 0.29192 0.290386 0.288738 0.286988 0.285136 0.283227 0.281137 0.279387 0.275963 0.00364507 0.00569812 0.00753446 0.00891688 0.00986629 0.0104634 0.0107743 0.0109747 0.011169 0.0114954 0.0120984 0.0130748 0.0144704 0.0166108 0.0209593 0.0294362 0.0415422 0.0563439 0.0731234 0.0913386 0.110579 0.130541 0.151 0.171789 0.192784 0.213889 0.235035 0.256171 0.27726 0.298275 0.319195 0.340001 0.360671 0.381177 0.401482 0.421543 0.441304 0.460703 0.479671 0.498144 0.516076 0.533457 0.55034 0.566787 0.582497 0.597536 0.611864 0.625428 0.638167 0.650019 0.660926 0.670829 0.679677 0.687422 0.694024 0.699448 0.703666 0.706658 0.708411 0.708921 0.708192 0.706238 0.703081 0.698752 0.693291 0.686742 0.679165 0.670628 0.661211 0.651011 0.640202 0.629241 0.619779 0.612959 0.606641 0.60001 0.592946 0.585479 0.577666 0.569561 0.561218 0.552685 0.544009 0.535234 0.5264 0.517545 0.508704 0.49991 0.491191 0.482575 0.474086 0.465746 0.457577 0.449599 0.441837 0.434314 0.427071 0.42017 0.41392 0.40643 0.0092501 0.0143732 0.0187069 0.0214986 0.023567 0.0254144 0.0273114 0.0295029 0.0325044 0.0368243 0.0428206 0.0506315 0.0602987 0.0719581 0.0859322 0.102537 0.121694 0.143203 0.166978 0.193021 0.221364 0.252013 0.284913 0.31993 0.356863 0.395461 0.435457 0.476594 0.518642 0.561411 0.604746 0.648529 0.692658 0.737045 0.781599 0.826222 0.870799 0.915191 0.959235 1.00274 1.04548 1.08719 1.12757 1.16652 1.20443 1.24127 1.27694 1.31131 1.34422 1.37553 1.40508 1.43273 1.45833 1.48176 1.5029 1.52163 1.53788 1.55156 1.56261 1.57099 1.57668 1.57966 1.57996 1.57761 1.57267 1.5652 1.55529 1.54307 1.52865 1.51219 1.49389 1.47407 1.4532 1.43154 1.40884 1.38507 1.36035 1.33485 1.30874 1.28217 1.25528 1.22819 1.20104 1.17391 1.14692 1.12015 1.09367 1.06755 1.04186 1.01664 0.991937 0.967786 0.944218 0.921254 0.898924 0.8772 0.85621 0.835525 0.816511 0.789659 0.0142783 0.0238285 0.0295273 0.0331554 0.0362435 0.0395147 0.0434773 0.0485939 0.055304 0.0639003 0.07444 0.0868428 0.101098 0.117383 0.136007 0.157289 0.181506 0.208894 0.239629 0.273791 0.311321 0.352017 0.395556 0.441529 0.489495 0.539028 0.589754 0.641368 0.693644 0.746422 0.799596 0.853093 0.906859 0.960845 1.015 1.06925 1.12352 1.17771 1.23172 1.28542 1.33868 1.39137 1.44339 1.49451 1.54453 1.59326 1.64048 1.68597 1.72951 1.77088 1.80988 1.84629 1.87994 1.91066 1.9383 1.9627 1.98377 2.0014 2.01552 2.02609 2.03308 2.0365 2.03637 2.03276 2.02574 2.01543 2.00196 1.98549 1.96618 1.94423 1.91986 1.89331 1.86489 1.83495 1.80366 1.77115 1.73754 1.70302 1.66779 1.63204 1.59596 1.5597 1.52343 1.48729 1.45139 1.41584 1.38075 1.34619 1.31223 1.27894 1.24637 1.21455 1.18351 1.15328 1.12386 1.09525 1.06747 1.04023 1.0144 0.97996 0.0184653 0.0331388 0.0402349 0.0448927 0.0490326 0.0536121 0.0592759 0.0664613 0.0754204 0.0862308 0.0988665 0.113346 0.129851 0.148723 0.170366 0.195146 0.223343 0.255114 0.290478 0.329333 0.371478 0.416644 0.464524 0.514795 0.567144 0.621283 0.676963 0.733977 0.792164 0.851397 0.911579 0.972628 1.03447 1.09701 1.16018 1.22386 1.28793 1.35225 1.41665 1.48096 1.54496 1.60841 1.67103 1.7325 1.79257 1.85097 1.90745 1.96172 2.01351 2.06256 2.10863 2.15147 2.19086 2.22662 2.25856 2.28653 2.31042 2.33012 2.34557 2.35672 2.36358 2.36617 2.36455 2.35881 2.34906 2.33547 2.31819 2.29744 2.27344 2.24641 2.21661 2.18431 2.14981 2.11343 2.07547 2.03614 1.99566 1.95425 1.91213 1.86953 1.82664 1.78367 1.74078 1.69812 1.65585 1.61406 1.57288 1.53239 1.49266 1.45375 1.41572 1.3786 1.34241 1.30718 1.2729 1.23955 1.20714 1.17542 1.14511 1.10574 0.0219373 0.0414806 0.0502133 0.0558404 0.0607744 0.0662256 0.07289 0.0811371 0.0911293 0.102934 0.116637 0.132426 0.150599 0.171505 0.195456 0.222664 0.253231 0.287162 0.324393 0.364832 0.408373 0.454907 0.504315 0.556461 0.611196 0.668355 0.727767 0.789266 0.85269 0.917887 0.984713 1.05302 1.12268 1.19352 1.26537 1.33807 1.4114 1.48513 1.55903 1.63281 1.70618 1.77879 1.85026 1.92022 1.98834 2.05433 2.11786 2.17864 2.23637 2.29074 2.34149 2.38837 2.43113 2.46958 2.50355 2.53287 2.55745 2.5772 2.59207 2.60206 2.6072 2.60754 2.60319 2.59427 2.58096 2.56344 2.54194 2.5167 2.48799 2.45609 2.4213 2.3839 2.34423 2.30261 2.25936 2.21475 2.16903 2.12247 2.07528 2.02772 1.97999 1.9323 1.88481 1.8377 1.79109 1.74511 1.69986 1.65543 1.6119 1.5693 1.5277 1.48712 1.44759 1.4091 1.37165 1.33522 1.29979 1.26514 1.23206 1.18934 0.0247061 0.0486233 0.0587215 0.0650399 0.070453 0.0763756 0.0835509 0.0923428 0.102933 0.115465 0.130121 0.147143 0.16679 0.189286 0.214774 0.243318 0.274921 0.309573 0.347277 0.388069 0.432011 0.479169 0.529588 0.583274 0.640183 0.700222 0.763255 0.829112 0.897605 0.968528 1.04167 1.11679 1.19367 1.27205 1.35167 1.43225 1.51351 1.59512 1.67675 1.75805 1.83864 1.91809 1.99598 2.07187 2.14541 2.21624 2.28404 2.34847 2.40923 2.46601 2.51855 2.5666 2.60992 2.64834 2.68169 2.70986 2.73275 2.75033 2.76258 2.76955 2.7713 2.76794 2.75963 2.74654 2.72889 2.70691 2.68089 2.65111 2.61787 2.58149 2.5423 2.50062 2.45678 2.41114 2.36399 2.31565 2.26638 2.21642 2.16604 2.11544 2.06484 2.01444 1.96438 1.91484 1.86593 1.81777 1.77044 1.72403 1.6786 1.6342 1.59085 1.54858 1.50741 1.46732 1.42832 1.39034 1.35341 1.31727 1.2829 1.23829 0.0270458 0.0543482 0.0653667 0.072071 0.077726 0.0839242 0.091461 0.100733 0.111971 0.125368 0.141123 0.159432 0.18045 0.20427 0.230925 0.260419 0.292762 0.328006 0.366262 0.407694 0.452493 0.500848 0.552909 0.608764 0.668425 0.731825 0.798824 0.869222 0.942773 1.0192 1.09818 1.17941 1.26254 1.34722 1.43308 1.51977 1.6069 1.69407 1.7809 1.86696 1.95182 2.03503 2.11612 2.19467 2.27026 2.34255 2.41119 2.47586 2.53626 2.59212 2.64319 2.68923 2.73006 2.76552 2.7955 2.81991 2.83872 2.85193 2.85958 2.86176 2.85861 2.85027 2.83697 2.81892 2.7964 2.76969 2.7391 2.70497 2.66762 2.62739 2.58464 2.5397 2.49291 2.44461 2.39509 2.34467 2.29358 2.24208 2.19039 2.13872 2.08724 2.03613 1.98553 1.93557 1.88636 1.83798 1.79052 1.74403 1.69856 1.65413 1.61079 1.56852 1.52735 1.48724 1.44819 1.41015 1.37312 1.33683 1.30248 1.25741 0.0295549 0.0587624 0.0701695 0.0769894 0.082793 0.0892836 0.0972935 0.107256 0.119438 0.134046 0.151253 0.171186 0.193915 0.219459 0.247811 0.278977 0.313005 0.350013 0.390185 0.433758 0.480987 0.532111 0.587313 0.64669 0.710244 0.777877 0.849398 0.924539 1.00297 1.08432 1.16819 1.25415 1.34178 1.43064 1.5203 1.61033 1.70028 1.78974 1.87826 1.96542 2.05075 2.13384 2.21421 2.29147 2.3652 2.43507 2.50076 2.56196 2.61841 2.66988 2.71614 2.75702 2.79237 2.82209 2.8461 2.86439 2.87698 2.88391 2.8853 2.88129 2.87207 2.85785 2.83889 2.81548 2.78792 2.75655 2.7217 2.68372 2.64298 2.59982 2.55459 2.50763 2.45926 2.4098 2.35954 2.30874 2.25763 2.20643 2.15533 2.10449 2.05406 2.00418 1.95496 1.90649 1.85885 1.81211 1.76631 1.72149 1.67768 1.6349 1.59316 1.55244 1.51275 1.47405 1.43634 1.39954 1.36369 1.32847 1.29526 1.25108 0.0319682 0.0619472 0.0733161 0.0801307 0.0861724 0.0931827 0.102026 0.113185 0.126975 0.143623 0.163293 0.186078 0.212006 0.241055 0.273194 0.308415 0.34676 0.388334 0.433303 0.481868 0.534235 0.590579 0.651006 0.715535 0.784082 0.856466 0.932415 1.01159 1.09359 1.17798 1.26433 1.35216 1.44101 1.53043 1.61997 1.70919 1.79765 1.88493 1.97062 2.05431 2.1356 2.21408 2.28935 2.36103 2.42876 2.49222 2.55113 2.60524 2.65431 2.69814 2.73659 2.76951 2.79681 2.81845 2.83442 2.84474 2.84949 2.8488 2.84281 2.83175 2.81584 2.79535 2.77059 2.74189 2.70958 2.67403 2.63559 2.59464 2.55152 2.50659 2.46019 2.41262 2.36419 2.31518 2.26583 2.21638 2.167 2.11788 2.06915 2.02094 1.97335 1.92647 1.88036 1.83509 1.7907 1.74723 1.70468 1.66308 1.62244 1.58274 1.54398 1.50615 1.46922 1.43318 1.39798 1.36357 1.32998 1.29685 1.26574 1.22366 0.0340353 0.0639966 0.0750983 0.0820351 0.0886802 0.096806 0.107389 0.121075 0.138341 0.159539 0.184877 0.214408 0.24804 0.285574 0.326772 0.371405 0.419291 0.470314 0.524425 0.581626 0.641942 0.705387 0.771942 0.841529 0.914007 0.989171 1.06675 1.14644 1.22789 1.31072 1.39455 1.47898 1.56361 1.64803 1.73184 1.81466 1.89611 1.97585 2.0535 2.12871 2.20114 2.27043 2.33623 2.39822 2.45607 2.50952 2.5583 2.6022 2.64103 2.67466 2.70294 2.72582 2.74325 2.75522 2.76178 2.76303 2.75909 2.75013 2.73637 2.71806 2.69549 2.66897 2.63883 2.60544 2.56916 2.53035 2.4894 2.44665 2.40246 2.35715 2.31103 2.26439 2.21747 2.17052 2.12372 2.07726 2.03127 1.98586 1.94112 1.89713 1.85394 1.81159 1.7701 1.72949 1.68976 1.65092 1.61294 1.57583 1.53957 1.50413 1.4695 1.43564 1.40252 1.37012 1.33839 1.30728 1.27682 1.24664 1.21837 1.17943 0.035711 0.0651283 0.0760792 0.0837646 0.0920866 0.103162 0.11854 0.139509 0.167027 0.20154 0.242867 0.29031 0.342857 0.399368 0.458821 0.520368 0.583375 0.647426 0.712291 0.777886 0.844226 0.911376 0.979413 1.04839 1.11835 1.18926 1.26105 1.33361 1.40679 1.48039 1.55416 1.62781 1.70107 1.77365 1.84525 1.91558 1.98432 2.05116 2.1158 2.17793 2.23723 2.2934 2.34613 2.39512 2.4401 2.48082 2.51705 2.54861 2.57535 2.59714 2.61391 2.62563 2.63229 2.63394 2.63068 2.62263 2.60997 2.59293 2.57175 2.54674 2.51821 2.4865 2.45197 2.415 2.37596 2.33522 2.29313 2.25004 2.20628 2.16212 2.11785 2.07369 2.02985 1.98649 1.94377 1.9018 1.86064 1.82036 1.781 1.74257 1.70506 1.66847 1.63279 1.59797 1.564 1.53084 1.49845 1.46679 1.43584 1.40554 1.37588 1.3468 1.31827 1.29026 1.26272 1.23559 1.20891 1.18231 1.15743 1.12246 0.0371346 0.0661007 0.0780876 0.0889274 0.10355 0.126377 0.160914 0.208911 0.269806 0.341137 0.419391 0.501229 0.583863 0.665269 0.744164 0.819861 0.892118 0.961012 1.02683 1.08997 1.1509 1.21009 1.268 1.32502 1.38151 1.43775 1.49389 1.55004 1.60621 1.66236 1.71844 1.77432 1.82983 1.88475 1.93884 1.99186 2.04352 2.09355 2.14165 2.18753 2.2309 2.27147 2.30895 2.34306 2.37356 2.40019 2.42277 2.44112 2.45511 2.46465 2.46969 2.47023 2.4663 2.45798 2.4454 2.42874 2.4082 2.38404 2.35655 2.32605 2.29287 2.25737 2.21994 2.18092 2.1407 2.09962 2.05802 2.01621 1.97447 1.93304 1.89214 1.85196 1.81263 1.77426 1.73693 1.7007 1.66557 1.63156 1.59863 1.56675 1.53588 1.50595 1.4769 1.44868 1.42121 1.39444 1.3683 1.34274 1.31771 1.29314 1.269 1.24523 1.2218 1.19866 1.17577 1.15307 1.13062 1.10802 1.08687 1.05647 0.0382201 0.0708238 0.0919471 0.124066 0.175993 0.254351 0.355656 0.471173 0.592011 0.710933 0.823263 0.926639 1.02028 1.10436 1.17955 1.24673 1.30689 1.36102 1.41008 1.45492 1.49636 1.53517 1.57202 1.60748 1.64206 1.6761 1.70995 1.74386 1.77797 1.81232 1.84692 1.88168 1.91649 1.95116 1.98549 2.01923 2.05214 2.08393 2.11432 2.14302 2.16973 2.19418 2.21609 2.23517 2.2512 2.26394 2.27321 2.27885 2.28074 2.27882 2.27306 2.26347 2.25013 2.23313 2.21264 2.18886 2.16202 2.13241 2.10033 2.0661 2.03009 1.99264 1.95412 1.91489 1.87529 1.83564 1.79624 1.75735 1.7192 1.682 1.64588 1.61098 1.57737 1.54511 1.5142 1.48465 1.4564 1.42941 1.40361 1.37892 1.35523 1.33247 1.31053 1.28931 1.26874 1.24871 1.22916 1.21 1.19117 1.1726 1.15424 1.13604 1.11795 1.09992 1.08193 1.06389 1.04587 1.0275 1.01026 0.984809 0.0401107 0.140525 0.238641 0.392782 0.573662 0.757912 0.92874 1.07778 1.20447 1.30951 1.39606 1.46771 1.52747 1.57762 1.61983 1.65544 1.6855 1.71093 1.73253 1.75108 1.76726 1.78166 1.79481 1.80718 1.81919 1.83115 1.84336 1.85601 1.86924 1.88311 1.89761 1.9127 1.92826 1.94414 1.96015 1.97607 1.99166 2.00665 2.02077 2.03375 2.04529 2.05513 2.06299 2.06863 2.0718 2.0723 2.06997 2.06466 2.05627 2.04476 2.03012 2.01239 1.99167 1.96807 1.94179 1.91304 1.88207 1.84918 1.81468 1.7789 1.74218 1.70487 1.6673 1.62981 1.59269 1.55623 1.52068 1.48625 1.45311 1.4214 1.39121 1.36261 1.33561 1.3102 1.28636 1.26401 1.24308 1.22347 1.20507 1.18776 1.17141 1.15591 1.14114 1.12697 1.11329 1.10001 1.08703 1.07425 1.0616 1.04902 1.03643 1.02378 1.01103 0.998118 0.985019 0.971665 0.958111 0.944017 0.930687 0.910351 0.0904224 0.547603 0.984307 1.30812 1.51897 1.6446 1.71556 1.7558 1.77961 1.79613 1.80947 1.82095 1.83074 1.83878 1.84508 1.84978 1.85304 1.85502 1.85585 1.85564 1.85454 1.85271 1.85037 1.84777 1.84514 1.84272 1.8407 1.83924 1.83841 1.83828 1.83882 1.83999 1.84171 1.84387 1.84631 1.84885 1.8513 1.85344 1.85502 1.8558 1.85554 1.854 1.85093 1.84612 1.83936 1.83049 1.81935 1.80585 1.78991 1.77152 1.7507 1.7275 1.70205 1.67449 1.64503 1.61389 1.58134 1.54767 1.51318 1.47819 1.44303 1.408 1.37342 1.33956 1.30668 1.27502 1.24475 1.21604 1.189 1.16371 1.1402 1.11849 1.09853 1.08029 1.06369 1.04862 1.03496 1.02261 1.01141 1.00124 0.991945 0.983389 0.975437 0.967959 0.960831 0.95394 0.94718 0.940457 0.933684 0.926786 0.919695 0.912352 0.904705 0.896705 0.888319 0.879486 0.870249 0.860315 0.850764 0.835513 ) ; boundaryField { outlet { type zeroGradient; } inlet { type fixedValue; value uniform 0.2; } lowerWall { type kqRWallFunction; value nonuniform List<scalar> 148 ( 0.226697 0.279347 0.331744 0.382734 0.43093 0.475126 0.51442 0.54829 0.576587 0.599476 0.617344 0.630716 0.64018 0.64634 0.649768 0.650989 0.650466 0.648594 0.645709 0.642084 0.637945 0.633472 0.628806 0.624061 0.619321 0.614654 0.610107 0.605726 0.601498 0.597637 0.593201 0.592919 0.573722 0.00364507 0.0092501 0.0142783 0.0184653 0.0219373 0.0247061 0.0270458 0.0295549 0.0319682 0.0340353 0.035711 0.0371346 0.0382201 0.0401107 0.0904224 0.00364507 0.00569812 0.00753446 0.00891688 0.00986629 0.0104634 0.0107743 0.0109747 0.011169 0.0114954 0.0120984 0.0130748 0.0144704 0.0166108 0.0209593 0.0294362 0.0415422 0.0563439 0.0731234 0.0913386 0.110579 0.130541 0.151 0.171789 0.192784 0.213889 0.235035 0.256171 0.27726 0.298275 0.319195 0.340001 0.360671 0.381177 0.401482 0.421543 0.441304 0.460703 0.479671 0.498144 0.516076 0.533457 0.55034 0.566787 0.582497 0.597536 0.611864 0.625428 0.638167 0.650019 0.660926 0.670829 0.679677 0.687422 0.694024 0.699448 0.703666 0.706658 0.708411 0.708921 0.708192 0.706238 0.703081 0.698752 0.693291 0.686742 0.679165 0.670628 0.661211 0.651011 0.640202 0.629241 0.619779 0.612959 0.606641 0.60001 0.592946 0.585479 0.577666 0.569561 0.561218 0.552685 0.544009 0.535234 0.5264 0.517545 0.508704 0.49991 0.491191 0.482575 0.474086 0.465746 0.457577 0.449599 0.441837 0.434314 0.427071 0.42017 0.41392 0.40643 ) ; } upperWall { type kqRWallFunction; value nonuniform List<scalar> 133 ( 0.205424 0.216593 0.227629 0.238434 0.248976 0.259243 0.269229 0.278926 0.288326 0.297424 0.306216 0.314701 0.322877 0.330747 0.338313 0.345577 0.352546 0.359225 0.365619 0.371736 0.377584 0.383171 0.388503 0.393591 0.398442 0.403065 0.407469 0.411661 0.415651 0.419447 0.423057 0.426489 0.429753 0.433353 0.437306 0.441141 0.44485 0.44843 0.451875 0.455182 0.458346 0.461363 0.464229 0.466942 0.469498 0.471894 0.474126 0.476193 0.478092 0.47982 0.481375 0.482756 0.48396 0.484986 0.485831 0.486495 0.486976 0.487273 0.487384 0.487307 0.487041 0.486585 0.485937 0.485096 0.48406 0.482826 0.481394 0.47976 0.477924 0.475884 0.473636 0.471179 0.468512 0.465632 0.462539 0.459231 0.455709 0.451971 0.44802 0.443857 0.439486 0.434911 0.430138 0.425175 0.420033 0.414723 0.409259 0.40366 0.397945 0.392137 0.386262 0.380348 0.374427 0.368533 0.362703 0.356975 0.351388 0.345981 0.340794 0.335864 0.331226 0.32691 0.32294 0.319337 0.31611 0.313261 0.310786 0.308668 0.306883 0.305401 0.304182 0.303183 0.302358 0.301659 0.301039 0.300454 0.299862 0.299229 0.298524 0.297725 0.296815 0.295783 0.294623 0.293335 0.29192 0.290386 0.288738 0.286988 0.285136 0.283227 0.281137 0.279387 0.275963 ) ; } frontAndBack { type empty; } } // ************************************************************************* //
[ "brent.shambaugh@gmail.com" ]
brent.shambaugh@gmail.com
72352483392370568666dea84e16a13aa034fd07
35bdc683f37efaa5cb760b05be4c0121ff3e83c5
/the_function_path.cpp
b23af84f284373a147cbf3b9fb5257375db1c285
[]
no_license
zzzsss/two_b
8ff12c9dcee353d8e8b834bb72d3263779e0e69f
4cdc2bb0b03e9a29502b6abe949d7f123411cc41
refs/heads/master
2016-09-06T05:14:19.972818
2014-03-04T11:20:32
2014-03-04T11:20:32
null
0
0
null
null
null
null
GB18030
C++
false
false
5,617
cpp
#include "the_tree.h" #include "the_FindPath.h" #include <iostream> #include <vector> using std::vector; using std::cout; int search_extend = 5; void cvThin (IplImage* src, IplImage* dst, int iterations=1); void getpath_mouse1(int mouseevent, int x, int y, int flags, void* param); CvRect get_block(CvPoint a,IplImage *b,int r=10); int has_white(IplImage *p,CvPoint c,int extend){ CvRect r=get_block(c,p,extend); for(int i=r.x;i<r.x+r.width;i++) for(int j=r.y;j<r.y+r.height;j++) if(unsigned char(p->imageData[j * p->widthStep + i]) > (0xff-10)) return 1; return 0; } bool has_plenty_white(IplImage *p,CvPoint a,CvPoint b,int extend,int numbers) { int k=1; CvPoint temp; for(int i=1;i<numbers;i++){ temp.x = i/double(numbers) * a.x + (numbers-i)/double(numbers) * b.x; temp.y = i/double(numbers) * a.y + (numbers-i)/double(numbers) * b.y; k = k * has_white(p,temp,extend); } return k; } bool has_no_wall(IplImage *p,CvPoint a,CvPoint b,int extend,int numbers) { CvPoint temp; for(int i=1;i<numbers;i++){ temp.x = i/double(numbers) * a.x + (numbers-i)/double(numbers) * b.x; temp.y = i/double(numbers) * a.y + (numbers-i)/double(numbers) * b.y; if(has_white(p,temp,extend)) return 0; } return 1; } //keys: //1.cvGoodFeaturesToTrack的数量和最小距离 //2.合并时的角度 void figure_out_p_path(IplImage * p,the_tree * t,IplImage *help) { IplImage * p_copy_1 = cvCreateImage(cvSize(p->width,p->height),8,1); cvCopyImage(p,p_copy_1); cvInRangeS(p_copy_1,CV_RGB(0,0,0),CV_RGB(128,128,128),p); cvReleaseImage(&p_copy_1); //cvSaveImage("image_before.jpg",p); for(int j=0;j<100;++j){ //细化 cvThin(p,p); } cvSaveImage("image_fat.jpg",p); cvShowImage("win3",p); cout << "细化路径,any key to continue...\n"; cvWaitKey(); path::GetPath("image_fat.jpg","image_thin.jpg"); p = cvLoadImage("image_thin.jpg",0); IplImage * p_copy = cvCreateImage(cvSize(p->width,p->height),8,1); cvCopyImage(p,p_copy); IplImage * temp1=cvCreateImage(cvSize(p->width,p->height),IPL_DEPTH_32F,1); IplImage * temp2=cvCreateImage(cvSize(p->width,p->height),IPL_DEPTH_32F,1); int corner_num = 40; int min_distance=20; CvPoint2D32f* corners = new CvPoint2D32f[corner_num]; cvGoodFeaturesToTrack(p,temp1,temp2,corners,&corner_num,0.01,min_distance); vector<CvPoint> point_v; for(int i=0;i<corner_num;i++){ cvCircle(p,cvPoint(corners[i].x,corners[i].y),10,cvScalarAll(128)); point_v.push_back(cvPoint(corners[i].x,corners[i].y)); } //trackerbar to adjust cout << "Find corners,Space to continue...\n"; cvCreateTrackbar("corner_num","win3",&corner_num,50); cvCreateTrackbar("min_distance","win3",&min_distance,100); while(1){ cvShowImage("win3", p); cout << "Enter to get another,Space to quit...\n"; char a=cvWaitKey(); if(a==' ') break; cvCopyImage(p_copy,p); delete []corners; int corner_num_temp = corner_num; corners = new CvPoint2D32f[corner_num]; cvGoodFeaturesToTrack(p,temp1,temp2,corners,&corner_num_temp,0.01,min_distance); point_v.clear(); for(int i=0;i<corner_num_temp;i++){ cvCircle(p,cvPoint(corners[i].x,corners[i].y),10,cvScalarAll(128)); point_v.push_back(cvPoint(corners[i].x,corners[i].y)); } } //定义起点 CvPoint begin; CvPoint end; cout << "左键单击,定义起点(win3)...\n"; cvSetMouseCallback("win3",getpath_mouse1,&begin); cvWaitKey(); cout << "左键单击,定义终点(win3)...\n"; cvSetMouseCallback("win3",getpath_mouse1,&end); cvWaitKey(); //corners顺序 vector<CvPoint> point_order; while(!point_v.empty()){ vector<CvPoint>::iterator max=point_v.end(); for(vector<CvPoint>::iterator n=point_v.begin();n!=point_v.end();n++) if(has_no_wall(help,begin,*n,search_extend,1000)) if(max == point_v.end() || distance(begin,*n)<=distance(begin,*max)) max = n; point_order.push_back(*max); begin = *max; point_v.erase(max); } //合并corners //at least two points in point_order vector<CvPoint> point_few; CvPoint temp; CvPoint v0 = point_order.back(); point_order.pop_back(); CvPoint v1 = point_order.back(); point_order.pop_back(); point_few.push_back(v0); point_few.push_back(v1); while(!point_order.empty()){ temp=point_order.back(); point_order.pop_back(); if(abs(get_vector_angle(v1,v0,temp,v1)) < 10){ point_few.pop_back(); point_few.push_back(temp); v1 = temp; } else{ v0=v1; v1=temp; point_few.push_back(temp); } } vector<CvPoint> point_finish; int the_few_num = point_few.size(); for(int i=0;i<the_few_num;i++){ point_finish.push_back(point_few.back()); point_few.pop_back(); } //再次进一步合并 for(vector<CvPoint>::iterator m=point_finish.begin();;){ if(m==point_finish.end()) break; m++; vector<CvPoint>::iterator temp = m; m--; if(temp==point_finish.end()) break; if(is_near_point(*m,*temp,30)){ m->x = (m->x+temp->x)/2; m->y = (m->y+temp->y)/2; temp=point_finish.erase(temp); } else m++; } //存入树中 t->insert(end,-1); for(vector<CvPoint>::iterator m=point_finish.end()-1;m!=point_finish.begin();m--){ t->insert(*m,-1); } t->insert(point_finish.front(),-1); } void show_path_point(the_node * n,IplImage * p) { cvCircle(p,n->position,5,cvScalarAll(0xff)); cvShowImage("win4",p); } void show_path_b_point(the_node * n,IplImage * p) { cvCircle(p,n->position,5,cvScalarAll(0)); //cvShowImage("win4",p); }
[ "zero.zones.zzs@gmail.com" ]
zero.zones.zzs@gmail.com
82a63db78aef92d7119bcdb3443381dca331bf45
31b846877e39e6b8e1eedb9fcaed8cf97192b786
/cocos2d-js-client/frameworks/js-bindings/bindings/auto/jsb_cocos2dx_ui_auto.cpp
6105a7057fb0c04a372a0ad8b2752de7045ac56a
[]
no_license
kbengine/kbengine_cocos2d_js_demo
e25d80dc70bb19ed4b937b941f0b9e0790666e7e
7841926a37ba8288978838d12dad5ca03d4bf304
refs/heads/master
2023-08-16T00:46:12.099634
2020-07-18T02:33:30
2020-07-18T02:33:30
32,706,213
77
83
null
2019-05-05T02:18:44
2015-03-23T02:11:25
C++
UTF-8
C++
false
false
698,059
cpp
#include "jsb_cocos2dx_ui_auto.hpp" #include "cocos2d_specifics.hpp" #include "CocosGUI.h" template<class T> static bool dummy_constructor(JSContext *cx, uint32_t argc, jsval *vp) { JS::RootedValue initializing(cx); bool isNewValid = true; JSObject* global = ScriptingCore::getInstance()->getGlobalObject(); isNewValid = JS_GetProperty(cx, global, "initializing", &initializing) && JSVAL_TO_BOOLEAN(initializing); if (isNewValid) { TypeTest<T> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *_tmp = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(_tmp)); return true; } JS_ReportError(cx, "Constructor for the requested class is not available, please refer to the API reference."); return false; } static bool empty_constructor(JSContext *cx, uint32_t argc, jsval *vp) { return false; } static bool js_is_native_obj(JSContext *cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp) { vp.set(BOOLEAN_TO_JSVAL(true)); return true; } JSClass *jsb_cocos2d_ui_LayoutParameter_class; JSObject *jsb_cocos2d_ui_LayoutParameter_prototype; bool js_cocos2dx_ui_LayoutParameter_clone(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutParameter* cobj = (cocos2d::ui::LayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutParameter_clone : Invalid Native Object"); if (argc == 0) { cocos2d::ui::LayoutParameter* ret = cobj->clone(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutParameter>(cx, (cocos2d::ui::LayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutParameter_clone : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutParameter_getLayoutType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutParameter* cobj = (cocos2d::ui::LayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutParameter_getLayoutType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getLayoutType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutParameter_getLayoutType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutParameter_createCloneInstance(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutParameter* cobj = (cocos2d::ui::LayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutParameter_createCloneInstance : Invalid Native Object"); if (argc == 0) { cocos2d::ui::LayoutParameter* ret = cobj->createCloneInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutParameter>(cx, (cocos2d::ui::LayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutParameter_createCloneInstance : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutParameter_copyProperties(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutParameter* cobj = (cocos2d::ui::LayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutParameter_copyProperties : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LayoutParameter* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::LayoutParameter*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutParameter_copyProperties : Error processing arguments"); cobj->copyProperties(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutParameter_copyProperties : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::LayoutParameter* ret = cocos2d::ui::LayoutParameter::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutParameter>(cx, (cocos2d::ui::LayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutParameter_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::LayoutParameter* cobj = new (std::nothrow) cocos2d::ui::LayoutParameter(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::LayoutParameter> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LayoutParameter"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } void js_cocos2d_ui_LayoutParameter_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (LayoutParameter)", obj); } void js_register_cocos2dx_ui_LayoutParameter(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_LayoutParameter_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_LayoutParameter_class->name = "LayoutParameter"; jsb_cocos2d_ui_LayoutParameter_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_LayoutParameter_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_LayoutParameter_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_LayoutParameter_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_LayoutParameter_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_LayoutParameter_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_LayoutParameter_class->convert = JS_ConvertStub; jsb_cocos2d_ui_LayoutParameter_class->finalize = js_cocos2d_ui_LayoutParameter_finalize; jsb_cocos2d_ui_LayoutParameter_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("clone", js_cocos2dx_ui_LayoutParameter_clone, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLayoutType", js_cocos2dx_ui_LayoutParameter_getLayoutType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createCloneInstance", js_cocos2dx_ui_LayoutParameter_createCloneInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("copyProperties", js_cocos2dx_ui_LayoutParameter_copyProperties, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_LayoutParameter_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_LayoutParameter_prototype = JS_InitClass( cx, global, NULL, // parent proto jsb_cocos2d_ui_LayoutParameter_class, js_cocos2dx_ui_LayoutParameter_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "LayoutParameter", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::LayoutParameter> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_LayoutParameter_class; p->proto = jsb_cocos2d_ui_LayoutParameter_prototype; p->parentProto = NULL; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_LinearLayoutParameter_class; JSObject *jsb_cocos2d_ui_LinearLayoutParameter_prototype; bool js_cocos2dx_ui_LinearLayoutParameter_setGravity(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LinearLayoutParameter* cobj = (cocos2d::ui::LinearLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LinearLayoutParameter_setGravity : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LinearLayoutParameter::LinearGravity arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LinearLayoutParameter_setGravity : Error processing arguments"); cobj->setGravity(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LinearLayoutParameter_setGravity : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LinearLayoutParameter_getGravity(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LinearLayoutParameter* cobj = (cocos2d::ui::LinearLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LinearLayoutParameter_getGravity : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getGravity(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LinearLayoutParameter_getGravity : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LinearLayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::LinearLayoutParameter* ret = cocos2d::ui::LinearLayoutParameter::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LinearLayoutParameter>(cx, (cocos2d::ui::LinearLayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LinearLayoutParameter_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LinearLayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::LinearLayoutParameter* cobj = new (std::nothrow) cocos2d::ui::LinearLayoutParameter(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::LinearLayoutParameter> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LinearLayoutParameter"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_LayoutParameter_prototype; void js_cocos2d_ui_LinearLayoutParameter_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (LinearLayoutParameter)", obj); } void js_register_cocos2dx_ui_LinearLayoutParameter(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_LinearLayoutParameter_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_LinearLayoutParameter_class->name = "LinearLayoutParameter"; jsb_cocos2d_ui_LinearLayoutParameter_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_LinearLayoutParameter_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_LinearLayoutParameter_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_LinearLayoutParameter_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_LinearLayoutParameter_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_LinearLayoutParameter_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_LinearLayoutParameter_class->convert = JS_ConvertStub; jsb_cocos2d_ui_LinearLayoutParameter_class->finalize = js_cocos2d_ui_LinearLayoutParameter_finalize; jsb_cocos2d_ui_LinearLayoutParameter_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setGravity", js_cocos2dx_ui_LinearLayoutParameter_setGravity, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getGravity", js_cocos2dx_ui_LinearLayoutParameter_getGravity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_LinearLayoutParameter_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_LinearLayoutParameter_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_LayoutParameter_prototype, jsb_cocos2d_ui_LinearLayoutParameter_class, js_cocos2dx_ui_LinearLayoutParameter_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "LinearLayoutParameter", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::LinearLayoutParameter> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_LinearLayoutParameter_class; p->proto = jsb_cocos2d_ui_LinearLayoutParameter_prototype; p->parentProto = jsb_cocos2d_ui_LayoutParameter_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RelativeLayoutParameter_class; JSObject *jsb_cocos2d_ui_RelativeLayoutParameter_prototype; bool js_cocos2dx_ui_RelativeLayoutParameter_setAlign(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setAlign : Invalid Native Object"); if (argc == 1) { cocos2d::ui::RelativeLayoutParameter::RelativeAlign arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setAlign : Error processing arguments"); cobj->setAlign(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_setAlign : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName : Error processing arguments"); cobj->setRelativeToWidgetName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_getRelativeName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_getRelativeName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getRelativeName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_getRelativeName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getRelativeToWidgetName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName : Error processing arguments"); cobj->setRelativeName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_getAlign(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeLayoutParameter* cobj = (cocos2d::ui::RelativeLayoutParameter *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeLayoutParameter_getAlign : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getAlign(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_getAlign : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::RelativeLayoutParameter* ret = cocos2d::ui::RelativeLayoutParameter::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RelativeLayoutParameter>(cx, (cocos2d::ui::RelativeLayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeLayoutParameter_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RelativeLayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RelativeLayoutParameter* cobj = new (std::nothrow) cocos2d::ui::RelativeLayoutParameter(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RelativeLayoutParameter> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RelativeLayoutParameter"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_LayoutParameter_prototype; void js_cocos2d_ui_RelativeLayoutParameter_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RelativeLayoutParameter)", obj); } void js_register_cocos2dx_ui_RelativeLayoutParameter(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RelativeLayoutParameter_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RelativeLayoutParameter_class->name = "RelativeLayoutParameter"; jsb_cocos2d_ui_RelativeLayoutParameter_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RelativeLayoutParameter_class->finalize = js_cocos2d_ui_RelativeLayoutParameter_finalize; jsb_cocos2d_ui_RelativeLayoutParameter_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setAlign", js_cocos2dx_ui_RelativeLayoutParameter_setAlign, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setRelativeToWidgetName", js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getRelativeName", js_cocos2dx_ui_RelativeLayoutParameter_getRelativeName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getRelativeToWidgetName", js_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setRelativeName", js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAlign", js_cocos2dx_ui_RelativeLayoutParameter_getAlign, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RelativeLayoutParameter_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RelativeLayoutParameter_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_LayoutParameter_prototype, jsb_cocos2d_ui_RelativeLayoutParameter_class, js_cocos2dx_ui_RelativeLayoutParameter_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RelativeLayoutParameter", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RelativeLayoutParameter> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RelativeLayoutParameter_class; p->proto = jsb_cocos2d_ui_RelativeLayoutParameter_prototype; p->parentProto = jsb_cocos2d_ui_LayoutParameter_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Widget_class; JSObject *jsb_cocos2d_ui_Widget_prototype; bool js_cocos2dx_ui_Widget_setLayoutComponentEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setLayoutComponentEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setLayoutComponentEnabled : Error processing arguments"); cobj->setLayoutComponentEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setLayoutComponentEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setSizePercent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setSizePercent : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setSizePercent : Error processing arguments"); cobj->setSizePercent(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setSizePercent : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getCustomSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getCustomSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getCustomSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getCustomSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getLeftBoundary(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getLeftBoundary : Invalid Native Object"); if (argc == 0) { double ret = cobj->getLeftBoundary(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getLeftBoundary : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setFlippedX(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setFlippedX : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setFlippedX : Error processing arguments"); cobj->setFlippedX(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setFlippedX : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setCallbackName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setCallbackName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setCallbackName : Error processing arguments"); cobj->setCallbackName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setCallbackName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getVirtualRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getVirtualRenderer : Invalid Native Object"); if (argc == 0) { cocos2d::Node* ret = cobj->getVirtualRenderer(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Node>(cx, (cocos2d::Node*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getVirtualRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setPropagateTouchEvents(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setPropagateTouchEvents : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setPropagateTouchEvents : Error processing arguments"); cobj->setPropagateTouchEvents(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setPropagateTouchEvents : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isUnifySizeEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isUnifySizeEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isUnifySizeEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isUnifySizeEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getSizePercent(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getSizePercent : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getSizePercent(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getSizePercent : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setPositionPercent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setPositionPercent : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setPositionPercent : Error processing arguments"); cobj->setPositionPercent(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setPositionPercent : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setSwallowTouches(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setSwallowTouches : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setSwallowTouches : Error processing arguments"); cobj->setSwallowTouches(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setSwallowTouches : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getLayoutSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getLayoutSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getLayoutSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getLayoutSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setHighlighted(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setHighlighted : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setHighlighted : Error processing arguments"); cobj->setHighlighted(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setHighlighted : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setPositionType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setPositionType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget::PositionType arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setPositionType : Error processing arguments"); cobj->setPositionType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setPositionType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isIgnoreContentAdaptWithSize(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getVirtualRendererSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getVirtualRendererSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getVirtualRendererSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getVirtualRendererSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isHighlighted(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isHighlighted : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isHighlighted(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isHighlighted : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getLayoutParameter : Invalid Native Object"); if (argc == 0) { cocos2d::ui::LayoutParameter* ret = cobj->getLayoutParameter(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutParameter>(cx, (cocos2d::ui::LayoutParameter*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getLayoutParameter : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_addCCSEventListener(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_addCCSEventListener : Invalid Native Object"); if (argc == 1) { std::function<void (cocos2d::Ref *, int)> arg0; do { if(JS_TypeOfValue(cx, argv[0]) == JSTYPE_FUNCTION) { std::shared_ptr<JSFunctionWrapper> func(new JSFunctionWrapper(cx, JS_THIS_OBJECT(cx, vp), argv[0])); auto lambda = [=](cocos2d::Ref* larg0, int larg1) -> void { JSB_AUTOCOMPARTMENT_WITH_GLOBAL_OBJCET jsval largv[2]; do { if (larg0) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)larg0); largv[0] = OBJECT_TO_JSVAL(jsProxy->obj); } else { largv[0] = JSVAL_NULL; } } while (0); largv[1] = int32_to_jsval(cx, larg1); jsval rval; bool ok = func->invoke(2, &largv[0], rval); if (!ok && JS_IsExceptionPending(cx)) { JS_ReportPendingException(cx); } }; arg0 = lambda; } else { arg0 = nullptr; } } while(0) ; JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_addCCSEventListener : Error processing arguments"); cobj->addCCSEventListener(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_addCCSEventListener : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getPositionType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getPositionType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getPositionType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getPositionType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getTopBoundary(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getTopBoundary : Invalid Native Object"); if (argc == 0) { double ret = cobj->getTopBoundary(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getTopBoundary : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize : Error processing arguments"); cobj->ignoreContentAdaptWithSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_findNextFocusedWidget(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_findNextFocusedWidget : Invalid Native Object"); if (argc == 2) { cocos2d::ui::Widget::FocusDirection arg0; cocos2d::ui::Widget* arg1; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_findNextFocusedWidget : Error processing arguments"); cocos2d::ui::Widget* ret = cobj->findNextFocusedWidget(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_findNextFocusedWidget : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_Widget_isEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isFocused(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isFocused : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFocused(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isFocused : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getTouchBeganPosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getTouchBeganPosition : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getTouchBeganPosition(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getTouchBeganPosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isTouchEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isTouchEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isTouchEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isTouchEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getCallbackName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getCallbackName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getCallbackName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getCallbackName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getActionTag(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getActionTag : Invalid Native Object"); if (argc == 0) { int ret = cobj->getActionTag(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getActionTag : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getWorldPosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getWorldPosition : Invalid Native Object"); if (argc == 0) { cocos2d::Vec2 ret = cobj->getWorldPosition(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getWorldPosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isFocusEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isFocusEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFocusEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isFocusEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setFocused(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setFocused : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setFocused : Error processing arguments"); cobj->setFocused(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setFocused : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setActionTag(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setActionTag : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setActionTag : Error processing arguments"); cobj->setActionTag(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setActionTag : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setTouchEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setTouchEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setTouchEnabled : Error processing arguments"); cobj->setTouchEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setTouchEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setFlippedY(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setFlippedY : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setFlippedY : Error processing arguments"); cobj->setFlippedY(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setFlippedY : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_init(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_init : Invalid Native Object"); if (argc == 0) { bool ret = cobj->init(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_init : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setEnabled : Error processing arguments"); cobj->setEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getRightBoundary(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getRightBoundary : Invalid Native Object"); if (argc == 0) { double ret = cobj->getRightBoundary(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getRightBoundary : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setBrightStyle(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setBrightStyle : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget::BrightStyle arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setBrightStyle : Error processing arguments"); cobj->setBrightStyle(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setBrightStyle : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setLayoutParameter : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LayoutParameter* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::LayoutParameter*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setLayoutParameter : Error processing arguments"); cobj->setLayoutParameter(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setLayoutParameter : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_clone(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_clone : Invalid Native Object"); if (argc == 0) { cocos2d::ui::Widget* ret = cobj->clone(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_clone : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_setFocusEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setFocusEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setFocusEnabled : Error processing arguments"); cobj->setFocusEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setFocusEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_getBottomBoundary(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getBottomBoundary : Invalid Native Object"); if (argc == 0) { double ret = cobj->getBottomBoundary(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getBottomBoundary : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isBright(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isBright : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isBright(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isBright : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_dispatchFocusEvent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_dispatchFocusEvent : Invalid Native Object"); if (argc == 2) { cocos2d::ui::Widget* arg0; cocos2d::ui::Widget* arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_dispatchFocusEvent : Error processing arguments"); cobj->dispatchFocusEvent(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_dispatchFocusEvent : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_Widget_setUnifySizeEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setUnifySizeEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setUnifySizeEnabled : Error processing arguments"); cobj->setUnifySizeEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setUnifySizeEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isPropagateTouchEvents(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isPropagateTouchEvents : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPropagateTouchEvents(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isPropagateTouchEvents : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getCurrentFocusedWidget(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getCurrentFocusedWidget : Invalid Native Object"); if (argc == 0) { cocos2d::ui::Widget* ret = cobj->getCurrentFocusedWidget(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getCurrentFocusedWidget : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_hitTest(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_hitTest : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_hitTest : Error processing arguments"); bool ret = cobj->hitTest(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_hitTest : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isLayoutComponentEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isLayoutComponentEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isLayoutComponentEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isLayoutComponentEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_requestFocus(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_requestFocus : Invalid Native Object"); if (argc == 0) { cobj->requestFocus(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_requestFocus : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_updateSizeAndPosition(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Widget* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_updateSizeAndPosition : Invalid Native Object"); do { if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cobj->updateSizeAndPosition(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); do { if (argc == 0) { cobj->updateSizeAndPosition(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Widget_updateSizeAndPosition : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Widget_onFocusChange(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_onFocusChange : Invalid Native Object"); if (argc == 2) { cocos2d::ui::Widget* arg0; cocos2d::ui::Widget* arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_onFocusChange : Error processing arguments"); cobj->onFocusChange(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_onFocusChange : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_Widget_getTouchMovePosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getTouchMovePosition : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getTouchMovePosition(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getTouchMovePosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getSizeType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getSizeType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getSizeType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getSizeType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getCallbackType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getCallbackType : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getCallbackType(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getCallbackType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getTouchEndPosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getTouchEndPosition : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getTouchEndPosition(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getTouchEndPosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_getPositionPercent(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_getPositionPercent : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getPositionPercent(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_getPositionPercent : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_propagateTouchEvent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_propagateTouchEvent : Invalid Native Object"); if (argc == 3) { cocos2d::ui::Widget::TouchEventType arg0; cocos2d::ui::Widget* arg1; cocos2d::Touch* arg2; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); do { if (!argv[2].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[2]); jsProxy = jsb_get_js_proxy(tmpObj); arg2 = (cocos2d::Touch*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg2, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_propagateTouchEvent : Error processing arguments"); cobj->propagateTouchEvent(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_propagateTouchEvent : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_Widget_addClickEventListener(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_addClickEventListener : Invalid Native Object"); if (argc == 1) { std::function<void (cocos2d::Ref *)> arg0; do { if(JS_TypeOfValue(cx, argv[0]) == JSTYPE_FUNCTION) { std::shared_ptr<JSFunctionWrapper> func(new JSFunctionWrapper(cx, JS_THIS_OBJECT(cx, vp), argv[0])); auto lambda = [=](cocos2d::Ref* larg0) -> void { JSB_AUTOCOMPARTMENT_WITH_GLOBAL_OBJCET jsval largv[1]; do { if (larg0) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)larg0); largv[0] = OBJECT_TO_JSVAL(jsProxy->obj); } else { largv[0] = JSVAL_NULL; } } while (0); jsval rval; bool ok = func->invoke(1, &largv[0], rval); if (!ok && JS_IsExceptionPending(cx)) { JS_ReportPendingException(cx); } }; arg0 = lambda; } else { arg0 = nullptr; } } while(0) ; JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_addClickEventListener : Error processing arguments"); cobj->addClickEventListener(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_addClickEventListener : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isFlippedX(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isFlippedX : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFlippedX(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isFlippedX : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isFlippedY(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isFlippedY : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFlippedY(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isFlippedY : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_isClippingParentContainsPoint(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isClippingParentContainsPoint : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_isClippingParentContainsPoint : Error processing arguments"); bool ret = cobj->isClippingParentContainsPoint(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isClippingParentContainsPoint : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setSizeType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setSizeType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget::SizeType arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setSizeType : Error processing arguments"); cobj->setSizeType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setSizeType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_interceptTouchEvent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_interceptTouchEvent : Invalid Native Object"); if (argc == 3) { cocos2d::ui::Widget::TouchEventType arg0; cocos2d::ui::Widget* arg1; cocos2d::Touch* arg2; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); do { if (!argv[2].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[2]); jsProxy = jsb_get_js_proxy(tmpObj); arg2 = (cocos2d::Touch*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg2, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_interceptTouchEvent : Error processing arguments"); cobj->interceptTouchEvent(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_interceptTouchEvent : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_Widget_setBright(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setBright : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setBright : Error processing arguments"); cobj->setBright(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setBright : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_setCallbackType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_setCallbackType : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_setCallbackType : Error processing arguments"); cobj->setCallbackType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_setCallbackType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Widget_isSwallowTouches(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Widget* cobj = (cocos2d::ui::Widget *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Widget_isSwallowTouches : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isSwallowTouches(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_isSwallowTouches : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Widget_enableDpadNavigation(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Widget_enableDpadNavigation : Error processing arguments"); cocos2d::ui::Widget::enableDpadNavigation(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_enableDpadNavigation : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Widget_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::Widget* ret = cocos2d::ui::Widget::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Widget_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Widget_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Widget* cobj = new (std::nothrow) cocos2d::ui::Widget(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Widget> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Widget"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ProtectedNode_prototype; void js_cocos2d_ui_Widget_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Widget)", obj); } static bool js_cocos2d_ui_Widget_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Widget *nobj = new (std::nothrow) cocos2d::ui::Widget(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Widget"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Widget(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Widget_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Widget_class->name = "Widget"; jsb_cocos2d_ui_Widget_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Widget_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Widget_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Widget_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Widget_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Widget_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Widget_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Widget_class->finalize = js_cocos2d_ui_Widget_finalize; jsb_cocos2d_ui_Widget_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setLayoutComponentEnabled", js_cocos2dx_ui_Widget_setLayoutComponentEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSizePercent", js_cocos2dx_ui_Widget_setSizePercent, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCustomSize", js_cocos2dx_ui_Widget_getCustomSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLeftBoundary", js_cocos2dx_ui_Widget_getLeftBoundary, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFlippedX", js_cocos2dx_ui_Widget_setFlippedX, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCallbackName", js_cocos2dx_ui_Widget_setCallbackName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getVirtualRenderer", js_cocos2dx_ui_Widget_getVirtualRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPropagateTouchEvents", js_cocos2dx_ui_Widget_setPropagateTouchEvents, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isUnifySizeEnabled", js_cocos2dx_ui_Widget_isUnifySizeEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSizePercent", js_cocos2dx_ui_Widget_getSizePercent, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionPercent", js_cocos2dx_ui_Widget_setPositionPercent, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSwallowTouches", js_cocos2dx_ui_Widget_setSwallowTouches, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLayoutSize", js_cocos2dx_ui_Widget_getLayoutSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setHighlighted", js_cocos2dx_ui_Widget_setHighlighted, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionType", js_cocos2dx_ui_Widget_setPositionType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isIgnoreContentAdaptWithSize", js_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getVirtualRendererSize", js_cocos2dx_ui_Widget_getVirtualRendererSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isHighlighted", js_cocos2dx_ui_Widget_isHighlighted, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLayoutParameter", js_cocos2dx_ui_Widget_getLayoutParameter, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("addCCSEventListener", js_cocos2dx_ui_Widget_addCCSEventListener, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPositionType", js_cocos2dx_ui_Widget_getPositionType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTopBoundary", js_cocos2dx_ui_Widget_getTopBoundary, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ignoreContentAdaptWithSize", js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("findNextFocusedWidget", js_cocos2dx_ui_Widget_findNextFocusedWidget, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isEnabled", js_cocos2dx_ui_Widget_isEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFocused", js_cocos2dx_ui_Widget_isFocused, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTouchBeganPosition", js_cocos2dx_ui_Widget_getTouchBeganPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isTouchEnabled", js_cocos2dx_ui_Widget_isTouchEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCallbackName", js_cocos2dx_ui_Widget_getCallbackName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getActionTag", js_cocos2dx_ui_Widget_getActionTag, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getWorldPosition", js_cocos2dx_ui_Widget_getWorldPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFocusEnabled", js_cocos2dx_ui_Widget_isFocusEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFocused", js_cocos2dx_ui_Widget_setFocused, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setActionTag", js_cocos2dx_ui_Widget_setActionTag, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTouchEnabled", js_cocos2dx_ui_Widget_setTouchEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFlippedY", js_cocos2dx_ui_Widget_setFlippedY, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("_init", js_cocos2dx_ui_Widget_init, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setEnabled", js_cocos2dx_ui_Widget_setEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getRightBoundary", js_cocos2dx_ui_Widget_getRightBoundary, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBrightStyle", js_cocos2dx_ui_Widget_setBrightStyle, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setLayoutParameter", js_cocos2dx_ui_Widget_setLayoutParameter, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("clone", js_cocos2dx_ui_Widget_clone, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFocusEnabled", js_cocos2dx_ui_Widget_setFocusEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBottomBoundary", js_cocos2dx_ui_Widget_getBottomBoundary, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isBright", js_cocos2dx_ui_Widget_isBright, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("dispatchFocusEvent", js_cocos2dx_ui_Widget_dispatchFocusEvent, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setUnifySizeEnabled", js_cocos2dx_ui_Widget_setUnifySizeEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPropagateTouchEvents", js_cocos2dx_ui_Widget_isPropagateTouchEvents, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCurrentFocusedWidget", js_cocos2dx_ui_Widget_getCurrentFocusedWidget, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("hitTest", js_cocos2dx_ui_Widget_hitTest, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isLayoutComponentEnabled", js_cocos2dx_ui_Widget_isLayoutComponentEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("requestFocus", js_cocos2dx_ui_Widget_requestFocus, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("updateSizeAndPosition", js_cocos2dx_ui_Widget_updateSizeAndPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("onFocusChange", js_cocos2dx_ui_Widget_onFocusChange, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTouchMovePosition", js_cocos2dx_ui_Widget_getTouchMovePosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSizeType", js_cocos2dx_ui_Widget_getSizeType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCallbackType", js_cocos2dx_ui_Widget_getCallbackType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTouchEndPosition", js_cocos2dx_ui_Widget_getTouchEndPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPositionPercent", js_cocos2dx_ui_Widget_getPositionPercent, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("propagateTouchEvent", js_cocos2dx_ui_Widget_propagateTouchEvent, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("addClickEventListener", js_cocos2dx_ui_Widget_addClickEventListener, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFlippedX", js_cocos2dx_ui_Widget_isFlippedX, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFlippedY", js_cocos2dx_ui_Widget_isFlippedY, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isClippingParentContainsPoint", js_cocos2dx_ui_Widget_isClippingParentContainsPoint, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSizeType", js_cocos2dx_ui_Widget_setSizeType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("interceptTouchEvent", js_cocos2dx_ui_Widget_interceptTouchEvent, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBright", js_cocos2dx_ui_Widget_setBright, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCallbackType", js_cocos2dx_ui_Widget_setCallbackType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isSwallowTouches", js_cocos2dx_ui_Widget_isSwallowTouches, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Widget_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("enableDpadNavigation", js_cocos2dx_ui_Widget_enableDpadNavigation, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("create", js_cocos2dx_ui_Widget_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Widget_prototype = JS_InitClass( cx, global, jsb_cocos2d_ProtectedNode_prototype, jsb_cocos2d_ui_Widget_class, js_cocos2dx_ui_Widget_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Widget", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Widget> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Widget_class; p->proto = jsb_cocos2d_ui_Widget_prototype; p->parentProto = jsb_cocos2d_ProtectedNode_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Layout_class; JSObject *jsb_cocos2d_ui_Layout_prototype; bool js_cocos2dx_ui_Layout_setBackGroundColorVector(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorVector : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorVector : Error processing arguments"); cobj->setBackGroundColorVector(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundColorVector : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setClippingType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setClippingType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Layout::ClippingType arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setClippingType : Error processing arguments"); cobj->setClippingType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setClippingType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setBackGroundColorType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Layout::BackGroundColorType arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorType : Error processing arguments"); cobj->setBackGroundColorType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundColorType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setLoopFocus(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setLoopFocus : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setLoopFocus : Error processing arguments"); cobj->setLoopFocus(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setLoopFocus : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setBackGroundImageColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageColor : Error processing arguments"); cobj->setBackGroundImageColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundImageColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_getBackGroundColorVector(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundColorVector : Invalid Native Object"); if (argc == 0) { const cocos2d::Vec2& ret = cobj->getBackGroundColorVector(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundColorVector : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getClippingType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getClippingType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getClippingType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getClippingType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_isLoopFocus(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_isLoopFocus : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isLoopFocus(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_isLoopFocus : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_removeBackGroundImage(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_removeBackGroundImage : Invalid Native Object"); if (argc == 0) { cobj->removeBackGroundImage(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_removeBackGroundImage : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getBackGroundColorOpacity(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundColorOpacity : Invalid Native Object"); if (argc == 0) { uint16_t ret = cobj->getBackGroundColorOpacity(); jsval jsret = JSVAL_NULL; jsret = uint32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundColorOpacity : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_isClippingEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_isClippingEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isClippingEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_isClippingEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setBackGroundImageOpacity(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageOpacity : Invalid Native Object"); if (argc == 1) { uint16_t arg0; ok &= jsval_to_uint16(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageOpacity : Error processing arguments"); cobj->setBackGroundImageOpacity(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundImageOpacity : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setBackGroundImage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImage : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImage : Error processing arguments"); cobj->setBackGroundImage(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImage : Error processing arguments"); cobj->setBackGroundImage(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundImage : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setBackGroundColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Layout* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColor : Invalid Native Object"); do { if (argc == 2) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Color3B arg1; ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cobj->setBackGroundColor(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); do { if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cobj->setBackGroundColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundColor : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Layout_requestDoLayout(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_requestDoLayout : Invalid Native Object"); if (argc == 0) { cobj->requestDoLayout(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_requestDoLayout : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getBackGroundImageCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundImageCapInsets : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getBackGroundImageCapInsets(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundImageCapInsets : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getBackGroundColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color3B& ret = cobj->getBackGroundColor(); jsval jsret = JSVAL_NULL; jsret = cccolor3b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setClippingEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setClippingEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setClippingEnabled : Error processing arguments"); cobj->setClippingEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setClippingEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_getBackGroundImageColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundImageColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color3B& ret = cobj->getBackGroundImageColor(); jsval jsret = JSVAL_NULL; jsret = cccolor3b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundImageColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isBackGroundImageScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getBackGroundColorType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundColorType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getBackGroundColorType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundColorType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getBackGroundEndColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundEndColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color3B& ret = cobj->getBackGroundEndColor(); jsval jsret = JSVAL_NULL; jsret = cccolor3b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundEndColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setBackGroundColorOpacity(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorOpacity : Invalid Native Object"); if (argc == 1) { uint16_t arg0; ok &= jsval_to_uint16(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundColorOpacity : Error processing arguments"); cobj->setBackGroundColorOpacity(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundColorOpacity : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_getBackGroundImageOpacity(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundImageOpacity : Invalid Native Object"); if (argc == 0) { uint16_t ret = cobj->getBackGroundImageOpacity(); jsval jsret = JSVAL_NULL; jsret = uint32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundImageOpacity : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_isPassFocusToChild(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_isPassFocusToChild : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPassFocusToChild(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_isPassFocusToChild : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setBackGroundImageCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageCapInsets : Error processing arguments"); cobj->setBackGroundImageCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundImageCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_getBackGroundImageTextureSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundImageTextureSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getBackGroundImageTextureSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundImageTextureSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_forceDoLayout(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_forceDoLayout : Invalid Native Object"); if (argc == 0) { cobj->forceDoLayout(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_forceDoLayout : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_getLayoutType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getLayoutType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getLayoutType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getLayoutType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setPassFocusToChild(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setPassFocusToChild : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setPassFocusToChild : Error processing arguments"); cobj->setPassFocusToChild(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setPassFocusToChild : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_getBackGroundStartColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_getBackGroundStartColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color3B& ret = cobj->getBackGroundStartColor(); jsval jsret = JSVAL_NULL; jsret = cccolor3b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_getBackGroundStartColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled : Error processing arguments"); cobj->setBackGroundImageScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_setLayoutType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Layout* cobj = (cocos2d::ui::Layout *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Layout_setLayoutType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Layout::Type arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Layout_setLayoutType : Error processing arguments"); cobj->setLayoutType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_setLayoutType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Layout_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::Layout* ret = cocos2d::ui::Layout::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Layout>(cx, (cocos2d::ui::Layout*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Layout_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::Layout::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Layout_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Layout_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Layout* cobj = new (std::nothrow) cocos2d::ui::Layout(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Layout> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Layout"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_Layout_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Layout)", obj); } static bool js_cocos2d_ui_Layout_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Layout *nobj = new (std::nothrow) cocos2d::ui::Layout(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Layout"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Layout(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Layout_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Layout_class->name = "Layout"; jsb_cocos2d_ui_Layout_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Layout_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Layout_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Layout_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Layout_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Layout_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Layout_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Layout_class->finalize = js_cocos2d_ui_Layout_finalize; jsb_cocos2d_ui_Layout_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setBackGroundColorVector", js_cocos2dx_ui_Layout_setBackGroundColorVector, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setClippingType", js_cocos2dx_ui_Layout_setClippingType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundColorType", js_cocos2dx_ui_Layout_setBackGroundColorType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setLoopFocus", js_cocos2dx_ui_Layout_setLoopFocus, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundImageColor", js_cocos2dx_ui_Layout_setBackGroundImageColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundColorVector", js_cocos2dx_ui_Layout_getBackGroundColorVector, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getClippingType", js_cocos2dx_ui_Layout_getClippingType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isLoopFocus", js_cocos2dx_ui_Layout_isLoopFocus, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeBackGroundImage", js_cocos2dx_ui_Layout_removeBackGroundImage, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundColorOpacity", js_cocos2dx_ui_Layout_getBackGroundColorOpacity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isClippingEnabled", js_cocos2dx_ui_Layout_isClippingEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundImageOpacity", js_cocos2dx_ui_Layout_setBackGroundImageOpacity, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundImage", js_cocos2dx_ui_Layout_setBackGroundImage, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundColor", js_cocos2dx_ui_Layout_setBackGroundColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("requestDoLayout", js_cocos2dx_ui_Layout_requestDoLayout, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundImageCapInsets", js_cocos2dx_ui_Layout_getBackGroundImageCapInsets, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundColor", js_cocos2dx_ui_Layout_getBackGroundColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setClippingEnabled", js_cocos2dx_ui_Layout_setClippingEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundImageColor", js_cocos2dx_ui_Layout_getBackGroundImageColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isBackGroundImageScale9Enabled", js_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundColorType", js_cocos2dx_ui_Layout_getBackGroundColorType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundEndColor", js_cocos2dx_ui_Layout_getBackGroundEndColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundColorOpacity", js_cocos2dx_ui_Layout_setBackGroundColorOpacity, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundImageOpacity", js_cocos2dx_ui_Layout_getBackGroundImageOpacity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPassFocusToChild", js_cocos2dx_ui_Layout_isPassFocusToChild, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundImageCapInsets", js_cocos2dx_ui_Layout_setBackGroundImageCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundImageTextureSize", js_cocos2dx_ui_Layout_getBackGroundImageTextureSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("forceDoLayout", js_cocos2dx_ui_Layout_forceDoLayout, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLayoutType", js_cocos2dx_ui_Layout_getLayoutType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPassFocusToChild", js_cocos2dx_ui_Layout_setPassFocusToChild, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBackGroundStartColor", js_cocos2dx_ui_Layout_getBackGroundStartColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBackGroundImageScale9Enabled", js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setLayoutType", js_cocos2dx_ui_Layout_setLayoutType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Layout_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_Layout_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_Layout_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Layout_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_Layout_class, js_cocos2dx_ui_Layout_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Layout", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Layout> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Layout_class; p->proto = jsb_cocos2d_ui_Layout_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Button_class; JSObject *jsb_cocos2d_ui_Button_prototype; bool js_cocos2dx_ui_Button_getNormalTextureSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getNormalTextureSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getNormalTextureSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getNormalTextureSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getTitleText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleText : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getTitleText(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getTitleText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_setTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setTitleFontSize : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setTitleFontSize : Error processing arguments"); cobj->setTitleFontSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setTitleFontSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setScale9Enabled : Error processing arguments"); cobj->setScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_getTitleRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleRenderer : Invalid Native Object"); if (argc == 0) { cocos2d::Label* ret = cobj->getTitleRenderer(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Label>(cx, (cocos2d::Label*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getTitleRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getZoomScale : Invalid Native Object"); if (argc == 0) { double ret = cobj->getZoomScale(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getZoomScale : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsetsDisabledRenderer(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_setTitleColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setTitleColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setTitleColor : Error processing arguments"); cobj->setTitleColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setTitleColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer : Error processing arguments"); cobj->setCapInsetsDisabledRenderer(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setCapInsets : Error processing arguments"); cobj->setCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_loadTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_loadTextureDisabled : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextureDisabled : Error processing arguments"); cobj->loadTextureDisabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextureDisabled : Error processing arguments"); cobj->loadTextureDisabled(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_loadTextureDisabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_init : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_init : Error processing arguments"); bool ret = cobj->init(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } if (argc == 2) { std::string arg0; std::string arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } if (argc == 3) { std::string arg0; std::string arg1; std::string arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } if (argc == 4) { std::string arg0; std::string arg1; std::string arg2; cocos2d::ui::Widget::TextureResType arg3; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_init : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setTitleText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setTitleText : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setTitleText : Error processing arguments"); cobj->setTitleText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setTitleText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setCapInsetsNormalRenderer(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setCapInsetsNormalRenderer : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setCapInsetsNormalRenderer : Error processing arguments"); cobj->setCapInsetsNormalRenderer(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setCapInsetsNormalRenderer : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_loadTexturePressed(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_loadTexturePressed : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTexturePressed : Error processing arguments"); cobj->loadTexturePressed(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTexturePressed : Error processing arguments"); cobj->loadTexturePressed(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_loadTexturePressed : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setTitleFontName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setTitleFontName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setTitleFontName : Error processing arguments"); cobj->setTitleFontName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setTitleFontName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_getCapInsetsNormalRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getCapInsetsNormalRenderer : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsetsNormalRenderer(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getCapInsetsNormalRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getCapInsetsPressedRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getCapInsetsPressedRenderer : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsetsPressedRenderer(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getCapInsetsPressedRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_loadTextures(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_loadTextures : Invalid Native Object"); if (argc == 2) { std::string arg0; std::string arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextures : Error processing arguments"); cobj->loadTextures(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 3) { std::string arg0; std::string arg1; std::string arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextures : Error processing arguments"); cobj->loadTextures(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 4) { std::string arg0; std::string arg1; std::string arg2; cocos2d::ui::Widget::TextureResType arg3; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextures : Error processing arguments"); cobj->loadTextures(arg0, arg1, arg2, arg3); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_loadTextures : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_Button_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_isScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_isScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_loadTextureNormal(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_loadTextureNormal : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextureNormal : Error processing arguments"); cobj->loadTextureNormal(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_loadTextureNormal : Error processing arguments"); cobj->loadTextureNormal(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_loadTextureNormal : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setCapInsetsPressedRenderer(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setCapInsetsPressedRenderer : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setCapInsetsPressedRenderer : Error processing arguments"); cobj->setCapInsetsPressedRenderer(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setCapInsetsPressedRenderer : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_getTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleFontSize : Invalid Native Object"); if (argc == 0) { double ret = cobj->getTitleFontSize(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getTitleFontSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getTitleFontName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleFontName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getTitleFontName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getTitleFontName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_getTitleColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleColor : Invalid Native Object"); if (argc == 0) { cocos2d::Color3B ret = cobj->getTitleColor(); jsval jsret = JSVAL_NULL; jsret = cccolor3b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_getTitleColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Button_setPressedActionEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setPressedActionEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setPressedActionEnabled : Error processing arguments"); cobj->setPressedActionEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setPressedActionEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_setZoomScale : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Button_setZoomScale : Error processing arguments"); cobj->setZoomScale(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_setZoomScale : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Button_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Button>(cx, (cocos2d::ui::Button*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Button>(cx, (cocos2d::ui::Button*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } std::string arg2; ok &= jsval_to_std_string(cx, argv[2], &arg2); if (!ok) { ok = true; break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Button>(cx, (cocos2d::ui::Button*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 4) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } std::string arg2; ok &= jsval_to_std_string(cx, argv[2], &arg2); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg3; ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); if (!ok) { ok = true; break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Button>(cx, (cocos2d::ui::Button*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::Button* ret = cocos2d::ui::Button::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Button>(cx, (cocos2d::ui::Button*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Button_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Button_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::Button::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Button_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Button_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Button* cobj = new (std::nothrow) cocos2d::ui::Button(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Button> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Button"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_Button_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Button)", obj); } static bool js_cocos2d_ui_Button_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Button *nobj = new (std::nothrow) cocos2d::ui::Button(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Button"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Button(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Button_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Button_class->name = "Button"; jsb_cocos2d_ui_Button_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Button_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Button_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Button_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Button_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Button_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Button_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Button_class->finalize = js_cocos2d_ui_Button_finalize; jsb_cocos2d_ui_Button_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("getNormalTextureSize", js_cocos2dx_ui_Button_getNormalTextureSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTitleText", js_cocos2dx_ui_Button_getTitleText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTitleFontSize", js_cocos2dx_ui_Button_setTitleFontSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setScale9Enabled", js_cocos2dx_ui_Button_setScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTitleRenderer", js_cocos2dx_ui_Button_getTitleRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getZoomScale", js_cocos2dx_ui_Button_getZoomScale, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsetsDisabledRenderer", js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTitleColor", js_cocos2dx_ui_Button_setTitleColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsetsDisabledRenderer", js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsets", js_cocos2dx_ui_Button_setCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureDisabled", js_cocos2dx_ui_Button_loadTextureDisabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("init", js_cocos2dx_ui_Button_init, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTitleText", js_cocos2dx_ui_Button_setTitleText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsetsNormalRenderer", js_cocos2dx_ui_Button_setCapInsetsNormalRenderer, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTexturePressed", js_cocos2dx_ui_Button_loadTexturePressed, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTitleFontName", js_cocos2dx_ui_Button_setTitleFontName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsetsNormalRenderer", js_cocos2dx_ui_Button_getCapInsetsNormalRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsetsPressedRenderer", js_cocos2dx_ui_Button_getCapInsetsPressedRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextures", js_cocos2dx_ui_Button_loadTextures, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isScale9Enabled", js_cocos2dx_ui_Button_isScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureNormal", js_cocos2dx_ui_Button_loadTextureNormal, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsetsPressedRenderer", js_cocos2dx_ui_Button_setCapInsetsPressedRenderer, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTitleFontSize", js_cocos2dx_ui_Button_getTitleFontSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTitleFontName", js_cocos2dx_ui_Button_getTitleFontName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTitleColor", js_cocos2dx_ui_Button_getTitleColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPressedActionEnabled", js_cocos2dx_ui_Button_setPressedActionEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setZoomScale", js_cocos2dx_ui_Button_setZoomScale, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Button_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_Button_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_Button_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Button_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_Button_class, js_cocos2dx_ui_Button_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Button", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Button> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Button_class; p->proto = jsb_cocos2d_ui_Button_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_CheckBox_class; JSObject *jsb_cocos2d_ui_CheckBox_prototype; bool js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected : Error processing arguments"); cobj->loadTextureBackGroundSelected(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected : Error processing arguments"); cobj->loadTextureBackGroundSelected(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled : Error processing arguments"); cobj->loadTextureBackGroundDisabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled : Error processing arguments"); cobj->loadTextureBackGroundDisabled(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_setSelected(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_setSelected : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_setSelected : Error processing arguments"); cobj->setSelected(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_setSelected : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_loadTextureFrontCross(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCross : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCross : Error processing arguments"); cobj->loadTextureFrontCross(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCross : Error processing arguments"); cobj->loadTextureFrontCross(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextureFrontCross : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_isSelected(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_isSelected : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isSelected(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_isSelected : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_CheckBox_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_init : Invalid Native Object"); if (argc == 5) { std::string arg0; std::string arg1; std::string arg2; std::string arg3; std::string arg4; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3, arg4); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } if (argc == 6) { std::string arg0; std::string arg1; std::string arg2; std::string arg3; std::string arg4; cocos2d::ui::Widget::TextureResType arg5; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); ok &= jsval_to_int32(cx, argv[5], (int32_t *)&arg5); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_init : wrong number of arguments: %d, was expecting %d", argc, 5); return false; } bool js_cocos2dx_ui_CheckBox_loadTextures(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextures : Invalid Native Object"); if (argc == 5) { std::string arg0; std::string arg1; std::string arg2; std::string arg3; std::string arg4; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextures : Error processing arguments"); cobj->loadTextures(arg0, arg1, arg2, arg3, arg4); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 6) { std::string arg0; std::string arg1; std::string arg2; std::string arg3; std::string arg4; cocos2d::ui::Widget::TextureResType arg5; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); ok &= jsval_to_int32(cx, argv[5], (int32_t *)&arg5); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextures : Error processing arguments"); cobj->loadTextures(arg0, arg1, arg2, arg3, arg4, arg5); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextures : wrong number of arguments: %d, was expecting %d", argc, 5); return false; } bool js_cocos2dx_ui_CheckBox_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_getZoomScale : Invalid Native Object"); if (argc == 0) { double ret = cobj->getZoomScale(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_getZoomScale : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_CheckBox_loadTextureBackGround(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGround : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGround : Error processing arguments"); cobj->loadTextureBackGround(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureBackGround : Error processing arguments"); cobj->loadTextureBackGround(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextureBackGround : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_setZoomScale : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_setZoomScale : Error processing arguments"); cobj->setZoomScale(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_setZoomScale : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::CheckBox* cobj = (cocos2d::ui::CheckBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled : Error processing arguments"); cobj->loadTextureFrontCrossDisabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled : Error processing arguments"); cobj->loadTextureFrontCrossDisabled(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_CheckBox_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 5) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } std::string arg2; ok &= jsval_to_std_string(cx, argv[2], &arg2); if (!ok) { ok = true; break; } std::string arg3; ok &= jsval_to_std_string(cx, argv[3], &arg3); if (!ok) { ok = true; break; } std::string arg4; ok &= jsval_to_std_string(cx, argv[4], &arg4); if (!ok) { ok = true; break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1, arg2, arg3, arg4); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::CheckBox>(cx, (cocos2d::ui::CheckBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 6) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } std::string arg2; ok &= jsval_to_std_string(cx, argv[2], &arg2); if (!ok) { ok = true; break; } std::string arg3; ok &= jsval_to_std_string(cx, argv[3], &arg3); if (!ok) { ok = true; break; } std::string arg4; ok &= jsval_to_std_string(cx, argv[4], &arg4); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg5; ok &= jsval_to_int32(cx, argv[5], (int32_t *)&arg5); if (!ok) { ok = true; break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::CheckBox>(cx, (cocos2d::ui::CheckBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::CheckBox>(cx, (cocos2d::ui::CheckBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::CheckBox>(cx, (cocos2d::ui::CheckBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::CheckBox>(cx, (cocos2d::ui::CheckBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_CheckBox_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::CheckBox::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_CheckBox_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_CheckBox_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::CheckBox* cobj = new (std::nothrow) cocos2d::ui::CheckBox(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::CheckBox> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::CheckBox"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_CheckBox_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (CheckBox)", obj); } static bool js_cocos2d_ui_CheckBox_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::CheckBox *nobj = new (std::nothrow) cocos2d::ui::CheckBox(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::CheckBox"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_CheckBox(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_CheckBox_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_CheckBox_class->name = "CheckBox"; jsb_cocos2d_ui_CheckBox_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_CheckBox_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_CheckBox_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_CheckBox_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_CheckBox_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_CheckBox_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_CheckBox_class->convert = JS_ConvertStub; jsb_cocos2d_ui_CheckBox_class->finalize = js_cocos2d_ui_CheckBox_finalize; jsb_cocos2d_ui_CheckBox_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("loadTextureBackGroundSelected", js_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureBackGroundDisabled", js_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSelected", js_cocos2dx_ui_CheckBox_setSelected, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureFrontCross", js_cocos2dx_ui_CheckBox_loadTextureFrontCross, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isSelected", js_cocos2dx_ui_CheckBox_isSelected, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("init", js_cocos2dx_ui_CheckBox_init, 5, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextures", js_cocos2dx_ui_CheckBox_loadTextures, 5, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getZoomScale", js_cocos2dx_ui_CheckBox_getZoomScale, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureBackGround", js_cocos2dx_ui_CheckBox_loadTextureBackGround, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setZoomScale", js_cocos2dx_ui_CheckBox_setZoomScale, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTextureFrontCrossDisabled", js_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_CheckBox_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_CheckBox_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_CheckBox_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_CheckBox_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_CheckBox_class, js_cocos2dx_ui_CheckBox_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "CheckBox", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::CheckBox> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_CheckBox_class; p->proto = jsb_cocos2d_ui_CheckBox_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_ImageView_class; JSObject *jsb_cocos2d_ui_ImageView_prototype; bool js_cocos2dx_ui_ImageView_loadTexture(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_loadTexture : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_loadTexture : Error processing arguments"); cobj->loadTexture(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_loadTexture : Error processing arguments"); cobj->loadTexture(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_loadTexture : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ImageView_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_init : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_init : Error processing arguments"); bool ret = cobj->init(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_init : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ImageView_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_setScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_setScale9Enabled : Error processing arguments"); cobj->setScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_setScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ImageView_setTextureRect(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_setTextureRect : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_setTextureRect : Error processing arguments"); cobj->setTextureRect(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_setTextureRect : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ImageView_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_setCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ImageView_setCapInsets : Error processing arguments"); cobj->setCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_setCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ImageView_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_getCapInsets : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsets(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_getCapInsets : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ImageView_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ImageView* cobj = (cocos2d::ui::ImageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ImageView_isScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_isScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ImageView_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::ImageView* ret = cocos2d::ui::ImageView::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::ImageView>(cx, (cocos2d::ui::ImageView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); if (!ok) { ok = true; break; } cocos2d::ui::ImageView* ret = cocos2d::ui::ImageView::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::ImageView>(cx, (cocos2d::ui::ImageView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::ImageView* ret = cocos2d::ui::ImageView::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::ImageView>(cx, (cocos2d::ui::ImageView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_ImageView_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ImageView_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::ImageView::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ImageView_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ImageView_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::ImageView* cobj = new (std::nothrow) cocos2d::ui::ImageView(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::ImageView> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ImageView"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_ImageView_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (ImageView)", obj); } static bool js_cocos2d_ui_ImageView_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::ImageView *nobj = new (std::nothrow) cocos2d::ui::ImageView(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ImageView"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_ImageView(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_ImageView_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_ImageView_class->name = "ImageView"; jsb_cocos2d_ui_ImageView_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_ImageView_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_ImageView_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_ImageView_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_ImageView_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_ImageView_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_ImageView_class->convert = JS_ConvertStub; jsb_cocos2d_ui_ImageView_class->finalize = js_cocos2d_ui_ImageView_finalize; jsb_cocos2d_ui_ImageView_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("loadTexture", js_cocos2dx_ui_ImageView_loadTexture, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("_init", js_cocos2dx_ui_ImageView_init, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setScale9Enabled", js_cocos2dx_ui_ImageView_setScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextureRect", js_cocos2dx_ui_ImageView_setTextureRect, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsets", js_cocos2dx_ui_ImageView_setCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsets", js_cocos2dx_ui_ImageView_getCapInsets, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isScale9Enabled", js_cocos2dx_ui_ImageView_isScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_ImageView_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_ImageView_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_ImageView_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_ImageView_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_ImageView_class, js_cocos2dx_ui_ImageView_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "ImageView", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::ImageView> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_ImageView_class; p->proto = jsb_cocos2d_ui_ImageView_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Text_class; JSObject *jsb_cocos2d_ui_Text_prototype; bool js_cocos2dx_ui_Text_enableShadow(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_enableShadow : Invalid Native Object"); if (argc == 0) { cobj->enableShadow(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableShadow : Error processing arguments"); cobj->enableShadow(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { cocos2d::Color4B arg0; cocos2d::Size arg1; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); ok &= jsval_to_ccsize(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableShadow : Error processing arguments"); cobj->enableShadow(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 3) { cocos2d::Color4B arg0; cocos2d::Size arg1; int arg2; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); ok &= jsval_to_ccsize(cx, argv[1], &arg1); ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableShadow : Error processing arguments"); cobj->enableShadow(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_enableShadow : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getFontSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getFontSize : Invalid Native Object"); if (argc == 0) { int ret = cobj->getFontSize(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getFontSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getString(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getString : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getString(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getString : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_disableEffect(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_disableEffect : Invalid Native Object"); if (argc == 0) { cobj->disableEffect(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_disableEffect : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getTextColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getTextColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color4B& ret = cobj->getTextColor(); jsval jsret = JSVAL_NULL; jsret = cccolor4b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getTextColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_setTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setTextVerticalAlignment : Invalid Native Object"); if (argc == 1) { cocos2d::TextVAlignment arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setTextVerticalAlignment : Error processing arguments"); cobj->setTextVerticalAlignment(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setTextVerticalAlignment : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_setFontName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setFontName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setFontName : Error processing arguments"); cobj->setFontName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setFontName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_setTouchScaleChangeEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setTouchScaleChangeEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setTouchScaleChangeEnabled : Error processing arguments"); cobj->setTouchScaleChangeEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setTouchScaleChangeEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_setString(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setString : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setString : Error processing arguments"); cobj->setString(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setString : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_init : Invalid Native Object"); if (argc == 3) { std::string arg0; std::string arg1; int arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_init : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_Text_isTouchScaleChangeEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_isTouchScaleChangeEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isTouchScaleChangeEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_isTouchScaleChangeEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getFontName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getFontName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getFontName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getFontName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_setTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setTextAreaSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setTextAreaSize : Error processing arguments"); cobj->setTextAreaSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setTextAreaSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_getStringLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getStringLength : Invalid Native Object"); if (argc == 0) { ssize_t ret = cobj->getStringLength(); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getStringLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getAutoRenderSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getAutoRenderSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getAutoRenderSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getAutoRenderSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_enableOutline(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_enableOutline : Invalid Native Object"); if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableOutline : Error processing arguments"); cobj->enableOutline(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { cocos2d::Color4B arg0; int arg1; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableOutline : Error processing arguments"); cobj->enableOutline(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_enableOutline : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_getType(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getType : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getType(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getType : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getTextHorizontalAlignment : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getTextHorizontalAlignment(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getTextHorizontalAlignment : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_setFontSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setFontSize : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setFontSize : Error processing arguments"); cobj->setFontSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setFontSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_setTextColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setTextColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setTextColor : Error processing arguments"); cobj->setTextColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setTextColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_enableGlow(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_enableGlow : Invalid Native Object"); if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_enableGlow : Error processing arguments"); cobj->enableGlow(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_enableGlow : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_getTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getTextVerticalAlignment : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getTextVerticalAlignment(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getTextVerticalAlignment : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_getTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_getTextAreaSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getTextAreaSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_getTextAreaSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Text_setTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Text* cobj = (cocos2d::ui::Text *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Text_setTextHorizontalAlignment : Invalid Native Object"); if (argc == 1) { cocos2d::TextHAlignment arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Text_setTextHorizontalAlignment : Error processing arguments"); cobj->setTextHorizontalAlignment(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_setTextHorizontalAlignment : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Text_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } int arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } cocos2d::ui::Text* ret = cocos2d::ui::Text::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Text>(cx, (cocos2d::ui::Text*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::Text* ret = cocos2d::ui::Text::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Text>(cx, (cocos2d::ui::Text*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Text_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Text_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::Text::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Text_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Text_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Text* cobj = new (std::nothrow) cocos2d::ui::Text(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Text> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Text"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_Text_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Text)", obj); } static bool js_cocos2d_ui_Text_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Text *nobj = new (std::nothrow) cocos2d::ui::Text(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Text"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Text(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Text_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Text_class->name = "Text"; jsb_cocos2d_ui_Text_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Text_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Text_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Text_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Text_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Text_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Text_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Text_class->finalize = js_cocos2d_ui_Text_finalize; jsb_cocos2d_ui_Text_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("enableShadow", js_cocos2dx_ui_Text_enableShadow, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getFontSize", js_cocos2dx_ui_Text_getFontSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getString", js_cocos2dx_ui_Text_getString, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("disableEffect", js_cocos2dx_ui_Text_disableEffect, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTextColor", js_cocos2dx_ui_Text_getTextColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextVerticalAlignment", js_cocos2dx_ui_Text_setTextVerticalAlignment, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontName", js_cocos2dx_ui_Text_setFontName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTouchScaleChangeEnabled", js_cocos2dx_ui_Text_setTouchScaleChangeEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setString", js_cocos2dx_ui_Text_setString, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("init", js_cocos2dx_ui_Text_init, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isTouchScaleChangeEnabled", js_cocos2dx_ui_Text_isTouchScaleChangeEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getFontName", js_cocos2dx_ui_Text_getFontName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextAreaSize", js_cocos2dx_ui_Text_setTextAreaSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getStringLength", js_cocos2dx_ui_Text_getStringLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAutoRenderSize", js_cocos2dx_ui_Text_getAutoRenderSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("enableOutline", js_cocos2dx_ui_Text_enableOutline, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getType", js_cocos2dx_ui_Text_getType, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTextHorizontalAlignment", js_cocos2dx_ui_Text_getTextHorizontalAlignment, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontSize", js_cocos2dx_ui_Text_setFontSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextColor", js_cocos2dx_ui_Text_setTextColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("enableGlow", js_cocos2dx_ui_Text_enableGlow, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTextVerticalAlignment", js_cocos2dx_ui_Text_getTextVerticalAlignment, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTextAreaSize", js_cocos2dx_ui_Text_getTextAreaSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextHorizontalAlignment", js_cocos2dx_ui_Text_setTextHorizontalAlignment, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Text_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_Text_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_Text_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Text_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_Text_class, js_cocos2dx_ui_Text_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Text", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Text> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Text_class; p->proto = jsb_cocos2d_ui_Text_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_TextAtlas_class; JSObject *jsb_cocos2d_ui_TextAtlas_prototype; bool js_cocos2dx_ui_TextAtlas_getStringLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextAtlas* cobj = (cocos2d::ui::TextAtlas *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextAtlas_getStringLength : Invalid Native Object"); if (argc == 0) { ssize_t ret = cobj->getStringLength(); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_getStringLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextAtlas_getString(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextAtlas* cobj = (cocos2d::ui::TextAtlas *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextAtlas_getString : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getString(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_getString : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextAtlas_setString(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextAtlas* cobj = (cocos2d::ui::TextAtlas *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextAtlas_setString : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextAtlas_setString : Error processing arguments"); cobj->setString(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_setString : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextAtlas_setProperty(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextAtlas* cobj = (cocos2d::ui::TextAtlas *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextAtlas_setProperty : Invalid Native Object"); if (argc == 5) { std::string arg0; std::string arg1; int arg2; int arg3; std::string arg4; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextAtlas_setProperty : Error processing arguments"); cobj->setProperty(arg0, arg1, arg2, arg3, arg4); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_setProperty : wrong number of arguments: %d, was expecting %d", argc, 5); return false; } bool js_cocos2dx_ui_TextAtlas_adaptRenderers(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextAtlas* cobj = (cocos2d::ui::TextAtlas *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextAtlas_adaptRenderers : Invalid Native Object"); if (argc == 0) { cobj->adaptRenderers(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_adaptRenderers : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextAtlas_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 5) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } int arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } int arg3; ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); if (!ok) { ok = true; break; } std::string arg4; ok &= jsval_to_std_string(cx, argv[4], &arg4); if (!ok) { ok = true; break; } cocos2d::ui::TextAtlas* ret = cocos2d::ui::TextAtlas::create(arg0, arg1, arg2, arg3, arg4); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextAtlas>(cx, (cocos2d::ui::TextAtlas*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::TextAtlas* ret = cocos2d::ui::TextAtlas::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextAtlas>(cx, (cocos2d::ui::TextAtlas*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextAtlas_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::TextAtlas::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextAtlas_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextAtlas_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::TextAtlas* cobj = new (std::nothrow) cocos2d::ui::TextAtlas(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::TextAtlas> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextAtlas"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_TextAtlas_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (TextAtlas)", obj); } static bool js_cocos2d_ui_TextAtlas_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::TextAtlas *nobj = new (std::nothrow) cocos2d::ui::TextAtlas(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextAtlas"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_TextAtlas(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_TextAtlas_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_TextAtlas_class->name = "TextAtlas"; jsb_cocos2d_ui_TextAtlas_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_TextAtlas_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_TextAtlas_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_TextAtlas_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_TextAtlas_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_TextAtlas_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_TextAtlas_class->convert = JS_ConvertStub; jsb_cocos2d_ui_TextAtlas_class->finalize = js_cocos2d_ui_TextAtlas_finalize; jsb_cocos2d_ui_TextAtlas_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("getStringLength", js_cocos2dx_ui_TextAtlas_getStringLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getString", js_cocos2dx_ui_TextAtlas_getString, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setString", js_cocos2dx_ui_TextAtlas_setString, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setProperty", js_cocos2dx_ui_TextAtlas_setProperty, 5, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("adaptRenderers", js_cocos2dx_ui_TextAtlas_adaptRenderers, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_TextAtlas_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_TextAtlas_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_TextAtlas_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_TextAtlas_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_TextAtlas_class, js_cocos2dx_ui_TextAtlas_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "TextAtlas", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::TextAtlas> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_TextAtlas_class; p->proto = jsb_cocos2d_ui_TextAtlas_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_LoadingBar_class; JSObject *jsb_cocos2d_ui_LoadingBar_prototype; bool js_cocos2dx_ui_LoadingBar_setPercent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_setPercent : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_setPercent : Error processing arguments"); cobj->setPercent(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_setPercent : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LoadingBar_loadTexture(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_loadTexture : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_loadTexture : Error processing arguments"); cobj->loadTexture(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_loadTexture : Error processing arguments"); cobj->loadTexture(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_loadTexture : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LoadingBar_setDirection(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_setDirection : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LoadingBar::Direction arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_setDirection : Error processing arguments"); cobj->setDirection(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_setDirection : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LoadingBar_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_setScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_setScale9Enabled : Error processing arguments"); cobj->setScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_setScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LoadingBar_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_setCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LoadingBar_setCapInsets : Error processing arguments"); cobj->setCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_setCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LoadingBar_getDirection(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_getDirection : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getDirection(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_getDirection : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LoadingBar_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_getCapInsets : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsets(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_getCapInsets : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LoadingBar_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_isScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_isScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LoadingBar_getPercent(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LoadingBar* cobj = (cocos2d::ui::LoadingBar *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LoadingBar_getPercent : Invalid Native Object"); if (argc == 0) { double ret = cobj->getPercent(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_getPercent : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LoadingBar_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LoadingBar>(cx, (cocos2d::ui::LoadingBar*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } double arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[1]), &arg1); if (!ok) { ok = true; break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LoadingBar>(cx, (cocos2d::ui::LoadingBar*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LoadingBar>(cx, (cocos2d::ui::LoadingBar*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); if (!ok) { ok = true; break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LoadingBar>(cx, (cocos2d::ui::LoadingBar*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); if (!ok) { ok = true; break; } double arg2; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[2]), &arg2); if (!ok) { ok = true; break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LoadingBar>(cx, (cocos2d::ui::LoadingBar*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LoadingBar_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::LoadingBar::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LoadingBar_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LoadingBar_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::LoadingBar* cobj = new (std::nothrow) cocos2d::ui::LoadingBar(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::LoadingBar> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LoadingBar"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_LoadingBar_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (LoadingBar)", obj); } static bool js_cocos2d_ui_LoadingBar_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::LoadingBar *nobj = new (std::nothrow) cocos2d::ui::LoadingBar(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LoadingBar"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_LoadingBar(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_LoadingBar_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_LoadingBar_class->name = "LoadingBar"; jsb_cocos2d_ui_LoadingBar_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_LoadingBar_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_LoadingBar_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_LoadingBar_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_LoadingBar_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_LoadingBar_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_LoadingBar_class->convert = JS_ConvertStub; jsb_cocos2d_ui_LoadingBar_class->finalize = js_cocos2d_ui_LoadingBar_finalize; jsb_cocos2d_ui_LoadingBar_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setPercent", js_cocos2dx_ui_LoadingBar_setPercent, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadTexture", js_cocos2dx_ui_LoadingBar_loadTexture, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDirection", js_cocos2dx_ui_LoadingBar_setDirection, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setScale9Enabled", js_cocos2dx_ui_LoadingBar_setScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsets", js_cocos2dx_ui_LoadingBar_setCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDirection", js_cocos2dx_ui_LoadingBar_getDirection, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsets", js_cocos2dx_ui_LoadingBar_getCapInsets, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isScale9Enabled", js_cocos2dx_ui_LoadingBar_isScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPercent", js_cocos2dx_ui_LoadingBar_getPercent, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_LoadingBar_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_LoadingBar_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_LoadingBar_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_LoadingBar_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_LoadingBar_class, js_cocos2dx_ui_LoadingBar_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "LoadingBar", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::LoadingBar> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_LoadingBar_class; p->proto = jsb_cocos2d_ui_LoadingBar_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_ScrollView_class; JSObject *jsb_cocos2d_ui_ScrollView_prototype; bool js_cocos2dx_ui_ScrollView_scrollToTop(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTop : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTop : Error processing arguments"); cobj->scrollToTop(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToTop : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal : Invalid Native Object"); if (argc == 3) { double arg0; double arg1; bool arg2; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[1]), &arg1); arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal : Error processing arguments"); cobj->scrollToPercentHorizontal(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_ScrollView_isInertiaScrollEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_isInertiaScrollEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isInertiaScrollEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_isInertiaScrollEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection : Invalid Native Object"); if (argc == 3) { cocos2d::Vec2 arg0; double arg1; bool arg2; ok &= jsval_to_vector2(cx, argv[0], &arg0); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[1]), &arg1); arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection : Error processing arguments"); cobj->scrollToPercentBothDirection(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_ScrollView_getDirection(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_getDirection : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getDirection(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_getDirection : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_scrollToBottomLeft(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottomLeft : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottomLeft : Error processing arguments"); cobj->scrollToBottomLeft(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToBottomLeft : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_getInnerContainer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_getInnerContainer : Invalid Native Object"); if (argc == 0) { cocos2d::ui::Layout* ret = cobj->getInnerContainer(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Layout>(cx, (cocos2d::ui::Layout*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_getInnerContainer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_jumpToBottom(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToBottom : Invalid Native Object"); if (argc == 0) { cobj->jumpToBottom(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToBottom : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_setDirection(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_setDirection : Invalid Native Object"); if (argc == 1) { cocos2d::ui::ScrollView::Direction arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_setDirection : Error processing arguments"); cobj->setDirection(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_setDirection : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_scrollToTopLeft(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTopLeft : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTopLeft : Error processing arguments"); cobj->scrollToTopLeft(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToTopLeft : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_jumpToTopRight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToTopRight : Invalid Native Object"); if (argc == 0) { cobj->jumpToTopRight(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToTopRight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_jumpToBottomLeft(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToBottomLeft : Invalid Native Object"); if (argc == 0) { cobj->jumpToBottomLeft(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToBottomLeft : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_setInnerContainerSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_setInnerContainerSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_setInnerContainerSize : Error processing arguments"); cobj->setInnerContainerSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_setInnerContainerSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_getInnerContainerSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_getInnerContainerSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getInnerContainerSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_getInnerContainerSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_isBounceEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_isBounceEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isBounceEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_isBounceEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_jumpToPercentVertical(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentVertical : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentVertical : Error processing arguments"); cobj->jumpToPercentVertical(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToPercentVertical : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled : Error processing arguments"); cobj->setInertiaScrollEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_jumpToTopLeft(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToTopLeft : Invalid Native Object"); if (argc == 0) { cobj->jumpToTopLeft(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToTopLeft : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal : Error processing arguments"); cobj->jumpToPercentHorizontal(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_jumpToBottomRight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToBottomRight : Invalid Native Object"); if (argc == 0) { cobj->jumpToBottomRight(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToBottomRight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_setBounceEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_setBounceEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_setBounceEnabled : Error processing arguments"); cobj->setBounceEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_setBounceEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_jumpToTop(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToTop : Invalid Native Object"); if (argc == 0) { cobj->jumpToTop(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToTop : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_scrollToLeft(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToLeft : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToLeft : Error processing arguments"); cobj->scrollToLeft(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToLeft : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection : Error processing arguments"); cobj->jumpToPercentBothDirection(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ScrollView_scrollToPercentVertical(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentVertical : Invalid Native Object"); if (argc == 3) { double arg0; double arg1; bool arg2; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[1]), &arg1); arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToPercentVertical : Error processing arguments"); cobj->scrollToPercentVertical(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToPercentVertical : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_ScrollView_scrollToBottom(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottom : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottom : Error processing arguments"); cobj->scrollToBottom(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToBottom : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_scrollToBottomRight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottomRight : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToBottomRight : Error processing arguments"); cobj->scrollToBottomRight(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToBottomRight : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_jumpToLeft(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToLeft : Invalid Native Object"); if (argc == 0) { cobj->jumpToLeft(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToLeft : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_scrollToRight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToRight : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToRight : Error processing arguments"); cobj->scrollToRight(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToRight : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_jumpToRight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_jumpToRight : Invalid Native Object"); if (argc == 0) { cobj->jumpToRight(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_jumpToRight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ScrollView_scrollToTopRight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ScrollView* cobj = (cocos2d::ui::ScrollView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTopRight : Invalid Native Object"); if (argc == 2) { double arg0; bool arg1; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); arg1 = JS::ToBoolean(JS::RootedValue(cx, argv[1])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ScrollView_scrollToTopRight : Error processing arguments"); cobj->scrollToTopRight(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_scrollToTopRight : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ScrollView_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::ScrollView* ret = cocos2d::ui::ScrollView::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::ScrollView>(cx, (cocos2d::ui::ScrollView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ScrollView_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::ScrollView::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ScrollView_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ScrollView_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::ScrollView* cobj = new (std::nothrow) cocos2d::ui::ScrollView(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::ScrollView> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ScrollView"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Layout_prototype; void js_cocos2d_ui_ScrollView_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (ScrollView)", obj); } static bool js_cocos2d_ui_ScrollView_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::ScrollView *nobj = new (std::nothrow) cocos2d::ui::ScrollView(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ScrollView"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_ScrollView(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_ScrollView_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_ScrollView_class->name = "ScrollView"; jsb_cocos2d_ui_ScrollView_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_ScrollView_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_ScrollView_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_ScrollView_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_ScrollView_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_ScrollView_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_ScrollView_class->convert = JS_ConvertStub; jsb_cocos2d_ui_ScrollView_class->finalize = js_cocos2d_ui_ScrollView_finalize; jsb_cocos2d_ui_ScrollView_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("scrollToTop", js_cocos2dx_ui_ScrollView_scrollToTop, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToPercentHorizontal", js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isInertiaScrollEnabled", js_cocos2dx_ui_ScrollView_isInertiaScrollEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToPercentBothDirection", js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDirection", js_cocos2dx_ui_ScrollView_getDirection, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToBottomLeft", js_cocos2dx_ui_ScrollView_scrollToBottomLeft, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInnerContainer", js_cocos2dx_ui_ScrollView_getInnerContainer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToBottom", js_cocos2dx_ui_ScrollView_jumpToBottom, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDirection", js_cocos2dx_ui_ScrollView_setDirection, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToTopLeft", js_cocos2dx_ui_ScrollView_scrollToTopLeft, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToTopRight", js_cocos2dx_ui_ScrollView_jumpToTopRight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToBottomLeft", js_cocos2dx_ui_ScrollView_jumpToBottomLeft, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInnerContainerSize", js_cocos2dx_ui_ScrollView_setInnerContainerSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInnerContainerSize", js_cocos2dx_ui_ScrollView_getInnerContainerSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isBounceEnabled", js_cocos2dx_ui_ScrollView_isBounceEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToPercentVertical", js_cocos2dx_ui_ScrollView_jumpToPercentVertical, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInertiaScrollEnabled", js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToTopLeft", js_cocos2dx_ui_ScrollView_jumpToTopLeft, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToPercentHorizontal", js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToBottomRight", js_cocos2dx_ui_ScrollView_jumpToBottomRight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBounceEnabled", js_cocos2dx_ui_ScrollView_setBounceEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToTop", js_cocos2dx_ui_ScrollView_jumpToTop, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToLeft", js_cocos2dx_ui_ScrollView_scrollToLeft, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToPercentBothDirection", js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToPercentVertical", js_cocos2dx_ui_ScrollView_scrollToPercentVertical, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToBottom", js_cocos2dx_ui_ScrollView_scrollToBottom, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToBottomRight", js_cocos2dx_ui_ScrollView_scrollToBottomRight, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToLeft", js_cocos2dx_ui_ScrollView_jumpToLeft, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToRight", js_cocos2dx_ui_ScrollView_scrollToRight, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("jumpToRight", js_cocos2dx_ui_ScrollView_jumpToRight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToTopRight", js_cocos2dx_ui_ScrollView_scrollToTopRight, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_ScrollView_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_ScrollView_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_ScrollView_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_ScrollView_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Layout_prototype, jsb_cocos2d_ui_ScrollView_class, js_cocos2dx_ui_ScrollView_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "ScrollView", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::ScrollView> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_ScrollView_class; p->proto = jsb_cocos2d_ui_ScrollView_prototype; p->parentProto = jsb_cocos2d_ui_Layout_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_ListView_class; JSObject *jsb_cocos2d_ui_ListView_prototype; bool js_cocos2dx_ui_ListView_getIndex(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_getIndex : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_getIndex : Error processing arguments"); ssize_t ret = cobj->getIndex(arg0); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_getIndex : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_removeAllItems(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_removeAllItems : Invalid Native Object"); if (argc == 0) { cobj->removeAllItems(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_removeAllItems : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_setGravity(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_setGravity : Invalid Native Object"); if (argc == 1) { cocos2d::ui::ListView::Gravity arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_setGravity : Error processing arguments"); cobj->setGravity(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_setGravity : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_pushBackCustomItem(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_pushBackCustomItem : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_pushBackCustomItem : Error processing arguments"); cobj->pushBackCustomItem(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_pushBackCustomItem : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_getItems(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_getItems : Invalid Native Object"); if (argc == 0) { cocos2d::Vector<cocos2d::ui::Widget *>& ret = cobj->getItems(); jsval jsret = JSVAL_NULL; jsret = ccvector_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_getItems : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_removeItem(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_removeItem : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_removeItem : Error processing arguments"); cobj->removeItem(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_removeItem : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_getCurSelectedIndex(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_getCurSelectedIndex : Invalid Native Object"); if (argc == 0) { ssize_t ret = cobj->getCurSelectedIndex(); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_getCurSelectedIndex : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_insertDefaultItem(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_insertDefaultItem : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_insertDefaultItem : Error processing arguments"); cobj->insertDefaultItem(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_insertDefaultItem : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_requestRefreshView(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_requestRefreshView : Invalid Native Object"); if (argc == 0) { cobj->requestRefreshView(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_requestRefreshView : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_setItemsMargin(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_setItemsMargin : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_setItemsMargin : Error processing arguments"); cobj->setItemsMargin(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_setItemsMargin : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_refreshView(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_refreshView : Invalid Native Object"); if (argc == 0) { cobj->refreshView(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_refreshView : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_removeLastItem(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_removeLastItem : Invalid Native Object"); if (argc == 0) { cobj->removeLastItem(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_removeLastItem : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_getItemsMargin(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_getItemsMargin : Invalid Native Object"); if (argc == 0) { double ret = cobj->getItemsMargin(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_getItemsMargin : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_getItem(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_getItem : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_getItem : Error processing arguments"); cocos2d::ui::Widget* ret = cobj->getItem(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_getItem : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_setItemModel(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_setItemModel : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Widget* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_setItemModel : Error processing arguments"); cobj->setItemModel(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_setItemModel : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_ListView_doLayout(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_doLayout : Invalid Native Object"); if (argc == 0) { cobj->doLayout(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_doLayout : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_pushBackDefaultItem(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_pushBackDefaultItem : Invalid Native Object"); if (argc == 0) { cobj->pushBackDefaultItem(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_pushBackDefaultItem : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_ListView_insertCustomItem(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::ListView* cobj = (cocos2d::ui::ListView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_ListView_insertCustomItem : Invalid Native Object"); if (argc == 2) { cocos2d::ui::Widget* arg0; ssize_t arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_ssize(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_ListView_insertCustomItem : Error processing arguments"); cobj->insertCustomItem(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_insertCustomItem : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_ListView_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::ListView* ret = cocos2d::ui::ListView::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::ListView>(cx, (cocos2d::ui::ListView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ListView_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::ListView::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_ListView_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_ListView_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::ListView* cobj = new (std::nothrow) cocos2d::ui::ListView(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::ListView> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ListView"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_ScrollView_prototype; void js_cocos2d_ui_ListView_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (ListView)", obj); } static bool js_cocos2d_ui_ListView_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::ListView *nobj = new (std::nothrow) cocos2d::ui::ListView(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::ListView"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_ListView(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_ListView_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_ListView_class->name = "ListView"; jsb_cocos2d_ui_ListView_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_ListView_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_ListView_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_ListView_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_ListView_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_ListView_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_ListView_class->convert = JS_ConvertStub; jsb_cocos2d_ui_ListView_class->finalize = js_cocos2d_ui_ListView_finalize; jsb_cocos2d_ui_ListView_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("getIndex", js_cocos2dx_ui_ListView_getIndex, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeAllItems", js_cocos2dx_ui_ListView_removeAllItems, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setGravity", js_cocos2dx_ui_ListView_setGravity, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("pushBackCustomItem", js_cocos2dx_ui_ListView_pushBackCustomItem, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getItems", js_cocos2dx_ui_ListView_getItems, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeItem", js_cocos2dx_ui_ListView_removeItem, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCurSelectedIndex", js_cocos2dx_ui_ListView_getCurSelectedIndex, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("insertDefaultItem", js_cocos2dx_ui_ListView_insertDefaultItem, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("requestRefreshView", js_cocos2dx_ui_ListView_requestRefreshView, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setItemsMargin", js_cocos2dx_ui_ListView_setItemsMargin, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("refreshView", js_cocos2dx_ui_ListView_refreshView, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeLastItem", js_cocos2dx_ui_ListView_removeLastItem, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getItemsMargin", js_cocos2dx_ui_ListView_getItemsMargin, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getItem", js_cocos2dx_ui_ListView_getItem, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setItemModel", js_cocos2dx_ui_ListView_setItemModel, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("doLayout", js_cocos2dx_ui_ListView_doLayout, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("pushBackDefaultItem", js_cocos2dx_ui_ListView_pushBackDefaultItem, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("insertCustomItem", js_cocos2dx_ui_ListView_insertCustomItem, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_ListView_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_ListView_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_ListView_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_ListView_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_ScrollView_prototype, jsb_cocos2d_ui_ListView_class, js_cocos2dx_ui_ListView_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "ListView", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::ListView> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_ListView_class; p->proto = jsb_cocos2d_ui_ListView_prototype; p->parentProto = jsb_cocos2d_ui_ScrollView_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Slider_class; JSObject *jsb_cocos2d_ui_Slider_prototype; bool js_cocos2dx_ui_Slider_setPercent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setPercent : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setPercent : Error processing arguments"); cobj->setPercent(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setPercent : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled : Error processing arguments"); cobj->loadSlidBallTextureDisabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled : Error processing arguments"); cobj->loadSlidBallTextureDisabled(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_loadSlidBallTextureNormal(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureNormal : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureNormal : Error processing arguments"); cobj->loadSlidBallTextureNormal(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextureNormal : Error processing arguments"); cobj->loadSlidBallTextureNormal(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadSlidBallTextureNormal : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_loadBarTexture(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadBarTexture : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadBarTexture : Error processing arguments"); cobj->loadBarTexture(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadBarTexture : Error processing arguments"); cobj->loadBarTexture(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadBarTexture : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_loadProgressBarTexture(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadProgressBarTexture : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadProgressBarTexture : Error processing arguments"); cobj->loadProgressBarTexture(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadProgressBarTexture : Error processing arguments"); cobj->loadProgressBarTexture(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadProgressBarTexture : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_loadSlidBallTextures(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextures : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextures : Error processing arguments"); cobj->loadSlidBallTextures(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; std::string arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextures : Error processing arguments"); cobj->loadSlidBallTextures(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 3) { std::string arg0; std::string arg1; std::string arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextures : Error processing arguments"); cobj->loadSlidBallTextures(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 4) { std::string arg0; std::string arg1; std::string arg2; cocos2d::ui::Widget::TextureResType arg3; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= jsval_to_std_string(cx, argv[2], &arg2); ok &= jsval_to_int32(cx, argv[3], (int32_t *)&arg3); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTextures : Error processing arguments"); cobj->loadSlidBallTextures(arg0, arg1, arg2, arg3); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadSlidBallTextures : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer : Error processing arguments"); cobj->setCapInsetProgressBarRebderer(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_setCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setCapInsetsBarRenderer : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setCapInsetsBarRenderer : Error processing arguments"); cobj->setCapInsetsBarRenderer(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setCapInsetsBarRenderer : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsetsProgressBarRebderer(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Slider_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setScale9Enabled : Error processing arguments"); cobj->setScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setZoomScale : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setZoomScale : Error processing arguments"); cobj->setZoomScale(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setZoomScale : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_setCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_setCapInsets : Error processing arguments"); cobj->setCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_setCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_getZoomScale : Invalid Native Object"); if (argc == 0) { double ret = cobj->getZoomScale(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_getZoomScale : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Slider_loadSlidBallTexturePressed(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTexturePressed : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTexturePressed : Error processing arguments"); cobj->loadSlidBallTexturePressed(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { std::string arg0; cocos2d::ui::Widget::TextureResType arg1; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Slider_loadSlidBallTexturePressed : Error processing arguments"); cobj->loadSlidBallTexturePressed(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_loadSlidBallTexturePressed : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Slider_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_isScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_isScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Slider_getCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_getCapInsetsBarRenderer : Invalid Native Object"); if (argc == 0) { const cocos2d::Rect& ret = cobj->getCapInsetsBarRenderer(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_getCapInsetsBarRenderer : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Slider_getPercent(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Slider* cobj = (cocos2d::ui::Slider *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Slider_getPercent : Invalid Native Object"); if (argc == 0) { int ret = cobj->getPercent(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_getPercent : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Slider_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Slider* ret = cocos2d::ui::Slider::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Slider>(cx, (cocos2d::ui::Slider*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } cocos2d::ui::Slider* ret = cocos2d::ui::Slider::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Slider>(cx, (cocos2d::ui::Slider*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::Slider* ret = cocos2d::ui::Slider::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Slider>(cx, (cocos2d::ui::Slider*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Slider_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Slider_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::Slider::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Slider_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Slider_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Slider* cobj = new (std::nothrow) cocos2d::ui::Slider(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Slider> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Slider"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_Slider_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Slider)", obj); } static bool js_cocos2d_ui_Slider_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Slider *nobj = new (std::nothrow) cocos2d::ui::Slider(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Slider"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Slider(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Slider_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Slider_class->name = "Slider"; jsb_cocos2d_ui_Slider_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Slider_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Slider_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Slider_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Slider_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Slider_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Slider_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Slider_class->finalize = js_cocos2d_ui_Slider_finalize; jsb_cocos2d_ui_Slider_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setPercent", js_cocos2dx_ui_Slider_setPercent, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadSlidBallTextureDisabled", js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadSlidBallTextureNormal", js_cocos2dx_ui_Slider_loadSlidBallTextureNormal, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadBarTexture", js_cocos2dx_ui_Slider_loadBarTexture, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadProgressBarTexture", js_cocos2dx_ui_Slider_loadProgressBarTexture, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadSlidBallTextures", js_cocos2dx_ui_Slider_loadSlidBallTextures, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsetProgressBarRebderer", js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsetsBarRenderer", js_cocos2dx_ui_Slider_setCapInsetsBarRenderer, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsetsProgressBarRebderer", js_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setScale9Enabled", js_cocos2dx_ui_Slider_setScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setZoomScale", js_cocos2dx_ui_Slider_setZoomScale, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsets", js_cocos2dx_ui_Slider_setCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getZoomScale", js_cocos2dx_ui_Slider_getZoomScale, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("loadSlidBallTexturePressed", js_cocos2dx_ui_Slider_loadSlidBallTexturePressed, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isScale9Enabled", js_cocos2dx_ui_Slider_isScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsetsBarRenderer", js_cocos2dx_ui_Slider_getCapInsetsBarRenderer, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPercent", js_cocos2dx_ui_Slider_getPercent, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Slider_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_Slider_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_Slider_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Slider_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_Slider_class, js_cocos2dx_ui_Slider_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Slider", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Slider> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Slider_class; p->proto = jsb_cocos2d_ui_Slider_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_UICCTextField_class; JSObject *jsb_cocos2d_ui_UICCTextField_prototype; bool js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME : Invalid Native Object"); if (argc == 1) { cocos2d::TextFieldTTF* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::TextFieldTTF*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME : Error processing arguments"); bool ret = cobj->onTextFieldAttachWithIME(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_setPasswordText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordText : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordText : Error processing arguments"); cobj->setPasswordText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setPasswordText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_setAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setAttachWithIME : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setAttachWithIME : Error processing arguments"); cobj->setAttachWithIME(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setAttachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_getDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getDeleteBackward : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getDeleteBackward(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getDeleteBackward : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_getAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getAttachWithIME : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getAttachWithIME(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getAttachWithIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward : Invalid Native Object"); if (argc == 3) { cocos2d::TextFieldTTF* arg0; const char* arg1; unsigned long arg2; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::TextFieldTTF*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); std::string arg1_tmp; ok &= jsval_to_std_string(cx, argv[1], &arg1_tmp); arg1 = arg1_tmp.c_str(); ok &= jsval_to_ulong(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward : Error processing arguments"); bool ret = cobj->onTextFieldDeleteBackward(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_UICCTextField_getInsertText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getInsertText : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getInsertText(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getInsertText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_deleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_deleteBackward : Invalid Native Object"); if (argc == 0) { cobj->deleteBackward(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_deleteBackward : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_setInsertText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setInsertText : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setInsertText : Error processing arguments"); cobj->setInsertText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setInsertText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_getDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getDetachWithIME : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getDetachWithIME(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getDetachWithIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_getCharCount(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getCharCount : Invalid Native Object"); if (argc == 0) { int ret = cobj->getCharCount(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getCharCount : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_closeIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_closeIME : Invalid Native Object"); if (argc == 0) { cobj->closeIME(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_closeIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_setPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordEnabled : Error processing arguments"); cobj->setPasswordEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setPasswordEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled : Error processing arguments"); cobj->setMaxLengthEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_isPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_isPasswordEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPasswordEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_isPasswordEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_insertText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_insertText : Invalid Native Object"); if (argc == 2) { const char* arg0; unsigned long arg1; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); ok &= jsval_to_ulong(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_insertText : Error processing arguments"); cobj->insertText(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_insertText : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_UICCTextField_setPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordStyleText : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setPasswordStyleText : Error processing arguments"); cobj->setPasswordStyleText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setPasswordStyleText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_onTextFieldInsertText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldInsertText : Invalid Native Object"); if (argc == 3) { cocos2d::TextFieldTTF* arg0; const char* arg1; unsigned long arg2; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::TextFieldTTF*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); std::string arg1_tmp; ok &= jsval_to_std_string(cx, argv[1], &arg1_tmp); arg1 = arg1_tmp.c_str(); ok &= jsval_to_ulong(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldInsertText : Error processing arguments"); bool ret = cobj->onTextFieldInsertText(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_onTextFieldInsertText : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME : Invalid Native Object"); if (argc == 1) { cocos2d::TextFieldTTF* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::TextFieldTTF*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME : Error processing arguments"); bool ret = cobj->onTextFieldDetachWithIME(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_getMaxLength : Invalid Native Object"); if (argc == 0) { int ret = cobj->getMaxLength(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_getMaxLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_isMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_isMaxLengthEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isMaxLengthEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_isMaxLengthEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_openIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_openIME : Invalid Native Object"); if (argc == 0) { cobj->openIME(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_openIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_UICCTextField_setDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setDetachWithIME : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setDetachWithIME : Error processing arguments"); cobj->setDetachWithIME(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setDetachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setMaxLength : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setMaxLength : Error processing arguments"); cobj->setMaxLength(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setMaxLength : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_setDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::UICCTextField* cobj = (cocos2d::ui::UICCTextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_UICCTextField_setDeleteBackward : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_setDeleteBackward : Error processing arguments"); cobj->setDeleteBackward(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_setDeleteBackward : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_UICCTextField_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 3) { std::string arg0; std::string arg1; double arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_std_string(cx, argv[1], &arg1); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[2]), &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_UICCTextField_create : Error processing arguments"); cocos2d::ui::UICCTextField* ret = cocos2d::ui::UICCTextField::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::UICCTextField>(cx, (cocos2d::ui::UICCTextField*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_UICCTextField_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_UICCTextField_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::UICCTextField* cobj = new (std::nothrow) cocos2d::ui::UICCTextField(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::UICCTextField> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::UICCTextField"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_TextFieldTTF_prototype; void js_cocos2d_ui_UICCTextField_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (UICCTextField)", obj); } void js_register_cocos2dx_ui_UICCTextField(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_UICCTextField_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_UICCTextField_class->name = "UICCTextField"; jsb_cocos2d_ui_UICCTextField_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_UICCTextField_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_UICCTextField_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_UICCTextField_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_UICCTextField_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_UICCTextField_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_UICCTextField_class->convert = JS_ConvertStub; jsb_cocos2d_ui_UICCTextField_class->finalize = js_cocos2d_ui_UICCTextField_finalize; jsb_cocos2d_ui_UICCTextField_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("onTextFieldAttachWithIME", js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPasswordText", js_cocos2dx_ui_UICCTextField_setPasswordText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setAttachWithIME", js_cocos2dx_ui_UICCTextField_setAttachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDeleteBackward", js_cocos2dx_ui_UICCTextField_getDeleteBackward, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAttachWithIME", js_cocos2dx_ui_UICCTextField_getAttachWithIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("onTextFieldDeleteBackward", js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsertText", js_cocos2dx_ui_UICCTextField_getInsertText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("deleteBackward", js_cocos2dx_ui_UICCTextField_deleteBackward, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsertText", js_cocos2dx_ui_UICCTextField_setInsertText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDetachWithIME", js_cocos2dx_ui_UICCTextField_getDetachWithIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCharCount", js_cocos2dx_ui_UICCTextField_getCharCount, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("closeIME", js_cocos2dx_ui_UICCTextField_closeIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPasswordEnabled", js_cocos2dx_ui_UICCTextField_setPasswordEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setMaxLengthEnabled", js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPasswordEnabled", js_cocos2dx_ui_UICCTextField_isPasswordEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("insertText", js_cocos2dx_ui_UICCTextField_insertText, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPasswordStyleText", js_cocos2dx_ui_UICCTextField_setPasswordStyleText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("onTextFieldInsertText", js_cocos2dx_ui_UICCTextField_onTextFieldInsertText, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("onTextFieldDetachWithIME", js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getMaxLength", js_cocos2dx_ui_UICCTextField_getMaxLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isMaxLengthEnabled", js_cocos2dx_ui_UICCTextField_isMaxLengthEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("openIME", js_cocos2dx_ui_UICCTextField_openIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDetachWithIME", js_cocos2dx_ui_UICCTextField_setDetachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setMaxLength", js_cocos2dx_ui_UICCTextField_setMaxLength, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDeleteBackward", js_cocos2dx_ui_UICCTextField_setDeleteBackward, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_UICCTextField_create, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_UICCTextField_prototype = JS_InitClass( cx, global, jsb_cocos2d_TextFieldTTF_prototype, jsb_cocos2d_ui_UICCTextField_class, js_cocos2dx_ui_UICCTextField_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "UICCTextField", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::UICCTextField> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_UICCTextField_class; p->proto = jsb_cocos2d_ui_UICCTextField_prototype; p->parentProto = jsb_cocos2d_TextFieldTTF_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_TextField_class; JSObject *jsb_cocos2d_ui_TextField_prototype; bool js_cocos2dx_ui_TextField_setAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setAttachWithIME : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setAttachWithIME : Error processing arguments"); cobj->setAttachWithIME(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setAttachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getFontSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getFontSize : Invalid Native Object"); if (argc == 0) { int ret = cobj->getFontSize(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getFontSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getString(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getString : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getString(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getString : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setPasswordStyleText : Invalid Native Object"); if (argc == 1) { const char* arg0; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setPasswordStyleText : Error processing arguments"); cobj->setPasswordStyleText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setPasswordStyleText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getDeleteBackward : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getDeleteBackward(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getDeleteBackward : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getPlaceHolder : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getPlaceHolder(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getPlaceHolder : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getAttachWithIME : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getAttachWithIME(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getAttachWithIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setFontName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setFontName : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setFontName : Error processing arguments"); cobj->setFontName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setFontName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getInsertText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getInsertText : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getInsertText(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getInsertText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setInsertText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setInsertText : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setInsertText : Error processing arguments"); cobj->setInsertText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setInsertText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setString(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setString : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setString : Error processing arguments"); cobj->setString(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setString : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getDetachWithIME : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getDetachWithIME(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getDetachWithIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTextVerticalAlignment : Invalid Native Object"); if (argc == 1) { cocos2d::TextVAlignment arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTextVerticalAlignment : Error processing arguments"); cobj->setTextVerticalAlignment(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTextVerticalAlignment : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_didNotSelectSelf(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_didNotSelectSelf : Invalid Native Object"); if (argc == 0) { cobj->didNotSelectSelf(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_didNotSelectSelf : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getFontName(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getFontName : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getFontName(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getFontName : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTextAreaSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTextAreaSize : Error processing arguments"); cobj->setTextAreaSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTextAreaSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_attachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_attachWithIME : Invalid Native Object"); if (argc == 0) { cobj->attachWithIME(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_attachWithIME : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getStringLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getStringLength : Invalid Native Object"); if (argc == 0) { int ret = cobj->getStringLength(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getStringLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getAutoRenderSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getAutoRenderSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getAutoRenderSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getAutoRenderSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setPasswordEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setPasswordEnabled : Error processing arguments"); cobj->setPasswordEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setPasswordEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getPlaceHolderColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getPlaceHolderColor : Invalid Native Object"); if (argc == 0) { const cocos2d::Color4B& ret = cobj->getPlaceHolderColor(); jsval jsret = JSVAL_NULL; jsret = cccolor4b_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getPlaceHolderColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_getPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getPasswordStyleText : Invalid Native Object"); if (argc == 0) { const char* ret = cobj->getPasswordStyleText(); jsval jsret = JSVAL_NULL; jsret = c_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getPasswordStyleText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setMaxLengthEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setMaxLengthEnabled : Error processing arguments"); cobj->setMaxLengthEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setMaxLengthEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_isPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_isPasswordEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPasswordEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_isPasswordEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setDeleteBackward : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setDeleteBackward : Error processing arguments"); cobj->setDeleteBackward(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setDeleteBackward : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setFontSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setFontSize : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setFontSize : Error processing arguments"); cobj->setFontSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setFontSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setPlaceHolder : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setPlaceHolder : Error processing arguments"); cobj->setPlaceHolder(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setPlaceHolder : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setPlaceHolderColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::TextField* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setPlaceHolderColor : Invalid Native Object"); do { if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cobj->setPlaceHolderColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); do { if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cobj->setPlaceHolderColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_TextField_setPlaceHolderColor : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextField_setTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTextHorizontalAlignment : Invalid Native Object"); if (argc == 1) { cocos2d::TextHAlignment arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTextHorizontalAlignment : Error processing arguments"); cobj->setTextHorizontalAlignment(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTextHorizontalAlignment : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setTextColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTextColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color4B arg0; ok &= jsval_to_cccolor4b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTextColor : Error processing arguments"); cobj->setTextColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTextColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getMaxLength : Invalid Native Object"); if (argc == 0) { int ret = cobj->getMaxLength(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getMaxLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_isMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_isMaxLengthEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isMaxLengthEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_isMaxLengthEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_setDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setDetachWithIME : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setDetachWithIME : Error processing arguments"); cobj->setDetachWithIME(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setDetachWithIME : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setTouchAreaEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTouchAreaEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTouchAreaEnabled : Error processing arguments"); cobj->setTouchAreaEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTouchAreaEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_hitTest(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_hitTest : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_hitTest : Error processing arguments"); bool ret = cobj->hitTest(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_hitTest : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setMaxLength : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setMaxLength : Error processing arguments"); cobj->setMaxLength(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setMaxLength : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_setTouchSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_setTouchSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextField_setTouchSize : Error processing arguments"); cobj->setTouchSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_setTouchSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextField_getTouchSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextField* cobj = (cocos2d::ui::TextField *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextField_getTouchSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getTouchSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_getTouchSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextField_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } int arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } cocos2d::ui::TextField* ret = cocos2d::ui::TextField::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextField>(cx, (cocos2d::ui::TextField*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::TextField* ret = cocos2d::ui::TextField::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextField>(cx, (cocos2d::ui::TextField*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_TextField_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextField_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::TextField::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextField_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextField_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::TextField* cobj = new (std::nothrow) cocos2d::ui::TextField(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::TextField> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextField"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_TextField_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (TextField)", obj); } static bool js_cocos2d_ui_TextField_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::TextField *nobj = new (std::nothrow) cocos2d::ui::TextField(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextField"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_TextField(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_TextField_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_TextField_class->name = "TextField"; jsb_cocos2d_ui_TextField_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_TextField_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_TextField_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_TextField_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_TextField_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_TextField_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_TextField_class->convert = JS_ConvertStub; jsb_cocos2d_ui_TextField_class->finalize = js_cocos2d_ui_TextField_finalize; jsb_cocos2d_ui_TextField_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setAttachWithIME", js_cocos2dx_ui_TextField_setAttachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getFontSize", js_cocos2dx_ui_TextField_getFontSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getString", js_cocos2dx_ui_TextField_getString, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPasswordStyleText", js_cocos2dx_ui_TextField_setPasswordStyleText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDeleteBackward", js_cocos2dx_ui_TextField_getDeleteBackward, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPlaceHolder", js_cocos2dx_ui_TextField_getPlaceHolder, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAttachWithIME", js_cocos2dx_ui_TextField_getAttachWithIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontName", js_cocos2dx_ui_TextField_setFontName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsertText", js_cocos2dx_ui_TextField_getInsertText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsertText", js_cocos2dx_ui_TextField_setInsertText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setString", js_cocos2dx_ui_TextField_setString, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getDetachWithIME", js_cocos2dx_ui_TextField_getDetachWithIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextVerticalAlignment", js_cocos2dx_ui_TextField_setTextVerticalAlignment, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("didNotSelectSelf", js_cocos2dx_ui_TextField_didNotSelectSelf, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getFontName", js_cocos2dx_ui_TextField_getFontName, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextAreaSize", js_cocos2dx_ui_TextField_setTextAreaSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("attachWithIME", js_cocos2dx_ui_TextField_attachWithIME, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getStringLength", js_cocos2dx_ui_TextField_getStringLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAutoRenderSize", js_cocos2dx_ui_TextField_getAutoRenderSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPasswordEnabled", js_cocos2dx_ui_TextField_setPasswordEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPlaceHolderColor", js_cocos2dx_ui_TextField_getPlaceHolderColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPasswordStyleText", js_cocos2dx_ui_TextField_getPasswordStyleText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setMaxLengthEnabled", js_cocos2dx_ui_TextField_setMaxLengthEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPasswordEnabled", js_cocos2dx_ui_TextField_isPasswordEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDeleteBackward", js_cocos2dx_ui_TextField_setDeleteBackward, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontSize", js_cocos2dx_ui_TextField_setFontSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceHolder", js_cocos2dx_ui_TextField_setPlaceHolder, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceHolderColor", js_cocos2dx_ui_TextField_setPlaceHolderColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextHorizontalAlignment", js_cocos2dx_ui_TextField_setTextHorizontalAlignment, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTextColor", js_cocos2dx_ui_TextField_setTextColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getMaxLength", js_cocos2dx_ui_TextField_getMaxLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isMaxLengthEnabled", js_cocos2dx_ui_TextField_isMaxLengthEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setDetachWithIME", js_cocos2dx_ui_TextField_setDetachWithIME, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTouchAreaEnabled", js_cocos2dx_ui_TextField_setTouchAreaEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("hitTest", js_cocos2dx_ui_TextField_hitTest, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setMaxLength", js_cocos2dx_ui_TextField_setMaxLength, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTouchSize", js_cocos2dx_ui_TextField_setTouchSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTouchSize", js_cocos2dx_ui_TextField_getTouchSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_TextField_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_TextField_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_TextField_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_TextField_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_TextField_class, js_cocos2dx_ui_TextField_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "TextField", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::TextField> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_TextField_class; p->proto = jsb_cocos2d_ui_TextField_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_TextBMFont_class; JSObject *jsb_cocos2d_ui_TextBMFont_prototype; bool js_cocos2dx_ui_TextBMFont_setFntFile(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextBMFont* cobj = (cocos2d::ui::TextBMFont *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextBMFont_setFntFile : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextBMFont_setFntFile : Error processing arguments"); cobj->setFntFile(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_setFntFile : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextBMFont_getStringLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextBMFont* cobj = (cocos2d::ui::TextBMFont *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextBMFont_getStringLength : Invalid Native Object"); if (argc == 0) { ssize_t ret = cobj->getStringLength(); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_getStringLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextBMFont_setString(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextBMFont* cobj = (cocos2d::ui::TextBMFont *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextBMFont_setString : Invalid Native Object"); if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_TextBMFont_setString : Error processing arguments"); cobj->setString(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_setString : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_TextBMFont_getString(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::TextBMFont* cobj = (cocos2d::ui::TextBMFont *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TextBMFont_getString : Invalid Native Object"); if (argc == 0) { const std::string& ret = cobj->getString(); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_getString : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_TextBMFont_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::TextBMFont* ret = cocos2d::ui::TextBMFont::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextBMFont>(cx, (cocos2d::ui::TextBMFont*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::TextBMFont* ret = cocos2d::ui::TextBMFont::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::TextBMFont>(cx, (cocos2d::ui::TextBMFont*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextBMFont_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::TextBMFont::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_TextBMFont_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_TextBMFont_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::TextBMFont* cobj = new (std::nothrow) cocos2d::ui::TextBMFont(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::TextBMFont> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextBMFont"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_TextBMFont_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (TextBMFont)", obj); } static bool js_cocos2d_ui_TextBMFont_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::TextBMFont *nobj = new (std::nothrow) cocos2d::ui::TextBMFont(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::TextBMFont"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_TextBMFont(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_TextBMFont_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_TextBMFont_class->name = "TextBMFont"; jsb_cocos2d_ui_TextBMFont_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_TextBMFont_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_TextBMFont_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_TextBMFont_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_TextBMFont_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_TextBMFont_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_TextBMFont_class->convert = JS_ConvertStub; jsb_cocos2d_ui_TextBMFont_class->finalize = js_cocos2d_ui_TextBMFont_finalize; jsb_cocos2d_ui_TextBMFont_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setFntFile", js_cocos2dx_ui_TextBMFont_setFntFile, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getStringLength", js_cocos2dx_ui_TextBMFont_getStringLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setString", js_cocos2dx_ui_TextBMFont_setString, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getString", js_cocos2dx_ui_TextBMFont_getString, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_TextBMFont_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_TextBMFont_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_TextBMFont_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_TextBMFont_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_TextBMFont_class, js_cocos2dx_ui_TextBMFont_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "TextBMFont", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::TextBMFont> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_TextBMFont_class; p->proto = jsb_cocos2d_ui_TextBMFont_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_PageView_class; JSObject *jsb_cocos2d_ui_PageView_prototype; bool js_cocos2dx_ui_PageView_getCustomScrollThreshold(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_getCustomScrollThreshold : Invalid Native Object"); if (argc == 0) { double ret = cobj->getCustomScrollThreshold(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_getCustomScrollThreshold : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_PageView_getCurPageIndex(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_getCurPageIndex : Invalid Native Object"); if (argc == 0) { ssize_t ret = cobj->getCurPageIndex(); jsval jsret = JSVAL_NULL; jsret = ssize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_getCurPageIndex : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_PageView_addWidgetToPage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_addWidgetToPage : Invalid Native Object"); if (argc == 3) { cocos2d::ui::Widget* arg0; ssize_t arg1; bool arg2; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_ssize(cx, argv[1], &arg1); arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_addWidgetToPage : Error processing arguments"); cobj->addWidgetToPage(arg0, arg1, arg2); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_addWidgetToPage : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_PageView_isUsingCustomScrollThreshold(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_isUsingCustomScrollThreshold : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isUsingCustomScrollThreshold(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_isUsingCustomScrollThreshold : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_PageView_getPage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_getPage : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_getPage : Error processing arguments"); cocos2d::ui::Layout* ret = cobj->getPage(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Layout>(cx, (cocos2d::ui::Layout*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_getPage : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_removePage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_removePage : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Layout* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Layout*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_removePage : Error processing arguments"); cobj->removePage(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_removePage : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_setUsingCustomScrollThreshold(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_setUsingCustomScrollThreshold : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_setUsingCustomScrollThreshold : Error processing arguments"); cobj->setUsingCustomScrollThreshold(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_setUsingCustomScrollThreshold : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_setCustomScrollThreshold(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_setCustomScrollThreshold : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_setCustomScrollThreshold : Error processing arguments"); cobj->setCustomScrollThreshold(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_setCustomScrollThreshold : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_insertPage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_insertPage : Invalid Native Object"); if (argc == 2) { cocos2d::ui::Layout* arg0; int arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Layout*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_insertPage : Error processing arguments"); cobj->insertPage(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_insertPage : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_PageView_scrollToPage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_scrollToPage : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_scrollToPage : Error processing arguments"); cobj->scrollToPage(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_scrollToPage : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_removePageAtIndex(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_removePageAtIndex : Invalid Native Object"); if (argc == 1) { ssize_t arg0; ok &= jsval_to_ssize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_removePageAtIndex : Error processing arguments"); cobj->removePageAtIndex(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_removePageAtIndex : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_getPages(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_getPages : Invalid Native Object"); if (argc == 0) { cocos2d::Vector<cocos2d::ui::Layout *>& ret = cobj->getPages(); jsval jsret = JSVAL_NULL; jsret = ccvector_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_getPages : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_PageView_removeAllPages(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_removeAllPages : Invalid Native Object"); if (argc == 0) { cobj->removeAllPages(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_removeAllPages : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_PageView_addPage(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::PageView* cobj = (cocos2d::ui::PageView *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_PageView_addPage : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Layout* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Layout*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_PageView_addPage : Error processing arguments"); cobj->addPage(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_addPage : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_PageView_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::PageView* ret = cocos2d::ui::PageView::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::PageView>(cx, (cocos2d::ui::PageView*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_PageView_createInstance(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::Ref* ret = cocos2d::ui::PageView::createInstance(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Ref>(cx, (cocos2d::Ref*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_PageView_createInstance : wrong number of arguments"); return false; } bool js_cocos2dx_ui_PageView_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::PageView* cobj = new (std::nothrow) cocos2d::ui::PageView(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::PageView> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::PageView"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Layout_prototype; void js_cocos2d_ui_PageView_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (PageView)", obj); } static bool js_cocos2d_ui_PageView_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::PageView *nobj = new (std::nothrow) cocos2d::ui::PageView(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::PageView"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_PageView(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_PageView_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_PageView_class->name = "PageView"; jsb_cocos2d_ui_PageView_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_PageView_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_PageView_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_PageView_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_PageView_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_PageView_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_PageView_class->convert = JS_ConvertStub; jsb_cocos2d_ui_PageView_class->finalize = js_cocos2d_ui_PageView_finalize; jsb_cocos2d_ui_PageView_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("getCustomScrollThreshold", js_cocos2dx_ui_PageView_getCustomScrollThreshold, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCurPageIndex", js_cocos2dx_ui_PageView_getCurPageIndex, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("addWidgetToPage", js_cocos2dx_ui_PageView_addWidgetToPage, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isUsingCustomScrollThreshold", js_cocos2dx_ui_PageView_isUsingCustomScrollThreshold, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPage", js_cocos2dx_ui_PageView_getPage, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removePage", js_cocos2dx_ui_PageView_removePage, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setUsingCustomScrollThreshold", js_cocos2dx_ui_PageView_setUsingCustomScrollThreshold, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCustomScrollThreshold", js_cocos2dx_ui_PageView_setCustomScrollThreshold, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("insertPage", js_cocos2dx_ui_PageView_insertPage, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("scrollToPage", js_cocos2dx_ui_PageView_scrollToPage, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removePageAtIndex", js_cocos2dx_ui_PageView_removePageAtIndex, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPages", js_cocos2dx_ui_PageView_getPages, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeAllPages", js_cocos2dx_ui_PageView_removeAllPages, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("addPage", js_cocos2dx_ui_PageView_addPage, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_PageView_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_PageView_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createInstance", js_cocos2dx_ui_PageView_createInstance, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_PageView_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Layout_prototype, jsb_cocos2d_ui_PageView_class, js_cocos2dx_ui_PageView_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "PageView", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::PageView> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_PageView_class; p->proto = jsb_cocos2d_ui_PageView_prototype; p->parentProto = jsb_cocos2d_ui_Layout_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Helper_class; JSObject *jsb_cocos2d_ui_Helper_prototype; bool js_cocos2dx_ui_Helper_getSubStringOfUTF8String(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 3) { std::string arg0; unsigned long arg1; unsigned long arg2; ok &= jsval_to_std_string(cx, argv[0], &arg0); ok &= jsval_to_ulong(cx, argv[1], &arg1); ok &= jsval_to_ulong(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_getSubStringOfUTF8String : Error processing arguments"); std::string ret = cocos2d::ui::Helper::getSubStringOfUTF8String(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = std_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_getSubStringOfUTF8String : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_changeLayoutSystemActiveState(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_changeLayoutSystemActiveState : Error processing arguments"); cocos2d::ui::Helper::changeLayoutSystemActiveState(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_changeLayoutSystemActiveState : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_seekActionWidgetByActionTag(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 2) { cocos2d::ui::Widget* arg0; int arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_seekActionWidgetByActionTag : Error processing arguments"); cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekActionWidgetByActionTag(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_seekActionWidgetByActionTag : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_seekWidgetByName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 2) { cocos2d::ui::Widget* arg0; std::string arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_std_string(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_seekWidgetByName : Error processing arguments"); cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByName(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_seekWidgetByName : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_seekWidgetByTag(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 2) { cocos2d::ui::Widget* arg0; int arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::Widget*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_seekWidgetByTag : Error processing arguments"); cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Widget>(cx, (cocos2d::ui::Widget*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_seekWidgetByTag : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_restrictCapInsetRect(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 2) { cocos2d::Rect arg0; cocos2d::Size arg1; ok &= jsval_to_ccrect(cx, argv[0], &arg0); ok &= jsval_to_ccsize(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_restrictCapInsetRect : Error processing arguments"); cocos2d::Rect ret = cocos2d::ui::Helper::restrictCapInsetRect(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_restrictCapInsetRect : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Helper_doLayout(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 1) { cocos2d::Node* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Node*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Helper_doLayout : Error processing arguments"); cocos2d::ui::Helper::doLayout(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Helper_doLayout : wrong number of arguments"); return false; } void js_cocos2d_ui_Helper_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Helper)", obj); } void js_register_cocos2dx_ui_Helper(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Helper_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Helper_class->name = "Helper"; jsb_cocos2d_ui_Helper_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Helper_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Helper_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Helper_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Helper_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Helper_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Helper_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Helper_class->finalize = js_cocos2d_ui_Helper_finalize; jsb_cocos2d_ui_Helper_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("getSubStringOfUTF8String", js_cocos2dx_ui_Helper_getSubStringOfUTF8String, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("changeLayoutSystemActiveState", js_cocos2dx_ui_Helper_changeLayoutSystemActiveState, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("seekActionWidgetByActionTag", js_cocos2dx_ui_Helper_seekActionWidgetByActionTag, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("seekWidgetByName", js_cocos2dx_ui_Helper_seekWidgetByName, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("seekWidgetByTag", js_cocos2dx_ui_Helper_seekWidgetByTag, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("restrictCapInsetRect", js_cocos2dx_ui_Helper_restrictCapInsetRect, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("doLayout", js_cocos2dx_ui_Helper_doLayout, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Helper_prototype = JS_InitClass( cx, global, NULL, // parent proto jsb_cocos2d_ui_Helper_class, empty_constructor, 0, properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Helper", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Helper> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Helper_class; p->proto = jsb_cocos2d_ui_Helper_prototype; p->parentProto = NULL; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RichElement_class; JSObject *jsb_cocos2d_ui_RichElement_prototype; bool js_cocos2dx_ui_RichElement_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichElement* cobj = (cocos2d::ui::RichElement *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichElement_init : Invalid Native Object"); if (argc == 3) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElement_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElement_init : wrong number of arguments: %d, was expecting %d", argc, 3); return false; } bool js_cocos2dx_ui_RichElement_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RichElement* cobj = new (std::nothrow) cocos2d::ui::RichElement(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RichElement> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElement"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } void js_cocos2d_ui_RichElement_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RichElement)", obj); } static bool js_cocos2d_ui_RichElement_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RichElement *nobj = new (std::nothrow) cocos2d::ui::RichElement(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElement"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RichElement(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RichElement_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RichElement_class->name = "RichElement"; jsb_cocos2d_ui_RichElement_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElement_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RichElement_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElement_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RichElement_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RichElement_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RichElement_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RichElement_class->finalize = js_cocos2d_ui_RichElement_finalize; jsb_cocos2d_ui_RichElement_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("init", js_cocos2dx_ui_RichElement_init, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RichElement_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; JSFunctionSpec *st_funcs = NULL; jsb_cocos2d_ui_RichElement_prototype = JS_InitClass( cx, global, NULL, // parent proto jsb_cocos2d_ui_RichElement_class, js_cocos2dx_ui_RichElement_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RichElement", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RichElement> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RichElement_class; p->proto = jsb_cocos2d_ui_RichElement_prototype; p->parentProto = NULL; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RichElementText_class; JSObject *jsb_cocos2d_ui_RichElementText_prototype; bool js_cocos2dx_ui_RichElementText_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichElementText* cobj = (cocos2d::ui::RichElementText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichElementText_init : Invalid Native Object"); if (argc == 6) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; std::string arg3; std::string arg4; double arg5; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[5]), &arg5); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementText_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementText_init : wrong number of arguments: %d, was expecting %d", argc, 6); return false; } bool js_cocos2dx_ui_RichElementText_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 6) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; std::string arg3; std::string arg4; double arg5; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); ok &= jsval_to_std_string(cx, argv[4], &arg4); ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[5]), &arg5); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementText_create : Error processing arguments"); cocos2d::ui::RichElementText* ret = cocos2d::ui::RichElementText::create(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RichElementText>(cx, (cocos2d::ui::RichElementText*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementText_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RichElementText_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RichElementText* cobj = new (std::nothrow) cocos2d::ui::RichElementText(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RichElementText> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementText"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_RichElement_prototype; void js_cocos2d_ui_RichElementText_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RichElementText)", obj); } static bool js_cocos2d_ui_RichElementText_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RichElementText *nobj = new (std::nothrow) cocos2d::ui::RichElementText(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementText"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RichElementText(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RichElementText_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RichElementText_class->name = "RichElementText"; jsb_cocos2d_ui_RichElementText_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementText_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RichElementText_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementText_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RichElementText_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RichElementText_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RichElementText_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RichElementText_class->finalize = js_cocos2d_ui_RichElementText_finalize; jsb_cocos2d_ui_RichElementText_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("init", js_cocos2dx_ui_RichElementText_init, 6, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RichElementText_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RichElementText_create, 6, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RichElementText_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_RichElement_prototype, jsb_cocos2d_ui_RichElementText_class, js_cocos2dx_ui_RichElementText_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RichElementText", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RichElementText> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RichElementText_class; p->proto = jsb_cocos2d_ui_RichElementText_prototype; p->parentProto = jsb_cocos2d_ui_RichElement_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RichElementImage_class; JSObject *jsb_cocos2d_ui_RichElementImage_prototype; bool js_cocos2dx_ui_RichElementImage_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichElementImage* cobj = (cocos2d::ui::RichElementImage *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichElementImage_init : Invalid Native Object"); if (argc == 4) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; std::string arg3; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementImage_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementImage_init : wrong number of arguments: %d, was expecting %d", argc, 4); return false; } bool js_cocos2dx_ui_RichElementImage_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 4) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; std::string arg3; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); ok &= jsval_to_std_string(cx, argv[3], &arg3); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementImage_create : Error processing arguments"); cocos2d::ui::RichElementImage* ret = cocos2d::ui::RichElementImage::create(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RichElementImage>(cx, (cocos2d::ui::RichElementImage*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementImage_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RichElementImage_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RichElementImage* cobj = new (std::nothrow) cocos2d::ui::RichElementImage(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RichElementImage> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementImage"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_RichElement_prototype; void js_cocos2d_ui_RichElementImage_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RichElementImage)", obj); } static bool js_cocos2d_ui_RichElementImage_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RichElementImage *nobj = new (std::nothrow) cocos2d::ui::RichElementImage(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementImage"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RichElementImage(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RichElementImage_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RichElementImage_class->name = "RichElementImage"; jsb_cocos2d_ui_RichElementImage_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementImage_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RichElementImage_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementImage_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RichElementImage_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RichElementImage_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RichElementImage_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RichElementImage_class->finalize = js_cocos2d_ui_RichElementImage_finalize; jsb_cocos2d_ui_RichElementImage_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("init", js_cocos2dx_ui_RichElementImage_init, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RichElementImage_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RichElementImage_create, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RichElementImage_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_RichElement_prototype, jsb_cocos2d_ui_RichElementImage_class, js_cocos2dx_ui_RichElementImage_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RichElementImage", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RichElementImage> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RichElementImage_class; p->proto = jsb_cocos2d_ui_RichElementImage_prototype; p->parentProto = jsb_cocos2d_ui_RichElement_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RichElementCustomNode_class; JSObject *jsb_cocos2d_ui_RichElementCustomNode_prototype; bool js_cocos2dx_ui_RichElementCustomNode_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichElementCustomNode* cobj = (cocos2d::ui::RichElementCustomNode *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichElementCustomNode_init : Invalid Native Object"); if (argc == 4) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; cocos2d::Node* arg3; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); do { if (!argv[3].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[3]); jsProxy = jsb_get_js_proxy(tmpObj); arg3 = (cocos2d::Node*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg3, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementCustomNode_init : Error processing arguments"); bool ret = cobj->init(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementCustomNode_init : wrong number of arguments: %d, was expecting %d", argc, 4); return false; } bool js_cocos2dx_ui_RichElementCustomNode_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 4) { int arg0; cocos2d::Color3B arg1; uint16_t arg2; cocos2d::Node* arg3; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); ok &= jsval_to_cccolor3b(cx, argv[1], &arg1); ok &= jsval_to_uint16(cx, argv[2], &arg2); do { if (!argv[3].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[3]); jsProxy = jsb_get_js_proxy(tmpObj); arg3 = (cocos2d::Node*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg3, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichElementCustomNode_create : Error processing arguments"); cocos2d::ui::RichElementCustomNode* ret = cocos2d::ui::RichElementCustomNode::create(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RichElementCustomNode>(cx, (cocos2d::ui::RichElementCustomNode*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichElementCustomNode_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RichElementCustomNode_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RichElementCustomNode* cobj = new (std::nothrow) cocos2d::ui::RichElementCustomNode(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RichElementCustomNode> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementCustomNode"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_RichElement_prototype; void js_cocos2d_ui_RichElementCustomNode_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RichElementCustomNode)", obj); } static bool js_cocos2d_ui_RichElementCustomNode_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RichElementCustomNode *nobj = new (std::nothrow) cocos2d::ui::RichElementCustomNode(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichElementCustomNode"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RichElementCustomNode(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RichElementCustomNode_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RichElementCustomNode_class->name = "RichElementCustomNode"; jsb_cocos2d_ui_RichElementCustomNode_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementCustomNode_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RichElementCustomNode_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RichElementCustomNode_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RichElementCustomNode_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RichElementCustomNode_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RichElementCustomNode_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RichElementCustomNode_class->finalize = js_cocos2d_ui_RichElementCustomNode_finalize; jsb_cocos2d_ui_RichElementCustomNode_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("init", js_cocos2dx_ui_RichElementCustomNode_init, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RichElementCustomNode_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RichElementCustomNode_create, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RichElementCustomNode_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_RichElement_prototype, jsb_cocos2d_ui_RichElementCustomNode_class, js_cocos2dx_ui_RichElementCustomNode_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RichElementCustomNode", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RichElementCustomNode> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RichElementCustomNode_class; p->proto = jsb_cocos2d_ui_RichElementCustomNode_prototype; p->parentProto = jsb_cocos2d_ui_RichElement_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RichText_class; JSObject *jsb_cocos2d_ui_RichText_prototype; bool js_cocos2dx_ui_RichText_insertElement(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_insertElement : Invalid Native Object"); if (argc == 2) { cocos2d::ui::RichElement* arg0; int arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::RichElement*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichText_insertElement : Error processing arguments"); cobj->insertElement(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_insertElement : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_RichText_setAnchorPoint(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_setAnchorPoint : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichText_setAnchorPoint : Error processing arguments"); cobj->setAnchorPoint(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_setAnchorPoint : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RichText_pushBackElement(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_pushBackElement : Invalid Native Object"); if (argc == 1) { cocos2d::ui::RichElement* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::RichElement*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichText_pushBackElement : Error processing arguments"); cobj->pushBackElement(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_pushBackElement : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RichText_ignoreContentAdaptWithSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_ignoreContentAdaptWithSize : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichText_ignoreContentAdaptWithSize : Error processing arguments"); cobj->ignoreContentAdaptWithSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_ignoreContentAdaptWithSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RichText_setVerticalSpace(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_setVerticalSpace : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RichText_setVerticalSpace : Error processing arguments"); cobj->setVerticalSpace(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_setVerticalSpace : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RichText_formatText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RichText* cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_formatText : Invalid Native Object"); if (argc == 0) { cobj->formatText(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_formatText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_RichText_removeElement(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::RichText* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::RichText *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RichText_removeElement : Invalid Native Object"); do { if (argc == 1) { cocos2d::ui::RichElement* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::ui::RichElement*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cobj->removeElement(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); do { if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); if (!ok) { ok = true; break; } cobj->removeElement(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_RichText_removeElement : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RichText_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::RichText* ret = cocos2d::ui::RichText::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RichText>(cx, (cocos2d::ui::RichText*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RichText_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RichText_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RichText* cobj = new (std::nothrow) cocos2d::ui::RichText(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RichText> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichText"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_RichText_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RichText)", obj); } static bool js_cocos2d_ui_RichText_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RichText *nobj = new (std::nothrow) cocos2d::ui::RichText(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RichText"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RichText(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RichText_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RichText_class->name = "RichText"; jsb_cocos2d_ui_RichText_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RichText_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RichText_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RichText_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RichText_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RichText_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RichText_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RichText_class->finalize = js_cocos2d_ui_RichText_finalize; jsb_cocos2d_ui_RichText_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("insertElement", js_cocos2dx_ui_RichText_insertElement, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setAnchorPoint", js_cocos2dx_ui_RichText_setAnchorPoint, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("pushBackElement", js_cocos2dx_ui_RichText_pushBackElement, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ignoreContentAdaptWithSize", js_cocos2dx_ui_RichText_ignoreContentAdaptWithSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setVerticalSpace", js_cocos2dx_ui_RichText_setVerticalSpace, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("formatText", js_cocos2dx_ui_RichText_formatText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeElement", js_cocos2dx_ui_RichText_removeElement, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RichText_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RichText_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RichText_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_RichText_class, js_cocos2dx_ui_RichText_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RichText", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RichText> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RichText_class; p->proto = jsb_cocos2d_ui_RichText_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_HBox_class; JSObject *jsb_cocos2d_ui_HBox_prototype; bool js_cocos2dx_ui_HBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::HBox* cobj = (cocos2d::ui::HBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_HBox_initWithSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_HBox_initWithSize : Error processing arguments"); bool ret = cobj->initWithSize(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_HBox_initWithSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_HBox_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::HBox* ret = cocos2d::ui::HBox::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::HBox>(cx, (cocos2d::ui::HBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::HBox* ret = cocos2d::ui::HBox::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::HBox>(cx, (cocos2d::ui::HBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_HBox_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_HBox_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::HBox* cobj = new (std::nothrow) cocos2d::ui::HBox(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::HBox> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::HBox"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Layout_prototype; void js_cocos2d_ui_HBox_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (HBox)", obj); } static bool js_cocos2d_ui_HBox_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::HBox *nobj = new (std::nothrow) cocos2d::ui::HBox(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::HBox"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_HBox(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_HBox_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_HBox_class->name = "HBox"; jsb_cocos2d_ui_HBox_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_HBox_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_HBox_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_HBox_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_HBox_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_HBox_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_HBox_class->convert = JS_ConvertStub; jsb_cocos2d_ui_HBox_class->finalize = js_cocos2d_ui_HBox_finalize; jsb_cocos2d_ui_HBox_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("initWithSize", js_cocos2dx_ui_HBox_initWithSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_HBox_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_HBox_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_HBox_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Layout_prototype, jsb_cocos2d_ui_HBox_class, js_cocos2dx_ui_HBox_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "HBox", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::HBox> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_HBox_class; p->proto = jsb_cocos2d_ui_HBox_prototype; p->parentProto = jsb_cocos2d_ui_Layout_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_VBox_class; JSObject *jsb_cocos2d_ui_VBox_prototype; bool js_cocos2dx_ui_VBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::VBox* cobj = (cocos2d::ui::VBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_VBox_initWithSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_VBox_initWithSize : Error processing arguments"); bool ret = cobj->initWithSize(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_VBox_initWithSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_VBox_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::VBox* ret = cocos2d::ui::VBox::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::VBox>(cx, (cocos2d::ui::VBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::VBox* ret = cocos2d::ui::VBox::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::VBox>(cx, (cocos2d::ui::VBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_VBox_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_VBox_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::VBox* cobj = new (std::nothrow) cocos2d::ui::VBox(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::VBox> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::VBox"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Layout_prototype; void js_cocos2d_ui_VBox_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (VBox)", obj); } static bool js_cocos2d_ui_VBox_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::VBox *nobj = new (std::nothrow) cocos2d::ui::VBox(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::VBox"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_VBox(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_VBox_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_VBox_class->name = "VBox"; jsb_cocos2d_ui_VBox_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_VBox_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_VBox_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_VBox_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_VBox_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_VBox_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_VBox_class->convert = JS_ConvertStub; jsb_cocos2d_ui_VBox_class->finalize = js_cocos2d_ui_VBox_finalize; jsb_cocos2d_ui_VBox_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("initWithSize", js_cocos2dx_ui_VBox_initWithSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_VBox_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_VBox_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_VBox_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Layout_prototype, jsb_cocos2d_ui_VBox_class, js_cocos2dx_ui_VBox_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "VBox", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::VBox> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_VBox_class; p->proto = jsb_cocos2d_ui_VBox_prototype; p->parentProto = jsb_cocos2d_ui_Layout_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_RelativeBox_class; JSObject *jsb_cocos2d_ui_RelativeBox_prototype; bool js_cocos2dx_ui_RelativeBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::RelativeBox* cobj = (cocos2d::ui::RelativeBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_RelativeBox_initWithSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_RelativeBox_initWithSize : Error processing arguments"); bool ret = cobj->initWithSize(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_RelativeBox_initWithSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_RelativeBox_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::RelativeBox* ret = cocos2d::ui::RelativeBox::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RelativeBox>(cx, (cocos2d::ui::RelativeBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::RelativeBox* ret = cocos2d::ui::RelativeBox::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::RelativeBox>(cx, (cocos2d::ui::RelativeBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_RelativeBox_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_RelativeBox_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::RelativeBox* cobj = new (std::nothrow) cocos2d::ui::RelativeBox(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::RelativeBox> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RelativeBox"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Layout_prototype; void js_cocos2d_ui_RelativeBox_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (RelativeBox)", obj); } static bool js_cocos2d_ui_RelativeBox_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::RelativeBox *nobj = new (std::nothrow) cocos2d::ui::RelativeBox(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::RelativeBox"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_RelativeBox(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_RelativeBox_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_RelativeBox_class->name = "RelativeBox"; jsb_cocos2d_ui_RelativeBox_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_RelativeBox_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_RelativeBox_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_RelativeBox_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_RelativeBox_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_RelativeBox_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_RelativeBox_class->convert = JS_ConvertStub; jsb_cocos2d_ui_RelativeBox_class->finalize = js_cocos2d_ui_RelativeBox_finalize; jsb_cocos2d_ui_RelativeBox_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("initWithSize", js_cocos2dx_ui_RelativeBox_initWithSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_RelativeBox_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_RelativeBox_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_RelativeBox_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Layout_prototype, jsb_cocos2d_ui_RelativeBox_class, js_cocos2dx_ui_RelativeBox_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "RelativeBox", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::RelativeBox> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_RelativeBox_class; p->proto = jsb_cocos2d_ui_RelativeBox_prototype; p->parentProto = jsb_cocos2d_ui_Layout_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_Scale9Sprite_class; JSObject *jsb_cocos2d_ui_Scale9Sprite_prototype; bool js_cocos2dx_ui_Scale9Sprite_disableCascadeColor(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_disableCascadeColor : Invalid Native Object"); if (argc == 0) { cobj->disableCascadeColor(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_disableCascadeColor : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_updateWithSprite(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Scale9Sprite* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_updateWithSprite : Invalid Native Object"); do { if (argc == 6) { cocos2d::Sprite* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool arg2; arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); cocos2d::Vec2 arg3; ok &= jsval_to_vector2(cx, argv[3], &arg3); if (!ok) { ok = true; break; } cocos2d::Size arg4; ok &= jsval_to_ccsize(cx, argv[4], &arg4); if (!ok) { ok = true; break; } cocos2d::Rect arg5; ok &= jsval_to_ccrect(cx, argv[5], &arg5); if (!ok) { ok = true; break; } bool ret = cobj->updateWithSprite(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 4) { cocos2d::Sprite* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool arg2; arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); cocos2d::Rect arg3; ok &= jsval_to_ccrect(cx, argv[3], &arg3); if (!ok) { ok = true; break; } bool ret = cobj->updateWithSprite(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_updateWithSprite : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_isFlippedX(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_isFlippedX : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFlippedX(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_isFlippedX : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setScale9Enabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setScale9Enabled : Error processing arguments"); cobj->setScale9Enabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_setFlippedY(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setFlippedY : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setFlippedY : Error processing arguments"); cobj->setFlippedY(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setFlippedY : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_setFlippedX(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setFlippedX : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setFlippedX : Error processing arguments"); cobj->setFlippedX(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setFlippedX : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets : Error processing arguments"); cocos2d::ui::Scale9Sprite* ret = cobj->resizableSpriteWithCapInsets(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_disableCascadeOpacity(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_disableCascadeOpacity : Invalid Native Object"); if (argc == 0) { cobj->disableCascadeOpacity(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_disableCascadeOpacity : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setState(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setState : Invalid Native Object"); if (argc == 1) { cocos2d::ui::Scale9Sprite::State arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setState : Error processing arguments"); cobj->setState(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setState : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_setInsetBottom(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetBottom : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetBottom : Error processing arguments"); cobj->setInsetBottom(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setInsetBottom : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrameName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Scale9Sprite* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrameName : Invalid Native Object"); do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } bool ret = cobj->initWithSpriteFrameName(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool ret = cobj->initWithSpriteFrameName(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrameName : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_getSprite(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getSprite : Invalid Native Object"); if (argc == 0) { cocos2d::Sprite* ret = cobj->getSprite(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::Sprite>(cx, (cocos2d::Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getSprite : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setInsetTop(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetTop : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetTop : Error processing arguments"); cobj->setInsetTop(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setInsetTop : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_init(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Scale9Sprite* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_init : Invalid Native Object"); do { if (argc == 4) { cocos2d::Sprite* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool arg2; arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); cocos2d::Rect arg3; ok &= jsval_to_ccrect(cx, argv[3], &arg3); if (!ok) { ok = true; break; } bool ret = cobj->init(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 0) { bool ret = cobj->init(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 3) { cocos2d::Sprite* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::Rect arg2; ok &= jsval_to_ccrect(cx, argv[2], &arg2); if (!ok) { ok = true; break; } bool ret = cobj->init(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 6) { cocos2d::Sprite* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool arg2; arg2 = JS::ToBoolean(JS::RootedValue(cx, argv[2])); cocos2d::Vec2 arg3; ok &= jsval_to_vector2(cx, argv[3], &arg3); if (!ok) { ok = true; break; } cocos2d::Size arg4; ok &= jsval_to_ccsize(cx, argv[4], &arg4); if (!ok) { ok = true; break; } cocos2d::Rect arg5; ok &= jsval_to_ccrect(cx, argv[5], &arg5); if (!ok) { ok = true; break; } bool ret = cobj->init(arg0, arg1, arg2, arg3, arg4, arg5); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_init : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_setPreferredSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setPreferredSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setPreferredSize : Error processing arguments"); cobj->setPreferredSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setPreferredSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_setSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setSpriteFrame : Invalid Native Object"); if (argc == 1) { cocos2d::SpriteFrame* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setSpriteFrame : Error processing arguments"); cobj->setSpriteFrame(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } if (argc == 2) { cocos2d::SpriteFrame* arg0; cocos2d::Rect arg1; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); ok &= jsval_to_ccrect(cx, argv[1], &arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setSpriteFrame : Error processing arguments"); cobj->setSpriteFrame(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setSpriteFrame : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_getInsetBottom(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getInsetBottom : Invalid Native Object"); if (argc == 0) { double ret = cobj->getInsetBottom(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getInsetBottom : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getCapInsets : Invalid Native Object"); if (argc == 0) { cocos2d::Rect ret = cobj->getCapInsets(); jsval jsret = JSVAL_NULL; jsret = ccrect_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getCapInsets : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_isScale9Enabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isScale9Enabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_isScale9Enabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_getInsetRight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getInsetRight : Invalid Native Object"); if (argc == 0) { double ret = cobj->getInsetRight(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getInsetRight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_getOriginalSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getOriginalSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getOriginalSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getOriginalSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_initWithFile(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Scale9Sprite* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_initWithFile : Invalid Native Object"); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool ret = cobj->initWithFile(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::Rect arg2; ok &= jsval_to_ccrect(cx, argv[2], &arg2); if (!ok) { ok = true; break; } bool ret = cobj->initWithFile(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 2) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool ret = cobj->initWithFile(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } bool ret = cobj->initWithFile(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_initWithFile : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_getInsetTop(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getInsetTop : Invalid Native Object"); if (argc == 0) { double ret = cobj->getInsetTop(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getInsetTop : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setInsetLeft(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetLeft : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetLeft : Error processing arguments"); cobj->setInsetLeft(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setInsetLeft : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::Scale9Sprite* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrame : Invalid Native Object"); do { if (argc == 1) { cocos2d::SpriteFrame* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } bool ret = cobj->initWithSpriteFrame(arg0); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 2) { cocos2d::SpriteFrame* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool ret = cobj->initWithSpriteFrame(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrame : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_getPreferredSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getPreferredSize : Invalid Native Object"); if (argc == 0) { cocos2d::Size ret = cobj->getPreferredSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getPreferredSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setCapInsets : Invalid Native Object"); if (argc == 1) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setCapInsets : Error processing arguments"); cobj->setCapInsets(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setCapInsets : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_isFlippedY(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_isFlippedY : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isFlippedY(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_isFlippedY : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_getInsetLeft(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_getInsetLeft : Invalid Native Object"); if (argc == 0) { double ret = cobj->getInsetLeft(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_getInsetLeft : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_Scale9Sprite_setInsetRight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::Scale9Sprite* cobj = (cocos2d::ui::Scale9Sprite *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetRight : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_Scale9Sprite_setInsetRight : Error processing arguments"); cobj->setInsetRight(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_setInsetRight : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_Scale9Sprite_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 3) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::Rect arg2; ok &= jsval_to_ccrect(cx, argv[2], &arg2); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 0) { cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { cocos2d::Rect arg0; ok &= jsval_to_ccrect(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::create(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrameName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 2) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::createWithSpriteFrameName(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 1) { std::string arg0; ok &= jsval_to_std_string(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::createWithSpriteFrameName(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrameName : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 2) { cocos2d::SpriteFrame* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::Rect arg1; ok &= jsval_to_ccrect(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::createWithSpriteFrame(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 1) { cocos2d::SpriteFrame* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::SpriteFrame*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* ret = cocos2d::ui::Scale9Sprite::createWithSpriteFrame(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::Scale9Sprite>(cx, (cocos2d::ui::Scale9Sprite*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrame : wrong number of arguments"); return false; } bool js_cocos2dx_ui_Scale9Sprite_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::Scale9Sprite* cobj = new (std::nothrow) cocos2d::ui::Scale9Sprite(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::Scale9Sprite> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Scale9Sprite"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_Node_prototype; void js_cocos2d_ui_Scale9Sprite_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (Scale9Sprite)", obj); } static bool js_cocos2d_ui_Scale9Sprite_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::Scale9Sprite *nobj = new (std::nothrow) cocos2d::ui::Scale9Sprite(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::Scale9Sprite"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_Scale9Sprite(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_Scale9Sprite_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_Scale9Sprite_class->name = "Scale9Sprite"; jsb_cocos2d_ui_Scale9Sprite_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_Scale9Sprite_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_Scale9Sprite_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_Scale9Sprite_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_Scale9Sprite_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_Scale9Sprite_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_Scale9Sprite_class->convert = JS_ConvertStub; jsb_cocos2d_ui_Scale9Sprite_class->finalize = js_cocos2d_ui_Scale9Sprite_finalize; jsb_cocos2d_ui_Scale9Sprite_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("disableCascadeColor", js_cocos2dx_ui_Scale9Sprite_disableCascadeColor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("updateWithSprite", js_cocos2dx_ui_Scale9Sprite_updateWithSprite, 4, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFlippedX", js_cocos2dx_ui_Scale9Sprite_isFlippedX, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setScale9Enabled", js_cocos2dx_ui_Scale9Sprite_setScale9Enabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFlippedY", js_cocos2dx_ui_Scale9Sprite_setFlippedY, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFlippedX", js_cocos2dx_ui_Scale9Sprite_setFlippedX, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("resizableSpriteWithCapInsets", js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("disableCascadeOpacity", js_cocos2dx_ui_Scale9Sprite_disableCascadeOpacity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setState", js_cocos2dx_ui_Scale9Sprite_setState, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsetBottom", js_cocos2dx_ui_Scale9Sprite_setInsetBottom, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("initWithSpriteFrameName", js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrameName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSprite", js_cocos2dx_ui_Scale9Sprite_getSprite, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsetTop", js_cocos2dx_ui_Scale9Sprite_setInsetTop, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("init", js_cocos2dx_ui_Scale9Sprite_init, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPreferredSize", js_cocos2dx_ui_Scale9Sprite_setPreferredSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSpriteFrame", js_cocos2dx_ui_Scale9Sprite_setSpriteFrame, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsetBottom", js_cocos2dx_ui_Scale9Sprite_getInsetBottom, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getCapInsets", js_cocos2dx_ui_Scale9Sprite_getCapInsets, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isScale9Enabled", js_cocos2dx_ui_Scale9Sprite_isScale9Enabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsetRight", js_cocos2dx_ui_Scale9Sprite_getInsetRight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getOriginalSize", js_cocos2dx_ui_Scale9Sprite_getOriginalSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("initWithFile", js_cocos2dx_ui_Scale9Sprite_initWithFile, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsetTop", js_cocos2dx_ui_Scale9Sprite_getInsetTop, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsetLeft", js_cocos2dx_ui_Scale9Sprite_setInsetLeft, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("initWithSpriteFrame", js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrame, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPreferredSize", js_cocos2dx_ui_Scale9Sprite_getPreferredSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setCapInsets", js_cocos2dx_ui_Scale9Sprite_setCapInsets, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isFlippedY", js_cocos2dx_ui_Scale9Sprite_isFlippedY, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getInsetLeft", js_cocos2dx_ui_Scale9Sprite_getInsetLeft, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInsetRight", js_cocos2dx_ui_Scale9Sprite_setInsetRight, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_Scale9Sprite_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_Scale9Sprite_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createWithSpriteFrameName", js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrameName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("createWithSpriteFrame", js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrame, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_Scale9Sprite_prototype = JS_InitClass( cx, global, jsb_cocos2d_Node_prototype, jsb_cocos2d_ui_Scale9Sprite_class, js_cocos2dx_ui_Scale9Sprite_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "Scale9Sprite", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::Scale9Sprite> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_Scale9Sprite_class; p->proto = jsb_cocos2d_ui_Scale9Sprite_prototype; p->parentProto = jsb_cocos2d_Node_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_EditBox_class; JSObject *jsb_cocos2d_ui_EditBox_prototype; bool js_cocos2dx_ui_EditBox_getText(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_getText : Invalid Native Object"); if (argc == 0) { const char* ret = cobj->getText(); jsval jsret = JSVAL_NULL; jsret = c_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_getText : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_EditBox_setFontSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setFontSize : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setFontSize : Error processing arguments"); cobj->setFontSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setFontSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setPlaceholderFontName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontName : Invalid Native Object"); if (argc == 1) { const char* arg0; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontName : Error processing arguments"); cobj->setPlaceholderFontName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setPlaceholderFontName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_getPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_getPlaceHolder : Invalid Native Object"); if (argc == 0) { const char* ret = cobj->getPlaceHolder(); jsval jsret = JSVAL_NULL; jsret = c_string_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_getPlaceHolder : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_EditBox_setFontName(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setFontName : Invalid Native Object"); if (argc == 1) { const char* arg0; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setFontName : Error processing arguments"); cobj->setFontName(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setFontName : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setText(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setText : Invalid Native Object"); if (argc == 1) { const char* arg0; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setText : Error processing arguments"); cobj->setText(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setText : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setPlaceholderFontSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontSize : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontSize : Error processing arguments"); cobj->setPlaceholderFontSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setPlaceholderFontSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setInputMode(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setInputMode : Invalid Native Object"); if (argc == 1) { cocos2d::ui::EditBox::InputMode arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setInputMode : Error processing arguments"); cobj->setInputMode(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setInputMode : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setPlaceholderFontColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFontColor : Error processing arguments"); cobj->setPlaceholderFontColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setPlaceholderFontColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setFontColor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setFontColor : Invalid Native Object"); if (argc == 1) { cocos2d::Color3B arg0; ok &= jsval_to_cccolor3b(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setFontColor : Error processing arguments"); cobj->setFontColor(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setFontColor : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setPlaceholderFont(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFont : Invalid Native Object"); if (argc == 2) { const char* arg0; int arg1; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setPlaceholderFont : Error processing arguments"); cobj->setPlaceholderFont(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setPlaceholderFont : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_EditBox_initWithSizeAndBackgroundSprite(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = NULL; cocos2d::ui::EditBox* cobj = NULL; obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_initWithSizeAndBackgroundSprite : Invalid Native Object"); do { if (argc == 2) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg1; do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } bool ret = cobj->initWithSizeAndBackgroundSprite(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 2) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } bool ret = cobj->initWithSizeAndBackgroundSprite(arg0, arg1); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); do { if (argc == 3) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } bool ret = cobj->initWithSizeAndBackgroundSprite(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } } while(0); JS_ReportError(cx, "js_cocos2dx_ui_EditBox_initWithSizeAndBackgroundSprite : wrong number of arguments"); return false; } bool js_cocos2dx_ui_EditBox_setPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setPlaceHolder : Invalid Native Object"); if (argc == 1) { const char* arg0; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setPlaceHolder : Error processing arguments"); cobj->setPlaceHolder(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setPlaceHolder : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setReturnType(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setReturnType : Invalid Native Object"); if (argc == 1) { cocos2d::ui::EditBox::KeyboardReturnType arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setReturnType : Error processing arguments"); cobj->setReturnType(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setReturnType : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setInputFlag(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setInputFlag : Invalid Native Object"); if (argc == 1) { cocos2d::ui::EditBox::InputFlag arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setInputFlag : Error processing arguments"); cobj->setInputFlag(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setInputFlag : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_getMaxLength : Invalid Native Object"); if (argc == 0) { int ret = cobj->getMaxLength(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_getMaxLength : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_EditBox_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setMaxLength : Invalid Native Object"); if (argc == 1) { int arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setMaxLength : Error processing arguments"); cobj->setMaxLength(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setMaxLength : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_EditBox_setFont(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::EditBox* cobj = (cocos2d::ui::EditBox *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_EditBox_setFont : Invalid Native Object"); if (argc == 2) { const char* arg0; int arg1; std::string arg0_tmp; ok &= jsval_to_std_string(cx, argv[0], &arg0_tmp); arg0 = arg0_tmp.c_str(); ok &= jsval_to_int32(cx, argv[1], (int32_t *)&arg1); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_EditBox_setFont : Error processing arguments"); cobj->setFont(arg0, arg1); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_EditBox_setFont : wrong number of arguments: %d, was expecting %d", argc, 2); return false; } bool js_cocos2dx_ui_EditBox_create(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; do { if (argc == 2) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::EditBox* ret = cocos2d::ui::EditBox::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::EditBox>(cx, (cocos2d::ui::EditBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } std::string arg1; ok &= jsval_to_std_string(cx, argv[1], &arg1); if (!ok) { ok = true; break; } cocos2d::ui::Widget::TextureResType arg2; ok &= jsval_to_int32(cx, argv[2], (int32_t *)&arg2); if (!ok) { ok = true; break; } cocos2d::ui::EditBox* ret = cocos2d::ui::EditBox::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::EditBox>(cx, (cocos2d::ui::EditBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 2) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg1; do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::EditBox* ret = cocos2d::ui::EditBox::create(arg0, arg1); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::EditBox>(cx, (cocos2d::ui::EditBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 3) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg1; do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg2; do { if (!argv[2].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[2]); jsProxy = jsb_get_js_proxy(tmpObj); arg2 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg2, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::EditBox* ret = cocos2d::ui::EditBox::create(arg0, arg1, arg2); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::EditBox>(cx, (cocos2d::ui::EditBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); do { if (argc == 4) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg1; do { if (!argv[1].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[1]); jsProxy = jsb_get_js_proxy(tmpObj); arg1 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg1, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg2; do { if (!argv[2].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[2]); jsProxy = jsb_get_js_proxy(tmpObj); arg2 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg2, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::Scale9Sprite* arg3; do { if (!argv[3].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[3]); jsProxy = jsb_get_js_proxy(tmpObj); arg3 = (cocos2d::ui::Scale9Sprite*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg3, cx, false, "Invalid Native Object"); } while (0); if (!ok) { ok = true; break; } cocos2d::ui::EditBox* ret = cocos2d::ui::EditBox::create(arg0, arg1, arg2, arg3); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::EditBox>(cx, (cocos2d::ui::EditBox*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } } while (0); JS_ReportError(cx, "js_cocos2dx_ui_EditBox_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_EditBox_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::EditBox* cobj = new (std::nothrow) cocos2d::ui::EditBox(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::EditBox> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::EditBox"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_ui_Widget_prototype; void js_cocos2d_ui_EditBox_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (EditBox)", obj); } static bool js_cocos2d_ui_EditBox_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::EditBox *nobj = new (std::nothrow) cocos2d::ui::EditBox(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::EditBox"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_EditBox(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_EditBox_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_EditBox_class->name = "EditBox"; jsb_cocos2d_ui_EditBox_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_EditBox_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_EditBox_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_EditBox_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_EditBox_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_EditBox_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_EditBox_class->convert = JS_ConvertStub; jsb_cocos2d_ui_EditBox_class->finalize = js_cocos2d_ui_EditBox_finalize; jsb_cocos2d_ui_EditBox_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("getString", js_cocos2dx_ui_EditBox_getText, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontSize", js_cocos2dx_ui_EditBox_setFontSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceholderFontName", js_cocos2dx_ui_EditBox_setPlaceholderFontName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPlaceHolder", js_cocos2dx_ui_EditBox_getPlaceHolder, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontName", js_cocos2dx_ui_EditBox_setFontName, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setString", js_cocos2dx_ui_EditBox_setText, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceholderFontSize", js_cocos2dx_ui_EditBox_setPlaceholderFontSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInputMode", js_cocos2dx_ui_EditBox_setInputMode, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceholderFontColor", js_cocos2dx_ui_EditBox_setPlaceholderFontColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFontColor", js_cocos2dx_ui_EditBox_setFontColor, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceholderFont", js_cocos2dx_ui_EditBox_setPlaceholderFont, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("initWithSizeAndBackgroundSprite", js_cocos2dx_ui_EditBox_initWithSizeAndBackgroundSprite, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPlaceHolder", js_cocos2dx_ui_EditBox_setPlaceHolder, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setReturnType", js_cocos2dx_ui_EditBox_setReturnType, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setInputFlag", js_cocos2dx_ui_EditBox_setInputFlag, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getMaxLength", js_cocos2dx_ui_EditBox_getMaxLength, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setMaxLength", js_cocos2dx_ui_EditBox_setMaxLength, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setFont", js_cocos2dx_ui_EditBox_setFont, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_EditBox_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_EditBox_create, 2, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_EditBox_prototype = JS_InitClass( cx, global, jsb_cocos2d_ui_Widget_prototype, jsb_cocos2d_ui_EditBox_class, js_cocos2dx_ui_EditBox_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "EditBox", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::EditBox> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_EditBox_class; p->proto = jsb_cocos2d_ui_EditBox_prototype; p->parentProto = jsb_cocos2d_ui_Widget_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } JSClass *jsb_cocos2d_ui_LayoutComponent_class; JSObject *jsb_cocos2d_ui_LayoutComponent_prototype; bool js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled : Error processing arguments"); cobj->setStretchWidthEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentWidth(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentWidth : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentWidth : Error processing arguments"); cobj->setPercentWidth(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentWidth : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getAnchorPosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getAnchorPosition : Invalid Native Object"); if (argc == 0) { const cocos2d::Point& ret = cobj->getAnchorPosition(); jsval jsret = JSVAL_NULL; jsret = ccpoint_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getAnchorPosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled : Error processing arguments"); cobj->setPositionPercentXEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled : Error processing arguments"); cobj->setStretchHeightEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setActiveEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setActiveEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setActiveEnabled : Error processing arguments"); cobj->setActiveEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setActiveEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getRightMargin(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getRightMargin : Invalid Native Object"); if (argc == 0) { double ret = cobj->getRightMargin(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getRightMargin : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getSize : Invalid Native Object"); if (argc == 0) { const cocos2d::Size& ret = cobj->getSize(); jsval jsret = JSVAL_NULL; jsret = ccsize_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setAnchorPosition(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setAnchorPosition : Invalid Native Object"); if (argc == 1) { cocos2d::Point arg0; ok &= jsval_to_ccpoint(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setAnchorPosition : Error processing arguments"); cobj->setAnchorPosition(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setAnchorPosition : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_refreshLayout(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_refreshLayout : Invalid Native Object"); if (argc == 0) { cobj->refreshLayout(); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_refreshLayout : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_isPercentWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isPercentWidthEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPercentWidthEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isPercentWidthEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setVerticalEdge(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setVerticalEdge : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LayoutComponent::VerticalEdge arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setVerticalEdge : Error processing arguments"); cobj->setVerticalEdge(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setVerticalEdge : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getTopMargin(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getTopMargin : Invalid Native Object"); if (argc == 0) { double ret = cobj->getTopMargin(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getTopMargin : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setSizeWidth(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setSizeWidth : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setSizeWidth : Error processing arguments"); cobj->setSizeWidth(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setSizeWidth : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPercentContentSize : Invalid Native Object"); if (argc == 0) { cocos2d::Vec2 ret = cobj->getPercentContentSize(); jsval jsret = JSVAL_NULL; jsret = vector2_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPercentContentSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getVerticalEdge(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getVerticalEdge : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getVerticalEdge(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getVerticalEdge : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled : Error processing arguments"); cobj->setPercentWidthEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_isStretchWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isStretchWidthEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isStretchWidthEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isStretchWidthEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setLeftMargin(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setLeftMargin : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setLeftMargin : Error processing arguments"); cobj->setLeftMargin(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setLeftMargin : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getSizeWidth(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getSizeWidth : Invalid Native Object"); if (argc == 0) { double ret = cobj->getSizeWidth(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getSizeWidth : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled : Error processing arguments"); cobj->setPositionPercentYEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getSizeHeight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getSizeHeight : Invalid Native Object"); if (argc == 0) { double ret = cobj->getSizeHeight(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getSizeHeight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getPositionPercentY(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPositionPercentY : Invalid Native Object"); if (argc == 0) { double ret = cobj->getPositionPercentY(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPositionPercentY : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getPositionPercentX(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPositionPercentX : Invalid Native Object"); if (argc == 0) { double ret = cobj->getPositionPercentX(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPositionPercentX : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setTopMargin(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setTopMargin : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setTopMargin : Error processing arguments"); cobj->setTopMargin(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setTopMargin : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getPercentHeight(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPercentHeight : Invalid Native Object"); if (argc == 0) { double ret = cobj->getPercentHeight(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPercentHeight : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getUsingPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getUsingPercentContentSize : Invalid Native Object"); if (argc == 0) { bool ret = cobj->getUsingPercentContentSize(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getUsingPercentContentSize : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPositionPercentY(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentY : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentY : Error processing arguments"); cobj->setPositionPercentY(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPositionPercentY : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setPositionPercentX(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentX : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPositionPercentX : Error processing arguments"); cobj->setPositionPercentX(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPositionPercentX : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setRightMargin(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setRightMargin : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setRightMargin : Error processing arguments"); cobj->setRightMargin(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setRightMargin : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_isPositionPercentYEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isPositionPercentYEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPositionPercentYEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isPositionPercentYEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentHeight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentHeight : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentHeight : Error processing arguments"); cobj->setPercentHeight(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentHeight : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled : Error processing arguments"); cobj->setPercentOnlyEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setHorizontalEdge(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setHorizontalEdge : Invalid Native Object"); if (argc == 1) { cocos2d::ui::LayoutComponent::HorizontalEdge arg0; ok &= jsval_to_int32(cx, argv[0], (int32_t *)&arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setHorizontalEdge : Error processing arguments"); cobj->setHorizontalEdge(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setHorizontalEdge : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setPosition(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPosition : Invalid Native Object"); if (argc == 1) { cocos2d::Point arg0; ok &= jsval_to_ccpoint(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPosition : Error processing arguments"); cobj->setPosition(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPosition : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize : Error processing arguments"); cobj->setUsingPercentContentSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_getLeftMargin(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getLeftMargin : Invalid Native Object"); if (argc == 0) { double ret = cobj->getLeftMargin(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getLeftMargin : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getPosition(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPosition : Invalid Native Object"); if (argc == 0) { const cocos2d::Point& ret = cobj->getPosition(); jsval jsret = JSVAL_NULL; jsret = ccpoint_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPosition : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setSizeHeight(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setSizeHeight : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setSizeHeight : Error processing arguments"); cobj->setSizeHeight(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setSizeHeight : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_isPositionPercentXEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isPositionPercentXEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPositionPercentXEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isPositionPercentXEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getBottomMargin(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getBottomMargin : Invalid Native Object"); if (argc == 0) { double ret = cobj->getBottomMargin(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getBottomMargin : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled : Invalid Native Object"); if (argc == 1) { bool arg0; arg0 = JS::ToBoolean(JS::RootedValue(cx, argv[0])); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled : Error processing arguments"); cobj->setPercentHeightEnabled(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentContentSize : Invalid Native Object"); if (argc == 1) { cocos2d::Vec2 arg0; ok &= jsval_to_vector2(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setPercentContentSize : Error processing arguments"); cobj->setPercentContentSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setPercentContentSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_isPercentHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isPercentHeightEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isPercentHeightEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isPercentHeightEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getPercentWidth(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getPercentWidth : Invalid Native Object"); if (argc == 0) { double ret = cobj->getPercentWidth(); jsval jsret = JSVAL_NULL; jsret = DOUBLE_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getPercentWidth : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_getHorizontalEdge(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_getHorizontalEdge : Invalid Native Object"); if (argc == 0) { int ret = (int)cobj->getHorizontalEdge(); jsval jsret = JSVAL_NULL; jsret = int32_to_jsval(cx, ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_getHorizontalEdge : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_isStretchHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp) { JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_isStretchHeightEnabled : Invalid Native Object"); if (argc == 0) { bool ret = cobj->isStretchHeightEnabled(); jsval jsret = JSVAL_NULL; jsret = BOOLEAN_TO_JSVAL(ret); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_isStretchHeightEnabled : wrong number of arguments: %d, was expecting %d", argc, 0); return false; } bool js_cocos2dx_ui_LayoutComponent_setBottomMargin(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setBottomMargin : Invalid Native Object"); if (argc == 1) { double arg0; ok &= JS::ToNumber( cx, JS::RootedValue(cx, argv[0]), &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setBottomMargin : Error processing arguments"); cobj->setBottomMargin(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setBottomMargin : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_setSize(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; JSObject *obj = JS_THIS_OBJECT(cx, vp); js_proxy_t *proxy = jsb_get_js_proxy(obj); cocos2d::ui::LayoutComponent* cobj = (cocos2d::ui::LayoutComponent *)(proxy ? proxy->ptr : NULL); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_LayoutComponent_setSize : Invalid Native Object"); if (argc == 1) { cocos2d::Size arg0; ok &= jsval_to_ccsize(cx, argv[0], &arg0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_setSize : Error processing arguments"); cobj->setSize(arg0); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_setSize : wrong number of arguments: %d, was expecting %d", argc, 1); return false; } bool js_cocos2dx_ui_LayoutComponent_create(JSContext *cx, uint32_t argc, jsval *vp) { if (argc == 0) { cocos2d::ui::LayoutComponent* ret = cocos2d::ui::LayoutComponent::create(); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutComponent>(cx, (cocos2d::ui::LayoutComponent*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_create : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LayoutComponent_bindLayoutComponent(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; if (argc == 1) { cocos2d::Node* arg0; do { if (!argv[0].isObject()) { ok = false; break; } js_proxy_t *jsProxy; JSObject *tmpObj = JSVAL_TO_OBJECT(argv[0]); jsProxy = jsb_get_js_proxy(tmpObj); arg0 = (cocos2d::Node*)(jsProxy ? jsProxy->ptr : NULL); JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object"); } while (0); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_ui_LayoutComponent_bindLayoutComponent : Error processing arguments"); cocos2d::ui::LayoutComponent* ret = cocos2d::ui::LayoutComponent::bindLayoutComponent(arg0); jsval jsret = JSVAL_NULL; do { if (ret) { js_proxy_t *jsProxy = js_get_or_create_proxy<cocos2d::ui::LayoutComponent>(cx, (cocos2d::ui::LayoutComponent*)ret); jsret = OBJECT_TO_JSVAL(jsProxy->obj); } else { jsret = JSVAL_NULL; } } while (0); JS_SET_RVAL(cx, vp, jsret); return true; } JS_ReportError(cx, "js_cocos2dx_ui_LayoutComponent_bindLayoutComponent : wrong number of arguments"); return false; } bool js_cocos2dx_ui_LayoutComponent_constructor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); bool ok = true; cocos2d::ui::LayoutComponent* cobj = new (std::nothrow) cocos2d::ui::LayoutComponent(); cocos2d::Ref *_ccobj = dynamic_cast<cocos2d::Ref *>(cobj); if (_ccobj) { _ccobj->autorelease(); } TypeTest<cocos2d::ui::LayoutComponent> t; js_type_class_t *typeClass = nullptr; std::string typeName = t.s_name(); auto typeMapIter = _js_global_type_map.find(typeName); CCASSERT(typeMapIter != _js_global_type_map.end(), "Can't find the class type!"); typeClass = typeMapIter->second; CCASSERT(typeClass, "The value is null."); JSObject *obj = JS_NewObject(cx, typeClass->jsclass, typeClass->proto, typeClass->parentProto); JS_SET_RVAL(cx, vp, OBJECT_TO_JSVAL(obj)); // link the native object with the javascript object js_proxy_t* p = jsb_new_proxy(cobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LayoutComponent"); if (JS_HasProperty(cx, obj, "_ctor", &ok) && ok) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); return true; } extern JSObject *jsb_cocos2d_Component_prototype; void js_cocos2d_ui_LayoutComponent_finalize(JSFreeOp *fop, JSObject *obj) { CCLOGINFO("jsbindings: finalizing JS object %p (LayoutComponent)", obj); } static bool js_cocos2d_ui_LayoutComponent_ctor(JSContext *cx, uint32_t argc, jsval *vp) { jsval *argv = JS_ARGV(cx, vp); JSObject *obj = JS_THIS_OBJECT(cx, vp); cocos2d::ui::LayoutComponent *nobj = new (std::nothrow) cocos2d::ui::LayoutComponent(); if (nobj) { nobj->autorelease(); } js_proxy_t* p = jsb_new_proxy(nobj, obj); JS_AddNamedObjectRoot(cx, &p->obj, "cocos2d::ui::LayoutComponent"); bool isFound = false; if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound) ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", argc, argv); JS_SET_RVAL(cx, vp, JSVAL_VOID); return true; } void js_register_cocos2dx_ui_LayoutComponent(JSContext *cx, JSObject *global) { jsb_cocos2d_ui_LayoutComponent_class = (JSClass *)calloc(1, sizeof(JSClass)); jsb_cocos2d_ui_LayoutComponent_class->name = "LayoutComponent"; jsb_cocos2d_ui_LayoutComponent_class->addProperty = JS_PropertyStub; jsb_cocos2d_ui_LayoutComponent_class->delProperty = JS_DeletePropertyStub; jsb_cocos2d_ui_LayoutComponent_class->getProperty = JS_PropertyStub; jsb_cocos2d_ui_LayoutComponent_class->setProperty = JS_StrictPropertyStub; jsb_cocos2d_ui_LayoutComponent_class->enumerate = JS_EnumerateStub; jsb_cocos2d_ui_LayoutComponent_class->resolve = JS_ResolveStub; jsb_cocos2d_ui_LayoutComponent_class->convert = JS_ConvertStub; jsb_cocos2d_ui_LayoutComponent_class->finalize = js_cocos2d_ui_LayoutComponent_finalize; jsb_cocos2d_ui_LayoutComponent_class->flags = JSCLASS_HAS_RESERVED_SLOTS(2); static JSPropertySpec properties[] = { {"__nativeObj", 0, JSPROP_ENUMERATE | JSPROP_PERMANENT, JSOP_WRAPPER(js_is_native_obj), JSOP_NULLWRAPPER}, {0, 0, 0, JSOP_NULLWRAPPER, JSOP_NULLWRAPPER} }; static JSFunctionSpec funcs[] = { JS_FN("setStretchWidthEnabled", js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentWidth", js_cocos2dx_ui_LayoutComponent_setPercentWidth, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getAnchorPosition", js_cocos2dx_ui_LayoutComponent_getAnchorPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionPercentXEnabled", js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setStretchHeightEnabled", js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setActiveEnabled", js_cocos2dx_ui_LayoutComponent_setActiveEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getRightMargin", js_cocos2dx_ui_LayoutComponent_getRightMargin, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSize", js_cocos2dx_ui_LayoutComponent_getSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setAnchorPosition", js_cocos2dx_ui_LayoutComponent_setAnchorPosition, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("refreshLayout", js_cocos2dx_ui_LayoutComponent_refreshLayout, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPercentWidthEnabled", js_cocos2dx_ui_LayoutComponent_isPercentWidthEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setVerticalEdge", js_cocos2dx_ui_LayoutComponent_setVerticalEdge, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getTopMargin", js_cocos2dx_ui_LayoutComponent_getTopMargin, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSizeWidth", js_cocos2dx_ui_LayoutComponent_setSizeWidth, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPercentContentSize", js_cocos2dx_ui_LayoutComponent_getPercentContentSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getVerticalEdge", js_cocos2dx_ui_LayoutComponent_getVerticalEdge, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentWidthEnabled", js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isStretchWidthEnabled", js_cocos2dx_ui_LayoutComponent_isStretchWidthEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setLeftMargin", js_cocos2dx_ui_LayoutComponent_setLeftMargin, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSizeWidth", js_cocos2dx_ui_LayoutComponent_getSizeWidth, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionPercentYEnabled", js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getSizeHeight", js_cocos2dx_ui_LayoutComponent_getSizeHeight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPositionPercentY", js_cocos2dx_ui_LayoutComponent_getPositionPercentY, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPositionPercentX", js_cocos2dx_ui_LayoutComponent_getPositionPercentX, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setTopMargin", js_cocos2dx_ui_LayoutComponent_setTopMargin, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPercentHeight", js_cocos2dx_ui_LayoutComponent_getPercentHeight, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getUsingPercentContentSize", js_cocos2dx_ui_LayoutComponent_getUsingPercentContentSize, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionPercentY", js_cocos2dx_ui_LayoutComponent_setPositionPercentY, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPositionPercentX", js_cocos2dx_ui_LayoutComponent_setPositionPercentX, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setRightMargin", js_cocos2dx_ui_LayoutComponent_setRightMargin, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPositionPercentYEnabled", js_cocos2dx_ui_LayoutComponent_isPositionPercentYEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentHeight", js_cocos2dx_ui_LayoutComponent_setPercentHeight, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentOnlyEnabled", js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setHorizontalEdge", js_cocos2dx_ui_LayoutComponent_setHorizontalEdge, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPosition", js_cocos2dx_ui_LayoutComponent_setPosition, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setUsingPercentContentSize", js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getLeftMargin", js_cocos2dx_ui_LayoutComponent_getLeftMargin, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPosition", js_cocos2dx_ui_LayoutComponent_getPosition, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSizeHeight", js_cocos2dx_ui_LayoutComponent_setSizeHeight, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPositionPercentXEnabled", js_cocos2dx_ui_LayoutComponent_isPositionPercentXEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getBottomMargin", js_cocos2dx_ui_LayoutComponent_getBottomMargin, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentHeightEnabled", js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setPercentContentSize", js_cocos2dx_ui_LayoutComponent_setPercentContentSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isPercentHeightEnabled", js_cocos2dx_ui_LayoutComponent_isPercentHeightEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getPercentWidth", js_cocos2dx_ui_LayoutComponent_getPercentWidth, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getHorizontalEdge", js_cocos2dx_ui_LayoutComponent_getHorizontalEdge, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isStretchHeightEnabled", js_cocos2dx_ui_LayoutComponent_isStretchHeightEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setBottomMargin", js_cocos2dx_ui_LayoutComponent_setBottomMargin, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("setSize", js_cocos2dx_ui_LayoutComponent_setSize, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("ctor", js_cocos2d_ui_LayoutComponent_ctor, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; static JSFunctionSpec st_funcs[] = { JS_FN("create", js_cocos2dx_ui_LayoutComponent_create, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("bindLayoutComponent", js_cocos2dx_ui_LayoutComponent_bindLayoutComponent, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FS_END }; jsb_cocos2d_ui_LayoutComponent_prototype = JS_InitClass( cx, global, jsb_cocos2d_Component_prototype, jsb_cocos2d_ui_LayoutComponent_class, js_cocos2dx_ui_LayoutComponent_constructor, 0, // constructor properties, funcs, NULL, // no static properties st_funcs); // make the class enumerable in the registered namespace // bool found; //FIXME: Removed in Firefox v27 // JS_SetPropertyAttributes(cx, global, "LayoutComponent", JSPROP_ENUMERATE | JSPROP_READONLY, &found); // add the proto and JSClass to the type->js info hash table TypeTest<cocos2d::ui::LayoutComponent> t; js_type_class_t *p; std::string typeName = t.s_name(); if (_js_global_type_map.find(typeName) == _js_global_type_map.end()) { p = (js_type_class_t *)malloc(sizeof(js_type_class_t)); p->jsclass = jsb_cocos2d_ui_LayoutComponent_class; p->proto = jsb_cocos2d_ui_LayoutComponent_prototype; p->parentProto = jsb_cocos2d_Component_prototype; _js_global_type_map.insert(std::make_pair(typeName, p)); } } void register_all_cocos2dx_ui(JSContext* cx, JSObject* obj) { // first, try to get the ns JS::RootedValue nsval(cx); JS::RootedObject ns(cx); JS_GetProperty(cx, obj, "ccui", &nsval); if (nsval == JSVAL_VOID) { ns = JS_NewObject(cx, NULL, NULL, NULL); nsval = OBJECT_TO_JSVAL(ns); JS_SetProperty(cx, obj, "ccui", nsval); } else { JS_ValueToObject(cx, nsval, &ns); } obj = ns; js_register_cocos2dx_ui_Widget(cx, obj); js_register_cocos2dx_ui_Layout(cx, obj); js_register_cocos2dx_ui_RelativeBox(cx, obj); js_register_cocos2dx_ui_CheckBox(cx, obj); js_register_cocos2dx_ui_TextAtlas(cx, obj); js_register_cocos2dx_ui_TextBMFont(cx, obj); js_register_cocos2dx_ui_LoadingBar(cx, obj); js_register_cocos2dx_ui_TextField(cx, obj); js_register_cocos2dx_ui_RichText(cx, obj); js_register_cocos2dx_ui_Scale9Sprite(cx, obj); js_register_cocos2dx_ui_VBox(cx, obj); js_register_cocos2dx_ui_RichElement(cx, obj); js_register_cocos2dx_ui_RichElementCustomNode(cx, obj); js_register_cocos2dx_ui_Slider(cx, obj); js_register_cocos2dx_ui_ScrollView(cx, obj); js_register_cocos2dx_ui_ListView(cx, obj); js_register_cocos2dx_ui_LayoutComponent(cx, obj); js_register_cocos2dx_ui_Button(cx, obj); js_register_cocos2dx_ui_LayoutParameter(cx, obj); js_register_cocos2dx_ui_LinearLayoutParameter(cx, obj); js_register_cocos2dx_ui_ImageView(cx, obj); js_register_cocos2dx_ui_HBox(cx, obj); js_register_cocos2dx_ui_RichElementText(cx, obj); js_register_cocos2dx_ui_PageView(cx, obj); js_register_cocos2dx_ui_Helper(cx, obj); js_register_cocos2dx_ui_EditBox(cx, obj); js_register_cocos2dx_ui_Text(cx, obj); js_register_cocos2dx_ui_RichElementImage(cx, obj); js_register_cocos2dx_ui_RelativeLayoutParameter(cx, obj); js_register_cocos2dx_ui_UICCTextField(cx, obj); }
[ "liquidx@163.com" ]
liquidx@163.com
ed8695afaed8a6c8507eeec9c7c41a3f33ed3917
d3a4940ad9f3d0665844b99efc4d8c992b5dbbc0
/ejercicios/hanoiPrueba.cpp
4d27050eb16734e4bc33199becdebc311105a143
[]
no_license
crisantru/C-plus-plus
fe24597aab33bd6064c3e397d9f0e4be5bf99d1e
4b1fd3d8e4ffbe117a0e266bffc6bdfd87ae488e
refs/heads/master
2020-04-25T00:24:56.467789
2019-02-24T19:12:18
2019-02-24T19:12:18
172,377,546
1
0
null
null
null
null
UTF-8
C++
false
false
453
cpp
#include <iostream> using namespace std; void hanoi(int num,char A,char C,char B) { if(num==1) { cout<<"Mueva el bloque "<<num<<" desde "<<A<<" hasta "<<C<<endl; } else { hanoi(num-1,A,B,C); cout<<"Mueva el bloque "<<num<<" desde "<<A<<" hasta "<<C<<endl; hanoi(num-1,B,C,A); } } int main() { int n; char A,B,C; cout<<"Los clavijas son A B C\n"; cout<<"Numero de discos: "; cin>>n; hanoi(n,'A','C','B'); return 0; }
[ "crisantru@gmail.com" ]
crisantru@gmail.com
d7725e7fc873b803698574788134d38e38b98790
5ac84fba8fd5c579bdaae6aa8913429f959a563d
/src/RTI.cpp
4b6fd2b4e996318aa43593c13307b2cbe26d3b9e
[ "MIT" ]
permissive
makeclean/double-down
8f189c55e4af4be5e89e2410cfaff79bce42bc3a
8ce792d57dede059b077c67253ebbea901e96347
refs/heads/main
2023-06-15T12:45:08.213158
2021-07-01T13:10:29
2021-07-01T13:10:29
384,031,990
0
0
MIT
2021-07-08T07:01:43
2021-07-08T07:01:42
null
UTF-8
C++
false
false
30,168
cpp
#include <string> // MOAB #include "MBTagConventions.hpp" #include "moab/GeomTopoTool.hpp" // Double-down #include "double-down/RTI.hpp" void error(void* dum, RTCError code, const char* str) { if (code != RTC_ERROR_NONE) { std::cout << "Error occured" << std::endl; std::string msg(str); std::cout << msg << std::endl; } } RayTracingInterface::RayTracingInterface(moab::Interface *mbi) : GTT(std::make_shared<moab::GeomTopoTool>(mbi)), MBI(mbi) {} RayTracingInterface::RayTracingInterface(std::shared_ptr<moab::GeomTopoTool> gtt) : MBI(gtt->get_moab_instance()), GTT(gtt) {} moab::ErrorCode RayTracingInterface::init() { moab::ErrorCode rval; // here we assume that the MOAB file is alredy loaded g_device = rtcNewDevice(NULL); rtcSetDeviceErrorFunction(g_device, (RTCErrorFunction)error, NULL); mdam = std::shared_ptr<MBDirectAccess>(new MBDirectAccess(MBI)); // detemine how many volumes are in the MOAB file moab::Range vols; rval = get_vols(vols); MB_CHK_SET_ERR(rval, "Failed to get MOAB volumes"); if (vols.size() == 0) { std::cerr << "No volumes found in the MOAB instance.\n"; return moab::MB_SUCCESS; } // create an Embree geometry instance for each surface for (auto vol : vols) { allocateTriangleBuffer(vol); createBVH(vol); } // end volume loop return moab::MB_SUCCESS; } moab::ErrorCode RayTracingInterface::load_file(std::string filename) { moab::ErrorCode rval = MBI->load_file(filename.c_str()); MB_CHK_SET_ERR(rval, "Failed to load the specified MOAB file: " << filename); return rval; } moab::ErrorCode RayTracingInterface::get_obb(moab::EntityHandle volume, std::array<double, 3>& center, std::array<double, 3>& axis0, std::array<double, 3>& axis1, std::array<double, 3>& axis2) { std::array<double, 3> llc; std::array<double, 3> urc; moab::ErrorCode rval = get_bbox(volume, llc, urc); MB_CHK_SET_ERR(rval, "Failed to get bounding box"); center[0] = 0.5 * (llc[0] + urc[0]); center[1] = 0.5 * (llc[1] + urc[1]); center[2] = 0.5 * (llc[2] + urc[2]); std::array<double, 3> width({0.5 * (urc[0] - llc[0]), 0.5 * (urc[1] - llc[1]), 0.5 * (urc[2] - llc[2])}); // bounding boxes from Embree are axis-aligned axis0 = {width[0], 0, 0}; axis1 = {0, width[1], 0}; axis2 = {0, 0, width[2]}; return moab::MB_SUCCESS; } moab::ErrorCode RayTracingInterface::get_bbox(moab::EntityHandle volume, std::array<double, 3>& llc, std::array<double, 3>& urc) { RTCBounds bounds; rtcGetSceneBounds(scene_map.at(volume), &bounds); llc[0] = bounds.lower_x; llc[1] = bounds.lower_y; llc[2] = bounds.lower_z; urc[0] = bounds.upper_x; urc[1] = bounds.upper_y; urc[2] = bounds.upper_z; return moab::MB_SUCCESS; } moab::ErrorCode RayTracingInterface::get_bbox(moab::EntityHandle volume, double llc[3], double urc[3]) { std::array<double, 3> lc_inner; std::array<double, 3> uc_inner; moab::ErrorCode rval = this->get_bbox(volume, lc_inner, uc_inner); llc[0] = lc_inner[0]; llc[1] = lc_inner[1]; llc[2] = lc_inner[2]; urc[0] = uc_inner[0]; urc[1] = uc_inner[1]; urc[2] = uc_inner[2]; return rval; } moab::ErrorCode RayTracingInterface::allocateTriangleBuffer(moab::EntityHandle volume) { moab::ErrorCode rval; // get volume surfaces moab::Range surfs; rval = MBI->get_child_meshsets(volume, surfs); MB_CHK_SET_ERR(rval, "Failed to get the volume sufaces"); // allocate triangle storage for this volume int num_vol_tris = 0; for (moab::Range::iterator j = surfs.begin(); j != surfs.end(); j++) { int num_surf_tris; rval = MBI->get_number_entities_by_type(*j, moab::MBTRI, num_surf_tris); MB_CHK_SET_ERR(rval, "Failed to get triangle count"); num_vol_tris += num_surf_tris; } // TODO: investigate memory usage here std::vector<DblTri> emtris(num_vol_tris); buffer_storage.store(volume, std::move(emtris)); return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::createBVH(moab::EntityHandle volume) { moab::ErrorCode rval; if (GTT->dimension(volume) != 3) { MB_CHK_SET_ERR(MB_FAILURE, "This entity is not a volume. " "BVHs can only be created and deleted by volume in double-down."); } // add buffer storage if it isn't already there if (!buffer_storage.is_storing(volume)) { allocateTriangleBuffer(volume); } // add new scene to our vector RTCScene scene = rtcNewScene(g_device); rtcSetSceneFlags(scene, RTC_SCENE_FLAG_ROBUST); rtcSetSceneBuildQuality(scene,RTC_BUILD_QUALITY_HIGH); // add this scene to the map from MOAB volumes to Embree scenes scene_map[volume] = scene; auto& tri_buffer = buffer_storage.retrieve_buffer(volume); auto emtris = tri_buffer.data(); // get volume surfaces moab::Range surfs; rval = MBI->get_child_meshsets(volume, surfs); MB_CHK_SET_ERR(rval, "Failed to get the volume sufaces"); // make sure that all triangles are available // before constructing the BVH mdam->update(); // index to keep track of where we're adding triangles in the storage buffer int buffer_start = 0; for (moab::Range::iterator j = surfs.begin(); j != surfs.end(); j++) { moab::EntityHandle this_surf = *j; // find the surface sense int sense; rval = GTT->get_sense(this_surf, volume, sense); MB_CHK_SET_ERR(rval, "Failed to get sense for surface"); // get all triangles on this surface moab::Range tris; rval = MBI->get_entities_by_type(this_surf, moab::MBTRI, tris); MB_CHK_SET_ERR(rval, "Failed to get surface triangles"); int num_tris = tris.size(); // create a new geometry for the volumeume's scene // EMBREE_FIXME: check if geometry gets properly committed RTCGeometry geom_0 = rtcNewGeometry (g_device, RTC_GEOMETRY_TYPE_USER); unsigned int emsurf = rtcAttachGeometry(scene, geom_0); // build settings for the Embree scene rtcSetGeometryBuildQuality(geom_0,RTC_BUILD_QUALITY_HIGH); rtcSetGeometryUserPrimitiveCount(geom_0, num_tris); rtcSetGeometryTimeStepCount(geom_0,1); // get the pointer into the buffer at the right location DblTri* buff_ptr = emtris + buffer_start; // set the data for this Embree geometry using that pointer rtcSetGeometryUserData(geom_0, buff_ptr); // set data for all triangles of this surfaces for (int k = 0; k < num_tris; k++) { buff_ptr[k].mdam = mdam.get(); buff_ptr[k].handle = tris[k]; buff_ptr[k].surf = this_surf; buff_ptr[k].geomID = emsurf; buff_ptr[k].sense = sense; } // advance the buffer offset by the number of triangles in this surface buffer_start += num_tris; // point the geometry BVH builder to the custom triangle bounding, intersection, and occlusion functions rtcSetGeometryBoundsFunction(geom_0,(RTCBoundsFunction)&DblTriBounds, NULL); rtcSetGeometryIntersectFunction (geom_0, (RTCIntersectFunctionN)&MBDblTriIntersectFunc); rtcSetGeometryOccludedFunction (geom_0, (RTCOccludedFunctionN)&DblTriOccludedFunc); // add the geometry to the Embree device rtcCommitGeometry(geom_0); } // end surface loop // commit the scene to the device (ready for use) rtcCommitScene(scene); return moab::MB_SUCCESS; } void RayTracingInterface::deleteBVH(moab::EntityHandle volume) { if (GTT->dimension(volume) != 3) { MB_CHK_SET_ERR_CONT(MB_FAILURE, "This entity is not a volume. " "BVHs can only be created and deleted by volume in double-down."); return; } int ent_dim = GTT->dimension(volume); moab::Range surfs; // remove the scene from Embree rtcReleaseScene(scene_map[volume]); // remove the volume entry from the internal mapping structures buffer_storage.free_storage(volume); scene_map.erase(volume); } moab::ErrorCode RayTracingInterface::get_normal(moab::EntityHandle surface, const double loc[3], double angle[3], const moab::GeomQueryTool::RayHistory* history) { moab::ErrorCode rval; moab::EntityHandle facet; // use the last triangle hit if the history is provided if (history) { rval = history->get_last_intersection(facet); MB_CHK_SET_ERR_CONT(rval, "Failed to get the last intersection from the ray history"); // if no history is present, find the closest triangle to this location } else { // perform a closest location search // get the one of the volumes for this surface moab::Range parent_vols; rval = MBI->get_parent_meshsets(surface, parent_vols); MB_CHK_SET_ERR_CONT(rval, "Failed to get parent volumes of the surface"); assert(parent_vols.size() != 0); moab::EntityHandle vol = parent_vols[0]; // arbitrarily use one of the parent volumes for the lookup const std::vector<DblTri>& buffer = buffer_storage.retrieve_buffer(vol); moab::EntityHandle surf, closest_facet; double dist; closest(vol, loc, dist, &surf, &closest_facet); RTCDPointQuery point_query; point_query.set_radius(inf); point_query.time = 0.f; point_query.set_point(loc); RTCPointQueryContext pq_context; rtcInitPointQueryContext(&pq_context); if (surf == 0) { MB_CHK_SET_ERR(moab::MB_FAILURE, "Failed to locate a nearest point."); } // TODO: restrict the search for the closest triangle to the surface provided if (surf != surface) { MB_CHK_SET_ERR(moab::MB_FAILURE, "Nearest point was not on the correct surface."); } facet = closest_facet; } moab::CartVect coords[3]; const moab::EntityHandle *conn; int len; rval = MBI->get_connectivity(facet, conn, len); MB_CHK_SET_ERR_CONT(rval, "Failed to get connectivity of triangle: " << facet); if (3 != len) { MB_CHK_SET_ERR_CONT(rval, "Incorrect connectivity length for a triangle: " << len); } rval = MBI->get_coords(conn, 3, &(coords[0][0])); MB_CHK_SET_ERR_CONT(rval, "Failed to get coords for triangle: " << facet); moab::CartVect normal(0.0); coords[1] -= coords[0]; coords[2] -= coords[0]; normal = coords[1] * coords[2]; normal.normalize(); angle[0] = normal[0]; angle[1] = normal[1]; angle[2] = normal[2]; return rval; } // sum area of elements in surface moab::ErrorCode RayTracingInterface::measure_area(moab::EntityHandle surface, double& result) { // get triangles in surface moab::Range triangles; moab::ErrorCode rval = MBI->get_entities_by_dimension( surface, 2, triangles ); MB_CHK_SET_ERR(rval, "Failed to get the surface entities"); if (!triangles.all_of_type(MBTRI)) { std::cout << "WARNING: Surface " << surface // todo: use geomtopotool to get id by entity handle << " contains non-triangle elements. Area calculation may be incorrect." << std::endl; triangles.clear(); rval = MBI->get_entities_by_type( surface, MBTRI, triangles ); MB_CHK_SET_ERR(rval, "Failed to the surface's triangle entities"); } // calculate sum of area of triangles result = 0.0; const moab::EntityHandle *conn; int len; moab::CartVect coords[3]; for (moab::Range::iterator j = triangles.begin(); j != triangles.end(); ++j) { rval = MBI->get_connectivity( *j, conn, len, true ); MB_CHK_SET_ERR(rval, "Failed to get the current triangle's connectivity"); if(3 != len) { MB_SET_ERR(MB_FAILURE, "Incorrect connectivity length for triangle"); } rval = MBI->get_coords( conn, 3, coords[0].array() ); MB_CHK_SET_ERR(rval, "Failed to get the current triangle's vertex coordinates"); // calculated area using cross product of triangle edges moab::CartVect v1 = coords[1] - coords[0]; moab::CartVect v2 = coords[2] - coords[0]; moab::CartVect xp = v1 * v2; result += xp.length(); } result *= 0.5; return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::measure_volume(moab::EntityHandle volume, double& result) { moab::ErrorCode rval; std::vector<moab::EntityHandle> surfaces; result = 0.0; // don't try to calculate volume of implicit complement if (GTT->is_implicit_complement(volume)) { result = 1.0; return MB_SUCCESS; } // get surfaces from volume rval = MBI->get_child_meshsets( volume, surfaces ); MB_CHK_SET_ERR(rval, "Failed to get the volume's child surfaces"); // get surface senses std::vector<int> senses( surfaces.size() ); rval = GTT->get_surface_senses( volume, surfaces.size(), &surfaces[0], &senses[0] ); MB_CHK_SET_ERR(rval, "Failed to retrieve surface-volume sense data. Cannot calculate volume"); for (unsigned i = 0; i < surfaces.size(); ++i) { // skip non-manifold surfaces if (!senses[i]) { continue; } // get triangles in surface moab::Range triangles; rval = MBI->get_entities_by_dimension(surfaces[i], 2, triangles); MB_CHK_SET_ERR(rval, "Failed to get the surface triangles"); if (!triangles.all_of_type(MBTRI)) { std::cout << "WARNING: Surface " << surfaces[i] // todo: use geomtopotool to get id by entity handle << " contains non-triangle elements. Volume calculation may be incorrect." << std::endl; triangles.clear(); rval = MBI->get_entities_by_type(surfaces[i], MBTRI, triangles); MB_CHK_SET_ERR(rval, "Failed to get the surface triangles"); } // calculate signed volume beneath surface (x 6.0) double surf_sum = 0.0; const moab::EntityHandle *conn; int len; moab::CartVect coords[3]; for (moab::Range::iterator j = triangles.begin(); j != triangles.end(); ++j) { rval = MBI->get_connectivity( *j, conn, len, true ); MB_CHK_SET_ERR(rval, "Failed to get the connectivity of the current triangle"); if(3 != len) { MB_SET_ERR(MB_FAILURE, "Incorrect connectivity length for triangle"); } rval = MBI->get_coords( conn, 3, coords[0].array() ); MB_CHK_SET_ERR(rval, "Failed to get the coordinates of the current triangle's vertices"); coords[1] -= coords[0]; coords[2] -= coords[0]; surf_sum += (coords[0] % (coords[1] * coords[2])); } result += senses[i] * surf_sum; } result /= 6.0; return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::closest_to_location(moab::EntityHandle volume, const double point[3], double& result, moab::EntityHandle* closest_surf) { closest(volume, point, result, closest_surf, nullptr); return moab::MB_SUCCESS; } void RayTracingInterface::closest(moab::EntityHandle volume, const double loc[3], double& result, moab::EntityHandle* surface, moab::EntityHandle* facet) { const std::vector<DblTri>& buffer = buffer_storage.retrieve_buffer(volume); // create point query object, a dual representation of the single and double precision query, // sets parameters of the closest to location query RTCDPointQuery point_query; point_query.set_radius(inf); point_query.time = 0.f; point_query.set_point(loc); // create a point query context (Embree needs to initialize this object) RTCPointQueryContext pq_context; rtcInitPointQueryContext(&pq_context); RTCScene scene = scene_map[volume]; // perform the point query on the Embree scene rtcPointQuery(scene, &point_query, &pq_context, (RTCPointQueryFunction)DblTriPointQueryFunc, (void*)&scene); // handle case where no triangle is found if (point_query.geomID == RTC_INVALID_GEOMETRY_ID) { if (surface) { surface = 0; } if (facet) { facet = 0; } result = inf; return; } // set the result using the double-precision value of the query result result = point_query.dradius; // determine what scene RTCGeometry g = rtcGetGeometry(scene, point_query.geomID); // look up the triangle buffer array we stored on this geometry void* tris_i = rtcGetGeometryUserData(g); // find the DblTri in the array using the primitive ID as an index const DblTri* tris = (const DblTri*) tris_i; const DblTri& this_tri = tris[point_query.primID]; // set the outgoing surface and triangle data if (surface) { *surface = this_tri.surf; } if (facet) { *facet = this_tri.handle; } } void RayTracingInterface::shutdown() { // release the device if (g_device) { rtcReleaseDevice (g_device); } } void RayTracingInterface::fire(moab::EntityHandle volume, RTCDRayHit &rayhit) { { RTCIntersectContext context; rtcInitIntersectContext(&context); rtcIntersect1(scene_map[volume],&context,(RTCRayHit*)&rayhit); rayhit.hit.Ng_x = -rayhit.hit.Ng_x; rayhit.hit.Ng_y = -rayhit.hit.Ng_y; rayhit.hit.Ng_z = -rayhit.hit.Ng_z; } } // point_in_volume_slow, including poly_solid_angle helper subroutine // are adapted from "Point in Polyhedron Testing Using Spherical Polygons", Paulo Cezar // Pinto Carvalho and Paulo Roma Cavalcanti, _Graphics Gems V_, pg. 42. Original algorithm // was described in "An Efficient Point In Polyhedron Algorithm", Jeff Lane, Bob Magedson, // and Mike Rarick, _Computer Vision, Graphics, and Image Processing 26_, pg. 118-225, 1984. // helper function for point_in_volume_slow. calculate area of a polygon // projected into a unit-sphere space moab::ErrorCode RayTracingInterface::poly_solid_angle(moab::EntityHandle face, const moab::CartVect& point, double& solid_angle) { ErrorCode rval; // Get connectivity const moab::EntityHandle* conn; int len; rval = MBI->get_connectivity( face, conn, len, true ); MB_CHK_SET_ERR(rval, "Failed to get the connectivity of the polygon"); // Allocate space to store vertices moab::CartVect coords_static[4]; std::vector<CartVect> coords_dynamic; moab::CartVect* coords = coords_static; if ((unsigned)len > (sizeof(coords_static)/sizeof(coords_static[0]))) { coords_dynamic.resize(len); coords = &coords_dynamic[0]; } // get coordinates rval = MBI->get_coords( conn, len, coords->array() ); MB_CHK_SET_ERR(rval, "Failed to get the coordinates of the polygon vertices"); // calculate normal moab::CartVect norm(0.0), v1, v0 = coords[1] - coords[0]; for (int i = 2; i < len; ++i) { v1 = coords[i] - coords[0]; norm += v0 * v1; v0 = v1; } // calculate area double s, ang; solid_angle = 0.0; moab::CartVect r, n1, n2, b, a = coords[len-1] - coords[0]; for (int i = 0; i < len; ++i) { r = coords[i] - point; b = coords[(i+1)%len] - coords[i]; n1 = a * r; // = norm1 (magnitude is important) n2 = r * b; // = norm2 (magnitude is important) s = (n1 % n2) / (n1.length() * n2.length()); // = cos(angle between norm1,norm2) ang = s <= -1.0 ? M_PI : s >= 1.0 ? 0.0 : acos(s); // = acos(s) s = (b * a) % norm; // =orientation of triangle wrt point solid_angle += s > 0.0 ? M_PI - ang : M_PI + ang; a = -b; } solid_angle -= M_PI * (len - 2); if ((norm % r) > 0) solid_angle = -solid_angle; return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::point_in_volume_slow(moab::EntityHandle volume, const double xyz[3], int& result) { moab::ErrorCode rval; moab::Range faces; std::vector<moab::EntityHandle> surfs; std::vector<int> senses; double sum = 0.0; const moab::CartVect point(xyz); rval = MBI->get_child_meshsets( volume, surfs ); MB_CHK_SET_ERR(rval, "Failed to get the volume's child surfaces"); senses.resize( surfs.size() ); rval = GTT->get_surface_senses( volume, surfs.size(), &surfs[0], &senses[0] ); MB_CHK_SET_ERR(rval, "Failed to get the volume's surface senses"); for (unsigned i = 0; i < surfs.size(); ++i) { if (!senses[i]) // skip non-manifold surfaces continue; double surf_area = 0.0, face_area; faces.clear(); rval = MBI->get_entities_by_dimension( surfs[i], 2, faces ); MB_CHK_SET_ERR(rval, "Failed to get the surface entities by dimension"); for (moab::Range::iterator j = faces.begin(); j != faces.end(); ++j) { rval = poly_solid_angle( *j, point, face_area ); MB_CHK_SET_ERR(rval, "Failed to determin the polygon's solid angle"); surf_area += face_area; } sum += senses[i] * surf_area; } result = fabs(sum) > 2.0*M_PI; return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::point_in_volume(const moab::EntityHandle volume, const double xyz[3], int& result, const double *uvw, const moab::GeomQueryTool::RayHistory *history, double overlap_tol) { const double huge_val = std::numeric_limits<double>::max(); double dist_limit = huge_val; RTCScene scene = scene_map[volume]; // use the direction if provided, otherwise use any random direction std::array<double, 3> dir{0.5, 0.5, 0.5}; if (uvw) { dir = {uvw[0], uvw[1], uvw[2]}; } // struct that holds all info about the intersection MBRayHit mbrayhit; // set information about the ray MBRay& mbray = mbrayhit.ray; mbray.set_org(xyz); mbray.set_dir(dir.data()); mbray.rf_type = RayFireType::PIV; mbray.orientation = 1; mbray.mask = -1; // no mask mbray.tnear = 0.0; // no minimum distance befor the intersection mbray.set_len(dist_limit); // set the history if present if (history) { mbray.rh = history; } // set initial hit data MBHit& mbhit = mbrayhit.hit; mbhit.geomID = RTC_INVALID_GEOMETRY_ID; mbhit.primID = RTC_INVALID_GEOMETRY_ID; // fire ray { RTCIntersectContext context; rtcInitIntersectContext(&context); rtcIntersect1(scene,&context,(RTCRayHit*)&mbrayhit); // triangle normal conventions are the flipped in Embree compared to MOAB // TODO: reverse the initial triangle normals so we don't have to do these ops here. mbhit.Ng_x = -mbhit.Ng_x; mbhit.Ng_y = -mbhit.Ng_y; mbhit.Ng_z = -mbhit.Ng_z; } Vec3da ray_dir(dir.data()); Vec3da tri_norm(mbrayhit.hit.dNg[0], mbrayhit.hit.dNg[1], mbrayhit.hit.dNg[2]); // use the triangle normal vs. ray direction to determine if this is an entering // or exiting intersection if (mbrayhit.hit.geomID != RTC_INVALID_GEOMETRY_ID) { result = dot(ray_dir, tri_norm) > 0.0 ? 1 : 0; } else { result = 0; } return moab::MB_SUCCESS; } void RayTracingInterface::boundary_case(moab::EntityHandle volume, int& result, double u, double v, double w, moab::EntityHandle facet, moab::EntityHandle surface) { moab::EntityHandle rval; // TODO: Improve this check for direction if (u <= 1.0 && v <= 1.0 && w <= 1.0) { Vec3da uvw(u, v, w); Vec3da coords[3], normal(0.0); std::vector<moab::EntityHandle> conn; int sense_out; rval = MBI->get_connectivity(&facet, 1, conn); MB_CHK_SET_ERR_CONT(rval, "Failed to get facet connectivity"); rval = MBI->get_coords(&conn[0], 1, &(coords[0][0])); MB_CHK_SET_ERR_CONT(rval, "Failed to get vertex coordinates"); rval = MBI->get_coords(&conn[1], 1, &(coords[1][0])); MB_CHK_SET_ERR_CONT(rval, "Failed to get vertex coordinates"); rval = MBI->get_coords(&conn[2], 1, &(coords[2][0])); MB_CHK_SET_ERR_CONT(rval, "Failed to get vertex coordinates"); rval = GTT->get_sense(surface, volume, sense_out); MB_CHK_SET_ERR_CONT(rval, "Failed to get the surface sense"); // vectors along two of the triangle edges coords[1] -= coords[0]; coords[2] -= coords[0]; normal = sense_out * cross(coords[1], coords[2]); double sense = dot(uvw, normal); if ( sense < 0.0 ) { result = 1; // inside or entering } else if ( sense > 0.0 ) { result = 0; // outside or leaving } else if ( sense == 0.0 ) { result = -1; // tangent, therefore on boundary } else { result = -1; // failure MB_SET_ERR_CONT(moab::MB_FAILURE); } } else { result = -1; } } moab::ErrorCode RayTracingInterface::test_volume_boundary(const moab::EntityHandle volume, const moab::EntityHandle surface, const double xyz[3], const double uvw[3], int& result, const moab::GeomQueryTool::RayHistory* history) { moab::ErrorCode rval; int dir; moab::EntityHandle last_facet_hit = 0; if (history) { history->get_last_intersection(last_facet_hit); } if (last_facet_hit != 0) { boundary_case(volume, dir, uvw[0], uvw[1], uvw[2], last_facet_hit, surface); } else { // find nearest facet moab::EntityHandle surf, facet; double dist; closest(volume, xyz, dist, &surf, &facet); boundary_case(volume, dir, uvw[0], uvw[1], uvw[2], facet, surface); } result = dir; return moab::MB_SUCCESS; } moab::ErrorCode RayTracingInterface::ray_fire(const moab::EntityHandle volume, const double point[3], const double dir[3], moab::EntityHandle& next_surf, double& next_surf_dist, moab::GeomQueryTool::RayHistory* history, double user_dist_limit, int ray_orientation, void* dum) { const double huge_val = std::numeric_limits<double>::max(); double dist_limit = huge_val; if (user_dist_limit > 0) { dist_limit = user_dist_limit; } next_surf = 0; next_surf_dist = huge_val; RTCScene scene = scene_map[volume]; // struct that stores information about the ray and hit MBRayHit rayhit; // set information for the ray MBRay& mbray = rayhit.ray; mbray.set_org(point); mbray.set_dir(dir); mbray.tnear = 0.0; mbray.set_len(dist_limit); mbray.rf_type = RayFireType::RF; mbray.orientation = ray_orientation; mbray.mask = -1; // no mask if (history) { mbray.rh = history; } // set initial hit information (no geom or primitive) MBHit& mbhit = rayhit.hit; mbhit.geomID = RTC_INVALID_GEOMETRY_ID; mbhit.primID = RTC_INVALID_GEOMETRY_ID; // fire ray { RTCIntersectContext context; rtcInitIntersectContext(&context); rtcIntersect1(scene,&context,(RTCRayHit*)&rayhit); mbhit.Ng_x = -mbhit.Ng_x; mbhit.Ng_y = -mbhit.Ng_y; mbhit.Ng_z = -mbhit.Ng_z; } // check behind the ray origin for intersections MBRayHit neg_rayhit; MBRay& neg_ray = neg_rayhit.ray; neg_ray.set_org(point); neg_ray.set_dir(-mbray.ddir); // fire in the opposite direction neg_ray.tnear = 0.0; neg_ray.rf_type = RayFireType::RF; neg_ray.orientation = -ray_orientation; // opposite ray orientation to match flipped direction neg_ray.set_len(overlap_thickness); if (history) { neg_ray.rh = history; } // set initial hit information (no geom or primitive) MBHit& neg_hit = neg_rayhit.hit; neg_hit.geomID = RTC_INVALID_GEOMETRY_ID; neg_hit.primID = RTC_INVALID_GEOMETRY_ID; // fire ray in negative direction if (overlap_thickness > 0.0) { RTCIntersectContext context; rtcInitIntersectContext(&context); rtcIntersect1(scene,&context,(RTCRayHit*)&neg_ray); neg_hit.Ng_x = -neg_hit.Ng_x; neg_hit.Ng_y = -neg_hit.Ng_y; neg_hit.Ng_z = -neg_hit.Ng_z; } bool use_neg_intersection = false; // If an RTI is found at negative distance, perform a PMT to see if the // particle is inside an overlap. if(neg_hit.geomID != RTC_INVALID_GEOMETRY_ID) { moab::ErrorCode rval; // get the next volume std::vector<moab::EntityHandle> vols; moab::EntityHandle nx_vol; rval = MBI->get_parent_meshsets( neg_hit.surf_handle, vols ); MB_CHK_SET_ERR_CONT(rval, "Failed to get the parent meshsets"); if (2 != vols.size()) { MB_CHK_SET_ERR_CONT(moab::MB_FAILURE, "Invaid number of parent volumes found"); } if(vols.front() == volume) { nx_vol = vols.back(); } else { nx_vol = vols.front(); } int result = 0; point_in_volume( nx_vol, point, result, dir, history ); MB_CHK_SET_ERR_CONT(rval, "Point in volume query failed"); if (1 == result) use_neg_intersection = true; } if(use_neg_intersection && neg_hit.geomID != RTC_INVALID_GEOMETRY_ID) { next_surf_dist = 0; next_surf = neg_hit.surf_handle; } else if ( mbhit.geomID != RTC_INVALID_GEOMETRY_ID) { next_surf_dist = mbray.dtfar; next_surf = mbhit.surf_handle; } else { next_surf_dist = 1E37; next_surf = 0; } if (history) { if(use_neg_intersection) { history->add_entity(neg_hit.prim_handle); } else { history->add_entity(mbhit.prim_handle); } } return MB_SUCCESS; } moab::ErrorCode RayTracingInterface::get_vols(moab::Range& vols) { moab::ErrorCode rval; // retrieve vols using the geom tag moab::Tag geom_tag; rval = MBI->tag_get_handle("GEOM_DIMENSION", geom_tag); MB_CHK_SET_ERR(rval, "Failed to get the geometry dimension tag"); int val = 3; const void *dum = &val; rval = MBI->get_entities_by_type_and_tag(0, moab::MBENTITYSET, &geom_tag, &dum, 1, vols); MB_CHK_SET_ERR(rval, "Failed to get all surface sets in the model"); return moab::MB_SUCCESS; } bool RayTracingInterface::has_bvh() const { return scene_map.size() > 0; }
[ "pshriwise@gmail.com" ]
pshriwise@gmail.com
008294836114e13a155c731e083fa3bdce7023b3
bb375fed026298b41f3c07c7b8652a9dde6ab586
/devicepanel.h
815dccec3572df78d9adc7430dae5e83a013a029
[ "LicenseRef-scancode-warranty-disclaimer", "curl", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
quimodotcom/QuiMiner
972ec31de373bfd6daf546c2c52ba7f4536e7ea7
dc0f5eac5df92b8450eff2d09700ac5f9317daa0
refs/heads/master
2022-01-14T05:02:17.696435
2019-07-08T15:21:30
2019-07-08T15:21:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,284
h
/* * Copyright 2018 Azlehria * * 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. */ #if !defined _DEVICEPANEL_H_ #define _DEVICEPANEL_H #include "types.h" #include "isolver.h" #define NOATOM #define NOCLIPBOARD #define NOKERNEL #define NOMEMMGR #define NOMETAFILE #define NOMINMAX #define NOSERVICE #define NOSOUND #define NOWH #define NOCOMM #define NOKANJI #define NOHELP #define NOPROFILER #define NOMCX #define _AMD64_ #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <cinttypes> #include <memory> class DevicePanel { public: enum DeviceType { DEVICE_CPU, DEVICE_CUDA, DEVICE_CL }; DevicePanel( std::shared_ptr<ISolver> const ); ~DevicePanel() = default; operator HWND() const { return panel; }; auto Rescale() -> void; auto UpdateStatus() -> void; auto Start() -> void; auto Stop() -> void; static auto MakePanelClass() -> bool; private: DevicePanel& operator=( DevicePanel const & ) = delete; std::shared_ptr<ISolver> const solver; HWND panel; HWND name; HWND temp; HWND temp_cap; HWND core; HWND core_cap; HWND mem; HWND mem_cap; HWND intensity; HWND hashrate; HWND hashrate_cap; HWND button; int32_t y_offset; wchar_t t_string[16]; }; #endif
[ "azlehria@gmail.com" ]
azlehria@gmail.com
e7e7f05ed5d458a566fa6c8a7e53c3d84e432513
5fcacbc63db76625cc60ffc9d6ed58a91f134ea4
/vxl/vxl-1.13.0/contrib/gel/vifa/vifa_group_pgram.cxx
9b9a2cc76f5f3a4a07ecb3b11d778df0f829cb17
[]
no_license
EasonZhu/rcc
c809956eb13fb732d1b2c8035db177991e3530aa
d230b542fa97da22271b200e3be7441b56786091
refs/heads/master
2021-01-15T20:28:26.541784
2013-05-14T07:18:12
2013-05-14T07:18:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,112
cxx
// This is gel/vifa/vifa_group_pgram.cxx #include "vifa_group_pgram.h" //: // \file #include <vcl_cmath.h> #include <vnl/vnl_math.h> #include <vgl/vgl_point_2d.h> #include <vgl/vgl_vector_2d.h> #include <vgl/vgl_clip.h> #ifndef DEGTORAD #define DEGTORAD (vnl_math::pi / 180.0) #endif vifa_group_pgram:: vifa_group_pgram(imp_line_list& lg, const vifa_group_pgram_params& old_params, double angle_range) : vifa_group_pgram_params(old_params) { angle_range_ = angle_range; th_dim_ = (int)vcl_ceil(angle_range_/angle_increment()); th_dim_++; //Include both 0 and angle_range_ bb_ = new vifa_bbox; for (int i = 0; i < th_dim_; i++) { imp_line_list* illp = new imp_line_list; curves_.push_back(illp); } this->Index(lg); } //------------------------------------------------------------ //: Destructor vifa_group_pgram:: ~vifa_group_pgram() { for (imp_line_table::iterator ilti = curves_.begin(); ilti != curves_.end(); ilti++) { imp_line_list* illp = (*ilti); for (imp_line_iterator ili = illp->begin(); ili != illp->end(); ili++) { (*ili) = 0; } delete illp; } } //----------------------------------------------------- //: Add an ImplicitLine to the index void vifa_group_pgram:: Index(imp_line_sptr il) { int ang_bin = this->AngleLoc(il); curves_[ang_bin]->push_back(il); this->touch(); } //------------------------------------------------------------ //: Add a set of ImplicitLines to the angular index void vifa_group_pgram:: Index(imp_line_list& lg) { for (imp_line_iterator ili = lg.begin(); ili != lg.end(); ili++) Index(*ili); } //------------------------------------------------------------ //: Clear all lines from the index void vifa_group_pgram:: Clear() { for (imp_line_table::iterator ilti = curves_.begin(); ilti != curves_.end(); ilti++) { imp_line_list* illp = (*ilti); for (imp_line_iterator ili = illp->begin(); ili != illp->end(); ili++) (*ili) = 0; delete illp; (*ilti) = new imp_line_list; } this->touch(); } //----------------------------------------------------------------- //: Compute a histogram of parallel line coverage // vifa_histogram_sptr vifa_group_pgram:: GetCoverageHist(void) { vifa_histogram_sptr h = new vifa_histogram(th_dim_, 0.0f, float(angle_range_)); float* cnts = h->GetCounts(); for (int i = 0; i < th_dim_; i++) cnts[i] = float(this->LineCoverage(i)); return h; } //-------------------------------------------------------------- //: Get a populated line coverage corresponding to a given angle bin // vifa_line_cover_sptr vifa_group_pgram:: GetLineCover(int angle_bin) { imp_line_sptr il = this->LineAtAngle(angle_bin); // Get all the lines which are within +- angular resolution of angle_bin. imp_line_list lg; this->CollectAdjacentLines(angle_bin, lg); if (!lg.size()) { return NULL; } // Construct a bounding box from the ROI and clip // the line defined by angle_bin double bx; double by; double ex; double ey; this->CheckUpdateBoundingBox(); if (!vgl_clip_line_to_box(il->a(), il->b(), il->c(), bb_->min_x(), bb_->min_y(), bb_->max_x(), bb_->max_y(), bx, by, ex, ey)) { vcl_cerr << "In vifa_group_pgram::GetLineCover(): No intersection found\n"; return NULL; } // Here we set the clipping bounds. vgl_point_2d<double> b(bx, by); vgl_point_2d<double> e(ex, ey); il->set_points(b, e); // The line is cut into 1 pixel bins int len = int(il->length()); if (!len) { return NULL; } vifa_line_cover_sptr cov = new vifa_line_cover(il, len); for (imp_line_iterator ili = lg.begin(); ili != lg.end(); ili++) { cov->InsertLine(*ili); } return cov; } //-------------------------------------------------------------- //: Compute parallel line overlap on a line at the same orientation with midpoint at the center of the region of the line group. // double vifa_group_pgram:: LineCoverage(int angle_bin) { vifa_line_cover_sptr lc = this->GetLineCover(angle_bin); return lc ? lc->GetCoverage() : 0.0; } //-------------------------------------------------------------- //: Collect implicit line(s) from the angle array at orientations +- the given bin orientation. // Wrap around the end of the array so that 0 degrees and 180 degrees are considered parallel. void vifa_group_pgram:: CollectAdjacentLines(int angle_bin, imp_line_list& lg) { if (angle_bin >= 0 && angle_bin < th_dim_) { if (angle_bin == 0) { // Case I - At the beginning of the array lg.insert(lg.end(), curves_[th_dim_ - 1]->begin(), curves_[th_dim_ - 1]->end()); lg.insert(lg.end(), curves_[0]->begin(), curves_[0]->end()); lg.insert(lg.end(), curves_[1]->begin(), curves_[1]->end()); } else if (angle_bin == th_dim_ - 1) { // Case II - At the end of the array lg.insert(lg.end(), curves_[th_dim_ - 2]->begin(), curves_[th_dim_ - 2]->end()); lg.insert(lg.end(), curves_[th_dim_ - 1]->begin(), curves_[th_dim_ - 1]->end()); lg.insert(lg.end(), curves_[0]->begin(), curves_[0]->end()); } else { // Case III - not near ends of the array lg.insert(lg.end(), curves_[angle_bin - 1]->begin(), curves_[angle_bin - 1]->end()); lg.insert(lg.end(), curves_[angle_bin]->begin(), curves_[angle_bin]->end()); lg.insert(lg.end(), curves_[angle_bin + 1]->begin(), curves_[angle_bin + 1]->end()); } } else vcl_cerr << "vifa_group_pgram::CollectAdjacentLines(): bad angle_bin\n"; } //------------------------------------------------------------------ //: Get Total length of parallel lines adjacent and including a bin // double vifa_group_pgram:: GetAdjacentPerimeter(int bin) { imp_line_list lg; this->CollectAdjacentLines(bin, lg); double sum = 0; for (imp_line_iterator ili = lg.begin(); ili != lg.end(); ili++) { vgl_vector_2d<double> v = (*ili)->point2() - (*ili)->point1(); sum += v.length(); } return sum; } //------------------------------------------------------ //: Compute the total length of parallel lines normalized by the total edge perimeter double vifa_group_pgram:: norm_parallel_line_length(void) { this->ComputeDominantDirs(); if (dominant_dirs_.size() < 1) { // No basis return 0.0; } double max_cover = 0.0; int max_dir = 0; vcl_vector<int>::iterator iit = dominant_dirs_.begin(); for (; iit != dominant_dirs_.end(); iit++) { int dir = (*iit); vifa_line_cover_sptr lc = this->GetLineCover(dir); if (!(lc.ptr())) { // vcl_cout << "vgg::norm_parallel_line_length(): " // << "No line cover found for dir " << dir << vcl_endl; // Is this right? What about other dominant directions? // return 0.0; continue; } double cov = lc->GetCoverage(); if (cov > max_cover) { max_cover = cov; max_dir = dir; } } double per = this->GetAdjacentPerimeter(max_dir); // vcl_cout << "vgg::norm_parallel_line_length(): per = " << per // << ", tmp1_ = " << tmp1_ << vcl_endl; return 1.5 * per / tmp1_; } //--------------------------------------------------------- //: Find the angle bin corresponding to an implicit_line int vifa_group_pgram:: AngleLoc(imp_line_sptr il) { // Compute angle index double angle = vcl_fmod(il->slope_degrees(), 180.0); if (angle < 0.0) angle += 180.0; if (angle > angle_range_) { vcl_cerr << "In vifa_group_pgram::AngleLoc(): angle " << angle << " was outside the angle range " << angle_range_ << vcl_endl; return 0; } return (int)(vcl_floor(angle / angle_increment())); } //-------------------------------------------------------------- //: Define a line passing through the center of the Hough ROI and at an angle correspoinding the angle bin imp_line_sptr vifa_group_pgram:: LineAtAngle(int angle_bin) { // Get the new line's direction unit vector double ang_rad = DEGTORAD * angle_bin * angle_increment(); vgl_vector_2d<double> d(vcl_cos(ang_rad), vcl_sin(ang_rad)); // Get the new line's midpoint (bounding box centroid) this->CheckUpdateBoundingBox(); vgl_point_2d<double> m = bb_->centroid(); // Return a new line imp_line_sptr il = new imp_line(d, m); return il; } //------------------------------------------------------ //: Compute the bounding box of the current index // void vifa_group_pgram:: ComputeBoundingBox(void) { // Reset the bounding box bb_->empty(); for (imp_line_table::iterator ilti = curves_.begin(); ilti != curves_.end(); ilti++) { imp_line_list* illp = (*ilti); for (imp_line_iterator ili = illp->begin(); ili != illp->end(); ili++) { imp_line_sptr il = (*ili); bb_->add(il->point1()); bb_->add(il->point2()); } } // Update the bounding box timestamp bb_->touch(); } //--------------------------------------------------------- //: Compute the dominant directions using the coverage histogram. // A dominant direction is a local maximum in the coverage distribution. // void vifa_group_pgram:: ComputeDominantDirs(void) { dominant_dirs_.clear(); // Get the coverage histogram and do find local maxima. vifa_histogram_sptr h = this->GetCoverageHist(); vifa_histogram_sptr h_sup = h->NonMaximumSupress(max_suppress_radius(), true); float* cnts = h_sup->GetCounts(); int max_idx = h_sup->GetRes(); // Rebuild the dominant direction array for (int i = 0; i < max_idx; i++) if (cnts[i] > 0) dominant_dirs_.push_back(i); // vcl_cout << "vgg::ComputeDominantDirs(): max_idx = " << max_idx << ", " // << dominant_dirs_.size() << " dominant directions found\n"; }
[ "hieuza@gmail.com" ]
hieuza@gmail.com
5764d0df20e6cbb6031bcf7bb2b7d22adbe7aad9
3cf9e141cc8fee9d490224741297d3eca3f5feff
/C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-1949.cpp
f3398f773a6c0896cb0a805931ce648bb94e6c5f
[]
no_license
TeamVault/tauCFI
e0ac60b8106fc1bb9874adc515fc01672b775123
e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10
refs/heads/master
2023-05-30T20:57:13.450360
2021-06-14T09:10:24
2021-06-14T09:10:24
154,563,655
0
1
null
null
null
null
UTF-8
C++
false
false
2,389
cpp
struct c0; void __attribute__ ((noinline)) tester0(c0* p); struct c0 { bool active0; c0() : active0(true) {} virtual ~c0() { tester0(this); active0 = false; } virtual void f0(){} }; void __attribute__ ((noinline)) tester0(c0* p) { p->f0(); } struct c1; void __attribute__ ((noinline)) tester1(c1* p); struct c1 { bool active1; c1() : active1(true) {} virtual ~c1() { tester1(this); active1 = false; } virtual void f1(){} }; void __attribute__ ((noinline)) tester1(c1* p) { p->f1(); } struct c2; void __attribute__ ((noinline)) tester2(c2* p); struct c2 { bool active2; c2() : active2(true) {} virtual ~c2() { tester2(this); active2 = false; } virtual void f2(){} }; void __attribute__ ((noinline)) tester2(c2* p) { p->f2(); } struct c3; void __attribute__ ((noinline)) tester3(c3* p); struct c3 : c1, virtual c0 { bool active3; c3() : active3(true) {} virtual ~c3() { tester3(this); c0 *p0_0 = (c0*)(c3*)(this); tester0(p0_0); c1 *p1_0 = (c1*)(c3*)(this); tester1(p1_0); active3 = false; } virtual void f3(){} }; void __attribute__ ((noinline)) tester3(c3* p) { p->f3(); if (p->active1) p->f1(); if (p->active0) p->f0(); } struct c4; void __attribute__ ((noinline)) tester4(c4* p); struct c4 : c0, c2, virtual c1 { bool active4; c4() : active4(true) {} virtual ~c4() { tester4(this); c0 *p0_0 = (c0*)(c4*)(this); tester0(p0_0); c1 *p1_0 = (c1*)(c4*)(this); tester1(p1_0); c2 *p2_0 = (c2*)(c4*)(this); tester2(p2_0); active4 = false; } virtual void f4(){} }; void __attribute__ ((noinline)) tester4(c4* p) { p->f4(); if (p->active0) p->f0(); if (p->active2) p->f2(); if (p->active1) p->f1(); } int __attribute__ ((noinline)) inc(int v) {return ++v;} int main() { c0* ptrs0[25]; ptrs0[0] = (c0*)(new c0()); ptrs0[1] = (c0*)(c3*)(new c3()); ptrs0[2] = (c0*)(c4*)(new c4()); for (int i=0;i<3;i=inc(i)) { tester0(ptrs0[i]); delete ptrs0[i]; } c1* ptrs1[25]; ptrs1[0] = (c1*)(new c1()); ptrs1[1] = (c1*)(c3*)(new c3()); ptrs1[2] = (c1*)(c4*)(new c4()); for (int i=0;i<3;i=inc(i)) { tester1(ptrs1[i]); delete ptrs1[i]; } c2* ptrs2[25]; ptrs2[0] = (c2*)(new c2()); ptrs2[1] = (c2*)(c4*)(new c4()); for (int i=0;i<2;i=inc(i)) { tester2(ptrs2[i]); delete ptrs2[i]; } c3* ptrs3[25]; ptrs3[0] = (c3*)(new c3()); for (int i=0;i<1;i=inc(i)) { tester3(ptrs3[i]); delete ptrs3[i]; } c4* ptrs4[25]; ptrs4[0] = (c4*)(new c4()); for (int i=0;i<1;i=inc(i)) { tester4(ptrs4[i]); delete ptrs4[i]; } return 0; }
[ "ga72foq@mytum.de" ]
ga72foq@mytum.de
1e44e5779e8b6c4d3b3fcfcad8dc5e2f85def768
b618e4cf7e3739e0033a0b52e4aec80cecea5a8b
/TCPService/TCPService/TcpServiceExp.cpp
42ba9c76a28a8ffd03a55b39567d02d1d179e10d
[ "MIT" ]
permissive
xiaocaovc/TcpIpServic
54a50a8a3f1ce5b5fc1c8d8d138ad0cb70870933
bee9750d69b72fdb32d41315f35e2abd5a64c007
refs/heads/master
2021-01-22T01:43:54.961183
2017-09-03T01:39:19
2017-09-03T01:39:19
102,233,148
1
0
null
null
null
null
UTF-8
C++
false
false
625
cpp
///////////////////////////////////////////////////////////////////////////// // Name: TcpServiceExp.cpp // Purpose: // Author: // Modified by: // Created: // RCS-ID: // Copyright: // Licence: ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #define NETSERVICE_OP_API extern "C" _declspec(dllexport) #include "NetServiceExp.h" #include "Server.h" CServer svr; NETSERVICE_OP_API int net_CreateServer(unsigned short nPort, char* szIP) { return svr.CreateServer(nPort, szIP); } NETSERVICE_OP_API int net_StopServer() { return svr.Stop(); }
[ "centercao2010@163.com" ]
centercao2010@163.com
14fac68fe60ed138689c600b5a0c92916a2e1797
9de18ef120a8ae68483b866c1d4c7b9c2fbef46e
/third_party/libutils/include/utils/String16.h
3ef56a3cfa8faa5106e4ff7a5004c8dbce93a103
[ "BSD-2-Clause", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
google/orbit
02a5b4556cd2f979f377b87c24dd2b0a90dff1e2
68c4ae85a6fe7b91047d020259234f7e4961361c
refs/heads/main
2023-09-03T13:14:49.830576
2023-08-25T06:28:36
2023-08-25T06:28:36
104,358,587
2,680
325
BSD-2-Clause
2023-08-25T06:28:37
2017-09-21T14:28:35
C++
UTF-8
C++
false
false
11,057
h
/* * Copyright (C) 2005 The Android Open Source Project * * 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. */ #ifndef ANDROID_STRING16_H #define ANDROID_STRING16_H #include <iostream> #include <string> #include <utils/Errors.h> #include <utils/String8.h> #include <utils/TypeHelpers.h> // --------------------------------------------------------------------------- namespace android { // --------------------------------------------------------------------------- template <size_t N> class StaticString16; // DO NOT USE: please use std::u16string //! This is a string holding UTF-16 characters. class String16 { public: String16(); String16(const String16& o); String16(String16&& o) noexcept; String16(const String16& o, size_t len, size_t begin=0); explicit String16(const char16_t* o); explicit String16(const char16_t* o, size_t len); explicit String16(const String8& o); explicit String16(const char* o); explicit String16(const char* o, size_t len); ~String16(); inline const char16_t* string() const; private: static inline std::string std_string(const String16& str); public: size_t size() const; void setTo(const String16& other); status_t setTo(const char16_t* other); status_t setTo(const char16_t* other, size_t len); status_t setTo(const String16& other, size_t len, size_t begin=0); status_t append(const String16& other); status_t append(const char16_t* other, size_t len); inline String16& operator=(const String16& other); String16& operator=(String16&& other) noexcept; inline String16& operator+=(const String16& other); inline String16 operator+(const String16& other) const; status_t insert(size_t pos, const char16_t* chrs); status_t insert(size_t pos, const char16_t* chrs, size_t len); ssize_t findFirst(char16_t c) const; ssize_t findLast(char16_t c) const; bool startsWith(const String16& prefix) const; bool startsWith(const char16_t* prefix) const; bool contains(const char16_t* chrs) const; status_t replaceAll(char16_t replaceThis, char16_t withThis); inline int compare(const String16& other) const; inline bool operator<(const String16& other) const; inline bool operator<=(const String16& other) const; inline bool operator==(const String16& other) const; inline bool operator!=(const String16& other) const; inline bool operator>=(const String16& other) const; inline bool operator>(const String16& other) const; inline bool operator<(const char16_t* other) const; inline bool operator<=(const char16_t* other) const; inline bool operator==(const char16_t* other) const; inline bool operator!=(const char16_t* other) const; inline bool operator>=(const char16_t* other) const; inline bool operator>(const char16_t* other) const; inline operator const char16_t*() const; // Static and non-static String16 behave the same for the users, so // this method isn't of much use for the users. It is public for testing. bool isStaticString() const; private: /* * A flag indicating the type of underlying buffer. */ static constexpr uint32_t kIsSharedBufferAllocated = 0x80000000; /* * alloc() returns void* so that SharedBuffer class is not exposed. */ static void* alloc(size_t size); static char16_t* allocFromUTF8(const char* u8str, size_t u8len); static char16_t* allocFromUTF16(const char16_t* u16str, size_t u16len); /* * edit() and editResize() return void* so that SharedBuffer class * is not exposed. */ void* edit(); void* editResize(size_t new_size); void acquire(); void release(); size_t staticStringSize() const; const char16_t* mString; protected: /* * Data structure used to allocate static storage for static String16. * * Note that this data structure and SharedBuffer are used interchangably * as the underlying data structure for a String16. Therefore, the layout * of this data structure must match the part in SharedBuffer that is * visible to String16. */ template <size_t N> struct StaticData { // The high bit of 'size' is used as a flag. static_assert(N - 1 < kIsSharedBufferAllocated, "StaticString16 too long!"); constexpr StaticData() : size(N - 1), data{0} {} const uint32_t size; char16_t data[N]; constexpr StaticData(const StaticData<N>&) = default; }; /* * Helper function for constructing a StaticData object. */ template <size_t N> static constexpr const StaticData<N> makeStaticData(const char16_t (&s)[N]) { StaticData<N> r; // The 'size' field is at the same location where mClientMetadata would // be for a SharedBuffer. We do NOT set kIsSharedBufferAllocated flag // here. for (size_t i = 0; i < N - 1; ++i) r.data[i] = s[i]; return r; } template <size_t N> explicit constexpr String16(const StaticData<N>& s) : mString(s.data) {} }; // String16 can be trivially moved using memcpy() because moving does not // require any change to the underlying SharedBuffer contents or reference count. ANDROID_TRIVIAL_MOVE_TRAIT(String16) static inline std::ostream& operator<<(std::ostream& os, const String16& str) { os << String8(str); return os; } // --------------------------------------------------------------------------- /* * A StaticString16 object is a specialized String16 object. Instead of holding * the string data in a ref counted SharedBuffer object, it holds data in a * buffer within StaticString16 itself. Note that this buffer is NOT ref * counted and is assumed to be available for as long as there is at least a * String16 object using it. Therefore, one must be extra careful to NEVER * assign a StaticString16 to a String16 that outlives the StaticString16 * object. * * THE SAFEST APPROACH IS TO USE StaticString16 ONLY AS GLOBAL VARIABLES. * * A StaticString16 SHOULD NEVER APPEAR IN APIs. USE String16 INSTEAD. */ template <size_t N> class StaticString16 : public String16 { public: constexpr StaticString16(const char16_t (&s)[N]) : String16(mData), mData(makeStaticData(s)) {} constexpr StaticString16(const StaticString16<N>& other) : String16(mData), mData(other.mData) {} constexpr StaticString16(const StaticString16<N>&&) = delete; // There is no reason why one would want to 'new' a StaticString16. Delete // it to discourage misuse. static void* operator new(std::size_t) = delete; private: const StaticData<N> mData; }; template <typename F> StaticString16(const F&)->StaticString16<sizeof(F) / sizeof(char16_t)>; // --------------------------------------------------------------------------- // No user servicable parts below. inline int compare_type(const String16& lhs, const String16& rhs) { return lhs.compare(rhs); } inline int strictly_order_type(const String16& lhs, const String16& rhs) { return compare_type(lhs, rhs) < 0; } inline const char16_t* String16::string() const { return mString; } inline std::string String16::std_string(const String16& str) { return std::string(String8(str).string()); } inline String16& String16::operator=(const String16& other) { setTo(other); return *this; } inline String16& String16::operator+=(const String16& other) { append(other); return *this; } inline String16 String16::operator+(const String16& other) const { String16 tmp(*this); tmp += other; return tmp; } inline int String16::compare(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()); } inline bool String16::operator<(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) < 0; } inline bool String16::operator<=(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) <= 0; } inline bool String16::operator==(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) == 0; } inline bool String16::operator!=(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) != 0; } inline bool String16::operator>=(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) >= 0; } inline bool String16::operator>(const String16& other) const { return strzcmp16(mString, size(), other.mString, other.size()) > 0; } inline bool String16::operator<(const char16_t* other) const { return strcmp16(mString, other) < 0; } inline bool String16::operator<=(const char16_t* other) const { return strcmp16(mString, other) <= 0; } inline bool String16::operator==(const char16_t* other) const { return strcmp16(mString, other) == 0; } inline bool String16::operator!=(const char16_t* other) const { return strcmp16(mString, other) != 0; } inline bool String16::operator>=(const char16_t* other) const { return strcmp16(mString, other) >= 0; } inline bool String16::operator>(const char16_t* other) const { return strcmp16(mString, other) > 0; } inline String16::operator const char16_t*() const { return mString; } } // namespace android // --------------------------------------------------------------------------- #endif // ANDROID_STRING16_H
[ "noreply@github.com" ]
google.noreply@github.com
efd142a70fca71596267eaa4f97ffdf84eed0208
2e1200fcec94ea57ffb925ee7f35d21bc4a6443e
/trunk-arduino/src/dev-test/stepper_EasyDriver/stepper_EasyDriver_test02/stepper_EasyDriver_test02.ino
e316f1e357bcf2f3ba01a12e93ed0044a479efc9
[]
no_license
cho934/pm-robotix
acc1eaa80069cce297ee52e08961bfdc04110f5a
e88fcfc3d636b428d88797ed612c2461bce58f1b
refs/heads/master
2021-01-20T04:32:23.610337
2015-06-05T20:28:08
2015-06-05T20:28:08
39,189,107
0
0
null
null
null
null
UTF-8
C++
false
false
2,700
ino
/////////////////////////////////////////////////////////// // Arduino 155 // Stepper Motor skecth for use with the EasyDriver v4.4 // /////////////////////////////////////////////////////////// ////// ED_v4 Step Mode Chart ////// // // // MS1 MS2 Resolution // // L L Full step (2 phase) // // H L Half step // // L H Quarter step // // H H Eighth step // // // //////////////////////////////////// #include <AccelStepper.h> int MS1 = 4; int MS2 = 5; int SLEEP = 6; // Define a stepper and the pins it will use AccelStepper stepper(1, 3, 2); //AccelStepper::DRIVER (1) ; Step input ; Direction input int pos = 3600; void setup() { pinMode(MS1, OUTPUT); pinMode(MS2, OUTPUT); pinMode(SLEEP, OUTPUT); int modeType = 8; // Different input states allowed are 1, 2, 4 or 8 digitalWrite(MS1, MS1_MODE(modeType)); // Set state of MS1 based on the returned value from the MS1_MODE() switch statement. digitalWrite(MS2, MS2_MODE(modeType)); // Set state of MS2 based on the returned value from the MS2_MODE() switch statement. digitalWrite(SLEEP, HIGH); // Set the Sleep mode to AWAKE. stepper.setMaxSpeed(8000.0); stepper.setAcceleration(1000.0); stepper.setMinPulseWidth(100); } void loop() { if (stepper.distanceToGo() == 0) { delay(500); pos = -pos; stepper.moveTo(pos); } stepper.run(); } int MS1_MODE(int MS1_StepMode){ // A function that returns a High or Low state number for MS1 pin switch(MS1_StepMode){ // Switch statement for changing the MS1 pin state // Different input states allowed are 1,2,4 or 8 case 1: MS1_StepMode = 0; Serial.println("Step Mode is Full..."); break; case 2: MS1_StepMode = 1; Serial.println("Step Mode is Half..."); break; case 4: MS1_StepMode = 0; Serial.println("Step Mode is Quarter..."); break; case 8: MS1_StepMode = 1; Serial.println("Step Mode is Eighth..."); break; } return MS1_StepMode; } int MS2_MODE(int MS2_StepMode){ // A function that returns a High or Low state number for MS2 pin switch(MS2_StepMode){ // Switch statement for changing the MS2 pin state // Different input states allowed are 1,2,4 or 8 case 1: MS2_StepMode = 0; break; case 2: MS2_StepMode = 0; break; case 4: MS2_StepMode = 1; break; case 8: MS2_StepMode = 1; break; } return MS2_StepMode; }
[ "christophe.chaudelet@gmail.com" ]
christophe.chaudelet@gmail.com
2220630d335c9fb933f4673d651e9634373d68a8
9c74dfbbd539ab75ef4eb023f91e78dba88e2474
/src/lib/Pion.h
57f87ef96c12d06a258fcd678a272cb029f96bbf
[]
no_license
YoNz44/dame
588b2535a7bd98d3bc0168c6b7ecf90a063a8185
ec2cf92a4eaf45e05b43eb9e13d728272a1b50bc
refs/heads/master
2021-07-15T08:14:12.502833
2017-10-22T17:55:13
2017-10-22T17:55:13
107,441,556
1
0
null
null
null
null
UTF-8
C++
false
false
218
h
#ifndef PION_H #define PION_H #include "Piece.h" #include <iostream> #include <string> using namespace std; class Pion : public Piece { public: Pion(); protected: private: }; #endif // PION_H
[ "32772387+YoNz44@users.noreply.github.com" ]
32772387+YoNz44@users.noreply.github.com
90a0a37dbe6b53c1e688e7522042d962953054a6
d6314f33364c36871e2fc7bd49dc0bb9355f242e
/ICPC/ICPC Training/ICPC Practice F/ICPC Practice F/main.cpp
34b95aaa1b347eaa411bc56a842ca950ddd04d0d
[]
no_license
lucasxia01/Competitive-Programming-Problems
26a953cc54ab55be972a79adae0bc79e8dc844e1
a90da940a5cef6faf10efbefa241ad7e799be53a
refs/heads/master
2022-08-31T12:29:36.715884
2022-08-17T04:22:56
2022-08-17T04:22:56
152,951,359
1
0
null
null
null
null
UTF-8
C++
false
false
1,277
cpp
#include <vector> #include <stack> #include <iostream> #include <cstdio> #include <string> #include <cmath> #include <algorithm> #include <map> #include <functional> #include <set> #include <cstring> #include <queue> #include <stdlib.h> #include <time.h> #include <complex> #include <iterator> #include <regex> #include <fstream> #define rep(i,n) for (int i = 0; i < n; i++) #define ll long long #define MAX_N 1000011 #define INF (1<<29) + 123 using namespace std; ll BIT[MAX_N]; ll query(ll i) { int sum = 0; i++; while (i > 0) { sum += BIT[i]; i -= (i&-i); } return sum; } void update(ll i, ll n, ll v) { i++; while (i <= n) { BIT[i] += v; i += (i&-i); } } int main(int argc, const char * argv[]) { ios_base::sync_with_stdio(false); cin.tie(0); ll n; cin >> n; ll a[n], b[n], c[n]; rep(i, n) { cin >> a[i]; b[i] = a[i]; } sort(b, b + n); rep (i, n) a[i] = lower_bound(b, b + n, a[i]) - b + 1; for (ll i = n - 1; i >= 0; i--) { c[i] = query(a[i] - 1LL); //cout << c[i] << " " << i + c[i] - a[i] + 1 << endl; update(a[i], n, 1LL); } ll sum = 0; rep(i, n) sum += abs(c[i] * (i + c[i] - a[i] + 1)); cout << sum << endl; return 0; }
[ "lucasxia01@gmail.com" ]
lucasxia01@gmail.com
c41f78ea3c59f31cca853ca930c2507034b6eb05
bb03fd706e72e2adff50fd8959938f149b945e8e
/Missile.hpp
ad0ac1a8be299284cdbe149f92dcd6447acdbd70
[]
no_license
DStar1/cpp_space_invaders
667c92c57513c7aac220f59d5f9d549deb7cb678
bfa01e90ba9f70af45ada97c7aa1849c943dfa82
refs/heads/master
2020-04-18T20:45:18.842293
2019-03-20T00:53:38
2019-03-20T00:53:38
167,746,099
0
0
null
null
null
null
UTF-8
C++
false
false
1,403
hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Enemy.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: lhernand <lhernand@student.42.us.or> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/01/26 17:23:48 by lhernand #+# #+# */ /* Updated: 2019/01/26 17:23:49 by lhernand ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef MISSILE_HPP # define MISSILE_HPP # include "Game.hpp" # include "Junk.hpp" # include <unistd.h> // library for usleep class Missile : public Junk { public: Missile(void); ~Missile(void); Missile(Missile const & src); Missile &operator=(Missile const & rhs); //methods for movement void moveUp(void); //methods for game mechanics using ncursus int missileCollision(int x, int y); void drawMissile(Game *game); void clearMissile(void); void killMissile(void); }; #endif
[ "harrisonfsmith95@gmail.com" ]
harrisonfsmith95@gmail.com
322e11e29370c1f11554025964fe4c5d1c46caf6
576a09c7fd4ace51c6ae14a119db594aa6fa8df4
/mandible-segmentation/src/filters/ExtractVOI.h
607df45a7d733b6f8f37984f9d26ede905a5c4c1
[]
no_license
EslamAdel/3D-Mandible-Segmentation
e0727035bab972672ff09885394bb274d74bc4e6
09455f004ab0c7bd7b0eb0bcd3b38ed6a4cf5228
refs/heads/main
2023-04-10T15:13:09.211724
2021-04-19T12:32:17
2021-04-19T12:32:17
359,437,077
0
0
null
null
null
null
UTF-8
C++
false
false
802
h
#ifndef EXTRACTVOI_H #define EXTRACTVOI_H #include <vtkExtractVOI.h> #include <vtkSmartPointer.h> #include <vtkImageData.h> #include "Logger.h" class ExtractVOI { public: /** * @brief ExtractVOI */ explicit ExtractVOI(); /** * @brief setRange * @param xi * @param xf * @param yi * @param yf * @param zi * @param zf */ void setRange(int xi, int xf, int yi, int yf, int zi, int zf); /** * @brief setInputData * @param data */ void setInputData(vtkImageData* input); /** * @brief getOutputData * @return */ vtkImageData* getOutputData(); private: /** * @brief extractor_ */ vtkSmartPointer<vtkExtractVOI> extractor_; }; #endif
[ "eslam.adel.mahmoud.ali@gmail.com" ]
eslam.adel.mahmoud.ali@gmail.com
999f047e565def7842a44fc1c5bd669043f07083
acfabd2aff3e177e33197fcc03ee04ac0ecc4890
/Programs/Minimum Number of Days to Make m Bouquets.cpp
19aee7f0b0bfaccdc02ec09de9fa4f1e77bc51bb
[]
no_license
CodesbyUnnati/Solutions
b213e8b2d4f622f0db2ac5f59b46f3f5b5fed8eb
ebd655057e2ef9aa0b84fc52cb6e9661326aff75
refs/heads/main
2023-08-21T17:32:59.615266
2021-10-14T10:06:11
2021-10-14T10:06:11
378,410,701
2
1
null
null
null
null
UTF-8
C++
false
false
1,410
cpp
//Problem Link-https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/ class Solution { public: bool bouquets(vector<int> &bloomDay, int m, int k, int mid) { int n = bloomDay.size(); int flower = 0; int bouquet = 0; for (int i = 0; i < n; i++) { if (bloomDay[i] <= mid) //if number is less than mid then that flower is bloomed. flower++; else flower = 0; if (flower >= k) //flowers are taken to made bouq. { bouquet++; flower = 0; } } if (bouquet >= m) return true; //bouquet is made return false; } int minDays(vector<int> &bloomDay, int m, int k) { int left = *min_element(bloomDay.begin(), bloomDay.end()); int right = *max_element(bloomDay.begin(), bloomDay.end()); int result = -1; //default if (bloomDay.size() < m * k) return -1; //more bouquets, less flowers while (left <= right) { int mid = (left + right) / 2; if (bouquets(bloomDay, m, k, mid)) { result = mid; right = mid - 1; //check on lhs of mid } else left = mid + 1; //check on rhs of mid } return result; } };
[ "noreply@github.com" ]
CodesbyUnnati.noreply@github.com
07e9c94000761da6a5aee1ac7669395b1a84f7b6
d37dd6da24ee5b135d90b3960aa4493868085d6a
/DirectX11 Engine 2019/Effects/HDRPostProcess.h
3a3f04aa49d7ef8dcbdfefb19f83fc2b6b42b96c
[ "MIT" ]
permissive
asdlei99/Luna-Engine
d4bf7d2aa29f1ebfa6c2b942c0e7e3510bb7988e
dcb6ac473b372ba8f87f8c745f76f08a8cbfb537
refs/heads/master
2021-01-02T18:48:26.534398
2019-12-15T17:19:06
2019-12-15T17:19:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
19,177
h
#pragma once #include "Engine Includes/MainInclude.h" // (WIP) // Eye adaptation // Bloom // Depth of Field // Bokeh // struct DownScaleInst { // Res of downscaled target: x - width, y - height uint2 _Res; // Backbuffer / 4 // Total pixels in the downscaled img uint _Domain; // Res.x * Res.y // Number of groups dispatched on 1st pass uint _GroupSize; // Domain / 1024 // float1 _Adaptation; float1 _BloomThreshold; float2 _Alignment; }; struct FinalPassInst { // Eye adaptation / HDR float1 _MiddleGrey; float1 _LumWhiteSqr; // Bloom float1 _BloomScale; float1 _Alignment2; // DoF // _ProjValues.x = ; float2 _ProjectedValues; // _ProjValues.y / _ProjValues.x float2 _DoFFarValues; // Bokeh float1 _ColorScale; float1 _RadiusScale; float1 _BokehThreshold; uint1 _RenderFlags; }; class HDRPostProcess { private: //#pragma pack(push, 1) struct BokehBuffer { float4 _Color; float2 _Position; float1 _Radius; }; //#pragma pop() struct _IndirectArgs { D3D11_DRAW_INSTANCED_INDIRECT_ARGS _Args; }; struct _Geometry { float1 _AspectRatio; // w / h float3 _Padding; }; Shader *shLuminanceDownScale1; // Dispatch(Width * Height / (16 * 1024), 1, 1); Shader *shLuminanceDownScale2; // Dispatch(1, 1, 1); Shader *shBloom; // Dispatch(Width * Height / (16 * 1024), 1, 1); Shader *shVerticalFilter; // Dispatch(Width / 16, Height / (16 * (128 - 12)) + 1, 1); Shader *shHorizontalFilter; // Dispatch(ceil(Width / (16 * (128 - 12))), Height / 16, 1); Shader *shBloomReveal; // Dispatch(ceil(Width * Height / 1024.f) Shader *shBokeh; // VS, GS, PS Shader *shEmptyShader; // Nothing is bound here. It clears shader state Shader *shHDRTonemap; // Dispatch(Width, Height) ConstantBuffer *cbDownScale; ConstantBuffer *cbFinalPass; ConstantBuffer *cbGeometry; StructuredBuffer<float1> *sbILuminance; // Intermidiate luminance StructuredBuffer<float1> *sbALuminance; // Average luminance StructuredBuffer<float1> *sbPLuminance; // Previous luminance StructuredBuffer<_IndirectArgs> *sbBokehIndirect; // For Indirect instanced rendering AppendStructuredBuffer<BokehBuffer> *abBokeh; // Bokeh buffer Texture *_HDRDS; // HDR Downsampled Texture *_Bloom; // Bloom texture Texture *_Bloom2; // Bloom Intermidiate filtered Texture *_Blur; // Blur In / Out Texture *_BlurOut; // Blur Intermidiate Texture *_BokehTex; // Bokeh texture BlendState *bsAdditive; Sampler *_LinearSampler; // Saves last RT's size. // So we can apply other effects too float fWidth; float fHeight; public: HDRPostProcess() { // Create resources // Eye Adaptation cbDownScale = new ConstantBuffer(); cbDownScale->CreateDefault(sizeof(DownScaleInst)); uint32_t Width = 1366 / 4; uint32_t Height = 768 / 4; DownScaleInst* __q = (DownScaleInst*)cbDownScale->Map(); __q->_Res = { Width, Height }; __q->_Domain = __q->_Res.x * __q->_Res.y; __q->_GroupSize = __q->_Domain / 1024; __q->_Adaptation = 1.f; cbDownScale->Unmap(); cbFinalPass = new ConstantBuffer(); cbFinalPass->CreateDefault(sizeof(FinalPassInst)); // cbGeometry = new ConstantBuffer(); cbGeometry->CreateDefault(sizeof(_Geometry)); // Shaders shLuminanceDownScale1 = new Shader(); shLuminanceDownScale1->LoadFile("shLumDownscale1CS.cso", Shader::Compute); shLuminanceDownScale1->ReleaseBlobs(); shLuminanceDownScale2 = new Shader(); shLuminanceDownScale2->LoadFile("shLumDownscale2CS.cso", Shader::Compute); shLuminanceDownScale2->ReleaseBlobs(); shHorizontalFilter = new Shader(); shHorizontalFilter->LoadFile("shHorizontalFilterCS.cso", Shader::Compute); shHorizontalFilter->ReleaseBlobs(); shVerticalFilter = new Shader(); shVerticalFilter->LoadFile("shVerticalFilterCS.cso", Shader::Compute); shVerticalFilter->ReleaseBlobs(); shBloomReveal = new Shader(); shBloomReveal->LoadFile("shBloomRevealCS.cso", Shader::Compute); shBloomReveal->ReleaseBlobs(); shEmptyShader = new Shader(); shEmptyShader->SetNullShader(Shader::Vertex ); shEmptyShader->SetNullShader(Shader::Geometry); shEmptyShader->SetNullShader(Shader::Pixel ); shEmptyShader->SetNullShader(Shader::Hull ); shEmptyShader->SetNullShader(Shader::Domain ); shEmptyShader->SetNullShader(Shader::Compute ); shHDRTonemap = new Shader(); shHDRTonemap->LoadFile("shHDRTonemap.cso", Shader::Compute); shHDRTonemap->ReleaseBlobs(); shBokeh = new Shader(); shBokeh->LoadFile("shBokehVS.cso", Shader::Vertex ); shBokeh->LoadFile("shBokehGS.cso", Shader::Geometry); shBokeh->LoadFile("shBokehPS.cso", Shader::Pixel ); shBokeh->ReleaseBlobs(); shBloom = new Shader(); shBloom->LoadFile("shBloomCS.cso", Shader::Compute); shBloom->ReleaseBlobs(); // Intermidiate luminance sbILuminance = new StructuredBuffer<float1>(); std::vector<float1> _LumData; size_t num = (size_t)ceil(float(Width * Height) / (16.f * 1024.f)); _LumData.resize(num); sbILuminance->CreateDefault((UINT)num, &_LumData[0], true); // Average luminance sbALuminance = new StructuredBuffer<float1>(); std::vector<float1> _ALumData; _ALumData.resize(1); sbALuminance->CreateDefault(1, &_ALumData[0], true); // Prev luminance sbPLuminance = new StructuredBuffer<float1>(); std::vector<float1> _PLumData; _PLumData.resize(1); sbPLuminance->CreateDefault(1, &_PLumData[0], true); // Bokeh indirect buffer abBokeh = new AppendStructuredBuffer<BokehBuffer>(); sbBokehIndirect = new StructuredBuffer<_IndirectArgs>(); _IndirectArgs _Indirect; _Indirect._Args.InstanceCount = 128; _Indirect._Args.StartInstanceLocation = 0; _Indirect._Args.StartVertexLocation = 0; _Indirect._Args.VertexCountPerInstance = 1; abBokeh->CreateDefault(128, nullptr, true, 0, false); sbBokehIndirect->CreateDefault(1, &_Indirect, false, 0, true); // Create UAV textures DXGI_FORMAT format1 = DXGI_FORMAT_R16G16B16A16_FLOAT, format2 = DXGI_FORMAT_R32_FLOAT; _HDRDS = new Texture(Width, Height, format1, true); _Bloom = new Texture(Width, Height, format1, true); _Bloom2 = new Texture(Width, Height, format1, true); _Blur = new Texture(Width, Height, format1, true); _BlurOut = new Texture(Width, Height, format1, true); _BokehTex = new Texture(); // "../Textures/Bokeh.dds", false, false); _BokehTex->Load("../Textures/Bokeh5.dds", false, false); // Create blend state bsAdditive = new BlendState(); D3D11_BLEND_DESC pDesc; pDesc.AlphaToCoverageEnable = false; pDesc.IndependentBlendEnable = false; pDesc.RenderTarget[0].BlendEnable = true; pDesc.RenderTarget[0].SrcBlend = D3D11_BLEND_SRC_ALPHA; pDesc.RenderTarget[0].DestBlend = D3D11_BLEND_INV_SRC_ALPHA; pDesc.RenderTarget[0].BlendOp = D3D11_BLEND_OP_ADD; pDesc.RenderTarget[0].SrcBlendAlpha = D3D11_BLEND_SRC_ALPHA; pDesc.RenderTarget[0].DestBlendAlpha = D3D11_BLEND_INV_SRC_ALPHA; pDesc.RenderTarget[0].BlendOpAlpha = D3D11_BLEND_OP_ADD; pDesc.RenderTarget[0].RenderTargetWriteMask = D3D11_COLOR_WRITE_ENABLE_ALL; bsAdditive->Create(pDesc, { 0.f, 0.f, 0.f, 1.f }); // Create sampler state _LinearSampler = new Sampler(); D3D11_SAMPLER_DESC pSamplerDesc; pSamplerDesc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; pSamplerDesc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP; pSamplerDesc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP; pSamplerDesc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP; pSamplerDesc.ComparisonFunc = D3D11_COMPARISON_ALWAYS; pSamplerDesc.MaxLOD = D3D11_FLOAT32_MAX; pSamplerDesc.MinLOD = 0; pSamplerDesc.MipLODBias = 0; pSamplerDesc.MaxAnisotropy = 16; _LinearSampler->Create(pSamplerDesc); }; ~HDRPostProcess() { // Release resources shLuminanceDownScale1->Release(); shLuminanceDownScale2->Release(); shHorizontalFilter->Release(); shVerticalFilter->Release(); shBloomReveal->Release(); shEmptyShader->Release(); shHDRTonemap->Release(); shBokeh->Release(); shBloom->Release(); sbILuminance->Release(); sbALuminance->Release(); sbBokehIndirect->Release(); abBokeh->Release(); cbDownScale->Release(); cbFinalPass->Release(); cbGeometry->Release(); _HDRDS->Release(); _Bloom->Release(); _Bloom2->Release(); _Blur->Release(); _BlurOut->Release(); _BokehTex->Release(); bsAdditive->Release(); _LinearSampler->Release(); delete bsAdditive; delete _LinearSampler; delete shLuminanceDownScale1; delete shLuminanceDownScale2; delete shHorizontalFilter; delete shVerticalFilter; delete shBloomReveal; delete shEmptyShader; delete shHDRTonemap; delete shBokeh; delete shBloom; delete sbILuminance; delete sbALuminance; delete sbBokehIndirect; delete abBokeh; delete cbDownScale; delete cbFinalPass; delete cbGeometry; delete _HDRDS; delete _Bloom; delete _Bloom2; delete _Blur; delete _BlurOut; delete _BokehTex; }; // Render Buffer MUST contain // - Diffuse HDR texture in slot 0 // - Depth buffer template<size_t dim, size_t BufferNum, bool DepthBuffer=false, size_t ArraySize=1, /* if Cube == true => specify how many cubemaps to create per RT buffer */ bool WillHaveMSAA=false, bool Cube=false> void Begin(RenderTarget<dim, BufferNum, DepthBuffer, ArraySize, WillHaveMSAA, Cube> *RB) { ScopedRangeProfiler s1(L"HDR Pass"); // Avg luminance pass // 1st Pass RB->Bind(1, Shader::Compute, 0); // SRV sbILuminance->Bind(Shader::Compute, 0, true); // UAV _HDRDS->Bind(Shader::Compute, 1, true); // RWTexture2D; _HDRDS cbDownScale->Bind(Shader::Compute, 0); // CB fWidth = (float)RB->GetWidth(); fHeight = (float)RB->GetHeight(); UINT X = (UINT)ceil(fWidth * fHeight / (16.f * 1024.f)); shLuminanceDownScale1->Dispatch(X, 1, 1); // Unbind slots LunaEngine::CSDiscardUAV<2>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); // 2nd Pass sbILuminance->Bind(Shader::Compute, 0, true); // UAV sbALuminance->Bind(Shader::Compute, 1, true); // UAV sbPLuminance->Bind(Shader::Compute, 0); // Texture / StructuredBuffer cbDownScale->Bind(Shader::Compute, 0); // CB shLuminanceDownScale2->Dispatch(1, 1, 1); // Unbind slots LunaEngine::CSDiscardUAV<2>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); // Bloom pass _HDRDS->Bind(Shader::Compute, 0); // Texture2D sbALuminance->Bind(Shader::Compute, 1); // SRV _Bloom->Bind(Shader::Compute, 0, true); // UAV cbDownScale->Bind(Shader::Compute, 0); // CB shBloom->Dispatch(X, 1, 1); // Copy _HDRDS to _Blur gDirectX->gContext->CopyResource(_Blur->GetTexture(), _HDRDS->GetTexture()); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<2>(); LunaEngine::CSDiscardCB <1>(); //////////////////////////// Bloom Blur //////////////////////////// // Horizontal pass cbDownScale->Bind(Shader::Compute, 0); // CB _Bloom->Bind(Shader::Compute, 0); // Texture2D; _Input _Bloom2->Bind(Shader::Compute, 0, true); // RWTexture2D; _Output shHorizontalFilter->Dispatch((UINT)ceil(fWidth / (4.f * (128.f - 12.f))), (UINT)ceil(fHeight / 4.f), 1); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); // Vertical pass cbDownScale->Bind(Shader::Compute, 0); // CB _Bloom2->Bind(Shader::Compute, 0); // Texture2D; _Input _Bloom->Bind(Shader::Compute, 0, true); // RWTexture2D; _Output shVerticalFilter->Dispatch((UINT)ceil(fWidth / 4.f), (UINT)ceil(fHeight / (4.f * (128.f - 12.f))), 1); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); //////////////////////////// Bloom Blur //////////////////////////// // Vertical pass /*cbDownScale->Bind(Shader::Compute, 0); // CB _Bloom->Bind(Shader::Compute, 0); // Texture2D; _Input _Bloom2->Bind(Shader::Compute, 0, true); // RWTexture2D; _Output shHorizontalFilter->Dispatch((UINT)ceil(RB->GetWidth() / (4.f * (128.f - 12.f))), (UINT)ceil(RB->GetHeight() / 4.f), 1); // Unbind slots LunaEngine::CSDiscardUAV<2>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>();*/ //////////////////////////// Depth Of Field Blur //////////////////////////// // Apply EyeAdaptation to DoF before bluring /*_Blur->Bind(Shader::Compute, 0, true); // RWTexture2D; _Texture; UAV sbALuminance->Bind(Shader::Compute, 0); // SRV cbDownScale->Bind(Shader::Compute, 0); // CB cbFinalPass->Bind(Shader::Compute, 1); // CB shHDRTonemap->Dispatch((UINT)ceil(fWidth / 4.f), (UINT)ceil(fHeight / 4.f), 1); LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <2>();*/ // Horizontal pass cbDownScale->Bind(Shader::Compute, 0); // CB _Blur->Bind(Shader::Compute, 0); // Texture2D; _Input; SRV _BlurOut->Bind(Shader::Compute, 0, true); // RWTexture2D; _Output; UAV shVerticalFilter->Dispatch((UINT)ceil(fWidth / 4.f), (UINT)ceil(fHeight / (4.f * (128.f - 12.f))), 1); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); // Vertical pass cbDownScale->Bind(Shader::Compute, 0); // CB _BlurOut->Bind(Shader::Compute, 0); // Texture2D; _Input _Blur->Bind(Shader::Compute, 0, true); // RWTexture2D; _Output shHorizontalFilter->Dispatch((UINT)ceil(fWidth / (4.f * (128.f - 12.f))), (UINT)ceil(fHeight / 4.f), 1); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<1>(); LunaEngine::CSDiscardCB <1>(); //////////////////////////// Bokeh reveal //////////////////////////// RB->Bind(1u, Shader::Compute, 0); // Texture2D; SRV // Diffuse RB->Bind(0u, Shader::Compute, 1); // Texture2D; SRV // Depth sbALuminance->Bind(Shader::Compute, 2); // SRV cbDownScale->Bind(Shader::Compute, 0); // CB cbFinalPass->Bind(Shader::Compute, 1); // CB abBokeh->Bind(Shader::Compute, 0, true); // UAV shBloomReveal->Dispatch((UINT)ceil(fWidth * fHeight / 1024.f), 1, 1); // Unbind slots LunaEngine::CSDiscardUAV<1>(); LunaEngine::CSDiscardSRV<3>(); LunaEngine::CSDiscardCB <2>(); } // On Post-Processing Step use next 2 functions void BindFinalPass(Shader::ShaderType shader=Shader::Pixel, UINT slot=0) { cbFinalPass->Bind(shader, slot); } void BindLuminance(Shader::ShaderType shader=Shader::Pixel, UINT slot=4) { sbALuminance->Bind(shader, slot); } void BindBloom(Shader::ShaderType shader=Shader::Pixel, UINT slot=5) { _Bloom->Bind(shader, slot); } void BindBlur(Shader::ShaderType shader=Shader::Pixel, UINT slot=6) { _Blur->Bind(shader, slot); } // After post-processing void End() { ScopedRangeProfiler s1(L"HDR swap"); // gDirectX->gContext->CopyResource(sbPLuminance->GetBuffer(), sbALuminance->GetBuffer()); // Update constant buffer _Geometry *dbGeometry = (_Geometry*)cbGeometry->Map(); dbGeometry->_AspectRatio = fWidth / fHeight; cbGeometry->Unmap(); // Copy amount of appended highlights, so we can render them //gDirectX->gContext->CopyStructureCount(sbBokehIndirect->GetBuffer(), 0, abBokeh->GetUAV()); // Update states BlendState::Push(); bsAdditive->Bind(); shBokeh->Bind(); gDirectX->gContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_POINTLIST); gDirectX->gContext->IASetVertexBuffers(0, 0, nullptr, nullptr, nullptr); gDirectX->gContext->IASetIndexBuffer(nullptr, DXGI_FORMAT_UNKNOWN, 0); gDirectX->gContext->IASetInputLayout(nullptr); // Bind resources //_Blur->Bind(Shader::Pixel, 0); _BokehTex->Bind(Shader::Pixel, 0); _LinearSampler->Bind(Shader::Pixel, 0); abBokeh->Bind(Shader::Vertex, 0); cbGeometry->Bind(Shader::Geometry, 0); // Render bokeh gDirectX->gContext->DrawInstancedIndirect(sbBokehIndirect->GetBuffer(), 0); // Restore old states shEmptyShader->Bind(); BlendState::Pop(); gDirectX->gContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); LunaEngine::VSDiscardSRV<1>(); LunaEngine::GSDiscardCB<1>(); LunaEngine::PSDiscardSRV<2>(); } // Resize void Resize(UINT Width, UINT Height) { _HDRDS->Resize( Width / 4, Height / 4); _Bloom->Resize( Width / 4, Height / 4); _Bloom2->Resize( Width / 4, Height / 4); _BlurOut->Resize(Width / 4, Height / 4); _Blur->Resize( Width / 4, Height / 4); } // Update constant buffers DownScaleInst* MapDownScale() { return (DownScaleInst*)cbDownScale->Map(); }; void UnmapDownScale() { cbDownScale->Unmap(); } FinalPassInst* MapFinalPass() { return (FinalPassInst*)cbFinalPass->Map(); }; void UnmapFinalPass() { cbFinalPass->Unmap(); } };
[ "mr.prototype2@mail.ru" ]
mr.prototype2@mail.ru
5289396597c477c50f5b993247e8266d4e921cd1
1b20862197dbda2f13c3d2055b0bdcdf80cca453
/polySys/polyGen/chandra.cpp
3e5523e2ad54887b40a41252f154a6eee0c74b74
[]
no_license
sommars/DEMiCs
291df111ed0ccf1161f1b83f560ff7ab613d6fa6
167d91d4074f6cb0f0f5992a8eb781cd6a686328
refs/heads/master
2021-01-12T07:01:50.394409
2016-12-19T21:39:41
2016-12-19T21:39:41
76,899,224
0
0
null
null
null
null
UTF-8
C++
false
false
1,985
cpp
#include <fstream> #include <iostream> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> using namespace std; void outData1(int xDim); void outData2(int xDim); int main (int argc, char* argv[]){ int xDim; if (argc == 2){ xDim = atoi(argv[1]); }else{ cout << "Usage: " << argv[0] << " " << "dimension" << endl; exit(0); } /* output problem data */ outData1(xDim); outData2(xDim); return 0; } void outData1(int xDim){ int num, i; cout << "Dim = " << xDim << "\n"; cout << "Support = " << xDim << "\n\n"; cout << "Elem = "; for(i = 0; i < xDim; i++){ cout << xDim + 1 << " "; } cout << endl; cout << "Type = "; for(i = 0; i < xDim; i++){ cout << 1 << " "; } cout << endl << endl; } void outData2(int xDim){ int i, j, k; int** sup; for(i = 0; i < xDim - 1; i++) cout << "0 "; cout << "1 \n"; for(i = 0; i < xDim - 1; i++){ for(j = 0; j < xDim - 1; j++){ if(i == j) cout << "1 "; else cout << "0 "; } cout << "1 \n"; } for(i = 0; i < xDim; i++) cout << "0 "; cout << "\n\n"; sup = new int* [xDim + 1]; for(i = 0; i < xDim + 1; i++) sup[i] = new int [xDim + 1]; for(i = 0; i < xDim + 1; i++){ for(j = 0; j < xDim + 1; j++){ sup[i][j] = 0; } } for(k = 0; k < xDim - 1; k++){ for(i = 0; i < xDim; i++){ if(i == k) sup[0][i] = 1; else sup[0][i] = 0; } for(i = 0; i < xDim - 1; i++){ for(j = 0; j < xDim - 1; j++){ if(i == j){ if(j == k) sup[i + 1][j] = 2; else sup[i + 1][j] = 1; }else{ if(j == k) sup[i + 1][j] = 1; else sup[i + 1][j] = 0; } } sup[i + 1][j + 1] = 0; } for(j = 0; j < xDim + 1; j++){ for(i = 0; i < xDim; i++){ cout << sup[j][i] << " "; } cout << "\n"; } cout << "\n"; } for(i = 0; i < xDim + 1; i++){ delete [] sup[i]; sup[i] = NULL; } delete [] sup; sup = NULL; }
[ "sommars1@uic.edu" ]
sommars1@uic.edu
d3b9240a7353268294788f8b1388ae75836d8dd9
0c55b958b30383de0000efeb3258f19991de66a3
/src/core/src/utils/logger.h
e2e4c412df6c048a7d0b2638ae055c4e581dbd10
[ "MIT" ]
permissive
KaoCC/RadeonRays_SDK
6f433bcc244c54f144f933be6dedd142a4769cb7
aee60d391a87886b176830bbb202219720a5a917
refs/heads/master
2021-12-14T03:15:44.000576
2021-12-05T15:08:17
2021-12-05T15:08:17
73,835,861
0
0
MIT
2019-01-25T02:12:41
2016-11-15T16:59:52
C++
UTF-8
C++
false
false
3,264
h
/********************************************************************** Copyright (c) 2020 Advanced Micro Devices, Inc. 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. ********************************************************************/ #pragma once #include <utility> // clang-format off #include "utils/warning_push.h" #include "utils/warning_ignore_general.h" #include "spdlog/sinks/basic_file_sink.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/spdlog.h" #include "radeonrays.h" #include "utils/warning_pop.h" // clang-format on namespace rt { class Logger { static constexpr char const* LoggerName = "RR logger"; public: Logger(const Logger&) = delete; Logger(Logger&&) = delete; Logger& operator=(const Logger&) = delete; Logger& operator=(Logger&&) = delete; static Logger& Get() { static Logger logger; return logger; } template <typename... Args> void Info(Args&&... args); template <typename... Args> void Warn(Args&&... args); template <typename... Args> void Error(Args&&... args); template <typename... Args> void Debug(Args&&... args); template <typename... Args> void Trace(Args&&... args); void SetLogLevel(RRLogLevel log_level) const; void SetFileLogger(char const* filename); void SetConsoleLogger(); private: Logger() { logger_ = spdlog::stdout_color_mt(LoggerName); #ifdef NDEBUG logger_->set_level(spdlog::level::info); #else logger_->set_level(spdlog::level::debug); #endif } ~Logger() { spdlog::shutdown(); } std::shared_ptr<spdlog::logger> logger_; }; template <typename... Args> void Logger::Info(Args&&... args) { logger_->info(std::forward<Args>(args)...); } template <typename... Args> void Logger::Warn(Args&&... args) { logger_->warn(std::forward<Args>(args)...); } template <typename... Args> void Logger::Error(Args&&... args) { logger_->error(std::forward<Args>(args)...); } template <typename... Args> void Logger::Debug(Args&&... args) { logger_->debug(std::forward<Args>(args)...); } template <typename... Args> void Logger::Trace(Args&&... args) { logger_->trace(std::forward<Args>(args)...); } } // namespace rt
[ "daria.materikina@amd.com" ]
daria.materikina@amd.com
ef03c08aa0d7bfc881f3f94a775a13d66ae20e6e
9b727ccbf91d12bbe10adb050784c04b4753758c
/OpenCup/XV/Grand-Prix-Central-Europe/M.cc
7cc152a04f8e01d95874ec6ebb01961fd1b5882d
[]
no_license
codeAligned/acm-icpc-1
b57ab179228f2acebaef01082fe6b67b0cae6403
090acaeb3705b6cf48790b977514965b22f6d43f
refs/heads/master
2020-09-19T19:39:30.929711
2015-10-06T15:13:12
2015-10-06T15:13:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
325
cc
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; int n = a << 8 | b, r = 0; for (int i = 0; i < 16; i += 2) { a = (n >> i) & 1; b = (n >> (i + 1)) & 1; if (a != b) {r = -1; break;} r += a << (i >> 1); } cout << r << endl; return 0; }
[ "zimpha@gmail.com" ]
zimpha@gmail.com
080401716fcb099ff296eb7499693bda2f539df9
4ecc5d05bd7ec9a5a9e48b57eb8dc1475a304d75
/src/rpcwallet.cpp
3e8462126bc6e70adf13eac21826b7b5fb861622
[ "MIT" ]
permissive
hwcarr/winscoin6
e6e0af1729a377bf08a8a636a720f80dce7da4c7
6182326f523c4ddc2953d0ef266a0875cc1797a5
refs/heads/master
2023-08-16T16:50:17.279312
2021-10-04T01:44:55
2021-10-04T01:44:55
413,240,879
0
0
null
null
null
null
UTF-8
C++
false
false
55,183
cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "wallet.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "init.h" #include "base58.h" using namespace std; using namespace boost; using namespace boost::assign; using namespace json_spirit; int64 nWalletUnlockTime; static CCriticalSection cs_nWalletUnlockTime; std::string HelpRequiringPassphrase() { return pwalletMain && pwalletMain->IsCrypted() ? "\nrequires wallet passphrase to be set with walletpassphrase first" : ""; } void EnsureWalletIsUnlocked() { if (pwalletMain->IsLocked()) throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first."); } void WalletTxToJSON(const CWalletTx& wtx, Object& entry) { int confirms = wtx.GetDepthInMainChain(); entry.push_back(Pair("confirmations", confirms)); if (wtx.IsCoinBase()) entry.push_back(Pair("generated", true)); if (confirms > 0) { entry.push_back(Pair("blockhash", wtx.hashBlock.GetHex())); entry.push_back(Pair("blockindex", wtx.nIndex)); entry.push_back(Pair("blocktime", (boost::int64_t)(mapBlockIndex[wtx.hashBlock]->nTime))); } entry.push_back(Pair("txid", wtx.GetHash().GetHex())); entry.push_back(Pair("normtxid", wtx.GetNormalizedHash().GetHex())); entry.push_back(Pair("time", (boost::int64_t)wtx.GetTxTime())); entry.push_back(Pair("timereceived", (boost::int64_t)wtx.nTimeReceived)); BOOST_FOREACH(const PAIRTYPE(string,string)& item, wtx.mapValue) entry.push_back(Pair(item.first, item.second)); } string AccountFromValue(const Value& value) { string strAccount = value.get_str(); if (strAccount == "*") throw JSONRPCError(RPC_WALLET_INVALID_ACCOUNT_NAME, "Invalid account name"); return strAccount; } Value getinfo(const Array& params, bool fHelp) { if (fHelp || params.size() != 0) throw runtime_error( "getinfo\n" "Returns an object containing various state info."); proxyType proxy; GetProxy(NET_IPV4, proxy); Object obj; obj.push_back(Pair("version", (int)CLIENT_VERSION)); obj.push_back(Pair("protocolversion",(int)PROTOCOL_VERSION)); if (pwalletMain) { obj.push_back(Pair("walletversion", pwalletMain->GetVersion())); obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance()))); } obj.push_back(Pair("blocks", (int)nBestHeight)); obj.push_back(Pair("timeoffset", (boost::int64_t)GetTimeOffset())); obj.push_back(Pair("connections", (int)vNodes.size())); obj.push_back(Pair("proxy", (proxy.first.IsValid() ? proxy.first.ToStringIPPort() : string()))); obj.push_back(Pair("difficulty", (double)GetDifficulty())); obj.push_back(Pair("testnet", fTestNet)); if (pwalletMain) { obj.push_back(Pair("keypoololdest", (boost::int64_t)pwalletMain->GetOldestKeyPoolTime())); obj.push_back(Pair("keypoolsize", (int)pwalletMain->GetKeyPoolSize())); } obj.push_back(Pair("paytxfee", ValueFromAmount(nTransactionFee))); obj.push_back(Pair("mininput", ValueFromAmount(nMinimumInputValue))); if (pwalletMain && pwalletMain->IsCrypted()) obj.push_back(Pair("unlocked_until", (boost::int64_t)nWalletUnlockTime)); obj.push_back(Pair("errors", GetWarnings("statusbar"))); return obj; } Value getnewaddress(const Array& params, bool fHelp) { if (fHelp || params.size() > 1) throw runtime_error( "getnewaddress [account]\n" "Returns a new Winstarrxcoin address for receiving payments. " "If [account] is specified (recommended), it is added to the address book " "so payments received with the address will be credited to [account]."); // Parse the account first so we don't generate a key if there's an error string strAccount; if (params.size() > 0) strAccount = AccountFromValue(params[0]); if (!pwalletMain->IsLocked()) pwalletMain->TopUpKeyPool(); // Generate a new key that is added to wallet CPubKey newKey; if (!pwalletMain->GetKeyFromPool(newKey, false)) throw JSONRPCError(RPC_WALLET_KEYPOOL_RAN_OUT, "Error: Keypool ran out, please call keypoolrefill first"); CKeyID keyID = newKey.GetID(); pwalletMain->SetAddressBookName(keyID, strAccount); return CBitcoinAddress(keyID).ToString(); } CBitcoinAddress GetAccountAddress(string strAccount, bool bForceNew=false) { CWalletDB walletdb(pwalletMain->strWalletFile); CAccount account; walletdb.ReadAccount(strAccount, account); bool bKeyUsed = false; // Check if the current key has been used if (account.vchPubKey.IsValid()) { CScript scriptPubKey; scriptPubKey.SetDestination(account.vchPubKey.GetID()); for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end() && account.vchPubKey.IsValid(); ++it) { const CWalletTx& wtx = (*it).second; BOOST_FOREACH(const CTxOut& txout, wtx.vout) if (txout.scriptPubKey == scriptPubKey) bKeyUsed = true; } } // Generate a new key if (!account.vchPubKey.IsValid() || bForceNew || bKeyUsed) { if (!pwalletMain->GetKeyFromPool(account.vchPubKey, false)) throw JSONRPCError(RPC_WALLET_KEYPOOL_RAN_OUT, "Error: Keypool ran out, please call keypoolrefill first"); pwalletMain->SetAddressBookName(account.vchPubKey.GetID(), strAccount); walletdb.WriteAccount(strAccount, account); } return CBitcoinAddress(account.vchPubKey.GetID()); } Value getaccountaddress(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "getaccountaddress <account>\n" "Returns the current Winstarrxcoin address for receiving payments to this account."); // Parse the account first so we don't generate a key if there's an error string strAccount = AccountFromValue(params[0]); Value ret; ret = GetAccountAddress(strAccount).ToString(); return ret; } Value setaccount(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( "setaccount <winstarrxcoinaddress> <account>\n" "Sets the account associated with the given address."); CBitcoinAddress address(params[0].get_str()); if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Winstarrxcoin address"); string strAccount; if (params.size() > 1) strAccount = AccountFromValue(params[1]); // Detect when changing the account of an address that is the 'unused current key' of another account: if (pwalletMain->mapAddressBook.count(address.Get())) { string strOldAccount = pwalletMain->mapAddressBook[address.Get()]; if (address == GetAccountAddress(strOldAccount)) GetAccountAddress(strOldAccount, true); } pwalletMain->SetAddressBookName(address.Get(), strAccount); return Value::null; } Value getaccount(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "getaccount <winstarrxcoinaddress>\n" "Returns the account associated with the given address."); CBitcoinAddress address(params[0].get_str()); if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Winstarrxcoin address"); string strAccount; map<CTxDestination, string>::iterator mi = pwalletMain->mapAddressBook.find(address.Get()); if (mi != pwalletMain->mapAddressBook.end() && !(*mi).second.empty()) strAccount = (*mi).second; return strAccount; } Value getaddressesbyaccount(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "getaddressesbyaccount <account>\n" "Returns the list of addresses for the given account."); string strAccount = AccountFromValue(params[0]); // Find all addresses that have the given account Array ret; BOOST_FOREACH(const PAIRTYPE(CBitcoinAddress, string)& item, pwalletMain->mapAddressBook) { const CBitcoinAddress& address = item.first; const string& strName = item.second; if (strName == strAccount) ret.push_back(address.ToString()); } return ret; } Value setmininput(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 1) throw runtime_error( "setmininput <amount>\n" "<amount> is a real and is rounded to the nearest 0.00000001"); // Amount int64 nAmount = 0; if (params[0].get_real() != 0.0) nAmount = AmountFromValue(params[0]); // rejects 0.0 amounts nMinimumInputValue = nAmount; return true; } Value sendtoaddress(const Array& params, bool fHelp) { if (fHelp || params.size() < 2 || params.size() > 4) throw runtime_error( "sendtoaddress <winstarrxcoinaddress> <amount> [comment] [comment-to]\n" "<amount> is a real and is rounded to the nearest 0.00000001" + HelpRequiringPassphrase()); CBitcoinAddress address(params[0].get_str()); if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Winstarrxcoin address"); // Amount int64 nAmount = AmountFromValue(params[1]); // Wallet comments CWalletTx wtx; if (params.size() > 2 && params[2].type() != null_type && !params[2].get_str().empty()) wtx.mapValue["comment"] = params[2].get_str(); if (params.size() > 3 && params[3].type() != null_type && !params[3].get_str().empty()) wtx.mapValue["to"] = params[3].get_str(); if (pwalletMain->IsLocked()) throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first."); string strError = pwalletMain->SendMoneyToDestination(address.Get(), nAmount, wtx); if (strError != "") throw JSONRPCError(RPC_WALLET_ERROR, strError); return wtx.GetHash().GetHex(); } Value listaddressgroupings(const Array& params, bool fHelp) { if (fHelp) throw runtime_error( "listaddressgroupings\n" "Lists groups of addresses which have had their common ownership\n" "made public by common use as inputs or as the resulting change\n" "in past transactions"); Array jsonGroupings; map<CTxDestination, int64> balances = pwalletMain->GetAddressBalances(); BOOST_FOREACH(set<CTxDestination> grouping, pwalletMain->GetAddressGroupings()) { Array jsonGrouping; BOOST_FOREACH(CTxDestination address, grouping) { Array addressInfo; addressInfo.push_back(CBitcoinAddress(address).ToString()); addressInfo.push_back(ValueFromAmount(balances[address])); { LOCK(pwalletMain->cs_wallet); if (pwalletMain->mapAddressBook.find(CBitcoinAddress(address).Get()) != pwalletMain->mapAddressBook.end()) addressInfo.push_back(pwalletMain->mapAddressBook.find(CBitcoinAddress(address).Get())->second); } jsonGrouping.push_back(addressInfo); } jsonGroupings.push_back(jsonGrouping); } return jsonGroupings; } Value signmessage(const Array& params, bool fHelp) { if (fHelp || params.size() != 2) throw runtime_error( "signmessage <winstarrxcoinaddress> <message>\n" "Sign a message with the private key of an address"); EnsureWalletIsUnlocked(); string strAddress = params[0].get_str(); string strMessage = params[1].get_str(); CBitcoinAddress addr(strAddress); if (!addr.IsValid()) throw JSONRPCError(RPC_TYPE_ERROR, "Invalid address"); CKeyID keyID; if (!addr.GetKeyID(keyID)) throw JSONRPCError(RPC_TYPE_ERROR, "Address does not refer to key"); CKey key; if (!pwalletMain->GetKey(keyID, key)) throw JSONRPCError(RPC_WALLET_ERROR, "Private key not available"); CHashWriter ss(SER_GETHASH, 0); ss << strMessageMagic; ss << strMessage; vector<unsigned char> vchSig; if (!key.SignCompact(ss.GetHash(), vchSig)) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Sign failed"); return EncodeBase64(&vchSig[0], vchSig.size()); } Value verifymessage(const Array& params, bool fHelp) { if (fHelp || params.size() != 3) throw runtime_error( "verifymessage <winstarrxcoinaddress> <signature> <message>\n" "Verify a signed message"); string strAddress = params[0].get_str(); string strSign = params[1].get_str(); string strMessage = params[2].get_str(); CBitcoinAddress addr(strAddress); if (!addr.IsValid()) throw JSONRPCError(RPC_TYPE_ERROR, "Invalid address"); CKeyID keyID; if (!addr.GetKeyID(keyID)) throw JSONRPCError(RPC_TYPE_ERROR, "Address does not refer to key"); bool fInvalid = false; vector<unsigned char> vchSig = DecodeBase64(strSign.c_str(), &fInvalid); if (fInvalid) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Malformed base64 encoding"); CHashWriter ss(SER_GETHASH, 0); ss << strMessageMagic; ss << strMessage; CPubKey pubkey; if (!pubkey.RecoverCompact(ss.GetHash(), vchSig)) return false; return (pubkey.GetID() == keyID); } Value getreceivedbyaddress(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( "getreceivedbyaddress <winstarrxcoinaddress> [minconf=1]\n" "Returns the total amount received by <winstarrxcoinaddress> in transactions with at least [minconf] confirmations."); // Bitcoin address CBitcoinAddress address = CBitcoinAddress(params[0].get_str()); CScript scriptPubKey; if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Winstarrxcoin address"); scriptPubKey.SetDestination(address.Get()); if (!IsMine(*pwalletMain,scriptPubKey)) return (double)0.0; // Minimum confirmations int nMinDepth = 1; if (params.size() > 1) nMinDepth = params[1].get_int(); // Tally int64 nAmount = 0; for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; if (wtx.IsCoinBase() || !wtx.IsFinal()) continue; BOOST_FOREACH(const CTxOut& txout, wtx.vout) if (txout.scriptPubKey == scriptPubKey) if (wtx.GetDepthInMainChain() >= nMinDepth) nAmount += txout.nValue; } return ValueFromAmount(nAmount); } void GetAccountAddresses(string strAccount, set<CTxDestination>& setAddress) { BOOST_FOREACH(const PAIRTYPE(CTxDestination, string)& item, pwalletMain->mapAddressBook) { const CTxDestination& address = item.first; const string& strName = item.second; if (strName == strAccount) setAddress.insert(address); } } Value getreceivedbyaccount(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( "getreceivedbyaccount <account> [minconf=1]\n" "Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations."); // Minimum confirmations int nMinDepth = 1; if (params.size() > 1) nMinDepth = params[1].get_int(); // Get the set of pub keys assigned to account string strAccount = AccountFromValue(params[0]); set<CTxDestination> setAddress; GetAccountAddresses(strAccount, setAddress); // Tally int64 nAmount = 0; for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; if (wtx.IsCoinBase() || !wtx.IsFinal()) continue; BOOST_FOREACH(const CTxOut& txout, wtx.vout) { CTxDestination address; if (ExtractDestination(txout.scriptPubKey, address) && IsMine(*pwalletMain, address) && setAddress.count(address)) if (wtx.GetDepthInMainChain() >= nMinDepth) nAmount += txout.nValue; } } return (double)nAmount / (double)COIN; } int64 GetAccountBalance(CWalletDB& walletdb, const string& strAccount, int nMinDepth) { int64 nBalance = 0; // Tally wallet transactions for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; if (!wtx.IsFinal()) continue; int64 nReceived, nSent, nFee; wtx.GetAccountAmounts(strAccount, nReceived, nSent, nFee); if (nReceived != 0 && wtx.GetDepthInMainChain() >= nMinDepth) nBalance += nReceived; nBalance -= nSent + nFee; } // Tally internal accounting entries nBalance += walletdb.GetAccountCreditDebit(strAccount); return nBalance; } int64 GetAccountBalance(const string& strAccount, int nMinDepth) { CWalletDB walletdb(pwalletMain->strWalletFile); return GetAccountBalance(walletdb, strAccount, nMinDepth); } Value getbalance(const Array& params, bool fHelp) { if (fHelp || params.size() > 2) throw runtime_error( "getbalance [account] [minconf=1]\n" "If [account] is not specified, returns the server's total available balance.\n" "If [account] is specified, returns the balance in the account."); if (params.size() == 0) return ValueFromAmount(pwalletMain->GetBalance()); int nMinDepth = 1; if (params.size() > 1) nMinDepth = params[1].get_int(); if (params[0].get_str() == "*") { // Calculate total balance a different way from GetBalance() // (GetBalance() sums up all unspent TxOuts) // getbalance and getbalance '*' 0 should return the same number int64 nBalance = 0; for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; if (!wtx.IsConfirmed()) continue; int64 allFee; string strSentAccount; list<pair<CTxDestination, int64> > listReceived; list<pair<CTxDestination, int64> > listSent; wtx.GetAmounts(listReceived, listSent, allFee, strSentAccount); if (wtx.GetDepthInMainChain() >= nMinDepth) { BOOST_FOREACH(const PAIRTYPE(CTxDestination,int64)& r, listReceived) nBalance += r.second; } BOOST_FOREACH(const PAIRTYPE(CTxDestination,int64)& r, listSent) nBalance -= r.second; nBalance -= allFee; } return ValueFromAmount(nBalance); } string strAccount = AccountFromValue(params[0]); int64 nBalance = GetAccountBalance(strAccount, nMinDepth); return ValueFromAmount(nBalance); } Value movecmd(const Array& params, bool fHelp) { if (fHelp || params.size() < 3 || params.size() > 5) throw runtime_error( "move <fromaccount> <toaccount> <amount> [minconf=1] [comment]\n" "Move from one account in your wallet to another."); string strFrom = AccountFromValue(params[0]); string strTo = AccountFromValue(params[1]); int64 nAmount = AmountFromValue(params[2]); if (params.size() > 3) // unused parameter, used to be nMinDepth, keep type-checking it though (void)params[3].get_int(); string strComment; if (params.size() > 4) strComment = params[4].get_str(); CWalletDB walletdb(pwalletMain->strWalletFile); if (!walletdb.TxnBegin()) throw JSONRPCError(RPC_DATABASE_ERROR, "database error"); int64 nNow = GetAdjustedTime(); // Debit CAccountingEntry debit; debit.nOrderPos = pwalletMain->IncOrderPosNext(&walletdb); debit.strAccount = strFrom; debit.nCreditDebit = -nAmount; debit.nTime = nNow; debit.strOtherAccount = strTo; debit.strComment = strComment; walletdb.WriteAccountingEntry(debit); // Credit CAccountingEntry credit; credit.nOrderPos = pwalletMain->IncOrderPosNext(&walletdb); credit.strAccount = strTo; credit.nCreditDebit = nAmount; credit.nTime = nNow; credit.strOtherAccount = strFrom; credit.strComment = strComment; walletdb.WriteAccountingEntry(credit); if (!walletdb.TxnCommit()) throw JSONRPCError(RPC_DATABASE_ERROR, "database error"); return true; } Value sendfrom(const Array& params, bool fHelp) { if (fHelp || params.size() < 3 || params.size() > 6) throw runtime_error( "sendfrom <fromaccount> <towinstarrxcoinaddress> <amount> [minconf=1] [comment] [comment-to]\n" "<amount> is a real and is rounded to the nearest 0.00000001" + HelpRequiringPassphrase()); string strAccount = AccountFromValue(params[0]); CBitcoinAddress address(params[1].get_str()); if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Winstarrxcoin address"); int64 nAmount = AmountFromValue(params[2]); int nMinDepth = 1; if (params.size() > 3) nMinDepth = params[3].get_int(); CWalletTx wtx; wtx.strFromAccount = strAccount; if (params.size() > 4 && params[4].type() != null_type && !params[4].get_str().empty()) wtx.mapValue["comment"] = params[4].get_str(); if (params.size() > 5 && params[5].type() != null_type && !params[5].get_str().empty()) wtx.mapValue["to"] = params[5].get_str(); EnsureWalletIsUnlocked(); // Check funds int64 nBalance = GetAccountBalance(strAccount, nMinDepth); if (nAmount > nBalance) throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds"); // Send string strError = pwalletMain->SendMoneyToDestination(address.Get(), nAmount, wtx); if (strError != "") throw JSONRPCError(RPC_WALLET_ERROR, strError); return wtx.GetHash().GetHex(); } Value sendmany(const Array& params, bool fHelp) { if (fHelp || params.size() < 2 || params.size() > 4) throw runtime_error( "sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]\n" "amounts are double-precision floating point numbers" + HelpRequiringPassphrase()); string strAccount = AccountFromValue(params[0]); Object sendTo = params[1].get_obj(); int nMinDepth = 1; if (params.size() > 2) nMinDepth = params[2].get_int(); CWalletTx wtx; wtx.strFromAccount = strAccount; if (params.size() > 3 && params[3].type() != null_type && !params[3].get_str().empty()) wtx.mapValue["comment"] = params[3].get_str(); set<CBitcoinAddress> setAddress; vector<pair<CScript, int64> > vecSend; int64 totalAmount = 0; BOOST_FOREACH(const Pair& s, sendTo) { CBitcoinAddress address(s.name_); if (!address.IsValid()) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid Winstarrxcoin address: ")+s.name_); if (setAddress.count(address)) throw JSONRPCError(RPC_INVALID_PARAMETER, string("Invalid parameter, duplicated address: ")+s.name_); setAddress.insert(address); CScript scriptPubKey; scriptPubKey.SetDestination(address.Get()); int64 nAmount = AmountFromValue(s.value_); totalAmount += nAmount; vecSend.push_back(make_pair(scriptPubKey, nAmount)); } EnsureWalletIsUnlocked(); // Check funds int64 nBalance = GetAccountBalance(strAccount, nMinDepth); if (totalAmount > nBalance) throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds"); // Send CReserveKey keyChange(pwalletMain); int64 nFeeRequired = 0; string strFailReason; bool fCreated = pwalletMain->CreateTransaction(vecSend, wtx, keyChange, nFeeRequired, strFailReason); if (!fCreated) throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, strFailReason); if (!pwalletMain->CommitTransaction(wtx, keyChange)) throw JSONRPCError(RPC_WALLET_ERROR, "Transaction commit failed"); return wtx.GetHash().GetHex(); } // // Used by addmultisigaddress / createmultisig: // static CScript _createmultisig(const Array& params) { int nRequired = params[0].get_int(); const Array& keys = params[1].get_array(); // Gather public keys if (nRequired < 1) throw runtime_error("a multisignature address must require at least one key to redeem"); if ((int)keys.size() < nRequired) throw runtime_error( strprintf("not enough keys supplied " "(got %"PRIszu" keys, but need at least %d to redeem)", keys.size(), nRequired)); std::vector<CPubKey> pubkeys; pubkeys.resize(keys.size()); for (unsigned int i = 0; i < keys.size(); i++) { const std::string& ks = keys[i].get_str(); // Case 1: Winstarrxcoin address and we have full public key: CBitcoinAddress address(ks); if (pwalletMain && address.IsValid()) { CKeyID keyID; if (!address.GetKeyID(keyID)) throw runtime_error( strprintf("%s does not refer to a key",ks.c_str())); CPubKey vchPubKey; if (!pwalletMain->GetPubKey(keyID, vchPubKey)) throw runtime_error( strprintf("no full public key for address %s",ks.c_str())); if (!vchPubKey.IsFullyValid()) throw runtime_error(" Invalid public key: "+ks); pubkeys[i] = vchPubKey; } // Case 2: hex public key else if (IsHex(ks)) { CPubKey vchPubKey(ParseHex(ks)); if (!vchPubKey.IsFullyValid()) throw runtime_error(" Invalid public key: "+ks); pubkeys[i] = vchPubKey; } else { throw runtime_error(" Invalid public key: "+ks); } } CScript result; result.SetMultisig(nRequired, pubkeys); return result; } Value addmultisigaddress(const Array& params, bool fHelp) { if (fHelp || params.size() < 2 || params.size() > 3) { string msg = "addmultisigaddress <nrequired> <'[\"key\",\"key\"]'> [account]\n" "Add a nrequired-to-sign multisignature address to the wallet\"\n" "each key is a Winstarrxcoin address or hex-encoded public key\n" "If [account] is specified, assign address to [account]."; throw runtime_error(msg); } string strAccount; if (params.size() > 2) strAccount = AccountFromValue(params[2]); // Construct using pay-to-script-hash: CScript inner = _createmultisig(params); CScriptID innerID = inner.GetID(); pwalletMain->AddCScript(inner); pwalletMain->SetAddressBookName(innerID, strAccount); return CBitcoinAddress(innerID).ToString(); } Value createmultisig(const Array& params, bool fHelp) { if (fHelp || params.size() < 2 || params.size() > 2) { string msg = "createmultisig <nrequired> <'[\"key\",\"key\"]'>\n" "Creates a multi-signature address and returns a json object\n" "with keys:\n" "address : winstarrxcoin address\n" "redeemScript : hex-encoded redemption script"; throw runtime_error(msg); } // Construct using pay-to-script-hash: CScript inner = _createmultisig(params); CScriptID innerID = inner.GetID(); CBitcoinAddress address(innerID); Object result; result.push_back(Pair("address", address.ToString())); result.push_back(Pair("redeemScript", HexStr(inner.begin(), inner.end()))); return result; } struct tallyitem { int64 nAmount; int nConf; vector<uint256> txids; tallyitem() { nAmount = 0; nConf = std::numeric_limits<int>::max(); } }; Value ListReceived(const Array& params, bool fByAccounts) { // Minimum confirmations int nMinDepth = 1; if (params.size() > 0) nMinDepth = params[0].get_int(); // Whether to include empty accounts bool fIncludeEmpty = false; if (params.size() > 1) fIncludeEmpty = params[1].get_bool(); // Tally map<CBitcoinAddress, tallyitem> mapTally; for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; if (wtx.IsCoinBase() || !wtx.IsFinal()) continue; int nDepth = wtx.GetDepthInMainChain(); if (nDepth < nMinDepth) continue; BOOST_FOREACH(const CTxOut& txout, wtx.vout) { CTxDestination address; if (!ExtractDestination(txout.scriptPubKey, address) || !IsMine(*pwalletMain, address)) continue; tallyitem& item = mapTally[address]; item.nAmount += txout.nValue; item.nConf = min(item.nConf, nDepth); item.txids.push_back(wtx.GetHash()); } } // Reply Array ret; map<string, tallyitem> mapAccountTally; BOOST_FOREACH(const PAIRTYPE(CBitcoinAddress, string)& item, pwalletMain->mapAddressBook) { const CBitcoinAddress& address = item.first; const string& strAccount = item.second; map<CBitcoinAddress, tallyitem>::iterator it = mapTally.find(address); if (it == mapTally.end() && !fIncludeEmpty) continue; int64 nAmount = 0; int nConf = std::numeric_limits<int>::max(); if (it != mapTally.end()) { nAmount = (*it).second.nAmount; nConf = (*it).second.nConf; } if (fByAccounts) { tallyitem& item = mapAccountTally[strAccount]; item.nAmount += nAmount; item.nConf = min(item.nConf, nConf); } else { Object obj; obj.push_back(Pair("address", address.ToString())); obj.push_back(Pair("account", strAccount)); obj.push_back(Pair("amount", ValueFromAmount(nAmount))); obj.push_back(Pair("confirmations", (nConf == std::numeric_limits<int>::max() ? 0 : nConf))); Array transactions; if (it != mapTally.end()) { BOOST_FOREACH(const uint256& item, (*it).second.txids) { transactions.push_back(item.GetHex()); } } obj.push_back(Pair("txids", transactions)); ret.push_back(obj); } } if (fByAccounts) { for (map<string, tallyitem>::iterator it = mapAccountTally.begin(); it != mapAccountTally.end(); ++it) { int64 nAmount = (*it).second.nAmount; int nConf = (*it).second.nConf; Object obj; obj.push_back(Pair("account", (*it).first)); obj.push_back(Pair("amount", ValueFromAmount(nAmount))); obj.push_back(Pair("confirmations", (nConf == std::numeric_limits<int>::max() ? 0 : nConf))); ret.push_back(obj); } } return ret; } Value listreceivedbyaddress(const Array& params, bool fHelp) { if (fHelp || params.size() > 2) throw runtime_error( "listreceivedbyaddress [minconf=1] [includeempty=false]\n" "[minconf] is the minimum number of confirmations before payments are included.\n" "[includeempty] whether to include addresses that haven't received any payments.\n" "Returns an array of objects containing:\n" " \"address\" : receiving address\n" " \"account\" : the account of the receiving address\n" " \"amount\" : total amount received by the address\n" " \"confirmations\" : number of confirmations of the most recent transaction included\n" " \"txids\" : list of transactions with outputs to the address\n"); return ListReceived(params, false); } Value listreceivedbyaccount(const Array& params, bool fHelp) { if (fHelp || params.size() > 2) throw runtime_error( "listreceivedbyaccount [minconf=1] [includeempty=false]\n" "[minconf] is the minimum number of confirmations before payments are included.\n" "[includeempty] whether to include accounts that haven't received any payments.\n" "Returns an array of objects containing:\n" " \"account\" : the account of the receiving addresses\n" " \"amount\" : total amount received by addresses with this account\n" " \"confirmations\" : number of confirmations of the most recent transaction included"); return ListReceived(params, true); } static void MaybePushAddress(Object & entry, const CTxDestination &dest) { CBitcoinAddress addr; if (addr.Set(dest)) entry.push_back(Pair("address", addr.ToString())); } void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDepth, bool fLong, Array& ret) { int64 nFee; string strSentAccount; list<pair<CTxDestination, int64> > listReceived; list<pair<CTxDestination, int64> > listSent; wtx.GetAmounts(listReceived, listSent, nFee, strSentAccount); bool fAllAccounts = (strAccount == string("*")); // Sent if ((!listSent.empty() || nFee != 0) && (fAllAccounts || strAccount == strSentAccount)) { BOOST_FOREACH(const PAIRTYPE(CTxDestination, int64)& s, listSent) { Object entry; entry.push_back(Pair("account", strSentAccount)); MaybePushAddress(entry, s.first); entry.push_back(Pair("category", "send")); entry.push_back(Pair("amount", ValueFromAmount(-s.second))); entry.push_back(Pair("fee", ValueFromAmount(-nFee))); if (fLong) WalletTxToJSON(wtx, entry); ret.push_back(entry); } } // Received if (listReceived.size() > 0 && wtx.GetDepthInMainChain() >= nMinDepth) { BOOST_FOREACH(const PAIRTYPE(CTxDestination, int64)& r, listReceived) { string account; if (pwalletMain->mapAddressBook.count(r.first)) account = pwalletMain->mapAddressBook[r.first]; if (fAllAccounts || (account == strAccount)) { Object entry; entry.push_back(Pair("account", account)); MaybePushAddress(entry, r.first); if (wtx.IsCoinBase()) { if (wtx.GetDepthInMainChain() < 1) entry.push_back(Pair("category", "orphan")); else if (wtx.GetBlocksToMaturity() > 0) entry.push_back(Pair("category", "immature")); else entry.push_back(Pair("category", "generate")); } else { entry.push_back(Pair("category", "receive")); } entry.push_back(Pair("amount", ValueFromAmount(r.second))); if (fLong) WalletTxToJSON(wtx, entry); ret.push_back(entry); } } } } void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Array& ret) { bool fAllAccounts = (strAccount == string("*")); if (fAllAccounts || acentry.strAccount == strAccount) { Object entry; entry.push_back(Pair("account", acentry.strAccount)); entry.push_back(Pair("category", "move")); entry.push_back(Pair("time", (boost::int64_t)acentry.nTime)); entry.push_back(Pair("amount", ValueFromAmount(acentry.nCreditDebit))); entry.push_back(Pair("otheraccount", acentry.strOtherAccount)); entry.push_back(Pair("comment", acentry.strComment)); ret.push_back(entry); } } Value listtransactions(const Array& params, bool fHelp) { if (fHelp || params.size() > 3) throw runtime_error( "listtransactions [account] [count=10] [from=0]\n" "Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]."); string strAccount = "*"; if (params.size() > 0) strAccount = params[0].get_str(); int nCount = 10; if (params.size() > 1) nCount = params[1].get_int(); int nFrom = 0; if (params.size() > 2) nFrom = params[2].get_int(); if (nCount < 0) throw JSONRPCError(RPC_INVALID_PARAMETER, "Negative count"); if (nFrom < 0) throw JSONRPCError(RPC_INVALID_PARAMETER, "Negative from"); Array ret; std::list<CAccountingEntry> acentries; CWallet::TxItems txOrdered = pwalletMain->OrderedTxItems(acentries, strAccount); // iterate backwards until we have nCount items to return: for (CWallet::TxItems::reverse_iterator it = txOrdered.rbegin(); it != txOrdered.rend(); ++it) { CWalletTx *const pwtx = (*it).second.first; if (pwtx != 0) ListTransactions(*pwtx, strAccount, 0, true, ret); CAccountingEntry *const pacentry = (*it).second.second; if (pacentry != 0) AcentryToJSON(*pacentry, strAccount, ret); if ((int)ret.size() >= (nCount+nFrom)) break; } // ret is newest to oldest if (nFrom > (int)ret.size()) nFrom = ret.size(); if ((nFrom + nCount) > (int)ret.size()) nCount = ret.size() - nFrom; Array::iterator first = ret.begin(); std::advance(first, nFrom); Array::iterator last = ret.begin(); std::advance(last, nFrom+nCount); if (last != ret.end()) ret.erase(last, ret.end()); if (first != ret.begin()) ret.erase(ret.begin(), first); std::reverse(ret.begin(), ret.end()); // Return oldest to newest return ret; } Value listaccounts(const Array& params, bool fHelp) { if (fHelp || params.size() > 1) throw runtime_error( "listaccounts [minconf=1]\n" "Returns Object that has account names as keys, account balances as values."); int nMinDepth = 1; if (params.size() > 0) nMinDepth = params[0].get_int(); map<string, int64> mapAccountBalances; BOOST_FOREACH(const PAIRTYPE(CTxDestination, string)& entry, pwalletMain->mapAddressBook) { if (IsMine(*pwalletMain, entry.first)) // This address belongs to me mapAccountBalances[entry.second] = 0; } for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it) { const CWalletTx& wtx = (*it).second; int64 nFee; string strSentAccount; list<pair<CTxDestination, int64> > listReceived; list<pair<CTxDestination, int64> > listSent; wtx.GetAmounts(listReceived, listSent, nFee, strSentAccount); mapAccountBalances[strSentAccount] -= nFee; BOOST_FOREACH(const PAIRTYPE(CTxDestination, int64)& s, listSent) mapAccountBalances[strSentAccount] -= s.second; if (wtx.GetDepthInMainChain() >= nMinDepth) { BOOST_FOREACH(const PAIRTYPE(CTxDestination, int64)& r, listReceived) if (pwalletMain->mapAddressBook.count(r.first)) mapAccountBalances[pwalletMain->mapAddressBook[r.first]] += r.second; else mapAccountBalances[""] += r.second; } } list<CAccountingEntry> acentries; CWalletDB(pwalletMain->strWalletFile).ListAccountCreditDebit("*", acentries); BOOST_FOREACH(const CAccountingEntry& entry, acentries) mapAccountBalances[entry.strAccount] += entry.nCreditDebit; Object ret; BOOST_FOREACH(const PAIRTYPE(string, int64)& accountBalance, mapAccountBalances) { ret.push_back(Pair(accountBalance.first, ValueFromAmount(accountBalance.second))); } return ret; } Value listsinceblock(const Array& params, bool fHelp) { if (fHelp) throw runtime_error( "listsinceblock [blockhash] [target-confirmations]\n" "Get all transactions in blocks since block [blockhash], or all transactions if omitted"); CBlockIndex *pindex = NULL; int target_confirms = 1; if (params.size() > 0) { uint256 blockId = 0; blockId.SetHex(params[0].get_str()); pindex = CBlockLocator(blockId).GetBlockIndex(); } if (params.size() > 1) { target_confirms = params[1].get_int(); if (target_confirms < 1) throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter"); } int depth = pindex ? (1 + nBestHeight - pindex->nHeight) : -1; Array transactions; for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); it++) { CWalletTx tx = (*it).second; if (depth == -1 || tx.GetDepthInMainChain() < depth) ListTransactions(tx, "*", 0, true, transactions); } uint256 lastblock; if (target_confirms == 1) { lastblock = hashBestChain; } else { int target_height = pindexBest->nHeight + 1 - target_confirms; CBlockIndex *block; for (block = pindexBest; block && block->nHeight > target_height; block = block->pprev) { } lastblock = block ? block->GetBlockHash() : 0; } Object ret; ret.push_back(Pair("transactions", transactions)); ret.push_back(Pair("lastblock", lastblock.GetHex())); return ret; } Value gettransaction(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "gettransaction <txid>\n" "Get detailed information about in-wallet transaction <txid>"); uint256 hash; hash.SetHex(params[0].get_str()); Object entry; if (!pwalletMain->mapWallet.count(hash)) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid or non-wallet transaction id"); const CWalletTx& wtx = pwalletMain->mapWallet[hash]; int64 nCredit = wtx.GetCredit(); int64 nDebit = wtx.GetDebit(); int64 nNet = nCredit - nDebit; int64 nFee = (wtx.IsFromMe() ? wtx.GetValueOut() - nDebit : 0); entry.push_back(Pair("amount", ValueFromAmount(nNet - nFee))); if (wtx.IsFromMe()) entry.push_back(Pair("fee", ValueFromAmount(nFee))); WalletTxToJSON(wtx, entry); Array details; ListTransactions(wtx, "*", 0, false, details); entry.push_back(Pair("details", details)); return entry; } Value backupwallet(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "backupwallet <destination>\n" "Safely copies wallet.dat to destination, which can be a directory or a path with filename."); string strDest = params[0].get_str(); if (!BackupWallet(*pwalletMain, strDest)) throw JSONRPCError(RPC_WALLET_ERROR, "Error: Wallet backup failed!"); return Value::null; } Value keypoolrefill(const Array& params, bool fHelp) { if (fHelp || params.size() > 0) throw runtime_error( "keypoolrefill\n" "Fills the keypool." + HelpRequiringPassphrase()); EnsureWalletIsUnlocked(); pwalletMain->TopUpKeyPool(); if (pwalletMain->GetKeyPoolSize() < GetArg("-keypool", 100)) throw JSONRPCError(RPC_WALLET_ERROR, "Error refreshing keypool."); return Value::null; } void ThreadTopUpKeyPool(void* parg) { // Make this thread recognisable as the key-topping-up thread RenameThread("bitcoin-key-top"); pwalletMain->TopUpKeyPool(); } void ThreadCleanWalletPassphrase(void* parg) { // Make this thread recognisable as the wallet relocking thread RenameThread("bitcoin-lock-wa"); int64 nMyWakeTime = GetTimeMillis() + *((int64*)parg) * 1000; ENTER_CRITICAL_SECTION(cs_nWalletUnlockTime); if (nWalletUnlockTime == 0) { nWalletUnlockTime = nMyWakeTime; do { if (nWalletUnlockTime==0) break; int64 nToSleep = nWalletUnlockTime - GetTimeMillis(); if (nToSleep <= 0) break; LEAVE_CRITICAL_SECTION(cs_nWalletUnlockTime); MilliSleep(nToSleep); ENTER_CRITICAL_SECTION(cs_nWalletUnlockTime); } while(1); if (nWalletUnlockTime) { nWalletUnlockTime = 0; pwalletMain->Lock(); } } else { if (nWalletUnlockTime < nMyWakeTime) nWalletUnlockTime = nMyWakeTime; } LEAVE_CRITICAL_SECTION(cs_nWalletUnlockTime); delete (int64*)parg; } Value walletpassphrase(const Array& params, bool fHelp) { if (pwalletMain->IsCrypted() && (fHelp || params.size() != 2)) throw runtime_error( "walletpassphrase <passphrase> <timeout>\n" "Stores the wallet decryption key in memory for <timeout> seconds."); if (fHelp) return true; if (!pwalletMain->IsCrypted()) throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but walletpassphrase was called."); if (!pwalletMain->IsLocked()) throw JSONRPCError(RPC_WALLET_ALREADY_UNLOCKED, "Error: Wallet is already unlocked."); // Note that the walletpassphrase is stored in params[0] which is not mlock()ed SecureString strWalletPass; strWalletPass.reserve(100); // TODO: get rid of this .c_str() by implementing SecureString::operator=(std::string) // Alternately, find a way to make params[0] mlock()'d to begin with. strWalletPass = params[0].get_str().c_str(); if (strWalletPass.length() > 0) { if (!pwalletMain->Unlock(strWalletPass)) throw JSONRPCError(RPC_WALLET_PASSPHRASE_INCORRECT, "Error: The wallet passphrase entered was incorrect."); } else throw runtime_error( "walletpassphrase <passphrase> <timeout>\n" "Stores the wallet decryption key in memory for <timeout> seconds."); NewThread(ThreadTopUpKeyPool, NULL); int64* pnSleepTime = new int64(params[1].get_int64()); NewThread(ThreadCleanWalletPassphrase, pnSleepTime); return Value::null; } Value walletpassphrasechange(const Array& params, bool fHelp) { if (pwalletMain->IsCrypted() && (fHelp || params.size() != 2)) throw runtime_error( "walletpassphrasechange <oldpassphrase> <newpassphrase>\n" "Changes the wallet passphrase from <oldpassphrase> to <newpassphrase>."); if (fHelp) return true; if (!pwalletMain->IsCrypted()) throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but walletpassphrasechange was called."); // TODO: get rid of these .c_str() calls by implementing SecureString::operator=(std::string) // Alternately, find a way to make params[0] mlock()'d to begin with. SecureString strOldWalletPass; strOldWalletPass.reserve(100); strOldWalletPass = params[0].get_str().c_str(); SecureString strNewWalletPass; strNewWalletPass.reserve(100); strNewWalletPass = params[1].get_str().c_str(); if (strOldWalletPass.length() < 1 || strNewWalletPass.length() < 1) throw runtime_error( "walletpassphrasechange <oldpassphrase> <newpassphrase>\n" "Changes the wallet passphrase from <oldpassphrase> to <newpassphrase>."); if (!pwalletMain->ChangeWalletPassphrase(strOldWalletPass, strNewWalletPass)) throw JSONRPCError(RPC_WALLET_PASSPHRASE_INCORRECT, "Error: The wallet passphrase entered was incorrect."); return Value::null; } Value walletlock(const Array& params, bool fHelp) { if (pwalletMain->IsCrypted() && (fHelp || params.size() != 0)) throw runtime_error( "walletlock\n" "Removes the wallet encryption key from memory, locking the wallet.\n" "After calling this method, you will need to call walletpassphrase again\n" "before being able to call any methods which require the wallet to be unlocked."); if (fHelp) return true; if (!pwalletMain->IsCrypted()) throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but walletlock was called."); { LOCK(cs_nWalletUnlockTime); pwalletMain->Lock(); nWalletUnlockTime = 0; } return Value::null; } Value encryptwallet(const Array& params, bool fHelp) { if (!pwalletMain->IsCrypted() && (fHelp || params.size() != 1)) throw runtime_error( "encryptwallet <passphrase>\n" "Encrypts the wallet with <passphrase>."); if (fHelp) return true; if (pwalletMain->IsCrypted()) throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an encrypted wallet, but encryptwallet was called."); // TODO: get rid of this .c_str() by implementing SecureString::operator=(std::string) // Alternately, find a way to make params[0] mlock()'d to begin with. SecureString strWalletPass; strWalletPass.reserve(100); strWalletPass = params[0].get_str().c_str(); if (strWalletPass.length() < 1) throw runtime_error( "encryptwallet <passphrase>\n" "Encrypts the wallet with <passphrase>."); if (!pwalletMain->EncryptWallet(strWalletPass)) throw JSONRPCError(RPC_WALLET_ENCRYPTION_FAILED, "Error: Failed to encrypt the wallet."); // BDB seems to have a bad habit of writing old data into // slack space in .dat files; that is bad if the old data is // unencrypted private keys. So: StartShutdown(); return "wallet encrypted; Winstarrxcoin server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup."; } class DescribeAddressVisitor : public boost::static_visitor<Object> { public: Object operator()(const CNoDestination &dest) const { return Object(); } Object operator()(const CKeyID &keyID) const { Object obj; CPubKey vchPubKey; pwalletMain->GetPubKey(keyID, vchPubKey); obj.push_back(Pair("isscript", false)); obj.push_back(Pair("pubkey", HexStr(vchPubKey))); obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed())); return obj; } Object operator()(const CScriptID &scriptID) const { Object obj; obj.push_back(Pair("isscript", true)); CScript subscript; pwalletMain->GetCScript(scriptID, subscript); std::vector<CTxDestination> addresses; txnouttype whichType; int nRequired; ExtractDestinations(subscript, whichType, addresses, nRequired); obj.push_back(Pair("script", GetTxnOutputType(whichType))); Array a; BOOST_FOREACH(const CTxDestination& addr, addresses) a.push_back(CBitcoinAddress(addr).ToString()); obj.push_back(Pair("addresses", a)); if (whichType == TX_MULTISIG) obj.push_back(Pair("sigsrequired", nRequired)); return obj; } }; Value validateaddress(const Array& params, bool fHelp) { if (fHelp || params.size() != 1) throw runtime_error( "validateaddress <winstarrxcoinaddress>\n" "Return information about <winstarrxcoinaddress>."); CBitcoinAddress address(params[0].get_str()); bool isValid = address.IsValid(); Object ret; ret.push_back(Pair("isvalid", isValid)); if (isValid) { CTxDestination dest = address.Get(); string currentAddress = address.ToString(); ret.push_back(Pair("address", currentAddress)); bool fMine = pwalletMain ? IsMine(*pwalletMain, dest) : false; ret.push_back(Pair("ismine", fMine)); if (fMine) { Object detail = boost::apply_visitor(DescribeAddressVisitor(), dest); ret.insert(ret.end(), detail.begin(), detail.end()); } if (pwalletMain && pwalletMain->mapAddressBook.count(dest)) ret.push_back(Pair("account", pwalletMain->mapAddressBook[dest])); } return ret; } Value lockunspent(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( "lockunspent unlock? [array-of-Objects]\n" "Updates list of temporarily unspendable outputs."); if (params.size() == 1) RPCTypeCheck(params, list_of(bool_type)); else RPCTypeCheck(params, list_of(bool_type)(array_type)); bool fUnlock = params[0].get_bool(); if (params.size() == 1) { if (fUnlock) pwalletMain->UnlockAllCoins(); return true; } Array outputs = params[1].get_array(); BOOST_FOREACH(Value& output, outputs) { if (output.type() != obj_type) throw JSONRPCError(-8, "Invalid parameter, expected object"); const Object& o = output.get_obj(); RPCTypeCheck(o, map_list_of("txid", str_type)("vout", int_type)); string txid = find_value(o, "txid").get_str(); if (!IsHex(txid)) throw JSONRPCError(-8, "Invalid parameter, expected hex txid"); int nOutput = find_value(o, "vout").get_int(); if (nOutput < 0) throw JSONRPCError(-8, "Invalid parameter, vout must be positive"); COutPoint outpt(uint256(txid), nOutput); if (fUnlock) pwalletMain->UnlockCoin(outpt); else pwalletMain->LockCoin(outpt); } return true; } Value listlockunspent(const Array& params, bool fHelp) { if (fHelp || params.size() > 0) throw runtime_error( "listlockunspent\n" "Returns list of temporarily unspendable outputs."); vector<COutPoint> vOutpts; pwalletMain->ListLockedCoins(vOutpts); Array ret; BOOST_FOREACH(COutPoint &outpt, vOutpts) { Object o; o.push_back(Pair("txid", outpt.hash.GetHex())); o.push_back(Pair("vout", (int)outpt.n)); ret.push_back(o); } return ret; }
[ "carrdracing1@gmail.com" ]
carrdracing1@gmail.com
f459b0eef5c1863d6a5a17aa8ff23c2d73c2ed88
d658b45679931f90985069c1e11410ca412381f9
/factory_pattern/method_factory/include/bubble_factory.h
c3fd782854b30acafb8e3854dab0899478de13f2
[]
no_license
elena1205/design_pattern
fe3b7eb56413623593c4389216458eca1e9658fa
e827aad9884457cb2fc5f68f41b6c76d236658c1
refs/heads/master
2020-04-17T08:48:40.282675
2020-02-17T13:10:07
2020-02-17T13:10:07
166,427,512
0
0
null
null
null
null
UTF-8
C++
false
false
311
h
#ifndef INCLUDE_BUBBLE_FACTORY_H_ #define INCLUDE_BUBBLE_FACTORY_H_ class BubbleFactory : public SortFactory { private: /* data */ public: BubbleFactory(/* args */) {}; ~BubbleFactory() {}; std::shared_ptr<SortMethod> GenerateSortMethod() override; }; #endif // INCLUDE_BUBBLE_FACTORY_H_
[ "371850480@qq.com" ]
371850480@qq.com
03c5c8a8d06106e807cea252f964dc39566e6615
06d5a38f328f2a7436534c972d3b7b5e1b5cfb4d
/src/net.cpp
a8929ab545409b469ec4c357dc0c6e53699b8f9d
[ "MIT" ]
permissive
solltex/Legendcoin
98e53f4387d8c688313024742435055e8e62e1ad
3104713bd5f115511330df7c6c1c6049dcd84c38
refs/heads/master
2016-09-06T09:58:07.799776
2014-04-24T06:24:20
2014-04-24T06:24:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
59,343
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "irc.h" #include "db.h" #include "net.h" #include "init.h" #include "strlcpy.h" #include "addrman.h" #include "ui_interface.h" #ifdef WIN32 #include <string.h> #endif #ifdef USE_UPNP #include <miniwget.h> #include <miniupnpc.h> #include <upnpcommands.h> #include <upnperrors.h> #endif using namespace std; using namespace boost; static const int MAX_OUTBOUND_CONNECTIONS = 12; void ThreadMessageHandler2(void* parg); void ThreadSocketHandler2(void* parg); void ThreadOpenConnections2(void* parg); void ThreadOpenAddedConnections2(void* parg); #ifdef USE_UPNP void ThreadMapPort2(void* parg); #endif void ThreadDNSAddressSeed2(void* parg); bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); struct LocalServiceInfo { int nScore; int nPort; }; // // Global state variables // bool fClient = false; bool fDiscover = true; bool fUseUPnP = false; uint64 nLocalServices = (fClient ? 0 : NODE_NETWORK); static CCriticalSection cs_mapLocalHost; static map<CNetAddr, LocalServiceInfo> mapLocalHost; static bool vfReachable[NET_MAX] = {}; static bool vfLimited[NET_MAX] = {}; static CNode* pnodeLocalHost = NULL; CAddress addrSeenByPeer(CService("0.0.0.0", 0), nLocalServices); uint64 nLocalHostNonce = 0; array<int, THREAD_MAX> vnThreadsRunning; static std::vector<SOCKET> vhListenSocket; CAddrMan addrman; vector<CNode*> vNodes; CCriticalSection cs_vNodes; map<CInv, CDataStream> mapRelay; deque<pair<int64, CInv> > vRelayExpiration; CCriticalSection cs_mapRelay; map<CInv, int64> mapAlreadyAskedFor; static deque<string> vOneShots; CCriticalSection cs_vOneShots; set<CNetAddr> setservAddNodeAddresses; CCriticalSection cs_setservAddNodeAddresses; static CSemaphore *semOutbound = NULL; void AddOneShot(string strDest) { LOCK(cs_vOneShots); vOneShots.push_back(strDest); } unsigned short GetListenPort() { return (unsigned short)(GetArg("-port", GetDefaultPort())); } void CNode::PushGetBlocks(CBlockIndex* pindexBegin, uint256 hashEnd) { // Filter out duplicate requests if (pindexBegin == pindexLastGetBlocksBegin && hashEnd == hashLastGetBlocksEnd) return; pindexLastGetBlocksBegin = pindexBegin; hashLastGetBlocksEnd = hashEnd; PushMessage("getblocks", CBlockLocator(pindexBegin), hashEnd); } // find 'best' local address for a particular peer bool GetLocal(CService& addr, const CNetAddr *paddrPeer) { if (fNoListen) return false; int nBestScore = -1; int nBestReachability = -1; { LOCK(cs_mapLocalHost); for (map<CNetAddr, LocalServiceInfo>::iterator it = mapLocalHost.begin(); it != mapLocalHost.end(); it++) { int nScore = (*it).second.nScore; int nReachability = (*it).first.GetReachabilityFrom(paddrPeer); if (nReachability > nBestReachability || (nReachability == nBestReachability && nScore > nBestScore)) { addr = CService((*it).first, (*it).second.nPort); nBestReachability = nReachability; nBestScore = nScore; } } } return nBestScore >= 0; } // get best local address for a particular peer as a CAddress CAddress GetLocalAddress(const CNetAddr *paddrPeer) { CAddress ret(CService("0.0.0.0",0),0); CService addr; if (GetLocal(addr, paddrPeer)) { ret = CAddress(addr); ret.nServices = nLocalServices; ret.nTime = GetAdjustedTime(); } return ret; } bool RecvLine(SOCKET hSocket, string& strLine) { strLine = ""; loop { char c; int nBytes = recv(hSocket, &c, 1, 0); if (nBytes > 0) { if (c == '\n') continue; if (c == '\r') return true; strLine += c; if (strLine.size() >= 9000) return true; } else if (nBytes <= 0) { if (fShutdown) return false; if (nBytes < 0) { int nErr = WSAGetLastError(); if (nErr == WSAEMSGSIZE) continue; if (nErr == WSAEWOULDBLOCK || nErr == WSAEINTR || nErr == WSAEINPROGRESS) { Sleep(10); continue; } } if (!strLine.empty()) return true; if (nBytes == 0) { // socket closed printf("socket closed\n"); return false; } else { // socket error int nErr = WSAGetLastError(); printf("recv failed: %d\n", nErr); return false; } } } } // used when scores of local addresses may have changed // pushes better local address to peers void static AdvertizeLocal() { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) { if (pnode->fSuccessfullyConnected) { CAddress addrLocal = GetLocalAddress(&pnode->addr); if (addrLocal.IsRoutable() && (CService)addrLocal != (CService)pnode->addrLocal) { pnode->PushAddress(addrLocal); pnode->addrLocal = addrLocal; } } } } void SetReachable(enum Network net, bool fFlag) { LOCK(cs_mapLocalHost); vfReachable[net] = fFlag; if (net == NET_IPV6 && fFlag) vfReachable[NET_IPV4] = true; } // learn a new local address bool AddLocal(const CService& addr, int nScore) { if (!addr.IsRoutable()) return false; if (!fDiscover && nScore < LOCAL_MANUAL) return false; if (IsLimited(addr)) return false; printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore); { LOCK(cs_mapLocalHost); bool fAlready = mapLocalHost.count(addr) > 0; LocalServiceInfo &info = mapLocalHost[addr]; if (!fAlready || nScore >= info.nScore) { info.nScore = nScore + (fAlready ? 1 : 0); info.nPort = addr.GetPort(); } SetReachable(addr.GetNetwork()); } AdvertizeLocal(); return true; } bool AddLocal(const CNetAddr &addr, int nScore) { return AddLocal(CService(addr, GetListenPort()), nScore); } /** Make a particular network entirely off-limits (no automatic connects to it) */ void SetLimited(enum Network net, bool fLimited) { if (net == NET_UNROUTABLE) return; LOCK(cs_mapLocalHost); vfLimited[net] = fLimited; } bool IsLimited(enum Network net) { LOCK(cs_mapLocalHost); return vfLimited[net]; } bool IsLimited(const CNetAddr &addr) { return IsLimited(addr.GetNetwork()); } /** vote for a local address */ bool SeenLocal(const CService& addr) { { LOCK(cs_mapLocalHost); if (mapLocalHost.count(addr) == 0) return false; mapLocalHost[addr].nScore++; } AdvertizeLocal(); return true; } /** check whether a given address is potentially local */ bool IsLocal(const CService& addr) { LOCK(cs_mapLocalHost); return mapLocalHost.count(addr) > 0; } /** check whether a given address is in a network we can probably connect to */ bool IsReachable(const CNetAddr& addr) { LOCK(cs_mapLocalHost); enum Network net = addr.GetNetwork(); return vfReachable[net] && !vfLimited[net]; } bool GetMyExternalIP2(const CService& addrConnect, const char* pszGet, const char* pszKeyword, CNetAddr& ipRet) { SOCKET hSocket; if (!ConnectSocket(addrConnect, hSocket)) return error("GetMyExternalIP() : connection to %s failed", addrConnect.ToString().c_str()); send(hSocket, pszGet, strlen(pszGet), MSG_NOSIGNAL); string strLine; while (RecvLine(hSocket, strLine)) { if (strLine.empty()) // HTTP response is separated from headers by blank line { loop { if (!RecvLine(hSocket, strLine)) { closesocket(hSocket); return false; } if (pszKeyword == NULL) break; if (strLine.find(pszKeyword) != string::npos) { strLine = strLine.substr(strLine.find(pszKeyword) + strlen(pszKeyword)); break; } } closesocket(hSocket); if (strLine.find("<") != string::npos) strLine = strLine.substr(0, strLine.find("<")); strLine = strLine.substr(strspn(strLine.c_str(), " \t\n\r")); while (strLine.size() > 0 && isspace(strLine[strLine.size()-1])) strLine.resize(strLine.size()-1); CService addr(strLine,0,true); printf("GetMyExternalIP() received [%s] %s\n", strLine.c_str(), addr.ToString().c_str()); if (!addr.IsValid() || !addr.IsRoutable()) return false; ipRet.SetIP(addr); return true; } } closesocket(hSocket); return error("GetMyExternalIP() : connection closed"); } // We now get our external IP from the IRC server first and only use this as a backup bool GetMyExternalIP(CNetAddr& ipRet) { CService addrConnect; const char* pszGet; const char* pszKeyword; for (int nLookup = 0; nLookup <= 1; nLookup++) for (int nHost = 1; nHost <= 2; nHost++) { // We should be phasing out our use of sites like these. If we need // replacements, we should ask for volunteers to put this simple // php file on their web server that prints the client IP: // <?php echo $_SERVER["REMOTE_ADDR"]; ?> if (nHost == 1) { addrConnect = CService("91.198.22.70",80); // checkip.dyndns.org if (nLookup == 1) { CService addrIP("checkip.dyndns.org", 80, true); if (addrIP.IsValid()) addrConnect = addrIP; } pszGet = "GET / HTTP/1.1\r\n" "Host: checkip.dyndns.org\r\n" "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n" "Connection: close\r\n" "\r\n"; pszKeyword = "Address:"; } else if (nHost == 2) { addrConnect = CService("74.208.43.192", 80); // www.showmyip.com if (nLookup == 1) { CService addrIP("www.showmyip.com", 80, true); if (addrIP.IsValid()) addrConnect = addrIP; } pszGet = "GET /simple/ HTTP/1.1\r\n" "Host: www.showmyip.com\r\n" "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n" "Connection: close\r\n" "\r\n"; pszKeyword = NULL; // Returns just IP address } if (GetMyExternalIP2(addrConnect, pszGet, pszKeyword, ipRet)) return true; } return false; } void ThreadGetMyExternalIP(void* parg) { // Make this thread recognisable as the external IP detection thread RenameThread("bitcoin-ext-ip"); CNetAddr addrLocalHost; if (GetMyExternalIP(addrLocalHost)) { printf("GetMyExternalIP() returned %s\n", addrLocalHost.ToStringIP().c_str()); AddLocal(addrLocalHost, LOCAL_HTTP); } } void AddressCurrentlyConnected(const CService& addr) { addrman.Connected(addr); } CNode* FindNode(const CNetAddr& ip) { { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) if ((CNetAddr)pnode->addr == ip) return (pnode); } return NULL; } CNode* FindNode(std::string addrName) { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) if (pnode->addrName == addrName) return (pnode); return NULL; } CNode* FindNode(const CService& addr) { { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) if ((CService)pnode->addr == addr) return (pnode); } return NULL; } CNode* ConnectNode(CAddress addrConnect, const char *pszDest, int64 nTimeout) { if (pszDest == NULL) { if (IsLocal(addrConnect)) return NULL; // Look for an existing connection CNode* pnode = FindNode((CService)addrConnect); if (pnode) { if (nTimeout != 0) pnode->AddRef(nTimeout); else pnode->AddRef(); return pnode; } } /// debug print printf("trying connection %s lastseen=%.1fhrs\n", pszDest ? pszDest : addrConnect.ToString().c_str(), pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0); // Connect SOCKET hSocket; if (pszDest ? ConnectSocketByName(addrConnect, hSocket, pszDest, GetDefaultPort()) : ConnectSocket(addrConnect, hSocket)) { addrman.Attempt(addrConnect); /// debug print printf("connected %s\n", pszDest ? pszDest : addrConnect.ToString().c_str()); // Set to non-blocking #ifdef WIN32 u_long nOne = 1; if (ioctlsocket(hSocket, FIONBIO, &nOne) == SOCKET_ERROR) printf("ConnectSocket() : ioctlsocket non-blocking setting failed, error %d\n", WSAGetLastError()); #else if (fcntl(hSocket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR) printf("ConnectSocket() : fcntl non-blocking setting failed, error %d\n", errno); #endif // Add node CNode* pnode = new CNode(hSocket, addrConnect, pszDest ? pszDest : "", false); if (nTimeout != 0) pnode->AddRef(nTimeout); else pnode->AddRef(); { LOCK(cs_vNodes); vNodes.push_back(pnode); } pnode->nTimeConnected = GetTime(); return pnode; } else { return NULL; } } void CNode::CloseSocketDisconnect() { fDisconnect = true; if (hSocket != INVALID_SOCKET) { printf("disconnecting node %s\n", addrName.c_str()); closesocket(hSocket); hSocket = INVALID_SOCKET; vRecv.clear(); } } void CNode::Cleanup() { } void CNode::PushVersion() { /// when NTP implemented, change to just nTime = GetAdjustedTime() int64 nTime = (fInbound ? GetAdjustedTime() : GetTime()); CAddress addrYou = (addr.IsRoutable() && !IsProxy(addr) ? addr : CAddress(CService("0.0.0.0",0))); CAddress addrMe = GetLocalAddress(&addr); RAND_bytes((unsigned char*)&nLocalHostNonce, sizeof(nLocalHostNonce)); printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str()); PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe, nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight); } std::map<CNetAddr, int64> CNode::setBanned; CCriticalSection CNode::cs_setBanned; void CNode::ClearBanned() { setBanned.clear(); } bool CNode::IsBanned(CNetAddr ip) { bool fResult = false; { LOCK(cs_setBanned); std::map<CNetAddr, int64>::iterator i = setBanned.find(ip); if (i != setBanned.end()) { int64 t = (*i).second; if (GetTime() < t) fResult = true; } } return fResult; } bool CNode::Misbehaving(int howmuch) { if (addr.IsLocal()) { printf("Warning: Local node %s misbehaving (delta: %d)!\n", addrName.c_str(), howmuch); return false; } nMisbehavior += howmuch; if (nMisbehavior >= GetArg("-banscore", 100)) { int64 banTime = GetTime()+GetArg("-bantime", 60*60*24); // Default 24-hour ban printf("Misbehaving: %s (%d -> %d) DISCONNECTING\n", addr.ToString().c_str(), nMisbehavior-howmuch, nMisbehavior); { LOCK(cs_setBanned); if (setBanned[addr] < banTime) setBanned[addr] = banTime; } CloseSocketDisconnect(); return true; } else printf("Misbehaving: %s (%d -> %d)\n", addr.ToString().c_str(), nMisbehavior-howmuch, nMisbehavior); return false; } #undef X #define X(name) stats.name = name void CNode::copyStats(CNodeStats &stats) { X(nServices); X(nLastSend); X(nLastRecv); X(nTimeConnected); X(addrName); X(nVersion); X(strSubVer); X(fInbound); X(nReleaseTime); X(nStartingHeight); X(nMisbehavior); } #undef X void ThreadSocketHandler(void* parg) { // Make this thread recognisable as the networking thread RenameThread("bitcoin-net"); try { vnThreadsRunning[THREAD_SOCKETHANDLER]++; ThreadSocketHandler2(parg); vnThreadsRunning[THREAD_SOCKETHANDLER]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_SOCKETHANDLER]--; PrintException(&e, "ThreadSocketHandler()"); } catch (...) { vnThreadsRunning[THREAD_SOCKETHANDLER]--; throw; // support pthread_cancel() } printf("ThreadSocketHandler exited\n"); } void ThreadSocketHandler2(void* parg) { printf("ThreadSocketHandler started\n"); list<CNode*> vNodesDisconnected; unsigned int nPrevNodeCount = 0; loop { // // Disconnect nodes // { LOCK(cs_vNodes); // Disconnect unused nodes vector<CNode*> vNodesCopy = vNodes; BOOST_FOREACH(CNode* pnode, vNodesCopy) { if (pnode->fDisconnect || (pnode->GetRefCount() <= 0 && pnode->vRecv.empty() && pnode->vSend.empty())) { // remove from vNodes vNodes.erase(remove(vNodes.begin(), vNodes.end(), pnode), vNodes.end()); // release outbound grant (if any) pnode->grantOutbound.Release(); // close socket and cleanup pnode->CloseSocketDisconnect(); pnode->Cleanup(); // hold in disconnected pool until all refs are released pnode->nReleaseTime = max(pnode->nReleaseTime, GetTime() + 15 * 60); if (pnode->fNetworkNode || pnode->fInbound) pnode->Release(); vNodesDisconnected.push_back(pnode); } } // Delete disconnected nodes list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected; BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy) { // wait until threads are done using it if (pnode->GetRefCount() <= 0) { bool fDelete = false; { TRY_LOCK(pnode->cs_vSend, lockSend); if (lockSend) { TRY_LOCK(pnode->cs_vRecv, lockRecv); if (lockRecv) { TRY_LOCK(pnode->cs_mapRequests, lockReq); if (lockReq) { TRY_LOCK(pnode->cs_inventory, lockInv); if (lockInv) fDelete = true; } } } } if (fDelete) { vNodesDisconnected.remove(pnode); delete pnode; } } } } if (vNodes.size() != nPrevNodeCount) { nPrevNodeCount = vNodes.size(); uiInterface.NotifyNumConnectionsChanged(vNodes.size()); } // // Find which sockets have data to receive // struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 50000; // frequency to poll pnode->vSend fd_set fdsetRecv; fd_set fdsetSend; fd_set fdsetError; FD_ZERO(&fdsetRecv); FD_ZERO(&fdsetSend); FD_ZERO(&fdsetError); SOCKET hSocketMax = 0; bool have_fds = false; BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) { FD_SET(hListenSocket, &fdsetRecv); hSocketMax = max(hSocketMax, hListenSocket); have_fds = true; } { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) { if (pnode->hSocket == INVALID_SOCKET) continue; FD_SET(pnode->hSocket, &fdsetRecv); FD_SET(pnode->hSocket, &fdsetError); hSocketMax = max(hSocketMax, pnode->hSocket); have_fds = true; { TRY_LOCK(pnode->cs_vSend, lockSend); if (lockSend && !pnode->vSend.empty()) FD_SET(pnode->hSocket, &fdsetSend); } } } vnThreadsRunning[THREAD_SOCKETHANDLER]--; int nSelect = select(have_fds ? hSocketMax + 1 : 0, &fdsetRecv, &fdsetSend, &fdsetError, &timeout); vnThreadsRunning[THREAD_SOCKETHANDLER]++; if (fShutdown) return; if (nSelect == SOCKET_ERROR) { if (have_fds) { int nErr = WSAGetLastError(); printf("socket select error %d\n", nErr); for (unsigned int i = 0; i <= hSocketMax; i++) FD_SET(i, &fdsetRecv); } FD_ZERO(&fdsetSend); FD_ZERO(&fdsetError); Sleep(timeout.tv_usec/1000); } // // Accept new connections // BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) if (hListenSocket != INVALID_SOCKET && FD_ISSET(hListenSocket, &fdsetRecv)) { #ifdef USE_IPV6 struct sockaddr_storage sockaddr; #else struct sockaddr sockaddr; #endif socklen_t len = sizeof(sockaddr); SOCKET hSocket = accept(hListenSocket, (struct sockaddr*)&sockaddr, &len); CAddress addr; int nInbound = 0; if (hSocket != INVALID_SOCKET) if (!addr.SetSockAddr((const struct sockaddr*)&sockaddr)) printf("Warning: Unknown socket family\n"); { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) if (pnode->fInbound) nInbound++; } if (hSocket == INVALID_SOCKET) { int nErr = WSAGetLastError(); if (nErr != WSAEWOULDBLOCK) printf("socket error accept failed: %d\n", nErr); } else if (nInbound >= GetArg("-maxconnections", 125) - MAX_OUTBOUND_CONNECTIONS) { { LOCK(cs_setservAddNodeAddresses); if (!setservAddNodeAddresses.count(addr)) closesocket(hSocket); } } else if (CNode::IsBanned(addr)) { printf("connection from %s dropped (banned)\n", addr.ToString().c_str()); closesocket(hSocket); } else { printf("accepted connection %s\n", addr.ToString().c_str()); CNode* pnode = new CNode(hSocket, addr, "", true); pnode->AddRef(); { LOCK(cs_vNodes); vNodes.push_back(pnode); } } } // // Service each socket // vector<CNode*> vNodesCopy; { LOCK(cs_vNodes); vNodesCopy = vNodes; BOOST_FOREACH(CNode* pnode, vNodesCopy) pnode->AddRef(); } BOOST_FOREACH(CNode* pnode, vNodesCopy) { if (fShutdown) return; // // Receive // if (pnode->hSocket == INVALID_SOCKET) continue; if (FD_ISSET(pnode->hSocket, &fdsetRecv) || FD_ISSET(pnode->hSocket, &fdsetError)) { TRY_LOCK(pnode->cs_vRecv, lockRecv); if (lockRecv) { CDataStream& vRecv = pnode->vRecv; unsigned int nPos = vRecv.size(); if (nPos > ReceiveBufferSize()) { if (!pnode->fDisconnect) printf("socket recv flood control disconnect (%"PRIszu" bytes)\n", vRecv.size()); pnode->CloseSocketDisconnect(); } else { // typical socket buffer is 8K-64K char pchBuf[0x10000]; int nBytes = recv(pnode->hSocket, pchBuf, sizeof(pchBuf), MSG_DONTWAIT); if (nBytes > 0) { vRecv.resize(nPos + nBytes); memcpy(&vRecv[nPos], pchBuf, nBytes); pnode->nLastRecv = GetTime(); } else if (nBytes == 0) { // socket closed gracefully if (!pnode->fDisconnect) printf("socket closed\n"); pnode->CloseSocketDisconnect(); } else if (nBytes < 0) { // error int nErr = WSAGetLastError(); if (nErr != WSAEWOULDBLOCK && nErr != WSAEMSGSIZE && nErr != WSAEINTR && nErr != WSAEINPROGRESS) { if (!pnode->fDisconnect) printf("socket recv error %d\n", nErr); pnode->CloseSocketDisconnect(); } } } } } // // Send // if (pnode->hSocket == INVALID_SOCKET) continue; if (FD_ISSET(pnode->hSocket, &fdsetSend)) { TRY_LOCK(pnode->cs_vSend, lockSend); if (lockSend) { CDataStream& vSend = pnode->vSend; if (!vSend.empty()) { int nBytes = send(pnode->hSocket, &vSend[0], vSend.size(), MSG_NOSIGNAL | MSG_DONTWAIT); if (nBytes > 0) { vSend.erase(vSend.begin(), vSend.begin() + nBytes); pnode->nLastSend = GetTime(); } else if (nBytes < 0) { // error int nErr = WSAGetLastError(); if (nErr != WSAEWOULDBLOCK && nErr != WSAEMSGSIZE && nErr != WSAEINTR && nErr != WSAEINPROGRESS) { printf("socket send error %d\n", nErr); pnode->CloseSocketDisconnect(); } } } } } // // Inactivity checking // if (pnode->vSend.empty()) pnode->nLastSendEmpty = GetTime(); if (GetTime() - pnode->nTimeConnected > 60) { if (pnode->nLastRecv == 0 || pnode->nLastSend == 0) { printf("socket no message in first 60 seconds, %d %d\n", pnode->nLastRecv != 0, pnode->nLastSend != 0); pnode->fDisconnect = true; } else if (GetTime() - pnode->nLastSend > 90*60 && GetTime() - pnode->nLastSendEmpty > 90*60) { printf("socket not sending\n"); pnode->fDisconnect = true; } else if (GetTime() - pnode->nLastRecv > 90*60) { printf("socket inactivity timeout\n"); pnode->fDisconnect = true; } } } { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodesCopy) pnode->Release(); } Sleep(10); } } #ifdef USE_UPNP void ThreadMapPort(void* parg) { // Make this thread recognisable as the UPnP thread RenameThread("bitcoin-UPnP"); try { vnThreadsRunning[THREAD_UPNP]++; ThreadMapPort2(parg); vnThreadsRunning[THREAD_UPNP]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_UPNP]--; PrintException(&e, "ThreadMapPort()"); } catch (...) { vnThreadsRunning[THREAD_UPNP]--; PrintException(NULL, "ThreadMapPort()"); } printf("ThreadMapPort exited\n"); } void ThreadMapPort2(void* parg) { printf("ThreadMapPort started\n"); std::string port = strprintf("%u", GetListenPort()); const char * multicastif = 0; const char * minissdpdpath = 0; struct UPNPDev * devlist = 0; char lanaddr[64]; #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); #else /* miniupnpc 1.6 */ int error = 0; devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); #endif struct UPNPUrls urls; struct IGDdatas data; int r; r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr)); if (r == 1) { if (fDiscover) { char externalIPAddress[40]; r = UPNP_GetExternalIPAddress(urls.controlURL, data.first.servicetype, externalIPAddress); if(r != UPNPCOMMAND_SUCCESS) printf("UPnP: GetExternalIPAddress() returned %d\n", r); else { if(externalIPAddress[0]) { printf("UPnP: ExternalIPAddress = %s\n", externalIPAddress); AddLocal(CNetAddr(externalIPAddress), LOCAL_UPNP); } else printf("UPnP: GetExternalIPAddress failed.\n"); } } string strDesc = "Legendcoin " + FormatFullVersion(); #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0); #else /* miniupnpc 1.6 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0, "0"); #endif if(r!=UPNPCOMMAND_SUCCESS) printf("AddPortMapping(%s, %s, %s) failed with code %d (%s)\n", port.c_str(), port.c_str(), lanaddr, r, strupnperror(r)); else printf("UPnP Port Mapping successful.\n"); int i = 1; loop { if (fShutdown || !fUseUPnP) { r = UPNP_DeletePortMapping(urls.controlURL, data.first.servicetype, port.c_str(), "TCP", 0); printf("UPNP_DeletePortMapping() returned : %d\n", r); freeUPNPDevlist(devlist); devlist = 0; FreeUPNPUrls(&urls); return; } if (i % 600 == 0) // Refresh every 20 minutes { #ifndef UPNPDISCOVER_SUCCESS /* miniupnpc 1.5 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0); #else /* miniupnpc 1.6 */ r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, port.c_str(), port.c_str(), lanaddr, strDesc.c_str(), "TCP", 0, "0"); #endif if(r!=UPNPCOMMAND_SUCCESS) printf("AddPortMapping(%s, %s, %s) failed with code %d (%s)\n", port.c_str(), port.c_str(), lanaddr, r, strupnperror(r)); else printf("UPnP Port Mapping successful.\n");; } Sleep(2000); i++; } } else { printf("No valid UPnP IGDs found\n"); freeUPNPDevlist(devlist); devlist = 0; if (r != 0) FreeUPNPUrls(&urls); loop { if (fShutdown || !fUseUPnP) return; Sleep(2000); } } } void MapPort() { if (fUseUPnP && vnThreadsRunning[THREAD_UPNP] < 1) { if (!NewThread(ThreadMapPort, NULL)) printf("Error: ThreadMapPort(ThreadMapPort) failed\n"); } } #else void MapPort() { // Intentionally left blank. } #endif // DNS seeds // Each pair gives a source name and a seed name. // The first name is used as information source for addrman. // The second name should resolve to a list of seed addresses. static const char *strDNSSeed[][2] = { {"184.22.46.226", "184.22.46.226"} }; void ThreadDNSAddressSeed(void* parg) { // Make this thread recognisable as the DNS seeding thread RenameThread("bitcoin-dnsseed"); try { vnThreadsRunning[THREAD_DNSSEED]++; ThreadDNSAddressSeed2(parg); vnThreadsRunning[THREAD_DNSSEED]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_DNSSEED]--; PrintException(&e, "ThreadDNSAddressSeed()"); } catch (...) { vnThreadsRunning[THREAD_DNSSEED]--; throw; // support pthread_cancel() } printf("ThreadDNSAddressSeed exited\n"); } void ThreadDNSAddressSeed2(void* parg) { printf("ThreadDNSAddressSeed started\n"); int found = 0; if (!fTestNet) { printf("Loading addresses from DNS seeds (could take a while)\n"); for (unsigned int seed_idx = 0; seed_idx < ARRAYLEN(strDNSSeed); seed_idx++) { if (HaveNameProxy()) { AddOneShot(strDNSSeed[seed_idx][1]); } else { vector<CNetAddr> vaddr; vector<CAddress> vAdd; if (LookupHost(strDNSSeed[seed_idx][1], vaddr)) { BOOST_FOREACH(CNetAddr& ip, vaddr) { int nOneDay = 24*3600; CAddress addr = CAddress(CService(ip, GetDefaultPort())); addr.nTime = GetTime() - 3*nOneDay - GetRand(4*nOneDay); // use a random age between 3 and 7 days old vAdd.push_back(addr); found++; } } addrman.Add(vAdd, CNetAddr(strDNSSeed[seed_idx][0], true)); } } } printf("%d addresses found from DNS seeds\n", found); } unsigned int pnSeed[] = { }; void DumpAddresses() { int64 nStart = GetTimeMillis(); CAddrDB adb; adb.Write(addrman); printf("Flushed %d addresses to peers.dat %"PRI64d"ms\n", addrman.size(), GetTimeMillis() - nStart); } void ThreadDumpAddress2(void* parg) { vnThreadsRunning[THREAD_DUMPADDRESS]++; while (!fShutdown) { DumpAddresses(); vnThreadsRunning[THREAD_DUMPADDRESS]--; Sleep(100000); vnThreadsRunning[THREAD_DUMPADDRESS]++; } vnThreadsRunning[THREAD_DUMPADDRESS]--; } void ThreadDumpAddress(void* parg) { // Make this thread recognisable as the address dumping thread RenameThread("bitcoin-adrdump"); try { ThreadDumpAddress2(parg); } catch (std::exception& e) { PrintException(&e, "ThreadDumpAddress()"); } printf("ThreadDumpAddress exited\n"); } void ThreadOpenConnections(void* parg) { // Make this thread recognisable as the connection opening thread RenameThread("bitcoin-opencon"); try { vnThreadsRunning[THREAD_OPENCONNECTIONS]++; ThreadOpenConnections2(parg); vnThreadsRunning[THREAD_OPENCONNECTIONS]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_OPENCONNECTIONS]--; PrintException(&e, "ThreadOpenConnections()"); } catch (...) { vnThreadsRunning[THREAD_OPENCONNECTIONS]--; PrintException(NULL, "ThreadOpenConnections()"); } printf("ThreadOpenConnections exited\n"); } void static ProcessOneShot() { string strDest; { LOCK(cs_vOneShots); if (vOneShots.empty()) return; strDest = vOneShots.front(); vOneShots.pop_front(); } CAddress addr; CSemaphoreGrant grant(*semOutbound, true); if (grant) { if (!OpenNetworkConnection(addr, &grant, strDest.c_str(), true)) AddOneShot(strDest); } } // ppcoin: stake minter thread void static ThreadStakeMinter(void* parg) { printf("ThreadStakeMinter started\n"); CWallet* pwallet = (CWallet*)parg; try { vnThreadsRunning[THREAD_MINTER]++; BitcoinMiner(pwallet, true); vnThreadsRunning[THREAD_MINTER]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_MINTER]--; PrintException(&e, "ThreadStakeMinter()"); } catch (...) { vnThreadsRunning[THREAD_MINTER]--; PrintException(NULL, "ThreadStakeMinter()"); } printf("ThreadStakeMinter exiting, %d threads remaining\n", vnThreadsRunning[THREAD_MINTER]); } void ThreadOpenConnections2(void* parg) { printf("ThreadOpenConnections started\n"); // Connect to specific addresses if (mapArgs.count("-connect") && mapMultiArgs["-connect"].size() > 0) { for (int64 nLoop = 0;; nLoop++) { ProcessOneShot(); BOOST_FOREACH(string strAddr, mapMultiArgs["-connect"]) { CAddress addr; OpenNetworkConnection(addr, NULL, strAddr.c_str()); for (int i = 0; i < 10 && i < nLoop; i++) { Sleep(500); if (fShutdown) return; } } Sleep(500); } } // Initiate network connections int64 nStart = GetTime(); loop { ProcessOneShot(); vnThreadsRunning[THREAD_OPENCONNECTIONS]--; Sleep(500); vnThreadsRunning[THREAD_OPENCONNECTIONS]++; if (fShutdown) return; vnThreadsRunning[THREAD_OPENCONNECTIONS]--; CSemaphoreGrant grant(*semOutbound); vnThreadsRunning[THREAD_OPENCONNECTIONS]++; if (fShutdown) return; // Add seed nodes if IRC isn't working if (addrman.size()==0 && (GetTime() - nStart > 60) && !fTestNet) { std::vector<CAddress> vAdd; for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++) { // It'll only connect to one or two seed nodes because once it connects, // it'll get a pile of addresses with newer timestamps. // Seed nodes are given a random 'last seen time' of between one and two // weeks ago. const int64 nOneWeek = 7*24*60*60; struct in_addr ip; memcpy(&ip, &pnSeed[i], sizeof(ip)); CAddress addr(CService(ip, GetDefaultPort())); addr.nTime = GetTime()-GetRand(nOneWeek)-nOneWeek; vAdd.push_back(addr); } addrman.Add(vAdd, CNetAddr("127.0.0.1")); } // // Choose an address to connect to based on most recently seen // CAddress addrConnect; // Only connect out to one peer per network group (/16 for IPv4). // Do this here so we don't have to critsect vNodes inside mapAddresses critsect. int nOutbound = 0; set<vector<unsigned char> > setConnected; { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) { if (!pnode->fInbound) { setConnected.insert(pnode->addr.GetGroup()); nOutbound++; } } } int64 nANow = GetAdjustedTime(); int nTries = 0; loop { // use an nUnkBias between 10 (no outgoing connections) and 90 (8 outgoing connections) CAddress addr = addrman.Select(10 + min(nOutbound,8)*10); // if we selected an invalid address, restart if (!addr.IsValid() || setConnected.count(addr.GetGroup()) || IsLocal(addr)) break; // If we didn't find an appropriate destination after trying 100 addresses fetched from addrman, // stop this loop, and let the outer loop run again (which sleeps, adds seed nodes, recalculates // already-connected network ranges, ...) before trying new addrman addresses. nTries++; if (nTries > 100) break; if (IsLimited(addr)) continue; // only consider very recently tried nodes after 30 failed attempts if (nANow - addr.nLastTry < 600 && nTries < 30) continue; // do not allow non-default ports, unless after 50 invalid addresses selected already if (addr.GetPort() != GetDefaultPort() && nTries < 50) continue; addrConnect = addr; break; } if (addrConnect.IsValid()) OpenNetworkConnection(addrConnect, &grant); } } void ThreadOpenAddedConnections(void* parg) { // Make this thread recognisable as the connection opening thread RenameThread("bitcoin-opencon"); try { vnThreadsRunning[THREAD_ADDEDCONNECTIONS]++; ThreadOpenAddedConnections2(parg); vnThreadsRunning[THREAD_ADDEDCONNECTIONS]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_ADDEDCONNECTIONS]--; PrintException(&e, "ThreadOpenAddedConnections()"); } catch (...) { vnThreadsRunning[THREAD_ADDEDCONNECTIONS]--; PrintException(NULL, "ThreadOpenAddedConnections()"); } printf("ThreadOpenAddedConnections exited\n"); } void ThreadOpenAddedConnections2(void* parg) { printf("ThreadOpenAddedConnections started\n"); if (mapArgs.count("-addnode") == 0) return; if (HaveNameProxy()) { while(!fShutdown) { BOOST_FOREACH(string& strAddNode, mapMultiArgs["-addnode"]) { CAddress addr; CSemaphoreGrant grant(*semOutbound); OpenNetworkConnection(addr, &grant, strAddNode.c_str()); Sleep(500); } vnThreadsRunning[THREAD_ADDEDCONNECTIONS]--; Sleep(120000); // Retry every 2 minutes vnThreadsRunning[THREAD_ADDEDCONNECTIONS]++; } return; } vector<vector<CService> > vservAddressesToAdd(0); BOOST_FOREACH(string& strAddNode, mapMultiArgs["-addnode"]) { vector<CService> vservNode(0); if(Lookup(strAddNode.c_str(), vservNode, GetDefaultPort(), fNameLookup, 0)) { vservAddressesToAdd.push_back(vservNode); { LOCK(cs_setservAddNodeAddresses); BOOST_FOREACH(CService& serv, vservNode) setservAddNodeAddresses.insert(serv); } } } loop { vector<vector<CService> > vservConnectAddresses = vservAddressesToAdd; // Attempt to connect to each IP for each addnode entry until at least one is successful per addnode entry // (keeping in mind that addnode entries can have many IPs if fNameLookup) { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) for (vector<vector<CService> >::iterator it = vservConnectAddresses.begin(); it != vservConnectAddresses.end(); it++) BOOST_FOREACH(CService& addrNode, *(it)) if (pnode->addr == addrNode) { it = vservConnectAddresses.erase(it); it--; break; } } BOOST_FOREACH(vector<CService>& vserv, vservConnectAddresses) { CSemaphoreGrant grant(*semOutbound); OpenNetworkConnection(CAddress(*(vserv.begin())), &grant); Sleep(500); if (fShutdown) return; } if (fShutdown) return; vnThreadsRunning[THREAD_ADDEDCONNECTIONS]--; Sleep(120000); // Retry every 2 minutes vnThreadsRunning[THREAD_ADDEDCONNECTIONS]++; if (fShutdown) return; } } // if successful, this moves the passed grant to the constructed node bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound, const char *strDest, bool fOneShot) { // // Initiate outbound network connection // if (fShutdown) return false; if (!strDest) if (IsLocal(addrConnect) || FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) || FindNode(addrConnect.ToStringIPPort().c_str())) return false; if (strDest && FindNode(strDest)) return false; vnThreadsRunning[THREAD_OPENCONNECTIONS]--; CNode* pnode = ConnectNode(addrConnect, strDest); vnThreadsRunning[THREAD_OPENCONNECTIONS]++; if (fShutdown) return false; if (!pnode) return false; if (grantOutbound) grantOutbound->MoveTo(pnode->grantOutbound); pnode->fNetworkNode = true; if (fOneShot) pnode->fOneShot = true; return true; } void ThreadMessageHandler(void* parg) { // Make this thread recognisable as the message handling thread RenameThread("bitcoin-msghand"); try { vnThreadsRunning[THREAD_MESSAGEHANDLER]++; ThreadMessageHandler2(parg); vnThreadsRunning[THREAD_MESSAGEHANDLER]--; } catch (std::exception& e) { vnThreadsRunning[THREAD_MESSAGEHANDLER]--; PrintException(&e, "ThreadMessageHandler()"); } catch (...) { vnThreadsRunning[THREAD_MESSAGEHANDLER]--; PrintException(NULL, "ThreadMessageHandler()"); } printf("ThreadMessageHandler exited\n"); } void ThreadMessageHandler2(void* parg) { printf("ThreadMessageHandler started\n"); SetThreadPriority(THREAD_PRIORITY_BELOW_NORMAL); while (!fShutdown) { vector<CNode*> vNodesCopy; { LOCK(cs_vNodes); vNodesCopy = vNodes; BOOST_FOREACH(CNode* pnode, vNodesCopy) pnode->AddRef(); } // Poll the connected nodes for messages CNode* pnodeTrickle = NULL; if (!vNodesCopy.empty()) pnodeTrickle = vNodesCopy[GetRand(vNodesCopy.size())]; BOOST_FOREACH(CNode* pnode, vNodesCopy) { // Receive messages { TRY_LOCK(pnode->cs_vRecv, lockRecv); if (lockRecv) ProcessMessages(pnode); } if (fShutdown) return; // Send messages { TRY_LOCK(pnode->cs_vSend, lockSend); if (lockSend) SendMessages(pnode, pnode == pnodeTrickle); } if (fShutdown) return; } { LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodesCopy) pnode->Release(); } // Wait and allow messages to bunch up. // Reduce vnThreadsRunning so StopNode has permission to exit while // we're sleeping, but we must always check fShutdown after doing this. vnThreadsRunning[THREAD_MESSAGEHANDLER]--; Sleep(100); if (fRequestShutdown) StartShutdown(); vnThreadsRunning[THREAD_MESSAGEHANDLER]++; if (fShutdown) return; } } bool BindListenPort(const CService &addrBind, string& strError) { strError = ""; int nOne = 1; #ifdef WIN32 // Initialize Windows Sockets WSADATA wsadata; int ret = WSAStartup(MAKEWORD(2,2), &wsadata); if (ret != NO_ERROR) { strError = strprintf("Error: TCP/IP socket library failed to start (WSAStartup returned error %d)", ret); printf("%s\n", strError.c_str()); return false; } #endif // Create socket for listening for incoming connections #ifdef USE_IPV6 struct sockaddr_storage sockaddr; #else struct sockaddr sockaddr; #endif socklen_t len = sizeof(sockaddr); if (!addrBind.GetSockAddr((struct sockaddr*)&sockaddr, &len)) { strError = strprintf("Error: bind address family for %s not supported", addrBind.ToString().c_str()); printf("%s\n", strError.c_str()); return false; } SOCKET hListenSocket = socket(((struct sockaddr*)&sockaddr)->sa_family, SOCK_STREAM, IPPROTO_TCP); if (hListenSocket == INVALID_SOCKET) { strError = strprintf("Error: Couldn't open socket for incoming connections (socket returned error %d)", WSAGetLastError()); printf("%s\n", strError.c_str()); return false; } #ifdef SO_NOSIGPIPE // Different way of disabling SIGPIPE on BSD setsockopt(hListenSocket, SOL_SOCKET, SO_NOSIGPIPE, (void*)&nOne, sizeof(int)); #endif #ifndef WIN32 // Allow binding if the port is still in TIME_WAIT state after // the program was closed and restarted. Not an issue on windows. setsockopt(hListenSocket, SOL_SOCKET, SO_REUSEADDR, (void*)&nOne, sizeof(int)); #endif #ifdef WIN32 // Set to non-blocking, incoming connections will also inherit this if (ioctlsocket(hListenSocket, FIONBIO, (u_long*)&nOne) == SOCKET_ERROR) #else if (fcntl(hListenSocket, F_SETFL, O_NONBLOCK) == SOCKET_ERROR) #endif { strError = strprintf("Error: Couldn't set properties on socket for incoming connections (error %d)", WSAGetLastError()); printf("%s\n", strError.c_str()); return false; } #ifdef USE_IPV6 // some systems don't have IPV6_V6ONLY but are always v6only; others do have the option // and enable it by default or not. Try to enable it, if possible. if (addrBind.IsIPv6()) { #ifdef IPV6_V6ONLY setsockopt(hListenSocket, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&nOne, sizeof(int)); #endif #ifdef WIN32 int nProtLevel = 10 /* PROTECTION_LEVEL_UNRESTRICTED */; int nParameterId = 23 /* IPV6_PROTECTION_LEVEl */; // this call is allowed to fail setsockopt(hListenSocket, IPPROTO_IPV6, nParameterId, (const char*)&nProtLevel, sizeof(int)); #endif } #endif if (::bind(hListenSocket, (struct sockaddr*)&sockaddr, len) == SOCKET_ERROR) { int nErr = WSAGetLastError(); if (nErr == WSAEADDRINUSE) strError = strprintf(_("Unable to bind to %s on this computer. Legendcoin is probably already running."), addrBind.ToString().c_str()); else strError = strprintf(_("Unable to bind to %s on this computer (bind returned error %d, %s)"), addrBind.ToString().c_str(), nErr, strerror(nErr)); printf("%s\n", strError.c_str()); return false; } printf("Bound to %s\n", addrBind.ToString().c_str()); // Listen for incoming connections if (listen(hListenSocket, SOMAXCONN) == SOCKET_ERROR) { strError = strprintf("Error: Listening for incoming connections failed (listen returned error %d)", WSAGetLastError()); printf("%s\n", strError.c_str()); return false; } vhListenSocket.push_back(hListenSocket); if (addrBind.IsRoutable() && fDiscover) AddLocal(addrBind, LOCAL_BIND); return true; } void static Discover() { if (!fDiscover) return; #ifdef WIN32 // Get local host IP char pszHostName[1000] = ""; if (gethostname(pszHostName, sizeof(pszHostName)) != SOCKET_ERROR) { vector<CNetAddr> vaddr; if (LookupHost(pszHostName, vaddr)) { BOOST_FOREACH (const CNetAddr &addr, vaddr) { AddLocal(addr, LOCAL_IF); } } } #else // Get local host ip struct ifaddrs* myaddrs; if (getifaddrs(&myaddrs) == 0) { for (struct ifaddrs* ifa = myaddrs; ifa != NULL; ifa = ifa->ifa_next) { if (ifa->ifa_addr == NULL) continue; if ((ifa->ifa_flags & IFF_UP) == 0) continue; if (strcmp(ifa->ifa_name, "lo") == 0) continue; if (strcmp(ifa->ifa_name, "lo0") == 0) continue; if (ifa->ifa_addr->sa_family == AF_INET) { struct sockaddr_in* s4 = (struct sockaddr_in*)(ifa->ifa_addr); CNetAddr addr(s4->sin_addr); if (AddLocal(addr, LOCAL_IF)) printf("IPv4 %s: %s\n", ifa->ifa_name, addr.ToString().c_str()); } #ifdef USE_IPV6 else if (ifa->ifa_addr->sa_family == AF_INET6) { struct sockaddr_in6* s6 = (struct sockaddr_in6*)(ifa->ifa_addr); CNetAddr addr(s6->sin6_addr); if (AddLocal(addr, LOCAL_IF)) printf("IPv6 %s: %s\n", ifa->ifa_name, addr.ToString().c_str()); } #endif } freeifaddrs(myaddrs); } #endif // Don't use external IPv4 discovery, when -onlynet="IPv6" if (!IsLimited(NET_IPV4)) NewThread(ThreadGetMyExternalIP, NULL); } void StartNode(void* parg) { // Make this thread recognisable as the startup thread RenameThread("bitcoin-start"); if (semOutbound == NULL) { // initialize semaphore int nMaxOutbound = min(MAX_OUTBOUND_CONNECTIONS, (int)GetArg("-maxconnections", 125)); semOutbound = new CSemaphore(nMaxOutbound); } if (pnodeLocalHost == NULL) pnodeLocalHost = new CNode(INVALID_SOCKET, CAddress(CService("127.0.0.1", 0), nLocalServices)); Discover(); // // Start threads // /* if (!GetBoolArg("-dnsseed", true)) printf("DNS seeding disabled\n"); else if (!NewThread(ThreadDNSAddressSeed, NULL)) printf("Error: NewThread(ThreadDNSAddressSeed) failed\n"); */ if (!GetBoolArg("-dnsseed", false)) printf("DNS seeding disabled\n"); if (GetBoolArg("-dnsseed", false)) printf("DNS seeding NYI\n"); // Map ports with UPnP if (fUseUPnP) MapPort(); // Get addresses from IRC and advertise ours if (!NewThread(ThreadIRCSeed, NULL)) printf("Error: NewThread(ThreadIRCSeed) failed\n"); // Send and receive from sockets, accept connections if (!NewThread(ThreadSocketHandler, NULL)) printf("Error: NewThread(ThreadSocketHandler) failed\n"); // Initiate outbound connections from -addnode if (!NewThread(ThreadOpenAddedConnections, NULL)) printf("Error: NewThread(ThreadOpenAddedConnections) failed\n"); // Initiate outbound connections if (!NewThread(ThreadOpenConnections, NULL)) printf("Error: NewThread(ThreadOpenConnections) failed\n"); // Process messages if (!NewThread(ThreadMessageHandler, NULL)) printf("Error: NewThread(ThreadMessageHandler) failed\n"); // Dump network addresses if (!NewThread(ThreadDumpAddress, NULL)) printf("Error; NewThread(ThreadDumpAddress) failed\n"); // ppcoin: mint proof-of-stake blocks in the background if (!NewThread(ThreadStakeMinter, pwalletMain)) printf("Error: NewThread(ThreadStakeMinter) failed\n"); // Generate coins in the background GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain); } bool StopNode() { printf("StopNode()\n"); fShutdown = true; nTransactionsUpdated++; int64 nStart = GetTime(); if (semOutbound) for (int i=0; i<MAX_OUTBOUND_CONNECTIONS; i++) semOutbound->post(); do { int nThreadsRunning = 0; for (int n = 0; n < THREAD_MAX; n++) nThreadsRunning += vnThreadsRunning[n]; if (nThreadsRunning == 0) break; if (GetTime() - nStart > 20) break; Sleep(20); } while(true); if (vnThreadsRunning[THREAD_SOCKETHANDLER] > 0) printf("ThreadSocketHandler still running\n"); if (vnThreadsRunning[THREAD_OPENCONNECTIONS] > 0) printf("ThreadOpenConnections still running\n"); if (vnThreadsRunning[THREAD_MESSAGEHANDLER] > 0) printf("ThreadMessageHandler still running\n"); if (vnThreadsRunning[THREAD_MINER] > 0) printf("ThreadBitcoinMiner still running\n"); if (vnThreadsRunning[THREAD_RPCLISTENER] > 0) printf("ThreadRPCListener still running\n"); if (vnThreadsRunning[THREAD_RPCHANDLER] > 0) printf("ThreadsRPCServer still running\n"); #ifdef USE_UPNP if (vnThreadsRunning[THREAD_UPNP] > 0) printf("ThreadMapPort still running\n"); #endif if (vnThreadsRunning[THREAD_DNSSEED] > 0) printf("ThreadDNSAddressSeed still running\n"); if (vnThreadsRunning[THREAD_ADDEDCONNECTIONS] > 0) printf("ThreadOpenAddedConnections still running\n"); if (vnThreadsRunning[THREAD_DUMPADDRESS] > 0) printf("ThreadDumpAddresses still running\n"); if (vnThreadsRunning[THREAD_MINTER] > 0) printf("ThreadStakeMinter still running\n"); while (vnThreadsRunning[THREAD_MESSAGEHANDLER] > 0 || vnThreadsRunning[THREAD_RPCHANDLER] > 0) Sleep(20); Sleep(50); DumpAddresses(); return true; } class CNetCleanup { public: CNetCleanup() { } ~CNetCleanup() { // Close sockets BOOST_FOREACH(CNode* pnode, vNodes) if (pnode->hSocket != INVALID_SOCKET) closesocket(pnode->hSocket); BOOST_FOREACH(SOCKET hListenSocket, vhListenSocket) if (hListenSocket != INVALID_SOCKET) if (closesocket(hListenSocket) == SOCKET_ERROR) printf("closesocket(hListenSocket) failed with error %d\n", WSAGetLastError()); #ifdef WIN32 // Shutdown Windows Sockets WSACleanup(); #endif } } instance_of_cnetcleanup;
[ "wincky@gmail.com" ]
wincky@gmail.com
f947ee94797b6db45b222e4d94201209bdfcc5a8
f66e3441f8feee829a2e9eaa3c4552cb499130b7
/test/UnitTest/TestAtomic.cpp
d02b5648360007466e70f4d641069737292abe59
[ "Apache-2.0" ]
permissive
hxrain/libnstd
05914894a09cf94cbc48603fd5257f34a6985094
98eca81fcb1d44b0a79b192f76a153e16beaab2f
refs/heads/master
2020-03-26T11:47:47.911071
2018-03-04T21:58:25
2018-03-04T21:58:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,147
cpp
#include <nstd/Debug.h> #include <nstd/Atomic.h> void testAtomic() { { volatile int32 int32 = 42; volatile uint32 uint32 = 42; volatile int64 int64 = 42; volatile uint64 uint64 = 42; ASSERT(Atomic::increment(int32) == 43); ASSERT(Atomic::increment(uint32) == 43); ASSERT(Atomic::increment(int64) == 43); ASSERT(Atomic::increment(uint64) == 43); ASSERT(int32 == 43); ASSERT(uint32 == 43); ASSERT(int64 == 43); ASSERT(uint64 == 43); int32 = -100; uint32 = 0xfffffff0; int64 = -100; uint64 = 0xfffffffffffffff0; ASSERT(Atomic::increment(int32) == -99); ASSERT(Atomic::increment(uint32) == 0xfffffff1); ASSERT(Atomic::increment(int64) == -99); ASSERT(Atomic::increment(uint64) == 0xfffffffffffffff1); } { volatile int32 int32 = 42; volatile uint32 uint32 = 42; volatile int64 int64 = 42; volatile uint64 uint64 = 42; ASSERT(Atomic::decrement(int32) == 41); ASSERT(Atomic::decrement(uint32) == 41); ASSERT(Atomic::decrement(int64) == 41); ASSERT(Atomic::decrement(uint64) == 41); ASSERT(int32 == 41); ASSERT(uint32 == 41); ASSERT(int64 == 41); ASSERT(uint64 == 41); } { volatile int32 int32 = 42; volatile uint32 uint32 = 42; volatile int64 int64 = 42; volatile uint64 uint64 = 42; void* volatile ptr = (char*)0 + 42; ASSERT(Atomic::compareAndSwap(int32, 42, 0) == 42); ASSERT(Atomic::compareAndSwap(uint32, 42, 0) == 42); ASSERT(Atomic::compareAndSwap(int64, 42, 0) == 42); ASSERT(Atomic::compareAndSwap(uint64, 42, 0) == 42); ASSERT(Atomic::compareAndSwap(ptr, (void*)((char*)0 + 42), (void*)0) == (char*)0 + 42); ASSERT(int32 == 0); ASSERT(uint32 == 0); ASSERT(int64 == 0); ASSERT(uint64 == 0); ASSERT(ptr == 0); ASSERT(Atomic::compareAndSwap(int32, 42, 1) == 0); ASSERT(Atomic::compareAndSwap(uint32, 42, 1) == 0); ASSERT(Atomic::compareAndSwap(int64, 42, 1) == 0); ASSERT(Atomic::compareAndSwap(uint64, 42, 1) == 0); ASSERT(Atomic::compareAndSwap(ptr, (void*)((char*)0 + 42), (void*)((char*)0 + 1)) == 0); ASSERT(int32 == 0); ASSERT(uint32 == 0); ASSERT(int64 == 0); ASSERT(uint64 == 0); ASSERT(ptr == 0); } { volatile int32 int32 = 42; volatile uint32 uint32 = 42; volatile int64 int64 = 42; volatile uint64 uint64 = 42; ASSERT(Atomic::fetchAndAdd(int32, 3) == 42); ASSERT(Atomic::fetchAndAdd(uint32, 3) == 42); ASSERT(Atomic::fetchAndAdd(int64, 3) == 42); ASSERT(Atomic::fetchAndAdd(uint64, 3) == 42); ASSERT(int32 == 45); ASSERT(uint32 == 45); ASSERT(int64 == 45); ASSERT(uint64 == 45); } { volatile int32 int32 = 0; ASSERT(Atomic::testAndSet(int32) == 0); ASSERT(int32 != 0); } { volatile int32 int32 = 0; volatile uint32 uint32 = 0; volatile int64 int64 = 0; volatile uint64 uint64 = 0; void* volatile ptr = 0; ASSERT(Atomic::swap(int32, 1) == 0); ASSERT(Atomic::swap(uint32, 1) == 0); ASSERT(Atomic::swap(int64, 1) == 0); ASSERT(Atomic::swap(uint64, 1) == 0); ASSERT(Atomic::swap(ptr, (void*)((char*)0 + 1)) == 0); ASSERT(int32 == 1); ASSERT(uint32 == 1); ASSERT(int64 == 1); ASSERT(uint64 == 1); ASSERT(ptr == (char*)0 + 1); } { volatile int32 int32 = 0; volatile uint32 uint32 = 0; volatile int64 int64 = 0; volatile uint64 uint64 = 0; void* volatile ptr = 0; ASSERT(Atomic::load(int32) == 0); ASSERT(Atomic::load(uint32) == 0); ASSERT(Atomic::load(int64) == 0); ASSERT(Atomic::load(uint64) == 0); ASSERT(Atomic::load(ptr) == 0); } { volatile int32 int32 = 0; volatile uint32 uint32 = 0; volatile int64 int64 = 0; volatile uint64 uint64 = 0; void* volatile ptr = 0; Atomic::store(int32, 1); Atomic::store(uint32, 1); Atomic::store(int64, 1); Atomic::store(uint64, 1); Atomic::store(ptr, (void*)((char*)0 + 1)); ASSERT(int32 == 1); ASSERT(uint32 == 1); ASSERT(int64 == 1); ASSERT(uint64 == 1); ASSERT(ptr == (char*)0 + 1); } }
[ "colin.graf@sovereign-labs.com" ]
colin.graf@sovereign-labs.com
bfd5a2e89c29773c6782a708dd8ada4299c1e584
6e6e1203a095c7128f27dc3adf022b4cbe0356b4
/src/components/DNADoor.cxx
7d27eb215490af3c5e6c1b0a9932e14dc0589865
[ "Apache-2.0" ]
permissive
theclashingfritz/libtoontown
c0dcbfa44a22a5f3200f3b1522c16a5436e1578c
e453b1de7185e056f95d4ee4831612b1a6598631
refs/heads/master
2021-06-30T08:00:35.586822
2017-09-19T00:43:44
2017-09-19T00:43:44
103,720,426
4
2
null
null
null
null
UTF-8
C++
false
false
3,739
cxx
#include "DNADoor.h" #include "DNAStorage.h" #include <decalEffect.h> TypeHandle DNADoor::_type_handle; DNADoor::DNADoor(const std::string& name): DNAGroup(name), m_code(""), m_color(LVecBase4f(1)) { } DNADoor::~DNADoor() { } void DNADoor::setup_door(NodePath door_np, NodePath parent_np, NodePath door_origin, DNAStorage* store, block_number_t block, LVecBase4f& color) { NodePath left_hole, left_hole_geom, right_hole, right_hole_geom, left_door, right_door, door_flat, door_trigger, store_np; door_np.set_pos_hpr_scale(door_origin, LVecBase3f(0), LVecBase3f(0), LVecBase3f(1)); door_np.set_color(color); left_hole = door_np.find("door_*_hole_left"); left_hole.set_name("doorFrameHoleLeft"); left_hole_geom = left_hole.find("**/+GeomNode"); left_hole_geom.set_name("doorFrameHoleLeftGeom"); right_hole = door_np.find("door_*_hole_right"); right_hole.set_name("doorFrameHoleRight"); right_hole_geom = right_hole.find("**/+GeomNode"); right_hole_geom.set_name("doorFrameHoleRightGeom"); left_door = door_np.find("door_*_left"); left_door.set_name("leftDoor"); right_door = door_np.find("door_*_right"); right_door.set_name("rightDoor"); door_flat = door_np.find("door_*_flat"); door_flat.set_effect(DecalEffect::make()); left_hole.wrt_reparent_to(door_flat, 0); right_hole.wrt_reparent_to(door_flat, 0); if (!left_hole_geom.get_node(0)->is_geom_node()) left_hole_geom = left_hole_geom.find("**/+GeomNode"); if (!right_hole_geom.get_node(0)->is_geom_node()) right_hole_geom = right_hole_geom.find("**/+GeomNode"); left_hole_geom.set_effect(DecalEffect::make()); right_hole_geom.set_effect(DecalEffect::make()); right_door.wrt_reparent_to(parent_np, 0); left_door.wrt_reparent_to(parent_np, 0); right_door.set_color(color, 0); left_door.set_color(color, 0); right_door.hide(); left_door.hide(); left_hole.set_color(LVecBase4f(0, 0, 0, 1), 0); right_hole.set_color(LVecBase4f(0, 0, 0, 1), 0); right_hole.hide(); left_hole.hide(); door_trigger = door_np.find("door_*_trigger"); door_trigger.set_scale(2, 2, 2); door_trigger.wrt_reparent_to(parent_np, 0); std::stringstream ss; ss << "door_trigger_"; ss << block; door_trigger.set_name(ss.str()); store_np = NodePath(ss.str()); store_np.set_pos_hpr_scale(door_trigger, LVecBase3f(0), LVecBase3f(0), LVecBase3f(1)); store->store_block_door(block, store_np); } void DNADoor::make_from_dgi(DatagramIterator& dgi, DNAStorage* store) { DNAGroup::make_from_dgi(dgi, store); m_code = dgi.get_string(); m_color = DGI_EXTRACT_COLOR; } void DNADoor::traverse(NodePath& np, DNAStorage* store) { NodePath front_node = np.find("**/*_front"); if (!front_node.get_node(0)->is_geom_node()) front_node = front_node.find("**/+GeomNode"); front_node.set_effect(DecalEffect::make()); NodePath node = store->find_node(m_code); if (node.is_empty()) { raise_code_not_found(); return; } setup_door(node.copy_to(front_node), np, np.find("**/*door_origin"), store, atoi(store->get_block(np.get_name()).c_str()), m_color); } void DNADoor::write(std::ostream& out, DNAStorage *store, unsigned int nbyte) { indent(out, nbyte); out << "door [\n"; indent(out, nbyte + 1); out << "code [ \"" << m_code << "\" ]\n"; if (m_color != LVecBase4f(1)) { indent(out, nbyte + 1); out << "color [ " << m_color[0] << " " << m_color[1] << " " << m_color[2] << " " << m_color[3] << " ]\n"; } indent(out, nbyte); out << "]\n"; }
[ "theclashingfritz@gmail.com" ]
theclashingfritz@gmail.com
33c888571ee92ce04b5659cda41511df114fb4fc
49590f015af1ba850660c9bfe27c195a3294058b
/include/qml_ros_plugin/action_client.h
07cdafe71f91f6d56c304ae33a17aaee396d8e14
[ "MIT" ]
permissive
StefanFabian/qml_ros_plugin
68f3836efaffadd085c925f69207e2bdcb7a88d1
3b7901512755df000fe1a6cd41fa71d0d156a391
refs/heads/master
2023-07-23T20:12:56.225417
2023-04-25T17:24:46
2023-04-25T17:24:51
177,671,764
27
3
null
null
null
null
UTF-8
C++
false
false
3,087
h
// Copyright (c) 2020 Stefan Fabian. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifndef QML_ROS_PLUGIN_ACTION_CLIENT_H #define QML_ROS_PLUGIN_ACTION_CLIENT_H #include "qml_ros_plugin/node_handle.h" #include "qml_ros_plugin/qobject_ros.h" #include <ros_babel_fish/actionlib/babel_fish_action.h> #include <ros_babel_fish/babel_fish.h> #include <QJSValue> #include <QTimer> namespace qml_ros_plugin { class NodeHandle; class GoalHandle; class ActionClient : public QObjectRos { Q_OBJECT // @formatter:off //! True if the ActionClient is connected to the ActionServer, false otherwise. Q_PROPERTY( bool connected READ isServerConnected NOTIFY connectedChanged ) //! The type of the action. Example: actionlib_tutorials/FibonacciAction Q_PROPERTY( QString actionType READ actionType CONSTANT ) // @formatter:on public: ActionClient( NodeHandle::Ptr nh, const QString &action_type, const QString &name ); Q_INVOKABLE bool isServerConnected() const; QString actionType() const; /*! * Sends a goal to the action server if it is connected. * * @param goal The goal that is sent to the action server. * @param transition_cb A callback that is called on every client state transition. * @param feedback_cb A callback that is called whenever feedback for this goal is received. * @return null if the action server is not connected, otherwise a GoalHandle keeping track of the state of the goal. */ Q_INVOKABLE QObject *sendGoal( const QVariantMap &goal, QJSValue transition_cb = QJSValue(), QJSValue feedback_cb = QJSValue() ); //! Cancels all goals that are currently tracked by this client. Q_INVOKABLE void cancelAllGoals(); //! Cancels all goals that were sent at and before the given ROS time by this client. //! Use Time.now() to obtain the current ROS time which can differ from the actual time. Q_INVOKABLE void cancelGoalsAtAndBeforeTime( const QDateTime &time ); signals: //! Emitted when the connected status changes, e.g., when the client connected to the server. void connectedChanged(); private slots: void checkServerConnected(); void invokeTransitionCallback( QJSValue callback, actionlib::ActionClient<ros_babel_fish::BabelFishAction>::GoalHandle handle ); void invokeFeedbackCallback( QJSValue callback, actionlib::ActionClient<ros_babel_fish::BabelFishAction>::GoalHandle handle, ros_babel_fish::BabelFishMessage::ConstPtr feedback ); private: void onRosInitialized() override; void onRosShutdown() override; ros_babel_fish::BabelFish babel_fish_; NodeHandle::Ptr nh_; QString action_type_; QString name_; std::shared_ptr<actionlib::ActionClient<ros_babel_fish::BabelFishAction>> client_; QTimer connect_timer_; }; } // namespace qml_ros_plugin Q_DECLARE_METATYPE( actionlib::ActionClient<ros_babel_fish::BabelFishAction>::GoalHandle ); Q_DECLARE_METATYPE( ros_babel_fish::BabelFishMessage::ConstPtr ); #endif // QML_ROS_PLUGIN_ACTION_CLIENT_H
[ "fabian@sim.tu-darmstadt.de" ]
fabian@sim.tu-darmstadt.de
edf95a2d6d1dfc8211c8c403bc35197c407962bc
ad1e25f475133225b12b20e34ca8f68e3c29f29c
/Samsung Academy/day4/2824.cpp
3163844ae671b91903e1558d9dbee418594298a1
[]
no_license
ioqoo/PS
7097b167145a84d60b0e0e05d5e859c5db64b300
316619ab6862de8a0e46afcd359c8281f32051a9
refs/heads/master
2020-11-30T12:24:51.210667
2020-11-22T02:14:12
2020-11-22T02:14:12
230,393,259
0
0
null
null
null
null
UTF-8
C++
false
false
1,338
cpp
#include <bits/stdc++.h> #define MAX 40005 #define ll long long #define MOD 1000000000LL using namespace std; bool sieve[MAX]; vector<int> primes; map<ll, ll> Aprimes; map<ll, ll> Bprimes; int N, M; ll A[1005], B[1005]; void decomp(map<ll, ll> &arr, ll n){ ll curr = n; for (auto p: primes){ if (curr % p == 0) { // cout << p << endl; arr[p]++; decomp(arr, curr/p); return; } } if (n != 1LL) arr[n]++; } int main(){ #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); #endif for (int i=2;i<=MAX;i++){ if (!sieve[i]){ sieve[i] = true; primes.push_back(i); for (int j=2;i*j<=MAX;j++){ sieve[i*j] = true; } } } scanf("%d", &N); for (int i=0;i<N;i++){ ll temp; scanf("%lld", &temp); decomp(Aprimes, temp); } scanf("%d", &M); for (int i=0;i<M;i++){ ll temp; scanf("%lld", &temp); decomp(Bprimes, temp); } ll GCD = 1LL; bool ov = false; for (auto iter: Aprimes){ ll curr = iter.first; if (!Bprimes.count(curr)) continue; ll commoncnt = min(Aprimes[curr], Bprimes[curr]); for (int n=0;n<commoncnt;n++){ GCD *= curr; if (GCD > MOD) { GCD %= MOD; ov = true; } } } string answer = to_string(GCD); if (ov){ while(answer.size() < 9){ answer = '0' + answer; } cout << answer; } else cout << answer; return 0; }
[ "59276856+ioqoo@users.noreply.github.com" ]
59276856+ioqoo@users.noreply.github.com
5a95e4d6cbd2c5942ae5f4ee35e526d27a952e25
a2fc06cf458f896d2217592ac92098863e755a9c
/src/ros-pkg/dst/include/dst/surface_normal_node.h
b3872ffb4741ae2bc08dbf5264920017a86f6b3c
[]
no_license
MrBrood/Stanford-Junior-self-driving-car
ba3f2a07a9366d3566def59fd25f90bad55748d2
d999e94bb287933666dac82129cad6702923a8e1
refs/heads/master
2023-07-18T04:56:02.055754
2020-08-21T01:31:46
2020-08-21T01:31:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,001
h
#ifndef SURFACE_NORMAL_NODE_H #define SURFACE_NORMAL_NODE_H #include <pcl/features/integral_image_normal.h> #include <pcl/features/normal_3d.h> #include <pcl/io/pcd_io.h> #include <dst/kdtree_node.h> #include <dst/depth_projector.h> namespace dst { class SurfaceNormalNode : public pipeline2::ComputeNode { public: typedef pcl::PointCloud<pcl::Normal> Normals; pipeline2::Outlet<Normals::Ptr> normals_otl_; SurfaceNormalNode(pipeline2::Outlet<KdTreeNode::Output>* kdtree_otl, pipeline2::Outlet<DepthProjector::Output>* index_otl, double radius = 0.025); protected: pipeline2::Outlet<KdTreeNode::Output>* kdtree_otl_; pipeline2::Outlet<DepthProjector::Output>* index_otl_; double radius_; Normals::Ptr normals_; void normalToColor(const pcl::Normal& normal, cv::Vec3b* color) const; void _compute(); void _display() const; void _flush(); std::string _getName() const; }; } #endif // SURFACE_NORMAL_NODE_H
[ "6959037@qq.com" ]
6959037@qq.com
baeb71dfea9572a40169b8e13a74c038fee6e4fc
105dde9d6451d38d7d68a3b86315c69e4f10a615
/combined_control.ino
987169c3a77d874e01cbc3be4c66bd6c3aa6ed43
[]
no_license
broke-ch/line-follower
2d612621b1111ea5392f4792f513698fe2d2630b
2af976f51c45762f1a1e7ce06f6f053d48394976
refs/heads/main
2023-05-12T02:46:31.157966
2021-06-03T22:05:58
2021-06-03T22:05:58
371,281,097
0
0
null
null
null
null
UTF-8
C++
false
false
6,250
ino
#define F_CPU 16000000UL //16 MHz #include <avr/io.h> #include <avr/delay.h> #include <avr/interrupt.h> #include <stdlib.h> #define TOLERANCE 100 #define BB_BASE 73 #define BB_SLIGHT 68 #define PD_BASE 45 #define KP 7.75 #define KD 1.45 uint16_t pot8; uint16_t pot7; uint16_t pot6; uint16_t pot5; uint16_t pot4; uint16_t pot3; uint16_t pot2; uint16_t pot1; int Base; int Type; int error; int position = 0; int *last_error = 0; double Kp = KP; double Kd = KD; void pwm_init(){ TCCR0A |= (1<<WGM00); TCCR0A |= (1<<WGM01); TCCR0B &= ~(1<<WGM02); TCCR0B |= (1<<CS02); TCCR0B &= ~(1<<CS01); TCCR0B &= ~(1<<CS00); TCCR0A |= (1<<COM0B1); TCCR0A &= ~(1<<COM0B0); TCCR0A |= (1<<COM0A1); TCCR0A &= ~(1<<COM0A0); // motor A uses OCR0A // motor A uses OCR0B //Motor 2 DDRB |= (1<<0); DDRB |= (1<<7); //Motor 1 DDRE |= (1<<6); DDRD |= (1<<0); PORTB |= (1<<0); PORTE |= (1<<6); } void adc_init(){ ADMUX |= (1<<REFS1)|(1<<REFS0)|(1<<ADLAR); //5V ref, left adjusted // enable adc, clock prescaler of 128 ADCSRA |= (1<<ADEN)|(1<<ADPS2)|(1<<ADPS1); ADCSRB = 0; DDRC &= ~((1<<7)|(1<<6)); } void sen_8() { ADMUX = 0b11100000; // ADC0 ADCSRB = 0b00000000; ADCSRA |= (1<<6); // start conversion while(ADCSRA&(1<<ADSC)){} // wait for conversion to complete pot8 = ADCH; } void sen_7() { ADMUX = 0b11100001; // ADC1 ADCSRB = 0b00000000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot7 = ADCH; } void sen_6() { ADMUX = 0b11100100; // ADC4 ADCSRB = 0b00000000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot6 = ADCH; } void sen_5() { ADMUX = 0b11100101; // ADC5 ADCSRB = 0b00000000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot5 = ADCH; } void sen_4() { ADMUX = 0b11100001; // ADC9 ADCSRB = 0b00100000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot4 = ADCH; } void sen_3() { ADMUX = 0b11100000; // ADC8 ADCSRB = 0b00100000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot3 = ADCH; } void sen_2() { ADMUX = 0b11100011; // ADC11 ADCSRB = 0b00100000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot2 = ADCH; } void sen_1() { ADMUX = 0b11100010; // ADC10 ADCSRB = 0b00100000; ADCSRA |= (1<<6); while(ADCSRA&(1<<ADSC)){} pot1 = ADCH; } void read_sensors(){ sen_7(); sen_6(); sen_5(); sen_4(); sen_3(); sen_2(); } uint8_t LHS_W= 0; uint8_t RHS_W = 0; uint8_t threshold = 10; // tolerance uint8_t seen = 0; int lap = 0; void marker_detect(){ sen_1(); sen_2(); if(pot8 < TOLERANCE){ // IF SENSOR 8 SEES LINE INCREMENT LHS_W++; } else if(LHS_W > 0){ LHS_W--; } if(pot1 < TOLERANCE){ // IF SENSOR 8 SEES LINE INCREMENT RHS_W++; } else if(RHS_W > 0){ RHS_W--; } } int RHS_marker = 0; int LHS_marker = 0; void lap_counter(){ if(RHS_W > threshold){ RHS_marker++; } if(RHS_marker > 6){ setMotorSpeeds(0, 0); PORTB &= ~((1<<6)|(1<<5)|(1<<2)|(1<<1)); } if((RHS_marker % 2) == 0){ _delay_ms(2000); } } void setMotorSpeeds(double motorA, double motorB) { OCR0A = 255 * motorA/100; OCR0B = 255 * motorB/100; } int current_position(){ if(pot2 < TOLERANCE && pot3 < TOLERANCE && pot4 < TOLERANCE && pot5 < TOLERANCE && pot6 < TOLERANCE && pot7 < TOLERANCE) {position = 0;} // Straight line case if(pot4 < TOLERANCE && pot5 < TOLERANCE) {position = 0;}// Straight line case if(pot2 < TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position =-5;} if(pot2 < TOLERANCE && pot3 < TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position =-4;} if(pot3 < TOLERANCE && pot2 >= TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position =-3;} if(pot3 < TOLERANCE && pot4 < TOLERANCE && pot2 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position =-2;} if(pot4 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position =-1;} if(pot5 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot6 >= TOLERANCE && pot7 >= TOLERANCE) {position = 1;} if(pot5 < TOLERANCE && pot6 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot7 >= TOLERANCE) {position = 2;} if(pot6 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE && pot7 >= TOLERANCE) {position = 3;} if(pot6 < TOLERANCE && pot7 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE) {position = 4;} if(pot7 < TOLERANCE && pot2 >= TOLERANCE && pot3 >= TOLERANCE && pot4 >= TOLERANCE && pot5 >= TOLERANCE && pot6 >= TOLERANCE) {position = 5;} return position; } void control(double kp, double kd, int *last_error, int base, int type){ int current_pos = current_position(); if(type == 1){ if(pot4 < TOLERANCE && pot5 < TOLERANCE) { // if 4 & 5 see line, go straight setMotorSpeeds(BB_BASE, BB_BASE); } else if(pot4 >= TOLERANCE && pot5 < TOLERANCE){ // if 5 sees the line and 4 does not SLIGHT LEFT setMotorSpeeds(BB_BASE, BB_SLIGHT); } else if(pot4 < TOLERANCE && pot5 >= TOLERANCE){ // if 4 sees line & 5 does not SLIGHT RIGHT setMotorSpeeds(BB_SLIGHT, BB_BASE); } } else{ if( pot7 > TOLERANCE && pot6 > TOLERANCE && pot5 > TOLERANCE && pot4 > TOLERANCE && pot3 > TOLERANCE && pot2 > TOLERANCE ){ // error = *last_error; setMotorSpeeds(0, 0); delay(1000); } else{ error = 0 - current_pos; } int derivative = error - *last_error; int control = (kp * error) + (kd * derivative); setMotorSpeeds(base + control, base - control); *last_error = error; } } void led_init(){ DDRB |= (1<<1)|(1<<2)|(1<<6)|(1<<5); } int main(){ led_init(); adc_init(); pwm_init(); while(1) { marker_detect(); lap_counter(); read_sensors(); if(position == -1 || position == 0 || position == 1){ Type = 1; // TURN ON ALL LEDS PORTB |= (1<<6)|(1<<5)|(1<<2)|(1<<1); } else{ Type = 0; Base = PD_BASE; Kp = KP; // TURN OFF ALL LEDS PORTB &= ~((1<<6)|(1<<5)|(1<<2)|(1<<1)); } control(Kp, Kd, *last_error, Base, Type); } }
[ "71308292+broke-ch@users.noreply.github.com" ]
71308292+broke-ch@users.noreply.github.com
90492fd7459f6202d93e90fa5f943ce9c5da6b3f
ff37607918d230bbf1ae414c26229c22b958c7a9
/Source/MainComponent.cpp
84976cc360aeade35100e5e4c523f011c467d652
[]
no_license
S-HOPEP/HelloWorldWin
19acbccabe24c575334df7ef49439046c4d406fc
f14ac58a12d0122a023ddaf5fa2412f831653fcf
refs/heads/master
2023-06-11T14:57:55.009686
2021-06-29T20:17:31
2021-06-29T20:17:31
381,482,753
0
0
null
null
null
null
UTF-8
C++
false
false
890
cpp
#include "MainComponent.h" //============================================================================== MainComponent::MainComponent() { setSize (600, 400); } MainComponent::~MainComponent() { } //============================================================================== void MainComponent::paint (juce::Graphics& g) { // (Our component is opaque, so we must completely fill the background with a solid colour) g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId)); g.setFont (juce::Font (30.0f)); g.setColour (juce::Colours::yellow); g.drawText ("H E L L O W O R L D U W U", getLocalBounds(), juce::Justification::centred, true); } void MainComponent::resized() { // This is called when the MainComponent is resized. // If you add any child components, this is where you should // update their positions. }
[ "sebastianyairsuanchatorres@gmail.com" ]
sebastianyairsuanchatorres@gmail.com
1d727bbc03a9ba363c2c8e92791b43a9bf40dc0f
d6794736f216e2dc0e8798032e0ffead2fceb874
/models/CNE6SSMSusy/CNE6SSMSusy_two_scale_input_parameters.hpp
cb7e56952387b0a980fc611b8eb80c7b383f799a
[]
no_license
azedarach/CNE6SSM-Spectrum
02f42cd79cece6f23a32f96546415e7630e62b27
6c5468dc359c0e2e37afece3b939d7034d55fd04
refs/heads/master
2021-06-07T08:34:04.063733
2015-10-26T02:47:17
2015-10-26T02:47:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,659
hpp
// ==================================================================== // Specialisation of input parameters for models solved using the // two scale algorithm // ==================================================================== #ifndef CNE6SSMSusy_TWO_SCALE_INPUT_PARAMETERS_H #define CNE6SSMSusy_TWO_SCALE_INPUT_PARAMETERS_H #include "CNE6SSMSusy_input_parameters.hpp" #include <complex> #include <Eigen/Core> namespace flexiblesusy { class Two_scale; template<> struct CNE6SSMSusy_input_parameters<Two_scale> { double TanBeta; double sInput; double TanTheta; double vphiInput; double QSInput; Eigen::Matrix<double,3,2> hEInput; double SigmaLInput; double KappaPrInput; double SigmaxInput; Eigen::Matrix<double,3,3> gDInput; Eigen::Matrix<double,3,3> KappaInput; Eigen::Matrix<double,2,2> Lambda12Input; double LambdaxInput; Eigen::Matrix<double,3,2> fuInput; Eigen::Matrix<double,3,2> fdInput; double MuPrInput; double MuPhiInput; double XiFInput; CNE6SSMSusy_input_parameters() : TanBeta(0), sInput(0), TanTheta(0), vphiInput(0), QSInput(0), hEInput(Eigen::Matrix<double,3,2>::Zero()), SigmaLInput(0), KappaPrInput(0), SigmaxInput(0), gDInput(Eigen::Matrix<double,3,3>::Zero()), KappaInput( Eigen::Matrix<double,3,3>::Zero()), Lambda12Input(Eigen::Matrix<double,2,2> ::Zero()), LambdaxInput(0), fuInput(Eigen::Matrix<double,3,2>::Zero()), fdInput(Eigen::Matrix<double,3,2>::Zero()), MuPrInput(0), MuPhiInput(0), XiFInput(0) {} }; std::ostream& operator<<(std::ostream&, const CNE6SSMSusy_input_parameters<Two_scale>&); } // namespace flexiblesusy #endif
[ "dylan.harries@adelaide.edu.au" ]
dylan.harries@adelaide.edu.au
db64814aa3b69e49cee6214149e3392a3387f436
80bb228892cb17f387e8dff2efdd52d4c155077a
/src/renderer/extensions/native_handler.h
74e27eabcb41761907b7bfa2fb89fa5a91b87c02
[ "MIT" ]
permissive
go-meson/framework
fcda408dbcb9ac1577c5e36e367a43a8f2a6ae86
e52521bca6c7a56e470e99676eed73f992576c44
refs/heads/master
2020-06-11T19:15:23.396681
2017-02-19T23:24:40
2017-02-19T23:24:40
75,629,197
1
0
null
2017-01-18T22:44:25
2016-12-05T13:50:36
C++
UTF-8
C++
false
false
1,507
h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_ #define CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_ #include "base/compiler_specific.h" #include "base/macros.h" #include "v8/include/v8.h" namespace extensions { // NativeHandlers are intended to be used with a ModuleSystem. The ModuleSystem // will assume ownership of the NativeHandler, and as a ModuleSystem is tied to // a single v8::Context, this implies that NativeHandlers will also be tied to // a single v8::Context. // TODO(koz): Rename this to NativeJavaScriptModule. class NativeHandler { public: NativeHandler(); virtual ~NativeHandler(); // Create a new instance of the object this handler specifies. virtual v8::Handle<v8::Object> NewInstance() = 0; // Invalidate this object so it cannot be used any more. This is needed // because it's possible for this to outlive its owner context. Invalidate // must be called before this happens. // // Subclasses should override to invalidate their own V8 state. If they do // they must call their superclass' Invalidate(). virtual void Invalidate(); protected: // Allow subclasses to query valid state. bool is_valid() { return is_valid_; } private: bool is_valid_; DISALLOW_COPY_AND_ASSIGN(NativeHandler); }; } // extensions #endif // CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_
[ "noreply@github.com" ]
go-meson.noreply@github.com