blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
201
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
7
100
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
260 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
11.4k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
80 values
src_encoding
stringclasses
28 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
8
9.86M
extension
stringclasses
52 values
content
stringlengths
8
9.86M
authors
listlengths
1
1
author
stringlengths
0
119
2c5aad91f208bc39aa78f68a96b03790d096f125
2af28d499c4865311d7b350d7b8f96305af05407
/inference-engine/thirdparty/clDNN/src/gpu/custom_gpu_primitive_gpu.cpp
39aae2fdc3579cf05b73a46ee449ecaadd3444df
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Dipet/dldt
cfccedac9a4c38457ea49b901c8c645f8805a64b
549aac9ca210cc5f628a63174daf3e192b8d137e
refs/heads/master
2021-02-15T11:19:34.938541
2020-03-05T15:12:30
2020-03-05T15:12:30
244,893,475
1
0
Apache-2.0
2020-03-04T12:22:46
2020-03-04T12:22:45
null
UTF-8
C++
false
false
8,533
cpp
/* // Copyright (c) 2016 Intel Corporation // // 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 "custom_gpu_primitive_inst.h" #include "kernel.h" #include "implementation_map.h" #include "kernel_selector_helper.h" #include "network_impl.h" #include "engine_impl.h" #include "jitter.h" #include "error_handler.h" #include "register_gpu.hpp" #include <map> #include <sstream> #include <vector> #include <memory> #include <string> using namespace cldnn; namespace kernel_selector { using jit_constants = kernel_selector::JitConstants; } namespace neural { struct custom_gpu_primitive_gpu : typed_primitive_impl<custom_gpu_primitive> { const custom_gpu_primitive_node& outer; std::shared_ptr<kernel_selector::cl_kernel_data> cl_kernel; gpu::kernel _kernel; custom_gpu_primitive_gpu(const custom_gpu_primitive_node& arg, std::shared_ptr<kernel_selector::cl_kernel_data>& cl_kernel) : outer(arg), cl_kernel(cl_kernel), _kernel(arg.get_program().get_engine().get_context(), cl_kernel->kernelString, arg.get_program().get_engine().get_context()->get_configuration().dump_custom_program) {} event_impl::ptr execute_impl(const std::vector<event_impl::ptr>& events, custom_gpu_primitive_inst& instance) override { uint16_t stream_id = instance.get_network().get_stream_id(); gpu::kernel::kernel_arguments_data args; for (auto& dep : instance.dependencies()) { args.inputs.push_back((memory_impl::cptr) &(dep->output_memory())); } args.output = (memory_impl::cptr) &instance.output_memory(); _kernel.set_output_event(stream_id, instance.node.is_output()); return _kernel.run(stream_id, *cl_kernel.get(), events, args); } }; static kernel_selector::kernel_argument_element get_arg(custom_gpu_primitive::arg_desc arg) { kernel_selector::kernel_argument_element ret; switch (arg.type) { case custom_gpu_primitive::arg_input: ret.t = kernel_selector::kernel_argument_types::INPUT; break; case custom_gpu_primitive::arg_output: ret.t = kernel_selector::kernel_argument_types::OUTPUT; break; default: throw std::runtime_error("Unknown argument type"); break; } ret.index = arg.index; return ret; } std::string value_macro(const std::string& name, const std::string& value) { std::ostringstream oss; oss << "#define " << name << " " << value << std::endl; return oss.str(); } static void add_layout_to_jit(kernel_selector::jit_constants& mem_consts, const std::string& name, const layout& l) { // Size (in elements) // #define INPUT0_DIMS (uint[]) { b, f, y, x, } mem_consts.AddConstant(kernel_selector::MakeJitConstant(name + "_DIMS", l.size.sizes(format::bfyx))); // Data type // #define INPUT0_TYPE float static const std::map<data_types, std::string> dataTypeToIndex{ {data_types::i8, "char"}, {data_types::u8, "uchar"}, {data_types::i32, "int"}, {data_types::i64, "long"}, {data_types::f16, "half"}, {data_types::f32, "float"}, }; if (dataTypeToIndex.find(l.data_type) == dataTypeToIndex.end()) { CLDNN_ERROR_MESSAGE("add layout to jit", "Unhandled data type in layout"); } mem_consts.AddConstant(kernel_selector::MakeJitConstant(name + "_TYPE", dataTypeToIndex.at(l.data_type))); // Format // #define INPUT0_FORMAT_BFYX mem_consts.AddConstant( kernel_selector::MakeJitConstant(name + "_FORMAT_" + kernel_selector::toString(to_data_layout(l.format)), "")); // Padding (in elements) // #define INPUT0_LOWER_PADDING (uint[]) { 0, 0, 0, 0 } // #define INPUT0_UPPER_PADDING (uint[]) { 0, 0, 0, 0 } mem_consts.AddConstant( kernel_selector::MakeJitConstant(name + "_LOWER_PADDING", l.data_padding.lower_size().sizes(format::bfyx))); mem_consts.AddConstant( kernel_selector::MakeJitConstant(name + "_UPPER_PADDING", l.data_padding.upper_size().sizes(format::bfyx))); // Pitches (in elements) // #define INPUT0_PITCHES (uint[]) { b, f, h, w, } auto padded_sizes = l.get_buffer_size().sizes(format::bfyx); std::vector<tensor::value_type> pitches(4); switch (l.format) { case format::bfyx: pitches[3] = 1; pitches[2] = padded_sizes[3]; pitches[1] = padded_sizes[2] * pitches[2]; pitches[0] = padded_sizes[1] * pitches[1]; break; case format::byxf: pitches[1] = 1; pitches[3] = padded_sizes[1]; pitches[2] = padded_sizes[3] * pitches[3]; pitches[0] = padded_sizes[2] * pitches[2]; break; case format::yxfb: pitches[0] = 1; pitches[1] = padded_sizes[0]; pitches[3] = padded_sizes[1] * pitches[1]; pitches[2] = padded_sizes[3] * pitches[3]; break; case format::fyxb: pitches[0] = 1; pitches[3] = padded_sizes[0]; pitches[2] = padded_sizes[3] * pitches[3]; pitches[1] = padded_sizes[2] * pitches[2]; break; default: throw std::runtime_error("Unhandled format in pitch calculation"); } mem_consts.AddConstant(kernel_selector::MakeJitConstant(name + "_PITCHES", pitches)); // Offset (in elements) // #define INPUT0_OFFSET 0 int32_t offset = (pitches[0] * l.data_padding.lower_size().batch[0]) + (pitches[1] * l.data_padding.lower_size().feature[0]) + (pitches[2] * l.data_padding.lower_size().spatial[1]) + (pitches[3] * l.data_padding.lower_size().spatial[0]); mem_consts.AddConstant(kernel_selector::MakeJitConstant(name + "_OFFSET", std::to_string(offset))); } static std::string get_jit_constant(const custom_gpu_primitive_node& outer) { kernel_selector::jit_constants mem_consts{ kernel_selector::MakeJitConstant("NUM_INPUTS", std::to_string(outer.get_dependencies().size()))}; const auto primitive = outer.get_primitive().get(); mem_consts.AddConstants({ kernel_selector::MakeJitConstant("GLOBAL_WORKSIZE", primitive->gws), kernel_selector::MakeJitConstant("LOCAL_WORKSIZE", primitive->lws), }); for (size_t i = 0; i < outer.get_dependencies().size(); i++) { add_layout_to_jit(mem_consts, "INPUT" + std::to_string(i), outer.input(i).get_output_layout()); } add_layout_to_jit(mem_consts, "OUTPUT0", outer.get_output_layout()); std::ostringstream oss; oss << "// Custom Layer Built-ins\n\n"; for (auto& definition : mem_consts.GetDefinitions()) { oss << value_macro(definition.first, definition.second); } return oss.str(); } static primitive_impl* create(const custom_gpu_primitive_node& arg) { const auto primitive = arg.get_primitive().get(); auto cl_kernel = std::make_shared<kernel_selector::cl_kernel_data>(); cl_kernel->kernelString = std::make_shared<kernel_selector::kernel_string>(); cl_kernel->kernelString->entry_point = primitive->kernel_entry_point; cl_kernel->kernelString->options = primitive->build_options; cl_kernel->kernelString->jit = get_jit_constant(arg); for (const auto& s : primitive->kernels_code) { cl_kernel->kernelString->str += s + "\n"; } cl_kernel->workGroups.global = primitive->gws; cl_kernel->workGroups.local = primitive->lws; for (const auto& p : primitive->kernel_arguments) { cl_kernel->arguments.push_back(get_arg(p)); } return new custom_gpu_primitive_gpu(arg, cl_kernel); } } // namespace neural namespace cldnn { namespace gpu { namespace detail { attach_custom_gpu_primitive_gpu::attach_custom_gpu_primitive_gpu() { implementation_map<custom_gpu_primitive>::add({{cldnn::engine_types::ocl, neural::create}}); } } } } // namespace cldnn::gpu::detail
[ "alexey.suhov@intel.com" ]
alexey.suhov@intel.com
e407412b9cb7d6d474fb674c29b31aa7f9f76714
6af15122906a5f2e3ca0c273c0d420e12d626ad6
/benchmark/src/benchmark/math_computing.cpp
bd3bebdac66d55dc4e97d12ce733d695bbf8bde4
[ "MIT" ]
permissive
jiancong0204/hull-abstraction
8d92012aa34b8348a49689ef88ee0d2fa78f0e0c
3d08cc303af18d852b00a59d0bac9d3e0fbcee8b
refs/heads/development
2023-03-17T10:14:34.874807
2021-03-05T12:40:11
2021-03-05T12:40:11
273,984,698
2
0
MIT
2020-12-02T15:13:59
2020-06-21T21:14:38
C++
UTF-8
C++
false
false
11,484
cpp
#include "benchmark/math_computing.h" std::vector<double> benchmark::intersectWith(pcl::PolygonMesh mesh, std::vector<double> point, std::vector<double> normal) { pcl::PointCloud<pcl::PointXYZ>::Ptr mesh_cloud(new pcl::PointCloud<pcl::PointXYZ>); fromPCLPointCloud2(mesh.cloud, *mesh_cloud); double x0 = point[0]; double y0 = point[1]; double z0 = point[2]; double t = INFINITY; size_t polygon_size = mesh.polygons.size(); std::vector<double> intersection_point = {0.0, 0.0, 0.0, 1.0}; for (size_t i = 0; i < polygon_size; i++) { // Parameters for the plane which contains the polygon std::vector<double> x = {0.0, 1.0, 0.0}; std::vector<double> y = {0.0, 0.0, 1.0}; std::vector<double> z = {1.0, 1.0, 1.0}; std::vector<std::vector<double>> polygon; int vertices_size = mesh.polygons[i].vertices.size(); for (int j = 0; j < vertices_size; j++) { if (j < 3) { x[j] = mesh_cloud->points[mesh.polygons[i].vertices[j]].x; y[j] = mesh_cloud->points[mesh.polygons[i].vertices[j]].y; z[j] = mesh_cloud->points[mesh.polygons[i].vertices[j]].z; } polygon.push_back({ mesh_cloud->points[mesh.polygons[i].vertices[j]].x, mesh_cloud->points[mesh.polygons[i].vertices[j]].y, mesh_cloud->points[mesh.polygons[i].vertices[j]].z }); } double a = (y[1] - y[0]) * (z[2] - z[0]) - (y[2] - y[0]) * (z[1] -z[0]); double b = (z[1] - z[0]) * (x[2] - x[0]) - (z[2] - z[0]) * (x[1] -x[0]); double c = (x[1] - x[0]) * (y[2] - y[0]) - (x[2] - x[0]) * (y[1] -y[0]); // Parameter for intersection point double tmp = ((x[0] - x0) * a + (y[0] - y0) * b + (z[0] - z0) * c) / (a * normal[0] + b * normal[1] + c * normal[2]); intersection_point[0] = x0 + normal[0] * tmp; intersection_point[1] = y0 + normal[1] * tmp; intersection_point[2] = z0 + normal[2] * tmp; bool is_inside = benchmark::isInside(intersection_point, polygon); if ((fabs(tmp) < fabs(t)) and is_inside) { t = tmp; } else; // Do nothing } if (t == INFINITY) { intersection_point[0] = x0 + normal[0]; intersection_point[1] = y0 + normal[1]; intersection_point[2] = z0 + normal[2]; } else { intersection_point[0] = x0 + normal[0] * t; intersection_point[1] = y0 + normal[1] * t; intersection_point[2] = z0 + normal[2] * t; intersection_point[3] = t; } return intersection_point; } bool benchmark::isInside(std::vector<double> point, std::vector<std::vector<double>> polygon) { std::vector<double> angles; for (auto itr = polygon.begin(); itr != polygon.end(); ++itr) { std::vector<double> vector1; std::vector<double> vector2; if ((itr+1) != polygon.end()) { vector1.push_back((*itr)[0] - point[0]); vector1.push_back((*itr)[1] - point[1]); vector1.push_back((*itr)[2] - point[2]); itr++; vector2.push_back((*itr)[0] - point[0]); vector2.push_back((*itr)[1] - point[1]); vector2.push_back((*itr)[2] - point[2]); itr--; } else { vector1.push_back((*itr)[0] - point[0]); vector1.push_back((*itr)[1] - point[1]); vector1.push_back((*itr)[2] - point[2]); itr = polygon.begin(); vector2.push_back((*itr)[0] - point[0]); vector2.push_back((*itr)[1] - point[1]); vector2.push_back((*itr)[2] - point[2]); itr = polygon.end(); itr--; } double length1 = sqrt(pow(vector1[0], 2) + pow(vector1[1], 2) + pow(vector1[2], 2)); double length2 = sqrt(pow(vector2[0], 2) + pow(vector2[1], 2) + pow(vector2[2], 2)); if (length1 * length2 == 0) return true; double dot_product = vector1[0] * vector2[0] + vector1[1] * vector2[1] + vector1[2] * vector2[2]; angles.push_back(acos(dot_product / (length1 * length2))); } double angle_sum = 0.0; for(auto itr = angles.begin(); itr != angles.end(); itr++) { angle_sum += (*itr); } // std::cout << angle_sum << std::endl; // std::cout << angle_sum / M_PI << std::endl; double angle_sum_rad = angle_sum / M_PI; if(angle_sum_rad > 1.999 and angle_sum_rad < 2.001) // allow tiny errors return true; else return false; } double benchmark::calculateArea(std::vector<std::vector<double>> triangle) { std::vector<double> vector1, vector2; // Two sides of the triangle for (int i = 0; i < 3; i++) { vector1.push_back(triangle[1][i] - triangle[0][i]); vector2.push_back(triangle[2][i] - triangle[1][i]); } // Calculate cross product double z = vector1[0] * vector2[1] - vector1[1] * vector2[0]; double y = -1 * vector1[0] * vector2[2] + vector1[2] * vector2[0]; double x = vector1[1] * vector2[2] - vector1[2] * vector2[1]; double triangle_area = sqrt(pow(x,2) + pow(y,2) + pow(z,2)) * 0.5; // Magnitude of the vector return triangle_area; } std::vector<double> benchmark::calculateNormal(std::vector<std::vector<double>> triangle) { std::vector<double> vector1, vector2; // Two sides of the triangle for (int i = 0; i < 3; i++) { vector1.push_back(triangle[1][i] - triangle[0][i]); vector2.push_back(triangle[2][i] - triangle[1][i]); } // Calculate cross product double z = vector1[0] * vector2[1] - vector1[1] * vector2[0]; double y = -1 * vector1[0] * vector2[2] + vector1[2] * vector2[0]; double x = vector1[1] * vector2[2] - vector1[2] * vector2[1]; std::vector<double> normal_vector = {x, y, z}; return normal_vector; } double benchmark::calculateArea(pcl::PolygonMesh mesh) { pcl::PointCloud<pcl::PointXYZ>::Ptr mesh_cloud(new pcl::PointCloud<pcl::PointXYZ>); fromPCLPointCloud2(mesh.cloud, *mesh_cloud); // Extract point cloud from the input mesh size_t polygon_size = mesh.polygons.size(); double mesh_area = 0; for (size_t i = 0; i < polygon_size; i++) { std::vector<std::vector<double>> triangle; size_t vertex_size = mesh.polygons[i].vertices.size(); if (vertex_size != 3) { throw "Input mesh contains an invalid polygon!"; // Input must be a riangle mesh } for (size_t j = 0; j < vertex_size; j++) { triangle.push_back({ mesh_cloud->points[mesh.polygons[i].vertices[j]].x, mesh_cloud->points[mesh.polygons[i].vertices[j]].y, mesh_cloud->points[mesh.polygons[i].vertices[j]].z }); } double triangle_area = calculateArea(triangle); mesh_area += triangle_area; } return mesh_area; } std::vector<double> benchmark::calculateCentralSymmetryPoint(std::vector<double> point, std::vector<double> center_point) { std::vector<double> symmetry_point; auto center_itr = center_point.begin(); for (auto itr = point.begin(); itr != point.end(); itr++) { symmetry_point.push_back((*center_itr) * 2 - (*itr)); center_itr++; } return symmetry_point; } std::vector<double> benchmark::calculatePerpendicularIntersection(std::vector<double> point1, std::vector<double> point2, std::vector<double> point3) { // Calculate the direction vector double m = point2[0] - point1[0]; double n = point2[1] - point1[1]; double p = point2[2] - point1[2]; // Calculate the coordinates double numerator = m * (point3[0] - point1[0]) + n * (point3[1] - point1[1]) + p * (point3[2] - point1[2]); double denominator = pow(m, 2) + pow(n, 2) + pow(p, 2); double t = numerator / denominator; std::vector<double> result_point; result_point.push_back(point1[0] + t * m); result_point.push_back(point1[1] + t * n); result_point.push_back(point1[2] + t * p); return result_point; } std::vector<double> benchmark::uniformTriangleSampling(std::vector<std::vector<double>> triangle) { std::vector<double> point1; std::vector<double> point2; std::vector<double> point3; std::vector<double> point4; std::vector<double> point5; std::vector<double> point6; std::vector<double> sample; double length1 = sqrt ( pow(triangle[1][0]-triangle[0][0], 2) + pow(triangle[1][1]-triangle[0][1], 2) + pow(triangle[1][2]-triangle[0][2], 2) ); double length2 = sqrt ( pow(triangle[2][0]-triangle[1][0], 2) + pow(triangle[2][1]-triangle[1][1], 2) + pow(triangle[2][2]-triangle[1][2], 2) ); double length3 = sqrt ( pow(triangle[0][0]-triangle[2][0], 2) + pow(triangle[0][1]-triangle[2][1], 2) + pow(triangle[0][2]-triangle[2][2], 2) ); double horizontal_length = length1; point1 = triangle[0]; point2 = triangle[1]; point3 = triangle[2]; if (length2 >= horizontal_length) { horizontal_length = length2; point1 = triangle[1]; point2 = triangle[2]; point3 = triangle[0]; } if (length3 >= horizontal_length) { horizontal_length = length3; point1 = triangle[2]; point2 = triangle[0]; point3 = triangle[1]; } point4 = calculatePerpendicularIntersection(point1, point2, point3); std::vector<double> center_point; center_point.push_back((point2[0] + point3[0]) * 0.5); center_point.push_back((point2[1] + point3[1]) * 0.5); center_point.push_back((point2[2] + point3[2]) * 0.5); point5 = calculateCentralSymmetryPoint(point4, center_point); center_point[0] = (point1[0] + point3[0]) * 0.5; center_point[1] = (point1[1] + point3[1]) * 0.5; center_point[2] = (point1[2] + point3[2]) * 0.5; point6 = calculateCentralSymmetryPoint(point4, center_point); double t1 = rand()%1001; t1 = t1 / 1000; double t2 = rand()%1001; t2 = t2 / 1000; std::vector<double> point7; point7.push_back(t1 * point6[0] + (1 - t1) * point1[0]); point7.push_back(t1 * point6[1] + (1 - t1) * point1[1]); point7.push_back(t1 * point6[2] + (1 - t1) * point1[2]); std::vector<double> point8; point8.push_back(t1 * point5[0] + (1 - t1) * point2[0]); point8.push_back(t1 * point5[1] + (1 - t1) * point2[1]); point8.push_back(t1 * point5[2] + (1 - t1) * point2[2]); std::vector<double> point9; point9.push_back(t2 * point2[0] + (1 - t2) * point1[0]); point9.push_back(t2 * point2[1] + (1 - t2) * point1[1]); point9.push_back(t2 * point2[2] + (1 - t2) * point1[2]); std::vector<double> point10; point10 = calculatePerpendicularIntersection(point7, point8, point9); std::vector<double> tmp_point; if (isInside(point10, triangle)) return point10; else { tmp_point = calculateCentralSymmetryPoint(point10, center_point); } if(isInside(tmp_point, triangle)) return tmp_point; center_point[0] = (point2[0] + point3[0]) * 0.5; center_point[1] = (point2[1] + point3[1]) * 0.5; center_point[2] = (point2[2] + point3[2]) * 0.5; point10 = calculateCentralSymmetryPoint(point10, center_point); return point10; }
[ "jiancong.zheng@outlook.com" ]
jiancong.zheng@outlook.com
adda9087f7cb79bfbf94a1f50ff4687bdee93182
b12ff61e9578b5ddb456e87d1d24e024c4790d94
/source/dropper/peldr.h
82c86f252d331c26a2f7d857ff8ca86f17c5a2db
[]
no_license
nic0latesla/KINS
0ea552b38840085260699669f7a23aff2bdc2f88
22c9c756037f1034d61d3730d96952e32e7f042e
refs/heads/master
2020-05-21T03:54:40.673944
2019-05-10T02:03:30
2019-05-10T02:03:30
185,900,397
1
1
null
null
null
null
UTF-8
C++
false
false
1,551
h
#ifndef _PELDR_H_ #define _PELDR_H_ typedef void (*MOD_PRE_PROCESS)(PVOID, LPSTR, LPSTR); namespace PeLdr { DWORD64 PeGetImageBase(PVOID ImageBase); PIMAGE_NT_HEADERS PeImageNtHeader(PVOID ImageBase); PVOID PeImageDirectoryEntryToData(PVOID ImageBase, BOOLEAN ImageLoaded, ULONG Directory, PULONG Size, BOOLEAN RVA = FALSE); BOOLEAN PeProcessRelocs(PVOID ImageBase, ULONGLONG Diff); PVOID PeGetProcAddress(PVOID ModuleBase, PCHAR lpProcName, BOOLEAN RVA = FALSE); BOOLEAN PeProcessImport(PVOID pMZ, BOOLEAN Ntdll64 = FALSE); #ifndef _WIN64 PIMAGE_BASE_RELOCATION PeProcessRelocationBlock(ULONG_PTR uVA, ULONG uSizeOfBlock, PUSHORT puNextOffset, ULONGLONG lDelta); #else PIMAGE_BASE_RELOCATION PeProcessRelocationBlock(ULONG_PTR VA, ULONG SizeOfBlock, PUSHORT NextOffset, LONGLONG Diff) ; #endif PVOID PeGetNtdllImageBase(); BOOLEAN InsertSection(PCHAR SectionName, PVOID Data, DWORD DataSize, PVOID Image, DWORD ImageSize, PVOID *ResultImage, DWORD *ResultImageSize, BOOLEAN VA); DWORD_PTR FreeSpaceInHeader(PVOID ImageBase, PIMAGE_NT_HEADERS NtHeaders); PIMAGE_SECTION_HEADER GetVirtualyLastSectionHeader(PIMAGE_NT_HEADERS NtHeaders); PIMAGE_SECTION_HEADER GetPhysicalyLastSectionHeader(PIMAGE_NT_HEADERS NtHeaders); PVOID LoadPEImage(PVOID ImageBaseRaw, MOD_PRE_PROCESS ModulePreProcess = 0, LPSTR module_name = 0, LPSTR params = 0); PIMAGE_SECTION_HEADER PeSearchSection(PVOID ImageBase, PCHAR SectionName); DWORD RvaToOffset(PIMAGE_NT_HEADERS pPE,DWORD dwRva); BOOL SetFileDllFlag(LPVOID module, DWORD moduleSize); }; #endif
[ "34005737+nic0latesla@users.noreply.github.com" ]
34005737+nic0latesla@users.noreply.github.com
49edc938f2196bbb8d28dc6ef2a34059729382d7
1d0042ffcdbc7a310e967fb1d4108798257ed89d
/连连看/LLK/Graph.cpp
bc941568e2da439dee0757ae1b5cc72169956ec6
[]
no_license
talkmen/LLK
9ba26464df037ce4f4655b3d5101af578a1e6bee
568d9d4151b3a49ce33a2be3dbe1a93df73f122e
refs/heads/master
2022-11-14T16:46:47.675557
2020-07-05T07:52:53
2020-07-05T07:52:53
277,214,429
0
0
null
null
null
null
UTF-8
C++
false
false
2,466
cpp
#include "stdafx.h" #include "Graph.h" CGraph::CGraph() { initGraph(); } CGraph::~CGraph() { } void CGraph::initGraph() { for (int i = 0; i < MAXMAPROW*MAXMAPCOL; i++) { m_Vertices[i] = BLANK; for (int j = 0; j < MAXMAPROW * MAXMAPCOL; j++) m_AdjMatrix[i][j] = 0; } m_Vexnum = 0; m_nArcnum = 0; } void CGraph::UpdateVertex(int index, int info) { if (index < m_Vexnum) m_Vertices[index] = info; } void CGraph::addVertex(int index, int info) { if (index < MAXMAPCOL * MAXMAPROW) { m_Vertices[index] = info; m_Vexnum++; } } int CGraph::GetVexnum() { return m_Vexnum; } bool CGraph::GetArc(int nV0, int nVi) { if (nV0 < m_Vexnum && nVi < m_Vexnum) return m_AdjMatrix[nV0][nVi]; return false; } void CGraph::AddArc(int nV0, int nVi) { if (nV0 < m_Vexnum && nV0 < m_Vexnum) { m_AdjMatrix[nV0][nVi] = 1; m_AdjMatrix[nVi][nV0] = 1; m_nArcnum += 2; } } int CGraph::GetVertex(int nVi) { if (nVi < m_Vexnum) return m_Vertices[nVi]; return BLANK; } void CGraph::updateArc(int index, Vertex m_mapSize) { int row = index / m_mapSize.col; int col = index % m_mapSize.col; int index1 = 0; if (row >= 1) { index1 = index - m_mapSize.col; if (m_Vertices[index1] == m_Vertices[index] || m_Vertices[index1] == BLANK || m_Vertices[index] == BLANK) { if (!m_AdjMatrix[index1][index]) { m_AdjMatrix[index1][index] = 1; m_AdjMatrix[index][index1] = 1; m_nArcnum += 2; } } } if (row < m_mapSize.row - 1) { index1 = index + m_mapSize.col; if (m_Vertices[index1] == m_Vertices[index] || m_Vertices[index1] == BLANK || m_Vertices[index] == BLANK) { if (!m_AdjMatrix[index1][index]) { m_AdjMatrix[index1][index] = 1; m_AdjMatrix[index][index1] = 1; m_nArcnum += 2; } } } if (col >= 1) { index1 = index - 1; if (m_Vertices[index1] == m_Vertices[index] || m_Vertices[index1] == BLANK || m_Vertices[index] == BLANK) { if (!m_AdjMatrix[index1][index]) { m_AdjMatrix[index1][index] = 1; m_AdjMatrix[index][index1] = 1; m_nArcnum += 2; } } } if (col < m_mapSize.col - 1) { index1 = index + 1; if (m_Vertices[index1] == m_Vertices[index] || m_Vertices[index1] == BLANK || m_Vertices[index] == BLANK) { if (!m_AdjMatrix[index1][index]) { m_AdjMatrix[index1][index] = 1; m_AdjMatrix[index][index1] = 1; m_nArcnum += 2; } } } } int CGraph::getArcNum() { return m_nArcnum; } void CGraph::ClearGraph() { initGraph(); }
[ "2272598369@qq.com" ]
2272598369@qq.com
555a5329d2d71d05a8d2b9fa3a5a91f49487fe68
86eec6c5b21edaf298dc6d8a0a6666458b8ac21c
/C++/20190909_문제_예제/WhenOver5000.cpp
09ef069548a24ad30941239bb6b46e9fa629f43b
[]
no_license
infront18/homepage_practice
be796bfa307038ab03a847d548d3ecbe2ffa9f7c
4533599c2f5780025bf083398d0e22922542089f
refs/heads/master
2020-09-28T15:46:10.334568
2019-12-09T07:17:13
2019-12-09T07:17:13
226,808,735
0
0
null
null
null
null
UTF-8
C++
false
false
191
cpp
#include <stdio.h> int main() { int sum=0, num=0; while(1) { sum+=num; if(sum>5000) break; num++; } printf("sum: %d \n", sum); printf("num: %d \n", num); return 0; }
[ "infront18@naver.com" ]
infront18@naver.com
aee9511c33cb1f3f92db2f4223ee463fa769a810
e7be2ee48f952308f5672240c2c833d718d9d431
/Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE789_Uncontrolled_Mem_Alloc/s02/CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G.cpp
69f23f89be67d8a0f36435eb1da4e81e3888ba11
[]
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
4,668
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G.cpp Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml Template File: sources-sinks-84_goodB2G.tmpl.cpp */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: listen_socket Read data using a listen socket (server side) * GoodSource: Small number greater than zero * Sinks: * GoodSink: Allocate memory with new [] and check the size of the memory to be allocated * BadSink : Allocate memory with new [], but incorrectly check the size of the memory to be allocated * Flow Variant: 84 Data flow: data passed to class constructor and destructor by declaring the class object on the heap and deleting it after use * * */ #ifndef OMITGOOD #include "std_testcase.h" #include "CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84.h" #ifdef _WIN32 #include <winsock2.h> #include <windows.h> #include <direct.h> #pragma comment(lib, "ws2_32") /* include ws2_32.lib when linking */ #define CLOSE_SOCKET closesocket #else #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #define INVALID_SOCKET -1 #define SOCKET_ERROR -1 #define CLOSE_SOCKET close #define SOCKET int #endif #define TCP_PORT 27015 #define LISTEN_BACKLOG 5 #define CHAR_ARRAY_SIZE (3 * sizeof(data) + 2) #define HELLO_STRING L"hello" namespace CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84 { CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G::CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G(size_t dataCopy) { data = dataCopy; { #ifdef _WIN32 WSADATA wsaData; int wsaDataInit = 0; #endif int recvResult; struct sockaddr_in service; SOCKET listenSocket = INVALID_SOCKET; SOCKET acceptSocket = INVALID_SOCKET; char inputBuffer[CHAR_ARRAY_SIZE]; do { #ifdef _WIN32 if (WSAStartup(MAKEWORD(2,2), &wsaData) != NO_ERROR) { break; } wsaDataInit = 1; #endif /* POTENTIAL FLAW: Read data using a listen socket */ listenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listenSocket == INVALID_SOCKET) { break; } memset(&service, 0, sizeof(service)); service.sin_family = AF_INET; service.sin_addr.s_addr = INADDR_ANY; service.sin_port = htons(TCP_PORT); if (bind(listenSocket, (struct sockaddr*)&service, sizeof(service)) == SOCKET_ERROR) { break; } if (listen(listenSocket, LISTEN_BACKLOG) == SOCKET_ERROR) { break; } acceptSocket = accept(listenSocket, NULL, NULL); if (acceptSocket == SOCKET_ERROR) { break; } /* Abort on error or the connection was closed */ recvResult = recv(acceptSocket, inputBuffer, CHAR_ARRAY_SIZE - 1, 0); if (recvResult == SOCKET_ERROR || recvResult == 0) { break; } /* NUL-terminate the string */ inputBuffer[recvResult] = '\0'; /* Convert to unsigned int */ data = strtoul(inputBuffer, NULL, 0); } while (0); if (listenSocket != INVALID_SOCKET) { CLOSE_SOCKET(listenSocket); } if (acceptSocket != INVALID_SOCKET) { CLOSE_SOCKET(acceptSocket); } #ifdef _WIN32 if (wsaDataInit) { WSACleanup(); } #endif } } CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G::~CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_listen_socket_84_goodB2G() { { wchar_t * myString; /* FIX: Include a MAXIMUM limitation for memory allocation and a check to ensure data is large enough * for the wcscpy() function to not cause a buffer overflow */ /* INCIDENTAL FLAW: The source could cause a type overrun in data or in the memory allocation */ if (data > wcslen(HELLO_STRING) && data < 100) { myString = new wchar_t[data]; /* Copy a small string into myString */ wcscpy(myString, HELLO_STRING); printWLine(myString); delete [] myString; } else { printLine("Input is less than the length of the source string or too large"); } } } } #endif /* OMITGOOD */
[ "43197106+buihuynhduc@users.noreply.github.com" ]
43197106+buihuynhduc@users.noreply.github.com
d044f3abf0ebfa8b53d74915ffb881601cc576e2
b35023db97093d0c1566d400e1ff9c3b8ffda278
/tool/measuringCore/src/baseClasses/EventBase.h
53bad036c88ef0b7cc68c55ae4633dfa4ee56a5b
[]
no_license
GeorgOfenbeck/Thesis_Steinmann
39b98eb25c6c83b6d4551f8a05ddd84792651de7
6ea893bdfbf2e97d036d59807f53a14c397b9616
refs/heads/master
2018-12-27T23:30:43.487941
2012-12-03T16:11:36
2012-12-03T16:11:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
198
h
/* * EventBase.h * * Created on: Feb 8, 2012 * Author: ruedi */ #ifndef EVENTBASE_H_ #define EVENTBASE_H_ class EventBase { public: virtual ~EventBase(); }; #endif /* EVENTBASE_H_ */
[ "ruedi@erde.(none)" ]
ruedi@erde.(none)
66b12f9d53193bd6d7a6d4f0ce6e6a93e348e7cf
9a018bdcde31c63d758aa32dc7553bf60426bed9
/dbcore/sm-oid-impl.h
0ec83add86547123e17ecb07e29fddb32e8a75b3
[ "MIT" ]
permissive
readablesystems/ermia
9bc75737e04d7bf125a95e1f71b1818f1b63d223
f2919ede6eba87e68228890a8385378632991c14
refs/heads/master
2023-01-28T10:52:24.485968
2020-12-10T18:05:59
2020-12-10T18:05:59
318,089,987
0
0
null
null
null
null
UTF-8
C++
false
false
2,603
h
// -*- mode:c++ -*- #pragma once #include "sm-oid.h" #include "sm-oid-alloc-impl.h" #include "stub-impl.h" namespace ermia { struct sm_oid_mgr_impl : sm_oid_mgr { /* The object array for each file resides in the OID array for file 0; allocators go in file 1 (including the file allocator, which predictably resides at OID 0). We don't attempt to store the file level object array at entry 0 of itself, though. */ static FID const OBJARRAY_FID = 0; static FID const ALLOCATOR_FID = 1; static FID const METADATA_FID = 2; static FID const FIRST_FREE_FID = 3; static size_t const MUTEX_COUNT = 256; sm_oid_mgr_impl(); ~sm_oid_mgr_impl(); FID create_file(bool needs_alloc); void destroy_file(FID f); sm_allocator *get_allocator(FID f) { // TODO: allow allocators to be paged out sm_allocator *alloc = oid_get(ALLOCATOR_FID, f); THROW_IF(not alloc, illegal_argument, "No allocator for FID %d", f); return alloc; } inline oid_array *get_array(FID f) { // TODO: allow allocators to be paged out oid_array *oa = (oid_array *)files->get(f)->offset(); THROW_IF(not oa, illegal_argument, "No such file: %d", f); return oa; } inline void lock_file(FID f) { mutexen[f % MUTEX_COUNT].lock(); } inline void unlock_file(FID f) { mutexen[f % MUTEX_COUNT].unlock(); } inline fat_ptr *oid_access(FID f, OID o) { return get_array(f)->get(o); } inline bool file_exists(FID f) { return files->get(f)->offset(); } void recreate_file(FID f); // for recovery only void recreate_allocator(FID f, OID m); // for recovery only /* And here they all are! */ oid_array *files; /* Plus some mutexen to protect them. We don't need one per allocator, but we do want enough that false sharing is unlikely. */ os_mutex mutexen[MUTEX_COUNT]; }; /* Make sure things are consistent */ static_assert(oid_array::alloc_size() == oid_array::MAX_SIZE, "Go fix oid_array::MAX_ENTRIES"); /* static_assert(oid_array::MAX_ENTRIES == sm_allocator::MAX_CAPACITY_MARK, "Go fix sm_allocator::MAX_CAPACITY_MARK"); static_assert(sm_allocator::max_alloc_size() <= (MAX_ENCODABLE_SIZE << SZCODE_ALIGN_BITS), "Need a bigger alignment"); static_assert(oid_array::alloc_size() <= (MAX_ENCODABLE_SIZE << SZCODE_ALIGN_BITS), "Need a bigger alignment"); */ static_assert(sm_oid_mgr::METADATA_FID == sm_oid_mgr_impl::METADATA_FID, "Go fix sm_oid_mgr::METADATA_FID"); DEF_IMPL(sm_oid_mgr); } // namespace ermia
[ "tzwang@cs.toronto.edu" ]
tzwang@cs.toronto.edu
07684d46b9a058bde0f07e8eb5c383b4030f8c19
924ef73cad6d56129c0728992db983a529532c8a
/loop.cpp
564f240ec12cbd8d851b76f02ff0fea9ef6b2032
[]
no_license
Atik1000/Compititive-Basic-to-Advande
74381e424c1e8e2c23c5eddcf22522516580567d
cddd4aad85a925c41bc256020732e0cafdfc63c7
refs/heads/master
2023-05-04T14:13:20.872492
2021-05-19T18:34:07
2021-05-19T18:34:07
364,850,460
0
0
null
null
null
null
UTF-8
C++
false
false
640
cpp
// // for loop // #include<iostream> // using namespace std; // int main(){ // for (int i = 1; i <=10; i++) // { // cout<<"Bangladesh"<<i<<endl; // } // } // // while loop // #include<iostream> // using namespace std; // int main(){ // int i=1; // while (i<=100) // { // cout<<i<<endl; // i++; // } // cout<<"end loop"; // } // do while #include<iostream> using namespace std; int main(){ int i=1; do{ cout<<"Bangladesh"<<i<<endl; i++; } while (i<5); { cout<<"Bangladesh"<<i<<endl; } cout<<"end loop"; }
[ "foysalkazi45@gmail.com" ]
foysalkazi45@gmail.com
9081dcc3bba9517fc66a82079094f474e100d77b
e604a604adead7e0684ef2fb1525bd79eccfd804
/ApprocheFin2/GLArgon.h
d9055f53f7ec58e578c3ba5839ddaa719d7f4bb6
[]
no_license
Deastan/Brownian_movement
0f6fded7cc633ae740ab6874ae3093342353e03a
8b96cf293f573f6262340c16f40e93a38c243ee4
refs/heads/master
2020-03-12T05:45:15.813801
2018-04-21T12:20:49
2018-04-21T12:20:49
130,470,276
0
0
null
null
null
null
UTF-8
C++
false
false
1,680
h
/** * \file GLArgon.h * \brief est le prototype de la classe de la particule argon en OpenGL * \author Emma Geoffray et Jonathan Burkhard * \version 1.0 * \date mai 2014 */ #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wx/glcanvas.h" // Pour combiner wxWidgets et OpenGL #include "Particule.h" /*! \class GLArgon * \brief Prototype de la classe GLArgon * * Cette classe est celle qui permet de créer une particule d'argon * en OpenGL * */ class GLArgon : public Particule { public: /*================================================================================ * Prototyopes des constructeurs et destructeur *================================================================================*/ ///Constructeur avec arguments sans la température du système GLArgon(Vecteur position, Vecteur vitesse); ///Constructeur avec arguments avec la température du système et le tirage aléatoire des vecteurs positions GLArgon(Enceinte const& enceinte, GenerateurAleatoire& tirage, double temperature); /// Dstructeurs virtual ~GLArgon(); /*================================================================================ * Prototypes des methodes *================================================================================*/ /// Prototype de la méthode evolue virtual void evolue(double dt); /// Prototype de la méthode evolue virtual void dessine() const; /*================================================================================ * Definition des attributs *================================================================================*/ private: GLUquadric* sphere; };
[ "jonathanburkhard@gmail.com" ]
jonathanburkhard@gmail.com
846caa6ed457d4fdc6534c70de15d7d1953de571
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/ds/ds/src/util/ntdsutil/dbinfo.cxx
e71a5c879ed72ee7f4a4698b4ed029a56202a6f6
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,161
cxx
#include <NTDSpch.h> #pragma hdrstop #include "ntdsutil.hxx" #include "file.hxx" #include "dsconfig.h" #include "connect.hxx" #include "resource.h" void FreeSystemInfo( SystemInfo *pInfo ) /*++ Routine Description: Frees the memory associated with a SystemInfo. Parameters: pInfo - SystemInfo pointer. Return Values: None. --*/ { LogInfo *pLogInfo, *pTmpInfo; if ( pInfo ) { pLogInfo = pInfo->pLogInfo; // Free the linked list of log file information. while ( pLogInfo ) { pTmpInfo = pLogInfo; pLogInfo = pLogInfo->pNext; free(pTmpInfo); } free(pInfo); } } void GetDbInfo( SystemInfo *pInfo ) /*++ Routine Description: Reads various registry keys which identify where the DS files are and then determines those files' sizes, etc. Parameters: pInfo - Pointer to SystemInfo to fill. Return Values: None. --*/ { HKEY hKey; HANDLE hFile; DWORD dwErr; DWORD dwType; DWORD cbData; LARGE_INTEGER liDbFileSize; LogInfo *pLogInfo; char *pPattern; char *pTmp; char *pDbFileName = NULL; DWORD cFilesExamined; if ( dwErr = RegOpenKey(HKEY_LOCAL_MACHINE, DSA_CONFIG_SECTION, &hKey) ) { //"%s %d(%s) opening registry key %s\n" RESOURCE_PRINT3(IDS_ERR_OPENING_REGISTRY, dwErr, GetW32Err(dwErr), DSA_CONFIG_SECTION); return; } _try { // Read FILEPATH_KEY. cbData = sizeof(pInfo->pszDbAll); dwErr = RegQueryValueEx( hKey, FILEPATH_KEY, NULL, &dwType, (LPBYTE) pInfo->pszDbAll, &cbData); if ( ERROR_SUCCESS != dwErr ) { //"%s %d(%s) reading %s\\%s\n" RESOURCE_PRINT4(IDS_WRN_READING, dwErr, GetW32Err(dwErr), DSA_CONFIG_SECTION, FILEPATH_KEY); } else if ( cbData > sizeof(pInfo->pszDbAll) ) { // "%s buffer overflow reading %s\\%s\n" RESOURCE_PRINT2(IDS_ERR_BUFFER_OVERFLOW, DSA_CONFIG_SECTION, FILEPATH_KEY); } else { strcpy(pInfo->pszDbDir, pInfo->pszDbAll); pTmp = strrchr(pInfo->pszDbDir, (int) '\\'); if ( !pTmp ) { //"%s Invalid DB path in %s\\%s\n" RESOURCE_PRINT2(IDS_ERR_INVALID_PATH, DSA_CONFIG_SECTION, FILEPATH_KEY); pInfo->pszDbAll[0] = '\0'; pInfo->pszDbFile[0] = '\0'; pInfo->pszDbDir[0] = '\0'; } else { *pTmp = '\0'; pTmp++; strcpy(pInfo->pszDbFile, pTmp); pDbFileName = pTmp; } } // Read LOGPATH_KEY. cbData = sizeof(pInfo->pszLogDir); dwErr = RegQueryValueEx( hKey, LOGPATH_KEY, NULL, &dwType, (LPBYTE) pInfo->pszLogDir, &cbData); if ( ERROR_SUCCESS != dwErr ) { //"%s %d(%s) reading %s\\%s\n" RESOURCE_PRINT4(IDS_WRN_READING, dwErr, GetW32Err(dwErr), DSA_CONFIG_SECTION, LOGPATH_KEY); } else if ( cbData > sizeof(pInfo->pszLogDir) ) { // "%s buffer overflow reading %s\\%s\n" RESOURCE_PRINT2(IDS_ERR_BUFFER_OVERFLOW, DSA_CONFIG_SECTION, LOGPATH_KEY); } // Read BACKUPPATH_KEY. cbData = sizeof(pInfo->pszBackup); dwErr = RegQueryValueEx( hKey, BACKUPPATH_KEY, NULL, &dwType, (LPBYTE) pInfo->pszBackup, &cbData); if ( ERROR_SUCCESS != dwErr ) { //"%s %d(%s) reading %s\\%s\n" RESOURCE_PRINT4(IDS_WRN_READING, dwErr, GetW32Err(dwErr), DSA_CONFIG_SECTION, BACKUPPATH_KEY); } else if ( cbData > sizeof(pInfo->pszLogDir) ) { // "%s buffer overflow reading %s\\%s\n" RESOURCE_PRINT2(IDS_ERR_BUFFER_OVERFLOW, DSA_CONFIG_SECTION, BACKUPPATH_KEY); } // Read JETSYSTEMPATH_KEY. cbData = sizeof(pInfo->pszSystem); dwErr = RegQueryValueEx( hKey, JETSYSTEMPATH_KEY, NULL, &dwType, (LPBYTE) pInfo->pszSystem, &cbData); if ( ERROR_SUCCESS != dwErr ) { //"%s %d(%s) reading %s\\%s\n" RESOURCE_PRINT4(IDS_WRN_READING, dwErr, GetW32Err(dwErr), DSA_CONFIG_SECTION, JETSYSTEMPATH_KEY); } else if ( cbData > sizeof(pInfo->pszLogDir) ) { // "%s buffer overflow reading %s\\%s\n" RESOURCE_PRINT2(IDS_ERR_BUFFER_OVERFLOW, DSA_CONFIG_SECTION, JETSYSTEMPATH_KEY); } } _finally { RegCloseKey(hKey); } // Get size of the DB - provided it was found. if ( pInfo->pszDbFile[0] ) { hFile = CreateFile(pInfo->pszDbAll, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL); if ( INVALID_HANDLE_VALUE == hFile ) { dwErr = GetLastError(); //"%s %d(%s) opening \"%s\"\n" RESOURCE_PRINT3(IDS_ERR_OPENING_REGISTRY, dwErr, GetW32Err(dwErr), pInfo->pszDbAll); } else { liDbFileSize.LowPart = GetFileSize( hFile, (DWORD *) &liDbFileSize.HighPart); if ( 0xffffffff == liDbFileSize.LowPart ) { dwErr = GetLastError(); //"%s %d(%s) getting size of \"%s\"\n" RESOURCE_PRINT3(IDS_ERR_GETTING_SIZE, dwErr, GetW32Err(dwErr), pInfo->pszDbAll); } else { pInfo->cbDb.QuadPart = liDbFileSize.QuadPart; } CloseHandle(hFile); } } // Get sizes of all log (and associated non-DB) files. We // consider anything that is not the DB or a directory is a log. if ( pInfo->pszLogDir[0] ) { pPattern = (char *) alloca(strlen(pInfo->pszLogDir) + 10); strcpy(pPattern, pInfo->pszLogDir); strcat(pPattern, "\\*"); // dwErr will signal whether we need to clean up allocations // in case of early exit. dwErr = 0; hFile = INVALID_HANDLE_VALUE; cFilesExamined = 0; while ( TRUE ) { // Allocate a new LogInfo node to link into pInfo. pLogInfo = (LogInfo *) malloc(sizeof(LogInfo)); if ( !pLogInfo ) { RESOURCE_PRINT (IDS_MEMORY_ERROR); dwErr = 1; break; } memset(pLogInfo, 0, sizeof(LogInfo)); // Read either the first or Nth matching file name. if ( 0 == cFilesExamined++ ) { hFile = FindFirstFile(pPattern, &pLogInfo->findData); if ( INVALID_HANDLE_VALUE == hFile ) { dwErr = GetLastError(); //"%s %d(%s) finding first match of \"%s\"\n" RESOURCE_PRINT3 (IDS_ERR_FINDING_1st_MATCH, dwErr, GetW32Err(dwErr), pPattern); free(pLogInfo); break; } } else { if ( !FindNextFile(hFile, &pLogInfo->findData) ) { dwErr = GetLastError(); if ( ERROR_NO_MORE_FILES == dwErr ) { dwErr = 0; hFile = INVALID_HANDLE_VALUE; } else { //"%s %d(%s) finding Nth match of \"%s\"\n" RESOURCE_PRINT3 (IDS_ERR_FINDING_Nth_MATCH, dwErr, GetW32Err(dwErr), pPattern); } free(pLogInfo); break; } } // See if this item is worth saving. if ( ( pDbFileName && !_stricmp( pDbFileName, pLogInfo->findData.cFileName) ) || ( !_stricmp(".", pLogInfo->findData.cFileName) ) || ( !_stricmp("..", pLogInfo->findData.cFileName) ) || ( !_stricmp("edb.chk", pLogInfo->findData.cFileName) ) || ( pLogInfo->findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) ) { free(pLogInfo); continue; } // Hook this file/LogInfo into the linked list. pLogInfo->pNext = pInfo->pLogInfo; pInfo->pLogInfo = pLogInfo; // Save file size and advance count. pLogInfo->cBytes.LowPart = pLogInfo->findData.nFileSizeLow; pLogInfo->cBytes.HighPart = (LONG) pLogInfo->findData.nFileSizeHigh; pInfo->cbLogs.QuadPart += pLogInfo->cBytes.QuadPart; pInfo->cLogs++; } // while ( TRUE ) // Miscellaneous cleanup. if ( INVALID_HANDLE_VALUE != hFile ) { FindClose(hFile); } if ( dwErr ) { // Error getting the log file names and sizes. Clean out // partially complete linked list and reset counters. pInfo->cLogs = 0; pInfo->cbLogs.QuadPart = 0; pLogInfo = pInfo->pLogInfo; while ( pInfo->pLogInfo ) { pLogInfo = pInfo->pLogInfo; pInfo->pLogInfo = pInfo->pLogInfo->pNext; free(pLogInfo); } } } } SystemInfo * GetSystemInfo( ) /*++ Routine Description: Retrieves information about drives in the system and the DS files. Parameters: None. Return Values: Returns a filled in SystemInfo* or NULL otherwise. --*/ { SystemInfo *pInfo; char pszDriveNames[(4*26)+10]; char *pszDrive; UINT driveType; DWORD dwErr, dwDontCare; LARGE_INTEGER sectorsPerCluster, bytesPerSector, freeClusters, clusters; DiskSpaceString pszFree, pszTotal; pInfo = (SystemInfo *) malloc(sizeof(SystemInfo)); if ( !pInfo ) { RESOURCE_PRINT (IDS_MEMORY_ERROR); return(NULL); } memset(pInfo, 0, sizeof(SystemInfo)); // Get disk info. if ( sizeof(pszDriveNames) < GetLogicalDriveStrings(sizeof(pszDriveNames), pszDriveNames) ) { dwErr = GetLastError(); //"%s %d(%s) getting logical drive strings\n" RESOURCE_PRINT2 (IDS_ERR_GET_LOGICAL_DRIVE_STRS, dwErr, GetW32Err(dwErr)); FreeSystemInfo(pInfo); return(NULL); } // Parse the drive letter string. pszDrive = pszDriveNames; while ( *pszDrive ) { driveType = GetDriveType(pszDrive); if ( DRIVE_FIXED == driveType || (DRIVE_REMOTE == driveType) ) { if ( !GetVolumeInformation( pszDrive, NULL, 0, NULL, &dwDontCare, &dwDontCare, pInfo->rDrives[pInfo->cDrives].pszFileSystem, FILE_SYSTEM_NAME_LEN) ) { dwErr = GetLastError(); //"%s %d(%s) getting volume information for %s\n", RESOURCE_PRINT3 (IDS_WRN_GET_VOLUME_INFO, dwErr, GetW32Err(dwErr), pszDrive); goto nextDrive; } sectorsPerCluster.QuadPart = 0; bytesPerSector.QuadPart = 0; freeClusters.QuadPart = 0; clusters.QuadPart = 0; if ( !GetDiskFreeSpace( pszDrive, &sectorsPerCluster.LowPart, &bytesPerSector.LowPart, &freeClusters.LowPart, &clusters.LowPart) ) { dwErr = GetLastError(); //"%s %d(%s) getting disk free space for %s\n" RESOURCE_PRINT3 (IDS_WRN_GET_FREE_SPACE, dwErr, GetW32Err(dwErr), pszDrive); goto nextDrive; } pInfo->rDrives[pInfo->cDrives].driveType = driveType; pInfo->rDrives[pInfo->cDrives].dwBytes.QuadPart = (sectorsPerCluster.QuadPart * bytesPerSector.QuadPart * clusters.QuadPart); pInfo->rDrives[pInfo->cDrives].dwFreeBytes.QuadPart = (sectorsPerCluster.QuadPart * bytesPerSector.QuadPart * freeClusters.QuadPart); strcpy(pInfo->rDrives[pInfo->cDrives++].pszDrive, pszDrive); } nextDrive: pszDrive += (strlen(pszDrive) + 1); } GetDbInfo(pInfo); return(pInfo); } HRESULT DbInfo( CArgs *pArgs ) /*++ Routine Description: Main routine called by parser to generate system and file information. Parameters: pArgs - Pointer to argument block - ignored. Return Values: Always returns S_OK. --*/ { SystemInfo *pInfo; pInfo = GetSystemInfo(); if ( pInfo ) { DumpSystemInfo(pInfo); FreeSystemInfo(pInfo); } return(S_OK); } void DumpSystemInfo( SystemInfo *pInfo ) /*++ Routine Description: Dumps contents of a SystemInfo struct to stdout in formatted fashion. Parameters: pInfo - Pointer to SystemInfo to dump. Return Values: None. --*/ { DWORD i; DiskSpaceString pszFree; DiskSpaceString pszTotal; LogInfo *pLogInfo; if ( pInfo ) { //"\nDrive Information:\n\n" RESOURCE_PRINT (IDS_DRIVE_INFO); const WCHAR *msg_drive_fixed = READ_STRING (IDS_DRIVE_FIXED); const WCHAR *msg_drive_network = READ_STRING (IDS_DRIVE_NETWORK); for ( i = 0; i < pInfo->cDrives; i++ ) { FormatDiskSpaceString(&pInfo->rDrives[i].dwFreeBytes, pszFree); FormatDiskSpaceString(&pInfo->rDrives[i].dwBytes, pszTotal); //"\t%s %s free(%s) total(%s)\n" RESOURCE_PRINT5 (IDS_DRIVE_FREE_TOTAL, pInfo->rDrives[i].pszDrive, pInfo->rDrives[i].pszFileSystem, pInfo->rDrives[i].driveType == DRIVE_FIXED ? msg_drive_fixed : msg_drive_network, pszFree, pszTotal); } RESOURCE_STRING_FREE (msg_drive_fixed); RESOURCE_STRING_FREE (msg_drive_network); //"\nDS Path Information:\n\n" RESOURCE_PRINT (IDS_DS_PATH_INFO); if ( pInfo->pszDbDir[0] ) { FormatDiskSpaceString(&pInfo->cbDb, pszTotal); //"\tDatabase : %s\\%s - %s\n" RESOURCE_PRINT3 (IDS_DATABASE_PATH, pInfo->pszDbDir, pInfo->pszDbFile, pszTotal); } if ( pInfo->pszBackup[0] ) { //"\tBackup dir : %s\n" RESOURCE_PRINT1 (IDS_BACKUP_PATH, pInfo->pszBackup); } if ( pInfo->pszSystem[0] ) { //"\tWorking dir: %s\n" RESOURCE_PRINT1 (IDS_WORK_PATH, pInfo->pszSystem); } if ( pInfo->pszLogDir[0] ) { FormatDiskSpaceString(&pInfo->cbLogs, pszTotal); //"\tLog dir : %s - %s total\n" RESOURCE_PRINT2 (IDS_LOG_PATH, pInfo->pszLogDir, pszTotal); pLogInfo = pInfo->pLogInfo; for ( i = 0; i < pInfo->cLogs; i++ ) { FormatDiskSpaceString(&pLogInfo->cBytes, pszTotal); printf( "\t\t\t%s - %s\n", pLogInfo->findData.cFileName, pszTotal); pLogInfo = pLogInfo->pNext; } } } }
[ "support@cryptoalgo.cf" ]
support@cryptoalgo.cf
bd112b66be9bb2e0c278bf47ced0f4d7568a4fb1
800edf03626c7f0027588311dd9e5239916007ad
/chinese-touch/source/lesson.cpp
5619f4cf1dc67aedff1ed49cbdb8eaf0895b5641
[]
no_license
natowi/chinese-touch
84cf98b5111a1b180af6bc9230fc17f2976977cd
28f90319ecfb7d7ae68a0544c9f374bdb155c270
refs/heads/master
2021-01-01T05:33:56.096686
2011-04-25T17:47:28
2011-04-25T17:47:28
35,762,305
0
0
null
null
null
null
UTF-8
C++
false
false
20,462
cpp
#include <iostream> #include <fstream> #include <string> #include <map> #include <list> #include <nds.h> #include <fat.h> #include <dirent.h> #include <errno.h> #include <sstream> #include <sys/stat.h> #include <set> #include <string.h> #include <algorithm> #include "lesson.h" #include "config.h" #include "error_console.h" #include "words_db.h" #include "chinese-touch.h" NewWord::~NewWord() { for( Definitions::iterator di = this->definitions.begin(); di != this->definitions.end(); di++ ) { if( di->second ) delete di->second; } this->definitions.clear(); } void NewWordList::clear() { for( NewWordList::iterator i = this->begin(); i != this->end(); i++ ) { if( *i ) delete *i; } this->erase( this->begin(), this->end() ); } NewWordList::~NewWordList() { this->clear(); } Library::Library( Program& _program ) : words_db( *_program.words_db ), books_path( _program.base_dir+"/books" ) { } /*! Scans the directory structure "/chinese-touch/books/\<bookname\>/..." for book and lesson configuration files */ void Library::rescan() { DIR* books_dir = opendir( books_path.c_str() ); if( !books_dir ) { std::stringstream msg; msg << "failed to open: " << books_path << " (" << strerror(errno) << ")"; throw ERROR( msg.str() ); } struct dirent* books_entry; while( (books_entry = readdir(books_dir))!=NULL ) { struct stat book_stat; std::string book_name = books_entry->d_name; std::string book_path = books_path + "/" + book_name; if( stat(book_path.c_str(), &book_stat)==-1 ) { LOG( "failed to stat: " << books_entry->d_name ); LOG( strerror(errno) ); continue; } if( S_ISDIR(book_stat.st_mode) && book_name!="." && book_name!=".." ) { std::string lessons_path = books_path + "/" + book_name; /*! book configuration files are found once within each book directory and called \<bookdir\>.conf */ std::string book_conf_path = lessons_path + "/" + book_name + ".conf"; struct stat book_conf_stat; if( stat(book_conf_path.c_str(), &book_conf_stat)==-1 ) { LOG( "failed to open (read): " << book_conf_path ); LOG( strerror(errno) ); continue; } Book* book = new Book( book_name, this ); book->parse_config( book_conf_path ); //! \see Book::parse_config book->id = this->words_db.get_book_id( *book, true ); /*! each book can have one static dictionary called \<bookdir\>.db */ std::string book_db_path = lessons_path + "/" + book_name + ".db"; struct stat book_db_stat; if( stat(book_db_path.c_str(), &book_db_stat)==0 ) { book->static_words_db_path = book_db_path; book->dictionary_lesson = new Lesson( 0, book ); book->dictionary_lesson->id = this->words_db.get_lesson_id( *book->dictionary_lesson, true ); } (*this)[ book_name ] = book; LOG( "book: " << book_path ); DIR* lessons_dir = opendir( lessons_path.c_str() ); if( !lessons_dir ) { LOG( "failed to open: " << lessons_path ); LOG( strerror(errno) ); continue; } struct dirent* lessons_entry; while( (lessons_entry = readdir(lessons_dir))!=NULL ) { struct stat lesson_stat; std::string lesson_name = lessons_entry->d_name; std::string lesson_path = lessons_path + "/" + lesson_name; if( stat(lesson_path.c_str(), &lesson_stat)==-1 ) { LOG( "failed to stat: " << lessons_entry->d_name ); LOG( strerror(errno) ); continue; } if( !S_ISDIR(lesson_stat.st_mode) ) { std::string::size_type ldot_pos = lesson_name.find( '.' ); std::string::size_type rdot_pos = lesson_name.rfind( '.' ); std::string lesson_extension = ""; if( rdot_pos != std::string::npos ) { lesson_extension = lesson_name.substr( rdot_pos+1 ); } std::stringstream lesson_number_stringstream( lesson_name.substr(0, ldot_pos) ); int lesson_number = -1; lesson_number_stringstream >> lesson_number; if( lesson_number > 0 ) { LOG( "lesson #" << lesson_number << ": " << lesson_path ); Lesson* lesson; if( book->count(lesson_number) ) { lesson = (*book)[ lesson_number ]; } else { lesson = new Lesson( lesson_number, book ); lesson->id = this->words_db.get_lesson_id( *lesson, true ); (*book)[ lesson_number ] = lesson; } /*! The following lesson specific configuration files may appear multiple times within each book directory, once for each lesson: */ /*! - A lessons dictionary table is called \<lesson-number\>.dict */ if( lesson_extension == "dict" ) { lesson->new_words_available = true; } /*! - A lessons base configuration file is called \<lesson-number\>.conf */ else if( lesson_extension == "conf" ) { lesson->parse_config( lesson_path ); //! \see Lesson::parse_config } /*! - A lessons text file is called \<lesson-number\>.text */ else if( lesson_extension == "text" ) { lesson->lesson_texts_available = true; } /*! - A lessons grammar text file is called \<lesson-number\>.grammar */ else if( lesson_extension == "grammar" ) { lesson->grammar_texts_available = true; } /*! - A lessons excercises text file is called \<lesson-number\>.exercise */ else if( lesson_extension == "exercise" ) { lesson->exercises_available = true; } } } } closedir( lessons_dir ); } } closedir( books_dir ); } bool hanzi_min_length_sort_predicate( NewWord* left, NewWord* right ) { return left->hanzi.length() < right->hanzi.length(); } bool hanzi_max_length_sort_predicate( NewWord* left, NewWord* right ) { return left->hanzi.length() > right->hanzi.length(); } void Library::find_words_by_characters( const std::string& characters, NewWordList& result, const std::string& extra_sql_cond, bool include_dictionaries ) { result.clear(); std::string sql_cond = "word like '%"+characters+"%'"; if( extra_sql_cond.length() ) sql_cond += " and ("+extra_sql_cond+")"; this->words_db.query_words( *this, sql_cond, result ); // query single character entries from available static book databases sql_cond = "word='"+characters+"'"; if( include_dictionaries ) { for( Library::iterator book_it = this->begin(); book_it != this->end(); book_it++ ) { if( book_it->second && book_it->second->dictionary_lesson && book_it->second->static_words_db_path.length() ) { WordsDB* static_db = new WordsDB(); try { static_db->open( book_it->second->static_words_db_path ); try { static_db->query_static_words( *this, sql_cond, result, book_it->second->dictionary_lesson ); } catch( Error& e ) { WARN( e.what() ); } static_db->close(); } catch( Error& e ) { WARN( e.what() ); } delete static_db; } } } result.sort( hanzi_min_length_sort_predicate ); } void Library::find_words_by_context( const std::string& text, const UCCharList& search_list, UCCharList::const_iterator pos, int max_range, NewWordList& result, const std::string& extra_sql_cond, bool include_dictionaries ) { result.clear(); typedef std::list<UCCharList::const_iterator> PosList; PosList starts, ends; UCCharList::const_iterator start = pos; std::string pos_character( text, pos->source_offset, pos->source_length ); UCCharList::const_iterator end = pos; end++; bool first_start_inserted = false; bool final_end_inserted = false; for( int range=0; range<max_range && start!=search_list.end(); range++ ) { if( start!=search_list.begin() ) { starts.push_back( start ); start--; } else if( !first_start_inserted ) { starts.push_back( start ); first_start_inserted = true; } if( end!=search_list.end() ) { ends.push_back( end ); end++; } else if( !final_end_inserted ) { ends.push_back( end ); final_end_inserted = true; } } std::string sql_cond; for( PosList::iterator start_it = starts.begin(); start_it != starts.end(); start_it++ ) { for( PosList::iterator end_it = ends.begin(); end_it != ends.end(); end_it++ ) { std::string pattern; for( UCCharList::const_iterator char_it = *start_it; char_it != *end_it; char_it++ ) { pattern += text.substr( char_it->source_offset, char_it->source_length ); } pattern = replace_pattern( pattern, "\"", "\"\"" ); pattern = replace_pattern( pattern, "\n", "\\n" ); LOG( "pattern: \"" << pattern << "\"" ); if( sql_cond.size() ) sql_cond += " or "; sql_cond += "word=\""+pattern+"\""; } } std::string final_sql_cond = sql_cond; if( extra_sql_cond.length() ) final_sql_cond = "(" + final_sql_cond + ") and ("+extra_sql_cond+")"; // query main word database: this->words_db.query_words( *this, final_sql_cond, result ); // query available dictionary books, if required: if( include_dictionaries ) { for( Library::iterator book_it = this->begin(); book_it != this->end(); book_it++ ) { if( book_it->second && book_it->second->dictionary_lesson && book_it->second->static_words_db_path.length() ) { WordsDB* static_db = new WordsDB(); try { static_db->open( book_it->second->static_words_db_path ); try { static_db->query_static_words( *this, sql_cond, result, book_it->second->dictionary_lesson ); } catch( Error& e ) { WARN( e.what() ); } static_db->close(); } catch( Error& e ) { WARN( e.what() ); } delete static_db; } } } result.sort( hanzi_max_length_sort_predicate ); } /*! Parse a book configuration file, containing various key=value pairs (one per line), defining book properties */ void Book::parse_config( const std::string& conf_file_name ) { std::ifstream book_conf_file( conf_file_name.c_str() ); char line_buffer[1024]; std::string key, value; while( book_conf_file.good() ) { book_conf_file.getline( line_buffer, sizeof(line_buffer) ); std::string line = line_buffer; // remove utf-8 bom from line: line = replace_pattern( line, "\xEF\xBB\xBF", "" ); std::string::size_type equals_pos = line.find( '=' ); if( equals_pos != std::string::npos ) { key = line.substr( 0, equals_pos ); value = line.substr( equals_pos+1 ); //! \verbatim title=Title of the book \endverbatim if( key=="title" ) { this->title = value; } //! \verbatim description=Longer description of the book (one line) \endverbatim else if( key=="description" ) { this->description = value; } //! \verbatim author=Name of the auther of the book \endverbatim else if( key=="author" ) { this->author = value; } //! \verbatim publisher=Publisher of the book \endverbatim else if( key=="publisher" ) { this->publisher = value; } //! \verbatim isbn=<isbn> \endverbatim else if( key=="isbn" ) { this->isbn = value; } //! \verbatim year=<yearnum> \endverbatim else if( key=="year" ) { this->year = atoi( value.c_str() ); } } } } std::string Book::get_full_path() { return this->library->books_path+"/"+this->name+"/"; } /*! Parse a lesson configuration file, containing various key=value pairs (one per line), defining lesson properties */ void Lesson::parse_config( const std::string& conf_file_name ) { std::ifstream lesson_conf_file( conf_file_name.c_str() ); char line_buffer[1024]; std::string key, value; while( lesson_conf_file.good() ) { lesson_conf_file.getline( line_buffer, sizeof(line_buffer) ); std::string line = line_buffer; // remove utf-8 bom from line: line = replace_pattern( line, "\xEF\xBB\xBF", "" ); std::string::size_type equals_pos = line.find( '=' ); if( equals_pos != std::string::npos ) { key = line.substr( 0, equals_pos ); value = line.substr( equals_pos+1 ); //! \verbatim title=Title of the lesson \endverbatim if( key=="title" ) { this->title = value; } //! \verbatim description=Longer description of purpose and contents of the lesson (one line) \endverbatim else if( key=="description" ) { this->description = value; } } } } std::string Lesson::find_config_file_by_extension( const std::string& extension ) { std::string error; struct stat config_file_stats; std::string config_file_path_prefix = this->book->get_full_path(); for( int zeros=0; zeros<4; zeros++, config_file_path_prefix+="0" ) { std::stringstream config_file_path; config_file_path << config_file_path_prefix << this->number << extension; if( stat( config_file_path.str().c_str(), &config_file_stats)==-1 ) { error = strerror(errno); error += " (" + config_file_path.str() + ")"; } else return config_file_path.str(); } if( error.length() ) LOG( error ); return ""; } const std::string Lesson::split_chars = " ,;:.!?-/\\()[]{}<>0123456789'\"|~_\r\n\t"; const char* Lesson::split_patterns[] = { "、", ",", "。", "・", ".", "!", "?", ":", "-", "[", "]", "(", ")", "{", "}", "《", "》", "/", " ", "„", "“", "=", "+", "…", 0 }; void Lesson::get_patterns_from_text(const std::string& source_text, StringSet& patterns) { std::string::size_type pos = 0; while( pos != std::string::npos && pos < source_text.length() ) { // prefer more efficient single byte character search for most split patterns: std::string::size_type new_pos = source_text.find_first_of( Lesson::split_chars, pos ); std::string::size_type split_pattern_len = 1; // then search for some multi-byte patterns: for( unsigned int i=0; Lesson::split_patterns[i]; i++ ) { std::string::size_type new_pos2 = source_text.find( Lesson::split_patterns[i], pos ); if( new_pos==std::string::npos || ( new_pos2!=std::string::npos && new_pos2<new_pos ) ) { new_pos = new_pos2; split_pattern_len = strlen( Lesson::split_patterns[i] ); } } // finally store pattern if any and prepare next search step: std::string::size_type len; if( new_pos!=std::string::npos ) { len = new_pos-pos; new_pos += split_pattern_len; } else { len = source_text.length()-pos; } if( len ) { std::string pattern = source_text.substr(pos, len); std::transform( pattern.begin(), pattern.end(), pattern.begin(), tolower ); patterns.insert( pattern ); } pos = new_pos; } } /*! Parse a dictionary file, containing a table definition in MediaWiki format. You can easily create those tables using OpenOffice and its MediaWiki export filter. Anyway here is an example of the expected plain text format: \n \verbatim {| ... |- | 玩 | wán | play (the game) | (n) | It can't be used like "play the piano" or "play video"... etc. ... |} \endverbatim */ int Lesson::parse_dictionary_if_needed( bool count_only, bool force_update ) { std::string dict_file_name = this->find_config_file_by_extension( ".dict" ); if( !dict_file_name.length() ) return 0; struct stat dict_file_stats; if( stat( dict_file_name.c_str(), &dict_file_stats)==-1 ) { throw ERROR( strerror(errno) ); } int new_time = dict_file_stats.st_mtime; // fake dictionary file to be brand new to force update, if requested: if( force_update ) new_time = time(0); if( this->book->library->words_db.get_file_mtime(dict_file_name) == new_time ) return 0; if( !count_only ) { // store dict files new mtime in database: this->book->library->words_db.set_file_mtime( dict_file_name, dict_file_stats.st_mtime ); // mark related words as expired in database: this->book->library->words_db.expire_lesson_words( this ); } int file_id = this->book->library->words_db.get_file_id( dict_file_name ); std::ifstream dict_file( dict_file_name.c_str() ); char line_buffer[1024]; std::string hanzi, pinyin; Definition definition; definition.lang = "de"; int word_count = 0; int column = 0; typedef std::map<std::string,int> StringMap; StringMap seen_words; while( dict_file.good() ) { dict_file.getline( line_buffer, sizeof(line_buffer) ); std::string line = line_buffer; // remove utf-8 bom from line: line = replace_pattern( line, "\xEF\xBB\xBF", "" ); // remove nowiki tags from the odt export: line = replace_pattern( line, "<nowiki>", "" ); line = replace_pattern( line, "</nowiki>", "" ); if( line.substr(0, 2) == "{|" /*! "{|" At the beginning of a line marks the begin of the dictionary table. */ || line.substr(0, 2) == "|-" //! "|-" At the beginning of a line marks the begin of a new word row. || line.substr(0, 2) == "|}" ) /*! "|}" At the beginning of a line marks the end of the dictionary table. */ { if( word_count ) { if( hanzi.length() && !count_only ) { NewWord* word = new NewWord( hanzi, pinyin, this ); word->definitions[ definition.lang ] = new Definition( definition ); word->duplicate_id = seen_words.count(word->hanzi) ? seen_words[word->hanzi] : 0; word->atime = 0; // new words where never accessed word->file_id = file_id; word->file_offset = word_count; seen_words[word->hanzi] = word->duplicate_id+1; this->book->library->words_db.add_or_write_word( *word ); delete word; } hanzi = ""; pinyin = ""; definition.translation = ""; definition.word_type = ""; definition.comment = ""; } word_count++; column = 0; } else if( line.substr(0, 2) == "! " ) /*! "! " Lines starting with the explanation mark followed by a space are used for table headers and will be ignored completely */ { continue; } else if( line.substr(0, 2) == "| " ) /*! "| " The pipe followed by a space and arbitrary text defines a column of a word row. */ { column++; line = line.substr(2); } else { // continuation of multi line field // though prepend previous line brake: line = "\n" + line; } switch( column ) { /*! A word rows colums have to appear after the word rows begin marker and before the next words begin marker and before the dictionary tables end marker. The columns are expected to appear in the following order: */ case 1: hanzi.append( line ); break; //! - column 1: The foreign language word case 2: pinyin.append( line ); break; //! - column 2: The foreign word pronunciation case 3: definition.translation.append( line ); break; //! - column 3: The native language translation case 4: definition.word_type.append( line ); break; //! - column 4: A short, usually abbreviated, string, defining the word type case 5: definition.comment.append( line ); break; //! - column 5: An additional comment in native language /*! Column order is mandatory, but the actual number of columns may differ from the number of meaningful columns described above, though the value of exceeding columns will be ignored. Column values may contain line breaks or being left blank. Pipes and curly brackets should be avoided within column values. */ } } dict_file.close(); return word_count; } /*! Copy the contents of a lessons text file into an in memory buffer for later use */ void Lesson::parse_text( const std::string& extension, TextVector& container ) { std::string text_file_name = this->find_config_file_by_extension( extension ); if( !text_file_name.length() ) return; std::ifstream text_file( text_file_name.c_str() ); char buffer[512]; Text* text = new Text( "none", this ); container.push_back( text ); while( text_file.good() ) { text_file.read( buffer, sizeof(buffer)-1 ); buffer[ text_file.gcount() ] = 0; text->append( buffer ); } }
[ "syslock@fd0ee07c-f0f7-11de-b2c3-d77de7315633" ]
syslock@fd0ee07c-f0f7-11de-b2c3-d77de7315633
2aada68431fba8cd631857bcc1f0e8f26263df70
24a910a2a986628da089c0fb5f33215c5324a523
/week-01/day-5/arrays_ex_13/main.cpp
39a9163513e5bb78fddae907815a59b9a4da1edd
[]
no_license
green-fox-academy/chama-balintkemeny
f0ab33fccd01f17c1250a0c5c74b20a5ac061c8d
515d9f644a39731bbe3d56bdba570226c254119b
refs/heads/master
2020-07-23T12:41:16.690604
2020-01-29T08:46:49
2020-01-29T08:46:49
207,557,164
0
0
null
null
null
null
UTF-8
C++
false
false
279
cpp
#include <iostream> int main() { int aj[5] = {3, 4, 5, 6, 7}; int revAj[5]; for (int i = 0; i < 5; ++i) { revAj[i] = aj[4-i]; } for (int j = 0; j < 5; ++j) { aj[j] = revAj[j]; std::cout << aj[j] << std::endl; } return 0; }
[ "balintkemeny@gmail.com" ]
balintkemeny@gmail.com
5fb554807ec950fa37d8ea7891601d238485160b
555d42718effa8e12f1166f9d6787919629e0c7a
/src/Menge/MengeCore/BFSM/GoalSet.cpp
528d47fd212c7dd205951ef3922db1bcd90f05b5
[ "Apache-2.0" ]
permissive
hxb1997/Menge
ce9e80dda37bb8b4278c26f86f29611eb0de9f5e
7a09a6236d8eef23e3d15d08873d5918d064761b
refs/heads/master
2023-06-05T22:13:13.165768
2021-07-01T09:51:19
2021-07-01T09:51:19
381,973,578
0
1
null
null
null
null
GB18030
C++
false
false
9,094
cpp
/* License Menge Copyright ?and trademark ?2012-14 University of North Carolina at Chapel Hill. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice, this paragraph, and the following four paragraphs appear in all copies. This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. The software program and documentation are supplied "as is," without any accompanying services from the University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The end-user understands that the program was developed for research purposes and is advised not to rely exclusively on the program for any reason. IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Any questions or comments should be sent to the authors {menge,geom}@cs.unc.edu */ #include "MengeCore/BFSM/GoalSet.h" #include "MengeCore/BFSM/fsmCommon.h" #include "MengeCore/BFSM/Goals/Goal.h" #include "MengeCore/Math/consts.h" #include "MengeCore/Core.h" #include "MengeCore/BFSM/FSM.h" #include "MengeCore/BFSM/State.h" #include "MengeCore/BFSM/GoalSelectors/GoalSelector.h" #include "MengeCore/Agents/BaseAgent.h" #include "MengeCore/MatrixMy.h" #include <cassert> #include <cmath> namespace Menge { namespace BFSM { ///////////////////////////////////////////////////////////////////// // Implementation of GoalSet ///////////////////////////////////////////////////////////////////// GoalSet::GoalSet():_goals(),_goalIDs(),_totalWeight(0.f),_randVal(0.f,1.f) { } ///////////////////////////////////////////////////////////////////// GoalSet::~GoalSet() { std::map< size_t, Goal * >::iterator itr = _goals.begin(); for ( ; itr != _goals.end(); ++itr ) { itr->second->destroy(); } } ///////////////////////////////////////////////////////////////////// bool GoalSet::addGoal( size_t id, Goal * goal ) { bool valid = false; _lock.lockRead(); if ( _goals.find( id ) == _goals.end() ) { valid = true; goal->_goalSet = this; _goals[ id ] = goal; _goalIDs.push_back( id ); _totalWeight += goal->_weight; } _lock.releaseRead(); return valid; } ///////////////////////////////////////////////////////////////////// void GoalSet::moveGoals(float time_step) { for (auto& id_goal_pair : _goals) { Goal& goal = *id_goal_pair.second; if (goal.moves()) goal.move(time_step); } } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getGoalByID( size_t id ) { Goal * goal = 0x0; std::map< size_t, Goal * >::const_iterator itr = _goals.find( id ); if ( itr != _goals.end() && itr->second->hasCapacity() ) { goal = itr->second; } return goal; } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getGoalByIDConcurrent( size_t id ) { _lock.lockRead(); Goal * goal = getGoalByID( id ); _lock.releaseRead(); return goal; } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getIthGoal( size_t i ) { Goal * goal = 0x0; if ( i < _goalIDs.size() ) { size_t id = _goalIDs[ i ]; std::map< size_t, Goal * >::const_iterator itr = _goals.find( id ); if (itr != _goals.end() && itr->second->hasCapacity() ) { goal = itr->second; } } return goal; } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getIthGoalConcurrent( size_t i ) { _lock.lockRead(); Goal * goal = getIthGoal( i ); _lock.releaseRead(); return goal; } ///////////////////////////////////////////////////////////////////// size_t GoalSet::sizeConcurrent() const { _lock.lockRead(); size_t s = _goalIDs.size(); _lock.releaseRead(); return s; } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getRandomGoal() { Goal * goal = 0x0; const size_t GOAL_COUNT = _goalIDs.size(); if ( GOAL_COUNT > 0 ) { size_t idx = (size_t)( GOAL_COUNT * _randVal.getValue() ); idx = idx < GOAL_COUNT ? idx : GOAL_COUNT - 1; size_t id = _goalIDs[ idx ]; std::map< size_t, Goal * >::const_iterator itr = _goals.find( id ); assert( itr != _goals.end() && "Somehow failed to get a random goal" ); goal = itr->second; } return goal; } ///////////////////////////////////////////////////////////////////// Goal * GoalSet::getRandomWeightedGoal() { // TODO: Change this to use _goalIDs as the key interface of available goals Goal * tgtGoal = 0x0; if ( _goalIDs.size() > 0 ) { const float TGT_WEIGHT = _totalWeight * _randVal.getValue(); std::map< size_t, Goal * >::const_iterator itr = _goals.find( _goalIDs[ 0 ] ); assert( itr != _goals.end() && "A goalID does not map to a goal" ); tgtGoal = itr->second; float accumWeight = tgtGoal->_weight; for ( size_t i = 1; i < _goalIDs.size(); ++i ) { if ( accumWeight > TGT_WEIGHT ) break; itr = _goals.find( _goalIDs[ i ] ); assert( itr != _goals.end() && "A goalID does not map to a goal" ); tgtGoal = itr->second; accumWeight += tgtGoal->_weight; } } return tgtGoal; } ///////////////////////////////////////////////////////////////////// void GoalSet::setGoalFull( const Goal * goal ) const { size_t i = 0; std::map< size_t, Goal * >::const_iterator itr; while ( i < _goalIDs.size() ) { itr = _goals.find( _goalIDs[ i ] ); assert( itr != _goals.end() && "A goalID does not map to a goal" ); const Goal * testGoal = itr->second; if ( testGoal == goal ) { _totalWeight -= goal->_weight; _goalIDs.erase( _goalIDs.begin() + i ); // todo: should this just be itr? break; } else { ++i; } } } ///////////////////////////////////////////////////////////////////// void GoalSet::setGoalAvailable( const Goal * goal ) const { const size_t GOAL_ID = goal->getID(); _lock.lockWrite(); assert( _goals.find( GOAL_ID ) != _goals.end() && "Trying to set a goal available that doesn't belong to the goal set" ); #ifdef _DEBUG bool found = false; for ( size_t i = 0; i < _goalIDs.size(); ++i ) { if ( _goalIDs[ i ] == GOAL_ID ) { found = true; break; } } assert( !found && "Trying to reactivate a goal that was never marked unavailable" ); #endif _goalIDs.push_back( GOAL_ID ); _totalWeight += goal->_weight; _lock.releaseWrite(); } ///////////////////////////////////////////////////////////////////// Goal* GoalSet::getGoalFromMatrix(const Agents::BaseAgent* agent) { // TODO: Change this to use _goalIDs as the key interface of available goals Goal* tgtGoal = 0x0; if (_goalIDs.size() > 0) { if(SIM_TIME>0){ int shopIDNow = ACTIVE_FSM->getNode(0)->getGoal(agent->_id)->_id;//agent当前的goal的id float weight = BusinessReality::ProbGoals->_sumWeightMatrix->Point(agent->_class, shopIDNow); float TGT_WEIGHT = BusinessReality::ProbGoals->_sumWeightMatrix->Point(agent->_class, shopIDNow) * (rand()%100*0.01);//_totalWeight std::map< size_t, Goal* >::const_iterator itr = _goals.find(_goalIDs[0]); assert(itr != _goals.end() && "A goalID does not map to a goal"); tgtGoal = itr->second; float accumWeight = BusinessReality::ProbGoals->Point(agent->_class, shopIDNow, tgtGoal->_id/10, tgtGoal->_id %10);//这里用矩阵 for (size_t i = 1; i < _goalIDs.size(); ++i) { if (accumWeight > TGT_WEIGHT) break; itr = _goals.find(_goalIDs[i]); assert(itr != _goals.end() && "A goalID does not map to a goal"); tgtGoal = itr->second; accumWeight += BusinessReality::ProbGoals->Point(agent->_class, shopIDNow, tgtGoal->_id / 10, tgtGoal->_id % 10); } } else { tgtGoal = GoalSet::getRandomWeightedGoal(); } } return tgtGoal; } } // namespace BFSM } // namespace Menge
[ "huangxb@bupt.edu.com" ]
huangxb@bupt.edu.com
4847426fe4c01bd7f4b20f00b8c152fe09970e8f
b365aa259f55e6bab54c34fd8fe3f2709bceb60c
/BC15092014b/Export/ios/BC15092014b/haxe/build/Release-iphoneos/include/com/stencyl/graphics/shaders/PostProcess.h
f006fc3abd97aa5a41626d07b86e0e972aa086de
[]
no_license
theabbott/Until-All
09bd5c76457befe08023e6c94d28366ab2fa89a7
45cf4f5faaf43fb6e79efc1bc7082047c6372231
refs/heads/master
2016-09-10T20:44:29.396174
2014-09-16T09:36:54
2014-09-16T09:36:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,197
h
#ifndef INCLUDED_com_stencyl_graphics_shaders_PostProcess #define INCLUDED_com_stencyl_graphics_shaders_PostProcess #ifndef HXCPP_H #include <hxcpp.h> #endif #include <openfl/display/OpenGLView.h> HX_DECLARE_CLASS0(IMap) HX_DECLARE_CLASS4(com,stencyl,graphics,shaders,PostProcess) HX_DECLARE_CLASS4(com,stencyl,graphics,shaders,Shader) HX_DECLARE_CLASS2(flash,display,DisplayObject) HX_DECLARE_CLASS2(flash,display,IBitmapDrawable) HX_DECLARE_CLASS2(flash,events,EventDispatcher) HX_DECLARE_CLASS2(flash,events,IEventDispatcher) HX_DECLARE_CLASS2(flash,geom,Rectangle) HX_DECLARE_CLASS2(haxe,ds,StringMap) HX_DECLARE_CLASS2(openfl,display,DirectRenderer) HX_DECLARE_CLASS2(openfl,display,OpenGLView) HX_DECLARE_CLASS2(openfl,gl,GLBuffer) HX_DECLARE_CLASS2(openfl,gl,GLFramebuffer) HX_DECLARE_CLASS2(openfl,gl,GLObject) HX_DECLARE_CLASS2(openfl,gl,GLRenderbuffer) HX_DECLARE_CLASS2(openfl,gl,GLTexture) namespace com{ namespace stencyl{ namespace graphics{ namespace shaders{ class HXCPP_CLASS_ATTRIBUTES PostProcess_obj : public ::openfl::display::OpenGLView_obj{ public: typedef ::openfl::display::OpenGLView_obj super; typedef PostProcess_obj OBJ_; PostProcess_obj(); Void __construct(::String fragmentShader,hx::Null< bool > __o_literalText); public: static hx::ObjectPtr< PostProcess_obj > __new(::String fragmentShader,hx::Null< bool > __o_literalText); static Dynamic __CreateEmpty(); static Dynamic __Create(hx::DynamicArray inArgs); ~PostProcess_obj(); HX_DO_RTTI; static void __boot(); static void __register(); void __Mark(HX_MARK_PARAMS); void __Visit(HX_VISIT_PARAMS); ::String __ToString() const { return HX_CSTRING("PostProcess"); } ::haxe::ds::StringMap uniforms; int timeUniform; int resolutionUniform; int imageUniform; int texCoordSlot; int vertexSlot; Float timeScale; Float time; ::openfl::gl::GLFramebuffer defaultFramebuffer; ::openfl::gl::GLFramebuffer renderTo; ::openfl::gl::GLBuffer buffer; ::com::stencyl::graphics::shaders::Shader shader; ::openfl::gl::GLTexture texture; ::openfl::gl::GLRenderbuffer renderbuffer; ::openfl::gl::GLFramebuffer framebuffer; virtual Void capture( ); Dynamic capture_dyn(); virtual Void createTexture( int width,int height); Dynamic createTexture_dyn(); virtual Void createRenderbuffer( int width,int height); Dynamic createRenderbuffer_dyn(); virtual Void rebuild( ); Dynamic rebuild_dyn(); virtual Void enable( ::com::stencyl::graphics::shaders::PostProcess to); Dynamic enable_dyn(); virtual ::com::stencyl::graphics::shaders::PostProcess set_to( ::com::stencyl::graphics::shaders::PostProcess value); Dynamic set_to_dyn(); virtual Void tweenUniform( ::String name,Float targetValue,hx::Null< Float > duration,Dynamic easing); Dynamic tweenUniform_dyn(); virtual Void setUniform( ::String uniform,Float value); Dynamic setUniform_dyn(); static ::String vertexShader; static Array< Float > get_vertices( ); static Dynamic get_vertices_dyn(); }; } // end namespace com } // end namespace stencyl } // end namespace graphics } // end namespace shaders #endif /* INCLUDED_com_stencyl_graphics_shaders_PostProcess */
[ "joe.gilbertson@gmail.com" ]
joe.gilbertson@gmail.com
008485141d48747ca20a69f4261acf83d28b0ed9
a79ab2dc60019cc8ae9e1d1276e1e9a51d4183c9
/lab10_q3.cpp
b5ba6e995be75bef507b3a7f93903756d0416214
[]
no_license
vaish-agarwal/c-
a809a095cd8b2a6b7dd1b40f0fa5337f02c189c7
ef5ddb507d8ffc5a16d86fd650c0262c5f3cb165
refs/heads/master
2020-03-25T10:58:47.273772
2018-11-20T11:26:05
2018-11-20T11:26:05
143,713,953
0
0
null
null
null
null
UTF-8
C++
false
false
1,430
cpp
#include<iostream> using namespace std; //create class rectangle class rectangle { public: double length; double breadth; double area(); double perimeter(); }; //finding area double rectangle:: area() { return length*breadth; } //finding perimeter double rectangle:: perimeter() { return 2*(length + breadth); } int main(){ //declare objects of class rectangle rect1; rectangle rect2; //ask l & b from user cout<<"enter the values of LENGTH of rectangle1 :"<<endl; cin>>rect1.length; cout<<"enter the values of BREADTH of rectangle1 :"<<endl; cin>>rect1.breadth; cout<<"enter the values of LENGTH of rectangle2 :"<<endl; cin>>rect2.length; cout<<"enter the values of BREADTH of rectangle2 :"<<endl; cin>>rect2.breadth; //display result for rect1 double a = rect1.area(); double b = rect1.perimeter(); cout<<"area of rectangle1:"<<a<<endl; cout<<"perimeter of rectangle1:"<<b<<endl<<endl<<endl; //display result for rect2 double c = rect2.area(); double d = rect2.perimeter(); cout<<"area of rectangle2:"<<c<<endl; cout<<"perimeter of rectangle2:"<<d<<endl; //comparing area if(a>b){ cout<<"area of rectangle1 greater than rectangle2."<<endl; } else{ cout<<"area of rectangle1 greater than rectangle2."<<endl; } //comparing perimeter if(c>d){ cout<<"perimeter of rectangle1 greater than rectangle2."<<endl; } else{ cout<<"perimeter of rectangle1 greater than rectangle2."<<endl; } }
[ "noreply@github.com" ]
noreply@github.com
806c6cc3436af6fb5b55220ae21794c498c344e2
09ab08f51d8a0ef6ae86aa5d3c2e3b3f01a775bd
/C_C++/examples/shapes3/point.cpp
e8fa735a6fc75a78dca26e13da5e046c09d89349
[]
no_license
oconnellamethyst/csci1113
7beb093b7a619362de460f6a296afabf47bddc8d
7f099756753b9b3bbd467d9327179b71b02ae673
refs/heads/master
2020-03-18T12:58:58.246400
2018-06-29T20:59:16
2018-06-29T20:59:16
134,754,110
2
0
null
null
null
null
UTF-8
C++
false
false
742
cpp
/* FILE: ./shapes3/point.cpp */ #include "point.h" point::point(double xvalue, double yvalue) { setPoint(xvalue,yvalue); } void point::setX(double new_x) { x = new_x; } void point::setY(double new_y) { y = new_y; } double point::getX( ) const { return x; } double point::getY( ) const { return y; } void point::setPoint(double new_x, double new_y) { x = new_x; y = new_y; } void point::move(double x, double y) { setX(x); setY(y); } void point::shift(double dx, double dy) { setX(getX( )+dx); setY(getY( )+dy); } void point::print(ostream & os) const { os << "(" << x << "," << y << ")"; } ostream & operator<<(ostream & os, const point& p) { os << "(" << p.x << "," << p.y << ")"; return os; }
[ "oconnellamethyst@gmail.com" ]
oconnellamethyst@gmail.com
13e526da0bbf006c149b492c5f03bd6bb67ff32c
460f16e4c14fe40fa659ecb5cd516ccc4e38d4d3
/src/rat.cpp
34142eff582aa5cac1ec6c2cd59b114a0932196d
[ "MIT" ]
permissive
GothenburgBitFactory/rat
404350b4f28e234895dc3c29badae16e972b6ef4
00984f04c68947cb9d8157b989fe3485b25db0b1
refs/heads/master
2021-05-08T14:34:28.801469
2018-05-13T18:40:13
2018-05-13T18:40:13
120,088,201
1
0
null
null
null
null
UTF-8
C++
false
false
4,608
cpp
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2010 - 2017, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. // // http://www.opensource.org/licenses/mit-license.php // //////////////////////////////////////////////////////////////////////////////// #include <cmake.h> #include <PEG.h> #include <Packrat.h> #include <Args.h> #include <FS.h> #include <Timer.h> #include <shared.h> #include <iostream> //////////////////////////////////////////////////////////////////////////////// void usage () { std::cout << '\n' << "Usage: rat [options] <grammar> [<args>]\n" << '\n' << "Options are:\n" << " -v/--version Version number\n" << " -h/--help Command usage\n" << " -d/--debug Debug mode\n" << " -s/--strict Strict grammar validation\n" << " -t/--time Show performance metrics\n" << '\n'; exit (0); } //////////////////////////////////////////////////////////////////////////////// int main (int argc, const char* argv[]) { int status = 0; // Process command line arguments Args args; args.addOption ("help", false); args.addOption ("version", false); args.addOption ("debug", false); args.addOption ("strict", false); args.addOption ("time", false); args.scan (argc, argv); if (args.getOption ("help")) usage (); if (args.getOption ("version")) { std::cout << VERSION << '\n'; exit (0); } if (args.getPositionalCount () < 2) usage (); try { // Read the grammar file. std::string grammar; File (args.getPositional (0)).read (grammar); // Parse the grammar. PEG peg; if (args.getOption ("strict")) peg.strict (true); for (auto i = 0; i < args.getOptionCount ("debug"); i++) peg.debug (); Timer t1; t1.start (); peg.loadFromString (grammar); t1.stop (); if (args.getOption ("time")) std::cout << "PEG load/parse " << t1.total_us () << "μs\n"; // Gather all the entities. std::multimap <std::string, std::string> entities; for (int i = 1; i < args.getPositionalCount (); i++) { auto elements = split (args.getPositional (i), ':'); if (elements[0] == "entity") entities.insert ({elements[1], elements[2]}); } // Test commandLine against grammar. for (int i = 1; i < args.getPositionalCount (); i++) { auto arg = args.getPositional (i); if (arg.substr (0, 7) != "entity:") { // If the argument refers to an existing file, read it. File input (arg); if (input.exists () && input.readable ()) input.read (arg); // Create the parser. Packrat packrat; for (auto& entity : entities) packrat.entity (entity.first, entity.second); for (auto i = 0; i < args.getOptionCount ("debug"); i++) packrat.debug (); Timer t2; t2.start (); packrat.parse (peg, arg); t2.stop (); if (args.getOption ("time")) std::cout << "RAT parse " << t2.total_us () << "μs\n"; std::cout << packrat.dump (); // TODO Ready for eval. } } } catch (const std::string& error) { std::cout << error << "\n"; status = -1; } catch (...) { std::cout << "Unknown error\n"; status = -2; } return status; } ////////////////////////////////////////////////////////////////////////////////
[ "paul@beckingham.net" ]
paul@beckingham.net
0c37da7ed58d272a6e493e659366da8f79e0f09e
a39fa273e79917c9172d970d66d09c97804bccdd
/C++ Builder example/CBuilder6(BCB6)与Windows API经典范例/Ch1_File Functions/ch01-16-1/Unit1.cpp
51c2e83b89a0cd4612c3efc53f17661348a11482
[]
no_license
jash-git/Jash-good-idea-20210419-001
617f54765b265c75671a5362b4d2cf51f8b36bbf
d93be27fb6a61946ea302a149c50745a0879c415
refs/heads/master
2023-05-03T07:27:00.701673
2021-05-18T01:34:00
2021-05-18T01:34:00
359,301,299
14
4
null
null
null
null
GB18030
C++
false
false
1,530
cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; //--------------------------------------------------------------------------- __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TForm1::FormCreate(TObject *Sender) { //也可以在各组件的 Properties 中直接设置 /* DirectoryListBox1->FileList = FileListBox1; DriveComboBox1->DirList = DirectoryListBox1; */ } //--------------------------------------------------------------------------- void __fastcall TForm1::Button1Click(TObject *Sender) { //删除Memo1所有文字 Memo1->Clear(); //把计 char buffer[ MAX_PATH ]; char *filePart; char *path = FileListBox1->FileName.c_str(); //取得完整长路径,返回路径字符数目 unsigned int result = ::GetFullPathName(path, MAX_PATH, buffer, &filePart); //显示在Memo1上 Memo1->Lines->Add("文件名称" + AnsiString(filePart)); Memo1->Lines->Add("文件完整路径" + AnsiString(buffer)); Memo1->Lines->Add("文件完整路径的字符数" + AnsiString(result)); } //---------------------------------------------------------------------------
[ "gitea@fake.local" ]
gitea@fake.local
36d2762de5190b79535cf556f38a5fc400c66f75
77e41f61a9320dcf0312d32df6494767d3ebe8e4
/src/DieselLok.cpp
5de14e627e5d23450c400f6784bfff4a7b354cae
[]
no_license
famo7/project-trains
d5f294f1d181622f59f4e19dc8a6d705af3d66a0
df3789f7c7ede1c1038783f7011bfc1caa61f19c
refs/heads/main
2023-03-13T05:00:45.712015
2021-02-19T13:14:20
2021-02-19T13:14:20
317,870,266
0
0
null
null
null
null
UTF-8
C++
false
false
549
cpp
// Filename: DieselLok.cpp // Written by: Farhan Mohamed // Created date: 14/10/2020 // Last modified: 11/01/2020 /* Description: Cpp file containing implementation of constructor, * and overriden pure virtual function from Fordon class. */ #include "DieselLok.h" #include <utility> DieselLok::DieselLok(int uniqId, int type, int speed, int forB): Lok(uniqId, type, speed), forBrukning(forB){} void DieselLok::print(ostream &os) { Lok::print(os); os << "Förbrukning: " << forBrukning << "\n"; } DieselLok::~DieselLok() = default;
[ "58390031+famo7@users.noreply.github.com" ]
58390031+famo7@users.noreply.github.com
eeb4694ad88fb7d90aef0f9b092efe7f080dde62
69b893784d78ae88c6fe843a9b0a2e8790664192
/export/android/obj/include/zpp_nape/util/ZNPList_ZPP_Constraint.h
86a9ec82b7143f50b7363403a424875358fbae2c
[]
no_license
RubenCardos/TestFuerzas
222c938f8c7d370d7e5a6fd7703fdbc928ac0e9d
4749a3fe7d5e82069d84e020d1febf09f5b22c12
refs/heads/master
2021-01-10T15:34:32.165338
2015-05-22T13:18:28
2015-05-22T13:18:28
36,072,321
1
0
null
null
null
null
UTF-8
C++
false
false
4,144
h
#ifndef INCLUDED_zpp_nape_util_ZNPList_ZPP_Constraint #define INCLUDED_zpp_nape_util_ZNPList_ZPP_Constraint #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS2(zpp_nape,constraint,ZPP_Constraint) HX_DECLARE_CLASS2(zpp_nape,util,ZNPList_ZPP_Constraint) HX_DECLARE_CLASS2(zpp_nape,util,ZNPNode_ZPP_Constraint) namespace zpp_nape{ namespace util{ class HXCPP_CLASS_ATTRIBUTES ZNPList_ZPP_Constraint_obj : public hx::Object{ public: typedef hx::Object super; typedef ZNPList_ZPP_Constraint_obj OBJ_; ZNPList_ZPP_Constraint_obj(); Void __construct(); public: inline void *operator new( size_t inSize, bool inContainer=true) { return hx::Object::operator new(inSize,inContainer); } static hx::ObjectPtr< ZNPList_ZPP_Constraint_obj > __new(); static Dynamic __CreateEmpty(); static Dynamic __Create(hx::DynamicArray inArgs); //~ZNPList_ZPP_Constraint_obj(); HX_DO_RTTI; static void __boot(); static void __register(); void __Mark(HX_MARK_PARAMS); void __Visit(HX_VISIT_PARAMS); ::String __ToString() const { return HX_CSTRING("ZNPList_ZPP_Constraint"); } ::zpp_nape::util::ZNPNode_ZPP_Constraint head; virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint begin( ); Dynamic begin_dyn(); bool modified; bool pushmod; int length; virtual Void setbegin( ::zpp_nape::util::ZNPNode_ZPP_Constraint i); Dynamic setbegin_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint add( ::zpp_nape::constraint::ZPP_Constraint o); Dynamic add_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint inlined_add( ::zpp_nape::constraint::ZPP_Constraint o); Dynamic inlined_add_dyn(); virtual Void addAll( ::zpp_nape::util::ZNPList_ZPP_Constraint x); Dynamic addAll_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint insert( ::zpp_nape::util::ZNPNode_ZPP_Constraint cur,::zpp_nape::constraint::ZPP_Constraint o); Dynamic insert_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint inlined_insert( ::zpp_nape::util::ZNPNode_ZPP_Constraint cur,::zpp_nape::constraint::ZPP_Constraint o); Dynamic inlined_insert_dyn(); virtual Void pop( ); Dynamic pop_dyn(); virtual Void inlined_pop( ); Dynamic inlined_pop_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint pop_unsafe( ); Dynamic pop_unsafe_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint inlined_pop_unsafe( ); Dynamic inlined_pop_unsafe_dyn(); virtual Void remove( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic remove_dyn(); virtual bool try_remove( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic try_remove_dyn(); virtual Void inlined_remove( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic inlined_remove_dyn(); virtual bool inlined_try_remove( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic inlined_try_remove_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint erase( ::zpp_nape::util::ZNPNode_ZPP_Constraint pre); Dynamic erase_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint inlined_erase( ::zpp_nape::util::ZNPNode_ZPP_Constraint pre); Dynamic inlined_erase_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint splice( ::zpp_nape::util::ZNPNode_ZPP_Constraint pre,int n); Dynamic splice_dyn(); virtual Void clear( ); Dynamic clear_dyn(); virtual Void inlined_clear( ); Dynamic inlined_clear_dyn(); virtual Void reverse( ); Dynamic reverse_dyn(); virtual bool empty( ); Dynamic empty_dyn(); virtual int size( ); Dynamic size_dyn(); virtual bool has( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic has_dyn(); virtual bool inlined_has( ::zpp_nape::constraint::ZPP_Constraint obj); Dynamic inlined_has_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint front( ); Dynamic front_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint back( ); Dynamic back_dyn(); virtual ::zpp_nape::util::ZNPNode_ZPP_Constraint iterator_at( int ind); Dynamic iterator_at_dyn(); virtual ::zpp_nape::constraint::ZPP_Constraint at( int ind); Dynamic at_dyn(); }; } // end namespace zpp_nape } // end namespace util #endif /* INCLUDED_zpp_nape_util_ZNPList_ZPP_Constraint */
[ "elcaraescombro@gmail.com" ]
elcaraescombro@gmail.com
167d448ef940df330bba365630a1985a4b695aec
39cda6639be35c9e369229373b428cdee985b959
/seeed_graphics_base.h
9fe2f74ee65f1fc4a8df687acb80f14995587af6
[ "MIT" ]
permissive
kartben/Seeed_Arduino_Linechart
c08ae70e0d2a8fca0050b65c41879c5ac7cab42e
2dd6c9cfe8ca4fd039f9195a29a63db09a7da356
refs/heads/master
2023-03-31T04:14:42.323445
2021-04-07T18:07:45
2021-04-08T10:19:32
274,688,476
0
0
MIT
2020-06-24T14:22:30
2020-06-24T14:22:30
null
UTF-8
C++
false
false
13,176
h
#pragma once #include"seeed_graphics_define.h" #define xlist(...) __VA_ARGS__ #define xprop(type,name,...) \ protected: \ type _ ## name; \ public: \ auto & name(type value) { \ _ ## name = value; \ return (__VA_ARGS__ this)[0]; \ } \ auto & name(type * value){ \ value[0] = _ ## name; \ return (__VA_ARGS__ this)[0]; \ } \ auto & name(){ \ return _ ## name; \ } #define xvprop(type,name,...) \ protected: \ std::vector<type> _ ## name; \ public: \ auto & name(type value) { \ _ ## name = std::vector<type>{ value }; \ return (__VA_ARGS__ this)[0]; \ } \ template<class ... arg> \ auto & name(type value, arg ... list) { \ _ ## name = std::vector<type>{ value, list... }; \ return (__VA_ARGS__ this)[0]; \ } \ auto & name(std::vector<type> * value){ \ value[0] = _ ## name; \ return (__VA_ARGS__ this)[0]; \ } \ auto & name(){ \ return _ ## name; \ } #define xpoint(type,...) \ xprop(pos_t, x ## __VA_ARGS__); \ xprop(pos_t, y ## __VA_ARGS__); \ auto & xy ## __VA_ARGS__( \ pos_t x, \ pos_t y){ \ this->x ## __VA_ARGS__(x); \ this->y ## __VA_ARGS__(y); \ return ((type *)this)[0]; \ } \ auto & xy ## __VA_ARGS__( \ pos_t * x, \ pos_t * y){ \ this->x ## __VA_ARGS__(x); \ this->y ## __VA_ARGS__(y); \ return ((type *)this)[0]; \ } \ auto & xy ## __VA_ARGS__(point p){ \ return xy ## __VA_ARGS__(p.x, p.y); \ } \ auto xy ## __VA_ARGS__(){ \ return point(x ## __VA_ARGS__(), y ## __VA_ARGS__()); \ } \ auto & xy ## __VA_ARGS__(point * p){ \ return xy ## __VA_ARGS__(& p->x, & p->y); \ } #define xpositionx(struct_type,list,set,default_set) \ struct_type() { \ _x = 0; \ _y = 0; \ default_set; \ } \ struct_type(pos_t x, pos_t y) : \ struct_type(){ \ _x = x; \ _y = y; \ } \ struct_type(point p) : \ struct_type(p.x, p.y) { \ } \ struct_type(point p, list) : \ struct_type(p.x, p.y) { \ set; \ } \ struct_type(pos_t x, pos_t y, list) : \ struct_type(x,y){ \ set; \ } \ #define xposition(struct_type,...) \ struct_type() { \ _x = 0; \ _y = 0; \ __VA_ARGS__; \ } \ struct_type(pos_t x, pos_t y) : \ struct_type(){ \ _x = x; \ _y = y; \ } \ struct_type(point p) : \ struct_type(p.x, p.y) { \ } \ namespace detail { template<class return_type> struct poly{ poly(){ _color.push_back(pan_color); _thickness.push_back(pan_thickness); } poly(std::initializer_list<point> const & value) : poly(){ _value = value; } xvprop(point, value, (return_type *)); xvprop(color_t, color, (return_type *)); xvprop(pix_t, thickness, (return_type*)); }; template<class return_type> struct aligner{ aligner() : _x(0), _y(0), _width(0), _height(0), _origin(left), _vorigin(top){ } xpoint(return_type); xprop(pix_t, width, (return_type*)); xprop(pix_t, height, (return_type*)); xprop(align_type, origin, (return_type*)); xprop(valign_type, vorigin, (return_type*)); //protected: point adjust(pix_t width, pix_t height) { auto x = _x; auto y = _y; if (_width == 0) { _width = width; } if (_height == 0) { _height = height; } if (_origin == center) { x -= width / 2; } else if (_origin == right) { x -= width; } if (_vorigin == vcenter) { y -= height / 2; } else if (_vorigin == bottom) { y -= height; } return point(x, y); } }; } struct dot{ xposition(dot, { _color = pan_color; }); xpoint(dot); xprop(color_t, color); void draw(); operator can_drawable(){ return can_drawable(this); } }; struct line{ line(){ _x0 = 0; _y0 = 0; _x1 = 0; _y1 = 0; _thickness = 1; _color = black; } line(point p0, point p1) : line(p0.x, p0.y, p1.x, p1.y){ } line(pos_t x0, pos_t y0, pos_t x1, pos_t y1): line() { _x0 = x0; _y0 = y0; _x1 = x1; _y1 = y1; } xpoint(line, 0); xpoint(line, 1); xprop(color_t, color); xprop(pix_t, thickness); void draw(); operator can_drawable(){ return can_drawable(this); } }; struct rectangle; struct rectangle : detail::aligner<rectangle>{ xpositionx( rectangle, xlist(pix_t width, pix_t height), { _width = width; _height = height; }, { _fill = transparent; _color = pan_color; _thickness_left = pan_thickness; _thickness_top = pan_thickness; _thickness_right = pan_thickness; _thickness_bottom = pan_thickness; }); xprop(color_t, fill); xprop(color_t, color); xprop(pix_t, thickness_left); xprop(pix_t, thickness_top); xprop(pix_t, thickness_right); xprop(pix_t, thickness_bottom); rectangle & thickness(pix_t all){ return thickness(all, all, all, all); } rectangle & thickness(pix_t left, pix_t top, pix_t right, pix_t bottom){ _thickness_left = left; _thickness_top = top; _thickness_right = right; _thickness_bottom = bottom; return this[0]; } void draw(); operator can_drawable() { return can_drawable(this); } }; struct dash_line; struct dash_line { xpositionx(dash_line, pix_t length, { _length = length; }, { _length = 0; _solid = 2; _empty = 2; _color = pan_color; _thickness = pan_thickness; _orientation = horizon; }); xpoint(dash_line); xprop(pix_t, length); xprop(pix_t, empty); xprop(pix_t, solid); xprop(color_t, color); xprop(pix_t, thickness); xprop(::orientation, orientation); void draw(); operator can_drawable(){ return can_drawable(this); } }; struct ellipse; struct ellipse : detail::aligner<ellipse> { ellipse() : detail::aligner<ellipse>(){ _color = pan_color; _fill = transparent; _thickness = pan_thickness; _origin = center; _vorigin = vcenter; } ellipse(pos_t x, pos_t y): ellipse() { _x = x; _y = y; } ellipse(point p) : ellipse(p.x, p.y) { } ellipse(point p, pix_t r) : ellipse(p.x, p.y, r * 2, r * 2) { } ellipse(point p, pix_t width, pix_t height) : ellipse(p.x, p.y, width, height) { } ellipse(pos_t x, pos_t y, pix_t r) : ellipse(x, y, r * 2, r * 2) { } ellipse(pos_t x, pos_t y, pix_t width, pix_t height): ellipse(x, y) { _width = width; _height = height; } xprop(color_t, color); xprop(color_t, fill); xprop(pix_t, thickness); auto & r(pix_t value) { _height = _width = value * 2; return this[0]; } void draw(); operator can_drawable() { return can_drawable(this); } protected: point adjust(pix_t width, pix_t height) { auto x = _x; auto y = _y; if (_width == 0) { _width = width; } if (_height == 0) { _height = height; } if (_origin == left) { x += _width / 2; } else if (_origin == right) { x -= _width / 2; } if (_vorigin == top) { y -= _height / 2; } else if (_vorigin == bottom) { y += _height / 2; } return point(x, y); } }; struct text; struct text : detail::aligner<text>{ xpositionx(text, text_t value, { _value = value; }, { _value = ""; _font = pix; _font_size = 12; _color = pan_color; _align = left; _valign = top; _thickness = 1; }); private: font_t _font; pix_t _thickness; public: text & font(font_t value); font_t font(){ return _font; } text & thickness(pix_t value); pix_t thickness(){ return _thickness; } xprop(pix_t, font_size); xprop(color_t, color); xprop(text_t, value); xprop(align_type, align); xprop(valign_type, valign); text & font_height(pix_t * value); text & content_width(pix_t * value); pix_t font_height() { pix_t height; font_height(& height); return height; } pix_t content_width() { pix_t width; content_width(& width); return width; } void draw(); operator can_drawable(){ return can_drawable(this); } }; struct polyline; struct polyline : detail::poly<polyline>{ polyline(){} polyline(std::initializer_list<point> data) : detail::poly<polyline>(data){ } void draw(); operator can_drawable() { return can_drawable(this); } }; struct polygen; struct polygen : detail::poly<polygen>{ polygen() {} polygen(std::initializer_list<point> data) : detail::poly<polygen>(data) { } void draw(); operator can_drawable() { return can_drawable(this); } };
[ "lht856@foxmail.com" ]
lht856@foxmail.com
77ef6aa5419ef4965fd5f70993a694d0e6267e1a
d2f46ccced7c6cafe0ddb7c4a587abefbdd13dc4
/Lab2/ex13 63010467.ino
60257fe18337428d20a38f74a6fc50f98c8e06b5
[]
no_license
Thiraphat-K/ITC
e815adb59b1db187f5603870e6ebcf18526046cd
5746914d5ebcc9ef910fdb32fcc2d572ee47323b
refs/heads/master
2023-01-31T13:18:48.508737
2020-12-14T10:21:10
2020-12-14T10:21:10
308,054,424
0
0
null
null
null
null
UTF-8
C++
false
false
323
ino
int i; void setup() { pinMode(8,OUTPUT); pinMode(9,OUTPUT); pinMode(10,OUTPUT); pinMode(11,OUTPUT); pinMode(12,OUTPUT); } void loop() { for(i=8;i<13;i++){ digitalWrite(i,1); delay(250); digitalWrite(i,0); delay(250); } for(i=11;i>8;i--){ digitalWrite(i,1); delay(250); digitalWrite(i,0); delay(250); } }
[ "63010467@kmitl.ac.th" ]
63010467@kmitl.ac.th
12e484d17139a31979018813c59e1ec78f55d068
155102566b75f0e774f30ffe275b70f3e6d38a0d
/gWindow.h
def325fbdd6bfb4611fa2ac02ad609e2a8586bd6
[]
no_license
alexey-odintsov/Bouncher
13781ffab88cd2b0f46face2ae1954843d2d2c0b
bc852ea7e4cbae6e1f5909942ca46461be9f0bc9
refs/heads/master
2021-01-23T06:55:30.549697
2014-02-05T05:45:58
2014-02-05T05:45:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
976
h
#ifndef GWINDOWH #define GWINDOWH #include <windows.h> #include <gl\gl.h> #include <gl\glu.h> #include <gl\glaux.h> #include "gDebug.h" // linking required libraries #pragma comment(lib, "opengl32.lib") #pragma comment(lib, "glu32.lib") #pragma comment(lib, "glaux.lib") LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); class cWindow // window class { public: HWND hWnd; HDC hDC; HGLRC hRC; HINSTANCE hInstance; char *Title; int Width; int Height; int Bpp; bool isFullscreen; bool isActive; cWindow(); ~cWindow() {}; int Create(char *title, int width, int height, int bpp, bool fullscreen, HINSTANCE hinstance); int InitOpenGL(); int DeinitOpenGL(); int Close(); int SizeToFullScreen(); int SetPixFormat(); void UpdatePerspective(int width, int height); }; #endif
[ "odintsov.aleksey.net@gmail.com" ]
odintsov.aleksey.net@gmail.com
e181093e4ccb88ee1a204b086d1c7af443854384
1af49694004c6fbc31deada5618dae37255ce978
/content/browser/renderer_host/render_frame_host_android.h
3dbbe730889deb0c170b2b02e46919209b0b0152
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
C++
false
false
3,375
h
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_ANDROID_H_ #define CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_ANDROID_H_ #include <jni.h> #include <memory> #include "base/android/jni_android.h" #include "base/android/jni_weak_ref.h" #include "base/android/scoped_java_ref.h" #include "base/compiler_specific.h" #include "base/macros.h" #include "base/supports_user_data.h" #include "content/common/content_export.h" #include "mojo/public/cpp/bindings/pending_remote.h" #include "services/service_manager/public/mojom/interface_provider.mojom.h" namespace content { class RenderFrameHostImpl; // Android wrapper around RenderFrameHost that provides safer passage from java // and back to native and provides java with a means of communicating with its // native counterpart. class RenderFrameHostAndroid : public base::SupportsUserData::Data { public: RenderFrameHostAndroid( RenderFrameHostImpl* render_frame_host, mojo::PendingRemote<service_manager::mojom::InterfaceProvider> interface_provider_remote); ~RenderFrameHostAndroid() override; base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); // Methods called from Java base::android::ScopedJavaLocalRef<jstring> GetLastCommittedURL( JNIEnv* env, const base::android::JavaParamRef<jobject>&) const; base::android::ScopedJavaLocalRef<jobject> GetLastCommittedOrigin( JNIEnv* env, const base::android::JavaParamRef<jobject>&); void GetCanonicalUrlForSharing( JNIEnv* env, const base::android::JavaParamRef<jobject>&, const base::android::JavaParamRef<jobject>& jcallback) const; bool IsFeatureEnabled(JNIEnv* env, const base::android::JavaParamRef<jobject>&, jint feature) const; // Returns UnguessableToken. base::android::ScopedJavaLocalRef<jobject> GetAndroidOverlayRoutingToken( JNIEnv* env, const base::android::JavaParamRef<jobject>&) const; void NotifyUserActivation(JNIEnv* env, const base::android::JavaParamRef<jobject>&); jboolean IsRenderFrameCreated( JNIEnv* env, const base::android::JavaParamRef<jobject>&) const; jboolean IsProcessBlocked(JNIEnv* env, const base::android::JavaParamRef<jobject>&) const; jint PerformGetAssertionWebAuthSecurityChecks( JNIEnv* env, const base::android::JavaParamRef<jobject>&, const base::android::JavaParamRef<jstring>&, const base::android::JavaParamRef<jobject>&) const; jint PerformMakeCredentialWebAuthSecurityChecks( JNIEnv* env, const base::android::JavaParamRef<jobject>&, const base::android::JavaParamRef<jstring>&, const base::android::JavaParamRef<jobject>&) const; RenderFrameHostImpl* render_frame_host() const { return render_frame_host_; } private: RenderFrameHostImpl* const render_frame_host_; mojo::PendingRemote<service_manager::mojom::InterfaceProvider> interface_provider_remote_; JavaObjectWeakGlobalRef obj_; DISALLOW_COPY_AND_ASSIGN(RenderFrameHostAndroid); }; } // namespace content #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_ANDROID_H_
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
127185b9211fc8b125e3ca14d69c06bdc2066602
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/content/browser/renderer_host/p2p/socket_host_tcp.cc
9f536022f6942584ccf01ac2fc9abd0c35431d61
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
22,268
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/p2p/socket_host_tcp.h" #include <stddef.h> #include <utility> #include "base/location.h" #include "base/single_thread_task_runner.h" #include "base/sys_byteorder.h" #include "base/threading/thread_task_runner_handle.h" #include "content/common/p2p_messages.h" #include "ipc/ipc_sender.h" #include "jingle/glue/fake_ssl_client_socket.h" #include "jingle/glue/proxy_resolving_client_socket.h" #include "net/base/io_buffer.h" #include "net/base/net_errors.h" #include "net/socket/client_socket_factory.h" #include "net/socket/client_socket_handle.h" #include "net/socket/ssl_client_socket.h" #include "net/socket/tcp_client_socket.h" #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_context_getter.h" #include "third_party/webrtc/media/base/rtputils.h" namespace { typedef uint16_t PacketLength; const int kPacketHeaderSize = sizeof(PacketLength); const int kReadBufferSize = 4096; const int kPacketLengthOffset = 2; const int kTurnChannelDataHeaderSize = 4; const int kRecvSocketBufferSize = 128 * 1024; const int kSendSocketBufferSize = 128 * 1024; bool IsTlsClientSocket(content::P2PSocketType type) { return (type == content::P2P_SOCKET_STUN_TLS_CLIENT || type == content::P2P_SOCKET_TLS_CLIENT); } bool IsPseudoTlsClientSocket(content::P2PSocketType type) { return (type == content::P2P_SOCKET_SSLTCP_CLIENT || type == content::P2P_SOCKET_STUN_SSLTCP_CLIENT); } } // namespace namespace content { P2PSocketHostTcp::SendBuffer::SendBuffer() : rtc_packet_id(-1) {} P2PSocketHostTcp::SendBuffer::SendBuffer( int32_t rtc_packet_id, scoped_refptr<net::DrainableIOBuffer> buffer) : rtc_packet_id(rtc_packet_id), buffer(buffer) {} P2PSocketHostTcp::SendBuffer::SendBuffer(const SendBuffer& rhs) : rtc_packet_id(rhs.rtc_packet_id), buffer(rhs.buffer) {} P2PSocketHostTcp::SendBuffer::~SendBuffer() {} P2PSocketHostTcpBase::P2PSocketHostTcpBase( IPC::Sender* message_sender, int socket_id, P2PSocketType type, net::URLRequestContextGetter* url_context) : P2PSocketHost(message_sender, socket_id, P2PSocketHost::TCP), write_pending_(false), connected_(false), type_(type), url_context_(url_context) { } P2PSocketHostTcpBase::~P2PSocketHostTcpBase() { if (state_ == STATE_OPEN) { DCHECK(socket_.get()); socket_.reset(); } } bool P2PSocketHostTcpBase::InitAccepted( const net::IPEndPoint& remote_address, std::unique_ptr<net::StreamSocket> socket) { DCHECK(socket); DCHECK_EQ(state_, STATE_UNINITIALIZED); remote_address_.ip_address = remote_address; // TODO(ronghuawu): Add FakeSSLServerSocket. socket_ = std::move(socket); state_ = STATE_OPEN; DoRead(); return state_ != STATE_ERROR; } bool P2PSocketHostTcpBase::Init(const net::IPEndPoint& local_address, uint16_t min_port, uint16_t max_port, const P2PHostAndIPEndPoint& remote_address) { DCHECK_EQ(state_, STATE_UNINITIALIZED); remote_address_ = remote_address; state_ = STATE_CONNECTING; net::HostPortPair dest_host_port_pair; // If there is a domain name, let's try it first, it's required by some proxy // to only take hostname for CONNECT. If it has been DNS resolved, the result // is likely cached and shouldn't cause 2nd DNS resolution in the case of // direct connect (i.e. no proxy). if (!remote_address.hostname.empty()) { dest_host_port_pair = net::HostPortPair(remote_address.hostname, remote_address.ip_address.port()); } else { DCHECK(!remote_address.ip_address.address().empty()); dest_host_port_pair = net::HostPortPair::FromIPEndPoint( remote_address.ip_address); } // TODO(mallinath) - We are ignoring local_address altogether. We should // find a way to inject this into ProxyResolvingClientSocket. This could be // a problem on multi-homed host. // The default SSLConfig is good enough for us for now. const net::SSLConfig ssl_config; socket_.reset(new jingle_glue::ProxyResolvingClientSocket( nullptr, // Default socket pool provided by the net::Proxy. url_context_, ssl_config, dest_host_port_pair)); int status = socket_->Connect( base::Bind(&P2PSocketHostTcpBase::OnConnected, base::Unretained(this))); if (status != net::ERR_IO_PENDING) { // We defer execution of ProcessConnectDone instead of calling it // directly here as the caller may not expect an error/close to // happen here. This is okay, as from the caller's point of view, // the connect always happens asynchronously. base::ThreadTaskRunnerHandle::Get()->PostTask( FROM_HERE, base::BindOnce(&P2PSocketHostTcpBase::OnConnected, base::Unretained(this), status)); } return state_ != STATE_ERROR; } void P2PSocketHostTcpBase::OnError() { socket_.reset(); if (state_ == STATE_UNINITIALIZED || state_ == STATE_CONNECTING || state_ == STATE_TLS_CONNECTING || state_ == STATE_OPEN) { message_sender_->Send(new P2PMsg_OnError(id_)); } state_ = STATE_ERROR; } void P2PSocketHostTcpBase::OnConnected(int result) { DCHECK_EQ(state_, STATE_CONNECTING); DCHECK_NE(result, net::ERR_IO_PENDING); if (result != net::OK) { LOG(WARNING) << "Error from connecting socket, result=" << result; OnError(); return; } if (IsTlsClientSocket(type_)) { state_ = STATE_TLS_CONNECTING; StartTls(); } else if (IsPseudoTlsClientSocket(type_)) { std::unique_ptr<net::StreamSocket> transport_socket = std::move(socket_); socket_.reset( new jingle_glue::FakeSSLClientSocket(std::move(transport_socket))); state_ = STATE_TLS_CONNECTING; int status = socket_->Connect( base::Bind(&P2PSocketHostTcpBase::ProcessTlsSslConnectDone, base::Unretained(this))); if (status != net::ERR_IO_PENDING) { ProcessTlsSslConnectDone(status); } } else { // If we are not doing TLS, we are ready to send data now. // In case of TLS, SignalConnect will be sent only after TLS handshake is // successful. So no buffering will be done at socket handlers if any // packets sent before that by the application. OnOpen(); } } void P2PSocketHostTcpBase::StartTls() { DCHECK_EQ(state_, STATE_TLS_CONNECTING); DCHECK(socket_.get()); std::unique_ptr<net::ClientSocketHandle> socket_handle( new net::ClientSocketHandle()); socket_handle->SetSocket(std::move(socket_)); const net::URLRequestContext* url_request_context = url_context_->GetURLRequestContext(); net::SSLClientSocketContext context( url_request_context->cert_verifier(), nullptr, /* TODO(rkn): ChannelIDService is not thread safe. */ url_request_context->transport_security_state(), url_request_context->cert_transparency_verifier(), url_request_context->ct_policy_enforcer(), std::string() /* TODO(rsleevi): Ensure a proper unique shard. */); // Default ssl config. const net::SSLConfig ssl_config; net::HostPortPair dest_host_port_pair; // Calling net::HostPortPair::FromIPEndPoint will crash if the IP address is // empty. if (!remote_address_.ip_address.address().empty()) { net::HostPortPair::FromIPEndPoint(remote_address_.ip_address); } else { dest_host_port_pair.set_port(remote_address_.ip_address.port()); } if (!remote_address_.hostname.empty()) dest_host_port_pair.set_host(remote_address_.hostname); net::ClientSocketFactory* socket_factory = net::ClientSocketFactory::GetDefaultFactory(); DCHECK(socket_factory); socket_ = socket_factory->CreateSSLClientSocket( std::move(socket_handle), dest_host_port_pair, ssl_config, context); int status = socket_->Connect( base::Bind(&P2PSocketHostTcpBase::ProcessTlsSslConnectDone, base::Unretained(this))); if (status != net::ERR_IO_PENDING) { ProcessTlsSslConnectDone(status); } } void P2PSocketHostTcpBase::ProcessTlsSslConnectDone(int status) { DCHECK_NE(status, net::ERR_IO_PENDING); DCHECK_EQ(state_, STATE_TLS_CONNECTING); if (status != net::OK) { LOG(WARNING) << "Error from connecting TLS socket, status=" << status; OnError(); return; } OnOpen(); } void P2PSocketHostTcpBase::OnOpen() { state_ = STATE_OPEN; // Setting socket send and receive buffer size. if (net::OK != socket_->SetReceiveBufferSize(kRecvSocketBufferSize)) { LOG(WARNING) << "Failed to set socket receive buffer size to " << kRecvSocketBufferSize; } if (net::OK != socket_->SetSendBufferSize(kSendSocketBufferSize)) { LOG(WARNING) << "Failed to set socket send buffer size to " << kSendSocketBufferSize; } if (!DoSendSocketCreateMsg()) return; DCHECK_EQ(state_, STATE_OPEN); DoRead(); } bool P2PSocketHostTcpBase::DoSendSocketCreateMsg() { DCHECK(socket_.get()); net::IPEndPoint local_address; int result = socket_->GetLocalAddress(&local_address); if (result < 0) { LOG(ERROR) << "P2PSocketHostTcpBase::OnConnected: unable to get local" << " address: " << result; OnError(); return false; } VLOG(1) << "Local address: " << local_address.ToString(); net::IPEndPoint remote_address; // GetPeerAddress returns ERR_NAME_NOT_RESOLVED if the socket is connected // through a proxy. result = socket_->GetPeerAddress(&remote_address); if (result < 0 && result != net::ERR_NAME_NOT_RESOLVED) { LOG(ERROR) << "P2PSocketHostTcpBase::OnConnected: unable to get peer" << " address: " << result; OnError(); return false; } if (!remote_address.address().empty()) { VLOG(1) << "Remote address: " << remote_address.ToString(); if (remote_address_.ip_address.address().empty()) { // Save |remote_address| if address is empty. remote_address_.ip_address = remote_address; } } else { VLOG(1) << "Remote address is unknown since connection is proxied"; } // If we are not doing TLS, we are ready to send data now. // In case of TLS SignalConnect will be sent only after TLS handshake is // successful. So no buffering will be done at socket handlers if any // packets sent before that by the application. message_sender_->Send(new P2PMsg_OnSocketCreated( id_, local_address, remote_address)); return true; } void P2PSocketHostTcpBase::DoRead() { int result; do { if (!read_buffer_.get()) { read_buffer_ = new net::GrowableIOBuffer(); read_buffer_->SetCapacity(kReadBufferSize); } else if (read_buffer_->RemainingCapacity() < kReadBufferSize) { // Make sure that we always have at least kReadBufferSize of // remaining capacity in the read buffer. Normally all packets // are smaller than kReadBufferSize, so this is not really // required. read_buffer_->SetCapacity(read_buffer_->capacity() + kReadBufferSize - read_buffer_->RemainingCapacity()); } result = socket_->Read( read_buffer_.get(), read_buffer_->RemainingCapacity(), base::Bind(&P2PSocketHostTcp::OnRead, base::Unretained(this))); DidCompleteRead(result); } while (result > 0); } void P2PSocketHostTcpBase::OnRead(int result) { DidCompleteRead(result); if (state_ == STATE_OPEN) { DoRead(); } } void P2PSocketHostTcpBase::OnPacket(const std::vector<char>& data) { if (!connected_) { P2PSocketHost::StunMessageType type; bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); if (stun && IsRequestOrResponse(type)) { connected_ = true; } else if (!stun || type == STUN_DATA_INDICATION) { LOG(ERROR) << "Received unexpected data packet from " << remote_address_.ip_address.ToString() << " before STUN binding is finished. " << "Terminating connection."; OnError(); return; } } message_sender_->Send(new P2PMsg_OnDataReceived( id_, remote_address_.ip_address, data, base::TimeTicks::Now())); if (dump_incoming_rtp_packet_) DumpRtpPacket(&data[0], data.size(), true); } // Note: dscp is not actually used on TCP sockets as this point, // but may be honored in the future. void P2PSocketHostTcpBase::Send(const net::IPEndPoint& to, const std::vector<char>& data, const rtc::PacketOptions& options, uint64_t packet_id) { if (!socket_) { // The Send message may be sent after the an OnError message was // sent by hasn't been processed the renderer. return; } if (!(to == remote_address_.ip_address)) { // Renderer should use this socket only to send data to |remote_address_|. NOTREACHED(); OnError(); return; } if (!connected_) { P2PSocketHost::StunMessageType type = P2PSocketHost::StunMessageType(); bool stun = GetStunPacketType(&*data.begin(), data.size(), &type); if (!stun || type == STUN_DATA_INDICATION) { LOG(ERROR) << "Page tried to send a data packet to " << to.ToString() << " before STUN binding is finished."; OnError(); return; } } DoSend(to, data, options); } void P2PSocketHostTcpBase::WriteOrQueue(SendBuffer& send_buffer) { IncrementTotalSentPackets(); if (write_buffer_.buffer.get()) { write_queue_.push(send_buffer); IncrementDelayedPackets(); IncrementDelayedBytes(send_buffer.buffer->size()); return; } write_buffer_ = send_buffer; DoWrite(); } void P2PSocketHostTcpBase::DoWrite() { while (write_buffer_.buffer.get() && state_ == STATE_OPEN && !write_pending_) { int result = socket_->Write( write_buffer_.buffer.get(), write_buffer_.buffer->BytesRemaining(), base::Bind(&P2PSocketHostTcp::OnWritten, base::Unretained(this))); HandleWriteResult(result); } } void P2PSocketHostTcpBase::OnWritten(int result) { DCHECK(write_pending_); DCHECK_NE(result, net::ERR_IO_PENDING); write_pending_ = false; HandleWriteResult(result); DoWrite(); } void P2PSocketHostTcpBase::HandleWriteResult(int result) { DCHECK(write_buffer_.buffer.get()); if (result >= 0) { write_buffer_.buffer->DidConsume(result); if (write_buffer_.buffer->BytesRemaining() == 0) { base::TimeTicks send_time = base::TimeTicks::Now(); message_sender_->Send(new P2PMsg_OnSendComplete( id_, P2PSendPacketMetrics(0, write_buffer_.rtc_packet_id, send_time))); if (write_queue_.empty()) { write_buffer_.buffer = nullptr; write_buffer_.rtc_packet_id = -1; } else { write_buffer_ = write_queue_.front(); write_queue_.pop(); // Update how many bytes are still waiting to be sent. DecrementDelayedBytes(write_buffer_.buffer->size()); } } } else if (result == net::ERR_IO_PENDING) { write_pending_ = true; } else { ReportSocketError(result, "WebRTC.ICE.TcpSocketWriteErrorCode"); LOG(ERROR) << "Error when sending data in TCP socket: " << result; OnError(); } } std::unique_ptr<P2PSocketHost> P2PSocketHostTcpBase::AcceptIncomingTcpConnection( const net::IPEndPoint& remote_address, int id) { NOTREACHED(); OnError(); return nullptr; } void P2PSocketHostTcpBase::DidCompleteRead(int result) { DCHECK_EQ(state_, STATE_OPEN); if (result == net::ERR_IO_PENDING) { return; } else if (result < 0) { LOG(ERROR) << "Error when reading from TCP socket: " << result; OnError(); return; } else if (result == 0) { LOG(WARNING) << "Remote peer has shutdown TCP socket."; OnError(); return; } read_buffer_->set_offset(read_buffer_->offset() + result); char* head = read_buffer_->StartOfBuffer(); // Purely a convenience. int pos = 0; while (pos <= read_buffer_->offset() && state_ == STATE_OPEN) { int consumed = ProcessInput(head + pos, read_buffer_->offset() - pos); if (!consumed) break; pos += consumed; } // We've consumed all complete packets from the buffer; now move any remaining // bytes to the head of the buffer and set offset to reflect this. if (pos && pos <= read_buffer_->offset()) { memmove(head, head + pos, read_buffer_->offset() - pos); read_buffer_->set_offset(read_buffer_->offset() - pos); } } bool P2PSocketHostTcpBase::SetOption(P2PSocketOption option, int value) { if (state_ != STATE_OPEN) { DCHECK_EQ(state_, STATE_ERROR); return false; } switch (option) { case P2P_SOCKET_OPT_RCVBUF: return socket_->SetReceiveBufferSize(value) == net::OK; case P2P_SOCKET_OPT_SNDBUF: return socket_->SetSendBufferSize(value) == net::OK; case P2P_SOCKET_OPT_DSCP: return false; // For TCP sockets DSCP setting is not available. default: NOTREACHED(); return false; } } P2PSocketHostTcp::P2PSocketHostTcp(IPC::Sender* message_sender, int socket_id, P2PSocketType type, net::URLRequestContextGetter* url_context) : P2PSocketHostTcpBase(message_sender, socket_id, type, url_context) { DCHECK(type == P2P_SOCKET_TCP_CLIENT || type == P2P_SOCKET_SSLTCP_CLIENT || type == P2P_SOCKET_TLS_CLIENT); } P2PSocketHostTcp::~P2PSocketHostTcp() { } int P2PSocketHostTcp::ProcessInput(char* input, int input_len) { if (input_len < kPacketHeaderSize) return 0; int packet_size = base::NetToHost16(*reinterpret_cast<uint16_t*>(input)); if (input_len < packet_size + kPacketHeaderSize) return 0; int consumed = kPacketHeaderSize; char* cur = input + consumed; std::vector<char> data(cur, cur + packet_size); OnPacket(data); consumed += packet_size; return consumed; } void P2PSocketHostTcp::DoSend(const net::IPEndPoint& to, const std::vector<char>& data, const rtc::PacketOptions& options) { int size = kPacketHeaderSize + data.size(); SendBuffer send_buffer(options.packet_id, new net::DrainableIOBuffer( new net::IOBuffer(size), size)); *reinterpret_cast<uint16_t*>(send_buffer.buffer->data()) = base::HostToNet16(data.size()); memcpy(send_buffer.buffer->data() + kPacketHeaderSize, &data[0], data.size()); cricket::ApplyPacketOptions( reinterpret_cast<uint8_t*>(send_buffer.buffer->data()) + kPacketHeaderSize, send_buffer.buffer->BytesRemaining() - kPacketHeaderSize, options.packet_time_params, (base::TimeTicks::Now() - base::TimeTicks()).InMicroseconds()); WriteOrQueue(send_buffer); } // P2PSocketHostStunTcp P2PSocketHostStunTcp::P2PSocketHostStunTcp( IPC::Sender* message_sender, int socket_id, P2PSocketType type, net::URLRequestContextGetter* url_context) : P2PSocketHostTcpBase(message_sender, socket_id, type, url_context) { DCHECK(type == P2P_SOCKET_STUN_TCP_CLIENT || type == P2P_SOCKET_STUN_SSLTCP_CLIENT || type == P2P_SOCKET_STUN_TLS_CLIENT); } P2PSocketHostStunTcp::~P2PSocketHostStunTcp() { } int P2PSocketHostStunTcp::ProcessInput(char* input, int input_len) { if (input_len < kPacketHeaderSize + kPacketLengthOffset) return 0; int pad_bytes; int packet_size = GetExpectedPacketSize( input, input_len, &pad_bytes); if (input_len < packet_size + pad_bytes) return 0; // We have a complete packet. Read through it. int consumed = 0; char* cur = input; std::vector<char> data(cur, cur + packet_size); OnPacket(data); consumed += packet_size; consumed += pad_bytes; return consumed; } void P2PSocketHostStunTcp::DoSend(const net::IPEndPoint& to, const std::vector<char>& data, const rtc::PacketOptions& options) { // Each packet is expected to have header (STUN/TURN ChannelData), where // header contains message type and and length of message. if (data.size() < kPacketHeaderSize + kPacketLengthOffset) { NOTREACHED(); OnError(); return; } int pad_bytes; size_t expected_len = GetExpectedPacketSize( &data[0], data.size(), &pad_bytes); // Accepts only complete STUN/TURN packets. if (data.size() != expected_len) { NOTREACHED(); OnError(); return; } // Add any pad bytes to the total size. int size = data.size() + pad_bytes; SendBuffer send_buffer(options.packet_id, new net::DrainableIOBuffer( new net::IOBuffer(size), size)); memcpy(send_buffer.buffer->data(), &data[0], data.size()); cricket::ApplyPacketOptions( reinterpret_cast<uint8_t*>(send_buffer.buffer->data()), data.size(), options.packet_time_params, (base::TimeTicks::Now() - base::TimeTicks()).InMicroseconds()); if (pad_bytes) { char padding[4] = {0}; DCHECK_LE(pad_bytes, 4); memcpy(send_buffer.buffer->data() + data.size(), padding, pad_bytes); } WriteOrQueue(send_buffer); if (dump_outgoing_rtp_packet_) DumpRtpPacket(send_buffer.buffer->data(), data.size(), false); } int P2PSocketHostStunTcp::GetExpectedPacketSize( const char* data, int len, int* pad_bytes) { DCHECK_LE(kTurnChannelDataHeaderSize, len); // Both stun and turn had length at offset 2. int packet_size = base::NetToHost16( *reinterpret_cast<const uint16_t*>(data + kPacketLengthOffset)); // Get packet type (STUN or TURN). uint16_t msg_type = base::NetToHost16(*reinterpret_cast<const uint16_t*>(data)); *pad_bytes = 0; // Add heder length to packet length. if ((msg_type & 0xC000) == 0) { packet_size += kStunHeaderSize; } else { packet_size += kTurnChannelDataHeaderSize; // Calculate any padding if present. if (packet_size % 4) *pad_bytes = 4 - packet_size % 4; } return packet_size; } } // namespace content
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
c6e3ace219ce778ca6221800ae462d13becba854
4f52a4da323feb3bfaa3c67d141999f46cfd3d9e
/BOJ_2004/BOJ_2004/BOJ_2004.cpp
bde8bc2bda9ffd89546fb86584ecd25cf448dd8e
[]
no_license
LHI0915/StudyBackjoon
407b4c7c3fbbec60e6cc719714303570ddf34a1f
e649de567abea81e49ea8d95249ad735a2bc0a37
refs/heads/master
2021-07-22T22:12:26.399750
2021-07-13T17:35:53
2021-07-13T17:35:53
141,692,612
0
0
null
null
null
null
UTF-8
C++
false
false
546
cpp
#include <stdio.h> #include <algorithm> #include <iostream> using namespace std; long long int two(long long int n){ long long int ans=0,i; for(i=2;i<=n;i*=2){ ans=ans+n/i; } return ans; } long long int five(long long int n){ long long int ans=0,i; for(i=5;i<=n;i*=5){ ans=ans+n/i; } return ans; } int main(void){ long long int n,m,ans2=0,ans5=0; scanf("%lld%lld",&n,&m); ans2=ans2+two(n); ans2=ans2-two(m); ans2=ans2-two(n-m); ans5=ans5+five(n); ans5=ans5-five(m); ans5=ans5-five(n-m); printf("%lld\n",min(ans2,ans5)); }
[ "gowns1998@gmail.com" ]
gowns1998@gmail.com
876c1f5e9056e38b6cc3c01482bc79b48d7d37d9
80aaf4dfadf978dc924e1462edfebd6c602d864a
/UVA/11094.cpp
b3b0c37b498139fc5adaf7a868f2fb63b8c3c299
[]
no_license
MayEsmail/Problem-Solving-Solutions-
888e2efa124130917e9eaf9e25546f61903d7b10
cf808bff135c649c83265ded063385bfaa1a9aaa
refs/heads/master
2020-06-04T08:46:44.212016
2019-11-10T02:46:50
2019-11-10T02:46:50
191,950,784
0
0
null
null
null
null
UTF-8
C++
false
false
1,105
cpp
#pragma GCC optimize ("O3") #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wall" #pragma GCC diagnostic ignored "-Wextra" #pragma GCC diagnostic ignored "-Wconversion" #include <bits/stdc++.h> using namespace std; typedef long long lol; char arr[25][25]; int n,m,mx,ctr,nx,ny,dx[]={0,0,1,-1},dy[]={1,-1,0,0}; char ch; bool vis[25][25]; void dfs(int x,int y){ vis[x][y]=1; ctr++; for(int i=0;i<4;i++){ nx=x+dx[i],ny=y+dy[i]; if(ny<0)ny=m-1; if(ny>=m)ny=0; if(nx>=0&&nx<n&&!vis[nx][ny]&&arr[nx][ny]==ch)dfs(nx,ny); } } int main(){ int x,y; while(cin>>n>>m){ for(int i=0;i<n;i++) for(int j=0;j<m;j++) cin>>arr[i][j]; cin>>x>>y; ch=arr[x][y]; memset(vis,0,sizeof vis); dfs(x,y); mx=0; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ if(!vis[i][j]&&arr[i][j]==ch){ ctr=0; dfs(i,j); mx=max(mx,ctr); } } } cout<<mx<<endl; } }
[ "mayesmail12998@gmail.com" ]
mayesmail12998@gmail.com
688dc2a84c44ca6fe8abbf5b04b5cf398df81fe6
de29bcc3c8d7c5e2ec90a31b2ad8ba3106e9d3a1
/5_kth-largest-element/kth-largest-element.cpp
db4aa5429e90d73a61dc9fdffdab2b69f1289c78
[ "MIT" ]
permissive
litaotju/lintcode
a16cead891e7bded1bbe54c5d8384fc59cfd35ae
d614bfd33d5a772325f62f83edbc56e07bbdab6c
refs/heads/master
2020-04-03T10:04:57.582151
2016-07-30T01:21:18
2016-07-30T01:21:18
64,519,403
2
0
null
null
null
null
UTF-8
C++
false
false
1,392
cpp
/* @Copyright:LintCode @Author: taoleetju @Problem: http://www.lintcode.com/problem/kth-largest-element @Language: C++ @Datetime: 16-03-03 09:38 */ class Solution { public: /* * param k : description of k * param nums : description of array and index 0 ~ n-1 * return: description of return */ int kthLargestElement(int k, vector<int> nums) { int start = 0; int end =nums.size() -1; if(end == 0 || k-1 > end){ return 0; } int index = Partition(nums, start, end); while( index != nums.size()-k ) { if(index > nums.size() -k ){ end = index -1; index = Partition(nums, start, end); }else{ start = index + 1; index = Partition(nums, start, end); } } return nums[index]; } int Partition(vector<int> & data, int start, int end){ int i = start -1; int x = data[end]; int tmp; for(int j = start; j <=end -1; j++){ if( data[j] <= x){ i++; tmp = data[j]; data[j] = data[i]; data[i] = tmp; } } ++i; tmp = data[i]; data[i] = data[end]; data[end] = tmp; return i; } };
[ "litaotju@live.cn" ]
litaotju@live.cn
b0fada2b677b2f74a980216217c0d3e79558382b
7a8462ca6a11feabce71ff4a52d1f5aedd43579e
/AxiSEM3D/SOLVER/src/core/Kernels/Kerner.cpp
e2f096abf5cc445997c0b634c14060968e500a85
[ "MIT" ]
permissive
AlexSzen/private_Axisem3D
ae33784098213e8af176ebe3a39d8a7e95b8abbd
a213a8ae7322c2089c7ea04405ef2f50fe3dbe72
refs/heads/master
2022-05-14T17:35:45.405735
2019-11-06T15:11:12
2019-11-06T15:11:12
153,783,317
0
0
null
null
null
null
UTF-8
C++
false
false
6,785
cpp
#include "Kerner.h" #include "KernerElement.h" #include "KernerIO.h" #include "XMPI.h" #include "DomainRecorder.h" #include "eigenc.h" #include "PreloopFFTW.h" //just for lucky number #include "KernerFFTW_N3.h" #include "KernerFFTW_N6.h" #include "KernerFFTW_N9.h" #include "Processor.h" #include <numeric> Kerner::Kerner(bool dumpTimeKernels, int totSteps, int bufferSize, int recInterval, int maxStep): mDumpTimeKernels(dumpTimeKernels), mBufferSize(bufferSize), mRecordInterval(recInterval), mMaxStep (maxStep), mTotSteps(totSteps) { } Kerner::~Kerner() { for (const auto &e: mKerElements) {delete e;} delete mIO; } void Kerner::initialize() { int startElem; std::vector<int> countElem(XMPI::nproc(), 0); XMPI::gather(mKerElements.size(), countElem, true); startElem = std::accumulate(countElem.begin(), countElem.begin()+XMPI::rank(),0); int totElems = XMPI::sum((int) mKerElements.size()); mIO = new KernerIO(mDumpTimeKernels, startElem, countElem[XMPI::rank()], mTotSteps, mBufferSize); // distribute Nus distributeNus(); //distribute materials distributeMaterialToElements(); // gather nus and initialize workspace of elements int totNu = 0; for (int ielem = 0; ielem < mKerElements.size(); ielem++) { int nuMax = mKerElements[ielem]->getNuMax(); totNu += nuMax + 1; mNusKernel.push_back(nuMax + 1); mNrsKernel.push_back(mKerElements[ielem]->getNrMax()); } //init kernel vec_ar6_RMatPP initKernels(totNu, zero_ar6_RMatPP); if (mDumpTimeKernels) { mPhysicalKernels.assign(mBufferSize, initKernels); } else { mPhysicalKernels.assign(1, initKernels); } int startElemNu; std::vector<int> countElemNu(XMPI::nproc(),0); XMPI::gather(totNu, countElemNu, true); startElemNu = std::accumulate(countElemNu.begin(), countElemNu.begin() + XMPI::rank(), 0); int totTotNu = XMPI::sum(totNu); mIO->initialize(totNu, totTotNu, startElemNu, countElemNu[XMPI::rank()], mKerElements.size(), totElems, mNusKernel, mNrsKernel); } void Kerner::finalize() { mIO->finalize(); } void Kerner::computeKernels( int tstep ) { if ((tstep == mMaxStep) && (mTotSteps % mBufferSize != 0) ) { mBufferSize = mTotSteps % mBufferSize; } if ((tstep % (mBufferSize * mRecordInterval) == 0) || (tstep == mMaxStep) ) { // distribute forward distributeFwdWvfToElements(); // distribute backward each time we compute the kernels distributeBwdWvfToElements(); int nuLine = 0; for (int ielem = 0; ielem < mKerElements.size(); ielem++) { KernerElement *kerElem = mKerElements[ielem]; int nuMax = mKerElements[ielem]->getNuMax(); if (tstep == mMaxStep) { kerElem->setBufferSize(mBufferSize); } kerElem->computeKernels(); kerElem->feedKernels(mPhysicalKernels, nuLine, nuMax, mDumpTimeKernels, tstep); kerElem->clearKernels(); nuLine += nuMax + 1; } if (mDumpTimeKernels && tstep != mMaxStep) dumpToFile(); } } void Kerner::dumpToFile() { mIO->dumpToFile(mPhysicalKernels, mBufferSize); } void Kerner::distributeFwdWvfToElements() { vec_vec_ar6_RMatPP forward_disp; mIO->loadWavefield(forward_disp, mBufferSize); int nuOffset = 0; for (int ielem = 0; ielem < mKerElements.size(); ielem++) { int nuFwd = mKerElements[ielem]->getNuForward(); int nuMax = mKerElements[ielem]->getNuMax(); vec_ar3_CMatPP initDispElem(nuMax + 1, zero_ar3_CMatPP); vec_vec_ar3_CMatPP dispElem(mBufferSize, initDispElem); for (int it = 0; it < mBufferSize; it++) { for (int inu = 0; inu <= nuFwd; inu++) { dispElem[it][inu][0] = forward_disp[it][nuOffset + inu][0] + ii * forward_disp[it][nuOffset + inu][1]; dispElem[it][inu][1] = forward_disp[it][nuOffset + inu][2] + ii * forward_disp[it][nuOffset + inu][3]; dispElem[it][inu][2] = forward_disp[it][nuOffset + inu][4] + ii * forward_disp[it][nuOffset + inu][5]; } } nuOffset += nuFwd + 1; mKerElements[ielem]->setForwardDisp(dispElem); } } void Kerner::distributeBwdWvfToElements() { int nuOffset = 0; for (int ielem = 0; ielem < mKerElements.size(); ielem++) { KernerElement *kerElem = mKerElements[ielem]; int nuBwd = kerElem->getNuBackward(); int nuMax = kerElem->getNuMax(); vec_ar3_CMatPP initDispElem(nuMax + 1, zero_ar3_CMatPP); vec_vec_ar3_CMatPP dispElem(mBufferSize, initDispElem); for (int it = 0; it < mBufferSize; it++) { for (int inu = 0; inu <= nuBwd; inu ++) { dispElem[it][inu][0] = mDomainRecorder->mBufferDisp[it][nuOffset + inu][0] + ii * mDomainRecorder->mBufferDisp[it][nuOffset + inu][1]; dispElem[it][inu][1] = mDomainRecorder->mBufferDisp[it][nuOffset + inu][2] + ii * mDomainRecorder->mBufferDisp[it][nuOffset + inu][3]; dispElem[it][inu][2] = mDomainRecorder->mBufferDisp[it][nuOffset + inu][4] + ii * mDomainRecorder->mBufferDisp[it][nuOffset + inu][5]; } } nuOffset+= nuBwd + 1; kerElem->setBackwardDisp(dispElem); } } void Kerner::distributeMaterialToElements() { vec_ar12_RMatPP materials; //order is real and imag of rho, vp, vpv, vsh, vsv, eta. mIO->loadMaterial(materials); int nuOffset = 0; for (int ielem = 0; ielem < mKerElements.size(); ielem++) { int nuFwd = mKerElements[ielem]->getNuForward(); int nuMax = mKerElements[ielem]->getNuMax(); vec_ar6_CMatPP materialsElem(nuMax + 1, zero_ar6_CMatPP); for (int inu = 0; inu <= nuFwd; inu ++) { materialsElem[inu][0] = materials[nuOffset + inu][0] + ii * materials[nuOffset + inu][1]; materialsElem[inu][1] = materials[nuOffset + inu][2] + ii * materials[nuOffset + inu][3]; materialsElem[inu][2] = materials[nuOffset + inu][4] + ii * materials[nuOffset + inu][5]; materialsElem[inu][3] = materials[nuOffset + inu][6] + ii * materials[nuOffset + inu][7]; materialsElem[inu][4] = materials[nuOffset + inu][8] + ii * materials[nuOffset + inu][9]; materialsElem[inu][5] = materials[nuOffset + inu][10] + ii * materials[nuOffset + inu][11]; } mKerElements[ielem]->setMaterials(materialsElem); nuOffset+=nuFwd + 1; } } void Kerner::distributeNus() { std::vector<int> NusFwd; std::vector<int> NrsFwd; mIO->loadNus(NusFwd); mIO->loadNrs(NrsFwd); for (int ielem = 0; ielem < mKerElements.size(); ielem++) { int nuBwd = mKerElements[ielem]->getNuBackward(); int nuFwd = NusFwd[ielem]-1; int nuMax = nuBwd > nuFwd ? nuBwd : nuFwd; // we use max nu between fwd and bwd int nrBwd = mKerElements[ielem]->getNrBackward(); int nrFwd = NrsFwd[ielem]; int nrMax = nrBwd > nrFwd ? nrBwd : nrFwd; // we use max nr between fwd and bwd mKerElements[ielem]->setNuForward(nuFwd); mKerElements[ielem]->setNrForward(nrFwd); mKerElements[ielem]->setNuMax(nuMax); mKerElements[ielem]->setNrMax(nrMax); } }
[ "alexandre.szenicer@linacre.ox.ac.uk" ]
alexandre.szenicer@linacre.ox.ac.uk
244038a389cf62918be308ab3392f3e758bad347
d8849a07e31a622fa79d01b4adebabd277ccc68e
/pds/persistent_rope.h
08cbb4f12f63efabfa8d7802e76b474fb5f9f6c4
[]
no_license
amashrabov/fivt-993-elements-of-programming
6bd8ba3c38a10ce63340dd518aefd1a21fd2b89f
0ea1ba856ce730ec405cbc63194ab295bc5d73e3
refs/heads/master
2020-12-24T23:29:04.621746
2012-05-21T16:42:28
2012-05-21T16:42:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,928
h
#ifndef PRESISTENT_ROPE_H__ #define PRESISTENT_ROPE_H__ #include "pds_ptr.h" #include <assert.h> #include <algorithm> #include <climits> #include <functional> #include <memory> #include <tuple> #include <iostream> namespace pds { // Persistent Data Structures namespace impl { // implementation template <class T> struct rope_node { explicit rope_node (T new_value = T()) : value(new_value), size(1), left(), right(), should_be_reversed() { priority = std::rand(); if (RAND_MAX == 32767) { priority += (std::rand() << 16); } } ~rope_node() {} unsigned int priority; T value; pds_ptr<rope_node<T> > left; // left child pds_ptr<rope_node<T> > right; // right child size_t size; // size of tree where [rope_node] is a root bool should_be_reversed; }; template <class T> size_t size_of_node(const rope_node<T> * node) { return node ? node->size : 0; } template <class T> void update_size(rope_node<T> * node) { if (node == NULL) { return; } node->size = 1; if (node->left.get()) { node->size += node->left->size; } if (node->right.get()) { node->size += node->right->size; } } //if [current_node] should be reversed it will be reversed template<class T> pds_ptr<rope_node<T> > check_reversing(pds_ptr<rope_node<T> > current_node) { if (!current_node.get() || !current_node->should_be_reversed) { return current_node; } rope_node<T> * result_ptr = current_node.switch_to_mutable(); std::swap(result_ptr->left, result_ptr->right); rope_node<T> * left_ptr = result_ptr->left.switch_to_mutable(); rope_node<T> * right_ptr = result_ptr->right.switch_to_mutable(); if (left_ptr) { left_ptr->should_be_reversed = !left_ptr->should_be_reversed; } if (right_ptr) { right_ptr->should_be_reversed = !right_ptr->should_be_reversed; } result_ptr->should_be_reversed = false; return current_node; } //search in subtree of [node] the element on position [pos] template<class T> pds_ptr<rope_node<T> > search_in_node_subtree(pds_ptr<rope_node<T> > current_node, size_t pos) { current_node = check_reversing(current_node); if (!current_node.get()) { return NULL; } size_t current_pos = size_of_node<T>(current_node->left.get()); if (current_pos < pos) { return search_in_node_subtree<T>(current_node->right, pos - current_pos - 1); } if (current_pos > pos) { return search_in_node_subtree<T>(current_node->left, pos); } return current_node; } template<class T> pds_ptr<rope_node<T> > merge_nodes (pds_ptr<rope_node<T> > left, pds_ptr<rope_node<T> > right) { left = check_reversing<T>(left); right = check_reversing<T>(right); if (!left.get()) { return right; } if (!right.get()) { return left; } pds_ptr<rope_node<T> > result; if (rand_less(left->priority, right->priority)) { result = right; rope_node<T> * result_ptr = result.switch_to_mutable(); result_ptr->left = merge_nodes(left, right->left); update_size<T>(result_ptr); } else { result = left; rope_node<T> * result_ptr = result.switch_to_mutable(); result_ptr->right = merge_nodes(left->right, right); update_size<T>(result_ptr); } return result; } // it splits the subtree of [current_node] by [pos] // result_1 contains first ([pos] - 1) elements of [current_node] // result_2 contains remain elements of [current_rope] template<class T> std::pair<pds_ptr<rope_node<T> >, pds_ptr<rope_node<T> > > split_node (pds_ptr<rope_node<T> > current_node, size_t pos) { current_node = check_reversing<T>(current_node); if (!current_node.get()) { return std::make_pair(pds_ptr<rope_node<T> >(), pds_ptr<rope_node<T> >()); } size_t current_pos = size_of_node<T>(current_node->left.get()); pds_ptr<rope_node<T> > left; pds_ptr<rope_node<T> > right; pds_ptr<rope_node<T> > split; if (current_pos < pos) { std::tie(split, right) = split_node<T>(current_node->right, pos - current_pos - 1); left = current_node; rope_node<T> * left_ptr = left.switch_to_mutable(); left_ptr->right = split; update_size<T>(left_ptr); } else { std::tie(left, split) = split_node<T>(current_node->left, pos); right = current_node; rope_node<T> * right_ptr = right.switch_to_mutable(); right_ptr->left = split; update_size<T>(right_ptr); } return std::make_pair(left, right); } bool rand_less(const int priority_1, const int priority_2) { if (priority_1 == priority_2) { return (std::rand() % 2); } return (priority_1 < priority_2); } } // namespace impl // preface: rand() is used here template<class T> class persistent_rope { public: persistent_rope() : root_() {} explicit persistent_rope(const T &value) : root_(new impl::rope_node<T>(value)) {} class reference { public: operator T() const { return (*static_cast<const persistent_rope *>(owner_))[index_]; } reference & operator = (const T& new_value) { owner_->erase(index_); owner_->insert(index_, new_value); return *this; } private: reference(persistent_rope<T> * owner, size_t index) : owner_(owner), index_(index) {} persistent_rope<T> * owner_; size_t index_; friend class persistent_rope; }; //inserts [rope] inside of our rope //[pos] is the position of received rope where [rope] begins bool insert(size_t pos, const persistent_rope &rope) { if (pos > this->size()) { return false; } pds_ptr<impl::rope_node<T> > left; pds_ptr<impl::rope_node<T> > right; std::tie(left, right) = impl::split_node<T>(root_, pos); left = impl::merge_nodes<T>(left, rope.root_); root_ = impl::merge_nodes<T>(left, right); return true; } bool insert(size_t pos, T value) { return this->insert(pos, persistent_rope<T>(value)); } //add [rope] in the end of our rope void push_back(const persistent_rope &rope){ root_ = impl::merge_nodes<T>(root_, rope.root_); } void push_back(T value = T()) { this->push_back(persistent_rope<T>(value)); } //delete elements with positions in [[pos_begin], [pos_end]) bool erase(size_t pos_begin, size_t pos_end){ if (pos_begin >= pos_end || pos_end > this->size()) { return false; } pds_ptr<impl::rope_node<T> > left; pds_ptr<impl::rope_node<T> > medium; pds_ptr<impl::rope_node<T> > right; std::tie(left, right) = impl::split_node<T>(root_, pos_begin); std::tie(medium, right) = impl::split_node<T>(right, pos_end - pos_begin); root_ = impl::merge_nodes<T>(left, right); return true; } bool erase(size_t pos) { return this->erase(pos, pos + 1); } void pop_back() { this->erase(this->size() - 1); } void pop_front() { this->erase(0); } void reverse() { impl::rope_node<T> * root_ptr = root_.switch_to_mutable(); root_ptr->should_be_reversed = !root_ptr->should_be_reversed; } const T operator [] (size_t pos) const { assert(pos < root_->size); return impl::search_in_node_subtree<T>(root_, pos)->value; } reference operator [] (size_t pos) { assert(pos < root_->size); return reference(this, pos); } const T front() const { return this->operator[](0); } const T back() const { return this->operator[](this->size() - 1); } size_t size() const { return impl::size_of_node<T>(root_.get()); } bool empty() { return (root_.get() == NULL); } void clear() { root_.switch_to_mutable(); root_ = pds_ptr<impl::rope_node<T> >(); } protected: pds_ptr<impl::rope_node<T> > root_; }; } //namespace pds #endif /* PRESISTENT_ROPE_H__ */
[ "polyakova.marina69@gmail.com" ]
polyakova.marina69@gmail.com
5f9650aa6ff3c00269494ef04cbd5a2359314386
49f012a823ba2821285a55944c70734b4f740141
/Server/src/ConnectionManager.cpp
a752d14eb80bae00c72704a5cf46be0940142b8c
[]
no_license
m-serg-v/ControlLED
7f2519f0ea2b676e55ec1a0e0aa629d40c774cdd
988452713367132b0e3d7725cb90c4a7f5f92d6e
refs/heads/master
2020-03-26T09:28:49.201500
2018-08-14T17:46:35
2018-08-14T17:46:35
144,750,733
0
0
null
null
null
null
UTF-8
C++
false
false
8,519
cpp
#include "pch.h" #include "ConnectionManager.h" #include "ClientConnection.h" extern bool RunServer; std::mutex ConnectionManager::g_Mutex; std::shared_ptr<CommandResult> SetLedState(std::string args); std::shared_ptr<CommandResult> GetLedState(std::string args); std::shared_ptr<CommandResult> SetLedColor(std::string args); std::shared_ptr<CommandResult> GetLedColor(std::string args); std::shared_ptr<CommandResult> SetLedRate(std::string args); std::shared_ptr<CommandResult> GetLedRate(std::string args); std::map<std::string, StateLED> ConnectionManager::KEYS_STATE_LED({ {"ON", StateLED::ON}, {"OFF", StateLED::OFF} }); std::map<std::string, ColorLED> ConnectionManager::KEYS_COLOR_LED({ {"RED", ColorLED::RED}, {"GREEN", ColorLED::GREEN}, {"BLUE", ColorLED::BLUE} }); std::map<std::string, ConnectionManager::Executer> ConnectionManager::COMMAND_EXECUTERS({ {"SET-LED-STATE", SetLedState}, {"GET-LED-STATE", GetLedState}, {"SET-LED-COLOR", SetLedColor}, {"GET-LED-COLOR", GetLedColor}, {"SET-LED-RATE", SetLedRate}, {"GET-LED-RATE", GetLedRate}, }); ConnectionManager::ConnectionManager() { } ConnectionManager::~ConnectionManager() { } std::string ConnectionManager::GetToken(std::string& str, unsigned int& pos) { std::locale loc; std::string token = ""; for (; pos < str.size(); ++pos) { if (str[pos] == '\t' || str[pos] == '\n' || str[pos] == ' ') { if (token.empty()) continue; else return token; } token.push_back(std::toupper(str[pos], loc)); } return token; } void *ConnectionManager::Run(void* managerPtr) { ConnectionManager* manager = (ConnectionManager*)managerPtr; int timeout = 100; CameraLED::Get()->PrintStatus(); while (RunServer) { int index = 0; int nfds = manager->m_Connections.size(); struct pollfd fds[nfds]; memset(fds, 0 , sizeof(fds)); { std::lock_guard<std::mutex> lock(g_Mutex); for (auto& val : manager->m_Connections) { fds[index].fd = val.first; fds[index].events = POLLIN; index++; } } auto rc = poll(fds, nfds, timeout); if (rc < 0) { printf("Error poll: %s\n", strerror(errno)); break; } if (rc == 0) { continue; } std::lock_guard<std::mutex> lock(g_Mutex); for (int i = 0; i < nfds; i++) { if (fds[i].revents == 0) continue; if (fds[i].revents != POLLIN) { printf("Error revents: %s\n", strerror(fds[i].revents)); auto FindIter = manager->m_Connections.find(fds[i].fd); if (FindIter != manager->m_Connections.end()) manager->m_Connections.erase(FindIter); break; } auto FindIter = manager->m_Connections.find(fds[i].fd); if (FindIter != manager->m_Connections.end()) { FindIter->second->ReceiveData(); } } for (auto& val : manager->m_Connections) { auto commandsDeq = val.second->GetCommands(); if (!commandsDeq.empty()) { for (auto& str : commandsDeq) { unsigned int pos = 0; std::string command = ConnectionManager::GetToken(str, pos); std::size_t fpos = command.find("SET"); std::string args = ""; if (fpos != std::string::npos) args = GetToken(str, ++pos); std::string resultCommand = manager->ExecuteCommand(command, args); val.second->AddAnswer(resultCommand); val.second->SendData(); CameraLED::Get()->PrintStatus(); } val.second->ClearCommands(); } } auto iter = manager->m_Connections.begin(); while (iter != manager->m_Connections.end()) { if (!iter->second->IsConnected()) iter = manager->m_Connections.erase(iter); else ++iter; } } } void ConnectionManager::CreateConnection(int socket) { std::lock_guard<std::mutex> lock(g_Mutex); auto FindIter = m_Connections.find(socket); if (FindIter != m_Connections.end()) { FindIter->second.reset(); } std::shared_ptr<ClientConnection> connection = std::make_shared<ClientConnection>(); connection->SetSocket(socket); m_Connections[socket] = connection; } std::string ConnectionManager::ExecuteCommand(const std::string& command, const std::string& arg) { auto FindCommand = COMMAND_EXECUTERS.find(command); if (FindCommand == COMMAND_EXECUTERS.end()) { return "FAILED"; } auto Func = FindCommand->second; auto Result = Func(arg); std::string answer = "FAILED"; switch (Result->GetResult()) { case EResult::RES_OK: answer = "OK"; break; case EResult::RES_FAILED: answer = "FAILED"; break; } switch (Result->GetType()) { case ECommand::GET_STATE: { std::shared_ptr<GetLedStateResult> StateResult = std::static_pointer_cast<GetLedStateResult>(Result); if (!StateResult) { answer = "FAILED"; break; } StateLED state = StateResult->GetState(); std::string strState = CameraLED::GetStateStr(state); answer += std::string(" " + strState); } break; case ECommand::GET_COLOR: { std::shared_ptr<GetLedColorResult> ColorResult = std::static_pointer_cast<GetLedColorResult>(Result); if (!ColorResult) { answer = "FAILED"; break; } ColorLED color = ColorResult->GetColor(); std::string strColor = CameraLED::GetColorStr(color); answer += std::string(" " + strColor); } break; case ECommand::GET_RATE: { std::shared_ptr<GetLedRateResult> RateResult = std::static_pointer_cast<GetLedRateResult>(Result); if (!RateResult) { answer = "FAILED"; break; } int rate = RateResult->GetRate(); std::string strRate = std::to_string(rate); answer += std::string(" " + strRate); } break; case ECommand::SET_STATE: case ECommand::SET_COLOR: case ECommand::SET_RATE: break; } return answer; } std::shared_ptr<CommandResult> SetLedState(std::string args) { EResult result = EResult::RES_FAILED; if (!args.empty()) { auto FindState = ConnectionManager::KEYS_STATE_LED.find(args); if (FindState != ConnectionManager::KEYS_STATE_LED.end()) { CameraLED::Get()->SetState(FindState->second); result = EResult::RES_OK; } } return std::make_shared<CommandResult>(ECommand::SET_STATE, result); } std::shared_ptr<CommandResult> GetLedState(std::string args) { return std::make_shared<GetLedStateResult>(ECommand::GET_STATE, EResult::RES_OK, CameraLED::Get()->GetState()); } std::shared_ptr<CommandResult> SetLedColor(std::string args) { EResult result = EResult::RES_FAILED; if (!args.empty()) { auto FindColor = ConnectionManager::KEYS_COLOR_LED.find(args); if (FindColor != ConnectionManager::KEYS_COLOR_LED.end()) { CameraLED::Get()->SetColor(FindColor->second); result = EResult::RES_OK; } } return std::make_shared<CommandResult>(ECommand::SET_COLOR, result); } std::shared_ptr<CommandResult> GetLedColor(std::string args) { return std::make_shared<GetLedColorResult>(ECommand::GET_COLOR, EResult::RES_OK, CameraLED::Get()->GetColor()); } std::shared_ptr<CommandResult> SetLedRate(std::string args) { EResult result = EResult::RES_FAILED; if (!args.empty()) { int rate = std::stoi(args); if (rate == CameraLED::ClampRate(rate)) { CameraLED::Get()->SetRate(rate); result = EResult::RES_OK; } } return std::make_shared<CommandResult>(ECommand::SET_RATE, result); } std::shared_ptr<CommandResult> GetLedRate(std::string args) { return std::make_shared<GetLedRateResult>(ECommand::GET_RATE, EResult::RES_OK, CameraLED::Get()->GetRate()); }
[ "ser.mycenko@gmail.com" ]
ser.mycenko@gmail.com
46ab3f118b7740b9a47132b01da0134083de465d
e1e43f3e90aa96d758be7b7a8356413a61a2716f
/commsfwtools/preparedefaultcommsdatabase/te_commsdat/src/commsdatNotificationTests.cpp
9ea215892739ac4a3c0e1f07620c59b396cbfe15
[]
no_license
SymbianSource/oss.FCL.sf.os.commsfw
76b450b5f52119f6bf23ae8a5974c9a09018fdfa
bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984
refs/heads/master
2021-01-18T23:55:06.285537
2010-10-03T23:21:43
2010-10-03T23:21:43
72,773,202
0
1
null
null
null
null
UTF-8
C++
false
false
40,460
cpp
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/epl-v10.html". // // Initial Contributors: // Nokia Corporation - initial contribution. // // Contributors: // // Description: // CCommsdat150Step // CCommsdat151Step // CCommsdat152Step // CCommsdat153Step // CCommsdat154Step // CCommsdat155Step // CCommsdat156Step // CCommsdat157Step // CCommsdat158Step // CCommsdat159Step // CCommsdat160Step // CCommsdat161Step // CCommsdat162Step // CCommsdat163Step // CCommsdat164Step // CCommsdat165Step // NOTE: // Ensure that PublishProperties() is called in any tests that need it - relying on // a previous test having called it and setup the properties for subsequent tests will // mean that the subsequent tests will fail if ever run in isolation. // // /** @file commsdatNotificationTests.cpp */ #include "commsdatNotificationTests.h" #include "Te_commsdatSuiteDefs.h" #include "notificationtester.h" #include "CommsDatInternalDefs.h" #include <e32test.h> #include <d32comm.h> #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS #include <commsdat_partner.h> #endif const TInt KNetworkWeighting = 10; CCommsdat150Step::CCommsdat150Step() /** * Constructor */ { SetTestStepName(KCommsdat150Step); } TVerdict CCommsdat150Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface during RollBack Transaction; must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat150Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread150"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->RollbackTransactionL(); User::WaitForRequest (notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ERollback) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat151Step::CCommsdat151Step() /** * Constructor */ { SetTestStepName(KCommsdat151Step); } TVerdict CCommsdat151Step::doTestStepL() /** * @return - TVerdict code * Test Notification after doing a Modify and Commit. * CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("CCommsdat151Step::doTestStepL() in the file commsdat151Step.cpp")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; INFO_PRINTF1(_L("Finding IAP record...")); TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL result for record %08x was %b, should be 1"), record->ElementId(), found); if (found) { _LIT(KThreadName,"TestThread151"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); INFO_PRINTF1(_L("Set NotificationTester")); TPtrC testService(_L("Test Service")); record->iServiceType.SetMaxLengthL(testService.Length()); record->iServiceType = testService; record->ModifyL(*cmdbSession); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->CommitTransactionL(); User::WaitForRequest (notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ECommit) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester); } else { cmdbSession->CommitTransactionL(); cmdbSession->Close(); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat152Step::CCommsdat152Step() /** * Constructor */ { SetTestStepName(KCommsdat152Step); } TVerdict CCommsdat152Step::doTestStepL() /** * @return - TVerdict code * test CancelAllNotifications when there are no notifications * CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat152Step::doTestStepL() and trying to test CancelAllNotifications")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); cmdbSession->OpenTransactionL(); cmdbSession->CancelAllNotifications(); cmdbSession->RollbackTransactionL(); CleanupStack::PopAndDestroy(cmdbSession); SetTestStepResult(EPass); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat153Step::CCommsdat153Step() /** * Constructor */ { SetTestStepName(KCommsdat153Step); } TVerdict CCommsdat153Step::doTestStepL() /** * @return - TVerdict code * test Cancelling a Notification * CED -i Z:\testdata\configs\te_commsdat_modembearer_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat153Step::doTestStepL() and trying to test CancelAllNotifications")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); cmdbSession->OpenTransactionL(); CCDModemBearerRecord *record = static_cast<CCDModemBearerRecord *>(CCDRecordBase::RecordFactoryL(KCDTIdModemBearerRecord)); CleanupStack::PushL(record); record->iDataBits = EData8; TBool found = record->FindL(*cmdbSession); if(found) { _LIT(KThreadName, "TestThread153"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); INFO_PRINTF1(_L("Set NotificationTester")); record->iDataBits = EData7; record->ModifyL(*cmdbSession); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } tester->CancelNotification(notified); User::WaitForRequest (notified); if(tester->iStatus == KErrCancel) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat154Step::CCommsdat154Step() /** * Constructor */ { SetTestStepName(KCommsdat154Step); } TVerdict CCommsdat154Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface while Closing a session; must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat154Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread154"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->Close(); User::WaitForRequest (notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::EClose) { SetTestStepResult(EPass); } CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat155Step::CCommsdat155Step() /** * Constructor */ { SetTestStepName(KCommsdat155Step); } TVerdict CCommsdat155Step::doTestStepL() /** * @return - TVerdict code * Test notification on linked records with modifying records * CED -i Z:\testdata\configs\te_commsdat_wap_access_sms.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("Testing notification over linked records CCommsdat155Step::doTestStepL() ")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDWAPAccessPointRecord* apRecord = static_cast<CCDWAPAccessPointRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPAccessPointRecord)); apRecord->SetRecordId(41); TPtrC name(_L("Voda")); apRecord->iWAPCurrentBearer.SetMaxLengthL(name.Length()); apRecord->iWAPCurrentBearer = name; apRecord->LoadL(*cmdbSession); _LIT(KThreadName, "TestThread155"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName,cmdbSession, apRecord); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); CCDWAPSMSBearerRecord* sbRecord = static_cast<CCDWAPSMSBearerRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPSMSBearerRecord)); CleanupStack::PushL(sbRecord); sbRecord->SetRecordId(1); sbRecord->iWAPAccessPointId = apRecord->RecordId(); sbRecord->iWAPAccessPointId.iLinkedRecord = apRecord; sbRecord->LoadL(*cmdbSession); CMDBElement* linkToAPRecord = sbRecord->iWAPAccessPointId.iLinkedRecord; if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } _LIT(KWapBearer, "ArbitraryName"); if(linkToAPRecord != NULL) { static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->iWAPCurrentBearer.SetL(KWapBearer); static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->ModifyL(*cmdbSession); cmdbSession->CommitTransactionL(); } User::WaitForRequest(notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ECommit) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(sbRecord); CleanupStack::PopAndDestroy(tester); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat156Step::CCommsdat156Step() /** * Constructor */ { SetTestStepName(KCommsdat156Step); } TVerdict CCommsdat156Step::doTestStepL() /** * @return - TVerdict code * Test notification on linked records with modifying links * CED -i Z:\testdata\configs\te_commsdat_wap_access_sms.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("Testing notification over linked records CCommsdat156Step::doTestStepL() ")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDWAPAccessPointRecord* apRecord = static_cast<CCDWAPAccessPointRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPAccessPointRecord)); apRecord->SetRecordId(41); TPtrC name(_L("Voda")); apRecord->iWAPCurrentBearer.SetMaxLengthL(name.Length()); apRecord->iWAPCurrentBearer = name; apRecord->LoadL(*cmdbSession); _LIT(KThreadName, "TestThread156"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, apRecord); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); CCDWAPSMSBearerRecord* sbRecord = static_cast<CCDWAPSMSBearerRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPSMSBearerRecord)); CleanupStack::PushL(sbRecord); sbRecord->SetRecordId(1); sbRecord->iWAPAccessPointId = apRecord->RecordId(); sbRecord->iWAPAccessPointId.iLinkedRecord = apRecord; sbRecord->LoadL(*cmdbSession); CMDBElement* linkToAPRecord = sbRecord->iWAPAccessPointId.iLinkedRecord; if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } _LIT(KWapBearer, "ArbitraryName"); if(linkToAPRecord != NULL) { static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->iWAPCurrentBearer.SetL(KWapBearer); static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->iWAPCurrentBearer.ModifyL(*cmdbSession); cmdbSession->CommitTransactionL(); } User::WaitForRequest(notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ECommit) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(sbRecord); CleanupStack::PopAndDestroy(tester); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat157Step::CCommsdat157Step() /** * Constructor */ { SetTestStepName(KCommsdat157Step); } TVerdict CCommsdat157Step::doTestStepL() /** * @return - TVerdict code * Test notification on linked records with deleting records * CED -i Z:\testdata\configs\te_commsdat_wap_access_sms.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("Testing notification over linked records CCommsdat157Step::doTestStepL() ")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); CCDWAPAccessPointRecord* apRecord = static_cast<CCDWAPAccessPointRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPAccessPointRecord)); apRecord->SetRecordId(41); TPtrC name(_L("Voda")); apRecord->iWAPCurrentBearer.SetMaxLengthL(name.Length()); apRecord->iWAPCurrentBearer = name; apRecord->LoadL(*cmdbSession); _LIT(KThreadName, "TestThread157"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, apRecord); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); CCDWAPSMSBearerRecord* sbRecord = static_cast<CCDWAPSMSBearerRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPSMSBearerRecord)); CleanupStack::PushL(sbRecord); sbRecord->SetRecordId(1); sbRecord->iWAPAccessPointId = apRecord->RecordId(); sbRecord->iWAPAccessPointId.iLinkedRecord = apRecord; TBool found = sbRecord->FindL(*cmdbSession); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } if(found) { CMDBElement* linkToAPRecord = sbRecord->iWAPAccessPointId.iLinkedRecord; if(linkToAPRecord != NULL) { static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->DeleteL(*cmdbSession); } } User::WaitForRequest(notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ECommit) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(sbRecord); CleanupStack::PopAndDestroy(tester); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat158Step::CCommsdat158Step() /** * Constructor */ { SetTestStepName(KCommsdat158Step); } TVerdict CCommsdat158Step::doTestStepL() /** * @return - TVerdict code * Test notification on linked records with deleting fields * CED -i Z:\testdata\configs\te_commsdat_wap_access_sms.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("Testing notification over linked records CCommsdat158Step::doTestStepL() ")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); CCDWAPAccessPointRecord* apRecord = static_cast<CCDWAPAccessPointRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPAccessPointRecord)); apRecord->SetRecordId(41); TPtrC name(_L("Voda")); apRecord->iWAPCurrentBearer.SetMaxLengthL(name.Length()); apRecord->iWAPCurrentBearer = name; apRecord->LoadL(*cmdbSession); _LIT(KThreadName, "TestThread158"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, apRecord); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); CCDWAPSMSBearerRecord* sbRecord = static_cast<CCDWAPSMSBearerRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdWAPSMSBearerRecord)); CleanupStack::PushL(sbRecord); sbRecord->SetRecordId(1); sbRecord->iWAPAccessPointId = apRecord->RecordId(); sbRecord->iWAPAccessPointId.iLinkedRecord = apRecord; if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } TBool found = sbRecord->FindL(*cmdbSession); if(found ) { CMDBElement* linkToAPRecord = sbRecord->iWAPAccessPointId.iLinkedRecord; if(linkToAPRecord != NULL) { static_cast<CCDWAPAccessPointRecord *>(linkToAPRecord)->iWAPCurrentBearer.DeleteL(*cmdbSession); } } User::WaitForRequest(notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ECommit) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(sbRecord); CleanupStack::PopAndDestroy(tester); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //--------------------------------------------------------------------------------------------------------------- CCommsdat159Step::CCommsdat159Step() /** * Constructor */ { SetTestStepName(KCommsdat159Step); } TVerdict CCommsdat159Step::doTestStepL() /** * @return - TVerdict code * test CancelAllNotifications when there are no notifications */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("Testing transaction behaviour in CCommsdat159Step::doTestStepL() ")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); TRAPD(rollbackErr, cmdbSession->RollbackTransactionL()); // should give KErrAlreadyInTransaction INFO_PRINTF2(_L("Rollback without transaction returns : %d"), rollbackErr); if(rollbackErr == KErrNotFound) { SetTestStepResult(EPass); } CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //---------------------------------------------------------------------------------------------------------------- CCommsdat160Step::CCommsdat160Step() /** * Constructor */ { SetTestStepName(KCommsdat160Step); } TVerdict CCommsdat160Step::doTestStepL() /** * @return - TVerdict code * .tests type operator RECORD_TYPE with different data types. */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("CCommsdat160Step::doTestStepL() in the file commsdat160Step.cpp")); //Initialisation of ptrIapRecord and ptrService CCDIAPRecord* ptrIapRecord = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(ptrIapRecord); CCDServiceRecordBase* ptrService = static_cast<CCDServiceRecordBase*>(CCDRecordBase::RecordFactoryL(KCDTIdLANServiceRecord)); TInt testVal = 10; ptrService->iServiceEnableLlmnr = ETrue;//ptrService is used to access iServiceEnableLlmnr of type TBool ptrIapRecord->iService.iLinkedRecord = ptrService;//ptrIapRecord is used to access iService of type CCDServiceRecordBase ptrIapRecord->iService = testVal; // ptrService is used to access SetRecordId of type TInt ptrService = NULL; //Checking if type operators are working TInt serviceId = ptrIapRecord->iService; TESTL(serviceId == testVal); //accessing integer value CCDServiceRecordBase* ptrIapService = ptrIapRecord->iService; if(ptrIapService->iServiceEnableLlmnr) { SetTestStepResult(EPass); //accesing Boolean value } CleanupStack::PopAndDestroy(ptrIapRecord); return TestStepResult(); } //------------------------------------------------------------------------------------------------------------------------------------------- CCommsdat161Step::CCommsdat161Step() /** * Constructor */ { SetTestStepName(KCommsdat161Step); } TVerdict CCommsdat161Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface. Request notification using one session instance and change database with another one. Must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat161Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties (doing it on one session is enough) cmdbSession->PublishProperties(); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession2 = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession2 = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession2); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread161"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession2, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); if(tester->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->RollbackTransactionL(); User::WaitForRequest (notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ERollback) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession2); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //------------------------------------------------------------------------------------------------------------------------------------------- CCommsdat162Step::CCommsdat162Step() /** * Constructor */ { SetTestStepName(KCommsdat162Step); } TVerdict CCommsdat162Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface. Request notification by several different clients. Check that all are completed. Must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat162Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread162"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); _LIT(KThreadName1, "TestThread162_1"); CNotificationTester *tester1 = CNotificationTester::NewL(KThreadName1, cmdbSession, record); CleanupStack::PushL(tester1); TRequestStatus notified1; tester1->LogOn(notified1); _LIT(KThreadName2, "TestThread162_2"); CNotificationTester *tester2 = CNotificationTester::NewL(KThreadName2, cmdbSession, record); CleanupStack::PushL(tester2); TRequestStatus notified2; tester2->LogOn(notified2); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); if(tester->IsAdded() && tester1->IsAdded() && tester2->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->RollbackTransactionL(); User::WaitForRequest (notified); User::WaitForRequest (notified1); User::WaitForRequest (notified2); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && tester1->iStatus == KErrNone && tester2->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ERollback) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester2); CleanupStack::PopAndDestroy(tester1); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //------------------------------------------------------------------------------------------------------------------------------------------- CCommsdat163Step::CCommsdat163Step() /** * Constructor */ { SetTestStepName(KCommsdat163Step); } TVerdict CCommsdat163Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface. Request notification by several different clients and then cancel prticular one. Check that all are completed. Must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg * * NOTE: this test seems to require step 162 to have been run. */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat163Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread163"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); _LIT(KThreadName1, "TestThread163_1"); CNotificationTester *tester1 = CNotificationTester::NewL(KThreadName1, cmdbSession, record); CleanupStack::PushL(tester1); TRequestStatus notified1; tester1->LogOn(notified1); _LIT(KThreadName2, "TestThread163_2"); CNotificationTester *tester2 = CNotificationTester::NewL(KThreadName2, cmdbSession, record); CleanupStack::PushL(tester2); TRequestStatus notified2; tester2->LogOn(notified2); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); if(tester->IsAdded() && tester1->IsAdded() && tester2->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } tester1->CancelNotification(notified1); cmdbSession->RollbackTransactionL(); User::WaitForRequest (notified); User::WaitForRequest (notified1); User::WaitForRequest (notified2); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrNone && tester1->iStatus == KErrCancel && tester2->iStatus == KErrNone && testEvtType == TCDNotifiableEvent::ERollback) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester2); CleanupStack::PopAndDestroy(tester1); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //------------------------------------------------------------------------------------------------------------------------------------------- CCommsdat164Step::CCommsdat164Step() /** * Constructor */ { SetTestStepName(KCommsdat164Step); } TVerdict CCommsdat164Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface. Request notification by several different clients and then cancel all. Check that all are completed. Must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg * * NOTE: this test seems to require step 163 to have been performed. */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat164Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { _LIT(KThreadName, "TestThread164"); CNotificationTester *tester = CNotificationTester::NewL(KThreadName, cmdbSession, record); CleanupStack::PushL(tester); TRequestStatus notified; tester->LogOn(notified); _LIT(KThreadName1, "TestThread164_1"); CNotificationTester *tester1 = CNotificationTester::NewL(KThreadName1, cmdbSession, record); CleanupStack::PushL(tester1); TRequestStatus notified1; tester1->LogOn(notified1); _LIT(KThreadName2, "TestThread164_2"); CNotificationTester *tester2 = CNotificationTester::NewL(KThreadName2, cmdbSession, record); CleanupStack::PushL(tester2); TRequestStatus notified2; tester2->LogOn(notified2); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); if(tester->IsAdded() && tester1->IsAdded() && tester2->IsAdded()) { INFO_PRINTF1(_L("added to active scheduler")); } else { INFO_PRINTF1(_L("not added to active scheduler")); } cmdbSession->CancelAllNotifications(); User::WaitForRequest (notified); User::WaitForRequest (notified1); User::WaitForRequest (notified2); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(tester->iStatus == KErrCancel && tester1->iStatus == KErrCancel && tester2->iStatus == KErrCancel && testEvtType == TCDNotifiableEvent::EClose) { SetTestStepResult(EPass); } cmdbSession->Close(); CleanupStack::PopAndDestroy(tester2); CleanupStack::PopAndDestroy(tester1); CleanupStack::PopAndDestroy(tester); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //------------------------------------------------------------------------------------------------------------------------------------------- CCommsdat165Step::CCommsdat165Step() /** * Constructor */ { SetTestStepName(KCommsdat165Step); } TVerdict CCommsdat165Step::doTestStepL() /** * @return - TVerdict code * * Testing notification interface. Request notification by a client twice or more. Must do CED -i Z:\testdata\configs\te_commsdat_iap_table1.cfg */ { SetTestStepResult(EFail); INFO_PRINTF1(_L("I am in CCommsdat165Step::doTestStepL(). Testing notification interface...")); #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_2); #else CMDBSession *cmdbSession = CMDBSession::NewL(KCDVersion1_1); #endif CleanupStack::PushL(cmdbSession); // need to define P&S properties cmdbSession->PublishProperties(); cmdbSession->OpenTransactionL(); CCDIAPRecord *record = static_cast<CCDIAPRecord*>(CCDRecordBase::RecordFactoryL(KCDTIdIAPRecord)); CleanupStack::PushL(record); record->iNetworkWeighting = KNetworkWeighting; TBool found = record->FindL(*cmdbSession); INFO_PRINTF3(_L("FindL returned %b for record %08x"), found, record->ElementId()); if (found) { TRequestStatus notified; record->RequestNotification(*cmdbSession, notified); record->RequestNotification(*cmdbSession, notified); record->RequestNotification(*cmdbSession, notified); TPtrC testBearer(_L("Test Bearer")); record->iBearerType.SetMaxLengthL(testBearer.Length()); record->iBearerType = testBearer; record->ModifyL(*cmdbSession); cmdbSession->RollbackTransactionL(); User::WaitForRequest (notified); TInt testEvtType = 0; RProperty::Get(KUidSystemCategory, KUidCommDbNotificationEvent.iUid, testEvtType); if(notified == KErrNone && testEvtType == TCDNotifiableEvent::ERollback) { SetTestStepResult(EPass); } cmdbSession->Close(); } CleanupStack::PopAndDestroy(record); CleanupStack::PopAndDestroy(cmdbSession); return TestStepResult(); } //-------------------------------------------------------------------------------------------------------------------------------------------
[ "kirill.dremov@nokia.com" ]
kirill.dremov@nokia.com
2500cbd7f9756f7198b1a6a856240d7b121c6716
45db3e593645fb5d78ce522e58ba8b0a1719a6e3
/authenticationUe4Source/Source/authenticationUe4/authenticationUe4.cpp
01b79d78d6522f910e19336a59e2601b40109e1f
[]
no_license
voller17/authenticationUe4
98661d42fe0a785daa66d6de2edc8b18a3007054
50a42610d4ae5041b78b8dfab4b860d40bcad34e
refs/heads/master
2021-06-02T15:12:37.363015
2020-04-22T19:28:45
2020-04-22T19:28:45
150,837,292
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "authenticationUe4.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, authenticationUe4, "authenticationUe4" );
[ "voller17@mail.ru" ]
voller17@mail.ru
0537e5e604beafe25c70e3eafcbfed6c03cf9951
bb6ce7611e30ac6837683738001dbb1b5f32362b
/Dalvik JIT/vm/Native.cpp
4f5ba33bb8b42c3c410b55d721f009b997bdc0e3
[]
no_license
jkoppel/medicalinfo
982c65be81cad33fae41209e74fce97dd64c6f70
488fe78f20f239118cf3a6685924c950f1675984
refs/heads/master
2021-01-10T09:50:56.960267
2013-06-16T15:08:02
2013-06-16T15:08:02
48,212,799
0
0
null
null
null
null
UTF-8
C++
false
false
26,413
cpp
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * Native method resolution. * * Currently the "Dalvik native" methods are only used for internal methods. * Someday we may want to export the interface as a faster but riskier * alternative to JNI. */ #include "Dalvik.h" #include <stdlib.h> #include <dlfcn.h> static void freeSharedLibEntry(void* ptr); static void* lookupSharedLibMethod(const Method* method); #ifdef WITH_HOUDINI /* * Pointer to hold Houdini Hook structure defined in libhoudini_hook.a */ void *gHoudiniHook = NULL; namespace houdini { void* hookDlopen(const char* filename, int flag, bool* useHoudini); void* hookDlsym(bool useHoudini, void* handle, const char* symbol); int hookJniOnload(bool useHoudini, void* func, void* jniVm, void* arg); } /* * Get the shorty string for a method. */ const char* dvmGetMethodShorty(void* method) { const Method* meth = (const Method*)method; return meth->shorty; } #endif /* * Initialize the native code loader. */ bool dvmNativeStartup() { gDvm.nativeLibs = dvmHashTableCreate(4, freeSharedLibEntry); if (gDvm.nativeLibs == NULL) return false; return true; } /* * Free up our tables. */ void dvmNativeShutdown() { dvmHashTableFree(gDvm.nativeLibs); gDvm.nativeLibs = NULL; } /* * Resolve a native method and invoke it. * * This is executed as if it were a native bridge or function. If the * resolution succeeds, method->insns is replaced, and we don't go through * here again unless the method is unregistered. * * Initializes method's class if necessary. * * An exception is thrown on resolution failure. * * (This should not be taking "const Method*", because it modifies the * structure, but the declaration needs to match the DalvikBridgeFunc * type definition.) */ void dvmResolveNativeMethod(const u4* args, JValue* pResult, const Method* method, Thread* self) { ClassObject* clazz = method->clazz; /* * If this is a static method, it could be called before the class * has been initialized. */ if (dvmIsStaticMethod(method)) { if (!dvmIsClassInitialized(clazz) && !dvmInitClass(clazz)) { assert(dvmCheckException(dvmThreadSelf())); return; } } else { assert(dvmIsClassInitialized(clazz) || dvmIsClassInitializing(clazz)); } /* start with our internal-native methods */ DalvikNativeFunc infunc = dvmLookupInternalNativeMethod(method); if (infunc != NULL) { /* resolution always gets the same answer, so no race here */ IF_LOGVV() { char* desc = dexProtoCopyMethodDescriptor(&method->prototype); LOGVV("+++ resolved native %s.%s %s, invoking", clazz->descriptor, method->name, desc); free(desc); } if (dvmIsSynchronizedMethod(method)) { ALOGE("ERROR: internal-native can't be declared 'synchronized'"); ALOGE("Failing on %s.%s", method->clazz->descriptor, method->name); dvmAbort(); // harsh, but this is VM-internal problem } DalvikBridgeFunc dfunc = (DalvikBridgeFunc) infunc; dvmSetNativeFunc((Method*) method, dfunc, NULL); dfunc(args, pResult, method, self); return; } /* now scan any DLLs we have loaded for JNI signatures */ void* func = lookupSharedLibMethod(method); if (func != NULL) { /* found it, point it at the JNI bridge and then call it */ dvmUseJNIBridge((Method*) method, func); (*method->nativeFunc)(args, pResult, method, self); return; } IF_ALOGW() { char* desc = dexProtoCopyMethodDescriptor(&method->prototype); ALOGW("No implementation found for native %s.%s:%s", clazz->descriptor, method->name, desc); free(desc); } dvmThrowUnsatisfiedLinkError("Native method not found", method); } /* * =========================================================================== * Native shared library support * =========================================================================== */ // TODO? if a ClassLoader is unloaded, we need to unload all DLLs that // are associated with it. (Or not -- can't determine if native code // is still using parts of it.) enum OnLoadState { kOnLoadPending = 0, /* initial state, must be zero */ kOnLoadFailed, kOnLoadOkay, }; /* * We add one of these to the hash table for every library we load. The * hash is on the "pathName" field. */ struct SharedLib { char* pathName; /* absolute path to library */ void* handle; /* from dlopen */ Object* classLoader; /* ClassLoader we are associated with */ pthread_mutex_t onLoadLock; /* guards remaining items */ pthread_cond_t onLoadCond; /* wait for JNI_OnLoad in other thread */ u4 onLoadThreadId; /* recursive invocation guard */ OnLoadState onLoadResult; /* result of earlier JNI_OnLoad */ #ifdef WITH_HOUDINI bool useHoudini; #endif }; /* * (This is a dvmHashTableLookup callback.) * * Find an entry that matches the string. */ static int hashcmpNameStr(const void* ventry, const void* vname) { const SharedLib* pLib = (const SharedLib*) ventry; const char* name = (const char*) vname; return strcmp(pLib->pathName, name); } /* * (This is a dvmHashTableLookup callback.) * * Find an entry that matches the new entry. * * We don't compare the class loader here, because you're not allowed to * have the same shared library associated with more than one CL. */ static int hashcmpSharedLib(const void* ventry, const void* vnewEntry) { const SharedLib* pLib = (const SharedLib*) ventry; const SharedLib* pNewLib = (const SharedLib*) vnewEntry; ALOGD("--- comparing %p '%s' %p '%s'", pLib, pLib->pathName, pNewLib, pNewLib->pathName); return strcmp(pLib->pathName, pNewLib->pathName); } /* * Check to see if an entry with the same pathname already exists. */ static SharedLib* findSharedLibEntry(const char* pathName) { u4 hash = dvmComputeUtf8Hash(pathName); void* ent; ent = dvmHashTableLookup(gDvm.nativeLibs, hash, (void*)pathName, hashcmpNameStr, false); return (SharedLib*)ent; } /* * Add the new entry to the table. * * Returns the table entry, which will not be the same as "pLib" if the * entry already exists. */ static SharedLib* addSharedLibEntry(SharedLib* pLib) { u4 hash = dvmComputeUtf8Hash(pLib->pathName); /* * Do the lookup with the "add" flag set. If we add it, we will get * our own pointer back. If somebody beat us to the punch, we'll get * their pointer back instead. */ return (SharedLib*)dvmHashTableLookup(gDvm.nativeLibs, hash, pLib, hashcmpSharedLib, true); } /* * Free up an entry. (This is a dvmHashTableFree callback.) */ static void freeSharedLibEntry(void* ptr) { SharedLib* pLib = (SharedLib*) ptr; /* * Calling dlclose() here is somewhat dangerous, because it's possible * that a thread outside the VM is still accessing the code we loaded. */ if (false) dlclose(pLib->handle); free(pLib->pathName); free(pLib); } /* * Convert library name to system-dependent form, e.g. "jpeg" becomes * "libjpeg.so". * * (Should we have this take buffer+len and avoid the alloc? It gets * called very rarely.) */ char* dvmCreateSystemLibraryName(char* libName) { char buf[256]; int len; len = snprintf(buf, sizeof(buf), OS_SHARED_LIB_FORMAT_STR, libName); if (len >= (int) sizeof(buf)) return NULL; else return strdup(buf); } /* * Check the result of an earlier call to JNI_OnLoad on this library. If * the call has not yet finished in another thread, wait for it. */ static bool checkOnLoadResult(SharedLib* pEntry) { Thread* self = dvmThreadSelf(); if (pEntry->onLoadThreadId == self->threadId) { /* * Check this so we don't end up waiting for ourselves. We need * to return "true" so the caller can continue. */ ALOGI("threadid=%d: recursive native library load attempt (%s)", self->threadId, pEntry->pathName); return true; } ALOGV("+++ retrieving %s OnLoad status", pEntry->pathName); bool result; dvmLockMutex(&pEntry->onLoadLock); while (pEntry->onLoadResult == kOnLoadPending) { ALOGD("threadid=%d: waiting for %s OnLoad status", self->threadId, pEntry->pathName); ThreadStatus oldStatus = dvmChangeStatus(self, THREAD_VMWAIT); pthread_cond_wait(&pEntry->onLoadCond, &pEntry->onLoadLock); dvmChangeStatus(self, oldStatus); } if (pEntry->onLoadResult == kOnLoadOkay) { ALOGV("+++ earlier OnLoad(%s) okay", pEntry->pathName); result = true; } else { ALOGV("+++ earlier OnLoad(%s) failed", pEntry->pathName); result = false; } dvmUnlockMutex(&pEntry->onLoadLock); return result; } typedef int (*OnLoadFunc)(JavaVM*, void*); /* * Load native code from the specified absolute pathname. Per the spec, * if we've already loaded a library with the specified pathname, we * return without doing anything. * * TODO? for better results we should absolutify the pathname. For fully * correct results we should stat to get the inode and compare that. The * existing implementation is fine so long as everybody is using * System.loadLibrary. * * The library will be associated with the specified class loader. The JNI * spec says we can't load the same library into more than one class loader. * * Returns "true" on success. On failure, sets *detail to a * human-readable description of the error or NULL if no detail is * available; ownership of the string is transferred to the caller. */ bool dvmLoadNativeCode(const char* pathName, Object* classLoader, char** detail) { SharedLib* pEntry; void* handle; bool verbose; /* reduce noise by not chattering about system libraries */ verbose = !!strncmp(pathName, "/system", sizeof("/system")-1); verbose = verbose && !!strncmp(pathName, "/vendor", sizeof("/vendor")-1); if (verbose) ALOGD("Trying to load lib %s %p", pathName, classLoader); *detail = NULL; /* * See if we've already loaded it. If we have, and the class loader * matches, return successfully without doing anything. */ pEntry = findSharedLibEntry(pathName); if (pEntry != NULL) { if (pEntry->classLoader != classLoader) { ALOGW("Shared lib '%s' already opened by CL %p; can't open in %p", pathName, pEntry->classLoader, classLoader); return false; } if (verbose) { ALOGD("Shared lib '%s' already loaded in same CL %p", pathName, classLoader); } if (!checkOnLoadResult(pEntry)) return false; return true; } /* * Open the shared library. Because we're using a full path, the system * doesn't have to search through LD_LIBRARY_PATH. (It may do so to * resolve this library's dependencies though.) * * Failures here are expected when java.library.path has several entries * and we have to hunt for the lib. * * The current version of the dynamic linker prints detailed information * about dlopen() failures. Some things to check if the message is * cryptic: * - make sure the library exists on the device * - verify that the right path is being opened (the debug log message * above can help with that) * - check to see if the library is valid (e.g. not zero bytes long) * - check config/prelink-linux-arm.map to ensure that the library * is listed and is not being overrun by the previous entry (if * loading suddenly stops working on a prelinked library, this is * a good one to check) * - write a trivial app that calls sleep() then dlopen(), attach * to it with "strace -p <pid>" while it sleeps, and watch for * attempts to open nonexistent dependent shared libs * * This can execute slowly for a large library on a busy system, so we * want to switch from RUNNING to VMWAIT while it executes. This allows * the GC to ignore us. */ Thread* self = dvmThreadSelf(); ThreadStatus oldStatus = dvmChangeStatus(self, THREAD_VMWAIT); #ifdef WITH_HOUDINI bool useHoudini = false; handle = houdini::hookDlopen(pathName, RTLD_LAZY, &useHoudini); #else handle = dlopen(pathName, RTLD_LAZY); #endif dvmChangeStatus(self, oldStatus); if (handle == NULL) { *detail = strdup(dlerror()); ALOGE("dlopen(\"%s\") failed: %s", pathName, *detail); return false; } /* create a new entry */ SharedLib* pNewEntry; pNewEntry = (SharedLib*) calloc(1, sizeof(SharedLib)); pNewEntry->pathName = strdup(pathName); pNewEntry->handle = handle; #ifdef WITH_HOUDINI pNewEntry->useHoudini = useHoudini; #endif pNewEntry->classLoader = classLoader; dvmInitMutex(&pNewEntry->onLoadLock); pthread_cond_init(&pNewEntry->onLoadCond, NULL); pNewEntry->onLoadThreadId = self->threadId; /* try to add it to the list */ SharedLib* pActualEntry = addSharedLibEntry(pNewEntry); if (pNewEntry != pActualEntry) { ALOGI("WOW: we lost a race to add a shared lib (%s CL=%p)", pathName, classLoader); freeSharedLibEntry(pNewEntry); return checkOnLoadResult(pActualEntry); } else { if (verbose) ALOGD("Added shared lib %s %p", pathName, classLoader); bool result = true; void* vonLoad; int version; #ifdef WITH_HOUDINI vonLoad = houdini::hookDlsym(useHoudini, handle, "JNI_OnLoad"); #else vonLoad = dlsym(handle, "JNI_OnLoad"); #endif if (vonLoad == NULL) { ALOGD("No JNI_OnLoad found in %s %p, skipping init", pathName, classLoader); } else { /* * Call JNI_OnLoad. We have to override the current class * loader, which will always be "null" since the stuff at the * top of the stack is around Runtime.loadLibrary(). (See * the comments in the JNI FindClass function.) */ OnLoadFunc func = (OnLoadFunc)vonLoad; Object* prevOverride = self->classLoaderOverride; self->classLoaderOverride = classLoader; oldStatus = dvmChangeStatus(self, THREAD_NATIVE); if (gDvm.verboseJni) { ALOGI("[Calling JNI_OnLoad for \"%s\"]", pathName); } #ifdef WITH_HOUDINI version = houdini::hookJniOnload(useHoudini, (void*)func, (void*)gDvmJni.jniVm, NULL); #else version = (*func)(gDvmJni.jniVm, NULL); #endif dvmChangeStatus(self, oldStatus); self->classLoaderOverride = prevOverride; if (version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6) { ALOGW("JNI_OnLoad returned bad version (%d) in %s %p", version, pathName, classLoader); /* * It's unwise to call dlclose() here, but we can mark it * as bad and ensure that future load attempts will fail. * * We don't know how far JNI_OnLoad got, so there could * be some partially-initialized stuff accessible through * newly-registered native method calls. We could try to * unregister them, but that doesn't seem worthwhile. */ result = false; } else { if (gDvm.verboseJni) { ALOGI("[Returned from JNI_OnLoad for \"%s\"]", pathName); } } } if (result) pNewEntry->onLoadResult = kOnLoadOkay; else pNewEntry->onLoadResult = kOnLoadFailed; pNewEntry->onLoadThreadId = 0; /* * Broadcast a wakeup to anybody sleeping on the condition variable. */ dvmLockMutex(&pNewEntry->onLoadLock); pthread_cond_broadcast(&pNewEntry->onLoadCond); dvmUnlockMutex(&pNewEntry->onLoadLock); return result; } } /* * Un-register JNI native methods. * * There are two relevant fields in struct Method, "nativeFunc" and * "insns". The former holds a function pointer to a "bridge" function * (or, for internal native, the actual implementation). The latter holds * a pointer to the actual JNI method. * * The obvious approach is to reset both fields to their initial state * (nativeFunc points at dvmResolveNativeMethod, insns holds NULL), but * that creates some unpleasant race conditions. In particular, if another * thread is executing inside the call bridge for the method in question, * and we reset insns to NULL, the VM will crash. (See the comments above * dvmSetNativeFunc() for additional commentary.) * * We can't rely on being able to update two 32-bit fields in one atomic * operation (e.g. no 64-bit atomic ops on ARMv5TE), so we want to change * only one field. It turns out we can simply reset nativeFunc to its * initial state, leaving insns alone, because dvmResolveNativeMethod * ignores "insns" entirely. * * When the method is re-registered, both fields will be updated, but * dvmSetNativeFunc guarantees that "insns" is updated first. This means * we shouldn't be in a situation where we have a "live" call bridge and * a stale implementation pointer. */ static void unregisterJNINativeMethods(Method* methods, size_t count) { while (count != 0) { count--; Method* meth = &methods[count]; if (!dvmIsNativeMethod(meth)) continue; if (dvmIsAbstractMethod(meth)) /* avoid abstract method stubs */ continue; /* * Strictly speaking this ought to test the function pointer against * the various JNI bridge functions to ensure that we only undo * methods that were registered through JNI. In practice, any * native method with a non-NULL "insns" is a registered JNI method. * * If we inadvertently unregister an internal-native, it'll get * re-resolved on the next call; unregistering an unregistered * JNI method is a no-op. So we don't really need to test for * anything. */ ALOGD("Unregistering JNI method %s.%s:%s", meth->clazz->descriptor, meth->name, meth->shorty); dvmSetNativeFunc(meth, dvmResolveNativeMethod, NULL); } } /* * Un-register all JNI native methods from a class. */ void dvmUnregisterJNINativeMethods(ClassObject* clazz) { unregisterJNINativeMethods(clazz->directMethods, clazz->directMethodCount); unregisterJNINativeMethods(clazz->virtualMethods, clazz->virtualMethodCount); } /* * =========================================================================== * Signature-based method lookup * =========================================================================== */ /* * Create the pre-mangled form of the class+method string. * * Returns a newly-allocated string, and sets "*pLen" to the length. */ static char* createJniNameString(const char* classDescriptor, const char* methodName, int* pLen) { char* result; size_t descriptorLength = strlen(classDescriptor); *pLen = 4 + descriptorLength + strlen(methodName); result = (char*)malloc(*pLen +1); if (result == NULL) return NULL; /* * Add one to classDescriptor to skip the "L", and then replace * the final ";" with a "/" after the sprintf() call. */ sprintf(result, "Java/%s%s", classDescriptor + 1, methodName); result[5 + (descriptorLength - 2)] = '/'; return result; } /* * Returns a newly-allocated, mangled copy of "str". * * "str" is a "modified UTF-8" string. We convert it to UTF-16 first to * make life simpler. */ static char* mangleString(const char* str, int len) { //ALOGI("mangling '%s' %d", str, len); assert(str[len] == '\0'); size_t charLen = dvmUtf8Len(str); u2* utf16 = (u2*) malloc(sizeof(u2) * charLen); if (utf16 == NULL) return NULL; dvmConvertUtf8ToUtf16(utf16, str); /* * Compute the length of the mangled string. */ size_t mangleLen = 0; for (size_t i = 0; i < charLen; i++) { u2 ch = utf16[i]; if (ch == '$' || ch > 127) { mangleLen += 6; } else { switch (ch) { case '_': case ';': case '[': mangleLen += 2; break; default: mangleLen++; break; } } } char* mangle = (char*) malloc(mangleLen +1); if (mangle == NULL) { free(utf16); return NULL; } char* cp = mangle; for (size_t i = 0; i < charLen; i++) { u2 ch = utf16[i]; if (ch == '$' || ch > 127) { sprintf(cp, "_0%04x", ch); cp += 6; } else { switch (ch) { case '_': *cp++ = '_'; *cp++ = '1'; break; case ';': *cp++ = '_'; *cp++ = '2'; break; case '[': *cp++ = '_'; *cp++ = '3'; break; case '/': *cp++ = '_'; break; default: *cp++ = (char) ch; break; } } } *cp = '\0'; free(utf16); return mangle; } /* * Create the mangled form of the parameter types. */ static char* createMangledSignature(const DexProto* proto) { DexStringCache sigCache; const char* interim; char* result; dexStringCacheInit(&sigCache); interim = dexProtoGetParameterDescriptors(proto, &sigCache); result = mangleString(interim, strlen(interim)); dexStringCacheRelease(&sigCache); return result; } /* * (This is a dvmHashForeach callback.) * * Search for a matching method in this shared library. * * TODO: we may want to skip libraries for which JNI_OnLoad failed. */ static int findMethodInLib(void* vlib, void* vmethod) { const SharedLib* pLib = (const SharedLib*) vlib; const Method* meth = (const Method*) vmethod; char* preMangleCM = NULL; char* mangleCM = NULL; char* mangleSig = NULL; char* mangleCMSig = NULL; void* func = NULL; int len; if (meth->clazz->classLoader != pLib->classLoader) { ALOGV("+++ not scanning '%s' for '%s' (wrong CL)", pLib->pathName, meth->name); return 0; } else ALOGV("+++ scanning '%s' for '%s'", pLib->pathName, meth->name); #ifdef WITH_HOUDINI dvmSetHoudiniMethod((Method*)vmethod, pLib->useHoudini); #endif /* * First, we try it without the signature. */ preMangleCM = createJniNameString(meth->clazz->descriptor, meth->name, &len); if (preMangleCM == NULL) goto bail; mangleCM = mangleString(preMangleCM, len); if (mangleCM == NULL) goto bail; ALOGV("+++ calling dlsym(%s)", mangleCM); #ifdef WITH_HOUDINI func = houdini::hookDlsym(pLib->useHoudini, pLib->handle, mangleCM); #else func = dlsym(pLib->handle, mangleCM); #endif if (func == NULL) { mangleSig = createMangledSignature(&meth->prototype); if (mangleSig == NULL) goto bail; mangleCMSig = (char*) malloc(strlen(mangleCM) + strlen(mangleSig) +3); if (mangleCMSig == NULL) goto bail; sprintf(mangleCMSig, "%s__%s", mangleCM, mangleSig); ALOGV("+++ calling dlsym(%s)", mangleCMSig); #ifdef WITH_HOUDINI func = houdini::hookDlsym(pLib->useHoudini, pLib->handle, mangleCMSig); #else func = dlsym(pLib->handle, mangleCMSig); #endif if (func != NULL) { ALOGV("Found '%s' with dlsym", mangleCMSig); } } else { ALOGV("Found '%s' with dlsym", mangleCM); } bail: free(preMangleCM); free(mangleCM); free(mangleSig); free(mangleCMSig); return (int) func; } /* * See if the requested method lives in any of the currently-loaded * shared libraries. We do this by checking each of them for the expected * method signature. */ static void* lookupSharedLibMethod(const Method* method) { if (gDvm.nativeLibs == NULL) { ALOGE("Unexpected init state: nativeLibs not ready"); dvmAbort(); } return (void*) dvmHashForeach(gDvm.nativeLibs, findMethodInLib, (void*) method); }
[ "Huangwenyong@60799251-6661-9ef8-57ca-37beb366faa2" ]
Huangwenyong@60799251-6661-9ef8-57ca-37beb366faa2
03bd21487a8465f8da2d2cf1ceb3d0ae37c57d3f
d119ed919e5caf9aa1f1499b958fac3115c12fa6
/getHeight.ino
45fdcf22b2dc2290782a6f15edcb16f4735dfafb
[]
no_license
labgeek/Arduino
309af7718cfb25520383377a65a9bb95dc6c4ef1
8049f6f4baaf05fa247afe8f692fe7c53e5499c8
refs/heads/master
2023-01-01T20:38:24.405812
2020-10-28T16:56:53
2020-10-28T16:56:53
299,996,483
0
0
null
null
null
null
UTF-8
C++
false
false
6,415
ino
/* * Program name: getHeight.ino * Header file: Font_Data.h * Author: JD Durick * Date: 10/28/2020 * Version 0.1 */ #include <MD_Parola.h> #include <MD_MAX72xx.h> #include <SPI.h> #include <Time.h> #include "Font_Data.h" #include <DS3231.h> #include <Wire.h> #include <TimeLib.h> #include <DS1307RTC.h> DS3231 Clock; #define HARDWARE_TYPE MD_MAX72XX::FC16_HW #define MAX_DEVICES 4 #define CLK_PIN 13 #define DATA_PIN 11 #define CS_PIN 10 #define slider_pin A0 // OTA or OTB pin on slider uint8_t scrollSpeed = 1; // default frame delay value uint16_t scrollPause = 2000; // in milliseconds #define BUF_SIZE 75 char curMessage[BUF_SIZE] = { "" }; char curMessage1[BUF_SIZE] = { "" }; char newMessage[BUF_SIZE] = { " Biden for President!" }; bool newMessageAvailable = true; const uint8_t SPEED_IN = A5; int slider_val; // used to hold the slider analog value int slide_scroll_speed; // used when changing scroll speed // Hardware SPI connection MD_Parola P = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES); textEffect_t scrollEffect = PA_SCROLL_LEFT; textPosition_t scrollAlign = PA_LEFT; // how to align the text #define trigPin A0 #define echoPin A1 #define SPEED_TIME 75 // speed of the transition #define PAUSE_TIME 0 #define MAX_MESG 50 char testStr[10] = { "" }; String heightStr = ""; String inchStr = ""; String feetStr = ""; String remainingStr = ""; String feet_inches = ""; String remStr = ""; char dest[25]; char buf1[10] = { "" }; char buf2[10] = { "" }; char buf3[10] = { "" }; long duration; int distance; int height, inches, feet, inchesRemaining; bool Century = false; bool h12; bool PM; byte dd, mm, yyy; uint16_t h, m, s; char szTime[9]; // mm:ss\0 char szMesg[MAX_MESG + 1] = ""; char szMesg1[MAX_MESG + 1] = ""; uint8_t degC[] = { 6, 3, 3, 56, 68, 68, 68 }; // Deg C uint8_t degF[] = { 6, 3, 3, 124, 20, 20, 4 }; // Deg F char * mon2str(uint8_t mon, char * psz, uint8_t len) // Get a label from PROGMEM into a char array { static const __FlashStringHelper * str[] = { F("Jan"), F("Feb"), F("Mar"), F("Apr"), F("May"), F("Jun"), F("Jul"), F("Aug"), F("Sep"), F("Oct"), F("Nov"), F("Dec") }; strncpy_P(psz, (const char PROGMEM * ) str[mon - 1], len); psz[len] = '\0'; return (psz); } char * dow2str(uint8_t code, char * psz, uint8_t len) { static const __FlashStringHelper * str[] = { F("Sunday"), F("Monday"), F("Tuesday"), F("Wednesday"), F("Thursday"), F("Friday"), F("Saturday") }; strncpy_P(psz, (const char PROGMEM * ) str[code - 1], len); psz[len] = '\0'; return (psz); } void getTime(char * psz, bool f = true) // Code for reading clock time { Serial.println("in gettime"); s = Clock.getSecond(); m = Clock.getMinute(); h = Clock.getHour(h12, PM); // sprintf(psz, "%02d%c%02d", h, (f ? ':' : ' '), m); //sprintf(psz, "%02d%c%02d", h, (f ? ':' : ' '), m); if(h < 12){ Serial.println("AM"); sprintf(psz, " %02d%c%02d%c", h, (f ? ':' : ' '), m, 'A'); } else{ sprintf(psz, " %02d%c%02d%c", h, (f ? ':' : ' '), m, 'P'); } Serial.println(psz); } void getDate(char * psz) // Code for reading clock date { char szBuf[10]; Serial.println("in getdate"); dd = Clock.getDate(); mm = Clock.getMonth(Century); //12 yyy = Clock.getYear(); sprintf(psz, "%d %s %04d", dd, mon2str(mm, szBuf, sizeof(szBuf) - 1), (yyy + 2000)); } void get_time_and_date(char * psz, bool f = true){ char szBuf[10]; s = Clock.getSecond(); m = Clock.getMinute(); h = Clock.getHour(h12, PM); dd = Clock.getDate(); mm = Clock.getMonth(Century); //12 yyy = Clock.getYear(); if(h < 12){ //Serial.println("AM"); //sprintf(psz, " %02d%c%02d%c", h, (f ? ':' : ' '), m, 'A'); sprintf(psz, " %02d%c%02d%c %d %s %04d", h, (f ? ':' : ' '), m, 'A', dd, mon2str(mm, szBuf, sizeof(szBuf) - 1),(yyy + 2000)); } else{ //sprintf(psz, " %02d%c%02d%c", h, (f ? ':' : ' '), m, 'P'); sprintf(psz, " %02d%c%02d%c %d %s %04d", h, (f ? ':' : ' '), m, 'P', dd, mon2str(mm, szBuf, sizeof(szBuf) - 1),(yyy + 2000)); } //sprintf(psz, " %02d%c%02d %d %s %04d", h, (f ? ':' : ' '), m, dd, mon2str(mm, szBuf, sizeof(szBuf) - 1),(yyy + 2000)); } void setup() { Serial.begin(57600); // Starts the serial communication pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output pinMode(echoPin, INPUT); // Sets the echoPin as an Input P.begin(); Wire.begin(); P.displayText(newMessage, scrollAlign, scrollSpeed, scrollPause, scrollEffect, scrollEffect); } void loop() { static uint32_t lastTime = 0; // millis() memory static uint8_t display = 0; // current display mode static bool flasher = false; // seconds passing flasher //getTime(szMesg, flasher); // flasher = !flasher; measure(); if (distance > 90) { Serial.println(distance); if (P.displayAnimate()) { if (newMessageAvailable) { flasher = true; //getTime(szMesg, flasher); get_time_and_date(szMesg, flasher); strcpy(curMessage, szMesg); delay(1000); P.displayText(curMessage, scrollAlign, scrollSpeed, scrollPause, scrollEffect, scrollEffect); newMessageAvailable = false; } P.displayReset(); } } if (distance < 90) { // 229 is 8ft tall (7.5 feet) height = 229 - distance; inches = (height * 0.393701); heightStr = String(height, DEC) + "cm"; inchStr = String(inches, DEC) + "in"; feet = inches / 12; inchesRemaining = inches % 12; feetStr = String(feet, DEC) + "ft"; remStr = String(inchesRemaining, DEC) + "in"; heightStr.toCharArray(testStr, 75); inchStr.toCharArray(testStr, 75); feetStr.toCharArray(buf1, 10); remStr.toCharArray(buf2, 10); String final = feetStr + "." + remStr; final.toCharArray(buf3, 10); strcpy(dest, buf3); Serial.println(dest); //P.displayText(testStr, PA_CENTER, 0, 0, PA_PRINT, PA_NO_EFFECT); P.displayText(dest, PA_CENTER, 0, 0, PA_PRINT, PA_NO_EFFECT); } bool jd = P.displayAnimate(); delay(100); newMessageAvailable = true; return; } void measure() { digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = duration * 0.017; }
[ "noreply@github.com" ]
noreply@github.com
ba216fdf8112a3823f09e50119bcbd187115ff70
9768b553d13d277ced1f0e0811941eed56ab471c
/nav/atcproceduresid.h
598c905eb571982ffe4b350bbd5556c92efa2830
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
QtWorks/ATC_Console
27ffb236dafe51c8cfa996dc4d51425c769427a8
549dd67a007cf54b976e33fed1581f30beb08b06
refs/heads/master
2020-04-06T09:10:11.165081
2017-07-02T09:55:39
2017-07-02T09:55:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
296
h
#ifndef ATCPROCEDURESID_H #define ATCPROCEDURESID_H #include "atcabstractprocedure.h" class ATCProcedureSID : public ATCAbstractProcedure { public: explicit ATCProcedureSID(QString procedureName, QString airportCode, QString runway); ~ATCProcedureSID(); }; #endif // ATCPROCEDURESID_H
[ "ignmiz@gmail.com" ]
ignmiz@gmail.com
fe680fbb01044967e27480d3838a720546e17732
987818be995f7dc58e15c53f5216b54da3b81e05
/MonteCarloPathTracer/src/KdTree.cpp
6dd941e802ec4f875cadd52e6e17173ec9db128b
[]
no_license
gykeve/MonteCarloPathTracer
79a83fe341381668c5c5fa221ab4d33af22fa3f3
2b9e9abf99baa13bdd6a65351259182c3bf8a383
refs/heads/master
2020-04-14T07:42:02.259952
2017-07-06T11:35:03
2017-07-06T11:35:03
null
0
0
null
null
null
null
GB18030
C++
false
false
5,244
cpp
#include "KdTree.h" #include <algorithm> using namespace std; KdTree::KdTree() :low(NULL), high(NULL) { } KdTree::KdTree(vector<Geometry*>& geometry_list, int _split_axis) { build(geometry_list, _split_axis); } void KdTree::build(vector<Geometry*>& geometry_list, int _split_axis) { //this->split_axis = _split_axis; split_axis = _split_axis; unsigned int length = geometry_list.size(); if (length == 1) { low = geometry_list[0]; high = NULL; box = low->getAABB(); } else if (length == 2) { low = geometry_list[0]; high = geometry_list[1]; box = AABB::merge(low->getAABB(), high->getAABB()); } else { vector<Geometry*> lowVec; vector<Geometry*> highVec; partition(split_axis, geometry_list, &lowVec, &highVec); //递归创建kd-tree,需要注意的是:Geometry是KdTree的基类 low = lowVec.size() > 0 ? new KdTree(lowVec, (split_axis + 1) % 3) : NULL; high = highVec.size() > 0 ? new KdTree(highVec, (split_axis + 1) % 3) : NULL; if (low == NULL) box = high->getAABB(); else if (high == NULL) box = low->getAABB(); else box = AABB::merge(low->getAABB(), high->getAABB()); } } void KdTree::partition(int axis, const vector<Geometry*>& all, vector<Geometry*>* lowVec, vector<Geometry*>* highVec) { float minVal, maxVal; minVal = FLT_MAX; maxVal = -FLT_MAX; for (unsigned int i = 0; i < all.size(); i++) { AABB bbox = all[i]->getAABB(); minVal = min(minVal, bbox.getMinCoord(axis)); maxVal = max(maxVal, bbox.getMaxCoord(axis)); } float pivot = (maxVal + minVal) / 2; for (unsigned int i = 0; i < all.size(); i++) { AABB bbox = all[i]->getAABB(); float centerCoord = (bbox.getMaxCoord(axis) + bbox.getMinCoord(axis)) / 2; if (centerCoord < pivot) lowVec->push_back(all[i]); else highVec->push_back(all[i]); } // Check to see if we failed to make a partition. If so, grab the closest thing // that isn't on the other side of the partition and throw it into the empty list. // CASE: Everything ended up in highVec if (highVec->size() == all.size()) { float minCoord = FLT_MAX; unsigned int index; //int index = -1; Geometry* obj; for (unsigned int i = 0; i < highVec->size(); i++) { AABB bbox = (*highVec)[i]->getAABB(); float centerCoord = (bbox.getMaxCoord(axis) + bbox.getMinCoord(axis)) / 2; if (centerCoord < minCoord) { minCoord = centerCoord; index = i; obj = (*highVec)[i]; } } highVec->erase(highVec->begin() + index); lowVec->push_back(obj); /*if (index >= 0) { highVec->erase(highVec->begin() + index); lowVec->push_back(obj); }*/ } // CASE: Everything ended up in lowVec else if (lowVec->size() == all.size()) { float maxCoord = -FLT_MAX; unsigned int index; //int index = -1; Geometry* obj; for (unsigned int i = 0; i < lowVec->size(); i++) { AABB bbox = (*lowVec)[i]->getAABB(); float centerCoord = (bbox.getMaxCoord(axis) + bbox.getMinCoord(axis)) / 2; if (centerCoord > maxCoord) { maxCoord = centerCoord; index = i; obj = (*lowVec)[i]; } } lowVec->erase(lowVec->begin() + index); highVec->push_back(obj); /*if (index >= 0) { lowVec->erase(lowVec->begin() + index); highVec->push_back(obj); }*/ } } AABB KdTree::getAABB() { return box; } bool KdTree::intersect(Ray& ray, Intersection& intersection) { //递归得到的最后结果为,ray与aabb(box)的交点 //递归在与场景无相交时结束(与box无相交点,也更加不会与其中的triangle相交), //box为对应层次的triangle的aabb if (!box.intersect(ray, intersection)) return false; bool hit = false; if (ray.direction.num[split_axis] >= 0)//ray方向为正方向 { //递归求交 if (low != NULL) hit |= low->intersect(ray, intersection); if (high != NULL) hit |= high->intersect(ray, intersection); } else { if (high != NULL) hit |= high->intersect(ray, intersection); if (low != NULL) hit |= low->intersect(ray, intersection); } return hit; } bool KdTree::shadowRayIntersect(Ray& ray, Intersection& intersection) { if (!box.intersect(ray, intersection)) return false; bool hit = false; if (ray.direction.num[split_axis] >= 0)//ray方向为正方向 { if (low != NULL) hit |= low->shadowRayIntersect(ray, intersection); if (!hit&&high != NULL) hit |= high->shadowRayIntersect(ray, intersection); } else { if (high != NULL) hit |= high->shadowRayIntersect(ray, intersection); if (!hit&&low != NULL) hit |= low->shadowRayIntersect(ray, intersection); } return hit; }
[ "1446373582@qq.com" ]
1446373582@qq.com
6fbfab6b5da6c9e6b4d128ac9e201f8ad5dfb3aa
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2751486_1/C++/Tagrimar/main.cpp
ae1c888a579066bf89994821851dab1eb3ea36fe
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,459
cpp
// // main.cpp // Codeforces // // Created by Taygrim on 20.03.13. // Copyright (c) 2013 Taygrim. All rights reserved. // #include <iostream> #include <fstream> #include <vector> #include <cmath> #include <string> #include <set> #include <map> #include <algorithm> #include <queue> #include <stack> using namespace std; bool is_vowel(char c) { return c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'; } int main() { ifstream cin("A-large.in.txt"); ofstream cout("output.txt"); long t; cin>>t; for(long q=0; q<t; q++) { string s; cin>>s; long long n; long long prev = 0; cin>>n; long long res = 0; for(long i=0; i<s.size(); i++) { if(!is_vowel(s[i])) { long fin = i; while(fin < s.size() && !is_vowel(s[fin])) fin++; long long kol = fin - i; if(kol >= n) { res += (i - prev + 1) * (s.size() - fin + 1); res += (kol - n) * (i - prev + 1); res += (kol - n) * (s.size() - fin + 1); kol -=2; if(kol >= n) res += (kol - n + 1)*(kol - n + 2)/2; prev = fin - n + 1; } i = fin; } } cout<<"Case #"<<q+1<<": "<<res<<"\n"; } }
[ "eewestman@gmail.com" ]
eewestman@gmail.com
89305734786d73e9d3bda2c177f8390f7df81871
ab686eb3a176b5845919d80c66662f94624ecc05
/REVISION DSA/Hashing/Reduce Array size to half/priority_queue.cpp
003be9008ba9308e9a8a90e82783fe559d788d65
[]
no_license
chiragasawa/interview-prep
341be6be58159a75b91c3ca3ec572c371a7c2caf
0200ba04d9cc46f04c33f20276b77f49825ea091
refs/heads/main
2023-09-03T07:59:09.658756
2021-10-19T05:16:44
2021-10-19T05:16:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
823
cpp
#pragma GCC optimize("Os") #pragma GCC target("avx,avx2,fma") bool _=[]{ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);return false;}(); class Solution { public: int minSetSize(vector<int>& arr) { sort(arr.begin(),arr.end()); // sort the array to find the frequency of every element priority_queue<int> q; int cnt = 1,sum = 0,ans = 0; for(int i=1;i<arr.size();i++){ if(arr[i]==arr[i-1]) cnt++; else{ q.push(cnt); // push the entry into the priority queue cnt = 1; } } q.push(cnt); while(sum<arr.size()/2){ sum+=q.top(); ans++; q.pop(); } return ans; } };
[ "noreply@github.com" ]
noreply@github.com
f8d7b9141b61749606062b80d206fb3f3b704027
eccd725f7061acfbee363767c172e31bdc974af0
/[모의 SW 역량테스트] 미생물 격리/[모의 SW 역량테스트] 미생물 격리/main.cpp
6a4b400eb4b3453856d40aa17f5074f4ca3a7455
[]
no_license
ganzena/BOJ
59e50b1c6b569c2660f232690d34fe32b18e2557
1afbb214ea87ea908ba4ff5187f0e088b02238fe
refs/heads/master
2021-05-11T17:34:04.524603
2020-10-09T07:18:37
2020-10-09T07:18:37
117,800,706
0
0
null
null
null
null
UTF-8
C++
false
false
4,634
cpp
// // main.cpp // [모의 SW 역량테스트] 미생물 격리 // // Created by YOO TAEWOOK on 2018. 4. 11.. // Copyright © 2018년 YOO TAEWOOK. All rights reserved. // #include <iostream> #include <vector> #include <queue> #define MAX_SIZE 100 using namespace std; struct Micro{ int num; //미생물 갯수 int dir; //방향 int maximum; //현재 칸에 방문한 최대 미생물갯수 }; typedef pair<int, int> pii; queue<pii> lifeQ; //미생물 좌표 들어있는 큐 vector< vector<Micro> > map; //원본 맵 vector< vector<Micro> > copyMap; //원본맵에서 이동해올거임 vector< vector<Micro> > initMap; //미생물 하나도 없는 맵 vector<pii> dir = {pii(-1, 0), pii(1, 0), pii(0, -1), pii(0, 1)}; // 동서남북 int test, cellSize, timeLimit, groupNum, counter = 0; void init(); //초기화 void move(); //움직임 void count(); //미생물 수 세기 void print(); int reverseDir(int); //반대 방향으로 바꾸기 int main(int argc, const char * argv[]) { int cnt = 0; cin>>test; while(cnt < test){ init(); //초기화 while(timeLimit--){ //격리 시간만큼 움직임 move(); } count(); cnt++; printf("#%d %d\n", cnt, counter); } return 0; } void move(){ queue<pii> copyQ; // 원래 있는 미생물 큐에서 움직일때마다 카피큐로 들어감 while(!lifeQ.empty()){ int i = lifeQ.front().first; int j = lifeQ.front().second; int curDir = map[i][j].dir; int newI = i + dir.at(curDir).first; int newJ = j + dir.at(curDir).second; lifeQ.pop(); if(newI >= 0 && newJ >= 0 && newI < cellSize && newJ < cellSize){ //맵 안쪽에 들어왔을때 if(newI == 0 || newI == cellSize - 1 || newJ == 0 || newJ == cellSize - 1){// 약품이 있는 경우 copyMap[newI][newJ].num = map[i][j].num / 2;// 미생물 수가 반으로 줄고 copyMap[newI][newJ].dir = reverseDir(map[i][j].dir); //방향이 반대로 바뀐다. copyMap[newI][newJ].maximum = copyMap[newI][newJ].num; //현재 들어온 최대 미생물은 그대로 if(copyMap[newI][newJ].num == 0) continue; }else{//약품이 없는 경우 if(copyMap[newI][newJ].num != 0){ //이미 미생물이 있는 경우 if(copyMap[newI][newJ].maximum < map[i][j].num){ //새로 들어온 미생물 수가 더 많을 때 copyMap[newI][newJ].maximum = map[i][j].num; //현재 들어온 최대 수의 미생물로 업데이트 copyMap[newI][newJ].dir = map[i][j].dir; //방향 변경 } copyMap[newI][newJ].num += map[i][j].num; //미생물 수 더해준다 continue; }else{ //미생물이 없는 경우 copyMap[newI][newJ] = map[i][j]; } } } copyQ.push(pii(newI, newJ)); // 미생물이 움직인 좌표를 카피큐에 넣어줌 } for(int i = 0 ; i < cellSize ; i++){ for(int j = 0 ; j < cellSize ; j++){ copyMap[i][j].maximum = copyMap[i][j].num; //움직임이 끝났으므로 이 순간 최대로 들어왔던 미생물 수를 현재 미생물 수로 업데이트 } } lifeQ = copyQ; //다음 큐로 복사 map = copyMap; //움직인 맵으로 업데이트 copyMap = initMap; //미생물이 없는 빈 맵으로 업데이트 } void count(){ for(int i = 0 ; i < cellSize ; i++){ for(int j = 0 ; j < cellSize ; j++){ counter += map[i][j].num; } } } int reverseDir(int curDir){ if(curDir == 0){ return 1; }else if(curDir == 1){ return 0; }else if(curDir == 2){ return 3; }else if(curDir == 3){ return 2; } return -1; } void init(){//맵 초기화 cin>>cellSize>>timeLimit>>groupNum; map.assign(cellSize, vector<Micro>(cellSize, {0,-1,0})); copyMap = map; initMap = map; while(!lifeQ.empty()) //미생물큐 비워줌 lifeQ.pop(); while(groupNum--){ //미생물 수 받아줌 int i, j, microNum, curDir; //좌표, 좌표, 미생물 수 , 현재방향 cin>>i>>j>>microNum>>curDir; curDir--; map[i][j] = {microNum, curDir, microNum}; //맵에 미생물 정보 박아줌 lifeQ.push(pii(i, j)); //미생물이니까 미생물 큐에 넣어줌 } counter = 0; //카운터 초기화 }
[ "dbxodnr789@gmail.com" ]
dbxodnr789@gmail.com
626c347f4593924e7752a587372feb05297e1485
895c7fb6afe766dc6a418c9ae1f63f4a97f18d80
/server/src/RedPacket.h
f913e54819b1e6c2d13ab452584ae408ec7a19a7
[]
no_license
yellow0is0me/ChatRedPacket
01a9f0cd1d73055519601e189f3142376783864d
6dda37c8f086531926d14449d57ff1de29d18e2c
refs/heads/master
2020-08-16T03:09:57.939881
2019-10-18T02:23:41
2019-10-18T02:23:41
215,447,552
0
0
null
null
null
null
UTF-8
C++
false
false
2,699
h
// // Created by HuangZhongyang on 2019/10/14. // #include <iostream> #include <vector> #include "../sql/connection_pool.h" #include "cppconn/connection.h" #include "cppconn/resultset.h" #include "../../thrift/gen-cpp/ChatRedPacket_types.h" #ifndef CHATREDPACKET_REDPACKET_H #define CHATREDPACKET_REDPACKET_H #if DEBUG || _DEBUG #define LOG(x) std::cout << x #else #define LOG(x) #endif namespace crp { class RedPacketLine { public : RedPacketLine(int redPacketId, int userId, int receiveAmount); RedPacketLine(); RedPacketLine(int lId, int lRedPacketId, int lUserId, int lReceiveUserId, int lReceiveAmount, int lBackFlag, int lVersion); ~RedPacketLine() = default; int getId(); int getRedPacketId(); int getUserId(); int getReceiveUserId(); int getReceiveAmount(); void setReceiveAmount(int amount); int getBackFlag(); int getVersion(); static RedPacketLine getAndUpdateRedPacketLine(int redPacketId, int receiveUserId, sql::Connection *con); static vector<QueryResultRedPacketDto> queryRedPacketStatus(int redPacketId, sql::Connection *con); static vector<QueryResultReceiveUserDto> queryReceiveRedPacketByUser(int userId, sql::Connection *con); private: int l_id; int l_redPacketId; int l_userId; int l_receiveUserId; int l_receiveAmount; int l_backFlag; int l_version; }; class RedPacket { public: RedPacket(int redPacketId, int userId, int count, int amount, std::string &uniqueId); RedPacket(int userId, int count, int amount, std::string uniqueId); RedPacket(RedPacket &redPacket); ~RedPacket() = default; int getRedPacketId(); int getUserId(); int getCount(); int getAmount(); int getFinishFlag(); std::string getUniqueId(); int getVersion(); std::vector<RedPacketLine> &getList(); void setList(std::vector<RedPacketLine> &list); static void splitRedPacket(RedPacket *redPacket); int createRedPacket(sql::Connection *con); int createRedPacketLineList(sql::Connection *con); static vector<QueryResultUserDto> queryCreateRedPacketByUser(int userId, sql::Connection *con); protected: private: int m_redPacketId; int m_userId; int m_count; int m_amount; int m_finishFlag; std::string m_uniqueId; int m_version; std::vector<RedPacketLine> m_list; }; } #endif //CHATREDPACKET_REDPACKET_H
[ "zhongyhuang@tencent.com" ]
zhongyhuang@tencent.com
fb52e1492758c9acd840ea9a2b324876d3a18455
82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5
/Airfoil/wingMotion/wingMotion2D_pimpleFoam/0.03/phi
dab7ae0fc135e35754f6390795b89eca4d1fe274
[ "MIT" ]
permissive
ishantja/KUHPC
6355c61bf348974a7b81b4c6bf8ce56ac49ce111
74967d1b7e6c84fdadffafd1f7333bf533e7f387
refs/heads/main
2023-01-21T21:57:02.402186
2020-11-19T13:10:42
2020-11-19T13:10:42
312,429,902
0
0
null
null
null
null
UTF-8
C++
false
false
374,186
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class surfaceScalarField; location "0.03"; object phi; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 3 -1 0 0 0 0]; oriented oriented; internalField nonuniform List<scalar> 25162 ( 0.0004434992624 0.9162065007 0.0005561807307 0.9165873185 0.0006618252866 0.9165443554 0.0003219889983 0.9165685883 0.0004212479855 0.4583385143 0.000333474649 0.4583036719 0.0004129512314 -0.0004166231443 -0.0005209886116 0.4582782484 0.0005927401667 -0.0006616756812 0.4582261316 0.0007705440874 -0.0008885920582 0.4582030251 0.001015566922 -0.001159386551 0.4581825175 0.001311869007 -0.0014630951 0.4581878083 0.001610286823 -0.001750286925 0.4582239387 0.001857848246 -0.001936978011 0.458293068 0.001977409967 -0.001972789758 0.4583799026 0.001927887166 -0.001849025343 0.4584416048 0.001737420566 -0.001612138531 0.458471021 0.001476117499 -0.001326524964 0.4584715878 0.001189937164 -0.001055161036 0.4584737734 0.0008963876495 -0.0008365611951 0.458445545 0.0007410161935 -0.0006103181897 0.4584575428 0.0005027753657 -0.001756387742 0.9186157361 0.0002418437329 -0.0004511921375 -0.00109486705 0.9186884793 -8.292865552e-06 0.9157634258 0.9137917071 0.001220126449 0.9149863743 0.001945637279 0.9158618077 0.002239891094 0.9162501016 0.0006782347669 0.917027067 0.001103177645 0.4580472092 0.0008128898992 -0.4581818644 -0.4581629151 -0.0009965713624 0.4579333193 0.001226167112 -0.4580111385 -0.001509221023 0.457671837 0.0008682959378 0.0009802266276 -0.2289427152 -0.001051098883 0.2288537972 0.00114001686 -0.00151746766 -0.2288812172 0.2287644862 0.001634198605 -0.002101542723 -0.2288350605 0.2286860527 0.002250550506 -0.002769346243 -0.2288397469 0.2286784481 0.002930644977 -0.003399674333 -0.2289139097 0.2287818641 0.003531642373 -0.003709110544 -0.2290665727 0.2289688061 0.003807002728 -0.003920804038 -0.229236378 0.2292457831 0.003911398913 -0.003656652186 -0.2293461844 0.229450129 0.003552707635 -0.003138950474 -0.2294043316 0.2295599207 0.002983361396 -0.002522579256 -0.2294049715 0.2295703838 0.002357166941 -0.001935957512 -0.2293697207 0.2295158745 0.001789803743 -0.4588345703 -0.002684454676 0.4602118854 0.001307139621 -4.716253503e-05 0.460873505 -0.001599607449 -0.459226735 -0.001833198668 0.9180216069 0.0006269386758 0.001800389247 -0.001115713779 0.9179709944 0.0002969837602 0.9143507283 0.9140886909 0.001550937142 0.9134354371 0.004135428767 0.9132773161 0.006993557592 0.9133919728 0.002906195738 0.9147404278 0.006374001028 -0.4579901888 0.4577898515 0.003106532981 -0.4577224699 -0.003118737274 0.458337125 0.002504082251 -0.4572093441 -0.002626642033 0.4569318661 0.001405098558 0.001499021459 -0.2284224323 -0.001737420789 0.2282349159 0.001924937149 -0.2281830647 -0.002595301285 0.2279240553 0.002854310662 -0.227993608 -0.003581404206 0.2284673975 0.003105375273 -0.2294060394 -0.001431033566 0.2298025028 0.001026940254 -0.2293593162 -0.0003355670154 0.229426377 0.0002632824207 -0.2285310002 -0.0004696933115 0.2283532343 0.0006491270126 -0.2280126406 -0.001497149768 0.2276472295 0.001870255679 -0.2287281323 -0.003320965858 0.2281516164 0.003905158254 -0.2302604269 -0.005703797673 0.2304124795 0.005552387813 -0.2302728012 -0.004608051125 0.2305865296 0.004294322693 -0.003140253694 -0.2301777679 0.2308229654 0.002495056244 -0.4627630975 0.0005953607409 0.4614987692 0.0006689675084 -0.4599149325 -0.0008900099141 0.4598365582 0.0009683842111 -0.0001301626539 0.919620043 -0.0008879987588 -0.0005802747272 0.00144655246 0.9163942793 0.0006750838844 0.9151221969 0.9147637748 0.0005569807918 0.9128784563 0.001217848687 0.9126164482 0.002495131598 0.9121146899 0.003276186619 0.9117103758 0.002248997014 -0.4570065444 0.4565470481 0.003735682892 -0.4598439456 -0.004977000919 0.4567587762 0.008062170276 -0.4583524399 -0.009363986748 0.4598576967 0.002248204587 0.005610525395 -0.2275460966 -0.002262273135 0.2273262358 0.002482133935 -0.2273600672 -0.00316004166 0.2279010328 0.002614751742 -0.2299701856 -0.001325941565 0.2302064496 0.001070472097 -0.2302270567 -0.0009608594398 0.2300249416 0.001142943957 -0.2289718397 -0.002158159038 0.2285444926 0.002574970748 -0.227696783 -0.003720586222 0.2274278991 0.003992383435 -0.2270038565 -0.004393127392 0.2270027618 0.004409924503 -0.2271399499 -0.004390602277 0.2271235031 0.004429793366 -0.2288499311 -0.004869469688 0.228615511 0.005121622949 -0.2340789013 -0.001441049035 0.2377279183 -0.002207609691 -0.003170484735 -0.2315908049 0.2315672734 0.003194016164 -0.4613756656 -0.004833423497 0.4624554366 0.003753652521 -0.4604809363 -0.002652789939 0.4613794513 0.001754274926 0.002629351297 0.9193860241 -0.001281697717 -0.001113634635 0.001880885873 0.9171427447 0.0008709829174 0.9161320998 0.9156347577 0.0001690887261 0.9127093676 0.000399949132 0.9123855878 0.0008087673156 0.9117058717 0.001399518189 0.9105544389 0.0005651859955 -0.4562460812 0.4554291344 0.002216464987 -0.4552922111 -0.002673142719 0.4546219994 0.003343354405 -0.4537085511 -0.004257441589 0.4528746033 0.002687048275 0.002404341063 -0.2279073305 -0.004564956638 0.226100977 0.006371444537 -0.2296383565 -0.007974634682 0.2319080928 0.005681323766 -0.2298773781 -0.002422074899 0.2294743814 0.002790767961 -0.2281620088 -0.0050434169 0.2270906578 0.00608754072 -0.2261456457 -0.009732289306 0.2248967336 0.01096925161 -0.2263773437 -0.01383876493 0.2259045394 0.01431431658 -0.2278460236 -0.01396055011 0.2286309307 0.01319353778 -0.2283798186 -0.009445907116 0.2294475628 0.008410323811 -0.2369889482 0.002002955431 0.2332374111 0.0017719067 -0.2310104449 -0.005032695708 0.2310193843 0.005039674308 -0.004769463404 -0.2328210082 0.2333104538 0.004280017761 -0.4639699084 -0.005626621429 0.4654061822 0.004190347583 -0.4622143676 -0.003184284333 0.4630669944 0.002331657533 0.003388084614 0.9210432507 -0.00288722722 -0.002158084014 0.001861584247 0.9186692451 0.0008465192373 0.9171471648 0.9164812769 -0.0001194755573 0.9128288432 -0.0001326806467 0.9123987929 0.0001119821572 0.9114612089 0.000321961745 0.9100430206 0.0003014386989 -0.4545245737 0.4541830989 0.0006634365484 -0.4540720352 -0.001659023632 0.4532675158 0.002463543049 -0.4519890059 -0.003062888737 0.4509059824 0.002051488587 0.002094423695 -0.226070012 -0.002278741191 0.2260950845 0.00224290889 -0.2278486643 -0.002776721321 0.2273833811 0.003208742966 -0.2285179844 -0.007422275389 0.225844094 0.01006032242 -0.2239232153 -0.01576565018 0.2241767307 0.01549011449 -0.2198332185 -0.02118240134 0.2188668957 0.0221429649 -0.2238016103 -0.02825398541 0.2228774723 0.02917862373 -0.2339249021 -0.02487377241 0.2350732495 0.0237352013 -0.2403200376 -0.01198667725 0.2389065782 0.01342772622 -0.2323293675 -0.01144757341 0.2337545748 0.01005897374 -0.2323073381 -0.00682532478 0.2331616486 0.006001258643 -0.004064055991 -0.2347767413 0.2350514938 0.003794643793 -0.4666375895 -0.005834597486 0.4678771028 0.004595084244 -0.4635256359 -0.003691642654 0.4639362291 0.003281049474 0.002795127171 0.9230925936 -0.002332251222 -0.002512218779 0.001528890034 0.9199354822 0.0006282574168 0.9180477974 0.9171095344 -0.0005495806803 0.9133784239 -0.0009625505624 0.9128117627 -0.001210031584 0.9117086899 -5.367371399e-05 0.9097022857 -0.0008156229312 -0.4540366242 0.453712131 0.0002708195497 -0.4521859794 -0.0005273066812 0.4517904383 0.0009228477175 -0.4504689861 -0.001928427808 0.4500224439 0.001152240452 0.001223292227 -0.2255482199 -0.001365450892 0.2253134207 0.001583319751 -0.2259753908 -0.002886216355 0.224889161 0.003931047439 -0.2216675426 -0.006327761632 0.2205984582 0.007359782586 -0.2151241834 -0.0123287967 0.2121737676 0.01526621591 -0.2116387319 -0.03001354388 0.1076224389 0.1019906032 0.01390696413 0.01813226956 -0.02255703411 -0.1088076922 0.1082041949 0.02316053148 -0.0184106057 -0.2461952721 0.03524302675 -0.01881358401 0.1236248143 0.1245516207 -0.02614597368 -0.2435975752 0.2470437083 0.02271783783 -0.2395334843 -0.01411930489 0.2416740213 0.01201861595 -0.2363087534 -0.007767905657 0.2374256302 0.00667917638 -0.00429150247 -0.235860409 0.2363884928 0.00377440289 -0.4691040754 -0.004952742413 0.4697972638 0.004259553929 -0.4647999263 -0.003201651729 0.4656591067 0.002342471391 0.001568172395 0.9245313754 -0.001399017272 -0.001607936964 0.0007164893948 0.9207871652 0.0002570937241 0.9185071931 0.9173666281 -0.001002821359 0.9143812452 -0.00194854795 0.9137574893 -0.002692479927 0.9124526219 -0.001383492115 0.9103665927 -0.00197329482 -0.4536827977 0.4536828992 -0.001383593577 -0.4516099882 0.001435166625 0.4515092765 -0.001334454944 -0.44872021 0.001162546935 0.4484366827 -0.0003671317018 -0.0005104293907 -0.2243851954 -0.0004193429268 0.2240514166 0.000731250929 -0.2228808163 -0.001928101809 0.2225026786 0.002267942486 -0.2178933981 -0.003877823972 0.2172111463 0.0045297183 -0.2079044212 -0.00643809938 0.20738016 0.006958771464 -0.09599558618 -0.00469374482 0.09605757675 0.004631754247 -0.02643241247 -0.135128236 0.1377251766 0.02383547187 -0.02596564608 -0.2583054347 0.2619277015 0.02235070746 -0.2478503605 -0.01444527058 0.2498709891 0.01245396871 -0.2414101915 -0.007750706823 0.2427020085 0.006492268583 -0.003438158759 -0.2382940461 0.2388979423 0.002841958649 -0.4708655929 -0.002945322119 0.4717344433 0.002076471777 -0.4663398137 -0.001470102967 0.4669076876 0.0009022290686 -0.0004024188579 0.9251751718 0.0001342288085 -0.0003756063428 -0.0004843151131 0.9208690615 -0.0002906477966 0.9183135258 0.9170759803 -0.001450633861 0.9158318791 -0.002829863097 0.9151367186 -0.004281231954 0.9139039908 -0.002500598206 0.9116696706 -0.003083711671 -0.4539036575 0.4541155916 -0.002712532283 -0.4515994023 0.002961867166 0.4518357101 -0.003198174928 -0.4483185123 0.003416898785 0.448489507 -0.001673535085 -0.001913641523 -0.2235393795 0.001680863193 0.2233309653 -0.001478914013 -0.2210591444 0.0005601520465 0.2206909717 -0.000204000294 -0.2160331486 -0.0006818064035 0.2158759175 0.0008289220316 -0.2079340152 -0.0004355767344 0.2084735735 -0.0001045129403 -0.09962794413 0.00159453455 0.1001095611 -0.00207615157 -0.0119259216 -0.1506415382 0.1513359713 0.01123148842 -0.01350204391 -0.2701854549 0.2717005313 0.01198856569 -0.2549095807 -0.008085700077 0.2560359617 0.006968452978 -0.2457998989 -0.00398543633 0.2465695107 0.00322486208 -0.001338028075 -0.2405408834 0.2409856669 0.0008970111893 -0.4728564424 -0.0001081619575 0.473762986 -0.000798381739 -0.4671821143 0.001189780782 0.4673200339 -0.001327700396 -0.002763403297 0.9245749979 0.001900209695 0.001463367509 -0.00194655872 0.9200522169 -0.001009752693 0.9173767198 0.9160662276 -0.001858983813 0.9176908629 -0.003833045133 0.9171107799 -0.005753073183 0.9158240188 -0.003608930512 0.9137243607 -0.004198832706 -0.4545519816 0.4549850559 -0.004042004777 -0.4521689341 0.004543375265 0.4527437757 -0.005118216907 -0.4488425522 0.005674783676 0.4494620097 -0.002952743068 -0.003336431943 -0.2228908656 0.003141946456 0.2227916563 -0.003031493366 -0.2198969944 0.002483341758 0.2197232778 -0.002293296297 -0.2158365126 0.002012463582 0.2159355742 -0.002100660764 -0.2103420412 0.003160520752 0.210982821 -0.003800923531 -0.1022437386 0.002986550507 0.1024498014 -0.001584307083 -0.001608306195 0.004906894353 -0.1499391393 0.1490964066 -0.004064161666 0.002565927727 -0.2722835733 0.2713527068 -0.001635930892 -0.257547565 0.0004707243513 0.2575271054 -0.0004558340951 -0.2482043025 0.0009421652638 0.2484363322 -0.001181038101 0.001763129959 -0.2418177166 0.2419325159 -0.001881647946 -0.4737080642 0.003967419524 0.4731993165 -0.003458671807 -0.4671113687 0.003305332974 0.4674224401 -0.003616404416 -0.005370447921 0.9226773284 0.003924094339 0.003344023106 -0.003524926365 0.9182066954 -0.001783207055 0.9156350005 0.9142830205 -0.002345649612 0.9200365125 -0.004688344789 0.9194534751 -0.007187326445 0.9183230005 -0.004669899313 0.9164461081 -0.005239174565 -0.4556256243 0.4562645525 -0.005308827505 -0.4534036462 0.00608942477 0.4541389863 -0.006824764842 -0.4504288166 0.007680565082 0.45161981 -0.004323974438 -0.004534501072 -0.2226388416 0.004396085191 0.2226246452 -0.00435095308 -0.2194037328 0.004042662537 0.2193549793 -0.003948618772 -0.2164578713 0.004028743788 0.2166997508 -0.004239950854 -0.2129073452 0.005598581905 0.2135569672 -0.006247790612 -0.1036803843 0.004001027512 0.1038199241 -0.002058050665 -0.002082516616 0.01433764291 -0.141298299 0.1400374075 -0.01307675135 0.01461080071 -0.2663074133 0.264092528 -0.012401886 -0.2561435874 0.00827640602 0.2551856422 -0.007337347903 -0.2483899602 0.005960254618 0.2480546286 -0.005649738136 0.004991944904 -0.2416501491 0.2414391638 -0.004792983289 -0.4723569232 0.007845068074 0.4712210629 -0.006709207792 -0.4676051481 0.005695118338 0.4666882837 -0.004778253949 -0.007774330709 0.9197027921 0.005569312649 0.005179554285 -0.005051370394 0.9154837351 -0.002484058177 0.9130676882 0.9117989624 -0.002781197016 0.9228177096 -0.00558955618 0.9222618343 -0.008543780423 0.9212772247 -0.005615129353 0.9194718479 -0.005954390807 -0.4570689396 0.4578640132 -0.006410202991 -0.4550856972 0.007334057784 0.4560836796 -0.008332040188 -0.452753242 0.009426875577 0.4540979088 -0.005237177787 -0.005510907617 -0.222661286 0.005348896064 0.2226944497 -0.005328812227 -0.2193590814 0.005130674768 0.2194079212 -0.005104274544 -0.2176218667 0.005441566297 0.2179978807 -0.005768375097 -0.2156282341 0.007541433836 0.216384622 -0.00829774158 -0.1047699346 0.005160843634 0.1049205475 -0.002637852004 -0.002673604459 0.01769205089 -0.1314089359 0.1301537901 -0.01643690508 0.02054982655 -0.2571290269 0.2548819371 -0.01832160964 -0.2521223008 0.01317749063 0.2513150879 -0.01241414178 -0.2463940663 0.01023281192 0.2456243667 -0.009496049804 0.007635540619 -0.239917345 0.2392470394 -0.006980032451 -0.4698392501 0.01105611122 0.4682216123 -0.009438473448 -0.4657126816 0.008028004967 0.4645088062 -0.006824129606 -0.009913739824 0.9173934939 0.006363202414 0.005859835633 -0.006376717345 0.9119467126 -0.003093874009 0.9097848449 0.9087050884 -0.006844371171 0.9296620807 -0.01387182237 0.9292892855 -0.02101260883 0.9284180112 -0.006612239896 0.9270654966 -0.02199401766 -0.4588380189 0.4598211391 -0.007595360077 -0.4571191639 0.008675490214 0.4583389621 -0.009895288437 -0.4550622621 0.01111468501 0.4555653918 -0.005709774908 -0.005847800102 -0.2228831009 0.005636373796 0.2228312726 -0.005499034919 -0.2196461958 0.005574614709 0.2198305269 -0.005652966221 -0.2193233132 0.006430678983 0.21961958 -0.006661699972 -0.2189438336 0.008939857875 0.2199016357 -0.004924251877 -0.004973408065 -0.05322811279 0.003229774281 0.05328835439 -0.003290015881 -0.05764208738 0.006507727266 0.05715097141 -0.01267292144 0.006656310145 0.01611965424 -0.1226290564 0.241751777 -0.02841416447 0.01574021833 -0.1225684286 -0.2487215289 0.02154920553 0.2468408354 -0.01970622157 -0.2475461172 0.0157765697 0.2463295163 -0.01462759704 -0.2433940989 0.01205146812 0.2425763483 -0.01129295135 0.009043963113 -0.2367329908 0.2359220489 -0.008246506558 -0.4662855224 0.01316973877 0.4643564474 -0.01124066374 -0.4632679078 0.009778742672 0.4619209729 -0.00843180779 -0.01157721478 0.913957882 0.007719187976 0.007293638714 -0.007447504636 0.9078170024 -0.003662648835 0.9059999891 0.9050424395 -0.00328022669 0.9329423074 -0.006661534824 0.9326705936 -0.01025015443 0.9320066308 -0.007009045687 0.9309860568 -0.007161668931 -0.4628218614 0.4638554841 -0.008042668428 -0.4613536083 0.009199123886 0.4626012719 -0.01044678744 -0.457090078 0.01180953112 0.4587821711 -0.006622526348 -0.006814598082 -0.2229435835 0.007012741057 0.2231273053 -0.007108935803 -0.2202142493 0.007180086647 0.2203511998 -0.007203437715 -0.2216829912 0.00759743244 0.2220609386 -0.00790790308 -0.2234454115 0.009694290086 0.2245452613 -0.005399086588 -0.005395053287 -0.05516287991 0.007564262421 0.1107617138 -0.05511216001 -0.004017911194 -0.004033025153 -0.1107255488 0.008764260244 0.1106344157 -0.01717986133 0.008506734155 0.02759422786 -0.2349666529 0.2332526674 -0.02588254297 -0.2418587071 0.01810250323 0.2409330378 -0.01724439592 -0.2435418073 0.01516607023 0.243922069 -0.01563606291 -0.2402027566 0.01327470286 0.2390267059 -0.012154859 0.009339543351 -0.2331027149 0.2323304952 -0.008569065826 -0.4626817605 0.01392710688 0.4612015819 -0.01244692828 -0.4605619828 0.0110118362 0.4589680001 -0.009417853473 -0.01098603946 0.9097041247 0.007542341531 0.00769745522 -0.008111482641 0.9049424456 -0.003965662817 0.9018541693 0.9010767767 -0.003417583249 0.9363598907 -0.006934409782 0.9361874202 -0.01065186255 0.9357240836 -0.007287807227 0.9350108431 -0.007388841588 -0.4649681189 0.4660690891 -0.008388777412 -0.4638655694 0.009580191146 0.4651355785 -0.01085020017 -0.4609938482 0.01222605228 0.4634477544 -0.007312263288 -0.007351642357 -0.2242336549 0.00861940303 0.2248266244 -0.009140515608 -0.220963455 0.01020735194 0.2212813457 -0.01042178382 -0.2227165367 0.01075395356 0.2228352397 -0.01079937256 -0.2268257231 0.01089377193 0.2269113427 -0.01096505947 -0.113940455 0.01369476452 0.2272360632 -0.0134366777 -0.113553695 -0.2238455661 0.01907059316 0.2244437565 -0.01966878357 -0.2314292348 0.02058203837 0.2315367098 -0.02072254987 -0.2388002084 0.02005824647 0.2382461766 -0.01960047002 -0.2405534967 0.01777566866 0.2397055877 -0.0170400213 -0.2355924246 0.01447808265 0.2350820028 -0.01402122899 0.01060403027 -0.2316677393 0.2293796321 -0.008315923107 -0.4599142068 0.01553133835 0.4569741144 -0.01259124594 -0.4573493878 0.01128818062 0.4554807519 -0.009419544657 -0.01131394047 0.9055695385 0.007793829747 0.007654696993 -0.008128721607 0.9017572268 -0.00415297009 0.8978784178 0.8969238066 -0.003463213792 0.9398231045 -0.007016240782 0.9397404472 -0.01074814247 0.9394559853 -0.00736384441 0.9390181153 -0.00739157034 -0.4671679464 0.468272068 -0.008467965941 -0.466392608 0.009641438278 0.4676291898 -0.01087802006 -0.4655536868 0.01220349236 0.4669961255 -0.006845217512 -0.006800846932 -0.227407257 0.009169939726 0.228552165 -0.01027252762 -0.2228186274 0.01299431688 0.2235841059 -0.01367790833 -0.2233204049 0.01504241336 0.2236344294 -0.0152839567 -0.2269870398 0.01558670646 0.2270571464 -0.0156225378 -0.2251408835 0.01572970586 0.224148818 -0.01473574339 -0.2271120246 0.01817181649 0.2278480437 -0.01893109428 -0.2324072492 0.02067492369 0.2326547777 -0.02098595755 -0.2369198577 0.02088339309 0.2364416207 -0.02050397405 -0.2369383191 0.01841155583 0.235873065 -0.01743784486 -0.2315132229 0.01390029791 0.2301518585 -0.01257077961 0.01001363144 -0.2275908552 0.2270411352 -0.009463911395 -0.4564260228 0.01582844289 0.4539230003 -0.01332542046 -0.4527863984 0.01009853687 0.4513664541 -0.008678592574 -0.0104486225 0.899991479 0.008270746693 0.007755935333 -0.005678936091 0.8969875404 -0.004190340963 0.8963898227 0.8927334657 -0.003426904507 0.943250009 -0.006930475845 0.9432440185 -0.01058318249 0.943108692 -0.007259931582 0.9428990561 -0.007204191643 -0.4693327392 0.4703949508 -0.008322143158 -0.4688299628 0.009437616943 0.4699912019 -0.01059885605 -0.4683640803 0.01182643083 0.469664987 -0.006600091385 -0.00652724606 -0.2327957465 0.007319820861 0.2341783477 -0.008697430713 -0.2268189683 0.01328762081 0.2282135705 -0.01463455512 -0.2253744697 0.01792415391 0.2262604412 -0.01875532097 -0.2277552167 0.02053539125 0.2282048844 -0.0209528829 -0.2211530659 0.02111339188 0.2202809291 -0.02024290836 -0.229221946 0.02274251695 0.2294261335 -0.02298310727 -0.2327294568 0.0231674114 0.2324722655 -0.02297766533 -0.2344142782 0.02143752825 0.2334842169 -0.02058623066 -0.2320773168 0.01710018761 0.2306037096 -0.0156786972 -0.2261049403 0.01108670864 0.2255784523 -0.01056040842 0.009194356051 -0.2255789335 0.2251361377 -0.008751560193 -0.4504253914 0.01486097879 0.4488834942 -0.01331908158 -0.4499586413 0.01184472627 0.4485327441 -0.01041882905 -0.009584045836 0.8935426254 0.008904745154 0.007128154264 -0.005251256899 0.8926547514 -0.003809708163 0.894948274 0.8889237575 -0.003324067028 0.9465740761 -0.006709677058 0.9466296286 -0.01021025808 0.946609273 -0.007004063116 0.9465740212 -0.006881160042 -0.471398978 0.4723920475 -0.007997132627 -0.4711022332 0.009029478303 0.4721634126 -0.0100906577 -0.4708926419 0.01119545286 0.4720435578 -0.006223730196 -0.00612263861 -0.2354061603 0.006831439234 0.2357154376 -0.007140716542 -0.2331715335 0.0088274835 0.2349945966 -0.01064226498 -0.2298243292 0.01558435013 0.2312640745 -0.01699832878 -0.2302447112 0.02041234539 0.2311273397 -0.02127673509 -0.2185729672 0.02185389321 0.2183685287 -0.02165390082 -0.2294044817 0.02331190299 0.2292245129 -0.02316152502 -0.230836458 0.02184304349 0.2300439647 -0.02109538883 -0.22992743 0.01791010576 0.2285369377 -0.01655707091 -0.2256988255 0.01183355951 0.2245570262 -0.01069577923 -0.224368392 0.009684744759 0.2240204829 -0.009336835723 0.008283124217 -0.2239658599 0.2236124116 -0.007929675917 -0.4474592427 0.01364117166 0.4461492543 -0.01233118324 -0.447220938 0.01105001457 0.4459581473 -0.009787223852 -0.01239984594 0.889048783 0.008330249652 0.008563438684 -0.008139657799 0.8883945633 -0.001201738384 0.8880103545 0.8877220191 -0.003169946815 0.9497440229 -0.00638567165 0.9498453534 -0.009681655318 0.9499052567 -0.006633801214 0.94999069 -0.006464522962 -0.4733224768 0.4742335343 -0.007544858692 -0.4731677453 0.008482019685 0.4741185444 -0.009432818746 -0.4731176031 0.01040811046 0.4741175915 -0.005762598864 -0.00564549994 -0.2365645843 0.006279197422 0.2368230936 -0.006537706751 -0.236450734 0.007312397311 0.2367073136 -0.007568976989 -0.2359171712 0.008323418317 0.2362941466 -0.008699724498 -0.2341481054 0.01212229218 0.2352053353 -0.01317609273 -0.2187249384 0.01452432856 0.2190730419 -0.01487482301 -0.2283614445 0.01564964879 0.2280169612 -0.01531516269 -0.2272210714 0.01329742733 0.2262223001 -0.01230694795 -0.2246775033 0.01012261274 0.2245273607 -0.009972470195 -0.2237678707 0.009405244996 0.223546263 -0.009183637311 -0.2231137793 0.008448358426 0.2228513215 -0.008185900627 0.007368340427 -0.2226810909 0.222397068 -0.007084317539 -0.4449479641 0.01232556797 0.4438484322 -0.01122603607 -0.4448081019 0.01012793758 0.4437066428 -0.009026478549 -0.01154207097 0.8849827654 0.007666030593 0.007942057946 -0.007615960857 0.8844684532 -0.003780641737 0.8841750354 0.8839413774 -0.002979611124 0.952723634 -0.005990144933 0.9528558872 -0.009049194303 0.952964306 -0.006189172651 0.9531224665 -0.005991798087 -0.4750812917 0.4759052282 -0.007013109178 -0.475011488 0.007851960382 0.4758516108 -0.008692083137 -0.4750441248 0.009540773375 0.4758998769 -0.005252796786 -0.005143728765 -0.2375289069 0.005694358688 0.237743163 -0.005908614753 -0.2373913423 0.006535264512 0.2375935244 -0.006737446535 -0.2369243496 0.007315913914 0.2371057193 -0.007497283681 -0.2362279704 0.007989160678 0.2363484951 -0.008109685418 -0.2199847528 0.008059239463 0.2201959002 -0.008270386827 -0.2276449115 0.008795804259 0.227676717 -0.008827609817 -0.2257404837 0.008829777295 0.2257038607 -0.008793154323 -0.2241489065 0.008575126838 0.2240424939 -0.008468714203 -0.2229772623 0.008059909123 0.2228145505 -0.007897197345 -0.2221623484 0.007345616553 0.2219611949 -0.007144463081 0.00650330789 -0.2216543044 0.2214246151 -0.00627361859 -0.4428420715 0.01102195322 0.4419213994 -0.01010128111 -0.4427094061 0.009165669331 0.44175545 -0.008211713292 -0.01059199933 0.8813495567 0.006968792594 0.007256415492 -0.007022746021 0.8808991999 -0.003495778738 0.8806480682 0.8804455987 -0.002767005775 0.9554906398 -0.005551950079 0.9556408315 -0.008358065616 0.9557704216 -0.005702053519 0.9559595118 -0.005493057405 -0.4766674362 0.477406553 -0.006441170316 -0.4766364158 0.007184828135 0.477371885 -0.007920297358 -0.4766889715 0.008653059921 0.4774155126 -0.004736729867 -0.004642871176 -0.2383264387 0.005113870284 0.2385032106 -0.005290642171 -0.2381325398 0.00579640376 0.2382919226 -0.005955786595 -0.2375778127 0.006401176938 0.2377141492 -0.006537513384 -0.2366348326 0.006891457735 0.2367094126 -0.006966037708 -0.2208217309 0.00691500657 0.2210251144 -0.007118390022 -0.2277508792 0.007478755697 0.2277700032 -0.007497879676 -0.2256095252 0.007495091803 0.2255824398 -0.007468006393 -0.2237690975 0.007308220621 0.2236908112 -0.007229934299 -0.2223910549 0.006925690288 0.2222683263 -0.006802961653 -0.221428756 0.006380121868 0.2212719987 -0.0062233646 0.005714880847 -0.2208285723 0.2206428091 -0.005529117689 -0.4410776287 0.009790728036 0.4403041988 -0.00901729813 -0.440895303 0.008221028872 0.4400719071 -0.007397632962 -0.009615937224 0.8781281382 0.006276479824 0.006560875853 -0.006402182645 0.8776854453 -0.003194559127 0.8774404447 0.8772510395 -0.002543336221 0.958033976 -0.005093720272 0.9581912156 -0.007643273054 0.9583199743 -0.005199315445 0.9585061272 -0.004990573031 -0.4780846845 0.4787424475 -0.0058570784 -0.4780562246 0.006511239807 0.4786955579 -0.00715057317 -0.4780835112 0.007779489471 0.4786969723 -0.004235935687 -0.004157014963 -0.238983566 0.004557163816 0.2391290256 -0.004702623483 -0.2387171873 0.005110497096 0.238843023 -0.005236332818 -0.2380703904 0.005580899199 0.2381736458 -0.00568415455 -0.2368836936 0.005939995582 0.2369278342 -0.005984136165 -0.2216110913 0.005944429761 0.2217966644 -0.006130002857 -0.2278155985 0.006383525884 0.227827827 -0.006395754408 -0.2255121473 0.006392250596 0.2254920696 -0.006372172974 -0.2234869468 0.00625272591 0.2234279743 -0.00619375346 -0.2219453817 0.005962168546 0.2218509128 -0.005867699582 -0.2208539757 0.005537900662 0.220730076 -0.005414000984 0.005006302333 -0.2201610214 0.2200096188 -0.004854899716 -0.4395948973 0.008651622809 0.438944506 -0.008001231487 -0.4393314016 0.007323403045 0.4386217658 -0.006613767229 -0.008656652095 0.8752875191 0.005613591289 0.005883679902 -0.005784272595 0.8748130658 -0.002892382999 0.8745485551 0.8743586565 -0.002318443255 0.9603524193 -0.004635069826 0.9605078422 -0.006933941172 0.9606188457 -0.004702989488 0.9607759563 -0.004500780814 -0.4793411881 0.4799227417 -0.005284543124 -0.4792888616 0.005856768503 0.479842024 -0.006409930874 -0.4792593046 0.006948120076 0.4797761827 -0.003767931907 -0.003697066216 -0.2395239093 0.004038532301 0.2396433799 -0.004158002889 -0.2391792534 0.00448708887 0.2392788722 -0.004586707688 -0.2384444781 0.004854686858 0.2385232405 -0.004933449261 -0.2370269819 0.005117777898 0.2370505765 -0.00514137254 -0.2223191257 0.005114110108 0.2224808846 -0.005275868929 -0.2278590403 0.005457239962 0.2278683321 -0.005466531769 -0.2254410673 0.005466934768 0.2254269849 -0.005452852355 -0.2232735599 0.005364087994 0.2232287616 -0.005319289677 -0.2216005285 0.005140815855 0.2215268513 -0.005067138683 -0.22039771 0.004806706308 0.2202986881 -0.004707684481 0.004377691398 -0.219616689 0.2194923187 -0.004253321019 -0.4383473573 0.007618707353 0.4377991223 -0.00707047235 -0.4379846863 0.0064927 0.437373257 -0.005881270719 -0.007744685895 0.8727918512 0.004994818549 0.005245535282 -0.005191040798 0.8722594207 -0.002600675132 0.8719581894 0.8717579814 -0.002099336587 0.9624517559 -0.004189811802 0.9625983174 -0.006249946099 0.96267898 -0.004226302954 0.9627877519 -0.004035438712 -0.4804483767 0.4809598669 -0.004737793186 -0.4803543255 0.005236228553 0.4808311708 -0.005713073893 -0.4802508024 0.006172106033 0.4806863326 -0.003337228113 -0.003270408117 -0.2399673818 0.003563474195 0.2400654645 -0.003661556884 -0.2395454088 0.00392738235 0.2396245189 -0.004006492485 -0.2387304051 0.004216097721 0.2387908423 -0.004276534989 -0.2370989115 0.004408352178 0.2371087559 -0.004418196637 -0.2229256602 0.004397533303 0.2230595655 -0.004531438623 -0.2278955475 0.004669855634 0.2279048891 -0.004679197182 -0.2253925687 0.004685611413 0.2253833865 -0.004676429266 -0.2231112675 0.00461107768 0.2230770786 -0.004576888811 -0.2213306975 0.004438208128 0.2212727218 -0.004380232424 -0.2200319655 0.004172805405 0.2199521902 -0.004093030136 0.003823971033 -0.2191695495 0.219066726 -0.003721147527 -0.4372950455 0.006693258097 0.4368315966 -0.006229809162 -0.4368251114 0.005736510867 0.4362981067 -0.005209506221 -0.006897304176 0.8706042219 0.00442838489 0.004656548608 -0.004635552739 0.8699976693 -0.002326335304 0.869648972 0.8694316461 -0.001891467179 0.964343223 -0.003768602851 0.964475453 -0.005606345881 0.964516723 -0.003778969478 0.9645635232 -0.003603147752 -0.4814193481 0.4818673648 -0.004226986171 -0.4812720222 0.004659656269 0.4816818321 -0.0050694662 -0.4810858769 0.005459788378 0.4814521167 -0.00294329017 -0.002882738033 -0.2403312989 0.00313229884 0.2404117768 -0.003212776748 -0.2398364675 0.003427649231 0.2398994871 -0.003490668738 -0.2389502903 0.003655729722 0.2389970142 -0.003702453626 -0.2371242803 0.00379688621 0.2371259285 -0.003798534439 -0.223416764 0.003784109123 0.2235219058 -0.003889250941 -0.227934129 0.004006148862 0.2279439017 -0.004015921607 -0.2253609258 0.004024859264 0.2253546892 -0.004018622595 -0.2229869644 0.00396950533 0.2229605679 -0.003943108772 -0.2211178861 0.003834489632 0.2210719945 -0.003788598093 -0.2197368007 0.003622570548 0.2196722443 -0.003558014145 0.003337683815 -0.2188001718 0.2187148185 -0.003252330467 -0.4364048421 0.005872809235 0.4360119457 -0.005479912786 -0.4358261097 0.005057908628 0.4353713997 -0.004603198677 -0.006124997102 0.8686883123 0.003918565138 0.004122341546 -0.004126168262 0.8679988405 -0.002073879759 0.8675966835 0.8673577664 -0.001698393371 0.9660416164 -0.00337830572 0.9661553654 -0.005012549252 0.9661509665 -0.003367518776 0.9661265854 -0.003208092604 -0.4822678331 0.4826590816 -0.003758767246 -0.4820601956 0.004133366063 0.4824114703 -0.004484640774 -0.4817876435 0.004815591339 0.4820945874 -0.002587744667 -0.002534790626 -0.2406296234 0.002745179882 0.2406954473 -0.002811003813 -0.2400685153 0.00298429794 0.2401187496 -0.003034532255 -0.2391209389 0.003165185007 0.2391574106 -0.003201656731 -0.2371247244 0.00327102547 0.2371230499 -0.003269350925 -0.2238031475 0.003271798551 0.2238871038 -0.00335575485 -0.2279709222 0.003446505338 0.2279787986 -0.00345438177 -0.2253385675 0.003461843563 0.2253340357 -0.003457311702 -0.2228908017 0.003420107424 0.2228704731 -0.003399778787 -0.2209493983 0.003314989617 0.2209131664 -0.003278757757 -0.2194978233 0.003146037907 0.2194455867 -0.003093801344 0.002913179012 -0.2184939392 0.2184229538 -0.002842193585 -0.4356496267 0.0051521329 0.4353156816 -0.004818187844 -0.4349643398 0.0044563655 0.4345713331 -0.004063358812 -0.005431399648 0.867009985 0.00346485791 0.003644869006 -0.00366645768 0.8662338985 -0.001845391421 0.8657756172 0.8655123749 -0.001523168042 0.9675647844 -0.003024778132 0.9676569755 -0.004476556156 0.9676027446 -0.00299618885 0.9675011826 -0.002854964583 -0.4830073808 0.4833484396 -0.003337247644 -0.4827352937 0.003660982779 0.4830356462 -0.003961335268 -0.4823750828 0.004240948126 0.4826309141 -0.002271755572 -0.0022250239 -0.2408729659 0.002402015427 0.2409263222 -0.0024553718 -0.2402530103 0.002593589098 0.2402925736 -0.002633152424 -0.2392540556 0.002735339697 0.2392822386 -0.002763522681 -0.237116083 0.002814500296 0.2371133961 -0.002811813348 -0.2241104928 0.002837763976 0.2241742372 -0.002901508431 -0.2279991299 0.002961142724 0.2280050653 -0.002967078137 -0.2253236488 0.002975765475 0.2253214439 -0.002973560556 -0.2228178052 0.002948305431 0.2228029759 -0.002933476131 -0.2208170346 0.002869284309 0.220788935 -0.002841184713 -0.2193047047 0.002736148392 0.2192626458 -0.002694089521 0.00254625142 -0.2182397282 0.2181806527 -0.002487175855 -0.4350073649 0.004524874388 0.4347227901 -0.004240299599 -0.4342196118 0.003929245095 0.4338790895 -0.003588722761 -0.004818560319 0.865537122 0.003067597889 0.003223825466 -0.003258694284 0.8646740325 -0.001642256778 0.8641591797 0.8638701182 -0.001367472483 0.9689322569 -0.00271117649 0.9690006795 -0.004002489514 0.9688940576 -0.002667518834 0.9687116321 -0.002545420138 -0.4836512654 0.4839485317 -0.002964785112 -0.48331218 0.003244429107 0.4835685127 -0.003500761768 -0.4828637993 0.003736008171 0.4830752487 -0.001994444664 -0.001953012892 -0.2410689111 0.002100803835 0.2411112814 -0.002143174121 -0.2403964398 0.002249919697 0.2404261559 -0.002279635784 -0.2393549351 0.002354575984 0.2393750168 -0.002374657663 -0.2371050643 0.002408611447 0.2371022162 -0.002405763365 -0.224326564 0.002462548009 0.2243632052 -0.002499189278 -0.2280217977 0.002536776006 0.2280275493 -0.002542527553 -0.2253191009 0.002555384993 0.2253198942 -0.002556178318 -0.2227664848 0.002543675772 0.2227569591 -0.002534150028 -0.2207155104 0.002488573252 0.2206944564 -0.002467519277 -0.2191496823 0.00238589077 0.2191161092 -0.002352317677 0.002231673938 -0.2180286603 0.2179794766 -0.002182490189 -0.4344596487 0.003984413858 0.4342163281 -0.003741093197 -0.4335742423 0.003472710985 0.4332781328 -0.003176601465 -0.004284661589 0.8642401726 0.002724190029 0.002857420878 -0.002902347649 0.8632917185 -0.001464406129 0.8627212382 0.862405712 -0.001232388693 0.9701646456 -0.002439518882 0.9702078097 -0.003592994192 0.9700475329 -0.002383037041 0.9697823687 -0.002280693733 -0.4842123075 0.484472117 -0.00264284654 -0.4838044339 0.002884983374 0.4840233549 -0.003103904367 -0.4832668237 0.003301308778 0.4834400269 -0.001754723807 -0.00171978818 -0.2412226241 0.001839856063 0.2412550972 -0.001872329152 -0.2405002912 0.001949213905 0.2405199072 -0.001968829854 -0.2394205348 0.002012503233 0.2394299702 -0.002021938641 -0.2370914268 0.002028456844 0.2370856257 -0.002022655729 -0.2244307031 0.002118595611 0.2244407912 -0.002128683767 -0.2280497199 0.002152583049 0.2280605646 -0.002163427685 -0.2253285666 0.002190779114 0.2253341937 -0.002196406178 -0.222736319 0.002199025126 0.2227321082 -0.00219481429 -0.2206407349 0.002166253274 0.2206257619 -0.002151280329 -0.2190263556 0.002089251016 0.2189997723 -0.002062667724 0.001964320844 -0.2178532722 0.2178122279 -0.001923276526 -0.4339907929 0.003524753099 0.4337816086 -0.00331556877 -0.4330127438 0.003082710185 0.4327538445 -0.002823810857 -0.003826972783 0.863091859 0.002432090499 0.002543195895 -0.002596077306 0.862060823 -0.001311315937 0.8614364768 0.8610943961 -0.001118476612 0.9712831222 -0.002210852366 0.9713001854 -0.003249421638 0.9710861022 -0.00214391071 0.9707382347 -0.002061376917 -0.4847032274 0.4849319607 -0.002372644035 -0.4842253184 0.002583990341 0.4844137156 -0.002772387545 -0.4835964646 0.002938984923 0.4837380466 -0.001554419192 -0.001526147678 -0.2413387772 0.001621412896 0.2413628201 -0.001645455832 -0.2405635394 0.001695531978 0.2405733206 -0.001705313098 -0.239437751 0.001714293962 0.2394332351 -0.00170977804 -0.2370498848 0.001667478059 0.2370284675 -0.001646060778 -0.22445351 0.001714605533 0.2244603747 -0.001721470146 -0.2281141533 0.001791119325 0.2281416126 -0.001818578698 -0.2253620525 0.001879754445 0.2253752949 -0.001892996855 -0.2227273556 0.001913396348 0.2227282115 -0.001914252177 -0.2205886447 0.001900254985 0.2205785699 -0.001890180195 -0.2189287324 0.001843591533 0.2189076182 -0.001822477375 0.001741639686 -0.217706797 0.2176722056 -0.001707048367 -0.4335869335 0.003141168984 0.4334054192 -0.002959654728 -0.4325212358 0.002755780718 0.4322929543 -0.00252749925 -0.003442388007 0.8620665712 0.002188773442 0.002278902332 -0.002338133581 0.8609565686 -0.001182205556 0.8602805488 0.8599121905 -0.001025622505 0.9723087447 -0.002024845863 0.9722994088 -0.002971112474 0.9720323688 -0.001949085038 0.9716033065 -0.001887099297 -0.4851367985 0.4853411981 -0.00215348466 -0.4845888604 0.002341051894 0.4847541163 -0.002506307842 -0.4838672687 0.002650258039 0.4839865465 -0.001396612634 -0.001372923242 -0.2414247645 0.001448753511 0.241442948 -0.001466937046 -0.2405914108 0.001499206973 0.2405948252 -0.001502621332 -0.2394019808 0.00148883348 0.2393878237 -0.001474676288 -0.2369276968 0.001390902835 0.2368836402 -0.001346846227 -0.2245337921 0.001243303863 0.2245845 -0.001294011746 -0.2282557351 0.001505419305 0.2283016744 -0.001551358562 -0.2254247895 0.001640706265 0.2254431718 -0.001659088618 -0.222736319 0.001690510613 0.2227402141 -0.001694405629 -0.2205537003 0.001689363221 0.2205467668 -0.001682429771 -0.2188505702 0.00164623467 0.2188333056 -0.001628969987 0.001560971925 -0.2175826922 0.217553185 -0.001531464694 -0.4332352847 0.002828770004 0.4330751141 -0.002668599323 -0.4320869351 0.00248759456 0.4318831029 -0.002283762329 -0.003126931937 0.8611409893 0.001991649464 0.002060864364 -0.002126075691 0.8599557124 -0.001075942283 0.8592304154 0.8588362483 -0.0009534993284 0.9732622441 -0.001880918839 0.9732268283 -0.002756889789 0.9729083397 -0.001799099946 0.9724025019 -0.001756985195 -0.4855262774 0.4857125991 -0.001985421628 -0.484909985 0.002156134637 0.485059633 -0.00230578259 -0.4840984576 0.002435491971 0.4842055813 -0.001281384844 -0.001261230852 -0.2414925795 0.001324242218 0.2415083717 -0.001340034425 -0.2406028149 0.001368203208 0.2406059899 -0.001371378188 -0.2393461069 0.00136122938 0.2393350669 -0.001350189355 -0.2367430701 0.001281010188 0.2366998157 -0.001237755787 -0.2248208686 0.001027680391 0.2249211371 -0.00112794892 -0.2284391809 0.001378378842 0.2284786243 -0.001417822309 -0.2254962513 0.001491494807 0.2255115161 -0.001506759635 -0.222752277 0.001533392181 0.2227556937 -0.001536808926 -0.2205281345 0.001532736321 0.2205222141 -0.001526815971 -0.2187853057 0.001495488247 0.2187702433 -0.001480425829 0.001420720719 -0.2174752252 0.2174494824 -0.001394977885 -0.4329232826 0.002584432848 0.4327786196 -0.002439769863 -0.431697877 0.002275909755 0.43151283 -0.002090862858 -0.002877578236 0.8602914273 0.001838728014 0.001888412233 -0.001958069254 0.8590362034 -0.0009915762725 0.8582639224 0.857844672 -0.0009018520196 0.9741640961 -0.001777895662 0.9741028719 -0.002604791007 0.9737352351 -0.001687584606 0.9731523506 -0.0016670552 -0.4858834325 0.4860607208 -0.001864872947 -0.4852035267 0.00202591554 0.4853444679 -0.0021668567 -0.4843108406 0.002289351192 0.4844142039 -0.001203416075 -0.001189298375 -0.2415556879 0.001244305762 0.2415721117 -0.001260729539 -0.2406209416 0.00129553787 0.2406282389 -0.00130283514 -0.2393166929 0.001312811914 0.2393156832 -0.001311802221 -0.23659577 0.00128516953 0.2365695124 -0.001258911937 -0.2252435364 0.001112336112 0.2253494928 -0.001218292498 -0.2285632463 0.001366004323 0.2285803414 -0.00138309934 -0.2255456238 0.001416206417 0.2255528287 -0.00142341131 -0.2227618102 0.001434713187 0.2227621391 -0.001435042051 -0.2205037536 0.001425619559 0.2204970749 -0.001418940826 -0.2187265674 0.001387726063 0.2187122378 -0.001373396553 0.001317656609 -0.2173790376 0.2173553306 -0.001293949583 -0.432639711 0.002402526028 0.4325059211 -0.002268736152 -0.431342847 0.002116800828 0.4311705402 -0.001944494073 -0.002691365388 0.8595028931 0.001725754533 0.001754145079 -0.001832316764 0.8581771547 -0.0009285326053 0.8573601382 0.8569161394 -0.0008682806754 0.9750323768 -0.001712268061 0.9749468593 -0.002509724776 0.9745326918 -0.00162364737 0.9738837907 -0.001617517496 -0.4862246375 0.4863931915 -0.00179220137 -0.4854824494 0.001946973591 0.4856197855 -0.002084309789 -0.4845176738 0.002205404735 0.484622378 -0.001158460926 -0.00115164799 -0.2416241666 0.001201659415 0.2416427281 -0.001220220939 -0.240657637 0.001265447085 0.2406698356 -0.001277645702 -0.239325487 0.0013067116 0.2393321652 -0.001313389822 -0.2365070839 0.001311557425 0.2364895224 -0.001293995931 -0.2256468432 0.001214213769 0.2257393044 -0.001306675013 -0.2286069533 0.00138048067 0.2286097629 -0.001383290342 -0.225562987 0.001386346931 0.2255630045 -0.001386364379 -0.2227574223 0.001381777405 0.2227539471 -0.001378302223 -0.2204745982 0.001360806049 0.2204661572 -0.001352365055 -0.2186689991 0.001318115809 0.2186543192 -0.001303435923 0.001248316138 -0.2172881635 0.2172652108 -0.001225363407 -0.4323757688 0.002279508037 0.4322482983 -0.002152037587 -0.4310113054 0.002007874696 0.4308489664 -0.001845535662 -0.002563662314 0.8587456029 0.001653722454 0.001667230016 -0.001745184325 0.8573586767 -0.0008842250522 0.856499179 0.8560319143 -0.0008562930957 0.9758886699 -0.001685386124 0.9757759524 -0.00247166072 0.9753189663 -0.001597057795 0.9746071068 -0.001597919004 -0.4865533022 0.486714128 -0.001757883598 -0.4857567511 0.001913049934 0.4858951712 -0.002051470087 -0.4847293437 0.002175285808 0.4848388393 -0.001142316199 -0.00114246521 -0.2417019832 0.00118927902 0.241723043 -0.001210338777 -0.2407127612 0.001265442954 0.2407289498 -0.001281631575 -0.2393593488 0.001323751604 0.2393702892 -0.001334692042 -0.2364417274 0.001342830963 0.2364271068 -0.001328210332 -0.2260017911 0.001285957427 0.2260851845 -0.001369350829 -0.2286054963 0.001408515124 0.2286005168 -0.001403535654 -0.2255547163 0.001387707521 0.2255495218 -0.001382513067 -0.2227381028 0.001364962616 0.2227311183 -0.001357978094 -0.220437667 0.001332089664 0.2204270777 -0.001321500309 -0.2186088834 0.001282528051 0.2185931586 -0.001266803231 0.00120995355 -0.2171987605 0.2171756818 -0.001186874859 -0.4321222371 0.00221099418 0.4319968907 -0.002085647832 -0.4306957963 0.001944664868 0.430537237 -0.001786105579 -0.002496583156 0.8580105976 0.00161102398 0.001620564513 -0.001699561405 0.856561655 -0.0008631963618 0.8556628139 0.855168718 -0.0008543445259 -0.001692474614 -0.00248771926 -0.001607903182 -0.001595650199 -0.4868816384 0.4870427453 -0.001769010101 -0.4860337166 0.001921412177 0.4861746268 -0.002062322366 -0.4849526987 0.002190378804 0.4850676865 -0.001152136081 -0.001153230499 -0.2417896693 0.001202047688 0.2418131583 -0.001225536738 -0.2407822629 0.001288821827 0.2408014104 -0.001307969395 -0.2394073893 0.001358886031 0.2394209668 -0.001372463597 -0.2363869927 0.001386856103 0.2363748829 -0.001374746313 -0.226324539 0.001361304242 0.2264011623 -0.001437927616 -0.2285770175 0.001454588207 0.2285668007 -0.001444371391 -0.2255278726 0.001415555403 0.2255188965 -0.001406579286 -0.2227055199 0.001378908671 0.222695554 -0.001368942725 -0.2203919685 0.001335260908 0.2203791588 -0.001322451199 -0.2185438409 0.001277911708 0.2185266137 -0.001260684548 0.001200277311 -0.2171077502 0.2170838075 -0.001176334656 -0.4318715094 0.002192081779 0.4317457806 -0.002066353048 -0.4303877484 0.001926478269 0.4302352944 -0.001774024315 -0.002474412309 0.001583885368 0.001611371137 -0.001680954374 -0.0008479329666 0.001283840027 -0.001821096611 -0.09909068753 0.1535429048 0.01432444171 -0.1525168691 -0.007421347216 -0.007929130189 -0.1358779856 -0.02945725217 0.1389028253 0.002853730485 -0.1020272281 -0.001524885505 -0.00154535549 0.1520872583 -0.003134481408 -0.1529973714 0.002199470669 0.001845123792 0.1542181839 -0.006058955982 -0.006542244744 0.003877472359 -0.1035302959 -0.002004732647 -0.002022828158 0.1424226437 -0.01363471068 -0.1437515011 0.007548977411 0.007414590625 0.1510947501 0.003124062682 0.002775339866 0.004998839402 -0.1046258002 -0.002555252605 -0.002587721262 0.1318661873 -0.01747490597 -0.1330981399 0.01870685862 0.01568505613 0.1410752305 0.003185031179 -0.003254194124 -0.05315894984 -0.006732710993 0.02871618766 -0.02886801156 0.006884534889 0.006740231796 -0.01299131809 -0.05812371208 0.122103957 -0.01664742026 -0.1231602478 0.01770371098 0.01916538577 0.1303928524 0.003730556308 -0.003848627319 -0.05504480889 -0.009305974693 0.05462121881 -0.05459186098 0.009276616864 0.006739109027 0.0284848059 -0.01859536493 0.001375923708 -0.05138704747 -0.05142503481 0.2296140628 -0.02340572689 0.01407859061 0.01369260145 -0.1171665698 -0.1168129582 0.01712381694 0.1210997943 -0.006181606876 0.006466089947 -0.09628006926 -0.1058236578 -0.02131114113 0.1045777648 0.02652477504 -0.1327233788 -0.02967938188 -0.1212717491 -0.01982268486 0.1226838283 0.04061003262 0.008584006156 -0.04028498902 -0.008909049754 0.02207544299 -0.06804981815 -0.02405621018 0.07003058534 0.01336227943 -0.1496793759 0.2755141656 0.0174344883 -0.2730101557 -0.01993850099 -0.2615507123 -0.03017867923 0.26576473 0.002419861037 -0.003061228436 -0.2097004563 0.1025961795 -0.1023726613 0.002630212246 -0.1001485344 0.00117824744 0.1005648215 0.04730776481 0.0007446726418 -0.04738614983 -0.0006662876205 -0.04394241502 0.00333527809 -0.002765701898 0.04337283882 -0.002430046672 -0.150643574 0.2773266666 0.001307010339 -0.2780311234 -0.0006025327369 -0.01517834068 0.2771904426 0.005049990677 -0.005689411082 -0.2122674676 0.1040394051 -0.1038811859 0.003719253218 0.002780172795 0.1028025572 0.1030249049 0.003382462901 -0.1028458801 -0.001772465242 -0.001789022485 0.05116911112 -0.001127079115 -0.05094268109 0.002103222692 -0.001202573607 -0.05056516579 -0.0009271722367 0.00182154573 0.05058406186 -0.0009132695622 0.03843009394 -0.004235482433 -0.03877321279 0.004578601279 -0.04132645748 -0.001708964979 0.001255332141 0.04178009032 -0.01237797081 -0.1425550389 0.2693072335 -0.01203565896 -0.2719061681 0.01463432865 0.003879607719 0.2760130189 0.007067536783 -0.007811118651 -0.2148844515 0.1052156756 -0.1050606298 0.004843793561 0.00385263831 0.1041877943 0.1042255432 0.004396389836 -0.1040908569 -0.002252081508 -0.002278994635 0.02585909612 -0.001073926741 -0.02593007829 0.001144908919 -0.05103449265 -0.001059103674 0.002204290149 0.05102985497 -0.001140548792 0.06947668741 -0.01102516966 -0.06995677676 0.01150525901 -0.07302681394 -0.01010461321 0.07258435462 0.005343845523 0.005203227012 0.008658908258 -0.2180318726 -0.004731036618 -0.004839832653 0.106864579 -0.003164983226 -0.1065733965 0.006058831882 0.004995804767 0.1053807145 0.0527811547 0.002854067356 -0.002906803704 -0.05272841836 0.02750894156 -0.002085628038 -0.02726253357 0.001839220042 -0.02675791148 -0.001066375348 0.001233413058 0.02659087377 0.008185478672 0.03065325305 -0.007847107542 -0.03099162418 0.0631420719 -0.01144175309 -0.06357557592 0.0118752571 -0.06623697653 -0.01165004638 0.01201449127 0.06587253163 0.02560655168 -0.2221454107 -0.02157282032 -0.00533373213 0.1104833433 -0.003710479311 -0.1100743746 0.007032066952 -0.003249420244 0.006212868728 0.1071309048 0.05380421906 0.003437264197 -0.003516861339 -0.05372462192 0.026370538 -0.0003501955635 -0.02693496372 0.0009146212893 -0.02804269384 -0.0008672429048 0.001267652167 0.02764228458 0.007241057332 -0.007510883993 -0.1136706283 -0.01045621549 0.1110504021 -0.1107083922 0.01011420554 0.008821707089 0.05456377197 -0.04670264219 0.001945636734 0.0472354365 -0.001248458257 -0.001229972783 0.04965275704 0.002045964437 -0.04933695776 -0.001257295659 -0.001104468052 -0.002574976212 -0.04308495674 0.04322345176 0.002436481192 0.001772495623 -0.002324789422 -0.0461503484 0.0038691533 -0.04427317372 -0.003538394599 0.008259976405 -0.008484292887 0.0408343491 -0.1472846748 0.02105523606 0.1494009314 -0.01138475543 -0.01178673721 -0.07949131638 -0.00790802082 0.08026778303 0.01539153059 0.04280974287 0.004004440064 -0.04294502963 -0.0008932748019 -0.0505409452 0.001788773732 -0.0009197195159 -0.001712179627 -0.05008246886 0.001666129264 0.05012851923 -0.1012345732 0.002403004226 0.1015294834 -0.002697914361 -0.04991144759 0.04990805443 -0.0008212805482 -0.0008875059189 0.02536607494 -0.0008932090371 -0.02536614071 0.001955848448 0.04979808223 -0.001136552163 -0.0009646214765 0.001698083768 -0.04991697529 -0.0008295401661 -0.000863015906 -0.001529105411 -0.04085847167 0.001061119602 0.0001047881159 2.561186913e-05 0.04717736482 -0.07692285892 0.001581932621 -0.001577969145 0.07691889545 -0.04597056117 0.04580213226 0.000273217031 0.04077433232 -0.001769078308 -0.04053435943 0.0425201799 0.003624841057 0.0007379957681 -0.0459638843 0.002260218537 -0.07701945174 -0.00216362572 -0.001065631136 -0.05108442274 0.002154411341 -0.001038850113 -0.001185282359 0.00208372652 0.05128756928 -0.001016902317 0.003506782891 0.103206 -0.001834493419 -0.001853384525 -0.02593414184 0.02599278016 -0.001243920674 0.02532211956 -0.001000379136 -0.02538737156 0.02534173626 -0.0009028335517 -0.001335466204 -0.02572575475 -0.009914367024 -0.07349691751 0.005211790463 0.005172680124 -0.004108552744 0.004278875521 0.03825977116 -0.1476373605 -0.01059568023 0.14635338 0.006052788828 0.005826871883 -0.0764566245 0.004092796314 0.07596353586 -0.007708260419 0.07280722502 -0.009478095325 -0.07324349672 0.0409991404 -0.001933773056 0.004081256663 -0.007439687653 -0.03879005101 -0.03854362493 -0.009413385814 -0.1487995087 0.005401200473 0.005174333574 -0.001108031466 -0.02689493819 0.001245058174 -0.001082697025 0.001162315782 0.02577947736 0.004538366708 0.1043582035 -0.002319723933 -0.002351303129 -0.02605349296 0.02590225114 -0.000931455201 0.02737183442 -0.0008633534096 -0.02761651248 0.02529197819 -0.001028962299 -0.0009241018602 -0.02620331784 -0.01156017426 -0.06668165427 0.012004852 -0.01126050008 0.01163910311 0.06909808438 -0.001407023026 -0.02828378721 0.001648116396 -0.001514720697 0.001572402122 0.02745126014 0.002905604419 0.05282712168 -0.002951571392 -0.02952830747 -0.007505328151 0.00712561633 0.0299080193 -0.02802525594 0.02782522026 -0.001314685015 0.02743752196 -0.0008925288307 -0.02795201615 0.02709569849 -0.0007902394166 -0.002327232685 -0.02778365129 -0.02996718574 0.00862435694 0.1206983368 -0.02110849509 -0.1219251468 0.011085012 0.01125029313 -0.01132122116 0.0116984744 0.06276481866 0.03059903601 -0.007451111106 -0.003431673682 0.04594953215 0.004484165414 -0.02509628102 -0.02190574287 -0.0002751688397 0.0007269777953 0.02591872904 0.003466559309 0.05388338291 -0.00354572317 -0.05340888506 -0.009836387246 0.01020032027 0.05304495204 -0.02244029836 0.02226222469 -9.709516964e-05 0.02902212766 -0.005947931145 -0.0132255339 -0.0132803363 0.02694301654 -0.0003727374895 -0.02283691832 4.642439606e-05 -0.01013571246 -0.05387879078 0.01060561819 -0.001670195013 0.001253519367 -0.207518259 -0.09970259792 0.0008379035565 -0.09752403069 -0.004635810536 0.0974660964 0.09727927915 -0.001026635918 0.0004372494939 -0.09668989272 0.04689397878 -0.04642696394 0.001305480789 -0.04389745667 -0.002696317651 0.04401879812 0.02923684428 0.01198076008 -0.04134726207 0.0001296577007 0.01743078971 -0.0340149586 -0.01923482898 0.03581899787 0.00223866006 -0.002568061093 -0.1009051722 -0.05004852941 0.001664144315 -0.04944304709 0.001782214463 0.04961668108 0.04535016424 -0.007681712219 -0.03750616093 -0.000162291095 -0.01631283398 -0.1325710079 0.2580356201 -0.01957640234 -0.2609358601 0.0224706761 0.01731029746 0.2666069371 0.0393743431 -0.007522654996 -0.03166899719 -0.0001826909105 0.06424073386 -0.0132509856 -0.06480864612 0.006940925824 0.006877972039 -0.0330007712 -0.006620774451 0.006709544499 0.03291200115 0.05456424364 -0.009830869143 -0.05486908695 0.1174530911 -0.01783043851 -0.1178479201 0.01822526758 -0.02041025321 0.1195124853 0.01071136972 0.01088473505 -0.04920667925 0.001809596597 0.001514868613 0.0473247469 -0.0001724302054 0.09789014683 -0.000438437461 -0.02170710532 5.630037057e-05 0.02156412603 8.667892252e-05 -0.001565735281 -0.01825984045 0.0182007398 0.001624835937 0.002297833067 0.02090656164 -0.002464252579 -0.02074014213 -0.06820917211 0.06980706049 0.02047755461 -0.008833097383 0.01640464275 -0.0784788556 0.02293911906 -0.1447479363 -0.01259294721 -0.01288291038 -0.006668512398 -0.03313782718 0.00680556838 -0.03506737214 -0.006826254661 0.007270453189 0.03462317361 -0.1370978291 -0.01664048213 0.01799009344 0.1357482178 -0.06947869813 0.06901976705 -0.01080156899 0.06623984963 -0.01114297789 -0.06665704601 0.07238984022 -0.009687228406 -0.01066131412 -0.06984255367 -0.01619121606 -0.1384477899 0.01754117685 -0.03029458918 -0.007267115578 0.007639678795 0.02992202597 0.005785171163 0.02630577506 -0.006152001729 -0.02593894449 0.0550862382 -0.01201809311 -0.05555026759 0.006213179032 0.006268943467 0.01603009736 -0.05246020443 -0.0148684625 0.05129856957 -0.02272267694 -0.09774902118 0.04799817327 0.04663774539 0.01296096658 0.01287481289 -0.003442521778 0.004040422354 -0.04368285731 0.02186934704 -0.06619431835 -0.02372484684 0.03105179182 -0.1200424877 -0.0159396541 -0.01732723025 0.06049666396 0.06176091631 -0.05589180101 0.05496807903 0.01695381934 0.02935886162 -0.0001220173387 -0.07567262839 0.02040063611 0.07745017848 -0.01098982234 -0.01118836388 -0.03982072947 0.05431982087 0.01485977022 -0.03391341206 0.0353691901 0.01597501166 0.01365337044 -0.04149333983 0.0211784344 -0.07386912882 -0.0114091706 -0.01157276337 -0.03976300754 0.00243829818 -0.002442056255 0.03976676561 0.002128386429 -0.04004871658 -0.001842677384 -0.03901911242 -0.003222101497 0.003127782455 0.03911343147 -0.003452626544 -0.03931048956 0.003744003682 -0.006135005388 0.03602394034 -0.03509898512 0.005210050169 -0.009652585232 0.02212354974 0.03287919973 -0.07123397467 -0.01074187507 0.01111311091 0.07086273883 -0.03790415045 0.03604097407 -0.007789408852 0.03593279969 -0.006342149605 -0.03572565548 -0.03400967878 0.03803515823 -0.00380293184 -0.0002225476124 -0.006837413855 -0.03874844881 -0.01058499273 -0.07164274543 0.00553026847 0.00546349503 -0.001186750233 -0.0253449946 0.001341750179 0.02518999466 -0.05199014617 0.00288545063 0.05201440524 -0.002909709703 0.05213364099 0.003032002077 -0.003070390484 -0.05209525258 0.06235000317 -0.01297949528 -0.06283578997 0.01346528209 -0.01322039522 0.06371781132 0.006878781681 0.006864536079 0.01934518624 0.02916190569 -0.009132748824 -0.02440002337 -0.001258295787 0.001695922059 0.02396239709 -0.05253797784 0.003642565536 0.05262314925 -0.003727736943 0.05283528622 0.003732519869 -0.05278887201 -0.001912306609 -0.001866627478 -0.05248899194 0.003449828676 0.05250221555 -0.003463052289 0.003586356713 -0.003613137191 -0.05251119736 -0.0008171236963 -0.02487445286 0.001291553189 0.005640952669 -0.02125465857 0.02999343365 -0.01437972775 -1.123985474e-05 -0.02182853935 0.0001326738906 0.04835108983 0.002072223171 -0.04804407713 -0.001200536665 -0.00117869921 0.02397508325 -0.02434416429 0.0003578411859 -0.02327072565 0.00390273679 0.02500894153 0.02408296074 -0.02628675068 0.002252527162 -4.873722234e-05 0.0004291951558 0.02360218847 0.002076909414 0.04863088748 -0.001175564387 -0.001181142672 0.04434759576 1.393265466e-05 -0.0006036703758 -0.04375785803 0.02133252928 -0.02090953409 0.001874837884 -0.01930530192 -0.001203227022 0.01894279367 -0.004001990397 -0.02250862699 0.003239891748 -0.002924484684 0.002268635508 0.02198837845 0.0007047197073 0.04497145284 -0.00132857679 0.02147984453 -0.003497767573 -0.003891722889 -0.02136492607 -0.04205419266 0.005817567455 -0.005629291952 0.04186591716 0.006206590219 -0.042061903 -0.006198879885 0.02534055411 0.0008961935243 -0.0009864959189 -0.02525025171 -0.02190793628 0.0001188405402 0.02182598425 -3.688851618e-05 0.0009288297393 0.0253748921 -0.0009631677289 0.04990614637 0.001781856389 -0.04988624594 -0.0009314363523 -0.0008703204647 0.02250205018 -0.02255563364 0.000125123575 -7.154011556e-05 0.0007647463813 0.02331306789 5.14646558e-06 -0.02198206291 0.0001210365772 -4.690994301e-05 0.0001290572454 0.02242508567 -5.209273523e-05 0.00174955469 0.04992009608 -0.0009013055287 -0.0008621988796 -0.03859097943 -0.001004247036 0.000886289616 0.03870893685 -0.001349853638 -0.03875540982 0.001514284026 0.03944986655 -0.001084843465 -0.03971487673 0.07908070711 -0.0005968361385 -0.07932558433 0.0008417133563 -0.07989277949 0.001275408403 -0.001130331045 0.07974770213 0.07802348267 -0.002782441764 -0.07831123123 0.003070190319 -0.001172967548 0.00141800904 0.07883566561 0.03944601888 -0.001000399359 0.04046920223 0.002250569669 -0.04059138547 0.08005578373 0.004751203362 -0.08003305731 -0.004773929777 -0.07971816641 0.006991645042 -0.007148389419 0.07987491079 0.001941411707 -0.08000154133 -0.001832649865 0.004034151704 -0.004044769928 0.08006640195 0.04060727836 0.002300222043 0.0258101176 0.0009755974497 -0.0009494919856 -0.02583622306 0.001044929586 0.0257250417 -0.0009598536898 0.02524266494 0.0009748131288 -0.0009607882538 -0.02525668982 0.0009793635136 0.02523483312 -0.0009715316928 -0.03753892091 -0.004637220917 0.004810061414 0.03736608041 -0.001883906591 -0.03206397275 -6.179943765e-05 -0.004661979179 -0.0377532178 0.004876276069 0.02513189509 0.001393940879 -0.001451964948 -0.02507387102 0.001649055242 0.02544694803 -0.001964108188 0.02690394343 0.001317189863 -0.001532026794 -0.0266891065 0.001206651607 0.02695308744 -0.001255795608 0.006127592832 0.03609640683 -0.006291199974 0.006916707656 0.03455983376 -0.006613707742 -0.03486283367 0.06786471372 -0.01142935616 -0.06827733313 0.01184197558 -0.03555567989 0.007405015405 0.005475791981 0.03667574119 -0.02529340861 -0.001179191157 0.001454806904 0.02501779286 -0.05223478441 0.003271210408 0.05227899017 -0.003315416163 0.003425065341 -0.003480004188 -0.05243405309 0.003073709918 0.05216394041 -0.003104009338 0.003217700026 -0.00324787981 -0.05220460463 -0.0009926107832 -0.02561939714 0.001318599318 -0.007319935484 -0.03060834247 0.007633688775 0.02496253907 -0.0005526072072 -0.02540254265 0.02452064119 -0.0007372932775 0.02506646583 0.001132336244 -0.0008448460306 -0.02535395604 0.02479896474 -0.0009192491442 0.01956713151 -0.0002219452711 0.03009595549 -0.007099644022 -0.03031624695 0.06072103041 -0.01250384615 -0.06111134361 0.01289415935 -0.01289966689 0.01324400084 0.06200566921 0.003756641554 0.05285615792 -0.001901976575 -0.001875536674 0.05314089102 0.01434635002 -0.05299972002 -0.005478271274 -0.009009249748 -0.01226924746 0.02514697249 -0.02450746469 0.01162973967 0.01195406352 -0.01549606368 -0.0087272473 -0.005253677835 0.02411989573 -0.02409952385 0.005233305957 -0.02486794873 -0.00605426191 0.00610127857 0.02482093208 0.02389243985 -0.0002801143864 -0.02442944916 0.0302090154 -0.02403609094 -0.0003877532929 -0.006200311603 -0.0249778881 0.006310250971 -0.007253952848 0.0144687636 0.02299420465 0.0231564993 -0.0005223552281 -0.01171460762 0.01207531727 0.05472552855 0.02602552578 -0.006973703574 0.02529835662 -0.006022310533 -0.02547635769 0.03215876298 -0.03591253573 0.003753772747 0.03424143283 -0.006991850514 -0.03434037374 0.007090791423 -0.03202260952 -0.006965473501 0.006674416262 0.03231366676 0.01025219156 -0.01055224724 -0.226519229 0.2277746988 0.01297734926 -0.007333165016 -0.1130746299 -0.1131031957 0.007127003277 0.1109206024 0.1123163925 0.007620097284 -0.008147023519 -0.1117894663 -0.008172359217 0.0943155323 -0.09446018995 0.008317016863 -0.003372970244 0.004543429242 0.04477907315 -0.02207066166 0.0109392512 -0.1113741909 -0.1117961802 -0.02159462464 0.2291061504 -0.229150447 0.02163254504 0.2314404688 0.01449884007 0.01126898181 -0.002235091111 -0.0143415477 0.01647554494 0.0001010938875 -0.007675721637 -0.0330393495 0.00869246162 -0.0304139563 -0.007712243399 0.006498293447 0.03162790625 0.0591191368 -0.01178455898 -0.05951511465 0.01218053683 -0.01238455225 0.01279211427 0.06031346839 0.0298639861 -0.007035146196 0.1144084546 -0.01220123148 -0.1144433033 0.01223608014 -0.01698955262 0.01691055439 0.1175320893 0.05413644934 -0.009408592947 0.02095572145 -0.04843172928 -0.01937187316 0.02288436118 0.02396351981 -0.04502570909 -0.01357580294 0.04140080174 0.0172007103 -0.002631203528 0.002663465461 -0.01829210237 0.01673047046 -0.03244937906 -0.01829605002 0.02318539779 -0.05678188636 -0.0245094787 0.05810596728 -0.05237129105 0.02355363381 0.02406752192 0.02570585679 -0.04454794043 0.003718672449 -0.005587792501 0.04641706048 -0.03961733552 0.03892404698 0.000821356354 -0.0001280678118 0.03792281934 0.0005460002436 -0.03814291421 -0.0003259053728 0.04151757539 0.002504259326 -0.04210361864 -0.001918216083 -0.03979482643 -0.003687386402 0.003819658024 0.0396625548 -0.04167665584 0.003488029696 0.04205904045 -0.003870414299 0.03703456023 0.006843544391 -0.005928649784 -0.03794945484 -0.03660911316 0.03674536279 -3.232247455e-05 -0.0001039271526 0.04232035466 -0.003499139856 -0.03861925003 -0.0002019647755 0.04199281773 -0.00297287152 -0.04230716975 0.003287223538 -0.02626031388 0.001175768683 0.02629119681 -0.05162310824 0.002235254758 0.05164976059 -0.00226190711 0.05171320661 0.002334769176 -0.002355607138 -0.05169236865 -0.05150508766 0.002123230165 0.05153621104 -0.002154353543 0.002211590227 -0.002239491012 -0.05159520745 -0.0261455107 0.001202386683 -0.05192631653 0.002693647038 0.05194358268 -0.00271091319 0.00283079189 -0.002845404617 -0.05197553344 -0.02551598954 0.001303331179 -0.004821062287 -0.02649803665 0.003754844208 0.02756425473 -0.02655039847 0.00209540005 0.02685975375 -0.002404755326 0.02680250598 0.001806582557 -0.001651678567 -0.02695740997 0.03131583824 -0.005666680823 0.08977720964 -0.0112623465 -0.08668722235 -0.01353391018 0.1097862239 -0.1094447298 0.01319241611 -0.04249415676 0.005667275447 -0.006590748375 0.04341762969 -0.03845577165 -0.0267640178 0.05421384265 0.01100594681 0.001757943437 -0.04120261316 -0.000172665794 0.04138870233 0.006118161074 -0.04130027319 0.0784633314 0.01092462343 -0.07800262216 -0.01138533267 -0.07614139798 0.01315778511 -0.0138539856 0.07683759846 0.007773334076 -0.07950212882 -0.007989371671 0.01012788583 -0.01053362782 0.07886907339 0.04138547889 0.005820790894 -0.03961124238 -0.001161077201 0.0007755943926 0.03999672519 -0.0361072242 0.03620723893 0.0001334171812 -0.0002334319152 9.923269133e-05 -0.03645518728 -0.0002531585768 0.04392019515 -0.002716431035 -0.04589191576 0.004688151651 -0.05122121258 -0.0009957259465 0.002085672662 0.05117619544 -0.0513724941 0.002014373911 0.05140891675 -0.002050796552 0.00209284346 -0.002125014718 -0.0514729164 0.02445208527 -0.0003627849233 -0.02473788951 0.0006485891646 -0.0003520638816 -0.02555647654 0.0006221337331 0.02528640668 -0.02556362486 0.001039857245 0.02549933658 -0.0009755689718 0.003635364163 0.03770477842 -0.004305582347 0.002561921475 0.04090203747 -0.003490789471 -0.03997316948 0.03833691333 -0.004233286809 -0.03829036762 0.004186741106 0.07457710132 0.004554069621 -0.008613088736 -0.07518006138 -0.007366231258 0.07358237752 -0.07397264714 0.007756500882 -0.07513063303 -0.006496522454 0.006877743173 0.07474941231 0.03910947287 -0.00320736233 -0.03935473708 0.07664386212 -0.004662481136 -0.07703594431 0.005054563326 -0.003287148767 0.003586789967 0.07772384147 -0.006143347317 -0.07552876002 0.00654147431 -0.00506460246 0.005419780065 0.07628868451 0.03907567446 -0.00318830309 -0.02544869788 0.00145195028 0.02564580284 -0.05180040674 0.00254953008 0.05181946989 -0.002568593229 0.002651796626 -0.002673248477 -0.05190486468 0.002370987896 0.05173405622 -0.002391837508 0.00248877504 -0.002511896184 -0.05177728559 -0.02539123499 0.001336477989 0.02543886521 0.001105496368 -0.0009488549071 -0.02559550667 0.02486028197 -9.701759341e-05 -0.02514202548 0.0003787611085 -0.02588830813 -0.0001482148329 0.0003987500822 0.02563777288 0.02313564469 -0.02329194166 0.0001746511805 -1.835420685e-05 -0.02671975436 0.002296474504 0.02440697361 1.63062425e-05 -0.02750951251 0.001686872663 0.02779976515 -0.001977125299 0.02552288343 0.001324911978 -0.001511293832 -0.02533650158 0.02365290628 -0.002231487699 -0.02360988512 0.002188466536 -0.0004216797029 0.0007160963922 0.02415766858 -0.000140592166 -0.02614040934 0.0003926933752 -0.0001250473129 -0.02690275682 0.0003825841993 0.02664521994 -0.02664610201 0.0010567091 0.02650043248 -0.0009110395729 -0.01147480641 0.01182793075 0.06751158938 0.03430359612 -0.006570017023 0.06598942476 0.006657398706 -0.01287372433 -0.06644161154 0.01816552767 -0.01770007706 -0.0004654506066 0.03048535325 -0.007354689303 -0.03074835639 0.007617692445 0.0266795894 0.000933639127 -0.0005346277227 -0.0270786008 -0.02499577127 0.004327023723 0.02689332173 -0.006224574185 0.02622860803 0.001065008091 -0.0007742904024 -0.02651932572 0.02262479449 -0.02274665417 0.0001095851243 1.227455509e-05 0.0001072944077 0.02298916482 3.918546597e-05 -0.01968112141 0.004490432672 0.01514416041 4.652832272e-05 -0.0247550517 0.002632864571 0.02564932286 -0.003527135734 -0.03874779593 -0.009596823971 0.01952168816 0.02882293174 -0.03136834156 0.02355956771 0.03295574636 0.02450294149 0.0544209877 -0.0192296481 -0.006553390059 0.004211011031 0.05467953399 -0.004333408909 -0.05455713611 0.001764542382 0.02660131492 -0.001563351316 0.02600565329 0.001891269123 -0.001731821278 -0.02616510114 -0.0005048354648 0.02446017799 -0.02494996345 0.0009946209283 0.02509064234 -0.005846547625 0.04870629009 0.003965144125 -0.008941702914 -0.04898340913 0.05134657381 -0.008322731685 -0.05210240394 0.009078561811 0.02147954757 -0.02176716593 -0.0002172171058 0.02378625344 -0.00461860454 -0.01824684901 -0.0009207998857 -0.00901994064 0.05070016215 -0.05041464991 0.008734428404 -0.002749775033 0.002751756199 0.02411791457 -0.01941427803 0.02563167108 0.0005353998297 -0.0001368004808 -0.02603027042 -0.03088868513 0.02602837255 3.925030037e-05 -0.03894620159 0.01749076636 -0.01791484249 0.03937027773 -0.0296147244 0.03848216886 0.02329131851 0.01766104317 -0.03822456707 -0.0183826777 -0.02895187729 -0.002295374503 0.03141801847 -0.0001707666826 -0.006138759604 -0.02259845813 -0.0002146595542 0.03321449259 -0.007297926637 -0.03339674595 0.007480179995 -0.007483861972 0.008059608426 0.03366568638 0.02003988349 -0.0197795675 -0.0002603159839 0.01947691682 0.001404110652 -0.02094725835 6.623088031e-05 0.004396038486 0.01501687482 6.400351682e-05 0.01902086816 0.0005911565842 -0.0009607743334 -0.01865125041 0.0167782668 -0.02067502253 0.001648304607 0.002248451129 -0.01559474042 -0.001773445753 0.01513309508 0.002251970211 0.01270355192 0.001822744674 0.00116440277 0.01955549256 -0.001699027171 0.006712256761 -0.03161237163 0.03284645573 -0.007946340858 0.009350490055 0.03313724847 -0.00814727086 -0.03434046766 0.03376865688 -0.006753340601 -0.03408149396 0.007066177684 -0.04159014484 0.0205266786 -0.02132767933 0.0282010012 -0.0001610651019 0.00721659941 -0.02674220402 0.02777209003 -0.008246485412 0.0066297371 0.0284081609 -0.007141108502 -0.0278967895 0.0292757449 -0.007024794069 -0.02934495712 0.007094006286 0.02667690222 -0.02513057533 0.005083410219 -0.01837022791 0.02595231414 -0.0003654868152 0.02805488817 -0.007760202177 -0.02817043008 0.007875744091 -0.005913371996 0.004164794522 0.02842547969 0.03041475267 -0.006665352744 -0.02336742992 -0.0003819699986 0.0273629668 -0.007049317325 -0.02747846745 0.007164817978 -0.007576133759 0.007591529834 0.02803949209 0.02727726175 -0.006387783979 -0.02736439287 0.006474915102 -0.006841730275 0.006938867934 0.02726582914 0.01455174072 0.02275172745 -0.006888715498 0.02964868007 -0.02935314388 -0.0002955361892 0.04351625948 0.01182763356 -0.04246804991 -0.01287584313 -0.04015896656 0.0124213337 -0.01318182384 0.0409194567 0.0452751856 0.01102106493 -0.04334099489 -0.01295525564 0.011099212 -0.01141716377 0.04383421125 0.01257504749 -0.03950522641 -0.01322878765 -0.03704141483 0.01323350472 -0.0140435943 0.03785150441 -0.03935118668 0.04051408528 0.01632786775 -0.03664013389 0.03581438222 0.001116078157 -0.0002903264892 0.02555171371 -0.02549640926 -5.53044391e-05 0.004227809485 -0.04219820137 -0.006577548546 0.002329738853 -0.001781712566 0.04096954911 0.0376458019 0.0004791366802 -0.0002021192415 0.0005965725973 -0.03708605138 -0.0001506551032 0.0004423627204 -0.03696167452 0.03833509649 -0.001815784692 0.001076332919 -0.002189787668 -0.04056320109 -0.003446170893 -0.03964316668 0.003294511143 0.03717176544 -0.03576340772 -0.0003320248001 -0.03372365848 0.03469893543 -0.000532914228 0.03507191626 -0.0346776944 0.006449322528 0.04103347489 -0.0003736797565 -0.002151416825 -0.03146148631 -0.0001107553451 -0.003517370038 0.004363046093 0.04114714168 0.05005830164 -0.00754056264 -0.0001973843451 -0.003544092279 -0.03556899906 -0.03742634404 -0.006985115559 0.007600314498 0.0368111451 -0.005440000542 -0.0360337404 0.004047396899 0.03724742629 -0.006035579594 -0.03665184724 0.03556706225 -0.005966710833 -0.03566101007 0.006060658651 -0.03651736767 -0.005833849427 0.006252136459 0.03609908063 0.03371203814 -0.006872671468 -0.03297812627 0.03658241636 -0.00582739772 -0.036917183 0.006162164353 -0.03762896752 -0.00532550357 0.005177413365 0.03777705772 -0.005784101894 -0.03674467476 0.006011408992 -0.005632021662 0.00561934012 0.03659509791 0.03574476692 -0.004328103289 0.007523899215 0.03258448179 -0.007661125425 -0.03244725558 0.0321459941 -0.007115784963 -0.03239537936 0.007365170229 -0.007342365694 0.007700154872 0.03285670342 -0.0257560673 0.001874485807 0.02577120003 -0.001889618536 0.002063801235 -0.002463068969 -0.02615113074 -0.006066235993 -0.02471549974 0.004283699087 -0.0005643384927 -0.02624123705 0.001018942153 0.02578663339 -0.02611667208 0.001729047441 0.02599654674 -0.001608922095 0.001808758035 -0.00174174072 -0.02582308461 0.02234132124 0.0006707185502 -0.02311768704 0.0001056472499 0.0002041286371 0.02207241428 6.477832594e-05 -0.02557311411 0.000670352189 0.02510689056 -0.02468116848 0.001322320375 0.02461742693 -0.001258578824 0.02422275658 0.001204188027 -0.001064316387 -0.02436262822 -0.02364907806 0.001682330781 0.02407834675 -0.002111599469 0.001419762446 -0.001460558497 -0.02464037243 -0.02607061376 0.001168218202 -0.02185206097 0.004407058582 0.02184104088 -0.02440797263 0.001790759618 0.0250236879 -0.002406474881 0.02677907203 0.001497449146 -0.001820632388 -0.02645588879 0.001209483439 0.02410339045 -0.001090117309 0.001576553709 -0.001883473948 -0.02410105239 -0.0225992776 0.002151327278 -0.001086166553 -0.02356951452 0.001473304439 0.02318237664 -0.02271264219 0.001381215047 0.02283503489 -0.00150360774 0.001616209965 -0.002016238487 -0.02324904954 0.02372173976 0.001842236524 -0.001635232602 -0.02392874367 0.02303342014 -0.0003978469367 -0.002114668783 -0.04457013512 0.04277972798 0.003905075928 -0.007941295481 0.008378939817 -0.03889341599 0.005756325487 -0.04186608902 -0.006384393229 0.02676775477 -0.03450574043 -0.0002033098201 -0.04070881234 0.03870591853 -0.0001117749802 3.736967167e-06 0.03963970144 0.005817855834 -0.04218247365 -0.003275083624 0.009490386743 -0.01029759662 0.04608239547 0.004824143675 -0.04537922952 -0.0001537264903 0.008718304631 -0.007814092305 0.03873548911 -0.0411170502 0.007208029435 -0.007496902902 0.04140592366 -0.0413236491 0.04169874787 0.008343205865 0.005657378031 -0.04540336948 -0.02103837213 0.001500045233 0.01955602149 -1.769458598e-05 -0.0237004398 0.00164836455 0.02409974916 -0.002047673901 0.02756532635 0.002259741263 -0.003303337388 -0.02652173023 -0.02409244495 0.0007113932988 0.02392247427 -0.0005414226197 0.001150074369 -0.001189878331 -0.02366063584 -0.02152650785 0.0004638074057 2.432830655e-05 -0.02752459933 0.0005675175571 0.02730092307 -0.000343841301 0.02662367389 0.0005384054629 -0.0003087874503 -0.0268532919 0.001684335599 0.02796243006 -0.002081439306 0.0006301335952 -0.0004104439648 -0.02774428896 -0.02281512393 0.0001152147147 0.02274989722 -4.998800391e-05 -0.02632363581 0.0007814561009 0.02612452615 -0.0005823464405 0.02553931004 0.0007422896602 -0.0005538307253 -0.02572776897 0.001201091656 0.02681467396 -0.00123669358 0.0008108429494 -0.0006157956492 -0.02651868311 -0.02290093624 0.0001199323204 -3.412001384e-05 -0.02220474791 7.241208224e-05 0.02210961811 2.271771841e-05 -0.02480555461 0.0007004145667 0.02462109122 -0.0005159511763 0.0006998639065 -0.0005264842446 -0.02426582462 0.0007355191562 0.02535496954 -0.0005511786556 0.0007068018967 -0.0005220586966 -0.02499029781 -0.02229355283 8.119533157e-05 7.609589151e-06 -0.0354667642 0.03577686513 -1.503802692e-05 -0.0002950628998 0.0002035674672 -0.03591847013 -0.0003923215327 -0.001044471451 -0.03926239462 0.0006956236878 -0.003204203301 0.005669700579 0.04145469787 0.02496352649 -0.02467973703 -0.0002837894586 -0.0005802411721 -0.03483933993 -4.718309704e-05 -0.02717175289 0.0003724570359 0.02692926529 -0.0001299694285 0.02622036645 0.0003196396102 -8.202034987e-05 -0.02645798571 -0.02808094574 0.002143204439 0.02817048302 -0.002232741714 0.0004469644475 -0.0001681370483 -0.0274505803 -0.02528692319 0.02505792114 -0.0001230618321 0.02433085093 -0.0001037505281 -0.02458988532 0.0003201241042 0.02598225472 -8.201237418e-05 0.0003482796166 -0.0001202008901 -0.02551500192 -0.02560782108 0.0005404331341 0.02534749352 -0.0002801055792 0.02455583793 0.0005649781701 -0.0002980946065 -0.0248227215 0.0005285911572 0.02637481048 -0.0002797277443 0.0005344311148 -0.0002765974778 -0.02586565471 -0.02348472673 0.002128298389 0.02353963048 -0.00218320213 0.003398995099 -0.004694677111 -0.02678526373 0.0005905968252 0.02428536356 -0.0003201224535 0.00127083513 -0.001033467082 -0.02372209478 0.0386738685 -0.005837125274 -0.03938068739 0.00654394416 -0.03730049539 -0.005110743514 0.004326889523 0.03808434938 -0.005157195729 -0.03721448189 0.004742710105 -0.006217852109 0.007342548239 0.03754917237 0.02302033128 -0.02263599647 -0.0003843348123 0.04101399848 -0.0396619661 0.001209889097 0.001970728435 0.03673655199 -0.006506125423 -0.03797680007 0.007182430101 -0.004234796554 0.003632844501 0.04161595053 -0.0005096091304 0.0232036283 -0.0238172322 0.001123213027 -9.409888089e-05 0.0003888265568 0.02456555429 0.001121090915 0.02528698492 -0.0009692106311 -0.02232252989 0.02219969623 2.873477871e-05 0.02131757472 -0.02183074564 3.561791597e-06 -0.02274337595 0.02263688038 -4.171925874e-05 -0.02245268154 3.313406007e-05 0.001531404718 0.01979658556 -1.041555596e-05 0.001951952655 -0.00259007921 -0.02687138595 -0.03149570372 0.00479694624 -2.099687524e-05 0.002287212844 0.02244782018 -0.002276463745 0.02824345313 -0.02816567642 0.002198687034 -0.004581910872 0.003410449442 0.02482436771 0.001461599403 0.02582680454 -0.00176552051 -0.0223576585 0.02235680745 -0.004581059812 0.02451248054 -0.02678569648 -3.247807005e-06 0.02403766068 -0.0001284894562 -0.001512675385 -0.02307647082 -0.02316584719 0.02305828017 -1.748029325e-05 -0.02284910309 -3.486503002e-05 0.0007990671067 0.0237214892 -8.075769641e-06 0.0001317519163 -0.02328173181 -1.586729159e-05 0.001058477144 -0.0009224550206 -0.02678212413 -0.02717329393 0.0004022890261 0.001187142023 0.02785537821 -0.02104350354 -0.0002841757923 -0.0353394126 -0.006507987022 0.006258331797 0.03558906783 -0.0276553195 0.0308185417 -0.003058261852 -0.0001049603436 -0.009658141481 -0.04299773369 -0.006072883103 -0.02143718354 -0.000145252857 -0.006897548249 -0.03562698797 0.007185123619 -0.01797032448 -0.0003999034357 -0.007219567347 0.007223498331 0.03048142226 0.02387277991 -0.005440816848 -0.0002664353933 -0.008851964303 -0.0358605642 0.0009005929563 0.02626392138 -0.0004849249378 0.003699154392 -0.004683927092 -0.02401099857 0.02211160749 -0.02224837829 0.0001602559318 -2.348513219e-05 0.0001207540403 0.02250480219 -7.61733583e-07 0.00107608602 0.02593654122 -0.0007840192127 0.00207881273 -0.002334542442 -0.02449932199 -0.0212248421 0.001473580216 7.014047844e-05 0.0001989416184 0.02195335257 -4.068669432e-05 -0.03101810294 -0.0002057937685 -0.001274990078 0.001719417772 0.0240157503 0.002226264765 0.02594041255 -0.002161024019 0.02679580228 0.00951812064 -0.009995551384 -0.02631837154 -0.002408924655 0.02909458788 -0.02311167369 -0.003573989544 -0.005257035036 0.01022021579 0.01882307269 0.02060253541 -0.0003979779112 -0.01941433414 0.02538012793 -0.005257538485 -0.0007082553052 0.02159256859 -0.005276564647 -0.02093460848 0.02441827154 -0.005446481498 -0.02460007142 0.005628281382 0.0252443187 -0.0001769861201 0.01535982923 -0.0008080885076 -0.02474959025 -0.006732755232 0.006598884627 0.02488346085 -0.004898735566 -0.01382614671 -0.0006894518631 -0.006991338039 -0.02475697773 0.00699872552 -0.0148037118 -0.02215120932 0.0238577953 -0.1324612563 0.02693344209 -0.2571222551 -0.03135945691 -0.2443983494 -0.02982450796 0.2480877966 -0.02578750089 0.02876397808 -0.002764730281 -0.0002117469111 -0.02009373619 -0.005522754268 -0.0001710104293 -0.01575749022 -0.1235189865 -0.02160566947 0.2482104669 -0.2502750338 0.02364981344 0.02328234877 0.2552941989 -0.01979092923 -0.0003028069592 -0.006795870597 0.006984948557 0.02908666694 0.02924225062 -0.00674746172 0.02869088665 -0.007406702391 -0.02904438644 0.06587799564 -0.01128819238 0.1265961014 -0.02147465197 -0.1280132743 0.01145007176 -0.01762507997 0.1266478271 -0.1278801881 0.01885744099 0.01446465394 -0.02065039947 -0.01365304438 0.01983878991 -0.02099852183 -0.007514568164 0.01947942534 0.009033664647 -0.004460173845 0.005068958949 -0.01495033279 0.02177447053 -0.02766820707 -0.0300187992 0.01663601919 -0.02607818523 -0.01723653382 0.02667869987 -0.02295461378 0.02160457668 0.01581469104 -0.1258486075 0.02503087326 -0.02676766037 0.1275853946 -0.1226661932 0.1236889132 0.03002907187 0.02024678899 -0.06658661407 0.009361067691 -0.03935166319 -0.009647388876 0.03963798437 -0.04215438716 0.04263906466 0.0106145345 0.04441993046 0.009980416603 -0.04337928213 -0.05065883966 -0.001006811106 0.001950591608 0.05069442268 -0.0510155754 0.001807503416 0.05106320297 -0.001855130978 0.05121471657 0.00188900316 -0.001938328221 -0.05116539151 0.001680312889 -0.0508152609 0.05086723004 -0.001732282026 0.001773776034 -0.001826190706 -0.05096316073 -0.0009689221124 -0.05063244139 0.00191733697 0.03101402106 -0.007015373916 -0.0312290505 0.007230403353 -0.007063933991 0.007454254104 0.03175567398 0.03156124159 -0.008573583762 0.006602311524 0.06552631498 -0.0127599762 0.06432688351 -0.01278856791 -0.06478930121 0.06469238359 -0.01160096412 -0.06510965077 0.0120182313 -0.02646935399 0.001771605783 0.0263676393 -0.001669891094 0.001667413324 -0.001592742281 -0.02619134312 -0.02670239811 0.0009965608971 0.04487153689 0.009038780316 0.007069015253 -0.04257480852 0.007403947509 -0.04101089967 -0.007510098034 0.001915658436 0.05126237026 -0.001963312126 0.001993644813 -0.002027182591 -0.05133895633 -0.001050901681 -0.05126065387 0.002065940422 0.0260382382 0.0009590202454 -0.0009753086057 -0.02602194984 0.02774001396 -0.02800168909 0.0007086395731 -0.02795597694 0.001789689848 0.02830949153 -0.02694269949 0.002385717659 -0.02422321045 0.00176582492 0.02458568392 -0.02527911088 0.001097947487 0.02538656638 -0.001205402982 -0.02598762347 0.003110220984 0.02720442621 -0.02607046036 0.001850980038 0.02621520691 -0.001995726589 0.001689832762 -0.001740514902 -0.02641867185 0.02837049557 -0.02691119001 0.005666310776 -0.006258982799 0.00457377852 0.03005569985 -0.006995157978 0.03064419448 -0.02408975978 0.02323899297 -4.176202243e-05 0.002380925551 -0.02645625739 -1.442794179e-05 -0.0280188865 0.002447795902 0.008119161904 -0.02976647588 -0.00831987177 0.03648244107 -0.02810704568 -0.0002562334947 0.018195608 0.03060460497 -0.00718983617 -0.0307694581 0.03050972556 -0.006803266443 -0.03060147842 0.006895019306 -0.006946228332 0.007070492737 0.03088975666 0.02202870575 0.0001771606787 5.635826155e-05 -0.0001381164544 0.02647119458 0.0006099384232 -0.02292696267 0.0226787507 0.0001100955127 -6.070718013e-05 -0.02372839948 0.0008811548101 1.032635649e-05 -0.05469135897 0.01375667035 -0.0004125734443 -0.03345677741 -0.003820501592 -0.0002288819286 -0.03302105344 0.03308503579 -0.007586637346 0.004929642219 -0.03127284979 -0.006677845865 -0.02650018255 -0.0002391724258 -0.03301002215 0.03300027872 -0.006955730072 0.03373675639 -0.006916078847 -0.03381252806 0.03263921554 -0.006604792568 -0.03273478609 0.006700363125 0.0002304760518 0.0214270011 -9.335112397e-05 0.01385291572 -0.07535601448 -0.01463829922 -0.07254552373 0.01560796053 -0.01663095946 0.07356852266 -0.07463706851 0.07607744053 0.01896026409 -0.00666691008 0.006972508707 0.03346305825 0.03310976265 -0.00768475758 -0.00724879079 -0.03343695299 -0.01730457954 0.02442258191 -0.006777217663 -0.0003407847117 -0.01677015619 -0.0005344233535 -0.01605027751 0.01658204957 -0.0005317720589 -0.03194007742 0.02395362808 -0.008063828171 -0.007173900672 -0.000343594834 -0.062372237 0.01992763293 -0.0207138349 0.06315843898 -0.05902752754 0.05956617341 0.02264675192 0.01555823431 -0.0327411759 0.01314280453 0.04157301608 -0.0003959997405 -0.04220739196 0.04198801389 0.0133621826 -0.04129411897 0.01394649723 -0.0282358333 0.02821183689 2.399640573e-05 0.00918618706 -0.03731433723 -0.0001076831286 0.007166050658 -0.03517535368 -0.007089682099 0.03318636844 -0.03216267985 0.006142362066 0.00301590618 0.03538051243 0.02226244678 -0.0001388970372 -0.006420625489 0.02873186011 -4.878783722e-05 0.0338354389 -0.007376864651 -0.006026017991 0.03489735693 -0.03501529579 0.006143956857 -0.00591890802 0.006112298302 0.03537367197 0.03685613537 -0.006593824633 -0.007516869881 0.04589053661 -0.0003385084978 -0.03887324731 0.03790702777 -0.006550650341 -0.03795229011 -0.00472388904 -0.007521983681 0.006044977656 0.03063891171 -0.03215638245 0.0323863086 -0.00775190983 -0.008204095482 0.02535779345 0.004516991931 0.000118648271 -0.01465887236 0.0002791446168 -1.338179199e-05 -0.02196676588 0.0001516083196 0.0003676344216 -0.0247251805 0.02453063693 -0.02494972107 0.0007867185618 0.02412092968 0.0007675484344 0.004682857485 -0.03092771627 -4.189189099e-05 0.0273653937 -0.02608868463 0.003406148417 0.02745975142 0.002158169442 0.02372994096 0.0008201838798 -0.000628382338 0.02336838722 0.0009899360786 0.02320428218 -0.02164847282 0.001043611525 0.02191526784 -0.001310406555 0.001249503712 -0.0014943754 -0.02246777049 -0.02355031144 0.001823033453 -0.00488027188 0.02294785877 0.003412257641 -0.01987118178 0.02793970157 -0.01294879167 -0.003279005741 -0.02008994361 -0.01876397048 0.0002133752317 0.001105101578 -0.02010098494 0.0002319128821 -0.02222992984 0.001970105351 0.01512688863 -0.01503915816 -8.773047254e-05 0.03108493026 -0.02191810727 0.005960065639 0.02647255277 0.004634228656 -2.185115886e-05 0.02360098952 -0.02380137942 0.0003192304394 -0.0001336622525 0.02336717381 0.0003674779577 0.02173169498 -3.937298131e-05 0.02289393072 -0.02296506366 0.0001331647342 -6.203179586e-05 0.02284232797 0.0001226127993 -7.101004769e-05 0.02427889173 0.002222649067 -2.898802663e-05 0.02353133983 0.0007821733864 -3.462148837e-05 7.473976169e-05 -0.02266195717 3.158376893e-05 0.02553414286 -0.02576020678 0.0003008036777 0.02534076675 0.0003184996837 0.02708221701 0.001142280787 -0.0002614466775 0.02671645418 0.0006272095067 0.02303765751 1.396370642e-05 0.0001255472489 -0.02204467199 -6.293817287e-05 0.02398796494 -0.02416814958 0.0003057318891 0.0003076221008 0.02514813566 0.0003216883394 -0.000130746101 0.02495997943 0.0003189023314 0.02235654825 -6.220867885e-05 0.02665129279 -0.02692830835 0.0005966551752 0.0006394197273 0.02747305127 0.001064610561 0.02594137181 -0.0009677441663 0.001018753835 -0.0009691261606 -0.02561325253 -0.02582596709 0.0006177701698 0.0005975966024 0.02637382029 0.02475920936 -0.02497112848 0.0007768972877 -0.02560362557 0.000749961074 0.02539409763 -0.02530555651 0.0009570571498 0.02528452762 -0.0009360282567 0.02226425289 -0.02234408847 6.813271332e-05 1.170286948e-05 0.02217865601 7.03087458e-05 1.528813214e-05 0.02273352314 5.645638921e-05 5.234843619e-05 0.02265423632 5.587215189e-05 2.341466635e-05 -0.01523443131 0.01521169859 2.273271851e-05 0.02208824409 8.032541526e-05 1.008650388e-05 0.0001075518882 0.02197530091 5.391295835e-06 0.001059678201 -0.001100538351 -0.02523825073 -0.02421738363 0.00126500831 0.0007986480687 0.02455115812 -0.03289602172 0.03492205173 -0.001808460319 -0.0002175696943 -0.03025829619 -0.002340074982 -0.0002976505401 -0.03613925956 -0.003696937137 0.002389072794 -0.03418206642 -0.004346265931 -0.02954024156 -0.0001346584 -0.02346448781 -0.006521925058 -0.0002718833244 -0.02326791667 -0.0001965711446 -0.004282678086 0.004418767183 0.03820082423 0.04111735414 -0.00445011322 0.03822647273 -0.005816884337 -0.03891571382 -0.02583514758 0.001646868069 0.02582794052 -0.001639661008 0.001794443762 -0.001942778271 -0.02592212585 -0.02511692209 0.002828453021 -0.02663774533 0.00123644522 0.02630189306 -0.02598546294 0.001592225148 0.02594022502 -0.00154698722 0.001622970173 -0.001595163291 -0.02586295447 -0.02499765153 0.02458388706 -0.0001388427375 0.0004837217813 -0.0001009166924 -0.02538045662 0.000917364532 -0.0258361854 -0.001216469464 0.02411957121 0.001617539448 -0.02407677305 0.02337684948 -0.0005165459009 -0.0002301792665 0.02591568597 -0.0003035768028 0.006937743164 -0.007420831757 -0.0240243761 0.02551076572 -0.02503939009 0.006466367531 0.02642953299 0.0107109724 0.0002363094032 0.005871797786 -0.006108107192 -0.01851475037 -0.00440214506 -0.005375042195 0.00547923768 0.02431407606 0.02179844076 -0.005462907203 0.02299376862 -0.002635738972 -0.0227669543 -0.0218114255 0.02152389256 7.418559496e-06 0.0002413867229 -0.02198886968 -6.394254023e-05 -0.02485027331 0.0006622108735 -0.02009549043 -0.003534811726 -0.0004057887856 0.01542023794 -0.0009514743413 -0.005708846295 0.02168667492 -0.0005575906864 0.02420877258 -0.006923414226 -0.001512753006 0.02230187077 0.002367381537 -0.0209499001 0.0194483631 -1.121600012e-05 5.163722751e-05 0.02597932665 -0.006807958251 -0.02616270644 -0.00613188165 0.02651455493 -0.02663363194 0.006250958668 -0.006274889596 0.006551071428 0.02700107992 -0.03292211271 0.04045094708 -0.007302069636 -0.0002267647402 -0.003861424694 -0.0002967099334 0.03047390512 -0.02932224313 -0.004998444561 0.0327076194 0.03348029825 -0.006165076057 0.01214156095 0.0001201435753 0.004213840431 -0.01254650708 0.01264760097 0.006688062977 0.005453497971 0.007496240374 -0.03320503784 -0.007330552037 0.04042071074 -0.0326477836 -0.0002766867687 0.02743284111 -0.02078786881 -0.0001466788485 -0.0050682321 -0.0001467103842 -0.006645363687 -0.02968293209 0.01451505775 -0.01507347924 0.03024135358 -0.02813580414 0.02870250034 0.016069323 0.02143557999 -0.02927583387 -0.04481038889 0.04115836675 0.00381648604 -0.0001644639038 -0.05247115665 0.007969087551 -0.0003083197904 -0.03997642449 0.03963389342 0.0004069286546 -6.439757944e-05 0.001341578789 -0.0001596365304 0.0005834742706 0.03852399085 -0.000183418138 -0.04378214961 0.04291558259 0.001450041288 -0.04483968759 0.00187889433 -0.04214965 0.04151813767 0.001177512581 -0.0004878065464 0.001253739136 -0.0001067299147 -0.0001203701181 0.0372955566 -0.0004298236883 -0.04186602809 0.04269069322 -0.0009450352566 -0.04128163926 -0.0006167113027 -0.04353848597 0.04360816004 -0.003568813931 0.0009814617086 -0.001829254451 -0.0003422317199 0.008810888859 0.04542202983 -1.907604231e-05 -0.04457874852 0.04627900341 0.007110633964 -0.04178098562 0.00820818391 -0.04595441346 0.002872669307 -0.004449180313 0.004773770269 -0.0002297636481 5.891675816e-05 0.03622323161 -7.490943636e-05 -0.03980728283 0.04020494346 -0.0003387438691 -0.03939667359 -0.0002771920675 -0.04074186662 -0.0004405399481 -0.0001934519688 -0.000343471188 -0.0004254076386 -0.03974761268 0.04085611842 -0.0007640872326 -0.0003444185093 -1.055625624e-05 -0.0001031630043 -0.04420041074 0.0516266707 -0.007130477797 -0.000295782165 -0.003215441759 -0.0001288505612 0.0003978092161 -0.000150608539 -0.02538922616 0.02541998679 0.0006977399349 -0.02571991751 0.02510363184 0.0006951160598 0.0003124395091 -0.02359376655 -1.061461826e-05 0.02736496284 -0.02778384821 0.0007313248833 0.02701943027 0.0005201837462 0.02821973218 -0.02819605651 0.002272798831 -0.0008111439766 0.001247027947 2.063083305e-06 -0.02437829695 0.02912888465 -0.000176809183 -0.01851155176 -0.0002004344122 -0.03632339878 0.02683035234 -0.008207030628 -0.006977711092 -0.0002168030307 0.02280213967 -0.02298777835 0.0002247306721 -3.909199145e-05 0.02267075344 0.0001866556018 -5.526937657e-05 0.02331469686 -0.02415257293 0.0008346647099 3.211355113e-06 0.0003467718439 -1.985332888e-05 0.01514603423 -0.01512953271 -1.650150918e-05 -0.004870044303 0.003744479531 -0.03131727532 -9.026377994e-06 -0.02239581528 0.0001021699794 -0.02286629035 1.746620111e-05 0.02607467881 -0.02638138923 0.0004088803968 0.02576899217 0.0004152717666 0.02669299539 0.000433729292 -9.895483562e-05 0.0004105609969 2.39196309e-05 0.02647790188 -0.03126858512 0.004782541809 8.141437804e-06 0.002315395736 9.933210353e-06 0.02222442421 -0.02230153606 0.004567544523 -0.0151139551 0.006069794188 3.020531088e-05 0.01990507753 -0.0003833893603 -0.007919388577 -0.0002825795725 -0.008862932717 -0.0003159437585 0.02017402558 0.02747630716 -0.02085453044 0.02698988223 0.001892087473 -0.001792471709 -0.02708949799 -0.0004585408687 0.02228346171 -0.02308849926 0.001263578426 0.0007117320452 -0.0002190233821 -0.02544267212 0.02569144052 -0.0261808343 0.001201125823 0.02525010777 0.001435953675 4.25164386e-05 -0.01300789556 -0.004224478625 -0.001014474829 -0.01162228898 -0.001385606571 0.01229994835 -0.002144904195 -0.01061358502 0.020162375 -0.005042977861 -0.02006575536 0.004946358214 0.003258901561 0.004425798631 0.02140988769 -0.02247252016 0.02231562483 2.009484797e-05 8.637625111e-05 0.0001198542901 0.000527300403 0.002439622134 -0.000139649071 0.03254965064 -0.05024284638 -0.0002216467569 0.03290010887 -0.0003504582332 0.01757902762 0.03741562868 0.001066540174 -0.03410617045 0.05005142573 0.0214703734 0.02135072478 -0.03216557673 -0.03201762747 0.03126283183 0.0007547956281 0.0178782523 0.0001555459521 -0.001791104672 -0.0002476542631 -0.02219866969 -0.0003997884421 -0.006222481272 -0.0002378177862 -0.02988810303 -0.007607228032 -0.009216723457 0.0004615836582 1.815908827e-05 0.01502728571 -1.041088778e-05 0.001402814904 -0.01538977445 0.01729647354 0.0007274244554 -0.01662108308 0.01757647519 0.001368302959 0.02059375021 -0.02467588896 0.003083316736 0.000998822023 0.01785556317 0.002037671608 0.0007005154351 0.01759898196 0.002229463439 -0.01049813565 0.003421228649 0.00220541627 -0.03358166856 -0.007760776433 -0.0002476998516 -0.0002611902131 -0.005210512294 -0.0001701550687 0.01661018727 -0.03377335329 -0.007967409309 0.01706431695 -0.0004541296822 0.02243269202 -0.0002849648482 -0.007484659538 -0.0003363796131 0.008338970026 -0.02874198 -0.007767420103 0.02536063136 -0.03379181752 0.02645915779 0.0268780149 -0.000280528361 -0.006564644831 -0.0003491577874 -0.006881145144 -0.02507920796 0.02545821522 -0.00704436001 0.006385073156 -0.007510653029 -0.0004003071928 -0.005784564974 0.004249768025 0.0242865244 -0.02552122742 0.02609778242 -0.006361119969 -0.006951727701 -0.04076572006 0.05586746185 0.01454693827 -0.01224708173 0.01346937556 -2.720952861e-05 -0.01084785516 -0.04323777833 0.0107446386 0.04064856294 -0.04231023104 0.05590514419 -0.04470296729 0.007629718084 -0.0002410880266 0.01154636543 -0.0003818708633 0.002753743778 0.03321154175 -0.0001509033106 -0.03808651429 0.03693430439 0.003905953677 -0.03902400124 0.002053565103 -0.03705275935 0.01013331641 -0.007906263953 0.007787809 -0.0001911314669 0.0004361622369 0.03734803402 -0.0001383943481 -0.04090747816 0.0403099655 0.001033674893 0.001089796192 -0.03972994992 0.001302521274 -0.0004951076182 0.0010751232 -0.0002331249834 -0.00127789708 0.0001461003577 0.03946689321 -0.03876076047 -0.002281469691 0.03976433308 -0.03785106953 -0.002725475631 -0.03520459607 -0.0003199638659 -0.0002388477793 -0.0003595602836 0.02360068412 -0.04882354972 -0.009454828798 0.02383571383 -0.0002350297103 0.03070213406 -0.0004170976953 -0.007547198346 -0.0002428764841 -0.02447307907 -0.006896431875 -9.197536894e-05 -0.02413139411 -0.0003416849588 -0.009521590769 0.0354484983 -0.04175221492 0.03884253526 -0.006611911116 -0.005684617514 -0.03748801194 -0.003907149867 0.007016932637 -0.005662409311 0.04431441066 -0.03645915625 -0.0002549399101 -0.009386848609 0.02153857942 -0.007751057189 0.02185037683 -0.0003117974089 -0.02816972897 0.03137482322 -0.0001891880643 -0.0001769900742 0.003048274924 -0.005246576423 0.03205914743 -0.0002790123983 -0.0003526119247 -0.03598949182 -0.006563173103 0.03567999346 0.009286259351 -0.007368723405 0.002116106379 0.0001240000282 8.12929645e-05 2.43554381e-05 0.02410417681 -0.02303244468 0.003335326447 -0.005940610313 0.003956102496 0.001066588244 0.02305663612 0.001378339341 0.002175518724 -0.02362968247 0.02142434568 0.0005701041944 0.003954149107 0.0003558699951 0.002973264204 0.01386241871 0.0007141387115 0.0009136270497 -0.0002966545863 0.001100144888 -0.02062659021 0.0002289506835 0.0003999085337 0.00359513168 0.04075633151 -0.001571735211 -0.04275815084 0.0414661843 0.004887098218 0.005064667743 -0.04391774265 -0.04072909117 0.007327045363 -0.004995582699 0.005732675834 -0.003132667181 -0.03711635585 -0.0005220517648 1.782747314e-05 -0.002850560848 -0.04465382449 0.005321911689 0.03803170002 -0.04057977488 -0.0003024859868 0.03487552787 -0.000118911474 0.04579426569 -0.0001867181139 0.005459615874 -0.0002451250609 0.006888186849 -0.05459223369 0.009466488031 -0.0002534838593 0.02708626152 -2.482596062e-05 0.02734256018 -0.0002562986515 0.01148581559 0.02183818529 -0.02249115139 0.002153011342 -0.004578342774 0.004498420787 -6.147944299e-05 0.0001825922317 2.259490483e-05 0.02302359644 0.0005261696022 0.0009962524536 0.02304737027 -0.02313942587 0.0001340702716 -4.201466939e-05 0.0001302527617 -4.794614746e-05 0.02326881403 0.0002911659457 -2.864014327e-05 0.0001642132238 -3.482507007e-05 0.0259825228 -0.02619595201 0.0003286439261 -8.486090733e-05 0.0003071769253 3.079140252e-06 0.0001379628366 -1.241563736e-06 0.02643095307 0.0004234639464 0.0003549333867 0.02435593407 -0.02456518729 0.0002816652934 -0.0001074498014 0.0002952342956 -4.250367577e-05 0.0001191112952 -5.611587762e-05 0.02477147874 0.0003076119826 0.0002874867895 0.0001022858306 0.03591765555 -0.0002430762554 -0.03825298111 0.03864723032 -0.0002919633847 -0.03773105818 -0.0005369609547 -0.03896875096 -0.000224355157 -6.883546302e-05 -0.0002526851744 -6.965004555e-05 -0.007279107843 0.03242666939 -0.0001840350593 -0.03630605086 0.03603306606 -0.007006123042 -0.009359117187 -0.03699858268 -0.001312716677 0.002191478318 -0.003156994939 -0.0002211922232 -0.0001105399511 0.02669738271 0.0003424225305 -0.02321383024 0.02312676092 -2.347062515e-05 -0.02331418665 -2.961302192e-05 -0.02302703387 0.02293522568 9.787843474e-06 8.507747048e-05 1.464957366e-05 0.0003244744635 -0.0007722857249 0.02779863785 0.001144130887 -0.02449896319 0.02371630647 1.037099069e-05 -0.02675759116 2.588626249e-05 -0.0234532531 -2.907060099e-05 0.0002994608459 -3.640747624e-05 0.0006475184049 -0.0001235838545 0.02482766022 0.0003538447743 -0.02247777133 0.02238922939 -3.504191307e-05 -0.02257035607 -3.047708937e-05 -0.02229563367 0.02218280649 9.076646414e-06 0.0001149904501 -2.139472527e-05 0.0003527653497 -8.730015839e-05 0.02574308396 0.0003264709226 -0.02284402551 0.02274429487 1.243047517e-05 9.18780157e-06 -0.02266071636 -2.98406009e-05 0.0001121395655 -2.856105724e-05 0.0003402216075 0.02242087386 6.141204226e-05 -0.02250059028 1.830437949e-05 6.710214474e-05 9.68325001e-06 -0.0002855522272 0.02508629804 0.0005467477097 -0.02509388071 0.02487543063 -0.02531257425 -0.024653307 0.02442552114 0.0002902563393 0.0005538328841 0.02258124015 6.135342202e-05 1.164275698e-05 5.765727689e-05 2.299258534e-05 0.01979211606 0.001482074805 -0.02128653772 1.234685456e-05 0.004543003273 1.468147837e-05 -0.004523998964 0.02471877837 0.003344851067 -0.02227640499 0.0222954093 -0.02297753232 -0.03146993116 1.76628903e-05 0.006037176733 0.00397069138 -0.0003819175937 0.02400669075 0.0006605904009 -0.0241857241 0.0239113584 -0.02353966567 -0.0004713337303 0.000558078804 -0.0001863860749 0.0008426747765 0.02177221084 1.670399114e-05 1.433939316e-05 -0.03892891206 0.04671916579 -0.00770734489 -8.29088429e-05 -0.003862682768 -0.0001441775637 -0.006330847269 -0.000189063006 -0.03351225139 -0.007000662298 -0.009429082074 0.0005456962771 -0.03827148167 -0.001936180703 0.03472658082 -0.03398481444 -0.0001960700997 0.03625955524 -0.00032308533 0.03304372956 -0.0003708670659 -0.0006658551881 -0.0002752296943 -0.002200784875 0.009755887711 -0.04032972781 -0.007402959975 0.03456422351 -0.04807625246 0.03522472855 0.0401812078 -0.0002888080528 -0.007695765285 -0.0001992793793 -0.006409542562 0.000636234782 -0.02423828806 -0.0002151789199 0.02410246611 -0.0244413616 0.0009751302757 0.02381162742 0.001414051713 0.02477674465 0.000715713747 -0.0004516502682 0.0007870333143 -0.0001243840388 0.02205865378 1.665840809e-05 1.272922333e-05 0.02253586901 0.0001535442428 -5.253287469e-05 -6.742106892e-05 0.0152067856 0.004598490929 -8.690970624e-06 0.01525789569 -5.111008893e-05 0.0061671421 -0.02240495014 0.02695800304 -0.02493806852 0.004147207582 0.003558892765 0.02381329814 0.002285542128 -0.004641360971 0.003516590592 -0.01525888788 0.03152633445 0.006089360871 -0.01524480268 -1.408519633e-05 -0.01983237251 6.510013107e-06 0.004745304586 -4.666611424e-06 -0.0002153908907 0.0236530949 0.0005999566771 -0.02205414655 0.02184156279 -2.807125218e-06 1.704810711e-07 -0.02134522168 1.73788297e-07 0.0005018756801 -5.534567219e-06 0.001078499757 0.02295371278 0.0001275364466 -2.296906193e-05 0.0001351422602 -3.053256408e-05 0.02343483292 0.0002994601607 -1.280388135e-05 0.0001671980276 -1.409691635e-05 -0.004112028665 0.03513480996 -0.0002042395986 -0.03499887805 0.03648029357 -0.00559344419 -0.03277392982 -0.005283210082 -0.03609075859 -0.008183249542 0.03461586665 0.007607463841 -0.007217928857 -0.0002554598916 -0.03572165866 0.04351650249 -0.007576295684 -0.0002185481397 -0.004053117502 -0.0002937179438 -0.03168576061 -0.007161052305 0.0211892676 -0.009358525721 -0.0002479159474 -0.004394762373 0.02859843729 -0.0003308950074 -0.02825048055 0.03001372195 -0.00615800377 -0.006860945052 -0.03023054537 -0.008107234215 0.02948581529 0.00695222346 -0.007169046888 -0.0003099034476 0.02219999165 -0.02235392887 5.302052102e-05 0.02202671847 3.443044526e-05 0.02251428364 0.0001209043735 3.556542814e-05 8.988294937e-05 7.047182538e-05 -0.02253299272 -0.004546749651 0.002363942851 -0.001520086083 0.002472515492 0.01969201617 -0.02122491805 1.281579562e-05 1.573380721e-05 0.02176793918 2.860003017e-05 2.647522525e-05 0.0001381590627 -0.02237970862 -6.828734492e-06 0.0248435934 -0.02515647393 0.0004510395922 0.0245222911 0.0004815582359 0.02546393089 0.0004258153193 -0.0001283855776 0.0004358425362 -3.292007217e-06 0.0005564227906 -0.02171750536 -6.375953175e-05 0.02310390074 -0.02373005629 0.001182578346 0.002275944899 0.02416964881 0.0005515839051 -0.0002877573091 0.0007273498265 -5.191010167e-05 -0.004843159406 -0.0002592575705 0.02496342081 0.00200610473 -0.003550098834 0.00347412956 -0.00355872463 0.001118554786 -0.01963014077 -0.0046000877 0.02029295733 -0.01638475838 -0.002789644169 0.01695527719 0.01200127725 -0.001781061462 -0.002774631367 -0.001608849761 -0.003581699448 -0.001470939592 -0.005855420468 0.01961325941 -0.02250462812 -0.006047472454 0.02269668011 -0.02190921314 -0.005852953467 -0.0002057835142 0.0005998289061 -0.02215714867 -3.750453105e-05 -1.850995481e-05 -0.0004858931781 -0.02055654855 0.02691604682 -0.005692000993 -0.0006674972778 -0.01459620322 -0.005300595269 -0.0006597500632 -0.02065700968 -0.006150939027 0.01273638562 -0.006477348476 -0.001089761083 -0.0136499477 -0.0009462555219 0.00616320805 -0.006711413198 0.02836182076 -0.0005119377832 0.02171059858 -0.01502125134 0.0002175395381 0.004460074968 -3.296320712e-05 0.004610736415 -0.001574849104 0.001744951988 -0.2285925352 0.002344823059 0.2282575836 -0.2284759851 -0.002126421541 -0.2289720877 -0.001370316608 0.2288249366 0.002571375751 -0.2284096174 0.003344611276 0.2280392034 -0.2283198338 -0.003063980834 -0.2289203112 -0.001934225063 0.2287529936 0.003604671059 -0.2282537236 0.002368072224 0.2291976791 -0.228654652 -0.002914510235 -0.2289032077 -0.002588926957 0.2287227884 0.001872823657 -0.228915183 0.0009367766787 0.229517898 -0.2292977213 -0.00116140802 -0.2289368892 -0.003252597075 0.2287898119 0.0007857864127 -0.2292120261 0.0008508647321 0.2287800602 -0.2288839276 -0.0007471154099 -0.2290355558 -0.003663842567 0.2289901779 0.001009055978 -0.2286879476 0.001915263167 0.2280841866 -0.2284557745 -0.001538987047 -0.2291826755 -0.003948623236 0.2292105784 0.002330601474 -0.2284226258 0.003969787819 0.2284181658 -0.2290219677 -0.003361070029 -0.2293500802 -0.003764000461 0.2294574285 0.004604724817 -0.2293592892 0.005186820997 0.2302204412 -0.2299925551 -0.005414635877 -0.2294471966 -0.003284218905 0.229592465 0.004909989491 -0.2299835954 0.004091595962 0.2303116079 -0.2300468587 -0.00435634515 -0.2294775565 -0.002669226673 0.229624204 0.003816155439 -0.2299973607 0.230204818 0.003052547815 -0.2299536228 -0.003303743004 -0.2294554667 -0.002060223986 0.2295797332 -0.002110942953 0.002358020869 -0.2277931745 0.003253726211 0.2271261272 -0.2274468074 -0.002933045936 -0.002355448935 0.2280177313 0.003214536047 -0.2273216789 0.001590321165 0.2295417558 -0.2290763121 -0.002067861377 -0.003421853656 0.2278790736 0.001187899221 -0.2295825281 0.0005789574592 0.230372711 -0.2302958649 -0.0006735574531 -0.001917425908 0.2296770931 0.0005740484606 -0.230239348 0.001064404972 0.2293469825 -0.2295912298 -0.0008321691019 -0.0004767694302 0.2296526547 0.001336195924 -0.229253063 0.002187131267 0.2279762856 -0.228251838 -0.001912025299 -0.0003355027713 0.2286456841 0.002430922423 -0.2279378741 0.002975242945 0.22713131 -0.2272678201 -0.002827168982 -0.001167872742 0.2277614753 0.003105879223 -0.2271204337 0.003558428833 0.2270009267 -0.2271530733 -0.003387405343 -0.002781603849 0.2278872936 0.003764016699 -0.2273262706 0.004721994357 0.2282427738 -0.228601495 -0.004347560734 -0.005205175584 0.2297241915 0.005153876788 -0.2292689753 0.005112034495 0.2323434926 -0.231446096 -0.006008538629 -0.00491862145 0.2306221782 0.002705551096 -0.2316724179 0.2336852855 0.0008217181946 -0.2357366482 0.001229644463 -0.003655018258 0.2307195826 -0.009404337621 0.01064727858 -0.2291502715 0.003272131111 0.2307786639 -0.2282698597 -0.005793987103 -0.00307952955 0.2270452474 0.002338558329 -0.2287235742 0.001826260349 0.2299516744 -0.2300797205 -0.001727969046 -0.001676786114 0.2298758157 0.002089767272 -0.2301719711 0.003747838839 0.2287532736 -0.2294757147 -0.003054090229 -0.0008880337858 0.2302788435 0.00456058688 -0.2290009517 0.007484338355 0.2265075029 -0.227535073 -0.006472735964 -0.001759811021 0.2289351273 0.00847990821 -0.2271533766 0.01080604474 0.2260961451 -0.2267127897 -0.0101901821 -0.003380945507 0.2276361025 0.0112098251 -0.22677816 0.01108794373 0.2275227756 -0.2272573043 -0.01133907324 -0.004323600869 0.2270745871 0.01066619583 -0.22740614 0.008711271409 0.2283465594 -0.2276634543 -0.009366150886 -0.004385000505 0.2270172125 0.008089367968 -0.227727287 0.0005488624635 0.2343948122 -0.2294902769 -0.005420176703 -0.004656560148 0.2280502226 -0.004735613442 -0.2316808749 0.004138829767 0.2307580923 -0.2334706135 -0.001409770062 -0.004506691709 0.2354137941 0.004884198995 -0.23174393 0.2329863475 0.004569566029 -0.2324864084 -0.00506950515 -0.001523599267 0.2320384 -0.002505384249 0.002406592002 -0.2259788116 0.002864135486 0.2276739271 -0.2280580986 -0.002506173415 -0.01060762299 0.2333996392 0.003524573227 -0.2285394924 0.01375323465 0.22878395 -0.2344606488 -0.008106853788 -0.002591223357 0.2300873426 0.01653722323 -0.2313352561 0.01405217041 0.2258705929 -0.2256355472 -0.01431513057 -0.004129757985 0.2278093598 0.01470813361 -0.2246022301 0.01726084928 0.2208740624 -0.2220135934 -0.01613351735 -0.008467827553 0.2252271485 0.01899465514 -0.2215752473 0.02434086405 0.2218343474 -0.2232753758 -0.02290036857 -0.01308748746 0.2253440533 0.02517917311 -0.2246386325 0.02038894641 0.2336797844 -0.2312928972 -0.02276768845 -0.01437721727 0.227953373 0.01969137891 -0.2332151035 0.01169534881 0.2388506181 -0.2336678022 -0.01685033474 -0.01054610596 0.2294759606 0.008208766124 -0.2368012241 0.01009634311 0.2326854619 -0.2320110282 -0.01073697847 -0.001884176746 0.2383099234 0.008998414522 -0.231196572 0.006388750195 0.232055138 -0.2313022909 -0.007110661659 -0.004656708574 0.230402434 0.005808308997 -0.23169986 0.2340814663 0.004445294768 -0.2336090677 -0.004908758787 -0.00513378917 0.2333503974 -0.0015612315 0.001758198432 -0.2257601258 0.003440466594 0.2258752404 -0.2265150802 -0.002842839926 -0.002482514891 0.2273503566 0.003722053594 -0.2263029212 0.006199186169 0.2231308164 -0.2241112853 -0.00525878989 -0.005036528755 0.2263611186 0.007341530545 -0.2228467487 0.01376685947 0.2167283113 -0.2196481505 -0.01087020623 -0.01618254179 0.226260609 0.01701819686 -0.2183922019 0.02754357112 0.2130287556 -0.2153363081 -0.02523626073 -0.0204474747 0.2201294158 0.02974072828 -0.2138358891 0.02079621393 -0.1067476683 -0.01987220338 -0.02641702619 0.2199971709 0.02077549731 -0.1087869756 0.03372021002 -0.2392420498 -0.03688080581 0.1211308965 -0.02558131164 0.2343925501 0.03061696816 -0.2430918733 0.02471785122 -0.2416206433 -0.02748200003 -0.01571452686 0.2426042249 0.02178537585 -0.2406452243 0.01399765423 0.2406430759 -0.2381201863 -0.01648407719 -0.01293984834 0.234212612 0.01181598427 -0.2373117886 0.007174029417 0.2369632464 -0.2355666484 -0.008532408127 -0.007773746573 0.2330374663 0.006327428994 -0.2354357201 0.2357327519 0.004407388447 -0.2351708577 -0.004954655617 -0.004468247706 0.2345003646 -0.0007912934134 0.001097610843 -0.2247126838 0.002501039597 0.2235576515 -0.224135496 -0.001958754933 -0.002339884527 0.225297496 0.003099061352 -0.2235164026 0.00487343674 0.2195869642 -0.2202100294 -0.004284598573 -0.005691799637 0.2224490777 0.005604035865 -0.2186542199 0.008647857524 0.21086179 -0.2117848339 -0.007736864431 -0.01009121172 0.2144714945 0.009569065731 -0.2088306844 -0.09774341688 -0.00596222069 -0.02305436724 0.206069579 0.09984488999 -0.01126520056 0.01184106015 -0.1004207496 0.1007847335 0.02088248665 -0.1018115346 -0.01985568554 0.01850740986 -0.105465672 -0.01507562661 0.1020338887 -0.02896500816 0.05405176958 0.02797570443 -0.1089542669 0.02836732321 -0.1181770558 -0.03023275518 0.02252599106 -0.1155396883 -0.02354409133 0.1165577886 -0.02344465084 0.1261590456 0.02226595751 -0.1249803523 -0.2489184933 0.2538256379 0.03564137278 -0.02071789812 -0.01983061933 0.03327273988 -0.2469479273 0.02329498182 -0.2546585322 0.01527203549 0.2500906158 -0.247730053 -0.01760771122 -0.01658014324 0.2431426204 0.01320062293 -0.2457500747 0.008322720494 0.2425764349 -0.2410972405 -0.009768410899 -0.008917326481 0.2381425007 0.006879409936 -0.2399345636 0.2388156086 0.003683876 -0.2379019148 -0.004576515769 -0.004939998073 0.2363978337 0.001259028444 -0.001073417569 -0.2237341722 -4.18430793e-05 0.221874616 -0.2222813428 0.0004325914239 -0.001572802184 0.2231660329 0.0003577985988 -0.2214759644 0.001466201606 0.2175722589 -0.2179159564 -0.001138865696 -0.003248369765 0.2189229111 0.00171235086 -0.2162938242 0.2102271247 -0.2100485967 -0.00185367429 -0.005890843372 0.2103033324 0.004814162357 0.2073038679 -0.004740081109 -0.2043225135 0.2044615042 0.002128182885 0.002546988734 0.004067463931 -0.2047837459 0.003352540428 0.002932072969 0.09625221885 -0.003126715068 -0.09450326719 0.09474418114 0.001084987555 0.001606171469 0.004492376331 -0.09436388927 0.1448826764 0.02075574301 -0.1426993003 0.1393643415 0.01602851613 -0.1381304647 -0.01726239289 0.01789163865 -0.1331587339 -0.01958673624 0.1348538315 0.01528488055 -0.2680330893 0.01013915981 0.2579552712 -0.2564101415 -0.01167014845 -0.01671450554 0.2523849063 0.008697809961 -0.2534512295 0.00525877301 0.2476274449 -0.2465403577 -0.006324856816 -0.009149147722 0.2440093403 0.004330854905 -0.2448513639 0.2415530911 0.002159872486 -0.2409240919 -0.002774403009 -0.004142259923 0.2395316882 0.002795956437 -0.002671319218 -0.2230096494 -0.002042056847 0.2207241343 -0.2209443965 0.002270481123 0.000901633593 0.2215219456 -0.001814741997 -0.2201161294 -0.001423206266 0.2169854498 -0.2170363693 0.001480408708 -0.0004426363904 0.2173216714 -0.001465803022 -0.215788749 0.2118417063 -0.2113666373 0.001946063114 -0.0007416645572 0.2105298761 -0.001245714832 0.2090714811 0.0006475797289 -0.2064008454 0.2071958672 -0.001116048003 -0.0009246886579 -0.000321154202 -0.2056267522 -0.0005574519363 -0.002266543008 0.1005323611 0.001843743058 -0.09973572321 0.1002010956 -0.001368752128 -0.001363163228 -0.09919470315 -0.00130567942 -0.00131149221 0.1519067819 0.00498938327 -0.1519806208 -0.002655325808 0.1449971406 0.005007326331 -0.1450696953 -0.004934771579 -0.1435792884 0.009070192157 -0.00986962775 0.144378724 0.001726251768 -0.2727028108 0.001678903765 0.2607549064 -0.2605508474 -0.001882040362 -0.009298032297 0.2591755359 0.001500844882 -0.2573680315 0.0004144859716 0.2502385304 -0.2498681727 -0.0007816472054 -0.004937056777 0.2485887973 1.742987398e-05 -0.2478036588 0.2431878809 -0.0008940802396 -0.2429215912 0.0006312748119 -0.001875475278 0.2420958145 0.004105457283 -0.00405377062 -0.2226648312 -0.003689631945 0.2201650181 -0.2202589134 0.003820643359 0.002687842918 0.2205357447 -0.003575643003 -0.2194798766 -0.003584744417 0.2172015626 -0.2170921463 0.00350610126 0.002033640755 0.2169773036 -0.003766272508 -0.2162505834 0.2139737848 -0.2134094032 0.004491587991 0.002656247877 0.2123487144 -0.004476321969 0.211623508 0.003836090211 -0.2094314107 0.210114633 -0.002637889636 -0.002521654594 -0.2087149229 -0.002192774229 -0.002324637136 0.1026510609 0.003122783474 -0.001648413394 -0.001675629539 0.05110341278 -0.05105557574 0.001725938989 -0.05090362808 0.001632777641 0.05095116333 0.1460776923 -0.008337151727 -0.1471539263 0.1414724266 -0.005637210363 -0.1423431106 0.006507894428 -0.1440429967 -0.002361424162 0.002738380651 0.1436660402 -0.01010206495 -0.2682452873 -0.006525200763 0.2583384169 -0.259324671 0.007496726242 0.0006726121763 0.2605484051 -0.005885407332 -0.2568000686 -0.004867746801 0.2501114511 -0.2503395699 0.005078407542 0.0008004074883 0.2503733359 -0.004770375243 -0.2485035095 0.2431922787 -0.00427663787 -0.2433494692 0.004424530848 0.001598645992 0.2433475163 0.0052295923 -0.005219160849 -0.222627192 -0.005012139866 0.2200243458 -0.2200324433 0.005083964408 0.004151304985 0.2201008313 -0.004953181631 -0.2193530088 -0.005185698496 0.217967082 -0.2177462397 0.005017773509 0.00392026309 0.2173467611 -0.005462852592 -0.217300603 0.2164978139 -0.215821962 0.006400184326 0.005024076742 0.214555105 -0.006787454459 0.2142220909 0.00612267137 -0.2120882988 0.2127429964 -0.003773191599 -0.00366896047 -0.2114409302 -0.003397023377 -0.003498135874 0.1039595396 0.004123035892 -0.00211877749 -0.00214387393 0.05173090948 -0.05170151982 0.002182200567 -0.05160460864 0.00209176769 0.05163607111 0.1362564256 -0.01493837936 -0.1375092623 0.1341645654 -0.01175036829 -0.1351282209 0.01271402377 -0.1379753025 -0.01009581715 0.01095907957 0.1371120401 -0.01726346824 -0.259456513 -0.01266382734 0.2536707662 -0.2548265384 0.01378955292 0.009300387003 0.2572984093 -0.01140265065 -0.2534164639 -0.009088562103 0.2481004636 -0.2487494918 0.009696605261 0.006290973731 0.2497551102 -0.008462235322 -0.247059279 0.2417033602 -0.007030486829 -0.242182765 0.007486354488 0.005210169224 0.2429576392 0.006038370522 -0.006117743075 -0.2227393179 -0.00580978448 0.2197583329 -0.2201053652 0.006248128178 0.005197420309 0.2200319236 -0.005791410721 -0.2195709328 -0.006203973915 0.2192067545 -0.2188931606 0.005963836827 0.005236339047 0.2182319666 -0.006583384353 -0.2188838621 0.2197462982 -0.2188819208 0.007802217409 0.006813750189 0.217234036 0.2171825953 0.007959403185 -0.004335421503 -0.004421936256 0.1076480517 -0.004849745615 -0.1074544395 0.004656133405 -0.2141262878 -0.004476292962 -0.0045810984 0.1073014659 0.1075844716 0.1050791493 0.005326286945 -0.0027251311 -0.002759757629 0.0521670413 -0.05214140459 0.002805155178 -0.0520608825 0.002666240467 0.05208828907 0.1266814924 -0.01649933444 -0.1278072379 -0.2566395636 0.2527686486 -0.02697561408 0.01537594736 0.01547058172 -0.260652224 -0.02669357317 0.01536023679 0.01534599672 -0.01962843077 -0.2507319378 -0.01531680735 0.2486190358 -0.2498089269 0.01644405844 0.01457578003 0.2522274633 -0.01434666901 -0.2485774252 -0.01197046056 0.2448751449 -0.2458011293 0.01284242957 0.01076763011 0.2475277783 -0.01124819856 -0.2441636769 0.2388088048 -0.008927818154 -0.2397303954 0.009829107067 0.008358621639 0.2409638295 0.02127613877 -0.02127260079 -0.2228596925 -0.02122465496 0.2204763496 -0.2203498474 0.02121224283 0.005186701074 0.2202605873 -0.02129210732 -0.2200331342 -0.02212144115 0.2210113944 -0.220517917 0.02171271435 0.00606680402 0.219648124 -0.02269565293 -0.2210414964 0.2239975721 -0.2228177191 0.02443057711 0.00802162588 0.2206717019 0.2209036568 0.009130938281 -0.005052244787 -0.005080714619 0.1096405045 -0.005641699506 -0.1093604186 0.005361613638 -0.1085672214 -0.005411723784 0.00515408136 0.1088248638 0.05350188327 0.003321631138 -0.003401750979 -0.05342176342 0.052864454 -0.05281096012 0.003532862838 -0.0526825813 0.003405355902 0.05272705407 0.05603698296 -0.01168911883 -0.05636595724 0.05771107374 -0.01069710506 -0.0581166439 0.01110267523 -0.011547344 0.01191709705 0.05874938375 -0.02189399083 -0.236478701 -0.0188167424 0.2405162491 -0.2437221621 0.02197370806 0.02315351741 0.2465795528 -0.01791404174 -0.2428228991 -0.01616060713 0.2436633773 -0.2446135252 0.01702894522 0.01698556773 0.2473470417 -0.01506234494 -0.2447211339 -0.01259117473 0.2411757174 -0.2420370845 0.01337557667 0.01306171811 0.2437994062 -0.01187590679 -0.240984859 0.2347348239 -0.00947171742 -0.2357875767 0.01050775618 0.009932391436 0.237893183 0.008255819625 -0.008651667585 -0.2237606298 -0.0094085816 0.2212902476 -0.2209935513 0.009217644433 0.007171887502 0.2205986157 -0.009550956515 -0.2207142405 -0.009823801806 0.2218982915 -0.2217366089 0.009747587498 0.007389710877 0.221303891 -0.009903712324 -0.2225649784 0.2258195922 -0.2256554963 0.01010968944 0.008897224216 0.2247991773 -0.01082497062 0.2256522745 0.009717971679 0.2251466217 -0.006039133209 -0.112006596 -0.1118784072 -0.00604745588 -0.1112131715 -0.006006223818 0.005683934575 0.1115354608 0.1112705262 0.00763751874 -0.004068224705 -0.004078106387 0.05554364567 -0.004460246859 -0.05533154428 0.004248145469 -0.05487156892 -0.004279202072 0.004142409402 0.05500836159 0.1109008504 -0.01367876695 -0.1107559936 0.1131917311 -0.0136165965 -0.1133305684 0.01375543379 -0.0160909118 0.01651521725 0.1139841492 -0.0214731299 -0.231574116 -0.02015711639 0.2373987578 -0.2380163846 0.02069602993 0.0190257673 0.2395406942 -0.01955950403 -0.2394913572 -0.01754765681 0.2407336051 -0.2415515549 0.01824964141 0.01594200707 0.2427904781 -0.01751348766 -0.2406925809 -0.01554316786 0.2377041306 -0.2386113059 0.01638242033 0.01402810558 0.2403540953 -0.01196257613 -0.239223927 0.2306542043 -0.008930489902 -0.2316148595 0.009886470601 0.01029586535 0.2337604288 0.009218973532 -0.01016857418 -0.2264068864 -0.01242165636 0.2234834659 -0.2227539241 0.01177619244 0.009926111901 0.2216730775 -0.01296136949 -0.2221903724 -0.01395426551 0.2227766297 -0.2224642904 0.01372386358 0.01068251214 0.2220553317 -0.01409711984 -0.2231033873 -0.01418438401 0.2259465303 -0.2259072163 0.01418753857 0.01085627328 0.2258854414 -0.014184111 -0.2269557232 -0.01437206124 0.2299527115 -0.2299172503 0.01434339883 0.01243772652 0.2290317368 -0.01343029358 -0.2260808549 -0.01724756767 0.2253711779 -0.2244254506 0.01629142074 0.01799470163 0.2223122915 -0.1101859979 -0.01815326792 -0.2262227654 -0.02017103657 0.2309748308 -0.2304853015 0.01963585056 0.02019404751 0.2294775562 -0.02053434185 -0.23210189 -0.02055602265 0.236108596 -0.2363670737 0.02072239227 0.02041690038 0.2369570584 -0.02022472154 -0.237351101 -0.01833919445 0.2374724623 -0.2383406542 0.01910301261 0.0184506267 0.239944039 -0.01745645784 -0.2379195442 -0.01421602159 0.2332856044 -0.2345110733 0.01538199082 0.01539090129 0.2367116269 -0.01298270961 -0.2327872545 0.2277700857 -0.0101891151 -0.2283663226 0.01078535199 0.01157264335 0.2296851305 0.007911869769 -0.009436830402 -0.2312565294 -0.01359728119 0.2279249291 -0.226579283 0.01230151326 0.01219552311 0.2243588605 -0.01477955469 -0.2255795514 -0.01755898903 0.2253084368 -0.2244500653 0.01676402123 0.01469976886 0.2231981361 -0.01822611089 -0.2246466414 -0.01957258808 0.2268979066 -0.2264993401 0.019216483 0.01553339144 0.2260443043 -0.01987273737 -0.2274207799 -0.01998680879 0.229100715 -0.2294481782 0.02034240354 0.01581012641 0.2298807101 -0.01902291334 -0.2221175039 -0.02171726395 0.2277969427 -0.2273706793 0.02126461587 0.01736065329 0.2261663579 -0.02207859779 -0.2288957755 -0.02268221995 0.2319146356 -0.2318764559 0.02258268313 0.02020978931 0.2313876205 -0.02264292305 -0.2328379956 -0.02154536471 0.2343094978 -0.2349313948 0.0220823284 0.02109214731 0.2358070804 -0.02083542555 -0.2352103398 -0.01773984648 0.2330983278 -0.2343525664 0.01892063917 0.019256811 0.2365286206 -0.01643243229 -0.2334482569 -0.01196815409 0.2274913523 -0.2290652856 0.01352289244 0.0151661709 0.2319690472 -0.01087021939 -0.2272056163 0.2256921998 -0.009413243768 -0.2261669667 0.009888010691 0.01057885874 0.2272048584 0.006961253806 -0.007283409033 -0.2350840051 -0.01044489157 0.2345839638 -0.2327715022 0.008642025776 0.01183563756 0.229416866 -0.01218611153 -0.2314123556 -0.01681661436 0.2302962305 -0.2288372198 0.01538996877 0.01695992842 0.2263290994 -0.01811049406 -0.2284969907 -0.02117136068 0.2297950526 -0.2288807384 0.02028401618 0.02004651094 0.2274263793 -0.02193860755 -0.2294552732 -0.0223721555 0.227304041 -0.2277543499 0.02282557097 0.02153572261 0.2286854332 -0.02198395762 -0.2189653089 -0.02386834435 0.2285246312 -0.2284709096 0.02378856175 0.02239511236 0.2281165796 -0.02379914648 -0.2295065459 -0.02280483349 0.2306479527 -0.2311681564 0.02327589872 0.0232125243 0.2318088384 -0.02217743443 -0.2315163 -0.0193398728 0.2304539221 -0.2316104043 0.02044354778 0.02211955317 0.2335484876 -0.01808728233 -0.2312291587 -0.01358154612 0.2270629653 -0.2286963852 0.01518912183 0.0184042436 0.2317315645 -0.0118998459 -0.2273948264 -0.010015096 0.2244824157 -0.2248524875 0.01038516779 0.01257527654 0.2259947649 -0.009640909569 -0.2247425784 0.2240535299 -0.008516694711 -0.2244264507 0.008889615471 0.009642107584 0.2252444482 0.006422636048 -0.006692867988 -0.2362943523 -0.00750930961 0.2365075568 -0.2362350271 0.007236779973 0.0077710696 0.2356428562 -0.007781575635 -0.2361784679 -0.009360615887 0.236177844 -0.2351876681 0.008373514588 0.01404318361 0.231861318 -0.01090453745 -0.2343691834 -0.01493971869 0.2343143485 -0.233101046 0.01373400495 0.01941287367 0.2308165666 -0.01598057253 -0.2331005066 -0.01712504399 0.2263715982 -0.2264242668 0.01717753302 0.02224825206 0.2269116171 -0.01738300414 -0.2184703511 -0.01836207678 0.2281819359 -0.2283270485 0.01849422187 0.02330223928 0.2285105604 -0.01805119446 -0.2286878581 -0.0161072007 0.2276575083 -0.2284916501 0.01692259027 0.02243422975 0.2300140925 -0.01513551164 -0.2282105592 -0.01140457636 0.2251330785 -0.226494951 0.01275903856 0.01912400483 0.2291980358 -0.01048447303 -0.225601888 -0.009779265282 0.2239689753 -0.2241939316 0.01000422154 0.01349768071 0.2253860438 -0.009538764235 -0.2240083717 -0.008745884424 0.2232529162 -0.2235269906 0.00901995883 0.01002745117 0.2241397093 -0.00846464216 -0.2233950215 0.2227680872 -0.007594760251 -0.2230608117 0.007887484751 0.008634348785 0.2237023053 0.005840359225 -0.006064438608 -0.2373048275 -0.006725316325 0.237457188 -0.2372394255 0.006507553799 0.007054632181 0.2367653219 -0.006939864457 -0.2371767942 -0.007557688043 0.2370730842 -0.2368721746 0.007356778498 0.008075523857 0.2364257385 -0.007752638265 -0.2367293993 -0.008287390507 0.2364254053 -0.2362589423 0.008120927488 0.01090215008 0.2355378349 -0.008423363416 -0.2360919975 -0.008374161045 0.2266134512 -0.2266849599 0.008445669648 0.01443801136 0.2264575892 -0.00858399523 -0.2197749186 -0.009167603633 0.2278586632 -0.227811468 0.009120408408 0.01580617684 0.2280168526 -0.009203487583 -0.2276090275 -0.009207243432 0.2261965394 -0.2262155224 0.00922622651 0.01413476199 0.2268100527 -0.009167540838 -0.2257801863 -0.008930561512 0.2245102411 -0.2246080708 0.009028391218 0.01042333225 0.2248312436 -0.008815055279 -0.2242644127 -0.008372918719 0.2232345023 -0.2233966607 0.008535077139 0.009611894835 0.2237623255 -0.008197654699 -0.2231525263 -0.007606372472 0.2223324581 -0.2225391464 0.007813060846 0.008703309854 0.2229979648 -0.007391789157 -0.2223769317 0.2217543567 -0.006712067148 -0.2219857841 0.006943494497 0.007644779235 0.2224916484 0.005256573514 -0.005441489967 -0.2381415223 -0.005975076288 0.2382152329 -0.2380414835 0.005801326913 0.006329390344 0.2376630622 -0.006144163149 -0.2379634529 -0.006619307213 0.2377515989 -0.2375989788 0.006466687124 0.007128409366 0.2372605887 -0.006765586683 -0.2374315333 -0.00714952453 0.2369559073 -0.2368410336 0.007034650857 0.007837581201 0.2365769848 -0.007233812248 -0.2365505449 -0.007181542815 0.2264419796 -0.2264708949 0.007210458114 0.008117187243 0.2265555035 -0.007387920514 -0.2206153532 -0.007782409758 0.2280038052 -0.2279735132 0.007752117689 0.00875304976 0.2279014177 -0.007804040545 -0.2277292484 -0.007802172054 0.2261325404 -0.2261470036 0.007816635218 0.008847432461 0.2261788842 -0.007773047145 -0.2256386502 -0.007600907727 0.2241893463 -0.224260446 0.00767200742 0.008665149079 0.2244202188 -0.007516641677 -0.2238533636 -0.007189997575 0.2226948118 -0.2228153997 0.007310585499 0.008210121187 0.2230842902 -0.007058629149 -0.2225224234 -0.006607678903 0.2216298714 -0.2217888469 0.00676665444 0.007538880411 0.2221391942 -0.006441126086 -0.2215953088 0.2209478445 -0.005903565499 -0.2211325217 0.006088242715 0.006722648705 0.2215350159 0.004694598668 -0.004846778967 -0.2388313857 -0.00527729537 0.2388200717 -0.238681394 0.005138617649 0.005632155697 0.238379481 -0.005410782823 -0.2385836998 -0.005778069669 0.238269059 -0.2381523432 0.005661353936 0.006258516736 0.2378942591 -0.005888693214 -0.2379597669 -0.006166189135 0.237322455 -0.2372432111 0.006086945255 0.006786678742 0.2370606863 -0.006216847581 -0.2368330351 -0.006173759411 0.2264007667 -0.2264011256 0.006174118302 0.00693586283 0.2264211233 -0.006364538867 -0.2214203119 -0.006641084668 0.2280957829 -0.2280764815 0.006621783223 0.007451734274 0.2280308267 -0.006654621249 -0.2278020619 -0.00665083227 0.2260834544 -0.2260944349 0.006661812747 0.007508659959 0.2261189722 -0.006629123675 -0.2255338559 -0.006500677739 0.2239517488 -0.2240049119 0.006553840759 0.007374226163 0.2241233407 -0.006437447109 -0.2235501774 -0.006189838558 0.2222872801 -0.2223791649 0.006281723333 0.007038160725 0.2225823414 -0.006089113468 -0.2220461068 -0.005738583658 0.221083697 -0.2212080957 0.005862982349 0.006529454655 0.2214805386 -0.00560731354 -0.2209852458 0.2203006524 -0.00517732956 -0.2204494045 0.005326081646 0.005890322541 0.2207724028 0.004165747647 -0.004290765151 -0.2393988918 -0.00463812149 0.2393029982 -0.2391922099 0.004527333206 0.004979433924 0.2389511349 -0.00474373032 -0.2390736446 -0.005029024315 0.2386662081 -0.2385763997 0.004939215855 0.005471673936 0.2383782842 -0.005113277023 -0.2383602254 -0.005313553881 0.2375731609 -0.2375193856 0.005259778595 0.005867929747 0.2373945208 -0.005341573632 -0.2369989621 -0.005311615037 0.2264490328 -0.2264307918 0.005293374028 0.005939178929 0.2264060176 -0.005479766157 -0.2221509746 -0.005676431331 0.228155971 -0.2281429395 0.005663399793 0.006366196653 0.2281131121 -0.005686144358 -0.2278493273 -0.005685222002 0.226048503 -0.2260558596 0.005692578585 0.006402352094 0.2260733529 -0.005669712264 -0.225456577 -0.005573951212 0.2237730911 -0.2238131222 0.005613982321 0.006302239371 0.2239022354 -0.005525967162 -0.223321544 -0.005335583798 0.2219738296 -0.2220448731 0.005406627241 0.006048218557 0.2222012301 -0.005257235375 -0.2216788769 -0.004981149135 0.2206529921 -0.2207515516 0.00507970869 0.005655119715 0.2209664779 -0.00487648793 -0.2205023712 0.219776488 -0.004529237339 -0.2198973456 0.004650094968 0.00514795302 0.2201590017 0.003677910224 -0.003780437222 -0.2398648548 -0.004060790276 0.2396891604 -0.2396005308 0.003972160632 0.004382347646 0.2394077394 -0.004144551682 -0.2394616474 -0.004367262764 0.2389729602 -0.2389034307 0.004297733269 0.004770512918 0.238750382 -0.004431788261 -0.2386658796 -0.004575180384 0.237740444 -0.2377050139 0.004539750319 0.005069197012 0.2376217418 -0.004587922152 -0.2370861697 -0.004566128446 0.2265466264 -0.2265197177 0.004539219765 0.005092806314 0.2264703366 -0.004707344472 -0.2227844442 -0.004853814342 0.2282022871 -0.2281909741 0.004842501305 0.005445094731 0.2281681163 -0.004862941132 -0.2278864207 -0.004867925133 0.2260282086 -0.2260319819 0.004871698416 0.005473353618 0.2260420842 -0.00485767386 -0.22540282 -0.004787168636 0.2236387459 -0.2236688251 0.004817247794 0.005401351688 0.2237358274 -0.004750627041 -0.2231478091 -0.004603064127 0.2217300814 -0.2217855017 0.004658484356 0.005207519165 0.2219071263 -0.004541563611 -0.2213921981 -0.00432217234 0.2203098237 -0.2203885871 0.004400935765 0.004899811353 0.220559887 -0.004238035186 -0.2201161026 0.2193485977 -0.003955518847 -0.2194474782 0.004054399335 0.004493051217 0.2196611282 0.003235521088 -0.003319628316 -0.2402471916 -0.00354622632 0.2399985467 -0.239927485 0.003475164602 0.00384350718 0.2397730356 -0.003612897284 -0.2397697966 -0.003787951544 0.2392116079 -0.2391573366 0.003733680272 0.004150783058 0.2390382748 -0.003837719345 -0.2389005225 -0.003940175718 0.2378488665 -0.2378261086 0.003917417841 0.00437657587 0.2377722203 -0.00394335781 -0.2371210982 -0.003926628987 0.2266589911 -0.2266306817 0.003898319506 0.004369821537 0.2265743382 -0.004038434307 -0.2233049587 -0.004160069384 0.2282513237 -0.2282384095 0.004147155187 0.004658267375 0.2282138754 -0.004169933939 -0.2279242644 -0.004178823531 0.2260193417 -0.2260208808 0.00418036261 0.004688640766 0.2260251793 -0.004172045266 -0.2253677041 -0.00411947828 0.2235372377 -0.2235601025 0.004142343147 0.00463911869 0.2236107049 -0.004091356069 -0.2230150866 -0.003975979422 0.2215389703 -0.221582549 0.004019558065 0.004490374096 0.2216779155 -0.003927350956 -0.2211665145 -0.003751900654 0.2200344767 -0.2200977997 0.003815223643 0.004247375042 0.2202352541 -0.003683870088 -0.2198048312 0.2189972004 -0.003452749977 -0.219078535 0.003534084557 0.003918576159 0.2192539925 0.002838673478 -0.002907544562 -0.2405607523 -0.003090573465 0.240246724 -0.2401897244 0.003033573886 0.00336037541 0.2400658205 -0.003143765326 -0.2400153234 -0.003282312257 0.2393989139 -0.2393561726 0.003239570981 0.003604631265 0.2392627063 -0.003321104736 -0.2390821464 -0.00339587994 0.2379190651 -0.2379041108 0.003380925617 0.003776492264 0.2378692604 -0.003394716079 -0.2371258883 -0.003391964149 0.2267775151 -0.2267463986 0.003360847586 0.003755590342 0.2266875099 -0.003480589524 -0.2237145221 -0.003579110674 0.2283019721 -0.2282900819 0.003567220505 0.003993029328 0.2282644432 -0.003587596289 -0.2279624366 -0.003595367857 0.2260149087 -0.2260158429 0.003596302017 0.00402615993 0.226018041 -0.003590398757 -0.2253435366 -0.003550325543 0.2234593877 -0.2234769571 0.0035678949 0.003990925062 0.2235158179 -0.003528563013 -0.2229125642 -0.003438192493 0.2213884538 -0.2214227562 0.003472494853 0.003875563786 0.2214978962 -0.003399709563 -0.2209878812 -0.003259242139 0.2198128409 -0.2198638179 0.003310219179 0.003682570974 0.2199744762 -0.00320414334 -0.2195529221 0.2187075866 -0.003014614101 -0.2187746688 0.003081696238 0.003415599504 0.2189192847 0.002484754972 -0.002540730039 -0.2408169908 -0.00268733817 0.2404449695 -0.2403996312 0.002641999879 0.002930407085 0.2403006148 -0.002729451911 -0.2402108965 -0.002838475365 0.2395462949 -0.2395127906 0.002804970974 0.003124917053 0.2394391818 -0.002868644085 -0.2392238869 -0.00292389722 0.237966151 -0.2379560721 0.002913818314 0.003257467915 0.2379326227 -0.00292134128 -0.2371186389 -0.002941080844 0.2269180248 -0.2268803496 0.002903405607 0.003239186765 0.2268101269 -0.003010508303 -0.2240410653 -0.00307727387 0.2283393914 -0.2283315757 0.003069458217 0.003435566934 0.2283129105 -0.00308357149 -0.2279928323 -0.003091632277 0.2260136008 -0.2260134051 0.003091436623 0.003462614108 0.2260141382 -0.003088766422 -0.2253265147 -0.003060428475 0.2234010557 -0.223413854 0.003073226712 0.003436473296 0.2234430218 -0.003044242173 -0.2228339915 -0.002975090511 0.2212710773 -0.2212975918 0.003001604984 0.0033472285 0.2213562149 -0.002945061845 -0.2208470632 -0.002833511128 0.219634986 -0.2196757807 0.002874305782 0.003194281363 0.2197645974 -0.002789069948 -0.2193491459 0.2184687187 -0.002633856332 -0.2185240281 0.002689165685 0.002977447712 0.2186433179 0.002172712917 -0.002217416749 -0.2410242072 -0.002331868581 0.2406001602 -0.2405651865 0.002296894857 0.002550929033 0.2404876296 -0.002364040499 -0.2403642679 -0.002445977236 0.2396589903 -0.2396340351 0.002421022019 0.002703976816 0.2395776578 -0.002468197673 -0.2393327146 -0.002506716911 0.2379969079 -0.2379906004 0.002500409459 0.002805422858 0.2379752284 -0.002503922566 -0.2371078586 -0.00255177441 0.2270887427 -0.2270424499 0.002505481526 0.002798327705 0.2269574611 -0.002595648209 -0.2242826902 -0.002638033924 0.2283648067 -0.2283588574 0.00263208457 0.002954139317 0.2283463948 -0.002643565884 -0.2280162658 -0.002654967231 0.2260192576 -0.2260170367 0.002652746271 0.002975117514 0.2260142487 -0.002654932194 -0.2253191359 -0.002639136493 0.2233618386 -0.2233698444 0.002647142305 0.002959904988 0.2233894562 -0.002628295222 -0.2227773261 -0.002578223139 0.221182402 -0.2212020712 0.002597892429 0.002894003172 0.2212463584 -0.002555498255 -0.2207382352 -0.00246837592 0.2194936294 -0.2195258882 0.00250063469 0.002774659008 0.2195964754 -0.002432825395 -0.2191852328 0.2182718926 -0.002306111277 -0.2183174335 0.002351652212 0.002599245452 0.2184157247 0.001901024258 -0.00193558743 -0.2411880609 -0.00201980028 0.2407149695 -0.2406900262 0.001994856957 0.002217456495 0.2406326234 -0.002041977856 -0.2404781137 -0.002094021936 0.2397347776 -0.2397197538 0.00207899812 0.002331880162 0.2396816861 -0.002106503435 -0.2394080533 -0.002121820649 0.238009193 -0.2380087316 0.002121359241 0.002403330649 0.2380021887 -0.002117513155 -0.2370957343 -0.002204758397 0.227310927 -0.2272490192 0.002142850602 0.002413044951 0.2271382458 -0.002220534646 -0.2244149268 -0.002245971972 0.2283935569 -0.2283848613 0.00223727633 0.002530667242 0.2283709155 -0.002254659291 -0.2280410326 -0.002276594831 0.2260365821 -0.2260305519 0.002270564627 0.002552504056 0.2260221386 -0.002280710187 -0.2253244513 -0.002279173608 0.223342238 -0.2233452116 0.002282147169 0.002550466323 0.2233550481 -0.002273624383 -0.2227418683 -0.002240972219 0.2211191272 -0.2211327301 0.002254575078 0.002506655915 0.2211643193 -0.002224577674 -0.2206571294 -0.002158026825 0.2193828189 -0.2194079606 0.00218316852 0.002416241596 0.2194632786 -0.002129843578 -0.2190545388 0.2181098193 -0.002026619703 -0.218147317 0.002064117461 0.002275325075 0.2182282414 0.001671658845 -0.001697383649 -0.2413130524 -0.001753615359 0.2407903294 -0.2407750247 0.001738310673 0.001926755015 0.2407374284 -0.001765686476 -0.2405514683 -0.001783053968 0.2397642829 -0.2397616977 0.001780468742 0.002000400824 0.23974688 -0.001782080233 -0.2394387248 -0.001753425686 0.2379779633 -0.2379920451 0.001767507461 0.00203062989 0.2380070199 -0.001737407376 -0.2370659031 -0.00182692595 0.2275806475 -0.2275147108 0.00176098925 0.002052645355 0.2273768773 -0.00183050036 -0.2244499356 -0.001877642393 0.2284585391 -0.2284355348 0.001854638016 0.002141887237 0.2284042527 -0.001899847506 -0.2280919481 -0.001951329597 0.2260799799 -0.226065708 0.001937057754 0.002183117619 0.2260442436 -0.001962581672 -0.2253508004 -0.001978643636 0.2233439734 -0.2233414969 0.001976167169 0.002200649792 0.2233406133 -0.00197833288 -0.2227276664 -0.001961074908 0.2210779468 -0.2210863998 0.00196952795 0.002178468681 0.2211069118 -0.001949917897 -0.2205998017 -0.001899917564 0.219296907 -0.2193163704 0.001919380982 0.002112839475 0.2193592304 -0.001877591367 -0.2189510585 0.2179758575 -0.001793039522 -0.2180069547 0.001824136721 0.002000314764 0.2180738253 0.001487830373 -0.001506993453 -0.2414056014 -0.001542535183 0.2408324166 -0.2408242615 0.001534380008 0.001682365561 0.2408034959 -0.001547005955 -0.2405869401 -0.001536651572 0.2397467693 -0.2397545074 0.001544389671 0.001714826703 0.2397637502 -0.001523843159 -0.2394147893 -0.001446264279 0.2378721687 -0.2379053566 0.001479452162 0.001686608 0.2379588334 -0.001406737186 -0.2369672239 -0.001352512579 0.2277200085 -0.2277124719 0.001344975978 0.001656382528 0.2276388705 -0.001388809968 -0.2244974947 -0.001564185671 0.2286216504 -0.2285698112 0.001512346408 0.001761555496 0.228488103 -0.001607009936 -0.2282129109 -0.001692560795 0.226159452 -0.2261368864 0.001669995245 0.001863009057 0.2260967253 -0.001710334682 -0.2254070156 -0.001740342824 0.2233649376 -0.2233584066 0.00173381184 0.00190965396 0.2233477157 -0.001743786757 -0.2227328751 -0.001737221674 0.2210536669 -0.2210585619 0.001742116666 0.001907635021 0.2210705668 -0.001729697937 -0.220561224 -0.001691416172 0.2192297553 -0.2192451498 0.001706810679 0.001861882689 0.2192786158 -0.001673343097 -0.2188686433 0.2178635836 -0.001602693923 -0.2178898637 0.001628973984 0.001771603799 0.2179458934 0.001351377688 -0.001367335804 -0.2414766213 -0.001395324658 0.2408579452 -0.240851941 0.001389320531 0.001492108349 0.2408395153 -0.001398009836 -0.2406001298 -0.001384621439 0.2397108112 -0.2397191423 0.001392952554 0.001497790526 0.2397378122 -0.001371690457 -0.2393590379 -0.001293714853 0.2377286765 -0.2377628972 0.001327935518 0.001426796038 0.2378362755 -0.001247487562 -0.2367892974 -0.001044149947 0.2275654232 -0.2276236009 0.001102327683 0.001257255779 0.2277060566 -0.001135497102 -0.2247295214 -0.001395553183 0.2288598196 -0.2288010327 0.001336766322 0.001447977831 0.2286790919 -0.001439333237 -0.2283954008 -0.001521100798 0.2262501611 -0.2262289145 0.00149985427 0.001617339012 0.2261828192 -0.001537891132 -0.2254794609 -0.001567151948 0.2233926997 -0.2233860704 0.001560522699 0.001683534393 0.2233719138 -0.001571007603 -0.2227484213 -0.00156741455 0.221038013 -0.2210416382 0.00157103979 0.001693713288 0.2210493168 -0.001561431573 -0.2205341175 -0.001529375273 0.2191745745 -0.2191876281 0.001542428872 0.00166087798 0.219215112 -0.001513906555 -0.2188007745 0.217767031 -0.001452603785 -0.2177899555 0.001475528327 0.001586426279 0.2178381292 0.001260383853 -0.001276322177 -0.2415397496 -0.001308853974 0.2408868965 -0.2408785125 0.001300469982 0.001361935025 0.2408642133 -0.001314924135 -0.2406148714 -0.001319455411 0.2396950015 -0.239695838 0.001320291891 0.001368127848 0.2397039127 -0.001315932028 -0.2393202163 -0.001279469729 0.2376303534 -0.2376486498 0.001297766201 0.00131185408 0.2376978326 -0.001249272796 -0.236625967 -0.001080698831 0.2273545323 -0.227395621 0.001121787481 0.001088670081 0.2275044335 -0.001188794182 -0.225135441 -0.001364184973 0.2290323669 -0.2290004082 0.001332226196 0.001324530103 0.2289136683 -0.001386574483 -0.2285408568 -0.001429577712 0.2263119681 -0.226300429 0.001418038658 0.001472262755 0.2262693931 -0.001438864045 -0.2255363375 -0.001454347231 0.2234112887 -0.2234081223 0.001451180843 0.001527387562 0.2233987043 -0.001455580371 -0.2227605771 -0.001447885952 0.2210219648 -0.2210264218 0.001452342877 0.00153640117 0.2210343482 -0.001441523089 -0.2205101165 -0.001410649759 0.2191246852 -0.2191369871 0.001422951669 0.001508214405 0.2191618483 -0.001396260813 -0.2187409563 0.2176805141 -0.00134000847 -0.2177014757 0.001360970067 0.001443120612 0.2177446311 0.001208969439 -0.001226843644 -0.2416062923 -0.001269435602 0.2409306229 -0.240918116 0.001256928695 0.001286173892 0.2408962605 -0.001280465484 -0.2406466071 -0.001305331472 0.2397117357 -0.2397048495 0.001298445288 0.001311506729 0.2396963067 -0.001310475762 -0.2393203427 -0.00130446645 0.2375870696 -0.2375946756 0.001312072482 0.001299836016 0.2376156869 -0.001285654832 -0.2365258955 -0.001193298601 0.2272854914 -0.227290581 0.001198388205 0.001143061725 0.2273238067 -0.001288870127 -0.2255512716 -0.001375565187 0.2291003267 -0.2290902996 0.001365538156 0.001341034444 0.2290573368 -0.001381031149 -0.2286014873 -0.001390213394 0.2263341702 -0.2263318201 0.001387863279 0.001407245286 0.2263209292 -0.001391823036 -0.2255613774 -0.00139096487 0.2234126643 -0.2234140131 0.001392313661 0.001432664281 0.2234133376 -0.001388434721 -0.2227599524 -0.001373053617 0.2209992768 -0.2210057682 0.001379544954 0.001430511261 0.2210170731 -0.001365110085 -0.2204825417 -0.001331832527 0.2190746561 -0.2190874017 0.001344578141 0.001400049774 0.2191123615 -0.001317321371 -0.2186835103 0.2175984669 -0.001262362124 -0.2176187502 0.001282645406 0.00133845852 0.2176597122 0.001190118738 -0.001210478862 -0.2416816231 -0.001263289915 0.2409905179 -0.2409741517 0.001246923736 0.001251910857 0.2409441591 -0.001278586219 -0.2406974649 -0.001317933779 0.2397525471 -0.2397406631 0.001306049847 0.001298332382 0.2397201149 -0.001328020583 -0.239349262 -0.001334257187 0.2375664693 -0.2375705875 0.001338375373 0.00131790664 0.2375807204 -0.001319005706 -0.2364569789 -0.001268364187 0.2273180492 -0.2273032406 0.001253555544 0.00121325903 0.2272864462 -0.001353700693 -0.2259164546 -0.001400071688 0.229112448 -0.2291128921 0.001400515841 0.001373688477 0.2291071189 -0.001396760319 -0.2286088077 -0.00138500872 0.2263271848 -0.2263310957 0.001388919578 0.001385793537 0.2263347236 -0.001380964996 -0.22555876 -0.001366367734 0.2233968524 -0.2234022805 0.001371795841 0.001384210425 0.2234102313 -0.001360212003 -0.2227442585 -0.001336379174 0.2209672532 -0.2209761848 0.001345310845 0.001367892627 0.2209921902 -0.001326339806 -0.2204477064 -0.001288644185 0.2190208979 -0.2190348221 0.001302568335 0.001331104299 0.2190616676 -0.001273227881 -0.2186242997 0.2175169704 -0.001217034395 -0.2175374379 0.001237501887 0.001268651829 0.2175781312 0.001197103772 -0.001219913644 -0.2417668594 -0.001281363368 0.2410639077 -0.2410444683 0.001261923937 0.001248236724 0.2410077241 -0.001299865603 -0.2407637606 -0.001348901935 0.2398083592 -0.2397933239 0.00133386661 0.001310955161 0.2397653435 -0.001361912331 -0.2393943789 -0.001374840252 0.2375549454 -0.2375571259 0.001377020726 0.001346425104 0.2375628751 -0.001362104413 -0.2363997285 -0.00134234219 0.2274120956 -0.2273840036 0.001314250161 0.001267354892 0.2273366518 -0.001420350712 -0.2262465305 -0.001441816535 0.2290928332 -0.2291000607 0.001449044084 0.001410917348 0.2291100457 -0.001432700866 -0.2285861332 -0.00140664916 0.2263000857 -0.2263083889 0.001414952401 0.00139286183 0.2263220305 -0.00139850075 -0.225536021 -0.001373111444 0.2233665366 -0.223375318 0.001381892862 0.001371295324 0.2233905197 -0.001363838098 -0.2227147933 -0.001332021667 0.2209254052 -0.2209367744 0.001343390882 0.001341637182 0.2209577056 -0.001319761658 -0.2204042286 -0.001276653809 0.2189613068 -0.2189768319 0.001292178887 0.001296817704 0.2190066083 -0.001259832341 -0.2185606624 0.2174330364 -0.001200501408 -0.2174543873 0.001221852327 0.001230645307 0.2174962787 0.00122825102 -0.001253552036 -0.2418612195 -0.001322381758 -0.2411258163 0.001300447406 0.001268745903 0.2410839836 -0.001343389301 -0.240841386 -0.001399767515 -0.2398568242 0.001382336109 0.001343245325 0.2398239999 -0.001415105276 -0.2394495896 -0.001435506627 -0.2375513357 0.001434855658 0.001388563991 0.2375532375 -0.001426982019 -0.2363526752 -0.001436242738 -0.2275110586 0.001399949237 0.001330582045 0.2274428178 -0.001502002606 -0.2265515319 -0.001507652943 -0.2290640668 0.001518931656 0.001463114828 0.2290843066 -0.001494525244 -0.2285436203 -0.001457635466 -0.2262703705 0.001469448294 0.001424724293 0.2262909168 -0.001446069755 -0.2254987945 -0.001411074635 -0.2233360276 0.001422942671 0.001388416957 0.2233570283 -0.001398839715 -0.2226737014 -0.001358919135 -0.2208878348 0.001372857962 0.001347215966 0.2209134501 -0.001344220891 -0.2203519117 -0.001294568784 -0.2189120249 0.001312149074 0.00129387787 0.2189453407 -0.00127581324 -0.2184908673 -0.001211099144 -0.2173672122 0.001234267869 0.001222019693 0.217411294 -0.09856502175 -0.001238461951 -0.001212316054 0.001484803414 -0.001075579439 -0.0978422895 -0.001131956226 -0.09850332504 0.0008974409195 -0.1511415301 0.01666147548 -0.008786735188 -0.009250079269 -0.07756361807 0.07797371331 0.009717790589 0.07878569699 0.007569772187 -0.0785821351 0.1399825615 -0.1361730071 -0.01670801338 -0.01655879322 0.02866358584 -0.01609467475 0.07204670122 -0.01635880276 0.07172575196 0.1419104236 0.02565598762 -0.001654662321 -0.05085527951 0.001606313757 -0.001571939832 -0.05069229811 0.001516436166 0.05074780178 -0.1017962767 0.002714348526 -0.001462664214 -0.00148263573 -0.07664845658 -0.001269831613 0.001210321519 0.0008173141866 -0.0771067189 -0.07839039548 0.07818393554 -0.0009665076091 0.07741466568 -0.002509173493 -0.07768793395 0.07897315123 0.006804190799 0.07921322404 0.004715033022 -0.0791770537 0.07707817872 0.009535707952 -0.004720422715 -0.005207180663 0.07753190063 -0.05157133046 0.002059565286 -0.05146507045 0.001977784285 0.05150166007 -0.103371609 0.003752841662 -0.001944030229 -0.001967498311 -0.1450505963 -0.01267447859 0.007067900953 0.006905672861 -0.07328560748 0.007563167518 0.07293370013 -0.007211260173 0.07183429099 0.008238408391 -0.00788816616 -0.07218453322 0.07712564069 -0.002998123783 0.07611956903 -0.00428320925 -0.07649884091 0.1500189489 -0.006523210014 0.003924275869 0.003674735392 -0.05203368523 0.002624599358 -0.05194392039 0.002511320523 0.05198212995 -0.1044899179 0.004838590196 -0.002476046204 -0.002498426271 0.01866417058 -0.1344084936 -0.01735381686 0.133600677 -0.1349261404 0.01998963404 0.132223383 0.02008415265 0.141951416 0.008533611181 0.008643423378 -0.07160910346 -0.01639047226 0.008969767275 0.140521039 0.008851082021 0.13980393 -0.01511917176 -0.05263023993 0.00337272397 -0.05246771384 0.003225352315 0.05251357193 -0.0529872015 0.003067284725 0.05304332345 -0.003123406671 0.006928606849 -0.02905638661 0.02894165101 -0.02914897433 0.007135930165 0.007066939204 0.0287592467 -0.05862312214 -0.01256992366 0.05820172771 0.01320297939 -0.01275519956 -0.05907090198 -0.05863907059 0.006922467311 -0.01746653888 0.01866254073 0.1254518253 0.01129056769 0.125239885 -0.02125557243 0.1215694621 -0.01996841574 -0.1227095415 0.1309697288 0.02041903995 -0.01892531544 0.02029548905 0.1295995552 -0.01770806563 0.1291756026 -0.05475216729 0.004091609406 -0.05377295757 0.02371083477 0.05456506429 -0.05431202081 0.02199891788 0.05484639118 -0.02253328825 -0.007943212329 0.008367639745 0.05092214639 0.004700795394 0.05046673798 -0.009211018319 0.05230654486 -0.009152495055 -0.05217399044 0.02842981657 -0.007315063673 0.02766319362 -0.006904651754 -0.02780785919 0.05601041887 -0.01278216951 -0.02831950976 -0.02837721196 0.0067152999 0.006753172476 -0.1127427363 -0.01812135594 0.1122687273 -0.01283008959 -0.1123472134 0.005872503241 0.006562063468 -0.05259349934 0.05200590932 -0.007355622306 -0.1184862357 -0.01369096993 0.01450786106 0.1176693445 -0.1177375929 0.1164598386 -0.01571179827 0.115200715 -0.01208370567 -0.1153182408 0.1205941759 -0.01943496697 -0.01673654652 -0.1188314849 -0.01452708648 -0.1192920097 0.01533286055 -0.04407772637 -0.003262252087 -0.01654099927 0.09460305579 -0.01006149526 0.09893515881 0.01097122644 -0.01280098927 0.01528881665 -0.01764393776 0.01515611036 0.01310305975 -0.01573799688 -0.01016605215 -0.006261341935 0.01936440173 -0.1065016452 0.1038934142 0.02111564079 0.02168363642 -0.09855017095 0.05307185664 -0.1042775785 -0.03021949072 -0.02070036136 0.03248340676 -0.02043067799 0.008647632571 -0.01912319843 0.01371165372 -0.0291106146 0.0262439468 -0.129856711 0.1326797213 -0.03217542466 -0.1296149113 -0.01654105831 -0.01663160932 -0.1194603107 0.1192908044 0.02269549737 0.02664561465 -0.1209444846 -0.1246208937 -0.0246723646 -0.009188780403 -0.039929306 0.04121724978 -0.04076188977 -0.009644140408 0.04164229176 -0.009334091735 0.07035057145 -0.0679748873 -0.02643189433 0.02405180888 -0.01323861531 0.07283079382 -0.01329341594 0.07201192793 0.0220704663 0.0110373837 -0.1429717004 -0.01164497168 0.01446458237 -0.01593558628 0.1408353454 0.1467880518 0.0191498606 -0.02408397539 -0.2697081326 0.02078195362 0.2787603001 -0.2745920169 -0.01378767616 0.2817157075 -0.01185652477 0.2696943402 -0.2643658131 -0.01761556767 0.02765276177 -0.0165219224 0.02370970181 -0.2079659782 -0.001979750615 -0.001830422458 0.002219545084 -0.001411304476 -0.001578351579 0.001590595271 -0.1015950845 0.002125379436 0.1018727093 -0.1029086749 0.1031092626 -0.001611892082 0.1037560778 -0.002199683688 -0.1035361447 -0.1019432034 0.1021555867 -0.0005335375544 -0.001377499406 -0.1026472235 -0.101281003 0.001924578504 -0.001686653088 -0.04724109134 0.001541594604 0.04688684341 -0.04723191771 0.04662748445 0.04396205453 -0.0448488621 0.002330747002 0.04308134882 0.0427329513 0.002970634528 -0.0007119471225 -0.1446297637 0.001298714103 0.003126182767 -0.003247854171 0.145118812 0.1516532543 0.003021118128 -0.001185657891 -0.005351644535 -0.2780228769 0.005343401983 0.2842962629 -0.2844601652 -0.002061559523 0.2832444488 -0.0002626656946 0.2836400954 -0.008032536378 0.01027118243 -0.006083925909 0.00943874421 -0.2107861927 -0.003227775156 -0.003116373335 0.005103009799 -0.002833781515 -0.002940788079 0.004459521614 -0.1033796053 0.003332396008 0.1035539922 -0.1044968627 0.1046484357 -0.0029853545 0.1051588714 -0.003404598529 -0.104982048 0.1039312865 -0.002367983017 -0.002834055975 -0.1043006963 -0.1031932092 0.003196066771 0.05129908433 -0.05125039339 0.001840312226 0.001756425358 0.05115449084 0.003250225819 -0.001709414042 -0.001735631017 0.002063356061 -0.05076510325 -0.001142986405 0.05099654328 -0.05090692626 0.001973739042 0.05110213325 0.001997632725 0.05067388337 0.001779335351 -0.05063167299 -0.001852841889 0.001812845469 0.05071387979 -0.0009327332686 0.05060728119 -0.0009433279558 0.00458526668 -0.0392772228 0.03906372667 -0.03991456057 0.005436100578 0.03851133362 0.005130994322 0.04227070943 -0.0416320886 -0.001593123935 0.04291879811 0.04216185844 -0.00197489206 -0.009192800804 -0.1389909684 0.01020846671 -0.006799682898 0.007517801517 0.1407543079 0.1449282107 -0.009446198662 0.01153275614 -0.2741371306 -0.009301837201 0.276315801 -0.2790875547 0.007504826916 0.2731061795 0.008651149391 0.2814273045 0.003335327805 -0.007940472291 0.00464301175 -0.006064549279 -0.213419334 -0.004308255735 -0.004209816703 0.007308713269 -0.003945789232 -0.004039261597 0.006646608017 -0.104618017 0.004398177084 0.1047582067 -0.1057960811 0.105940742 -0.004090450119 0.1064702038 -0.004501375483 -0.1062770841 0.1053010626 -0.00353921464 -0.003947826688 -0.1056214461 -0.1044732738 0.004251646558 0.05183691359 -0.05181395075 0.00231180633 0.002207267904 0.05175889634 0.004257872614 -0.002181465759 -0.002207724128 -0.0261550515 0.001131893195 0.02607986741 0.05148028538 -0.05149674226 0.002333908468 -0.00117212844 -0.001145323153 0.05146318625 0.00236475606 -0.001182484545 -0.001165172378 0.05126560479 -0.05124582809 0.002184513441 -0.002303784794 0.00222167132 0.05134771827 0.05123400753 -0.001183025377 0.01143318355 -0.07040370332 -0.01098625699 0.07003103756 -0.0705445227 0.006027760661 0.06953752067 0.005972757917 -0.0371552063 0.0371381383 -0.005308435566 0.03638235751 -0.005585932305 -0.03662382293 0.07208439257 -0.01028704557 0.005425552645 0.005361454978 -0.005329458076 -0.1083304265 0.005092663241 -0.004978408933 0.004763302593 0.1078631581 0.00834801041 -0.004566945999 -0.004630341699 -0.105933947 -0.002942267738 0.005633161683 0.1061486575 -0.1072520722 0.107471783 -0.005198119782 0.108187732 -0.00557506119 -0.1079421289 0.1066382929 -0.00464438205 -0.005052703721 -0.1070491141 -0.1057413069 0.005472812614 -0.002811385327 0.05231684709 -0.05227751972 0.002992674707 0.002846137367 0.05220635457 0.005503698556 -0.002819382965 -0.002851156488 0.05256547779 0.05268051237 -0.02537325912 0.002070909797 0.02593521389 -0.05160752329 0.003082306075 -0.001801675984 -0.001748461784 0.02607751378 0.0259978412 0.02606136731 0.001541883913 -0.00158746508 -0.02601578615 0.05173933439 -0.05181275348 0.002694439827 -0.001358873579 -0.001262147156 0.00273903313 0.05165737823 -0.001354504396 -0.001302572575 0.02605975383 -0.02623406651 0.001239320775 -0.03132541519 0.03098771672 -0.00750940907 0.008116199102 -0.007715017262 -0.03172659703 -0.03119529685 -0.01158075985 0.01196860441 0.06430453903 0.0638845852 -0.01277809691 0.06260325761 -0.0125500503 -0.06303270259 0.06583917521 -0.06619175053 0.01236706659 -0.01197731988 0.01243822712 0.06537826797 -0.011545147 0.06544035875 -0.005957145063 -0.1109001504 0.005644123966 -0.0057307647 0.005447343738 0.1099239254 0.01853196932 -0.005196530434 -0.01457719277 -0.1080314163 -0.003533070306 0.006666022741 0.1083650232 -0.1092872196 0.1095884553 -0.006032000426 0.1110195926 -0.006291516508 -0.1106852211 0.1084488588 -0.005672850633 -0.005931340579 -0.1089975785 -0.003426010482 -0.1077134911 0.006545349416 0.05314211443 -0.05308267842 0.003673083859 0.003572574453 0.05293444509 0.003363678538 0.05357062742 -0.003432422687 0.001444595147 -0.02749840405 0.02761021626 -0.02789766958 0.001732048473 0.02715633177 0.001368505779 0.0274172623 -0.02767672946 0.001527119325 -0.001077485223 0.001410007571 0.02708473995 0.02717473778 -0.007464704413 0.09659227545 -0.09521990462 0.006092333592 -0.008034017199 0.007966214648 0.09438333487 0.007542418862 0.1128275361 -0.008053562434 -0.01260639096 0.01225539219 0.1101372226 0.09233586842 -0.01059267598 0.09916412073 -0.009933093336 -0.09669573181 0.008494649694 0.05247151259 -0.008659617416 0.007217667202 0.05317322627 -0.007510689016 -0.05288020445 0.1090889473 -0.01584372657 -0.05418829918 -0.05457264571 0.007625860743 0.007889863461 0.04767879427 0.00202413099 -0.001252446915 -0.001215041836 0.02422349779 -0.02413609283 0.001332357486 -0.02345817094 0.001412996939 0.02372750478 0.02592116653 -0.02569607328 0.001272355897 -0.02453172791 0.001433662522 0.02488882501 -0.0489481904 0.002085846492 -0.001255126226 -0.001219487622 0.001381939506 0.04334819853 -0.001506686267 -0.04192314078 0.04226601337 0.001039066926 0.002537019054 -0.04202367865 -0.04597513655 -0.001563408494 0.02337179465 0.002107531625 -0.04530294727 -0.001398505861 -0.04558228796 0.001539471191 -0.004716929685 -0.04412578123 0.004569537195 0.04551458739 -0.04545774681 0.04189264943 -0.008734650562 0.008026001515 -0.007990786157 0.04185743407 0.0409523298 -0.07535938103 0.07603515939 0.01248200675 0.01050000872 -0.07713900336 0.01897394236 -0.01014441582 -0.01057012528 0.0143631788 0.08090680845 -0.007598256718 -0.07894631693 0.07958858221 0.01372091352 -0.07815460705 0.0145998207 -0.08185346744 0.08203257447 0.00819749197 -0.004003793722 -0.004372805272 0.009174507773 -0.08143003818 -0.004656837017 -0.004941100022 -0.04194400486 0.04243495349 0.005176326815 -0.05041337602 -0.0008700900997 0.00172878345 0.05048351241 -0.05060995594 0.05066332839 -0.001625312279 -0.001706606735 -0.05076331649 0.001489065936 -0.05037181988 0.05043373643 -0.001550982489 0.001535725788 -0.001581740147 -0.05056394158 -0.000924913712 -0.05031653912 0.001724270336 0.002559646107 -0.001411122538 -0.001415316914 -0.05063992921 0.001483356883 -0.1009398402 -0.001495719859 0.05058609669 0.05064061493 0.05001039664 0.001757719042 -0.0008654347611 -0.0009946264864 0.02435201711 -0.02425019988 0.001048257132 -0.02444679126 0.0008052339059 0.02435295066 0.02641825581 -0.02660631931 0.000726468968 -0.02713238683 0.0007361108221 0.02696379357 -0.02542356799 0.0009092163471 0.02539338401 -0.0008790323651 0.04985859687 0.001874282277 -0.001029781942 -0.000905014977 0.02575468861 -0.0258560356 0.0009121899433 0.001142795374 0.02597946281 -0.02455180929 0.000804881933 -0.0248700903 0.0008084845678 0.0247620203 -0.04992065105 0.001707847935 -0.0008468508515 -0.0008573213186 0.0009375578368 -0.04040843494 -0.00138759457 0.04101150894 -0.04041742229 0.04664254006 -0.0009584276898 0.04683688052 0.04686493743 -0.0006460002962 -0.07905965371 0.07892703408 0.001408028028 -0.0003946832906 -0.07859254833 0.0001564318695 -0.0767858263 -1.906215118e-05 0.04319421814 -0.001371049694 -0.04453959948 0.04086274267 -2.203614414e-05 -0.04094826754 0.0001075610183 -0.04122266862 0.0005803655483 -0.0005139231166 0.04115622618 -0.07970582883 0.07952359837 -0.003342600335 0.00184110106 0.001683729734 -0.002789838791 -0.07989435655 0.001534056961 0.001444309546 -0.03986615085 0.0400774326 -0.001372358949 0.04144010348 0.002864073158 -0.04179991731 -0.08200164303 0.08189122541 0.006367013751 -0.003045881646 -0.003210714489 0.007246769618 -0.003471267466 -0.003744570716 0.0007449532729 -0.04123440068 -0.0007332212072 0.001409500613 -0.04119174268 -0.001395824087 0.04117806615 -0.0437438683 0.04497966812 0.002482872628 0.003871317206 -0.003851227965 0.07705808948 0.0792173287 0.004030047039 0.002021539524 -0.07913978152 0.002126200517 -0.05113288061 -0.001037885404 0.05123871123 -0.05123914295 0.00212663224 0.002147294483 0.05116963899 0.002016220775 -0.002060293974 0.002022554703 0.05120737826 0.05128986121 -0.001103565659 0.003634050119 -0.001890421457 -0.001909237651 -0.05142664122 0.001955215587 0.001873140155 0.05134160261 -0.001110916892 0.02608679473 -0.02672503422 0.02679221451 -0.001178097174 -0.02651269464 -0.001456260263 -0.02519576537 0.02506481785 -0.0008694316192 0.0009845736859 -0.0008513042821 -0.02532903477 -0.02544164799 -0.0009260475654 -0.02531224222 -0.02581193232 0.0007427378724 0.0007263485697 0.0262204984 -0.02613354897 -0.001714611867 0.001371778121 -0.001808304986 -0.02569702211 -0.02555655024 -0.03702673955 -0.009683502127 0.005292209552 0.005153636549 -0.03723252193 -0.0381894778 0.03756073873 -0.00558911304 -0.005243827494 -0.03706857454 0.0383938926 0.004396316548 -0.004084156528 0.003888941909 0.03858910722 0.03826841095 -0.07473468326 0.07438305249 -0.006144891689 -0.007011232171 -0.07364060656 -0.01169491385 0.006607372646 0.006390324908 -0.007987703844 0.004065465107 0.07565248779 -0.07560744339 0.07520438944 -0.007584649892 -0.07603333047 -0.007282373334 0.07204298374 -0.07242298501 0.008618409661 0.007961585244 0.07318395979 0.004685972637 0.07410743457 -0.008853526813 0.04091812882 -0.002733202254 -0.04115779809 -0.07929016282 0.07887407716 -0.004482875059 0.002606652976 0.002292307742 -0.003898776176 0.002175738943 0.001956472789 -0.07648746731 -0.006985550813 -0.006584593854 -0.07693762165 0.003567252666 0.003467495529 -0.03917052199 0.03906435366 -0.003581218071 -0.00796879012 0.00470261616 0.004485614126 0.07581335856 -0.004758391993 -0.005773303533 -0.07510472704 -0.02676558953 0.001500857617 0.02695160458 0.05185483485 -0.05177867688 0.002683421683 -0.001462513121 -0.001297066535 0.002679532779 -0.001388683814 -0.0012487676 0.0514509234 0.002400906179 -0.00119841438 -0.001190228956 0.002433556329 0.05143784441 -0.00120460567 -0.001215871667 0.02554705463 -0.02562867349 0.001187115227 0.004686664604 -0.002393055046 -0.002425323942 -0.0519147266 0.002459581249 0.002348692731 0.05185920876 -0.0009381932363 0.02575080447 0.001089639902 -0.02603185072 0.02579028395 -0.0006966264697 -0.02627127098 -0.0006920349461 -0.02799303337 0.02764986371 0.001035982909 -0.0282976914 -0.02779159405 0.001211064477 -0.001109966173 0.02526139557 -0.02495626288 0.02489856354 -0.001052266838 -0.0009204073244 -0.02650946701 -0.0006859058241 0.0009174919272 -0.0006792634676 -0.02674769547 -0.0263524448 0.001066618884 0.01194588629 -0.06704350137 -0.01158403919 0.06665209572 -0.06701732843 0.012311119 0.0124651972 0.06915145028 0.005997329565 0.006027843935 -0.01168060345 0.01206831921 0.06876373452 0.06869512708 -0.01127764615 0.002243285994 -0.0280792773 0.02775658059 -0.02753702382 0.002023729226 0.001727967526 0.001581085416 0.02604756461 -0.001567282715 0.001554842837 -0.001535359423 -0.02600494636 -0.02695087757 0.00124677137 0.003022794455 -0.003077676393 -0.05293231956 -0.0524280131 0.003177999284 0.003038181106 0.0523523759 -0.0008111071865 0.02746913961 0.001167187837 -0.02731996036 0.02685562502 -0.02779998066 -0.0007688345757 0.02681034427 0.001054188799 -0.02729335358 0.02693508 -0.02781181761 0.003587244946 -0.02661652075 -0.02687832911 0.002681922762 -0.06171872908 -0.02171860651 0.01147970933 0.01158475092 -0.0615522715 -0.06100080267 0.06063320438 -0.01201695396 0.05951647865 -0.01142029889 -0.05988073874 0.06224816743 -0.01254457671 -0.01210336175 -0.06140128707 -0.01114767781 -0.06204115782 0.01147010656 -0.007177720581 0.03078159861 -0.03079623953 0.03074885204 -0.007130333082 -0.007259633923 -0.001375905649 0.001659408497 0.02199995886 0.002068848332 0.02691127053 -0.00199023663 0.004514638789 0.05360215517 -0.02693214753 -0.02670048102 0.02667696134 0.001206348221 -0.000653217602 0.001149344649 0.01303532717 -0.01327556136 -0.05407178663 -0.0533939196 0.01396731206 0.003693971906 0.05320478408 0.05195204846 -0.05238195341 0.01063022521 -0.009688021838 0.01021811199 0.05142195831 0.05253635111 -0.009179420915 -0.007867105978 0.0407317476 -0.0183228504 -0.02048972237 -0.004624675468 0.004510584643 0.02027646583 0.01282221827 -0.001898175577 0.01124096329 -0.05433317193 -0.01078658214 0.05294169237 -0.05334233942 0.005902856154 0.005738754182 0.01116535716 -0.204958312 0.0001450707618 0.0004400083808 -0.002834694688 0.001339040743 0.000998846204 -0.003050611715 -0.09830011749 -0.0006269533083 0.0987546406 -0.1010586536 0.1011880745 0.001209619767 -0.0001505435834 -0.101647589 -0.1008027332 0.1007725747 0.004097622469 0.001945915838 -0.1008763865 -0.09788537313 -0.001441380279 -0.09540838366 -0.0002736559832 0.09622259316 -0.0001033040122 -0.001538302353 0.0005607664594 0.0003133333721 -0.001975976223 -0.04498553451 0.0002340244744 0.04545622975 -0.04668520915 0.04686564452 0.0003803310919 0.0476910844 -0.0005822690254 -0.04738247135 0.002628374892 0.001969683457 -0.09217400582 0.04582393531 0.0462443885 0.0008032968778 -0.04640351846 -0.04457391194 -0.000397689915 0.03569211377 -0.03357621797 0.01941782925 0.03774465792 0.03748199275 0.01775483436 -0.1006002127 -0.001454482433 -0.001453206151 0.002429560101 -0.001410440747 -0.00141823649 0.002056749003 -0.049896998 0.001691202248 0.04995535044 -0.05001622735 0.05011466695 -0.001508880353 -0.001536534775 -0.05028976753 -0.04947724662 0.0496193313 -0.001447764092 -0.001494588036 -0.04989039144 -0.04982552881 0.001710387203 -0.02598483914 0.01514039315 0.01505269992 -0.1326202134 -0.1322402645 -0.01222214292 0.01322313887 0.1331635695 0.1350523779 -0.01543643447 0.02112129453 -0.2637481454 -0.01831259262 0.2626539575 -0.2662575671 0.01250276106 0.2591397645 0.2697372201 0.01058343975 -0.01949335273 0.01122263736 -0.01663649761 -0.01317738748 -0.03279167087 0.00697835965 0.006821268112 0.03337982871 -0.007126934288 0.03269349817 -0.007086553885 -0.03290487092 0.03294740065 -0.03309526608 0.006857409927 -0.006724796723 0.006736155734 0.03293604164 0.03278951596 -0.009253519885 0.0565826546 -0.05689023302 0.009561098305 -0.01038216826 0.01065750664 0.05743573536 0.0555437411 -0.01122136575 0.01951770602 -0.1185098211 -0.01885580509 0.1160369669 -0.1169057184 0.01000428933 0.11536628 0.00964243456 0.05917383899 -0.01120470434 -0.02047793662 0.0110815843 -0.05894947638 -0.05925699478 -0.01947527245 -0.04837717581 0.00179423821 0.04865984702 -0.04869707581 0.04890732476 -0.001285828396 -0.001423214396 -0.04929249418 0.0005678955078 0.04793944439 -0.0008162554889 0.0009599423352 -0.00120676504 -0.0484502531 -0.04806755484 0.001762602198 -0.001033474029 0.0004202958208 -0.09704394961 -0.0008718715783 -0.0006918984021 0.0004987381429 0.01833760932 -0.0006356076647 -0.01745514376 0.01756272192 0.000391159993 0.001541764605 -0.01737207242 -0.02051652458 0.002500359929 -0.01993356777 -0.02025036689 0.002010584691 0.01964367981 -0.07310231393 -0.07150910778 -0.01713109071 -0.06830483805 -0.01776657407 0.06936339875 -0.07723210179 0.01548213749 -0.01732209822 0.01627887112 -0.07618887469 -0.009147802754 -0.07729208338 0.02451593299 -0.01354224215 -0.01381120359 0.07302460913 0.01463005263 0.01315597686 -0.07466244217 0.006825531668 -0.03330596014 0.03327834327 -0.03346664118 0.007013829584 0.006988645567 0.03487612771 -0.03537347642 0.007767801903 -0.007180220571 0.007311390081 0.0347449582 0.03436252429 -0.00691957125 0.1363078341 0.009599803655 -0.1377109455 0.009793401211 -0.01834941989 0.01973111352 -0.01700969569 0.06782158083 -0.01103447146 -0.06821646553 0.1353198331 0.01062790342 0.01056757598 -0.06840157378 -0.06838262516 -0.06905760912 0.009968020164 0.06868939261 -0.1338705803 0.132352863 0.01072454976 0.01087732018 0.01067390519 0.0107649816 0.06745294026 -0.01110616583 0.07108871617 -0.01017253269 -0.07150117622 0.0705268905 -0.07094750732 0.009390384104 0.008893272844 0.07168332208 -0.009567964556 -0.06942213974 0.00993249517 -0.0091677724 0.009530126005 0.07016453689 0.07069286976 -0.01034602865 0.017069677 -0.01571353695 0.1391544588 0.009268484741 0.009416725646 0.02988584221 -0.030302118 0.008055954577 -0.007495289069 0.007764768641 0.02961636264 0.0296283079 -0.007201570999 -0.02698415332 0.02724435208 -0.006412200487 0.005187231814 -0.006073602713 -0.01249301086 0.006434449773 0.00651871237 0.02747649134 -0.006655027997 0.02728542905 -0.006315559848 -0.02735765318 -0.01202456001 -0.04701790119 0.0464292086 0.01261325259 -0.01454584557 0.01538321418 -0.0458630777 0.02088652959 -0.04903528055 -0.02028297832 0.04471395069 -0.007081096647 0.008267512818 -0.04590036686 0.04561825393 -0.04837188179 -0.0117922177 -0.0478224409 -0.01262343717 0.04842131805 0.01912184668 0.002916477215 -0.03860288604 -0.005371943302 -0.01066912246 0.04271157345 -0.006481199314 0.04431821941 0.00687693059 -0.02297301854 -0.06451801018 0.02129671037 0.06571907976 -0.06383373528 -0.02485836302 -0.02598065438 -0.0176911505 -0.05605428806 0.05577048918 0.01797494939 -0.02092862114 0.02015701245 -0.05825591885 0.01827472361 -0.06134131356 -0.01930564705 0.02187107591 -0.05335583737 -0.05556995678 -0.02214055072 -0.0544876539 -0.01807394872 0.05487045213 -0.03925041995 0.0399399751 0.01173177854 0.01104951619 -0.04137626978 0.03987491479 0.01939316366 -0.01038148619 -0.01078807697 0.01643815305 -0.03812829656 -0.0362008521 -0.01407917804 -0.06775507042 -0.01482831743 -0.01508835426 0.03547193371 0.03576791408 -0.04134183446 0.01370108593 -0.01439109365 0.01416742999 -0.0411181708 -0.04212776313 -0.02353045789 0.02167325701 -0.01294205181 0.03752406269 0.03795182977 0.01194144205 -0.03861681451 0.03865803228 -0.03904652343 0.003759966806 0.03880401915 0.04041545771 0.003111274711 -0.00166567648 -0.04047394953 0.002090909428 0.03958667954 -0.04017723282 0.0390421425 -0.03863983567 -0.002890930432 0.03965160324 0.03937234049 -0.003149839461 0.004499585307 -0.0400890727 -0.003721002171 0.03880298186 -0.03996580586 0.07106579819 -0.03603367738 0.006035093746 -0.03578795308 -0.01133509086 0.005889655509 -0.01087605535 -0.007126123575 0.03579023299 -0.03689742245 0.03643684863 -0.006665549749 -0.03785984294 -0.006826988367 -0.03559622323 -0.006277315566 0.03553138919 0.00674709021 -0.006422053741 -0.0359212597 -0.03606824736 -0.03837229206 -0.006324964736 0.004873357497 -0.005418394851 -0.0378272547 -0.03769559291 -0.01043081605 0.005455065701 0.005417397488 0.03629009451 -0.005539758665 -0.005621631545 -0.03619614772 0.05144883041 0.002913297633 -0.05149083282 -0.001400004152 -0.001471291073 0.003034143182 -0.001529408117 -0.001663427943 -0.02510922386 0.00181477748 -0.002969803849 0.0520541673 0.002930041787 -0.05177911195 0.05184345128 -0.05177552402 -0.0519150402 0.05196858554 -0.001582051906 0.003010717154 0.002969631879 0.01348151144 -0.06324546938 -0.01307183203 0.06272771544 -0.03178913564 0.007162076995 -0.03168307934 0.06208452291 0.007093100702 0.03242386763 -0.007072735156 -0.006888901931 -0.03201601867 -0.01313463721 0.006790148684 0.006816830464 0.02480804855 -0.02497386699 0.001861740501 -0.002521794101 0.002349182537 0.02498066012 0.02380798453 -0.0037524581 0.0527098759 0.003665731455 -0.0522276152 0.02636370312 -0.002154412009 0.02632966723 -0.05207799596 -0.002002870369 0.02652270546 -0.02658204627 0.001865923368 0.001941715847 0.02651738732 0.003727240617 -0.00192137672 -0.001884860001 -0.003485335932 0.0525040293 0.003483522191 -0.05231283256 0.05221891522 -0.001724005274 -0.05236285823 -0.001641420832 -0.05212458855 -0.001757786564 0.003540501548 -0.001717127436 0.003533333489 0.001125764477 -0.02533800646 0.02527459396 -0.0256215809 0.001472751412 0.001592280159 0.02420653679 -0.02422941925 0.001227070478 0.001293080917 0.02425273725 0.002059130556 -0.001228095985 -0.00119631743 0.02496502364 -0.02386773143 0.002805444582 -0.003404025039 0.002579577436 0.02578947124 0.02612190842 0.002089242663 -0.001190800197 -0.001215745387 -0.0243107748 0.0013556006 0.001220037225 0.02419598301 -0.04289216476 -0.0007979020217 0.04369960014 -0.0006132037315 -0.0002381736565 -0.0003879777404 -0.0006478331637 -0.01954075924 0.0007749250233 0.01993023699 -0.04102755594 -0.0005467529924 -0.000813247772 0.02095750345 0.02104207551 -0.001120411096 -0.02132596375 0.04040077018 0.001361992585 0.001009858245 -0.04023560196 0.0004086947054 3.58646714e-06 -0.01927672229 0.0003271196305 0.002181462754 -0.02271998439 0.02316251823 -0.02301722951 0.002036174042 0.002534678551 0.02204792635 0.001724843673 -0.02150413451 -0.002505673319 0.001904445308 0.02264915437 0.02289496277 -0.001794320703 0.001183485582 -0.04455530326 -0.001292461001 -0.001140668382 0.04240111822 -0.04296574243 0.005471976086 0.04181624035 0.04170505974 0.005632833509 -0.006873043836 -0.04180174558 0.00661288642 0.04310728983 -0.04266845443 -0.007311879244 -0.006057332477 0.02691215185 -0.026221012 0.001568601413 0.001286716565 0.0247136651 0.02521764981 0.02520140542 0.001823045899 -0.001071805092 -0.001159899391 0.0008601007148 -0.0008767897513 -0.02540687896 -0.02727635667 0.0007741034389 0.001321227486 0.02727525996 0.02530310272 -0.02541095286 0.0008501397938 0.0008987074506 0.02563743726 0.001826058336 -0.0009720522946 -0.0008816551038 0.001729275893 -0.0008729146521 -0.0008569162082 -0.02497891835 0.0008156299461 0.0008452763026 0.02519334558 0.03812826864 -0.03777893998 -0.0006798260267 0.03851613128 0.03895148173 -0.0009223709045 0.002844422813 -0.03954237371 -0.002057458922 0.03757737263 -0.03788994475 -0.08096611772 -0.001184555295 0.08033792949 0.0008413680764 0.0009713754471 -0.0005439009395 -0.04128488552 0.0009650990213 0.0007603123852 0.0416474147 -0.001657399861 0.0002226634482 -0.07955462673 6.378952755e-06 0.0800976456 -0.08041888309 0.07975480366 0.08071799847 -0.08091405618 -0.0003539077845 0.0004445799559 -0.0001675007176 0.0006376553539 0.002537771067 -0.07858043097 -0.002268571332 0.07899848818 -0.07925055591 0.07872607817 0.07949323717 0.001679575523 -0.001985401938 0.002228083202 -0.00173016729 -0.001227456781 -0.03968316552 -0.0800805882 0.001217483612 0.001196831241 0.0009440830455 0.0009928337688 -0.08177094156 0.004778511699 0.08169918754 -0.002356864823 -0.002349892855 0.005535485526 -0.002665571268 -0.002749630409 0.04111837605 0.002651466281 -0.005538178023 -0.07997345798 0.005478578689 0.08091470613 -0.08091739862 0.08091928805 0.08087823317 -0.08077985297 0.006327848295 0.006229301106 -0.002579201964 -0.08004977497 0.002627435613 0.08101890509 -0.08102389247 -0.001164713967 -0.0009828476859 0.08098882308 -0.004114304957 0.00330531398 -0.003340383378 0.003321940957 0.00278991468 -0.04230597349 -0.08198646226 0.04165120108 -0.001981083655 -0.002215781228 -0.002253016125 -0.002148563547 -0.02627004888 0.02613892554 -0.0008183686469 0.0009569833111 -0.0008198171465 -0.02640721504 -0.02593014143 -0.0009579115354 0.02568722729 -0.02600036622 0.02586758452 -0.0008251298416 -0.0008212943666 -0.0251881605 0.02513149581 -0.0009041235569 0.0009524042084 -0.0008937265713 -0.02524683814 -0.02527320772 -0.0009921889154 0.02522021093 -0.02507932463 0.02504079311 -0.0009536573897 -0.0009193605187 0.03829596637 -0.005180237155 -0.005381354909 -0.03864524816 -0.004783354449 -0.0371357693 0.004892384191 0.004852367291 -0.03805151547 0.03823439924 -0.03867694756 0.005294915618 0.005250764761 0.03785991055 -0.0246125326 0.02457461937 0.001162015745 -0.02479941807 -0.02515391325 0.00124205798 -0.002541497937 0.02607816788 0.001910278095 -0.02489605331 0.02587114596 -0.02742602294 0.02775067844 -0.001856682291 0.001788522635 -0.002455014261 -0.02675953131 -0.02630417875 0.001403594882 -0.001064270076 0.02689561324 0.001121744267 -0.02777959671 0.02764662377 -0.00093129714 -0.001284713882 0.03513190609 -0.006614286199 -0.03541516814 0.06888896092 0.006437810861 0.00628825936 -0.03487538182 -0.03467133011 0.006121755266 0.03477293123 -0.06840789169 -0.01226101711 0.06788637185 0.006448938019 0.006333598937 -0.01220946424 0.006388586282 0.006301947175 0.03508820667 -0.006464287607 0.01176971924 -0.01135192529 0.06832398952 0.06790494799 0.006938544004 -0.0357786208 -0.006715603098 0.03615171056 -0.03643109541 0.03680318691 -0.007045475224 0.03627236645 0.03635445789 -0.006724191922 0.02540940717 -0.02554112401 0.001586523749 -0.00174287263 0.001741884513 0.02541039529 0.02489245968 -0.003408464125 0.05232358906 0.003363865242 -0.05197591836 0.05211543767 -0.001753539667 -0.05194691262 -0.001697553835 -0.05230166175 -0.001851367903 0.003458951032 -0.001794195078 0.003348486999 -0.003148374133 0.05219053518 0.00312177936 -0.05198449424 0.05197171697 -0.001580754022 -0.001538832625 -0.05195944541 -0.00161237685 0.003185323747 -0.001580827039 0.003171254302 0.001259648705 -0.02596168132 0.02572834664 -0.02593782239 0.001469124452 0.001505821949 0.007264436452 -0.03067403725 -0.007198741676 0.03077566344 -0.03068027387 -0.02513850207 0.02477521428 0.0008117808003 -0.02549924328 -0.0256452617 0.001103086461 -0.001099313768 0.02457802408 0.001320254431 -0.02440754904 0.0240355851 -0.06048423729 -0.01339576855 0.06001090828 0.006917976333 0.006951121229 -0.01341694369 -0.03046964966 0.006974281314 0.006937800308 0.030475042 -0.007090004377 0.01308495625 -0.06148377139 -0.01271252848 0.06085728452 -0.06118927196 0.06035567533 0.06157701975 0.006805275673 -0.0133078829 0.006892364247 -0.01278598508 0.05288389 0.003852010736 -0.001910726986 -0.001969015836 0.0261607048 -0.02622631126 0.001956875589 0.001861469931 0.02642577791 0.02672612555 -0.02641502247 0.00920701756 0.002244162398 0.02614280716 0.005262828892 -0.002235243867 -0.003143415048 0.004136347419 -0.02427072714 0.02401420134 -0.02414095361 0.004263099689 0.002786249877 0.02646125742 0.02409059982 -0.02384227472 -0.006026358924 0.0240694863 0.02469687628 -0.005902303126 0.006545090349 -0.02508534254 -0.006437635915 0.02368296278 -0.0236152209 0.05397718617 0.006411703814 -0.02730303327 -0.01165393111 0.006156896215 -0.01126157449 -0.006942388624 0.02604450018 -0.02701709896 0.0267912419 -0.006716531568 -0.006746450454 0.05141133053 0.005923173077 0.005968252286 -0.02596465071 -0.02617274803 0.006144569793 0.02627284129 0.02580584107 -0.006559269653 0.005434823073 -0.00629489856 0.03428101778 0.03406973957 -0.2263900535 -0.01166244877 0.2275005227 0.01072194131 -0.01196537308 0.009855985814 -0.112288112 0.007119880981 0.1127106499 0.2261678129 -0.1124042026 -0.006742079283 -0.006650027636 -0.1123368765 0.2274827134 0.1113641909 -0.006350822117 -0.006386081697 -0.1120572541 -0.1118407764 0.007172761664 -0.1118320543 -0.008733237061 0.1124182679 0.008178795341 -0.008867340366 -0.05559986362 0.007659855283 0.008504789887 -0.04351310027 -0.008483798956 -0.05096808061 0.1102578805 -0.05541401431 -0.05520641668 0.1098416603 0.05484780945 -0.004447477538 -0.004637205391 -0.05523705578 -0.003526975403 -0.04328219856 0.003296073699 -0.22574493 -0.02203269232 0.2257069607 -0.02465805545 -0.112759427 0.0121460329 0.01271825064 0.1110678372 -0.01277337784 0.02399729991 -0.2300227084 -0.02312592698 0.2275507706 -0.2282115261 0.2271504732 0.1147216944 -0.01561189119 -0.02664907984 0.0141880979 -0.1144513975 -0.1149157432 -0.02523131947 0.01244195527 -0.05985683231 -0.01210023761 0.05920882754 -0.05952207183 0.05881944072 0.0600334404 0.0131143492 -0.01255486401 0.01306623258 -0.01209822793 -0.01349234936 0.007036778478 -0.02959926989 -0.02960902389 -0.05949701876 0.006749359421 0.006878879297 0.01610158315 -0.1169201896 -0.01362469677 0.1193364974 -0.1160650039 0.1134512216 0.1151767956 0.01710003874 -0.01596760036 0.01507939212 -0.01535570068 -0.0076015842 -0.05331464683 -0.112522878 0.007297996283 0.00795706044 0.008612249327 0.009061844283 -0.0565142783 -0.01691362342 -0.04409398802 0.02075859835 0.02087713993 -0.00951700877 0.009188271987 -0.02066978505 0.0130455491 -0.02165013274 -0.01204581582 0.02016965369 -0.0108973392 0.006154752441 0.005840642076 0.02013309272 0.01978300206 -0.02247460488 -0.006825405951 -0.04385313515 0.02389518052 0.02024504151 -0.01652078383 -0.003534130427 -0.005812702041 0.01808113593 -0.004354070545 0.01934225309 0.00518147115 -0.01720120086 -0.03117708253 0.01592890433 0.03180647224 -0.03063530818 -0.01837236492 -0.02006579574 -0.02523407592 -0.05407909418 0.02797136066 0.02683233074 -0.01518608739 0.01423280869 -0.02718252544 0.02640039813 0.02953255762 -0.01398130713 -0.01352861343 0.01449811047 -0.02440717515 -0.02540900868 -0.01585526394 -0.05340002364 0.02525993112 0.02645965042 0.04686104816 -0.04447975311 0.003445616487 0.002621585627 -0.002079335967 0.002708668628 0.04225575199 0.04151504849 0.04054024068 0.003902794358 -0.04062337702 -0.004347618673 0.004973298789 -0.00396228667 -0.005993136512 0.04050497861 -0.0414792459 0.04045940818 -0.04144686585 -0.03899620373 0.03819854827 0.006899305025 0.002252694644 -0.002398005949 0.0433422383 0.04306064791 0.05150316481 0.002282528621 -0.05147981298 -0.001182849193 -0.00112303126 0.002305096862 -0.001167528218 -0.001131146087 -0.02621717623 0.00112060187 -0.002294879663 0.05167618569 0.002268454561 -0.05155691874 0.05156713594 -0.05153629723 -0.05158118952 0.05159033844 0.002319854888 0.002303671935 -0.002183590152 0.0515663248 0.002153476393 -0.05141696896 0.05145505012 -0.05138680906 -0.05150082542 -0.002274962822 0.00220425076 -0.002250026052 0.002175368104 0.002326233244 -0.001399716835 0.02594920103 0.0258198895 0.05142392546 -0.001187854052 -0.001142996289 -0.002750019595 0.05195719678 0.0027364055 -0.05181312736 0.05180214089 -0.05182960072 -0.0517865597 -0.00283436893 0.002797710272 -0.002782129084 0.002779373604 0.001258587561 0.02587725228 0.05157422716 -0.001357153796 -0.001341824216 -0.001364485875 -0.001386488713 0.02773113305 0.002937714819 -0.02691400366 -0.002505472812 0.00233893628 -0.00214644486 0.02699547236 0.002010726257 -0.02734680578 0.02753929721 -0.02681384629 -0.02741982524 0.02713665245 0.001851520443 0.001889582829 0.03785525971 -0.005996675314 -0.0353855598 0.05197472439 -0.05176616734 0.007009110153 0.008137539835 0.05105727201 -0.1038055223 -0.01254701738 0.1050901932 0.01210905032 -0.01352402128 -0.05041582693 -0.04520671128 0.01424223654 -0.01459801905 0.1075604869 -0.05366904536 0.1082058856 0.04430797052 -0.04269053498 0.005960857675 0.005252706134 -0.08015556618 0.01185044011 0.08063296019 -0.006047018842 -0.00628081528 -0.01333787768 0.01277089371 -0.006955953706 0.04064949993 0.04108341398 -0.01222000064 -0.0774683058 0.01168568428 0.07902381509 -0.07847292203 0.07948892254 0.07780518538 -0.07705935028 0.01305317687 0.01242246954 -0.008869539227 -0.07921336519 0.008580775602 0.08057173267 -0.08026676412 0.07989089379 -0.01093559907 0.009681634633 -0.01005750497 0.009337342827 0.005368584201 -0.04155626357 -0.08100168617 -0.005168375577 -0.005317481396 -0.005569218506 -0.005735106549 0.03989332396 -0.03939492163 -0.0008628422043 -0.001274551955 0.002653028067 -0.001680006404 0.04627446682 0.04383214068 0.05123342066 0.002077666219 -0.05122541422 -0.002103967459 0.002098245164 -0.00104189879 -0.002077606145 0.05143940546 0.002047117427 -0.05132033839 0.05134097741 -0.05129346873 -0.05136452929 0.002103080359 0.002069569422 0.0006301872766 -0.02501531144 0.0249628704 -0.02518398741 0.02474202795 0.02540427605 0.0008408300171 -0.02562297233 -0.0006249400198 0.0008452286602 -0.0009801968113 -0.02546400292 -0.02559874188 -0.003319598491 0.03882359204 -0.03828928247 0.03885862589 -0.03953414343 -0.003990196978 0.04003355094 0.003085758143 -0.003761275684 0.004043508431 0.03887133996 0.03906788409 -0.07473857087 -0.008158175086 0.07428365722 0.00834059057 -0.007874772009 0.004530338892 0.007450495709 -0.07436175471 -0.007061388139 0.07432623863 -0.07475051492 0.07392456442 0.0751550777 -0.07555970787 -0.007180087112 -0.006792429512 -0.07826629238 -0.005492504912 0.07773156695 0.003023787974 0.00300344237 -0.005003089121 0.00289714954 0.002713724358 0.04041806666 -0.003017307872 0.004590248556 -0.07738284373 -0.004243349137 0.07763127358 -0.07804411415 0.077193332 0.07841409196 -0.004112897247 -0.003771899499 0.006195999222 -0.07590536389 -0.005819395352 0.07600378437 -0.076392379 0.07678815763 0.005824954434 -0.005819862152 0.006215640778 -0.005436541531 -0.00342855504 -0.03918813784 -0.07732598174 0.003361894589 0.003242106274 0.003136553001 0.00309398664 0.05158580437 0.002631706701 -0.05145196931 -0.001363268201 -0.001402273554 0.002679362517 -0.001469396187 -0.001402838839 -0.02641261374 0.00159897686 -0.002606539579 0.0518757032 0.002550306264 -0.05170894805 0.05178177099 -0.05164583458 -0.05182331642 0.002641876253 0.002612714782 -0.002428334799 0.05175547185 0.002406919174 -0.05159940711 0.05160462864 -0.05162018949 -0.002537541266 0.002467510426 -0.002483071279 0.002445696679 0.001194724515 0.02547342103 0.05141871605 -0.00122071639 -0.001243226523 -0.001261010123 -0.001309784409 -0.02554492492 0.02529118607 0.0009430989676 0.001098396772 0.02601445302 -0.02630773788 -0.000402090964 -0.001394678706 0.001402849804 -0.02844534216 -0.02814966862 -0.0249745978 -0.001838061985 0.02530136596 0.001258131384 -0.001334165648 0.001328469669 -0.02385985503 0.02437752443 -0.02438322041 0.02472792898 0.02453771702 -0.0008977702316 0.0003862235285 -0.0263914906 0.02660095033 -0.02689399027 0.02718749573 0.0006760173913 -0.02748092892 -0.0003812657803 0.0006747712384 -0.0009116770212 0.001059664701 -0.02698460125 -0.02721962343 0.06742456789 0.01230831085 -0.01199673172 0.01240397119 -0.01152864371 0.03357765939 -0.006538923187 -0.03379207681 -0.06737555685 0.06696779692 0.006408537035 0.006403194076 0.006434477922 0.00638464793 -0.0665155546 0.06610702747 0.01276336133 0.006728500824 -0.03349600172 0.007070636956 -0.00717479887 0.03014862571 0.02955928753 -0.02646858561 0.02612061349 0.0006117700776 0.001002308886 -0.02657654528 0.02621752664 0.0007674151222 0.001058433674 -0.004140577715 0.002911571468 -0.02468730428 -0.02364689549 0.02810341488 0.02188568583 -0.004940303221 0.00635607322 0.02668764489 0.02982351763 -0.00180807448 -0.004121209061 0.05448983981 0.004052356952 0.05426847918 -0.001969353566 -0.02722468877 -0.02730355843 0.01965455195 0.02724559919 -0.05428704752 0.0544682774 0.004195797316 -0.002145517327 0.004128501009 -0.001528683296 0.02637811284 0.001751885378 -0.02677964935 0.02640031071 -0.02603692417 0.02574105657 0.001564512359 0.001777524054 0.02463820854 -0.005239108335 -0.0248455817 -0.05079384765 0.05042755368 0.005225851422 0.005358554549 0.005723591769 0.005524116325 -0.04992290382 -0.009484640618 0.05046584153 0.01010845109 -0.009603801236 0.005313954007 -0.0249257457 0.009062226556 -0.00862827938 0.05088038363 0.05047430482 0.009370745719 -0.05020165902 -0.009583736603 0.04666397757 -0.02254353321 0.004426135147 -0.02380050926 0.0475313 0.02312998802 0.003122682164 -0.005166165417 -0.02242034565 -0.02485019079 -0.03991272578 0.01178830173 0.005164575005 -0.002391619178 -0.007167289916 0.008050911817 0.0001682793608 -0.001051901276 0.002768302554 -0.004063794692 -0.01826021798 0.01751764366 0.03736269224 0.007279713922 -0.03340053896 -0.007275920908 0.03363295986 -0.0330310918 0.03352650251 0.03291262454 -0.007725695295 -0.00746054788 -0.01798831941 0.01839584804 0.0003018269642 -1.181412343e-05 0.01636645888 -0.01659814001 0.0001365357934 -0.002413945187 0.001719070858 -0.01892628431 -0.006855205913 0.03449114935 -0.03443732769 0.03489351186 -0.03464951791 -0.007507880183 0.03401012724 0.007610094744 -0.007366100797 0.007063459244 -0.006782428911 0.03444231665 0.03400061415 -0.007811369039 0.02809879953 -0.02929528445 0.02924868405 -0.02905006468 -0.007210280917 0.02911923709 0.007765399278 -0.007566779903 0.007320129256 0.029369712 0.02925343737 0.007521253838 -0.02773553819 -0.00726418309 0.02663604693 -0.02662544613 0.0267565049 0.02687678695 -0.007812487347 -0.007508533446 0.006416380217 -0.02724681473 -0.006533958353 0.0272910088 -0.0269482313 0.02735372342 0.02674364514 -0.006565706131 -0.006546691725 -0.01294594901 -0.04163199096 0.01210989006 0.0427505369 -0.04222711036 0.04442163205 0.04181841401 -0.04105374062 0.01295348626 0.012240952 0.0445508337 0.009870320737 0.01046675365 -0.01346497246 -0.03873529591 0.01269504195 0.04058144235 -0.03987898481 0.03890232477 -0.01510987454 -0.03783604453 0.01382584331 -0.01480250335 0.01596534978 -0.03995532437 -0.03873733116 -0.005667842909 0.00388509925 0.04092398524 0.04082313211 0.001679574181 0.002175173754 -0.0407193788 -0.002917274716 0.001416271751 -0.002371317475 0.002965854826 -0.003236681008 0.04024614059 0.04173907649 -0.004838640491 -0.003780571514 -0.03655920013 -0.006142877935 0.03666649847 0.006108190672 -0.006230542175 0.006097951607 -0.03586930617 0.03612666495 -0.03625925551 0.03604444566 0.03665993705 -0.03723478896 -0.00626486821 0.006408521959 -0.03744686019 -0.005878844769 0.03692604161 -0.03788624305 0.03652503286 0.03843401021 -0.03798048588 -0.006002883185 -0.00567268565 0.005622890211 -0.036733411 -0.005634153975 0.0375483447 -0.03734384934 0.03683877163 0.005305601347 -0.005416771555 0.004911693841 -0.005555084647 -0.003741930653 -0.03665749152 -0.03303559831 -0.007584089521 0.03295856241 0.006651503279 -0.007300792993 0.007325289586 -0.03256296299 -0.007157705952 0.03283757611 -0.03281307952 0.03261865682 0.0330225619 -0.007542427446 -0.007248687024 -0.002138465913 0.02590679557 -0.02541136905 0.02562208567 -0.02543924709 -0.02612709216 -0.003149823101 0.002398747173 -0.002903753656 0.003703221207 0.02578012767 0.02598186103 0.001386595992 -0.02634951487 -0.001048455833 0.001408735961 -0.001627661204 0.02590708051 -0.02600867214 0.0257897469 -0.02623099825 -0.02558870765 0.001673790669 0.02535760927 0.001050819066 -0.02573807615 -0.000463003021 0.0008708912268 -0.001144189132 0.02450113951 0.001260476553 -0.02507168282 0.02479838492 -0.02527944258 -0.02450085796 0.02420409001 0.00108424552 0.001222756816 -0.002019110058 0.02443909698 0.001658359831 -0.02454102028 0.02510148765 -0.02384717516 -0.02533340118 -0.0014065999 0.001748500913 -0.001980414434 0.001547225461 0.002167401039 0.02597645784 -0.002678017816 0.02580812476 0.001893580959 -0.02489345991 0.02617154459 -0.02396460834 -0.02715056507 0.02748810213 0.002427127936 0.001779363904 -0.001194497573 0.02403888456 0.001259003456 -0.02393415658 0.02372959509 -0.02367256357 0.001435370857 0.001373203025 0.02314083864 0.001580868933 -0.02324840313 -0.001562537138 0.001686146276 -0.001592979139 0.02302950817 -0.02298234377 0.02307551092 -0.02290508258 -0.0233287351 0.001782949861 -0.005801033333 0.005640004056 0.04174788285 0.04203695614 -0.007880517838 -0.04165334121 0.007351775624 -0.007983273908 0.009167855459 0.044016708 -0.04236516823 0.04354974979 -0.04190248021 -0.0443176971 -0.008079826558 -0.003253511892 0.02515383618 0.002199424864 -0.02302831534 0.02427322424 -0.0229229779 -0.02637274826 0.02770363953 0.00386054161 0.002492647566 -0.0005999104749 0.02376655029 0.0007558344623 -0.02359207385 0.02335964134 -0.02381426603 -0.02311660378 0.0007692071612 0.0008751216053 -0.000325721372 0.02707761965 0.0005490247981 -0.02675424916 0.02655878055 -0.02696402019 -0.02637213645 0.0261859618 0.0003198088339 0.0005441365757 -0.001102217226 0.02793044714 0.001134200147 -0.02784484929 0.02752480545 -0.02721025093 0.0006057204694 0.000791878651 -0.0005620829698 0.02592509428 0.0007615148381 -0.02636734359 0.02611243755 -0.02662104611 -0.02586049193 0.02562516089 0.0005527492935 0.000750074605 -0.0008703740962 0.02669747505 0.0009875730021 -0.02739368933 0.02715052474 -0.02688190837 0.0006920803214 0.0008708722607 -0.0005192057298 0.02444152705 0.0006987699065 -0.02447412523 0.0242501538 -0.02470841111 -0.02403312818 0.0005227575073 0.00069845994 -0.0005446423454 0.02517279195 0.0007268199275 -0.02539567057 0.02516993056 -0.02494298302 0.0005345595232 0.0007170536639 0.0006602069972 -0.0009711198827 0.0389236531 0.04014272407 -0.004753343725 -0.002841019571 -0.000273299596 0.02612096733 0.0005271427462 -0.02596269044 0.025745263 -0.02553151445 0.000275101974 0.0005304145886 0.004677198977 -0.03904821743 -0.005009668932 0.03983550286 -0.03902098665 0.03867210213 0.03721154309 -0.00361790388 -0.00458177193 0.005190651381 -0.03701113666 -0.005393996619 0.03693471292 -0.03609032747 0.0365855683 -0.006505421468 -0.005967385752 -0.001025304432 0.001158376101 -0.02503768919 -0.02718085507 0.002837498475 0.002044280398 0.003460200525 -0.02688057235 0.02807594401 -0.02707075774 0.02841794875 0.02573395571 0.00240442272 -0.004033156228 0.002696354193 -0.001877091047 -0.02594026817 -0.02744550133 -0.0006965771264 0.0009637276405 -0.0007626051956 0.001077216755 0.0004727530723 -0.02747884898 0.02777521702 -0.02806506914 0.02832037689 -0.000675989392 0.03573225549 -0.03475713377 -0.00629228411 -0.006481837076 0.007819221736 -0.007091751821 0.03473306246 0.02992184081 -0.006916436834 -0.00710905182 -0.0004660192608 0.0008937552424 -0.02575659293 -0.0007959220042 0.001087201526 -0.02585932275 -0.02370549303 0.001512670413 0.001591372503 -0.003374007594 0.02603538596 0.003279034181 -0.02558613728 0.02568625925 -0.02607458934 0.02679001036 0.006078037439 0.005795051862 -0.0229321136 -0.0055995184 0.02325506735 0.005545827693 -0.005781261181 0.005763002035 -0.00566619717 0.02405122715 0.02407999013 0.02300888794 -0.006298333957 -0.00650021564 0.01836997974 -0.1315265622 -0.02000215145 0.03670893199 -0.02184786074 -0.02167041718 0.1300551502 0.1305798336 0.1278257307 0.0233641881 -0.03146526279 -0.2524884009 0.02683696187 0.2588054907 -0.2535617615 -0.01854979951 0.2488976216 -0.2454452249 0.0309784084 0.02658619159 -0.2491163102 -0.02622498436 0.24568044 0.01476503841 0.01489575351 -0.0269382699 0.01526693739 0.01532367099 0.1255651162 -0.01635016265 0.02386846318 -0.2526564348 -0.02150335147 0.2494956635 -0.2525696933 0.246912979 0.2557281244 -0.02381887395 -0.02119338336 0.02923883214 0.006999553786 -0.006952747645 0.007042605453 -0.007054313575 0.02941541906 -0.02937132916 0.02935962104 -0.02909916372 0.02875940053 0.007396387487 0.06471499278 -0.01121374608 -0.06510221081 -0.1310051528 0.1295912008 0.01081863103 0.01089081005 0.01081511581 0.01095163432 -0.1282372415 -0.02016359048 0.12692618 0.02164570483 -0.02029174548 0.01150979594 -0.06474313244 0.01743816074 -0.01057945268 -0.02051175244 0.01239961984 -0.01069945597 0.01459447199 0.009558115189 0.01666810607 -0.006746795905 -0.01761965072 0.01647830994 -0.01916543875 -0.01373889007 -0.007426632274 -0.005708858999 -0.02020684889 -0.02724163178 0.0197802736 0.03731881613 -0.02504225826 0.007300016936 0.02493275147 -0.01670838455 -0.02546090075 0.01807763279 -0.01818713957 0.01751470087 0.01707585024 -0.02154196731 -0.02243566082 0.03346782146 0.06297952 -0.01756239439 0.06307868973 -0.125718522 0.1283210919 0.03086525153 0.02864420846 -0.1243336586 -0.06719645636 -0.01764944 -0.01817118644 -0.01787153107 0.06614083358 0.06604755121 0.06383757901 0.01906957391 0.04033995795 -0.01011243203 0.009439124385 -0.009861056212 0.0102653966 0.04284042171 -0.0413638232 0.04176816358 -0.04086172073 -0.04232980136 0.04297612623 -0.01020577818 0.05084780514 0.0019041259 -0.05080133943 -0.001999077514 0.001939956404 -0.001010079888 -0.001882522726 0.05111033969 0.001835386002 -0.05096196316 0.05101939683 -0.05091296823 -0.0510756678 0.05113497231 0.001917468075 0.001862416252 -0.001764622974 0.05091501666 0.001716836357 -0.05076668511 0.0508149076 -0.05071963178 -0.05086376823 -0.001875390711 0.001791927616 -0.00184078824 0.00174378355 0.001886301628 -0.0009544046775 0.05075939317 0.00734666973 -0.03148261952 0.03130108849 -0.03166943602 0.03102208277 0.03214582234 0.007927088581 -0.007435131455 0.007911517779 -0.008496987979 -0.03231206723 -0.01287342206 0.06516253249 0.006632411984 -0.06571411787 0.06527892292 -0.06487876436 -0.01236353389 0.06445373035 0.01280415619 -0.01240399763 -0.001598929023 0.02632514749 -0.02687143683 0.02668251538 -0.0270142086 -0.02645689075 -0.001366849778 0.001590200905 -0.001364576278 0.0009996400716 0.02671980375 0.007682069093 0.04407765464 -0.04328025598 0.04297153891 -0.0423122595 0.007478794545 -0.006824757806 0.007484037221 -0.007656826593 0.0416846447 -0.001985211683 0.05130404762 0.001943534323 -0.05118788096 0.05122522398 -0.05126039579 -0.002060255531 0.002005211132 -0.002040382945 0.001970302429 0.002052734011 -0.000958916111 0.05121972933 -0.0267426051 -0.0008865878369 0.02665388433 0.001038720768 -0.0009891113625 0.0008763037838 -0.02823047447 0.02754487143 -0.02765767901 0.02736692317 0.02761262824 -0.02727919866 -0.001223147945 0.002627296291 -0.02559930441 0.02660809287 -0.02578910156 0.02513301881 0.001422860081 -0.02479005397 -0.002331230585 0.001675147839 -0.001312970264 -0.02533484453 -0.02511738743 0.02696228466 0.002377104741 -0.02622916841 -0.002869628434 0.002294889272 -0.001974260195 0.02639527203 -0.02655716539 0.02687779447 -0.02617578723 -0.02702675597 0.001874767719 -0.03065792213 -0.007042167852 0.03051025381 0.007162658361 -0.007071728452 0.006986261293 -0.03069537547 0.03061679821 -0.03070226537 0.03083294159 -0.006999656864 -0.006623071889 0.03345827455 -0.03306970841 0.03318279225 -0.03316802855 -0.03326197125 -0.00680354468 0.03314943708 0.006649152069 -0.006728331069 0.00668714185 0.03289485242 -0.01536460838 -0.0745066225 0.01451521639 0.07621551201 -0.07530124927 0.0181785208 -0.07506806877 0.01705771489 0.01774461064 -0.07385241532 0.03364743315 0.007325689706 -0.006885598929 0.007066390895 -0.007113415041 0.033577814 -0.03365105936 0.03360403522 -0.03342817377 0.007189691028 0.06254185843 -0.02164785439 -0.06160783894 0.02211411192 -0.02340598877 0.02075454072 0.02483276916 0.06113380238 -0.06152558661 0.062952367 -0.06052668908 -0.0649880777 -0.0144388688 -0.0143087783 -0.02689407372 -0.01514400739 0.03210007279 0.03179872101 0.006168536816 -0.03521107469 0.03528182993 -0.03553534685 0.03514847122 0.03582495024 0.006331793727 -0.00619035794 0.006479961323 -0.006963169188 -0.03640446757 -0.001469498961 0.02224409843 -0.02193894446 0.02237389081 -0.02152450735 -0.02271019454 -0.001689263432 0.001516133069 -0.001852436799 0.002317915536 0.02311463311 0.0005997344913 -0.02720356838 0.02672940506 -0.02694948771 0.02650769158 0.02716255586 0.0008437870323 -0.0006119054259 0.0008249735804 -0.0009476857349 -0.0265299272 -0.0257311759 -0.0008366921392 0.0009679240295 -0.0008315154029 0.0006116094965 -0.02609735498 0.0258418943 -0.02606180021 0.02628399382 -0.0006029362312 0.0007659392688 -0.02518323487 0.02509485447 -0.02522264178 0.0249676282 0.02535042636 0.0008772587949 -0.02547772408 -0.00075761047 0.0008853950569 -0.0009430847771 -0.02530452786 -0.02536329732 -0.02504055608 -0.001177369703 0.00102811969 -0.001027882662 0.0009838065094 -0.02435851537 0.02470241537 -0.02474649152 0.02484691575 -0.0008532331539 0.03901895611 0.004467695165 -0.004679647651 0.005021656197 -0.005553774008 0.04026158558 -0.04005113289 0.03951901507 -0.03875684248 0.03819072291 0.00605708821 -0.001715940751 0.02584632744 -0.02566422685 0.02569017061 -0.0257173641 -0.02585890956 -0.002259655948 0.001829338079 -0.001998077025 0.002248053077 0.02566037134 0.02615283458 0.001438006666 -0.02635439602 -0.001233966991 0.001448979178 -0.001547812256 0.02590721023 -0.02600453515 0.02590570208 -0.02611351571 -0.02580670545 0.001568121083 0.02402213655 0.005537091267 -0.00535730292 0.00523848586 -0.003868080237 0.02208482155 -0.02332925142 0.02469965704 -0.02368053627 0.02383104718 0.005282220457 -0.02662318523 -0.006551483116 0.0263667101 0.006829619455 -0.006661562779 0.006482786482 -0.02695952221 0.02671629805 -0.02689507435 0.0264157736 0.02715834439 -0.006453261522 0.02997282901 -0.01551375063 0.01607973634 -0.0167422155 0.01741072098 0.02880648023 -0.02918873197 0.02985723745 -0.0286331596 -0.03079579248 -0.01931091996 -0.006690812912 0.02742060793 0.006746512149 -0.02782116575 0.02748642606 -0.02699902402 -0.001562089664 0.02676864198 0.001638243628 -0.001150841584 0.0006549804127 0.006080037955 0.02619178372 0.02589327249 -0.008004402769 -0.004154046113 0.01001354468 0.004533547062 -0.004487038017 0.005275507987 -0.02703182396 0.001690560607 0.01591321192 -0.01512474195 0.01670552402 0.02414937837 0.00919291578 0.003570979514 0.0008336826784 -0.0006929258806 -0.4582419626 0.001008044093 0.4580676012 0.001275153983 -0.4582460645 0.001500408766 0.2290242366 0.2289965731 0.001784647443 0.2289991777 -0.458216952 0.002118261633 0.2289112502 0.002498292454 0.2289417772 -0.4581911804 0.002909571215 0.2288595904 0.003342387045 0.2289146413 -0.4581787739 0.003790844501 0.2288271088 0.004228961108 0.2289099448 -0.4581949999 0.004620584046 0.2288664878 0.004951212399 0.2289794006 -0.4582543702 0.005188066405 0.2289819604 0.005312324364 0.2291022374 -0.4583361202 0.005309148637 0.2291566204 0.005189227721 0.2292634455 -0.4584138618 0.004955816296 0.2292971931 0.004645500083 0.2294057366 -0.458460282 0.004273091285 0.2293854943 0.003864351881 0.2294754288 -0.4584795925 0.00345612285 0.229410265 0.003045960316 0.2294767788 -0.4584697761 0.002669368594 0.2293909011 0.002337337626 0.2294360836 -0.4584098265 0.001905322006 0.4588418421 0.001516296697 -0.458430698 0.4588297089 0.001117285779 0.00116019811 -0.4579681421 0.001410676126 0.4577176641 -0.4581518236 0.001621525523 -0.4577845473 0.001952404736 0.4574536681 0.001153853792 0.001261043803 0.2284968857 -0.2286541005 -0.001417634296 -0.0009494518077 0.2289225895 0.001357256131 0.2287300772 -0.001233536187 -0.2288697462 0.2287372008 0.001489801501 0.001269448419 0.001961733205 -0.001796628911 0.2285993819 -0.2287831636 0.228605985 0.002138911845 0.001792812163 0.002713966427 -0.002517718476 0.2284898047 -0.2287292878 0.2285235869 0.002919667306 0.002435903947 0.003551907928 -0.003345550919 0.2284720514 -0.2287447704 0.2287195102 0.003576113185 0.003095819379 0.002977834001 -0.003202134327 0.2290053505 -0.2289154998 0.229067269 0.002825403585 0.003595214164 0.002957930341 -0.002813354474 0.2288245912 -0.2290485995 0.2288432124 0.003164025154 0.003860945374 0.004228486595 -0.003846410964 0.2288650856 -0.2293500403 0.2290883525 0.004491780804 0.003824804126 0.004330287835 -0.00446337129 0.2295832124 -0.229538961 0.2297040454 0.004165203489 0.003419483199 0.003627533915 -0.003812165278 0.2297445521 -0.2296197727 0.2298209596 0.003426347043 0.002839017504 0.002855339417 -0.003044429612 0.229759474 -0.2296101436 0.2298021362 0.002663346805 0.002223802164 0.002770315388 -0.2298955355 -0.4597805656 0.001297340463 0.4629363962 -0.002121247983 -0.002331923087 -0.00193225521 -0.001690922979 -0.001253871628 -0.460089686 -0.001620468557 0.4604562829 -0.0006618960491 -0.4591923023 0.459157345 -0.4589915205 0.007157308142 -0.4577054598 0.007209182506 0.4576535854 0.005702361912 -0.4573311083 0.004901931557 0.4581315386 0.001609992302 0.001871365461 0.2277056955 -0.2279109907 -0.001905647796 -0.001557703827 0.2283171688 0.002084936352 0.2280215241 -0.001871544509 -0.2281718209 0.2279389541 0.002317803115 -0.2283825167 0.002135632976 0.003121109638 -0.002835414644 0.2276383603 -0.2278666647 0.2275540807 0.00343369368 -0.2281463969 0.003134042885 0.002212060468 -0.002826133861 0.2290757217 -0.2290074396 0.2295439592 0.001667477359 -0.2283854004 0.002479474883 0.0005134878103 -0.0008148822429 0.2300929915 -0.2298580592 0.2300563871 0.0003045744042 -0.2295522851 0.0007134464938 0.0001633799189 -0.0001405592163 0.2293968341 -0.2292004828 0.2291070011 0.0002521190828 -0.2292104972 0.000269579919 0.0007543059687 -0.0005549869518 0.2281559773 -0.2281331114 0.2279056837 0.0009860694086 -0.2283656275 0.0008851118497 0.001839602468 -0.001524423729 0.2273420279 -0.2276439372 0.2273049771 0.002189743479 -0.228075426 0.002310185259 0.003509135545 -0.003023491803 0.2276775996 -0.2285692502 0.2280375346 0.00405136446 -0.2291937803 0.004535943442 0.005859926105 -0.005253493326 0.2298092304 -0.2306185403 0.2306457647 0.005833847183 -0.2303077371 0.005241584578 0.004743947745 -0.005114399353 0.2309569812 -0.2305642208 0.2309818739 0.004326294628 -0.2302691347 0.003999236578 0.001640611917 -0.2324096986 -0.4633765828 0.002749656489 0.4616246318 -0.001924051724 0.0009263462527 0.001688989753 -0.001533815598 0.002872760059 -0.4602352405 0.002249487482 0.4608585131 0.001605109364 -0.4595454544 0.4602625651 0.002549963887 -0.4564122674 0.003199679939 0.4557625513 0.004666244993 -0.4568297222 0.00681757106 0.4546783961 0.00853965761 0.004427059088 0.2275779783 -0.2313343047 -0.005648011305 -0.002293912437 0.2277373348 0.002960165972 0.2276220204 -0.003255950584 -0.2271386997 0.2271676916 0.002931174048 -0.2274139124 0.002757346687 0.002193524942 -0.002644344942 0.2283426724 -0.2287072871 0.2290771532 0.001809515927 -0.2282110256 0.002109233238 0.001197410472 -0.001295878546 0.2302814515 -0.2303890677 0.2303360874 0.001225811078 -0.2302571753 0.0009178791298 0.002032333743 -0.001650594772 0.2296206752 -0.2297081398 0.2292177492 0.002502328838 -0.230001229 0.0014176691 0.004216391867 -0.003630183095 0.2279468878 -0.2281982965 0.227626797 0.004779991594 -0.2286246377 0.002993979857 0.006004140591 -0.005697297873 0.2271240933 -0.2272796814 0.2270952868 0.006195219719 -0.2274779346 0.004196968904 0.006131821755 -0.006244039572 0.2271319574 -0.2269725751 0.2271589988 0.005965338275 -0.2269499809 0.004405585737 0.005420153355 -0.005585208584 0.2273144147 -0.2273293486 0.2274727502 0.005303170774 -0.2273904253 0.004513696107 0.004845049796 -0.005182012395 0.2289749699 -0.2294166152 0.2302519649 0.004028893303 -0.2296038754 0.005323076982 0.001990525643 0.001425191306 0.2343144857 -0.233866866 0.2326190565 0.003238494497 -0.2341572624 -0.001917213288 0.004102574771 -0.2323540169 -0.4630096103 0.005502909123 0.4646593473 -0.003654576179 -0.003498069932 -0.003277199883 -0.002941202171 0.003988437367 -0.4619593757 0.002779090721 0.4631687223 0.001944174464 -0.4609032053 0.4615656821 0.001469746754 -0.4553058736 0.002344430838 0.4544311895 0.002894395051 -0.4537643089 0.003592912585 0.4530657913 0.002280269249 0.002198240708 0.225411279 -0.22547823 -0.002438345609 -0.003165842693 0.2261788644 0.003407645218 0.2258356499 -0.003142718528 -0.2278363845 0.2268276644 0.004408814157 -0.2313667664 0.009899891397 0.01114703665 -0.009900536916 0.2306432142 -0.2322616249 0.2345970156 0.008788015791 -0.2298497686 0.003241295456 0.004163514602 -0.004409002234 0.2296827102 -0.2290308745 0.2285811467 0.004577055783 -0.2296509037 0.003376827679 0.007830232865 -0.00658126064 0.225814023 -0.2263871285 0.2251032684 0.009090432781 -0.2275575378 0.007234257281 0.01359091841 -0.01208429919 0.2233788515 -0.2248113927 0.2233969704 0.01499781309 -0.2259607033 0.01211044766 0.01769761494 -0.01712662336 0.2253359478 -0.2265766799 0.2263950578 0.01788492148 -0.2267487103 0.01449270164 0.0148621567 -0.01665106724 0.2304369116 -0.2291547669 0.2310718136 0.01296643624 -0.2281050522 0.01216569431 0.005593175246 -0.008136459591 0.2320193086 -0.2307494582 0.2351317405 0.001241786122 -0.228607888 0.00630326797 0.006003688187 -0.0037051584 0.2309696503 -0.2302230567 0.2302451726 0.006010985062 -0.2317688292 0.003344213417 0.005216570929 -0.00545318137 0.231275838 -0.2317301753 0.2318719927 0.005089378827 -0.2317261093 0.005046300738 0.003997966274 -0.2343284411 -0.4666985991 0.005649688741 0.4680528098 -0.003301790792 -0.003702108634 -0.003837471349 -0.00382840188 0.00441828145 -0.4641747856 0.00346019513 0.4651328719 0.003001553626 -0.4617392556 0.461853582 0.0004479133505 -0.4534356024 0.0007731847016 0.4531103311 0.001854721157 -0.4524664457 0.002669412115 0.4516517547 0.001665428864 0.001440979544 0.2252266692 -0.2253166298 -0.001479645341 -0.002313365168 0.2254431522 0.002167308513 0.2262013848 -0.002290172126 -0.226655046 0.2265020232 0.002299394957 -0.2267402968 0.002310244376 0.003368786552 -0.002876312779 0.2268549883 -0.2272348909 0.2265570926 0.00400845737 -0.2280126756 0.003950702187 0.007638264343 -0.005994708605 0.2241644016 -0.227053476 0.2235710561 0.01108201149 -0.2313151672 0.0142845468 0.01784102883 -0.01663069305 0.22294603 -0.2210916368 0.2192099242 0.01970595805 -0.2239122153 0.01829271698 0.02605431939 -0.02426420898 0.217074401 -0.2176374121 0.2164023288 0.0272882326 -0.2196243441 0.02412695528 0.03308808552 -0.03199928038 0.2217887295 -0.2274460852 0.2285210084 0.03201360359 -0.2265165843 0.0282506578 0.02445405149 -0.02861659777 0.2392420429 -0.2363443277 0.2419301629 0.01887977948 -0.2333627527 0.02076821799 0.01778921898 -0.01749460326 0.2386354758 -0.235959881 0.237456622 0.01632053767 -0.2365055501 0.01400226907 0.01103500518 -0.01263942947 0.2353969769 -0.2333459271 0.2348523087 0.009567591685 -0.2320818278 0.008831959834 0.005801474049 -0.006913565399 0.2343070169 -0.2335809158 0.2342885028 0.005127930801 -0.232700406 0.005146070608 0.003986010579 -0.2354299207 -0.4695629225 0.005589315076 0.4715011673 -0.00367206231 -0.003855795001 -0.003755681576 -0.003589028623 0.004362342474 -0.4660363135 0.003921219747 0.4664774362 0.003057522493 -0.4626224127 0.463347684 -0.0007862896431 -0.452853844 -0.0006425027376 0.4527100571 -0.0004620525704 -0.4506461746 -3.518502294e-05 0.4502193071 0.0009250323441 0.0003431225522 0.2244357176 -0.2246624764 -0.0005787790647 -0.00123264337 0.2250835947 0.001601806667 0.2250331593 -0.001340235061 -0.2254827328 0.2251086628 0.001951244233 -0.2258207982 0.001898563096 0.00360615417 -0.002938675677 0.224186345 -0.2241897376 0.2234224011 0.004337391205 -0.2250957355 0.004791036234 0.007517594355 -0.006493972736 0.2195367456 -0.2188393435 0.2180653835 0.008258116223 -0.2200327475 0.008521173665 0.01304322147 -0.01097571978 0.2100965059 -0.2095313178 0.2070692542 0.01550306433 -0.212594249 0.01832349088 0.02450819016 -0.02415643966 0.1078524444 -0.1144281899 0.113412681 0.02552369898 0.02300621968 -0.114273878 0.02274931853 0.2508968538 -0.2459347887 0.249366352 0.01934153047 -0.2426442467 0.01945225065 0.01248899629 -0.01435717627 0.2435704324 -0.2403373973 0.2420117693 0.01084500643 -0.2385276769 0.01024649074 0.006730940577 -0.007932699903 0.238657118 -0.2368910351 0.2379468152 0.005702188438 -0.2359240637 0.00573752836 0.003003314411 -0.2375982746 -0.4730263704 0.004514174565 0.4738036755 -0.002534059083 -0.00275809294 -0.003093233062 -0.003387876208 0.003445845462 -0.4675353384 0.002512703316 0.4684684806 0.001831996277 -0.4640822184 0.4645151974 -0.002194053165 -0.4527616301 -0.00227944246 0.4528470194 -0.002369568245 -0.450047399 -0.002414542259 0.4500923731 -0.001028008232 -0.001268654643 0.2234369953 -0.2234050368 0.00122080782 -9.170698872e-05 0.2240931958 0.0003440373042 0.2237415905 -4.404007983e-05 -0.2238671821 0.2238031397 0.0003946891338 -0.2242755383 0.001111675797 0.001482895176 -0.0009665202029 0.2219643473 -0.221562616 0.2209902094 0.002031924014 -0.2219996412 0.002666302498 0.003652418057 -0.003133750566 0.2166713602 -0.2152212411 0.2147347982 0.004120878555 -0.2159853646 0.005268937852 0.02304992176 0.1403312425 -0.1367483219 0.1389298293 0.02086841435 -0.13449952 0.02158666997 0.0204095388 0.2652335913 -0.2583811762 0.261252902 0.01754866121 -0.2553320946 0.0193154145 0.01100826992 -0.01291751531 0.2517981725 -0.2476768271 0.2493772427 0.009325500803 -0.2458987111 0.01070826267 0.005409497938 -0.006504355809 0.2438081303 -0.2415682 0.2424055202 0.00458038102 -0.2403455305 0.005300507398 0.001670692417 -0.2400406507 -0.4755098241 0.001873361868 0.4767506074 -0.001360086911 -0.0017498687 -0.002307175731 -0.002346382427 0.0007513628015 -0.4690748494 0.0002605325787 0.4695656796 -1.389409841e-05 -0.4650418202 0.4651621549 -0.003520101675 -0.4530963543 -0.003903509445 0.4534797621 -0.004236733428 -0.4503110969 -0.004627080804 0.4507014443 -0.002367876169 -0.00261013666 0.2235394349 -0.2235889396 0.002849835552 0.00157903003 0.2235343913 -0.001889453175 0.2231563489 0.002061182839 -0.2228283719 0.2225867754 -0.001651665656 -0.2230984279 -0.001217182465 -0.0007608526731 0.001071591093 0.2203743684 -0.219722847 0.2194316965 -0.0004758441625 -0.2200784216 0.0001392122381 8.858785155e-06 6.713452523e-05 0.215794668 -0.2142569005 0.2143091458 -4.774283776e-05 -0.2142999251 0.0008636539549 0.009118066982 0.1517536123 -0.1487788024 0.1492175484 0.008679321001 -0.1481004019 0.01055308793 0.008612554965 0.2725277258 -0.266936634 0.2677848079 0.007767159213 -0.2655354278 0.01059146532 0.005246509694 -0.006057693447 0.2568539143 -0.253131955 0.2539539364 0.004432021942 -0.2520714964 0.005917814496 0.002246490361 -0.002929551973 0.2472601811 -0.2449185647 0.2455484626 0.00162359533 -0.244174336 0.002488639906 -0.001079266667 -0.2416296107 -0.4772594079 -0.001783801197 0.4772285172 0.001139619123 0.0006783987205 -0.0001321110627 -0.0004843286258 -0.001728879319 -0.4699570787 -0.002465376396 0.4706935757 -0.002256711177 -0.465297822 0.4649413205 -0.004839401142 -0.4539811326 -0.00541060729 0.4545523387 -0.006070477741 -0.4512580111 -0.006782961342 0.4519704947 -0.003757622287 -0.003983721715 0.2235229975 -0.2234961878 0.004097911931 0.00318511961 0.223504625 -0.003380444007 0.2227153537 0.003472939309 -0.222066977 0.2219490764 -0.003243015538 -0.2222058691 -0.002879060526 -0.002738568152 0.002904849229 0.2195807768 -0.2188599105 0.2187626931 -0.002618174107 -0.2190052725 -0.002132083927 -0.002694035339 0.002571639984 0.2160740443 -0.2148139793 0.2150665936 -0.002934279608 -0.2145922804 -0.002314018361 -0.00561180522 0.1481850018 -0.147158483 0.1463490052 -0.004802327485 -0.1478882371 -0.003334407501 -0.004675386338 0.2699619389 -0.2673152531 0.2663315562 -0.003695123769 -0.267927697 -0.001025688195 -0.002341005413 0.002622438555 0.2572447891 -0.2549694716 0.2548625201 -0.002236488954 -0.2548623583 -0.0005692468901 -0.002373522133 0.002272191625 0.2485314594 -0.2466405165 0.2467045663 -0.002443435511 -0.2464329878 -0.001395011967 -0.004093316833 -0.241839976 -0.47681408 -0.005946373331 0.4758042289 0.003753706037 0.003206090366 0.00243087058 0.001950436392 -0.005103980037 -0.4705402369 -0.004429524534 0.4698657814 -0.004612232498 -0.4646689392 0.463980801 -0.006043561639 -0.455332936 -0.00681934837 0.4561087227 -0.007766059333 -0.4528262949 -0.008699030248 0.4537592658 -0.004759252572 -0.005053429264 0.223741687 -0.2236594979 0.005181329723 0.004386257446 0.2235561275 -0.004639658646 0.2226217617 0.004678547976 -0.22173536 0.2217012177 -0.004562380515 -0.2217830583 -0.004266102045 -0.004297510764 0.004368722835 0.2193361745 -0.218655786 0.2186801207 -0.004270723725 -0.2186630317 -0.003897158663 -0.004681337864 0.004441893516 0.2169745013 -0.2160321363 0.2164143341 -0.005036650952 -0.2156812864 -0.004567350249 -0.01388483206 0.1388030678 -0.1390208809 0.1378881009 -0.01275205208 -0.1401628697 -0.01193476254 -0.01434830235 0.2617954114 -0.2617898041 0.2599535602 -0.0125273087 -0.2635143659 -0.01068780181 -0.009124935518 0.009832830945 0.2544546653 -0.2535200053 0.2527815982 -0.008407658727 -0.2541015516 -0.006779868266 -0.006648967495 0.007107543937 0.2475720406 -0.2461493349 0.2457756781 -0.006297429299 -0.2464048282 -0.005417179275 -0.006472142981 -0.2404917308 -0.4743079003 -0.009532961198 0.4724768896 0.005912723542 0.005454669992 0.004891481428 0.004449713298 -0.008151148437 -0.4688516919 -0.006789821208 0.4674903647 -0.005814219107 -0.4643821014 0.4641371949 -0.00692839646 -0.4570325775 -0.007986453607 0.4580906347 -0.009021937864 -0.4548541012 -0.01021216786 0.4560443312 -0.005330623894 -0.005802045201 0.2240863366 -0.2239352377 0.005938907661 0.005321540574 0.223810035 -0.00585335798 0.2227847031 0.0058126704 -0.2216821192 0.2213405774 -0.005444282171 -0.221676661 -0.005271144925 -0.005299172511 0.005317828301 0.2194720808 -0.2189077135 0.2190324282 -0.005343729504 -0.2188116704 -0.005127325936 -0.006057877639 0.005704951349 0.2184043067 -0.2177746973 0.2183058087 -0.006549234524 -0.2172824408 -0.006223806068 -0.01655924349 0.129004968 -0.1298344503 0.1286354436 -0.1309253587 -0.01902135775 0.2526855633 -0.2540423515 0.2520247293 -0.01703608591 -0.2561706869 -0.01622092914 -0.01315205864 0.01429807486 0.2501201641 -0.2498292418 0.248901376 -0.01227413385 -0.2508265381 -0.01146003934 -0.01010813226 0.01076804208 0.2449235333 -0.2442014047 0.2435419932 -0.009483447063 -0.2447985063 -0.008926081406 -0.008067476988 -0.237603903 -0.4705172713 -0.01224320757 0.4684153888 0.007339403758 0.007005720224 0.006656008912 0.006361352313 -0.01030711765 -0.4660798962 -0.008847012367 0.464619791 -0.007606113903 -0.4631729009 0.4619299895 -0.02499473992 -0.4591707648 -0.02798040112 0.462156426 -0.03099504731 -0.4572637278 -0.03426598006 0.4605346606 -0.01470905849 -0.02101291649 0.2242809115 -0.2241614 0.02122708597 0.005708763211 0.2240814669 -0.005788523342 0.2228299888 0.005877253497 -0.2217764042 0.221753583 -0.005664107658 -0.2218358752 -0.005339617825 -0.005403220342 0.005443647472 0.2199072406 -0.2195940884 0.2197535503 -0.005450026066 -0.2193361143 -0.00581068164 -0.006652713831 0.005929258572 0.2204161826 -0.2201255629 0.2208563214 -0.007333701451 -0.2194858362 -0.007254199241 -0.003322249223 0.05336118337 -0.05312423614 0.05318702255 -0.003385035631 -0.05306387972 -0.003350372303 -0.01243277363 0.05680157553 -0.05784646535 0.05742672011 -0.01201302839 -0.01231765908 -0.02658161294 0.2388100175 0.01499628596 -0.2426711555 0.2402090273 -0.02412199871 -0.02540551998 -0.01885670625 0.02114481469 0.2445018767 -0.2465574352 0.2455244263 -0.01788219378 -0.2481593281 -0.01814924801 -0.01552624289 0.01617305198 0.2456161308 -0.246132683 0.2449395732 -0.01439610481 -0.2470393842 -0.01379070747 -0.0117497963 0.01254333216 0.2417258237 -0.2413733459 0.2405988177 -0.01102341538 -0.2421134324 -0.01060344643 -0.008484376727 -0.2340933776 -0.4663453566 -0.01357411028 0.464106827 0.007909281109 0.007903358755 0.007742259664 0.007497511341 -0.01189942334 -0.4631578699 -0.01042881972 0.4616872663 -0.00906982963 -0.4607918204 0.4594411787 -0.008274303701 -0.4633128815 -0.009435428682 0.4644740065 -0.0106997262 -0.4618974043 -0.01207850858 0.4632761867 -0.007046913022 -0.007200057668 0.2258160702 -0.2252762673 0.007776357396 0.006846763154 0.2245174705 -0.007619317914 0.2233953604 0.007436330112 -0.221992433 0.2222154999 -0.00774406131 -0.2218452152 -0.007155395905 -0.007934675854 0.007883101485 0.2205146286 -0.220406294 0.2205799401 -0.008001238854 -0.2202357513 -0.007265612133 -0.008480039745 0.0082568235 0.2223525482 -0.2229544597 0.2233082614 -0.008784352885 -0.2224777859 -0.008337072978 -0.0158589226 0.1106496118 -0.1119810915 0.111844847 -0.01572267818 -0.01689222547 -0.02408672312 0.2321010461 -0.2358739834 0.2347316524 -0.02297322535 -0.2371080001 -0.02466783041 -0.02105781172 0.02154828483 0.2403672887 -0.2452877658 0.2408497182 -0.01670143314 -0.2443308975 -0.01828274442 -0.01604176302 0.01528858963 0.2445760127 -0.2434747388 0.2414078683 -0.0140714032 -0.2443475036 -0.01484975822 -0.01263294443 0.01255570061 0.2390444668 -0.2385370403 0.2374115199 -0.01155155857 -0.2391543497 -0.01158806927 -0.009214095526 -0.2313841337 -0.4617330787 -0.01457344987 0.4604569181 0.007810072451 0.008039538039 0.008220609448 0.008080245707 -0.01328607478 -0.4602521742 -0.01113051361 0.4580966131 -0.009511901292 -0.4577207805 0.4557512207 -0.008487698918 -0.4656654202 -0.009649657888 0.4668273792 -0.01090668744 -0.4646520388 -0.01226472087 0.4660100722 -0.007271209017 -0.007101150199 0.2292687473 -0.2282082665 0.008192652779 0.008005376944 0.2264851229 -0.009572561937 0.225548014 0.008916791967 -0.223449937 0.2240921367 -0.0101352769 -0.2229320646 -0.009572849576 -0.01129480266 0.01099223946 0.2216832051 -0.22123309 0.2215561108 -0.01151970256 -0.2209781147 -0.01057553778 -0.01181034408 0.01176723076 0.2229527547 -0.2237856954 0.2238527166 -0.01181564144 -0.2236963961 -0.01082969349 -0.0117858449 0.01177815652 0.2269406146 -0.2278578023 0.2279334584 -0.01185055402 -0.01131832654 -0.01253813855 0.01284470655 0.226929702 -0.2044445502 0.2057222508 -0.01381583914 -0.01502894886 -0.1062600036 -0.01792620212 0.01718991208 0.2251782037 -0.2258546013 0.2267078052 -0.01878479568 -0.01981668336 -0.02033585739 0.0200407589 0.2317894454 -0.2335366963 0.2335688102 -0.02042593465 -0.2336591827 -0.02065046814 -0.01973277951 0.02010147474 0.237779072 -0.2392009863 0.2386125591 -0.01925115485 -0.2398467446 -0.01906100337 -0.01723028784 0.0179919583 0.238835129 -0.2390743385 0.2381313988 -0.01638843541 -0.239974864 -0.01624499728 -0.01343383891 0.01448454297 0.2339756457 -0.2332111054 0.2320691131 -0.01232673827 -0.2343816899 -0.01288547175 -0.00962438637 -0.2281555839 -0.4589619768 -0.01371353145 0.4544246239 0.009083848839 0.009167035532 0.009286750901 0.007739528754 -0.01316543984 -0.4567935477 -0.01172121306 0.455349321 -0.009026859575 -0.4539863731 0.4527533433 -0.008452241583 -0.4680008515 -0.009572406174 0.4691210162 -0.01077317914 -0.4673355445 -0.01205453421 0.4686168996 -0.006737390115 -0.006685098967 0.2340512673 -0.2331757254 0.007037338502 0.007990792559 0.2304737967 -0.01019961128 0.2298372172 0.008947868324 -0.2268585134 0.2280771537 -0.01137074221 -0.2257891984 -0.01128529963 -0.01424933082 0.01340627882 0.2245015136 -0.2231437507 0.2239410598 -0.01496928959 -0.2224915358 -0.0142462073 -0.01641001329 0.01604324808 0.2240708221 -0.2242913975 0.2246241443 -0.01668011881 -0.2240708105 -0.01544033748 -0.01710312773 0.01700255957 0.2271932203 -0.2281234493 0.2282661101 -0.01721965748 -0.2280392632 -0.01568207846 -0.01616466812 0.01718474083 0.223130144 -0.2087030187 0.2096396645 -0.01710713497 -0.2077607077 -0.015682017 -0.01992323383 0.01930279163 0.2284398668 -0.2290148365 0.2295329708 -0.0204788923 -0.2283670153 -0.01961072521 -0.02154444585 0.02132486595 0.2328070919 -0.2338530252 0.2338323568 -0.02160056539 -0.233787007 -0.02112640714 -0.02072874516 0.02119368554 0.2358805335 -0.2367984059 0.2360661275 -0.02009420533 -0.2374459922 -0.01995844196 -0.01727825681 0.01835521597 0.2347127742 -0.2348816163 0.2336163436 -0.01608498192 -0.2360495139 -0.01635096498 -0.01200406097 0.0134274706 0.2287062896 -0.228180647 0.2270789959 -0.01090567129 -0.2295399982 -0.01122289159 -0.008955756352 -0.2260364209 -0.4524990493 -0.01538993918 0.4507284462 0.0085090336 0.008651508724 0.008816675033 0.008937342436 -0.01189233023 -0.4521224374 -0.009914842896 0.45014495 -0.008507030091 -0.451830686 0.4515944026 -0.008208218835 -0.4702364899 -0.009256929346 0.4712852005 -0.01036796072 -0.4698444744 -0.01153623516 0.4710127488 -0.006426660432 -0.006337229653 0.2354104604 -0.2350971616 0.006647954979 0.006943644439 0.2344274753 -0.007766057578 0.2347479906 0.007196875513 -0.2325589052 0.2342180843 -0.009417092814 -0.2309404293 -0.0102978412 -0.01417466017 0.01267471322 0.2297513818 -0.2272966432 0.2287289458 -0.01556321525 -0.2260163464 -0.01586185986 -0.01895393666 0.01795839738 0.227304166 -0.2264448748 0.2273526597 -0.01981607251 -0.2256897995 -0.01945915205 -0.02171708394 0.0211786681 0.2287726401 -0.2291804048 0.2296616347 -0.02217635887 -0.2287877504 -0.02132141892 -0.02120743671 0.02194471567 0.2195409649 -0.212665347 0.2137572918 -0.0223105928 -0.2116112328 -0.02130739077 -0.02364014798 0.02351224768 0.2295176468 -0.2302850645 0.2302751328 -0.02367451249 -0.2301680842 -0.02314497775 -0.02306685097 0.02340954292 0.2320656145 -0.2330039553 0.2324360326 -0.02256716458 -0.2334231122 -0.02263149894 -0.02007827263 0.02107275989 0.2324196871 -0.2331719124 0.2319548214 -0.01892735117 -0.2342627249 -0.01957147459 -0.01468466605 0.01621134545 0.2290370581 -0.2292305824 0.2275957526 -0.01307663297 -0.2307863109 -0.01416212412 -0.01025428485 0.01068765625 0.2251450809 -0.2254604785 0.2250288984 -0.009822704795 -0.2259229834 -0.01009790348 -0.008151618469 -0.2243309361 -0.4491077269 -0.01427148393 0.4476295965 0.007789855801 0.007959758578 0.008161245822 0.008320452207 -0.01284723243 -0.4486705947 -0.01147184326 0.4472952056 -0.01016003715 -0.4483037278 0.4470484359 -0.00781158935 -0.4723175461 -0.008771303789 0.4732772606 -0.009775636454 -0.472117544 -0.01081589317 0.4731578007 -0.00599963152 -0.00589030697 0.2365571082 -0.2362913435 0.006156871306 0.006523525043 0.2357183746 -0.00699608006 0.236011125 0.006700392702 -0.2356977538 0.2359968005 -0.007295126754 -0.2353845934 -0.007453876953 -0.008794001283 0.00790110185 0.2358896965 -0.2337381229 0.2355085442 -0.01055824789 -0.231975883 -0.01238936532 -0.0154196008 0.01391200269 0.2327898172 -0.2308987261 0.2322933021 -0.01679501751 -0.2295953522 -0.01827572019 -0.02006795169 0.01912331689 0.2320862364 -0.2315650184 0.2323155799 -0.02080800296 -0.230864271 -0.02196400259 -0.02079335414 0.02081578633 0.2183416752 -0.2170517737 0.218071857 -0.02182339781 -0.2159757615 -0.022740888 -0.02200254 0.02222091776 0.2289806259 -0.2295872102 0.2291858926 -0.02163090099 -0.2299129588 -0.02287061447 -0.01956445536 0.02041180845 0.2291602511 -0.2299311943 0.2288892534 -0.01855853467 -0.2308841519 -0.02018798953 -0.01467432114 0.01610156623 0.2270843319 -0.2276809628 0.2261250308 -0.01313681615 -0.2291892027 -0.01507987098 -0.01029138823 0.01057861173 0.2242697906 -0.224414222 0.2241157304 -0.009992896563 -0.2247476354 -0.01036240746 -0.009041783178 0.009365645846 0.2236966203 -0.2238996553 0.2235718547 -0.00871398259 -0.224250467 -0.008986023991 -0.007305291116 -0.2229705601 -0.446284455 -0.01298713648 0.4450665453 0.007022004214 0.007183041944 0.007407247864 0.007579065307 -0.01178584629 -0.4460140369 -0.01060032455 0.4448285152 -0.009450279136 -0.4458246507 0.4447046212 -0.007312280354 -0.4742144216 -0.008176097348 0.4750782386 -0.009069040965 -0.4741330924 -0.009980246969 0.4750442984 -0.005510830495 -0.005395949727 0.2375221217 -0.2372998649 0.005618102394 0.006018779804 0.2368175258 -0.006379447852 0.2370693248 0.006133216687 -0.2368119287 0.2370579957 -0.006625514776 -0.2365533963 -0.006796239224 -0.007355997211 0.007114294641 0.2369490162 -0.2366339461 0.2368729889 -0.007595039981 -0.2363792577 -0.007823665377 -0.008287100807 0.008061553798 0.2365196936 -0.2361552776 0.2363745869 -0.008506410108 -0.2352358171 -0.009616276462 -0.01002634698 0.009295162817 0.2359385758 -0.234733548 0.2354776955 -0.01076925248 -0.2339126839 -0.01399420808 -0.01189849647 0.01148551249 0.2194848679 -0.2206101639 0.2212523076 -0.0125428616 -0.2198634091 -0.01562614973 -0.01214642355 0.01248921053 0.227669828 -0.227712787 0.2271971746 -0.01163497354 -0.228229412 -0.01480938007 -0.01004494761 0.01044151626 0.2258233554 -0.2255559321 0.2254244622 -0.009913891647 -0.2266499362 -0.01121857855 -0.00956559006 0.009702786613 0.2243901642 -0.2242513505 0.2240949055 -0.009409145022 -0.2244221983 -0.009801622406 -0.008840282001 0.009044813066 0.2233417319 -0.22335231 0.223135139 -0.008623111039 -0.2235869295 -0.008949017825 -0.00791249629 0.008157610147 0.2226062076 -0.2227105249 0.2224591503 -0.00766112168 -0.2229788693 -0.007917556215 -0.006482167137 -0.2218842044 -0.4439645694 -0.01166766722 0.4429677203 0.006264260935 0.006400255398 0.006638503357 0.006789040506 -0.01066130652 -0.4437304167 -0.00964923196 0.4427183421 -0.008651995172 -0.4436202006 0.442634236 -0.006754006134 -0.4759170898 -0.007522154371 0.476685238 -0.008306959428 -0.4758929887 -0.009096311236 0.4766823405 -0.004993805255 -0.004891600524 0.2383288283 -0.2381445419 0.005072287102 0.005475192775 0.2377412876 -0.005750693756 0.2379468263 0.005547030452 -0.2377264891 0.2379277871 -0.005951991786 -0.2375147604 -0.006120343401 -0.006535098467 0.006344653586 0.2377839692 -0.2375061145 0.2376919568 -0.006720940793 -0.2373081902 -0.006935370855 -0.007245317042 0.007076599019 0.2372744373 -0.2369405966 0.237102277 -0.0074069975 -0.2367661143 -0.007671765947 -0.007804800217 0.007697812601 0.2364554828 -0.2356787021 0.2357210834 -0.007847181505 -0.2356255426 -0.008162844889 -0.007963753524 0.007753175248 0.2204064784 -0.2225526784 0.2229006053 -0.008311680402 -0.2221723567 -0.008650708461 -0.008467275188 0.008439304878 0.2277046874 -0.2271973436 0.2272137751 -0.008483706703 -0.2271787638 -0.008846189547 -0.008434165007 0.008468007057 0.2256700187 -0.225244189 0.2251933814 -0.008383357411 -0.2252992922 -0.008738051069 -0.008134929706 0.008233153041 0.2239442705 -0.22369706 0.2235843107 -0.008022180477 -0.223819039 -0.008346735121 -0.007605104281 0.007756349749 0.222663305 -0.2225725663 0.222410416 -0.007442953899 -0.2227466351 -0.007723128622 -0.006901430176 0.007090093918 0.2217725312 -0.2217940745 0.2215985429 -0.006705898593 -0.222002051 -0.006936486539 -0.005719504762 -0.221012633 -0.4420666779 -0.01039484806 0.4412493504 0.005548629114 0.005663546456 0.005900249041 0.006022746612 -0.009551077406 -0.4417827304 -0.008689757743 0.4409214107 -0.007829610697 -0.4416789382 0.4408181201 -0.006171188901 -0.4774288959 -0.006848201832 0.4781059088 -0.00753254137 -0.4774151031 -0.008211948219 0.4780945099 -0.004482780754 -0.004397166017 0.2389999399 -0.2388478289 0.004542487646 0.004930238686 0.2385124599 -0.005140396417 0.2386710214 0.004972585597 -0.2384737494 0.2386379738 -0.005304620811 -0.2383009595 -0.00546343212 -0.005769964107 0.005619749023 0.2384421377 -0.2381847264 0.2383296128 -0.005914850554 -0.2380305732 -0.006109939792 -0.006314593303 0.006187494286 0.2378412482 -0.2375205904 0.2376406099 -0.006434612818 -0.2373913853 -0.006666718475 -0.006706688844 0.006640898511 0.2367752029 -0.2357973085 0.2358093456 -0.006718725942 -0.2357792445 -0.006984101666 -0.006857489261 0.006657756462 0.2212248472 -0.2237843697 0.2240335206 -0.00710664008 -0.2235138987 -0.007388861076 -0.007204021022 0.007187063154 0.2277869611 -0.2272521496 0.2272620709 -0.007213942342 -0.2272409416 -0.007509087634 -0.007175414709 0.00720060116 0.2255572534 -0.2250624664 0.2250249332 -0.00713788156 -0.2251028707 -0.007427602055 -0.006954117358 0.00702694104 0.2236179875 -0.2232926946 0.2232087235 -0.006870146172 -0.2233828698 -0.00713975909 -0.006555620426 0.006670398012 0.2221535487 -0.2219853719 0.2218614207 -0.006431669216 -0.2221176897 -0.006670643909 -0.006011170681 0.006158797881 0.2211243715 -0.2210776153 0.220923362 -0.005856917354 -0.2212410998 -0.006059880144 -0.005028423083 -0.2203099279 -0.4405057786 -0.009207877185 0.4398288568 0.004891022799 0.004993776228 0.005212645321 0.005321654449 -0.008498575683 -0.4401251415 -0.007765613423 0.4393921792 -0.007025107966 -0.439981363 0.4392327349 -0.005589313629 -0.4787600702 -0.006182060486 0.4793528171 -0.00677536418 -0.4787234262 -0.007357309249 0.4793053713 -0.003996385528 -0.003923256003 0.2395568676 -0.2394315697 0.004040449704 0.004403765552 0.2391533382 -0.004563230855 0.2392669921 0.004425264435 -0.2390829152 0.2392167044 -0.004697019985 -0.2389421605 -0.004843378275 -0.005068616643 0.004949921648 0.238961718 -0.2387143051 0.2388276338 -0.005181945373 -0.2385938687 -0.005356769192 -0.005488585329 0.005392120489 0.2382701106 -0.2379523235 0.2380421105 -0.00557837231 -0.2378558559 -0.005780622152 -0.005762762735 0.005724514986 0.2369660819 -0.235816919 0.2358120003 -0.005757844083 -0.235818486 -0.005982569166 -0.005906558928 0.005726466816 0.2219767565 -0.2246698715 0.2248497596 -0.006086447004 -0.2244747728 -0.006325101541 -0.006150413865 0.006139245373 0.2278389955 -0.2272861459 0.2272929199 -0.006157187815 -0.2272788712 -0.006403029118 -0.006128988301 0.006147498648 0.2254735593 -0.2249276113 0.2248997542 -0.006101131213 -0.2249576684 -0.006342115899 -0.005962862681 0.006017913374 0.2233729236 -0.222989129 0.2229253259 -0.005899059566 -0.2230573734 -0.0061255091 -0.0056572958 0.005746007587 0.221762201 -0.2215335936 0.2214371985 -0.005560900738 -0.2216360893 -0.005765203872 -0.005229559764 0.005346627243 0.2206130085 -0.2205099591 0.2203868058 -0.005106406394 -0.2206400888 -0.005283871342 -0.004407769494 -0.2197381569 -0.439211842 -0.008121697046 0.438648734 0.004296179968 0.004388625074 0.00458551223 0.004683125326 -0.007524548336 -0.4387143508 -0.006900286804 0.4380900892 -0.006263207322 -0.4385026476 0.4378530315 -0.005026415801 -0.4799250425 -0.005542858419 0.4804414851 -0.006055159909 -0.4798435605 -0.006552577569 0.4803409782 -0.003548506355 -0.003478690996 0.2400174761 -0.2399142495 0.003574683644 0.003911018583 0.2396843813 -0.004030048331 0.2397565975 0.003916830721 -0.2395790401 0.2396879451 -0.004138953318 -0.2394644541 -0.004272588854 -0.004436113157 0.004342085561 0.2393728998 -0.2391290907 0.2392180708 -0.004525093294 -0.2390346205 -0.004681177813 -0.004761718307 0.004688029316 0.2385969295 -0.2382758228 0.2383432189 -0.004829114382 -0.2382034379 -0.005005834186 -0.004950959696 0.004931358737 0.2370701775 -0.2357813898 0.235767016 -0.004936585822 -0.2357938738 -0.005128888577 -0.005081151326 0.004925948618 0.2226360873 -0.2253092434 0.2254392215 -0.005211129526 -0.2251683712 -0.005416741051 -0.005258184477 0.005249117074 0.2278773995 -0.2273118266 0.227318107 -0.005264464795 -0.2273056169 -0.005472741563 -0.005247339059 0.00526006333 0.2254142606 -0.2248283497 0.2248082459 -0.005227235254 -0.2248502281 -0.005430973998 -0.005123238403 0.005165089757 0.2231869102 -0.222757625 0.222708715 -0.005074328405 -0.2228098537 -0.005267060936 -0.004886419765 0.004955772836 0.2214574982 -0.2211807052 0.2211048867 -0.004810601216 -0.2212611285 -0.004986715373 -0.004546746185 0.004640513857 0.2202049204 -0.2200551426 0.219955897 -0.00444750057 -0.2201597919 -0.004603035169 -0.003855774249 -0.2192692941 -0.4381343612 -0.007142588099 0.4376639825 0.003764500163 0.003848466692 0.004022895402 0.004110184729 -0.006638511355 -0.4375123169 -0.006106047722 0.4369798533 -0.005557902068 -0.4372172961 0.4366542126 -0.004494919882 -0.4809399205 -0.004943158009 0.4813881586 -0.005384009368 -0.4808000103 -0.005807574943 0.4812235759 -0.003135420079 -0.003071699101 0.2403983011 -0.2403132463 0.003150466273 0.00345771305 0.2401232372 -0.003543947339 0.2401583337 0.003451078069 -0.2399829018 0.2400715611 -0.003632606621 -0.2398895926 -0.003754866055 -0.003870670323 0.00379597275 0.2396992165 -0.2394552628 0.2395254208 -0.003940828324 -0.2393808336 -0.004080921699 -0.004124543733 0.004067936501 0.2388474496 -0.2385187482 0.2385693994 -0.004175194892 -0.2384643567 -0.004330926481 -0.004252942247 0.004245660677 0.2371160375 -0.2357151147 0.2356957525 -0.004233580045 -0.2357336284 -0.004399682902 -0.004359736292 0.004233338161 0.2231859637 -0.2257735792 0.2258697945 -0.004455951606 -0.2256703728 -0.004634645036 -0.004501153597 0.004491566987 0.2279144757 -0.2273381131 0.2273452091 -0.004508249568 -0.2273312123 -0.004686097975 -0.004500515293 0.004508755415 0.2253751464 -0.2247574062 0.2247431631 -0.004486272216 -0.2247729082 -0.004660927327 -0.004407879547 0.004439879201 0.223045079 -0.2225797221 0.2225419522 -0.004370109606 -0.2226199814 -0.004536629475 -0.004222881919 0.004277532067 0.2212180717 -0.2209022954 0.2208422023 -0.004162788814 -0.2209659566 -0.004316571251 -0.003951171954 0.004026792257 0.2198765699 -0.2196876354 0.219607131 -0.003870667529 -0.2197724398 -0.004008225745 -0.003370417659 -0.2188825041 -0.4372334817 -0.006270158312 0.4368390907 0.003295317557 0.00336923179 0.003522445502 0.003601313381 -0.005843403857 -0.436486555 -0.005388412826 0.4360315639 -0.004916415774 -0.436101255 0.4356132241 -0.00400361607 -0.4818208287 -0.004391517473 0.4822087301 -0.004769880962 -0.4816138981 -0.005129604262 0.4819736214 -0.002760930373 -0.002704200675 0.2407127893 -0.2406428477 0.002768731865 0.003044645955 0.240485954 -0.003107349137 0.2404879136 0.003031212311 -0.2403117423 0.2403839098 -0.003179516705 -0.2402357697 -0.003288749265 -0.003370601121 0.003311055414 0.2399590328 -0.2397129782 0.2397686083 -0.003426231198 -0.2396540394 -0.003549607624 -0.00357011121 0.00352623247 0.239040893 -0.2387017259 0.2387401204 -0.003608505675 -0.2386606294 -0.003743550198 -0.003657721998 0.003657282591 0.237126368 -0.2356356385 0.2356159806 -0.003638064102 -0.2356556924 -0.003778480532 -0.003745429542 0.003646397691 0.2236209377 -0.2261239485 0.2261985001 -0.003819981194 -0.2260444603 -0.003968739104 -0.003866526802 0.003857037381 0.2279533912 -0.2273665912 0.2273732987 -0.003873234334 -0.2273595857 -0.004022927103 -0.003869413149 0.003875192914 0.2253489094 -0.2247065559 0.2246960129 -0.003858870141 -0.2247178658 -0.004007312748 -0.003798716254 0.003823483812 0.2229358003 -0.2224418281 0.2224123936 -0.003769281773 -0.2224731545 -0.003911782351 -0.003653231745 0.003696515522 0.2210287108 -0.2206811603 0.2206333153 -0.003605386795 -0.2207318211 -0.003737937291 -0.003434976155 0.003496202305 0.2196110181 -0.2193889938 0.2193234317 -0.003369414052 -0.2194580173 -0.003488990685 -0.002946458716 -0.2185620946 -0.4364775703 -0.00550099326 0.4361458932 0.002884416816 0.002948253534 0.00308260468 0.003151724946 -0.005138674261 -0.4356095598 -0.004749019313 0.4352199048 -0.004341959355 -0.435132367 0.4347089728 -0.003556391842 -0.4825833289 -0.003891236418 0.4829181735 -0.004215059807 -0.4823045719 -0.004519534268 0.4826090464 -0.002424933391 -0.002375096225 0.2409713253 -0.2409142087 0.002427638366 0.002672744009 0.2407852251 -0.00271854523 0.2407576244 0.002656368129 -0.2405791314 0.2406376447 -0.002777058521 -0.2405174633 -0.002872671912 -0.002930081726 0.002882651322 0.24016618 -0.2399175701 0.239961741 -0.002974252576 -0.2398707554 -0.003081346947 -0.003087560197 0.003053270572 0.2391917003 -0.2388411762 0.2388706742 -0.003117058195 -0.2388096811 -0.003233151873 -0.00314989219 0.003151953332 0.2371209887 -0.2355616608 0.2355456192 -0.003133850601 -0.2355788094 -0.003252202302 -0.003237277413 0.003157895728 0.2239664855 -0.2263924723 0.2264470589 -0.003291863971 -0.2263328467 -0.003415380445 -0.003327193298 0.003319908254 0.2279860837 -0.2273911274 0.2273964065 -0.003332472404 -0.2273855616 -0.003459947522 -0.003330552705 0.00333459254 0.2253299958 -0.2246685932 0.2246608878 -0.003322847334 -0.2246770328 -0.003448872052 -0.003277300719 0.003296233904 0.2228515399 -0.2223345042 0.2223118092 -0.003254605679 -0.2223587949 -0.003375488068 -0.003163774949 0.003197864353 0.220879077 -0.2205052233 0.2204672914 -0.003125843068 -0.2205454587 -0.003238522293 -0.002988874957 0.003038399267 0.2193960624 -0.21914573 0.219092341 -0.002935486014 -0.2192019383 -0.00303759304 -0.00257741277 -0.2182961718 -0.4358415594 -0.004827224649 0.4355621043 0.002526047442 0.002580632328 0.002698842594 0.002757624105 -0.004518907861 -0.4348580825 -0.004184475665 0.4345236503 -0.00383275441 -0.434290483 0.4339225865 -0.003157790383 -0.4832419086 -0.003446481481 0.4835305997 -0.003723015326 -0.4828886593 -0.003979730243 0.4831453742 -0.002128123505 -0.002084491901 0.2411816202 -0.2411356601 0.002126752854 0.002342589062 0.2410307516 -0.002373775886 0.240976498 0.002323600111 -0.2407950377 0.2408418276 -0.002420565823 -0.2407454947 -0.002504914729 -0.002541026171 0.002503945056 0.2403296547 -0.240079245 0.240113623 -0.002575404245 -0.2400425062 -0.002669891159 -0.002662736265 0.002636507356 0.2393084675 -0.2389479941 0.2389702211 -0.002684963247 -0.2389240193 -0.002787497541 -0.002706833554 0.002709590192 0.2371106394 -0.2355048971 0.2354940081 -0.002695944613 -0.2355171729 -0.002799537563 -0.002796985937 0.002739420984 0.2242318022 -0.2265815614 0.226617205 -0.002832629603 -0.2265414396 -0.002941630194 -0.002855915397 0.002850240892 0.2280107398 -0.2274113898 0.2274163252 -0.002860850831 -0.2274064623 -0.002972005624 -0.002863843172 0.002865356936 0.2253199301 -0.2246426021 0.2246382223 -0.002859463298 -0.2246478562 -0.002968306549 -0.002828205207 0.002841696454 0.2227894847 -0.2222529962 0.2222363818 -0.002811590827 -0.2222710852 -0.002915387103 -0.002742574344 0.002768823708 0.2207626856 -0.2203664755 0.2203369118 -0.002713010732 -0.2203980028 -0.002809657374 -0.002603947162 0.002643742528 0.2192228505 -0.2189479275 0.2189046417 -0.002560661313 -0.2189935588 -0.002648458222 -0.002259372044 -0.2180753996 -0.4353054119 -0.004244165603 0.4350694429 0.002216741069 0.002263393554 0.002365511228 0.002416055478 -0.003981024274 -0.4342125958 -0.003693076271 0.4339246478 -0.003388229102 -0.4335576892 0.433237058 -0.002809195986 -0.4838102437 -0.003058249411 0.4840592972 -0.003294170654 -0.4833806206 -0.003509779175 0.4835962291 -0.001869785387 -0.001831568801 0.2413493582 -0.2413132822 0.00186494826 0.002052787612 0.2412296364 -0.002071009374 0.2411507784 0.002031512305 -0.240966043 0.2410022838 -0.002107250088 -0.2409272661 -0.002181951041 -0.002197397907 0.002170167014 0.2404533868 -0.240202554 0.2402273525 -0.00222219643 -0.2401752958 -0.00230689398 -0.002282831211 0.002265055414 0.2393927926 -0.2390260263 0.239040592 -0.002297396924 -0.239009322 -0.002391361983 -0.00230857028 0.002311596186 0.2370991903 -0.2354704664 0.2354658788 -0.002303982687 -0.2354767176 -0.002399512131 -0.002404543491 0.002375160883 0.2243925878 -0.2266976913 0.2267153575 -0.002422209699 -0.2266753235 -0.00252155706 -0.002443843034 0.002437570342 0.2280338219 -0.2274319531 0.2274379987 -0.002449888559 -0.2274264796 -0.002548001078 -0.002460492087 0.002458760827 0.2253216255 -0.2246306029 0.224630072 -0.002459961157 -0.2246321841 -0.002554597156 -0.002443220936 0.002451427594 0.2227487524 -0.2221951735 0.2221842479 -0.002432295308 -0.2222074946 -0.002521828965 -0.002382615358 0.002402052935 0.2206750188 -0.2202593194 0.2202369184 -0.002360214398 -0.2202834087 -0.002443429927 -0.002274584813 0.002306262385 0.2190844316 -0.2187878795 0.218752992 -0.002239697324 -0.2188247236 -0.002315473492 -0.001987855836 -0.2178920361 -0.434852383 -0.003744803449 0.4346524369 0.001952284768 0.001992464725 0.002078801427 0.002122672404 -0.003519268265 -0.4336562656 -0.003270236792 0.4334072341 -0.003004847824 -0.4329178774 0.4326372196 -0.002511804076 -0.484301434 -0.002727692981 0.4845173229 -0.002929656434 -0.4837936335 -0.003110778591 0.4839747557 -0.001649407511 -0.001617808805 0.2414799348 -0.2414522804 0.001644004369 0.00180196833 0.2413872459 -0.00181087989 0.2412850342 0.001780942894 -0.241096148 0.2411227148 -0.001837446647 -0.2410672805 -0.001901196739 -0.00189765945 0.001880615505 0.2405369511 -0.2402863201 0.240300619 -0.001911958366 -0.2402693078 -0.001985842159 -0.001938765234 0.001932636389 0.2394360991 -0.2390684517 0.2390712546 -0.001941568101 -0.23906216 -0.002028230362 -0.001926764672 0.001934925474 0.2370774649 -0.2354603454 0.2354591342 -0.001925553504 -0.2354612491 -0.002021751937 -0.00203345377 0.002027693475 0.2244465515 -0.226739907 0.2267408787 -0.002034425508 -0.2267361461 -0.002132444675 -0.002072983052 0.002059193661 0.2280743539 -0.2274637841 0.2274767904 -0.002085989368 -0.2274533893 -0.002173822452 -0.002114501101 0.002107149397 0.2253415454 -0.2246359473 0.224640848 -0.00211940175 -0.2246326073 -0.002199746211 -0.002118630556 0.002121505924 0.2227292328 -0.2221596774 0.2221541555 -0.00211310868 -0.2221665165 -0.002187975168 -0.002080420291 0.002094036028 0.2206121462 -0.2201790932 0.2201626986 -0.002064025768 -0.2201968783 -0.00213349516 -0.001997623501 0.002022685505 0.2189747103 -0.2186590327 0.2186309673 -0.001969558178 -0.2186886648 -0.002033035583 -0.00176060727 -0.2177392292 -0.4344679792 -0.003323574105 0.4342973986 0.001730498834 0.001763655879 0.001836301318 0.00187290944 -0.003128899045 -0.4331743755 -0.002912000926 0.4329574774 -0.002679392195 -0.4323566046 0.4321093029 -0.002266214703 -0.4847286692 -0.002455666395 0.4849181209 -0.002630811186 -0.4841413531 -0.002785118236 0.4842956601 -0.001470010161 -0.001444330139 0.2415808432 -0.2415593308 0.001466317982 0.001592068503 0.2415092792 -0.001596128654 0.2413848995 0.001574049239 -0.2411895216 0.2412080107 -0.001614617726 -0.2411692708 -0.001665706665 -0.001648363396 0.00164065808 0.2405810259 -0.2403276108 0.2403317937 -0.001652546278 -0.2403211607 -0.001711763282 -0.001641877763 0.001649686452 0.2394254264 -0.2390561962 0.2390433311 -0.001629012649 -0.2390652417 -0.001700732586 -0.001558639896 0.001586130706 0.2370009767 -0.2354361992 0.235415377 -0.001537817635 -0.2354491258 -0.001633134238 -0.001608447268 0.001594888108 0.2244739338 -0.2267582666 0.2267837069 -0.001633887571 -0.2267458711 -0.001733865677 -0.001741588483 0.001708594197 0.2281746069 -0.2275370584 0.2275651882 -0.001769718294 -0.2275130098 -0.001842627267 -0.001827322212 0.001812237202 0.2253903799 -0.2246655742 0.2246769881 -0.001838736068 -0.224655666 -0.001902905055 -0.001853532986 0.001851637731 0.2227301067 -0.222144914 0.2221439603 -0.001852579283 -0.2221468545 -0.001912311724 -0.001833345931 0.001842446442 0.2205694694 -0.2201209343 0.2201091521 -0.001821563733 -0.2201337158 -0.001877398708 -0.00176986698 0.001789862935 0.2188876222 -0.2185551336 0.2185323122 -0.001747045514 -0.2185791171 -0.001798493882 -0.001574972938 -0.2176104132 -0.4341393466 -0.002975990214 0.433992296 0.001548247847 0.001574792941 0.001634867311 0.001664353747 -0.002805855713 -0.4327536034 -0.002614787991 0.4325625357 -0.002408768807 -0.431860706 0.4316407106 -0.002072178682 -0.4851056882 -0.002242088204 0.4852755977 -0.002397956916 -0.4844396103 -0.002533833469 0.4845754869 -0.001333808173 -0.001311936356 0.2416629008 -0.241644467 0.001332943886 0.001425727358 0.2416038694 -0.001430738276 0.2414600634 0.001413622844 -0.2412548505 0.2412684503 -0.001444338012 -0.241240435 -0.001481352553 -0.001463489046 0.001460718895 0.2405975953 -0.2403343411 0.240333366 -0.00146251395 -0.2403347267 -0.001502235751 -0.001433462576 0.001448076898 0.2393732093 -0.2389880976 0.2389673404 -0.001412705441 -0.2390083998 -0.001454374064 -0.001300723726 0.001347548251 0.2368368157 -0.2352967607 0.2352406507 -0.001244613734 -0.2353455645 -0.00129804243 -0.001218284922 0.001152730569 0.2246500544 -0.2269714879 0.227071462 -0.001318259027 -0.2268889675 -0.001376532177 -0.001505387258 0.001458143889 0.2283489178 -0.2276684952 0.2277056214 -0.001542513412 -0.2276318483 -0.001588005531 -0.001613838674 0.001595417787 0.2254615927 -0.2247173543 0.2247315235 -0.001628007858 -0.2247032524 -0.001673190516 -0.001649717431 0.001645604525 0.222744327 -0.2221454106 0.2221467046 -0.001651011427 -0.2221443908 -0.001695425475 -0.001639187794 0.001645671119 0.2205402835 -0.2200786273 0.2200696438 -0.001630204279 -0.2200881216 -0.001672935524 -0.001588143888 0.001604710633 0.2188167388 -0.2184698394 0.2184506712 -0.001568975652 -0.2184897643 -0.001609045074 -0.001428055717 -0.2174997733 -0.4338544021 -0.002698418491 0.4337241031 0.001402420879 0.001426296554 0.001470818774 0.001495845154 -0.002546587029 -0.4323815309 -0.002375393967 0.4322103379 -0.002190168064 -0.4314178127 0.4312192941 -0.001927818531 -0.4854463107 -0.002084979535 0.4856034717 -0.002228873312 -0.4847051963 -0.002354401833 0.4848307248 -0.001239237758 -0.001220423402 0.2417379486 -0.2417198109 0.001242246127 0.001304476345 0.2416826667 -0.001316274494 0.2415239767 0.001300669439 -0.2413066214 0.2413192692 -0.001328922299 -0.2412940971 -0.001352558786 -0.001349336981 0.001345389807 0.2406099371 -0.2403315989 0.2403326916 -0.001350429744 -0.2403315702 -0.001371406856 -0.001334778519 0.001343488355 0.2393263571 -0.2389127875 0.2388996954 -0.00132168639 -0.2389288033 -0.001334173607 -0.001236976015 0.001276171807 0.2366606199 -0.2350549503 0.2349957528 -0.001177778488 -0.2351169876 -0.001175718546 -0.001138633214 0.001032700128 0.2250270702 -0.2274217874 0.2275350998 -0.001251945534 -0.2273029362 -0.001246800123 -0.001403259669 0.001369208436 0.2285126756 -0.2278059395 0.227832181 -0.001429501185 -0.2277755638 -0.001448198 -0.001480665877 0.001467238784 0.2255249432 -0.224770134 0.224780567 -0.001491098969 -0.2247582938 -0.00151859976 -0.001506813178 0.001504001634 0.2227585052 -0.2221502998 0.2221508364 -0.001507349846 -0.2221493295 -0.00153777923 -0.001495881367 0.001501854319 0.2205162412 -0.2200445558 0.2200364341 -0.00148775958 -0.2200527252 -0.001518646621 -0.001450211752 0.001464966872 0.2187554882 -0.2183968042 0.2183797418 -0.001433149333 -0.2184142471 -0.001462982858 -0.001317340806 -0.2174017053 -0.4335998303 -0.002486103954 0.4334794907 0.001292147976 0.001314295609 0.001342930231 0.001365775427 -0.002347195313 -0.4320464778 -0.002190420933 0.4318897034 -0.002020437844 -0.4310168434 0.4308351336 -0.001830971932 -0.4857645143 -0.00198082074 0.4859143631 -0.002118802216 -0.4849532193 -0.0022400463 0.4850744634 -0.00117689534 -0.001166620908 0.2418159432 -0.2417964309 0.00118945719 0.001224723342 0.241757531 -0.001246955867 0.241588895 0.001230172562 -0.2413593971 0.2413739369 -0.001261495688 -0.2413455092 -0.00127461747 -0.001292835162 0.001284279324 0.2406367947 -0.2403442092 0.2403510264 -0.001299652298 -0.2403388925 -0.001308151888 -0.001309404073 0.001308102509 0.2393169848 -0.2388790135 0.2388776808 -0.001308071454 -0.2388829286 -0.001307887036 -0.001268138039 0.00129116924 0.2365464812 -0.2348445243 0.234802624 -0.001226237723 -0.2348903724 -0.001213063857 -0.001245121221 0.001142436865 0.2254521771 -0.227812666 0.2278832393 -0.001315694513 -0.2277315817 -0.001299376884 -0.001380829613 0.001368333684 0.2285928373 -0.2278846241 0.2278942671 -0.001390472598 -0.2278713419 -0.001396381508 -0.001410149035 0.001404940516 0.2255580372 -0.2248020759 0.2248059042 -0.001413977275 -0.2247965907 -0.001428896493 -0.001416661814 0.001417275634 0.2227615253 -0.2221487472 0.222146579 -0.001414493629 -0.2221501438 -0.001433645454 -0.001398300787 0.001405353752 0.2204900219 -0.2200114621 0.2200026874 -0.001389526049 -0.2200199684 -0.001410434532 -0.001352232796 0.001366563147 0.2186979075 -0.2183300469 0.2183137155 -0.001335901399 -0.2183464488 -0.00135699465 -0.001240544796 -0.2173099808 -0.4333636823 -0.002333839319 0.4332508518 0.001216245369 0.001230424487 0.001250224764 0.0012681096 -0.002203687018 -0.4317377681 -0.002056635585 0.4315907166 -0.001897400854 -0.4306447846 0.4304731383 -0.001777628237 -0.4860691353 -0.001925265325 0.4862167724 -0.002062230869 -0.4851955583 -0.002184385699 0.4853177131 -0.00114736918 -0.001143982286 0.2419011311 -0.2418795447 0.001168532327 0.001180595583 0.241837007 -0.00121490104 0.2416618204 0.001195808749 -0.2414217659 0.2414391956 -0.00123233079 -0.241405095 -0.001236891888 -0.001276038418 0.00126274158 0.2406831325 -0.2403799203 0.2403920739 -0.001288192047 -0.240368963 -0.001288603017 -0.001316871531 0.001308885922 0.2393401508 -0.2388854917 0.2388909526 -0.00132233241 -0.2388812684 -0.001317613129 -0.001301662481 0.001318300995 0.2364728839 -0.2346934186 0.2346607545 -0.00126899837 -0.2347276946 -0.001259719955 -0.001322364139 0.001232631597 0.2258290369 -0.2280486293 0.2280932052 -0.001366940077 -0.2279995877 -0.001355716586 -0.001386157232 0.001385626902 0.2286102933 -0.22790612 0.2279056287 -0.001385665943 -0.2279045979 -0.001384812426 -0.001382323135 0.001383770252 0.2255615574 -0.2248082231 0.224806244 -0.001380344051 -0.224808888 -0.001385699399 -0.001369809679 0.001374206141 0.2227495506 -0.2221352223 0.2221298113 -0.001364398624 -0.2221398247 -0.001373699898 -0.001341236623 0.001350193748 0.2204572001 -0.2199742468 0.2199639422 -0.001330931991 -0.2199841201 -0.001342491716 -0.001291043807 0.001305928554 0.2186394345 -0.2182645706 0.2182479694 -0.001274442586 -0.2182810304 -0.001286976057 -0.001195193576 -0.2172206013 -0.4331399269 -0.002238990791 0.4330297753 0.001170936525 0.001178205883 0.001189833749 0.001200599134 -0.002112929543 -0.4314465537 -0.001971186995 0.4313048112 -0.001818016898 -0.4302948326 0.4301305382 -0.001765429361 -0.4863719387 -0.001913162226 0.4865196716 -0.002051707614 -0.4854415289 -0.002177616729 0.485567438 -0.001144328047 -0.001147148079 0.2419947626 -0.2419709984 0.001173339557 0.001166129799 0.2419242804 -0.001212260467 0.241744626 0.001190677455 -0.2414958174 0.2415160947 -0.001232537758 -0.2414762407 -0.001229915512 -0.001286635295 0.001269612015 0.2407459731 -0.2404348052 0.240450859 -0.00130268916 -0.2404196067 -0.001296830062 -0.001342994234 0.001331289688 0.2393819938 -0.2389129204 0.2389217071 -0.001351780944 -0.2389048048 -0.001342807716 -0.001338847945 0.001352850414 0.2364131043 -0.2345711167 0.2345439523 -0.001311683505 -0.2345996328 -0.001299694235 -0.001386110504 0.001304545963 0.226166749 -0.2282065725 0.2282387733 -0.001418311373 -0.2281717742 -0.001404149146 -0.001412239135 0.001418742333 0.2285940136 -0.2278940271 0.2278872728 -0.001405484872 -0.2278994259 -0.001398136828 -0.001386416114 0.001392676175 0.2255432618 -0.224793272 0.224786862 -0.001380006053 -0.2247986875 -0.001377097597 -0.001358300043 0.001366082547 0.2227233358 -0.2221088729 0.2221003946 -0.001349821718 -0.2221166154 -0.001350235604 -0.001319237069 0.001330384717 0.22041593 -0.2199302141 0.2199179866 -0.001307009538 -0.2199419394 -0.001309775047 -0.001262852184 0.001278920125 0.2185770906 -0.218196912 0.2181793543 -0.001245294394 -0.2182141734 -0.001249541824 -0.001177936777 -0.2171303148 -0.4329198314 -0.002195424555 0.4328080599 0.001153234614 0.001153961522 0.00115864496 0.00116229311 -0.002070043204 -0.4311638282 -0.001930780733 0.4310245657 -0.001781292098 -0.4299649971 0.429794729 -0.001778988748 -0.4866720737 -0.001940752254 -0.002088291457 -0.4856954944 -0.00222221652 -0.00116571778 -0.00117163813 -0.242070744 0.001201419736 0.001176630948 0.2420201793 -0.00123306748 0.2418370087 0.001209217103 -0.2415807177 0.241603432 -0.00125578186 -0.2415585663 -0.00124768812 -0.00131784938 0.001298100233 0.2408211596 -0.2405034274 0.2405222166 -0.001336638558 -0.2404852359 -0.001326160886 -0.001384627061 0.001370513416 0.2394350805 -0.238951493 0.2389624581 -0.001395592174 -0.2389410338 -0.001382922823 -0.001389306236 0.001400574603 0.2363636145 -0.2344703871 0.2344487226 -0.001367641645 -0.2344936637 -0.001351469768 -0.001456812237 0.001382350339 0.2264756242 -0.2283221503 0.2283461501 -0.001480812054 -0.228296335 -0.001463742858 -0.001458121126 0.001469320492 0.2285556013 -0.2278601242 0.2278491333 -0.001447130224 -0.2278702002 -0.001434295363 -0.001416932623 0.001426700685 0.2255091284 -0.2247623473 0.2247525976 -0.001407182908 -0.2247713352 -0.001397591381 -0.001376422714 0.001387063423 0.2226849133 -0.2220708041 0.2220596278 -0.001365246477 -0.2220813352 -0.001358411602 -0.001327530892 0.001340895526 0.2203657942 -0.2198782455 0.2198639595 -0.001313244822 -0.2198920069 -0.001308689878 -0.001263849938 0.001281508618 0.2185089551 -0.2181246649 0.2181056705 -0.001244855537 -0.2181432596 -0.001242089838 -0.001186060474 -0.2170365173 -0.4326974321 -0.002203035412 0.001158072011 0.001156674893 0.001150071722 0.001152637774 -0.002072686428 -0.430884691 -0.001927692227 -0.001767019381 -0.4296320758 -0.05300413163 -0.003313942211 0.003213939491 -0.003262605441 -0.05295546568 -0.05310999358 0.01803236367 -0.124350493 -0.01684211839 0.1230117481 -0.1243383126 0.0193589282 0.1219776953 0.01873776376 -0.05498865426 -0.003972133075 0.00380956782 -0.003920373672 -0.0548778484 -0.05494572038 -0.002130618095 -0.05108531917 0.05394382909 -0.06583628718 0.00976183999 0.009235839449 0.05398460651 0.02846393106 0.007034424667 -0.006763904085 0.006908325384 0.1208527809 0.01824873142 -0.01665925789 0.01756142592 0.1199506128 0.1201807548 -0.09457326389 0.006675464555 -0.008031641448 0.00921106253 -0.09575268498 -0.09728199449 -0.007029716223 0.1043718961 -0.0208250945 -0.1048579427 0.0231231662 -0.02206812008 0.10331685 0.1035444913 -0.1471957013 0.01245757879 -0.01531938655 0.01413394278 -0.1460102575 -0.148337287 0.0024745293 -0.102132842 0.1027370875 -0.1025014455 0.002238887314 0.1029549722 0.002412327527 0.1010646673 -0.1007144809 0.000828061123 -0.001468301041 0.1013975752 0.001135393066 0.1009402635 -0.1484893677 -0.001828916137 0.0007179392834 -0.0002384505791 -0.1489688564 -0.1511954663 0.003592593226 -0.1037209375 0.1042446423 -0.1040835367 0.00343148764 0.1044003522 0.00356354329 0.1031658706 0.002569274431 -0.00292127123 0.002719533188 0.1033676086 0.1030040695 -0.141295606 -0.0112452345 0.01149448371 -0.01042840055 -0.1423616892 -0.1437350338 0.00468790802 -0.1049099476 0.1054673288 -0.1053078141 0.004528393389 0.1056362958 0.00467482656 0.1045555206 0.003697469957 -0.003978895753 0.003831332259 0.1047030841 0.1043319344 0.001146297607 -0.02600975702 0.0257715382 -0.02580772514 0.02575127474 0.005954689395 -0.003090037567 -0.1063707636 0.1071030165 -0.1068412559 0.005692928782 0.107341968 0.005819880438 0.1058102564 0.004821844127 -0.005153963948 0.004973198314 0.105991022 0.1055530375 0.002093363335 -0.02667397414 0.02666737657 -0.02633583424 0.001761821001 0.02682807264 0.001678523972 0.02610441363 -0.02622987415 -0.001226785957 0.02606905243 0.02641827662 0.01177284074 -0.0638983449 0.06338375282 -0.06381905894 0.01220814686 0.06302727011 0.01223173981 0.02473559927 -0.003665697241 -0.1091453587 0.1102762947 -0.1094654049 0.02392470944 0.110658907 0.006649454637 0.1076162266 0.00593861008 -0.006340935799 0.006058038971 0.1078991234 -0.003302416531 0.1074140167 -0.05354861064 0.05362461033 -0.003592861025 0.003500442934 -0.003578869406 -0.05347018416 -0.05365018947 -0.04185485174 0.04185549808 -0.004443673416 -0.04178398359 -0.04281916585 0.001760911652 -0.050518004 -0.0008746365093 0.05059131925 -0.05055197487 0.001721567279 0.001748419995 0.05025839374 -0.05020264347 0.00161037899 -0.001684579916 0.001623987661 0.050318986 0.05020165835 -0.02564136985 0.02558984324 -0.0008416824294 0.0008888047691 -0.0008359373137 -0.0256942373 -0.02539705545 -0.00023338744 0.0453895194 -0.04386366972 0.04355080727 7.947500981e-05 -0.0440031519 0.0004126992082 -0.04017952619 0.04025154894 0.001626269437 -0.04012206589 -0.04029568456 0.003324200594 0.04216661383 -0.04173576842 0.04158870155 -0.04399768239 0.0007325262548 -0.001279408417 0.001077226644 -0.04379550061 -0.04570169811 -0.000907929322 0.02533639602 -0.02553295941 0.02547834452 -0.0008533144321 -0.0008459497235 -0.07297072327 0.0725579393 -0.009065311348 0.009258397638 -0.00883336666 -0.07339575425 -0.07366860121 -0.00213733502 0.04116158336 -0.04027424867 0.04031265259 0.001299724819 -0.02698359853 0.02623358358 -0.02632254257 0.02571517614 -0.001165657683 0.02569060487 0.02570345958 0.02683262571 0.001567849051 -0.001382122757 0.001497144713 0.02671760376 0.02723632522 -0.002994378176 0.05287923212 -0.05268602008 0.05273878664 -0.003047144728 -0.002992833475 -0.052644758 0.06262863919 0.01209710532 -0.01161201015 0.01188977632 0.06235087301 0.0624433762 -0.003616647186 0.05396695979 -0.05370360336 0.05379038811 -0.003703431939 -0.003624716202 0.0004301449185 -0.09923530191 0.1003418287 -0.09996586611 5.418231375e-05 0.0004652513404 0.09872054426 -0.09881628046 -0.004540074348 0.003246754911 0.09878766894 -0.003313879585 0.09758613624 0.001061473081 -0.04594896583 0.04673638981 -0.04634348073 0.0006685640086 0.04712073343 0.0009211371702 0.04475774921 -0.04482569197 0.001690412492 0.04503702018 0.04420252434 0.001667263633 -0.05000794511 0.05014570868 -0.0500777517 0.001599306656 0.001607209524 0.04955595077 -0.04938055746 0.001606821155 -0.00175926219 0.001612355611 0.04970285735 0.04973170117 -0.1320977995 0.01614384159 -0.1331889412 -0.1337809832 -0.05577285385 0.05559030705 -0.009648322337 0.01039795404 -0.01010038703 -0.05607042086 -0.05525771505 0.001813321965 -0.04893415473 0.04918080652 -0.04895844147 0.001590956921 0.001609845658 0.047491688 0.00114391405 -0.001627655956 0.00128006326 0.0478392807 0.04772122194 0.02040077585 0.07147675094 -0.06962727159 0.07112246028 0.01890558716 -0.06819443429 0.01904471731 -0.01087608772 0.06861820862 -0.06890963433 0.06852759951 -0.0104940529 -0.06933854069 -0.01037266264 -0.06663167772 0.0662132496 0.01121774504 -0.06697210258 -0.06702334016 -0.009846440225 0.07194923487 -0.07214870334 0.0717370461 -0.009434782984 -0.009277992452 -0.06971087366 -0.01028898114 0.01055993688 -0.01016562862 -0.07010518193 -0.07026887378 0.05248997597 -0.01428658182 0.01586173302 -0.01415155645 0.05077979939 0.01715214472 0.05000815787 -0.04289735307 0.004914096785 -0.005719286496 0.005921959211 -0.04310002578 -0.04446088818 -0.004941255628 0.01820104375 0.05391917999 -0.05367466971 0.05354088587 0.01833482759 0.01733091921 0.01621107786 0.0369129466 -0.03478376682 0.03616652724 -0.03389710943 0.02549920292 -0.02555745689 -0.001424504893 0.02545241674 0.02508574419 0.001540746096 -0.0204396955 0.02107880133 -0.0206730575 0.001135002261 0.0014495047 0.01928061225 0.0007445735607 0.01954589694 0.01905175956 -0.02544807595 0.02564044111 -0.001178861083 0.0009737600108 -0.001204186152 -0.0009193587592 0.02542416076 -0.02576235825 0.0258171985 -0.0009741990056 -0.001085084871 -0.04025959954 0.04001612415 0.001355008652 -0.04064323274 -0.040417327 -0.001012370598 0.03953601857 -0.04000855856 0.03994027101 -0.04095098923 0.04084469408 -0.002313033254 -0.04098784883 -0.04081350929 0.002542301893 0.04117625118 -0.04099635257 0.04128563834 0.03765766174 0.005012310218 -0.004795795138 0.004895490448 0.03755796643 0.03725625791 -0.006493196619 0.03586541153 -0.03547666548 0.03527128232 -0.006287813465 -0.006236476259 -0.03432933553 0.03416456581 0.006519236532 -0.03451497313 -0.03505920024 -0.03013445384 0.02995278615 0.007068457092 -0.0302517897 -0.03044653153 -0.02560186469 0.02550272724 0.006222763802 -0.02585637621 -0.0256912298 0.111062198 0.006723712298 -0.007180169191 0.006763312348 0.1114790548 0.111377952 0.05346668342 0.004678900994 -0.004341344146 0.004724020798 0.05308400676 -0.003454038723 0.04389176773 -0.006936854781 -0.02979651925 -0.008789360469 0.05374638889 -0.05524355838 0.05506644724 -0.01758068988 0.002872082939 -0.003259830636 0.004171742389 -0.01849260163 -0.01863545579 0.02589163053 -0.02589871104 -0.001140237567 0.02590883684 0.02627270351 0.001207285205 0.02583932065 0.001283431799 -0.02569633487 0.02564061443 -0.0257216685 -0.005541507733 0.03340330725 -0.04236769802 0.04375242043 -0.006926230146 -0.00730263124 -0.04076471186 0.0408358541 -0.006396027213 0.005630100029 0.04138821237 -0.04092153844 0.04098241996 -0.03924295466 0.03905938031 0.003249717373 -0.03948922967 -0.03982602188 -0.003206673805 0.0391325088 -0.03896506386 0.03889494305 0.02569819288 -0.0256095108 -0.001566347673 0.025862267 0.02598973326 0.001262750093 -0.0254119271 0.02558281722 -0.02558107725 -0.006628000156 0.03401202503 -0.03397919672 0.03378567448 -0.005788772803 0.02497711202 -0.02518029594 0.02511511491 0.02407632211 0.005136691513 0.01109401582 -0.01186788449 -0.13234399 0.02170226527 -0.0237278431 -0.1302458186 0.02162967169 -0.1299451526 -0.01113706963 0.06546991827 -0.06587669154 0.06555473772 0.01902210171 -0.01772668726 0.1283299114 0.1270237619 0.1270490601 -0.125172512 0.02829940032 0.02602808393 -0.06676685284 0.01881920755 -0.019880804 -0.06552695816 0.01864090932 -0.0651707077 0.01200571571 -0.01167500773 0.06497998606 0.06463468346 0.07423540063 -0.07312174946 0.01599186624 0.01505376641 -0.03277774392 -0.01498644943 -0.228566386 0.001928821317 -0.001552843186 0.001723657971 -0.001415301105 -0.001884397717 -0.2286671956 0.002075608125 0.2285005559 -0.2286612956 0.2283029557 0.228810382 0.001638887847 -0.2283896199 0.002814598669 -0.002265372642 0.002481737734 -0.002699176721 -0.2285539831 0.002933326003 0.2283209423 -0.2285383813 0.2280715602 0.2287181775 0.002318707986 -0.228267093 0.003484530425 -0.0031694071 0.003425901046 -0.00361762461 -0.2285136242 0.003474714252 0.2282653851 -0.2284573663 0.2288331768 0.2286740858 0.003136386742 -0.2291646624 0.001480338903 -0.003029774519 0.002582529995 -0.002193677603 -0.2290242415 0.001917697566 0.2292328353 -0.2288464686 0.2295469014 0.2287097101 0.003437815364 -0.2291632222 0.0007358392971 -0.001708822226 0.001611226245 -0.001579530086 -0.2289604468 0.00165598503 0.228985185 -0.2289543972 0.2289724567 0.228913039 0.002783650636 -0.2286029648 0.001248948083 -0.001793432104 0.002035305288 -0.002326302101 -0.2288466177 0.00271995321 0.2284641276 -0.2287528088 0.228177817 0.2290692799 0.003481429279 -0.2285599961 0.002820827161 -0.003165436414 0.003696699232 -0.004266242111 -0.2295790787 0.004825309287 0.2286987526 -0.2292659017 0.2281640355 0.2293579967 0.004584973029 -0.2298321816 0.005245539199 -0.005051185679 0.004923337774 -0.00471008892 -0.2297794602 0.004496994029 0.2299000504 -0.2296868016 0.2297328749 0.2295207585 0.003999160464 -0.2300374632 0.004639715648 -0.004257950719 0.004041447051 -0.003797692066 -0.2298196283 0.003570461726 0.2300103039 -0.2297665489 0.2302936744 0.2295800559 0.003239853992 -0.2300107969 0.003557817613 -0.003332575105 0.00312391442 -0.002894425352 -0.2297589172 0.002699719714 0.2299587996 -0.2297293105 0.2302128742 0.2295544793 0.002488515611 0.002309331644 -0.2276894367 0.002633545147 -0.002233422629 0.002482940015 -0.002005073056 -0.002758539983 -0.2277457778 0.003057510352 0.2275618817 -0.2278374816 0.2272623809 0.2280831397 0.00256346117 -0.22761995 0.002619076679 -0.003374191807 0.003307216698 -0.002677992718 -0.2284941459 0.002088438285 0.2283976211 -0.2277722401 0.2289402259 0.2277837494 0.00344415928 -0.2299739862 0.0008881227989 -0.001571388028 0.001129020415 -0.0007833598426 -0.2300448584 0.0005181050427 0.2301860108 -0.2298540179 0.2303830057 0.2293894976 0.001193270733 -0.2301102934 0.0006671178674 -0.000357621523 0.0002903425868 -0.0003040966199 -0.2296828237 0.0003854003524 0.2298661627 -0.2298919804 0.2296868801 0.2297762751 0.0001791407611 -0.2289190137 0.001623982716 -0.0005210285843 0.0007033033825 -0.000906781174 -0.2284723221 0.001126912645 0.2285656255 -0.2287721916 0.2282740153 0.228904524 0.0003818896791 -0.2276867885 0.002645577388 -0.001347426933 0.001571446554 -0.001789676453 -0.2274833728 0.002015296371 0.2274442543 -0.2276547805 0.2272714441 0.2279001836 0.001237941648 -0.2270686896 0.003240764791 -0.002249014954 0.002499091302 -0.002776477417 -0.2274601978 0.003099174156 0.2270562495 -0.22731867 0.2269274232 0.2277013429 0.002584320346 -0.2276384589 0.004030957959 -0.003466029077 0.003879872143 -0.004343601384 -0.2291087802 0.004861841685 0.2280455506 -0.2284960313 0.2277466813 0.2290678501 0.004631886034 -0.2300671701 0.00562631645 -0.005409992273 0.005992725003 -0.006018803717 -0.2309770319 0.005549739616 0.2309563754 -0.2309812317 0.2305788598 0.2306166375 0.005469253013 -0.2321184869 0.0006667756029 -0.004834302892 0.003697689885 -0.0005486332976 -0.2325634657 -0.002624549135 0.2347228275 -0.2315737709 0.2366192476 0.2305570925 0.003309616211 0.001465733036 -0.2288527348 0.008133404965 -0.005722865686 0.004037824295 -0.007251116778 -0.003124463394 -0.2275055186 0.002351862491 0.2276747079 -0.2267631571 0.2300077482 0.226940198 0.00310814778 -0.2293390435 0.001804255458 -0.001956931987 0.001676103649 -0.001516367635 -0.230060169 0.001471114036 0.2297858092 -0.229648927 0.2298348536 0.2293592239 0.001501583515 -0.2300916976 0.002499275693 -0.00155314081 0.001769396026 -0.002115070978 -0.2299821578 0.002594921545 0.2298412232 -0.2302147089 0.2292559666 0.2303915587 0.001377925996 -0.228504919 0.00548483908 -0.003190037643 0.003880859273 -0.004638415221 -0.2283359714 0.005423761421 0.2279909329 -0.2287674309 0.22698337 0.2293285862 0.003045737014 -0.2268889853 0.009399852424 -0.006205315532 0.006934877139 -0.007569096273 -0.2272197823 0.008075370641 0.2267384448 -0.2273771562 0.225943573 0.2278830719 0.005281612762 -0.2269198224 0.01138766293 -0.008424361422 0.008606651558 -0.008621857788 -0.2271130578 0.008491865199 0.2270865225 -0.2270911587 0.2271456336 0.2271544639 0.006268789218 -0.2275221552 0.01010510841 -0.008235494405 0.007893487014 -0.007497196746 -0.2272329858 0.007093374129 0.2276001482 -0.2271797171 0.2283643389 0.2269683621 0.005776474568 -0.2278400581 0.007353814714 -0.006709012934 0.006371297433 -0.005950266645 -0.2281417079 0.004630687509 0.2281572145 -0.2277064173 0.2301239598 0.2276258654 0.005248706006 -0.2324103121 -0.004074770776 -0.001951966315 -0.0001822097517 0.00244477735 -0.237651107 0.001743808669 0.2369179709 -0.2346428657 0.2314470404 0.2314050595 0.0008061325537 -0.2319395874 0.005104341762 -0.004322178107 0.005004284948 -0.004754787627 -0.2320544915 0.004322870714 0.2326537293 -0.232404241 0.2326893049 0.233178435 0.004012688485 0.003996597063 -0.2267540313 0.002405686237 -0.002662464555 0.002724942491 -0.002809835832 -0.003020043651 -0.2294840214 0.004422991607 0.2273776693 -0.2276902014 0.2272562727 0.2292934057 0.005998111049 -0.2299489482 0.005427328293 -0.006499125422 0.01112362789 -0.01300212691 -0.2323056501 0.01081527493 0.2306347787 -0.2325415461 0.2279198249 0.2304535368 0.006664429829 -0.2297975804 0.01498470268 -0.009122680873 0.007868027002 -0.008351352336 -0.2266763077 0.009360413855 0.227015314 -0.2275339278 0.2276534808 0.2284704708 0.00547944994 -0.2242614966 0.01503549107 -0.01054468 0.01136340253 -0.012831839 -0.2236809844 0.0144851897 0.2227606683 -0.2242475294 0.2216458396 0.2257299468 0.01055340155 -0.2216729602 0.02103825398 -0.0162787546 0.01799624684 -0.01948868328 -0.2244207218 0.02063331511 0.2222558896 -0.2237517795 0.2203912517 0.2249621211 0.01620409073 -0.2262604329 0.0249263407 -0.02133254609 0.02147185496 -0.02058740996 -0.2289397695 0.01824575282 0.2284330712 -0.2275408118 0.2305976499 0.227271192 0.01762448541 -0.2326278125 0.0189712917 -0.01548322035 0.01394412274 -0.01397151461 -0.2314395544 0.01177166307 0.2329158598 -0.2329230004 0.2350590776 0.2300096741 0.01007427836 -0.238099942 0.00983546948 -0.007022877733 0.004090884098 -0.006330890731 -0.2336782425 0.008030748513 0.2346001373 -0.2368055331 0.2337306041 0.234579401 -0.0009528548244 -0.231020794 0.00797222786 -0.007836676408 0.007093301879 -0.006428788042 -0.2307423532 0.005896505541 0.2311228032 -0.2304277241 0.2320179266 0.2301584682 0.005769014197 -0.2321849808 0.005314837751 -0.00549605167 0.005201458084 -0.005013418811 -0.2334571165 0.004866975293 0.232857753 -0.2326574065 0.2332796831 0.2326065876 0.005047159372 0.004942132136 -0.226131129 0.002047729337 -0.002263053357 0.002605272945 -0.001840108391 -0.00261645125 -0.2269572011 0.003023758605 0.2267698586 -0.2268166177 0.2259408938 0.2270598129 0.002515399601 -0.2258325773 0.004417017527 -0.003537564659 0.004221934868 -0.005050984709 -0.2251454964 0.006046000611 0.2250799154 -0.2259494014 0.2241963628 0.2267969695 0.004817201445 -0.2215412287 0.008817582439 -0.007327096026 0.009324092502 -0.01206860266 -0.2232487936 0.01564244426 0.2203517201 -0.2231281593 0.2182720269 0.2257248681 0.01364355632 -0.2161861068 0.02060101428 -0.02017891148 0.02319039835 -0.02377744076 -0.2171331999 0.02557196156 0.2173066564 -0.2179005556 0.2126685557 0.2194783068 0.02127385061 -0.2155433828 0.02021288886 0.1033134297 0.01629212057 -0.02881005053 0.02966899646 -0.03263067006 -0.2177036081 0.03585717041 0.1075895413 0.1068875665 -0.2156819915 0.1060698478 0.1066504701 0.01967647928 -0.1059652356 0.2180999815 0.02970578403 0.02028448242 -0.1145307077 -0.02129346298 -0.03605093407 0.03289570089 0.1142755239 0.1174007177 0.1121434241 0.1094515418 -0.03338559458 -0.2366691998 0.03081312739 0.2339040896 -0.2343939833 0.1180868357 -0.02023938022 0.2332701029 0.03089078365 -0.2457177013 0.02938961132 -0.02696554966 0.02318546628 -0.0228006635 -0.2410271719 0.02222339911 0.2435300656 -0.2431332689 0.2401331422 0.01589687587 -0.2398445879 0.01901178388 -0.02023536604 0.01787454326 -0.01565055496 -0.236035219 0.01360173142 0.2390076994 -0.2367516261 0.2415671048 0.2348251998 0.0144263655 -0.2367632798 0.01009823847 -0.0117259673 0.0098556339 -0.008231764879 -0.234409528 0.007119892606 0.2361340619 -0.2344694841 0.2377443568 0.2331123392 0.008248977155 -0.2351938128 0.005620612623 -0.006031123184 0.00515653898 -0.004734179916 -0.2348457571 0.004421563098 0.235075108 -0.2346354281 0.2357605207 0.233976752 0.004495477332 0.004166049976 -0.2246967071 0.001491587165 -0.001734002476 0.002119740897 -0.001433728384 -0.002585999425 -0.2247225671 0.003138396756 0.2244993831 -0.2249967457 0.2240001621 0.2254718638 0.002396861121 -0.2226864969 0.003747914904 -0.003771559387 0.004470104549 -0.00524025611 -0.2210997164 0.006095964219 0.2215595054 -0.2223660545 0.2209859488 0.22324823 0.005184175612 -0.2170959095 0.006689499667 -0.006948286251 0.007889887768 -0.00874180548 -0.2128896994 0.009830843217 0.2146232248 -0.2154978029 0.213556941 0.2166760558 0.009411434396 -0.2056702411 0.01045555775 -0.01108870069 0.012487246 -0.1015759567 -0.008274243949 0.09978870537 0.2023452644 -0.204150993 0.007542982855 0.00674999183 0.005850513814 0.005806553625 0.1003410215 0.2079373354 0.01928940651 0.01179521503 0.1007226132 -0.01865729182 0.01790766814 -0.1010619109 0.10408894 -0.01851290257 -0.1042333293 0.09977113873 -0.01553788423 -0.1120313076 0.02842381495 0.05709554323 -0.02472556877 0.02610694216 -0.02582739127 -0.02609951366 -0.1177353929 0.02565785076 0.1145302583 -0.1145228298 0.05666703004 0.1139433133 -0.114481185 0.02494418248 0.02376657819 -0.2523092467 0.02028654347 -0.02308738311 0.02016145938 -0.01755602582 -0.2453907506 0.01524165291 0.2498903909 -0.2472644885 0.2525892016 0.2444705345 0.01657556998 -0.2440491649 0.01138281467 -0.01309052792 0.01108419836 -0.009375434604 -0.2395457566 0.007856369818 0.2424166477 -0.2406754922 0.2440643522 0.239103863 0.009304767144 -0.2390623351 0.005626004202 -0.006610031025 0.005523009993 -0.004613369232 -0.2371311459 0.003862390921 0.2384042132 -0.2374698924 0.2394796914 0.236579479 0.004834952753 0.004119954448 -0.2234031971 -0.0007805075506 0.000695166708 -0.0003163291285 0.000685801443 -7.178175163e-05 -0.2227390852 0.0005026463446 0.2229122962 -0.2233249145 0.2225502125 0.2235062282 0.0005592545938 -0.2204969425 0.0007586420411 -0.0009629153197 0.001428014545 -0.001877069776 -0.2183506028 0.002286938535 0.219314018 -0.2197901117 0.2189163799 0.2203664641 0.002584493664 -0.2144545788 0.001855050984 -0.002642988996 0.002905901509 -0.00305280144 -0.2100534589 0.2123659019 -0.2125252255 0.2123585554 0.2129166111 0.004498573822 -0.1409761543 0.0188269809 0.1429049164 -0.02214787515 0.02010155021 -0.01828253262 -0.1363698545 0.1394441827 -0.1376251651 0.1410087707 -0.2636259188 0.01338222808 -0.01798570755 0.01561955378 -0.01355768476 -0.2545584634 0.01171973238 0.2597713987 -0.2576990561 0.2614941873 0.2552099035 0.01507411217 -0.2508423163 0.007487779841 -0.0100831282 0.008636573989 -0.007325781104 -0.2453363522 0.006142074264 0.2485126624 -0.2471820491 0.2496960909 0.2456576068 0.007817322298 -0.2433128588 0.00348873102 -0.005118759805 0.004230093355 -0.003454083236 -0.2402360718 0.00277996651 0.2420878973 -0.2412952463 0.2428195043 0.2406581425 0.003952360578 0.003261188442 -0.2223782844 -0.002491908514 0.00228592895 -0.002075886721 0.002434063229 0.001835042754 -0.2212139993 -0.001564058048 0.221703287 -0.2219426043 0.2214896288 0.2222247337 -0.00137418527 -0.2191897183 -0.001622451353 0.001304673561 -0.001061843701 0.0008752637201 -0.2171453787 -0.0007660166461 0.2181703262 -0.2183563694 0.2180354794 0.2186007879 -0.000237572403 -0.2144227557 -0.001631413878 0.000760108465 -0.0008738968977 0.001146959688 -0.2109231897 0.2129489518 -0.2126761317 0.2132661937 0.2124745389 -0.000252512139 -0.1494392444 0.004977686442 0.1494509412 -0.007035585021 0.006813889054 -0.003391276299 -0.00652860724 -0.144625014 0.1470776416 -0.1467923598 0.1471205565 0.1463918652 -0.145708405 0.00827882637 -0.2681021333 0.001900838243 -0.00516882838 0.004852995928 -0.004433342669 -0.2600348982 0.003920795163 0.2640761736 -0.2636540486 0.2640954369 0.2627938618 0.00691134093 -0.2545278846 0.001168451157 -0.003410912633 0.002841891922 -0.002260220688 -0.2493181907 0.001715978113 0.2520628339 -0.2514757221 0.2524523121 0.2506868579 0.00365103344 -0.2460973133 -0.0003144495029 -0.001178296907 0.0006350478929 -0.0002693572256 -0.2425534062 -9.43862501e-05 0.2443407318 -0.2439698948 0.2446613267 0.2434393915 0.001099220735 0.0006466663185 -0.221855075 -0.003950814789 0.003726123743 -0.003607071449 0.00379741926 0.003463763304 -0.2203849515 -0.00330765366 0.2210564156 -0.2211715374 0.2209610357 0.2213135892 -0.0030790169 -0.2186947605 -0.003506938748 0.003176097915 -0.003078222013 0.003042118219 -0.217014796 -0.003094547667 0.2179004586 -0.2179085682 0.2179341956 0.2179517618 -0.002553358683 -0.2153579303 -0.004069858861 0.00325020742 -0.003525480519 0.003927744978 -0.2128726018 0.2144171489 -0.2140041859 0.214851955 0.2136140115 -0.003316179455 0.00169642339 -0.05100821558 0.05114455989 -0.05109654989 0.05119486934 0.05104507197 -0.05099660141 -0.001659784112 -0.1454162216 -0.007371789357 0.1444508592 0.00693771469 -0.006004931037 0.005219580365 -0.1429196792 0.1437792215 -0.1445645721 0.1429153265 0.1452852109 -0.1458812377 -0.004081688754 -0.2650259501 -0.008598895624 0.007588102242 -0.006288722257 0.005338905202 -0.2601426726 -0.004534791617 0.2621046113 -0.2630635363 0.260990496 0.2637388911 -0.003024434919 -0.2545694049 -0.005435349373 0.004107834483 -0.003830071464 0.003623281418 -0.250423497 -0.003550148706 0.2524307685 -0.2526499 0.2520557915 0.2526767048 -0.00221575937 -0.2466478123 -0.004541675474 0.00353102615 -0.00348092381 0.003453928617 -0.2433998406 -0.003406136619 0.2449126306 -0.2449441234 0.2447835434 0.2448591922 -0.002533629435 -0.002590382494 -0.2216787236 -0.005163843833 0.004804222836 -0.004728923337 0.004843339506 0.004643075959 -0.2200546636 -0.004558986748 0.2208130997 -0.2208403067 0.2207929666 0.220887953 -0.004466374872 -0.2187508001 -0.004950447759 0.004513399907 -0.004523737477 0.004605795949 -0.217520412 -0.004782587711 0.2182240486 -0.2180861968 0.2183508828 0.2179986065 -0.004310599386 -0.2168487899 -0.005863045041 0.005068264214 -0.005472335454 0.005998035448 -0.2151654182 0.2163698104 -0.2158247151 0.216928368 0.2153240601 -0.005519835639 0.002145710173 -0.05167186189 0.05179768605 -0.05177075337 0.05183601269 0.05173558437 -0.05170186734 -0.002117685613 -0.1366603589 0.135497482 -0.01377550251 0.01441973148 -0.01319198942 -0.2580276431 -0.01542810373 0.01598537585 -0.01407892062 0.01239491082 -0.256118674 -0.0111353192 0.2563186591 -0.2580291928 0.2546533331 0.2595892201 -0.01098786166 -0.2518498584 -0.01041933736 0.01013439158 -0.009243123091 0.008572512049 -0.2490278453 -0.008328461819 0.2502177468 -0.2509303366 0.249453679 0.2515415261 -0.007815492391 -0.2453347884 -0.007961125552 0.007843387296 -0.007425114608 0.006946005249 -0.2426312164 -0.006509527779 0.2437882113 -0.2442845736 0.2432834391 0.2445564279 -0.006044878998 -0.005734105384 -0.2216974171 -0.006182330462 0.005100889664 -0.005368015073 0.005225335488 0.005292856932 -0.2200558499 -0.005247924675 0.2208138983 -0.220798761 0.2209594503 0.2207894811 -0.005375890298 -0.2192041046 -0.005832800679 0.00525222578 -0.005333211209 0.00550680794 -0.2185281259 -0.005799583464 0.2189887093 -0.2187319866 0.2192035427 0.2185276064 -0.005473937676 -0.2189148777 -0.007110229098 0.006220499951 -0.006786653095 0.007495070584 -0.2180207874 0.2189320304 -0.2181977874 0.2196503726 0.2175413825 -0.007181117108 0.002754946937 -0.05211697792 0.05229011472 -0.05226029888 0.05233551226 0.05222618669 -0.05219779822 -0.002707716649 -0.2500230719 -0.01780937093 0.01957759962 -0.01761349705 0.01622976521 -0.2509580505 -0.01513096006 0.2499875398 -0.2514163867 0.2485675246 0.2529704526 -0.01552195018 -0.2479095511 -0.01353760605 0.01364184941 -0.01271099842 0.01193027976 -0.2467114151 -0.01107929643 0.2470933065 -0.2479354561 0.2463393602 0.2487198879 -0.01153858792 -0.2428558038 -0.01054501792 0.0103740812 -0.009735706244 0.009129231875 -0.2402453259 -0.008637228847 0.2413926161 -0.2420380502 0.2406466837 0.2426951277 -0.008853872733 -0.008151972661 -0.2217787126 -0.02123841075 0.01455021709 -0.01447167665 0.0146101512 0.01438661352 -0.2202801963 -0.01433800124 0.2209332336 -0.2209049481 0.2210167702 0.2209167683 -0.005540787139 -0.2199790879 -0.02144032086 0.01434567883 -0.01445801042 0.01468364754 -0.2200531452 -0.01505907474 0.2201471235 -0.2198180425 0.2205181899 0.2195502348 -0.005614326249 -0.2216654417 -0.02346097612 0.01561288332 -0.0163713261 0.01736330386 -0.2216436228 0.2223247561 -0.2213050333 0.2233191939 0.2204452522 -0.008165490451 -0.05325592123 -0.003472722376 0.05332689263 0.003362996585 -0.003431895265 0.003490529503 -0.05276815613 0.05305769515 -0.05299906091 0.05311783561 0.05294167641 -0.05288669281 -0.00344242013 -0.05703762524 -0.01138253421 0.05673104062 0.01205739258 -0.0116682977 0.01132256938 -0.05835762899 0.05766830992 -0.05801403824 0.05738845094 0.05841887869 -0.01160818794 -0.01121643318 -0.2383274785 -0.02068616788 0.02435515155 -0.02247974628 0.01299549804 0.02186670918 -0.24529063 -0.02033758432 0.2422700335 -0.2429064496 0.2435266317 0.2446481082 -0.02239848625 -0.2446500563 -0.01766986393 0.01871012797 -0.01790097543 0.01699474527 -0.2462307883 -0.01546180132 0.2456431524 -0.2466224737 0.2449241432 0.2473481389 -0.01722164938 -0.2448622396 -0.0146356841 0.01465520186 -0.01465638861 0.01382499519 -0.2427736646 -0.01314977104 0.2436804229 -0.2445830632 0.2423361549 0.2455412025 -0.01350558716 -0.2394608583 -0.0116159778 0.01245888217 -0.0113597908 0.01044163742 -0.2368409045 -0.009409782102 0.2382270657 -0.239179285 0.2370877324 0.2399358625 -0.01030406761 -0.009276415504 -0.222524941 -0.008968115806 0.008139491435 -0.008353972344 0.007855830608 0.008513334035 -0.2207674903 -0.008630166207 0.2215961976 -0.2213325516 0.2219460439 0.2211429889 -0.00782620895 -0.22076564 -0.009659815346 0.008720148216 -0.008800304423 0.008886063166 -0.221543138 -0.008994405805 0.2211229521 -0.2209399675 0.2213070665 0.220740904 -0.008102383386 -0.2235479835 -0.009996418805 0.009136928823 -0.009324260452 0.009562836405 -0.2253477229 0.224599832 -0.2243276832 0.2247517372 0.2239051216 -0.009177856964 0.05513117305 -0.05500667484 -0.00418668157 0.05528482947 -0.004343086903 0.05516476692 -0.1118055292 -0.01367691057 0.1118036729 0.01470440087 -0.01466508307 0.1130742134 -0.01547600427 0.1128275395 0.1136609178 -0.01515277294 -0.2340253479 -0.02114954144 0.02261320051 -0.02194206069 0.02119254481 -0.2388697141 -0.02041367609 0.23617898 -0.2369841256 0.2356640687 0.2378483683 -0.02215623075 -0.2405904348 -0.01892088378 0.01962843074 -0.01946487937 0.01917100825 -0.2420018723 -0.01882008748 0.2412863829 -0.2416803294 0.2405024486 0.2424923751 -0.01598056915 -0.2405504235 -0.01703402711 0.01502992425 -0.01426593687 0.01349402145 -0.2395032315 -0.01267855855 0.2397422436 -0.2406008788 0.2390074303 0.2414359985 -0.01332630648 -0.2354525258 -0.01093340696 0.0129215139 -0.01100956076 0.01004441409 -0.2326132858 -0.009055434785 0.233577395 -0.2345713634 0.2325068068 0.2357605532 -0.01039020189 -0.009254817013 -0.2248687442 -0.0110241003 0.009928316935 -0.0106323035 0.009128029453 0.01123672628 -0.2221549571 -0.01174492392 0.2236443278 -0.2229564427 0.2244725648 0.2223948694 -0.01060693432 -0.2219683785 -0.01339499161 0.01215772198 -0.01247570566 0.01270370285 -0.222233768 -0.01285019414 0.2220754113 -0.2217567004 0.2224915079 0.2215091637 -0.01167396383 -0.2239356187 -0.01416779717 0.01292604097 -0.01294527881 0.01292624974 -0.2258998419 -0.01289455375 0.2248848119 -0.2248523757 0.224958248 0.2248219517 -0.01179804511 -0.2279860193 -0.01421562437 0.01288228587 -0.0129176268 0.01306402819 -0.2297578726 -0.01321955251 0.2290315233 -0.2288758548 0.2291726913 0.2286024772 -0.01212013966 -0.2067787078 -0.01441445229 0.0123698605 -0.0134267843 0.01554489218 -0.2232867821 -0.01668739284 0.2138976739 -0.2117813719 0.2157687255 0.2093819586 -0.1072520851 -0.0162152524 -0.2275931075 -0.01895156757 0.01774008281 -0.01864066701 0.01937784194 -0.2299652417 -0.01993520901 0.2289615934 -0.2282496049 0.2296116181 0.2275233018 -0.01952558859 -0.2336746296 -0.0207170546 0.02029847388 -0.02046905868 0.02046093571 -0.2366316127 -0.02028650862 0.2351176318 -0.2352039248 0.2350409768 0.2353630583 -0.0203399691 -0.2380396713 -0.01973592729 0.01995830055 -0.01949185427 0.0189003579 -0.2391557394 -0.01819421636 0.2383836693 -0.2390847866 0.2376442887 0.2397795223 -0.01866797692 -0.2371282483 -0.01646658869 0.0173828863 -0.01647531878 0.01548055849 -0.2356507338 -0.0144082251 0.2359745018 -0.2370524021 0.2348141714 0.2380588216 -0.01547139062 -0.230845517 -0.01169726213 0.01326853176 -0.01207287522 0.01097944614 -0.2289946609 -0.01035110787 0.2289176953 -0.2300172149 0.2280044679 0.2311781021 -0.01117843012 -0.01048796818 -0.2294410818 -0.01090805268 0.009931743399 -0.01125767266 0.00853634151 0.01249408437 -0.2253895652 -0.01362441577 0.2278696779 -0.2265833217 0.2293032598 0.2254508743 -0.01244389251 -0.2248969315 -0.01583717193 0.01463636424 -0.01552227182 0.01627926716 -0.2237502462 -0.016909553 0.2245298685 -0.2237018177 0.2255205627 0.2230278849 -0.01556583316 -0.225085645 -0.01877419908 0.01741968068 -0.01782126947 0.0181296146 -0.2262206866 -0.01836393581 0.2257122788 -0.2253512995 0.2262044135 0.225105949 -0.01687121178 -0.2284843389 -0.02015047509 0.0185560351 -0.01874785209 0.01891498721 -0.229711102 -0.0186432142 0.2296622837 -0.2294776624 0.229871108 0.2293167085 -0.01736336411 -0.2106034442 -0.02003984001 0.01763004889 -0.01860141726 0.0199655886 -0.2268297592 -0.02053046904 0.220284909 -0.2189364189 0.2214919601 0.2174376432 -0.01861890148 -0.2299194687 -0.02237124076 0.02101896005 -0.02144704954 0.02179192541 -0.2316948674 -0.02203372781 0.2308974532 -0.2306034633 0.2310560552 0.2301690751 -0.02096042049 -0.2336956766 -0.02244644416 0.02213382982 -0.02207451567 0.02184553797 -0.2354242298 -0.02144192768 0.2344081098 -0.2347212982 0.2339625359 0.2349223 -0.02148473088 -0.2352256233 -0.01995725033 0.02086367346 -0.02011514857 0.01920526773 -0.2354936539 -0.01814725061 0.2349499252 -0.2359488782 0.2338327855 0.2368405941 -0.01929873105 -0.2322506337 -0.01501905775 0.01695671422 -0.01565295654 0.01425752339 -0.2305609797 -0.01279221302 0.2307713244 -0.2322140324 0.229239135 0.2335621185 -0.01479461525 -0.2264189047 -0.01037429815 0.01130342604 -0.01064364617 0.01012553339 -0.2266709294 -0.009621570619 0.2262903032 -0.226808416 0.2258040158 0.2273603436 -0.01035374374 -0.009819814748 -0.2350566685 -0.007611333965 0.007416774825 -0.008254100341 0.007080760325 0.01001439002 -0.2310400209 -0.01172625122 0.2343250191 -0.2325551036 0.2353577831 0.2308710532 -0.01108137266 -0.2302961618 -0.01384122166 0.01335934173 -0.01489235011 0.01630851972 -0.2275091279 -0.01759588416 0.2294405658 -0.2279859034 0.2310187412 0.2266745227 -0.01682720142 -0.2284068716 -0.01926616173 0.01874771942 -0.01976250593 0.02064449509 -0.2280883733 -0.02140520522 0.2285340655 -0.2276158424 0.2295825035 0.2268378328 -0.02055261134 -0.2302258603 -0.02256054411 0.02206189644 -0.02260677749 0.02285589994 -0.2282264075 -0.02237942977 0.2306094913 -0.2303482696 0.2308845612 0.230101091 -0.02240950724 -0.2148686085 -0.0231026426 0.02180731266 -0.02293023453 0.02374711677 -0.2283382748 -0.02390730494 0.2242899144 -0.2234926855 0.2249569411 0.2225606047 -0.02326240063 -0.2301470463 -0.02360418042 0.02393136693 -0.02384559528 0.02363985121 -0.2315586374 -0.02330378494 0.2306911816 -0.2309457351 0.2303182797 0.2310705374 -0.02360140345 -0.231725356 -0.02139052556 0.02281334562 -0.02216458599 0.02135340766 -0.2326464435 -0.02038009826 0.2317644016 -0.2326388605 0.2307629447 0.2333736348 -0.02190325428 -0.2306218076 -0.01669808079 0.01924964139 -0.01797181576 0.0165612359 -0.2302592382 -0.01503706442 0.2297816308 -0.2312402511 0.2282370636 0.2325948371 -0.01763260606 -0.2259015764 -0.0107496286 0.01342210489 -0.01174200048 0.01074637363 -0.2252522389 -0.01034662222 0.2249705194 -0.2259686202 0.2246060532 0.2276281346 -0.01142906024 -0.2246263117 -0.009265064926 0.00994411969 -0.009541532923 0.009141127525 -0.2248232086 -0.008744369639 0.2245202855 -0.2249206909 0.2241448361 0.2253482199 -0.009395175847 -0.008973936172 -0.2362817625 -0.006964501716 0.006844492208 -0.007129454197 0.006561264859 0.007416107203 -0.2359470775 -0.00770405681 0.2362633826 -0.2359767295 0.2365356608 0.2356749757 -0.007596880568 -0.2361079595 -0.008052873899 0.007992828239 -0.008590972994 0.01012729635 -0.2335034688 -0.01180382757 0.2359722181 -0.2344317492 0.2362930872 0.232692939 -0.0122854805 -0.2337495594 -0.012384572 0.01337242628 -0.0148161724 0.01612315746 -0.2319265057 -0.01728549569 0.2333184743 -0.2319985339 0.2346753592 0.2307443435 -0.01803044968 -0.233102366 -0.01678583116 0.01828937947 -0.01906849662 0.01941485879 -0.226609705 -0.01922916577 0.2318440554 -0.2314934644 0.2322384499 0.2311767873 -0.02111866734 -0.2190141764 -0.01823893382 0.01936190012 -0.0203127332 0.02065689472 -0.2284406167 -0.02056038701 0.2262633852 -0.2259321373 0.2265087139 0.2255008262 -0.02227016087 -0.2287270586 -0.01757101342 0.02028837692 -0.01985335303 0.01925535765 -0.2292868322 -0.01848740229 0.2286584646 -0.2292824871 0.2279914479 0.229842625 -0.02110377081 -0.2277857732 -0.0140152897 0.01756495363 -0.01648740387 0.01526494642 -0.2278680924 -0.01391072291 0.2272169079 -0.2284625441 0.2259485362 0.2296543043 -0.01740090945 -0.2246958356 -0.01021134509 0.01244140694 -0.01101885353 0.01041237899 -0.224439261 -0.01016704964 0.2243986041 -0.2250072038 0.2241914806 0.226632094 -0.01152186258 -0.2238407539 -0.009284939834 0.009905630766 -0.009630654301 0.009344563998 -0.2238218951 -0.009049659563 0.2236755701 -0.2239616604 0.2234105891 0.2242710969 -0.009683460061 -0.2232655096 -0.008178001864 0.00874806084 -0.008441715769 0.008132366411 -0.2233721461 -0.007821032008 0.2231538838 -0.2234632332 0.2228633667 0.2237931609 -0.008384054902 -0.00805389565 -0.2372920921 -0.006287106982 0.006223553166 -0.006457649572 0.005988050449 0.006690164813 -0.2370089996 -0.006920590726 0.2372716712 -0.2370391559 0.237492118 0.2367940538 -0.006870616942 -0.2370974672 -0.007150587473 0.007148368727 -0.00737284701 0.007593238529 -0.2366567346 -0.007808678612 0.2370008549 -0.2367804634 0.237207046 0.2365449457 -0.007830557737 -0.2365778396 -0.007940912928 0.008018384337 -0.00822163703 0.008417061733 -0.2360761954 -0.008599808581 0.2364118213 -0.2362163966 0.2365918358 0.2359639933 -0.008758589665 -0.2355595339 -0.008489372153 0.008753230334 -0.008835067709 0.008849745117 -0.2266767744 -0.008857348734 0.2331961284 -0.2331810844 0.2331524259 0.2326836972 -0.01126613295 -0.2217541715 -0.00900218052 0.009147036936 -0.009648930146 0.009759111319 -0.2278424177 -0.00972888386 0.2269053918 -0.2267956396 0.2270236196 0.2266820536 -0.01265966528 -0.2271578118 -0.009224439595 0.009668879499 -0.009630006707 0.009630847633 -0.2262359455 -0.009610424566 0.2266803152 -0.2266794873 0.2266821022 0.2273058987 -0.01101224269 -0.2253591736 -0.009107659461 0.00956725546 -0.009501966885 0.009415487632 -0.2247147193 -0.009308839172 0.2249681609 -0.2250546401 0.2248888926 0.2251492209 -0.009819310916 -0.2239512346 -0.008682859711 0.009183087754 -0.00903941689 0.008879134343 -0.2235721387 -0.008703656294 0.2236673253 -0.2238276078 0.2235195427 0.224001753 -0.009234999832 -0.2229336986 -0.00801059121 0.008514450691 -0.008313010232 0.008100842943 -0.2227605708 -0.007879418604 0.2227246069 -0.2229367742 0.2225270766 0.2231648811 -0.008395004169 -0.2222233456 -0.007170494557 0.007650142712 -0.007414337986 0.007173194818 -0.2222317157 -0.006927263159 0.2220930606 -0.2223342038 0.2218660606 0.2225905897 -0.007404735737 -0.007144803089 -0.2381191169 -0.005623332584 0.00559671349 -0.005788043273 0.005402017478 0.005975882589 -0.2378575915 -0.006159774668 0.2380871368 -0.2378992974 0.2382651311 0.2377011649 -0.006150124315 -0.2378665653 -0.006308171027 0.006339258358 -0.006513866812 0.006683118565 -0.2374355607 -0.006846536646 0.2377500224 -0.2375807707 0.2379085385 0.2374000845 -0.006901627019 -0.2372522517 -0.006904720275 0.007003632587 -0.0071536073 0.007294465529 -0.2367150687 -0.007420430444 0.2370512405 -0.2369103823 0.2371811711 0.2367576511 -0.00755972869 -0.2357542007 -0.007258856101 0.007515492575 -0.007548609865 0.007500632253 -0.2265084844 -0.007463042731 0.2330118034 -0.233059781 0.2329634054 0.2331067682 -0.007800194288 -0.2232201317 -0.007681687516 0.007671917508 -0.007991443938 0.008070641174 -0.2279395403 -0.00810461402 0.2272946601 -0.2272154628 0.2273650902 0.2271259609 -0.008401182285 -0.2272282327 -0.007816749403 0.008129175085 -0.008143632756 0.008143926836 -0.2261624217 -0.008128508709 0.226684402 -0.2266841079 0.2266842878 0.2266833451 -0.008484469553 -0.2251463963 -0.007729521602 0.008097140171 -0.008050155057 0.007988042484 -0.2243372078 -0.007911280691 0.2246866847 -0.2247487973 0.2246291705 0.2248159906 -0.008316164099 -0.2234798292 -0.007419682344 0.00782037376 -0.007715892221 0.007598498154 -0.2229449484 -0.007468949515 0.2231390458 -0.2232564399 0.2230299489 0.2233829288 -0.007895691571 -0.2222590746 -0.00691724427 0.00732806785 -0.007176726457 0.007015843899 -0.2219583497 -0.006846341142 0.2220099303 -0.2221708129 0.2218593405 0.2223428284 -0.00727093842 -0.2214144618 -0.006267764026 0.006669118775 -0.006485037748 0.006294887253 -0.2213284833 -0.006098925684 0.2212604743 -0.2214506248 0.221080953 0.2216522227 -0.006504300685 -0.006297768102 -0.2387939229 -0.004995016534 0.00499128848 -0.005147237525 0.004830924238 0.005298730952 -0.2385347098 -0.005445415129 0.2387452475 -0.2385937541 0.2388888486 0.2384338547 -0.00546452022 -0.2384657893 -0.005538862173 0.005586977224 -0.005723153759 0.005853714859 -0.2380276313 -0.005978426769 0.2383269481 -0.238196387 0.2384494398 0.2380571155 -0.006054122052 -0.2377521313 -0.005992417811 0.006096945438 -0.006208466806 0.006310761563 -0.2371562011 -0.006397771626 0.237514197 -0.2374119022 0.2376087244 0.2373011314 -0.006545383703 -0.2358161679 -0.006219165674 0.006455603866 -0.006462426164 0.006415975215 -0.2264077101 -0.006409390732 0.2328211593 -0.2328676103 0.232776112 0.2329151665 -0.006671169696 -0.2242630936 -0.006576218057 0.006604855442 -0.006834428521 0.006885014965 -0.2280549372 -0.006906559219 0.2275348624 -0.227484276 0.2275804276 0.2274279634 -0.007162952613 -0.2272709094 -0.006662583029 0.006921660083 -0.006930498642 0.006929740772 -0.2261062736 -0.006917902074 0.2266824598 -0.2266832176 0.2266816895 0.2266838601 -0.007213299847 -0.2249900649 -0.006596727126 0.006894504555 -0.006859636279 0.006813539027 -0.2240619887 -0.006756462193 0.2244801089 -0.2245262062 0.2244372226 0.2245757947 -0.007088293083 -0.2231304483 -0.006364372209 0.006688652062 -0.006610376905 0.006521961028 -0.2224773228 -0.006423803142 0.2227452051 -0.222833621 0.2226625563 0.2229283506 -0.006775416615 -0.2217452066 -0.005979996136 0.006316361267 -0.006200147153 0.00607572147 -0.2213401576 -0.005943659582 0.2214612353 -0.2215856609 0.2213442215 0.2217181512 -0.006299178915 -0.220777733 -0.005469669313 0.005804533873 -0.005658904859 0.005507310404 -0.220606847 -0.005349867828 0.2205994534 -0.2207510479 0.2204558658 0.2209113954 -0.005696569809 -0.005531014027 -0.2393437283 -0.004411490972 0.004424571052 -0.004551594985 0.004292671317 0.004673796797 -0.2390750641 -0.004790942601 0.2392760785 -0.2391538767 0.2393919207 0.2390249043 -0.004825992428 -0.2389342498 -0.004844101079 0.00490286922 -0.005009485197 0.005110738809 -0.2384805875 -0.005206550983 0.2387734701 -0.2386722165 0.2388685848 0.2385643446 -0.005289817251 -0.2381256561 -0.005191058845 0.005296665764 -0.005380211389 0.005454663942 -0.2374600044 -0.005514045129 0.2378511437 -0.2377766912 0.2379198635 0.237696032 -0.005659031436 -0.2358041899 -0.005331257494 0.005546925346 -0.005539114945 0.005499383825 -0.2264162442 -0.005513931503 0.2326513867 -0.2326911179 0.2326135033 0.2327327217 -0.005716240209 -0.2250155343 -0.005632603128 0.005688149585 -0.005853924253 0.005887646843 -0.2281287455 -0.005901840859 0.2276924103 -0.2276586877 0.227723207 0.2276215227 -0.006123612037 -0.2272993584 -0.005692402829 0.005912172618 -0.005918611119 0.005918416722 -0.2260641465 -0.005910129834 0.2266803353 -0.2266805297 0.226680511 0.2266810125 -0.006156705036 -0.2248739987 -0.005645941633 0.005893147572 -0.005867392032 0.005832960372 -0.2238560948 -0.005789987768 0.2243258371 -0.2243602687 0.2242938778 0.224397346 -0.006064053911 -0.2228656736 -0.005470147251 0.005738608093 -0.005678955789 0.005611190277 -0.2221205444 -0.005535518931 0.2224451339 -0.2225128994 0.2223816139 0.2225852657 -0.005826693263 -0.2213465208 -0.005171843137 0.005452194859 -0.005361517112 0.005263827648 -0.2208558952 -0.00515948403 0.2210327571 -0.2211304465 0.2209406226 0.2212341373 -0.005457209946 -0.2202702358 -0.004766044052 0.005048846658 -0.004932276716 0.004810134878 -0.220025055 -0.004682425526 0.2200689137 -0.2201910555 0.2199529646 0.2203199474 -0.004977514503 -0.004843567785 -0.2397913484 -0.003878681406 0.003904200792 -0.004007604133 0.003795943493 0.004106235169 -0.2395068161 -0.004199949835 0.2397043661 -0.2396057351 0.2397978453 0.2395016795 -0.004243008845 -0.2393018831 -0.004223502136 0.004288697382 -0.00437250971 0.004451455289 -0.2388293437 -0.004525542204 0.2391208399 -0.2390418943 0.239195071 0.2389579199 -0.004609067626 -0.2384059587 -0.004490186309 0.004594492267 -0.004657232018 0.004711058169 -0.237665566 -0.004750506096 0.2380954726 -0.2380416464 0.2381450366 0.2379832263 -0.004887534503 -0.2357510109 -0.004570539697 0.004766498294 -0.004750493239 0.004717672736 -0.2264940993 -0.004743291173 0.2325102006 -0.2325430212 0.2324788807 0.232577421 -0.004902185961 -0.2255592709 -0.004818446298 0.004891648108 -0.005011697496 0.005036684765 -0.2281796818 -0.005047977095 0.22780297 -0.2277779827 0.227827025 0.2277515606 -0.00523755158 -0.2273245494 -0.004869604047 0.005056998324 -0.0050634408 0.005065040409 -0.2260365878 -0.005060434555 0.2266838176 -0.226682218 0.226685912 0.2266811231 -0.005265559725 -0.2247898063 -0.004840775713 0.005048993906 -0.0050305543 0.005005140295 -0.2237011291 -0.004972836307 0.2242113943 -0.2242368083 0.2241878664 0.2242642554 -0.005199788103 -0.2226629036 -0.004707704844 0.004933735152 -0.004887923831 0.004835493962 -0.2218444363 -0.004776559334 0.2222137767 -0.2222662066 0.2221645562 0.2223220721 -0.005018462842 -0.2210333912 -0.004474128962 0.004711259152 -0.004639763724 0.004562276009 -0.2204718508 -0.004479012366 0.2206941798 -0.2207716675 0.2206209866 0.2208537186 -0.004728550097 -0.2198617533 -0.004148721729 0.004390194568 -0.004296050833 0.004196815702 -0.2195518836 -0.004092410255 0.2196392406 -0.2197384757 0.2195449182 0.2198429807 -0.004342995605 -0.00423375105 -0.2401557651 -0.003399632932 0.003431105385 -0.003515309464 0.003342247492 0.003594990451 -0.2398523794 -0.003670095993 0.2400501897 -0.2399705087 0.2401257214 0.2398864864 -0.003716628901 -0.2395916069 -0.003675329702 0.003740676071 -0.003806862217 0.003868800387 -0.2390996339 -0.003926503099 0.2393926196 -0.2393306814 0.2394509702 0.2392649324 -0.004006577411 -0.2386166118 -0.003881736885 0.003979576056 -0.004026788517 0.00406550532 -0.2378006623 -0.004090951633 0.2382714266 -0.2382327098 0.2383071075 0.238190686 -0.004217218689 -0.2356758347 -0.003923215541 0.004096012379 -0.004076094573 0.004049382877 -0.226602437 -0.004077627539 0.2323939669 -0.2324206786 0.2323690709 0.2324490193 -0.004205239337 -0.2259598898 -0.004123004792 0.004196622531 -0.004286717867 0.004310564174 -0.2282258978 -0.004323075806 0.2278980865 -0.2278742402 0.2279222369 0.2278506473 -0.004479544526 -0.2273524114 -0.004177108206 0.004332864567 -0.004340066866 0.004343214357 -0.2260227813 -0.004341313775 0.2266945061 -0.2266913586 0.2266977605 0.2266884548 -0.004511153373 -0.2247300268 -0.004159884295 0.004333871457 -0.004320735071 0.004301912008 -0.2235845474 -0.00427746712 0.2241269992 -0.2241458222 0.224109458 0.2241660577 -0.004466036708 -0.2225064773 -0.004058033278 0.004247474784 -0.004211999911 0.004171100346 -0.2216288116 -0.004124837691 0.2220339276 -0.2220748271 0.2219954523 0.2221183008 -0.004326635915 -0.2207854341 -0.003873737897 0.004073280532 -0.004016512357 0.00395463761 -0.2201646667 -0.003887770568 0.2204245064 -0.2204863811 0.2203659921 0.2205517903 -0.004097379612 -0.2195306504 -0.003611237004 0.003816031892 -0.003739551275 0.003658467751 -0.2191643569 -0.003572645852 0.2192889195 -0.219370003 0.219211767 0.2194552686 -0.003785401934 -0.003695766311 -0.2404524123 -0.002972595544 0.0030063866 -0.003074889057 0.002933547877 0.003139245435 -0.240129473 -0.003199496864 0.2403295902 -0.2402652338 0.2403905685 0.2401973475 -0.003247402973 -0.239821148 -0.003193372807 0.003255787543 -0.003308327184 0.003357290048 -0.2393108227 -0.003402639963 0.2396068416 -0.2395578788 0.2396530398 0.2395059938 -0.003478116154 -0.2387760461 -0.003354739702 0.003443893431 -0.003479819122 0.003508040315 -0.2378875827 -0.003524568392 0.2383987254 -0.2383705042 0.2384249113 0.2383400496 -0.0036389603 -0.2355969674 -0.003376558075 0.003524088713 -0.003505075514 0.003486800942 -0.2267165156 -0.003516683851 0.232307234 -0.2323255086 0.2322915235 0.2323461807 -0.003617391967 -0.2262681621 -0.003545274171 0.003610268308 -0.003679930251 0.00370319012 -0.22827747 -0.003715802052 0.2279938164 -0.2279705565 0.2280157627 0.2279465271 -0.003844010597 -0.2273796301 -0.003593527797 0.00372484746 -0.003731178866 0.003734117741 -0.2260168895 -0.003733071148 0.2267070423 -0.2267041034 0.2267098165 0.2267009933 -0.003876344436 -0.2246861773 -0.00358125426 0.003727698357 -0.003717862778 0.00370353766 -0.2234957525 -0.00368474225 0.2240634243 -0.2240777494 0.224050065 0.2240930703 -0.003843549264 -0.2223847396 -0.003502618378 0.003661506203 -0.003633852178 0.003601794721 -0.221459205 -0.003565345934 0.2218931013 -0.2219251587 0.2218629778 0.2219592338 -0.003735206729 -0.2205881206 -0.003357047728 0.003524516363 -0.003479321594 0.003429789576 -0.2199176526 -0.003375954945 0.220208733 -0.220258265 0.2201619044 0.2203106258 -0.003553025985 -0.2192611262 -0.003144955377 0.003317858926 -0.003255553429 0.00318910282 -0.2188454377 -0.003118333856 0.2190020756 -0.2190685262 0.2189388164 0.2191383758 -0.003299564376 -0.00322571735 -0.240693034 -0.002593190747 0.002627679528 -0.002683068898 0.002568313149 0.002734736526 -0.2403515518 -0.002782816004 0.2405546272 -0.2405029595 0.2406034363 0.2404483037 -0.002831714391 -0.2400033523 -0.002768605804 0.002827532493 -0.002869143849 0.002907822593 -0.239477115 -0.002943498175 0.2397763735 -0.2397376948 0.2398127387 0.2396966099 -0.003015337413 -0.2388982597 -0.002894403708 0.002975684776 -0.003003270227 0.003024229559 -0.2379449256 -0.003035376105 0.2384927789 -0.2384718196 0.2385121935 0.2384492273 -0.003139650435 -0.2355307703 -0.002907743812 0.003033026327 -0.003018177465 0.003010846391 -0.2268443948 -0.003046801224 0.2322609542 -0.2322682852 0.232256616 0.232278508 -0.003123627854 -0.2264966582 -0.003055289651 0.003121381091 -0.00317098047 0.00318707802 -0.2283227818 -0.003195871963 0.2280702198 -0.2280541222 0.2280843883 0.2280359492 -0.003310036965 -0.227401489 -0.003088544782 0.003202620604 -0.003207703124 0.003210431613 -0.2260136088 -0.003210227984 0.2267178612 -0.2267151327 0.226720753 0.2267124831 -0.00333512197 -0.224653963 -0.003082659569 0.003206746818 -0.003199821995 0.003189380196 -0.2234278417 -0.003175392444 0.2240157911 -0.2240262329 0.2240063583 0.2240376662 -0.003311414032 -0.2222906832 -0.003024644163 0.003157844094 -0.003136718149 0.003111991577 -0.221325946 -0.003083637361 0.2217835192 -0.2218082458 0.2217604801 0.2218347182 -0.003228133299 -0.220431586 -0.002911478676 0.003051623619 -0.003015918198 0.002976495506 -0.2197189424 -0.002933333841 0.2200364521 -0.2200758748 0.2199992792 0.2201176635 -0.003084054353 -0.2190416648 -0.002740963928 0.002886417281 -0.002835741083 0.002781315385 -0.2185823979 -0.00272294552 0.2187669848 -0.2188214105 0.2187151865 0.2188786711 -0.002878225399 -0.00281730541 -0.2408858573 -0.002258825538 0.002293779264 -0.002337809004 0.002246070045 0.002378467771 -0.2405276912 -0.00241596301 0.240733427 -0.2406927682 0.2407714963 0.2406494506 -0.002463883418 -0.2401456384 -0.0023936979 0.002450576199 -0.002482591536 0.002512185948 -0.2396069129 -0.002539308157 0.2399082668 -0.2398786724 0.2399355909 0.2398468243 -0.002607252314 -0.2389906792 -0.00248684053 0.00256355533 -0.002584013356 0.002599060013 -0.2379833683 -0.002606292129 0.2385616526 -0.2385466059 0.2385752215 0.2385301188 -0.002701450308 -0.2354845902 -0.002496050001 0.002603511344 -0.002594093355 0.002599720391 -0.2269988422 -0.002643328067 0.2322631284 -0.2322575014 0.23227256 0.2322554061 -0.00269803992 -0.2266484541 -0.0026225176 0.002694216036 -0.002725465116 0.002735699874 -0.2283528046 -0.002741752576 0.2281183336 -0.2281080989 0.2281279006 0.2280968975 -0.002843831016 -0.2274213235 -0.002648722012 0.002747278506 -0.00275227679 0.002755941705 -0.2260153839 -0.002757594446 0.2267309007 -0.2267272358 0.226734925 0.2267238649 -0.002864221755 -0.2246347402 -0.002652376026 0.002756800268 -0.002753318242 0.002747013086 -0.2233790506 -0.00273780693 0.2239842903 -0.2239905954 0.2239790566 0.2239979567 -0.002852102054 -0.2222212249 -0.002614564853 0.00272564833 -0.00271049145 0.002692288673 -0.2212233701 -0.002670989805 0.2217011146 -0.2217193173 0.2216844421 0.2217390961 -0.00279181204 -0.2203092514 -0.002529655611 0.002646539429 -0.002618878973 0.002587952477 -0.2195601352 -0.002553705465 0.2199004264 -0.2199313529 0.2198714055 0.2199642809 -0.002680082772 -0.2188636138 -0.00239393524 0.002516087792 -0.002475059918 0.002430598374 -0.2183655292 -0.002382502719 0.2185746935 -0.218619155 0.2185324105 0.2186659738 -0.002513842566 -0.002463647033 -0.2410360001 -0.001966867809 0.00200247161 -0.002036187917 0.001965189101 0.002066657165 -0.2406625728 -0.002094110564 0.2408704385 -0.2408399693 0.2408984277 0.2408070017 -0.002140217627 -0.2402496325 -0.002061653171 0.002118837433 -0.002141117419 0.002161134544 -0.2397019917 -0.002178896677 0.2400031476 -0.2399831305 0.2400204926 0.2399605771 -0.002244749838 -0.2390527509 -0.00211591249 0.002194157423 -0.002206316299 0.002214326238 -0.2380062392 -0.00221681863 0.2386053489 -0.2385973389 0.2386107956 0.2385871902 -0.00230754572 -0.2354628941 -0.002115868201 0.002213362608 -0.002210377944 0.002232873176 -0.2271915073 -0.002290385055 0.2323265047 -0.2323040094 0.2323534871 0.2322860928 -0.002321899337 -0.2267281585 -0.002228522283 0.002312724041 -0.002325525036 0.002334165524 -0.2283774774 -0.002341549434 0.22815445 -0.2281458095 0.228163204 0.2281370108 -0.002431008422 -0.2274449859 -0.002263062734 0.002348760087 -0.002355747308 0.002361900803 -0.2260258299 -0.002366622776 0.2267507623 -0.2267446088 0.2267582642 0.226739428 -0.002455069443 -0.2246306965 -0.002282620911 0.002369448544 -0.002370073105 0.002368305173 -0.2233494957 -0.002364021021 0.2239701766 -0.2239719445 0.2239697028 0.2239749257 -0.002456979932 -0.2221746989 -0.002265441986 0.00235713685 -0.0023475879 0.002335316697 -0.2211477801 -0.002320266618 0.2216432946 -0.2216555659 0.2216324277 0.2216692691 -0.002418592078 -0.2202161254 -0.002205330564 0.002302377244 -0.002281584255 0.002257822948 -0.2194347559 -0.002231027614 0.2197950265 -0.2198187878 0.2197728644 0.2198442171 -0.002334785039 -0.2187199474 -0.002098561003 0.002201134831 -0.002168090228 0.00213185526 -0.2181869348 -0.002092237503 0.2184178704 -0.2184541053 0.2183834268 0.218492262 -0.002201540616 -0.002160233965 -0.2411470368 -0.001719617667 0.001753123232 -0.001777445232 0.00172510504 0.001798326201 -0.2407574219 -0.001815929074 0.2409680423 -0.2409471613 0.2409867353 0.2409239859 -0.001860622027 -0.2403122128 -0.001774634382 0.001830446268 -0.001842039999 0.00185077861 -0.239755889 -0.001856587301 0.2400554589 -0.2400467203 0.2400612933 0.2400350513 -0.001923627424 -0.2390702523 -0.00177706963 0.001859213025 -0.001858210736 0.001853033735 -0.2380015311 -0.001843547767 0.2386068644 -0.2386120414 0.2385973022 0.2386131952 -0.001940414313 -0.2354560566 -0.001730476486 0.001831985973 -0.001828908431 0.001862560874 -0.2274455853 -0.001931686303 0.2324514648 -0.2324178124 0.2324819776 0.2323843805 -0.001958985408 -0.226741622 -0.001834749511 0.001935070424 -0.001935813626 0.001950287949 -0.2284178617 -0.001967960948 0.2281982801 -0.2281838057 0.2282181686 0.2281726466 -0.002045584663 -0.2274930293 -0.001919828076 0.001985555145 -0.002001794011 0.002016024588 -0.2260538569 -0.002027875743 0.2267933367 -0.2267791062 0.2268105664 0.2267675594 -0.002097536123 -0.2246474096 -0.001970838078 0.002037130762 -0.002043692425 0.002047536338 -0.2233403655 -0.00204866773 0.2239768023 -0.2239729584 0.2239821314 0.2239706064 -0.002121753764 -0.2221499031 -0.001975284243 0.00204710129 -0.002042848848 0.002035913074 -0.2210960283 -0.002026284625 0.2216077963 -0.2216147321 0.2216020401 0.2216229213 -0.00210491955 -0.2201476015 -0.001936032213 0.002013940148 -0.001998842989 0.00198094784 -0.2193371159 -0.001960202277 0.2197150878 -0.219732983 0.2196984366 0.2197522087 -0.002044799974 -0.2186043581 -0.001852350434 0.001936550562 -0.001909941289 0.001880335702 -0.2180397311 -0.001847559261 0.2182899715 -0.2183195771 0.2182617578 0.218350706 -0.001938429245 -0.001904335021 -0.241224884 -0.001522544486 0.001549636944 -0.001566510224 0.001528935078 0.001579698113 -0.2408147218 -0.001589237764 0.2410313964 -0.2410182086 0.241043232 0.2410033942 -0.001629432106 -0.2403340313 -0.001547701418 0.001595151954 -0.001597389501 0.001595766243 -0.2397603532 -0.001589920368 0.2400632706 -0.2400648938 0.2400599588 0.2400643567 -0.001653083412 -0.2390271443 -0.00150509863 0.001579283192 -0.001563096413 0.001540566472 -0.2379345207 -0.001511402346 0.2385420784 -0.2385646084 0.238516432 0.2385831776 -0.001610443396 -0.2353853281 -0.001366973621 0.001477649592 -0.001447600706 0.001443670079 -0.227684356 -0.001471786064 0.2325128802 -0.2325168109 0.2324908826 0.2325052259 -0.001549402609 -0.2268264113 -0.001451366126 0.001495346984 -0.001538051353 0.001587249691 -0.2285251084 -0.001631952446 0.2283327579 -0.2282835596 0.2283937382 0.2282458584 -0.001671588731 -0.2275970335 -0.001641824716 0.001670256397 -0.001702101642 0.001728220991 -0.2261158067 -0.001749300692 0.226880505 -0.2268543856 0.2269086755 0.2268309482 -0.001793155741 -0.2246896585 -0.001723928605 0.001765936357 -0.0017786068 0.001787698747 -0.2233525896 -0.001793515782 0.2240060001 -0.2239969081 0.2240158833 0.2239888803 -0.001846763873 -0.2221438437 -0.001744333803 0.001796284167 -0.001796167589 0.001793279956 -0.2210641476 -0.001787694231 0.221590762 -0.2215936496 0.2215885449 0.2215973633 -0.001848865575 -0.2200982565 -0.001719562971 0.001779448819 -0.001768553243 0.001754995705 -0.219261398 -0.001738747437 0.21965488 -0.2196684375 0.2196421277 0.2196829206 -0.001807080698 -0.2185105602 -0.001652547225 0.001719768526 -0.001698016538 0.001673455943 -0.2179173898 -0.001645929842 0.2181846041 -0.2182091647 0.2181610309 0.2182348677 -0.001721342549 -0.001692838954 -0.2412814295 -0.001380003385 0.001397159073 -0.001410138314 0.001380601172 0.001419641705 -0.2408459083 -0.001425674414 0.241073479 -0.2410639756 0.2410827961 0.2410539878 -0.001454325842 -0.2403322908 -0.001397289213 0.001428208825 -0.001427133621 0.001422201869 -0.2397283605 -0.001412983694 0.2400455965 -0.2400505283 0.2400412599 0.2400555136 -0.001457528642 -0.2389472485 -0.001353245205 0.001398812281 -0.001378720382 0.001351376718 -0.2377992769 -0.001314997002 0.2384333516 -0.2384606953 0.238408042 0.2384888539 -0.001384546818 -0.2351797881 -0.001184687005 0.001267478722 -0.00120661614 0.001134037878 -0.2276724677 -0.001085171062 0.2323192234 -0.2323918017 0.2322368641 0.2324500959 -0.001186319479 -0.227184003 -0.001254430333 0.001164638121 -0.001277179133 0.001360068013 -0.2287398368 -0.001421263966 0.2286272127 -0.2285443238 0.2287095487 0.2284651838 -0.001397399046 -0.2277417564 -0.001473140663 0.001467747015 -0.00150388206 0.001532458619 -0.2262062353 -0.001555137822 0.2269960739 -0.2269674973 0.2270227875 0.226938009 -0.001572001707 -0.2247453056 -0.001550879391 0.001573006073 -0.001586788117 0.001596999681 -0.223379054 -0.00160401608 0.2240468953 -0.2240366837 0.2240565386 0.2240262272 -0.001638464357 -0.2221480737 -0.001572263365 0.001608110428 -0.001609479511 0.001608259694 -0.2210453572 -0.001604540745 0.2215842322 -0.221585452 0.2215830086 0.2215868327 -0.001649630764 -0.2200610512 -0.001553105574 0.001598374723 -0.001589782101 0.001578759404 -0.2192011036 -0.001565283901 0.2196075621 -0.2196185848 0.2195968854 0.2196300701 -0.001618718979 -0.2184321776 -0.001495976104 0.001549319539 -0.001530825968 0.001509767865 -0.217813708 -0.001486015387 0.2180955307 -0.2181165888 0.218075083 0.2181384121 -0.001547152384 -0.00152273114 -0.2413321635 -0.001289667805 0.001295122946 -0.001308017241 0.001279350049 0.001318176664 -0.2408710018 -0.001325687363 0.2411120108 -0.2411018514 0.241122813 0.2410921723 -0.001338601356 -0.2403350759 -0.001318740736 0.001330621732 -0.001333005972 0.001332784606 -0.2396988404 -0.001329782169 0.2400358904 -0.2400361118 0.2400374416 0.2400379809 -0.001348560654 -0.238889751 -0.001309109686 0.001323641386 -0.001313696963 0.001298704541 -0.2376710782 -0.00127627618 0.2383519699 -0.2383669623 0.2383406264 0.2383857224 -0.001302926253 -0.2349407234 -0.001198921797 0.001241623232 -0.001186593832 0.001103307132 -0.2274464 -0.001052528055 0.231979484 -0.2320627707 0.2319023497 0.2321498156 -0.001090733552 -0.2276390082 -0.001281367658 0.001160898888 -0.0012648073 0.001325509891 -0.2289608295 -0.001365088497 0.228918083 -0.2288573804 0.2289689415 0.2287872787 -0.001322047201 -0.2278539674 -0.001403949011 0.001393269761 -0.001415056079 0.001432557934 -0.2262862217 -0.00144676528 0.2270852631 -0.2270677612 0.2270993527 0.2270468522 -0.001450410211 -0.2247894162 -0.001446038593 0.001458159558 -0.001467008695 0.001473485004 -0.2234038943 -0.001477713006 0.2240795153 -0.224073039 0.2240846576 0.2240653264 -0.001498811584 -0.2221508164 -0.001454907708 0.001479784822 -0.001479764834 0.001477695036 -0.2210305198 -0.00147359699 0.2215778936 -0.2215799634 0.2215753288 0.2215816306 -0.00150568266 -0.2200282661 -0.001433225393 0.001467472312 -0.001459304384 0.001449061894 -0.2191493482 -0.001436700791 0.2195659182 -0.2195761607 0.2195556445 0.2195864532 -0.001477467018 -0.2183629871 -0.001379722532 0.001422168909 -0.001405414274 0.001386393381 -0.2177228663 -0.001365002796 0.218016772 -0.2180357929 0.2179980195 0.2180552207 -0.001413721489 -0.001391956678 -0.2413891469 -0.001242791697 0.001236126101 -0.00125133609 0.001218728757 0.00126458773 -0.2409066582 -0.001276045448 0.2411600069 -0.2411467553 0.2411741439 0.2411343694 -0.001273881536 -0.2403593034 -0.001290125112 0.001285857869 -0.001294134875 0.001300915302 -0.2396996431 -0.001306121706 0.2400526906 -0.2400459102 0.2400610108 0.2400407964 -0.00130476607 -0.2388785556 -0.001313188562 0.001309479624 -0.001310354378 0.001307420927 -0.2376040175 -0.001298079008 0.238324409 -0.2383273425 0.238323293 0.2383325754 -0.001302838587 -0.2347639112 -0.001249438266 0.001277493305 -0.001238780486 0.001182259247 -0.2273029019 -0.001169938382 0.2317129303 -0.2317694515 0.2316618802 0.2318323475 -0.001163341692 -0.2279449714 -0.001343486453 0.001269032894 -0.001330764947 0.001357966778 -0.2290762876 -0.001371978796 0.2290714892 -0.2290442874 0.2290935409 0.2290105991 -0.001349382883 -0.2279007733 -0.001384855795 0.001380628816 -0.001387135052 0.001392443183 -0.2263274765 -0.001396786743 0.2271234453 -0.2271181371 0.2271264528 0.2271102165 -0.001398393225 -0.2248081462 -0.001392564843 0.001400126896 -0.001402368971 0.001403414741 -0.2234142448 -0.001403183094 0.2240918623 -0.2240908166 0.2240916112 0.2240884253 -0.001416368501 -0.222143609 -0.001384650391 0.001401610261 -0.001398640239 0.001394220425 -0.2210116902 -0.001388298397 0.2215640178 -0.2215684376 0.2215589124 0.2215721946 -0.001410736707 -0.2199935868 -0.001355643464 0.001380818194 -0.001371717566 0.001360928144 -0.2190999551 -0.001348374719 0.2195239137 -0.2195347031 0.2195128484 0.2195452597 -0.001378969493 -0.2182973952 -0.001300956613 0.001333977503 -0.001317657159 0.001299339171 -0.2176392054 -0.00127888395 0.2179427515 -0.2179610695 0.2179244403 0.2179794834 -0.001317487507 -0.001296980733 -0.241457346 -0.001229373601 0.001212003044 -0.001230153362 0.001192200303 0.001246885132 -0.2409586815 -0.001262355388 0.241221783 -0.2412050513 0.2412393332 0.2411891629 -0.001248219188 -0.2404053338 -0.001292859122 0.00127668781 -0.001289947654 0.001302101102 -0.2397298075 -0.001312956712 0.2400938949 -0.2400817414 0.2401070856 0.2400707401 -0.001299193307 -0.2388974427 -0.001335382669 0.001322067869 -0.001328557975 0.001330824647 -0.2375752976 -0.00132611449 0.2383272445 -0.2383249778 0.2383302372 0.2383235865 -0.001323723726 -0.2346295116 -0.001289126987 0.001310209496 -0.001278966509 0.001240041095 -0.2272925649 -0.001250716737 0.2315340083 -0.2315729337 0.2314984369 0.2316154193 -0.001226512806 -0.2281340939 -0.001391380962 0.001338134379 -0.001379023047 0.001390749254 -0.2291111929 -0.001392448463 0.2291378518 -0.2291261256 0.2291469867 0.2291115128 -0.001381552856 -0.2279033411 -0.001392845162 0.001390962857 -0.001388675193 0.001386227542 -0.2263336505 -0.001383672719 0.2271241636 -0.2271266113 0.227120238 0.2271274339 -0.001384843333 -0.2248030378 -0.001376614705 0.00138087539 -0.001377669202 0.00137389663 -0.2234067558 -0.00136942132 0.2240836872 -0.2240874598 0.2240788683 0.2240901222 -0.001377681637 -0.2221236026 -0.001353224869 0.001364129223 -0.001357920514 0.001350703591 -0.2209844969 -0.001342391539 0.2215393767 -0.2215465936 0.2215314627 0.2215531051 -0.001357887111 -0.2199531783 -0.001315100855 0.001332897863 -0.001322134006 0.001310009065 -0.2190484031 -0.001296428007 0.2194775971 -0.219489722 0.2194650645 0.219501461 -0.001319193023 -0.2182311847 -0.001256216625 0.001281293221 -0.001264508573 0.001245982085 -0.2175578578 -0.0012255622 0.2178691706 -0.2178876971 0.2178504558 0.2179061161 -0.001256023577 -0.001235750178 -0.2415369968 -0.00124148315 0.001215138107 -0.001236040165 0.001192904695 0.001255803639 -0.2410257275 -0.001274544411 0.2412964888 -0.2412767253 0.2413169296 0.2412576544 -0.001251608681 -0.2404676884 -0.001317413101 0.001292331951 -0.001309161363 0.001324908612 -0.2397789649 -0.00133926761 0.2401519371 -0.2401361898 0.2401683906 0.2401212107 -0.001317668316 -0.238931093 -0.00137185307 0.001351652735 -0.001361038623 0.001365724764 -0.2375597674 -0.001363083234 0.2383427179 -0.2383380318 0.2383478855 0.2383338546 -0.001355958148 -0.2345181363 -0.00133763182 0.001349707421 -0.001323891422 0.001297651453 -0.2273587409 -0.001322914183 0.2314106309 -0.2314368708 0.2313872492 0.2314660975 -0.001282456837 -0.2282686101 -0.001448075605 0.001402695618 -0.001432532428 0.00143520674 -0.2291058586 -0.001429408885 0.2291610473 -0.229158373 0.2291620158 0.2291537549 -0.001422929472 -0.2278792915 -0.001423609644 0.001421528439 -0.001413547092 0.001405913317 -0.2263157324 -0.001398569815 0.2271008186 -0.2271084524 0.2270921614 0.227114963 -0.001398974242 -0.2247795293 -0.001390306653 0.001391329074 -0.00138399645 0.001376400064 -0.2233833254 -0.001368392639 0.2240587404 -0.2240663368 0.2240503266 0.2240730661 -0.001373276782 -0.2220912088 -0.001353964555 0.001359850142 -0.001350664287 0.00134073507 -0.2209475422 -0.001329967199 0.2215036614 -0.2215135906 0.2214930877 0.2215228642 -0.001340548108 -0.2199052548 -0.001306513749 0.00131826571 -0.001305533915 0.001291673218 -0.218991924 -0.001276581126 0.2194248413 -0.219438702 0.2194105065 0.2194521072 -0.001293604378 -0.2181614868 -0.001241605141 0.001260152857 -0.001242285406 0.001222880928 -0.2174754725 -0.001201795685 0.2177929961 -0.2178124006 0.2177732433 0.2178315593 -0.00122613569 -0.001205329568 -0.2416265729 -0.001277544881 0.001241399021 -0.001264539869 0.001217188195 0.001286658797 -0.2411046569 -0.001307818211 0.2413817514 -0.2413596324 0.2413379873 -0.001277426973 -0.240541465 -0.001363428267 0.001328044669 -0.001347293033 0.001365399887 -0.2398402049 -0.001382019175 0.2402212517 -0.2402031449 0.240185475 -0.0013543084 -0.2389738113 -0.001427330835 0.001396528343 -0.001407881541 0.00141440731 -0.2375520854 -0.001413657675 0.238366187 -0.2383596613 0.2383535267 -0.00140172673 -0.2344272783 -0.001410333343 0.001402718313 -0.001381274075 0.001363580599 -0.227475581 -0.00139905817 0.2313306135 -0.231348307 0.2313663615 -0.001349587157 -0.2283685188 -0.001523245091 0.00147496581 -0.001497334512 0.001493646387 -0.2290747005 -0.001483012599 0.2291558141 -0.2291595022 0.2291613877 -0.001478926498 -0.2278375439 -0.001481731875 0.001471031553 -0.001459442126 0.001448436804 -0.2262809228 -0.001437884451 0.2270611494 -0.2270721547 0.2270825903 -0.001436694647 -0.2247422753 -0.001434561522 0.001427550476 -0.001417228194 0.001406744235 -0.2233468161 -0.001395955739 0.2240207609 -0.2240312449 0.2240411522 -0.001397275631 -0.2220478894 -0.001386133428 0.001384743872 -0.001373005435 0.001360644649 -0.22090091 -0.001347569459 0.2214577204 -0.2214700812 0.2214818921 -0.001353435621 -0.2198491743 -0.001328664578 0.001333686944 -0.001318901808 0.00130311663 -0.218928911 -0.001286230606 0.2193646028 -0.219380388 0.2193956945 -0.001297938316 -0.2180862861 -0.001255764151 0.001268142835 -0.001248758457 0.001227999009 -0.2173893916 -0.001205819608 0.2177119831 -0.2177327425 0.2177531732 -0.00122442492 -0.001202522554 0.009027783031 0.07828327311 -0.0771816308 0.07742267864 -0.07671391948 -0.07777546207 0.07792388704 -0.008281913611 -0.001485569295 0.07793933754 -0.07759726721 0.07732201944 -0.07774646064 -0.07714997549 0.07684027267 0.002017167737 0.006119420824 0.07908303151 -0.07818583309 0.07824629793 -0.07842367377 0.07841828408 -0.005384556506 0.002035648622 -0.05153740966 0.05166513022 -0.05163421424 0.05159034472 -0.05155659066 -0.002011367837 -0.00746057398 0.007851816181 0.07254245793 -0.0726579434 0.07226527037 -0.07296353071 -0.003460973254 0.07681471445 -0.07661748875 0.07628057818 -0.07602783797 0.07566890459 0.003927475602 0.002582263321 -0.05200323377 0.05216092013 -0.05213390941 0.05210313324 -0.05206785892 -0.002529202445 0.003310522146 -0.05259227507 0.05282791105 -0.05277999434 0.05271367446 0.00317915184 -0.05266747398 -0.003285162101 0.003218842215 -0.003156707693 -0.05289333116 -0.05283758599 0.1256412924 0.02004501027 -0.01833434346 0.01963732319 -0.01723301122 -0.02090896831 0.1239293618 0.01107181364 -0.1257156178 0.1244439727 -0.1233041147 0.1220734627 0.02049878617 0.004028203016 -0.0546518693 0.05488719851 -0.05477936917 0.05467871297 0.02308499336 -0.05405287156 -0.003965551939 0.003864895745 -0.003765026446 -0.0547779791 -0.054226274 0.05045170393 0.008390240635 -0.008632981111 -0.006751602133 -0.008796153893 0.01022796884 0.05202707087 -0.04964506385 0.05312143055 -0.05315261437 0.05323595876 0.009730656175 -0.007190717507 0.02811200063 -0.02847876152 0.0281963694 -0.02798950023 0.02780014838 0.00696004165 -0.00817729204 -0.05372982361 -0.05452338244 -0.01451724845 0.1156213864 -0.1175007468 0.1172763533 -0.01429285502 -0.1179805695 -0.01523197557 -0.1176474036 0.1196422885 0.01332155125 -0.01869341352 0.119812317 -0.1208872272 0.1197552396 -0.118687416 -0.01602970004 0.01787497307 -0.01680714942 -0.04552801179 -0.006133967314 0.04518077979 0.09245433129 -0.09462497141 0.005953207502 0.005428495141 0.003696468104 0.003259321921 0.09594889293 -0.01271875347 0.01289013734 -0.01156621583 0.008512730152 0.04637135454 0.01028864686 -0.008635482538 -0.09703025395 -0.09877778096 0.01987459402 0.1010345056 -0.01701568536 -0.106454637 0.104261111 -0.1061640908 -0.09977148109 0.02516334311 0.0484693335 -0.02039200277 0.02488163266 -0.02656047847 0.1016380041 0.04956395532 0.02337675096 0.1196806316 -0.1199142928 0.1218521175 0.02143892626 0.02086804033 -0.1233531813 0.02566513731 -0.02439399776 0.02289293398 -0.02220375955 -0.1239948576 0.02157772344 0.1241797393 -0.1234905648 -0.01301100877 -0.1418172164 0.1448957979 -0.1437728639 0.1425416535 -0.01746846909 0.01476954721 -0.01600075761 0.01742470722 -0.1445863079 0.1022595211 -0.1019869073 0.001852765628 -0.002299513385 0.002057588977 -0.1031336534 0.1033462972 0.002017936809 -0.1029127029 -0.1033486303 0.001716009565 0.1017075909 0.001405993949 0.00164526211 -0.0001270032829 -0.1447654261 0.1464114397 -0.1467768936 0.1470489984 -0.003176296063 0.001708173611 -0.001436068858 0.001109161997 -0.0004949422005 -0.1492957633 0.1039113312 0.003158405797 -0.103737341 -0.003467104818 0.003294899259 -0.003126011341 0.1048336589 -0.1042778362 0.1044467241 -0.1041047849 -0.1046134493 0.1047723941 0.003264762391 -0.002529086091 0.1041357355 -0.1035475887 0.1037380358 -0.1039238933 -0.003014947506 0.002686615435 -0.002872473018 0.003061086111 0.1035562217 0.001817462312 -0.05120543945 0.0513356841 -0.05129068703 0.05138697384 0.05124188065 -0.001784437392 0.009452826013 -0.1397926451 0.1400652777 -0.1410408523 0.13902851 0.1420080696 0.008425058444 -0.008466489796 0.009433707118 -0.01050173692 -0.143429719 0.1051558154 0.004244269103 -0.1050019074 -0.004534923648 0.004382924922 -0.004221200414 0.1061226808 -0.1055498507 0.1057115752 -0.1053960317 -0.1058757487 0.1060491998 0.004364219944 -0.00367440903 0.1054773358 -0.1049306494 0.1050875727 -0.1052413847 -0.004102473771 0.003813070728 -0.003966882734 0.004116533264 0.1048527346 0.002272120854 -0.05178239967 0.05191908129 -0.05189904194 0.05195189298 0.05186181483 -0.002244951235 0.0258232732 -0.02586350844 -0.001129775094 -0.005468474382 0.03693392703 -0.03667070264 0.03654607378 -0.0367759112 -0.0363387881 0.03617840843 0.005568740664 0.1066092917 0.005419146199 -0.1063952762 -0.005784168035 0.005552203832 -0.002983479669 -0.00531756401 0.1076972997 0.00509204733 -0.1070466717 0.1072813115 -0.1068256453 -0.1075352132 0.1077800324 0.005439027082 0.005194197917 -0.004782756979 0.1068399515 -0.1062266618 0.1064171032 -0.1066164343 -0.005261914675 0.004922741744 -0.005122072866 0.004713579169 0.005315429105 0.1061843783 0.002931002277 -0.05223889012 0.05244795643 -0.05240861641 0.002891662259 0.05248691817 0.00295371297 0.05236226667 -0.002897506236 0.02591148481 -0.02564225099 -0.002172811217 -0.02623933794 0.02633039683 0.00159999685 0.001242643781 0.02595719182 0.02589394002 0.06423564852 0.01236763935 -0.01191599008 0.01233257967 -0.01268439421 0.0634343422 -0.06404327278 0.06369145824 -0.06322941268 0.0629111022 0.01267019241 0.1088294116 0.006344406585 -0.1085077954 -0.01705666992 0.01642067663 -0.004801678297 -0.01587766282 0.1100721079 0.01539401025 -0.1092323514 0.1097753652 -0.1089199452 -0.1104726481 0.1108305863 0.0232274265 0.02261431327 -0.00577483731 0.1087217611 0.005501935046 -0.1080457919 0.1083289936 -0.1086165595 -0.006234726287 0.005847831304 -0.006135397253 0.005572013918 0.006433446103 -0.00336924195 0.1081971723 0.003651397642 -0.05300683544 0.0533317612 -0.05325923296 0.05341198403 0.0531850701 0.003505339964 -0.0035933411 0.003519178245 -0.003448803991 -0.05339980991 0.1093000157 0.00850785923 -0.007536064382 0.008199794981 0.1086362851 -0.00786518179 0.09471245228 -0.007902353192 0.1133002976 0.007429591625 -0.1128725646 0.1131700064 0.1087825579 0.01167871992 -0.01144290066 0.01095420615 0.1092712524 0.1104863667 -0.0117920447 -0.01013394087 0.09460462751 -0.1061762371 0.1069965024 -0.008221537918 0.008016550291 0.05267650022 -0.05334682548 -0.008345390705 0.05347067827 -0.008770484128 0.001380022426 -0.0239688898 0.02385091088 -0.02372333537 0.02396822653 0.02353633333 -0.001416974817 0.001409494329 -0.0253262037 0.0250885295 -0.02493633082 0.02525641734 0.02469961618 -0.02452107988 -0.001456202267 0.01186054353 0.07659708539 -0.07530889745 0.07578468555 -0.0746136279 -0.07635832658 -0.01114376631 0.004868493773 -0.04157232684 -0.04133710004 0.05050882692 0.001676503998 -0.05045654747 -0.001738748284 0.001695600331 -0.0009131391592 -0.001644959543 0.05071597898 0.001592308953 -0.05058120526 0.05063184605 -0.05053001355 -0.05067781852 0.001675594808 0.001628257299 -0.001558987928 0.0504970045 -0.0503514211 0.05041642084 -0.0502920246 -0.05045470276 -0.001657050931 0.001599541142 -0.001637823067 0.001532604062 0.001708165133 0.05038932806 0.0008967570533 -0.02427183532 0.02470343189 -0.0246721096 0.02475706254 0.02472266572 -0.02473871237 -0.0008369497941 0.0007251928025 -0.02678737554 0.02608716637 -0.02619791088 0.02597195291 0.02630390629 0.0008335260016 -0.02640132147 -0.0007254428247 0.0008314382292 -0.0008783079524 -0.02574110702 -0.02578661339 0.0009629667816 -0.02594813012 0.02525012961 -0.02531694477 0.02525730457 0.02526266055 -0.001018905691 0.0008006888053 -0.02465403815 0.02479684634 -0.0248256977 0.02487626697 -0.02491463325 -0.0008067520537 0.000784807702 0.07877988173 -0.07822119048 0.07808411778 0.0009218804055 -0.07831276367 0.001499601218 -0.07792548607 -0.0002156578602 -0.0001937123588 0.000352344071 -0.04298512315 -0.000572079607 0.04218615307 0.0008300864875 -0.0002644023668 -5.037183307e-05 -0.04106539643 0.04174940411 -0.04206417831 0.04224778132 -0.04234900523 0.0002630780276 -0.001492803917 -0.04008081285 -0.04000886225 -0.04145335221 0.04127154372 -0.003075365149 -0.0009910560598 -0.04122619231 0.04234970018 -0.0422635296 0.04203040406 -0.001775027063 0.00121284012 -0.001445965665 0.001899555633 -0.04334191065 -0.04263406508 0.003342302104 0.07919696756 -0.07842890292 0.07841577048 0.003355434544 0.004019428199 -0.07838509888 0.002093874737 -0.002684621645 0.002715293241 0.001926405336 -0.05138274413 0.05151061272 -0.05147462885 0.05142562057 -0.001902392797 -0.02542020073 -0.000869144156 0.0009191741547 -0.000861030366 0.0007360378335 -0.02601755557 0.02560413037 -0.0257291229 0.02585235176 -0.0007300855727 -0.005542614118 0.03713596709 -0.03721227673 0.03696187216 -0.03764775322 -0.03680794823 0.005326604063 -0.006425195828 0.07401581881 -0.07403564822 0.07366324122 -0.07435366803 -0.07336739023 0.006686175896 0.008470152602 -0.07280364413 -0.008089493487 0.07273169548 -0.07309490954 0.07228479379 0.07349578761 0.008390362053 -0.008232131842 0.00863300992 -0.009057748134 0.004713227048 -0.07382049246 -0.04021073965 0.04008419038 0.00239422068 -0.00368798402 -0.03866435629 -0.03877807883 -0.005080015831 0.07545683286 -0.07539612672 0.07501872705 -0.07472577109 0.005467289533 0.02624875325 -0.02621040876 -0.001370855852 0.001173182861 0.02565918206 0.02563042562 0.002417722665 -0.05188675259 0.05203360161 -0.05200893399 0.05198086178 -0.002379375342 -0.001542075907 0.0260508079 -0.02633096317 0.02628603197 -0.02620427998 -0.001444595149 0.001534892481 -0.001453140492 0.001287756534 0.0265522198 -0.05278682176 -0.003128440618 0.00303656711 -0.003084602229 0.003132910126 -0.05238966892 0.05261791531 -0.05256960742 0.0525322658 -0.003084486343 -0.0117832639 0.06031824036 -0.06090894924 0.06060539466 -0.06134115227 -0.06019295181 0.05985766491 0.01166273598 -0.01231983134 0.06178201369 -0.06246363081 0.06203357579 -0.06165766584 -0.01178684818 0.01233180186 -0.01195589191 0.01147403202 0.06186901312 0.025680129 0.001872551977 -0.001632070048 0.002215918027 -0.001537854054 -0.002166394335 -0.02665095733 -0.05390441859 -0.01359741677 0.004906505138 -0.005020535628 0.005140191877 -0.05327128259 0.05368297628 -0.05356332003 0.05348123973 -0.003785512232 0.01746118341 0.003754925246 -0.004212878605 0.003351211623 -0.001941169677 -0.01187029435 0.09959267911 -0.09925770192 -0.0009619304905 6.036548344e-05 -0.000433552482 -0.002275213112 0.09897090632 -0.002458450491 -0.001728175872 0.04595351986 -9.544939127e-05 -0.04562404599 -0.0006907495043 0.0003007886394 2.521767338e-05 0.04715376022 -0.04635521893 0.04668122524 -0.04607033722 -0.04701777411 0.04735664226 0.0003320151447 -0.04590649815 0.0006394578207 -0.001447041509 0.001364478667 -0.001019220761 0.04538227809 0.05000557232 0.0016115292 -0.04992589927 -0.001676681226 0.001604501849 -0.001520116263 0.05021654673 -0.05006408457 0.05014847015 -0.04996143572 -0.05022134985 0.001526426959 -0.001463952486 0.04977179157 -0.04956980776 0.04971821088 -0.0494107507 -0.04984692985 -0.001609093909 0.001481763093 -0.001610482055 0.001732230688 0.04982460598 -0.01573830094 -0.1343502229 -0.01457701919 -0.01428917539 -0.007163138182 0.03308241901 -0.03284377091 0.03265899238 -0.0324385916 0.03229296354 0.007098372815 0.009867162404 -0.05711496086 0.05660150233 -0.05683472696 0.05721773449 0.01082822309 -0.01032506382 0.01070807135 -0.01097554845 -0.05633789796 -0.01099207057 -0.05953769563 0.04871572997 0.001528126314 -0.04844961807 -0.001814934957 0.001572223448 -0.001344838207 0.04912020675 -0.04879038076 0.049017766 -0.04854808284 -0.04922411943 0.001384603486 -0.0009704562205 0.04821800221 -0.04768430082 0.04799390786 -0.04828104361 -0.001473804261 0.001104122471 -0.001391258225 0.001712797657 0.04816082013 -0.07250027416 0.01829153865 -0.02004769402 0.01866988014 -0.01744287357 -0.07042503697 0.07196130152 -0.07073429494 0.06944913923 -0.06817099599 0.01762043145 0.01421154368 0.07386683187 -0.072544601 0.07321390253 -0.07405059824 -0.0137196061 -0.06814499328 0.06773842525 0.0109501822 0.06879545801 -0.06920010048 -0.01010016866 -0.01109904361 -0.06739724101 -0.07130526175 -0.009810463246 0.0709431923 0.009982757399 -0.00955097305 0.009187665228 -0.07128409053 0.0711446383 -0.07150794613 0.07072455916 0.07190007419 -0.009042654925 0.009775079883 -0.06978049397 0.06955658645 -0.06994713519 0.07033389195 0.009920793216 -0.009652527663 0.01003928443 -0.01045205937 -0.07051795686 -0.00655330928 0.0274831089 -0.02766383275 0.02754497324 -0.02740541408 0.006408502629 0.01278697933 0.04635387802 -0.01271164875 -0.04789062608 0.04652604895 -0.04492587578 0.01645595481 -0.01326431396 0.01486448713 -0.01277351364 -0.017723275 0.01869615233 0.04792101152 -0.01170065202 -0.04944474342 0.04679371775 -0.01054776809 -0.04794660167 0.04514592786 -0.01014442782 -0.006482830675 -0.04014328824 0.003669162335 0.04069344847 -0.04125431993 0.04285896383 -0.008382158424 0.008329053987 -0.00672441009 0.006506064845 -0.006648733621 -0.04331837102 -0.04482359886 0.01806260282 0.05688148992 -0.01917360356 -0.05731474919 0.05943769791 -0.06018493728 0.01981526066 -0.01849159237 0.01774435301 -0.0198660213 -0.01840704399 0.06109822533 -0.05381685188 0.02228790416 -0.01925949495 0.01898352895 -0.02029176898 -0.0551442091 0.05393174074 -0.05523998077 0.05635251371 0.01944736053 0.01157722215 0.04060370496 -0.03905704265 0.03964444246 -0.03851362798 -0.04019369073 -0.01133732524 -0.03743093192 0.01513175381 -0.0163022937 0.01503788902 -0.01402233434 0.03678346876 -0.03798135654 -0.01203005721 -0.005529475593 0.03626448546 -0.03605604726 0.03598163736 -0.03587931615 0.005565816241 0.001567892833 0.02549090146 -0.007002331094 0.0321775117 -0.03208476446 0.03196121505 -0.03178183259 0.006996212927 0.001898085676 -0.02659054911 0.02638848989 -0.02640271082 0.02638778578 0.02635000635 -0.001937564467 0.001241849571 -0.024248512 0.02414290874 -0.02410159584 0.02419128001 0.02403321146 -0.001264701805 0.001279180253 -0.02421675203 0.02438122467 -0.02429284461 0.02423575285 -0.001238234437 0.02027669293 -0.0200485209 -0.001209612348 -0.02119541374 0.0008970919623 -0.0002367768455 0.0197178148 0.001658292983 -0.02538665741 0.025792614 -0.02533850717 0.02618235433 0.02497197401 -0.001526432547 -0.02581431394 -0.0008490892024 0.0008958573556 -0.0008929727905 0.0008702068473 -0.02735468487 0.02647630723 -0.02649907317 0.02641849694 -0.001054775238 0.0008661185598 -0.02552699681 0.02510894212 -0.02517425991 0.02508876145 0.02518395973 -0.0008719552878 0.0008255074779 -0.02508737216 0.02495591951 -0.02500332668 0.02503273223 -0.000832793339 -0.001610931867 -0.04128906559 -0.04001883542 0.001118266829 0.002480040513 -0.04117337959 -0.04182523406 -0.00275537694 -0.004894292193 0.03860848664 -0.03802279597 0.03802399422 -0.03793456849 -0.005094539639 0.005046430456 -0.004957004724 0.004833715665 0.03743467737 -0.03491803326 0.03474155792 0.006641508425 0.03503375023 -0.006129445056 -0.006452830641 -0.03457921749 -0.00708054135 -0.03035804974 0.001876586439 -0.02632537365 0.02628989155 -0.0263240321 0.0262777513 0.02634727913 -0.001852289638 0.005598166904 -0.02621813751 0.02646685424 -0.02634695861 0.02666462206 0.02628666983 -0.003203703832 0.02625367872 0.006306664674 -0.005838847439 0.006127875454 -0.006385604367 -0.02611410512 -0.006384700923 0.006042348862 0.1117065429 -0.1112034764 0.1115820879 0.007197030882 0.1118991885 0.006776897238 0.1123098101 0.006762140066 -0.00454216797 0.05504689052 -0.05469970085 0.05488155368 -0.05501183134 -0.00483179073 0.004570162406 -0.004700440072 0.004379997139 0.004120230955 -0.00351066179 0.05250379765 -0.05482697036 0.008196537319 -0.01976940394 0.009792237171 -0.008444432556 0.009433626963 -0.008237077679 -0.01063181568 0.01186604412 0.02276533109 -0.006816502032 0.01958329192 0.01859852804 -0.005151206008 -0.01707843682 0.01726018749 -0.0182396511 0.01845373603 -0.005667910025 0.005744096784 -0.005530011851 0.004375959637 -0.01964665385 -0.02838165804 -0.01393891081 -0.01428910551 -0.0233055305 0.01536798016 -0.01316472576 0.01392671718 -0.01443818307 0.02594818452 0.001132744036 0.02587405266 0.02579537378 -0.001268118936 -0.04490840441 -0.006294982183 0.00549291434 -0.006648898311 0.007271897561 -0.05143510104 -0.007602963866 0.04970169896 -0.04907869971 0.04836620859 -0.007638721259 -0.04113689142 -0.005471952851 -0.003188526734 -0.03978060686 -0.03884473928 0.003292310048 0.001621399923 0.02601427074 0.02560443375 -0.001219870028 -0.03362638787 0.006562480689 0.02708952592 -0.006688552906 -0.02493900261 0.00553466685 0.003779950638 0.02292101689 -0.03209042085 0.024002487 -0.02380209967 -0.002191231849 0.02390866211 -0.1281850172 -0.1264912463 -0.0651382475 0.01130730028 0.01942141203 -0.06427673257 0.0005778979626 -0.4582668515 0.0003480935768 -0.4584015832 0.002140444363 0.2296847618 -0.2295349644 0.2297431536 1.964902857e-05 0.2322690494 -0.2315104845 0.2332191233 -0.2305492439 0.003644194499 0.231919676 -0.2313496454 0.23171664 -0.2310968314 0.004415588009 0.2338369946 -0.2330067144 0.233584831 -0.2325550985 0.004102703143 0.2351196781 -0.2351594732 0.2355058262 -0.2349539585 0.003555660152 0.2369654218 -0.236477391 0.2369461836 -0.2360860239 0.002699426818 0.2394696646 -0.2384168038 0.2388153181 -0.2379172738 0.0002999209338 0.2413362006 -0.2400245349 0.2401947865 -0.2396095712 -0.002593109347 0.2419318506 -0.2406200618 0.2404556286 -0.2405536982 -0.005335960793 0.241029703 -0.2396525395 0.239201586 -0.2400029046 -0.007321312684 0.2384031703 -0.2374816693 0.2368111283 -0.2381070562 -0.008411450743 0.2350460562 -0.2344857748 0.2338165683 -0.2352356327 -0.008612754412 0.2316886044 -0.2321910136 0.2317988687 -0.2326798338 -0.009869989534 0.2287616535 -0.2291070361 0.2285237975 -0.2296834304 -0.009309438687 0.2265307591 -0.2268786882 0.2263859246 -0.2274052572 -0.008564636534 0.224726838 -0.2250323701 0.2246289794 -0.2254634781 -0.00772871885 0.2232872347 -0.223527897 0.223206426 -0.2238785076 -0.006887067612 0.2221393326 -0.2223065467 0.2220579824 -0.2226018237 -0.006092306594 0.2212191536 -0.2213173246 0.221125267 -0.2215681966 -0.005365643501 0.2204774386 -0.2205180695 0.2203650713 -0.2207255328 -0.004709207358 0.2198752584 -0.2198673157 0.2197436206 -0.2200390901 -0.00412374911 0.2193823167 -0.2193321959 0.2192313422 -0.2194753322 -0.0036051889 0.2189761486 -0.218889313 0.2188065696 -0.2190091471 -0.003150830569 0.2186399317 -0.2185210943 0.2184528685 -0.2186216999 -0.002755280868 0.2183609292 -0.2182140138 0.2181575756 -0.2182985833 -0.002412285943 0.2181292916 -0.2179575341 0.2179107594 -0.2180286545 -0.002117695283 0.2179369379 -0.2177430935 0.2177041996 -0.2178029112 -0.001868941181 0.217776834 -0.2175633905 0.2175307507 -0.2176137576 -0.001662957341 0.217642324 -0.217411649 0.217383559 -0.2174543437 -0.001496778084 0.2175272319 -0.2172819883 0.217256029 -0.2173176078 -0.001368509521 0.2174260352 -0.2171689315 0.2171433522 -0.217198134 -0.001274851938 0.2173332018 -0.2170659422 0.217041315 -0.2170917821 -0.001214030316 0.2172434909 -0.2169670128 0.2169428162 -0.2169917771 -0.00118324144 0.2171535936 -0.2168695107 0.2168449142 -0.2168940925 -0.001179049981 0.2170603349 -0.2167719599 0.2167429816 -0.2167956567 0.122176252 0.02012461339 -0.05259784873 0.002859291313 -0.1133379524 -0.007726626587 0.007703495672 -0.007871441657 0.01071722568 0.1096669359 0.01032154224 0.009595143547 0.05403582947 -0.008497860407 0.07761474538 -0.07769311331 0.001047033549 0.07748959224 0.0767802711 -0.002721441437 -0.07695333611 0.07776286429 -0.07776901248 -0.1235608805 0.01579403886 -0.1244591658 -0.124567066 -0.01871701182 0.01955888479 0.1057267179 -0.01755616323 -0.0190034282 -0.1128189954 0.01932061466 -0.02022345095 0.01954787961 -0.006371478975 -0.09840165413 0.09897194752 -0.09949291268 -0.102474605 -0.01336506865 0.1021447672 0.0160437075 -0.1249431869 -0.02114899191 0.1358883414 -0.1338884077 0.0191315907 0.01215463895 -0.1360602225 0.1358986818 -0.1369360323 0.1348372031 0.138052827 -0.01163525741 0.004560605576 0.1078096557 0.1080438528 -0.1275770682 0.1264536811 0.01652895715 0.005297945662 -0.1090863503 0.1096932093 -0.1094475084 0.1099741083 0.109180468 -0.1089506385 -0.005240448517 0.1117022469 -0.1114173989 -0.0056994024 0.004213219773 0.05542982453 0.01451844729 0.1126809038 0.001570767512 -0.05079778973 0.05093564314 -0.05088976114 0.05083007586 -0.05077630391 -0.001542321006 -0.07194829221 0.00773156878 0.1176075404 -0.1183316549 -0.0138518844 0.01588503101 0.1190284944 -0.004310136101 -0.0447088459 0.04482862213 -0.04544229013 -0.001817719343 -0.1026728333 -0.1024319597 -0.0008417245296 0.1024398593 -0.1015965874 0.1018902559 -0.1013020638 -0.102164197 0.001132052881 0.004950825504 -0.1080870541 0.1086978079 -0.108478019 0.1082402094 -0.004868151281 0.02207433153 -0.1103601687 0.1111070071 -0.1106054959 0.1102249216 -0.014957767 0.007129453053 -0.007636905401 0.1078942965 -0.1075900349 0.009728009699 -0.05355387363 0.007806668097 0.001478771544 0.05070826394 -0.0005004973969 0.07734143891 0.07770010086 0.003286522923 0.0007306687624 0.101456252 -0.1003873861 0.1006845024 -0.1001396968 -0.1009873561 -0.0002486713592 0.003236719065 0.100888396 -0.09989856961 0.09982140908 -0.09992195685 -0.002558998254 0.1337711666 -0.01342606603 -0.04670051385 -0.009250108675 0.04880686291 0.01373507412 0.1126876118 -0.007037045773 -0.1119608181 0.006398167025 -0.01209839834 -0.1117485457 -0.01488247603 -0.1152993791 -0.02002121144 0.1321882939 -0.01623496106 -0.1254271895 -0.01768723209 0.06700122844 -0.001272928255 -0.2287964734 0.2286691493 -0.2287882238 0.2285125588 0.2289154172 0.001107420043 -0.2299001765 -0.002488945987 -0.001790346021 -0.2281257178 0.2279985278 -0.2281788815 0.2279642455 0.2283599536 0.001680093495 -0.2313802712 0.002765198356 -0.009371620558 -0.2292138009 0.2279646835 -0.2287966464 0.2267437312 0.2279185376 0.004732416616 -0.2321070999 -0.003888529816 -0.002559510775 -0.2257283432 0.225697839 -0.2259770806 0.2254577341 0.2262649368 0.002692197334 -0.234257783 -0.004375060668 -0.001790070579 -0.2253729195 0.2249392137 -0.225063448 0.2248996147 0.2251958673 0.002227087966 -0.2357690318 -0.004118368963 -0.001193296307 -0.2249162169 0.2245761017 -0.2248501855 0.2243337415 0.2248162639 0.001184776921 -0.237439314 -0.003243574258 0.0008875399268 -0.2236185405 0.2236318047 -0.2237785553 0.2235806628 0.223867634 -0.0004243199158 -0.2392918007 -0.002219558785 0.002522030082 -0.2236757418 0.22364192 -0.2234870204 0.2238842305 0.2234837782 -0.001917901526 -0.2404912706 0.0003842887871 0.003812635568 -0.2234958919 0.224350694 -0.2242862078 0.2244767793 0.2241216167 -0.00349373338 -0.2403462336 0.003315341606 0.004828967198 -0.2236109607 0.2247790663 -0.2246872972 0.2249288682 0.2245536195 -0.004650963624 -0.2386743327 0.005978731645 0.005314681693 -0.2239625543 0.2252781552 -0.2252522313 0.2254509949 0.2250400866 -0.005698177222 -0.2359646798 0.007849320201 0.01463356636 -0.2241129651 0.225588846 -0.2256132907 0.2258534724 0.2254966982 -0.005915405776 -0.2332549294 0.008465114131 0.007487943938 -0.2248436246 0.2270266031 -0.2265404782 0.2276437462 0.2261283423 -0.0071783593 -0.2310874535 0.008750953201 0.008236486731 -0.2272748751 0.2302148568 -0.2292265306 0.2313220801 0.2283725717 -0.008175861133 -0.2279457947 0.009745038298 0.007168016667 -0.2317991618 0.2337463508 -0.2333156679 0.2340985903 0.2324755757 -0.00763968153 -0.2259102008 0.009127232456 0.006748364047 -0.2347647653 0.2350961864 -0.2347744828 0.2354069118 0.2344421434 -0.006859585513 -0.2242402702 0.008348467708 0.006277526241 -0.2360076048 0.2362731252 -0.2359952305 0.2365396895 0.2357067066 -0.00641116248 -0.2228851106 0.007504357333 0.005749051589 -0.2370608661 0.2372784681 -0.237040247 0.2375006208 0.2367958705 -0.005889876454 -0.2217861028 0.006672135046 0.005201313035 -0.2379438375 0.2381312764 -0.2379237686 0.2383119629 0.2377230167 -0.005344480599 -0.2208964084 0.005892405068 0.00466306589 -0.2386799705 0.2388479607 -0.2386676756 0.2389932823 0.2385054718 -0.004805074983 -0.2201764904 0.005182357155 0.004152524674 -0.239291423 0.2394474159 -0.2392912768 0.2395646096 0.2391611122 -0.004287179578 -0.2195869217 0.004545324015 0.003679805128 -0.2397981112 0.2399450297 -0.239813731 0.2400410224 0.2397076963 -0.003803100859 -0.2191004212 0.003979387622 0.003245950654 -0.2402169495 0.2403589956 -0.240248465 0.2404377628 0.2401615073 -0.003357365842 -0.2186968 0.00347900142 0.002853811443 -0.2405631112 0.2407033167 -0.2406104356 0.2407678479 0.2405391186 -0.002954055072 -0.2183606252 0.003040496784 0.002502613849 -0.2408485094 0.240988821 -0.2409111405 0.2410413631 0.2408528472 -0.002593083917 -0.2180800198 0.002658188081 0.002192523571 -0.2410821136 0.2412238109 -0.2411594108 0.2412660718 0.2411121966 -0.002272238102 -0.2178455422 0.002328610708 0.001922401984 -0.2412704951 0.2414146721 -0.2413620555 0.2414480515 0.2413244148 -0.001990653597 -0.2176493287 0.002047335657 0.00169171466 -0.24141889 0.2415671138 -0.2415248067 0.2415933094 0.241495296 -0.001749298816 -0.2174844521 0.001809954439 0.0015031168 -0.2415335126 0.2416877336 -0.2416546269 0.2417097214 0.2416309587 -0.001549815914 -0.2173443329 0.001614019026 0.001359581684 -0.2416234475 0.2417857311 -0.2417599576 0.2418067386 0.2417388361 -0.001394044664 -0.2172237688 0.001458556716 0.001260185066 -0.2417006459 0.2418722368 -0.2418512895 0.2418940595 0.2418298301 -0.001282690252 -0.217116975 0.001340672883 0.001198518477 -0.2417762206 0.2419591745 -0.2419375513 0.2419820107 0.2419153668 -0.001211482915 -0.2170160765 0.001255662985 0.001170158949 -0.2418575034 0.2420505995 -0.2420278098 0.2420751496 0.2420041454 -0.001175312362 -0.2169183495 0.001202672591 0.001168826722 -0.2419469204 0.2421490341 -0.2421245354 0.2421752255 0.2420989632 -0.001168037416 -0.2168203589 0.001178516848 0.001191787557 -0.2420453434 0.2422566127 -0.2422305429 0.2421997204 -0.001184053031 -0.2167176545 0.001182001952 -0.1054910397 -0.01697735508 -0.02049456404 0.1164540333 0.09999135214 0.007248431294 0.04619059472 0.006176799732 3.551603812e-05 0.0166062186 -0.01659531024 1.775899878e-05 0.01211692344 -0.0120991664 0.007712957867 -0.007695198868 -9.110316325e-05 0.01660022659 -6.846965916e-05 0.01209428994 0.007644488208 3.969892751e-05 -0.01607813011 0.01612511011 3.866251431e-06 -0.01227275436 0.01230858703 -0.008840663681 0.008844529933 0.0001423686876 0.02881665869 -0.02882936967 0.0001263723417 0.02358654687 -0.02357055052 0.01438032775 -0.01425395541 -7.571424615e-05 -0.02216499021 0.02207841336 -1.269905912e-05 -0.01520698508 0.0151439699 -0.008628624098 0.008615925038 7.215375327e-05 -0.01601760997 2.996086298e-05 -0.01223056146 -0.008810702818 -0.0001085329418 0.01855958699 -0.01867299932 -2.317670468e-05 0.01267810718 -0.01276346341 0.007332951396 -0.007356128101 -0.0002229613082 -0.01411984451 0.01395505252 -8.989171142e-05 -0.009217293748 0.009084224151 -0.004556828787 0.004466937075 -0.004792176058 0.01035303699 -0.01428810822 -0.001956527231 0.007500238366 -0.01033588719 0.003369077142 -0.005325604372 -0.0003344516857 0.02902909303 -0.0002305635874 0.02348265877 0.01414976417 0.002101995514 0.02749353428 -0.02584175705 0.0004311048516 0.02245731214 -0.02078642148 0.01571082591 -0.01527972106 -1.81822568e-05 0.01636485879 -0.01636503074 -1.233393433e-05 0.01196791289 -0.01197376121 0.007693717048 -0.007706050982 1.276044162e-05 -0.01635920158 0.01636274738 1.052653568e-05 -0.01197749205 0.01197972595 -0.007700394598 0.007710921133 3.059453778e-05 0.01637344972 2.069537098e-05 0.01197781206 0.007714412419 8.075363621e-06 0.01639339349 -0.01638919429 6.90508816e-06 0.01198758246 -0.01198641219 0.007738358638 -0.007731453549 2.503792357e-05 -0.01637352577 0.01639501617 1.252861426e-05 -0.01196237315 0.01197488246 -0.007662852212 0.007675380826 -0.0002978717273 0.01722299967 -0.01739057855 -0.0001475358404 0.01168515094 -0.01183548683 0.0065962234 -0.00674375924 2.108652919e-05 0.0166069505 -0.01658878673 3.982458713e-06 0.0121313416 -0.01211423753 0.00778070612 -0.007776723661 -0.002597798953 0.001036796289 0.0007712781902 -0.0001836448441 0.01658934517 -0.01662291743 -0.0001469697587 0.01209149232 -0.01212816741 0.007539824835 -0.007686794594 -0.0005511032051 -0.0105456385 0.01017594182 -0.0002111367273 -0.005881449715 0.005541483238 -0.001897070228 0.001685933501 -0.0001227658328 0.02843996995 -0.02848986991 -4.134226968e-05 0.02140160606 -0.02148302963 0.01261589566 -0.01265723793 -8.676573529e-05 0.02839866787 -1.880675046e-05 0.02133364708 0.01259708891 -0.0002558993169 0.02823484954 -0.02830485559 -0.000139070138 0.02107458632 -0.02119141549 0.01240391459 -0.01254298472 -0.0001563396767 0.02627545921 -0.02637227811 -6.199325864e-05 0.01886098519 -0.01895533161 0.01087269646 -0.01093468972 -0.0001448721401 -0.02663436648 0.0265458067 -5.635634885e-05 -0.01921118857 0.01912267278 -0.01115049339 0.01109413704 -2.748919671e-05 0.02619902125 1.700829854e-05 0.0188164877 0.01088970476 -0.0001147993123 0.02588817334 -0.02597533881 -3.789336289e-05 0.01849297286 -0.01856987881 0.01055004732 -0.01058794068 2.81072664e-05 -0.01619275333 0.01622864958 9.810278592e-06 -0.01233775019 0.01235604718 -0.008738762404 0.008748572683 3.23019034e-05 -0.01615882435 1.251824138e-05 -0.01231796653 -0.008726244162 -0.0002162636501 -0.01666403611 0.01651481294 -0.0001104691144 -0.01127246881 0.01116667428 -0.00626073181 0.006150262697 -0.0002223651595 -0.01492419318 0.01476458834 -0.0001001522515 -0.009893923152 0.009771710247 -0.005157591165 0.005057438914 -0.0001062216179 0.02247102095 -0.02257945888 -3.256059292e-05 0.01544254042 -0.01551620144 0.008734340902 -0.008766901495 -7.522146827e-05 0.02237547573 -4.269097542e-06 0.01537158805 0.008730071805 -6.262513259e-05 -0.02037326967 0.0202748297 -8.408323365e-06 -0.01392844056 0.01387422375 -0.008030102905 0.008021694582 4.563756143e-05 0.01586898691 -0.01580897722 7.061675352e-06 0.01212017204 -0.01208159615 0.008828973209 -0.008821911533 1.457627981e-05 0.01591918896 -2.049600481e-05 0.01215524433 0.008808477204 -3.958444237e-06 0.01640683181 -0.01640612117 -2.123274877e-06 0.01206619938 -0.01206803455 0.007878816258 -0.007880939533 -2.638339044e-05 0.01637347855 -0.01638196019 -1.862734259e-05 0.01202459563 -0.01203235168 0.007797082465 -0.007815709808 -1.343448084e-05 -0.01639841365 0.01639436784 -8.678140053e-06 -0.0120501743 0.01204541796 -0.007852415645 0.007843737506 -7.999922578e-06 0.01640675597 -4.140586336e-06 0.01206234005 0.007874675672 -1.256621972e-05 -0.01640171472 -8.339389871e-06 -0.01205440113 -0.007860755035 -1.955493491e-05 -0.01636064352 -1.300313014e-05 -0.01198404385 -0.007713397728 -1.091324563e-05 -0.01637379352 0.01637429121 -4.85634694e-06 -0.01200626778 0.01200021088 -0.007748240406 0.007743384059 -3.158113414e-05 0.01636334043 -2.308830586e-05 0.0120161028 0.00777399416 2.800099378e-05 0.0163480049 -0.01634287184 1.944893041e-05 0.01200008847 -0.01199153641 0.007718524132 -0.007699075202 7.326988873e-07 -0.01637096443 2.530460011e-06 -0.01200806554 -0.007745709946 1.852767304e-05 0.01635821201 1.190683806e-05 0.01200670931 0.00773043097 -1.782930996e-05 0.01638769397 -0.0163933498 -1.170570739e-05 0.0119716376 -0.0119777612 0.007725635416 -0.007737341123 -2.749105136e-06 0.01639538086 4.983404985e-07 0.01198433502 0.007738856978 -0.0001053402118 0.01821707301 -0.01831752657 -3.862722301e-05 0.0124439289 -0.01251064189 0.007141015516 -0.007179642739 -3.112622893e-05 0.01637813351 -2.248792059e-05 0.01196299929 0.007703147495 5.68313252e-05 -0.01636021662 3.724011297e-05 -0.01194278194 -0.007625612099 -0.0001349246343 0.01709148891 -5.413504666e-05 0.01160436136 0.006542088353 -0.0002358512162 -0.01682808832 -9.881568787e-05 -0.01140950434 -0.006359547498 -0.0002669644049 0.01645833167 -0.0001998850038 0.01202441293 0.007339939832 1.112018226e-05 -0.02855747354 0.02855009033 5.765681996e-05 -0.02165613871 0.02160960208 -0.01266162794 0.01271928476 -8.819863257e-05 -0.02873171676 0.02870814042 -1.521473651e-05 -0.02200239252 0.02192940863 -0.01296044 0.01294522527 -0.0001469946225 -0.02861378874 -5.935820698e-05 -0.02174377513 -0.01272098615 -0.0001208533044 -0.02876458995 -3.933723205e-05 -0.02208390859 -0.01299977724 -9.239228532e-05 0.02800001209 -0.02805827491 -2.659657203e-05 0.02076455362 -0.02083034934 0.01222449105 -0.01225108762 -0.0001393867914 0.02817211709 -5.427130379e-05 0.02098947083 0.01234964328 -0.0002186666443 0.02792835225 -0.0001112050902 0.02065709207 0.01211328596 -0.0002178500402 -0.02695614623 0.02687893337 -0.0001179698573 -0.01956167716 0.01946179698 -0.01147833578 0.01136036592 -0.0002968209694 -0.02672986704 -0.0001716523861 -0.01933635715 -0.01132214577 9.516191053e-06 -0.02701284552 4.100936886e-05 -0.01959317034 -0.01143732641 -0.0001225975385 0.02581338654 -4.957624297e-05 0.01841995156 0.01050047108 -3.638152805e-05 0.02554853998 -0.0256229138 1.128049191e-05 0.01818964342 -0.01823730544 0.0104512101 -0.01043992961 -0.0002523999367 -0.02506494729 0.02494366747 -0.0001297162839 -0.01771468985 0.0175920062 -0.009946409268 0.009816692984 -0.0003947352997 0.02541036105 -0.0002338360205 0.01802874414 0.01021737408 -0.0002188091224 -0.02517816297 -0.0001085895174 -0.01782490946 -0.01005499879 -0.0001566343153 -0.02050081115 -5.198871821e-05 -0.01403308616 -0.008082091624 -0.000142929664 -0.01794444251 0.01783113867 -5.979474297e-05 -0.01223705295 0.01215391802 -0.006954553043 0.0068947583 -3.593338374e-05 -0.01648243729 0.01647660866 -3.038076454e-05 -0.01200915357 0.01200360095 -0.007728122491 0.007697741726 -1.307838903e-05 -0.01648378685 -9.844723191e-06 -0.01201238723 -0.007737967214 -5.654867361e-05 0.01647245015 -4.76686763e-05 0.01199472095 0.00765007305 8.793237186e-05 0.01649461329 5.321510849e-05 0.01202943821 0.007703288159 1.120068944e-05 -0.01659618457 9.601988618e-06 -0.0120975677 -0.00768559688 4.670184472e-05 0.01660988301 3.264540249e-05 0.01210834638 0.007677133611 -0.0001100261214 0.01614178511 -0.0001037603422 0.01230232125 0.008740769591 -0.0003238796206 0.01509468668 -0.01530257912 -0.0001382673777 0.01001730322 -0.01020291546 0.005264024778 -0.005402292155 -0.0002522856373 -0.02898965748 -0.0001992446389 -0.02362359152 -0.01445320005 -0.0001245550022 -0.02226931714 -4.480999293e-05 -0.01528673009 -0.00867343409 0.0001098992674 -0.01543523573 0.0155387117 3.813021358e-05 -0.01182709047 0.01189885952 -0.008714990549 0.008753120763 0.000120052612 -0.01532337546 4.391469453e-05 -0.01175095255 -0.008671075854 0.00013330854 0.01568454778 4.05840687e-05 0.01199158399 0.008793704832 5.823102946e-05 0.01574496502 1.125881661e-05 0.01203855621 0.008804963649 9.205819453e-05 -0.01595805985 4.421802789e-05 -0.0121827213 -0.00876648479 -0.0001778386612 0.01843384885 -9.14514075e-05 0.01259171992 0.007241499989 5.726729108e-06 -0.01652357497 0.0165252668 3.397528224e-06 -0.01203870929 0.0120410385 -0.007685047521 0.007688445049 -5.536015873e-05 -0.01653215735 -3.984528902e-05 -0.01205422416 -0.007724892809 -0.0002310378595 -0.01429459543 -9.22988926e-05 -0.009356032714 -0.004649127679 3.934171604e-05 0.01653756231 2.546378704e-05 0.01205491643 0.007713908836 -1.826617816e-05 0.01654461249 -1.714897523e-05 0.01205379922 0.007696759861 -0.0003352677671 0.01341281167 -0.01363513459 -0.0001562270912 0.008588525894 -0.008767566568 0.003995811161 -0.004152038252 -0.002775091662 -0.01591516162 -0.001426105469 -0.01168487338 -0.00675170984 -8.4974477e-05 0.02382917386 -0.02394077053 1.456685561e-05 0.01655239576 -0.01665193709 0.009225882377 -0.009211315521 -4.482018317e-05 0.02198433651 2.442942874e-05 0.01507472028 0.008640354467 2.694144801e-05 0.02190860723 5.085096302e-05 0.01505081077 0.008691205431 0.002448844667 0.008254089093 -0.006489093322 0.001033328715 0.006172489379 -0.004756973417 0.004706778636 -0.003673449919 -1.032230203e-05 -0.01636532305 -5.908915825e-06 -0.0119781746 -0.007711959898 -5.125878463e-07 1.038764843e-06 1.487865787e-05 0.01638249069 9.020558137e-06 0.01198367016 0.007723432978 1.076259903e-05 8.020571832e-06 -0.0002361265175 0.01806981017 -0.0001099829234 0.01231778531 0.007031032592 -0.000157211909 -7.647954873e-05 2.558429228e-05 0.01639963719 1.930741201e-05 0.01198115934 0.007694688238 -8.804887392e-06 -0.01648400834 -5.306597511e-06 -0.01201588552 -0.007743273811 -7.315225546e-06 -0.01649319462 -1.998118747e-06 -0.01202120263 -0.00774527193 7.542148997e-06 -0.01652773576 0.01654028846 4.069388386e-06 -0.01206549144 0.0120689642 -0.007753966756 0.007758036145 8.673181993e-05 5.067859729e-05 -0.0001288831434 -9.510923988e-05 2.948201238e-05 9.660982949e-06 -0.0008866247386 0.01093120342 -0.01143018525 -0.0003753271894 0.006235594603 -0.006746892151 0.002171835253 -0.002547162442 -0.0006289099142 -0.0002747650254 -0.0001892384524 -0.02853039511 -9.258005827e-05 -0.02157968802 -0.01274981799 6.191800438e-07 3.053323265e-05 -0.0001363042745 0.02835155401 -4.93475273e-05 0.02124669033 0.01254774139 -6.00314996e-05 -4.756660408e-06 -0.0003213041759 -0.02647638157 -0.0001879484977 -0.01908868729 -0.01112263821 -5.484309405e-06 2.850117402e-05 -0.0003176420617 0.02608683963 -0.0001849664403 0.01868381208 0.01070473832 -0.0002307309011 -0.0001167976326 1.119842897e-06 -1.452542843e-05 -0.000201043349 0.01637947668 -9.410688301e-05 0.01105973781 0.006056155814 -0.0002298136865 -0.0001064336126 0.0001239914189 0.02843608303 -0.0005953496559 0.0231766532 0.01511547625 0.0001209386294 0.02891751729 -0.0282836603 -0.0001114889167 0.02366583105 -0.02343340351 0.01505520571 -0.01516669463 4.211181771e-05 0.02865375871 -2.971231327e-05 0.02373765518 0.0150254934 -0.0001414956699 -5.663771451e-05 -7.553379977e-05 0.02018020844 -1.759293163e-05 0.01381628288 0.00800410165 -0.0001398535695 -0.02007918599 0.01995784934 -4.107454916e-05 -0.01373992343 0.01364114441 -0.0079337837 0.007892709151 -0.0001466774022 -7.031795018e-05 0.0002078202236 0.01518693449 -0.01499484618 7.621168022e-05 0.01166183484 -0.01153022629 0.008667683845 -0.008591472163 9.250971462e-05 3.392008571e-06 0.0004927970514 0.01460813283 -0.01418730283 0.0001944282955 0.01121278976 -0.010914421 0.008369647843 -0.008175219547 0.0003649028801 -0.01478964486 0.000192934769 -0.01135825817 -0.008398537393 0.0001743579618 2.88895473e-05 5.998782629e-05 1.69478842e-05 -1.451544653e-05 -4.199241458e-05 -5.998553e-06 -0.01640478923 -2.904979182e-06 -0.01207112812 -0.007883844512 -2.374802336e-05 -0.01638874473 -1.634027051e-05 -0.01203975943 -0.007832050078 -1.734595486e-05 -1.168742748e-05 -1.048718274e-05 0.01640443927 -6.447937941e-06 0.0120583008 0.007868227734 -1.137237065e-05 -7.472698396e-06 -1.1039284e-05 0.01637663953 -6.769826818e-06 0.01199594143 0.007736614233 -4.196814774e-05 0.0163527757 -3.23599704e-05 0.01200649463 0.007741634189 -5.751720583e-05 -4.25589873e-05 7.173273516e-06 -0.01636540848 7.652680844e-06 -0.01200854495 -0.007738057265 9.461936568e-06 7.626294556e-06 -4.845891641e-06 -0.01639533264 -1.717657731e-06 -0.01198088943 -0.007739058781 -3.24378556e-06 2.018022592e-07 -0.0001429352865 -6.18572502e-05 -4.171676321e-05 0.01636794017 -3.368318947e-05 0.01195496571 0.007669464306 -5.603598162e-05 -4.385220728e-05 -0.0001840578327 -0.01695393394 -8.750167233e-05 -0.0115060605 -0.006447049171 -0.0001933400367 -9.503918177e-05 -1.715634451e-05 0.01653893485 -1.010114204e-05 0.012061909 0.007747935003 -3.072702994e-05 -2.304219344e-05 -0.0002899097045 -0.0144905789 -0.0001378045276 -0.00950813789 -0.004786932206 -3.772596107e-05 0.01654937525 -3.334429648e-05 0.01204941756 0.007663415565 -0.0003089031863 0.01320977708 -0.0001337425934 0.008413365302 0.003862068568 -0.0009277695403 -0.0005882299919 4.244309914e-05 0.02868352479 5.853197628e-05 0.02191331975 0.01300375724 -0.0004523157183 -0.0002827710991 -0.0002064217748 -0.02881165203 -0.0001039363507 -0.02218639402 -0.01310371359 -0.0001712317347 -0.02812016816 -7.654457969e-05 -0.02092503649 -0.0123276322 -8.644541927e-05 -2.201108146e-05 -9.233987103e-05 0.02786978881 -2.559053652e-05 0.02059034274 0.01208769542 -0.000133710396 0.02781236774 -5.27640854e-05 0.02050939643 0.01203493134 -0.0001598918035 0.02679574892 -6.762022474e-05 0.0193695254 0.01129274569 -3.768167216e-06 2.940008099e-05 -0.0001503967668 -0.02708364097 -6.42367002e-05 -0.01967933041 -0.01150156311 -0.00011465031 -0.02715302572 -4.626266554e-05 -0.01974771805 -0.01154782577 -1.467677321e-05 -0.02570021239 3.373565346e-05 -0.01828571787 -0.01040619395 -0.0001448302136 0.0248456212 -5.336231369e-05 0.0175005383 0.009763330671 -0.000231186409 0.02528198718 -0.0001125660321 0.01791012377 0.01010480805 -0.0001350235716 -4.980926177e-05 -0.0001444391463 -0.02166465613 0.02155415536 -6.359052191e-05 -0.01486170177 0.01478085314 -0.008492641213 0.008429050691 -0.0002218175721 -0.02179545048 -0.0001160869021 -0.01496743244 -0.008608728114 -0.0001658556494 -8.247731619e-05 -0.0001718748882 0.01953440107 -0.01966533314 -6.481316339e-05 0.01335054614 -0.01345760786 0.007733872741 -0.007798685904 -6.762430173e-05 0.01943101494 -1.320196216e-05 0.0132961238 0.007720670779 0.01160910922 0.006018609217 0.001736683307 0.005265981884 0.005724034588 0.0006190927917 0.005349842324 -8.386043724e-05 0.008946932539 0.01222778707 0.004102205737 0.01056876139 0.009452048055 0.007806606987 0.01813283375 0.003375322274 0.01500004607 0.01282737032 -5.162908344e-05 0.01625558401 -0.01625269215 -4.610284529e-05 0.01236087364 -0.01236639987 0.008615771794 -0.008661874639 -5.714198002e-06 0.01626644468 -8.602201336e-06 0.01236376164 0.008607169592 -7.033568039e-05 0.01632021092 -0.01632141536 -5.680271207e-05 0.01234960246 -0.01236313543 0.008459299451 -0.008516102163 -9.070052109e-05 -0.01876498971 -2.600356245e-05 -0.01282816037 -0.007382131663 -0.0001873781588 0.01544614478 -0.01559955133 -8.174438285e-05 0.01031576853 -0.0104214023 0.005489468257 -0.00557121264 -0.0002000291672 -8.717610202e-05 1.292246035e-05 0.02295467332 -0.02302939522 5.140122327e-05 0.01583429746 -0.01587277622 0.009034435591 -0.008983034368 -0.0001236902086 0.02285581592 -5.073564528e-05 0.0157613429 0.008983699946 -4.09774336e-05 0.01630760419 -0.0163135367 -2.761755101e-05 0.0122732628 -0.01228662268 0.008255804082 -0.008283421632 -4.629523954e-05 0.01631441343 -3.648726682e-05 0.01233979449 0.008422812185 -6.365874917e-05 0.01624527777 -0.01625262907 -4.731232546e-05 0.01210790892 -0.01212425534 0.007915313061 -0.007962625386 -2.652497687e-05 -0.01629560759 0.01629314454 -1.676853007e-05 -0.0122037831 0.01219402666 -0.008119186444 0.008102417914 -3.444254084e-05 0.01630515822 -2.420886849e-05 0.01226302913 0.008231595213 -1.759480183e-05 -0.01629986394 -1.094883767e-05 -0.01221042907 -0.008130135282 4.306335919e-05 0.01625456285 3.12539878e-05 0.01211971829 0.007946567049 6.608146938e-06 0.0163267894 -0.01631810941 5.944154742e-06 0.01211838673 -0.01211772274 0.007988700707 -0.007982756552 2.425417229e-06 0.01633445048 2.943345294e-06 0.0121178688 0.007991644053 -0.002038628353 0.002882671029 -0.006952149868 -0.0004071024351 0.001770577333 -0.00340210325 0.0004624476193 -0.0008695500555 -2.110339468e-05 -0.02889598462 0.02894108443 5.297593925e-05 -0.02283902676 0.02276494742 -0.0134771171 0.01353009304 -0.0001818141048 -0.0237211413 0.02360530487 -7.349003769e-05 -0.01645549708 0.01634717302 -0.009158930288 0.00908544025 -0.0001638507663 -6.695208905e-05 0.001352390888 -0.01048426042 0.01138032067 0.0005725093339 -0.007986184553 0.008766066113 -0.006116410119 0.006688919455 0.003223326648 0.001409631483 -0.0001217694987 0.01910612034 -0.01921111558 -5.036903754e-05 0.01307020229 -0.01314160275 0.007536265312 -0.007586634349 -0.0001831452563 0.01769834017 -6.777522979e-05 0.012038548 0.006826983071 5.344741965e-06 0.01640988649 -0.01640529802 5.21684614e-06 0.0119806669 -0.011980539 0.007703006039 -0.007697789192 -9.351681706e-05 0.01759142258 -2.532137507e-05 0.01197035256 0.006801661696 1.365988562e-06 0.01641173186 2.308011009e-06 0.01197972487 0.00770531405 -4.869162506e-05 0.0163947198 -0.01640129755 -3.618888035e-05 0.01195405379 -0.01196655654 0.007633782494 -0.007669971374 -0.0004114507783 0.01170515476 -0.01198315585 -0.0001743780813 0.00700121208 -0.007238284776 0.002726128304 -0.002900506385 -9.674269819e-05 0.0006861963562 0.0003657049197 -0.0004332857905 -0.0001789658616 -1.580312903e-05 0.02752925527 -0.02757784972 2.979472809e-05 0.02017628691 -0.02022188477 0.01189903108 -0.01186923635 9.027234083e-07 0.02775616058 4.283643606e-05 0.02046746271 0.01207776777 -0.0002478360681 0.02769567685 -0.0001431298306 0.02036275647 0.01193463794 -5.380165712e-05 0.02747989392 -3.706913574e-06 0.02012619216 0.01189532416 -0.0001891874517 -0.02724762773 -7.82597468e-05 -0.01985864576 -0.01162608552 -0.0002191363562 -0.02732427354 -0.0001230888224 -0.01995469329 -0.01174917434 -5.201770089e-05 0.02078574099 -0.02087897614 3.416581835e-07 0.01422269958 -0.01427505894 0.008172208196 -0.008171866538 0.001067309674 0.01213575567 0.0004611311266 0.009372244664 0.007150050581 0.0003516018493 0.01389425369 -0.0135453401 9.22705955e-05 0.01069041634 -0.01043108508 0.007978134629 -0.007885864032 -3.95707129e-05 0.01629929873 -0.01629384804 -3.541308522e-05 0.01236468963 -0.01236884725 0.008551989684 -0.008587402769 -5.190215317e-05 0.01630121288 -4.184026513e-05 0.01235462774 0.008510149419 -0.0001386626621 0.01898446702 -4.359163413e-05 0.01297513126 0.007492673678 -0.0002491360757 -0.02335204624 0.0232168475 -0.0001032927071 -0.01615271419 0.01600687082 -0.009088501606 0.008985208899 0.0004210895748 0.0001970849186 1.34725036e-05 -0.01631180212 0.01632104734 1.082143717e-05 -0.01231106037 0.01231371144 -0.008343442649 0.008354264087 1.979868177e-06 -0.0163061724 3.650541805e-06 -0.01231273104 -0.008339792107 -3.453752362e-05 -0.01627773621 0.01627025907 -2.256425296e-05 -0.01216126906 0.01214929579 -0.008052497135 0.008029932882 -2.901498039e-05 -0.0162835463 -1.814777289e-05 -0.01217213627 -0.008070644907 1.478432854e-05 0.01632187868 -0.0163123347 1.281890398e-05 0.01225471163 -0.0122527462 0.008230742477 -0.008217923573 -1.980688437e-05 0.01632399098 -1.304781719e-05 0.01224795256 0.00821769466 1.229580419e-05 0.01629105553 -0.01628035875 1.216739049e-05 0.0121197182 -0.01211958978 0.007968124471 -0.00795595708 7.335721756e-06 0.01630202419 7.08870838e-06 0.01211996521 0.007975213179 3.867731596e-06 -0.01635775892 0.01636623805 3.132414649e-06 -0.01211931322 0.01212004854 -0.008003325875 0.00800645829 5.8166617e-06 -0.01634923619 4.147242836e-06 -0.0121176438 -0.007999178632 -3.511408297e-05 -2.32165048e-05 1.806299434e-05 -0.01645535593 0.01646589296 1.159836128e-05 -0.01200654196 0.0120130066 -0.00771414642 0.007725744781 6.328424427e-06 -0.01648378924 4.818578957e-06 -0.01201969278 -0.007740453351 2.089439859e-05 -0.01644181988 1.36064719e-05 -0.01199925404 -0.007700539948 2.677608653e-05 0.01640350914 1.586647779e-05 0.0119649634 0.007649648972 -0.0005340790666 -0.000270506708 -0.0004034630349 -0.01287435305 0.01261806602 -0.0001878201611 -0.008080437831 0.007864794958 -0.003584164546 0.003396344385 -0.0006108314948 -0.0002779040226 -0.0003870193638 0.02898665199 -0.02889516881 -0.0002278557258 0.02316040678 -0.02331957042 0.01379571174 -0.01402356746 -0.0003168484108 0.02892162953 -0.000186138144 0.02302969652 0.01360957359 -0.0002285108135 -9.427712197e-05 -1.403074749e-05 -0.02342092434 2.8152016e-05 -0.01619489695 -0.00906034959 -8.763783512e-05 0.021213788 -0.02131533823 -2.145843195e-05 0.01453957591 -0.01460575531 0.008332719746 -0.008354178178 -2.200004405e-05 0.02070278069 2.340094746e-05 0.01417729859 0.008195609144 -0.0001784696547 0.02109853971 -8.629721964e-05 0.01444740347 0.008246422527 0.007895190968 0.003757310356 -0.0001707648969 -0.01977125501 -9.0197004e-05 -0.01353817575 -0.007888882908 -0.0001079453041 0.01932721334 -4.000964711e-05 0.01322818814 0.007680661132 -4.301065064e-05 -0.01625157339 -4.13411733e-05 -0.01236806935 -0.008703215812 -3.333469834e-05 -4.535687105e-05 -1.672680778e-06 0.01628208107 -4.119321808e-06 0.01236620828 0.008603050271 1.870499828e-05 -0.01630853659 9.427964559e-06 -0.0123538584 -0.008506674199 -0.0001304511203 -0.01887371102 -5.371027878e-05 -0.01290490121 -0.007435841942 -0.0003342841181 -0.01579969057 -0.0001524932398 -0.01060319318 -0.005723705877 -0.0006863570007 -0.000572293346 -4.866251183e-05 -0.02311539111 1.243958295e-05 -0.01593387832 -0.008970594785 -0.0002180030789 0.0227353105 -0.0001119198547 0.01565525967 0.008871780091 -0.0002439368243 -0.0001048785956 -5.534128027e-05 -0.01632113359 -3.907155113e-05 -0.01230289241 -0.008322493183 -5.648919565e-05 0.01630869395 -4.45482002e-05 0.0123278535 0.008378263985 -5.311109949e-05 -0.01626154976 -4.026634634e-05 -0.0121371001 -0.008002891733 -2.947710888e-05 0.01628800016 -1.787207155e-05 0.01218242162 0.008084545843 -3.895598315e-05 0.01630474122 -2.721695413e-05 0.0122512901 0.008204378259 -7.055191343e-05 -0.0163170425 -4.82088608e-05 -0.01223277212 -0.008178344142 8.236076536e-06 0.01626974144 6.966622354e-06 0.01212098775 0.007953533671 3.933126833e-06 -0.01631033967 4.69214508e-06 -0.01211848176 -0.007978064407 1.468165528e-05 0.01638446288 -0.01637641182 9.478757871e-06 0.01212739285 -0.01212218995 0.008018303353 -0.008008824594 9.135815549e-06 0.01639298996 5.29795541e-06 0.01213123071 0.008023601308 -1.001798878e-06 0.01634084358 5.602181836e-07 0.01211630679 0.007992204271 6.117031012e-06 -0.01639163919 0.0163945988 5.291482079e-06 -0.01208924008 0.01209006563 -0.007885378547 0.00789067003 -1.939994206e-05 -0.01639363397 -1.298813133e-05 -0.01209565189 -0.007898366679 4.39216479e-06 0.01640842777 -0.01640363213 4.062297032e-06 0.01212082525 -0.01212049539 0.007969889698 -0.007965827401 8.845738518e-06 0.0164120125 5.883995583e-06 0.012123787 0.007975773693 1.667079381e-05 0.01640220543 1.073800838e-05 0.0121371635 0.008034339316 5.28184988e-06 0.01640729457 2.008231668e-06 0.01214043711 0.008036347547 3.520461851e-06 -0.01639736475 1.85094657e-06 -0.01211882587 -0.007963976454 9.915402149e-06 -0.01639263058 7.388117873e-06 -0.01211629859 -0.007956588336 -2.713730064e-06 0.01639748301 -7.27870268e-08 0.01208742469 0.007890597243 -4.937927702e-06 0.01639961382 -1.429364417e-06 0.01208391612 0.007889167879 -0.0006315564087 -0.0003148988232 -0.001175087872 -0.008566706165 -0.0002659500303 -0.004311241091 -0.001135500086 -0.0003057639612 0.02893885725 -0.0001773399675 0.02335423477 0.0139724242 -0.0001010001772 -0.02890266758 -2.333542257e-05 -0.02291669151 -0.01350045253 -0.0001584410503 0.02891280736 -7.126726752e-05 0.02267777364 0.01345882578 -0.0002216751842 0.02888935748 -0.0001139992824 0.02257009774 0.01334482649 -0.0002876343778 -0.02472622214 0.02459675883 -0.0001549669319 -0.01739786073 0.01726519328 -0.009750377587 0.009595410655 -0.0001156306531 -1.295308354e-05 -0.0001179537587 0.02350568893 -3.200404372e-05 0.0162612233 0.009053436206 -0.0002409465461 0.02446683831 -0.000114886866 0.01713913361 0.009480523789 -0.0001632745386 0.02435488315 -5.928105542e-05 0.01703514012 0.009421242734 0.003589097545 -0.02213083767 0.0008284384545 -0.0180257624 -0.01445128261 -5.134589239e-05 0.01986251639 1.045179994e-06 0.01358875334 0.007893754331 -5.544900899e-05 -4.87142321e-06 -0.0001806121732 -9.402678293e-05 2.480608685e-06 3.100954087e-06 -7.565336348e-05 0.01749026676 -1.147437585e-05 0.01190617357 0.006790187321 -0.00011711482 -4.642808037e-05 -1.64128059e-05 0.01640829134 -1.064456494e-05 0.01197395663 0.007694669485 -3.209820688e-05 -2.46981111e-05 0.0001781280627 0.0001133080955 -0.0007017803868 -0.01237113654 -0.0003056351472 -0.007634430014 -0.003206141532 -0.0001036947849 -0.02763379146 -3.247758294e-05 -0.02029310197 -0.01190171393 -0.0001025785143 -3.29240117e-05 -0.0002584369415 0.02739391235 -0.0001377399185 0.02000549514 0.01175758424 -5.921175098e-05 -8.409901076e-06 0.0005893171787 -0.01313583525 0.0002576820695 -0.01009944997 -0.007628181963 0.001205336686 0.0004781313811 -1.30085322e-05 -1.564750189e-05 -4.244562531e-06 -3.475219906e-06 -0.0001270617866 -5.683173574e-05 -0.0001478014177 0.01593683975 -0.01606956669 -5.269994178e-05 0.01071455458 -0.01080965606 0.005824353089 -0.005877053031 -0.0002120086066 -0.000100647211 -0.000150471541 -0.01620406 -5.830681505e-05 -0.01090182078 -0.005935359845 -0.000278713001 -0.0001207959683 0.000307968683 5.121837785e-05 -8.760661296e-05 -1.461411424e-05 -4.258993137e-05 -3.177090329e-05 -5.359433114e-05 -3.847187708e-05 -3.923684506e-05 -2.704114915e-05 -2.418628796e-05 -1.390093513e-05 1.500141944e-05 1.354531399e-05 -5.453096133e-05 -3.935051789e-05 1.025444393e-06 2.423409066e-06 1.367773243e-06 2.851227903e-06 4.507709369e-06 2.366303667e-06 8.311376761e-06 6.974361202e-06 -2.518198544e-05 0.01639912688 -0.01640442199 -1.84660926e-05 0.01210336194 -0.01211007783 0.007920205633 -0.007938671726 -2.954900019e-05 -2.183895435e-05 -2.47114847e-05 -0.0164095511 -1.807361451e-05 -0.0121167157 -0.00795674534 -2.609965414e-05 -1.902835341e-05 -2.378612533e-05 -0.01640353013 0.01639824566 -1.815908855e-05 -0.01213227809 0.01212665105 -0.008011863526 0.007993704437 -3.264304179e-05 -2.44840217e-05 -2.554521048e-05 0.01639417785 -2.032936178e-05 0.0121214352 0.007973375075 -2.192335663e-05 -1.678673878e-05 -3.035897376e-06 -0.01640075081 0.01640396049 -5.30941104e-08 -0.01208009616 0.01207711335 -0.00788631629 0.007886263196 -6.671555968e-06 -2.8515887e-06 3.520006596e-07 0.01641011851 8.343389878e-07 0.01207663102 0.007887097535 -8.755920615e-06 -3.253023266e-06 1.656653822e-05 0.01647580165 1.078342831e-05 0.01201878971 0.00773652821 4.828212385e-06 3.925140838e-06 3.472124625e-05 -0.01642352061 2.0177506e-05 -0.0119847103 -0.007680362442 5.04603613e-05 3.071346997e-05 -0.0004205677975 -0.0001902028526 -0.001016041954 0.009410922317 -0.0003430916264 0.004868532911 0.001342841874 -0.0007646336084 -0.0002073417887 1.647891276e-05 5.114326554e-05 -0.0002221260699 -0.0001091210677 -0.0001023795636 -0.028857054 0.02884052209 -2.561145468e-05 -0.02244295559 0.02236618748 -0.01320178614 0.01317617469 -0.0002701825023 -0.0001430403532 -9.081734537e-06 0.02882477786 3.464581254e-05 0.02232245993 0.0132108205 -0.0002431728237 -0.0001071069108 -5.941296741e-05 6.913383996e-06 -0.0002079787896 -0.02425705987 0.02414195332 -9.303393454e-05 -0.01695438354 0.01683943868 -0.009403752503 0.009310718568 -9.824681453e-05 -1.749023108e-05 -0.0001780646547 0.02403120993 -7.217367736e-05 0.01673354771 0.009238544891 -0.0001088399821 -2.722936985e-05 -7.371306185e-05 -0.02141861524 -1.078732236e-05 -0.01466868105 -0.008364965501 -0.0001762572864 -6.408519006e-05 -0.0001490560112 -0.02060721503 -7.018301677e-05 -0.01411195915 -0.00815227464 -0.0001086739405 -4.333450335e-05 -0.0001156006205 0.02099559219 -4.332724127e-05 0.01437513009 0.008203095285 -0.0001312999018 -3.122874757e-05 0.004649628637 0.001623912282 ) ; boundaryField { topAndBottom { type calculated; value uniform 0; } inlet { type calculated; value nonuniform List<scalar> 40 ( -0.91665 -0.9167 -0.91665 -0.91665 -0.45835 -0.4583 -0.45835 -0.458335 -0.45833 -0.458335 -0.458335 -0.4583315 -0.4583335 -0.458335 -0.45833 -0.458335 -0.458335 -0.458315 -0.45835 -0.45835 -0.91665 -0.91935 -0.91685 -0.9138 -0.45835 -0.458315 -0.458335 -0.458335 -0.45833 -0.458335 -0.4583335 -0.4583315 -0.458335 -0.458335 -0.45833 -0.458335 -0.45835 -0.4583 -0.45835 -0.45835 ) ; } outlet { type calculated; value nonuniform List<scalar> 62 ( 0.9767430144 0.9766140824 0.976114211 0.9753229409 0.8572897533 0.855768197 0.8548297925 0.854320785 0.2418865205 0.2411477506 0.2408623936 0.2398742556 0.2394649274 0.2375519867 0.2363441505 0.2275473521 0.2266172918 0.229052788 0.2285304926 0.2262585576 0.2254872288 0.2233241596 0.2226614665 0.220873896 0.2203372134 0.2188944447 0.2184721117 0.2173440435 0.4872260839 0.4868338372 0.486322166 0.4858294195 0.4851828259 0.2420975753 0.2170114786 0.4325857206 0.4316154316 0.4307396968 0.4300746215 0.4294489418 0.2416505657 0.2414046539 0.2405615039 0.2402401596 0.2389860369 0.2383737119 0.2344106296 0.2313202294 0.2283897613 0.2291515006 0.2278247505 0.2270488658 0.2247307671 0.2240091421 0.2220351831 0.221444445 0.219833618 0.2193480873 0.218066237 0.2176904868 0.2422863943 0.2166896661 ) ; } wing { type calculated; value nonuniform List<scalar> 378 ( 1.355252716e-20 0 0 0 6.776263578e-21 0 0 0 0 2.710505431e-20 1.355252716e-20 -1.355252716e-20 -1.355252716e-20 0 1.355252716e-20 -1.355252716e-20 -1.355252716e-20 0 0 -5.421010862e-20 -2.710505431e-20 2.710505431e-20 0 0 0 -2.541098842e-21 0 0 0 3.388131789e-21 0 1.355252716e-20 0 0 0 0 -6.776263578e-21 0 0 0 0 0 6.776263578e-21 0 0 -1.355252716e-20 0 1.355252716e-20 0 1.355252716e-20 0 -1.355252716e-20 -1.355252716e-20 1.355252716e-20 -1.355252716e-20 2.710505431e-20 0 0 6.776263578e-21 3.388131789e-21 0 0 0 0 -1.058791184e-22 8.470329473e-22 0 0 0 0 0 -3.388131789e-21 0 0 0 -1.355252716e-20 0 1.355252716e-20 -2.710505431e-20 0 6.776263578e-21 0 6.776263578e-21 -6.776263578e-21 0 -6.776263578e-21 0 0 0 0 0 1.355252716e-20 -1.355252716e-20 0 0 0 -2.710505431e-20 0 0 6.776263578e-21 6.776263578e-21 0 -1.355252716e-20 -1.355252716e-20 -1.355252716e-20 2.710505431e-20 0 0 -1.355252716e-20 0 0 0 0 -2.710505431e-20 2.710505431e-20 0 0 -3.388131789e-21 0 -3.388131789e-21 0 -8.470329473e-22 1.694065895e-21 -1.694065895e-21 6.776263578e-21 0 1.355252716e-20 0 0 6.776263578e-21 -6.776263578e-21 1.355252716e-20 1.355252716e-20 -6.776263578e-21 0 6.776263578e-21 0 0 0 0 -6.776263578e-21 -6.776263578e-21 -6.776263578e-21 0 -6.776263578e-21 6.776263578e-21 0 0 0 0 0 0 1.355252716e-20 -1.355252716e-20 0 0 0 0 -1.355252716e-20 -1.355252716e-20 -2.710505431e-20 1.355252716e-20 1.355252716e-20 0 0 -3.388131789e-21 -3.388131789e-21 0 0 0 1.694065895e-21 2.117582368e-22 -4.235164736e-22 -2.117582368e-22 0 0 -3.388131789e-21 0 -3.388131789e-21 -6.776263578e-21 0 1.355252716e-20 6.776263578e-21 0 0 -6.776263578e-21 0 -8.470329473e-22 -3.388131789e-21 0 3.388131789e-21 1.355252716e-20 0 0 0 6.776263578e-21 0 -3.388131789e-21 0 0 8.470329473e-22 0 1.694065895e-21 3.388131789e-21 3.388131789e-21 -2.710505431e-20 0 6.776263578e-21 -3.388131789e-21 6.776263578e-21 -1.355252716e-20 0 0 1.355252716e-20 1.355252716e-20 1.355252716e-20 0 -1.355252716e-20 1.355252716e-20 0 -1.694065895e-21 0 0 1.694065895e-21 0 0 -6.776263578e-21 -6.776263578e-21 -6.776263578e-21 3.388131789e-21 3.388131789e-21 2.710505431e-20 -6.776263578e-21 0 -1.694065895e-21 0 -8.470329473e-22 8.470329473e-22 0 -4.235164736e-22 0 3.388131789e-21 3.388131789e-21 3.388131789e-21 -1.355252716e-20 1.355252716e-20 -1.355252716e-20 0 0 -2.710505431e-20 1.355252716e-20 2.710505431e-20 0 6.776263578e-21 0 0 0 0 0 0 0 -1.355252716e-20 0 6.776263578e-21 0 0 0 -2.710505431e-20 0 6.776263578e-21 -6.776263578e-21 -1.355252716e-20 1.694065895e-21 0 0 4.235164736e-22 8.470329473e-22 0 1.694065895e-21 3.388131789e-21 0 0 3.388131789e-21 6.776263578e-21 0 0 -6.776263578e-21 3.388131789e-21 3.388131789e-21 -1.355252716e-20 0 6.776263578e-21 6.776263578e-21 2.710505431e-20 1.355252716e-20 0 0 6.776263578e-21 -6.776263578e-21 0 0 0 3.388131789e-21 0 -6.776263578e-21 0 0 -1.355252716e-20 0 -1.355252716e-20 1.355252716e-20 1.355252716e-20 0 -2.710505431e-20 0 0 0 8.470329473e-22 8.470329473e-22 6.776263578e-21 0 3.388131789e-21 -3.388131789e-21 0 1.355252716e-20 -1.355252716e-20 -1.355252716e-20 0 0 6.776263578e-21 -1.694065895e-21 1.694065895e-21 0 4.235164736e-22 8.470329473e-22 0 0 3.388131789e-21 0 0 -6.776263578e-21 0 0 6.776263578e-21 0 0 -6.776263578e-21 0 6.776263578e-21 0 0 0 1.355252716e-20 0 -2.710505431e-20 0 -1.355252716e-20 0 0 0 0 6.776263578e-21 -6.776263578e-21 0 0 -6.776263578e-21 -3.388131789e-21 3.388131789e-21 0 0 0 -1.355252716e-20 0 -6.776263578e-21 6.776263578e-21 0 3.388131789e-21 2.710505431e-20 ) ; } front { type empty; value nonuniform 0(); } back { type empty; value nonuniform 0(); } } // ************************************************************************* //
[ "ishantamrakat24@gmail.com" ]
ishantamrakat24@gmail.com
cc5220e3936b7425cbf1af792370081244c990d5
703f97603fa2fb27c69654924ca5b5d13593cfac
/QASMToQProg/QASMToQProg.cpp
bc3b916677d489575c4048cb6502ea6686cc7dc5
[ "Apache-2.0" ]
permissive
OriginQ/QPanda-Example
8f77c5909283e4dd6120a0c13a326db22bc8c786
10fca56e1f479431e878c468e88e20abc1ee13b6
refs/heads/master
2021-08-16T20:38:03.915620
2021-07-15T03:56:45
2021-07-15T03:56:45
211,067,821
5
8
Apache-2.0
2021-07-15T03:56:46
2019-09-26T10:57:27
C++
UTF-8
C++
false
false
655
cpp
#include "QPanda.h" USING_QPANDA int main() { std::string filename = "testfile.txt"; std::ofstream os(filename); os << R"(// test QASM file OPENQASM 2.0; include "qelib1.inc"; qreg q[3]; creg c[3]; x q[0]; x q[1]; z q[2]; h q[0]; tdg q[1]; measure q[0] -> c[0]; measure q[1] -> c[1]; measure q[2] -> c[2]; )"; os.close(); auto machine = initQuantumMachine(QMachineType::CPU); QProg prog = convert_qasm_to_qprog(filename, machine); std::cout << convert_qprog_to_qasm(prog, machine) << std::endl; destroyQuantumMachine(machine); return 0; }
[ "495847177@qq.com" ]
495847177@qq.com
1f9d0610311e3b03c3ce70b7cc546b692e37d241
78dc9f153549b281be709227bc9897931b06260d
/generation/WinSDK/RecompiledIdlHeaders/um/gdiplusgraphics.h
d42dcd4f85e0304d71e8db268fc3c63257bcc004
[ "MIT" ]
permissive
microsoft/win32metadata
dff35b4fe904d556162cee5133294c4498f1a79a
5bf233f04d45f7a697e112e9639722551103eb07
refs/heads/main
2023-09-01T19:51:22.972899
2023-08-30T21:39:44
2023-08-30T21:39:44
270,838,404
1,240
107
NOASSERTION
2023-09-14T18:49:44
2020-06-08T21:52:10
C++
UTF-8
C++
false
false
87,185
h
/**************************************************************************\ * * Copyright (c) 1998-2001, Microsoft Corp. All Rights Reserved. * * Module Name: * * GdiplusGraphics.h * * Abstract: * * GDI+ Graphics Object * \**************************************************************************/ #ifndef _GDIPLUSGRAPHICS_H #define _GDIPLUSGRAPHICS_H #include <winapifamily.h> #pragma region Desktop Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #if _MSC_VER >= 1200 #pragma warning(push) #if _MSC_VER >= 1400 #pragma warning(disable:4365) /* signed/unsigned mismatch */ #endif #pragma warning(disable:4820) /* padding added after data member */ #endif class Graphics : public GdiplusBase { public: friend class Region; friend class GraphicsPath; friend class Image; friend class Bitmap; friend class Metafile; friend class Font; friend class FontFamily; friend class FontCollection; friend class CachedBitmap; static Graphics* FromHDC(IN HDC hdc) { return new Graphics(hdc); } static Graphics* FromHDC(IN HDC hdc, IN HANDLE hdevice) { return new Graphics(hdc, hdevice); } static Graphics* FromHWND(IN HWND hwnd, IN BOOL icm = FALSE) { return new Graphics(hwnd, icm); } static Graphics* FromImage(IN Image *image) { return new Graphics(image); } Graphics(IN HDC hdc) { GpGraphics *graphics = NULL; lastResult = DllExports::GdipCreateFromHDC(hdc, &graphics); SetNativeGraphics(graphics); } Graphics(IN HDC hdc, IN HANDLE hdevice) { GpGraphics *graphics = NULL; lastResult = DllExports::GdipCreateFromHDC2(hdc, hdevice, &graphics); SetNativeGraphics(graphics); } Graphics(IN HWND hwnd, IN BOOL icm = FALSE) { GpGraphics *graphics = NULL; if (icm) { lastResult = DllExports::GdipCreateFromHWNDICM(hwnd, &graphics); } else { lastResult = DllExports::GdipCreateFromHWND(hwnd, &graphics); } SetNativeGraphics(graphics); } Graphics(IN Image* image) { GpGraphics *graphics = NULL; if (image != NULL) { lastResult = DllExports::GdipGetImageGraphicsContext( image->nativeImage, &graphics); } SetNativeGraphics(graphics); } ~Graphics() { DllExports::GdipDeleteGraphics(nativeGraphics); } VOID Flush(IN FlushIntention intention = FlushIntentionFlush) { DllExports::GdipFlush(nativeGraphics, intention); } //------------------------------------------------------------------------ // GDI Interop methods //------------------------------------------------------------------------ // Locks the graphics until ReleaseDC is called HDC GetHDC() { HDC hdc = NULL; SetStatus(DllExports::GdipGetDC(nativeGraphics, &hdc)); return hdc; } VOID ReleaseHDC(IN HDC hdc) { SetStatus(DllExports::GdipReleaseDC(nativeGraphics, hdc)); } //------------------------------------------------------------------------ // Rendering modes //------------------------------------------------------------------------ Status SetRenderingOrigin(IN INT x, IN INT y) { return SetStatus( DllExports::GdipSetRenderingOrigin( nativeGraphics, x, y ) ); } Status GetRenderingOrigin(OUT INT *x, OUT INT *y) const { return SetStatus( DllExports::GdipGetRenderingOrigin( nativeGraphics, x, y ) ); } Status SetCompositingMode(IN CompositingMode compositingMode) { return SetStatus(DllExports::GdipSetCompositingMode(nativeGraphics, compositingMode)); } CompositingMode GetCompositingMode() const { CompositingMode mode; SetStatus(DllExports::GdipGetCompositingMode(nativeGraphics, &mode)); return mode; } Status SetCompositingQuality(IN CompositingQuality compositingQuality) { return SetStatus(DllExports::GdipSetCompositingQuality( nativeGraphics, compositingQuality)); } CompositingQuality GetCompositingQuality() const { CompositingQuality quality; SetStatus(DllExports::GdipGetCompositingQuality( nativeGraphics, &quality)); return quality; } Status SetTextRenderingHint(IN TextRenderingHint newMode) { return SetStatus(DllExports::GdipSetTextRenderingHint(nativeGraphics, newMode)); } TextRenderingHint GetTextRenderingHint() const { TextRenderingHint hint; SetStatus(DllExports::GdipGetTextRenderingHint(nativeGraphics, &hint)); return hint; } Status SetTextContrast(IN UINT contrast) { return SetStatus(DllExports::GdipSetTextContrast(nativeGraphics, contrast)); } UINT GetTextContrast() const { UINT contrast; SetStatus(DllExports::GdipGetTextContrast(nativeGraphics, &contrast)); return contrast; } InterpolationMode GetInterpolationMode() const { InterpolationMode mode = InterpolationModeInvalid; SetStatus(DllExports::GdipGetInterpolationMode(nativeGraphics, &mode)); return mode; } Status SetInterpolationMode(IN InterpolationMode interpolationMode) { return SetStatus(DllExports::GdipSetInterpolationMode(nativeGraphics, interpolationMode)); } #if (GDIPVER >= 0x0110) Status SetAbort(GdiplusAbort *pIAbort) { return SetStatus(DllExports::GdipGraphicsSetAbort( nativeGraphics, pIAbort )); } #endif //(GDIPVER >= 0x0110) SmoothingMode GetSmoothingMode() const { SmoothingMode smoothingMode = SmoothingModeInvalid; SetStatus(DllExports::GdipGetSmoothingMode(nativeGraphics, &smoothingMode)); return smoothingMode; } Status SetSmoothingMode(IN SmoothingMode smoothingMode) { return SetStatus(DllExports::GdipSetSmoothingMode(nativeGraphics, smoothingMode)); } PixelOffsetMode GetPixelOffsetMode() const { PixelOffsetMode pixelOffsetMode = PixelOffsetModeInvalid; SetStatus(DllExports::GdipGetPixelOffsetMode(nativeGraphics, &pixelOffsetMode)); return pixelOffsetMode; } Status SetPixelOffsetMode(IN PixelOffsetMode pixelOffsetMode) { return SetStatus(DllExports::GdipSetPixelOffsetMode(nativeGraphics, pixelOffsetMode)); } //------------------------------------------------------------------------ // Manipulate current world transform //------------------------------------------------------------------------ Status SetTransform(IN const Matrix* matrix) { return SetStatus(DllExports::GdipSetWorldTransform(nativeGraphics, matrix->nativeMatrix)); } Status ResetTransform() { return SetStatus(DllExports::GdipResetWorldTransform(nativeGraphics)); } Status MultiplyTransform(IN const Matrix* matrix, IN MatrixOrder order = MatrixOrderPrepend) { return SetStatus(DllExports::GdipMultiplyWorldTransform(nativeGraphics, matrix->nativeMatrix, order)); } Status TranslateTransform(IN REAL dx, IN REAL dy, IN MatrixOrder order = MatrixOrderPrepend) { return SetStatus(DllExports::GdipTranslateWorldTransform(nativeGraphics, dx, dy, order)); } Status ScaleTransform(IN REAL sx, IN REAL sy, IN MatrixOrder order = MatrixOrderPrepend) { return SetStatus(DllExports::GdipScaleWorldTransform(nativeGraphics, sx, sy, order)); } Status RotateTransform(IN REAL angle, IN MatrixOrder order = MatrixOrderPrepend) { return SetStatus(DllExports::GdipRotateWorldTransform(nativeGraphics, angle, order)); } Status GetTransform(OUT Matrix* matrix) const { return SetStatus(DllExports::GdipGetWorldTransform(nativeGraphics, matrix->nativeMatrix)); } Status SetPageUnit(IN Unit unit) { return SetStatus(DllExports::GdipSetPageUnit(nativeGraphics, unit)); } Status SetPageScale(IN REAL scale) { return SetStatus(DllExports::GdipSetPageScale(nativeGraphics, scale)); } Unit GetPageUnit() const { Unit unit; SetStatus(DllExports::GdipGetPageUnit(nativeGraphics, &unit)); return unit; } REAL GetPageScale() const { REAL scale; SetStatus(DllExports::GdipGetPageScale(nativeGraphics, &scale)); return scale; } REAL GetDpiX() const { REAL dpi; SetStatus(DllExports::GdipGetDpiX(nativeGraphics, &dpi)); return dpi; } REAL GetDpiY() const { REAL dpi; SetStatus(DllExports::GdipGetDpiY(nativeGraphics, &dpi)); return dpi; } Status TransformPoints(IN CoordinateSpace destSpace, IN CoordinateSpace srcSpace, IN OUT PointF* pts, IN INT count) const { return SetStatus(DllExports::GdipTransformPoints(nativeGraphics, destSpace, srcSpace, pts, count)); } Status TransformPoints(IN CoordinateSpace destSpace, IN CoordinateSpace srcSpace, IN OUT Point* pts, IN INT count) const { return SetStatus(DllExports::GdipTransformPointsI(nativeGraphics, destSpace, srcSpace, pts, count)); } //------------------------------------------------------------------------ // GetNearestColor (for <= 8bpp surfaces). Note: Alpha is ignored. //------------------------------------------------------------------------ Status GetNearestColor(IN OUT Color* color) const { if (color == NULL) { return SetStatus(InvalidParameter); } ARGB argb = color->GetValue(); Status status = SetStatus(DllExports::GdipGetNearestColor(nativeGraphics, &argb)); color->SetValue(argb); return status; } Status DrawLine(IN const Pen* pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2) { return SetStatus(DllExports::GdipDrawLine(nativeGraphics, pen->nativePen, x1, y1, x2, y2)); } Status DrawLine(IN const Pen* pen, IN const PointF& pt1, IN const PointF& pt2) { return DrawLine(pen, pt1.X, pt1.Y, pt2.X, pt2.Y); } Status DrawLines(IN const Pen* pen, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipDrawLines(nativeGraphics, pen->nativePen, points, count)); } Status DrawLine(IN const Pen* pen, IN INT x1, IN INT y1, IN INT x2, IN INT y2) { return SetStatus(DllExports::GdipDrawLineI(nativeGraphics, pen->nativePen, x1, y1, x2, y2)); } Status DrawLine(IN const Pen* pen, IN const Point& pt1, IN const Point& pt2) { return DrawLine(pen, pt1.X, pt1.Y, pt2.X, pt2.Y); } Status DrawLines(IN const Pen* pen, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipDrawLinesI(nativeGraphics, pen->nativePen, points, count)); } Status DrawArc(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipDrawArc(nativeGraphics, pen->nativePen, x, y, width, height, startAngle, sweepAngle)); } Status DrawArc(IN const Pen* pen, IN const RectF& rect, IN REAL startAngle, IN REAL sweepAngle) { return DrawArc(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status DrawArc(IN const Pen* pen, IN INT x, IN INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipDrawArcI(nativeGraphics, pen->nativePen, x, y, width, height, startAngle, sweepAngle)); } Status DrawArc(IN const Pen* pen, IN const Rect& rect, IN REAL startAngle, IN REAL sweepAngle) { return DrawArc(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status DrawBezier(IN const Pen* pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2, IN REAL x3, IN REAL y3, IN REAL x4, IN REAL y4) { return SetStatus(DllExports::GdipDrawBezier(nativeGraphics, pen->nativePen, x1, y1, x2, y2, x3, y3, x4, y4)); } Status DrawBezier(IN const Pen* pen, IN const PointF& pt1, IN const PointF& pt2, IN const PointF& pt3, IN const PointF& pt4) { return DrawBezier(pen, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y); } Status DrawBeziers(IN const Pen* pen, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipDrawBeziers(nativeGraphics, pen->nativePen, points, count)); } Status DrawBezier(IN const Pen* pen, IN INT x1, IN INT y1, IN INT x2, IN INT y2, IN INT x3, IN INT y3, IN INT x4, IN INT y4) { return SetStatus(DllExports::GdipDrawBezierI(nativeGraphics, pen->nativePen, x1, y1, x2, y2, x3, y3, x4, y4)); } Status DrawBezier(IN const Pen* pen, IN const Point& pt1, IN const Point& pt2, IN const Point& pt3, IN const Point& pt4) { return DrawBezier(pen, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y); } Status DrawBeziers(IN const Pen* pen, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipDrawBeziersI(nativeGraphics, pen->nativePen, points, count)); } Status DrawRectangle(IN const Pen* pen, IN const RectF& rect) { return DrawRectangle(pen, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawRectangle(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) { return SetStatus(DllExports::GdipDrawRectangle(nativeGraphics, pen->nativePen, x, y, width, height)); } Status DrawRectangles(IN const Pen* pen, IN const RectF* rects, IN INT count) { return SetStatus(DllExports::GdipDrawRectangles(nativeGraphics, pen->nativePen, rects, count)); } Status DrawRectangle(IN const Pen* pen, IN const Rect& rect) { return DrawRectangle(pen, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawRectangle(IN const Pen* pen, IN INT x, IN INT y, IN INT width, IN INT height) { return SetStatus(DllExports::GdipDrawRectangleI(nativeGraphics, pen->nativePen, x, y, width, height)); } Status DrawRectangles(IN const Pen* pen, IN const Rect* rects, IN INT count) { return SetStatus(DllExports::GdipDrawRectanglesI(nativeGraphics, pen->nativePen, rects, count)); } Status DrawEllipse(IN const Pen* pen, IN const RectF& rect) { return DrawEllipse(pen, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawEllipse(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) { return SetStatus(DllExports::GdipDrawEllipse(nativeGraphics, pen->nativePen, x, y, width, height)); } Status DrawEllipse(IN const Pen* pen, IN const Rect& rect) { return DrawEllipse(pen, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawEllipse(IN const Pen* pen, IN INT x, IN INT y, IN INT width, IN INT height) { return SetStatus(DllExports::GdipDrawEllipseI(nativeGraphics, pen->nativePen, x, y, width, height)); } Status DrawPie(IN const Pen* pen, IN const RectF& rect, IN REAL startAngle, IN REAL sweepAngle) { return DrawPie(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status DrawPie(IN const Pen* pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipDrawPie(nativeGraphics, pen->nativePen, x, y, width, height, startAngle, sweepAngle)); } Status DrawPie(IN const Pen* pen, IN const Rect& rect, IN REAL startAngle, IN REAL sweepAngle) { return DrawPie(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status DrawPie(IN const Pen* pen, IN INT x, IN INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipDrawPieI(nativeGraphics, pen->nativePen, x, y, width, height, startAngle, sweepAngle)); } Status DrawPolygon(IN const Pen* pen, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipDrawPolygon(nativeGraphics, pen->nativePen, points, count)); } Status DrawPolygon(IN const Pen* pen, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipDrawPolygonI(nativeGraphics, pen->nativePen, points, count)); } Status DrawPath(IN const Pen* pen, IN const GraphicsPath* path) { return SetStatus(DllExports::GdipDrawPath(nativeGraphics, pen ? pen->nativePen : NULL, path ? path->nativePath : NULL)); } Status DrawCurve(IN const Pen* pen, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipDrawCurve(nativeGraphics, pen->nativePen, points, count)); } Status DrawCurve(IN const Pen* pen, IN const PointF* points, IN INT count, IN REAL tension) { return SetStatus(DllExports::GdipDrawCurve2(nativeGraphics, pen->nativePen, points, count, tension)); } Status DrawCurve(IN const Pen* pen, IN const PointF* points, IN INT count, IN INT offset, IN INT numberOfSegments, IN REAL tension = 0.5f) { return SetStatus(DllExports::GdipDrawCurve3(nativeGraphics, pen->nativePen, points, count, offset, numberOfSegments, tension)); } Status DrawCurve(IN const Pen* pen, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipDrawCurveI(nativeGraphics, pen->nativePen, points, count)); } Status DrawCurve(IN const Pen* pen, IN const Point* points, IN INT count, IN REAL tension) { return SetStatus(DllExports::GdipDrawCurve2I(nativeGraphics, pen->nativePen, points, count, tension)); } Status DrawCurve(IN const Pen* pen, IN const Point* points, IN INT count, IN INT offset, IN INT numberOfSegments, IN REAL tension = 0.5f) { return SetStatus(DllExports::GdipDrawCurve3I(nativeGraphics, pen->nativePen, points, count, offset, numberOfSegments, tension)); } Status DrawClosedCurve(IN const Pen* pen, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipDrawClosedCurve(nativeGraphics, pen->nativePen, points, count)); } Status DrawClosedCurve(IN const Pen *pen, IN const PointF* points, IN INT count, IN REAL tension) { return SetStatus(DllExports::GdipDrawClosedCurve2(nativeGraphics, pen->nativePen, points, count, tension)); } Status DrawClosedCurve(IN const Pen* pen, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipDrawClosedCurveI(nativeGraphics, pen->nativePen, points, count)); } Status DrawClosedCurve(IN const Pen *pen, IN const Point* points, IN INT count, IN REAL tension) { return SetStatus(DllExports::GdipDrawClosedCurve2I(nativeGraphics, pen->nativePen, points, count, tension)); } Status Clear(IN const Color &color) { return SetStatus(DllExports::GdipGraphicsClear( nativeGraphics, color.GetValue())); } Status FillRectangle(IN const Brush* brush, IN const RectF& rect) { return FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height); } Status FillRectangle(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) { return SetStatus(DllExports::GdipFillRectangle(nativeGraphics, brush->nativeBrush, x, y, width, height)); } Status FillRectangles(IN const Brush* brush, IN const RectF* rects, IN INT count) { return SetStatus(DllExports::GdipFillRectangles(nativeGraphics, brush->nativeBrush, rects, count)); } Status FillRectangle(IN const Brush* brush, IN const Rect& rect) { return FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height); } Status FillRectangle(IN const Brush* brush, IN INT x, IN INT y, IN INT width, IN INT height) { return SetStatus(DllExports::GdipFillRectangleI(nativeGraphics, brush->nativeBrush, x, y, width, height)); } Status FillRectangles(IN const Brush* brush, IN const Rect* rects, IN INT count) { return SetStatus(DllExports::GdipFillRectanglesI(nativeGraphics, brush->nativeBrush, rects, count)); } Status FillPolygon(IN const Brush* brush, IN const PointF* points, IN INT count) { return FillPolygon(brush, points, count, FillModeAlternate); } Status FillPolygon(IN const Brush* brush, IN const PointF* points, IN INT count, IN FillMode fillMode) { return SetStatus(DllExports::GdipFillPolygon(nativeGraphics, brush->nativeBrush, points, count, fillMode)); } Status FillPolygon(IN const Brush* brush, IN const Point* points, IN INT count) { return FillPolygon(brush, points, count, FillModeAlternate); } Status FillPolygon(IN const Brush* brush, IN const Point* points, IN INT count, IN FillMode fillMode) { return SetStatus(DllExports::GdipFillPolygonI(nativeGraphics, brush->nativeBrush, points, count, fillMode)); } Status FillEllipse(IN const Brush* brush, IN const RectF& rect) { return FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height); } Status FillEllipse(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) { return SetStatus(DllExports::GdipFillEllipse(nativeGraphics, brush->nativeBrush, x, y, width, height)); } Status FillEllipse(IN const Brush* brush, IN const Rect& rect) { return FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height); } Status FillEllipse(IN const Brush* brush, IN INT x, IN INT y, IN INT width, IN INT height) { return SetStatus(DllExports::GdipFillEllipseI(nativeGraphics, brush->nativeBrush, x, y, width, height)); } Status FillPie(IN const Brush* brush, IN const RectF& rect, IN REAL startAngle, IN REAL sweepAngle) { return FillPie(brush, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status FillPie(IN const Brush* brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipFillPie(nativeGraphics, brush->nativeBrush, x, y, width, height, startAngle, sweepAngle)); } Status FillPie(IN const Brush* brush, IN const Rect& rect, IN REAL startAngle, IN REAL sweepAngle) { return FillPie(brush, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); } Status FillPie(IN const Brush* brush, IN INT x, IN INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) { return SetStatus(DllExports::GdipFillPieI(nativeGraphics, brush->nativeBrush, x, y, width, height, startAngle, sweepAngle)); } Status FillPath(IN const Brush* brush, IN const GraphicsPath* path) { return SetStatus(DllExports::GdipFillPath(nativeGraphics, brush->nativeBrush, path->nativePath)); } Status FillClosedCurve(IN const Brush* brush, IN const PointF* points, IN INT count) { return SetStatus(DllExports::GdipFillClosedCurve(nativeGraphics, brush->nativeBrush, points, count)); } Status FillClosedCurve(IN const Brush* brush, IN const PointF* points, IN INT count, IN FillMode fillMode, IN REAL tension = 0.5f) { return SetStatus(DllExports::GdipFillClosedCurve2(nativeGraphics, brush->nativeBrush, points, count, tension, fillMode)); } Status FillClosedCurve(IN const Brush* brush, IN const Point* points, IN INT count) { return SetStatus(DllExports::GdipFillClosedCurveI(nativeGraphics, brush->nativeBrush, points, count)); } Status FillClosedCurve(IN const Brush* brush, IN const Point* points, IN INT count, IN FillMode fillMode, IN REAL tension = 0.5f) { return SetStatus(DllExports::GdipFillClosedCurve2I(nativeGraphics, brush->nativeBrush, points, count, tension, fillMode)); } Status FillRegion(IN const Brush* brush, IN const Region* region) { return SetStatus(DllExports::GdipFillRegion(nativeGraphics, brush->nativeBrush, region->nativeRegion)); } Status DrawString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const RectF &layoutRect, IN const StringFormat *stringFormat, IN const Brush *brush ) { return SetStatus(DllExports::GdipDrawString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &layoutRect, stringFormat ? stringFormat->nativeFormat : NULL, brush ? brush->nativeBrush : NULL )); } Status DrawString( const WCHAR *string, INT length, const Font *font, const PointF &origin, const Brush *brush ) { RectF rect(origin.X, origin.Y, 0.0f, 0.0f); return SetStatus(DllExports::GdipDrawString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &rect, NULL, brush ? brush->nativeBrush : NULL )); } Status DrawString( const WCHAR *string, INT length, const Font *font, const PointF &origin, const StringFormat *stringFormat, const Brush *brush ) { RectF rect(origin.X, origin.Y, 0.0f, 0.0f); return SetStatus(DllExports::GdipDrawString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &rect, stringFormat ? stringFormat->nativeFormat : NULL, brush ? brush->nativeBrush : NULL )); } Status MeasureString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const RectF &layoutRect, IN const StringFormat *stringFormat, OUT RectF *boundingBox, OUT INT *codepointsFitted = 0, OUT INT *linesFilled = 0 ) const { return SetStatus(DllExports::GdipMeasureString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &layoutRect, stringFormat ? stringFormat->nativeFormat : NULL, boundingBox, codepointsFitted, linesFilled )); } Status MeasureString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const SizeF &layoutRectSize, IN const StringFormat *stringFormat, OUT SizeF *size, OUT INT *codepointsFitted = 0, OUT INT *linesFilled = 0 ) const { RectF layoutRect(0, 0, layoutRectSize.Width, layoutRectSize.Height); RectF boundingBox; Status status; if (size == NULL) { return SetStatus(InvalidParameter); } status = SetStatus(DllExports::GdipMeasureString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &layoutRect, stringFormat ? stringFormat->nativeFormat : NULL, size ? &boundingBox : NULL, codepointsFitted, linesFilled )); if (size && status == Ok) { size->Width = boundingBox.Width; size->Height = boundingBox.Height; } return status; } Status MeasureString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const PointF &origin, IN const StringFormat *stringFormat, OUT RectF *boundingBox ) const { RectF rect(origin.X, origin.Y, 0.0f, 0.0f); return SetStatus(DllExports::GdipMeasureString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &rect, stringFormat ? stringFormat->nativeFormat : NULL, boundingBox, NULL, NULL )); } Status MeasureString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const RectF &layoutRect, OUT RectF *boundingBox ) const { return SetStatus(DllExports::GdipMeasureString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &layoutRect, NULL, boundingBox, NULL, NULL )); } Status MeasureString( IN const WCHAR *string, IN INT length, IN const Font *font, IN const PointF &origin, OUT RectF *boundingBox ) const { RectF rect(origin.X, origin.Y, 0.0f, 0.0f); return SetStatus(DllExports::GdipMeasureString( nativeGraphics, string, length, font ? font->nativeFont : NULL, &rect, NULL, boundingBox, NULL, NULL )); } Status MeasureCharacterRanges( IN const WCHAR *string, IN INT length, IN const Font *font, IN const RectF &layoutRect, IN const StringFormat *stringFormat, IN INT regionCount, OUT Region *regions ) const { if (!regions || regionCount <= 0) { return InvalidParameter; } GpRegion **nativeRegions = new GpRegion* [regionCount]; if (!nativeRegions) { return OutOfMemory; } for (INT i = 0; i < regionCount; i++) { nativeRegions[i] = regions[i].nativeRegion; } Status status = SetStatus(DllExports::GdipMeasureCharacterRanges( nativeGraphics, string, length, font ? font->nativeFont : NULL, layoutRect, stringFormat ? stringFormat->nativeFormat : NULL, regionCount, nativeRegions )); delete [] nativeRegions; return status; } Status DrawDriverString( IN const UINT16 *text, IN INT length, IN const Font *font, IN const Brush *brush, IN const PointF *positions, IN INT flags, IN const Matrix *matrix ) { return SetStatus(DllExports::GdipDrawDriverString( nativeGraphics, text, length, font ? font->nativeFont : NULL, brush ? brush->nativeBrush : NULL, positions, flags, matrix ? matrix->nativeMatrix : NULL )); } Status MeasureDriverString( IN const UINT16 *text, IN INT length, IN const Font *font, IN const PointF *positions, IN INT flags, IN const Matrix *matrix, OUT RectF *boundingBox ) const { return SetStatus(DllExports::GdipMeasureDriverString( nativeGraphics, text, length, font ? font->nativeFont : NULL, positions, flags, matrix ? matrix->nativeMatrix : NULL, boundingBox )); } // Draw a cached bitmap on this graphics destination offset by // x, y. Note this will fail with WrongState if the CachedBitmap // native format differs from this Graphics. Status DrawCachedBitmap(IN CachedBitmap *cb, IN INT x, IN INT y) { return SetStatus(DllExports::GdipDrawCachedBitmap( nativeGraphics, cb->nativeCachedBitmap, x, y )); } Status DrawImage(IN Image* image, IN const PointF& point) { return DrawImage(image, point.X, point.Y); } Status DrawImage(IN Image* image, IN REAL x, IN REAL y) { return SetStatus(DllExports::GdipDrawImage(nativeGraphics, image ? image->nativeImage : NULL, x, y)); } Status DrawImage(IN Image* image, IN const RectF& rect) { return DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawImage(IN Image* image, IN REAL x, IN REAL y, IN REAL width, IN REAL height) { return SetStatus(DllExports::GdipDrawImageRect(nativeGraphics, image ? image->nativeImage : NULL, x, y, width, height)); } Status DrawImage(IN Image* image, IN const Point& point) { return DrawImage(image, point.X, point.Y); } Status DrawImage(IN Image* image, IN INT x, IN INT y) { return SetStatus(DllExports::GdipDrawImageI(nativeGraphics, image ? image->nativeImage : NULL, x, y)); } Status DrawImage(IN Image* image, IN const Rect& rect) { return DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height); } Status DrawImage(IN Image* image, IN INT x, IN INT y, IN INT width, IN INT height) { return SetStatus(DllExports::GdipDrawImageRectI(nativeGraphics, image ? image->nativeImage : NULL, x, y, width, height)); } Status DrawImage(IN Image* image, IN const PointF* destPoints, IN INT count) { if (count != 3 && count != 4) return SetStatus(InvalidParameter); return SetStatus(DllExports::GdipDrawImagePoints(nativeGraphics, image ? image->nativeImage : NULL, destPoints, count)); } Status DrawImage(IN Image* image, IN const Point* destPoints, IN INT count) { if (count != 3 && count != 4) return SetStatus(InvalidParameter); return SetStatus(DllExports::GdipDrawImagePointsI(nativeGraphics, image ? image->nativeImage : NULL, destPoints, count)); } Status DrawImage(IN Image* image, IN REAL x, IN REAL y, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit) { return SetStatus(DllExports::GdipDrawImagePointRect(nativeGraphics, image ? image->nativeImage : NULL, x, y, srcx, srcy, srcwidth, srcheight, srcUnit)); } Status DrawImage(IN Image* image, IN const RectF& destRect, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) { return SetStatus(DllExports::GdipDrawImageRectRect(nativeGraphics, image ? image->nativeImage : NULL, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcx, srcy, srcwidth, srcheight, srcUnit, imageAttributes ? imageAttributes->nativeImageAttr : NULL, callback, callbackData)); } Status DrawImage(IN Image* image, IN const PointF* destPoints, IN INT count, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) { return SetStatus(DllExports::GdipDrawImagePointsRect(nativeGraphics, image ? image->nativeImage : NULL, destPoints, count, srcx, srcy, srcwidth, srcheight, srcUnit, imageAttributes ? imageAttributes->nativeImageAttr : NULL, callback, callbackData)); } Status DrawImage(IN Image* image, IN INT x, IN INT y, IN INT srcx, IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit) { return SetStatus(DllExports::GdipDrawImagePointRectI(nativeGraphics, image ? image->nativeImage : NULL, x, y, srcx, srcy, srcwidth, srcheight, srcUnit)); } Status DrawImage(IN Image* image, IN const Rect& destRect, IN INT srcx, IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) { return SetStatus(DllExports::GdipDrawImageRectRectI(nativeGraphics, image ? image->nativeImage : NULL, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcx, srcy, srcwidth, srcheight, srcUnit, imageAttributes ? imageAttributes->nativeImageAttr : NULL, callback, callbackData)); } Status DrawImage(IN Image* image, IN const Point* destPoints, IN INT count, IN INT srcx, IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit, IN const ImageAttributes* imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID* callbackData = NULL) { return SetStatus(DllExports::GdipDrawImagePointsRectI(nativeGraphics, image ? image->nativeImage : NULL, destPoints, count, srcx, srcy, srcwidth, srcheight, srcUnit, imageAttributes ? imageAttributes->nativeImageAttr : NULL, callback, callbackData)); } #if (GDIPVER >= 0x0110) Status DrawImage( IN Image *image, IN const RectF &destRect, IN const RectF &sourceRect, IN Unit srcUnit, IN const ImageAttributes *imageAttributes = NULL ) { return SetStatus(DllExports::GdipDrawImageRectRect( nativeGraphics, image->nativeImage, destRect.X, destRect.Y, destRect.Width, destRect.Height, sourceRect.X, sourceRect.Y, sourceRect.Width, sourceRect.Height, srcUnit, imageAttributes ? imageAttributes->nativeImageAttr : NULL, NULL, NULL )); } Status DrawImage( IN Image *image, IN RectF *sourceRect, IN Matrix *xForm, IN Effect *effect, IN ImageAttributes *imageAttributes, IN Unit srcUnit ) { return SetStatus(DllExports::GdipDrawImageFX( nativeGraphics, image->nativeImage, sourceRect, xForm ? xForm->nativeMatrix : NULL, effect ? effect->nativeEffect : NULL, imageAttributes ? imageAttributes->nativeImageAttr : NULL, srcUnit )); } #endif //(GDIPVER >= 0x0110) // The following methods are for playing an EMF+ to a graphics // via the enumeration interface. Each record of the EMF+ is // sent to the callback (along with the callbackData). Then // the callback can invoke the Metafile::PlayRecord method // to play the particular record. Status EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestPoint( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoint, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestPointI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoint, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestRect( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destRect, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestRectI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destRect, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestPoints( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoints, count, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileDestPointsI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoints, count, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestPoint( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoint, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestPointI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoint, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestRect( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destRect, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestRectI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destRect, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN INT count, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestPoints( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoints, count, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) { return SetStatus(DllExports::GdipEnumerateMetafileSrcRectDestPointsI( nativeGraphics, (const GpMetafile *)(metafile ? metafile->nativeImage:NULL), destPoints, count, srcRect, srcUnit, callback, callbackData, imageAttributes ? imageAttributes->nativeImageAttr : NULL)); } Status SetClip(IN const Graphics* g, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipGraphics(nativeGraphics, g->nativeGraphics, combineMode)); } Status SetClip(IN const RectF& rect, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipRect(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, combineMode)); } Status SetClip(IN const Rect& rect, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipRectI(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, combineMode)); } Status SetClip(IN const GraphicsPath* path, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipPath(nativeGraphics, path->nativePath, combineMode)); } Status SetClip(IN const Region* region, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipRegion(nativeGraphics, region->nativeRegion, combineMode)); } // This is different than the other SetClip methods because it assumes // that the HRGN is already in device units, so it doesn't transform // the coordinates in the HRGN. Status SetClip(IN HRGN hRgn, IN CombineMode combineMode = CombineModeReplace) { return SetStatus(DllExports::GdipSetClipHrgn(nativeGraphics, hRgn, combineMode)); } Status IntersectClip(IN const RectF& rect) { return SetStatus(DllExports::GdipSetClipRect(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, CombineModeIntersect)); } Status IntersectClip(IN const Rect& rect) { return SetStatus(DllExports::GdipSetClipRectI(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, CombineModeIntersect)); } Status IntersectClip(IN const Region* region) { return SetStatus(DllExports::GdipSetClipRegion(nativeGraphics, region->nativeRegion, CombineModeIntersect)); } Status ExcludeClip(IN const RectF& rect) { return SetStatus(DllExports::GdipSetClipRect(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, CombineModeExclude)); } Status ExcludeClip(IN const Rect& rect) { return SetStatus(DllExports::GdipSetClipRectI(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, CombineModeExclude)); } Status ExcludeClip(IN const Region* region) { return SetStatus(DllExports::GdipSetClipRegion(nativeGraphics, region->nativeRegion, CombineModeExclude)); } Status ResetClip() { return SetStatus(DllExports::GdipResetClip(nativeGraphics)); } Status TranslateClip(IN REAL dx, IN REAL dy) { return SetStatus(DllExports::GdipTranslateClip(nativeGraphics, dx, dy)); } Status TranslateClip(IN INT dx, IN INT dy) { return SetStatus(DllExports::GdipTranslateClipI(nativeGraphics, dx, dy)); } Status GetClip(OUT Region* region) const { return SetStatus(DllExports::GdipGetClip(nativeGraphics, region->nativeRegion)); } Status GetClipBounds(OUT RectF* rect) const { return SetStatus(DllExports::GdipGetClipBounds(nativeGraphics, rect)); } Status GetClipBounds(OUT Rect* rect) const { return SetStatus(DllExports::GdipGetClipBoundsI(nativeGraphics, rect)); } BOOL IsClipEmpty() const { BOOL booln = FALSE; SetStatus(DllExports::GdipIsClipEmpty(nativeGraphics, &booln)); return booln; } Status GetVisibleClipBounds(OUT RectF *rect) const { return SetStatus(DllExports::GdipGetVisibleClipBounds(nativeGraphics, rect)); } Status GetVisibleClipBounds(OUT Rect *rect) const { return SetStatus(DllExports::GdipGetVisibleClipBoundsI(nativeGraphics, rect)); } BOOL IsVisibleClipEmpty() const { BOOL booln = FALSE; SetStatus(DllExports::GdipIsVisibleClipEmpty(nativeGraphics, &booln)); return booln; } BOOL IsVisible(IN INT x, IN INT y) const { return IsVisible(Point(x,y)); } BOOL IsVisible(IN const Point& point) const { BOOL booln = FALSE; SetStatus(DllExports::GdipIsVisiblePointI(nativeGraphics, point.X, point.Y, &booln)); return booln; } BOOL IsVisible(IN INT x, IN INT y, IN INT width, IN INT height) const { return IsVisible(Rect(x, y, width, height)); } BOOL IsVisible(IN const Rect& rect) const { BOOL booln = TRUE; SetStatus(DllExports::GdipIsVisibleRectI(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, &booln)); return booln; } BOOL IsVisible(IN REAL x, IN REAL y) const { return IsVisible(PointF(x, y)); } BOOL IsVisible(IN const PointF& point) const { BOOL booln = FALSE; SetStatus(DllExports::GdipIsVisiblePoint(nativeGraphics, point.X, point.Y, &booln)); return booln; } BOOL IsVisible(IN REAL x, IN REAL y, IN REAL width, IN REAL height) const { return IsVisible(RectF(x, y, width, height)); } BOOL IsVisible(IN const RectF& rect) const { BOOL booln = TRUE; SetStatus(DllExports::GdipIsVisibleRect(nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, &booln)); return booln; } GraphicsState Save() const { GraphicsState gstate; SetStatus(DllExports::GdipSaveGraphics(nativeGraphics, &gstate)); return gstate; } Status Restore(IN GraphicsState gstate) { return SetStatus(DllExports::GdipRestoreGraphics(nativeGraphics, gstate)); } GraphicsContainer BeginContainer(IN const RectF &dstrect, IN const RectF &srcrect, IN Unit unit) { GraphicsContainer state; SetStatus(DllExports::GdipBeginContainer(nativeGraphics, &dstrect, &srcrect, unit, &state)); return state; } GraphicsContainer BeginContainer(IN const Rect &dstrect, IN const Rect &srcrect, IN Unit unit) { GraphicsContainer state; SetStatus(DllExports::GdipBeginContainerI(nativeGraphics, &dstrect, &srcrect, unit, &state)); return state; } GraphicsContainer BeginContainer() { GraphicsContainer state; SetStatus(DllExports::GdipBeginContainer2(nativeGraphics, &state)); return state; } Status EndContainer(IN GraphicsContainer state) { return SetStatus(DllExports::GdipEndContainer(nativeGraphics, state)); } // Only valid when recording metafiles. Status AddMetafileComment(IN const BYTE * data, IN UINT sizeData) { return SetStatus(DllExports::GdipComment(nativeGraphics, sizeData, data)); } static HPALETTE GetHalftonePalette() { return DllExports::GdipCreateHalftonePalette(); } Status GetLastStatus() const { Status lastStatus = lastResult; lastResult = Ok; return lastStatus; } private: Graphics(const Graphics &); Graphics& operator=(const Graphics &); protected: Graphics(GpGraphics* graphics) { lastResult = Ok; SetNativeGraphics(graphics); } VOID SetNativeGraphics(GpGraphics *graphics) { this->nativeGraphics = graphics; } Status SetStatus(Status status) const { if (status != Ok) return (lastResult = status); else return status; } GpGraphics* GetNativeGraphics() const { return this->nativeGraphics; } GpPen* GetNativePen(const Pen* pen) { return pen->nativePen; } protected: GpGraphics* nativeGraphics; mutable Status lastResult; }; //---------------------------------------------------------------------------- // Implementation of GraphicsPath methods that use Graphics //---------------------------------------------------------------------------- // The GetBounds rectangle may not be the tightest bounds. inline Status GraphicsPath::GetBounds( OUT RectF* bounds, IN const Matrix* matrix, IN const Pen* pen) const { GpMatrix* nativeMatrix = NULL; GpPen* nativePen = NULL; if (matrix) nativeMatrix = matrix->nativeMatrix; if (pen) nativePen = pen->nativePen; return SetStatus(DllExports::GdipGetPathWorldBounds(nativePath, bounds, nativeMatrix, nativePen)); } inline Status GraphicsPath::GetBounds( OUT Rect* bounds, IN const Matrix* matrix, IN const Pen* pen ) const { GpMatrix* nativeMatrix = NULL; GpPen* nativePen = NULL; if (matrix) nativeMatrix = matrix->nativeMatrix; if (pen) nativePen = pen->nativePen; return SetStatus(DllExports::GdipGetPathWorldBoundsI(nativePath, bounds, nativeMatrix, nativePen)); } inline BOOL GraphicsPath::IsVisible( IN REAL x, IN REAL y, IN const Graphics* g) const { BOOL booln = FALSE; GpGraphics* nativeGraphics = NULL; if (g) nativeGraphics = g->nativeGraphics; SetStatus(DllExports::GdipIsVisiblePathPoint(nativePath, x, y, nativeGraphics, &booln)); return booln; } inline BOOL GraphicsPath::IsVisible( IN INT x, IN INT y, IN const Graphics* g) const { BOOL booln = FALSE; GpGraphics* nativeGraphics = NULL; if (g) nativeGraphics = g->nativeGraphics; SetStatus(DllExports::GdipIsVisiblePathPointI(nativePath, x, y, nativeGraphics, &booln)); return booln; } inline BOOL GraphicsPath::IsOutlineVisible( IN REAL x, IN REAL y, IN const Pen* pen, IN const Graphics* g) const { BOOL booln = FALSE; GpGraphics* nativeGraphics = NULL; GpPen* nativePen = NULL; if(g) nativeGraphics = g->nativeGraphics; if(pen) nativePen = pen->nativePen; SetStatus(DllExports::GdipIsOutlineVisiblePathPoint(nativePath, x, y, nativePen, nativeGraphics, &booln)); return booln; } inline BOOL GraphicsPath::IsOutlineVisible( IN INT x, IN INT y, IN const Pen* pen, IN const Graphics* g) const { BOOL booln = FALSE; GpGraphics* nativeGraphics = NULL; GpPen* nativePen = NULL; if(g) nativeGraphics = g->nativeGraphics; if(pen) nativePen = pen->nativePen; SetStatus(DllExports::GdipIsOutlineVisiblePathPointI(nativePath, x, y, nativePen, nativeGraphics, &booln)); return booln; } #if _MSC_VER >= 1200 #pragma warning(pop) #endif #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ #pragma endregion #endif
[ "noreply@github.com" ]
noreply@github.com
8853d145579c32e097bf6523438c3e52e1f052ea
39963008d220f9ac5d7fd9e03c844dba536ba15e
/CP Competition/codeforces_div2/seg.cpp
5c508f6acc02a5d8127a96aa9bd61ed69b2ce894
[]
no_license
nimishkapoor/cp_concept
b153891497493294039a44e86174264fed8daa9e
f081147fc3350bfbf4a360c6cc32391afed7eccc
refs/heads/master
2020-05-30T16:11:44.899169
2020-01-24T03:18:20
2020-01-24T03:18:20
189,840,389
3
0
null
null
null
null
UTF-8
C++
false
false
127
cpp
#include<bits/stdc++.h> using namespace std; int main() { int n,count=0; cin>>n; cout<<((n/2)+1)*(n/2)<<endl; return 0; }
[ "nmshkpr@gmail.com" ]
nmshkpr@gmail.com
11d610d64435bdda5f177a2ba63e58be473f9184
6d3b312a1629e62a5769ccc3caacaca7043a5ceb
/3dc/VertexBuffer.cpp
02535f9ff33e7dd79168ccbfb506ff6fe892f0a6
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
Melanikus/AvP
f8c8d0bd70dc3efd962b0bcf1e08fa250dfef98f
334417e8b67f302ce6f7fcfa7dfa5b5f5ff271f7
refs/heads/main
2023-07-07T02:27:07.029050
2021-03-13T05:41:26
2021-03-13T05:41:26
338,442,307
0
0
null
null
null
null
UTF-8
C++
false
false
2,135
cpp
// Copyright (C) 2010 Barry Duncan. All Rights Reserved. // The original author of this code can be contacted at: bduncan22@hotmail.com // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // 2. Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE // DEVELOPERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "VertexBuffer.h" #include "console.h" enum VertexPrimitive { VertexPrimitive_List, VertexPrimitive_Strip }; bool VertexBuffer::Set() { return R_SetVertexBuffer(*this); } bool VertexBuffer::Lock(void **data) { return R_LockVertexBuffer(*this, 0, 0, data, _usage); } bool VertexBuffer::Unlock() { return R_UnlockVertexBuffer(*this); } bool VertexBuffer::Release() { return R_ReleaseVertexBuffer(*this); } bool VertexBuffer::Create(uint32_t capacity, uint32_t stride, enum R_USAGE usage) { // store values for later use _capacity = capacity; _usage = usage; _stride = stride; _sizeInBytes = _capacity * _stride; return R_CreateVertexBuffer(*this); } void VertexBuffer::SetSize(uint32_t size) { _nVerts = size; }
[ "themelanikus@outlook.com" ]
themelanikus@outlook.com
1dd30869d96ffc818a3187967c944d6cf650607d
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s02/CWE23_Relative_Path_Traversal__char_environment_ofstream_83a.cpp
60d07d01c743549603fcdbd5fbab55574b964045
[]
no_license
junxzm1990/ASAN--
0056a341b8537142e10373c8417f27d7825ad89b
ca96e46422407a55bed4aa551a6ad28ec1eeef4e
refs/heads/master
2022-08-02T15:38:56.286555
2022-06-16T22:19:54
2022-06-16T22:19:54
408,238,453
74
13
null
2022-06-16T22:19:55
2021-09-19T21:14:59
null
UTF-8
C++
false
false
2,219
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_environment_ofstream_83a.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-83a.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: environment Read input from an environment variable * GoodSource: Use a fixed file name * Sinks: ofstream * BadSink : Open the file named in data using ofstream::open() * Flow Variant: 83 Data flow: data passed to class constructor and destructor by declaring the class object on the stack * * */ #include "std_testcase.h" #include "CWE23_Relative_Path_Traversal__char_environment_ofstream_83.h" namespace CWE23_Relative_Path_Traversal__char_environment_ofstream_83 { #ifndef OMITBAD void bad() { char * data; char dataBuffer[FILENAME_MAX] = BASEPATH; data = dataBuffer; CWE23_Relative_Path_Traversal__char_environment_ofstream_83_bad badObject(data); } #endif /* OMITBAD */ #ifndef OMITGOOD /* goodG2B uses the GoodSource with the BadSink */ static void goodG2B() { char * data; char dataBuffer[FILENAME_MAX] = BASEPATH; data = dataBuffer; CWE23_Relative_Path_Traversal__char_environment_ofstream_83_goodG2B goodG2BObject(data); } void good() { goodG2B(); } #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 CWE23_Relative_Path_Traversal__char_environment_ofstream_83; /* 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
[ "yzhang0701@gmail.com" ]
yzhang0701@gmail.com
05e64d31735fbc1ab66165115226b69b50e0a761
449bf64b9a718468ec73f4a2d986f443ee7ebc36
/txtData.cpp
4d791d64fdd71d87bfd38a3c55d61d08d86eedb9
[]
no_license
sd2017/TeamProject_LostVikings
e6aa445814b3a71c7c5c4a12e3b7aa507aaccde4
7a1e8a3df82587e5f07a8de8f56a9519701431da
refs/heads/master
2022-04-01T23:15:14.219455
2020-01-05T03:19:01
2020-01-05T03:19:01
null
0
0
null
null
null
null
UHC
C++
false
false
1,741
cpp
#include "stdafx.h" #include "txtData.h" txtData::txtData() { _text = new char; } txtData::~txtData() { } HRESULT txtData::init() { return S_OK; } void txtData::release() { } void txtData::txtSave(const char * saveFileName, vector<string> vStr) { HANDLE file; DWORD write; char str[128]; strncpy_s(str, 128, vectorArrayCombine(vStr), 126); file = CreateFile(saveFileName, GENERIC_WRITE, NULL, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); WriteFile(file, str, 128, &write, NULL); CloseHandle(file); } //문자열을 조합하기 위한 함수 char* txtData::vectorArrayCombine(vector<string> vArray) { char str[128]; ZeroMemory(str, sizeof(str)); for (int i = 0; i < vArray.size(); ++i) { strncat_s(str, 128, vArray[i].c_str(), 126); //만약에 배열사이즈보다 작을때까지 문자를 더해라(?) if (i + 1 < vArray.size()) strcat_s(str, ","); } return str; } vector<string> txtData::txtLoad(const char* loadFileName) { HANDLE file; DWORD read; file = CreateFile(loadFileName, GENERIC_READ, NULL, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); ReadFile(file, _text, GetFileSize(loadFileName), &read, NULL); CloseHandle(file); return charArraySeparation(_text); } vector<string> txtData::charArraySeparation(char charArray[]) { vector<string> vArray; char* temp; const char* separator = "\n"; //구분자 char* token; token = strtok_s(charArray, separator, &temp); vArray.push_back(token); while (NULL != (token = strtok_s(NULL, separator, &temp))) { vArray.push_back(token); } return vArray; } long txtData::GetFileSize(std::string filename) { struct stat stat_buf; int rc = stat(filename.c_str(), &stat_buf); return rc == 0 ? stat_buf.st_size : -1; }
[ "42164539+tpgns139@users.noreply.github.com" ]
42164539+tpgns139@users.noreply.github.com
6d1039fcfeecaddbee76c51ec7e06dd1dc1ccb6f
6035029a5e8fa0653fa7d0dd8bd09b6b3c6eee41
/new/SourceReaderLib/AsfReader.h
161b9ea4d181f28b0a96c2fd7603bde886b2f304
[]
no_license
symanli/just-p2p-live-p2pcommon2
55b9a74622758cf85d2f046a38263db05c298f15
c546a704460c573be241b10be5916e798f42a370
refs/heads/master
2022-11-18T04:02:23.338671
2016-01-11T02:22:39
2016-01-11T02:22:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,284
h
#ifndef _LIVE_P2PCOMMON2_NEW_SOURCEREADERLIB_ASFREADER_H_ #define _LIVE_P2PCOMMON2_NEW_SOURCEREADERLIB_ASFHEADER_H_ #include "Reader.h" #include "HeaderChunk.h" #include "PacketChunk.h" #include "IndexChunk.h" #include "Source.h" using namespace Synacast::StreamSource; namespace Synacast { namespace SourceReader { class SOURCEREADERLIB_API AsfReader : public Reader, private noncopyable { public: AsfReader( Source & source ); virtual ~AsfReader(void); private: Source & m_AsfSource; UINT32 m_MaxPacketSize; UINT32 m_MinPacketSize; UINT64 m_PacketCount; UINT64 m_PacketRead; public: /************************************************************************/ /* Exceptions: SourceException */ /************************************************************************/ virtual HeaderChunk * ReadHeader(); /************************************************************************/ /* Exceptions: SourceException */ /************************************************************************/ virtual PacketChunk * ReadDataPacket(); virtual IndexChunk * ReadIndex(); virtual void Close(); private: void Reset(); }; } } #endif
[ "isxxguo@pptv.com" ]
isxxguo@pptv.com
ecccd85e113e66b640ef264924006bbe9682539f
002902560639e77c5c9606af0fad90ff2334db1e
/61D.cpp
183f4fc372471066ce5a1cbc5000bfcfdb5dd52c
[]
no_license
Hasanzakaria/CODEFORCES
8662b464133d6058b74ea6bbbe0c6fd78366df9d
da08f70a3eae047e2da610b8a7aa3cc704b10202
refs/heads/master
2022-11-08T16:59:31.128716
2020-06-26T14:18:15
2020-06-26T14:18:15
275,172,665
0
0
null
null
null
null
UTF-8
C++
false
false
1,475
cpp
#include<bits/stdc++.h> using namespace std; vector<long long int>v[100001]; vector<long long int>::iterator t; map<long long int,long long int>mp[100001],cp[100001]; bool vis[100001]; long long int dis[100001],parent[100001]; void bfs(long long int r) { long long int p,f; queue<long long int>q; vis[r]=1; q.push(r); while(!q.empty()) { p=q.front(); q.pop(); for(t=v[p].begin();t!=v[p].end();t++) { f=*t; if(vis[f]==0) { dis[f]=dis[p]+mp[p][f]; vis[f]=1; q.push(f); parent[f]=p; } } } } int main () { ios_base::sync_with_stdio(0); long long int n,i,a,b,c,ans=-1,l,r,lit=0; cin>>n; for(i=1;i<n;i++) { cin>>a>>b>>c; v[a].push_back(b); v[b].push_back(a); mp[a][b]=c; mp[b][a]=c; } memset(parent,-1,sizeof(parent)); bfs(1); for(i=1;i<=n;i++) { ans=max(ans,dis[i]); if(ans==dis[i]) { l=i; } } while(parent[l]!=-1) { r=parent[l]; cp[l][r]=1; cp[r][l]=1; lit+=mp[l][r]; l=parent[l]; } for(i=1;i<=n;i++) { for(t=v[i].begin();t!=v[i].end();t++) { r=*t; if(cp[i][r]==0) { cp[i][r]=1; cp[r][i]=1; lit+=(mp[i][r]*2); } } } cout<<lit<<endl; }
[ "hasanxack@gmail.com" ]
hasanxack@gmail.com
1fd6881e75909d35c0e66f2301f57dd1c7fdf15e
49ebb9150a9445494d15a2dba8c7eb2ed4f8abba
/Server/DataServer/src/PlayerTaxas.cpp
e55eb8a1ceddd5122c81a6bb9cd0426efa949805
[]
no_license
BillXu/MJGame
96de46b290fb3ad88b51e6dc6ddb5ada81d12c0b
1781753959f7e2f787a275fd171ba7009d00b469
refs/heads/master
2021-01-16T23:49:33.932252
2017-03-06T11:29:44
2017-03-06T11:29:44
56,949,644
3
3
null
null
null
null
UTF-8
C++
false
false
15,271
cpp
#include "PlayerTaxas.h" #include "Player.h" #include "LogManager.h" #include "GameServerApp.h" #include "PlayerBaseData.h" #include <json/json.h> #include "AutoBuffer.h" #include "TaxasPokerPeerCard.h" #include "RoomConfig.h" void CPlayerTaxas::Reset() { IPlayerComponent::Reset(); m_nCurTaxasRoomID = 0 ; m_bDirty = false ; memset(&m_tData,0,sizeof(m_tData)); m_vMyOwnRooms.clear(); m_vFollowedRooms.clear(); stMsgReadPlayerTaxasData msg ; msg.nUserUID = GetPlayer()->GetUserUID() ; SendMsg(&msg,sizeof(msg)) ; stMsgReadMyOwnTaxasRooms msgReq ; msgReq.nUserUID = GetPlayer()->GetUserUID(); SendMsg(&msgReq,sizeof(msgReq)) ; } void CPlayerTaxas::Init() { IPlayerComponent::Init(); m_eType = ePlayerComponent_PlayerTaxas ; m_nCurTaxasRoomID = 0 ; m_bDirty = false ; memset(&m_tData,0,sizeof(m_tData)); m_vMyOwnRooms.clear(); m_vFollowedRooms.clear(); stMsgReadPlayerTaxasData msg ; msg.nUserUID = GetPlayer()->GetUserUID() ; SendMsg(&msg,sizeof(msg)) ; CLogMgr::SharedLogMgr()->PrintLog("requesting player taxas data for uid = %d",msg.nUserUID); stMsgReadMyOwnTaxasRooms msgReq ; msgReq.nUserUID = GetPlayer()->GetUserUID(); SendMsg(&msgReq,sizeof(msgReq)) ; } bool CPlayerTaxas::OnMessage( stMsg* pMessage , eMsgPort eSenderPort) { if ( IPlayerComponent::OnMessage(pMessage,eSenderPort) ) { return true ; } switch (pMessage->usMsgType) { case MSG_READ_PLAYER_TAXAS_DATA: { stMsgReadPlayerTaxasDataRet* pRet = (stMsgReadPlayerTaxasDataRet*)pMessage ; if ( pRet->nRet ) { CLogMgr::SharedLogMgr()->ErrorLog("uid = %d read taxas data error",pRet->nUserUID); return true ; } memcpy(&m_tData,&pRet->tData,sizeof(m_tData)); char* pBuffer = (char*)pRet ; pBuffer += sizeof(stMsgReadPlayerTaxasDataRet); if ( pRet->nFollowedRoomsStrLen > 0 ) { Json::Reader reader ; Json::Value arrayValue ; reader.parse(pBuffer,pBuffer + pRet->nFollowedRoomsStrLen,arrayValue,false); for ( uint16_t nIdx = 0 ; nIdx < arrayValue.size(); ++nIdx ) { m_vFollowedRooms.insert(arrayValue[nIdx].asUInt()); } } CLogMgr::SharedLogMgr()->PrintLog("uid taxas data followed rooms = %d , owner rooms = %d",m_vFollowedRooms.size(),m_vMyOwnRooms.size()); sendTaxaDataToClient(); } break; case MSG_TP_REQUEST_PLAYER_DATA: { stMsgRequestTaxasPlayerData* pData = (stMsgRequestTaxasPlayerData*)pMessage; stMsgRequestTaxasPlayerDataRet msgBack ; msgBack.nRet = 0 ; msgBack.tData.nSessionID = GetPlayer()->GetSessionID() ; if ( GetPlayer()->isNotInAnyRoom() == false ) { msgBack.nRet = 2 ; CGameServerApp::SharedGameServerApp()->sendMsg(pData->nRoomID,(char*)&msgBack,sizeof(msgBack)) ; CLogMgr::SharedLogMgr()->ErrorLog("can not enter room already in other room id = %d session id = %d",m_nCurTaxasRoomID,GetPlayer()->GetSessionID() ) ; // may have error order leave stMsgOrderTaxasPlayerLeave msg ; msg.nRoomID = m_nCurTaxasRoomID ; msg.nSessionID = GetPlayer()->GetSessionID(); msg.nUserUID = GetPlayer()->GetUserUID(); CGameServerApp::SharedGameServerApp()->sendMsg(m_nCurTaxasRoomID,(char*)&msg,sizeof(msg)) ; return true ; } m_nCurTaxasRoomID = pData->nRoomID ; CPlayer* pPlayer = GetPlayer(); msgBack.tData.nPhotoID = pPlayer->GetBaseData()->GetPhotoID(); memset(msgBack.tData.cName,0,sizeof(msgBack.tData.cName) ); //sprintf_s(msgBack.tData.cName,sizeof(msgBack.tData.cName),"%s",pPlayer->GetBaseData()->GetPlayerName()) ; memcpy(msgBack.tData.cName,pPlayer->GetBaseData()->GetPlayerName(),sizeof(msgBack.tData.cName)); msgBack.tData.nSex = pPlayer->GetBaseData()->GetSex(); msgBack.tData.nUserUID = pPlayer->GetUserUID(); msgBack.tData.nVipLevel = pPlayer->GetBaseData()->GetVipLevel() ; CGameServerApp::SharedGameServerApp()->sendMsg(m_nCurTaxasRoomID,(char*)&msgBack,sizeof(msgBack)) ; } break; case MSG_TP_SYNC_PLAYER_DATA: { stMsgSyncTaxasPlayerData* pRet = (stMsgSyncTaxasPlayerData*)pMessage ; m_tData.nPlayTimes += pRet->nPlayTimes ; m_tData.nSingleWinMost = m_tData.nSingleWinMost > pRet->nSingleWinMost ? m_tData.nSingleWinMost : pRet->nSingleWinMost; m_tData.nWinTimes += pRet->nWinTimes ; if ( pRet->vBestCard[0] ) { CTaxasPokerPeerCard vBest , vNewBest; for ( uint8_t nIdx = 0 ; nIdx < MAX_TAXAS_HOLD_CARD ; ++nIdx ) { vNewBest.AddCardByCompsiteNum(pRet->vBestCard[nIdx]) ; if ( m_tData.vMaxCards[nIdx] ) vBest.AddCardByCompsiteNum(m_tData.vMaxCards[nIdx]) ; } if ( m_tData.vMaxCards[0] == 0 || vNewBest.PK(&vBest) == 1 ) { vNewBest.GetCardType(); vNewBest.GetFinalCard(m_tData.vMaxCards); } } CLogMgr::SharedLogMgr()->PrintLog("be told uid = %d sys player data ",GetPlayer()->GetUserUID()); m_bDirty = true ; } break; case MSG_TP_ORDER_LEAVE: { stMsgOrderTaxasPlayerLeaveRet* pRet = (stMsgOrderTaxasPlayerLeaveRet*)pMessage ; // if success , we will recived inform leave , if failed just recieved this msg if ( pRet->nRet ) { CLogMgr::SharedLogMgr()->ErrorLog("order leave failed uid = %d",GetPlayer()->GetUserUID()); } } break; case MSG_TP_INFORM_LEAVE: { m_nCurTaxasRoomID = 0 ; CLogMgr::SharedLogMgr()->PrintLog("be told uid = %d leave taxas room ",GetPlayer()->GetUserUID()); stMsgTaxasRoomLeave msgRet ; msgRet.nUserUID = GetPlayer()->GetUserUID() ; SendMsg(&msgRet,sizeof(msgRet)) ; } break; case MSG_TP_CREATE_ROOM: { stMsgCreateTaxasRoomRet msgBack ; msgBack.nFinalCoin = GetPlayer()->GetBaseData()->GetAllCoin() ; stMsgCreateTaxasRoom* pRet = (stMsgCreateTaxasRoom*)pMessage ; CRoomConfigMgr* pConfigMgr = (CRoomConfigMgr*)CGameServerApp::SharedGameServerApp()->GetConfigMgr()->GetConfig(CConfigManager::eConfig_Room); stTaxasRoomConfig* pRoomConfig = (stTaxasRoomConfig*)pConfigMgr->GetConfigByConfigID(pRet->nConfigID) ; if ( pRoomConfig == nullptr ) { msgBack.nRet = 1 ; msgBack.nRoomID = 0 ; SendMsg(&msgBack,sizeof(msgBack)) ; return true ; } // check if create room count reach limit ; if ( isCreateRoomCntReachLimit() ) { msgBack.nRet = 5 ; msgBack.nRoomID = 0 ; SendMsg(&msgBack,sizeof(msgBack)) ; return true ; } // check coin weather engough if ( GetPlayer()->GetBaseData()->GetAllCoin() < pRoomConfig->nRentFeePerDay * pRet->nDays ) { msgBack.nRet = 4 ; msgBack.nRoomID = 0 ; SendMsg(&msgBack,sizeof(msgBack)) ; return true ; } GetPlayer()->GetBaseData()->decressMoney( pRoomConfig->nRentFeePerDay * pRet->nDays ); //if ( pRoomConfig == nullptr ) //{ // msgBack.nRet = 1 ; // msgBack.nRoomID = 0 ; // SendMsg(&msgBack,sizeof(msgBack),nSessionID) ; // return true ; //} //else //{ // stMsgPlayerRequestCoin msgReqMoney ; // msgReqMoney.bIsDiamond = false ; // msgReqMoney.nAtLeast = 0 ; // msgReqMoney.nWantMoney = pRoomConfig->nCreateFee ; // msgReqMoney.nSessionID = nSessionID ; // msgReqMoney.nReqType = eReqMoney_CreateRoom; // msgReqMoney.nUserUID = 1 ; // msgReqMoney.nBackArg[0] = nSessionID ; // msgReqMoney.nBackArg[1] = pRet->nConfigID ; // SendMsg(&msgReqMoney,sizeof(msgReqMoney),nSessionID) ; //} stMsgCrossServerRequest msgReq ; msgReq.cSysIdentifer = ID_MSG_PORT_TAXAS ; msgReq.nReqOrigID = GetPlayer()->GetUserUID() ; msgReq.nRequestSubType = eCrossSvrReqSub_Default; msgReq.nRequestType = eCrossSvrReq_CreateTaxasRoom ; msgReq.nTargetID = 0 ; msgReq.vArg[0] = pRet->nConfigID ; msgReq.vArg[1] = pRet->nDays ; Json::Value vArg ; vArg["roonName"] = pRet->vRoomName; CON_REQ_MSG_JSON(msgReq,vArg,autoBuf) ; CGameServerApp::SharedGameServerApp()->sendMsg(msgReq.nReqOrigID,autoBuf.getBufferPtr(),autoBuf.getContentSize()) ; } break; case MSG_REQUEST_MY_FOLLOW_ROOMS: { stMsgRequestMyFollowRoomsRet msgRet ; msgRet.nCnt = m_vFollowedRooms.size() ; if ( msgRet.nCnt == 0 ) { SendMsg(&msgRet,sizeof(msgRet)) ; return true ; } CAutoBuffer autoBuffer(sizeof(msgRet) + sizeof(uint32_t)* msgRet.nCnt); autoBuffer.addContent((char*)&msgRet,sizeof(msgRet)) ; SET_ROOM_ID::iterator iter = m_vFollowedRooms.begin() ; for ( ; iter != m_vFollowedRooms.end() ; ++iter ) { uint32_t n = *iter ; autoBuffer.addContent((char*)&n,sizeof(uint32_t)); } SendMsg((stMsg*)autoBuffer.getBufferPtr(),autoBuffer.getContentSize()) ; } break; case MSG_REQUEST_MY_OWN_ROOMS: { stMsgRequestMyOwnRooms* pRet = (stMsgRequestMyOwnRooms*)pMessage ; if ( pRet->nRoomType != eRoom_TexasPoker ) { return false ; } stMsgRequestMyOwnRoomsRet msgRet ; msgRet.nRoomType = pRet->nRoomType ; msgRet.nCnt = m_vMyOwnRooms.size() ; if ( msgRet.nCnt == 0 ) { SendMsg(&msgRet,sizeof(msgRet)) ; return true ; } CAutoBuffer autoBuffer(sizeof(msgRet) + sizeof(uint32_t)* msgRet.nCnt); autoBuffer.addContent((char*)&msgRet,sizeof(msgRet)) ; MAP_ID_MYROOW::iterator iter = m_vMyOwnRooms.begin() ; for ( ; iter != m_vMyOwnRooms.end() ; ++iter ) { uint32_t n = iter->first ; autoBuffer.addContent((char*)&n,sizeof(uint32_t)); } SendMsg((stMsg*)autoBuffer.getBufferPtr(),autoBuffer.getContentSize()) ; } break; case MSG_TP_READ_MY_OWN_ROOMS: { stMsgReadMyOwnTaxasRoomsRet* pRet = (stMsgReadMyOwnTaxasRoomsRet*)pMessage ; if ( pRet->nRoomType != eRoom_TexasPoker ) { return false; } stMyOwnRoom* pRoomPtr = (stMyOwnRoom*)((char*)pMessage + sizeof(stMsgReadMyOwnTaxasRoomsRet)); while ( pRet->nCnt-- ) { m_vMyOwnRooms.insert(MAP_ID_MYROOW::value_type(pRoomPtr->nRoomID,*pRoomPtr)); ++pRoomPtr ; } CLogMgr::SharedLogMgr()->PrintLog("uid = %d ,read own creator room" , GetPlayer()->GetUserUID() ) ; } break; default: return false; } return true ; } bool CPlayerTaxas::onCrossServerRequest(stMsgCrossServerRequest* pRequest , eMsgPort eSenderPort,Json::Value* vJsValue ) { if ( IPlayerComponent::onCrossServerRequest(pRequest,eSenderPort,vJsValue) ) { return true ; } return false ; } bool CPlayerTaxas::onCrossServerRequestRet(stMsgCrossServerRequestRet* pResult,Json::Value* vJsValue ) { if ( IPlayerComponent::onCrossServerRequestRet(pResult,vJsValue) ) { return true ; } if ( eCrossSvrReq_CreateTaxasRoom == pResult->nRequestType ) { stMsgCreateTaxasRoomRet msgBack ; msgBack.nRet = pResult->nRet ; msgBack.nRoomID = pResult->vArg[1]; if ( pResult->nRet == 0 ) { addOwnRoom(msgBack.nRoomID,pResult->vArg[0]) ; CLogMgr::SharedLogMgr()->PrintLog("uid = %d , create room id = %d , config id = %d", GetPlayer()->GetUserUID(),msgBack.nRoomID,pResult->vArg[0]) ; } else { CLogMgr::SharedLogMgr()->PrintLog("create failed give back coin uid = %d",GetPlayer()->GetUserUID()); CRoomConfigMgr* pConfigMgr = (CRoomConfigMgr*)CGameServerApp::SharedGameServerApp()->GetConfigMgr()->GetConfig(CConfigManager::eConfig_Room); stTaxasRoomConfig* pRoomConfig = (stTaxasRoomConfig*)pConfigMgr->GetConfigByConfigID(pResult->vArg[0]) ; if ( pRoomConfig == nullptr ) { CLogMgr::SharedLogMgr()->ErrorLog("fuck arument error must fix now , room config id , can not find") ; return true ; } GetPlayer()->GetBaseData()->AddMoney(pRoomConfig->nRentFeePerDay * pResult->vArg[2]); } msgBack.nFinalCoin = GetPlayer()->GetBaseData()->GetAllCoin() ; SendMsg(&msgBack,sizeof(msgBack)) ; return true ; } return false ; } void CPlayerTaxas::OnPlayerDisconnect() { IPlayerComponent::OnPlayerDisconnect(); //if ( m_nCurTaxasRoomID != 0 ) // order to leave //{ // stMsgOrderTaxasPlayerLeave msgLeave ; // msgLeave.nRoomID = m_nCurTaxasRoomID ; // msgLeave.nSessionID = GetPlayer()->GetSessionID(); // msgLeave.nUserUID = GetPlayer()->GetUserUID(); // CGameServerApp::SharedGameServerApp()->sendMsg(m_nCurTaxasRoomID,(char*)&msgLeave,sizeof(msgLeave) ) ; // m_nCurTaxasRoomID = 0 ; //} TimerSave(); } void CPlayerTaxas::OnOtherWillLogined() { IPlayerComponent::OnOtherWillLogined(); //if ( m_nCurTaxasRoomID != 0 ) // order to leave //{ // stMsgOrderTaxasPlayerLeave msgLeave ; // msgLeave.nRoomID = m_nCurTaxasRoomID ; // msgLeave.nSessionID = GetPlayer()->GetSessionID(); // msgLeave.nUserUID = GetPlayer()->GetUserUID(); // CGameServerApp::SharedGameServerApp()->sendMsg(m_nCurTaxasRoomID,(char*)&msgLeave,sizeof(msgLeave) ) ; // m_nCurTaxasRoomID = 0 ; //} } void CPlayerTaxas::TimerSave() { IPlayerComponent::TimerSave(); if ( !m_bDirty ) { return ; } m_bDirty = false ; stMsgSavePlayerTaxaPokerData msgSavePokerData ; msgSavePokerData.nUserUID = GetPlayer()->GetUserUID() ; memcpy(&msgSavePokerData.tData,&m_tData,sizeof(m_tData)); msgSavePokerData.nUserUID = GetPlayer()->GetUserUID() ; msgSavePokerData.nFollowedRoomsStrLen = 0 ; msgSavePokerData.nMyOwnRoomsStrLen = 0 ; if ( m_vFollowedRooms.empty() ) { SendMsg((stMsgSavePlayerMoney*)&msgSavePokerData,sizeof(msgSavePokerData)) ; return ; } std::string strFollow = ""; if ( !m_vFollowedRooms.empty() ) { Json::Value followArray ; Json::StyledWriter writeFollow ; SET_ROOM_ID::iterator iter = m_vFollowedRooms.begin() ; uint16_t nIdx = 0 ; for ( ; iter != m_vFollowedRooms.end(); ++iter ,++nIdx) { followArray[nIdx] = *iter ; } strFollow = writeFollow.write(followArray) ; } msgSavePokerData.nFollowedRoomsStrLen = strlen(strFollow.c_str()) ; CAutoBuffer writeBuffer(sizeof(msgSavePokerData) + msgSavePokerData.nFollowedRoomsStrLen + msgSavePokerData.nMyOwnRoomsStrLen ) ; writeBuffer.addContent((char*)&msgSavePokerData,sizeof(msgSavePokerData)); if ( msgSavePokerData.nFollowedRoomsStrLen > 0 ) { writeBuffer.addContent(strFollow.c_str(),msgSavePokerData.nFollowedRoomsStrLen) ; } CGameServerApp::SharedGameServerApp()->sendMsg(GetPlayer()->GetSessionID(),writeBuffer.getBufferPtr(),writeBuffer.getContentSize()); CLogMgr::SharedLogMgr()->PrintLog("time save taxas data for uid = %d",GetPlayer()->GetUserUID()); } void CPlayerTaxas::sendTaxaDataToClient() { stMsgPlayerBaseDataTaxas msg ; memcpy(&msg.tTaxasData,&m_tData,sizeof(m_tData)) ; SendMsg(&msg,sizeof(msg)) ; } bool CPlayerTaxas::isRoomIDMyOwn(uint32_t nRoomID ) { MAP_ID_MYROOW::iterator iter = m_vMyOwnRooms.find(nRoomID) ; return iter != m_vMyOwnRooms.end() ; } void CPlayerTaxas::getTaxasData(stPlayerTaxasData* pData ) { memcpy(pData,&m_tData,sizeof(m_tData)) ; } void CPlayerTaxas::addOwnRoom(uint32_t nRoomID , uint16_t nConfigID ) { stMyOwnRoom myroom ; myroom.nRoomID = nRoomID ; myroom.nConfigID = nConfigID; m_vMyOwnRooms.insert(MAP_ID_MYROOW::value_type(myroom.nRoomID,myroom)); } bool CPlayerTaxas::isCreateRoomCntReachLimit() { if ( GetPlayer()->GetUserUID() == MATCH_MGR_UID ) { return false ; } return m_vMyOwnRooms.size() >= 1 ; } bool CPlayerTaxas::deleteOwnRoom(uint32_t nRoomID ) { auto iter = m_vMyOwnRooms.find(nRoomID) ; if ( iter != m_vMyOwnRooms.end() ) { m_vMyOwnRooms.erase(iter) ; return true ; } return false ; } uint16_t CPlayerTaxas::getMyOwnRoomConfig( uint32_t nRoomID ) { MAP_ID_MYROOW::iterator iter = m_vMyOwnRooms.find(nRoomID) ; if ( iter != m_vMyOwnRooms.end() ) { return iter->second.nConfigID ; } return 0 ; }
[ "xuwenyanbill@gmail.com" ]
xuwenyanbill@gmail.com
25598ea33dfb1cd21569a2be706d782dd7ea5f0e
854700e16c21aedcac3518a947ae53f4e3fd55ae
/include/ui/autonselector.hpp
67657ed3aeaf0b2875a565886f472f2aba080269
[]
no_license
mkkaufmann/Vex4911A2019
0d7a07b245734bc8280cf5f2def2137a7e529d88
2a7a1ee61861a82ab93b3d0adee281daabf0b3ac
refs/heads/master
2020-07-11T14:17:55.117354
2020-02-24T00:54:47
2020-02-24T00:54:47
204,562,809
6
0
null
null
null
null
UTF-8
C++
false
false
1,393
hpp
#pragma once #include "lib7842/api/gui/page.hpp" #include "lib7842/api/other/utility.hpp" #include "okapi/api/odometry/odometry.hpp" #include "ui/wrapper/buttonmatrix.hpp" #include "ui/wrapper/object.hpp" #include "util/auton.hpp" #include <functional> #include <string> namespace lib7842 { class AutonSelector : public GUI::Page { public: using Page::Page; void initialize() override; void render() override; static std::string getName(); /** * Attach the odom for reading * * @param iodom The odometry */ AutonSelector &attachAuton(const std::shared_ptr<Auton> &iodom); enum Auton { one, five, six, seven, nine, THREE, FOUR, TEST }; enum Color { RED, BLUE }; static Auton getAuton(); static Color getColor(); protected: private: void initializeAuton(); void initializeColor(); static Color color; static Auton auton; ButtonMatrix colorSelector; lv_style_t colorReleased; lv_style_t colorPressed; ButtonMatrix autonSelector; lv_style_t autonBackground; lv_style_t autonReleased; static lv_res_t autonAction(lv_obj_t *, const char *); // action when auton is pressed static lv_res_t colorAction(lv_obj_t *, const char *); // action when color button is pressed static const char *colormap[3]; static const char *autonmap[10]; }; } // namespace lib7842
[ "mkaufmann421@gmail.com" ]
mkaufmann421@gmail.com
4c8b7e4a0727c2445005604d6d194e86fa80c8ea
6e0cdf4d488e9974f8ee88b24c5538da55bcfa8f
/leetcode/editor/cn/301_remove-invalid-parentheses.cpp
4092cf5d2523ee2556ab550b7b40b6ee5029c0c0
[]
no_license
JinyuChata/leetcode_cpp
70b59410e31714d74eb3fabf08604d95ebd6fcfb
2ee7778582b759887f598671585e172d0e3fa5e7
refs/heads/master
2023-08-18T02:30:28.050723
2021-10-14T07:33:37
2021-10-14T07:33:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,235
cpp
//给你一个由若干括号和字母组成的字符串 s ,删除最小数量的无效括号,使得输入的字符串有效。 // // 返回所有可能的结果。答案可以按 任意顺序 返回。 // // // // 示例 1: // // //输入:s = "()())()" //输出:["(())()","()()()"] // // // 示例 2: // // //输入:s = "(a)())()" //输出:["(a())()","(a)()()"] // // // 示例 3: // // //输入:s = ")(" //输出:[""] // // // // // 提示: // // // 1 <= s.length <= 25 // s 由小写英文字母以及括号 '(' 和 ')' 组成 // s 中至多含 20 个括号 // // Related Topics 广度优先搜索 字符串 回溯 // 👍 488 👎 0 #include "bits/stdc++.h" using namespace std; //leetcode submit region begin(Prohibit modification and deletion) class Solution { public: int size = 0; unordered_set<string> result; void dfs(string& s, int curr, int m, int score, string curStr) { if (curr == s.size()) { if (score == 0) { if (curStr.size() > size) { result.clear(); size = curStr.size(); result.insert(curStr); } else if (curStr.size() == size) { result.insert(curStr); } } return; } if (s[curr] != '(' && s[curr] != ')') { dfs(s, curr+1, m, score, curStr+s[curr]); return; } if (s[curr] == '(') { if (score+1 <= m) dfs(s, curr+1, m, score+1, curStr+'('); dfs(s, curr+1, m, score, curStr); } else { // ')' if (score > 0) dfs(s, curr+1, m, score-1, curStr+')'); dfs(s, curr+1, m, score, curStr); } } vector<string> removeInvalidParentheses(string s) { int left = 0, right = 0; for (char c : s) { if (c == '(') left++; else if (c == ')') right++; } int m = min(left, right); dfs(s, 0, m, 0, ""); vector<string> ret; for (string s : result) ret.push_back(s); return ret; } }; //leetcode submit region end(Prohibit modification and deletion) int main() { Solution s; s.removeInvalidParentheses("()())()"); }
[ "jinyuzhu@smail.nju.edu.cn" ]
jinyuzhu@smail.nju.edu.cn
b966a82163573fae544b337d366e086a69e7c6ba
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_PrimalItemStructure_MetalPipeIntersection_parameters.hpp
61d3c17890bb2e1442c17c8e7e6f618134886993
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076298
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
848
hpp
#pragma once // ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemStructure_MetalPipeIntersection_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function PrimalItemStructure_MetalPipeIntersection.PrimalItemStructure_MetalPipeIntersection_C.ExecuteUbergraph_PrimalItemStructure_MetalPipeIntersection struct UPrimalItemStructure_MetalPipeIntersection_C_ExecuteUbergraph_PrimalItemStructure_MetalPipeIntersection_Params { int EntryPoint; // (Parm, ZeroConstructor, IsPlainOldData) }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "sergey.2bite@gmail.com" ]
sergey.2bite@gmail.com
ed072dd565c16b4736009c570146203aa7962b11
8bf6fa2e41892ed67e2725bbd199f6d2980cca8c
/Sources/Library/Cryptopp/network.cpp
8c9833cff5c1e0a053ea641b8de83fd38ac90339
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Shinronz/AluxiaMu
90cecbf0a04432113d9fde8e4990180ebf3c08da
5f5dcd621e1c4ecbabca95b978dd5529e09f1a56
refs/heads/master
2021-01-20T01:29:13.185992
2017-05-18T01:22:48
2017-05-18T01:22:48
89,285,116
1
2
null
null
null
null
UTF-8
C++
false
false
15,578
cpp
// network.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "network.h" #if !defined(NO_OS_DEPENDENCE) && defined(SOCKETS_AVAILABLE) #include "wait.h" #define CRYPTOPP_TRACE_NETWORK 0 NAMESPACE_BEGIN(CryptoPP) lword LimitedBandwidth::ComputeCurrentTransceiveLimit() { if (!m_maxBytesPerSecond) return ULONG_MAX; const double curTime = GetCurTimeAndCleanUp(); CRYPTOPP_UNUSED(curTime); lword total = 0; for (OpQueue::size_type i=0; i!=m_ops.size(); ++i) total += m_ops[i].second; return SaturatingSubtract(m_maxBytesPerSecond, total); } double LimitedBandwidth::TimeToNextTransceive() { if (!m_maxBytesPerSecond) return 0; if (!m_nextTransceiveTime) ComputeNextTransceiveTime(); return SaturatingSubtract(m_nextTransceiveTime, m_timer.ElapsedTimeAsDouble()); } void LimitedBandwidth::NoteTransceive(lword size) { if (m_maxBytesPerSecond) { double curTime = GetCurTimeAndCleanUp(); m_ops.push_back(std::make_pair(curTime, size)); m_nextTransceiveTime = 0; } } void LimitedBandwidth::ComputeNextTransceiveTime() { double curTime = GetCurTimeAndCleanUp(); lword total = 0; for (unsigned int i=0; i!=m_ops.size(); ++i) total += m_ops[i].second; m_nextTransceiveTime = (total < m_maxBytesPerSecond) ? curTime : m_ops.front().first + 1000; } double LimitedBandwidth::GetCurTimeAndCleanUp() { if (!m_maxBytesPerSecond) return 0; double curTime = m_timer.ElapsedTimeAsDouble(); while (m_ops.size() && (m_ops.front().first + 1000 < curTime)) m_ops.pop_front(); return curTime; } void LimitedBandwidth::GetWaitObjects(WaitObjectContainer &container, const CallStack &callStack) { double nextTransceiveTime = TimeToNextTransceive(); if (nextTransceiveTime) container.ScheduleEvent(nextTransceiveTime, CallStack("LimitedBandwidth::GetWaitObjects()", &callStack)); } // ************************************************************* size_t NonblockingSource::GeneralPump2( lword& byteCount, bool blockingOutput, unsigned long maxTime, bool checkDelimiter, byte delimiter) { m_blockedBySpeedLimit = false; if (!GetMaxBytesPerSecond()) { size_t ret = DoPump(byteCount, blockingOutput, maxTime, checkDelimiter, delimiter); m_doPumpBlocked = (ret != 0); return ret; } bool forever = (maxTime == INFINITE_TIME); unsigned long timeToGo = maxTime; Timer timer(Timer::MILLISECONDS, forever); lword maxSize = byteCount; byteCount = 0; timer.StartTimer(); while (true) { lword curMaxSize = UnsignedMin(ComputeCurrentTransceiveLimit(), maxSize - byteCount); if (curMaxSize || m_doPumpBlocked) { if (!forever) timeToGo = SaturatingSubtract(maxTime, timer.ElapsedTime()); size_t ret = DoPump(curMaxSize, blockingOutput, timeToGo, checkDelimiter, delimiter); m_doPumpBlocked = (ret != 0); if (curMaxSize) { NoteTransceive(curMaxSize); byteCount += curMaxSize; } if (ret) return ret; } if (maxSize != ULONG_MAX && byteCount >= maxSize) break; if (!forever) { timeToGo = SaturatingSubtract(maxTime, timer.ElapsedTime()); if (!timeToGo) break; } double waitTime = TimeToNextTransceive(); if (!forever && waitTime > timeToGo) { m_blockedBySpeedLimit = true; break; } WaitObjectContainer container; LimitedBandwidth::GetWaitObjects(container, CallStack("NonblockingSource::GeneralPump2() - speed limit", 0)); container.Wait((unsigned long)waitTime); } return 0; } size_t NonblockingSource::PumpMessages2(unsigned int &messageCount, bool blocking) { if (messageCount == 0) return 0; messageCount = 0; lword byteCount; do { byteCount = LWORD_MAX; RETURN_IF_NONZERO(Pump2(byteCount, blocking)); } while(byteCount == LWORD_MAX); if (!m_messageEndSent && SourceExhausted()) { RETURN_IF_NONZERO(AttachedTransformation()->Put2(NULL, 0, GetAutoSignalPropagation(), true)); m_messageEndSent = true; messageCount = 1; } return 0; } lword NonblockingSink::TimedFlush(unsigned long maxTime, size_t targetSize) { m_blockedBySpeedLimit = false; size_t curBufSize = GetCurrentBufferSize(); if (curBufSize <= targetSize && (targetSize || !EofPending())) return 0; if (!GetMaxBytesPerSecond()) return DoFlush(maxTime, targetSize); bool forever = (maxTime == INFINITE_TIME); unsigned long timeToGo = maxTime; Timer timer(Timer::MILLISECONDS, forever); lword totalFlushed = 0; timer.StartTimer(); while (true) { size_t flushSize = UnsignedMin(curBufSize - targetSize, ComputeCurrentTransceiveLimit()); if (flushSize || EofPending()) { if (!forever) timeToGo = SaturatingSubtract(maxTime, timer.ElapsedTime()); size_t ret = (size_t)DoFlush(timeToGo, curBufSize - flushSize); if (ret) { NoteTransceive(ret); curBufSize -= ret; totalFlushed += ret; } } if (curBufSize <= targetSize && (targetSize || !EofPending())) break; if (!forever) { timeToGo = SaturatingSubtract(maxTime, timer.ElapsedTime()); if (!timeToGo) break; } double waitTime = TimeToNextTransceive(); if (!forever && waitTime > timeToGo) { m_blockedBySpeedLimit = true; break; } WaitObjectContainer container; LimitedBandwidth::GetWaitObjects(container, CallStack("NonblockingSink::TimedFlush() - speed limit", 0)); container.Wait((unsigned long)waitTime); } return totalFlushed; } bool NonblockingSink::IsolatedFlush(bool hardFlush, bool blocking) { TimedFlush(blocking ? INFINITE_TIME : 0); return hardFlush && (!!GetCurrentBufferSize() || EofPending()); } // ************************************************************* NetworkSource::NetworkSource(BufferedTransformation *attachment) : NonblockingSource(attachment), m_buf(1024*16) , m_putSize(0), m_dataBegin(0), m_dataEnd(0) , m_waitingForResult(false), m_outputBlocked(false) { } unsigned int NetworkSource::GetMaxWaitObjectCount() const { return LimitedBandwidth::GetMaxWaitObjectCount() + GetReceiver().GetMaxWaitObjectCount() + AttachedTransformation()->GetMaxWaitObjectCount(); } void NetworkSource::GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack) { if (BlockedBySpeedLimit()) LimitedBandwidth::GetWaitObjects(container, CallStack("NetworkSource::GetWaitObjects() - speed limit", &callStack)); else if (!m_outputBlocked) { if (m_dataBegin == m_dataEnd) AccessReceiver().GetWaitObjects(container, CallStack("NetworkSource::GetWaitObjects() - no data", &callStack)); else container.SetNoWait(CallStack("NetworkSource::GetWaitObjects() - have data", &callStack)); } AttachedTransformation()->GetWaitObjects(container, CallStack("NetworkSource::GetWaitObjects() - attachment", &callStack)); } size_t NetworkSource::DoPump(lword &byteCount, bool blockingOutput, unsigned long maxTime, bool checkDelimiter, byte delimiter) { NetworkReceiver &receiver = AccessReceiver(); lword maxSize = byteCount; byteCount = 0; bool forever = maxTime == INFINITE_TIME; Timer timer(Timer::MILLISECONDS, forever); BufferedTransformation *t = AttachedTransformation(); if (m_outputBlocked) goto DoOutput; while (true) { if (m_dataBegin == m_dataEnd) { if (receiver.EofReceived()) break; if (m_waitingForResult) { if (receiver.MustWaitForResult() && !receiver.Wait(SaturatingSubtract(maxTime, timer.ElapsedTime()), CallStack("NetworkSource::DoPump() - wait receive result", 0))) break; unsigned int recvResult = receiver.GetReceiveResult(); #if CRYPTOPP_TRACE_NETWORK OutputDebugString((IntToString((unsigned int)this) + ": Received " + IntToString(recvResult) + " bytes\n").c_str()); #endif m_dataEnd += recvResult; m_waitingForResult = false; if (!receiver.MustWaitToReceive() && !receiver.EofReceived() && m_dataEnd != m_buf.size()) goto ReceiveNoWait; } else { m_dataEnd = m_dataBegin = 0; if (receiver.MustWaitToReceive()) { if (!receiver.Wait(SaturatingSubtract(maxTime, timer.ElapsedTime()), CallStack("NetworkSource::DoPump() - wait receive", 0))) break; receiver.Receive(m_buf+m_dataEnd, m_buf.size()-m_dataEnd); m_waitingForResult = true; } else { ReceiveNoWait: m_waitingForResult = true; // call Receive repeatedly as long as data is immediately available, // because some receivers tend to return data in small pieces #if CRYPTOPP_TRACE_NETWORK OutputDebugString((IntToString((unsigned int)this) + ": Receiving " + IntToString(m_buf.size()-m_dataEnd) + " bytes\n").c_str()); #endif while (receiver.Receive(m_buf+m_dataEnd, m_buf.size()-m_dataEnd)) { unsigned int recvResult = receiver.GetReceiveResult(); #if CRYPTOPP_TRACE_NETWORK OutputDebugString((IntToString((unsigned int)this) + ": Received " + IntToString(recvResult) + " bytes\n").c_str()); #endif m_dataEnd += recvResult; if (receiver.EofReceived() || m_dataEnd > m_buf.size() /2) { m_waitingForResult = false; break; } } } } } else { m_putSize = UnsignedMin(m_dataEnd - m_dataBegin, maxSize - byteCount); if (checkDelimiter) m_putSize = std::find(m_buf+m_dataBegin, m_buf+m_dataBegin+m_putSize, delimiter) - (m_buf+m_dataBegin); DoOutput: size_t result = t->PutModifiable2(m_buf+m_dataBegin, m_putSize, 0, forever || blockingOutput); if (result) { if (t->Wait(SaturatingSubtract(maxTime, timer.ElapsedTime()), CallStack("NetworkSource::DoPump() - wait attachment", 0))) goto DoOutput; else { m_outputBlocked = true; return result; } } m_outputBlocked = false; byteCount += m_putSize; m_dataBegin += m_putSize; if (checkDelimiter && m_dataBegin < m_dataEnd && m_buf[m_dataBegin] == delimiter) break; if (maxSize != ULONG_MAX && byteCount == maxSize) break; // once time limit is reached, return even if there is more data waiting // but make 0 a special case so caller can request a large amount of data to be // pumped as long as it is immediately available if (maxTime > 0 && timer.ElapsedTime() > maxTime) break; } } return 0; } // ************************************************************* NetworkSink::NetworkSink(unsigned int maxBufferSize, unsigned int autoFlushBound) : m_maxBufferSize(maxBufferSize), m_autoFlushBound(autoFlushBound) , m_needSendResult(false), m_wasBlocked(false), m_eofState(EOF_NONE) , m_buffer(STDMIN(16U*1024U+256, maxBufferSize)), m_skipBytes(0) , m_speedTimer(Timer::MILLISECONDS), m_byteCountSinceLastTimerReset(0) , m_currentSpeed(0), m_maxObservedSpeed(0) { } float NetworkSink::ComputeCurrentSpeed() { if (m_speedTimer.ElapsedTime() > 1000) { m_currentSpeed = m_byteCountSinceLastTimerReset * 1000 / m_speedTimer.ElapsedTime(); m_maxObservedSpeed = STDMAX(m_currentSpeed, m_maxObservedSpeed * 0.98f); m_byteCountSinceLastTimerReset = 0; m_speedTimer.StartTimer(); // OutputDebugString(("max speed: " + IntToString((int)m_maxObservedSpeed) + " current speed: " + IntToString((int)m_currentSpeed) + "\n").c_str()); } return m_currentSpeed; } float NetworkSink::GetMaxObservedSpeed() const { lword m = GetMaxBytesPerSecond(); return m ? STDMIN(m_maxObservedSpeed, float(CRYPTOPP_VC6_INT64 m)) : m_maxObservedSpeed; } unsigned int NetworkSink::GetMaxWaitObjectCount() const { return LimitedBandwidth::GetMaxWaitObjectCount() + GetSender().GetMaxWaitObjectCount(); } void NetworkSink::GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack) { if (BlockedBySpeedLimit()) LimitedBandwidth::GetWaitObjects(container, CallStack("NetworkSink::GetWaitObjects() - speed limit", &callStack)); else if (m_wasBlocked) AccessSender().GetWaitObjects(container, CallStack("NetworkSink::GetWaitObjects() - was blocked", &callStack)); else if (!m_buffer.IsEmpty()) AccessSender().GetWaitObjects(container, CallStack("NetworkSink::GetWaitObjects() - buffer not empty", &callStack)); else if (EofPending()) AccessSender().GetWaitObjects(container, CallStack("NetworkSink::GetWaitObjects() - EOF pending", &callStack)); } size_t NetworkSink::Put2(const byte *inString, size_t length, int messageEnd, bool blocking) { if (m_eofState == EOF_DONE) { if (length || messageEnd) throw Exception(Exception::OTHER_ERROR, "NetworkSink::Put2() being called after EOF had been sent"); return 0; } if (m_eofState > EOF_NONE) goto EofSite; { if (m_skipBytes) { CRYPTOPP_ASSERT(length >= m_skipBytes); inString += m_skipBytes; length -= m_skipBytes; } m_buffer.Put(inString, length); if (!blocking || m_buffer.CurrentSize() > m_autoFlushBound) TimedFlush(0, 0); size_t targetSize = messageEnd ? 0 : m_maxBufferSize; if (blocking) TimedFlush(INFINITE_TIME, targetSize); if (m_buffer.CurrentSize() > targetSize) { CRYPTOPP_ASSERT(!blocking); m_wasBlocked = true; m_skipBytes += length; size_t blockedBytes = UnsignedMin(length, m_buffer.CurrentSize() - targetSize); return STDMAX<size_t>(blockedBytes, 1); } m_wasBlocked = false; m_skipBytes = 0; } if (messageEnd) { m_eofState = EOF_PENDING_SEND; EofSite: TimedFlush(blocking ? INFINITE_TIME : 0, 0); if (m_eofState != EOF_DONE) return 1; } return 0; } lword NetworkSink::DoFlush(unsigned long maxTime, size_t targetSize) { NetworkSender &sender = AccessSender(); bool forever = maxTime == INFINITE_TIME; Timer timer(Timer::MILLISECONDS, forever); unsigned int totalFlushSize = 0; while (true) { if (m_buffer.CurrentSize() <= targetSize) break; if (m_needSendResult) { if (sender.MustWaitForResult() && !sender.Wait(SaturatingSubtract(maxTime, timer.ElapsedTime()), CallStack("NetworkSink::DoFlush() - wait send result", 0))) break; unsigned int sendResult = sender.GetSendResult(); #if CRYPTOPP_TRACE_NETWORK OutputDebugString((IntToString((unsigned int)this) + ": Sent " + IntToString(sendResult) + " bytes\n").c_str()); #endif m_buffer.Skip(sendResult); totalFlushSize += sendResult; m_needSendResult = false; if (!m_buffer.AnyRetrievable()) break; } unsigned long timeOut = maxTime ? SaturatingSubtract(maxTime, timer.ElapsedTime()) : 0; if (sender.MustWaitToSend() && !sender.Wait(timeOut, CallStack("NetworkSink::DoFlush() - wait send", 0))) break; size_t contiguousSize = 0; const byte *block = m_buffer.Spy(contiguousSize); #if CRYPTOPP_TRACE_NETWORK OutputDebugString((IntToString((unsigned int)this) + ": Sending " + IntToString(contiguousSize) + " bytes\n").c_str()); #endif sender.Send(block, contiguousSize); m_needSendResult = true; if (maxTime > 0 && timeOut == 0) break; // once time limit is reached, return even if there is more data waiting } m_byteCountSinceLastTimerReset += totalFlushSize; ComputeCurrentSpeed(); if (m_buffer.IsEmpty() && !m_needSendResult) { if (m_eofState == EOF_PENDING_SEND) { sender.SendEof(); m_eofState = sender.MustWaitForEof() ? EOF_PENDING_DELIVERY : EOF_DONE; } while (m_eofState == EOF_PENDING_DELIVERY) { unsigned long timeOut = maxTime ? SaturatingSubtract(maxTime, timer.ElapsedTime()) : 0; if (!sender.Wait(timeOut, CallStack("NetworkSink::DoFlush() - wait EOF", 0))) break; if (sender.EofSent()) m_eofState = EOF_DONE; } } return totalFlushSize; } NAMESPACE_END #endif // #ifdef SOCKETS_AVAILABLE ////////////////////////////////////////////////////////////////////// // iDev.Games - MuOnline S9EP2 IGC9.5 - TRONG.WIN - DAO VAN TRONG //////////////////////////////////////////////////////////////////////
[ "geretto@hotmail.com" ]
geretto@hotmail.com
fd332c1366cbf99207da60faedd708acded8c153
6a69d57c782e0b1b993e876ad4ca2927a5f2e863
/vendor/samsung/common/packages/apps/SBrowser/src/chrome/browser/extensions/user_script_master.cc
b0c219893019958b07ab4751a15980954e853301
[ "BSD-3-Clause" ]
permissive
duki994/G900H-Platform-XXU1BOA7
c8411ef51f5f01defa96b3381f15ea741aa5bce2
4f9307e6ef21893c9a791c96a500dfad36e3b202
refs/heads/master
2020-05-16T20:57:07.585212
2015-05-11T11:03:16
2015-05-11T11:03:16
35,418,464
2
1
null
null
null
null
UTF-8
C++
false
false
17,592
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/user_script_master.h" #include <map> #include <string> #include <vector> #include "base/bind.h" #include "base/file_util.h" #include "base/files/file_path.h" #include "base/pickle.h" #include "base/stl_util.h" #include "base/strings/string_util.h" #include "base/threading/thread.h" #include "base/version.h" #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/extensions/extension_util.h" #include "chrome/browser/extensions/image_loader.h" #include "chrome/browser/profiles/profile.h" #include "chrome/common/extensions/api/i18n/default_locale_handler.h" #include "chrome/common/extensions/extension_file_util.h" #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" #include "chrome/common/extensions/message_bundle.h" #include "content/public/browser/notification_service.h" #include "content/public/browser/render_process_host.h" #include "extensions/browser/extension_system.h" #include "extensions/common/extension.h" #include "extensions/common/extension_resource.h" #include "extensions/common/extension_set.h" #include "ui/base/resource/resource_bundle.h" using content::BrowserThread; namespace extensions { // Helper function to parse greasesmonkey headers static bool GetDeclarationValue(const base::StringPiece& line, const base::StringPiece& prefix, std::string* value) { base::StringPiece::size_type index = line.find(prefix); if (index == base::StringPiece::npos) return false; std::string temp(line.data() + index + prefix.length(), line.length() - index - prefix.length()); if (temp.empty() || !IsWhitespace(temp[0])) return false; TrimWhitespaceASCII(temp, TRIM_ALL, value); return true; } UserScriptMaster::ScriptReloader::ScriptReloader(UserScriptMaster* master) : master_(master) { CHECK(BrowserThread::GetCurrentThreadIdentifier(&master_thread_id_)); } // static bool UserScriptMaster::ScriptReloader::ParseMetadataHeader( const base::StringPiece& script_text, UserScript* script) { // http://wiki.greasespot.net/Metadata_block base::StringPiece line; size_t line_start = 0; size_t line_end = line_start; bool in_metadata = false; static const base::StringPiece kUserScriptBegin("// ==UserScript=="); static const base::StringPiece kUserScriptEng("// ==/UserScript=="); static const base::StringPiece kNamespaceDeclaration("// @namespace"); static const base::StringPiece kNameDeclaration("// @name"); static const base::StringPiece kVersionDeclaration("// @version"); static const base::StringPiece kDescriptionDeclaration("// @description"); static const base::StringPiece kIncludeDeclaration("// @include"); static const base::StringPiece kExcludeDeclaration("// @exclude"); static const base::StringPiece kMatchDeclaration("// @match"); static const base::StringPiece kExcludeMatchDeclaration("// @exclude_match"); static const base::StringPiece kRunAtDeclaration("// @run-at"); static const base::StringPiece kRunAtDocumentStartValue("document-start"); static const base::StringPiece kRunAtDocumentEndValue("document-end"); static const base::StringPiece kRunAtDocumentIdleValue("document-idle"); while (line_start < script_text.length()) { line_end = script_text.find('\n', line_start); // Handle the case where there is no trailing newline in the file. if (line_end == std::string::npos) line_end = script_text.length() - 1; line.set(script_text.data() + line_start, line_end - line_start); if (!in_metadata) { if (line.starts_with(kUserScriptBegin)) in_metadata = true; } else { if (line.starts_with(kUserScriptEng)) break; std::string value; if (GetDeclarationValue(line, kIncludeDeclaration, &value)) { // We escape some characters that MatchPattern() considers special. ReplaceSubstringsAfterOffset(&value, 0, "\\", "\\\\"); ReplaceSubstringsAfterOffset(&value, 0, "?", "\\?"); script->add_glob(value); } else if (GetDeclarationValue(line, kExcludeDeclaration, &value)) { ReplaceSubstringsAfterOffset(&value, 0, "\\", "\\\\"); ReplaceSubstringsAfterOffset(&value, 0, "?", "\\?"); script->add_exclude_glob(value); } else if (GetDeclarationValue(line, kNamespaceDeclaration, &value)) { script->set_name_space(value); } else if (GetDeclarationValue(line, kNameDeclaration, &value)) { script->set_name(value); } else if (GetDeclarationValue(line, kVersionDeclaration, &value)) { Version version(value); if (version.IsValid()) script->set_version(version.GetString()); } else if (GetDeclarationValue(line, kDescriptionDeclaration, &value)) { script->set_description(value); } else if (GetDeclarationValue(line, kMatchDeclaration, &value)) { URLPattern pattern(UserScript::ValidUserScriptSchemes()); if (URLPattern::PARSE_SUCCESS != pattern.Parse(value)) return false; script->add_url_pattern(pattern); } else if (GetDeclarationValue(line, kExcludeMatchDeclaration, &value)) { URLPattern exclude(UserScript::ValidUserScriptSchemes()); if (URLPattern::PARSE_SUCCESS != exclude.Parse(value)) return false; script->add_exclude_url_pattern(exclude); } else if (GetDeclarationValue(line, kRunAtDeclaration, &value)) { if (value == kRunAtDocumentStartValue) script->set_run_location(UserScript::DOCUMENT_START); else if (value == kRunAtDocumentEndValue) script->set_run_location(UserScript::DOCUMENT_END); else if (value == kRunAtDocumentIdleValue) script->set_run_location(UserScript::DOCUMENT_IDLE); else return false; } // TODO(aa): Handle more types of metadata. } line_start = line_end + 1; } // If no patterns were specified, default to @include *. This is what // Greasemonkey does. if (script->globs().empty() && script->url_patterns().is_empty()) script->add_glob("*"); return true; } void UserScriptMaster::ScriptReloader::StartLoad( const UserScriptList& user_scripts, const ExtensionsInfo& extensions_info_) { // Add a reference to ourselves to keep ourselves alive while we're running. // Balanced by NotifyMaster(). AddRef(); this->extensions_info_ = extensions_info_; BrowserThread::PostTask( BrowserThread::FILE, FROM_HERE, base::Bind( &UserScriptMaster::ScriptReloader::RunLoad, this, user_scripts)); } UserScriptMaster::ScriptReloader::~ScriptReloader() {} void UserScriptMaster::ScriptReloader::NotifyMaster( base::SharedMemory* memory) { // The master went away, so these new scripts aren't useful anymore. if (!master_) delete memory; else master_->NewScriptsAvailable(memory); // Drop our self-reference. // Balances StartLoad(). Release(); } static bool LoadScriptContent(UserScript::File* script_file, const SubstitutionMap* localization_messages) { std::string content; const base::FilePath& path = ExtensionResource::GetFilePath( script_file->extension_root(), script_file->relative_path(), ExtensionResource::SYMLINKS_MUST_RESOLVE_WITHIN_ROOT); if (path.empty()) { int resource_id; if (extensions::ImageLoader::IsComponentExtensionResource( script_file->extension_root(), script_file->relative_path(), &resource_id)) { const ResourceBundle& rb = ResourceBundle::GetSharedInstance(); content = rb.GetRawDataResource(resource_id).as_string(); } else { LOG(WARNING) << "Failed to get file path to " << script_file->relative_path().value() << " from " << script_file->extension_root().value(); return false; } } else { if (!base::ReadFileToString(path, &content)) { LOG(WARNING) << "Failed to load user script file: " << path.value(); return false; } } // Localize the content. if (localization_messages) { std::string error; MessageBundle::ReplaceMessagesWithExternalDictionary( *localization_messages, &content, &error); if (!error.empty()) { LOG(WARNING) << "Failed to replace messages in script: " << error; } } // Remove BOM from the content. std::string::size_type index = content.find(base::kUtf8ByteOrderMark); if (index == 0) { script_file->set_content(content.substr(strlen(base::kUtf8ByteOrderMark))); } else { script_file->set_content(content); } return true; } void UserScriptMaster::ScriptReloader::LoadUserScripts( UserScriptList* user_scripts) { for (size_t i = 0; i < user_scripts->size(); ++i) { UserScript& script = user_scripts->at(i); scoped_ptr<SubstitutionMap> localization_messages( GetLocalizationMessages(script.extension_id())); for (size_t k = 0; k < script.js_scripts().size(); ++k) { UserScript::File& script_file = script.js_scripts()[k]; if (script_file.GetContent().empty()) LoadScriptContent(&script_file, NULL); } for (size_t k = 0; k < script.css_scripts().size(); ++k) { UserScript::File& script_file = script.css_scripts()[k]; if (script_file.GetContent().empty()) LoadScriptContent(&script_file, localization_messages.get()); } } } SubstitutionMap* UserScriptMaster::ScriptReloader::GetLocalizationMessages( std::string extension_id) { if (extensions_info_.find(extension_id) == extensions_info_.end()) { return NULL; } return extension_file_util::LoadMessageBundleSubstitutionMap( extensions_info_[extension_id].first, extension_id, extensions_info_[extension_id].second); } // Pickle user scripts and return pointer to the shared memory. static base::SharedMemory* Serialize(const UserScriptList& scripts) { Pickle pickle; pickle.WriteUInt64(scripts.size()); for (size_t i = 0; i < scripts.size(); i++) { const UserScript& script = scripts[i]; // TODO(aa): This can be replaced by sending content script metadata to // renderers along with other extension data in ExtensionMsg_Loaded. // See crbug.com/70516. script.Pickle(&pickle); // Write scripts as 'data' so that we can read it out in the slave without // allocating a new string. for (size_t j = 0; j < script.js_scripts().size(); j++) { base::StringPiece contents = script.js_scripts()[j].GetContent(); pickle.WriteData(contents.data(), contents.length()); } for (size_t j = 0; j < script.css_scripts().size(); j++) { base::StringPiece contents = script.css_scripts()[j].GetContent(); pickle.WriteData(contents.data(), contents.length()); } } // Create the shared memory object. base::SharedMemory shared_memory; if (!shared_memory.CreateAndMapAnonymous(pickle.size())) return NULL; // Copy the pickle to shared memory. memcpy(shared_memory.memory(), pickle.data(), pickle.size()); base::SharedMemoryHandle readonly_handle; if (!shared_memory.ShareReadOnlyToProcess(base::GetCurrentProcessHandle(), &readonly_handle)) return NULL; return new base::SharedMemory(readonly_handle, /*read_only=*/true); } // This method will be called on the file thread. void UserScriptMaster::ScriptReloader::RunLoad( const UserScriptList& user_scripts) { LoadUserScripts(const_cast<UserScriptList*>(&user_scripts)); // Scripts now contains list of up-to-date scripts. Load the content in the // shared memory and let the master know it's ready. We need to post the task // back even if no scripts ware found to balance the AddRef/Release calls. BrowserThread::PostTask( master_thread_id_, FROM_HERE, base::Bind( &ScriptReloader::NotifyMaster, this, Serialize(user_scripts))); } UserScriptMaster::UserScriptMaster(Profile* profile) : extensions_service_ready_(false), pending_load_(false), profile_(profile) { registrar_.Add(this, chrome::NOTIFICATION_EXTENSIONS_READY, content::Source<Profile>(profile_)); registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, content::Source<Profile>(profile_)); registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, content::Source<Profile>(profile_)); registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED, content::NotificationService::AllBrowserContextsAndSources()); } UserScriptMaster::~UserScriptMaster() { if (script_reloader_.get()) script_reloader_->DisownMaster(); } void UserScriptMaster::NewScriptsAvailable(base::SharedMemory* handle) { // Ensure handle is deleted or released. scoped_ptr<base::SharedMemory> handle_deleter(handle); if (pending_load_) { // While we were loading, there were further changes. Don't bother // notifying about these scripts and instead just immediately reload. pending_load_ = false; StartLoad(); } else { // We're no longer loading. script_reloader_ = NULL; // We've got scripts ready to go. shared_memory_.swap(handle_deleter); for (content::RenderProcessHost::iterator i( content::RenderProcessHost::AllHostsIterator()); !i.IsAtEnd(); i.Advance()) { SendUpdate(i.GetCurrentValue(), handle); } content::NotificationService::current()->Notify( chrome::NOTIFICATION_USER_SCRIPTS_UPDATED, content::Source<Profile>(profile_), content::Details<base::SharedMemory>(handle)); } } void UserScriptMaster::Observe(int type, const content::NotificationSource& source, const content::NotificationDetails& details) { bool should_start_load = false; switch (type) { case chrome::NOTIFICATION_EXTENSIONS_READY: extensions_service_ready_ = true; should_start_load = true; break; case chrome::NOTIFICATION_EXTENSION_LOADED: { // Add any content scripts inside the extension. const Extension* extension = content::Details<const Extension>(details).ptr(); extensions_info_[extension->id()] = ExtensionSet::ExtensionPathAndDefaultLocale( extension->path(), LocaleInfo::GetDefaultLocale(extension)); bool incognito_enabled = util::IsIncognitoEnabled(extension->id(), profile_); const UserScriptList& scripts = ContentScriptsInfo::GetContentScripts(extension); for (UserScriptList::const_iterator iter = scripts.begin(); iter != scripts.end(); ++iter) { user_scripts_.push_back(*iter); user_scripts_.back().set_incognito_enabled(incognito_enabled); } if (extensions_service_ready_) should_start_load = true; break; } case chrome::NOTIFICATION_EXTENSION_UNLOADED: { // Remove any content scripts. const Extension* extension = content::Details<UnloadedExtensionInfo>(details)->extension; extensions_info_.erase(extension->id()); UserScriptList new_user_scripts; for (UserScriptList::iterator iter = user_scripts_.begin(); iter != user_scripts_.end(); ++iter) { if (iter->extension_id() != extension->id()) new_user_scripts.push_back(*iter); } user_scripts_ = new_user_scripts; should_start_load = true; break; } case content::NOTIFICATION_RENDERER_PROCESS_CREATED: { content::RenderProcessHost* process = content::Source<content::RenderProcessHost>(source).ptr(); Profile* profile = Profile::FromBrowserContext( process->GetBrowserContext()); if (!profile_->IsSameProfile(profile)) return; if (ScriptsReady()) SendUpdate(process, GetSharedMemory()); break; } default: DCHECK(false); } if (should_start_load) { if (script_reloader_.get()) { pending_load_ = true; } else { StartLoad(); } } } void UserScriptMaster::StartLoad() { if (!script_reloader_.get()) script_reloader_ = new ScriptReloader(this); script_reloader_->StartLoad(user_scripts_, extensions_info_); } void UserScriptMaster::SendUpdate(content::RenderProcessHost* process, base::SharedMemory* shared_memory) { // Don't allow injection of content scripts into <webview>. if (process->IsGuest()) return; Profile* profile = Profile::FromBrowserContext(process->GetBrowserContext()); // Make sure we only send user scripts to processes in our profile. if (!profile_->IsSameProfile(profile)) return; // If the process is being started asynchronously, early return. We'll end up // calling InitUserScripts when it's created which will call this again. base::ProcessHandle handle = process->GetHandle(); if (!handle) return; base::SharedMemoryHandle handle_for_process; if (!shared_memory->ShareToProcess(handle, &handle_for_process)) return; // This can legitimately fail if the renderer asserts at startup. if (base::SharedMemory::IsHandleValid(handle_for_process)) process->Send(new ExtensionMsg_UpdateUserScripts(handle_for_process)); } } // namespace extensions
[ "duki994@gmail.com" ]
duki994@gmail.com
d11a295428e923bca58785f59561b0a862079376
97947541450f6757a87d1e7b872fcb890682e908
/talos.lingor3/Config_Spyglass.hpp
316edf937fb4b3ee06f8d1534d3f2e88ab17dc75
[]
no_license
chdemal/Talos
999176b8176031840164fcfc77c2a8679eba71fb
323e9f02b0c25c271fefef3b97bd4c8ea34cc7c1
refs/heads/master
2021-01-17T21:25:13.477083
2016-03-15T11:25:04
2016-03-15T11:25:04
53,938,359
0
0
null
2016-03-15T11:17:13
2016-03-15T11:17:13
null
UTF-8
C++
false
false
100,693
hpp
class SpyGlass { civSlotNumber = 75; copSlotNumber = 19; medSlotNumber = 4; /* Internal functions, sort by what they are. Please note any functions you add need the functions named defined and the functions meta name which is the functions name + _meta i.e: "life_fnc_mycoolfunction","life_fnc_mycoolfunction_meta" */ BIS_Functions[] = {"bis_fnc_mp","bis_fnc_execremote","bis_fnc_3denvisionmode","bis_fnc_3denexportoldsqm","bis_fnc_revivehandlekeypress","bis_fnc_sideisfriendly","bis_fnc_3dendiagfonts","bis_fnc_garage3den","bis_fnc_getname","bis_fnc_revivehandleforcerespawnaction","bis_fnc_3dennotification","bis_fnc_reviveonbeingrevived","bis_fnc_revivedebug","bis_fnc_3dendrawlocations","bis_fnc_reviveremovehelper","bis_fnc_3denentitymenu","bis_fnc_getnetmode","bis_fnc_3dencamera","bis_fnc_errorparamstype","bis_fnc_3denstatusbar","bis_fnc_sidenameunlocalized","bis_fnc_initpixelui","bis_fnc_3denexportattributes","bis_fnc_reviveonstate","bis_fnc_revivehandleincapunitdetection","bis_fnc_3denlistlocations","bis_fnc_revivesethelper","bis_fnc_revivehandlereviveaction","bis_fnc_3denshowmessage","bis_fnc_getcfg","bis_fnc_reviveonstatejip","bis_fnc_findallnestedelements","bis_fnc_3dentutorial","bis_fnc_areequalnotnil","bis_fnc_sideisenemy","bis_fnc_3dendiagcreatelist","bis_fnc_reviveonforcingrespawn","bis_fnc_modulegrenade","bis_fnc_3denflashlight","bis_fnc_3denexportterrainbuilder","bis_fnc_3denmoduledescription","bis_fnc_egspectatorgetunitstodraw","bis_fnc_deletecounter","bis_fnc_3deninterface","bis_fnc_3dentoolbar","bis_fnc_3denmissionpreview","bis_fnc_3dencontrolshint","bis_fnc_initlistnboxsorting","bis_fnc_highlightcontrol","bis_fnc_3dengrid","bis_fnc_initammobox","bis_fnc_dbvalueindex","bis_fnc_egobjectivevisualizerdraw","bis_fnc_getintersectionsundercursor","bis_fnc_egspectatordraw2d","bis_fnc_encodeflags","bis_fnc_modulesupportsinitprovider","bis_fnc_egspectatorcamerasettarget","bis_fnc_egspectatorcamera","bis_fnc_getangledelta","bis_fnc_modulesupportsinitrequester","bis_fnc_egspectator","bis_fnc_dataterminalanimate","bis_fnc_egspectatorcamerapreparetarget","bis_fnc_egspectatorcameraresettarget","bis_fnc_egobjectivevisualizer","bis_fnc_getvehiclecustomization","bis_fnc_twowingdoortwohandleopen","bis_fnc_egspectatorcameratick","bis_fnc_lerp","bis_fnc_modulesiteinit","bis_fnc_decodeflags","bis_fnc_twowingdoortwohandleclose","bis_fnc_getobjectbbd","bis_fnc_egspectatordraw3d","bis_fnc_dataterminalcolor","bis_fnc_modulesupportsinitprovidervirtual","bis_fnc_overviewterrain","bis_fnc_dotproduct","bis_fnc_vrcourselaunchers3","bis_fnc_moduleprojectile","bis_fnc_initmodules_ordnance","bis_fnc_setunitinsignia","bis_fnc_getunitinsignia","bis_fnc_getrespawninventories","bis_fnc_dbsymbolclass","bis_fnc_dbvaluelist","bis_fnc_assignplayerrole","bis_fnc_boundingboxmarker","bis_fnc_magnitude","bis_fnc_unitvector","bis_fnc_skirmishtrigger","bis_fnc_initmodules_audio","bis_fnc_sortalphabetically","bis_fnc_inv","bis_fnc_modulecuratoraddpoints","bis_fnc_setmissionstatusslot","bis_fnc_prepareao","bis_fnc_disableloading","bis_fnc_taskhint","bis_fnc_missilelaunchpositionfix","bis_fnc_help","bis_fnc_inanglesector","bis_fnc_curatorobjectregisteredtable","bis_fnc_initrespawnbackpack","bis_fnc_paramviewdistance","bis_fnc_modulepunishment","bis_fnc_localize","bis_fnc_displaycolorget","bis_fnc_dbimportconfig","bis_fnc_vectordiff","bis_fnc_moduleweather","bis_fnc_moduleobjectivesector","bis_fnc_ambientflyby","bis_fnc_onplayerconnected","bis_fnc_feedbackinit","bis_fnc_unitcapture","bis_fnc_arrayunshift","bis_fnc_spawncrew","bis_fnc_playendmusic","bis_fnc_moduleeffectsfire","bis_fnc_modulecreatediaryrecord","bis_fnc_loadfunctions","bis_fnc_missiontaskslocal","bis_fnc_validateparametersoo","bis_fnc_establishingshot","bis_fnc_texttiles","bis_fnc_getvirtualmagazinecargo","bis_fnc_target","bis_fnc_listcuratorplayers","bis_fnc_setfog","bis_fnc_initmodules_intel","bis_fnc_error","bis_fnc_getcfgdatapool","bis_fnc_isinsidearea","bis_fnc_kbmenu","bis_fnc_setidentity","bis_fnc_displayclouds","bis_fnc_configextremes","bis_fnc_orbatconfigpreview","bis_fnc_helicoptercanfly","bis_fnc_curatorobjectregistered","bis_fnc_ffvupdate","bis_fnc_initmodules_animals","bis_fnc_allsynchronizedobjects","bis_fnc_initplayable","bis_fnc_tasksetdestination","bis_fnc_diagjiralink","bis_fnc_exportfunctionstowiki","bis_fnc_modulefdcpout","bis_fnc_paramweather","bis_fnc_taskattack","bis_fnc_bleedtickets","bis_fnc_overviewauthor","bis_fnc_dbimportxml","bis_fnc_diagmacrosauthor","bis_fnc_respawncounter","bis_fnc_vrcoursecommandingactions1","bis_fnc_showcuratorfeedbackmessage","bis_fnc_moduleslingload","bis_fnc_diagknowntargets","bis_fnc_quotations","bis_fnc_configpath","bis_fnc_taskcompleted","bis_fnc_diagaarrecord","bis_fnc_scenegetobjects","bis_fnc_vrcoursecommandingactions2","bis_fnc_moduleai","bis_fnc_modulemissionname","bis_fnc_modulettcpin","bis_fnc_ftlmanager","bis_fnc_randomindex","bis_fnc_vrcoursecommandingactions3","bis_fnc_curatorrespawn","bis_fnc_curatorautomaticpositions","bis_fnc_moduletracers","bis_fnc_subclasses","bis_fnc_removesupportlink","bis_fnc_splitstring","bis_fnc_unpackstaticweapon","bis_fnc_radialred","bis_fnc_vrfadein","bis_fnc_livefeedmoduleinit","bis_fnc_initmodules_multiplayer","bis_fnc_execvm","bis_fnc_relposobject","bis_fnc_terraingradangle","bis_fnc_shakegauges","bis_fnc_scenegetpositionbyangle","bis_fnc_objectsgrabber","bis_fnc_curatorobjectplaced","bis_fnc_livefeed","bis_fnc_respawnnone","bis_fnc_moduleunits","bis_fnc_animtype","bis_fnc_sandstorm","bis_fnc_nearestposition","bis_fnc_selectcrew","bis_fnc_modulechat","bis_fnc_modulecuratoraddaddons","bis_fnc_moduleobjectiveracefinish","bis_fnc_feedback_fatiguecc","bis_fnc_ordinalnumber","bis_fnc_dbclassid","bis_fnc_registercuratorobject","bis_fnc_vrcoursehelislingload1","bis_fnc_modulecombatgetin","bis_fnc_modulerating","bis_fnc_moduleskiptime","bis_fnc_feedback_fatigueradialblur","bis_fnc_taskdescription","bis_fnc_moduletaskcreate","bis_fnc_moduleammo","bis_fnc_effectkilledairdestructionstage2","bis_fnc_instructorfigure","bis_fnc_livefeedsetsource","bis_fnc_addtopairs","bis_fnc_credits","bis_fnc_buildingpositions","bis_fnc_getrespawnmarkers","bis_fnc_posdegtoutm","bis_fnc_addvirtualbackpackcargo","bis_fnc_moveaction","bis_fnc_modulemptypesectorcontrol","bis_fnc_damagepulsing","bis_fnc_taskcurrent","bis_fnc_diagmissionpositions","bis_fnc_findnestedelement","bis_fnc_vrcoursetargetdesignation1","bis_fnc_monthdays","bis_fnc_helicopterseatmove","bis_fnc_invslotsempty","bis_fnc_commsmenutogglevisibility","bis_fnc_vrcoursetargetdesignation2","bis_fnc_moduleskill","bis_fnc_diagaarrecord_fsm","bis_fnc_respawnendmission","bis_fnc_selectrespawntemplate","bis_fnc_ambientblacklistadd","bis_fnc_livefeedeffects","bis_fnc_vrcoursetargetdesignation3","bis_fnc_iscuratoreditable","bis_fnc_curatorchallengegetinvehicle","bis_fnc_neutralizeunit","bis_fnc_moduleanimals","bis_fnc_dbisclass","bis_fnc_kbisspeaking","bis_fnc_arraypushstack","bis_fnc_invstring","bis_fnc_effectfiredartillery","bis_fnc_iscampaign","bis_fnc_changesupportradiochannel","bis_fnc_boundingboxcorner","bis_fnc_modulezoneprotection","bis_fnc_initmodules_objectives","bis_fnc_limitsupport","bis_fnc_trimstring","bis_fnc_dbclasslist","bis_fnc_diagknownastarget","bis_fnc_createobjectoo","bis_fnc_kmlimport","bis_fnc_randomint","bis_fnc_diagpreviewvehiclecrew","bis_fnc_crewcount","bis_fnc_dbvalueset","bis_fnc_conditionalselect","bis_fnc_scenesetanimationsforgroup","bis_fnc_setobjecttexture","bis_fnc_modulecuratorsetcostsdefault","bis_fnc_modulecountdown","bis_fnc_respawninstant","bis_fnc_teamcolor","bis_fnc_deletetask","bis_fnc_swapvars","bis_fnc_setcuratorattributes","bis_fnc_keycode","bis_fnc_animviewer","bis_fnc_objecttype","bis_fnc_gcinit","bis_fnc_removevirtualitemcargo","bis_fnc_moduledooropen","bis_fnc_removecommmenuitem","bis_fnc_orbatsetgroupparams","bis_fnc_rankparams","bis_fnc_initrespawn","bis_fnc_randompostrigger","bis_fnc_vrcoursecommandingmovement1","bis_fnc_livefeedmodulesettarget","bis_fnc_modulebootcampstage","bis_fnc_moduleobjectivemove","bis_fnc_typetext","bis_fnc_fatigueeffect","bis_fnc_countdown","bis_fnc_customgps","bis_fnc_getlinedist","bis_fnc_taskpatrol","bis_fnc_vrcoursecommandingmovement2","bis_fnc_moduletasksetdescription","bis_fnc_livefeedmoduleeffects","bis_fnc_moduledamage","bis_fnc_paramdaytime","bis_fnc_guigridtoprofile","bis_fnc_curatorobjectedited","bis_fnc_moduleeffectsshells","bis_fnc_animalsitespawn","bis_fnc_modulesfx","bis_fnc_guieffecttiles","bis_fnc_sideid","bis_fnc_moduletimetrial","bis_fnc_unitplayfiring","bis_fnc_setdate","bis_fnc_kbtell","bis_fnc_exportcfgvehicles","bis_fnc_incapacitatedeffect","bis_fnc_selectrandom","bis_fnc_vectoradd","bis_fnc_spawngroup","bis_fnc_removedestroyedcuratoreditableobjects","bis_fnc_modulevolume","bis_fnc_startloadingscreen_ids","bis_fnc_uniqueclasses","bis_fnc_getcfgdataobject","bis_fnc_scenesetbehaviour","bis_fnc_vectorfromxtoy","bis_fnc_vrcourseplaceables1","bis_fnc_modulearsenal","bis_fnc_modulecuratorsetobjectcost","bis_fnc_modulecuratorsetcoefs","bis_fnc_romannumeral","bis_fnc_diagloop","bis_fnc_diagradio","bis_fnc_overviewmission","bis_fnc_numberdigits","bis_fnc_vrcourseplaceables2","bis_fnc_moduleobjectiveracestart","bis_fnc_initmodules_no_category","bis_fnc_errormsg","bis_fnc_consolidatearray","bis_fnc_taskchildren","bis_fnc_addrespawninventory","bis_fnc_customgpsvideo","bis_fnc_returnvehicleturrets","bis_fnc_vrcourseplaceables3","bis_fnc_moduleposter","bis_fnc_initmodules_groupmodifiers","bis_fnc_initmodules_chemlights","bis_fnc_rsclayer_list","bis_fnc_startloadingscreen","bis_fnc_effectplankton","bis_fnc_paramrespawntickets","bis_fnc_modulecuratorsetcostsvehicleclass","bis_fnc_effectfiredlongsmoke","bis_fnc_setrank","bis_fnc_distance2dsqr","bis_fnc_zzrotate","bis_fnc_sceneintruderdetector","bis_fnc_curatorchallengefireweapon","bis_fnc_isloading","bis_fnc_overviewtimetrial","bis_fnc_earthquake","bis_fnc_texturemarker","bis_fnc_arrayfinddeep","bis_fnc_setcuratorvisionmodes","bis_fnc_locweaponinfo","bis_fnc_disablesaving","bis_fnc_singlemissionconfig","bis_fnc_setnestedelement","bis_fnc_taskdefend","bis_fnc_vrcoursecommandingbehaviour1","bis_fnc_initmodules_training","bis_fnc_movein","bis_fnc_scriptedmove","bis_fnc_maxdiffarray","bis_fnc_arsenal","bis_fnc_vrcoursecommandingbehaviour2","bis_fnc_modulepostprocess","bis_fnc_moduleobjectivegetin","bis_fnc_packstaticweapon","bis_fnc_addstackedeventhandler","bis_fnc_ambientanim","bis_fnc_diagkey","bis_fnc_respawntimepenalty","bis_fnc_modulemodules","bis_fnc_jukebox","bis_fnc_modulettcptrigger","bis_fnc_showmissionstatus","bis_fnc_missiontimeleft","bis_fnc_loadclass","bis_fnc_vrcoursecommandingbehaviour3","bis_fnc_playsound","bis_fnc_diagconfig","bis_fnc_addsupportlink","bis_fnc_diagmissionweapons","bis_fnc_addweapon","bis_fnc_helicoptergethitpoints","bis_fnc_removevirtualmagazinecargo","bis_fnc_animatetaskwaypoint","bis_fnc_modulerespawnvehicle","bis_fnc_moduleremotecontrol","bis_fnc_filterstring","bis_fnc_movetorespawnposition","bis_fnc_progressloadingscreen","bis_fnc_markercreate","bis_fnc_classweapon","bis_fnc_scenemiscstuff","bis_fnc_getvirtualitemcargo","bis_fnc_removevirtualweaponcargo","bis_fnc_moduletimemultiplier","bis_fnc_guieditor","bis_fnc_dbsymbolvalue","bis_fnc_dbclasscheck","bis_fnc_flameseffect","bis_fnc_completedcuratorchallengescount","bis_fnc_moduleendmission","bis_fnc_modulerespawntickets","bis_fnc_moduleexecute","bis_fnc_displayname","bis_fnc_respawnmanager","bis_fnc_returnparents","bis_fnc_isinfrontof","bis_fnc_initcuratorattribute","bis_fnc_getcfgdataarray","bis_fnc_functionsdebug","bis_fnc_playvideo","bis_fnc_addvirtualweaponcargo","bis_fnc_getvirtualbackpackcargo","bis_fnc_isforcedcuratorinterface","bis_fnc_moduleobjectivetarget","bis_fnc_animalbehaviour","bis_fnc_camera","bis_fnc_diagwiki","bis_fnc_blackin","bis_fnc_returnnestedelement","bis_fnc_arithmeticmean","bis_fnc_showcuratorattributes","bis_fnc_initmodules_strategicmap","bis_fnc_dbvaluecheck","bis_fnc_respawnspectator","bis_fnc_camfollow","bis_fnc_orbatremovegroupoverlay","bis_fnc_diagvehicleicons","bis_fnc_nearestnum","bis_fnc_respawnmenuspectator","bis_fnc_modulesound","bis_fnc_wppatrol","bis_fnc_dbvalueremove","bis_fnc_instring","bis_fnc_taskcreate","bis_fnc_guimessage","bis_fnc_vrcourseheliadvanced1","bis_fnc_tridenthandledamage","bis_fnc_feedbackmain","bis_fnc_spawnobjects","bis_fnc_typetext2","bis_fnc_posutmtodeg","bis_fnc_curatorchallengeilluminate","bis_fnc_vrcourseheliadvanced2","bis_fnc_modulecuratoraddcameraarea","bis_fnc_ambientplanes","bis_fnc_strategicmapopen","bis_fnc_hudlimits","bis_fnc_scenesetobjects","bis_fnc_vrcourseheliadvanced3","bis_fnc_arrayshuffle","bis_fnc_boundingboxdimensions","bis_fnc_tracebullets","bis_fnc_exportcuratorcosttable","bis_fnc_vrcourseheliadvanced4","bis_fnc_tridentexecute","bis_fnc_modulerespawnposition","bis_fnc_weaponcomponents","bis_fnc_texturevehicleicon","bis_fnc_variablespaceremove","bis_fnc_curatorpinged","bis_fnc_vrcourseheliadvanced5","bis_fnc_init","bis_fnc_feedback_burningtimer","bis_fnc_loop","bis_fnc_displayresize","bis_fnc_cutdecimals","bis_fnc_miscanim","bis_fnc_vrcourseheliadvanced6","bis_fnc_initmodules_effects","bis_fnc_credits_movie","bis_fnc_moduleeffectsemittercreator","bis_fnc_modulemptypedefense","bis_fnc_markwaypoints","bis_fnc_trackmissiontime","bis_fnc_paramguerfriendly","bis_fnc_diarymaps","bis_fnc_sidename","bis_fnc_noflyzonesexport","bis_fnc_keypointsexportfromkml","bis_fnc_flies","bis_fnc_relpos","bis_fnc_managecuratoraddons","bis_fnc_initmodules_smokeshells","bis_fnc_initmodules_flares","bis_fnc_shownotification","bis_fnc_modulefiringdrill","bis_fnc_displaymission","bis_fnc_initdisplay","bis_fnc_kbsentence","bis_fnc_moduleinit","bis_fnc_initdisplays","bis_fnc_diaganim","bis_fnc_supplydrop","bis_fnc_curatorattributes","bis_fnc_isunitvirtual","bis_fnc_getcfgisclass","bis_fnc_helicopterdamage","bis_fnc_randompos","bis_fnc_secondstostring","bis_fnc_parsenumber","bis_fnc_saymessage","bis_fnc_vrcourseheliweapons1","bis_fnc_removescriptedeventhandler","bis_fnc_tasksetdescription","bis_fnc_enemytargets","bis_fnc_openfieldmanual","bis_fnc_triggertomarker","bis_fnc_paramin","bis_fnc_respawntickets","bis_fnc_modulefdstatsclear","bis_fnc_keypointsexport","bis_fnc_playername","bis_fnc_dynamictext","bis_fnc_arraypush","bis_fnc_version","bis_fnc_removecuratoricon","bis_fnc_vrcourseheliweapons2","bis_fnc_modulefuel","bis_fnc_diagaar","bis_fnc_exportcfgmagazines","bis_fnc_getidc","bis_fnc_initmultiplayer","bis_fnc_nearesthelipad","bis_fnc_vrcourseheliweapons3","bis_fnc_modulesimulationmanager","bis_fnc_feedback_damageblur","bis_fnc_getidd","bis_fnc_settopairs","bis_fnc_wpartillery","bis_fnc_briefinginit","bis_fnc_addclassoo","bis_fnc_orbatanimate","bis_fnc_param","bis_fnc_scriptedwaypointtype","bis_fnc_position","bis_fnc_curatorchallengefindintel","bis_fnc_vrcourseheliweapons4","bis_fnc_modulemode","bis_fnc_modulespawnaioptions","bis_fnc_feedback_damagecc","bis_fnc_tasksetstate","bis_fnc_taskvar","bis_fnc_gc","bis_fnc_configviewer","bis_fnc_classmagazine","bis_fnc_getcfgdatabool","bis_fnc_blackout","bis_fnc_dbisvalue","bis_fnc_titlecard","bis_fnc_friendlysides","bis_fnc_crows","bis_fnc_unitcapturesimple","bis_fnc_addevidence","bis_fnc_objectsmapper","bis_fnc_getcfgdata","bis_fnc_tasksunit","bis_fnc_relscaleddist","bis_fnc_effectfiredhelirocket","bis_fnc_noflyzone","bis_fnc_counter","bis_fnc_radiosetplaylist","bis_fnc_returnconfigentry","bis_fnc_wpland","bis_fnc_missionflow","bis_fnc_refreshcommmenu","bis_fnc_missionhandlers","bis_fnc_getparamvalue","bis_fnc_helicopterseat","bis_fnc_locations","bis_fnc_absspeed","bis_fnc_addcuratorchallenge","bis_fnc_modulecuratorsetattributes","bis_fnc_settask","bis_fnc_displayloading","bis_fnc_ondiarychanged","bis_fnc_ambienthelicopters","bis_fnc_moduletriggers","bis_fnc_genericsentence","bis_fnc_savegame","bis_fnc_greatestnum","bis_fnc_scenecreatescenetrigger","bis_fnc_scenecheckweapons","bis_fnc_estimatedtimeleft","bis_fnc_sortby","bis_fnc_removestackedeventhandler","bis_fnc_postogrid","bis_fnc_tridentsetrelationship","bis_fnc_modulestrategicmaporbat","bis_fnc_modulecuratorseteditingareatype","bis_fnc_initmodules_objectmodifiers","bis_fnc_effectkilledsecondaries","bis_fnc_kbtopicconfig","bis_fnc_modulettcpout","bis_fnc_preload","bis_fnc_roundnum","bis_fnc_vrfadeout","bis_fnc_curatorattachobject","bis_fnc_moduleeffectssmoke","bis_fnc_endloadingscreen","bis_fnc_modulettcpclear","bis_fnc_music","bis_fnc_linearconversion","bis_fnc_magnitudesqr","bis_fnc_vrtimer","bis_fnc_drawcuratorlocations","bis_fnc_indicatebleeding","bis_fnc_effectfiredflares","bis_fnc_dbconfigpath","bis_fnc_rsclayer","bis_fnc_playersidefaction","bis_fnc_removeindex","bis_fnc_selectdiarysubject","bis_fnc_livefeedmodulesetsource","bis_fnc_guigrid","bis_fnc_briefinganimate","bis_fnc_sidecolor","bis_fnc_3dcredits","bis_fnc_setovercast","bis_fnc_modulestrategicmapmission","bis_fnc_effectfired","bis_fnc_nearestroad","bis_fnc_singlemissionkeys","bis_fnc_modulebleedtickets","bis_fnc_radialredout","bis_fnc_colorrgbatotexture","bis_fnc_threat","bis_fnc_commsmenutoggleavailability","bis_fnc_addcuratorareafromtrigger","bis_fnc_curatorvisionmodes","bis_fnc_curatorhint","bis_fnc_moduleeffectsbubbles","bis_fnc_execfsm","bis_fnc_diaghit","bis_fnc_fadeeffect","bis_fnc_exportinventory","bis_fnc_modulesavegame","bis_fnc_initmodules_respawn","bis_fnc_feedback_fatiguepp","bis_fnc_preload_server","bis_fnc_colorrgbatohtml","bis_fnc_ctrlfittotextheight","bis_fnc_codeperformance","bis_fnc_enemysides","bis_fnc_convertunits","bis_fnc_mpexec","bis_fnc_setpitchbank","bis_fnc_drawcuratordeaths","bis_fnc_guieffecttiles_ppchromaberration","bis_fnc_toupperdisplaytexts","bis_fnc_endmission","bis_fnc_sceneareaclearance","bis_fnc_initvirtualunit","bis_fnc_modulespawnai","bis_fnc_phoneticalword","bis_fnc_respawnconfirm","bis_fnc_taskparent","bis_fnc_findinpairs","bis_fnc_basicbackpack","bis_fnc_arraycompare","bis_fnc_sortnum","bis_fnc_addvirtualitemcargo","bis_fnc_endmissionserver","bis_fnc_initmodules_firingdrills","bis_fnc_feedback_damageradialblur","bis_fnc_isinzoom","bis_fnc_dbprint","bis_fnc_addcommmenuitem","bis_fnc_dirindicator","bis_fnc_selectrandomweighted","bis_fnc_respawnrounds","bis_fnc_synchronizedobjects","bis_fnc_kbcanspeak","bis_fnc_groupvehicles","bis_fnc_dbvalueid","bis_fnc_ambientanimcombat","bis_fnc_functionpath","bis_fnc_missionconversations","bis_fnc_orbatsetgroupfade","bis_fnc_curatorwaypointplaced","bis_fnc_curatorsaymessage","bis_fnc_curatorchallengedestroyvehicle","bis_fnc_getservervariable","bis_fnc_modulemine","bis_fnc_createlogrecord","bis_fnc_runlater","bis_fnc_enemydetected","bis_fnc_arraypop","bis_fnc_scenegetparticipants","bis_fnc_scenecreatesoundentities","bis_fnc_modulecreateprojectile","bis_fnc_loadinventory","bis_fnc_wpsuppress","bis_fnc_displaycontrols","bis_fnc_dbvaluereturn","bis_fnc_removerespawnposition","bis_fnc_scenerotate","bis_fnc_modulecuratoraddeditingareaplayers","bis_fnc_onload","bis_fnc_dirto","bis_fnc_mirrorcuratorsettings","bis_fnc_locationdescription","bis_fnc_tridentgetrelationship","bis_fnc_importimagelinks","bis_fnc_showunitinfo","bis_fnc_guinewsfeed","bis_fnc_feedback_testhelper","bis_fnc_cinemaborder","bis_fnc_diagbulletcam","bis_fnc_shutdown","bis_fnc_executestackedeventhandler","bis_fnc_showmarkers","bis_fnc_curatorautomatic","bis_fnc_respawngroup","bis_fnc_credits_movieconfig","bis_fnc_ctrlsetscale","bis_fnc_invslottype","bis_fnc_togglecuratorvisionmode","bis_fnc_modulelightning","bis_fnc_initmodules_environment","bis_fnc_feedback_allowdeathscreen","bis_fnc_vrspawneffect","bis_fnc_exportcfggroups","bis_fnc_initmodules_supports","bis_fnc_modulettcptriggerbehind","bis_fnc_pip","bis_fnc_effectkilled","bis_fnc_markertotrigger","bis_fnc_spawnenemy","bis_fnc_invcodetoarray","bis_fnc_commsmenucreate","bis_fnc_addvirtualmagazinecargo","bis_fnc_addcuratoricon","bis_fnc_didjip","bis_fnc_moduleunlockarea","bis_fnc_modulecas","bis_fnc_cameraold","bis_fnc_colorconfigtorgba","bis_fnc_setrespawndelay","bis_fnc_setobjectrotation","bis_fnc_getcfgsubclasses","bis_fnc_setrespawninventory","bis_fnc_iscurator","bis_fnc_modulegroupid","bis_fnc_dbclassremove","bis_fnc_advhintcredits","bis_fnc_rounddir","bis_fnc_numbertext","bis_fnc_moduletrident","bis_fnc_showrespawnmenu","bis_fnc_halo","bis_fnc_intrigger","bis_fnc_vreffectkilled","bis_fnc_shakecuratorcamera","bis_fnc_managecuratorchallenges","bis_fnc_formatcuratorchallengeobjects","bis_fnc_modulemptypegroundsupport","bis_fnc_initmodules_modes","bis_fnc_feedback_blue","bis_fnc_respawnmenuinventory","bis_fnc_invremove","bis_fnc_showtime","bis_fnc_modulemptypegamemaster","bis_fnc_initmodules_missionflow","bis_fnc_unitaddon","bis_fnc_diaryhints","bis_fnc_setidcstreamfriendly","bis_fnc_initparams","bis_fnc_removerespawninventory","bis_fnc_modulefriendlyfire","bis_fnc_moduleobjectiveracecp","bis_fnc_respawnbase","bis_fnc_getfrompairs","bis_fnc_interpolateweather","bis_fnc_unitcapturefiring","bis_fnc_vrdrawborder","bis_fnc_activateaddons","bis_fnc_modulegenericradio","bis_fnc_modulestrategicmapopen","bis_fnc_missiontasks","bis_fnc_fixdate","bis_fnc_diagkeytest","bis_fnc_updateplayerarray","bis_fnc_diagmacrosnamesound","bis_fnc_halt","bis_fnc_healtheffects","bis_fnc_helicoptertype","bis_fnc_effectfiredrocket","bis_fnc_missionrespawntype","bis_fnc_isleapyear","bis_fnc_setppeffecttemplate","bis_fnc_spotter","bis_fnc_getfactions","bis_fnc_removevirtualbackpackcargo","bis_fnc_modulecuratoraddeditableobjects","bis_fnc_modulecuratoraddicon","bis_fnc_mapsize","bis_fnc_diagpreview","bis_fnc_diagmacrosverify","bis_fnc_modulefdfademarker","bis_fnc_posdegtoworld","bis_fnc_respect","bis_fnc_moduleunlockobject","bis_fnc_modulecuratorsetcamera","bis_fnc_guihint","bis_fnc_diagmacros","bis_fnc_livefeedterminate","bis_fnc_wprelax","bis_fnc_healing","bis_fnc_overviewdifficulty","bis_fnc_getunitbyuid","bis_fnc_logformat","bis_fnc_ambientpostprocess","bis_fnc_fps","bis_fnc_vrcoursehelibasics1","bis_fnc_tridentclient","bis_fnc_modulestrategicmapimage","bis_fnc_diagmacrosmapsize","bis_fnc_removeallscriptedeventhandlers","bis_fnc_addscore","bis_fnc_livefeedsettarget","bis_fnc_markerpath","bis_fnc_rotatevector2d","bis_fnc_vrcourseballistics1","bis_fnc_vrcoursehelibasics2","bis_fnc_modulemptypeseize","bis_fnc_orbataddgroupoverlay","bis_fnc_respawnseagull","bis_fnc_taskstate","bis_fnc_vectormultiply","bis_fnc_vrcourseballistics2","bis_fnc_forcecuratorinterface","bis_fnc_vrcoursehelibasics3","bis_fnc_effectfiredsmokelauncher_boat","bis_fnc_kbcreatedummy","bis_fnc_infotext","bis_fnc_vrcourseballistics3","bis_fnc_dbclassset","bis_fnc_isbuildingenterable","bis_fnc_orbatgetgroupparams","bis_fnc_objectheight","bis_fnc_recompile","bis_fnc_invslots","bis_fnc_colorrgbtohtml","bis_fnc_randomnum","bis_fnc_vrcourseballistics4","bis_fnc_drawao","bis_fnc_initmodules_events","bis_fnc_returnchildren","bis_fnc_sidetype","bis_fnc_unitplay","bis_fnc_arrayinsert","bis_fnc_areequal","bis_fnc_crossproduct","bis_fnc_feedback_fatigueblur","bis_fnc_initmodules","bis_fnc_gridtopos","bis_fnc_addscriptedeventhandler","bis_fnc_returngroupcomposition","bis_fnc_moduleshowhide","bis_fnc_moduleobjective","bis_fnc_deletevehiclecrew","bis_fnc_callscriptedeventhandler","bis_fnc_weaponaddon","bis_fnc_spawn","bis_fnc_findextreme","bis_fnc_geometricmean","bis_fnc_transportservice","bis_fnc_modulehealth","bis_fnc_preload_init","bis_fnc_genericsentenceinit","bis_fnc_missionconversationslocal","bis_fnc_taskdestination","bis_fnc_call","bis_fnc_diagfindmissingauthors","bis_fnc_respawnmenuposition","bis_fnc_advhint","bis_fnc_exportcfgpatches","bis_fnc_exportgroupformations","bis_fnc_paramcountdown","bis_fnc_radiosetchannel","bis_fnc_modulecuratoraddeditingarea","bis_fnc_mp_packet","bis_fnc_objectvar","bis_fnc_tasksetcurrent","bis_fnc_findoverwatch","bis_fnc_effectfiredsmokelauncher","bis_fnc_respawnwave","bis_fnc_settasklocal","bis_fnc_ambientblacklist","bis_fnc_curatorchallengespawnlightning","bis_fnc_destroycity","bis_fnc_arrayshift","bis_fnc_invadd","bis_fnc_supplydropservice","bis_fnc_variablespaceadd","bis_fnc_deleteinventory","bis_fnc_modulesector","bis_fnc_modulestrategicmapinit","bis_fnc_modulediary","bis_fnc_initmodules_sites","bis_fnc_kbpriority","bis_fnc_forceend","bis_fnc_vehicleroles","bis_fnc_moduledate","bis_fnc_missionflow_fsm","bis_fnc_taskexists","bis_fnc_loadentry","bis_fnc_credits_moviesupport","bis_fnc_bloodeffect","bis_fnc_aligntabs","bis_fnc_log","bis_fnc_vrdrawgrid","bis_fnc_drawrespawnpositions","bis_fnc_modulezonerestriction","bis_fnc_modulespawnaipoint","bis_fnc_modulecuratorsetcostsside","bis_fnc_modulecovermap","bis_fnc_removefrompairs","bis_fnc_orbattooltip","bis_fnc_strategicmapmousebuttonclick","bis_fnc_modulehandle","bis_fnc_effectkilledairdestruction","bis_fnc_setheight","bis_fnc_removenestedelement","bis_fnc_spawnvehicle","bis_fnc_vrcoursecommandingvehicles1","bis_fnc_feedbackmain_fsm","bis_fnc_feedback_allowpp","bis_fnc_findsafepos","bis_fnc_isposblacklisted","bis_fnc_taskhandler","bis_fnc_getvirtualweaponcargo","bis_fnc_vrcoursecommandingvehicles2","bis_fnc_modulespawnaisectortactic","bis_fnc_moduleobjectivefind","bis_fnc_diagpreviewcycle","bis_fnc_advhintcall","bis_fnc_respawnside","bis_fnc_modulefdcpin","bis_fnc_subselect","bis_fnc_scenesetposformation","bis_fnc_vrcoursecommandingvehicles3","bis_fnc_playmusic","bis_fnc_modulehint","bis_fnc_modulecurator","bis_fnc_setcuratorcamera","bis_fnc_modulefdskeetdestruction","bis_fnc_objectside","bis_fnc_modulerank","bis_fnc_modulemptypegroundsupportbase","bis_fnc_strategicmapanimate","bis_fnc_ambientanimgetparams","bis_fnc_enablesaving","bis_fnc_displaycolorset","bis_fnc_drawcuratorrespawnmarkers","bis_fnc_setservervariable","bis_fnc_initmodules_curator","bis_fnc_ambientboats","bis_fnc_modulefdcpclear","bis_fnc_relativedirto","bis_fnc_listplayers","bis_fnc_modulepositioning","bis_fnc_modulerespawninventory","bis_fnc_kbtelllocal","bis_fnc_titletext","bis_fnc_groupindicator","bis_fnc_dirteffect","bis_fnc_onend","bis_fnc_islocalized","bis_fnc_singlemissionname","bis_fnc_radiosettrack","bis_fnc_baseweapon","bis_fnc_moduletasksetdestination","bis_fnc_getrespawnpositions","bis_fnc_basictask","bis_fnc_moduleradiochannelcreate","bis_fnc_dbclassindex","bis_fnc_modulettstatsclear","bis_fnc_exportcfghints","bis_fnc_diagkeylayout","bis_fnc_orbatopen","bis_fnc_ctrltextheight","bis_fnc_exportmaptobitxt","bis_fnc_isdemo","bis_fnc_distance2d","bis_fnc_timetostring","bis_fnc_finishcuratorchallenge","bis_fnc_moduleeffectsplankton","bis_fnc_modulehq","bis_fnc_feedback_damagepp","bis_fnc_guibackground","bis_fnc_getturrets","bis_fnc_functionmeta","bis_fnc_taskreal","bis_fnc_cargoturretindex","bis_fnc_dbclassreturn","bis_fnc_createmenu","bis_fnc_lowestnum","bis_fnc_saveinventory","bis_fnc_initintelobject","bis_fnc_damagechanged","bis_fnc_effectfiredrifle","bis_fnc_kbskip","bis_fnc_noflyzonescreate","bis_fnc_worldarea","bis_fnc_aan","bis_fnc_boundingcircle","bis_fnc_addrespawnposition","bis_fnc_arefriendly","bis_fnc_exportcfgweapons","bis_fnc_getpitchbank","bis_fnc_vrcourselaunchers1","bis_fnc_drawminefields","bis_fnc_moduletasksetstate","bis_fnc_advhintarg","bis_fnc_itemtype","bis_fnc_initexpo","bis_fnc_markerparams","bis_fnc_unitplaysimple","bis_fnc_vrspawnselector","bis_fnc_vrcourselaunchers2","bis_fnc_dooropen","bis_fnc_lockeddooropen","bis_fnc_revivebleedout","bis_fnc_keyhold","bis_fnc_debugprofile","bis_fnc_loadvehicle","bis_fnc_revivecontrol","bis_fnc_singlewingslidedoorclose","","bis_fnc_singlewingslidedooropen","bis_fnc_vrcourseweaponhandlingb1","bis_fnc_vrcourseweaponhandlingb2","bis_fnc_vrcourseweaponhandlingb3","bis_fnc_reviveincapacitate","bis_fnc_doornohandleclose","bis_fnc_sharedobjectives","bis_fnc_inventoryexists","bis_fnc_savevehicle","bis_fnc_setvehiclemass","bis_fnc_initvehiclekart","bis_fnc_animalrandomization","bis_fnc_modulefdballoonairdestruction","bis_fnc_twowingslidedooropen","bis_fnc_twowingdooronehandleclose","bis_taskmanagement_markers2d","bis_fnc_logformatserver","bis_fnc_modulefdballoonwaterdestruction","bis_fnc_revivesetstatus","bis_fnc_reviveexecutetemplates","bis_fnc_reviveiconmanager","bis_fnc_twowingdooronehandleopen","bis_fnc_vrhitpart","bis_fnc_initvehicle","bis_fnc_hatchopen","bis_fnc_unitheadgear","bis_fnc_vrcourseweaponhandlingc1","bis_fnc_vrcourseweaponhandlingc2","bis_fnc_reviveprogress","bis_fnc_exportvehicle","bis_fnc_objectinventoryanimatedopen","bis_fnc_reviveenabled","bis_fnc_reviveonplayerrespawn","bis_fnc_modulehvtobjective","bis_fnc_lockeddoornohandleopen","bis_fnc_modulehvtobjectives","bis_fnc_twowingslidedoorclose","bis_fnc_reviveiconcontrol","bis_fnc_modulehvtinit","bis_fnc_dynamicgroups","bis_fnc_doorclose","bis_fnc_reviveonplayerkilled","bis_fnc_doornohandleopen","bis_fnc_compatibleitems","bis_fnc_revivekeys","bis_fnc_basevehicle","bis_fnc_paramtimeacceleration","bis_fnc_hatchclose","bis_fnc_garage","bis_fnc_modulehvtobjectivesinstance","bis_fnc_reviveinit","bis_fnc_modulenametags","bis_fnc_versioninfo","bis_fnc_vrcourseweaponhandlinga1","bis_fnc_3dmarkers","bis_fnc_vrcourseweaponhandlinga2","bis_fnc_vrcourseweaponhandlinga3","bis_fnc_objectinventoryanimatedclose","bis_fnc_initvehiclecrew","bis_fnc_missionhandlers_reloads","bis_fnc_selectrespawntemplates_args"}; BIS_UI_Functions[] = {"bis_fnc_registercuratorobject_meta","bis_fnc_curatorautomatic_meta","bis_fnc_isloading_meta","bis_fnc_animalsitespawn_meta","bis_fnc_dbclassid_meta","bis_fnc_ambientplanes_meta","bis_fnc_invremove_meta","bis_fnc_fixdate_meta","bis_fnc_vrcourseheliweapons3_meta","bis_fnc_cargoturretindex_meta","bis_fnc_execvm_meta","bis_fnc_convertunits_meta","bis_fnc_magnitude_meta","bis_fnc_infotext_meta","bis_fnc_modulesector_meta","bis_fnc_skirmishtrigger_meta","bis_fnc_spawngroup_meta","bis_fnc_isinsidearea_meta","bis_fnc_deletetask_meta","bis_fnc_version_meta","bis_fnc_getrespawnmarkers_meta","bis_fnc_diagwiki_meta","bis_fnc_geometricmean_meta","bis_fnc_radiosetplaylist_meta","bis_fnc_advhintcredits_meta","bis_fnc_vrtimer_meta","bis_fnc_subclasses_meta","bis_fnc_exportinventory_meta","bis_fnc_destroycity_meta","bis_fnc_arrayshuffle_meta","bis_fnc_moduleslingload_meta","bis_fnc_fps_meta","bis_fnc_moduletriggers_meta","bis_fnc_tracebullets_meta","bis_fnc_moduleunlockobject_meta","bis_fnc_respawnmanager_meta","bis_fnc_titletext_meta","bis_fnc_getlinedist_meta","bis_fnc_vreffectkilled_meta","bis_fnc_shutdown_meta","bis_fnc_moduleweather_meta","bis_fnc_modulegenericradio_meta","bis_fnc_respawngroup_meta","bis_fnc_numberdigits_meta","bis_fnc_dbvalueindex_meta","bis_fnc_kmlimport_meta","bis_fnc_weaponaddon_meta","bis_fnc_drawcuratordeaths_meta","bis_fnc_blackout_meta","bis_fnc_interpolateweather_meta","bis_fnc_respect_meta","bis_fnc_displayname_meta","bis_fnc_moduleobjectivegetin_meta","bis_fnc_modulespawnai_meta","bis_fnc_playersidefaction_meta","bis_fnc_wpsuppress_meta","bis_fnc_texturemarker_meta","bis_fnc_customgpsvideo_meta","bis_fnc_taskattack_meta","bis_fnc_singlemissionconfig_meta","bis_fnc_modulesfx_meta","bis_fnc_moduleradiochannelcreate_meta","bis_fnc_vrcourseheliadvanced1_meta","bis_fnc_scriptedmove_meta","bis_fnc_dirteffect_meta","bis_fnc_respawnmenuposition_meta","bis_fnc_effectfiredflares_meta","bis_fnc_modulecuratorsetattributes_meta","bis_fnc_enemytargets_meta","bis_fnc_spawnenemy_meta","bis_fnc_scenesetanimationsforgroup_meta","bis_fnc_addrespawninventory_meta","bis_fnc_modulecuratoraddaddons_meta","bis_fnc_respawnwave_meta","bis_fnc_rankparams_meta","bis_fnc_initdisplays_meta","bis_fnc_noflyzonesexport_meta","bis_fnc_scriptedwaypointtype_meta","bis_fnc_findinpairs_meta","bis_fnc_vrcoursecommandingvehicles1_meta","bis_fnc_addvirtualitemcargo_meta","bis_fnc_removecommmenuitem_meta","bis_fnc_returnconfigentry_meta","bis_fnc_modulespawnaipoint_meta","bis_fnc_boundingboxcorner_meta","bis_fnc_setrespawndelay_meta","bis_fnc_removesupportlink_meta","bis_fnc_basicbackpack_meta","bis_fnc_getservervariable_meta","bis_fnc_diagloop_meta","bis_fnc_iscuratoreditable_meta","bis_fnc_getturrets_meta","bis_fnc_curatorchallengedestroyvehicle_meta","bis_fnc_tasksetdescription_meta","bis_fnc_selectdiarysubject_meta","bis_fnc_modulepostprocess_meta","bis_fnc_helicoptertype_meta","bis_fnc_kbcreatedummy_meta","bis_fnc_getpitchbank_meta","bis_fnc_strategicmapanimate_meta","bis_fnc_orbatremovegroupoverlay_meta","bis_fnc_getvirtualbackpackcargo_meta","bis_fnc_modulerespawnvehicle_meta","bis_fnc_drawrespawnpositions_meta","bis_fnc_unitplay_meta","bis_fnc_monthdays_meta","bis_fnc_dbvalueid_meta","bis_fnc_enemysides_meta","bis_fnc_isinzoom_meta","bis_fnc_ambientanimcombat_meta","bis_fnc_typetext_meta","bis_fnc_refreshcommmenu_meta","bis_fnc_modulefiringdrill_meta","bis_fnc_moduleeffectsshells_meta","bis_fnc_moduleobjectiveracefinish_meta","bis_fnc_getvirtualmagazinecargo_meta","bis_fnc_endmissionserver_meta","bis_fnc_setdate_meta","bis_fnc_errormsg_meta","bis_fnc_helicopterseatmove_meta","bis_fnc_arrayunshift_meta","bis_fnc_diagpreviewvehiclecrew_meta","bis_fnc_dbimportxml_meta","bis_fnc_sortnum_meta","bis_fnc_vrcourseheliweapons4_meta","bis_fnc_boundingcircle_meta","bis_fnc_effectfiredrocket_meta","bis_fnc_music_meta","bis_fnc_addclassoo_meta","bis_fnc_curatorchallengefireweapon_meta","bis_fnc_codeperformance_meta","bis_fnc_commsmenucreate_meta","bis_fnc_numbertext_meta","bis_fnc_tridentgetrelationship_meta","bis_fnc_curatorattachobject_meta","bis_fnc_modulecuratoraddeditableobjects_meta","bis_fnc_damagepulsing_meta","bis_fnc_getvirtualweaponcargo_meta","bis_fnc_addvirtualweaponcargo_meta","bis_fnc_moduleammo_meta","bis_fnc_miscanim_meta","bis_fnc_modulecuratorsetcoefs_meta","bis_fnc_singlemissionkeys_meta","bis_fnc_playmusic_meta","bis_fnc_respawnbase_meta","bis_fnc_taskhint_meta","bis_fnc_invslots_meta","bis_fnc_configpath_meta","bis_fnc_deletevehiclecrew_meta","bis_fnc_modulefdcpclear_meta","bis_fnc_instructorfigure_meta","bis_fnc_spawnvehicle_meta","bis_fnc_dbprint_meta","bis_fnc_validateparametersoo_meta","bis_fnc_modulecuratorseteditingareatype_meta","bis_fnc_prepareao_meta","bis_fnc_filterstring_meta","bis_fnc_hudlimits_meta","bis_fnc_arraypop_meta","bis_fnc_radialred_meta","bis_fnc_loadentry_meta","bis_fnc_vrcourseplaceables1_meta","bis_fnc_vrdrawborder_meta","bis_fnc_islocalized_meta","bis_fnc_modulecuratorsetcostsdefault_meta","bis_fnc_arefriendly_meta","bis_fnc_displaycolorset_meta","bis_fnc_kbsentence_meta","bis_fnc_arsenal_meta","bis_fnc_fadeeffect_meta","bis_fnc_settopairs_meta","bis_fnc_initmultiplayer_meta","bis_fnc_modulegroupid_meta","bis_fnc_modulebootcampstage_meta","bis_fnc_instring_meta","bis_fnc_moduleobjectivetarget_meta","bis_fnc_paramweather_meta","bis_fnc_customgps_meta","bis_fnc_effectkilled_meta","bis_fnc_vrcourseballistics1_meta","bis_fnc_enemydetected_meta","bis_fnc_locationdescription_meta","bis_fnc_vrcourseheliadvanced2_meta","bis_fnc_moduletaskcreate_meta","bis_fnc_moduletasksetdestination_meta","bis_fnc_orbatanimate_meta","bis_fnc_getunitinsignia_meta","bis_fnc_getrespawnpositions_meta","bis_fnc_ftlmanager_meta","bis_fnc_forcecuratorinterface_meta","bis_fnc_countdown_meta","bis_fnc_modulemine_meta","bis_fnc_managecuratorchallenges_meta","bis_fnc_invslottype_meta","bis_fnc_colorrgbatohtml_meta","bis_fnc_objectsgrabber_meta","bis_fnc_arrayinsert_meta","bis_fnc_swapvars_meta","bis_fnc_basictask_meta","bis_fnc_randomint_meta","bis_fnc_objectvar_meta","bis_fnc_modulebleedtickets_meta","bis_fnc_supplydropservice_meta","bis_fnc_modulehint_meta","bis_fnc_ctrlsetscale_meta","bis_fnc_removefrompairs_meta","bis_fnc_vrcoursecommandingvehicles2_meta","bis_fnc_showtime_meta","bis_fnc_formatcuratorchallengeobjects_meta","bis_fnc_diagknownastarget_meta","bis_fnc_dbisvalue_meta","bis_fnc_moduledate_meta","bis_fnc_modulemissionname_meta","bis_fnc_unitaddon_meta","bis_fnc_halt_meta","bis_fnc_unitvector_meta","bis_fnc_dotproduct_meta","bis_fnc_livefeedmodulesettarget_meta","bis_fnc_groupindicator_meta","bis_fnc_titlecard_meta","bis_fnc_scenegetobjects_meta","bis_fnc_moduletrident_meta","bis_fnc_bleedtickets_meta","bis_fnc_setmissionstatusslot_meta","bis_fnc_modulehandle_meta","bis_fnc_vrspawnselector_meta","bis_fnc_modulevolume_meta","bis_fnc_moduleeffectsfire_meta","bis_fnc_addcuratoricon_meta","bis_fnc_playername_meta","bis_fnc_iscurator_meta","bis_fnc_savegame_meta","bis_fnc_cutdecimals_meta","bis_fnc_diagpreview_meta","bis_fnc_exportcfgmagazines_meta","bis_fnc_returnchildren_meta","bis_fnc_setrespawninventory_meta","bis_fnc_modulerating_meta","bis_fnc_modulemptypeseize_meta","bis_fnc_respawnspectator_meta","bis_fnc_taskchildren_meta","bis_fnc_feedbackinit_meta","bis_fnc_modulecreatediaryrecord_meta","bis_fnc_estimatedtimeleft_meta","bis_fnc_taskcreate_meta","bis_fnc_call_meta","bis_fnc_camera_meta","bis_fnc_boundingboxdimensions_meta","bis_fnc_3dcredits_meta","bis_fnc_timetostring_meta","bis_fnc_exportcuratorcosttable_meta","bis_fnc_configviewer_meta","bis_fnc_vectormultiply_meta","bis_fnc_nearesthelipad_meta","bis_fnc_findoverwatch_meta","bis_fnc_help_meta","bis_fnc_diagjiralink_meta","bis_fnc_missionhandlers_meta","bis_fnc_vrcoursecommandingbehaviour1_meta","bis_fnc_selectrandom_meta","bis_fnc_areequal_meta","bis_fnc_vectoradd_meta","bis_fnc_moduleeffectssmoke_meta","bis_fnc_diagmacrosnamesound_meta","bis_fnc_lowestnum_meta","bis_fnc_moduleanimals_meta","bis_fnc_invslotsempty_meta","bis_fnc_groupvehicles_meta","bis_fnc_kbmenu_meta","bis_fnc_dbsymbolvalue_meta","bis_fnc_modulecuratorsetcamera_meta","bis_fnc_moduleobjective_meta","bis_fnc_tridentsetrelationship_meta","bis_fnc_tridenthandledamage_meta","bis_fnc_setovercast_meta","bis_fnc_incapacitatedeffect_meta","bis_fnc_kbtell_meta","bis_fnc_sideid_meta","bis_fnc_guieffecttiles_meta","bis_fnc_teamcolor_meta","bis_fnc_modulelightning_meta","bis_fnc_wpartillery_meta","bis_fnc_kbtopicconfig_meta","bis_fnc_strategicmapopen_meta","bis_fnc_target_meta","bis_fnc_modulestrategicmapimage_meta","bis_fnc_curatorchallengefindintel_meta","bis_fnc_position_meta","bis_functions_listpreinit","bis_fnc_diagmacros_meta","bis_fnc_objectheight_meta","bis_fnc_jukebox_meta","bis_fnc_paramguerfriendly_meta","bis_fnc_initplayable_meta","bis_fnc_diaghit_meta","bis_fnc_initrespawn_meta","bis_fnc_taskhandler_meta","bis_fnc_rotatevector2d_meta","bis_fnc_vrcourseplaceables2_meta","bis_fnc_dbclasscheck_meta","bis_fnc_curatorsaymessage_meta","bis_fnc_managecuratoraddons_meta","bis_fnc_addstackedeventhandler_meta","bis_fnc_livefeedterminate_meta","bis_fnc_radialredout_meta","bis_fnc_nearestposition_meta","bis_fnc_mirrorcuratorsettings_meta","bis_fnc_sidetype_meta","bis_fnc_modulecuratorsetcostsside_meta","bis_fnc_exportcfgvehicles_meta","bis_fnc_vrcourseballistics2_meta","bis_fnc_markwaypoints_meta","bis_fnc_nearestnum_meta","bis_fnc_romannumeral_meta","bis_fnc_paramin_meta","bis_fnc_vrcourseheliadvanced3_meta","bis_fnc_friendlysides_meta","bis_fnc_setunitinsignia_meta","bis_fnc_diagmacrosauthor_meta","bis_fnc_ambientblacklistadd_meta","bis_fnc_execfsm_meta","bis_fnc_removestackedeventhandler_meta","bis_fnc_modulezonerestriction_meta","bis_fnc_vrcoursetargetdesignation1_meta","bis_fnc_trimstring_meta","bis_fnc_scenecheckweapons_meta","bis_fnc_boundingboxmarker_meta","bis_fnc_drawcuratorrespawnmarkers_meta","bis_fnc_effectfiredsmokelauncher_boat_meta","bis_fnc_vrcoursecommandingvehicles3_meta","bis_fnc_scenegetparticipants_meta","bis_fnc_functionpath_meta","bis_fnc_modulesimulationmanager_meta","bis_fnc_supplydrop_meta","bis_fnc_setfog_meta","bis_fnc_guinewsfeed_meta","bis_fnc_updateplayerarray_meta","bis_fnc_guieditor_meta","bis_fnc_taskparent_meta","bis_fnc_createlogrecord_meta","bis_fnc_guigridtoprofile_meta","bis_fnc_dirto_meta","bis_fnc_spawnobjects_meta","bis_fnc_orbatsetgroupparams_meta","bis_fnc_runlater_meta","bis_fnc_assignplayerrole_meta","bis_fnc_trackmissiontime_meta","bis_fnc_moveaction_meta","bis_fnc_objecttype_meta","bis_fnc_missionrespawntype_meta","bis_fnc_orbattooltip_meta","bis_fnc_scenecreatescenetrigger_meta","bis_fnc_initintelobject_meta","bis_fnc_displayclouds_meta","bis_fnc_credits_movieconfig_meta","bis_fnc_saveinventory_meta","bis_fnc_ctrltextheight_meta","bis_fnc_scenerotate_meta","bis_fnc_orbatopen_meta","bis_fnc_vrcourselaunchers1_meta","bis_fnc_genericsentence_meta","bis_fnc_fatigueeffect_meta","bis_fnc_livefeedmodulesetsource_meta","bis_fnc_vrcoursecommandingbehaviour2_meta","bis_fnc_variablespaceadd_meta","bis_fnc_findsafepos_meta","bis_fnc_getidc_meta","bis_fnc_overviewtimetrial_meta","bis_fnc_sortby_meta","bis_fnc_setidcstreamfriendly_meta","bis_fnc_animalbehaviour_meta","bis_fnc_getparamvalue_meta","bis_fnc_enablesaving_meta","bis_fnc_addcuratorchallenge_meta","bis_fnc_modulemptypegamemaster_meta","bis_fnc_removerespawnposition_meta","bis_functions_list","bis_fnc_vrcoursecommandingmovement1_meta","bis_fnc_spotter_meta","bis_fnc_setcuratorcamera_meta","bis_fnc_blackin_meta","bis_fnc_paramdaytime_meta","bis_fnc_diarymaps_meta","bis_fnc_initparams_meta","bis_fnc_playvideo_meta","bis_fnc_sceneareaclearance_meta","bis_fnc_findnestedelement_meta","bis_fnc_scenesetposformation_meta","bis_fnc_moduleunlockarea_meta","bis_fnc_setcuratorvisionmodes_meta","bis_fnc_secondstostring_meta","bis_fnc_scenesetobjects_meta","bis_fnc_effectkilledairdestruction_meta","bis_fnc_getfactions_meta","bis_fnc_orbatsetgroupfade_meta","bis_fnc_modulefdfademarker_meta","bis_fnc_playendmusic_meta","bis_fnc_modulettcpclear_meta","bis_fnc_livefeedsettarget_meta","bis_fnc_vrcourseplaceables3_meta","bis_fnc_consolidatearray_meta","bis_fnc_startloadingscreen_meta","bis_fnc_diagknowntargets_meta","bis_fnc_addevidence_meta","bis_fnc_tasksunit_meta","bis_fnc_modulettstatsclear_meta","bis_fnc_tridentexecute_meta","bis_fnc_moduledamage_meta","bis_fnc_curatorrespawn_meta","bis_fnc_vectordiff_meta","bis_fnc_moduletimetrial_meta","bis_fnc_feedbackmain_meta","bis_fnc_arraypush_meta","bis_fnc_moduleshowhide_meta","bis_fnc_locweaponinfo_meta","bis_fnc_moduleunits_meta","bis_fnc_curatorwaypointplaced_meta","bis_fnc_vrcourseballistics3_meta","bis_fnc_modulespawnaisectortactic_meta","bis_fnc_moduletasksetdescription_meta","bis_fnc_rounddir_meta","bis_fnc_crewcount_meta","bis_fnc_classweapon_meta","bis_fnc_vrcourseheliadvanced4_meta","bis_fnc_vrcoursehelibasics1_meta","bis_fnc_moduleeffectsemittercreator_meta","bis_fnc_getrespawninventories_meta","bis_fnc_crossproduct_meta","bis_fnc_overviewterrain_meta","bis_fnc_credits_movie_meta","bis_fnc_getunitbyuid_meta","bis_fnc_removecuratoricon_meta","bis_fnc_paramviewdistance_meta","bis_fnc_locations_meta","bis_fnc_modulesound_meta","bis_fnc_loadclass_meta","bis_fnc_unitcapturesimple_meta","bis_fnc_modulettcpin_meta","bis_fnc_vrcoursetargetdesignation2_meta","bis_fnc_animatetaskwaypoint_meta","bis_fnc_vehicleroles_meta","bis_fnc_showcuratorattributes_meta","bis_fnc_missiontaskslocal_meta","bis_fnc_conditionalselect_meta","bis_fnc_callscriptedeventhandler_meta","bis_fnc_dbclassindex_meta","bis_fnc_respawntimepenalty_meta","bis_fnc_getcfgdatabool_meta","bis_fnc_invcodetoarray_meta","bis_fnc_vectorfromxtoy_meta","bis_fnc_diagradio_meta","bis_fnc_preload_meta","bis_fnc_cameraold_meta","bis_fnc_texttiles_meta","bis_fnc_changesupportradiochannel_meta","bis_fnc_executestackedeventhandler_meta","bis_mainmenu_isplayexpanded","bis_fnc_modulerespawntickets_meta","bis_fnc_effectfiredhelirocket_meta","bis_fnc_addscore_meta","bis_fnc_flies_meta","bis_fnc_vrcoursecommandingactions1_meta","bis_fnc_modulecovermap_meta","bis_fnc_scenesetbehaviour_meta","bis_fnc_displaycolorget_meta","bis_fnc_taskstate_meta","bis_fnc_addtopairs_meta","bis_fnc_getvirtualitemcargo_meta","bis_functions_listpostinit","bis_fnc_missionconversations_meta","bis_fnc_unitplayfiring_meta","bis_fnc_radiosetchannel_meta","bis_fnc_dynamictext_meta","bis_fnc_distance2d_meta","bis_fnc_moduleeffectsplankton_meta","bis_fnc_respawnrounds_meta","bis_fnc_moduleposter_meta","bis_fnc_isposblacklisted_meta","bis_fnc_unpackstaticweapon_meta","bis_fnc_onload_meta","bis_fnc_tasksetcurrent_meta","bis_fnc_aligntabs_meta","bis_fnc_moduleeffectsbubbles_meta","bis_fnc_objectside_meta","bis_fnc_diagkeylayout_meta","bis_fnc_modulepositioning_meta","bis_fnc_respawnmenuspectator_meta","bis_fnc_taskdefend_meta","bis_fnc_addcommmenuitem_meta","bis_fnc_vrcourselaunchers2_meta","bis_fnc_drawao_meta","bis_fnc_worldarea_meta","bis_fnc_overviewmission_meta","bis_fnc_vrcoursecommandingbehaviour3_meta","bis_fnc_modulecuratorsetcostsvehicleclass_meta","bis_fnc_loop_meta","bis_fnc_modulesavegame_meta","bis_fnc_cinemaborder_meta","bis_fnc_onplayerconnected_meta","bis_fnc_getidd_meta","bis_fnc_diagmissionweapons_meta","bis_fnc_shakegauges_meta","bis_fnc_moduleobjectivefind_meta","bis_fnc_vrcoursecommandingmovement2_meta","bis_fnc_respawnmenuinventory_meta","bis_fnc_removeindex_meta","bis_fnc_effectfiredsmokelauncher_meta","bis_fnc_helicoptergethitpoints_meta","bis_fnc_moduleexecute_meta","bis_fnc_diagkey_meta","bis_fnc_exportcfgweapons_meta","bis_fnc_arrayfinddeep_meta","bis_fnc_modulestrategicmapinit_meta","bis_fnc_diaryhints_meta","bis_fnc_exportgroupformations_meta","bis_fnc_getcfgdataobject_meta","bis_fnc_texturevehicleicon_meta","bis_fnc_modulecreateprojectile_meta","bis_fnc_initmodules_meta","bis_fnc_modulefdstatsclear_meta","bis_fnc_ondiarychanged_meta","bis_fnc_ffvupdate_meta","bis_fnc_moduleobjectivesector_meta","bis_fnc_inv_meta","bis_fnc_log_meta","bis_mainmenu_isoptionsexpanded","bis_displayinterrupt_isoptionsexpanded","bis_fnc_keypointsexportfromkml_meta","bis_fnc_localize_meta","bis_fnc_endloadingscreen_meta","bis_fnc_vrfadeout_meta","bis_fnc_classmagazine_meta","bis_fnc_halo_meta","bis_fnc_kbtelllocal_meta","bis_fnc_initdisplay_meta","bis_fnc_vrcourseballistics4_meta","bis_fnc_showmarkers_meta","bis_fnc_togglecuratorvisionmode_meta","bis_fnc_randompos_meta","bis_fnc_mpexec_meta","bis_fnc_vrcourseheliadvanced5_meta","bis_fnc_vrcoursehelibasics2_meta","bis_fnc_keycode_meta","bis_fnc_guimessage_meta","bis_fnc_colorrgbtohtml_meta","bis_fnc_isforcedcuratorinterface_meta","bis_fnc_exportcfgpatches_meta","bis_fnc_randomindex_meta","bis_fnc_modulefdcpin_meta","bis_fnc_showcuratorfeedbackmessage_meta","bis_fnc_respawnconfirm_meta","bis_fnc_ctrlfittotextheight_meta","bis_fnc_credits_meta","bis_fnc_radiosettrack_meta","bis_fnc_modulecombatgetin_meta","bis_fnc_arithmeticmean_meta","bis_fnc_counter_meta","bis_fnc_vrcoursetargetdesignation3_meta","bis_fnc_livefeedsetsource_meta","bis_fnc_setservervariable_meta","bis_fnc_subselect_meta","bis_fnc_posdegtoutm_meta","bis_fnc_flameseffect_meta","bis_fnc_setidentity_meta","bis_fnc_removenestedelement_meta","bis_fnc_dbclassremove_meta","bis_fnc_dbimportconfig_meta","bis_fnc_dbvalueset_meta","bis_fnc_noflyzone_meta","bis_fnc_sortalphabetically_meta","bis_fnc_getcfgsubclasses_meta","bis_fnc_unitcapture_meta","bis_fnc_saymessage_meta","bis_fnc_modulepunishment_meta","bis_fnc_selectrandomweighted_meta","bis_fnc_playsound_meta","bis_fnc_didjip_meta","bis_fnc_kbisspeaking_meta","bis_fnc_setobjecttexture_meta","bis_fnc_modulestrategicmapmission_meta","bis_fnc_livefeedmoduleeffects_meta","bis_fnc_dbvalueremove_meta","bis_fnc_effectfiredrifle_meta","bis_fnc_isunitvirtual_meta","bis_fnc_vrcoursecommandingactions2_meta","bis_fnc_scenecreatesoundentities_meta","bis_fnc_moduletasksetstate_meta","bis_fnc_deleteinventory_meta","bis_fnc_diagmacrosverify_meta","bis_fnc_diagbulletcam_meta","bis_fnc_error_meta","bis_fnc_modulecuratoraddeditingareaplayers_meta","bis_fnc_displayloading_meta","bis_fnc_tasksetstate_meta","bis_fnc_setppeffecttemplate_meta","bis_fnc_exportcfghints_meta","bis_fnc_gcinit_meta","bis_fnc_paramrespawntickets_meta","bis_fnc_randomnum_meta","bis_fnc_dbisclass_meta","bis_fnc_initexpo_meta","bis_fnc_modulemptypegroundsupportbase_meta","bis_fnc_invadd_meta","bis_fnc_taskcurrent_meta","bis_fnc_getfrompairs_meta","bis_fnc_vrcourselaunchers3_meta","bis_fnc_diagaar_meta","bis_fnc_livefeed_meta","bis_fnc_modulecuratorsetobjectcost_meta","bis_fnc_effectkilledairdestructionstage2_meta","bis_fnc_importimagelinks_meta","bis_fnc_setheight_meta","bis_fnc_disablesaving_meta","bis_fnc_setnestedelement_meta","bis_fnc_showunitinfo_meta","bis_fnc_limitsupport_meta","bis_fnc_disableloading_meta","bis_fnc_randompostrigger_meta","bis_fnc_moduletimemultiplier_meta","bis_fnc_inanglesector_meta","bis_fnc_initdisplays_prestart","bis_fnc_markerpath_meta","bis_fnc_missilelaunchpositionfix_meta","bis_fnc_briefinginit_meta","bis_fnc_modulefuel_meta","bis_fnc_removevirtualweaponcargo_meta","bis_fnc_relposobject_meta","bis_fnc_curatorautomaticpositions_meta","bis_fnc_orbataddgroupoverlay_meta","bis_fnc_pip_meta","bis_fnc_showmissionstatus_meta","bis_fnc_ambientboats_meta","bis_fnc_addrespawnposition_meta","bis_fnc_modulecuratoraddicon_meta","bis_fnc_moduleendmission_meta","bis_fnc_modulemptypedefense_meta","bis_fnc_modulecurator_meta","bis_fnc_genericsentenceinit_meta","bis_fnc_modulecuratoraddpoints_meta","bis_fnc_itemtype_meta","bis_fnc_threat_meta","bis_fnc_modulespawnaioptions_meta","bis_fnc_dbsymbolclass_meta","bis_fnc_curatorchallengeilluminate_meta","bis_fnc_moduleinit_meta","bis_fnc_setrank_meta","bis_fnc_weaponcomponents_meta","bis_fnc_livefeedmoduleinit_meta","bis_fnc_vrcoursehelislingload1_meta","bis_fnc_dirindicator_meta","bis_fnc_vrcourseheliadvanced6_meta","bis_fnc_vrcoursehelibasics3_meta","bis_fnc_modulecuratoraddeditingarea_meta","bis_fnc_singlemissionname_meta","bis_fnc_openfieldmanual_meta","bis_mainmenu_islearnexpanded","bis_fnc_credits_moviesupport_meta","bis_fnc_curatorobjectregistered_meta","bis_fnc_maxdiffarray_meta","bis_fnc_activateaddons_meta","bis_fnc_guieffecttiles_alpha","bis_fnc_returnnestedelement_meta","bis_fnc_relscaleddist_meta","bis_fnc_listcuratorplayers_meta","bis_fnc_moduleskill_meta","bis_fnc_diagfindmissingauthors_meta","bis_fnc_terraingradangle_meta","bis_fnc_linearconversion_meta","bis_fnc_dbclassset_meta","bis_fnc_ambienthelicopters_meta","bis_fnc_missionflow_meta","bis_fnc_colorrgbatotexture_meta","bis_fnc_configextremes_meta","bis_fnc_commsmenutogglevisibility_meta","bis_fnc_diagvehicleicons_meta","bis_fnc_completedcuratorchallengescount_meta","bis_fnc_settasklocal_meta","bis_fnc_helicoptercanfly_meta","bis_fnc_taskdestination_meta","bis_fnc_sidecolor_meta","bis_fnc_crows_meta","bis_fnc_earthquake_meta","bis_fnc_guibackground_meta","bis_fnc_guihint_meta","bis_fnc_dbclassreturn_meta","bis_fnc_rsclayer_meta","bis_fnc_indicatebleeding_meta","bis_fnc_healtheffects_meta","bis_fnc_vrcoursecommandingactions3_meta","bis_fnc_effectfiredartillery_meta","bis_fnc_transportservice_meta","bis_fnc_endmission_meta","bis_fnc_uniqueclasses_meta","bis_fnc_progressloadingscreen_meta","bis_fnc_modulemptypesectorcontrol_meta","bis_fnc_dbvaluereturn_meta","bis_fnc_ambientblacklist_meta","bis_fnc_diagmissionpositions_meta","bis_fnc_advhint_hinthandlers","bis_fnc_vrcourseheliweapons1_meta","bis_fnc_noflyzonescreate_meta","bis_fnc_buildingpositions_meta","bis_fnc_exportcfggroups_meta","bis_shownchat","bis_fnc_displayresize_meta","bis_fnc_orbatconfigpreview_meta","bis_fnc_objectsmapper_meta","bis_fnc_moduletracers_meta","bis_fnc_loadinventory_meta","bis_fnc_diagaarrecord_meta","bis_fnc_initvirtualunit_meta","bis_fnc_curatorattributes_meta","bis_fnc_isinfrontof_meta","bis_fnc_curatorchallengespawnlightning_meta","bis_fnc_modulettcptriggerbehind_meta","bis_fnc_gridtopos_meta","bis_fnc_nearestroad_meta","bis_fnc_guieffecttiles_coef","bis_fnc_kbpriority_meta","bis_fnc_posutmtodeg_meta","bis_fnc_modulerespawninventory_meta","bis_fnc_ambientpostprocess_meta","bis_fnc_sandstorm_meta","bis_fnc_diagconfig_meta","bis_fnc_shakecuratorcamera_meta","bis_fnc_forceend_meta","bis_fnc_parsenumber_meta","bis_fnc_spawncrew_meta","bis_fnc_greatestnum_meta","bis_fnc_dbvaluelist_meta","bis_fnc_logformat_meta","bis_fnc_quotations_meta","bis_fnc_modulearsenal_meta","bis_fnc_selectcrew_meta","bis_fnc_arraycompare_meta","bis_fnc_modulestrategicmapopen_meta","bis_fnc_modulerank_meta","bis_fnc_returnparents_meta","bis_fnc_animviewer_meta","bis_fnc_missiontasks_meta","bis_fnc_getcfgdata_meta","bis_initgame","bis_fnc_splitstring_meta","bis_fnc_arrayshift_meta","bis_fnc_kbcanspeak_meta","bis_fnc_helicopterdamage_meta","bis_fnc_moduleremotecontrol_meta","bis_fnc_sidename_meta","bis_fnc_wpland_meta","bis_fnc_respawnside_meta","bis_fnc_livefeedeffects_meta","bis_fnc_helicopterseat_meta","bis_fnc_curatorvisionmodes_meta","bis_fnc_missiontimeleft_meta","bis_fnc_getcfgdataarray_meta","bis_fnc_initrespawnbackpack_meta","bis_fnc_overviewauthor_meta","bis_rscdisplayloading_selecteddlcappid","bis_fnc_modulecas_meta","bis_fnc_displaycontrols_meta","bis_fnc_recompile_meta","bis_fnc_settask_meta","bis_fnc_moduleskiptime_meta","bis_fnc_modulettcpout_meta","bis_fnc_ambientflyby_meta","bis_fnc_modulehq_meta","bis_fnc_finishcuratorchallenge_meta","bis_fnc_modulefdskeetdestruction_meta","bis_fnc_modulerespawnposition_meta","bis_fnc_modulediary_meta","bis_fnc_colorconfigtorgba_meta","bis_fnc_removescriptedeventhandler_meta","bis_fnc_commsmenutoggleavailability_meta","bis_fnc_removevirtualbackpackcargo_meta","bis_fnc_sceneintruderdetector_meta","bis_fnc_overviewdifficulty_meta","bis_fnc_respawnseagull_meta","bis_fnc_markercreate_meta","bis_fnc_functionmeta_meta","bis_fnc_invstring_meta","bis_fnc_markertotrigger_meta","bis_fnc_distance2dsqr_meta","bis_fnc_relativedirto_meta","bis_fnc_exportfunctionstowiki_meta","bis_fnc_taskexists_meta","bis_fnc_damagechanged_meta","bis_fnc_advhint_meta","bis_fnc_variablespaceremove_meta","bis_fnc_findextreme_meta","bis_fnc_tasksetdestination_meta","bis_fnc_removevirtualmagazinecargo_meta","bis_fnc_modulemode_meta","bis_fnc_setpitchbank_meta","bis_fnc_moduleobjectiveracecp_meta","bis_fnc_ambientanimgetparams_meta","bis_fnc_taskvar_meta","bis_fnc_isdemo_meta","bis_fnc_functionsdebug_meta","bis_fnc_shownotification_meta","bis_fnc_modulemptypegroundsupport_meta","bis_fnc_triggertomarker_meta","bis_fnc_taskcompleted_meta","bis_fnc_addsupportlink_meta","bis_fnc_relpos_meta","bis_fnc_modulecountdown_meta","bis_fnc_moduleobjectivemove_meta","bis_fnc_ambientanim_meta","bis_fnc_addscriptedeventhandler_meta","bis_fnc_effectfiredlongsmoke_meta","bis_fnc_curatorpinged_meta","bis_fnc_addcuratorareafromtrigger_meta","bis_fnc_isbuildingenterable_meta","bis_fnc_establishingshot_meta","bis_fnc_synchronizedobjects_meta","bis_fnc_addvirtualbackpackcargo_meta","bis_fnc_postogrid_meta","bis_fnc_absspeed_meta","bis_fnc_setobjectrotation_meta","bis_fnc_paramcountdown_meta","bis_fnc_dbvaluecheck_meta","bis_fnc_vrcourseheliweapons2_meta","bis_fnc_modulehealth_meta","bis_fnc_modulezoneprotection_meta","bis_fnc_modulechat_meta","bis_fnc_respawncounter_meta","bis_fnc_addvirtualmagazinecargo_meta","bis_fnc_getcfgdatapool_meta","bis_fnc_curatorchallengegetinvehicle_meta","bis_fnc_advhintcall_meta","bis_fnc_removerespawninventory_meta","bis_fnc_baseweapon_meta","bis_fnc_returnvehicleturrets_meta","bis_fnc_spawn_meta","bis_fnc_diagpreviewcycle_meta","bis_fnc_aan_meta","bis_fnc_removevirtualitemcargo_meta","bis_fnc_moduleprojectile_meta","bis_fnc_missionconversationslocal_meta","bis_fnc_arraypushstack_meta","bis_fnc_scenegetpositionbyangle_meta","bis_fnc_curatorobjectedited_meta","bis_fnc_modulefdcpout_meta","bis_fnc_moduleobjectiveracestart_meta","bis_fnc_phoneticalword_meta","bis_fnc_moduleai_meta","bis_fnc_vrfadein_meta","bis_fnc_modulettcptrigger_meta","bis_fnc_camfollow_meta","bis_fnc_toupperdisplaytexts_meta","bis_fnc_respawnnone_meta","bis_fnc_createobjectoo_meta","bis_fnc_gc_meta","bis_fnc_posdegtoworld_meta","bis_fnc_intrigger_meta","bis_fnc_moduledooropen_meta","bis_fnc_addweapon_meta","bis_fnc_briefinganimate_meta","bis_fnc_getcfgisclass_meta","bis_fnc_taskreal_meta","bis_fnc_param_meta","bis_fnc_effectfired_meta","bis_fnc_vrdrawgrid_meta","bis_fnc_wppatrol_meta","bis_fnc_keypointsexport_meta","bis_fnc_bloodeffect_meta","bis_fnc_allsynchronizedobjects_meta","bis_fnc_respawninstant_meta","bis_fnc_setcuratorattributes_meta","bis_fnc_diagkeytest_meta","bis_fnc_taskpatrol_meta","bis_fnc_typetext2_meta","bis_fnc_listplayers_meta","bis_fnc_kbskip_meta","bis_fnc_loadfunctions_meta","bis_fnc_healing_meta","bis_fnc_roundnum_meta","bis_fnc_guigrid_meta","bis_fnc_drawcuratorlocations_meta","bis_fnc_modulestrategicmaporbat_meta","bis_fnc_dbclasslist_meta","bis_fnc_movetorespawnposition_meta","bis_fnc_onend_meta","bis_fnc_vrspawneffect_meta","bis_fnc_advhintarg_meta","bis_fnc_diaganim_meta","bis_fnc_neutralizeunit_meta","bis_fnc_returngroupcomposition_meta","bis_fnc_packstaticweapon_meta","bis_fnc_curatorhint_meta","bis_fnc_curatorobjectregisteredtable_meta","bis_fnc_mapsize_meta","bis_fnc_showrespawnmenu_meta","bis_fnc_initcuratorattribute_meta","bis_fnc_effectplankton_meta","bis_fnc_exportmaptobitxt_meta","bis_fnc_displaymission_meta","bis_fnc_dbconfigpath_meta","bis_fnc_scenemiscstuff_meta","bis_fnc_respawntickets_meta","bis_fnc_unitcapturefiring_meta","bis_fnc_modulemodules_meta","bis_fnc_movein_meta","bis_fnc_modulefriendlyfire_meta","bis_fnc_markerparams_meta","bis_functions_listrecompile","bis_fnc_animtype_meta","bis_fnc_modulecuratoraddcameraarea_meta","bis_fnc_unitplaysimple_meta","bis_fnc_zzrotate_meta","bis_fnc_wprelax_meta","bis_fnc_iscampaign_meta","bis_fnc_orbatgetgroupparams_meta","bis_fnc_removeallscriptedeventhandlers_meta","bis_fnc_drawminefields_meta","bis_fnc_tridentclient_meta","bis_fnc_magnitudesqr_meta","bis_fnc_diagmacrosmapsize_meta","bis_fnc_removedestroyedcuratoreditableobjects_meta","bis_fnc_curatorobjectplaced_meta","bis_fnc_taskdescription_meta","bis_fnc_selectrespawntemplate_meta","bis_fnc_ordinalnumber_meta","bis_fnc_strategicmapmousebuttonclick_meta","bis_fnc_createmenu_meta","bis_fnc_isleapyear_meta","bis_fnc_effectkilledsecondaries_meta","bis_fnc_respawnendmission_meta"}; LIFE_Functions[] = {"life_fnc_hideobj","life_fnc_hideobj_meta","life_fnc_altisphone","life_fnc_altisphone_meta","life_fnc_wantedfetch_meta","life_fnc_storevehicleaction_meta","life_fnc_storevehicleaction","life_fnc_copsplit","life_fnc_copsplit_meta","life_fnc_searchposempty","life_fnc_vehiclecolor3drefresh_meta","life_fnc_vehicleshop3dpreview","life_fnc_vehicleshopend3dpreview","life_fnc_vehicleshopend3dpreview_meta","life_fnc_vehiclecolor3drefresh","life_fnc_vehicleshop3dpreview_meta","life_fnc_vehicleshopinit3dpreview","life_fnc_vehicleshopinit3dpreview_meta","life_fnc_searchposempty_meta","life_fnc_nearestobjects","life_fnc_placestoragebig_meta","life_fnc_surrender","life_fnc_removecontainer","life_fnc_playerinbuilding","life_fnc_freezeplayer","life_fnc_placestoragebig","life_fnc_adminfreeze","life_fnc_placestoragesmall_meta","life_fnc_storageboxbig_meta","life_fnc_freezeplayer_meta","life_fnc_adminmarkers","life_fnc_wantedgrab_meta","life_fnc_fuelrefuelcar_meta","life_fnc_containerinvsearch_meta","life_fnc_adminspectate_meta","life_fnc_placedefinestorage_meta","life_fnc_fuelstatopen","life_fnc_adminspectate","life_fnc_fuelrefuelcar","life_fnc_admincompensate_meta","life_fnc_nearestobjects_meta","life_fnc_containermenu_meta","life_fnc_removecontainer_meta","life_fnc_admindebugcon","life_fnc_civmarkers","life_fnc_gangwithdraw_meta","life_fnc_containerinvsearch","life_fnc_weaponshopmags","life_fnc_weaponshopaccs","life_fnc_fuellbchange_meta","life_fnc_weaponshopmags_meta","life_fnc_weaponshopaccs_meta","life_fnc_admingodmode","life_fnc_civmarkers_meta","life_fnc_admintphere","life_fnc_adminteleport_meta","life_fnc_storageboxbig","life_fnc_placedefinestorage","life_fnc_playerinbuilding_meta","life_fnc_admincompensate","life_fnc_admingodmode_meta","life_fnc_adminfreeze_meta","life_fnc_fuellbchange","life_fnc_placestoragesmall","life_fnc_wantedaddp_meta","life_fnc_placecontainer_meta","life_fnc_gangwithdraw","life_fnc_storageboxsmall_meta","life_fnc_admintphere_meta","life_fnc_adminmarkers_meta","life_fnc_admindebugcon_meta","life_fnc_containermenu","life_fnc_fuelstatopen_meta","life_fnc_placecontainer","life_fnc_adminteleport","life_fnc_wantedaddp","life_fnc_wantedgrab","life_fnc_surrender_meta","life_fnc_storageboxsmall","life_fnc_wantedticket_meta","life_fnc_wantedpardon_meta","life_fnc_wantedpunish_meta","life_fnc_wantedremove_meta","life_fnc_wantedadd_meta","life_fnc_jailsys_meta","life_fnc_wantedperson_meta","life_fnc_wantedbounty_meta","life_fnc_wantedfetch_meta","life_fnc_dooranimate_meta","life_fnc_licensecheck_meta","life_fnc_onplayerkilled_meta","life_fnc_vehicleshoplbchange_meta","life_fnc_corpse","life_fnc_repairtruck","life_fnc_restrainaction_meta","life_fnc_loadgear_meta","life_fnc_p_changescreen_meta","life_fnc_boltcutter","life_fnc_knockoutaction_meta","life_fnc_vehinvsearch","life_fnc_escinterupt","life_fnc_weaponshopfilter","life_fnc_housemenu","life_fnc_medicsirenlights","life_fnc_stopescorting_meta","life_fnc_inventoryclosed","life_fnc_defusekit","life_fnc_restrainaction","life_fnc_vehstoreitem","life_fnc_requestmedic","life_fnc_handledamage_meta","life_fnc_vehicleweightcfg_meta","life_fnc_vehtakeitem_meta","life_fnc_openinventory","life_fnc_adminid","life_fnc_spikestrip_meta","life_fnc_movein","life_fnc_p_oneachframe_meta","life_fnc_keydrop_meta","life_fnc_ticketprompt","life_fnc_hudupdate_meta","life_fnc_initgang_meta","life_fnc_vehiclegarage","life_fnc_lockhouse_meta","life_fnc_vinteractionmenu","life_fnc_vehiclegarage_meta","life_fnc_taxrate_meta","life_fnc_gangdeposit","life_fnc_healhospital_meta","life_fnc_setupactions","life_fnc_broadcast_meta","life_fnc_adminquery","life_fnc_numbertext","life_fnc_progressbar","life_fnc_garagerefund_meta","life_fnc_keyhandler","life_fnc_lighthouse_meta","life_fnc_stopescorting","life_fnc_wantedinfo","life_fnc_admingetid","life_fnc_handleitem","life_fnc_bountyreceive_meta","life_fnc_catchfish_meta","life_fnc_vehicleweight_meta","life_fnc_loadgear","life_fnc_fetchvehinfo_meta","life_fnc_storagebox_meta","life_fnc_medicloadout","life_fnc_licensesread_meta","life_fnc_boltcutter_meta","life_fnc_creategang","life_fnc_gangupgrade_meta","life_fnc_inventoryclosed_meta","life_fnc_medicsiren_meta","life_fnc_ganginviteplayer","life_fnc_setfuel","life_fnc_removelicenses","life_fnc_p_getscreengroupidc_meta","life_fnc_spawnpointselected_meta","life_fnc_questiondealer_meta","life_fnc_keymenu_meta","life_fnc_catchturtle_meta","life_fnc_virt_sell_meta","life_fnc_mediclights_meta","life_fnc_ticketgive","life_fnc_wantedbounty","life_fnc_garagelbchange","life_fnc_p_onmouseenter_meta","life_fnc_p_updatemenu","life_fnc_clothingfilter_meta","life_fnc_onfired_meta","life_fnc_stripdownplayer","life_fnc_sounddevice_meta","life_fnc_buylicense","life_fnc_loaddeadgear","life_fnc_say3d","life_fnc_vehiclecolorstr","life_fnc_pulloutveh_meta","life_fnc_houseconfig_meta","life_fnc_initmedic_meta","life_fnc_gather","life_fnc_medicloadout_meta","life_fnc_weaponshopmenu_meta","life_fnc_deathscreen_meta","life_fnc_medicrequest","life_fnc_receivemoney_meta","life_fnc_searchvehaction_meta","life_fnc_jumpfnc","life_fnc_weaponshopselection","life_fnc_clearvehicleammo","life_fnc_vehicleowners","life_fnc_gangnewleader","life_fnc_processaction","life_fnc_onplayerrespawn","life_fnc_buyhouse_meta","life_fnc_jail","life_fnc_playertags","life_fnc_radar","life_fnc_progressbar_meta","life_fnc_ticketgive_meta","life_fnc_impoundmenu","life_fnc_p_onload","life_fnc_gather_meta","life_fnc_mediclights","life_fnc_adminmenu_meta","life_fnc_fetchdeadgear","life_fnc_giveitem","life_fnc_demochargetimer_meta","life_fnc_vehicleweight","life_fnc_virt_update_meta","life_fnc_arrestaction_meta","life_fnc_welcomenotification_meta","life_fnc_civloadout_meta","life_fnc_knockedout","life_fnc_impoundaction","life_fnc_initcop_meta","life_fnc_actionkeyhandler","life_fnc_inithouses","life_fnc_copsiren","life_fnc_colorvehicle","life_fnc_vehiclecolorcfg","life_fnc_setupevh","life_fnc_vehicleanimate","life_fnc_lockvehicle","life_fnc_cellphone_meta","life_fnc_weaponshopfilter_meta","life_fnc_s_oncheckedchange","life_fnc_jumpfnc_meta","life_fnc_vehinventory_meta","life_fnc_initgang","life_fnc_useitem_meta","life_fnc_taxrate","life_fnc_gangdeposit_meta","life_fnc_nearatm_meta","life_fnc_p_openmenu_meta","life_fnc_keydrop","life_fnc_medicrequest_meta","life_fnc_vehiclecolorstr_meta","life_fnc_atmmenu","life_fnc_givediff","life_fnc_nearunits","life_fnc_lighthouseaction_meta","life_fnc_givediff_meta","life_fnc_removelicenses_meta","life_fnc_s_onchar","life_fnc_setmapposition_meta","life_fnc_setupactions_meta","life_fnc_isnumeric_meta","life_fnc_raidhouse_meta","life_fnc_weaponshopcfg","life_fnc_fedcamdisplay","life_fnc_hudupdate","life_fnc_fedcamdisplay_meta","life_fnc_copmarkers_meta","life_fnc_keymenu","life_fnc_vehiclelistcfg_meta","life_fnc_coplights","life_fnc_vehtakeitem","life_fnc_capturehideout","life_fnc_devicemine_meta","life_fnc_spikestripeffect","life_fnc_getdpmission","life_fnc_cophouseowner_meta","life_fnc_spawnmenu_meta","life_fnc_ganginviteplayer_meta","life_fnc_initciv","life_fnc_clothingmenu","life_fnc_reviveplayer_meta","life_fnc_changeclothes","life_fnc_broadcast","life_fnc_copinteractionmenu_meta","life_fnc_p_handlescreenevent_meta","life_fnc_gangcreated","life_fnc_revived","life_fnc_radar_meta","life_fnc_bankwithdraw_meta","life_fnc_vehicleshopbuy","life_fnc_givemoney_meta","life_fnc_safeopen_meta","life_fnc_p_onload_meta","life_fnc_ticketaction_meta","life_fnc_pickupitem_meta","life_fnc_requestmedic_meta","life_fnc_dropitems_meta","life_fnc_isnumeric","life_fnc_ticketaction","life_fnc_cophouseowner","life_fnc_raidhouse","life_fnc_lockpick_meta","life_fnc_vehstoreitem_meta","life_fnc_flashbang","life_fnc_copinteractionmenu","life_fnc_spikestripeffect_meta","life_fnc_wantedlist_meta","life_fnc_p_openmenu","life_fnc_ticketpay","life_fnc_hudsetup","life_fnc_p_init","life_fnc_receivemoney","life_fnc_pulloutaction","life_fnc_adminmenu","life_fnc_revealobjects_meta","life_fnc_s_oncheckedchange_meta","life_fnc_safefix","life_fnc_openinventory_meta","life_fnc_packupspikes","life_fnc_nearestdoor_meta","life_fnc_displayhandler_meta","life_fnc_knockoutaction","life_fnc_fetchcfgdetails","life_fnc_restrain_meta","life_fnc_clothingmenu_meta","life_fnc_givemoney","life_fnc_virt_menu","life_fnc_licensecheck","life_fnc_lighthouse","life_fnc_escortaction","life_fnc_p_changescreen","life_fnc_fetchvehinfo","life_fnc_admingetid_meta","life_fnc_wantedpardon","life_fnc_nearestdoor","life_fnc_hudsetup_meta","life_fnc_savegear_meta","life_fnc_gutanimal_meta","life_fnc_pushvehicle_meta","life_fnc_handleinv","life_fnc_servicechopper","life_fnc_handleitem_meta","life_fnc_inventoryopened_meta","life_fnc_medicmarkers_meta","life_fnc_revealobjects","life_fnc_weaponshopbuysell","life_fnc_chopshopmenu","life_fnc_dooranimate","life_fnc_vehicleshopmenu_meta","life_fnc_chopshopselection_meta","life_fnc_setfuel_meta","life_fnc_virt_update","life_fnc_wantedinfo_meta","life_fnc_knockedout_meta","life_fnc_spawnpointselected","life_fnc_p_onclick","life_fnc_buylicense_meta","life_fnc_arrestaction","life_fnc_sounddevice","life_fnc_dpfinish_meta","life_fnc_robaction","life_fnc_safetake","life_fnc_vehshoplicenses","life_fnc_pushvehicle","life_fnc_sirenlights","life_fnc_nearatm","life_fnc_demochargetimer","life_fnc_gangdisband_meta","life_fnc_adminid_meta","life_fnc_p_updatemenu_meta","life_fnc_bountyreceive","life_fnc_gangnewleader_meta","life_fnc_itemweight_meta","life_fnc_acctype","life_fnc_ontakeitem","life_fnc_simdisable_meta","life_fnc_pickaxeuse_meta","life_fnc_handleinv_meta","life_fnc_wantedlist","life_fnc_handledamage","life_fnc_unrestrain_meta","life_fnc_welcomenotification","life_fnc_virt_buy_meta","life_fnc_spikestrip","life_fnc_spawnpointcfg","life_fnc_impoundaction_meta","life_fnc_vehicleshoplbchange","life_fnc_impoundmenu_meta","life_fnc_isuidactive","life_fnc_p_onmouseenter","life_fnc_weaponshopselection_meta","life_fnc_stripdownplayer_meta","life_fnc_gangmenu","life_fnc_adminquery_meta","life_fnc_clearvehicleammo_meta","life_fnc_postbail","life_fnc_vehinventory","life_fnc_p_oneachframe","life_fnc_storevehicle","life_fnc_isuidactive_meta","life_fnc_robreceive_meta","life_fnc_say3d_meta","life_fnc_storevehicle_meta","life_fnc_updateviewdistance","life_fnc_buyclothes","life_fnc_servicechopper_meta","life_fnc_admininfo","life_fnc_chopshopmenu_meta","life_fnc_inithouses_meta","life_fnc_nearunits_meta","life_fnc_postbail_meta","life_fnc_chopshopselection","life_fnc_unimpound","life_fnc_displayhandler","life_fnc_devicemine","life_fnc_addvehicle2chain_meta","life_fnc_tazesound_meta","life_fnc_respawned","life_fnc_animsync","life_fnc_pushobject_meta","life_fnc_acctype_meta","life_fnc_initmedic","life_fnc_wiretransfer_meta","life_fnc_vehicleowners_meta","life_fnc_playercount","life_fnc_settingsmenu_meta","life_fnc_onplayerkilled","life_fnc_playertags_meta","life_fnc_catchturtle","life_fnc_s_onchar_meta","life_fnc_garagelbchange_meta","life_fnc_searchclient","life_fnc_unrestrain","life_fnc_keygive_meta","life_fnc_p_handlescreenevent","life_fnc_sellgarage_meta","life_fnc_medicsirenlights_meta","life_fnc_creategang_meta","life_fnc_vehiclelistcfg","life_fnc_ticketpay_meta","life_fnc_gangdisbanded","life_fnc_virt_sell","life_fnc_healhospital","life_fnc_vehicleshopmenu","life_fnc_wantedpunish","life_fnc_actionkeyhandler_meta","life_fnc_copsearch_meta","life_fnc_jerryrefuel","life_fnc_receiveitem_meta","life_fnc_spawnconfirm_meta","life_fnc_tazed","life_fnc_ticketpaid_meta","life_fnc_buyhouse","life_fnc_packupspikes_meta","life_fnc_atmmenu_meta","life_fnc_bankwithdraw","life_fnc_calweightdiff","life_fnc_repairtruck_meta","life_fnc_safetake_meta","life_fnc_searchaction_meta","life_fnc_p_onunload_meta","life_fnc_survival_meta","life_fnc_chopshopsell","life_fnc_weaponshopmenu","life_fnc_pulloutaction_meta","life_fnc_getbuildingpositions_meta","life_fnc_escinterupt_meta","life_fnc_admininfo_meta","life_fnc_lockpick","life_fnc_dropitems","life_fnc_lockhouse","life_fnc_keyhandler_meta","life_fnc_copsiren_meta","life_fnc_tazesound","life_fnc_questiondealer","life_fnc_processaction_meta","life_fnc_inventoryopened","life_fnc_numbertext_meta","life_fnc_ontakeitem_meta","life_fnc_onfired","life_fnc_gutanimal","life_fnc_p_initmainmenu_meta","life_fnc_keygive","life_fnc_civloadout","life_fnc_safeinventory","life_fnc_gangcreated_meta","life_fnc_clothingfilter","life_fnc_ticketprompt_meta","life_fnc_bankdeposit_meta","life_fnc_pickupmoney","life_fnc_deathscreen","life_fnc_sellhouse_meta","life_fnc_settexture_meta","life_fnc_jailme_meta","life_fnc_buyclothes_meta","life_fnc_robperson","life_fnc_p_onunload","life_fnc_getbuildingpositions","life_fnc_weaponshopbuysell_meta","life_fnc_searchaction","life_fnc_wiretransfer","life_fnc_dropfishingnet_meta","life_fnc_gangkick_meta","life_fnc_virt_buy","life_fnc_chopshopsell_meta","life_fnc_escortaction_meta","life_fnc_robperson_meta","life_fnc_wantedadd","life_fnc_vehshoplicenses_meta","life_fnc_getdpmission_meta","life_fnc_vehicleshopbuy_meta","life_fnc_gangupgrade","life_fnc_copbreakdoor_meta","life_fnc_repairdoor","life_fnc_s_onsliderchange_meta","life_fnc_giveitem_meta","life_fnc_sellgarage","life_fnc_addvehicle2chain","life_fnc_medicsiren","life_fnc_copsearch","life_fnc_jerryrefuel_meta","life_fnc_safeopen","life_fnc_vehiclecolorcfg_meta","life_fnc_pushobject","life_fnc_lockuphouse","life_fnc_pardon","life_fnc_jail_meta","life_fnc_ganginvite_meta","life_fnc_lockvehicle_meta","life_fnc_spawnpointcfg_meta","life_fnc_updateviewdistance_meta","life_fnc_s_onsliderchange","life_fnc_itemweight","life_fnc_initciv_meta","life_fnc_lockuphouse_meta","life_fnc_initcop","life_fnc_sellhouse","life_fnc_p_initmainmenu","life_fnc_banktransfer","life_fnc_defusekit_meta","life_fnc_respawned_meta","life_fnc_colorvehicle_meta","life_fnc_weaponshopcfg_meta","life_fnc_bankdeposit","life_fnc_loaddeadgear_meta","life_fnc_catchfish","life_fnc_vinteractionmenu_meta","life_fnc_lighthouseaction","life_fnc_safefix_meta","life_fnc_p_onmouseexit","life_fnc_copmarkers","life_fnc_spawnconfirm","life_fnc_vehicleanimate_meta","life_fnc_houseconfig","life_fnc_cellphone","life_fnc_dropfishingnet","life_fnc_safeinventory_meta","life_fnc_fetchcfgdetails_meta","life_fnc_ticketpaid","life_fnc_vehicleweightcfg","life_fnc_fetchdeadgear_meta","life_fnc_ganginvite","life_fnc_medicmarkers","life_fnc_calweightdiff_meta","life_fnc_survival","life_fnc_animsync_meta","life_fnc_coplights_meta","life_fnc_unimpound_meta","life_fnc_jailme","life_fnc_robaction_meta","life_fnc_wantedticket","life_fnc_blastingcharge","life_fnc_p_init_meta","life_fnc_pickupmoney_meta","life_fnc_garagerefund","life_fnc_flashbang_meta","life_fnc_setmapposition","life_fnc_dpfinish","life_fnc_pulloutveh","life_fnc_p_onclick_meta","life_fnc_simdisable","life_fnc_settingsmenu","life_fnc_jailsys","life_fnc_repairdoor_meta","life_fnc_corpse_meta","life_fnc_pickaxeuse","life_fnc_removeitem_meta","life_fnc_wantedmenu","life_fnc_sirenlights_meta","life_fnc_gangleave","life_fnc_licensesread","life_fnc_wantedperson","life_fnc_searchvehaction","life_fnc_savegear","life_fnc_playercount_meta","life_fnc_gangdisbanded_meta","life_fnc_removeitem","life_fnc_wantedremove","life_fnc_copbreakdoor","life_fnc_gangmenu_meta","life_fnc_putincar_meta","life_fnc_pardon_meta","life_fnc_putincar","life_fnc_virt_menu_meta","life_fnc_setupevh_meta","life_fnc_searchclient_meta","life_fnc_changeclothes_meta","life_fnc_coploadout","life_fnc_gangleave_meta","life_fnc_vehinvsearch_meta","life_fnc_capturehideout_meta","life_fnc_pickupitem","life_fnc_p_onmouseexit_meta","life_fnc_revived_meta","life_fnc_spawnmenu","life_fnc_onplayerrespawn_meta","life_fnc_useitem","life_fnc_reviveplayer","life_fnc_gangdisband","life_fnc_gangkick","life_fnc_coploadout_meta","life_fnc_wantedfetch","life_fnc_tazed_meta","life_fnc_receiveitem","life_fnc_restrain","life_fnc_wantedmenu_meta","life_fnc_housemenu_meta","life_fnc_blastingcharge_meta","life_fnc_robreceive","life_fnc_storagebox","life_fnc_banktransfer_meta","life_fnc_p_getscreengroupidc","life_fnc_playerskins","life_fnc_playerskins_meta","life_fnc_teleport","life_fnc_teleport_meta","life_fnc_fuelsupply","life_fnc_fuelsupply_meta","life_fnc_fuelstore","life_fnc_fuelstore_meta"}; SERVER_Functions[] = {"ton_fnc_updategang","ton_fnc_clientgangleft","ton_fnc_cleanuprequest_meta","ton_fnc_logit_meta","ton_fnc_federalupdate","ton_fnc_vehiclecreate","ton_fnc_vehicledelete","ton_fnc_updatehousetrunk","ton_fnc_spikestrip","ton_fnc_getvehicles_meta","ton_fnc_cleanup","ton_fnc_setobjvar_meta","ton_fnc_getid","ton_fnc_vehicledead","ton_fnc_vehicledead_meta","ton_fnc_managesc","ton_fnc_clientdisconnect_meta","ton_fnc_keymanagement_meta","ton_fnc_sellhouse_meta","ton_fnc_spawnvehicle","ton_fnc_vehiclecreate_meta","ton_fnc_pickupaction_meta","ton_fnc_updatehousecontainers","ton_fnc_spikestrip_meta","ton_fnc_insertgang_meta","ton_fnc_logit","ton_fnc_managesc_meta","ton_fnc_chopshopsell","ton_fnc_spawnvehicle_meta","ton_fnc_insertgang","ton_fnc_federalupdate_meta","ton_fnc_queryplayergang_meta","ton_fnc_fetchplayerhouses_meta","ton_fnc_fetchplayerhouses","ton_fnc_addhouse","ton_fnc_keymanagement","ton_fnc_removegang","ton_fnc_cleanuprequest","ton_fnc_huntingzone","ton_fnc_pickupaction","ton_fnc_vehicledelete_meta","ton_fnc_vehiclestore","ton_fnc_cleanup_meta","ton_fnc_inithouses","ton_fnc_housecleanup_meta","ton_fnc_housecleanup","ton_fnc_setobjvar","ton_fnc_updategang_meta","ton_fnc_vehiclestore_meta","ton_fnc_inithouses_meta","ton_fnc_updatehousetrunk_meta","ton_fnc_queryplayergang","ton_fnc_addhouse_meta","ton_fnc_huntingzone_meta","ton_fnc_removegang_meta","ton_fnc_sellhouse","ton_fnc_getid_meta","ton_fnc_updatehousecontainers_meta","ton_fnc_clientdisconnect","ton_fnc_chopshopsell_meta","ton_fnc_getvehicles","ton_fnc_getid_meta","ton_fnc_chopshopsell_meta","ton_fnc_updatehousecontainers_meta","ton_fnc_cleanuprequest_meta","ton_fnc_logit_meta","ton_fnc_logit_meta","ton_fnc_spikestrip","ton_fnc_managesc","ton_fnc_logit","ton_fnc_addhouse","ton_fnc_keymanagement","ton_fnc_vehiclestore","ton_fnc_cell_adminmsgall","ton_fnc_clientgangkick","TON_fnc_clientGangLeft","ton_fnc_cell_adminmsg","ton_fnc_sellhouse","ton_fnc_fetchplayerhouses","ton_fnc_spawnvehicle","ton_fnc_cell_textadmin","ton_fnc_vehiclecreate","ton_fnc_setobjvar","ton_fnc_index","ton_fnc_clientdisconnect","ton_fnc_chopshopsell","ton_fnc_insertgang","ton_fnc_queryplayergang","ton_fnc_huntingzone","ton_fnc_cell_textmsg","ton_fnc_housecleanup","ton_fnc_clientgangleader","ton_fnc_vehicledelete","ton_fnc_player_query","ton_fnc_inithouses","ton_fnc_isnumber","ton_fnc_federalupdate","ton_fnc_cell_emsrequest","ton_fnc_updategang","ton_fnc_pickupaction","ton_fnc_removegang","ton_fnc_clientgetkey","ton_fnc_cleanup","ton_fnc_getid","ton_fnc_cell_textcop","ton_fnc_cleanuprequest","ton_fnc_updatehousetrunk","ton_fnc_getvehicles","ton_fnc_updatehousecontainers","ton_fnc_vehicledead","ton_fnc_clientmessage","db_fnc_mrestoarray","db_fnc_insertvehicle","db_fnc_mresarray","db_fnc_updaterequest","db_fnc_insertrequest","db_fnc_numbersafe","db_fnc_asynccall","db_fnc_bool","db_fnc_updatepartial","db_fnc_queryrequest","db_fnc_mresstring"}; SOCK_Functions[] = {"sock_fnc_requestreceived","sock_fnc_insertplayerinfo_meta","sock_fnc_updaterequest","sock_fnc_insertplayerinfo","sock_fnc_dataquery","sock_fnc_updaterequest_meta","sock_fnc_syncdata","sock_fnc_requestreceived_meta","sock_fnc_syncdata_meta","sock_fnc_dataquery_meta","sock_fnc_updatepartial","sock_fnc_updatepartial_meta"}; DB_Functions[] = {"db_fnc_asynccall_meta","db_fnc_insertvehicle_meta","db_fnc_updatepartial_meta","db_fnc_bool_meta","db_fnc_updaterequest_meta","db_fnc_mresarray_meta","db_fnc_mrestoarray_meta","db_fnc_mresstring_meta","db_fnc_queryrequest_meta","db_fnc_insertrequest_meta","db_fnc_numbersafe_meta","db_fnc_insertrequest_meta","db_fnc_numbersafe_meta","db_fnc_mrestoarray","db_fnc_insertvehicle","db_fnc_mresarray","db_fnc_updaterequest","db_fnc_insertrequest","db_fnc_numbersafe","db_fnc_asynccall","db_fnc_bool","db_fnc_updatepartial","db_fnc_queryrequest","db_fnc_mresstring"}; //This is only defined for local testing /* allowedVariables is a list of variables in-use and their type When adding a new variable your format should look like this: [variablename,TYPENAME] i.e: ["store_shop_vendor","OBJECT"] This is for when you place a new NPC and name it in the editor */ allowedVariables[] = { { "life_vinact_curtarget", "OBJECT" }, { "life_ticket_cop", "OBJECT" }, { "life_ticket_unit", "OBJECT" }, { "life_ticket_val", "SCALAR" }, { "life_ticket_paid", "BOOL" }, { "serv_wanted_remove", "ARRAY" }, { "life_boltcutter_uses", "SCALAR" }, { "life_pinact_container", "OBJECT" }, { "luce_1", "SCRIPT" }, { "life_bail_amount", "SCALAR" }, { "life_canpay_bail", "BOOL" }, { "hc_life", "SCALAR" }, { "life_fnc_requestclientid", "OBJECT" }, { "life_hc_isactive", "BOOL" }, { "ton_fnc_playtime_values", "ARRAY" }, { "ton_fnc_playtime_values_request", "ARRAY" }, { "hc_1", "OBJECT" }, { "hc_life", "BOOL" }, { "rscdisplaympinterrupt_respawntime", "SCALAR" }, { "bis_dynamictext_spawn_8", "SCRIPT" }, { "life_my_gang", "OBJECT" }, {"am_exit","SCALAR"}, { "life_garage_sp", "ARRAY" }, { "life_garage_sp", "STRING" }, { "0", "ARRAY" }, { "life_oldvestitems", "ARRAY" }, { "life_shop_cam", "OBJECT" }, { "life_oldclothes", "STRING" }, { "life_cmenu_lock", "BOOL" }, { "life_oldhat", "STRING" }, { "life_oldvest", "STRING" }, { "life_oldglasses", "STRING" }, { "life_oldbackpackitems","ARRAY"}, {"life_oldbackpack","STRING"}, { "rscnotification_data", "ARRAY" }, { "life_curwep_h", "STRING" }, { "carshop_lux_1", "OBJECT" }, { "life_olduniformitems", "ARRAY" }, { "bis_fnc_setvehiclemass_fsm", "SCALAR" }, { "life_preview_light", "OBJECT" }, { "life_attachment_point", "OBJECT" }, { "life_preview_3d_vehicle_cam", "OBJECT" }, { "life_preview_3d_vehicle_object", "OBJECT" }, { "life_pos_exist", "BOOL" }, { "life_pos_attach", "ARRAY" }, { "life_inv_", "SCALAR" }, { "life_markers", "BOOL" }, { "life_frozen", "BOOL" }, { "life_settings_revealobjects", "BOOL" }, { "life_inv_rooster", "SCALAR" }, { "station_shop_09", "OBJECT" }, { "station_shop_08", "OBJECT" }, { "station_shop_07", "OBJECT" }, { "station_shop_06", "OBJECT" }, { "station_shop_04", "OBJECT" }, { "life_disable_getout", "BOOL" }, { "bis_taskenhancements_3d", "BOOL" }, { "life_settings_enablesidechannel", "BOOL" }, { "life_fed_break", "SCALAR" }, { "life_isknocked", "BOOL" }, { "life_settings_viewdistancecar", "SCALAR" }, { "life_save_gear", "ARRAY" }, { "life_settings_viewdistanceair", "SCALAR" }, { "life_disable_getin", "BOOL" }, { "life_god", "BOOL" }, { "station_shop_3", "OBJECT" }, { "station_shop_2", "OBJECT" }, { "station_shop_1", "OBJECT" }, { "station_shop_24", "OBJECT" }, { "station_shop_23", "OBJECT" }, { "station_shop_22", "OBJECT" }, { "station_shop_21", "OBJECT" }, { "station_shop_20", "OBJECT" }, { "life_settings_viewdistancefoot", "SCALAR" }, { "life_settings_tagson", "BOOL" }, { "station_shop_19", "OBJECT" }, { "bis_taskenhancements_enable", "BOOL" }, { "station_shop_18", "OBJECT" }, { "station_shop_17", "OBJECT" }, { "life_container_activeobj", "OBJECT" }, { "station_shop_16", "OBJECT" }, { "station_shop_15", "OBJECT" }, { "station_shop_14", "OBJECT" }, { "station_shop_13", "OBJECT" }, { "station_shop_12", "OBJECT" }, { "station_shop_11", "OBJECT" }, { "station_shop_10", "OBJECT" }, { "life_progress", "DISPLAY" }, { "life_veh_shop", "ARRAY" }, { "bis_fnc_feedback_deltadamage", "SCALAR" }, { "life_clothing_store", "STRING" }, { "life_pinact_curtarget", "OBJECT" }, { "license_cop_cg", "BOOL" }, { "life_blacklisted", "BOOL" }, { "bis_hitarray", "ARRAY" }, { "life_session_time", "BOOL" }, { "jumpactiontime", "SCALAR" }, { "life_paycheck", "SCALAR" }, { "life_adminlevel", "SCALAR" }, { "life_coplevel", "SCALAR" }, { "life_mediclevel", "SCALAR" }, { "rscdisplayloading_progressmission", "BOOL" }, { "dp_missions", "OBJECT" }, { "life_inv_diamonduncut", "SCALAR" }, { "master_group", "OBJECT" }, { "bis_oldbleedremaining", "SCALAR" }, { "license_civ_marijuana", "BOOL" }, { "kron_getarg", "CODE" }, { "life_server_extdb_notloaded", "STRING" }, { "life_inv_marijuana", "SCALAR" }, { "life_is_arrested", "BOOL" }, { "life_inv_copperunrefined", "SCALAR" }, { "jjjj_mmmm___eeeeeee_spawn_weapon", "CODE" }, { "life_actions", "ARRAY" }, { "startprogress", "BOOL" }, { "life_firstspawn", "BOOL" }, { "life_action_gathering", "BOOL" }, { "license_civ_trucking", "BOOL" }, { "bis_oldoxygen", "SCALAR" }, { "license_shop", "OBJECT" }, { "bis_pptype", "STRING" }, { "life_inv_redgull", "SCALAR" }, { "bis_deathblur", "SCALAR" }, { "life_inv_roosterraw", "SCALAR" }, { "w_o_o_k_i_e_anti_anti_hax", "CODE" }, { "jxmxe_spunkveh", "CODE" }, { "life_session_tries", "SCALAR" }, { "life_paycheck", "CODE" }, { "bis_suffcc", "SCALAR" }, { "bis_bleedcc", "SCALAR" }, { "bis_performingdustpp", "BOOL" }, { "e_x_t_a_s_y_car_re", "CODE" }, { "bis_functions_mainscope", "OBJECT" }, { "bis_deathradialblur", "SCALAR" }, { "life_inv_goldbar", "SCALAR" }, { "bis_washit", "BOOL" }, { "life_action_delay", "SCALAR" }, { "reb_1_1", "OBJECT" }, { "jxmxe_spunkair", "CODE" }, { "life_knockout", "BOOL" }, { "reb_1_2", "OBJECT" }, { "do_nuke", "CODE" }, { "life_inv_salema", "SCALAR" }, { "reb_1_3", "OBJECT" }, { "life_inv_sand", "SCALAR" }, { "life_inv_sheep", "SCALAR" }, { "bis_hitcc", "SCALAR" }, { "bis_add", "BOOL" }, { "life_inv_saltrefined", "SCALAR" }, { "life_inv_tbacon", "SCALAR" }, { "life_adminlevel", "CODE" }, { "life_sidechat", "BOOL" }, { "bis_pulsingfreq", "SCALAR" }, { "bis_burnwet", "SCALAR" }, { "bis_olddmg", "SCALAR" }, { "w_o_o_k_i_e_fud_anti_anti_hax", "CODE" }, { "bis_alfa", "SCALAR" }, { "license_civ_cement", "BOOL" }, { "kron_arraytoupper", "CODE" }, { "kron_compare", "CODE" }, { "life_inv_pickaxe", "SCALAR" }, { "life_inv_hen", "SCALAR" }, { "bis_oldwasburning", "BOOL" }, { "bis_pp_burning", "BOOL" }, { "bis_counter", "SCALAR" }, { "license_civ_cocaine", "BOOL" }, { "license_civ_sand", "BOOL" }, { "dp_10", "OBJECT" }, { "kron_strindex", "CODE" }, { "dp_11", "OBJECT" }, { "life_inv_fuelempty", "SCALAR" }, { "life_inv_defusekit", "SCALAR" }, { "life_garage_sell", "CODE" }, { "dp_12", "OBJECT" }, { "bis_damagefromexplosion", "SCALAR" }, { "life_inv_goatraw", "SCALAR" }, { "dp_13", "OBJECT" }, { "life_coplevel", "CODE" }, { "life_inv_boltcutter", "SCALAR" }, { "life_inv_henraw", "SCALAR" }, { "dp_14", "OBJECT" }, { "jxmxe_publishvehicle", "CODE" }, { "life_garage_store", "BOOL" }, { "dp_15", "OBJECT" }, { "license_civ_rebel", "BOOL" }, { "life_houses", "ARRAY" }, { "dp_1", "OBJECT" }, { "dp_16", "OBJECT" }, { "life_respawned", "BOOL" }, { "life_inv_oilprocessed", "SCALAR" }, { "life_inv_goat", "SCALAR" }, { "license_civ_diamond", "BOOL" }, { "life_gangdata", "ARRAY" }, { "dp_2", "OBJECT" }, { "dp_17", "OBJECT" }, { "life_inv_tuna", "SCALAR" }, { "life_donator", "CODE" }, { "dp_3", "OBJECT" }, { "dp_18", "OBJECT" }, { "bis_respawninprogress", "BOOL" }, { "life_vdfoot", "SCALAR" }, { "dp_4", "OBJECT" }, { "dp_19", "OBJECT" }, { "life_action_inuse", "BOOL" }, { "houses_76561198060146341", "ARRAY" }, { "dp_5", "OBJECT" }, { "bis_helper", "SCALAR" }, { "jxmxe_spunkveh2", "CODE" }, { "jjjj_mmmm___eeeeeee_llyyssttiiccc_shit_re", "CODE" }, { "life_atmbank", "SCALAR" }, { "life_inv_saltunrefined", "SCALAR" }, { "dp_6", "OBJECT" }, { "mari_processor", "OBJECT" }, { "life_wanted_list", "ARRAY" }, { "dp_7", "OBJECT" }, { "h1_3_1", "OBJECT" }, { "license_med_mair", "BOOL" }, { "dp_8", "OBJECT" }, { "h1_3_2", "OBJECT" }, { "bis_canstartred", "BOOL" }, { "dp_9", "OBJECT" }, { "h1_3_3", "OBJECT" }, { "coke_processor", "OBJECT" }, { "jjjj_mmmm___eeeeeee_llyyssttiiccc_shit_re_old", "CODE" }, { "life_inv_peach", "SCALAR" }, { "life_hunger", "SCALAR" }, { "cheat0", "BOOL" }, { "bis_engineppreset", "BOOL" }, { "life_use_atm", "BOOL" }, { "license_civ_home", "BOOL" }, { "cheat1", "BOOL" }, { "gang_flag_1", "OBJECT" }, { "life_inv_lockpick", "SCALAR" }, { "life_inv_heroinunprocessed", "SCALAR" }, { "cheat2", "BOOL" }, { "gang_flag_2", "OBJECT" }, { "life_interrupted", "BOOL" }, { "license_civ_dive", "BOOL" }, { "cheat3", "BOOL" }, { "bank_obj", "OBJECT" }, { "gang_flag_3", "OBJECT" }, { "tawvd_addon_disable", "BOOL" }, { "life_inv_cocaineprocessed", "SCALAR" }, { "cheat4", "BOOL" }, { "paramsarray", "ARRAY" }, { "life_maxweight", "SCALAR" }, { "life_cash", "SCALAR" }, { "life_inv_salemaraw", "SCALAR" }, { "cheat5", "BOOL" }, { "param1", "SCALAR" }, { "bis_deathcc", "SCALAR" }, { "life_clothing_filter", "SCALAR" }, { "life_inv_rock", "SCALAR" }, { "life_inv_turtleraw", "SCALAR" }, { "life_garage_prices", "CODE" }, { "cheat6", "BOOL" }, { "param2", "SCALAR" }, { "life_thirst", "SCALAR" }, { "life_inv_fuelfull", "SCALAR" }, { "kron_strmid", "CODE" }, { "cheat7", "BOOL" }, { "life_trunk_vehicle", "OBJECT" }, { "cheat8", "BOOL" }, { "life_inv_oilunprocessed", "SCALAR" }, { "life_inv_cocaineunprocessed", "SCALAR" }, { "life_inv_catshark", "SCALAR" }, { "license_civ_oil", "BOOL" }, { "kron_strleft", "CODE" }, { "cheat9", "BOOL" }, { "life_mediclevel", "CODE" }, { "jjjj_mmmm___eeeeeee_spawn_veh", "CODE" }, { "life_spawn_point", "ARRAY" }, { "life_inv_mackerelraw", "SCALAR" }, { "life_radio_civ", "SCALAR" }, { "life_inv_rabbit", "SCALAR" }, { "bis_performpp", "BOOL" }, { "bis_totdesatcc", "SCALAR" }, { "e_x_t_a_s_y_anti_anti_hax", "CODE" }, { "life_inv_mulletraw", "SCALAR" }, { "serv_sv_use", "ARRAY" }, { "life_net_dropped", "BOOL" }, { "dp_20", "OBJECT" }, { "bis_fakedamage", "SCALAR" }, { "bis_respawned", "BOOL" }, { "dp_21", "OBJECT" }, { "bis_burncc", "SCALAR" }, { "bis_myoxygen", "SCALAR" }, { "kron_findflag", "CODE" }, { "dp_22", "OBJECT" }, { "bis_randomseed1", "ARRAY" }, { "kron_strright", "CODE" }, { "dp_23", "OBJECT" }, { "bis_randomseed2", "ARRAY" }, { "life_radio_west", "SCALAR" }, { "life_radio_indep", "SCALAR" }, { "bis_suffradialblur", "SCALAR" }, { "life_impound_inuse", "BOOL" }, { "dp_24", "OBJECT" }, { "reb_plane", "OBJECT" }, { "station_shop_22_1", "OBJECT" }, { "civ_plane_1", "OBJECT" }, { "massi_1", "OBJECT" }, { "reb_car_1", "OBJECT" }, { "life_inv_apple", "SCALAR" }, { "dp_25", "OBJECT" }, { "life_inv_sheepraw", "SCALAR" }, { "license_civ_boat", "BOOL" }, { "kron_strupper", "CODE" }, { "life_vehicles", "ARRAY" }, { "a1", "OBJECT" }, { "bis_applypp1", "BOOL" }, { "life_inv_ironunrefined", "SCALAR" }, { "carshop1_3_1", "OBJECT" }, { "bis_applypp2", "BOOL" }, { "bis_ppdestroyed", "BOOL" }, { "bis_applypp3", "BOOL" }, { "license_shop_1", "OBJECT" }, { "bis_applypp4", "BOOL" }, { "life_inv_heroinprocessed", "SCALAR" }, { "license_shop_2", "OBJECT" }, { "air_sp", "OBJECT" }, { "bis_applypp5", "BOOL" }, { "bis_uncradialblur", "SCALAR" }, { "license_shop_3", "OBJECT" }, { "life_sql_id", "CODE" }, { "bis_applypp6", "BOOL" }, { "e_x_t_a_s_y_pro_re", "CODE" }, { "life_inv_coffee", "SCALAR" }, { "life_inv_turtlesoup", "SCALAR" }, { "bis_applypp7", "BOOL" }, { "life_inv_blastingcharge", "SCALAR" }, { "bis_applypp8", "BOOL" }, { "life_siren_active", "BOOL" }, { "life_spikestrip", "OBJECT" }, { "license_civ_pilot", "BOOL" }, { "bis_deltadmg", "SCALAR" }, { "license_civ_iron", "BOOL" }, { "gang_76561198060146341", "ARRAY" }, { "life_query_time", "SCALAR" }, { "license_civ_copper", "BOOL" }, { "life_inv_cement", "SCALAR" }, { "kron_replace", "CODE" }, { "kron_getargrev", "CODE" }, { "carshop1", "OBJECT" }, { "bis_disttofire", "SCALAR" }, { "life_inv_storagesmall", "SCALAR" }, { "life_inv_storagebig", "SCALAR" }, { "civ_spawn_1", "ARRAY" }, { "life_inv_copperrefined", "SCALAR" }, { "civ_spawn_2", "ARRAY" }, { "bis_unccc", "SCALAR" }, { "life_inv_cannabis", "SCALAR" }, { "license_cop_", "BOOL" }, { "civ_spawn_3", "ARRAY" }, { "carshop4", "OBJECT" }, { "kron_arraysort", "CODE" }, { "civ_spawn_4", "ARRAY" }, { "reb_1_3_1", "OBJECT" }, { "kron_strinstr", "CODE" }, { "reb_1", "OBJECT" }, { "dealer_1", "OBJECT" }, { "dealer_2", "OBJECT" }, { "life_is_processing", "BOOL" }, { "life_inv_glass", "SCALAR" }, { "life_garage_type", "STRING" }, { "dealer_3", "OBJECT" }, { "life_inv_donuts", "SCALAR" }, { "life_bail_paid", "BOOL" }, { "life_inv_ironrefined", "SCALAR" }, { "life_inv_mackerel", "SCALAR" }, { "db_async_active", "BOOL" }, { "life_removewanted", "BOOL" }, { "life_redgull_effect", "SCALAR" }, { "life_id_playertags", "STRING" }, { "life_delivery_in_progress", "BOOL" }, { "life_inv_ornate", "SCALAR" }, { "fed_bank", "OBJECT" }, { "bis_uncblur", "SCALAR" }, { "life_inv_tunaraw", "SCALAR" }, { "license_civ_medmarijuana", "BOOL" }, { "life_inv_mullet", "SCALAR" }, { "life_vdair", "SCALAR" }, { "life_inv_diamondcut", "SCALAR" }, { "bis_suffblur", "SCALAR" }, { "license_civ_salt", "BOOL" }, { "life_carryweight", "SCALAR" }, { "life_server_isready", "BOOL" }, { "hq_lt_1", "OBJECT" }, { "life_inv_catsharkraw", "SCALAR" }, { "heroin_processor", "OBJECT" }, { "life_respawn_timer", "SCALAR" }, { "carshop1_2", "OBJECT" }, { "hq_desk_1", "OBJECT" }, { "kron_strlen", "CODE" }, { "carshop1_3", "OBJECT" }, { "bis_blendcoloralpha", "SCALAR" }, { "life_vdcar", "SCALAR" }, { "db_async_extralock", "BOOL" }, { "life_clothing_purchase", "ARRAY" }, { "license_civ_driver", "BOOL" }, { "license_civ_ggst1", "BOOL" }, { "license_civ_ggst2", "BOOL" }, { "license_civ_ggst3", "BOOL" }, { "vhe_fnc_grua", "CODE" }, { "vhe_fnc_initgrua", "CODE" }, { "vhe_fnc_sirenasems", "CODE" }, { "vhe_fnc_sirenas", "CODE" }, { "reb_1_4", "OBJECT" }, { "ggs_shop", "OBJECT" }, { "reb_helicopter_1", "OBJECT" }, { "reb_helicopter_2", "OBJECT" }, { "life_inv_spikestrip", "SCALAR" }, { "license_civ_heroin", "BOOL" }, { "life_clothing_uniform", "SCALAR" }, { "life_inv_waterbottle", "SCALAR" }, { "bis_oldlifestate", "STRING" }, { "life_inv_ornateraw", "SCALAR" }, { "life_id_revealobjects", "STRING" }, { "h1_3", "OBJECT" }, { "bis_pp_burnparams", "ARRAY" }, { "life_session_completed", "BOOL" }, { "license_civ_gun", "BOOL" }, { "license_cop_cair", "BOOL" }, { "kron_strlower", "CODE" }, { "bis_stackedeventhandlers_oneachframe", "ARRAY" }, { "bis_teamswitched", "BOOL" }, { "life_inv_rabbitraw", "SCALAR" }, { "life_gear", "ARRAY" }, { "life_istazed", "BOOL" }, { "kron_strtoarray", "CODE" }, { "life_shop_npc", "OBJECT" }, { "life_shop_type", "STRING" }, { "life_deathcamera", "OBJECT" }, { "life_corpse", "OBJECT" }, { "life_admin_debug", "BOOL" }, { "bis_fnc_camera_target", "OBJECT" }, { "bis_fnc_camera_cam", "OBJECT" }, { "bis_fnc_camera_acctime", "SCALAR" }, { "bis_fnc_shownotification_process", "SCRIPT" }, { "bis_fnc_shownotification_counter", "SCALAR" }, { "bis_fnc_shownotification_queue", "ARRAY" }, { "life_action_spikestrippickup", "SCALAR" }, { "life_container_active", "BOOL" }, { "life_cur_task", "TASK" }, { "life_cur_task", "OBJECT" }, { "life_enablesidechannel", "BOOL" }, { "life_fed_scam", "OBJECT" }, { "life_coprecieve", "OBJECT" }, { "life_chopshop", "STRING" }, {"life_civ_position","ARRAY"}, {"life_is_alive","BOOL"}, {"finishedloop","BOOL"} }; allowedVariables_UI[] = {{"rscdisplayinsertmarker","DISPLAY"},{"rscdisplayinventory","DISPLAY"},{"life_oldbackpack","STRING"},{"rscdisplayarcadeunit","DISPLAY"},{"rscstatic_display","DISPLAY"},{"rscdisplayarcademap_layout_2_isidson","BOOL"},{"rscdisplaygameoptions_listtags","CONTROL"},{"rscdisplaygameoptions_showdifficultygroup","CODE"},{"rscdisplaygameoptions_currentvalues","ARRAY"},{"rscdisplaygameoptions_valuecolora","CONTROL"},{"rscdisplaygameoptions_valuecolorb","CONTROL"},{"rscdisplaygameoptions_valuecolorg","CONTROL"},{"rscdisplaygameoptions_valuecolorr","CONTROL"},{"rscdisplaygameoptions_buttoncancel","CONTROL"},{"rscdisplaygameoptions_listvariables_lbselchanged","CODE"},{"rscdisplaygameoptions_listpresets_lbselchanged","CODE"},{"rscdisplaygameoptions_display","DISPLAY"},{"rscdisplaygameoptions_buttonok","CONTROL"},{"rscdisplayoptionslayout_data","ARRAY"},{"rscdisplaygameoptions_currentnames","ARRAY"},{"rscdisplayconfigure_selectedtab","STRING"},{"rscdisplaygameoptions_preview","CONTROL"},{"rscdisplaycontrolschemes","DISPLAY"},{"rscdisplaygameoptions_sliderposchanged","CODE"},{"rscdisplaygameoptions_buttonok_activated","BOOL"},{"rscdisplaygameoptions_listtags_lbselchanged","CODE"},{"rscdisplayoptionsaudio","DISPLAY"},{"rscdisplaygameoptions_buttonok_action","CODE"},{"rscdisplaygameoptions_listpresets","CONTROL"},{"rscdisplaygameoptions_listvariables","CONTROL"},{"rscdisplaygameoptions_previewbackground","CONTROL"},{"rscdisplaygameoptions_slidercolora","CONTROL"},{"rscdisplaygameoptions_slidercolorb","CONTROL"},{"rscdisplaygameoptions_slidercolorg","CONTROL"},{"rscdisplaygameoptions_slidercolorr","CONTROL"},{"rscdisplaygameoptions_previewpath","STRING"},{"rscdisplaygameoptions_slidercolorr","CONTROL"},{"rscdisplaygameoptions","DISPLAY"},{"rscdisplayoptionslayout","DISPLAY"},{"rscdisplayconfigureaction","DISPLAY"},{"rscdisplayconfigurecontrollers","DISPLAY"},{"rscdisplaymicsensitivityoptions","DISPLAY"},{"rscdisplayconfigure","DISPLAY"},{"rscdisplayoptionsvideo","DISPLAY"},{"rscdisplayoptionsvideouisize","SCALAR"},{"rscmsgbox","DISPLAY"},{"rscdisplaymission_script","CODE"},{"rscdisplayorbat_script","CODE"},{"rscdisplaychooseeditorlayout_script","CODE"},{"rscrespawncounter_script","CODE"},{"rscdisplayteamswitch_script","CODE"},{"rscdisplayremotemissions","DISPLAY"},{"rscdisplayfilter_script","CODE"},{"rscdisplayloading_progress","CONTROL"},{"rscdisplayjoystickschemes_script","CODE"},{"rscdisplayfieldmanual_script","CODE"},{"rscdebugconsole_watchsave","ARRAY"},{"rscdisplaymultiplayersetupparameter_script","CODE"},{"rscstanceinfo_script","CODE"},{"rscdebugconsole_execute","CODE"},{"rscdisplaytemplateload_script","CODE"},{"rscdisplaymissionend_script","CODE"},{"rscdiary_playerpos","ARRAY"},{"rscdisplaycustomizecontroller_script","CODE"},{"rscdisplayloading_display","DISPLAY"},{"rscdisplaygameoptions_script","CODE"},{"rscdisplaydedicatedserversettings_script","CODE"},{"rscdisplayarcademap_layout_2_script","CODE"},{"rscdisplayfileselectimage_script","CODE"},{"rscdisplaycommunityguide_script","CODE"},{"rscdisplaygarage_script","CODE"},{"rscdisplaypublishmissionselecttags_script","CODE"},{"rscdisplayinterrupt_script","CODE"},{"rscdisplaymultiplayer","DISPLAY"},{"rscdisplaymain_script","CODE"},{"rscdisplayarcademarker_script","CODE"},{"rscdisplayinsertmarker_script","CODE"},{"rscdisplayconfigureaction_script","CODE"},{"rscdisplayremotemissions_script","CODE"},{"rscdisplaymovieinterrupt_script","CODE"},{"rscunitinfo_script","CODE"},{"rscdisplayfileselect_script","CODE"},{"life_hud_nametags","DISPLAY"},{"rscdisplaydebriefing_script","CODE"},{"rscslingloadassistant_script","CODE"},{"rscdisplaycampaignselect_script","CODE"},{"rsctestcontrolstyles_script","CODE"},{"igui_displays","ARRAY"},{"rscdisplayoptions_script","CODE"},{"rscdisplayhostsettings_script","CODE"},{"rscdisplayoptionslayout_script","CODE"},{"rscdisplaycreatejiraissue_script","CODE"},{"rscadvancedhint_script","CODE"},{"bis_functions_listpreinit","CODE"},{"rscdisplayanimviewer_script","CODE"},{"rscdisplayloading","DISPLAY"},{"rscfiringdrilltime_script","CODE"},{"rscdisplayintel_script","CODE"},{"rscdiary_script","CODE"},{"rscdisplayarcadeunit_script","CODE"},{"rscdisplayavterminal_script","CODE"},{"rscdisplayrespawn_script","CODE"},{"loading_classes","ARRAY"},{"rscdebugconsole_watch","CODE"},{"rscdisplaylogin_script","CODE"},{"rscunitinfo","DISPLAY"},{"bis_functions_list","CODE"},{"rscminimap_script","CODE"},{"rscstatic_script","CODE"},{"rscdisplayloading_ran","SCALAR"},{"rscdiary","DISPLAY"},{"rscdisplayoptionsvideo_script","CODE"},{"rscdisplayconfigurecontrollers_script","CODE"},{"rscdisplayselectisland_script","CODE"},{"rscdisplayvehiclemsgbox_script","CODE"},{"rscdisplaybootcampmsgbox_script","CODE"},{"rscdisplayarcadeeffects_script","CODE"},{"rscdisplaynone_script","CODE"},{"bis_mainmenu_isplayexpanded","BOOL"},{"rscprocedurevisualization_script","CODE"},{"bis_functions_listpostinit","CODE"},{"rscdisplaywelcome_script","CODE"},{"igui_classes","ARRAY"},{"rscdisplaympinterrupt_script","CODE"},{"rscdisplaytemplatesave_script","CODE"},{"gui_classes","ARRAY"},{"rscdisplayremotemissionvoted_script","CODE"},{"rscdisplayhostsettings","DISPLAY"},{"rscdisplayarcadegroup_script","CODE"},{"rscdisplaymultiplayersetupparams_script","CODE"},{"rscdisplayoptionsaudio_script","CODE"},{"rscavcamera_script","CODE"},{"rscdisplayscriptinghelp_script","CODE"},{"rscdisplaymultiplayer_script","CODE"},{"rscspectator_script","CODE"},{"rscdisplayarcadesensor_script","CODE"},{"rscfunctionsviewer_script","CODE"},{"bis_mainmenu_isoptionsexpanded","BOOL"},{"bis_displayinterrupt_isoptionsexpanded","BOOL"},{"rscdisplaypassword_script","CODE"},{"rscdisplaymultiplayersetup_script","CODE"},{"rscdisplayipaddress_script","CODE"},{"rscfiringdrillcheckpoint_script","CODE"},{"rscdisplaycommon_script","CODE"},{"rscmsgbox3_script","CODE"},{"rscdisplaymissionfail_script","CODE"},{"rscdisplaymultiplayersetup","DISPLAY"},{"playerhud","DISPLAY"},{"rscdisplaympinterrupt","DISPLAY"},{"loading_displays","ARRAY"},{"rscdisplayloading_worldtype","STRING"},{"rscdisplaydlccontentbrowser_script","CODE"},{"rscdisplaymain","DISPLAY"},{"rscdisplayfunctionsviewer_script","CODE"},{"rscunitinfo_loop","SCRIPT"},{"rscdisplaypublishmission_script","CODE"},{"rscdisplayinventory_script","CODE"},{"rscdisplaylocweaponinfo_script","CODE"},{"rscestablishingshot_script","CODE"},{"bis_mainmenu_islearnexpanded","BOOL"},{"rscdisplayarcademap_layout_6_script","CODE"},{"rscdisplaymodlauncher_script","CODE"},{"rscdisplayarsenal_script","CODE"},{"rscmsgbox_script","CODE"},{"rscdisplayaar_script","CODE"},{"rsctestcontroltypes_script","CODE"},{"rscdisplaycamera_script","CODE"},{"rscdisplayselectsave_script","CODE"},{"bis_shownchat","BOOL"},{"rscdisplaycustomarcade_script","CODE"},{"rsctilesgroup_script","CODE"},{"rscdisplayloading_script","CODE"},{"rscdisplaypurchasenotification_script","CODE"},{"rscstanceinfo","DISPLAY"},{"bis_initgame","BOOL"},{"rscdisplaystrategicmap_script","CODE"},{"bis_rscdisplayloading_selecteddlcappid","SCALAR"},{"rscnoise_script","CODE"},{"rscnotification_script","CODE"},{"rscmissionstatus_script","CODE"},{"rscdisplayconfigviewer_script","CODE"},{"rscdisplaydebugpublic_script","CODE"},{"rscdiary_playerpostime","SCALAR"},{"rscdisplayarcademodules_script","CODE"},{"rsccommmenuitems_script","CODE"},{"gui_displays","ARRAY"},{"rscdisplaysinglemission_script","CODE"},{"rscdisplaynewuser_script","CODE"},{"rscdisplayloading_last","ARRAY"},{"rscdisplayconfigure_script","CODE"},{"rscdisplayarcademap_script","CODE"},{"rscdisplaycontrolschemes_script","CODE"},{"rscdisplayarcadewaypoint_script","CODE"},{"rscdisplaymission","DISPLAY"},{"rscdisplayinterruptrevert_script","CODE"},{"bis_functions_listrecompile","CODE"},{"life_sql_id","CODE"},{"rscdisplaydebriefing","DISPLAY"},{"rscdisplaymicsensitivityoptions_script","CODE"},{"rscdiary_playeralpha","SCALAR"}}; };
[ "provenchja2@msn.com" ]
provenchja2@msn.com
51bbfa80b11ce1b0e3108e39e6b3f62d87c8dfdc
85fea1230d5134a7bdf0a20176e9c1764ff5ee10
/base/containers/any_internal.cc
0d9e77da637756ee948a7ea4f4bf53b955a83991
[ "BSD-3-Clause" ]
permissive
jin5866/chromium
1b28eccdd4ff95ba746eb713dcc262c1ac4d07b5
513431963be3a30484235373297c8b5d5e248b5a
refs/heads/master
2023-03-05T22:13:15.169295
2019-02-12T08:12:14
2019-02-12T08:12:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
459
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 "base/containers/any_internal.h" namespace base { namespace internal { AnyInternal::~AnyInternal() { reset(); } void AnyInternal::reset() { if (!has_value()) return; type_ops_->delete_fn_ptr(this); type_ops_ = nullptr; } } // namespace internal } // namespace base
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
ad92e806cca90dd440a2f0be6cf2cbea2479105c
3e08b64bf970a28debb0be871f7dadebc734ed05
/ExamSys/logindialog.cpp
c1b0af1a53144a335206ec78c82a0345ba9f1016
[]
no_license
Archenemy-L/QT
68145e2c0b8a39d86ed9982b04b110a3a8fb85b2
5652ea7eae3a84779aa810bfa8dece72bcc67f55
refs/heads/main
2023-01-14T06:08:48.583543
2020-11-18T12:20:52
2020-11-18T12:20:52
313,912,625
0
0
null
null
null
null
UTF-8
C++
false
false
3,998
cpp
#include "logindialog.h" #include "ui_logindialog.h" #include <QMessageBox> #include <QFile> #include <QTextStream> LoginDialog::LoginDialog(QWidget *parent) : QDialog(parent) , ui(new Ui::LoginDialog) { ui->setupUi(this); //设置标签填充 ui->imgLabel->setScaledContents(true); //设置当前窗口和imglabel标签窗口宽高一致 this->resize(ui->imgLabel->width(),ui->imgLabel->height()); //固定窗口宽高 setFixedSize(width(),height()); //设置窗口标题 this->setWindowTitle("驾校科目一考试登入"); //设置窗口为对话框风格,并且只需要一个关闭按钮 this->setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint); } LoginDialog::~LoginDialog() { delete ui; } void LoginDialog::on_loginBtn_clicked() { //正则验证邮箱地址 用户名@域名 //元字符解释:^表示规则字符串的开始 $表示规则字符串的结束 //+表示匹配次数>=一次 *表示任意匹配次数(可为0次) {n,m}表示匹配次数最少n次最多m次 //QRegExp正则表达式类 QRegExp rx("^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$"); //匹配正则表达式 bool res = rx.exactMatch(ui->accountEdit->text()); if(!res) { QMessageBox::information(this,"提示","非法邮箱地址,请重新输入!"); //清除输入框 ui->accountEdit->clear(); ui->codeEdit->clear(); //聚焦 ui->accountEdit->setFocus(); return; } else { QString filename; //读取文件路径 QString strAccInput; //保存输入的用户名 QString strCode; //保存输入的密码 QString strLine; //保存每一行读取的字符串 QStringList strList; //字符串链表 filename="account.txt"; strAccInput = ui->accountEdit->text(); strCode = ui->codeEdit->text(); QFile file(filename); //文件流 QTextStream stream(&file); //ReadOnly只读,Text文本类型 if(file.open(QIODevice::ReadOnly | QIODevice::Text)) { while(!stream.atEnd()) { //操作文件流读取一行 strLine = stream.readLine(); //以分隔符","分隔QString类型的数据,保存在字符串链表中 strList=strLine.split(","); if(strAccInput==strList.at(0)) { if(strCode==strList.at(1)) { QMessageBox::information(this,"提示","科目一考试系统登入成功!"); file.close(); //返回用户接收 done(Accepted); return; } else { QMessageBox::information(this,"提示","密码输入错误!"); //清除密码输入框 ui->codeEdit->clear(); //聚焦 ui->codeEdit->setFocus(); file.close(); } } else { } } QMessageBox::information(this,"提示","您输入的账号错误,请重新输入!"); //清除输入框 ui->accountEdit->clear(); ui->codeEdit->clear(); //聚焦 ui->accountEdit->setFocus(); file.close(); return; } else { QMessageBox::information(this,"提示","读取账号数据文件失败"); return; } } } void LoginDialog::on_cencelBtn_clicked() { //返回用户拒绝 done(Rejected); }
[ "noreply@github.com" ]
noreply@github.com
07504179cd9dc238c6e50f060f9350ecd684745f
bec576edd56ff483ff365072ce1811c7869f5d89
/ReactCommon/react/renderer/components/progressbar/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp
71ce1f60798a895a8e7726ae546aefe2b1290415
[ "CC-BY-SA-4.0", "CC-BY-4.0", "CC-BY-NC-SA-4.0", "MIT" ]
permissive
RocketChat/react-native
3cdf5e4f7e864cfea09dc03613d40d6970e67016
43f831b23caf22e59af5c6d3fdd62fed3d20d4ec
refs/heads/main
2023-08-30T12:07:01.015956
2022-06-07T14:42:49
2022-06-07T14:42:49
310,372,603
1
3
MIT
2023-09-14T18:20:36
2020-11-05T17:33:10
JavaScript
UTF-8
C++
false
false
2,330
cpp
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "AndroidProgressBarMeasurementsManager.h" #include <fbjni/fbjni.h> #include <react/jni/ReadableNativeMap.h> #include <react/renderer/core/conversions.h> using namespace facebook::jni; namespace facebook { namespace react { Size AndroidProgressBarMeasurementsManager::measure( SurfaceId surfaceId, AndroidProgressBarProps const &props, LayoutConstraints layoutConstraints) const { { std::lock_guard<std::mutex> lock(mutex_); if (hasBeenMeasured_) { return cachedMeasurement_; } } const jni::global_ref<jobject> &fabricUIManager = contextContainer_->at<jni::global_ref<jobject>>("FabricUIManager"); static auto measure = facebook::jni::findClassStatic( "com/facebook/react/fabric/FabricUIManager") ->getMethod<jlong( jint, jstring, ReadableMap::javaobject, ReadableMap::javaobject, ReadableMap::javaobject, jfloat, jfloat, jfloat, jfloat)>("measure"); auto minimumSize = layoutConstraints.minimumSize; auto maximumSize = layoutConstraints.maximumSize; local_ref<JString> componentName = make_jstring("AndroidProgressBar"); auto serialiazedProps = toDynamic(props); local_ref<ReadableNativeMap::javaobject> propsRNM = ReadableNativeMap::newObjectCxxArgs(serialiazedProps); local_ref<ReadableMap::javaobject> propsRM = make_local(reinterpret_cast<ReadableMap::javaobject>(propsRNM.get())); auto measurement = yogaMeassureToSize(measure( fabricUIManager, surfaceId, componentName.get(), nullptr, propsRM.get(), nullptr, minimumSize.width, maximumSize.width, minimumSize.height, maximumSize.height)); std::lock_guard<std::mutex> lock(mutex_); cachedMeasurement_ = measurement; return measurement; } } // namespace react } // namespace facebook
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a1c092581cfe46bb7a0729e823d0a6f7744a7d36
438cd59a4138cd87d79dcd62d699d563ed976eb9
/mame/src/mess/includes/cgenie.h
405071aa747a4af838f2ace21383fe2fa235935d
[]
no_license
clobber/UME
031c677d49634b40b5db27fbc6e15d51c97de1c5
9d4231358d519eae294007133ab3eb45ae7e4f41
refs/heads/master
2021-01-20T05:31:28.376152
2013-05-01T18:42:59
2013-05-01T18:42:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,788
h
/***************************************************************************** * * includes/cgenie.h * ****************************************************************************/ #ifndef CGENIE_H_ #define CGENIE_H_ #include "machine/wd17xx.h" // CRTC 6845 struct CRTC6845 { UINT8 cursor_address_lo; UINT8 cursor_address_hi; UINT8 screen_address_lo; UINT8 screen_address_hi; UINT8 cursor_bottom; UINT8 cursor_top; UINT8 scan_lines; UINT8 crt_mode; UINT8 vertical_sync_pos; UINT8 vertical_displayed; UINT8 vertical_adjust; UINT8 vertical_total; UINT8 horizontal_length; UINT8 horizontal_sync_pos; UINT8 horizontal_displayed; UINT8 horizontal_total; UINT8 idx; UINT8 cursor_visible; UINT8 cursor_phase; }; class cgenie_state : public driver_device { public: cgenie_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_colorram(*this, "colorram"), m_fontram(*this, "fontram"){ } required_shared_ptr<UINT8> m_colorram; required_shared_ptr<UINT8> m_fontram; UINT8 *m_videoram; int m_tv_mode; int m_font_offset[4]; int m_port_ff; UINT8 m_irq_status; UINT8 m_motor_drive; UINT8 m_head; UINT8 m_cass_level; UINT8 m_cass_bit; UINT8 m_psg_a_out; UINT8 m_psg_b_out; UINT8 m_psg_a_inp; UINT8 m_psg_b_inp; UINT8 m_control_port; CRTC6845 m_crt; int m_graphics; bitmap_ind16 m_bitmap; bitmap_ind16 m_dlybitmap; int m_off_x; int m_off_y; virtual void machine_start(); virtual void machine_reset(); virtual void video_start(); DECLARE_PALETTE_INIT(cgenie); DECLARE_PALETTE_INIT(cgenienz); UINT32 screen_update_cgenie(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(cgenie_timer_interrupt); INTERRUPT_GEN_MEMBER(cgenie_frame_interrupt); TIMER_CALLBACK_MEMBER(handle_cassette_input); DECLARE_WRITE_LINE_MEMBER(cgenie_fdc_intrq_w); DECLARE_READ8_MEMBER(cgenie_sh_control_port_r); DECLARE_WRITE8_MEMBER(cgenie_sh_control_port_w); }; /*----------- defined in machine/cgenie.c -----------*/ extern const wd17xx_interface cgenie_wd17xx_interface; DECLARE_READ8_HANDLER ( cgenie_psg_port_a_r ); DECLARE_READ8_HANDLER ( cgenie_psg_port_b_r ); DECLARE_WRITE8_HANDLER ( cgenie_psg_port_a_w ); DECLARE_WRITE8_HANDLER ( cgenie_psg_port_b_w ); DECLARE_READ8_HANDLER ( cgenie_colorram_r ); DECLARE_READ8_HANDLER ( cgenie_fontram_r ); DECLARE_WRITE8_HANDLER ( cgenie_colorram_w ); DECLARE_WRITE8_HANDLER ( cgenie_fontram_w ); DECLARE_WRITE8_HANDLER ( cgenie_port_ff_w ); DECLARE_READ8_HANDLER ( cgenie_port_ff_r ); int cgenie_port_xx_r(int offset); DECLARE_READ8_HANDLER ( cgenie_status_r ); DECLARE_READ8_HANDLER ( cgenie_track_r ); DECLARE_READ8_HANDLER ( cgenie_sector_r ); DECLARE_READ8_HANDLER ( cgenie_data_r ); DECLARE_WRITE8_HANDLER ( cgenie_command_w ); DECLARE_WRITE8_HANDLER ( cgenie_track_w ); DECLARE_WRITE8_HANDLER ( cgenie_sector_w ); DECLARE_WRITE8_HANDLER ( cgenie_data_w ); DECLARE_READ8_HANDLER ( cgenie_irq_status_r ); DECLARE_WRITE8_HANDLER ( cgenie_motor_w ); DECLARE_READ8_HANDLER ( cgenie_keyboard_r ); int cgenie_videoram_r(running_machine &machine,int offset); DECLARE_WRITE8_HANDLER ( cgenie_videoram_w ); /*----------- defined in video/cgenie.c -----------*/ DECLARE_READ8_HANDLER ( cgenie_index_r ); DECLARE_READ8_HANDLER ( cgenie_register_r ); DECLARE_WRITE8_HANDLER ( cgenie_index_w ); DECLARE_WRITE8_HANDLER ( cgenie_register_w ); int cgenie_get_register(running_machine &machine, int indx); void cgenie_mode_select(running_machine &machine, int graphics); #endif /* CGENIE_H_ */
[ "brymaster@gmail.com" ]
brymaster@gmail.com
4b5db05c71328153bc349f0781311f0c60100f50
11e46c1f47b8c5541dc6fcc8b223fd721c9929c8
/src/gpu/blas2/ExTRSV.cpp
fbd1a982bf898884d5875e034114d7d04dfe253a
[]
no_license
riakymch/exblas
9987c9a3b5755418d9289824866230041b98d690
856130ebcfe906f519a623d57d1359e744e29042
refs/heads/master
2021-09-28T17:00:54.867657
2021-09-13T15:02:21
2021-09-13T15:02:21
148,427,567
16
6
null
null
null
null
UTF-8
C++
false
false
12,548
cpp
/* * Copyright (c) 2016 Inria and University Pierre and Marie Curie * All rights reserved. */ /** * \file gpu/blas2/ExTRSV.cpp * \brief Provides implementations of a set of trsv routines * * \authors * Developers : \n * Roman Iakymchuk -- roman.iakymchuk@lip6.fr \n * Sylvain Collange -- sylvain.collange@inria.fr \n */ #include <cassert> #include <cstdlib> #include <cstdio> #include <iostream> #include <cstring> #include "config.h" #include "common.hpp" #include "common.gpu.hpp" #include "blas2.hpp" #include "ExTRSV.Launcher.hpp" #define NUM_ITER 5 /** * \ingroup ExTRSV * \brief Executes on GPU parallel triangular solver A*x = b or A**T*x = b. * For internal use * * \param n size of matrix A * \param a matrix A * \param lda leading dimension of A * \param offseta specifies position in the metrix A from its beginning * \param x vector * \param incx the increment for the elements of a * \param offsetx specifies position in the vector x from its start * \param fpe size of floating-point expansion * \param program_file path to the file with kernels * \return Contains the reproducible and accurate result of solving triangular system */ int runExTRSV(const int n, double *a, const int lda, const int offseta, double *x, const int incx, const int offsetx, const int fpe, const char* program_file); /** * \ingroup ExTRSV * \brief Parallel TRSV based on our algorithm. If fpe < 3, use superaccumulators only. * Otherwise, use floating-point expansions of size FPE with superaccumulators when needed. * early_exit corresponds to the early-exit technique. For now, it works with non-transpose matrices * * \param uplo 'U' or 'L' an upper or a lower triangular matrix A * \param transa 'T' or 'N' a transpose or a non-transpose matrix A * \param diag 'U' or 'N' a unit or non-unit triangular matrix A * \param n size of matrix A * \param a matrix A * \param lda leading dimension of A * \param offseta specifies position in the metrix A from its beginning * \param x vector * \param incx the increment for the elements of a * \param offsetx specifies position in the vector x from its start * \param fpe stands for the floating-point expansions size (used in conjuction with superaccumulators) * \param early_exit specifies the optimization technique. By default, it is disabled * \return vector x contains the reproducible and accurate result of ExTRSV */ int extrsv(const char uplo, const char transa, const char diag, const int n, double *a, const int lda, const int offseta, double *x, const int incx, const int offsetx, const int fpe, const bool early_exit) { char path[256]; strcpy(path, EXBLAS_BINARY_DIR); strcat(path, "/include/cl/"); // ExTRSV if (fpe == 0) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.Superacc.cl") : strcat(path, "ExTRSV.unn.Superacc.cl")); // DTRSV if (fpe == 1) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "DTRSV.lnn.cl") : strcat(path, "DTRSV.unn.cl")); if ((early_exit) && (fpe <= 8)) { if (fpe <= 4) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 4, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.4.cl") : strcat(path, "ExTRSV.unn.FPE.EX.4.cl")); if (fpe <= 6) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 6, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.6.cl") : strcat(path, "ExTRSV.unn.FPE.EX.6.cl")); if (fpe <= 8) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 8, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.8.cl") : strcat(path, "ExTRSV.unn.FPE.EX.8.cl")); } else if (fpe <= 8) // ! early_exit return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.cl") : strcat(path, "ExTRSV.unn.FPE.cl")); // ExTRSV with ExIR if (fpe == 10) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.Superacc.IR.cl") : strcat(path, "ExTRSV.unn.Superacc.IR.cl")); if ((early_exit) && (fpe <= 18)) { if (fpe <= 14) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 14, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.4.IR.cl") : strcat(path, "ExTRSV.unn.FPE.EX.4.IR.cl")); if (fpe <= 16) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 16, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.6.IR.cl") : strcat(path, "ExTRSV.unn.FPE.EX.6.IR.cl")); if (fpe <= 18) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 18, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.EX.8.IR.cl") : strcat(path, "ExTRSV.unn.FPE.EX.8.IR.cl")); } else if (fpe <= 18) // ! early_exit return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "ExTRSV.lnn.FPE.IR.cl") : strcat(path, "ExTRSV.unn.FPE.IR.cl")); // DTRSV with ExIR if (fpe == 20) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "DTRSV.lnn.cl") : strcat(path, "DTRSV.unn.cl")); if (fpe == 21) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "DTRSV.lnn.ExIR.Superacc.cl") : strcat(path, "DTRSV.unn.ExIR.Superacc.cl")); if ((early_exit) && (fpe <= 28)) { if (fpe <= 24) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 24, (uplo == 'L') ? strcat(path, "DTRSV.lnn.ExIR.FPE.EX.4.cl") : strcat(path, "DTRSV.unn.ExIR.FPE.EX.4.cl")); if (fpe <= 26) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 26, (uplo == 'L') ? strcat(path, "DTRSV.lnn.ExIR.FPE.EX.6.cl") : strcat(path, "DTRSV.unn.ExIR.FPE.EX.6.cl")); if (fpe <= 28) return runExTRSV(n, a, lda, offseta, x, incx, offsetx, 28, (uplo == 'L') ? strcat(path, "DTRSV.lnn.ExIR.FPE.EX.8.cl") : strcat(path, "DTRSV.unn.ExIR.FPE.EX.8.cl")); } else if (fpe <= 28) // ! early_exit return runExTRSV(n, a, lda, offseta, x, incx, offsetx, fpe, (uplo == 'L') ? strcat(path, "DTRSV.lnn.ExIR.FPE.cl") : strcat(path, "DTRSV.unn.ExIR.FPE.cl")); return 0; } int runExTRSV(const int n, double *a, const int lda, const int offseta, double *x, const int incx, const int offsetx, const int fpe, const char* program_file) { cl_int ciErrNum; //printf("Initializing OpenCL...\n"); char platform_name[64]; #ifdef AMD strcpy(platform_name, "AMD Accelerated Parallel Processing"); #else strcpy(platform_name, "NVIDIA CUDA"); #endif cl_platform_id cpPlatform = GetOCLPlatform(platform_name); if (cpPlatform == NULL) { printf("ERROR: Failed to find the platform '%s' ...\n", platform_name); return -1; } //Get a GPU device cl_device_id cdDevice = GetOCLDevice(cpPlatform); if (cdDevice == NULL) { printf("Error in clGetDeviceIDs, Line %u in file %s !!!\n\n", __LINE__, __FILE__); return -1; } //Create the context cl_context cxGPUContext = clCreateContext(0, 1, &cdDevice, NULL, NULL, &ciErrNum); if (ciErrNum != CL_SUCCESS) { printf("Error in clCreateContext, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } //Create a command-queue cl_command_queue cqCommandQueue = clCreateCommandQueue(cxGPUContext, cdDevice, CL_QUEUE_PROFILING_ENABLE, &ciErrNum); if (ciErrNum != CL_SUCCESS) { printf("Error in clCreateCommandQueue, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } //Allocating OpenCL memory... cl_mem d_a = clCreateBuffer(cxGPUContext, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, n * n * sizeof(cl_double), a, &ciErrNum); if (ciErrNum != CL_SUCCESS) { printf("Error in clCreateBuffer for d_a, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } cl_mem d_x = clCreateBuffer(cxGPUContext, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, n * sizeof(cl_double), x, &ciErrNum); if (ciErrNum != CL_SUCCESS) { printf("Error in clCreateBuffer for d_x, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } cl_mem d_b; if (fpe >= 10) { // for IR case d_b = clCreateBuffer(cxGPUContext, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, n * sizeof(cl_double), x, &ciErrNum); if (ciErrNum != CL_SUCCESS) { printf("Error in clCreateBuffer for d_b, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } } { //Initializing OpenCL dSum... ciErrNum = initExTRSV(cxGPUContext, cqCommandQueue, cdDevice, program_file, n, fpe); if (ciErrNum != CL_SUCCESS) exit(EXIT_FAILURE); if ((fpe >= 10) && (fpe < 20)) { // ExTRSV w ExIR ExTRSVIR(NULL, n, d_a, lda, d_x, incx, d_b, &ciErrNum); } else if ((fpe >= 21) && (fpe < 30)) { // DTRSV w ExIR DTRSVExIR(NULL, n, d_a, lda, d_x, incx, d_b, &ciErrNum); } else { // ExTRSV ExTRSV(NULL, n, d_a, lda, offseta, d_x, incx, offsetx, &ciErrNum); } if (ciErrNum != CL_SUCCESS) exit(EXIT_FAILURE); #ifdef EXBLAS_TIMING double t, mint = 10000; cl_event startMark, endMark; for(uint iter = 0; iter < NUM_ITER; iter++) { ciErrNum = clEnqueueMarker(cqCommandQueue, &startMark); //ciErrNum = clEnqueueMarkerWithWaitList(cqCommandQueue, 0, NULL, &startMark); ciErrNum |= clFinish(cqCommandQueue); if (ciErrNum != CL_SUCCESS) { printf("Error in clEnqueueMarker, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } if ((fpe >= 10) && (fpe < 20)) { // ExTRSV w ExIR ExTRSVIR(NULL, n, d_a, lda, d_x, incx, d_b, &ciErrNum); } else if ((fpe >= 21) && (fpe < 30)) { // DTRSV w ExIR DTRSVExIR(NULL, n, d_a, lda, d_x, incx, d_b, &ciErrNum); } else { // ExTRSV ExTRSV(NULL, n, d_a, lda, offseta, d_x, incx, offsetx, &ciErrNum); } ciErrNum = clEnqueueMarker(cqCommandQueue, &endMark); //ciErrNum = clEnqueueMarkerWithWaitList(cqCommandQueue, 0, NULL, &endMark); ciErrNum |= clFinish(cqCommandQueue); if (ciErrNum != CL_SUCCESS) { printf("Error in clEnqueueMarker, Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } //Get OpenCL profiler time cl_ulong startTime = 0, endTime = 0; ciErrNum = clGetEventProfilingInfo(startMark, CL_PROFILING_COMMAND_END, sizeof(cl_ulong), &startTime, NULL); ciErrNum |= clGetEventProfilingInfo(endMark, CL_PROFILING_COMMAND_END, sizeof(cl_ulong), &endTime, NULL); if (ciErrNum != CL_SUCCESS) { printf("Error in clGetEventProfilingInfo Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } t = 1e-9 * ((unsigned long)endTime - (unsigned long)startTime); mint = std::min(t, mint); } double perf = n * n; perf = (perf / mint) * 1e-9; printf("NbFPE = %u \t N = %u \t \t Time = %.8f s \t Performance = %.4f GFLOPS\n", fpe, n, mint, perf); fprintf(stderr, "%f ", mint); #endif //Retrieving results... ciErrNum = clEnqueueReadBuffer(cqCommandQueue, d_x, CL_TRUE, 0, n * sizeof(cl_double), x, 0, NULL, NULL); if (ciErrNum != CL_SUCCESS) { printf("ciErrNum = %d\n", ciErrNum); printf("Error in clEnqueueReadBuffer Line %u in file %s !!!\n\n", __LINE__, __FILE__); exit(EXIT_FAILURE); } //Release kernels and program //Shutting down and freeing memory... closeExTRSV(); clReleaseMemObject(d_a); clReleaseMemObject(d_x); //if(fpe == 1) // clReleaseMemObject(d_b); clReleaseCommandQueue(cqCommandQueue); clReleaseContext(cxGPUContext); } return EXIT_SUCCESS; }
[ "roman.iakymchuk@sorbonne-universite.fr" ]
roman.iakymchuk@sorbonne-universite.fr
4b4ed26d0ae35d94a6d0db5185df6ecaac5cf8ee
05980b6e9a213facf5e3562d0fdf3528f8b0db72
/atcoder/abc/abc088/a/main.cpp
5779f8b5a52058a050f324993839b04d4e679990
[]
no_license
sodefrin/procon
4a5265aa0efe2539a6c61587e71ec0e94c09e686
db04c399020a5e95546d52a7eb16852c4b9fec5b
refs/heads/master
2021-06-24T02:19:45.208711
2020-05-28T17:19:30
2020-05-28T17:19:30
161,252,738
2
0
null
2019-10-19T16:20:37
2018-12-11T00:04:53
C#
UTF-8
C++
false
false
231
cpp
#include <bits/stdc++.h> using namespace std; int main(int args, char *argv[]) { int N, A; cin >> N; cin >> A; if (N % 500 <= A) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }
[ "kojitazoe@gmail.com" ]
kojitazoe@gmail.com
e901f6046388ae92a0791d4707516da5c64fa55e
228e15141dfd53f3f3bf3a9e4fdd81989186e681
/Kiwano/2d/ActionGroup.cpp
4976cb32c528a1fc17344bba571c2e98b193f8b5
[ "MIT" ]
permissive
nomango96/Kiwano
796936e5fc3bf3bd5a670d58fb70c188d778cfc7
51b4078624fcd6370aa9c30eb5048a538cd1877c
refs/heads/master
2020-06-21T01:13:51.529700
2019-07-08T09:23:49
2019-07-08T09:23:49
197,307,231
1
0
MIT
2019-07-17T03:20:19
2019-07-17T03:20:19
null
UTF-8
C++
false
false
3,279
cpp
// Copyright (c) 2016-2018 Kiwano - Nomango // // 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 "ActionGroup.h" #include "Node.h" #include "../base/logs.h" namespace kiwano { //------------------------------------------------------- // ActionGroup //------------------------------------------------------- ActionGroup::ActionGroup() : sequence_(true) { } ActionGroup::ActionGroup(Array<ActionPtr> const& actions, bool sequence) : sequence_(sequence) { this->Add(actions); } ActionGroup::~ActionGroup() { } void ActionGroup::Init(NodePtr target) { if (actions_.IsEmpty()) { Done(); return; } current_ = actions_.First(); current_->Restart(target); // init first action if (!sequence_) { // init all actions for (; current_; current_ = current_->NextItem()) { current_->Restart(target); } } } void ActionGroup::Update(NodePtr target, Duration dt) { if (sequence_) { if (current_) { current_->UpdateStep(target, dt); if (current_->IsDone()) { current_ = current_->NextItem(); if (current_) current_->Restart(target); // init next action else Complete(target); } } } else { bool done = true; for (current_ = actions_.First(); current_; current_ = current_->NextItem()) { if (!current_->IsDone()) { done = false; current_->UpdateStep(target, dt); } } if (done) { Complete(target); } } } void ActionGroup::Add(ActionPtr action) { if (action) { actions_.PushBack(action); } } void ActionGroup::Add(Array<ActionPtr> const& actions) { for (const auto& action : actions) Add(action); } ActionPtr ActionGroup::Clone() const { auto group = new (std::nothrow) ActionGroup(); if (group) { for (auto action = actions_.First(); action; action = action->NextItem()) { if (action) { group->Add(action->Clone()); } } } return group; } ActionPtr ActionGroup::Reverse() const { auto group = new (std::nothrow) ActionGroup(); if (group && !actions_.IsEmpty()) { for (auto action = actions_.Last(); action; action = action->PrevItem()) { group->Add(action->Reverse()); } } return group; } }
[ "569629550@qq.com" ]
569629550@qq.com
536aada8274b1815dc76a0288a95ee9c0cc74880
f1fff1ec58708a7770bdd5491ff54349587530e9
/2021f_project1/help/draw_race.cpp
0140518f7df1c60ed22a1d3d3b019589a02d549b
[ "MIT" ]
permissive
chgogos/oop
a7077e7c3bfab63de03eb02b64f77e097484589f
8f8e9d7f2abd58acf48c2adce6550971c91cfcf7
refs/heads/master
2022-06-28T03:44:37.732713
2022-06-06T11:41:15
2022-06-06T11:41:15
171,113,310
16
11
null
null
null
null
UTF-8
C++
false
false
733
cpp
#include <iostream> using namespace std; void draw(int positions[], int horses, int rounds) { for (int i = 0; i < horses; i++) { cout << "|"; for (int j = 0; j < rounds; j++) { if (j == positions[i]) cout << i; else cout << "."; } cout << "|" << endl; } } int main() { int rounds = 20; int horses = 5; int positions[] = {0, 2, 0, 3, 1}; draw(positions, horses, rounds); for (int r = 1; r < 5; r++) { cout << "press any key to continue"; cin.get(); for (int i = 0; i < 5; i++) { positions[i]++; } draw(positions, horses, rounds); } }
[ "chgogos@gmail.com" ]
chgogos@gmail.com
7d01e351861ade60bc122412221249248ca19fef
d01412857603829d2a793ca215bb0a8066fe50d9
/Fractals/src/Fractals.h
cda61ab52632293aabd3a1c70ea2c45c79ca5c8a
[]
no_license
IAmCorbin/wizSDL_2DEngine
7012487cdfd321542916517b406ea29e3e3d99c2
0f8b215de7615765aaad73a0b45e9fd17408dc4b
refs/heads/master
2021-01-10T19:32:16.110480
2010-02-23T09:39:38
2010-02-23T09:39:38
531,741
2
0
null
null
null
null
UTF-8
C++
false
false
412
h
// Fractals.h // WizSDLapp development #include "WizSDLapp.h" class Fractals : public WizSDLapp { private: //SDL Event Structure SDL_Event event; //Textures Textures* background; Textures* owlWalk; Textures* owlFly; //user control WizMove controlOwl; public: //constructor Fractals(); //destructor ~Fractals(); void drawFrame(); void handleEvents(); void handleUserInput(); };
[ "Corbin@IAmCorbin.net" ]
Corbin@IAmCorbin.net
b56e07d72397e99a1d98eb7609ad629a34cb44fa
fd9d7610860a0b406405038bf057160025566fdd
/src/NpcAct180.cpp
76f27294488a758c0666abc459e5f075f0c2a097
[]
no_license
Mitch-Muscle-Man-Sorenstein/CSE2-
a7a89ad9394279e6291102130845bd20c6871c17
83e803b5feccd83dcc89e0914bd233013cb3fdad
refs/heads/master
2022-12-09T20:18:43.891396
2020-09-06T05:23:21
2020-09-06T05:23:21
289,932,065
11
0
null
null
null
null
UTF-8
C++
false
false
22,548
cpp
#include "NpcAct.h" #include <stddef.h> #include "WindowsWrapper.h" #include "Back.h" #include "Bullet.h" #include "Caret.h" #include "Flags.h" #include "Frame.h" #include "Game.h" #include "MyChar.h" #include "NpChar.h" #include "NpcHit.h" #include "Sound.h" #include "Triangle.h" // Curly AI void ActNpc180(NPCHAR *npc) { int xx, yy; RECT rcLeft[11] = { {0, 96, 16, 112}, {16, 96, 32, 112}, {0, 96, 16, 112}, {32, 96, 48, 112}, {0, 96, 16, 112}, {48, 96, 64, 112}, {64, 96, 80, 112}, {48, 96, 64, 112}, {80, 96, 96, 112}, {48, 96, 64, 112}, {144, 96, 160, 112}, }; RECT rcRight[11] = { {0, 112, 16, 128}, {16, 112, 32, 128}, {0, 112, 16, 128}, {32, 112, 48, 128}, {0, 112, 16, 128}, {48, 112, 64, 128}, {64, 112, 80, 128}, {48, 112, 64, 128}, {80, 112, 96, 128}, {48, 112, 64, 128}, {144, 112, 160, 128}, }; if (npc->y < gMC.y - (10 * 0x10 * 0x200)) { if (npc->y < 16 * 0x10 * 0x200) { npc->tgt_x = 320 * 0x10 * 0x200; npc->tgt_y = npc->y; } else { npc->tgt_x = 0; npc->tgt_y = npc->y; } } else { if (gCurlyShoot_wait != 0) { npc->tgt_x = gCurlyShoot_x; npc->tgt_y = gCurlyShoot_y; } else { npc->tgt_x = gMC.x; npc->tgt_y = gMC.y; } } if (npc->xm < 0 && npc->flag & 1) npc->xm = 0; if (npc->xm > 0 && npc->flag & 4) npc->xm = 0; switch (npc->act_no) { case 20: npc->x = gMC.x; npc->y = gMC.y; npc->act_no = 100; npc->ani_no = 0; SetNpChar(183, 0, 0, 0, 0, 0, npc, 0x100); if (GetNPCFlag(563)) SetNpChar(182, 0, 0, 0, 0, 0, npc, 0x100); else SetNpChar(181, 0, 0, 0, 0, 0, npc, 0x100); break; case 40: npc->act_no = 41; npc->act_wait = 0; npc->ani_no = 10; // Fallthrough case 41: if (++npc->act_wait == 750) { npc->bits &= ~NPC_INTERACTABLE; npc->ani_no = 0; } if (npc->act_wait > 1000) { npc->act_no = 100; npc->ani_no = 0; SetNpChar(183, 0, 0, 0, 0, 0, npc, 0x100); if (GetNPCFlag(563)) SetNpChar(182, 0, 0, 0, 0, 0, npc, 0x100); else SetNpChar(181, 0, 0, 0, 0, 0, npc, 0x100); } break; case 100: npc->ani_no = 0; npc->xm = (npc->xm * 7) / 8; npc->count1 = 0; if (npc->x > npc->tgt_x + (16 * 0x200)) { npc->act_no = 200; npc->ani_no = 1; npc->direct = 0; npc->act_wait = Random(20, 60); } else if (npc->x < npc->tgt_x - (16 * 0x200)) { npc->act_no = 300; npc->ani_no = 1; npc->direct = 2; npc->act_wait = Random(20, 60); } break; case 200: npc->xm -= 0x20; npc->direct = 0; if (npc->flag & 1) ++npc->count1; else npc->count1 = 0; break; case 210: npc->xm -= 0x20; npc->direct = 0; if (npc->flag & 8) npc->act_no = 100; break; case 300: npc->xm += 0x20; npc->direct = 2; if (npc->flag & 4) ++npc->count1; else npc->count1 = 0; break; case 310: npc->xm += 0x20; npc->direct = 2; if (npc->flag & 8) npc->act_no = 100; break; } if (gCurlyShoot_wait != 0) --gCurlyShoot_wait; if (gCurlyShoot_wait == 70) npc->count2 = 10; if (gCurlyShoot_wait == 60 && npc->flag & 8 && Random(0, 2)) { npc->count1 = 0; npc->ym = -0x600; npc->ani_no = 1; PlaySoundObject(15, 1); if (npc->x > npc->tgt_x) npc->act_no = 210; else npc->act_no = 310; } xx = npc->x - npc->tgt_x; yy = npc->y - npc->tgt_y; if (xx < 0) xx *= -1; if (npc->act_no == 100) { if (xx + (2 * 0x200) < yy) npc->ani_no = 5; else npc->ani_no = 0; } if (npc->act_no == 210 || npc->act_no == 310) { if (xx + (2 * 0x200) < yy) npc->ani_no = 6; else npc->ani_no = 1; } if (npc->act_no == 200 || npc->act_no == 300) { ++npc->ani_wait; if (xx + (2 * 0x200) < yy) npc->ani_no = 6 + (npc->ani_wait / 4 % 4); else npc->ani_no = 1 + (npc->ani_wait / 4 % 4); if (npc->act_wait) { --npc->act_wait; #ifdef FIX_BUGS // I assume this is what was intended if (npc->flag & 8 && npc->count1 > 10) #else if (npc->flag && 8 && npc->count1 > 10) #endif { npc->count1 = 0; npc->ym = -0x600; npc->act_no += 10; npc->ani_no = 1; PlaySoundObject(15, 1); } } else { npc->act_no = 100; npc->ani_no = 0; } } if (npc->act_no >= 100 && npc->act_no < 500) { if (npc->x < gMC.x - (80 * 0x200) || npc->x > gMC.x + (80 * 0x200)) { #ifdef FIX_BUGS if (npc->flag & 5) #else if (npc->flag && 5) #endif npc->ym += 0x10; else npc->ym += 0x33; } else { npc->ym += 0x33; } } if (npc->xm > 0x300) npc->xm = 0x300; if (npc->xm < -0x300) npc->xm = -0x300; if (npc->ym > 0x5FF) npc->ym = 0x5FF; npc->x += npc->xm; npc->y += npc->ym; if (npc->act_no >= 100 && !(npc->flag & 8)) { switch (npc->ani_no) { case 1000: break; default: if (xx + (2 * 0x200) < yy) npc->ani_no = 6; else npc->ani_no = 1; break; } } if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no]; else npc->rect = rcRight[npc->ani_no]; } // Curly AI Machine Gun void ActNpc181(NPCHAR *npc) { RECT rcLeft[2] = { {216, 152, 232, 168}, {232, 152, 248, 168}, }; RECT rcRight[2] = { {216, 168, 232, 184}, {232, 168, 248, 184}, }; if (npc->pNpc == NULL) return; if (npc->pNpc->ani_no < 5) { if (npc->pNpc->direct == 0) { npc->direct = 0; npc->x = npc->pNpc->x - (8 * 0x200); } else { npc->direct = 2; npc->x = npc->pNpc->x + (8 * 0x200); } npc->y = npc->pNpc->y; npc->ani_no = 0; } else { if (npc->pNpc->direct == 0) { npc->direct = 0; npc->x = npc->pNpc->x; } else { npc->direct = 2; npc->x = npc->pNpc->x; } npc->y = npc->pNpc->y - (10 * 0x200); npc->ani_no = 1; } if (npc->pNpc->ani_no == 1 || npc->pNpc->ani_no == 3 || npc->pNpc->ani_no == 6 || npc->pNpc->ani_no == 8) npc->y -= 1 * 0x200; switch (npc->act_no) { case 0: if (npc->pNpc->count2 == 10) { npc->pNpc->count2 = 0; npc->act_no = 10; npc->act_wait = 0; } break; case 10: if (++npc->act_wait % 6 == 1) { if (npc->ani_no == 0) { if (npc->direct == 0) { SetBullet(12, npc->x - (4 * 0x200), npc->y + (3 * 0x200), 0); SetCaret(npc->x - (4 * 0x200), npc->y + (3 * 0x200), 3, 0); } else { SetBullet(12, npc->x + (4 * 0x200), npc->y + (3 * 0x200), 2); SetCaret(npc->x + (4 * 0x200), npc->y + (3 * 0x200), 3, 0); } } else { if (npc->direct == 0) { SetBullet(12, npc->x - (2 * 0x200), npc->y - (4 * 0x200), 1); SetCaret(npc->x - (2 * 0x200), npc->y - (4 * 0x200), 3, 0); } else { SetBullet(12, npc->x + (2 * 0x200), npc->y - (4 * 0x200), 1); SetCaret(npc->x + (2 * 0x200), npc->y - (4 * 0x200), 3, 0); } } } if (npc->act_wait == 60) npc->act_no = 0; break; } if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no]; else npc->rect = rcRight[npc->ani_no]; } // Curly AI Polar Star void ActNpc182(NPCHAR *npc) { RECT rcLeft[2] = { {184, 152, 200, 168}, {200, 152, 216, 168}, }; RECT rcRight[2] = { {184, 168, 200, 184}, {200, 168, 216, 184}, }; if (npc->pNpc == NULL) return; if (npc->pNpc->ani_no < 5) { if (npc->pNpc->direct == 0) { npc->direct = 0; npc->x = npc->pNpc->x - (8 * 0x200); } else { npc->direct = 2; npc->x = npc->pNpc->x + (8 * 0x200); } npc->y = npc->pNpc->y; npc->ani_no = 0; } else { if (npc->pNpc->direct == 0) { npc->direct = 0; npc->x = npc->pNpc->x; } else { npc->direct = 2; npc->x = npc->pNpc->x; } npc->y = npc->pNpc->y - (10 * 0x200); npc->ani_no = 1; } if (npc->pNpc->ani_no == 1 || npc->pNpc->ani_no == 3 || npc->pNpc->ani_no == 6 || npc->pNpc->ani_no == 8) npc->y -= 1 * 0x200; switch (npc->act_no) { case 0: if (npc->pNpc->count2 == 10) { npc->pNpc->count2 = 0; npc->act_no = 10; npc->act_wait = 0; } break; case 10: if (++npc->act_wait % 12 == 1) { if (npc->ani_no == 0) { if (npc->direct == 0) { SetBullet(6, npc->x - (4 * 0x200), npc->y + (3 * 0x200), 0); SetCaret(npc->x - (4 * 0x200), npc->y + (3 * 0x200), 3, 0); } else { SetBullet(6, npc->x + (4 * 0x200), npc->y + (3 * 0x200), 2); SetCaret(npc->x + (4 * 0x200), npc->y + (3 * 0x200), 3, 0); } } else { if (npc->direct == 0) { SetBullet(6, npc->x - (2 * 0x200), npc->y - (4 * 0x200), 1); SetCaret(npc->x - (2 * 0x200), npc->y - (4 * 0x200), 3, 0); } else { SetBullet(6, npc->x + (2 * 0x200), npc->y - (4 * 0x200), 1); SetCaret(npc->x + (2 * 0x200), npc->y - (4 * 0x200), 3, 0); } } } if (npc->act_wait == 60) npc->act_no = 0; break; } if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no]; else npc->rect = rcRight[npc->ani_no]; } // Curly Air Tank Bubble void ActNpc183(NPCHAR *npc) { RECT rect[2] = { {56, 96, 80, 120}, {80, 96, 104, 120}, }; if (npc->pNpc == NULL) return; switch (npc->act_no) { case 0: npc->x = npc->pNpc->x; npc->y = npc->pNpc->y; npc->act_no = 1; break; } npc->x += (npc->pNpc->x - npc->x) / 2; npc->y += (npc->pNpc->y - npc->y) / 2; if (++npc->ani_wait > 1) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 1) npc->ani_no = 0; if (npc->pNpc->flag & 0x100) npc->rect = rect[npc->ani_no]; else npc->rect.right = 0; } // Big Shutter void ActNpc184(NPCHAR *npc) { int i; RECT rc[4] = { {0, 64, 32, 96}, {32, 64, 64, 96}, {64, 64, 96, 96}, {32, 64, 64, 96}, }; switch (npc->act_no) { case 0: npc->act_no = 1; npc->x += 8 * 0x200; npc->y += 8 * 0x200; break; case 10: npc->act_no = 11; npc->ani_no = 1; npc->act_wait = 0; npc->bits |= NPC_IGNORE_SOLIDITY; // Fallthrough case 11: switch (npc->direct) { case 0: npc->x -= 0x80; break; case 1: npc->y -= 0x80; break; case 2: npc->x += 0x80; break; case 3: npc->y += 0x80; break; } if ((++npc->act_wait % 8) == 0) PlaySoundObject(26, 1); SetQuake(20); break; case 20: for (i = 0; i < 4; ++i) SetNpChar(4, npc->x + (Random(-12, 12) * 0x200), npc->y + (16 * 0x200), Random(-0x155, 0x155), Random(-0x600, 0), 0, NULL, 0x100); npc->act_no = 1; break; } if (++npc->ani_wait > 10) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 3) npc->ani_no = 0; npc->rect = rc[npc->ani_no]; } // Small Shutter void ActNpc185(NPCHAR *npc) { RECT rc = {96, 64, 112, 96}; switch (npc->act_no) { case 0: npc->act_no = 1; npc->y += 8 * 0x200; break; case 10: npc->act_no = 11; npc->ani_no = 1; npc->act_wait = 0; npc->bits |= NPC_IGNORE_SOLIDITY; // Fallthrough case 11: switch (npc->direct) { case 0: npc->x -= 0x80; break; case 1: npc->y -= 0x80; break; case 2: npc->x += 0x80; break; case 3: npc->y += 0x80; break; } ++npc->act_wait; break; case 20: npc->y -= 24 * 0x200; npc->act_no = 1; break; } npc->rect = rc; } // Lift block void ActNpc186(NPCHAR *npc) { RECT rc[4] = { {48, 48, 64, 64}, {64, 48, 80, 64}, {80, 48, 96, 64}, {64, 48, 80, 64}, }; switch (npc->act_no) { case 0: npc->act_no = 1; // Fallthrough case 1: break; case 10: npc->act_no = 11; npc->ani_no = 1; npc->act_wait = 0; npc->bits |= NPC_IGNORE_SOLIDITY; // Fallthrough case 11: switch (npc->direct) { case 0: npc->x -= 0x80; break; case 1: npc->y -= 0x80; break; case 2: npc->x += 0x80; break; case 3: npc->y += 0x80; break; } ++npc->act_wait; break; } if (++npc->ani_wait > 10) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 3) npc->ani_no = 0; npc->rect = rc[npc->ani_no]; } // Fuzz Core void ActNpc187(NPCHAR *npc) { int i; switch (npc->act_no) { case 0: npc->act_no = 1; npc->tgt_x = npc->x; npc->tgt_y = npc->y; npc->count1 = 120; npc->act_wait = Random(0, 50); for (i = 0; i < 5; ++i) SetNpChar(188, 0, 0, 0, 0, 51 * i, npc, 0x100); // Fallthrough case 1: if (++npc->act_wait < 50) break; npc->act_wait = 0; npc->act_no = 2; npc->ym = 0x300; break; case 2: npc->count1 += 4; if (gMC.x < npc->x) npc->direct = 0; else npc->direct = 2; if (npc->tgt_y < npc->y) npc->ym -= 0x10; if (npc->tgt_y > npc->y) npc->ym += 0x10; if (npc->ym > 0x355) npc->ym = 0x355; if (npc->ym < -0x355) npc->ym = -0x355; break; } npc->x += npc->xm; npc->y += npc->ym; RECT rect_left[2] = { {224, 104, 256, 136}, {256, 104, 288, 136}, }; RECT rect_right[2] = { {224, 136, 256, 168}, {256, 136, 288, 168}, }; if (++npc->ani_wait > 2) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 1) npc->ani_no = 0; if (npc->direct == 0) npc->rect = rect_left[npc->ani_no]; else npc->rect = rect_right[npc->ani_no]; } // Fuzz void ActNpc188(NPCHAR *npc) { unsigned char deg; switch (npc->act_no) { case 0: npc->act_no = 1; npc->count1 = npc->direct; // Fallthrough case 1: if (npc->pNpc->code_char == 187 && npc->pNpc->cond & 0x80) { deg = (npc->pNpc->count1 + npc->count1) % 0x100; npc->x = npc->pNpc->x + (GetSin(deg) * 20); npc->y = npc->pNpc->y + (GetCos(deg) * 0x20); } else { npc->xm = Random(-0x200, 0x200); npc->ym = Random(-0x200, 0x200); npc->act_no = 10; } break; case 10: if (gMC.x < npc->x) npc->xm -= 0x20; else npc->xm += 0x20; if (gMC.y < npc->y) npc->ym -= 0x20; else npc->ym += 0x20; if (npc->xm > 0x800) npc->xm = 0x800; if (npc->xm < -0x800) npc->xm = -0x800; if (npc->ym > 0x200) npc->ym = 0x200; if (npc->ym < -0x200) npc->ym = -0x200; npc->x += npc->xm; npc->y += npc->ym; break; } if (gMC.x < npc->x) npc->direct = 0; else npc->direct = 2; if (++npc->ani_wait > 2) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 1) npc->ani_no = 0; RECT rect_left[2] = { {288, 104, 304, 120}, {304, 104, 320, 120}, }; RECT rect_right[2] = { {288, 120, 304, 136}, {304, 120, 320, 136}, }; if (npc->direct == 0) npc->rect = rect_left[npc->ani_no]; else npc->rect = rect_right[npc->ani_no]; } // Unused homing flame object (possibly related to the Core?) void ActNpc189(NPCHAR *npc) { switch (npc->act_no) { case 0: npc->act_no = 1; npc->xm = -0x40; // Fallthrough case 1: npc->y += npc->ym; if (++npc->act_wait > 0x100) npc->act_no = 10; break; case 10: if (gMC.x < npc->x) npc->xm -= 8; else npc->xm += 8; if (gMC.y < npc->y) npc->ym -= 8; else npc->ym += 8; if (npc->xm > 0x400) npc->xm = 0x400; if (npc->xm < -0x400) npc->xm = -0x400; if (npc->ym > 0x400) npc->ym = 0x400; if (npc->ym < -0x400) npc->ym = -0x400; npc->x += npc->xm; npc->y += npc->ym; break; } if (gMC.x < npc->x) npc->direct = 0; else npc->direct = 2; if (++npc->ani_wait > 2) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 2) npc->ani_no = 0; RECT rect[3] = { {224, 184, 232, 200}, {232, 184, 240, 200}, {240, 184, 248, 200}, }; npc->rect = rect[npc->ani_no]; } // Broken robot void ActNpc190(NPCHAR *npc) { RECT rect[2] = { {192, 32, 208, 48}, {208, 32, 224, 48}, }; int i; switch (npc->act_no) { case 0: npc->ani_no = 0; break; case 10: PlaySoundObject(72, 1); for (i = 0; i < 8; ++i) SetNpChar(4, npc->x, npc->y + (Random(-8, 8) * 0x200), Random(-8, -2) * 0x200, Random(-3, 3) * 0x200, 0, NULL, 0x100); npc->cond = 0; break; case 20: if (++npc->ani_wait > 10) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 1) npc->ani_no = 0; break; } npc->rect = rect[npc->ani_no]; } // Water level void ActNpc191(NPCHAR *npc) { switch (npc->act_no) { case 0: npc->act_no = 10; npc->tgt_y = npc->y; npc->ym = 0x200; // Fallthrough case 10: if (npc->y < npc->tgt_y) npc->ym += 4; else npc->ym -= 4; if (npc->ym < -0x100) npc->ym = -0x100; if (npc->ym > 0x100) npc->ym = 0x100; npc->y += npc->ym; break; case 20: npc->act_no = 21; npc->act_wait = 0; // Fallthrough case 21: if (npc->y < npc->tgt_y) npc->ym += 4; else npc->ym -= 4; if (npc->ym < -0x200) npc->ym = -0x200; if (npc->ym > 0x200) npc->ym = 0x200; npc->y += npc->ym; if (++npc->act_wait > 1000) npc->act_no = 22; break; case 22: if (npc->y < 0) npc->ym += 4; else npc->ym -= 4; if (npc->ym < -0x200) npc->ym = -0x200; if (npc->ym > 0x200) npc->ym = 0x200; npc->y += npc->ym; if (npc->y < 64 * 0x200 || gSuperYpos != 0) { npc->act_no = 21; npc->act_wait = 0; } break; case 30: if (npc->y < 0) npc->ym += 4; else npc->ym -= 4; if (npc->ym < -0x200) npc->ym = -0x200; if (npc->ym > 0x100) npc->ym = 0x100; npc->y += npc->ym; break; } gWaterY = npc->y; npc->rect.right = 0; npc->rect.bottom = 0; } // Scooter void ActNpc192(NPCHAR *npc) { switch (npc->act_no) { case 0: npc->act_no = 1; npc->view.back = 16 * 0x200; npc->view.front = 16 * 0x200; npc->view.top = 8 * 0x200; npc->view.bottom = 8 * 0x200; break; case 10: npc->act_no = 11; npc->ani_no = 1; npc->view.top = 16 * 0x200; npc->view.bottom = 16 * 0x200; npc->y -= 5 * 0x200; break; case 20: npc->act_no = 21; npc->act_wait = 1; npc->tgt_x = npc->x; npc->tgt_y = npc->y; // Fallthrough case 21: npc->x = npc->tgt_x + (Random(-1, 1) * 0x200); npc->y = npc->tgt_y + (Random(-1, 1) * 0x200); if (++npc->act_wait > 30) npc->act_no = 30; break; case 30: npc->act_no = 31; npc->act_wait = 1; npc->xm = -0x800; npc->x = npc->tgt_x; npc->y = npc->tgt_y; PlaySoundObject(44, 1); // Fallthrough case 31: npc->xm += 0x20; npc->x += npc->xm; ++npc->act_wait; npc->y = npc->tgt_y + (Random(-1, 1) * 0x200); if (npc->act_wait > 10) npc->direct = 2; if (npc->act_wait > 200) npc->act_no = 40; break; case 40: npc->act_no = 41; npc->act_wait = 2; npc->direct = 0; npc->y -= 48 * 0x200; npc->xm = -0x1000; // Fallthrough case 41: npc->x += npc->xm; npc->y += npc->ym; npc->act_wait += 2; if (npc->act_wait > 1200) npc->cond = 0; break; } if (npc->act_wait % 4 == 0 && npc->act_no >= 20) { PlaySoundObject(34, 1); if (npc->direct == 0) SetCaret(npc->x + (10 * 0x200), npc->y + (10 * 0x200), 7, 2); else SetCaret(npc->x - (10 * 0x200), npc->y + (10 * 0x200), 7, 0); } RECT rcLeft[2] = { {224, 64, 256, 80}, {256, 64, 288, 96}, }; RECT rcRight[2] = { {224, 80, 256, 96}, {288, 64, 320, 96}, }; if (npc->direct == 0) npc->rect = rcLeft[npc->ani_no]; else npc->rect = rcRight[npc->ani_no]; } // Scooter (broken) void ActNpc193(NPCHAR *npc) { RECT rc = {256, 96, 320, 112}; switch (npc->act_no) { case 0: npc->act_no = 1; npc->y = npc->y; // This line probably isn't accurate to the original source code, but it produces the same assembly npc->x += 24 * 0x200; break; } npc->rect = rc; } // Blue robot (broken) void ActNpc194(NPCHAR *npc) { RECT rc = {192, 120, 224, 128}; if (npc->act_no == 0) { npc->act_no = 1; npc->y += 4 * 0x200; } npc->rect = rc; } // Grate void ActNpc195(NPCHAR *npc) { RECT rc = {112, 64, 128, 80}; npc->rect = rc; } // Ironhead motion wall void ActNpc196(NPCHAR *npc) { RECT rcLeft = {112, 64, 144, 80}; RECT rcRight = {112, 80, 144, 96}; npc->x -= 6 * 0x200; if (npc->x <= 19 * 0x10 * 0x200) npc->x += 22 * 0x10 * 0x200; if (npc->direct == 0) npc->rect = rcLeft; else npc->rect = rcRight; } // Porcupine Fish void ActNpc197(NPCHAR *npc) { RECT rc[4] = { {0, 0, 16, 16}, {16, 0, 32, 16}, {32, 0, 48, 16}, {48, 0, 64, 16}, }; switch (npc->act_no) { case 0: npc->act_no = 10; npc->ani_wait = 0; npc->ym = Random(-0x200, 0x200); npc->xm = 0x800; // Fallthrough case 10: if (++npc->ani_wait > 2) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 1) npc->ani_no = 0; if (npc->xm < 0) { npc->damage = 3; npc->act_no = 20; } break; case 20: npc->damage = 3; if (++npc->ani_wait > 0) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 3) npc->ani_no = 2; if (npc->x < 48 * 0x200) { npc->destroy_voice = 0; LoseNpChar(npc, 1); } break; } if (npc->flag & 2) npc->ym = 0x200; if (npc->flag & 8) npc->ym = -0x200; npc->xm -= 12; npc->x += npc->xm; npc->y += npc->ym; npc->rect = rc[npc->ani_no]; } // Ironhead projectile void ActNpc198(NPCHAR *npc) { RECT rcRight[3] = { {208, 48, 224, 72}, {224, 48, 240, 72}, {240, 48, 256, 72}, }; switch (npc->act_no) { case 0: if (++npc->act_wait > 20) { npc->act_no = 1; npc->xm = 0; npc->ym = 0; npc->count1 = 0; } break; case 1: npc->xm += 0x20; break; } if (++npc->ani_wait > 0) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 2) npc->ani_no = 0; npc->x += npc->xm; npc->y += npc->ym; npc->rect = rcRight[npc->ani_no]; if (++npc->count1 > 100) npc->cond = 0; if (npc->count1 % 4 == 1) PlaySoundObject(46, 1); } // Water/wind particles void ActNpc199(NPCHAR *npc) { RECT rect[5] = { {72, 16, 74, 18}, {74, 16, 76, 18}, {76, 16, 78, 18}, {78, 16, 80, 18}, {80, 16, 82, 18}, }; switch (npc->act_no) { case 0: npc->act_no = 1; npc->ani_no = Random(0, 2); switch (npc->direct) { case 0: npc->xm = -1; break; case 1: npc->ym = -1; break; case 2: npc->xm = 1; break; case 3: npc->ym = 1; break; } npc->xm *= (Random(4, 8) * 0x200) / 2; npc->ym *= (Random(4, 8) * 0x200) / 2; break; } if (++npc->ani_wait > 6) { npc->ani_wait = 0; ++npc->ani_no; } if (npc->ani_no > 4) { npc->cond = 0; return; // Prevent UB at rect[npc->ani_no] when npc->ani_no == 5 } npc->x += npc->xm; npc->y += npc->ym; npc->rect = rect[npc->ani_no]; }
[ "Mitch-Muscle-Man-Sorenstein@users.noreply.github.com" ]
Mitch-Muscle-Man-Sorenstein@users.noreply.github.com
3f2a1a2b2416a15d2a2535c6b1a53c616a0f8b41
610efd4c829399d769f17e8b1949fb3950bca244
/src/qt/utilitydialog.cpp
b7d9aa19fe1e33719d43f3498c45a85c575fd27c
[ "MIT" ]
permissive
SinghIshmeet/KuberCoinPoWScryptTest
01af46ccf80f4b6c788bb95b0a148bc6e8da17a5
4ab9d0713b42ca79058cc4d626a38f60365e23e8
refs/heads/master
2021-08-18T16:56:00.293324
2017-11-23T10:34:40
2017-11-23T10:34:40
111,201,657
0
0
null
null
null
null
UTF-8
C++
false
false
7,200
cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "utilitydialog.h" #include "ui_helpmessagedialog.h" #include "bitcoingui.h" #include "clientmodel.h" #include "guiconstants.h" #include "intro.h" #include "paymentrequestplus.h" #include "guiutil.h" #include "clientversion.h" #include "init.h" #include "util.h" #include <stdio.h> #include <QCloseEvent> #include <QLabel> #include <QRegExp> #include <QTextTable> #include <QTextCursor> #include <QVBoxLayout> /** "Help message" or "About" dialog box */ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) : QDialog(parent), ui(new Ui::HelpMessageDialog) { ui->setupUi(this); QString version = tr(PACKAGE_NAME) + " " + tr("version") + " " + QString::fromStdString(FormatFullVersion()); /* On x86 add a bit specifier to the version so that users can distinguish between * 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambiguous. */ #if defined(__x86_64__) version += " " + tr("(%1-bit)").arg(64); #elif defined(__i386__ ) version += " " + tr("(%1-bit)").arg(32); #endif if (about) { setWindowTitle(tr("About %1").arg(tr(PACKAGE_NAME))); /// HTML-format the license message from the core QString licenseInfo = QString::fromStdString(LicenseInfo()); QString licenseInfoHTML = licenseInfo; // Make URLs clickable QRegExp uri("<(.*)>", Qt::CaseSensitive, QRegExp::RegExp2); uri.setMinimal(true); // use non-greedy matching licenseInfoHTML.replace(uri, "<a href=\"\\1\">\\1</a>"); // Replace newlines with HTML breaks licenseInfoHTML.replace("\n", "<br>"); ui->aboutMessage->setTextFormat(Qt::RichText); ui->scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); text = version + "\n" + licenseInfo; ui->aboutMessage->setText(version + "<br><br>" + licenseInfoHTML); ui->aboutMessage->setWordWrap(true); ui->helpMessage->setVisible(false); } else { setWindowTitle(tr("Command-line options")); QString header = tr("Usage:") + "\n" + " kubercoin-qt [" + tr("command-line options") + "] " + "\n"; QTextCursor cursor(ui->helpMessage->document()); cursor.insertText(version); cursor.insertBlock(); cursor.insertText(header); cursor.insertBlock(); std::string strUsage = HelpMessage(HMM_BITCOIN_QT); const bool showDebug = gArgs.GetBoolArg("-help-debug", false); strUsage += HelpMessageGroup(tr("UI Options:").toStdString()); if (showDebug) { strUsage += HelpMessageOpt("-allowselfsignedrootcertificates", strprintf("Allow self signed root certificates (default: %u)", DEFAULT_SELFSIGNED_ROOTCERTS)); } strUsage += HelpMessageOpt("-choosedatadir", strprintf(tr("Choose data directory on startup (default: %u)").toStdString(), DEFAULT_CHOOSE_DATADIR)); strUsage += HelpMessageOpt("-lang=<lang>", tr("Set language, for example \"de_DE\" (default: system locale)").toStdString()); strUsage += HelpMessageOpt("-min", tr("Start minimized").toStdString()); strUsage += HelpMessageOpt("-rootcertificates=<file>", tr("Set SSL root certificates for payment request (default: -system-)").toStdString()); strUsage += HelpMessageOpt("-splash", strprintf(tr("Show splash screen on startup (default: %u)").toStdString(), DEFAULT_SPLASHSCREEN)); strUsage += HelpMessageOpt("-resetguisettings", tr("Reset all settings changed in the GUI").toStdString()); if (showDebug) { strUsage += HelpMessageOpt("-uiplatform", strprintf("Select platform to customize UI for (one of windows, macosx, other; default: %s)", BitcoinGUI::DEFAULT_UIPLATFORM)); } QString coreOptions = QString::fromStdString(strUsage); text = version + "\n" + header + "\n" + coreOptions; QTextTableFormat tf; tf.setBorderStyle(QTextFrameFormat::BorderStyle_None); tf.setCellPadding(2); QVector<QTextLength> widths; widths << QTextLength(QTextLength::PercentageLength, 35); widths << QTextLength(QTextLength::PercentageLength, 65); tf.setColumnWidthConstraints(widths); QTextCharFormat bold; bold.setFontWeight(QFont::Bold); for (const QString &line : coreOptions.split("\n")) { if (line.startsWith(" -")) { cursor.currentTable()->appendRows(1); cursor.movePosition(QTextCursor::PreviousCell); cursor.movePosition(QTextCursor::NextRow); cursor.insertText(line.trimmed()); cursor.movePosition(QTextCursor::NextCell); } else if (line.startsWith(" ")) { cursor.insertText(line.trimmed()+' '); } else if (line.size() > 0) { //Title of a group if (cursor.currentTable()) cursor.currentTable()->appendRows(1); cursor.movePosition(QTextCursor::Down); cursor.insertText(line.trimmed(), bold); cursor.insertTable(1, 2, tf); } } ui->helpMessage->moveCursor(QTextCursor::Start); ui->scrollArea->setVisible(false); ui->aboutLogo->setVisible(false); } } HelpMessageDialog::~HelpMessageDialog() { delete ui; } void HelpMessageDialog::printToConsole() { // On other operating systems, the expected action is to print the message to the console. fprintf(stdout, "%s\n", qPrintable(text)); } void HelpMessageDialog::showOrPrint() { #if defined(WIN32) // On Windows, show a message box, as there is no stderr/stdout in windowed applications exec(); #else // On other operating systems, print help text to console printToConsole(); #endif } void HelpMessageDialog::on_okButton_accepted() { close(); } /** "Shutdown" window */ ShutdownWindow::ShutdownWindow(QWidget *parent, Qt::WindowFlags f): QWidget(parent, f) { QVBoxLayout *layout = new QVBoxLayout(); layout->addWidget(new QLabel( tr("%1 is shutting down...").arg(tr(PACKAGE_NAME)) + "<br /><br />" + tr("Do not shut down the computer until this window disappears."))); setLayout(layout); } QWidget *ShutdownWindow::showShutdownWindow(BitcoinGUI *window) { if (!window) return nullptr; // Show a simple window indicating shutdown status QWidget *shutdownWindow = new ShutdownWindow(); shutdownWindow->setWindowTitle(window->windowTitle()); // Center shutdown window at where main window was const QPoint global = window->mapToGlobal(window->rect().center()); shutdownWindow->move(global.x() - shutdownWindow->width() / 2, global.y() - shutdownWindow->height() / 2); shutdownWindow->show(); return shutdownWindow; } void ShutdownWindow::closeEvent(QCloseEvent *event) { event->ignore(); }
[ "ishmeet@cryptoexpert.io" ]
ishmeet@cryptoexpert.io
ad74a6630a0fd8d0308fdd94e67a146f2ac7a8e4
a0590622d6484049c0d0310818eab6e54f533c41
/ch3/ch3-pg17-exer4.cpp
a5e26c5a89d7808903f97f045ec464ee1b65fc80
[]
no_license
shuishiyuan/aoapc-bac2nd
3dfc995e073901e7f801088041d6680ef538371b
585537fb49ba81e2352a4536e3abe90ffa1854c3
refs/heads/master
2022-11-23T13:10:32.137581
2021-01-11T11:10:54
2021-01-11T11:10:54
137,547,721
1
0
null
2021-01-11T11:10:55
2018-06-16T02:35:31
C++
UTF-8
C++
false
false
573
cpp
#include<stdio.h> #include<string.h> #define MAX_LENGTH 100 int main() { printf("Periodic Strings, UVa455\n"); char s[MAX_LENGTH] = {0}; scanf("%s", s); int n = strlen(s); int periodic = n; for (int i = 1; i < n; ++i) { int j; for (j = 0; j < n; ++j) { if (s[0 + j] != s[(i + j) % n]) { break; } } if (i > n / 2) { break; } if (j == n) { periodic = i; break; } } printf("%d\n", periodic); return 0; }
[ "liubinbupt@qq.com" ]
liubinbupt@qq.com
8132cc2520f9d48badcaed7b8b48c4772ad24d32
b07c6f73926e884bb727bd04fac9130670074820
/mainwindow.cpp
3cc54ae105656f12d90fe210f5476e7edf24c951
[]
no_license
Phreakyx/Median
09a2e9885d3619a04ee2ff3cfe005542099e4185
df6581ab94de482daedd103dcc525525d8784a51
refs/heads/master
2020-05-18T17:26:15.333990
2019-05-02T10:17:36
2019-05-02T10:17:36
184,555,833
0
0
null
null
null
null
UTF-8
C++
false
false
2,706
cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QDesktopServices> #include <QMessageBox> #include <QDesktopWidget> #include <QDebug> #define MAXSIDE 500 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->labelImage->setMaximumSize(QSize(MAXSIDE,MAXSIDE)); ui->labelMedianFilterResult->setMaximumSize(QSize(MAXSIDE,MAXSIDE)); connect(ui->btnOpenDialog, SIGNAL(clicked(bool)), this, SLOT(openDialog())); connect(ui->btnApplyMedianFilter, SIGNAL(clicked(bool)), this, SLOT(applyMedianFilter())); } MainWindow::~MainWindow() { delete ui; } void MainWindow::openDialog() { QFileDialog dialog(this); dialog.setNameFilter(tr("Images (*.png *.xpm *.jpg *.bmp *.jpeg *.xbm *.ppm)")); dialog.setViewMode(QFileDialog::Detail); QString fileName = QFileDialog::getOpenFileName(this,tr("Open Images"), QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation), tr("Image Files (*.png *.jpg *.bmp)")); if (!fileName.isEmpty()) { QImage image(fileName); this->image = image; ui->labelImage->setPixmap(QPixmap::fromImage(image).scaled(MAXSIDE, MAXSIDE, Qt::KeepAspectRatio)); } } void MainWindow::applyMedianFilter() { int filterRadius = ui->lineEdit->text().toInt(); if (filterRadius > 30 || filterRadius <= 0) { QMessageBox::warning(this, tr("Incorrect radius"), tr("Please choose radius between 1 and 30"), QMessageBox::Ok); return; } if(!ui->labelImage->pixmap()) { QMessageBox::warning(this, tr("No image"), tr("Please select image."), QMessageBox::Ok); return; } int imageHeight = image.height(), imageWidth = image.width(); if (filterRadius > imageHeight / 2 || filterRadius > imageWidth / 2) { QMessageBox::warning(this, tr("Incorrect radius"), tr("The chosen filter radius is too big for this image!"), QMessageBox::Ok); return; } MedianFilter medianFilter; int* resImageBits; resImageBits = new int[imageHeight * imageWidth]; if (!resImageBits) return; medianFilter.applyMedianFilter((int*)image.bits(), resImageBits, imageHeight, imageWidth, filterRadius); if(resImageBits) { QImage destImage((uchar*)resImageBits, imageWidth, imageHeight, image.format()); QPixmap pixRes; pixRes.convertFromImage(destImage); ui->labelMedianFilterResult->setPixmap(pixRes.scaled(MAXSIDE, MAXSIDE, Qt::KeepAspectRatio)); } else qDebug()<<"median filter failed"; delete [] resImageBits; }
[ "axsali554@hotmail.com" ]
axsali554@hotmail.com
ca6cf089f366d81bbe3f6d42716d6bb33947e89f
4749b64b52965942f785b4e592392d3ab4fa3cda
/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h
1dc074edbbf19d77095377a82a93a0b0a8f549f4
[ "BSD-3-Clause" ]
permissive
crosswalk-project/chromium-crosswalk-efl
763f6062679727802adeef009f2fe72905ad5622
ff1451d8c66df23cdce579e4c6f0065c6cae2729
refs/heads/efl/crosswalk-10/39.0.2171.19
2023-03-23T12:34:43.905665
2014-12-23T13:44:34
2014-12-23T13:44:34
27,142,234
2
8
null
2014-12-23T06:02:24
2014-11-25T19:27:37
C++
UTF-8
C++
false
false
938
h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ #include "content/public/common/context_menu_params.h" #include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h" namespace extensions { class ChromeAppViewGuestDelegate : public AppViewGuestDelegate { public: ChromeAppViewGuestDelegate(); virtual ~ChromeAppViewGuestDelegate(); virtual bool HandleContextMenu( content::WebContents* web_contents, const content::ContextMenuParams& params) OVERRIDE; private: DISALLOW_COPY_AND_ASSIGN(ChromeAppViewGuestDelegate); }; } // namespace extensions #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
[ "lfg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98" ]
lfg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98
b491b7fa84a8d65bcfd9a62fedab8f1f0c5fe746
74b9d803fccd12853505f21499001dd9bfe9f849
/3D_src/simulator/03_05_new_simulator/systemc_VS_FS/SC_MAIN.cpp
aca0150a2989b99c8e37ac3fca8dc4c5c9f2176e
[]
no_license
Lycheus/GLSL-LLVM
03b5861b068132ba0515bcf2966d5c1d7ffad68a
f1b05c727ae432dfdd39f3aac237166a1f546f80
refs/heads/master
2021-05-29T06:48:35.892804
2015-12-11T04:45:09
2015-12-11T04:45:09
47,803,481
2
0
null
null
null
null
UTF-8
C++
false
false
2,327
cpp
#include <systemc.h> #include <stdlib.h> #include <iostream> //VS #include "./src_VS6/SC_VS.h" #include "./src_VS6/IO_VS.h" //FS #include "./src_FS5/FS.h" #include "./src_FS5/IO_FS.h" using namespace std; IO_FS *FILE_FS; SC_VS *vertex_shader; IO_VS *FILE_VS; FS *frag_shader; //move to global by gk sc_event next_obj_VS; sc_event next_obj_FS; //gk add int sc_main(int argc, char* argv[]) { //VS sc_fifo<Req> f_req_1(1); sc_fifo<bool> f_bool_1(1); sc_fifo<Req> f_req_2(1); sc_fifo<bool> f_bool_2(1); //FS sc_fifo<Req> f_req_3(1); sc_fifo<bool> f_bool_3(1); sc_fifo<Req> f_req_4(1); sc_fifo<bool> f_bool_4(1); //connect VS and FS //sc_fifo<float> f_VOB(48); //sheng-chang changed size 48->96 sc_fifo<float> f_VOB(96); sc_signal<bool> s_VS_END; //=====VS===== vertex_shader = new SC_VS("Vertex_Shader"); //FS_top *frag_shader; //frag_shader = new FS_top("frag_shader"); vertex_shader->mp_transfer(f_req_1); vertex_shader->mp_response(f_bool_1); vertex_shader->sp_transfer(f_req_2); vertex_shader->sp_response(f_bool_2); FILE_VS = new IO_VS("FILE_VS"); FILE_VS->sp_transfer(f_req_1); FILE_VS->sp_response(f_bool_1); FILE_VS->mp_transfer(f_req_2); FILE_VS->mp_response(f_bool_2); //=====FS===== frag_shader = new FS("frag_shader"); //frag_shader->FRAG->mp_transfer(f_req_3); //frag_shader->FRAG->mp_response(f_bool_3); frag_shader->mp_transfer(f_req_3); frag_shader->mp_response(f_bool_3); frag_shader->sp_transfer(f_req_4); frag_shader->sp_response(f_bool_4); FILE_FS = new IO_FS("FILE_FS"); FILE_FS->sp_transfer(f_req_3); FILE_FS->sp_response(f_bool_3); FILE_FS->mp_transfer(f_req_4); FILE_FS->mp_response(f_bool_4); //VS & FS vertex_shader->mp_VOB(f_VOB); frag_shader->sp_VOB(f_VOB); vertex_shader->mp_VS_END(s_VS_END); frag_shader->sp_VS_END(s_VS_END); cout<<"=====start simulation====="<<endl; sc_start(); cout<<"=====end simulation====="<<endl; delete vertex_shader; delete FILE_VS; delete frag_shader; delete FILE_FS; return 0; }
[ "lycheus@gmail.com" ]
lycheus@gmail.com
8f129d974d439fcb984902b8622082c7f6da519b
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/base/fs/rdr2/rdpdr/sys/file.h
69944008c0ac7430ca5777d7daf18ecb2c47010e
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
850
h
/*++ Copyright (c) 1999-2000 Microsoft Corporation Module Name : File.h Author : JoyC 11/10/1999 Abstract: RDPDr File object handles mini-redirector specific file information Revision History: --*/ #pragma once class DrFile : public RefCount { protected: ULONG _FileId; ULONG _BufferSize; PBYTE _Buffer; SmartPtr<DrDevice> _Device; public: DrFile(SmartPtr<DrDevice> &Device, ULONG FileId); ~DrFile(); PBYTE AllocateBuffer(ULONG size); void FreeBuffer(); ULONG GetFileId() { return _FileId; } void SetFileId(ULONG FileId) { _FileId = FileId; } PBYTE GetBuffer() { return _Buffer; } ULONG GetBufferSize() { return _BufferSize; } };
[ "seta7D5@protonmail.com" ]
seta7D5@protonmail.com
5ec407787bc31ea4bc636d16580c5ada996e596e
19890641f58bdc92c6cf880e4bee7c692ce07289
/Plugins/iTween/Source/iTween/Private/iTweenModule.cpp
fb659bfaf7155ca8303b673a76d23e9e20cf2bd7
[]
no_license
MichaelLiew1990/VRPlayer
699c5700a2b0e222b49ec124dbe7a0c33bf83b87
50125f7a729aa124a11008029cee62f3e8af2dcc
refs/heads/master
2020-07-25T06:24:23.572371
2016-11-25T03:06:59
2016-11-25T03:06:59
73,781,140
2
0
null
null
null
null
UTF-8
C++
false
false
434
cpp
#include "iTweenPCH.h" #include "iTweenModule.h" IMPLEMENT_MODULE(iTweenModule, iTween); DEFINE_LOG_CATEGORY(ModuleLog) #define LOCTEXT_NAMESPACE "iTween" iTweenModule::iTweenModule() { } void iTweenModule::StartupModule() { //Startup LOG message UE_LOG(ModuleLog, Warning, TEXT("iTween: Log Started")); } void iTweenModule::ShutdownModule() { //Shutdown LOG message UE_LOG(ModuleLog, Warning, TEXT("iTween: Log Ended")); }
[ "michaelliew@126.com" ]
michaelliew@126.com
015cf16a2c4bd1c9083356f8cacdc5d5146c09e9
82bc1647b5db6b0cf6fe4a1a7c0d988a41d01d65
/Hot100/124.二叉树中的最大路径和.cpp
deb9f19ad8134825a411c4d2514bb15bab930cb2
[]
no_license
QinHaoChen97/VS_C
8a6bc3f50be17109839bf4474a817244ff5be3e8
527c851298a351fe2e417ec014e8ed555bb0fab3
refs/heads/master
2023-05-25T15:00:09.594020
2023-05-03T15:27:56
2023-05-03T15:27:56
211,770,139
0
0
null
null
null
null
UTF-8
C++
false
false
2,275
cpp
/* * @lc app=leetcode.cn id=124 lang=cpp * * [124] 二叉树中的最大路径和 */ // @lc code=start /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {} * }; */ //我觉得这道题里面其实藏着一点动态规划的味道 //实现逻辑和这个差不多https://leetcode-cn.com/problems/binary-tree-maximum-path-sum/solution/shou-hui-tu-jie-hen-you-ya-de-yi-dao-dfsti-by-hyj8/ #include <iostream> using namespace std; class Solution { private: int maxSum; public: int maxPathSum(TreeNode *root) { if (root != nullptr) { maxSum = root->val;//maxSum最小时是根节点的值 } else { return 0; } dfs(root); return maxSum; } int dfs(TreeNode *node) { //用0代表不包含这部分路径,可能是空节点,也可能是子路径和为的负数节点 if (node == nullptr) { return 0; } int leftsum = dfs(node->left); int rightsum = dfs(node->right); //-------------------------------------- //只有leftsum和rightsum都大于0这部分才有意义,否则all_child_sum将会被sub_child_sum所包含 int all_child_sum = leftsum + rightsum + node->val; //最长路径有可能不包含root,即由当前的left_sum+node->val+right_sum组成 maxSum = max(all_child_sum, maxSum); //-------------------------------------- int sub_child_sum = node->val + max(0, max(leftsum, rightsum)); maxSum=max(sub_child_sum,maxSum); return sub_child_sum<0?0:sub_child_sum; //return sub_child_sum //这样返回也能得到正确答案,因为sub_child_sum = node->val + max(0, max(leftsum, rightsum)) //把all_child_sum = leftsum + rightsum + node->val; //中的leftsum和rightsum至少一个小于零的情况包含了进去,使得sub_child_sum即使是负值也不会出错 } }; // @lc code=end
[ "201630257288@mail.scut.edu.cn" ]
201630257288@mail.scut.edu.cn
07f4ea0dda703062a01bc425a7053ea7363e9235
8df924a6fb1c8e2933a6f0b950a951fa121517fe
/biflow_solve.cpp
976294b2a3dd8d141be6e4a9c4de106f0985dc41
[]
no_license
pashadag/Biflow
a94a4e146fce17c7b9e3bd6e25b40f8e3a11d340
cd96f2e5dc2478b1b3dfd85488cd6bab832145e5
refs/heads/master
2016-08-05T02:14:56.648140
2011-09-26T20:35:29
2011-09-26T20:35:29
2,433,982
0
0
null
null
null
null
UTF-8
C++
false
false
6,034
cpp
#include<cassert> #include<cmath> #include<string> #include<iostream> #include<sstream> #include<fstream> #include<cstdlib> #include<vector> #include<map> #include<list> #include<queue> #include<cstdarg> #include<algorithm> #include "defs.h" using namespace std; ostringstream oMsg; string sbuf; vector<int> nodeMap; //this map is in one direction for 1...numNodes and backwards for numNodes+1...end ifstream fIn; ofstream fOut; char ch; int numNodes, numArcs, origNumNodes; int srcNode, dstNode, newSrc, newDst, nodeIndex, balance; string sLine, lowBound, cap, cost, lineType, problemType, key; string filename, outFilename, inFilename; bool sawProblemLine = false; bool startedArcs = false; int paramCount = 0; string make_key(int x, int y) { ostringstream o; o << x << "," << y; return o.str(); } void mapArc(int & src, int & dst) { if ((src > 0) && (nodeMap.at(src) != -1)) { src = nodeMap.at(src); } if ((dst < 0) && (nodeMap.at(-1 * dst) != -1)) { dst = -1*nodeMap.at(-1 * dst); } return; } void usage(int argc, char * argv[]) { cout << "Usage: " << argv[0] << " -i <input_file> -o <output_file>" << endl; //{<optparam3>} exit(1); } void read_input(int argc, char * argv[]) { while ((ch = getopt(argc, argv, "i:o:")) != -1) { switch (ch) { case 'i': inFilename = optarg; fIn.open(optarg, ifstream::in); if (fIn.fail()) { cerr << "Cannot open file " << optarg << endl; exit(1); } paramCount++; break; case 'o': outFilename = optarg; fOut.open(optarg); if (fOut.fail()) { cerr << "Cannot open file " << optarg << endl; exit(1); } paramCount++; break; } } if (paramCount != 2) usage(argc,argv); assert(fIn.is_open() && fOut.is_open()); return; } int main(int argc, char * argv[]) { read_input(argc,argv); for (int i = 0; i < 63; i++) fOut << " "; //save the first 64 characters of the file to later put the "p" line here fOut << "\n"; while (getline(fIn, sLine)) { //first pass over input to mark down the nodes that will be split in nodeMap istringstream stmLine(sLine); stmLine >> lineType; if (lineType == "p") { stmLine >> problemType >> numNodes >> numArcs; origNumNodes = numNodes; nodeMap.resize(numNodes + 1, -1); //we will not use the zero element sawProblemLine = true; } else if (lineType == "n") { assert(sawProblemLine); stmLine >> nodeIndex >> balance; fOut << "n\t" << nodeIndex << "\t" << balance << endl; assert(nodeIndex > 0); if (stmLine >> lowBound >> cap >> cost) { if (balance != 0) { cerr << "Abort: not allowed to have costs or bounds on a vertex with non-zero balance."; exit(1); } nodeMap.at(nodeIndex) = ++numNodes; nodeMap.push_back(nodeIndex); fOut << "n\t" << numNodes << "\t0" << endl; numArcs++; } } else if (lineType == "a") { break; } else if (lineType == "c") { fOut << sLine << endl; } } fIn.seekg(ios_base::beg); while (getline(fIn, sLine)) { //second pass to generate the flow problem file with the split nodes istringstream stmLine(sLine); stmLine >> lineType; if (lineType == "n") { stmLine >> nodeIndex >> balance; if (stmLine >> lowBound >> cap >> cost) { fOut << "a\t" << nodeIndex << "\t" << nodeMap.at(nodeIndex) << "\t" << lowBound << "\t" << cap << "\t" << cost << endl; } } else if (lineType == "a") { startedArcs = true; stmLine >> srcNode >> dstNode >> lowBound >> cap >> cost; mapArc(srcNode, dstNode); fOut << "a\t" << srcNode << "\t" << dstNode << "\t" << lowBound << "\t" << cap << "\t" << cost << endl; } else if ((lineType == "c") && (startedArcs)) { fOut << sLine << endl; } } fOut.seekp(ios_base::beg); fOut << "p min\t" << numNodes << "\t" << numArcs; //put this line at the beginning of the file. fOut.close(); oMsg.str(""); oMsg << "biflow_solve_novert " << outFilename << " > " << outFilename << ".b2m_output"; if (system(oMsg.str().c_str()) != 0) { // unfortunately, right now bidir2mon doesn't return the error code correctly cerr << "Abort: error while executing bidir2mon\n"; exit(1); } float flow; map<string,float>::iterator it; map<string,float> hash; oMsg.str(""); oMsg << outFilename << ".b2m_output"; ifstream fIn2; fIn2.open(oMsg.str().c_str()); while (getline(fIn2, sLine)) { //pass over flow output to read in and store results into hash istringstream stmLine(sLine); stmLine >> lineType; if (lineType == "a") { stmLine >> srcNode >> dstNode >> lowBound >> cap >> cost >> flow; key = make_key(srcNode, dstNode); it = hash.find(key); if (it == hash.end()) { hash.insert(make_pair(key, flow)); } else { it->second += flow; } } } //cerr << "Map Contents:\n" << hash; fIn2.close(); ifstream fIn3; fIn3.open(inFilename.c_str()); fOut.open(outFilename.c_str()); while (getline(fIn3, sLine)) { //third pass over original problem file, this time appending with the results stored in hash. istringstream stmLine(sLine); stmLine >> lineType; if (lineType == "a") { stmLine >> srcNode >> dstNode >> lowBound >> cap >> cost >> flow; newSrc = srcNode; newDst = dstNode; mapArc(newSrc, newDst); key = make_key(newSrc, newDst); //cerr << "srcNode = " << srcNode << "\ndstNode = " << dstNode << "\nline = " << sLine << "\nkey = " << key << endl; it = hash.find(key); assert (it != hash.end()); fOut << "a\t" << srcNode << "\t" << dstNode << "\t" << lowBound << "\t" << cap << "\t" << cost << "\t" << it->second << endl; } else if (lineType == "n") { stmLine >> nodeIndex >> balance; if (stmLine >> lowBound >> cap >> cost) { key = make_key(nodeIndex, nodeMap.at(nodeIndex)); it = hash.find(key); assert (it != hash.end()); flow = it->second; fOut << "n\t" << nodeIndex << "\t" << balance << "\t" << lowBound << "\t" << cap << "\t" << cost << "\t" << flow << endl; } else { fOut << "n\t" << nodeIndex << "\t" << balance << endl; } } else { fOut << sLine << endl; } } return 0; }
[ "pashadag@gmail.com" ]
pashadag@gmail.com
d896c45f4587c04426d4c2610ba1b639be821f0c
7c5073063d7eb7e3005ddda5aaef47ba00d0863b
/verbose.cc
80d1ae86d0d792570d1dba3d08f042e041a840c8
[]
no_license
yarikoptic/dmcluster
67475cee827c29f252c6b6c207055948fe3c1258
3b01784eff0df2f46a99ed4d5579659d3739ed27
refs/heads/master
2021-01-21T11:07:59.195726
2010-02-24T02:17:05
2010-02-24T02:17:05
533,185
2
0
null
null
null
null
UTF-8
C++
false
false
1,508
cc
/*emacs: -*- mode: c++-mode; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ /*ex: set sts=4 ts=4 sw=4 noet:*/ //---------------------------- =+- C / C++ -+= ---------------------------- /** * @file verbose.cc * @date Thu Oct 4 11:40:17 2007 * @brief * * * RUMBA project Psychology Department. Rutgers, Newark * http://psychology.rutgers.edu/RUMBA http://psychology.rutgers.edu * e-mail: yoh@psychology.rutgers.edu * * DESCRIPTION (NOTES): * * COPYRIGHT: Yaroslav Halchenko 2007 * * LICENSE: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * MA 02110-1301, USA. * * On Debian system see /usr/share/common-licenses/GPL for the full license. */ //-----------------\____________________________________/------------------ #include "verbose.h" VerboseOutput vout(std::cerr, 1);
[ "git@onerussian.com" ]
git@onerussian.com
78c4f63b459a594b6bb4cc25486a7e1aa9a3a89f
c65a8ad9a145dc109b042eba4604f5ecad477d2e
/CourseNosov/Drawer.cpp
d46df45c69141003b21994e67130f7d768df4bbf
[]
no_license
vyalich/Course_Nosov
0ef4fdf262da296f11a65ea1c32d857c4f3a69e4
ee8abee0d82dfc99e96779dbad829f09939f4e83
refs/heads/master
2020-12-05T19:24:52.038713
2020-01-23T08:46:46
2020-01-23T08:46:46
232,222,950
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,213
cpp
#include "Drawer.h" vector<TTF_Font*> Drawer::Fonts; SDL_Texture* Drawer::Load(SDL_Renderer* Render, const char* file) { SDL_Texture* tmp = IMG_LoadTexture(Render, file); if (!tmp) { SDL_Log(u8"Невозможно загрузить изображение, ошибка: %s", IMG_GetError()); } return tmp; } void Drawer::Draw(SDL_Renderer* Render, SDL_Texture* texture, int X, int Y, int W, int H) { SDL_Rect dest = { X, Y, W, H}; SDL_RenderCopy(Render, texture, 0, &dest); } void Drawer::Draw(SDL_Renderer* Render, SDL_Texture* texture, int X, int Y, int X2, int Y2, int W, int H) { SDL_Rect dest = { X, Y, W, H}; SDL_Rect src = { X2, Y2, W, H }; SDL_RenderCopy(Render, texture, &src, &dest); } void Drawer::Draw(SDL_Renderer* Render, SDL_Texture* texture, int X, int Y, int X2, int Y2, int W, int H, double angle, SDL_RendererFlip flip) { SDL_Rect dest = { X, Y, W, H }; SDL_Rect src = { X2, Y2, W, H }; SDL_Point center = { X + W / 2, Y + H / 2 }; SDL_RenderCopyEx(Render, texture, &src, &dest, angle*180/M_PI - 90, 0, flip); } void Drawer::DrawText(SDL_Renderer* Render, int FontID, const char* title, int X, int Y, int W, int H, SDL_Color* color, SDL_Color* bg_color) { //Render text surface SDL_Surface* textSurface; string n_title; if (title == "") n_title = u8" "; else n_title = title; if (bg_color) { textSurface = TTF_RenderUTF8_Shaded(Fonts[FontID], title, *color, *bg_color); } else { textSurface = TTF_RenderUTF8_Blended(Fonts[FontID], title, *color); } if (textSurface == 0) { SDL_Log("Unable to render text surface! SDL_ttf Error: %s", TTF_GetError()); } else { //Create texture from surface pixels SDL_Texture* texture = SDL_CreateTextureFromSurface(Render, textSurface); if (texture == 0) { SDL_Log("Unable to create texture from rendered text! SDL Error: %s", SDL_GetError()); return; } SDL_Rect dest = { X + W/2 - textSurface->w/2, Y + H/2 - textSurface->h/2, textSurface->w, textSurface->h }; /*SDL_Texture* texTarget = SDL_CreateTexture(Render, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, textSurface->w, textSurface->h); //Now render to the texture SDL_SetRenderTarget(Render, texTarget); SDL_RenderClear(Render); SDL_RenderCopy(Render, texture, NULL, NULL); //Detach the texture SDL_SetRenderTarget(Render, NULL); SDL_RenderCopy(Render, texTarget, 0, &dest); SDL_FreeSurface(textSurface); SDL_DestroyTexture(texture); SDL_DestroyTexture(texTarget); texture = nullptr; textSurface = nullptr;*/ SDL_RenderCopy(Render, texture, 0, &dest); SDL_DestroyTexture(texture); SDL_FreeSurface(textSurface); } } int Drawer::LoadFonts() { ifstream in; string buf; int n; char c; TTF_Font* tmp; in.open("fonts.dat", ios_base::binary); int i = 0; while (in.read(&c, sizeof(c))) { buf.clear(); while (c) { buf += c; in.read(&c, sizeof(c)); } in.read((char*)& n, sizeof(n)); tmp = TTF_OpenFont(buf.c_str(), n); if (tmp == NULL) { SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION, u8"Невозможно открыть шрифт %d, ошибка: %s", i+1, TTF_GetError()); return -1; } Fonts.push_back(tmp); i++; } return 0; }
[ "CoD2hostCONtra21" ]
CoD2hostCONtra21
2b6240ddf8bc0aa09aabb5fc44cb1d793c73141e
44b08759a16b66902637e5cedb44394922d8de98
/datastore/importers/nmdb-import-juniper-conf/Parser.hpp
5f5e0729c72521a142ad73ebb71f89d4e76a8841
[ "MIT" ]
permissive
netmeld/netmeld
77ca4762ea5de85c534080aa5cfed8e40cb94616
face348c5cf8db0161ce9387a384002f971a4033
refs/heads/master
2023-08-30T15:38:14.892251
2023-08-15T12:36:02
2023-08-15T12:36:02
109,406,182
33
13
MIT
2023-09-14T21:35:31
2017-11-03T14:37:26
C++
UTF-8
C++
false
false
7,616
hpp
// ============================================================================= // Copyright 2023 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // 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. // ============================================================================= // Maintained by Sandia National Laboratories <Netmeld@sandia.gov> // ============================================================================= #ifndef PARSER_HPP #define PARSER_HPP #include <netmeld/datastore/objects/AcNetworkBook.hpp> #include <netmeld/datastore/objects/AcRule.hpp> #include <netmeld/datastore/objects/AcServiceBook.hpp> #include <netmeld/datastore/objects/DeviceInformation.hpp> #include <netmeld/datastore/objects/InterfaceNetwork.hpp> #include <netmeld/datastore/objects/Route.hpp> #include <netmeld/datastore/objects/ToolObservations.hpp> #include <netmeld/datastore/objects/Vlan.hpp> #include <netmeld/datastore/parsers/ParserDomainName.hpp> #include <netmeld/datastore/parsers/ParserIpAddress.hpp> namespace nmdo = netmeld::datastore::objects; namespace nmdp = netmeld::datastore::parsers; typedef std::map<std::string, nmdo::AcNetworkBook> NetworkBook; typedef std::map<std::string, nmdo::AcServiceBook> ServiceBook; typedef std::map<size_t, nmdo::AcRule> RuleBook; // ============================================================================= // Data containers // ============================================================================= struct Data { nmdo::DeviceInformation devInfo {"Juniper"}; std::vector<nmdo::Route> routes; std::map<std::string, nmdo::Vlan> vlans; std::map<std::string, nmdo::InterfaceNetwork> ifaces; std::map<std::string, NetworkBook> networkBooks; std::map<std::string, ServiceBook> serviceBooks; std::map<std::string, RuleBook> ruleBooks; nmdo::ToolObservations observations; auto operator<=>(const Data&) const = default; bool operator==(const Data&) const = default; }; typedef std::vector<Data> Result; // ============================================================================= // Parser definition // ============================================================================= class Parser: public qi::grammar<nmdp::IstreamIter, Result(), qi::ascii::blank_type> { // =========================================================================== // Variables // =========================================================================== private: // Rules qi::rule<nmdp::IstreamIter, Result(), qi::ascii::blank_type> start; qi::rule<nmdp::IstreamIter, qi::ascii::blank_type> config, system, applications, application, applicationSet, appMultiLine, appSingleLine, interfaces, interface, unit, family, ifaceVlan, security, policies, policyFromTo, policy, policyMatch, policyThen, zones, zone, zoneIface, addressBookData, routingOptions, routeStatic, groups, group, vlans, logicalSystems, logicalSystem, routingInstances, routingInstance, ignoredBlock, startBlock, stopBlock; qi::rule<nmdp::IstreamIter, nmdo::Route(), qi::ascii::blank_type> route; qi::rule<nmdp::IstreamIter, qi::ascii::blank_type, qi::locals<std::string>> address, addressSet, addressBook, vlan; qi::rule<nmdp::IstreamIter, std::vector<std::string>(), qi::ascii::blank_type> tokenList, logBlock; qi::rule<nmdp::IstreamIter, std::string()> token; qi::rule<nmdp::IstreamIter> typeSlot, comment, semicolon, garbageLine; nmdp::ParserIpAddress ipAddr; nmdp::ParserDomainName fqdn; // Supporting data structures Result devices {{}}; Data* d {&devices.front()}; std::map<std::string, Data> deviceMetadata; std::string tgtIfaceType; std::string tgtIfaceSlot; size_t tgtIfaceUnit; std::string tgtIfaceName; bool tgtIfaceUp {true}; const std::string DEFAULT_ZONE {"global"}; std::string bookName; std::string tgtZone {DEFAULT_ZONE}; std::string srcZone {DEFAULT_ZONE}; std::string dstZone {DEFAULT_ZONE}; std::string proto; std::string srcPort; std::string dstPort; size_t curRuleId; std::map<std::string, size_t> ruleIds; size_t depthCount {0}; std::multimap<std::string, std::string> ifaceVlanMembers; // =========================================================================== // Constructors // =========================================================================== public: // Constructor is only default and must be public Parser(); // =========================================================================== // Methods // =========================================================================== private: void addDevice(const std::string&, const std::string&); void addGroup(const std::string&, const std::string&); void updateDeviceId(const std::string&); void resetDevice(); void addRoute(nmdo::Route&); void addVlan(const std::string&, unsigned short); void updateVlanDescription(const std::string&, const std::string&); void updateIfaceNameTypeState(); void updateIfaceTypeSlot(const std::string&, const std::string&); void addInvalidIface(const std::string&); void updateIfaceUnit(const size_t); void addIfaceIpAddr(const nmdo::IpAddress&); void addIfaceVlan(const uint16_t); void addIfaceVlanRange(const uint16_t, const uint16_t); void addIfaceVlanMembers(const std::string&); void updateIfaceMode(const std::string&); void addZoneIface(const std::string&); void updateTgtZone(const std::string&); void updateZones(const std::string&, const std::string&); void updateCurRuleId(const std::string&); void updateBookName(const std::string&); void updateSrvcData(const std::string&, const std::string&); void updateSrvcBook(); void updateSrvcBookGroup(const std::string&); void updateNetBookIp(const std::string&, const nmdo::IpAddress&); void updateNetBookStr(const std::string&, const std::string&); void updateNetBookGroup(const std::string&, const std::string&); void updateRule(const std::string&, const std::vector<std::string>&); // Unsupported void unsup(const std::string&); Result getData(); }; #endif // PARSER_HPP
[ "noreply@github.com" ]
noreply@github.com
199fbde0630e805c6db5990921c56a2501e261b3
56da802c24813f49b3759ed464f4d407439793e5
/private_set_intersection/javascript/bindings/utils.h
0e8d29a0cb7510ee68fea15c75322a9255e54c80
[ "Apache-2.0" ]
permissive
crypto-admin/PSI-1
07bfd4416cd29f7719bdc2b3a9684aba2d8f4d63
e9c2e0c21278afd581d569907dfe581b2b4f695a
refs/heads/master
2023-08-17T09:12:47.729332
2021-10-06T05:09:11
2021-10-06T05:09:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,223
h
#ifndef PRIVATE_SET_INTERSECTION_JAVASCRIPT_BINDINGS_UTILS_H_ #define PRIVATE_SET_INTERSECTION_JAVASCRIPT_BINDINGS_UTILS_H_ #include <vector> #include "absl/status/statusor.h" #include "emscripten/val.h" namespace private_set_intersection { // Converts a StatusOr<T> to a Javascript object with the following structure: // { // Value: T // Status: { // StatusCode: int, // Message: String // } // } // // Exactly one of `Value` or `Status` is NULL. template <typename T> emscripten::val ToJSObject(absl::StatusOr<T> statusor) { auto result = emscripten::val::object(); if (statusor.ok()) { result.set("Value", *statusor); result.set("Status", emscripten::val::null()); } else { result.set("Value", emscripten::val::null()); auto status = emscripten::val::object(); status.set("StatusCode", statusor.status().raw_code()); status.set("Message", statusor.status().message()); result.set("Status", status); } return result; } template <typename T> emscripten::val ToSerializedJSObject(absl::StatusOr<T> statusor) { auto result = emscripten::val::object(); if (statusor.ok()) { const T protobuf = *statusor; const size_t size = protobuf.ByteSizeLong(); std::vector<std::uint8_t> byte_vector(size); protobuf.SerializeToArray(byte_vector.data(), size); emscripten::val byte_array = emscripten::val::array(byte_vector); result.set("Value", byte_array); result.set("Status", emscripten::val::null()); } else { result.set("Value", emscripten::val::null()); auto status = emscripten::val::object(); status.set("StatusCode", statusor.status().raw_code()); status.set("Message", statusor.status().message()); result.set("Status", status); } return result; } // Converts a StatusOr<std::unique_ptr<T>> to a StatusOr<std::shared_ptr<T>>, // taking ownership of the object pointed to. template <typename T> absl::StatusOr<std::shared_ptr<T>> ToShared( absl::StatusOr<std::unique_ptr<T>> statusor) { if (!statusor.ok()) { return statusor.status(); } return std::shared_ptr<T>(std::move(*statusor)); } }; // namespace private_set_intersection #endif // PRIVATE_SET_INTERSECTION_JAVASCRIPT_BINDINGS_UTILS_H_
[ "noreply@github.com" ]
noreply@github.com
0a38ac224c24c7011d05dbb30ec01d9807ba8fd6
14361888b7faf87fd5ef74338f0925187c2ee611
/ArmMovingOnly/ArmMovingOnly.ino
108d83d84689f7ed4ec537da538e4ad6a8601579
[]
no_license
shahsaumya/IDPT-Mascot
caf8641eede9beffa1828961b9f2409a0e13144c
f87e8b88556c2ba88560e313b1f427797a7507d1
refs/heads/master
2021-09-03T02:16:18.699848
2018-01-04T20:40:46
2018-01-04T20:40:46
72,911,773
0
0
null
null
null
null
UTF-8
C++
false
false
797
ino
#include<Servo.h> #define SHOULDER 10 #define ELBOW 9 Servo shoulder; Servo elbow; boolean keyarm = true; int increment(int initial, int fin) { if(initial<=fin) return 1; else return -1; } void moveServo(Servo servo, int init, int fin){ for(int i=init; !((i-fin)==0);i+=increment(init,fin)){ servo.write(i); delay(15); } } void moveArm(){ moveServo(elbow,90,37); delay(2000); moveServo(elbow,37,120); delay(2000); moveServo(shoulder,90,125); } void setup() { // put your setup code here, to run once: shoulder.attach(SHOULDER); elbow.attach(ELBOW); elbow.write(90); shoulder.write(90); delay(1500); digitalWrite(4, HIGH); } void loop() { while(keyarm) { moveArm(); keyarm = false; } // put your main code here, to run repeatedly: }
[ "shahsaumya0108@gmail.com" ]
shahsaumya0108@gmail.com
abb95aeb166f7439d7e1184771729374c9ec9aac
fe91ffa11707887e4cdddde8f386a8c8e724aa58
/third_party/blink/renderer/core/script/import_map.h
7236bd5f710f3d918ec94da27e80cbdfc755a03b
[ "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.0-only", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-only", "LicenseRef-scancode-other-copyleft" ]
permissive
akshaymarch7/chromium
78baac2b45526031846ccbaeca96c639d1d60ace
d273c844a313b1e527dec0d59ce70c95fd2bd458
refs/heads/master
2023-02-26T23:48:03.686055
2020-04-15T01:20:07
2020-04-15T01:20:07
255,778,651
2
1
BSD-3-Clause
2020-04-15T02:04:56
2020-04-15T02:04:55
null
UTF-8
C++
false
false
3,589
h
// 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. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_IMPORT_MAP_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_IMPORT_MAP_H_ #include "base/macros.h" #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/heap/handle.h" #include "third_party/blink/renderer/platform/weborigin/kurl.h" #include "third_party/blink/renderer/platform/weborigin/kurl_hash.h" #include "third_party/blink/renderer/platform/wtf/hash_map.h" namespace blink { class ConsoleLogger; class JSONObject; class Modulator; class ParsedSpecifier; class ScriptValue; // Import maps. // https://wicg.github.io/import-maps/ // https://github.com/WICG/import-maps/blob/master/spec.md class CORE_EXPORT ImportMap final : public GarbageCollected<ImportMap> { public: static ImportMap* Parse(const Modulator&, const String& text, const KURL& base_url, ConsoleLogger& logger, ScriptValue* error_to_rethrow); // <spec href="https://wicg.github.io/import-maps/#specifier-map">A specifier // map is an ordered map from strings to resolution results.</spec> // // An invalid KURL corresponds to a null resolution result in the spec. // // In Blink, we actually use an unordered map here, and related algorithms // are implemented differently from the spec. using SpecifierMap = HashMap<String, KURL>; // <spec href="https://wicg.github.io/import-maps/#import-map-scopes">an // ordered map of URLs to specifier maps.</spec> using ScopeEntryType = std::pair<String, SpecifierMap>; using ScopeType = Vector<ScopeEntryType>; // Empty import map. ImportMap(); ImportMap(SpecifierMap&& imports, ScopeType&& scopes); // Return values of Resolve(), ResolveImportsMatch() and // ResolveImportsMatchInternal(): // - base::nullopt: corresponds to returning a null in the spec, // i.e. allowing fallback to a less specific scope etc. // - An invalid KURL: corresponds to throwing an error in the spec. // - A valid KURL: corresponds to returning a valid URL in the spec. base::Optional<KURL> Resolve(const ParsedSpecifier&, const KURL& base_url, String* debug_message) const; String ToString() const; void Trace(Visitor*) {} private: using MatchResult = SpecifierMap::const_iterator; // https://wicg.github.io/import-maps/#resolve-an-imports-match base::Optional<KURL> ResolveImportsMatch(const ParsedSpecifier&, const SpecifierMap&, String* debug_message) const; base::Optional<MatchResult> MatchPrefix(const ParsedSpecifier&, const SpecifierMap&) const; static SpecifierMap SortAndNormalizeSpecifierMap(const JSONObject* imports, const KURL& base_url, ConsoleLogger&); KURL ResolveImportsMatchInternal(const String& normalizedSpecifier, const MatchResult&, String* debug_message) const; // https://wicg.github.io/import-maps/#import-map-imports SpecifierMap imports_; // https://wicg.github.io/import-maps/#import-map-scopes. ScopeType scopes_; }; } // namespace blink #endif
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
8e3f6ebf9e41a7faf468cc267166796823102a79
3284c358ffbf33852aef6fce1513ed320bde0d64
/csapex_vision/src/camera.cpp
f4c0c62c7f96ef3467dcef041ed2dd6cb641baab
[]
no_license
eglrp/csapex_core_plugins
b082a1abf3ac25106fcb168961abb2d79f4d2fca
f68d4e42a0cb06e8779003b9fcb71cc048efd175
refs/heads/master
2020-04-06T22:08:34.602083
2018-06-28T19:33:04
2018-06-28T19:33:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,443
cpp
/// HEADER #include "camera.h" /// COMPONENT #include <csapex_opencv/cv_mat_message.h> /// PROJECT #include <csapex/msg/io.h> #include <csapex/utility/register_apex_plugin.h> #include <csapex/param/parameter_factory.h> #include <csapex/model/node_modifier.h> CSAPEX_REGISTER_CLASS(csapex::Camera, csapex::Node) using namespace csapex; Camera::Camera() : current_dev_(-1) { } void Camera::setupParameters(Parameterizable &parameters) { parameters.addParameter(csapex::param::ParameterFactory::declareRange<int>("device", 0, 5, 0, 1), std::bind(&Camera::update, this)); w_ = 640; h_ = 480; parameters.addParameter(csapex::param::ParameterFactory::declareRange<int>("w", 640, 1280, w_, 1), std::bind(&Camera::update, this)); parameters.addParameter(csapex::param::ParameterFactory::declareRange<int>("h", 480, 800, h_, 1), std::bind(&Camera::update, this)); } void Camera::process() { connection_types::CvMatMessage::Ptr msg(new connection_types::CvMatMessage(enc::bgr, "camera", 0)); cap_ >> msg->value; if(msg->value.channels() == 1) msg->setEncoding(enc::mono); msg::publish(output_, msg); } bool Camera::canProcess() const { return cap_.isOpened(); } void Camera::setup(NodeModifier& node_modifier) { output_ = node_modifier.addOutput<connection_types::CvMatMessage>("Image"); update(); } void Camera::update() { node_modifier_->setNoError(); int dev = readParameter<int>("device"); int w = readParameter<int>("w"); int h = readParameter<int>("h"); if(dev == current_dev_ && w == w_ && h == h_) { // no change, no update return; } ainfo << "update " << dev << " " << w << " " << h << std::endl; current_dev_= dev; w_ = w; h_ = h; if(cap_.isOpened()) { ainfo << "release" << std::endl; cap_.release(); } if(!cap_.open(dev)) { cap_.release(); throw std::runtime_error("cannot open camera with the given id"); } else { ainfo << "opened camera " << dev << std::endl; } // ainfo << "camera settings" << std::endl; // ainfo << cap_.get(CV_CAP_PROP_FRAME_WIDTH) << " x " << cap_.get(CV_CAP_PROP_FRAME_HEIGHT) << std::endl; // cap_.set(CV_CAP_PROP_FRAME_WIDTH, w); // cap_.set(CV_CAP_PROP_FRAME_HEIGHT, h); // ainfo << cap_.get(CV_CAP_PROP_FRAME_WIDTH) << " x " << cap_.get(CV_CAP_PROP_FRAME_HEIGHT) << std::endl; }
[ "sebastian.buck@uni-tuebingen.de" ]
sebastian.buck@uni-tuebingen.de
8ddd3bc0bf895cae5bebc9778ceef308fe06eb28
d39220ba57b81dedbb52ed73988083de5d4a0328
/src/Main.cpp
4c3d4fd94f2f9a725cc3dc1b21b0864fa628371a
[]
no_license
kim366/Connected-Bezier-Curves
6846a7cc19de98fa384fdbca4e42926502c45c05
2432913e9f4a125be5554d6ec7106e81f5057819
refs/heads/master
2020-03-20T15:56:51.401150
2018-09-05T15:58:35
2018-09-05T15:58:35
137,525,613
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
#include <SFML/Graphics.hpp> #include "ConnectedBezierCurves.hpp" int main() { const sf::ContextSettings aa_8x{0, 0, 8}; sf::RenderWindow window({350, 350}, "SFML Bezier", sf::Style::Default, aa_8x); ConnectedBezierCurves curves; while (true) { sf::Event event; while (window.pollEvent(event)) { if (event.type == sf::Event::Closed || (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape)) return 0; if (event.type == sf::Event::MouseButtonPressed) { sf::Vector2f mpos{static_cast<float>(event.mouseButton.x), static_cast<float>(event.mouseButton.y)}; curves.addPoint(mpos); } } window.clear(); for (const auto& curve : curves) window.draw(curve); window.display(); } }
[ "kim.schmider@hotmail.com" ]
kim.schmider@hotmail.com
f166944381ae877084f34f51724e26b413b56590
a8a6bd3afede307e3294c5e3432add531da2ab19
/tests/cefclient/browser/main_context_impl.cc
55b0349ef49b8e22775d7ce779bb5a20805aeaa1
[ "BSD-3-Clause" ]
permissive
huningxin/cef
fcf411eb8703cbcd0ba7e653579b63529090dc09
c8c3ef4792d9c628655303c2c3ea95bf7114b0df
refs/heads/master
2020-05-24T00:43:03.574017
2017-02-18T02:42:15
2017-02-18T02:42:15
84,806,698
1
1
null
null
null
null
UTF-8
C++
false
false
6,031
cc
// Copyright (c) 2015 The Chromium Embedded Framework 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 "tests/cefclient/browser/main_context_impl.h" #include "include/cef_parser.h" #include "include/cef_web_plugin.h" #include "tests/shared/common/client_switches.h" namespace client { namespace { // The default URL to load in a browser window. const char kDefaultUrl[] = "http://www.google.com"; // Returns the ARGB value for |color|. cef_color_t ParseColor(const std::string& color) { std::string colorToLower; colorToLower.resize(color.size()); std::transform(color.begin(), color.end(), colorToLower.begin(), ::tolower); if (colorToLower == "black") return CefColorSetARGB(255, 0, 0, 0); else if (colorToLower == "blue") return CefColorSetARGB(255, 0, 0, 255); else if (colorToLower == "green") return CefColorSetARGB(255, 0, 255, 0); else if (colorToLower == "red") return CefColorSetARGB(255, 255, 0, 0); else if (colorToLower == "white") return CefColorSetARGB(255, 255, 255, 255); // Use the default color. return 0U; } } // namespace MainContextImpl::MainContextImpl(CefRefPtr<CefCommandLine> command_line, bool terminate_when_all_windows_closed) : command_line_(command_line), terminate_when_all_windows_closed_(terminate_when_all_windows_closed), initialized_(false), shutdown_(false), background_color_(CefColorSetARGB(255, 255, 255, 255)), use_views_(false) { DCHECK(command_line_.get()); // Set the main URL. if (command_line_->HasSwitch(switches::kUrl)) main_url_ = command_line_->GetSwitchValue(switches::kUrl); if (main_url_.empty()) main_url_ = kDefaultUrl; if (command_line_->HasSwitch(switches::kBackgroundColor)) { // Parse the background color value. background_color_ = ParseColor(command_line_->GetSwitchValue(switches::kBackgroundColor)); } // Whether windowless (off-screen) rendering will be used. use_windowless_rendering_ = command_line_->HasSwitch(switches::kOffScreenRenderingEnabled); #if defined(OS_WIN) || defined(OS_LINUX) // Whether the Views framework will be used. use_views_ = command_line_->HasSwitch(switches::kUseViews); if (use_windowless_rendering_ && use_views_) { LOG(ERROR) << "Windowless rendering is not supported by the Views framework."; use_views_ = false; } if (use_views_ && command_line->HasSwitch(switches::kHideFrame) && !command_line_->HasSwitch(switches::kUrl)) { // Use the draggable regions test as the default URL for frameless windows. main_url_ = "http://tests/draggable"; } #endif // defined(OS_WIN) || defined(OS_LINUX) const std::string& cdm_path = command_line_->GetSwitchValue(switches::kWidevineCdmPath); if (!cdm_path.empty()) { // Register the Widevine CDM at the specified path. See comments in // cef_web_plugin.h for details. It's safe to call this method before // CefInitialize(), and calling it before CefInitialize() is required on // Linux. CefRegisterWidevineCdm(cdm_path, NULL); } } MainContextImpl::~MainContextImpl() { // The context must either not have been initialized, or it must have also // been shut down. DCHECK(!initialized_ || shutdown_); } std::string MainContextImpl::GetConsoleLogPath() { return GetAppWorkingDirectory() + "console.log"; } std::string MainContextImpl::GetMainURL() { return main_url_; } cef_color_t MainContextImpl::GetBackgroundColor() { return background_color_; } bool MainContextImpl::UseViews() { return use_views_; } bool MainContextImpl::UseWindowlessRendering() { return use_windowless_rendering_; } void MainContextImpl::PopulateSettings(CefSettings* settings) { #if defined(OS_WIN) settings->multi_threaded_message_loop = command_line_->HasSwitch(switches::kMultiThreadedMessageLoop); #endif if (!settings->multi_threaded_message_loop) { settings->external_message_pump = command_line_->HasSwitch(switches::kExternalMessagePump); } CefString(&settings->cache_path) = command_line_->GetSwitchValue(switches::kCachePath); if (use_windowless_rendering_) settings->windowless_rendering_enabled = true; settings->background_color = background_color_; } void MainContextImpl::PopulateBrowserSettings(CefBrowserSettings* settings) { if (command_line_->HasSwitch(switches::kOffScreenFrameRate)) { settings->windowless_frame_rate = atoi(command_line_-> GetSwitchValue(switches::kOffScreenFrameRate).ToString().c_str()); } } void MainContextImpl::PopulateOsrSettings(OsrRenderer::Settings* settings) { settings->transparent = command_line_->HasSwitch(switches::kTransparentPaintingEnabled); settings->show_update_rect = command_line_->HasSwitch(switches::kShowUpdateRect); settings->background_color = background_color_; } RootWindowManager* MainContextImpl::GetRootWindowManager() { DCHECK(InValidState()); return root_window_manager_.get(); } bool MainContextImpl::Initialize(const CefMainArgs& args, const CefSettings& settings, CefRefPtr<CefApp> application, void* windows_sandbox_info) { DCHECK(thread_checker_.CalledOnValidThread()); DCHECK(!initialized_); DCHECK(!shutdown_); if (!CefInitialize(args, settings, application, windows_sandbox_info)) return false; // Need to create the RootWindowManager after calling CefInitialize because // TempWindowX11 uses cef_get_xdisplay(). root_window_manager_.reset( new RootWindowManager(terminate_when_all_windows_closed_)); initialized_ = true; return true; } void MainContextImpl::Shutdown() { DCHECK(thread_checker_.CalledOnValidThread()); DCHECK(initialized_); DCHECK(!shutdown_); root_window_manager_.reset(); CefShutdown(); shutdown_ = true; } } // namespace client
[ "magreenblatt@gmail.com" ]
magreenblatt@gmail.com
119a1a3b575593ed5f86352cfe2f8589d6f5185a
aaebd4d151a918d9e35d9e35224049c0a35aed18
/second_semester/Computer Vision/Lab2_Dense_Motion_Estimation/toolbox/images/private/imResample1.cpp
b143ec76e85d6cdeb1af9b01600de47c029c36a2
[]
no_license
isllabres/MasterProjects
5e517ed487cb56536a4b4832c902ad05f119ad69
3552f70dfed07e0787e415721bf8982560e1ac5b
refs/heads/master
2022-10-09T20:38:47.384663
2020-06-06T09:06:15
2020-06-06T09:06:15
263,884,283
1
0
null
null
null
null
UTF-8
C++
false
false
6,912
cpp
/******************************************************************************* * Piotr's Image&Video Toolbox Version 2.62 * Copyright 2011 Piotr Dollar. [pdollar-at-caltech.edu] * Please email me if you find bugs, or have suggestions or questions! * Licensed under the Lesser GPL [see external/lgpl.txt] *******************************************************************************/ #include "mex.h" #include "string.h" #include <math.h> #include <typeinfo> typedef unsigned char uchar; // compute interpolation values for single column for resapling template<class T> void resampleCoef( int ha, int hb, int &n, int *&yas, int *&ybs, T *&wts, int bd[2], int pad=0 ) { const T s = T(hb)/T(ha), sInv = 1/s; T wt, wt0=T(1e-3)*s; bool ds=ha>hb; int nMax; bd[0]=bd[1]=0; if(ds) { n=0; nMax=ha+(pad>2 ? pad : 2)*hb; } else { n=nMax=hb; } // initialize memory wts = (T*)mxMalloc(nMax*sizeof(T)); yas = (int*)mxMalloc(nMax*sizeof(int)); ybs = (int*)mxMalloc(nMax*sizeof(int)); if( ds ) for( int yb=0; yb<hb; yb++ ) { // create coefficients for downsampling T ya0f=yb*sInv, ya1f=ya0f+sInv, W=0; int ya0=int(ceil(ya0f)), ya1=int(ya1f), n1=0; for( int ya=ya0-1; ya<ya1+1; ya++ ) { wt=s; if(ya==ya0-1) wt=(ya0-ya0f)*s; else if(ya==ya1) wt=(ya1f-ya1)*s; if(wt>wt0 && ya>=0) { ybs[n]=yb; yas[n]=ya; wts[n]=wt; n++; n1++; W+=wt; } } if(W>1) for( int i=0; i<n1; i++ ) wts[n-n1+i]/=W; if(n1>bd[0]) bd[0]=n1; while( n1<pad ) { ybs[n]=yb; yas[n]=yas[n-1]; wts[n]=0; n++; n1++; } } else for( int yb=0; yb<hb; yb++ ) { // create coefficients for upsampling T yaf = (T(.5)+yb)*sInv-T(.5); int ya=(int) floor(yaf); wt=1; if(ya>=0 && ya<ha-1) wt=1-(yaf-ya); if(ya<0) { ya=0; bd[0]++; } if(ya>=ha-1) { ya=ha-1; bd[1]++; } ybs[yb]=yb; yas[yb]=ya; wts[yb]=wt; } } // resample A using bilinear interpolation and and store result in B template<class T> void resample( T *A, T *B, int ha, int hb, int wa, int wb, int d, T r ) { int hn, wn, x, x1, y, z, xa, xb, ya; T *A0, *A1, *A2, *A3, *B0, wt, wt1; T *C = (T*) mxMalloc((ha+4)*sizeof(T)); for(y=ha; y<ha+4; y++) C[y]=0; // get coefficients for resampling along w and h int *xas, *xbs, *yas, *ybs; T *xwts, *ywts; int xbd[2], ybd[2]; resampleCoef<T>( wa, wb, wn, xas, xbs, xwts, xbd, 0 ); resampleCoef<T>( ha, hb, hn, yas, ybs, ywts, ybd, 4 ); if( wa==2*wb ) r/=2; if( wa==3*wb ) r/=3; if( wa==4*wb ) r/=4; r/=T(1+1e-6); for( y=0; y<hn; y++ ) ywts[y] *= r; // resample each channel in turn for( z=0; z<d; z++ ) for( x=0; x<wb; x++ ) { if(x==0) x1=0; xa=xas[x1]; xb=xbs[x1]; wt=xwts[x1]; wt1=1-wt; y=0; A0=A+z*ha*wa+xa*ha; A1=A0+ha, A2=A1+ha, A3=A2+ha; B0=B+z*hb*wb+xb*hb; // variables for SSE (simple casts to float) float *Af0, *Af1, *Af2, *Af3, *Bf0, *Cf, *ywtsf, wtf, wt1f; Af0=(float*) A0; Af1=(float*) A1; Af2=(float*) A2; Af3=(float*) A3; Bf0=(float*) B0; Cf=(float*) C; ywtsf=(float*) ywts; wtf=(float) wt; wt1f=(float) wt1; // resample along x direction (A -> C) #define FORr(X) for(; y<ha; y++) C[y] = X; if( wa==2*wb ) { FORr( A0[y]+A1[y] ); x1+=2; } else if( wa==3*wb ) { FORr( A0[y]+A1[y]+A2[y] ); x1+=3; } else if( wa==4*wb ) { FORr( A0[y]+A1[y]+A2[y]+A3[y] ); x1+=4; } else if( wa>wb ) { int m=1; while( x1+m<wn && xb==xbs[x1+m] ) m++; float wtsf[4]; for( int x0=0; x0<(m<4?m:4); x0++ ) wtsf[x0]=float(xwts[x1+x0]); #define U(x) MUL( LDu(*(Af ## x + y)), SET(wtsf[x]) ) #define V(x) *(A ## x + y) * xwts[x1+x] if(m==1) { FORr(V(0)); } if(m==2) { FORr(V(0)+V(1)); } if(m==3) { FORr(V(0)+V(1)+V(2)); } if(m>=4) { FORr(V(0)+V(1)+V(2)+V(3)); } #undef U #undef V for( int x0=4; x0<m; x0++ ) { A1=A0+x0*ha; wt1=xwts[x1+x0]; Af1=(float*) A1; wt1f=float(wt1); y=0; FORr(C[y]+A1[y]*wt1); } x1+=m; } else { bool xBd = x<xbd[0] || x>=wb-xbd[1]; x1++; if(xBd) memcpy(C,A0,ha*sizeof(T)); if(!xBd) FORr( A0[y]*wt + A1[y]*wt1 ); } #undef FORr // resample along y direction (B -> C) if( ha==hb*2 ) { T r2 = r/2; int k=((~((size_t) B0) + 1) & 15)/4; y=0; for( ; y<k; y++ ) B0[y]=(C[2*y]+C[2*y+1])*r2; for( ; y<hb; y++ ) B0[y]=(C[2*y]+C[2*y+1])*r2; } else if( ha==hb*3 ) { for(y=0; y<hb; y++) B0[y]=(C[3*y]+C[3*y+1]+C[3*y+2])*(r/3); } else if( ha==hb*4 ) { for(y=0; y<hb; y++) B0[y]=(C[4*y]+C[4*y+1]+C[4*y+2]+C[4*y+3])*(r/4); } else if( ha>hb ) { y=0; #define U(o) C[ya+o]*ywts[y*4+o] if(ybd[0]==2) for(; y<hb; y++) { ya=yas[y*4]; B0[y]=U(0)+U(1); } if(ybd[0]==3) for(; y<hb; y++) { ya=yas[y*4]; B0[y]=U(0)+U(1)+U(2); } if(ybd[0]==4) for(; y<hb; y++) { ya=yas[y*4]; B0[y]=U(0)+U(1)+U(2)+U(3); } if(ybd[0]>4) for(; y<hn; y++) { B0[ybs[y]] += C[yas[y]] * ywts[y]; } #undef U } else { for(y=0; y<ybd[0]; y++) B0[y] = C[yas[y]]*ywts[y]; for(; y<hb-ybd[1]; y++) B0[y] = C[yas[y]]*ywts[y]+C[yas[y]+1]*(r-ywts[y]); for(; y<hb; y++) B0[y] = C[yas[y]]*ywts[y]; } } mxFree(xas); mxFree(xbs); mxFree(xwts); mxFree(C); mxFree(yas); mxFree(ybs); mxFree(ywts); } // B = imResampleMex(A,hb,wb,nrm); see imResample.m for usage details void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { int *ns, ms[3], n, m, nCh, nDims; void *A, *B; mxClassID id; double nrm; // Error checking on arguments if( nrhs!=4) mexErrMsgTxt("Four inputs expected."); if( nlhs>1 ) mexErrMsgTxt("One output expected."); nDims=mxGetNumberOfDimensions(prhs[0]); id=mxGetClassID(prhs[0]); ns = (int*) mxGetDimensions(prhs[0]); nCh=(nDims==2) ? 1 : ns[2]; if( (nDims!=2 && nDims!=3) || (id!=mxSINGLE_CLASS && id!=mxDOUBLE_CLASS && id!=mxUINT8_CLASS) ) mexErrMsgTxt("A should be 2D or 3D single, double or uint8 array."); ms[0]=(int)mxGetScalar(prhs[1]); ms[1]=(int)mxGetScalar(prhs[2]); ms[2]=nCh; if( ms[0]<=0 || ms[1]<=0 ) mexErrMsgTxt("downsampling factor too small."); nrm=(double)mxGetScalar(prhs[3]); // create output array plhs[0] = mxCreateNumericArray(3, (const mwSize*) ms, id, mxREAL); n=ns[0]*ns[1]*nCh; m=ms[0]*ms[1]*nCh; // perform resampling (w appropriate type) A=mxGetData(prhs[0]); B=mxGetData(plhs[0]); if( id==mxDOUBLE_CLASS ) { resample((double*)A, (double*)B, ns[0], ms[0], ns[1], ms[1], nCh, nrm); } else if( id==mxSINGLE_CLASS ) { resample((float*)A, (float*)B, ns[0], ms[0], ns[1], ms[1], nCh, float(nrm)); } else if( id==mxUINT8_CLASS ) { float *A1 = (float*) mxMalloc(n*sizeof(float)); float *B1 = (float*) mxCalloc(m,sizeof(float)); for(int i=0; i<n; i++) A1[i]=(float) ((uchar*)A)[i]; resample(A1, B1, ns[0], ms[0], ns[1], ms[1], nCh, float(nrm)); for(int i=0; i<m; i++) ((uchar*)B)[i]=(uchar) (B1[i]+.5); } else { mexErrMsgTxt("Unsupported type."); } }
[ "ignaciosll96@gmail.com" ]
ignaciosll96@gmail.com
3e9925fd8094d0c738bc63cd19c3df72e57d8c72
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/gse/include/tencentcloud/gse/v20191112/model/DeleteGameServerSessionQueueResponse.h
db31d22430f48f38e6a9d9a74632784accbbf644
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
1,700
h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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. */ #ifndef TENCENTCLOUD_GSE_V20191112_MODEL_DELETEGAMESERVERSESSIONQUEUERESPONSE_H_ #define TENCENTCLOUD_GSE_V20191112_MODEL_DELETEGAMESERVERSESSIONQUEUERESPONSE_H_ #include <string> #include <vector> #include <map> #include <tencentcloud/core/AbstractModel.h> namespace TencentCloud { namespace Gse { namespace V20191112 { namespace Model { /** * DeleteGameServerSessionQueue返回参数结构体 */ class DeleteGameServerSessionQueueResponse : public AbstractModel { public: DeleteGameServerSessionQueueResponse(); ~DeleteGameServerSessionQueueResponse() = default; CoreInternalOutcome Deserialize(const std::string &payload); std::string ToJsonString() const; private: }; } } } } #endif // !TENCENTCLOUD_GSE_V20191112_MODEL_DELETEGAMESERVERSESSIONQUEUERESPONSE_H_
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
dc8317fba94364ade6de1e5f33abf19cc0cb4940
a6ad5fe6550f3bb3c1687bdc885849e45c764e50
/backup/pstl/propagate-toz-test_pstl_v12-1.cpp
2ad7e5cd68d7bd9acf4bf9c1ba1d6f879fd026f9
[ "Apache-2.0" ]
permissive
cerati/p2z-tests
994e66ede30faa74f9ae0e7fb296afe451bb89b4
a3a28b286214b28f902c97823166ec80f239fe9f
refs/heads/master
2023-09-01T05:43:51.052111
2023-01-13T04:22:54
2023-01-13T04:22:54
186,912,242
0
7
null
2022-09-27T21:06:47
2019-05-15T22:40:13
C++
UTF-8
C++
false
false
43,312
cpp
/* icc propagate-toz-test.C -o propagate-toz-test.exe -fopenmp -O3 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <unistd.h> #include <iostream> #include <chrono> #include <iomanip> #include <sys/time.h> #include <algorithm> #include <vector> #include <memory> #include <numeric> #include <execution> #ifndef bsize #define bsize 128 #endif #ifndef ntrks #define ntrks 9600 #endif #define nb ntrks/bsize #ifndef nevts #define nevts 100 #endif #define smear 0.1 #ifndef NITER #define NITER 5 #endif #ifndef nlayer #define nlayer 20 #endif #ifdef __NVCOMPILER_CUDA__ #include <thrust/iterator/counting_iterator.h> using namespace thrust; #else //X86 #include <tbb/tbb.h> using namespace tbb; #endif inline size_t PosInMtrx(size_t i, size_t j, size_t D) { return i*D+j; } const std::array<size_t, 36> SymOffsets66{0, 1, 3, 6, 10, 15, 1, 2, 4, 7, 11, 16, 3, 4, 5, 8, 12, 17, 6, 7, 8, 9, 13, 18, 10, 11, 12, 13, 14, 19, 15, 16, 17, 18, 19, 20}; struct ATRK { std::array<float,6> par; std::array<float,21> cov; int q; }; struct AHIT { std::array<float,3> pos; std::array<float,6> cov; }; //#define VEC #ifndef __NVCOMPILER_CUDA__ template <typename T, int N, int base> struct MPNX { std::array<T,N*base> data; }; #else enum class IPAR {X = 0, Y = 1, Z = 2, Ipt = 3, Phi = 4, Theta = 5}; constexpr int iparX = 0; constexpr int iparY = 1; constexpr int iparZ = 2; constexpr int iparIpt = 3; constexpr int iparPhi = 4; constexpr int iparTheta = 5; template <typename T, int N, int base> struct MPNX { using DataType = T; static constexpr int N_ = N; static constexpr int base_ = base; std::vector<T> data; MPNX() : data(N*base){} MPNX(const size_t els) : data(N*base*els){} MPNX(const std::vector<T> data_) : data(data_){} int GetN() const {return N;} int GetBase() const {return base;} }; #endif using MP1I = MPNX<int, 1 , bsize>;//MPTRK.q //using MP22I = MPNX<int, 22, bsize>;//? using MP3F = MPNX<float, 3 , bsize>;//MPHIT.pos using MP6F = MPNX<float, 6 , bsize>;//MPTRK.par using MP3x3 = MPNX<float, 9 , bsize>;//inverse_temp=> using MP3x6 = MPNX<float, 18, bsize>;//kGain using MP3x3SF = MPNX<float, 6 , bsize>;//MPHIT.cov using MP6x6SF = MPNX<float, 21, bsize>;//MPTRK.cov, newErr using MP6x6F = MPNX<float, 36, bsize>;//errorProp, temp #ifdef __NVCOMPILER_CUDA__ template <typename MPNTp> struct MPNXAccessor { typedef typename MPNTp::DataType T; //using AccessedFieldTp = MPNTp; static constexpr size_t basesz = MPNTp::base_; static constexpr size_t N = MPNTp::N_; static constexpr size_t stride = N*basesz; T* data_; //accessor field only for the LL data access, not allocated here MPNXAccessor() : data_(nullptr) {} MPNXAccessor(const MPNTp &v) : data_(const_cast<T*>(v.data.data())){ } T* operator[](const size_t i) const {return (data_ + stride*i);} T operator()(const size_t i, const size_t j) const {return (data_ + stride*i)[j];} template <int ipar, typename AccessedFieldTp = MPNTp> typename std::enable_if<std::is_same<AccessedFieldTp, MP3F>::value or std::is_same<AccessedFieldTp, MP6F>::value, float>::type Get(size_t it, size_t id) const { return (data_ + stride*id)[it + ipar*basesz]; } template <int ipar, typename AccessedFieldTp = MPNTp> typename std::enable_if<std::is_same<AccessedFieldTp, MP3F>::value, void>::type Set(size_t it, float val, size_t id) { (data_ + stride*id)[it + ipar*basesz] = val; } // same as above but with a (shifted) raw pointer template <int ipar> static T Get(const T* local_data, size_t it) { return local_data[it + ipar*basesz]; } template <int ipar> static void Set(T* local_data, size_t it) { local_data[it + ipar*basesz] = val; } }; using MP6FAccessor = MPNXAccessor<MP6F>; using MP6x6SFAccessor= MPNXAccessor<MP6x6SF>; using MP1IAccessor = MPNXAccessor<MP1I>; using MP3FAccessor = MPNXAccessor<MP3F>; using MP3x3SFAccessor= MPNXAccessor<MP3x3SF>; #endif struct MPTRK { MP6F par; MP6x6SF cov; MP1I q; #ifdef __NVCOMPILER_CUDA__ MPTRK() : par(), cov(), q() {} MPTRK(const size_t els) : par(els), cov(els), q(els) {} #endif // MP22I hitidx; }; #ifdef __NVCOMPILER_CUDA__ struct MPTRKAccessor { MP6FAccessor par; MP6x6SFAccessor cov; MP1IAccessor q; MPTRKAccessor() : par(), cov(), q() {} MPTRKAccessor(const MPTRK &in) : par(in.par), cov(in.cov), q(in.q) {} }; #endif struct MPHIT { MP3F pos; MP3x3SF cov; #ifdef __NVCOMPILER_CUDA__ MPHIT() : pos(), cov(){} MPHIT(const size_t els) : pos(els), cov(els) {} #endif }; #ifdef __NVCOMPILER_CUDA__ struct MPHITAccessor { MP3FAccessor pos; MP3x3SFAccessor cov; MPHITAccessor() : pos(), cov() {} MPHITAccessor(const MPHIT &in) : pos(in.pos), cov(in.cov) {} }; #endif float randn(float mu, float sigma) { float U1, U2, W, mult; static float X1, X2; static int call = 0; if (call == 1) { call = !call; return (mu + sigma * (float) X2); } do { U1 = -1 + ((float) rand () / RAND_MAX) * 2; U2 = -1 + ((float) rand () / RAND_MAX) * 2; W = pow (U1, 2) + pow (U2, 2); } while (W >= 1 || W == 0); mult = sqrt ((-2 * log (W)) / W); X1 = U1 * mult; X2 = U2 * mult; call = !call; return (mu + sigma * (float) X1); } MPTRK* bTk(MPTRK* tracks, size_t ev, size_t ib) { return &(tracks[ib + nb*ev]); } inline const MPTRK* bTkC(const MPTRK* tracks, size_t ev, size_t ib) { return &(tracks[ib + nb*ev]); } inline float q(const MP1I* bq, size_t it){ return (*bq).data[it]; } // inline float par(const MP6F* bpars, size_t it, size_t ipar){ return (*bpars).data[it + ipar*bsize]; } inline float x (const MP6F* bpars, size_t it){ return par(bpars, it, 0); } inline float y (const MP6F* bpars, size_t it){ return par(bpars, it, 1); } inline float z (const MP6F* bpars, size_t it){ return par(bpars, it, 2); } inline float ipt (const MP6F* bpars, size_t it){ return par(bpars, it, 3); } inline float phi (const MP6F* bpars, size_t it){ return par(bpars, it, 4); } inline float theta(const MP6F* bpars, size_t it){ return par(bpars, it, 5); } // inline float par(const MPTRK* btracks, size_t it, size_t ipar){ return par(&(*btracks).par,it,ipar); } inline float x (const MPTRK* btracks, size_t it){ return par(btracks, it, 0); } inline float y (const MPTRK* btracks, size_t it){ return par(btracks, it, 1); } inline float z (const MPTRK* btracks, size_t it){ return par(btracks, it, 2); } inline float ipt (const MPTRK* btracks, size_t it){ return par(btracks, it, 3); } inline float phi (const MPTRK* btracks, size_t it){ return par(btracks, it, 4); } inline float theta(const MPTRK* btracks, size_t it){ return par(btracks, it, 5); } // inline float par(const MPTRK* tracks, size_t ev, size_t tk, size_t ipar){ size_t ib = tk/bsize; const MPTRK* btracks = bTkC(tracks, ev, ib); size_t it = tk % bsize; return par(btracks, it, ipar); } inline float x (const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 0); } inline float y (const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 1); } inline float z (const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 2); } inline float ipt (const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 3); } inline float phi (const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 4); } inline float theta(const MPTRK* tracks, size_t ev, size_t tk){ return par(tracks, ev, tk, 5); } // inline void setpar(MP6F* bpars, size_t it, size_t ipar, float val){ (*bpars).data[it + ipar*bsize] = val; } void setx (MP6F* bpars, size_t it, float val){ setpar(bpars, it, 0, val); } void sety (MP6F* bpars, size_t it, float val){ setpar(bpars, it, 1, val); } void setz (MP6F* bpars, size_t it, float val){ setpar(bpars, it, 2, val); } void setipt (MP6F* bpars, size_t it, float val){ setpar(bpars, it, 3, val); } void setphi (MP6F* bpars, size_t it, float val){ setpar(bpars, it, 4, val); } void settheta(MP6F* bpars, size_t it, float val){ setpar(bpars, it, 5, val); } // void setpar(MPTRK* btracks, size_t it, size_t ipar, float val){ setpar(&(*btracks).par,it,ipar,val); } void setx (MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 0, val); } void sety (MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 1, val); } void setz (MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 2, val); } void setipt (MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 3, val); } void setphi (MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 4, val); } void settheta(MPTRK* btracks, size_t it, float val){ setpar(btracks, it, 5, val); } inline const MPHIT* bHit(const MPHIT* hits, size_t ev, size_t ib) { return &(hits[ib + nb*ev]); } inline const MPHIT* bHit(const MPHIT* hits, size_t ev, size_t ib, size_t lay) { return &(hits[lay + (ib + nb*ev)*nlayer]); } // inline float pos(const MP3F* hpos, size_t it, size_t ipar){ return (*hpos).data[it + ipar*bsize]; } inline float x(const MP3F* hpos, size_t it) { return pos(hpos, it, 0); } inline float y(const MP3F* hpos, size_t it) { return pos(hpos, it, 1); } inline float z(const MP3F* hpos, size_t it) { return pos(hpos, it, 2); } // inline float pos(const MPHIT* hits, size_t it, size_t ipar){ return pos(&(*hits).pos,it,ipar); } inline float x(const MPHIT* hits, size_t it) { return pos(hits, it, 0); } inline float y(const MPHIT* hits, size_t it) { return pos(hits, it, 1); } inline float z(const MPHIT* hits, size_t it) { return pos(hits, it, 2); } // float pos(const MPHIT* hits, size_t ev, size_t tk, size_t ipar){ size_t ib = tk/bsize; const MPHIT* bhits = bHit(hits, ev, ib); size_t it = tk % bsize; return pos(bhits,it,ipar); } inline float x(const MPHIT* hits, size_t ev, size_t tk) { return pos(hits, ev, tk, 0); } inline float y(const MPHIT* hits, size_t ev, size_t tk) { return pos(hits, ev, tk, 1); } inline float z(const MPHIT* hits, size_t ev, size_t tk) { return pos(hits, ev, tk, 2); } MPTRK* prepareTracks(struct ATRK inputtrk) { #ifndef __NVCOMPILER_CUDA__ MPTRK* result = (MPTRK*) malloc(nevts*nb*sizeof(MPTRK)); //fixme, align? #else MPTRK* result = new MPTRK[nevts*nb]; #endif // store in element order for bunches of bsize matrices (a la matriplex) for (size_t ie=0;ie<nevts;++ie) { for (size_t ib=0;ib<nb;++ib) { for (size_t it=0;it<bsize;++it) { //par for (size_t ip=0;ip<6;++ip) { result[ib + nb*ie].par.data[it + ip*bsize] = (1+smear*randn(0,1))*inputtrk.par[ip]; } //cov for (size_t ip=0;ip<21;++ip) { result[ib + nb*ie].cov.data[it + ip*bsize] = (1+smear*randn(0,1))*inputtrk.cov[ip]; } //q result[ib + nb*ie].q.data[it] = inputtrk.q-2*ceil(-0.5 + (float)rand() / RAND_MAX);//fixme check } } } return result; } #ifdef __NVCOMPILER_CUDA__ std::shared_ptr<MPTRK> prepareTracksN(struct ATRK inputtrk) { auto result = std::make_shared<MPTRK>(nevts*nb); // store in element order for bunches of bsize matrices (a la matriplex) const size_t stride_par = bsize*6; const size_t stride_cov = bsize*21; const size_t stride_q = bsize*1; for (size_t ie=0;ie<nevts;++ie) { for (size_t ib=0;ib<nb;++ib) { const int l = ib + nb*ie; for (size_t it=0;it<bsize;++it) { //par for (size_t ip=0;ip<6;++ip) { result->par.data[l*stride_par + ip*bsize + it] = (1+smear*randn(0,1))*inputtrk.par[ip]; } //cov for (size_t ip=0;ip<21;++ip) { result->cov.data[l*stride_cov + ip*bsize + it] = (1+smear*randn(0,1))*inputtrk.cov[ip]; } //q result->q.data[l*stride_q + it] = inputtrk.q-2*ceil(-0.5 + (float)rand() / RAND_MAX);//fixme check } } } return std::move(result); } #endif MPHIT* prepareHits(struct AHIT inputhit) { #ifndef __NVCOMPILER_CUDA__ MPHIT* result = (MPHIT*) malloc(nlayer*nevts*nb*sizeof(MPHIT)); //fixme, align? #else MPHIT* result = new MPHIT[nlayer*nevts*nb]; #endif // store in element order for bunches of bsize matrices (a la matriplex) for (size_t lay=0;lay<nlayer;++lay) { for (size_t ie=0;ie<nevts;++ie) { for (size_t ib=0;ib<nb;++ib) { for (size_t it=0;it<bsize;++it) { //pos for (size_t ip=0;ip<3;++ip) { result[lay+nlayer*(ib + nb*ie)].pos.data[it + ip*bsize] = (1+smear*randn(0,1))*inputhit.pos[ip]; } //cov for (size_t ip=0;ip<6;++ip) { result[lay+nlayer*(ib + nb*ie)].cov.data[it + ip*bsize] = (1+smear*randn(0,1))*inputhit.cov[ip]; } } } } } return result; } #ifdef __NVCOMPILER_CUDA__ std::shared_ptr<MPHIT> prepareHitsN(struct AHIT inputhit) { auto result = std::make_shared<MPHIT>(nlayer*nevts*nb); // store in element order for bunches of bsize matrices (a la matriplex) const size_t stride_pos = bsize*3; const size_t stride_cov = bsize*6; for (size_t lay=0;lay<nlayer;++lay) { for (size_t ie=0;ie<nevts;++ie) { for (size_t ib=0;ib<nb;++ib) { const size_t l = ib + nb*ie; for (size_t it=0;it<bsize;++it) { //pos for (size_t ip=0;ip<3;++ip) { result->pos.data[(lay+nlayer*l)*stride_pos + ip*bsize + it] = (1+smear*randn(0,1))*inputhit.pos[ip]; } //cov for (size_t ip=0;ip<6;++ip) { result->cov.data[(lay+nlayer*l)*stride_cov + ip*bsize +it] = (1+smear*randn(0,1))*inputhit.cov[ip]; } } } } } return std::move(result); } #endif #define N bsize template <size_t block_size = 1> void MultHelixPropEndcap(const MP6x6F* A, const MP6x6SF* B, MP6x6F* C, const size_t offset = 0) { const auto &a = A->data; //ASSUME_ALIGNED(a, 64); const auto &b = B->data; //ASSUME_ALIGNED(b, 64); auto &c = C->data; //ASSUME_ALIGNED(c, 64); #pragma simd for (int n = offset; n < N; n += block_size) { c[ 0*N+n] = b[ 0*N+n] + a[ 2*N+n]*b[ 3*N+n] + a[ 3*N+n]*b[ 6*N+n] + a[ 4*N+n]*b[10*N+n] + a[ 5*N+n]*b[15*N+n]; c[ 1*N+n] = b[ 1*N+n] + a[ 2*N+n]*b[ 4*N+n] + a[ 3*N+n]*b[ 7*N+n] + a[ 4*N+n]*b[11*N+n] + a[ 5*N+n]*b[16*N+n]; c[ 2*N+n] = b[ 3*N+n] + a[ 2*N+n]*b[ 5*N+n] + a[ 3*N+n]*b[ 8*N+n] + a[ 4*N+n]*b[12*N+n] + a[ 5*N+n]*b[17*N+n]; c[ 3*N+n] = b[ 6*N+n] + a[ 2*N+n]*b[ 8*N+n] + a[ 3*N+n]*b[ 9*N+n] + a[ 4*N+n]*b[13*N+n] + a[ 5*N+n]*b[18*N+n]; c[ 4*N+n] = b[10*N+n] + a[ 2*N+n]*b[12*N+n] + a[ 3*N+n]*b[13*N+n] + a[ 4*N+n]*b[14*N+n] + a[ 5*N+n]*b[19*N+n]; c[ 5*N+n] = b[15*N+n] + a[ 2*N+n]*b[17*N+n] + a[ 3*N+n]*b[18*N+n] + a[ 4*N+n]*b[19*N+n] + a[ 5*N+n]*b[20*N+n]; c[ 6*N+n] = b[ 1*N+n] + a[ 8*N+n]*b[ 3*N+n] + a[ 9*N+n]*b[ 6*N+n] + a[10*N+n]*b[10*N+n] + a[11*N+n]*b[15*N+n]; c[ 7*N+n] = b[ 2*N+n] + a[ 8*N+n]*b[ 4*N+n] + a[ 9*N+n]*b[ 7*N+n] + a[10*N+n]*b[11*N+n] + a[11*N+n]*b[16*N+n]; c[ 8*N+n] = b[ 4*N+n] + a[ 8*N+n]*b[ 5*N+n] + a[ 9*N+n]*b[ 8*N+n] + a[10*N+n]*b[12*N+n] + a[11*N+n]*b[17*N+n]; c[ 9*N+n] = b[ 7*N+n] + a[ 8*N+n]*b[ 8*N+n] + a[ 9*N+n]*b[ 9*N+n] + a[10*N+n]*b[13*N+n] + a[11*N+n]*b[18*N+n]; c[10*N+n] = b[11*N+n] + a[ 8*N+n]*b[12*N+n] + a[ 9*N+n]*b[13*N+n] + a[10*N+n]*b[14*N+n] + a[11*N+n]*b[19*N+n]; c[11*N+n] = b[16*N+n] + a[ 8*N+n]*b[17*N+n] + a[ 9*N+n]*b[18*N+n] + a[10*N+n]*b[19*N+n] + a[11*N+n]*b[20*N+n]; c[12*N+n] = 0; c[13*N+n] = 0; c[14*N+n] = 0; c[15*N+n] = 0; c[16*N+n] = 0; c[17*N+n] = 0; c[18*N+n] = b[ 6*N+n]; c[19*N+n] = b[ 7*N+n]; c[20*N+n] = b[ 8*N+n]; c[21*N+n] = b[ 9*N+n]; c[22*N+n] = b[13*N+n]; c[23*N+n] = b[18*N+n]; c[24*N+n] = a[26*N+n]*b[ 3*N+n] + a[27*N+n]*b[ 6*N+n] + b[10*N+n] + a[29*N+n]*b[15*N+n]; c[25*N+n] = a[26*N+n]*b[ 4*N+n] + a[27*N+n]*b[ 7*N+n] + b[11*N+n] + a[29*N+n]*b[16*N+n]; c[26*N+n] = a[26*N+n]*b[ 5*N+n] + a[27*N+n]*b[ 8*N+n] + b[12*N+n] + a[29*N+n]*b[17*N+n]; c[27*N+n] = a[26*N+n]*b[ 8*N+n] + a[27*N+n]*b[ 9*N+n] + b[13*N+n] + a[29*N+n]*b[18*N+n]; c[28*N+n] = a[26*N+n]*b[12*N+n] + a[27*N+n]*b[13*N+n] + b[14*N+n] + a[29*N+n]*b[19*N+n]; c[29*N+n] = a[26*N+n]*b[17*N+n] + a[27*N+n]*b[18*N+n] + b[19*N+n] + a[29*N+n]*b[20*N+n]; c[30*N+n] = b[15*N+n]; c[31*N+n] = b[16*N+n]; c[32*N+n] = b[17*N+n]; c[33*N+n] = b[18*N+n]; c[34*N+n] = b[19*N+n]; c[35*N+n] = b[20*N+n]; } } template <size_t block_size = 1> void MultHelixPropTranspEndcap(const MP6x6F* A, const MP6x6F* B, MP6x6SF* C, const size_t offset = 0) { const auto &a = A->data; //ASSUME_ALIGNED(a, 64); const auto &b = B->data; //ASSUME_ALIGNED(b, 64); auto &c = C->data; //ASSUME_ALIGNED(c, 64); #pragma simd for (int n = offset; n < N; n += block_size) { c[ 0*N+n] = b[ 0*N+n] + b[ 2*N+n]*a[ 2*N+n] + b[ 3*N+n]*a[ 3*N+n] + b[ 4*N+n]*a[ 4*N+n] + b[ 5*N+n]*a[ 5*N+n]; c[ 1*N+n] = b[ 6*N+n] + b[ 8*N+n]*a[ 2*N+n] + b[ 9*N+n]*a[ 3*N+n] + b[10*N+n]*a[ 4*N+n] + b[11*N+n]*a[ 5*N+n]; c[ 2*N+n] = b[ 7*N+n] + b[ 8*N+n]*a[ 8*N+n] + b[ 9*N+n]*a[ 9*N+n] + b[10*N+n]*a[10*N+n] + b[11*N+n]*a[11*N+n]; c[ 3*N+n] = b[12*N+n] + b[14*N+n]*a[ 2*N+n] + b[15*N+n]*a[ 3*N+n] + b[16*N+n]*a[ 4*N+n] + b[17*N+n]*a[ 5*N+n]; c[ 4*N+n] = b[13*N+n] + b[14*N+n]*a[ 8*N+n] + b[15*N+n]*a[ 9*N+n] + b[16*N+n]*a[10*N+n] + b[17*N+n]*a[11*N+n]; c[ 5*N+n] = 0; c[ 6*N+n] = b[18*N+n] + b[20*N+n]*a[ 2*N+n] + b[21*N+n]*a[ 3*N+n] + b[22*N+n]*a[ 4*N+n] + b[23*N+n]*a[ 5*N+n]; c[ 7*N+n] = b[19*N+n] + b[20*N+n]*a[ 8*N+n] + b[21*N+n]*a[ 9*N+n] + b[22*N+n]*a[10*N+n] + b[23*N+n]*a[11*N+n]; c[ 8*N+n] = 0; c[ 9*N+n] = b[21*N+n]; c[10*N+n] = b[24*N+n] + b[26*N+n]*a[ 2*N+n] + b[27*N+n]*a[ 3*N+n] + b[28*N+n]*a[ 4*N+n] + b[29*N+n]*a[ 5*N+n]; c[11*N+n] = b[25*N+n] + b[26*N+n]*a[ 8*N+n] + b[27*N+n]*a[ 9*N+n] + b[28*N+n]*a[10*N+n] + b[29*N+n]*a[11*N+n]; c[12*N+n] = 0; c[13*N+n] = b[27*N+n]; c[14*N+n] = b[26*N+n]*a[26*N+n] + b[27*N+n]*a[27*N+n] + b[28*N+n] + b[29*N+n]*a[29*N+n]; c[15*N+n] = b[30*N+n] + b[32*N+n]*a[ 2*N+n] + b[33*N+n]*a[ 3*N+n] + b[34*N+n]*a[ 4*N+n] + b[35*N+n]*a[ 5*N+n]; c[16*N+n] = b[31*N+n] + b[32*N+n]*a[ 8*N+n] + b[33*N+n]*a[ 9*N+n] + b[34*N+n]*a[10*N+n] + b[35*N+n]*a[11*N+n]; c[17*N+n] = 0; c[18*N+n] = b[33*N+n]; c[19*N+n] = b[32*N+n]*a[26*N+n] + b[33*N+n]*a[27*N+n] + b[34*N+n] + b[35*N+n]*a[29*N+n]; c[20*N+n] = b[35*N+n]; } } template <size_t block_size = 1> void KalmanGainInv(const MP6x6SF* A, const MP3x3SF* B, MP3x3* C, const size_t offset = 0) { const auto &a = A->data; //ASSUME_ALIGNED(a, 64); const auto &b = B->data; //ASSUME_ALIGNED(b, 64); auto &c = C->data; //ASSUME_ALIGNED(c, 64); #pragma simd for (int n = offset; n < N; n += block_size) { double det = ((a[0*N+n]+b[0*N+n])*(((a[ 6*N+n]+b[ 3*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[7*N+n]+b[4*N+n]) *(a[7*N+n]+b[4*N+n])))) - ((a[1*N+n]+b[1*N+n])*(((a[ 1*N+n]+b[ 1*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[7*N+n]+b[4*N+n]) *(a[2*N+n]+b[2*N+n])))) + ((a[2*N+n]+b[2*N+n])*(((a[ 1*N+n]+b[ 1*N+n]) *(a[7*N+n]+b[4*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[6*N+n]+b[3*N+n])))); double invdet = 1.0/det; c[ 0*N+n] = invdet*(((a[ 6*N+n]+b[ 3*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[7*N+n]+b[4*N+n]) *(a[7*N+n]+b[4*N+n]))); c[ 1*N+n] = -1*invdet*(((a[ 1*N+n]+b[ 1*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[7*N+n]+b[4*N+n]))); c[ 2*N+n] = invdet*(((a[ 1*N+n]+b[ 1*N+n]) *(a[7*N+n]+b[4*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[7*N+n]+b[4*N+n]))); c[ 3*N+n] = -1*invdet*(((a[ 1*N+n]+b[ 1*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[7*N+n]+b[4*N+n]) *(a[2*N+n]+b[2*N+n]))); c[ 4*N+n] = invdet*(((a[ 0*N+n]+b[ 0*N+n]) *(a[11*N+n]+b[5*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[2*N+n]+b[2*N+n]))); c[ 5*N+n] = -1*invdet*(((a[ 0*N+n]+b[ 0*N+n]) *(a[7*N+n]+b[4*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[1*N+n]+b[1*N+n]))); c[ 6*N+n] = invdet*(((a[ 1*N+n]+b[ 1*N+n]) *(a[7*N+n]+b[4*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[6*N+n]+b[3*N+n]))); c[ 7*N+n] = -1*invdet*(((a[ 0*N+n]+b[ 0*N+n]) *(a[7*N+n]+b[4*N+n])) - ((a[2*N+n]+b[2*N+n]) *(a[1*N+n]+b[1*N+n]))); c[ 8*N+n] = invdet*(((a[ 0*N+n]+b[ 0*N+n]) *(a[6*N+n]+b[3*N+n])) - ((a[1*N+n]+b[1*N+n]) *(a[1*N+n]+b[1*N+n]))); } } template <size_t block_size = 1> void KalmanGain(const MP6x6SF* A, const MP3x3* B, MP3x6* C, const size_t offset = 0) { const auto &a = A->data; //ASSUME_ALIGNED(a, 64); const auto &b = B->data; //ASSUME_ALIGNED(b, 64); auto &c = C->data; //ASSUME_ALIGNED(c, 64); #pragma simd for (int n = offset; n < N; n += block_size) { c[ 0*N+n] = a[0*N+n]*b[0*N+n] + a[1*N+n]*b[3*N+n] + a[2*N+n]*b[6*N+n]; c[ 1*N+n] = a[0*N+n]*b[1*N+n] + a[1*N+n]*b[4*N+n] + a[2*N+n]*b[7*N+n]; c[ 2*N+n] = a[0*N+n]*b[2*N+n] + a[1*N+n]*b[5*N+n] + a[2*N+n]*b[8*N+n]; c[ 3*N+n] = a[1*N+n]*b[0*N+n] + a[6*N+n]*b[3*N+n] + a[7*N+n]*b[6*N+n]; c[ 4*N+n] = a[1*N+n]*b[1*N+n] + a[6*N+n]*b[4*N+n] + a[7*N+n]*b[7*N+n]; c[ 5*N+n] = a[1*N+n]*b[2*N+n] + a[6*N+n]*b[5*N+n] + a[7*N+n]*b[8*N+n]; c[ 6*N+n] = a[2*N+n]*b[0*N+n] + a[7*N+n]*b[3*N+n] + a[11*N+n]*b[6*N+n]; c[ 7*N+n] = a[2*N+n]*b[1*N+n] + a[7*N+n]*b[4*N+n] + a[11*N+n]*b[7*N+n]; c[ 8*N+n] = a[2*N+n]*b[2*N+n] + a[7*N+n]*b[5*N+n] + a[11*N+n]*b[8*N+n]; c[ 9*N+n] = a[3*N+n]*b[0*N+n] + a[8*N+n]*b[3*N+n] + a[12*N+n]*b[6*N+n]; c[ 10*N+n] = a[3*N+n]*b[1*N+n] + a[8*N+n]*b[4*N+n] + a[12*N+n]*b[7*N+n]; c[ 11*N+n] = a[3*N+n]*b[2*N+n] + a[8*N+n]*b[5*N+n] + a[12*N+n]*b[8*N+n]; c[ 12*N+n] = a[4*N+n]*b[0*N+n] + a[9*N+n]*b[3*N+n] + a[13*N+n]*b[6*N+n]; c[ 13*N+n] = a[4*N+n]*b[1*N+n] + a[9*N+n]*b[4*N+n] + a[13*N+n]*b[7*N+n]; c[ 14*N+n] = a[4*N+n]*b[2*N+n] + a[9*N+n]*b[5*N+n] + a[13*N+n]*b[8*N+n]; c[ 15*N+n] = a[5*N+n]*b[0*N+n] + a[10*N+n]*b[3*N+n] + a[14*N+n]*b[6*N+n]; c[ 16*N+n] = a[5*N+n]*b[1*N+n] + a[10*N+n]*b[4*N+n] + a[14*N+n]*b[7*N+n]; c[ 17*N+n] = a[5*N+n]*b[2*N+n] + a[10*N+n]*b[5*N+n] + a[14*N+n]*b[8*N+n]; } } template <typename Tp, size_t block_size = 1> void KalmanUpdate2(Tp *trkErr, MP3x3* inverse_temp, MP3x6* kGain, MP6x6SF* newErr){ auto &a = trkErr; auto &b = inverse_temp->data; auto &c = kGain->data; c[0] = a[0]*b[0]; } template <size_t block_size = 1> void KalmanUpdate3(MPTRKAccessor &acc, const size_t id, MP3x3* inverse_temp, MP3x6* kGain, MP6x6SF* newErr){ auto &a = acc.cov[id]; auto &b = inverse_temp->data; auto &c = kGain->data; c[0] = a[0]*b[0]; } template <size_t block_size = 1> void KalmanUpdate(MP6x6SF* trkErr, MP6F* inPar, const MP3x3SF* hitErr, const MP3F* msP, MP3x3* inverse_temp, MP3x6* kGain, MP6x6SF* newErr, const size_t offset = 0){ //KalmanGainInv<block_size>(trkErr,hitErr,inverse_temp, offset); //KalmanGain<block_size>(trkErr,inverse_temp,kGain, offset); //TESTTT //auto &a = trkErr->data; auto &a = newErr->data; auto &b = inverse_temp->data; auto &c = kGain->data; c[0] = a[0]*b[0]; #if 0 #pragma simd for (size_t it=offset;it<bsize; it += block_size) { const float xin = x(inPar,it); const float yin = y(inPar,it); const float zin = z(inPar,it); const float ptin = 1./ipt(inPar,it); const float phiin = phi(inPar,it); const float thetain = theta(inPar,it); const float xout = x(msP,it); const float yout = y(msP,it); const float zout = z(msP,it); float xnew = xin + (kGain->data[0*bsize+it]*(xout-xin)) +(kGain->data[1*bsize+it]*(yout-yin)); float ynew = yin + (kGain->data[3*bsize+it]*(xout-xin)) +(kGain->data[4*bsize+it]*(yout-yin)); float znew = zin + (kGain->data[6*bsize+it]*(xout-xin)) +(kGain->data[7*bsize+it]*(yout-yin)); float ptnew = ptin + (kGain->data[9*bsize+it]*(xout-xin)) +(kGain->data[10*bsize+it]*(yout-yin)); float phinew = phiin + (kGain->data[12*bsize+it]*(xout-xin)) +(kGain->data[13*bsize+it]*(yout-yin)); float thetanew = thetain + (kGain->data[15*bsize+it]*(xout-xin)) +(kGain->data[16*bsize+it]*(yout-yin)); newErr->data[0*bsize+it] = trkErr->data[0*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[0*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[1*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[2*bsize+it]); newErr->data[1*bsize+it] = trkErr->data[1*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[1*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[6*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[7*bsize+it]); newErr->data[2*bsize+it] = trkErr->data[2*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[2*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[7*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[11*bsize+it]); newErr->data[3*bsize+it] = trkErr->data[3*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[3*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[8*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[12*bsize+it]); newErr->data[4*bsize+it] = trkErr->data[4*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[4*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[9*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[13*bsize+it]); newErr->data[5*bsize+it] = trkErr->data[5*bsize+it] - (kGain->data[0*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[1*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[2*bsize+it]*trkErr->data[14*bsize+it]); newErr->data[6*bsize+it] = trkErr->data[6*bsize+it] - (kGain->data[3*bsize+it]*trkErr->data[1*bsize+it]+kGain->data[4*bsize+it]*trkErr->data[6*bsize+it]+kGain->data[5*bsize+it]*trkErr->data[7*bsize+it]); newErr->data[7*bsize+it] = trkErr->data[7*bsize+it] - (kGain->data[3*bsize+it]*trkErr->data[2*bsize+it]+kGain->data[4*bsize+it]*trkErr->data[7*bsize+it]+kGain->data[5*bsize+it]*trkErr->data[11*bsize+it]); newErr->data[8*bsize+it] = trkErr->data[8*bsize+it] - (kGain->data[3*bsize+it]*trkErr->data[3*bsize+it]+kGain->data[4*bsize+it]*trkErr->data[8*bsize+it]+kGain->data[5*bsize+it]*trkErr->data[12*bsize+it]); newErr->data[9*bsize+it] = trkErr->data[9*bsize+it] - (kGain->data[3*bsize+it]*trkErr->data[4*bsize+it]+kGain->data[4*bsize+it]*trkErr->data[9*bsize+it]+kGain->data[5*bsize+it]*trkErr->data[13*bsize+it]); newErr->data[10*bsize+it] = trkErr->data[10*bsize+it] - (kGain->data[3*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[4*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[5*bsize+it]*trkErr->data[14*bsize+it]); newErr->data[11*bsize+it] = trkErr->data[11*bsize+it] - (kGain->data[6*bsize+it]*trkErr->data[2*bsize+it]+kGain->data[7*bsize+it]*trkErr->data[7*bsize+it]+kGain->data[8*bsize+it]*trkErr->data[11*bsize+it]); newErr->data[12*bsize+it] = trkErr->data[12*bsize+it] - (kGain->data[6*bsize+it]*trkErr->data[3*bsize+it]+kGain->data[7*bsize+it]*trkErr->data[8*bsize+it]+kGain->data[8*bsize+it]*trkErr->data[12*bsize+it]); newErr->data[13*bsize+it] = trkErr->data[13*bsize+it] - (kGain->data[6*bsize+it]*trkErr->data[4*bsize+it]+kGain->data[7*bsize+it]*trkErr->data[9*bsize+it]+kGain->data[8*bsize+it]*trkErr->data[13*bsize+it]); newErr->data[14*bsize+it] = trkErr->data[14*bsize+it] - (kGain->data[6*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[7*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[8*bsize+it]*trkErr->data[14*bsize+it]); newErr->data[15*bsize+it] = trkErr->data[15*bsize+it] - (kGain->data[9*bsize+it]*trkErr->data[3*bsize+it]+kGain->data[10*bsize+it]*trkErr->data[8*bsize+it]+kGain->data[11*bsize+it]*trkErr->data[12*bsize+it]); newErr->data[16*bsize+it] = trkErr->data[16*bsize+it] - (kGain->data[9*bsize+it]*trkErr->data[4*bsize+it]+kGain->data[10*bsize+it]*trkErr->data[9*bsize+it]+kGain->data[11*bsize+it]*trkErr->data[13*bsize+it]); newErr->data[17*bsize+it] = trkErr->data[17*bsize+it] - (kGain->data[9*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[10*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[11*bsize+it]*trkErr->data[14*bsize+it]); newErr->data[18*bsize+it] = trkErr->data[18*bsize+it] - (kGain->data[12*bsize+it]*trkErr->data[4*bsize+it]+kGain->data[13*bsize+it]*trkErr->data[9*bsize+it]+kGain->data[14*bsize+it]*trkErr->data[13*bsize+it]); newErr->data[19*bsize+it] = trkErr->data[19*bsize+it] - (kGain->data[12*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[13*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[14*bsize+it]*trkErr->data[14*bsize+it]); newErr->data[20*bsize+it] = trkErr->data[20*bsize+it] - (kGain->data[15*bsize+it]*trkErr->data[5*bsize+it]+kGain->data[16*bsize+it]*trkErr->data[10*bsize+it]+kGain->data[17*bsize+it]*trkErr->data[14*bsize+it]); setx(inPar,it,xnew ); sety(inPar,it,ynew ); setz(inPar,it,znew); setipt(inPar,it, ptnew); setphi(inPar,it, phinew); settheta(inPar,it, thetanew); } trkErr = newErr; #endif } const float kfact = 100/3.8; template <size_t block_size = 1> void propagateToZ(const MP6x6SF* inErr, const MP6F* inPar, const MP1I* inChg, const MP3F* msP, MP6x6SF* outErr, MP6F* outPar, MP6x6F* errorProp, MP6x6F* temp, const size_t offset = 0) { // for (size_t it=offset;it<bsize; it += block_size) { const float zout = z(msP,it); const float k = q(inChg,it)*kfact;//100/3.8; const float deltaZ = zout - z(inPar,it); const float pt = 1./ipt(inPar,it); const float cosP = cosf(phi(inPar,it)); const float sinP = sinf(phi(inPar,it)); const float cosT = cosf(theta(inPar,it)); const float sinT = sinf(theta(inPar,it)); const float pxin = cosP*pt; const float pyin = sinP*pt; const float icosT = 1.0/cosT; const float icosTk = icosT/k; const float alpha = deltaZ*sinT*ipt(inPar,it)*icosTk; //const float alpha = deltaZ*sinT*ipt(inPar,it)/(cosT*k); const float sina = sinf(alpha); // this can be approximated; const float cosa = cosf(alpha); // this can be approximated; setx(outPar,it, x(inPar,it) + k*(pxin*sina - pyin*(1.-cosa)) ); sety(outPar,it, y(inPar,it) + k*(pyin*sina + pxin*(1.-cosa)) ); setz(outPar,it,zout); setipt(outPar,it, ipt(inPar,it)); setphi(outPar,it, phi(inPar,it)+alpha ); settheta(outPar,it, theta(inPar,it) ); const float sCosPsina = sinf(cosP*sina); const float cCosPsina = cosf(cosP*sina); for (size_t i=0;i<6;++i) errorProp->data[bsize*PosInMtrx(i,i,6) + it] = 1.; errorProp->data[bsize*PosInMtrx(0,2,6) + it] = cosP*sinT*(sinP*cosa*sCosPsina-cosa)*icosT; errorProp->data[bsize*PosInMtrx(0,3,6) + it] = cosP*sinT*deltaZ*cosa*(1.-sinP*sCosPsina)*(icosT*pt)-k*(cosP*sina-sinP*(1.-cCosPsina))*(pt*pt); errorProp->data[bsize*PosInMtrx(0,4,6) + it] = (k*pt)*(-sinP*sina+sinP*sinP*sina*sCosPsina-cosP*(1.-cCosPsina)); errorProp->data[bsize*PosInMtrx(0,5,6) + it] = cosP*deltaZ*cosa*(1.-sinP*sCosPsina)*(icosT*icosT); errorProp->data[bsize*PosInMtrx(1,2,6) + it] = cosa*sinT*(cosP*cosP*sCosPsina-sinP)*icosT; errorProp->data[bsize*PosInMtrx(1,3,6) + it] = sinT*deltaZ*cosa*(cosP*cosP*sCosPsina+sinP)*(icosT*pt)-k*(sinP*sina+cosP*(1.-cCosPsina))*(pt*pt); errorProp->data[bsize*PosInMtrx(1,4,6) + it] = (k*pt)*(-sinP*(1.-cCosPsina)-sinP*cosP*sina*sCosPsina+cosP*sina); errorProp->data[bsize*PosInMtrx(1,5,6) + it] = deltaZ*cosa*(cosP*cosP*sCosPsina+sinP)*(icosT*icosT); errorProp->data[bsize*PosInMtrx(4,2,6) + it] = -ipt(inPar,it)*sinT*(icosTk); errorProp->data[bsize*PosInMtrx(4,3,6) + it] = sinT*deltaZ*(icosTk); errorProp->data[bsize*PosInMtrx(4,5,6) + it] = ipt(inPar,it)*deltaZ*(icosT*icosTk); // errorProp->data[bsize*PosInMtrx(0,2,6) + it] = cosP*sinT*(sinP*cosa*sCosPsina-cosa)/cosT; // errorProp->data[bsize*PosInMtrx(0,3,6) + it] = cosP*sinT*deltaZ*cosa*(1.-sinP*sCosPsina)/(cosT*ipt(inPar,it))-k*(cosP*sina-sinP*(1.-cCosPsina))/(ipt(inPar,it)*ipt(inPar,it)); // errorProp->data[bsize*PosInMtrx(0,4,6) + it] = (k/ipt(inPar,it))*(-sinP*sina+sinP*sinP*sina*sCosPsina-cosP*(1.-cCosPsina)); // errorProp->data[bsize*PosInMtrx(0,5,6) + it] = cosP*deltaZ*cosa*(1.-sinP*sCosPsina)/(cosT*cosT); // errorProp->data[bsize*PosInMtrx(1,2,6) + it] = cosa*sinT*(cosP*cosP*sCosPsina-sinP)/cosT; // errorProp->data[bsize*PosInMtrx(1,3,6) + it] = sinT*deltaZ*cosa*(cosP*cosP*sCosPsina+sinP)/(cosT*ipt(inPar,it))-k*(sinP*sina+cosP*(1.-cCosPsina))/(ipt(inPar,it)*ipt(inPar,it)); // errorProp->data[bsize*PosInMtrx(1,4,6) + it] = (k/ipt(inPar,it))*(-sinP*(1.-cCosPsina)-sinP*cosP*sina*sCosPsina+cosP*sina); // errorProp->data[bsize*PosInMtrx(1,5,6) + it] = deltaZ*cosa*(cosP*cosP*sCosPsina+sinP)/(cosT*cosT); // errorProp->data[bsize*PosInMtrx(4,2,6) + it] = -ipt(inPar,it)*sinT/(cosT*k); // errorProp->data[bsize*PosInMtrx(4,3,6) + it] = sinT*deltaZ/(cosT*k); // errorProp->data[bsize*PosInMtrx(4,5,6) + it] = ipt(inPar,it)*deltaZ/(cosT*cosT*k); } // MultHelixPropEndcap<block_size>(errorProp, inErr, temp, offset); MultHelixPropTranspEndcap<block_size>(errorProp, temp, outErr, offset); } template <size_t block_size = 1> void propagateToZ_mod(const MPTRKAccessor &obtracks, const MP3FAccessor &msP, const size_t lid, const size_t llid, const size_t offset = 0) { const MP6x6SFAccessor &inErrAcc = obtracks.cov; const MP6FAccessor &inParAcc = obtracks.par; const auto inPar = obtracks.cov[lid]; const auto inChg = obtracks.q[lid]; for (size_t it=offset;it<bsize; it += block_size) { const float zout = msP.Get<iparZ>(it, lid); const float k = inChg[it]*kfact;//100/3.8; const float deltaZ = zout - MP6FAccessor::Get<iparZ>(inPar, it); const float pt = 1./inParAcc.Get<iparIpt>(it, lid); const float cosP = cosf(inParAcc.Get<iparPhi>(it, lid)); const float sinP = sinf(inParAcc.Get<iparPhi>(it, lid)); const float cosT = cosf(inParAcc.Get<iparTheta>(it, lid)); const float sinT = sinf(inParAcc.Get<iparTheta>(it, lid)); } } void foo(MPTRKAccessor &in, const size_t local_id){ auto obtracks_par = in.par[local_id];//? const auto obtracks_cov = in.cov[local_id];//? const auto obtracks_q = in.q[local_id];//? obtracks_par[0] = obtracks_par[2]; return; } int main (int argc, char* argv[]) { int itr; struct ATRK inputtrk = { {-12.806846618652344, -7.723824977874756, 38.13014221191406,0.23732035065189902, -2.613372802734375, 0.35594117641448975}, {6.290299552347278e-07,4.1375109560704004e-08,7.526661534029699e-07,2.0973730840978533e-07,1.5431574240665213e-07,9.626245400795597e-08,-2.804026640189443e-06, 6.219111130687595e-06,2.649119409845118e-07,0.00253512163402557,-2.419662877381737e-07,4.3124190760040646e-07,3.1068903991780678e-09,0.000923913115050627, 0.00040678296006807003,-7.755406890332818e-07,1.68539375883925e-06,6.676875566525437e-08,0.0008420574605423793,7.356584799406111e-05,0.0002306247719158348}, 1 }; struct AHIT inputhit = { {-20.7824649810791, -12.24150276184082, 57.8067626953125}, {2.545517190810642e-06,-2.6680759219743777e-06,2.8030024168401724e-06,0.00014160551654640585,0.00012282167153898627,11.385087966918945} }; printf("track in pos: %f, %f, %f \n", inputtrk.par[0], inputtrk.par[1], inputtrk.par[2]); printf("track in cov: %.2e, %.2e, %.2e \n", inputtrk.cov[SymOffsets66[PosInMtrx(0,0,6)]], inputtrk.cov[SymOffsets66[PosInMtrx(1,1,6)]], inputtrk.cov[SymOffsets66[PosInMtrx(2,2,6)]]); printf("hit in pos: %f %f %f \n", inputhit.pos[0], inputhit.pos[1], inputhit.pos[2]); printf("produce nevts=%i ntrks=%i smearing by=%f \n", nevts, ntrks, smear); printf("NITER=%d\n", NITER); long setup_start, setup_stop; struct timeval timecheck; gettimeofday(&timecheck, NULL); setup_start = (long)timecheck.tv_sec * 1000 + (long)timecheck.tv_usec / 1000; #ifndef __NVCOMPILER_CUDA__ MPTRK* trk = prepareTracks(inputtrk); MPHIT* hit = prepareHits(inputhit); MPTRK* outtrk = (MPTRK*) malloc(nevts*nb*sizeof(MPTRK)); #else MPTRK* trk = prepareTracks(inputtrk); MPHIT* hit = prepareHits(inputhit); MPTRK* outtrk = (MPTRK*) malloc(nevts*nb*sizeof(MPTRK)); auto trkNPtr = prepareTracksN(inputtrk); MPTRK &trkN = *trkNPtr; std::unique_ptr<MPTRKAccessor> trkNaccPtr(new MPTRKAccessor(trkN)); MPTRKAccessor &trkNacc = *trkNaccPtr; auto hitNPtr = prepareHitsN(inputhit); MPHIT &hitN = *hitNPtr; std::unique_ptr<MPHITAccessor> hitNaccPtr(new MPHITAccessor(hitN)); MPHITAccessor &hitNacc = *hitNaccPtr; std::unique_ptr<MPTRK> outtrkNPtr(new MPTRK(nevts*nb)); MPTRK &outtrkN = *outtrkNPtr; std::unique_ptr<MPTRKAccessor> outtrkNaccPtr(new MPTRKAccessor(outtrkN)); MPTRKAccessor &outtrkNacc = *outtrkNaccPtr; #endif gettimeofday(&timecheck, NULL); setup_stop = (long)timecheck.tv_sec * 1000 + (long)timecheck.tv_usec / 1000; printf("done preparing!\n"); printf("Size of struct MPTRK trk[] = %ld\n", nevts*nb*sizeof(MPTRK)); printf("Size of struct MPTRK outtrk[] = %ld\n", nevts*nb*sizeof(MPTRK)); printf("Size of struct struct MPHIT hit[] = %ld\n", nevts*nb*sizeof(MPHIT)); auto wall_start = std::chrono::high_resolution_clock::now(); constexpr size_t blk_sz = 1; auto policy = std::execution::par_unseq; for(itr=0; itr<NITER; itr++) { const int outer_loop_range = nevts*nb*blk_sz; const int nbxblk_sz = nb*blk_sz; std::unique_ptr<MP6x6F> errPropPtr(new MP6x6F()); std::unique_ptr<MP6x6F> tempPtr(new MP6x6F()); std::unique_ptr<MP3x3> inverse_tempPtr(new MP3x3()); std::unique_ptr<MP3x6> kGainPtr(new MP3x6()); std::unique_ptr<MP6x6SF> newErrPtr(new MP6x6SF()); MP6x6F &errorProp = *errPropPtr; MP6x6F &temp = *tempPtr; MP3x3 &inverse_temp = *inverse_tempPtr; MP3x6 &kGain = *kGainPtr; MP6x6SF &newErr = *newErrPtr; std::for_each(policy, counting_iterator(0), counting_iterator(outer_loop_range), [&, &outtrkNpar = outtrkNacc.par] (auto ii) { const size_t ie = ii / nbxblk_sz; const size_t ibt= ii - ie*nbxblk_sz; const size_t ib = ibt / blk_sz; const size_t inner_loop_offset = ibt - ib*blk_sz; //const MPTRK* btracks = bTk(trk, ie, ib); //MPTRK* obtracks = bTk(outtrk, ie, ib); #ifdef __NVCOMPILER_CUDA__ const size_t local_id = ib + nb*ie; const auto &btracks_par = trkNacc.par[ib + nb*ie]; const auto &btracks_cov = trkNacc.cov[ib + nb*ie]; const auto &btracks_q = trkNacc.q[ib + nb*ie]; const auto &obtracks_par = outtrkNacc.par[local_id];//? const auto &obtracks_cov = outtrkNacc.cov[local_id];//? const auto &obtracks_q = outtrkNacc.q[local_id];//? #endif for(size_t layer=0; layer<nlayer; ++layer) { //const MPHIT* bhits = bHit(hit, ie, ib, layer); #ifdef __NVCOMPILER_CUDA__ const size_t llid = layer+local_id*nlayer; auto bhits_pos = hitNacc.pos[llid];//? auto bhits_cov = hitNacc.cov[llid];//? #endif // #ifndef __NVCOMPILER_CUDA__ //propagateToZ<blk_sz>(&(*btracks).cov, &(*btracks).par, &(*btracks).q, &(*bhits).pos, &(*obtracks).cov, &(*obtracks).par, //&errorProp, &temp, inner_loop_offset); // vectorized function //KalmanUpdate<blk_sz>(&(*obtracks).cov,&(*obtracks).par,&(*bhits).cov,&(*bhits).pos, &inverse_temp, &kGain, &newErr, inner_loop_offset); #else //foo(outtrkNacc, local_id); propagateToZ_mod(outtrkNacc, hitNacc.pos, local_id, llid, inner_loop_offset); //propagateToZ_mod<blk_sz>(btracks_cov, btracks_par, btracks_q, bhits_pos, obtracks_cov, obtracks_par, &errorProp, &temp, inner_loop_offset); // vectorized function //KalmanUpdate_mod<blk_sz>(obtracks_cov, obtracks_par, bhits_cov, bhits_pos, &inverse_temp, &kGain, &newErr, inner_loop_offset); #endif } }); } //end of itr loop auto wall_stop = std::chrono::high_resolution_clock::now(); auto wall_diff = wall_stop - wall_start; auto wall_time = static_cast<double>(std::chrono::duration_cast<std::chrono::microseconds>(wall_diff).count()) / 1e6; printf("setup time time=%f (s)\n", (setup_stop-setup_start)*0.001); printf("done ntracks=%i tot time=%f (s) time/trk=%e (s)\n", nevts*ntrks*int(NITER), wall_time, wall_time/(nevts*ntrks*int(NITER))); printf("formatted %i %i %i %i %i %f 0 %f %i\n",int(NITER),nevts, ntrks, bsize, nb, wall_time, (setup_stop-setup_start)*0.001, -1); exit(-1); float avgx = 0, avgy = 0, avgz = 0; float avgpt = 0, avgphi = 0, avgtheta = 0; float avgdx = 0, avgdy = 0, avgdz = 0; for (size_t ie=0;ie<nevts;++ie) { for (size_t it=0;it<ntrks;++it) { float x_ = x(outtrk,ie,it); float y_ = y(outtrk,ie,it); float z_ = z(outtrk,ie,it); float pt_ = 1./ipt(outtrk,ie,it); float phi_ = phi(outtrk,ie,it); float theta_ = theta(outtrk,ie,it); avgpt += pt_; avgphi += phi_; avgtheta += theta_; avgx += x_; avgy += y_; avgz += z_; float hx_ = x(hit,ie,it); float hy_ = y(hit,ie,it); float hz_ = z(hit,ie,it); avgdx += (x_-hx_)/x_; avgdy += (y_-hy_)/y_; avgdz += (z_-hz_)/z_; } } avgpt = avgpt/float(nevts*ntrks); avgphi = avgphi/float(nevts*ntrks); avgtheta = avgtheta/float(nevts*ntrks); avgx = avgx/float(nevts*ntrks); avgy = avgy/float(nevts*ntrks); avgz = avgz/float(nevts*ntrks); avgdx = avgdx/float(nevts*ntrks); avgdy = avgdy/float(nevts*ntrks); avgdz = avgdz/float(nevts*ntrks); float stdx = 0, stdy = 0, stdz = 0; float stddx = 0, stddy = 0, stddz = 0; for (size_t ie=0;ie<nevts;++ie) { for (size_t it=0;it<ntrks;++it) { float x_ = x(outtrk,ie,it); float y_ = y(outtrk,ie,it); float z_ = z(outtrk,ie,it); stdx += (x_-avgx)*(x_-avgx); stdy += (y_-avgy)*(y_-avgy); stdz += (z_-avgz)*(z_-avgz); float hx_ = x(hit,ie,it); float hy_ = y(hit,ie,it); float hz_ = z(hit,ie,it); stddx += ((x_-hx_)/x_-avgdx)*((x_-hx_)/x_-avgdx); stddy += ((y_-hy_)/y_-avgdy)*((y_-hy_)/y_-avgdy); stddz += ((z_-hz_)/z_-avgdz)*((z_-hz_)/z_-avgdz); } } stdx = sqrtf(stdx/float(nevts*ntrks)); stdy = sqrtf(stdy/float(nevts*ntrks)); stdz = sqrtf(stdz/float(nevts*ntrks)); stddx = sqrtf(stddx/float(nevts*ntrks)); stddy = sqrtf(stddy/float(nevts*ntrks)); stddz = sqrtf(stddz/float(nevts*ntrks)); printf("track x avg=%f std/avg=%f\n", avgx, fabs(stdx/avgx)); printf("track y avg=%f std/avg=%f\n", avgy, fabs(stdy/avgy)); printf("track z avg=%f std/avg=%f\n", avgz, fabs(stdz/avgz)); printf("track dx/x avg=%f std=%f\n", avgdx, stddx); printf("track dy/y avg=%f std=%f\n", avgdy, stddy); printf("track dz/z avg=%f std=%f\n", avgdz, stddz); printf("track pt avg=%f\n", avgpt); printf("track phi avg=%f\n", avgphi); printf("track theta avg=%f\n", avgtheta); #ifndef __NVCOMPILER_CUDA__ free(trk); free(hit); free(outtrk); #else delete [] trk; delete [] hit; delete [] outtrk; #endif return 0; }
[ "astrel@fnal.gov" ]
astrel@fnal.gov
633710d7173003711f208f83378548ea14cd370b
cc7643ff887a76a5cacd344993f5812281db8b2d
/src/WebCoreDerived/JSSVGFEFuncGElement.h
d9c82a56563b52ccb4bb1503ab31d1dcf1e1c011
[ "BSD-3-Clause" ]
permissive
ahixon/webkit.js
e1497345aee2ec81c9895bebf8d705e112c42005
7ed1480d73de11cb25f02e89f11ecf71dfa6e0c2
refs/heads/master
2020-06-18T13:13:54.933869
2016-12-01T10:06:08
2016-12-01T10:06:08
75,136,170
2
0
null
2016-11-30T00:51:10
2016-11-30T00:51:09
null
UTF-8
C++
false
false
5,098
h
/* This file is part of the WebKit open source project. This file has been generated by generate-bindings.pl. DO NOT MODIFY! This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef JSSVGFEFuncGElement_h #define JSSVGFEFuncGElement_h #if ENABLE(FILTERS) && ENABLE(SVG) #include "JSDOMBinding.h" #include "JSSVGComponentTransferFunctionElement.h" #include "SVGElement.h" #include "SVGFEFuncGElement.h" #include <runtime/JSObject.h> namespace WebCore { class JSSVGFEFuncGElement : public JSSVGComponentTransferFunctionElement { public: typedef JSSVGComponentTransferFunctionElement Base; static JSSVGFEFuncGElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGFEFuncGElement> impl) { JSSVGFEFuncGElement* ptr = new (NotNull, JSC::allocateCell<JSSVGFEFuncGElement>(globalObject->vm().heap)) JSSVGFEFuncGElement(structure, globalObject, impl); ptr->finishCreation(globalObject->vm()); return ptr; } static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*); static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&); DECLARE_INFO; static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype) { return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); } static JSC::JSValue getConstructor(JSC::VM&, JSC::JSGlobalObject*); SVGFEFuncGElement& impl() const { return static_cast<SVGFEFuncGElement&>(Base::impl()); } protected: JSSVGFEFuncGElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGFEFuncGElement>); void finishCreation(JSC::VM&); static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | Base::StructureFlags; }; class JSSVGFEFuncGElementPrototype : public JSC::JSNonFinalObject { public: typedef JSC::JSNonFinalObject Base; static JSC::JSObject* self(JSC::VM&, JSC::JSGlobalObject*); static JSSVGFEFuncGElementPrototype* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure) { JSSVGFEFuncGElementPrototype* ptr = new (NotNull, JSC::allocateCell<JSSVGFEFuncGElementPrototype>(vm.heap)) JSSVGFEFuncGElementPrototype(vm, globalObject, structure); ptr->finishCreation(vm); return ptr; } DECLARE_INFO; static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype) { return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); } private: JSSVGFEFuncGElementPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(vm, structure) { } protected: static const unsigned StructureFlags = Base::StructureFlags; }; class JSSVGFEFuncGElementConstructor : public DOMConstructorObject { private: JSSVGFEFuncGElementConstructor(JSC::Structure*, JSDOMGlobalObject*); void finishCreation(JSC::VM&, JSDOMGlobalObject*); public: typedef DOMConstructorObject Base; static JSSVGFEFuncGElementConstructor* create(JSC::VM& vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject) { JSSVGFEFuncGElementConstructor* ptr = new (NotNull, JSC::allocateCell<JSSVGFEFuncGElementConstructor>(vm.heap)) JSSVGFEFuncGElementConstructor(structure, globalObject); ptr->finishCreation(vm, globalObject); return ptr; } static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&); DECLARE_INFO; static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype) { return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); } protected: static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags; }; // Attributes JSC::EncodedJSValue jsSVGFEFuncGElementConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue, JSC::PropertyName); } // namespace WebCore #endif // ENABLE(FILTERS) && ENABLE(SVG) #endif
[ "trevor.linton@gmail.com" ]
trevor.linton@gmail.com
3e3372857538b07cf969d9a885f3438615986e4f
3438e8c139a5833836a91140af412311aebf9e86
/third_party/WebKit/Source/core/fetch/ScriptResource.cpp
47fbbf9062239523b28255f0ef19787b144b4add
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0" ]
permissive
Exstream-OpenSource/Chromium
345b4336b2fbc1d5609ac5a67dbf361812b84f54
718ca933938a85c6d5548c5fad97ea7ca1128751
refs/heads/master
2022-12-21T20:07:40.786370
2016-10-18T04:53:43
2016-10-18T04:53:43
71,210,435
0
2
BSD-3-Clause
2022-12-18T12:14:22
2016-10-18T04:58:13
null
UTF-8
C++
false
false
4,563
cpp
/* Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) Copyright (C) 2001 Dirk Mueller (mueller@kde.org) Copyright (C) 2002 Waldo Bastian (bastian@kde.org) Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. This class provides all functionality needed for loading images, style sheets and html pages from the web. It has a memory cache for these objects. */ #include "core/fetch/ScriptResource.h" #include "core/fetch/FetchRequest.h" #include "core/fetch/IntegrityMetadata.h" #include "core/fetch/ResourceClientWalker.h" #include "core/fetch/ResourceFetcher.h" #include "platform/MIMETypeRegistry.h" #include "platform/SharedBuffer.h" #include "platform/tracing/web_memory_allocator_dump.h" #include "platform/tracing/web_process_memory_dump.h" namespace blink { ScriptResource* ScriptResource::fetch(FetchRequest& request, ResourceFetcher* fetcher) { DCHECK_EQ(request.resourceRequest().frameType(), WebURLRequest::FrameTypeNone); request.mutableResourceRequest().setRequestContext( WebURLRequest::RequestContextScript); ScriptResource* resource = toScriptResource( fetcher->requestResource(request, ScriptResourceFactory())); if (resource && !request.integrityMetadata().isEmpty()) resource->setIntegrityMetadata(request.integrityMetadata()); return resource; } ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const ResourceLoaderOptions& options, const String& charset) : TextResource(resourceRequest, Script, options, "application/javascript", charset) {} ScriptResource::~ScriptResource() {} void ScriptResource::didAddClient(ResourceClient* client) { DCHECK(ScriptResourceClient::isExpectedType(client)); Resource::didAddClient(client); } void ScriptResource::appendData(const char* data, size_t length) { Resource::appendData(data, length); ResourceClientWalker<ScriptResourceClient> walker(clients()); while (ScriptResourceClient* client = walker.next()) client->notifyAppendData(this); } void ScriptResource::onMemoryDump(WebMemoryDumpLevelOfDetail levelOfDetail, WebProcessMemoryDump* memoryDump) const { Resource::onMemoryDump(levelOfDetail, memoryDump); const String name = getMemoryDumpName() + "/decoded_script"; auto dump = memoryDump->createMemoryAllocatorDump(name); dump->addScalar("size", "bytes", m_script.charactersSizeInBytes()); memoryDump->addSuballocation( dump->guid(), String(WTF::Partitions::kAllocatedObjectPoolName)); } const String& ScriptResource::script() { DCHECK(isLoaded()); if (m_script.isNull() && data()) { String script = decodedText(); clearData(); // We lie a bit here and claim that script counts as encoded data (even // though it's really decoded data). That's because the MemoryCache thinks // that it can clear out decoded data by calling destroyDecodedData(), but // we can't destroy script in destroyDecodedData because that's our only // copy of the data! setEncodedSize(script.charactersSizeInBytes()); m_script = AtomicString(script); } return m_script; } void ScriptResource::destroyDecodedDataForFailedRevalidation() { m_script = AtomicString(); } bool ScriptResource::mimeTypeAllowedByNosniff() const { return parseContentTypeOptionsHeader(response().httpHeaderField( HTTPNames::X_Content_Type_Options)) != ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(httpContentType()); } } // namespace blink
[ "support@opentext.com" ]
support@opentext.com
151f16211c939239f5417767c5fd9ede24ef1a8c
d15ddeb4627ea1e36cc669cb6c0d095d4ae25ea9
/Opdracht 4/TragischeBibliotheek/TragischeBibliotheek/Main.cpp
d84346191e6e5ec91821b5b62fab07004c7a2828
[]
no_license
Baardus/IOOP
74b4476107335c3ca2a6eaec1a06763c206a1771
40a52f3306d6d0caa996e45bb216ae93ca680c21
refs/heads/master
2021-07-19T22:05:12.632043
2017-10-28T17:26:26
2017-10-28T17:26:26
103,414,838
0
0
null
null
null
null
UTF-8
C++
false
false
265
cpp
#include "Bibliotheek.h" #include <iostream> int main() { Bibliotheek bibliotheek; bibliotheek.voegToe("De dev met geen ogen en handen"); Boek* boek = bibliotheek.uitlenen(); std::cout << boek->titel << std::endl; delete boek; std::cin.get(); return 0; }
[ "kian.kreikamp@hotmail.com" ]
kian.kreikamp@hotmail.com
3a6508d2616b28df50de127e41a1083c1066fd4b
e82886cca1de2c6db060be89b294ee50cc90f4a5
/TemplateMatching.cpp
08ea2d9270610e8c24635102bbffdd7f943a8e2d
[]
no_license
taherahmadi/IMAV_CrossRecognition
f42518d2c5a0f39989e79769cc265dd7f3dc66eb
fd23a1d2b2655e2f6a31ced068740b995f8b4fdd
refs/heads/master
2021-01-10T02:49:59.574839
2015-10-11T14:29:19
2015-10-11T14:29:19
51,447,122
1
3
null
null
null
null
UTF-8
C++
false
false
1,758
cpp
// // Created by taher on 10/11/15. // #include "TemplateMatching.h" TemplateMatching::TemplateMatching(char * image, char * templateImage, int method ) { /// Load image and template img = imread( image, 1 ); templ = imread( templateImage, 1 ); /** Avilable Methodes : 0: SQDIFF 1: SQDIFF NORMED 2: TM CCORR 3: TM CCORR NORMED 4: TM COEFF 5: TM COEFF NORMED **/ /// Set Matching Methode match_method = method ; } /** * @function MatchingMethod * @brief Trackbar callback */ Point TemplateMatching::MatchingMethod(int, void *) { /// Source image to display Mat img_display; img.copyTo( img_display ); /// Create the result matrix int result_cols = img.cols - templ.cols + 1; int result_rows = img.rows - templ.rows + 1; result.create( result_rows, result_cols, CV_32FC1 ); /// Do the Matching and Normalize matchTemplate( img, templ, result, match_method ); normalize( result, result, 0, 1, NORM_MINMAX, -1, Mat() ); /// Localizing the best match with minMaxLoc double minVal; double maxVal; Point minLoc; Point maxLoc; Point matchLoc; minMaxLoc( result, &minVal, &maxVal, &minLoc, &maxLoc, Mat() ); /// For SQDIFF and SQDIFF_NORMED, the best matches are lower values. For all the other methods, the higher the better if( match_method == TM_SQDIFF || match_method == TM_SQDIFF_NORMED ) { matchLoc = minLoc; } else { matchLoc = maxLoc; } /// Show me what you got // rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 ); targetResult = Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ); return targetResult; }
[ "14taher@gmail.com" ]
14taher@gmail.com
fac7f5fa6ab36b6ac24fc814ca2ae610962a0907
5ebd5cee801215bc3302fca26dbe534e6992c086
/blazetest/src/mathtest/smatdmatschur/MIaHDa.cpp
aa682ad0d01f3fa4e8db999acd9c696311b6d625
[ "BSD-3-Clause" ]
permissive
mhochsteger/blaze
c66d8cf179deeab4f5bd692001cc917fe23e1811
fd397e60717c4870d942055496d5b484beac9f1a
refs/heads/master
2020-09-17T01:56:48.483627
2019-11-20T05:40:29
2019-11-20T05:41:35
223,951,030
0
0
null
null
null
null
UTF-8
C++
false
false
4,072
cpp
//================================================================================================= /*! // \file src/mathtest/smatdmatschur/MIaHDa.cpp // \brief Source file for the MIaHDa sparse matrix/dense matrix Schur product math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribute it and/or modify it under // the terms of the New (Revised) BSD License. Redistribution and use in source and binary // forms, with or without modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // 3. Neither the names of the Blaze development group nor the names of its contributors // may be used to endorse or promote products derived from this software without specific // prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT // SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED // TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. */ //================================================================================================= //************************************************************************************************* // Includes //************************************************************************************************* #include <cstdlib> #include <iostream> #include <blaze/math/DynamicMatrix.h> #include <blaze/math/HermitianMatrix.h> #include <blaze/math/IdentityMatrix.h> #include <blazetest/mathtest/Creator.h> #include <blazetest/mathtest/smatdmatschur/OperationTest.h> #include <blazetest/system/MathTest.h> #ifdef BLAZE_USE_HPX_THREADS # include <hpx/hpx_main.hpp> #endif //================================================================================================= // // MAIN FUNCTION // //================================================================================================= //************************************************************************************************* int main() { std::cout << " Running 'MIaHDa'..." << std::endl; using blazetest::mathtest::NumericA; try { // Matrix type definitions using MIa = blaze::IdentityMatrix<NumericA>; using HDa = blaze::HermitianMatrix< blaze::DynamicMatrix<NumericA> >; // Creator type definitions using CMIa = blazetest::Creator<MIa>; using CHDa = blazetest::Creator<HDa>; // Running tests with small matrices for( size_t i=0UL; i<=6UL; ++i ) { RUN_SMATDMATSCHUR_OPERATION_TEST( CMIa( i ), CHDa( i ) ); } // Running tests with large matrices RUN_SMATDMATSCHUR_OPERATION_TEST( CMIa( 67UL ), CHDa( 67UL ) ); RUN_SMATDMATSCHUR_OPERATION_TEST( CMIa( 128UL ), CHDa( 128UL ) ); } catch( std::exception& ex ) { std::cerr << "\n\n ERROR DETECTED during sparse matrix/dense matrix Schur product:\n" << ex.what() << "\n"; return EXIT_FAILURE; } return EXIT_SUCCESS; } //*************************************************************************************************
[ "klaus.iglberger@gmail.com" ]
klaus.iglberger@gmail.com
903a33c5931b05482bea595fbff6d7e0381e0c89
c30ad5e14c643444ebdf83b47566f3e965462215
/Basic_IR_white_blue/Basic_IR_white_blue.ino
5db18f1e4492c48cfdd989356831d56bc2ae40af
[]
no_license
minhaz1025/ArduinoProjects
bf6f6d864bf4c5bba70b5d3b9166c2e55c5bbcdd
524a21ec37e64c316e6c741ac4e8a63b33e221ea
refs/heads/master
2020-03-28T11:11:50.562439
2018-09-10T16:47:39
2018-09-10T16:47:39
148,187,499
0
0
null
null
null
null
UTF-8
C++
false
false
2,111
ino
/*--------------------------- IR LED and phototransistor beam test and calibration debug stuff: min/max val = whatever the value is when it changes LED is always on ----------------------------*/ // defines for pins #define IRoutputPin 2 // digital output pin #define IRinputAnalogPin 0 // analog input pin #define LEDsignalPin 13 // LED signal pin // int and long values int val = 0; // variable to store the value read from input pin int minVal = 1000; int maxVal = 0; int oldVal= 0; // strings String outputString; String intro = "JTD IR test and calibration init"; boolean needIntro = true; String signalBase = "Signal Strength: "; String minBase = "Min: "; String maxBase = "Max: "; void setup() { pinMode(IRoutputPin,OUTPUT); digitalWrite(IRoutputPin,HIGH); pinMode(LEDsignalPin, OUTPUT); Serial.begin(9600); } void loop() { // print header if (needIntro == true) {Serial.println(intro); needIntro = false;} digitalWrite(LEDsignalPin, HIGH); // turn signal LED on // read value of analog input val = analogRead(IRinputAnalogPin); // read the input pin //Serial.println(val); // debug value if (val != oldVal) // if the new value is different than the old value, then do stuff { String outputString = signalBase + val; // concatenates output for signal strength Serial.println(outputString); outputString = minBase + minVal; // concatenates output for min Serial.println(outputString); outputString = maxBase + maxVal; // concatenates output for max Serial.println(outputString); oldVal = val; delay(500); // wait half a second } if (val < minVal) // conditional if val is less than prior minVal { //String outputString = minBase + val; // concatenates output Serial.println(outputString); minVal = val;} if (val > maxVal) // conditional if val is greater than prior maxVal { String outputString = maxBase + val; // concatenates output //Serial.println(outputString); maxVal = max(maxVal, val);} }
[ "minhaz1217@gmail.com" ]
minhaz1217@gmail.com
0e575a5412d28fce2c89ecb6dbb1d67691b4eb41
bb5f2c59818b18554316e15cdbced53a61877ef5
/theia-changes/applications/compute_matching_relative_pose_errors.cc
d38d28339ae63179bfae3d38af15733162f43d0e
[]
no_license
rajvishah/ViewGraphSelectionFramework
69d9978637b073094be2010d74e287ac14617a24
532f0229f3418af8a163080b79205fab2701acf1
refs/heads/master
2022-02-18T17:34:42.146340
2019-09-13T07:35:27
2019-09-13T07:35:27
208,216,406
9
2
null
null
null
null
UTF-8
C++
false
false
6,477
cc
// Copyright (C) 2015 The Regents of the University of California (Regents). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following // disclaimer in the documentation and/or other materials provided // with the distribution. // // * Neither the name of The Regents or University of California nor the // names of its contributors may be used to endorse or promote products // derived from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. // // Please contact the author of this library if you have any questions. // Author: Chris Sweeney (cmsweeney@cs.ucsb.edu) #include <Eigen/Core> #include <glog/logging.h> #include <gflags/gflags.h> #include <theia/theia.h> #include <memory> #include <string> DEFINE_string( matches, "", "Matches file that has been written with WriteMatchesAndGeometry"); DEFINE_string(reconstruction, "", "Reconstruction to use as ground truth."); using theia::Reconstruction; using theia::TrackId; using theia::ViewId; // Computes the error in the relative rotation based on the ground truth // rotations rotation1 and rotation2 (which specify world-to-camera // transformations). double ComputeRelativeRotationError(const Eigen::Matrix3d& rotation1, const Eigen::Matrix3d& rotation2, const Eigen::Vector3d& relative_rotation) { Eigen::Matrix3d relative_rotation_matrix; ceres::AngleAxisToRotationMatrix( relative_rotation.data(), ceres::ColumnMajorAdapter3x3(relative_rotation_matrix.data())); const Eigen::Matrix3d loop_rotation = relative_rotation_matrix.transpose() * (rotation2 * rotation1.transpose()); Eigen::Vector3d loop_rotation_aa; ceres::RotationMatrixToAngleAxis( ceres::ColumnMajorAdapter3x3(loop_rotation.data()), loop_rotation_aa.data()); return theia::RadToDeg(loop_rotation_aa.norm()); } double ComputeRelativeTranslationError( const Eigen::Vector3d& position1, const Eigen::Vector3d& position2, const Eigen::Matrix3d& rotation1, const Eigen::Vector3d& relative_translation) { const Eigen::Vector3d world_translation = rotation1 * (position2 - position1).normalized(); return theia::RadToDeg(acos( theia::Clamp(relative_translation.dot(world_translation), -1.0, 1.0))); } void EvaluateRelativeError( const std::vector<std::string>& view_names, const std::vector<theia::ImagePairMatch>& matches, const Reconstruction& gt_reconstruction) { // For each edge, get the rotate translation and check the error. int num_matches_evaluated = 0; const std::vector<double> histogram_bins = {2, 5, 10, 15, 25, 50, 90, 135, 180, 225, 270, 316}; theia::PoseError relative_pose_error(histogram_bins, histogram_bins); for (const auto& match : matches) { const std::string view1_name = match.image1; const std::string view2_name = match.image2; const ViewId view_id1 = gt_reconstruction.ViewIdFromName(view1_name); const ViewId view_id2 = gt_reconstruction.ViewIdFromName(view2_name); const theia::View* view1 = gt_reconstruction.View(view_id1); const theia::View* view2 = gt_reconstruction.View(view_id2); if (view1 == nullptr || view2 == nullptr) { continue; } const theia::Camera& camera1 = view1->Camera(); const theia::Camera& camera2 = view2->Camera(); const double rotation_angular_error = ComputeRelativeRotationError(camera1.GetOrientationAsRotationMatrix(), camera2.GetOrientationAsRotationMatrix(), match.twoview_info.rotation_2); const double translation_angular_error = ComputeRelativeTranslationError( camera1.GetPosition(), camera2.GetPosition(), camera1.GetOrientationAsRotationMatrix(), match.twoview_info.position_2); relative_pose_error.AddError(rotation_angular_error, translation_angular_error); ++num_matches_evaluated; } LOG(INFO) << "Evaluated " << view_names.size() << " common views containing " << num_matches_evaluated << " two-view matches."; LOG(INFO) << relative_pose_error.PrintMeanMedianHistogram(); } int main(int argc, char* argv[]) { google::InitGoogleLogging(argv[0]); THEIA_GFLAGS_NAMESPACE::ParseCommandLineFlags(&argc, &argv, true); LOG(INFO) << "Reading the matches."; std::vector<std::string> view_names; std::vector<theia::CameraIntrinsicsPrior> camera_intrinsics_prior; std::vector<theia::ImagePairMatch> matches; CHECK(theia::ReadMatchesAndGeometry(FLAGS_matches, &view_names, &camera_intrinsics_prior, &matches)) << "Could not read matches from " << FLAGS_matches; std::unique_ptr<theia::Reconstruction> reconstruction( new theia::Reconstruction()); CHECK(theia::ReadReconstruction(FLAGS_reconstruction, reconstruction.get())) << "Could not read reconstruction from " << FLAGS_reconstruction; EvaluateRelativeError(view_names, matches, *reconstruction); return 0; }
[ "rajvi.a.shah@gmail.com" ]
rajvi.a.shah@gmail.com
ca59a263e8c041e79dd8029fb0838bd7b3f82b3e
2c0e82962eb9b70c5afd542166e4bad69d982abc
/02-loops/loop_intro.cc
688fbe988257027542b7d015a647372557c13f91
[]
no_license
ishaandhamija/LP-Fasttrack-Summer18
e1cb6e37752501e32e50a8722b66ef11e4c639bf
f915327bf63074c1a5ef16f2d3ce55d7419b0a6e
refs/heads/master
2020-03-22T17:23:26.563687
2018-07-07T08:05:08
2018-07-07T08:05:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
564
cc
// Deepak Aggarwal, Coding Blocks // deepak@codingblocks.com #include <iostream> using namespace std; int main(){ // print name 5 times int cnt = 1; cout << cnt << " Coding Blocks" << endl; cnt = cnt + 1; cout << cnt << " Coding Blocks" << endl; cnt = cnt + 1; cout << cnt << " Coding Blocks" << endl; cnt = cnt + 1; cout << cnt << " Coding Blocks" << endl; cnt = cnt + 1; cout << cnt << " Coding Blocks" << endl; cnt = cnt + 1; for(int cnt = 1; cnt <= 5; ++cnt){ cout << cnt << " Coding Blocks" << endl; } }
[ "daggarwal77@gmail.com" ]
daggarwal77@gmail.com
ddab72374110b1da5220e7a2fc1c7efb948e6080
88acf01c8256f6c7dacf6033e9f0e9a662673307
/_8x8x8_kit_arduinocube/_8x8x8_kit_arduinocube.ino
18ac3a41055ebf8172f456cfd007e26cca581319
[]
no_license
bobdavis321/Arduino-LED-Cube-Projects
549346b956712a41e7426b2fc2aae4fcbefe16c6
0915fbcf2bbb1a3d8d3865f98b644ee13015abe3
refs/heads/master
2021-04-06T03:05:35.973510
2018-03-14T16:56:59
2018-03-14T16:56:59
125,245,359
1
0
null
null
null
null
UTF-8
C++
false
false
13,111
ino
#include <avr/interrupt.h> #include <string.h> #define AXIS_X 1 #define AXIS_Y 2 #define AXIS_Z 3 volatile unsigned char cube[8][8]; volatile int current_layer = 0; void setup() { int i; for(i=0; i<14; i++) pinMode(i, OUTPUT); // pinMode(A0, OUTPUT) as specified in the arduino reference didn't work. So I accessed the registers directly. DDRC = 0xff; PORTC = 0x00; // Reset any PWM configuration that the arduino may have set up automagically! TCCR2A = 0x00; TCCR2B = 0x00; TCCR2A |= (0x01 << WGM21); // CTC mode. clear counter on TCNT2 == OCR2A OCR2A = 10; // Interrupt every 25600th cpu cycle (256*100) TCNT2 = 0x00; // start counting at 0 TCCR2B |= (0x01 << CS22) | (0x01 << CS21); // Start the clock with a 256 prescaler TIMSK2 |= (0x01 << OCIE2A); } ISR (TIMER2_COMPA_vect) { int i; // all layer selects off PORTC = 0x00; PORTB &= 0x0f; PORTB |= 0x08; // output enable off. for (i=0; i<8; i++) { PORTD = cube[current_layer][i]; PORTB = (PORTB & 0xF8) | (0x07 & (i+1)); } PORTB &= 0b00110111; // Output enable on. if (current_layer < 6) { PORTC = (0x01 << current_layer); } else if (current_layer == 6) { digitalWrite(12, HIGH); } else { digitalWrite(13, HIGH); } current_layer++; if (current_layer == 8) current_layer = 0; } void loop() { int i,x,y,z; while (true) { effect_planboing(AXIS_Z, 400); effect_planboing(AXIS_Y, 400); effect_planboing(AXIS_X, 400); effect_blinky2(); effect_random_filler(75,1); effect_random_filler(75,0); effect_rain(100); effect_boxside_randsend_parallel (AXIS_X, 0, 150, 1); effect_boxside_randsend_parallel (AXIS_X, 1, 150, 1); effect_boxside_randsend_parallel (AXIS_Y, 0, 150, 1); effect_boxside_randsend_parallel (AXIS_Y, 1, 150, 1); effect_boxside_randsend_parallel (AXIS_Z, 0, 150, 1); effect_boxside_randsend_parallel (AXIS_Z, 1, 150, 1); } } // ========================================================================================== // Effect functions // ========================================================================================== void draw_positions_axis (char axis, unsigned char positions[64], int invert) { int x, y, p; fill(0x00); for (x=0; x<8; x++) { for (y=0; y<8; y++) { if (invert) { p = (7-positions[(x*8)+y]); } else { p = positions[(x*8)+y]; } if (axis == AXIS_Z) setvoxel(x,y,p); if (axis == AXIS_Y) setvoxel(x,p,y); if (axis == AXIS_X) setvoxel(p,y,x); } } } void effect_boxside_randsend_parallel (char axis, int origin, int delay, int mode) { int i; int done; unsigned char cubepos[64]; unsigned char pos[64]; int notdone = 1; int notdone2 = 1; int sent = 0; for (i=0;i<64;i++) { pos[i] = 0; } while (notdone) { if (mode == 1) { notdone2 = 1; while (notdone2 && sent<64) { i = rand()%64; if (pos[i] == 0) { sent++; pos[i] += 1; notdone2 = 0; } } } else if (mode == 2) { if (sent<64) { pos[sent] += 1; sent++; } } done = 0; for (i=0;i<64;i++) { if (pos[i] > 0 && pos[i] <7) { pos[i] += 1; } if (pos[i] == 7) done++; } if (done == 64) notdone = 0; for (i=0;i<64;i++) { if (origin == 0) { cubepos[i] = pos[i]; } else { cubepos[i] = (7-pos[i]); } } delay_ms(delay); draw_positions_axis(axis,cubepos,0); } } void effect_rain (int iterations) { int i, ii; int rnd_x; int rnd_y; int rnd_num; for (ii=0;ii<iterations;ii++) { rnd_num = rand()%4; for (i=0; i < rnd_num;i++) { rnd_x = rand()%8; rnd_y = rand()%8; setvoxel(rnd_x,rnd_y,7); } delay_ms(1000); shift(AXIS_Z,-1); } } // Set or clear exactly 512 voxels in a random order. void effect_random_filler (int delay, int state) { int x,y,z; int loop = 0; if (state == 1) { fill(0x00); } else { fill(0xff); } while (loop<511) { x = rand()%8; y = rand()%8; z = rand()%8; if ((state == 0 && getvoxel(x,y,z) == 0x01) || (state == 1 && getvoxel(x,y,z) == 0x00)) { altervoxel(x,y,z,state); delay_ms(delay); loop++; } } } void effect_blinky2() { int i,r; fill(0x00); for (r=0;r<2;r++) { i = 750; while (i>0) { fill(0x00); delay_ms(i); fill(0xff); delay_ms(100); i = i - (15+(1000/(i/10))); } delay_ms(1000); i = 750; while (i>0) { fill(0x00); delay_ms(751-i); fill(0xff); delay_ms(100); i = i - (15+(1000/(i/10))); } } } // Draw a plane on one axis and send it back and forth once. void effect_planboing (int plane, int speed) { int i; for (i=0;i<8;i++) { fill(0x00); setplane(plane, i); delay_ms(speed); } for (i=7;i>=0;i--) { fill(0x00); setplane(plane,i); delay_ms(speed); } } // ========================================================================================== // Draw functions // ========================================================================================== // Set a single voxel to ON void setvoxel(int x, int y, int z) { if (inrange(x,y,z)) cube[z][y] |= (1 << x); } // Set a single voxel to ON void clrvoxel(int x, int y, int z) { if (inrange(x,y,z)) cube[z][y] &= ~(1 << x); } // This function validates that we are drawing inside the cube. unsigned char inrange(int x, int y, int z) { if (x >= 0 && x < 8 && y >= 0 && y < 8 && z >= 0 && z < 8) { return 0x01; } else { // One of the coordinates was outside the cube. return 0x00; } } // Get the current status of a voxel unsigned char getvoxel(int x, int y, int z) { if (inrange(x,y,z)) { if (cube[z][y] & (1 << x)) { return 0x01; } else { return 0x00; } } else { return 0x00; } } // In some effect we want to just take bool and write it to a voxel // this function calls the apropriate voxel manipulation function. void altervoxel(int x, int y, int z, int state) { if (state == 1) { setvoxel(x,y,z); } else { clrvoxel(x,y,z); } } // Flip the state of a voxel. // If the voxel is 1, its turned into a 0, and vice versa. void flpvoxel(int x, int y, int z) { if (inrange(x, y, z)) cube[z][y] ^= (1 << x); } // Makes sure x1 is alwas smaller than x2 // This is usefull for functions that uses for loops, // to avoid infinite loops void argorder(int ix1, int ix2, int *ox1, int *ox2) { if (ix1>ix2) { int tmp; tmp = ix1; ix1= ix2; ix2 = tmp; } *ox1 = ix1; *ox2 = ix2; } // Sets all voxels along a X/Y plane at a given point // on axis Z void setplane_z (int z) { int i; if (z>=0 && z<8) { for (i=0;i<8;i++) cube[z][i] = 0xff; } } // Clears voxels in the same manner as above void clrplane_z (int z) { int i; if (z>=0 && z<8) { for (i=0;i<8;i++) cube[z][i] = 0x00; } } void setplane_x (int x) { int z; int y; if (x>=0 && x<8) { for (z=0;z<8;z++) { for (y=0;y<8;y++) { cube[z][y] |= (1 << x); } } } } void clrplane_x (int x) { int z; int y; if (x>=0 && x<8) { for (z=0;z<8;z++) { for (y=0;y<8;y++) { cube[z][y] &= ~(1 << x); } } } } void setplane_y (int y) { int z; if (y>=0 && y<8) { for (z=0;z<8;z++) cube[z][y] = 0xff; } } void clrplane_y (int y) { int z; if (y>=0 && y<8) { for (z=0;z<8;z++) cube[z][y] = 0x00; } } void setplane (char axis, unsigned char i) { switch (axis) { case AXIS_X: setplane_x(i); break; case AXIS_Y: setplane_y(i); break; case AXIS_Z: setplane_z(i); break; } } void clrplane (char axis, unsigned char i) { switch (axis) { case AXIS_X: clrplane_x(i); break; case AXIS_Y: clrplane_y(i); break; case AXIS_Z: clrplane_z(i); break; } } // Fill a value into all 64 byts of the cube buffer // Mostly used for clearing. fill(0x00) // or setting all on. fill(0xff) void fill (unsigned char pattern) { int z; int y; for (z=0;z<8;z++) { for (y=0;y<8;y++) { cube[z][y] = pattern; } } } // Draw a box with all walls drawn and all voxels inside set void box_filled(int x1, int y1, int z1, int x2, int y2, int z2) { int iy; int iz; argorder(x1, x2, &x1, &x2); argorder(y1, y2, &y1, &y2); argorder(z1, z2, &z1, &z2); for (iz=z1;iz<=z2;iz++) { for (iy=y1;iy<=y2;iy++) { cube[iz][iy] |= byteline(x1,x2); } } } // Darw a hollow box with side walls. void box_walls(int x1, int y1, int z1, int x2, int y2, int z2) { int iy; int iz; argorder(x1, x2, &x1, &x2); argorder(y1, y2, &y1, &y2); argorder(z1, z2, &z1, &z2); for (iz=z1;iz<=z2;iz++) { for (iy=y1;iy<=y2;iy++) { if (iy == y1 || iy == y2 || iz == z1 || iz == z2) { cube[iz][iy] = byteline(x1,x2); } else { cube[iz][iy] |= ((0x01 << x1) | (0x01 << x2)); } } } } // Draw a wireframe box. This only draws the corners and edges, // no walls. void box_wireframe(int x1, int y1, int z1, int x2, int y2, int z2) { int iy; int iz; argorder(x1, x2, &x1, &x2); argorder(y1, y2, &y1, &y2); argorder(z1, z2, &z1, &z2); // Lines along X axis cube[z1][y1] = byteline(x1,x2); cube[z1][y2] = byteline(x1,x2); cube[z2][y1] = byteline(x1,x2); cube[z2][y2] = byteline(x1,x2); // Lines along Y axis for (iy=y1;iy<=y2;iy++) { setvoxel(x1,iy,z1); setvoxel(x1,iy,z2); setvoxel(x2,iy,z1); setvoxel(x2,iy,z2); } // Lines along Z axis for (iz=z1;iz<=z2;iz++) { setvoxel(x1,y1,iz); setvoxel(x1,y2,iz); setvoxel(x2,y1,iz); setvoxel(x2,y2,iz); } } // Returns a byte with a row of 1's drawn in it. // byteline(2,5) gives 0b00111100 char byteline (int start, int end) { return ((0xff<<start) & ~(0xff<<(end+1))); } // Flips a byte 180 degrees. // MSB becomes LSB, LSB becomes MSB. char flipbyte (char byte) { char flop = 0x00; flop = (flop & 0b11111110) | (0b00000001 & (byte >> 7)); flop = (flop & 0b11111101) | (0b00000010 & (byte >> 5)); flop = (flop & 0b11111011) | (0b00000100 & (byte >> 3)); flop = (flop & 0b11110111) | (0b00001000 & (byte >> 1)); flop = (flop & 0b11101111) | (0b00010000 & (byte << 1)); flop = (flop & 0b11011111) | (0b00100000 & (byte << 3)); flop = (flop & 0b10111111) | (0b01000000 & (byte << 5)); flop = (flop & 0b01111111) | (0b10000000 & (byte << 7)); return flop; } // Draw a line between any coordinates in 3d space. // Uses integer values for input, so dont expect smooth animations. void line(int x1, int y1, int z1, int x2, int y2, int z2) { float xy; // how many voxels do we move on the y axis for each step on the x axis float xz; // how many voxels do we move on the y axis for each step on the x axis unsigned char x,y,z; unsigned char lasty,lastz; // We always want to draw the line from x=0 to x=7. // If x1 is bigget than x2, we need to flip all the values. if (x1>x2) { int tmp; tmp = x2; x2 = x1; x1 = tmp; tmp = y2; y2 = y1; y1 = tmp; tmp = z2; z2 = z1; z1 = tmp; } if (y1>y2) { xy = (float)(y1-y2)/(float)(x2-x1); lasty = y2; } else { xy = (float)(y2-y1)/(float)(x2-x1); lasty = y1; } if (z1>z2) { xz = (float)(z1-z2)/(float)(x2-x1); lastz = z2; } else { xz = (float)(z2-z1)/(float)(x2-x1); lastz = z1; } // For each step of x, y increments by: for (x = x1; x<=x2;x++) { y = (xy*(x-x1))+y1; z = (xz*(x-x1))+z1; setvoxel(x,y,z); } } // Delay loop. // This is not calibrated to milliseconds, // but we had allready made to many effects using this // calibration when we figured it might be a good idea // to calibrate it. void delay_ms(uint16_t x) { uint8_t y, z; for ( ; x > 0 ; x--){ for ( y = 0 ; y < 90 ; y++){ for ( z = 0 ; z < 6 ; z++){ asm volatile ("nop"); } } } } // Shift the entire contents of the cube along an axis // This is great for effects where you want to draw something // on one side of the cube and have it flow towards the other // side. Like rain flowing down the Z axiz. void shift (char axis, int direction) { int i, x ,y; int ii, iii; int state; for (i = 0; i < 8; i++) { if (direction == -1) { ii = i; } else { ii = (7-i); } for (x = 0; x < 8; x++) { for (y = 0; y < 8; y++) { if (direction == -1) { iii = ii+1; } else { iii = ii-1; } if (axis == AXIS_Z) { state = getvoxel(x,y,iii); altervoxel(x,y,ii,state); } if (axis == AXIS_Y) { state = getvoxel(x,iii,y); altervoxel(x,ii,y,state); } if (axis == AXIS_X) { state = getvoxel(iii,y,x); altervoxel(ii,y,x,state); } } } } if (direction == -1) { i = 7; } else { i = 0; } for (x = 0; x < 8; x++) { for (y = 0; y < 8; y++) { if (axis == AXIS_Z) clrvoxel(x,y,i); if (axis == AXIS_Y) clrvoxel(x,i,y); if (axis == AXIS_X) clrvoxel(i,y,x); } } }
[ "noreply@github.com" ]
noreply@github.com
5b20ddf93d6d3b7d0e3330a57ce0c7491ea3a7be
e99c20155e9b08c7e7598a3f85ccaedbd127f632
/ sjtu-project-pipe/thirdparties/VTK.Net/src/Imaging/vtkImageAccumulate.h
7e312f00a2ed41403ceb7a4f024e011c013717e2
[ "BSD-3-Clause" ]
permissive
unidevop/sjtu-project-pipe
38f00462d501d9b1134ce736bdfbfe4f9d075e4a
5a09f098db834d5276a2921d861ef549961decbe
refs/heads/master
2020-05-16T21:32:47.772410
2012-03-19T01:24:14
2012-03-19T01:24:14
38,281,086
1
1
null
null
null
null
UTF-8
C++
false
false
5,163
h
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkImageAccumulate.h,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ // .NAME vtkImageAccumulate - Generalized histograms up to 4 dimensions. // .SECTION Description // vtkImageAccumulate - This filter divides component space into // discrete bins. It then counts the number of pixels associated // with each bin. The output is this "scatter plot" (histogram values for 1D). // The dimensionality of the output depends on how many components the // input pixels have. Input pixels with one component generate a 1D histogram. // This filter can only handle images with 1 to 3 scalar components. // The input can be any type, but the output is always int. // Some statistics are computed on the pixel values at the same time. // The SetStencilFunction, SetClippingExtents and ReverseStencil // functions allow the statistics to be computed on an arbitrary // portion of the input data. // See the documentation for vtkImageStencil for more information. #ifndef __vtkImageAccumulate_h #define __vtkImageAccumulate_h #include "vtkImageAlgorithm.h" class vtkImageStencilData; class VTK_IMAGING_EXPORT vtkImageAccumulate : public vtkImageAlgorithm { public: static vtkImageAccumulate *New(); vtkTypeRevisionMacro(vtkImageAccumulate,vtkImageAlgorithm); void PrintSelf(ostream& os, vtkIndent indent); // Description: // Set/Get - The component spacing is the dimension of each bin. // This ends up being the spacing of the output "image". // If the number of input scalar components are less than three, // then some of these spacing values are ignored. // For a 1D histogram with 10 bins spanning the values 1000 to 2000, // this spacing should be set to 100, 0, 0 vtkSetVector3Macro(ComponentSpacing, double); vtkGetVector3Macro(ComponentSpacing, double); // Description: // Set/Get - The component origin is the location of bin (0, 0, 0). // Note that if the Component extent does not include the value (0,0,0), // then this origin bin will not actually be in the output. // The origin of the output ends up being the same as the componenet origin. // For a 1D histogram with 10 bins spanning the values 1000 to 2000, // this origin should be set to 1000, 0, 0 vtkSetVector3Macro(ComponentOrigin, double); vtkGetVector3Macro(ComponentOrigin, double); // Description: // Set/Get - The component extent sets the number/extent of the bins. // For a 1D histogram with 10 bins spanning the values 1000 to 2000, // this extent should be set to 0, 9, 0, 0, 0, 0. // The extent specifies inclusive min/max values. // This implies the the top extent should be set to the number of bins - 1. void SetComponentExtent(int extent[6]); void SetComponentExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ); void GetComponentExtent(int extent[6]); int *GetComponentExtent() {return this->ComponentExtent;} // Description: // Use a stencil to specify which voxels to accumulate. void SetStencil(vtkImageStencilData *stencil); vtkImageStencilData *GetStencil(); // Description: // Reverse the stencil. vtkSetMacro(ReverseStencil, int); vtkBooleanMacro(ReverseStencil, int); vtkGetMacro(ReverseStencil, int); // Description: // Get the statistics information for the data. vtkGetVector3Macro(Min, double); vtkGetVector3Macro(Max, double); vtkGetVector3Macro(Mean, double); vtkGetVector3Macro(StandardDeviation, double); vtkGetMacro(VoxelCount, long int); protected: vtkImageAccumulate(); ~vtkImageAccumulate(); double ComponentSpacing[3]; double ComponentOrigin[3]; int ComponentExtent[6]; virtual int RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*); virtual int RequestInformation (vtkInformation*, vtkInformationVector**, vtkInformationVector*); virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector); double Min[3]; double Max[3]; double Mean[3]; double StandardDeviation[3]; long int VoxelCount; int ReverseStencil; virtual int FillInputPortInformation(int port, vtkInformation* info); private: vtkImageAccumulate(const vtkImageAccumulate&); // Not implemented. void operator=(const vtkImageAccumulate&); // Not implemented. }; #endif
[ "useminmin@gmail.com" ]
useminmin@gmail.com
4b9f90d6735517ecac9d812c51947a5a1daafcbd
1a17167c38dc9a12c1f72dd0f3ae7288f5cd7da0
/Source/ThirdParty/angle/third_party/deqp/src/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemWorkgroupStorageTests.cpp
8c9c5160a1bea80c36eba02ed1ed8e3a216ede99
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-khronos", "BSL-1.0", "BSD-2-Clause" ]
permissive
elix22/Urho3D
c57c7ecb58975f51fabb95bcc4330bc5b0812de7
99902ae2a867be0d6dbe4c575f9c8c318805ec64
refs/heads/master
2023-06-01T01:19:57.155566
2021-12-07T16:47:20
2021-12-07T17:46:58
165,504,739
21
4
MIT
2021-11-05T01:02:08
2019-01-13T12:51:17
C++
UTF-8
C++
false
false
13,752
cpp
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2018 The Khronos Group Inc. * Copyright (c) 2018 Google Inc. * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * *//*! * \file * \brief Protected memory workgroup storage tests *//*--------------------------------------------------------------------*/ #include "vktProtectedMemWorkgroupStorageTests.hpp" #include "vktProtectedMemContext.hpp" #include "vktProtectedMemUtils.hpp" #include "vktProtectedMemImageValidator.hpp" #include "vktTestCase.hpp" #include "vktTestGroupUtil.hpp" #include "vkPrograms.hpp" #include "vkTypeUtil.hpp" #include "vkBuilderUtil.hpp" #include "vkImageUtil.hpp" #include "vkCmdUtil.hpp" #include "tcuTestLog.hpp" #include "tcuVector.hpp" #include "tcuTextureUtil.hpp" #include "tcuStringTemplate.hpp" #include "gluTextureTestUtil.hpp" #include "deRandom.hpp" namespace vkt { namespace ProtectedMem { namespace { struct Params { deUint32 sharedMemorySize; deUint32 imageWidth; deUint32 imageHeight; Params (deUint32 sharedMemorySize_) : sharedMemorySize (sharedMemorySize_) { // Find suitable image dimensions based on shared memory size imageWidth = 1; imageHeight = 1; bool increaseWidth = true; while (imageWidth * imageHeight < sharedMemorySize) { if (increaseWidth) imageWidth *= 2; else imageHeight *= 2; increaseWidth = !increaseWidth; } } }; deUint32 getSeedValue (const Params& params) { return deInt32Hash(params.sharedMemorySize); } class WorkgroupStorageTestInstance : public ProtectedTestInstance { public: WorkgroupStorageTestInstance (Context& ctx, const ImageValidator& validator, const Params& params); virtual tcu::TestStatus iterate (void); private: de::MovePtr<tcu::Texture2D> createTestTexture2D (void); tcu::TestStatus validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Texture2D& texture2D, const tcu::Sampler& refSampler); void calculateRef (tcu::Texture2D& texture2D); const ImageValidator& m_validator; const Params& m_params; }; class WorkgroupStorageTestCase : public TestCase { public: WorkgroupStorageTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Params& params) : TestCase (testCtx, name, description) , m_validator (vk::VK_FORMAT_R8G8B8A8_UNORM) , m_params (params) { } virtual ~WorkgroupStorageTestCase (void) {} virtual TestInstance* createInstance (Context& ctx) const { return new WorkgroupStorageTestInstance(ctx, m_validator, m_params); } virtual void initPrograms (vk::SourceCollections& programCollection) const; private: ImageValidator m_validator; Params m_params; }; void WorkgroupStorageTestCase::initPrograms (vk::SourceCollections& programCollection) const { m_validator.initPrograms(programCollection); // Fill shared data array with source image data. Output result color with results from // shared memory written by another invocation. std::string comp = std::string() + "#version 450\n" "layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString(m_params.imageHeight) + ", local_size_z = 1) in;\n" "layout(set = 0, binding = 0, rgba8) writeonly uniform highp image2D u_resultImage;\n" "layout(set = 0, binding = 1, rgba8) readonly uniform highp image2D u_srcImage;\n" "shared vec4 sharedData[" + de::toString(m_params.sharedMemorySize) + "];\n" "\n" "void main() {\n" " int gx = int(gl_GlobalInvocationID.x);\n" " int gy = int(gl_GlobalInvocationID.y);\n" " int s = " + de::toString(m_params.sharedMemorySize) + ";\n" " int idx0 = gy * " + de::toString(m_params.imageWidth) + " + gx;\n" " int idx1 = (idx0 + 1) % s;\n" " vec4 color = imageLoad(u_srcImage, ivec2(gx, gy));\n" " if (idx0 < s)\n" " {\n" " sharedData[idx0] = color;\n" " }\n" " barrier();\n" " vec4 outColor = sharedData[idx1];\n" " imageStore(u_resultImage, ivec2(gx, gy), outColor);\n" "}\n"; programCollection.glslSources.add("comp") << glu::ComputeSource(comp); } WorkgroupStorageTestInstance::WorkgroupStorageTestInstance (Context& ctx, const ImageValidator& validator, const Params& params) : ProtectedTestInstance (ctx) , m_validator (validator) , m_params (params) { } de::MovePtr<tcu::Texture2D> WorkgroupStorageTestInstance::createTestTexture2D (void) { const tcu::TextureFormat texFmt = mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM); const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); texture2D->allocLevel(0); const tcu::PixelBufferAccess& level = texture2D->getLevel(0); fillWithRandomColorTiles(level, fmtInfo.valueMin, fmtInfo.valueMax, getSeedValue(m_params)); return texture2D; } tcu::TestStatus WorkgroupStorageTestInstance::iterate (void) { ProtectedContext& ctx (m_protectedContext); const vk::DeviceInterface& vk = ctx.getDeviceInterface(); const vk::VkDevice device = ctx.getDevice(); const vk::VkQueue queue = ctx.getQueue(); const deUint32 queueFamilyIndex = ctx.getQueueFamilyIndex(); const vk::VkPhysicalDeviceProperties properties = vk::getPhysicalDeviceProperties(ctx.getInstanceDriver(), ctx.getPhysicalDevice()); vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex)); de::MovePtr<tcu::Texture2D> texture2D = createTestTexture2D(); const tcu::Sampler refSampler = tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, tcu::Sampler::CLAMP_TO_EDGE, tcu::Sampler::CLAMP_TO_EDGE, tcu::Sampler::NEAREST, tcu::Sampler::NEAREST); vk::Unique<vk::VkShaderModule> computeShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("comp"), 0)); de::MovePtr<vk::ImageWithMemory> imageSrc; de::MovePtr<vk::ImageWithMemory> imageDst; vk::Move<vk::VkSampler> sampler; vk::Move<vk::VkImageView> imageViewSrc; vk::Move<vk::VkImageView> imageViewDst; vk::Move<vk::VkDescriptorSetLayout> descriptorSetLayout; vk::Move<vk::VkDescriptorPool> descriptorPool; vk::Move<vk::VkDescriptorSet> descriptorSet; // Check there is enough shared memory supported if (properties.limits.maxComputeSharedMemorySize < m_params.sharedMemorySize * 4 * 4) throw tcu::NotSupportedError("Not enough shared memory supported."); // Check the number of invocations supported if (properties.limits.maxComputeWorkGroupInvocations < m_params.imageWidth * m_params.imageHeight) throw tcu::NotSupportedError("Not enough compute workgroup invocations supported."); // Create src and dst images { vk::VkImageUsageFlags imageUsageFlags = vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT | vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT | vk::VK_IMAGE_USAGE_SAMPLED_BIT | vk::VK_IMAGE_USAGE_STORAGE_BIT; imageSrc = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, m_params.imageWidth, m_params.imageHeight, vk::VK_FORMAT_R8G8B8A8_UNORM, imageUsageFlags); imageDst = createImage2D(ctx, PROTECTION_ENABLED, queueFamilyIndex, m_params.imageWidth, m_params.imageHeight, vk::VK_FORMAT_R8G8B8A8_UNORM, imageUsageFlags); } // Upload source image { de::MovePtr<vk::ImageWithMemory> unprotectedImage = createImage2D(ctx, PROTECTION_DISABLED, queueFamilyIndex, m_params.imageWidth, m_params.imageHeight, vk::VK_FORMAT_R8G8B8A8_UNORM, vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT | vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT); // Upload data to an unprotected image uploadImage(m_protectedContext, **unprotectedImage, *texture2D); // Copy unprotected image to protected image copyToProtectedImage(m_protectedContext, **unprotectedImage, **imageSrc, vk::VK_IMAGE_LAYOUT_GENERAL, m_params.imageWidth, m_params.imageHeight); } // Clear dst image clearImage(m_protectedContext, **imageDst); // Create descriptors { vk::DescriptorSetLayoutBuilder layoutBuilder; vk::DescriptorPoolBuilder poolBuilder; layoutBuilder.addSingleBinding(vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, vk::VK_SHADER_STAGE_COMPUTE_BIT); layoutBuilder.addSingleBinding(vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, vk::VK_SHADER_STAGE_COMPUTE_BIT); poolBuilder.addType(vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, 2u); descriptorSetLayout = layoutBuilder.build(vk, device); descriptorPool = poolBuilder.build(vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); descriptorSet = makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout); } // Create pipeline layout vk::Unique<vk::VkPipelineLayout> pipelineLayout (makePipelineLayout(vk, device, *descriptorSetLayout)); // Create image views { imageViewSrc = createImageView(ctx, **imageSrc, vk::VK_FORMAT_R8G8B8A8_UNORM); imageViewDst = createImageView(ctx, **imageDst, vk::VK_FORMAT_R8G8B8A8_UNORM); } // Update descriptor set information { vk::DescriptorSetUpdateBuilder updateBuilder; vk::VkDescriptorImageInfo descStorageImgDst = makeDescriptorImageInfo((vk::VkSampler)0, *imageViewDst, vk::VK_IMAGE_LAYOUT_GENERAL); vk::VkDescriptorImageInfo descStorageImgSrc = makeDescriptorImageInfo((vk::VkSampler)0, *imageViewSrc, vk::VK_IMAGE_LAYOUT_GENERAL); updateBuilder.writeSingle(*descriptorSet, vk::DescriptorSetUpdateBuilder::Location::binding(0u), vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &descStorageImgDst); updateBuilder.writeSingle(*descriptorSet, vk::DescriptorSetUpdateBuilder::Location::binding(1u), vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &descStorageImgSrc); updateBuilder.update(vk, device); } // Create compute commands & submit { const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device)); vk::Unique<vk::VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *computeShader, DE_NULL)); vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY)); beginCommandBuffer(vk, *cmdBuffer); vk.cmdBindPipeline(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); vk.cmdBindDescriptorSets(*cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &*descriptorSet, 0u, DE_NULL); vk.cmdDispatch(*cmdBuffer, 1u, 1u, 1u); endCommandBuffer(vk, *cmdBuffer); VK_CHECK(queueSubmit(ctx, PROTECTION_ENABLED, queue, *cmdBuffer, *fence, ~0ull)); } // Calculate reference image calculateRef(*texture2D); // Validate result return validateResult(**imageDst, vk::VK_IMAGE_LAYOUT_GENERAL, *texture2D, refSampler); } void WorkgroupStorageTestInstance::calculateRef (tcu::Texture2D& texture2D) { const tcu::PixelBufferAccess& reference = texture2D.getLevel(0); std::vector<tcu::IVec4> sharedData(m_params.sharedMemorySize); for (deUint32 dataIdx = 0; dataIdx < m_params.sharedMemorySize; ++dataIdx) sharedData[dataIdx] = reference.getPixelInt(dataIdx % reference.getWidth(), dataIdx / reference.getWidth()); for (int x = 0; x < reference.getWidth(); ++x) for (int y = 0; y < reference.getHeight(); ++y) { const int idx = (y * reference.getWidth() + x + 1) % m_params.sharedMemorySize; reference.setPixel(sharedData[idx], x, y); } } tcu::TestStatus WorkgroupStorageTestInstance::validateResult (vk::VkImage image, vk::VkImageLayout imageLayout, const tcu::Texture2D& texture2D, const tcu::Sampler& refSampler) { de::Random rnd (getSeedValue(m_params)); ValidationData refData; for (int ndx = 0; ndx < 4; ++ndx) { const float lod = 0.0f; const float cx = rnd.getFloat(0.0f, 1.0f); const float cy = rnd.getFloat(0.0f, 1.0f); refData.coords[ndx] = tcu::Vec4(cx, cy, 0.0f, 0.0f); refData.values[ndx] = texture2D.sample(refSampler, cx, cy, lod); } if (!m_validator.validateImage(m_protectedContext, refData, image, vk::VK_FORMAT_R8G8B8A8_UNORM, imageLayout)) return tcu::TestStatus::fail("Result validation failed"); else return tcu::TestStatus::pass("Pass"); } } // anonymous tcu::TestCaseGroup* createWorkgroupStorageTests (tcu::TestContext& testCtx) { de::MovePtr<tcu::TestCaseGroup> workgroupGroup (new tcu::TestCaseGroup(testCtx, "workgroupstorage", "Workgroup storage tests")); static const deUint32 sharedMemSizes[] = { 1, 4, 5, 60, 101, 503 }; for (int sharedMemSizeIdx = 0; sharedMemSizeIdx < DE_LENGTH_OF_ARRAY(sharedMemSizes); ++sharedMemSizeIdx) { std::string testName = std::string("memsize_") + de::toString(sharedMemSizes[sharedMemSizeIdx]); workgroupGroup->addChild(new WorkgroupStorageTestCase(testCtx, testName, "", Params(sharedMemSizes[sharedMemSizeIdx]))); } return workgroupGroup.release(); } } // ProtectedMem } // vkt
[ "elix22@gmail.com" ]
elix22@gmail.com