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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23484fe153d25cd401d947c9e718684f1f43c0f8 | fda46067897a0a6f6bd4fc8ca21ee064aff65aef | /TP1/Parque.cpp | ff86b427add31a99667f71493a46148f10038975 | [] | no_license | Raidenkyu/AEDA-TP-solutions | ca39f20e6f630e8c117b9dd216c53eaa51a430c7 | 53a80f76b3b66187426a5b8f82f9c6fd4f556464 | refs/heads/master | 2021-05-08T07:30:45.601742 | 2017-11-21T12:41:21 | 2017-11-21T12:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | cpp | #include "Parque.h"
#include <vector>
using namespace std;
ParqueEstacionamento::ParqueEstacionamento(unsigned int lot, unsigned int nMaxCli): lotacao(lot), numMaximoClientes(nMaxCli), vagas(lot) {
};
unsigned int ParqueEstacionamento::getNumLugares() const{
return this->lotacao;
};
unsigned int ParqueEstacionamento::getNumMaximoClientes() const {
return this->numMaximoClientes;
}
int ParqueEstacionamento::posicaoCliente(const string & nome) const {
for (unsigned int i = 0; i < this->clientes.size(); i++)
{
if(this->clientes[i].nome == nome)
return i;
}
return -1;
};
bool ParqueEstacionamento::adicionaCliente(const string & nome)
{
if(clientes.size() == this->numMaximoClientes)
return false;
for (unsigned int i = 0; i < this->clientes.size(); i++){
if(this->clientes[i].nome == nome)
{
return false;
}
}
InfoCartao c;
c.nome = nome;
c.presente = false;
this->clientes.push_back(c);
return true;
};
bool ParqueEstacionamento::entrar(const string & nome){
if(vagas == 0)
return false;
for (unsigned int i = 0; i < clientes.size(); i++)
{
if(this->clientes[i].nome == nome)
{
if(this->clientes[i].presente)
return false;
else
{
this->clientes[i].presente = true;
vagas--;
return true;
}
}
}
return false;
};
bool ParqueEstacionamento::retiraCliente(const string & nome){
for(unsigned int i =0; i < clientes.size(); i++){
if(this->clientes[i].nome == nome)
{
if(this->clientes[i].presente)
return false;
else {
this->clientes.erase(this->clientes.begin()+i);
return true;
}
}
}
return false;
};
bool ParqueEstacionamento::sair(const string & nome){
for(unsigned int i = 0; i < clientes.size(); i++){
if(this->clientes[i].nome == nome){
if(this->clientes[i].presente){
this->clientes[i].presente = false;
vagas++;
return true;
}
else return false;
}
}
return false;
}
unsigned int ParqueEstacionamento::getNumLugaresOcupados() const{
return (this->lotacao - this->vagas);
}
unsigned int ParqueEstacionamento::getNumClientesAtuais() const{
return this->clientes.size();
}
const ParqueEstacionamento & ParqueEstacionamento::operator += (const
ParqueEstacionamento & p2){
for(unsigned int i = 0; i < p2.getNumClientesAtuais() && this->clientes.size() != this->numMaximoClientes;i++){
this->clientes.push_back(p2.clientes[i]);
}
};
| [
"joao-carlos.14@hotmail.com"
] | joao-carlos.14@hotmail.com |
85517c51434d9f27ff2100d639ad460c577a44c2 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /paifeaturestore/src/model/CreateInstanceResult.cc | 975621821ff84dbc99f2ce1d83586169680ed155 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,537 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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 <alibabacloud/paifeaturestore/model/CreateInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::PaiFeatureStore;
using namespace AlibabaCloud::PaiFeatureStore::Model;
CreateInstanceResult::CreateInstanceResult() :
ServiceResult()
{}
CreateInstanceResult::CreateInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateInstanceResult::~CreateInstanceResult()
{}
void CreateInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
std::string CreateInstanceResult::getInstanceId()const
{
return instanceId_;
}
std::string CreateInstanceResult::getCode()const
{
return code_;
}
| [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
098892b6e0b904d39fb73cf0e0e7db1237ee79bd | fe9795077d87188a1a8d202ff0142b2f1a788f8f | /B_Trainning/SpeechReg_src/SpeechReg/vcmd.h | 9117a6ec829856457d58c4ca44c4167d14df22e8 | [] | no_license | kumbhar-p/backup | 209ebd0ff22ca94890505bcbfc88e4c7f5473705 | 4146a8d41573caa65a8c3227741df39fac3a77a3 | refs/heads/master | 2021-09-16T00:01:21.600606 | 2018-06-13T10:29:46 | 2018-06-13T10:29:46 | 137,190,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | h | /******************************************************************************\
* This code and information is provided "as is" without warranty
* of any kind, either expressed or implied, including but not
* limited to the implied warranties of merchantability and/or
* fitness for a particular purpose.
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
\******************************************************************************/
// Voice Command notifications
class CIVCmdNotifySink : public IVCmdNotifySink {
private:
DWORD m_dwRefCnt;
HWND m_hwnd;
public:
CIVCmdNotifySink(void);
~CIVCmdNotifySink(void);
// IUnkown members that delegate to m_punkOuter
// Non-delegating object IUnknown
STDMETHODIMP QueryInterface (REFIID, LPVOID FAR *);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
// IVCmdNotifySink members
STDMETHODIMP CommandRecognize (DWORD, PVCMDNAME, DWORD, DWORD, PVOID, DWORD, PSTR, PSTR);
STDMETHODIMP CommandOther (PVCMDNAME, PTSTR);
STDMETHODIMP CommandStart (void);
STDMETHODIMP MenuActivate (PVCMDNAME, BOOL);
STDMETHODIMP UtteranceBegin (void);
STDMETHODIMP UtteranceEnd (void);
STDMETHODIMP VUMeter (WORD);
STDMETHODIMP AttribChanged (DWORD);
STDMETHODIMP Interference (DWORD);
};
typedef CIVCmdNotifySink * PCIVCmdNotifySink;
BOOL BeginOLE();
BOOL EndOLE();
| [
"kl.punam@globaledgesoft.com"
] | kl.punam@globaledgesoft.com |
56992785339805d963b585c57ed52b252196864e | a2f6660488fed555d720cc0df72ae2cfd526d0ec | /src/hssh/global_topological/mapping/large_scale_star_utils.h | c5868f2827ad2d24efd8d0b65e8f7ec0126aee5b | [
"MIT"
] | permissive | h2ssh/Vulcan | 91a517fb89dbed8ec8c126ee8165dc2b2142896f | cc46ec79fea43227d578bee39cb4129ad9bb1603 | refs/heads/master | 2022-05-03T02:31:24.433878 | 2019-05-04T17:12:12 | 2019-05-04T17:12:12 | 184,834,960 | 6 | 11 | NOASSERTION | 2022-04-29T02:03:07 | 2019-05-04T00:21:10 | C++ | UTF-8 | C++ | false | false | 780 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be found at "https://github.com/h2ssh/Vulcan".
*/
/**
* \file large_scale_star_utils.h
* \author Collin Johnson
*
* Declaration of utility functions for interpreting LargeScaleStars:
*
* TODO: List functions here
*/
#ifndef HSSH_GLOBAL_TOPOLOGICAL_MAPPING_LARGE_SCALE_STAR_UTILS_H
#define HSSH_GLOBAL_TOPOLOGICAL_MAPPING_LARGE_SCALE_STAR_UTILS_H
namespace vulcan
{
namespace hssh
{
}
}
#endif // HSSH_GLOBAL_TOPOLOGICAL_MAPPING_LARGE_SCALE_STAR_UTILS_H
| [
"collinej@umich.edu"
] | collinej@umich.edu |
620cc8906f3f688cc011a0d9aecf11e1362ee29b | 63168b3cc1a8019583b331ebc8c4ec58c241753c | /ngraph/core/include/openvino/op/deformable_convolution.hpp | 3670ee1a0596263df1bbdc8fc803fe1c851d246f | [
"Apache-2.0"
] | permissive | generalova-kate/openvino | 2e14552ab9b1196fe35af63b5751a96d0138587a | 72fb7d207cb61fd5b9bb630ee8785881cc656b72 | refs/heads/master | 2023-08-09T20:39:03.377258 | 2021-09-07T09:43:33 | 2021-09-07T09:43:33 | 300,206,718 | 0 | 0 | Apache-2.0 | 2020-10-01T08:35:46 | 2020-10-01T08:35:45 | null | UTF-8 | C++ | false | false | 9,479 | hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/op/op.hpp"
#include "openvino/op/util/attr_types.hpp"
#include "openvino/op/util/deformable_convolution_base.hpp"
namespace ov {
namespace op {
namespace v1 {
/// \brief DeformableConvolution operation.
class OPENVINO_API DeformableConvolution : public op::util::DeformableConvolutionBase {
public:
OPENVINO_RTTI_DECLARATION;
/// \brief Constructs a conversion operation.
DeformableConvolution() = default;
/// \brief Constructs a conversion operation.
///
/// \param arg Node that produces the input tensor.
/// \param offsets Node producing the deformable values tensor.
/// \param filters Node producing the filters(kernels) tensor with OIZYX
/// layout.
/// \param strides Convolution strides.
/// \param pads_begin Amount of padding to be added to the beginning along
/// each axis. For example in case of a 2D input the value
/// of (1, 2) means that 1 element will be added to the
/// top and 2 elements to the left.
/// \param pads_end Amount of padding to be added to the end along each
/// axis.
/// \param dilations The distance in width and height between the weights
/// in the filters tensor.
/// \param auto_pad Specifies how the automatic calculation of padding
/// should be done.
/// \param group The number of groups which both output and input
/// should be split into.
/// \param deformable_group The number of groups which deformable values and
/// output should be split into along the channel axis.
DeformableConvolution(const Output<Node>& arg,
const Output<Node>& offsets,
const Output<Node>& filters,
const Strides& strides,
const CoordinateDiff& pads_begin,
const CoordinateDiff& pads_end,
const Strides& dilations,
const PadType& auto_pad = PadType::EXPLICIT,
const int64_t group = 1,
const int64_t deformable_group = 1);
std::shared_ptr<Node> clone_with_new_inputs(const OutputVector& new_args) const override;
};
} // namespace v1
namespace v8 {
class OPENVINO_API DeformableConvolution : public op::util::DeformableConvolutionBase {
public:
OPENVINO_RTTI_DECLARATION;
/// \brief Constructs a conversion operation.
DeformableConvolution() = default;
/// \brief Constructs a conversion operation.
///
/// \param arg Node that produces the input tensor.
/// \param offsets Node producing the deformable values tensor.
/// \param filters Node producing the filters(kernels) tensor with OIZYX
/// layout.
/// \param strides Convolution strides.
/// \param pads_begin Amount of padding to be added to the beginning along
/// each axis. For example in case of a 2D input the value
/// of (1, 2) means that 1 element will be added to the
/// top and 2 elements to the left.
/// \param pads_end Amount of padding to be added to the end along each
/// axis.
/// \param dilations The distance in width and height between the weights
/// in the filters tensor.
/// \param auto_pad Specifies how the automatic calculation of padding
/// should be done.
/// \param group The number of groups which both output and input
/// should be split into.
/// \param deformable_group The number of groups which deformable values and
/// output should be split into along the channel axis.
/// \param bilinear_interpolation_pad
/// The flag that determines the mode of bilinear
/// interpolation execution.
/// If the flag is `true` and the sampling location is
/// within one pixel outside of the feature map boundary,
/// then bilinear interpolation is performed on the zero
/// padded feature map. If the flag is `false` and the
/// sampling location is within one pixel outside of the
/// feature map boundary, then the sampling location
/// shifts to the inner boundary of the feature map.`
DeformableConvolution(const Output<Node>& arg,
const Output<Node>& offsets,
const Output<Node>& filters,
const Strides& strides,
const CoordinateDiff& pads_begin,
const CoordinateDiff& pads_end,
const Strides& dilations,
const PadType& auto_pad = PadType::EXPLICIT,
const int64_t group = 1,
const int64_t deformable_group = 1,
const bool bilinear_interpolation_pad = false);
/// \brief Constructs a conversion operation.
///
/// \param arg Node that produces the input tensor.
/// \param offsets Node producing the deformable values tensor.
/// \param filters Node producing the filters(kernels) tensor with OIZYX
/// layout.
/// \param mask Node producing the mask(mask) tensor.
/// \param strides Convolution strides.
/// \param pads_begin Amount of padding to be added to the beginning along
/// each axis. For example in case of a 2D input the value
/// of (1, 2) means that 1 element will be added to the
/// top and 2 elements to the left.
/// \param pads_end Amount of padding to be added to the end along each
/// axis.
/// \param dilations The distance in width and height between the weights
/// in the filters tensor.
/// \param auto_pad Specifies how the automatic calculation of padding
/// should be done.
/// \param group The number of groups which both output and input
/// should be split into.
/// \param deformable_group The number of groups which deformable values and
/// output should be split into along the channel axis.
/// \param bilinear_interpolation_pad
/// The flag that determines the mode of bilinear
/// interpolation execution.
/// If the flag is `true` and the sampling location is
/// within one pixel outside of the feature map boundary,
/// then bilinear interpolation is performed on the zero
/// padded feature map. If the flag is `false` and the
/// sampling location is within one pixel outside of the
/// feature map boundary, then the sampling location
/// shifts to the inner boundary of the feature map.
DeformableConvolution(const Output<Node>& arg,
const Output<Node>& offsets,
const Output<Node>& filters,
const Output<Node>& mask,
const Strides& strides,
const CoordinateDiff& pads_begin,
const CoordinateDiff& pads_end,
const Strides& dilations,
const PadType& auto_pad = PadType::EXPLICIT,
const int64_t group = 1,
const int64_t deformable_group = 1,
const bool bilinear_interpolation_pad = false);
bool visit_attributes(AttributeVisitor& visitor) override;
void validate_and_infer_types() override;
bool evaluate(const HostTensorVector& outputs, const HostTensorVector& inputs) const override;
bool has_evaluate() const override;
std::shared_ptr<Node> clone_with_new_inputs(const OutputVector& new_args) const override;
bool get_bilinear_interpolation_pad() const {
return m_bilinear_interpolation_pad;
}
void set_bilinear_interpolation_pad(const bool bilinear_interpolation_pad) {
m_bilinear_interpolation_pad = bilinear_interpolation_pad;
}
private:
bool m_bilinear_interpolation_pad;
};
} // namespace v8
} // namespace op
} // namespace ov
| [
"noreply@github.com"
] | generalova-kate.noreply@github.com |
a854352a875953d7d73fc6cf0a9fe6a7d9e1c490 | ec70b2fc804bc2c783c06332b0356ef106d2c059 | /往年测试/排序/t1.cpp | dd1f363762720f5a26aa629fafb67df0ca183d47 | [] | no_license | StuGRua/ReDS | bd105b5c438045c9c24b45f3bc30b536c6282d6f | 66dc0f5531c7d1744d15a3adface6777af83b94a | refs/heads/master | 2023-02-08T21:53:03.331860 | 2020-12-21T09:52:25 | 2020-12-21T09:52:25 | 300,611,537 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | /*5.1 插入排序
b. 折半插入排序
void BinaryInsertionSort(T Data[], int n)
*/
#include <iostream>
using namespace std;
/*
TODO:折半插入排序,使得排序后Data中的数据按递增排序
*/
template <class T>
void BinaryInsertionSort(T Data[], int n) //参数:待排序数据和待排序元
//素个数
{
int left,mid,right,p;
for( p = 1; p < n; p++)
{
T temp = Data[p];
left = 0,right = p-1;
while(left <= right)
{
mid = (left + right) / 2;
if( Data[mid] > temp )
right = mid -1;
else
left = mid + 1;
}
for( int i = p-1; i >= left; i--)
Data[i+1] = Data[i];
Data[left] = temp;
}
}
int main()
{
int n, num;
cin >> n;
int* a = new int[n];
for (int i = 0; i < n; i++) {
cin >> num;
a[i] = num;
}
BinaryInsertionSort<int>(a, n); //a为待排序的数组,10为数组的大小
for (int i = 0; i < n; i++) {
cout << a[i] << " ";
}
} | [
"Stu6@users.noreply.github.com"
] | Stu6@users.noreply.github.com |
ec67e0d3e00409fe3a0598f184e67bd6af7b5762 | c9ea4b7d00be3092b91bf157026117bf2c7a77d7 | /D动态规划初步/多维DP初步/P1508.cpp | 434f4fea14e3a7b50c910e149171e5c61bfb0d8a | [] | no_license | Jerry-Terrasse/Programming | dc39db2259c028d45c58304e8f29b2116eef4bfd | a59a23259d34a14e38a7d4c8c4d6c2b87a91574c | refs/heads/master | 2020-04-12T08:31:48.429416 | 2019-04-20T00:32:55 | 2019-04-20T00:32:55 | 162,387,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | //P1508 Likecloud-吃、吃、吃
#include<iostream>
#include "memory.h"
#define MAXN 220
using namespace std;
int f[MAXN][MAXN],a[MAXN][MAXN],n=0,m=0,ans=0x80808080;
inline void max(int&,const int&);
int main()
{
register int i=0,j=0;
ios::sync_with_stdio(false);cin.tie(0);
memset(f,0xc0,sizeof(f));
cin>>n>>m;
for(i=1;i<=n;++i)
{
for(j=1;j<=m;++j)
{
cin>>a[i][j];
}
}
f[n][m+1>>1]=a[n][m+1>>1];
f[n][(m+1>>1)-1]=a[n][(m+1>>1)-1];
f[n][(m+1>>1)+1]=a[n][(m+1>>1)+1];
//cout<<(m+1>>1)<<endl;
for(i=n-1;i;--i)
{
for(j=1;j<=m;++j)
{
max(f[i][j],f[i+1][j-1]+a[i][j]);
max(f[i][j],f[i+1][j]+a[i][j]);
max(f[i][j],f[i+1][j+1]+a[i][j]);
}
}
for(i=1;i<=m;++i)
{
max(ans,f[1][i]);
}
cout<<ans<<endl;
/*for(i=1;i<=n;++i)
{
for(j=1;j<=m;++j)
{
cout<<f[i][j]<<' ';
}
cout<<endl;
}*/
return 0;
}
inline void max(int &x,const int &y)
{
if(x<y)
{
x=y;
}
return;
}
| [
"3305049949@qq.com"
] | 3305049949@qq.com |
074b92c19e2d6195605aaf9ef902a6e64bb322dd | eda03521b87da8bdbef6339b5b252472a5be8d23 | /Kernel/Arch/aarch64/Firmware/ACPI/StaticParsing.cpp | ba0d9bc13e8facac35d1bd725f2b890246e8ae5d | [
"BSD-2-Clause"
] | permissive | SerenityOS/serenity | 6ba3ffb242ed76c9f335bd2c3b9a928329cd7d98 | ef9b6c25fafcf4ef0b44a562ee07f6412aeb8561 | refs/heads/master | 2023-09-01T13:04:30.262106 | 2023-09-01T08:06:28 | 2023-09-01T10:45:38 | 160,083,795 | 27,256 | 3,929 | BSD-2-Clause | 2023-09-14T21:00:04 | 2018-12-02T19:28:41 | C++ | UTF-8 | C++ | false | false | 380 | cpp | /*
* Copyright (c) 2023, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Firmware/ACPI/StaticParsing.h>
namespace Kernel::ACPI::StaticParsing {
ErrorOr<Optional<PhysicalAddress>> find_rsdp_in_platform_specific_memory_locations()
{
// FIXME: Implement finding RSDP for aarch64.
return Optional<PhysicalAddress> {};
}
}
| [
"jelle@gmta.nl"
] | jelle@gmta.nl |
3d676acb24bc3c62d4a13f860f09b37a3a19774b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_log_128.cpp | b519b491f231f56d15090118ed39771db7194cb3 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | fputs(str, stream); | [
"993273596@qq.com"
] | 993273596@qq.com |
14f06ca6b31a28910a1eb9ee748148069a75da5e | d002ed401cba924074e021d22347b84334a02b0f | /export/windows/obj/src/lime/ui/_ScanCode/ScanCode_Impl_.cpp | e42473bb120803aeb6d252dcb9ca723f0d8662d8 | [] | no_license | IADenner/LD47 | 63f6beda87424ba7e0e129848ee190c1eb1da54d | 340856f1d77983da0e7f331b467609c45587f5d1 | refs/heads/master | 2022-12-29T13:01:46.789276 | 2020-10-05T22:04:42 | 2020-10-05T22:04:42 | 301,550,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 131,260 | cpp | // Generated by Haxe 4.1.2
#include <hxcpp.h>
#ifndef INCLUDED_lime_ui__KeyCode_KeyCode_Impl_
#include <lime/ui/_KeyCode/KeyCode_Impl_.h>
#endif
#ifndef INCLUDED_lime_ui__ScanCode_ScanCode_Impl_
#include <lime/ui/_ScanCode/ScanCode_Impl_.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_248_fromKeyCode,"lime.ui._ScanCode.ScanCode_Impl_","fromKeyCode",0xe007b4c4,"lime.ui._ScanCode.ScanCode_Impl_.fromKeyCode","lime/ui/ScanCode.hx",248,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_253_toKeyCode,"lime.ui._ScanCode.ScanCode_Impl_","toKeyCode",0x23453c53,"lime.ui._ScanCode.ScanCode_Impl_.toKeyCode","lime/ui/ScanCode.hx",253,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_258_gt,"lime.ui._ScanCode.ScanCode_Impl_","gt",0x80ff87cb,"lime.ui._ScanCode.ScanCode_Impl_.gt","lime/ui/ScanCode.hx",258,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_263_gte,"lime.ui._ScanCode.ScanCode_Impl_","gte",0x5e974a3a,"lime.ui._ScanCode.ScanCode_Impl_.gte","lime/ui/ScanCode.hx",263,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_268_lt,"lime.ui._ScanCode.ScanCode_Impl_","lt",0x80ff8c26,"lime.ui._ScanCode.ScanCode_Impl_.lt","lime/ui/ScanCode.hx",268,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_273_lte,"lime.ui._ScanCode.ScanCode_Impl_","lte",0x5e9b157f,"lime.ui._ScanCode.ScanCode_Impl_.lte","lime/ui/ScanCode.hx",273,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_278_plus,"lime.ui._ScanCode.ScanCode_Impl_","plus",0x6bb69078,"lime.ui._ScanCode.ScanCode_Impl_.plus","lime/ui/ScanCode.hx",278,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_9_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",9,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_10_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",10,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_11_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",11,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_12_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",12,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_13_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",13,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_14_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",14,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_21_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",21,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_26_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",26,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_27_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",27,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_28_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",28,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_29_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",29,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_30_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",30,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_31_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",31,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_32_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",32,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_33_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",33,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_34_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",34,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_35_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",35,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_36_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",36,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_37_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",37,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_38_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",38,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_39_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",39,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_41_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",41,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_43_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",43,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_47_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",47,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_48_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",48,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_49_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",49,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_52_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",52,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_53_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",53,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_54_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",54,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_55_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",55,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_56_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",56,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_57_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",57,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_58_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",58,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_59_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",59,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_60_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",60,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_61_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",61,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_62_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",62,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_63_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",63,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_64_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",64,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_65_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",65,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_66_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",66,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_67_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",67,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_68_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",68,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_69_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",69,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_70_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",70,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_71_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",71,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_72_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",72,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_73_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",73,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_74_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",74,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_75_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",75,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_76_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",76,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_77_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",77,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_78_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",78,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_79_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",79,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_80_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",80,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_81_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",81,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_82_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",82,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_83_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",83,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_84_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",84,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_85_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",85,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_86_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",86,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_87_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",87,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_88_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",88,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_89_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",89,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_90_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",90,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_91_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",91,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_92_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",92,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_93_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",93,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_94_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",94,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_95_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",95,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_96_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",96,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_97_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",97,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_98_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",98,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_99_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",99,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_100_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",100,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_101_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",101,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_102_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",102,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_103_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",103,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_104_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",104,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_105_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",105,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_106_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",106,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_107_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",107,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_108_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",108,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_109_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",109,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_110_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",110,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_111_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",111,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_112_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",112,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_113_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",113,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_114_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",114,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_115_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",115,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_116_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",116,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_117_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",117,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_118_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",118,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_119_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",119,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_120_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",120,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_121_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",121,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_122_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",122,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_123_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",123,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_124_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",124,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_125_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",125,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_126_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",126,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_127_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",127,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_128_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",128,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_129_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",129,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_130_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",130,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_131_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",131,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_132_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",132,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_133_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",133,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_134_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",134,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_135_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",135,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_136_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",136,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_137_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",137,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_138_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",138,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_139_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",139,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_140_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",140,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_141_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",141,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_142_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",142,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_143_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",143,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_144_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",144,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_145_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",145,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_146_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",146,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_147_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",147,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_148_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",148,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_149_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",149,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_150_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",150,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_151_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",151,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_153_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",153,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_154_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",154,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_155_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",155,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_156_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",156,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_157_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",157,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_158_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",158,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_159_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",159,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_160_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",160,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_161_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",161,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_162_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",162,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_163_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",163,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_164_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",164,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_165_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",165,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_166_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",166,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_167_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",167,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_168_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",168,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_169_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",169,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_170_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",170,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_171_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",171,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_172_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",172,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_173_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",173,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_174_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",174,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_175_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",175,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_176_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",176,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_177_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",177,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_178_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",178,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_179_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",179,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_180_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",180,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_181_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",181,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_182_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",182,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_183_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",183,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_184_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",184,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_185_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",185,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_186_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",186,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_187_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",187,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_188_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",188,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_189_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",189,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_190_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",190,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_191_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",191,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_192_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",192,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_193_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",193,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_194_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",194,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_195_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",195,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_196_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",196,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_197_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",197,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_198_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",198,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_199_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",199,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_200_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",200,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_201_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",201,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_202_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",202,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_203_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",203,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_204_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",204,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_205_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",205,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_206_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",206,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_207_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",207,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_208_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",208,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_209_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",209,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_210_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",210,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_211_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",211,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_212_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",212,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_213_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",213,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_214_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",214,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_215_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",215,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_216_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",216,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_217_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",217,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_218_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",218,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_219_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",219,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_220_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",220,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_221_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",221,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_222_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",222,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_223_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",223,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_224_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",224,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_225_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",225,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_226_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",226,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_227_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",227,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_228_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",228,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_229_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",229,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_230_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",230,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_231_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",231,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_232_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",232,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_233_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",233,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_234_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",234,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_235_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",235,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_236_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",236,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_237_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",237,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_238_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",238,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_239_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",239,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_240_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",240,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_241_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",241,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_242_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",242,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_243_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",243,0xc6961913)
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_244_boot,"lime.ui._ScanCode.ScanCode_Impl_","boot",0x6277d550,"lime.ui._ScanCode.ScanCode_Impl_.boot","lime/ui/ScanCode.hx",244,0xc6961913)
namespace lime{
namespace ui{
namespace _ScanCode{
void ScanCode_Impl__obj::__construct() { }
Dynamic ScanCode_Impl__obj::__CreateEmpty() { return new ScanCode_Impl__obj; }
void *ScanCode_Impl__obj::_hx_vtable = 0;
Dynamic ScanCode_Impl__obj::__Create(::hx::DynamicArray inArgs)
{
::hx::ObjectPtr< ScanCode_Impl__obj > _hx_result = new ScanCode_Impl__obj();
_hx_result->__construct();
return _hx_result;
}
bool ScanCode_Impl__obj::_hx_isInstanceOf(int inClassId) {
return inClassId==(int)0x00000001 || inClassId==(int)0x1e00e9c2;
}
int ScanCode_Impl__obj::UNKNOWN;
int ScanCode_Impl__obj::BACKSPACE;
int ScanCode_Impl__obj::TAB;
int ScanCode_Impl__obj::RETURN;
int ScanCode_Impl__obj::ESCAPE;
int ScanCode_Impl__obj::SPACE;
int ScanCode_Impl__obj::SINGLE_QUOTE;
int ScanCode_Impl__obj::COMMA;
int ScanCode_Impl__obj::MINUS;
int ScanCode_Impl__obj::PERIOD;
int ScanCode_Impl__obj::SLASH;
int ScanCode_Impl__obj::NUMBER_0;
int ScanCode_Impl__obj::NUMBER_1;
int ScanCode_Impl__obj::NUMBER_2;
int ScanCode_Impl__obj::NUMBER_3;
int ScanCode_Impl__obj::NUMBER_4;
int ScanCode_Impl__obj::NUMBER_5;
int ScanCode_Impl__obj::NUMBER_6;
int ScanCode_Impl__obj::NUMBER_7;
int ScanCode_Impl__obj::NUMBER_8;
int ScanCode_Impl__obj::NUMBER_9;
int ScanCode_Impl__obj::SEMICOLON;
int ScanCode_Impl__obj::EQUALS;
int ScanCode_Impl__obj::LEFT_BRACKET;
int ScanCode_Impl__obj::BACKSLASH;
int ScanCode_Impl__obj::RIGHT_BRACKET;
int ScanCode_Impl__obj::GRAVE;
int ScanCode_Impl__obj::A;
int ScanCode_Impl__obj::B;
int ScanCode_Impl__obj::C;
int ScanCode_Impl__obj::D;
int ScanCode_Impl__obj::E;
int ScanCode_Impl__obj::F;
int ScanCode_Impl__obj::G;
int ScanCode_Impl__obj::H;
int ScanCode_Impl__obj::I;
int ScanCode_Impl__obj::J;
int ScanCode_Impl__obj::K;
int ScanCode_Impl__obj::L;
int ScanCode_Impl__obj::M;
int ScanCode_Impl__obj::N;
int ScanCode_Impl__obj::O;
int ScanCode_Impl__obj::P;
int ScanCode_Impl__obj::Q;
int ScanCode_Impl__obj::R;
int ScanCode_Impl__obj::S;
int ScanCode_Impl__obj::T;
int ScanCode_Impl__obj::U;
int ScanCode_Impl__obj::V;
int ScanCode_Impl__obj::W;
int ScanCode_Impl__obj::X;
int ScanCode_Impl__obj::Y;
int ScanCode_Impl__obj::Z;
int ScanCode_Impl__obj::DELETE;
int ScanCode_Impl__obj::CAPS_LOCK;
int ScanCode_Impl__obj::F1;
int ScanCode_Impl__obj::F2;
int ScanCode_Impl__obj::F3;
int ScanCode_Impl__obj::F4;
int ScanCode_Impl__obj::F5;
int ScanCode_Impl__obj::F6;
int ScanCode_Impl__obj::F7;
int ScanCode_Impl__obj::F8;
int ScanCode_Impl__obj::F9;
int ScanCode_Impl__obj::F10;
int ScanCode_Impl__obj::F11;
int ScanCode_Impl__obj::F12;
int ScanCode_Impl__obj::PRINT_SCREEN;
int ScanCode_Impl__obj::SCROLL_LOCK;
int ScanCode_Impl__obj::PAUSE;
int ScanCode_Impl__obj::INSERT;
int ScanCode_Impl__obj::HOME;
int ScanCode_Impl__obj::PAGE_UP;
int ScanCode_Impl__obj::END;
int ScanCode_Impl__obj::PAGE_DOWN;
int ScanCode_Impl__obj::RIGHT;
int ScanCode_Impl__obj::LEFT;
int ScanCode_Impl__obj::DOWN;
int ScanCode_Impl__obj::UP;
int ScanCode_Impl__obj::NUM_LOCK;
int ScanCode_Impl__obj::NUMPAD_DIVIDE;
int ScanCode_Impl__obj::NUMPAD_MULTIPLY;
int ScanCode_Impl__obj::NUMPAD_MINUS;
int ScanCode_Impl__obj::NUMPAD_PLUS;
int ScanCode_Impl__obj::NUMPAD_ENTER;
int ScanCode_Impl__obj::NUMPAD_1;
int ScanCode_Impl__obj::NUMPAD_2;
int ScanCode_Impl__obj::NUMPAD_3;
int ScanCode_Impl__obj::NUMPAD_4;
int ScanCode_Impl__obj::NUMPAD_5;
int ScanCode_Impl__obj::NUMPAD_6;
int ScanCode_Impl__obj::NUMPAD_7;
int ScanCode_Impl__obj::NUMPAD_8;
int ScanCode_Impl__obj::NUMPAD_9;
int ScanCode_Impl__obj::NUMPAD_0;
int ScanCode_Impl__obj::NUMPAD_PERIOD;
int ScanCode_Impl__obj::APPLICATION;
int ScanCode_Impl__obj::POWER;
int ScanCode_Impl__obj::NUMPAD_EQUALS;
int ScanCode_Impl__obj::F13;
int ScanCode_Impl__obj::F14;
int ScanCode_Impl__obj::F15;
int ScanCode_Impl__obj::F16;
int ScanCode_Impl__obj::F17;
int ScanCode_Impl__obj::F18;
int ScanCode_Impl__obj::F19;
int ScanCode_Impl__obj::F20;
int ScanCode_Impl__obj::F21;
int ScanCode_Impl__obj::F22;
int ScanCode_Impl__obj::F23;
int ScanCode_Impl__obj::F24;
int ScanCode_Impl__obj::EXECUTE;
int ScanCode_Impl__obj::HELP;
int ScanCode_Impl__obj::MENU;
int ScanCode_Impl__obj::SELECT;
int ScanCode_Impl__obj::STOP;
int ScanCode_Impl__obj::AGAIN;
int ScanCode_Impl__obj::UNDO;
int ScanCode_Impl__obj::CUT;
int ScanCode_Impl__obj::COPY;
int ScanCode_Impl__obj::PASTE;
int ScanCode_Impl__obj::FIND;
int ScanCode_Impl__obj::MUTE;
int ScanCode_Impl__obj::VOLUME_UP;
int ScanCode_Impl__obj::VOLUME_DOWN;
int ScanCode_Impl__obj::NUMPAD_COMMA;
int ScanCode_Impl__obj::ALT_ERASE;
int ScanCode_Impl__obj::SYSTEM_REQUEST;
int ScanCode_Impl__obj::CANCEL;
int ScanCode_Impl__obj::CLEAR;
int ScanCode_Impl__obj::PRIOR;
int ScanCode_Impl__obj::RETURN2;
int ScanCode_Impl__obj::SEPARATOR;
int ScanCode_Impl__obj::OUT;
int ScanCode_Impl__obj::OPER;
int ScanCode_Impl__obj::CLEAR_AGAIN;
int ScanCode_Impl__obj::CRSEL;
int ScanCode_Impl__obj::EXSEL;
int ScanCode_Impl__obj::NUMPAD_00;
int ScanCode_Impl__obj::NUMPAD_000;
int ScanCode_Impl__obj::THOUSAND_SEPARATOR;
int ScanCode_Impl__obj::DECIMAL_SEPARATOR;
int ScanCode_Impl__obj::CURRENCY_UNIT;
int ScanCode_Impl__obj::CURRENCY_SUBUNIT;
int ScanCode_Impl__obj::NUMPAD_LEFT_PARENTHESIS;
int ScanCode_Impl__obj::NUMPAD_RIGHT_PARENTHESIS;
int ScanCode_Impl__obj::NUMPAD_LEFT_BRACE;
int ScanCode_Impl__obj::NUMPAD_RIGHT_BRACE;
int ScanCode_Impl__obj::NUMPAD_TAB;
int ScanCode_Impl__obj::NUMPAD_BACKSPACE;
int ScanCode_Impl__obj::NUMPAD_A;
int ScanCode_Impl__obj::NUMPAD_B;
int ScanCode_Impl__obj::NUMPAD_C;
int ScanCode_Impl__obj::NUMPAD_D;
int ScanCode_Impl__obj::NUMPAD_E;
int ScanCode_Impl__obj::NUMPAD_F;
int ScanCode_Impl__obj::NUMPAD_XOR;
int ScanCode_Impl__obj::NUMPAD_POWER;
int ScanCode_Impl__obj::NUMPAD_PERCENT;
int ScanCode_Impl__obj::NUMPAD_LESS_THAN;
int ScanCode_Impl__obj::NUMPAD_GREATER_THAN;
int ScanCode_Impl__obj::NUMPAD_AMPERSAND;
int ScanCode_Impl__obj::NUMPAD_DOUBLE_AMPERSAND;
int ScanCode_Impl__obj::NUMPAD_VERTICAL_BAR;
int ScanCode_Impl__obj::NUMPAD_DOUBLE_VERTICAL_BAR;
int ScanCode_Impl__obj::NUMPAD_COLON;
int ScanCode_Impl__obj::NUMPAD_HASH;
int ScanCode_Impl__obj::NUMPAD_SPACE;
int ScanCode_Impl__obj::NUMPAD_AT;
int ScanCode_Impl__obj::NUMPAD_EXCLAMATION;
int ScanCode_Impl__obj::NUMPAD_MEM_STORE;
int ScanCode_Impl__obj::NUMPAD_MEM_RECALL;
int ScanCode_Impl__obj::NUMPAD_MEM_CLEAR;
int ScanCode_Impl__obj::NUMPAD_MEM_ADD;
int ScanCode_Impl__obj::NUMPAD_MEM_SUBTRACT;
int ScanCode_Impl__obj::NUMPAD_MEM_MULTIPLY;
int ScanCode_Impl__obj::NUMPAD_MEM_DIVIDE;
int ScanCode_Impl__obj::NUMPAD_PLUS_MINUS;
int ScanCode_Impl__obj::NUMPAD_CLEAR;
int ScanCode_Impl__obj::NUMPAD_CLEAR_ENTRY;
int ScanCode_Impl__obj::NUMPAD_BINARY;
int ScanCode_Impl__obj::NUMPAD_OCTAL;
int ScanCode_Impl__obj::NUMPAD_DECIMAL;
int ScanCode_Impl__obj::NUMPAD_HEXADECIMAL;
int ScanCode_Impl__obj::LEFT_CTRL;
int ScanCode_Impl__obj::LEFT_SHIFT;
int ScanCode_Impl__obj::LEFT_ALT;
int ScanCode_Impl__obj::LEFT_META;
int ScanCode_Impl__obj::RIGHT_CTRL;
int ScanCode_Impl__obj::RIGHT_SHIFT;
int ScanCode_Impl__obj::RIGHT_ALT;
int ScanCode_Impl__obj::RIGHT_META;
int ScanCode_Impl__obj::MODE;
int ScanCode_Impl__obj::AUDIO_NEXT;
int ScanCode_Impl__obj::AUDIO_PREVIOUS;
int ScanCode_Impl__obj::AUDIO_STOP;
int ScanCode_Impl__obj::AUDIO_PLAY;
int ScanCode_Impl__obj::AUDIO_MUTE;
int ScanCode_Impl__obj::MEDIA_SELECT;
int ScanCode_Impl__obj::WWW;
int ScanCode_Impl__obj::MAIL;
int ScanCode_Impl__obj::CALCULATOR;
int ScanCode_Impl__obj::COMPUTER;
int ScanCode_Impl__obj::APP_CONTROL_SEARCH;
int ScanCode_Impl__obj::APP_CONTROL_HOME;
int ScanCode_Impl__obj::APP_CONTROL_BACK;
int ScanCode_Impl__obj::APP_CONTROL_FORWARD;
int ScanCode_Impl__obj::APP_CONTROL_STOP;
int ScanCode_Impl__obj::APP_CONTROL_REFRESH;
int ScanCode_Impl__obj::APP_CONTROL_BOOKMARKS;
int ScanCode_Impl__obj::BRIGHTNESS_DOWN;
int ScanCode_Impl__obj::BRIGHTNESS_UP;
int ScanCode_Impl__obj::DISPLAY_SWITCH;
int ScanCode_Impl__obj::BACKLIGHT_TOGGLE;
int ScanCode_Impl__obj::BACKLIGHT_DOWN;
int ScanCode_Impl__obj::BACKLIGHT_UP;
int ScanCode_Impl__obj::EJECT;
int ScanCode_Impl__obj::SLEEP;
int ScanCode_Impl__obj::fromKeyCode(int keyCode){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_248_fromKeyCode)
HXDLIN( 248) return ::lime::ui::_KeyCode::KeyCode_Impl__obj::toScanCode(keyCode);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(ScanCode_Impl__obj,fromKeyCode,return )
int ScanCode_Impl__obj::toKeyCode(int scanCode){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_253_toKeyCode)
HXDLIN( 253) return ::lime::ui::_KeyCode::KeyCode_Impl__obj::fromScanCode(scanCode);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(ScanCode_Impl__obj,toKeyCode,return )
bool ScanCode_Impl__obj::gt(int a,int b){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_258_gt)
HXDLIN( 258) return (a > b);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(ScanCode_Impl__obj,gt,return )
bool ScanCode_Impl__obj::gte(int a,int b){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_263_gte)
HXDLIN( 263) return (a >= b);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(ScanCode_Impl__obj,gte,return )
bool ScanCode_Impl__obj::lt(int a,int b){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_268_lt)
HXDLIN( 268) return (a < b);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(ScanCode_Impl__obj,lt,return )
bool ScanCode_Impl__obj::lte(int a,int b){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_273_lte)
HXDLIN( 273) return (a <= b);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(ScanCode_Impl__obj,lte,return )
int ScanCode_Impl__obj::plus(int a,int b){
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_278_plus)
HXDLIN( 278) return (a + b);
}
STATIC_HX_DEFINE_DYNAMIC_FUNC2(ScanCode_Impl__obj,plus,return )
ScanCode_Impl__obj::ScanCode_Impl__obj()
{
}
bool ScanCode_Impl__obj::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 2:
if (HX_FIELD_EQ(inName,"gt") ) { outValue = gt_dyn(); return true; }
if (HX_FIELD_EQ(inName,"lt") ) { outValue = lt_dyn(); return true; }
break;
case 3:
if (HX_FIELD_EQ(inName,"gte") ) { outValue = gte_dyn(); return true; }
if (HX_FIELD_EQ(inName,"lte") ) { outValue = lte_dyn(); return true; }
break;
case 4:
if (HX_FIELD_EQ(inName,"plus") ) { outValue = plus_dyn(); return true; }
break;
case 9:
if (HX_FIELD_EQ(inName,"toKeyCode") ) { outValue = toKeyCode_dyn(); return true; }
break;
case 11:
if (HX_FIELD_EQ(inName,"fromKeyCode") ) { outValue = fromKeyCode_dyn(); return true; }
}
return false;
}
#ifdef HXCPP_SCRIPTABLE
static ::hx::StorageInfo *ScanCode_Impl__obj_sMemberStorageInfo = 0;
static ::hx::StaticInfo ScanCode_Impl__obj_sStaticStorageInfo[] = {
{::hx::fsInt,(void *) &ScanCode_Impl__obj::UNKNOWN,HX_("UNKNOWN",6a,f7,4e,61)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BACKSPACE,HX_("BACKSPACE",1f,f5,42,c6)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::TAB,HX_("TAB",35,f6,3f,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RETURN,HX_("RETURN",b0,50,b0,bb)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::ESCAPE,HX_("ESCAPE",81,ef,5c,8d)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SPACE,HX_("SPACE",a6,c4,54,ff)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SINGLE_QUOTE,HX_("SINGLE_QUOTE",e5,4a,2c,30)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::COMMA,HX_("COMMA",b5,69,4b,c8)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MINUS,HX_("MINUS",50,b8,56,86)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PERIOD,HX_("PERIOD",01,0d,9e,ed)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SLASH,HX_("SLASH",1d,f8,af,fc)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_0,HX_("NUMBER_0",fa,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_1,HX_("NUMBER_1",fb,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_2,HX_("NUMBER_2",fc,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_3,HX_("NUMBER_3",fd,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_4,HX_("NUMBER_4",fe,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_5,HX_("NUMBER_5",ff,89,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_6,HX_("NUMBER_6",00,8a,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_7,HX_("NUMBER_7",01,8a,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_8,HX_("NUMBER_8",02,8a,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMBER_9,HX_("NUMBER_9",03,8a,c6,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SEMICOLON,HX_("SEMICOLON",11,86,2a,49)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::EQUALS,HX_("EQUALS",3f,9a,75,72)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT_BRACKET,HX_("LEFT_BRACKET",90,62,6d,61)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BACKSLASH,HX_("BACKSLASH",96,28,9e,c3)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT_BRACKET,HX_("RIGHT_BRACKET",45,13,29,76)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::GRAVE,HX_("GRAVE",65,4c,d8,17)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::A,HX_("A",41,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::B,HX_("B",42,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::C,HX_("C",43,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::D,HX_("D",44,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::E,HX_("E",45,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F,HX_("F",46,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::G,HX_("G",47,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::H,HX_("H",48,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::I,HX_("I",49,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::J,HX_("J",4a,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::K,HX_("K",4b,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::L,HX_("L",4c,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::M,HX_("M",4d,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::N,HX_("N",4e,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::O,HX_("O",4f,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::P,HX_("P",50,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::Q,HX_("Q",51,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::R,HX_("R",52,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::S,HX_("S",53,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::T,HX_("T",54,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::U,HX_("U",55,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::V,HX_("V",56,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::W,HX_("W",57,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::X,HX_("X",58,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::Y,HX_("Y",59,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::Z,HX_("Z",5a,00,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::DELETE,HX_("DELETE",2b,6c,5b,1d)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CAPS_LOCK,HX_("CAPS_LOCK",09,04,db,ce)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F1,HX_("F1",2b,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F2,HX_("F2",2c,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F3,HX_("F3",2d,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F4,HX_("F4",2e,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F5,HX_("F5",2f,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F6,HX_("F6",30,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F7,HX_("F7",31,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F8,HX_("F8",32,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F9,HX_("F9",33,3d,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F10,HX_("F10",a5,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F11,HX_("F11",a6,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F12,HX_("F12",a7,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PRINT_SCREEN,HX_("PRINT_SCREEN",9e,34,bf,1a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SCROLL_LOCK,HX_("SCROLL_LOCK",9d,2c,87,f4)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PAUSE,HX_("PAUSE",d6,0e,46,3b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::INSERT,HX_("INSERT",39,ef,5f,50)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::HOME,HX_("HOME",1f,92,d3,2f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PAGE_UP,HX_("PAGE_UP",8b,d9,3e,0b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::END,HX_("END",bb,9f,34,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PAGE_DOWN,HX_("PAGE_DOWN",92,7b,93,70)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT,HX_("RIGHT",bc,43,52,67)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT,HX_("LEFT",07,d0,70,32)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::DOWN,HX_("DOWN",62,c0,2e,2d)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::UP,HX_("UP",5b,4a,00,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUM_LOCK,HX_("NUM_LOCK",e4,7b,03,eb)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_DIVIDE,HX_("NUMPAD_DIVIDE",eb,41,1f,90)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MULTIPLY,HX_("NUMPAD_MULTIPLY",16,d9,d8,96)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MINUS,HX_("NUMPAD_MINUS",1e,66,c4,a7)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_PLUS,HX_("NUMPAD_PLUS",4c,8d,42,16)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_ENTER,HX_("NUMPAD_ENTER",c6,52,e2,0f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_1,HX_("NUMPAD_1",ff,2e,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_2,HX_("NUMPAD_2",00,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_3,HX_("NUMPAD_3",01,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_4,HX_("NUMPAD_4",02,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_5,HX_("NUMPAD_5",03,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_6,HX_("NUMPAD_6",04,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_7,HX_("NUMPAD_7",05,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_8,HX_("NUMPAD_8",06,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_9,HX_("NUMPAD_9",07,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_0,HX_("NUMPAD_0",fe,2e,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_PERIOD,HX_("NUMPAD_PERIOD",73,73,28,0c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APPLICATION,HX_("APPLICATION",30,b7,7a,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::POWER,HX_("POWER",e5,83,88,44)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_EQUALS,HX_("NUMPAD_EQUALS",b1,00,00,91)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F13,HX_("F13",a8,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F14,HX_("F14",a9,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F15,HX_("F15",aa,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F16,HX_("F16",ab,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F17,HX_("F17",ac,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F18,HX_("F18",ad,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F19,HX_("F19",ae,48,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F20,HX_("F20",84,49,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F21,HX_("F21",85,49,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F22,HX_("F22",86,49,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F23,HX_("F23",87,49,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::F24,HX_("F24",88,49,35,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::EXECUTE,HX_("EXECUTE",15,de,e0,4b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::HELP,HX_("HELP",c1,fa,cb,2f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MENU,HX_("MENU",9f,0d,1a,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SELECT,HX_("SELECT",fc,c6,b5,1c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::STOP,HX_("STOP",02,b8,1c,37)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AGAIN,HX_("AGAIN",40,6d,2b,9c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::UNDO,HX_("UNDO",24,8e,6a,38)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CUT,HX_("CUT",62,21,33,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::COPY,HX_("COPY",b5,83,85,2c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PASTE,HX_("PASTE",33,8b,44,3b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::FIND,HX_("FIND",39,98,7c,2e)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MUTE,HX_("MUTE",d9,36,26,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::VOLUME_UP,HX_("VOLUME_UP",e0,2e,1e,5c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::VOLUME_DOWN,HX_("VOLUME_DOWN",27,90,f2,37)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_COMMA,HX_("NUMPAD_COMMA",83,17,b9,e9)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::ALT_ERASE,HX_("ALT_ERASE",d0,e9,42,1c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SYSTEM_REQUEST,HX_("SYSTEM_REQUEST",9f,56,e9,3c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CANCEL,HX_("CANCEL",7a,99,b6,6a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CLEAR,HX_("CLEAR",6d,a9,49,c6)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::PRIOR,HX_("PRIOR",ea,90,79,46)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RETURN2,HX_("RETURN2",82,49,96,7e)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SEPARATOR,HX_("SEPARATOR",45,d0,d7,2c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::OUT,HX_("OUT",6e,3c,3c,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::OPER,HX_("OPER",ce,cb,74,34)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CLEAR_AGAIN,HX_("CLEAR_AGAIN",ae,ad,24,1b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CRSEL,HX_("CRSEL",2b,94,4b,ca)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::EXSEL,HX_("EXSEL",e7,04,10,f5)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_00,HX_("NUMPAD_00",72,ef,15,5c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_000,HX_("NUMPAD_000",7e,94,1b,37)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::THOUSAND_SEPARATOR,HX_("THOUSAND_SEPARATOR",64,42,ba,6c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::DECIMAL_SEPARATOR,HX_("DECIMAL_SEPARATOR",b7,2b,09,71)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CURRENCY_UNIT,HX_("CURRENCY_UNIT",72,f1,d5,a0)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CURRENCY_SUBUNIT,HX_("CURRENCY_SUBUNIT",b6,31,7c,dc)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_LEFT_PARENTHESIS,HX_("NUMPAD_LEFT_PARENTHESIS",30,24,17,38)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_RIGHT_PARENTHESIS,HX_("NUMPAD_RIGHT_PARENTHESIS",41,55,c2,59)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_LEFT_BRACE,HX_("NUMPAD_LEFT_BRACE",4d,33,25,1b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_RIGHT_BRACE,HX_("NUMPAD_RIGHT_BRACE",9e,51,1b,74)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_TAB,HX_("NUMPAD_TAB",83,f4,36,37)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_BACKSPACE,HX_("NUMPAD_BACKSPACE",ed,a1,16,91)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_A,HX_("NUMPAD_A",0f,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_B,HX_("NUMPAD_B",10,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_C,HX_("NUMPAD_C",11,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_D,HX_("NUMPAD_D",12,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_E,HX_("NUMPAD_E",13,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_F,HX_("NUMPAD_F",14,2f,b3,40)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_XOR,HX_("NUMPAD_XOR",c9,09,3a,37)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_POWER,HX_("NUMPAD_POWER",b3,31,f6,65)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_PERCENT,HX_("NUMPAD_PERCENT",f3,bb,3d,93)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_LESS_THAN,HX_("NUMPAD_LESS_THAN",15,f2,f9,6a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_GREATER_THAN,HX_("NUMPAD_GREATER_THAN",18,70,85,48)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_AMPERSAND,HX_("NUMPAD_AMPERSAND",e3,88,8a,91)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_DOUBLE_AMPERSAND,HX_("NUMPAD_DOUBLE_AMPERSAND",19,b7,90,55)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_VERTICAL_BAR,HX_("NUMPAD_VERTICAL_BAR",1c,1a,61,85)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_DOUBLE_VERTICAL_BAR,HX_("NUMPAD_DOUBLE_VERTICAL_BAR",a6,31,9d,14)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_COLON,HX_("NUMPAD_COLON",0d,57,b8,e9)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_HASH,HX_("NUMPAD_HASH",c0,7d,f0,10)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_SPACE,HX_("NUMPAD_SPACE",74,72,c2,20)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_AT,HX_("NUMPAD_AT",65,fe,15,5c)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_EXCLAMATION,HX_("NUMPAD_EXCLAMATION",1b,b0,9e,eb)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_STORE,HX_("NUMPAD_MEM_STORE",85,4f,e9,27)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_RECALL,HX_("NUMPAD_MEM_RECALL",8d,c5,e2,b2)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_CLEAR,HX_("NUMPAD_MEM_CLEAR",31,ad,2e,ec)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_ADD,HX_("NUMPAD_MEM_ADD",c5,58,fb,47)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_SUBTRACT,HX_("NUMPAD_MEM_SUBTRACT",d0,b3,03,a6)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_MULTIPLY,HX_("NUMPAD_MEM_MULTIPLY",e0,20,7f,48)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_MEM_DIVIDE,HX_("NUMPAD_MEM_DIVIDE",35,23,13,74)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_PLUS_MINUS,HX_("NUMPAD_PLUS_MINUS",dd,8d,c7,60)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_CLEAR,HX_("NUMPAD_CLEAR",3b,57,b7,e7)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_CLEAR_ENTRY,HX_("NUMPAD_CLEAR_ENTRY",0e,ed,20,56)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_BINARY,HX_("NUMPAD_BINARY",73,ce,18,be)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_OCTAL,HX_("NUMPAD_OCTAL",79,c3,9e,ca)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_DECIMAL,HX_("NUMPAD_DECIMAL",bf,c5,36,01)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::NUMPAD_HEXADECIMAL,HX_("NUMPAD_HEXADECIMAL",59,10,c6,6a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT_CTRL,HX_("LEFT_CTRL",23,23,b7,de)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT_SHIFT,HX_("LEFT_SHIFT",ea,7a,fb,2f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT_ALT,HX_("LEFT_ALT",91,b9,e3,c9)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::LEFT_META,HX_("LEFT_META",3d,e5,47,e5)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT_CTRL,HX_("RIGHT_CTRL",4e,1f,4d,c3)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT_SHIFT,HX_("RIGHT_SHIFT",5f,24,a2,4e)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT_ALT,HX_("RIGHT_ALT",c6,ab,81,cf)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::RIGHT_META,HX_("RIGHT_META",68,e1,dd,c9)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MODE,HX_("MODE",63,9b,21,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AUDIO_NEXT,HX_("AUDIO_NEXT",5c,64,1b,67)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AUDIO_PREVIOUS,HX_("AUDIO_PREVIOUS",20,cc,f8,e8)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AUDIO_STOP,HX_("AUDIO_STOP",6b,cf,74,6a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AUDIO_PLAY,HX_("AUDIO_PLAY",5d,0d,73,68)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::AUDIO_MUTE,HX_("AUDIO_MUTE",42,4e,7e,66)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MEDIA_SELECT,HX_("MEDIA_SELECT",57,7c,21,ce)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::WWW,HX_("WWW",37,50,42,00)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::MAIL,HX_("MAIL",37,00,17,33)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::CALCULATOR,HX_("CALCULATOR",02,a1,e1,a9)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::COMPUTER,HX_("COMPUTER",1b,d1,4b,df)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_SEARCH,HX_("APP_CONTROL_SEARCH",a8,98,55,1a)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_HOME,HX_("APP_CONTROL_HOME",5f,0f,65,0f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_BACK,HX_("APP_CONTROL_BACK",67,1f,63,0b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_FORWARD,HX_("APP_CONTROL_FORWARD",65,00,a7,a0)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_STOP,HX_("APP_CONTROL_STOP",42,35,ae,16)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_REFRESH,HX_("APP_CONTROL_REFRESH",7b,f8,fc,a7)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::APP_CONTROL_BOOKMARKS,HX_("APP_CONTROL_BOOKMARKS",9d,7d,82,a1)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BRIGHTNESS_DOWN,HX_("BRIGHTNESS_DOWN",d0,a4,d7,76)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BRIGHTNESS_UP,HX_("BRIGHTNESS_UP",49,97,09,7b)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::DISPLAY_SWITCH,HX_("DISPLAY_SWITCH",b1,f1,e3,9e)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BACKLIGHT_TOGGLE,HX_("BACKLIGHT_TOGGLE",e4,97,a8,f2)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BACKLIGHT_DOWN,HX_("BACKLIGHT_DOWN",b2,38,06,1f)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::BACKLIGHT_UP,HX_("BACKLIGHT_UP",ab,0e,a2,b2)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::EJECT,HX_("EJECT",f1,66,c4,eb)},
{::hx::fsInt,(void *) &ScanCode_Impl__obj::SLEEP,HX_("SLEEP",f7,f4,b2,fc)},
{ ::hx::fsUnknown, 0, null()}
};
#endif
static void ScanCode_Impl__obj_sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::UNKNOWN,"UNKNOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BACKSPACE,"BACKSPACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::TAB,"TAB");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RETURN,"RETURN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::ESCAPE,"ESCAPE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SPACE,"SPACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SINGLE_QUOTE,"SINGLE_QUOTE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::COMMA,"COMMA");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MINUS,"MINUS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PERIOD,"PERIOD");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SLASH,"SLASH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_0,"NUMBER_0");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_1,"NUMBER_1");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_2,"NUMBER_2");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_3,"NUMBER_3");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_4,"NUMBER_4");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_5,"NUMBER_5");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_6,"NUMBER_6");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_7,"NUMBER_7");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_8,"NUMBER_8");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_9,"NUMBER_9");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SEMICOLON,"SEMICOLON");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::EQUALS,"EQUALS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT_BRACKET,"LEFT_BRACKET");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BACKSLASH,"BACKSLASH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_BRACKET,"RIGHT_BRACKET");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::GRAVE,"GRAVE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::A,"A");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::B,"B");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::C,"C");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::D,"D");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::E,"E");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F,"F");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::G,"G");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::H,"H");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::I,"I");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::J,"J");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::K,"K");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::L,"L");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::M,"M");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::N,"N");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::O,"O");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::P,"P");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::Q,"Q");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::R,"R");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::S,"S");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::T,"T");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::U,"U");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::V,"V");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::W,"W");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::X,"X");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::Y,"Y");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::Z,"Z");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::DELETE,"DELETE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CAPS_LOCK,"CAPS_LOCK");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F1,"F1");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F2,"F2");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F3,"F3");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F4,"F4");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F5,"F5");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F6,"F6");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F7,"F7");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F8,"F8");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F9,"F9");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F10,"F10");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F11,"F11");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F12,"F12");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PRINT_SCREEN,"PRINT_SCREEN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SCROLL_LOCK,"SCROLL_LOCK");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PAUSE,"PAUSE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::INSERT,"INSERT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::HOME,"HOME");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PAGE_UP,"PAGE_UP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::END,"END");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PAGE_DOWN,"PAGE_DOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT,"RIGHT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT,"LEFT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::DOWN,"DOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::UP,"UP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUM_LOCK,"NUM_LOCK");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DIVIDE,"NUMPAD_DIVIDE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MULTIPLY,"NUMPAD_MULTIPLY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MINUS,"NUMPAD_MINUS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PLUS,"NUMPAD_PLUS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_ENTER,"NUMPAD_ENTER");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_1,"NUMPAD_1");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_2,"NUMPAD_2");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_3,"NUMPAD_3");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_4,"NUMPAD_4");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_5,"NUMPAD_5");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_6,"NUMPAD_6");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_7,"NUMPAD_7");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_8,"NUMPAD_8");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_9,"NUMPAD_9");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_0,"NUMPAD_0");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PERIOD,"NUMPAD_PERIOD");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APPLICATION,"APPLICATION");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::POWER,"POWER");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_EQUALS,"NUMPAD_EQUALS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F13,"F13");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F14,"F14");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F15,"F15");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F16,"F16");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F17,"F17");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F18,"F18");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F19,"F19");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F20,"F20");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F21,"F21");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F22,"F22");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F23,"F23");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::F24,"F24");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::EXECUTE,"EXECUTE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::HELP,"HELP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MENU,"MENU");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SELECT,"SELECT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::STOP,"STOP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AGAIN,"AGAIN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::UNDO,"UNDO");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CUT,"CUT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::COPY,"COPY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PASTE,"PASTE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::FIND,"FIND");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MUTE,"MUTE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::VOLUME_UP,"VOLUME_UP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::VOLUME_DOWN,"VOLUME_DOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_COMMA,"NUMPAD_COMMA");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::ALT_ERASE,"ALT_ERASE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SYSTEM_REQUEST,"SYSTEM_REQUEST");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CANCEL,"CANCEL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CLEAR,"CLEAR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::PRIOR,"PRIOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RETURN2,"RETURN2");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SEPARATOR,"SEPARATOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::OUT,"OUT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::OPER,"OPER");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CLEAR_AGAIN,"CLEAR_AGAIN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CRSEL,"CRSEL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::EXSEL,"EXSEL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_00,"NUMPAD_00");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_000,"NUMPAD_000");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::THOUSAND_SEPARATOR,"THOUSAND_SEPARATOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::DECIMAL_SEPARATOR,"DECIMAL_SEPARATOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CURRENCY_UNIT,"CURRENCY_UNIT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CURRENCY_SUBUNIT,"CURRENCY_SUBUNIT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LEFT_PARENTHESIS,"NUMPAD_LEFT_PARENTHESIS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_RIGHT_PARENTHESIS,"NUMPAD_RIGHT_PARENTHESIS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LEFT_BRACE,"NUMPAD_LEFT_BRACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_RIGHT_BRACE,"NUMPAD_RIGHT_BRACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_TAB,"NUMPAD_TAB");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_BACKSPACE,"NUMPAD_BACKSPACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_A,"NUMPAD_A");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_B,"NUMPAD_B");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_C,"NUMPAD_C");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_D,"NUMPAD_D");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_E,"NUMPAD_E");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_F,"NUMPAD_F");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_XOR,"NUMPAD_XOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_POWER,"NUMPAD_POWER");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PERCENT,"NUMPAD_PERCENT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LESS_THAN,"NUMPAD_LESS_THAN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_GREATER_THAN,"NUMPAD_GREATER_THAN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_AMPERSAND,"NUMPAD_AMPERSAND");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DOUBLE_AMPERSAND,"NUMPAD_DOUBLE_AMPERSAND");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_VERTICAL_BAR,"NUMPAD_VERTICAL_BAR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DOUBLE_VERTICAL_BAR,"NUMPAD_DOUBLE_VERTICAL_BAR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_COLON,"NUMPAD_COLON");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_HASH,"NUMPAD_HASH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_SPACE,"NUMPAD_SPACE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_AT,"NUMPAD_AT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_EXCLAMATION,"NUMPAD_EXCLAMATION");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_STORE,"NUMPAD_MEM_STORE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_RECALL,"NUMPAD_MEM_RECALL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_CLEAR,"NUMPAD_MEM_CLEAR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_ADD,"NUMPAD_MEM_ADD");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_SUBTRACT,"NUMPAD_MEM_SUBTRACT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_MULTIPLY,"NUMPAD_MEM_MULTIPLY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_DIVIDE,"NUMPAD_MEM_DIVIDE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PLUS_MINUS,"NUMPAD_PLUS_MINUS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_CLEAR,"NUMPAD_CLEAR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_CLEAR_ENTRY,"NUMPAD_CLEAR_ENTRY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_BINARY,"NUMPAD_BINARY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_OCTAL,"NUMPAD_OCTAL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DECIMAL,"NUMPAD_DECIMAL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_HEXADECIMAL,"NUMPAD_HEXADECIMAL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT_CTRL,"LEFT_CTRL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT_SHIFT,"LEFT_SHIFT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT_ALT,"LEFT_ALT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::LEFT_META,"LEFT_META");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_CTRL,"RIGHT_CTRL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_SHIFT,"RIGHT_SHIFT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_ALT,"RIGHT_ALT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_META,"RIGHT_META");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MODE,"MODE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_NEXT,"AUDIO_NEXT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_PREVIOUS,"AUDIO_PREVIOUS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_STOP,"AUDIO_STOP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_PLAY,"AUDIO_PLAY");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_MUTE,"AUDIO_MUTE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MEDIA_SELECT,"MEDIA_SELECT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::WWW,"WWW");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::MAIL,"MAIL");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::CALCULATOR,"CALCULATOR");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::COMPUTER,"COMPUTER");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_SEARCH,"APP_CONTROL_SEARCH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_HOME,"APP_CONTROL_HOME");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_BACK,"APP_CONTROL_BACK");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_FORWARD,"APP_CONTROL_FORWARD");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_STOP,"APP_CONTROL_STOP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_REFRESH,"APP_CONTROL_REFRESH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_BOOKMARKS,"APP_CONTROL_BOOKMARKS");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BRIGHTNESS_DOWN,"BRIGHTNESS_DOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BRIGHTNESS_UP,"BRIGHTNESS_UP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::DISPLAY_SWITCH,"DISPLAY_SWITCH");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_TOGGLE,"BACKLIGHT_TOGGLE");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_DOWN,"BACKLIGHT_DOWN");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_UP,"BACKLIGHT_UP");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::EJECT,"EJECT");
HX_MARK_MEMBER_NAME(ScanCode_Impl__obj::SLEEP,"SLEEP");
};
#ifdef HXCPP_VISIT_ALLOCS
static void ScanCode_Impl__obj_sVisitStatics(HX_VISIT_PARAMS) {
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::UNKNOWN,"UNKNOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BACKSPACE,"BACKSPACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::TAB,"TAB");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RETURN,"RETURN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::ESCAPE,"ESCAPE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SPACE,"SPACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SINGLE_QUOTE,"SINGLE_QUOTE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::COMMA,"COMMA");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MINUS,"MINUS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PERIOD,"PERIOD");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SLASH,"SLASH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_0,"NUMBER_0");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_1,"NUMBER_1");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_2,"NUMBER_2");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_3,"NUMBER_3");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_4,"NUMBER_4");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_5,"NUMBER_5");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_6,"NUMBER_6");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_7,"NUMBER_7");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_8,"NUMBER_8");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMBER_9,"NUMBER_9");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SEMICOLON,"SEMICOLON");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::EQUALS,"EQUALS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT_BRACKET,"LEFT_BRACKET");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BACKSLASH,"BACKSLASH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_BRACKET,"RIGHT_BRACKET");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::GRAVE,"GRAVE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::A,"A");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::B,"B");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::C,"C");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::D,"D");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::E,"E");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F,"F");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::G,"G");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::H,"H");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::I,"I");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::J,"J");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::K,"K");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::L,"L");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::M,"M");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::N,"N");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::O,"O");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::P,"P");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::Q,"Q");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::R,"R");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::S,"S");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::T,"T");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::U,"U");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::V,"V");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::W,"W");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::X,"X");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::Y,"Y");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::Z,"Z");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::DELETE,"DELETE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CAPS_LOCK,"CAPS_LOCK");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F1,"F1");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F2,"F2");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F3,"F3");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F4,"F4");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F5,"F5");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F6,"F6");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F7,"F7");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F8,"F8");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F9,"F9");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F10,"F10");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F11,"F11");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F12,"F12");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PRINT_SCREEN,"PRINT_SCREEN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SCROLL_LOCK,"SCROLL_LOCK");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PAUSE,"PAUSE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::INSERT,"INSERT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::HOME,"HOME");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PAGE_UP,"PAGE_UP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::END,"END");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PAGE_DOWN,"PAGE_DOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT,"RIGHT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT,"LEFT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::DOWN,"DOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::UP,"UP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUM_LOCK,"NUM_LOCK");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DIVIDE,"NUMPAD_DIVIDE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MULTIPLY,"NUMPAD_MULTIPLY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MINUS,"NUMPAD_MINUS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PLUS,"NUMPAD_PLUS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_ENTER,"NUMPAD_ENTER");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_1,"NUMPAD_1");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_2,"NUMPAD_2");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_3,"NUMPAD_3");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_4,"NUMPAD_4");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_5,"NUMPAD_5");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_6,"NUMPAD_6");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_7,"NUMPAD_7");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_8,"NUMPAD_8");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_9,"NUMPAD_9");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_0,"NUMPAD_0");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PERIOD,"NUMPAD_PERIOD");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APPLICATION,"APPLICATION");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::POWER,"POWER");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_EQUALS,"NUMPAD_EQUALS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F13,"F13");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F14,"F14");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F15,"F15");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F16,"F16");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F17,"F17");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F18,"F18");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F19,"F19");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F20,"F20");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F21,"F21");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F22,"F22");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F23,"F23");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::F24,"F24");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::EXECUTE,"EXECUTE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::HELP,"HELP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MENU,"MENU");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SELECT,"SELECT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::STOP,"STOP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AGAIN,"AGAIN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::UNDO,"UNDO");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CUT,"CUT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::COPY,"COPY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PASTE,"PASTE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::FIND,"FIND");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MUTE,"MUTE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::VOLUME_UP,"VOLUME_UP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::VOLUME_DOWN,"VOLUME_DOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_COMMA,"NUMPAD_COMMA");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::ALT_ERASE,"ALT_ERASE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SYSTEM_REQUEST,"SYSTEM_REQUEST");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CANCEL,"CANCEL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CLEAR,"CLEAR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::PRIOR,"PRIOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RETURN2,"RETURN2");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SEPARATOR,"SEPARATOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::OUT,"OUT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::OPER,"OPER");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CLEAR_AGAIN,"CLEAR_AGAIN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CRSEL,"CRSEL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::EXSEL,"EXSEL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_00,"NUMPAD_00");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_000,"NUMPAD_000");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::THOUSAND_SEPARATOR,"THOUSAND_SEPARATOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::DECIMAL_SEPARATOR,"DECIMAL_SEPARATOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CURRENCY_UNIT,"CURRENCY_UNIT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CURRENCY_SUBUNIT,"CURRENCY_SUBUNIT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LEFT_PARENTHESIS,"NUMPAD_LEFT_PARENTHESIS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_RIGHT_PARENTHESIS,"NUMPAD_RIGHT_PARENTHESIS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LEFT_BRACE,"NUMPAD_LEFT_BRACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_RIGHT_BRACE,"NUMPAD_RIGHT_BRACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_TAB,"NUMPAD_TAB");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_BACKSPACE,"NUMPAD_BACKSPACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_A,"NUMPAD_A");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_B,"NUMPAD_B");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_C,"NUMPAD_C");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_D,"NUMPAD_D");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_E,"NUMPAD_E");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_F,"NUMPAD_F");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_XOR,"NUMPAD_XOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_POWER,"NUMPAD_POWER");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PERCENT,"NUMPAD_PERCENT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_LESS_THAN,"NUMPAD_LESS_THAN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_GREATER_THAN,"NUMPAD_GREATER_THAN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_AMPERSAND,"NUMPAD_AMPERSAND");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DOUBLE_AMPERSAND,"NUMPAD_DOUBLE_AMPERSAND");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_VERTICAL_BAR,"NUMPAD_VERTICAL_BAR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DOUBLE_VERTICAL_BAR,"NUMPAD_DOUBLE_VERTICAL_BAR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_COLON,"NUMPAD_COLON");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_HASH,"NUMPAD_HASH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_SPACE,"NUMPAD_SPACE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_AT,"NUMPAD_AT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_EXCLAMATION,"NUMPAD_EXCLAMATION");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_STORE,"NUMPAD_MEM_STORE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_RECALL,"NUMPAD_MEM_RECALL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_CLEAR,"NUMPAD_MEM_CLEAR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_ADD,"NUMPAD_MEM_ADD");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_SUBTRACT,"NUMPAD_MEM_SUBTRACT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_MULTIPLY,"NUMPAD_MEM_MULTIPLY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_MEM_DIVIDE,"NUMPAD_MEM_DIVIDE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_PLUS_MINUS,"NUMPAD_PLUS_MINUS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_CLEAR,"NUMPAD_CLEAR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_CLEAR_ENTRY,"NUMPAD_CLEAR_ENTRY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_BINARY,"NUMPAD_BINARY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_OCTAL,"NUMPAD_OCTAL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_DECIMAL,"NUMPAD_DECIMAL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::NUMPAD_HEXADECIMAL,"NUMPAD_HEXADECIMAL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT_CTRL,"LEFT_CTRL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT_SHIFT,"LEFT_SHIFT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT_ALT,"LEFT_ALT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::LEFT_META,"LEFT_META");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_CTRL,"RIGHT_CTRL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_SHIFT,"RIGHT_SHIFT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_ALT,"RIGHT_ALT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::RIGHT_META,"RIGHT_META");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MODE,"MODE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_NEXT,"AUDIO_NEXT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_PREVIOUS,"AUDIO_PREVIOUS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_STOP,"AUDIO_STOP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_PLAY,"AUDIO_PLAY");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::AUDIO_MUTE,"AUDIO_MUTE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MEDIA_SELECT,"MEDIA_SELECT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::WWW,"WWW");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::MAIL,"MAIL");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::CALCULATOR,"CALCULATOR");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::COMPUTER,"COMPUTER");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_SEARCH,"APP_CONTROL_SEARCH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_HOME,"APP_CONTROL_HOME");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_BACK,"APP_CONTROL_BACK");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_FORWARD,"APP_CONTROL_FORWARD");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_STOP,"APP_CONTROL_STOP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_REFRESH,"APP_CONTROL_REFRESH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::APP_CONTROL_BOOKMARKS,"APP_CONTROL_BOOKMARKS");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BRIGHTNESS_DOWN,"BRIGHTNESS_DOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BRIGHTNESS_UP,"BRIGHTNESS_UP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::DISPLAY_SWITCH,"DISPLAY_SWITCH");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_TOGGLE,"BACKLIGHT_TOGGLE");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_DOWN,"BACKLIGHT_DOWN");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::BACKLIGHT_UP,"BACKLIGHT_UP");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::EJECT,"EJECT");
HX_VISIT_MEMBER_NAME(ScanCode_Impl__obj::SLEEP,"SLEEP");
};
#endif
::hx::Class ScanCode_Impl__obj::__mClass;
static ::String ScanCode_Impl__obj_sStaticFields[] = {
HX_("UNKNOWN",6a,f7,4e,61),
HX_("BACKSPACE",1f,f5,42,c6),
HX_("TAB",35,f6,3f,00),
HX_("RETURN",b0,50,b0,bb),
HX_("ESCAPE",81,ef,5c,8d),
HX_("SPACE",a6,c4,54,ff),
HX_("SINGLE_QUOTE",e5,4a,2c,30),
HX_("COMMA",b5,69,4b,c8),
HX_("MINUS",50,b8,56,86),
HX_("PERIOD",01,0d,9e,ed),
HX_("SLASH",1d,f8,af,fc),
HX_("NUMBER_0",fa,89,c6,33),
HX_("NUMBER_1",fb,89,c6,33),
HX_("NUMBER_2",fc,89,c6,33),
HX_("NUMBER_3",fd,89,c6,33),
HX_("NUMBER_4",fe,89,c6,33),
HX_("NUMBER_5",ff,89,c6,33),
HX_("NUMBER_6",00,8a,c6,33),
HX_("NUMBER_7",01,8a,c6,33),
HX_("NUMBER_8",02,8a,c6,33),
HX_("NUMBER_9",03,8a,c6,33),
HX_("SEMICOLON",11,86,2a,49),
HX_("EQUALS",3f,9a,75,72),
HX_("LEFT_BRACKET",90,62,6d,61),
HX_("BACKSLASH",96,28,9e,c3),
HX_("RIGHT_BRACKET",45,13,29,76),
HX_("GRAVE",65,4c,d8,17),
HX_("A",41,00,00,00),
HX_("B",42,00,00,00),
HX_("C",43,00,00,00),
HX_("D",44,00,00,00),
HX_("E",45,00,00,00),
HX_("F",46,00,00,00),
HX_("G",47,00,00,00),
HX_("H",48,00,00,00),
HX_("I",49,00,00,00),
HX_("J",4a,00,00,00),
HX_("K",4b,00,00,00),
HX_("L",4c,00,00,00),
HX_("M",4d,00,00,00),
HX_("N",4e,00,00,00),
HX_("O",4f,00,00,00),
HX_("P",50,00,00,00),
HX_("Q",51,00,00,00),
HX_("R",52,00,00,00),
HX_("S",53,00,00,00),
HX_("T",54,00,00,00),
HX_("U",55,00,00,00),
HX_("V",56,00,00,00),
HX_("W",57,00,00,00),
HX_("X",58,00,00,00),
HX_("Y",59,00,00,00),
HX_("Z",5a,00,00,00),
HX_("DELETE",2b,6c,5b,1d),
HX_("CAPS_LOCK",09,04,db,ce),
HX_("F1",2b,3d,00,00),
HX_("F2",2c,3d,00,00),
HX_("F3",2d,3d,00,00),
HX_("F4",2e,3d,00,00),
HX_("F5",2f,3d,00,00),
HX_("F6",30,3d,00,00),
HX_("F7",31,3d,00,00),
HX_("F8",32,3d,00,00),
HX_("F9",33,3d,00,00),
HX_("F10",a5,48,35,00),
HX_("F11",a6,48,35,00),
HX_("F12",a7,48,35,00),
HX_("PRINT_SCREEN",9e,34,bf,1a),
HX_("SCROLL_LOCK",9d,2c,87,f4),
HX_("PAUSE",d6,0e,46,3b),
HX_("INSERT",39,ef,5f,50),
HX_("HOME",1f,92,d3,2f),
HX_("PAGE_UP",8b,d9,3e,0b),
HX_("END",bb,9f,34,00),
HX_("PAGE_DOWN",92,7b,93,70),
HX_("RIGHT",bc,43,52,67),
HX_("LEFT",07,d0,70,32),
HX_("DOWN",62,c0,2e,2d),
HX_("UP",5b,4a,00,00),
HX_("NUM_LOCK",e4,7b,03,eb),
HX_("NUMPAD_DIVIDE",eb,41,1f,90),
HX_("NUMPAD_MULTIPLY",16,d9,d8,96),
HX_("NUMPAD_MINUS",1e,66,c4,a7),
HX_("NUMPAD_PLUS",4c,8d,42,16),
HX_("NUMPAD_ENTER",c6,52,e2,0f),
HX_("NUMPAD_1",ff,2e,b3,40),
HX_("NUMPAD_2",00,2f,b3,40),
HX_("NUMPAD_3",01,2f,b3,40),
HX_("NUMPAD_4",02,2f,b3,40),
HX_("NUMPAD_5",03,2f,b3,40),
HX_("NUMPAD_6",04,2f,b3,40),
HX_("NUMPAD_7",05,2f,b3,40),
HX_("NUMPAD_8",06,2f,b3,40),
HX_("NUMPAD_9",07,2f,b3,40),
HX_("NUMPAD_0",fe,2e,b3,40),
HX_("NUMPAD_PERIOD",73,73,28,0c),
HX_("APPLICATION",30,b7,7a,00),
HX_("POWER",e5,83,88,44),
HX_("NUMPAD_EQUALS",b1,00,00,91),
HX_("F13",a8,48,35,00),
HX_("F14",a9,48,35,00),
HX_("F15",aa,48,35,00),
HX_("F16",ab,48,35,00),
HX_("F17",ac,48,35,00),
HX_("F18",ad,48,35,00),
HX_("F19",ae,48,35,00),
HX_("F20",84,49,35,00),
HX_("F21",85,49,35,00),
HX_("F22",86,49,35,00),
HX_("F23",87,49,35,00),
HX_("F24",88,49,35,00),
HX_("EXECUTE",15,de,e0,4b),
HX_("HELP",c1,fa,cb,2f),
HX_("MENU",9f,0d,1a,33),
HX_("SELECT",fc,c6,b5,1c),
HX_("STOP",02,b8,1c,37),
HX_("AGAIN",40,6d,2b,9c),
HX_("UNDO",24,8e,6a,38),
HX_("CUT",62,21,33,00),
HX_("COPY",b5,83,85,2c),
HX_("PASTE",33,8b,44,3b),
HX_("FIND",39,98,7c,2e),
HX_("MUTE",d9,36,26,33),
HX_("VOLUME_UP",e0,2e,1e,5c),
HX_("VOLUME_DOWN",27,90,f2,37),
HX_("NUMPAD_COMMA",83,17,b9,e9),
HX_("ALT_ERASE",d0,e9,42,1c),
HX_("SYSTEM_REQUEST",9f,56,e9,3c),
HX_("CANCEL",7a,99,b6,6a),
HX_("CLEAR",6d,a9,49,c6),
HX_("PRIOR",ea,90,79,46),
HX_("RETURN2",82,49,96,7e),
HX_("SEPARATOR",45,d0,d7,2c),
HX_("OUT",6e,3c,3c,00),
HX_("OPER",ce,cb,74,34),
HX_("CLEAR_AGAIN",ae,ad,24,1b),
HX_("CRSEL",2b,94,4b,ca),
HX_("EXSEL",e7,04,10,f5),
HX_("NUMPAD_00",72,ef,15,5c),
HX_("NUMPAD_000",7e,94,1b,37),
HX_("THOUSAND_SEPARATOR",64,42,ba,6c),
HX_("DECIMAL_SEPARATOR",b7,2b,09,71),
HX_("CURRENCY_UNIT",72,f1,d5,a0),
HX_("CURRENCY_SUBUNIT",b6,31,7c,dc),
HX_("NUMPAD_LEFT_PARENTHESIS",30,24,17,38),
HX_("NUMPAD_RIGHT_PARENTHESIS",41,55,c2,59),
HX_("NUMPAD_LEFT_BRACE",4d,33,25,1b),
HX_("NUMPAD_RIGHT_BRACE",9e,51,1b,74),
HX_("NUMPAD_TAB",83,f4,36,37),
HX_("NUMPAD_BACKSPACE",ed,a1,16,91),
HX_("NUMPAD_A",0f,2f,b3,40),
HX_("NUMPAD_B",10,2f,b3,40),
HX_("NUMPAD_C",11,2f,b3,40),
HX_("NUMPAD_D",12,2f,b3,40),
HX_("NUMPAD_E",13,2f,b3,40),
HX_("NUMPAD_F",14,2f,b3,40),
HX_("NUMPAD_XOR",c9,09,3a,37),
HX_("NUMPAD_POWER",b3,31,f6,65),
HX_("NUMPAD_PERCENT",f3,bb,3d,93),
HX_("NUMPAD_LESS_THAN",15,f2,f9,6a),
HX_("NUMPAD_GREATER_THAN",18,70,85,48),
HX_("NUMPAD_AMPERSAND",e3,88,8a,91),
HX_("NUMPAD_DOUBLE_AMPERSAND",19,b7,90,55),
HX_("NUMPAD_VERTICAL_BAR",1c,1a,61,85),
HX_("NUMPAD_DOUBLE_VERTICAL_BAR",a6,31,9d,14),
HX_("NUMPAD_COLON",0d,57,b8,e9),
HX_("NUMPAD_HASH",c0,7d,f0,10),
HX_("NUMPAD_SPACE",74,72,c2,20),
HX_("NUMPAD_AT",65,fe,15,5c),
HX_("NUMPAD_EXCLAMATION",1b,b0,9e,eb),
HX_("NUMPAD_MEM_STORE",85,4f,e9,27),
HX_("NUMPAD_MEM_RECALL",8d,c5,e2,b2),
HX_("NUMPAD_MEM_CLEAR",31,ad,2e,ec),
HX_("NUMPAD_MEM_ADD",c5,58,fb,47),
HX_("NUMPAD_MEM_SUBTRACT",d0,b3,03,a6),
HX_("NUMPAD_MEM_MULTIPLY",e0,20,7f,48),
HX_("NUMPAD_MEM_DIVIDE",35,23,13,74),
HX_("NUMPAD_PLUS_MINUS",dd,8d,c7,60),
HX_("NUMPAD_CLEAR",3b,57,b7,e7),
HX_("NUMPAD_CLEAR_ENTRY",0e,ed,20,56),
HX_("NUMPAD_BINARY",73,ce,18,be),
HX_("NUMPAD_OCTAL",79,c3,9e,ca),
HX_("NUMPAD_DECIMAL",bf,c5,36,01),
HX_("NUMPAD_HEXADECIMAL",59,10,c6,6a),
HX_("LEFT_CTRL",23,23,b7,de),
HX_("LEFT_SHIFT",ea,7a,fb,2f),
HX_("LEFT_ALT",91,b9,e3,c9),
HX_("LEFT_META",3d,e5,47,e5),
HX_("RIGHT_CTRL",4e,1f,4d,c3),
HX_("RIGHT_SHIFT",5f,24,a2,4e),
HX_("RIGHT_ALT",c6,ab,81,cf),
HX_("RIGHT_META",68,e1,dd,c9),
HX_("MODE",63,9b,21,33),
HX_("AUDIO_NEXT",5c,64,1b,67),
HX_("AUDIO_PREVIOUS",20,cc,f8,e8),
HX_("AUDIO_STOP",6b,cf,74,6a),
HX_("AUDIO_PLAY",5d,0d,73,68),
HX_("AUDIO_MUTE",42,4e,7e,66),
HX_("MEDIA_SELECT",57,7c,21,ce),
HX_("WWW",37,50,42,00),
HX_("MAIL",37,00,17,33),
HX_("CALCULATOR",02,a1,e1,a9),
HX_("COMPUTER",1b,d1,4b,df),
HX_("APP_CONTROL_SEARCH",a8,98,55,1a),
HX_("APP_CONTROL_HOME",5f,0f,65,0f),
HX_("APP_CONTROL_BACK",67,1f,63,0b),
HX_("APP_CONTROL_FORWARD",65,00,a7,a0),
HX_("APP_CONTROL_STOP",42,35,ae,16),
HX_("APP_CONTROL_REFRESH",7b,f8,fc,a7),
HX_("APP_CONTROL_BOOKMARKS",9d,7d,82,a1),
HX_("BRIGHTNESS_DOWN",d0,a4,d7,76),
HX_("BRIGHTNESS_UP",49,97,09,7b),
HX_("DISPLAY_SWITCH",b1,f1,e3,9e),
HX_("BACKLIGHT_TOGGLE",e4,97,a8,f2),
HX_("BACKLIGHT_DOWN",b2,38,06,1f),
HX_("BACKLIGHT_UP",ab,0e,a2,b2),
HX_("EJECT",f1,66,c4,eb),
HX_("SLEEP",f7,f4,b2,fc),
HX_("fromKeyCode",22,86,de,33),
HX_("toKeyCode",31,5a,32,cb),
HX_("gt",2d,5a,00,00),
HX_("gte",98,8d,4e,00),
HX_("lt",88,5e,00,00),
HX_("lte",dd,58,52,00),
HX_("plus",5a,3f,5a,4a),
::String(null())
};
void ScanCode_Impl__obj::__register()
{
ScanCode_Impl__obj _hx_dummy;
ScanCode_Impl__obj::_hx_vtable = *(void **)&_hx_dummy;
::hx::Static(__mClass) = new ::hx::Class_obj();
__mClass->mName = HX_("lime.ui._ScanCode.ScanCode_Impl_",10,a4,d5,43);
__mClass->mSuper = &super::__SGetClass();
__mClass->mConstructEmpty = &__CreateEmpty;
__mClass->mConstructArgs = &__Create;
__mClass->mGetStaticField = &ScanCode_Impl__obj::__GetStatic;
__mClass->mSetStaticField = &::hx::Class_obj::SetNoStaticField;
__mClass->mMarkFunc = ScanCode_Impl__obj_sMarkStatics;
__mClass->mStatics = ::hx::Class_obj::dupFunctions(ScanCode_Impl__obj_sStaticFields);
__mClass->mMembers = ::hx::Class_obj::dupFunctions(0 /* sMemberFields */);
__mClass->mCanCast = ::hx::TCanCast< ScanCode_Impl__obj >;
#ifdef HXCPP_VISIT_ALLOCS
__mClass->mVisitFunc = ScanCode_Impl__obj_sVisitStatics;
#endif
#ifdef HXCPP_SCRIPTABLE
__mClass->mMemberStorageInfo = ScanCode_Impl__obj_sMemberStorageInfo;
#endif
#ifdef HXCPP_SCRIPTABLE
__mClass->mStaticStorageInfo = ScanCode_Impl__obj_sStaticStorageInfo;
#endif
::hx::_hx_RegisterClass(__mClass->mName, __mClass);
}
void ScanCode_Impl__obj::__boot()
{
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_9_boot)
HXDLIN( 9) UNKNOWN = 0;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_10_boot)
HXDLIN( 10) BACKSPACE = 42;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_11_boot)
HXDLIN( 11) TAB = 43;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_12_boot)
HXDLIN( 12) RETURN = 40;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_13_boot)
HXDLIN( 13) ESCAPE = 41;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_14_boot)
HXDLIN( 14) SPACE = 44;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_21_boot)
HXDLIN( 21) SINGLE_QUOTE = 52;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_26_boot)
HXDLIN( 26) COMMA = 54;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_27_boot)
HXDLIN( 27) MINUS = 45;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_28_boot)
HXDLIN( 28) PERIOD = 55;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_29_boot)
HXDLIN( 29) SLASH = 56;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_30_boot)
HXDLIN( 30) NUMBER_0 = 39;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_31_boot)
HXDLIN( 31) NUMBER_1 = 30;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_32_boot)
HXDLIN( 32) NUMBER_2 = 31;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_33_boot)
HXDLIN( 33) NUMBER_3 = 32;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_34_boot)
HXDLIN( 34) NUMBER_4 = 33;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_35_boot)
HXDLIN( 35) NUMBER_5 = 34;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_36_boot)
HXDLIN( 36) NUMBER_6 = 35;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_37_boot)
HXDLIN( 37) NUMBER_7 = 36;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_38_boot)
HXDLIN( 38) NUMBER_8 = 37;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_39_boot)
HXDLIN( 39) NUMBER_9 = 38;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_41_boot)
HXDLIN( 41) SEMICOLON = 51;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_43_boot)
HXDLIN( 43) EQUALS = 46;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_47_boot)
HXDLIN( 47) LEFT_BRACKET = 47;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_48_boot)
HXDLIN( 48) BACKSLASH = 49;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_49_boot)
HXDLIN( 49) RIGHT_BRACKET = 48;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_52_boot)
HXDLIN( 52) GRAVE = 53;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_53_boot)
HXDLIN( 53) A = 4;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_54_boot)
HXDLIN( 54) B = 5;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_55_boot)
HXDLIN( 55) C = 6;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_56_boot)
HXDLIN( 56) D = 7;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_57_boot)
HXDLIN( 57) E = 8;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_58_boot)
HXDLIN( 58) F = 9;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_59_boot)
HXDLIN( 59) G = 10;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_60_boot)
HXDLIN( 60) H = 11;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_61_boot)
HXDLIN( 61) I = 12;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_62_boot)
HXDLIN( 62) J = 13;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_63_boot)
HXDLIN( 63) K = 14;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_64_boot)
HXDLIN( 64) L = 15;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_65_boot)
HXDLIN( 65) M = 16;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_66_boot)
HXDLIN( 66) N = 17;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_67_boot)
HXDLIN( 67) O = 18;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_68_boot)
HXDLIN( 68) P = 19;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_69_boot)
HXDLIN( 69) Q = 20;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_70_boot)
HXDLIN( 70) R = 21;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_71_boot)
HXDLIN( 71) S = 22;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_72_boot)
HXDLIN( 72) T = 23;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_73_boot)
HXDLIN( 73) U = 24;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_74_boot)
HXDLIN( 74) V = 25;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_75_boot)
HXDLIN( 75) W = 26;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_76_boot)
HXDLIN( 76) X = 27;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_77_boot)
HXDLIN( 77) Y = 28;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_78_boot)
HXDLIN( 78) Z = 29;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_79_boot)
HXDLIN( 79) DELETE = 76;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_80_boot)
HXDLIN( 80) CAPS_LOCK = 57;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_81_boot)
HXDLIN( 81) F1 = 58;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_82_boot)
HXDLIN( 82) F2 = 59;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_83_boot)
HXDLIN( 83) F3 = 60;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_84_boot)
HXDLIN( 84) F4 = 61;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_85_boot)
HXDLIN( 85) F5 = 62;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_86_boot)
HXDLIN( 86) F6 = 63;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_87_boot)
HXDLIN( 87) F7 = 64;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_88_boot)
HXDLIN( 88) F8 = 65;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_89_boot)
HXDLIN( 89) F9 = 66;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_90_boot)
HXDLIN( 90) F10 = 67;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_91_boot)
HXDLIN( 91) F11 = 68;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_92_boot)
HXDLIN( 92) F12 = 69;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_93_boot)
HXDLIN( 93) PRINT_SCREEN = 70;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_94_boot)
HXDLIN( 94) SCROLL_LOCK = 71;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_95_boot)
HXDLIN( 95) PAUSE = 72;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_96_boot)
HXDLIN( 96) INSERT = 73;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_97_boot)
HXDLIN( 97) HOME = 74;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_98_boot)
HXDLIN( 98) PAGE_UP = 75;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_99_boot)
HXDLIN( 99) END = 77;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_100_boot)
HXDLIN( 100) PAGE_DOWN = 78;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_101_boot)
HXDLIN( 101) RIGHT = 79;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_102_boot)
HXDLIN( 102) LEFT = 80;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_103_boot)
HXDLIN( 103) DOWN = 81;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_104_boot)
HXDLIN( 104) UP = 82;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_105_boot)
HXDLIN( 105) NUM_LOCK = 83;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_106_boot)
HXDLIN( 106) NUMPAD_DIVIDE = 84;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_107_boot)
HXDLIN( 107) NUMPAD_MULTIPLY = 85;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_108_boot)
HXDLIN( 108) NUMPAD_MINUS = 86;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_109_boot)
HXDLIN( 109) NUMPAD_PLUS = 87;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_110_boot)
HXDLIN( 110) NUMPAD_ENTER = 88;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_111_boot)
HXDLIN( 111) NUMPAD_1 = 89;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_112_boot)
HXDLIN( 112) NUMPAD_2 = 90;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_113_boot)
HXDLIN( 113) NUMPAD_3 = 91;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_114_boot)
HXDLIN( 114) NUMPAD_4 = 92;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_115_boot)
HXDLIN( 115) NUMPAD_5 = 93;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_116_boot)
HXDLIN( 116) NUMPAD_6 = 94;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_117_boot)
HXDLIN( 117) NUMPAD_7 = 95;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_118_boot)
HXDLIN( 118) NUMPAD_8 = 96;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_119_boot)
HXDLIN( 119) NUMPAD_9 = 97;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_120_boot)
HXDLIN( 120) NUMPAD_0 = 98;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_121_boot)
HXDLIN( 121) NUMPAD_PERIOD = 99;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_122_boot)
HXDLIN( 122) APPLICATION = 101;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_123_boot)
HXDLIN( 123) POWER = 102;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_124_boot)
HXDLIN( 124) NUMPAD_EQUALS = 103;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_125_boot)
HXDLIN( 125) F13 = 104;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_126_boot)
HXDLIN( 126) F14 = 105;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_127_boot)
HXDLIN( 127) F15 = 106;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_128_boot)
HXDLIN( 128) F16 = 107;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_129_boot)
HXDLIN( 129) F17 = 108;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_130_boot)
HXDLIN( 130) F18 = 109;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_131_boot)
HXDLIN( 131) F19 = 110;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_132_boot)
HXDLIN( 132) F20 = 111;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_133_boot)
HXDLIN( 133) F21 = 112;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_134_boot)
HXDLIN( 134) F22 = 113;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_135_boot)
HXDLIN( 135) F23 = 114;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_136_boot)
HXDLIN( 136) F24 = 115;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_137_boot)
HXDLIN( 137) EXECUTE = 116;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_138_boot)
HXDLIN( 138) HELP = 117;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_139_boot)
HXDLIN( 139) MENU = 118;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_140_boot)
HXDLIN( 140) SELECT = 119;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_141_boot)
HXDLIN( 141) STOP = 120;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_142_boot)
HXDLIN( 142) AGAIN = 121;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_143_boot)
HXDLIN( 143) UNDO = 122;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_144_boot)
HXDLIN( 144) CUT = 123;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_145_boot)
HXDLIN( 145) COPY = 124;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_146_boot)
HXDLIN( 146) PASTE = 125;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_147_boot)
HXDLIN( 147) FIND = 126;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_148_boot)
HXDLIN( 148) MUTE = 127;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_149_boot)
HXDLIN( 149) VOLUME_UP = 128;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_150_boot)
HXDLIN( 150) VOLUME_DOWN = 129;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_151_boot)
HXDLIN( 151) NUMPAD_COMMA = 133;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_153_boot)
HXDLIN( 153) ALT_ERASE = 153;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_154_boot)
HXDLIN( 154) SYSTEM_REQUEST = 154;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_155_boot)
HXDLIN( 155) CANCEL = 155;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_156_boot)
HXDLIN( 156) CLEAR = 156;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_157_boot)
HXDLIN( 157) PRIOR = 157;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_158_boot)
HXDLIN( 158) RETURN2 = 158;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_159_boot)
HXDLIN( 159) SEPARATOR = 159;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_160_boot)
HXDLIN( 160) OUT = 160;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_161_boot)
HXDLIN( 161) OPER = 161;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_162_boot)
HXDLIN( 162) CLEAR_AGAIN = 162;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_163_boot)
HXDLIN( 163) CRSEL = 163;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_164_boot)
HXDLIN( 164) EXSEL = 164;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_165_boot)
HXDLIN( 165) NUMPAD_00 = 176;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_166_boot)
HXDLIN( 166) NUMPAD_000 = 177;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_167_boot)
HXDLIN( 167) THOUSAND_SEPARATOR = 178;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_168_boot)
HXDLIN( 168) DECIMAL_SEPARATOR = 179;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_169_boot)
HXDLIN( 169) CURRENCY_UNIT = 180;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_170_boot)
HXDLIN( 170) CURRENCY_SUBUNIT = 181;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_171_boot)
HXDLIN( 171) NUMPAD_LEFT_PARENTHESIS = 182;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_172_boot)
HXDLIN( 172) NUMPAD_RIGHT_PARENTHESIS = 183;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_173_boot)
HXDLIN( 173) NUMPAD_LEFT_BRACE = 184;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_174_boot)
HXDLIN( 174) NUMPAD_RIGHT_BRACE = 185;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_175_boot)
HXDLIN( 175) NUMPAD_TAB = 186;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_176_boot)
HXDLIN( 176) NUMPAD_BACKSPACE = 187;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_177_boot)
HXDLIN( 177) NUMPAD_A = 188;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_178_boot)
HXDLIN( 178) NUMPAD_B = 189;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_179_boot)
HXDLIN( 179) NUMPAD_C = 190;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_180_boot)
HXDLIN( 180) NUMPAD_D = 191;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_181_boot)
HXDLIN( 181) NUMPAD_E = 192;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_182_boot)
HXDLIN( 182) NUMPAD_F = 193;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_183_boot)
HXDLIN( 183) NUMPAD_XOR = 194;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_184_boot)
HXDLIN( 184) NUMPAD_POWER = 195;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_185_boot)
HXDLIN( 185) NUMPAD_PERCENT = 196;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_186_boot)
HXDLIN( 186) NUMPAD_LESS_THAN = 197;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_187_boot)
HXDLIN( 187) NUMPAD_GREATER_THAN = 198;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_188_boot)
HXDLIN( 188) NUMPAD_AMPERSAND = 199;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_189_boot)
HXDLIN( 189) NUMPAD_DOUBLE_AMPERSAND = 200;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_190_boot)
HXDLIN( 190) NUMPAD_VERTICAL_BAR = 201;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_191_boot)
HXDLIN( 191) NUMPAD_DOUBLE_VERTICAL_BAR = 202;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_192_boot)
HXDLIN( 192) NUMPAD_COLON = 203;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_193_boot)
HXDLIN( 193) NUMPAD_HASH = 204;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_194_boot)
HXDLIN( 194) NUMPAD_SPACE = 205;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_195_boot)
HXDLIN( 195) NUMPAD_AT = 206;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_196_boot)
HXDLIN( 196) NUMPAD_EXCLAMATION = 207;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_197_boot)
HXDLIN( 197) NUMPAD_MEM_STORE = 208;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_198_boot)
HXDLIN( 198) NUMPAD_MEM_RECALL = 209;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_199_boot)
HXDLIN( 199) NUMPAD_MEM_CLEAR = 210;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_200_boot)
HXDLIN( 200) NUMPAD_MEM_ADD = 211;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_201_boot)
HXDLIN( 201) NUMPAD_MEM_SUBTRACT = 212;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_202_boot)
HXDLIN( 202) NUMPAD_MEM_MULTIPLY = 213;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_203_boot)
HXDLIN( 203) NUMPAD_MEM_DIVIDE = 214;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_204_boot)
HXDLIN( 204) NUMPAD_PLUS_MINUS = 215;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_205_boot)
HXDLIN( 205) NUMPAD_CLEAR = 216;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_206_boot)
HXDLIN( 206) NUMPAD_CLEAR_ENTRY = 217;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_207_boot)
HXDLIN( 207) NUMPAD_BINARY = 218;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_208_boot)
HXDLIN( 208) NUMPAD_OCTAL = 219;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_209_boot)
HXDLIN( 209) NUMPAD_DECIMAL = 220;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_210_boot)
HXDLIN( 210) NUMPAD_HEXADECIMAL = 221;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_211_boot)
HXDLIN( 211) LEFT_CTRL = 224;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_212_boot)
HXDLIN( 212) LEFT_SHIFT = 225;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_213_boot)
HXDLIN( 213) LEFT_ALT = 226;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_214_boot)
HXDLIN( 214) LEFT_META = 227;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_215_boot)
HXDLIN( 215) RIGHT_CTRL = 228;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_216_boot)
HXDLIN( 216) RIGHT_SHIFT = 229;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_217_boot)
HXDLIN( 217) RIGHT_ALT = 230;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_218_boot)
HXDLIN( 218) RIGHT_META = 231;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_219_boot)
HXDLIN( 219) MODE = 257;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_220_boot)
HXDLIN( 220) AUDIO_NEXT = 258;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_221_boot)
HXDLIN( 221) AUDIO_PREVIOUS = 259;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_222_boot)
HXDLIN( 222) AUDIO_STOP = 260;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_223_boot)
HXDLIN( 223) AUDIO_PLAY = 261;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_224_boot)
HXDLIN( 224) AUDIO_MUTE = 262;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_225_boot)
HXDLIN( 225) MEDIA_SELECT = 263;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_226_boot)
HXDLIN( 226) WWW = 264;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_227_boot)
HXDLIN( 227) MAIL = 265;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_228_boot)
HXDLIN( 228) CALCULATOR = 266;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_229_boot)
HXDLIN( 229) COMPUTER = 267;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_230_boot)
HXDLIN( 230) APP_CONTROL_SEARCH = 268;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_231_boot)
HXDLIN( 231) APP_CONTROL_HOME = 269;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_232_boot)
HXDLIN( 232) APP_CONTROL_BACK = 270;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_233_boot)
HXDLIN( 233) APP_CONTROL_FORWARD = 271;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_234_boot)
HXDLIN( 234) APP_CONTROL_STOP = 272;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_235_boot)
HXDLIN( 235) APP_CONTROL_REFRESH = 273;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_236_boot)
HXDLIN( 236) APP_CONTROL_BOOKMARKS = 274;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_237_boot)
HXDLIN( 237) BRIGHTNESS_DOWN = 275;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_238_boot)
HXDLIN( 238) BRIGHTNESS_UP = 276;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_239_boot)
HXDLIN( 239) DISPLAY_SWITCH = 277;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_240_boot)
HXDLIN( 240) BACKLIGHT_TOGGLE = 278;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_241_boot)
HXDLIN( 241) BACKLIGHT_DOWN = 279;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_242_boot)
HXDLIN( 242) BACKLIGHT_UP = 280;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_243_boot)
HXDLIN( 243) EJECT = 281;
}
{
HX_STACKFRAME(&_hx_pos_502c65d4fd86e945_244_boot)
HXDLIN( 244) SLEEP = 282;
}
}
} // end namespace lime
} // end namespace ui
} // end namespace _ScanCode
| [
"theiadstudios@gmail.com"
] | theiadstudios@gmail.com |
442a3c3de1a2f564269c4cf62db1253750c60060 | 25f1cdf9a5edf7e189535aba3e8d6d6f18e4163c | /final_project/bala.cpp | 51700b53be0c4f190111981ee335421105884a0b | [] | no_license | xals1997/FV-2018 | e93cf9c4c263dd575256f40134499f7e2a3c00f8 | 9cc0971833c79bf6867d72a2b05f2424d3c95718 | refs/heads/master | 2020-04-30T12:23:51.514878 | 2018-05-21T21:06:24 | 2018-05-21T21:06:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: bala.cpp
* Author: alberto
*
* Created on 21 de mayo de 2018, 17:16
*/
#include "bala.h"
bala::bala() {
}
bala::bala(const bala& orig) {
}
bala::~bala() {
}
| [
"alberto.berenguer.97@gmail.com"
] | alberto.berenguer.97@gmail.com |
ec2947ea9db33f472bd861bfbab45da8bdff48ed | 708dddd82ae97154c42d7cd5eff3be301bb2a4dc | /include/orm/query/grammars/sqlitegrammar.hpp | 6d899f075a736eaa2321e97b219f3cca1d5321ff | [
"MIT"
] | permissive | Watch-Later/TinyORM | 48cea0ae6b013bed3068ac8fe58ef02c3dfc53e9 | 7683ba10b30ff9e51d37b229b877c3757358ad13 | refs/heads/main | 2023-06-30T10:03:40.538358 | 2021-08-09T14:03:38 | 2021-08-09T14:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,495 | hpp | #pragma once
#ifndef SQLITEGRAMMAR_H
#define SQLITEGRAMMAR_H
#include "orm/query/grammars/grammar.hpp"
#ifdef TINYORM_COMMON_NAMESPACE
namespace TINYORM_COMMON_NAMESPACE
{
#endif
namespace Orm::Query::Grammars
{
/*! SQLite grammar. */
class SHAREDLIB_EXPORT SQLiteGrammar : public Grammar
{
Q_DISABLE_COPY(SQLiteGrammar)
public:
/*! Default constructor. */
SQLiteGrammar() = default;
/*! Compile an insert ignore statement into SQL. */
QString compileInsertOrIgnore(const QueryBuilder &query,
const QVector<QVariantMap> &values) const override;
/*! Compile an update statement into SQL. */
QString compileUpdate(QueryBuilder &query,
const QVector<UpdateItem> &values) const override;
/*! Compile a delete statement into SQL. */
QString compileDelete(QueryBuilder &query) const override;
/*! Compile a truncate table statement into SQL. Returns a map of
the query string and bindings. */
std::unordered_map<QString, QVector<QVariant>>
compileTruncate(const QueryBuilder &query) const override;
/*! Compile the lock into SQL. */
QString compileLock(const QueryBuilder &query) const override;
/*! Get the grammar specific operators. */
const QVector<QString> &getOperators() const override;
protected:
/*! Compile the columns for an update statement. */
QString compileUpdateColumns(const QVector<UpdateItem> &values) const override;
/*! Map the ComponentType to a Grammar::compileXx() methods. */
const QMap<SelectComponentType, SelectComponentValue> &
getCompileMap() const override;
/*! Map the WhereType to a Grammar::whereXx() methods. */
const std::function<QString(const WhereConditionItem &)> &
getWhereMethod(WhereType whereType) const override;
private:
/*! Compile an update statement with joins or limit into SQL. */
QString compileUpdateWithJoinsOrLimit(QueryBuilder &query,
const QVector<UpdateItem> &values) const;
/*! Compile a delete statement with joins or limit into SQL. */
QString compileDeleteWithJoinsOrLimit(QueryBuilder &query) const;
};
} // namespace Orm::Query::Grammars
#ifdef TINYORM_COMMON_NAMESPACE
} // namespace TINYORM_COMMON_NAMESPACE
#endif
#endif // SQLITEGRAMMAR_H
| [
"silver.zachara@gmail.com"
] | silver.zachara@gmail.com |
ac9a129a63cd97c97b5a16ba1dd2dd884f007136 | 34d3d20d8c1e788ea214f0041be051499ba4e4ba | /SortingAlgos/LinkedList.h | 64a7aa5ca4f776502e8cfff0691b8d6ccbfd6362 | [] | no_license | RKBOSAMIA/Cpp-Applications | 73e1f2669d8b375399516e2655a0cc748041862d | 177fc1fd602826934a93ffda4dbf36f7396f22cc | refs/heads/master | 2022-11-18T08:38:20.093834 | 2020-07-16T20:09:11 | 2020-07-16T20:09:11 | 280,246,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #ifndef LINKEDLIST_H_
#define LINKEDLIST_H_
#include "Node.h"
/**
* The linked list class for the mergesort algorithm.
*/
class LinkedList
{
public:
/**
* Default constructor.
*/
LinkedList() : head(nullptr), tail(nullptr), size(0) {};
/**
* Constructor: Create a new list from an existing one.
* Both lists will share the nodes.
* @param head the head of the existing list.
* @param tail the tail of the existing list.
* @param size the size of the existing list.
*/
LinkedList(Node *head, Node *tail, const int size)
{
this->head = head;
this->tail = tail;
this->tail->next = nullptr;
this->size = size;
}
/**
* Destructor.
*/
virtual ~LinkedList() {}
/**
* Get the head of the list.
* @return the head.
*/
Node *get_head() const { return head; }
/**
* Get the tail of the list.
* @return the tail.
*/
Node *get_tail() const { return tail; }
/**
* Get the size of the list.
* @return the size.
*/
int get_size() const { return size; }
/**
* Set the head, tail, and size of the linked list.
* @param head the head of the linked list.
* @param tail the tail of the linked list.
* @param size the size of the linked list.
*/
void set(Node *head, Node *tail, int size)
{
this->head = head;
this->tail = tail;
this->tail->next = nullptr;
this->size = size;
}
/**
* Remove the head of the list and return the removed node.
* @return the removed node.
*/
Node *remove_head();
/**
* Reset the head, tail, and size of the list.
*/
void reset()
{
head = tail = nullptr;
size = 0;
}
/**
* Add a node to the tail of the list.
* @param value the value of the node to add.
*/
void add(const Element& elmt);
/**
* Add a node to the tail of the list.
* @param node the node to add.
*/
void add(Node *node);
/**
* Delete all the nodes of the list.
*/
void clear();
/**
* Print the values of the list's nodes.
*/
void print() const;
/**
* Split this list into two sublists.
* @param list1 the first sublist.
* @param list2 the second sublist.
*/
void split(LinkedList& list1, LinkedList& list2);
/**
* Add another list to the end of this list.
* @param other_list the other list.
*/
void concatenate(LinkedList& other_list);
private:
Node *head;
Node *tail;
int size;
};
#endif /* LINKEDLIST_H_ */ | [
"noreply@github.com"
] | RKBOSAMIA.noreply@github.com |
5d12981a720a025d2142b1f41e205b234b64433e | 9c433cba8a1d67410cc5354c789a7d17af6b8890 | /STL/stack/stack.cpp | f0b3cd9615105a63f934dc7f77278109cf7677d6 | [] | no_license | 958724723/KR_Ph2 | 011d5d4bcd6c3381ea16e051f5e50c828a63cdfc | 07e3ed72265e8254b894f444cca3fd807d1fc6bb | refs/heads/master | 2021-12-03T16:13:31.529881 | 2014-08-28T16:19:09 | 2014-08-28T16:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include <iostream>
#include <stack>
using namespace std;
int
main(void)
{
stack<int> theStack;
theStack.push(1);
theStack.push(2);
theStack.push(3);
while (theStack.size())
{
cout << theStack.top() << " ";
theStack.pop();
}
return 0;
} | [
"xuwenbo_outlook@outlook.com"
] | xuwenbo_outlook@outlook.com |
e159608099b915996224d37e32f4662690a750aa | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /engine/modules/gltf/gltf_res.cpp | 06b367dd24b6b43b862bb467c79aca7d214b6e6e | [
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 41,672 | cpp | #include "gltf_res.h"
#include "gltf_mesh.h"
#include "gltf_material.h"
#include "gltf_skeleton.h"
#include "engine/core/io/stream/DataStream.h"
#include "engine/core/log/Log.h"
#include "engine/core/util/PathUtil.h"
#include "engine/core/util/base64.h"
#include "engine/core/util/magic_enum.hpp"
#include "engine/modules/light/light_module.h"
namespace Echo
{
// init static variables
GltfMaterialInfo GltfMaterialInfo::DEFAULT = GltfMaterialInfo();
// parse float value of json node
static bool parseJsonValueFloat(float& oValue, nlohmann::json& json, const String& key, bool isMustExist)
{
if (json.find(key) != json.end())
{
nlohmann::json& subJson = json[key];
if (!subJson.is_number())
return false;
oValue = subJson.get<float>();
return true;
}
return isMustExist ? false : true;
}
// parse int value of json node
static bool parseJsonValueI32(i32& oValue, nlohmann::json& json, const String& key, bool isMustExist)
{
if (json.find(key) != json.end())
{
nlohmann::json& subJson = json[key];
if (!subJson.is_number())
return false;
oValue = subJson.get<i32>();
return true;
}
return isMustExist ? false : true;
}
// parse int value of json node
static bool parseJsonValueUI32(ui32& oValue, nlohmann::json& json, const String& key, bool isMustExist)
{
if (json.find(key) != json.end())
{
nlohmann::json& subJson = json[key];
if (!subJson.is_number())
return false;
oValue = subJson.get<i32>();
return true;
}
return isMustExist ? false : true;
}
// parse bool value of json node
static bool parseJsonValueBool(bool& oValue, nlohmann::json& json, const String& key, bool isMustExist)
{
if (json.find(key) != json.end())
{
nlohmann::json& subJson = json[key];
if (!subJson.is_boolean())
return false;
oValue = subJson.get<bool>();
return true;
}
return isMustExist ? false : true;
}
// parse string value of json node
static bool parseJsonValueString(String& oValue, nlohmann::json& json, const String& key, bool isMustExist)
{
if (json.find(key) != json.end())
{
nlohmann::json& subJson = json[key];
if (!subJson.is_string())
return false;
oValue = subJson.get<std::string>();
return true;
}
return isMustExist ? false : true;
}
// contructor
GltfRes::GltfRes(const ResourcePath& path)
: Res(path)
{
load();
}
GltfRes::~GltfRes()
{
}
void GltfRes::bindMethods()
{
}
Res* GltfRes::load(const ResourcePath& path)
{
return EchoNew(GltfRes(path));
}
// load
bool GltfRes::load()
{
MemoryReader memReader(m_path.getPath());
if (memReader.getSize())
{
using namespace nlohmann;
json j = json::parse(memReader.getData<char*>());
// load asset
if (!loadAsset(j))
{
EchoLogError("gltf parse asset failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadScenes(j))
{
EchoLogError("gltf parse scenes failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadNodes(j))
{
EchoLogError("gltf parse nodes failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadBuffers(j))
{
EchoLogError("gltf parse buffers failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadBufferViews(j))
{
EchoLogError("gltf parse bufferViews failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadAccessors(j))
{
EchoLogError("gltf parse accessors failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadMaterials(j))
{
EchoLogError("gltf parse materials failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadImages(j))
{
EchoLogError("gltf parse images failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadSamplers(j))
{
EchoLogError("gltf parse samples failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadTextures(j))
{
EchoLogError("gltf parse textures failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadMeshes(j))
{
EchoLogError("gltf parse meshes failed when load resource [%s].", m_path.getPath().c_str());
return false;
}
if (!loadSkins(j))
{
EchoLogError("gltf parse skins failed when load resource [%s]", m_path.getPath().c_str());
return false;
}
if (!loadAnimations(j))
{
EchoLogError("gltf parse animations failed when load resource [%s]", m_path.getPath().c_str());
return false;
}
m_isLoaded = true;
return true;
}
return false;
}
bool GltfRes::loadAsset(nlohmann::json& json)
{
if (json.find("asset") != json.end())
{
nlohmann::json& asset = json["asset"];
if (asset.find("version") != asset.end())
m_metaInfo.m_version = asset["version"].get<std::string>();
// copyright
if (asset.find("copyright") != asset.end())
m_metaInfo.m_copyright = asset["copyright"].get<std::string>();
// generator
if (asset.find("generator") != asset.end())
m_metaInfo.m_generator = asset["generator"].get<std::string>();
// minVersion
if (asset.find("minVersion") != asset.end())
m_metaInfo.m_minversion = asset["minVersion"].get<std::string>();
return true;
}
return false;
}
bool GltfRes::loadScenes(nlohmann::json& json)
{
if (json.find("scenes") == json.end())
return false;
nlohmann::json& scenes = json["scenes"];
if (!scenes.is_array())
return false;
m_scenes.resize(scenes.size());
for (ui32 i = 0; i < scenes.size(); i++)
{
nlohmann::json& scene = scenes[i];
// name
if (!parseJsonValueString(m_scenes[i].m_name, scene, "name", false))
return false;
// nodes
if (scene.find("nodes") != scene.end())
{
nlohmann::json& nodes = scene["nodes"];
if (!nodes.is_array())
return false;
m_scenes[i].m_nodes.resize(nodes.size());
for (ui32 j = 0; j < nodes.size(); j++)
{
m_scenes[i].m_nodes[j] = nodes[j].get<ui32>();
}
}
}
return true;
}
bool GltfRes::loadNodes(nlohmann::json& json)
{
if (json.find("nodes") == json.end())
return false;
nlohmann::json& nodes = json["nodes"];
if (!nodes.is_array())
return false;
m_nodes.resize(nodes.size());
for (ui32 i = 0; i < nodes.size(); i++)
{
nlohmann::json& node = nodes[i];
// name
if (!parseJsonValueString(m_nodes[i].m_name, node, "name", false))
return false;
if (m_nodes[i].m_name.empty())
{
m_nodes[i].m_name = "node_" + StringUtil::ToString(i);
}
// camera
if (!parseJsonValueI32(m_nodes[i].m_camera, node, "camera", false))
return false;
// children
if (node.find("children") != node.end())
{
nlohmann::json& children = node["children"];
if (!children.is_array())
return false;
m_nodes[i].m_children.resize(children.size());
for (ui32 j = 0; j < children.size(); j++)
{
ui32 childIdx = children[j].get<ui32>();
m_nodes[i].m_children[j] = childIdx;
if (m_nodes[childIdx].m_parent == -1)
m_nodes[childIdx].m_parent = i;
else
EchoLogError("gltf node has more than one parent.");
}
}
// skin
if (!parseJsonValueI32(m_nodes[i].m_skin, node, "skin", false))
return false;
// mesh
if (!parseJsonValueI32(m_nodes[i].m_mesh, node, "mesh", false))
return false;
// translation
if (node.find("translation") != node.end())
{
nlohmann::json& translation = node["translation"];
if (!translation.is_array())
return false;
if (translation.size() != 3)
return false;
for (ui32 j = 0; j < 3; j++)
{
if (!translation[j].is_number())
return false;
m_nodes[i].m_translation[j] = translation[j].get<float>();
}
}
// rotation
if (node.find("rotation") != node.end())
{
nlohmann::json& rotation = node["rotation"];
if (!rotation.is_array())
return false;
if (rotation.size() != 4)
return false;
for (ui32 j = 0; j < 4; j++)
{
if (!rotation[j].is_number())
return false;
m_nodes[i].m_rotation[j] = rotation[j].get<float>();
}
}
// scale
if (node.find("scale") != node.end())
{
nlohmann::json& scale = node["scale"];
if (!scale.is_array())
return false;
if (scale.size() != 3)
return false;
for (ui32 j = 0; j < 3; j++)
{
if (!scale[j].is_number())
return false;
m_nodes[i].m_scale[j] = scale[j].get<float>();
}
}
}
return true;
}
bool GltfRes::loadBuffers(nlohmann::json& json)
{
if (json.find("buffers") == json.end())
return false;
nlohmann::json& buffers = json["buffers"];
if (!buffers.is_array())
return false;
m_buffers.resize(buffers.size());
for(ui32 i=0; i<buffers.size(); i++)
{
nlohmann::json& buffer = buffers[i];
// name
if (!parseJsonValueString(m_buffers[i].m_name, buffer, "name", false))
return false;
// byteLength
if (!parseJsonValueI32(m_buffers[i].m_byteLength, buffer, "byteLength", true))
return false;
// uri
if (buffer.find("uri") != buffer.end())
{
nlohmann::json& uri = buffer["uri"];
if (!uri.is_string())
return false;
// resolve url
String bufferUri = uri.get<std::string>();
if (StringUtil::StartWith(bufferUri, "data:"))
{
m_buffers[i].m_uri = bufferUri;
m_buffers[i].m_uriType = GltfBufferInfo::UriType::Data;
}
else if (StringUtil::StartWith(bufferUri, "blob:"))
{
m_buffers[i].m_uri = bufferUri;
m_buffers[i].m_uriType = GltfBufferInfo::UriType::Blob;
}
else
{
m_buffers[i].m_uri = PathUtil::GetFileDirPath(m_path.getPath()) + bufferUri;
}
}
if (!loadBufferData(m_buffers[i]))
return false;
}
return true;
}
bool GltfRes::loadBufferData(GltfBufferInfo& buffer)
{
if (buffer.m_uri.empty() && buffer.m_byteLength > 0)
return false;
// create MemoryReader based on Uri type
if (buffer.m_uriType == GltfBufferInfo::UriType::Data)
{
// extract data
String base64Data = StringUtil::Substr(buffer.m_uri, ",", false);
// decode base64 data
Base64Decode decode(base64Data);
if (!decode.getSize())
return false;
// construct memReader
buffer.m_data = EchoNew(MemoryReader(decode.getData(), decode.getSize()));
if (buffer.m_byteLength != buffer.m_data->getSize())
return false;
}
else
{
buffer.m_data = EchoNew(MemoryReader(buffer.m_uri));
}
// is have data
if (buffer.m_data->getSize())
{
return true;
}
return false;
}
bool GltfRes::loadAccessors(nlohmann::json& json)
{
if (json.find("accessors") == json.end())
return false;
nlohmann::json& accessors = json["accessors"];
if (!accessors.is_array())
return false;
m_accessors.resize(accessors.size());
for ( ui32 i = 0; i < accessors.size(); ++i)
{
nlohmann::json& accessor = accessors[i];
// bufferView
if (!parseJsonValueI32(m_accessors[i].m_bufferView, accessor, "bufferView", false))
return false;
// byteOffset
if (!parseJsonValueI32(m_accessors[i].m_byteOffset, accessor, "byteOffset", false))
return false;
// componentType
if (accessor.find("componentType") == accessor.end())
return false;
if (!accessor["componentType"].is_number())
return false;
m_accessors[i].m_componentType = static_cast<GltfAccessorInfo::ComponentType>(accessor["componentType"].get<ui16>());
// normalized
if (!parseJsonValueBool(m_accessors[i].m_normalized, accessor, "normalized", false))
return false;
// count
if (accessor.find("count") == accessor.end())
return false;
else if (!accessor["count"].is_number())
return false;
m_accessors[i].m_count = accessor["count"].get<ui32>();
// type
if (accessor.find("type") == accessors[i].end())
return false;
if (!accessor["type"].is_string())
return false;
String type = accessor["type"].get<std::string>();
if (type == "SCALAR") m_accessors[i].m_type = GltfAccessorInfo::Type::Scalar;
else if (type == "VEC2") m_accessors[i].m_type = GltfAccessorInfo::Type::Vec2;
else if (type == "VEC3") m_accessors[i].m_type = GltfAccessorInfo::Type::Vec3;
else if (type == "VEC4") m_accessors[i].m_type = GltfAccessorInfo::Type::Vec4;
else if (type == "MAT2") m_accessors[i].m_type = GltfAccessorInfo::Type::Mat2;
else if (type == "MAT3") m_accessors[i].m_type = GltfAccessorInfo::Type::Mat3;
else if (type == "MAT4") m_accessors[i].m_type = GltfAccessorInfo::Type::Mat4;
else return false;
// TODO: accessors[i]["sparse"]
// TODO: accessors[i]["extensions"]
// TODO: accessors[i]["min"]
// TODO: accessors[i]["max"]
}
return true;
}
bool GltfRes::loadBufferViews(nlohmann::json& json)
{
if (json.find("bufferViews") == json.end())
return true;
nlohmann::json& bufferViews = json["bufferViews"];
if (!bufferViews.is_array())
return false;
m_bufferViews.resize(bufferViews.size());
for (ui32 i = 0; i < bufferViews.size(); i++)
{
nlohmann::json& bufferView = bufferViews[i];
// name
if (!parseJsonValueString(m_bufferViews[i].m_name, bufferView, "name", false))
return false;
// buffer index
if (!parseJsonValueUI32(m_bufferViews[i].m_bufferIdx, bufferView, "buffer", true))
return false;
// byteOffset
if (!parseJsonValueUI32(m_bufferViews[i].m_byteOffset, bufferView, "byteOffset", false))
return false;
// byteLength
if (!parseJsonValueUI32(m_bufferViews[i].m_byteLength, bufferView, "byteLength", true))
return false;
// byteStride
if (!parseJsonValueUI32(m_bufferViews[i].m_byteStride, bufferView, "byteStride", false))
return false;
// target
ui32 target = 0;
if (parseJsonValueUI32(target, bufferView, "target", false))
m_bufferViews[i].m_target = static_cast<GltfBufferViewInfo::TargetType>(target);
else
return false;
}
return true;
}
bool GltfRes::loadAnimations(nlohmann::json& json)
{
// animations may not exist
if (json.find("animations") == json.end())
return true;
nlohmann::json& animations = json["animations"];
if (!animations.is_array())
return true;
m_animations.resize(animations.size());
for (ui32 i = 0; i < animations.size(); i++)
{
nlohmann::json& animation = animations[i];
// name
if (!parseJsonValueString(m_animations[i].m_name, animation, "name", false))
return false;
// channels
nlohmann::json& channels = animation["channels"];
if (!channels.is_array())
return false;
m_animations[i].m_channels.resize(channels.size());
for (ui32 j = 0; j < channels.size(); j++)
{
nlohmann::json& channel = channels[j];
GltfAnimChannel& animChannel = m_animations[i].m_channels[j];
if (!parseJsonValueI32(animChannel.m_node, channel["target"], "node", true))
return false;
String path;
if (parseJsonValueString(path, channel["target"], "path", true))
{
if (StringUtil::Equal(path, "Rotation", false)) animChannel.m_path = GltfAnimChannel::Path::Rotation;
else if (StringUtil::Equal(path, "Scale", false)) animChannel.m_path = GltfAnimChannel::Path::Scale;
else if (StringUtil::Equal(path, "Translation", false)) animChannel.m_path = GltfAnimChannel::Path::Translation;
else if (StringUtil::Equal(path, "Weigths", false)) animChannel.m_path = GltfAnimChannel::Path::Weights;
else EchoLogError("Unknow gltf anim chanel path");
}
if (!parseJsonValueI32(animChannel.m_sampler, channel, "sampler", true))
return false;
}
// samplers
nlohmann::json& samplers = animation["samplers"];
if (!samplers.is_array())
return false;
m_animations[i].m_samplers.resize(samplers.size());
for (ui32 j = 0; j < samplers.size(); j++)
{
nlohmann::json& sampler = samplers[j];
GltfAnimSampler& animSampler = m_animations[i].m_samplers[j];
if (!parseJsonValueI32(animSampler.m_input, sampler, "input", true))
return false;
if (!parseJsonValueString(animSampler.m_interpolation, sampler, "interpolation", true))
return false;
if (!parseJsonValueI32(animSampler.m_output, sampler, "output", true))
return false;
}
}
buildAnimationData();
return true;
}
static AnimProperty::Type MapAnimPropertyType(GltfAccessorInfo::Type type)
{
switch (type)
{
case GltfAccessorInfo::Type::Scalar: return AnimProperty::Type::Float;
case GltfAccessorInfo::Type::Vec3: return AnimProperty::Type::Vector3;
case GltfAccessorInfo::Type::Vec4: return AnimProperty::Type::Quaternion;
default: return AnimProperty::Type::Unknown;
}
}
static AnimCurve::InterpolationType MappingInterpolationType(const String& type)
{
if (StringUtil::Equal(type, "LINEAR", false))
{
return AnimCurve::InterpolationType::Linear;
}
else
{
EchoLogError("Unknow gltf animation interpolation type [%s]", type.c_str());
return AnimCurve::InterpolationType::Linear;
}
}
bool GltfRes::buildAnimationData()
{
for (GltfAnimInfo& anim : m_animations)
{
AnimClip* animClip = EchoNew(AnimClip);
animClip->m_name = anim.m_name;
for (GltfAnimChannel& channel : anim.m_channels)
{
GltfAnimSampler& sampler = anim.m_samplers[channel.m_sampler];
{
AnimObject* animNode = EchoNew(AnimObject);
// node path
animNode->m_userData = channel.m_node;
// properties
GltfAccessorInfo& timeAccess = m_accessors[sampler.m_input];
GltfAccessorInfo& keyAccess = m_accessors[sampler.m_output];
// add property
AnimProperty* animProperty = animNode->addProperty(std::string(magic_enum::enum_name(channel.m_path)).c_str(), MapAnimPropertyType(keyAccess.m_type));
if (timeAccess.m_count == keyAccess.m_count)
{
// interpolate type
animProperty->setInterpolationType(MappingInterpolationType(sampler.m_interpolation));
// key values
switch (keyAccess.m_type)
{
case GltfAccessorInfo::Type::Scalar: addKeyToAnimProperty<float, AnimPropertyFloat>(timeAccess, keyAccess, animProperty); break;
case GltfAccessorInfo::Type::Vec3: addKeyToAnimProperty<Vector3, AnimPropertyVec3>(timeAccess, keyAccess, animProperty); break;
case GltfAccessorInfo::Type::Vec4: addKeyToAnimProperty<Quaternion, AnimPropertyQuat>(timeAccess, keyAccess, animProperty);break;
default: break;
}
}
animClip->m_objects.emplace_back(animNode);
}
}
animClip->optimize();
animClip->calcLength();
anim.m_clip = animClip;
}
return true;
}
bool GltfRes::loadMeshes(nlohmann::json& json)
{
if (json.find("meshes") == json.end())
return false;
nlohmann::json& meshes = json["meshes"];
if (!meshes.is_array())
return false;
m_meshes.resize(meshes.size());
for (ui32 i = 0; i < meshes.size(); i++)
{
nlohmann::json& mesh = meshes[i];
// name
if (!parseJsonValueString(m_meshes[i].m_name, mesh, "name", false))
return false;
if (mesh.find("primitives") == mesh.end())
return false;
nlohmann::json& primitives = mesh["primitives"];
if (!primitives.is_array())
return false;
m_meshes[i].m_primitives.resize(primitives.size());
for (ui32 j = 0; j < primitives.size(); j++)
{
nlohmann::json& primitive = primitives[j];
// indices can be not exist
if (!parseJsonValueUI32(m_meshes[i].m_primitives[j].m_indices, primitive, "indices", false))
return false;
// material
if (!parseJsonValueUI32(m_meshes[i].m_primitives[j].m_material, primitive, "material", false))
return false;
// mode
if (primitive.find("mode") != primitive.end())
{
if (!primitive["mode"].is_number())
return false;
m_meshes[i].m_primitives[j].m_mode = GltfPrimitive::Mode(primitive["mode"].get<ui8>());
}
if (primitive.find("attributes") == primitive.end())
return false;
nlohmann::json& attributes = primitive["attributes"];
if (!attributes.is_object())
return false;
for (nlohmann::json::iterator it = attributes.begin(); it != attributes.end(); it++)
{
m_meshes[i].m_primitives[j].m_attributes[it.key()] = it.value();
}
if (!buildPrimitiveData(i, j))
{
EchoLogError("gltf build primitive data error");
}
}
}
return true;
}
bool GltfRes::buildPrimitiveData(int meshIdx, int primitiveIdx)
{
GltfPrimitive& primitive = m_meshes[meshIdx].m_primitives[primitiveIdx];
const GltfAttributes& attributes = primitive.m_attributes;
// indices
void* indicesDataVoid = nullptr;
ui32 indicesCount = 0;
ui32 indicesStride = 0;
if (primitive.m_indices != -1)
{
GltfAccessorInfo& access = m_accessors[primitive.m_indices];
indicesDataVoid = getAccessData<Byte*>(access);
indicesCount = access.m_count;
// stride
if (access.m_componentType == GltfAccessorInfo::UnsignedByte)
indicesStride = 1;
else if (access.m_componentType == GltfAccessorInfo::UnsignedShort)
indicesStride = 2;
else if (access.m_componentType == GltfAccessorInfo::UnsignedInt)
indicesStride = 4;
else
{
EchoLogError("gltf mesh index type isn't UnsignedShort when buildPrimitiveData()");
return false;
}
}
// parse vertex format
MeshVertexFormat vertFormat;
vertFormat.m_isUseNormal = attributes.find("NORMAL") != attributes.end();
vertFormat.m_isUseUV = attributes.find("TEXCOORD_0") != attributes.end();
vertFormat.m_isUseVertexColor = attributes.find("COLOR_0") != attributes.end();
vertFormat.m_isUseBlendingData = attributes.find("WEIGHTS_0") != attributes.end() && attributes.find("JOINTS_0") != attributes.end();
// parse vertex count
int vertCount = 0;
for (auto& it : primitive.m_attributes)
{
GltfAccessorInfo& access = m_accessors[it.second];
if (vertCount != 0 && vertCount != access.m_count)
return false;
vertCount = access.m_count;
}
// init vertex data
MeshVertexData vertexData;
vertexData.set(vertFormat, vertCount);
// vertices data
for (auto& it : primitive.m_attributes)
{
int attributeIdx = it.second;
GltfAccessorInfo& access = m_accessors[attributeIdx];
vertexData.set(vertFormat, access.m_count);
if (it.first == "POSITION")
{
if (access.m_type == GltfAccessorInfo::Vec3 && access.m_componentType == GltfAccessorInfo::ComponentType::Float)
{
Vector3* positions = getAccessData<Vector3*>(access);
for (int i = 0; i < vertCount; i++)
vertexData.setPosition(i, positions[i]);
}
else
{
return false;
}
}
else if (it.first == "NORMAL")
{
if (access.m_type == GltfAccessorInfo::Vec3 && access.m_componentType == GltfAccessorInfo::ComponentType::Float)
{
Vector3* normals = getAccessData<Vector3*>(access);
for (int i = 0; i < vertCount; i++)
vertexData.setNormal(i, normals[i]);
}
else
{
return false;
}
}
else if (it.first == "TEXCOORD_0")
{
if (access.m_type == GltfAccessorInfo::Vec2 && access.m_componentType == GltfAccessorInfo::ComponentType::Float)
{
Vector2* uv0s = getAccessData<Vector2*>(access);
for (int i = 0; i < vertCount; i++)
vertexData.setUV0(i, uv0s[i]);
}
else
{
return false;
}
}
else if (it.first == "COLOR_0")
{
if (access.m_type == GltfAccessorInfo::Vec4 && access.m_componentType == GltfAccessorInfo::ComponentType::Float)
{
Color* color0s = getAccessData<Color*>(access);
for (int i = 0; i < vertCount; i++)
vertexData.setColor(i, color0s[i]);
}
else
{
return false;
}
}
else if (it.first == "WEIGHTS_0")
{
if (access.m_type == GltfAccessorInfo::Vec4 && access.m_componentType == GltfAccessorInfo::ComponentType::Float)
{
Vector4* weights = getAccessData<Vector4*>(access);
for (int i = 0; i < vertCount; i++)
{
vertexData.setWeight(i, weights[i]);
}
}
else
{
return false;
}
}
else if (it.first == "JOINTS_0")
{
if (access.m_type == GltfAccessorInfo::Vec4 && access.m_componentType==GltfAccessorInfo::ComponentType::UnsignedShort)
{
ui8 joint[4];
ui16* joints = getAccessData<ui16*>(access);
for (int i = 0; i < vertCount; i++)
{
joint[0] = (ui8)joints[i * 4 + 0];
joint[1] = (ui8)joints[i * 4 + 1];
joint[2] = (ui8)joints[i * 4 + 2];
joint[3] = (ui8)joints[i * 4 + 3];
vertexData.setJoint(i, *(const Dword*)joint);
}
}
else
{
return false;
}
}
}
// create mesh
if (!primitive.m_mesh)
{
primitive.m_mesh = Mesh::create(true, true);
// update indices
if(indicesDataVoid)
primitive.m_mesh->updateIndices(indicesCount, indicesStride, indicesDataVoid);
// update vertices
primitive.m_mesh->updateVertexs(vertexData);
}
if (!buildMaterial(meshIdx, primitiveIdx))
return false;
return true;
}
bool GltfRes::loadSkins(nlohmann::json& json)
{
if (json.find("skins") == json.end())
return true;
nlohmann::json& skins = json["skins"];
if (!skins.is_array())
return false;
m_skins.resize(skins.size());
for (ui32 i = 0; i < skins.size(); i++)
{
GltfSkinInfo& skin = m_skins[i];
nlohmann::json& skinJson = skins[i];
// name
if (!parseJsonValueString(skin.m_name, skinJson, "name", false))
return false;
// skeleton
if (!parseJsonValueI32(skin.m_skeleton, skinJson, "skeleton", false))
return false;
// joints
if (skinJson.find("joints") == skinJson.end())
return false;
nlohmann::json& joints = skinJson["joints"];
if (!joints.is_array())
return false;
skin.m_joints.resize(joints.size());
for (ui32 j = 0; j < joints.size(); j++)
{
skin.m_joints[j] = joints[j].get<i32>();
}
// inverse bind matrices
if (parseJsonValueI32(skin.m_inverseBindMatrices, skinJson, "inverseBindMatrices", false))
{
GltfAccessorInfo& access = m_accessors[skin.m_inverseBindMatrices];
if (access.m_type == GltfAccessorInfo::Type::Mat4)
{
Matrix4* inverseMatrixData = getAccessData<Matrix4*>(access);
skin.m_inverseMatrixs.resize(joints.size());
for (ui32 j = 0; j < joints.size(); j++)
{
skin.m_inverseMatrixs[j] = inverseMatrixData[j];
}
}
else
{
EchoLogError("gltf assert skin inverse matrix's type must be mat4...");
}
}
else
{
return false;
}
}
return true;
}
bool GltfRes::buildMaterial(int meshIdx, int primitiveIdx)
{
GltfPrimitive& primitive = m_meshes[meshIdx].m_primitives[primitiveIdx];
GltfMaterialInfo& matInfo = primitive.m_material!=-1 ? m_materials[primitive.m_material] : GltfMaterialInfo::DEFAULT;
i32 baseColorTextureIdx = matInfo.m_pbr.m_baseColorTexture.m_index;
i32 metalicRoughnessIdx = matInfo.m_pbr.m_metallicRoughnessTexture.m_index;
i32 normalTextureIdx = matInfo.m_normalTexture.m_index;
i32 emissiveTextureIdx = matInfo.m_emissiveTexture.m_index;
i32 occusionTextureIdx = matInfo.m_occlusionTexture.m_index;
primitive.m_shader = GltfMaterial::getPbrMetalicRoughnessContent();
primitive.m_shader->setBlendMode("Opaque");
primitive.m_materialInst = ECHO_CREATE_RES(Material);
primitive.m_materialInst->setShaderPath(primitive.m_shader->getPath());
// macros
const MeshVertexFormat& vertexFormat = primitive.m_mesh->getVertexData().getFormat();
primitive.m_materialInst->setMacro("MANUAL_SRGB", true);
primitive.m_materialInst->setMacro("SRGB_FAST_APPROXIMATION", true);
primitive.m_materialInst->setMacro("HAS_NORMALS", vertexFormat.m_isUseNormal);
primitive.m_materialInst->setMacro("HAS_VERTEX_COLOR", vertexFormat.m_isUseVertexColor);
primitive.m_materialInst->setMacro("HAS_UV", vertexFormat.m_isUseUV);
primitive.m_materialInst->setMacro("HAS_SKIN", vertexFormat.m_isUseBlendingData);
primitive.m_materialInst->setMacro("HAS_BASECOLORMAP", baseColorTextureIdx != -1);
primitive.m_materialInst->setMacro("HAS_METALROUGHNESSMAP", metalicRoughnessIdx != -1);
primitive.m_materialInst->setMacro("HAS_NORMALMAP", normalTextureIdx != -1);
primitive.m_materialInst->setMacro("HAS_EMISSIVEMAP", emissiveTextureIdx != -1);
primitive.m_materialInst->setMacro("HAS_OCCLUSIONMAP", occusionTextureIdx != -1);
primitive.m_materialInst->setMacro("USE_IBL", LightModule::instance()->isIBLEnable());
//primitive.m_materialInst->setMacro("USE_TEX_LOD", true);
// temp variables
Vector2 metalicRoughnessFactor(matInfo.m_pbr.m_metallicFactor, matInfo.m_pbr.m_roughnessFactor);
// params
primitive.m_materialInst->setUniformValue("u_MetallicRoughnessValues", &metalicRoughnessFactor);
primitive.m_materialInst->setUniformValue("u_BaseColorFactor", &matInfo.m_pbr.m_baseColorFactor);
// base color texture
if (baseColorTextureIdx != -1)
{
i32 imageIdx = m_textures[baseColorTextureIdx].m_source;
primitive.m_materialInst->setUniformTexture("BaseColor", m_images[imageIdx].m_uri);
}
// normal map
if (normalTextureIdx != -1)
{
i32 imageIdx = m_textures[normalTextureIdx].m_source;
primitive.m_materialInst->setUniformTexture("u_NormalSampler", m_images[imageIdx].m_uri);
primitive.m_materialInst->setUniformValue("u_NormalScale", &matInfo.m_normalTexture.m_scale);
}
// emissive map
if (emissiveTextureIdx != -1)
{
i32 imageIdx = m_textures[emissiveTextureIdx].m_source;
primitive.m_materialInst->setUniformTexture("u_EmissiveSampler", m_images[imageIdx].m_uri);
primitive.m_materialInst->setUniformValue("u_EmissiveFactor", &matInfo.m_emissiveTexture.m_factor);
}
// metallic roughness texture
if (metalicRoughnessIdx != -1)
{
i32 imageIdx = m_textures[metalicRoughnessIdx].m_source;
primitive.m_materialInst->setUniformTexture("u_MetallicRoughnessSampler", m_images[imageIdx].m_uri);
}
// occlusion map
if (occusionTextureIdx != -1)
{
i32 imageIdx = m_textures[occusionTextureIdx].m_source;
primitive.m_materialInst->setUniformTexture("u_OcclusionSampler", m_images[imageIdx].m_uri);
primitive.m_materialInst->setUniformValue("u_OcclusionStrength", &matInfo.m_occlusionTexture.m_strength);
}
return true;
}
bool GltfRes::loadMaterials(nlohmann::json& json)
{
if (json.find("materials") == json.end())
return true;
nlohmann::json& materials = json["materials"];
if (!materials.is_array())
return false;
m_materials.resize(materials.size());
for (ui32 i = 0; i < materials.size(); i++)
{
nlohmann::json& material = materials[i];
// name
if (!parseJsonValueString(m_materials[i].m_name, material, "name", false))
return false;
// pbr metalic roughness
if (material.find("pbrMetallicRoughness") != material.end())
{
nlohmann::json& pbrMetallicRoughness = material["pbrMetallicRoughness"];
if (!pbrMetallicRoughness.is_object())
return false;
// pbrMetallicRoughness.baseColorFactor
if (pbrMetallicRoughness.find("baseColorFactor") != pbrMetallicRoughness.end())
{
nlohmann::json& baseColorFactor = pbrMetallicRoughness["baseColorFactor"];
if (!baseColorFactor.is_array())
return false;
if (baseColorFactor.size() != 4)
return false;
for (ui32 j = 0; j < 4; j++)
{
if (!baseColorFactor[j].is_number())
return false;
m_materials[i].m_pbr.m_baseColorFactor[j] = baseColorFactor[j].get<float>();
}
}
// pbrMetallicRoughness.baseColorTexture
if (pbrMetallicRoughness.find("baseColorTexture") != pbrMetallicRoughness.end())
{
if (!loadTextureInfo(m_materials[i].m_pbr.m_baseColorTexture, pbrMetallicRoughness["baseColorTexture"]))
return false;
}
// pbrMetallicRoughness.metallicFactor
if (!parseJsonValueFloat(m_materials[i].m_pbr.m_metallicFactor, pbrMetallicRoughness, "metallicFactor", false))
return false;
// pbrMetallicRoughness.roughnessFactor
if (!parseJsonValueFloat(m_materials[i].m_pbr.m_roughnessFactor, pbrMetallicRoughness, "roughnessFactor", false))
return false;
// pbrMetallicRoughness.metallicRoughnessTexture
if (pbrMetallicRoughness.find("metallicRoughnessTexture") != pbrMetallicRoughness.end())
{
if (!loadTextureInfo(m_materials[i].m_pbr.m_metallicRoughnessTexture, pbrMetallicRoughness["metallicRoughnessTexture"]))
return false;
}
}
// normal texture
if (material.find("normalTexture") != material.end())
{
nlohmann::json& normalTexture = material["normalTexture"];
if (!loadTextureInfo(m_materials[i].m_normalTexture, normalTexture))
return false;
// scale
if (!parseJsonValueFloat(m_materials[i].m_normalTexture.m_scale, normalTexture, "scale", false))
return false;
}
// occlusion texture
if (material.find("occlusionTexture") != material.end())
{
nlohmann::json& occlusionTexture = material["occlusionTexture"];
if (!loadTextureInfo(m_materials[i].m_occlusionTexture, occlusionTexture))
return false;
// scale
if (!parseJsonValueFloat(m_materials[i].m_occlusionTexture.m_strength, occlusionTexture, "strength", false))
return false;
}
// emissiveTexture
if (material.find("emissiveTexture") != material.end())
{
if (!loadTextureInfo(m_materials[i].m_emissiveTexture, material["emissiveTexture"]))
return false;
}
// emissiveFactor
if (material.find("emissiveFactor") != material.end())
{
nlohmann::json& emissiveFactor = material["emissiveFactor"];
if (!emissiveFactor.is_array())
return false;
if (emissiveFactor.size() != 3)
return false;
for (uint32_t j = 0; j < 3; ++j)
{
if (!emissiveFactor[j].is_number())
return false;
m_materials[i].m_emissiveTexture.m_factor[j] = emissiveFactor[j].get<float>();
}
}
// alphaMode
if (material.find("alphaMode") != material.end())
{
if (!material["alphaMode"].is_string())
return false;
std::string type = material["alphaMode"].get<std::string>();
if (type == "OPAQUE") m_materials[i].m_alphaMode = GltfMaterialInfo::AlphaMode::Opaque;
else if (type == "MASK") m_materials[i].m_alphaMode = GltfMaterialInfo::AlphaMode::Mask;
else if (type == "BLEND") m_materials[i].m_alphaMode = GltfMaterialInfo::AlphaMode::Blend;
else return false;
}
// alphaCutoff
if (!parseJsonValueFloat(m_materials[i].m_alphaCutoff, material, "alphaCutoff", false))
return false;
// doubleSided
if (!parseJsonValueBool(m_materials[i].m_isDoubleSided, material, "doubleSided", false))
return false;
// TODO: materials[i]["extensions"]
// TODO: materials[i]["extras"]
}
return true;
}
bool GltfRes::loadTextureInfo(GltfMaterialInfo::Texture& texture, nlohmann::json& json)
{
if (!json.is_object())
return false;
// index
if (json.find("index") == json.end())
return false;
if (!json["index"].is_number())
return false;
texture.m_index = json["index"].get<i32>();
// texCoord
if (!parseJsonValueI32(texture.m_texCoord, json, "texCoord", false))
return false;
// TODO json["extensions"]
// TODO json["extras"]
return true;
}
bool GltfRes::loadImages(nlohmann::json& json)
{
if (json.find("images") == json.end())
return true;
nlohmann::json& images = json["images"];
if (!images.is_array())
return false;
m_images.resize(images.size());
for (ui32 i = 0; i < images.size(); i++)
{
nlohmann::json& image = images[i];
// name
if (!parseJsonValueString(m_images[i].m_name, image, "name", false))
return false;
// uri
if (parseJsonValueString(m_images[i].m_uri, image, "uri", false))
m_images[i].m_uri = PathUtil::GetFileDirPath(m_path.getPath()) + m_images[i].m_uri;
else
return false;
// mimeType
if (!parseJsonValueString(m_images[i].m_mimeType, image, "mimeType", false))
return false;
// bufferView
if (!parseJsonValueI32(m_images[i].m_bufferView, image, "bufferView", false))
return false;
}
// TODO: Handle dependencies between mimeType and bufferView
// TODO: Handle the fact that we want an uri OR a bufferView
// TODO: images[i]["extensions"]
// TODO: images[i]["extras"]
return true;
}
bool GltfRes::loadSamplers(nlohmann::json& json)
{
if (json.find("samplers") == json.end())
return true;
nlohmann::json& samplers = json["samplers"];
if (!samplers.is_array())
return false;
m_samplers.resize(samplers.size());
for (ui32 i = 0; i < samplers.size(); i++)
{
nlohmann::json& sampler = samplers[i];
// name
if (!parseJsonValueString(m_samplers[i].m_name, sampler, "name", false))
return false;
i32 iValue;
// magFilter
if (parseJsonValueI32(iValue, sampler, "magFilter", false))
m_samplers[i].m_magFilter = GltfSamplerInfo::MagFilter(iValue);
else
return false;
// minFilter
if (parseJsonValueI32(iValue, sampler, "minFilter", false))
m_samplers[i].m_minFilter = GltfSamplerInfo::MinFilter(iValue);
else
return false;
// wrapS
if (parseJsonValueI32(iValue, sampler, "wrapS", false))
m_samplers[i].m_wrapS = GltfSamplerInfo::WrappingMode(iValue);
else
return false;
// wrapT
if (parseJsonValueI32(iValue, sampler, "wrapT", false))
m_samplers[i].m_wrapT = GltfSamplerInfo::WrappingMode(iValue);
else
return false;
// TODO: samplers[i]["extensions"]
// TODO: samplers[i]["extras"]
}
return true;
}
bool GltfRes::loadTextures(nlohmann::json& json)
{
if (json.find("textures") == json.end())
return true;
nlohmann::json& textures = json["textures"];
if (!textures.is_array())
return false;
m_textures.resize(textures.size());
for (ui32 i = 0; i < textures.size(); i++)
{
nlohmann::json& texture = textures[i];
// name
if (!parseJsonValueString(m_textures[i].m_name, texture, "name", false))
return false;
// sampler
if (!parseJsonValueI32(m_textures[i].m_sampler, texture, "sampler", false))
return false;
// source
if (!parseJsonValueI32(m_textures[i].m_source, texture, "source", false))
return false;
}
// TODO: textures[i]["extensions"]
// TODO: textures[i]["extras"]
return true;
}
i32 GltfRes::getNodeIdxByMeshIdx(i32 meshIdx)
{
for (size_t i=0; i<m_nodes.size(); i++)
{
const GltfNodeInfo& node = m_nodes[i];
if (node.m_mesh != -1 && node.m_mesh == meshIdx)
return static_cast<i32>(i);
}
return -1;
}
static String calcSkeletonNodePath(Node* node)
{
String result = "skeleton";
while (node->getParent())
{
result = "../" +result;
node = node->getParent();
}
return result;
}
void GltfRes::bindSkeleton(Node* parent)
{
GltfMesh* mesh = ECHO_DOWN_CAST<GltfMesh*>(parent);
if (mesh)
{
mesh->setSkeletonPath(calcSkeletonNodePath(parent));
}
for (Node* child : parent->getChildren())
{
bindSkeleton(child);
}
}
// build echo node
Node* GltfRes::build()
{
if (!m_isLoaded)
return nullptr;
vector<Node*>::type nodes;
for (GltfSceneInfo& scene : m_scenes)
{
for (ui32 rootNodeIdx : scene.m_nodes)
{
createNode( nodes, rootNodeIdx);
}
}
// animations
if (m_animations.size())
{
Node* node = createSkeleton();
if (node)
nodes.emplace_back(node);
}
// only have one root node
if (nodes.size() == 1)
{
String resPureName = PathUtil::GetPureFilename(m_path.getPath(), false);
nodes[0]->setName( resPureName);
bindSkeleton(nodes[0]);
return nodes[0];
}
// have multi root node
if (nodes.size() > 1)
{
String resPureName = PathUtil::GetPureFilename(m_path.getPath(), false);
Node* node = Class::create<Node*>("Node");
node->setName( resPureName);
for (Node* child : nodes)
{
child->setParent(node);
}
bindSkeleton(node);
return node;
}
// no root node
return nullptr;
}
void GltfRes::createNode(vector<Node*>::type& nodes, int idx)
{
if (idx < 0 || idx >= (int)m_nodes.size())
return ;
vector<Node*>::type curNodes;
// create node base info
GltfNodeInfo& info = m_nodes[idx];
if (info.m_mesh != -1)
{
GltfMeshInfo& meshInfo = m_meshes[info.m_mesh];
if (meshInfo.m_primitives.size())
{
// create multi mesh nodes
for (size_t i = 0; i < meshInfo.m_primitives.size(); i++)
{
GltfMesh* mesh = Class::create<GltfMesh*>("GltfMesh");
mesh->setName(m_meshes[info.m_mesh].m_name);
mesh->setGltfRes(m_path);
mesh->setMeshIdx(info.m_mesh);
mesh->setPrimitiveIdx(static_cast<int>(i));
curNodes.emplace_back(mesh);
}
}
}
else
{
// do nothing
}
for (Node* node : curNodes)
{
// rotation
node->setLocalOrientation(info.m_rotation);
// scale
node->setLocalScaling(info.m_scale);
// translation
node->setLocalPosition(info.m_translation);
// set node name
if( node->getName().empty())
node->setName(info.m_name.empty() ? node->getClassName() : info.m_name);
}
nodes.insert(nodes.end(), curNodes.begin(), curNodes.end());
// create children
for (ui32 childIdx : info.m_children)
{
createNode(nodes, childIdx);
}
}
Node* GltfRes::createSkeleton()
{
if (m_animations.size())
{
GltfSkeleton* skeleton = Class::create<GltfSkeleton*>("GltfSkeleton");
skeleton->setName("skeleton");
skeleton->setGltfRes(m_path);
return skeleton;
}
return nullptr;
}
}
| [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
7e3c30a50a63b1163db5787decc16312c5e75e82 | 412ff89e777e70d056a0e36579f623b5e87773c9 | /CurrentSensor/CurrentSensor.ino | d070268aead0ec46eabe794dea8f7d8a04229e8a | [
"MIT"
] | permissive | WCRSyyc/sensor-samples | 800f73ef36c42e8e50f8ff14e78cd1176176d09c | c07e591871f6e1712fa25db5499f8ca2a4af2914 | refs/heads/master | 2021-01-19T05:00:30.903869 | 2015-08-02T06:23:58 | 2015-08-02T06:23:58 | 40,066,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | ino | /*
Wiring
Sensor Arduino
GND ------> GND
OUT ------> Analog 0
VCC ------> 5V
*/
int AnalogInputPin = 0; // Define analog input pin
int PowerLedPin = 2; // Power LED on digital pin 2
int calibration = -7; // Calibration offset
void setup(){
Serial.begin(9600);
pinMode(PowerLedPin, OUTPUT);
digitalWrite(PowerLedPin, HIGH);
}
void loop(){
int maxRawVoltage = maxVoltage();
currentSensor(maxRawVoltage);
Serial.print("\n");
delay(1000);
}
// Find largest current value
int maxVoltage() {
int MaxADC = 0;
for (int x = 0; x < 300; x++) {
int RawADC = analogRead(AnalogInputPin) + calibration;
if (RawADC > MaxADC) {
MaxADC = RawADC;
}
delay(2);
}
return MaxADC;
}
// --------------------------------------------------------------------------------------------------------
// Print decimal numbers
void printDouble(double val, byte precision) {
Serial.print (int(val)); // Print int part
if( precision > 0) { // Print decimal part
Serial.print(".");
unsigned long frac, mult = 1;
byte padding = precision -1;
while(precision--) mult *=10;
if(val >= 0) frac = (val - int(val)) * mult; else frac = (int(val) - val) * mult;
unsigned long frac1 = frac;
while(frac1 /= 10) padding--;
while(padding--) Serial.print("0");
Serial.print(frac,DEC) ;
}
}
// Read 1.1V reference against AVcc
long readInternalVcc() {
long result;
ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
delay(2); // Wait for Vref to settle
ADCSRA |= _BV(ADSC); // Convert
while (bit_is_set(ADCSRA,ADSC));
result = ADCL;
result |= ADCH<<8;
result = 1126400L / result; // Back-calculate AVcc in mV
return result;
}
// Calculate current with Allegro ACS714
void currentSensor(int RawADC) {
int Sensitivity = 185; // mV/A 185 for 5A, 66 for 30A
long InternalVcc = readInternalVcc();
double ZeroCurrentVcc = InternalVcc / 2;
double SensedVoltage = (RawADC * InternalVcc) / 1024;
double Difference = SensedVoltage - ZeroCurrentVcc; // actual voltage in millivolts
double SensedCurrent = Difference / Sensitivity; // actual current in amps
double RMS = ((Difference * 0.7)/1000)*2;
//Serial.print("Sensed current (A): ");
//printDouble(SensedCurrent, 3);
//Serial.print(" || InternalVCC (mV): ");
//printDouble(InternalVcc, 3);
//Serial.print(" || ZeroCurrentVCC (mV): ");
//printDouble(ZeroCurrentVcc, 3);
//Serial.print(" || Sensed Voltage (mV): ");
//printDouble(SensedVoltage, 3);
//Serial.print(" || Difference (mV): ");
//printDouble(Difference, 3);
//Serial.print(" || RMS (A): ");
printDouble(RMS, 3);
//return SensedCurrent; // Return the Current
}
| [
"philduby@phriendly.net"
] | philduby@phriendly.net |
cc2f220f0b85a8935a815933cb00f99e832f922a | aab6b6213573093e11a6921de8f5dc8dcf0401a8 | /aviao.cpp | aa11d277e3deee5809b70b78436d242b4ab361fe | [] | no_license | AbreuGab/Acerte_o_Numero | d201a25317ee298d15e8ab0a27a602de566502bb | 9039440e6d6f1f750253b57b0b37f908284e50f8 | refs/heads/master | 2021-06-07T14:51:44.117755 | 2016-11-21T18:25:27 | 2016-11-21T18:25:27 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,052 | cpp | #include<iostream>
using std::cout;
using std::cin;
using std::endl;
class Aviao{
private:
float altitude=0, variacao;
public:
bool estado=true;
void imprimirAltitude(){
cout << "altitude atual: " << altitude << endl;
};
void alterarAltitude(){
cout << "Entre com a variacao de altitude: ";
cin >> variacao;
altitude=altitude+variacao;
if(altitude<0||altitude>1000){
estado=false;
};
};
};
int main(){
Aviao myAviao;
cout << "VAMOS VOAR! Controle a altidude de aviao, de 0 a 1000 pes, ou ele será destruido"<<endl;
myAviao.imprimirAltitude();
do{
myAviao.alterarAltitude();
myAviao.imprimirAltitude();
}while(myAviao.estado==true);
cout << endl << endl <<" YOU LOSE!";
};
| [
"noreply@github.com"
] | AbreuGab.noreply@github.com |
5f995cab1a62e945593d7693b86ce9e60478646f | dcd772f567ef8a8a1173a9f437cd68f211fb9362 | /crow/contrib/include/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp | 32c01087e646c3423b1004b79847f5d5334d6215 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0"
] | permissive | idaholab/raven | 39cdce98ad916c638399232cdc01a9be00e200a2 | 2b16e7aa3325fe84cab2477947a951414c635381 | refs/heads/devel | 2023-08-31T08:40:16.653099 | 2023-08-29T16:21:51 | 2023-08-29T16:21:51 | 85,989,537 | 201 | 126 | Apache-2.0 | 2023-09-13T21:55:43 | 2017-03-23T19:29:27 | C++ | UTF-8 | C++ | false | false | 1,225 | hpp | /*=============================================================================
Copyright (c) 2011 Eric Niebler
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)
==============================================================================*/
#if !defined(BOOST_FUSION_SEGMENTED_END_HPP_INCLUDED)
#define BOOST_FUSION_SEGMENTED_END_HPP_INCLUDED
#include <boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp>
#include <boost/fusion/iterator/segmented_iterator.hpp>
#include <boost/fusion/container/list/cons.hpp>
namespace boost { namespace fusion { namespace detail
{
//auto segmented_end( seq )
//{
// return make_segmented_iterator( segmented_end_impl( seq ) );
//}
template <typename Sequence, typename Nil_ = fusion::nil_>
struct segmented_end
{
typedef
segmented_iterator<
typename segmented_end_impl<Sequence, Nil_>::type
>
type;
static type call(Sequence & seq)
{
return type(
segmented_end_impl<Sequence, Nil_>::call(seq, Nil_()));
}
};
}}}
#endif
| [
"codypermann@gmail.com"
] | codypermann@gmail.com |
8aebd8afc839751d13d9afde2fd6e5c921611d89 | c619b43718441c6faef4cafa01eb7a81c4009a3d | /components/safe_browsing/core/verdict_cache_manager.cc | fe793b5205899660d7ac0002111a90698c4b5622 | [
"BSD-3-Clause"
] | permissive | cyjie/chromium | 553cb41ac7416a6a23e80129ab35d394d31deb58 | 54cfcfc367d540c502f89a2e3c15bfb43be27a1a | refs/heads/master | 2022-12-31T23:35:23.038391 | 2020-11-11T07:12:22 | 2020-11-11T07:12:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,186 | cc | // Copyright 2019 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 "components/safe_browsing/core/verdict_cache_manager.h"
#include "base/base64.h"
#include "base/command_line.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/optional.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/task/post_task.h"
#include "base/time/time.h"
#include "components/history/core/browser/history_service_observer.h"
#include "components/safe_browsing/core/common/thread_utils.h"
#include "components/safe_browsing/core/db/v4_protocol_manager_util.h"
#include "components/safe_browsing/core/proto/csd.pb.h"
namespace safe_browsing {
namespace {
// Keys for storing password protection verdict into a DictionaryValue.
const char kCacheCreationTime[] = "cache_creation_time";
const char kVerdictProto[] = "verdict_proto";
const char kRealTimeThreatInfoProto[] = "rt_threat_info_proto";
const char kPasswordOnFocusCacheKey[] = "password_on_focus_cache_key";
const char kRealTimeUrlCacheKey[] = "real_time_url_cache_key";
// Command-line flag for caching an artificial unsafe verdict.
const char kUnsafeUrlFlag[] = "mark_as_real_time_phishing";
// The maximum number of entries to be removed in a single cleanup. Removing too
// many entries all at once could cause jank.
const int kMaxRemovedEntriesCount = 1000;
// The interval between the construction and the first cleanup is performed.
const int kCleanUpIntervalInitSecond = 120;
// The interval between every cleanup task.
const int kCleanUpIntervalSecond = 1800;
// A helper class to include all match params. It is used as a centralized
// place to determine if the current cache entry should be considered as a
// match.
struct MatchParams {
MatchParams()
: is_exact_host(false),
is_exact_path(false),
is_only_exact_match_allowed(true) {}
bool ShouldMatch() {
return !is_only_exact_match_allowed || (is_exact_host && is_exact_path);
}
// Indicates whether the current cache entry and the url have the same host.
bool is_exact_host;
// Indicates whether the current cache entry and the url have the same path.
bool is_exact_path;
// Indicates whether the current cache entry is only applicable for exact
// match.
bool is_only_exact_match_allowed;
};
// Given a URL of either http or https scheme, return its http://hostname.
// e.g., "https://www.foo.com:80/bar/test.cgi" -> "http://www.foo.com".
GURL GetHostNameWithHTTPScheme(const GURL& url) {
DCHECK(url.SchemeIsHTTPOrHTTPS());
std::string result(url::kHttpScheme);
result.append(url::kStandardSchemeSeparator).append(url.host());
return GURL(result);
}
// e.g, ("www.foo.com", "/bar/test.cgi") -> "http://www.foo.com/bar/test/cgi"
GURL GetUrlWithHostAndPath(const std::string& host, const std::string& path) {
std::string result(url::kHttpScheme);
result.append(url::kStandardSchemeSeparator).append(host).append(path);
return GURL(result);
}
// e.g, "www.foo.com/bar/test/cgi" -> "http://www.foo.com"
GURL GetHostNameFromCacheExpression(const std::string& cache_expression) {
std::string cache_expression_url(url::kHttpScheme);
cache_expression_url.append(url::kStandardSchemeSeparator)
.append(cache_expression);
return GetHostNameWithHTTPScheme(GURL(cache_expression_url));
}
// Convert a Proto object into a DictionaryValue.
template <class T>
std::unique_ptr<base::DictionaryValue> CreateDictionaryFromVerdict(
const T& verdict,
const base::Time& receive_time,
const char* proto_name) {
DCHECK(proto_name == kVerdictProto || proto_name == kRealTimeThreatInfoProto);
std::unique_ptr<base::DictionaryValue> result =
std::make_unique<base::DictionaryValue>();
result->SetInteger(kCacheCreationTime,
static_cast<int>(receive_time.ToDoubleT()));
std::string serialized_proto(verdict.SerializeAsString());
// Performs a base64 encoding on the serialized proto.
base::Base64Encode(serialized_proto, &serialized_proto);
result->SetString(proto_name, serialized_proto);
return result;
}
// Generate path variants of the given URL.
void GeneratePathVariantsWithoutQuery(const GURL& url,
std::vector<std::string>* paths) {
std::string canonical_path;
V4ProtocolManagerUtil::CanonicalizeUrl(
url, /*canonicalized_hostname=*/nullptr, &canonical_path,
/*canonicalized_query=*/nullptr);
V4ProtocolManagerUtil::GeneratePathVariantsToCheck(canonical_path,
std::string(), paths);
}
template <class T>
bool ParseVerdictEntry(base::Value* verdict_entry,
int* out_verdict_received_time,
T* out_verdict,
const char* proto_name) {
DCHECK(proto_name == kVerdictProto || proto_name == kRealTimeThreatInfoProto);
if (!verdict_entry || !verdict_entry->is_dict() || !out_verdict)
return false;
base::Value* cache_creation_time_value =
verdict_entry->FindKey(kCacheCreationTime);
if (!cache_creation_time_value || !cache_creation_time_value->is_int())
return false;
*out_verdict_received_time = cache_creation_time_value->GetInt();
base::Value* verdict_proto_value = verdict_entry->FindKey(proto_name);
if (!verdict_proto_value || !verdict_proto_value->is_string())
return false;
std::string serialized_proto = verdict_proto_value->GetString();
return base::Base64Decode(serialized_proto, &serialized_proto) &&
out_verdict->ParseFromString(serialized_proto);
}
// Return the path of the cache expression. e.g.:
// "www.google.com" -> ""
// "www.google.com/abc" -> "/abc"
// "foo.com/foo/bar/" -> "/foo/bar/"
std::string GetCacheExpressionPath(const std::string& cache_expression) {
DCHECK(!cache_expression.empty());
size_t first_slash_pos = cache_expression.find_first_of("/");
if (first_slash_pos == std::string::npos)
return "";
return cache_expression.substr(first_slash_pos);
}
// Returns the number of path segments in |cache_expression_path|.
// For example, return 0 for "/", since there is no path after the leading
// slash; return 3 for "/abc/def/gh.html".
size_t GetPathDepth(const std::string& cache_expression_path) {
return base::SplitString(base::StringPiece(cache_expression_path), "/",
base::KEEP_WHITESPACE, base::SPLIT_WANT_NONEMPTY)
.size();
}
size_t GetHostDepth(const std::string& hostname) {
return base::SplitString(base::StringPiece(hostname), ".",
base::KEEP_WHITESPACE, base::SPLIT_WANT_NONEMPTY)
.size();
}
bool PathVariantsMatchCacheExpression(
const std::vector<std::string>& generated_paths,
const std::string& cache_expression_path) {
return base::Contains(generated_paths, cache_expression_path);
}
bool IsCacheExpired(int cache_creation_time, int cache_duration) {
// Note that we assume client's clock is accurate or almost accurate.
return base::Time::Now().ToDoubleT() >
static_cast<double>(cache_creation_time + cache_duration);
}
template <class T>
size_t RemoveExpiredEntries(base::Value* verdict_dictionary,
const char* proto_name) {
DCHECK(proto_name == kVerdictProto || proto_name == kRealTimeThreatInfoProto);
std::vector<std::string> expired_keys;
for (const auto& item : verdict_dictionary->DictItems()) {
int verdict_received_time;
T verdict;
if (!ParseVerdictEntry<T>(&item.second, &verdict_received_time, &verdict,
proto_name) ||
IsCacheExpired(verdict_received_time, verdict.cache_duration_sec())) {
expired_keys.push_back(item.first);
}
}
for (const std::string& key : expired_keys)
verdict_dictionary->RemoveKey(key);
return expired_keys.size();
}
std::string GetKeyOfTypeFromTriggerType(
LoginReputationClientRequest::TriggerType trigger_type,
ReusedPasswordAccountType password_type) {
return trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE
? kPasswordOnFocusCacheKey
: base::NumberToString(
static_cast<std::underlying_type_t<
ReusedPasswordAccountType::AccountType>>(
password_type.account_type()));
}
// If the verdict doesn't have |cache_expression_match_type| field, always
// interpret it as exact match only.
template <typename T>
bool IsOnlyExactMatchAllowed(T verdict) {
NOTREACHED();
return true;
}
template <>
bool IsOnlyExactMatchAllowed<RTLookupResponse::ThreatInfo>(
RTLookupResponse::ThreatInfo verdict) {
return verdict.cache_expression_match_type() ==
RTLookupResponse::ThreatInfo::EXACT_MATCH;
}
// Always do fuzzy matching for password protection verdicts.
template <>
bool IsOnlyExactMatchAllowed<LoginReputationClientResponse>(
LoginReputationClientResponse verdict) {
return false;
}
template <typename T>
std::string GetCacheExpression(T verdict) {
NOTREACHED();
return "";
}
template <>
std::string GetCacheExpression<RTLookupResponse::ThreatInfo>(
RTLookupResponse::ThreatInfo verdict) {
// The old cache doesn't have |cache_expression_using_match_type| field
// setup, so it should fallback to |cache_expression| field. This check
// should be removed once |cache_expression| field is deprecated in
// RTLookupResponse.
if (verdict.cache_expression_match_type() ==
RTLookupResponse::ThreatInfo::MATCH_TYPE_UNSPECIFIED)
return verdict.cache_expression();
return verdict.cache_expression_using_match_type();
}
template <>
std::string GetCacheExpression<LoginReputationClientResponse>(
LoginReputationClientResponse verdict) {
return verdict.cache_expression();
}
template <class T>
typename T::VerdictType GetMostMatchingCachedVerdictWithPathMatching(
const GURL& url,
const std::string& type_key,
scoped_refptr<HostContentSettingsMap> content_settings,
const ContentSettingsType contents_setting_type,
const char* proto_name,
T* out_response,
MatchParams match_params) {
DCHECK(proto_name == kVerdictProto || proto_name == kRealTimeThreatInfoProto);
GURL hostname = GetHostNameWithHTTPScheme(url);
std::unique_ptr<base::DictionaryValue> cache_dictionary =
base::DictionaryValue::From(content_settings->GetWebsiteSetting(
hostname, GURL(), contents_setting_type, nullptr));
if (!cache_dictionary || cache_dictionary->empty())
return T::VERDICT_TYPE_UNSPECIFIED;
base::Value* verdict_dictionary =
cache_dictionary->FindKeyOfType(type_key, base::Value::Type::DICTIONARY);
if (!verdict_dictionary) {
return T::VERDICT_TYPE_UNSPECIFIED;
}
std::vector<std::string> paths;
GeneratePathVariantsWithoutQuery(url, &paths);
std::string root_path;
V4ProtocolManagerUtil::CanonicalizeUrl(
url, /*canonicalized_hostname*/ nullptr, &root_path,
/*canonicalized_query*/ nullptr);
int max_path_depth = -1;
typename T::VerdictType most_matching_verdict_type =
T::VERDICT_TYPE_UNSPECIFIED;
// For all the verdicts of the same origin, we key them by |cache_expression|.
// Its corresponding value is a DictionaryValue contains its creation time and
// the serialized verdict proto.
for (const auto& item : verdict_dictionary->DictItems()) {
int verdict_received_time;
T verdict;
// Ignore any entry that we cannot parse. These invalid entries will be
// cleaned up during shutdown.
if (!ParseVerdictEntry<T>(&item.second, &verdict_received_time, &verdict,
proto_name))
continue;
// Since verdict content settings are keyed by origin, we only need to
// compare the path part of the cache_expression and the given url.
std::string cache_expression_path =
GetCacheExpressionPath(GetCacheExpression(verdict));
match_params.is_only_exact_match_allowed = IsOnlyExactMatchAllowed(verdict);
match_params.is_exact_path = (root_path == cache_expression_path);
// Finds the most specific match.
int path_depth = static_cast<int>(GetPathDepth(cache_expression_path));
if (path_depth > max_path_depth &&
PathVariantsMatchCacheExpression(paths, cache_expression_path) &&
match_params.ShouldMatch()) {
max_path_depth = path_depth;
// If the most matching verdict is expired, set the result to
// VERDICT_TYPE_UNSPECIFIED.
most_matching_verdict_type =
IsCacheExpired(verdict_received_time, verdict.cache_duration_sec())
? T::VERDICT_TYPE_UNSPECIFIED
: verdict.verdict_type();
out_response->CopyFrom(verdict);
}
}
return most_matching_verdict_type;
}
template <class T>
typename T::VerdictType GetMostMatchingCachedVerdictWithHostAndPathMatching(
const GURL& url,
const std::string& type_key,
scoped_refptr<HostContentSettingsMap> content_settings,
const ContentSettingsType contents_setting_type,
const char* proto_name,
T* out_response) {
DCHECK(proto_name == kVerdictProto || proto_name == kRealTimeThreatInfoProto);
auto most_matching_verdict_type = T::VERDICT_TYPE_UNSPECIFIED;
MatchParams match_params;
std::string root_host, root_path;
V4ProtocolManagerUtil::CanonicalizeUrl(url, &root_host, &root_path,
/*canonicalized_query*/ nullptr);
std::vector<std::string> host_variants;
V4ProtocolManagerUtil::GenerateHostVariantsToCheck(root_host, &host_variants);
int max_path_depth = -1;
for (const auto& host : host_variants) {
int depth = static_cast<int>(GetHostDepth(host));
GURL url_to_check = GetUrlWithHostAndPath(host, root_path);
match_params.is_exact_host = (root_host == host);
auto verdict_type = GetMostMatchingCachedVerdictWithPathMatching<T>(
url_to_check, type_key, content_settings, contents_setting_type,
proto_name, out_response, match_params);
if (depth > max_path_depth && verdict_type != T::VERDICT_TYPE_UNSPECIFIED) {
max_path_depth = depth;
most_matching_verdict_type = verdict_type;
}
}
return most_matching_verdict_type;
}
} // namespace
VerdictCacheManager::VerdictCacheManager(
history::HistoryService* history_service,
scoped_refptr<HostContentSettingsMap> content_settings)
: stored_verdict_count_password_on_focus_(base::nullopt),
stored_verdict_count_password_entry_(base::nullopt),
stored_verdict_count_real_time_url_check_(base::nullopt),
content_settings_(content_settings) {
if (history_service)
history_service_observer_.Add(history_service);
if (!content_settings->IsOffTheRecord()) {
ScheduleNextCleanUpAfterInterval(
base::TimeDelta::FromSeconds(kCleanUpIntervalInitSecond));
}
CacheArtificialVerdict();
}
void VerdictCacheManager::Shutdown() {
CleanUpExpiredVerdicts();
history_service_observer_.RemoveAll();
weak_factory_.InvalidateWeakPtrs();
}
VerdictCacheManager::~VerdictCacheManager() {}
void VerdictCacheManager::CachePhishGuardVerdict(
LoginReputationClientRequest::TriggerType trigger_type,
ReusedPasswordAccountType password_type,
const LoginReputationClientResponse& verdict,
const base::Time& receive_time) {
DCHECK(content_settings_);
DCHECK(trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE ||
trigger_type == LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
GURL hostname = GetHostNameFromCacheExpression(GetCacheExpression(verdict));
std::unique_ptr<base::DictionaryValue> cache_dictionary =
base::DictionaryValue::From(content_settings_->GetWebsiteSetting(
hostname, GURL(), ContentSettingsType::PASSWORD_PROTECTION, nullptr));
if (!cache_dictionary)
cache_dictionary = std::make_unique<base::DictionaryValue>();
std::unique_ptr<base::DictionaryValue> verdict_entry(
CreateDictionaryFromVerdict<LoginReputationClientResponse>(
verdict, receive_time, kVerdictProto));
std::string type_key =
GetKeyOfTypeFromTriggerType(trigger_type, password_type);
base::Value* verdict_dictionary =
cache_dictionary->FindKeyOfType(type_key, base::Value::Type::DICTIONARY);
if (!verdict_dictionary) {
verdict_dictionary = cache_dictionary->SetKey(
type_key, base::Value(base::Value::Type::DICTIONARY));
}
// Increases stored verdict count if we haven't seen this cache expression
// before.
if (!verdict_dictionary->FindKey(GetCacheExpression(verdict))) {
base::Optional<size_t>* stored_verdict_count =
trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE
? &stored_verdict_count_password_on_focus_
: &stored_verdict_count_password_entry_;
*stored_verdict_count = GetStoredPhishGuardVerdictCount(trigger_type) + 1;
}
// If same cache_expression is already in this verdict_dictionary, we simply
// override it.
verdict_dictionary->SetKey(
GetCacheExpression(verdict),
base::Value::FromUniquePtrValue(std::move(verdict_entry)));
content_settings_->SetWebsiteSettingDefaultScope(
hostname, GURL(), ContentSettingsType::PASSWORD_PROTECTION,
std::move(cache_dictionary));
}
LoginReputationClientResponse::VerdictType
VerdictCacheManager::GetCachedPhishGuardVerdict(
const GURL& url,
LoginReputationClientRequest::TriggerType trigger_type,
ReusedPasswordAccountType password_type,
LoginReputationClientResponse* out_response) {
DCHECK(trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE ||
trigger_type == LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
std::string type_key =
GetKeyOfTypeFromTriggerType(trigger_type, password_type);
return GetMostMatchingCachedVerdictWithHostAndPathMatching<
LoginReputationClientResponse>(url, type_key, content_settings_,
ContentSettingsType::PASSWORD_PROTECTION,
kVerdictProto, out_response);
}
size_t VerdictCacheManager::GetStoredPhishGuardVerdictCount(
LoginReputationClientRequest::TriggerType trigger_type) {
DCHECK(content_settings_);
DCHECK(trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE ||
trigger_type == LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
base::Optional<size_t>* stored_verdict_count =
trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE
? &stored_verdict_count_password_on_focus_
: &stored_verdict_count_password_entry_;
// If we have already computed this, return its value.
if (stored_verdict_count->has_value())
return stored_verdict_count->value();
ContentSettingsForOneType settings;
content_settings_->GetSettingsForOneType(
ContentSettingsType::PASSWORD_PROTECTION, &settings);
stored_verdict_count_password_on_focus_ = 0;
stored_verdict_count_password_entry_ = 0;
for (const ContentSettingPatternSource& source : settings) {
for (const auto& item : source.setting_value.DictItems()) {
if (item.first == base::StringPiece(kPasswordOnFocusCacheKey)) {
stored_verdict_count_password_on_focus_.value() +=
item.second.DictSize();
} else {
stored_verdict_count_password_entry_.value() += item.second.DictSize();
}
}
}
return stored_verdict_count->value();
}
size_t VerdictCacheManager::GetStoredRealTimeUrlCheckVerdictCount() {
// If we have already computed this, return its value.
if (stored_verdict_count_real_time_url_check_.has_value())
return stored_verdict_count_real_time_url_check_.value();
ContentSettingsForOneType settings;
content_settings_->GetSettingsForOneType(
ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA, &settings);
stored_verdict_count_real_time_url_check_ = 0;
for (const ContentSettingPatternSource& source : settings) {
for (const auto& item : source.setting_value.DictItems()) {
if (item.first == base::StringPiece(kRealTimeUrlCacheKey)) {
stored_verdict_count_real_time_url_check_.value() +=
item.second.DictSize();
}
}
}
return stored_verdict_count_real_time_url_check_.value();
}
void VerdictCacheManager::CacheRealTimeUrlVerdict(
const GURL& url,
const RTLookupResponse& verdict,
const base::Time& receive_time,
bool store_old_cache) {
std::vector<std::string> visited_cache_expressions;
for (const auto& threat_info : verdict.threat_info()) {
// If |cache_expression_match_type| is unspecified, ignore this entry.
if (threat_info.cache_expression_match_type() ==
RTLookupResponse::ThreatInfo::MATCH_TYPE_UNSPECIFIED &&
!store_old_cache) {
continue;
}
std::string cache_expression = store_old_cache
? threat_info.cache_expression()
: GetCacheExpression(threat_info);
// TODO(crbug.com/1033692): For the same cache_expression, threat_info is in
// decreasing order of severity. To avoid lower severity threat being
// overridden by higher one, only store threat info that is first seen for a
// cache expression.
if (base::Contains(visited_cache_expressions, cache_expression))
continue;
GURL hostname = GetHostNameFromCacheExpression(cache_expression);
std::unique_ptr<base::DictionaryValue> cache_dictionary =
base::DictionaryValue::From(content_settings_->GetWebsiteSetting(
hostname, GURL(), ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
nullptr));
if (!cache_dictionary)
cache_dictionary = std::make_unique<base::DictionaryValue>();
base::Value* verdict_dictionary = cache_dictionary->FindKeyOfType(
kRealTimeUrlCacheKey, base::Value::Type::DICTIONARY);
if (!verdict_dictionary) {
verdict_dictionary = cache_dictionary->SetKey(
kRealTimeUrlCacheKey, base::Value(base::Value::Type::DICTIONARY));
}
std::unique_ptr<base::DictionaryValue> threat_info_entry(
CreateDictionaryFromVerdict<RTLookupResponse::ThreatInfo>(
threat_info, receive_time, kRealTimeThreatInfoProto));
// Increases stored verdict count if we haven't seen this cache expression
// before.
if (!verdict_dictionary->FindKey(cache_expression)) {
stored_verdict_count_real_time_url_check_ =
GetStoredRealTimeUrlCheckVerdictCount() + 1;
}
verdict_dictionary->SetKey(
cache_expression,
base::Value::FromUniquePtrValue(std::move(threat_info_entry)));
visited_cache_expressions.push_back(cache_expression);
content_settings_->SetWebsiteSettingDefaultScope(
hostname, GURL(), ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
std::move(cache_dictionary));
}
base::UmaHistogramCounts10000(
"SafeBrowsing.RT.CacheManager.RealTimeVerdictCount",
GetStoredRealTimeUrlCheckVerdictCount());
}
RTLookupResponse::ThreatInfo::VerdictType
VerdictCacheManager::GetCachedRealTimeUrlVerdict(
const GURL& url,
RTLookupResponse::ThreatInfo* out_threat_info) {
return GetMostMatchingCachedVerdictWithHostAndPathMatching<
RTLookupResponse::ThreatInfo>(
url, kRealTimeUrlCacheKey, content_settings_,
ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
kRealTimeThreatInfoProto, out_threat_info);
}
void VerdictCacheManager::ScheduleNextCleanUpAfterInterval(
base::TimeDelta interval) {
cleanup_timer_.Stop();
cleanup_timer_.Start(FROM_HERE, interval, this,
&VerdictCacheManager::CleanUpExpiredVerdicts);
}
void VerdictCacheManager::CleanUpExpiredVerdicts() {
DCHECK(content_settings_);
SCOPED_UMA_HISTOGRAM_TIMER("SafeBrowsing.RT.CacheManager.CleanUpTime");
CleanUpExpiredPhishGuardVerdicts();
CleanUpExpiredRealTimeUrlCheckVerdicts();
ScheduleNextCleanUpAfterInterval(
base::TimeDelta::FromSeconds(kCleanUpIntervalSecond));
}
void VerdictCacheManager::CleanUpExpiredPhishGuardVerdicts() {
if (GetStoredPhishGuardVerdictCount(
LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE) <= 0 &&
GetStoredPhishGuardVerdictCount(
LoginReputationClientRequest::PASSWORD_REUSE_EVENT) <= 0)
return;
ContentSettingsForOneType password_protection_settings;
content_settings_->GetSettingsForOneType(
ContentSettingsType::PASSWORD_PROTECTION, &password_protection_settings);
int removed_count = 0;
for (ContentSettingPatternSource& source : password_protection_settings) {
// Find all verdicts associated with this origin.
std::unique_ptr<base::Value> cache_dictionary =
base::Value::ToUniquePtrValue(std::move(source.setting_value));
bool has_expired_password_on_focus_entry = RemoveExpiredPhishGuardVerdicts(
LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE,
cache_dictionary.get());
bool has_expired_password_reuse_entry = RemoveExpiredPhishGuardVerdicts(
LoginReputationClientRequest::PASSWORD_REUSE_EVENT,
cache_dictionary.get());
if (!cache_dictionary->DictEmpty() &&
!has_expired_password_on_focus_entry &&
!has_expired_password_reuse_entry) {
continue;
}
// Set the website setting of this origin with the updated
// |cache_dictionary|.
content_settings_->SetWebsiteSettingCustomScope(
source.primary_pattern, source.secondary_pattern,
ContentSettingsType::PASSWORD_PROTECTION,
cache_dictionary->DictEmpty() ? nullptr : std::move(cache_dictionary));
if ((++removed_count) == kMaxRemovedEntriesCount) {
return;
}
}
}
void VerdictCacheManager::CleanUpExpiredRealTimeUrlCheckVerdicts() {
if (GetStoredRealTimeUrlCheckVerdictCount() == 0) {
return;
}
ContentSettingsForOneType safe_browsing_url_check_data_settings;
content_settings_->GetSettingsForOneType(
ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
&safe_browsing_url_check_data_settings);
int removed_count = 0;
for (ContentSettingPatternSource& source :
safe_browsing_url_check_data_settings) {
// Find all verdicts associated with this origin.
std::unique_ptr<base::Value> cache_dictionary =
base::Value::ToUniquePtrValue(std::move(source.setting_value));
bool has_expired_entry =
RemoveExpiredRealTimeUrlCheckVerdicts(cache_dictionary.get());
if (!cache_dictionary->DictEmpty() && !has_expired_entry) {
continue;
}
// Set the website setting of this origin with the updated
// |cache_dictionary|.
content_settings_->SetWebsiteSettingCustomScope(
source.primary_pattern, source.secondary_pattern,
ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
cache_dictionary->DictEmpty() ? nullptr : std::move(cache_dictionary));
if ((++removed_count) == kMaxRemovedEntriesCount) {
return;
}
}
}
// Overridden from history::HistoryServiceObserver.
void VerdictCacheManager::OnURLsDeleted(
history::HistoryService* history_service,
const history::DeletionInfo& deletion_info) {
base::PostTask(FROM_HERE, CreateTaskTraits(ThreadID::UI),
base::BindRepeating(
&VerdictCacheManager::RemoveContentSettingsOnURLsDeleted,
GetWeakPtr(), deletion_info.IsAllHistory(),
deletion_info.deleted_rows()));
}
// Overridden from history::HistoryServiceObserver.
void VerdictCacheManager::HistoryServiceBeingDeleted(
history::HistoryService* history_service) {
history_service_observer_.Remove(history_service);
}
bool VerdictCacheManager::RemoveExpiredPhishGuardVerdicts(
LoginReputationClientRequest::TriggerType trigger_type,
base::Value* cache_dictionary) {
DCHECK(trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE ||
trigger_type == LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
if (!cache_dictionary || cache_dictionary->DictEmpty())
return false;
size_t verdicts_removed = 0;
std::vector<std::string> empty_keys;
for (auto item : cache_dictionary->DictItems()) {
if (trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE &&
item.first == std::string(kPasswordOnFocusCacheKey)) {
size_t removed_cnt = RemoveExpiredEntries<LoginReputationClientResponse>(
&item.second, kVerdictProto);
verdicts_removed += removed_cnt;
if (stored_verdict_count_password_on_focus_.has_value())
stored_verdict_count_password_on_focus_.value() -= removed_cnt;
} else {
size_t removed_cnt = RemoveExpiredEntries<LoginReputationClientResponse>(
&item.second, kVerdictProto);
verdicts_removed += removed_cnt;
if (stored_verdict_count_password_entry_.has_value())
stored_verdict_count_password_entry_.value() -= removed_cnt;
}
if (item.second.DictSize() == 0U)
empty_keys.push_back(item.first);
}
for (const auto& key : empty_keys)
cache_dictionary->RemoveKey(key);
return verdicts_removed > 0U;
}
bool VerdictCacheManager::RemoveExpiredRealTimeUrlCheckVerdicts(
base::Value* cache_dictionary) {
if (!cache_dictionary || cache_dictionary->DictEmpty())
return false;
size_t verdicts_removed = 0;
std::vector<std::string> empty_keys;
for (auto item : cache_dictionary->DictItems()) {
size_t removed_cnt = RemoveExpiredEntries<RTLookupResponse::ThreatInfo>(
&item.second, kRealTimeThreatInfoProto);
verdicts_removed += removed_cnt;
if (stored_verdict_count_real_time_url_check_.has_value())
stored_verdict_count_real_time_url_check_.value() -= removed_cnt;
if (item.second.DictSize() == 0U)
empty_keys.push_back(item.first);
}
for (const auto& key : empty_keys)
cache_dictionary->RemoveKey(key);
return verdicts_removed > 0U;
}
void VerdictCacheManager::RemoveContentSettingsOnURLsDeleted(
bool all_history,
const history::URLRows& deleted_rows) {
DCHECK(CurrentlyOnThread(ThreadID::UI));
DCHECK(content_settings_);
if (all_history) {
content_settings_->ClearSettingsForOneType(
ContentSettingsType::PASSWORD_PROTECTION);
stored_verdict_count_password_on_focus_ = 0;
stored_verdict_count_password_entry_ = 0;
stored_verdict_count_real_time_url_check_ = 0;
content_settings_->ClearSettingsForOneType(
ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA);
return;
}
// For now, if a URL is deleted from history, we simply remove all the
// cached verdicts of the same origin. This is a pretty aggressive deletion.
// We might revisit this logic later to decide if we want to only delete the
// cached verdict whose cache expression matches this URL.
for (const history::URLRow& row : deleted_rows) {
if (!row.url().SchemeIsHTTPOrHTTPS())
continue;
GURL url_key = GetHostNameWithHTTPScheme(row.url());
stored_verdict_count_password_on_focus_ =
GetStoredPhishGuardVerdictCount(
LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE) -
GetPhishGuardVerdictCountForURL(
url_key, LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE);
stored_verdict_count_password_entry_ =
GetStoredPhishGuardVerdictCount(
LoginReputationClientRequest::PASSWORD_REUSE_EVENT) -
GetPhishGuardVerdictCountForURL(
url_key, LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
stored_verdict_count_real_time_url_check_ =
GetStoredRealTimeUrlCheckVerdictCount() -
GetRealTimeUrlCheckVerdictCountForURL(url_key);
content_settings_->SetWebsiteSettingDefaultScope(
url_key, GURL(), ContentSettingsType::PASSWORD_PROTECTION, nullptr);
content_settings_->SetWebsiteSettingDefaultScope(
url_key, GURL(), ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
nullptr);
}
}
size_t VerdictCacheManager::GetPhishGuardVerdictCountForURL(
const GURL& url,
LoginReputationClientRequest::TriggerType trigger_type) {
DCHECK(trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE ||
trigger_type == LoginReputationClientRequest::PASSWORD_REUSE_EVENT);
std::unique_ptr<base::DictionaryValue> cache_dictionary =
base::DictionaryValue::From(content_settings_->GetWebsiteSetting(
url, GURL(), ContentSettingsType::PASSWORD_PROTECTION, nullptr));
if (!cache_dictionary || cache_dictionary->empty())
return 0;
int verdict_cnt = 0;
if (trigger_type == LoginReputationClientRequest::UNFAMILIAR_LOGIN_PAGE) {
base::Value* password_on_focus_dict = nullptr;
password_on_focus_dict =
cache_dictionary->FindKey(kPasswordOnFocusCacheKey);
verdict_cnt +=
password_on_focus_dict ? password_on_focus_dict->DictSize() : 0;
} else {
for (const auto& item : cache_dictionary->DictItems()) {
if (item.first == kPasswordOnFocusCacheKey)
continue;
verdict_cnt += item.second.DictSize();
}
}
return verdict_cnt;
}
size_t VerdictCacheManager::GetRealTimeUrlCheckVerdictCountForURL(
const GURL& url) {
std::unique_ptr<base::DictionaryValue> cache_dictionary =
base::DictionaryValue::From(content_settings_->GetWebsiteSetting(
url, GURL(), ContentSettingsType::SAFE_BROWSING_URL_CHECK_DATA,
nullptr));
if (!cache_dictionary || cache_dictionary->empty())
return 0;
base::Value* verdict_dictionary =
cache_dictionary->FindKey(kRealTimeUrlCacheKey);
return verdict_dictionary ? verdict_dictionary->DictSize() : 0;
}
void VerdictCacheManager::CacheArtificialVerdict() {
std::string phishing_url_string =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
kUnsafeUrlFlag);
if (phishing_url_string.empty())
return;
GURL artificial_unsafe_url(phishing_url_string);
if (!artificial_unsafe_url.is_valid())
return;
has_artificial_unsafe_url_ = true;
RTLookupResponse response;
RTLookupResponse::ThreatInfo* threat_info = response.add_threat_info();
threat_info->set_verdict_type(RTLookupResponse::ThreatInfo::DANGEROUS);
threat_info->set_threat_type(
RTLookupResponse::ThreatInfo::SOCIAL_ENGINEERING);
threat_info->set_cache_duration_sec(3000);
threat_info->set_cache_expression_using_match_type(
artificial_unsafe_url.GetContent());
threat_info->set_cache_expression_match_type(
RTLookupResponse::ThreatInfo::EXACT_MATCH);
RemoveContentSettingsOnURLsDeleted(/*all_history=*/false,
{history::URLRow(artificial_unsafe_url)});
CacheRealTimeUrlVerdict(artificial_unsafe_url, response, base::Time::Now(),
/*store_old_cache=*/false);
}
void VerdictCacheManager::StopCleanUpTimerForTesting() {
if (cleanup_timer_.IsRunning()) {
cleanup_timer_.AbandonAndStop();
}
}
// static
bool VerdictCacheManager::has_artificial_unsafe_url_ = false;
// static
bool VerdictCacheManager::has_artificial_unsafe_url() {
return has_artificial_unsafe_url_;
}
} // namespace safe_browsing
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
45a364539b629f65292f6e2d68e7682c105fbffc | b5470ee3328cf06f4e8a6bdc4f4cace1714b8740 | /first_pass/Search_in_Rotated_Sorted_Array_II.cpp | 0709c461cf824b2c2d207ed2dacb43cddef9ae3d | [] | no_license | Yaoxin/leetcode | 481f1ac954778adc2a9a12c65bc812c3bbdaa1e0 | 9c91a1fe9297544712d89c2ad5282e81b21d8571 | refs/heads/master | 2020-12-24T06:29:43.701644 | 2019-07-04T23:53:41 | 2019-07-04T23:53:41 | 35,044,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
//原则 1 逐渐递减
//确定值在哪个区间
//把握好解空间,就可以做好这道题
bool search(vector<int>& nums, int target)
{
if(nums.size() == 0)
return false;
int left = 0;
int right = nums.size() - 1;
int mid = 0;
while(left <= right)
{
mid = left + (right - left)/2;
if(nums[mid] == target)
return true;
if(nums[mid] > nums[left]) //递增
{
if(nums[mid] > target && target >= nums[left])
{
right = mid - 1;
}
else
{
left = mid + 1;
}
}
else if(nums[mid] < nums[left]) //中间有转折
{
if(nums[mid] < target && target <= nums[right])
{
left = mid + 1;
}
else
{
right = mid - 1;
}
}
else //nums[mid] == nums[left] 重复
{
if(nums[left] == nums[right])
{
//O(n)
for(int i = left; i < right; i++)
{
if(nums[i] == target)
{
return true;
}
}
return false;
}
else if(nums[left] > nums[right])
{
if(target > nums[left])
{
return false;
}
else
{
left = mid + 1;
}
}
else
{
if(target < nums[left])
{
return false;
}
else
{
left = mid + 1;
}
}
}
}
}
};
int main(int argc, char const *argv[])
{
//int a[] = {4,5,6,7,9,1,2,3};
int a[] = {5, 1, 3};
std::vector<int> v(a, a + 3);
Solution S;
bool flag = S.search(v, 3);
cout << flag << endl;
return 0;
} | [
"7936511@qq.com"
] | 7936511@qq.com |
73fccd865ab3ce8367b887e2823818b8575d8bad | 9e68acf91f110dc974f759a1fdc3e9a8317477fb | /Myapp/Myapp/Add.cpp | c840b2b1203a06fb6a701ee046acce06d5717536 | [] | no_license | 1473004165/small-demo | 03a5ccda22982ba3bcd24999203ce29f83f8fa57 | 8e5333555b2957049710086cc427d10d3d50de7d | refs/heads/master | 2023-07-26T10:25:55.825911 | 2021-09-13T06:43:03 | 2021-09-13T06:43:03 | 353,211,610 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 543 | cpp | #include "Add.h"
void Add::add (int num1, int num2)
{
int result = num1 + num2;
string str1; //被加数
string str2; //加数转
string answer; //答案
str1 = to_string(num1); //被加数转字符串
str2 = to_string(num2); //加数转字符串
answer = to_string(result); //运算结果转字符串
//cout << str1.append(" + ").append(str2).append(" = ").append(res) << endl;
string question = str1.append(" + ").append(str2).append(" = ").append("?");
rx.outputAnswer(answer);
rx.outputQuestion(question);
}
| [
"rx1473004165@outlook.com"
] | rx1473004165@outlook.com |
832136afc58747b4ba49fc70bba1667ad9fe85cb | 862b99ca55bd20d28d08d64436270c402da21905 | /depends/ogre_v1_7/ogre/OgreMain/src/OgreMovableObject.cpp | 25f1d4bf7417af983b5b06eafa8cb7c7e69cf0b8 | [
"MIT"
] | permissive | Olganix/LibXenoverse2 | 5dbe669a21cccb95e46af0f59e1f23cb91a8d8d2 | b398e34196e48705619d2681ec02c4b219b948e4 | refs/heads/master | 2022-06-11T08:53:21.235816 | 2020-07-17T13:41:07 | 2020-07-17T13:41:07 | 94,200,397 | 7 | 7 | null | 2022-05-25T23:38:03 | 2017-06-13T10:22:23 | C++ | UTF-8 | C++ | false | false | 15,745 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
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 "OgreStableHeaders.h"
#include "OgreMovableObject.h"
#include "OgreSceneNode.h"
#include "OgreTagPoint.h"
#include "OgreLight.h"
#include "OgreEntity.h"
#include "OgreRoot.h"
#include "OgreSceneManager.h"
#include "OgreCamera.h"
#include "OgreLodListener.h"
namespace Ogre {
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
uint32 MovableObject::msDefaultQueryFlags = 0xFFFFFFFF;
uint32 MovableObject::msDefaultVisibilityFlags = 0xFFFFFFFF;
//-----------------------------------------------------------------------
MovableObject::MovableObject()
: mCreator(0)
, mManager(0)
, mParentNode(0)
, mParentIsTagPoint(false)
, mVisible(true)
, mDebugDisplay(false)
, mUpperDistance(0)
, mSquaredUpperDistance(0)
, mBeyondFarDistance(false)
, mRenderQueueID(RENDER_QUEUE_MAIN)
, mRenderQueueIDSet(false)
, mRenderQueuePriority(100)
, mRenderQueuePrioritySet(false)
, mQueryFlags(msDefaultQueryFlags)
, mVisibilityFlags(msDefaultVisibilityFlags)
, mCastShadows(true)
, mRenderingDisabled(false)
, mListener(0)
, mLightListUpdated(0)
, mLightMask(0xFFFFFFFFFFFFFFFF)
, mLightMaskGroup(0xFFFFFFFF)
{
}
//-----------------------------------------------------------------------
MovableObject::MovableObject(const String& name)
: mName(name)
, mCreator(0)
, mManager(0)
, mParentNode(0)
, mParentIsTagPoint(false)
, mVisible(true)
, mDebugDisplay(false)
, mUpperDistance(0)
, mSquaredUpperDistance(0)
, mBeyondFarDistance(false)
, mRenderQueueID(RENDER_QUEUE_MAIN)
, mRenderQueueIDSet(false)
, mRenderQueuePriority(100)
, mRenderQueuePrioritySet(false)
, mQueryFlags(msDefaultQueryFlags)
, mVisibilityFlags(msDefaultVisibilityFlags)
, mCastShadows(true)
, mRenderingDisabled(false)
, mListener(0)
, mLightListUpdated(0)
, mLightMask(0xFFFFFFFFFFFFFFFF)
, mLightMaskGroup(0xFFFFFFFF)
{
}
//-----------------------------------------------------------------------
MovableObject::~MovableObject()
{
// Call listener (note, only called if there's something to do)
if (mListener)
{
mListener->objectDestroyed(this);
}
if (mParentNode)
{
// detach from parent
if (mParentIsTagPoint)
{
// May be we are a lod entity which not in the parent entity child object list,
// call this method could safely ignore this case.
static_cast<TagPoint*>(mParentNode)->getParentEntity()->detachObjectFromBone(this);
}
else
{
// May be we are a lod entity which not in the parent node child object list,
// call this method could safely ignore this case.
static_cast<SceneNode*>(mParentNode)->detachObject(this);
}
}
}
//-----------------------------------------------------------------------
void MovableObject::_notifyAttached(Node* parent, bool isTagPoint)
{
assert(!mParentNode || !parent);
bool different = (parent != mParentNode);
mParentNode = parent;
mParentIsTagPoint = isTagPoint;
// Mark light list being dirty, simply decrease
// counter by one for minimise overhead
--mLightListUpdated;
// Call listener (note, only called if there's something to do)
if (mListener && different)
{
if (mParentNode)
mListener->objectAttached(this);
else
mListener->objectDetached(this);
}
}
//-----------------------------------------------------------------------
Node* MovableObject::getParentNode(void) const
{
return mParentNode;
}
//-----------------------------------------------------------------------
SceneNode* MovableObject::getParentSceneNode(void) const
{
if (mParentIsTagPoint)
{
TagPoint* tp = static_cast<TagPoint*>(mParentNode);
return tp->getParentEntity()->getParentSceneNode();
}
else
{
return static_cast<SceneNode*>(mParentNode);
}
}
//-----------------------------------------------------------------------
bool MovableObject::isAttached(void) const
{
return (mParentNode != 0);
}
//---------------------------------------------------------------------
void MovableObject::detachFromParent(void)
{
if (isAttached())
{
if (mParentIsTagPoint)
{
TagPoint* tp = static_cast<TagPoint*>(mParentNode);
tp->getParentEntity()->detachObjectFromBone(this);
}
else
{
SceneNode* sn = static_cast<SceneNode*>(mParentNode);
sn->detachObject(this);
}
}
}
//-----------------------------------------------------------------------
bool MovableObject::isInScene(void) const
{
if (mParentNode != 0)
{
if (mParentIsTagPoint)
{
TagPoint* tp = static_cast<TagPoint*>(mParentNode);
return tp->getParentEntity()->isInScene();
}
else
{
SceneNode* sn = static_cast<SceneNode*>(mParentNode);
return sn->isInSceneGraph();
}
}
else
{
return false;
}
}
//-----------------------------------------------------------------------
void MovableObject::_notifyMoved(void)
{
// Mark light list being dirty, simply decrease
// counter by one for minimise overhead
--mLightListUpdated;
// Notify listener if exists
if (mListener)
{
mListener->objectMoved(this);
}
}
//-----------------------------------------------------------------------
void MovableObject::setVisible(bool visible)
{
mVisible = visible;
}
//-----------------------------------------------------------------------
bool MovableObject::getVisible(void) const
{
return mVisible;
}
//-----------------------------------------------------------------------
bool MovableObject::isVisible(void) const
{
if (!mVisible || mBeyondFarDistance || mRenderingDisabled)
return false;
SceneManager* sm = Root::getSingleton()._getCurrentSceneManager();
if (sm && !(getVisibilityFlags() & sm->_getCombinedVisibilityMask()))
return false;
return true;
}
//-----------------------------------------------------------------------
void MovableObject::_notifyCurrentCamera(Camera* cam)
{
if (mParentNode)
{
if (cam->getUseRenderingDistance() && mUpperDistance > 0)
{
Real rad = getBoundingRadius();
Real squaredDepth = mParentNode->getSquaredViewDepth(cam->getLodCamera());
const Vector3& scl = mParentNode->_getDerivedScale();
Real factor = std::max(std::max(scl.x, scl.y), scl.z);
// Max distance to still render
Real maxDist = mUpperDistance + rad * factor;
if (squaredDepth > Math::Sqr(maxDist))
{
mBeyondFarDistance = true;
}
else
{
mBeyondFarDistance = false;
}
}
else
{
mBeyondFarDistance = false;
}
// Construct event object
MovableObjectLodChangedEvent evt;
evt.movableObject = this;
evt.camera = cam;
// Notify lod event listeners
cam->getSceneManager()->_notifyMovableObjectLodChanged(evt);
}
mRenderingDisabled = mListener && !mListener->objectRendering(this, cam);
}
//-----------------------------------------------------------------------
void MovableObject::setRenderQueueGroup(uint8 queueID)
{
assert(queueID <= RENDER_QUEUE_MAX && "Render queue out of range!");
mRenderQueueID = queueID;
mRenderQueueIDSet = true;
}
//-----------------------------------------------------------------------
void MovableObject::setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)
{
setRenderQueueGroup(queueID);
mRenderQueuePriority = queueID;
mRenderQueuePrioritySet = true;
}
//-----------------------------------------------------------------------
uint8 MovableObject::getRenderQueueGroup(void) const
{
return mRenderQueueID;
}
//-----------------------------------------------------------------------
const Matrix4& MovableObject::_getParentNodeFullTransform(void) const
{
if(mParentNode)
{
// object attached to a sceneNode
return mParentNode->_getFullTransform();
}
// fallback
return Matrix4::IDENTITY;
}
//-----------------------------------------------------------------------
const AxisAlignedBox& MovableObject::getWorldBoundingBox(bool derive) const
{
if (derive)
{
mWorldAABB = this->getBoundingBox();
mWorldAABB.transformAffine(_getParentNodeFullTransform());
}
return mWorldAABB;
}
//-----------------------------------------------------------------------
const Sphere& MovableObject::getWorldBoundingSphere(bool derive) const
{
if (derive)
{
const Vector3& scl = mParentNode->_getDerivedScale();
Real factor = std::max(std::max(scl.x, scl.y), scl.z);
mWorldBoundingSphere.setRadius(getBoundingRadius() * factor);
mWorldBoundingSphere.setCenter(mParentNode->_getDerivedPosition());
}
return mWorldBoundingSphere;
}
//-----------------------------------------------------------------------
const LightList& MovableObject::queryLights(void) const
{
// Try listener first
if (mListener)
{
const LightList* lightList =
mListener->objectQueryLights(this);
if (lightList)
{
return *lightList;
}
}
// Query from parent entity if exists
if (mParentIsTagPoint)
{
TagPoint* tp = static_cast<TagPoint*>(mParentNode);
return tp->getParentEntity()->queryLights();
}
if (mParentNode)
{
SceneNode* sn = static_cast<SceneNode*>(mParentNode);
// Make sure we only update this only if need.
ulong frame = sn->getCreator()->_getLightsDirtyCounter();
if (mLightListUpdated != frame)
{
mLightListUpdated = frame;
const Vector3& scl = mParentNode->_getDerivedScale();
Real factor = std::max(std::max(scl.x, scl.y), scl.z);
sn->findLights(mLightList, this->getBoundingRadius() * factor, this->getLightMask(), this->getLightMaskGroup());
}
}
else
{
mLightList.clear();
}
return mLightList;
}
//-----------------------------------------------------------------------
ShadowCaster::ShadowRenderableListIterator MovableObject::getShadowVolumeRenderableIterator(
ShadowTechnique shadowTechnique, const Light* light,
HardwareIndexBufferSharedPtr* indexBuffer,
bool inExtrudeVertices, Real extrusionDist, unsigned long flags )
{
static ShadowRenderableList dummyList;
return ShadowRenderableListIterator(dummyList.begin(), dummyList.end());
}
//-----------------------------------------------------------------------
const AxisAlignedBox& MovableObject::getLightCapBounds(void) const
{
// Same as original bounds
return getWorldBoundingBox();
}
//-----------------------------------------------------------------------
const AxisAlignedBox& MovableObject::getDarkCapBounds(const Light& light, Real extrusionDist) const
{
// Extrude own light cap bounds
mWorldDarkCapBounds = getLightCapBounds();
this->extrudeBounds(mWorldDarkCapBounds, light.getAs4DVector(),
extrusionDist);
return mWorldDarkCapBounds;
}
//-----------------------------------------------------------------------
Real MovableObject::getPointExtrusionDistance(const Light* l) const
{
if (mParentNode)
{
return getExtrusionDistance(mParentNode->_getDerivedPosition(), l);
}
else
{
return 0;
}
}
//-----------------------------------------------------------------------
uint32 MovableObject::getTypeFlags(void) const
{
if (mCreator)
{
return mCreator->getTypeFlags();
}
else
{
return 0xFFFFFFFF;
}
}
//---------------------------------------------------------------------
void MovableObject::setLightMask(uint64 lightMask)
{
this->mLightMask = lightMask;
//make sure to request a new light list from the scene manager if mask changed
mLightListUpdated = 0;
}
//---------------------------------------------------------------------
void MovableObject::setLightMaskGroup(uint32 lightMaskGroup)
{
this->mLightMaskGroup = lightMaskGroup;
//make sure to request a new light list from the scene manager if mask changed
mLightListUpdated = 0;
}
//---------------------------------------------------------------------
class MORecvShadVisitor : public Renderable::Visitor
{
public:
bool anyReceiveShadows;
MORecvShadVisitor() : anyReceiveShadows(false)
{
}
void visit(Renderable* rend, ushort lodIndex, bool isDebug,
Any* pAny = 0)
{
Technique* tech = rend->getTechnique();
bool techReceivesShadows = tech && tech->getParent()->getReceiveShadows();
anyReceiveShadows = anyReceiveShadows ||
techReceivesShadows || !tech;
}
};
//---------------------------------------------------------------------
bool MovableObject::getReceivesShadows()
{
MORecvShadVisitor visitor;
visitRenderables(&visitor);
return visitor.anyReceiveShadows;
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
MovableObject* MovableObjectFactory::createInstance(
const String& name, SceneManager* manager,
const NameValuePairList* params)
{
MovableObject* m = createInstanceImpl(name, params);
m->_notifyCreator(this);
m->_notifyManager(manager);
return m;
}
}
| [
"Olganix@hotmail.fr"
] | Olganix@hotmail.fr |
20e0206ee78fa3d6a308dff1aca288b21c2c3e10 | 53607bd9899204daf8482409032eb0d5a0da89e6 | /Calculator_with_parenthesis/Calculator.cpp | c38f512583628e50239a8fff577fa85aced814e5 | [] | no_license | akfakf0509/Calculator-with-parenthesis | 9c22859ab1c0d6dae993de45d89c06758246f401 | 9d57f69432d938d03654da027b2137ce6795175c | refs/heads/master | 2021-01-14T16:11:05.544461 | 2020-10-29T03:42:47 | 2020-10-29T03:42:47 | 242,674,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <stack>
#include <string>
#include "Calculator.h"
using namespace std;
string ExchangePostFix(string str) {
string tmp;
stack<char> s;
int line = -1;
tmp.resize(100);
for (int i = 0; i < str.length(); i++) {
if (IsOperand(str[i])) {
tmp[++line] = str[i];
if (!IsOperand(str[i + 1]))
tmp[++line] = ' ';
}
else if (str[i] == '(') {
s.push(str[i]);
}
else if (str[i] == ')') {
while (!s.empty() && s.top() != '(') {
tmp[++line] = s.top();
s.pop();
}
s.pop();
}
else if (IsOperator(str[i])) {
while (!s.empty() && OperatorLevel(str[i]) <= OperatorLevel(s.top())) {
tmp[++line] = s.top();
s.pop();
}
s.push(str[i]);
}
}
while (!s.empty()) {
tmp[++line] = s.top();
s.pop();
}
tmp.resize(line + 1);
return tmp;
}
int ExpressionPostFix(string str) {
stack<int> s;
int num = 0;
for (int i = 0; i < str.length(); i++) {
if (IsOperand(str[i])) {
num += str[i] - '0';
if (i + 1 < str.length()) {
if (IsOperand(str[i + 1]))
num *= 10;
else if (str[i + 1] == ' ') {
s.push(num);
num = 0;
}
}
}
else if (IsOperator(str[i])) {
int operand1 = s.top(); s.pop();
int operand2 = s.top(); s.pop();
switch (str[i]) {
case '+':
s.push(operand2 + operand1); break;
case '-':
s.push(operand2 - operand1); break;
case '*':
s.push(operand2 * operand1); break;
case '/':
s.push(operand2 / operand1); break;
}
}
}
return s.top();
}
bool IsOperator(char ch) {
return ch == '+' || ch == '-' || ch == '*' || ch == '/';
}
bool IsOperand(char ch) {
return '0' <= ch && ch <= '9';
}
int OperatorLevel(char ch) {
switch (ch) {
case '+':
case '-':
return 1;
case '*':
case '/':
return 2;
}
return -1;
} | [
"50164284+akfakf0509@users.noreply.github.com"
] | 50164284+akfakf0509@users.noreply.github.com |
547a562db75c901ca3fc934b13be3155be0d79c4 | b0babea3b236f27d3dcdad8a1bb5c5cb069dcb2f | /Process.h | 8c60921894170cad7b76b320af2a09b8ded49134 | [] | no_license | srinidhigoud/Demand_Paging | 828af367344f7760b90427efcd09f8d908f214f9 | 9b4b3d3af191582b8957fe6984bee03182407ac0 | refs/heads/master | 2020-03-11T07:41:51.911972 | 2018-04-17T23:03:42 | 2018-04-17T23:03:42 | 129,863,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #ifndef PROCESS_H
#define PROCESS_H
#include "Random.h"
using namespace std;
class Process{
public:
int quantum;
int referenceSize;
int residencytime;
int evictioncount;
int faultcount;
int nextWord;
int processSize;
Process(int processSize, int processnumber, int referenceSize);
bool hasended();
bool hasfinishedquantum();
void nextreference(double A, double B, double C, Random* rand);
int getnextWord();
};
#endif | [
"srinidhi.goud29@gmail.com"
] | srinidhi.goud29@gmail.com |
68e1d5e0544ee913a900066a330daa5007739ddf | c8a3a357cdec6a1ee881b22f509613bc535aef56 | /src/preprocessing/conversions.hpp | 31c0af79d27d84385ae562c6ecba99fee7a2617a | [
"Apache-2.0"
] | permissive | rwang067/GraphChi | 659d54c956d5b871b265050497aa839908b4aa81 | f3e8f73c47cd3307b73647e4360004e65981d257 | refs/heads/master | 2020-03-23T04:59:12.645253 | 2019-10-18T11:19:50 | 2019-10-18T11:19:50 | 141,117,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,468 | hpp | ;/**
* @file
* @author Aapo Kyrola <akyrola@cs.cmu.edu>
* @version 1.0
*
* @section LICENSE
*
* Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University]
*
* 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.
*
* @section DESCRIPTION
*
* Graph conversion and parsing routines.
*/
#ifndef GRAPHCHI_CONVERSIONS_DEF
#define GRAPHCHI_CONVERSIONS_DEF
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fstream>
#include <iostream>
#include "graphchi_types.hpp"
#include "logger/logger.hpp"
#include "preprocessing/sharder.hpp"
/**
* GNU COMPILER HACK TO PREVENT WARNINGS "Unused variable", if
* the particular app being compiled does not use a function.
*/
#ifdef __GNUC__
#define VARIABLE_IS_NOT_USED __attribute__ ((unused))
#else
#define VARIABLE_IS_NOT_USED
#endif
namespace graphchi {
struct dummy {
};
template <typename T>
struct dummyC {
operator T() { return T(); }
};
/* Simple string to number parsers */
static void VARIABLE_IS_NOT_USED parse(int &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(unsigned int &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(float &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(long &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(char &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(bool &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(double &x, const char * s);
static void VARIABLE_IS_NOT_USED parse(short &x, const char * s);
static void FIXLINE(char * s);
static void parse(int &x, const char * s) {
x = atoi(s);
}
static void parse(unsigned int &x, const char * s) {
x = (unsigned int) strtoul(s, NULL, 10);
}
static void parse(float &x, const char * s) {
x = (float) atof(s);
}
static void parse(dummy &x, const char *s) {}
/**
* Special templated parser for PairContainers.
*/
template <typename T>
void parse(PairContainer<T> &x, const char * s) {
parse(x.left, s);
parse(x.right, s);
}
static void parse(long &x, const char * s) {
x = atol(s);
}
static void parse(char &x, const char * s) {
x = s[0];
}
static void parse(bool &x, const char * s) {
x = atoi(s) == 1;
}
static void parse(double &x, const char * s) {
x = atof(s);
}
static void parse(short &x, const char * s) {
x = (short) atoi(s);
}
#ifdef DYNAMICEDATA
static void VARIABLE_IS_NOT_USED parse_multiple(std::vector<dummy> &values, char * s);
static void VARIABLE_IS_NOT_USED parse_multiple(std::vector<dummy> & values, char * s) {
assert(false);
}
/**
* Parse ':' -delimited values into a vector.
*/
template <typename T>
static void parse_multiple(typename std::vector<T> & values, char * s) {
char delims[] = ":";
char * t;
t = strtok(s, delims);
T x;
parse(x, (const char*) t);
values.push_back(x);
while((t = strtok(NULL, delims)) != NULL) {
parse(x, (const char*) t);
values.push_back(x);
}
}
#endif
// Catch all
template <typename T>
void parse(T &x, const char * s) {
logstream(LOG_FATAL) << "You need to define parse<your-type>(your-type &x, const char *s) function"
<< " to support parsing the edge value." << std::endl;
assert(false);
}
// Removes \n from the end of line
inline void FIXLINE(char * s) {
int len = (int) strlen(s)-1;
if(s[len] == '\n') s[len] = 0;
}
// http://www.linuxquestions.org/questions/programming-9/c-list-files-in-directory-379323/
static int VARIABLE_IS_NOT_USED getdir (std::string dir, std::vector<std::string> &files);
static int VARIABLE_IS_NOT_USED getdir (std::string dir, std::vector<std::string> &files)
{
DIR *dp;
struct dirent *dirp;
if((dp = opendir(dir.c_str())) == NULL) {
std::cout << "Error(" << errno << ") opening " << dir << std::endl;
return errno;
}
while ((dirp = readdir(dp)) != NULL) {
files.push_back(std::string(dirp->d_name));
}
closedir(dp);
return 0;
}
static VARIABLE_IS_NOT_USED std::string get_dirname(std::string arg);
static VARIABLE_IS_NOT_USED std::string get_dirname(std::string arg) {
size_t a = arg.find_last_of("/");
if (a != arg.npos) {
std::string dir = arg.substr(0, a);
return dir;
} else {
assert(false);
return "n/a";
}
}
static std::string VARIABLE_IS_NOT_USED get_filename(std::string arg);
static std::string VARIABLE_IS_NOT_USED get_filename(std::string arg) {
size_t a = arg.find_last_of("/");
if (a != arg.npos) {
std::string f = arg.substr(a + 1);
return f;
} else {
assert(false);
return "n/a";
}
}
/**
* Converts graph from an edge list format. Input may contain
* value for the edges. Self-edges are ignored.
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_edgelist(std::string inputfile, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj, bool multivalue_edges=false) {
mkdir((inputfile+"_GraphChi/").c_str(), 0777);
FILE * inf = fopen(inputfile.c_str(), "r");
size_t bytesread = 0;
size_t linenum = 0;
if (inf == NULL) {
logstream(LOG_FATAL) << "Could not load :" << inputfile << " error: " << strerror(errno) << std::endl;
}
assert(inf != NULL);
logstream(LOG_INFO) << "Reading in edge list format!" << std::endl;
char s[1024];
while(fgets(s, 1024, inf) != NULL) {
linenum++;
if (linenum % 10000000 == 0) {
logstream(LOG_DEBUG) << "Read " << linenum << " lines, " << bytesread / 1024 / 1024. << " MB" << std::endl;
}
FIXLINE(s);
bytesread += strlen(s);
if (s[0] == '#') continue; // Comment
if (s[0] == '%') continue; // Comment
char delims[] = "\t, ";
char * t;
t = strtok(s, delims);
if (t == NULL) {
logstream(LOG_ERROR) << "Input file is not in right format. "
<< "Expecting \"<from>\t<to>\". "
<< "Current line: \"" << s << "\"\n";
assert(false);
}
vid_t from = atoi(t);
t = strtok(NULL, delims);
if (t == NULL) {
logstream(LOG_ERROR) << "Input file is not in right format. "
<< "Expecting \"<from>\t<to>\". "
<< "Current line: \"" << s << "\"\n";
assert(false);
}
vid_t to = atoi(t);
/* Check if has value */
t = strtok(NULL, delims);
if (!multivalue_edges) {
EdgeDataType val;
if (t != NULL) {
parse(val, (const char*) t);
}
if (from != to) {
if (t != NULL) {
sharderobj.preprocessing_add_edge(from, to, val);
} else {
sharderobj.preprocessing_add_edge(from, to);
}
}
} else {
#ifdef DYNAMICEDATA
std::vector<EdgeDataType> vals;
parse_multiple(vals, (char*) t);
if (from != to) {
if (vals.size() == 0) {
// TODO: go around this problem
logstream(LOG_FATAL) << "Each edge needs at least one value." << std::endl;
assert(vals.size() > 0);
}
sharderobj.preprocessing_add_edge_multival(from, to, vals);
}
#else
logstream(LOG_FATAL) << "To support multivalue-edges, dynamic edge data needs to be used." << std::endl;
assert(false);
#endif
}
}
fclose(inf);
}
/**
* Converts a graph from adjacency list format. Edge values are not supported,
* and each edge gets the default value for the type. Self-edges are ignored.
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_adjlist(std::string inputfile, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj) {
FILE * inf = fopen(inputfile.c_str(), "r");
if (inf == NULL) {
logstream(LOG_FATAL) << "Could not load :" << inputfile << " error: " << strerror(errno) << std::endl;
}
assert(inf != NULL);
logstream(LOG_INFO) << "Reading in adjacency list format!" << std::endl;
int maxlen = 100000000;
char * s = (char*) malloc(maxlen);
size_t bytesread = 0;
char delims[] = " \t";
size_t linenum = 0;
size_t lastlog = 0;
/*** PHASE 1 - count ***/
while(fgets(s, maxlen, inf) != NULL) {
linenum++;
if (bytesread - lastlog >= 500000000) {
logstream(LOG_DEBUG) << "Read " << linenum << " lines, " << bytesread / 1024 / 1024. << " MB" << std::endl;
lastlog = bytesread;
}
FIXLINE(s);
bytesread += strlen(s);
if (s[0] == '#') continue; // Comment
if (s[0] == '%') continue; // Comment
char * t = strtok(s, delims);
vid_t from = atoi(t);
t = strtok(NULL,delims);
if (t != NULL) {
vid_t num = atoi(t);
vid_t i = 0;
while((t = strtok(NULL,delims)) != NULL) {
vid_t to = atoi(t);
if (from != to) {
sharderobj.preprocessing_add_edge(from, to, EdgeDataType());
}
i++;
}
if (num != i) {
logstream(LOG_ERROR) << "Mismatch when reading adjacency list: " << num << " != " << i << " s: " << std::string(s)
<< " on line: " << linenum << std::endl;
continue;
}
}
}
free(s);
fclose(inf);
}
/**
* Extract a vector of node indices from a line in the file.
*
* @param[in] line line from input file containing node indices
* @param[out] adjacencies node indices extracted from line
*/
static std::vector<vid_t> VARIABLE_IS_NOT_USED parseLine(std::string line);
static std::vector<vid_t> VARIABLE_IS_NOT_USED parseLine(std::string line) {
std::stringstream stream(line);
std::string token;
char delim = ' ';
std::vector<vid_t> adjacencies;
// split string and push adjacent nodes
while (std::getline(stream, token, delim)) {
if (token.size() != 0) {
vid_t v = atoi(token.c_str());
adjacencies.push_back(v);
}
}
return adjacencies;
}
/**
* Converts a graph from the METIS adjacency format.
* See http://people.sc.fsu.edu/~jburkardt/data/metis_graph/metis_graph.html for format documentation.
* NOTE: contributed by clstaudt
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_metis(std::string inputPath, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj) {
std::cout << "[INFO] reading METIS graph file" << std::endl;
std::ifstream graphFile(inputPath.c_str());
if (! graphFile.good()) {
logstream(LOG_FATAL) << "Could not load :" << inputPath << " error: " << strerror(errno) << std::endl;
}
std::string line; // current line
// handle header line
int n = 0; // number of nodes
int m = 0; // number of edges
int weighted; // indicates weight scheme:
if (std::getline(graphFile, line)) {
while (line[0] == '%') { // skip comments
std::getline(graphFile, line);
}
std::vector<uint> tokens = parseLine(line);
n = tokens[0];
m = tokens[1];
if (tokens.size() == 2) {
weighted = 0;
} if (tokens.size() == 3) {
weighted = tokens[2];
if (weighted != 0) {
logstream(LOG_FATAL) << "node and edge weights currently not supported by parser" << std::endl;
}
}
} else {
logstream(LOG_FATAL) << "getting METIS file header failed" << std::endl;
}
logstream(LOG_INFO) << "reading graph with n=" << n << ", m=" << m << std::endl;
vid_t u = 0; // starting node index
// handle content lines
while (graphFile.good()) {
do {
std::getline(graphFile, line);
} while (line[0] == '%'); // skip comments
// parse adjacency line
std::vector<vid_t> adjacencies = parseLine(line);
for (std::vector<vid_t>::iterator it=adjacencies.begin(); it != adjacencies.end(); ++it) {
vid_t v = *it;
if (u <= v) { // add edge only once; self-loops are allowed
sharderobj.preprocessing_add_edge(u, v, EdgeDataType());
}
}
u++;
}
}
/**
* Converts a graph from cassovary's (Twitter) format. Edge values are not supported,
* and each edge gets the default value for the type. Self-edges are ignored.
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_cassovary(std::string basefilename, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj) {
std::vector<std::string> parts;
std::string dirname = get_dirname(basefilename);
std::string prefix = get_filename(basefilename);
std::cout << "dir=[" << dirname << "] prefix=[" << prefix << "]" << std::endl;
getdir(dirname, parts);
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find("tmp") == inputfile.npos) {
std::cout << "Going to process: " << inputfile << std::endl;
}
}
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find(".tmp") == inputfile.npos) {
inputfile = dirname + "/" + inputfile;
std::cout << "Process: " << inputfile << std::endl;
FILE * inf = fopen(inputfile.c_str(), "r");
if (inf == NULL) {
logstream(LOG_FATAL) << "Could not load :" << inputfile << " error: " << strerror(errno) << std::endl;
}
assert(inf != NULL);
logstream(LOG_INFO) << "Reading in cassovary format!" << std::endl;
int maxlen = 100000000;
char * s = (char*) malloc(maxlen);
size_t bytesread = 0;
char delims[] = " \t";
size_t linenum = 0;
size_t lastlog = 0;
while(fgets(s, maxlen, inf) != NULL) {
linenum++;
if (bytesread - lastlog >= 500000000) {
logstream(LOG_DEBUG) << "Read " << linenum << " lines, " << bytesread / 1024 / 1024. << " MB" << std::endl;
lastlog = bytesread;
}
FIXLINE(s);
bytesread += strlen(s);
if (s[0] == '#') continue; // Comment
if (s[0] == '%') continue; // Comment
char * t = strtok(s, delims);
vid_t from = atoi(t);
t = strtok(NULL,delims);
if (t != NULL) {
vid_t num = atoi(t);
// Read next line
linenum += num + 1;
for(vid_t i=0; i < num; i++) {
s = fgets(s, maxlen, inf);
FIXLINE(s);
vid_t to = atoi(s);
if (from != to) {
sharderobj.preprocessing_add_edge(from, to, EdgeDataType());
}
}
}
}
free(s);
fclose(inf);
}
}
}
/**
* Converts a set of files in the binedgelist format (binary edge list)
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_binedgelist(std::string basefilename, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj) {
std::vector<std::string> parts;
std::string dirname = get_dirname(basefilename);
std::string prefix = get_filename(basefilename);
std::cout << "dir=[" << dirname << "] prefix=[" << prefix << "]" << std::endl;
getdir(dirname, parts);
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find("tmp") == inputfile.npos) {
std::cout << "Going to process: " << inputfile << std::endl;
}
}
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find(".tmp") == inputfile.npos) {
inputfile = dirname + "/" + inputfile;
std::cout << "Process: " << inputfile << std::endl;
FILE * inf = fopen(inputfile.c_str(), "r");
while(!feof(inf)) {
vid_t from;
vid_t to;
size_t res1 = fread(&from, sizeof(vid_t), 1, inf);
size_t res2 = fread(&to, sizeof(vid_t), 1, inf);
assert(res1 > 0 && res2 > 0);
if (from != to) {
sharderobj.preprocessing_add_edge(from, to, EdgeDataType());
}
}
fclose(inf);
}
}
}
// TODO: remove code duplication.
template <typename EdgeDataType, typename FinalEdgeDataType>
void convert_binedgelistval(std::string basefilename, sharder<EdgeDataType, FinalEdgeDataType> &sharderobj) {
std::vector<std::string> parts;
std::string dirname = get_dirname(basefilename);
std::string prefix = get_filename(basefilename);
std::cout << "dir=[" << dirname << "] prefix=[" << prefix << "]" << std::endl;
getdir(dirname, parts);
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find("tmp") == inputfile.npos) {
std::cout << "Going to process: " << inputfile << std::endl;
}
}
for(std::vector<std::string>::iterator it=parts.begin(); it != parts.end(); ++it) {
std::string inputfile = *it;
if (inputfile.find(prefix) == 0 && inputfile.find(".tmp") == inputfile.npos) {
inputfile = dirname + "/" + inputfile;
std::cout << "Process: " << inputfile << std::endl;
FILE * inf = fopen(inputfile.c_str(), "r");
while(!feof(inf)) {
vid_t from;
vid_t to;
EdgeDataType edgeval;
size_t res1 = fread(&from, sizeof(vid_t), 1, inf);
size_t res2 = fread(&to, sizeof(vid_t), 1, inf);
size_t res3 = fread(&edgeval, sizeof(EdgeDataType), 1, inf);
assert(res1 > 0 && res2 > 0 && res3 > 0);
if (from != to) {
sharderobj.preprocessing_add_edge(from, to, edgeval);
}
}
fclose(inf);
}
}
}
/**
* Converts a graph input to shards. Preprocessing has several steps,
* see sharder.hpp for more information.
*/
template <typename EdgeDataType, typename FinalEdgeDataType>
int convert(std::string basefilename, std::string nshards_string) {
sharder<EdgeDataType, FinalEdgeDataType> sharderobj(basefilename);
// std::string file_type_str = get_option_string_interactive("filetype", "edgelist, adjlist, binedgelist, metis");
// if (file_type_str != "adjlist" && file_type_str != "edgelist" && file_type_str != "binedgelist" &&
// file_type_str != "multivalueedgelist" && file_type_str != "metis") {
// logstream(LOG_ERROR) << "You need to specify filetype: 'edgelist', 'adjlist', 'binedgelist', or 'metis'." << std::endl;
// assert(false);
// }
std::string file_type_str = "edgelist";
/* Start preprocessing */
sharderobj.start_preprocessing();
if (file_type_str == "adjlist") {
convert_adjlist<EdgeDataType, FinalEdgeDataType>(basefilename, sharderobj);
} else if (file_type_str == "edgelist") {
convert_edgelist<EdgeDataType, FinalEdgeDataType>(basefilename, sharderobj);
#ifdef DYNAMICEDATA
} else if (file_type_str == "multivalueedgelist" ) {
convert_edgelist<EdgeDataType, FinalEdgeDataType>(basefilename, sharderobj, true);
#endif
} else if (file_type_str == "binedgelist") {
convert_binedgelistval<EdgeDataType, FinalEdgeDataType>(basefilename, sharderobj);
} else if (file_type_str == "metis") {
convert_metis<EdgeDataType, FinalEdgeDataType>(basefilename, sharderobj);
} else {
assert(false);
}
/* Finish preprocessing */
sharderobj.end_preprocessing();
vid_t max_vertex_id = get_option_int("maxvertex", 0);
if (max_vertex_id > 0) {
sharderobj.set_max_vertex_id(max_vertex_id);
}
int nshards = sharderobj.execute_sharding(nshards_string);
logstream(LOG_INFO) << "Successfully finished sharding for " << basefilename << std::endl;
logstream(LOG_INFO) << "Created " << nshards << " shards." << std::endl;
return nshards;
}
/**
* Converts a graph input to shards with no edge values. Preprocessing has several steps,
* see sharder.hpp for more information.
*/
static int VARIABLE_IS_NOT_USED convert_none(std::string basefilename, std::string nshards_string);
static int VARIABLE_IS_NOT_USED convert_none(std::string basefilename, std::string nshards_string) {
sharder<dummy> sharderobj(basefilename);
sharderobj.set_no_edgevalues();
std::string file_type_str = get_option_string_interactive("filetype", "edgelist, adjlist, cassovary, binedgelist");
if (file_type_str != "adjlist" && file_type_str != "edgelist" && file_type_str != "cassovary" && file_type_str != "binedgelist" && file_type_str != "metis") {
logstream(LOG_ERROR) << "You need to specify filetype: 'edgelist' or 'adjlist'." << std::endl;
assert(false);
}
/* Start preprocessing */
sharderobj.start_preprocessing();
if (file_type_str == "adjlist") {
convert_adjlist<dummy>(basefilename, sharderobj);
} else if (file_type_str == "edgelist") {
convert_edgelist<dummy>(basefilename, sharderobj);
} else if (file_type_str == "cassovary") {
convert_cassovary<dummy>(basefilename, sharderobj);
} else if (file_type_str == "binedgelist") {
convert_binedgelist<dummy>(basefilename, sharderobj);
} else if (file_type_str == "metis") {
convert_metis<dummy>(basefilename, sharderobj);
}
/* Finish preprocessing */
sharderobj.end_preprocessing();
if (get_option_int("skipsharding", 0) == 1) {
std::cout << "Skip sharding..." << std::endl;
exit(0);
}
vid_t max_vertex_id = get_option_int("maxvertex", 0);
if (max_vertex_id > 0) {
sharderobj.set_max_vertex_id(max_vertex_id);
}
int nshards = sharderobj.execute_sharding(nshards_string);
logstream(LOG_INFO) << "Successfully finished sharding for " << basefilename << std::endl;
logstream(LOG_INFO) << "Created " << nshards << " shards." << std::endl;
return nshards;
}
template <typename EdgeDataType>
int convert_if_notexists_novalues(std::string basefilename, std::string nshards_string, bool &didexist) {
int nshards;
/* Check if input file is already sharded */
if ((nshards = find_shards<EdgeDataType>(basefilename, nshards_string))) {
logstream(LOG_INFO) << "Found preprocessed files for " << basefilename << ", num shards=" << nshards << std::endl;
didexist = true;
if (check_origfile_modification_earlier<EdgeDataType>(basefilename, nshards)) {
return nshards;
}
}
didexist = false;
logstream(LOG_INFO) << "Did not find preprocessed shards for " << basefilename << std::endl;
logstream(LOG_INFO) << "(Edge-value size: " << sizeof(EdgeDataType) << ")" << std::endl;
logstream(LOG_INFO) << "Will try create them now..." << std::endl;
nshards = convert<dummyC<EdgeDataType>, EdgeDataType>(basefilename, nshards_string);
return nshards;
}
template <typename EdgeDataType>
int convert_if_notexists(std::string basefilename, std::string nshards_string, bool &didexist) {
int nshards;
/* Check if input file is already sharded */
if ((nshards = find_shards<EdgeDataType>(basefilename, nshards_string))) {
logstream(LOG_INFO) << "Found preprocessed files for " << basefilename << ", num shards=" << nshards << std::endl;
didexist = true;
if (check_origfile_modification_earlier<EdgeDataType>(basefilename, nshards)) {
return nshards;
}
}
didexist = false;
logstream(LOG_INFO) << "Did not find preprocessed shards for " << basefilename << std::endl;
logstream(LOG_INFO) << "(Edge-value size: " << sizeof(EdgeDataType) << ")" << std::endl;
logstream(LOG_INFO) << "Will try create them now..." << std::endl;
nshards = convert<EdgeDataType, EdgeDataType>(basefilename, nshards_string);
return nshards;
}
// First type is for the input phase, second is what is needed in computation
template <typename EdgeDataType, typename FinalEdgeType>
int convert_if_notexists(std::string basefilename, std::string nshards_string, bool &didexist) {
int nshards;
/* Check if input file is already sharded */
if ((nshards = find_shards<FinalEdgeType>(basefilename, nshards_string))) {
logstream(LOG_INFO) << "Found preprocessed files for " << basefilename << ", num shards=" << nshards << std::endl;
didexist = true;
if (check_origfile_modification_earlier<FinalEdgeType>(basefilename, nshards)) {
return nshards;
}
}
didexist = false;
logstream(LOG_INFO) << "Did not find preprocessed shards for " << basefilename << std::endl;
logstream(LOG_INFO) << "(Edge-value size: " << sizeof(FinalEdgeType) << ")" << std::endl;
logstream(LOG_INFO) << "Will try create them now..." << std::endl;
nshards = convert<EdgeDataType, FinalEdgeType>(basefilename, nshards_string);
return nshards;
}
template <typename EdgeDataType, typename FinalEdgeType>
int convert_if_notexists(std::string basefilename, std::string nshards_string) {
bool b;
return convert_if_notexists<EdgeDataType, FinalEdgeType>(basefilename, nshards_string, b);
}
template <typename EdgeDataType>
int convert_if_notexists(std::string basefilename, std::string nshards_string) {
bool b;
return convert_if_notexists<EdgeDataType, EdgeDataType>(basefilename, nshards_string, b);
}
template <typename EdgeDataType>
int convert_if_notexists_novalues(std::string basefilename, std::string nshards_string) {
bool b;
return convert_if_notexists_novalues<EdgeDataType>(basefilename, nshards_string, b);
}
} // end namespace
#endif
| [
"wangrui1994@126.com"
] | wangrui1994@126.com |
7e39ae76a1184af8afb066ce7c69633af0dec855 | 47eb33a44ad441325adfd5e7edd38129b2d2e954 | /src/InvoiceAPI.cpp | 3b5e9340a0a0d01472dee038bf054737838673b4 | [] | no_license | vinayvinu9876/StoreManagementSystem-Co-Seq | c8155ab5125020c0a72a9a99fc7c7fdaa7437322 | 25b5154f733c02a94686da4bf2d3f0cd4c367c9c | refs/heads/master | 2022-07-05T03:52:39.452201 | 2020-05-08T22:44:23 | 2020-05-08T22:44:23 | 260,800,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp | #include<iostream>
#include<string>
#include<list>
#include <JavaScriptCore/JavaScript.h>
#include "utilityFunctions.cpp"
#include "convertJSStringToString.cpp"
#include "InvoiceManager.cpp"
using namespace std;
void setInvoiceTable(JSContextRef ctx){
InvoiceManager im;
list<string> all_Invoice_data = im.getAllInvoiceDetails();
string javascript_data_array = "["; //start;
for(auto x : all_Invoice_data){
javascript_data_array = javascript_data_array + "\""+ x + "\"" + ",";
}
if(all_Invoice_data.size()>0)
javascript_data_array = javascript_data_array.substr(0, javascript_data_array.size()-1); //remove last ","
javascript_data_array = javascript_data_array + "]" ; //end
string to_set_table = "setTable('"+javascript_data_array+"');";
cout<<to_set_table<<endl;
cout.flush();
modifyHTML(ctx,to_set_table.c_str());
}
JSValueRef addInvoice(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount,
const JSValueRef arguments[], JSValueRef* exception){
InvoiceManager im;
string account_no = JSStringToStdString(JSValueToStringCopy(ctx,arguments[0],exception));
string check_no = JSStringToStdString(JSValueToStringCopy(ctx,arguments[1],exception));
string date = JSStringToStdString(JSValueToStringCopy(ctx,arguments[2],exception));
string description = JSStringToStdString(JSValueToStringCopy(ctx,arguments[3],exception));
string debit_credit = JSStringToStdString(JSValueToStringCopy(ctx,arguments[4],exception));
bool result = im.addInvoice(account_no,check_no,date,description,debit_credit);
string message;
if(result)
message = "Invoice Succesfully";
else
message = "Invoice Failed";
string to_notify = "showNotification( '"+message+"', 'Invoice Manager');";
modifyHTML(ctx,to_notify.c_str());
return JSValueMakeNull(ctx);
}
JSValueRef getInvoice(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount,
const JSValueRef arguments[], JSValueRef* exception){
setInvoiceTable(ctx);
return JSValueMakeNull(ctx);
}
JSValueRef deleteInvoice(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount,
const JSValueRef arguments[], JSValueRef* exception){
InvoiceManager im;
string Invoice_number = JSStringToStdString(JSValueToStringCopy(ctx,arguments[0],exception));
bool result = im.removeInvoice(Invoice_number);
string message;
if(result)
message = "Invoice Deleted Succesfully";
else
message = "Invoice Delete Failed";
string to_notify = "showNotification( '"+message+"', 'Invoice Manager');";
modifyHTML(ctx,to_notify.c_str());
setInvoiceTable(ctx);
return JSValueMakeNull(ctx);
} | [
"vvinu9876@gmail.com"
] | vvinu9876@gmail.com |
47015cabe280ef4505459c2cac0a80583d517878 | f4b81003fac9bcdc5f508268f5470b09f01c7adb | /Controller/mainwindow.cpp | 34b498ce874ddcd7e17648aa80a7cc99e405c99e | [] | no_license | caozijian/vision_related | c46d72eb64212d3ef7040b6627c8a6069c9d7147 | f74b18f79dea06b5909e547a3c49657e981874e1 | refs/heads/master | 2016-09-09T23:17:09.062087 | 2015-03-02T15:52:39 | 2015-03-02T15:52:39 | 31,158,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileDialog>
#include "main.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
ColorDetectController colordetect;
void MainWindow::on_pushButton_clicked()
{
QString fileName =QFileDialog::getOpenFileName(this,tr("Open Image"),".",tr("Image Files(*.png *.jpg *.jpeg *.bmp)"));
colordetect.setInputImage(fileName.toLatin1().data());
cv::namedWindow("Input Image");
cv::imshow("Input Image",colordetect.getInputImage());
}
void MainWindow::on_pushButton_2_clicked()
{
colordetect.setTargetColor(130,190,230);
colordetect.process();
cv::namedWindow("Output Image");
cv::imshow("Output Image",colordetect.getLastResult());
}
| [
"caozijian.cn@gmail.com"
] | caozijian.cn@gmail.com |
7960ceed08f6348858423c5bda839204a857166e | 2f7ff4c50b7abf336b4aac5e57c5b5a5adad63fc | /src/Http/HttpClient.h | e1f80b470a6e586fb27f56b4b3da0b6476e1c7ca | [
"MIT"
] | permissive | cleverdouble/ZLMediaKit | 46ce9c3308264ccae3993b7024f0552bfde78f2c | ccf46ff64f8da4cad231946db3f01d99ec286f4b | refs/heads/master | 2020-07-15T09:16:42.944283 | 2020-04-16T01:30:49 | 2020-04-16T01:30:49 | 205,529,774 | 1 | 0 | MIT | 2020-04-16T01:30:51 | 2019-08-31T10:27:18 | C++ | UTF-8 | C++ | false | false | 5,112 | h | /*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project authors
* may be found in the AUTHORS file in the root of the source tree.
*/
#ifndef Http_HttpClient_h
#define Http_HttpClient_h
#include <stdio.h>
#include <string.h>
#include <functional>
#include <memory>
#include "Util/util.h"
#include "Util/mini.h"
#include "Network/TcpClient.h"
#include "Common/Parser.h"
#include "HttpRequestSplitter.h"
#include "HttpCookie.h"
#include "HttpChunkedSplitter.h"
#include "strCoding.h"
#include "HttpBody.h"
using namespace std;
using namespace toolkit;
namespace mediakit {
class HttpArgs : public map<string, variant, StrCaseCompare> {
public:
HttpArgs(){}
virtual ~HttpArgs(){}
string make() const {
string ret;
for(auto &pr : *this){
ret.append(pr.first);
ret.append("=");
ret.append(strCoding::UrlEncode(pr.second));
ret.append("&");
}
if(ret.size()){
ret.pop_back();
}
return ret;
}
};
class HttpClient : public TcpClient , public HttpRequestSplitter
{
public:
typedef StrCaseMap HttpHeader;
typedef std::shared_ptr<HttpClient> Ptr;
HttpClient();
virtual ~HttpClient();
virtual void sendRequest(const string &url,float fTimeOutSec);
virtual void clear(){
_header.clear();
_body.reset();
_method.clear();
_path.clear();
_parser.Clear();
_recvedBodySize = 0;
_totalBodySize = 0;
_aliveTicker.resetTime();
_chunkedSplitter.reset();
HttpRequestSplitter::reset();
}
void setMethod(const string &method){
_method = method;
}
void setHeader(const HttpHeader &header){
_header = header;
}
HttpClient & addHeader(const string &key,const string &val,bool force = false){
if(!force){
_header.emplace(key,val);
}else{
_header[key] = val;
}
return *this;
}
void setBody(const string &body){
_body.reset(new HttpStringBody(body));
}
void setBody(const HttpBody::Ptr &body){
_body = body;
}
const string &responseStatus() const{
return _parser.Url();
}
const HttpHeader &responseHeader() const{
return _parser.getValues();
}
const Parser& response() const{
return _parser;
}
const string &getUrl() const{
return _url;
}
protected:
/**
* 收到http回复头
* @param status 状态码,譬如:200 OK
* @param headers http头
* @return 返回后续content的长度;-1:后续数据全是content;>=0:固定长度content
* 需要指出的是,在http头中带有Content-Length字段时,该返回值无效
*/
virtual int64_t onResponseHeader(const string &status,const HttpHeader &headers){
DebugL << status;
//无Content-Length字段时默认后面全是content
return -1;
};
/**
* 收到http conten数据
* @param buf 数据指针
* @param size 数据大小
* @param recvedSize 已收数据大小(包含本次数据大小),当其等于totalSize时将触发onResponseCompleted回调
* @param totalSize 总数据大小
*/
virtual void onResponseBody(const char *buf,int64_t size,int64_t recvedSize,int64_t totalSize){
DebugL << size << " " << recvedSize << " " << totalSize;
};
/**
* 接收http回复完毕,
*/
virtual void onResponseCompleted(){
DebugL;
}
/**
* http链接断开回调
* @param ex 断开原因
*/
virtual void onDisconnect(const SockException &ex){}
/**
* 重定向事件
* @param url 重定向url
* @param temporary 是否为临时重定向
* @return 是否继续
*/
virtual bool onRedirectUrl(const string &url,bool temporary){ return true;};
//HttpRequestSplitter override
int64_t onRecvHeader(const char *data,uint64_t len) override ;
void onRecvContent(const char *data,uint64_t len) override;
protected:
virtual void onConnect(const SockException &ex) override;
virtual void onRecv(const Buffer::Ptr &pBuf) override;
virtual void onErr(const SockException &ex) override;
virtual void onFlush() override;
virtual void onManager() override;
private:
void onResponseCompleted_l();
void checkCookie(HttpHeader &headers );
protected:
bool _isHttps;
private:
string _url;
HttpHeader _header;
HttpBody::Ptr _body;
string _method;
string _path;
//recv
int64_t _recvedBodySize;
int64_t _totalBodySize;
Parser _parser;
string _lastHost;
Ticker _aliveTicker;
float _fTimeOutSec = 0;
std::shared_ptr<HttpChunkedSplitter> _chunkedSplitter;
};
} /* namespace mediakit */
#endif /* Http_HttpClient_h */
| [
"771730766@qq.com"
] | 771730766@qq.com |
9c5c3da71ea9e1a5dd03729065de4076dba7f4f4 | 7d9373cc832f67d961b271a95095e68d7fd10c75 | /allcxxs/mgr_r_vs_dz_tracker_1.cxx | 47f60915ea537b4cc8f7d219bf983591f4b7ae00 | [] | no_license | hroskes/geometry-comparison-style | e14a4727e40eee9cdc357e50ba737526a7236d83 | 67cb13f0c0524ae33ec5a10ab83beaaa06e7a21e | refs/heads/master | 2020-04-06T05:00:35.933700 | 2015-07-15T23:20:49 | 2015-07-15T23:20:49 | 38,641,430 | 0 | 1 | null | 2015-07-15T23:20:50 | 2015-07-06T19:34:27 | C++ | UTF-8 | C++ | false | false | 437,467 | cxx | void mgr_r_vs_dz_tracker_1()
{
//=========Macro generated from canvas: c_r_vs_dz_tracker_1/r vs. dz at tracker level
//========= (Mon Jul 6 19:49:37 2015) by ROOT version6.02/05
TCanvas *c_r_vs_dz_tracker_1 = new TCanvas("c_r_vs_dz_tracker_1", "r vs. dz at tracker level",0,0,3508,2480);
c_r_vs_dz_tracker_1->Range(0,0,1,1);
c_r_vs_dz_tracker_1->SetFillColor(0);
c_r_vs_dz_tracker_1->SetBorderMode(0);
c_r_vs_dz_tracker_1->SetBorderSize(2);
c_r_vs_dz_tracker_1->SetTickx(1);
c_r_vs_dz_tracker_1->SetTicky(1);
c_r_vs_dz_tracker_1->SetLeftMargin(0.18);
c_r_vs_dz_tracker_1->SetRightMargin(0.05);
c_r_vs_dz_tracker_1->SetBottomMargin(0.16);
c_r_vs_dz_tracker_1->SetFrameBorderMode(0);
TMultiGraph *multigraph = new TMultiGraph();
multigraph->SetName("mgr_r_vs_dz_tracker_1");
multigraph->SetTitle(";r /cm;#Deltaz /#mum");
Double_t rdzTECn_fx25[3200] = {
27.59087,
27.58715,
27.64504,
27.64568,
36.51542,
36.51775,
36.56906,
36.56431,
44.53479,
44.55751,
44.58357,
55.98195,
56.00969,
56.02939,
56.04897,
67.48962,
67.48344,
67.53697,
67.52145,
81.66449,
81.687,
81.67883,
81.7355,
98.82522,
98.88354,
98.87969,
98.8628,
98.92861,
27.49409,
27.49194,
27.51682,
27.52011,
36.41575,
36.41507,
36.43979,
36.44025,
44.48356,
44.48928,
44.46977,
55.89499,
55.88516,
55.90468,
55.92302,
67.39601,
67.39399,
67.41535,
67.42419,
81.57262,
81.58784,
81.58891,
81.61621,
98.75112,
98.82475,
98.78635,
98.74831,
98.74266,
27.55287,
27.55241,
27.52797,
27.52517,
36.46814,
36.46893,
36.4443,
36.44712,
44.54903,
44.5271,
44.50523,
55.93845,
55.93184,
55.922,
55.91495,
67.44229,
67.43477,
67.42137,
67.41987,
81.63888,
81.62299,
81.61609,
81.60255,
98.81279,
98.78678,
98.8511,
98.80733,
98.79053,
27.75138,
27.75161,
27.67932,
27.68412,
36.67681,
36.67348,
36.59789,
36.59683,
44.74741,
44.69547,
44.62484,
56.16664,
56.12846,
56.0864,
56.05933,
67.61905,
67.62798,
67.5962,
67.59966,
81.86275,
81.81947,
81.78772,
81.74574,
99.03928,
98.99642,
99.01102,
98.91953,
98.94858,
27.95551,
27.95254,
27.88147,
27.88177,
36.87508,
36.87487,
36.81863,
36.81932,
44.93958,
44.90437,
44.86867,
56.34294,
56.32013,
56.31501,
56.27567,
67.83419,
67.82557,
67.7933,
67.79424,
82.07214,
82.00371,
81.98891,
81.94823,
99.24435,
99.19862,
99.24395,
99.23305,
99.12656,
28.05736,
28.06055,
28.03334,
28.03461,
36.98101,
36.98604,
36.95737,
36.9566,
45.03837,
45.03025,
45.01619,
56.45355,
56.46144,
56.43616,
56.43031,
67.95335,
67.95304,
67.93343,
67.92778,
82.13644,
82.13473,
82.11424,
82.11906,
99.28792,
99.3323,
99.26744,
99.35868,
99.36153,
27.98207,
27.99089,
28.01804,
28.02182,
36.9059,
36.90637,
36.94377,
36.94247,
44.91712,
44.95265,
44.97677,
56.36577,
56.39317,
56.39906,
56.42825,
67.88836,
67.8882,
67.92336,
67.92303,
82.04526,
82.08709,
82.09188,
82.10441,
99.23136,
99.30131,
99.25865,
99.32154,
99.28697,
27.79305,
27.79688,
27.86869,
27.87084,
36.71712,
36.71902,
36.78917,
36.7888,
44.77054,
44.8202,
44.86663,
56.17513,
56.21881,
56.25103,
56.27372,
67.70215,
67.68864,
67.74025,
67.7504,
81.85927,
81.89633,
81.92294,
81.95403,
99.03829,
99.07793,
99.07242,
99.07112,
99.13753,
27.55093,
27.547,
36.47929,
36.48174,
44.48598,
44.51439,
55.93446,
55.96263,
55.97423,
67.42564,
67.42678,
67.45764,
67.45284,
67.47385,
67.46951,
81.62016,
81.63299,
81.64729,
98.79335,
98.81699,
98.73985,
98.84132,
98.87591,
27.49872,
27.50416,
36.42839,
36.42692,
44.45184,
44.4861,
55.89478,
55.90783,
55.89832,
67.39288,
67.39333,
67.39285,
67.3922,
67.38637,
67.39507,
81.58676,
81.58806,
81.58113,
98.74692,
98.76675,
98.76515,
98.76855,
98.76976,
27.61932,
27.62094,
36.543,
36.54588,
44.62509,
44.5931,
56.05261,
56.01839,
55.98419,
67.53811,
67.53803,
67.5042,
67.49632,
67.47054,
67.47134,
81.72031,
81.68802,
81.67081,
98.88956,
98.91809,
98.86349,
98.84558,
98.86526,
27.82524,
27.82597,
36.75147,
36.75464,
44.8257,
44.78693,
56.25209,
56.21688,
56.20197,
67.75304,
67.75608,
67.7068,
67.71004,
67.66618,
67.67317,
81.92645,
81.90786,
81.87302,
99.03373,
99.02053,
99.0796,
99.04938,
99.04394,
28.00299,
28.00541,
36.9352,
36.93258,
44.99384,
44.93682,
56.40432,
56.39755,
56.38859,
67.91711,
67.91084,
67.88854,
67.89141,
67.87605,
67.88052,
82.10699,
82.06387,
82.06931,
99.27361,
99.27977,
99.22783,
99.29424,
99.24374,
28.03693,
28.0352,
36.96819,
36.97104,
44.98202,
44.98503,
56.44195,
56.44309,
56.43927,
67.91389,
67.92027,
67.92802,
67.93228,
67.9269,
67.93109,
82.11876,
82.13571,
82.11586,
99.29329,
99.27731,
99.33115,
99.31292,
99.2709,
27.94328,
27.9423,
36.8707,
36.86391,
44.90815,
44.89703,
56.31529,
56.3492,
56.37374,
67.8018,
67.7925,
67.83807,
67.83652,
67.86665,
67.86153,
82.00655,
82.02755,
82.05543,
99.13596,
99.15782,
99.17072,
99.23589,
99.21029,
27.74319,
27.747,
36.67814,
36.68387,
44.69384,
44.75086,
56.11906,
56.14071,
56.18198,
67.58139,
67.57049,
67.62389,
67.62122,
67.68541,
67.69347,
81.7978,
81.82462,
81.87523,
99.03295,
98.98814,
98.97453,
99.07352,
99.01628,
27.58679,
27.59338,
27.63821,
27.63827,
36.53028,
36.53046,
36.59152,
36.59767,
44.5327,
44.555,
44.58874,
55.98273,
56.02077,
56.04401,
56.07562,
67.4955,
67.50293,
67.5312,
67.53493,
81.67129,
81.6924,
81.72302,
81.75722,
98.85318,
98.859,
98.8719,
98.88422,
98.85725,
27.50107,
27.50328,
27.51892,
27.51767,
36.4272,
36.42818,
36.44957,
36.44358,
44.45305,
44.46371,
44.46385,
55.89885,
55.91154,
55.92212,
55.92271,
67.39999,
67.40517,
67.4161,
67.4119,
81.59177,
81.59688,
81.60325,
81.62292,
98.77122,
98.78976,
98.76579,
98.75424,
98.76815,
27.56884,
27.57439,
27.52687,
27.53121,
36.49615,
36.49821,
36.46397,
36.467,
44.52041,
44.50723,
44.52235,
55.98167,
55.95502,
55.94341,
55.93087,
67.45889,
67.44381,
67.43903,
67.43304,
81.66469,
81.63944,
81.62772,
81.62594,
98.84191,
98.83595,
98.81921,
98.80518,
98.77867,
27.80204,
27.80783,
27.70304,
27.7032,
36.71165,
36.71383,
36.62387,
36.62879,
44.79676,
44.73209,
44.68257,
56.20591,
56.16452,
56.12761,
56.08707,
67.67329,
67.68166,
67.61612,
67.62695,
81.90307,
81.86203,
81.81859,
81.77197,
99.08723,
99.0615,
99.01299,
98.983,
98.96275,
27.94609,
27.94468,
27.88459,
27.88933,
36.87767,
36.87314,
36.81116,
36.81375,
44.89828,
44.86851,
44.81802,
56.36115,
56.32734,
56.31061,
56.26611,
67.82253,
67.82481,
67.79999,
67.78608,
82.03188,
82.02532,
82.00333,
81.95358,
99.21851,
99.18632,
99.13792,
99.19215,
99.09833,
28.06172,
28.06256,
28.03298,
28.0354,
36.98441,
36.98566,
36.96138,
36.9627,
45.04821,
45.03789,
45.01799,
56.45519,
56.45152,
56.4563,
56.4408,
67.9586,
67.9409,
67.9341,
67.92231,
82.14364,
82.13994,
82.12341,
82.11809,
99.33568,
99.31065,
99.32232,
99.29872,
99.31965,
27.98116,
27.98068,
28.01447,
28.01719,
36.90548,
36.90381,
36.95213,
36.95389,
44.93021,
44.99636,
45.01617,
56.37197,
56.40219,
56.42059,
56.43087,
67.88685,
67.87859,
67.91067,
67.90407,
82.05184,
82.08376,
82.10063,
82.1148,
99.21855,
99.25711,
99.30025,
99.2677,
99.27972,
27.79068,
27.79071,
27.86015,
27.86255,
36.71098,
36.71211,
36.78307,
36.7808,
44.76709,
44.80856,
44.8474,
56.16769,
56.208,
56.21884,
56.264,
67.7,
67.68824,
67.7376,
67.72991,
81.86695,
81.9062,
81.90582,
81.9612,
99.02677,
99.03503,
99.08774,
99.12173,
99.11478,
27.5488,
27.55559,
36.48633,
36.48726,
44.533,
44.51688,
55.93892,
55.96748,
55.97118,
67.4332,
67.4353,
67.44881,
67.45605,
67.47633,
67.47948,
81.63261,
81.63809,
81.64218,
98.76727,
98.82647,
98.77625,
98.8091,
98.80614,
27.51018,
27.51338,
36.44077,
36.44373,
44.45895,
44.45045,
55.92098,
55.91538,
55.9112,
67.4087,
67.39605,
67.40032,
67.38499,
67.40623,
67.39929,
81.59937,
81.59566,
81.59467,
98.77135,
98.76736,
98.75227,
98.76984,
98.7812,
27.62701,
27.63004,
36.55367,
36.55974,
44.63311,
44.59765,
56.06141,
56.02934,
55.99598,
67.5538,
67.55573,
67.52092,
67.5111,
67.47988,
67.48163,
81.73993,
81.7075,
81.68259,
98.91496,
98.92385,
98.8635,
98.85262,
98.85044,
27.82502,
27.8266,
36.75296,
36.75591,
44.78846,
44.77847,
56.26527,
56.23496,
56.17816,
67.76727,
67.78038,
67.71276,
67.71466,
67.66389,
67.66056,
81.91485,
81.90322,
81.87489,
99.09963,
99.07961,
99.0839,
99.06002,
99.03016,
28.00327,
28.00402,
36.9344,
36.93253,
44.95844,
44.93514,
56.43587,
56.4154,
56.39383,
67.91879,
67.92014,
67.89933,
67.89916,
67.86731,
67.85748,
82.09911,
82.08398,
82.04704,
99.29226,
99.34361,
99.2939,
99.18764,
99.2174,
28.04772,
28.05039,
36.98589,
36.98287,
44.98769,
45.00673,
56.44165,
56.4433,
56.45578,
67.91495,
67.91634,
67.9399,
67.9362,
67.94917,
67.94952,
82.11881,
82.13914,
82.14344,
99.27429,
99.29258,
99.31662,
99.30161,
99.29317,
27.92081,
27.92638,
36.85487,
36.85709,
44.89185,
44.93167,
56.30648,
56.33039,
56.34145,
67.77853,
67.77975,
67.81378,
67.7985,
67.84487,
67.83723,
81.95766,
82.00734,
82.03374,
99.15856,
99.1608,
99.19274,
99.19685,
99.20751,
27.72054,
27.72308,
36.64827,
36.64987,
44.64426,
44.67501,
56.1032,
56.11513,
56.1528,
67.57204,
67.57462,
67.60896,
67.61384,
67.64138,
67.64404,
81.76569,
81.7964,
81.82964,
98.92644,
98.9544,
98.93786,
98.9456,
99.01224,
27.56731,
27.57063,
27.63074,
27.62896,
36.49616,
36.49416,
36.55732,
36.55901,
44.51003,
44.54379,
44.59422,
55.95826,
55.99891,
56.01258,
56.03962,
67.48206,
67.46492,
67.51904,
67.50744,
81.64381,
81.6666,
81.70309,
81.72295,
98.8347,
98.81088,
98.86308,
98.85731,
98.92685,
27.49133,
27.49748,
27.52074,
27.5245,
36.41957,
36.41843,
36.44326,
36.44597,
44.45527,
44.45941,
44.46659,
55.89544,
55.90094,
55.92062,
55.9226,
67.40261,
67.40034,
67.41077,
67.41244,
81.57401,
81.58609,
81.60142,
81.6295,
98.7739,
98.7446,
98.77567,
98.80209,
98.77325,
27.58358,
27.59181,
27.5209,
27.52792,
36.51687,
36.51698,
36.47393,
36.47274,
44.54129,
44.51069,
44.48357,
56.01181,
55.98168,
55.95796,
55.93635,
67.47845,
67.46205,
67.44695,
67.43954,
81.6862,
81.66833,
81.65157,
81.62977,
98.86917,
98.83996,
98.83189,
98.8159,
98.80827,
27.77095,
27.78102,
27.70057,
27.69963,
36.69578,
36.69669,
36.62445,
36.62204,
44.73111,
44.67801,
44.63213,
56.1795,
56.1607,
56.12913,
56.08551,
67.65314,
67.65904,
67.6128,
67.60891,
81.87629,
81.82854,
81.81149,
81.77195,
99.05333,
99.0371,
98.98992,
98.99298,
98.95486,
27.92796,
27.92742,
27.8703,
27.87087,
36.85278,
36.85211,
36.80437,
36.80157,
44.91586,
44.84177,
44.84476,
56.33383,
56.31983,
56.29203,
56.27855,
67.81657,
67.80472,
67.7806,
67.78533,
82.02678,
81.99159,
81.99351,
81.96014,
99.23295,
99.21841,
99.18517,
99.13863,
99.18478,
28.07077,
28.07138,
28.05598,
28.05736,
37.00428,
37.00457,
36.98779,
36.99141,
45.06064,
45.05315,
45.03615,
56.47178,
56.47931,
56.46877,
56.46429,
67.95971,
67.97247,
67.95067,
67.94506,
82.16199,
82.15804,
82.16381,
82.14136,
99.3,
99.34157,
99.32983,
99.3073,
99.32693,
28.0129,
28.0123,
28.03631,
28.03418,
36.93683,
36.93958,
36.97389,
36.97855,
44.93993,
44.96928,
44.9831,
56.40249,
56.42295,
56.43518,
56.45695,
67.90974,
67.91473,
67.93104,
67.93085,
82.09652,
82.11465,
82.12322,
82.13612,
99.25486,
99.31305,
99.29372,
99.28022,
99.29874,
27.77996,
27.78316,
27.86682,
27.86524,
36.70157,
36.70434,
36.79098,
36.79273,
44.75629,
44.76979,
44.86611,
56.16976,
56.20918,
56.24781,
56.28639,
67.68735,
67.67568,
67.73864,
67.73412,
81.84803,
81.89545,
81.93923,
81.97379,
99.03201,
99.06953,
99.095,
99.08235,
99.14455,
27.55126,
27.55336,
36.48411,
36.4871,
44.53054,
44.55105,
55.94318,
55.96042,
55.98323,
67.42404,
67.40652,
67.44193,
67.44785,
67.47608,
67.46779,
81.63403,
81.63465,
81.66125,
98.75345,
98.81701,
98.79933,
98.80432,
98.87492,
27.51643,
27.51351,
36.44413,
36.44242,
44.46209,
44.46016,
55.92923,
55.91573,
55.91613,
67.41147,
67.41103,
67.40602,
67.40646,
67.40127,
67.40527,
81.61575,
81.60521,
81.59579,
98.7887,
98.76714,
98.77304,
98.75751,
98.76823,
27.64632,
27.64891,
36.56984,
36.57396,
44.6453,
44.608,
56.08151,
56.04017,
56.02687,
67.56923,
67.57908,
67.53374,
67.53236,
67.4986,
67.48795,
81.76099,
81.7327,
81.6945,
98.95177,
98.91998,
98.91702,
98.87859,
98.84475,
27.8501,
27.84869,
36.77704,
36.77648,
44.81333,
44.82507,
56.27184,
56.25725,
56.23612,
67.76858,
67.78018,
67.7397,
67.74156,
67.70956,
67.70102,
81.94566,
81.94547,
81.91482,
99.17709,
99.08643,
99.11297,
99.05724,
99.07331,
28.00868,
28.0109,
36.94809,
36.9482,
45.00648,
44.98453,
56.42999,
56.42052,
56.40031,
67.92074,
67.9132,
67.90316,
67.89237,
67.88046,
67.86665,
82.10291,
82.099,
82.07202,
99.27648,
99.25949,
99.24162,
99.18125,
99.26126,
28.05375,
28.05106,
36.97944,
36.9797,
44.98878,
45.04191,
56.45298,
56.43959,
56.45611,
67.91676,
67.90847,
67.93668,
67.92723,
67.95609,
67.94247,
82.12341,
82.13238,
82.15149,
99.2734,
99.28712,
99.30482,
99.30605,
99.30972,
27.92504,
27.92866,
36.86594,
36.86929,
44.8492,
44.89767,
56.30428,
56.33209,
56.36534,
67.77895,
67.77935,
67.81351,
67.81093,
67.85638,
67.86237,
81.98643,
82.01036,
82.03365,
99.13151,
99.1935,
99.18467,
99.20037,
99.21014,
27.72056,
27.72289,
36.65255,
36.65323,
44.64698,
44.68751,
56.0845,
56.124,
56.14944,
67.5765,
67.59033,
67.61431,
67.61472,
67.64423,
67.64329,
81.77078,
81.80281,
81.82399,
98.89272,
98.939,
98.92819,
98.97665,
99.00124,
36.49903,
36.49921,
36.56059,
36.56032,
44.51339,
44.54703,
44.58393,
55.972,
55.99011,
56.00664,
56.03418,
67.4859,
67.47313,
67.51939,
67.52448,
81.64174,
81.67844,
81.69114,
81.71562,
98.83486,
98.86823,
98.82748,
98.86608,
98.89765,
36.40805,
36.41209,
36.42731,
36.42883,
44.42967,
44.44011,
44.49778,
55.88194,
55.8929,
55.89995,
55.9098,
67.37795,
67.36879,
67.39825,
67.40879,
81.57687,
81.5743,
81.58882,
81.57521,
98.73913,
98.74723,
98.74484,
98.75049,
98.78638,
36.47474,
36.47042,
36.43049,
36.43021,
44.52413,
44.47201,
44.48418,
55.95195,
55.94087,
55.91736,
55.89747,
67.42522,
67.43376,
67.40139,
67.396,
81.63464,
81.61893,
81.60516,
81.60285,
98.79073,
98.77342,
98.79539,
98.78307,
98.76962,
36.70344,
36.7049,
36.62177,
36.62467,
44.72251,
44.68711,
44.63909,
56.16311,
56.16011,
56.12462,
56.07749,
67.6574,
67.65167,
67.60862,
67.60152,
81.88149,
81.84309,
81.81212,
81.77635,
99.07081,
98.99052,
99.02101,
98.97089,
98.97221,
36.88178,
36.88105,
36.81422,
36.8163,
44.95866,
44.91761,
44.87437,
56.35679,
56.33401,
56.30341,
56.26553,
67.84641,
67.84942,
67.80024,
67.7811,
82.04152,
82.02664,
81.98198,
81.9829,
99.21516,
99.16666,
99.16508,
99.21188,
99.10984,
36.97776,
36.98222,
36.96267,
36.96281,
45.01503,
45.00788,
44.99642,
56.45554,
56.45187,
56.45016,
56.43187,
67.95555,
67.95219,
67.94688,
67.95519,
82.14457,
82.12855,
82.14272,
82.11893,
99.3003,
99.33329,
99.30437,
99.30379,
99.27587,
36.92331,
36.91572,
36.96444,
36.96017,
44.95019,
44.97665,
44.98811,
56.3937,
56.41282,
56.43023,
56.44042,
67.91163,
67.91072,
67.93864,
67.94257,
82.08466,
82.09212,
82.11891,
82.12889,
99.25381,
99.28728,
99.28414,
99.2925,
99.29273,
36.72589,
36.72325,
36.79778,
36.79704,
44.78691,
44.82502,
44.87027,
56.19415,
56.22403,
56.25683,
56.26683,
67.71163,
67.71444,
67.75887,
67.75546,
81.85655,
81.9061,
81.89418,
81.95993,
99.01826,
99.09573,
99.09864,
99.10681,
99.13491,
36.46869,
36.47077,
44.46787,
44.48799,
55.92349,
55.95158,
55.96321,
67.40874,
67.39751,
67.43293,
67.4224,
67.4632,
67.44873,
81.60584,
81.6193,
81.64861,
98.7645,
98.70456,
98.77972,
98.80695,
98.82204,
36.44104,
36.44143,
44.49902,
44.44564,
55.90852,
55.91227,
55.90659,
67.39893,
67.38997,
67.39441,
67.38915,
67.4021,
67.39048,
81.60072,
81.59432,
81.59801,
98.77981,
98.76151,
98.76122,
98.77294,
98.75854,
36.5264,
36.53192,
44.5711,
44.52815,
56.04152,
56.00765,
55.98188,
67.5356,
67.54304,
67.49905,
67.49654,
67.46367,
67.46,
81.71318,
81.70282,
81.6535,
98.91104,
98.86982,
98.86777,
98.83883,
98.83689,
36.75219,
36.75801,
44.83614,
44.77963,
56.25669,
56.22582,
56.19389,
67.76917,
67.75789,
67.71007,
67.69879,
67.66077,
67.65585,
81.9375,
81.90196,
81.87827,
99.14743,
99.06479,
99.01769,
99.05721,
99.01861,
36.92907,
36.93259,
45.00502,
44.93559,
56.41827,
56.4013,
56.37516,
67.91011,
67.91003,
67.89521,
67.89494,
67.87383,
67.86349,
82.1151,
82.08575,
82.07541,
99.30144,
99.28197,
99.23693,
99.19731,
99.25504,
36.99954,
36.99366,
45.01536,
45.06184,
56.46864,
56.47971,
56.47449,
67.94429,
67.93294,
67.95659,
67.94867,
67.97136,
67.97227,
82.14693,
82.16397,
82.16533,
99.30268,
99.31817,
99.31883,
99.32691,
99.31673,
36.86826,
36.86696,
44.86423,
44.90142,
56.305,
56.33996,
56.3534,
67.79706,
67.7871,
67.82774,
67.82813,
67.86584,
67.84917,
81.9993,
82.02895,
82.05661,
99.15636,
99.19739,
99.17189,
99.1914,
99.23699,
36.65882,
36.66136,
44.69026,
44.73771,
56.10542,
56.13308,
56.15696,
67.56905,
67.56892,
67.60888,
67.60728,
67.65861,
67.65327,
81.78191,
81.80309,
81.83033,
98.93065,
98.94771,
98.97203,
98.98389,
99.03689,
36.49348,
36.49492,
36.554,
36.55626,
44.50287,
44.53638,
44.5636,
55.95267,
55.98785,
56.01177,
56.02419,
67.4764,
67.47707,
67.51291,
67.50718,
81.62723,
81.66051,
81.68407,
81.7123,
98.84793,
98.78198,
98.94104,
98.79941,
98.87415,
36.38087,
36.37995,
36.4052,
36.40495,
44.45479,
44.41747,
44.47284,
55.861,
55.86066,
55.87538,
55.88251,
67.36604,
67.37267,
67.376,
67.37757,
81.55556,
81.56055,
81.55482,
81.58273,
98.73306,
98.74277,
98.73929,
98.76637,
98.76896,
36.4874,
36.49493,
36.44197,
36.4486,
44.55653,
44.52866,
44.4962,
55.974,
55.96651,
55.9315,
55.91566,
67.45985,
67.45506,
67.42953,
67.42119,
81.67139,
81.63957,
81.62066,
81.60429,
98.82705,
98.80714,
98.82363,
98.79967,
98.78984,
36.69511,
36.70136,
36.61316,
36.62022,
44.77147,
44.67696,
44.62643,
56.19503,
56.15017,
56.10934,
56.06841,
67.64466,
67.64987,
67.59845,
67.60802,
81.86854,
81.81816,
81.78313,
81.7562,
99.02823,
98.98322,
99.02719,
98.98512,
98.98757,
36.91384,
36.91582,
36.85312,
36.8583,
44.98542,
44.94478,
44.89392,
56.39848,
56.3733,
56.34254,
56.30935,
67.8727,
67.8694,
67.82794,
67.80786,
82.07047,
82.05492,
82.03138,
82.01608,
99.19296,
99.21456,
99.1836,
99.17564,
99.03249,
36.99441,
37.00171,
36.97964,
36.98066,
45.06168,
45.00892,
44.99959,
56.47964,
56.4706,
56.46547,
56.44508,
67.96123,
67.95297,
67.95451,
67.94745,
82.16286,
82.1462,
82.13938,
82.1445,
99.31497,
99.34753,
99.31539,
99.34275,
99.31656,
36.91719,
36.91488,
36.97092,
36.96862,
44.94653,
44.97676,
45.02936,
56.39262,
56.41499,
56.43126,
56.44753,
67.90311,
67.90913,
67.93233,
67.93683,
82.0787,
82.10566,
82.12328,
82.14967,
99.24132,
99.26244,
99.28669,
99.30537,
99.3082,
36.7088,
36.70894,
36.79269,
36.79081,
44.72628,
44.7784,
44.88142,
56.17203,
56.19471,
56.24069,
56.26736,
67.70047,
67.6968,
67.74639,
67.74128,
81.85998,
81.86848,
81.92503,
81.97342,
99.01855,
99.10137,
99.04691,
99.12563,
99.15479,
36.4363,
36.44086,
44.48738,
44.51259,
55.90702,
55.91363,
55.93596,
67.38387,
67.38957,
67.40958,
67.39936,
67.43735,
67.44035,
81.57236,
81.59054,
81.60658,
98.70515,
98.80045,
98.72136,
98.81501,
98.73158,
36.40761,
36.41014,
44.42251,
44.43161,
55.90458,
55.88633,
55.87517,
67.38425,
67.38916,
67.37761,
67.38271,
67.36754,
67.37029,
81.57893,
81.57365,
81.56072,
98.74632,
98.73326,
98.74228,
98.72211,
98.73351,
36.536,
36.5405,
44.62384,
44.59172,
56.05632,
56.01913,
55.99591,
67.54764,
67.5547,
67.51134,
67.51531,
67.47222,
67.46896,
81.73065,
81.69688,
81.68147,
98.93767,
98.87549,
98.89268,
98.86124,
98.85321,
36.79374,
36.79062,
44.86222,
44.82677,
56.28068,
56.2673,
56.24235,
67.79035,
67.77698,
67.74239,
67.7354,
67.71107,
67.71231,
81.95819,
81.9138,
81.91197,
99.1671,
99.033,
99.05367,
99.09617,
99.13767,
36.96206,
36.96461,
45.02597,
45.00883,
56.46216,
56.44318,
56.41598,
67.94462,
67.93198,
67.92552,
67.9074,
67.89905,
67.89467,
82.14008,
82.10465,
82.09363,
99.29664,
99.32845,
99.26841,
99.27199,
99.29078,
37.01311,
37.01105,
45.04275,
45.06408,
56.47583,
56.49573,
56.49016,
67.94804,
67.95017,
67.96036,
67.9437,
67.96748,
67.97301,
82.1653,
82.16907,
82.18067,
99.31937,
99.31339,
99.33286,
99.36416,
99.35311,
36.86969,
36.87764,
44.91063,
44.90731,
56.31681,
56.3497,
56.38506,
67.78437,
67.79031,
67.83176,
67.83069,
67.86211,
67.85619,
81.98848,
82.0304,
82.06429,
99.12013,
99.17709,
99.20439,
99.23905,
99.25062,
36.6444,
36.64384,
44.67177,
44.72644,
56.08395,
56.11784,
56.14648,
67.55475,
67.54801,
67.59544,
67.58533,
67.63777,
67.62713,
81.77759,
81.7969,
81.80452,
98.93362,
98.93719,
98.93483,
98.98038,
98.98042,
36.47545,
36.47703,
36.53402,
36.53635,
44.48666,
44.5632,
44.60372,
55.9451,
55.96076,
55.9949,
56.01212,
67.4526,
67.45806,
67.48524,
67.46997,
81.60815,
81.6074,
81.66239,
81.69458,
98.82818,
98.81142,
98.84498,
98.69489,
98.86979,
36.40736,
36.40711,
36.42021,
36.42,
44.47147,
44.46027,
44.48125,
55.87555,
55.88751,
55.8953,
55.88529,
67.3738,
67.38123,
67.38234,
67.38969,
81.57254,
81.56325,
81.56393,
81.5834,
98.76823,
98.74326,
98.77754,
98.73515,
98.75941,
36.49421,
36.48826,
36.45707,
36.45694,
44.51656,
44.48111,
44.47179,
55.97681,
55.94991,
55.93226,
55.92629,
67.45107,
67.46407,
67.43045,
67.43002,
81.6647,
81.6474,
81.62503,
81.61595,
98.85468,
98.83441,
98.8353,
98.81071,
98.79189,
36.69789,
36.70055,
36.63379,
36.62338,
44.72638,
44.67681,
44.62967,
56.1814,
56.14547,
56.11222,
56.09037,
67.66254,
67.69089,
67.61208,
67.60887,
81.86653,
81.83804,
81.80009,
81.77373,
99.00658,
98.94585,
99.00745,
98.95572,
98.94361,
36.91803,
36.9158,
36.86456,
36.8658,
44.96826,
44.9267,
44.88768,
56.40307,
56.38409,
56.3623,
56.32804,
67.89416,
67.89482,
67.85137,
67.84499,
82.06639,
82.06294,
82.02787,
82.03728,
99.26137,
99.26002,
99.26344,
99.19557,
99.22882,
36.98237,
36.98845,
36.99343,
36.99747,
45.0538,
45.05567,
45.01679,
56.46738,
56.48761,
56.46246,
56.46311,
67.9714,
67.97416,
67.96851,
67.97359,
82.15183,
82.1561,
82.16855,
82.14991,
99.31147,
99.34167,
99.28576,
99.29008,
99.34653,
36.91603,
36.91433,
36.96759,
36.96817,
44.93262,
44.96305,
44.98986,
56.35678,
56.40367,
56.42429,
56.42863,
67.89037,
67.87563,
67.91616,
67.90824,
82.06362,
82.09625,
82.10564,
82.11588,
99.25611,
99.26923,
99.28193,
99.31513,
99.28574,
36.67079,
36.67388,
36.75281,
36.74879,
44.72723,
44.76648,
44.83216,
56.14713,
56.16603,
56.21262,
56.24923,
67.6557,
67.66838,
67.70271,
67.70914,
81.80714,
81.84742,
81.8621,
81.93182,
98.89249,
99.03467,
99.05591,
99.05459,
99.12391,
36.45286,
36.45603,
44.45633,
44.48108,
55.90345,
55.91923,
55.96084,
67.40602,
67.41284,
67.41457,
67.42534,
67.44797,
67.45137,
81.6072,
81.60748,
81.65498,
98.74982,
98.80797,
98.7306,
98.83907,
98.77055,
36.41269,
36.41841,
44.44011,
44.44606,
55.92858,
55.9095,
55.89233,
67.39138,
67.39625,
67.39095,
67.38945,
67.39108,
67.39438,
81.58858,
81.58326,
81.58045,
98.7927,
98.74712,
98.77254,
98.75526,
98.75172,
36.56169,
36.56068,
44.62509,
44.57981,
56.05607,
56.02098,
55.98853,
67.55713,
67.56113,
67.51707,
67.49812,
67.46817,
67.45523,
81.742,
81.70583,
81.66521,
98.92933,
98.9127,
98.89802,
98.87671,
98.8811,
36.79821,
36.80112,
44.8735,
44.82441,
56.29738,
56.26643,
56.22278,
67.79508,
67.80741,
67.75917,
67.75761,
67.70764,
67.71427,
81.97051,
81.91601,
81.90734,
99.14479,
99.08579,
99.09207,
99.14437,
99.02048,
36.96374,
36.96457,
45.02297,
45.0057,
56.47302,
56.44138,
56.43526,
67.94656,
67.94318,
67.9244,
67.90927,
67.89815,
67.90068,
82.15272,
82.15704,
82.11551,
99.31151,
99.36747,
99.32343,
99.22768,
99.23883,
36.99782,
36.99866,
45.02395,
45.02845,
56.47288,
56.46148,
56.49443,
67.9456,
67.95252,
67.95665,
67.95525,
67.97308,
67.97157,
82.14045,
82.15843,
82.16669,
99.28483,
99.30708,
99.32044,
99.31786,
99.31578,
36.84411,
36.8496,
44.82216,
44.87772,
56.28379,
56.32278,
56.35096,
67.75584,
67.74305,
67.79308,
67.79115,
67.84358,
67.82672,
81.96162,
82.00247,
82.00821,
99.12735,
99.12594,
99.19913,
99.19135,
99.19695,
36.61733,
36.62012,
44.59857,
44.65388,
56.07231,
56.08863,
56.13136,
67.53546,
67.53466,
67.57728,
67.57739,
67.62684,
67.62503,
81.74963,
81.77034,
81.79651,
98.86182,
98.92702,
98.84766,
98.93532,
98.97874,
44.51301,
44.51577,
44.57769,
55.93066,
55.94773,
55.95635,
55.97623,
67.43253,
67.43672,
67.46603,
67.46204,
81.59398,
81.62611,
81.63455,
81.67095,
98.80553,
98.80388,
98.79279,
98.83455,
98.88054,
44.49199,
44.4785,
44.48927,
55.89375,
55.89257,
55.89619,
55.87742,
67.40027,
67.39944,
67.37382,
67.37332,
81.58506,
81.56819,
81.5913,
81.58499,
98.74453,
98.72601,
98.75262,
98.76075,
98.78466,
44.53314,
44.50919,
44.49457,
55.99655,
55.96319,
55.94887,
55.9294,
67.47852,
67.46729,
67.44328,
67.43658,
81.68769,
81.64648,
81.63491,
81.6373,
98.83635,
98.86433,
98.83459,
98.81973,
98.83457,
44.80553,
44.75059,
44.7212,
56.22339,
56.20504,
56.15468,
56.12418,
67.69401,
67.69821,
67.64776,
67.63976,
81.91068,
81.86533,
81.84734,
81.81946,
99.07317,
99.0378,
99.04211,
99.03297,
98.98579,
44.94225,
44.90433,
44.87302,
56.35968,
56.32348,
56.32315,
56.27922,
67.83425,
67.82979,
67.81801,
67.81316,
82.02306,
81.99533,
82.00763,
81.966,
99.21807,
99.18639,
99.15641,
99.23788,
99.18456,
45.03513,
45.01523,
45.00583,
56.4841,
56.45841,
56.47322,
56.47837,
67.96666,
67.9774,
67.95043,
67.95475,
82.16261,
82.17375,
82.11635,
82.13524,
99.34018,
99.31473,
99.34588,
99.33068,
99.29501,
44.9068,
44.9608,
44.96032,
56.35105,
56.36608,
56.38168,
56.40818,
67.86701,
67.86421,
67.8863,
67.88624,
82.04822,
82.06966,
82.08723,
82.11073,
99.20521,
99.2373,
99.2374,
99.27949,
99.27542,
44.68372,
44.7126,
44.7852,
56.14256,
56.14736,
56.18108,
56.22112,
67.6429,
67.65037,
67.67716,
67.66246,
81.81322,
81.8231,
81.85548,
81.91998,
99.06039,
98.99917,
98.99286,
99.07239,
99.15316,
44.49648,
44.52045,
55.91713,
55.91424,
55.94141,
67.38129,
67.38445,
67.41018,
67.40404,
67.4332,
67.42856,
81.56863,
81.58722,
81.59808,
98.76871,
98.77556,
98.79199,
98.80972,
98.82696,
44.50136,
44.49708,
55.93074,
55.93917,
55.91087,
67.40837,
67.40891,
67.40537,
67.4148,
67.38922,
67.39252,
81.61051,
81.60337,
81.5799,
98.79956,
98.78915,
98.77597,
98.75491,
98.756,
44.67746,
44.59615,
56.10537,
56.06821,
56.01251,
67.59513,
67.59657,
67.56175,
67.55061,
67.51142,
67.50658,
81.78143,
81.74378,
81.7065,
98.96437,
98.9361,
98.89233,
98.90935,
98.8867,
44.8881,
44.82655,
56.30298,
56.29294,
56.25517,
67.81369,
67.81053,
67.77296,
67.77127,
67.75095,
67.73416,
81.99007,
81.98035,
81.94533,
99.10725,
99.14053,
99.23848,
99.1071,
99.09171,
45.02455,
45.02153,
56.46027,
56.4495,
56.41784,
67.95757,
67.93337,
67.92207,
67.92014,
67.89532,
67.88779,
82.12655,
82.09003,
82.10427,
99.29887,
99.30147,
99.28887,
99.29906,
99.2522,
45.0022,
45.05448,
56.43388,
56.46742,
56.48028,
67.91467,
67.91362,
67.93781,
67.95232,
67.95837,
67.9603,
82.11698,
82.13316,
82.15272,
99.2561,
99.26687,
99.31269,
99.31342,
99.3259,
44.81468,
44.87933,
56.27557,
56.29902,
56.33598,
67.7349,
67.73351,
67.79193,
67.79372,
67.83763,
67.83721,
81.95334,
81.97875,
82.02522,
99.10621,
99.15434,
99.15748,
99.18443,
99.21176,
44.60769,
44.64798,
56.05987,
56.07507,
56.11154,
67.51554,
67.50629,
67.56384,
67.56417,
67.61339,
67.65955,
81.74339,
81.73486,
81.79023,
98.92399,
98.92385,
98.90241,
98.91201,
98.98181,
44.4692,
44.54197,
44.54962,
55.92357,
55.95654,
55.97488,
55.99434,
67.44608,
67.44487,
67.45994,
67.45362,
81.60712,
81.62694,
81.68504,
81.66701,
98.77069,
98.84675,
98.78722,
98.88737,
98.77557,
44.50798,
44.48919,
44.505,
55.91026,
55.91966,
55.91151,
55.9318,
67.42094,
67.42202,
67.40036,
67.4245,
81.58545,
81.6077,
81.60243,
81.59441,
98.79435,
98.76574,
98.7477,
98.75758,
98.71597,
44.62218,
44.58248,
44.54496,
56.041,
55.99854,
55.99801,
55.97478,
67.5155,
67.51133,
67.48582,
67.49288,
81.73492,
81.69286,
81.68201,
81.66946,
98.88579,
98.90812,
98.87112,
98.8461,
98.84832,
44.81942,
44.73113,
44.71095,
56.21165,
56.21398,
56.18239,
56.1557,
67.70495,
67.71745,
67.64323,
67.65734,
81.93157,
81.8615,
81.85712,
81.8266,
99.10253,
99.05676,
99.0594,
99.03812,
99.02654,
44.97028,
44.93501,
44.92633,
56.35968,
56.37158,
56.33105,
56.32318,
67.85518,
67.87012,
67.82482,
67.83295,
82.0708,
82.02386,
82.01781,
81.99737,
99.31588,
99.22516,
99.25219,
99.19625,
99.19819,
45.01189,
45.03759,
45.13011,
56.45536,
56.43684,
56.43816,
56.42957,
67.92924,
67.94874,
67.92348,
67.91182,
82.12395,
82.14036,
82.13023,
82.13301,
99.26308,
99.29517,
99.25822,
99.3167,
99.32548,
44.87708,
44.93322,
44.97635,
56.36672,
56.39098,
56.36513,
56.39414,
67.85698,
67.85607,
67.88306,
67.87514,
82.02329,
82.04685,
82.06474,
82.10653,
99.18758,
99.21085,
99.25562,
99.19019,
99.25985,
44.72429,
44.78645,
44.7544,
56.11003,
56.13201,
56.18482,
56.20322,
67.62537,
67.63135,
67.67306,
67.68117,
81.78828,
81.83,
81.82341,
81.88694,
98.95028,
99.00941,
98.9875,
99.01192,
99.03223,
44.5024,
44.51829,
55.90763,
55.94006,
55.93321,
67.37977,
67.35969,
67.39282,
67.38746,
67.41291,
67.4073,
81.59853,
81.59257,
81.58988,
98.7756,
98.81479,
98.79836,
98.79804,
98.67537,
44.46453,
44.48991,
55.9468,
55.87478,
55.88807,
67.42316,
67.42396,
67.38929,
67.37874,
67.37838,
67.37006,
81.62356,
81.59306,
81.58459,
98.82523,
98.78444,
98.77345,
98.74226,
98.76761,
44.73163,
44.6433,
56.11979,
56.11934,
56.05759,
67.60598,
67.61961,
67.56985,
67.57713,
67.53378,
67.53705,
81.78799,
81.76367,
81.73924,
98.97469,
98.94186,
98.9493,
98.92028,
98.93044,
44.90115,
44.86872,
56.30701,
56.3005,
56.28835,
67.83308,
67.83085,
67.78962,
67.79782,
67.74364,
67.7348,
82.00201,
81.96643,
81.96281,
99.12328,
99.19576,
99.16747,
99.1097,
99.171,
44.9826,
44.99173,
56.43711,
56.45182,
56.46129,
67.93433,
67.95398,
67.94611,
67.94804,
67.91335,
67.90506,
82.14116,
82.13371,
82.11662,
99.28077,
99.33856,
99.3515,
99.23415,
99.28189,
45.02004,
45.07697,
56.42319,
56.48198,
56.4761,
67.89901,
67.88504,
67.94532,
67.9266,
67.95298,
67.94742,
82.11916,
82.1282,
82.14371,
99.27383,
99.2907,
99.31947,
99.31348,
99.34571,
44.92609,
44.88005,
56.28303,
56.27928,
56.34131,
67.72028,
67.72025,
67.77505,
67.77923,
67.80663,
67.80211,
81.91392,
81.95457,
81.98562,
99.06947,
99.13419,
99.12422,
99.1437,
99.17675,
44.63279,
44.70804,
56.04413,
56.07979,
56.07603,
67.51928,
67.52322,
67.56596,
67.57763,
67.58606,
67.61476,
81.75237,
81.76221,
81.76199,
98.9316,
98.83128,
98.90533,
98.936,
98.89186,
55.97587,
56.00983,
56.04136,
56.00877,
67.42659,
67.42979,
67.49201,
67.50156,
81.64515,
81.61534,
81.64793,
81.69837,
98.7835,
98.8856,
98.85004,
98.79528,
98.88323,
55.86821,
55.92849,
55.86744,
55.93365,
67.40149,
67.40936,
67.41382,
67.41385,
81.58942,
81.58765,
81.62032,
81.6037,
98.76936,
98.7832,
98.80857,
98.79326,
98.86387,
55.99944,
56.10444,
56.04052,
55.96698,
67.50582,
67.49001,
67.50897,
67.52738,
81.73377,
81.68668,
81.67212,
81.67496,
98.87572,
98.90225,
98.892,
98.84688,
98.8432,
56.26958,
56.24582,
56.10553,
56.20882,
67.74169,
67.7709,
67.66272,
67.66145,
81.9318,
81.88402,
81.85404,
81.85191,
99.09524,
99.10659,
99.06693,
99.04327,
99.0108,
56.41683,
56.31675,
56.38398,
56.28722,
67.85181,
67.84444,
67.85136,
67.84158,
82.12743,
81.98667,
82.02657,
81.99353,
99.16617,
99.22184,
99.24915,
99.20782,
99.13555,
56.42358,
56.54137,
56.4493,
56.4848,
67.92471,
67.91453,
67.96087,
67.96966,
82.1384,
82.14135,
82.11855,
82.08789,
99.33695,
99.33852,
99.30002,
99.30576,
99.25774,
56.40265,
56.42177,
56.43171,
56.43677,
67.8959,
67.91124,
67.90771,
67.90474,
82.04291,
82.07251,
82.10015,
82.10547,
99.23291,
99.28171,
99.26161,
99.32005,
99.23799,
56.16514,
56.19589,
56.18032,
56.29813,
67.68692,
67.68555,
67.70219,
67.70525,
81.86482,
81.87228,
81.86298,
81.89708,
99.05794,
99.07632,
98.98828,
99.11199,
99.09322,
55.94044,
55.87275,
55.96861,
67.43909,
67.44705,
67.44117,
67.4213,
67.4057,
67.4021,
81.61268,
81.60769,
81.59944,
98.71899,
98.79508,
98.81526,
98.88584,
98.8748,
56.11074,
56.01888,
55.91246,
67.44237,
67.42127,
67.43284,
67.43935,
67.43176,
67.41705,
81.62748,
81.62686,
81.59827,
98.82948,
98.80799,
98.78612,
98.83138,
98.79039,
56.18179,
56.13829,
56.07516,
67.6542,
67.65521,
67.59504,
67.60391,
67.55344,
67.5351,
81.80413,
81.76819,
81.7205,
98.98763,
98.99451,
98.9852,
98.94735,
98.92962,
56.27991,
56.34452,
56.30941,
67.81458,
67.82192,
67.81475,
67.80484,
67.74027,
67.72679,
82.01112,
82.00739,
81.92074,
99.24737,
99.06023,
99.1535,
99.08702,
99.0592,
56.49887,
56.4531,
56.48175,
67.95436,
67.9417,
67.9433,
67.95255,
67.94111,
67.92064,
82.09969,
82.0527,
82.05815,
99.4113,
99.3395,
99.35069,
99.33636,
99.38409,
56.47711,
56.48313,
56.39582,
67.94462,
67.93671,
67.95506,
67.94518,
68.00016,
67.98677,
82.13859,
82.13299,
82.14413,
99.3232,
99.32459,
99.34431,
99.37041,
99.37953,
56.28302,
56.35747,
56.35018,
67.70168,
67.71278,
67.79447,
67.81197,
67.82117,
67.83889,
81.91591,
81.98811,
82.00464,
99.12122,
99.11864,
99.11677,
99.18593,
99.20055,
56.00041,
56.22283,
56.08108,
67.55637,
67.56052,
67.60226,
67.59421,
67.58869,
67.57009,
81.7595,
81.77369,
81.7924,
98.8546,
98.94086,
98.90839,
99.02945,
98.96516};
Double_t rdzTECn_fy25[3200] = {
-49.20144,
-22.42077,
-50.58578,
-22.73964,
-2.79759,
-32.39873,
-0.1106522,
-23.14961,
-10.32875,
-3.955437,
-2.513322,
-18.27704,
-33.53188,
-40.98718,
-29.03741,
-9.048943,
-1.040701,
-57.1413,
-61.72125,
-7.747826,
-24.95849,
-37.63637,
-32.64681,
4.651509,
-2.42078,
34.79012,
-51.17395,
-5.103788,
-30.30979,
-7.726524,
-19.13225,
14.59003,
-14.28075,
-35.64466,
0.2104621,
-13.52342,
-28.28016,
-15.92678,
-13.04501,
-61.25269,
-65.68599,
-63.25185,
-62.03613,
-90.28633,
-67.31937,
-97.48439,
-64.21951,
-64.73579,
-71.86691,
-50.0665,
-77.31856,
-97.14678,
-92.76933,
-30.68789,
-93.40097,
-52.18306,
-15.44618,
13.00946,
10.07987,
32.73759,
-13.55082,
-41.17285,
3.325673,
-20.17654,
-48.97481,
-53.49244,
-25.2555,
-123.5598,
-113.7754,
-99.48923,
-84.22522,
-149.7625,
-114.2802,
-160.1604,
-116.6681,
-167.9173,
-177.5539,
-183.7918,
-140.5705,
-202.8416,
-240.2164,
-185.7941,
-261.9072,
-174.5249,
52.98816,
76.94153,
29.20549,
50.64437,
12.49086,
-5.670259,
-11.55281,
-33.22364,
-52.66758,
-50.50858,
-66.99332,
-142.5935,
-153.8007,
-147.8757,
-144.5198,
-210.0382,
-181.7282,
-253.5444,
-208.4513,
-239.1633,
-277.3934,
-281.8376,
-245.6589,
-247.0812,
-275.9922,
-240.0072,
-298.7526,
-232.6628,
-69.07937,
-43.52213,
-158.556,
-134.6784,
-37.81741,
-55.67096,
-116.951,
-143.3504,
-40.74187,
-100.9038,
-158.1119,
-80.62785,
-110.0796,
-132.8384,
-184.6167,
-170.6484,
-154.0912,
-198.4667,
-177.5604,
-154.3272,
-167.3275,
-216.2965,
-233.9539,
-234.1728,
-231.9806,
-271.7859,
-287.2185,
-264.0889,
-9.242098,
9.069027,
-16.37413,
11.32099,
-29.08142,
-60.05532,
-22.67099,
-38.08188,
-75.50414,
-75.34713,
-63.58472,
-136.8375,
-142.4749,
-147.9594,
-143.833,
-190.2726,
-174.5583,
-207.4088,
-183.3779,
-222.9216,
-229.2201,
-202.9534,
-199.656,
-221.6435,
-298.1161,
-223.2492,
-258.4192,
-200.6826,
10.6134,
25.49013,
-9.035332,
9.580238,
4.218732,
-10.2736,
2.448556,
-35.23804,
-30.39428,
-41.74707,
-54.7232,
-60.94394,
-84.76574,
-94.17065,
-90.97172,
-137.891,
-104.1748,
-145.4231,
-134.8239,
-140.1845,
-160.1499,
-162.3035,
-172.8719,
-151.9481,
-235.7994,
-199.2104,
-242.7262,
-181.0294,
61.19144,
89.26884,
72.45814,
102.2139,
45.00318,
18.45669,
56.38216,
29.68329,
-0.1607645,
1.190042,
25.5328,
-66.63569,
-71.75538,
-68.37009,
-47.7695,
-84.18061,
-70.52985,
-113.6118,
-93.55258,
-104.9452,
-108.9855,
-137.0411,
-113.559,
-87.2625,
-123.3596,
-77.24821,
-125.3889,
-152.9512,
35.73073,
57.55197,
51.38903,
25.44899,
16.60451,
25.18846,
-17.64094,
1.880796,
15.90958,
-51.26087,
-45.76694,
-25.54092,
-8.298537,
-3.69809,
15.22241,
-48.3378,
-36.82772,
-3.714026,
-21.01785,
-65.36464,
73.41359,
-19.41659,
24.03793,
-6.627935,
65.54681,
38.76817,
13.74106,
-7.561686,
-0.1134551,
-49.84095,
-52.80101,
-45.81886,
-72.66498,
-37.4134,
-73.01452,
-55.92022,
-77.7854,
-53.67379,
-107.8778,
-99.76823,
-80.39634,
-89.06571,
-130.0445,
-81.55531,
-67.05301,
-29.47,
-11.47219,
9.889714,
0.003594421,
-18.00492,
-9.149149,
-41.35566,
-58.60887,
-55.25458,
-67.33866,
-118.1674,
-58.50137,
-123.4806,
-104.5539,
-109.7846,
-84.90705,
-180.1753,
-189.47,
-143.7188,
-212.1934,
-256.7262,
-223.4482,
-254.1323,
-179.8645,
-2.281409,
21.67462,
1.631307,
-29.042,
-26.08402,
-42.52636,
-76.51366,
-99.69258,
-92.11139,
-132.6853,
-104.1482,
-135.6216,
-105.4044,
-130.719,
-98.21256,
-172.8596,
-194.4747,
-164.84,
-191.8032,
-216.9285,
-233.2714,
-241.9079,
-241.7771,
17.03502,
39.46499,
-5.186549,
-25.93858,
-36.47389,
-58.78492,
-103.0837,
-116.1969,
-106.8798,
-148.1937,
-155.5187,
-148.2805,
-147.3647,
-170.4353,
-178.8269,
-197.2043,
-218.4791,
-211.4581,
-220.7098,
-278.292,
-230.76,
-279.0741,
-294.2981,
-17.0467,
7.214639,
16.90352,
-18.80009,
-13.21497,
-20.96213,
-47.38244,
-54.64421,
-55.52392,
-77.81215,
-48.36638,
-87.68425,
-72.73412,
-102.4441,
-88.71378,
-106.5351,
-133.8711,
-134.6242,
-176.1604,
-214.0714,
-167.9534,
-215.5655,
-176.8546,
7.171127,
22.12588,
54.13483,
18.58569,
47.57322,
22.86694,
15.70166,
9.29641,
3.985042,
-17.5103,
-0.580368,
-39.81506,
-31.73467,
-36.57505,
-54.2804,
-70.09551,
-81.85787,
-82.29092,
-128.7129,
-185.9586,
-121.4252,
-207.9317,
-144.2575,
39.17103,
69.23356,
66.23699,
47.16418,
52.45108,
23.26787,
25.36502,
13.906,
9.222892,
-3.757097,
20.04348,
-21.87886,
-6.014135,
-18.69198,
3.887117,
-20.95389,
-49.69374,
-19.81817,
-58.15936,
-88.882,
8.944114,
-103.5746,
-81.57764,
54.63414,
69.5871,
37.30402,
65.37975,
50.15055,
42.06552,
53.2951,
21.86488,
20.87289,
9.01475,
16.0262,
-19.49686,
-15.67575,
-20.99497,
-23.99646,
-30.40681,
-21.71113,
-25.85962,
-15.79155,
-11.10187,
-5.271074,
-10.01481,
-9.751541,
36.08799,
-37.13123,
64.70194,
31.84051,
47.39259,
-43.73904,
-17.03695,
-32.70963,
1.317608,
-1.463395,
-32.74533,
10.12977,
-30.15393,
-22.48618,
-16.54255,
-6.40953,
-59.57374,
-50.27462,
-47.83821,
-43.72482,
-75.86624,
-60.29937,
-75.97148,
-44.68987,
-95.55908,
-85.14066,
-90.34911,
-73.656,
-71.81744,
-82.69733,
-56.17101,
-88.06202,
-64.84866,
-63.51407,
-42.45832,
-95.28645,
-67.9734,
-10.50395,
-36.90458,
-52.83233,
-64.12687,
-45.09278,
-62.50002,
-70.42631,
-84.19633,
-91.19822,
-110.0228,
-109.2533,
-124.1305,
-94.82568,
-128.4276,
-141.8522,
-139.2351,
-156.3495,
-156.0259,
-155.9859,
-215.8204,
-238.2409,
-187.0204,
-224.5308,
-183.5331,
161.4642,
185.5719,
182.2402,
216.4188,
63.29651,
50.32267,
94.03153,
57.5573,
-41.76773,
-47.46756,
-15.27585,
-184.1028,
-174.2509,
-158.866,
-131.8606,
-269.3994,
-248.9462,
-265.451,
-222.11,
-293.4884,
-308.5227,
-299.8473,
-255.2734,
-199.3189,
-289.4125,
-244.8873,
-303.1734,
-273.86,
16.14046,
28.95668,
22.7923,
44.45799,
-13.70924,
-26.07042,
2.370809,
-21.73951,
-73.54453,
-72.36638,
-51.29857,
-154.0229,
-141.3608,
-140.622,
-122.205,
-182.7804,
-154.8543,
-178.6321,
-150.0954,
-232.909,
-214.7838,
-199.9726,
-155.9838,
-254.313,
-286.0739,
-243.1005,
-319.6448,
-207.633,
28.60281,
49.20345,
1.403641,
37.8728,
5.706549,
-21.14752,
-9.697636,
-38.38379,
-44.37907,
-64.66673,
-65.03371,
-107.6932,
-127.824,
-128.8859,
-133.3034,
-165.251,
-157.1659,
-195.3546,
-175.825,
-189.3517,
-211.2133,
-225.3829,
-231.5468,
-212.4879,
-217.6264,
-198.6813,
-255.9004,
-216.8546,
-17.07958,
0.7754568,
-39.77862,
-6.51339,
8.186952,
-25.53049,
-24.55985,
-51.86971,
-18.71781,
-30.30192,
-50.29716,
-49.04105,
-74.69406,
-93.40665,
-86.54369,
-92.26469,
-77.01202,
-125.202,
-106.7437,
-130.1114,
-146.5671,
-165.5058,
-159.1358,
-185.9765,
-214.2156,
-188.2222,
-221.2113,
-184.5364,
47.84642,
63.41012,
47.05771,
66.59151,
43.63069,
22.42468,
41.7342,
14.72964,
16.70661,
3.027294,
-3.225569,
-35.50295,
-47.18578,
-50.6669,
-60.43158,
-77.91748,
-50.61126,
-91.93723,
-68.59726,
-70.45725,
-90.82204,
-104.6866,
-108.8221,
-40.71573,
-110.9921,
-59.38876,
-144.077,
-87.78994,
49.00734,
65.18034,
61.00538,
41.47517,
49.8749,
35.86918,
17.45542,
20.95575,
16.52046,
-8.843666,
10.38209,
8.329236,
32.13195,
11.86947,
34.45069,
-6.679621,
0.5578399,
30.46463,
-46.95827,
-38.05124,
10.08987,
-10.86931,
24.34567,
55.62955,
78.36641,
42.27614,
9.772774,
-1.610256,
13.15562,
-40.22814,
-41.20787,
-20.79496,
-87.77257,
-67.77856,
-72.10236,
-74.53954,
-51.39003,
-30.48294,
-93.3849,
-84.20578,
-72.92107,
-88.1528,
-111.5842,
-46.31247,
-57.74953,
-14.52247,
19.19523,
50.32143,
19.22892,
-1.831894,
2.445706,
-23.81129,
-48.99649,
-77.07591,
-70.84872,
-116.9501,
-77.11913,
-121.9584,
-91.4358,
-132.9816,
-96.96533,
-170.7166,
-161.5476,
-152.7227,
-183.9694,
-181.0421,
-175.082,
-164.1074,
-133.3279,
-3.665874,
18.00258,
13.82946,
-22.03123,
-17.54704,
-21.78174,
-67.97691,
-63.53483,
-48.6288,
-112.0937,
-94.84794,
-109.992,
-76.87555,
-106.1565,
-84.33381,
-142.041,
-134.2046,
-135.3905,
-70.80212,
-171.1541,
-170.4031,
-231.8275,
-188.8274,
-27.21569,
-3.412178,
-0.7603269,
-29.90488,
-14.19215,
-33.30495,
-59.59661,
-58.97569,
-63.08592,
-97.07903,
-83.34683,
-102.1967,
-99.60207,
-115.0417,
-110.7671,
-149.1369,
-161.8684,
-147.9814,
-242.6817,
-306.8242,
-302.3223,
-294.1786,
-288.6509,
-15.22444,
-15.22277,
-16.82561,
-16.82322,
-16.1148,
-19.59504,
-16.41097,
-19.55215,
-22.8747,
-77.50726,
-49.28191,
-92.4151,
-79.60062,
-104.8893,
-80.17139,
-109.2794,
-125.7822,
-126.8425,
-142.7369,
-151.3509,
-156.8103,
-190.8448,
-164.6452,
6.565217,
18.61886,
52.30523,
27.74228,
46.96696,
28.51258,
32.49,
31.27167,
14.36448,
-14.91238,
-32.00759,
-9.752378,
8.094299,
-36.26662,
-6.669166,
-45.67876,
-51.79591,
-51.92326,
-99.56477,
-133.464,
-100.9757,
-162.1537,
-137.5407,
2.717306,
9.125373,
60.75609,
41.22841,
70.15979,
37.92276,
69.6257,
59.54013,
41.73428,
50.57318,
74.06613,
36.72181,
50.44742,
17.47497,
37.45738,
7.584108,
10.73459,
4.44653,
-11.77478,
-104.4462,
-29.51137,
-27.28271,
-9.408422,
-1.984078,
17.39472,
-33.81155,
-8.482111,
44.95648,
20.23923,
16.66807,
-13.08407,
26.51311,
20.91043,
8.390307,
-4.090494,
-9.578635,
-14.28515,
-15.76294,
-8.89951,
-14.24303,
-20.2196,
-4.96541,
2.167078,
-7.414349,
-8.342069,
10.0806,
23.72425,
-17.44984,
-12.66443,
-50.55992,
9.549585,
73.60112,
101.6768,
93.78268,
115.2974,
46.9052,
12.72361,
73.30099,
44.15596,
-10.73908,
0.8508976,
17.08797,
-67.50928,
-74.99549,
-61.11559,
-50.28818,
-107.9123,
-98.75529,
-109.3895,
-100.9965,
-121.3493,
-117.7948,
-114.612,
-72.74152,
-65.56463,
-108.6422,
-61.05602,
-79.36745,
-46.84509,
-31.47872,
-7.21619,
-54.86187,
-8.015871,
-21.79589,
-43.77268,
-23.07868,
-44.59695,
-60.50367,
-63.57313,
-60.36327,
-103.1165,
-118.662,
-99.95101,
-106.0512,
-152.0559,
-131.4504,
-152.5364,
-143.0706,
-102,
-181.5224,
-180.285,
-173.2273,
-189.4149,
-213.208,
-202.2737,
-218.7289,
-167.2023,
-16.13767,
4.157583,
-0.2426486,
36.07177,
-18.32998,
-52.66521,
-11.70412,
-26.50928,
-82.95284,
-66.98845,
-52.6514,
-144.8841,
-134.7259,
-115.5284,
-108.9671,
-176.6238,
-149.3046,
-166.1131,
-132.6909,
-229.5565,
-210.1044,
-227.521,
-198.2083,
-179.6403,
-250.3513,
-250.9982,
-306.3866,
-232.6676,
-34.97345,
-12.69617,
-24.9666,
-0.7056397,
-41.32265,
-65.28017,
-18.83347,
-43.86007,
-85.75171,
-76.48262,
-50.99373,
-147.3034,
-147.9191,
-132.3772,
-116.5596,
-173.9289,
-175.6046,
-161.0841,
-122.0191,
-205.4399,
-187.3152,
-183.0318,
-152.7771,
-65.56125,
-64.21185,
-285.5199,
-204.8976,
-189.6291,
50.4204,
69.64659,
37.71566,
70.37007,
15.92299,
-6.963568,
-2.83755,
-33.65996,
-38.7404,
-52.92181,
-54.05085,
-116.6992,
-128.8948,
-138.8075,
-136.2076,
-181.7295,
-165.8625,
-208.0235,
-193.3761,
-189.5086,
-226.4761,
-261.5499,
-229.7181,
-168.5455,
-244.6379,
-248.5815,
-266.5851,
-210.9076,
120.2537,
144.0587,
119.2192,
157.0614,
67.99754,
55.48917,
62.71905,
38.76439,
-8.645202,
-25.72018,
-19.31919,
-82.61275,
-101.859,
-122.0945,
-116.9119,
-159.0995,
-132.5533,
-185.6273,
-162.5899,
-139.1177,
-153.7414,
-179.8516,
-190.1136,
-130.5877,
-154.5558,
-159.3873,
-222.7416,
-169.8902,
-17.62739,
6.482987,
-25.12617,
2.338314,
25.31511,
7.619277,
14.72233,
0.2303247,
11.6627,
-4.761925,
-0.02888542,
-0.7154861,
-19.72024,
-19.84675,
-21.21713,
-41.60404,
-27.1139,
-58.67532,
-26.63857,
-45.43073,
-53.13081,
-60.43352,
-74.79457,
-7.448429,
-62.452,
-41.22405,
-78.29121,
-92.20749,
14.21529,
32.37328,
63.14024,
47.57677,
76.57584,
63.79819,
43.54935,
43.84266,
58.93962,
27.01282,
35.71023,
30.91252,
34.87885,
31.85447,
19.95092,
-0.2721576,
7.576955,
16.42575,
-4.08166,
-60.17674,
-28.66799,
-64.27644,
-62.02028,
40.37051,
64.02225,
38.15817,
0.3139544,
5.561441,
14.98809,
-25.42709,
-30.0662,
-5.534502,
-77.24284,
-44.73689,
-57.91246,
-38.53109,
-46.81342,
3.085472,
-87.27972,
-71.38763,
-60.56032,
-100.207,
-113.4147,
-60.50097,
-91.62391,
-46.86811,
-16.04787,
6.228629,
18.01095,
-17.08771,
10.07743,
-18.7728,
-27.32334,
-32.97658,
-47.04581,
-70.40942,
-39.5808,
-85.18346,
-62.44117,
-102.7667,
-72.7009,
-126.006,
-135.1517,
-125.4074,
-186.8671,
-201.7983,
-190.1915,
-191.5765,
-168.1194,
1.535895,
26.25504,
6.058085,
-26.75106,
-18.30052,
-28.33568,
-46.6125,
-56.51133,
-55.18642,
-113.7687,
-92.40248,
-107.7005,
-78.8578,
-114.2425,
-85.24814,
-127.2418,
-124.9005,
-134.7857,
-142.3703,
-188.2475,
-158.9677,
-209.8709,
-145.5028,
-13.94076,
8.641517,
14.03846,
-16.6317,
0.1474449,
-36.20758,
-59.13941,
-72.55774,
-68.88475,
-115.6948,
-93.41756,
-124.3221,
-103.8751,
-127.5552,
-129.232,
-147.6117,
-164.7694,
-156.5294,
-213.3856,
-259.0661,
-198.2594,
-330.8019,
-312.4585,
18.80303,
41.38619,
26.35803,
-1.716439,
-4.523325,
-3.272759,
-42.96244,
-49.91793,
-51.40798,
-81.32153,
-62.40396,
-92.56877,
-71.8205,
-88.25672,
-91.31068,
-94.63165,
-108.6938,
-105.3305,
-117.4087,
-147.079,
-140.9407,
-150.5629,
-164.0363,
27.30801,
47.14456,
60.53659,
34.29302,
49.70551,
36.90037,
19.2084,
22.26302,
12.67825,
7.20694,
28.41066,
-1.059369,
8.24265,
-17.80931,
-2.707611,
0.2451946,
-34.09694,
-21.10647,
-45.85633,
-67.09312,
-3.015663,
-99.13409,
-80.77939,
30.18055,
50.93312,
74.17912,
49.00534,
63.4421,
67.37008,
73.74203,
71.43722,
66.75323,
47.97704,
39.4286,
50.90973,
55.94007,
29.3728,
38.36553,
67.85245,
20.80274,
30.23183,
40.1045,
-52.26418,
57.77218,
0.6390489,
34.53711,
114.9939,
94.8531,
128.5138,
112.0377,
60.53684,
67.59924,
84.98479,
5.976871,
21.54675,
28.28057,
50.45385,
-15.00817,
6.351832,
-6.493741,
25.24148,
-36.29081,
-8.489305,
1.570106,
34.63865,
38.974,
58.98614,
8.993495,
8.022486,
115.5847,
129.4526,
105.4946,
125.3305,
87.48788,
57.61773,
56.08683,
58.4426,
-14.71645,
-25.10155,
-12.89987,
-15.04243,
-82.43021,
-55.41934,
-74.60252,
-54.91734,
-106.2446,
-107.5742,
-109.2755,
-69.69283,
-55.64848,
-95.52013,
-69.29763,
-57.09311,
-57.83396,
81.04716,
60.44497,
81.59457,
55.65148,
9.841407,
11.95863,
31.34956,
-68.32914,
-71.97169,
-59.97443,
-55.84895,
-129.6282,
-115.7384,
-119.883,
-81.42582,
-171.8881,
-177.5544,
-177.6929,
-150.7954,
-196.7472,
-227.7094,
-209.2998,
-240.8551,
-189.3346,
66.04082,
32.92566,
61.68036,
30.54993,
-3.615697,
1.056322,
4.408979,
-56.56234,
-48.83055,
-42.90659,
-45.80818,
-108.8858,
-72.71563,
-95.17148,
-67.24216,
-152.0516,
-162.6612,
-141.7782,
-148.3222,
-169.7338,
-232.6664,
-207.3693,
-220.4931,
-231.7648,
94.47119,
84.70319,
103.6879,
72.86246,
5.791597,
1.938095,
1.490362,
-90.85344,
-106.4236,
-91.64275,
-84.36499,
-168.5935,
-171.7954,
-169.0222,
-156.2021,
-201.1725,
-210.9706,
-210.1933,
-178.261,
-212.8131,
-219.0911,
-234.8628,
-177.1282,
-135.9179,
75.59245,
44.92308,
109.4713,
71.17169,
-4.399714,
16.51228,
30.03365,
-58.10303,
-71.82347,
-62.05381,
-60.51905,
-118.1009,
-110.0157,
-131.8805,
-115.555,
-156.2417,
-154.6057,
-181.4369,
-172.9533,
-169.6094,
-211.0658,
-195.6305,
-243.5425,
-222.6556,
142.3091,
137.2767,
116.1264,
98.12348,
66.11816,
43.54916,
45.37453,
-24.93682,
-34.56561,
-43.81897,
-44.2807,
-84.33155,
-102.8023,
-115.7457,
-104.6121,
-92.88685,
-121.5493,
-142.624,
-119.4693,
-89.09078,
-143.5731,
-112.5454,
-166.5903,
-126.2552,
134.7239,
118.2475,
126.5721,
105.8234,
85.51657,
75.50172,
64.82336,
27.05382,
1.028476,
-4.285054,
-11.14998,
-31.84285,
-51.98948,
-53.33988,
-39.00232,
-49.4054,
-48.86742,
-73.41257,
-60.00232,
11.1558,
-55.60837,
-43.37193,
-125.771,
-80.7757,
129.2071,
100.9789,
103.2704,
98.27479,
74.67108,
68.55922,
78.7727,
19.382,
45.78015,
25.11057,
40.67414,
29.40825,
34.74709,
3.996229,
-0.6670257,
18.40417,
6.443114,
28.47274,
-4.409801,
-40.93427,
42.65138,
92.63047,
69.89225,
64.31329,
60.61148,
13.17721,
10.82623,
18.11417,
-41.99576,
-24.13791,
-34.41369,
-11.97998,
-28.50232,
3.2377,
-78.27865,
-57.34977,
-43.16704,
-108.2982,
-136.3066,
-57.75803,
-92.38761,
-58.62098,
98.72644,
66.52714,
63.47878,
59.04277,
14.02302,
6.694325,
2.239096,
-32.11019,
-23.86305,
-42.76408,
-25.66948,
-37.76456,
-10.90461,
-89.23666,
-116.0777,
-97.94615,
-159.2473,
-151.5944,
-145.6311,
-183.0276,
-155.7592,
72.57514,
47.2423,
57.52409,
49.6292,
11.52151,
10.46816,
10.11507,
-45.10585,
-23.58618,
-39.95539,
-23.62359,
-51.22664,
-19.78774,
-91.69041,
-100.6367,
-101.367,
-140.5373,
-158.1826,
-141.72,
-154.6306,
-141.222,
92.77467,
58.74649,
64.69049,
50.16318,
-9.549807,
-11.36901,
-2.815342,
-67.62841,
-53.28482,
-81.90308,
-66.18543,
-98.86873,
-91.23719,
-131.134,
-128.1501,
-96.56126,
-150.3668,
-192.5372,
-141.3431,
-228.2612,
-207.4756,
102.9549,
75.33909,
47.35508,
43.11166,
0.9801516,
-18.03119,
-18.75755,
-56.45287,
-25.63434,
-50.15065,
-49.69427,
-60.18105,
-58.65738,
-52.82906,
-80.01158,
-73.13779,
-49.20997,
-114.2791,
-87.23643,
-118.2179,
-68.82456,
115.7755,
104.9449,
103.4167,
88.47512,
82.22694,
72.61718,
57.08177,
52.21925,
36.03949,
40.13783,
29.90783,
29.64598,
36.3545,
11.84157,
-4.652332,
1.62797,
-47.38647,
-84.49233,
-24.07516,
-64.19466,
-47.52005,
135.0582,
114.9192,
113.3372,
91.78141,
58.47825,
47.782,
35.31683,
39.42573,
89.62399,
25.27019,
33.04599,
17.01207,
38.21538,
72.73234,
40.02641,
47.01114,
61.15851,
86.58971,
65.09077,
69.45106,
109.4549,
117.7383,
105.5325,
124.2401,
113.5614,
64.04527,
63.63093,
68.80994,
24.2855,
10.09888,
16.68328,
12.1521,
-30.26951,
-17.91219,
-22.97097,
1.135578,
-20.11807,
-15.05068,
-28.64262,
-2.288346,
28.90323,
-33.63427,
30.66248,
167.9333,
47.37697,
106.1031,
78.94054,
82.14529,
55.89912,
63.11306,
46.62208,
49.43599,
-0.07113174,
-9.08473,
-22.21096,
-22.06339,
-58.16876,
-31.61598,
-79.33977,
-56.44954,
-82.59615,
-80.11407,
-85.7803,
-70.76473,
-80.97852,
-106.5102,
-94.17189,
-90.20391,
-68.51807,
49.76137,
19.54659,
43.90265,
16.28222,
13.65163,
17.75703,
16.6968,
-51.09027,
-31.38618,
-34.64859,
-48.52987,
-86.44619,
-56.99029,
-87.23214,
-53.81196,
-136.1842,
-131.0202,
-125.8148,
-118.9103,
-185.6054,
-245.7147,
-199.3804,
-242.5372,
-167.8186,
55.66558,
23.31374,
27.65373,
5.982727,
7.826413,
11.73882,
-8.86524,
-23.73526,
-28.99246,
-35.42801,
-49.46375,
-71.34348,
-38.83655,
-75.48189,
-30.31097,
-123.5133,
-84.07299,
-109.5772,
-119.936,
-140.8897,
-169.186,
-133.8141,
-184.9367,
-172.4009,
102.4045,
75.85174,
94.22307,
69.9589,
15.86062,
12.15716,
10.48915,
-66.13807,
-78.50271,
-77.75944,
-65.60297,
-150.1331,
-126.6313,
-140.7953,
-134.9936,
-161.0462,
-185.3396,
-174.9521,
-145.3053,
-215.562,
-243.0487,
-183.2922,
-248.8518,
-143.5502,
92.98461,
77.42139,
83.52744,
62.31736,
29.01214,
13.15309,
13.85513,
-40.40665,
-46.65235,
-31.38598,
-61.28711,
-82.85416,
-62.25621,
-100.752,
-92.20795,
-98.10892,
-106.0857,
-129.5619,
-114.0587,
-123.3786,
-208.3225,
-161.1499,
-232.2542,
-202.518,
120.7881,
113.9261,
99.02964,
90.33502,
78.16428,
58.4968,
54.2148,
32.43226,
11.35749,
-6.134159,
-29.78974,
-19.03221,
-19.49505,
-60.66553,
-49.83657,
-25.14068,
-38.24017,
-74.26749,
-68.05095,
-46.06351,
-93.67798,
-99.88689,
-147.6713,
-131.6003,
126.3237,
122.0542,
130.0725,
115.2752,
60.18018,
75.95424,
90.1501,
28.11451,
13.68824,
21.80084,
37.67092,
-16.43721,
8.581138,
8.91188,
18.82682,
-15.07944,
-17.59327,
-19.09695,
-20.18138,
43.95444,
23.42268,
-1.571356,
26.96265,
-7.540198,
134.3907,
105.7046,
109.5272,
95.83334,
56.20538,
42.91817,
51.91031,
2.139534,
27.77463,
8.014287,
15.03284,
16.74203,
8.501559,
-4.708751,
-2.961005,
14.58476,
-4.394005,
2.224924,
59.21531,
-11.64265,
42.95136,
106.2037,
59.66182,
82.76151,
55.11269,
40.63629,
27.45267,
28.02729,
-17.58383,
6.987563,
-6.646648,
-21.75149,
-6.536067,
18.03325,
-71.56998,
-70.78266,
-43.78361,
-128.595,
-137.6857,
-82.93733,
-75.0013,
-61.82839,
86.06148,
49.89446,
73.55074,
47.60016,
4.559412,
-0.7847645,
-4.170428,
-44.47132,
-16.69617,
-37.27442,
1.639485,
-61.72372,
-34.86149,
-100.3784,
-104.6368,
-87.11401,
-111.1875,
-194.785,
-151.1308,
-199.5143,
-189.486,
92.26505,
60.37107,
67.75131,
64.73853,
-6.024275,
-8.297447,
9.201244,
-59.44944,
-11.07424,
-61.6253,
-50.33055,
-63.13064,
-32.15202,
-106.9518,
-99.57407,
-88.86298,
-112.0086,
-124.6244,
-89.3904,
-138.7679,
-85.23314,
114.4354,
75.0664,
73.22985,
59.15454,
21.57392,
4.799858,
4.658121,
-47.49155,
-52.98431,
-38.26761,
-8.511717,
-36.46409,
-54.1623,
-82.76716,
-77.64701,
-97.6341,
-116.1924,
-202.6133,
-113.2719,
-246.5771,
-219.9931,
138.3534,
111.3471,
107.0101,
84.15395,
67.5052,
50.93592,
42.27383,
34.48567,
54.92762,
23.08697,
12.40181,
8.477504,
20.07106,
-8.581003,
-33.93488,
-14.395,
-55.31676,
-131.0673,
-70.30269,
-111.6611,
-72.33839,
132.8622,
125.0835,
125.2313,
107.8496,
98.09186,
91.07637,
84.23885,
79.68098,
96.91782,
69.8895,
74.00314,
61.98921,
29.63534,
65.70091,
49.97019,
60.52422,
44.77249,
-22.69532,
3.386049,
-45.26166,
-34.24831,
146.1923,
123.9172,
128.7435,
117.8705,
74.95082,
62.57863,
74.3754,
51.32621,
34.08073,
48.7644,
46.31802,
44.92889,
57.43571,
60.3686,
56.65336,
68.36971,
79.46362,
5.409783,
102.6216,
56.63445,
93.88528,
133.4542,
109.9571,
144.0749,
123.9358,
65.11213,
84.08031,
111.232,
24.5905,
27.34221,
30.26285,
56.2529,
-10.58132,
15.3572,
2.81434,
39.88937,
-5.927129,
9.671182,
3.401909,
34.64099,
-29.99234,
46.93604,
45.62007,
-69.02934,
22.51237,
-0.8601694,
-0.8615479,
3.10524,
3.104861,
16.11415,
51.3577,
70.34262,
7.100942,
17.1607,
35.16285,
37.29255,
11.25545,
67.86668,
4.28213,
17.4053,
-33.92048,
-6.105978,
-8.110907,
-12.32225,
-99.59627,
-56.91941,
-78.30261,
-37.71513,
-51.88503,
57.54209,
33.73438,
84.9474,
59.92041,
10.59599,
20.65036,
42.63229,
-61.62127,
-55.34596,
-40.75364,
-17.55521,
-101.4047,
-17.32109,
-98.83218,
-66.17659,
-116.6592,
-122.9396,
-123.5318,
-120.7452,
-124.4245,
-208.0314,
-151.3237,
-201.1928,
-159.1274,
84.50792,
56.12283,
-24.37295,
47.64108,
23.08448,
23.64284,
25.61917,
-36.85852,
-43.94507,
-49.00599,
-49.77114,
-108.2747,
-99.11629,
-105.2395,
-52.89703,
-120.311,
-106.8135,
-131.8573,
-134.8933,
-156.3083,
-171.4811,
-118.561,
-175.7803,
-174.9987,
118.8819,
83.78484,
117.2658,
87.20306,
32.19207,
32.30279,
36.28129,
-35.16202,
-60.34222,
-42.36052,
-41.19056,
-104.2023,
-88.17773,
-109.9759,
-76.09723,
-149.9087,
-139.7168,
-146.7243,
-138.1379,
-167.9552,
-127.2357,
-220.6761,
-205.3616,
-144.6196,
152.9458,
112.6638,
173.394,
132.6534,
55.4049,
53.12167,
85.87048,
-2.41458,
-22.54609,
-25.5913,
1.880322,
-68.67049,
-70.19868,
-86.72053,
-99.53908,
-59.81103,
-100.5954,
-112.4758,
-95.59886,
-31.36961,
-155.9877,
-131.2445,
-166.6455,
-119.8196,
128.7236,
128.2686,
126.3437,
94.45531,
89.45804,
66.58543,
70.6991,
83.55064,
48.74423,
52.15572,
53.52248,
52.07589,
50.39119,
7.234836,
11.50268,
53.2898,
41.71758,
20.79458,
14.34847,
15.73698,
-7.618042,
1.282608,
-41.92674,
-40.35111,
151.8034,
125.4098,
166.0845,
147.0147,
93.749,
102.959,
130.2753,
59.09073,
54.58153,
75.81838,
85.88979,
55.8887,
6.598244,
44.76766,
46.90099,
43.82253,
44.05378,
63.76036,
69.08369,
29.76927,
84.00542,
42.53031,
-11.94191,
62.19412,
144.615,
126.3044,
111.2023,
116.8881,
74.36249,
79.99832,
83.65208,
30.82587,
48.37342,
51.50783,
90.41697,
35.36092,
66.02969,
22.9148,
49.83773,
58.3808,
-10.19252,
-51.79093,
46.09471,
47.10926,
109.3318,
128.7916,
94.61002,
75.43787,
85.48044,
12.1044,
24.55475,
55.34283,
-18.80803,
17.35786,
-1.458904,
28.45047,
11.92654,
31.61127,
-54.4804,
-44.23306,
2.451178,
-94.26801,
-102.1341,
-80.95834,
-122.3005,
-66.40841,
91.85318,
56.29599,
60.57602,
56.1392,
-13.90936,
-25.05125,
1.317698,
-49.66399,
-20.97114,
-52.38364,
-25.82716,
-52.87704,
3.281456,
-62.99703,
-66.95178,
-80.40318,
-90.5909,
-134.5101,
-94.82426,
-121.0862,
-77.79294,
129.0288,
93.01582,
98.56611,
90.36732,
35.77766,
28.46979,
40.93375,
-18.71456,
54.83737,
-17.53102,
18.94274,
-18.57934,
16.06241,
-60.10814,
-78.97753,
-57.27719,
-105.6035,
-97.3101,
-204.2932,
-136.1771,
-153.4423,
144.8039,
113.2169,
97.03467,
102.7943,
44.00404,
14.41243,
32.73187,
-11.4816,
25.29253,
-28.04389,
-17.97131,
-40.1258,
-10.82692,
-9.221612,
-55.67536,
-46.36519,
-8.16034,
-17.21911,
-36.36795,
-49.12865,
-74.88251,
172.3777,
125.2301,
114.9454,
125.8142,
92.22452,
90.30333,
101.6313,
71.86514,
69.26774,
78.62687,
3.092037,
72.87094,
87.51661,
62.98289,
49.68437,
57.9327,
71.9427,
-40.73599,
22.31781,
-34.60832,
9.143176,
158.4984,
-2.022896,
149.4961,
144.1648,
127.6956,
118.5437,
122.9979,
102.7218,
103.3264,
118.869,
119.9319,
108.6812,
104.0989,
98.6628,
122.3001,
133.7692,
107.795,
43.37764,
13.76249,
122.8689,
89.04399,
177.7783,
155.5037,
138.9616,
119.3928,
102.7263,
96.4539,
89.94067,
72.99178,
89.46934,
72.26396,
22.81917,
71.93839,
75.59642,
97.4491,
84.27303,
147.1089,
83.89106,
90.09829,
152.673,
128.3535,
162.0953,
89.83542,
112.3089,
155.4827,
33.13546,
47.48406,
63.68025,
82.49844,
23.89886,
15.19808,
9.680075,
27.52895,
-16.91306,
22.18242,
7.522605,
22.73928,
33.02573,
-48.89116,
-3.209941,
-117.5503,
-12.2795,
79.59,
90.26614,
102.0786,
12.44224,
-11.21882,
3.270423,
8.909122,
9.426116,
9.427217,
-44.70314,
13.73874,
-48.87485,
-53.10439,
-11.16299,
-32.15702,
-48.47825,
-35.55478,
-55.56636,
-97.2231,
-69.88994,
12.42928,
42.32151,
54.38155,
-53.98862,
-40.389,
-34.3428,
-15.56953,
-73.17349,
-30.59803,
-78.38341,
-40.23106,
-105.8221,
-104.1661,
-117.8817,
-89.46021,
-140.136,
-154.0119,
-143.9924,
-211.4049,
-165.2257,
56.35383,
44.54969,
34.47696,
18.83887,
27.46848,
24.69615,
6.231964,
-13.81445,
7.095026,
-19.47792,
7.687345,
-60.64437,
-17.69391,
-55.2514,
-44.09547,
-98.16224,
-98.688,
-101.4639,
-112.1477,
-121.4322,
48.3674,
73.96088,
97.01146,
-3.878658,
-4.187936,
7.692484,
29.16173,
-24.54519,
1.855407,
-3.46402,
11.64468,
-68.88002,
-57.46898,
-42.1958,
-27.19772,
-122.4814,
-234.5017,
-116.6091,
-78.70857,
-102.96,
94.92974,
88.06925,
102.9612,
73.11705,
85.03031,
67.49034,
57.88379,
47.44736,
50.4976,
32.6067,
62.05626,
35.55377,
34.90179,
37.06197,
5.569925,
-3.754643,
-13.93015,
-47.16952,
-75.09108,
-38.33452,
102.1258,
109.9246,
131.5852,
79.43085,
94.67187,
93.20326,
83.12598,
55.27917,
69.61716,
53.31784,
58.35116,
90.67397,
80.77927,
62.45151,
59.35937,
102.0974,
54.48097,
64.45078,
8.879851,
27.39636,
134.0347,
133.6298,
132.416,
104.8693,
91.0516,
72.92004,
109.5434,
85.79564,
57.86765,
107.3291,
109.3084,
97.99052,
127.3669,
109.0783,
130.1184,
148.7836,
109.7885,
139.1159,
33.37358,
103.8505,
138.977,
135.3547,
117.0883,
105.7864,
117.2217,
69.12585,
87.28332,
81.56288,
85.07134,
77.31924,
90.44003,
60.44881,
71.04691,
101.4119,
31.76901,
33.6573,
34.80267,
36.42739,
41.27738,
103.821,
114.472,
26.7503,
44.69416,
73.34438,
7.585518,
32.30643,
11.05051,
30.73734,
41.07087,
72.81161,
-29.30344,
-8.222809,
12.67368,
-122.9517,
-129.5989,
-20.98975,
-63.40291,
-27.64946,
84.99204,
72.16211,
53.69256,
39.80248,
10.47534,
-0.9858676,
33.19935,
-18.81265,
3.31729,
-50.12966,
-8.924088,
-53.53347,
-44.06044,
-57.66619,
-66.47842,
-57.14671,
-61.71317,
-130.0843,
-80.0801,
137.1819,
133.7134,
110.8598,
84.17059,
96.02657,
33.4773,
48.28356,
39.08695,
67.01654,
7.976652,
32.54947,
-7.462278,
-5.883439,
-1.427418,
12.50346,
-72.43787,
9.026948,
-147.3168,
-43.11987,
146.7803,
133.466,
91.00008,
74.8363,
73.47483,
58.40117,
72.59178,
23.22844,
48.25391,
32.51498,
27.02411,
61.88563,
12.07415,
24.13037,
30.90188,
12.5353,
-94.65763,
-43.48351,
-36.58426,
193.3764,
154.7989,
165.6168,
135.0087,
131.3815,
126.0331,
147.0872,
119.9752,
134.1625,
101.7051,
117.5708,
129.6614,
109.6486,
142.1573,
53.32453,
21.21377,
100.2883,
70.82981,
105.2704,
160.9321,
159.8761,
162.785,
145.5469,
147.8638,
157.042,
144.3725,
148.7742,
131.9845,
130.957,
122.7118,
159.0863,
174.3311,
160.776,
102.9131,
103.9584,
190.616,
143.4771,
116.6628,
172.0777,
184.0945,
152.6229,
144.8261,
166.2365,
108.0894,
113.5774,
107.9734,
103.2379,
130.5347,
52.40377,
111.0298,
124.7093,
159.3175,
110.2903,
108.4094,
121.0893,
77.08041,
174.7598,
102.5008,
170.2954,
142.3616,
60.75447,
18.18864,
115.5625,
139.8732,
87.837,
88.74913,
90.55538,
113.8978,
86.08674,
99.39433,
32.09072,
103.7655,
100.4727,
32.89938,
52.33654,
127.8118,
100.1837,
129.792,
78.21143,
104.9789,
22.96914,
-2.521457,
8.764841,
28.28979,
-24.29416,
23.31492,
-34.63022,
-12.65711,
-28.58022,
-21.21198,
-29.62562,
1.41167,
19.88105,
-52.95143,
7.453283,
50.63567,
77.35912,
50.72852,
45.06718,
80.77817,
-68.63863,
-36.72812,
-12.52409,
18.9136,
-113.9131,
-68.43822,
-84.79029,
-59.45961,
-140.3055,
-135.4467,
-133.9028,
-72.52388,
-94.81532,
-167.1395,
-147.041,
-11.97428,
-117.7708,
130.6681,
98.72056,
64.07767,
70.41679,
44.25325,
40.71912,
6.386064,
-22.81568,
-7.705359,
-37.78907,
8.298734,
-77.88815,
-42.56892,
-86.68646,
-73.70058,
-27.21089,
-64.66057,
7.025735,
-15.86353,
-32.6287,
140.6826,
130.8763,
84.19502,
72.86999,
59.4375,
61.70598,
48.84032,
43.50142,
51.74339,
33.92478,
86.11404,
0.5419096,
2.646162,
-1.308232,
-8.894322,
54.36342,
-96.87197,
65.42439,
-3.337345,
36.04363,
157.3389,
192.5922,
231.2876,
123.6264,
152.322,
138.9007,
174.1543,
124.9665,
145.1061,
124.0072,
139.8761,
104.2242,
123.4083,
69.41174,
87.96549,
181.6459,
104.1771,
96.26647,
59.18808,
64.96697,
203.4398,
207.7292,
261.5855,
134.362,
113.8995,
142.0291,
167.8106,
78.62388,
80.75697,
81.24124,
75.13563,
119.363,
96.8036,
89.76582,
139.6234,
169.5478,
140.2442,
191.8657,
107.7563,
110.5604,
216.5849,
240.2903,
235.8688,
144.6955,
150.8695,
149.5191,
143.1102,
102.8903,
127.9107,
132.8148,
122.2824,
166.0492,
189.0174,
182.6286,
182.7636,
237.445,
186.5422,
192.2197,
151.631,
181.672,
192.5323,
184.4845,
136.4641,
141.3377,
142.7007,
95.82466,
120.3904,
93.15507,
123.9761,
89.67889,
118.0572,
91.26891,
105.3762,
114.8366,
193.3582,
135.1271,
75.23582,
109.8181,
153.2731,
158.1383,
66.85672,
67.79111,
88.78698,
61.13191,
1.938629,
37.49453,
32.40941,
65.98206,
33.7436,
55.10818,
-14.35201,
5.049664,
9.923461,
-88.31431,
-80.46353,
8.457543,
6.940019,
33.07653,
153.8118,
83.15138,
106.6418,
113.0465,
76.70037,
71.34214,
120.7836,
34.89938,
62.98186,
-39.75212,
11.82909,
-7.603258,
-28.18881,
-42.1004,
-29.70498,
-38.98614,
-54.38861,
-48.60035,
-68.33101,
158.5432,
127.3021,
141.5288,
136.0516,
124.562,
78.48228,
119.9894,
59.98356,
80.12898,
73.13324,
119.3724,
51.74243,
17.31256,
-50.87284,
30.81569,
-74.11932,
49.92584,
-57.43369,
7.697478,
213.7681,
175.8859,
222.532,
189.7361,
150.9883,
162.6178,
198.6288,
129.5798,
178.5614,
65.31364,
126.5035,
160.4572,
108.2035,
133.992,
147.4802,
7.958051,
120.4903,
126.8024,
41.84332,
320.3258,
305.7079,
214.7507,
217.7099,
214.8459,
160.6711,
161.2772,
180.2444,
188.634,
155.5676,
190.2015,
196.8012,
202.2693,
206.0915,
267.5603,
229.9538,
250.8936,
224.7919,
328.8113,
242.5771,
190.25,
219.8573,
156.0801,
168.7732,
159.4863,
122.8609,
162.3594,
125.4276,
160.2585,
143.621,
188.9936,
161.6672,
209.1467,
248.1738,
192.6099,
275.1458,
210.4572,
265.7399,
223.0448,
204.5432,
208.0157,
202.6591,
223.4585,
147.46,
145.0136,
148.7192,
144.5938,
154.9512,
146.8588,
166.4211,
162.5565,
233.7814,
147.3718,
211.2534,
108.4272,
228.6062,
313.161,
134.306,
73.57992,
140.2829,
189.16,
44.50593,
66.78034,
43.86803,
60.95391,
79.68144,
94.97153,
138.7513,
65.46819,
160.9001,
174.5047,
151.062,
45.41587,
220.4234,
90.41222,
105.8154,
89.94136,
90.08865,
-2.326924,
48.9441,
33.27065,
77.82602,
-36.82122,
8.998415,
10.35143,
45.35537,
15.6091,
68.35836,
71.84372,
78.86427,
78.1219,
12.38574,
9.658573,
42.86607,
-24.72489,
-157.5514,
-109.9387,
-106.7628,
-81.12249,
-143.2053,
-226.2385,
-204.0949,
-139.6628,
-121.9756,
-237.0149,
-164.7429,
-168.2256,
-134.2489,
98.79183,
92.16324,
58.41439,
67.41681,
82.30864,
128.0924,
65.96304,
106.5555,
4.508314,
40.28515,
10.20484,
33.56777,
-62.00161,
-18.27366,
12.06173,
-12.19969,
-5.01189,
131.773,
107.0492,
123.9639,
107.7417,
19.8536,
75.09357,
34.22264,
61.9966,
49.98671,
1.736872,
37.30142,
49.85408,
104.571,
23.8298,
-39.70321,
-19.50634,
27.34923,
314.215,
226.4861,
227.7129,
247.7075,
214.7,
249.7938,
188.8678,
224.5728,
188.1532,
210.6932,
153.4944,
145.6503,
255.9627,
187.6502,
248.5553,
219.2587,
191.9257,
271.0849,
240.2451,
395.3301,
366.1793,
202.6801,
193.2145,
174.1737,
144.2629,
184.0604,
171.2681,
148.2094,
186.9267,
247.0624,
210.1281,
293.4912,
226.7834,
202.8766,
222.8257,
236.7803,
131.3679,
226.1278,
141.6551,
132.7988,
132.9693,
153.1058,
217.0144,
225.4867,
210.402,
235.8664,
375.3824,
324.9425,
339.7732,
249.9014,
279.3279,
245.7176,
195.2025,
168.6434,
139.0088,
180.5118,
152.8237,
182.4241,
132.4019,
161.086,
116.1429,
76.54009,
174.3492,
160.2483,
82.94373,
141.3099,
125.3861,
245.4413,
89.46387,
73.83901,
0.7147369,
3.618939,
40.85492,
-55.32346,
-57.15413,
11.77487,
3.538341,
-111.7027,
-111.9835,
-70.94334,
-117.7652,
-114.7975,
-66.76806,
-60.65533,
45.4398,
173.7753,
314.3063,
189.6127,
158.3135,
153.742,
150.8639,
176.1987,
89.33408,
141.2187,
91.11805,
96.46875,
30.37208,
48.8707,
9.682306,
-39.28854,
-86.75986,
-34.16108,
167.0081,
112.2441,
105.1762,
116.0242,
154.1753,
120.256,
122.092,
88.38618,
150.6483,
53.41659,
69.64307,
75.32019,
240.6202,
137.5192,
114.7694,
44.79702,
-44.64819,
252.901,
199.9623,
167.3173,
259.2095,
280.8776,
229.5266,
279.8823,
119.6252,
198.9738,
268.9503,
215.4759,
194.8767,
289.5414,
326.2587,
235.2393,
178.2271,
110.9686,
555.9429,
443.3934,
473.1836,
339.0497,
294.4895,
303.3891,
304.301,
275.3581,
308.0096,
270.3542,
283.4514,
337.0162,
326.769,
277.4141,
350.5392,
294.6824,
375.3551,
306.8367,
411.9767,
310.8393,
275.0036,
239.9032,
287.946,
258.0334,
252.4308,
249.9847,
253.0909,
297.4828,
318.4111,
331.3535,
279.6037,
353.8983,
296.9971,
349.0697,
338.0186,
394.0065,
326.3045,
203.4666,
197.6632,
230.356,
225.7732,
243.9145,
246.961,
103.4074,
261.1289,
247.5181,
133.492,
144.4296,
230.6552,
279.5762,
347.958};
TGraph *graph = new TGraph(3200,rdzTECn_fx25,rdzTECn_fy25);
graph->SetName("rdzTECn");
graph->SetTitle("TEC at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(7);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTOBn_fx26[2604] = {
58.26049,
58.68097,
59.32225,
59.74799,
58.2348,
58.66196,
59.29082,
59.71632,
58.2179,
58.64145,
59.28043,
59.70414,
61.42261,
61.86228,
62.47141,
62.91399,
61.39949,
61.84397,
62.44699,
62.88721,
61.38267,
61.82001,
62.44029,
62.87768,
58.20881,
58.6291,
59.25804,
59.6878,
58.16811,
58.5963,
59.23441,
59.65731,
58.15006,
58.56853,
59.21277,
59.63103,
61.3706,
61.80931,
62.42859,
62.86397,
61.34409,
61.7821,
62.41093,
62.84926,
61.33305,
61.77547,
62.40767,
62.83994,
58.16138,
58.59019,
59.20694,
59.65219,
58.136,
58.56417,
59.19967,
59.63763,
58.12666,
58.55161,
59.18157,
59.61887,
61.34641,
61.78052,
62.40535,
62.84753,
61.33915,
61.77608,
62.39806,
62.8425,
61.32858,
61.76669,
62.38916,
62.83149,
58.13303,
58.57431,
59.18763,
59.63123,
58.13449,
58.55938,
59.19517,
59.63145,
58.12937,
58.5599,
59.19001,
59.63338,
61.35755,
61.78209,
62.42192,
62.84264,
61.34723,
61.77015,
62.41193,
62.835,
61.35595,
61.77219,
62.43713,
62.85867,
58.14624,
58.58439,
59.20834,
59.64639,
58.15082,
58.5886,
59.23101,
59.6548,
58.16322,
58.59169,
59.24765,
59.68015,
61.38878,
61.81532,
62.45229,
62.88302,
61.38406,
61.81205,
62.45112,
62.87963,
61.39147,
61.81587,
62.47195,
62.89296,
58.193,
58.6236,
59.25862,
59.70261,
58.20494,
58.63689,
59.25834,
59.69737,
58.21071,
58.65218,
59.30569,
59.73118,
61.4354,
61.86567,
62.49269,
62.93952,
61.43386,
61.86589,
62.50768,
62.94561,
61.44238,
61.87272,
62.5206,
62.97144,
58.25135,
58.67341,
59.32541,
59.7496,
58.26723,
58.69136,
59.34003,
59.75758,
58.28147,
58.70383,
59.36448,
59.78327,
61.49834,
61.9332,
62.57517,
63.00759,
61.50246,
61.93621,
62.58252,
63.01686,
61.51444,
61.95117,
62.60848,
63.03558,
58.33033,
58.75708,
59.4013,
59.84431,
58.32413,
58.76247,
59.41403,
59.84053,
58.34115,
58.77665,
59.42218,
59.86159,
61.58127,
62.02029,
62.64111,
63.0817,
61.57927,
62.0209,
62.65238,
63.09032,
61.58585,
62.02278,
62.66154,
63.09881,
58.42956,
58.85514,
59.49226,
59.91785,
58.427,
58.84558,
59.49358,
59.91452,
58.42255,
58.84219,
59.49471,
59.9199,
61.68591,
62.11783,
62.75027,
63.17376,
61.68211,
62.10748,
62.74872,
63.16901,
61.67204,
62.09916,
62.73944,
63.16574,
58.52905,
58.97018,
59.58772,
60.01734,
58.51092,
58.95215,
59.57594,
60.00822,
58.49893,
58.93201,
59.56325,
59.99438,
61.76669,
62.19595,
62.82957,
63.25525,
61.75962,
62.18468,
62.83052,
63.25624,
61.75946,
62.18226,
62.82553,
63.24495,
58.62328,
59.05061,
59.6792,
60.10476,
58.60487,
59.02896,
59.66684,
60.09049,
58.59531,
59.0223,
59.66171,
60.08364,
61.84739,
62.2828,
62.90603,
63.34335,
61.83501,
62.27604,
62.90258,
63.34322,
61.83284,
62.26648,
62.88758,
63.32688,
58.69454,
59.11565,
59.75498,
60.17733,
58.68018,
59.10524,
59.75513,
60.1689,
58.67609,
59.0994,
59.73579,
60.16342,
61.90319,
62.32355,
62.97389,
63.39074,
61.89849,
62.32118,
62.96658,
63.38503,
61.88585,
62.3172,
62.95987,
63.38374,
58.73359,
59.15803,
59.78998,
60.21683,
58.72152,
59.14539,
59.77842,
60.21066,
58.71405,
59.12868,
59.76247,
60.18606,
61.92619,
62.35824,
62.99446,
63.41874,
61.92722,
62.35582,
63.00304,
63.42038,
61.9322,
62.34986,
62.99899,
63.41962,
58.72077,
59.15751,
59.80072,
60.21984,
58.72393,
59.16481,
59.81513,
60.23676,
58.74039,
59.1694,
59.81118,
60.23567,
61.90947,
62.34542,
62.98297,
63.42709,
61.91792,
62.35815,
62.99887,
63.43333,
61.93313,
62.36589,
62.99421,
63.42763,
58.69231,
59.13177,
59.7697,
60.20299,
58.71577,
59.15126,
59.79455,
60.23742,
58.73185,
59.16517,
59.79417,
60.23115,
61.88227,
62.31351,
62.954,
63.39139,
61.89653,
62.32938,
62.97948,
63.40747,
61.90665,
62.33894,
62.97168,
63.40536,
58.66679,
59.0937,
59.74318,
60.17147,
58.69545,
59.11911,
59.77076,
60.19129,
58.70503,
59.13268,
59.76376,
60.19198,
61.84032,
62.2636,
62.9182,
63.33507,
61.86084,
62.28462,
62.93817,
63.35949,
61.87402,
62.28635,
62.93545,
63.35432,
58.59835,
59.02193,
59.67761,
60.09955,
58.62776,
59.05309,
59.71037,
60.13015,
58.64851,
59.07015,
59.71947,
60.13538,
61.76204,
62.19397,
62.84115,
63.26824,
61.78979,
62.22367,
62.85912,
63.30187,
61.81328,
62.24454,
62.86807,
63.30777,
58.52826,
58.96035,
59.60846,
60.03596,
58.54795,
58.9857,
59.62748,
60.07052,
58.58629,
59.01283,
59.64181,
60.071,
61.70774,
62.13711,
62.78705,
63.2072,
61.71944,
62.14221,
62.80806,
63.2268,
61.73741,
62.16004,
62.80871,
63.2252,
58.45541,
58.89816,
59.53307,
59.96593,
58.48076,
58.91394,
59.55904,
59.99152,
58.4878,
58.93556,
59.56171,
60.00111,
61.61528,
62.0552,
62.69301,
63.12936,
61.63701,
62.07426,
62.71749,
63.15804,
61.65103,
62.09352,
62.72456,
63.16614,
58.39713,
58.81851,
59.46561,
59.8956,
58.4085,
58.83169,
59.48286,
59.91144,
58.41766,
58.83725,
59.48129,
59.90359,
61.56557,
61.98453,
62.62992,
63.05046,
61.55057,
61.98262,
62.63157,
63.06115,
61.55267,
61.98043,
62.62209,
63.04201,
58.33347,
58.75515,
59.3923,
59.8146,
58.32093,
58.74675,
59.38181,
59.80879,
58.3174,
58.74846,
59.38133,
59.8034,
61.48778,
61.92607,
62.54293,
62.98743,
61.45838,
61.91223,
62.53654,
62.96379,
61.45678,
61.89602,
62.52311,
62.96625,
68.16901,
67.72366,
67.09853,
66.66272,
68.16407,
67.72089,
67.0848,
66.64853,
68.1514,
67.70684,
67.07027,
66.62679,
71.35082,
70.90931,
70.27817,
69.83874,
71.32914,
70.8913,
70.25456,
69.81578,
71.31456,
70.88357,
70.23614,
69.80677,
68.11518,
67.68694,
67.03444,
66.61678,
68.09534,
67.66671,
67.01319,
66.59184,
68.07986,
67.65643,
66.98834,
66.56384,
71.29263,
70.84993,
70.21873,
69.78528,
71.28582,
70.83596,
70.19917,
69.7643,
71.27258,
70.83243,
70.19419,
69.756,
68.06544,
67.64069,
66.99194,
66.56704,
68.05269,
67.62876,
66.97778,
66.54951,
68.03658,
67.61523,
66.95447,
66.53796,
71.26007,
70.81879,
70.18999,
69.7524,
71.24375,
70.81045,
70.17725,
69.7379,
71.23647,
70.8048,
70.16918,
69.73119,
68.04015,
67.61905,
66.96774,
66.54977,
68.03264,
67.61141,
66.96581,
66.53692,
68.02477,
67.60273,
66.95921,
66.53764,
71.23285,
70.79823,
70.17531,
69.73769,
71.25826,
70.82729,
70.21403,
69.76904,
71.29279,
70.85635,
70.24261,
69.80471,
68.05254,
67.60746,
66.98202,
66.54784,
68.05577,
67.61021,
66.98052,
66.54897,
68.04631,
67.60851,
66.97504,
66.54604,
71.24857,
70.8259,
70.18459,
69.76141,
71.25836,
70.82864,
70.18597,
69.76168,
71.25659,
70.83302,
70.18846,
69.76588,
68.06676,
67.63168,
67.00022,
66.57685,
68.07342,
67.64436,
67.00017,
66.57059,
68.08298,
67.64153,
67.00835,
66.58021,
71.28217,
70.84954,
70.22396,
69.79235,
71.28748,
70.85487,
70.2179,
69.79459,
71.29432,
70.86156,
70.23444,
69.80613,
68.1079,
67.66612,
67.04988,
66.62158,
68.12508,
67.68518,
67.05044,
66.62071,
68.1177,
67.69447,
67.06229,
66.62188,
71.32688,
70.90167,
70.26921,
69.84686,
71.33704,
70.91202,
70.27381,
69.8496,
71.34547,
70.91589,
70.27768,
69.86398,
68.15279,
67.71311,
67.10274,
66.66441,
68.16933,
67.72339,
67.10123,
66.67258,
68.17673,
67.74342,
67.12223,
66.68001,
71.39996,
70.96923,
70.33289,
69.90775,
71.40018,
70.98495,
70.33356,
69.9125,
71.40665,
70.98808,
70.34499,
69.92201,
68.22458,
67.79996,
67.16229,
66.74709,
68.2419,
67.81763,
67.16781,
66.73734,
68.23622,
67.80892,
67.17024,
66.7492,
71.4733,
71.03072,
70.40225,
69.97556,
71.47631,
71.04326,
70.4059,
69.97227,
71.47516,
71.03802,
70.4085,
69.97741,
68.29332,
67.87248,
67.23338,
66.81254,
68.30236,
67.88041,
67.23455,
66.80859,
68.30905,
67.88243,
67.23145,
66.81057,
71.54514,
71.11829,
70.47102,
70.05518,
71.54401,
71.11742,
70.46619,
70.05073,
71.53456,
71.11068,
70.46741,
70.04252,
68.38354,
67.95396,
67.31278,
66.89648,
68.3801,
67.95712,
67.30289,
66.88962,
68.37322,
67.9459,
67.2999,
66.87033,
71.62886,
71.18147,
70.55211,
70.1236,
71.61845,
71.18317,
70.54838,
70.11902,
71.60336,
71.1694,
70.53904,
70.10774,
68.46906,
68.03499,
67.40885,
66.97186,
68.46896,
68.03183,
67.38985,
66.96432,
68.45957,
68.01888,
67.37828,
66.94913,
71.67899,
71.25517,
70.62413,
70.18832,
71.69002,
71.25663,
70.61911,
70.18735,
71.67934,
71.25176,
70.61497,
70.18756,
68.5245,
68.10229,
67.45273,
67.03796,
68.52998,
68.1049,
67.45506,
67.03329,
68.5144,
68.08906,
67.44216,
67.01935,
71.74336,
71.3227,
70.68494,
70.2625,
71.74606,
71.32797,
70.67786,
70.25334,
71.73595,
71.31189,
70.66323,
70.24051,
68.57954,
68.14845,
67.50998,
67.09306,
68.58444,
68.15702,
67.50616,
67.08743,
68.57201,
68.14207,
67.49496,
67.07817,
71.78978,
71.35109,
70.72861,
70.30458,
71.80855,
71.36747,
70.73133,
70.30281,
71.7976,
71.36494,
70.72127,
70.29057,
68.6092,
68.16761,
67.55463,
67.11671,
68.62656,
68.19257,
67.55829,
67.1374,
68.62771,
68.18757,
67.55676,
67.11662,
71.80988,
71.38126,
70.74471,
70.3205,
71.82123,
71.40357,
70.75183,
70.32386,
71.81618,
71.39526,
70.7435,
70.32076,
68.60636,
68.18084,
67.55442,
67.12753,
68.63397,
68.20943,
67.57372,
67.1466,
68.63413,
68.21218,
67.56124,
67.13417,
71.80845,
71.3896,
70.75602,
70.33033,
71.83149,
71.41431,
70.76319,
70.33396,
71.82705,
71.40509,
70.7561,
70.33007,
68.59264,
68.16602,
67.54001,
67.11884,
68.61993,
68.19509,
67.55561,
67.1283,
68.62483,
68.20427,
67.55075,
67.12588,
71.7746,
71.34086,
70.72768,
70.30193,
71.80666,
71.38336,
70.74638,
70.32372,
71.81257,
71.39311,
70.73708,
70.31039,
68.54909,
68.13395,
67.52113,
67.08706,
68.59061,
68.15816,
67.54154,
67.10019,
68.59594,
68.16944,
67.54131,
67.09593,
71.74839,
71.32678,
70.69814,
70.2714,
71.77816,
71.35418,
70.71131,
70.28565,
71.78764,
71.36273,
70.70867,
70.29048,
68.51985,
68.09931,
67.46991,
67.04645,
68.5527,
68.13253,
67.4938,
67.06821,
68.5584,
68.1382,
67.49297,
67.06527,
71.69878,
71.25014,
70.64557,
70.21075,
71.72678,
71.2971,
70.67674,
70.24456,
71.74726,
71.30802,
70.67095,
70.23486,
68.46517,
68.03531,
67.42398,
66.98576,
68.50255,
68.07127,
67.43888,
67.00736,
68.51713,
68.08161,
67.44154,
67.00397,
71.63926,
71.21912,
70.58251,
70.15585,
71.66203,
71.24361,
70.60182,
70.17358,
71.66692,
71.25056,
70.59586,
70.1776,
68.41126,
67.97346,
67.3567,
66.93024,
68.44151,
68.01176,
67.37614,
66.94876,
68.4566,
68.01867,
67.3792,
66.94183,
71.57239,
71.14182,
70.52016,
70.09294,
71.5903,
71.16276,
70.52666,
70.10825,
71.59978,
71.18026,
70.52325,
70.10173,
68.34354,
67.92615,
67.28454,
66.86775,
68.36388,
67.93958,
67.30605,
66.88071,
68.36961,
67.94556,
67.30093,
66.87767,
71.49767,
71.07524,
70.44154,
70.01001,
71.52487,
71.09322,
70.45575,
70.03146,
71.52186,
71.09774,
70.44469,
70.02777,
68.2709,
67.82018,
67.22046,
66.78305,
68.29482,
67.85718,
67.24145,
66.80213,
68.29939,
67.86134,
67.22075,
66.78657,
71.44025,
71.0037,
70.37646,
69.93861,
71.45337,
71.01101,
70.37794,
69.95075,
71.44839,
71.00957,
70.38078,
69.94475,
68.20968,
67.77404,
67.15423,
66.72296,
68.22363,
67.78887,
67.15177,
66.72288,
68.21699,
67.78487,
67.12986,
66.69462,
71.37426,
70.94376,
70.30662,
69.87626,
71.38367,
70.94643,
70.30993,
69.88503,
71.36964,
70.93711,
70.30516,
69.86681,
79.07664,
79.70671,
79.04954,
79.69927,
79.03027,
79.68842,
75.85004,
76.49773,
75.82932,
76.47916,
75.81907,
76.46629,
79.02393,
79.65162,
79.01154,
79.63793,
79.00652,
79.6348,
75.81081,
76.44737,
75.79031,
76.43833,
75.78158,
76.42598,
78.99532,
79.63896,
78.98207,
79.62219,
78.96478,
79.61777,
75.7972,
76.41499,
75.78536,
76.40644,
75.77794,
76.40184,
78.98595,
79.62057,
78.9778,
79.60939,
78.96763,
79.6043,
75.7867,
76.42937,
75.77206,
76.41744,
75.7649,
76.41733,
78.9854,
79.63129,
78.97162,
79.62517,
78.97035,
79.62942,
75.78699,
76.43319,
75.78152,
76.42945,
75.78154,
76.42943,
78.99905,
79.64648,
78.99497,
79.63685,
78.99174,
79.64828,
75.8082,
76.45697,
75.80251,
76.46043,
75.80636,
76.47453,
79.03241,
79.67484,
79.02268,
79.67755,
79.03062,
79.68733,
75.85211,
76.49302,
75.85287,
76.49861,
75.85342,
76.50443,
79.08102,
79.71086,
79.08469,
79.70918,
79.08448,
79.7148,
75.89783,
76.53374,
75.9044,
76.52776,
75.90788,
76.54922,
79.13958,
79.77755,
79.14336,
79.75146,
79.14714,
79.73915,
75.95641,
76.60197,
75.95542,
76.60173,
75.95037,
76.62464,
79.19909,
79.82291,
79.19356,
79.82465,
79.19728,
79.82972,
76.02373,
76.65502,
76.02675,
76.673,
76.02224,
76.65775,
79.26066,
79.90393,
79.25072,
79.88538,
79.24718,
79.90598,
76.08897,
76.73277,
76.07079,
76.73422,
76.0817,
76.74177,
79.33521,
79.9726,
79.31303,
79.95866,
79.30686,
79.95764,
76.16272,
76.79523,
76.13752,
76.7906,
76.14146,
76.7841,
79.38723,
80.03118,
79.36855,
80.02209,
79.3588,
80.02081,
76.22182,
76.86092,
76.21111,
76.85405,
76.20319,
76.85188,
79.44163,
80.07433,
79.42574,
80.07415,
79.42146,
80.07523,
76.28355,
76.90428,
76.28193,
76.90633,
76.25598,
76.90706,
79.46416,
80.12498,
79.4571,
80.12698,
79.45764,
80.1239,
76.31332,
76.94987,
76.30108,
76.95112,
76.29771,
76.95113,
79.51143,
80.16711,
79.50815,
80.17558,
79.51383,
80.16476,
76.34914,
76.9709,
76.34457,
76.97608,
76.34005,
76.97335,
79.5359,
80.16695,
79.54034,
80.17999,
79.53982,
80.18066,
76.34669,
77.00747,
76.34978,
77.0106,
76.3487,
76.99934,
79.55628,
80.1941,
79.54014,
80.18981,
79.54408,
80.18285,
76.34718,
76.98698,
76.36034,
76.99482,
76.36561,
76.98419,
79.54675,
80.17627,
79.53615,
80.17308,
79.52955,
80.15839,
76.32267,
76.96675,
76.32343,
76.96967,
76.30483,
76.95393,
79.51119,
80.13892,
79.51994,
80.14514,
79.5233,
80.15777,
76.2936,
76.93626,
76.29707,
76.94727,
76.30267,
76.94759,
79.4791,
80.10242,
79.48557,
80.11411,
79.48108,
80.11839,
76.24184,
76.88907,
76.2444,
76.90946,
76.25931,
76.90594,
79.43069,
80.04817,
79.42303,
80.05656,
79.43133,
80.05919,
76.19413,
76.82675,
76.20528,
76.84039,
76.21358,
76.8384,
79.35741,
79.99477,
79.36476,
80.00528,
79.37212,
80.00568,
76.14008,
76.77154,
76.14671,
76.77769,
76.15264,
76.78223,
79.30399,
79.94042,
79.29418,
79.95073,
79.28951,
79.95152,
76.06502,
76.71597,
76.07236,
76.72474,
76.07382,
76.71686,
79.21964,
79.88579,
79.23311,
79.88973,
79.22156,
79.88219,
76.00548,
76.6438,
76.00022,
76.64894,
75.99614,
76.65079,
79.18112,
79.80709,
79.1757,
79.80952,
79.17397,
79.80899,
75.94465,
76.59236,
75.93996,
76.59568,
75.92979,
76.5812,
79.12564,
79.74669,
79.11463,
79.74005,
79.10683,
79.73567,
75.89356,
76.54147,
75.87426,
76.52826,
75.87433,
76.50108,
85.3153,
84.67596,
85.32178,
84.66187,
85.30785,
84.65839,
88.47629,
87.84623,
88.50316,
87.8344,
88.48832,
87.82986,
85.27693,
84.63356,
85.28009,
84.62958,
85.28494,
84.60974,
88.45473,
87.80653,
88.45733,
87.80363,
88.44817,
87.79897,
85.24871,
84.60131,
85.2534,
84.59456,
85.24315,
84.57954,
88.4206,
87.79225,
88.42432,
87.79328,
88.41363,
87.78226,
85.21712,
84.57249,
85.2267,
84.56644,
85.22062,
84.56284,
88.42182,
87.77598,
88.41749,
87.76619,
88.4231,
87.76163,
85.24409,
84.58282,
85.21381,
84.53899,
85.17309,
84.50809,
88.4185,
87.76986,
88.41444,
87.7578,
88.42576,
87.77174,
85.22825,
84.58381,
85.22935,
84.57631,
85.22243,
84.58807,
88.4275,
87.79326,
88.42348,
87.78786,
88.41947,
87.79883,
85.2253,
84.6004,
85.23916,
84.59397,
85.23866,
84.60972,
88.44897,
87.81094,
88.46678,
87.81755,
88.48498,
87.82791,
85.26086,
84.63039,
85.2663,
84.63499,
85.26697,
84.64445,
88.48286,
87.85078,
88.4854,
87.8647,
88.4866,
87.86295,
85.30145,
84.64889,
85.3144,
84.66657,
85.32217,
84.66501,
88.52535,
87.87898,
88.55225,
87.89009,
88.54714,
87.90204,
85.35668,
84.70628,
85.36708,
84.70766,
85.36832,
84.72136,
88.58435,
87.94345,
88.58831,
87.93938,
88.59574,
87.94637,
85.4029,
84.76095,
85.41568,
84.76592,
85.42024,
84.7714,
88.62009,
87.99957,
88.6412,
88.00597,
88.63921,
88.00582,
85.45253,
84.82941,
85.46947,
84.82494,
85.46182,
84.83212,
88.68729,
88.05157,
88.70733,
88.05066,
88.71169,
88.04724,
85.51174,
84.89743,
85.51913,
84.88882,
85.51813,
84.88541,
88.74127,
88.10937,
88.75958,
88.10553,
88.76168,
88.10239,
85.59193,
84.95444,
85.58794,
84.94022,
85.58651,
84.92715,
88.78725,
88.15782,
88.8107,
88.16247,
88.80859,
88.1554,
85.63369,
84.99619,
85.64404,
84.97743,
85.6298,
84.97937,
88.83083,
88.22008,
88.85614,
88.21586,
88.84979,
88.21428,
85.66518,
85.04945,
85.67386,
85.04845,
85.67516,
85.0492,
88.88153,
88.24814,
88.90438,
88.25639,
88.91531,
88.26002,
85.72147,
85.08526,
85.73246,
85.07656,
85.72821,
85.06889,
88.92544,
88.30537,
88.94208,
88.30196,
88.94118,
88.29494,
85.7362,
85.1021,
85.76444,
85.1129,
85.75835,
85.10392,
88.96288,
88.32054,
88.95832,
88.29661,
88.94302,
88.28289,
85.75903,
85.12585,
85.78627,
85.13079,
85.79056,
85.12725,
88.95986,
88.32759,
88.98311,
88.33369,
88.98913,
88.32992,
85.76482,
85.12685,
85.79057,
85.14411,
85.79556,
85.13733,
88.97913,
88.33054,
88.98757,
88.32999,
88.98111,
88.33929,
85.76601,
85.11765,
85.79356,
85.14349,
85.79743,
85.12783,
88.95503,
88.32294,
88.97904,
88.33165,
88.9814,
88.32186,
85.73553,
85.12817,
85.76283,
85.13331,
85.77256,
85.13165,
88.93167,
88.30205,
88.95944,
88.30012,
88.96787,
88.30267,
85.71323,
85.07728,
85.74308,
85.10187,
85.74831,
85.09202,
88.89621,
88.26496,
88.91524,
88.29227,
88.92059,
88.28536,
85.66724,
85.04414,
85.7065,
85.07082,
85.70043,
85.06019,
88.85593,
88.22459,
88.87495,
88.2373,
88.88248,
88.23691,
85.62321,
84.9919,
85.65308,
85.01802,
85.6707,
85.01124,
88.79762,
88.16286,
88.82713,
88.17309,
88.84101,
88.18495,
85.5836,
84.94981,
85.60522,
84.95081,
85.60792,
84.95003,
88.74619,
88.11581,
88.77505,
88.12016,
88.77096,
88.11317,
85.51463,
84.89555,
85.5418,
84.9082,
85.53899,
84.90975,
88.67706,
88.06394,
88.71032,
88.07203,
88.70626,
88.06308,
85.45678,
84.81737,
85.48348,
84.83523,
85.48584,
84.82462,
88.63569,
88.00099,
88.65451,
88.00526,
88.64973,
87.99409,
85.41539,
84.76762,
85.42652,
84.76773,
85.42336,
84.76355,
88.58147,
87.93713,
88.58908,
87.943,
88.58987,
87.9281,
85.36207,
84.71694,
85.37812,
84.71632,
85.36614,
84.69997,
88.52786,
87.88701,
88.53916,
87.88673,
88.53824,
87.88385,
97.56886,
98.20442,
97.55489,
98.20294,
97.54807,
98.1941,
94.35907,
94.97946,
94.34618,
94.9771,
94.33627,
94.96677,
97.52901,
98.17327,
97.51298,
98.1654,
97.50816,
98.15973,
94.32698,
94.95557,
94.31563,
94.93171,
94.30104,
94.93731,
97.52042,
98.14369,
97.50387,
98.13427,
97.49642,
98.12817,
94.31486,
94.94234,
94.28611,
94.93855,
94.27001,
94.92515,
97.48647,
98.14008,
97.48432,
98.13035,
97.47277,
98.13084,
94.30748,
94.91325,
94.282,
94.92898,
94.28006,
94.90518,
97.46726,
98.12528,
97.47136,
98.12595,
97.46236,
98.11739,
94.29238,
94.93368,
94.28011,
94.90859,
94.26279,
94.91428,
97.50745,
98.11633,
97.4827,
98.11166,
97.47714,
98.11033,
94.30111,
94.92566,
94.29353,
94.92577,
94.28671,
94.9248,
97.50848,
98.12882,
97.49916,
98.12289,
97.50538,
98.13728,
94.31416,
94.93878,
94.31077,
94.93281,
94.30405,
94.93639,
97.53172,
98.16109,
97.51286,
98.14514,
97.5172,
98.15405,
94.34946,
94.96094,
94.3302,
94.97312,
94.3293,
94.97771,
97.5425,
98.18642,
97.53388,
98.17628,
97.54689,
98.18204,
94.36069,
95.00134,
94.35378,
95.00154,
94.35081,
95.01543,
97.57386,
98.21847,
97.57448,
98.22972,
97.58112,
98.22996,
94.41543,
95.04737,
94.40891,
95.05463,
94.42113,
95.05572,
97.63165,
98.26676,
97.61967,
98.26059,
97.62596,
98.2711,
94.46095,
95.08587,
94.45214,
95.08589,
94.46111,
95.0966,
97.67589,
98.30847,
97.67712,
98.31147,
97.66803,
98.30764,
94.50143,
95.13808,
94.50144,
95.13779,
94.50375,
95.14571,
97.72936,
98.35635,
97.72421,
98.35691,
97.72625,
98.37357,
94.56106,
95.17307,
94.55624,
95.18642,
94.56065,
95.18375,
97.7859,
98.41052,
97.77783,
98.41075,
97.78391,
98.42072,
94.60044,
95.25087,
94.58966,
95.2481,
94.59585,
95.26106,
97.80853,
98.45116,
97.8308,
98.45488,
97.82408,
98.45791,
94.65931,
95.29443,
94.6486,
95.29395,
94.63989,
95.28918,
97.89217,
98.51174,
97.87409,
98.51149,
97.88255,
98.51426,
94.723,
95.34171,
94.70699,
95.31805,
94.69569,
95.33402,
97.92309,
98.56859,
97.92023,
98.56688,
97.91698,
98.56933,
94.74508,
95.39367,
94.74046,
95.38468,
94.73402,
95.3823,
97.96541,
98.59291,
97.96545,
98.58912,
97.95775,
98.58883,
94.78374,
95.42935,
94.77201,
95.41443,
94.74554,
95.40045,
97.98967,
98.62465,
97.99217,
98.63055,
97.98964,
98.62397,
94.83242,
95.45061,
94.82687,
95.44471,
94.81432,
95.44795,
98.01049,
98.66974,
98.00996,
98.67237,
98.01295,
98.65972,
94.82923,
95.45084,
94.83987,
95.46211,
94.82925,
95.46117,
98.03583,
98.66299,
98.02685,
98.672,
98.03462,
98.67941,
94.83452,
95.46327,
94.84889,
95.49362,
94.84618,
95.4714,
98.05009,
98.67319,
98.02764,
98.67506,
98.02934,
98.67747,
94.83466,
95.46783,
94.85082,
95.47138,
94.84493,
95.46938,
98.03362,
98.65783,
98.04474,
98.66804,
98.04512,
98.66132,
94.83103,
95.46302,
94.82764,
95.47153,
94.84505,
95.46436,
98.02216,
98.64764,
98.02389,
98.66479,
98.02624,
98.65609,
94.81053,
95.44157,
94.80892,
95.44781,
94.81812,
95.44839,
97.98698,
98.61851,
97.99797,
98.6392,
98.00443,
98.63549,
94.78298,
95.41133,
94.78968,
95.42387,
94.78879,
95.42324,
97.9575,
98.58614,
97.96622,
98.59933,
97.96939,
98.59917,
94.73571,
95.38497,
94.7376,
95.3925,
94.74311,
95.39698,
97.90594,
98.53898,
97.91446,
98.54896,
97.91678,
98.55232,
94.69707,
95.32604,
94.70885,
95.3371,
94.7056,
95.34019,
97.86776,
98.49722,
97.88147,
98.51073,
97.88403,
98.50847,
94.63749,
95.29235,
94.63501,
95.2936,
94.64025,
95.2877,
97.80073,
98.44683,
97.80898,
98.46358,
97.80927,
98.46338,
94.57368,
95.22821,
94.5834,
95.25194,
94.59538,
95.23679,
97.76301,
98.43187,
97.75841,
98.42825,
97.75402,
98.42467,
94.53025,
95.16496,
94.54142,
95.18401,
94.53669,
95.17572,
97.6883,
98.32524,
97.69928,
98.34248,
97.70029,
98.34092,
94.4874,
95.12003,
94.48167,
95.11215,
94.48788,
95.1104,
97.65693,
98.29274,
97.64532,
98.2965,
97.63922,
98.28802,
94.431,
95.07079,
94.43358,
95.07393,
94.42437,
95.06322,
97.60098,
98.24721,
97.58944,
98.24419,
97.59551,
98.23831,
94.39661,
95.03782,
94.37629,
95.02738,
94.36621,
95.0152,
106.4832,
105.8719,
106.4979,
105.8546,
106.4927,
105.8508,
109.6467,
109.0389,
109.6792,
109.0424,
109.6662,
109.0322,
106.4757,
105.8511,
106.4725,
105.8378,
106.4684,
105.8236,
109.6476,
109.0227,
109.6536,
109.0114,
109.6504,
109.0104,
106.4458,
105.8115,
106.4499,
105.8085,
106.4353,
105.8011,
109.6281,
109.0075,
109.6432,
109.0017,
109.6344,
108.993,
106.4153,
105.8014,
106.4404,
105.7906,
106.4241,
105.7825,
109.6207,
108.9922,
109.6259,
108.9843,
109.6123,
108.9715,
106.4138,
105.7863,
106.4185,
105.78,
106.4141,
105.7715,
109.6162,
108.9775,
109.6132,
108.9746,
109.6145,
108.9744,
106.4136,
105.7706,
106.4255,
105.7705,
106.4186,
105.7649,
109.6064,
108.9632,
109.6274,
108.9747,
109.6208,
108.9684,
106.406,
105.7941,
106.4162,
105.783,
106.4079,
105.7814,
109.6185,
108.9884,
109.632,
108.9768,
109.6314,
108.9797,
106.4274,
105.7952,
106.4415,
105.7939,
106.4398,
105.7924,
109.6295,
108.9931,
109.6574,
108.9921,
109.6414,
108.9954,
106.4491,
105.8033,
106.4588,
105.8012,
106.4608,
105.8158,
109.6577,
109.0193,
109.6601,
109.0078,
109.6669,
109.0166,
106.4664,
105.826,
106.482,
105.8325,
106.4883,
105.8269,
109.7033,
109.0549,
109.6963,
109.0478,
109.7001,
109.0469,
106.4978,
105.8638,
106.5177,
105.8661,
106.5209,
105.8702,
109.7191,
109.0814,
109.7313,
109.0826,
109.7354,
109.0859,
106.5376,
105.9005,
106.5515,
105.8985,
106.5563,
105.9059,
109.7619,
109.1181,
109.7681,
109.1204,
109.7725,
109.1253,
106.5858,
105.9492,
106.6016,
105.9477,
106.6025,
105.9515,
109.8013,
109.165,
109.8194,
109.167,
109.8176,
109.1613,
106.6298,
105.9849,
106.6421,
105.983,
106.6461,
105.9903,
109.8446,
109.2078,
109.8612,
109.218,
109.868,
109.2285,
106.7136,
106.0313,
106.7166,
106.0409,
106.7196,
106.0374,
109.897,
109.2621,
109.9069,
109.2595,
109.9059,
109.2694,
106.7294,
106.0816,
106.7279,
106.0725,
106.7262,
106.0804,
109.9351,
109.2943,
109.9488,
109.3025,
109.9517,
109.3044,
106.7754,
106.1293,
106.7746,
106.1242,
106.7796,
106.131,
109.9752,
109.3468,
109.9961,
109.3456,
109.994,
109.3414,
106.8168,
106.1626,
106.8158,
106.1617,
106.8003,
106.156,
110.0265,
109.3803,
110.0328,
109.3897,
110.0361,
109.3877,
106.8538,
106.2092,
106.8549,
106.2088,
106.8641,
106.2036,
110.068,
109.4329,
110.0741,
109.4236,
110.0806,
109.4182,
106.8933,
106.25,
106.8968,
106.2471,
106.8975,
106.2438,
110.0813,
109.4448,
110.1074,
109.4601,
110.1041,
109.4425,
106.9087,
106.2693,
106.9284,
106.2786,
106.9297,
106.2748,
110.1154,
109.4729,
110.1364,
109.4805,
110.14,
109.4734,
106.9439,
106.3088,
106.9568,
106.3101,
106.9598,
106.2968,
110.1248,
109.4901,
110.1449,
109.4994,
110.1521,
109.4962,
106.9471,
106.3162,
106.9818,
106.3222,
106.9723,
106.3124,
110.134,
109.5154,
110.164,
109.5314,
110.1691,
109.5169,
106.9614,
106.3277,
106.9737,
106.3351,
106.9812,
106.3277,
110.1537,
109.5151,
110.1784,
109.5281,
110.1764,
109.5172,
106.9566,
106.3431,
106.9814,
106.3508,
106.9802,
106.3331,
110.1603,
109.5453,
110.1755,
109.5455,
110.1975,
109.5456,
106.9425,
106.3294,
106.9738,
106.3396,
106.9817,
106.3325,
110.1429,
109.519,
110.1538,
109.5332,
110.1556,
109.5181,
106.9392,
106.2916,
106.9543,
106.3168,
106.9702,
106.3145,
110.1305,
109.4919,
110.15,
109.5038,
110.1557,
109.5009,
106.913,
106.298,
106.9412,
106.2974,
106.9451,
106.2958,
110.0851,
109.4719,
110.1154,
109.4906,
110.1186,
109.4882,
106.8876,
106.2498,
106.9132,
106.2517,
106.9158,
106.2537,
110.0627,
109.4322,
110.0899,
109.4478,
110.0996,
109.4384,
106.8537,
106.217,
106.8741,
106.233,
106.8785,
106.2288,
110.0168,
109.3984,
110.0503,
109.4169,
110.0594,
109.4259,
106.8051,
106.1922,
106.824,
106.1979,
106.8285,
106.196,
109.9825,
109.3443,
110.0117,
109.3541,
110.0077,
109.3482,
106.7574,
106.1393,
106.7873,
106.1477,
106.7836,
106.1385,
109.9268,
109.3144,
109.9533,
109.3191,
109.9573,
109.3159,
106.7337,
106.0815,
106.7328,
106.0716,
106.7267,
106.0436,
109.8865,
109.2553,
109.8947,
109.2416,
109.8768,
109.2276,
106.6613,
106.0321,
106.6786,
106.0375,
106.6831,
106.0285,
109.8413,
109.2011,
109.8505,
109.2073,
109.8575,
109.1918,
106.6092,
105.9845,
106.6271,
106.0005,
106.6269,
105.9838,
109.7813,
109.1624,
109.7977,
109.1712,
109.7924,
109.1502,
106.5712,
105.9421,
106.5814,
105.9427,
106.5744,
105.9328,
109.7406,
109.1095,
109.7401,
109.1123,
109.739,
109.1053,
106.521,
105.9071,
106.5331,
105.9155,
106.5249,
105.89,
109.6994,
109.0822,
109.7061,
109.0709,
109.7058,
109.0579};
Double_t rdzTOBn_fy26[2604] = {
187.58,
191.4471,
187.9204,
191.4763,
187.612,
190.6719,
187.9329,
190.2286,
187.6858,
189.9815,
187.8935,
189.4256,
191.444,
193.2436,
191.8343,
193.8914,
191.4981,
193.231,
191.8674,
192.6846,
191.5317,
193.0731,
191.9039,
193.5966,
192.9328,
194.7012,
193.35,
195.1029,
192.9436,
195.0577,
193.3253,
195.0957,
192.8624,
196.2341,
193.3208,
196.3105,
196.1156,
195.8973,
196.5863,
196.8732,
196.1581,
197.1701,
196.5822,
197.5939,
196.1174,
197.8934,
196.6578,
198.7359,
196.3786,
197.1588,
196.8161,
197.7906,
196.3924,
197.2483,
196.8135,
198.2446,
196.3898,
198.0082,
196.8474,
199.0782,
198.6637,
198.2605,
199.1444,
199.1995,
198.6327,
199.5259,
199.0843,
199.8271,
198.7441,
200.2102,
199.0431,
200.7395,
197.571,
196.3904,
198.0288,
198.2337,
197.5686,
198.3404,
198.0856,
198.6312,
197.6434,
199.3333,
198.0828,
200.3836,
198.7433,
198.278,
199.1577,
198.9495,
198.7682,
198.504,
199.3084,
199.5771,
198.8453,
199.0751,
199.1954,
200.037,
196.5097,
196.019,
196.9496,
197.1369,
196.4887,
196.7857,
196.9699,
197.0776,
196.488,
197.094,
197.0475,
197.353,
196.4125,
195.7557,
196.8292,
196.4308,
196.4103,
195.8165,
196.8642,
195.7426,
196.4097,
195.3263,
196.7893,
195.931,
193.2249,
193.1689,
193.5949,
193.9376,
193.2623,
193.0077,
193.656,
192.2925,
193.1875,
192.2473,
193.7688,
192.514,
191.8508,
192.9083,
192.2291,
192.9332,
191.8314,
192.0158,
192.2286,
191.8876,
191.9077,
191.6452,
192.3043,
191.5078,
187.9729,
188.7867,
188.2807,
188.777,
187.9932,
186.9462,
188.3543,
186.8919,
187.9907,
185.3438,
188.3517,
185.5564,
185.5102,
186.64,
185.7635,
186.2249,
185.4508,
185.268,
185.8166,
184.3757,
185.4927,
183.669,
185.8176,
183.3112,
181.3067,
181.9019,
181.4751,
181.4498,
181.296,
180.0312,
181.4756,
179.4867,
181.22,
178.778,
181.5135,
179.072,
177.924,
177.7806,
178.0323,
178.0693,
177.9259,
177.3324,
178.0704,
176.828,
177.9636,
176.6475,
178.0704,
175.8407,
173.7432,
173.622,
173.7965,
173.4222,
173.7436,
171.8423,
173.8153,
170.9587,
173.7446,
170.8113,
173.7407,
170.0464,
169.8317,
169.4536,
169.7616,
169.5847,
169.7972,
168.1887,
169.7239,
168.1155,
169.8373,
166.7394,
169.8017,
167.086,
166.0443,
164.6283,
165.9055,
164.208,
166.0091,
163.4712,
165.9066,
163.0265,
166.0495,
163.3212,
165.9845,
162.8756,
161.82,
160.2742,
161.6165,
160.1371,
161.8217,
160.0374,
161.6163,
159.4531,
161.8221,
160.002,
161.7323,
159.4539,
158.7637,
155.5597,
158.5552,
155.9032,
158.7277,
156.0205,
158.5381,
156.2122,
158.8038,
157.0505,
158.539,
156.3286,
154.6654,
151.9484,
154.3448,
152.3137,
154.7055,
153.3602,
154.3453,
153.3808,
154.6684,
154.126,
154.3855,
154.3005,
152.7015,
149.1528,
152.3575,
149.5998,
152.6371,
150.8319,
152.3762,
150.6106,
152.7149,
151.6335,
152.3417,
150.8786,
149.0459,
146.2372,
148.6721,
147.1323,
149.0368,
148.106,
148.616,
147.8382,
149.116,
148.7933,
148.6557,
149.7078,
148.1994,
144.234,
147.815,
145.0123,
148.2397,
146.2007,
147.7793,
146.1577,
148.241,
147.5395,
147.7824,
147.6895,
145.4211,
143.2955,
144.9695,
143.332,
145.4303,
144.3445,
145.0058,
144.495,
145.353,
145.7189,
144.9685,
145.7159,
145.8109,
142.8283,
145.4213,
143.426,
145.8578,
144.658,
145.4386,
144.9297,
145.8939,
146.6415,
145.4399,
147.1806,
144.1408,
142.8341,
143.699,
143.2475,
144.198,
143.996,
143.64,
143.9739,
144.1589,
145.0631,
143.7189,
145.2353,
145.7826,
144.1276,
145.3663,
144.9816,
145.9031,
146.1266,
145.3631,
145.9709,
145.7881,
147.692,
145.3644,
147.8038,
145.3465,
145.7532,
144.8353,
145.8925,
145.3148,
145.9329,
144.8324,
145.1451,
145.3526,
145.9648,
144.8721,
145.8642,
148.0399,
147.8259,
147.5898,
147.2048,
148.0827,
147.6028,
147.6264,
146.7262,
148.0823,
147.1047,
147.5522,
146.6494,
148.7441,
149.5253,
148.3401,
149.1249,
148.7801,
149.6894,
148.3524,
149.5994,
148.8188,
150.2207,
148.3918,
149.717,
152.3007,
155.1263,
151.9798,
154.7284,
152.3364,
154.5514,
152.0154,
153.925,
152.3362,
154.2829,
152.0143,
153.4277,
154.2745,
157.3147,
154.0332,
156.3013,
154.3586,
155.8622,
153.9939,
155.2695,
154.2803,
155.2478,
154.0006,
154.5065,
158.4252,
163.5593,
158.1108,
161.8189,
158.3996,
161.0226,
158.1082,
160.1964,
158.3207,
159.6819,
158.1466,
158.4395,
161.3402,
165.7899,
161.1985,
164.4261,
161.2243,
163.7847,
161.12,
162.4211,
161.259,
162.027,
161.1201,
161.1225,
165.5558,
171.5942,
165.4612,
169.3689,
165.5365,
168.1781,
165.4596,
165.7771,
165.489,
165.8887,
165.4596,
165.0241,
169.2979,
174.5302,
169.2554,
172.7226,
169.3266,
171.7204,
169.2537,
170.2027,
169.2489,
169.5123,
169.2517,
169.1332,
173.3563,
178.6387,
173.3451,
177.3767,
173.3105,
175.5273,
173.3057,
174.1913,
173.2726,
173.2393,
173.3069,
172.5869,
177.4481,
180.9575,
177.5424,
180.249,
177.475,
179.7419,
177.5,
178.5128,
177.358,
178.4055,
177.5749,
176.7888,
180.8547,
185.7397,
181.0022,
184.1212,
180.8899,
183.6269,
180.9804,
183.1083,
180.9635,
181.7941,
181.0541,
180.5088,
185.0244,
188.7417,
185.3154,
187.4944,
185.0844,
186.6167,
185.3172,
185.66,
185.1243,
184.9734,
185.317,
183.4855,
188.9875,
187.2893,
188.6972,
187.2213,
188.9939,
187.3829,
188.7133,
187.1424,
188.9902,
187.9151,
188.6346,
188.0171,
193.0546,
192.228,
192.7436,
191.7006,
193.0325,
192.3311,
192.7008,
192.1164,
193.0288,
192.3311,
192.7354,
191.9625,
194.8288,
193.7174,
194.4955,
193.5292,
194.8528,
194.342,
194.472,
193.4662,
194.7733,
193.6148,
194.5436,
193.2331,
198.4239,
198.0973,
198.0015,
197.6953,
198.3831,
197.483,
198.0329,
196.1454,
198.3795,
196.911,
198.0708,
196.7542,
199.1032,
199.1334,
198.7157,
198.603,
199.1196,
198.912,
198.694,
197.2642,
199.1162,
198.2605,
198.7269,
197.8725,
201.942,
201.7601,
201.4905,
201.6432,
201.9099,
202.1591,
201.4872,
200.9718,
201.908,
201.6604,
201.4475,
201.4276,
201.5203,
202.5279,
201.0542,
201.8425,
201.5273,
201.9716,
201.0723,
200.3319,
201.526,
200.8251,
200.994,
199.8356,
203.3805,
204.6261,
202.87,
203.9057,
203.3546,
203.8016,
202.9139,
202.8241,
203.3993,
203.1567,
202.9563,
201.9502,
201.8939,
201.6978,
201.4152,
201.2378,
201.9221,
201.6866,
201.414,
201.2177,
201.8851,
201.7227,
201.373,
201.2142,
202.6886,
203.655,
202.2269,
203.4114,
202.6982,
203.2331,
202.2065,
202.3987,
202.6603,
203.0433,
202.1677,
201.9391,
200.1907,
201.8609,
199.7394,
200.9295,
200.2081,
200.866,
199.7393,
199.0592,
200.1336,
199.6819,
199.7351,
197.8366,
199.8199,
200.9001,
199.3946,
201.0534,
199.8613,
201.0625,
199.4486,
200.0821,
199.8621,
200.4892,
199.4117,
199.7383,
196.5427,
196.065,
196.1471,
195.7575,
196.553,
196.3132,
196.1275,
196.1568,
196.5117,
196.8457,
196.1667,
196.4799,
195.062,
194.3308,
194.771,
194.3731,
195.1105,
194.8833,
194.7528,
194.1774,
195.1102,
194.5392,
194.7934,
194.4443,
191.1751,
190.5424,
190.8676,
191.0145,
191.235,
191.4794,
190.8668,
191.1777,
191.1577,
192.0497,
190.9489,
191.8311,
188.7687,
188.0948,
188.4642,
188.5309,
188.7285,
188.7894,
188.5018,
189.0648,
188.7253,
189.6314,
188.5423,
189.2937,
184.4829,
183.5202,
184.2691,
184.3679,
184.5026,
184.6883,
184.3108,
185.3006,
184.4637,
185.5311,
184.3102,
185.9871,
181.2099,
180.5285,
181.0596,
181.0733,
181.1998,
181.5576,
181.117,
181.436,
181.2005,
181.9064,
181.1568,
181.9288,
176.9359,
176.1851,
176.8326,
177.3356,
176.9267,
177.2203,
176.8324,
177.6203,
176.9272,
177.7142,
176.9104,
177.773,
173.04,
172.9551,
173.0242,
173.9777,
173.0514,
173.2049,
172.987,
173.3297,
172.9747,
173.3925,
173.0641,
174.2467,
168.9721,
169.4745,
169.0401,
169.2175,
168.9992,
169.4662,
169.0782,
169.3908,
169.0379,
169.4673,
169.0033,
170.574,
164.7627,
164.7988,
164.8525,
165.597,
164.7684,
165.2091,
164.9096,
165.7316,
164.8543,
165.5153,
164.8344,
165.2719,
161.2392,
162.7664,
161.4118,
162.4342,
161.2291,
162.2514,
161.3945,
162.0712,
161.1903,
161.3393,
161.4374,
161.4243,
156.9391,
158.452,
157.1431,
158.0594,
156.9394,
157.7064,
157.1625,
157.6586,
156.9797,
156.522,
157.2401,
156.3233,
154.1727,
155.8267,
154.4607,
156.618,
154.2171,
155.519,
154.4597,
154.9211,
154.2202,
154.4538,
154.4975,
153.2818,
150.1152,
151.8522,
150.4346,
151.9321,
150.1061,
151.2219,
150.512,
150.4842,
150.1841,
150.1945,
150.3999,
149.1133,
148.3368,
151.0037,
148.6587,
150.6362,
148.3172,
149.2858,
148.6968,
148.0998,
148.3572,
148.2966,
148.6606,
147.7574,
144.6868,
147.1095,
145.1742,
146.4872,
144.7496,
145.0372,
145.1733,
144.5799,
144.7514,
143.0916,
145.2133,
143.1705,
144.0875,
146.1399,
144.433,
146.2461,
144.084,
144.4467,
144.4702,
144.1811,
144.0069,
142.8841,
144.4701,
142.7363,
141.2512,
142.5471,
141.626,
142.6152,
141.2205,
141.9603,
141.7194,
141.356,
141.2974,
140.3215,
141.6071,
139.0298,
141.5953,
142.3629,
142.0764,
143.1596,
141.6007,
142.2252,
142.0913,
142.1828,
141.6763,
141.1565,
142.1323,
140.3162,
139.676,
140.0952,
140.1861,
140.9779,
139.7779,
140.2818,
140.2219,
139.2809,
139.7401,
138.1485,
140.2619,
138.0608,
141.2995,
141.3703,
141.7557,
141.9472,
141.2426,
141.3251,
141.6764,
140.9944,
141.2454,
140.1035,
141.8311,
139.6221,
140.5046,
140.5144,
140.925,
140.9041,
140.4699,
140.0103,
140.9237,
139.3947,
140.5454,
138.7886,
140.9623,
138.2181,
142.8058,
142.3066,
143.3761,
143.0803,
142.9591,
142.4169,
143.3919,
142.5445,
142.9954,
142.0748,
143.4673,
141.7079,
143.3438,
142.2147,
143.7037,
142.8808,
143.3089,
142.2968,
143.7177,
142.1724,
143.269,
141.3417,
143.7107,
141.8684,
146.7372,
147.1188,
146.9882,
147.2831,
146.6198,
146.9708,
147.0405,
146.8209,
146.6943,
146.4378,
147.0408,
146.4773,
148.0305,
147.7871,
148.3251,
148.6467,
148.0663,
147.7929,
148.4175,
147.3113,
148.0197,
147.2957,
148.4931,
147.3888,
151.8461,
151.2883,
152.2512,
151.6637,
151.9397,
151.5067,
152.2674,
151.4522,
151.9759,
151.2404,
152.2673,
151.1525,
154.4422,
153.0682,
154.6505,
153.6933,
154.4113,
154.1536,
154.6699,
154.6057,
154.3338,
154.4232,
154.5929,
154.8336,
158.6258,
156.0695,
158.8081,
157.1111,
158.6345,
157.8713,
158.8249,
158.5576,
158.6701,
159.2016,
158.8237,
159.2089,
161.9752,
159.7257,
162.1167,
160.6544,
161.9339,
160.8541,
162.1333,
161.6275,
161.8581,
161.9953,
162.1326,
162.4296,
166.2413,
163.2199,
166.3043,
164.0904,
166.2086,
164.8502,
166.3034,
165.1729,
166.2822,
165.345,
166.3766,
166.4289,
170.0784,
167.5129,
170.1517,
167.9971,
170.1646,
169.0145,
170.1507,
169.5031,
170.1624,
169.4392,
170.1484,
169.2732,
174.1568,
170.1542,
174.1377,
171.2284,
174.1429,
172.4896,
174.1379,
172.6779,
174.1003,
173.0633,
174.2112,
173.8728,
178.4021,
176.204,
178.2803,
176.6662,
178.4479,
176.559,
178.2675,
177.9414,
178.5246,
177.5519,
178.307,
177.8691,
181.9224,
178.7183,
181.7793,
179.4418,
181.9822,
180.274,
181.7392,
179.6499,
181.9414,
180.425,
181.7706,
180.8678,
186.2177,
184.0591,
185.9937,
185.0043,
186.2372,
184.8247,
186.0133,
183.383,
186.2292,
184.4789,
186.0497,
185.2139,
193.8287,
194.0184,
193.7943,
193.9205,
193.8665,
193.9178,
195.8446,
195.9581,
195.8602,
195.9924,
195.8967,
196.0298,
199.5435,
199.7729,
199.5612,
199.7714,
199.6359,
199.845,
200.6269,
200.8605,
200.5665,
200.8202,
200.717,
200.9323,
203.7574,
204.0222,
203.7256,
204.0182,
203.7215,
203.9407,
203.8799,
204.1392,
203.8872,
204.0592,
203.961,
204.0962,
206.2249,
206.54,
206.2334,
206.4799,
206.1925,
206.4788,
205.3427,
205.6264,
205.3589,
205.5662,
205.319,
205.6791,
206.8493,
207.117,
206.8363,
207.1527,
206.8356,
207.1142,
205.0295,
205.2893,
205.0383,
205.3066,
204.9991,
205.2675,
205.5353,
205.8427,
205.5443,
205.7628,
205.5044,
205.7619,
202.8778,
203.1171,
202.8664,
203.1541,
202.9423,
203.2685,
202.4335,
202.6707,
202.4324,
202.7445,
202.3957,
202.6303,
199.0671,
199.3167,
199.0942,
199.3174,
199.1327,
199.2764,
197.6455,
197.8721,
197.6646,
197.877,
197.6665,
197.8707,
193.7413,
193.9212,
193.8116,
193.9257,
193.6604,
194.004,
191.4429,
191.5655,
191.4646,
191.5719,
191.4291,
191.535,
187.2677,
187.4339,
187.2881,
187.4882,
187.3249,
187.5617,
184.1881,
184.3227,
184.1947,
184.2637,
184.1976,
184.3389,
179.9391,
179.9917,
179.9158,
179.9724,
179.959,
180.0842,
176.2483,
176.2846,
176.3074,
176.3051,
176.1937,
176.3795,
172.1434,
172.1071,
172.1068,
172.0103,
172.1446,
172.2373,
168.0702,
167.9727,
168.0442,
168.0078,
168.1595,
167.8594,
164.2715,
164.2468,
164.3136,
164.2263,
164.3122,
164.229,
160.046,
159.9874,
160.0289,
160.0086,
160.0698,
159.8936,
156.8687,
156.7427,
156.9082,
156.7215,
156.8723,
156.6856,
152.6688,
152.5244,
152.6999,
152.5437,
152.7019,
152.5818,
150.2326,
150.0748,
150.3082,
150.0727,
150.2769,
149.9972,
146.3234,
146.0823,
146.3131,
146.0628,
146.3503,
146.1372,
144.7709,
144.5216,
144.7918,
144.5403,
144.7163,
144.502,
141.3192,
141.0625,
141.2995,
141.0038,
141.3362,
141.1203,
140.6961,
140.427,
140.7536,
140.426,
140.7162,
140.579,
137.9339,
137.6924,
137.9797,
137.6512,
138.0183,
137.7272,
138.3541,
137.9957,
138.3432,
137.9753,
138.3051,
138.0155,
136.42,
136.1091,
136.3559,
136.1087,
136.3928,
136.1087,
137.7188,
137.4802,
137.8299,
137.4795,
137.6788,
137.404,
136.7103,
136.4619,
136.672,
136.4435,
136.7872,
136.5239,
139.0392,
138.6832,
139.1149,
138.6653,
139.0018,
138.7452,
138.9454,
138.707,
138.9514,
138.6675,
138.9488,
138.7808,
142.0118,
141.7191,
142.03,
141.6794,
142.0661,
141.8316,
142.9561,
142.692,
142.9363,
142.7112,
142.9673,
142.749,
146.6331,
146.3562,
146.5449,
146.3732,
146.5036,
146.2971,
148.5401,
148.2837,
148.5215,
148.289,
148.4406,
148.4071,
152.5709,
152.3795,
152.5832,
152.297,
152.5077,
152.3338,
155.2045,
155.1239,
155.1708,
155.0835,
155.242,
155.1595,
159.495,
159.3746,
159.506,
159.3979,
159.5795,
159.4337,
162.9194,
162.8005,
162.9263,
162.7606,
163.0773,
162.7986,
167.1098,
167.0654,
167.1204,
167.0877,
167.0468,
167.0125,
171.0189,
170.9906,
171.0119,
170.9911,
171.1226,
171.0284,
174.9684,
175.0187,
175.0069,
175.002,
174.8551,
175.005,
179.1769,
179.2192,
179.1793,
179.22,
179.2502,
179.2587,
182.6373,
182.7043,
182.6657,
182.7228,
182.7351,
182.6828,
186.9076,
187.0305,
186.8862,
187.0264,
186.9564,
187.0627,
189.7547,
189.8364,
189.696,
189.7708,
189.7713,
189.8074,
193.0383,
192.8801,
193.0179,
192.8578,
193.0546,
192.9325,
197.1238,
196.8661,
197.1275,
196.9583,
197.0486,
196.9196,
199.0911,
198.9209,
199.0902,
198.92,
199.1288,
198.9152,
202.8374,
202.6517,
202.7896,
202.6512,
202.8635,
202.5734,
203.9701,
203.7151,
204.008,
203.7136,
203.9671,
203.8246,
207.1649,
206.894,
207.241,
206.9134,
207.1618,
206.8729,
207.4407,
207.1289,
207.4232,
207.1661,
207.3827,
207.1652,
209.952,
209.6993,
210.0075,
209.6403,
210.008,
209.6389,
209.315,
209.0527,
209.2603,
209.0822,
209.1352,
208.9987,
211.0539,
210.7608,
211.0619,
210.6628,
211.0252,
210.8176,
209.548,
209.2429,
209.5175,
209.2027,
209.5914,
209.2408,
210.4505,
210.1543,
210.4951,
210.152,
210.4181,
210.2312,
208.1051,
207.8292,
208.1447,
207.8033,
208.0245,
207.7722,
208.1139,
207.8289,
208.1735,
207.7708,
208.1359,
207.8857,
205.0938,
204.8295,
205.1245,
204.8471,
205.0816,
204.9251,
204.2096,
203.8953,
204.1991,
203.9758,
204.2052,
203.9791,
200.6206,
200.29,
200.6573,
200.4084,
200.5805,
200.3669,
198.8695,
198.621,
198.9545,
198.6784,
198.8376,
198.6396,
194.8776,
194.7102,
194.8588,
194.7099,
194.8943,
194.71,
192.3449,
192.1935,
192.3616,
192.1534,
192.3615,
192.1915,
188.1113,
188.0136,
188.1477,
187.9948,
188.1865,
187.9553,
184.9329,
184.7864,
184.9458,
184.8402,
184.9455,
184.8801,
180.5873,
180.5746,
180.5872,
180.5377,
180.6258,
180.4998,
176.8308,
176.7467,
176.8773,
176.8048,
176.9156,
176.9583,
172.7278,
172.7026,
172.7669,
172.7421,
172.7631,
172.7418,
168.5666,
168.6709,
168.6416,
168.6335,
168.7541,
168.6726,
164.7728,
164.825,
164.8041,
164.8849,
164.8416,
164.8481,
160.5179,
160.6242,
160.5128,
160.6036,
160.4741,
160.6448,
157.1732,
157.265,
157.1244,
157.2669,
157.1633,
157.1908,
152.852,
152.9949,
152.905,
153.015,
152.8288,
153.0136,
150.152,
150.3149,
150.1602,
150.2383,
150.1589,
150.3518,
146.0066,
146.1788,
146.0502,
146.2153,
146.0862,
146.2144,
144.0862,
144.2935,
144.0841,
144.2182,
144.0088,
144.2967,
140.3703,
140.5402,
140.3865,
140.5595,
140.3476,
140.6364,
139.1817,
139.4431,
139.2056,
139.4595,
139.1683,
139.5375,
136.0084,
136.3198,
136.0098,
136.2673,
136.0514,
136.2699,
135.7637,
136.0253,
135.7492,
136.0426,
135.7488,
136.0435,
133.188,
133.4379,
133.3177,
133.5318,
133.2025,
133.5708,
133.8763,
134.1239,
133.9484,
134.1963,
133.7571,
134.1992,
132.1199,
132.3548,
132.1089,
132.3921,
132.1105,
132.3908,
133.6283,
133.838,
133.6133,
133.8515,
133.6144,
133.9687,
132.7431,
133.0378,
132.749,
133.0925,
132.7873,
133.0567,
135.047,
135.2881,
135.0676,
135.3222,
135.1042,
135.2847,
135.0618,
135.2695,
134.9992,
135.2868,
135.1503,
135.3246,
138.0919,
138.2892,
138.0498,
138.3992,
138.0498,
138.3632,
138.9568,
139.1445,
138.9375,
139.1578,
138.9373,
139.1601,
142.5377,
142.7308,
142.4783,
142.7671,
142.4794,
142.6907,
144.3035,
144.462,
144.3361,
144.4582,
144.2947,
144.5706,
148.2413,
148.3708,
148.3573,
148.5025,
148.3962,
148.5036,
150.8358,
150.927,
150.8143,
150.8704,
150.8504,
150.9449,
155.088,
155.2041,
155.0308,
155.1453,
155.0279,
155.2595,
158.2722,
158.3946,
158.2334,
158.412,
158.3492,
158.4113,
162.581,
162.6024,
162.5161,
162.6413,
162.5138,
162.6395,
166.2889,
166.3363,
166.2655,
166.2977,
166.224,
166.336,
170.4418,
170.4146,
170.5278,
170.5106,
170.4537,
170.4718,
174.528,
174.5659,
174.5752,
174.5445,
174.5282,
174.5418,
178.3832,
178.3334,
178.4134,
178.3709,
178.4511,
178.3681,
182.6466,
182.5173,
182.7422,
182.6118,
182.6654,
182.6475,
186.0253,
185.8736,
186.016,
185.9108,
186.0518,
185.8692,
190.2922,
190.1031,
190.3114,
190.2368,
190.3125,
190.198,
197.0098,
197.1588,
196.9986,
197.1197,
196.9198,
197.0414,
199.3001,
199.4615,
199.2583,
199.4612,
199.3337,
199.4585,
203.2055,
203.4435,
203.1935,
203.4027,
203.3058,
203.2883,
204.7973,
205.0363,
204.8239,
204.9922,
204.782,
204.9933,
208.3193,
208.5301,
208.2779,
208.5272,
208.3521,
208.4875,
209.1097,
209.3421,
209.1237,
209.3024,
209.1201,
209.2611,
211.962,
212.3904,
212.1714,
212.2728,
212.1688,
212.3869,
212.0256,
212.2797,
212.0297,
212.2825,
212.0285,
212.3141,
214.3473,
214.63,
214.4539,
214.6294,
214.3753,
214.6647,
213.5096,
213.794,
213.508,
213.7505,
213.5799,
213.7883,
215.1916,
215.3892,
215.1489,
215.3869,
215.1476,
215.2709,
213.4914,
213.7319,
213.5176,
213.7885,
213.5929,
213.7106,
214.295,
214.5477,
214.2647,
214.5696,
214.3033,
214.5674,
211.9395,
212.2053,
211.9299,
212.2199,
211.9664,
212.1443,
211.935,
212.1734,
211.9517,
212.1968,
211.8368,
212.1622,
208.9254,
209.1797,
208.9026,
209.1795,
208.8665,
209.1788,
208.0809,
208.3481,
208.1189,
208.346,
208.0809,
208.3055,
204.5607,
204.7563,
204.578,
204.7951,
204.6161,
204.8324,
202.9478,
203.1823,
202.9592,
203.1238,
202.9225,
203.2,
198.9949,
199.2156,
199.0068,
199.1573,
199.0462,
199.1577,
196.6675,
196.8353,
196.6423,
196.8548,
196.715,
196.8978,
192.4919,
192.63,
192.4638,
192.6666,
192.4286,
192.514,
189.4833,
189.6043,
189.4931,
189.5649,
189.4547,
189.6052,
185.178,
185.2927,
185.1314,
185.3092,
185.1332,
185.1956,
181.67,
181.7387,
181.6713,
181.7573,
181.6693,
181.8753,
177.347,
177.4795,
177.3797,
177.455,
177.3818,
177.4242,
173.473,
173.4891,
173.4653,
173.4506,
173.5016,
173.6037,
169.4113,
169.4015,
169.3546,
169.4401,
169.3926,
169.4007,
165.1169,
165.1976,
165.2495,
165.1736,
165.1748,
165.1721,
161.4919,
161.3956,
161.482,
161.3956,
161.521,
161.4334,
157.1769,
157.1325,
157.1511,
157.0939,
157.1907,
157.0931,
153.9321,
153.8381,
153.9257,
153.8256,
153.8893,
153.9339,
149.6593,
149.5154,
149.7451,
149.5539,
149.6693,
149.6306,
147.008,
146.8563,
147.0184,
146.9734,
147.134,
146.7826,
142.9234,
142.7716,
142.9327,
142.7375,
142.8636,
142.7392,
141.0177,
140.7989,
141.0658,
140.8209,
141.1864,
140.6717,
137.2905,
137.0602,
137.2893,
137.0404,
137.2893,
137.0799,
136.0753,
135.8188,
136.0859,
135.8386,
136.0127,
135.7999,
132.8475,
132.542,
132.8561,
132.5603,
132.7791,
132.5638,
132.4194,
132.1787,
132.4257,
132.253,
132.4279,
132.1386,
129.7665,
129.5909,
129.7293,
129.4762,
129.7276,
129.5897,
130.2026,
130.0504,
130.2739,
129.834,
130.2756,
129.9915,
128.2432,
127.9237,
128.2459,
127.9231,
128.2072,
127.8467,
129.4943,
129.2054,
129.4604,
129.2217,
129.4592,
129.2585,
128.2711,
128.0367,
128.2873,
128.0559,
128.249,
127.9049,
130.2797,
130.0335,
130.2413,
129.8977,
130.3135,
129.9765,
129.8525,
129.6243,
129.9167,
129.5078,
129.8779,
129.6999,
132.5337,
132.2944,
132.5787,
132.3322,
132.6162,
132.3696,
132.9793,
132.7879,
132.9674,
132.7257,
133.002,
132.8432,
136.2596,
136.0401,
136.306,
136.0035,
136.2655,
136.041,
137.4801,
137.2843,
137.4778,
137.2633,
137.5139,
137.0704,
141.2473,
140.9933,
141.2762,
141.0681,
141.2335,
141.0312,
143.2388,
143.0846,
143.2567,
143.1035,
143.2153,
143.102,
147.3128,
147.153,
147.313,
147.1724,
147.3077,
147.1343,
149.9789,
149.8614,
150.0486,
149.8044,
149.9675,
149.8803,
154.2596,
154.0376,
154.2515,
154.1317,
154.359,
154.1331,
157.5099,
157.4666,
157.5471,
157.4462,
157.4698,
157.3333,
161.8375,
161.7967,
161.8271,
161.6643,
161.7874,
161.7407,
165.5645,
165.5283,
165.62,
165.5048,
165.6552,
165.4623,
169.7641,
169.7677,
169.7912,
169.6925,
169.7514,
169.7256,
173.9479,
173.8752,
174.0938,
173.8734,
173.8463,
173.9093,
177.7788,
177.8144,
177.7743,
177.7331,
177.8117,
177.8101,
182.051,
182.1092,
182.1347,
182.0693,
181.9802,
182.0674,
185.4915,
185.6168,
185.501,
185.5975,
185.6145,
185.6335,
189.8627,
189.969,
189.7839,
190.0056,
189.7836,
189.9662,
192.7851,
192.9367,
192.7433,
192.8964,
192.817,
192.9328,
198.218,
198.0258,
198.2564,
198.0225,
198.2176,
198.0229,
202.3303,
202.1163,
202.3568,
202.2698,
202.4692,
202.3446,
204.5018,
204.2892,
204.4337,
204.2666,
204.623,
204.3413,
208.3333,
208.1168,
208.3817,
208.0945,
208.3037,
208.0942,
209.8029,
209.505,
209.8311,
209.6179,
209.7887,
209.6543,
213.2366,
213.0161,
213.2482,
213.0718,
213.246,
213.1086,
213.9666,
213.7654,
213.9989,
213.7819,
213.9955,
213.7042,
216.9019,
216.7549,
217.0448,
216.7526,
216.9646,
216.7505,
217.0156,
216.7081,
216.9586,
216.7828,
216.9951,
216.7038,
219.379,
219.0416,
219.3869,
219.0986,
219.462,
219.1743,
218.7009,
218.2803,
218.7213,
218.4336,
218.7188,
218.508,
220.3853,
220.0836,
220.4836,
220.2387,
220.5195,
220.1604,
218.9126,
218.7647,
219.0752,
218.7236,
219.0361,
218.7618,
219.9937,
219.9244,
220.0616,
219.6735,
220.1016,
219.9019,
217.9114,
217.7149,
217.998,
217.7335,
217.9963,
217.7314,
218.1268,
217.9358,
218.406,
218.1068,
218.3254,
218.068,
215.648,
215.2926,
215.7337,
215.3685,
215.6575,
215.3288,
215.1923,
215.0556,
215.2378,
214.9197,
215.2738,
215.1111,
212.0151,
211.7089,
212.016,
211.7844,
211.9391,
211.7834,
210.9509,
210.7381,
210.8826,
210.661,
210.8806,
210.7377,
207.2347,
206.9543,
207.2402,
207.0318,
207.2378,
207.0299,
205.2777,
205.2531,
205.4319,
205.1958,
205.3911,
205.3473,
201.3363,
201.1658,
201.4306,
201.2062,
201.4299,
201.2435,
198.83,
198.7193,
199.0334,
198.7383,
198.9128,
198.891,
194.6493,
194.5684,
194.7326,
194.5275,
194.7646,
194.6058,
191.688,
191.6043,
191.7155,
191.5256,
191.7143,
191.715,
187.3866,
187.2374,
187.3762,
187.123,
187.453,
187.3142,
183.8283,
183.6909,
183.9126,
183.9003,
183.905,
183.786,
179.5914,
179.5263,
179.6236,
179.5839,
179.589,
179.5441,
175.5969,
175.7097,
175.6998,
175.6729,
175.7017,
175.6726,
171.5497,
171.4947,
171.5892,
171.5327,
171.5105,
171.6464,
167.2688,
167.4503,
167.379,
167.372,
167.4149,
167.3323,
163.5514,
163.6109,
163.493,
163.5347,
163.5669,
163.5718,
159.1692,
159.3051,
159.1779,
159.2662,
159.2546,
159.4197,
155.7209,
155.7074,
155.7056,
155.8828,
155.7108,
155.8869,
151.3933,
151.4798,
151.374,
151.6309,
151.4488,
151.4792,
148.3822,
148.4964,
148.4207,
148.5328,
148.3047,
148.5732,
144.0935,
144.3822,
144.1691,
144.4424,
144.168,
144.3673,
141.7385,
141.902,
141.7572,
141.959,
141.8324,
141.96,
137.7265,
137.94,
137.7496,
137.9946,
137.6348,
137.9966,
135.8716,
136.1195,
135.8891,
136.1371,
135.8883,
136.0994,
132.2347,
132.4578,
132.3557,
132.4557,
132.2784,
132.5714,
131.1221,
131.3931,
131.1584,
131.3735,
131.044,
131.3383,
127.8644,
128.05,
127.9085,
128.1622,
127.9077,
128.1252,
127.5412,
127.812,
127.4777,
127.7343,
127.4035,
127.7745,
124.834,
125.0534,
124.8,
125.0877,
124.9895,
125.1284,
125.1716,
125.4488,
125.2358,
125.3711,
125.1199,
125.563,
123.0193,
123.2754,
123.0624,
123.4633,
123.1394,
123.3513,
124.1364,
124.4231,
124.1013,
124.4209,
124.1808,
124.4626,
122.7238,
122.987,
122.7126,
122.9844,
122.6273,
122.9819,
124.5152,
124.7613,
124.4327,
124.7011,
124.468,
124.8149,
123.8023,
124.0252,
123.7817,
124.0418,
123.743,
124.0822,
126.2117,
126.3931,
126.3628,
126.4651,
126.1708,
126.4272,
126.2402,
126.4503,
126.2759,
126.525,
126.1619,
126.4101,
129.2428,
129.4484,
129.2104,
129.3703,
129.2863,
129.4487,
129.975,
130.1642,
129.8963,
130.1605,
130.0496,
130.2029,
133.4425,
133.6155,
133.5077,
133.5738,
133.354,
133.6496,
134.9031,
135.1013,
134.8904,
135.2184,
134.929,
135.0619,
138.7377,
138.8769,
138.7718,
138.9708,
138.7316,
138.8568,
140.8897,
141.0393,
140.8517,
141.111,
140.848,
140.8846,
145.034,
145.1224,
144.855,
145.1996,
145.018,
145.1251,
147.7512,
147.9246,
147.6625,
147.83,
147.7011,
147.8665,
152.0474,
152.121,
152.0118,
152.1408,
152.0278,
152.2527,
155.377,
155.3589,
155.0441,
155.3972,
155.2936,
155.4331,
159.6547,
159.6675,
159.6022,
159.6925,
159.641,
159.7668,
163.3856,
163.4345,
163.3555,
163.6423,
163.1992,
163.5448,
167.5827,
167.5714,
167.5029,
167.5701,
167.6564,
167.6079,
171.6364,
171.6554,
171.5795,
171.6751,
171.6176,
171.7096,
175.6205,
175.6965,
175.6804,
175.6883,
175.6781,
175.7615,
179.8836,
179.9106,
179.9683,
179.9655,
179.8872,
179.8076,
183.5441,
183.4906,
183.5957,
183.585,
183.5166,
183.5815,
187.9456,
187.8131,
187.8504,
187.8708,
187.9273,
187.8325,
191.1513,
191.0781,
191.1998,
191.1352,
191.0827,
191.0548,
195.5265,
195.3122,
195.4428,
195.4053,
195.4779,
195.4408};
graph = new TGraph(2604,rdzTOBn_fx26,rdzTOBn_fy26);
graph->SetName("rdzTOBn");
graph->SetTitle("TOB at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(6);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTIDn_fx27[408] = {
28.53669,
28.53476,
28.36146,
28.36057,
28.27429,
28.27457,
28.29843,
28.29734,
28.4258,
28.42577,
28.62421,
28.62624,
28.80216,
28.80226,
28.97163,
28.97209,
29.04532,
29.04605,
29.05019,
29.05094,
28.93246,
28.93195,
28.73572,
28.73837,
28.45673,
28.45475,
28.32909,
28.33081,
28.2965,
28.29539,
28.36906,
28.37027,
28.53108,
28.53208,
28.7179,
28.71729,
28.90187,
28.9023,
29.02145,
29.01805,
29.04692,
29.04859,
28.98624,
28.98592,
28.83443,
28.83211,
28.63828,
28.63305,
36.5704,
36.56993,
36.40133,
36.40173,
36.32199,
36.32019,
36.33757,
36.33502,
36.45086,
36.4514,
36.64795,
36.64859,
36.85114,
36.85362,
37.00404,
37.00397,
37.07194,
37.0735,
37.04791,
37.04634,
36.94312,
36.94097,
36.76578,
36.76029,
36.53954,
36.48073,
36.35588,
36.35519,
36.31125,
36.31384,
36.37686,
36.37894,
36.53322,
36.5336,
36.72585,
36.7224,
36.90643,
36.90556,
37.03944,
37.04089,
37.08147,
37.08548,
37.02074,
37.01971,
36.86447,
36.86303,
36.66461,
36.66639,
44.59457,
44.49166,
44.41383,
44.37529,
44.37813,
44.40437,
44.46411,
44.56837,
44.67938,
44.7924,
44.90389,
45.00556,
45.08502,
45.13265,
45.12901,
45.09612,
45.02571,
44.93379,
44.80373,
44.70598,
44.54885,
44.44609,
44.39363,
44.34756,
44.35374,
44.39708,
44.46688,
44.57736,
44.70555,
44.84631,
44.93964,
45.04883,
45.11721,
45.14359,
45.13613,
45.10742,
45.02261,
44.91308,
44.79379,
44.66696,
28.56149,
28.56154,
28.36446,
28.36118,
28.25611,
28.25282,
28.26007,
28.25928,
28.37572,
28.37064,
28.57504,
28.57659,
28.80152,
28.80351,
28.9942,
28.99747,
29.10536,
29.10885,
29.09633,
29.09406,
28.99139,
28.9869,
28.78718,
28.78602,
28.40198,
28.40533,
28.26429,
28.26984,
28.24593,
28.24932,
28.34983,
28.35271,
28.52803,
28.52974,
28.74424,
28.74317,
28.95026,
28.94854,
29.08369,
29.07976,
29.09658,
29.09571,
29.00215,
29.00287,
28.8219,
28.8213,
28.60948,
28.60772,
36.51068,
36.50739,
36.3381,
36.333,
36.26002,
36.25353,
36.30144,
36.30068,
36.44916,
36.44928,
36.65474,
36.6586,
36.88667,
36.90262,
37.05729,
37.05939,
37.13834,
37.13661,
37.09115,
37.0918,
36.95259,
36.95136,
36.73427,
36.73009,
36.39222,
36.40861,
36.27478,
36.2756,
36.26029,
36.26086,
36.3583,
36.36319,
36.56323,
36.56205,
36.78284,
36.78803,
37.00198,
36.9955,
37.11902,
37.11808,
37.12773,
37.12772,
37.02933,
37.03231,
36.84417,
36.85642,
36.60159,
36.60041,
44.64695,
44.52653,
44.44072,
44.36725,
44.33859,
44.33996,
44.38734,
44.47791,
44.59443,
44.72128,
44.86335,
44.97848,
45.07181,
45.12841,
45.15753,
45.14619,
45.10428,
45.00666,
44.9025,
44.77077,
44.59237,
44.46442,
44.3728,
44.32383,
44.29734,
44.34364,
44.41257,
44.51774,
44.63647,
44.78258,
44.9131,
45.03271,
45.1117,
45.17945,
45.18395,
45.16744,
45.09391,
44.98577,
44.85489,
44.72533,
28.50518,
28.50646,
28.28981,
28.29039,
28.17985,
28.18327,
28.21679,
28.21393,
28.36908,
28.36604,
28.60011,
28.59885,
28.86644,
28.8631,
29.07185,
29.0675,
29.16884,
29.16416,
29.14381,
29.14502,
28.99551,
28.99652,
28.76152,
28.75908,
28.40096,
28.40109,
28.24571,
28.24476,
28.20082,
28.20063,
28.2933,
28.29532,
28.48495,
28.48833,
28.72976,
28.73088,
28.96073,
28.95758,
29.11009,
29.10893,
29.1524,
29.15115,
29.06003,
29.05572,
28.86944,
28.86957,
28.62905,
28.63122,
36.52883,
36.52752,
36.32227,
36.31966,
36.21885,
36.21785,
36.25443,
36.24985,
36.398,
36.39725,
36.63739,
36.63083,
36.87676,
36.87451,
37.0724,
37.07423,
37.17556,
37.16978,
37.14539,
37.14592,
37.00278,
37.00097,
36.7725,
36.77602,
36.41896,
36.41773,
36.26213,
36.26498,
36.22076,
36.22191,
36.30347,
36.30432,
36.49643,
36.49481,
36.75008,
36.74846,
36.98024,
36.97656,
37.14414,
37.14038,
37.17262,
37.17237,
37.08733,
37.08442,
36.89321,
36.89245,
36.65388,
36.65385,
44.57159,
44.45027,
44.34635,
44.29305,
44.27879,
44.31098,
44.3906,
44.51254,
44.64658,
44.78883,
44.93874,
45.06091,
45.16306,
45.20249,
45.21381,
45.19063,
45.09425,
44.98103,
44.85279,
44.71676,
44.49129,
44.38039,
44.29108,
44.24493,
44.25171,
44.30859,
44.41556,
44.5377,
44.69072,
44.85941,
45.0034,
45.12597,
45.20914,
45.24691,
45.24782,
45.18074,
45.1,
44.96227,
44.80064,
44.63688};
Double_t rdzTIDn_fy27[408] = {
101.4789,
88.27944,
91.23936,
80.71027,
62.30209,
53.07048,
46.29416,
41.86959,
51.8897,
40.59861,
53.14589,
43.15212,
62.35523,
62.35511,
74.0393,
74.0392,
86.4133,
86.41319,
103.6391,
97.53623,
100.715,
98.19634,
115.4812,
107.4708,
94.00611,
100.7197,
78.20322,
89.26536,
59.8391,
60.82986,
51.53263,
56.41566,
53.93004,
64.76481,
48.60298,
60.88735,
97.51434,
111.0962,
118.5061,
124.0769,
94.98278,
102.9945,
100.933,
117.3361,
108.9863,
120.2011,
99.81544,
111.2617,
63.36796,
66.34281,
88.80206,
88.42024,
103.8434,
100.7918,
63.26388,
63.49296,
32.59461,
27.40762,
43.02493,
35.32069,
53.61447,
55.82698,
86.92972,
86.16779,
112.0169,
121.7834,
123.684,
128.2622,
76.15056,
67.45261,
86.62573,
83.57256,
87.07577,
96.91766,
104.4855,
98.6105,
87.68429,
87.6074,
47.70716,
48.69902,
33.63365,
32.10813,
44.74763,
46.12115,
84.85239,
87.06581,
114.2747,
106.6457,
119.0995,
115.2084,
92.85273,
98.27052,
84.87609,
91.66685,
76.7394,
72.08589,
70.42615,
91.02328,
77.89183,
66.69592,
24.8569,
-19.02574,
-28.47503,
0.8175004,
16.2137,
29.05763,
36.71666,
54.64242,
84.33582,
96.06269,
78.7009,
56.88826,
48.25632,
78.31775,
85.05125,
69.61164,
93.04417,
97.61972,
73.01771,
56.705,
9.664688,
-30.46015,
-6.581481,
13.78777,
32.22178,
36.11459,
53.84593,
72.68833,
112.3229,
82.32246,
84.5009,
52.44925,
57.63107,
93.95307,
90.62733,
87.81059,
62.64338,
57.07348,
44.16393,
34.8551,
40.17865,
39.26179,
26.68891,
22.64416,
18.08889,
2.907989,
54.43452,
54.43466,
62.41812,
62.41869,
74.186,
74.18533,
86.48898,
86.48813,
89.4531,
79.23026,
97.89745,
87.29221,
89.93146,
81.38657,
41.89243,
51.0488,
38.51902,
50.72604,
60.73905,
60.74055,
53.41808,
53.41825,
52.45839,
52.45798,
57.74378,
57.74305,
67.97633,
67.97663,
80.50235,
80.50352,
88.79925,
93.52962,
88.34038,
98.487,
88.91843,
95.3284,
69.36931,
75.397,
41.38848,
36.88741,
40.49508,
55.37341,
51.10371,
58.81158,
37.29658,
44.69842,
31.87706,
40.57541,
48.11406,
48.19098,
58.48267,
123.3308,
73.56605,
73.56562,
105.7556,
116.5885,
92.54978,
104.0691,
107.2822,
84.16257,
53.58292,
59.30527,
56.4573,
45.77651,
64.18417,
51.06311,
59.96651,
49.9736,
37.99386,
30.05941,
61.68565,
45.51074,
71.50182,
61.96347,
86.58836,
73.31317,
100.4526,
88.62737,
109.6285,
95.89592,
94.98512,
102.3101,
88.15361,
100.132,
79.09988,
77.95655,
93.08933,
84.00938,
60.64937,
55.86244,
47.59042,
34.99096,
41.48124,
62.31009,
73.27767,
70.71439,
83.71479,
93.40441,
88.99497,
98.89121,
76.34183,
78.03204,
88.62782,
103.3531,
109.4741,
83.42764,
88.3924,
82.36674,
53.86819,
62.65835,
47.96074,
27.97754,
40.27176,
72.61117,
71.58556,
71.5139,
80.17138,
97.63681,
87.37979,
95.52471,
71.76676,
72.7499,
102.6513,
117.7696,
106.1993,
85.75187,
125.9554,
117.2569,
100.4548,
93.51221,
87.23258,
75.17837,
71.29813,
61.22752,
61.86089,
57.97102,
78.67896,
71.35468,
91.24088,
92.23206,
107.2806,
110.0265,
114.403,
106.2383,
117.8223,
118.1271,
126.9533,
125.1228,
131.3446,
124.4761,
128.4031,
132.2175,
105.7291,
110.5353,
80.87942,
86.98176,
67.37845,
82.02832,
79.31257,
86.79028,
85.35681,
84.74696,
98.79572,
102.0005,
113.6851,
127.4178,
116.9423,
124.2679,
120.4517,
131.7458,
138.4254,
150.0222,
132.8378,
147.105,
134.1558,
151.6269,
88.78384,
104.7289,
89.93769,
89.93814,
67.7407,
65.07274,
46.53201,
47.90561,
59.71159,
68.56145,
65.50022,
74.65591,
98.96877,
101.562,
99.64474,
109.5624,
117.035,
125.3495,
113.0686,
105.0575,
129.5638,
133.8362,
123.8237,
125.6552,
105.1556,
103.8584,
93.69499,
96.28823,
53.94077,
47.9908,
59.62923,
53.2198,
69.5185,
52.42824,
96.43088,
80.79095,
123.4899,
123.8715,
125.4928,
131.9019,
122.1375,
118.4,
131.639,
122.3327,
133.3391,
129.0673,
83.76146,
92.38628,
98.24329,
57.44257,
-29.56741,
-54.37131,
-0.8031644,
68.61897,
64.48385,
37.2759,
30.66852,
47.91329,
94.08578,
101.2414,
92.5778,
93.19889,
133.9326,
162.9995,
134.2561,
89.51757,
85.47151,
102.869,
81.31175,
21.43668,
-59.17771,
-37.50503,
35.81829,
79.9863,
56.37791,
30.90187,
37.57545,
81.36536,
100.8652,
95.43201,
83.5757,
119.7348,
156.6596,
166.3542,
112.0605,
83.44717};
graph = new TGraph(408,rdzTIDn_fx27,rdzTIDn_fy27);
graph->SetName("rdzTIDn");
graph->SetTitle("TID at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(4);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTIBn_fx28[1362] = {
23.51643,
23.7351,
23.52174,
23.74664,
23.49732,
23.71904,
23.41737,
23.64017,
23.41935,
23.63427,
23.41289,
23.63688,
23.34031,
23.55599,
23.32617,
23.54609,
23.31986,
23.54922,
23.29555,
23.5174,
23.30144,
23.52148,
23.27231,
23.49244,
23.24874,
23.48122,
23.23886,
23.46054,
23.22202,
23.44736,
23.25715,
23.4755,
23.26149,
23.48318,
23.13995,
23.3668,
23.2794,
23.50121,
23.27757,
23.49739,
23.28622,
23.50671,
23.34571,
23.57404,
23.35007,
23.57287,
23.3628,
23.58355,
23.44888,
23.67114,
23.459,
23.68381,
23.49123,
23.71629,
23.54831,
23.77291,
23.5658,
23.78409,
23.59438,
23.81721,
23.6488,
23.87036,
23.65487,
23.87535,
23.65684,
23.87747,
23.78171,
24.00756,
23.7836,
24.00589,
23.7935,
24.02161,
23.89157,
24.11264,
23.91621,
24.13889,
23.93548,
24.15424,
27.04695,
26.82809,
26.99727,
26.77498,
26.93404,
26.71434,
26.91273,
26.69551,
26.89996,
26.67746,
26.84857,
26.62944,
26.88485,
26.66598,
26.84624,
26.62376,
26.78618,
26.5597,
26.83723,
26.61971,
26.79746,
26.57587,
26.72902,
26.503,
26.80154,
26.57276,
26.74805,
26.52691,
26.69073,
26.46908,
26.71924,
26.49615,
26.71315,
26.49374,
26.68923,
26.46998,
26.7125,
26.49125,
26.69736,
26.47949,
26.71555,
26.49015,
26.76625,
26.54679,
26.76216,
26.53883,
26.77058,
26.54292,
26.84779,
26.62481,
26.83589,
26.61434,
26.83539,
26.60991,
26.96188,
26.73902,
26.94434,
26.71586,
26.92023,
26.69795,
26.99402,
26.77359,
27.00431,
26.77897,
27.00176,
26.77715,
27.0739,
26.85519,
27.09025,
26.86963,
27.09605,
26.8758,
27.18578,
26.95942,
27.20328,
26.98294,
27.19817,
26.97596,
27.30335,
27.08273,
27.30875,
27.09336,
27.3028,
27.07851,
27.40246,
27.18017,
27.42488,
27.20394,
27.40507,
27.18581,
23.99892,
24.21726,
24.05292,
24.28715,
24.08321,
24.29902,
24.05548,
24.27442,
24.14089,
24.3653,
24.15508,
24.38254,
24.09327,
24.31595,
24.14605,
24.36417,
24.18736,
24.40286,
24.11851,
24.34411,
24.16271,
24.38198,
24.22514,
24.44797,
24.11776,
24.34479,
24.15394,
24.38935,
24.22095,
24.44718,
24.12326,
24.34377,
24.17997,
24.40147,
24.23088,
24.44764,
24.1043,
24.33098,
24.15226,
24.36814,
24.19937,
24.39965,
24.07121,
24.30128,
24.09631,
24.30708,
24.13256,
24.34096,
24.01159,
24.23369,
24.0283,
24.23722,
24.07042,
24.28318,
23.9492,
24.17674,
23.96588,
24.19664,
23.99689,
24.21646,
23.86464,
24.08697,
23.86893,
24.08844,
23.89296,
24.11128,
23.7798,
23.99771,
23.76378,
23.98435,
23.77853,
23.99586,
23.66089,
23.88005,
23.64162,
23.8647,
23.62024,
23.84294,
27.50922,
27.28783,
27.50694,
27.28746,
27.50222,
27.28027,
27.52936,
27.30631,
27.53171,
27.31352,
27.57694,
27.35634,
27.57109,
27.34676,
27.58415,
27.36354,
27.61782,
27.40161,
27.56032,
27.34445,
27.60727,
27.38395,
27.66298,
27.43507,
27.57253,
27.35069,
27.60449,
27.38725,
27.68897,
27.46519,
27.59872,
27.37974,
27.65372,
27.43445,
27.72166,
27.50478,
27.62954,
27.41443,
27.64505,
27.42656,
27.70369,
27.48234,
27.61648,
27.40883,
27.63297,
27.405,
27.66529,
27.447,
27.59957,
27.38836,
27.60267,
27.37899,
27.61473,
27.40374,
27.54603,
27.34011,
27.52456,
27.30802,
27.56977,
27.35216,
27.46504,
27.24429,
27.4783,
27.25995,
27.4766,
27.25689,
27.38864,
27.16636,
27.36751,
27.15604,
27.40378,
27.17656,
27.3143,
27.09908,
27.32044,
27.10557,
27.30671,
27.08542,
27.24004,
27.02306,
27.23244,
27.01341,
27.19676,
26.97609,
27.15049,
26.92576,
27.13243,
26.91648,
27.09451,
26.87568,
31.98532,
32.21129,
31.93657,
32.15942,
31.91777,
32.13405,
31.95956,
32.1791,
31.90413,
32.12899,
31.87905,
32.09546,
31.92583,
32.14621,
31.85766,
32.08185,
31.82461,
32.0465,
31.87761,
32.09828,
31.8343,
32.05476,
31.75279,
31.97065,
31.80882,
32.03046,
31.76767,
31.99607,
31.7274,
31.94348,
31.76952,
31.98121,
31.73881,
31.95476,
31.69884,
31.92058,
31.72549,
31.94878,
31.70326,
31.91793,
31.69017,
31.90897,
31.72702,
31.94553,
31.7187,
31.94231,
31.69464,
31.90987,
31.72518,
31.93958,
31.70235,
31.91697,
31.71614,
31.931,
31.7719,
31.99429,
31.76686,
31.98455,
31.7663,
31.98786,
31.84228,
32.05968,
31.85035,
32.07165,
31.85082,
32.06247,
31.93556,
32.15336,
31.91276,
32.13176,
31.91248,
32.14042,
32.01159,
32.22813,
32.018,
32.23993,
32.01348,
32.23759,
32.08533,
32.30344,
32.10492,
32.32149,
32.09728,
32.31621,
32.16186,
32.38412,
32.17692,
32.39522,
32.16921,
32.39708,
32.18407,
32.41093,
32.23018,
32.45253,
32.24746,
32.47112,
32.18823,
32.40731,
32.22029,
32.44421,
32.2804,
32.50335,
35.52292,
35.29956,
35.44569,
35.22545,
35.4608,
35.24331,
35.47841,
35.25519,
35.40011,
35.17448,
35.38462,
35.16476,
35.43983,
35.21429,
35.35878,
35.13752,
35.32826,
35.10637,
35.37677,
35.15708,
35.32209,
35.09485,
35.26193,
35.03759,
35.32742,
35.09662,
35.28177,
35.0586,
35.25632,
35.03565,
35.26339,
35.03366,
35.21167,
34.98919,
35.18578,
34.96427,
35.24508,
35.0083,
35.19353,
34.97336,
35.18356,
34.94954,
35.21496,
34.98871,
35.17413,
34.94459,
35.1673,
34.93729,
35.23446,
35.0206,
35.21857,
34.99797,
35.19944,
34.97227,
35.21457,
34.98862,
35.19188,
34.9701,
35.17704,
34.95527,
35.2144,
34.98765,
35.21731,
34.9879,
35.22054,
34.99594,
35.26456,
35.04347,
35.25304,
35.03136,
35.24669,
35.02744,
35.33472,
35.10867,
35.3247,
35.09969,
35.35266,
35.12063,
35.41707,
35.19111,
35.4085,
35.17632,
35.43063,
35.20633,
35.49361,
35.26783,
35.49955,
35.27821,
35.49701,
35.27716,
35.57993,
35.35431,
35.60214,
35.37836,
35.58555,
35.36415,
35.61166,
35.38778,
35.63167,
35.41148,
35.59118,
35.36554,
35.66741,
35.45082,
35.69468,
35.47174,
35.71236,
35.49414,
35.71341,
35.49399,
35.71941,
35.49817,
35.77164,
35.55696,
32.28214,
32.50132,
32.31485,
32.53792,
32.39634,
32.61631,
32.38623,
32.61073,
32.41976,
32.63813,
32.45862,
32.67432,
32.47986,
32.70321,
32.50035,
32.71866,
32.51632,
32.73993,
32.53408,
32.75387,
32.55601,
32.77856,
32.59449,
32.81367,
32.57162,
32.78674,
32.6018,
32.82607,
32.60198,
32.8241,
32.57126,
32.7843,
32.62194,
32.84842,
32.64536,
32.85947,
32.55542,
32.76587,
32.61234,
32.83397,
32.6506,
32.87159,
32.50748,
32.72611,
32.56208,
32.77763,
32.61115,
32.83094,
32.47624,
32.69461,
32.51973,
32.74126,
32.56593,
32.78426,
32.4487,
32.67698,
32.48773,
32.69161,
32.56435,
32.77941,
32.45652,
32.66978,
32.48124,
32.698,
32.53226,
32.75224,
32.43162,
32.6525,
32.46092,
32.67949,
32.46845,
32.68604,
32.39449,
32.6127,
32.41607,
32.64431,
32.41236,
32.63562,
32.31909,
32.53971,
32.32286,
32.54475,
32.31201,
32.53888,
32.24643,
32.46787,
32.22558,
32.44398,
32.22033,
32.44377,
32.14398,
32.35725,
32.11031,
32.32559,
32.11413,
32.32869,
32.00529,
32.22668,
31.97553,
32.1899,
32.00118,
32.21341,
35.75843,
35.53566,
35.78512,
35.56604,
35.83918,
35.61903,
35.82761,
35.59586,
35.83837,
35.61708,
35.91463,
35.68286,
35.87754,
35.65769,
35.91064,
35.68436,
35.96786,
35.74206,
35.92401,
35.705,
35.96971,
35.74733,
36.01722,
35.79083,
35.95655,
35.73521,
36.01973,
35.79807,
36.06499,
35.83747,
35.98915,
35.76615,
36.03737,
35.81613,
36.06615,
35.85284,
35.98509,
35.75884,
36.02993,
35.80619,
36.05958,
35.83498,
35.97988,
35.75364,
36.03878,
35.81734,
36.08844,
35.86433,
35.95781,
35.73924,
36.01597,
35.80083,
36.07577,
35.85334,
35.9225,
35.70237,
35.97669,
35.75117,
36.04453,
35.82328,
35.86967,
35.6462,
35.92472,
35.70568,
36.01056,
35.79113,
35.86228,
35.64173,
35.89452,
35.67607,
35.99673,
35.78163,
35.84192,
35.62417,
35.87782,
35.66615,
35.95424,
35.72144,
35.83486,
35.61453,
35.85648,
35.63739,
35.88837,
35.66473,
35.81993,
35.59823,
35.81847,
35.5997,
35.82508,
35.60352,
35.78613,
35.56247,
35.76259,
35.54179,
35.72795,
35.50147,
35.70668,
35.48085,
35.68361,
35.46122,
35.64588,
35.42133,
35.63829,
35.41352,
35.59278,
35.36962,
35.57378,
35.35291,
35.5921,
35.36761,
35.51885,
35.29177,
35.49436,
35.27459,
40.08121,
40.02468,
40.00765,
40.06324,
40.02175,
39.9838,
40.0392,
40.00647,
39.96399,
40.03233,
39.97366,
39.91986,
40.01185,
39.93536,
39.92553,
40.00679,
39.9731,
39.90398,
40.00803,
39.9649,
39.90628,
39.95752,
39.93313,
39.90916,
39.98027,
39.94386,
39.91402,
39.98985,
39.95385,
39.92066,
40.00255,
39.95543,
39.9101,
40.02964,
39.98161,
39.94843,
40.06353,
40.03598,
40.0018,
40.07467,
40.05839,
40.0271,
40.11022,
40.11116,
40.08235,
40.10905,
40.1368,
40.1048,
40.11327,
40.13303,
40.12324,
40.16353,
40.15772,
40.17884,
40.1786,
40.18509,
40.1894,
40.2204,
40.24209,
40.25361,
40.26738,
40.3092,
40.31512,
40.30966,
40.31204,
40.33223,
43.25589,
43.23185,
43.22309,
43.22568,
43.20385,
43.20338,
43.19246,
43.16254,
43.15499,
43.17772,
43.14115,
43.11348,
43.16486,
43.11158,
43.08205,
43.15668,
43.09509,
43.05645,
43.20567,
43.1558,
43.06501,
43.19204,
43.12718,
43.04758,
43.16243,
43.10579,
43.09576,
43.16578,
43.13325,
43.09301,
43.16273,
43.12604,
43.11802,
43.19035,
43.14546,
43.12389,
43.21105,
43.16693,
43.15641,
43.22187,
43.19582,
43.17945,
43.23939,
43.22134,
43.22011,
43.30974,
43.29929,
43.25259,
43.32049,
43.34484,
43.28291,
43.33062,
43.31926,
43.32265,
43.35189,
43.3443,
43.36283,
43.37941,
43.3965,
43.45058,
43.41682,
43.42103,
43.43943,
43.46186,
43.47312,
43.49265,
43.49742,
43.51721,
43.55732,
40.35035,
40.38552,
40.41349,
40.38134,
40.43626,
40.48375,
40.40931,
40.43522,
40.50113,
40.48767,
40.50155,
40.56795,
40.53294,
40.56236,
40.62601,
40.58712,
40.61755,
40.64504,
40.62064,
40.6459,
40.67628,
40.61167,
40.67817,
40.68989,
40.64313,
40.66235,
40.69224,
40.64618,
40.69347,
40.69687,
40.63744,
40.64333,
40.67099,
40.61248,
40.64418,
40.65637,
40.56885,
40.61866,
40.61993,
40.50559,
40.55695,
40.56947,
40.48724,
40.50665,
40.52724,
40.38997,
40.41385,
40.44855,
40.35399,
40.36894,
40.39303,
40.29942,
40.29873,
40.30517,
40.24091,
40.2453,
40.25184,
40.19998,
40.19491,
40.20224,
40.1642,
40.15088,
40.12696,
40.12431,
40.06231,
40.04663,
43.54317,
43.58578,
43.66626,
43.61359,
43.66508,
43.69212,
43.63638,
43.67647,
43.75049,
43.70645,
43.75224,
43.78645,
43.74145,
43.80161,
43.83677,
43.77399,
43.82493,
43.86211,
43.83353,
43.8861,
43.89235,
43.85177,
43.89034,
43.90928,
43.83676,
43.90317,
43.94081,
43.86279,
43.88903,
43.93894,
43.84671,
43.87778,
43.90448,
43.85775,
43.85847,
43.86772,
43.80629,
43.83393,
43.84657,
43.74968,
43.7719,
43.79824,
43.7215,
43.73451,
43.75266,
43.66668,
43.68172,
43.73478,
43.60394,
43.659,
43.67365,
43.52757,
43.55654,
43.60728,
43.47588,
43.49567,
43.53284,
43.43719,
43.42291,
43.45482,
43.34922,
43.35473,
43.40125,
43.28611,
43.28907,
43.33526,
43.24792,
43.22009,
43.28217,
48.05129,
48.01903,
47.99434,
48.02856,
47.99364,
47.98348,
48.06674,
48.02071,
47.96423,
48.05059,
47.9918,
47.95884,
48.04167,
47.97769,
47.93216,
47.99567,
47.97403,
47.8933,
48.00481,
47.93473,
47.85568,
47.99869,
47.91288,
47.84357,
47.97353,
47.88046,
47.82071,
47.98875,
47.88792,
47.81389,
48.03407,
47.92664,
47.78466,
48.00703,
47.92595,
47.84211,
48.03736,
47.95984,
47.85046,
48.08772,
48.02167,
47.90257,
48.08276,
48.02927,
47.9179,
48.08708,
48.0318,
47.95176,
48.09159,
48.00928,
47.99519,
48.08177,
48.04633,
48.03276,
48.11131,
48.08566,
48.08282,
48.14133,
48.1507,
48.15167,
48.16098,
48.15665,
48.12063,
48.19411,
48.22402,
48.22136,
48.20397,
48.2341,
48.25026,
48.23681,
48.26344,
48.26835,
48.25549,
48.26344,
48.29396,
48.28119,
48.27179,
48.32316,
51.33167,
51.29426,
51.28373,
51.19499,
51.1676,
51.15913,
51.236,
51.16199,
51.13702,
51.21144,
51.16062,
51.13803,
51.22869,
51.13918,
51.10085,
51.2062,
51.14508,
51.07374,
51.21022,
51.1133,
51.03886,
51.22262,
51.11936,
51.08376,
51.21714,
51.10243,
51.04349,
51.22586,
51.10678,
51.02855,
51.22907,
51.11739,
51.02086,
51.26107,
51.1517,
51.0466,
51.26233,
51.1673,
51.0759,
51.26913,
51.2015,
51.11082,
51.24212,
51.19313,
51.12295,
51.27118,
51.20615,
51.12977,
51.27391,
51.22277,
51.14772,
51.28944,
51.21024,
51.15974,
51.29905,
51.22575,
51.21592,
51.30866,
51.26852,
51.23082,
51.33619,
51.2911,
51.29164,
51.35662,
51.3346,
51.32488,
51.35287,
51.35521,
51.3705,
51.36987,
51.38634,
51.39146,
51.3837,
51.41577,
51.41807,
51.39875,
51.43134,
51.46235,
51.4128,
51.45667,
51.48747,
51.43016,
51.46518,
51.48486,
48.32803,
48.34894,
48.34673,
48.36472,
48.34591,
48.38166,
48.37383,
48.38178,
48.41175,
48.39245,
48.40121,
48.43496,
48.4212,
48.444,
48.48758,
48.46164,
48.48789,
48.52133,
48.49907,
48.51961,
48.56205,
48.52483,
48.57778,
48.58904,
48.54682,
48.59001,
48.61058,
48.54525,
48.58488,
48.61246,
48.54882,
48.58179,
48.59035,
48.53146,
48.54713,
48.57188,
48.50559,
48.52614,
48.55384,
48.46735,
48.50685,
48.51574,
48.43208,
48.46832,
48.47511,
48.39824,
48.42353,
48.44287,
48.35793,
48.40103,
48.40432,
48.34103,
48.34,
48.35263,
48.30163,
48.29349,
48.31218,
48.27621,
48.25718,
48.24153,
48.20945,
48.20525,
48.20029,
48.14188,
48.13234,
48.15658,
48.11747,
48.10813,
48.12146,
48.09421,
48.07389,
48.0423,
48.0597,
48.01619,
48.01079,
48.00949,
47.97785,
47.95744,
51.49023,
51.47522,
51.48631,
51.51097,
51.49642,
51.53007,
51.5504,
51.53624,
51.55379,
51.573,
51.56004,
51.59194,
51.58984,
51.57056,
51.61267,
51.60534,
51.60757,
51.64756,
51.62256,
51.63111,
51.67903,
51.64722,
51.67558,
51.7319,
51.64188,
51.69221,
51.75191,
51.67284,
51.71657,
51.76319,
51.65298,
51.69957,
51.75192,
51.64767,
51.69685,
51.75118,
51.62514,
51.68774,
51.73101,
51.6134,
51.67025,
51.72514,
51.61432,
51.63662,
51.70254,
51.53278,
51.59987,
51.62906,
51.56381,
51.57681,
51.61769,
51.52671,
51.55333,
51.57956,
51.49981,
51.51588,
51.52026,
51.46212,
51.46183,
51.4833,
51.43047,
51.43653,
51.45593,
51.39634,
51.39132,
51.39761,
51.35138,
51.35237,
51.35152,
51.30907,
51.29384,
51.31214,
51.28779,
51.26135,
51.2738,
51.26699,
51.23001,
51.2334,
51.24692,
51.20898,
51.21161,
51.21655,
51.17545,
51.20089};
Double_t rdzTIBn_fy28[1362] = {
35.64592,
36.78107,
35.64897,
35.67922,
35.69921,
34.64162,
39.68522,
39.9452,
39.66975,
40.53837,
39.57183,
39.01199,
43.92309,
43.59832,
43.9249,
44.16375,
43.86626,
42.77224,
48.31296,
48.133,
48.21071,
48.84585,
48.12899,
48.44004,
52.37471,
52.83858,
52.27839,
53.38376,
52.2561,
53.17172,
56.07905,
57.42143,
56.14475,
57.73783,
55.9938,
56.55743,
59.21606,
58.89075,
59.21451,
59.21304,
59.23171,
59.74594,
61.43249,
61.11171,
61.45777,
61.00678,
61.53197,
62.26432,
62.78727,
63.43109,
62.76691,
63.76887,
62.86238,
64.45889,
63.04145,
62.90942,
63.03312,
64.58009,
63.08288,
64.93449,
62.26936,
61.47254,
62.17133,
63.74579,
62.18419,
65.05549,
60.50822,
58.30626,
60.4278,
61.24883,
60.47937,
62.15851,
57.78004,
54.90862,
57.79758,
57.63886,
57.80988,
58.49051,
34.23626,
36.6324,
34.2966,
36.50122,
34.31618,
34.84311,
37.97277,
39.16486,
38.08157,
39.06281,
37.99149,
36.76091,
42.22161,
43.10764,
42.26952,
42.37275,
42.14119,
41.86212,
46.52508,
46.49804,
46.49846,
46.45154,
46.44668,
46.39875,
50.87689,
51.19498,
50.73339,
51.37674,
50.56979,
51.97591,
54.80349,
54.49853,
54.76546,
54.2319,
54.5728,
53.00869,
58.42784,
58.18803,
58.35155,
57.94038,
58.35653,
58.36335,
61.44057,
61.60949,
61.38591,
60.86893,
61.38885,
60.83219,
63.6837,
63.6697,
63.66506,
63.49814,
63.62732,
64.22536,
65.20292,
64.47641,
65.16424,
65.96239,
65.0873,
66.80173,
65.71387,
65.34178,
65.71367,
66.10348,
65.67458,
65.56823,
65.40113,
64.42858,
65.43851,
65.6851,
65.36059,
66.60005,
64.20438,
63.66045,
64.20152,
63.77177,
64.24293,
64.49624,
62.11612,
61.00702,
62.13416,
61.29034,
62.13467,
63.39156,
59.33702,
56.87989,
59.42768,
57.37087,
59.431,
58.78482,
54.49838,
50.94553,
54.38423,
50.63305,
54.41368,
51.46706,
50.47155,
48.2382,
50.41456,
48.6283,
50.35329,
48.70001,
46.05542,
42.89308,
46.14419,
43.67435,
46.13549,
44.25739,
41.74154,
39.40768,
41.75062,
39.93349,
41.7182,
40.30076,
37.54439,
37.44429,
37.5283,
37.43084,
37.51437,
37.40023,
33.80882,
33.67606,
33.79009,
33.66555,
33.76132,
33.61906,
30.71807,
30.56609,
30.69562,
30.5234,
30.68623,
30.51754,
28.4511,
28.27221,
28.46984,
28.29214,
28.42208,
28.26306,
27.14111,
26.98026,
27.14339,
26.97689,
27.09404,
26.94736,
26.98688,
31.48627,
26.93325,
33.15003,
26.98163,
32.49176,
27.74331,
32.38169,
27.79848,
33.73908,
27.73301,
33.36895,
29.54792,
33.63711,
29.57395,
34.79905,
29.58683,
34.58281,
32.36988,
35.39884,
32.38658,
37.27571,
32.31887,
37.05607,
56.00476,
53.97099,
55.98339,
54.31216,
56.05713,
54.76789,
52.0338,
48.38243,
52.01303,
49.04711,
52.07731,
49.83651,
47.85078,
45.00124,
47.90509,
45.24568,
47.82139,
47.068,
43.47881,
41.9035,
43.48841,
41.13264,
43.47696,
42.57195,
39.22064,
38.63498,
39.4057,
38.60894,
39.23661,
39.81447,
35.2156,
35.40606,
35.24291,
35.43316,
35.19128,
33.85491,
31.57998,
32.40949,
31.61189,
32.32833,
31.56251,
31.4402,
28.58683,
30.69006,
28.58011,
30.50975,
28.57199,
30.23373,
26.28881,
29.69538,
26.3001,
28.9067,
26.29381,
28.90014,
24.77065,
29.12077,
24.87681,
28.73262,
24.75704,
28.84044,
24.20377,
28.81172,
24.25448,
28.25107,
24.05658,
25.68907,
24.63147,
29.85906,
24.52649,
29.16321,
24.59839,
27.32877,
25.82931,
29.94137,
25.76554,
29.17246,
25.75854,
28.5155,
27.86146,
32.38578,
27.87441,
31.61572,
27.82548,
31.1092,
30.50953,
32.49018,
30.65452,
32.21609,
31.02433,
33.73161,
31.70197,
32.07362,
31.74688,
33.09085,
31.66366,
34.37939,
35.64521,
35.59833,
35.66966,
35.41385,
35.66357,
38.30536,
39.96613,
37.95483,
39.96989,
39.71462,
40.03946,
42.14876,
44.5411,
42.20463,
44.41692,
42.70996,
44.47591,
44.52327,
49.08084,
49.12595,
49.0718,
49.15609,
49.02378,
49.29678,
53.41207,
52.13465,
53.46047,
51.82152,
53.48887,
54.29241,
57.50431,
57.00532,
57.5149,
57.39567,
57.62311,
58.87808,
61.17698,
60.45981,
61.03761,
59.76806,
61.22107,
59.91229,
64.26766,
65.12566,
64.31562,
64.33408,
64.38621,
62.8792,
66.70236,
66.65537,
66.82667,
66.6851,
66.74323,
67.02151,
68.41146,
68.27877,
68.40399,
66.99388,
68.58408,
66.75425,
69.37176,
69.74583,
69.43584,
68.78035,
69.5052,
67.24658,
69.50484,
69.85043,
69.51263,
68.77135,
69.46696,
68.61073,
68.82114,
69.75011,
68.75494,
67.58624,
68.63274,
67.349,
67.17758,
66.36181,
67.04993,
65.64442,
67.11879,
65.06377,
64.83868,
63.13781,
64.86286,
63.14883,
64.77692,
64.88968,
61.74697,
62.04632,
61.69938,
60.47212,
61.5683,
59.50164,
30.15669,
28.73652,
30.14907,
28.9201,
29.99771,
28.92146,
34.05659,
31.67097,
34.08642,
32.16745,
34.04519,
33.42487,
38.26923,
35.94915,
38.20396,
38.19274,
38.3502,
38.91093,
42.69408,
40.07073,
42.75887,
41.90773,
42.78465,
42.69684,
47.19409,
46.47775,
47.21278,
47.31826,
47.24517,
48.19032,
51.85077,
50.30809,
51.78186,
51.01373,
51.73728,
52.68575,
55.94682,
54.35982,
55.97417,
55.05733,
56.04684,
56.88256,
59.95961,
58.48508,
59.90228,
59.41015,
59.86055,
60.01618,
63.22897,
63.34689,
63.40311,
63.26241,
63.4729,
63.78781,
66.43758,
66.41764,
66.44994,
66.20117,
66.44497,
66.196,
68.81567,
68.64973,
68.80014,
68.70972,
68.83289,
68.09538,
70.71142,
71.42197,
70.628,
70.47062,
70.58369,
69.85412,
71.80293,
72.51157,
71.68087,
71.91302,
71.71387,
70.49569,
72.14632,
72.75932,
72.11182,
72.35183,
72.14429,
71.05016,
71.7851,
72.16631,
71.76556,
72.12783,
71.67925,
70.43897,
70.71246,
71.64479,
70.66407,
70.34756,
70.61627,
69.87917,
68.87601,
69.61454,
68.8923,
68.88573,
68.81113,
68.38638,
66.43962,
67.35414,
66.36184,
67.50631,
66.39037,
66.19794,
63.34037,
64.05033,
63.29579,
64.59695,
63.20436,
64.08472,
58.10058,
61.16295,
58.09541,
60.14603,
58.00237,
62.07581,
54.21746,
56.5331,
54.21122,
55.99423,
54.1265,
56.59646,
49.70456,
50.47503,
49.9488,
51.27371,
49.86883,
52.33675,
45.47461,
44.96939,
45.35522,
45.45956,
45.34642,
46.78665,
40.85324,
40.10365,
40.96238,
40.80223,
40.88448,
41.52576,
36.78537,
35.67822,
36.64436,
36.14495,
36.64119,
37.9749,
32.53849,
30.82723,
32.7773,
31.6751,
32.54419,
32.62415,
28.8485,
27.2959,
28.91884,
27.55678,
28.91059,
28.12041,
25.70297,
26.00766,
25.71582,
24.62813,
25.78462,
24.01098,
23.25968,
23.68694,
23.36791,
23.89102,
23.31757,
24.60384,
21.58522,
21.48825,
21.74555,
20.90473,
21.62057,
20.70267,
20.60746,
20.82439,
20.71421,
19.57545,
20.81512,
19.33427,
20.5312,
19.53511,
20.55939,
18.3238,
20.47034,
18.88314,
21.32973,
19.61863,
21.2798,
19.39756,
21.26789,
19.07957,
22.78361,
20.37162,
22.90409,
19.80638,
22.81932,
19.7603,
25.14458,
22.74061,
25.24385,
22.53351,
25.23603,
21.80119,
28.25318,
26.44532,
28.29936,
25.48018,
28.29691,
24.71412,
59.79045,
60.43755,
59.6734,
60.10138,
59.58007,
59.70254,
55.95441,
56.51997,
55.85241,
56.85449,
55.79369,
56.98879,
51.73071,
52.47599,
51.65488,
52.7734,
51.60277,
52.60651,
47.32671,
47.24135,
47.28811,
47.90918,
47.23955,
49.15845,
42.84089,
43.09753,
42.75229,
43.8675,
42.74431,
44.92859,
38.39211,
37.6251,
38.31632,
38.77956,
38.35176,
39.11823,
34.06288,
33.64525,
34.12261,
33.89525,
34.15747,
34.96022,
30.10878,
29.42786,
30.10971,
29.83805,
30.06474,
31.28158,
26.50426,
26.38801,
26.57348,
26.71447,
26.60268,
26.93497,
23.48865,
23.23184,
23.55734,
23.349,
23.58882,
23.68352,
20.97478,
20.89162,
21.04199,
20.4433,
21.10508,
20.58367,
19.30893,
19.27417,
19.28843,
19.14026,
19.23869,
19.20279,
18.17892,
17.84205,
18.19881,
17.92624,
18.22342,
17.19036,
17.82662,
17.72859,
17.8846,
16.68925,
17.8335,
16.48575,
18.20071,
17.24676,
18.19885,
17.22591,
18.19045,
16.60587,
19.30399,
17.96924,
19.2605,
17.66942,
19.32425,
17.80933,
21.04586,
19.61031,
21.10952,
19.62618,
21.09708,
18.81271,
23.50113,
22.10783,
23.52703,
22.61028,
23.55477,
22.29543,
26.61552,
26.17102,
26.48418,
26.70602,
26.54951,
26.65911,
27.82773,
27.88102,
27.85581,
31.63467,
31.68733,
31.46652,
35.72451,
35.77916,
35.67392,
40.00999,
39.99716,
40.00415,
44.27296,
44.37642,
44.24009,
48.67429,
48.762,
48.55637,
52.90535,
52.8856,
52.77711,
57.15196,
57.03549,
56.99022,
60.96388,
60.9881,
60.88565,
64.50177,
64.47364,
64.4444,
67.66659,
67.63862,
67.64507,
70.41221,
70.33662,
70.32529,
72.60598,
72.56652,
72.53608,
74.0974,
74.1443,
74.15066,
75.2776,
75.24297,
75.11694,
75.70057,
75.71766,
75.49678,
75.418,
75.44668,
75.31939,
74.61463,
74.56406,
74.60983,
73.17594,
73.15212,
73.16235,
71.17138,
71.1622,
71.11317,
68.62383,
68.6091,
68.52259,
65.54227,
65.54301,
65.53384,
26.49723,
26.4867,
26.40519,
30.35589,
30.34762,
30.34623,
34.54578,
34.49858,
34.49563,
38.98465,
38.97576,
38.93067,
43.4758,
43.42607,
43.42011,
47.94195,
47.9296,
47.96041,
52.43524,
52.23505,
52.21735,
56.72872,
56.58357,
56.53109,
60.78057,
60.80801,
60.91989,
64.6356,
64.66695,
64.62035,
68.05193,
68.08255,
68.07771,
71.12806,
71.08091,
71.15072,
73.63174,
73.60366,
73.63496,
75.61897,
75.63073,
75.62374,
77.04308,
77.07535,
77.1051,
77.94563,
77.91375,
77.86564,
78.19244,
78.14224,
78.13306,
77.73673,
77.67058,
77.69767,
76.72669,
76.63258,
76.73372,
75.06437,
75.08416,
75.1116,
72.89507,
72.83027,
72.85682,
70.24102,
70.26183,
70.1746,
67.09303,
67.05625,
66.96723,
62.13706,
62.11672,
62.10834,
58.32918,
58.37411,
58.38219,
54.25764,
54.25574,
54.45214,
50.02431,
49.97327,
50.15028,
45.72895,
45.62275,
45.72386,
41.29423,
41.2785,
41.29285,
37.02898,
37.01978,
36.99641,
32.81533,
32.83258,
32.8674,
28.93003,
28.92186,
29.01368,
25.35029,
25.31929,
25.33548,
22.13242,
22.12134,
22.25092,
19.51189,
19.49725,
19.45882,
17.32541,
17.30778,
17.2882,
15.62368,
15.71523,
15.78985,
14.73985,
14.72903,
14.67232,
14.36372,
14.4005,
14.35185,
14.56702,
14.57771,
14.60513,
15.36374,
15.37873,
15.35213,
16.83441,
16.82775,
16.8801,
18.81784,
18.84173,
18.85163,
21.39847,
21.39131,
21.39924,
24.49141,
24.4959,
24.47129,
63.43667,
63.32875,
63.50029,
59.45713,
59.61712,
59.57116,
55.36886,
55.32119,
55.30442,
50.97336,
50.99202,
50.98458,
46.46601,
46.57729,
46.5316,
41.9057,
42.0388,
42.06917,
37.5122,
37.43496,
37.50919,
33.16966,
33.16162,
33.19589,
29.12523,
29.04505,
28.9974,
25.24523,
25.30533,
25.21868,
21.83754,
21.88708,
21.84224,
18.80897,
18.8138,
18.80808,
16.30732,
16.29,
16.32149,
14.34803,
14.34186,
14.33377,
12.90484,
12.85982,
12.92936,
12.09672,
12.13123,
12.05063,
11.86916,
11.79111,
11.82402,
12.32162,
12.30122,
12.29863,
13.30651,
13.26526,
13.33817,
14.85567,
14.9241,
14.92192,
17.07018,
17.06534,
17.06541,
19.75014,
19.74577,
19.51931,
22.93748,
22.87099,
22.26542,
24.03257,
24.08216,
24.11041,
27.92327,
27.91446,
27.87066,
31.70228,
31.84387,
31.86854,
36.10273,
36.18485,
36.06315,
40.42748,
40.37557,
40.48038,
45.2775,
44.83409,
44.93179,
49.1459,
49.28412,
49.45995,
53.85222,
53.85331,
53.80207,
57.52997,
57.93163,
57.8804,
61.81949,
61.83773,
61.89901,
65.73962,
65.39088,
65.595,
69.43678,
69.43647,
69.37555,
72.1717,
71.95862,
72.20166,
75.1339,
74.89105,
74.79757,
77.36105,
77.02313,
77.16006,
79.16599,
79.09496,
79.07841,
80.4565,
80.63051,
80.50188,
81.39499,
81.45657,
81.443,
81.64324,
81.70355,
81.61385,
81.41486,
81.47376,
81.42239,
80.74228,
80.74832,
80.7001,
79.40403,
79.38658,
79.45351,
77.59321,
77.5197,
77.54608,
75.32944,
75.31592,
75.19186,
72.61229,
72.52785,
72.43874,
69.26289,
69.31708,
69.3387,
22.72991,
22.69703,
22.6679,
26.29728,
26.42956,
26.40351,
30.26076,
30.30828,
30.29938,
34.61018,
34.56868,
34.60034,
38.76124,
38.68396,
38.78963,
43.05795,
43.02616,
43.14496,
47.52353,
47.5425,
47.54757,
51.88315,
51.94777,
51.90201,
56.12834,
56.21013,
56.21755,
60.28426,
60.32614,
60.28976,
64.21683,
64.22266,
64.27938,
67.88659,
67.73977,
67.81359,
71.339,
71.04993,
71.20406,
74.42065,
74.17351,
74.41912,
77.14742,
76.95337,
76.97916,
79.45476,
79.26982,
79.31305,
81.32748,
81.20902,
81.21365,
82.69563,
82.57494,
82.6935,
83.65271,
83.64786,
83.69282,
84.12061,
84.16108,
84.07156,
84.10455,
84.09716,
84.1079,
83.57892,
83.57436,
83.49042,
82.49491,
82.49525,
82.56275,
81.02922,
81.04808,
81.08017,
79.06469,
79.06378,
79.13338,
76.69083,
76.73679,
76.76569,
73.86812,
73.9509,
73.95997,
70.78744,
70.77659,
70.8064,
65.79095,
65.80056,
65.9479,
62.03287,
62.0506,
62.07592,
58.01998,
58.01491,
58.04334,
53.82875,
53.71061,
53.81639,
49.464,
49.36371,
49.39258,
44.98254,
45.01697,
44.89665,
40.61682,
40.5947,
40.58635,
36.24955,
36.20292,
36.27874,
32.00741,
32.08018,
32.00215,
27.94861,
28.05903,
27.97986,
24.14804,
24.16637,
24.24359,
20.6038,
20.73823,
20.69708,
17.56604,
17.71719,
17.48741,
14.78403,
14.8188,
14.77566,
12.51915,
12.49803,
12.52998,
10.659,
10.80842,
10.6502,
9.386785,
9.308297,
9.302789,
8.54377,
8.522231,
8.555541,
8.303845,
8.304787,
8.340709,
8.5549,
8.572004,
8.53202,
9.28375,
9.369379,
9.320817,
10.62754,
10.77151,
10.65216,
12.3499,
12.45517,
12.44857,
14.59549,
14.69974,
14.80169,
17.40659,
17.45169,
17.59738,
20.43175,
20.63275,
20.77564,
67.238,
67.34055,
67.27696,
63.58252,
63.62013,
63.55307,
59.52989,
59.56848,
59.61992,
55.42371,
55.50126,
55.47405,
51.16169,
51.21397,
51.20506,
46.87955,
46.79384,
46.80543,
42.32709,
42.38474,
42.43344,
38.09917,
38.09279,
38.04272,
33.67117,
33.7864,
33.75611,
29.6783,
29.66989,
29.67952,
25.46087,
25.70168,
25.69061,
21.85458,
21.99764,
22.00606,
18.44243,
18.63223,
18.58462,
15.20793,
15.53128,
15.52135,
12.85159,
12.82392,
12.84444,
10.85883,
10.59987,
10.5863,
8.608462,
8.713315,
8.720572,
7.215522,
7.2909,
7.24229,
6.355817,
6.335169,
6.322336,
5.931267,
5.916916,
5.90395,
5.973896,
5.968297,
5.937606,
6.519051,
6.513335,
6.521103,
7.537836,
7.534521,
7.522651,
8.974422,
9.018179,
9.044644,
10.99134,
11.00532,
10.91919,
13.37634,
13.37072,
13.28227,
16.1428,
16.13801,
16.16909,
19.19333,
19.18023,
19.17879};
graph = new TGraph(1362,rdzTIBn_fx28,rdzTIBn_fy28);
graph->SetName("rdzTIBn");
graph->SetTitle("TIB at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(3);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzPXFn_fx29[336] = {
6.090453,
8.553477,
11.42126,
13.88496,
7.249039,
10.16592,
13.09396,
5.988542,
8.448001,
11.31387,
13.79256,
7.127621,
10.02826,
12.98209,
5.880697,
8.34839,
11.21427,
13.68651,
7.051502,
9.972571,
12.90246,
5.80092,
8.27234,
11.15047,
13.63327,
6.976398,
9.906002,
12.83427,
5.758087,
8.236194,
11.1055,
13.57837,
6.946638,
9.87816,
12.80596,
5.760213,
8.226215,
11.09703,
13.5756,
6.929648,
9.859048,
12.7805,
6.690555,
9.170884,
12.02925,
14.51861,
7.863796,
10.7922,
13.72163,
6.636504,
9.112585,
11.98391,
14.44567,
7.806471,
10.74068,
13.67221,
6.553238,
9.015395,
11.88867,
14.35616,
7.728478,
10.64651,
13.57028,
6.454512,
8.922779,
11.79433,
14.26714,
7.631309,
10.55385,
13.47066,
6.335814,
8.801602,
11.66941,
14.14223,
7.498204,
10.42383,
13.35109,
6.208178,
8.676886,
11.54592,
14.01066,
7.383637,
10.30521,
13.2446,
6.108884,
8.567852,
11.43937,
13.91628,
7.276234,
10.20838,
13.1316,
5.975992,
8.455853,
11.31473,
13.79123,
7.167102,
10.08212,
13.00989,
5.868651,
8.350986,
11.22389,
13.70169,
7.05091,
9.984129,
12.9154,
5.785697,
8.274575,
11.14489,
13.61835,
6.976818,
9.901198,
12.83978,
5.737956,
8.221829,
11.09973,
13.57665,
6.919716,
9.847572,
12.77284,
5.740235,
8.197845,
11.06512,
13.54575,
6.910231,
9.840356,
12.77064,
6.683514,
9.170507,
12.04061,
14.50574,
7.864486,
10.79445,
13.72187,
6.633679,
9.117276,
11.97726,
14.45651,
7.815224,
10.73468,
13.67731,
6.554899,
9.0247,
11.89847,
14.37244,
7.744459,
10.67562,
13.59823,
6.475046,
8.952916,
11.8121,
14.29264,
7.647736,
10.57038,
13.49802,
6.357856,
8.816862,
11.68812,
14.1579,
7.503355,
10.42841,
13.36453,
6.227358,
8.687447,
11.56175,
14.04066,
7.399182,
10.31361,
13.25159,
5.81735,
8.285975,
11.16177,
13.62815,
6.9959,
9.939433,
12.86548,
5.906643,
8.367805,
11.23968,
13.71886,
7.085088,
10.01176,
12.95296,
5.9958,
8.475327,
11.34516,
13.81367,
7.197817,
10.12215,
13.03958,
6.12625,
8.596668,
11.46357,
13.94145,
7.296258,
10.22207,
13.14822,
6.238758,
8.708011,
11.57576,
14.06267,
7.447596,
10.36608,
13.2866,
6.365893,
8.821733,
11.70296,
14.17441,
7.564085,
10.4842,
13.4192,
6.476633,
8.958203,
11.83431,
14.30604,
7.687935,
10.61218,
13.53401,
6.58053,
9.043353,
11.92049,
14.40596,
7.77615,
10.70331,
13.62797,
6.662018,
9.118082,
11.98705,
14.47104,
7.825353,
10.75431,
13.6897,
6.683803,
9.181643,
12.0423,
14.53075,
7.879209,
10.80725,
13.73401,
6.695301,
9.192938,
12.06702,
14.53972,
7.903214,
10.8295,
13.76846,
6.709623,
9.159146,
12.03408,
14.51725,
7.880524,
10.80729,
13.74153,
5.826606,
8.298418,
11.17202,
13.65139,
7.024576,
9.945642,
12.87836,
5.909302,
8.379614,
11.24827,
13.73502,
7.112674,
10.02377,
12.96002,
6.007825,
8.455112,
11.3417,
13.81301,
7.209785,
10.12138,
13.05715,
6.119111,
8.591737,
11.45979,
13.94295,
7.324453,
10.24658,
13.16744,
6.256484,
8.710257,
11.57471,
14.05518,
7.439933,
10.3625,
13.29156,
6.327653,
8.812431,
11.6869,
14.15976,
7.558739,
10.47803,
13.4098,
6.47803,
8.951065,
11.82415,
14.30397,
7.673491,
10.5921,
13.51522,
6.56377,
9.03582,
11.90557,
14.37729,
7.756217,
10.68625,
13.6134,
6.637022,
9.108074,
11.97892,
14.4509,
7.82767,
10.75191,
13.68551,
6.671311,
9.161541,
12.0237,
14.48633,
7.882243,
10.80782,
13.74436,
6.688168,
9.168689,
12.04034,
14.50945,
7.896389,
10.823,
13.7501,
6.694081,
9.154744,
12.02198,
14.50744,
7.880587,
10.79385,
13.73415};
Double_t rdzPXFn_fy29[336] = {
-5470.489,
-5532.138,
-5550.871,
-5444.141,
-5444.523,
-5382.488,
-5417.04,
-5476.176,
-5486.974,
-5444.279,
-5384.54,
-5434.49,
-5438.213,
-5383.024,
-5465.437,
-5433.427,
-5413.422,
-5355.624,
-5433.828,
-5387.07,
-5407.908,
-5482.37,
-5457.83,
-5446.708,
-5582.191,
-5478.218,
-5365.691,
-5411.399,
-5537.08,
-5632.689,
-5507.586,
-5419.784,
-5438.135,
-5483.577,
-5376.125,
-5471.321,
-5474.792,
-5480.87,
-5409.262,
-5486.266,
-5448.165,
-5408.615,
-5689.792,
-5484.068,
-5532.167,
-5622.235,
-5510.563,
-5504.156,
-5444.344,
-5587.45,
-5512.7,
-5403.976,
-5385.95,
-5667.206,
-5507.176,
-5316.588,
-5680.742,
-5636.294,
-5480.066,
-5433.861,
-5610.896,
-5529.052,
-5399.828,
-5539.518,
-5530.026,
-5512.146,
-5455.849,
-5577.639,
-5515.469,
-5458.372,
-5551.521,
-5569.979,
-5506.257,
-5434.956,
-5545.797,
-5564.923,
-5493.524,
-5563.161,
-5586.091,
-5522.132,
-5439.243,
-5517.567,
-5505.06,
-5469.204,
-5595.496,
-5485.869,
-5417.549,
-5373.569,
-5527.681,
-5396.864,
-5305.149,
-5732.833,
-5497.693,
-5339.985,
-5325.947,
-5580.623,
-5304.191,
-5330.338,
-5587.967,
-5402.68,
-5304.09,
-5298.055,
-5413.762,
-5263.204,
-5306.547,
-5302.432,
-5520.998,
-5400.778,
-5334.426,
-5502.249,
-5339.026,
-5377.026,
-5715.495,
-5397.361,
-5323.487,
-5380.834,
-5546.399,
-5327.253,
-5355.492,
-6135.272,
-5510.114,
-5414.267,
-5350.746,
-5729.608,
-5407.807,
-5350.747,
-6040.21,
-5992.146,
-5574.739,
-5783.251,
-6054.306,
-5439.954,
-5533.949,
-5797.676,
-5504.271,
-5408.401,
-5578.903,
-5540.251,
-5357.103,
-5378.424,
-5880.56,
-5509.803,
-5541.333,
-5449.618,
-5524.72,
-5307.378,
-5375.796,
-5731.058,
-5587.403,
-5391.415,
-5406.607,
-5598.658,
-5298.108,
-5415.802,
-5728.407,
-5434.063,
-5422.64,
-5460.859,
-5601.303,
-5326.965,
-5418.112,
-5901.749,
-5441.779,
-5450.337,
-5373.818,
-5552.394,
-5311.233,
-5332.79,
-4628.841,
-4765.025,
-4749.385,
-4698.112,
-4621.763,
-4700.261,
-4642.883,
-4875.383,
-4798.266,
-4756.421,
-4675.265,
-4740.004,
-4751.374,
-4678.284,
-4699.8,
-4735.359,
-4742.089,
-4737.784,
-4746.109,
-4719.804,
-4738.056,
-4915.945,
-4813.744,
-4758.835,
-4741.851,
-4732.865,
-4769.134,
-4717.32,
-4830.627,
-4739.725,
-4713.573,
-4834.656,
-4735.605,
-4700.494,
-4733.782,
-4890.822,
-4710.759,
-4646.813,
-4804.085,
-4736.445,
-4695.851,
-4750.551,
-4757.084,
-4769.554,
-4724.578,
-4801.97,
-4732.054,
-4728.287,
-4664.094,
-4766.126,
-4762.308,
-4715.283,
-4800.619,
-4759.753,
-4768.625,
-4623.383,
-4761.343,
-4702.37,
-4754.876,
-4726.198,
-4774.716,
-4644.016,
-4514.384,
-4884.826,
-4782.572,
-4681.232,
-4683.73,
-4786.9,
-4690.61,
-4600.157,
-4755.884,
-4790.511,
-4695.013,
-4640.792,
-4879.398,
-4758.806,
-4597.363,
-4785.443,
-4828.82,
-4655.923,
-4815.042,
-4849.35,
-4698.476,
-4638.65,
-5244.797,
-4694.107,
-4672.593,
-4738.314,
-4672.262,
-4629.039,
-4707.12,
-4761.273,
-4689.122,
-4706.752,
-4762.504,
-4767.998,
-4675.343,
-4743.591,
-4759.381,
-4777.7,
-4661.638,
-4647.304,
-4793.143,
-4628.331,
-4587.837,
-4903.476,
-4680.38,
-4728.698,
-4550.739,
-4808.932,
-4596.901,
-4613.371,
-4812.201,
-4612.197,
-4621.216,
-4575.485,
-4571.534,
-4477.755,
-4642.725,
-3960.298,
-4580.753,
-4631.97,
-4625.215,
-4424.095,
-4496.798,
-4569.006,
-4719.66,
-4526.861,
-4499.393,
-4503.319,
-4647.783,
-4385.761,
-4569.18,
-4621.238,
-4602.927,
-4517.564,
-4561.013,
-4396.932,
-4383.031,
-4544.071,
-4497.054,
-4503.926,
-4490.515,
-4563.419,
-4757.395,
-4548.951,
-4501.984,
-4942.464,
-5152.745,
-4708.047,
-4765.203,
-4682.569,
-4933.987,
-4574.906,
-4722.773,
-5101.864,
-4580.988,
-5091.302,
-4802.493,
-5257.803,
-4514.925,
-4944.359,
-4903.513,
-4875.573,
-4705.136,
-4907.869,
-5188.772,
-4505.595};
graph = new TGraph(336,rdzPXFn_fx29,rdzPXFn_fy29);
graph->SetName("rdzPXFn");
graph->SetTitle("PXF at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(2);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzPXBn_fx30[384] = {
4.523388,
4.52317,
4.524249,
4.521479,
3.998126,
3.994468,
3.992195,
3.991977,
4.435585,
4.434838,
4.434898,
4.436898,
3.942807,
3.940778,
3.942843,
3.947046,
4.444305,
4.436052,
4.436644,
4.440749,
4.312324,
4.313771,
4.318915,
4.31454,
4.75811,
4.761925,
4.763273,
4.761307,
4.237387,
4.239858,
4.240841,
4.239485,
4.653893,
4.65538,
4.659987,
4.659092,
4.114781,
4.114025,
4.113689,
4.11159,
6.988857,
6.983074,
6.982277,
6.981256,
7.427639,
7.429594,
7.426576,
7.427097,
6.916946,
6.917582,
6.914989,
6.915358,
7.367474,
7.370652,
7.369609,
7.370364,
6.876975,
6.874684,
6.874905,
6.876513,
7.343357,
7.344016,
7.342111,
7.342559,
6.85617,
6.858416,
6.862165,
6.865029,
7.343176,
7.356389,
7.35808,
7.359685,
7.229564,
7.237867,
7.24214,
7.243568,
7.693333,
7.696243,
7.694946,
7.695295,
7.191013,
7.190989,
7.19125,
7.188597,
7.640778,
7.640991,
7.641325,
7.641535,
7.138593,
7.139356,
7.138009,
7.135974,
7.583564,
7.58282,
7.58457,
7.580439,
7.066741,
7.069931,
7.072502,
7.070038,
7.50439,
7.504394,
7.504766,
7.504411,
10.34636,
10.35338,
10.35423,
10.35157,
9.847074,
9.856418,
9.862347,
9.86353,
10.30161,
10.31119,
10.3148,
10.31674,
9.81112,
9.81797,
9.822012,
9.822298,
10.25696,
10.26662,
10.27267,
10.27904,
9.764318,
9.773201,
9.779387,
9.784746,
10.22153,
10.23173,
10.23842,
10.2414,
9.74192,
9.745252,
9.749827,
9.753107,
10.20863,
10.21225,
10.217,
10.2167,
9.735202,
9.737864,
9.741851,
9.743299,
10.22537,
10.23409,
10.23655,
10.24051,
10.11043,
10.11898,
10.1159,
10.12761,
10.57327,
10.57789,
10.58095,
10.5846,
10.08545,
10.0875,
10.09213,
10.08854,
10.53817,
10.54051,
10.54425,
10.54413,
10.05151,
10.0551,
10.05916,
10.05584,
10.51002,
10.51735,
10.51805,
10.51804,
10.00886,
10.01786,
10.01935,
10.01981,
10.46348,
10.47108,
10.47628,
10.47463,
9.959049,
9.971454,
9.9735,
9.969586,
10.40823,
10.41316,
10.41422,
10.41482,
9.906322,
9.903372,
9.904457,
9.904022,
3.97253,
3.968499,
3.979288,
3.982541,
4.496637,
4.498002,
4.499488,
4.504639,
4.102874,
4.10461,
4.106209,
4.108986,
4.659471,
4.662348,
4.666219,
4.670468,
4.255382,
4.257733,
4.259912,
4.264576,
4.789244,
4.793248,
4.797941,
4.800062,
4.348695,
4.354811,
4.3568,
4.358887,
4.84142,
4.843462,
4.848947,
4.852821,
4.346394,
4.350457,
4.359069,
4.363251,
4.812494,
4.814049,
4.824813,
4.829914,
6.881552,
6.875665,
6.87279,
6.875049,
7.375898,
7.373158,
7.37143,
7.369489,
6.945179,
6.942906,
6.944047,
6.943983,
7.467673,
7.469808,
7.472659,
7.474256,
7.0355,
7.044884,
7.04871,
7.053627,
7.560314,
7.569069,
7.578969,
7.58568,
7.13222,
7.144273,
7.154913,
7.16013,
7.656566,
7.66398,
7.673357,
7.681336,
7.218051,
7.22267,
7.231678,
7.239929,
7.721584,
7.728761,
7.735266,
7.74194,
7.264625,
7.270168,
7.27698,
7.282127,
7.749779,
7.758799,
7.766613,
7.771516,
7.279943,
7.287104,
7.289318,
7.295003,
7.753432,
7.75799,
7.765097,
7.768568,
7.263604,
7.271805,
7.279478,
7.281749,
7.741324,
7.744734,
7.750391,
7.761096,
9.772173,
9.764093,
9.759162,
9.757502,
10.26086,
10.25781,
10.25417,
10.2542,
9.811219,
9.808495,
9.810629,
9.813954,
10.31278,
10.31837,
10.32011,
10.32464,
9.877657,
9.886162,
9.891336,
9.895005,
10.40609,
10.41189,
10.41599,
10.42184,
9.978406,
9.987317,
9.99341,
10.00007,
10.48605,
10.50016,
10.50859,
10.51601,
10.04098,
10.05675,
10.06784,
10.07195,
10.53794,
10.5502,
10.563,
10.57214,
10.08689,
10.09372,
10.105,
10.11376,
10.58206,
10.59091,
10.59923,
10.6073,
10.12738,
10.14201,
10.15266,
10.1594,
10.62845,
10.63961,
10.65302,
10.65948,
10.17008,
10.17999,
10.18755,
10.19496,
10.64459,
10.65506,
10.66306,
10.67078,
10.16643,
10.1764,
10.18566,
10.19137,
10.63872,
10.6456,
10.65453,
10.66028,
10.15514,
10.15903,
10.16431,
10.16739,
10.61419,
10.61529,
10.62127,
10.62404,
10.11795,
10.1243,
10.12934,
10.14052,
10.58507,
10.60368,
10.61371,
10.62721};
Double_t rdzPXBn_fy30[384] = {
-782.1629,
-711.1111,
-705.4824,
-708.2705,
-813.1655,
-730.8813,
-726.5218,
-728.5539,
-779.4054,
-739.7506,
-741.1602,
-740.6387,
-820.9823,
-761.0514,
-762.4418,
-763.8135,
-818.8147,
-796.7254,
-780.1781,
-778.4278,
-849.847,
-759.2276,
-756.849,
-758.4462,
-795.5216,
-763.2655,
-741.244,
-739.0259,
-789.9383,
-727.7001,
-725.5244,
-725.2791,
-787.9676,
-715.1244,
-703.6789,
-706.2814,
-832.0369,
-715.7064,
-707.7792,
-711.4134,
-688.385,
-657.2178,
-654.9079,
-659.5456,
-675.8297,
-665.9858,
-659.195,
-661.8223,
-673.0995,
-675.9202,
-677.34,
-681.2814,
-694.8937,
-659.0336,
-592.9233,
-682.8196,
-752.6083,
-710.3023,
-712.6564,
-715.1655,
-775.9397,
-744.716,
-732.9738,
-734.9692,
-785.8866,
-767.1364,
-757.388,
-759.3676,
-810.937,
-779.7094,
-777.8246,
-780.6966,
-783.8502,
-750.259,
-740.1604,
-741.9029,
-742.8546,
-733.8898,
-723.3315,
-720.8651,
-734.0734,
-701.8574,
-703.9052,
-702.5332,
-722.6458,
-677.0015,
-680.015,
-679.913,
-681.1877,
-674.9878,
-671.46,
-670.9337,
-679.0074,
-665.1586,
-652.2358,
-654.5433,
-691.2073,
-663.3749,
-654.3129,
-656.559,
-680.9225,
-654.924,
-646.6917,
-649.1912,
-627.6395,
-626.4724,
-525.2287,
-584.5311,
-619.7388,
-611.9137,
-617.7957,
-621.3112,
-616.7463,
-625.5927,
-624.2067,
-610.1619,
-628.1577,
-636.2418,
-642.4954,
-646.3966,
-640.0267,
-651.5436,
-653.3051,
-657.2745,
-695.1016,
-667.0978,
-678.4632,
-679.512,
-707.131,
-700.1467,
-690.1112,
-696.3337,
-747.0098,
-635.3871,
-614.902,
-509.4375,
-768.7912,
-751.7181,
-740.397,
-741.5345,
-781.1714,
-758.5299,
-766.5671,
-764.9439,
-814.8692,
-782.0042,
-781.2278,
-782.2675,
-745.4813,
-740.8096,
-729.4588,
-731.7014,
-731.1848,
-714.8932,
-708.4617,
-711.0803,
-700.4483,
-693.8475,
-689.3254,
-690.8257,
-668.2282,
-668.6861,
-665.8807,
-666.324,
-654.1423,
-649.2949,
-648.7313,
-651.2833,
-633.5676,
-639.2892,
-626.2515,
-628.5898,
-632.3891,
-627.1988,
-619.8932,
-620.3057,
-630.159,
-604.1396,
-603.3088,
-605.7543,
-625.1415,
-615.8855,
-605.9847,
-607.4087,
-593.8669,
-607.998,
-716.5331,
-805.1326,
-612.3959,
-605.3363,
-610.0175,
-608.7983,
-86.8298,
-66.44399,
-55.29491,
-60.46789,
-112.1434,
-77.24256,
-58.41515,
-60.47626,
-149.2733,
-65.06342,
-58.25028,
-57.03707,
-140.2583,
-73.65468,
-57.9197,
-54.99754,
-146.1808,
-77.8988,
-54.90647,
-52.38948,
-157.4895,
-68.09349,
-55.14315,
-53.80366,
-122.7664,
-71.32633,
-56.50667,
-53.16696,
-135.3945,
-68.77016,
-52.97907,
-53.0658,
-115.8479,
-57.27353,
-50.80941,
-50.9479,
-138.2519,
-57.30492,
-43.44304,
-49.7528,
-106.631,
-79.45322,
-61.94515,
-65.6849,
-76.10042,
-72.03703,
-62.54571,
-65.00004,
-88.31583,
-66.86069,
-60.50739,
-64.30302,
-91.58152,
-71.11411,
-65.12515,
-63.66103,
-99.13865,
-59.9829,
-60.34549,
-60.0602,
-74.9614,
-63.91726,
-60.48779,
-57.72392,
-88.41759,
-58.83768,
-58.57358,
-58.11879,
-99.46338,
-63.39746,
-59.58483,
-55.82794,
-112.2395,
-54.16256,
-56.27129,
-56.73737,
-87.0277,
-59.46807,
-58.77294,
-55.48426,
-79.03933,
-58.82274,
-57.6322,
-55.59958,
-76.03156,
-59.63018,
-55.31191,
-54.17111,
-93.2753,
-63.65492,
-52.46001,
-54.7645,
-198.0826,
-47.17363,
-49.98728,
-51.72429,
-64.90082,
-53.21205,
-51.38213,
-50.58813,
-55.88958,
-62.87258,
-44.47884,
-47.58943,
-81.755,
-74.33441,
-65.76212,
-66.47677,
-83.9616,
-73.81527,
-67.39772,
-70.15729,
-85.93185,
-71.646,
-66.85981,
-67.6093,
-69.05296,
-70.73431,
-65.47092,
-68.79229,
-79.5569,
-65.19759,
-66.69519,
-66.3341,
-64.24241,
-70.49832,
-66.61816,
-65.48721,
-68.16308,
-60.72247,
-62.70888,
-62.86712,
-83.1953,
-68.39393,
-60.65209,
-59.77509,
-69.11495,
-62.40354,
-60.78369,
-63.00764,
-63.69439,
-55.97327,
-63.89844,
-59.51322,
-78.17519,
-52.77189,
-56.50207,
-57.06623,
-78.0604,
-67.28397,
-58.42612,
-61.21126,
-78.15675,
-49.45429,
-56.16969,
-56.51999,
-78.99448,
-55.47918,
-56.82641,
-56.12183,
-68.86029,
-53.52751,
-59.63254,
-56.07698,
-69.08483,
-54.19038,
-53.89688,
-55.53166,
-44.90879,
-57.44176,
-52.33212,
-54.42718,
-52.83147,
-57.50594,
-49.72625,
-53.69237,
-54.53255,
-45.96959,
-48.78403,
-50.76198,
-44.67247,
-40.80127,
-49.6622,
-49.44866,
-65.43906,
-46.56035,
-46.25524,
-46.44827,
-54.9183,
-45.32983,
-42.83202,
-46.27171};
graph = new TGraph(384,rdzPXBn_fx30,rdzPXBn_fy30);
graph->SetName("rdzPXBn");
graph->SetTitle("PXB at z<0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTECp_fx31[3200] = {
27.55346,
27.55584,
27.49171,
27.48982,
36.48767,
36.4875,
36.42944,
36.42746,
44.54957,
44.49746,
44.47242,
55.94625,
55.93644,
55.90013,
55.88713,
67.43884,
67.42934,
67.38269,
67.38773,
81.66479,
81.59843,
81.573,
81.55558,
98.85175,
98.75569,
98.7788,
98.76163,
98.68604,
27.42544,
27.43095,
27.43955,
27.44301,
36.34534,
36.34307,
36.35556,
36.35606,
44.37259,
44.37483,
44.38821,
55.8221,
55.82906,
55.82655,
55.83087,
67.31707,
67.31893,
67.32803,
67.32178,
81.51673,
81.50489,
81.51263,
81.52778,
98.67876,
98.66934,
98.72532,
98.68227,
98.68731,
27.54522,
27.54967,
27.62414,
27.62696,
36.47372,
36.47258,
36.54292,
36.54576,
44.53477,
44.52713,
44.6202,
55.9392,
55.96579,
55.99308,
56.0356,
67.4407,
67.45063,
67.49692,
67.49476,
81.62941,
81.6639,
81.69083,
81.72087,
98.78519,
98.83159,
98.82543,
98.87179,
98.87636,
27.75713,
27.76459,
27.85677,
27.85798,
36.68177,
36.67647,
36.77674,
36.77979,
44.73594,
44.79448,
44.85033,
56.14362,
56.18127,
56.23121,
56.25592,
67.67565,
67.67943,
67.73003,
67.73444,
81.82719,
81.87626,
81.91868,
81.94773,
99.00673,
99.05938,
99.05893,
99.06258,
99.13926,
28.01472,
28.01759,
28.0715,
28.07336,
36.93268,
36.93655,
37.00198,
37.00243,
44.95819,
44.98767,
45.02225,
56.39428,
56.42009,
56.45163,
56.47979,
67.92259,
67.91148,
67.94701,
67.98342,
82.08669,
82.14308,
82.12493,
82.15511,
99.22403,
99.3018,
99.30989,
99.3796,
99.22537,
28.12652,
28.13107,
28.09567,
28.10485,
37.04367,
37.04622,
37.02116,
37.02392,
45.07886,
45.06443,
45.03838,
56.534,
56.52183,
56.51091,
56.48537,
68.01673,
68.01453,
67.99279,
67.99776,
82.18998,
82.19839,
82.19577,
82.18123,
99.43266,
99.40329,
99.36575,
99.35888,
99.36211,
28.04077,
28.04225,
27.96612,
27.96915,
36.9521,
36.95531,
36.89323,
36.89311,
45.03077,
44.99285,
44.90375,
56.42929,
56.41452,
56.38845,
56.35188,
67.92369,
67.90764,
67.87646,
67.86958,
82.12525,
82.11961,
82.07271,
82.05046,
99.29345,
99.27952,
99.2686,
99.2443,
99.21221,
27.79698,
27.79925,
27.71065,
27.70883,
36.71254,
36.71085,
36.62307,
36.62547,
44.75266,
44.69523,
44.63813,
56.19341,
56.16778,
56.13051,
56.09348,
67.66873,
67.6716,
67.61845,
67.6208,
81.90503,
81.85797,
81.83432,
81.76681,
99.06437,
99.01394,
99.04601,
98.94438,
99.009,
27.45228,
27.45333,
36.37944,
36.38528,
44.40902,
44.38592,
55.87453,
55.87105,
55.84383,
67.35726,
67.35212,
67.34159,
67.33217,
67.32401,
67.31322,
81.53699,
81.55003,
81.52128,
98.7844,
98.63086,
98.70897,
98.68844,
98.69165,
27.46543,
27.46794,
36.4017,
36.39756,
44.41639,
44.42911,
55.87243,
55.87613,
55.89117,
67.34774,
67.33506,
67.36081,
67.35141,
67.38279,
67.37666,
81.54855,
81.56013,
81.56538,
98.73121,
98.64527,
98.73405,
98.72613,
98.77922,
27.66156,
27.66421,
36.58879,
36.58859,
44.62085,
44.64095,
56.03037,
56.07288,
56.10878,
67.50665,
67.50571,
67.55151,
67.56288,
67.61175,
67.61048,
81.7213,
81.73856,
81.77427,
98.86207,
98.87967,
98.90989,
98.97022,
98.98583,
27.92866,
27.93102,
36.85635,
36.85842,
44.84931,
44.89666,
56.29925,
56.3299,
56.35316,
67.77911,
67.78096,
67.81915,
67.82501,
67.87234,
67.86497,
81.98426,
82.00451,
82.03944,
99.1519,
99.18283,
99.19247,
99.17241,
99.25359,
28.09793,
28.09697,
37.02694,
37.0301,
45.02873,
45.04746,
56.47542,
56.48561,
56.508,
67.96225,
67.95717,
67.97934,
67.96429,
67.99323,
67.98533,
82.16973,
82.15976,
82.1753,
99.28037,
99.42224,
99.34444,
99.39934,
99.33501,
28.07026,
28.06929,
36.99503,
36.99503,
45.02156,
44.98072,
56.50276,
56.46928,
56.45493,
67.98906,
67.99781,
67.95076,
67.94288,
67.93058,
67.92293,
82.16899,
82.13898,
82.12959,
99.32338,
99.34065,
99.30374,
99.34803,
99.3086,
27.87857,
27.88602,
36.8079,
36.81182,
44.84747,
44.79927,
56.32293,
56.28822,
56.24081,
67.83585,
67.82574,
67.77263,
67.75196,
67.7191,
67.71636,
82.02045,
81.95514,
81.92195,
99.17548,
99.17,
99.14935,
99.11122,
99.11107,
27.61687,
27.61891,
36.54826,
36.55096,
44.5785,
44.53619,
56.03684,
56.01971,
55.97597,
67.56292,
67.56942,
67.52143,
67.52567,
67.46708,
67.46187,
81.76299,
81.68958,
81.66978,
98.90988,
98.89663,
98.87016,
98.86715,
98.82175,
27.53,
27.53142,
27.47864,
27.47807,
36.45704,
36.4603,
36.40358,
36.4067,
44.53298,
44.48939,
44.46024,
55.93278,
55.911,
55.90407,
55.88453,
67.41721,
67.41246,
67.38377,
67.38551,
81.603,
81.59622,
81.5639,
81.54678,
98.80228,
98.72037,
98.75439,
98.75626,
98.71965,
27.44182,
27.44355,
27.4549,
27.45347,
36.37268,
36.37141,
36.37608,
36.37846,
44.38491,
44.38323,
44.40445,
55.83656,
55.84542,
55.8494,
55.8533,
67.3373,
67.33748,
67.34259,
67.33964,
81.5237,
81.5302,
81.53159,
81.53331,
98.6851,
98.69279,
98.69351,
98.71755,
98.70985,
27.51639,
27.51914,
27.59986,
27.60438,
36.43968,
36.44022,
36.51659,
36.51521,
44.46387,
44.50578,
44.56294,
55.91162,
55.94436,
55.96812,
56.0067,
67.43341,
67.42191,
67.4817,
67.4832,
81.5989,
81.62811,
81.66033,
81.69565,
98.75771,
98.79121,
98.83273,
98.88547,
98.88805,
27.76459,
27.7642,
27.85889,
27.86155,
36.67849,
36.6795,
36.77615,
36.77612,
44.70261,
44.75669,
44.84708,
56.14405,
56.18274,
56.22245,
56.27317,
67.68027,
67.68089,
67.73587,
67.74018,
81.84344,
81.88572,
81.92175,
81.95886,
99.0015,
99.06261,
99.08523,
99.13245,
99.08072,
27.99637,
27.99778,
28.0486,
28.05542,
36.92478,
36.92732,
36.97789,
36.98271,
44.94316,
44.97155,
45.00262,
56.40143,
56.41316,
56.44562,
56.45625,
67.91945,
67.90624,
67.94075,
67.93392,
82.06546,
82.0851,
82.11109,
82.1184,
99.18143,
99.2535,
99.30493,
99.34507,
99.28395,
28.08986,
28.08554,
28.08003,
28.07919,
37.02391,
37.02546,
37.02824,
37.02597,
45.05543,
45.04647,
45.03375,
56.4963,
56.49969,
56.50153,
56.49292,
67.99577,
67.98988,
67.99348,
67.99178,
82.18198,
82.18912,
82.18229,
82.18198,
99.33315,
99.36721,
99.35899,
99.36508,
99.3455,
28.01027,
28.01915,
27.95028,
27.95032,
36.93676,
36.93964,
36.88106,
36.88061,
45.00867,
44.97596,
44.90121,
56.41559,
56.4018,
56.38384,
56.34809,
67.90154,
67.89075,
67.86586,
67.87137,
82.11465,
82.09388,
82.06928,
82.04446,
99.27701,
99.27953,
99.26481,
99.24081,
99.24419,
27.78293,
27.79035,
27.70977,
27.71006,
36.71042,
36.70763,
36.62116,
36.62194,
44.78776,
44.73413,
44.67547,
56.19687,
56.17605,
56.1219,
56.09022,
67.65614,
67.64046,
67.61118,
67.60101,
81.88267,
81.84394,
81.80798,
81.75751,
99.07687,
99.02726,
99.04128,
98.96331,
98.9515,
27.47686,
27.48189,
36.40612,
36.40554,
44.43292,
44.4219,
55.90693,
55.87826,
55.87917,
67.37815,
67.37068,
67.36536,
67.35685,
67.35921,
67.35427,
81.56099,
81.55326,
81.56554,
98.73756,
98.66753,
98.7191,
98.76124,
98.69305,
27.46969,
27.4708,
36.40307,
36.40652,
44.4157,
44.43497,
55.87963,
55.88377,
55.89865,
67.34463,
67.33995,
67.36716,
67.36439,
67.3876,
67.37516,
81.54419,
81.55798,
81.57311,
98.72771,
98.69842,
98.72805,
98.75291,
98.73256,
27.68733,
27.68929,
36.61083,
36.61864,
44.65077,
44.69581,
56.05819,
56.09124,
56.11424,
67.53483,
67.53725,
67.57381,
67.56005,
67.61916,
67.62645,
81.74617,
81.76573,
81.80222,
98.91286,
98.91292,
98.94846,
98.95065,
98.99206,
27.92143,
27.92141,
36.85614,
36.86129,
44.85302,
44.88823,
56.29776,
56.33496,
56.36125,
67.78175,
67.77705,
67.81838,
67.82236,
67.86568,
67.8698,
81.97354,
82.0078,
82.032,
99.13834,
99.15097,
99.13622,
99.22181,
99.25465,
28.09052,
28.0939,
37.02155,
37.02212,
45.03145,
45.04406,
56.47623,
56.49683,
56.51015,
67.96191,
67.9498,
67.98231,
67.98632,
67.98785,
67.98137,
82.16335,
82.17116,
82.17299,
99.33617,
99.36563,
99.31382,
99.36423,
99.33893,
28.07476,
28.07825,
37.00976,
37.00708,
45.03401,
45.05568,
56.50386,
56.49193,
56.46901,
67.98693,
67.99126,
67.96268,
67.96162,
67.94655,
67.95119,
82.17519,
82.15885,
82.14548,
99.33496,
99.30914,
99.32062,
99.30147,
99.31405,
27.86884,
27.87387,
36.80183,
36.80055,
44.84202,
44.79634,
56.308,
56.27403,
56.24438,
67.79781,
67.79506,
67.75806,
67.76173,
67.71535,
67.71616,
81.99544,
81.96057,
81.91013,
99.15214,
99.13149,
99.14944,
99.13137,
99.06814,
27.60758,
27.60543,
36.53762,
36.54361,
44.57509,
44.53605,
56.05349,
56.02518,
55.97843,
67.55148,
67.539,
67.50031,
67.49261,
67.46432,
67.44862,
81.73104,
81.69195,
81.65215,
98.92523,
98.84484,
98.84436,
98.79687,
98.8786,
27.57271,
27.57422,
27.50379,
27.50246,
36.4939,
36.49517,
36.44106,
36.44217,
44.52184,
44.47927,
44.44314,
55.97281,
55.95618,
55.93154,
55.90763,
67.44921,
67.43753,
67.41408,
67.40628,
81.64989,
81.61169,
81.60298,
81.60114,
98.82684,
98.81089,
98.8388,
98.79322,
98.71803,
27.45678,
27.45911,
27.45696,
27.45797,
36.37992,
36.37611,
36.38529,
36.39043,
44.39341,
44.40667,
44.41173,
55.86246,
55.85252,
55.85386,
55.86929,
67.33583,
67.32229,
67.34495,
67.34836,
81.537,
81.54572,
81.53975,
81.54559,
98.72033,
98.71123,
98.71197,
98.70593,
98.71207,
27.51221,
27.50949,
27.60805,
27.61005,
36.43209,
36.432,
36.52779,
36.52853,
44.48891,
44.54425,
44.59681,
55.90215,
55.94082,
55.97481,
56.0168,
67.41975,
67.41015,
67.47723,
67.46572,
81.58256,
81.61494,
81.65841,
81.70977,
98.76255,
98.81845,
98.80519,
98.86633,
98.89562,
27.74756,
27.74689,
27.84262,
27.84362,
36.68103,
36.68484,
36.7706,
36.77214,
44.69254,
44.7426,
44.79364,
56.14182,
56.17788,
56.22178,
56.26659,
67.66835,
67.66917,
67.72938,
67.73104,
81.83054,
81.87498,
81.90775,
81.93363,
99.01075,
99.05287,
99.09207,
99.10883,
99.14737,
28.00953,
28.00787,
28.07253,
28.07139,
36.93301,
36.93423,
36.99543,
36.99749,
44.98714,
45.01752,
45.05157,
56.40005,
56.43021,
56.45574,
56.47626,
67.92101,
67.93192,
67.95557,
67.94804,
82.07578,
82.11439,
82.12604,
82.15514,
99.24059,
99.31318,
99.31203,
99.30393,
99.29687,
28.10061,
28.09912,
28.09035,
28.08908,
37.02669,
37.03155,
37.01663,
37.01566,
45.08659,
45.07871,
45.04132,
56.50733,
56.50502,
56.49656,
56.48914,
67.98579,
67.98553,
67.98339,
67.98937,
82.17519,
82.17968,
82.18327,
82.16489,
99.38158,
99.34811,
99.31793,
99.33092,
99.35017,
28.02476,
28.02487,
27.9615,
27.95892,
36.94641,
36.95287,
36.88027,
36.87825,
45.0117,
44.98488,
44.93757,
56.42312,
56.40839,
56.37297,
56.34787,
67.9077,
67.89307,
67.8741,
67.86736,
82.11917,
82.08698,
82.06258,
82.03405,
99.29437,
99.27303,
99.29439,
99.23191,
99.23199,
27.80205,
27.80007,
27.7048,
27.70063,
36.7173,
36.7176,
36.62455,
36.62405,
44.75211,
44.68567,
44.63743,
56.21127,
56.16381,
56.12641,
56.08098,
67.66119,
67.66695,
67.61239,
67.60822,
81.89152,
81.85002,
81.81656,
81.76616,
99.06262,
99.03903,
98.99681,
98.98837,
98.94655,
27.46377,
27.46605,
36.39573,
36.4001,
44.4208,
44.40802,
55.88786,
55.87763,
55.87275,
67.36856,
67.36533,
67.36122,
67.36407,
67.35359,
67.3559,
81.55679,
81.54509,
81.54939,
98.7188,
98.69929,
98.70854,
98.75183,
98.70726,
27.47918,
27.48048,
36.40933,
36.40673,
44.42429,
44.481,
55.87485,
55.89326,
55.9108,
67.36075,
67.35347,
67.38154,
67.37234,
67.40425,
67.41412,
81.56072,
81.5644,
81.61093,
98.73251,
98.75031,
98.76389,
98.76029,
98.75671,
27.67122,
27.66941,
36.59874,
36.60139,
44.63164,
44.68542,
56.05306,
56.08004,
56.11324,
67.52092,
67.51755,
67.55695,
67.55485,
67.61358,
67.60995,
81.73824,
81.76478,
81.7881,
98.87422,
98.9157,
98.9295,
98.93574,
98.97704,
27.93948,
27.93784,
36.86613,
36.86549,
44.85228,
44.90255,
56.31076,
56.34613,
56.36382,
67.77917,
67.78615,
67.82901,
67.82568,
67.87672,
67.87319,
81.98612,
82.01369,
82.05734,
99.13839,
99.17458,
99.20647,
99.22414,
99.19571,
28.08939,
28.10344,
37.03408,
37.03493,
45.03616,
45.09728,
56.48922,
56.51254,
56.51491,
67.97226,
67.96756,
67.99446,
67.98888,
68.00761,
68.0021,
82.18439,
82.16581,
82.20348,
99.34073,
99.34393,
99.30971,
99.35318,
99.33949,
28.08483,
28.09123,
37.01363,
37.0139,
45.03891,
45.02107,
56.49755,
56.49135,
56.47767,
67.98367,
67.97461,
67.96909,
67.9556,
67.94118,
67.93713,
82.1864,
82.17445,
82.14612,
99.32649,
99.35825,
99.32185,
99.31233,
99.30425,
27.87302,
27.87521,
36.80136,
36.80408,
44.87912,
44.83344,
56.31732,
56.27884,
56.2334,
67.81101,
67.81189,
67.7616,
67.76615,
67.71022,
67.70091,
81.99055,
81.95025,
81.91378,
99.17822,
99.17902,
99.13255,
99.10384,
99.07531,
27.63034,
27.63131,
36.55475,
36.55641,
44.60726,
44.54395,
56.05698,
56.02626,
55.99353,
67.56514,
67.56563,
67.50674,
67.50456,
67.46535,
67.46149,
81.74111,
81.68547,
81.65746,
98.9297,
98.89559,
98.84789,
98.86337,
98.80864,
36.466,
36.46746,
36.4149,
36.41808,
44.53418,
44.50232,
44.4803,
55.95711,
55.92069,
55.89827,
55.88353,
67.42704,
67.42056,
67.39782,
67.38627,
81.6294,
81.58485,
81.58701,
81.56138,
98.79969,
98.76321,
98.76376,
98.77083,
98.73405,
36.39623,
36.39728,
36.39343,
36.39108,
44.42347,
44.41802,
44.40912,
55.87569,
55.86157,
55.86467,
55.87013,
67.36655,
67.366,
67.36401,
67.36348,
81.56187,
81.55503,
81.55476,
81.55953,
98.72288,
98.73379,
98.72796,
98.75951,
98.75046,
36.4496,
36.45028,
36.53573,
36.53668,
44.51073,
44.51302,
44.6133,
55.91726,
55.94757,
55.99098,
56.03722,
67.45001,
67.43412,
67.49018,
67.48545,
81.60247,
81.63759,
81.68856,
81.72671,
98.76189,
98.80873,
98.82909,
98.85419,
98.90002,
36.69289,
36.69465,
36.78329,
36.78421,
44.7529,
44.7594,
44.8551,
56.15712,
56.19482,
56.22026,
56.26739,
67.68867,
67.70021,
67.74126,
67.74511,
81.85397,
81.88811,
81.93056,
81.96282,
99.01968,
99.09587,
99.1061,
99.09,
99.14269,
36.92589,
36.92956,
36.98014,
36.98199,
44.98967,
44.98667,
45.05793,
56.39138,
56.42174,
56.44266,
56.45472,
67.91482,
67.92175,
67.94933,
67.95911,
82.06646,
82.0878,
82.11957,
82.1336,
99.26472,
99.25357,
99.27255,
99.30434,
99.32998,
37.03896,
37.03884,
37.03547,
37.03315,
45.06032,
45.06483,
45.05282,
56.5146,
56.53193,
56.50193,
56.50512,
68.00335,
68.00784,
68.00526,
68.00191,
82.19701,
82.1893,
82.19449,
82.19505,
99.38847,
99.36236,
99.36424,
99.36268,
99.35319,
36.94692,
36.94589,
36.88119,
36.88321,
44.97898,
44.95341,
44.90132,
56.43837,
56.40903,
56.38131,
56.34824,
67.91,
67.91214,
67.87589,
67.88013,
82.12625,
82.09781,
82.07217,
82.04673,
99.29888,
99.28494,
99.27657,
99.24646,
99.22093,
36.71544,
36.7169,
36.62465,
36.62599,
44.74923,
44.68845,
44.63103,
56.21114,
56.1701,
56.10979,
56.0693,
67.66083,
67.64707,
67.60374,
67.59367,
81.88617,
81.84093,
81.80766,
81.77098,
99.0574,
99.00578,
98.98742,
98.99286,
98.97845,
36.38745,
36.38937,
44.45068,
44.42316,
55.87428,
55.85179,
55.84779,
67.3661,
67.36115,
67.35152,
67.3499,
67.33181,
67.30898,
81.55286,
81.53876,
81.52772,
98.72561,
98.68309,
98.7249,
98.68464,
98.70107,
36.40117,
36.39988,
44.4049,
44.42614,
55.85938,
55.87788,
55.88206,
67.3475,
67.33839,
67.35916,
67.34892,
67.3797,
67.38278,
81.54625,
81.55726,
81.56996,
98.70104,
98.7353,
98.72153,
98.75092,
98.74106,
36.53366,
36.60104,
44.61028,
44.68195,
56.05087,
56.09023,
56.10048,
67.51379,
67.49919,
67.55662,
67.56016,
67.61702,
67.60837,
81.74422,
81.76604,
81.7886,
98.89699,
98.92439,
98.95434,
98.93606,
98.94836,
36.8489,
36.84301,
44.87814,
44.88662,
56.29018,
56.32138,
56.34564,
67.76674,
67.76855,
67.81261,
67.80744,
67.84586,
67.85271,
81.98252,
82.00437,
82.02495,
99.14817,
99.18594,
99.20981,
99.21505,
99.20523,
37.02911,
37.03143,
45.06908,
45.08272,
56.48114,
56.48377,
56.49365,
67.95995,
67.94681,
67.98949,
67.97375,
67.98404,
67.97211,
82.15316,
82.17188,
82.17981,
99.31514,
99.31541,
99.37959,
99.36017,
99.29277,
36.99751,
37.00191,
45.02109,
44.99694,
56.49687,
56.48046,
56.4521,
67.97671,
67.96285,
67.95918,
67.94914,
67.93182,
67.93034,
82.17136,
82.16197,
82.13172,
99.33616,
99.34948,
99.3353,
99.32461,
99.29311,
36.80235,
36.80716,
44.84377,
44.78893,
56.33242,
56.2868,
56.23471,
67.81677,
67.81796,
67.76459,
67.76814,
67.70474,
67.70887,
82.00087,
81.94701,
81.90596,
99.19997,
99.15408,
99.13335,
99.10901,
99.07159,
36.55785,
36.55921,
44.58391,
44.54779,
56.05249,
56.03683,
56.01566,
67.55492,
67.5464,
67.51675,
67.51246,
67.47839,
67.47005,
81.73588,
81.68873,
81.63329,
98.90231,
98.93605,
98.87666,
98.83351,
98.84145,
36.4884,
36.49041,
36.41874,
36.42269,
44.52067,
44.45444,
44.42098,
55.96304,
55.93939,
55.90521,
55.88237,
67.43891,
67.42723,
67.38482,
67.38416,
81.65179,
81.60485,
81.58046,
81.55762,
98.83725,
98.77559,
98.71801,
98.73849,
98.73142,
36.35821,
36.35697,
36.37709,
36.37878,
44.3729,
44.38919,
44.3944,
55.83778,
55.81301,
55.85192,
55.85818,
67.33791,
67.34462,
67.34668,
67.33179,
81.53483,
81.54137,
81.53162,
81.5516,
98.73736,
98.69086,
98.71796,
98.73478,
98.70473,
36.44591,
36.44358,
36.5177,
36.51874,
44.50461,
44.53642,
44.59349,
55.90729,
55.93513,
55.97421,
56.00506,
67.43643,
67.43327,
67.47535,
67.4577,
81.60159,
81.6367,
81.67065,
81.69057,
98.78823,
98.79324,
98.83778,
98.8074,
98.86031,
36.68805,
36.68757,
36.77428,
36.77398,
44.73956,
44.79638,
44.85555,
56.14979,
56.19037,
56.24805,
56.25827,
67.68116,
67.67374,
67.73432,
67.74182,
81.83181,
81.86849,
81.90968,
81.95866,
99.04412,
99.02428,
99.10983,
99.08162,
99.10371,
36.92252,
36.91903,
36.99052,
36.98989,
44.98038,
45.02317,
45.05602,
56.38802,
56.40679,
56.44648,
56.47235,
67.91383,
67.91133,
67.95457,
67.94781,
82.05673,
82.09405,
82.12055,
82.15807,
99.28609,
99.25552,
99.21832,
99.30985,
99.2947,
37.04976,
37.05355,
37.03363,
37.03692,
45.10697,
45.0517,
45.05482,
56.51802,
56.53768,
56.50262,
56.50912,
68.01268,
68.01302,
68.00641,
67.99747,
82.21477,
82.19836,
82.18813,
82.19304,
99.35583,
99.36637,
99.408,
99.39501,
99.36427,
36.93746,
36.93944,
36.89202,
36.8925,
45.01208,
44.9521,
44.95491,
56.4269,
56.39512,
56.3818,
56.3501,
67.91004,
67.89523,
67.87731,
67.8678,
82.11488,
82.10532,
82.07621,
82.05347,
99.28689,
99.28764,
99.27777,
99.23898,
99.22488,
36.71283,
36.71707,
36.62596,
36.62598,
44.73467,
44.69321,
44.63327,
56.2085,
56.16455,
56.12468,
56.08057,
67.67678,
67.67985,
67.6135,
67.60081,
81.88842,
81.84754,
81.81374,
81.77277,
99.08447,
99.00552,
98.96981,
98.9892,
98.92113,
36.37894,
36.3814,
44.40665,
44.38988,
55.86871,
55.85371,
55.84528,
67.36004,
67.3466,
67.34565,
67.32899,
67.31895,
67.31283,
81.55075,
81.51495,
81.54439,
98.66743,
98.70669,
98.67748,
98.67138,
98.73569,
36.40507,
36.40574,
44.458,
44.42956,
55.87029,
55.88354,
55.89483,
67.3448,
67.34762,
67.3722,
67.36726,
67.39227,
67.39494,
81.55802,
81.55311,
81.58897,
98.72388,
98.71017,
98.73492,
98.76126,
98.78512,
36.60621,
36.60078,
44.59946,
44.64221,
56.04442,
56.07824,
56.12138,
67.503,
67.50002,
67.56248,
67.55048,
67.61782,
67.61826,
81.71876,
81.75877,
81.78853,
98.87495,
98.91637,
98.95126,
98.93977,
98.96939,
36.86089,
36.86108,
44.89308,
44.94514,
56.30093,
56.32891,
56.35425,
67.77727,
67.78098,
67.82012,
67.81112,
67.86485,
67.84834,
81.98133,
82.00607,
82.05308,
99.08852,
99.0853,
99.16522,
99.19926,
99.19963,
37.02801,
37.02929,
45.0682,
45.07287,
56.46897,
56.4941,
56.50381,
67.95528,
67.94916,
67.97919,
67.96777,
67.99406,
67.99715,
82.15449,
82.16077,
82.19489,
99.23234,
99.33368,
99.31641,
99.32428,
99.34932,
37.0057,
37.00693,
45.04254,
45.00726,
56.50516,
56.48327,
56.45755,
67.98803,
67.98663,
67.96831,
67.96278,
67.93705,
67.93643,
82.1797,
82.15679,
82.15098,
99.35311,
99.37989,
99.32516,
99.32533,
99.2877,
36.80062,
36.79824,
44.89234,
44.79295,
56.31398,
56.29814,
56.2285,
67.82261,
67.81551,
67.77312,
67.76199,
67.71843,
67.70008,
82.00994,
81.96964,
81.92693,
99.20547,
99.17218,
99.15125,
99.06687,
99.09898,
36.56167,
36.5591,
44.6002,
44.54034,
56.0636,
56.03435,
55.99307,
67.56547,
67.54903,
67.51102,
67.5135,
67.47352,
67.45815,
81.73512,
81.70678,
81.67934,
98.86508,
98.91476,
98.88574,
98.88033,
98.7898,
36.48923,
36.4883,
36.43315,
36.43616,
44.55384,
44.51873,
44.49332,
55.96635,
55.94171,
55.92366,
55.89982,
67.46815,
67.46798,
67.43325,
67.43311,
81.65503,
81.62814,
81.59389,
81.55932,
98.862,
98.84203,
98.82347,
98.80697,
98.79091,
36.38249,
36.38554,
36.38586,
36.39043,
44.40432,
44.40051,
44.40801,
55.86847,
55.87097,
55.8522,
55.87135,
67.35074,
67.34234,
67.35325,
67.34176,
81.53255,
81.53883,
81.536,
81.5573,
98.73615,
98.69958,
98.76881,
98.70393,
98.69994,
36.44138,
36.44854,
36.52488,
36.5101,
44.45324,
44.50204,
44.54937,
55.91388,
55.94949,
55.96544,
56.01479,
67.4344,
67.41756,
67.46416,
67.45536,
81.61786,
81.63126,
81.66167,
81.71023,
98.78729,
98.79856,
98.85083,
98.8203,
98.89523,
36.69684,
36.69629,
36.76072,
36.75846,
44.70629,
44.74538,
44.82387,
56.14766,
56.19053,
56.22708,
56.24932,
67.67101,
67.67634,
67.72659,
67.71931,
81.85409,
81.88801,
81.91589,
81.92337,
99.03789,
99.06444,
99.07304,
99.04921,
99.11295,
36.89737,
36.90254,
36.96618,
36.96656,
44.95658,
45.00537,
45.04363,
56.36464,
56.39778,
56.42224,
56.44327,
67.882,
67.87849,
67.92703,
67.9221,
82.05686,
82.03815,
82.0873,
82.12991,
99.18781,
99.25336,
99.27376,
99.25521,
99.27845,
37.02271,
37.02941,
37.01672,
37.02367,
45.05635,
45.03497,
45.04733,
56.4896,
56.49967,
56.50204,
56.49814,
67.98415,
67.987,
67.99445,
67.97782,
82.17044,
82.18679,
82.16956,
82.1838,
99.36933,
99.30622,
99.35361,
99.40912,
99.37411,
36.94255,
36.93648,
36.88694,
36.89051,
44.95671,
44.97936,
44.94102,
56.41774,
56.38352,
56.38886,
56.35059,
67.89944,
67.87951,
67.8789,
67.87029,
82.10575,
82.08821,
82.05489,
82.05919,
99.26735,
99.26987,
99.27384,
99.22508,
99.2449,
36.73811,
36.74089,
36.62841,
36.63265,
44.81385,
44.70873,
44.68322,
56.2373,
56.17846,
56.12928,
56.08628,
67.68011,
67.66718,
67.60669,
67.59825,
81.93168,
81.85976,
81.81419,
81.7606,
99.09435,
99.08554,
99.02439,
98.98615,
98.95103,
36.39252,
36.38964,
44.41526,
44.40694,
55.88192,
55.87567,
55.85609,
67.36282,
67.36388,
67.36241,
67.36252,
67.33753,
67.34519,
81.56905,
81.52181,
81.54551,
98.70458,
98.63012,
98.72073,
98.74429,
98.71824,
36.41003,
36.41018,
44.42451,
44.42942,
55.85994,
55.88222,
55.88514,
67.35627,
67.33595,
67.36198,
67.36331,
67.39766,
67.37981,
81.55458,
81.56907,
81.58381,
98.75662,
98.73109,
98.74352,
98.75528,
98.76691,
36.59808,
36.60276,
44.62571,
44.67772,
56.06047,
56.08247,
56.10655,
67.52513,
67.50649,
67.56184,
67.55052,
67.60168,
67.6012,
81.73735,
81.77898,
81.78936,
98.90059,
98.89916,
98.93848,
98.96927,
98.93894,
36.84374,
36.84649,
44.87988,
44.91661,
56.28136,
56.31578,
56.35558,
67.75177,
67.75881,
67.80833,
67.80566,
67.84827,
67.8449,
81.94583,
81.97105,
82.0015,
99.10372,
99.14725,
99.2673,
99.0658,
99.15354,
37.03462,
37.01215,
45.01825,
45.04463,
56.47036,
56.47795,
56.49273,
67.94375,
67.95461,
67.97747,
67.97108,
67.99068,
67.96836,
82.1395,
82.16088,
82.17285,
99.30618,
99.28681,
99.32127,
99.34799,
99.36505,
37.00699,
37.00163,
45.02863,
45.01108,
56.48532,
56.47926,
56.46008,
67.98685,
67.96927,
67.96103,
67.96394,
67.94913,
67.95334,
82.18685,
82.15881,
82.15713,
99.36916,
99.34178,
99.32748,
99.31385,
99.31051,
36.81736,
36.82133,
44.85905,
44.81296,
56.33082,
56.29204,
56.26363,
67.83047,
67.8344,
67.78412,
67.79609,
67.73769,
67.73789,
82.00698,
81.96547,
81.94666,
99.20636,
99.18198,
99.18621,
99.13693,
99.05428,
36.5636,
36.55749,
44.59512,
44.55306,
56.06592,
56.03368,
55.996,
67.57704,
67.5546,
67.52402,
67.51434,
67.48087,
67.46014,
81.76921,
81.71964,
81.67974,
98.92463,
98.8898,
98.84364,
98.85349,
98.76901,
44.51645,
44.4912,
44.46674,
55.9695,
55.94645,
55.9318,
55.91866,
67.43986,
67.42132,
67.41473,
67.40768,
81.63254,
81.6323,
81.59427,
81.5974,
98.82911,
98.82253,
98.76231,
98.72282,
98.68751,
44.4648,
44.4655,
44.49082,
55.87845,
55.88635,
55.87516,
55.89565,
67.3671,
67.33728,
67.38876,
67.3779,
81.54912,
81.54831,
81.57494,
81.5838,
98.73668,
98.75853,
98.72629,
98.75212,
98.70329,
44.58503,
44.59445,
44.62132,
55.98508,
55.99873,
56.03527,
56.04888,
67.50442,
67.48605,
67.52122,
67.51661,
81.6768,
81.69485,
81.71744,
81.73632,
98.84283,
98.89941,
98.8612,
98.92912,
98.92467,
44.75849,
44.76447,
44.81165,
56.15381,
56.1771,
56.22273,
56.25444,
67.69324,
67.68005,
67.7336,
67.73116,
81.83382,
81.87547,
81.91241,
81.96291,
98.99519,
99.06649,
99.11258,
99.13235,
99.03786,
44.91253,
44.95392,
44.9809,
56.35613,
56.39789,
56.41461,
56.42398,
67.88518,
67.87745,
67.91099,
67.91783,
82.02309,
82.06161,
82.06213,
82.09332,
99.21222,
99.21051,
99.22417,
99.30534,
99.32063,
45.04075,
45.0291,
45.04423,
56.48633,
56.46407,
56.47241,
56.47459,
67.9873,
67.99207,
67.97578,
67.97127,
82.14256,
82.1697,
82.16331,
82.158,
99.36521,
99.35461,
99.35323,
99.36285,
99.29395,
44.96749,
44.94214,
44.87738,
56.41747,
56.40001,
56.34156,
56.32483,
67.89454,
67.88014,
67.85734,
67.8494,
82.09998,
82.09241,
82.05576,
82.02467,
99.29327,
99.26547,
99.26178,
99.22737,
99.21751,
44.79683,
44.73709,
44.63573,
56.20937,
56.16899,
56.13365,
56.0831,
67.68903,
67.6826,
67.61072,
67.60204,
81.89704,
81.83519,
81.80798,
81.77283,
99.06518,
99.05184,
99.02038,
99.00916,
98.94897,
44.44423,
44.43962,
55.90039,
55.88164,
55.88431,
67.38395,
67.37756,
67.36005,
67.35295,
67.38949,
67.35838,
81.5723,
81.56438,
81.56108,
98.80241,
98.68056,
98.73994,
98.71535,
98.67442,
44.4567,
44.4791,
55.88507,
55.89997,
55.91761,
67.38895,
67.38228,
67.41068,
67.39948,
67.42976,
67.42686,
81.58793,
81.60281,
81.62041,
98.77196,
98.77293,
98.77924,
98.77676,
98.78943,
44.65886,
44.70852,
56.06586,
56.09627,
56.13206,
67.54217,
67.53643,
67.5845,
67.5857,
67.62939,
67.63549,
81.76159,
81.78249,
81.8176,
98.91067,
98.94738,
98.96546,
98.9735,
98.95327,
44.88796,
44.91303,
56.29337,
56.30271,
56.32285,
67.76994,
67.77254,
67.8026,
67.80662,
67.82919,
67.82934,
81.95251,
81.99975,
82.00388,
99.09065,
99.12015,
99.16394,
99.19724,
99.23265,
45.00586,
45.01797,
56.4334,
56.47483,
56.48308,
67.91771,
67.93372,
67.94626,
67.95258,
67.95171,
67.95718,
82.14105,
82.11044,
82.11689,
99.39891,
99.2508,
99.29833,
99.30943,
99.31148,
45.01339,
45.01182,
56.49025,
56.45877,
56.46207,
67.95896,
67.96501,
67.93926,
67.94353,
67.92873,
67.93172,
82.15464,
82.13251,
82.14758,
99.3321,
99.30124,
99.28815,
99.30069,
99.29741,
44.82089,
44.80492,
56.28028,
56.27846,
56.22425,
67.79842,
67.78409,
67.75462,
67.74201,
67.70854,
67.70728,
81.98126,
81.96191,
81.90102,
99.17995,
99.16452,
99.14569,
99.08949,
99.10754,
44.5924,
44.55741,
56.05027,
56.03633,
55.99508,
67.55552,
67.55736,
67.51926,
67.51227,
67.47945,
67.46857,
81.73991,
81.723,
81.68681,
98.87177,
98.89101,
98.86931,
98.82767,
98.81402,
44.58139,
44.50388,
44.48201,
55.99812,
55.94958,
55.91449,
55.91827,
67.45833,
67.45432,
67.42088,
67.42205,
81.65804,
81.64336,
81.58994,
81.58919,
98.80009,
98.78763,
98.78813,
98.77915,
98.78435,
44.43472,
44.47745,
44.45734,
55.9023,
55.90215,
55.91656,
55.89515,
67.38555,
67.39535,
67.39314,
67.39288,
81.57217,
81.59421,
81.5765,
81.6077,
98.77329,
98.82288,
98.74124,
98.79823,
98.79504,
44.5546,
44.61627,
44.63362,
55.9999,
56.01283,
56.02951,
56.03567,
67.50766,
67.50499,
67.52544,
67.52463,
81.69536,
81.69931,
81.71455,
81.74602,
98.87559,
98.88034,
98.87294,
98.91843,
98.94281,
44.73303,
44.7937,
44.82837,
56.18555,
56.20786,
56.2415,
56.27906,
67.69836,
67.69436,
67.73698,
67.74536,
81.86943,
81.91543,
81.89374,
81.96639,
99.07292,
99.09129,
99.0561,
99.11254,
99.15134,
44.92801,
44.96364,
45.00425,
56.38086,
56.394,
56.41508,
56.44359,
67.86709,
67.87311,
67.91689,
67.9222,
82.04304,
82.05349,
82.07447,
82.11175,
99.20271,
99.29342,
99.26805,
99.24023,
99.35974,
45.08385,
45.09811,
45.03805,
56.48253,
56.44579,
56.45906,
56.43693,
67.96152,
67.9597,
67.93848,
67.93546,
82.13367,
82.16248,
82.1277,
82.13072,
99.36479,
99.31145,
99.31048,
99.30962,
99.33311,
44.9552,
44.90443,
44.86118,
56.40551,
56.3721,
56.36127,
56.32271,
67.87712,
67.88683,
67.83555,
67.81942,
82.08487,
82.06645,
82.03152,
82.01418,
99.2482,
99.2321,
99.22716,
99.21435,
99.17653,
44.77525,
44.69233,
44.64016,
56.20924,
56.16534,
56.12535,
56.08609,
67.65739,
67.65559,
67.59844,
67.59248,
81.86848,
81.8326,
81.79279,
81.74821,
99.04749,
99.0152,
98.98504,
98.94338,
98.94993,
44.46841,
44.47306,
55.90578,
55.92751,
55.91877,
67.39872,
67.40276,
67.40582,
67.40924,
67.39748,
67.37273,
81.59226,
81.56187,
81.58961,
98.72455,
98.70328,
98.70563,
98.70912,
98.73196,
44.46379,
44.50569,
55.94267,
55.95455,
55.96301,
67.39523,
67.40743,
67.41909,
67.42686,
67.42733,
67.42241,
81.59493,
81.60696,
81.62438,
98.79093,
98.73764,
98.77955,
98.78282,
98.80699,
44.68577,
44.68508,
56.11777,
56.12246,
56.19045,
67.55061,
67.54116,
67.60044,
67.58776,
67.65075,
67.63596,
81.7707,
81.80038,
81.82839,
98.93623,
98.94408,
98.95881,
98.95737,
98.96503,
44.88641,
44.904,
56.30813,
56.29819,
56.35785,
67.7918,
67.79403,
67.85883,
67.82056,
67.84595,
67.84398,
81.99738,
82.00114,
82.03591,
99.07841,
99.17637,
99.08231,
99.16816,
99.22301,
45.02778,
45.03536,
56.44148,
56.46179,
56.47163,
67.93689,
67.93867,
67.96862,
67.96594,
67.95794,
67.95664,
82.15956,
82.17132,
82.17281,
99.28661,
99.33697,
99.30831,
99.41331,
99.25981,
44.95113,
44.98607,
56.43485,
56.46778,
56.42698,
67.93201,
67.96576,
67.92773,
67.9388,
67.89366,
67.86974,
82.11103,
82.11332,
82.09943,
99.29684,
99.25821,
99.27584,
99.29596,
99.25739,
44.8043,
44.82736,
56.31279,
56.23359,
56.21557,
67.79688,
67.80247,
67.72683,
67.71866,
67.67109,
67.66859,
81.97602,
81.92858,
81.8763,
99.17839,
99.1112,
99.07324,
99.07401,
99.04581,
44.56809,
44.534,
56.05925,
56.02679,
56.01564,
67.53664,
67.53353,
67.49718,
67.49356,
67.46308,
67.4573,
81.72655,
81.71075,
81.68163,
98.90439,
98.8765,
98.89198,
98.81643,
99.03534,
55.99824,
55.89099,
55.91922,
55.9417,
67.44479,
67.44394,
67.3754,
67.37082,
81.60431,
81.66297,
81.57481,
81.60432,
98.79373,
98.79531,
98.75094,
98.74371,
98.80837,
55.91222,
55.91568,
55.92787,
55.91285,
67.46612,
67.44381,
67.43031,
67.47337,
81.59909,
81.62989,
81.56606,
81.63976,
98.7646,
98.74341,
98.79227,
98.82461,
98.80002,
56.01756,
55.94166,
56.13537,
56.08357,
67.50777,
67.52433,
67.53557,
67.54936,
81.66598,
81.70715,
81.74622,
81.7579,
98.88158,
98.88728,
98.90572,
98.9245,
98.93868,
56.22918,
56.25802,
56.24849,
56.28035,
67.73936,
67.70938,
67.76903,
67.77589,
81.86509,
81.88355,
81.94895,
81.96038,
99.06097,
99.15794,
99.09189,
99.21377,
99.09128,
56.38434,
56.3848,
56.38991,
56.49404,
67.88552,
67.8753,
67.88459,
67.91061,
82.07956,
82.08607,
82.0775,
82.10694,
99.35679,
99.22872,
99.25321,
99.33037,
99.31464,
56.47287,
56.49459,
56.44141,
56.68289,
67.97466,
67.95763,
67.94162,
67.93789,
82.16838,
82.15002,
82.16561,
82.16872,
99.36796,
99.29771,
99.44221,
99.34344,
99.32277,
56.40884,
56.34709,
56.38617,
56.34078,
67.86182,
67.87154,
67.8358,
67.82391,
82.08573,
82.04977,
82.01176,
82.00514,
99.27177,
99.2605,
99.22114,
99.23073,
99.19434,
56.18224,
56.13852,
56.14508,
56.0809,
67.67464,
67.67565,
67.58524,
67.58984,
81.87245,
81.83961,
81.76164,
81.75097,
99.0448,
99.00121,
99.0147,
98.98447,
98.92266,
55.91244,
55.91595,
55.89844,
67.40177,
67.42319,
67.4041,
67.38998,
67.39116,
67.39011,
81.5929,
81.57587,
81.58449,
98.78766,
98.81409,
98.64606,
98.70312,
98.83115,
56.00623,
56.09496,
55.96886,
67.43249,
67.44363,
67.44285,
67.47357,
67.4799,
67.49374,
81.62772,
81.65525,
81.67586,
98.82647,
98.79052,
98.84317,
98.83392,
98.86843,
56.13624,
56.10933,
56.1911,
67.55929,
67.57165,
67.59824,
67.60825,
67.62039,
67.65096,
81.77233,
81.79948,
81.81219,
98.94835,
98.95143,
98.95562,
99.02119,
98.9977,
56.29015,
56.32965,
56.36484,
67.78629,
67.77051,
67.83426,
67.81796,
67.88129,
67.86092,
81.9926,
82.02879,
82.06351,
99.21488,
99.18497,
99.1458,
99.2104,
99.03725,
56.37417,
56.48929,
56.40064,
67.94804,
67.95254,
67.91364,
67.91708,
67.92642,
67.92815,
82.10696,
82.09571,
82.12159,
99.28764,
99.32207,
99.24815,
99.30865,
99.26277,
56.49296,
56.48408,
56.48032,
67.96473,
67.98666,
67.96375,
67.96624,
67.919,
67.9271,
82.15018,
82.13766,
82.13344,
99.33624,
99.28422,
99.32906,
99.32646,
99.3079,
56.34991,
56.33505,
56.25392,
67.8001,
67.78778,
67.75464,
67.76038,
67.70579,
67.69202,
81.98373,
81.92168,
81.87344,
99.17802,
99.17364,
99.09695,
99.10591,
99.0548,
56.09859,
56.08,
56.04622,
67.57805,
67.56546,
67.54626,
67.54091,
67.47115,
67.47366,
81.75072,
81.7506,
81.64054,
98.85782,
98.91736,
98.82194,
98.86526,
98.7664};
Double_t rdzTECp_fy31[3200] = {
345.4332,
317.2799,
321.3365,
293.1832,
308.4064,
330.8343,
290.1543,
304.343,
317.5998,
314.7872,
292.6186,
364.7798,
363.9686,
359.8251,
347.1562,
378.4807,
365.7437,
361.8021,
352.1913,
411.5291,
401.6536,
400.9001,
379.6579,
441.2059,
388.0393,
390.5389,
358.8175,
363.525,
314.5572,
291.9745,
288.0435,
265.9181,
295.2958,
332.0694,
269.663,
298.198,
340.7072,
318.9776,
306.4727,
379.5315,
361.9916,
347.1943,
345.526,
408.6249,
390.8478,
410.1809,
388.4354,
418.1116,
424.6149,
427.5331,
409.6374,
417.6134,
438.4979,
416.9837,
479.4142,
426.5132,
375.8836,
348.7997,
339.2972,
315.5699,
321.9071,
349.0716,
323.9521,
302.1362,
352.9126,
349.4688,
339.4156,
369.5503,
384.3467,
379.3665,
372.176,
407.6725,
283.8419,
413.6442,
386.3258,
423.9859,
430.3556,
442.2394,
425.1745,
412.4602,
467.4427,
440.026,
493.7164,
461.5076,
282.8599,
249.5187,
292.7566,
274.5979,
286.7318,
312.9807,
297.1934,
322.5272,
332.8427,
350.0082,
325.9563,
390.5776,
399.5808,
417.1555,
404.8631,
429.6398,
404.0762,
459.6432,
441.8599,
426.9168,
477.1013,
494.6711,
432.4942,
471.114,
517.0256,
468.6559,
462.8861,
412.8306,
271.8701,
243.7937,
270.9407,
249.0444,
281.888,
307.221,
292.8134,
207.5185,
332.4352,
342.1149,
344.1424,
401.2964,
405.9216,
403.5039,
404.4257,
443.8999,
432.8329,
465.4613,
350.6389,
432.8277,
443.0084,
427.1283,
446.9967,
458.3848,
508.8823,
444.9683,
471.2707,
485.1783,
240.3365,
213.7108,
210.0083,
186.9682,
265.3959,
280.1963,
252.7287,
276.8357,
343.8091,
320.831,
315.1796,
409.7354,
413.7007,
394.0091,
387.8977,
446.7152,
428.0239,
444.1709,
429.6764,
478.1198,
467.8078,
474.6557,
474.2416,
476.2545,
474.1396,
447.5899,
510.2829,
467.513,
265.2215,
230.8872,
227.8787,
195.0719,
305.7828,
316.3087,
248.0438,
267.4196,
354.04,
324.7519,
298.9498,
457.1147,
435.1494,
412.6601,
371.6351,
475.2924,
442.7188,
453.6023,
429.4959,
490.265,
480.9987,
474.9129,
428.8074,
426.7935,
475.6445,
454.4664,
477.8334,
449.0852,
282.3326,
264.0975,
301.3518,
275.718,
285.5555,
305.6925,
306.525,
329.5616,
327.0376,
334.9661,
348.185,
372.1423,
381.7575,
384.6266,
394.3232,
423.9476,
405.8711,
435.4487,
418.5195,
421.4074,
427.6803,
446.2742,
438.8688,
421.312,
493.3507,
401.7984,
500.7992,
433.2849,
247.9607,
220.3424,
254.4651,
276.2849,
281.6684,
299.6334,
325.0323,
337.7077,
342.2938,
334.4114,
297.6402,
360.6295,
341.5572,
366.1963,
337.6625,
347.0649,
378.1949,
404.368,
300.5111,
294.287,
297.2418,
379.7146,
296.1906,
296.088,
271.8259,
261.6804,
292.9636,
264.908,
308.5805,
293.2099,
311.556,
326.8765,
342.5708,
333.1076,
343.6767,
329.1773,
367.9832,
331.663,
356.4386,
372.4679,
362.3725,
389.5085,
389.6144,
380.9087,
383.3835,
344.4054,
293.9892,
277.9662,
279.6794,
309.4377,
297.5196,
303.33,
343.2531,
336.1118,
335.6564,
359.5488,
337.1137,
369.0461,
340.509,
375.2764,
353.9077,
405.1141,
412.9222,
398.867,
446.1726,
525.5639,
405.1826,
455.6783,
484.9498,
290.5146,
275.4113,
266.0476,
292.5999,
285.8244,
296.6211,
324.4293,
329.9703,
324.7681,
352.0424,
337.6929,
349.7349,
331.267,
377.5413,
359.2278,
373.0014,
396.7772,
397.6376,
350.2307,
416.0254,
355.9933,
416.895,
352.1463,
259.4797,
242.8474,
261.6721,
277.8472,
309.6959,
302.1054,
352.8506,
355.2805,
326.5835,
399.7675,
372.4513,
406.8188,
366.8398,
377.4509,
339.456,
429.6939,
422.0641,
403.9755,
303.9768,
492.9999,
442.8954,
494.5486,
383.8246,
243.4009,
230.1248,
261.3292,
273.2293,
285.5665,
310.7139,
341.9566,
349.2412,
359.8623,
385.821,
361.4094,
386.2433,
380.9049,
388.488,
368.8049,
423.682,
413.9118,
406.3098,
417.6184,
474.8854,
389.2939,
427.4071,
371.9348,
325.5996,
286.842,
283.9127,
308.9328,
295.0635,
298.4096,
310.0649,
323.4642,
316.286,
339.2384,
329.4783,
338.8977,
327.4636,
354.6406,
344.7271,
339.0017,
388.7134,
402.7702,
442.2899,
486.8005,
460.5461,
492.7473,
411.7542,
298.8656,
284.8275,
264.8929,
294.6443,
282.9574,
275.671,
307.3716,
293.5911,
279.8728,
296.848,
285.4096,
327.5378,
308.3159,
307.8203,
303.7041,
366.2219,
341.5325,
337.0084,
385.3309,
537.2858,
564.8108,
543.7332,
484.7346,
376.1794,
359.8535,
364.826,
345.6002,
338.7667,
362.5683,
322.4996,
335.4679,
354.7512,
338.4384,
330.3072,
375.6117,
370.5261,
355.0938,
359.8185,
378.0231,
382.299,
378.6568,
403.5302,
384.8223,
389.2916,
395.8626,
356.3106,
343.0916,
458.6108,
398.6996,
378.8042,
348.2641,
300.3688,
286.7889,
304.9053,
286.1379,
292.3971,
307.0455,
292.8586,
313.4591,
321.1759,
319.4348,
327.9875,
348.7118,
349.9387,
363.5245,
363.6853,
379.1748,
365.5941,
388.8939,
385.8408,
386.9862,
387.689,
409.5282,
392.2444,
379.7713,
434.6832,
393.1795,
450.8803,
440.5505,
282.6475,
259.3017,
305.5703,
273.9844,
293.67,
315.3405,
302.5822,
334.9335,
335.5833,
343.0517,
347.6455,
364.9654,
383.2701,
385.9211,
398.7153,
414.6096,
394.768,
436.7553,
411.2685,
428.5563,
428.6678,
456.2679,
431.8752,
417.1812,
449.7339,
416.5938,
464.4051,
442.12,
296.9734,
284.0055,
320.1434,
294.3572,
304.5869,
321.3765,
328.3258,
346.9462,
340.3918,
357.6396,
356.6259,
393.1735,
398.0552,
415.6306,
420.8888,
437.9561,
391.8674,
450.639,
431.8649,
436.3796,
460.6237,
495.7412,
475.6752,
457.7629,
516.4908,
488.8728,
493.6332,
440.447,
351.2935,
330.3888,
359.4441,
323.2809,
333.6203,
354.5275,
327.1535,
346.6865,
345.2551,
352.2656,
346.0524,
377.0372,
377.2408,
375.7348,
374.2162,
404.2314,
384.8488,
407.2556,
392.7576,
414.3682,
412.4947,
413.8575,
410.8369,
454.5748,
464.94,
426.4315,
434.8811,
386.8388,
276.2009,
247.9722,
271.2032,
240.2285,
285.8476,
298.5123,
274.8577,
302.0176,
333.2068,
332.5072,
321.0569,
392.8022,
382.2691,
379.8223,
383.9324,
432.6796,
411.3182,
425.4043,
407.2478,
429.6013,
458.1983,
453.1401,
433.6514,
430.1007,
485.2048,
465.0629,
497.3884,
436.1548,
330.996,
305.6638,
326.9942,
299.8347,
321.3484,
340.5727,
328.1543,
344.0202,
340.3163,
351.1568,
355.4154,
398.2184,
402.6479,
404.1183,
406.2731,
415.5595,
409.6126,
438.5768,
415.5405,
444.4917,
448.4996,
460.4172,
443.7629,
422.6021,
455.3542,
458.5897,
471.0511,
427.5734,
344.1329,
317.1237,
356.82,
340.9509,
324.9241,
354.5223,
335.2121,
365.1158,
340.3888,
347.0992,
362.7608,
352.307,
362.6803,
376.9991,
392.6467,
385.1924,
371.6168,
392.8021,
391.8925,
418.051,
407.3867,
414.5364,
451.534,
447.9346,
456.4978,
440.4777,
504.9894,
491.6491,
257.5811,
238.203,
252.1828,
281.0208,
275.4175,
284.8394,
311.4597,
306.7371,
298.0477,
338.3892,
313.6721,
331.3414,
317.6095,
341.1756,
310.6583,
327.232,
326.165,
339.2178,
300.3607,
364.1751,
299.3806,
327.8382,
287.3448,
258.702,
238.409,
255.2719,
281.5197,
273.1469,
302.4777,
293.6688,
313.3877,
327.4888,
337.8376,
304.4189,
355.8829,
327.0408,
371.3385,
333.6457,
358.575,
378.5715,
355.9627,
395.9174,
409.4517,
367.1761,
404.4421,
356.6123,
269.2735,
252.3366,
254.3517,
307.9119,
295.5394,
303.3325,
349.6628,
355.0326,
346.6423,
384.4222,
360.3069,
380.7978,
361.4135,
381.0764,
362.9147,
404.8069,
422.0754,
399.7838,
389.2553,
437.2128,
414.0303,
426.6824,
400.7198,
303.3311,
278.6126,
277.7955,
292.4462,
298.4909,
299.368,
330.0753,
344.3141,
332.8539,
385.0009,
367.4494,
360.2641,
347.2896,
361.9794,
331.4586,
395.8908,
412.799,
397.792,
453.5349,
454.4748,
474.0992,
482.9653,
428.5929,
309.8338,
284.1993,
266.8611,
295.7006,
280.706,
306.5312,
304.4802,
315.9133,
319.7193,
364.5241,
374.7439,
354.3314,
384.2374,
358.0741,
328.3191,
383.4622,
387.5818,
375.1364,
427.2708,
498.0393,
433.1326,
472.1187,
420.7533,
295.8924,
259.7283,
273.2326,
299.1707,
306.4727,
312.8464,
334.0181,
333.2187,
339.7185,
352.8625,
332.1118,
377.3882,
353.8915,
386.6524,
364.9876,
409.4889,
412.382,
401.7264,
474.8365,
487.2409,
449.7133,
469.8195,
439.2185,
282.4323,
263.5086,
293.074,
312.7549,
316.7411,
323.2899,
365.0014,
355.3575,
323.9208,
387.6122,
358.0143,
387.1182,
372.6274,
368.9874,
360.5989,
397.2872,
417.0968,
405.8203,
397.425,
440.1065,
416.9008,
475.2002,
441.1979,
291.0927,
272.4747,
284.7389,
304.2673,
313.0236,
294.1397,
351.3242,
330.3695,
308.1075,
374.9775,
379.2538,
347.5322,
322.9695,
335.8962,
301.8728,
386.6707,
390.5163,
358.6779,
430.4999,
420.8637,
362.6339,
462.5617,
406.4608,
293.9355,
276.8455,
303.3317,
267.4724,
297.2697,
314.9673,
288.1729,
311.3651,
329.5751,
325.7694,
291.2408,
385.2289,
384.5679,
361.047,
347.1577,
404.1147,
390.9959,
401.0918,
376.5298,
404.9673,
391.7344,
390.218,
352.4978,
360.186,
382.9255,
339.1926,
336.5417,
338.6537,
271.8376,
256.7317,
279.5812,
256.9982,
274.6996,
304.3019,
283.7073,
313.9212,
322.7039,
330.7297,
326.4638,
358.7818,
373.7431,
372.2202,
359.4131,
391.8409,
375.2083,
406.7511,
376.5379,
397.0583,
262.5669,
410.5983,
413.7583,
251.1425,
394.7079,
408.4403,
438.3697,
403.4723,
374.6487,
365.6487,
397.8764,
382.1626,
323.2656,
355.7696,
343.1633,
365.4442,
328.1039,
346.101,
346.5744,
358.399,
375.9425,
388.8158,
389.5591,
379.9684,
355.3977,
405.3205,
367.1681,
399.7143,
390.0619,
416.2892,
424.4016,
431.2192,
445.4628,
396.9141,
278.4039,
449.5967,
370.8291,
342.6021,
406.9692,
378.1312,
320.916,
357.3893,
360.2186,
381.5837,
347.5662,
376.715,
392.4887,
359.2993,
393.0216,
396.4059,
422.8722,
397.2162,
411.8565,
431.2614,
401.5016,
409.8289,
418.0521,
460.6466,
458.7408,
445.2507,
505.6608,
491.4667,
484.476,
477.6806,
284.1511,
265.9937,
297.6417,
271.2441,
300.0471,
314.0879,
306.091,
327.3026,
337.6203,
348.4438,
356.8789,
393.5171,
409.7409,
407.7786,
407.7831,
427.1159,
391.4057,
429.3793,
351.7086,
434.8137,
457.3535,
468.6354,
462.5618,
404.8293,
446.474,
429.4821,
497.1353,
481.4413,
398.7275,
384.079,
365.0446,
349.3282,
374.6517,
402.4221,
336.1987,
371.14,
388.8988,
368.9733,
339.0642,
440.7148,
411.1093,
388.9761,
359.2144,
454.9619,
428.8699,
393.2094,
369.8645,
516.271,
476.9642,
445.8173,
414.7337,
548.2039,
579.3533,
512.519,
552.6282,
462.2491,
355.7148,
344.2706,
360.7158,
320.5836,
347.4388,
368.9509,
337.918,
369.0417,
367.3239,
370.6873,
357.3968,
419.4253,
436.6742,
418.7661,
419.8531,
447.1458,
448.829,
450.7839,
432.7835,
472.4163,
473.0661,
473.5417,
467.2626,
454.8013,
507.8486,
482.2409,
514.2327,
448.7841,
266.9214,
241.5888,
260.5347,
235.9672,
297.3036,
320.6445,
279.974,
312.3185,
353.0502,
348.4684,
337.2744,
424.6333,
421.731,
411.788,
401.3428,
457.8239,
433.4166,
464.9769,
443.6198,
474.3581,
466.8984,
470.8437,
472.1348,
442.7533,
463.9798,
416.2206,
472.9524,
461.442,
300.6064,
266.7328,
255.3875,
280.716,
251.1553,
275.0715,
255.3082,
272.556,
276.9899,
275.524,
246.6874,
298.2301,
280.8363,
319.5086,
289.4493,
275.6573,
309.5341,
301.5294,
300.0566,
370.7381,
318.9129,
317.0059,
350.6691,
288.3029,
262.0592,
247.944,
287.7714,
268.2644,
276.9977,
290.0048,
287.4454,
308.5645,
310.2223,
296.4869,
331.6226,
319.4123,
335.3288,
298.8566,
343.7751,
349.8852,
342.3844,
403.3945,
437.3771,
382.8936,
434.9622,
401.017,
280.8697,
262.2551,
269.7628,
301.6574,
290.6578,
314.1654,
336.9959,
344.9604,
343.1322,
373.8942,
341.6925,
376.2154,
367.2049,
379.7032,
379.0877,
380.234,
403.6098,
389.4024,
398.8673,
461.7794,
444.2412,
464.5246,
442.0698,
321.6364,
310.0389,
282.3692,
298.2409,
315.1176,
318.74,
354.6389,
343.7025,
332.2422,
392.1726,
373.3987,
377.1976,
365.139,
364.2668,
374.1804,
409.6234,
399.2191,
383.601,
459.3344,
460.5791,
409.2502,
408.1948,
355.3494,
296.8621,
275.4992,
274.6392,
305.9206,
307.5582,
319.6453,
346.8955,
348.2603,
358.0163,
390.3082,
367.5726,
381.3348,
352.1899,
403.5423,
364.3272,
407.4169,
403.6008,
403.0592,
504.6307,
454.8541,
391.322,
534.8308,
420.2943,
307.4866,
276.662,
292.4559,
329.5325,
321.1199,
342.4499,
366.9757,
385.8608,
373.4387,
376.3612,
362.9367,
415.6903,
402.5705,
401.3006,
394.8935,
429.1732,
452.36,
424.9215,
486.4348,
536.9868,
482.674,
507.0526,
446.5454,
291.4265,
278.3047,
295.361,
330.9095,
321.9228,
321.1503,
369.7298,
363.2902,
347.8761,
411.2617,
393.1074,
404.8163,
385.2902,
397.2156,
376.3175,
425.2125,
422.4394,
413.9088,
448.2397,
475.1992,
437.6551,
495.04,
447.6093,
296.5861,
278.1216,
278.3291,
295.7208,
301.5815,
297.8027,
347.6628,
332.9648,
314.5125,
380.4719,
360.4881,
359.4338,
349.977,
333.9129,
311.7932,
378.8915,
397.0793,
339.9125,
382.894,
438.5648,
417.7205,
358.653,
368.4687,
232.7238,
259.1191,
242.547,
267.1115,
268.7009,
257.8766,
243.3356,
296.5771,
277.7563,
277.5816,
270.7092,
304.1732,
310.2803,
295.9594,
291.8434,
338.4422,
322.1588,
325.6759,
294.5157,
315.9373,
380.9465,
336.4482,
378.5056,
321.5661,
193.9854,
217.1793,
178.5741,
202.3795,
256.9413,
253.2171,
237.8119,
318.8083,
317.8958,
295.1666,
284.1887,
356.1374,
350.9488,
355.6319,
317.7885,
366.2383,
368.3111,
374.5869,
350.7399,
317.5197,
356.2557,
374.2594,
418.9883,
385.77,
178.9175,
193.7211,
203.2393,
238.9483,
231.9712,
277.7387,
275.3139,
333.8313,
355.0341,
362.4153,
366.8199,
424.9828,
380.1166,
449.2628,
414.1637,
411.3085,
461.775,
462.979,
444.5404,
385.4383,
431.7253,
419.3373,
452.6569,
384.7462,
218.6785,
252.5568,
247.7586,
273.8556,
288.0536,
300.8754,
298.6402,
350.7513,
362.5001,
359.4768,
363.0565,
403.0098,
372.4858,
432.6304,
410.1949,
426.3022,
433.7613,
447.6693,
441.494,
408.9268,
456.8279,
457.586,
477.9113,
439.5247,
215.974,
248.3246,
192.875,
227.972,
286.1996,
284.5154,
246.4067,
380.2428,
369.7647,
343.9995,
344.6144,
416.4374,
416.2817,
421.4446,
393.2122,
431.4572,
422.564,
435.829,
419.2287,
393.993,
470.2787,
450.6909,
451.3594,
385.4635,
239.001,
251.5127,
229.6908,
256.0868,
296.5876,
300.7673,
289.1656,
369.6065,
362.2786,
367.1563,
371.7237,
414.98,
390.414,
440.8177,
416.8628,
439.3659,
442.1752,
455.582,
445.8601,
459.0929,
453.9248,
476.3554,
493.2699,
467.1314,
266.7173,
301.5043,
282.3733,
301.5959,
319.8676,
330.0978,
320.4691,
364.6466,
380.3697,
377.7176,
371.1754,
410.5214,
396.1833,
433.9978,
416.7598,
448.613,
461.4688,
457.9775,
443.002,
468.3778,
522.1881,
526.033,
543.2174,
500.2068,
212.9249,
240.845,
221.0779,
236.9427,
275.2349,
294.9152,
267.8468,
344.0686,
364.8183,
359.7597,
340.3083,
428.2261,
417.4013,
417.9845,
391.8983,
431.183,
445.2364,
437.5851,
421.7863,
439.4009,
504.4225,
458.6452,
479.9776,
477.1633,
180.9183,
213.4192,
195.1577,
196.1843,
210.5945,
217.012,
223.7334,
245.4611,
234.7808,
238.8703,
223.6126,
264.4177,
259.9926,
260.2475,
254.6002,
244.7628,
300.363,
335.337,
295.1079,
331.3458,
302.4483,
180.6532,
214.2246,
217.9073,
221.4498,
252.6188,
256.3147,
244.0157,
294.0423,
254.6719,
298.202,
274.8526,
294.7379,
248.0437,
310.9633,
319.9713,
305.4487,
339.7619,
395.1046,
357.711,
400.4677,
391.5507,
307.7538,
225.9719,
260.7468,
242.1416,
308.9179,
311.6947,
296.1343,
343.9831,
326.1259,
335.7792,
324.7877,
362.4546,
357.2609,
355.3637,
388.8069,
368.0408,
374.908,
401.8092,
396.1741,
430.7953,
410.022,
200.8872,
240.8683,
233.1747,
251.7561,
292.5345,
301.2814,
296.0773,
352.3435,
336.3182,
346.6789,
325.3115,
356.9424,
328.2522,
373.6103,
371.2905,
358.8795,
401.3471,
389.9258,
353.0922,
379.8152,
352.2962,
206.2826,
241.6837,
230.1908,
247.0162,
291.9652,
312.7084,
316.5122,
348.9542,
315.0769,
358.6008,
368.365,
366.6193,
347.5452,
358.8914,
388.037,
376.2046,
303.6707,
382.377,
430.8412,
406.8083,
353.3085,
225.4736,
243.4771,
264.6665,
269.9739,
317.6946,
336.4261,
315.1554,
356.8334,
330.4375,
356.6421,
358.6284,
375.9737,
357.0568,
393.3199,
417.726,
417.2927,
429.675,
454.8971,
439.1888,
493.171,
450.5152,
224.5587,
237.3722,
273.5522,
250.806,
324.2626,
319.4991,
308.3556,
371.7431,
359.3891,
357.2104,
355.9943,
346.7085,
340.611,
401.563,
403.3675,
391.7851,
465.1789,
471.2396,
441.3195,
472.1532,
432.0497,
197.6156,
211.0401,
224.2199,
208.8458,
259.621,
240.3457,
224.1858,
325.2344,
316.6945,
295.6528,
303.4399,
287.2227,
312.2493,
356.1562,
363.357,
331.0651,
396.9291,
476.7071,
421.2285,
425.1783,
403.4105,
196.8627,
222.3428,
174.182,
193.8649,
257.5469,
226.2756,
203.0358,
311.0659,
290.419,
263.2347,
241.4057,
336.9737,
334.383,
299.4617,
300.8365,
360.5652,
343.8221,
319.873,
293.289,
293.0485,
375.452,
309.7438,
448.2345,
398.0084,
205.2695,
234.1085,
208.9343,
234.1123,
242.896,
235.2052,
240.0929,
271.9576,
267.5373,
274.2554,
251.0726,
307.9173,
272.0588,
302.22,
302.9816,
291.4633,
291.8595,
313.3947,
315.489,
286.5395,
305.5921,
308.7959,
401.1329,
305.659,
194.7916,
209.7482,
196.0705,
217.2833,
243.5714,
242.3439,
231.5248,
284.6982,
285.1511,
294.2087,
281.8301,
319.9986,
284.5934,
333.4464,
303.2295,
340.9609,
367.1662,
365.3175,
375.2572,
348.965,
393.877,
369.2821,
377.1179,
348.8771,
208.1499,
227.6848,
226.8544,
255.5447,
245.4809,
258.6067,
275.2961,
313.6696,
329.9985,
326.2103,
335.4341,
364.5564,
336.3237,
380.9024,
369.1478,
384.0326,
382.1837,
386.9359,
391.4435,
398.2471,
456.5183,
421.5735,
448.4624,
380.932,
198.8793,
207.7329,
209.655,
228.8837,
249.7258,
266.5013,
270.2053,
337.0549,
341.0733,
338.5,
335.9117,
372.1847,
379.3512,
392.3003,
379.4794,
407.8017,
416.9159,
426.3649,
413.1218,
396.1302,
399.4767,
432.2258,
485.5343,
462.9758,
249.3729,
264.9358,
256.0861,
283.2446,
275.3691,
285.3554,
297.5568,
328.1006,
340.4562,
338.7742,
343.4955,
368.2871,
352.266,
387.4117,
381.615,
419.3733,
401.2802,
415.4512,
415.345,
470.3809,
464.6041,
466.1311,
509.1405,
483.4609,
224.4576,
248.7162,
237.9771,
266.963,
284.4718,
309.6565,
284.6171,
357.7848,
375.7977,
369.7882,
362.942,
419.5308,
405.3447,
432.938,
415.7003,
446.9357,
447.2807,
451.2653,
433.6944,
452.3593,
521.1261,
468.51,
509.5045,
471.2171,
264.9553,
277.0059,
244.2676,
272.7981,
278.892,
280.7218,
277.1544,
317.9756,
316.7535,
315.3535,
308.2654,
342.0121,
295.1715,
358.6258,
346.4246,
377.314,
374.7368,
381.429,
364.1044,
395.1477,
466.5765,
463.6788,
449.9109,
422.8398,
133.1578,
159.0973,
171.9572,
171.46,
212.7304,
217.0086,
202.8281,
244.394,
236.9184,
237.3442,
215.2198,
231.9166,
215.5898,
220.7239,
256.1238,
217.4479,
225.5943,
275.6704,
187.6846,
206.6801,
135.8196,
148.3036,
185.8422,
162.3702,
198.1037,
193.4144,
207.6404,
224.18,
236.2134,
210.119,
253.0366,
214.276,
253.3865,
221.9495,
251.7601,
297.8481,
271.2721,
318.2473,
380.3031,
352.6769,
360.491,
336.9242,
158.8207,
176.2196,
195.4295,
199.8675,
243.4517,
253.5511,
266.2214,
288.437,
248.9091,
300.985,
268.6292,
305.5358,
277.3024,
301.4977,
324.5624,
312.6472,
260.4631,
316.0602,
295.7695,
355.2743,
342.5781,
325.8564,
326.0119,
211.8073,
220.3187,
274.9853,
293.1931,
288.2953,
321.2132,
311.4402,
328.8256,
301.6617,
342.5967,
341.6765,
355.9058,
332.0742,
323.3242,
368.5364,
349.9481,
266.8802,
237.291,
349.2418,
202.1633,
213.6081,
212.0332,
234.3517,
267.0917,
284.9365,
282.0278,
333.544,
289.7487,
339.3749,
329.1501,
347.9997,
358.5276,
354.1622,
368.6571,
373.9146,
407.7339,
396.1078,
385.3685,
420.2366,
387.1813,
194.6468,
239.5052,
258.4055,
254.2533,
300.2932,
315.6714,
294.8577,
351.0331,
329.2157,
334.0544,
331.7696,
354.7648,
339.8141,
383.2463,
387.3594,
385.5547,
420.6707,
432.4657,
432.7816,
501.1076,
447.0078,
196.4856,
230.3558,
238.1534,
236.1586,
301.8287,
285.4716,
273.1102,
338.3272,
321.5494,
331.5774,
317.8491,
327.789,
317.7245,
384.1669,
404.7411,
382.3239,
407.9597,
451.3997,
432.4692,
463.0026,
398.7845,
164.3474,
200.2028,
202.3982,
192.8228,
231.6961,
234.8509,
211.2149,
298.2279,
300.2166,
269.4054,
283.2969,
250.2979,
245.1138,
330.3691,
329.0246,
318.3975,
369.162,
413.5374,
454.1889,
383.0661,
378.2346,
191.8315,
219.1428,
179.0721,
210.504,
214.6833,
202.4891,
197.2562,
246.2238,
232.1363,
222.5017,
210.2882,
285.4108,
285.4142,
280.7073,
280.8626,
297.7038,
278.8269,
259.6089,
228.5996,
275.5056,
271.6996,
267.9406,
264.9836,
261.4503,
155.2224,
185.8927,
132.0325,
154.3126,
210.402,
191.8741,
168.0771,
251.0566,
233.0546,
225.5835,
200.2651,
264.1254,
252.5277,
255.0724,
215.7029,
212.8839,
220.451,
240.1562,
243.6226,
143.8743,
197.7169,
245.7812,
261.3658,
264.9221,
200.1293,
219.3589,
30.2092,
186.9207,
251.0508,
222.5094,
188.4981,
299.8074,
281.4924,
265.9837,
248.7242,
310.0851,
275.1377,
300.0364,
262.7993,
319.2972,
288.2832,
312.8329,
296.8315,
317.2315,
359.3979,
321.9848,
389.1754,
322.1774,
180.2372,
196.1096,
157.743,
182.4648,
230.9947,
232.6784,
224.4938,
305.7453,
311.2395,
292.0404,
286.3129,
363.4956,
327.1736,
373.5845,
302.7783,
359.4729,
366.9347,
369.8544,
359.7128,
384.8193,
384.1957,
427.8329,
423.899,
399.7028,
177.3693,
199.802,
180.5151,
208.4405,
238.2866,
227.2907,
232.2148,
299.6763,
298.6588,
302.1906,
295.9376,
325.4978,
308.0982,
324.5554,
319.211,
365.5423,
361.837,
377.8483,
362.9261,
345.7809,
394.5983,
369.06,
406.6551,
381.8027,
195.211,
207.2652,
196.125,
221.3009,
255.5419,
262.0133,
267.1978,
315.2896,
335.2744,
314.9748,
330.0703,
384.0073,
361.2724,
376.275,
364.985,
441.5056,
419.1392,
431.9328,
409.3953,
455.7379,
456.674,
455.6051,
457.4155,
421.968,
255.4335,
276.335,
237.0649,
255.0677,
287.0677,
272.5783,
260.5088,
344.3576,
324.2236,
330.7281,
308.7718,
376.9591,
359.4173,
359.5406,
358.3248,
399.0247,
404.2545,
411.4441,
385.0227,
495.5398,
516.8539,
505.2839,
503.2473,
477.777,
214.4477,
241.2994,
187.9619,
206.2688,
275.0829,
255.2408,
212.9175,
337.6658,
314.0118,
304.2203,
283.246,
353.0076,
342.1804,
343.8329,
362.3021,
391.9785,
376.4305,
363.7442,
354.2011,
322.9938,
471.4807,
430.1286,
408.5826,
388.3743,
113.9348,
293.226,
139.4608,
141.403,
159.4798,
155.6725,
143.474,
184.2752,
164.1349,
174.1738,
152.0495,
164.473,
152.571,
150.9936,
152.9763,
128.3398,
253.5203,
190.8385,
145.4206,
141.5272,
95.84436,
110.62,
140.2243,
175.3393,
179.9487,
215.3905,
234.3443,
218.2306,
242.4721,
208.4422,
263.2622,
246.0167,
274.7523,
222.2588,
223.8373,
258.3304,
258.4568,
99.59199,
201.778,
194.7515,
233.6938,
198.8363,
120.3791,
157.3097,
159.7365,
171.3424,
207.6006,
208.3943,
223.3495,
243.8878,
217.0267,
253.2318,
242.849,
275.6348,
233.974,
265.1852,
283.6737,
279.3874,
318.4534,
358.4724,
283.2578,
317.1195,
309.9248,
147.9357,
172.6581,
174.1222,
169.2019,
238.3658,
224.0709,
205.8976,
290.241,
263.8386,
269.928,
270.6865,
269.6618,
233.6461,
281.4475,
303.2393,
293.8786,
293.9273,
288.0037,
356.6037,
354.4852,
344.9715,
338.4196,
213.6043,
208.8358,
220.9296,
239.0184,
253.811,
260.3628,
301.0416,
291.5803,
316.6417,
245.5341,
312.758,
249.1285,
333.8704,
341.8048,
366.7451,
256.5235,
499.5618,
495.999,
440.2281,
468.2087,
213.8789,
228.8306,
252.0023,
248.7645,
281.0739,
302.7055,
311.8062,
330.132,
352.565,
342.6025,
325.6686,
344.236,
337.8299,
364.0226,
378.3581,
356.8675,
433.9473,
473.0559,
429.1187,
464.027,
395.2755,
196.7964,
211.7463,
253.4174,
228.3821,
312.054,
318.5874,
254.1933,
349.7716,
331.0049,
325.7797,
319.221,
312.5321,
303.9897,
362.6512,
375.4448,
328.4607,
392.2417,
450.7877,
419.4978,
463.9169,
426.0955,
140.0834,
156.5587,
178.5948,
173.9038,
222.2364,
229.6636,
209.9951,
275.9514,
343.0986,
256.7448,
263.3113,
233.6622,
228.6341,
284.1387,
306.2909,
263.4679,
323.0797,
333.2755,
388.8822,
307.6909,
225.3443,
159.1401,
151.6745,
115.4668,
253.2455,
237.7849,
219.4509,
178.8568,
287.2387,
283.7335,
288.7894,
272.7697,
314.6418,
296.5262,
279.5983,
232.7215,
279.7761,
350.132,
194.0869,
182.7388,
13.49531,
99.32673,
115.8945,
129.6314,
197.0448,
208.0352,
205.9041,
203.6248,
228.5756,
193.6317,
272.0191,
232.8026,
183.2874,
216.7939,
255.4198,
221.1952,
114.4281,
151.9433,
159.1152,
223.5285,
174.8989,
185.909,
178.1182,
162.1125,
203.3829,
187.9654,
165.1333,
157.7907,
226.3244,
208.0077,
210.3257,
177.2094,
230.6528,
210.0139,
238.6837,
235.3489,
251.322,
307.2166,
275.6053,
309.381,
301.5889,
163.6994,
174.8445,
192.9042,
223.6515,
243.3367,
252.976,
258.0793,
269.808,
212.5804,
277.4556,
225.4184,
276.1635,
281.946,
306.3811,
337.8951,
308.9933,
384.9644,
301.5,
309.6223,
390.7068,
235.8549,
225.1659,
211.1696,
286.7116,
279.5883,
284.1897,
276.1077,
331.6039,
325.1911,
322.2683,
310.3638,
317.635,
330.4081,
342.7585,
325.5456,
288.2591,
475.0184,
371.9632,
364.9989,
367.7682,
254.0171,
275.443,
294.3576,
317.5801,
339.8539,
324.13,
325.1891,
391.1829,
402.3227,
384.9664,
361.4692,
426.5537,
428.14,
428.5784,
406.1905,
528.0658,
517.5569,
482.3094,
478.625,
460.5727,
300.3377,
287.6818,
271.6448,
352.5969,
336.4298,
318.0623,
315.0287,
359.1021,
330.4213,
370.526,
335.7397,
374.1522,
387.9262,
363.225,
362.8976,
459.9899,
501.9003,
440.1318,
476.851,
435.2087,
247.1591,
249.1403,
218.565,
307.2986,
294.178,
284.2303,
258.5275,
326.4523,
296.0924,
329.0259,
355.8877,
332.9166,
359.4837,
367.8546,
329.4725,
369.6708,
437.1324,
368.3155,
368.1316,
395.3775,
80.86835,
91.3581,
82.4249,
93.11382,
95.25828,
126.1415,
105.5439,
105.3607,
84.15177,
143.4248,
111.381,
114.0705,
99.42155,
90.19607,
70.11151,
74.56857,
124.9765,
95.29623,
3.532797,
288.5615,
290.4246,
281.1562,
282.8696,
284.7614,
138.2575,
121.7754,
160.4219,
143.9384,
169.7774,
141.8498,
265.3451,
267.7935,
270.5148,
169.7858,
194.4589,
209.4029,
224.85,
196.8573,
114.4162,
118.548,
111.7795,
140.3429,
138.3624,
199.0326,
171.4091,
210.8159,
174.6446,
213.6897,
189.5739,
223.5362,
235.7703,
204.7802,
237.2825,
273.1897,
227.2675,
287.9904,
264.6151,
155.0608,
168.2982,
218.5375,
226.3692,
223.4542,
273.615,
245.9922,
269.7856,
234.8367,
267.3838,
248.6122,
244.8317,
300.4975,
251.7691,
294.5421,
345.2257,
273.1417,
330.3786,
187.8134,
185.4936,
218.6456,
220.2564,
250.308,
253.3497,
291.1332,
250.8492,
300.1676,
287.9603,
298.7178,
283.9169,
299.086,
339.0638,
355.7663,
303.6749,
423.4253,
417.8777,
404.6801,
405.9586,
257.1906,
257.3115,
281.8369,
283.6319,
297.762,
326.0094,
331.505,
318.496,
340.1662,
320.5873,
313.8783,
354.2544,
353.4865,
349.697,
435.0164,
459.6283,
432.4763,
455.9392,
400.9225,
228.5502,
237.6945,
270.8624,
274.4946,
246.5682,
306.4414,
318.3466,
298.6242,
300.4608,
277.2888,
279.1242,
320.0852,
318.6867,
294.5918,
388.7353,
409.7445,
353.8871,
408.9854,
324.4749,
161.5093,
131.3353,
219.6466,
209.9843,
163.1556,
254.5914,
286.3357,
241.0329,
211.7421,
202.9975,
204.0711,
262.3233,
262.3511,
228.3772,
264.0377,
264.3117,
212.9563,
233.0788,
243.8116,
106.8016,
115.3538,
59.61463,
180.7656,
169.5746,
119.3494,
109.4238,
210.487,
210.644,
167.7883,
132.9999,
225.2305,
195.3623,
172.9403,
142.2363,
211.1201,
178.6272,
173.3406,
126.2822,
113.9003,
69.1088,
83.23731,
31.97305,
100.6069,
97.71318,
64.30202,
83.07787,
106.5052,
87.1256,
122.9403,
92.26807,
78.76317,
71.83636,
106.0348,
115.7563,
36.15001,
-32.84066,
6.985118,
71.70458,
59.84834,
60.94076,
76.18958,
79.56211,
119.0017,
102.6719,
99.67268,
296.0352,
202.5196,
168.6384,
221.6145,
189.8699,
195.5559,
228.7794,
264.7722,
275.3234,
209.2028,
234.2816,
233.9442,
265.4298,
251.838,
160.0431,
127.0865,
132.9404,
211.1411,
202.9091,
184.162,
180.8739,
250.8901,
215.4868,
259.7585,
215.8084,
254.4983,
251.889,
274.4933,
254.5851,
215.1533,
206.5903,
214.0652,
247.3598,
309.5307,
198.6263,
200.5998,
208.1182,
227.8145,
249.839,
246.96,
276.8718,
294.2218,
270.1108,
331.1189,
316.9264,
292.9179,
291.8046,
340.6226,
310.5956,
294.3675,
287.9474,
230.6706,
281.3872,
223.2719,
249.1319,
286.4253,
240.4919,
351.9121,
302.4677,
338.1681,
316.0351,
356.5405,
369.97,
346.8178,
348.8035,
409.9194,
408.7578,
421.8619,
402.5276,
479.8458,
449.1962,
478.6453,
468.4006,
444.5506,
259.6046,
248.166,
230.7552,
343.1397,
335.5158,
311.9603,
305.4214,
399.2351,
393.1373,
390.2156,
354.9725,
410.474,
401.6626,
380.6224,
348.2508,
455.5675,
437.2075,
412.3642,
424.9776,
409.8831,
246.851,
219.2331,
185.7589,
262.8981,
267.7784,
249.9001,
227.399,
258.4001,
263.1354,
257.7703,
265.2531,
294.1615,
285.0255,
270.6573,
288.7354,
320.3887,
345.5849,
342.5325,
356.235,
326.7182,
-4.115752,
27.27651,
14.98476,
17.28166,
-4.832948,
52.44496,
40.08765,
33.03778,
49.67073,
23.34502,
12.20602,
4.211727,
30.45801,
-29.27304,
-76.51994,
44.35847,
-51.10481,
-18.52927,
-163.2396,
34.96279,
39.72499,
-23.71047,
42.08873,
36.19812,
17.10466,
5.658714,
44.30194,
46.89201,
84.01918,
65.09438,
46.98883,
64.54686,
102.2109,
79.75848,
79.71181,
123.0378,
134.3632,
138.2606,
84.81874,
48.97236,
35.18173,
74.12374,
74.73546,
97.56191,
68.86893,
125.2165,
87.2164,
143.6522,
96.95412,
162.196,
167.413,
135.9638,
163.5809,
202.6896,
127.6266,
185.2924,
155.5142,
85.1738,
171.5014,
142.2452,
194.1747,
184.239,
182.9796,
130.6367,
334.783,
174.2585,
255.632,
224.0414,
206.0806,
220.6981,
196.0786,
176.2897,
224.9905,
193.6476,
226.3182,
174.3875,
342.3502,
343.7649,
348.5825,
350.0988,
351.463,
259.7029,
262.4481,
270.1009,
234.0903,
287.4271,
288.0384,
363.6263,
365.9149,
367.3595,
224.7897,
404.2,
387.36,
384.3838,
395.8854,
189.2896,
198.7186,
293.5903,
279.9745,
302.4954,
352.87,
394.2234,
358.1717,
368.8562,
359.8038,
360.2665,
386.1544,
397.7417,
373.9644,
332.3272,
424.9938,
398.4518,
418.1011,
368.7311,
134.3965,
265.0034,
248.5801,
247.9404,
263.9582,
313.1505,
296.3701,
321.3567,
315.4091,
278.5083,
258.6761,
284.0744,
326.6213,
277.0455,
290.3185,
345.0544,
294.9948,
300.4995,
227.8937,
94.5266,
104.4831,
178.6004,
171.0757,
121.8064,
221.4819,
206.8369,
176.3358,
162.9125,
147.1563,
136.6316,
208.0012,
188.1936,
155.1345,
282.3427,
232.1206,
166.1087,
235.9775,
70.77684,
164.7471,
92.06518,
-12.17589,
48.24327,
157.0875,
137.2552,
109.8031,
92.71629,
166.7884,
113.119,
113.5867,
2.774485,
119.1079,
96.38239,
14.64977,
113.4637,
35.7787,
-42.0583,
-32.1358,
-93.47089,
-41.73524,
-97.34948,
-103.1495,
-32.5446,
12.31321,
-102.966,
-159.3339,
-110.6383,
-27.06325,
-146.4939,
-194.8849,
-163.7578,
-47.31196,
-51.23349,
-35.41585,
-101.1856,
-134.394,
-12.0381,
-13.69426,
-23.1605,
72.84298,
50.86234,
84.01728,
99.23441,
117.3768,
138.4574,
115.6692,
129.6067,
129.7306,
196.0215,
203.6247,
55.80727,
179.8608,
109.8507,
147.3052,
147.7404,
65.64101,
217.4921,
164.9955,
105.573,
155.1483,
199.8783,
284.0349,
108.8017,
144.3527,
142.9661,
162.6756,
210.5065,
220.3381,
202.9923,
185.1626,
267.2599,
304.9014,
243.558,
302.1298,
278.6303,
236.3036,
322.3223,
302.0165,
262.3753,
117.6647,
231.0279,
204.7273,
219.1292,
186.0399,
230.9083,
289.3456,
359.5305,
396.2958,
324.3433,
314.5793,
413.3427,
374.8918,
359.5644,
378.3967,
427.9673,
450.8994,
378.9848,
458.8095,
474.6793,
552.9352,
467.7464,
240.7519,
173.7699,
230.7823,
318.3857,
370.0866,
353.6135,
356.4981,
363.5239,
407.5722,
415.5483,
343.0861,
336.9585,
370.7286,
353.4365,
323.4048,
384.0774,
352.6617,
259.0838,
254.353,
230.3694,
263.4109,
375.8924,
357.8929,
343.0695,
328.7317,
333.835,
336.444,
386.3204,
304.9092,
298.5694,
270.6647,
311.7093,
302.071,
312.5261,
-90.14888,
-158.1948,
-165.6627,
-96.48257,
-90.98723,
-158.7598,
-149.2986,
-122.537,
-126.1998,
-192.4739,
-176.453,
-162.4849,
-196.1518,
-141.34,
-140.6752,
-180.1204,
-138.2166,
-52.39871,
-142.8472,
-52.14823,
3.832289,
-32.79119,
-47.40691,
-55.95567,
-47.05268,
-99.54764,
-67.9024,
-44.54963,
-46.09976,
-123.6378,
-46.01614,
-21.91638,
23.43779,
-17.67608,
-67.96554,
-87.61696,
-89.29276,
-47.70001,
-87.07383,
4.064709,
-36.53083,
-31.21031,
-93.1677,
7.778315,
-1.199207,
-72.77732,
112.6213,
100.3048,
74.22543,
106.7127,
-29.26636,
327.6366,
331.348,
334.8416,
157.6538,
92.03397,
112.0079,
92.47143,
257.9212,
211.2246,
333.1847,
338.4948,
343.9335,
110.6784,
228.807,
118.4242,
112.4906,
183.8461,
177.0717,
139.8294,
153.095,
171.4961,
161.4248,
246.2975,
226.1564,
237.8289,
219.2141,
176.2475,
249.9462,
264.3581,
240.0445,
303.946,
288.6309,
289.6218,
309.6684,
234.5389,
107.3971,
179.965,
388.5806,
391.6353,
302.7726,
314.6789,
268.553,
284.122,
385.2318,
351.5011,
325.5841,
442.4914,
453.6742,
405.1567,
428.1621,
367.9563,
199.7599,
77.505,
130.145,
288.7441,
286.9197,
294.6607,
278.4922,
253.6386,
248.7637,
279.3492,
320.0618,
293.678,
294.4392,
301.8712,
269.0502,
278.6716,
239.79,
187.1402,
10.08882,
88.07655,
164.5591,
173.4145,
171.4416,
127.8067,
106.7178,
89.32437,
178.5442,
145.1573,
133.6144,
192.6187,
121.4852,
85.9964,
125.4975,
88.62502};
graph = new TGraph(3200,rdzTECp_fx31,rdzTECp_fy31);
graph->SetName("rdzTECp");
graph->SetTitle("TEC at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(7);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTOBp_fx32[2604] = {
59.3151,
59.75829,
58.24118,
58.67993,
59.29279,
59.73839,
58.22366,
58.66062,
59.27739,
59.70834,
58.19576,
58.6369,
62.47055,
62.91405,
61.41713,
61.851,
62.47203,
62.9137,
61.39753,
61.83267,
62.45545,
62.89413,
61.37991,
61.8153,
59.25236,
59.68304,
58.1837,
58.61771,
59.2467,
59.68243,
58.17258,
58.61919,
59.24826,
59.68252,
58.18065,
58.62555,
62.43835,
62.86633,
61.36935,
61.79004,
62.43296,
62.85514,
61.36138,
61.78606,
62.42017,
62.84129,
61.34231,
61.76884,
59.21426,
59.66466,
58.15226,
58.58063,
59.20666,
59.64698,
58.13144,
58.56467,
59.19207,
59.62884,
58.12119,
58.55116,
62.40899,
62.83735,
61.3521,
61.76645,
62.40787,
62.82876,
61.33436,
61.75839,
62.39691,
62.82502,
61.33342,
61.75296,
59.19479,
59.62415,
58.13106,
58.56912,
59.19157,
59.62257,
58.11482,
58.5509,
59.17897,
59.61736,
58.11727,
58.55965,
62.38555,
62.82276,
61.33549,
61.77166,
62.40773,
62.84405,
61.344,
61.78213,
62.41061,
62.84241,
61.35675,
61.78973,
59.19127,
59.62489,
58.13205,
58.58142,
59.22018,
59.65219,
58.15939,
58.5861,
59.22809,
59.65725,
58.17323,
58.61074,
62.43753,
62.86411,
61.38139,
61.80491,
62.45417,
62.87487,
61.38512,
61.81002,
62.46702,
62.88223,
61.40098,
61.82219,
59.24373,
59.66301,
58.19131,
58.60901,
59.26676,
59.6873,
58.21202,
58.62221,
59.2852,
59.70396,
58.23318,
58.6497,
62.47507,
62.90028,
61.42639,
61.84178,
62.49744,
62.9313,
61.434,
61.85443,
62.51661,
62.93757,
61.45302,
61.87738,
59.29823,
59.72889,
58.25251,
58.67125,
59.33709,
59.75718,
58.26649,
58.69458,
59.34952,
59.77122,
58.28806,
58.71045,
62.54667,
62.98591,
61.49025,
61.92606,
62.56667,
62.99799,
61.49847,
61.93438,
62.57661,
63.01426,
61.51222,
61.94225,
59.39915,
59.82047,
58.3314,
58.75394,
59.41187,
59.82938,
58.34426,
58.76938,
59.4209,
59.83628,
58.34933,
58.77538,
62.65622,
63.07545,
61.59177,
62.01141,
62.66798,
63.08493,
61.58527,
62.0177,
62.65375,
63.07665,
61.59434,
62.01825,
59.49133,
59.91666,
58.43121,
58.84755,
59.49533,
59.92328,
58.42447,
58.85047,
59.49267,
59.91672,
58.42748,
58.84645,
62.73272,
63.16111,
61.68336,
62.09808,
62.74796,
63.17314,
61.6825,
62.10549,
62.73472,
63.15786,
61.6636,
62.08238,
59.60386,
60.02481,
58.52612,
58.94559,
59.584,
60.02091,
58.50762,
58.92782,
59.55854,
59.9917,
58.49382,
58.91881,
62.82167,
63.2676,
61.76036,
62.20459,
62.83167,
63.26919,
61.75674,
62.18681,
62.82017,
63.25323,
61.73658,
62.16883,
59.68763,
60.11751,
58.61342,
59.04858,
59.67811,
60.11534,
58.5887,
59.02599,
59.65022,
60.09466,
58.56937,
59.00468,
62.91385,
63.34121,
61.85407,
62.27565,
62.92173,
63.34854,
61.83664,
62.26789,
62.90709,
63.33634,
61.82908,
62.24771,
59.75718,
60.18372,
58.69511,
59.11969,
59.75954,
60.18213,
58.68823,
59.11255,
59.74739,
60.1758,
58.67006,
59.09945,
62.96556,
63.39975,
61.90482,
62.33807,
62.96171,
63.40676,
61.90519,
62.34138,
62.96822,
63.40047,
61.88801,
62.32969,
59.79163,
60.23455,
58.73811,
59.16145,
59.80954,
60.24854,
58.73911,
59.16938,
59.79228,
60.23139,
58.72326,
59.15448,
62.98551,
63.42104,
61.93249,
62.37223,
63.00949,
63.44704,
61.95074,
62.38703,
63.01787,
63.45379,
61.9467,
62.38726,
59.78691,
60.22689,
58.73349,
59.17068,
59.81028,
60.24588,
58.75639,
59.18451,
59.81803,
60.25318,
58.73445,
59.17373,
62.99689,
63.41174,
61.92497,
62.34919,
63.00777,
63.44114,
61.94635,
62.36632,
63.00935,
63.44423,
61.93125,
62.34906,
59.7691,
60.20734,
58.70961,
59.15659,
59.78822,
60.2306,
58.71919,
59.16349,
59.80133,
60.23132,
58.72484,
59.16164,
62.94759,
63.3852,
61.89539,
62.32413,
62.97227,
63.41688,
61.90652,
62.33804,
62.98267,
63.42357,
61.90892,
62.34198,
59.73106,
60.15628,
58.68893,
59.11259,
59.74995,
60.18217,
58.69858,
59.11802,
59.77501,
60.18826,
58.69332,
59.11665,
62.90071,
63.33469,
61.85502,
62.27909,
62.93535,
63.36485,
61.88094,
62.29821,
62.94927,
63.3681,
61.87898,
62.3013,
59.67146,
60.11473,
58.61616,
59.05503,
59.69363,
60.13105,
58.62797,
59.06828,
59.71307,
60.14015,
58.63533,
59.07239,
62.85273,
63.29906,
61.78742,
62.21954,
62.85814,
63.31295,
61.80893,
62.24603,
62.88297,
63.3228,
61.80985,
62.24451,
59.59573,
60.01799,
58.54002,
58.9749,
59.62802,
60.05624,
58.56504,
58.99781,
59.63925,
60.07157,
58.57618,
59.00851,
62.77289,
63.19739,
61.72456,
62.14546,
62.80173,
63.22327,
61.73697,
62.16233,
62.81544,
63.23989,
61.74125,
62.17248,
59.51623,
59.96782,
58.47962,
58.9093,
59.55318,
60.00294,
58.496,
58.93708,
59.57153,
60.0003,
58.49417,
58.93194,
62.68283,
63.10656,
61.64146,
62.06646,
62.73462,
63.1542,
61.66886,
62.08924,
62.75053,
63.16822,
61.68404,
62.10054,
59.45685,
59.87818,
58.40373,
58.82238,
59.48046,
59.90498,
58.40587,
58.83119,
59.46871,
59.89104,
58.39626,
58.81438,
62.6192,
63.0546,
61.54927,
61.98832,
62.63075,
63.05574,
61.54543,
61.98673,
62.62152,
63.05508,
61.55047,
61.98856,
59.38771,
59.81208,
58.32253,
58.74712,
59.39425,
59.81585,
58.32416,
58.75298,
59.39244,
59.80859,
58.31462,
58.73854,
62.5387,
62.98218,
61.47512,
61.90709,
62.54721,
62.98452,
61.473,
61.90738,
62.5382,
62.97479,
61.46309,
61.89521,
67.0932,
66.65745,
68.1623,
67.71846,
67.09824,
66.65433,
68.1677,
67.71971,
67.09422,
66.65036,
68.14925,
67.71324,
70.27283,
69.84325,
71.33204,
70.89892,
70.25578,
69.82266,
71.32125,
70.87859,
70.24003,
69.8092,
71.29939,
70.86988,
67.04962,
66.62748,
68.09805,
67.67477,
67.00929,
66.59494,
68.07432,
67.6495,
66.99928,
66.57832,
68.07034,
67.6405,
70.22712,
69.7876,
71.28532,
70.84361,
70.21461,
69.77448,
71.27953,
70.83199,
70.20065,
69.76272,
71.2644,
70.82224,
67.00967,
66.57119,
68.05428,
67.62298,
66.98939,
66.54599,
68.0404,
67.60724,
66.97147,
66.53793,
68.03758,
67.60423,
70.19576,
69.75874,
71.25496,
70.8142,
70.17178,
69.73572,
71.22743,
70.79876,
70.16231,
69.73117,
71.24368,
70.8029,
66.97813,
66.55234,
68.0295,
67.60085,
66.96007,
66.5383,
68.0193,
67.59785,
66.95367,
66.52449,
68.02872,
67.61477,
70.18434,
69.74713,
71.24714,
70.81065,
70.17902,
69.73469,
71.24484,
70.81108,
70.17968,
69.73882,
71.24681,
70.80972,
66.99023,
66.55428,
68.05553,
67.61505,
66.97643,
66.5452,
68.04532,
67.61156,
66.9753,
66.54631,
68.05343,
67.62186,
70.1771,
69.75522,
71.24779,
70.82388,
70.177,
69.76199,
71.25242,
70.83112,
70.18739,
69.76458,
71.27008,
70.85599,
66.9845,
66.57317,
68.05218,
67.63055,
66.98677,
66.56804,
68.06478,
67.63496,
66.99414,
66.57601,
68.08196,
67.65918,
70.21886,
69.78075,
71.28542,
70.85007,
70.21707,
69.77949,
71.28492,
70.85134,
70.22732,
69.78814,
71.30719,
70.86987,
67.01913,
66.58925,
68.09067,
67.66817,
67.02913,
66.60363,
68.11017,
67.6815,
67.04225,
66.63123,
68.1273,
67.71387,
70.27808,
69.84082,
71.34074,
70.90357,
70.26035,
69.82069,
71.32202,
70.88474,
70.24145,
69.80437,
71.31631,
70.87719,
67.09648,
66.65686,
68.15449,
67.72057,
67.10258,
66.65607,
68.15726,
67.72531,
67.10616,
66.66349,
68.17848,
67.74784,
70.34187,
69.90287,
71.39248,
70.96198,
70.33247,
69.89397,
71.39398,
70.95862,
70.33661,
69.90134,
71.41245,
70.97799,
67.16949,
66.7381,
68.21754,
67.7906,
67.16263,
66.73045,
68.2313,
67.79184,
67.16578,
66.72993,
68.25013,
67.80895,
70.40164,
69.97602,
71.47153,
71.04877,
70.39613,
69.97754,
71.45332,
71.03039,
70.38985,
69.97278,
71.47105,
71.04996,
67.23908,
66.81004,
68.29795,
67.86014,
67.23886,
66.79866,
68.30367,
67.86102,
67.24287,
66.80272,
68.30382,
67.87716,
70.47543,
70.0409,
71.5442,
71.10114,
70.47079,
70.03394,
71.53295,
71.09019,
70.46493,
70.03578,
71.54654,
71.11047,
67.30964,
66.88435,
68.3715,
67.94366,
67.30841,
66.8874,
68.3762,
67.96374,
67.31208,
66.89103,
68.39325,
67.96754,
70.58476,
70.13995,
71.63509,
71.19955,
70.55419,
70.11818,
71.60573,
71.18036,
70.5402,
70.10461,
71.60625,
71.17184,
67.40116,
66.97101,
68.45172,
68.03974,
67.37968,
66.95535,
68.45242,
68.03204,
67.37199,
66.94757,
68.43279,
68.01326,
70.63087,
70.18564,
71.68353,
71.26818,
70.61092,
70.18938,
71.6842,
71.26273,
70.60959,
70.18443,
71.67412,
71.24857,
67.47726,
67.05604,
68.5313,
68.10991,
67.45817,
67.03544,
68.50533,
68.07632,
67.41999,
66.9991,
68.48046,
68.05139,
70.69946,
70.26083,
71.75676,
71.31531,
70.68996,
70.24746,
71.74783,
71.30953,
70.68064,
70.24303,
71.7423,
71.30186,
67.52927,
67.09321,
68.58954,
68.15196,
67.52347,
67.07909,
68.58062,
68.14484,
67.51391,
67.07161,
68.58083,
68.13746,
70.74958,
70.30886,
71.80542,
71.3685,
70.73581,
70.30428,
71.80074,
71.3626,
70.73084,
70.30576,
71.79212,
71.35641,
67.55813,
67.13172,
68.62103,
68.20145,
67.55385,
67.13242,
68.61922,
68.19173,
67.54189,
67.12463,
68.61252,
68.19617,
70.75343,
70.30278,
71.81631,
71.38436,
70.76376,
70.33739,
71.84536,
71.41813,
70.75137,
70.36004,
71.85892,
71.42714,
67.56913,
67.14534,
68.63171,
68.21365,
67.56913,
67.14429,
68.63184,
68.20734,
67.55939,
67.13725,
68.62186,
68.2013,
70.74107,
70.31947,
71.81324,
71.39523,
70.75595,
70.32805,
71.82782,
71.40372,
70.76233,
70.34192,
71.82473,
71.39656,
67.54802,
67.11403,
68.63195,
68.18729,
67.55955,
67.12963,
68.64594,
68.20834,
67.57196,
67.14037,
68.63621,
68.1885,
70.7185,
70.28664,
71.78815,
71.37021,
70.7336,
70.30904,
71.80811,
71.38769,
70.74492,
70.31335,
71.81264,
71.38208,
67.52653,
67.08717,
68.59787,
68.1583,
67.53889,
67.09539,
68.61764,
68.17718,
67.55117,
67.114,
68.61757,
68.17513,
70.70345,
70.26997,
71.77034,
71.34012,
70.71676,
70.28015,
71.79211,
71.35809,
70.72195,
70.28738,
71.78653,
71.34466,
67.4683,
67.04952,
68.54901,
68.12278,
67.48678,
67.06208,
68.55646,
68.13891,
67.49319,
67.08348,
68.56672,
68.14114,
70.64736,
70.21853,
71.71925,
71.28786,
70.64903,
70.23323,
71.73087,
71.30595,
70.65606,
70.23185,
71.73398,
71.31831,
67.41344,
66.98766,
68.48576,
68.06009,
67.43396,
67.00747,
68.50459,
68.08474,
67.44219,
67.02003,
68.50632,
68.08996,
70.58284,
70.16396,
71.65718,
71.23936,
70.58947,
70.17325,
71.67052,
71.2478,
70.60703,
70.17794,
71.6851,
71.26163,
67.34708,
66.92001,
68.42423,
67.99605,
67.36416,
66.92966,
68.45145,
68.00891,
67.39307,
66.94678,
68.45644,
68.02076,
70.51431,
70.09064,
71.583,
71.16611,
70.52934,
70.09583,
71.60412,
71.1817,
70.53082,
70.11163,
71.59819,
71.18004,
67.29453,
66.8569,
68.36793,
67.92842,
67.29897,
66.86529,
68.36983,
67.94624,
67.31464,
66.87839,
68.38402,
67.94633,
70.45649,
70.02831,
71.51969,
71.09116,
70.45686,
70.0276,
71.52242,
71.09237,
70.46054,
70.0295,
71.53055,
71.09845,
67.21173,
66.78838,
68.28172,
67.84047,
67.21419,
66.79131,
68.28777,
67.85497,
67.22212,
66.79848,
68.29494,
67.86623,
70.37431,
69.94441,
71.43295,
71.01181,
70.36246,
69.94573,
71.44002,
71.01272,
70.373,
69.95006,
71.45062,
71.02173,
67.14854,
66.71907,
68.21546,
67.79401,
67.14074,
66.71913,
68.21649,
67.79144,
67.14747,
66.71972,
68.19966,
67.77432,
70.33055,
69.88269,
71.37737,
70.94353,
70.31481,
69.87519,
71.3756,
70.94276,
70.30727,
69.87443,
71.37189,
70.93552,
79.69516,
79.06824,
79.68753,
79.06263,
79.6743,
79.05277,
76.47608,
75.84964,
76.47589,
75.85,
76.46095,
75.83421,
79.63995,
79.02878,
79.64584,
79.0145,
79.63805,
79.00892,
76.43065,
75.80563,
76.43427,
75.80458,
76.41832,
75.7923,
79.62681,
78.97981,
79.63132,
78.99043,
79.6332,
78.98138,
76.41492,
75.78471,
76.41045,
75.78293,
76.40686,
75.7704,
79.6039,
78.98157,
79.60889,
78.97538,
79.59904,
78.97581,
76.39417,
75.77566,
76.40285,
75.77929,
76.40016,
75.78097,
79.59995,
78.99245,
79.61039,
78.99001,
79.60518,
78.99033,
76.40815,
75.78896,
76.41738,
75.78744,
76.41355,
75.79555,
79.62172,
79.00819,
79.63203,
79.00222,
79.63332,
79.00905,
76.41926,
75.81335,
76.43527,
75.81995,
76.44199,
75.83225,
79.64401,
79.0197,
79.66436,
79.03023,
79.66718,
79.04996,
76.4744,
75.86235,
76.48,
75.85698,
76.49033,
75.87007,
79.68854,
79.07545,
79.70224,
79.07919,
79.71114,
79.0883,
76.50648,
75.88189,
76.53385,
75.89225,
76.5416,
75.90681,
79.73705,
79.12286,
79.76247,
79.13692,
79.76361,
79.15315,
76.57376,
75.95595,
76.57858,
75.95605,
76.59378,
75.96589,
79.80747,
79.18167,
79.82291,
79.18237,
79.82674,
79.19961,
76.66477,
76.02316,
76.66946,
76.01582,
76.66527,
76.01305,
79.88206,
79.25645,
79.89021,
79.25497,
79.88575,
79.25877,
76.73825,
76.08577,
76.73911,
76.0787,
76.728,
76.0719,
79.94817,
79.32412,
79.9621,
79.32578,
79.94653,
79.32165,
76.78825,
76.1463,
76.79523,
76.13721,
76.79339,
76.12779,
80.01085,
79.38583,
80.00626,
79.37695,
80.00436,
79.3681,
76.85794,
76.21136,
76.84602,
76.20763,
76.85097,
76.19432,
80.0829,
79.43159,
80.08692,
79.42643,
80.07915,
79.41988,
76.90047,
76.26958,
76.90065,
76.2658,
76.90427,
76.26221,
80.12175,
79.46704,
80.14404,
79.46882,
80.12812,
79.47189,
76.9538,
76.30618,
76.96053,
76.30951,
76.95899,
76.29885,
80.15851,
79.53126,
80.14771,
79.51971,
80.12322,
79.4828,
76.96587,
76.35957,
76.98573,
76.35416,
76.98318,
76.33998,
80.18448,
79.543,
80.20343,
79.5416,
80.19766,
79.53767,
76.97457,
76.35103,
76.99882,
76.3645,
77.0062,
76.36614,
80.17356,
79.55261,
80.19373,
79.55376,
80.20138,
79.54401,
76.98056,
76.3705,
77.00024,
76.37617,
77.00056,
76.3616,
80.16409,
79.54503,
80.18645,
79.54538,
80.18771,
79.54288,
76.95187,
76.31741,
76.98043,
76.3416,
76.9922,
76.33205,
80.11933,
79.51686,
80.1542,
79.5219,
80.16743,
79.52443,
76.9162,
76.30349,
76.94527,
76.31502,
76.95309,
76.31475,
80.08956,
79.4758,
80.11809,
79.48972,
80.12528,
79.49784,
76.87749,
76.24204,
76.90935,
76.25928,
76.91713,
76.26097,
80.03428,
79.43042,
80.06313,
79.44476,
80.07661,
79.4366,
76.8217,
76.19459,
76.85879,
76.21178,
76.86697,
76.2056,
79.99086,
79.35667,
80.01629,
79.37189,
80.01685,
79.37691,
76.74438,
76.1451,
76.78392,
76.162,
76.78962,
76.1569,
79.91489,
79.30161,
79.94178,
79.31944,
79.9423,
79.31026,
76.70496,
76.0816,
76.71238,
76.0858,
76.71513,
76.08622,
79.84749,
79.23708,
79.87272,
79.2456,
79.87402,
79.23753,
76.62391,
76.00767,
76.64754,
76.02694,
76.64935,
76.02617,
79.8102,
79.1687,
79.82053,
79.16247,
79.81844,
79.16857,
76.56207,
75.9584,
76.57739,
75.96463,
76.57699,
75.93649,
79.73996,
79.10822,
79.74609,
79.11415,
79.73554,
79.10359,
76.51911,
75.89034,
76.51962,
75.8907,
76.50561,
75.87472,
84.68974,
85.33762,
84.65878,
85.31239,
84.66035,
85.3092,
87.8593,
88.48824,
87.84438,
88.47451,
87.84055,
88.48103,
84.64172,
85.28766,
84.6241,
85.27142,
84.61897,
85.27226,
87.82114,
88.45204,
87.81532,
88.44398,
87.80445,
88.44177,
84.59529,
85.2496,
84.59007,
85.24182,
84.58976,
85.23472,
87.79962,
88.42764,
87.77766,
88.42546,
87.7739,
88.42176,
84.59091,
85.23133,
84.56874,
85.2256,
84.57083,
85.21243,
87.7851,
88.42155,
87.76478,
88.4155,
87.76166,
88.43005,
84.57825,
85.22273,
84.56773,
85.21165,
84.56139,
85.21751,
87.79218,
88.40761,
87.77219,
88.41806,
87.77661,
88.414,
84.57758,
85.22135,
84.57034,
85.21631,
84.5639,
85.22071,
87.78235,
88.42967,
87.77891,
88.43077,
87.77784,
88.43024,
84.59609,
85.24344,
84.58763,
85.23785,
84.58314,
85.24844,
87.81979,
88.47359,
87.82327,
88.47713,
87.82677,
88.48054,
84.6358,
85.28958,
84.63928,
85.29309,
84.64273,
85.2965,
87.85442,
88.50818,
87.85785,
88.51163,
87.86125,
88.51498,
84.67545,
85.32917,
84.67877,
85.33251,
84.68211,
85.33579,
87.89864,
88.55228,
87.90183,
88.55551,
87.90504,
88.55865,
84.72377,
85.37733,
84.72682,
85.38041,
84.72987,
85.38339,
87.95052,
88.604,
87.95339,
88.60686,
87.95624,
88.60967,
84.77868,
85.43204,
84.78128,
85.43467,
84.78395,
85.43724,
87.99276,
88.63397,
87.98706,
88.64044,
87.98913,
88.64365,
84.82185,
85.45113,
84.82617,
85.44578,
84.82413,
85.46275,
88.06728,
88.68472,
88.06331,
88.6924,
88.06348,
88.70379,
84.89798,
85.5183,
84.88834,
85.523,
84.8792,
85.52322,
88.12079,
88.73518,
88.11712,
88.73973,
88.12291,
88.74101,
84.94418,
85.58906,
84.93594,
85.58345,
84.92685,
85.57335,
88.17983,
88.79887,
88.16782,
88.78977,
88.15627,
88.79544,
85.01296,
85.63934,
85.00049,
85.6304,
84.99412,
85.63018,
88.23162,
88.86504,
88.21212,
88.86317,
88.20689,
88.84595,
85.05902,
85.69402,
85.04408,
85.68499,
85.02242,
85.67831,
88.26009,
88.91259,
88.26907,
88.90545,
88.26302,
88.90528,
85.09082,
85.73285,
85.0799,
85.73751,
85.07614,
85.72041,
88.31394,
88.93799,
88.31224,
88.94052,
88.29975,
88.92736,
85.12345,
85.7665,
85.1175,
85.76494,
85.11723,
85.75704,
88.33222,
88.97897,
88.31545,
88.97304,
88.31892,
88.95939,
85.1541,
85.77998,
85.1551,
85.78161,
85.14845,
85.77681,
88.34753,
88.97531,
88.3581,
88.97739,
88.3521,
88.97203,
85.14658,
85.80064,
85.14729,
85.8026,
85.14886,
85.79301,
88.349,
88.98849,
88.34334,
88.99726,
88.33746,
88.98215,
85.15074,
85.79038,
85.14085,
85.78899,
85.13096,
85.77254,
88.32914,
88.97865,
88.3339,
88.9872,
88.33328,
88.984,
85.14471,
85.78291,
85.12405,
85.78898,
85.13461,
85.79681,
88.31511,
88.94901,
88.31591,
88.96278,
88.32438,
88.96255,
85.08618,
85.74437,
85.09859,
85.75193,
85.10706,
85.75938,
88.27354,
88.92078,
88.2742,
88.93162,
88.28199,
88.93071,
85.05671,
85.69672,
85.06474,
85.71005,
85.07999,
85.71281,
88.23903,
88.87585,
88.23394,
88.88122,
88.24132,
88.8769,
85.01347,
85.663,
85.01397,
85.6698,
85.01544,
85.66715,
88.17422,
88.82389,
88.18696,
88.83464,
88.19766,
88.83545,
84.96026,
85.60213,
84.95684,
85.61588,
84.96318,
85.60036,
88.12045,
88.77257,
88.12158,
88.77554,
88.11942,
88.7748,
84.8979,
85.5462,
84.89485,
85.5472,
84.90362,
85.54562,
88.07073,
88.69998,
88.06955,
88.70369,
88.07271,
88.69624,
84.85036,
85.47809,
84.83693,
85.4753,
84.83908,
85.47763,
88.01382,
88.64693,
88.00112,
88.64697,
88.00328,
88.63743,
84.7837,
85.42789,
84.77719,
85.42361,
84.77139,
85.4164,
87.95545,
88.57855,
87.94613,
88.57676,
87.94741,
88.57471,
84.72958,
85.36276,
84.72959,
85.34991,
84.72411,
85.35402,
87.90099,
88.53163,
87.90038,
88.51754,
87.89073,
88.51851,
98.1958,
97.57458,
98.20765,
97.57246,
98.1986,
97.55889,
94.97145,
94.35181,
94.98315,
94.34831,
94.97523,
94.35065,
98.16497,
97.52502,
98.1694,
97.51048,
98.16577,
97.51788,
94.93436,
94.30623,
94.94554,
94.31712,
94.94058,
94.30032,
98.15882,
97.49471,
98.15549,
97.49734,
98.15118,
97.48978,
94.92453,
94.28285,
94.93538,
94.27853,
94.9319,
94.2612,
98.11894,
97.47386,
98.13186,
97.47083,
98.12511,
97.4779,
94.90819,
94.27216,
94.9043,
94.28087,
94.90965,
94.27366,
98.10862,
97.47249,
98.11163,
97.46788,
98.10835,
97.46799,
94.91045,
94.26044,
94.93963,
94.26772,
94.92713,
94.26973,
98.09334,
97.4846,
98.10597,
97.4778,
98.11353,
97.48191,
94.91502,
94.27695,
94.92782,
94.27639,
94.93468,
94.27886,
98.12061,
97.47719,
98.1277,
97.47168,
98.12833,
97.46857,
94.92593,
94.29096,
94.93966,
94.28804,
94.94848,
94.30035,
98.14703,
97.4972,
98.16164,
97.49474,
98.15723,
97.50068,
94.94828,
94.30128,
94.97317,
94.30991,
94.97021,
94.31872,
98.16896,
97.52019,
98.17786,
97.52774,
98.1824,
97.53536,
94.98648,
94.34895,
95.00046,
94.34998,
94.99419,
94.36201,
98.19645,
97.5728,
98.20573,
97.57784,
98.20675,
97.58151,
95.02062,
94.4102,
95.04153,
94.3979,
95.04821,
94.40329,
98.2287,
97.62502,
98.25652,
97.63685,
98.27859,
97.65103,
95.06554,
94.46127,
95.08576,
94.44784,
95.09082,
94.4608,
98.29311,
97.6714,
98.31263,
97.66079,
98.3112,
97.67461,
95.12949,
94.49265,
95.13286,
94.50658,
95.14034,
94.50212,
98.34848,
97.72099,
98.35996,
97.71672,
98.36205,
97.72207,
95.17747,
94.55057,
95.17482,
94.55165,
95.17999,
94.55694,
98.40091,
97.78393,
98.40101,
97.77615,
98.41657,
97.78027,
95.22705,
94.60908,
95.2407,
94.60682,
95.23891,
94.60576,
98.44548,
97.82706,
98.46416,
97.83797,
98.4708,
97.84821,
95.27985,
94.65473,
95.28463,
94.64571,
95.28185,
94.64247,
98.50658,
97.8796,
98.51688,
97.87685,
98.52157,
97.87786,
95.33842,
94.71047,
95.34911,
94.68679,
95.34476,
94.68526,
98.54644,
97.92017,
98.59655,
97.91841,
98.55191,
97.91233,
95.37869,
94.74151,
95.39886,
94.73802,
95.39181,
94.72323,
98.58476,
97.96986,
98.61087,
97.96751,
98.60406,
97.94463,
95.41696,
94.78704,
95.42316,
94.79391,
95.42448,
94.77878,
98.63638,
97.99107,
98.6543,
97.9956,
98.64417,
97.98106,
95.44318,
94.81351,
95.45348,
94.81837,
95.45189,
94.8074,
98.65195,
98.02522,
98.66235,
98.01931,
98.6608,
98.00587,
95.46823,
94.82981,
95.47883,
94.82936,
95.46522,
94.81094,
98.65997,
98.04043,
98.67015,
98.03173,
98.671,
98.01076,
95.45893,
94.84111,
95.4847,
94.84883,
95.48131,
94.84506,
98.66045,
98.04573,
98.68166,
98.05289,
98.685,
98.03523,
95.47014,
94.82416,
95.4994,
94.85574,
95.5125,
94.85278,
98.67422,
98.03369,
98.68592,
98.03835,
98.68854,
98.03553,
95.47226,
94.82015,
95.48431,
94.82894,
95.47684,
94.82027,
98.64384,
98.02856,
98.66475,
98.03578,
98.66862,
98.03024,
95.4267,
94.81541,
95.46169,
94.83089,
95.46827,
94.84604,
98.62634,
98.00639,
98.63156,
98.0012,
98.63422,
97.99184,
95.40357,
94.77575,
95.43208,
94.78501,
95.4427,
94.78359,
98.594,
97.95576,
98.62627,
97.97299,
98.62001,
97.95852,
95.35826,
94.74105,
95.37583,
94.75657,
95.39027,
94.75349,
98.53584,
97.91424,
98.56496,
97.93721,
98.56696,
97.93047,
95.32587,
94.69298,
95.35004,
94.70674,
95.35836,
94.70078,
98.49324,
97.8606,
98.52177,
97.87788,
98.52406,
97.87465,
95.26804,
94.62907,
95.30262,
94.63683,
95.29898,
94.64792,
98.43388,
97.82619,
98.4602,
97.82883,
98.46566,
97.82787,
95.22587,
94.59309,
95.23792,
94.59497,
95.241,
94.58423,
98.37499,
97.75973,
98.39349,
97.77134,
98.4061,
97.7646,
95.15071,
94.54124,
95.17321,
94.55827,
95.17787,
94.54166,
98.33215,
97.71191,
98.34455,
97.71604,
98.34616,
97.69559,
95.12062,
94.48242,
95.12977,
94.48069,
95.12723,
94.4746,
98.27724,
97.64143,
98.29875,
97.64079,
98.29258,
97.6394,
95.06233,
94.44533,
95.06894,
94.4478,
95.0657,
94.43591,
98.21896,
97.61069,
98.25975,
97.63689,
98.28397,
97.66265,
95.01296,
94.38653,
95.01788,
94.37901,
95.02057,
94.38031,
105.8678,
106.5017,
105.8617,
106.4949,
105.8596,
106.4965,
109.0514,
109.6939,
109.0341,
109.6835,
109.0307,
109.6742,
105.8341,
106.478,
105.824,
106.4709,
105.8324,
106.4761,
109.0127,
109.6565,
109.0047,
109.6548,
108.9995,
109.6482,
105.812,
106.4548,
105.8094,
106.4496,
105.7949,
106.4465,
109.0103,
109.6274,
108.9991,
109.6247,
108.989,
109.6155,
105.7984,
106.424,
105.7866,
106.413,
105.7892,
106.424,
108.9931,
109.629,
108.9708,
109.625,
108.9765,
109.6307,
105.7891,
106.4286,
105.7779,
106.4245,
105.7719,
106.4212,
108.9582,
109.6133,
108.9584,
109.6106,
108.9602,
109.6148,
105.7827,
106.4221,
105.7685,
106.4129,
105.7635,
106.421,
108.9608,
109.6129,
108.957,
109.6129,
108.9594,
109.6211,
105.7793,
106.4217,
105.7677,
106.4221,
105.7624,
106.4233,
108.9867,
109.6295,
108.9739,
109.6278,
108.9783,
109.6342,
105.7914,
106.4275,
105.7807,
106.4394,
105.7895,
106.455,
109.0043,
109.6453,
108.9937,
109.643,
108.9889,
109.6428,
105.8042,
106.4477,
105.7922,
106.4521,
105.8019,
106.4525,
109.0159,
109.6597,
109.0045,
109.6592,
109.0126,
109.6661,
105.8285,
106.4717,
105.8183,
106.4729,
105.8267,
106.4818,
109.0472,
109.6929,
109.0335,
109.6949,
109.0412,
109.7063,
105.8611,
106.5062,
105.8504,
106.5064,
105.8612,
106.5201,
109.0786,
109.723,
109.0746,
109.7274,
109.077,
109.7313,
105.9003,
106.5383,
105.8923,
106.5411,
105.8967,
106.5585,
109.1165,
109.767,
109.1093,
109.7627,
109.1133,
109.7678,
105.9505,
106.5903,
105.9386,
106.5852,
105.9438,
106.6003,
109.1528,
109.7945,
109.1481,
109.7977,
109.1572,
109.8173,
105.9891,
106.632,
105.9819,
106.6338,
105.9871,
106.6419,
109.2086,
109.8495,
109.2035,
109.8515,
109.2082,
109.8675,
106.0386,
106.6833,
106.033,
106.6829,
106.0296,
106.6792,
109.2635,
109.9045,
109.2527,
109.9021,
109.2501,
109.907,
106.0961,
106.7382,
106.0774,
106.7275,
106.0812,
106.7301,
109.304,
109.9477,
109.296,
109.9374,
109.2947,
109.9462,
106.1409,
106.7777,
106.127,
106.771,
106.1275,
106.7811,
109.354,
109.9907,
109.3428,
109.9942,
109.3406,
109.9993,
106.1833,
106.8278,
106.1668,
106.816,
106.1721,
106.8126,
109.388,
110.032,
109.3846,
110.0344,
109.3835,
110.0304,
106.2139,
106.858,
106.2133,
106.8701,
106.2125,
106.8521,
109.4326,
110.0647,
109.4251,
110.0679,
109.428,
110.0678,
106.259,
106.8834,
106.2534,
106.8861,
106.2552,
106.878,
109.4698,
110.1065,
109.4561,
110.0975,
109.4472,
110.0961,
106.2909,
106.9301,
106.2951,
106.9221,
106.2839,
106.919,
109.5085,
110.1407,
109.502,
110.1374,
109.5028,
110.131,
106.304,
106.9538,
106.3044,
106.9536,
106.3053,
106.9545,
109.5057,
110.1515,
109.4996,
110.1497,
109.5071,
110.1522,
106.3236,
106.9736,
106.3248,
106.9849,
106.3163,
106.9739,
109.5381,
110.1639,
109.5292,
110.1678,
109.5307,
110.1586,
106.3362,
106.9803,
106.3393,
106.9979,
106.3351,
106.9814,
109.526,
110.1768,
109.525,
110.1824,
109.5283,
110.1752,
106.3323,
106.9816,
106.3394,
106.9982,
106.342,
106.9807,
109.5316,
110.1866,
109.5295,
110.1768,
109.5275,
110.1812,
106.333,
106.9777,
106.3377,
106.9831,
106.3293,
106.9761,
109.5269,
110.1674,
109.5208,
110.1811,
109.5263,
110.1801,
106.3201,
106.9607,
106.3242,
106.9664,
106.3289,
106.9727,
109.5313,
110.1495,
109.5059,
110.1562,
109.5045,
110.1566,
106.2967,
106.951,
106.2977,
106.9664,
106.2925,
106.9628,
109.475,
110.1226,
109.498,
110.1274,
109.4928,
110.1255,
106.2746,
106.9155,
106.2799,
106.9181,
106.2802,
106.9157,
109.4396,
110.0781,
109.4595,
110.0925,
109.4591,
110.0888,
106.2279,
106.874,
106.2253,
106.8811,
106.2307,
106.8729,
109.4201,
110.0467,
109.4159,
110.0502,
109.4181,
110.0452,
106.1951,
106.8169,
106.1964,
106.8341,
106.2004,
106.829,
109.3524,
110.006,
109.3625,
110.027,
109.3606,
110.0006,
106.1328,
106.7823,
106.1401,
106.7837,
106.1398,
106.7904,
109.318,
109.9584,
109.3088,
109.9634,
109.3062,
109.9559,
106.0852,
106.7308,
106.0831,
106.7347,
106.087,
106.7385,
109.253,
109.9086,
109.2536,
109.9161,
109.2539,
109.9076,
106.0377,
106.6878,
106.0371,
106.6959,
106.0386,
106.6888,
109.2052,
109.8531,
109.2076,
109.8576,
109.2109,
109.8489,
105.9949,
106.6346,
105.9927,
106.6389,
105.9859,
106.6227,
109.1624,
109.7933,
109.1583,
109.7921,
109.1606,
109.7923,
105.9554,
106.576,
105.9541,
106.5846,
105.9453,
106.5656,
109.112,
109.7404,
109.1102,
109.7384,
109.1043,
109.7343,
105.9055,
106.5246,
105.902,
106.5291,
105.8891,
106.5244,
109.0894,
109.7122,
109.073,
109.7051,
109.0665,
109.7141};
Double_t rdzTOBp_fy32[2604] = {
65.2851,
67.43521,
65.18243,
68.66151,
65.29137,
68.43069,
65.19638,
68.94492,
65.21251,
68.80753,
65.0778,
68.29547,
64.00339,
65.51665,
63.93745,
65.74288,
64.00416,
65.96561,
63.93452,
67.26746,
63.96313,
66.80161,
63.89209,
67.64414,
62.09371,
63.1111,
62.02578,
63.56882,
62.06415,
63.76193,
62.02438,
64.86708,
62.02737,
64.10498,
62.02674,
64.33539,
60.45131,
60.59338,
60.30275,
60.47217,
60.44049,
61.10636,
60.43516,
62.13129,
60.39972,
61.79004,
60.46962,
62.47079,
58.58253,
57.47942,
58.57125,
58.66486,
58.57121,
59.85032,
58.60461,
60.83567,
58.60594,
60.83792,
58.60238,
61.36692,
56.7238,
54.79284,
56.76728,
55.92038,
56.68447,
57.15547,
56.72532,
57.96006,
56.68168,
58.52763,
56.7625,
59.59846,
55.09512,
53.49342,
55.18631,
54.37849,
55.07187,
55.38686,
55.08425,
56.43119,
55.02827,
56.64193,
55.12079,
57.26826,
53.15188,
51.41111,
53.23648,
52.03893,
53.16468,
52.74918,
53.27336,
53.69838,
53.24162,
53.55338,
53.27727,
54.57908,
51.97978,
50.09004,
52.04182,
50.74727,
51.89645,
51.20634,
52.06431,
51.79268,
52.00955,
51.77533,
51.83654,
52.3653,
50.11334,
47.67462,
50.26984,
48.21091,
50.11444,
48.34386,
50.19402,
49.22323,
50.07738,
49.52394,
50.23422,
49.98572,
49.35779,
48.27311,
49.54361,
48.38867,
49.33755,
48.39514,
49.56262,
48.99955,
49.26555,
48.77819,
49.45066,
48.35205,
47.88616,
47.73959,
48.01748,
47.80334,
47.7639,
47.22911,
47.90224,
47.09937,
47.88098,
46.69391,
48.0194,
45.99622,
47.7312,
47.0776,
47.83901,
47.06392,
47.62907,
46.43038,
47.76159,
46.14468,
47.59135,
45.09722,
47.84238,
44.96747,
46.50443,
46.11293,
46.69186,
46.54951,
46.50652,
45.90552,
46.71376,
45.39035,
46.58455,
44.46042,
46.64193,
43.4408,
46.85122,
46.60086,
47.11291,
46.23053,
46.8896,
45.51316,
47.05725,
44.72408,
46.85818,
43.49126,
47.17278,
42.96867,
46.2962,
45.9452,
46.5065,
45.82085,
46.3463,
44.95505,
46.50987,
44.62047,
46.31078,
43.69573,
46.43341,
42.83092,
47.19209,
45.92895,
47.39869,
45.97661,
47.16761,
45.4184,
47.40073,
45.15374,
47.17325,
44.24038,
47.40467,
43.02316,
47.14713,
45.55746,
47.35975,
45.27503,
47.15194,
46.46226,
47.41996,
45.54571,
47.19753,
46.23686,
47.38573,
44.44852,
48.54378,
48.46645,
48.70366,
46.5496,
48.56477,
46.79202,
48.78205,
46.59138,
48.49169,
45.99331,
48.63406,
45.98523,
49.05062,
46.14157,
49.21082,
46.81481,
49.00565,
47.29628,
49.20807,
48.15298,
49.04788,
47.83138,
49.21643,
47.69719,
50.76909,
46.53526,
50.92263,
46.61069,
50.7711,
48.06047,
50.88863,
48.40755,
50.73732,
48.5959,
50.62426,
49.63112,
51.76496,
47.11584,
51.95337,
48.74292,
51.87795,
50.00138,
51.93715,
50.63092,
51.68993,
51.53103,
51.89999,
52.35145,
53.74733,
48.62339,
53.79642,
50.15973,
53.689,
51.69331,
53.79708,
52.33475,
53.84377,
52.45648,
53.76172,
52.83229,
55.18504,
50.33316,
55.25178,
52.16282,
55.15753,
52.73357,
55.23174,
54.75422,
55.11729,
54.79348,
55.34972,
56.47409,
57.09188,
51.94959,
57.08414,
53.1385,
57.05941,
54.75053,
57.06446,
56.13047,
57.06281,
56.35535,
57.1441,
58.19327,
58.87361,
54.61089,
58.87408,
55.89755,
58.86929,
57.24761,
58.87013,
58.92739,
58.90509,
59.03891,
58.90899,
59.42324,
60.56606,
55.12293,
60.48406,
56.50117,
60.67692,
58.2958,
60.59685,
59.39751,
60.52411,
60.20307,
60.67495,
61.34556,
62.54874,
62.59074,
62.56176,
60.1683,
62.57565,
62.60346,
62.48198,
62.62543,
62.46237,
62.52644,
62.44607,
63.66039,
64.00729,
60.89947,
63.96591,
61.66988,
63.99683,
62.61777,
63.92911,
63.88384,
63.95743,
64.25954,
63.92323,
64.68513,
65.88113,
64.44665,
65.83728,
65.09733,
65.94705,
65.56565,
65.74055,
66.1267,
65.9077,
66.52116,
65.77915,
66.70063,
66.97911,
65.83286,
66.6813,
66.31382,
66.95628,
67.53777,
66.6411,
67.95421,
66.90663,
67.99409,
66.7575,
67.76887,
68.64062,
67.28056,
68.53946,
67.88028,
68.62551,
68.2719,
68.40306,
68.66097,
68.58733,
69.14928,
68.48106,
69.11823,
69.0545,
69.92055,
68.98197,
70.41518,
69.01113,
70.11693,
68.83243,
70.70515,
69.09129,
69.89489,
68.8041,
69.98755,
70.41119,
70.49882,
70.2273,
71.6899,
70.4187,
71.64845,
70.21124,
71.67554,
70.38367,
71.04803,
70.21532,
70.95777,
70.22745,
74.24972,
70.10802,
73.79853,
70.25746,
72.68798,
70.08754,
71.79771,
70.33463,
70.55043,
70.12774,
70.50444,
71.21782,
74.10256,
71.04761,
73.91735,
71.21295,
73.65575,
70.97037,
73.11089,
71.1727,
72.77893,
70.93214,
71.92934,
70.56887,
75.32874,
70.31232,
74.94711,
70.62751,
73.87793,
70.35303,
72.5085,
70.55191,
71.26199,
70.35091,
70.82756,
70.90095,
74.46267,
70.69707,
74.58331,
70.95034,
73.65302,
70.64073,
72.31221,
70.83627,
71.85931,
70.75648,
70.48315,
69.71706,
73.92788,
69.51232,
73.92493,
69.70453,
73.94277,
69.55506,
72.76926,
69.70482,
72.87921,
69.44227,
70.8597,
69.469,
72.55956,
69.27097,
72.62854,
69.50867,
71.51057,
69.28905,
71.97928,
69.5434,
71.05331,
69.32473,
70.61298,
67.93356,
70.94654,
67.76479,
71.09246,
67.91245,
71.67629,
67.8219,
70.71215,
67.91109,
70.26514,
67.74099,
70.09853,
67.12843,
69.77403,
66.96706,
70.17299,
67.13892,
69.61988,
66.985,
69.42843,
67.13541,
68.741,
66.94469,
68.62605,
66.757,
64.09914,
66.86427,
65.23617,
66.75951,
65.37925,
66.88791,
66.57446,
66.72438,
65.03616,
66.92549,
64.78213,
65.58779,
64.31922,
65.69695,
64.71333,
65.55718,
64.32478,
65.69616,
65.56854,
65.62959,
66.00063,
65.69112,
65.52689,
63.73901,
62.02712,
63.77967,
63.4239,
63.70293,
63.80714,
63.77604,
65.32585,
63.62611,
65.13941,
63.77614,
65.97344,
62.20603,
61.80537,
62.23561,
62.21615,
62.15678,
62.06103,
62.23544,
62.93821,
62.19265,
61.79105,
62.26938,
62.24946,
60.30325,
60.58837,
60.34163,
60.64729,
60.29922,
60.46862,
60.33865,
59.97614,
60.2574,
59.09338,
60.3379,
60.01384,
58.56447,
58.72639,
58.53765,
58.66891,
58.55031,
58.64551,
58.58871,
58.91455,
58.54858,
58.30086,
58.47716,
59.1438,
56.79359,
58.19125,
56.7604,
57.14569,
56.80114,
56.25328,
56.79617,
56.47702,
56.79897,
56.32489,
56.72077,
56.70818,
54.92858,
56.10024,
54.84776,
55.74974,
54.89909,
55.41736,
54.88442,
55.44461,
54.93464,
54.69404,
54.84689,
54.83401,
53.43593,
54.44903,
53.3613,
54.32653,
53.44505,
53.93299,
53.37794,
53.33364,
53.44289,
53.13251,
53.34047,
53.03049,
51.57463,
52.60705,
51.46411,
52.62627,
51.56384,
53.05513,
51.40623,
53.393,
51.56453,
53.3205,
51.44773,
53.35583,
50.44979,
51.38741,
50.28867,
51.15802,
50.4282,
51.24049,
50.28981,
50.64478,
50.42793,
50.20969,
50.36813,
50.60935,
48.67718,
49.45457,
48.55671,
49.7338,
48.65507,
50.04726,
48.49071,
49.9977,
48.73096,
50.27509,
48.49466,
50.7262,
47.96343,
47.08469,
47.83425,
47.8052,
48.00197,
48.30097,
47.81593,
48.03348,
48.0785,
48.95129,
47.8189,
49.29619,
46.46425,
47.82848,
46.29981,
47.95994,
46.47692,
48.15686,
46.26395,
47.56232,
46.48087,
47.74312,
46.26817,
48.21975,
46.27835,
45.12926,
46.05652,
46.41801,
46.28806,
47.17545,
46.08293,
47.5816,
46.21278,
47.94041,
45.96692,
48.61428,
45.11702,
44.98634,
44.9284,
45.04941,
45.11126,
45.62775,
44.90817,
45.6987,
45.03328,
46.31833,
44.837,
47.19078,
45.39119,
45.25393,
45.20604,
45.70309,
45.41891,
46.407,
45.18844,
47.05313,
45.37778,
47.82082,
45.22695,
48.43303,
44.68467,
44.45437,
44.46144,
45.06592,
44.66615,
45.67222,
44.48313,
45.90885,
44.66579,
47.12115,
44.41299,
47.16949,
45.45292,
45.30497,
45.24165,
45.91502,
45.49461,
46.7368,
45.20522,
46.56537,
45.38144,
47.69749,
45.24762,
48.24737,
45.20145,
45.57185,
44.98912,
45.88377,
45.19359,
46.72315,
44.98635,
46.5934,
45.19639,
48.28521,
45.02746,
48.19544,
46.37526,
46.25977,
46.22148,
47.0501,
46.43831,
47.77362,
46.23933,
48.04002,
46.39431,
49.03671,
46.20276,
49.22638,
46.68531,
46.97321,
46.46989,
47.65097,
46.65248,
48.38735,
46.47593,
48.32217,
46.64893,
48.31534,
46.36347,
47.56285,
48.22032,
49.42341,
48.01232,
49.20076,
48.21443,
49.69228,
48.01007,
50.55589,
48.21689,
50.11234,
48.05257,
50.48219,
48.93596,
48.98417,
48.75308,
50.27495,
48.93965,
50.84209,
48.7524,
51.07625,
48.82644,
50.9568,
48.79312,
50.54585,
50.7055,
53.01757,
50.57313,
52.86507,
50.69957,
52.49627,
50.5398,
52.14664,
50.66505,
51.96725,
50.54289,
52.45627,
51.83089,
54.36026,
51.78336,
53.25661,
51.89826,
53.09629,
51.7238,
52.91959,
51.90131,
52.14304,
51.83963,
51.77797,
53.78308,
57.27049,
53.67285,
56.45432,
53.70728,
55.06037,
53.71238,
54.75898,
53.74748,
53.38442,
53.67408,
53.99846,
55.27721,
57.7288,
55.18087,
57.12633,
55.29826,
56.11718,
55.25782,
56.26858,
55.18462,
55.20114,
55.18333,
56.19442,
57.1619,
59.5831,
57.11003,
59.16713,
57.07664,
58.46611,
57.11024,
57.96762,
57.11745,
57.51418,
57.11192,
58.19493,
58.91249,
60.79446,
58.95808,
60.12095,
58.89999,
59.68023,
59.00877,
59.10187,
58.98043,
57.92038,
58.89159,
58.06872,
60.63903,
62.0649,
60.63359,
61.50406,
60.61016,
61.00629,
60.6524,
60.51496,
60.57411,
59.97818,
60.65548,
60.05856,
62.53266,
63.59229,
62.64904,
63.42055,
62.51963,
62.30173,
62.64653,
62.38908,
62.51788,
60.84936,
62.53232,
62.39106,
64.03083,
64.92596,
63.93936,
64.54221,
64.00996,
63.90215,
64.14951,
63.6978,
63.9319,
62.33669,
64.18903,
62.67198,
65.89304,
65.67334,
66.03024,
65.20695,
65.92698,
64.66485,
65.97041,
64.78328,
65.96423,
64.362,
65.93113,
64.78687,
67.07043,
66.80434,
67.12298,
66.23961,
67.01757,
65.90863,
67.16006,
66.77171,
67.01979,
66.32632,
67.16091,
66.61832,
68.83546,
67.08455,
69.05845,
67.43736,
68.7594,
67.63525,
68.96019,
67.91409,
68.72344,
67.56476,
68.9635,
68.18159,
69.46323,
68.9099,
69.63946,
69.40258,
69.45166,
69.15623,
69.63945,
69.6072,
69.45107,
69.42067,
69.56255,
69.22975,
70.93478,
69.90345,
70.98705,
70.39589,
70.98206,
70.67707,
71.11796,
71.08115,
70.9068,
70.40978,
71.19749,
70.77493,
71.25422,
68.46562,
71.42931,
69.71947,
71.20401,
69.78312,
71.41122,
70.6736,
71.16516,
70.20086,
71.48569,
70.97823,
72.39493,
70.07414,
72.56543,
71.13007,
72.38676,
71.06647,
72.50819,
72.02637,
72.35024,
71.60183,
72.54587,
73.24686,
72.13647,
68.36241,
72.30479,
69.80865,
72.1545,
70.21069,
72.22913,
70.93569,
72.00849,
70.71249,
72.2309,
72.00127,
72.7939,
69.5996,
73.09157,
71.26911,
72.7965,
71.4865,
72.93606,
72.50838,
72.7918,
73.16019,
72.97574,
73.19678,
72.01215,
67.72639,
72.21592,
69.3699,
72.04314,
69.34762,
72.2579,
70.59109,
71.92801,
70.68219,
72.21498,
72.11525,
72.24594,
68.65568,
72.50681,
69.89793,
72.23056,
70.62804,
72.50584,
71.78488,
72.26604,
71.9242,
72.50961,
73.31017,
71.02209,
66.41877,
71.23412,
68.44068,
71.0612,
68.34537,
71.25497,
70.0264,
70.98556,
70.10091,
71.25467,
71.5118,
70.7976,
67.50883,
70.97832,
68.25218,
70.79911,
68.95151,
70.94495,
69.78148,
70.80131,
70.89802,
70.94666,
71.88223,
69.23448,
65.26863,
69.4467,
65.43493,
69.28094,
66.73866,
69.40971,
67.09304,
69.24558,
68.33799,
69.40643,
67.66375,
68.53284,
66.07178,
68.70507,
66.80989,
68.48243,
67.60531,
68.74233,
66.95197,
68.55794,
67.72308,
68.74755,
69.42892,
67.31047,
67.24435,
67.30854,
67.18612,
67.34578,
67.22396,
65.41679,
65.36327,
65.45351,
65.24908,
65.41263,
65.28451,
63.98675,
63.91374,
63.92968,
63.90987,
63.96552,
63.91015,
62.0697,
62.02005,
62.07916,
61.94356,
61.99955,
62.0172,
60.34858,
60.38898,
60.32016,
60.2582,
60.35885,
60.29415,
58.50208,
58.50967,
58.45361,
58.43363,
58.45275,
58.54493,
56.66805,
56.67928,
56.63959,
56.69661,
56.7139,
56.73523,
54.98757,
55.08159,
55.03576,
55.06161,
55.073,
55.02282,
53.08447,
53.14828,
53.11372,
53.07089,
53.0747,
53.10818,
51.67815,
51.72757,
51.64897,
51.7266,
51.76141,
51.7252,
49.78729,
49.84953,
49.7761,
49.90631,
49.81946,
49.86265,
48.75902,
48.8115,
48.69265,
48.83074,
48.69255,
48.83127,
47.03387,
47.1916,
47.05317,
47.13392,
46.98903,
47.06134,
46.36448,
46.4523,
46.30621,
46.46975,
46.30896,
46.39632,
44.85602,
44.92365,
44.82501,
44.92718,
44.82292,
44.92673,
44.63643,
44.76914,
44.62083,
44.77346,
44.77467,
44.81218,
43.4253,
43.53025,
43.32687,
43.57265,
43.51637,
43.5708,
43.63152,
43.74217,
43.6387,
43.77895,
43.67252,
43.74867,
42.82355,
42.94036,
42.81607,
42.97963,
42.89361,
42.90178,
43.45109,
43.60017,
43.4059,
43.58216,
43.51885,
43.54498,
43.09108,
43.1946,
43.09211,
43.21158,
43.01951,
43.20861,
44.13931,
44.27306,
44.13791,
44.27385,
44.21745,
44.19736,
44.18231,
44.27244,
44.18673,
44.2925,
44.18336,
44.3324,
45.57019,
45.69306,
45.58956,
45.67636,
45.58994,
45.75379,
46.08918,
46.17786,
46.10555,
46.15889,
46.06473,
46.16003,
47.7364,
47.82689,
47.62411,
47.80779,
47.81482,
47.84777,
48.64789,
48.72955,
48.6659,
48.74945,
48.7447,
48.7126,
50.49163,
50.55893,
50.47274,
50.59649,
50.43325,
50.55795,
51.76299,
51.84068,
51.83631,
51.85978,
51.83945,
51.82151,
53.68262,
53.73453,
53.7106,
53.69576,
53.71086,
53.77278,
55.24232,
55.25488,
55.25533,
55.31512,
55.29937,
55.28479,
57.15271,
57.17073,
57.14948,
57.13371,
57.1123,
57.17501,
58.93412,
58.99664,
58.95008,
58.93983,
58.91383,
58.82624,
60.71535,
60.73377,
60.69183,
60.75,
60.65253,
60.78666,
62.60291,
62.65277,
62.63842,
62.61568,
62.48499,
62.54139,
64.19173,
64.09089,
64.15991,
64.09026,
64.08381,
63.97813,
66.04355,
65.94769,
66.09949,
66.06166,
65.94822,
65.9099,
67.30492,
67.28398,
67.29001,
67.20449,
67.25008,
67.20618,
69.17646,
69.10268,
69.1239,
69.0667,
69.04704,
69.06522,
70.06493,
69.89468,
69.96291,
69.89536,
69.96214,
69.81804,
71.67679,
71.57774,
71.60563,
71.52105,
71.49159,
71.55663,
72.11323,
71.98219,
72.02419,
71.9659,
72.13996,
71.88932,
73.51375,
73.2355,
73.368,
73.25607,
73.40515,
73.3643,
73.46513,
73.29622,
73.48565,
73.31617,
73.36683,
73.24206,
74.4518,
74.35134,
74.51643,
74.21806,
74.44091,
74.36922,
74.02514,
73.84293,
73.98693,
73.82647,
73.98489,
73.89911,
74.6625,
74.49963,
74.64967,
74.50127,
74.60182,
74.42917,
73.74899,
73.62309,
73.73768,
73.58372,
73.77579,
73.65796,
73.93298,
73.77755,
73.90567,
73.73562,
73.90512,
73.85265,
72.67959,
72.55972,
72.72388,
72.54437,
72.60954,
72.54137,
72.408,
72.32271,
72.44836,
72.36,
72.4454,
72.37756,
70.87231,
70.74073,
70.91132,
70.78033,
70.90961,
70.73736,
70.15345,
70.13796,
70.18475,
70.08208,
70.10662,
69.99863,
68.37168,
68.3317,
68.42863,
68.27637,
68.34801,
68.31234,
69.01672,
69.10135,
69.10899,
69.07806,
69.03439,
69.07752,
67.84567,
67.9213,
67.94846,
67.88097,
67.75741,
67.95892,
65.96908,
66.05471,
65.93849,
65.95612,
65.93705,
65.99498,
64.51522,
64.58218,
64.48552,
64.57962,
64.48277,
64.54247,
62.63613,
62.69181,
62.68374,
62.63269,
62.60752,
62.74638,
60.95453,
60.98634,
61.03638,
60.94755,
60.84512,
61.06176,
59.12249,
59.1277,
59.11872,
59.1452,
59.08053,
59.14307,
57.29456,
57.28748,
57.32055,
57.34307,
57.28059,
57.26943,
55.62542,
55.58785,
55.54757,
55.52785,
55.5078,
55.64312,
53.70541,
53.62791,
53.65348,
53.70534,
53.73036,
53.70465,
52.22046,
52.1424,
52.1895,
52.08292,
52.14977,
52.19789,
50.33836,
50.24361,
50.35806,
50.28064,
50.24,
50.27966,
49.1073,
49.06998,
49.07798,
49.10583,
49.07605,
49.03267,
47.28891,
47.19429,
47.28682,
47.19218,
47.28476,
47.22822,
46.41566,
46.31905,
46.46113,
46.35494,
46.38264,
46.23827,
44.76919,
44.65047,
44.78574,
44.66698,
44.82139,
44.74075,
44.27271,
44.15984,
44.27013,
44.13814,
44.26759,
44.17371,
42.84666,
42.73886,
42.84384,
42.73599,
42.91734,
42.73316,
42.75109,
42.648,
42.76737,
42.60701,
42.65016,
42.6042,
41.63354,
41.52517,
41.62102,
41.56028,
41.65622,
41.44284,
41.93521,
41.7929,
41.96094,
41.80904,
41.99623,
41.8443,
41.16237,
41.03311,
41.14228,
41.05059,
41.21918,
41.05457,
41.87249,
41.77297,
41.82387,
41.72789,
41.86712,
41.76771,
41.47517,
41.3816,
41.45815,
41.34362,
41.46256,
41.3518,
42.49667,
42.39668,
42.54478,
42.45266,
42.50744,
42.37639,
42.51881,
42.4105,
42.51881,
42.37653,
42.55518,
42.41496,
43.88926,
43.77977,
43.80638,
43.76327,
43.99869,
43.76652,
44.28011,
44.16451,
44.29043,
44.16563,
44.2191,
44.27857,
45.88214,
45.78986,
45.87142,
45.84834,
45.87319,
45.77208,
46.68628,
46.56587,
46.7372,
46.5867,
46.66154,
46.5527,
48.48955,
48.41743,
48.42423,
48.4197,
48.35091,
48.3055,
49.61727,
49.53593,
49.54783,
49.53705,
49.54973,
49.57709,
51.49088,
51.42492,
51.44436,
51.42375,
51.44453,
51.5411,
52.87642,
52.85834,
52.8574,
52.839,
52.89793,
52.84201,
54.81971,
54.76656,
54.84906,
54.78632,
54.77215,
54.71101,
56.45746,
56.46912,
56.4981,
56.43272,
56.61186,
56.47321,
58.33317,
58.33083,
58.33263,
58.31177,
58.29608,
58.23685,
60.16402,
60.15387,
60.13293,
60.11541,
60.1726,
60.26952,
61.86047,
61.86831,
61.83169,
61.84951,
61.86972,
61.81298,
63.7537,
63.76908,
63.76438,
63.82644,
63.7277,
63.82821,
65.22519,
65.29439,
65.14864,
65.37079,
65.22725,
65.33427,
67.14718,
67.25319,
67.02264,
67.17542,
67.21447,
67.25161,
68.31576,
68.40347,
68.29945,
68.4599,
68.37576,
68.34345,
70.20869,
70.26701,
70.17037,
70.26604,
70.24435,
70.15224,
71.04398,
71.14226,
71.06821,
71.21741,
70.99631,
70.91057,
72.68086,
72.75232,
72.6709,
72.78951,
72.70946,
72.78976,
73.17584,
73.2787,
73.18727,
73.31718,
73.18458,
73.28072,
74.58512,
74.72125,
74.6133,
74.72189,
74.6132,
74.72192,
74.68755,
74.77097,
74.72809,
74.84837,
74.65028,
74.84621,
75.85303,
75.93281,
75.79726,
75.97025,
75.79726,
75.85743,
75.49407,
75.6088,
75.49417,
75.68385,
75.53442,
75.75871,
76.27132,
76.40874,
76.2411,
76.40714,
76.2431,
76.33025,
75.57732,
75.71275,
75.54885,
75.65347,
75.66531,
75.69135,
75.97465,
76.10069,
75.96676,
76.11829,
76.00394,
76.11801,
74.94377,
75.08293,
74.91402,
75.08464,
74.95091,
75.15921,
74.9413,
75.02877,
74.94331,
75.04917,
74.90662,
75.04929,
73.57934,
73.69889,
73.5798,
73.69868,
73.5406,
73.69888,
73.158,
73.23997,
73.16792,
73.29564,
73.16911,
73.2571,
71.5591,
71.65039,
71.58421,
71.64581,
71.5852,
71.60724,
70.77192,
70.8734,
70.72539,
70.90871,
70.72327,
70.83238,
70.27187,
70.18092,
70.24313,
70.19869,
70.2405,
70.11987,
68.35841,
68.30164,
68.35146,
68.26402,
68.31062,
68.41615,
67.02791,
66.87673,
67.02856,
67.0073,
67.02731,
66.97095,
65.10869,
65.07079,
65.07166,
65.0162,
65.07172,
65.08895,
63.47957,
63.5837,
63.49746,
63.5468,
63.45797,
63.39275,
61.62473,
61.58962,
61.55893,
61.60803,
61.55789,
61.4133,
59.85577,
59.90633,
59.83872,
59.88675,
59.87526,
59.81127,
57.98415,
58.04781,
58.01191,
57.99242,
57.97483,
57.91379,
56.09855,
56.12567,
56.12511,
56.10428,
56.12318,
56.06453,
54.40256,
54.54544,
54.45421,
54.50817,
54.41363,
54.35605,
52.54493,
52.54802,
52.46087,
52.5281,
52.53866,
52.49255,
51.00577,
51.02839,
50.97913,
51.12432,
51.05639,
51.00928,
49.09456,
49.12425,
49.0458,
49.08296,
49.08317,
48.96676,
47.85626,
47.91399,
47.80824,
47.97125,
47.88696,
48.01052,
46.04924,
46.22246,
45.9934,
46.16324,
46.0739,
46.04893,
45.11689,
45.26847,
45.14717,
45.21347,
45.14737,
45.21377,
43.48339,
43.59047,
43.39781,
43.55257,
43.43953,
43.43778,
42.85911,
42.95205,
42.89964,
43.03102,
42.86171,
42.95281,
41.39067,
41.57513,
41.37867,
41.48347,
41.37998,
41.40718,
41.19966,
41.28822,
41.19061,
41.38284,
41.15234,
41.26895,
40.0639,
40.08631,
39.99693,
40.08764,
39.96146,
40.16619,
40.1445,
40.23355,
40.11473,
40.25636,
40.15547,
40.29355,
39.20358,
39.38936,
39.2292,
39.46161,
39.2299,
39.30857,
39.75833,
39.88743,
39.73803,
39.78999,
39.77771,
39.86739,
39.22722,
39.32341,
39.16196,
39.3798,
39.12364,
39.3046,
40.07561,
40.18349,
40.04999,
40.16642,
40.08983,
40.12807,
39.86676,
39.9866,
39.89639,
39.9875,
39.85789,
39.98788,
41.09736,
41.12186,
41.00066,
41.21568,
41.07828,
41.06933,
41.27284,
41.34552,
41.23038,
41.34205,
41.26588,
41.18667,
42.69064,
42.76738,
42.64393,
42.76963,
42.72025,
42.6538,
43.15706,
43.39497,
43.25925,
43.31844,
43.034,
43.28073,
44.89035,
44.95855,
44.87098,
44.9799,
44.75833,
44.86215,
45.76682,
45.85134,
45.74626,
45.83347,
45.64355,
45.83347,
47.58082,
47.64585,
47.63517,
47.56879,
47.52135,
47.64753,
48.76816,
48.80507,
48.77435,
48.90152,
48.81416,
48.868,
50.68945,
50.80654,
50.71476,
50.72929,
50.7149,
50.69513,
52.17014,
52.22154,
52.15857,
52.14486,
52.16059,
52.14779,
54.07039,
54.14931,
54.04974,
54.10934,
54.01223,
54.07317,
55.7649,
55.77817,
55.69694,
55.75993,
55.81247,
55.80113,
57.65451,
57.66002,
57.71067,
57.62202,
57.75262,
57.66495,
59.47928,
59.46021,
59.47822,
59.46188,
59.40236,
59.46734,
61.26261,
61.24994,
61.24874,
61.26783,
61.32627,
61.15394,
63.17119,
63.16476,
63.18719,
63.16317,
63.22491,
63.20467,
64.76629,
64.74889,
64.78761,
64.68595,
64.71039,
64.76404,
66.71535,
66.6823,
66.67617,
66.68201,
66.63818,
66.75745,
68.06993,
67.99478,
68.13974,
67.98514,
68.02527,
67.98757,
69.95415,
69.91136,
69.96058,
69.9095,
69.96095,
69.91374,
71.01373,
70.91461,
71.02921,
70.93255,
71.03109,
70.89663,
72.80003,
72.69185,
72.84349,
72.73095,
72.72539,
72.81077,
73.54649,
73.44085,
73.48187,
73.5158,
73.48045,
73.47997,
75.10481,
75.05103,
75.23438,
75.0296,
75.11949,
75.02955,
75.48885,
75.41068,
75.41919,
75.39252,
75.49518,
75.39235,
76.86307,
76.76507,
76.83909,
76.72726,
76.80267,
76.76353,
76.88665,
76.7744,
76.90401,
76.6974,
76.71321,
76.813,
77.9262,
77.8513,
77.9343,
77.75532,
78.00895,
77.86867,
77.59459,
77.45819,
77.57418,
77.53571,
77.61111,
77.4584,
78.32169,
78.20129,
78.29281,
78.2365,
78.3691,
78.20083,
77.64584,
77.5004,
77.58464,
77.44218,
77.7355,
77.40245,
78.0304,
77.88142,
78.03665,
77.92013,
78.03743,
77.92297,
77.00819,
76.84596,
76.95451,
76.901,
77.02996,
76.82529,
76.99982,
76.91621,
76.98062,
76.91846,
76.86499,
76.80088,
75.66529,
75.46343,
75.65546,
75.53986,
75.731,
75.57804,
75.33408,
75.16777,
75.29741,
75.24541,
75.33127,
75.16801,
73.74015,
73.63731,
73.74973,
73.69145,
73.71243,
73.61613,
73.03416,
72.94221,
73.04965,
72.98634,
72.93624,
72.9893,
71.27232,
71.20649,
71.28173,
71.20646,
71.32053,
71.13104,
71.61359,
71.70383,
71.60477,
71.72218,
71.60459,
71.72337,
70.39519,
70.50248,
70.31738,
70.48164,
70.50831,
70.55607,
68.634,
68.65068,
68.57561,
68.66825,
68.84488,
68.59196,
67.20844,
67.27582,
67.21643,
67.16128,
67.10176,
67.31248,
65.29839,
65.35122,
65.19444,
65.32986,
65.22986,
65.36812,
63.70897,
63.74739,
63.57367,
63.78505,
63.72458,
63.86026,
61.86369,
61.80943,
61.88025,
61.78739,
61.88093,
61.78978,
59.99023,
60.09056,
59.96775,
60.03244,
60.19727,
60.10927,
58.14106,
58.25062,
58.16801,
58.19188,
58.24319,
58.22992,
56.50373,
56.3088,
56.20899,
56.34573,
56.43738,
56.34673,
54.63313,
54.6322,
54.63069,
54.61075,
54.62877,
54.61217,
52.85744,
52.71177,
52.84835,
52.71156,
52.7714,
52.75457,
51.2025,
51.21465,
51.22001,
51.15376,
51.06567,
51.19227,
49.23574,
49.20172,
49.23353,
49.23898,
49.3862,
49.20048,
47.9818,
47.93842,
47.97773,
47.93708,
47.89942,
47.9367,
45.98232,
46.01852,
45.91192,
46.01647,
46.10106,
45.97833,
45.03392,
44.96686,
45.15676,
44.94733,
45.04221,
45.06367,
43.18639,
43.2149,
43.2597,
43.19488,
43.14444,
43.15676,
42.528,
42.45256,
42.64051,
42.37456,
42.5658,
42.41331,
40.92796,
40.78465,
40.90779,
40.78506,
40.83098,
40.82484,
40.43376,
40.34656,
40.44266,
40.31064,
40.40448,
40.31014,
39.02598,
38.97491,
38.98647,
38.91834,
39.17666,
38.91877,
38.90016,
38.80993,
38.88972,
38.77159,
38.96655,
38.77392,
37.82617,
37.64579,
37.79529,
37.62746,
37.75786,
37.62958,
37.89177,
37.87186,
37.86248,
37.75972,
38.05231,
37.83622,
37.12574,
36.91367,
37.06884,
36.9515,
37.06621,
36.91308,
37.60336,
37.45788,
37.54742,
37.45775,
37.63228,
37.45951,
36.98621,
36.91281,
36.88148,
36.89434,
37.07102,
36.89481,
37.79789,
37.67794,
37.79021,
37.67654,
37.78941,
37.67744,
37.55769,
37.43433,
37.54297,
37.4174,
37.5033,
37.45575,
38.66505,
38.52995,
38.6282,
38.53072,
38.66599,
38.53316,
38.69501,
38.55615,
38.66394,
38.63504,
38.70286,
38.55882,
40.07037,
39.95327,
40.05212,
39.93624,
40.05266,
39.8983,
40.41104,
40.3669,
40.51401,
40.38501,
40.47474,
40.38634,
42.01688,
41.90789,
42.00856,
41.94726,
42.03325,
41.94781,
42.75926,
42.61343,
42.75834,
42.6529,
42.52734,
42.65431,
44.46741,
44.41101,
44.46616,
44.39051,
44.42951,
44.47092,
45.46876,
45.3331,
45.52529,
45.37001,
45.33487,
45.29424,
47.26727,
47.24914,
47.31522,
47.22967,
47.35326,
47.15547,
48.58532,
48.50398,
48.54028,
48.4879,
48.57949,
48.44954,
50.47475,
50.47517,
50.56981,
50.47798,
50.42031,
50.36486,
51.93204,
51.88357,
51.96105,
52.01662,
51.92266,
51.94265,
53.87061,
53.87331,
53.93688,
53.91259,
53.8983,
53.91231,
55.52094,
55.52383,
55.53085,
55.50533,
55.56788,
55.58162,
57.43011,
57.4226,
57.42912,
57.5161,
57.35568,
57.44263,
59.23615,
59.28301,
59.24649,
59.30154,
59.28606,
59.2282,
61.01714,
61.03445,
61.01763,
61.14527,
61.01805,
61.18758,
62.92672,
62.98228,
62.96383,
62.9432,
63.00139,
62.94453,
64.56318,
64.4994,
64.57117,
64.78307,
64.49463,
64.67146,
66.45248,
66.52023,
66.34036,
66.52383,
66.53379,
66.33171,
67.9415,
67.84081,
67.90379,
67.97753,
67.90549,
68.01573,
69.7972,
69.78184,
69.79796,
70.02956,
69.83657,
69.87605,
70.9918,
71.06747,
70.96129,
71.12579,
70.95982,
71.00817,
72.83312,
72.90767,
72.85181,
72.98243,
72.8532,
72.67882,
73.71629,
73.85803,
73.79301,
73.93235,
73.68024,
73.81953,
75.40569,
75.57615,
75.44364,
75.57265,
75.34689,
75.42497,
76.02901,
76.13237,
76.04556,
76.20815,
76.13255,
76.05908,
77.5913,
77.67052,
77.49704,
77.74699,
77.6097,
77.63228,
77.8241,
77.89235,
77.85929,
77.77821,
77.90167,
78.0832,
79.13526,
79.24218,
79.04581,
79.27773,
79.08139,
79.12457,
79.18116,
79.18055,
79.08791,
79.29424,
79.05058,
79.1818,
80.11756,
80.24339,
80.11667,
80.41315,
80.2831,
80.33646,
79.7647,
79.89221,
79.73835,
79.93315,
79.77541,
79.85339,
80.50379,
80.62391,
80.55494,
80.68037,
80.43891,
80.68056,
79.82529,
79.96566,
79.80814,
79.90829,
79.73229,
79.8323,
80.24426,
80.3866,
80.34653,
80.46517,
80.15742,
80.34748,
79.28069,
79.42435,
79.26228,
79.50039,
79.264,
79.30885,
79.40347,
79.53123,
79.31786,
79.45654,
79.39789,
79.52867,
78.1721,
78.27048,
78.10525,
78.32806,
78.26392,
78.47917,
77.93172,
78.00205,
77.99857,
78.03847,
77.8857,
78.11473,
76.45853,
76.59027,
76.43017,
76.62924,
76.47105,
76.5521,
75.91628,
76.00283,
75.90493,
76.00201,
75.90443,
76.00013,
74.28907,
74.39142,
74.21378,
74.35464,
74.17169,
74.35405,
73.43156,
73.48473,
73.45,
73.48434,
73.22072,
73.48591};
graph = new TGraph(2604,rdzTOBp_fx32,rdzTOBp_fy32);
graph->SetName("rdzTOBp");
graph->SetTitle("TOB at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(6);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTIDp_fx33[408] = {
28.50827,
28.50958,
28.36989,
28.37155,
28.32464,
28.32084,
28.37696,
28.36577,
28.50604,
28.5023,
28.67494,
28.67907,
28.84758,
28.84787,
28.97701,
28.97659,
29.02617,
29.02839,
28.9863,
28.9866,
28.84972,
28.85146,
28.67715,
28.68001,
28.42313,
28.42269,
28.34623,
28.34883,
28.36251,
28.3605,
28.45885,
28.45617,
28.61181,
28.61252,
28.79293,
28.79395,
28.92851,
28.93265,
29.00601,
29.0064,
28.98274,
28.98584,
28.89797,
28.89716,
28.74408,
28.74335,
28.57174,
28.56967,
36.51485,
36.50647,
36.40314,
36.39975,
36.3704,
36.36822,
36.42545,
36.42542,
36.55374,
36.55669,
36.72995,
36.72562,
36.88118,
36.88501,
36.99835,
36.99685,
37.03447,
37.03831,
36.96411,
36.96358,
36.82715,
36.82323,
36.66876,
36.67259,
36.4399,
36.43946,
36.36234,
36.36588,
36.38689,
36.38509,
36.48643,
36.48755,
36.64454,
36.64684,
36.81951,
36.81611,
36.96297,
36.94967,
37.02606,
37.02936,
37.0091,
37.01151,
36.91522,
36.91639,
36.75586,
36.7533,
36.58981,
36.59058,
44.59728,
44.51104,
44.44849,
44.41982,
44.4213,
44.45479,
44.51907,
44.60843,
44.70566,
44.79832,
44.9028,
44.98318,
45.04211,
45.08591,
45.08664,
45.04325,
44.9788,
44.89736,
44.79729,
44.69362,
44.53497,
44.44464,
44.41095,
44.38246,
44.41146,
44.45991,
44.5439,
44.63538,
44.7485,
44.85387,
44.96404,
45.03996,
45.0901,
45.11119,
45.10027,
45.04187,
44.96807,
44.86012,
44.74313,
44.62514,
28.50243,
28.49796,
28.36939,
28.36726,
28.32419,
28.32067,
28.37016,
28.37109,
28.51388,
28.51011,
28.69183,
28.69196,
28.86537,
28.86237,
28.98472,
28.98538,
29.03306,
29.03354,
28.98203,
28.97944,
28.85305,
28.8546,
28.6807,
28.67927,
28.42698,
28.4244,
28.34461,
28.34342,
28.35712,
28.35658,
28.45293,
28.45387,
28.60507,
28.60487,
28.7825,
28.78357,
28.93272,
28.92841,
29.0057,
29.00754,
29.00252,
29.00061,
28.90307,
28.90307,
28.74842,
28.75265,
28.57432,
28.57146,
36.52092,
36.52062,
36.39033,
36.38968,
36.34532,
36.35068,
36.39272,
36.39102,
36.54306,
36.54188,
36.70961,
36.71283,
36.88059,
36.87703,
36.99957,
37.00071,
37.04498,
37.04637,
36.99203,
36.99316,
36.85989,
36.86109,
36.6854,
36.69011,
36.45071,
36.45055,
36.36604,
36.367,
36.3643,
36.36707,
36.46244,
36.46293,
36.61929,
36.62719,
36.79446,
36.79625,
36.95159,
36.95004,
37.03716,
37.04306,
37.02877,
37.03404,
36.9365,
36.94012,
36.78428,
36.78255,
36.60469,
36.59724,
44.56472,
44.48045,
44.42609,
44.40902,
44.42067,
44.46978,
44.53207,
44.62403,
44.7233,
44.83733,
44.92648,
45.00663,
45.06509,
45.09456,
45.08681,
45.05116,
44.97683,
44.87434,
44.77435,
44.66248,
44.5065,
44.43155,
44.38596,
44.37645,
44.39271,
44.45573,
44.55634,
44.65455,
44.76519,
44.88524,
44.99472,
45.06013,
45.11044,
45.12323,
45.09473,
45.03568,
44.94655,
44.84013,
44.7262,
44.60649,
28.54307,
28.53978,
28.37986,
28.38069,
28.3085,
28.30861,
28.33249,
28.33258,
28.45276,
28.44908,
28.62764,
28.62801,
28.81918,
28.81943,
28.97287,
28.97294,
29.04827,
29.04526,
29.03166,
29.03373,
28.91188,
28.9119,
28.73122,
28.72814,
28.43904,
28.44193,
28.33942,
28.33967,
28.32513,
28.32458,
28.40454,
28.40423,
28.56016,
28.56277,
28.74083,
28.739,
28.90719,
28.90698,
29.01315,
29.01158,
29.03094,
29.02251,
28.94575,
28.94831,
28.79321,
28.79008,
28.61182,
28.60896,
36.54475,
36.54459,
36.39915,
36.38847,
36.33261,
36.33001,
36.36843,
36.36417,
36.50058,
36.49754,
36.66968,
36.66916,
36.85181,
36.85267,
36.99269,
36.99256,
37.05802,
37.05115,
37.02817,
37.02642,
36.90986,
36.90785,
36.72646,
36.72665,
36.4523,
36.45098,
36.34835,
36.34761,
36.33905,
36.34332,
36.42167,
36.42202,
36.56582,
36.56661,
36.76255,
36.76447,
36.9409,
36.93532,
37.04665,
37.03984,
37.05062,
37.05308,
36.97297,
36.97205,
36.81564,
36.81074,
36.69869,
36.63268,
44.60563,
44.51262,
44.4314,
44.39642,
44.38302,
44.41082,
44.46672,
44.55621,
44.66161,
44.78568,
44.90059,
44.98902,
45.05563,
45.10845,
45.12468,
45.09292,
45.02158,
44.93347,
44.83855,
44.72215,
44.55023,
44.45789,
44.38711,
44.36167,
44.36659,
44.41821,
44.49796,
44.59949,
44.71354,
44.84377,
44.94785,
45.04256,
45.10179,
45.14234,
45.12624,
45.07907,
45.00238,
44.897,
44.77934,
44.65274};
Double_t rdzTIDp_fy33[408] = {
167.3198,
171.7447,
183.0204,
208.4273,
193.4538,
239.1534,
194.6163,
239.0945,
216.0008,
222.101,
195.588,
202.3006,
155.5044,
154.5115,
130.8024,
130.8022,
121.2074,
121.4361,
124.3205,
129.6608,
117.8858,
121.7754,
131.7417,
134.182,
180.2981,
179.6109,
216.1406,
212.5541,
232.0271,
231.1145,
214.7897,
208.4589,
203.1507,
199.5647,
168.2997,
165.1726,
145.9608,
142.8322,
128.5042,
124.9944,
123.3748,
108.9564,
110.173,
108.2659,
111.3582,
113.6474,
142.4707,
139.1899,
169.7193,
168.5766,
227.4279,
227.504,
254.2181,
247.1225,
244.9199,
233.6262,
230.1143,
221.5713,
196.1499,
191.5675,
164.0906,
166.3023,
148.3459,
149.1847,
125.5981,
128.4203,
109.036,
111.8588,
116.9689,
117.8099,
126.3737,
125.1528,
193.344,
185.7904,
231.2821,
239.2921,
235.9951,
242.174,
230.269,
231.8701,
207.8746,
211.3064,
178.5575,
182.3715,
159.8481,
159.6972,
123.5082,
125.1102,
112.3899,
114.9074,
105.3698,
105.9783,
119.7504,
120.361,
138.7757,
143.0478,
198.833,
214.8501,
216.4396,
238.5075,
268.1523,
258.3759,
230.081,
204.6728,
204.1972,
195.3783,
170.0814,
142.4711,
133.3265,
116.7528,
124.4883,
117.9321,
116.402,
109.0807,
130.8402,
175.2098,
209.847,
211.2976,
222.0205,
251.5636,
274.7836,
253.812,
220.7833,
200.9379,
200.9103,
187.8604,
165.3866,
137.9964,
123.8433,
114.4394,
123.1116,
110.893,
107.839,
125.3225,
158.3066,
184.0148,
169.8368,
179.7552,
186.9865,
192.2508,
211.3817,
219.1633,
219.8683,
232.1506,
216.0787,
217.3743,
207.8706,
222.6706,
187.4638,
193.2625,
152.9218,
157.2697,
140.3531,
143.1754,
149.1084,
156.9711,
127.0402,
133.6774,
147.6068,
158.5928,
170.5325,
164.9622,
191.7265,
191.9547,
210.7453,
202.4296,
217.2339,
202.8144,
209.7904,
201.0167,
198.5166,
190.3528,
161.9838,
156.2614,
136.6676,
126.7486,
137.2521,
128.5539,
130.9961,
119.4001,
129.2069,
124.6291,
160.7036,
152.4628,
180.0182,
179.6378,
202.5539,
196.3738,
214.3876,
212.0976,
197.2308,
195.6292,
188.3011,
183.9508,
191.416,
194.391,
175.4586,
176.8315,
150.4064,
145.5233,
133.6854,
132.9987,
130.6251,
128.4122,
122.3113,
115.9791,
138.1997,
133.0122,
170.2996,
172.5121,
193.8266,
201.3799,
208.605,
208.9098,
192.7365,
184.8025,
194.4476,
184.3785,
188.7825,
184.4334,
157.3288,
153.0564,
126.7876,
119.5396,
116.8111,
119.1742,
105.3696,
110.1761,
104.794,
109.4473,
152.5094,
161.1272,
183.7971,
205.0801,
185.9186,
205.0115,
226.7939,
265.9249,
254.1819,
225.9537,
212.4314,
198.4267,
192.5088,
161.1504,
127.0669,
110.329,
125.6257,
151.2705,
135.5458,
128.8336,
138.4647,
169.6374,
189.5471,
185.2799,
186.3098,
217.2269,
248.3083,
258.693,
235.1994,
203.6034,
200.8272,
194.1894,
138.4537,
122.8884,
108.198,
113.1389,
140.1169,
149.0378,
128.3524,
122.9415,
152.7289,
179.8125,
160.7612,
169.612,
155.1737,
160.1338,
129.5966,
141.7278,
132.282,
133.6532,
120.8626,
130.5502,
114.4084,
121.6571,
115.9055,
124.9082,
109.0558,
117.3726,
91.60586,
105.644,
101.8135,
108.9094,
107.3611,
117.8891,
132.8853,
134.564,
155.886,
154.3597,
149.3831,
137.7095,
140.8575,
131.7027,
123.6931,
119.4204,
108.1661,
99.23592,
112.6063,
105.9688,
110.9426,
105.9073,
99.5134,
88.22195,
94.6879,
85.83776,
110.7085,
107.732,
109.5316,
108.845,
140.9442,
133.0089,
183.5321,
179.2592,
196.6035,
195.84,
173.1135,
171.2813,
158.0156,
164.0425,
152.6004,
155.7269,
149.299,
148.3067,
152.9472,
153.7101,
120.9565,
128.1282,
107.6742,
100.2001,
93.16927,
100.0362,
111.7893,
115.2997,
153.6862,
168.7172,
186.7811,
189.2221,
173.2228,
175.8925,
157.179,
154.6618,
149.241,
148.4026,
144.3211,
144.6266,
141.9281,
150.2449,
147.6382,
142.6796,
110.8433,
107.4101,
103.7659,
104.6059,
105.0707,
103.9259,
142.1093,
137.9894,
155.953,
167.8557,
195.2468,
185.5563,
181.5723,
172.2079,
206.8081,
226.9369,
227.9407,
180.6351,
164.0642,
128.0854,
140.1703,
127.8151,
107.1549,
102.0232,
117.9258,
133.2719,
127.0893,
126.6265,
139.5366,
157.2831,
195.1219,
180.8586,
178.2276,
195.5644,
226.7209,
234.3581,
192.9342,
164.3944,
145.8969,
138.5759,
135.0995,
119.612,
97.06743,
108.4924,
125.7809,
132.6441,
121.2661,
131.4237,
149.992,
176.9947};
graph = new TGraph(408,rdzTIDp_fx33,rdzTIDp_fy33);
graph->SetName("rdzTIDp");
graph->SetTitle("TID at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(4);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzTIBp_fx34[1362] = {
23.35734,
23.57722,
23.4385,
23.65866,
23.52421,
23.74446,
23.3166,
23.53957,
23.38934,
23.60786,
23.46615,
23.68741,
23.31085,
23.52127,
23.37704,
23.59381,
23.42614,
23.64791,
23.42192,
23.6416,
23.42843,
23.6436,
23.41368,
23.6326,
23.35802,
23.57873,
23.36095,
23.58344,
23.37289,
23.59761,
23.29953,
23.52085,
23.29533,
23.51442,
23.31718,
23.53802,
23.31312,
23.53776,
23.30662,
23.5274,
23.32463,
23.54691,
23.38487,
23.60983,
23.36759,
23.5909,
23.35876,
23.58457,
23.49259,
23.71688,
23.47193,
23.69642,
23.44457,
23.66387,
23.54682,
23.77292,
23.53506,
23.75783,
23.5211,
23.74593,
23.56022,
23.78275,
23.57284,
23.7948,
23.59737,
23.81491,
23.61164,
23.83531,
23.602,
23.83284,
23.64094,
23.86879,
23.68128,
23.9021,
23.67556,
23.90487,
23.71222,
23.93749,
26.83708,
26.62234,
26.8814,
26.66756,
26.96265,
26.75002,
26.78163,
26.56065,
26.81809,
26.58619,
26.90175,
26.68254,
26.75509,
26.53526,
26.79499,
26.57477,
26.86028,
26.64569,
26.78168,
26.56171,
26.79257,
26.58026,
26.79862,
26.58517,
26.79258,
26.57998,
26.8339,
26.63475,
26.7987,
26.59499,
26.78286,
26.56008,
26.79592,
26.58214,
26.7888,
26.57101,
26.76163,
26.5371,
26.72436,
26.50161,
26.74862,
26.52427,
26.77708,
26.55534,
26.72606,
26.50038,
26.73763,
26.51734,
26.77355,
26.55179,
26.78087,
26.5574,
26.80515,
26.57979,
26.8575,
26.63644,
26.88617,
26.65618,
26.89593,
26.67368,
26.95199,
26.7302,
26.99178,
26.77021,
26.95613,
26.73793,
26.97867,
26.76446,
26.99734,
26.7835,
27.0083,
26.78559,
27.01733,
26.78736,
27.02801,
26.80747,
27.08091,
26.85108,
27.07298,
26.85354,
27.08786,
26.86938,
27.14411,
26.92576,
27.15762,
26.92971,
27.16527,
26.94899,
27.18474,
26.97234,
23.8713,
24.09948,
23.84472,
24.07112,
23.86577,
24.09616,
24.03063,
24.25748,
24.02372,
24.2429,
24.02497,
24.2424,
24.1968,
24.41675,
24.1838,
24.40774,
24.16147,
24.38727,
24.36024,
24.58192,
24.31255,
24.53767,
24.26831,
24.48709,
24.45958,
24.68309,
24.38732,
24.61266,
24.31436,
24.53645,
24.45224,
24.67983,
24.38166,
24.60747,
24.32398,
24.54573,
24.39543,
24.61309,
24.3241,
24.54329,
24.30062,
24.5255,
24.324,
24.54449,
24.27244,
24.49117,
24.2615,
24.478,
24.23177,
24.45563,
24.21015,
24.43257,
24.19115,
24.41665,
24.07528,
24.29223,
24.0578,
24.27358,
24.06512,
24.28556,
23.89423,
24.11243,
23.8794,
24.09958,
23.91439,
24.13626,
23.72482,
23.94524,
23.74639,
23.96177,
23.81758,
24.03458,
23.52883,
23.75319,
23.57729,
23.79513,
23.65854,
23.87411,
27.31951,
27.10566,
27.31529,
27.09811,
27.37104,
27.10661,
27.45991,
27.24459,
27.44476,
27.22708,
27.46004,
27.23543,
27.61262,
27.39769,
27.59018,
27.3765,
27.53178,
27.31354,
27.73973,
27.52363,
27.72213,
27.49888,
27.66687,
27.45107,
27.82927,
27.61227,
27.80968,
27.59251,
27.72398,
27.50513,
27.86226,
27.64607,
27.81311,
27.58385,
27.69227,
27.48176,
27.83926,
27.622,
27.75161,
27.53495,
27.70428,
27.48749,
27.82416,
27.6044,
27.74142,
27.53307,
27.71812,
27.49447,
27.72999,
27.50878,
27.69356,
27.47461,
27.6846,
27.47949,
27.63861,
27.43088,
27.60085,
27.38762,
27.57238,
27.33728,
27.50443,
27.28753,
27.49338,
27.27429,
27.50113,
27.29011,
27.36262,
27.14716,
27.36344,
27.15565,
27.4108,
27.19178,
27.22679,
27.00905,
27.24564,
27.02702,
27.27572,
27.06008,
27.05882,
26.84018,
27.1067,
26.89045,
27.17725,
26.95675,
26.93713,
26.71899,
27.01595,
26.90528,
27.08735,
26.87011,
32.13894,
32.36449,
32.07682,
32.29796,
32.03685,
32.25848,
32.01309,
32.23428,
31.98074,
32.20914,
31.97523,
32.19975,
31.87844,
32.10579,
31.91807,
32.13455,
31.90247,
32.12391,
31.74414,
31.96643,
31.75956,
31.98065,
31.79695,
32.02161,
31.58704,
31.81433,
31.58942,
31.80943,
31.66525,
31.88787,
31.45234,
31.67339,
31.4839,
31.70091,
31.60325,
31.8219,
31.35528,
31.57557,
31.44679,
31.67287,
31.55177,
31.77227,
31.32327,
31.54773,
31.46517,
31.68025,
31.55939,
31.78182,
31.34053,
31.56807,
31.4736,
31.70341,
31.57796,
31.80565,
31.3633,
31.58192,
31.49727,
31.71667,
31.60001,
31.82599,
31.45739,
31.68089,
31.52714,
31.74903,
31.63993,
31.85721,
31.58724,
31.80757,
31.60632,
31.82598,
31.71461,
31.93394,
31.77255,
31.9962,
31.78666,
32.00745,
31.86128,
32.0868,
31.92988,
32.15064,
31.96216,
32.18709,
31.98565,
32.20514,
32.11364,
32.33274,
32.13047,
32.35111,
32.09986,
32.32201,
32.23139,
32.45204,
32.21701,
32.43444,
32.20944,
32.43113,
32.35619,
32.58412,
32.29237,
32.51266,
32.26379,
32.49011,
35.67596,
35.46017,
35.59679,
35.37331,
35.53327,
35.30372,
35.53632,
35.3092,
35.45943,
35.23977,
35.4453,
35.22667,
35.41372,
35.19047,
35.38595,
35.16943,
35.35248,
35.13366,
35.2948,
35.07297,
35.31857,
35.09995,
35.30391,
35.08011,
35.16864,
34.95038,
35.20941,
34.9827,
35.26239,
35.04143,
34.98922,
34.78846,
35.05447,
34.83696,
35.18572,
34.95823,
34.90246,
34.68053,
35.00487,
34.7846,
35.13559,
34.91514,
34.87036,
34.65217,
34.97888,
34.76194,
35.12273,
34.8983,
34.89077,
34.66776,
35.00919,
34.78901,
35.12721,
34.90888,
34.92722,
34.71051,
35.03496,
34.81411,
35.12833,
34.90807,
34.94525,
34.72203,
35.06655,
34.84793,
35.14355,
34.9198,
35.0039,
34.78508,
35.07204,
35.00518,
35.15478,
34.93576,
35.01903,
34.80096,
35.09945,
34.87701,
35.23679,
35.01273,
35.16061,
34.94013,
35.2106,
34.98985,
35.27996,
35.06236,
35.30915,
35.08737,
35.3344,
35.11086,
35.36854,
35.14122,
35.48182,
35.25885,
35.46633,
35.24701,
35.46156,
35.23869,
35.60011,
35.37753,
35.56567,
35.3413,
35.52205,
35.29942,
35.72297,
35.4988,
35.6853,
35.46538,
35.6269,
35.40322,
35.86413,
35.64439,
35.80706,
35.58505,
35.72649,
35.50542,
32.40521,
32.62631,
32.36297,
32.58585,
32.31458,
32.53579,
32.47143,
32.68707,
32.42391,
32.64302,
32.40355,
32.62679,
32.50076,
32.7216,
32.49839,
32.71242,
32.4638,
32.67833,
32.51343,
32.73252,
32.52028,
32.73214,
32.51329,
32.72966,
32.51703,
32.7307,
32.52501,
32.74563,
32.57042,
32.78565,
32.59289,
32.80946,
32.54242,
32.75987,
32.57601,
32.79276,
32.60214,
32.82395,
32.58995,
32.81434,
32.59724,
32.81474,
32.62556,
32.85,
32.62098,
32.82922,
32.62085,
32.83494,
32.64617,
32.86922,
32.63189,
32.85211,
32.61753,
32.84177,
32.67843,
32.89584,
32.65641,
32.87193,
32.62502,
32.84623,
32.66123,
32.87964,
32.62392,
32.84367,
32.59695,
32.8116,
32.60872,
32.82341,
32.5645,
32.78026,
32.54427,
32.76454,
32.54693,
32.79443,
32.52039,
32.74123,
32.49125,
32.72925,
32.50114,
32.72069,
32.46991,
32.69076,
32.41931,
32.63944,
32.44034,
32.66398,
32.39957,
32.62152,
32.34813,
32.5627,
32.38297,
32.60233,
32.30853,
32.5275,
32.24641,
32.46473,
32.28571,
32.50925,
32.18581,
32.40667,
32.13149,
32.34593,
35.93383,
35.71495,
35.86995,
35.64377,
35.79283,
35.56757,
35.94322,
35.71958,
35.89294,
35.66586,
35.84806,
35.62329,
35.95957,
35.73412,
35.92412,
35.69869,
35.88827,
35.66911,
35.99106,
35.7703,
35.96142,
35.73873,
35.95035,
35.73015,
35.9956,
35.77959,
35.98679,
35.77034,
35.99449,
35.76921,
36.02288,
35.79427,
35.984,
35.76681,
36.038,
35.80948,
36.00652,
35.78511,
36.00867,
35.79014,
36.06738,
35.84484,
36.06084,
35.83901,
36.05537,
35.83782,
36.09517,
35.87605,
36.07562,
35.85933,
36.0796,
35.85534,
36.11174,
35.88673,
36.12551,
35.90466,
36.10297,
35.88818,
36.12746,
35.9025,
36.12449,
35.89864,
36.1086,
35.88375,
36.0867,
35.87016,
36.09881,
35.76169,
36.06467,
35.75638,
36.0708,
35.775,
36.04518,
35.82457,
36.03563,
35.81521,
36.03485,
35.80339,
36.05902,
35.84032,
36.01235,
35.79165,
35.98386,
35.7515,
36.01538,
35.78811,
35.95293,
35.72973,
35.91661,
35.69348,
35.97747,
35.7518,
35.90062,
35.67863,
35.84966,
35.6279,
35.92949,
35.70655,
35.82296,
35.60322,
35.75658,
35.53669,
35.86132,
35.63734,
35.74511,
35.52441,
35.67406,
35.44816,
35.79721,
35.57552,
35.70805,
35.48853,
35.59748,
35.37791,
39.78863,
39.89111,
40.02466,
39.73822,
39.83869,
39.97319,
39.71827,
39.79366,
39.92861,
40.04803,
40.02859,
40.0402,
39.80106,
39.8453,
39.87724,
39.90297,
39.89905,
39.86963,
40.01112,
39.96332,
39.8829,
40.06255,
40.01893,
39.89919,
40.03031,
39.9563,
39.88095,
40.05179,
39.95346,
39.88568,
40.03871,
39.93573,
39.89129,
40.06161,
39.95541,
39.915,
40.10064,
40.02738,
39.95787,
40.15669,
40.086,
40.00891,
40.19464,
40.13614,
40.0382,
40.18768,
40.13424,
40.07579,
40.1366,
40.12311,
40.09725,
40.06319,
40.09483,
40.12889,
40.06366,
40.09725,
40.15389,
40.0806,
40.12649,
40.17844,
40.10413,
40.15857,
40.23301,
40.10796,
40.15113,
40.2532,
42.89428,
42.99136,
43.12983,
42.88223,
42.94899,
43.09334,
42.89793,
42.93477,
43.04928,
42.94129,
42.96209,
43.03217,
43.0057,
42.96688,
43.03936,
43.06958,
43.03934,
42.99995,
43.15449,
43.11513,
43.0419,
43.19887,
43.1362,
43.06539,
43.21466,
43.1615,
43.07096,
43.23758,
43.1407,
43.07072,
43.27,
43.16011,
43.07175,
43.27451,
43.16099,
43.0523,
43.30579,
43.18582,
43.07238,
43.32667,
43.23162,
43.14654,
43.34749,
43.28944,
43.18959,
43.3514,
43.27914,
43.19324,
43.32933,
43.2683,
43.21768,
43.30474,
43.2434,
43.25362,
43.28597,
43.25261,
43.2991,
43.2627,
43.22555,
43.28136,
43.27322,
43.2604,
43.31604,
43.29558,
43.30965,
43.3862,
43.32859,
43.37761,
43.45141,
40.20368,
40.26362,
40.3504,
40.30914,
40.35128,
40.4355,
40.41463,
40.44777,
40.512,
40.50325,
40.52761,
40.57916,
40.59911,
40.6284,
40.65496,
40.70623,
40.71312,
40.7101,
40.82329,
40.79483,
40.74937,
40.90274,
40.84558,
40.76675,
40.91299,
40.83081,
40.76411,
40.91207,
40.82763,
40.76343,
40.89486,
40.81929,
40.76347,
40.8669,
40.8012,
40.7606,
40.837,
40.80118,
40.75052,
40.77863,
40.74646,
40.68696,
40.73029,
40.69847,
40.66313,
40.59587,
40.59297,
40.55683,
40.47169,
40.48881,
40.49659,
40.31786,
40.36744,
40.40993,
40.17137,
40.2495,
40.32253,
40.0661,
40.15283,
40.25105,
39.9479,
40.03062,
40.15422,
39.80767,
39.92288,
40.06445,
43.3835,
43.4141,
43.4731,
43.46833,
43.49596,
43.56425,
43.58451,
43.56895,
43.63514,
43.69106,
43.69629,
43.71523,
43.77819,
43.75794,
43.77674,
43.86058,
43.81942,
43.81756,
43.95848,
43.92821,
43.88089,
44.01453,
43.95,
43.90588,
44.07315,
44.03201,
43.95325,
44.1132,
44.03669,
43.95845,
44.11895,
44.0451,
43.9814,
44.10323,
44.01618,
43.94739,
44.06939,
44.00444,
43.94208,
43.89117,
43.86402,
43.84789,
43.95988,
43.898,
43.84504,
43.82803,
43.77263,
43.743,
43.71765,
43.69584,
43.68524,
43.59562,
43.59615,
43.60567,
43.47754,
43.51131,
43.56049,
43.3567,
43.38945,
43.44487,
43.23149,
43.28594,
43.39212,
43.12572,
43.21345,
43.33733,
43.35371,
43.18463,
43.27076,
48.0751,
48.04994,
48.04356,
48.04893,
48.03688,
48.0103,
48.04005,
48.0317,
48.02376,
47.99961,
48.00881,
48.00362,
47.97672,
47.98831,
47.93718,
47.97941,
47.94089,
47.91373,
47.9448,
47.88119,
47.88576,
47.92974,
47.83232,
47.8372,
47.94666,
47.84396,
47.82115,
47.97588,
47.86983,
47.82335,
47.99445,
47.92258,
47.86229,
48.02268,
47.95766,
47.90881,
48.06334,
47.97928,
47.91462,
48.06553,
47.98803,
47.92557,
48.09851,
48.01485,
47.92834,
48.10733,
48.02069,
47.93938,
48.11569,
47.9874,
47.91644,
48.1074,
47.95434,
47.95647,
48.1107,
47.95294,
47.99033,
48.17661,
48.0452,
48.03289,
48.20968,
48.15427,
48.12377,
48.22911,
48.2339,
48.20027,
48.26118,
48.3085,
48.25959,
48.29729,
48.31039,
48.32078,
48.30141,
48.31848,
48.34405,
48.34108,
48.34977,
48.36037,
51.16004,
51.19824,
51.20378,
51.22713,
51.22309,
51.20796,
51.19262,
51.17706,
51.17383,
51.19579,
51.17505,
51.13881,
51.17417,
51.15326,
51.10626,
51.13655,
51.102,
51.07243,
51.10334,
51.06017,
51.06322,
51.07845,
51.03221,
51.02298,
51.08512,
51.01035,
50.98219,
51.06619,
50.99396,
50.9481,
51.11206,
51.00426,
50.95211,
51.12941,
51.04934,
50.97178,
51.15893,
51.07013,
50.97567,
51.1952,
51.09642,
51.00052,
51.19691,
51.12181,
51.0014,
51.2308,
51.15617,
51.0476,
51.21945,
51.14331,
51.05229,
51.20381,
51.13012,
51.06184,
51.21536,
51.16779,
51.1057,
51.22772,
51.16507,
51.15163,
51.26535,
51.22128,
51.17933,
51.32006,
51.27548,
51.23124,
51.35042,
51.3469,
51.3185,
51.44167,
51.39875,
51.37141,
51.44985,
51.43777,
51.4388,
51.48751,
51.48268,
51.46829,
51.59156,
51.59072,
51.57129,
51.52707,
51.52324,
51.51539,
48.39002,
48.36476,
48.36139,
48.40186,
48.39317,
48.38454,
48.41514,
48.40893,
48.43857,
48.40982,
48.43429,
48.43574,
48.40654,
48.44085,
48.44846,
48.40359,
48.41067,
48.46988,
48.4091,
48.4317,
48.46228,
48.42033,
48.44436,
48.47946,
48.41564,
48.46355,
48.49723,
48.41685,
48.43908,
48.56644,
48.4245,
48.4591,
48.5012,
48.4323,
48.46408,
48.49493,
48.41959,
48.46377,
48.52304,
48.3997,
48.47337,
48.54637,
48.39902,
48.46267,
48.52309,
48.38139,
48.44594,
48.4822,
48.36415,
48.42496,
48.48692,
48.33631,
48.37795,
48.43196,
48.2822,
48.34358,
48.38638,
48.27877,
48.29545,
48.3338,
48.22065,
48.26376,
48.28858,
48.21022,
48.22946,
48.24666,
48.17161,
48.20225,
48.19261,
48.15831,
48.14381,
48.15096,
48.1431,
48.13693,
48.11934,
48.126,
48.08309,
48.04969,
51.54268,
51.57365,
51.53549,
51.56879,
51.5806,
51.56904,
51.55639,
51.58102,
51.59744,
51.5758,
51.59464,
51.61125,
51.58469,
51.61414,
51.62904,
51.59748,
51.63005,
51.66534,
51.59016,
51.63692,
51.67757,
51.6279,
51.66344,
51.68761,
51.65467,
51.69717,
51.71056,
51.6582,
51.694,
51.72786,
51.65916,
51.70504,
51.74174,
51.679,
51.71595,
51.75117,
51.67055,
51.73019,
51.76364,
51.6561,
51.72052,
51.74743,
51.65955,
51.69009,
51.76282,
51.61558,
51.66054,
51.71395,
51.60918,
51.63824,
51.70293,
51.5932,
51.63754,
51.69194,
51.55577,
51.62943,
51.66264,
51.52226,
51.57393,
51.62646,
51.47486,
51.54996,
51.59352,
51.42704,
51.48727,
51.53447,
51.41304,
51.45042,
51.48435,
51.38192,
51.41071,
51.42374,
51.36359,
51.37543,
51.38154,
51.3449,
51.33985,
51.33027,
51.33833,
51.31725,
51.30035,
51.29893,
51.27356,
51.26491};
Double_t rdzTIBp_fy34[1362] = {
98.34487,
97.76353,
98.51294,
95.70049,
98.56764,
93.50435,
94.65406,
92.75915,
94.84093,
91.41884,
94.7794,
89.98474,
90.994,
89.20873,
90.91286,
87.33639,
90.96229,
86.73842,
87.10799,
86.57967,
87.34028,
87.07806,
87.11086,
85.78131,
83.89693,
84.16201,
84.0165,
84.74011,
83.90823,
83.25944,
81.09189,
81.73022,
81.07893,
82.06047,
81.013,
81.34608,
78.89471,
78.07351,
78.77055,
79.24537,
78.74285,
78.98927,
77.52914,
75.8185,
77.4021,
77.56094,
77.29993,
79.21413,
76.77883,
76.96182,
76.82568,
78.23045,
76.75903,
79.04066,
77.12396,
76.57063,
77.16533,
78.17652,
77.16492,
79.58846,
78.34296,
77.58953,
78.28802,
79.93769,
78.32413,
81.04118,
80.38697,
78.57497,
80.37199,
80.06606,
80.33049,
80.90333,
83.05196,
80.24215,
83.09467,
81.52283,
83.12617,
84.07307,
99.3803,
101.4783,
99.40096,
98.55788,
99.47092,
96.07209,
95.88992,
97.13428,
95.94894,
94.62031,
96.13578,
92.92221,
92.27352,
92.87836,
92.28633,
91.39887,
92.31895,
89.983,
88.67257,
88.9352,
88.61334,
88.26289,
88.73042,
87.73122,
85.21111,
84.78793,
85.12624,
83.2562,
85.19936,
83.25207,
81.96522,
81.40782,
81.90166,
80.8738,
81.92122,
80.96801,
79.13319,
78.72987,
79.21081,
78.39746,
79.17639,
79.14539,
76.87538,
76.0696,
77.03305,
76.83871,
77.05563,
77.56774,
75.49542,
74.40579,
75.53849,
76.19421,
75.48574,
77.34296,
74.75954,
73.32188,
74.69915,
74.84972,
74.69818,
76.37567,
74.79179,
73.22042,
74.66986,
74.62127,
74.67439,
76.01711,
75.52804,
73.3327,
75.53802,
74.73567,
75.50538,
76.66752,
77.01124,
73.73133,
77.09727,
75.29362,
76.97819,
76.70338,
79.21634,
75.04163,
79.30575,
77.92913,
79.30152,
78.61092,
81.87225,
76.8325,
82.02453,
77.73549,
81.91074,
79.35744,
86.26174,
79.68866,
86.23003,
80.99328,
86.22759,
81.67663,
89.74178,
83.35877,
89.78101,
84.65848,
89.70529,
85.4605,
93.60832,
87.74316,
93.63019,
89.07981,
93.59664,
89.46562,
97.16344,
94.65876,
97.24905,
93.88523,
97.25773,
94.88696,
100.752,
98.38707,
100.9375,
98.83852,
100.5328,
99.15929,
103.7167,
103.7249,
103.6346,
104.0628,
103.3429,
103.81,
105.914,
105.9149,
105.6801,
106.1955,
105.6902,
107.3879,
107.2002,
109.2535,
107.2719,
109.0965,
107.0932,
108.3455,
107.8963,
111.7925,
107.8124,
110.6406,
107.6349,
110.0053,
107.4455,
110.5332,
107.3182,
111.4946,
107.2519,
109.0636,
106.2653,
111.6722,
106.1174,
109.656,
106.1289,
107.4924,
104.1839,
108.6082,
104.1908,
107.4704,
104.1687,
105.2744,
101.5167,
104.7098,
101.6221,
103.8032,
101.7148,
101.9882,
85.08508,
80.70449,
85.05271,
81.24474,
85.03819,
81.77685,
88.50562,
82.96905,
88.5183,
83.45415,
88.57213,
84.69205,
92.22136,
87.57662,
92.15364,
87.52785,
92.16664,
88.70514,
95.78276,
91.8566,
95.76287,
91.36623,
95.81329,
92.61714,
99.247,
96.54302,
99.31039,
95.53825,
99.42553,
97.75122,
102.5854,
100.953,
102.759,
100.7755,
102.7234,
101.3852,
105.346,
105.2278,
105.2955,
105.2104,
105.3069,
105.2215,
107.526,
107.9043,
107.5662,
107.6051,
107.4606,
106.9486,
109.0805,
110.894,
109.0439,
110.5435,
109.0354,
110.229,
109.8361,
112.8184,
109.7721,
112.2722,
109.7847,
109.6083,
109.8028,
113.0901,
109.9069,
112.9884,
109.8083,
111.4788,
109.115,
113.6893,
109.0704,
112.3538,
109.0498,
109.6434,
107.6449,
111.8532,
107.5788,
109.5355,
107.6129,
107.7405,
105.459,
109.1868,
105.4471,
106.9587,
105.4097,
104.8417,
102.7408,
105.0805,
102.891,
102.5713,
102.8147,
100.6374,
101.1855,
101.2284,
101.1234,
101.1891,
101.1013,
101.1482,
97.55439,
97.57193,
97.49064,
97.50278,
97.47488,
97.44798,
93.77163,
93.76234,
93.74632,
93.71804,
93.72543,
93.66,
89.93559,
89.90269,
89.8952,
89.86671,
89.84486,
89.81716,
86.18121,
86.12049,
86.16324,
86.11265,
86.0996,
86.06851,
82.81836,
81.37404,
82.65226,
81.73941,
82.2095,
80.91565,
79.56675,
77.9152,
79.27416,
77.93857,
79.13473,
77.4548,
76.78965,
75.53813,
76.4911,
74.40323,
76.21501,
73.46027,
74.53906,
74.07631,
74.38177,
73.45129,
74.23687,
72.92451,
72.86864,
73.48399,
72.68272,
71.93409,
72.30964,
71.21804,
71.87682,
72.75459,
71.73925,
70.73285,
71.52123,
69.04575,
71.66338,
73.38863,
71.47401,
71.31774,
71.36935,
69.76419,
71.99989,
73.9474,
71.98044,
72.76926,
71.79523,
70.33286,
73.11827,
75.13589,
73.09241,
73.58656,
73.02531,
72.08846,
74.85835,
76.40549,
74.82036,
74.54268,
74.94286,
73.46399,
77.34255,
78.52563,
77.41955,
77.13552,
77.25317,
76.1104,
80.33214,
81.96505,
80.23566,
79.94626,
80.18518,
79.64635,
102.2282,
102.4968,
102.1051,
103.6591,
101.8321,
105.4066,
98.85927,
98.34151,
98.62975,
100.2973,
98.55586,
101.1392,
95.06307,
93.57298,
95.00247,
95.37316,
94.8839,
96.36034,
91.10257,
89.05128,
91.24169,
91.07914,
91.1245,
90.88454,
87.37467,
86.4232,
87.29559,
87.32459,
87.26607,
89.35622,
83.66641,
82.36345,
83.73746,
83.54356,
83.60722,
85.85258,
80.43438,
79.09987,
80.38261,
80.26955,
80.17355,
81.54823,
77.4566,
76.14784,
77.29915,
76.12476,
77.12788,
77.13457,
74.71626,
74.46321,
74.55095,
74.03138,
74.41341,
73.6653,
72.59464,
72.14935,
72.45816,
72.28931,
72.31933,
70.12917,
70.82573,
70.7324,
70.74324,
69.97219,
70.67888,
70.17557,
69.77236,
70.36307,
69.70636,
69.75494,
69.64381,
69.26302,
69.3253,
70.96429,
69.34889,
69.2805,
69.13335,
66.73814,
69.39503,
70.45023,
69.51323,
69.87166,
69.33378,
66.75507,
70.34271,
71.55812,
70.25184,
70.38938,
70.23489,
69.68593,
71.73081,
73.29572,
71.66979,
71.6991,
71.57662,
71.49236,
73.75947,
75.29308,
73.63177,
75.19329,
73.58087,
73.65504,
76.19574,
78.05817,
76.20857,
77.08794,
76.08222,
75.81767,
79.08016,
82.17598,
78.96738,
79.16485,
78.68911,
79.15315,
83.62788,
84.18255,
83.61655,
84.67581,
83.49468,
85.50788,
87.18644,
88.12815,
87.25851,
88.27831,
87.1291,
88.41484,
90.93002,
91.25526,
91.03084,
92.29942,
91.03812,
92.97405,
94.78237,
95.47643,
94.89765,
95.15706,
94.88051,
96.81723,
98.52755,
99.29502,
98.4694,
98.63448,
98.53726,
98.95147,
102.2873,
102.6073,
102.1904,
102.0937,
102.0507,
101.7821,
105.3516,
106.0966,
105.34,
105.7822,
105.3176,
105.0546,
108.1373,
108.4696,
108.126,
107.9669,
108.0489,
106.9162,
110.3655,
111.5307,
110.413,
110.3559,
110.3004,
110.3953,
112.079,
112.9969,
112.0106,
111.6188,
112.0528,
111.2026,
112.9851,
113.5975,
113.0024,
112.791,
112.9864,
111.3457,
113.2927,
114.0545,
113.2287,
113.0458,
113.1786,
112.9582,
112.6925,
114.4482,
112.8449,
112.8217,
112.6399,
111.3566,
111.7496,
112.8638,
111.7583,
111.8785,
111.647,
109.8031,
110.0366,
110.6538,
110.0288,
108.8985,
109.8043,
108.7676,
107.6092,
107.9072,
107.4738,
106.921,
107.3788,
106.5013,
104.5238,
104.5858,
104.5021,
104.8128,
104.407,
104.7167,
82.44066,
83.68866,
82.21225,
83.86229,
82.35075,
85.79333,
86.07791,
88.00598,
85.92062,
88.25978,
85.93466,
89.79893,
89.72345,
91.20408,
89.75274,
91.0619,
89.68561,
92.25224,
93.63325,
94.84539,
93.6007,
95.21381,
93.64175,
95.10164,
97.35736,
98.54749,
97.35732,
98.9668,
97.35321,
98.2018,
100.972,
102.1511,
100.9454,
101.2929,
101.0049,
101.9271,
104.304,
105.2109,
104.3431,
105.6782,
104.3246,
104.5923,
107.4623,
108.8215,
107.5019,
108.183,
107.4082,
105.6112,
110.0968,
110.7901,
110.0639,
110.0537,
110.0464,
109.6169,
112.254,
112.3691,
112.2334,
111.6045,
112.2922,
110.8248,
113.8565,
113.9076,
113.8941,
112.8758,
113.8158,
113.2938,
114.9355,
114.7008,
114.8895,
114.6934,
114.887,
114.6965,
115.3557,
115.9055,
115.324,
114.5192,
115.3992,
113.6401,
115.1006,
115.5564,
115.1203,
114.8425,
115.1602,
113.6985,
114.3658,
114.5951,
114.3556,
113.4598,
114.3596,
113.2721,
112.969,
113.4661,
113.0169,
113.103,
112.9416,
111.7701,
110.8849,
111.2137,
110.8634,
110.9445,
110.9009,
111.5918,
108.5593,
109.0163,
108.2848,
109.5051,
108.2466,
110.2286,
105.5894,
106.241,
105.2969,
107.0454,
105.2845,
108.1024,
103.7669,
103.8217,
104.0351,
100.3532,
100.2938,
100.2427,
96.68085,
96.56048,
96.70092,
92.84784,
92.86185,
92.86396,
89.37548,
89.1572,
89.24236,
85.72005,
85.66602,
85.62587,
82.11907,
82.3437,
82.21964,
78.85477,
79.23299,
78.98857,
75.89282,
75.9439,
75.82296,
73.27755,
73.24794,
73.05222,
70.82755,
70.83778,
70.68431,
68.97908,
68.89466,
68.8174,
67.54853,
67.56017,
67.55614,
66.49895,
66.62404,
66.73286,
66.19682,
66.2506,
66.13462,
66.24326,
66.44638,
66.2497,
67.00208,
67.03047,
66.94637,
68.26516,
68.1948,
68.22057,
69.98474,
69.91552,
69.8653,
72.08456,
72.03593,
72.02412,
74.68473,
74.63531,
74.61916,
77.61619,
77.56837,
77.62402,
104.7561,
104.6942,
104.814,
100.9806,
101.0387,
101.0846,
97.35918,
97.43056,
97.2992,
93.48805,
93.52493,
93.53908,
89.64947,
89.68449,
89.72007,
85.85159,
85.90955,
85.98033,
82.16302,
82.20602,
82.271,
78.59515,
79.08319,
79.07531,
75.43605,
75.56769,
75.94135,
72.63988,
72.79883,
72.77632,
70.09779,
70.11434,
70.28105,
67.87572,
67.95938,
68.04851,
66.15514,
66.30714,
66.45362,
64.93044,
64.97657,
65.12544,
64.21103,
64.22852,
64.35783,
63.95965,
64.15126,
64.16402,
64.35799,
64.45328,
64.50552,
65.27596,
65.30455,
65.25577,
66.62861,
66.66933,
66.65748,
68.4594,
68.55039,
68.47894,
70.77621,
70.83492,
70.7644,
73.46218,
73.53246,
73.45986,
76.61279,
76.5626,
76.50886,
80.84247,
80.73702,
80.9499,
84.26653,
84.18305,
84.24236,
87.87532,
87.79345,
87.78062,
91.54974,
91.50719,
91.42035,
95.32317,
95.20295,
95.34962,
99.02544,
98.92766,
98.81306,
102.5163,
102.5593,
102.4136,
105.9544,
105.9436,
105.9164,
109.0232,
108.9212,
108.8919,
111.679,
111.5788,
111.513,
113.8782,
113.9472,
113.7638,
115.7447,
115.7354,
115.665,
117.2137,
117.1089,
117.078,
118.0422,
118.0128,
117.9844,
118.4739,
118.4624,
118.315,
118.1349,
118.2217,
118.0761,
117.4763,
117.4504,
117.4202,
116.2128,
116.1706,
116.2211,
114.5308,
114.4893,
114.5424,
112.3734,
112.4449,
112.3872,
109.9243,
109.9199,
110.0939,
106.9719,
107.07,
107.3247,
79.878,
79.82044,
79.82822,
83.42173,
83.37448,
83.32333,
87.06047,
87.07887,
86.91441,
90.91412,
90.90398,
90.90137,
94.68543,
94.72768,
94.64847,
98.45178,
98.49839,
98.46088,
102.1968,
102.2222,
102.212,
105.6982,
105.7103,
105.7562,
108.986,
109.0059,
109.0357,
111.9234,
111.9038,
111.9339,
114.4326,
114.4717,
114.4627,
116.6417,
116.5876,
116.5783,
118.3097,
118.3163,
118.2873,
119.4803,
119.4683,
119.5137,
120.2377,
120.2253,
120.2365,
120.4046,
120.4116,
120.4193,
120.0332,
120.0304,
120.0379,
119.1399,
119.1664,
119.0985,
117.7837,
117.7828,
117.7754,
115.9665,
115.966,
115.9564,
113.7217,
113.7749,
113.7918,
111.106,
111.2311,
111.0613,
108.0734,
108.1893,
108.2029,
106.5331,
106.4171,
106.256,
102.9673,
102.889,
102.9149,
99.18309,
99.33234,
99.36526,
95.54938,
95.48951,
95.42871,
91.79001,
91.62788,
92.01688,
88.02791,
87.85409,
87.88728,
84.47465,
84.16994,
84.05973,
81.18266,
80.47128,
80.64845,
77.5407,
77.22727,
77.24971,
74.18313,
74.26955,
74.21222,
71.20212,
71.28057,
71.27762,
68.66325,
68.68601,
68.49478,
66.29023,
66.40614,
66.36493,
64.4623,
64.58955,
64.34073,
62.73208,
63.05743,
63.03281,
61.74592,
61.96493,
61.903,
61.2276,
61.32624,
61.29878,
61.19523,
60.97094,
61.09662,
61.50322,
61.21676,
61.34535,
62.1304,
62.01509,
62.0304,
63.17717,
63.29833,
63.20182,
64.77956,
64.88906,
64.77251,
66.75278,
66.76595,
66.90668,
69.05576,
69.11691,
69.12908,
71.85085,
71.86075,
71.79655,
74.78709,
74.84914,
74.88266,
107.2698,
107.3336,
107.2937,
103.8494,
103.9703,
103.8878,
100.3041,
100.3847,
100.3821,
96.64904,
96.74854,
96.85445,
92.9543,
93.12068,
93.03403,
89.21912,
89.38341,
89.41558,
85.61996,
85.61999,
85.66016,
81.99258,
81.87156,
82.13835,
78.61906,
78.40789,
78.48097,
75.12704,
75.15528,
75.18925,
72.17216,
72.08868,
71.93196,
69.22779,
69.33015,
69.51422,
66.7289,
66.80373,
66.71931,
64.61485,
64.64201,
64.47916,
62.59014,
62.85579,
62.64841,
61.17242,
61.37403,
61.28424,
59.96322,
60.06787,
60.05729,
59.27953,
59.37315,
59.32585,
59.02402,
58.95852,
58.98868,
59.08774,
59.10596,
59.17296,
59.61372,
59.63859,
59.67245,
60.60491,
60.58205,
60.65405,
61.83593,
61.97976,
61.93538,
63.59887,
63.69944,
63.65693,
65.69776,
65.64159,
65.71179,
68.12804,
68.16048,
68.15751,
70.73943,
70.76956,
70.76279,
73.91884,
73.8747,
73.83423,
78.21356,
78.12463,
78.10138,
81.64406,
81.65922,
81.56193,
85.2968,
85.25948,
85.11755,
88.92221,
88.92988,
89.02351,
92.63967,
92.67983,
92.69751,
96.48619,
96.49505,
96.48382,
100.1188,
100.0893,
100.0844,
103.7671,
103.7203,
103.6405,
107.1205,
107.06,
107.0364,
110.3486,
110.3682,
109.9503,
113.2553,
113.1709,
113.1655,
115.8432,
115.824,
115.7645,
118.1489,
118.0861,
118.042,
120.0644,
120.0564,
119.9871,
121.545,
121.5297,
121.4414,
122.6196,
122.6457,
122.5757,
123.2579,
123.2631,
123.0966,
123.4517,
123.4664,
123.3004,
123.1373,
123.1961,
123.01,
122.4534,
122.4521,
122.2869,
121.249,
121.2585,
121.186,
119.7095,
119.6486,
119.5762,
117.8037,
117.6435,
117.6257,
115.3791,
115.3427,
115.2154,
112.7908,
112.5879,
112.5149,
109.8416,
109.6334,
109.5027,
77.09907,
77.1693,
77.01794,
80.49039,
80.47318,
80.46888,
84.17417,
84.02106,
84.12915,
87.73057,
87.74202,
87.69833,
91.47449,
91.37226,
91.52049,
95.24341,
95.18021,
95.17326,
99.00507,
98.8264,
98.89635,
102.4977,
102.4547,
102.5665,
105.8799,
105.9503,
105.9505,
109.2821,
109.2025,
109.2752,
112.4069,
112.3848,
112.3423,
115.1216,
115.1479,
115.143,
117.727,
117.6729,
117.71,
119.9311,
119.916,
119.9521,
121.7433,
121.8188,
121.8114,
123.4319,
123.2964,
123.3286,
124.4771,
124.4484,
124.4781,
125.2554,
125.1403,
125.1741,
125.7595,
125.4789,
125.4348,
125.4286,
125.3291,
125.3272,
124.9617,
124.7988,
124.9752,
124.0176,
123.8186,
123.8443,
122.6307,
122.4951,
122.5185,
120.832,
120.7347,
120.7215,
118.6701,
118.7158,
118.8523,
116.2298,
116.2359,
116.2589,
113.524,
113.5494,
113.495,
110.4494,
110.4858,
110.4752};
graph = new TGraph(1362,rdzTIBp_fx34,rdzTIBp_fy34);
graph->SetName("rdzTIBp");
graph->SetTitle("TIB at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(3);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzPXFp_fx35[336] = {
6.106401,
8.563364,
11.43401,
13.90111,
7.251857,
10.18789,
13.11604,
5.982313,
8.451392,
11.31779,
13.79458,
7.14822,
10.0769,
13.00568,
5.876385,
8.356972,
11.2238,
13.70129,
7.051064,
9.990301,
12.92379,
5.817294,
8.280292,
11.14038,
13.61471,
6.977606,
9.907657,
12.84206,
5.759933,
8.228557,
11.09613,
13.56359,
6.943403,
9.87075,
12.80046,
5.754254,
8.22997,
11.09063,
13.56243,
6.944298,
9.873786,
12.79802,
6.692895,
9.153741,
12.02981,
14.49222,
7.855189,
10.78746,
13.71762,
6.623472,
9.084364,
11.95498,
14.43635,
7.79897,
10.72546,
13.66182,
6.549788,
9.017433,
11.87457,
14.3494,
7.72685,
10.65698,
13.58635,
6.454005,
8.921894,
11.78555,
14.25144,
7.613702,
10.54158,
13.4715,
6.348019,
8.816017,
11.69283,
14.15677,
7.493212,
10.42033,
13.35568,
6.213303,
8.67462,
11.54013,
14.00932,
7.378524,
10.30706,
13.23215,
6.082343,
8.549484,
11.40962,
13.87092,
7.246112,
10.16292,
13.09463,
5.975424,
8.435238,
11.29476,
13.76677,
7.121896,
10.04554,
12.97947,
5.867922,
8.330791,
11.20286,
13.66574,
7.024712,
9.96374,
12.89054,
5.776233,
8.238491,
11.11639,
13.60596,
6.953769,
9.873045,
12.80716,
5.745403,
8.208947,
11.07963,
13.56271,
6.915414,
9.851241,
12.77191,
5.723717,
8.213117,
11.08478,
13.54397,
6.909966,
9.843103,
12.76847,
6.6993,
9.160823,
12.03088,
14.51344,
7.873457,
10.80234,
13.7315,
6.6358,
9.101232,
11.97367,
14.44251,
7.812913,
10.74683,
13.66723,
6.547237,
9.012671,
11.88271,
14.35989,
7.722469,
10.65754,
13.58543,
6.467738,
8.922847,
11.78781,
14.25177,
7.616088,
10.5314,
13.46402,
6.325484,
8.798816,
11.65857,
14.12336,
7.499458,
10.42446,
13.35138,
6.193932,
8.66192,
11.52488,
13.98813,
7.363963,
10.29515,
13.21634,
5.852403,
8.328551,
11.19268,
13.67221,
7.042376,
9.972835,
12.89859,
5.933785,
8.388553,
11.25711,
13.75584,
7.122422,
10.05882,
12.97951,
6.027087,
8.502177,
11.37663,
13.83459,
7.237107,
10.15332,
13.08506,
6.135626,
8.614366,
11.48796,
13.95046,
7.338465,
10.25681,
13.18462,
6.252396,
8.7333,
11.597,
14.07544,
7.456499,
10.3768,
13.29442,
6.378231,
8.844039,
11.71822,
14.1944,
7.578437,
10.49614,
13.43414,
6.471997,
8.943899,
11.81668,
14.29861,
7.68961,
10.61216,
13.53092,
6.575089,
9.060486,
11.93002,
14.39889,
7.776586,
10.70387,
13.63515,
6.645149,
9.113589,
11.98539,
14.46824,
7.825317,
10.7478,
13.67759,
6.698929,
9.16975,
12.04232,
14.5097,
7.85635,
10.77776,
13.71474,
6.713793,
9.175447,
12.05279,
14.52155,
7.892173,
10.82422,
13.7499,
6.684303,
9.167706,
12.03627,
14.50524,
7.865965,
10.7957,
13.71681,
5.804626,
8.295797,
11.17136,
13.63895,
7.018672,
9.946726,
12.86819,
5.909084,
8.379898,
11.24628,
13.72541,
7.100149,
10.01755,
12.94286,
6.002181,
8.471779,
11.3406,
13.82072,
7.21245,
10.13009,
13.06135,
6.126344,
8.598741,
11.45599,
13.94933,
7.313463,
10.23971,
13.16042,
6.256428,
8.722215,
11.58859,
14.06345,
7.439849,
10.3593,
13.28372,
6.375036,
8.836886,
11.71193,
14.18812,
7.560885,
10.48145,
13.41186,
6.480867,
8.959374,
11.82967,
14.31648,
7.678825,
10.60947,
13.53926,
6.576517,
9.047961,
11.9189,
14.40415,
7.773538,
10.69928,
13.63344,
6.648513,
9.116757,
12.00297,
14.47463,
7.831963,
10.7564,
13.68716,
6.69787,
9.172207,
12.04711,
14.52133,
7.88098,
10.81161,
13.73324,
6.709542,
9.179335,
12.06113,
14.53843,
7.899485,
10.82994,
13.76492,
6.703675,
9.168508,
12.04334,
14.51259,
7.872284,
10.79655,
13.72922};
Double_t rdzPXFp_fy35[336] = {
693.4866,
638.7407,
572.0588,
571.6342,
664.559,
585.5302,
534.69,
691.7676,
670.5579,
630.8173,
621.6617,
706.6808,
602.6374,
562.0707,
735.3899,
646.4014,
531.8625,
651.8404,
681.0177,
631.5345,
596.4307,
740.5099,
699.2849,
573.608,
724.8349,
707.8864,
577.4558,
573.0625,
869.5878,
684.7151,
627.7434,
716.6857,
694.8278,
644.3137,
628.4741,
732.824,
739.1643,
638.3642,
651.6805,
704.6472,
676.1069,
591.6036,
650.1516,
599.2294,
675.7173,
534.0039,
584.9427,
605.6157,
617.0181,
573.0919,
588.4475,
605.5059,
613.4623,
526.0313,
604.5014,
466.5267,
577.7596,
657.1519,
543.9125,
366.6545,
623.917,
577.6642,
519.3558,
535.3095,
609.3459,
559.6663,
589.1489,
551.3944,
490.3867,
540.3504,
666.1683,
559.6283,
579.3299,
759.9222,
594.3365,
564.7965,
597.5129,
597.4652,
637.8546,
551.7426,
602.8571,
650.6075,
522.9254,
485.9554,
789.1894,
592.1955,
468.7125,
511.0877,
605.6954,
477.7971,
469.7587,
718.124,
666.5472,
561.0793,
505.9953,
652.6951,
534.5372,
511.4053,
666.0742,
669.0919,
607.1585,
566.3833,
641.3764,
589.4517,
579.0659,
953.5461,
688.5942,
644.0211,
396.656,
625.7895,
641.0765,
596.934,
947.6349,
633.861,
626.4788,
244.3509,
741.6294,
625.0445,
552.364,
1466.337,
579.1716,
717.2846,
586.2109,
709.559,
516.0328,
567.98,
733.5782,
358.596,
510.3494,
525.493,
487.2805,
437.3832,
431.3142,
589.4137,
199.0033,
374.5223,
141.122,
394.954,
431.6933,
420.5558,
532.1264,
549.9932,
585.4116,
517.3661,
548.9544,
472.2222,
459.1956,
607.8171,
514.4301,
445.1825,
392.1914,
605.1367,
356.6375,
344.1175,
533.5996,
512.1664,
447.792,
262.2146,
614.7808,
387.7171,
312.7836,
610.9606,
479.045,
423.2991,
203.6434,
539.2869,
422.2513,
359.8758,
543.6935,
555.5922,
440.9198,
382.5594,
511.3625,
452.3155,
390.3306,
479.4202,
438.0475,
378.0756,
456.1833,
350.395,
370.9178,
416.7683,
499.8531,
410.8493,
409.5366,
475.9034,
427.3338,
428.0045,
396.0586,
492.1787,
341.1639,
401.142,
430.7492,
355.3206,
383.7116,
424.3484,
407.8227,
416.3607,
385.2937,
465.2432,
340.7575,
388.7985,
383.8168,
381.4986,
410.4574,
325.7088,
376.0295,
338.1581,
343.9244,
356.2487,
366.3517,
421.5169,
412.1341,
403.1343,
337.2117,
408.8805,
411.7714,
446.6491,
376.9907,
436.5678,
516.0294,
305.8106,
395.1297,
395.4504,
360.1083,
410.1908,
434.0164,
434.4284,
330.2549,
345.9436,
405.5382,
393.4796,
369.0901,
419.3495,
384.0518,
326.083,
385.7919,
416.1244,
417.8209,
463.5782,
478.3951,
307.8147,
392.2379,
412.2337,
311.8377,
425.919,
511.2082,
506.7984,
362.0286,
369.87,
523.4573,
387.5485,
473.877,
496.9587,
598.0483,
457.0977,
498.471,
555.8494,
468.3055,
619.6487,
374.8376,
341.8337,
346.6225,
354.8971,
327.6212,
313.8456,
466.3208,
348.4422,
288.346,
212.4198,
299.0099,
309.2164,
210.2465,
535.8983,
371.2632,
267.86,
175.8897,
295.0121,
339.5401,
187.9162,
479.4211,
267.3974,
271.4648,
349.813,
262.2132,
204.3964,
259.1914,
308.9452,
319.0989,
287.2213,
260.3303,
272.703,
226.7027,
250.89,
306.9925,
282.8865,
239.4766,
351.8996,
267.1751,
245.535,
265.4386,
388.0551,
267.2831,
330.1404,
239.1568,
240.237,
265.3544,
252.5904,
231.0943,
277.6298,
353.1418,
368.5475,
245.7968,
230.1662,
307.0412,
350.6799,
204.0663,
276.335,
353.6469,
242.9961,
212.3698,
259.3755,
-54.17115,
271.3542,
215.0275,
444.3795,
324.2216,
177.133,
260.6062,
307.5086,
361.1758,
284.3242,
208.1031,
249.5541,
244.8709,
237.4379};
graph = new TGraph(336,rdzPXFp_fx35,rdzPXFp_fy35);
graph->SetName("rdzPXFp");
graph->SetTitle("PXF at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerColor(2);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
Double_t rdzPXBp_fx36[384] = {
4.520971,
4.51712,
4.511529,
4.507627,
3.990603,
3.985824,
3.98403,
3.982569,
4.438158,
4.435699,
4.432567,
4.428424,
3.94854,
3.943701,
3.941618,
3.942089,
4.443572,
4.438277,
4.444355,
4.447337,
4.310318,
4.315725,
4.304344,
4.312159,
4.759063,
4.757807,
4.748774,
4.746475,
4.240433,
4.236061,
4.230169,
4.223161,
4.658806,
4.654442,
4.647574,
4.641169,
4.110007,
4.106161,
4.102052,
4.095303,
6.979017,
6.977035,
6.974021,
6.961808,
7.423466,
7.420777,
7.414745,
7.403735,
6.915228,
6.913854,
6.905672,
6.895509,
7.368865,
7.359093,
7.358468,
7.356373,
6.872542,
6.876792,
6.870285,
6.868338,
7.345367,
7.344158,
7.343361,
7.345363,
6.866235,
6.866145,
6.866264,
6.862849,
7.367031,
7.369114,
7.366051,
7.359412,
7.239245,
7.233403,
7.2283,
7.225578,
7.689486,
7.687809,
7.681639,
7.681225,
7.18818,
7.183018,
7.182146,
7.180476,
7.638049,
7.633437,
7.63042,
7.623448,
7.132067,
7.132123,
7.122808,
7.113876,
7.577268,
7.573233,
7.56879,
7.562268,
7.066072,
7.063608,
7.062075,
7.04541,
7.502887,
7.496597,
7.491049,
7.4841,
10.34698,
10.34137,
10.33324,
10.3184,
9.85685,
9.851836,
9.841142,
9.827841,
10.31493,
10.30636,
10.29359,
10.27738,
9.82255,
9.813275,
9.80517,
9.784388,
10.27557,
10.2708,
10.26292,
10.24925,
9.784771,
9.780236,
9.774925,
9.761862,
10.24363,
10.24071,
10.23326,
10.22472,
9.752596,
9.748299,
9.745046,
9.736834,
10.21613,
10.21584,
10.21461,
10.21141,
9.747232,
9.743312,
9.741329,
9.736722,
10.24557,
10.24677,
10.24694,
10.23058,
10.11977,
10.11436,
10.1019,
10.09946,
10.57933,
10.57283,
10.56804,
10.55961,
10.08576,
10.08372,
10.07653,
10.0651,
10.5423,
10.54053,
10.53716,
10.52602,
10.0534,
10.04466,
10.03571,
10.02664,
10.51252,
10.50384,
10.49322,
10.4819,
10.01835,
10.01255,
10.00196,
9.985186,
10.47268,
10.4644,
10.45495,
10.43919,
9.968198,
9.960086,
9.950783,
9.935868,
10.41063,
10.40477,
10.39138,
10.38106,
9.900677,
9.896361,
9.886766,
9.873756,
3.977036,
3.984616,
3.976661,
3.976134,
4.506651,
4.50221,
4.502262,
4.506268,
4.1126,
4.112009,
4.115196,
4.119688,
4.675509,
4.677744,
4.676831,
4.679824,
4.267737,
4.267028,
4.270046,
4.272111,
4.801983,
4.804609,
4.804388,
4.80514,
4.359286,
4.362916,
4.363044,
4.365351,
4.852251,
4.851669,
4.851492,
4.848798,
4.363569,
4.356168,
4.354143,
4.343155,
4.827172,
4.820339,
4.809636,
4.801926,
6.871407,
6.874119,
6.877707,
6.906256,
7.370211,
7.373506,
7.379864,
7.383733,
6.946558,
6.948784,
6.953452,
6.958353,
7.474966,
7.48048,
7.485308,
7.489622,
7.055875,
7.05997,
7.06331,
7.062027,
7.591082,
7.591823,
7.595546,
7.596334,
7.166083,
7.174082,
7.175938,
7.172704,
7.690037,
7.692054,
7.694698,
7.696853,
7.247155,
7.248341,
7.251415,
7.252576,
7.748528,
7.755507,
7.758177,
7.762556,
7.284755,
7.291275,
7.296006,
7.298459,
7.772605,
7.776162,
7.781236,
7.783733,
7.296512,
7.300069,
7.303204,
7.303231,
7.771213,
7.774855,
7.769156,
7.768324,
7.282285,
7.277606,
7.275052,
7.268327,
7.753811,
7.750781,
7.740415,
7.712788,
9.754573,
9.741997,
9.735867,
9.73586,
10.25058,
10.24798,
10.24574,
10.24414,
9.814328,
9.816496,
9.816427,
9.817379,
10.32856,
10.33052,
10.33397,
10.33388,
9.899015,
9.90168,
9.903547,
9.900428,
10.42437,
10.42392,
10.42378,
10.41608,
10.0027,
10.00064,
9.998707,
9.992083,
10.51906,
10.51922,
10.51464,
10.50187,
10.07575,
10.07596,
10.07347,
10.06221,
10.57285,
10.5736,
10.56976,
10.56347,
10.11777,
10.12012,
10.11561,
10.1108,
10.61298,
10.61468,
10.61654,
10.61294,
10.16768,
10.17032,
10.17037,
10.16333,
10.66593,
10.6631,
10.66125,
10.6538,
10.19972,
10.19944,
10.19495,
10.188,
10.67484,
10.67284,
10.67172,
10.66932,
10.19517,
10.1973,
10.1979,
10.19439,
10.66079,
10.66039,
10.66066,
10.65821,
10.17176,
10.16784,
10.1661,
10.1597,
10.62884,
10.62837,
10.62332,
10.6226,
10.14204,
10.14289,
10.13944,
10.13422,
10.63261,
10.63663,
10.61947,
10.60877};
Double_t rdzPXBp_fy36[384] = {
-778.4373,
-912.807,
-788.638,
-612.741,
-726.8406,
-726.8514,
-712.6972,
-635.2572,
-764.2101,
-736.9316,
-729.0997,
-678.344,
-971.7753,
-842.8898,
-756.4849,
-706.033,
-765.892,
-787.6036,
-774.2481,
-743.1402,
-792.839,
-765.7108,
-800.1641,
-723.0111,
-641.8866,
-745.9289,
-603.9935,
-688.1053,
-722.7464,
-718.8628,
-703.5637,
-684.0494,
-868.237,
-824.3138,
-687.287,
-632.9832,
-709.7947,
-711.9237,
-689.1859,
-640.0333,
-551.0244,
-473.2197,
-586.0473,
-605.5973,
-606.3215,
-610.0279,
-632.5433,
-505.9149,
-857.0181,
-538.233,
-667.1207,
-646.8651,
-809.8524,
-781.871,
-744.8781,
-654.3538,
-625.9672,
-660.0486,
-797.3093,
-631.8075,
-740.4677,
-730.682,
-729.2039,
-717.7751,
-687.8864,
-751.2608,
-756.8282,
-729.9141,
-775.7825,
-777.8074,
-770.9688,
-678.4636,
-740.2224,
-741.1835,
-728.8129,
-730.0707,
-721.1468,
-716.8407,
-719.4418,
-732.2559,
-840.9233,
-668.1104,
-705.132,
-767.0979,
-680.634,
-674.6869,
-677.1269,
-667.3606,
-603.8762,
-740.3376,
-668.4025,
-666.2091,
-585.3488,
-656.9135,
-656.8367,
-652.6204,
-607.2164,
-734.1975,
-798.7327,
-667.7171,
-630.4728,
-575.4656,
-624.0922,
-649.2883,
-635.0054,
-602.4334,
-703.0076,
-619.3131,
-618.7499,
-629.5426,
-610.5549,
-648.0919,
-470.6472,
-654.2056,
-874.4006,
-813.1567,
-673.6511,
-853.4164,
-766.5654,
-777.3819,
-704.3136,
-725.5892,
-624.6429,
-661.0169,
-690.6875,
-693.6216,
-609.317,
-693.2982,
-738.116,
-714.559,
-826.979,
-818.3374,
-721.5156,
-722.8541,
-723.1586,
-719.0203,
-744.366,
-816.9537,
-853.6242,
-781.6007,
-837.963,
-859.9847,
-676.6237,
-735.6143,
-781.8699,
-780.46,
-791.7244,
-771.1423,
-732.0012,
-731.3353,
-739.9268,
-632.0229,
-713.672,
-709.8707,
-716.4882,
-704.6613,
-764.8148,
-800.2561,
-684.5926,
-687.0498,
-666.4315,
-666.2911,
-670.4387,
-665.158,
-753.0645,
-652.0182,
-654.1145,
-661.7616,
-630.8647,
-631.5664,
-625.9679,
-629.3444,
-622.6451,
-624.5813,
-626.89,
-632.1145,
-543.2191,
-673.1392,
-625.2257,
-623.6238,
-788.9463,
-613.4404,
-621.6205,
-629.5557,
-583.2349,
-632.5193,
-487.2172,
-674.3661,
-760.1473,
-639.1018,
-575.7849,
-623.2973,
-59.31518,
-55.84321,
-22.48124,
-15.08115,
-60.43278,
-60.6995,
-33.20582,
-0.05498214,
-56.88794,
-61.63388,
-38.26933,
8.535486,
-55.49524,
-52.49678,
-32.68811,
19.00036,
-51.21246,
-56.75747,
-19.99371,
3.90425,
-54.63887,
-52.40803,
-30.36836,
7.625848,
-53.12415,
-49.0027,
-15.27106,
1.322297,
-50.92008,
-41.66072,
-12.12413,
9.371915,
-47.44195,
-38.84277,
-1.999818,
12.8025,
-45.899,
-38.51289,
-27.60884,
27.32617,
-64.82507,
-62.87423,
-52.10761,
-61.68104,
-64.07487,
-63.30627,
-53.42555,
-23.25355,
-62.95919,
-67.55811,
-59.42417,
-34.64694,
-57.99789,
-64.35664,
-57.80623,
-43.34984,
-61.01358,
-61.597,
-60.11864,
-32.08157,
-60.55085,
-60.8808,
-56.94323,
-25.3769,
-58.51857,
-62.37019,
-52.77713,
-32.38607,
-55.94482,
-56.72715,
-54.05818,
-29.93092,
-59.17611,
-62.09217,
-51.17258,
-39.46226,
-56.69941,
-58.02386,
-53.92357,
-15.45345,
-55.28531,
-54.77417,
-45.57218,
-24.24849,
-55.91167,
-48.88634,
-47.71433,
-30.68219,
-52.79192,
-48.48719,
-41.61185,
-19.69622,
-52.33043,
-39.83333,
-46.10739,
-6.130443,
-48.6774,
-44.1829,
-39.13816,
-6.96018,
-46.93318,
-36.46481,
-35.75578,
-41.07806,
-68.61012,
-68.1702,
-45.40733,
-31.50205,
-67.08673,
-69.19583,
-44.84908,
-38.44291,
-65.65658,
-67.46186,
-63.54323,
-41.45744,
-66.05481,
-70.41494,
-61.27807,
-67.82285,
-66.39468,
-66.92361,
-65.38704,
-67.25778,
-66.90834,
-68.98748,
-53.96585,
-50.34188,
-64.67326,
-62.44183,
-54.86999,
-52.4281,
-63.54884,
-60.17776,
-64.65946,
-60.52109,
-62.17138,
-63.86478,
-60.32881,
-47.94777,
-61.22712,
-63.79568,
-79.47677,
-42.66209,
-58.65658,
-58.17422,
-69.17927,
-69.38921,
-62.56551,
-62.04327,
-54.51034,
-73.98424,
-57.12892,
-63.93644,
-51.9772,
-53.61624,
-55.82117,
-60.43346,
-46.13771,
-49.68357,
-55.68683,
-56.48792,
-51.96654,
-34.81795,
-56.53862,
-51.07603,
-57.70419,
-29.15054,
-54.75271,
-54.22366,
-45.736,
-50.61848,
-54.62277,
-54.24826,
-37.67397,
-28.5764,
-50.73156,
-47.47124,
-44.67535,
-53.96539,
-48.5647,
-44.30317,
-50.22604,
-44.54358,
-47.66586,
-48.52052,
-40.42327,
-53.0686,
-45.9026,
-36.48824,
-37.17184,
-33.45267};
graph = new TGraph(384,rdzPXBp_fx36,rdzPXBp_fy36);
graph->SetName("rdzPXBp");
graph->SetTitle("PXB at z>=0;r /cm;#Deltaz /#mum");
graph->SetFillColor(1);
graph->SetMarkerStyle(6);
multigraph->Add(graph,"P");
multigraph->Draw("A");
multigraph->GetXaxis()->SetTitle("r /cm");
multigraph->GetXaxis()->SetLabelFont(132);
multigraph->GetXaxis()->SetLabelSize(0.08);
multigraph->GetXaxis()->SetTitleSize(0.08);
multigraph->GetYaxis()->SetTitle("#Deltaz /#mum");
multigraph->GetYaxis()->SetLabelFont(132);
multigraph->GetYaxis()->SetLabelSize(0.08);
multigraph->GetYaxis()->SetTitleSize(0.08);
multigraph->GetYaxis()->SetTitleFont(42);
TLegend *leg = new TLegend(0.1,0.92,0.9,1,NULL,"NBNDC");
leg->SetBorderSize(1);
leg->SetLineColor(0);
leg->SetLineStyle(1);
leg->SetLineWidth(0);
leg->SetFillColor(0);
leg->SetFillStyle(1001);
TLegendEntry *entry=leg->AddEntry("Graph","PXB","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(1);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
entry=leg->AddEntry("Graph","PXF","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(2);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
entry=leg->AddEntry("Graph","TIB","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(3);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
entry=leg->AddEntry("Graph","TID","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(4);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
entry=leg->AddEntry("Graph","TOB","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(6);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
entry=leg->AddEntry("Graph","TEC","p");
entry->SetLineColor(1);
entry->SetLineStyle(1);
entry->SetLineWidth(1);
entry->SetMarkerColor(7);
entry->SetMarkerStyle(21);
entry->SetMarkerSize(10);
entry->SetTextFont(42);
leg->Draw();
c_r_vs_dz_tracker_1->Modified();
c_r_vs_dz_tracker_1->cd();
c_r_vs_dz_tracker_1->SetSelected(c_r_vs_dz_tracker_1);
}
| [
"jroskes1@jhu.edu"
] | jroskes1@jhu.edu |
cf4d48a154a2eae5fa4e77d286b3589c6f24a3a9 | ad934eeba2ac2a3c1d49b02af864790ece137034 | /Training/Educational Codeforces Round 6/A.cpp | 6e93fc6211c5e310f2705f51cb8e52daa9ad7cff | [] | 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 | 977 | cpp | /* ***********************************************
Author :Maltub
Email :xiang578@foxmail.com
Blog :htttp://www.xiang578.top
************************************************ */
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <math.h>
#include <stdlib.h>
#include <time.h>
//#include <bits/stdc++.h>
#define rep(i,a,n) for(int i=a;i<n;i++)
#define per(i,a,n) for(int i=n-1;i>=a;i--)
#define pb push_back
using namespace std;
typedef vector<int> VI;
typedef long long ll;
const ll mod=1000000007;
const int N=2048;
int main()
{
//freopen("in.txt","r",stdin);
//freopen("out.txt","w",stdout);
ll a1,a2,b1,b2,t1,t2;
while(~scanf("%lld%lld%lld%lld",&a1,&b1,&a2,&b2))
{
t1=a2-a1;
t2=b2-b1;
if(t1<0) t1=-t1;
if(t2<0) t2=-t2;
printf("%lld\n",max(t1,t2));
}
return 0;
}
| [
"xiang578@foxmail.com"
] | xiang578@foxmail.com |
5455aed27b697f272844b309b45cac566166ffec | ee173211a404bd744578dd92cadd65b4927c398a | /Source/hpp/Win32/Release/VirtualTrees.Classes.hpp | 138775566e3ebfb8ca3e58a6f788948c9339cc9f | [] | no_license | jfhyn/VirtualTreeView | c5652e6a2271446b8de4c7433e603f6cd8819442 | d45015d4807de17557f62f2b7bf2a0cd1532d095 | refs/heads/master | 2021-01-17T21:21:41.005952 | 2017-01-23T22:09:46 | 2017-01-23T22:09:46 | 84,177,732 | 0 | 1 | null | 2017-03-07T09:03:05 | 2017-03-07T09:03:05 | null | UTF-8 | C++ | false | false | 3,150 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VirtualTrees.Classes.pas' rev: 31.00 (Windows)
#ifndef Virtualtrees_ClassesHPP
#define Virtualtrees_ClassesHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
//-- user supplied -----------------------------------------------------------
namespace Virtualtrees
{
namespace Classes
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TBufferedRawByteString;
class DELPHICLASS TBufferedString;
class DELPHICLASS TCriticalSection;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TBufferedRawByteString : public System::TObject
{
typedef System::TObject inherited;
private:
char *FStart;
char *FPosition;
char *FEnd;
System::RawByteString __fastcall GetAsString(void);
public:
__fastcall virtual ~TBufferedRawByteString(void);
void __fastcall Add(const System::RawByteString S);
void __fastcall AddNewLine(void);
__property System::RawByteString AsString = {read=GetAsString};
public:
/* TObject.Create */ inline __fastcall TBufferedRawByteString(void) : System::TObject() { }
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TBufferedString : public System::TObject
{
typedef System::TObject inherited;
private:
System::WideChar *FStart;
System::WideChar *FPosition;
System::WideChar *FEnd;
System::UnicodeString __fastcall GetAsString(void);
public:
__fastcall virtual ~TBufferedString(void);
void __fastcall Add(const System::UnicodeString S);
void __fastcall AddNewLine(void);
__property System::UnicodeString AsString = {read=GetAsString};
public:
/* TObject.Create */ inline __fastcall TBufferedString(void) : System::TObject() { }
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCriticalSection : public System::TObject
{
typedef System::TObject inherited;
protected:
_RTL_CRITICAL_SECTION FSection;
public:
__fastcall TCriticalSection(void);
__fastcall virtual ~TCriticalSection(void);
void __fastcall Enter(void);
void __fastcall Leave(void);
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Classes */
} /* namespace Virtualtrees */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_VIRTUALTREES_CLASSES)
using namespace Virtualtrees::Classes;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_VIRTUALTREES)
using namespace Virtualtrees;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Virtualtrees_ClassesHPP
| [
"roman.kassebaum@kdv-dt.de"
] | roman.kassebaum@kdv-dt.de |
079f9e6899b5283d533c350ea686e4b84bf8d940 | 7777ae74016e5e2c66c54666997d599ad9f948e6 | /Graphics/ShadowVolume.h | a88fe870fac6771ba43f96e1f6cc32f053e267ba | [] | no_license | asesh/game_engine | a12d3e5e009857f781a4f94dfb0a56b1a5b57e43 | d539462e39341a0f978a2a40d960d672b7b01f70 | refs/heads/master | 2023-07-05T04:29:57.618042 | 2019-06-03T14:19:43 | 2019-06-03T14:19:43 | 190,018,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | // ShadowVolume.h: Implementation of shadow volume
// Copyright (C) 2012 Asesh Shrestha. All rights reserved
#ifndef SHADOWVOLUME_H
#define SHADOWVOLUME_H
// CShadowVolume class
class CShadowVolume
{
public:
CShadowVolume();
~CShadowVolume();
private:
};
#endif // SHADOWVOLUME_H | [
"aseshshres@gmail.com"
] | aseshshres@gmail.com |
a74de5c322d9094e3434931f09823963ab579e26 | bc0945070d150c8af7cc56bf6e045a8c2cc7873d | /2106/3936574_WA.cpp | 8ef28881d09ae1af95d4e1691d688a8e7b34707b | [] | no_license | fengrenchang86/PKU | ab889d88cd62b3c0b3e00cde5d5c3a652a16221a | 0c4adf6b740d2186b7f23124673cd56520d1c818 | refs/heads/master | 2021-01-10T12:12:18.100884 | 2016-03-07T14:14:33 | 2016-03-07T14:14:33 | 53,328,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include<iostream>
using namespace std;
char str[500000];
int pos;
bool expression();
bool A();
bool B();
bool bracket();
bool GetData();
bool GetData()
{
if(str[pos] == '!')
{
pos++;
return !GetData();
}
else if(str[pos] == 'V')
{
pos++;
return true;
}
else
{
pos++;
return false;
}
}
void Fix()
{
int i, j;
i = j = 0;
while(str[i] != 0)
{
if(str[i] != ' ')
str[j++] = str[i];
i++;
}
str[j] = NULL;
}
bool expression()
{
bool x, y;
x = A();
while(str[pos] == '|')
{
pos++;
y = A();
x = x || y;
}
return x;
}
bool A()
{
bool x;
x = B();
while(str[pos] == '&')
{
pos++;
x = x && B();
}
return x;
}
bool B()
{
if(str[pos] == '(')
{
return bracket();
}
else
{
return GetData();
}
}
bool bracket()
{
pos++;
bool x = expression();
pos++;
return x;
}
int main ()
{
int tc = 1;
bool x;
while(cin.getline(str, 500000, '\n'))
{
pos = 0;
Fix();
x = expression();
printf("Expression %d: ", tc++);
if(x)
printf("V\n");
else
printf("F\n");
}
return 0;
} | [
"fengrenchang86@gmail.com"
] | fengrenchang86@gmail.com |
f70d28428eb8ac836531e6af89c244bf829a8218 | b81424733ba7aa22971017a2b723cebdb79e2ff9 | /B3009/B3009.cpp | 49e3c49d89619713c40448d95e9a376986798263 | [] | no_license | tongnamuu/Algorithm-PS | 1d8ee70c60da9bafdae7c820872e685fdf2b28fa | 464b68c34bb07f9e1e00e4b5475c6f0240cd20d4 | refs/heads/master | 2022-06-04T01:57:29.432141 | 2022-04-08T11:52:01 | 2022-04-08T11:52:01 | 164,219,701 | 0 | 1 | null | 2019-03-28T03:43:13 | 2019-01-05T13:58:05 | C++ | UTF-8 | C++ | false | false | 702 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
struct pos {
int first, second;
bool operator<(const pos& a) const {
if (this->first == a.first) return this->second < a.second;
else return this->first < a.first;
}
};
int main() {
ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
pos a[3];
for (int i = 0; i < 3; ++i) cin >> a[i].first >> a[i].second;
sort(a, a + 3);
if (a[0].first == a[1].first) {
cout << a[2].first << ' ';
if (a[0].second == a[2].second) cout << a[1].second << ' ';
else cout << a[0].second << ' ';
}
else {
cout << a[0].first << ' ';
if (a[0].second == a[2].second) cout << a[1].second << ' ';
else cout << a[2].second << ' ';
}
} | [
"33937684+thban33@users.noreply.github.com"
] | 33937684+thban33@users.noreply.github.com |
58033e446300b2db65e583d6ed683ea74547a781 | 6035fb168576b8fdbef1a3dbc871e1a06e191278 | /final_test/15/u78729_436_C_6883614.cpp | 0ce8221e63247281ebc79a7d72c434b20a7d6196 | [] | no_license | pavellevap/code_antiplagiat | 69ef3ecea5e8e88dfd3b800c0ce351fa32ee9762 | d75603e4e25519d9bb9b9720923136e324328be4 | refs/heads/master | 2021-01-10T05:30:44.560926 | 2015-04-30T14:25:34 | 2015-04-30T14:25:34 | 45,319,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,269 | cpp |
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <list>
#include <algorithm>
#include <map>
#include <cmath>
#include <assert.h>
#define rep(i,n) for(int i=0; i<(n); i++)
#define repf(i,a,b) for (int i=(a); i<=(b); i++)
#define repb(i,a,b) for(int i=(a); i>=(b); i--)
#define ABS(X) ( ((X)>0) ? (X) : -(X) )
#define pb push_back
typedef long long int LL;
using namespace std;
template <typename T>
ostream& operator<<(ostream &a, const vector<T> &v) {
a << "(";
if (v.size()>=1) a << v[0];
for (int i=1; i<v.size(); i++) {
a << ", " << v[i];
}
a << ")";
return a;
}
void init() {
cin.sync_with_stdio(false);
cout.sync_with_stdio(false);
}
class DSet {
int N;
int *parent;
public:
void clear() {
rep(i,N) parent[i] = i;
}
DSet(int n) {
N=n;
parent=new int[N];
clear();
}
~DSet() {delete [] parent;}
int find(int u) {
if (parent[u]==u) return u;
parent[u] = find(parent[u]);
return parent[u];
}
int un(int u, int v) {
if (find(u) != find(v)) parent[find(u)] = find(v);
}
};
typedef vector<string> Board;
typedef pair<int,int> ip;
typedef pair<int,ip> Edge;
int n,m,k,w;
int cmpCost(const Board &a, const Board &b) {
int ans=0;
rep(i,n) rep(j,m)
if (a[i][j] != b[i][j]) ans += w;
return ans;
}
int solve(const vector<Board> &boards, vector<ip> &ans_edges) {
int ans=0;
vector<Edge> edges;
DSet ds(k+1);
int bcost = n*m;
rep(i,k) {
edges.pb( make_pair(bcost, make_pair(0,i+1)) );
repf(j,i+1,k-1) {
int ocost = cmpCost(boards[i],boards[j]);
edges.pb( make_pair(ocost, make_pair(i+1,j+1)) );
}
}
sort(edges.begin(),edges.end());
rep(i,edges.size()) {
ip edge = edges[i].second;
if (ds.find(edge.first) != ds.find(edge.second)) {
ans += edges[i].first;
ds.un(edge.first, edge.second);
ans_edges.pb(edge);
}
}
return ans;
}
int main(int argc, char **argv) {
init();
while (cin >> n >> m >> k >> w) {
vector<Board> boards;
rep(i,k) {
Board b;
string l;
rep(i,n) {
cin >> l;
b.pb(l);
}
boards.pb(b);
}
assert(boards.size() == k);
vector<ip> edges;
int ans = solve(boards,edges);
cout << ans << endl;
vector<bool> used(k+1,false);
list<ip> ledges(edges.begin(),edges.end());
used[0]=true;
while (!ledges.empty()) {
for (list<ip>::iterator it=ledges.begin(); it!=ledges.end(); ) {
list<ip>::iterator it2 = it;
++it2;
if (used[it->first]) {
cout << it->second << " " << it->first << endl;
used[it->second] = true;
ledges.erase(it);
} else if (used[it->second]) {
cout << it->first << " " << it->second << endl;
used[it->first] = true;
ledges.erase(it);
}
it = it2;
}
}
}
}
| [
"prorochek@gmail.com"
] | prorochek@gmail.com |
bda13826cd490e79714e54f003d20bc9ec552696 | b8390be3bbb2abc529dfbd867163f99500f73143 | /side_projects/Testing/I2CMasterDriverLidarAndPX4_SajanPtlCodes/Lidar_Defines.hpp | 9eb5ed428463c0dbf90174ecc178719ca4f58a55 | [] | no_license | MAAV-Software/embedded | 82f1818f72d271d7b9d8beaa02671150a16945aa | 41f1096aec573c5fbf9a78d7667acbc8cc24f55d | refs/heads/master | 2022-05-03T17:05:40.239317 | 2022-04-03T18:59:55 | 2022-04-03T18:59:55 | 210,971,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | hpp | #ifndef LIDAR_DEFINES_HPP_
#define LIDAR_DEFINES_HPP_
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include <stdlib.h>
#define LIDAR_DIST_SIZE 2
#define LIDAR_VEL_SIZE 1
#endif /* LIDAR_DEFINES_HPP_ */
| [
"sajanptl@umich.edu"
] | sajanptl@umich.edu |
53a65048bb1ec4181be35a4a2f3eba1e3ee3e1f7 | 71727db47e89a68b9d43dcba3ebd2ec8dfabb74f | /QtDAQ/Source/curvefit/fitting.cpp | 1ddcabfdb76222ab72f580453e86c38d37be0706 | [] | no_license | iar/qtdaq | a6e0bc3be38044f8e6c915f19569ca119d71e540 | 591b1365a5da7f6bb9f972418d2985f3ffd3e63f | refs/heads/master | 2021-01-11T05:00:27.704200 | 2016-05-11T08:12:13 | 2016-05-11T08:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,227 | cpp | #include "fitting.h"
bool fitGaussian(int numVals, double* valsY, double initA, double initSigma, double initX_C, double* params, double* paramErrors, double& norm)
{
double p[]={initA, initSigma, initX_C};
int status;
#ifdef USE_LMFIT
double* valsX=new double[numVals];
for (int i=0;i<numVals;i++)
valsX[i]=i;
lm_control_struct control = lm_control_double;
lm_status_struct stat;
control.verbosity = 0;
lmcurve(3, p, numVals, valsX, valsY, gaussfunc, &control, &stat);
norm=stat.fnorm;
delete[] valsX;
#else
mp_config config;
memset(&config, 0, sizeof(config));
config.maxiter = 100;
mp_result result;
memset(&result,0,sizeof(result)); /* Zero results structure */
result.xerror = paramErrors;
mp_par pars[3];
memset(&pars[0], 0, sizeof(pars));
pars[0].limited[0] = 1; /* limited[0] indicates lower bound */
pars[0].limits[0] = 0.0; /* Actual constraint p[0]>= 0 */
pars[1].limited[0] = 1; /* limited[0] indicates lower bound */
pars[1].limits[0] = 0.0; /* Actual constraint p[0]>= 0 */
status = mpfit(gaussfunc, numVals, 3, p, pars, &config, (void *)valsY, &result);
#endif
params[0]=p[0];
params[1]=p[1];
params[2]=p[2];
return true;
}
bool fitDoubleGaussian(int numVals, double* valsY, double initA1, double initSigma1, double initX_C1, double initA2, double initSigma2, double initX_C2, double* params, double& norm)
{
double p[]={initA1, initSigma1, initX_C1, initA2, initSigma2, initX_C2};
int status;
bool retVal=true;
#ifdef USE_LMFIT
double* valsX=new double[numVals];
for (int i=0;i<numVals;i++)
valsX[i]=i;
lm_control_struct control = lm_control_double;
lm_status_struct stat;
control.verbosity = 0;
lmcurve(6, p, numVals, valsX, valsY, doublegaussfunc, &control, &stat);
norm=stat.fnorm;
retVal=(stat.outcome>=1 && stat.outcome<=3);
delete[] valsX;
#else
mp_config config;
memset(&config, 0, sizeof(config));
config.maxiter=100;
mp_result result;
memset(&result,0,sizeof(result)); //Zero results structure
mp_par pars[6];
memset(&pars[0], 0, sizeof(pars));
pars[0].limited[0] = 1; // limited[0] indicates lower bound
pars[0].limits[0] = 0.0; // Actual constraint p[0]>= 0
pars[1].limited[0] = 1; // limited[0] indicates lower bound
pars[1].limits[0] = 0.0; // Actual constraint p[0]>= 0
pars[3].limited[0] = 1; // limited[0] indicates lower bound
pars[3].limits[0] = 0.0; // Actual constraint p[0]>= 0
pars[4].limited[0] = 1; // limited[0] indicates lower bound
pars[4].limits[0] = 0.0; // Actual constraint p[0]>= 0
status = mpfit(doublegaussfunc, numVals, 6, p, pars, &config, (void *)valsY, &result);
#endif
params[0]=p[0];
params[1]=p[1];
params[2]=p[2];
params[3]=p[3];
params[4]=p[4];
params[5]=p[5];
return retVal;
}
#ifdef USE_LMFIT
double gaussfunc(double t, const double* p)
{
double A1, sigma1, x_c1;
A1=p[0];
sigma1=p[1];
x_c1=p[2];
double f1 = abs(A1)*exp(-0.5*pow((t-x_c1)/sigma1, 2));
return f1;
}
#else
int gaussfunc(int m, int n, double *p, double *dy, double **dvec, void *vars)
{
int i;
double A, sigma, x_c;
A=p[0];
sigma=p[1];
x_c=p[2];
double* y=(double*)vars;
for (i=0; i<m; i++)
{
double f = A*exp(-0.5*pow((i-x_c)/sigma, 2));
dy[i]=(y[i]-f);
}
return 0;
}
#endif
#ifdef USE_LMFIT
double doublegaussfunc(double t, const double* p)
{
double A1, sigma1, x_c1;
double A2, sigma2, x_c2;
A1=p[0];
sigma1=p[1];
x_c1=p[2];
A2=p[3];
sigma2=p[4];
x_c2=p[5];
double f1 = abs(A1)*exp(-0.5*pow((t-x_c1)/sigma1, 2));
double f2 = abs(A2)*exp(-0.5*pow((t-x_c2)/sigma2, 2));
return f1+f2;
}
#else
int doublegaussfunc(int m, int n, double *p, double *dy, double **dvec, void *vars)
{
int i;
double A1, sigma1, x_c1;
double A2, sigma2, x_c2;
A1=p[0];
sigma1=p[1];
x_c1=p[2];
A2=p[3];
sigma2=p[4];
x_c2=p[5];
double* y=(double*)vars;
for (i=0; i<m; i++)
{
double f1 = A1*exp(-0.5*pow((i-x_c1)/sigma1, 2));
double f2 = A2*exp(-0.5*pow((i-x_c2)/sigma2, 2));
dy[i]=(y[i]-(f1+f2));
}
return 0;
}
#endif
void initialGuesses(int numBins, double* bins, double parameterMin, double parameterMax, double& A1, double& A2, double& mean1, double& mean2, double& sigma1, double& sigma2)
{
if (numBins)
{
double maxValue=0;
double FWHM;
int totalEntries=0;
double entrySum=0;
double entryVal=parameterMin;
double interval=(double)((parameterMax-parameterMin))/numBins;
int indexMax=numBins-1;
for (int i=0;i<numBins;i++)
{
if (bins[i]>maxValue)
{
indexMax=i;
maxValue=bins[i];
}
totalEntries+=bins[i];
entrySum+=bins[i]*entryVal;
entryVal+=interval;
}
//find fwhm points for first peak
double halfMax=maxValue/2.0;
//right
double posHalfMaxR;
bool foundHalfMaxR=false;
for (int i=indexMax;i<numBins-1;i++)
{
//found a match
if ((bins[i]-halfMax)*(bins[i+1]-halfMax)<0)
{
double x1=interval*i+parameterMin;
double x2=interval*(i+1)+parameterMin;
double p1=bins[i];
double p2=bins[i+1];
posHalfMaxR=x1+(x2-x1)*(p1-halfMax)/(p1-p2);
foundHalfMaxR=true;
break;
}
}
//left
double posHalfMaxL;
bool foundHalfMaxL=false;
for (int i=indexMax;i>=0;i--)
{
//found a match
if ((bins[i]-halfMax)*(bins[i+1]-halfMax)<0)
{
double x1=interval*i+parameterMin;
double x2=interval*(i+1)+parameterMin;
double p1=bins[i];
double p2=bins[i+1];
posHalfMaxL=x1+(x2-x1)*(p1-halfMax)/(p1-p2);
foundHalfMaxL=true;
break;
}
}
mean1=indexMax;
A1=maxValue;
if (foundHalfMaxL && foundHalfMaxR)
{
FWHM=abs(posHalfMaxR-posHalfMaxL);
sigma1=FWHM/(2.35482*interval);
}
else
return;
//find second peak
indexMax=(((posHalfMaxR+posHalfMaxL)/2.0)-parameterMin)/interval;
//search right
int startIndexR=(int)(indexMax+2*sigma1);
int indexMaxR=startIndexR;
double maxValR=0;
for (int i=startIndexR;i<numBins-1;i++)
{
if (bins[i]>maxValR)
{
indexMaxR=i;
maxValR=bins[i];
}
}
//search left
int startIndexL=(int)(indexMax-2*sigma1);
int indexMaxL=startIndexL;
double maxValL=0;
for (int i=startIndexL;i>0;i--)
{
if (bins[i]>maxValL)
{
indexMaxL=i;
maxValL=bins[i];
}
}
if (maxValL>maxValR)
mean2=indexMaxL;
else
mean2=indexMaxR;
//find fwhm points for second peak
maxValue=max(maxValL, maxValR);
A2=maxValue;
halfMax=maxValue/2.0;
//right
foundHalfMaxR=false;
for (int i=mean2;i<numBins-1;i++)
{
//found a match
if ((bins[i]-halfMax)*(bins[i+1]-halfMax)<0)
{
double x1=interval*i+parameterMin;
double x2=interval*(i+1)+parameterMin;
double p1=bins[i];
double p2=bins[i+1];
posHalfMaxR=x1+(x2-x1)*(p1-halfMax)/(p1-p2);
foundHalfMaxR=true;
break;
}
}
//left
foundHalfMaxL=false;
for (int i=mean2;i>=0;i--)
{
//found a match
if ((bins[i]-halfMax)*(bins[i+1]-halfMax)<0)
{
double x1=interval*i+parameterMin;
double x2=interval*(i+1)+parameterMin;
double p1=bins[i];
double p2=bins[i+1];
posHalfMaxL=x1+(x2-x1)*(p1-halfMax)/(p1-p2);
foundHalfMaxL=true;
break;
}
}
if (foundHalfMaxL && foundHalfMaxR)
{
FWHM=abs(posHalfMaxR-posHalfMaxL);
sigma2=FWHM/(2.35482*interval);
}
}
} | [
"accomrie@gmail.com"
] | accomrie@gmail.com |
10a3f7450b22096e195babb5716a88d972fe49ee | a2cd6385b587f686107fd4fb4f765a4e44da2da9 | /Code/VC/XMLTagParser.cpp | 472977b042523d3e7c0ad8946169822c0fee0b9e | [] | no_license | Liam-Maloney/SGMLTagValidator | 6e3f419dcfed12e2d0d93c5c191ef4f0332dbbfe | 6e615bcccdeeac683f33e2352d7e4aa65c74eb6d | refs/heads/master | 2021-01-10T16:55:39.432794 | 2016-02-26T16:59:09 | 2016-02-26T16:59:09 | 52,618,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include "stdafx.h"
#include "XMLTagParser.h"
bool XMLTagParser::findOutIfNeedsClosingTag(std::string token)
{
return (token[token.length() - 2] == '/') ? false : true;
}
std::vector<Tag*> XMLTagParser::parseTagsFrom(std::string fileToParseFrom)
{
IO* source = ioHandle.getGenericIoHandle(fileToParseFrom);
std::vector<Tag*> tags = getTagsAsVectorParsedFrom(source);
delete source;
return tags;
}
std::vector<Tag*> XMLTagParser::getTagsAsVectorParsedFrom(IO* source)
{
std::string sourceStr = source->getContent();
Lexer tokenizer;
std::vector<Lexer::tokenLineNumPairs> tokenizedTags = tokenizer.readTokenizedTagsFrom(sourceStr);
std::vector<Tag*> parsedTags = formTagsAsObjects(tokenizedTags);
return parsedTags;
}
Tag* XMLTagParser::getTagAsObject(Lexer::tokenLineNumPairs token)
{
Tag* newTag = tagSupplier.getTagFor("xml");
newTag->updateRequiresClosing(findOutIfNeedsClosingTag(token.token));
newTag->updateIsClosing(findOutIfItIsAClosingTag(token.token));
newTag->setTagName(findOutTagName(token.token));
newTag->setLineNumber(token.lineNumber);
newTag->setAttributes(findOutAttributesFrom(token.token));
return newTag;
}
std::vector<Tag*> XMLTagParser::formTagsAsObjects(std::vector<Lexer::tokenLineNumPairs> tokensToTurnInToTags)
{
std::vector<Tag*> tagObjects;
for each (Lexer::tokenLineNumPairs token in tokensToTurnInToTags)
{
tagObjects.emplace_back(getTagAsObject(token));
}
return tagObjects;
}
XMLTagParser::XMLTagParser()
{
}
XMLTagParser::~XMLTagParser()
{
} | [
"liam@liammaloney.ie"
] | liam@liammaloney.ie |
bbb0cb5dd0b0ab1134cb23a409326c1b3f426f1e | e675779071e22d3224de816fa1e5da02921cc10b | /Algorithm/Algorithms/SwapTest/swapTest.cpp | 997573c60a649e64c0e95ac403809524020b8fae | [
"Apache-2.0"
] | permissive | xiaoyaolanyun/QPanda-2 | c7743a8fe1a3e0d4fec5800210677cb350b38f98 | 04dc1114ee46bcfa2f69417f71507c6c050c006f | refs/heads/master | 2020-04-23T20:07:03.133965 | 2019-02-19T03:37:07 | 2019-02-19T03:37:07 | 171,428,729 | 1 | 0 | null | 2019-02-19T07:43:30 | 2019-02-19T07:43:29 | null | UTF-8 | C++ | false | false | 2,973 | cpp | /*
Copyright (c) 2017-2018 Origin Quantum Computing. All Right 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 "swapTest.h"
#include <bitset>
//swap test,phi and psi are 1-qubit state
//phi contains theta1,alpha1,theta2,alpha2
//two ststes are :
//cos(theta1/2)|0>+exp(i*alpha1)sin(theta1/2)|1>
//cos(theta2/2)|0>+exp(i*alpha2)sin(theta2/2)|1>
QProg swaptest_QProg(vector<Qubit*> qVec, vector<CBit*> cVec, vector<double>& phi)
{
QProg swaptest_qprog = CreateEmptyQProg();
swaptest_qprog << H(qVec[0]);
//initial state
swaptest_qprog << RY(qVec[1], phi[0])<<RZ(qVec[1], phi[1]);
swaptest_qprog << RY(qVec[2], phi[2]) << RZ(qVec[2], phi[3]);
//control swap
QCircuit controlswap = CreateEmptyCircuit();
controlswap << CNOT(qVec[1], qVec[2])<< CNOT(qVec[2], qVec[1])<<CNOT(qVec[1], qVec[2]);
vector<Qubit*> qvtemp;
qvtemp.push_back(qVec[0]);
controlswap.setControl(qvtemp);
swaptest_qprog << controlswap;
swaptest_qprog <<H(qVec[0])<< Measure(qVec[0], cVec[0]);
return swaptest_qprog;
}
void swaptest()
{
cout << "Swap Test Algorithm\n" << endl;
cout << "Initialize phi" << endl;
double theta1;
double alpha1;
double theta2;
double alpha2;
vector<double> phi;
cout << "input theta1:" << endl;
cin >> theta1;
cout << "input alpha1:" << endl;
cin >> alpha1;
cout << "input theta2:" << endl;
cin >> theta2;
cout << "input alpha2:" << endl;
cin >> alpha2;
cout << "phi=" << cos(theta1 / 2) << "*|0>+" << exp(1i*alpha1)*sin(theta1 / 2) << "|1>" << endl;
cout << "psi=" << cos(theta2 / 2) << "*|0>+" << exp(1i*alpha2)*sin(theta2 / 2) << "|1>" << endl;
phi.push_back(theta1);
phi.push_back(alpha1);
phi.push_back(theta2);
phi.push_back(alpha2);
cout<<" Programming the circuit..." << endl;
init();
vector<Qubit*> qVec;
vector<CBit*> cVec;
for (auto i = 0; i < 3 ; i++)
{
qVec.push_back(qAlloc());
}
cVec.push_back(cAlloc());
double prob;
size_t times=0;
for (auto i = 0; i < 1000; i++)
{
if (swaptest1(qVec, cVec, phi))
{
times++;
}
}
prob = times*0.001;
cout << "|<phi|psi>|^2=" << 1 - 2 * prob << endl;
return;
}
bool swaptest1(vector<Qubit*> qVec, vector<CBit*> cVec, vector<double>& phi)
{
init();
auto bvAlgorithm = swaptest_QProg(qVec, cVec, phi);
append(bvAlgorithm);
run();
return getCBitValue(cVec[0]);
}
| [
"369038080@qq.com"
] | 369038080@qq.com |
c174a0abd38badf22c65f5272f3bc535162c2e14 | 1fe8d4133981e53e88abf633046060b56fae883e | /venv/lib/python3.8/site-packages/tensorflow/include/external/mkl_dnn/src/cpu/rnn/jit_uni_rnn_cell_postgemm.hpp | 3cb3f30d3acd7f996d2a7bf66dc7b7295123a741 | [] | no_license | Akira331/flask-cifar10 | 6c49db8485038731ce67d23f0972b9574746c7a7 | 283e7a2867c77d4b6aba7aea9013bf241d35d76c | refs/heads/master | 2023-06-14T16:35:06.384755 | 2021-07-05T14:09:15 | 2021-07-05T14:09:15 | 382,864,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:f5eb9247fe14443cfda10819547a95930e40136bb4bb69739d43461f23adc85d
size 11384
| [
"business030301@gmail.com"
] | business030301@gmail.com |
666070e24429719eb85f27bdcdc5dcc92b5bec19 | f494b2435cb92c5bcad2c21e26b8b43a27a4c9c8 | /test/dist_utils_test.cpp | 689c9521424b663c7d7865dd93ece60046a96616 | [] | no_license | cykustcc/hmm_aw | 7b2b744bc18274a4058f7a51dc65e2008dd5f081 | ab16e7ddaa258375ba635305437915e953fe00ea | refs/heads/master | 2021-09-27T02:51:08.408697 | 2018-11-05T16:57:28 | 2018-11-05T16:57:28 | 83,361,420 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | //
// dist_utils_test.cpp
// hmm_aw
//
// Created by Yukun Chen on 3/7/17.
// Copyright © 2017 cyk. All rights reserved.
//
#include "gtest/gtest.h"
#include "glog/logging.h"
#include "dist_utils.h"
#include "test_common.h"
TEST(DistUtilTest, CalcDistmat){
std::string filename(root_path + "/data/test/hmm2.in");
HmmModel hmm1;
hmm1.read_model(filename);
double *C = (double *)calloc(hmm1.numst * hmm1.numst, sizeof(double));
calc_distmat(hmm1, hmm1, C);
double gt_dist[] = {0.0, 0.02, 0.08,\
0.02, 0.0, 0.02,\
0.08, 0.02, 0.0};
for (int i = 0; i < hmm1.numst * hmm1.numst; i++) {
EXPECT_NEAR(C[i], gt_dist[i], 0.0001);
// LOG(INFO)<<C[i];
}
}
| [
"cykustc@gmail.com"
] | cykustc@gmail.com |
af1369109e0bb64e96b935a3ae9cec90dc527ef2 | d8a4b84c1963974d878dc51a503f70573eea3c72 | /devel/include/controller_manager_msgs/ListControllerTypesRequest.h | 001b3c49f462b86ad24a7250af4a3462d39aadd1 | [] | no_license | robotic-ultrasound-image-system/ur5 | 72eb8b7cbd9fbb3dbaac107ed098ac44b9da4402 | 4b0cff44fb9159a3a372a09b1abb0d5084fdf960 | refs/heads/master | 2021-01-21T10:41:50.064585 | 2018-04-08T12:08:52 | 2018-04-08T12:08:52 | 101,979,048 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,563 | h | // Generated by gencpp from file controller_manager_msgs/ListControllerTypesRequest.msg
// DO NOT EDIT!
#ifndef CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESREQUEST_H
#define CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace controller_manager_msgs
{
template <class ContainerAllocator>
struct ListControllerTypesRequest_
{
typedef ListControllerTypesRequest_<ContainerAllocator> Type;
ListControllerTypesRequest_()
{
}
ListControllerTypesRequest_(const ContainerAllocator& _alloc)
{
(void)_alloc;
}
typedef boost::shared_ptr< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> const> ConstPtr;
}; // struct ListControllerTypesRequest_
typedef ::controller_manager_msgs::ListControllerTypesRequest_<std::allocator<void> > ListControllerTypesRequest;
typedef boost::shared_ptr< ::controller_manager_msgs::ListControllerTypesRequest > ListControllerTypesRequestPtr;
typedef boost::shared_ptr< ::controller_manager_msgs::ListControllerTypesRequest const> ListControllerTypesRequestConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace controller_manager_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'controller_manager_msgs': ['/home/us-robot/catkin_ws/src/ur5-master/ros_control-kinetic-devel/controller_manager_msgs/msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
{
static const char* value()
{
return "d41d8cd98f00b204e9800998ecf8427e";
}
static const char* value(const ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
};
template<class ContainerAllocator>
struct DataType< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
{
static const char* value()
{
return "controller_manager_msgs/ListControllerTypesRequest";
}
static const char* value(const ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
{
static const char* value()
{
return "\n\
\n\
\n\
";
}
static const char* value(const ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream&, T)
{}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct ListControllerTypesRequest_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream&, const std::string&, const ::controller_manager_msgs::ListControllerTypesRequest_<ContainerAllocator>&)
{}
};
} // namespace message_operations
} // namespace ros
#endif // CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESREQUEST_H
| [
"945193029@qq.com"
] | 945193029@qq.com |
606e005a5f21edd27dc2322daa68a4624ca03140 | a3d60621d6f87501e40bd0fa2725e982f2cc1538 | /lourdes/cpu/sleep.hpp | ee1070408c0e6bd7903acfdf922b2199d22b5809 | [
"MIT"
] | permissive | perezdidac/lourdes | 4fb9aadc67f5a958108f2fe4364eb8daee7e57cb | 4232d912db272fe2a26a916bbf64517cb4a9b3c6 | refs/heads/master | 2021-01-19T04:30:01.691614 | 2017-03-16T03:56:01 | 2017-03-16T03:56:01 | 46,391,752 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | hpp | #ifndef __LOURDES_CPU_SLEEP_HPP
#define __LOURDES_CPU_SLEEP_HPP
/// \example examples/cpu/sleep.cpp
namespace lourdes { namespace cpu {
/// \brief Blocks for the given amount of time in milliseconds.
/// \param milliseconds Time, in milliseconds, to block before return.
void sleep(int milliseconds);
}}
#endif // __LOURDES_CPU_SLEEP_HPP
| [
"perez.didac@gmail.com"
] | perez.didac@gmail.com |
5a27e9e8f77354ba8786816608b37223d4a25f62 | 4a82e68032fe8000aa29609a28db6a865ac4a2cc | /src/shoddyxml.h | b0cfee7b9795c6a8e339c3b56035621423a3b7ea | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | garretlab/shoddyxml | 4a4c50bf4304ee6a55ceec763791f6f2d1d6f189 | d95d1495be9aefdb5528e91888847cfcec04379e | refs/heads/master | 2020-12-25T18:43:08.750195 | 2019-03-16T10:13:18 | 2019-03-16T10:13:18 | 103,806,207 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | h | #ifndef SHODDYXML_H
#define SHODDYXML_H
typedef struct {
char *name;
char *attValue;
} attribute_t;
class shoddyxml {
public:
shoddyxml(int (*getCharFunction)());
void parse();
char stringBuffer[32];
attribute_t *attributes;
int numAttributes;
/* user supplied functions */
int (*getCharFunction)();
void (*foundXMLDecl)();
void (*foundXMLEnd)();
void (*foundPI)(char *s);
void (*foundSTag)(char *s, int numAttributes, attribute_t attributes[]);
void (*foundETag)(char *s);
void (*foundEmptyElemTag)(char *s, int numAttributes, attribute_t attributes[]);
void (*foundSection)(char *s);
void (*beginCharacter)();
void (*foundCharacter)(char c);
void (*endCharacter)();
void (*foundElement)(char *s);
private:
enum status_t {
INXML, LEFTBRACKET, MAYBELBEX,
INPI, INSTAG, INETAG, INSECTION, INCDATA,
INCHARACTER, MAYBECOMMENT, INCOMMENT, INELEMENT
} status;
int subStatus;
int xmlStarted;
int sbPosition;
char lookAhead[4];
int laPosition;
int getChar();
void unGetChar(int c);
void resetStatus();
void parseInXML(int c);
void parseLeftBracket(int c);
void parseMayBeLBEx(int c);
void parseMayBeComment(int c);
void parseInPI(int c);
void parseInSTag(int c);
void parseInETag(int c);
void parseInLBEx(int c);
void parseInSection(int c);
void parseInCDATA(int c);
void parseInCharacter(int c);
void parseInComment(int c);
void parseInElement(int c);
};
#endif /* SHODDYXML_H */
| [
"garretlab@gmail.com"
] | garretlab@gmail.com |
7a25fc8b076c2f69c9b99ac464e7b537dd0ec705 | 4b4aa4fbbe21026ca4c8a2c3e9e8af62ff9ff19f | /src/simd/pack_detail/pack_cast.h | 4c9dc810a71e3d3b922ed1e1f75a31cf5449a4fb | [
"Apache-2.0"
] | permissive | DenisYaroshevskiy/algorithm_dumpster | 961c75600232d030c2468a2300bad4531988f5d2 | 5e276d90f9bd9968b0a25ec57a91106aedecd021 | refs/heads/master | 2020-06-28T02:45:04.429293 | 2020-05-10T17:14:55 | 2020-05-10T17:14:55 | 200,123,104 | 3 | 3 | Apache-2.0 | 2020-03-08T10:25:46 | 2019-08-01T21:45:52 | C++ | UTF-8 | C++ | false | false | 1,546 | h | /*
* Copyright 2020 Denis Yaroshevskiy
*
* 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 SIMD_PACK_DETAIL_PACK_CAST_H_
#define SIMD_PACK_DETAIL_PACK_CAST_H_
#include <type_traits>
#include "simd/pack_detail/pack_declaration.h"
namespace simd {
template <typename Pack, typename T, std::size_t W>
Pack cast(const pack<T, W>& x) {
static_assert(std::is_same_v<register_t<Pack>, register_t<pack<T, W>>>);
return Pack{x.reg};
}
template <typename U, typename T, std::size_t W>
auto cast_elements(const pack<T, W>& x) {
return cast<pack<U, W>>(x);
}
template <typename T, std::size_t W>
auto cast_to_bytes(const pack<T, W>& x) {
return cast<pack<std::uint8_t, W * sizeof(T)>>(x);
}
template <typename T, std::size_t W>
auto cast_to_signed(const pack<T, W>& x) {
return cast_elements<signed_equivalent<T>>(x);
}
template <typename T, std::size_t W>
auto cast_to_unsigned(const pack<T, W>& x) {
return cast_elements<unsigned_equivalent<T>>(x);
}
} // namespace simd
#endif // SIMD_PACK_DETAIL_PACK_CAST_H_
| [
"denis.yaroshevskij@gmail.com"
] | denis.yaroshevskij@gmail.com |
17dd5d38e5e24b0e601ad7197a538b48bd2dd150 | b6accf0ea60ee8e844f2df6bb46d97bd647730a8 | /Daily/8_5/Pthead_mutex/ticket.cc | 2bbe8771a26b7d9743dc8a06a90edcf7c369a2e3 | [] | no_license | Hephaestus-RC/Linux | ecd89e5d4bf2f8b2442d0faa7eda95bd8a3b254a | 7120c75643867142aa29d1a34fcebf7155d9ef16 | refs/heads/master | 2020-06-24T15:32:12.127343 | 2019-12-18T03:53:55 | 2019-12-18T03:53:55 | 199,001,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cc | #include<iostream>
#include<pthread.h>
#include<unistd.h>
using namespace std;
int ticket = 100;
pthread_mutex_t lock;
void* BuyTicket(void* args)
{
while(1)
{
pthread_mutex_lock(&lock);
if(ticket > 0)
{
cout<<"Buy one ticket , ticket : "<<ticket--<<endl;
pthread_mutex_unlock(&lock);
}
else
{
pthread_mutex_unlock(&lock);
break;
}
}
cout<<"ticket is over , "<<(char*)args<<endl;
}
int main()
{
pthread_mutex_init(&lock,NULL);
pthread_t tid[5];
pthread_create(tid+0,NULL,BuyTicket,(void*)"thread 1");
pthread_create(tid+1,NULL,BuyTicket,(void*)"thread 2");
pthread_create(tid+2,NULL,BuyTicket,(void*)"thread 3");
pthread_create(tid+3,NULL,BuyTicket,(void*)"thread 4");
pthread_create(tid+4,NULL,BuyTicket,(void*)"thread 5");
pthread_join(tid[0],NULL);
pthread_join(tid[1],NULL);
pthread_join(tid[2],NULL);
pthread_join(tid[3],NULL);
pthread_join(tid[4],NULL);
pthread_mutex_destroy(&lock);
return 0;
}
| [
"1599387893@qq.com"
] | 1599387893@qq.com |
c2ce34bb9daf38908db3a9b3723f24becb2616b1 | 730b9b15a4d70a76f5cef101c9cc0f8fc5265008 | /source/client/game/tech3/parse.cpp | ec39d261b7054219bd55918d58593fb4330ff27d | [] | no_license | msfwaifu/jlquake | 23e7350a122aa91cae84c21f4f01f9628a5dbf7c | 69498ea1ea09482b096f06ab7b433e715b7802a8 | refs/heads/master | 2021-01-23T06:35:48.219738 | 2014-05-10T22:49:20 | 2014-05-10T22:49:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,214 | cpp | //**************************************************************************
//**
//** See jlquake.txt for copyright info.
//**
//** This program is free software; you can redistribute it and/or
//** modify it under the terms of the GNU General Public License
//** as published by the Free Software Foundation; either version 3
//** of the License, or (at your option) any later version.
//**
//** This program is distributed in the hope that it will be useful,
//** but WITHOUT ANY WARRANTY; without even the implied warranty of
//** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//** included (gnu.txt) GNU General Public License for more details.
//**
//**************************************************************************
#include "local.h"
#include "../../client_main.h"
#include "../../system.h"
#include "../../ui/console.h"
#include "../et/local.h"
#include "../et/dl_public.h"
#include "../../../common/Common.h"
#include "../../../common/common_defs.h"
#include "../../../common/strings.h"
#include "../../../common/command_buffer.h"
#include "../../../common/message_utils.h"
#include "../../../common/content_types.h"
static int entLastVisible[ MAX_CLIENTS_WM ];
static const char* svct3_strings[ 256 ] =
{
"q3svc_bad",
"q3svc_nop",
"q3svc_gamestate",
"q3svc_configstring",
"q3svc_baseline",
"q3svc_serverCommand",
"q3svc_download",
"q3svc_snapshot",
"q3svc_EOF"
};
// The systeminfo configstring has been changed, so parse
// new information out of it. This will happen at every
// gamestate, and possibly during gameplay.
void CLT3_SystemInfoChanged() {
const char* systemInfo = GGameType & GAME_WolfSP ? cl.ws_gameState.stringData + cl.ws_gameState.stringOffsets[ Q3CS_SYSTEMINFO ] :
GGameType & GAME_WolfMP ? cl.wm_gameState.stringData + cl.wm_gameState.stringOffsets[ Q3CS_SYSTEMINFO ] :
GGameType & GAME_ET ? cl.et_gameState.stringData + cl.et_gameState.stringOffsets[ Q3CS_SYSTEMINFO ] :
cl.q3_gameState.stringData + cl.q3_gameState.stringOffsets[ Q3CS_SYSTEMINFO ];
// NOTE TTimo:
// when the serverId changes, any further messages we send to the server will use this new serverId
// in some cases, outdated cp commands might get sent with this news serverId
cl.q3_serverId = String::Atoi( Info_ValueForKey( systemInfo, "sv_serverid" ) );
Com_Memset( &entLastVisible, 0, sizeof ( entLastVisible ) );
// don't set any vars when playing a demo
if ( clc.demoplaying ) {
return;
}
const char* s = Info_ValueForKey( systemInfo, "sv_cheats" );
if ( String::Atoi( s ) == 0 ) {
Cvar_SetCheatState();
}
// check pure server string
s = Info_ValueForKey( systemInfo, "sv_paks" );
const char* t = Info_ValueForKey( systemInfo, "sv_pakNames" );
FS_PureServerSetLoadedPaks( s, t );
s = Info_ValueForKey( systemInfo, "sv_referencedPaks" );
t = Info_ValueForKey( systemInfo, "sv_referencedPakNames" );
FS_PureServerSetReferencedPaks( s, t );
bool gameSet = false;
// scan through all the variables in the systeminfo and locally set cvars to match
s = systemInfo;
while ( s ) {
char key[ BIG_INFO_KEY ];
char value[ BIG_INFO_VALUE ];
Info_NextPair( &s, key, value );
if ( !key[ 0 ] ) {
break;
}
// ehw!
if ( !String::ICmp( key, "fs_game" ) ) {
gameSet = true;
}
Cvar_Set( key, value );
}
// if game folder should not be set and it is set at the client side
if ( GGameType & GAME_Quake3 && !gameSet && *Cvar_VariableString( "fs_game" ) ) {
Cvar_Set( "fs_game", "" );
}
if ( GGameType & GAME_ET ) {
// Arnout: big hack to clear the image cache on a pure change
if ( Cvar_VariableValue( "sv_pure" ) ) {
if ( !cl_connectedToPureServer && cls.state <= CA_CONNECTED ) {
CLET_PurgeCache();
}
cl_connectedToPureServer = true;
} else {
if ( cl_connectedToPureServer && cls.state <= CA_CONNECTED ) {
CLET_PurgeCache();
}
cl_connectedToPureServer = false;
}
} else {
cl_connectedToPureServer = Cvar_VariableValue( "sv_pure" );
}
}
// Command strings are just saved off until cgame asks for them
// when it transitions a snapshot
static void CLT3_ParseCommandString( QMsg* msg ) {
int seq = msg->ReadLong();
const char* s = msg->ReadString();
// see if we have already executed stored it off
if ( clc.q3_serverCommandSequence >= seq ) {
return;
}
clc.q3_serverCommandSequence = seq;
int maxReliableCommands = GGameType & GAME_Quake3 ? MAX_RELIABLE_COMMANDS_Q3 : MAX_RELIABLE_COMMANDS_WOLF;
int index = seq & ( maxReliableCommands - 1 );
String::NCpyZ( clc.q3_serverCommands[ index ], s, sizeof ( clc.q3_serverCommands[ index ] ) );
}
static bool CLWM_IsEntVisible( wmentityState_t* ent ) {
vec3_t start;
VectorCopy( cl.wm_cgameClientLerpOrigin, start );
start[ 2 ] += ( cl.wm_snap.ps.viewheight - 1 );
if ( cl.wm_snap.ps.leanf != 0 ) {
vec3_t lright, v3ViewAngles;
VectorCopy( cl.wm_snap.ps.viewangles, v3ViewAngles );
v3ViewAngles[ 2 ] += cl.wm_snap.ps.leanf / 2.0f;
AngleVectors( v3ViewAngles, NULL, lright, NULL );
VectorMA( start, cl.wm_snap.ps.leanf, lright, start );
}
vec3_t end;
VectorCopy( ent->pos.trBase, end );
// Compute vector perpindicular to view to ent
vec3_t forward;
VectorSubtract( end, start, forward );
VectorNormalizeFast( forward );
vec3_t up;
VectorSet( up, 0, 0, 1 );
vec3_t right;
CrossProduct( forward, up, right );
VectorNormalizeFast( right );
vec3_t right2;
VectorScale( right, 10, right2 );
VectorScale( right, 18, right );
// Set viewheight
float view_height;
if ( ent->animMovetype ) {
view_height = 16;
} else {
view_height = 40;
}
// First, viewpoint to viewpoint
end[ 2 ] += view_height;
q3trace_t tr;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// First-b, viewpoint to top of head
end[ 2 ] += 16;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
end[ 2 ] -= 16;
// Second, viewpoint to ent's origin
end[ 2 ] -= view_height;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Third, to ent's right knee
vec3_t temp;
VectorAdd( end, right, temp );
temp[ 2 ] += 8;
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Fourth, to ent's right shoulder
VectorAdd( end, right2, temp );
if ( ent->animMovetype ) {
temp[ 2 ] += 28;
} else {
temp[ 2 ] += 52;
}
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Fifth, to ent's left knee
VectorScale( right, -1, right );
VectorScale( right2, -1, right2 );
VectorAdd( end, right2, temp );
temp[ 2 ] += 2;
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Sixth, to ent's left shoulder
VectorAdd( end, right, temp );
if ( ent->animMovetype ) {
temp[ 2 ] += 16;
} else {
temp[ 2 ] += 36;
}
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
return false;
}
static bool CLET_IsEntVisible( etentityState_t* ent ) {
vec3_t start;
VectorCopy( cl.wm_cgameClientLerpOrigin, start );
start[ 2 ] += ( cl.et_snap.ps.viewheight - 1 );
if ( cl.et_snap.ps.leanf != 0 ) {
vec3_t lright, v3ViewAngles;
VectorCopy( cl.et_snap.ps.viewangles, v3ViewAngles );
v3ViewAngles[ 2 ] += cl.et_snap.ps.leanf / 2.0f;
AngleVectors( v3ViewAngles, NULL, lright, NULL );
VectorMA( start, cl.et_snap.ps.leanf, lright, start );
}
vec3_t end;
VectorCopy( ent->pos.trBase, end );
// Compute vector perpindicular to view to ent
vec3_t forward;
VectorSubtract( end, start, forward );
VectorNormalizeFast( forward );
vec3_t up;
VectorSet( up, 0, 0, 1 );
vec3_t right;
CrossProduct( forward, up, right );
VectorNormalizeFast( right );
vec3_t right2;
VectorScale( right, 10, right2 );
VectorScale( right, 18, right );
// Set viewheight
float view_height;
if ( ent->animMovetype ) {
view_height = 16;
} else {
view_height = 40;
}
// First, viewpoint to viewpoint
end[ 2 ] += view_height;
q3trace_t tr;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// First-b, viewpoint to top of head
end[ 2 ] += 16;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
end[ 2 ] -= 16;
// Second, viewpoint to ent's origin
end[ 2 ] -= view_height;
CM_BoxTraceQ3( &tr, start, end, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Third, to ent's right knee
vec3_t temp;
VectorAdd( end, right, temp );
temp[ 2 ] += 8;
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Fourth, to ent's right shoulder
VectorAdd( end, right2, temp );
if ( ent->animMovetype ) {
temp[ 2 ] += 28;
} else {
temp[ 2 ] += 52;
}
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Fifth, to ent's left knee
VectorScale( right, -1, right );
VectorScale( right2, -1, right2 );
VectorAdd( end, right2, temp );
temp[ 2 ] += 2;
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
// Sixth, to ent's left shoulder
VectorAdd( end, right, temp );
if ( ent->animMovetype ) {
temp[ 2 ] += 16;
} else {
temp[ 2 ] += 36;
}
CM_BoxTraceQ3( &tr, start, temp, NULL, NULL, 0, BSP46CONTENTS_SOLID, false );
if ( tr.fraction == 1.f ) {
return true;
}
return false;
}
// Parses deltas from the given base and adds the resulting entity
// to the current frame
static void CLQ3_DeltaEntity( QMsg* msg, q3clSnapshot_t* frame, int newnum, q3entityState_t* old,
bool unchanged ) {
// save the parsed entity state into the big circular buffer so
// it can be used as the source for a later delta
q3entityState_t* state = &cl.q3_parseEntities[ cl.parseEntitiesNum & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
if ( unchanged ) {
*state = *old;
} else {
MSGQ3_ReadDeltaEntity( msg, old, state, newnum );
}
if ( state->number == ( MAX_GENTITIES_Q3 - 1 ) ) {
return; // entity was delta removed
}
cl.parseEntitiesNum++;
frame->numEntities++;
}
// Parses deltas from the given base and adds the resulting entity
// to the current frame
static void CLWS_DeltaEntity( QMsg* msg, wsclSnapshot_t* frame, int newnum, wsentityState_t* old,
bool unchanged ) {
// save the parsed entity state into the big circular buffer so
// it can be used as the source for a later delta
wsentityState_t* state = &cl.ws_parseEntities[ cl.parseEntitiesNum & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
if ( unchanged ) {
*state = *old;
} else {
MSGWS_ReadDeltaEntity( msg, old, state, newnum );
}
if ( state->number == ( MAX_GENTITIES_Q3 - 1 ) ) {
return; // entity was delta removed
}
cl.parseEntitiesNum++;
frame->numEntities++;
}
// Parses deltas from the given base and adds the resulting entity
// to the current frame
static void CLWM_DeltaEntity( QMsg* msg, wmclSnapshot_t* frame, int newnum, wmentityState_t* old,
bool unchanged ) {
// save the parsed entity state into the big circular buffer so
// it can be used as the source for a later delta
wmentityState_t* state = &cl.wm_parseEntities[ cl.parseEntitiesNum & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
if ( unchanged ) {
*state = *old;
} else {
MSGWM_ReadDeltaEntity( msg, old, state, newnum );
}
if ( state->number == ( MAX_GENTITIES_Q3 - 1 ) ) {
return; // entity was delta removed
}
// DHM - Nerve :: Only draw clients if visible
if ( clc.wm_onlyVisibleClients ) {
if ( state->number < MAX_CLIENTS_WM ) {
if ( CLWM_IsEntVisible( state ) ) {
entLastVisible[ state->number ] = frame->serverTime;
state->eFlags &= ~WMEF_NODRAW;
} else {
if ( entLastVisible[ state->number ] < ( frame->serverTime - 600 ) ) {
state->eFlags |= WMEF_NODRAW;
}
}
}
}
cl.parseEntitiesNum++;
frame->numEntities++;
}
// Parses deltas from the given base and adds the resulting entity
// to the current frame
static void CLET_DeltaEntity( QMsg* msg, etclSnapshot_t* frame, int newnum, etentityState_t* old,
bool unchanged ) {
// save the parsed entity state into the big circular buffer so
// it can be used as the source for a later delta
etentityState_t* state = &cl.et_parseEntities[ cl.parseEntitiesNum & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
if ( unchanged ) {
*state = *old;
} else {
MSGET_ReadDeltaEntity( msg, old, state, newnum );
}
if ( state->number == ( MAX_GENTITIES_Q3 - 1 ) ) {
return; // entity was delta removed
}
// DHM - Nerve :: Only draw clients if visible
if ( clc.wm_onlyVisibleClients ) {
if ( state->number < MAX_CLIENTS_ET ) {
if ( CLET_IsEntVisible( state ) ) {
entLastVisible[ state->number ] = frame->serverTime;
state->eFlags &= ~ETEF_NODRAW;
} else {
if ( entLastVisible[ state->number ] < ( frame->serverTime - 600 ) ) {
state->eFlags |= ETEF_NODRAW;
}
}
}
}
cl.parseEntitiesNum++;
frame->numEntities++;
}
static void CLQ3_ParsePacketEntities( QMsg* msg, q3clSnapshot_t* oldframe, q3clSnapshot_t* newframe ) {
newframe->parseEntitiesNum = cl.parseEntitiesNum;
newframe->numEntities = 0;
// delta from the entities present in oldframe
int oldindex = 0;
q3entityState_t* oldstate = NULL;
int oldnum;
if ( !oldframe ) {
oldnum = 99999;
} else {
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.q3_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
while ( 1 ) {
// read the entity index number
int newnum = msg->ReadBits( GENTITYNUM_BITS_Q3 );
if ( newnum == ( MAX_GENTITIES_Q3 - 1 ) ) {
break;
}
if ( msg->readcount > msg->cursize ) {
common->Error( "CLQ3_ParsePacketEntities: end of message" );
}
while ( oldnum < newnum ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLQ3_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.q3_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( oldnum == newnum ) {
// delta from previous state
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: delta: %i\n", msg->readcount, newnum );
}
CLQ3_DeltaEntity( msg, newframe, newnum, oldstate, false );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.q3_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
continue;
}
if ( oldnum > newnum ) {
// delta from baseline
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: baseline: %i\n", msg->readcount, newnum );
}
CLQ3_DeltaEntity( msg, newframe, newnum, &cl.q3_entityBaselines[ newnum ], false );
continue;
}
}
// any remaining entities in the old frame are copied over
while ( oldnum != 99999 ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLQ3_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.q3_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
}
static void CLWS_ParsePacketEntities( QMsg* msg, wsclSnapshot_t* oldframe, wsclSnapshot_t* newframe ) {
newframe->parseEntitiesNum = cl.parseEntitiesNum;
newframe->numEntities = 0;
// delta from the entities present in oldframe
int oldindex = 0;
wsentityState_t* oldstate = NULL;
int oldnum;
if ( !oldframe ) {
oldnum = 99999;
} else {
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.ws_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
while ( 1 ) {
// read the entity index number
int newnum = msg->ReadBits( GENTITYNUM_BITS_Q3 );
if ( newnum == ( MAX_GENTITIES_Q3 - 1 ) ) {
break;
}
if ( msg->readcount > msg->cursize ) {
common->Error( "CLWS_ParsePacketEntities: end of message" );
}
while ( oldnum < newnum ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLWS_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.ws_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( oldnum == newnum ) {
// delta from previous state
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: delta: %i\n", msg->readcount, newnum );
}
CLWS_DeltaEntity( msg, newframe, newnum, oldstate, false );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.ws_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
continue;
}
if ( oldnum > newnum ) {
// delta from baseline
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: baseline: %i\n", msg->readcount, newnum );
}
CLWS_DeltaEntity( msg, newframe, newnum, &cl.ws_entityBaselines[ newnum ], false );
continue;
}
}
// any remaining entities in the old frame are copied over
while ( oldnum != 99999 ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLWS_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.ws_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
}
static void CLWM_ParsePacketEntities( QMsg* msg, wmclSnapshot_t* oldframe, wmclSnapshot_t* newframe ) {
newframe->parseEntitiesNum = cl.parseEntitiesNum;
newframe->numEntities = 0;
// delta from the entities present in oldframe
int oldindex = 0;
wmentityState_t* oldstate = NULL;
int oldnum;
if ( !oldframe ) {
oldnum = 99999;
} else {
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.wm_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
while ( 1 ) {
// read the entity index number
int newnum = msg->ReadBits( GENTITYNUM_BITS_Q3 );
if ( newnum == ( MAX_GENTITIES_Q3 - 1 ) ) {
break;
}
if ( msg->readcount > msg->cursize ) {
common->Error( "CLWM_ParsePacketEntities: end of message" );
}
while ( oldnum < newnum ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLWM_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.wm_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( oldnum == newnum ) {
// delta from previous state
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: delta: %i\n", msg->readcount, newnum );
}
CLWM_DeltaEntity( msg, newframe, newnum, oldstate, false );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.wm_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
continue;
}
if ( oldnum > newnum ) {
// delta from baseline
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: baseline: %i\n", msg->readcount, newnum );
}
CLWM_DeltaEntity( msg, newframe, newnum, &cl.wm_entityBaselines[ newnum ], false );
continue;
}
}
// any remaining entities in the old frame are copied over
while ( oldnum != 99999 ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLWM_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.wm_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( clwm_shownuments->integer ) {
common->Printf( "Entities in packet: %i\n", newframe->numEntities );
}
}
static void CLET_ParsePacketEntities( QMsg* msg, etclSnapshot_t* oldframe, etclSnapshot_t* newframe ) {
newframe->parseEntitiesNum = cl.parseEntitiesNum;
newframe->numEntities = 0;
// delta from the entities present in oldframe
int oldindex = 0;
etentityState_t* oldstate = NULL;
int oldnum;
if ( !oldframe ) {
oldnum = 99999;
} else {
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.et_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
while ( 1 ) {
// read the entity index number
int newnum = msg->ReadBits( GENTITYNUM_BITS_Q3 );
if ( newnum == ( MAX_GENTITIES_Q3 - 1 ) ) {
break;
}
if ( msg->readcount > msg->cursize ) {
common->Error( "CLET_ParsePacketEntities: end of message" );
}
while ( oldnum < newnum ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLET_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.et_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( oldnum == newnum ) {
// delta from previous state
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: delta: %i\n", msg->readcount, newnum );
}
CLET_DeltaEntity( msg, newframe, newnum, oldstate, false );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.et_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
continue;
}
if ( oldnum > newnum ) {
// delta from baseline
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: baseline: %i\n", msg->readcount, newnum );
}
CLET_DeltaEntity( msg, newframe, newnum, &cl.et_entityBaselines[ newnum ], false );
continue;
}
}
// any remaining entities in the old frame are copied over
while ( oldnum != 99999 ) {
// one or more entities from the old packet are unchanged
if ( cl_shownet->integer == 3 ) {
common->Printf( "%3i: unchanged: %i\n", msg->readcount, oldnum );
}
CLET_DeltaEntity( msg, newframe, oldnum, oldstate, true );
oldindex++;
if ( oldindex >= oldframe->numEntities ) {
oldnum = 99999;
} else {
oldstate = &cl.et_parseEntities[
( oldframe->parseEntitiesNum + oldindex ) & ( MAX_PARSE_ENTITIES_Q3 - 1 ) ];
oldnum = oldstate->number;
}
}
if ( clwm_shownuments->integer ) {
common->Printf( "Entities in packet: %i\n", newframe->numEntities );
}
}
// If the snapshot is parsed properly, it will be copied to
// cl.snap and saved in cl.snapshots[]. If the snapshot is invalid
// for any reason, no changes to the state will be made at all.
static void CLQ3_ParseSnapshot( QMsg* msg ) {
int len;
q3clSnapshot_t* old;
q3clSnapshot_t newSnap;
int deltaNum;
int oldMessageNum;
int i, packetNum;
// get the reliable sequence acknowledge number
// NOTE: now sent with all server to client messages
//clc.q3_reliableAcknowledge = msg->ReadLong();
// read in the new snapshot to a temporary buffer
// we will only copy to cl.snap if it is valid
Com_Memset( &newSnap, 0, sizeof ( newSnap ) );
// we will have read any new server commands in this
// message before we got to q3svc_snapshot
newSnap.serverCommandNum = clc.q3_serverCommandSequence;
newSnap.serverTime = msg->ReadLong();
newSnap.messageNum = clc.q3_serverMessageSequence;
deltaNum = msg->ReadByte();
if ( !deltaNum ) {
newSnap.deltaNum = -1;
} else {
newSnap.deltaNum = newSnap.messageNum - deltaNum;
}
newSnap.snapFlags = msg->ReadByte();
// If the frame is delta compressed from data that we
// no longer have available, we must suck up the rest of
// the frame, but not use it, then ask for a non-compressed
// message
if ( newSnap.deltaNum <= 0 ) {
newSnap.valid = true; // uncompressed frame
old = NULL;
clc.q3_demowaiting = false; // we can start recording now
} else {
old = &cl.q3_snapshots[ newSnap.deltaNum & PACKET_MASK_Q3 ];
if ( !old->valid ) {
// should never happen
common->Printf( "Delta from invalid frame (not supposed to happen!).\n" );
} else if ( old->messageNum != newSnap.deltaNum ) {
// The frame that the server did the delta from
// is too old, so we can't reconstruct it properly.
common->Printf( "Delta frame too old.\n" );
} else if ( cl.parseEntitiesNum - old->parseEntitiesNum > MAX_PARSE_ENTITIES_Q3 - 128 ) {
common->Printf( "Delta parseEntitiesNum too old.\n" );
} else {
newSnap.valid = true; // valid delta parse
}
}
// read areamask
len = msg->ReadByte();
msg->ReadData( &newSnap.areamask, len );
// read playerinfo
SHOWNET( *msg, "playerstate" );
if ( old ) {
MSGQ3_ReadDeltaPlayerstate( msg, &old->ps, &newSnap.ps );
} else {
MSGQ3_ReadDeltaPlayerstate( msg, NULL, &newSnap.ps );
}
// read packet entities
SHOWNET( *msg, "packet entities" );
CLQ3_ParsePacketEntities( msg, old, &newSnap );
// if not valid, dump the entire thing now that it has
// been properly read
if ( !newSnap.valid ) {
return;
}
// clear the valid flags of any snapshots between the last
// received and this one, so if there was a dropped packet
// it won't look like something valid to delta from next
// time we wrap around in the buffer
oldMessageNum = cl.q3_snap.messageNum + 1;
if ( newSnap.messageNum - oldMessageNum >= PACKET_BACKUP_Q3 ) {
oldMessageNum = newSnap.messageNum - ( PACKET_BACKUP_Q3 - 1 );
}
for (; oldMessageNum < newSnap.messageNum; oldMessageNum++ ) {
cl.q3_snapshots[ oldMessageNum & PACKET_MASK_Q3 ].valid = false;
}
// copy to the current good spot
cl.q3_snap = newSnap;
cl.q3_snap.ping = 999;
// calculate ping time
for ( i = 0; i < PACKET_BACKUP_Q3; i++ ) {
packetNum = ( clc.netchan.outgoingSequence - 1 - i ) & PACKET_MASK_Q3;
if ( cl.q3_snap.ps.commandTime >= cl.q3_outPackets[ packetNum ].p_serverTime ) {
cl.q3_snap.ping = cls.realtime - cl.q3_outPackets[ packetNum ].p_realtime;
break;
}
}
// save the frame off in the backup array for later delta comparisons
cl.q3_snapshots[ cl.q3_snap.messageNum & PACKET_MASK_Q3 ] = cl.q3_snap;
if ( cl_shownet->integer == 3 ) {
common->Printf( " snapshot:%i delta:%i ping:%i\n", cl.q3_snap.messageNum,
cl.q3_snap.deltaNum, cl.q3_snap.ping );
}
cl.q3_newSnapshots = true;
}
// If the snapshot is parsed properly, it will be copied to
// cl.ws_snap and saved in cl.ws_snapshots[]. If the snapshot is invalid
// for any reason, no changes to the state will be made at all.
static void CLWS_ParseSnapshot( QMsg* msg ) {
int len;
wsclSnapshot_t* old;
wsclSnapshot_t newSnap;
int deltaNum;
int oldMessageNum;
int i, packetNum;
// get the reliable sequence acknowledge number
// NOTE: now sent with all server to client messages
//clc.q3_reliableAcknowledge = msg->ReadLong();
// read in the new snapshot to a temporary buffer
// we will only copy to cl.ws_snap if it is valid
memset( &newSnap, 0, sizeof ( newSnap ) );
// we will have read any new server commands in this
// message before we got to q3svc_snapshot
newSnap.serverCommandNum = clc.q3_serverCommandSequence;
newSnap.serverTime = msg->ReadLong();
newSnap.messageNum = clc.q3_serverMessageSequence;
deltaNum = msg->ReadByte();
if ( !deltaNum ) {
newSnap.deltaNum = -1;
} else {
newSnap.deltaNum = newSnap.messageNum - deltaNum;
}
newSnap.snapFlags = msg->ReadByte();
// If the frame is delta compressed from data that we
// no longer have available, we must suck up the rest of
// the frame, but not use it, then ask for a non-compressed
// message
if ( newSnap.deltaNum <= 0 ) {
newSnap.valid = true; // uncompressed frame
old = NULL;
clc.q3_demowaiting = false; // we can start recording now
} else {
old = &cl.ws_snapshots[ newSnap.deltaNum & PACKET_MASK_Q3 ];
if ( !old->valid ) {
// should never happen
common->Printf( "Delta from invalid frame (not supposed to happen!).\n" );
} else if ( old->messageNum != newSnap.deltaNum ) {
// The frame that the server did the delta from
// is too old, so we can't reconstruct it properly.
common->Printf( "Delta frame too old.\n" );
} else if ( cl.parseEntitiesNum - old->parseEntitiesNum > MAX_PARSE_ENTITIES_Q3 - 128 ) {
common->Printf( "Delta parseEntitiesNum too old.\n" );
} else {
newSnap.valid = true; // valid delta parse
}
}
// read areamask
len = msg->ReadByte();
msg->ReadData( &newSnap.areamask, len );
// read playerinfo
SHOWNET( *msg, "playerstate" );
if ( old ) {
MSGWS_ReadDeltaPlayerstate( msg, &old->ps, &newSnap.ps );
} else {
MSGWS_ReadDeltaPlayerstate( msg, NULL, &newSnap.ps );
}
// read packet entities
SHOWNET( *msg, "packet entities" );
CLWS_ParsePacketEntities( msg, old, &newSnap );
// if not valid, dump the entire thing now that it has
// been properly read
if ( !newSnap.valid ) {
return;
}
// clear the valid flags of any snapshots between the last
// received and this one, so if there was a dropped packet
// it won't look like something valid to delta from next
// time we wrap around in the buffer
oldMessageNum = cl.ws_snap.messageNum + 1;
if ( newSnap.messageNum - oldMessageNum >= PACKET_BACKUP_Q3 ) {
oldMessageNum = newSnap.messageNum - ( PACKET_BACKUP_Q3 - 1 );
}
for (; oldMessageNum < newSnap.messageNum; oldMessageNum++ ) {
cl.ws_snapshots[ oldMessageNum & PACKET_MASK_Q3 ].valid = false;
}
// copy to the current good spot
cl.ws_snap = newSnap;
cl.ws_snap.ping = 999;
// calculate ping time
for ( i = 0; i < PACKET_BACKUP_Q3; i++ ) {
packetNum = ( clc.netchan.outgoingSequence - 1 - i ) & PACKET_MASK_Q3;
if ( cl.ws_snap.ps.commandTime >= cl.q3_outPackets[ packetNum ].p_serverTime ) {
cl.ws_snap.ping = cls.realtime - cl.q3_outPackets[ packetNum ].p_realtime;
break;
}
}
// save the frame off in the backup array for later delta comparisons
cl.ws_snapshots[ cl.ws_snap.messageNum & PACKET_MASK_Q3 ] = cl.ws_snap;
if ( cl_shownet->integer == 3 ) {
common->Printf( " snapshot:%i delta:%i ping:%i\n", cl.ws_snap.messageNum,
cl.ws_snap.deltaNum, cl.ws_snap.ping );
}
cl.q3_newSnapshots = true;
}
// If the snapshot is parsed properly, it will be copied to
// cl.wm_snap and saved in cl.wm_snapshots[]. If the snapshot is invalid
// for any reason, no changes to the state will be made at all.
static void CLWM_ParseSnapshot( QMsg* msg ) {
int len;
wmclSnapshot_t* old;
wmclSnapshot_t newSnap;
int deltaNum;
int oldMessageNum;
int i, packetNum;
// get the reliable sequence acknowledge number
// NOTE: now sent with all server to client messages
//clc.q3_reliableAcknowledge = msg->ReadLong();
// read in the new snapshot to a temporary buffer
// we will only copy to cl.wm_snap if it is valid
memset( &newSnap, 0, sizeof ( newSnap ) );
// we will have read any new server commands in this
// message before we got to q3svc_snapshot
newSnap.serverCommandNum = clc.q3_serverCommandSequence;
newSnap.serverTime = msg->ReadLong();
newSnap.messageNum = clc.q3_serverMessageSequence;
deltaNum = msg->ReadByte();
if ( !deltaNum ) {
newSnap.deltaNum = -1;
} else {
newSnap.deltaNum = newSnap.messageNum - deltaNum;
}
newSnap.snapFlags = msg->ReadByte();
// If the frame is delta compressed from data that we
// no longer have available, we must suck up the rest of
// the frame, but not use it, then ask for a non-compressed
// message
if ( newSnap.deltaNum <= 0 ) {
newSnap.valid = true; // uncompressed frame
old = NULL;
clc.q3_demowaiting = false; // we can start recording now
} else {
old = &cl.wm_snapshots[ newSnap.deltaNum & PACKET_MASK_Q3 ];
if ( !old->valid ) {
// should never happen
common->Printf( "Delta from invalid frame (not supposed to happen!).\n" );
} else if ( old->messageNum != newSnap.deltaNum ) {
// The frame that the server did the delta from
// is too old, so we can't reconstruct it properly.
common->DPrintf( "Delta frame too old.\n" );
} else if ( cl.parseEntitiesNum - old->parseEntitiesNum > MAX_PARSE_ENTITIES_Q3 - 128 ) {
common->DPrintf( "Delta parseEntitiesNum too old.\n" );
} else {
newSnap.valid = true; // valid delta parse
}
}
// read areamask
len = msg->ReadByte();
if ( len > ( int )sizeof ( newSnap.areamask ) ) {
common->Error( "CLWM_ParseSnapshot: Invalid size %d for areamask.", len );
return;
}
msg->ReadData( &newSnap.areamask, len );
// read playerinfo
SHOWNET( *msg, "playerstate" );
if ( old ) {
MSGWM_ReadDeltaPlayerstate( msg, &old->ps, &newSnap.ps );
} else {
MSGWM_ReadDeltaPlayerstate( msg, NULL, &newSnap.ps );
}
// read packet entities
SHOWNET( *msg, "packet entities" );
CLWM_ParsePacketEntities( msg, old, &newSnap );
// if not valid, dump the entire thing now that it has
// been properly read
if ( !newSnap.valid ) {
return;
}
// clear the valid flags of any snapshots between the last
// received and this one, so if there was a dropped packet
// it won't look like something valid to delta from next
// time we wrap around in the buffer
oldMessageNum = cl.wm_snap.messageNum + 1;
if ( newSnap.messageNum - oldMessageNum >= PACKET_BACKUP_Q3 ) {
oldMessageNum = newSnap.messageNum - ( PACKET_BACKUP_Q3 - 1 );
}
for (; oldMessageNum < newSnap.messageNum; oldMessageNum++ ) {
cl.wm_snapshots[ oldMessageNum & PACKET_MASK_Q3 ].valid = false;
}
// copy to the current good spot
cl.wm_snap = newSnap;
cl.wm_snap.ping = 999;
// calculate ping time
for ( i = 0; i < PACKET_BACKUP_Q3; i++ ) {
packetNum = ( clc.netchan.outgoingSequence - 1 - i ) & PACKET_MASK_Q3;
if ( cl.wm_snap.ps.commandTime >= cl.q3_outPackets[ packetNum ].p_serverTime ) {
cl.wm_snap.ping = cls.realtime - cl.q3_outPackets[ packetNum ].p_realtime;
break;
}
}
// save the frame off in the backup array for later delta comparisons
cl.wm_snapshots[ cl.wm_snap.messageNum & PACKET_MASK_Q3 ] = cl.wm_snap;
if ( cl_shownet->integer == 3 ) {
common->Printf( " snapshot:%i delta:%i ping:%i\n", cl.wm_snap.messageNum,
cl.wm_snap.deltaNum, cl.wm_snap.ping );
}
cl.q3_newSnapshots = true;
}
// If the snapshot is parsed properly, it will be copied to
// cl.et_snap and saved in cl.et_snapshots[]. If the snapshot is invalid
// for any reason, no changes to the state will be made at all.
static void CLET_ParseSnapshot( QMsg* msg ) {
int len;
etclSnapshot_t* old;
etclSnapshot_t newSnap;
int deltaNum;
int oldMessageNum;
int i, packetNum;
// get the reliable sequence acknowledge number
// NOTE: now sent with all server to client messages
//clc.q3_reliableAcknowledge = msg->ReadLong();
// read in the new snapshot to a temporary buffer
// we will only copy to cl.et_snap if it is valid
memset( &newSnap, 0, sizeof ( newSnap ) );
// we will have read any new server commands in this
// message before we got to q3svc_snapshot
newSnap.serverCommandNum = clc.q3_serverCommandSequence;
newSnap.serverTime = msg->ReadLong();
newSnap.messageNum = clc.q3_serverMessageSequence;
deltaNum = msg->ReadByte();
if ( !deltaNum ) {
newSnap.deltaNum = -1;
} else {
newSnap.deltaNum = newSnap.messageNum - deltaNum;
}
newSnap.snapFlags = msg->ReadByte();
// If the frame is delta compressed from data that we
// no longer have available, we must suck up the rest of
// the frame, but not use it, then ask for a non-compressed
// message
if ( newSnap.deltaNum <= 0 ) {
newSnap.valid = true; // uncompressed frame
old = NULL;
if ( clc.demorecording ) {
clc.q3_demowaiting = false; // we can start recording now
// if(clet_autorecord->integer) {
// Cvar_Set( "g_synchronousClients", "0" );
// }
} else {
if ( clet_autorecord->integer /*&& Cvar_VariableValue( "g_synchronousClients")*/ ) {
char mapname[ MAX_QPATH ];
char* period;
qtime_t time;
Com_RealTime( &time );
String::NCpyZ( mapname, cl.q3_mapname, MAX_QPATH );
for ( period = mapname; *period; period++ ) {
if ( *period == '.' ) {
*period = '\0';
break;
}
}
for ( period = mapname; *period; period++ ) {
if ( *period == '/' ) {
break;
}
}
if ( *period ) {
period++;
}
char demoName[ MAX_QPATH ];
String::Sprintf( demoName, sizeof ( demoName ), "%s_%i_%i", period, time.tm_mday, time.tm_mon + 1 );
char name[ MAX_QPATH ];
String::Sprintf( name, sizeof ( name ), "demos/%s.dm_%d", demoName, ETPROTOCOL_VERSION );
CLT3_Record( demoName, name );
}
}
} else {
old = &cl.et_snapshots[ newSnap.deltaNum & PACKET_MASK_Q3 ];
if ( !old->valid ) {
// should never happen
common->Printf( "Delta from invalid frame (not supposed to happen!).\n" );
} else if ( old->messageNum != newSnap.deltaNum ) {
// The frame that the server did the delta from
// is too old, so we can't reconstruct it properly.
common->DPrintf( "Delta frame too old.\n" );
} else if ( cl.parseEntitiesNum - old->parseEntitiesNum > MAX_PARSE_ENTITIES_Q3 - 128 ) {
common->DPrintf( "Delta parseEntitiesNum too old.\n" );
} else {
newSnap.valid = true; // valid delta parse
}
}
// read areamask
len = msg->ReadByte();
if ( len > ( int )sizeof ( newSnap.areamask ) ) {
common->Error( "CLET_ParseSnapshot: Invalid size %d for areamask.", len );
return;
}
msg->ReadData( &newSnap.areamask, len );
// read playerinfo
SHOWNET( *msg, "playerstate" );
if ( old ) {
MSGET_ReadDeltaPlayerstate( msg, &old->ps, &newSnap.ps );
} else {
MSGET_ReadDeltaPlayerstate( msg, NULL, &newSnap.ps );
}
// read packet entities
SHOWNET( *msg, "packet entities" );
CLET_ParsePacketEntities( msg, old, &newSnap );
// if not valid, dump the entire thing now that it has
// been properly read
if ( !newSnap.valid ) {
return;
}
// clear the valid flags of any snapshots between the last
// received and this one, so if there was a dropped packet
// it won't look like something valid to delta from next
// time we wrap around in the buffer
oldMessageNum = cl.et_snap.messageNum + 1;
if ( newSnap.messageNum - oldMessageNum >= PACKET_BACKUP_Q3 ) {
oldMessageNum = newSnap.messageNum - ( PACKET_BACKUP_Q3 - 1 );
}
for (; oldMessageNum < newSnap.messageNum; oldMessageNum++ ) {
cl.et_snapshots[ oldMessageNum & PACKET_MASK_Q3 ].valid = false;
}
// copy to the current good spot
cl.et_snap = newSnap;
cl.et_snap.ping = 999;
// calculate ping time
for ( i = 0; i < PACKET_BACKUP_Q3; i++ ) {
packetNum = ( clc.netchan.outgoingSequence - 1 - i ) & PACKET_MASK_Q3;
if ( cl.et_snap.ps.commandTime >= cl.q3_outPackets[ packetNum ].p_serverTime ) {
cl.et_snap.ping = cls.realtime - cl.q3_outPackets[ packetNum ].p_realtime;
break;
}
}
// save the frame off in the backup array for later delta comparisons
cl.et_snapshots[ cl.et_snap.messageNum & PACKET_MASK_Q3 ] = cl.et_snap;
if ( cl_shownet->integer == 3 ) {
common->Printf( " snapshot:%i delta:%i ping:%i\n", cl.et_snap.messageNum,
cl.et_snap.deltaNum, cl.et_snap.ping );
}
cl.q3_newSnapshots = true;
}
static void CLT3_ParseGamestate( QMsg* msg ) {
Con_Close();
clc.q3_connectPacketCount = 0;
// wipe local client state
CL_ClearState();
// a gamestate always marks a server command sequence
clc.q3_serverCommandSequence = msg->ReadLong();
// parse all the configstrings and baselines
if ( GGameType & GAME_Quake3 ) {
cl.q3_gameState.dataCount = 1; // leave a 0 at the beginning for uninitialized configstrings
} else if ( GGameType & GAME_WolfSP ) {
cl.ws_gameState.dataCount = 1; // leave a 0 at the beginning for uninitialized configstrings
} else if ( GGameType & GAME_WolfMP ) {
cl.wm_gameState.dataCount = 1; // leave a 0 at the beginning for uninitialized configstrings
} else {
cl.et_gameState.dataCount = 1; // leave a 0 at the beginning for uninitialized configstrings
}
while ( 1 ) {
int cmd = msg->ReadByte();
if ( cmd == q3svc_EOF ) {
break;
}
if ( cmd == q3svc_configstring ) {
int i = msg->ReadShort();
int maxConfigStrings = GGameType & GAME_WolfSP ? MAX_CONFIGSTRINGS_WS :
GGameType & GAME_WolfMP ? MAX_CONFIGSTRINGS_WM :
GGameType & GAME_ET ? MAX_CONFIGSTRINGS_ET : MAX_CONFIGSTRINGS_Q3;
if ( i < 0 || i >= maxConfigStrings ) {
common->Error( "configstring > MAX_CONFIGSTRINGS" );
}
const char* s = msg->ReadBigString();
int len = String::Length( s );
if ( GGameType & GAME_Quake3 ) {
if ( len + 1 + cl.q3_gameState.dataCount > MAX_GAMESTATE_CHARS_Q3 ) {
common->Error( "MAX_GAMESTATE_CHARS_Q3 exceeded" );
}
// append it to the gameState string buffer
cl.q3_gameState.stringOffsets[ i ] = cl.q3_gameState.dataCount;
Com_Memcpy( cl.q3_gameState.stringData + cl.q3_gameState.dataCount, s, len + 1 );
cl.q3_gameState.dataCount += len + 1;
} else if ( GGameType & GAME_WolfSP ) {
if ( len + 1 + cl.ws_gameState.dataCount > MAX_GAMESTATE_CHARS_Q3 ) {
common->Error( "MAX_GAMESTATE_CHARS_Q3 exceeded" );
}
// append it to the gameState string buffer
cl.ws_gameState.stringOffsets[ i ] = cl.ws_gameState.dataCount;
Com_Memcpy( cl.ws_gameState.stringData + cl.ws_gameState.dataCount, s, len + 1 );
cl.ws_gameState.dataCount += len + 1;
} else if ( GGameType & GAME_WolfMP ) {
if ( len + 1 + cl.wm_gameState.dataCount > MAX_GAMESTATE_CHARS_Q3 ) {
common->Error( "MAX_GAMESTATE_CHARS_Q3 exceeded" );
}
// append it to the gameState string buffer
cl.wm_gameState.stringOffsets[ i ] = cl.wm_gameState.dataCount;
Com_Memcpy( cl.wm_gameState.stringData + cl.wm_gameState.dataCount, s, len + 1 );
cl.wm_gameState.dataCount += len + 1;
} else {
if ( len + 1 + cl.et_gameState.dataCount > MAX_GAMESTATE_CHARS_Q3 ) {
common->Error( "MAX_GAMESTATE_CHARS_Q3 exceeded" );
}
// append it to the gameState string buffer
cl.et_gameState.stringOffsets[ i ] = cl.et_gameState.dataCount;
Com_Memcpy( cl.et_gameState.stringData + cl.et_gameState.dataCount, s, len + 1 );
cl.et_gameState.dataCount += len + 1;
}
} else if ( cmd == q3svc_baseline ) {
int newnum = msg->ReadBits( GENTITYNUM_BITS_Q3 );
if ( newnum < 0 || newnum >= MAX_GENTITIES_Q3 ) {
common->Error( "Baseline number out of range: %i", newnum );
}
if ( GGameType & GAME_Quake3 ) {
q3entityState_t nullstate = {};
q3entityState_t* es = &cl.q3_entityBaselines[ newnum ];
MSGQ3_ReadDeltaEntity( msg, &nullstate, es, newnum );
} else if ( GGameType & GAME_WolfSP ) {
wsentityState_t nullstate = {};
wsentityState_t* es = &cl.ws_entityBaselines[ newnum ];
MSGWS_ReadDeltaEntity( msg, &nullstate, es, newnum );
} else if ( GGameType & GAME_WolfMP ) {
wmentityState_t nullstate = {};
wmentityState_t* es = &cl.wm_entityBaselines[ newnum ];
MSGWM_ReadDeltaEntity( msg, &nullstate, es, newnum );
} else {
etentityState_t nullstate = {};
etentityState_t* es = &cl.et_entityBaselines[ newnum ];
MSGET_ReadDeltaEntity( msg, &nullstate, es, newnum );
}
} else {
common->Error( "CLT3_ParseGamestate: bad command byte" );
}
}
clc.q3_clientNum = msg->ReadLong();
// read the checksum feed
clc.q3_checksumFeed = msg->ReadLong();
// parse serverId and other cvars
CLT3_SystemInfoChanged();
// Arnout: verify if we have all official pakfiles. As we won't
// be downloading them, we should be kicked for not having them.
if ( GGameType & GAME_ET && cl_connectedToPureServer && !FS_VerifyOfficialPaks() ) {
common->Error( "Couldn't load an official pak file; verify your installation and make sure it has been updated to the latest version." );
}
// reinitialize the filesystem if the game directory has changed
FS_ConditionalRestart( clc.q3_checksumFeed );
// This used to call CLT3_StartHunkUsers, but now we enter the download state before loading the
// cgame
CLT3_InitDownloads();
// make sure the game starts
Cvar_Set( "cl_paused", "0" );
}
// A download message has been received from the server
static void CLT3_ParseDownload( QMsg* msg ) {
int size;
unsigned char data[ MAX_MSGLEN ];
int block;
// read the data
block = msg->ReadShort();
// TTimo - www dl
// if we haven't acked the download redirect yet
if ( GGameType & GAME_ET && block == -1 ) {
if ( !clc.et_bWWWDl ) {
// server is sending us a www download
String::NCpyZ( cls.et_originalDownloadName, cls.et_downloadName, sizeof ( cls.et_originalDownloadName ) );
String::NCpyZ( cls.et_downloadName, msg->ReadString(), sizeof ( cls.et_downloadName ) );
clc.downloadSize = msg->ReadLong();
clc.downloadFlags = msg->ReadLong();
if ( clc.downloadFlags & ( 1 << DL_FLAG_URL ) ) {
Sys_OpenURL( cls.et_downloadName, true );
Cbuf_ExecuteText( EXEC_APPEND, "quit\n" );
CL_AddReliableCommand( "wwwdl bbl8r" ); // not sure if that's the right msg
clc.et_bWWWDlAborting = true;
return;
}
Cvar_SetValue( "cl_downloadSize", clc.downloadSize );
common->DPrintf( "Server redirected download: %s\n", cls.et_downloadName );
clc.et_bWWWDl = true; // activate wwwdl client loop
CL_AddReliableCommand( "wwwdl ack" );
// make sure the server is not trying to redirect us again on a bad checksum
if ( strstr( clc.et_badChecksumList, va( "@%s", cls.et_originalDownloadName ) ) ) {
common->Printf( "refusing redirect to %s by server (bad checksum)\n", cls.et_downloadName );
CL_AddReliableCommand( "wwwdl fail" );
clc.et_bWWWDlAborting = true;
return;
}
// make downloadTempName an OS path
String::NCpyZ( cls.et_downloadTempName, FS_BuildOSPath( Cvar_VariableString( "fs_homepath" ), cls.et_downloadTempName, "" ), sizeof ( cls.et_downloadTempName ) );
cls.et_downloadTempName[ String::Length( cls.et_downloadTempName ) - 1 ] = '\0';
if ( !DL_BeginDownload( cls.et_downloadTempName, cls.et_downloadName, com_developer->integer ) ) {
// setting bWWWDl to false after sending the wwwdl fail doesn't work
// not sure why, but I suspect we have to eat all remaining block -1 that the server has sent us
// still leave a flag so that CLET_WWWDownload is inactive
// we count on server sending us a gamestate to start up clean again
CL_AddReliableCommand( "wwwdl fail" );
clc.et_bWWWDlAborting = true;
common->Printf( "Failed to initialize download for '%s'\n", cls.et_downloadName );
}
// Check for a disconnected download
// we'll let the server disconnect us when it gets the bbl8r message
if ( clc.downloadFlags & ( 1 << DL_FLAG_DISCON ) ) {
CL_AddReliableCommand( "wwwdl bbl8r" );
cls.et_bWWWDlDisconnected = true;
}
return;
} else {
// server keeps sending that message till we ack it, eat and ignore
//msg->ReadLong();
msg->ReadString();
msg->ReadLong();
msg->ReadLong();
return;
}
}
if ( !block ) {
// block zero is special, contains file size
clc.downloadSize = msg->ReadLong();
Cvar_SetValue( "cl_downloadSize", clc.downloadSize );
if ( clc.downloadSize < 0 ) {
common->Error( "%s", msg->ReadString() );
return;
}
}
size = msg->ReadShort();
if ( size < 0 || size > ( int )sizeof ( data ) ) {
common->Error( "CLT3_ParseDownload: Invalid size %d for download chunk.", size );
return;
}
msg->ReadData( data, size );
if ( clc.downloadBlock != block ) {
common->DPrintf( "CLT3_ParseDownload: Expected block %d, got %d\n", clc.downloadBlock, block );
return;
}
// open the file if not opened yet
if ( !clc.download ) {
if ( GGameType & GAME_ET ? !*cls.et_downloadTempName : !*clc.downloadTempName ) {
common->Printf( "Server sending download, but no download was requested\n" );
CL_AddReliableCommand( "stopdl" );
return;
}
clc.download = FS_SV_FOpenFileWrite( GGameType & GAME_ET ? cls.et_downloadTempName : clc.downloadTempName );
if ( !clc.download ) {
common->Printf( "Could not create %s\n", GGameType & GAME_ET ? cls.et_downloadTempName : clc.downloadTempName );
CL_AddReliableCommand( "stopdl" );
CLT3_NextDownload();
return;
}
}
if ( size ) {
FS_Write( data, size, clc.download );
}
CL_AddReliableCommand( va( "nextdl %d", clc.downloadBlock ) );
clc.downloadBlock++;
clc.downloadCount += size;
// So UI gets access to it
Cvar_SetValue( "cl_downloadCount", clc.downloadCount );
if ( !size ) { // A zero length block means EOF
if ( clc.download ) {
FS_FCloseFile( clc.download );
clc.download = 0;
// rename the file
if ( GGameType & GAME_ET ) {
FS_SV_Rename( cls.et_downloadTempName, cls.et_downloadName );
} else {
FS_SV_Rename( clc.downloadTempName, clc.downloadName );
}
}
if ( GGameType & GAME_ET ) {
*cls.et_downloadTempName = *cls.et_downloadName = 0;
} else {
*clc.downloadTempName = *clc.downloadName = 0;
}
Cvar_Set( "cl_downloadName", "" );
// send intentions now
// We need this because without it, we would hold the last nextdl and then start
// loading right away. If we take a while to load, the server is happily trying
// to send us that last block over and over.
// Write it twice to help make sure we acknowledge the download
CLT3_WritePacket();
CLT3_WritePacket();
// get another file if needed
CLT3_NextDownload();
}
}
static void CLET_ParseBinaryMessage( QMsg* msg ) {
msg->Uncompressed();
int size = msg->cursize - msg->readcount;
if ( size <= 0 || size > MAX_BINARY_MESSAGE_ET ) {
return;
}
CLET_CGameBinaryMessageReceived( ( char* )&msg->_data[ msg->readcount ], size, cl.et_snap.serverTime );
}
void CLT3_ParseServerMessage( QMsg* msg ) {
if ( cl_shownet->integer == 1 ) {
common->Printf( "%i ",msg->cursize );
} else if ( cl_shownet->integer >= 2 ) {
common->Printf( "------------------\n" );
}
msg->Bitstream();
// get the reliable sequence acknowledge number
clc.q3_reliableAcknowledge = msg->ReadLong();
//
if ( clc.q3_reliableAcknowledge < clc.q3_reliableSequence - ( GGameType & GAME_Quake3 ? MAX_RELIABLE_COMMANDS_Q3 : MAX_RELIABLE_COMMANDS_WOLF ) ) {
clc.q3_reliableAcknowledge = clc.q3_reliableSequence;
}
//
// parse the message
//
while ( 1 ) {
if ( msg->readcount > msg->cursize ) {
common->Error( "CLT3_ParseServerMessage: read past end of server message" );
break;
}
int cmd = msg->ReadByte();
if ( cmd == q3svc_EOF ) {
SHOWNET( *msg, "END OF MESSAGE" );
break;
}
if ( cl_shownet->integer >= 2 ) {
if ( !svct3_strings[ cmd ] ) {
common->Printf( "%3i:BAD CMD %i\n", msg->readcount - 1, cmd );
} else {
SHOWNET( *msg, svct3_strings[ cmd ] );
}
}
// other commands
switch ( cmd ) {
default:
common->Error( "CLT3_ParseServerMessage: Illegible server message %d\n", cmd );
break;
case q3svc_nop:
break;
case q3svc_serverCommand:
CLT3_ParseCommandString( msg );
break;
case q3svc_gamestate:
CLT3_ParseGamestate( msg );
break;
case q3svc_snapshot:
if ( GGameType & GAME_WolfSP ) {
CLWS_ParseSnapshot( msg );
} else if ( GGameType & GAME_WolfMP ) {
CLWM_ParseSnapshot( msg );
} else if ( GGameType & GAME_ET ) {
CLET_ParseSnapshot( msg );
} else {
CLQ3_ParseSnapshot( msg );
}
break;
case q3svc_download:
CLT3_ParseDownload( msg );
break;
}
}
if ( GGameType & GAME_ET ) {
CLET_ParseBinaryMessage( msg );
}
}
| [
"legzdinsjanis@gmail.com"
] | legzdinsjanis@gmail.com |
a9efc7f962ba0dd93a77ffde165841d070a97111 | cb5b061a07eaaaef65aaf674a82d82fbb4eea0c0 | /depends/sdk/include/nsIDOMGeoPositionError.h | 16bd12fb41a37f5ca7fb27da8e1c0c02fe1708e6 | [] | no_license | shwneo/MonacoIDE | 5a5831a1553b2af10844aa5649e302c701fd4fb4 | 6d5d08733c2f144d60abc4aeb7b6a1a3d5e349d5 | refs/heads/master | 2016-09-06T07:34:03.315445 | 2014-06-01T15:06:34 | 2014-06-01T15:06:34 | 17,567,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM d:/xulrunner-24.0.source/mozilla-release/dom/interfaces/geolocation/nsIDOMGeoPositionError.idl
*/
#ifndef __gen_nsIDOMGeoPositionError_h__
#define __gen_nsIDOMGeoPositionError_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDOMGeoPositionError */
#define NS_IDOMGEOPOSITIONERROR_IID_STR "ad9fa4c8-ec71-4b2d-8294-9adf06ddec32"
#define NS_IDOMGEOPOSITIONERROR_IID \
{0xad9fa4c8, 0xec71, 0x4b2d, \
{ 0x82, 0x94, 0x9a, 0xdf, 0x06, 0xdd, 0xec, 0x32 }}
class NS_NO_VTABLE nsIDOMGeoPositionError : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONERROR_IID)
enum {
PERMISSION_DENIED = 1U,
POSITION_UNAVAILABLE = 2U,
TIMEOUT = 3U
};
/* readonly attribute short code; */
NS_IMETHOD GetCode(int16_t *aCode) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionError, NS_IDOMGEOPOSITIONERROR_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMGEOPOSITIONERROR \
NS_IMETHOD GetCode(int16_t *aCode);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMGEOPOSITIONERROR(_to) \
NS_IMETHOD GetCode(int16_t *aCode) { return _to GetCode(aCode); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONERROR(_to) \
NS_IMETHOD GetCode(int16_t *aCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCode(aCode); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMGeoPositionError : public nsIDOMGeoPositionError
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMGEOPOSITIONERROR
nsDOMGeoPositionError();
private:
~nsDOMGeoPositionError();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMGeoPositionError, nsIDOMGeoPositionError)
nsDOMGeoPositionError::nsDOMGeoPositionError()
{
/* member initializers and constructor code */
}
nsDOMGeoPositionError::~nsDOMGeoPositionError()
{
/* destructor code */
}
/* readonly attribute short code; */
NS_IMETHODIMP nsDOMGeoPositionError::GetCode(int16_t *aCode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMGeoPositionError_h__ */
| [
"shwneo@gmail.com"
] | shwneo@gmail.com |
fef5832eaf7c9211d5f39b32d2ea3f558161a414 | 240648c2c3d030e431d53740c192d3e175033670 | /Include/Uncopyable.hpp | af588b8776f0e46039fe79e67bdeff877ba22b2a | [] | no_license | AlexDontsov2008/multiplayer-game-study | 79b2e5573f0f481bebd0f3cd5cd25d184b0ddafe | 788fed294d8df3a0d80ba318711fe8f15ab6b381 | refs/heads/master | 2023-02-08T08:12:05.757162 | 2018-10-21T18:50:09 | 2018-10-21T18:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | hpp | /*
* File: Uncopyable.hpp
* Author: dontsov
*
* Created on November 16, 2016, 10:08 PM
*/
#ifndef UNCOPYABLE_HPP
#define UNCOPYABLE_HPP
class Uncopyable {
protected:
Uncopyable() {}
virtual ~Uncopyable() {}
private:
Uncopyable(const Uncopyable&);
Uncopyable& operator=(const Uncopyable&);
};
#endif /* UNCOPYABLE_HPP */ | [
"AlexDontsov2008@ya.ru"
] | AlexDontsov2008@ya.ru |
ab691e4e2f37f8f87f1cb2e3bd14ce38d2579649 | b70dbe7b900b61485b2f97b894d75b252e532bbe | /src/Interface/Modules/Inverse/SolveInverseProblemWithTikhonovDialog.cc | c13c72c73d3925229a4090cc3ac9ec4051e2c236 | [
"MIT"
] | permissive | SeyhmusGuler/SCIRun | 960787bab96106df4f0f15e4b595a5c511c37edd | 0bdf06887c263bed3bb57f7cad3d285d368cf129 | refs/heads/master | 2021-01-22T16:38:51.598275 | 2016-02-12T07:11:35 | 2016-02-12T07:11:35 | 35,108,610 | 0 | 0 | null | 2015-05-05T15:39:31 | 2015-05-05T15:39:31 | null | UTF-8 | C++ | false | false | 4,951 | cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
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 <Interface/Modules/Inverse/SolveInverseProblemWithTikhonovDialog.h>
#include <Modules/Legacy/Inverse/SolveInverseProblemWithTikhonov.h>
using namespace SCIRun::Gui;
using namespace SCIRun::Dataflow::Networks;
typedef SCIRun::Modules::Inverse::SolveInverseProblemWithTikhonov SolveInverseProblemWithTikhonovModule;
SolveInverseProblemWithTikhonovDialog::SolveInverseProblemWithTikhonovDialog(const std::string& name, ModuleStateHandle state,
QWidget* parent /* = 0 */)
: ModuleDialogGeneric(state, parent)
{
setupUi(this);
setWindowTitle(QString::fromStdString(name));
fixSize();
lambdaMethod_.insert(StringPair("Direct entry", "single"));
lambdaMethod_.insert(StringPair("Slider", "slider"));
lambdaMethod_.insert(StringPair("L-curve", "lcurve"));
WidgetStyleMixin::tabStyle(inputTabWidget_);
addDoubleLineEditManager(lCurveLambdaLineEdit_, SolveInverseProblemWithTikhonovModule::LambdaCorner);
addSpinBoxManager(lambdaNumberSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaNum);
addDoubleSpinBoxManager(lambdaDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaFromDirectEntry);
addDoubleSpinBoxManager(lambdaMinDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaMin);
addDoubleSpinBoxManager(lambdaMaxDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaMax);
addDoubleSpinBoxManager(lambdaResolutionDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaResolution);
addDoubleSpinBoxManager(lCurveMinDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaMin);
addDoubleSpinBoxManager(lCurveMaxDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaMax);
addDoubleSpinBoxManager(lambdaSliderDoubleSpinBox_, SolveInverseProblemWithTikhonovModule::LambdaSliderValue);
addRadioButtonGroupManager({ autoRadioButton_, underRadioButton_, overRadioButton_ }, SolveInverseProblemWithTikhonovModule::TikhonovCase);
addRadioButtonGroupManager({ solutionConstraintRadioButton_, squaredSolutionRadioButton_ }, SolveInverseProblemWithTikhonovModule::TikhonovSolutionSubcase);
addRadioButtonGroupManager({ residualConstraintRadioButton_, squaredResidualSolutionRadioButton_ }, SolveInverseProblemWithTikhonovModule::TikhonovResidualSubcase);
addComboBoxManager(lambdaMethodComboBox_, SolveInverseProblemWithTikhonovModule::RegularizationMethod, lambdaMethod_);
addTextEditManager(lCurveTextEdit_, SolveInverseProblemWithTikhonovModule::LCurveText);
connect(lambdaSlider_, SIGNAL(valueChanged(int)), this, SLOT(setSpinBoxValue(int)));
connect(lambdaSliderDoubleSpinBox_, SIGNAL(valueChanged(double)), this, SLOT(setSliderValue(double)));
connect(lambdaMinDoubleSpinBox_, SIGNAL(valueChanged(double)), this, SLOT(setSliderMin(double)));
connect(lambdaMaxDoubleSpinBox_, SIGNAL(valueChanged(double)), this, SLOT(setSliderMax(double)));
connect(lambdaResolutionDoubleSpinBox_, SIGNAL(valueChanged(double)), this, SLOT(setSliderStep(double)));
}
void SolveInverseProblemWithTikhonovDialog::setSpinBoxValue(int value)
{
lambdaSliderDoubleSpinBox_->setValue(value);
}
void SolveInverseProblemWithTikhonovDialog::setSliderValue(double value)
{
if (value <= lambdaSlider_->maximum() && value >= lambdaSlider_->minimum())
lambdaSlider_->setValue(static_cast<int>(value));
}
void SolveInverseProblemWithTikhonovDialog::setSliderMin(double value)
{
lambdaSlider_->setMinimum(static_cast<int>(value));
}
void SolveInverseProblemWithTikhonovDialog::setSliderMax(double value)
{
lambdaSlider_->setMaximum(static_cast<int>(value));
}
void SolveInverseProblemWithTikhonovDialog::setSliderStep(double value)
{
lambdaSlider_->setSingleStep(static_cast<int>(value));
}
| [
"dwhite@sci.utah.edu"
] | dwhite@sci.utah.edu |
6e70af4d8be1434e0651d84165035397d3db622d | a6f6b8968439d47ae655aa2e8d8e22ab5a69f72a | /src/service/async_service_impl.h | 1bff9e3deddc8ef7975f7dc077db43d34137cbe9 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | ChanYiLin/authservice | 7cf46dd55eb4c62c283d576c37a76b85e8b826ab | 56c6072793567135be4f30f927dcc497d0ac0062 | refs/heads/master | 2020-12-23T12:24:42.618954 | 2019-12-11T18:46:36 | 2019-12-11T18:46:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | #ifndef AUTHSERVICE_ASYNC_SERVICE_IMPL_H
#define AUTHSERVICE_ASYNC_SERVICE_IMPL_H
#include "service_impl.h"
#include "envoy/service/auth/v2/external_auth.grpc.pb.h"
#include <boost/asio.hpp>
#include <grpcpp/grpcpp.h>
using namespace envoy::service::auth::v2;
namespace authservice {
namespace service {
class AsyncAuthServiceImpl {
public:
explicit AsyncAuthServiceImpl(authservice::config::Config config);
void Run();
private:
authservice::config::Config config_;
authservice::service::AuthServiceImpl impl_;
envoy::service::auth::v2::Authorization::AsyncService service_;
std::unique_ptr<grpc::ServerCompletionQueue> cq_;
std::unique_ptr<grpc::Server> server_;
std::shared_ptr<boost::asio::io_context> io_context_;
};
}
}
#endif //AUTHSERVICE_ASYNC_SERVICE_IMPL_H
| [
"nickrmc83@gmail.com"
] | nickrmc83@gmail.com |
f34d6e3c0f49bb6564862d91c0e755e923df2291 | b47c85a38649f3a1f750b8c5d662aef7414cc570 | /DoublyIterator.cpp | 1bf6b617f911c3bd4ea08c03d6013960b21ebcfd | [] | no_license | Djackin/Project3 | 23751093fbf8c59e377aed3e449080f922e8dee4 | 89aa6a6cb1af89cf3f2e67f74c5f3faa15f0742c | refs/heads/master | 2020-09-20T11:16:07.455995 | 2019-11-27T15:25:23 | 2019-11-27T15:25:23 | 224,460,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include "DoublyIterator.h"
template <typename T>
bool DoublyIterator<T>::NotNull()
{
return m_pCurPointer != NULL;
}
template <typename T>
bool DoublyIterator<T>::NextNotNull()
{
return m_pCurPointer->next != NULL;
}
template <typename T>
T DoublyIterator<T>::First()
{
return m_List.m_pFirst->data;
}
template <typename T>
T DoublyIterator<T>::Next()
{
if (NextNotNull())
{
m_pCurPointer = m_pCurPointer->next;
return m_pCurPointer->data;
}
}
template <typename T>
DoublyNodeType<T> DoublyIterator<T>::GetCurrentNode()
{
return *m_pCurPointer;
} | [
"dnwls2343@gmail.com"
] | dnwls2343@gmail.com |
43ac80c2ef4abacb649e6bbf6926f56dddb265c8 | cd294e1638607fc7164e3d5cc4ef645923f9e451 | /app/src/main/jni/dlib/svm/rr_trainer_abstract.h | 21d0a7c53ac5855a0a4efd65d35bb220f50c45e5 | [
"BSL-1.0"
] | permissive | ghksgp92/MidnightSun_android | 8f23b0b3da6b633a1d6db71cac1f025fb716fa01 | 060f01186e9371ddaba5926f1c627e5493589454 | refs/heads/master | 2020-03-28T21:15:54.329569 | 2018-09-17T15:33:44 | 2018-09-17T15:33:44 | 149,142,599 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,078 | h | // Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_RR_TRAInER_ABSTRACT_Hh_
#ifdef DLIB_RR_TRAInER_ABSTRACT_Hh_
#include "../algs.h"
#include "function_abstract.h"
namespace dlib
{
template <
typename K
>
class rr_trainer
{
/*!
REQUIREMENTS ON K
is the dlib::linear_kernel instantiated with some kind of column vector.
INITIAL VALUE
- get_lambda() == 0
- will_use_regression_loss_for_loo_cv() == true
- get_search_lambdas() == logspace(-9, 2, 50)
- this object will not be verbose unless be_verbose() is called
WHAT THIS OBJECT REPRESENTS
This object represents a tool for performing linear ridge regression
(This basic algorithm is also known my many other names, e.g. regularized
least squares or least squares SVM).
The exact definition of what this algorithm does is this:
Find w and b that minimizes the following (x_i are input samples and y_i are target values):
lambda*dot(w,w) + sum_over_i( (f(x_i) - y_i)^2 )
where f(x) == dot(x,w) - b
So this algorithm is just regular old least squares regression but
with the addition of a regularization term which encourages small w.
It is capable of estimating the lambda parameter using leave-one-out cross-validation.
The leave-one-out cross-validation implementation is based on the techniques
discussed in this paper:
Notes on Regularized Least Squares by Ryan M. Rifkin and Ross A. Lippert.
!*/
public:
typedef K kernel_type;
typedef typename kernel_type::scalar_type scalar_type;
typedef typename kernel_type::sample_type sample_type;
typedef typename kernel_type::mem_manager_type mem_manager_type;
typedef decision_function<kernel_type> trained_function_type;
rr_trainer (
);
/*!
ensures
- This object is properly initialized and ready to be used.
!*/
void be_verbose (
);
/*!
ensures
- This object will print status messages to standard out.
!*/
void be_quiet (
);
/*!
ensures
- this object will not print anything to standard out
!*/
const kernel_type get_kernel (
) const;
/*!
ensures
- returns a copy of the kernel function in use by this object. Since
the linear kernels don't have any parameters this function just
returns kernel_type()
!*/
void set_lambda (
scalar_type lambda
);
/*!
requires
- lambda >= 0
ensures
- #get_lambda() == lambda
!*/
const scalar_type get_lambda (
) const;
/*!
ensures
- returns the regularization parameter. It is the parameter that
determines the trade off between trying to fit the training data
exactly or allowing more errors but hopefully improving the
generalization ability of the resulting function. Smaller values
encourage exact fitting while larger values of lambda may encourage
better generalization.
Note that a lambda of 0 has a special meaning. It indicates to this
object that it should automatically determine an appropriate lambda
value. This is done using leave-one-out cross-validation.
!*/
void use_regression_loss_for_loo_cv (
);
/*!
ensures
- #will_use_regression_loss_for_loo_cv() == true
!*/
void use_classification_loss_for_loo_cv (
);
/*!
ensures
- #will_use_regression_loss_for_loo_cv() == false
!*/
bool will_use_regression_loss_for_loo_cv (
) const;
/*!
ensures
- returns true if the automatic lambda estimation will attempt to estimate a lambda
appropriate for a regression task. Otherwise it will try and find one which
minimizes the number of classification errors.
!*/
template <typename EXP>
void set_search_lambdas (
const matrix_exp<EXP>& lambdas
);
/*!
requires
- is_vector(lambdas) == true
- lambdas.size() > 0
- min(lambdas) > 0
- lambdas must contain floating point numbers
ensures
- #get_search_lambdas() == lambdas
!*/
const matrix<scalar_type,0,0,mem_manager_type>& get_search_lambdas (
) const;
/*!
ensures
- returns a matrix M such that:
- is_vector(M) == true
- M == a list of all the lambda values which will be tried when performing
LOO cross-validation for determining the best lambda.
!*/
template <
typename in_sample_vector_type,
typename in_scalar_vector_type
>
const decision_function<kernel_type> train (
const in_sample_vector_type& x,
const in_scalar_vector_type& y
) const;
/*!
requires
- x == a matrix or something convertible to a matrix via mat().
Also, x should contain sample_type objects.
- y == a matrix or something convertible to a matrix via mat().
Also, y should contain scalar_type objects.
- is_learning_problem(x,y) == true
- if (get_lambda() == 0 && will_use_regression_loss_for_loo_cv() == false) then
- is_binary_classification_problem(x,y) == true
(i.e. if you want this algorithm to estimate a lambda appropriate for
classification functions then you had better give a valid classification
problem)
ensures
- performs linear ridge regression given the training samples in x and target values in y.
- returns a decision_function F with the following properties:
- F(new_x) == predicted y value
- F.alpha.size() == 1
- F.basis_vectors.size() == 1
- F.alpha(0) == 1
- if (get_lambda() == 0) then
- This object will perform internal leave-one-out cross-validation to determine an
appropriate lambda automatically. It will compute the LOO error for each lambda
in get_search_lambdas() and select the best one.
- if (will_use_regression_loss_for_loo_cv()) then
- the lambda selected will be the one that minimizes the mean squared error.
- else
- the lambda selected will be the one that minimizes the number classification
mistakes. We say a point is classified correctly if the output of the
decision_function has the same sign as its label.
- #get_lambda() == 0
(i.e. we don't change the get_lambda() value. If you want to know what the
automatically selected lambda value was then call the version of train()
defined below)
- else
- The loginUser supplied value of get_lambda() will be used to perform the ridge regression.
!*/
template <
typename in_sample_vector_type,
typename in_scalar_vector_type
>
const decision_function<kernel_type> train (
const in_sample_vector_type& x,
const in_scalar_vector_type& y,
std::vector<scalar_type>& loo_values
) const;
/*!
requires
- all the requirements for train(x,y) must be satisfied
ensures
- returns train(x,y)
(i.e. executes train(x,y) and returns its result)
- #loo_values.size() == y.size()
- for all valid i:
- #loo_values[i] == leave-one-out prediction for the value of y(i) based
on all the training samples other than (x(i),y(i)).
!*/
template <
typename in_sample_vector_type,
typename in_scalar_vector_type
>
const decision_function<kernel_type> train (
const in_sample_vector_type& x,
const in_scalar_vector_type& y,
std::vector<scalar_type>& loo_values,
scalar_type& lambda_used
) const;
/*!
requires
- all the requirements for train(x,y) must be satisfied
ensures
- returns train(x,y)
(i.e. executes train(x,y) and returns its result)
- #loo_values.size() == y.size()
- for all valid i:
- #loo_values[i] == leave-one-out prediction for the value of y(i) based
on all the training samples other than (x(i),y(i)).
- #lambda_used == the value of lambda used to generate the
decision_function. Note that this lambda value is always
equal to get_lambda() if get_lambda() isn't 0.
!*/
};
}
#endif // DLIB_RR_TRAInER_ABSTRACT_Hh_
| [
"ghskgp92@gmail.com"
] | ghskgp92@gmail.com |
1bc2116def267a29ed65842188ce08e6124933b6 | 4c017c553cd55e976cb51c1cb302d09225460026 | /vhall_webrtc_include/third_party/harfbuzz-ng/src/src/hb-ot-layout-gpos-table.hh | b8dd9813b1b36e854b258bd721929517dc01944c | [] | no_license | hongzhuxuke/3rdparty | 7f6568fda3c96d8d1fa7bc1cfd4759dc07d6906b | 87a621ec1a6997f45042b5085a22507782ee59cb | refs/heads/master | 2022-12-13T20:28:14.243288 | 2020-09-18T03:05:23 | 2020-09-18T03:05:23 | 294,416,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,760 | hh | /*
* Copyright © 2007,2008,2009,2010 Red Hat, Inc.
* Copyright © 2010,2012,2013 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copyright notice and the following two paragraphs appear in
* all copies of this software.
*
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* Red Hat Author(s): Behdad Esfahbod
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_LAYOUT_GPOS_TABLE_HH
#define HB_OT_LAYOUT_GPOS_TABLE_HH
#include "hb-ot-layout-gsubgpos.hh"
namespace OT {
/* buffer **position** var allocations */
#define attach_chain() var.i16[0] /* glyph to which this attaches to, relative to current glyphs; negative for going back, positive for forward. */
#define attach_type() var.u8[2] /* attachment type */
/* Note! if attach_chain() is zero, the value of attach_type() is irrelevant. */
enum attach_type_t {
ATTACH_TYPE_NONE = 0X00,
/* Each attachment should be either a mark or a cursive; can't be both. */
ATTACH_TYPE_MARK = 0X01,
ATTACH_TYPE_CURSIVE = 0X02,
};
/* Shared Tables: ValueRecord, Anchor Table, and MarkArray */
typedef HBUINT16 Value;
typedef UnsizedArrayOf<Value> ValueRecord;
struct ValueFormat : HBUINT16
{
enum Flags {
xPlacement = 0x0001u, /* Includes horizontal adjustment for placement */
yPlacement = 0x0002u, /* Includes vertical adjustment for placement */
xAdvance = 0x0004u, /* Includes horizontal adjustment for advance */
yAdvance = 0x0008u, /* Includes vertical adjustment for advance */
xPlaDevice = 0x0010u, /* Includes horizontal Device table for placement */
yPlaDevice = 0x0020u, /* Includes vertical Device table for placement */
xAdvDevice = 0x0040u, /* Includes horizontal Device table for advance */
yAdvDevice = 0x0080u, /* Includes vertical Device table for advance */
ignored = 0x0F00u, /* Was used in TrueType Open for MM fonts */
reserved = 0xF000u, /* For future use */
devices = 0x00F0u /* Mask for having any Device table */
};
/* All fields are options. Only those available advance the value pointer. */
#if 0
HBINT16 xPlacement; /* Horizontal adjustment for
* placement--in design units */
HBINT16 yPlacement; /* Vertical adjustment for
* placement--in design units */
HBINT16 xAdvance; /* Horizontal adjustment for
* advance--in design units (only used
* for horizontal writing) */
HBINT16 yAdvance; /* Vertical adjustment for advance--in
* design units (only used for vertical
* writing) */
OffsetTo<Device> xPlaDevice; /* Offset to Device table for
* horizontal placement--measured from
* beginning of PosTable (may be NULL) */
OffsetTo<Device> yPlaDevice; /* Offset to Device table for vertical
* placement--measured from beginning
* of PosTable (may be NULL) */
OffsetTo<Device> xAdvDevice; /* Offset to Device table for
* horizontal advance--measured from
* beginning of PosTable (may be NULL) */
OffsetTo<Device> yAdvDevice; /* Offset to Device table for vertical
* advance--measured from beginning of
* PosTable (may be NULL) */
#endif
unsigned int get_len () const { return hb_popcount ((unsigned int) *this); }
unsigned int get_size () const { return get_len () * Value::static_size; }
bool apply_value (hb_ot_apply_context_t *c,
const void *base,
const Value *values,
hb_glyph_position_t &glyph_pos) const
{
bool ret = false;
unsigned int format = *this;
if (!format) return ret;
hb_font_t *font = c->font;
bool horizontal = HB_DIRECTION_IS_HORIZONTAL (c->direction);
if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++, &ret));
if (format & yPlacement) glyph_pos.y_offset += font->em_scale_y (get_short (values++, &ret));
if (format & xAdvance) {
if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values, &ret));
values++;
}
/* y_advance values grow downward but font-space grows upward, hence negation */
if (format & yAdvance) {
if (unlikely (!horizontal)) glyph_pos.y_advance -= font->em_scale_y (get_short (values, &ret));
values++;
}
if (!has_device ()) return ret;
bool use_x_device = font->x_ppem || font->num_coords;
bool use_y_device = font->y_ppem || font->num_coords;
if (!use_x_device && !use_y_device) return ret;
const VariationStore &store = c->var_store;
/* pixel -> fractional pixel */
if (format & xPlaDevice) {
if (use_x_device) glyph_pos.x_offset += (base + get_device (values, &ret)).get_x_delta (font, store);
values++;
}
if (format & yPlaDevice) {
if (use_y_device) glyph_pos.y_offset += (base + get_device (values, &ret)).get_y_delta (font, store);
values++;
}
if (format & xAdvDevice) {
if (horizontal && use_x_device) glyph_pos.x_advance += (base + get_device (values, &ret)).get_x_delta (font, store);
values++;
}
if (format & yAdvDevice) {
/* y_advance values grow downward but font-space grows upward, hence negation */
if (!horizontal && use_y_device) glyph_pos.y_advance -= (base + get_device (values, &ret)).get_y_delta (font, store);
values++;
}
return ret;
}
private:
bool sanitize_value_devices (hb_sanitize_context_t *c, const void *base, const Value *values) const
{
unsigned int format = *this;
if (format & xPlacement) values++;
if (format & yPlacement) values++;
if (format & xAdvance) values++;
if (format & yAdvance) values++;
if ((format & xPlaDevice) && !get_device (values++).sanitize (c, base)) return false;
if ((format & yPlaDevice) && !get_device (values++).sanitize (c, base)) return false;
if ((format & xAdvDevice) && !get_device (values++).sanitize (c, base)) return false;
if ((format & yAdvDevice) && !get_device (values++).sanitize (c, base)) return false;
return true;
}
HB_INTERNAL static OffsetTo<Device>& get_device (Value* value)
{ return *CastP<OffsetTo<Device>> (value); }
HB_INTERNAL static const OffsetTo<Device>& get_device (const Value* value, bool *worked=nullptr)
{
if (worked) *worked |= bool (*value);
return *CastP<OffsetTo<Device>> (value);
}
HB_INTERNAL static const HBINT16& get_short (const Value* value, bool *worked=nullptr)
{
if (worked) *worked |= bool (*value);
return *CastP<HBINT16> (value);
}
public:
bool has_device () const
{
unsigned int format = *this;
return (format & devices) != 0;
}
bool sanitize_value (hb_sanitize_context_t *c, const void *base, const Value *values) const
{
TRACE_SANITIZE (this);
return_trace (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_devices (c, base, values)));
}
bool sanitize_values (hb_sanitize_context_t *c, const void *base, const Value *values, unsigned int count) const
{
TRACE_SANITIZE (this);
unsigned int len = get_len ();
if (!c->check_range (values, count, get_size ())) return_trace (false);
if (!has_device ()) return_trace (true);
for (unsigned int i = 0; i < count; i++) {
if (!sanitize_value_devices (c, base, values))
return_trace (false);
values += len;
}
return_trace (true);
}
/* Just sanitize referenced Device tables. Doesn't check the values themselves. */
bool sanitize_values_stride_unsafe (hb_sanitize_context_t *c, const void *base, const Value *values, unsigned int count, unsigned int stride) const
{
TRACE_SANITIZE (this);
if (!has_device ()) return_trace (true);
for (unsigned int i = 0; i < count; i++) {
if (!sanitize_value_devices (c, base, values))
return_trace (false);
values += stride;
}
return_trace (true);
}
};
template<typename Iterator>
static inline void SinglePos_serialize (hb_serialize_context_t *c,
Iterator it,
ValueFormat valFormat);
struct AnchorFormat1
{
void get_anchor (hb_ot_apply_context_t *c, hb_codepoint_t glyph_id HB_UNUSED,
float *x, float *y) const
{
hb_font_t *font = c->font;
*x = font->em_fscale_x (xCoordinate);
*y = font->em_fscale_y (yCoordinate);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
FWORD xCoordinate; /* Horizontal value--in design units */
FWORD yCoordinate; /* Vertical value--in design units */
public:
DEFINE_SIZE_STATIC (6);
};
struct AnchorFormat2
{
void get_anchor (hb_ot_apply_context_t *c, hb_codepoint_t glyph_id,
float *x, float *y) const
{
hb_font_t *font = c->font;
#ifdef HB_NO_HINTING
*x = font->em_fscale_x (xCoordinate);
*y = font->em_fscale_y (yCoordinate);
return;
#endif
unsigned int x_ppem = font->x_ppem;
unsigned int y_ppem = font->y_ppem;
hb_position_t cx = 0, cy = 0;
bool ret;
ret = (x_ppem || y_ppem) &&
font->get_glyph_contour_point_for_origin (glyph_id, anchorPoint, HB_DIRECTION_LTR, &cx, &cy);
*x = ret && x_ppem ? cx : font->em_fscale_x (xCoordinate);
*y = ret && y_ppem ? cy : font->em_fscale_y (yCoordinate);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this));
}
protected:
HBUINT16 format; /* Format identifier--format = 2 */
FWORD xCoordinate; /* Horizontal value--in design units */
FWORD yCoordinate; /* Vertical value--in design units */
HBUINT16 anchorPoint; /* Index to glyph contour point */
public:
DEFINE_SIZE_STATIC (8);
};
struct AnchorFormat3
{
void get_anchor (hb_ot_apply_context_t *c, hb_codepoint_t glyph_id HB_UNUSED,
float *x, float *y) const
{
hb_font_t *font = c->font;
*x = font->em_fscale_x (xCoordinate);
*y = font->em_fscale_y (yCoordinate);
if (font->x_ppem || font->num_coords)
*x += (this+xDeviceTable).get_x_delta (font, c->var_store);
if (font->y_ppem || font->num_coords)
*y += (this+yDeviceTable).get_y_delta (font, c->var_store);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && xDeviceTable.sanitize (c, this) && yDeviceTable.sanitize (c, this));
}
protected:
HBUINT16 format; /* Format identifier--format = 3 */
FWORD xCoordinate; /* Horizontal value--in design units */
FWORD yCoordinate; /* Vertical value--in design units */
OffsetTo<Device>
xDeviceTable; /* Offset to Device table for X
* coordinate-- from beginning of
* Anchor table (may be NULL) */
OffsetTo<Device>
yDeviceTable; /* Offset to Device table for Y
* coordinate-- from beginning of
* Anchor table (may be NULL) */
public:
DEFINE_SIZE_STATIC (10);
};
struct Anchor
{
void get_anchor (hb_ot_apply_context_t *c, hb_codepoint_t glyph_id,
float *x, float *y) const
{
*x = *y = 0;
switch (u.format) {
case 1: u.format1.get_anchor (c, glyph_id, x, y); return;
case 2: u.format2.get_anchor (c, glyph_id, x, y); return;
case 3: u.format3.get_anchor (c, glyph_id, x, y); return;
default: return;
}
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
if (!u.format.sanitize (c)) return_trace (false);
switch (u.format) {
case 1: return_trace (u.format1.sanitize (c));
case 2: return_trace (u.format2.sanitize (c));
case 3: return_trace (u.format3.sanitize (c));
default:return_trace (true);
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
AnchorFormat1 format1;
AnchorFormat2 format2;
AnchorFormat3 format3;
} u;
public:
DEFINE_SIZE_UNION (2, format);
};
struct AnchorMatrix
{
const Anchor& get_anchor (unsigned int row, unsigned int col,
unsigned int cols, bool *found) const
{
*found = false;
if (unlikely (row >= rows || col >= cols)) return Null(Anchor);
*found = !matrixZ[row * cols + col].is_null ();
return this+matrixZ[row * cols + col];
}
bool sanitize (hb_sanitize_context_t *c, unsigned int cols) const
{
TRACE_SANITIZE (this);
if (!c->check_struct (this)) return_trace (false);
if (unlikely (hb_unsigned_mul_overflows (rows, cols))) return_trace (false);
unsigned int count = rows * cols;
if (!c->check_array (matrixZ.arrayZ, count)) return_trace (false);
for (unsigned int i = 0; i < count; i++)
if (!matrixZ[i].sanitize (c, this)) return_trace (false);
return_trace (true);
}
HBUINT16 rows; /* Number of rows */
protected:
UnsizedArrayOf<OffsetTo<Anchor>>
matrixZ; /* Matrix of offsets to Anchor tables--
* from beginning of AnchorMatrix table */
public:
DEFINE_SIZE_ARRAY (2, matrixZ);
};
struct MarkRecord
{
friend struct MarkArray;
bool sanitize (hb_sanitize_context_t *c, const void *base) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && markAnchor.sanitize (c, base));
}
protected:
HBUINT16 klass; /* Class defined for this mark */
OffsetTo<Anchor>
markAnchor; /* Offset to Anchor table--from
* beginning of MarkArray table */
public:
DEFINE_SIZE_STATIC (4);
};
struct MarkArray : ArrayOf<MarkRecord> /* Array of MarkRecords--in Coverage order */
{
bool apply (hb_ot_apply_context_t *c,
unsigned int mark_index, unsigned int glyph_index,
const AnchorMatrix &anchors, unsigned int class_count,
unsigned int glyph_pos) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
const MarkRecord &record = ArrayOf<MarkRecord>::operator[](mark_index);
unsigned int mark_class = record.klass;
const Anchor& mark_anchor = this + record.markAnchor;
bool found;
const Anchor& glyph_anchor = anchors.get_anchor (glyph_index, mark_class, class_count, &found);
/* If this subtable doesn't have an anchor for this base and this class,
* return false such that the subsequent subtables have a chance at it. */
if (unlikely (!found)) return_trace (false);
float mark_x, mark_y, base_x, base_y;
buffer->unsafe_to_break (glyph_pos, buffer->idx);
mark_anchor.get_anchor (c, buffer->cur().codepoint, &mark_x, &mark_y);
glyph_anchor.get_anchor (c, buffer->info[glyph_pos].codepoint, &base_x, &base_y);
hb_glyph_position_t &o = buffer->cur_pos();
o.x_offset = roundf (base_x - mark_x);
o.y_offset = roundf (base_y - mark_y);
o.attach_type() = ATTACH_TYPE_MARK;
o.attach_chain() = (int) glyph_pos - (int) buffer->idx;
buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT;
buffer->idx++;
return_trace (true);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (ArrayOf<MarkRecord>::sanitize (c, this));
}
};
/* Lookups */
struct SinglePosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+coverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{ if (unlikely (!(this+coverage).add_coverage (c->input))) return; }
const Coverage &get_coverage () const { return this+coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint);
if (likely (index == NOT_COVERED)) return_trace (false);
valueFormat.apply_value (c, this, values, buffer->cur_pos());
buffer->idx++;
return_trace (true);
}
template<typename Iterator,
hb_requires (hb_is_iterator (Iterator))>
void serialize (hb_serialize_context_t *c,
Iterator it,
ValueFormat valFormat)
{
if (unlikely (!c->extend_min (*this))) return;
if (unlikely (!c->check_assign (valueFormat, valFormat))) return;
auto vals = hb_second (*it);
+ vals
| hb_apply ([=] (const Value& _) { c->copy (_); })
;
auto glyphs =
+ it
| hb_map_retains_sorting (hb_first)
;
coverage.serialize (c, this).serialize (c, glyphs);
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
const hb_set_t &glyphset = *c->plan->glyphset_gsub ();
const hb_map_t &glyph_map = *c->plan->glyph_map;
auto it =
+ hb_iter (this+coverage)
| hb_filter (glyphset)
| hb_map_retains_sorting (glyph_map)
| hb_zip (hb_repeat (values.as_array (valueFormat.get_len ())))
;
bool ret = bool (it);
SinglePos_serialize (c->serializer, it, valueFormat);
return_trace (ret);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
coverage.sanitize (c, this) &&
valueFormat.sanitize_value (c, this, values));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
coverage; /* Offset to Coverage table--from
* beginning of subtable */
ValueFormat valueFormat; /* Defines the types of data in the
* ValueRecord */
ValueRecord values; /* Defines positioning
* value(s)--applied to all glyphs in
* the Coverage table */
public:
DEFINE_SIZE_ARRAY (6, values);
};
struct SinglePosFormat2
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+coverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{ if (unlikely (!(this+coverage).add_coverage (c->input))) return; }
const Coverage &get_coverage () const { return this+coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint);
if (likely (index == NOT_COVERED)) return_trace (false);
if (likely (index >= valueCount)) return_trace (false);
valueFormat.apply_value (c, this,
&values[index * valueFormat.get_len ()],
buffer->cur_pos());
buffer->idx++;
return_trace (true);
}
template<typename Iterator,
hb_requires (hb_is_iterator (Iterator))>
void serialize (hb_serialize_context_t *c,
Iterator it,
ValueFormat valFormat)
{
if (unlikely (!c->extend_min (*this))) return;
if (unlikely (!c->check_assign (valueFormat, valFormat))) return;
if (unlikely (!c->check_assign (valueCount, it.len ()))) return;
+ it
| hb_map (hb_second)
| hb_apply ([=] (hb_array_t<const Value> val_iter)
{
+ val_iter
| hb_apply ([=] (const Value& _) { c->copy (_); })
;
})
;
auto glyphs =
+ it
| hb_map_retains_sorting (hb_first)
;
coverage.serialize (c, this).serialize (c, glyphs);
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
const hb_set_t &glyphset = *c->plan->glyphset_gsub ();
const hb_map_t &glyph_map = *c->plan->glyph_map;
unsigned sub_length = valueFormat.get_len ();
auto values_array = values.as_array (valueCount * sub_length);
auto it =
+ hb_zip (this+coverage, hb_range ((unsigned) valueCount))
| hb_filter (glyphset, hb_first)
| hb_map_retains_sorting ([&] (const hb_pair_t<hb_codepoint_t, unsigned>& _)
{
return hb_pair (glyph_map[_.first],
values_array.sub_array (_.second * sub_length,
sub_length));
})
;
bool ret = bool (it);
SinglePos_serialize (c->serializer, it, valueFormat);
return_trace (ret);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
coverage.sanitize (c, this) &&
valueFormat.sanitize_values (c, this, values, valueCount));
}
protected:
HBUINT16 format; /* Format identifier--format = 2 */
OffsetTo<Coverage>
coverage; /* Offset to Coverage table--from
* beginning of subtable */
ValueFormat valueFormat; /* Defines the types of data in the
* ValueRecord */
HBUINT16 valueCount; /* Number of ValueRecords */
ValueRecord values; /* Array of ValueRecords--positioning
* values applied to glyphs */
public:
DEFINE_SIZE_ARRAY (8, values);
};
struct SinglePos
{
template<typename Iterator,
hb_requires (hb_is_iterator (Iterator))>
unsigned get_format (Iterator glyph_val_iter_pairs)
{
unsigned subset_format = 1;
hb_array_t<const Value> first_val_iter = hb_second (*glyph_val_iter_pairs);
+ glyph_val_iter_pairs
| hb_map (hb_second)
| hb_apply ([&] (hb_array_t<const Value> val_iter)
{
+ hb_zip (val_iter, first_val_iter)
| hb_apply ([&] (const hb_pair_t<Value, Value>& _)
{
if (_.first != _.second)
{
subset_format = 2;
return;
}
})
;
})
;
return subset_format;
}
template<typename Iterator,
hb_requires (hb_is_iterator (Iterator))>
void serialize (hb_serialize_context_t *c,
Iterator glyph_val_iter_pairs,
ValueFormat valFormat)
{
if (unlikely (!c->extend_min (u.format))) return;
unsigned format = 2;
if (glyph_val_iter_pairs) format = get_format (glyph_val_iter_pairs);
u.format = format;
switch (u.format) {
case 1: u.format1.serialize (c, glyph_val_iter_pairs, valFormat);
return;
case 2: u.format2.serialize (c, glyph_val_iter_pairs, valFormat);
return;
default:return;
}
}
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
case 2: return_trace (c->dispatch (u.format2, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
SinglePosFormat1 format1;
SinglePosFormat2 format2;
} u;
};
template<typename Iterator>
static inline void
SinglePos_serialize (hb_serialize_context_t *c,
Iterator it,
ValueFormat valFormat)
{ c->start_embed<SinglePos> ()->serialize (c, it, valFormat); }
struct PairValueRecord
{
friend struct PairSet;
protected:
GlyphID secondGlyph; /* GlyphID of second glyph in the
* pair--first glyph is listed in the
* Coverage table */
ValueRecord values; /* Positioning data for the first glyph
* followed by for second glyph */
public:
DEFINE_SIZE_ARRAY (2, values);
};
struct PairSet
{
friend struct PairPosFormat1;
bool intersects (const hb_set_t *glyphs,
const ValueFormat *valueFormats) const
{
unsigned int len1 = valueFormats[0].get_len ();
unsigned int len2 = valueFormats[1].get_len ();
unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2);
const PairValueRecord *record = &firstPairValueRecord;
unsigned int count = len;
for (unsigned int i = 0; i < count; i++)
{
if (glyphs->has (record->secondGlyph))
return true;
record = &StructAtOffset<const PairValueRecord> (record, record_size);
}
return false;
}
void collect_glyphs (hb_collect_glyphs_context_t *c,
const ValueFormat *valueFormats) const
{
unsigned int len1 = valueFormats[0].get_len ();
unsigned int len2 = valueFormats[1].get_len ();
unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2);
const PairValueRecord *record = &firstPairValueRecord;
c->input->add_array (&record->secondGlyph, len, record_size);
}
bool apply (hb_ot_apply_context_t *c,
const ValueFormat *valueFormats,
unsigned int pos) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int len1 = valueFormats[0].get_len ();
unsigned int len2 = valueFormats[1].get_len ();
unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2);
unsigned int count = len;
/* Hand-coded bsearch. */
if (unlikely (!count))
return_trace (false);
hb_codepoint_t x = buffer->info[pos].codepoint;
int min = 0, max = (int) count - 1;
while (min <= max)
{
int mid = ((unsigned int) min + (unsigned int) max) / 2;
const PairValueRecord *record = &StructAtOffset<PairValueRecord> (&firstPairValueRecord, record_size * mid);
hb_codepoint_t mid_x = record->secondGlyph;
if (x < mid_x)
max = mid - 1;
else if (x > mid_x)
min = mid + 1;
else
{
/* Note the intentional use of "|" instead of short-circuit "||". */
if (valueFormats[0].apply_value (c, this, &record->values[0], buffer->cur_pos()) |
valueFormats[1].apply_value (c, this, &record->values[len1], buffer->pos[pos]))
buffer->unsafe_to_break (buffer->idx, pos + 1);
if (len2)
pos++;
buffer->idx = pos;
return_trace (true);
}
}
return_trace (false);
}
struct sanitize_closure_t
{
const void *base;
const ValueFormat *valueFormats;
unsigned int len1; /* valueFormats[0].get_len() */
unsigned int stride; /* 1 + len1 + len2 */
};
bool sanitize (hb_sanitize_context_t *c, const sanitize_closure_t *closure) const
{
TRACE_SANITIZE (this);
if (!(c->check_struct (this)
&& c->check_range (&firstPairValueRecord,
len,
HBUINT16::static_size,
closure->stride))) return_trace (false);
unsigned int count = len;
const PairValueRecord *record = &firstPairValueRecord;
return_trace (closure->valueFormats[0].sanitize_values_stride_unsafe (c, closure->base, &record->values[0], count, closure->stride) &&
closure->valueFormats[1].sanitize_values_stride_unsafe (c, closure->base, &record->values[closure->len1], count, closure->stride));
}
protected:
HBUINT16 len; /* Number of PairValueRecords */
PairValueRecord firstPairValueRecord;
/* Array of PairValueRecords--ordered
* by GlyphID of the second glyph */
public:
DEFINE_SIZE_MIN (2);
};
struct PairPosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{
return
+ hb_zip (this+coverage, pairSet)
| hb_filter (*glyphs, hb_first)
| hb_map (hb_second)
| hb_map ([glyphs, this] (const OffsetTo<PairSet> &_)
{ return (this+_).intersects (glyphs, valueFormat); })
| hb_any
;
}
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
unsigned int count = pairSet.len;
for (unsigned int i = 0; i < count; i++)
(this+pairSet[i]).collect_glyphs (c, valueFormat);
}
const Coverage &get_coverage () const { return this+coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint);
if (likely (index == NOT_COVERED)) return_trace (false);
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
if (!skippy_iter.next ()) return_trace (false);
return_trace ((this+pairSet[index]).apply (c, valueFormat, skippy_iter.idx));
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
if (!c->check_struct (this)) return_trace (false);
unsigned int len1 = valueFormat[0].get_len ();
unsigned int len2 = valueFormat[1].get_len ();
PairSet::sanitize_closure_t closure =
{
this,
valueFormat,
len1,
1 + len1 + len2
};
return_trace (coverage.sanitize (c, this) && pairSet.sanitize (c, this, &closure));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
coverage; /* Offset to Coverage table--from
* beginning of subtable */
ValueFormat valueFormat[2]; /* [0] Defines the types of data in
* ValueRecord1--for the first glyph
* in the pair--may be zero (0) */
/* [1] Defines the types of data in
* ValueRecord2--for the second glyph
* in the pair--may be zero (0) */
OffsetArrayOf<PairSet>
pairSet; /* Array of PairSet tables
* ordered by Coverage Index */
public:
DEFINE_SIZE_ARRAY (10, pairSet);
};
struct PairPosFormat2
{
bool intersects (const hb_set_t *glyphs) const
{
return (this+coverage).intersects (glyphs) &&
(this+classDef2).intersects (glyphs);
}
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{
if (unlikely (!(this+coverage).add_coverage (c->input))) return;
if (unlikely (!(this+classDef2).add_coverage (c->input))) return;
}
const Coverage &get_coverage () const { return this+coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint);
if (likely (index == NOT_COVERED)) return_trace (false);
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
if (!skippy_iter.next ()) return_trace (false);
unsigned int len1 = valueFormat1.get_len ();
unsigned int len2 = valueFormat2.get_len ();
unsigned int record_len = len1 + len2;
unsigned int klass1 = (this+classDef1).get_class (buffer->cur().codepoint);
unsigned int klass2 = (this+classDef2).get_class (buffer->info[skippy_iter.idx].codepoint);
if (unlikely (klass1 >= class1Count || klass2 >= class2Count)) return_trace (false);
const Value *v = &values[record_len * (klass1 * class2Count + klass2)];
/* Note the intentional use of "|" instead of short-circuit "||". */
if (valueFormat1.apply_value (c, this, v, buffer->cur_pos()) |
valueFormat2.apply_value (c, this, v + len1, buffer->pos[skippy_iter.idx]))
buffer->unsafe_to_break (buffer->idx, skippy_iter.idx + 1);
buffer->idx = skippy_iter.idx;
if (len2)
buffer->idx++;
return_trace (true);
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
if (!(c->check_struct (this)
&& coverage.sanitize (c, this)
&& classDef1.sanitize (c, this)
&& classDef2.sanitize (c, this))) return_trace (false);
unsigned int len1 = valueFormat1.get_len ();
unsigned int len2 = valueFormat2.get_len ();
unsigned int stride = len1 + len2;
unsigned int record_size = valueFormat1.get_size () + valueFormat2.get_size ();
unsigned int count = (unsigned int) class1Count * (unsigned int) class2Count;
return_trace (c->check_range ((const void *) values,
count,
record_size) &&
valueFormat1.sanitize_values_stride_unsafe (c, this, &values[0], count, stride) &&
valueFormat2.sanitize_values_stride_unsafe (c, this, &values[len1], count, stride));
}
protected:
HBUINT16 format; /* Format identifier--format = 2 */
OffsetTo<Coverage>
coverage; /* Offset to Coverage table--from
* beginning of subtable */
ValueFormat valueFormat1; /* ValueRecord definition--for the
* first glyph of the pair--may be zero
* (0) */
ValueFormat valueFormat2; /* ValueRecord definition--for the
* second glyph of the pair--may be
* zero (0) */
OffsetTo<ClassDef>
classDef1; /* Offset to ClassDef table--from
* beginning of PairPos subtable--for
* the first glyph of the pair */
OffsetTo<ClassDef>
classDef2; /* Offset to ClassDef table--from
* beginning of PairPos subtable--for
* the second glyph of the pair */
HBUINT16 class1Count; /* Number of classes in ClassDef1
* table--includes Class0 */
HBUINT16 class2Count; /* Number of classes in ClassDef2
* table--includes Class0 */
ValueRecord values; /* Matrix of value pairs:
* class1-major, class2-minor,
* Each entry has value1 and value2 */
public:
DEFINE_SIZE_ARRAY (16, values);
};
struct PairPos
{
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
case 2: return_trace (c->dispatch (u.format2, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
PairPosFormat1 format1;
PairPosFormat2 format2;
} u;
};
struct EntryExitRecord
{
friend struct CursivePosFormat1;
bool sanitize (hb_sanitize_context_t *c, const void *base) const
{
TRACE_SANITIZE (this);
return_trace (entryAnchor.sanitize (c, base) && exitAnchor.sanitize (c, base));
}
protected:
OffsetTo<Anchor>
entryAnchor; /* Offset to EntryAnchor table--from
* beginning of CursivePos
* subtable--may be NULL */
OffsetTo<Anchor>
exitAnchor; /* Offset to ExitAnchor table--from
* beginning of CursivePos
* subtable--may be NULL */
public:
DEFINE_SIZE_STATIC (4);
};
static void
reverse_cursive_minor_offset (hb_glyph_position_t *pos, unsigned int i, hb_direction_t direction, unsigned int new_parent);
struct CursivePosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+coverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{ if (unlikely (!(this+coverage).add_coverage (c->input))) return; }
const Coverage &get_coverage () const { return this+coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
const EntryExitRecord &this_record = entryExitRecord[(this+coverage).get_coverage (buffer->cur().codepoint)];
if (!this_record.entryAnchor) return_trace (false);
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
if (!skippy_iter.prev ()) return_trace (false);
const EntryExitRecord &prev_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)];
if (!prev_record.exitAnchor) return_trace (false);
unsigned int i = skippy_iter.idx;
unsigned int j = buffer->idx;
buffer->unsafe_to_break (i, j);
float entry_x, entry_y, exit_x, exit_y;
(this+prev_record.exitAnchor).get_anchor (c, buffer->info[i].codepoint, &exit_x, &exit_y);
(this+this_record.entryAnchor).get_anchor (c, buffer->info[j].codepoint, &entry_x, &entry_y);
hb_glyph_position_t *pos = buffer->pos;
hb_position_t d;
/* Main-direction adjustment */
switch (c->direction) {
case HB_DIRECTION_LTR:
pos[i].x_advance = roundf (exit_x) + pos[i].x_offset;
d = roundf (entry_x) + pos[j].x_offset;
pos[j].x_advance -= d;
pos[j].x_offset -= d;
break;
case HB_DIRECTION_RTL:
d = roundf (exit_x) + pos[i].x_offset;
pos[i].x_advance -= d;
pos[i].x_offset -= d;
pos[j].x_advance = roundf (entry_x) + pos[j].x_offset;
break;
case HB_DIRECTION_TTB:
pos[i].y_advance = roundf (exit_y) + pos[i].y_offset;
d = roundf (entry_y) + pos[j].y_offset;
pos[j].y_advance -= d;
pos[j].y_offset -= d;
break;
case HB_DIRECTION_BTT:
d = roundf (exit_y) + pos[i].y_offset;
pos[i].y_advance -= d;
pos[i].y_offset -= d;
pos[j].y_advance = roundf (entry_y);
break;
case HB_DIRECTION_INVALID:
default:
break;
}
/* Cross-direction adjustment */
/* We attach child to parent (think graph theory and rooted trees whereas
* the root stays on baseline and each node aligns itself against its
* parent.
*
* Optimize things for the case of RightToLeft, as that's most common in
* Arabic. */
unsigned int child = i;
unsigned int parent = j;
hb_position_t x_offset = entry_x - exit_x;
hb_position_t y_offset = entry_y - exit_y;
if (!(c->lookup_props & LookupFlag::RightToLeft))
{
unsigned int k = child;
child = parent;
parent = k;
x_offset = -x_offset;
y_offset = -y_offset;
}
/* If child was already connected to someone else, walk through its old
* chain and reverse the link direction, such that the whole tree of its
* previous connection now attaches to new parent. Watch out for case
* where new parent is on the path from old chain...
*/
reverse_cursive_minor_offset (pos, child, c->direction, parent);
pos[child].attach_type() = ATTACH_TYPE_CURSIVE;
pos[child].attach_chain() = (int) parent - (int) child;
buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT;
if (likely (HB_DIRECTION_IS_HORIZONTAL (c->direction)))
pos[child].y_offset = y_offset;
else
pos[child].x_offset = x_offset;
buffer->idx++;
return_trace (true);
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (coverage.sanitize (c, this) && entryExitRecord.sanitize (c, this));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
coverage; /* Offset to Coverage table--from
* beginning of subtable */
ArrayOf<EntryExitRecord>
entryExitRecord; /* Array of EntryExit records--in
* Coverage Index order */
public:
DEFINE_SIZE_ARRAY (6, entryExitRecord);
};
struct CursivePos
{
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
CursivePosFormat1 format1;
} u;
};
typedef AnchorMatrix BaseArray; /* base-major--
* in order of BaseCoverage Index--,
* mark-minor--
* ordered by class--zero-based. */
struct MarkBasePosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+markCoverage).intersects (glyphs) &&
(this+baseCoverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{
if (unlikely (!(this+markCoverage).add_coverage (c->input))) return;
if (unlikely (!(this+baseCoverage).add_coverage (c->input))) return;
}
const Coverage &get_coverage () const { return this+markCoverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int mark_index = (this+markCoverage).get_coverage (buffer->cur().codepoint);
if (likely (mark_index == NOT_COVERED)) return_trace (false);
/* Now we search backwards for a non-mark glyph */
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
skippy_iter.set_lookup_props (LookupFlag::IgnoreMarks);
do {
if (!skippy_iter.prev ()) return_trace (false);
/* We only want to attach to the first of a MultipleSubst sequence.
* https://github.com/harfbuzz/harfbuzz/issues/740
* Reject others...
* ...but stop if we find a mark in the MultipleSubst sequence:
* https://github.com/harfbuzz/harfbuzz/issues/1020 */
if (!_hb_glyph_info_multiplied (&buffer->info[skippy_iter.idx]) ||
0 == _hb_glyph_info_get_lig_comp (&buffer->info[skippy_iter.idx]) ||
(skippy_iter.idx == 0 ||
_hb_glyph_info_is_mark (&buffer->info[skippy_iter.idx - 1]) ||
_hb_glyph_info_get_lig_id (&buffer->info[skippy_iter.idx]) !=
_hb_glyph_info_get_lig_id (&buffer->info[skippy_iter.idx - 1]) ||
_hb_glyph_info_get_lig_comp (&buffer->info[skippy_iter.idx]) !=
_hb_glyph_info_get_lig_comp (&buffer->info[skippy_iter.idx - 1]) + 1
))
break;
skippy_iter.reject ();
} while (true);
/* Checking that matched glyph is actually a base glyph by GDEF is too strong; disabled */
//if (!_hb_glyph_info_is_base_glyph (&buffer->info[skippy_iter.idx])) { return_trace (false); }
unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoint);
if (base_index == NOT_COVERED) return_trace (false);
return_trace ((this+markArray).apply (c, mark_index, base_index, this+baseArray, classCount, skippy_iter.idx));
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
markCoverage.sanitize (c, this) &&
baseCoverage.sanitize (c, this) &&
markArray.sanitize (c, this) &&
baseArray.sanitize (c, this, (unsigned int) classCount));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
markCoverage; /* Offset to MarkCoverage table--from
* beginning of MarkBasePos subtable */
OffsetTo<Coverage>
baseCoverage; /* Offset to BaseCoverage table--from
* beginning of MarkBasePos subtable */
HBUINT16 classCount; /* Number of classes defined for marks */
OffsetTo<MarkArray>
markArray; /* Offset to MarkArray table--from
* beginning of MarkBasePos subtable */
OffsetTo<BaseArray>
baseArray; /* Offset to BaseArray table--from
* beginning of MarkBasePos subtable */
public:
DEFINE_SIZE_STATIC (12);
};
struct MarkBasePos
{
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
MarkBasePosFormat1 format1;
} u;
};
typedef AnchorMatrix LigatureAttach; /* component-major--
* in order of writing direction--,
* mark-minor--
* ordered by class--zero-based. */
typedef OffsetListOf<LigatureAttach> LigatureArray;
/* Array of LigatureAttach
* tables ordered by
* LigatureCoverage Index */
struct MarkLigPosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+markCoverage).intersects (glyphs) &&
(this+ligatureCoverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{
if (unlikely (!(this+markCoverage).add_coverage (c->input))) return;
if (unlikely (!(this+ligatureCoverage).add_coverage (c->input))) return;
}
const Coverage &get_coverage () const { return this+markCoverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int mark_index = (this+markCoverage).get_coverage (buffer->cur().codepoint);
if (likely (mark_index == NOT_COVERED)) return_trace (false);
/* Now we search backwards for a non-mark glyph */
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
skippy_iter.set_lookup_props (LookupFlag::IgnoreMarks);
if (!skippy_iter.prev ()) return_trace (false);
/* Checking that matched glyph is actually a ligature by GDEF is too strong; disabled */
//if (!_hb_glyph_info_is_ligature (&buffer->info[skippy_iter.idx])) { return_trace (false); }
unsigned int j = skippy_iter.idx;
unsigned int lig_index = (this+ligatureCoverage).get_coverage (buffer->info[j].codepoint);
if (lig_index == NOT_COVERED) return_trace (false);
const LigatureArray& lig_array = this+ligatureArray;
const LigatureAttach& lig_attach = lig_array[lig_index];
/* Find component to attach to */
unsigned int comp_count = lig_attach.rows;
if (unlikely (!comp_count)) return_trace (false);
/* We must now check whether the ligature ID of the current mark glyph
* is identical to the ligature ID of the found ligature. If yes, we
* can directly use the component index. If not, we attach the mark
* glyph to the last component of the ligature. */
unsigned int comp_index;
unsigned int lig_id = _hb_glyph_info_get_lig_id (&buffer->info[j]);
unsigned int mark_id = _hb_glyph_info_get_lig_id (&buffer->cur());
unsigned int mark_comp = _hb_glyph_info_get_lig_comp (&buffer->cur());
if (lig_id && lig_id == mark_id && mark_comp > 0)
comp_index = hb_min (comp_count, _hb_glyph_info_get_lig_comp (&buffer->cur())) - 1;
else
comp_index = comp_count - 1;
return_trace ((this+markArray).apply (c, mark_index, comp_index, lig_attach, classCount, j));
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
markCoverage.sanitize (c, this) &&
ligatureCoverage.sanitize (c, this) &&
markArray.sanitize (c, this) &&
ligatureArray.sanitize (c, this, (unsigned int) classCount));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
markCoverage; /* Offset to Mark Coverage table--from
* beginning of MarkLigPos subtable */
OffsetTo<Coverage>
ligatureCoverage; /* Offset to Ligature Coverage
* table--from beginning of MarkLigPos
* subtable */
HBUINT16 classCount; /* Number of defined mark classes */
OffsetTo<MarkArray>
markArray; /* Offset to MarkArray table--from
* beginning of MarkLigPos subtable */
OffsetTo<LigatureArray>
ligatureArray; /* Offset to LigatureArray table--from
* beginning of MarkLigPos subtable */
public:
DEFINE_SIZE_STATIC (12);
};
struct MarkLigPos
{
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
MarkLigPosFormat1 format1;
} u;
};
typedef AnchorMatrix Mark2Array; /* mark2-major--
* in order of Mark2Coverage Index--,
* mark1-minor--
* ordered by class--zero-based. */
struct MarkMarkPosFormat1
{
bool intersects (const hb_set_t *glyphs) const
{ return (this+mark1Coverage).intersects (glyphs) &&
(this+mark2Coverage).intersects (glyphs); }
void collect_glyphs (hb_collect_glyphs_context_t *c) const
{
if (unlikely (!(this+mark1Coverage).add_coverage (c->input))) return;
if (unlikely (!(this+mark2Coverage).add_coverage (c->input))) return;
}
const Coverage &get_coverage () const { return this+mark1Coverage; }
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
hb_buffer_t *buffer = c->buffer;
unsigned int mark1_index = (this+mark1Coverage).get_coverage (buffer->cur().codepoint);
if (likely (mark1_index == NOT_COVERED)) return_trace (false);
/* now we search backwards for a suitable mark glyph until a non-mark glyph */
hb_ot_apply_context_t::skipping_iterator_t &skippy_iter = c->iter_input;
skippy_iter.reset (buffer->idx, 1);
skippy_iter.set_lookup_props (c->lookup_props & ~LookupFlag::IgnoreFlags);
if (!skippy_iter.prev ()) return_trace (false);
if (!_hb_glyph_info_is_mark (&buffer->info[skippy_iter.idx])) { return_trace (false); }
unsigned int j = skippy_iter.idx;
unsigned int id1 = _hb_glyph_info_get_lig_id (&buffer->cur());
unsigned int id2 = _hb_glyph_info_get_lig_id (&buffer->info[j]);
unsigned int comp1 = _hb_glyph_info_get_lig_comp (&buffer->cur());
unsigned int comp2 = _hb_glyph_info_get_lig_comp (&buffer->info[j]);
if (likely (id1 == id2)) {
if (id1 == 0) /* Marks belonging to the same base. */
goto good;
else if (comp1 == comp2) /* Marks belonging to the same ligature component. */
goto good;
} else {
/* If ligature ids don't match, it may be the case that one of the marks
* itself is a ligature. In which case match. */
if ((id1 > 0 && !comp1) || (id2 > 0 && !comp2))
goto good;
}
/* Didn't match. */
return_trace (false);
good:
unsigned int mark2_index = (this+mark2Coverage).get_coverage (buffer->info[j].codepoint);
if (mark2_index == NOT_COVERED) return_trace (false);
return_trace ((this+mark1Array).apply (c, mark1_index, mark2_index, this+mark2Array, classCount, j));
}
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
// TODO(subset)
return_trace (false);
}
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
mark1Coverage.sanitize (c, this) &&
mark2Coverage.sanitize (c, this) &&
mark1Array.sanitize (c, this) &&
mark2Array.sanitize (c, this, (unsigned int) classCount));
}
protected:
HBUINT16 format; /* Format identifier--format = 1 */
OffsetTo<Coverage>
mark1Coverage; /* Offset to Combining Mark1 Coverage
* table--from beginning of MarkMarkPos
* subtable */
OffsetTo<Coverage>
mark2Coverage; /* Offset to Combining Mark2 Coverage
* table--from beginning of MarkMarkPos
* subtable */
HBUINT16 classCount; /* Number of defined mark classes */
OffsetTo<MarkArray>
mark1Array; /* Offset to Mark1Array table--from
* beginning of MarkMarkPos subtable */
OffsetTo<Mark2Array>
mark2Array; /* Offset to Mark2Array table--from
* beginning of MarkMarkPos subtable */
public:
DEFINE_SIZE_STATIC (12);
};
struct MarkMarkPos
{
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{
TRACE_DISPATCH (this, u.format);
if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ());
switch (u.format) {
case 1: return_trace (c->dispatch (u.format1, hb_forward<Ts> (ds)...));
default:return_trace (c->default_return_value ());
}
}
protected:
union {
HBUINT16 format; /* Format identifier */
MarkMarkPosFormat1 format1;
} u;
};
struct ContextPos : Context {};
struct ChainContextPos : ChainContext {};
struct ExtensionPos : Extension<ExtensionPos>
{
typedef struct PosLookupSubTable SubTable;
};
/*
* PosLookup
*/
struct PosLookupSubTable
{
friend struct Lookup;
friend struct PosLookup;
enum Type {
Single = 1,
Pair = 2,
Cursive = 3,
MarkBase = 4,
MarkLig = 5,
MarkMark = 6,
Context = 7,
ChainContext = 8,
Extension = 9
};
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, unsigned int lookup_type, Ts&&... ds) const
{
TRACE_DISPATCH (this, lookup_type);
switch (lookup_type) {
case Single: return_trace (u.single.dispatch (c, hb_forward<Ts> (ds)...));
case Pair: return_trace (u.pair.dispatch (c, hb_forward<Ts> (ds)...));
case Cursive: return_trace (u.cursive.dispatch (c, hb_forward<Ts> (ds)...));
case MarkBase: return_trace (u.markBase.dispatch (c, hb_forward<Ts> (ds)...));
case MarkLig: return_trace (u.markLig.dispatch (c, hb_forward<Ts> (ds)...));
case MarkMark: return_trace (u.markMark.dispatch (c, hb_forward<Ts> (ds)...));
case Context: return_trace (u.context.dispatch (c, hb_forward<Ts> (ds)...));
case ChainContext: return_trace (u.chainContext.dispatch (c, hb_forward<Ts> (ds)...));
case Extension: return_trace (u.extension.dispatch (c, hb_forward<Ts> (ds)...));
default: return_trace (c->default_return_value ());
}
}
protected:
union {
SinglePos single;
PairPos pair;
CursivePos cursive;
MarkBasePos markBase;
MarkLigPos markLig;
MarkMarkPos markMark;
ContextPos context;
ChainContextPos chainContext;
ExtensionPos extension;
} u;
public:
DEFINE_SIZE_MIN (0);
};
struct PosLookup : Lookup
{
typedef struct PosLookupSubTable SubTable;
const SubTable& get_subtable (unsigned int i) const
{ return Lookup::get_subtable<SubTable> (i); }
bool is_reverse () const
{
return false;
}
bool apply (hb_ot_apply_context_t *c) const
{
TRACE_APPLY (this);
return_trace (dispatch (c));
}
bool intersects (const hb_set_t *glyphs) const
{
hb_intersects_context_t c (glyphs);
return dispatch (&c);
}
hb_collect_glyphs_context_t::return_t collect_glyphs (hb_collect_glyphs_context_t *c) const
{ return dispatch (c); }
template <typename set_t>
void add_coverage (set_t *glyphs) const
{
hb_add_coverage_context_t<set_t> c (glyphs);
dispatch (&c);
}
HB_INTERNAL static bool apply_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index);
template <typename context_t>
static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index);
template <typename context_t, typename ...Ts>
typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const
{ return Lookup::dispatch<SubTable> (c, hb_forward<Ts> (ds)...); }
bool subset (hb_subset_context_t *c) const
{ return Lookup::subset<SubTable> (c); }
bool sanitize (hb_sanitize_context_t *c) const
{ return Lookup::sanitize<SubTable> (c); }
};
/*
* GPOS -- Glyph Positioning
* https://docs.microsoft.com/en-us/typography/opentype/spec/gpos
*/
struct GPOS : GSUBGPOS
{
static constexpr hb_tag_t tableTag = HB_OT_TAG_GPOS;
const PosLookup& get_lookup (unsigned int i) const
{ return CastR<PosLookup> (GSUBGPOS::get_lookup (i)); }
static inline void position_start (hb_font_t *font, hb_buffer_t *buffer);
static inline void position_finish_advances (hb_font_t *font, hb_buffer_t *buffer);
static inline void position_finish_offsets (hb_font_t *font, hb_buffer_t *buffer);
bool subset (hb_subset_context_t *c) const
{ return GSUBGPOS::subset<PosLookup> (c); }
bool sanitize (hb_sanitize_context_t *c) const
{ return GSUBGPOS::sanitize<PosLookup> (c); }
HB_INTERNAL bool is_blacklisted (hb_blob_t *blob,
hb_face_t *face) const;
typedef GSUBGPOS::accelerator_t<GPOS> accelerator_t;
};
static void
reverse_cursive_minor_offset (hb_glyph_position_t *pos, unsigned int i, hb_direction_t direction, unsigned int new_parent)
{
int chain = pos[i].attach_chain(), type = pos[i].attach_type();
if (likely (!chain || 0 == (type & ATTACH_TYPE_CURSIVE)))
return;
pos[i].attach_chain() = 0;
unsigned int j = (int) i + chain;
/* Stop if we see new parent in the chain. */
if (j == new_parent)
return;
reverse_cursive_minor_offset (pos, j, direction, new_parent);
if (HB_DIRECTION_IS_HORIZONTAL (direction))
pos[j].y_offset = -pos[i].y_offset;
else
pos[j].x_offset = -pos[i].x_offset;
pos[j].attach_chain() = -chain;
pos[j].attach_type() = type;
}
static void
propagate_attachment_offsets (hb_glyph_position_t *pos,
unsigned int len,
unsigned int i,
hb_direction_t direction)
{
/* Adjusts offsets of attached glyphs (both cursive and mark) to accumulate
* offset of glyph they are attached to. */
int chain = pos[i].attach_chain(), type = pos[i].attach_type();
if (likely (!chain))
return;
pos[i].attach_chain() = 0;
unsigned int j = (int) i + chain;
if (unlikely (j >= len))
return;
propagate_attachment_offsets (pos, len, j, direction);
assert (!!(type & ATTACH_TYPE_MARK) ^ !!(type & ATTACH_TYPE_CURSIVE));
if (type & ATTACH_TYPE_CURSIVE)
{
if (HB_DIRECTION_IS_HORIZONTAL (direction))
pos[i].y_offset += pos[j].y_offset;
else
pos[i].x_offset += pos[j].x_offset;
}
else /*if (type & ATTACH_TYPE_MARK)*/
{
pos[i].x_offset += pos[j].x_offset;
pos[i].y_offset += pos[j].y_offset;
assert (j < i);
if (HB_DIRECTION_IS_FORWARD (direction))
for (unsigned int k = j; k < i; k++) {
pos[i].x_offset -= pos[k].x_advance;
pos[i].y_offset -= pos[k].y_advance;
}
else
for (unsigned int k = j + 1; k < i + 1; k++) {
pos[i].x_offset += pos[k].x_advance;
pos[i].y_offset += pos[k].y_advance;
}
}
}
void
GPOS::position_start (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer)
{
unsigned int count = buffer->len;
for (unsigned int i = 0; i < count; i++)
buffer->pos[i].attach_chain() = buffer->pos[i].attach_type() = 0;
}
void
GPOS::position_finish_advances (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer HB_UNUSED)
{
//_hb_buffer_assert_gsubgpos_vars (buffer);
}
void
GPOS::position_finish_offsets (hb_font_t *font HB_UNUSED, hb_buffer_t *buffer)
{
_hb_buffer_assert_gsubgpos_vars (buffer);
unsigned int len;
hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, &len);
hb_direction_t direction = buffer->props.direction;
/* Handle attachments */
if (buffer->scratch_flags & HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT)
for (unsigned int i = 0; i < len; i++)
propagate_attachment_offsets (pos, len, i, direction);
}
struct GPOS_accelerator_t : GPOS::accelerator_t {};
/* Out-of-class implementation for methods recursing */
#ifndef HB_NO_OT_LAYOUT
template <typename context_t>
/*static*/ inline typename context_t::return_t PosLookup::dispatch_recurse_func (context_t *c, unsigned int lookup_index)
{
const PosLookup &l = c->face->table.GPOS.get_relaxed ()->table->get_lookup (lookup_index);
return l.dispatch (c);
}
/*static*/ inline bool PosLookup::apply_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index)
{
const PosLookup &l = c->face->table.GPOS.get_relaxed ()->table->get_lookup (lookup_index);
unsigned int saved_lookup_props = c->lookup_props;
unsigned int saved_lookup_index = c->lookup_index;
c->set_lookup_index (lookup_index);
c->set_lookup_props (l.get_props ());
bool ret = l.dispatch (c);
c->set_lookup_index (saved_lookup_index);
c->set_lookup_props (saved_lookup_props);
return ret;
}
#endif
} /* namespace OT */
#endif /* HB_OT_LAYOUT_GPOS_TABLE_HH */
| [
"ke.xu@vhall.com"
] | ke.xu@vhall.com |
50d1797df117b854662cddd49ff7e81434dd1ca7 | 9c42a2c73a34b87edc4cbe6a978afc3589441393 | /Game/Game/Animation.cpp | f698fcf0aa4e7fe48c2bd3eb4f3f27d726a8830b | [
"Apache-2.0"
] | permissive | PhamMinhMan/Game | 32e23269f9175ae9419c92dc4aed911893e79060 | 794c67bd929f02d82746210a66b84213a91ef09c | refs/heads/master | 2021-01-12T12:49:25.412919 | 2016-12-21T08:54:43 | 2016-12-21T08:54:43 | 68,997,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "Animation.h"
void Animation::update(int& curFrame, GameTime& delay)
{
//if (delay.atTime())
//{
curFrame++;
if (curFrame == nRect)
curFrame = 0;
//}
}
Animation::Animation()
{
}
Animation::~Animation()
{
}
| [
"phamminhman2703@gmail.com"
] | phamminhman2703@gmail.com |
ac0c3e67940846f4727731765274e40a1feafca3 | 541e11e165c5edb8be6339f0ebb4d7c9a92e94aa | /第六部分_模板/11.6类模板中成员函数调用时机.cpp | 54a4105a038824f32c3ce3104a9468f26bcc6c2b | [] | no_license | ohmyjesus/cpp | 3c172f1b08eb358ba5b7fe5e1bcdff0eb2dad4e0 | ac8bf93958ed6cdb5384b6b7ac7da10fbe13102c | refs/heads/main | 2023-04-13T10:43:49.784582 | 2021-04-27T04:14:33 | 2021-04-27T04:14:33 | 304,291,851 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 720 | cpp | //
//#include <iostream>
//#include <string>
//
//using namespace std;
//
//class Person1 {
//public:
// void showPerson1() {
// cout << "showPerson1的调用" << endl;
// }
//};
//
//class Person2 {
// void showPerson2() {
// cout << "showPerson2的调用" << endl;
// }
//};
//
//template<typename T>
//class MyClass {
//public:
// T obj;
//
// //类模板中的成员函数在调用时才创建
// void func1() {
// obj.showPerson1();
// }
//
// void func2() {
// obj.showPerson2();
// }
//
//};
//
//void test01() {
// MyClass<Person1>m;
// m.func1();
// //m.func2();
//
//}
//int main()
//{
// test01();
//
// cout << "Hello World!" << endl;
// return 0;
//}
//
| [
"noreply@github.com"
] | ohmyjesus.noreply@github.com |
ea785a5dc0de4c5d225ea25f29c74a36e2979c73 | 3c607adc2117abee9c041ec64fef057c48b799a0 | /face.cpp | b8ec8c5cc53c6114b94833774ed083862f195bb7 | [] | no_license | suhang99/3D-convex-hull-algorithm | fc2b1a4faa37d6a764c0e19790e893be6b589332 | c3f1469b71f02965b72c386b60806d1444b3ef75 | refs/heads/main | 2023-04-03T02:01:36.069444 | 2021-03-18T06:07:55 | 2021-03-18T06:07:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include "point3d.hpp"
#include "edge.hpp"
#include "face.hpp"
namespace cs271{
Face::Face():p1(nullptr),p2(nullptr),p3(nullptr),e12(nullptr),e13(nullptr),e23(nullptr){}
Face::Face(Point3d *_p1, Point3d *_p2, Point3d *_p3):p1(_p1),p2(_p2),p3(_p3){}
/* Compute the volumn of tetrahedron formed by face and point */
double
computeVolumn(Face *f, Point3d *p){
MatrixXd mat(4,4);
mat << f->p1->point[0], f->p1->point[1], f->p1->point[2], 1,
f->p2->point[0], f->p2->point[1], f->p2->point[2], 1,
f->p3->point[0], f->p3->point[1], f->p3->point[2], 1,
p->point[0], p->point[1], p->point[2], 1;
return mat.determinant();
}
Vector3d
projectPointToPlane(Face *face, Point3d *point){
Vector3d normal = (face->p1->point - face->p2->point).cross(face->p1->point - face->p3->point);
normal.normalize();
Vector3d vec = point->point - face->p1->point;
double distance = normal.dot(vec);
return point->point - distance * normal;
}
} | [
"suhang@shanghaitech.edu.cn"
] | suhang@shanghaitech.edu.cn |
dd50c698b1d7e85853df78ec591914b8c88673e3 | 674bff14d63bb52475e23bf2b3cc4250d5e1600c | /linkedlist/pro13.cpp | d15ed9b5f82d66aa87f28686e9f90aadbe4df1e5 | [] | no_license | sajjusajuu/My_projects | 7979d80c161e31bb91798358b4daebad36a6792b | 73b7c21b66c054bd855cf5c37bf0657e8610fef2 | refs/heads/master | 2021-01-22T13:42:39.040475 | 2014-08-20T16:50:52 | 2014-08-20T16:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | cpp | // To devide list into two parts one even and one odd
// Written by Sajid Hussain, ISM DhanBad.
#include <iostream>
#include <cstdlib>
using namespace std;
class listnode {
public:
int data;
listnode * ptr;
listnode(int n) { data = n; ptr = NULL;}
listnode() { data = 0; ptr = NULL; }
};
listnode* createlist(int n) {
listnode * start = NULL;
listnode *pre = NULL;
if(n == 0)
return start;
start = new listnode(0);
pre = start;
for(int i = 1; i<n; i++) {
pre->ptr = new listnode(i);
pre = pre->ptr;
}
return start;
}
int main() {
listnode* l = createlist(100); // Creates a linkedlist of 100 nodes and returs the pointers to the first node
/*while(l) {
cout << l->data << " ";
l = l->ptr;
}*/
listnode *l1, *l2, *temp, *l1e, *l2e;
temp = l;
if(temp) {
l1 = temp;
temp = temp->ptr;
l1e = l1;
}
if(temp) {
l2 = temp;
temp = temp->ptr;
l2e = l2;
}
bool flag = true;
while(temp) {
if(flag) {
l1e->ptr = temp;
l1e = temp;
}
else {
l2e->ptr = temp;
l2e = temp;
}
flag = !flag;
temp = temp->ptr;
}
l1e->ptr = l2e->ptr = NULL;
l1e = l1;
while(l1e) {
cout << l1e->data << " ";
l1e = l1e->ptr;
}
cout <<"\n\n";
l2e = l2;
while(l2e) {
cout << l2e->data << " ";
l2e = l2e->ptr;
}
return 0;
}
| [
"sajidhussain2803@gmail.com"
] | sajidhussain2803@gmail.com |
edada986a1ccd839470199289fc5064d0fe98dab | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/97/fbe551da351d2f/main.cpp | 880e22f60557309930d7cbc7d670e29f1d202c27 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | #include <iostream>
#include <string>
#include <vector>
int main()
{
}
| [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
a6bcd696e740c9944105087ba73c9b33d5fd3af1 | b3dcddeadfbaa57ef2bad9fb64dfbbc4aec0b7c2 | /Leetcode/reverseList.cpp | 406ff199001e0236943db702dca35f7c5c25b0bb | [] | no_license | cmiyachi/CygWinAlgorithms | 6b211fd42f41e5126c15b3fe4c2f6a7e780671c1 | 9132f0049e1474a0d232d23db3b85b3b5335dadb | refs/heads/master | 2021-12-14T21:42:21.075024 | 2021-12-08T19:45:43 | 2021-12-08T19:45:43 | 174,758,849 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cpp | #include <bits/stdc++.h>
using namespace std;
/**
* Definition for singly-linked list.*/
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode* reverseList(ListNode* head) {
ListNode *prev = nullptr;
ListNode *curr = head;
while(curr != nullptr) {
ListNode *next_temp = curr->next;
curr->next = prev;
prev = curr;
curr = next_temp;
}
return prev;
}
};
void printLL(ListNode *head)
{
ListNode *curr = head;
while (curr != NULL)
{
cout << curr->val << " ";
curr = curr->next;
}
cout << endl;
}
/* Driver program to test above function*/
int main()
{
/* Start with the empty list */
ListNode *ll = new ListNode(10);
ll->next = new ListNode(20);
ll->next->next = new ListNode(30);
ll->next->next->next = new ListNode(40);
ll->next->next->next->next = new ListNode(50);
cout << "Given linked list\n";
printLL(ll);
Solution sol;
ListNode *revLL = sol.reverseList(ll);
cout << "\nReversed Linked list \n";
printLL(revLL);
return 0;
}
| [
"cmiyachi@alum.mit.edu"
] | cmiyachi@alum.mit.edu |
49b36e2f32a8cfe11e60a07966d712f7ee271d73 | 55b3d01382f6ab3f91c2a073002b61adcafbb607 | /01_31/calldispatcher.cpp | 9235aba13db7d5d136b1a4b4fc333405e9dc3066 | [] | no_license | vvbondar/homeworks | 8a3297f92badb49a1734b3111457d950b5c11a7b | f3d852ff342da43d919ace4b758788c8aca45acb | refs/heads/master | 2021-01-19T00:10:46.877709 | 2019-01-29T13:39:47 | 2019-01-29T13:39:47 | 72,949,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | #include "object.h"
#include "calldispatcher.h"
CallDispatcher::CallDispatcher()
{
//...
}
mmsrIter CallDispatcher::FindConnection(srType sender, srType reciever)
{
for(mmsrIter it = m_sheet.begin(); it != m_sheet.end(); ++it)
{
if(it->first == sender)
{
if(it->second == reciever)
{
return it;
}
else
{
continue;
}
}
}
return m_sheet.end();
}
void CallDispatcher::connect(Object *sender, const std::string& singal, Object *receiver, const std::string& slot)
{
srType sndr_pair = std::make_pair(sender, singal);
srType rcvr_pair = std::make_pair(receiver, slot);
m_sheet.insert(std::make_pair(sndr_pair, rcvr_pair));
}
void CallDispatcher::disconnect(Object *sender, const std::string& singal, Object *receiver, const std::string& slot)
{
mmsrIter it = FindConnection(std::make_pair(sender, singal),
std::make_pair(receiver, slot));
if(it == m_sheet.end())
{
return;
}
m_sheet.erase(it);
}
void CallDispatcher::sendSignal(Object *sender, const std::string& singal)
{
auto signals_range = m_sheet.equal_range(std::make_pair(sender, singal));
for(auto i = signals_range.first; i != signals_range.second; ++i)
{
i->second.first->dispatchMethod(i->second.second);
}
}
| [
"vikecooper@gmail.com"
] | vikecooper@gmail.com |
2bc8c7785f2756ebb81d25f642b4b311d143d8ef | 76491f0c546b395debc6effc27bdcac99074fc1c | /WA2/cuda/pbbKernels.cu.h | 79bbd66f9046a7fa258de0931c5ab4116030a5d6 | [] | no_license | francescodone/PMPH | e68d4698660f6f9d87349199b4374a37281e7480 | bc2cc1197ad2d89b8909c684c34ecab4a676847c | refs/heads/master | 2022-12-27T23:53:25.121389 | 2020-10-16T06:37:30 | 2020-10-16T06:37:30 | 294,397,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,995 | h | #ifndef SCAN_KERS
#define SCAN_KERS
#include <cuda_runtime.h>
#include <math.h>
/**
* Naive memcpy kernel, for the purpose of comparing with
* a more "realistic" bandwidth number.
*/
__global__ void naiveMemcpy(int* d_out, int* d_inp, const uint32_t N) {
uint32_t gid = blockIdx.x * blockDim.x + threadIdx.x;
if(gid < N) {
d_out[gid] = d_inp[gid];
}
}
/**
* Generic Add operator that can be instantiated over
* numeric-basic types, such as int32_t, int64_t,
* float, double, etc.
*/
template<class T>
class Add {
public:
typedef T InpElTp;
typedef T RedElTp;
static const bool commutative = true;
static __device__ __host__ inline T identInp() { return (T)0; }
static __device__ __host__ inline T mapFun(const T& el) { return el; }
static __device__ __host__ inline T identity() { return (T)0; }
static __device__ __host__ inline T apply(const T t1, const T t2) { return t1 + t2; }
static __device__ __host__ inline bool equals(const T t1, const T t2) { return (t1 == t2); }
static __device__ __host__ inline T remVolatile(volatile T& t) { T res = t; return res; }
};
/***************************************************/
/*** Generic Value-Flag Tuple for Segmented Scan ***/
/***************************************************/
/**
* Generic data-type that semantically tuples template
* `T` with a flag, which is represented as a char.
*/
template<class T>
class ValFlg {
public:
T v;
char f;
__device__ __host__ inline ValFlg() { f = 0; }
__device__ __host__ inline ValFlg(const char& f1, const T& v1) { v = v1; f = f1; }
__device__ __host__ inline ValFlg(const ValFlg& vf) { v = vf.v; f = vf.f; }
__device__ __host__ inline void operator=(const ValFlg& vf) volatile { v = vf.v; f = vf.f; }
};
/**
* Generic segmented-scan operator, which lifts a generic
* associative binary operator, given by generic type `OP`
* to the corresponding segmented operator that works over
* flag-value tuples.
*/
template<class OP>
class LiftOP {
public:
typedef ValFlg<typename OP::RedElTp> RedElTp;
static __device__ __host__ inline RedElTp identity() {
return RedElTp( (char)0, OP::identity());
}
static __device__ __host__ inline RedElTp
apply(const RedElTp t1, const RedElTp t2) {
typename OP::RedElTp v;
char f = t1.f | t2.f;
if (t2.f != 0) v = t2.v;
else v = OP::apply(t1.v, t2.v);
return RedElTp(f, v);
}
static __device__ __host__ inline bool
equals(const RedElTp t1, const RedElTp t2) {
return ( (t1.f == t2.f) && OP::equals(t1.v, t2.v) );
}
};
/*****************************************/
/*** MSSP Data-Structure and Operators ***/
/*****************************************/
/**
* A class representing a quad-tuple of ints, to be used
* for MSSP problem. The reason for this is that we need
* constructors (e.g., copy constructor) that makes it
* work with the generic skeletons of reduce, scan, etc.
*/
class MyInt4 {
public:
int x; int y; int z; int w;
__device__ __host__ inline MyInt4() {
x = 0; y = 0; z = 0; w = 0;
}
__device__ __host__ inline MyInt4(const int& a, const int& b, const int& c, const int& d) {
x = a; y = b; z = c; w = d;
}
__device__ __host__ inline MyInt4(const MyInt4& i4) {
x = i4.x; y = i4.y; z = i4.z; w = i4.w;
}
__device__ __host__ inline void operator=(const MyInt4& i4) volatile {
x = i4.x; y = i4.y; z = i4.z; w = i4.w;
}
};
/**
* Representation of the MSSP operator, so that it can work the generically
* defined skeletons of reduce, scan, etc.
*/
class Mssp {
public:
typedef int32_t InpElTp;
typedef MyInt4 RedElTp;
static const bool commutative = false;
static __device__ __host__ inline InpElTp identInp(){ return 0; }
static __device__ __host__ inline RedElTp mapFun(const InpElTp& el) {
int32_t x = max(0, el);
return MyInt4(x, x, x, el);
}
static __device__ __host__ inline MyInt4 identity() { return MyInt4(0,0,0,0); }
static __device__ __host__ inline MyInt4 apply(volatile MyInt4& t1, volatile MyInt4& t2) {
int mss = max( t1.z+t2.y, max(t1.x, t2.x) );
int mis = max( t1.y, t1.w + t2.y);
int mcs = max( t2.z, t2.w + t1.z);
int t = t1.w + t2.w;
return MyInt4(mss, mis, mcs, t);
}
static __device__ __host__ inline MyInt4 remVolatile(volatile MyInt4& t) {
MyInt4 res; res.x = t.x; res.y = t.y; res.z = t.z; res.w = t.w; return res;
}
static __device__ __host__ inline bool equals(MyInt4& t1, MyInt4& t2) {
return (t1.x == t2.x && t1.y == t2.y && t1.z == t2.z && t1.w == t2.w);
}
};
/***************************************/
/*** Scan Inclusive Helpers & Kernel ***/
/***************************************/
/**
* A warp of threads cooperatively scan with generic-binop `OP` a
* number of warp elements stored in shared memory (`ptr`).
* No synchronization is needed because the threads in a warp execute
* in lockstep.
* `idx` is the local thread index within a cuda block (threadIdx.x)
* Each thread returns the corresponding scanned element of type
* `typename OP::RedElTp`
********************************
* Weekly Assignment 2, Task 2: *
********************************
* The provided dummy implementation works correctly, but it is
* very slow because the warp reduction is performed sequentially
* by the first thread of each warp, so it takes WARP-1=31 steps
* to complete, while the other 31 threads of the WARP are iddle.
* Your task is to write a warp-level scan implementation in which
* the threads in the same WARP cooperate such that the depth of
* this implementation is 5 steps ( WARP==32, and lg(32)=5 ).
* The algorithm that you need to implement is shown in the
* slides of Lab2.
* The implementation does not need any synchronization, i.e.,
* please do NOT use "__syncthreads();" and the like in here,
* especially because it will break the whole thing (because
* this function is conditionally called sometimes, so not
* all threads will reach the barrier, resulting in incorrect
* results.)
*/
template<class OP>
__device__ inline typename OP::RedElTp
scanIncWarp( volatile typename OP::RedElTp* ptr, const unsigned int idx ) {
const unsigned int lane = idx & (WARP-1);
if(lane==0) {
int h=0;
int i=WARP-1;
#pragma unroll
for(int d=0; d<lgWARP; d++){
h = (int) powf(2,d);
if(i>=h){
while(i>=h){
ptr[idx+i] = OP::apply(ptr[idx+i-h], ptr[idx+i]);
i--;
}
}
i=WARP-1;
}
/*#pragma unroll
for(int i=1; i<WARP; i++) {
ptr[idx+i] = OP::apply(ptr[idx+i-1], ptr[idx+i]);
}*/
}
return OP::remVolatile(ptr[idx]);
}
/**
* A CUDA-block of threads cooperatively scan with generic-binop `OP`
* a CUDA-block number of elements stored in shared memory (`ptr`).
* `idx` is the local thread index within a cuda block (threadIdx.x)
* Each thread returns the corresponding scanned element of type
* `typename OP::RedElTp`. Note that this is NOT published to shared memory!
*
*******************************************************
* Weekly Assignment 2, Task 3:
*******************************************************
* Find and fix the bug (race condition) that manifests
* only when the CUDA block size is set to 1024.
*/
template<class OP>
__device__ inline typename OP::RedElTp
scanIncBlock(volatile typename OP::RedElTp* ptr, const unsigned int idx) {
const unsigned int lane = idx & (WARP-1);
const unsigned int warpid = idx >> lgWARP;
// 1. perform scan at warp level
typename OP::RedElTp res = scanIncWarp<OP>(ptr,idx);
__syncthreads();
// 2. place the end-of-warp results in
// the first warp. This works because
// warp size = 32, and
// max block size = 32^2 = 1024
if (lane == (WARP-1)) { ptr[warpid] = OP::remVolatile(ptr[idx]); }
__syncthreads();
// 3. scan again the first warp
if (warpid == 0) scanIncWarp<OP>(ptr, idx);
__syncthreads();
// 4. accumulate results from previous step;
if (warpid > 0) {
res = OP::apply(ptr[warpid-1], res);
}
return res;
}
/********************************************/
/*** Naive (silly) Kernels, just for demo ***/
/********************************************/
/**
* Kernel to implement the naive reduce, which uses neither
* efficient sequentialization, nor fast, shared memory.
*/
template<class OP>
__global__ void
redNaiveKernel1( typename OP::RedElTp* d_out
, typename OP::InpElTp* d_in
, const uint32_t N
, const uint32_t T
) {
uint32_t gid = blockIdx.x * blockDim.x + threadIdx.x;
typename OP::InpElTp el = OP::identInp();
uint32_t ind = 2*gid;
if(ind < N) el = d_in[ind];
typename OP::RedElTp el_red1 = OP::mapFun(el);
el = OP::identInp();
ind = ind + 1;
if(ind < N) el = d_in[ind];
typename OP::RedElTp el_red2 = OP::mapFun(el);
el_red1 = OP::apply(el_red1, el_red2);
if(gid < T) d_out[gid] = el_red1;
}
/**
* Kernel to implement the naive reduce, which uses neither
* efficient sequentialization, nor fast, shared memory.
*/
template<class OP>
__global__ void
redNaiveKernel2( typename OP::RedElTp* d_out
, const uint32_t offs_inp
, const uint32_t offs_out
, const uint32_t N
, const uint32_t T
) {
uint32_t gid = blockIdx.x * blockDim.x + threadIdx.x;
typename OP::RedElTp el1 = OP::identity();
uint32_t ind = 2*gid;
if(ind < N) el1 = d_out[offs_inp + ind];
typename OP::RedElTp el2 = OP::identity();
ind = ind + 1;
if(ind < N) el2 = d_out[offs_inp + ind];
el1 = OP::apply(el1, el2);
if(T==1) { if (threadIdx.x == 0) d_out[0] = el1; }
else {
if (gid < T) d_out[offs_out + gid] = el1;
}
}
/***********************************************************/
/*** Reduce Commutative & Non-Commutative Helper Kernels ***/
/***********************************************************/
/**
* Kernel for reducing up to CUDA-block number of elements
* with CUDA-block number of threads. The generic associative
* binary operator does not need to be commutative.
* This is a helper kernel for implementing the second stage of
* a reduction.
*/
template<class OP>
__global__ void
redAssoc1Block( typename OP::RedElTp* d_inout // operates in place; the reduction
, uint32_t N // result is written in position 0
) {
extern __shared__ char sh_mem[];
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
typename OP::RedElTp elm = OP::identity();
if(threadIdx.x < N) {
elm = d_inout[threadIdx.x];
}
shmem_red[threadIdx.x] = elm;
__syncthreads();
elm = scanIncBlock<OP>(shmem_red, threadIdx.x);
if (threadIdx.x == blockDim.x-1) {
d_inout[0] = elm;
}
}
/**
* This kernel assumes that the generic-associative binary operator
* `OP` is also commutative. It implements the first stage of the
* reduction.
* `N` is the length of the input array
* `T` is the total number of CUDA threads spawned.
* `d_tmp` is the result array, having number-of-blocks elements.
* `d_in` is the input array of length `N`.
*
* The number of spawned blocks is <= 1024, so that the result
* array (having one element per block) can be reduced within
* one block with kernel `redAssoc1Block`.
*/
template<class OP>
__global__ void
redCommuKernel( typename OP::RedElTp* d_tmp
, typename OP::InpElTp* d_in
, uint32_t N
, uint32_t T
) {
extern __shared__ char sh_mem[];
// shared memory holding the to-be-reduced elements.
// The length of `shmem_red` array is the CUDA block size.
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
uint32_t gid = blockIdx.x*blockDim.x + threadIdx.x;
// The loop efficiently sequentializes the computation by making
// each thread iterate through the input with a stride `T` until
// all array elements have been processed. The stride `T`
// optimizes spatial locality: it results in coalesced
// access to global memory (32 threads access consecutive
// words in memory). If each thread would have processed
// adjacent array elements (i.e., stride 1), then the penalty
// would be severe 5-10x slower!
typename OP::RedElTp acc = OP::identity();
for(uint32_t ind=gid; ind < N; ind+=T) {
// read input element
typename OP::InpElTp elm = d_in[ind];
// apply the mapped function and accumulate the per-thread
// result in `acc`.
typename OP::RedElTp red = OP::mapFun(elm);
acc = OP::apply(acc, red);
}
// the per-thread results are then placed in shared memory
// and reduced in parallel within the current CUDA-block.
shmem_red[threadIdx.x] = acc;
__syncthreads();
acc = scanIncBlock<OP>(shmem_red, threadIdx.x);
// the result of the current CUDA block is placed
// in global memory; the position is thus given by
// the index of the current block.
if (threadIdx.x == blockDim.x-1) {
d_tmp[blockIdx.x] = acc;
}
}
/**
* Helper function that copies `CHUNK` input elements per thread from
* global to shared memory, in a way that optimizes spatial locality,
* i.e., (32) consecutive threads read/write consecutive input elements
* from/to global memory in the same SIMD instruction.
* This leads to "coalesced" access in the case when the element size
* is a word (or less). Coalesced access means that (groups of 32)
* consecutive threads access consecutive memory words.
*
* `glb_offs` is the offset in global-memory array `d_inp`
* from where elements should be read.
* `d_inp` is the input array stored in global memory
* `N` is the length of `d_inp`
* `ne` is the neutral element of `T` (think zero). In case
* the index of the element to be read by the current thread
* is out of range, then place `ne` in shared memory instead.
* `shmem_inp` is the shared memory. It has size
* `blockDim.x*CHUNK*sizeof(T)`, where `blockDim.x` is the
* size of the CUDA block. `shmem_inp` should be filled from
* index `0` to index `blockDim.x*CHUNK - 1`.
*
* As such, a CUDA-block B of threads executing this function would
* read `CHUNK*B` elements from global memory and store them to
* (fast) shared memory, in the same order in which they appear
* in global memory, but making sure that consecutive threads
* read consecutive elements of `d_inp` in a SIMD instruction.
*
********************************
* Weekly Assignment 2, Task 1: *
********************************
* The current implementations of functions `copyFromGlb2ShrMem`
* and `copyFromShr2GlbMem` are broken because they feature
* (very) uncoalesced access to global memory arrays `d_inp`
* and `d_out` (see above). For example, `d_inp[glb_ind]`
* can be expanded to `d_inp[glb_offs + threadIdx.x*CHUNK + i]`,
* where `threadIdx.x` denotes the local thread-id in the
* current block. Assuming `T` is 32-bit int, it follows that
* two consecutive threads are going to access in the same SIMD
* instruction memory locations that are CHUNK words appart
* (`i` being the same for both threads since they execute in
* lockstep).
* Your task is to rewrite in both functions the line
* `uint32_t loc_ind = threadIdx.x*CHUNK + i;`
* such that the result is the same---i.e., the same elements
* are ultimately placed at the same position---but with the
* new formula for computing `loc_ind`, two consecutive threads
* will access consecutive memory words in the same SIMD instruction.
*/
template<class T, uint32_t CHUNK>
__device__ inline void
copyFromGlb2ShrMem( const uint32_t glb_offs
, const uint32_t N
, const T& ne
, T* d_inp
, volatile T* shmem_inp
) {
#pragma unroll
for(uint32_t i=0; i<CHUNK; i++) {
uint32_t loc_ind = (blockDim.x * i) + threadIdx.x;
//uint32_t loc_ind = threadIdx.x*CHUNK + i;
uint32_t glb_ind = glb_offs + loc_ind;
T elm = ne;
if(glb_ind < N) { elm = d_inp[glb_ind]; }
shmem_inp[loc_ind] = elm;
}
__syncthreads(); // leave this here at the end!
}
/**
* This is very similar with `copyFromGlb2ShrMem` except
* that you need to copy from shared to global memory, so
* that consecutive threads write consecutive indices in
* global memory in the same SIMD instruction.
* `glb_offs` is the offset in global-memory array `d_out`
* where elements should be written.
* `d_out` is the global-memory array
* `N` is the length of `d_out`
* `shmem_red` is the shared-memory of size
* `blockDim.x*CHUNK*sizeof(T)`
*/
template<class T, uint32_t CHUNK>
__device__ inline void
copyFromShr2GlbMem( const uint32_t glb_offs
, const uint32_t N
, T* d_out
, volatile T* shmem_red
) {
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
uint32_t loc_ind = (blockDim.x * i) + threadIdx.x;
//uint32_t loc_ind = threadIdx.x * CHUNK + i;
uint32_t glb_ind = glb_offs + loc_ind;
if (glb_ind < N) {
T elm = const_cast<const T&>(shmem_red[loc_ind]);
d_out[glb_ind] = elm;
}
}
__syncthreads(); // leave this here at the end!
}
/**
* This kernel assumes that the generic-associative binary operator
* `OP` is NOT commutative. It implements the first stage of the
* reduction.
* `N` is the length of the input array
* `CHUNK` (the template parameter) is the number of elements to
* be processed sequentially by a thread in one go.
* `num_seq_chunks` is used to sequentialize even more computation,
* such that the number of blocks is <= 1024, hence the result
* array (one element per block) can be reduced within one
* block with kernel `redAssoc1Block`.
* `d_tmp` is the result array, having number-of-blocks elements,
* `d_in` is the input array of length `N`.
*/
template<class OP, int CHUNK>
__global__ void
redAssocKernel( typename OP::RedElTp* d_tmp
, typename OP::InpElTp* d_in
, uint32_t N
, uint32_t num_seq_chunks
) {
extern __shared__ char sh_mem[];
// shared memory for the input-element and reduce-element type;
// the two shared memories overlap, since they are not used in
// the same time.
volatile typename OP::InpElTp* shmem_inp = (typename OP::InpElTp*)sh_mem;
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
// initialization for the per-block result
typename OP::RedElTp res = OP::identity();
uint32_t num_elems_per_block = num_seq_chunks * CHUNK * blockDim.x;
uint32_t inp_block_offs = num_elems_per_block * blockIdx.x;
uint32_t num_elems_per_iter = CHUNK * blockDim.x;
// virtualization loop of count `num_seq_chunks`. Each iteration processes
// `blockDim.x * CHUNK` elements, i.e., `CHUNK` elements per thread.
// `num_seq_chunks` is chosen such that it covers all N input elements
for(int seq=0; seq<num_elems_per_block; seq+=num_elems_per_iter) {
// 1. copy `CHUNK` input elements per thread from global to shared memory
// in a coalesced fashion (for global memory)
copyFromGlb2ShrMem<typename OP::InpElTp,CHUNK>
( inp_block_offs + seq, N, OP::identInp(), d_in, shmem_inp );
// 2. each thread sequentially reads its `CHUNK` elements from shared
// memory, applies the map function and reduces them.
typename OP::RedElTp acc = OP::identity();
uint32_t shmem_offset = threadIdx.x * CHUNK;
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
typename OP::InpElTp elm = shmem_inp[shmem_offset + i];
typename OP::RedElTp red = OP::mapFun(elm);
acc = OP::apply(acc, red);
}
__syncthreads();
// 3. each thread publishes the previous result in shared memory
shmem_red[threadIdx.x] = acc;
__syncthreads();
// 4. perform an intra-block reduction with the per-thread result
// from step 2; the last thread updates the per-block result `res`
acc = scanIncBlock<OP>(shmem_red, threadIdx.x);
if (threadIdx.x == blockDim.x-1) {
res = OP::apply(res, acc);
}
__syncthreads();
// rinse and repeat until all elements have been processed.
}
// 4. last thread publishes the per-block reduction result
// in global memory
if (threadIdx.x == blockDim.x-1) {
d_tmp[blockIdx.x] = res;
}
}
/********************/
/*** Scan Kernels ***/
/********************/
/**
* Kernel for scanning up to CUDA-block elements using
* CUDA-block threads.
* `N` number of elements to be scanned (N < CUDA-block size)
* `d_input` is the value array stored in shared memory
* This kernel operates in-place, i.e., the input is
* overwritten with the result.
*/
template<class OP>
__global__ void
scan1Block( typename OP::RedElTp* d_inout, uint32_t N ) {
extern __shared__ char sh_mem[];
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
typename OP::RedElTp elm = OP::identity();
if(threadIdx.x < N) {
elm = d_inout[threadIdx.x];
}
shmem_red[threadIdx.x] = elm;
__syncthreads();
elm = scanIncBlock<OP>(shmem_red, threadIdx.x);
if (threadIdx.x < N) {
d_inout[threadIdx.x] = elm;
}
}
/**
* This kernel assumes that the generic-associative binary operator
* `OP` is NOT-necessarily commutative. It implements the third
* stage of the scan (parallel prefix sum), which scans within
* a block. (The first stage is a per block reduction with the
* `redAssocKernel` kernel, and the second one is the `scan1Block`
* kernel that scans the reduced elements of each CUDA block.)
*
* `N` is the length of the input array
* `CHUNK` (the template parameter) is the number of elements to
* be processed sequentially by a thread in one go.
* `num_seq_chunks` is used to sequentialize even more computation,
* such that the number of blocks is <= 1024.
* `d_out` is the result array of length `N`
* `d_in` is the input array of length `N`
* `d_tmp` is the array holding the per-block scanned results.
* it has number-of-CUDA-blocks elements, i.e., element
* `d_tmp[i-1]` is the scanned prefix that needs to be
* accumulated to each of the scanned elements corresponding
* to block `i`.
* This kernels scans the elements corresponding to the current block
* `i`---in number of num_seq_chunks*CHUNK*blockDim.x---and then it
* accumulates to each of them the prefix of the previous block `i-1`,
* which is stored in `d_tmp[i-1]`.
*/
template<class OP, int CHUNK>
__global__ void
scan3rdKernel ( typename OP::RedElTp* d_out
, typename OP::InpElTp* d_in
, typename OP::RedElTp* d_tmp
, uint32_t N
, uint32_t num_seq_chunks
) {
extern __shared__ char sh_mem[];
// shared memory for the input elements (types)
volatile typename OP::InpElTp* shmem_inp = (typename OP::InpElTp*)sh_mem;
// shared memory for the reduce-element type; it overlaps with the
// `shmem_inp` since they are not going to be used in the same time.
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
// number of elements to be processed by each block
uint32_t num_elems_per_block = num_seq_chunks * CHUNK * blockDim.x;
// the current block start processing input elements from this offset:
uint32_t inp_block_offs = num_elems_per_block * blockIdx.x;
// number of elments to be processed by an iteration of the
// "virtualization" loop
uint32_t num_elems_per_iter = CHUNK * blockDim.x;
// accumulator updated at each iteration of the "virtualization"
// loop so we remember the prefix for the current elements.
typename OP::RedElTp accum = (blockIdx.x == 0) ? OP::identity() : d_tmp[blockIdx.x-1];
// register memory for storing the scanned elements.
typename OP::RedElTp chunk[CHUNK];
// virtualization loop of count `num_seq_chunks`. Each iteration processes
// `blockDim.x * CHUNK` elements, i.e., `CHUNK` elements per thread.
for(int seq=0; seq<num_elems_per_block; seq+=num_elems_per_iter) {
// 1. copy `CHUNK` input elements per thread from global to shared memory
// in coalesced fashion (for global memory)
copyFromGlb2ShrMem<typename OP::InpElTp, CHUNK>
(inp_block_offs+seq, N, OP::identInp(), d_in, shmem_inp);
// 2. each thread sequentially scans its `CHUNK` elements
// and stores the result in the `chunk` array. The reduced
// result is stored in `tmp`.
typename OP::RedElTp tmp = OP::identity();
uint32_t shmem_offset = threadIdx.x * CHUNK;
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
typename OP::InpElTp elm = shmem_inp[shmem_offset + i];
typename OP::RedElTp red = OP::mapFun(elm);
tmp = OP::apply(tmp, red);
chunk[i] = tmp;
}
__syncthreads();
// 3. Each thread publishes in shared memory the reduced result of its
// `CHUNK` elements
shmem_red[threadIdx.x] = tmp;
__syncthreads();
// 4. perform an intra-CUDA-block scan
tmp = scanIncBlock<OP>(shmem_red, threadIdx.x);
__syncthreads();
// 5. write the scan result back to shared memory
shmem_red[threadIdx.x] = tmp;
__syncthreads();
// 6. the previous element is read from shared memory in `tmp`:
// it is the prefix of the previous threads in the current block.
tmp = OP::identity();
if (threadIdx.x > 0)
tmp = OP::remVolatile(shmem_red[threadIdx.x-1]);
// 7. the prefix of the previous blocks (and iterations) is hold
// in `accum` and is accumulated to `tmp`, which now holds the
// global prefix for the `CHUNK` elements processed by the current thread.
tmp = OP::apply(accum, tmp);
// 8. `accum` is also updated with the reduced result of the current
// iteration, i.e., of the last thread in the block: `shmem_red[blockDim.x-1]`
accum = OP::apply(accum, shmem_red[blockDim.x-1]);
__syncthreads();
// 9. the `tmp` prefix is accumulated to all the `CHUNK` elements
// locally processed by the current thread (i.e., the ones
// in `chunk` array hold in registers).
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
shmem_red[threadIdx.x*CHUNK + i] = OP::apply(tmp, chunk[i]);
}
__syncthreads();
// 5. write back from shared to global memory in coalesced fashion.
copyFromShr2GlbMem<typename OP::RedElTp, CHUNK>
(inp_block_offs+seq, N, d_out, shmem_red);
}
}
/*************************************************/
/*************************************************/
/*** Segmented Inclusive Scan Helpers & Kernel ***/
/*************************************************/
/*************************************************/
/**
* A warp of threads cooperatively segmented-scans with generic-binop
* `OP` a number of warp value-flag elements stored in shared memory
* arrays `ptr` and `flg`, respectively.
* `F` template type is always `char`.
* `OP` is the associative operator of segmented scan.
* `idx` is the local thread index within a cuda block (threadIdx.x)
* No synchronization is needed because the thread in a warp execute
* in lockstep.
* Each thread returns the corresponding scanned element of type
* `ValFlg<typename OP::RedElTp>`
*/
template<class OP, class F>
__device__ inline ValFlg<typename OP::RedElTp>
sgmScanIncWarp(volatile typename OP::RedElTp* ptr, volatile F* flg, const unsigned int idx) {
typedef ValFlg<typename OP::RedElTp> FVTup;
const unsigned int lane = idx & (WARP-1);
// no synchronization needed inside a WARP, i.e., SIMD execution
#pragma unroll
for(uint32_t i=0; i<lgWARP; i++) {
const uint32_t p = (1<<i);
if( lane >= p ) {
if(flg[idx] == 0) { ptr[idx] = OP::apply(ptr[idx-p], ptr[idx]); }
flg[idx] = flg[idx-p] | flg[idx];
} // __syncwarp();
}
F f = flg[idx];
typename OP::RedElTp v = OP::remVolatile(ptr[idx]);
return FVTup( f, v );
}
/**
* A CUDA-block of threads cooperatively perform a segmented scan with
* generic-binop `OP` on a CUDA-block number of elements whose values
* and flags are stored in shared-memory arrays `ptr` and `flg`, respectively.
* `F` template type is always `char`
* `idx` is the local thread index within a cuda block (threadIdx.x)
* Each thread returns the corresponding scanned element of type
* `typename OP::RedElTp`; note that this is NOT published to shared memory!
*/
template<class OP, class F>
__device__ inline ValFlg<typename OP::RedElTp>
sgmScanIncBlock(volatile typename OP::RedElTp* ptr, volatile F* flg, const unsigned int idx) {
typedef ValFlg<typename OP::RedElTp> FVTup;
const unsigned int lane = idx & (WARP-1);
const unsigned int warpid = idx >> lgWARP;
// 1. perform scan at warp level
FVTup res = sgmScanIncWarp<OP,F>(ptr, flg, idx);
__syncthreads();
// 2. if last thread in a warp, record it at the beginning of sh_data
if ( lane == (WARP-1) ) { flg[warpid] = res.f; ptr[warpid] = res.v; }
__syncthreads();
// 3. first warp scans the per warp results (again)
if( warpid == 0 ) sgmScanIncWarp<OP,F>(ptr, flg, idx);
__syncthreads();
// 4. accumulate results from previous step;
if (warpid > 0) {
FVTup prev;
prev.f = (char) flg[warpid-1];
prev.v = OP::remVolatile(ptr[warpid-1]);
res = LiftOP<OP>::apply( prev, res );
}
//__syncthreads();
//flg[idx] = res.f;
//ptr[idx] = res.v;
//__syncthreads();
return res;
}
////////////////////////////////////////////
/**
* Kernel for scanning up to CUDA-block elements using
* CUDA-block threads.
* `N` number of elements to be scanned (N < CUDA-block size)
* `d_vals` is the value array stored in shared memory
* `d_flag` is the flag array stored in shared memory
* This kernel operates in-place, i.e., the input is
* overwritten with the result.
*/
template<class OP>
__global__ void
sgmScan1Block( typename OP::RedElTp* d_vals
, char* d_flag
, uint32_t N
) {
extern __shared__ char sh_mem[];
volatile typename OP::RedElTp* shmem_red = (volatile typename OP::RedElTp*)sh_mem;
volatile char* shmem_flg = (volatile char*)(shmem_red + blockDim.x);
typename OP::RedElTp elm = OP::identity();
char flg = 0;
if(threadIdx.x < N) {
elm = d_vals[threadIdx.x];
flg = d_flag[threadIdx.x];
}
shmem_red[threadIdx.x] = elm;
shmem_flg[threadIdx.x] = flg;
__syncthreads();
ValFlg<typename OP::RedElTp> fv = //(blockDim.x == 32) ?
//sgmScanIncWarp <OP,char>(shmem_red, shmem_flg, threadIdx.x);
sgmScanIncBlock<OP,char>(shmem_red, shmem_flg, threadIdx.x) ;
if (threadIdx.x < N) {
d_vals[threadIdx.x] = fv.v;
d_flag[threadIdx.x] = fv.f;
}
}
/**
* This kernel implements the first stage of a segmented scan.
* In essence, it reduces the elements to tbe processed by the
* current CUDA block (in number of `num_seq_chunks*CHUNK*blockDim.x`).
*
* The implementation is very similar to `redAssocKernel` except for
* the input and result flag arrays `d_flag` and `d_tmp_flag`, and
* for using the extended operator for segmented reduction---that
* works on flag-value pairs---and is implemented by `LiftOP<OP>`
*/
template<class OP, int CHUNK>
__global__ void
redSgmScanKernel( char* d_tmp_flag
, typename OP::RedElTp* d_tmp_vals
, char* d_flag
, typename OP::InpElTp* d_in
, uint32_t N
, uint32_t num_seq_chunks
) {
typedef ValFlg<typename OP::RedElTp> FVTup;
extern __shared__ char sh_mem[];
volatile typename OP::InpElTp* shmem_inp = (typename OP::InpElTp*)sh_mem;
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
FVTup res = LiftOP<OP>::identity();
uint32_t num_elems_per_block = num_seq_chunks * CHUNK * blockDim.x;
uint32_t inp_block_offs = num_elems_per_block * blockIdx.x;
uint32_t num_elems_per_iter = CHUNK * blockDim.x;
// virtualization loop of count `num_seq_chunks`. Each iteration processes
// `blockDim.x * CHUNK` elements, i.e., `CHUNK` elements per thread.
for(int seq=0; seq<num_elems_per_block; seq+=num_elems_per_iter) {
volatile char* shmem_flg = (volatile char*)(shmem_inp + CHUNK*blockDim.x);
// 1. copy `CHUNK` input elements per thread
// from global to shared memory (both values and flags)
copyFromGlb2ShrMem<typename OP::InpElTp, CHUNK>
(inp_block_offs+seq, N, OP::identInp(), d_in, shmem_inp);
copyFromGlb2ShrMem<char, CHUNK>
(inp_block_offs+seq, N, 0, d_flag, shmem_flg);
// 2. each thread sequentially reduces its `CHUNK` elements
FVTup acc = LiftOP<OP>::identity();
uint32_t shmem_offset = threadIdx.x * CHUNK;
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
typename OP::InpElTp elm = shmem_inp[shmem_offset + i];
typename OP::RedElTp red = OP::mapFun(elm);
char flg = shmem_flg[shmem_offset + i];
acc = LiftOP<OP>::apply( acc, FVTup(flg, red) );
}
__syncthreads();
shmem_flg = (volatile char*)(shmem_red + blockDim.x);
// 3. perform an intra-block reduction with the per-thread result
// from step 2. and the last thread updates the per-block result
shmem_red[threadIdx.x] = acc.v;
shmem_flg[threadIdx.x] = acc.f;
__syncthreads();
acc = sgmScanIncBlock<OP,char>(shmem_red, shmem_flg, threadIdx.x);
if (threadIdx.x == blockDim.x-1) {
res = LiftOP<OP>::apply(res, acc);
}
__syncthreads();
}
// 4. publish result in global memory
if (threadIdx.x == blockDim.x-1) {
d_tmp_flag[blockIdx.x] = res.f;
d_tmp_vals[blockIdx.x] = res.v;
}
}
/**
* This kernel assumes that the generic-associative binary operator
* `OP` is NOT-necessarily commutative. It implements the third
* stage of the segmented scan (parallel prefix sum), which scans within
* a block. (The first stage is a per block reduction with the
* `redSgmScanKernel` kernel, and the second one is the `sgmScan1Block`
* kernel that scan in one block the results of the first stage.)
*
* `N` is the length of the input array
* `CHUNK` (the template parameter) is the number of elements to
* be processed sequentially by a thread in one go.
* `num_seq_chunks` is used to sequentialize even more computation,
* such that the number of blocks is <= 1024
* `d_out` is the result array of length `N`
* `d_inp` is the input array of length `N`
* `d_tmp_vals` and `d_tmp_flag` are the arrays holding the per-block
* scanned results (of values and flags), and they have
* number-of-CUDA-blocks elements, i.e., element
* `(d_tmp_flag[i-1], d_tmp_vals[i-1])` is the scanned prefix that
* needs to be accumulated to each of the scanned elements
* corresponding to block `i`.
* This kernels scans the elements corresponding to the current block
* `i`---in number of num_seq_chunks*CHUNK*blockDim.x---and then it
* accumulates to each of them the prefix of the previous block `i-1`.
*
* The implementation is very similar to `scan3rdKernel` kernel.
*/
template<class OP, int CHUNK>
__global__ void
sgmScan3rdKernel ( typename OP::RedElTp* d_out
, typename OP::InpElTp* d_inp
, char* d_flg
, typename OP::RedElTp* d_tmp_vals
, char* d_tmp_flag
, uint32_t N
, uint32_t num_seq_chunks
) {
// datatype for a flag-value pair
typedef ValFlg<typename OP::RedElTp> FVTup;
// externally declared shared memory
extern __shared__ char sh_mem[];
// shared memory for the input and mapped elements; they overlap,
// since they are not to be used in the same time.
volatile typename OP::InpElTp* shmem_inp = (typename OP::InpElTp*)sh_mem;
volatile typename OP::RedElTp* shmem_red = (typename OP::RedElTp*)sh_mem;
uint32_t num_elems_per_block = num_seq_chunks * CHUNK * blockDim.x;
uint32_t inp_block_offs = num_elems_per_block * blockIdx.x;
uint32_t num_elems_per_iter = CHUNK * blockDim.x;
// everybody reads the flag-value prefix corresponding to
// the previous CUDA block if any, which is stored in `acum`.
FVTup accum;
if (blockIdx.x > 0) {
accum.f = d_tmp_flag[blockIdx.x-1];
accum.v = d_tmp_vals[blockIdx.x-1];
} else {
accum = LiftOP<OP>::identity();
}
// register-allocated array for holding the `CHUNK` elements that
// are to be processed sequentially (individually) by each thread.
FVTup chunk[CHUNK];
// virtualization loop of count `num_seq_chunks`. Each iteration processes
// `blockDim.x * CHUNK` elements, i.e., `CHUNK` elements per thread.
for(int seq=0; seq<num_elems_per_block; seq+=num_elems_per_iter) {
volatile char* shmem_flg = (volatile char*)(shmem_inp + CHUNK*blockDim.x);
// 1. copy `CHUNK` input elements per thread from
// global to shared memory in coalesced fashion
copyFromGlb2ShrMem<typename OP::InpElTp, CHUNK>
(inp_block_offs+seq, N, OP::identInp(), d_inp, shmem_inp);
copyFromGlb2ShrMem<char, CHUNK>
(inp_block_offs+seq, N, 0, d_flg, shmem_flg);
// 2. each thread sequentially reduces its `CHUNK` elements,
// the result is stored in `chunk` array (mapped to registers),
// and `tmp` denotes the reduced result.
FVTup tmp = LiftOP<OP>::identity();
uint32_t shmem_offset = threadIdx.x * CHUNK;
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
typename OP::InpElTp elm = shmem_inp[shmem_offset + i];
char flg = shmem_flg[shmem_offset + i];
FVTup red(flg, OP::mapFun(elm));
tmp = LiftOP<OP>::apply(tmp, red);
chunk[i] = tmp;
}
__syncthreads();
// 3. publish in shared memory and perform intra-group scan
shmem_flg = (volatile char*)(shmem_red + blockDim.x);
shmem_red[threadIdx.x] = tmp.v;
shmem_flg[threadIdx.x] = tmp.f;
__syncthreads();
tmp = sgmScanIncBlock<OP,char>(shmem_red, shmem_flg, threadIdx.x);
__syncthreads();
shmem_red[threadIdx.x] = tmp.v;
shmem_flg[threadIdx.x] = tmp.f;
__syncthreads();
// 4. read the previous element and complete the scan in shared memory
tmp = LiftOP<OP>::identity();
if (threadIdx.x > 0) {
tmp.v = OP::remVolatile(shmem_red[threadIdx.x-1]);
tmp.f = shmem_flg[threadIdx.x-1];
}
tmp = LiftOP<OP>::apply(accum, tmp);
for (uint32_t i = 0; i < CHUNK; i++) {
chunk[i] = LiftOP<OP>::apply(tmp, chunk[i]);
}
tmp.f = shmem_flg[blockDim.x-1];
tmp.v = OP::remVolatile(shmem_red[blockDim.x-1]);
accum = LiftOP<OP>::apply(accum, tmp);
__syncthreads();
#pragma unroll
for (uint32_t i = 0; i < CHUNK; i++) {
shmem_red[threadIdx.x*CHUNK + i] = chunk[i].v;
}
__syncthreads();
// 5. write back to global memory in coalesced form
copyFromShr2GlbMem<typename OP::RedElTp, CHUNK>
(inp_block_offs+seq, N, d_out, shmem_red);
}
}
#endif //SCAN_KERS
| [
"francesco.done.11597@gmail.com"
] | francesco.done.11597@gmail.com |
88217c3c98f496ef745809a69e286f4ae3a84c37 | 70d40af8c33e857c4116b80507194c96782e5795 | /include/crypto.hh | 29ad75f8dc8d129fd2aa77db2ddc579624d2e6e7 | [
"BSD-2-Clause"
] | permissive | falconmick/uvgRTP | 071cdd0b19face423b0cd31baba99bc0aa882fc1 | 7e72bdbf3273156911b451acf7aa4ac34e323c90 | refs/heads/master | 2023-01-29T17:24:19.023409 | 2020-12-04T12:57:37 | 2020-12-04T12:57:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,539 | hh | #pragma once
#ifdef __RTP_CRYPTO__
#include <cryptopp/aes.h>
#include <cryptopp/base32.h>
#include <cryptopp/cryptlib.h>
#include <cryptopp/dh.h>
#include <cryptopp/hmac.h>
#include <cryptopp/modes.h>
#include <cryptopp/osrng.h>
#include <cryptopp/sha.h>
#include <cryptopp/crc.h>
#endif
namespace uvg_rtp {
namespace crypto {
/* hash-based message authentication code */
namespace hmac {
class sha1 {
public:
sha1(uint8_t *key, size_t key_size);
~sha1();
void update(uint8_t *data, size_t len);
void final(uint8_t *digest);
/* truncate digest to "size" bytes */
void final(uint8_t *digest, size_t size);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::HMAC<CryptoPP::SHA1> hmac_;
#endif
};
class sha256 {
public:
sha256(uint8_t *key, size_t key_size);
~sha256();
void update(uint8_t *data, size_t len);
void final(uint8_t *digest);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::HMAC<CryptoPP::SHA256> hmac_;
#endif
};
};
class sha256 {
public:
sha256();
~sha256();
void update(uint8_t *data, size_t len);
void final(uint8_t *digest);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::SHA256 sha_;
#endif
};
namespace aes {
class ecb {
public:
ecb(uint8_t *key, size_t key_size);
~ecb();
void encrypt(uint8_t *output, uint8_t *input, size_t len);
void decrypt(uint8_t *output, uint8_t *input, size_t len);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::ECB_Mode<CryptoPP::AES>::Encryption enc_;
CryptoPP::ECB_Mode<CryptoPP::AES>::Decryption dec_;
#endif
};
class cfb {
public:
cfb(uint8_t *key, size_t key_size, uint8_t *iv);
~cfb();
void encrypt(uint8_t *output, uint8_t *input, size_t len);
void decrypt(uint8_t *output, uint8_t *input, size_t len);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::CFB_Mode<CryptoPP::AES>::Encryption enc_;
CryptoPP::CFB_Mode<CryptoPP::AES>::Decryption dec_;
#endif
};
class ctr {
public:
ctr(uint8_t *key, size_t key_size, uint8_t *iv);
~ctr();
void encrypt(uint8_t *output, uint8_t *input, size_t len);
void decrypt(uint8_t *output, uint8_t *input, size_t len);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption enc_;
CryptoPP::CTR_Mode<CryptoPP::AES>::Decryption dec_;
#endif
};
};
/* diffie-hellman key derivation, 3072-bits */
class dh {
public:
dh();
~dh();
/* TODO: */
void generate_keys();
/* TODO: */
void get_pk(uint8_t *pk, size_t len);
/* TODO: */
void set_remote_pk(uint8_t *pk, size_t len);
/* TODO: */
void get_shared_secret(uint8_t *ss, size_t len);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::AutoSeededRandomPool prng_;
CryptoPP::DH dh_;
CryptoPP::Integer sk_, pk_, rpk_;
#endif
};
/* base32 */
class b32 {
public:
b32();
~b32();
void encode(uint8_t *input, uint8_t *output, size_t len);
private:
#ifdef __RTP_CRYPTO__
CryptoPP::Base32Encoder enc_;
#endif
};
namespace random {
void generate_random(uint8_t *out, size_t len);
};
namespace crc32 {
void get_crc32(uint8_t *input, size_t len, uint32_t *output);
bool verify_crc32(uint8_t *input, size_t len, uint32_t old_crc);
uint32_t calculate_crc32(uint8_t *input, size_t len);
};
bool enabled();
};
};
| [
"aaro.altonen@tuni.fi"
] | aaro.altonen@tuni.fi |
7cd20a43de1a38420486dec5af6ced4662e8a8de | 3b39a80436aef1ebaf62a9374ec96695e2fe3528 | /Shader.h | 856aa75fc1eef505cf516a5612aad61f1eddd479 | [] | no_license | Rahul-K-A/ProceduralTerrainGeneration | 60836a33f4212fe3232a684ad79b7e946adb33ef | 70703e6115f1c3f878f27c042a3bee0b10d7148f | refs/heads/main | 2023-06-15T04:37:20.815737 | 2021-07-13T21:41:20 | 2021-07-13T21:41:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | h | #pragma once
#include "GL/glew.h"
#include <iostream>
#include <string>
#include <fstream>
#include "DirectionalLight.h"
class Shader
{
public:
//Constructor
Shader();
//Destructor
~Shader();
//Creates Shader from string
void CreateShadersFromText(const char* vShaderCode, const char* fShaderCode);
//Creates shaders from files
void CreateShadersFromFiles(const char* vShaderPath, const char* fShaderPath);
//Reads the shader file and returns cpp string
std::string ReadFile(const char* FilePath);
//Enables the shader during rendering
void EnableShader();
//Disables the shader.THIS MUST BE CALLED AT THE END OF EACH RENDER LOOP.
void DisableShader();
//Completely clears the shader
void ClearShaders();
//Attaches a directional light to the shader to pass information
void SetDirectionalLight(DirectionalLight* TheLight);
//Enables the information in the directional light to be passed on to shader during rendering
void EnableDirectionalLight();
//Returns Uniform variable Model location ID
GLuint GetUniformModel();
//Returns uniform variable projection location ID
GLuint GetUniformProjection();
//Returns uniform variable view location ID
GLuint GetUniformView();
//Returns uniform variable ambient light colour ID
GLuint GetUniformAmbientLightColour();
//Returns uniform variable ambient light intensity ID
GLuint GetUniformAmbientLightIntensity();
//Returns uniform variable diffuse light direction ID
GLuint GetUniformDiffuseDirection();
//Returns uniform variable diffuse light intensity ID
GLuint GetUniformDiffuseIntensity();
//Returns uniform variable specular intensity ID
GLuint GetUniformSpecularIntensity();
//Returns uniform variable specular shininess intensity ID
GLuint GetUniformSpecularShininess();
//Returns uniform variable camera view ID
GLuint GetUniformCameraPosition();
GLuint GetUniformMaxHeight();
private:
//Actually the program id to which the shaders are linked to
GLuint ShaderId;
//Uniform variable Model location ID
GLuint UniformModel;
//Uniform variable projection location ID.Used to set whether projection is orthographic or perspective projection.
GLuint UniformProjection;
//User's perspective (not the projection,this is their POV) uniform location ID
GLuint UniformView;
//Specular intensity uniform location ID
GLuint UniformSpecularIntensity;
//Specular shininess uniform location ID
GLuint UniformSpecularShininess;
//User's camera position uniform location ID
GLuint UniformCameraPosition;
//Number of point lights uniform location ID
GLuint UniformPointLightCount;
//Number of spot lights uniform location ID
GLuint UniformSpotLightCount;
GLuint UniformMaxTerrainHeight;
struct DirectionalLightUniformVars {
GLuint UniformAmbientLightColour;
GLuint UniformAmbientLightIntensity;
GLuint UniformDiffuseDirection;
GLuint UniformDiffuseIntensity;
} DirectionalLightUniformContainer;
//Pointer to directional light
DirectionalLight* dLight;
//Adds the shader to the program
GLuint AddShader(GLuint TheProgram, const char* ShaderCode, GLenum ShaderType);
//Compiles the shader
void CompileShaders(const char* vShaderCode, const char* fShaderCode);
};
| [
"karahul209@gmail.com"
] | karahul209@gmail.com |
f377f1d780106e2585c800970de64569eafb9155 | 187fc0da96839af8bdc86e24bbbd32335e045a24 | /CodeCacheDetectionByCode/CodeCacheDetectionByCode.cpp | 92157ede70eb32914a9f4c76d4f0ec17ee3bd1fc | [] | no_license | ailton07/ActiveDetectionPinWithCodeCache | ffd78ce420c9685dbfd7f51f9992bdddd6149c73 | f12aa3ec7388e586cdf18bf66c9a65c1edc9cde9 | refs/heads/master | 2021-01-20T00:21:32.396508 | 2017-05-12T03:37:35 | 2017-05-12T03:37:35 | 89,117,281 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,021 | cpp | // CodeCacheDetectionByCode.cpp : Defines the entry point for the console application.
//
// WinDBG
// pin.exe -- F:\Binarios\CodeCacheDetectionByCode.exe
// No x32dbg
// findallmem 01211000,90 90 50 58
// s - b 0 L ? 80000000 90 90 50 58
#include<stdlib.h>
#include "stdio.h"
// Origem: https://msdn.microsoft.com/pt-br/library/s58ftw19.aspx
#include <windows.h> // for EXCEPTION_ACCESS_VIOLATION
#include <excpt.h>
#define _CRT_SECURE_NO_WARNINGS
#define UNINITIALIZED 0xFFFFFFFF
#include <iostream>
#include <iomanip>
#include <Windows.h>
#include <vector>
#include <TlHelp32.h> //PROCESSENTRY
// #include "MemUpdateMapInformations.h" vs #include <MemUpdateMapInformations.h>
// http://stackoverflow.com/a/7790180
#include "MemUpdateMapInformations.h"
#include <string.h>
// De acordo com:
// https://www.blackhat.com/docs/asia-16/materials/asia-16-Sun-Break-Out-Of-The-Truman-Show-Active-Detection-And-Escape-Of-Dynamic-Binary-Instrumentation.pdf
// Signature can be certain code or data
#define padrao 1
void test()
{
// Padrao default
#ifndef padrao
__asm {
nop
nop
push eax
pop eax
}
#endif
// Padrao 1
#ifdef padrao
__asm {
// Operacoes com o registrador EBX sao reescritas pelo PIN
// mov ebx,0x12345678
mov eax,0x12345678
}
#endif
printf("\ntest() address: %x\n", &test);
printf("\nExecutou instrucoes asm\n");
}
unsigned char* search(int startAddress, int endAddress)
{
unsigned char* data;
int sig_count = 0;
int j = 0;
int address = startAddress;
data = (unsigned char*)address;
// printf("0x%x\n",data);
while(data < (unsigned char*)endAddress) {
__try {
#ifndef padrao
if (data[0] == 0x90 &&
data[1] == 0x90 &&
data[2] == 0x50 &&
data[3] == 0x58)
#endif
#ifdef padrao
// if (data[0] == 0xBB &&
if (data[0] == 0xB8 &&
data[1] == 0x78 &&
data[2] == 0x56 &&
data[3] == 0x34 &&
data[4] == 0x12 )
#endif
{
printf("\nAchou padrao asm, @ 0x%x\n", data);
sig_count++;
return data;
break;
}
else {
// http://stackoverflow.com/a/7319450
#ifndef padrao
unsigned char* data_ = (unsigned char*) memchr((const void*)(data + 1), 0x9090, endAddress - startAddress);
#endif
#ifdef padrao
// 0x5678 Aparece invertido, ja que buscamos 0x7856
unsigned char* data_ = (unsigned char*) memchr((const void*)(data + 1), 0x5678B8, endAddress - startAddress);
#endif
if (data_ == 0)
return 0;
else if(data == data_)
return 0;
else
data = data_;
}
}
//__except (filter(GetExceptionCode(), GetExceptionInformation())) {
// Referencias: https://msdn.microsoft.com/pt-br/library/zazxh1a9.aspx
// __except (puts("in filter"), EXCEPTION_EXECUTE_HANDLER) {
__except (EXCEPTION_EXECUTE_HANDLER) {
return 0;
continue;
}
// for
}
return 0;
}
unsigned char* search(int startAddress)
{
unsigned char* data;
int sig_count = 0;
int j = 0;
int address = startAddress;
int endAddress = 0x80000000 ;
data = (unsigned char*)address;
while(data < (unsigned char*)endAddress) {
__try {
#ifndef padrao
if (data[0] == 0x90 &&
data[1] == 0x90 &&
data[2] == 0x50 &&
data[3] == 0x58)
#endif
#ifdef padrao
//if (data[0] == 0xBB &&
if (data[0] == 0xB8 &&
data[1] == 0x78 &&
data[2] == 0x56 &&
data[3] == 0x34 &&
data[4] == 0x12 )
#endif
{
printf("\nAchou padrao asm, @ 0x%x\n", data);
sig_count++;
return data;
}
else {
// http://stackoverflow.com/a/7319450
#ifndef padrao
unsigned char* data_ = (unsigned char*) memchr((const void*)(data + 1), 0x9090, endAddress - startAddress);
#endif
#ifdef padrao
// 0x5678 Aparece invertido, ja que buscamos 0x7856
unsigned char* data_ = (unsigned char*) memchr((const void*)(data + 1), 0x5678B8, endAddress - startAddress);
#endif
if (data_ == 0)
return 0;
else if(data == data_)
return 0;
else
data = data_;
}
}
//__except (filter(GetExceptionCode(), GetExceptionInformation())) {
// Referencias: https://msdn.microsoft.com/pt-br/library/zazxh1a9.aspx
// __except (puts("in filter"), EXCEPTION_EXECUTE_HANDLER) {
__except (EXCEPTION_EXECUTE_HANDLER) {
continue;
}
} // for
return 0;
}
void printMemoryInformations (std::vector<MEMPAGE> pageVector, int pageCount)
{
char curMod[MAX_MODULE_SIZE] = "";
for(int i = pageCount - 1; i > -1; i--)
{
auto & currentPage = pageVector.at(i);
if(!currentPage.info[0]) //there is a module
continue; //skip non-modules
strcpy(curMod, pageVector.at(i).info);
printf("Informacoes da pagina %d : %s\t", i, curMod);
DWORD newAddress = DWORD(currentPage.mbi.BaseAddress) + currentPage.mbi.RegionSize;
printf("Tamanho: 0x%x\t", currentPage.mbi.RegionSize);
printf("End Address 0x%x\n", newAddress);
}
system("pause");
}
// Padrao 0: 90 90 50 58
// NOP
// NOP
// push eax
// pop eax
// Padrao 1: 78 56 34 12
// mov ebx,0x12345678
int main(int argc, char** argv)
{
unsigned char* primeiraOcorrenciaAddress = 0;
unsigned char* segundaOcorrenciaAddress = 0;
int (*ptTest)() = NULL;
printf("Start ? \n\n");
system("pause");
test();
ptTest = (int(*)())&test;
printf("Executou test(); Continuar ? \n");
system("pause");
primeiraOcorrenciaAddress = search((int)ptTest);
printf("Endereco primeira ocorrencia: %x\n", primeiraOcorrenciaAddress);
system("pause");
std::vector<MEMPAGE> pageVector = GetPageVector();
// std::vector<MEMPAGE> pageVector = GetPageCodeCacheVector();
int pagecount = (int)pageVector.size();
printf("pagecount = %d\n", pagecount);
// printMemoryInformations (pageVector, pagecount);
// alteraPemissoesPaginas(pageVector, pagecount);
for(int i = 0; i < pagecount -1; i++)
{
auto & currentPage = pageVector.at(i);
if(!currentPage.info[0]) //there is a module
continue; //skip non-modules
DWORD endAddress = DWORD(currentPage.mbi.BaseAddress) + currentPage.mbi.RegionSize;
segundaOcorrenciaAddress = search((int)(currentPage.mbi.BaseAddress), (int)endAddress);
if (segundaOcorrenciaAddress != 0 )
{
printf("Endereco segunda ocorrencia: %x\n", segundaOcorrenciaAddress);
break;
}
}
if (segundaOcorrenciaAddress == 0 )
{
printf("\nSegunda ocorrencia nao foi localizada\n");
}
system("pause");
// Metodo lento
/*segundaOcorrenciaAddress = search((int)(0x3000000 + primeiraOcorrenciaAddress));
printf("Endereco segunda ocorrencia: %x\n", segundaOcorrenciaAddress);
system("pause");*/
return 0;
}
// LEGACY
//int filter(unsigned int code, struct _EXCEPTION_POINTERS *ep) {
// // puts("in filter.");
// if (code == EXCEPTION_ACCESS_VIOLATION) {
// // puts("caught AV as expected.");
// return EXCEPTION_EXECUTE_HANDLER;
// }
// else {
// // puts("didn't catch AV, unexpected.");
// return EXCEPTION_CONTINUE_SEARCH;
// };
//}
//
//unsigned char* search(int startAddress)
//{
// unsigned char* data;
// int sig_count = 0;
// int j = 0;
//
// int address = startAddress;
// data = (unsigned char*)address;
//
// // for (j = address; j < 0xfffffff; j++) {
// for (j = address; j<0x80000000; j++) {
// __try {
// data = (unsigned char*)(j);
// printf("\nTentando para, @ 0x%x\n", j);
// printf("\nData: @ 0x%x%x%x%x\n", data[0], data[1], data[2], data[3]);
//
// /*if (data[0] == 0x90 &&
// data[1] == 0x90 &&
// data[2] == 0x50 &&
// data[3] == 0x58)*/
// #ifdef padrao
// if (data[0] == 0xBB &&
// data[1] == 0x78 &&
// data[2] == 0x56 &&
// data[3] == 0x34 &&
// data[4] == 0x12 )
// #endif
// {
// printf("\nAchou padrao asm, @ 0x%x\n", data);
// sig_count++;
// return data;
// break;
// }
// else {
// //address= address + j;
// data = (unsigned char*)(address + j);
// }
// }
// //__except (filter(GetExceptionCode(), GetExceptionInformation())) {
// // Referencias: https://msdn.microsoft.com/pt-br/library/zazxh1a9.aspx
// // __except (puts("in filter"), EXCEPTION_EXECUTE_HANDLER) {
// __except (EXCEPTION_EXECUTE_HANDLER) {
// continue;
// }
//
// } // for
// return 0;
//}
//bool runVirtualProtect(MEMPAGE currentPage, DWORD * oldProtect)
//{
// bool retorno = false;
// __try {
// retorno = VirtualProtect(currentPage.mbi.BaseAddress, currentPage.mbi.RegionSize, PAGE_EXECUTE_READ, oldProtect);
// }
// __except (EXCEPTION_EXECUTE_HANDLER) {
// // __except (EXCEPTION_CONTINUE_EXECUTION) {
// //continue;
// // runVirtualProtect(currentPage, oldProtect);
// // return retorno;
// }
//
// return retorno;
//}
//
//// VirtualProtect
//// https://msdn.microsoft.com/en-us/library/aa366898(VS.85).aspx
//void alteraPemissoesPaginas(std::vector<MEMPAGE> pageVector, int pageCount)
//{
// // for(int i = pageCount - 1; i > -1; i--)
// for(int i = 0; i < pageCount - 1 -1; i++)
// // for(int i = 0; i < 3; i++)
// // for(int i = 0; i < 2; i++)
// {
// // unsigned long oldProtect
// DWORD oldProtect = 0;
// bool isOk = false;
//
// char curMod[MAX_MODULE_SIZE] = "";
//
// auto & currentPage = pageVector.at(i);
// if(!currentPage.info[0]) //there is a module
// continue; //skip non-modules
// if (currentPage.mbi.RegionSize != 0x40000)
// continue; //skip
//
// strcpy(curMod, pageVector.at(i).info);
// printf("Informacoes da pagina %d : %s\t", i, curMod);
// DWORD newAddress = DWORD(currentPage.mbi.BaseAddress) + currentPage.mbi.RegionSize;
// printf("Tamanho: 0x%x\t", currentPage.mbi.RegionSize);
// printf("End Address 0x%x\n", newAddress);
//
// // Chamada a Virtual Protect foi removida daqui pra evitar o bug descrito em:
// // https://msdn.microsoft.com/en-us/library/xwtb73ad(v=vs.100).aspx
// // isOk = VirtualProtect(currentPage.mbi.BaseAddress, currentPage.mbi.RegionSize, PAGE_EXECUTE_READ, &oldProtect);
// isOk = runVirtualProtect(currentPage, &oldProtect);
//
// if( !isOk ) {
// printf("Falha ao chamar VirtualProtect\n");
// }
// }
//
// system("pause");
//} | [
"ailton07@yahoo.com.br"
] | ailton07@yahoo.com.br |
7575e4184c8894160c7c37b362f49bacc550239c | 1f8f6ed31f3403cea445c5a53bd54afe5f39a5c6 | /lab02/htmlDecode/main.cpp | 2430ab97016aca8c6d70d2ae8aa63ea606632077 | [] | no_license | anastasija-stepanova/oop | 4dde6a59460a9c556a58b261d81392194a9c87ae | b84b500ffba823ff481f4c60c4a5ad8de3d83383 | refs/heads/master | 2018-09-30T17:08:51.759716 | 2018-06-18T07:14:58 | 2018-06-18T07:14:58 | 120,501,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include "stdafx.h"
#include "htmlDecode.h"
using namespace std;
void DecodeHtmlDocument(istream &input, ostream &output)
{
string htmlLine;
while (getline(input, htmlLine))
{
output << HtmlDecode(htmlLine) << endl;
}
}
int _tmain()
{
DecodeHtmlDocument(cin, cout);
return 0;
}
| [
"nastyaaa19980@gmail.com"
] | nastyaaa19980@gmail.com |
42eefa2cf3dc3f7021a01f446ef02bbbea085f92 | 8f0061102767bdedad23588bf8553f5ffd1f5ca5 | /lab1/main.cpp | 5247afe493d47ab121d6cd147bee8e2eabd2d12b | [] | no_license | marco-ballario/pds-malnati-labs | 262411dde28b03f3f7a6ca7ac38add053c84a0b1 | 5ca08c44027192eaeb862d98557935c6a4d4df6b | refs/heads/main | 2023-06-01T14:07:08.924363 | 2021-06-14T09:07:07 | 2021-06-14T09:08:38 | 374,070,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,405 | cpp | #include <iostream>
#include <tuple>
#include "Message.h"
#include "DurationLogger.h"
#include "MessageStore.h"
void testMethods();
void testDefaultConstructor();
void testMyConstructor();
void testCopyConstructor();
void testMovementConstructor();
void testCopyOperator();
void testMovementOperator();
void questions();
void time();
void testMessageStore();
void testReallocation();
int main() {
//testMethods();
//questions();
//time();
//testMessageStore();
//std::cout << "Numero istanze oggetti Messagge: " << Message::num_instances << std::endl;
testReallocation();
std::cout << "Numero istanze oggetti Messagge: " << Message::num_instances << std::endl;
return 0;
}
void testMethods(){
testDefaultConstructor();
testMyConstructor();
testCopyConstructor();
testMovementConstructor();
testCopyOperator();
testMovementOperator();
}
void testDefaultConstructor() {
std::cout << "=====testDefaultConstructor()=====" << std::endl;
Message m;
std::cout << "m: " << m << std::endl;
}
void testMyConstructor() {
std::cout << "=====testMyConstructor()=====" << std::endl;
Message m(10);
std::cout << "m: " << m << std::endl;
}
void testCopyConstructor() {
std::cout << "=====testCopyConstructor()=====" << std::endl;
Message m1{10};
Message m2{m1};
std::cout << "m1: " << m1 << std::endl << "m2: " << m2 << std::endl;
}
void testMovementConstructor() {
std::cout << "=====testMovementConstructor()=====" << std::endl;
Message m1{10};
Message m2 = std::move(m1);
std::cout << "m1: " << m1 << std::endl << "m2: " << m2 << std::endl;
}
void testCopyOperator() {
std::cout << "=====testCopyOperator()=====" << std::endl;
Message m1(10);
Message m2;
m2 = m1;
std::cout << m1 << std::endl << m2 << std::endl;
}
void testMovementOperator() {
std::cout << "=====testMovementOperator()=====" << std::endl;
Message m1(10);
Message m2;
m2 = std::move(m1);
std::cout << m1 << std::endl << m2 << std::endl;
}
void questions() {
std::cout << "=====questions()=====" << std::endl;
// invoca costruttore vuoto in entrambi i casi
Message buff1[10]; // crea oggetti nello stack
Message *buff2 = new Message[10]; // crea oggetti nello heap
delete[] buff2; // libera oggetti dallo heap
// libera oggetti dallo stack automaticamente alla fine
// se assegno un nuovo messaggio al primo elemento dell'array
// 1) viene chiamato il costruttore di messaggio
// 2) viene chiamato l'operatore di movimento
// 3) la stringa destinazione viene deallocata e sostituita con quella nuova
// 4) la stringa sorgente ora è nullprt
// 5) al termine del programma tutti i messaggi sono distrutti
buff1[0] = Message(100);
// senza costruttore di default la compilazione fallisce
// non posso creare un array di messaggi né nello stack né nello heap
// mi vengono suggeriti metodi alternativi presenti nella classe
// se rimuovo i tutti i costruttori il compilatore provvede a creare un costruttore di default
// il compilatore fornisce un costruttore di default
// solo se il programmatore non ha fornito NESSUN costruttore
// La presenza di un costruttore scritto dal programmatore causa
// la non generazione del costruttore di default da parte del compilatore
// con costruttore di default privato la compilazione fallisce
// non posso creare un array di messaggi né nello stack né nello heap
// mi viene segnalato che il costruttore di default è privato
// senza ridefinire gli operatori di movimento e copia l'esempio non funziona
// se non sono stati definiti dal programmatore
// 1) costruttori di copia
// 2) costruttori di movimento
// 3) operatori di assegnamento per copia
// 4) distruttori
// allora il compilatore dichiara il proprio operatore di assegnamento per movimento
// senza operatore di movimento prova usa l'operatore di copia
}
void time() {
DurationLogger dl("time()");
std::cout << "=====time()=====" << std::endl;
std::cout << "dimensione char: " << sizeof(char) << std::endl; // 1 char è 1 byte
Message buff1[10];
for(int i=0; i<10; i++){
buff1[i] = std::move(Message(1024*1024));
}
}
void testMessageStore() {
std::cout << "=====testMessageStore()=====" << std::endl;
std::cout << "1) Creo un oggetto MessageStore" << std::endl;
MessageStore ms(2); // oggetto creato nello stack
std::cout << "2) Creo oggetto Message da aggiungere" << std::endl;
Message *m1 = new Message(5);
std::cout << "3) Aggiungo un oggetto Message all'oggetto MessageStore" << std::endl;
ms.add(*m1);
std::cout << "4) Cancello oggetto Message aggiunto" << std::endl;
delete m1;
{
std::cout << "5) Cerco oggetto Message nell'oggetto MessageStore" << std::endl;
auto resOpt = ms.get(0); // ritorna una copia del messaggio nello stack
if (resOpt) {
std::cout << "Messaggio trovato: " << *resOpt << std::endl;
} else {
std::cout << "Messaggio non trovato!" << std::endl;
}
}
std::cout << "6) Rimuovo oggetto Message dall'oggetto MessageStore" << std::endl;
ms.remove(0);
std::cout << "7) Analizzo lo stato del vettore interno a MessageStore" << std::endl;
auto [ num_messages, num_spaces ] = ms.stats();
std::cout << "Messaggi: " << num_messages << ", spazi: " << num_spaces << std::endl;
std::cout << "8) Libero stack" << std::endl;
}
void testReallocation(){
std::cout << "=====testReallocation()=====" << std::endl;
MessageStore ms(100); // oggetto creato nello stack
for(int i=0; i<100; i++){
Message *m = new Message(1024*1024);
ms.add(*m);
delete m;
}
std::cout << "CARICAMENTO 100 MESSAGGI" << std::endl;
auto [ num_messages, num_spaces ] = ms.stats();
std::cout << "Messaggi: " << num_messages << ", spazi: " << num_spaces << std::endl;
for(int i=0; i<100; i++){
if(i%2 == 0){
ms.remove(i);
}
}
std::cout << "RIMOZIONE 50 MESSAGGI" << std::endl;
auto statistics = ms.stats();
std::cout << "Messaggi: " << std::get<0>(statistics) << ", spazi: " << std::get<1>(statistics) << std::endl;
std::cout << "ORA COMPATTO I MESSAGGI" << std::endl;
ms.compact();
} | [
"marco.ballario1997@gmail.com"
] | marco.ballario1997@gmail.com |
ae2214b4e5cfa5f6bb3c3c31910c4ef2a7536023 | 2f81f121d015e18d52b77b84481d80dd96fc814b | /prototypev1/PhysicalBox.cpp | 704085299ea93dfe1d8488e1519ebd11492d62c8 | [] | no_license | larryxiao/VecGeom | 55903bf01a02eae284568bbe24c41a42f924b6ab | 921797e70bc972392df4aac6115e5009e1b8c3fa | refs/heads/master | 2021-01-22T11:16:20.146358 | 2014-03-03T14:00:13 | 2014-03-06T22:06:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | /*
* PhysicalBox.cpp
*
* Created on: Nov 8, 2013
* Author: swenzel
*/
#include <iostream>
#include "PhysicalBox.h"
void BoxParameters::inspect() const
{
std::cout << " This is a box " << std::endl;
std::cout << " dX : " << dX << std::endl;
std::cout << " dY : " << dY << std::endl;
std::cout << " dZ : " << dZ << std::endl;
}
| [
"sandro.wenzel@cern.ch"
] | sandro.wenzel@cern.ch |
bf11cd99888eb87cb1c92f2eecb93822ae54bfc8 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /public/g15/ig15.h | 51b77b70e9b53c1b275982ad72589b1d31bb3f96 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | WINDOWS-1252 | C++ | false | false | 1,503 | h | //====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#ifndef IG15_H
#define IG15_H
#ifdef _WIN32
#pragma once
#endif
typedef void * G15_HANDLE;
typedef enum
{
G15_BUTTON_1, G15_BUTTON_2, G15_BUTTON_3, G15_BUTTON_4
} G15SoftButton;
typedef enum
{
G15_SMALL, G15_MEDIUM, G15_BIG
} G15TextSize;
typedef enum
{
G15_SCROLLING_TEXT, G15_STATIC_TEXT, G15_ICON, G15_PROGRESS_BAR, G15_UNKNOWN
} G15ObjectType;
class IG15
{
public:
virtual void GetLCDSize( int &w, int &h ) = 0;
// w, h should match the return value from GetLCDSize!!!
// Creates the underlying object
virtual bool Init( char const *name ) = 0;
// Destroys the underlying object
virtual void Shutdown() = 0;
virtual bool IsConnected() = 0;
// Add/remove
virtual G15_HANDLE AddText(G15ObjectType type, G15TextSize size, int alignment, int maxLengthPixels) = 0;
virtual G15_HANDLE AddIcon( void *icon, int sizeX, int sizeY) = 0;
virtual void RemoveAndDestroyObject( G15_HANDLE hObject ) = 0;
// Change
virtual int SetText(G15_HANDLE handle, char const * text) = 0;
virtual int SetOrigin(G15_HANDLE handle, int x, int y) = 0;
virtual int SetVisible(G15_HANDLE handle, bool visible) = 0;
virtual bool ButtonTriggered(int button) = 0;
virtual void UpdateLCD( unsigned int dwTimestamp) = 0;
};
#define G15_INTERFACE_VERSION "G15_INTERFACE_VERSION001"
#endif // IG15_H
| [
"bernta1@msn.com"
] | bernta1@msn.com |
97b4df2f4c4fbe8fb58e8e6ff21e409e1bc47ee1 | b2d00dd254d83ef2b3baa825e8c4c339af428868 | /opengl_texmap/mp3.cpp | a8f7045d794ea56702213827980d1e1fef61c40c | [
"MIT"
] | permissive | srujun/cs418 | 6d55d70b965825a04a84b1333a91b005846a4f51 | e459c4ed680082ada26aa0fd949d8994701ce629 | refs/heads/master | 2021-03-08T19:36:10.346645 | 2016-04-23T06:06:09 | 2016-04-23T06:06:09 | 56,903,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,586 | cpp | #include <cstdlib>
#include <iostream>
#include <string>
#include <GL/gl.h>
#include <GL/freeglut.h>
#include "mp3.h"
Teapot * teapot;
Image * texture_map;
Image * env_map;
GLuint texmapID;
GLuint envmapID;
// Keyboard Toggles
enum DisplayMode
{
solid, texture, environment
};
bool displayMesh = false;
bool lightsOn = true;
DisplayMode mode = solid;
// View Variables
float rotAngle = 0.0f;
int nFPS = 30;
// Materials
GLfloat mat_ambient[] = { 1.0f, 0.3f, 0.0f, 1.0f };
GLfloat mat_diffuse[] = { 0.8, 0.8, 0.8, 1.0 };
GLfloat mat_specular[] = { 0.6f, 0.6f, 0.6f, 1.0 };
GLfloat mat_shininess[] = { 20.0 };
GLfloat mat_ambient_tex[] = { 0.8f, 0.8f, 1.0f, 1.0f };
GLfloat mat_diffuse_tex[] = { 1.0f, 1.0f, 1.0f, 1.0f };
GLfloat mat_specular_tex[] = { 0.8f, 0.8f, 1.0f, 1.0f };
GLfloat mat_shininess_tex[] = { 5.0 };
// LIGHTS!!! :)
GLfloat light_ambient[] = { 0.3, 0.3, 0.3, 1.0 };
GLfloat light_diffuse[] = { 0.7, 0.5, 0.1, 1.0 };
GLfloat light_specular[] = { 0.2, 0.2, 0.2, 1.0 };
GLfloat light_position[] = { -3.0, 3.0, 6.0, 0.0 };
void loadTextureMap()
{
// generate and bind enviroment map
glBindTexture(GL_TEXTURE_2D, texmapID);
// Set the texture parameters
glEnable(GL_TEXTURE_2D);
// linear interpolation of pixel data
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
// modulate, so we can merge the lights with the model texture
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);
// set other params
glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR);
glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
// set the environment texture's image
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
texture_map->getWidth(), texture_map->getHeight(),
0, GL_RGBA, GL_UNSIGNED_BYTE, texture_map->getBytes());
}
void loadEnviromentMap()
{
// generate and bind enviroment map
glBindTexture(GL_TEXTURE_2D, envmapID);
// set environment map parameters
glEnable(GL_TEXTURE_2D);
// linear interpolation of pixel data
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
// set texture generation mode to sphere map
glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP);
glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP);
glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);
// set other params
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
// set the environment texture's image
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
env_map->getWidth(), env_map->getHeight(),
0, GL_RGBA, GL_UNSIGNED_BYTE, env_map->getBytes());
}
void init(string objfile, string texmapfile, string envmapfile)
{
// init your data, setup OpenGL environment here
glClearColor(0.2, 0.2, 0.2, 1.0); // clear color is gray
glPointSize(4.0);
// assign the teapot model's material
glMaterialfv(GL_FRONT, GL_AMBIENT, mat_ambient);
glMaterialfv(GL_FRONT, GL_DIFFUSE, mat_diffuse);
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular);
glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess);
// assign the light's ambient, diffuse, specular and position values
glLightfv(GL_LIGHT0, GL_AMBIENT, light_ambient);
glLightfv(GL_LIGHT0, GL_DIFFUSE, light_diffuse);
glLightfv(GL_LIGHT0, GL_SPECULAR, light_specular);
glLightfv(GL_LIGHT0, GL_POSITION, light_position);
// enable lighting
glEnable(GL_LIGHT0);
glEnable(GL_LIGHTING);
// enable hidden surface calculation using z-buffers
glEnable(GL_DEPTH_TEST);
cout << "Creating Teapot in memory..." << endl;
teapot = new Teapot(objfile);
cout << "Teapot memory allocated." << endl;
texture_map = new Image(texmapfile);
env_map = new Image(envmapfile);
// generate texture names
glGenTextures(1, &texmapID);
glGenTextures(1, &envmapID);
cout << "Texture and Environment maps loaded." << endl;
}
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// set whether mesh is displayed or not
if(displayMesh)
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
else
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
gluLookAt(3.0f, 5.0f, 3.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f);
glRotatef(rotAngle, 0.f, 1.f, 0.f);
// Draw the Teapot Model
// We will loop through each face and draw the triangle
// formed by that face's 3 vertices
for(unsigned int i = 0; i < teapot->faces.size(); i++)
{
glBegin(GL_TRIANGLES);
// get the current face
Face f = teapot->faces[i];
// get this face's 3 vertices, and the respective vertex-normals
// also convert the vertices to cylindrical coordinates
Vertex vert0 = teapot->vertices[f.vidx0];
Vertex vert0cy = vert0.getCylindrical(teapot->maxYval);
Point3D norm0 = teapot->vertexNormals[f.vidx0];
Vertex vert1 = teapot->vertices[f.vidx1];
Vertex vert1cy = vert1.getCylindrical(teapot->maxYval);
Point3D norm1 = teapot->vertexNormals[f.vidx1];
Vertex vert2 = teapot->vertices[f.vidx2];
Vertex vert2cy = vert2.getCylindrical(teapot->maxYval);
Point3D norm2 = teapot->vertexNormals[f.vidx2];
if(mode == texture)
{
glTexCoord2f(vert0cy.x, vert0cy.y);
glTexCoord2f(vert1cy.x, vert1cy.y);
glTexCoord2f(vert2cy.x, vert2cy.y);
}
// specify the the normal first, then the vertex
glNormal3f(norm0.x, norm0.y, norm0.z);
glVertex3f(vert0.x, vert0.y, vert0.z);
glNormal3f(norm1.x, norm1.y, norm1.z);
glVertex3f(vert1.x, vert1.y, vert1.z);
glNormal3f(norm2.x, norm2.y, norm2.z);
glVertex3f(vert2.x, vert2.y, vert2.z);
glEnd();
}
// enable/disable the lights as specified
if(lightsOn)
glEnable(GL_LIGHT0);
else
glDisable(GL_LIGHT0);
if(mode == solid)
{
glMaterialfv(GL_FRONT, GL_AMBIENT, mat_ambient);
glMaterialfv(GL_FRONT, GL_DIFFUSE, mat_diffuse);
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular);
glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess);
glDisable(GL_TEXTURE_2D);
}
else if(mode == texture)
{
glMaterialfv(GL_FRONT, GL_AMBIENT, mat_ambient_tex);
glMaterialfv(GL_FRONT, GL_DIFFUSE, mat_diffuse_tex);
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular_tex);
glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess_tex);
// load the texture map
loadTextureMap();
}
else if(mode == environment)
{
glMaterialfv(GL_FRONT, GL_AMBIENT, mat_ambient_tex);
glMaterialfv(GL_FRONT, GL_DIFFUSE, mat_diffuse_tex);
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular_tex);
glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess_tex);
// load the environment map
loadEnviromentMap();
}
glFlush();
glutSwapBuffers(); // swap front/back framebuffer to avoid flickering
}
void reshape(int w, int h)
{
glViewport(0, 0, w, h);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(70.f, (float)w / h, 0.001f, 30.f);
}
void keyboard(unsigned char key, int x, int y)
{
switch(key)
{
case 'm':
displayMesh = !displayMesh;
break;
case 'l':
lightsOn = !lightsOn;
break;
case 's':
mode = solid;
break;
case 'e':
mode = environment;
break;
case 't':
mode = texture;
break;
case 27:
glutLeaveMainLoop();
break;
}
}
void timer(int v)
{
rotAngle += 1.f;
glutPostRedisplay();
glutTimerFunc(1000/nFPS, timer, v);
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
glutInitWindowSize(1000, 800);
glutInitWindowPosition(2380, 100);
glutCreateWindow("MP3 Teapot - sgupta80");
// this is to make sure memory is cleared on program exit, so we
// set it such that the main loop continues when we exit
glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, GLUT_ACTION_GLUTMAINLOOP_RETURNS);
std::cout << "OpenGL: " << glGetString(GL_VERSION) << ", GLSL: " <<
glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl;
if(argv[1] == NULL)
{
cout << "No OBJ file specified." << endl;
exit(EXIT_FAILURE);
}
if(argv[2] == NULL)
{
cout << "No texture map specified." << endl;
exit(EXIT_FAILURE);
}
if(argv[3] == NULL)
{
cout << "No environment map specified." << endl;
exit(EXIT_FAILURE);
}
init(argv[1], argv[2], argv[3]);
glutDisplayFunc(display);
glutReshapeFunc(reshape);
glutKeyboardFunc(keyboard);
glutTimerFunc(100, timer, 0);
glutMainLoop();
delete teapot;
delete texture_map;
delete env_map;
return 0;
}
| [
"theununtrium@gmail.com"
] | theununtrium@gmail.com |
f983d227aabecdda8dc1e874e436b1775576d33f | 6c88368926b3b2126446ff6c32fe4c7f76c311c7 | /06 Automatas Finitos y Deterministas/src/reader.cpp | 82dc0ea34a7a695080ee8fd12f0803665b788bb2 | [] | no_license | AdrianEpi/Computabilidad-y-Algoritmia | 661dc1a36fe383d0b651337f19427dd2820745d7 | 78bc025b1205aefaa242548c1be07bebb1a04a20 | refs/heads/master | 2022-04-01T14:17:43.243641 | 2020-02-07T20:27:21 | 2020-02-07T20:27:21 | 169,391,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,722 | cpp | /*===================================================================================
=====================================================================================
= =
= Proyecto: Práctica 06 Autómatas Finitos y Deterministas =
= Archivo: reader.cpp =
= Autor: Adrián Epifanio Rodríguez Hernández =
= Fecha: 25/10/2019 =
= Asignatura: Computabilidad y Algoritmia =
= Lenguaje: C++ =
= Correo: alu0101158280@ull.edu.es =
= Lugar: Universidad De La Laguna =
= Escuela Superior de Ingeniería y Tecnología =
= =
=====================================================================================
===================================================================================*/
/*---------- DECLARACION DE LIBRERIAS ----------*/
#include <fstream>
/*------------------------------------------------*/
/*---------- DECLARACION DE FUNCIONES ----------*/
#include "../class/reader.hpp"
/*------------------------------------------------*/
/*===================================================================
= Reader Functions =
===================================================================*/
// Costructor parametrizado, le llegan fichero de entrada y de salida
reader::reader(string& in, string& out)
{
input_ = in;
output_ = out;
}
// Ejecuta el DFA y guarda los datos de salida en el fichero
void reader::RunProgram(void)
{
ofstream output_file = OpenFile();
DFA dfa;
dfa.set_InputFile(input_);
dfa.set_DFA();
dfa.WriteFileDFA(output_file);
}
// Funcion que sirve para abrir el fichero de salida
ofstream reader::OpenFile(void)
{
ofstream output_file (output_, ios::out);
if (output_file.fail())
{
system("clear");
cout << "Error en la creación del fichero de salida." << endl << endl;
exit (1);
}
else
return output_file;
}
/*=================================================================*/
/*======================= End of Functions ======================*/
/**
*
*
* Autor: Adrián Epifanio Rodríguez Hernández
* Correo: alu0101158280@ull.edu.es
* Fecha: 25/10/2019
*
*
**/
| [
"noreply@github.com"
] | AdrianEpi.noreply@github.com |
b7075fc411db3fc4984e8a39fc39f450e74a572f | 790f1c10685fb49662052f4ce58bec7396828fbc | /boj/greedy/1783.cpp | 0fb1bf021a23cb18ec3f1c6b0520b5b01dc0aafd | [] | no_license | jychoi927/problem-solving | f3522c404b4ff240c555b5cfcfecb1716d600ebb | 3bb3ff5484878e89a5323f3996cb9edbb3bd47d4 | refs/heads/master | 2020-12-02T00:58:55.067817 | 2020-10-04T09:47:59 | 2020-10-04T09:47:59 | 230,837,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | #include <iostream>
#include <algorithm>
#define endl '\n'
#define fastio cin.sync_with_stdio(false); cin.tie(nullptr)
using namespace std;
int main(){
fastio;
int n, m;
cin >> n >> m;
//n이 1이면 움직이지 못한다.
if(n == 1)
cout << 1 << endl;
//n이 2이면 움직일 수 있는 방법이 두 가지밖에 없으므로
//최대 3칸밖에 움직이지 못한다.
else if(n == 2)
cout << min(4, (m + 1) / 2);
//n이 3이상일 때
//m이 6이하이면 모든 방법으로 움직이지 못하므로 최대 3칸 이동할 수 있고
//m이 6보다 크면 2, 3번 방법 한번씩 사용 후 1, 4번 방법으로만 이동시키면 된다.
else if(n >= 3)
cout << (m <= 6 ? min(4, m) : m - 2) << endl;
return 0;
} | [
"jychoi927@gmail.com"
] | jychoi927@gmail.com |
42cfb17115fe4aa75b1612acae72a8b4e386d376 | 577491f76e130d0fc757f011834691c6aa635051 | /Sources/Audio/Audio.hpp | 4c760875c15c8d4ce7a64ded9d0daf2874937c3a | [
"MIT"
] | permissive | opencollective/Acid | e627b082046e0148aaf7e2a8667fdd22df34235b | 0e1ed9605c4cddb89f92c2daeaa70ec512ce23f3 | refs/heads/master | 2023-08-26T13:26:36.840191 | 2019-09-21T05:30:22 | 2019-09-21T05:30:22 | 210,002,966 | 0 | 1 | null | 2019-09-21T14:51:39 | 2019-09-21T14:51:38 | null | UTF-8 | C++ | false | false | 1,094 | hpp | #pragma once
#include "Engine/Engine.hpp"
#include "Helpers/Delegate.hpp"
typedef struct ALCdevice_struct ALCdevice;
typedef struct ALCcontext_struct ALCcontext;
namespace acid {
/**
* @brief Module used for loading, managing and playing a variety of different sound types.
*/
class ACID_EXPORT Audio : public Module::Registrar<Audio> {
public:
enum class Type {
Master,
General,
Effect,
Music
};
Audio();
~Audio();
void Update() override;
ACID_NO_EXPORT static std::string StringifyResultAl(int32_t result);
ACID_NO_EXPORT static void CheckAl(int32_t result);
ACID_NO_EXPORT ALCdevice *GetDevice() const { return m_device; }
ACID_NO_EXPORT ALCcontext *GetContext() const { return m_context; }
float GetGain(Type type) const;
void SetGain(Type type, float volume);
/**
* Called when a gain value has been modified.
* @return The delegate.
*/
Delegate<void(Type, float)> &OnGain() { return m_onGain; }
private:
ALCdevice *m_device = nullptr;
ALCcontext *m_context = nullptr;
std::map<Type, float> m_gains;
Delegate<void(Type, float)> m_onGain;
};
}
| [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
5d3f1d50c34ce8592d7824288dd0af81256ee8cb | 3e06733790784ad6446295d9cafd5282b035ac66 | /src/NGLDraw.cpp | c278e4e325f38b787c831faaa1675d7b2602bf9b | [] | no_license | s4911530/Programming-Assignment | 6e6c550db6747ff67a5a3a48452bd5cad551b943 | b5dd4597530269f55fa50ee4be4a8b52b1e41885 | refs/heads/master | 2020-03-17T20:31:19.599797 | 2018-05-18T06:49:07 | 2018-05-18T06:49:07 | 133,914,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,833 | cpp | #include "NGLDraw.h"
#include <ngl/ShaderLib.h>
#include <ngl/NGLInit.h>
#include <ngl/Material.h>
#include <ngl/Transformation.h>
#include <ngl/VAOPrimitives.h>
const static float INCREMENT=0.01f;
const static float ZOOM=0.05f;
constexpr char * DiffuseShader="DiffuseShader";
// This function was originally written by Jon Macey
NGLDraw::NGLDraw()
{
m_rotate=false;
// mouse rotation values set to 0
m_spinXFace=0;
m_spinYFace=0;
glClearColor(0.4f, 0.4f, 1.4f, 1.0f); // Blue Background
// enable depth testing for drawing
glEnable(GL_DEPTH_TEST);
//----------------------------------------------------------------------------------------------------------------------
ngl::ShaderLib *shader = ngl::ShaderLib::instance();
shader->createShaderProgram(DiffuseShader);
constexpr char * vertex="vertex";
shader->attachShader(vertex,ngl::ShaderType::VERTEX);
constexpr char *fragment="fragment";
shader->attachShader(fragment,ngl::ShaderType::FRAGMENT);
shader->loadShaderSource(vertex,"shaders/DiffuseVertex.glsl");
shader->loadShaderSource(fragment,"shaders/DiffuseFragment.glsl");
shader->compileShader(vertex);
shader->compileShader(fragment);
shader->attachShaderToProgram(DiffuseShader,vertex);
shader->attachShaderToProgram(DiffuseShader,fragment);
shader->linkProgramObject(DiffuseShader);
shader->use(DiffuseShader);
shader->setUniform("light.position",0.0f,1.0f,0.0f);
shader->setUniform("light.diffuse",1.0f,1.0f,1.0f,1.0f);
//set camera position
m_view= ngl::lookAt({0.0f,70.0f,50.0f}, {0.0f,1.0f,0.0f}, {0.0f,1.0f,0.0f});
//----------------------------------------------------------------------------------------------------------------------
//draw grid
ngl::VAOPrimitives::instance()->createLineGrid("grid",60,60,30);
// initialise objects
m_pig.reset(new Pig(ngl::Vec3(35,0,30),m_view,m_projection));
m_coin.reset(new Coin(ngl::Vec3(0,0,0),m_view,m_projection));
//----------------------------------------------------------------------------------------------------------------------
life1 = new Lives(ngl::Vec3(15.0,55.0,31.0),m_view,m_projection);
life2 = new Lives(ngl::Vec3(13.0,55.0,31.0),m_view,m_projection);
life3 = new Lives(ngl::Vec3(11.0,55.0,31.0),m_view,m_projection);
life4 = new Lives(ngl::Vec3(9.0,55.0,31.0),m_view,m_projection);
life5 = new Lives(ngl::Vec3(7.0,55.0,31.0),m_view,m_projection);
//----------------------------------------------------------------------------------------------------------------------
bullet1 = new Bullet(ngl::Vec3(-30,0,-25),m_view,m_projection);
bullet2 = new Bullet(ngl::Vec3(-30,0,-5),m_view,m_projection);
bullet3 = new Bullet(ngl::Vec3(-30,0,15),m_view,m_projection);
bullet4 = new Bullet(ngl::Vec3(30,0,-15),m_view,m_projection);
bullet5 = new Bullet(ngl::Vec3(30,0,5),m_view,m_projection);
bullet6 = new Bullet(ngl::Vec3(30,0,25),m_view,m_projection);
bullet7 = new Bullet(ngl::Vec3(-20,0,-28),m_view,m_projection);
bullet8 = new Bullet(ngl::Vec3(0,0,-28),m_view,m_projection);
bullet9 = new Bullet(ngl::Vec3(20,0,-28),m_view,m_projection);
ngl::VAOPrimitives *prim = ngl::VAOPrimitives::instance();
prim->createSphere("sphere",1.0f,40.0f);
bullet4->rightBullets=true;
bullet5->rightBullets=true;
bullet6->rightBullets=true;
bullet7->topBullets=true;
bullet8->topBullets=true;
bullet9->topBullets=true;
//----------------------------------------------------------------------------------------------------------------------
m_gameover.reset(new Gameover(ngl::Vec3(-2.5,-10.0,0.0),m_view,m_projection));
m_startScreen.reset(new StartScreen(ngl::Vec3(0,0,0),m_view,m_projection));
//----------------------------------------------------------------------------------------------------------------------
}
// end of function
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::loadMatrixToShader()
{
ngl::ShaderLib *shader = ngl::ShaderLib::instance();
shader-> use("DiffuseShader");
shader->setUniform("Colour",0.4f,1.0f,0.4f,1.0f);
ngl::Mat4 MVP;
ngl::Mat4 MV;
ngl::Mat3 normalMatrix;
MV=m_view * transform.getMatrix();
MVP=m_projection*MV;
normalMatrix=MV;
normalMatrix.inverse().transpose();
//shader->setUniform("MVP",ngl::Mat4());
shader->setUniform("MVP",MVP);
shader->setUniform("MV",MV);
shader->setUniform("normalMatrix", normalMatrix);
}
//----------------------------------------------------------------------------------------------------------------------
NGLDraw::~NGLDraw()
{
std::cout<<"Shutting down NGL, removing VAO's and Shaders\n";
}
//resize window
void NGLDraw::resize(int _w, int _h)
{
glViewport(0,0,_w,_h);
m_projection =ngl::perspective(45.0f, float(_w)/_h, 0.01f, 200.0f);
}
//----------------------------------------------------------------------------------------------------------------------
//draw objects
void NGLDraw::draw()
{
//if game is not running, draw startup screen
if (isRunning == false)
{
m_startScreen->drawStartScreen();
m_view= ngl::lookAt({0.0f,90.0f,10.0f}, {0.0f,1.0f,0.0f}, {0.0f,1.0f,0.0f});
std::cout<<"run is "<<isRunning<<std::endl;
}
//if game is running, draw:
else if (isRunning ==true)
{
ngl::ShaderLib *shader = ngl::ShaderLib::instance();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
ngl::VAOPrimitives *prim = ngl::VAOPrimitives::instance();
shader->setUniform("diffuseColour",0.0f,0.0f,0.0f,1.0f);
m_view= ngl::lookAt({0.0f,70.0f,50.0f}, {0.0f,1.0f,0.0f}, {0.0f,1.0f,0.0f});
transform.reset();
{
transform.setPosition(0,0,0);
loadMatrixToShader();
prim->draw("grid");
}
m_coin->drawCoin();
bullet1->drawBullet();
bullet2->drawBullet();
bullet3->drawBullet();
bullet4->drawBullet();
bullet5->drawBullet();
bullet6->drawBullet();
bullet7->drawBullet();
bullet8->drawBullet();
bullet9->drawBullet();
m_pig->drawPig();
//----------------------------------------------------------------------------------------------------------------------
//if loops to subtract lives when health is affected
if (m_pig->health == 5)
{
life1->drawLives();
life2->drawLives();
life3->drawLives();
life4->drawLives();
life5->drawLives();
}
if (m_pig->health == 4)
{
life1->drawLives();
life2->drawLives();
life3->drawLives();
life4->drawLives();
}
if (m_pig->health == 3)
{
life1->drawLives();
life2->drawLives();
life3->drawLives();
}
if (m_pig->health == 2)
{
life1->drawLives();
life2->drawLives();
}
if (m_pig->health == 1)
{
life1->drawLives();
}
shader->setUniform("diffuseColour",1.0f,0.0f,0.0f,1.0f);
}
//condition for game over
if (m_pig->health < 1)
{
std::cout << "GAME OVER"<<std::endl;
m_gameover->drawGameover();
}
}
//----------------------------------------------------------------------------------------------------------------------
// This function was originally written by Jon Macey
void NGLDraw::setLightPos(float _dx, float _dy, float _dz)
{
m_lightPos.m_x+=_dx;
m_lightPos.m_y+=_dy;
m_lightPos.m_z+=_dz;
ngl::ShaderLib::instance()->setUniform("light.pos", m_lightPos);
}
//end of function
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::keyEvent(SDL_KeyboardEvent &_event)
{
switch (_event.keysym.sym)
{
case SDLK_UP : m_pig->forward();break;
case SDLK_DOWN : m_pig->backward(); break;
case SDLK_LEFT : m_pig->left(); break;
case SDLK_RIGHT : m_pig->right(); break;
case SDLK_RETURN : isRunning = true; break;
}
}
//----------------------------------------------------------------------------------------------------------------------
//do pig-coin collsion:
// This function was originally written by Jon Macey:
bool NGLDraw::pigCoinCollision(ngl::Vec3 m_pos, ngl::Vec3 m_coinPos, GLfloat m_sizePig, GLfloat m_sizeCoin)
{
// the relative position of the pig and coin
ngl::Vec3 relPos;
//min and max distances of the pig and coin
GLfloat dist;
GLfloat minDist;
GLfloat len;
relPos = m_pos - m_coinPos;
// and the distance
len=relPos.length();
dist=len*len;
minDist = m_sizePig + m_sizeCoin;
// if it is a hit
if(dist <=(minDist * minDist))
{
return true;
}
else
{
return false;
}
}
//end of function
//check pig-coin collsion:
void NGLDraw::checkPigCoinCollision()
{
//first check the pig and coin against each other
bool collide = pigCoinCollision(m_pig->getPos(),m_coin->getPos(), m_pig->getSize(), m_coin->getSize());
if(collide==true)
{
m_coin->spawnCoin();
}
}
//do bullet-pig collsion:
bool NGLDraw::bulletPigCollision(ngl::Vec3 m_bulletPos, ngl::Vec3 m_pos, GLfloat m_radius, GLfloat m_sizePig)
{
// the relative position of the bullet and pig
ngl::Vec3 relPos;
//min and max distances of the bullet and pig
GLfloat dist;
GLfloat minDist;
GLfloat len;
relPos = m_bulletPos - m_pos;
// and the distance
len=relPos.length();
dist=len*len;
minDist = m_radius + m_sizePig;
// if it is a hit
if(dist <=(minDist * minDist))
{
return true;
}
else
{
return false;
}
}
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::checkBulletPigCollision()
{
//check the bullet and pig against each other
bool collide1 = bulletPigCollision(bullet1->getPos(),m_pig->getPos(),
bullet1->getRadius(), m_pig->getSize());
bool collide2 = bulletPigCollision(bullet2->getPos(),m_pig->getPos(),
bullet2->getRadius(), m_pig->getSize());
bool collide3 = bulletPigCollision(bullet3->getPos(),m_pig->getPos(),
bullet3->getRadius(), m_pig->getSize());
bool collide4 = bulletPigCollision(bullet4->getPos(),m_pig->getPos(),
bullet4->getRadius(), m_pig->getSize());
bool collide5 = bulletPigCollision(bullet5->getPos(),m_pig->getPos(),
bullet5->getRadius(), m_pig->getSize());
bool collide6 = bulletPigCollision(bullet6->getPos(),m_pig->getPos(),
bullet6->getRadius(), m_pig->getSize());
bool collide7 = bulletPigCollision(bullet7->getPos(),m_pig->getPos(),
bullet7->getRadius(), m_pig->getSize());
bool collide8 = bulletPigCollision(bullet8->getPos(),m_pig->getPos(),
bullet8->getRadius(), m_pig->getSize());
bool collide9 = bulletPigCollision(bullet9->getPos(),m_pig->getPos(),
bullet9->getRadius(), m_pig->getSize());
if(collide1==true)
{
if (counter1 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter1++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide1==false)
{
counter1 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide2==true)
{
if (counter2 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter2++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide2==false)
{
counter2 = 1;
}
std::cout << "counter: " <<counter2<<std::endl;
//----------------------------------------------------------------------------------------------------------------------
if(collide3==true)
{
if (counter3 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter3++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide3==false)
{
counter3 = 1;
}
std::cout << "counter: " <<counter3<<std::endl;
//----------------------------------------------------------------------------------------------------------------------
if(collide4==true)
{
if (counter4 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter4++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide4 == false)
{
counter4 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide5==true)
{
if (counter5 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter5++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide5==false)
{
counter5 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide6==true)
{
if (counter6 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter6++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide6==false)
{
counter6 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide7==true)
{
if (counter7 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter7++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide7==false)
{
counter7 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide8==true)
{
if (counter8 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter8++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide8==false)
{
counter8 = 1;
}
//----------------------------------------------------------------------------------------------------------------------
if(collide9==true)
{
if (counter9 == 1)
{
m_pig->health -=1;
}
m_pig->getPos() = ngl::Vec3 (0, 0, 30);
counter9++;
std::cout << "health: " <<m_pig->health<<std::endl;
}
//----------------------------------------------------------------------------------------------------------------------
else if (collide9==false)
{
counter9 = 1;
}
}
//The following functions were originally written by Jon Macey:
void NGLDraw::mouseMoveEvent (const SDL_MouseMotionEvent &_event)
{
if(m_rotate && _event.state &SDL_BUTTON_LMASK)
{
int diffx=_event.x-m_origX;
int diffy=_event.y-m_origY;
m_spinXFace += (float) 0.5f * diffy;
m_spinYFace += (float) 0.5f * diffx;
m_origX = _event.x;
m_origY = _event.y;
draw();
}
// right mouse translate code
else if(m_translate && _event.state &SDL_BUTTON_RMASK)
{
int diffX = (int)(_event.x - m_origXPos);
int diffY = (int)(_event.y - m_origYPos);
m_origXPos=_event.x;
m_origYPos=_event.y;
m_modelPos.m_x += INCREMENT * diffX;
m_modelPos.m_y -= INCREMENT * diffY;
draw();
}
}
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::mousePressEvent (const SDL_MouseButtonEvent &_event)
{
// this method is called when the mouse button is pressed in this case we
// store the value where the maouse was clicked (x,y) and set the Rotate flag to true
if(_event.button == SDL_BUTTON_LEFT)
{
m_origX = _event.x;
m_origY = _event.y;
m_rotate =true;
}
// right mouse translate mode
else if(_event.button == SDL_BUTTON_RIGHT)
{
m_origXPos = _event.x;
m_origYPos = _event.y;
m_translate=true;
}
}
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::mouseReleaseEvent (const SDL_MouseButtonEvent &_event)
{
// this event is called when the mouse button is released
// we then set Rotate to false
if (_event.button == SDL_BUTTON_LEFT)
{
m_rotate=false;
}
// right mouse translate mode
if (_event.button == SDL_BUTTON_RIGHT)
{
m_translate=false;
}
}
//----------------------------------------------------------------------------------------------------------------------
void NGLDraw::wheelEvent(const SDL_MouseWheelEvent &_event)
{
//----------------------------------------------------------------------------------------------------------------------
// check the diff of the wheel position (0 means no change)
if(_event.y > 0)
{
m_modelPos.m_z+=ZOOM;
this->draw();
}
else if(_event.y <0 )
{
m_modelPos.m_z-=ZOOM;
draw();
}
// check the diff of the wheel position (0 means no change)
if(_event.x > 0)
{
m_modelPos.m_x-=ZOOM;
draw();
}
else if(_event.x <0 )
{
m_modelPos.m_x+=ZOOM;
draw();
}
}
//end of functions
//----------------------------------------------------------------------------------------------------------------------
//update every frame:
void NGLDraw::update()
{
draw();
m_pig->move();
m_pig->boundary();
checkPigCoinCollision();
checkBulletPigCollision();
}
//----------------------------------------------------------------------------------------------------------------------
| [
"noreply@github.com"
] | s4911530.noreply@github.com |
d0a371b69bf76e33f267438d893d50257812f23e | 798bed1167e6f95acf2b3ef5bd152fb6ae06446d | /GUI/Gui-RoombaV1.0/brushvacuumdata.cpp | ddbc1e55c4d21bb38ac32af1cfc99475b448c540 | [] | no_license | K-4U/ese_project4y5 | 25a1f991390d8232a0fb071ed8ffa6bd1506cb35 | 235b8b31b3a9eca833286b954c948ad0348d0d47 | refs/heads/master | 2020-05-26T21:23:04.080525 | 2013-06-19T10:20:25 | 2013-06-19T10:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include "brushvacuumdata.h"
namespace shared{
namespace events{
eventBrushVacuumData::eventBrushVacuumData(bool mainBrush, bool sideBrush, bool vacuum)
{
ourType = EVENTTYPE_BRUSHVACUUMDATA;
this->addToData("MainBrush", mainBrush);
this->addToData("SideBrush", sideBrush);
this->addToData("Vacuum", vacuum);
}
eventBrushVacuumData::eventBrushVacuumData(QVariantMap data)
:clsEvent(data)
{ }
bool eventBrushVacuumData::mainBrush() const
{
return this->getData("MainBrush").toBool();
}
bool eventBrushVacuumData::sideBrush() const
{
return this->getData("SideBrush").toBool();
}
bool eventBrushVacuumData::vacuum() const
{
return this->getData("Vacuum").toBool();
}
}
}
| [
"snpadedb@hotmail.com"
] | snpadedb@hotmail.com |
8100590ee67693bb75ae895d735c078b735d8765 | 820c3d8667e2b2a19355ef4fab24be7d5612fa88 | /vcl/math/mat/mat4/mat4.cpp | 4200154f24dcd07646fdbd9959d20c66d015fe97 | [
"MIT"
] | permissive | nissmar/Paper_Plane_VCL | e37f0d425e33c2c9a3359253d296572240d8a76f | 04c51d57cac6772ffa7b39008ba4fc33d6a24610 | refs/heads/master | 2023-07-31T17:03:46.425459 | 2021-09-20T13:41:14 | 2021-09-20T13:41:14 | 264,975,680 | 0 | 1 | MIT | 2020-05-21T18:18:55 | 2020-05-18T15:07:40 | C++ | UTF-8 | C++ | false | false | 8,314 | cpp | #include "mat4.hpp"
#include "../../mat/mat3/mat3.hpp"
#include "../../vec/vec3/vec3.hpp"
#include <iostream>
namespace vcl {
mat4::mat()
:xx(),xy(),xz(),xw(),
yx(),yy(),yz(),yw(),
zx(),zy(),zz(),zw(),
wx(),wy(),wz(),ww()
{}
mat4::mat(float xx_arg,float xy_arg,float xz_arg,float xw_arg,
float yx_arg,float yy_arg,float yz_arg,float yw_arg,
float zx_arg,float zy_arg,float zz_arg,float zw_arg,
float wx_arg,float wy_arg,float wz_arg,float ww_arg)
:xx(xx_arg),xy(xy_arg),xz(xz_arg),xw(xw_arg),
yx(yx_arg),yy(yy_arg),yz(yz_arg),yw(yw_arg),
zx(zx_arg),zy(zy_arg),zz(zz_arg),zw(zw_arg),
wx(wx_arg),wy(wy_arg),wz(wz_arg),ww(ww_arg)
{}
mat4::mat(const vcl::mat3& R, const vcl::vec3& t)
:xx(R(0,0)),xy(R(0,1)),xz(R(0,2)),xw(t.x),
yx(R(1,0)),yy(R(1,1)),yz(R(1,2)),yw(t.y),
zx(R(2,0)),zy(R(2,1)),zz(R(2,2)),zw(t.z),
wx(0),wy(0),wz(0),ww(1.0f)
{
}
mat4 mat4::identity()
{
return mat4(1,0,0,0,
0,1,0,0,
0,0,1,0,
0,0,0,1);
}
mat4 mat4::zero()
{
return mat4(0,0,0,0,
0,0,0,0,
0,0,0,0,
0,0,0,0);
}
mat4 mat4::perspective(float angle_of_view, float image_aspect, float z_near, float z_far)
{
const float fy = 1/std::tan(angle_of_view/2);
const float fx = fy/image_aspect;
const float L = z_near-z_far;
const float C = (z_far+z_near)/L;
const float D = (2*z_far*z_near)/L;
return {
fx,0,0,0,
0,fy,0,0,
0,0,C,D,
0,0,-1,0
};
}
mat4 mat4::from_scaling(float s)
{
return {
s,0,0,0,
0,s,0,0,
0,0,s,0,
0,0,0,1
};
}
mat4 mat4::from_scaling(const vcl::vec3& s)
{
return {
s.x,0 ,0 ,0,
0 ,s.y,0 ,0,
0 ,0 ,s.z,0,
0 ,0 ,0 ,1
};
}
mat4 mat4::from_mat3(const vcl::mat3& m)
{
return {
m.xx, m.xy, m.xz, 0,
m.yx, m.yy, m.yz, 0,
m.zx, m.zy, m.zz, 0,
0 , 0 , 0 , 1
};
}
mat4 mat4::from_translation(const vcl::vec3& t)
{
return {
1,0,0,t.x,
0,1,0,t.y,
0,0,1,t.z,
0,0,0,1
};
}
vec4 mat4::row(std::size_t offset) const
{
switch(offset) {
case 0:
return {xx,xy,xz,xw};
case 1:
return {yx,yy,yz,yw};
case 2:
return {zx,zy,zz,zw};
case 3:
return {wx,wy,wz,ww};
default:
std::cerr<<"Error: Try to access mat4.row("<<offset<<")"<<std::endl;
assert(false);
}
abort();
}
vec4 mat4::col(std::size_t offset) const
{
switch(offset) {
case 0:
return {xx,yx,zx,wx};
case 1:
return {xy,yy,zy,wy};
case 2:
return {xz,yz,zz,wz};
case 3:
return {xw,yw,zw,ww};
default:
std::cerr<<"Error: Try to access mat4.col("<<offset<<")"<<std::endl;
assert(false);
}
abort();
}
mat4& mat4::set_row(std::size_t offset, const vec4& v)
{
switch(offset) {
case 0:
xx=v.x; xy=v.y; xz=v.z; wz=v.w; break;
case 1:
yx=v.x; yy=v.y; yz=v.z; yw=v.w; break;
case 2:
zx=v.x; zy=v.y; zz=v.z; zw=v.w; break;
case 3:
wx=v.x; wy=v.y; wz=v.z; ww=v.w; break;
default:
std::cerr<<"Error: Try to set mat4.row("<<offset<<")"<<std::endl;
assert(false);
}
return *this;
}
mat4& mat4::set_col(std::size_t offset, const vec4& v)
{
switch(offset) {
case 0:
xx=v.x; yx=v.y; zx=v.z; wx=v.w; break;
case 1:
xy=v.x; yy=v.y; zy=v.z; wy=v.w; break;
case 2:
xz=v.x; yz=v.y; zz=v.z; wz=v.w; break;
case 3:
xw=v.x; yw=v.y; zw=v.z; ww=v.w; break;
default:
std::cerr<<"Error: Try to set mat4.col("<<offset<<")"<<std::endl;
assert(false);
}
return *this;
}
const float& mat4::operator[](std::size_t offset) const
{
switch(offset) {
case 0: return xx;
case 1: return xy;
case 2: return xz;
case 3: return xw;
case 4: return yx;
case 5: return yy;
case 6: return yz;
case 7: return yw;
case 8: return zx;
case 9: return zy;
case 10: return zz;
case 11: return zw;
case 12: return wx;
case 13: return wy;
case 14: return wz;
case 15: return ww;
default:
std::cerr<<"Error: Try to access mat4["<<offset<<"]"<<std::endl;
assert(false);
}
abort();
}
float& mat4::operator[](std::size_t offset)
{
switch(offset) {
case 0: return xx;
case 1: return xy;
case 2: return xz;
case 3: return xw;
case 4: return yx;
case 5: return yy;
case 6: return yz;
case 7: return yw;
case 8: return zx;
case 9: return zy;
case 10: return zz;
case 11: return zw;
case 12: return wx;
case 13: return wy;
case 14: return wz;
case 15: return ww;
default:
std::cerr<<"Error: Try to access mat4["<<offset<<"]"<<std::endl;
assert(false);
}
abort();
}
const float& mat4::operator()(std::size_t index1, std::size_t index2) const
{
switch(index1) {
case 0:
switch(index2) {
case 0: return xx;
case 1: return xy;
case 2: return xz;
case 3: return xw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 1:
switch(index2) {
case 0: return yx;
case 1: return yy;
case 2: return yz;
case 3: return yw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 2:
switch(index2) {
case 0: return zx;
case 1: return zy;
case 2: return zz;
case 3: return zw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 3:
switch(index2) {
case 0: return wx;
case 1: return wy;
case 2: return wz;
case 3: return ww;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
abort();
}
float& mat4::operator()(std::size_t index1, std::size_t index2)
{
switch(index1) {
case 0:
switch(index2) {
case 0: return xx;
case 1: return xy;
case 2: return xz;
case 3: return xw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 1:
switch(index2) {
case 0: return yx;
case 1: return yy;
case 2: return yz;
case 3: return yw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 2:
switch(index2) {
case 0: return zx;
case 1: return zy;
case 2: return zz;
case 3: return zw;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
case 3:
switch(index2) {
case 0: return wx;
case 1: return wy;
case 2: return wz;
case 3: return ww;
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
default:
std::cerr<<"Error: Try to access mat4("<<index1<<","<<index2<<")"<<std::endl;
assert(false);
}
abort();
}
vcl::mat3 mat4::mat3() const
{
return submat<3,3>(*this,0,0);
}
mat4& mat4::set_mat3(const vcl::mat3& m)
{
set_submat(*this,0,0,m);
return *this;
}
vcl::vec3 mat4::vec3() const
{
return mat2vec(submat<3,1>(*this,0,3));
}
mat4& mat4::set_vec3(const vcl::vec3& tr)
{
set_submat(*this,0,3,vec2mat(tr));
return *this;
}
mat4 mat4::from_mat3_vec3(const vcl::mat3& linear_block, const vcl::vec3& translation_block)
{
mat4 M = mat4::identity();
M.set_mat3(linear_block);
M.set_vec3(translation_block);
return M;
}
}
| [
"maruani.nissim@gmail.com"
] | maruani.nissim@gmail.com |
3bfd09fc8c3fe57a71bbe0a1662427f63ebea4d0 | 04a21f3cf123bb04d27291348a4796770f5bd60c | /features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/test/nanostack/unittest/libNET/net/main.cpp | 41908314a30d78923e680f8a6309a0e8af448bd4 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Wenchou01/mbed-os | f946b291aa54cc2356633ac466df5ffed626baa9 | 70e7b40468854d33431889a9cd415364c00a2501 | refs/heads/master | 2021-08-20T09:09:26.038479 | 2017-11-27T16:37:40 | 2017-11-27T16:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | /*
* Copyright (c) 2016, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "CppUTest/CommandLineTestRunner.h"
#include "CppUTest/TestPlugin.h"
#include "CppUTest/TestRegistry.h"
#include "CppUTestExt/MockSupportPlugin.h"
int main(int ac, char** av)
{
return CommandLineTestRunner::RunAllTests(ac, av);
}
IMPORT_TEST_GROUP(net);
| [
"arto.kinnunen@arm.com"
] | arto.kinnunen@arm.com |
006fd338e4c929e8ee776d959b2174cebeadc28f | 1568aace95107a8f4b83be3acdfc4eb5f9b7a88e | /IntrinsicRendererVulkan/src/IntrinsicRendererVulkanResourcesImage.h | 48e9f621a478f568ffba7e0cf149d61fe5e0ade4 | [
"Apache-2.0"
] | permissive | neuroradiology/Intrinsic | 7e30f77139de945f0fd075cb5d4e30966ca0abd9 | 5306fa148c8669ac392586050a8fd227217b93c0 | refs/heads/master | 2021-05-02T16:00:04.584318 | 2016-10-30T23:09:20 | 2016-10-30T23:09:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,333 | h | // Copyright 2016 Benjamin Glatzel
//
// 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 Intrinsic
{
namespace Renderer
{
namespace Vulkan
{
namespace Resources
{
typedef Dod::Ref ImageRef;
typedef _INTR_ARRAY(ImageRef) ImageRefArray;
typedef _INTR_ARRAY(_INTR_ARRAY(VkImageView)) ImageViewArray;
struct ImageData : Dod::Resources::ResourceDataBase
{
ImageData() : Dod::Resources::ResourceDataBase(_INTR_MAX_IMAGE_COUNT)
{
descImageType.resize(_INTR_MAX_IMAGE_COUNT);
descImageFormat.resize(_INTR_MAX_IMAGE_COUNT);
descImageFlags.resize(_INTR_MAX_IMAGE_COUNT);
descDimensions.resize(_INTR_MAX_IMAGE_COUNT);
descArrayLayerCount.resize(_INTR_MAX_IMAGE_COUNT);
descMipLevelCount.resize(_INTR_MAX_IMAGE_COUNT);
descFileName.resize(_INTR_MAX_IMAGE_COUNT);
vkImage.resize(_INTR_MAX_IMAGE_COUNT);
vkImageView.resize(_INTR_MAX_IMAGE_COUNT);
vkSubResourceImageViews.resize(_INTR_MAX_IMAGE_COUNT);
vkDeviceMemory.resize(_INTR_MAX_IMAGE_COUNT);
}
// Description
_INTR_ARRAY(ImageType::Enum) descImageType;
_INTR_ARRAY(Format::Enum) descImageFormat;
_INTR_ARRAY(uint8_t) descImageFlags;
_INTR_ARRAY(glm::uvec3) descDimensions;
_INTR_ARRAY(uint32_t) descArrayLayerCount;
_INTR_ARRAY(uint32_t) descMipLevelCount;
_INTR_ARRAY(_INTR_STRING) descFileName;
// Resources
_INTR_ARRAY(VkImage) vkImage;
_INTR_ARRAY(VkImageView) vkImageView;
_INTR_ARRAY(ImageViewArray) vkSubResourceImageViews;
_INTR_ARRAY(VkDeviceMemory) vkDeviceMemory;
};
struct ImageManager
: Dod::Resources::ResourceManagerBase<ImageData, _INTR_MAX_IMAGE_COUNT>
{
static void init();
_INTR_INLINE static ImageRef createImage(const Name& p_Name)
{
ImageRef ref = Dod::Resources::ResourceManagerBase<
ImageData, _INTR_MAX_IMAGE_COUNT>::_createResource(p_Name);
return ref;
}
_INTR_INLINE static void resetToDefault(ImageRef p_Ref)
{
_descImageType(p_Ref) = ImageType::kExternal;
_descImageFormat(p_Ref) = Format::kR32G32B32A32SFloat;
_descImageFlags(p_Ref) =
ImageFlags::kUsageAttachment | ImageFlags::kUsageSampled;
_descDimensions(p_Ref) = glm::uvec3(0u, 0u, 0u);
_descArrayLayerCount(p_Ref) = 1u;
_descMipLevelCount(p_Ref) = 1u;
_descFileName(p_Ref) = "";
}
_INTR_INLINE static void destroyImage(ImageRef p_Ref)
{
Dod::Resources::ResourceManagerBase<
ImageData, _INTR_MAX_IMAGE_COUNT>::_destroyResource(p_Ref);
}
_INTR_INLINE static void compileDescriptor(ImageRef p_Ref,
rapidjson::Value& p_Properties,
rapidjson::Document& p_Document)
{
Dod::Resources::ResourceManagerBase<
ImageData, _INTR_MAX_IMAGE_COUNT>::_compileDescriptor(p_Ref,
p_Properties,
p_Document);
p_Properties.AddMember("imageType",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
(uint32_t)_descImageType(p_Ref),
false, true),
p_Document.GetAllocator());
p_Properties.AddMember("imageFormat",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
(uint32_t)_descImageFormat(p_Ref),
false, true),
p_Document.GetAllocator());
p_Properties.AddMember("flags",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
(uint32_t)_descImageFlags(p_Ref),
false, true),
p_Document.GetAllocator());
p_Properties.AddMember("dimensions",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
glm::vec3(_descDimensions(p_Ref)),
false, true),
p_Document.GetAllocator());
p_Properties.AddMember("arrayLayerCount",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
_descArrayLayerCount(p_Ref), false,
true),
p_Document.GetAllocator());
p_Properties.AddMember("mipLevelCount",
_INTR_CREATE_PROP(p_Document, _N(Image), "",
_descMipLevelCount(p_Ref), false,
true),
p_Document.GetAllocator());
p_Properties.AddMember("fileName",
_INTR_CREATE_PROP(p_Document, _N(Image), "string",
_descFileName(p_Ref), true, false),
p_Document.GetAllocator());
}
_INTR_INLINE static void initFromDescriptor(ImageRef p_Ref,
rapidjson::Value& p_Properties)
{
Dod::Resources::ResourceManagerBase<
ImageData, _INTR_MAX_IMAGE_COUNT>::_initFromDescriptor(p_Ref,
p_Properties);
if (p_Properties.HasMember("imageType"))
_descImageType(p_Ref) = (ImageType::Enum)JsonHelper::readPropertyUint(
p_Properties["imageType"]);
if (p_Properties.HasMember("imageFormat"))
_descImageFormat(p_Ref) = (Format::Enum)JsonHelper::readPropertyUint(
p_Properties["imageFormat"]);
if (p_Properties.HasMember("flags"))
_descImageFlags(p_Ref) =
JsonHelper::readPropertyUint(p_Properties["flags"]);
if (p_Properties.HasMember("dimensions"))
_descDimensions(p_Ref) =
JsonHelper::readPropertyVec3(p_Properties["dimensions"]);
if (p_Properties.HasMember("arrayLayerCount"))
_descArrayLayerCount(p_Ref) =
JsonHelper::readPropertyUint(p_Properties["arrayLayerCount"]);
if (p_Properties.HasMember("mipLevelCount"))
_descMipLevelCount(p_Ref) =
JsonHelper::readPropertyUint(p_Properties["mipLevelCount"]);
if (p_Properties.HasMember("fileName"))
_descFileName(p_Ref) =
JsonHelper::readPropertyString(p_Properties["fileName"]);
}
_INTR_INLINE static void saveToSingleFile(const char* p_FileName)
{
Dod::Resources::ResourceManagerBase<
ImageData, _INTR_MAX_IMAGE_COUNT>::_saveToSingleFile(p_FileName,
compileDescriptor);
}
_INTR_INLINE static void loadFromSingleFile(const char* p_FileName)
{
Dod::Resources::ResourceManagerBase<ImageData, _INTR_MAX_IMAGE_COUNT>::
_loadFromSingleFile(p_FileName, initFromDescriptor, resetToDefault);
}
// <-
_INTR_INLINE static void createAllResources()
{
destroyResources(_activeRefs);
createResources(_activeRefs);
}
static void createResources(const ImageRefArray& p_Images);
// <-
_INTR_INLINE static void destroyResources(const ImageRefArray& p_Images)
{
for (uint32_t i = 0u; i < p_Images.size(); ++i)
{
ImageRef ref = p_Images[i];
VkImage& vkImage = _vkImage(ref);
ImageViewArray& vkImageViews = _vkSubResourceImageViews(ref);
VkImageView& vkImageView = _vkImageView(ref);
VkDeviceMemory& vkDeviceMemory = _vkDeviceMemory(ref);
if (!hasImageFlags(ref, ImageFlags::kExternalImage))
{
if (vkImage != VK_NULL_HANDLE)
{
RenderSystem::releaseResource(_N(VkImage), (void*)vkImage, nullptr);
}
}
vkImage = VK_NULL_HANDLE;
if (!hasImageFlags(ref, ImageFlags::kExternalView))
{
for (uint32_t arrayLayerIdx = 0u; arrayLayerIdx < vkImageViews.size();
++arrayLayerIdx)
{
for (uint32_t mipIdx = 0u;
mipIdx < vkImageViews[arrayLayerIdx].size(); ++mipIdx)
{
VkImageView vkImageView = vkImageViews[arrayLayerIdx][mipIdx];
RenderSystem::releaseResource(_N(VkImageView), (void*)vkImageView,
nullptr);
vkImageView = VK_NULL_HANDLE;
}
}
if (vkImageView != VK_NULL_HANDLE)
{
RenderSystem::releaseResource(_N(VkImageView), (void*)vkImageView,
nullptr);
vkImageView = VK_NULL_HANDLE;
}
}
vkImageViews.clear();
vkDeviceMemory = VK_NULL_HANDLE;
}
}
// <-
_INTR_INLINE static void
destroyImagesAndResources(const FramebufferRefArray& p_Images)
{
destroyResources(p_Images);
for (uint32_t i = 0u; i < p_Images.size(); ++i)
{
destroyImage(p_Images[i]);
}
}
// <-
static _INTR_INLINE void insertImageMemoryBarrier(
ImageRef p_ImageRef, VkImageLayout p_SrcImageLayout,
VkImageLayout p_DstImageLayout,
VkPipelineStageFlags p_SrcStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
VkPipelineStageFlags p_DstStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT)
{
VkImageSubresourceRange range;
range.aspectMask =
_descImageFormat(p_ImageRef) != Format::kD24UnormS8UInt
? VK_IMAGE_ASPECT_COLOR_BIT
: (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT);
range.baseMipLevel = 0u;
range.levelCount = _descMipLevelCount(p_ImageRef);
range.baseArrayLayer = 0u;
range.layerCount = _descArrayLayerCount(p_ImageRef);
Helper::insertImageMemoryBarrier(
RenderSystem::getPrimaryCommandBuffer(), _vkImage(p_ImageRef),
p_SrcImageLayout, p_DstImageLayout, range, p_SrcStages, p_DstStages);
}
// <-
static _INTR_INLINE void insertImageMemoryBarrierSubResource(
ImageRef p_ImageRef, VkImageLayout p_SrcImageLayout,
VkImageLayout p_DstImageLayout, uint32_t p_MipLevel,
uint32_t p_ArrayLayer,
VkPipelineStageFlags p_SrcStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
VkPipelineStageFlags p_DstStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT)
{
VkImageSubresourceRange range;
range.aspectMask =
_descImageFormat(p_ImageRef) != Format::kD24UnormS8UInt
? VK_IMAGE_ASPECT_COLOR_BIT
: (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT);
range.baseMipLevel = p_MipLevel;
range.levelCount = 1u;
range.baseArrayLayer = p_ArrayLayer;
range.layerCount = 1u;
Helper::insertImageMemoryBarrier(
RenderSystem::getPrimaryCommandBuffer(), _vkImage(p_ImageRef),
p_SrcImageLayout, p_DstImageLayout, range, p_SrcStages, p_DstStages);
}
// <-
_INTR_INLINE static bool hasImageFlags(ImageRef p_Ref, uint8_t p_Flags)
{
return (_data.descImageFlags[p_Ref._id] & p_Flags) == p_Flags;
}
_INTR_INLINE static void addImageFlags(ImageRef p_Ref, uint8_t p_Flags)
{
_data.descImageFlags[p_Ref._id] |= p_Flags;
}
_INTR_INLINE static void removeImageFlags(ImageRef p_Ref, uint8_t p_Flags)
{
_data.descImageFlags[p_Ref._id] &= ~p_Flags;
}
// Member refs.
// ->
// Description
_INTR_INLINE static ImageType::Enum& _descImageType(ImageRef p_Ref)
{
return _data.descImageType[p_Ref._id];
}
_INTR_INLINE static Format::Enum& _descImageFormat(ImageRef p_Ref)
{
return _data.descImageFormat[p_Ref._id];
}
_INTR_INLINE static uint8_t& _descImageFlags(ImageRef p_Ref)
{
return _data.descImageFlags[p_Ref._id];
}
_INTR_INLINE static glm::uvec3& _descDimensions(ImageRef p_Ref)
{
return _data.descDimensions[p_Ref._id];
}
_INTR_INLINE static uint32_t& _descArrayLayerCount(ImageRef p_Ref)
{
return _data.descArrayLayerCount[p_Ref._id];
}
_INTR_INLINE static uint32_t& _descMipLevelCount(ImageRef p_Ref)
{
return _data.descMipLevelCount[p_Ref._id];
}
_INTR_INLINE static _INTR_STRING& _descFileName(ImageRef p_Ref)
{
return _data.descFileName[p_Ref._id];
}
// Resources
_INTR_INLINE static VkImage& _vkImage(ImageRef p_Ref)
{
return _data.vkImage[p_Ref._id];
}
_INTR_INLINE static VkImageView& _vkImageView(ImageRef p_Ref)
{
return _data.vkImageView[p_Ref._id];
}
_INTR_INLINE static VkImageView&
_vkSubResourceImageView(ImageRef p_Ref, uint32_t p_ArrayLayerIndex,
uint32_t p_MipLevelIdx)
{
return _data
.vkSubResourceImageViews[p_Ref._id][p_ArrayLayerIndex][p_MipLevelIdx];
}
_INTR_INLINE static ImageViewArray& _vkSubResourceImageViews(ImageRef p_Ref)
{
return _data.vkSubResourceImageViews[p_Ref._id];
}
_INTR_INLINE static VkDeviceMemory& _vkDeviceMemory(ImageRef p_Ref)
{
return _data.vkDeviceMemory[p_Ref._id];
}
};
}
}
}
}
| [
"benjamin.glatzel@me.com"
] | benjamin.glatzel@me.com |
7ab4f6642104c93bb3e992c890cfc6368d7b6e9b | d6f0bfe60b10c08bea59935fcf4e7be13d861141 | /chapter6/6_6.cpp | f4ae6de80e97587bf8ff965061cec8ee5c7fe2d3 | [] | no_license | ttylinux/cppPrimer | 74176ba90faf586dbbe1db66d60f32ae695fe841 | 4bc5de3ded83f819d07ad066ccd3093dac2ddf81 | refs/heads/master | 2020-05-17T14:44:41.263249 | 2017-12-04T08:22:31 | 2017-12-04T08:22:31 | 27,017,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<iostream>
using std::cout;
using std::cin;
using std::endl;
int localValble(int value )
{
static int size = value;
return ++size;
}
int main()
{
int value;
cout <<" Input:"<<endl;
cin >> value;
cout << "result : "<< endl;
for(int i = 0; i < value; i++)
{
cout <<localValble(value)<<endl;
}
return 0;
} | [
"albertxiaoyu@163.com"
] | albertxiaoyu@163.com |
f38790ea477fcf60f7c45591fceefb86e6972a4b | 1f7388082da5abfe7d264f935f9e276d7a432f05 | /include/benchmark.hpp | 2c54ae6f802f4bd69c205363f87ddb9332774fc6 | [
"MIT"
] | permissive | gitzhqian/pibench-trees-hashing | 85b5477b836a83e15b3ebe0e90a751723860c3fa | 0a4758e38bbfa372fd80c0ebe0531acdd885b101 | refs/heads/main | 2023-07-27T06:45:24.091181 | 2021-09-09T03:43:41 | 2021-09-09T03:43:41 | 404,556,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,474 | hpp | #ifndef __NVM_TREE_BENCH_HPP__
#define __NVM_TREE_BENCH_HPP__
#include "cpucounters.h"
#include "key_generator.hpp"
#include "operation_generator.hpp"
#include "stopwatch.hpp"
#include "tree_api.hpp"
#include "value_generator.hpp"
#include <cstdint>
#include <memory> // For unique_ptr
#include <chrono> // std::chrono::high_resolution_clock::time_point
#include <vector>
namespace PiBench
{
using namespace pcm;
void print_environment();
/**
* @brief Supported random number distributions.
*
*/
enum class distribution_t : uint8_t
{
UNIFORM = 0,
SELFSIMILAR = 1,
ZIPFIAN = 2
};
/**
* @brief Benchmark options.
*
*/
struct options_t
{
/// Name of tree library file used to run the benchmark against.
std::string library_file = "";
/// Number of records to insert into tree during 'load' phase.
uint64_t num_records = 1e7;
//uint64_t num_records = 10;
/// Number of operations to issue during 'run' phase.
uint64_t num_ops = 1e7;
//uint64_t num_ops = 10;
/// Number of parallel threads used for executing requests.
uint32_t num_threads = 1;
/// Sampling window in milliseconds.
uint32_t sampling_ms = 100;
/// Key prefix.
std::string key_prefix = "";
/// Size of key in bytes.
uint32_t key_size = 8;
/// Size of value in bytes.
//uint32_t value_size = 16;
uint32_t value_size = 8;
/// Ratio of read operations.
float read_ratio = 0.0;
/// Ratio of insert operations.
float insert_ratio = 1.0;
/// Ratio of update operations.
float update_ratio = 0.0;
/// Ratio of remove operations.
float remove_ratio = 0.0;
/// Ratio of scan operations.
float scan_ratio = 0.0;
/// Size of scan operations in records.
uint32_t scan_size = 100;
//uint32_t scan_size = 3;
/// Distribution used for generation random keys.
distribution_t key_distribution = distribution_t::UNIFORM;
//distribution_t key_distribution = distribution_t::SELFSIMILAR;
/// Factor to be used for skewed random key distributions.
float key_skew = 0.2;
/// Master seed to be used for random generations.
uint32_t rnd_seed = 1729;
/// Whether to enable Intel PCM for profiling.
bool enable_pcm = true;
/// Whether to skip the load phase.
bool skip_load = false;
/// Ratio of requests to sample latency from (between 0.0 and 1.0).
// Constructs a Bernoulli distribution with likelihood
//get the sample to caclutate the latency time
float latency_sampling = 0.5;
};
/**
* @brief Statistics collected over time.
*
*/
struct alignas(64) stats_t
{
stats_t()
: operation_count(0)
{
}
/// Number of operations completed.
uint64_t operation_count;
/// Vector to store both start and end time of requests.
std::vector<std::chrono::high_resolution_clock::time_point> times;
/// Padding to enforce cache-line size and avoid cache-line ping-pong.
uint64_t ____padding[7];
};
class benchmark_t
{
public:
/**
* @brief Construct a new benchmark_t object.
*
* @param tree pointer to tree data structure compliant with the API.
* @param opt options used to run the benchmark.
*/
benchmark_t(tree_api* tree, const options_t& opt) noexcept;
/**
* @brief Destroy the benchmark_t object.
*
*/
~benchmark_t();
/**
* @brief Load the tree with the amount of records specified in options_t.
*
* A single thread is used for load phase to guarantee determinism across
* multiple runs. Using multiple threads can lead to different, but
* equivalent, results.
*/
void load() noexcept;
/// Run the workload as specified by options_t.
void run() noexcept;
/// Maximum number of records to be scanned.
static constexpr size_t MAX_SCAN = 1000;
private:
/// Tree data structure being benchmarked.
tree_api* tree_;
/// Options used to run this benchmark.
const options_t opt_;
/// Operation generator.
operation_generator_t op_generator_;
/// Key generator.
std::unique_ptr<key_generator_t> key_generator_;
/// Value generator.
value_generator_t value_generator_;
/// Intel PCM handler.
PCM* pcm_;
};
} // namespace PiBench
namespace std
{
std::ostream& operator<<(std::ostream& os, const PiBench::distribution_t& dist);
std::ostream& operator<<(std::ostream& os, const PiBench::options_t& opt);
} // namespace std
#endif
| [
"zhangqianwayi@163.com"
] | zhangqianwayi@163.com |
46d16486b5a4ea42acd89bed8a0bb1eb4a5847d7 | 5cc1994afffe7214a8b2751aea0d14bbb1173069 | /A.cpp | 89de34f6174681a5faa558b27e318c24904a06e0 | [] | no_license | KazumaTamura/version_management_test_program | 4d9e9b1665d5cb3468189ac77b2feb5a1bf1fa9d | 0f4a97ca667b86c9053750cf8c82df8d17eba5a6 | refs/heads/robotA_classD | 2023-02-19T11:55:47.157349 | 2021-01-14T01:33:47 | 2021-01-14T01:33:47 | 328,080,046 | 1 | 0 | null | 2021-01-16T08:15:13 | 2021-01-09T05:13:19 | C++ | UTF-8 | C++ | false | false | 23 | cpp | A
//2021/01/09変更
| [
"e5118069bf@edu.teu.ac.jp"
] | e5118069bf@edu.teu.ac.jp |
fc11f228f5fe4cab491fbc8af76e5b1050439032 | 6c376312457b8af43e372d10bbe6ba29f58cf99d | /DirectX11_BaseSystem/Include/Havok_SDK/Common/Base/Memory/Util/hkMemUtil.h | aabaacb4a84d359475063bbf05acb197cc5b536e | [] | no_license | kururu-zzz/DirectWrite | f3599ae83c0edefb574ccd9c0026a151a68fbfbf | 19fe366832ec04cbcdb79db799eb8088ced376ad | refs/heads/master | 2021-01-10T08:00:53.148408 | 2015-12-17T04:51:31 | 2015-12-17T04:51:31 | 48,152,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | h | /*
*
* 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-2014 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
*
*/
#ifndef HKBASE_HKMEMUTIL_H
#define HKBASE_HKMEMUTIL_H
/// Utility functions to copy memory.
namespace hkMemUtil
{
template <unsigned int NBYTES> struct TypeFromAlign;
template <> struct TypeFromAlign<1> { typedef char type; };
template <> struct TypeFromAlign<2> { typedef hkInt16 type; };
template <> struct TypeFromAlign<4> { typedef hkInt32 type; };
template <> struct TypeFromAlign<8> { typedef hkInt64 type; };
template <unsigned int NBYTES> struct TypeFromAlign: public TypeFromAlign<NBYTES/2> {};
// called from hkArray::removeAt
template <unsigned int ELEMENTSIZE, unsigned int ELEMENTALIGN>
HK_FORCE_INLINE void memCpyOneAligned(void* dst, const void* src);
template <unsigned int ELEMENTALIGN>
HK_FORCE_INLINE void memCpy(void* dst, const void* src, int nbytes);
HK_EXPORT_COMMON void HK_CALL memCpy(void* dst, const void* src, int nbytes);
HK_EXPORT_COMMON void HK_CALL memCpyBackwards(void* dst, const void* src, int nbytes);
HK_EXPORT_COMMON void HK_CALL memMove(void* dst, const void* src, int nbytes);
HK_EXPORT_COMMON void HK_CALL memSet(void* dst, const int c, int n);
}
#include <Common/Base/Memory/Util/hkMemUtil.inl>
#endif // HKBASE_HKMEMUTIL_H
/*
* Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20140907)
*
* Confidential Information of Havok. (C) Copyright 1999-2014
* 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 at www.havok.com/tryhavok.
*
*/
| [
"kurukuru.0844808@gmail.com"
] | kurukuru.0844808@gmail.com |
1e746b4d12a2e98a6bfca395f5eeda796fa34c51 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /codeforce/CF_118A.cpp | f5c6ff0121b10ec110d958c9d72c0ae90c513343 | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include<stdio.h>
#include<string.h>
int main(){
char s[100];
scanf("%s",&s);
for(int i=0;i<strlen(s);i++){
if(s[i] == 'A' || s[i] == 'O'|| s[i] == 'Y'|| s[i] == 'E'|| s[i] == 'U'|| s[i] == 'I'
|| s[i] == 'a'|| s[i] == 'o'|| s[i] == 'y'|| s[i] == 'e'|| s[i] == 'u'|| s[i] == 'i'){
continue;
}else{
if(s[i] <= 'Z'){
printf(".%c",s[i]+32);
}else{
printf(".%c",s[i]);
}
}
}
return 0;
}
| [
"imss5ss@outlook.com"
] | imss5ss@outlook.com |
cbfbd76c340ed117f4dcb717a907f3f93ce7039b | 0b47c44e9f860cb820e1db22420b9359ddf885fc | /Week_05/G20200343030558/LeetCode-91-558.cpp | 9181c29660083b5bdaf63394b8ea97496d40b742 | [] | no_license | maxminute/algorithm006-class02 | f71f9e8d2f59b1f7bbde434182a29c09792795d2 | 320d978f3a18751ebbac0c2c9a45462cdcc4cbc6 | refs/heads/master | 2021-01-02T03:17:20.549719 | 2020-04-05T14:54:22 | 2020-04-05T14:54:22 | 239,468,160 | 0 | 2 | null | 2020-04-05T14:54:23 | 2020-02-10T09:01:46 | Java | UTF-8 | C++ | false | false | 726 | cpp | #include <vector>
#include <string>
using namespace std;
int numDecodings(string s) {
if(s.size()==0 || s[0] == '0')
return 0;
if(s.size() == 1)
return 1;
vector<int> dp(s.size()+1,0);
dp[0] = dp[1] = 1;
for(int i=1;i<s.size();i++){
if(s[i] == '0' ){
if((s[i-1] == '1'||s[i-1] == '2')){
dp[i+1] = dp[i-1];
}
}
else{
if(s[i-1] == '1' ||(s[i-1] == '2' && s[i] <='6'))
dp[i+1] = dp[i-1]+dp[i];
else
dp[i+1]=dp[i];
}
}
return dp[s.size()];
} | [
"1198578682@qq.com"
] | 1198578682@qq.com |
67f3af48e1def9251187fd0a3363f5b02a75ac86 | ccc43d07758f1dda046c5d327df178f2e4406dbd | /leetcode/分数到小数.cpp | 00d76f05574dc9d466edfa202c93ccde64eb1e81 | [] | no_license | dengbohhxx/vscode | db36eb0b4b8edb6cc64c91e67f18ac39bf07516c | 13abdc92788985ee0299b0d0aa436188780de7f8 | refs/heads/master | 2023-03-31T16:04:41.839580 | 2021-04-04T08:36:29 | 2021-04-04T08:36:29 | 298,458,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | class Solution {
public:
string fractionToDecimal(int numerator, int denominator) {
if(numerator==0)
return "0";
if(denominator==0)
return "";
string result;
long long num=(long long)numerator;
long long denom=(long long)denominator;
if((num>0)^(denom>0))
result.push_back('-');
num=llabs(num);
denom=llabs(denom);
result+=to_string(num/denom);
num%=denom;
if(num==0)
return result;
result.push_back('.');
int index=result.size()-1;
unordered_map<int,int> hash;
while(num&&hash.count(num)==0)
{
hash[num]=++index;
num*=10;
result+=to_string(num/denom);
num%=denom;
}
if(hash.count(num)>0)
{
result.insert(hash[num],"(");
result.push_back(')');
}
return result;
}
}; | [
"dengbohhxx@sina.com"
] | dengbohhxx@sina.com |
2c1d9f8e7e9c079a79953346946bbd60e82d8bda | 8d1a3dc6006d89f8a1405ce0eb000d0ae9f122a4 | /part_3/co_overhead/server.cpp | d36b27d49b4382bde71b0adffbc5fd5f8be654a9 | [] | no_license | Cylix/cse_221_experiments | 5815350dfd7cdb0855fb9d09a169b24394ad7005 | b9d9b5f290e44dc642115efb1de806dcfa545617 | refs/heads/master | 2023-08-26T03:22:54.689211 | 2016-05-28T08:52:21 | 2016-05-28T08:52:21 | 58,836,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | cpp | #include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
uint64_t
rdtscp(void) {
uint32_t eax, edx;
__asm__ __volatile__("rdtscp" //! rdtscp instruction
: "+a" (eax), "=d" (edx) //! output
: //! input
: "%ecx"); //! registers
return (((uint64_t)edx << 32) | eax);
}
int
main(int ac , char** av) {
if (ac != 2) {
std::cout << "./bin port" << std::endl;
return -1;
}
// create socket
int fd = socket(AF_INET , SOCK_STREAM , 0);
if (fd < 0) {
std::cout << "fail socket()" << std::endl;
return -1;
}
struct sockaddr_in server;
server.sin_family = AF_INET;
server.sin_addr.s_addr = INADDR_ANY;
server.sin_port = htons(atoi(av[1]));
// bind
if(bind(fd, (const struct sockaddr *)&server , sizeof(server)) < 0) {
std::cout << "fail bind()" << std::endl;
return -1;
}
// listen
listen(fd , 1024);
//! get client
int size = sizeof(struct sockaddr_in);
struct sockaddr_in client;
int client_fd;
while ((client_fd = accept(fd, (struct sockaddr *)&client, (socklen_t*)&size))) {
if (client_fd < 0) {
std::cout << "fail accept()" << std::endl;
return 1;
}
sleep(1);
uint64_t start = rdtscp();
close(client_fd);
uint64_t end = rdtscp();
std::cout << (end - start - 34) << std::endl;
}
close(fd);
return 0;
}
| [
"simon.ninon@gmail.com"
] | simon.ninon@gmail.com |
091397c2bc0f2562d5a46ee2f25c100e637cec0e | b4df7727cbf4b6fd23d6be3e09a3eb4238770cb9 | /MATRIX/SPARSE/Create & Display Sparse Matrix.cpp | ac44ae303d86532106bde1074c5bf61f8f0f9b1a | [] | no_license | skjha1/Data-Structures-Algorithms | 38eda01c802ffc617542654fada5796bdb149141 | 1cca63869ae5074edc6fb073475545b2a029cd4e | refs/heads/master | 2022-12-27T00:24:47.100700 | 2020-10-01T05:34:42 | 2020-10-01T05:34:42 | 286,944,867 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | #include<stdio.h>
#include<stdlib.h>
struct Element
{
int i; //for row number
int j; //for column number
int x; //for the element itself
};
struct Sparse
{
int m; //no of rows
int n; //no of columns
int num; //number of non zero elements
struct Element *ele; //create an array of element structure dynamically
};
void create(struct Sparse *s)
{
int i;
printf("Enter dimensions: \n");
scanf("%d %d", &s->m, &s->n);
printf("Enter number of non zero elements: \n");
scanf("%d", &s->num);
s->ele = (struct Element *)malloc(s->num * sizeof(struct Element));
printf("Enter all non zero elements \n");
for(i=0;i<s->num;i++)
scanf("%d%d%d", &s->ele[i].i, &s->ele[i].j, &s->ele[i].x);
}
void display(struct Sparse s)
{
int i,j,k=0; //k for non zero elements
for(i=0;i<s.m;i++)
{
for(j=0;j<s.n;j++)
{
if( i == s.ele[k].i && j == s.ele[k].j) //for checking if i equals to the i of element array and if j equals to the j of element array
{
printf("%d ",s.ele[k++].x); //incrementing k also
}
else
printf("0 ");
}
printf("\n");
}
}
int main()
{
struct Sparse s;
create(&s);
printf("\n");
display(s);
return 0;
}
| [
"noreply@github.com"
] | skjha1.noreply@github.com |
66fca98dbac92826b87d39853e3b7348c2d64b55 | a41e5f042c74b86000c57501341ddbd535caf640 | /src/inet/applications/tcpapp/TcpVideoStreamCliApp.cc | dd4b7568cfb99fd6cd038b62318d6878e85133a4 | [] | no_license | andersonandrei/inet | 6aee3e5492ae267891080d6f0225335945761f19 | fd9b8b2b53500d1991326fcf2afd80f1723a7f50 | refs/heads/master | 2020-03-15T14:34:28.717575 | 2018-06-09T03:07:03 | 2018-06-09T03:07:03 | 132,192,329 | 0 | 1 | null | 2018-05-04T21:50:45 | 2018-05-04T21:50:45 | null | UTF-8 | C++ | false | false | 10,277 | cc | /*
* TcpVideoStreamCliApp.cc
*
* It's an adaptation of the code of Navarro Joaquim (https://github.com/navarrojoaquin/adaptive-video-Tcp-omnet).
* Created on 8 de dez de 2017 by Anderson Andrei da Silva & Patrick Menani Abrahao at University of Sao Paulo.
*
*/
#include "TcpVideoStreamCliApp.h"
#include "inet/applications/tcpapp/GenericAppMsg_m.h"
namespace inet {
#define MSGKIND_CONNECT 0
#define MSGKIND_SEND 1
#define MSGKIND_VIDEO_PLAY 2
//Register_Class(TcpVideoStreamCliApp);
Define_Module(TcpVideoStreamCliApp);
simsignal_t TcpVideoStreamCliApp::packetReceived = registerSignal("packetReceived");
simsignal_t TcpVideoStreamCliApp::packetSent = registerSignal("packetSent");
TcpVideoStreamCliApp::~TcpVideoStreamCliApp() {
cancelAndDelete(timeoutMsg);
}
TcpVideoStreamCliApp::TcpVideoStreamCliApp() {
timeoutMsg = NULL;
}
void TcpVideoStreamCliApp::initialize(int stage) {
TcpBasicClientApp::initialize(stage);
if (stage != 3)
return;
// read Adaptive Video (AV) parameters
const char *str = par("video_packet_size_per_second").stringValue();
video_packet_size_per_second = cStringTokenizer(str).asIntVector();
video_buffer_max_length = par("video_buffer_max_length");
video_duration = par("video_duration");
manifest_size = par("manifest_size");
numRequestsToSend = video_duration;
WATCH(video_buffer);
video_buffer = 0;
DASH_buffer_length_signal = registerSignal("DASHBufferLength");
emit(DASH_buffer_length_signal, video_buffer);
video_playback_pointer = 0;
WATCH(video_playback_pointer);
DASH_playback_pointer = registerSignal("DASHVideoPlaybackPointer");
emit(DASH_playback_pointer, video_playback_pointer);
video_current_quality_index = 0; // start with min quality
DASH_quality_level_signal = registerSignal("DASHQualityLevel");
emit(DASH_quality_level_signal, video_current_quality_index);
video_is_playing = false;
DASH_video_is_playing_signal = registerSignal("DASHVideoPlaybackStatus");
//emit(DASH_video_is_playing_signal, video_is_playing);
//statistics
msgsRcvd = msgsSent = bytesRcvd = bytesSent = 0;
WATCH(msgsRcvd);
WATCH(msgsSent);
WATCH(bytesRcvd);
WATCH(bytesSent);
WATCH(numRequestsToSend);
//simtime_t startTime = par("startTime");
video_startTime = par("video_startTime").doubleValue();
stopTime = par("stopTime");
if (stopTime != 0 && stopTime <= video_startTime)
error("Invalid startTime/stopTime parameters");
timeoutMsg = new cMessage("timer");
timeoutMsg->setKind(MSGKIND_CONNECT);
//scheduleAt(startTime, timeoutMsg);
EV<< "start time: " << video_startTime << "\n";
scheduleAt(simTime()+(simtime_t)video_startTime, timeoutMsg);
}
void TcpVideoStreamCliApp::sendRequest() {
EV<< "sending request, " << numRequestsToSend-1 << " more to go\n";
// Request length
long requestLength = par("requestLength");
if (requestLength < 1) requestLength = 1;
// Reply length
long replyLength = -1;
if (manifestAlreadySent) {
replyLength = video_packet_size_per_second[video_current_quality_index] / 8 * 1000; // kbits -> bytes
// Log requested quality
emit(DASH_quality_level_signal, video_current_quality_index);
numRequestsToSend--;
// Switching algoritm
tLastPacketRequested = simTime();
} else {
replyLength = manifest_size;
EV<< "sending manifest request\n";
}
msgsSent++;
bytesSent += requestLength;
const auto& payload = makeShared<GenericAppMsg>();
Packet *packet = new Packet("data");
payload->setChunkLength(B(requestLength));
payload->setExpectedReplyLength(replyLength);
payload->setServerClose(false);
packet->insertAtBack(payload);
sendPacket(packet);
}
void TcpVideoStreamCliApp::handleTimer(cMessage *msg) {
switch (msg->getKind()) {
case MSGKIND_CONNECT:
EV<< "starting session\n";
emit(DASH_video_is_playing_signal, video_is_playing);
connect(); // active OPEN
break;
case MSGKIND_SEND:
sendRequest();
// no scheduleAt(): next request will be sent when reply to this one
// arrives (see socketDataArrived())
break;
case MSGKIND_VIDEO_PLAY:
EV<< "---------------------> Video play event";
cancelAndDelete(msg);
video_buffer--;
emit(DASH_buffer_length_signal, video_buffer);
video_playback_pointer++;
emit(DASH_playback_pointer, video_playback_pointer);
if (video_buffer == 0) {
video_is_playing = false;
//cTimestampedValue tmp(simTime() + (simtime_t) 1, (long) video_is_playing);
//emit(DASH_video_is_playing_signal, &tmp);
emit(DASH_video_is_playing_signal, video_is_playing);
}
if (video_buffer > 0) {
simtime_t d = simTime() + 1;
cMessage *videoPlaybackMsg = new cMessage("playback");
videoPlaybackMsg->setKind(MSGKIND_VIDEO_PLAY);
scheduleAt(d, videoPlaybackMsg);
//rescheduleOrDeleteTimer(d, MSGKIND_VIDEO_PLAY);
}
if (!video_is_buffering && numRequestsToSend > 0) {
// Now the buffer has some space
video_is_buffering = true;
simtime_t d = simTime();
rescheduleOrDeleteTimer(d, MSGKIND_SEND);
}
break;
default:
throw cRuntimeError("Invalid timer msg: kind=%d", msg->getKind());
}
}
void TcpVideoStreamCliApp::socketEstablished(int connId, void *ptr) {
TcpBasicClientApp::socketEstablished(connId, ptr);
// perform first request
sendRequest();
}
void TcpVideoStreamCliApp::rescheduleOrDeleteTimer(simtime_t d,
short int msgKind) {
cancelEvent (timeoutMsg);
if (stopTime == 0 || stopTime > d) {
timeoutMsg->setKind(msgKind);
scheduleAt(d, timeoutMsg);
} else {
delete timeoutMsg;
timeoutMsg = NULL;
}
}
void TcpVideoStreamCliApp::socketDataArrived(int connId, void *ptr, Packet *msg,
bool urgent) {
TcpAppBase::socketDataArrived(connId, ptr, msg, urgent);
if (!manifestAlreadySent) {
manifestAlreadySent = true;
if (timeoutMsg) {
// Send new request
simtime_t d = simTime();
rescheduleOrDeleteTimer(d, MSGKIND_SEND);
}
return;
}
// Switching algorithm
packetTimePointer = (packetTimePointer + 1) % packetTimeArrayLength;
packetTime[packetTimePointer] = simTime() - tLastPacketRequested;
video_buffer++;
emit(DASH_buffer_length_signal, video_buffer);
// Update switch timer
if(!can_switch) {
switch_timer--;
if (switch_timer == 0) {
can_switch = true;
switch_timer = switch_timeout;
}
}
// Full buffer
if (video_buffer == video_buffer_max_length) {
video_is_buffering = false;
// switch to higher quality (if possible)
if (can_switch) {
// Switching algorithm
simtime_t tSum = 0;
for (int i = 0; i < packetTimeArrayLength; i++) {
tSum = tSum + packetTime[i];
}
double estimatedBitRate = (packetTimeArrayLength * video_packet_size_per_second[video_current_quality_index]) / tSum;
EV<< "---------------------> Bit rate estimation:\n";
EV<< "---------------------> Estimated bit rate = " << estimatedBitRate << "\n";
int qmax = video_packet_size_per_second.size() -1;
if (estimatedBitRate > video_packet_size_per_second[std::min(video_current_quality_index + 1, qmax)]) {
video_current_quality_index = std::min(video_current_quality_index + 1, qmax);
can_switch = false;
}
}
// the next video fragment will be requested when the buffer gets some space, so nothing to do here.
return;
}
EV<< "---------------------> Buffer=" << video_buffer << " min= " << video_buffer_min_rebuffering << "\n";
// Exit rebuffering state and continue the video playback
if (video_buffer > video_buffer_min_rebuffering || (numRequestsToSend == 0 && video_playback_pointer < video_duration) ) {
if (!video_is_playing) {
video_is_playing = true;
emit(DASH_video_is_playing_signal, video_is_playing);
simtime_t d = simTime() + 1; // the +1 represents the time when the video fragment has been consumed and therefore has to be removed from the buffer.
cMessage *videoPlaybackMsg = new cMessage("playback");
videoPlaybackMsg->setKind(MSGKIND_VIDEO_PLAY);
scheduleAt(d, videoPlaybackMsg);
//rescheduleOrDeleteTimer(d, MSGKIND_VIDEO_PLAY);
}
} else {
video_current_quality_index = std::max(video_current_quality_index - 1, 0);
}
if (numRequestsToSend > 0) {
EV<< "reply arrived\n";
if (timeoutMsg)
{
// Send new request
simtime_t d = simTime();
rescheduleOrDeleteTimer(d, MSGKIND_SEND);
}
int recvd = video_packet_size_per_second[video_current_quality_index] / 8 * 1000;
msgsRcvd++;
bytesRcvd += recvd;
}
else
{
EV << "reply to last request arrived, closing session\n";
close();
}
}
void TcpVideoStreamCliApp::socketClosed(int connId, void *ptr) {
TcpBasicClientApp::socketClosed(connId, ptr);
// Nothing to do here...
}
void TcpVideoStreamCliApp::socketFailure(int connId, void *ptr, int code) {
TcpBasicClientApp::socketFailure(connId, ptr, code);
// reconnect after a delay
if (timeoutMsg) {
simtime_t d = simTime() + (simtime_t) par("reconnectInterval");
rescheduleOrDeleteTimer(d, MSGKIND_CONNECT);
}
}
void TcpVideoStreamCliApp::refreshDisplay() const
{
char buf[64];
sprintf(buf, "rcvd: %ld pks %ld bytes\nsent: %ld pks %ld bytes", msgsRcvd, bytesRcvd, msgsSent, bytesSent);
getDisplayString().setTagArg("t", 0, buf);
}
}
| [
"andrei@charizard.charizard"
] | andrei@charizard.charizard |
d4da4a3e84947671d9efa2a982e20e3be5b5170f | 31dcc420ca07d7a7ae8b0b151d0393f3f6e3caa3 | /就職作品用/Src/Game/Gimmick/Box_1/Box_1.cpp | 8857a1e66ce5f3df3501e0aa627187dd51317659 | [] | no_license | NakataniKeiga/KazukiWatanabe_Is_Ihou_Kenchiku | 198680ecdb63b177f5e89cc6ab3ecb2d5d50ec6c | 836c6c1504015a3acedeb48aad6173d823a15068 | refs/heads/main | 2023-08-11T08:50:46.582670 | 2021-09-22T14:43:58 | 2021-09-22T14:43:58 | 408,083,811 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,438 | cpp | #include"Box_1.h"
#include"../../../Lib/math/Hit/Hit.h"
#include"../../Input/Input.h"
#include"../../Character/Player/Player.h"
#include"../../Collision/CollisionManager.h"
static const char* BOX_PATH_S = { "Data/model/Box/Box.x" };
const VECTOR BOX_SCALE = { 0.01f, 0.01f, 0.01f };
const float BOX_RADIUS = 1.5f;
const float GRAVITY_SPEED = 0.0f;
//初期化
void CBox_1::Init()
{
m_kind = BOX_GIMMICK;
memset(&m_vRot, 0, sizeof(VECTOR));
memset(&m_vGravity, 0, sizeof(VECTOR));
m_vMove = VGet(0.0f, 0.0f, 0.0f);
m_vScale = BOX_SCALE;
m_fRadius = BOX_RADIUS;
m_fGravity = GRAVITY_SPEED;
m_isHave = false;
Load();
}
//ロード処理
void CBox_1::Load()
{
m_iHndl = MV1LoadModel(BOX_PATH_S);
}
//メイン処理
void CBox_1::Step()
{
/*CPlayer* Player = CPlayer::GetInstance();
if (CInputKey::IsPuch(KEY_INPUT_SPACE))
{
if (CHit::IsHitSphereToSphere(Player->GetHitPos(), Player->GetRadius(), m_vPos, m_fRadius))
{
if (Player->GetShove() == true)
{
m_isHave = false;
Player->SetShove(false);
}
else if (Player->GetShove() == false)
{
m_isHave = true;
Player->SetShove(true);
}
}
}
if (m_isHave == true)
{
VECTOR PlayerHand = VAdd(Player->GetHitPos(), VGet(0.0f, 2.0f, 0.0f));
m_vPos = VAdd(PlayerHand, m_vMove);
}
else
{
m_vMove.z = 0.0f;
m_vMove.z = 0.0f;
}*/
}
//
void CBox_1::Update()
{
if (m_isHave == false)
{
m_vGravity.y -= m_fGravity;
}
m_vPos = VAdd(m_vPos, m_vGravity);
MV1SetPosition(m_iHndl, m_vPos);
MV1SetRotationXYZ(m_iHndl, m_vRot);
MV1SetScale(m_iHndl, m_vScale);
}
//描画処理
void CBox_1::Draw()
{
MV1DrawModel(m_iHndl);
}
//終了処理
void CBox_1::Fin()
{
MV1DeleteModel(m_iHndl);
}
void CBox_1::Collision()
{
CCollisionManager::CollCchekBoxToGimmick(this);
}
void CBox_1::PlayerHit(CPlayer* player)
{
}
void CBox_1::PlayerHitPosHit(CPlayer* player)
{
if (CInputKey::IsPuch(KEY_INPUT_SPACE))
{
if (CHit::IsHitSphereToSphere(player->GetHitPos(), player->GetRadius(), m_vPos, m_fRadius))
{
if (player->GetShove() == true)
{
m_isHave = false;
player->SetShove(false);
}
else if (player->GetShove() == false)
{
m_isHave = true;
player->SetShove(true);
}
}
}
if (m_isHave == true)
{
VECTOR PlayerHand = VAdd(player->GetHitPos(), VGet(0.0f, 2.0f, 0.0f));
m_vPos = VAdd(PlayerHand, m_vMove);
}
else
{
m_vMove.z = 0.0f;
m_vMove.z = 0.0f;
}
} | [
"tobun6212@gmail.com"
] | tobun6212@gmail.com |
25974223042b31c26476e10f01b18795c62a02e2 | ff6fc65d946ba1933744d3c66cdf18f84467d80e | /progressWidget/progresswidget.h | df596d0676113a48ad0bc4a7bc0c9c0d65db19df | [] | no_license | sadikul1500/bangla-braille-to-text-translator | 8e3dd0128033505254a20c565d6fe7dd48b7452f | adf3499c4f8ce45fae1cb906815d57bf61f2ef89 | refs/heads/master | 2023-08-05T23:34:21.395897 | 2021-08-28T06:48:13 | 2021-08-28T06:48:13 | 294,877,297 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | h | #ifndef PROGRESSWIDGET_H
#define PROGRESSWIDGET_H
#include <QWidget>
class QProgressBar;
class QLabel;
class QPushButton;
class QHBoxLayout;
class QVBoxLayout;
class progressWidget : public QWidget
{
Q_OBJECT
public:
progressWidget(QWidget *parent = nullptr);
void setMaximum(int numberOfLine,int numberOfFile);
void setText(const QString &text);
void setValue(int filePos,int linePos);
bool processing(){ return isProcessing;}
bool cancelled(){ return isCancelled;}
void makeCancel();
QSize sizeHint() const { return QSize(500,QWidget::sizeHint().height());}
~progressWidget();
signals:
void processingStarted();
void processingEnded();
void processCancelled();
private:
void initMemWidget();
void connectWidget();
void layoutWidget();
private slots:
void on_startingProcess();
void on_endignProcess();
protected:
void closeEvent(QCloseEvent *event);
private:
QProgressBar *individualProgressBar,*allProgressBar;
QLabel *textShowLabel;
QPushButton *cancellButton;
QHBoxLayout *cancelLay;
QVBoxLayout *mainLay;
bool isProcessing;
bool isCancelled;
int numberOfFiles,numberOfLines;
};
#endif // PROGRESSWIDGET_H
| [
"noreply@github.com"
] | sadikul1500.noreply@github.com |
6093da02a5a9e632a2eb2d761ac313a13bcd8472 | 7f31ea94c1ebcfc3ed1c5b357e67ea9f945d29c5 | /pixels.cpp | 6caa96baa84e74978111c30efe928af434b2d531 | [
"Zlib"
] | permissive | lroeck1/Ray-Tracer | 04ad39853715fe465f36c8b9fa347bd03008c9a8 | 70e314c4430de4926c83feb5cf1deed91471c861 | refs/heads/main | 2023-04-04T22:43:11.506100 | 2021-04-15T22:25:50 | 2021-04-15T22:25:50 | 355,342,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include "pixels.h"
#include "lodepng.h"
#include <fstream>
#include <cmath>
Pixels::Pixels()
:width{0}, height{0}, values{0}{}
Pixels::Pixels(unsigned width, unsigned height)
:width{width}, height{height}, values(width*height) {}
const Color& Pixels::operator()(unsigned i, unsigned j) const {
return values[i*width +j];
}
Color& Pixels::operator()(unsigned i, unsigned j) {
return values[i*width +j];
}
void Pixels::save_ppm(const std::string& filename) {
std::ofstream output(filename);
std::fstream input;
if (!output) {
throw std::runtime_error("Cannot open output file: " + filename);
}
std::vector<unsigned int> data;
for (int i = 0; i < values.size(); i++) {
data.push_back(to_color<unsigned>(values[i].x));
data.push_back(to_color<unsigned>(values[i].y));
data.push_back(to_color<unsigned>(values[i].z));
}
for (int i = 0; i < values.size(); i++) {
input << data[i] << " ";
}
}
void Pixels::save_png(const std::string& filename) {
std::ofstream output(filename);
if(!output) {
throw std::runtime_error("Cannot open output file: " + filename);
}
std::vector<unsigned char> data;
for (auto c : values) {
data.push_back(to_color<unsigned char>(c.x));
data.push_back(to_color<unsigned char>(c.y));
data.push_back(to_color<unsigned char>(c.z));
data.push_back(255);
}
unsigned error = lodepng::encode(filename, data, width, height);
if (error) {
throw std::runtime_error(lodepng_error_text(error));
}
}
double gamma_correction(double value) {
// double gamma = 2.2;
double gamma = 1.0;
return std::pow(value, 1/gamma);
}
| [
"noreply@github.com"
] | lroeck1.noreply@github.com |
d3c071b921f7dd6d7b32b1df4851de8668221bef | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE563_Unused_Variable/CWE563_Unused_Variable__unused_value_struct_72a.cpp | d43904b307735da524747040f9c43a13a9436d51 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE563_Unused_Variable__unused_value_struct_72a.cpp
Label Definition File: CWE563_Unused_Variable__unused_value.label.xml
Template File: sources-sinks-72a.tmpl.cpp
*/
/*
* @description
* CWE: 563 Unused Variable
* BadSource: Initialize data
* GoodSource: Initialize and use data
* Sinks:
* GoodSink: Use data
* BadSink : Initialize and use data
* Flow Variant: 72 Data flow: data passed in a vector from one function to another in different source files
*
* */
#include "std_testcase.h"
#include <vector>
#include <wchar.h>
using namespace std;
namespace CWE563_Unused_Variable__unused_value_struct_72
{
#ifndef OMITBAD
/* bad function declaration */
void badSink(vector<twoIntsStruct> dataVector);
void bad()
{
twoIntsStruct data;
vector<twoIntsStruct> dataVector;
/* POTENTIAL FLAW: Initialize, but do not use data */
data.intOne = 0;
data.intTwo = 0;
/* Put data in a vector */
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
badSink(dataVector);
}
#endif /* OMITBAD */
#ifndef OMITGOOD
/* goodG2B uses the GoodSource with the BadSink */
void goodG2BSink(vector<twoIntsStruct> dataVector);
static void goodG2B()
{
twoIntsStruct data;
vector<twoIntsStruct> dataVector;
/* FIX: Initialize and use data before it is overwritten */
data.intOne = 0;
data.intTwo = 0;
printStructLine(&data);
/* Put data in a vector */
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
goodG2BSink(dataVector);
}
/* goodB2G uses the BadSource with the GoodSink */
void goodB2GSink(vector<twoIntsStruct> dataVector);
static void goodB2G()
{
twoIntsStruct data;
vector<twoIntsStruct> dataVector;
/* POTENTIAL FLAW: Initialize, but do not use data */
data.intOne = 0;
data.intTwo = 0;
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
dataVector.insert(dataVector.end(), 1, data);
goodB2GSink(dataVector);
}
void good()
{
goodG2B();
goodB2G();
}
#endif /* OMITGOOD */
} /* close namespace */
/* Below is the main(). It is only used when building this testcase on
its own for testing or for building a binary to use in testing binary
analysis tools. It is not used when compiling all the testcases as one
application, which is how source code analysis tools are tested. */
#ifdef INCLUDEMAIN
using namespace CWE563_Unused_Variable__unused_value_struct_72; /* so that we can use good and bad easily */
int main(int argc, char * argv[])
{
/* seed randomness */
srand( (unsigned)time(NULL) );
#ifndef OMITGOOD
printLine("Calling good()...");
good();
printLine("Finished good()");
#endif /* OMITGOOD */
#ifndef OMITBAD
printLine("Calling bad()...");
bad();
printLine("Finished bad()");
#endif /* OMITBAD */
return 0;
}
#endif
| [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
b3d95f0e1f7e78397aa6e2a438398bbd60603371 | 1b5b5fb94decc8176bc195903cd2138b74b7354a | /Coursera_MIPT_Yandex_Courses/Brown_Belt_C++/tree_expression/Common.h | b5356c072abc6df3588e88b9c0d8d5fa0cab4f5f | [] | no_license | ArtTolston/myrepository | 7e803de0cab50574f4068296d1701b4ede4c833b | 42ce5a44714c21ac03032e0c6bfa76db3ca7fc00 | refs/heads/master | 2023-06-22T15:47:21.253358 | 2023-06-20T19:01:21 | 2023-06-20T19:01:21 | 155,464,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | h | #pragma once
#include <memory>
#include <string>
// Базовый класс арифметического выражения
class Expression {
public:
virtual ~Expression() = default;
// Вычисляет значение выражения
virtual int Evaluate() const = 0;
// Форматирует выражение как строку
// Каждый узел берётся в скобки, независимо от приоритета
virtual std::string ToString() const = 0;
};
using ExpressionPtr = std::unique_ptr<Expression>;
// Функции для формирования выражения
ExpressionPtr Value(int value);
ExpressionPtr Sum(ExpressionPtr left, ExpressionPtr right);
ExpressionPtr Product(ExpressionPtr left, ExpressionPtr right);
//class Operand : public Expression {
//public:
// Operand(const int& value);
//
// int Evaluate() const override;
//
// std::string ToString() const override;
//
//private:
// int operand;
//};
//
//class Operator : public Expression {
//public:
// Operator(ExpressionPtr left_, ExpressionPtr right_, Operators oper_);
//
// int Evaluate() const override;
//
// std::string ToString() const override;
//
//private:
// ExpressionPtr left;
// ExpressionPtr right;
// Operators oper;
//};
| [
"Arttol2000@yandex.ru"
] | Arttol2000@yandex.ru |
2277765475d420d33f798b4bb2a2786a01ecd161 | f6a1797248747340827bf8bd234c5a9fbf287a43 | /0716/c++primer/10.3.9_c++primer.h | 1d308132a80c2bf98e848e2273319afc8bda905f | [] | no_license | Andrew-liu/learn_cplusplus | b58e90ee3723610b9d59762f9300b5598d89e00d | d5f0f4a40a6d7155a0a2746ec6acf1dcde1012eb | refs/heads/master | 2016-09-05T22:38:42.123786 | 2014-08-07T06:53:51 | 2014-08-07T06:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef _WORD_
#define _WORD_
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <algorithm>
#include <fstream>
using namespace std;
class Word
{
public:
Word();
~Word();
void open_file();
void read_pair();
void output();
private:
map<string, string> map_;
ifstream rpair_;//读pair取用
ifstream cpair_;//读转换文本用
std::string rfile_;
std::string cfile_;
};
#endif
| [
"xujie@ubuntu.(none)"
] | xujie@ubuntu.(none) |
f5a11d606d488265827fda7632980c9c12f123e4 | a50d5815de6ce75a6ca22188110dfaed432933c5 | /src/02_lighting/light_casters.direction.cpp | d23652ad754b6ae022c888c9a0f20415587d92f9 | [] | no_license | kaaass/learnopengl_exercise | 9d39de62d791c3fe62d0d4759f66b9fbdfb6d895 | f3c7693340b795dfeeda383c1cdedb5ee8e01a1f | refs/heads/master | 2021-01-07T00:10:57.035136 | 2020-03-22T09:27:29 | 2020-03-22T09:27:29 | 241,522,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,930 | cpp | #include <iostream>
#include <cmath>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "../shader_s.h"
#define STB_IMAGE_IMPLEMENTATION
#include "../stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "vertex_data_textures.h"
#include "../camera.h"
const char* vertShaderPath = "shader/light_casters.vs";
const char* fragShaderPath = "shader/light_casters.direction.fs";
const char* lampVertShaderPath = "shader/colors.vs";
const char* lampFragShaderPath = "shader/colors_light.fs";
int screenWidth = 800;
int screenHeight = 600;
Shader* lightingShader = nullptr;
Shader* lampShader = nullptr;
unsigned int VBO;
unsigned int VAO;
unsigned int lightVAO;
unsigned int diffuseMap;
unsigned int specularMap;
float deltaTime = 0.0f;
float lastFrame = 0.0f;
glm::vec3 lightPos(1.2f, 1.0f, 2.0f);
Camera* camera = nullptr;
float lastX = screenWidth / 2;
float lastY = screenHeight / 2;
bool firstMouse = true;
glm::vec3 cubePositions[] = {
glm::vec3( 0.0f, 0.0f, 0.0f),
glm::vec3( 2.0f, 5.0f, -15.0f),
glm::vec3(-1.5f, -2.2f, -2.5f),
glm::vec3(-3.8f, -2.0f, -12.3f),
glm::vec3( 2.4f, -0.4f, -3.5f),
glm::vec3(-1.7f, 3.0f, -7.5f),
glm::vec3( 1.3f, -2.0f, -2.5f),
glm::vec3( 1.5f, 2.0f, -2.5f),
glm::vec3( 1.5f, 0.2f, -1.5f),
glm::vec3(-1.3f, 1.0f, -1.5f)
};
int loadTexture(char * filepath, int mode = GL_RGB) {
unsigned int texture;
std::cout << "Start loading texture: " << filepath << std::endl;
// Create texture
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
// Configure wrap and filter type
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
// Load and generate texture
int width, height, nrChannels;
stbi_set_flip_vertically_on_load(true);
unsigned char *data = stbi_load(filepath, &width, &height, &nrChannels, 0);
if (data) {
glTexImage2D(GL_TEXTURE_2D, 0, mode, width, height, 0, mode, GL_UNSIGNED_BYTE, data);
glGenerateMipmap(GL_TEXTURE_2D);
} else {
std::cout << "Failed to load texture" << std::endl;
}
// Free image
stbi_image_free(data);
return texture;
}
void prepareDraw() {
// Load texture
diffuseMap = loadTexture("image/container2.png", GL_RGBA);
specularMap = loadTexture("image/container2_specular.png", GL_RGBA);
// Create camera
camera = new Camera(glm::vec3(1.0f, 1.0f, 5.0f));
// Create VBO, VAO
glGenBuffers(1, &VBO);
glGenVertexArrays(1, &VAO);
glGenVertexArrays(1, &lightVAO);
// Rectangle
glBindVertexArray(VAO);
glBindBuffer(GL_ARRAY_BUFFER, VBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
// Pos
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)0);
glEnableVertexAttribArray(0);
// Normal
glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(3 * sizeof(float)));
glEnableVertexAttribArray(1);
// Texture
glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(6 * sizeof(float)));
glEnableVertexAttribArray(2);
glBindVertexArray(lightVAO);
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)0);
glEnableVertexAttribArray(0);
}
void drawStaff() {
lightingShader->use();
// Projection matrix
glm::mat4 projection;
projection = glm::perspective(glm::radians(camera->zoom), (float) screenWidth / screenHeight, 0.1f, 100.0f);
// Pass the transform matrixs
lightingShader->setMat4("view", camera->getViewMatrix());
lightingShader->setMat4("projection", projection);
// Lighting
lightingShader->setVec3("viewPos", camera->position);
lightingShader->setVec3("light.ambient", 0.2f, 0.2f, 0.2f);
lightingShader->setVec3("light.diffuse", 0.5f, 0.5f, 0.5f);
lightingShader->setVec3("light.specular", 1.0f, 1.0f, 1.0f);
lightingShader->setVec3("light.position", lightPos);
lightingShader->setVec3("light.direction", -0.2f, -1.0f, -0.3f);
lightingShader->setInt("material.diffuse", 0);
lightingShader->setVec3("material.specular", 0.5f, 0.5f, 0.5f);
lightingShader->setFloat("material.shininess", 32.0f);
lightingShader->setInt("material.specular", 1);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, diffuseMap);
glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_2D, specularMap);
// Drawing
glBindVertexArray(VAO);
glm::mat4 model;
for (int i = 0; i < 10; i++) {
glm::mat4 model;
model = glm::translate(model, cubePositions[i]);
float angle = 20.0f * i;
model = glm::rotate(model, glm::radians(angle), glm::vec3(1.0f, 0.3f, 0.5f));
lightingShader->setMat4("model", model);
glDrawArrays(GL_TRIANGLES, 0, 36);
}
// Lamp cube
// lampShader->use();
// model = glm::mat4();
// model = glm::translate(model, lightPos);
// model = glm::scale(model, glm::vec3(0.2f));
// lampShader->setMat4("model", model);
// lampShader->setMat4("view", camera->getViewMatrix());
// lampShader->setMat4("projection", projection);
// glBindVertexArray(lightVAO);
// glDrawArrays(GL_TRIANGLES, 0, 36);
}
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void mouse_callback(GLFWwindow* window, double xpos, double ypos);
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
void processInput(GLFWwindow *window);
int main() {
glfwInit();
// OpenGL Version
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
// Using core profile
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
// For Mac OS X:
// glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
// Create window object
GLFWwindow* window = glfwCreateWindow(screenWidth, screenHeight, "LearnOpenGL", NULL, NULL);
if (window == NULL) {
std::cout << "Failed to create GLFW window" << std::endl;
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
// Using GLAD to load OpenGL functions
if (!gladLoadGLLoader((GLADloadproc) glfwGetProcAddress)) {
std::cout << "Failed to initialize GLAD" << std::endl;
return -1;
}
// Define the Viewport
glViewport(0, 0, 800, 600);
// Register callbacks
glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
glfwSetCursorPosCallback(window, mouse_callback);
glfwSetScrollCallback(window, scroll_callback);
// Capture the mouse
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
// Configuration
glEnable(GL_DEPTH_TEST);
// Prepare for drawing
lightingShader = new Shader(vertShaderPath, fragShaderPath);
lampShader = new Shader(lampVertShaderPath, lampFragShaderPath);
prepareDraw();
// Start render loop
while (!glfwWindowShouldClose(window)) {
// Input
processInput(window);
// Clear Screen
glClearColor(0.2f, 0.3f, 0.3f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// Draw
drawStaff();
// Frame calc
float currentFrame = glfwGetTime();
deltaTime = currentFrame - lastFrame;
lastFrame = currentFrame;
// Swap double buffer
glfwSwapBuffers(window);
// Deal with the events
glfwPollEvents();
}
delete lightingShader;
glfwTerminate();
return 0;
}
/*
* Callbacks
*/
void framebuffer_size_callback(GLFWwindow* window, int width, int height) {
glViewport(0, 0, width, height);
screenWidth = width;
screenHeight = height;
}
void processInput(GLFWwindow *window) {
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS) {
glfwSetWindowShouldClose(window, true);
}
// Camera Pos
if (glfwGetKey(window, GLFW_KEY_W) == GLFW_PRESS)
camera->processKeyboard(FORWARD, deltaTime);
if (glfwGetKey(window, GLFW_KEY_S) == GLFW_PRESS)
camera->processKeyboard(BACKWARD, deltaTime);
if (glfwGetKey(window, GLFW_KEY_A) == GLFW_PRESS)
camera->processKeyboard(LEFT, deltaTime);
if (glfwGetKey(window, GLFW_KEY_D) == GLFW_PRESS)
camera->processKeyboard(RIGHT, deltaTime);
}
void mouse_callback(GLFWwindow* window, double xpos, double ypos) {
if (firstMouse) {
lastX = xpos;
lastY = ypos;
firstMouse = false;
}
float xoffset = xpos - lastX;
float yoffset = lastY - ypos;
lastX = xpos;
lastY = ypos;
camera->processMouseMovement(xoffset, yoffset);
}
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset) {
camera->processMouseScroll(yoffset);
} | [
"admin@kaaass.net"
] | admin@kaaass.net |
b425cac863eaf79eff98ddf3838bdf554399a25c | 3d2850881142680498b8c214535b11d5171c4600 | /GameTest/GameHandler.h | 7b5bba563b0c20d41001833dfdb3c7b7cde2af29 | [] | no_license | theofanet/GameCube | 3e894088c03788e0ffc2d7625128dff3b4732111 | 6400ee164bed9c3fc06a1c60e67411aee9cbbe58 | refs/heads/master | 2021-01-21T20:07:52.006196 | 2017-05-23T16:25:26 | 2017-05-23T16:25:26 | 92,194,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | h | //
// GameHandler.h
// GameTest
//
// Created by Theo Fanet on 15/02/2015.
// Copyright (c) 2015 Theo. All rights reserved.
//
#ifndef __GameTest__GameHandler__
#define __GameTest__GameHandler__
#include <OpenGL/OpenGL.h>
#include <GLUT/glut.h>
#include <stdio.h>
#include <iostream>
#include <stdarg.h>
#include <stdlib.h>
#include <sstream>
#include <string>
#include <vector>
#include "defines.h"
#include "IoHandler.h"
#include "MenuScene.h"
#include "CubeWord.h"
using namespace std;
class GameHandler : public GameSceneHandler{
public:
GameHandler();
~GameHandler();
void run();
b2Vec2 ConvertScreenToWorld(int x, int y);
void reshape(int w, int h);
void display(void);
void idle(void);
void keyboard(unsigned char key, int x = 0, int y = 0);
void keyboard_up(unsigned char key, int x = 0, int y = 0);
void specialKeyboard(int key, int x = 0, int y = 0);
void specialKeyboard_up(int key, int x = 0, int y = 0);
void mouse_click(int button, int state, int x = 0, int y = 0);
void mouse_motion(int x, int y);
void mouse_passive_motion(int x, int y);
void setCurrentScene(GameScene *s);
void goToScene(GameScene *fromScene, GameScene *toScene);
void goNextScene(GameScene *fromScene);
void exitScene(GameScene *fromScene);
int handleFPS();
void quit_action(int code = 0);
private:
int _frameCount, _currentTime, _previousTime;
float _fps;
float _width, _height;
int _current_scene_index;
GameScene *_current_scene, *_to_remove;
vector<GameScene *> _scenes;
MenuScene *_menuScene;
IoHandler *_Io;
};
#endif /* defined(__GameTest__GameHandler__) */
| [
"theo@bricomac.com"
] | theo@bricomac.com |
c6a51113764da35b40f8df5876abcdb30468f6a7 | c9ce3de18238db9b2c62f57a2c49128f226bccdd | /C++/YouTube_CodeBeauty/015_struct.cpp | ff0253bd7d7d047f75aabf629580416e079d8fb2 | [] | no_license | AdamYuWen/LearningProgramming | 1ebc7d8bb942846dda7b2fff795af157d19fed47 | 34d3276923224db848db818d4322a2dd28ac7be4 | refs/heads/master | 2023-05-20T20:37:57.269187 | 2021-06-07T00:46:31 | 2021-06-07T00:46:31 | 203,454,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | #include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;
struct SmartPhones {
string name;
int storage_space;
string color;
float price;
};
void PrintSmartPhones(SmartPhones s) {
cout << s.name << endl;
cout << s.storage_space << endl;
cout << s.color << endl;
cout << s.price << endl;
}
struct Person {
string name;
int age;
SmartPhones smart_phone;
};
void PrintPerson(Person p) {
cout << p.name << endl;
cout << p.age << endl;
PrintSmartPhones(p.smart_phone); // Use another print function.
}
int main() {
SmartPhones iphone;
iphone.name = "iPhone 12";
iphone.storage_space = 32;
iphone.color = "black";
iphone.price = 999.99;
PrintSmartPhones(iphone);
cout << endl;
SmartPhones samsung;
samsung.name = "Samsung Galaxy S21 Ultra";
samsung.storage_space = 64;
samsung.color = "gray";
samsung.price = 888.88;
PrintSmartPhones(samsung);
cout << endl;
Person person;
person.name = "Saldina";
person.age = 26;
// person.smart_phone = samsung; // It also works.
person.smart_phone.name = "Samsung Galaxy S21 Ultra";
person.smart_phone.storage_space = 64;
person.smart_phone.color = "gray";
person.smart_phone.price = 888.88;
PrintPerson(person);
return 0;
} | [
"wen.adam@hotmail.com"
] | wen.adam@hotmail.com |
80668767010547f10c6eb302411c2e4c3473cdde | b9cd09bf5c88e1a11284d27e2e2b91842424a743 | /Visual_C++_MFC_examples/Part 6 기타주제/35장 디버깅에 대하여/RemoteTest/RemoteTest/RemoteTestDlg.h | 046cb12e4569318ab7dc1dfe484561f94bf06ba7 | [] | no_license | uki0327/book_source | 4bab68f90b4ec3d2e3aad72ec53877f6cc19a895 | a55750464e75e3a9b586dded1f99c3c67ff1e8c9 | refs/heads/master | 2023-02-21T07:13:11.213967 | 2021-01-29T06:16:31 | 2021-01-29T06:16:31 | 330,401,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h |
// RemoteTestDlg.h : header file
//
#pragma once
// CRemoteTestDlg dialog
class CRemoteTestDlg : public CDialog
{
// Construction
public:
CRemoteTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_REMOTETEST_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
};
| [
"uki0327@gmail.com"
] | uki0327@gmail.com |
9118854b275363ed39e16bab4ccb47e0508aa51a | 1b5141bc624cd11d4af3d75b97f9316f361fdbd6 | /Pattern24.cpp | 1e0c73e2b3973186f1243ca54aefc582c9341458 | [] | no_license | Puja-Das2020/pattern-programming-in-C | 0cd2e5c423673aded1d9441c473d248bcd092509 | 2947bbbb11bf51a3207ebd0acbe7b9f6af3a3da5 | refs/heads/master | 2020-12-20T14:11:19.425482 | 2020-01-25T00:17:02 | 2020-01-25T00:17:02 | 236,103,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include<stdio.h>
#include<conio.h>
main()
{
int row, csp, cnm, nsp,nnm=1, line;
printf("enter the number of line");
scanf("%d",&line);
nsp=line-1;
for(row=1;row<=line;row++)
{
for(csp=1;csp<=nsp;csp++)
printf(" ");
for(cnm=1;cnm<=nnm;cnm++)
printf("%d ", row);
printf("\n");
nsp--;
nnm+=2;
}
}
| [
"noreply@github.com"
] | Puja-Das2020.noreply@github.com |
28413a37a8c0c24cdc9153293e8f8350f0ec3703 | aa0a4683001b86a946505d8c70bbf04214d9a92c | /Algorithms:ProblemSolving/hacker-rank-extra-long-factorial.cpp | 293bb67421308308dd328834a4daee0c56ff8705 | [] | no_license | iskilia/Coding-Challenges | 8b5d42572d5aff38d3fe544ae5bfc3ad26c6e29e | 7e0484e9f86c09976d4dd26a4c03adba51ea37f1 | refs/heads/master | 2021-01-16T00:42:29.563165 | 2020-03-02T01:40:50 | 2020-03-02T01:40:50 | 99,970,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
vector<int> d;
d.push_back(1);
for (int i = 2; i <= n; ++i) {
for (auto it = d.begin(); it != d.end(); ++it)
*it *= i;
for (size_t j = 0; j < d.size(); ++j) {
if (d[j] < 10)
continue;
if (j == d.size() - 1)
d.push_back(0);
d[j + 1] += d[j] / 10;
d[j] %= 10;
}
}
for (auto it = d.rbegin(); it != d.rend(); ++it)
cout << *it;
return 0;
}
| [
"isaackilis@gmail.com"
] | isaackilis@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.