blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
5ccb6bf74802a79f77bfe5918645f6ddf686f3fd
c5b94dc43c2dd4b3579416d783f99463dd5803ef
/PIR_gate_code.ino
081974f1b4ef8524a52cfbeb37521598ce583dcf
[]
no_license
hailey-ahn/PIR-sensor---Light-control-gate
2b499a4d3e56475f6e87655f4bbef968e560a87c
f2cbcc2b0ae81494392f1e49f107de2218ce56fd
refs/heads/master
2022-11-22T14:40:46.655911
2020-07-20T09:40:51
2020-07-20T09:40:51
281,073,588
0
0
null
null
null
null
UTF-8
C++
false
false
1,400
ino
PIR_gate_code.ino
int count = 0; // define a new variable 'count' // and set the default value to be 0 void setup() { // setup code, this is run once: Serial.begin(9600); //Allow serial communication between MSP430 and the computer pinMode(8, INPUT); //Pins are set up as input or output pinMode(7, INPUT); pinMode(6, OUTPUT); pinMode(5, OUTPUT); } void loop() { //Run repeatedly if(digitalRead(8) == HIGH) //Run this when Pin8 is HIGH { digitalWrite(6, HIGH); //Turn on LED 1 delay(500); ++count; //increase count number by 1 Serial.print(count); //print the count number on serial monitor Serial.println(); digitalWrite(6, LOW); //Turn off LED 1 delay(3000); } else if(digitalRead(7) == HIGH) //Run this when the first { //condition fails and Pin7 is HIGH digitalWrite(5, HIGH); //Turn on LED2 delay(500); --count; //subtract 1 from count Serial.print(count); Serial.println(); digitalWrite(5, LOW); //Turn off LED2 delay(3000); } if (count > 0){ //Run this when count>0 digitalWrite(3, HIGH); //Turn on room light } else{ //Run this when count=0 digitalWrite(3, LOW); //Turn off room light } }
17287e255d971aca929c5e29d3b9e4718c481d20
09fa2dd63ce3a0017df8a1ceded0c3083e713395
/src/BulletPool.cpp
6a55f230e191b2dc6f5827042f234d1a7a5a6206
[]
no_license
megazeroxzvk/GAME2005-Assignment-3
02c525535f32116692b61749ea603ca35ce535d6
46163adc5f7f255622b7faf5627b51663962c0db
refs/heads/main
2023-01-19T21:03:35.838369
2020-11-27T07:01:34
2020-11-27T07:01:34
314,080,386
0
0
null
null
null
null
UTF-8
C++
false
false
5,439
cpp
BulletPool.cpp
#include "BulletPool.h" #include <iostream> #include "CollisionManager.h" BulletPool::BulletPool() { SoundManager::Instance().load("../Assets/audio/explosion.wav", "explosion", SOUND_SFX); } BulletPool::BulletPool(int size) { createPool(size); this->size = size; SoundManager::Instance().load("../Assets/audio/explosion.wav", "explosion", SOUND_SFX); } BulletPool::~BulletPool() = default; Bullet* BulletPool::Spawn() { // Spawn the bullets from the pool Bullet* bullet = NULL; if(inactiveBullets.size() > 0) { bullet = inactiveBullets.back(); bullet->m_reset(); bullet->active = true; inactiveBullets.pop_back(); activeBullets.push_back(bullet); std::cout << "Bullet " << bullet->getBulletNumber() << " Spawned." << std::endl; } else { std::cout << "Bullets cannot be spawned due to reaching max capacity!" << std::endl; } return bullet; } void BulletPool::Despawn(Bullet* bullet) { // Despawn the bullet bullet->m_reset(); inactiveBullets.push_back(bullet); for(std::vector<Bullet*>::iterator iterationBullet = activeBullets.begin(); iterationBullet != activeBullets.end() ; iterationBullet++) { if(*iterationBullet == bullet) { std::cout << "Bullet " << bullet->getBulletNumber() << " Despawned" << std::endl; activeBullets.erase(iterationBullet); break; } } } void BulletPool::Update() { for (int i = 0; i < activeBullets.size(); i++) { activeBullets[i]->update(); if (activeBullets[i]->active == false) { Despawn(activeBullets[i]); } } //std::cout << "Active Bullet Vector Count = " << activeBullets.size() << std::endl; //std::cout << "Inactive Bullet Vector Count = " << inactiveBullets.size() << std::endl; //std::cout << "All Bullet Vector Count = " << allBullets.size() << std::endl; } void BulletPool::Draw() { for (int i = 0; i < activeBullets.size(); i++) { activeBullets[i]->draw(); } } // bullet resize trial.. hopefully it works.. // it does! void BulletPool::bulletPoolResize(int new_size) { if(new_size > size) // increasing bullet capacity { for(int i = size; i < new_size ; i++) { Bullet* bullet = new Bullet(); if(inactiveBullets.size() > 0) { bullet->getRigidBody()->velocity = inactiveBullets[0]->getRigidBody()->velocity; bullet->getRigidBody()->acceleration = inactiveBullets[0]->getRigidBody()->acceleration; } else if (activeBullets.size() > 0) { bullet->getRigidBody()->velocity = activeBullets[0]->getRigidBody()->velocity; bullet->getRigidBody()->acceleration = activeBullets[0]->getRigidBody()->acceleration; } allBullets.push_back(bullet); inactiveBullets.push_back(bullet); bullet->setBulletNumber(i); } size = new_size; } else if(new_size < size) // decreasing bullet capacity { int difference = size - new_size; // check inactive size first if(inactiveBullets.size() > difference) { for (int i = 0; i < difference; i++) { inactiveBullets.pop_back(); } size = new_size; } else { // prioritise to keep active ones stable, and remove as little active bullets as possible for (int i = 0; i < inactiveBullets.size(); i++) { inactiveBullets.pop_back(); difference--; } for(int i = 0; i < difference; i++) { activeBullets.pop_back(); } size = new_size; } } inactiveBullets.shrink_to_fit(); activeBullets.shrink_to_fit(); allBullets.shrink_to_fit(); } //-------------------- void BulletPool::collisionCheck(Jet* jet) { for(int i = 0; i < activeBullets.size(); i++) { glm::vec2 point; point.x = activeBullets[i]->getTransform()->position.x + (activeBullets[i]->getWidth() * 0.5); point.y = activeBullets[i]->getTransform()->position.y + (activeBullets[i]->getHeight() * 0.5); //std::cout << "Width of Bullet = " << activeBullets[i]->getWidth() << std::endl; if ((CollisionManager::pointRectCheck( point, { jet->getCollisionBox1().x ,jet->getCollisionBox1().y},jet->getCollisionBox1().w,jet->getCollisionBox1().h) ) || (CollisionManager::pointRectCheck( point, { jet->getCollisionBox2().x ,jet->getCollisionBox2().y }, jet->getCollisionBox2().w, jet->getCollisionBox2().h) )) { // Colliding!!!! activeBullets[i]->active = false; std::cout << "Bullet " << activeBullets[i]->getBulletNumber() << " has collided!!" << std::endl; SoundManager::Instance().playSound("explosion", 0, 1); } /*if (CollisionManager::AABBCheck(activeBullets[i], jet)) { std::cout << "Collision with Jet Box 1 (AABB)" << std::endl; }*/ } } void BulletPool::useBulletPool() { Bullet* bullet = Spawn(); } // Create the pool void BulletPool::createPool(int size) { for (int i = 0; i < size; i++) { Bullet* bullet = new Bullet(); allBullets.push_back(bullet); inactiveBullets.push_back(bullet); bullet->setBulletNumber(i); } std::cout << "Bullet Pool created with size = " << size << std::endl; } // Destroy the pool void BulletPool::destroyPool() { for(int i = 0; i < allBullets.size(); i++) { delete allBullets[i]; allBullets[i] = NULL; } allBullets.shrink_to_fit(); activeBullets.shrink_to_fit(); inactiveBullets.shrink_to_fit(); std::cout << "Size of Bullet Pool after deleting = " << allBullets.size() << std::endl; std::cout << "Size of active Bullet Pool after deleting = " << activeBullets.size() << std::endl; std::cout << "Size of inactive Bullet Pool after deleting = " << inactiveBullets.size() << std::endl; }
17c8d0213c61d4ed12ad531cc44a27ce5d7c9c98
7f11f0dedb5930d98875a4c47a579206294d6e0c
/arm9/generic/bresenstate.h
f0cb95d4fc20b2ce94fbdc661a2b3584db402c54
[]
no_license
nornagon/torch
a270d50fe504f0fad6f3bca2c0011befd328d391
1527a11a6b2cc0501dfd0f80b46ce8ca8bd060a7
refs/heads/master
2021-01-19T10:39:39.999569
2011-06-07T12:45:10
2011-06-07T12:46:09
1,859,702
0
0
null
null
null
null
UTF-8
C++
false
false
428
h
bresenstate.h
#ifndef BRESENSTATE_H #define BRESENSTATE_H 1 #include <nds/jtypes.h> class bresenstate { public: bresenstate(s16 x0_, s16 y0_, s16 x1_, s16 y1_); bresenstate(); void reset(s16 x0_, s16 y0_, s16 x1_, s16 y1_); void step(); s16 posx(); s16 posy(); s16 destx(); s16 desty(); private: bool steep, reversed; s16 deltax, deltay, error, ystep; s16 x0, y0, x1, y1; s16 x, y; }; #endif /* BRESENSTATE_H */
2064b4a61ba2db40ab78da7409b3df85547403d6
22b13f49f3b3b9916e344ed6c8e2a62f216b952b
/Library.hpp
50a6db7de98ebf1c2bfbd7e7651e6dbc8a8a89b3
[]
no_license
silbertt/Library-Simulator
795f4ec5f87569b04be8d1deec702ebad0104e12
7d2170e34b125d29e2092898dd4d3c9cc3030b30
refs/heads/master
2021-01-22T22:28:00.193189
2017-05-29T21:25:02
2017-05-29T21:25:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,117
hpp
Library.hpp
/********************************************** **Author:Teage Silbert **Date:3/15/15 **Description:This Program is a simulator of a library **system allowing the user to create members, books, **request books, check them out, and accrue and pay fines **********************************************/ #ifndef LIBRARY_HPP #define LIBRARY_HPP #include <string> #include <vector> class Patron; // forward declarations class Book; class Library { private: std::vector<Book> holdings; std::vector<Patron> members; int currentDate; public: Library(); void day(); void addBook(Book); void addMember(Patron); void libMembers(); void books(); void checkOutBook(std::string patronID, std::string bookID); void returnBook(std::string bookID); void requestBook(std::string patronID, std::string bookID); void incrementCurrentDate(); void payFine(std::string patronID, double payment); void viewPatronInfo(std::string patronID); bool memIDUsed(std::string patronID); bool bookIDUsed(std::string bookID); void viewBookInfo(std::string bookID); }; #endif
e5cb0c7f0ea46629327debb8323576ed40385e36
0c93b41c466fa3e4d52fb6fd923cf770977ef007
/Project 1/Project 0 copy/Game.h
81fb461fcb4634391ec56c6d983325215fb8fbbc
[]
no_license
elihan27/CS-32
6620d83f093549c43f7f637541bbec83a23598d8
6d3b712f8380946932779b7809a3d841caa70eb5
refs/heads/master
2020-03-26T01:06:41.119630
2018-11-01T08:32:19
2018-11-01T08:32:19
144,352,114
0
0
null
null
null
null
UTF-8
C++
false
false
517
h
Game.h
// // Game.h // Project 0 // // Created by Elizabeth Han on 1/16/17. // Copyright © 2017 Elizabeth Han. All rights reserved. // #ifndef GAME_INCLUDED #define GAME_INCLUDED #include <string> ///remove later. using namespace std; class Arena; class Game { public: // Constructor/destructor Game(int rows, int cols, int nRats); ~Game(); // Mutators void play(); private: Arena* m_arena; // Helper functions string takePlayerTurn(); }; #endif /* GAME_INCLUDED */
0bdc62ff93247913c9019a57a60fadd114685fb8
d0f098625be010bc98040a0690aa02508b4a391b
/class/RenderPassBase.cpp
f849d415cdf5f2850628aa35cf201115ee73cb42
[ "MIT" ]
permissive
rollyhuang/VulkanLearn
7e2be5a4daf70de59563d4c2bf13a333607c4665
29fb429a3fb526f8de7406404a983685a7e87117
refs/heads/master
2023-05-07T17:50:18.399684
2021-05-29T08:41:54
2021-05-29T08:41:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,000
cpp
RenderPassBase.cpp
#include "../vulkan/RenderPass.h" #include "../vulkan/GlobalDeviceObjects.h" #include "FrameWorkManager.h" #include "../vulkan/CommandBuffer.h" #include "../vulkan/Framebuffer.h" #include "../vulkan/Image.h" #include "RenderPassBase.h" bool RenderPassBase::Init(const std::shared_ptr<RenderPassBase>& pSelf, const VkRenderPassCreateInfo& info) { if (!SelfRefBase<RenderPassBase>::Init(pSelf)) return false; m_pRenderPass = RenderPass::Create(GetDevice(), info); return m_pRenderPass != nullptr; } void RenderPassBase::BeginRenderPass(const std::shared_ptr<CommandBuffer>& pCmdBuf, const std::shared_ptr<FrameBuffer>& pFrameBuffer) { pCmdBuf->BeginRenderPass(pFrameBuffer, m_pRenderPass, GetClearValue(), true); } void RenderPassBase::EndRenderPass(const std::shared_ptr<CommandBuffer>& pCmdBuf) { pCmdBuf->EndRenderPass(); m_currentSubpassIndex = 0; } void RenderPassBase::NextSubpass(const std::shared_ptr<CommandBuffer>& pCmdBuf) { pCmdBuf->NextSubpass(); m_currentSubpassIndex++; }
a44d3224ba02b7c1e3f76b2b90bdea03c1614588
45ab5256040b5160b97c6786accb8a60dd4fa0bf
/src/Editor/GUI/Editors/TriggerEditor.hpp
0478d42eae0a18a5a1403118673a250e709ab041
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
Chainsawkitten/HymnToBeauty
9e5cb541661a9bdb8e8ee791df8e1f5bd9a790e4
c3d869482f031a792c1c54c0f78d4cda47c6da09
refs/heads/main
2023-07-27T12:40:27.342516
2023-06-23T13:15:05
2023-06-23T14:08:14
33,508,463
11
4
MIT
2023-06-23T14:08:15
2015-04-06T22:09:26
C++
UTF-8
C++
false
false
551
hpp
TriggerEditor.hpp
#pragma once #include <cstdint> namespace Component { class Trigger; } namespace GUI { /// Editor controls for the trigger component. Displays a modal window with /// settings for a given trigger component. class TriggerEditor { public: enum Cases { PROPERTIES = 0, SUBJECTS, NUMBER_OF_CASES }; /// Open the trigger editor. void Open(); /// Display the editor. /** * @param comp Trigger component to edit. */ void Show(Component::Trigger& comp); private: uint32_t selectedTab = 0; }; } // namespace GUI
51349c69275cb3acf9b1b173c46045625c8bc545
00fa1f0c01414def3326b882dd23e9ccdd61d6f4
/src/AssimpModel.hpp
d1939f500028f14b9ffee59b0ef4afe4991fa5d7
[]
no_license
ThibaultFievet/toon-shading
03f13f80d2f1c9b105e6047a6beca9805aba0423
c9402247eaecc9dcfc930f72cd62c8a61b20b911
refs/heads/master
2020-06-07T21:58:45.996295
2015-03-23T23:50:22
2015-03-23T23:50:22
32,433,675
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
hpp
AssimpModel.hpp
#pragma once #include <iostream> #include <string> #include <vector> #include <map> #include "glew/glew.h" #include "VBO.hpp" #include "VAO.hpp" #include <assimp/Importer.hpp> // C++ importer interface #include <assimp/scene.h> // Output data structure #include <assimp/postprocess.h> // Post processing flags #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" class AssimpModel { public : AssimpModel() {} AssimpModel(GLuint GLId, const std::string& pFile); // Import du fichier pFile. ~AssimpModel(); // Destructeur. void RenderModel(); // Rendu du modèle 3D. std::vector<struct Vertex> vertices; private : bool ImportFromFile(const std::string& pFile); bool BuildAssimpModel(const aiScene* scene); bool LoadTextures(const aiScene* scene); bool GenVerticesObjects(); void set_float4(glm::vec4& f, float a, float b, float c, float d); void color4_to_float4(const aiColor4D *c, glm::vec4& f); std::vector<struct Mesh> meshes; VBO vbo; VAO vao; std::map<std::string, GLuint> textureIdMap; GLuint uDiffuseLoc; GLuint uAmbientLoc; GLuint uSpecularLoc; GLuint uEmissiveLoc; GLuint uShininessLoc; GLuint uTexCountLoc; }; struct Material { glm::vec4 diffuse; glm::vec4 ambient; glm::vec4 specular; glm::vec4 emissive; float shininess; int texCount; }; struct Vertex { glm::vec3 position; glm::vec3 normal; glm::vec2 texCoords; }; struct Mesh { unsigned int nbVertices; struct Material material; GLuint texId; };
346873131b991f93e4628d470b32019694ecc19d
44ffe14c37baf3b16932c00677d8b35575f32755
/src/xtopcom/xstatestore/src/xstatestore_exec.cpp
e1166b4622387908b29324e32f34c82d3560ae5a
[]
no_license
telosprotocol/TOP-chain
199fca0a71c439a8c18ba31f16641c639575ea29
1f168664d1eb4175df8f1596e81acd127112414a
refs/heads/master
2023-07-25T01:24:34.437043
2023-06-05T01:28:24
2023-06-05T01:28:24
312,178,439
13
46
null
2023-07-18T01:09:29
2020-11-12T05:38:44
C++
UTF-8
C++
false
false
60,317
cpp
xstatestore_exec.cpp
// Copyright (c) 2017-2018 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "xbase/xutl.h" #include "xbasic/xmemory.hpp" #include "xdata/xtable_bstate.h" #include "xdata/xblockbuild.h" #include "xdata/xblocktool.h" #include "xmbus/xevent_behind.h" #include "xstatestore/xstatestore_exec.h" #include "xstatestore/xerror.h" #include "xvledger/xvledger.h" #include "xvledger/xvblock_offdata.h" NS_BEG2(top, statestore) std::mutex xstatestore_executor_t::m_global_execute_lock; xstatestore_executor_t::xstatestore_executor_t(common::xtable_address_t const& table_addr, xexecute_listener_face_t * execute_listener) : m_table_addr{table_addr},m_table_vaddr{table_addr.vaccount()},m_state_accessor{table_addr},m_execute_listener(execute_listener) { } void xstatestore_executor_t::init() { uint64_t old_executed_height = m_statestore_base.get_latest_executed_block_height(m_table_addr); recover_execute_height(old_executed_height); } void xstatestore_executor_t::recover_execute_height(uint64_t old_executed_height) { // XTODO recover execute_height because the state of execute height may be pruned for (uint64_t i = old_executed_height; i < old_executed_height + 512; i++) { xobject_ptr_t<base::xvblock_t> _block = m_statestore_base.get_blockstore()->load_block_object(m_table_vaddr, i, base::enum_xvblock_flag_committed, false); if (nullptr == _block) { xwarn("xstatestore_executor_t::xstatestore_executor_t fail-load block. table=%s,execute_height=%ld,height=%ld,", m_table_addr.to_string().c_str(), old_executed_height, i); if (i == 0) { base::xauto_ptr<base::xvblock_t> _genesis_block = data::xblocktool_t::create_genesis_empty_table(m_table_addr.to_string()); _block = _genesis_block; } else { continue; } } std::error_code ec; xtablestate_ext_ptr_t tablestate_ext; if (i == 0) { // the state of height#0 may not writted to db tablestate_ext = make_state_from_current_table(_block.get(), ec); } else { tablestate_ext = m_state_accessor.read_table_bstate_from_db(m_table_addr, _block.get()); } if (nullptr == tablestate_ext) { xwarn("xstatestore_executor_t::xstatestore_executor_t fail-load tablestate. table=%s,execute_height=%ld,height=%ld", m_table_addr.to_string().c_str(), old_executed_height, i); continue; } set_latest_executed_info(true, _block->get_height()); m_state_accessor.write_table_bstate_to_cache(m_table_addr, _block->get_height(), _block->get_block_hash(), tablestate_ext, true); xinfo("xstatestore_executor_t::xstatestore_executor_t succ table=%s,execute_height=%ld,%ld", m_table_addr.to_string().c_str(), old_executed_height, get_commit_executed_height_inner()); return; } // XTODO should not happen xerror("xstatestore_executor_t::xstatestore_executor_t fail-recover execute height. %s,height=%ld", m_table_addr.to_string().c_str(), old_executed_height); } void xstatestore_executor_t::on_table_block_committed(base::xvblock_t* block) const { std::lock_guard<std::mutex> l(m_execute_lock); std::error_code ec; uint64_t old_execute_height = get_commit_executed_height_inner(); if (block->get_height() <= old_execute_height) { xdbg("xstatestore_executor_t::on_table_block_committed finish-already done.execute_height old=%ld,block=%s", old_execute_height, block->dump().c_str()); return; } if (get_cert_executed_height_inner() >= block->get_height()) { xtablestate_ext_ptr_t tablestate_ext = m_state_accessor.read_table_bstate(m_table_addr, block); if (nullptr != tablestate_ext) { set_latest_executed_info(true, block->get_height()); // increase commit execute height xdbg("xstatestore_executor_t::on_table_block_committed finish-update execute height.execute_height old=%ld,block=%s", old_execute_height, block->dump().c_str()); return; } //here may happen when cert block forked, it's ok xinfo("xstatestore_executor_t::on_table_block_committed fail-get commit state.cert=%ld,block=%s",get_cert_executed_height_inner(), block->dump().c_str()); } xinfo("xstatestore_executor_t::on_table_block_committed enter.execute_height=%ld,block=%s", old_execute_height,block->dump().c_str()); if (block->get_height() == old_execute_height + 1) { uint32_t limit = 1; execute_block_recursive(block, limit, ec); if (ec) { xwarn("xstatestore_executor_t::on_table_block_committed fail-execute match block.execute_height=%ld,block=%s", old_execute_height,block->dump().c_str()); return; } } update_execute_from_execute_height(true); // force update } bool xstatestore_executor_t::on_table_block_committed_by_height(uint64_t height, const std::string & block_hash) const { std::lock_guard<std::mutex> l(m_execute_lock); std::error_code ec; uint64_t old_execute_height = get_commit_executed_height_inner(); if (height <= old_execute_height) { xdbg("xstatestore_executor_t::on_table_block_committed_by_height finish-already done.execute_height old=%ld,new=%ld", old_execute_height, height); return true; } if (get_cert_executed_height_inner() >= height) { xtablestate_ext_ptr_t tablestate_ext = m_state_accessor.read_table_bstate_from_cache(m_table_addr, height, block_hash); if (nullptr != tablestate_ext) { // update latest connected tablestate m_state_accessor.write_table_bstate_to_cache(m_table_addr, height, block_hash, tablestate_ext, true); set_latest_executed_info(true, height); // increase commit execute height xdbg("xstatestore_executor_t::on_table_block_committed finish-update execute height.execute_height old=%ld,new=%ld", old_execute_height, height); return true; } } return false; } xtablestate_ext_ptr_t xstatestore_executor_t::execute_and_get_tablestate_ext_unlock(base::xvblock_t* block, bool bstate_must, std::error_code & ec) const { xtablestate_ext_ptr_t tablestate_ext = nullptr; // try to push execute firstly uint64_t commit_execute_height = update_execute_from_execute_height(false); uint64_t cert_execute_height = get_cert_executed_height_inner(); // read state if block height less than cert execute height if (block->get_height() <= cert_execute_height) { if (bstate_must) { tablestate_ext = m_state_accessor.read_table_bstate(m_table_addr, block); } else { tablestate_ext = m_state_accessor.read_table_bstate_for_account_index(m_table_addr, block); } if (nullptr != tablestate_ext) { xdbg("xstatestore_executor_t::execute_and_get_tablestate_ext_unlock succ-read state.cert_execute_height=%ld,block=%s",cert_execute_height,block->dump().c_str()); return tablestate_ext; } if (block->get_height() <= commit_execute_height) { ec = error::xerrc_t::statestore_load_tablestate_err; xwarn("xstatestore_executor_t::execute_and_get_tablestate_ext_unlock fail-read commit state.execute_height=%ld,block=%s",commit_execute_height,block->dump().c_str()); return nullptr; } } // try push block execute if long distance from execute height if (block->get_height() > commit_execute_height+3) { ec = error::xerrc_t::statestore_cannot_execute_for_long_distance_err; xwarn("xstatestore_executor_t::execute_and_get_tablestate_ext_unlock fail-can't execute for long distance.execute_height=%ld,%ld,block=%s", get_cert_executed_height_inner(),commit_execute_height,block->dump().c_str()); return nullptr; } // 3. try execute block on demand, commit,lock,cert,current_block uint32_t limit = 3; tablestate_ext = execute_block_recursive(block, limit, ec); if (nullptr == tablestate_ext) { xwarn("xstatestore_executor_t::execute_and_get_tablestate_ext_unlock fail-execute recursive.execute_height=%ld,%ld,limit=%d,block=%s", get_cert_executed_height_inner(),get_commit_executed_height_inner(),limit,block->dump().c_str()); } else { xdbg("xstatestore_executor_t::execute_and_get_tablestate_ext_unlock succ-execute recursive.execute_height=%ld,%ld,limit=%d,block=%s", get_cert_executed_height_inner(),get_commit_executed_height_inner(),limit,block->dump().c_str()); } return tablestate_ext; } xtablestate_ext_ptr_t xstatestore_executor_t::execute_and_get_tablestate_ext(base::xvblock_t* block, bool bstate_must, std::error_code & ec) const { std::lock_guard<std::mutex> l(m_execute_lock); return execute_and_get_tablestate_ext_unlock(block, bstate_must, ec); } // XTODO should always get successfully xtablestate_ext_ptr_t xstatestore_executor_t::get_latest_executed_tablestate_ext() const { std::lock_guard<std::mutex> l(m_execute_lock); update_execute_from_execute_height(false); return m_state_accessor.get_latest_connectted_table_state(); } xtablestate_ext_ptr_t xstatestore_executor_t::do_commit_table_all_states(base::xvblock_t* current_block, xtablestate_store_ptr_t const& tablestate_store, std::map<std::string, base::xaccount_index_t> const& account_index_map, std::error_code & ec) const { m_account_index_cache.update_new_cert_block(current_block, account_index_map); std::lock_guard<std::mutex> l(m_execute_lock); return write_table_all_states(current_block, tablestate_store, ec); } void xstatestore_executor_t::execute_and_get_accountindex(base::xvblock_t* block, common::xaccount_address_t const& unit_addr, base::xaccount_index_t & account_index, std::error_code & ec) const { auto ret = m_account_index_cache.get_account_index(block, unit_addr.to_string(), account_index); XMETRICS_GAUGE(metrics::statestore_get_account_index_from_cache, ret ? 1 : 0); if (ret) { return; } xtablestate_ext_ptr_t tablestate_ext = execute_and_get_tablestate_ext(block, false, ec); if (nullptr != tablestate_ext) { tablestate_ext->get_accountindex(unit_addr.to_string(), account_index, ec); } } bool xstatestore_executor_t::accountindex_cache_unbroken(base::xvblock_t * table_block) const { return m_account_index_cache.cache_unbroken(table_block); } bool xstatestore_executor_t::get_accountindex_by_recent_blocks_cache(base::xvblock_t* block, common::xaccount_address_t const& unit_addr, base::xaccount_index_t & account_index) const { auto ret = m_account_index_cache.get_account_index(block, unit_addr.to_string(), account_index); XMETRICS_GAUGE(metrics::statestore_get_account_index_from_cache, ret ? 1 : 0); return ret; } void xstatestore_executor_t::execute_and_get_tablestate(base::xvblock_t* block, data::xtablestate_ptr_t &tablestate, std::error_code & ec) const { xtablestate_ext_ptr_t tablestate_ext = execute_and_get_tablestate_ext(block, true, ec); if (nullptr != tablestate_ext) { tablestate = tablestate_ext->get_table_state(); } } xtablestate_ext_ptr_t xstatestore_executor_t::execute_block_recursive(base::xvblock_t* block, uint32_t & limit, std::error_code & ec) const { xassert(!ec); xdbg("xstatestore_executor_t::execute_block_recursive enter.block=%s,limit=%d",block->dump().c_str(),limit); if (limit == 0) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 0); ec = error::xerrc_t::statestore_try_limit_arrive_err; xwarn("xstatestore_executor_t::execute_block_recursive fail-limit to zero.block=%s", block->dump().c_str()); return nullptr; } limit--; // 1.try make state from current table xtablestate_ext_ptr_t tablestate = make_state_from_current_table(block, ec); if (ec) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 0); xwarn("xstatestore_executor_t::execute_block_recursive fail-make_state_from_current_table.limit=%d,block=%s", limit,block->dump().c_str()); return nullptr; } if (nullptr != tablestate) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 1); xdbg("xstatestore_executor_t::execute_block_recursive succ by make from current.limit=%d,cur_block=%s", limit,block->dump().c_str()); return tablestate; } // 2.try load prev-state from cache or db should load block first for get state-root xassert(block->get_height() > 0); xtablestate_ext_ptr_t prev_tablestate = m_state_accessor.read_table_bstate_from_cache(m_table_addr, block->get_height() - 1, block->get_last_block_hash()); if (nullptr == prev_tablestate) { xwarn("xstatestore_executor_t::execute_block_recursive fail-read prev state from cache.limit=%d,cur_block=%s", limit,block->dump().c_str()); xobject_ptr_t<base::xvblock_t> prev_block = m_statestore_base.get_blockstore()->load_block_object(m_table_vaddr, block->get_height()-1, block->get_last_block_hash(), false); XMETRICS_GAUGE(metrics::statestore_load_table_block_succ, nullptr != prev_block ? 1 : 0); if (nullptr == prev_block) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 0); ec = error::xerrc_t::statestore_load_tableblock_err; xwarn("xstatestore_executor_t::execute_block_recursive fail-load prev block.cur_block=%s", block->dump().c_str()); return nullptr; } prev_tablestate = m_state_accessor.read_table_bstate_from_db(m_table_addr, prev_block.get()); if (nullptr == prev_tablestate) { xwarn("xstatestore_executor_t::execute_block_recursive fail-read prev state from db.limit=%d,cur_block=%s", limit,block->dump().c_str()); prev_tablestate = execute_block_recursive(prev_block.get(), limit, ec); if (nullptr == prev_tablestate) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 0); xwarn("xstatestore_executor_t::execute_block_recursive fail-execute prev block.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } } } tablestate = make_state_from_prev_state_and_table(block, prev_tablestate, ec); if (ec) { XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 0); xwarn("xstatestore_executor_t::execute_block_recursive fail.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } XMETRICS_GAUGE(metrics::statestore_execute_block_recursive_succ, 1); xassert(nullptr != tablestate); xdbg("xstatestore_executor_t::execute_block_recursive succ by recursive from prev.limit=%d,cur_block=%s", limit,block->dump().c_str()); return tablestate; } uint64_t xstatestore_executor_t::update_execute_from_execute_height(bool force_update) const { uint64_t old_execute_height = get_commit_executed_height_inner(); if (force_update) { m_force_push_execute_count = 0; } else if (m_force_push_execute_count > 0) { m_force_push_execute_count--; return old_execute_height; } uint64_t _highest_commit_block_height = m_statestore_base.get_blockstore()->get_latest_committed_block_height(m_table_vaddr); if (old_execute_height >= _highest_commit_block_height) { m_force_push_execute_count = push_execute_limit; return old_execute_height; } xdbg("xstatestore_executor_t::update_execute_from_execute_height do update.account=%s,execute_height=%ld,commit_height=%ld", m_table_vaddr.get_account().c_str(), old_execute_height, _highest_commit_block_height); uint64_t max_count = execute_update_limit; uint64_t max_height = (old_execute_height + max_count) > _highest_commit_block_height ? _highest_commit_block_height : (old_execute_height + max_count); std::error_code ec; uint64_t new_execute_height = old_execute_height; for (uint64_t height=old_execute_height+1; height <= max_height; height++) { xobject_ptr_t<base::xvblock_t> cur_block = m_statestore_base.get_blockstore()->load_block_object(m_table_vaddr, height, base::enum_xvblock_flag_committed, false); XMETRICS_GAUGE(metrics::statestore_load_table_block_succ, nullptr != cur_block ? 1 : 0); if (nullptr == cur_block) { m_force_push_execute_count = push_execute_limit; xwarn("xstatestore_executor_t::update_execute_from_execute_height fail-load committed block.account=%s,height=%ld,commit_height=%ld", m_table_addr.to_string().c_str(), height, _highest_commit_block_height); break; } if (height <= get_cert_executed_height_inner()) { // try to load state and update commit execute height xtablestate_ext_ptr_t tablestate = m_state_accessor.read_table_bstate(m_table_addr, cur_block.get()); if (nullptr != tablestate) { set_latest_executed_info(true, height); new_execute_height = height; continue; } } uint32_t limit = 2; std::error_code ec; xtablestate_ext_ptr_t tablestate = execute_block_recursive(cur_block.get(), limit, ec); if (nullptr == tablestate) { m_force_push_execute_count = push_execute_limit; xwarn("xstatestore_executor_t::update_execute_from_execute_height fail-execute block.account=%s,height=%ld", m_table_addr.to_string().c_str(), height); break; } else { xinfo("xstatestore_executor_t::update_execute_from_execute_height succ-execute block.account=%s,height=%ld", m_table_addr.to_string().c_str(), height); } new_execute_height = height; } return new_execute_height; } xtablestate_ext_ptr_t xstatestore_executor_t::make_state_from_current_table(base::xvblock_t* current_block, std::error_code & ec) const { xobject_ptr_t<base::xvbstate_t> current_state = nullptr; // try make state form block self if ( current_block->get_height() != 0 ) { // it is normal case return nullptr; } current_state = make_object_ptr<base::xvbstate_t>(*current_block); if (current_block->get_block_class() != base::enum_xvblock_class_nil) { std::string binlog = current_block->get_block_class() == base::enum_xvblock_class_light ? current_block->get_binlog() : current_block->get_full_state(); xassert(!binlog.empty()); if(false == current_state->apply_changes_of_binlog(binlog)) { ec = error::xerrc_t::statestore_binlog_apply_err; xerror("xstatestore_executor_t::make_state_from_current_table fail-invalid binlog and abort it for block(%s)",current_block->dump().c_str()); return nullptr; } } data::xtablestate_ptr_t table_bstate = std::make_shared<data::xtable_bstate_t>(current_state.get()); auto const & block_state_root = m_statestore_base.get_state_root_from_block(current_block); std::shared_ptr<state_mpt::xstate_mpt_t> cur_mpt = state_mpt::xstate_mpt_t::create(common::xtable_address_t::build_from(current_block->get_account()), block_state_root, m_statestore_base.get_dbstore(), ec); if (ec) { xwarn("xstatestore_executor_t::make_state_from_current_table fail-create mpt.block=%s", current_block->dump().c_str()); return nullptr; } // write all table "state" to db std::vector<data::xunitstate_store_para_t> _unitstate_paras; xtablestate_store_ptr_t tablestate_store = std::make_shared<xtablestate_store_t>(table_bstate, cur_mpt, block_state_root, std::move(_unitstate_paras)); xtablestate_ext_ptr_t tablestate = write_table_all_states(current_block, tablestate_store, ec); if (ec) { xerror("xstatestore_executor_t::make_state_from_current_table fail-write_table_all_states.block:%s", current_block->dump().c_str()); return nullptr; } xdbg("xstatestore_executor_t::make_state_from_current_table succ,block=%s",current_block->dump().c_str()); return tablestate; } xtablestate_ext_ptr_t xstatestore_executor_t::write_table_all_states(base::xvblock_t* current_block, xtablestate_store_ptr_t const& tablestate_store, std::error_code & ec) const { if ((current_block->get_account() != tablestate_store->get_table_state()->account_address().to_string()) || (current_block->get_height() != tablestate_store->get_table_state()->height()) || current_block->get_viewid() != tablestate_store->get_table_state()->get_block_viewid() ) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::write_table_all_states fail-invalid block and state.block=%s,bstate=%s",current_block->dump().c_str(), tablestate_store->get_table_state()->get_bstate()->dump().c_str()); return nullptr; } auto block_state_root = m_statestore_base.get_state_root_from_block(current_block); if (block_state_root != tablestate_store->get_state_root()) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::write_table_all_states fail-invalid state root.block=%s,state_root=%s:%s",current_block->dump().c_str(), block_state_root.hex().c_str(), tablestate_store->get_state_root().hex().c_str()); return nullptr; } if (current_block->get_height() != 0 && current_block->get_height() <= get_cert_executed_height_inner()) { auto tablestate_ext = m_state_accessor.read_table_bstate(m_table_addr, current_block); if (nullptr != tablestate_ext) { xwarn("xstatestore_executor_t::write_table_all_states tps_key repeat write states.block=%s", current_block->dump().c_str()); return tablestate_ext; } // fork blocks may execute some times with same height xwarn("xstatestore_executor_t::write_table_all_states fork blocks write states.block=%s", current_block->dump().c_str()); } xinfo("xstatestore_executor_t::write_table_all_states tps_key begin,block:%s",current_block->dump().c_str()); #ifdef DEBUG auto table_full_state_hash = current_block->get_fullstate_hash(); if (!table_full_state_hash.empty()) { // XTODO empty block has no fullstate hash std::string bstate_snapshot_bin; tablestate_store->get_table_state()->get_bstate()->take_snapshot(bstate_snapshot_bin); auto table_bstate_hash = current_block->get_cert()->hash(bstate_snapshot_bin); if (table_full_state_hash != table_bstate_hash) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::write_table_all_states fail-invalid bstate hahs.block=%s,bstate_hash=%s:%s",current_block->dump().c_str(), top::to_hex(table_full_state_hash).c_str(), top::to_hex(table_bstate_hash).c_str()); return nullptr; } } #endif // only need store fullunit offchain state std::map<std::string, std::string> unitstate_db_kvs; bool need_store_units = base::xvchain_t::instance().need_store_units(m_table_vaddr.get_zone_index()); uint32_t serialize_count = 0; uint32_t fullunit_count = 0; for (auto & v : tablestate_store->get_unitstates()) { std::string unitstate_value = v.m_unitstate_bin; if (unitstate_value.empty()) { v.m_unitstate->get_bstate()->serialize_to_string(unitstate_value); serialize_count++; } if (need_store_units && v.m_unitstate->get_bstate()->get_block_type() == base::enum_xvblock_type_fullunit) { std::string fullunit_state_key = base::xvdbkey_t::create_prunable_fullunit_state_key(v.m_unitstate->account_address().vaccount(), v.m_unitstate->height(), v.m_unit_hash); unitstate_db_kvs[fullunit_state_key] = unitstate_value; fullunit_count++; } // always store unitstate std::string state_db_key = base::xvdbkey_t::create_prunable_unit_state_key(v.m_unitstate->account_address().vaccount(), v.m_unitstate->height(), v.m_unit_hash); unitstate_db_kvs[state_db_key] = unitstate_value; m_state_accessor.write_unitstate_to_cache(v.m_unitstate, v.m_unit_hash); xdbg("xstatestore_executor_t::write_table_all_states unitstate=%s.block=%s", v.m_unitstate->get_bstate()->dump().c_str(), current_block->dump().c_str()); } xdbg("xstatestore_executor_t::write_table_all_states tps_key serialize states,block:%s,kvs=%zu,serialize_count=%d,fullunit_count=%d",current_block->dump().c_str(), unitstate_db_kvs.size(),serialize_count,fullunit_count); if (!unitstate_db_kvs.empty()) { m_state_accessor.batch_write_unit_bstate(unitstate_db_kvs, ec); if (ec) { xerror("xstatestore_executor_t::write_table_all_states fail-write unitstate,block:%s", current_block->dump().c_str()); return nullptr; } } // store unit state and table state very fast. not need info log. xdbg("xstatestore_executor_t::write_table_all_states store unitstate ok,block:%s,size=%zu",current_block->dump().c_str(),unitstate_db_kvs.size()); m_state_accessor.write_table_bstate_to_db(m_table_addr, current_block->get_block_hash(), tablestate_store->get_table_state(), ec); if (ec) { xerror("xstatestore_executor_t::write_table_all_states fail-write tablestate,block:%s", current_block->dump().c_str()); return nullptr; } xinfo("xstatestore_executor_t::write_table_all_states tps_key store state done.block=%s", current_block->dump().c_str()); if (current_block->get_block_class() != base::enum_xvblock_class_nil) { if (!tablestate_store->get_state_root().empty()) { auto const mpt = tablestate_store->get_state_mpt(); mpt->commit(ec); if (ec) { xerror("xstatestore_executor_t::write_table_all_states fail-write mpt,block:%s.ec=%s", current_block->dump().c_str(),ec.message().c_str()); return nullptr; } xinfo("xstatestore_executor_t::write_table_all_states tps_key mpt_root=%s.block=%s", tablestate_store->get_state_root().hex().c_str(), current_block->dump().c_str()); if (!base::xvchain_t::instance().need_store_units(m_table_vaddr.get_zone_index())) { // only state aware node need to push pending pruned data into trie db (memory db) mpt->prune(ec); if (ec) { xwarn("mpt->prune(ec) failed. category %s errc %d msg %s", ec.category().name(), ec.value(), ec.message().c_str()); // !!! no need to return error !!! it only affects DB size. ec.clear(); } } } } // create mpt ptr and table state ptr very fast. not need info log. xdbg("xstatestore_executor_t::write_table_all_states after commit,block:%s",current_block->dump().c_str()); std::shared_ptr<state_mpt::xstate_mpt_t> cur_mpt = state_mpt::xstate_mpt_t::create(common::xtable_address_t::build_from(current_block->get_account()), tablestate_store->get_state_root(), m_statestore_base.get_dbstore(), ec); if (ec) { xerror("xstatestore_executor_t::write_table_all_states fail-create mpt.block:%s", current_block->dump().c_str()); return nullptr; } xdbg("xstatestore_executor_t::write_table_all_states create cur mpt ok,block:%s",current_block->dump().c_str()); xtablestate_ext_ptr_t tablestate = std::make_shared<xtablestate_ext_t>(tablestate_store->get_table_state(), cur_mpt); m_state_accessor.write_table_bstate_to_cache(m_table_addr, current_block->get_height(), current_block->get_block_hash(), tablestate, current_block->check_block_flag(base::enum_xvblock_flag_committed)); set_latest_executed_info(current_block->check_block_flag(base::enum_xvblock_flag_committed), current_block->get_height()); xinfo("xstatestore_executor_t::write_table_all_states tps_key succ,block:%s,execute_height=%ld,unitstates=%zu,state_root=%s", current_block->dump().c_str(), get_commit_executed_height_inner(),tablestate_store->get_unitstates().size(),tablestate_store->get_state_root().hex().c_str()); return tablestate; } xtablestate_ext_ptr_t xstatestore_executor_t::make_state_from_prev_state_and_table(base::xvblock_t* current_block, xtablestate_ext_ptr_t const& prev_state, std::error_code & ec) const { class alocker { private: alocker(); alocker(const alocker &); alocker & operator = (const alocker &); public: alocker(std::mutex & globl_locker,bool auto_lock) :m_ref_mutex(globl_locker) { m_auto_lock = auto_lock; if(m_auto_lock) m_ref_mutex.lock(); } ~alocker() { if(m_auto_lock) { m_ref_mutex.unlock(); } } private: std::mutex & m_ref_mutex; bool m_auto_lock; }; if (current_block->get_height() != prev_state->get_table_state()->height() + 1) { ec = error::xerrc_t::statestore_block_unmatch_prev_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-block and state unmatch.block=%s,state=%s",current_block->dump().c_str(),prev_state->get_table_state()->get_bstate()->dump().c_str()); return nullptr; } if (get_need_sync_state_height_inner() != 0 && current_block->check_block_flag(base::enum_xvblock_flag_committed) && get_need_sync_state_height_inner() == current_block->check_block_flag(base::enum_xvblock_flag_committed)) { ec = error::xerrc_t::statestore_need_state_sync_fail; xwarn("xstatestore_executor_t::make_state_from_prev_state_and_table fail-need all state sync.block=%s,height=%ld",current_block->dump().c_str(),m_need_all_state_sync_height); return nullptr; } // should clone a new state for execute xobject_ptr_t<base::xvbstate_t> current_state = make_object_ptr<base::xvbstate_t>(*current_block, *prev_state->get_table_state()->get_bstate()); std::shared_ptr<state_mpt::xstate_mpt_t> current_prev_mpt = state_mpt::xstate_mpt_t::create(m_table_addr, prev_state->get_state_mpt()->original_root_hash(), m_statestore_base.get_dbstore(), ec); auto const & block_state_root = m_statestore_base.get_state_root_from_block(current_block); base::xaccount_indexs_t account_indexs; bool is_first_mpt = false; if (current_block->get_height() > 1 && current_prev_mpt->original_root_hash().empty() && !block_state_root.empty()) { is_first_mpt = true; } alocker global_lock(m_global_execute_lock, is_first_mpt); // XTODO first mpt will use too much memory, so add global lock if (current_block->get_block_class() == base::enum_xvblock_class_light) { if (false == m_statestore_base.get_blockstore()->load_block_output(m_table_vaddr, current_block)) { ec = error::xerrc_t::statestore_load_tableblock_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-load output for block(%s)",current_block->dump().c_str()); return nullptr; } std::string binlog = current_block->get_binlog(); if (binlog.empty()) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-binlog empty for block(%s)",current_block->dump().c_str()); return nullptr; } if(false == current_state->apply_changes_of_binlog(binlog)) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-invalid binlog apply for block(%s)",current_block->dump().c_str()); return nullptr; } // upgrade for first mpt build if (is_first_mpt) { data::xtablestate_ptr_t cur_table_bstate = std::make_shared<data::xtable_bstate_t>(current_state.get()); std::map<std::string, std::string> indexes = cur_table_bstate->map_get(data::XPROPERTY_TABLE_ACCOUNT_INDEX); xinfo("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt begin.indexes_count=%zu.block=%s",indexes.size(), current_block->dump().c_str()); for (auto & v : indexes) { common::xaccount_address_t account{v.first}; auto & account_index_str = v.second; current_prev_mpt->set_account_index(account, account_index_str, ec); if (ec) { xerror("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt fail-set mpt accountindex for block(%s)",current_block->dump().c_str()); return nullptr; } base::xaccount_index_t accountindex; accountindex.serialize_from(account_index_str); data::xunitstate_ptr_t unitstate = nullptr; build_unitstate_by_accountindex(account, accountindex, unitstate, ec); if (nullptr == unitstate) { if (current_block->check_block_flag(base::enum_xvblock_flag_committed)) { set_need_sync_state_block_height(current_block->get_height()); } ec = error::xerrc_t::statestore_need_state_sync_fail; xwarn("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt fail-make unitstate.need do state sync for table block(%s),account=%s,%s", current_block->dump().c_str(), account.to_string().c_str(), accountindex.dump().c_str()); return nullptr; } m_state_accessor.write_unitstate_to_db(unitstate, accountindex.get_latest_unit_hash(), ec); if (ec) { xerror("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt fail-write unitstate for block(%s),account=%s,%s", current_block->dump().c_str(), account.to_string().c_str(), accountindex.dump().c_str()); return nullptr; } xinfo("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt write unitstate.block(%s),account=%s,%s", current_block->dump().c_str(), account.to_string().c_str(), accountindex.dump().c_str()); } xinfo("xstatestore_executor_t::make_state_from_prev_state_and_table upgrade first mpt finish.indexes_count=%zu.block=%s",indexes.size(), current_block->dump().c_str()); } // set changed accountindexs auto account_indexs_str = current_block->get_account_indexs(); if (!account_indexs_str.empty()) { account_indexs.serialize_from_string(account_indexs_str); for (auto & index : account_indexs.get_account_indexs()) { current_prev_mpt->set_account_index(common::xaccount_address_t{index.first}, index.second, ec); if (ec) { xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-set mpt account index.block:%s", current_block->dump().c_str()); return nullptr; } } // check if root matches. auto cur_root_hash = current_prev_mpt->get_root_hash(ec); if (cur_root_hash != block_state_root) { ec = error::xerrc_t::statestore_block_root_unmatch_mpt_root_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-root not match cur_root_hash:%s,state_root_hash:%s,block:%s", cur_root_hash.hex().c_str(), block_state_root.hex().c_str(), current_block->dump().c_str()); return nullptr; } } } std::vector<data::xunitstate_store_para_t> _unitstate_paras; // XTODO always apply table block's binlogs for unitstates if (account_indexs.get_account_indexs().size() > 0) { if (false == m_statestore_base.get_blockstore()->load_block_output_offdata(m_table_vaddr, current_block)) { ec = error::xerrc_t::statestore_load_tableblock_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-load output offdata for block(%s)",current_block->dump().c_str()); return nullptr; } base::xvblock_out_offdata_t offdata; offdata.serialize_from_string(current_block->get_output_offdata()); auto subblocks_info = offdata.get_subblocks_info(); // the count of account indexs may larger than units if (account_indexs.get_account_indexs().size() < subblocks_info.size()) { ec = error::xerrc_t::statestore_block_invalid_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table,fail-units count unmatch for table block(%s)", current_block->dump().c_str()); return nullptr; } for (size_t i = 0; i < subblocks_info.size(); i++) { auto & vheader_ptr = subblocks_info[i].get_header(); xassert(vheader_ptr != nullptr); //should has value common::xaccount_address_t unit_address(vheader_ptr->get_account()); auto const & accountindex = account_indexs.get_account_indexs()[i].second; xassert(account_indexs.get_account_indexs()[i].first == vheader_ptr->get_account()); xassert(accountindex.get_latest_unit_height() == vheader_ptr->get_height()); std::string binlog; if (vheader_ptr->is_character_simple_unit()) { base::xunit_header_extra_t unit_extra; unit_extra.deserialize_from_string(vheader_ptr->get_extra_data()); binlog = unit_extra.get_binlog(); xassert(unit_extra.get_state_hash() == accountindex.get_latest_state_hash()); } else { binlog = subblocks_info[i].get_binlog(); } data::xunitstate_ptr_t unitstate = execute_unitstate_from_prev_state(unit_address, accountindex, vheader_ptr, current_block->get_viewid(), binlog, ec); if (nullptr == unitstate) { xerror("xstatestore_executor_t::make_state_from_prev_state_and_table,fail-make unitstate for table block(%s),accountindex(%s)", current_block->dump().c_str(), accountindex.dump().c_str()); return nullptr; } #ifdef DEBUG if (unitstate->height() > 0) xassert(unitstate->get_block_viewid() > 0); std::string _state_hash; if (accountindex.get_version() == base::enum_xaccountindex_version_snapshot_hash) { std::string snapshot_bin = unitstate->take_snapshot(); _state_hash = current_block->get_cert()->hash(snapshot_bin); } else { std::string state_bin; unitstate->get_bstate()->serialize_to_string(state_bin); _state_hash = current_block->get_cert()->hash(state_bin); } if (_state_hash != accountindex.get_latest_state_hash()) { ec = error::xerrc_t::statestore_tablestate_exec_fail; xerror("xstatestore_executor_t::make_state_from_prev_state_and_table,fail-unitstate unmatch hash %s,%s,accountindex(%s)", current_block->dump().c_str(), unitstate->get_bstate()->dump().c_str(), accountindex.dump().c_str()); return nullptr; } #endif data::xunitstate_store_para_t _para; _para.m_unitstate = unitstate; _para.m_unit_hash = accountindex.get_latest_unit_hash(); _para.m_unitstate_bin = std::string(); _unitstate_paras.emplace_back(_para); } } // write all table "state" to db data::xtablestate_ptr_t table_bstate = std::make_shared<data::xtable_bstate_t>(current_state.get()); xtablestate_store_ptr_t tablestate_store = std::make_shared<xtablestate_store_t>(table_bstate, current_prev_mpt, block_state_root, std::move(_unitstate_paras)); xtablestate_ext_ptr_t tablestate = write_table_all_states(current_block, tablestate_store, ec); if (ec) { xerror("xstatestore_executor_t::make_state_from_prev_state_and_table fail-write_table_all_states.block:%s", current_block->dump().c_str()); return nullptr; } xdbg("xstatestore_executor_t::make_state_from_prev_state_and_table succ,block=%s",current_block->dump().c_str()); return tablestate; } void xstatestore_executor_t::set_latest_executed_info(bool is_commit_block, uint64_t height) const { if (m_executed_cert_height < height) { m_executed_cert_height = height; } uint64_t new_commit_height; if (is_commit_block) { new_commit_height = height; } else { new_commit_height = height > 2 ? (height - 2) : 0; } if (m_executed_height < new_commit_height) { bool is_jump = m_executed_height + 1 < new_commit_height; m_executed_height = new_commit_height; m_statestore_base.set_latest_executed_info(m_table_addr, m_executed_height, is_jump); if (m_need_all_state_sync_height != 0 && m_executed_height > m_need_all_state_sync_height) { m_need_all_state_sync_height = 0; } if (m_execute_listener != nullptr) { m_execute_listener->on_executed(m_executed_height); } } xinfo("xstatestore_executor_t::set_latest_executed_info succ,account=%s,cert_height=%ld,commit_height=%ld,need_height=%ld", m_table_addr.to_string().c_str(),m_executed_cert_height,m_executed_height,m_need_all_state_sync_height); } void xstatestore_executor_t::set_need_sync_state_block_height(uint64_t height) const { xinfo("xstatestore_executor_t::set_need_sync_state_block_height succ,account=%s,old=%ld,new=%ld",m_table_addr.to_string().c_str(),m_need_all_state_sync_height,height); m_need_all_state_sync_height = height; } uint64_t xstatestore_executor_t::get_latest_executed_block_height() const { std::lock_guard<std::mutex> l(m_execute_lock); return m_executed_height; } uint64_t xstatestore_executor_t::get_need_sync_state_block_height() const { std::lock_guard<std::mutex> l(m_execute_lock); return m_need_all_state_sync_height; } void xstatestore_executor_t::raise_execute_height(const xstate_sync_info_t & sync_info) { std::lock_guard<std::mutex> l(m_execute_lock); // check if root and table state are already stored. xobject_ptr_t<base::xvblock_t> block = m_statestore_base.get_blockstore()->load_block_object(m_table_vaddr, sync_info.get_height(), sync_info.get_blockhash(), false); if (block == nullptr) { xerror("xstatestore_executor_t::raise_execute_height fail-load block. table=%s,height=%ld,hash=%s", m_table_addr.to_string().c_str(), sync_info.get_height(), base::xstring_utl::to_hex(sync_info.get_blockhash()).c_str()); return; } auto tablestate = m_state_accessor.read_table_bstate_from_db(m_table_addr, block.get()); if (nullptr == tablestate) { xerror("xstatestore_executor_t::raise_execute_height fail-read state. table=%s,height=%ld,hash=%s", m_table_addr.to_string().c_str(), sync_info.get_height(), base::xstring_utl::to_hex(sync_info.get_blockhash()).c_str()); return; } if (!sync_info.get_root_hash().empty()) { std::error_code ec; std::shared_ptr<state_mpt::xstate_mpt_t> cur_mpt = state_mpt::xstate_mpt_t::create(m_table_addr, sync_info.get_root_hash(), m_statestore_base.get_dbstore(), ec); if (ec) { xerror("xstatestore_executor_t::raise_execute_height fail-create mpt.table=%s,height=%ld,hash=%s,root=%s", m_table_addr.to_string().c_str(), sync_info.get_height(), base::xstring_utl::to_hex(sync_info.get_blockhash()).c_str(), sync_info.get_root_hash().hex().c_str()); return; } } xinfo("xstatestore_executor_t::raise_execute_height succ.table=%s,height=%ld,hash=%s,root:%s",m_table_addr.to_string().c_str(), sync_info.get_height(), base::xstring_utl::to_hex(sync_info.get_blockhash()).c_str(),sync_info.get_root_hash().hex().c_str()); set_latest_executed_info(true, sync_info.get_height()); // XTODO sync must be commit block } // =============unit executor================= void xstatestore_executor_t::build_unitstate_by_unit(common::xaccount_address_t const& unit_addr, base::xvblock_t* unit, data::xunitstate_ptr_t &unitstate, std::error_code & ec) const { // firstly, try get from cache and db unitstate = m_state_accessor.read_unit_bstate(unit_addr, unit->get_height(), unit->get_block_hash()); if (nullptr != unitstate) { xdbg("xstatestore_executor_t::build_unitstate_by_unit get from cache.block=%s", unit->dump().c_str()); return; } // secondly, try make state from current block uint32_t limit = execute_unit_limit_demand; // XTODO unitstate = execute_unit_recursive(unit_addr, unit, limit, ec); if (nullptr != unitstate) { m_state_accessor.write_unitstate_to_cache(unitstate, unit->get_block_hash()); // put to cache return; } xwarn("xstatestore_executor_t::build_unitstate_by_unit fail.ec=%s,block=%s,limit=%d",ec.message().c_str(), unit->dump().c_str(), limit); } void xstatestore_executor_t::build_unitstate_by_hash(common::xaccount_address_t const& unit_addr, uint64_t unit_height, std::string const& unit_hash, data::xunitstate_ptr_t &unitstate, std::error_code & ec) const { // firstly, try get from cache and db unitstate = m_state_accessor.read_unit_bstate(unit_addr, unit_height, unit_hash); if (nullptr != unitstate) { xdbg("xstatestore_executor_t::build_unitstate_by_hash get from cache account=%s,height=%ld,hash=%s", unit_addr.to_string().c_str(), unit_height,base::xstring_utl::to_hex(unit_hash).c_str()); return; } xobject_ptr_t<base::xvblock_t> _unit = m_statestore_base.get_blockstore()->load_unit(unit_addr.vaccount(), unit_height, unit_hash); if (nullptr == _unit) { if (unit_height == 0) { _unit = m_statestore_base.get_blockstore()->create_genesis_block(unit_addr.vaccount(), ec); } if (nullptr == _unit) { ec = error::xerrc_t::statestore_load_unitblock_err; xwarn("xstatestore_executor_t::build_unitstate_by_hash fail-load unit account=%s,height=%ld,hash=%s", unit_addr.to_string().c_str(), unit_height,base::xstring_utl::to_hex(unit_hash).c_str()); return; } } // secondly, try make state from current block uint32_t limit = execute_unit_limit_demand; // XTODO unitstate = execute_unit_recursive(unit_addr, _unit.get(), limit, ec); if (nullptr != unitstate) { m_state_accessor.write_unitstate_to_cache(unitstate, _unit->get_block_hash()); // put to cache return; } xwarn("xstatestore_executor_t::build_unitstate_by_hash fail.ec=%s,account=%s,,height=%ld,hash=%s", ec.message().c_str(), unit_addr.to_string().c_str(), unit_height,base::xstring_utl::to_hex(unit_hash).c_str()); } void xstatestore_executor_t::build_unitstate_by_accountindex(common::xaccount_address_t const& unit_addr, base::xaccount_index_t const& account_index, data::xunitstate_ptr_t &unitstate, std::error_code & ec) const { // firstly, try get from cache and db if (!account_index.get_latest_unit_hash().empty()) { unitstate = m_state_accessor.read_unit_bstate(unit_addr, account_index.get_latest_unit_height(), account_index.get_latest_unit_hash()); if (nullptr != unitstate) { xdbg("xstatestore_executor_t::build_unitstate_by_accountindex get from cache account=%s,accountindex=%s", unit_addr.to_string().c_str(), account_index.dump().c_str()); return; } } xobject_ptr_t<base::xvblock_t> _unit = nullptr; if (account_index.get_latest_unit_hash().empty()) { _unit = m_statestore_base.get_blockstore()->load_unit(unit_addr.vaccount(), account_index.get_latest_unit_height(), account_index.get_latest_unit_viewid()); } else { _unit = m_statestore_base.get_blockstore()->load_unit(unit_addr.vaccount(), account_index.get_latest_unit_height(), account_index.get_latest_unit_hash()); } if (nullptr == _unit) { if (account_index.get_latest_unit_height() == 0) { _unit = m_statestore_base.get_blockstore()->create_genesis_block(unit_addr.vaccount(), ec); } if (nullptr == _unit) { ec = error::xerrc_t::statestore_load_unitblock_err; xwarn("xstatestore_executor_t::build_unitstate_by_accountindex fail-load unit account=%s,accountindex=%s", unit_addr.to_string().c_str(), account_index.dump().c_str()); return; } } // secondly, try make state from current block uint32_t limit = execute_unit_limit_demand; // XTODO unitstate = execute_unit_recursive(unit_addr, _unit.get(), limit, ec); if (nullptr != unitstate) { m_state_accessor.write_unitstate_to_cache(unitstate, _unit->get_block_hash()); // put to cache return; } xwarn("xstatestore_executor_t::build_unitstate_by_accountindex fail.ec=%s,account=%s,accountindex=%s,limit=%d", ec.message().c_str(), unit_addr.to_string().c_str(), account_index.dump().c_str(),limit); } data::xunitstate_ptr_t xstatestore_executor_t::make_state_from_current_unit(common::xaccount_address_t const& unit_addr, base::xvblock_t * current_block, std::error_code & ec) const { // genesis unit or fullunit with on-block state if (current_block->get_height() == 0 || current_block->get_block_class() == base::enum_xvblock_class_full) { xobject_ptr_t<base::xvbstate_t> current_state = make_object_ptr<base::xvbstate_t>(*current_block); if (false == current_block->is_emptyunit()) { std::string binlog = current_block->get_block_class() == base::enum_xvblock_class_full ? current_block->get_full_state() : current_block->get_binlog(); if(binlog.empty() || false == current_state->apply_changes_of_binlog(binlog)) { ec = error::xerrc_t::statestore_binlog_apply_err; xerror("xstatestore_executor_t::make_state_from_current_unit,invalid binlog and abort it for block(%s),binlog(%zu)",current_block->dump().c_str(),binlog.size()); return nullptr; } } xdbg("xstatestore_executor_t::make_state_from_current_unit succ,block=%s",current_block->dump().c_str()); data::xunitstate_ptr_t unitstate = std::make_shared<data::xunit_bstate_t>(current_state.get()); return unitstate; } else if (current_block->get_block_class() == base::enum_xvblock_class_nil && current_block->get_block_type() == base::enum_xvblock_type_fullunit) { data::xunitstate_ptr_t unitstate2 = m_state_accessor.read_fullunit_bstate(unit_addr, current_block->get_height(), current_block->get_block_hash()); if (nullptr == unitstate2) { // it may happen for fullunit without off sate, try to read prev lightunit xwarn("xstatestore_executor_t::make_state_from_current_unit,fail read fullunit off state for block(%s)",current_block->dump().c_str()); return nullptr; } return unitstate2; } // normal case return nullptr; } data::xunitstate_ptr_t xstatestore_executor_t::make_state_from_prev_state_and_unit(common::xaccount_address_t const& unit_addr, base::xvblock_t * current_block, data::xunitstate_ptr_t const& prev_bstate, std::error_code & ec) const { if (current_block->get_height() != prev_bstate->height() + 1) { ec = error::xerrc_t::statestore_block_unmatch_prev_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_unit fail-block and state unmatch.block=%s,state=%s",current_block->dump().c_str(),prev_bstate->get_bstate()->dump().c_str()); return nullptr; } // old version fullunit should not run here if (current_block->is_fullunit() && (current_block->get_block_type() != base::enum_xvblock_type_fullunit) ) { ec = error::xerrc_t::statestore_block_unmatch_prev_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_unit fail-should not be full.block=%s,state=%s",current_block->dump().c_str(),prev_bstate->get_bstate()->dump().c_str()); return nullptr; } xobject_ptr_t<base::xvbstate_t> current_state = make_object_ptr<base::xvbstate_t>(*current_block, *prev_bstate->get_bstate()); if (false == current_block->is_emptyunit()) {// fullunit or lightunit both has binlog std::string binlog = current_block->get_binlog(); if (binlog.empty()) { ec = error::xerrc_t::statestore_db_read_abnormal_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_unit fail-binlog empty for block(%s)",current_block->dump().c_str()); return nullptr; } if(false == current_state->apply_changes_of_binlog(binlog)) { ec = error::xerrc_t::statestore_binlog_apply_err; xerror("xstatestore_executor_t::make_state_from_prev_state_and_unit fail-invalid binlog apply for block(%s)",current_block->dump().c_str()); return nullptr; } } xdbg("xstatestore_executor_t::make_state_from_prev_state_and_unit succ,block=%s",current_block->dump().c_str()); data::xunitstate_ptr_t unitstate = std::make_shared<data::xunit_bstate_t>(current_state.get()); return unitstate; } data::xunitstate_ptr_t xstatestore_executor_t::execute_unitstate_from_prev_state(common::xaccount_address_t const& unit_addr, base::xaccount_index_t const& current_accountindex, base::xauto_ptr<base::xvheader_t> const& current_header, uint64_t viewid, std::string const& binlog, std::error_code & ec) const { xassert(current_header->get_height() > 0); data::xunitstate_ptr_t prev_unitstate = nullptr; //m_state_accessor.read_unit_bstate(unit_addr, current_header->get_height() - 1, current_header->get_last_block_hash()); build_unitstate_by_hash(unit_addr, current_header->get_height() - 1, current_header->get_last_block_hash(), prev_unitstate, ec); if (nullptr == prev_unitstate) { ec = error::xerrc_t::statestore_try_limit_arrive_err; xerror("xstatestore_executor_t::execute_unitstate_from_prev_state fail-load prev state.address=%s,height=%ld,hash=%s", unit_addr.to_string().c_str(),current_header->get_height() - 1,base::xstring_utl::to_hex(current_header->get_last_block_hash()).c_str()); return nullptr; } xobject_ptr_t<base::xvbstate_t> current_state = make_object_ptr<base::xvbstate_t>(*current_header, *prev_unitstate->get_bstate(), viewid); if(false == current_state->apply_changes_of_binlog(binlog)) { ec = error::xerrc_t::statestore_binlog_apply_err; xerror("xstatestore_executor_t::execute_unitstate_from_prev_state fail-invalid binlog apply for accountindex=%s",current_accountindex.dump().c_str()); return nullptr; } data::xunitstate_ptr_t unitstate = std::make_shared<data::xunit_bstate_t>(current_state.get()); return unitstate; } data::xunitstate_ptr_t xstatestore_executor_t::execute_unit_recursive(common::xaccount_address_t const& unit_addr, base::xvblock_t* block, uint32_t & limit, std::error_code & ec) const { xassert(!ec); xdbg("xstatestore_executor_t::execute_unit_recursive enter.block=%s,limit=%d",block->dump().c_str(),limit); if (limit == 0) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 0); ec = error::xerrc_t::statestore_try_limit_arrive_err; xwarn("xstatestore_executor_t::execute_unit_recursive fail-limit to zero.block=%s", block->dump().c_str()); return nullptr; } limit--; // 1.try make state from current unit data::xunitstate_ptr_t unitstate = make_state_from_current_unit(unit_addr, block, ec); if (ec) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 0); xwarn("xstatestore_executor_t::execute_unit_recursive fail-make_state_from_current_unit.limit=%d,block=%s", limit,block->dump().c_str()); return nullptr; } if (nullptr != unitstate) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 1); xdbg("xstatestore_executor_t::execute_unit_recursive succ by make from current.limit=%d,cur_block=%s", limit,block->dump().c_str()); return unitstate; } // 2.try load prev-unit for history state data::xunitstate_ptr_t prev_unitstate = nullptr; xobject_ptr_t<base::xvblock_t> prev_block = m_statestore_base.get_blockstore()->load_unit(unit_addr.vaccount(), block->get_height()-1, block->get_last_block_hash()); if (nullptr == prev_block && (block->get_height()-1) == 0) { // XTODO create empty genesis unit for normal users prev_block = m_statestore_base.get_blockstore()->create_genesis_block(unit_addr.vaccount(), ec); if (nullptr == prev_block) { ec = error::xerrc_t::statestore_load_unitblock_err; xwarn("xstatestore_executor_t::execute_unit_recursive fail-create genesis unit.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } } if (nullptr == prev_block) { // for history states, try load unit firstly, then try to load unitstate prev_unitstate = m_state_accessor.read_unit_bstate(unit_addr, block->get_height() - 1, block->get_last_block_hash()); if (nullptr == prev_unitstate) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 0); ec = error::xerrc_t::statestore_load_unitblock_err; xwarn("xstatestore_executor_t::execute_unit_recursive fail-load prev block and prev unitstate.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } } else { // for history states, try to make unitstate by units prev_unitstate = execute_unit_recursive(unit_addr, prev_block.get(), limit, ec); if (nullptr == prev_unitstate) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 0); xwarn("xstatestore_executor_t::execute_unit_recursive fail-execute prev block.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } } unitstate = make_state_from_prev_state_and_unit(unit_addr, block, prev_unitstate, ec); if (ec) { XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 0); xerror("xstatestore_executor_t::execute_unit_recursive fail.limit=%d,cur_block=%s", limit,block->dump().c_str()); return nullptr; } XMETRICS_GAUGE(metrics::statestore_execute_unit_recursive_succ, 1); xassert(nullptr != unitstate); xinfo("xstatestore_executor_t::execute_unit_recursive succ by recursive from prev.limit=%d,cur_block=%s", limit,block->dump().c_str()); return unitstate; } void xstatestore_executor_t::clear_cache() { xinfo("xstatestore_executor_t::clear_cache %s", m_table_addr.to_string().c_str()); m_state_accessor.clear_cache(); } NS_END2
b1f49d1649c1cf9aab23741cf38739b97d449cc5
75dcd19fc0d87bb9a120f239f0c32bba220ab0e1
/第14讲for2/素数.cpp
d237e41211e34ccd2cee49341b9d590669b945e6
[]
no_license
webturing/ahaC2020
502964d8ea9b391bfd0dd2bd78fb6a48ee258e79
6c79db49d727177a1bb121c57442935fc0b05ac4
refs/heads/master
2021-05-17T23:08:45.167336
2020-05-04T04:41:42
2020-05-04T04:41:42
250,994,021
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
素数.cpp
#include<stdio.h> int main() { int n=2147483647; int s=1; int i; for(i=2; i<=n/i; i++) { if(n%i==0) { s=0; break; } } printf("%d\n",s); return 0; }
5cf5b09799844074520d2876eacb3c816cc0f2b2
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/core/kernels/data/dataset_ops.h
a52b4aaea315b30c0c4286f7c381323920b9e3d3
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
C++
false
false
1,735
h
dataset_ops.h
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_CORE_KERNELS_DATA_DATASET_OPS_H_ #define TENSORFLOW_CORE_KERNELS_DATA_DATASET_OPS_H_ #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/framework/op_kernel.h" namespace tensorflow { namespace data { class DatasetToGraphOp : public OpKernel { public: explicit DatasetToGraphOp(OpKernelConstruction* ctx) : OpKernel(ctx) {} void Compute(OpKernelContext* ctx) override; }; class DatasetCardinalityOp : public OpKernel { public: explicit DatasetCardinalityOp(OpKernelConstruction* ctx) : OpKernel(ctx) {} void Compute(OpKernelContext* ctx) override; }; class DatasetFromGraphOp : public OpKernel { public: static constexpr const char* const kGraphDef = "graph_def"; static constexpr const char* const kHandle = "handle"; explicit DatasetFromGraphOp(OpKernelConstruction* ctx) : OpKernel(ctx) {} void Compute(OpKernelContext* ctx) override; }; } // namespace data } // namespace tensorflow #endif // TENSORFLOW_CORE_KERNELS_DATA_DATASET_OPS_H_
4765746adef090e2260ac002d2b46201da036a5b
9d364070c646239b2efad7abbab58f4ad602ef7b
/platform/external/chromium_org/content/public/browser/android/synchronous_compositor.h
56689279711747f114dc926b30526665b1186a45
[ "BSD-3-Clause" ]
permissive
denix123/a32_ul
4ffe304b13c1266b6c7409d790979eb8e3b0379c
b2fd25640704f37d5248da9cc147ed267d4771c2
refs/heads/master
2021-01-17T20:21:17.196296
2016-08-16T04:30:53
2016-08-16T04:30:53
65,786,970
0
2
null
2020-03-06T22:00:52
2016-08-16T04:15:54
null
UTF-8
C++
false
false
2,255
h
synchronous_compositor.h
// Copyright 2013 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_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ #include "base/memory/ref_counted.h" #include "content/common/content_export.h" #include "gpu/command_buffer/service/in_process_command_buffer.h" #include "ui/gfx/rect.h" #include "ui/gfx/size.h" class SkCanvas; namespace cc { class CompositorFrame; class CompositorFrameAck; } namespace gfx { class Transform; }; namespace gpu { class GLInProcessContext; } namespace content { class SynchronousCompositorClient; class WebContents; struct CONTENT_EXPORT SynchronousCompositorMemoryPolicy { size_t bytes_limit; size_t num_resources_limit; SynchronousCompositorMemoryPolicy(); bool operator==(const SynchronousCompositorMemoryPolicy& other) const; bool operator!=(const SynchronousCompositorMemoryPolicy& other) const; }; class CONTENT_EXPORT SynchronousCompositor { public: static void SetClientForWebContents(WebContents* contents, SynchronousCompositorClient* client); virtual void SetClient(SynchronousCompositorClient* client) = 0; static void SetGpuService( scoped_refptr<gpu::InProcessCommandBuffer::Service> service); static void SetRecordFullDocument(bool record_full_document); virtual bool InitializeHwDraw() = 0; virtual void ReleaseHwDraw() = 0; virtual scoped_ptr<cc::CompositorFrame> DemandDrawHw( gfx::Size surface_size, const gfx::Transform& transform, gfx::Rect viewport, gfx::Rect clip, gfx::Rect viewport_rect_for_tile_priority, const gfx::Transform& transform_for_tile_priority) = 0; virtual void ReturnResources(const cc::CompositorFrameAck& frame_ack) = 0; virtual bool DemandDrawSw(SkCanvas* canvas) = 0; virtual void SetMemoryPolicy( const SynchronousCompositorMemoryPolicy& policy) = 0; virtual void DidChangeRootLayerScrollOffset() = 0; protected: virtual ~SynchronousCompositor() {} }; } #endif
a05c518b9476cf38f61b3d754fcc9e0b8f8015d4
1cc5d45273d008e97497dad9ec004505cc68c765
/cheatsheet/ops_doc-master/Service/cfaq/cnote/Unity/lisp-compiler/src/Keyword.hpp
e9aef002a5dd345ca8085ab7447aae6fc0aec97f
[ "MIT" ]
permissive
wangfuli217/ld_note
6efb802989c3ea8acf031a10ccf8a8a27c679142
ad65bc3b711ec00844da7493fc55e5445d58639f
refs/heads/main
2023-08-26T19:26:45.861748
2023-03-25T08:13:19
2023-03-25T08:13:19
375,861,686
5
6
null
null
null
null
UTF-8
C++
false
false
1,046
hpp
Keyword.hpp
#ifndef KEYWORD_HPP #define KEYWORD_HPP #include "Interfaces.hpp" #include <map> #include <string> #include "Symbol.hpp" class Keyword : public Named, public Comparable /* IFn, IHashEq */ { public: virtual std::string toString(void) const; virtual std::string getName() const; virtual std::string getNamespace() const; virtual int compare(std::shared_ptr<const lisp_object> o) const; static std::shared_ptr<Keyword> intern(std::shared_ptr<const Symbol> sym); static std::shared_ptr<Keyword> intern(std::string nsname); static std::shared_ptr<Keyword> intern(std::string ns, std::string name); static std::shared_ptr<Keyword> find(std::shared_ptr<const Symbol> sym); static std::shared_ptr<Keyword> find(std::string nsname); static std::shared_ptr<Keyword> find(std::string ns, std::string name); const std::shared_ptr<const Symbol> sym; private: static std::map<std::shared_ptr<const Symbol>, std::weak_ptr<Keyword> > table; Keyword(std::shared_ptr<const Symbol> sym) : sym(sym) {}; }; #endif /* KEYWORD_HPP */
3b5bbd5181a843b7171fbd4142fcdabd5937b90a
84d38e8e0bc80cf008e1071da105b248cbb04204
/UXToolsGame/Source/UXToolsTests/UXToolsTests.cpp
13a5a8a2c67284c7f184d0aec9665675517866f8
[ "MIT" ]
permissive
microsoft/MixedReality-UXTools-Unreal
7c1ce12f9feac53ab70ba0f86e41c2b960efe90d
89f04fe23182cfecf6a0e6efe96f950272b459ae
refs/heads/public/0.12.x-UE5.0
2023-06-30T01:09:55.422370
2022-09-30T11:09:51
2022-09-30T11:09:51
235,136,059
297
87
MIT
2022-11-17T02:28:03
2020-01-20T15:40:31
C++
UTF-8
C++
false
false
667
cpp
UXToolsTests.cpp
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "UXToolsTests.h" DEFINE_LOG_CATEGORY(UXToolsTests) #define LOCTEXT_NAMESPACE "UXToolsTestsModule" void FUXToolsTestsModule::StartupModule() { // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module } void FUXToolsTestsModule::ShutdownModule() { // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, // we call this function before unloading the module. } #undef LOCTEXT_NAMESPACE IMPLEMENT_MODULE(FUXToolsTestsModule, UXToolsTests)
01d83b9c546fc99fdb6151179e71c360478adbfc
a4fa97124f9af62485e939ed6a9c16008c987af1
/models/plane.cpp
3e631faba89c2188415dfe6c0393c46abf537439
[]
no_license
zenglenn42/conics
80f50a1b191c457d008ee6e0f1c245db734a5b8e
2b73d34783a81b868855904cdb1671abd6c0ed60
refs/heads/master
2021-05-14T08:53:27.005056
2018-02-15T04:02:47
2018-02-15T04:02:47
116,313,065
1
0
null
null
null
null
UTF-8
C++
false
false
1,648
cpp
plane.cpp
// Plane from 3 points // // This program calculates the coefficients of an equation describing // a plane that passes through 3 points. The points should be non-colinear. // // Computation fu from: // https://pihlaja.wordpress.com/2010/10/05/using-glclipplanes-and-plane-equations/ // // Example output: // // Given 3 non-colinear points: (1, 0, 0), (0, 1, 0), (0, 0, 0) // the corresponding plane is: (0)x + (0)y + (1)z + -0 = 0 // #include <iostream> #include <iomanip> #include <cmath> struct Point { double x, y, z; }; struct Plane { Plane(Point p1, Point p2, Point p3) : p1{p1}, p2{p2}, p3{p3} { coeff[0] = (p1.y*(p2.z - p3.z)) + (p2.y*(p3.z - p1.z)) + (p3.y*(p1.z - p2.z)); coeff[1] = (p1.z*(p2.x - p3.x)) + (p2.z*(p3.x - p1.x)) + (p3.z*(p1.x - p2.x)); coeff[2] = (p1.x*(p2.y - p3.y)) + (p2.x*(p3.y - p1.y)) + (p3.x*(p1.y - p2.y)); coeff[3] = -((p1.x*((p2.y*p3.z) - (p3.y*p2.z))) + (p2.x*((p3.y*p1.z) - (p1.y*p3.z))) + (p3.x*((p1.y*p2.z) - (p2.y*p1.z)))); } Point p1, p2, p3; double coeff[4]; }; Point p1 = {1.0, 0.0, 0.0}; Point p2 = {0.0, 1.0, 0.0}; Point p3 = {0.0, 0.0, 1.0}; std::ostream& operator<<(std::ostream& os, Plane pl) { os << "(" << pl.coeff[0] << ")x + (" << pl.coeff[1] << ")y + (" << pl.coeff[2] << ")z + " << pl.coeff[3] << " = 0"; return os; } std::ostream& operator<<(std::ostream& os, Point p) { os << "(" << p.x << ", " << p.y << ", " << p.z << ")"; return os; } int main(int argc, char ** argv) { Plane pl = Plane(p1, p2, p3); std::cout << "Given 3 non-colinear points: " << p1 << ", " << p2 << ", " << p3 << std::endl; std::cout << "the corresponding plane is: " << pl << std::endl; }
1b770807097acb4fadfd154fa07f73a4a00da710
f38ffdf6df4445b8e8294cab9b604cd4f00dd4b7
/HDU/hdu2009.cpp
868996df2f4d4b70252a03c444783cb1d36bda08
[]
no_license
aloneCR/Study
2cc41c3bc3acbf8c20ede8ec065659d0d3127750
9b90d0be7d8529dcf487eafe00008b3f93ccf498
refs/heads/master
2020-03-08T19:54:09.973812
2018-04-12T13:32:23
2018-04-12T13:32:23
128,367,567
0
0
null
null
null
null
UTF-8
C++
false
false
326
cpp
hdu2009.cpp
#include <stdio.h> #include <math.h> const int maxn = 1000 + 5; int main() { int n, m; while(scanf("%d%d", &n, &m) == 2) { double ans = n; double a = n; for(int i = 0; i < m-1; i++) { a = sqrt(a); ans += a; } printf("%.2f\n", ans); } return 0; }
ba6069edea4407f3cb6b7afea505eebcddb25058
1637c970bc7b46d110f09539b9befbd7285d3eb7
/CRC32CIntelSSE4.h
6d427e9fa7973106abe0d0388e945b80b9528f5f
[]
no_license
wangscript007/Forte
2fd9ef15217b56496b1d17004fe6e570be6a8421
0aa9a639d8cde809a7a832b10eee98c782de0ae1
refs/heads/master
2021-05-28T07:07:17.842774
2014-01-25T20:35:26
2014-01-27T20:44:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,664
h
CRC32CIntelSSE4.h
#ifndef __CRC32C_INTEL_SSE4_H__ #define __CRC32C_INTEL_SSE4_H__ #include "Clonable.h" #include "CRC.h" namespace Forte { template <unsigned int initial> class CRC32CIntelSSE4 : public CRC, public Clonable { public: typedef CRC32CIntelSSE4 this_type; CRC32CIntelSSE4() :mChecksum(initial) { } void ProcessBytes(void const *buffer, const std::size_t& length) { mChecksum = processBytes(mChecksum, buffer, length); } uint32_t GetChecksum() const { return mChecksum; } void Reset(const uint32_t& initialValue) { mChecksum = initialValue; } this_type* Clone() const { this_type* crc(new this_type()); crc->mChecksum = mChecksum; return crc; } void operator()(const uint64_t& value) { mChecksum = __builtin_ia32_crc32di(mChecksum, value); } void operator()(const uint32_t& value) { mChecksum = __builtin_ia32_crc32si(mChecksum, value); } void operator()(const uint16_t& value) { mChecksum = __builtin_ia32_crc32hi(mChecksum, value); } void operator()(const uint8_t& value) { mChecksum = __builtin_ia32_crc32qi(mChecksum, value); } protected: uint32_t processBytes(uint32_t crc, void const *buffer, std::size_t length) { const char* const pBufferEnd(reinterpret_cast<const char* const>(buffer) + length); const char* pBuffer(reinterpret_cast<const char*>(buffer)); uint64_t crc64(crc); while(static_cast<std::size_t>(pBufferEnd - pBuffer) >= sizeof(uint64_t)) { crc64 = __builtin_ia32_crc32di(crc64, *reinterpret_cast<const uint64_t*>(pBuffer)); pBuffer += sizeof(uint64_t); } crc = static_cast<uint32_t>(crc64); if(static_cast<std::size_t>(pBufferEnd - pBuffer) >= sizeof(uint32_t)) { crc = __builtin_ia32_crc32si(crc, *reinterpret_cast<const uint32_t*>(pBuffer)); pBuffer += sizeof(uint32_t); } if(static_cast<std::size_t>(pBufferEnd - pBuffer) >= sizeof(uint16_t)) { crc = __builtin_ia32_crc32hi(crc, *reinterpret_cast<const uint16_t*>(pBuffer)); pBuffer += sizeof(uint16_t); } if(static_cast<std::size_t>(pBufferEnd - pBuffer) >= sizeof(uint8_t)) { crc = __builtin_ia32_crc32qi(crc, *reinterpret_cast<const uint8_t*>(pBuffer)); } return crc; } private: uint32_t mChecksum; }; } // namespace Forte #endif // __CRC32C_INTEL_SSE4_H__
3e32d4929fc196d5be5e7037f8eb71c95378e49a
0c7841daa3315975292152143f77b052d06c1e7d
/meth/objectAssigment.cpp
803b02e5273e6194e8dba8c29b5984d976ce683a
[]
no_license
Ivancaminal72/PFG
e6b8a0e40cb7f1bcb414240c21aca2257953e869
3c4bddc0d362c02af6c4ccd61f19f5b58c14b69c
refs/heads/master
2021-01-20T03:49:55.553025
2017-06-26T18:19:44
2017-06-26T18:19:44
84,053,348
1
0
null
null
null
null
UTF-8
C++
false
false
10,449
cpp
objectAssigment.cpp
#include "opencv2/opencv.hpp" #include <cmath> #include <climits> #include "opencv/cv.h" #include <iostream> #include <stdlib.h> #include <sstream> #include <fstream> #include <string> #include <boost/filesystem.hpp> using namespace cv; using namespace std; namespace bf = boost::filesystem; struct TrayPoint{ int frame; Point pos; float angle; }; vector<TrayPoint> rutas; vector<bf::path> all_masks; bool b_all = false; bool verifyDir(bf::path dir, bool doCreation){ char op; cout<<endl<<dir<<endl; if(bf::exists(dir)){ if(bf::is_directory(dir)){ cout<<"Correct directory!"<<endl; return true; }else{ cout<<"It is not a directory"<<endl; return false; } }else if(doCreation){ cout<<"It doesn't exist"<<endl; cout<<"Do you want to create it? [y/n]"<<endl; cin>>op; if(op == 'y'){ if(bf::create_directories(dir)){ cout<<"Directory created!"<<endl; return true; }else{ cout<<"Error creating directory"<<endl; return false; } }else return false; } cout<<"It doesn't exist"<<endl; return false; } bool loadRoutes(bf::path loadRoutesPath){ int num_routes=-1; int countFrames=0; cout<<endl<<"Loading Routes "; FileStorage fs_routes; cout<<loadRoutesPath.native()<<endl; if(fs_routes.open(loadRoutesPath.native(), FileStorage::READ)){ FileNode rootNode = fs_routes.root(0); if(rootNode.empty()){ cout<<"ERROR: Empty file"<<endl<<endl; return false; }else{ TrayPoint ptray; Point actPoint; if(fs_routes["ultimaRuta"].isNone()){ cout<<"ERROR: Node ultimaRuta doesn't exist"<<endl; return false; } fs_routes["ultimaRuta"]>>num_routes; FileNode actRutaNode; FileNodeIterator it_frame; for(int i=0; i<num_routes+1; i++){ actRutaNode = fs_routes["Ruta"+to_string(i)]; it_frame = actRutaNode.begin(); for(;it_frame != actRutaNode.end(); it_frame++){ countFrames+=1; ptray.frame=(int)(*it_frame)["frame"]; FileNode nodePoint = (*it_frame)["Punto"]; actPoint.x=(int) nodePoint[0]; actPoint.y=(int) nodePoint[1]; ptray.pos=actPoint; ptray.angle=(float)(*it_frame)["angle"]; rutas.push_back(ptray); } } } fs_routes.release(); cout<<"OK!"<<endl; return true; }else{ cout<<"ERROR: Can't open for read"<<endl<<endl; return false; } } bool addObjectMask(Mat& mobj, bf::path masks_dir, string& mask_name){ char op; while(1){ cout<<endl<<endl<<endl; if(all_masks.empty() and !b_all){ cout<<"Press 'n' to add new object mask"<<endl; cout<<"Press 'a' to add all object masks in the directory"<<endl; cout<<"Press 'q' to quit and save"<<endl; cin>>op; cin.clear(); cin.ignore(); switch (op){ case 'n': mask_name=""; cout<<"Introduce the name of the PNG objectMask name you want to add"<<endl; cin>>mask_name; cin.clear(); cin.ignore(); if(!bf::exists(masks_dir.native()+mask_name+".png")) {cout<<"Error: "<<masks_dir.native()+mask_name<<" doesn't exist"<<endl; break;} mobj = imread(masks_dir.native()+mask_name+".png", CV_LOAD_IMAGE_GRAYSCALE); if(!mobj.data){cout << "Could not open or find the image" <<endl; break;} return true; break; case 'a': std::copy(bf::directory_iterator(masks_dir), bf::directory_iterator(), back_inserter(all_masks)); b_all = true; break; case 'q': return false; break; } }else if(all_masks.empty() and b_all){ return false; }else{ mask_name = all_masks.back().filename().native(); cout<<"Loading "<<mask_name<<endl; while(mask_name.find(".png") == string::npos){ all_masks.pop_back(); if(all_masks.empty()) return false; else mask_name = all_masks.back().filename().native(); } all_masks.pop_back(); mobj = imread(masks_dir.native()+mask_name, CV_LOAD_IMAGE_GRAYSCALE); if(!mobj.data){cout << "Could not open or find the image" <<endl; exit(-1);} cout<<"OK!"<<endl; return true; } } } int main( int argc, char* argv[] ) { float RPM = 130.0813, persHeight = 1.6, sensorHeight = 3.07, fAngle = 124, eAngle = 7; cv::Size imgSize(640,480); // (5 ,4); string results_file; bf::path masks_dir = "./../omask/masks/", routes_path, save_dir = "./generatedObjectAssigments/"; if (argc < 2 || argc > 12) {//wrong arguments cout<<"USAGE:"<<endl<< "./objectAssigment rotues_path [results_name] [dir_save/] [dir_obj_masks] "<<endl<< " [filter_angle] [person_height] [sensor_height] [relation_pixel_meter] "<<endl<< " [error_angle] [image_width_resolution] [image_height_resolution] "<<endl<<endl; cout<<"DEFAULT [results_name] = routes_name"<<endl; cout<<"DEFAULT [dir_save/] = "<<save_dir.native()<<endl; cout<<"DEFAULT [dir_obj_masks] = "<<masks_dir.native()<<endl; cout<<"DEFAULT [filter_angle] = "<<fAngle<<endl; cout<<"DEFAULT [person_height] = "<<persHeight<<endl; cout<<"DEFAULT [sensor_height] = "<<sensorHeight<<endl; cout<<"DEFAULT [relation_pixel_meter] = "<<RPM<<endl; cout<<"DEFAULT [error_angle] = "<<eAngle<<endl; cout<<"DEFAULT [image_width_resolution] = "<<imgSize.width<<endl; cout<<"DEFAULT [image_height_resolution] = "<<imgSize.height<<endl; return -1; }else{ routes_path = argv[1]; if(!bf::exists(routes_path) or !routes_path.has_filename()) {cout<<"Wrong routes_path"<<endl; return -1;} if(argc > 2) {results_file = argv[2]; results_file+=".yml";} else results_file=routes_path.filename().native(); if(argc > 3) save_dir = argv[3]; if(argc > 4) masks_dir = argv[4]; if(argc > 5) {fAngle = atof(argv[5]); if(fAngle > 114 or fAngle<0) {cout<<"Error: wrong fAngle "<<fAngle<<endl; return -1;}} if(argc > 6) persHeight = atof(argv[6]); if(argc > 7) sensorHeight = atof(argv[7]); if(argc > 8) RPM = atof(argv[8]); if(argc > 9) {eAngle = atof(argv[9]); if(eAngle >= 55 or eAngle<0) {cout<<"Error: wrong eAngle "<<eAngle<<endl; return -1;}} if(argc > 10) imgSize.width = atoi(argv[10]); if(argc == 12) imgSize.height = atoi(argv[11]); if(fAngle == 0 and eAngle ==0) {cout<<"Error: both eAngle and fAngle are zero"<<endl; return -1;} } //Verify and create correct directories if(!verifyDir(save_dir,true)) return -1; if(!verifyDir(masks_dir,false)) return -1; struct Obj{Point2d cen; string name; double assigments=0;}; Obj o; Mat mobj, mTotal = Mat::zeros(imgSize, CV_8UC1);; vector<Obj> vobj; vector<Obj>::iterator oit; Moments M; /****Calculate object masks centroids****/ while(addObjectMask(mobj, masks_dir, o.name)){ mTotal=mTotal+mobj; //Find mask moments M = moments(mobj, true); //Get the mass centers o.cen = Point2d(M.m10/M.m00, M.m01/M.m00); circle(mTotal, o.cen, 1, Scalar(128)); //cout<<o.cen<<endl; cout.flush(); //cout<<o.name<<endl; vobj.push_back(o); } /*//Logging imshow("image", mTotal); waitKey(0);*/ //Define variables persHeight *= RPM;// 3 sensorHeight *= RPM; // 4 fAngle *= M_PI/180/2; eAngle *= M_PI/180; fAngle += eAngle; //Declare variables int validAssigCount=0; Point2d tpos; double tAngle, sum; Mat mRot, mTra, mOri, mRes; vector<unsigned int> vindx; /****Compute the assigments for each Traypoint****/ loadRoutes(routes_path); vector<TrayPoint>::iterator it=rutas.begin(); for(; it<rutas.end(); it++){ tAngle = (it->angle)*M_PI/180; tpos = (it->pos); /*tpos.x = 10; tpos.y = 10; tAngle = 270*M_PI/180; o.cen = Point2d(12, 11); o.name = "[12,11]"; vobj.push_back(o);*/ //0-Prove tpos is inside the image bounds if(tpos.x<0 or tpos.x>imgSize.width-1 or tpos.y<0 or tpos.y>imgSize.height-1){ cout<<"Error tpos is out of image bounds"<<endl; return -1; } cout<<"it->pos: "<<tpos<<endl; //1-Correction of tpos real position tpos.x-= imgSize.width/2; tpos.y-= imgSize.height/2; tpos-= persHeight/sensorHeight*tpos; tpos.x+= imgSize.width/2; tpos.y+= imgSize.height/2; //2-Transform object centroids to TrayPoint coordenates Point2d cen_t[vobj.size()]; oit = vobj.begin(); mRot = (Mat_<double>(2,2)<<cos(tAngle),-sin(tAngle),sin(tAngle),cos(tAngle));//Rotation matrix mTra = (Mat_<double>(2,1)<<-tpos.x,-tpos.y);//Translation matrix for(int i = 0; oit!=vobj.end(); oit++, i++){ //cout<<oit->name; mOri = (Mat_<double>(2,1)<<(oit->cen).x,(oit->cen).y); //Original Object Center //cout<<mOri<<mTra<<mRot<<mRes<<endl; mRes = mRot*(mOri+mTra); //Transformation cen_t[i].x=mRes.at<double>(0,0); cen_t[i].y=-1*mRes.at<double>(1,0);//Invert 'y' Axis //cout<<" "<<cen_t[i]<<endl; } //3-Do the assigments sum = 0; for(unsigned int i=0; i<vobj.size(); i++){ if(cen_t[i].x > 0){//Filter back points if(abs(atan(cen_t[i].y/cen_t[i].x)) < fAngle){//Filter by binocular vision angle sum += fAngle - abs(atan(cen_t[i].y/cen_t[i].x)); vindx.push_back(i); } } } if(vindx.size() != 0) { for(unsigned int i=0; i<vindx.size(); i++){ vobj.at(vindx.at(i)).assigments += (fAngle - abs(atan(cen_t[vindx.at(i)].y/cen_t[vindx.at(i)].x)))/sum; } validAssigCount+=1; } vindx.clear(); } cout<<endl<<"**************RESULTS**************"<<endl<<endl; char op; cout<<"Do you want to save result? [y/n]"<<endl; cin>>op; while(op != 'y' and op != 'n'){ cout<<"Invalid option"<<endl; cin>>op; } if(op == 'y'){ char buffer [50]; cout<<endl<<"Saving Results "<<endl; FileStorage fs; if(fs.open(save_dir.native()+results_file, FileStorage::WRITE)){ time_t rawtime; time(&rawtime); fs << "Date"<< asctime(localtime(&rawtime)); fs << "RPM" << RPM; fs << "sensor_height" << sensorHeight; fs << "person_height" << persHeight; fs << "filter_angle" << (fAngle*180/M_PI - eAngle*180/M_PI)*2; fs << "error_angle" << eAngle*180/M_PI; fs << "imgSize" << imgSize; fs << "number_objects" << (int) vobj.size(); fs << "number_assigments" << (int) rutas.size(); fs << "number_valid_assigments" << validAssigCount; fs << "objects" << "["; for(oit=vobj.begin(); oit!=vobj.end(); oit++){ sprintf (buffer,"%.2f", oit->assigments/validAssigCount); fs << "{:" << "punctuation" << buffer << "center" << Point(round(oit->cen.x),(round(oit->cen.y))) << "name" << oit->name << "punctuation_f" << oit->assigments/validAssigCount << "}"; cout<<buffer<<" "<<Point(round(oit->cen.x),(round(oit->cen.y)))<<" "<<oit->name<<endl; } fs << "]"; fs.release(); cout<<"OK!"<<endl; }else{ cout<<"ERROR: Can't open for write"<<endl<<endl; return -1; } } }
6f8fec17e3c4c18a69761589bc08df4c11df02af
def39f068050b234df9f6909d4277f96b740f11c
/E-olimp/1516. Constructing BST .cpp
bba15bf004a0b3087cb6243c9b650b9724b22685
[]
no_license
azecoder/Problem-Solving
41a9a4302c48c8de59412ab9175b253df99f1f28
a920b7bac59830c7b798127f6eed0e2ab31a5fa2
refs/heads/master
2023-02-10T09:47:48.322849
2021-01-05T14:14:09
2021-01-05T14:14:09
157,236,604
5
1
null
null
null
null
UTF-8
C++
false
false
1,169
cpp
1516. Constructing BST .cpp
#include <cstdio> #include <cmath> #include <algorithm> void buildTree(int n1, int n2, int h) { int n = n2 - n1 + 1; if((n == 0) || (h == 0)) { return ; } int powerH = pow(2, h); if((n > 1) || (h > 1)) { if(n > (powerH - 1)) { //printf("%d %d %d\n", n1, n2, h); printf(" Impossible."); return ; } } int goesToLeft = std::max(n - powerH / 2, 0); //printf("%d %d %d %d\n", n1, n2, h, goesToLeft); printf(" %d", n1 + goesToLeft); if(goesToLeft > 0) { buildTree(n1, n1 + goesToLeft - 1, h - 1); } buildTree(n1 + goesToLeft + 1, n2, h - 1); } int main() { int n, h; int caseNum = 0; do { caseNum++; scanf("%d %d", &n, &h); if(n == 0) break; printf("Case %d:", caseNum); buildTree(1, n, h); printf("\n"); } while(1); return 0; }
9aac636cf8a03c6a5615637641e8a069712c3cb1
c8f592afec2fac4d0e9290b5c39f51af2b64934f
/src/lib/projector/Shaders.cpp
be33f7c1f0cd8e9a2a878754c248e9deb5237034
[ "MIT" ]
permissive
zhaowei11594/threescanner
6c697e481e4b7242b3850da9211ea0ef99d0ad90
7fe03ecde0c7f18c4059f42a69c59e56e854c7f2
refs/heads/master
2021-05-28T04:23:36.282773
2014-09-30T16:28:21
2014-09-30T16:28:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,699
cpp
Shaders.cpp
/* * Shaders.cpp * * Created on: Jul 31, 2014 * Author: alessandro.pezzato@gmail.com */ #include "Shaders.h" #include "../common/Logger.h" #include <fstream> #include <vector> #include <algorithm> namespace threescanner { std::map<std::string, GLuint> Shaders::shaders_c; GLuint Shaders::load(const std::string& name) { GLuint programID = glCreateProgram(); Shaders::loadShader(programID, name, GL_VERTEX_SHADER); Shaders::loadShader(programID, name, GL_GEOMETRY_SHADER); Shaders::loadShader(programID, name, GL_FRAGMENT_SHADER); glLinkProgram(programID); /* Check the program */ GLint result = GL_FALSE; int infoLen = 0; glGetProgramiv(programID, GL_LINK_STATUS, &result); glGetProgramiv(programID, GL_INFO_LOG_LENGTH, &infoLen); char* errorMessage = new char[infoLen]; glGetProgramInfoLog(programID, infoLen, NULL, errorMessage); if (errorMessage[0]) { logWarning(errorMessage); } delete errorMessage; shaders_c[name] = programID; return programID; } void Shaders::loadShader(GLuint programID, const std::string& name, const GLenum type) { std::string typeName; switch (type) { case GL_VERTEX_SHADER: typeName = "vertex"; break; case GL_FRAGMENT_SHADER: typeName = "fragment"; break; case GL_GEOMETRY_SHADER: typeName = "geometry"; break; } // FIXME: path must be valid when installed std::string filePath = "../../assets/engines/" + name + "/shaders/" + typeName + ".glsl"; GLuint shaderID = glCreateShader(type); std::string shaderCode; std::ifstream fs(filePath.c_str(), std::ios::in); if (fs.is_open()) { std::string line; while (getline(fs, line)) { shaderCode += "\n" + line; } fs.close(); } else { /* ignore, not readable */ return; } /* Compile Vertex Shader */ logDebug("Compiling shader: " + filePath); const char* source = shaderCode.c_str(); glShaderSource(shaderID, 1, &source, NULL); glCompileShader(shaderID); /* Check Vertex Shader */ GLint result = GL_FALSE; int infoLen = 0; glGetShaderiv(shaderID, GL_COMPILE_STATUS, &result); glGetShaderiv(shaderID, GL_INFO_LOG_LENGTH, &infoLen); char* errorMessage = new char[infoLen]; glGetShaderInfoLog(shaderID, infoLen, NULL, errorMessage); if (errorMessage[0]) { logWarning(errorMessage); } delete errorMessage; glAttachShader(programID, shaderID); glDeleteShader(shaderID); } GLuint Shaders::get(const std::string& name) { if (!shaders_c.count(name)) { Shaders::load(name); } return shaders_c[name]; } void Shaders::destroy(const std::string& name) { // TODO remove from shaders_c glDeleteProgram(Shaders::get(name)); } void Shaders::destroy(const GLuint& id) { // TODO remove from shaders_c glDeleteProgram(id); } }
b39ba98e43fd4ee1e1bf1b1739b3922a1d47eb76
8855c36e0d4cfd838e44e1097991b1bb5aeab5f9
/Kinect2/Velodyne/Velodyne.h
22b020d32e783ddc8eb72ec063cdf7111b2277de
[]
no_license
chaixun/Kinect2
fef42e42008411da8156541db2bad469970ca70e
61a51f70e3fcd374399baefa7883cee984d88cfa
refs/heads/master
2020-04-06T07:09:04.691737
2016-08-28T03:33:39
2016-08-28T03:33:39
65,733,913
0
1
null
null
null
null
UTF-8
C++
false
false
559
h
Velodyne.h
#ifndef VELODYNE_H #define VELODYNE_H #include <stdlib.h> #include <memory> #include <iostream> #include <thread> using namespace std; namespace VelodyneSensor { struct VISION_DATA { unsigned long long timeStamp; float gridMap[400][400]; int obstacleMap[400][400]; }; class VELODYNE { public: VELODYNE(); ~VELODYNE(); void Start(); void Update(); void SavePcd(); void Stop(); VISION_DATA visData; private: class VELODYNE_STRUCT; std::auto_ptr<VELODYNE_STRUCT> mVelodyneStruct; }; } #endif // VELODYNE_H
1dff07639e25c2dd5eaffec82b7456e881accd02
cde3f5db477212df5286cad5ff254c4038f11103
/src/Qt_Ext/QGLImageViewer.cpp
7a66908cfaf0ddf8e2d35f81206a87764baf8ad2
[ "MIT" ]
permissive
RoLiLab/tracking_microscope
a82b72c5dfe868b468ce8301aeb4f4558f6afa4b
ec68a217d252244bb850f05ab13f344aa2fbd74a
refs/heads/master
2021-06-25T11:12:22.972389
2017-09-11T05:19:52
2017-09-11T05:22:01
103,092,605
6
2
null
null
null
null
UTF-8
C++
false
false
2,314
cpp
QGLImageViewer.cpp
/////////////////////////////////////////////////////////// // // QGLImageViewer.cpp // Copyright (c) 2013 - Kane Lab. All Rights Reserved // // Jeremy Todd // ////////////////////////////////////////////////////////////////////////////// #include "Base/base.h" #include "QGLImageViewer.h" #include <QtGui/qimage.h> #include <QtGui/qpainter.h> UI::QGLImageViewer::QGLImageViewer( QWidget* pParent/*= nullptr */ ) : QOpenGLWidget(pParent) { } // end UI::QGLImageViewer::QGLImageViewer() QSize UI::QGLImageViewer::GetImageSize() const { return m_pImage ? m_pImage->size() : QSize(); } // end UI::QGLImageViewer::GetImageSize() QRect UI::QGLImageViewer::GetDrawRect() const { // Return an empty rect if we have no image if( !m_pImage ) return QRect(); // Grab our zoom rect, use the entire image if empty QRect rectZoom= m_rectZoom.isEmpty() ? m_pImage->rect() : m_rectZoom; // Preserve our aspect ratio when scaling the image, center the resulting image in our rect QSize sizeTarget= rectZoom.size().scaled( size(), Qt::KeepAspectRatio ); QRect rectTarget( QPoint(0,0), sizeTarget ); rectTarget.moveCenter( rect().center() ); return rectTarget; } // end UI::QGLImageViewer::GetDrawRect() void UI::QGLImageViewer::SetImage( shared_ptr<QImage> pImage ) { // Grab the new image and update us m_pImage= pImage; update(); } // end UI::QGLImageViewer::SetImage() void UI::QGLImageViewer::SetZoomRect( const QRect& rectZoom ) { // Just return if our zoom rect isn't changing if( m_rectZoom == rectZoom ) return; // Grab our new zoom rect and redraw m_rectZoom= rectZoom; update(); } // end UI::QGLImageViewer::SetZoomRect() void UI::QGLImageViewer::paintEvent( QPaintEvent* ) { // Create a painter even if we're not drawing anything else, this erases our background QPainter p( this ); // Just return if we have no image to draw if( !m_pImage ) return; // Grab our zoom rect, use the entire image if empty, also grab the rect where we're drawing QRect rectZoom= m_rectZoom.isEmpty() ? m_pImage->rect() : m_rectZoom, rectTarget= GetDrawRect(); // Draw our image with smooth scaling p.setRenderHint( QPainter::SmoothPixmapTransform, 1 ); p.drawImage( rectTarget, *m_pImage, rectZoom ); } // end UI::QGLImageViewer::paintEvent() UI::QGLImageViewer::~QGLImageViewer() {}
2a7cba579f6167e3678c18de9c141f2af4543f3c
03d1e1bf6a7d10143a0b692407d921cbbe100467
/Testcode/4.1.1.cpp
b7883a693289a33583c882dda8727a1fc5d08367
[]
no_license
Clno1/Cplusplus
32b125637fa5875b0ae58788f3c8587dffe6c15f
82306dbf3772e9fa963676190e398b78b733a6e0
refs/heads/master
2022-06-04T14:20:26.521680
2020-05-04T03:00:09
2020-05-04T03:00:09
257,590,592
0
0
null
null
null
null
GB18030
C++
false
false
879
cpp
4.1.1.cpp
#include<bits/stdc++.h> using namespace std; //C++枚举类 //可以理解为有一个CPU_Rank的类型,这个类型下有P1到P7不同的值 enum CPU_Rank { P1=1,P2,P3,P4,P5,P6,P7 }; class CPU { private: CPU_Rank rank; int frequency; float voltage; public: //CPU的构造函数 CPU (CPU_Rank r,int f,float v) { rank=r; frequency=f; voltage=v; cout<<"构造CPU"<<endl; } //CPU析构函数 ~CPU () { cout<<"析构CPU"<<endl; } CPU_Rank GetRank() const { return rank; } int GetFrequency() const { return frequency; } float GetVoltage() const { return voltage; } void Run() { cout<<"CPU运行"<<endl; } void Stop() { cout<<"CPU停止运行"<<endl; } }; int main() { //创造一个对象acpu,并调用相应的构造函数 CPU acpu(P6,300,2.8); acpu.Run(); acpu.Stop(); return 0; }
97b4b15b52a2683cfb42419b7b8632b3ee860610
13dfd33a45f682559c24a93747be1e65c0187bf4
/MixMatrix/MixMatrix.cpp
6b575b076934eab526105d7692d0db388b8c0055
[]
no_license
mkaler/MixMatrix
60f02f499a9f931709476d15f2c39be1001da520
95bed63f8087ce6c3545eafab1e24d3e937644be
refs/heads/master
2021-01-25T05:57:18.513066
2017-02-02T11:19:05
2017-02-02T11:19:05
80,713,412
0
0
null
null
null
null
UTF-8
C++
false
false
1,933
cpp
MixMatrix.cpp
// MixMatrix.cpp : definisce il punto di ingresso dell'applicazione console. // #include "stdafx.h" #include "iostream" #include "string" #include "sstream" #include "PolymorphicMatrix.h" #include "vector" #include "stdexcept" /* displays the message and returns the value entred by the user */ int takeInputInt(std::string message) { int in; std::string temp; std::cout << message; while (std::getline(std::cin, temp)) { std::stringstream stringStream(temp); if (stringStream >> in) if (stringStream.eof() && (in > 1 && in < 100 )) break; std::cout <<"This value can not be accepted." << std::endl <<"Please retry:" ; } std::cin.clear(); return in; } //displays a message void startMes() { std::cout<< "\t"<<"\t"<< "Matrix of various data types" << std::endl<<std::endl<<std::endl; } //displays a message void sizeMes(const int rows, const int cols) { std::cout << "\t" << "\t" << "Size of the matrix: " << rows << " rows X " << cols << " coloumns" << std::endl << std::endl; } int main() { int rows, cols; startMes();//displays a message rows = takeInputInt("Write the number of the rows(greater than 1): "); cols = takeInputInt("Write the number of the coloumns (greater than 1): "); system("cls"); startMes(); /* an object of class PolymorphicMatrix gets istantiated */ PolymorphicMatrix *mat = new PolymorphicMatrix(rows, cols); sizeMes(rows, cols); /* setMatValue fills the matrix with the user input */ mat->setMatValue(); std::cout << "\t" << "The matrix in format VALUE(TYPE): " << std::endl; /* the whole matrix gets printed */ mat->print(); /* the central value and the data type gets displayed */ try { std::cout<<"The value in the centre is "<<mat->centreValue()<<" of type "<<mat->centreType()<<std::endl; mat->centreValue(); } catch (std::runtime_error& ex) { std::cout << ex.what() << std::endl; } delete mat; return 0; system("pause"); }
0122c992f2f1467073200981be366d7bb1b8a679
f2a26b818c1bfdf16c2537a56608b3f0a661b13c
/51.cpp
c929ecabad9b485b1bd915a583ffc97181ef4e98
[]
no_license
PeterMitrano/project-euler-cpp
6454e4f23be80e99c5db18c6cec9fd4a5a18c760
342f0b391b6e90bb0344234c27e47c4b0b18e672
refs/heads/master
2021-06-23T09:04:55.302704
2021-01-04T04:43:18
2021-01-04T04:43:32
162,667,462
0
0
null
null
null
null
UTF-8
C++
false
false
2,779
cpp
51.cpp
#include <iostream> #include <algorithm> #include <optional> #include <tuple> #include <utility> #include <common/sieve.h> #include <common/digiterator.h> unsigned long problem() { constexpr auto max = 1'000'000ul; constexpr auto desired_family_size = 8u; auto const primes = prime_sieve<max>(); auto prime_replacement = [&](unsigned int const first_choice, unsigned int const second_choice, unsigned int const third_choice, unsigned long const p) { auto family_size = 0u; std::vector<unsigned long> members; Digiterator digiterator{p}; for (auto replacement = 0u; replacement < 10u; ++replacement) { // we know that if it doesn't work with 0, 1, or 2, then it's not part of an eight digit family if (family_size == 0 and replacement > 2) { return std::pair{false, members}; } if (replacement == 0u and first_choice == 0u) { continue; } digiterator[first_choice] = replacement; digiterator[second_choice] = replacement; digiterator[third_choice] = replacement; auto const new_p = digiterator.number(); if (primes[new_p] == IS_PRIME) { ++family_size; members.push_back(new_p); } } return std::pair{family_size == desired_family_size, members}; }; auto has_digit_family = [&](unsigned long const p) { // we assume p is 6 digits // iterate over all choices of 3 spots out of 5 for (auto first_choice = 0u; first_choice < 5; ++first_choice) { for (auto second_choice = first_choice + 1; second_choice < 5; ++second_choice) { if (second_choice == first_choice) { continue; } for (auto third_choice = second_choice + 1; third_choice < 5; ++third_choice) { if (third_choice == first_choice or third_choice == second_choice) { continue; } auto result = prime_replacement(first_choice, second_choice, third_choice, p); if (result.first) { return result; } } } } return std::pair<bool, std::vector<unsigned long>>{}; }; for (auto p = 100'000ul; p < max; ++p) { if (primes[p] == IS_PRIME) { bool has_family{false}; std::tie(has_family, std::ignore) = has_digit_family(p); if (has_family) { return p; } } } return 0ul; }
27300bb372f7488e4dd8d71e573858781a93f262
9bd8a5d49314a35472611dfe8946b80140c94d2c
/f.h
dc1e4e7231bb646f7ff76f2933a08a25a8a3ece2
[]
no_license
svenmcgov/cit_245
510776d5804d6a71fbccbae1fcef3f740831c262
653c2a838b1196152a335e2364eda8d92ceb216c
refs/heads/master
2021-06-12T23:14:28.944184
2017-03-27T18:08:16
2017-03-27T18:08:16
86,116,465
0
0
null
null
null
null
UTF-8
C++
false
false
80
h
f.h
// Stephen McGovern CIT-245 // 3/8/17 class f{ public: void hello(); };
e8090feec2efe21b7c60c0273587de7616aff568
061b63355d61613728f7845189da2dc82fd69e9e
/ibl/src/make/ibl_c6457/ibl_objs_template.inc
76eb221a4167be0e7c3063d4e138cead703f91ca
[]
no_license
jameskaxi/IBL
b42463c4227ed91bcf1b2cf7d668d41035f1f89b
bc2942f1245bdac5d3b75dc4ca07b5518cd6b93a
refs/heads/master
2020-04-29T01:17:23.092665
2017-10-23T14:19:41
2017-10-23T14:19:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,558
inc
ibl_objs_template.inc
/* ibl_objs_template.inc * * list of object files tagged with the endian field for replacement during make */ ../main/c64x/make/iblmain.ENDIAN_TAG.oc ../device/c64x/make/c6457.ENDIAN_TAG.oc ../driver/c64x/make/timer.ENDIAN_TAG.oc ../hw/c64x/make/t64.ENDIAN_TAG.oc ../hw/c64x/make/psc.ENDIAN_TAG.oc ../hw/c64x/make/emif31.ENDIAN_TAG.oc ../hw/c64x/make/null_uart.ENDIAN_TAG.oc #ifndef EXCLUDE_BIS ../interp/c64x/make/bis.ENDIAN_TAG.oc #endif #ifndef EXCLUDE_COFF ../interp/c64x/make/cload.ENDIAN_TAG.oc ../interp/c64x/make/osal.ENDIAN_TAG.oc #endif #ifndef EXCLUDE_BLOB ../interp/c64x/make/blob.ENDIAN_TAG.oc #endif #ifndef EXCLUDE_ELF ../interp/c64x/make/dload.ENDIAN_TAG.oc ../interp/c64x/make/elfwrap.ENDIAN_TAG.oc ../interp/c64x/make/dlw_client.ENDIAN_TAG.oc ../interp/c64x/make/dload_endian.ENDIAN_TAG.oc ../interp/c64x/make/ArrayList.ENDIAN_TAG.oc #endif #ifndef EXCLUDE_ETH ../ethboot/c64x/make/ethboot.ENDIAN_TAG.oc ../driver/c64x/make/net.ENDIAN_TAG.oc ../driver/c64x/make/arp.ENDIAN_TAG.oc ../driver/c64x/make/ip.ENDIAN_TAG.oc ../driver/c64x/make/udp.ENDIAN_TAG.oc ../driver/c64x/make/stream.ENDIAN_TAG.oc ../driver/c64x/make/bootp.ENDIAN_TAG.oc ../driver/c64x/make/tftp.ENDIAN_TAG.oc ../hw/c64x/make/cpmacdrv.ENDIAN_TAG.oc ../hw/c64x/make/mdio.ENDIAN_TAG.oc ../hw/c64x/make/sgmiicur.ENDIAN_TAG.oc #endif #ifndef EXCLUDE_NAND_GPIO ../nandboot/c64x/make/nandboot.ENDIAN_TAG.oc ../driver/c64x/make/nand.ENDIAN_TAG.oc ../ecc/c64x/make/3byte_ecc.ENDIAN_TAG.oc ../hw/c64x/make/gpio.ENDIAN_TAG.oc ../hw/c64x/make/nandgpio.ENDIAN_TAG.oc #endif
2efaa72c8a506270501a93760f0af2f172da3139
94ac5f2bd0a3a59621e3d9823482686121da05ac
/apps/etcdcli/etcd_cluster.cpp
abb969e21e8e784ce170c48ddedfce19526825a8
[ "BSD-3-Clause" ]
permissive
tangzhenquan/evpp
5a6986adc437279e2026fdef4b20cf03c9314ded
64c5d4d8e744f4bec5dcbd85b210d611327bb431
refs/heads/master
2020-06-18T18:00:55.344253
2019-07-19T02:41:00
2019-07-19T02:41:00
196,390,935
0
0
BSD-3-Clause
2019-07-11T12:32:58
2019-07-11T12:32:57
null
UTF-8
C++
false
false
12,577
cpp
etcd_cluster.cpp
// // Created by tom on 19-7-15. // #include <sstream> #include <assert.h> #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" #include "etcd_def.h" #include "etcd_packet.h" #include "etcd_cluster.h" namespace etcdcli { /** * @note APIs just like this * @see https://coreos.com/etcd/docs/latest/dev-guide/api_reference_v3.html * @see https://coreos.com/etcd/docs/latest/dev-guide/apispec/swagger/rpc.swagger.json * @note KeyValue: { "key": "KEY", "create_revision": "number", "mod_revision": "number", "version": "number", "value": "", "lease": "number" } * Get data => curl http://localhost:2379/v3beta/kv/range -X POST -d '{"key": "KEY", "range_end": ""}' * # Response {"kvs": [{...}], "more": "bool", "count": "COUNT"} * Set data => curl http://localhost:2379/v3beta/kv/put -X POST -d '{"key": "KEY", "value": "", "lease": "number", "prev_kv": "bool"}' * Renew data => curl http://localhost:2379/v3beta/kv/put -X POST -d '{"key": "KEY", "value": "", "prev_kv": "bool", "ignore_lease": true}' * # Response {"header":{...}, "prev_kv": {...}} * Delete data => curl http://localhost:2379/v3beta/kv/deleterange -X POST -d '{"key": "KEY", "range_end": "", "prev_kv": "bool"}' * # Response {"header":{...}, "deleted": "number", "prev_kvs": [{...}]} * * Watch => curl http://localhost:2379/v3beta/watch -XPOST -d '{"create_request": {"key": "WATCH KEY", "range_end": "", "prev_kv": true} }' * # Response {"header":{...},"watch_id":"ID","created":"bool", "canceled": "bool", "compact_revision": "REVISION", "events": [{"type": * "PUT=0|DELETE=1", "kv": {...}, prev_kv": {...}"}]} * * Allocate Lease => curl http://localhost:2379/v3beta/lease/grant -XPOST -d '{"TTL": 5, "ID": 0}' * # Response {"header":{...},"ID":"ID","TTL":"5"} * Keepalive Lease => curl http://localhost:2379/v3beta/lease/keepalive -XPOST -d '{"ID": 0}' * # Response {"header":{...},"ID":"ID","TTL":"5"} * Revoke Lease => curl http://localhost:2379/v3beta/kv/lease/revoke -XPOST -d '{"ID": 0}' * # Response {"header":{...}} * * List members => curl http://localhost:2379/v3beta/cluster/member/list -XPOST -d '{}' * # Response {"header":{...},"members":[{"ID":"ID","name":"NAME","peerURLs":["peer url"],"clientURLs":["client url"]}]} * * Authorization Header => curl -H "Authorization: TOKEN" * Authorization => curl http://localhost:2379/v3beta/auth/authenticate -XPOST -d '{"name": "username", "password": "pass"}' * # Response {"header":{...}, "token": "TOKEN"} * # Return 401 if auth token invalid * # Return 400 with {"error": "etcdserver: user name is empty", "code": 3} if need TOKEN * # Return 400 with {"error": "etcdserver: authentication failed, ...", "code": 3} if username of password invalid * Authorization Enable: * curl -L http://127.0.0.1:2379/v3beta/auth/user/add -XPOST -d '{"name": "root", "password": "3d91123233ffd36825bf2aca17808bfe"}' * curl -L http://127.0.0.1:2379/v3beta/auth/role/add -XPOST -d '{"name": "root"}' * curl -L http://127.0.0.1:2379/v3beta/auth/user/grant -XPOST -d '{"user": "root", "role": "root"}' * curl -L http://127.0.0.1:2379/v3beta/auth/enable -XPOST -d '{}' */ #define ETCD_API_V3_ERROR_HTTP_CODE_AUTH 401 #define ETCD_API_V3_ERROR_HTTP_INVALID_PARAM 400 #define ETCD_API_V3_ERROR_HTTP_PRECONDITION 412 // @see https://godoc.org/google.golang.org/grpc/codes #define ETCD_API_V3_ERROR_GRPC_CODE_UNAUTHENTICATED 16 #define ETCD_API_V3_MEMBER_LIST "/v3beta/cluster/member/list" #define ETCD_API_V3_AUTH_AUTHENTICATE "/v3beta/auth/authenticate" #define ETCD_API_V3_KV_GET "/v3beta/kv/range" #define ETCD_API_V3_KV_SET "/v3beta/kv/put" #define ETCD_API_V3_KV_DELETE "/v3beta/kv/deleterange" #define ETCD_API_V3_WATCH "/v3beta/watch" #define ETCD_API_V3_LEASE_GRANT "/v3beta/lease/grant" #define ETCD_API_V3_LEASE_KEEPALIVE "/v3beta/lease/keepalive" #define ETCD_API_V3_LEASE_REVOKE "/v3beta/kv/lease/revoke" namespace details{ const std::string &get_default_user_agent() { static std::string ret; if (!ret.empty()) { return ret; } char buffer[256] = {0}; const char *prefix = "Mozilla/5.0"; const char *suffix = "Etcdcli/1.0"; #if defined(_WIN32) || defined(__WIN32__) #if (defined(__MINGW32__) && __MINGW32__) const char *sys_env = "Win32; MinGW32"; #elif (defined(__MINGW64__) || __MINGW64__) const char *sys_env = "Win64; x64; MinGW64"; #elif defined(__CYGWIN__) || defined(__MSYS__) #if defined(_WIN64) || defined(__amd64) || defined(__x86_64) const char *sys_env = "Win64; x64; POSIX"; #else const char *sys_env = "Win32; POSIX"; #endif #elif defined(_WIN64) || defined(__amd64) || defined(__x86_64) const char *sys_env = "Win64; x64"; #else const char *sys_env = "Win32"; #endif #elif defined(__linux__) || defined(__linux) const char *sys_env = "Linux"; #elif defined(__APPLE__) const char *sys_env = "Darwin"; #elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__NetBSD__) const char *sys_env = "BSD"; #elif defined(__unix__) || defined(__unix) const char *sys_env = "Unix"; #else const char *sys_env = "Unknown"; #endif std::snprintf(buffer, sizeof(buffer) - 1, "%s (%s) %s", prefix, sys_env, suffix); ret = &buffer[0]; return ret; } } etcd_cluster::etcd_cluster() : flags_(0), loop_(NULL) { conf_.http_cmd_timeout = std::chrono::seconds(10); conf_.etcd_members_next_update_time = std::chrono::system_clock::from_time_t(0); conf_.etcd_members_update_interval = std::chrono::minutes(5); conf_.etcd_members_retry_interval = std::chrono::minutes(1); conf_.lease = 0; conf_.keepalive_next_update_time = std::chrono::system_clock::from_time_t(0); conf_.keepalive_timeout = std::chrono::seconds(16); conf_.keepalive_interval = std::chrono::seconds(5); conf_.path_node = "http://127.0.0.1:2379"; } void etcd_cluster::init(evpp::EventLoop *loop) { loop_ = loop; } etcd_cluster::~etcd_cluster() { reset(); } void etcd_cluster::reset() { flags_ = 0; conf_.http_cmd_timeout = std::chrono::seconds(10); conf_.authorization_header.clear(); conf_.path_node.clear(); conf_.etcd_members_next_update_time = std::chrono::system_clock::from_time_t(0); conf_.etcd_members_update_interval = std::chrono::minutes(5); conf_.etcd_members_retry_interval = std::chrono::minutes(1); conf_.lease = 0; conf_.keepalive_next_update_time = std::chrono::system_clock::from_time_t(0); conf_.keepalive_timeout = std::chrono::seconds(16); conf_.keepalive_interval = std::chrono::seconds(5); } bool etcd_cluster::is_available() const { if (check_flag(flag_t::CLOSING)) { return false; } // empty other actions will be delayed if (conf_.path_node.empty()) { return false; } return true; } void etcd_cluster::set_flag(etcdcli::etcd_cluster::flag_t::type f, bool v) { assert(0 == (f & (f - 1))); if (v == check_flag(f)) { return; } if (v) { flags_ |= f; } else { flags_ &= ~f; } //todo xxxxxx /*switch (f) { case flag_t::ENABLE_LEASE: { if (v) { create_request_lease_grant(); } else if (rpc_keepalive_) { rpc_keepalive_->set_on_complete(NULL); rpc_keepalive_->stop(); rpc_keepalive_.reset(); } break; } default: { break; } }*/ } time_t etcd_cluster::get_http_timeout_ms() const { time_t ret = static_cast<time_t>(std::chrono::duration_cast<std::chrono::milliseconds>(get_conf_http_timeout()).count()); if (ret <= 0) { ret = 30000; // 30s } return ret; } evpp::httpc::RequestPtr etcd_cluster::kv_get(const std::string &key, const std::string &range_end, int64_t limit, int64_t revision) { std::stringstream ss; ss << conf_.path_node << ETCD_API_V3_KV_GET; rapidjson::Document doc; rapidjson::Value & root = doc.SetObject(); etcd_packet::pack_key_range(root, key, range_end, doc); doc.AddMember("limit", limit, doc.GetAllocator()); doc.AddMember("revision", revision, doc.GetAllocator()); rapidjson::StringBuffer buffer; rapidjson::Writer<rapidjson::StringBuffer> writer(buffer); doc.Accept(writer); std::string body(buffer.GetString(), buffer.GetSize()); evpp::httpc::RequestPtr ret = std::make_shared<evpp::httpc::PostRequest>(loop_, ss.str(), body, evpp::Duration(evpp::Duration::kSecond*2)); ret->AddHeader("User-Agent", details::get_default_user_agent()); return ret; } evpp::httpc::Request* etcd_cluster::kv_set(const std::string &key, const std::string &value, bool assign_lease, bool prev_kv, bool ignore_value, bool ignore_lease) { std::stringstream ss; ss << conf_.path_node << ETCD_API_V3_KV_SET; rapidjson::Document doc; rapidjson::Value & root = doc.SetObject(); etcd_packet::pack_base64(root, "key", key, doc); etcd_packet::pack_base64(root, "value", value, doc); doc.AddMember("prev_kv", prev_kv, doc.GetAllocator()); doc.AddMember("ignore_value", ignore_value, doc.GetAllocator()); doc.AddMember("ignore_lease", ignore_lease, doc.GetAllocator()); rapidjson::StringBuffer buffer; rapidjson::Writer<rapidjson::StringBuffer> writer(buffer); doc.Accept(writer); std::string body(buffer.GetString(), buffer.GetSize()); evpp::httpc::Request* ret = new evpp::httpc::PostRequest(loop_, ss.str(), body, evpp::Duration(evpp::Duration::kSecond*5)); ret->AddHeader("User-Agent", details::get_default_user_agent()); return ret; } evpp::httpc::Request* etcd_cluster::watch(const std::string &key, const std::string &range_end, int64_t start_revision, bool prev_kv, bool progress_notify) { std::stringstream ss; ss << conf_.path_node << ETCD_API_V3_WATCH; rapidjson::Document doc; rapidjson::Value & root = doc.SetObject(); rapidjson::Value create_request(rapidjson::kObjectType); etcd_packet::pack_key_range(create_request, key, range_end, doc); if (prev_kv) { create_request.AddMember("prev_kv", prev_kv, doc.GetAllocator()); } if (progress_notify) { create_request.AddMember("progress_notify", progress_notify, doc.GetAllocator()); } if (0 != start_revision) { create_request.AddMember("start_revision", start_revision, doc.GetAllocator()); } root.AddMember("create_request", create_request, doc.GetAllocator()); rapidjson::StringBuffer buffer; rapidjson::Writer<rapidjson::StringBuffer> writer(buffer); doc.Accept(writer); std::string body(buffer.GetString(), buffer.GetSize()); evpp::httpc::Request* ret = new evpp::httpc::PostRequest(loop_, ss.str(), body, evpp::Duration(evpp::Duration::kSecond*5)); ret->AddHeader("User-Agent", details::get_default_user_agent()); ret->AddHeader("Connection","keep-alive"); return ret; } }
40e817cb660aae0734533cd65845a1279d571368
37cbb457c60300aac3d24cb9d44782d279f2e6af
/program3/table.cpp
da7eed140a46de316f258b0dd9a8ff08acbcd9cb
[]
no_license
dhwanilchokshi/CS163
f3118ea2e2cfbb326c6108e5d35fa9d78f257135
50ddd7ff4f6b33de5a9628a605a2e004a31bbdfb
refs/heads/master
2021-08-08T20:10:26.658792
2017-11-11T03:37:13
2017-11-11T03:37:13
110,314,747
0
0
null
null
null
null
UTF-8
C++
false
false
6,181
cpp
table.cpp
/* Dhwanil Chokshi CS163 Program 3 The purpose of this program was to create a hash table of games and their respective info. The hash table will consist of index which will be a bunch of node pointers to nodes. The nodes will carry information about the games. The game can be loaded from an external file, or the game can be added by the add function from the menu options. This program consist of chaining as a collision resolution technique and it will basically be a linear linked list of a linear linked list, so that the user can add recommendation for a certain game if they wish to. */ #include "cs163_header.h" //table class constructor recieving table size so the table //can be created //sets all the node pointers to NULL table::table(int size) { table_size = size; hash_table = new node *[table_size]; for(int i = 0; i < table_size; i++) { hash_table[i] = NULL; } } //destructor which deletes all the node pointers and nodes //and deletes the dynamically allocated table in the end table::~table() { for(int i = 0; i < table_size; i++) { node *head = hash_table[i]; deallocate(head); } if(hash_table) { delete [] hash_table; hash_table = NULL; } } //recursive function checks to see if there are multiple nodes to an index, goes through and deleted them void table::deallocate(node *&head) { if(!head) return; deallocate(head->next); if(head) { delete head; head = NULL; } } //add game function which adds a new game to the hash table //gets the index after passing the game to the hash function and then adding the game to the table int table::add_game(char name[], char disc[], char g_type[], char plat[], char rate[], char reco[]) { node *temp = NULL; int index = hash_function(name); if(index == -1) return 0; if(temp) { delete temp; } if(!hash_table[index]) { temp = new node; temp->games.copy_create(name, disc, g_type, plat, rate, reco); temp->next = NULL; hash_table[index] = temp; return 1; } else { temp = new node; temp->games.copy_create(name, disc, g_type, plat, rate, reco); temp->next = hash_table[index]; hash_table[index] = temp; return 1; } return 1; } //display the game information about a particular platform //by passing the name of the game and platform to checking function in manager game class //which returns based on if there was a match or not int table::display_platform(char plat[]) { if(!hash_table) return 0; for(int i = 0; i < table_size; i++) { if(hash_table[i]) { node *current = hash_table[i]; while(current) { if(current->games.check(plat)) { current->games.display_platform(); } current = current->next; } } } return 1; } //displays all game infromation by going through each index and displaying the information about //all games int table::display_all() { if(!hash_table) return 0; for(int i = 0; i < table_size; i++) { if(hash_table[i]) { node *current = hash_table[i]; while(current) { current->games.display_all_platform(); current = current->next; } } } return 1; } //checks whether or not if a game exists in the table or not int table::retrieve(char name[]) { if(!hash_table) return 0; int index = hash_function(name); if(index == -1) return 0; else { node *current = hash_table[index]; while(current) { if(current->games.check2(name)) { return 1; } current = current->next; } } return 1; } //load games from the external file and put the information directly into the arrays //then insert the games into the hash tables so all information can be displayed and retrieved int table::load_games() { char name[SIZE]; char disc[SIZE]; char g_type[SIZE]; char plat[SIZE]; char rate[SIZE]; char reco[SIZE]; ifstream file_in; file_in.open("CS163_games.txt", ios::in); if(!file_in) return 0; else { if(file_in) { while(file_in.get(name, SIZE, ':') && !file_in.eof()) { file_in.ignore(100, ':'); file_in.get(disc, SIZE, ':'); file_in.ignore(100, ':'); file_in.get(g_type, SIZE, ':'); file_in.ignore(100, ':'); file_in.get(plat, SIZE, ':'); file_in.ignore(100, ':'); file_in.get(rate, SIZE, ':'); file_in.ignore(100, ':'); file_in.get(reco, SIZE, '\n'); file_in.ignore(100, '\n'); add_game(name, disc, g_type, plat, rate, reco); } file_in.close(); return 1; } } return 1; } //removes a certain game based on the name, gets the name and checks the hash function index //if the index contains multiple nodes then check and delete the one which needs to be deleted int table::remove_game(char name[]) { if(!hash_table) return 0; int index = hash_function(name); if(index == -1) { return 0; } node *current = hash_table[index]; node *previous = NULL; while(current) { if(current->games.check2(name)) { if (previous) { previous->next = current->next; delete current; current = NULL; return 1; } else { hash_table[index] = current->next; delete current; current = NULL; return 1; } } previous = current; current = current->next; } return 1; } //add recommendation for a certain game of a certain platform //checks the platform and game name, if there is a match at the index, then the add recommendation //function of managing class is called which adds the recommendation to the game (linked list of linked list) int table::add_rec(char name[], char new_rec[], char plat[]) { if(!hash_table) return 0; int index = hash_function(name); if(index == -1) return 0; node *current = hash_table[index]; while(current) { if(current->games.check2(name)) { if(current->games.check(plat)) { current->games.add_recommendation(name, new_rec); return 1; } } current = current->next; } return 1; } //hash function which mods the sum of ASCII values by table size to give us an index where items will //be inputted int table::hash_function(char name[]) { if(!name) return -1; int sum = 0; int len = strlen(name); for(int i = 0; i < len; i++) { sum = sum + name[i]; } return sum % table_size; }
b90f1b9a15bf69c787ad58c641853cdd3020e1b6
7cab9f2fd15ca942ab1411c98ac2dd01762d26ec
/hw5/Parcel.cpp
b818f2d81384afec223ddf8abfc8330d248960c1
[]
no_license
jenny075/MMT_HW5
dc1cdfbbdf0b04c4671238a865825a263dc9b721
9cb0f40d32035f96ff9082014d2a98aa1adc8255
refs/heads/master
2020-12-10T19:47:42.762101
2020-01-24T18:23:17
2020-01-24T18:23:17
233,687,281
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
Parcel.cpp
#include "Parcel.H" //#ifndef _CRT_SECURE_NO_WARNINGS //#define _CRT_SECURE_NO_WARNINGS //#endif #pragma warning(disable:4996) Parcel::Parcel(const char* ID, int dest) { dest_ = dest; id_ = new char[strlen(ID) + 1]; strcpy(id_, ID); } char* Parcel::getID() const { return id_; } int Parcel::getDest() const { return dest_; } Parcel::~Parcel() { delete[] id_; }
f50db2f138c33d41c785c2ec9e432db60d3685a7
9e39f9f4d1c505cc724f4a812c383f523e572068
/EndGameCode2016/src/Commands/Movement/DriveToDefense.h
8e8de794ba4a3014ab8968a6c1e3fffc40049e0c
[]
no_license
FRC1716/2016-Robot
15e8d9112a2842f233979eedd1249bb145246389
ce302a7b8e27382e73b1ed494f65a50bf855b83a
refs/heads/master
2021-01-10T17:16:53.234265
2016-02-24T23:32:35
2016-02-24T23:32:35
52,045,475
0
1
null
2016-02-19T13:57:46
2016-02-18T23:05:37
C++
UTF-8
C++
false
false
347
h
DriveToDefense.h
#ifndef DRIVETODEFENSE_H #define DRIVETODEFENSE_H #include "Commands/Subsystem.h" #include "../../Robot.h" class DriveToDefense: public Command { public: DriveToDefense(); virtual void Initialize(); virtual void Execute(); virtual bool IsFinished(); virtual void End(); virtual void Interrupted(); private: float distance; }; #endif
622b3e644ccbf656dc7fcc54198ce1dbb20859f6
78bc09b155f05398ef60dc142545db7ce41e0339
/C-Programming-Udemy-master/Code/Tutorial 040 - Pointers/Windows/CPlusPlusTutorial/CPlusPlusTutorial/main.cpp
3d8fe8b0782cf965beef004c5bd6553477ca362a
[ "Unlicense", "MIT" ]
permissive
PacktPublishing/C-Development-Tutorial-Series---The-Complete-Coding-Guide
4b17e4aa1eefe6474e3bc30b30f8013ed0109812
7b2d3708a052d9ebda3872603f6bef3dc6003560
refs/heads/master
2021-06-27T21:43:52.966333
2021-01-19T07:59:16
2021-01-19T07:59:16
185,386,658
1
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
main.cpp
// // main.cpp // JJJ // // Created by Sonar Systems on 03/07/2014. // Copyright (c) 2014 Sonar Systems. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { int *i = new int(); int u = 20; i = &u; std::cout << *i << std::endl; *i = 40; std::cout << u << std::endl; return 0; }
490410c115b6b9b7623ff1eb7281ebca8e8ed8d5
0db67ee35f713a69752b630346ea1dc5458dc83b
/Trie/p211.cpp
0a65505262c97934c1ab8a4dca37183282d5b1ce
[]
no_license
jinshendan/AC-Leetcode
23696734d5e112fe973cabe5bca9faa24a7b8762
4d2152e4c2276c0e2a6e1830bd96ca4b23e0c9d5
refs/heads/main
2023-04-30T14:50:31.434697
2021-05-16T09:39:55
2021-05-16T09:39:55
362,826,000
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
cpp
p211.cpp
// 211. Design Add and Search Words Data Structure class WordDictionary { public: vector<vector<int>> ch; vector<int> val; int sz; /** Initialize your data structure here. */ WordDictionary() { sz = 1; ch.resize(1); ch[0].resize(26); val.resize(1); } void addWord(string word) { int cur = 0; for (auto& c: word){ int j = c - 'a'; if (!ch[cur][j]){ ch.push_back(vector<int>(26, 0)); val.push_back(0); ch[cur][j] = sz++; } cur = ch[cur][j]; } val[cur] = 1; } bool search_helper(string& word, int idx, int r){ int cur = r; for(int i = idx; i < word.length(); i++){ if (word[i] == '.'){ for (int j = 0; j < 26; j++){ if (!ch[cur][j]) continue; if (search_helper(word, i+1, ch[cur][j])) return true; } return false; } else{ int j = word[i] - 'a'; if (!ch[cur][j]) return false; cur = ch[cur][j]; } } return val[cur] == 1; } bool search(string word) { return search_helper(word, 0, 0); } }; /** * Your WordDictionary object will be instantiated and called as such: * WordDictionary* obj = new WordDictionary(); * obj->addWord(word); * bool param_2 = obj->search(word); */
8dd8e909488f027f6a4e447efb6a9a9c213f9cdb
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/chromium/chrome/browser/speech/extension_api/tts_extension_api_lacros_browsertest.cc
b7ef810aba24f8e7088a3ed876952192b1bea65f
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
4,721
cc
tts_extension_api_lacros_browsertest.cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/run_loop.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h" #include "chrome/browser/speech/tts_lacros.h" #include "chromeos/lacros/lacros_test_helper.h" #include "content/public/browser/tts_controller.h" #include "content/public/browser/tts_platform.h" #include "content/public/test/browser_test.h" #include "extensions/browser/test_extension_registry_observer.h" namespace extensions { namespace { void GiveItSomeTime(base::TimeDelta delta) { base::RunLoop run_loop; base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( FROM_HERE, run_loop.QuitClosure(), delta); run_loop.Run(); } } // namespace class LacrosTtsApiTest : public ExtensionApiTest, public content::VoicesChangedDelegate { public: void SetUpInProcessBrowserTestFixture() override { ExtensionApiTest::SetUpInProcessBrowserTestFixture(); content::TtsController::SkipAddNetworkChangeObserverForTests(true); content::TtsController* tts_controller = content::TtsController::GetInstance(); tts_controller->SetTtsEngineDelegate(TtsExtensionEngine::GetInstance()); TtsPlatformImplLacros::EnablePlatformSupportForTesting(); } protected: bool IsServiceAvailable() { // Ash version must have the change to allow enabling lacros_tts_support // for testing. return chromeos::IsAshVersionAtLeastForTesting( base::Version({106, 0, 5228})); } bool HasVoiceWithName(const std::string& name) { std::vector<content::VoiceData> voices; content::TtsController::GetInstance()->GetVoices(profile(), GURL(), &voices); for (auto& voice : voices) { if (voice.name == name) return true; } return false; } // content::VoicesChangedDelegate: void OnVoicesChanged() override { voices_changed_ = true; std::vector<content::VoiceData> voices; content::TtsController::GetInstance()->GetVoices(profile(), GURL(), &voices); } bool VoicesChangedNotified() { return voices_changed_; } void ResetVoicesChanged() { voices_changed_ = false; } void WaitUntilVoicesLoaded() { while (!HasVoiceWithName("Alice")) { GiveItSomeTime(base::Milliseconds(100)); } } void WaitUntilVoicesUnloaded() { while (HasVoiceWithName("Alice")) { GiveItSomeTime(base::Milliseconds(100)); } } private: bool voices_changed_ = false; }; // // TTS Engine tests. // IN_PROC_BROWSER_TEST_F(LacrosTtsApiTest, LoadAndUnloadLacrosTtsEngine) { if (!IsServiceAvailable()) GTEST_SKIP() << "Unsupported ash version."; // Before tts engine extension is loaded, verify the internal states are // clean. EXPECT_FALSE(VoicesChangedNotified()); EXPECT_FALSE(HasVoiceWithName("Alice")); EXPECT_FALSE(HasVoiceWithName("Pat")); EXPECT_FALSE(HasVoiceWithName("Cat")); // Load tts engine extension and register the tts engine events. content::TtsController::GetInstance()->AddVoicesChangedDelegate(this); ASSERT_TRUE(RunExtensionTest("tts_engine/lacros_register_engine", {}, {.ignore_manifest_warnings = true})) << message_; // Wait until Lacros gets the voices registered by the tts engine extension. WaitUntilVoicesLoaded(); // Verify TtsController notifies VoicesChangedDelegate for the voices change. EXPECT_TRUE(VoicesChangedNotified()); // Verify all the voices from tts engine extension are returned by // TtsController::GetVoices(). std::vector<content::VoiceData> voices; content::TtsController::GetInstance()->GetVoices(profile(), GURL(), &voices); EXPECT_TRUE(HasVoiceWithName("Alice")); EXPECT_TRUE(HasVoiceWithName("Pat")); EXPECT_TRUE(HasVoiceWithName("Cat")); ResetVoicesChanged(); // Uninstall tts engine extension. extensions::TestExtensionRegistryObserver observer( extensions::ExtensionRegistry::Get(profile()), last_loaded_extension_id()); UninstallExtension(last_loaded_extension_id()); observer.WaitForExtensionUninstalled(); WaitUntilVoicesUnloaded(); // Verify TtsController notifies VoicesChangedDelegate for the voices change. EXPECT_TRUE(VoicesChangedNotified()); // Verify the voices from the tts engine extensions are unloaded in Lacros // TtsController. EXPECT_FALSE(HasVoiceWithName("Alice")); EXPECT_FALSE(HasVoiceWithName("Pat")); EXPECT_FALSE(HasVoiceWithName("Cat")); } } // namespace extensions
89a53c3f426286ec12e5aa267584f4f7b01e370f
4bd57b8501d4326ecc06c1d1ea499935e1668d95
/MASH-dev/SeanWu/MACRO-dev/MACRO/src/Human.cpp
288208ad3a9a834c60f42cb69edd285684f2598d
[]
no_license
aucarter/MASH-Main
0a97eac24df1f7e6c4e01ceb4778088b2f00c194
d4ea6e89a9f00aa6327bed4762cba66298bb6027
refs/heads/master
2020-12-07T09:05:52.814249
2019-12-12T19:53:24
2019-12-12T19:53:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,518
cpp
Human.cpp
/* * __ ______ __________ ____ * / |/ / | / ____/ __ \/ __ \ * / /|_/ / /| |/ / / /_/ / / / / * / / / / ___ / /___/ _, _/ /_/ / * /_/ /_/_/ |_\____/_/ |_|\____/ * * Generic Human Class: humans are specialized by model type * * Sean Wu * November 2018 */ #include "Event.hpp" #include "Human.hpp" #include "Tile.hpp" #include "Patch.hpp" /* ################################################################################ * class boilerplate ################################################################################ */ /* define virtual destructor is ok */ human::~human(){ #ifdef MACRO_DEBUG std::cout << "human " << id << " dying at " << this << std::endl; #endif }; /* move operators */ human::human(human&&) = default; human& human::operator=(human&&) = default; /* ################################################################################ * derived class factory ################################################################################ */ /* derived classes the factory needs to know about */ #include "Human-PfSI.hpp" /* factory method */ std::unique_ptr<human> human::factory(const Rcpp::List& human_pars, tile* tileP_){ /* check what model we need to make */ std::string model(Rcpp::as<std::string>(human_pars["model"])); /* make a derived class */ if(model.compare("PfSI") == 0){ return std::make_unique<human_pfsi>(human_pars,tileP_); } else { Rcpp::stop("invalid 'model' field in 'human_pars'\n"); } }; /* ################################################################################ * event queue ################################################################################ */ /* add an event to my queue */ void human::addEvent2Q(event&& e){ eventQ.emplace_back(std::make_unique<event>(e)); std::sort(eventQ.begin(),eventQ.end(),[](const std::unique_ptr<event>& e1, const std::unique_ptr<event>& e2){ return e1->tEvent < e2->tEvent; }); }; /* remove future queued events */ void human::rmTagFromQ(const std::string &tag){ eventQ.erase(std::remove_if(eventQ.begin(),eventQ.end(), [tag](eventP& e){ return(tag.compare(e->tag)==0); }),eventQ.end()); }; /* fire the first event */ void human::fireEvent(){ if(eventQ.size() > 0){ tnow = eventQ.front()->tEvent; /* update local simulation time */ eventQ.front()->eventF(); eventQ.erase(eventQ.begin()); } }; /* print my event queue */ void human::printEventQ(){ std::cout << "printing human " << id << ", event queue: " << std::endl; for(auto it = eventQ.begin(); it != eventQ.end(); it++){ (*it)->print(); } }; /* ################################################################################ * movement ################################################################################ */ patch* human::get_patch(){ return tileP->get_patch(patch_id); }; patch* human::get_home_patch(){ return tileP->get_patch(home_patch_id); }; /* ################################################################################ * biting ################################################################################ */ /* decrement the biting weight where i am */ void human::decrement_bweight(){ tileP->get_patch(patch_id)->decrement_bWeightHuman(bweight); }; /* accumulate the biting weight where i am */ void human::accumulate_bweight(){ tileP->get_patch(patch_id)->accumulate_bWeightHuman(bweight); };
2ae51949ba1bfa1bc97beb7db64288d2cf0fb244
c6267eae7fdeee9e540b99c15b4f23b9efeb87bc
/RayTracer/Src/RayTracer/Sampler/Sampler.cpp
91cb144d40032aec52eb89db47f80b0a1089088d
[]
no_license
AsehesL/RayTracer
268e43642ea8b7b8f9e09c880338b0ad602dbad2
e3b28535228fd4110d7e8a9e265688d5f391992e
refs/heads/main
2023-03-10T09:39:06.291552
2021-02-22T11:56:18
2021-02-22T11:56:18
339,638,846
0
0
null
null
null
null
UTF-8
C++
false
false
6,390
cpp
Sampler.cpp
#include "Sampler.h" #include "../../Core/Math.h" #include <random> thread_local std::mt19937_64 random_sampler(std::random_device{}()); double RandomUnit() { static thread_local std::uniform_real_distribution<double> unit_distribution(0.0, std::nextafter(1.0, 0.0)); return unit_distribution(random_sampler); } RayTracer::SamplerBase::SamplerBase() { } RayTracer::SamplerBase::~SamplerBase() { delete[] m_shuffledIndices; delete[] m_samples; } int RayTracer::SamplerBase::GetNumSamples() const { return m_numSamples; } int RayTracer::SamplerBase::GetCurrentSample() const { return m_currentSample; } bool RayTracer::SamplerBase::NextSample() { if (m_currentSample < m_numSamples) { m_currentSample++; return true; } return false; } void RayTracer::SamplerBase::ResetSampler() { m_currentSample = 0; } double RayTracer::SamplerBase::GetRandom() { return RandomUnit(); } void RayTracer::SamplerBase::SampleHemiSphere(float e, Vector3& out) { Vector2 sample; Sample(sample); float cos_phi = cos(2.0f * Math::PI * sample.x); float sin_phi = sin(2.0f * Math::PI * sample.x); float cos_theta = pow(1.0f - sample.y, 1.0f / (e + 1.0f)); float sin_theta = sqrt(1.0f - cos_theta * cos_theta); float pu = sin_theta * cos_phi; float pv = sin_theta * sin_phi; float pw = cos_theta; out = Vector3(pu, pv, pw); } void RayTracer::SamplerBase::SampleSphere(Vector3& out) { Vector2 sample; Sample(sample); float x = cos(2.0f * Math::PI * sample.x) * 2.0f * sqrt(sample.y * (1 - sample.y)); float y = sin(2.0f * Math::PI * sample.x) * 2.0f * sqrt(sample.y * (1 - sample.y)); float z = 1.0f - 2.0f * sample.y; out = Vector3(x, y, z); } void RayTracer::SamplerBase::SampleUnitDisk(Vector2& out) { Vector2 sample; Sample(sample); sample.x = 2.0f * sample.x - 1.0f; sample.y = 2.0f * sample.y - 1.0f; double r = 0.0; double phi = 0.0; if (sample.x > -sample.y) { if (sample.x > sample.y) { r = sample.x; phi = sample.y / sample.x; } else { r = sample.y; phi = 2.0f - sample.x / sample.y; } } else { if (sample.x < sample.y) { r = -sample.x; phi = 4.0f + sample.y / sample.x; } else { r = -sample.y; if (sample.y < -FLT_EPSILON || sample.y > FLT_EPSILON) { phi = 6.0f - sample.x / sample.y; } else { phi = 0.0f; } } } phi *= Math::PI * 0.25f; out = Vector2(r * cos(phi), r * sin(phi)); } void RayTracer::SamplerBase::Sample(Vector2& out) { if (m_numSamples == 1) { out = Vector2(0.5f, 0.5f); return; } if ((int)(m_index % m_numSamples) == 0) { m_jump = int(GetRandom() * m_numSets) * m_numSamples; } out = m_samples[m_jump + m_shuffledIndices[m_jump + m_index % m_numSamples]]; m_index += 1; } void RayTracer::SamplerBase::Init(int numSamples, int numSets) { InitSampler(numSamples, numSets); m_shuffledIndices = new int[m_numSets * m_numSamples]; SetupShuffledIndices(); } void RayTracer::SamplerBase::SetupShuffledIndices() { int* indices = new int[m_numSamples](); for (int i = 0; i < m_numSamples; i++) indices[i] = i; m_shuffledIndices = new int[m_numSamples * m_numSets]; for (int i = 0; i < m_numSets; i++) { int n = m_numSamples; while (n > 1) { n--; int k = int(GetRandom() * (n + 1)); int value = indices[k]; indices[k] = indices[n]; indices[n] = value; } for (int j = 0; j < m_numSamples; j++) { m_shuffledIndices[i * m_numSamples + j] = indices[j]; } } delete[] indices; } RayTracer::RandomSampler::RandomSampler() : SamplerBase() { } RayTracer::RandomSampler::~RandomSampler() { } void RayTracer::RandomSampler::InitSampler(int numSamples, int numSets) { m_numSamples = numSamples; m_numSets = numSets; m_samples = new Vector2[m_numSets * m_numSamples]; for (int i = 0; i < numSets; i++) { for (int j = 0; j < numSamples; j++) { m_samples[i * numSamples + j] = Vector2(GetRandom(), GetRandom()); } } } RayTracer::JitteredSampler::JitteredSampler() : SamplerBase() { } RayTracer::JitteredSampler::~JitteredSampler() { } void RayTracer::JitteredSampler::InitSampler(int numSamples, int numSets) { int n = (int)sqrt(numSamples); m_numSamples = n * n; m_numSets = numSets; m_samples = new Vector2[m_numSets * m_numSamples]; int index = 0; for (int i = 0; i < numSets; i++) { for (int j = 0; j < n; j++) { for (int k = 0; k < n; k++) { Vector2 sp = Vector2((k + GetRandom()) / n, (j + GetRandom()) / n); m_samples[index] = sp; index += 1; } } } } RayTracer::HammersleySampler::HammersleySampler() : SamplerBase() { } RayTracer::HammersleySampler::~HammersleySampler() { } void RayTracer::HammersleySampler::InitSampler(int numSamples, int numSets) { m_numSamples = numSamples; m_numSets = numSets; m_samples = new Vector2[m_numSets * m_numSamples]; for (int i = 0; i < numSets; i++) { for (int j = 0; j < numSamples; j++) { m_samples[i * numSamples + j] = Vector2(((float)j) / numSamples, Phi(j)); } } } float RayTracer::HammersleySampler::Phi(int j) { float x = 0.0f; float f = 0.5f; while (((int)j) > 0) { x += f * (j % 2); j = j / 2; f *= 0.5f; } return x; } RayTracer::RegularSampler::RegularSampler() : SamplerBase() { } RayTracer::RegularSampler::~RegularSampler() { } void RayTracer::RegularSampler::InitSampler(int numSamples, int numSets) { int n = (int)sqrt(numSamples); m_numSamples = n * n; m_numSets = numSets; m_samples = new Vector2[m_numSets * m_numSamples]; int index = 0; for (int i = 0; i < numSets; i++) { for (int j = 0; j < n; j++) { for (int k = 0; k < n; k++) { m_samples[index] = Vector2((0.5f + k) / n, (0.5f + j) / n); index += 1; } } } } RayTracer::SamplerBase* RayTracer::CreateSampler(SamplerType samplerType, int numSamples, int numSets) { RayTracer::SamplerBase* sampler = nullptr; switch (samplerType) { case SamplerType::Hammersley: sampler = new HammersleySampler(); case SamplerType::Random: sampler = new RandomSampler(); case SamplerType::Regular: sampler = new RegularSampler(); case SamplerType::Jittered: sampler = new JitteredSampler(); default: sampler = new RegularSampler(); } if (sampler) sampler->Init(numSamples, numSets); return sampler; }
e6bb211f824b835fbaf4ee91d581aba34da8393f
5885fd1418db54cc4b699c809cd44e625f7e23fc
/dmoj/dmopc18c4/a.cpp
010e4283c73abcc33f05aa16fe8d5fa5f5c2cc2f
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
1,033
cpp
a.cpp
#include <bits/stdc++.h> using namespace std; #define _USE_MATH_DEFINES typedef long long ll; typedef long double ld; typedef pair<int,int> pii; typedef complex<ld> pt; typedef vector<pt> pol; const char nl = '\n'; const int INF = 0x3f3f3f3f; const ll INFLL = 0x3f3f3f3f3f3f3f3f; const ll MOD = 1e9+7; const ld EPS = 1e-10; mt19937 rng(chrono::high_resolution_clock::now().time_since_epoch().count()); int sqr(int x) { return x*x; } //#define FILEIO int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); cout << fixed << setprecision(10); #ifdef FILEIO freopen("test.in", "r", stdin); freopen("test.out", "w", stdout); #endif int r, x, y; cin >> r >> x >> y; int best = 1e5; bool good = false; for (int i=0; i<3; i++) { int a, b, c; cin >> a >> b >> c; if (c < best) { best = c; if (sqr(x-a)+sqr(y-b)<r*r) { good = true; } else { good = false; } } } cout << (good ? "What a beauty!" : "Time to move my telescope!") << nl; return 0; }
6cdcff468f27ca628d11488a5f9e3070e264b035
18efcea9c1b20d6ea9f97bf7f9072b8fa019dc80
/dbmanager.h
c067f754f4557266284f58d52defca6e0512d62d
[]
no_license
MyQt/Sales
f7dc355d823411ca9d4fc09c60da9b9ed3a9cfab
4a02fd0fa58c6c601c596b3d0127b8a121c8b689
refs/heads/master
2020-06-26T04:42:47.052775
2017-07-21T15:00:43
2017-07-21T15:00:43
97,000,532
0
0
null
null
null
null
UTF-8
C++
false
false
972
h
dbmanager.h
#ifndef DBMANAGER_H #define DBMANAGER_H #include "BillData.h" #include <QObject> #include <QtSql/QSqlDatabase> class DBManager : public QObject { Q_OBJECT public: explicit DBManager(const QString& path, bool doCreate = false, QObject *parent = 0); bool isBillExist(BillData* bill); void importBills(QList<BillData*> billList); void restoreBills(QList<BillData*> billList); private: QSqlDatabase m_db; QList<BillData*> getBillsByNo(QString no); bool permanantlyRemoveAllBills(); signals: void billsReceived(QList<BillData*> billList); public slots: QList<BillData*> getAllBills(); QList<BillData*> getBillsByCustomer(const QString &customer); bool addBill(BillData* bill); bool removeBill(BillData* bill); bool removeBillsByCustomer(const QString &customer); bool removeBillsByNo(const QString &no); bool migrateBill(BillData* bill); // 插入表单 int getLastRowID(); }; #endif // DBMANAGER_H
52843b75703c33cada3c863bbd2066fae6117bba
5a4c61c27b696379669df4e4983a2d038906b7f4
/src/blockchain/transaction.cpp
fbeba84ec7738bfefc74e9a8fd367809d3931c23
[]
no_license
DowntownHiFi/BitShares
fbb52b0e153907aedd5184d2a710f2beb27ccac0
f775587a5812aa87e18d52daba2ce9d46046608c
refs/heads/master
2020-12-25T21:33:58.350428
2014-02-21T06:47:44
2014-02-21T06:47:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,351
cpp
transaction.cpp
#include <bts/address.hpp> #include <bts/blockchain/transaction.hpp> #include <fc/reflect/variant.hpp> #include <fc/io/raw.hpp> #include <fc/log/logger.hpp> namespace bts { namespace blockchain { fc::sha256 transaction::digest()const { fc::sha256::encoder enc; fc::raw::pack( enc, *this ); return enc.result(); } std::unordered_set<bts::address> signed_transaction::get_signed_addresses()const { auto dig = digest(); std::unordered_set<address> r; for( auto itr = sigs.begin(); itr != sigs.end(); ++itr ) { r.insert( address(fc::ecc::public_key( *itr, dig )) ); } return r; } std::unordered_set<bts::pts_address> signed_transaction::get_signed_pts_addresses()const { auto dig = digest(); std::unordered_set<pts_address> r; // add both compressed and uncompressed forms... for( auto itr = sigs.begin(); itr != sigs.end(); ++itr ) { // note: 56 is the version bit of protoshares r.insert( pts_address(fc::ecc::public_key( *itr, dig ),false,56) ); r.insert( pts_address(fc::ecc::public_key( *itr, dig ),true,56) ); // note: 5 comes from en.bitcoin.it/wiki/Vanitygen where version bit is 5 r.insert( pts_address(fc::ecc::public_key( *itr, dig ),false,5) ); r.insert( pts_address(fc::ecc::public_key( *itr, dig ),true,5) ); } return r; } uint160 signed_transaction::id()const { fc::sha512::encoder enc; fc::raw::pack( enc, *this ); return small_hash( enc.result() ); } void signed_transaction::sign( const fc::ecc::private_key& k ) { try { sigs.insert( k.sign_compact( digest() ) ); } FC_RETHROW_EXCEPTIONS( warn, "error signing transaction", ("trx", *this ) ); } size_t signed_transaction::size()const { fc::datastream<size_t> ds; fc::raw::pack(ds,*this); return ds.tellp(); } } } namespace fc { void to_variant( const bts::blockchain::trx_output& var, variant& vo ) { fc::mutable_variant_object obj; obj["amount"] = var.amount; //std::string(bts::blockchain::asset( var.amount, var.unit )); obj["claim_func"] = var.claim_func; switch( var.claim_func ) { case bts::blockchain::claim_by_signature: obj["claim_data"] = fc::raw::unpack<bts::blockchain::claim_by_signature_output>(var.claim_data); break; case bts::blockchain::claim_by_pts: obj["claim_data"] = fc::raw::unpack<bts::blockchain::claim_by_pts_output>(var.claim_data); break; case bts::blockchain::claim_by_bid: obj["claim_data"] = fc::raw::unpack<bts::blockchain::claim_by_bid_output>(var.claim_data); break; case bts::blockchain::claim_by_long: obj["claim_data"] = fc::raw::unpack<bts::blockchain::claim_by_long_output>(var.claim_data); break; case bts::blockchain::claim_by_cover: obj["claim_data"] = fc::raw::unpack<bts::blockchain::claim_by_cover_output>(var.claim_data); break; }; vo = std::move(obj); } void from_variant( const variant& var, bts::blockchain::trx_output& vo ) { FC_ASSERT( !"TODO: implement from_variant(trx_output)" ); } };
ba3be4dfbbd4bcbbba54de8b6984c46c2078a09c
6910964946470fa5aaf3746f83b34b17267a8dde
/Lesson_11/tennis/tennis/ball.h
242ba3cffe802711c18e54c0d9a07cae36d909ad
[]
no_license
nezumimusume/GamePG_1
909424ed2ecb435c97669774807749690489b153
1d190ade032cc09aed47b01726be4793ef13fc54
refs/heads/master
2023-08-01T13:39:30.047983
2017-01-17T00:07:45
2017-01-17T00:07:45
null
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
415
h
ball.h
#pragma once class Ball { public: Ball(); ~Ball(); void Init(); void Update(); void Render(CRenderContext& renderContext); ///////////////////////////////////////// //ここからメンバ変数。 ///////////////////////////////////////// CSkinModelData modelData; //モデルデータ。 CSkinModel model; //モデル。 CVector3 position; //座標。 CVector3 moveSpeed; //移動速度。 };
9dc17f418596f4fe093632a50b26b43937a8e255
ccc70facd66cea8203e39e310fb341ee3eb22e3a
/online stock span.cpp
dc4d3586357ce647097bc00fedaf40635240a71c
[]
no_license
pranoym14/LeetCode-May-challenge
a080629df25679445f427f27e51e75d1ce4148be
5e3912b358376554634ae0d61f74209729ed57ba
refs/heads/master
2022-09-25T09:15:17.313821
2020-05-31T16:54:35
2020-05-31T16:54:35
268,321,746
0
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
online stock span.cpp
static auto magic = []() {ios_base::sync_with_stdio(false); cin.tie(nullptr); return false;}; class StockSpanner { public: stack<array<int, 2>> st; int count; StockSpanner() { count=0; } int next(int price) { while(!st.empty() and st.top()[0] <= price) st.pop(); int ans = st.empty() ? count+1 : count - st.top()[1]; st.push({price,count++}); return ans; } };
444685eadce01426ada28d0b78d4073ad2dcb1d0
0783dd95ede971b91728a21074f11b70fd20aa55
/backwardFacingStep_baseCase_LRR/900/phi
fa4b595acda40918bf967788c4ed575db7ba36c9
[]
no_license
bshambaugh/openfoam-experiments2
0c5430940ddb04c5f85d0fbdd09a7ae01f0ed3f1
dbd9ce7bec30d897f34da8871188fce3a5564a4d
refs/heads/master
2020-04-14T06:49:39.690493
2019-01-01T23:03:39
2019-01-01T23:03:39
163,696,599
0
0
null
null
null
null
UTF-8
C++
false
false
168,209
phi
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class surfaceScalarField; location "900"; object phi; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 3 -1 0 0 0 0]; internalField nonuniform List<scalar> 13452 ( 5.95313e-05 7.37189e-07 5.86592e-05 8.72055e-07 5.78162e-05 8.43023e-07 5.69811e-05 8.35093e-07 5.61551e-05 8.26045e-07 5.53509e-05 8.04138e-07 5.4576e-05 7.74946e-07 5.38328e-05 7.43204e-07 5.31224e-05 7.10329e-07 5.24455e-05 6.76898e-07 5.1802e-05 6.43566e-07 5.11911e-05 6.1091e-07 5.06118e-05 5.79289e-07 5.00629e-05 5.48891e-07 4.95431e-05 5.19807e-07 4.9051e-05 4.9207e-07 4.85853e-05 4.65672e-07 4.81448e-05 4.40579e-07 4.7728e-05 4.16738e-07 4.73339e-05 3.94092e-07 4.69614e-05 3.72577e-07 4.66092e-05 3.52131e-07 4.62765e-05 3.3269e-07 4.59623e-05 3.14196e-07 4.56657e-05 2.96588e-07 4.53859e-05 2.79816e-07 4.51221e-05 2.63814e-07 4.48735e-05 2.48585e-07 4.46396e-05 2.33883e-07 4.44192e-05 2.20432e-07 4.42136e-05 2.05585e-07 4.40178e-05 1.95804e-07 1.68007e-07 4.38498e-05 6.23701e-05 3.5739e-07 6.26549e-05 5.87255e-07 6.28762e-05 6.21724e-07 6.30527e-05 6.58587e-07 6.31874e-05 6.91412e-07 6.32837e-05 7.07861e-07 6.33451e-05 7.13531e-07 6.33748e-05 7.135e-07 6.33761e-05 7.09032e-07 6.33524e-05 7.00536e-07 6.33073e-05 6.88732e-07 6.32438e-05 6.74418e-07 6.31648e-05 6.5823e-07 6.30731e-05 6.40653e-07 6.29708e-05 6.2208e-07 6.286e-05 6.02838e-07 6.27425e-05 5.83189e-07 6.26197e-05 5.63341e-07 6.2493e-05 5.43456e-07 6.23634e-05 5.23663e-07 6.2232e-05 5.04061e-07 6.20994e-05 4.84729e-07 6.19663e-05 4.65721e-07 6.18334e-05 4.47082e-07 6.17012e-05 4.28837e-07 6.157e-05 4.1101e-07 6.14402e-05 3.93601e-07 6.13122e-05 3.76647e-07 6.1186e-05 3.60031e-07 6.10624e-05 3.44083e-07 6.09402e-05 3.2774e-07 6.08227e-05 3.13264e-07 2.97062e-07 6.06937e-05 6.38365e-05 2.82304e-07 6.38978e-05 5.25936e-07 6.39331e-05 5.86407e-07 6.39614e-05 6.303e-07 6.39849e-05 6.67943e-07 6.40043e-05 6.88446e-07 6.40213e-05 6.96576e-07 6.40366e-05 6.98201e-07 6.40503e-05 6.95272e-07 6.40624e-05 6.88412e-07 6.40728e-05 6.78396e-07 6.40812e-05 6.66035e-07 6.40874e-05 6.51951e-07 6.40915e-05 6.36593e-07 6.40933e-05 6.20314e-07 6.40927e-05 6.034e-07 6.40898e-05 5.86081e-07 6.40846e-05 5.68534e-07 6.40772e-05 5.50896e-07 6.40676e-05 5.33273e-07 6.40559e-05 5.15749e-07 6.40422e-05 4.98386e-07 6.40267e-05 4.81231e-07 6.40095e-05 4.64318e-07 6.39906e-05 4.47669e-07 6.39703e-05 4.31302e-07 6.39487e-05 4.15216e-07 6.39259e-05 3.99431e-07 6.39021e-05 3.83892e-07 6.38775e-05 3.68694e-07 6.38516e-05 3.53601e-07 6.3826e-05 3.38892e-07 3.246e-07 6.37984e-05 6.5644e-05 2.21346e-07 6.57108e-05 4.59203e-07 6.57547e-05 5.4244e-07 6.57894e-05 5.95593e-07 6.5819e-05 6.38407e-07 6.58438e-05 6.63646e-07 6.5865e-05 6.75384e-07 6.58835e-05 6.79618e-07 6.59001e-05 6.78757e-07 6.59148e-05 6.73632e-07 6.59281e-05 6.65091e-07 6.59402e-05 6.53996e-07 6.59511e-05 6.41015e-07 6.59611e-05 6.26631e-07 6.59702e-05 6.11224e-07 6.59785e-05 5.95099e-07 6.59861e-05 5.78502e-07 6.5993e-05 5.6162e-07 6.59993e-05 5.44599e-07 6.6005e-05 5.27551e-07 6.60102e-05 5.10562e-07 6.60149e-05 4.93695e-07 6.60191e-05 4.76999e-07 6.60229e-05 4.60505e-07 6.60263e-05 4.44236e-07 6.60294e-05 4.28205e-07 6.60322e-05 4.12413e-07 6.60348e-05 3.96866e-07 6.60372e-05 3.81534e-07 6.60394e-05 3.66454e-07 6.60415e-05 3.51531e-07 6.60435e-05 3.3687e-07 3.22829e-07 6.60453e-05 6.75014e-05 1.76691e-07 6.75606e-05 4.00048e-07 6.7606e-05 4.97073e-07 6.76451e-05 5.56442e-07 6.76814e-05 6.02162e-07 6.77143e-05 6.30728e-07 6.77441e-05 6.45524e-07 6.77716e-05 6.52146e-07 6.77972e-05 6.53212e-07 6.7821e-05 6.49745e-07 6.78435e-05 6.42669e-07 6.78646e-05 6.32879e-07 6.78845e-05 6.21071e-07 6.79034e-05 6.07751e-07 6.79213e-05 5.93313e-07 6.79383e-05 5.78074e-07 6.79546e-05 5.62285e-07 6.797e-05 5.46141e-07 6.79848e-05 5.29793e-07 6.7999e-05 5.13358e-07 6.80127e-05 4.96925e-07 6.80258e-05 4.80559e-07 6.80385e-05 4.64311e-07 6.80508e-05 4.48216e-07 6.80627e-05 4.32294e-07 6.80744e-05 4.16561e-07 6.80858e-05 4.01018e-07 6.8097e-05 3.85665e-07 6.8108e-05 3.70487e-07 6.8119e-05 3.55485e-07 6.81299e-05 3.4063e-07 6.81408e-05 3.25932e-07 3.11552e-07 6.81521e-05 6.94169e-05 1.43865e-07 6.94686e-05 3.48321e-07 6.95132e-05 4.52411e-07 6.95533e-05 5.16339e-07 6.95912e-05 5.64288e-07 6.96263e-05 5.95615e-07 6.96587e-05 6.13121e-07 6.9689e-05 6.219e-07 6.97175e-05 6.24714e-07 6.97444e-05 6.22778e-07 6.977e-05 6.1708e-07 6.97944e-05 6.08536e-07 6.98176e-05 5.97855e-07 6.98398e-05 5.85558e-07 6.98611e-05 5.7205e-07 6.98815e-05 5.57657e-07 6.99011e-05 5.42636e-07 6.99201e-05 5.27189e-07 6.99384e-05 5.11473e-07 6.99561e-05 4.95608e-07 6.99734e-05 4.79689e-07 6.99901e-05 4.63785e-07 7.00065e-05 4.47948e-07 7.00225e-05 4.32216e-07 7.00382e-05 4.16612e-07 7.00536e-05 4.0115e-07 7.00688e-05 3.85835e-07 7.00838e-05 3.70664e-07 7.00987e-05 3.55623e-07 7.01134e-05 3.40701e-07 7.01282e-05 3.25875e-07 7.0143e-05 3.11095e-07 2.96424e-07 7.01582e-05 7.13907e-05 1.1945e-07 7.14348e-05 3.04264e-07 7.14764e-05 4.10818e-07 7.1515e-05 4.77779e-07 7.15522e-05 5.27083e-07 7.15874e-05 5.60333e-07 7.16206e-05 5.79991e-07 7.16519e-05 5.906e-07 7.16816e-05 5.94958e-07 7.171e-05 5.94405e-07 7.17371e-05 5.89966e-07 7.17631e-05 5.82564e-07 7.1788e-05 5.72918e-07 7.1812e-05 5.61562e-07 7.18352e-05 5.48914e-07 7.18575e-05 5.35305e-07 7.18791e-05 5.21002e-07 7.19001e-05 5.0621e-07 7.19205e-05 4.9109e-07 7.19403e-05 4.7577e-07 7.19597e-05 4.60345e-07 7.19786e-05 4.44888e-07 7.19971e-05 4.29455e-07 7.20152e-05 4.14083e-07 7.2033e-05 3.98798e-07 7.20506e-05 3.83615e-07 7.20679e-05 3.68538e-07 7.2085e-05 3.53565e-07 7.21019e-05 3.38682e-07 7.21187e-05 3.23868e-07 7.21355e-05 3.09098e-07 7.21523e-05 2.94299e-07 2.7948e-07 7.21692e-05 7.34237e-05 1.00988e-07 7.34611e-05 2.66879e-07 7.34997e-05 3.72238e-07 7.35369e-05 4.40546e-07 7.35736e-05 4.90382e-07 7.36091e-05 5.24882e-07 7.36428e-05 5.46275e-07 7.36749e-05 5.58491e-07 7.37056e-05 5.64254e-07 7.3735e-05 5.64987e-07 7.37633e-05 5.61742e-07 7.37904e-05 5.5544e-07 7.38165e-05 5.46805e-07 7.38417e-05 5.3638e-07 7.3866e-05 5.2459e-07 7.38895e-05 5.11772e-07 7.39123e-05 4.98194e-07 7.39345e-05 4.84068e-07 7.3956e-05 4.69557e-07 7.3977e-05 4.54793e-07 7.39975e-05 4.39873e-07 7.40175e-05 4.24875e-07 7.40371e-05 4.09856e-07 7.40563e-05 3.94855e-07 7.40752e-05 3.79902e-07 7.40938e-05 3.65012e-07 7.41122e-05 3.5019e-07 7.41303e-05 3.35434e-07 7.41482e-05 3.20732e-07 7.4166e-05 3.0606e-07 7.41837e-05 2.91391e-07 7.42014e-05 2.76663e-07 2.61871e-07 7.4219e-05 7.55168e-05 8.66841e-08 7.55485e-05 2.35119e-07 7.55839e-05 3.36839e-07 7.56193e-05 4.05166e-07 7.56547e-05 4.54952e-07 7.56895e-05 4.90132e-07 7.5723e-05 5.12805e-07 7.57551e-05 5.26322e-07 7.57861e-05 5.33273e-07 7.5816e-05 5.35132e-07 7.58447e-05 5.3296e-07 7.58725e-05 5.27664e-07 7.58994e-05 5.19967e-07 7.59253e-05 5.10416e-07 7.59505e-05 4.99435e-07 7.59749e-05 4.87367e-07 7.59986e-05 4.74483e-07 7.60217e-05 4.60996e-07 7.60441e-05 4.47074e-07 7.60661e-05 4.32851e-07 7.60875e-05 4.18429e-07 7.61085e-05 4.03886e-07 7.61291e-05 3.89282e-07 7.61493e-05 3.7466e-07 7.61691e-05 3.60049e-07 7.61887e-05 3.45468e-07 7.6208e-05 3.30923e-07 7.6227e-05 3.16414e-07 7.62458e-05 3.01929e-07 7.62644e-05 2.87447e-07 7.62828e-05 2.72939e-07 7.63012e-05 2.58341e-07 2.43635e-07 7.63194e-05 7.76709e-05 7.53137e-08 7.76981e-05 2.08016e-07 7.77304e-05 3.0452e-07 7.77639e-05 3.71676e-07 7.7798e-05 4.20805e-07 7.78321e-05 4.56087e-07 7.78653e-05 4.79556e-07 7.78976e-05 4.94057e-07 7.79289e-05 5.01987e-07 7.79592e-05 5.04822e-07 7.79885e-05 5.03614e-07 7.80169e-05 4.99249e-07 7.80445e-05 4.92435e-07 7.80712e-05 4.83719e-07 7.80971e-05 4.73525e-07 7.81222e-05 4.62195e-07 7.81467e-05 4.50001e-07 7.81706e-05 4.37157e-07 7.81938e-05 4.23835e-07 7.82165e-05 4.10167e-07 7.82386e-05 3.9626e-07 7.82603e-05 3.82192e-07 7.82816e-05 3.68027e-07 7.83024e-05 3.5381e-07 7.83229e-05 3.3957e-07 7.83431e-05 3.2533e-07 7.83629e-05 3.11098e-07 7.83824e-05 2.96876e-07 7.84017e-05 2.82655e-07 7.84207e-05 2.68419e-07 7.84395e-05 2.54147e-07 7.84581e-05 2.39797e-07 2.2538e-07 7.84763e-05 7.98876e-05 6.60394e-08 7.99109e-05 1.84697e-07 7.99404e-05 2.75071e-07 7.99719e-05 3.40095e-07 8.00047e-05 3.88065e-07 8.00378e-05 4.22994e-07 8.00705e-05 4.46857e-07 8.01025e-05 4.62058e-07 8.01337e-05 4.70765e-07 8.01641e-05 4.74421e-07 8.01936e-05 4.74057e-07 8.02224e-05 4.70528e-07 8.02503e-05 4.64526e-07 8.02774e-05 4.56589e-07 8.03038e-05 4.47139e-07 8.03295e-05 4.36514e-07 8.03545e-05 4.24984e-07 8.03789e-05 4.12766e-07 8.04027e-05 4.0003e-07 8.04259e-05 3.86911e-07 8.04487e-05 3.73515e-07 8.0471e-05 3.59925e-07 8.04928e-05 3.46205e-07 8.05142e-05 3.32402e-07 8.05352e-05 3.1855e-07 8.05559e-05 3.0467e-07 8.05762e-05 2.90778e-07 8.05962e-05 2.76875e-07 8.06159e-05 2.62959e-07 8.06353e-05 2.49018e-07 8.06544e-05 2.35037e-07 8.06732e-05 2.20975e-07 2.06839e-07 8.06918e-05 8.21682e-05 5.8288e-08 8.21885e-05 1.64437e-07 8.22153e-05 2.48232e-07 8.2245e-05 3.10376e-07 8.22763e-05 3.56737e-07 8.23084e-05 3.90904e-07 8.23405e-05 4.14762e-07 8.23722e-05 4.30358e-07 8.24034e-05 4.39619e-07 8.24339e-05 4.43923e-07 8.24637e-05 4.44269e-07 8.24927e-05 4.41474e-07 8.2521e-05 4.36207e-07 8.25486e-05 4.28992e-07 8.25755e-05 4.20244e-07 8.26017e-05 4.10295e-07 8.26273e-05 3.99412e-07 8.26523e-05 3.8781e-07 8.26766e-05 3.75658e-07 8.27005e-05 3.63092e-07 8.27238e-05 3.50218e-07 8.27466e-05 3.37122e-07 8.27689e-05 3.23868e-07 8.27908e-05 3.10504e-07 8.28123e-05 2.97068e-07 8.28334e-05 2.83584e-07 8.28541e-05 2.70069e-07 8.28744e-05 2.5653e-07 8.28944e-05 2.42969e-07 8.2914e-05 2.29382e-07 8.29333e-05 2.15762e-07 8.29522e-05 2.02094e-07 1.88409e-07 8.29706e-05 8.45144e-05 5.16653e-08 8.45322e-05 1.4664e-07 8.45567e-05 2.23721e-07 8.45846e-05 2.82431e-07 8.46146e-05 3.2679e-07 8.46457e-05 3.59847e-07 8.46771e-05 3.8336e-07 8.47083e-05 3.99077e-07 8.47393e-05 4.08691e-07 8.47697e-05 4.13489e-07 8.47995e-05 4.14423e-07 8.48287e-05 4.12268e-07 8.48573e-05 4.07663e-07 8.48852e-05 4.01114e-07 8.49124e-05 3.93026e-07 8.4939e-05 3.83721e-07 8.49649e-05 3.73464e-07 8.49903e-05 3.62463e-07 8.5015e-05 3.50887e-07 8.50392e-05 3.38872e-07 8.50629e-05 3.26524e-07 8.50861e-05 3.13928e-07 8.51089e-05 3.0115e-07 8.51311e-05 2.88242e-07 8.51529e-05 2.75242e-07 8.51743e-05 2.62178e-07 8.51953e-05 2.49069e-07 8.52159e-05 2.35929e-07 8.52362e-05 2.22763e-07 8.5256e-05 2.09573e-07 8.52754e-05 1.96359e-07 8.52944e-05 1.83108e-07 1.69846e-07 8.53129e-05 8.69279e-05 4.58963e-08 8.69437e-05 1.3083e-07 8.69662e-05 2.01255e-07 8.69925e-05 2.56145e-07 8.70211e-05 2.9817e-07 8.70511e-05 3.29818e-07 8.70818e-05 3.52681e-07 8.71126e-05 3.68258e-07 8.71433e-05 3.78021e-07 8.71737e-05 3.83148e-07 8.72035e-05 3.84537e-07 8.72329e-05 3.82918e-07 8.72617e-05 3.78892e-07 8.72898e-05 3.72945e-07 8.73174e-05 3.65467e-07 8.73443e-05 3.56771e-07 8.73707e-05 3.47112e-07 8.73965e-05 3.36696e-07 8.74217e-05 3.25689e-07 8.74463e-05 3.14222e-07 8.74704e-05 3.02404e-07 8.7494e-05 2.90319e-07 8.75171e-05 2.78034e-07 8.75398e-05 2.65603e-07 8.7562e-05 2.53064e-07 8.75837e-05 2.4045e-07 8.7605e-05 2.27784e-07 8.76258e-05 2.15081e-07 8.76462e-05 2.02353e-07 8.76662e-05 1.8961e-07 8.76857e-05 1.76859e-07 8.77047e-05 1.64103e-07 1.51387e-07 8.77232e-05 8.94106e-05 4.0785e-08 8.94249e-05 1.16627e-07 8.94455e-05 1.80566e-07 8.94703e-05 2.31386e-07 8.94977e-05 2.70804e-07 8.95267e-05 3.00786e-07 8.95566e-05 3.22733e-07 8.9587e-05 3.37932e-07 8.96173e-05 3.47652e-07 8.96475e-05 3.52957e-07 8.96774e-05 3.54679e-07 8.97068e-05 3.53498e-07 8.97357e-05 3.49976e-07 8.97641e-05 3.44574e-07 8.97919e-05 3.37663e-07 8.98191e-05 3.29544e-07 8.98458e-05 3.20463e-07 8.98719e-05 3.10619e-07 8.98974e-05 3.00174e-07 8.99223e-05 2.89257e-07 8.99468e-05 2.77974e-07 8.99707e-05 2.66411e-07 8.99941e-05 2.54634e-07 9.0017e-05 2.42697e-07 9.00394e-05 2.30644e-07 9.00613e-05 2.18507e-07 9.00828e-05 2.06313e-07 9.01038e-05 1.94081e-07 9.01243e-05 1.81829e-07 9.01444e-05 1.69569e-07 9.01639e-05 1.57316e-07 9.0183e-05 1.45072e-07 1.32877e-07 9.02015e-05 9.19645e-05 3.61893e-08 9.19774e-05 1.03729e-07 9.19965e-05 1.61408e-07 9.20199e-05 2.08011e-07 9.20461e-05 2.44605e-07 9.20742e-05 2.72703e-07 9.21034e-05 2.93502e-07 9.21332e-05 3.08107e-07 9.21633e-05 3.17605e-07 9.21933e-05 3.22939e-07 9.22231e-05 3.24872e-07 9.22526e-05 3.24029e-07 9.22816e-05 3.20932e-07 9.23102e-05 3.16012e-07 9.23382e-05 3.0962e-07 9.23657e-05 3.02041e-07 9.23927e-05 2.93512e-07 9.24191e-05 2.84222e-07 9.24449e-05 2.74329e-07 9.24702e-05 2.63959e-07 9.2495e-05 2.53215e-07 9.25192e-05 2.42182e-07 9.25429e-05 2.30926e-07 9.25661e-05 2.19504e-07 9.25888e-05 2.07958e-07 9.2611e-05 1.96324e-07 9.26326e-05 1.84631e-07 9.26538e-05 1.72904e-07 9.26745e-05 1.61162e-07 9.26946e-05 1.49423e-07 9.27142e-05 1.37708e-07 9.27333e-05 1.26028e-07 1.14434e-07 9.27517e-05 9.45913e-05 3.20029e-08 9.46032e-05 9.18931e-08 9.4621e-05 1.43558e-07 9.46432e-05 1.85875e-07 9.46683e-05 2.19478e-07 9.46955e-05 2.45506e-07 9.4724e-05 2.6496e-07 9.47534e-05 2.78777e-07 9.47831e-05 2.87884e-07 9.48129e-05 2.93108e-07 9.48426e-05 2.95136e-07 9.48721e-05 2.94537e-07 9.49013e-05 2.91791e-07 9.493e-05 2.87295e-07 9.49582e-05 2.81377e-07 9.4986e-05 2.74308e-07 9.50132e-05 2.66308e-07 9.50398e-05 2.5756e-07 9.5066e-05 2.48214e-07 9.50915e-05 2.38391e-07 9.51165e-05 2.28193e-07 9.5141e-05 2.17702e-07 9.5165e-05 2.06984e-07 9.51884e-05 1.96095e-07 9.52113e-05 1.8508e-07 9.52336e-05 1.73976e-07 9.52554e-05 1.62814e-07 9.52767e-05 1.51621e-07 9.52974e-05 1.40421e-07 9.53176e-05 1.29235e-07 9.53373e-05 1.18084e-07 9.53563e-05 1.06983e-07 9.59763e-08 9.53748e-05 9.72934e-05 2.81442e-08 9.73043e-05 8.09244e-08 9.73211e-05 1.26817e-07 9.73421e-05 1.64831e-07 9.73663e-05 1.9532e-07 9.73927e-05 2.19124e-07 9.74206e-05 2.37061e-07 9.74494e-05 2.4992e-07 9.74788e-05 2.58483e-07 9.75085e-05 2.63466e-07 9.75381e-05 2.65479e-07 9.75676e-05 2.65034e-07 9.75969e-05 2.62564e-07 9.76257e-05 2.58434e-07 9.76541e-05 2.52947e-07 9.76821e-05 2.46352e-07 9.77096e-05 2.38859e-07 9.77365e-05 2.30637e-07 9.77629e-05 2.2183e-07 9.77887e-05 2.12553e-07 9.7814e-05 2.02905e-07 9.78387e-05 1.92964e-07 9.78629e-05 1.82797e-07 9.78865e-05 1.72459e-07 9.79096e-05 1.61995e-07 9.79322e-05 1.51444e-07 9.79541e-05 1.40838e-07 9.79756e-05 1.30207e-07 9.79964e-05 1.19576e-07 9.80167e-05 1.0897e-07 9.80363e-05 9.84125e-08 9.80554e-05 8.79231e-08 7.75492e-08 9.80738e-05 0.000100073 2.45488e-08 0.000100083 7.06616e-08 0.000100099 1.11006e-07 0.000100119 1.44733e-07 0.000100142 1.7202e-07 0.000100168 1.93473e-07 0.000100195 2.09749e-07 0.000100224 2.21499e-07 0.000100253 2.2938e-07 0.000100282 2.34003e-07 0.000100312 2.35899e-07 0.000100341 2.35522e-07 0.00010037 2.3326e-07 0.000100399 2.29442e-07 0.000100428 2.24343e-07 0.000100456 2.18193e-07 0.000100484 2.11185e-07 0.000100511 2.03477e-07 0.000100538 1.95204e-07 0.000100564 1.86475e-07 0.000100589 1.77383e-07 0.000100614 1.68004e-07 0.000100639 1.58404e-07 0.000100662 1.48635e-07 0.000100686 1.38744e-07 0.000100708 1.2877e-07 0.000100731 1.18746e-07 0.000100752 1.08702e-07 0.000100773 9.86669e-08 0.000100793 8.86651e-08 0.000100813 7.87225e-08 0.000100832 6.88577e-08 5.91148e-08 0.00010085 0.000102931 2.11644e-08 0.000102941 6.09695e-08 0.000102956 9.59654e-08 0.000102975 1.2544e-07 0.000102998 1.49462e-07 0.000103023 1.68463e-07 0.00010305 1.82954e-07 0.000103078 1.93467e-07 0.000103107 2.00544e-07 0.000103136 2.04696e-07 0.000103166 2.06382e-07 0.000103195 2.05995e-07 0.000103224 2.03877e-07 0.000103254 2.00319e-07 0.000103282 1.9557e-07 0.000103311 1.89836e-07 0.000103339 1.83292e-07 0.000103366 1.76087e-07 0.000103393 1.68342e-07 0.000103419 1.60161e-07 0.000103445 1.5163e-07 0.00010347 1.42824e-07 0.000103495 1.33804e-07 0.000103519 1.24621e-07 0.000103542 1.15322e-07 0.000103565 1.05945e-07 0.000103587 9.6524e-08 0.000103609 8.70907e-08 0.00010363 7.76728e-08 0.00010365 6.82967e-08 0.00010367 5.89889e-08 0.000103689 4.97693e-08 4.06819e-08 0.000103707 0.000105872 1.79463e-08 0.000105881 5.17307e-08 0.000105896 8.15473e-08 0.000105914 1.06811e-07 0.000105936 1.27526e-07 0.000105961 1.43992e-07 0.000105987 1.56596e-07 0.000106015 1.65761e-07 0.000106043 1.71926e-07 0.000106073 1.75512e-07 0.000106102 1.76903e-07 0.000106132 1.76436e-07 0.000106161 1.74404e-07 0.00010619 1.71061e-07 0.000106219 1.66626e-07 0.000106248 1.61282e-07 0.000106276 1.55187e-07 0.000106303 1.48473e-07 0.000106331 1.41253e-07 0.000106357 1.33622e-07 0.000106383 1.25661e-07 0.000106408 1.17438e-07 0.000106433 1.09012e-07 0.000106457 1.00433e-07 0.000106481 9.1745e-08 0.000106504 8.29861e-08 0.000106526 7.41904e-08 0.000106548 6.53886e-08 0.000106569 5.66092e-08 0.00010659 4.78782e-08 0.000106609 3.9222e-08 0.000106628 3.066e-08 2.22334e-08 0.000106647 0.000108896 1.48552e-08 0.000108905 4.28404e-08 0.000108919 6.76141e-08 0.000108937 8.8706e-08 0.000108959 1.06085e-07 0.000108983 1.19948e-07 0.000109009 1.30581e-07 0.000109036 1.38306e-07 0.000109065 1.43468e-07 0.000109094 1.46405e-07 0.000109123 1.47429e-07 0.000109153 1.46819e-07 0.000109183 1.44823e-07 0.000109212 1.41655e-07 0.000109241 1.37503e-07 0.00010927 1.32527e-07 0.000109298 1.26866e-07 0.000109326 1.20637e-07 0.000109353 1.13941e-07 0.00010938 1.06863e-07 0.000109406 9.94784e-08 0.000109432 9.18499e-08 0.000109457 8.40322e-08 0.000109481 7.60731e-08 0.000109505 6.80142e-08 0.000109528 5.98925e-08 0.000109551 5.17411e-08 0.000109572 4.35902e-08 0.000109593 3.54675e-08 0.000109614 2.73987e-08 0.000109634 1.94092e-08 0.000109653 1.15179e-08 3.76333e-09 0.000109671 0.000112007 1.18546e-08 0.000112016 3.42003e-08 0.00011203 5.40328e-08 0.000112047 7.09836e-08 0.000112069 8.50029e-08 0.000112092 9.62119e-08 0.000112118 1.04803e-07 0.000112145 1.11013e-07 0.000112174 1.15098e-07 0.000112203 1.17316e-07 0.000112232 1.17913e-07 0.000112262 1.17109e-07 0.000112292 1.15105e-07 0.000112321 1.12079e-07 0.000112351 1.08186e-07 0.00011238 1.03561e-07 0.000112408 9.83232e-08 0.000112436 9.25739e-08 0.000112464 8.64014e-08 0.000112491 7.98822e-08 0.000112517 7.30826e-08 0.000112543 6.606e-08 0.000112568 5.8865e-08 0.000112593 5.15417e-08 0.000112616 4.41294e-08 0.00011264 3.66631e-08 0.000112662 2.91744e-08 0.000112684 2.16923e-08 0.000112705 1.42436e-08 0.000112726 6.8528e-09 0.000112746 -4.55614e-10 0.000112765 -7.66313e-09 -1.47333e-08 0.000112783 0.000115207 8.90817e-09 0.000115216 2.57155e-08 0.000115229 4.0672e-08 0.000115247 5.34988e-08 0.000115268 6.41385e-08 0.000115291 7.26498e-08 0.000115317 7.9146e-08 0.000115344 8.37799e-08 0.000115372 8.67284e-08 0.000115402 8.81744e-08 0.000115431 8.82955e-08 0.000115461 8.7258e-08 0.000115491 8.52151e-08 0.000115521 8.23055e-08 0.00011555 7.86531e-08 0.000115579 7.43681e-08 0.000115608 6.95478e-08 0.000115637 6.42777e-08 0.000115664 5.8633e-08 0.000115691 5.26797e-08 0.000115718 4.6476e-08 0.000115744 4.0073e-08 0.000115769 3.35161e-08 0.000115794 2.68457e-08 0.000115818 2.00978e-08 0.000115841 1.33051e-08 0.000115864 6.49736e-09 0.000115886 -2.98361e-10 0.000115907 -7.05682e-09 0.000115928 -1.3755e-08 0.000115948 -2.03704e-08 0.000115967 -2.6887e-08 -3.32722e-08 0.000115986 0.000118499 5.97695e-09 0.000118507 1.72903e-08 0.00011852 2.73973e-08 0.000118538 3.60999e-08 0.000118559 4.33384e-08 0.000118582 4.91174e-08 0.000118608 5.34771e-08 0.000118635 5.64921e-08 0.000118664 5.82617e-08 0.000118693 5.88964e-08 0.000118723 5.85089e-08 0.000118753 5.72099e-08 0.000118783 5.51059e-08 0.000118813 5.22966e-08 0.000118843 4.88742e-08 0.000118872 4.49228e-08 0.000118901 4.05184e-08 0.00011893 3.57299e-08 0.000118958 3.06187e-08 0.000118985 2.524e-08 0.000119012 1.96434e-08 0.000119038 1.38731e-08 0.000119064 7.96901e-09 0.000119089 1.96717e-09 0.000119113 -4.09985e-09 0.000119136 -1.02022e-08 0.000119159 -1.63128e-08 0.000119181 -2.24062e-08 0.000119203 -2.84592e-08 0.000119223 -3.44502e-08 0.000119243 -4.03577e-08 0.000119263 -4.61653e-08 -5.18414e-08 0.000119281 0.000121884 3.02956e-09 0.000121893 8.83468e-09 0.000121906 1.40746e-08 0.000121923 1.86296e-08 0.000121944 2.24396e-08 0.000121968 2.54573e-08 0.000121994 2.7651e-08 0.000122021 2.90188e-08 0.00012205 2.9584e-08 0.00012208 2.93854e-08 0.00012211 2.84714e-08 0.00012214 2.68976e-08 0.00012217 2.47235e-08 0.000122201 2.20101e-08 0.000122231 1.88172e-08 0.00012226 1.52024e-08 0.00012229 1.12207e-08 0.000122318 6.92314e-09 0.000122347 2.35747e-09 0.000122374 -2.4324e-09 0.000122401 -7.40607e-09 0.000122428 -1.25265e-08 0.000122454 -1.77596e-08 0.000122479 -2.30742e-08 0.000122503 -2.84416e-08 0.000122527 -3.38352e-08 0.000122549 -3.92304e-08 0.000122572 -4.46047e-08 0.000122593 -4.99369e-08 0.000122614 -5.52078e-08 0.000122634 -6.03991e-08 0.000122653 -6.54987e-08 -7.04803e-08 0.000122672 0.000125366 5.11079e-11 0.000125375 2.63284e-10 0.000125389 5.6488e-10 0.000125406 9.19263e-10 0.000125427 1.26376e-09 0.000125451 1.49438e-09 0.000125478 1.50394e-09 0.000125505 1.21198e-09 0.000125534 5.6476e-10 0.000125564 -4.71897e-10 0.000125595 -1.91456e-09 0.000125625 -3.76337e-09 0.000125656 -6.00551e-09 0.000125687 -8.61919e-09 0.000125717 -1.15768e-08 0.000125747 -1.48471e-08 0.000125777 -1.83967e-08 0.000125806 -2.21919e-08 0.000125834 -2.61992e-08 0.000125862 -3.0386e-08 0.00012589 -3.47214e-08 0.000125916 -3.91757e-08 0.000125942 -4.37211e-08 0.000125967 -4.83314e-08 0.000125992 -5.2982e-08 0.000126016 -5.76499e-08 0.000126039 -6.23136e-08 0.000126061 -6.69528e-08 0.000126083 -7.15485e-08 0.000126104 -7.6083e-08 0.000126124 -8.05382e-08 0.000126143 -8.48994e-08 -8.914e-08 0.000126162 0.000128948 -3.00443e-09 0.000128957 -8.54892e-09 0.000128971 -1.33154e-08 0.000128989 -1.72447e-08 0.000129011 -2.04094e-08 0.000129035 -2.29841e-08 0.000129062 -2.51613e-08 0.00012909 -2.71049e-08 0.00012912 -2.89495e-08 0.00012915 -3.0805e-08 0.000129181 -3.27551e-08 0.000129212 -3.48566e-08 0.000129243 -3.71441e-08 0.000129274 -3.96352e-08 0.000129305 -4.23348e-08 0.000129335 -4.52379e-08 0.000129365 -4.83329e-08 0.000129395 -5.16033e-08 0.000129423 -5.50298e-08 0.000129452 -5.85914e-08 0.000129479 -6.22665e-08 0.000129506 -6.60329e-08 0.000129532 -6.98692e-08 0.000129558 -7.37543e-08 0.000129582 -7.7668e-08 0.000129606 -8.1591e-08 0.000129629 -8.55049e-08 0.000129652 -8.93926e-08 0.000129674 -9.32378e-08 0.000129694 -9.70263e-08 0.000129715 -1.00744e-07 0.000129734 -1.04385e-07 -1.07929e-07 0.000129753 0.000132632 -6.20241e-09 0.000132641 -1.77718e-08 0.000132656 -2.78069e-08 0.000132675 -3.6134e-08 0.000132697 -4.2853e-08 0.000132723 -4.82372e-08 0.00013275 -5.25825e-08 0.000132779 -5.61459e-08 0.000132809 -5.91497e-08 0.00013284 -6.17853e-08 0.000132872 -6.42058e-08 0.000132903 -6.65256e-08 0.000132935 -6.88266e-08 0.000132967 -7.11654e-08 0.000132998 -7.35789e-08 0.000133029 -7.60884e-08 0.000133059 -7.87032e-08 0.000133089 -8.14241e-08 0.000133118 -8.42457e-08 0.000133147 -8.71585e-08 0.000133174 -9.015e-08 0.000133202 -9.3206e-08 0.000133228 -9.63111e-08 0.000133254 -9.94495e-08 0.000133279 -1.02606e-07 0.000133303 -1.05764e-07 0.000133326 -1.08908e-07 0.000133349 -1.12025e-07 0.000133371 -1.151e-07 0.000133392 -1.18119e-07 0.000133412 -1.21068e-07 0.000133432 -1.23932e-07 -1.26691e-07 0.000133451 0.000136422 -9.62391e-09 0.000136432 -2.76281e-08 0.000136447 -4.32213e-08 0.000136467 -5.60925e-08 0.00013649 -6.64058e-08 0.000136517 -7.45803e-08 0.000136545 -8.10402e-08 0.000136575 -8.61478e-08 0.000136606 -9.02248e-08 0.000136638 -9.3554e-08 0.00013667 -9.6364e-08 0.000136703 -9.88284e-08 0.000136735 -1.01077e-07 0.000136767 -1.03205e-07 0.000136799 -1.05282e-07 0.00013683 -1.07352e-07 0.000136861 -1.09446e-07 0.000136891 -1.11581e-07 0.00013692 -1.13765e-07 0.000136949 -1.15999e-07 0.000136977 -1.18279e-07 0.000137005 -1.20598e-07 0.000137031 -1.22947e-07 0.000137057 -1.25316e-07 0.000137082 -1.27693e-07 0.000137107 -1.30066e-07 0.00013713 -1.32424e-07 0.000137153 -1.34754e-07 0.000137175 -1.37047e-07 0.000137196 -1.39294e-07 0.000137216 -1.41485e-07 0.000137236 -1.4362e-07 -1.45683e-07 0.000137255 0.00014032 -1.33807e-08 0.00014033 -3.84272e-08 0.000140347 -5.99781e-08 0.000140369 -7.75618e-08 0.000140394 -9.14887e-08 0.000140421 -1.02407e-07 0.000140451 -1.10904e-07 0.000140483 -1.17458e-07 0.000140515 -1.22505e-07 0.000140548 -1.26427e-07 0.000140581 -1.29532e-07 0.000140614 -1.32054e-07 0.000140647 -1.34171e-07 0.00014068 -1.36018e-07 0.000140712 -1.37692e-07 0.000140744 -1.39265e-07 0.000140776 -1.40786e-07 0.000140806 -1.42288e-07 0.000140836 -1.4379e-07 0.000140866 -1.45304e-07 0.000140894 -1.46835e-07 0.000140922 -1.48383e-07 0.000140949 -1.49944e-07 0.000140975 -1.51512e-07 0.000141001 -1.53081e-07 0.000141025 -1.54642e-07 0.000141049 -1.56186e-07 0.000141072 -1.57704e-07 0.000141094 -1.59186e-07 0.000141115 -1.60622e-07 0.000141136 -1.62e-07 0.000141156 -1.63308e-07 -1.6453e-07 0.000141175 0.000144329 -1.76361e-08 0.000144341 -5.06204e-08 0.00014436 -7.86665e-08 0.000144383 -1.01125e-07 0.00014441 -1.18612e-07 0.00014444 -1.32129e-07 0.000144472 -1.42471e-07 0.000144505 -1.50259e-07 0.000144538 -1.56071e-07 0.000144572 -1.60406e-07 0.000144606 -1.63654e-07 0.00014464 -1.66105e-07 0.000144674 -1.67982e-07 0.000144707 -1.69456e-07 0.00014474 -1.70653e-07 0.000144773 -1.71664e-07 0.000144805 -1.72556e-07 0.000144836 -1.73375e-07 0.000144866 -1.74152e-07 0.000144896 -1.74908e-07 0.000144924 -1.75655e-07 0.000144952 -1.764e-07 0.00014498 -1.77144e-07 0.000145006 -1.77886e-07 0.000145032 -1.78623e-07 0.000145056 -1.79349e-07 0.00014508 -1.8006e-07 0.000145103 -1.8075e-07 0.000145125 -1.81413e-07 0.000145147 -1.82045e-07 0.000145168 -1.82643e-07 0.000145187 -1.83211e-07 -1.83738e-07 0.000145207 0.000148453 -2.26464e-08 0.000148467 -6.48896e-08 0.000148489 -1.00113e-07 0.000148515 -1.27576e-07 0.000148545 -1.48544e-07 0.000148577 -1.64527e-07 0.000148612 -1.76517e-07 0.000148647 -1.85294e-07 0.000148682 -1.91616e-07 0.000148718 -1.96126e-07 0.000148753 -1.993e-07 0.000148789 -2.01487e-07 0.000148824 -2.02955e-07 0.000148858 -2.03911e-07 0.000148892 -2.04504e-07 0.000148925 -2.04846e-07 0.000148958 -2.05016e-07 0.000148989 -2.05071e-07 0.00014902 -2.05052e-07 0.00014905 -2.04987e-07 0.00014908 -2.04894e-07 0.000149108 -2.04784e-07 0.000149136 -2.04664e-07 0.000149162 -2.04536e-07 0.000149188 -2.044e-07 0.000149213 -2.04254e-07 0.000149237 -2.04095e-07 0.00014926 -2.03918e-07 0.000149282 -2.03718e-07 0.000149304 -2.03489e-07 0.000149324 -2.0322e-07 0.000149344 -2.029e-07 -2.02521e-07 0.000149363 0.000152695 -2.88632e-08 0.000152713 -8.23929e-08 0.000152738 -1.25506e-07 0.000152768 -1.57704e-07 0.000152801 -1.81662e-07 0.000152837 -1.99664e-07 0.000152873 -2.12882e-07 0.00015291 -2.22264e-07 0.000152947 -2.28779e-07 0.000152984 -2.33208e-07 0.000153021 -2.36096e-07 0.000153057 -2.3784e-07 0.000153093 -2.38749e-07 0.000153128 -2.39058e-07 0.000153163 -2.38938e-07 0.000153196 -2.38513e-07 0.000153229 -2.37877e-07 0.000153261 -2.37095e-07 0.000153292 -2.36216e-07 0.000153323 -2.35273e-07 0.000153352 -2.34289e-07 0.000153381 -2.33281e-07 0.000153408 -2.32258e-07 0.000153435 -2.31225e-07 0.000153461 -2.30187e-07 0.000153486 -2.29143e-07 0.00015351 -2.28093e-07 0.000153533 -2.27036e-07 0.000153555 -2.2597e-07 0.000153576 -2.24896e-07 0.000153597 -2.23815e-07 0.000153617 -2.22735e-07 -2.21648e-07 0.000153636 0.00015706 -3.7037e-08 0.000157082 -1.05095e-07 0.000157114 -1.57059e-07 0.00015715 -1.93701e-07 0.000157188 -2.20152e-07 0.000157228 -2.39531e-07 0.000157269 -2.53181e-07 0.000157309 -2.6239e-07 0.000157348 -2.68441e-07 0.000157387 -2.72252e-07 0.000157426 -2.74415e-07 0.000157463 -2.75359e-07 0.0001575 -2.75422e-07 0.000157536 -2.74853e-07 0.000157571 -2.73832e-07 0.000157605 -2.72489e-07 0.000157638 -2.70919e-07 0.00015767 -2.69193e-07 0.000157701 -2.67362e-07 0.000157731 -2.65461e-07 0.00015776 -2.63517e-07 0.000157789 -2.61547e-07 0.000157816 -2.59565e-07 0.000157842 -2.57578e-07 0.000157868 -2.5559e-07 0.000157892 -2.53605e-07 0.000157916 -2.51623e-07 0.000157938 -2.49643e-07 0.00015796 -2.47662e-07 0.000157981 -2.45678e-07 0.000158001 -2.43684e-07 0.000158019 -2.4167e-07 -2.39635e-07 0.000158037 0.00016155 -4.9011e-08 0.000161581 -1.35631e-07 0.000161619 -1.95196e-07 0.00016166 -2.34431e-07 0.000161702 -2.62612e-07 0.000161746 -2.82837e-07 0.000161789 -2.96259e-07 0.000161831 -3.04657e-07 0.000161872 -3.09706e-07 0.000161912 -3.12436e-07 0.000161951 -3.13466e-07 0.000161989 -3.1326e-07 0.000162026 -3.1218e-07 0.000162062 -3.10487e-07 0.000162096 -3.08362e-07 0.00016213 -3.05933e-07 0.000162162 -3.03297e-07 0.000162193 -3.00521e-07 0.000162224 -2.97654e-07 0.000162253 -2.94732e-07 0.000162281 -2.91779e-07 0.000162308 -2.88814e-07 0.000162335 -2.85848e-07 0.00016236 -2.82889e-07 0.000162384 -2.79943e-07 0.000162408 -2.77012e-07 0.00016243 -2.74098e-07 0.000162452 -2.71203e-07 0.000162473 -2.68326e-07 0.000162492 -2.6547e-07 0.000162511 -2.62637e-07 0.000162529 -2.5984e-07 -2.57075e-07 0.000162547 0.000166174 -6.96573e-08 0.000166223 -1.84582e-07 0.000166276 -2.47759e-07 0.000166326 -2.84596e-07 0.000166374 -3.11057e-07 0.000166421 -3.29285e-07 0.000166465 -3.40219e-07 0.000166506 -3.46213e-07 0.000166546 -3.49163e-07 0.000166583 -3.5003e-07 0.000166619 -3.49363e-07 0.000166654 -3.47601e-07 0.000166687 -3.45086e-07 0.000166718 -3.42055e-07 0.000166748 -3.38666e-07 0.000166777 -3.35034e-07 0.000166805 -3.31242e-07 0.000166832 -3.2735e-07 0.000166858 -3.23401e-07 0.000166883 -3.19426e-07 0.000166906 -3.15446e-07 0.000166929 -3.11476e-07 0.000166951 -3.07527e-07 0.000166971 -3.03605e-07 0.000166991 -2.99717e-07 0.00016701 -2.95863e-07 0.000167028 -2.92045e-07 0.000167045 -2.88264e-07 0.000167061 -2.84518e-07 0.000167077 -2.80806e-07 0.000167091 -2.77128e-07 0.000167105 -2.73476e-07 -2.69879e-07 0.000167118 0.000170928 -9.70908e-08 0.000170988 -2.44622e-07 0.000171044 -3.04102e-07 0.000171096 -3.36112e-07 0.000171143 -3.58493e-07 0.000171186 -3.71546e-07 0.000171223 -3.77231e-07 0.000171255 -3.78837e-07 0.000171284 -3.78278e-07 0.000171311 -3.76277e-07 0.000171335 -3.73242e-07 0.000171356 -3.69529e-07 0.000171377 -3.65397e-07 0.000171396 -3.61007e-07 0.000171413 -3.56453e-07 0.00017143 -3.51803e-07 0.000171446 -3.47104e-07 0.000171461 -3.4239e-07 0.000171475 -3.3768e-07 0.000171489 -3.3299e-07 0.000171502 -3.28331e-07 0.000171514 -3.23707e-07 0.000171526 -3.19125e-07 0.000171537 -3.14587e-07 0.000171547 -3.10095e-07 0.000171557 -3.05648e-07 0.000171566 -3.01245e-07 0.000171575 -2.96882e-07 0.000171583 -2.92554e-07 0.00017159 -2.88245e-07 0.000171597 -2.83938e-07 0.000171603 -2.79584e-07 -2.75202e-07 0.000171608 0.000176005 -3.18952e-07 0.000176227 -4.66962e-07 0.000176431 -5.07331e-07 0.000176623 -5.28811e-07 0.000176806 -5.41332e-07 0.000176978 -5.42947e-07 0.000177138 -5.37209e-07 0.000177287 -5.28502e-07 0.000177428 -5.18795e-07 0.00017756 -5.08577e-07 0.000177685 -4.98076e-07 0.000177803 -4.87529e-07 0.000177915 -4.77093e-07 0.00017802 -4.66835e-07 0.000178121 -4.56778e-07 0.000178216 -4.4693e-07 0.000178306 -4.37297e-07 0.000178392 -4.27881e-07 0.000178473 -4.1868e-07 0.000178549 -4.09691e-07 0.000178622 -4.00912e-07 0.00017869 -3.9234e-07 0.000178755 -3.83974e-07 0.000178817 -3.75812e-07 0.000178874 -3.67854e-07 0.000178929 -3.601e-07 0.00017898 -3.52553e-07 0.000179028 -3.45217e-07 0.000179074 -3.381e-07 0.000179117 -3.31221e-07 0.000179158 -3.24591e-07 0.000179196 -3.18281e-07 -3.1221e-07 0.000179233 0.000180486 0.000180019 0.000179512 0.000178983 0.000178442 0.000177899 0.000177362 0.000176833 0.000176315 0.000175806 0.000175308 0.00017482 0.000174343 0.000173876 0.00017342 0.000172973 0.000172535 0.000172108 0.000171689 0.000171279 0.000170878 0.000170486 0.000170102 0.000169726 0.000169358 0.000168998 0.000168646 0.0001683 0.000167962 0.000167631 0.000167307 0.000166988 0.000166676 4.36348e-05 1.45e-07 7.006e-08 4.32721e-05 1.13672e-07 2.4902e-07 4.27534e-05 -1.27581e-07 6.4629e-07 4.23002e-05 -2.84569e-07 7.37764e-07 4.18644e-05 -4.49675e-07 8.85403e-07 4.14798e-05 -6.20042e-07 1.00464e-06 4.11592e-05 -7.76107e-07 1.09678e-06 4.0897e-05 -9.20577e-07 1.18273e-06 4.06859e-05 -1.05652e-06 1.26763e-06 4.05176e-05 -1.18299e-06 1.35127e-06 4.03826e-05 -1.2995e-06 1.43452e-06 4.02729e-05 -1.40495e-06 1.51469e-06 4.01814e-05 -1.49766e-06 1.58911e-06 4.01023e-05 -1.57561e-06 1.65468e-06 4.00317e-05 -1.63611e-06 1.70674e-06 3.99655e-05 -1.67967e-06 1.74587e-06 3.98987e-05 -1.71622e-06 1.78302e-06 3.98392e-05 -1.73671e-06 1.79626e-06 3.97911e-05 -1.73873e-06 1.78676e-06 3.97564e-05 -1.72783e-06 1.7626e-06 3.97353e-05 -1.7119e-06 1.733e-06 3.97274e-05 -1.69914e-06 1.70695e-06 3.97321e-05 -1.69668e-06 1.69205e-06 3.97481e-05 -1.70959e-06 1.69353e-06 3.97747e-05 -1.74078e-06 1.71426e-06 3.98109e-05 -1.79163e-06 1.75541e-06 3.98562e-05 -1.86276e-06 1.8174e-06 3.99103e-05 -1.95467e-06 1.90063e-06 3.99725e-05 -2.06801e-06 2.00579e-06 4.00423e-05 -2.20349e-06 2.1337e-06 4.0119e-05 -2.36148e-06 2.28483e-06 4.02018e-05 -2.54191e-06 2.45902e-06 4.02904e-05 -2.74421e-06 2.6556e-06 4.03844e-05 -2.96751e-06 2.87351e-06 4.04837e-05 -3.21084e-06 3.11154e-06 4.05884e-05 -3.47332e-06 3.36865e-06 4.06986e-05 -3.75425e-06 3.64402e-06 4.08147e-05 -4.05315e-06 3.93705e-06 4.09371e-05 -4.36963e-06 4.24732e-06 4.1066e-05 -4.70338e-06 4.57448e-06 4.12019e-05 -5.0541e-06 4.91819e-06 4.13452e-05 -5.42148e-06 5.27816e-06 4.14963e-05 -5.80526e-06 5.65414e-06 4.16555e-05 -6.20515e-06 6.04592e-06 4.18231e-05 -6.62094e-06 6.45339e-06 4.1999e-05 -7.05245e-06 6.87652e-06 4.21832e-05 -7.49958e-06 7.31539e-06 4.23753e-05 -7.9622e-06 7.77007e-06 4.25749e-05 -8.44017e-06 8.24064e-06 4.27811e-05 -8.93327e-06 8.72709e-06 4.29929e-05 -9.44114e-06 9.22928e-06 4.32093e-05 -9.96325e-06 9.74682e-06 4.34291e-05 -1.04988e-05 1.02791e-05 4.36508e-05 -1.10469e-05 1.08252e-05 4.3873e-05 -1.16063e-05 1.13841e-05 4.40943e-05 -1.21756e-05 1.19542e-05 4.43133e-05 -1.2753e-05 1.25339e-05 4.45286e-05 -1.33365e-05 1.31212e-05 4.47388e-05 -1.39239e-05 1.37138e-05 4.49424e-05 -1.45126e-05 1.43089e-05 4.51382e-05 -1.50997e-05 1.49039e-05 4.53249e-05 -1.56819e-05 1.54953e-05 4.55011e-05 -1.62559e-05 1.60797e-05 4.56657e-05 -1.68178e-05 1.66532e-05 4.58174e-05 -1.73636e-05 1.72119e-05 4.5955e-05 -1.78891e-05 1.77515e-05 4.60775e-05 -1.83902e-05 1.82677e-05 4.61838e-05 -1.88626e-05 1.87563e-05 4.62732e-05 -1.93023e-05 1.9213e-05 4.63447e-05 -1.97051e-05 1.96335e-05 4.6398e-05 -2.00669e-05 2.00136e-05 4.64326e-05 -2.03838e-05 2.03492e-05 4.64484e-05 -2.0652e-05 2.06362e-05 4.64455e-05 -2.08677e-05 2.08706e-05 4.64244e-05 -2.10277e-05 2.10488e-05 4.63857e-05 -2.11289e-05 2.11676e-05 4.63305e-05 -2.1169e-05 2.12242e-05 4.62599e-05 -2.11464e-05 2.1217e-05 4.61756e-05 -2.10612e-05 2.11456e-05 4.60789e-05 -2.09149e-05 2.10116e-05 4.59713e-05 -2.07111e-05 2.08187e-05 4.58539e-05 -2.04544e-05 2.05717e-05 4.57281e-05 -2.01491e-05 2.02749e-05 4.5595e-05 -1.97997e-05 1.99328e-05 4.54559e-05 -1.94111e-05 1.95502e-05 4.5312e-05 -1.89885e-05 1.91323e-05 4.51647e-05 -1.85378e-05 1.86851e-05 4.50149e-05 -1.80654e-05 1.82152e-05 4.48637e-05 -1.75784e-05 1.77295e-05 4.47121e-05 -1.70837e-05 1.72354e-05 4.45604e-05 -1.65889e-05 1.67405e-05 4.44093e-05 -1.6101e-05 1.62521e-05 4.42586e-05 -1.56273e-05 1.5778e-05 4.41084e-05 -1.51732e-05 1.53234e-05 4.39563e-05 -1.47443e-05 1.48964e-05 4.38034e-05 -1.43362e-05 1.44891e-05 4.36401e-05 -1.39525e-05 1.41158e-05 4.34777e-05 -1.35203e-05 1.36827e-05 4.32819e-05 -1.31698e-05 1.33657e-05 -1.19511e-05 1.21187e-05 6.0462e-05 3.76693e-07 6.01772e-05 3.98458e-07 5.97379e-05 3.11723e-07 5.92246e-05 2.28778e-07 5.86294e-05 1.45488e-07 5.79711e-05 3.81985e-08 5.72756e-05 -8.0513e-08 5.65607e-05 -2.05716e-07 5.58414e-05 -3.37222e-07 5.51296e-05 -4.71166e-07 5.44333e-05 -6.03183e-07 5.37578e-05 -7.29444e-07 5.31064e-05 -8.46276e-07 5.24812e-05 -9.50401e-07 5.18843e-05 -1.0392e-06 5.13169e-05 -1.1123e-06 5.07746e-05 -1.17391e-06 5.02637e-05 -1.22584e-06 4.97882e-05 -1.26327e-06 4.93502e-05 -1.2898e-06 4.89502e-05 -1.31183e-06 4.85873e-05 -1.33629e-06 4.82601e-05 -1.36951e-06 4.79667e-05 -1.41619e-06 4.77052e-05 -1.47924e-06 4.74737e-05 -1.56015e-06 4.72707e-05 -1.6597e-06 4.70945e-05 -1.77848e-06 4.69436e-05 -1.91713e-06 4.68164e-05 -2.07629e-06 4.67112e-05 -2.25635e-06 4.66266e-05 -2.45727e-06 4.6561e-05 -2.67864e-06 4.65133e-05 -2.91976e-06 4.64823e-05 -3.17984e-06 4.64671e-05 -3.45815e-06 4.6467e-05 -3.75413e-06 4.64812e-05 -4.06732e-06 4.65089e-05 -4.39742e-06 4.65497e-05 -4.74411e-06 4.66027e-05 -5.10712e-06 4.66674e-05 -5.48614e-06 4.6743e-05 -5.88089e-06 4.68289e-05 -6.29106e-06 4.69244e-05 -6.71641e-06 4.70286e-05 -7.15672e-06 4.71408e-05 -7.61179e-06 4.72601e-05 -8.08146e-06 4.73854e-05 -8.56551e-06 4.75159e-05 -9.06369e-06 4.76503e-05 -9.57559e-06 4.77877e-05 -1.01007e-05 4.7927e-05 -1.06381e-05 4.80672e-05 -1.1187e-05 4.8207e-05 -1.17462e-05 4.83454e-05 -1.2314e-05 4.84814e-05 -1.28889e-05 4.86136e-05 -1.34688e-05 4.87411e-05 -1.40513e-05 4.88624e-05 -1.46339e-05 4.89764e-05 -1.52137e-05 4.90818e-05 -1.57873e-05 4.91773e-05 -1.63514e-05 4.92617e-05 -1.69021e-05 4.93337e-05 -1.74356e-05 4.93924e-05 -1.79477e-05 4.94367e-05 -1.84345e-05 4.94658e-05 -1.88918e-05 4.94791e-05 -1.93156e-05 4.9476e-05 -1.9702e-05 4.94563e-05 -2.00472e-05 4.94199e-05 -2.03474e-05 4.93668e-05 -2.05989e-05 4.92974e-05 -2.07983e-05 4.92123e-05 -2.09426e-05 4.91122e-05 -2.10289e-05 4.89983e-05 -2.10551e-05 4.88719e-05 -2.102e-05 4.87343e-05 -2.09236e-05 4.8587e-05 -2.07677e-05 4.84315e-05 -2.05556e-05 4.82689e-05 -2.02917e-05 4.81002e-05 -1.99804e-05 4.79266e-05 -1.96262e-05 4.77494e-05 -1.92338e-05 4.75695e-05 -1.88086e-05 4.73881e-05 -1.83564e-05 4.72063e-05 -1.78836e-05 4.70248e-05 -1.73969e-05 4.68444e-05 -1.69033e-05 4.66656e-05 -1.64101e-05 4.64887e-05 -1.59242e-05 4.63136e-05 -1.54521e-05 4.61402e-05 -1.49998e-05 4.59661e-05 -1.45702e-05 4.57924e-05 -1.41625e-05 4.56101e-05 -1.37702e-05 4.54304e-05 -1.33407e-05 4.52226e-05 -1.2962e-05 -1.17793e-05 6.37577e-05 4.17426e-07 6.37291e-05 4.27052e-07 6.36533e-05 3.87553e-07 6.35458e-05 3.36261e-07 6.33995e-05 2.91839e-07 6.32021e-05 2.35531e-07 6.29537e-05 1.67904e-07 6.26551e-05 9.28904e-08 6.23076e-05 1.02612e-08 6.19154e-05 -7.89465e-08 6.14845e-05 -1.72264e-07 6.10219e-05 -2.66823e-07 6.0535e-05 -3.59426e-07 6.00315e-05 -4.46886e-07 5.95188e-05 -5.26554e-07 5.90037e-05 -5.97212e-07 5.84902e-05 -6.60389e-07 5.7983e-05 -7.18606e-07 5.74887e-05 -7.68953e-07 5.70124e-05 -8.1349e-07 5.65575e-05 -8.56973e-07 5.61262e-05 -9.0496e-07 5.57194e-05 -9.62717e-07 5.53375e-05 -1.03434e-06 5.49807e-05 -1.12244e-06 5.4649e-05 -1.22843e-06 5.43423e-05 -1.35298e-06 5.40604e-05 -1.49657e-06 5.38028e-05 -1.6596e-06 5.3569e-05 -1.84247e-06 5.3358e-05 -2.04534e-06 5.31688e-05 -2.26804e-06 5.30003e-05 -2.5101e-06 5.28513e-05 -2.77083e-06 5.27209e-05 -3.04946e-06 5.26081e-05 -3.34528e-06 5.25117e-05 -3.65774e-06 5.24308e-05 -3.98641e-06 5.23643e-05 -4.33098e-06 5.23114e-05 -4.69118e-06 5.2271e-05 -5.06675e-06 5.22423e-05 -5.45744e-06 5.22244e-05 -5.863e-06 5.22165e-05 -6.28319e-06 5.22179e-05 -6.71778e-06 5.22278e-05 -7.16657e-06 5.22454e-05 -7.6294e-06 5.227e-05 -8.10607e-06 5.23008e-05 -8.59636e-06 5.23371e-05 -9.09997e-06 5.2378e-05 -9.61648e-06 5.24226e-05 -1.01453e-05 5.247e-05 -1.06855e-05 5.25191e-05 -1.12362e-05 5.2569e-05 -1.1796e-05 5.26184e-05 -1.23635e-05 5.26663e-05 -1.29368e-05 5.27114e-05 -1.35138e-05 5.27523e-05 -1.40922e-05 5.27877e-05 -1.46694e-05 5.28165e-05 -1.52424e-05 5.28371e-05 -1.5808e-05 5.28485e-05 -1.63628e-05 5.28495e-05 -1.69031e-05 5.2839e-05 -1.74251e-05 5.28163e-05 -1.7925e-05 5.27804e-05 -1.83987e-05 5.2731e-05 -1.88423e-05 5.26675e-05 -1.92521e-05 5.25897e-05 -1.96242e-05 5.24975e-05 -1.9955e-05 5.2391e-05 -2.02408e-05 5.22704e-05 -2.04783e-05 5.21363e-05 -2.06642e-05 5.19892e-05 -2.07955e-05 5.18301e-05 -2.08698e-05 5.16601e-05 -2.0885e-05 5.14803e-05 -2.08402e-05 5.12923e-05 -2.07355e-05 5.10973e-05 -2.05727e-05 5.08967e-05 -2.0355e-05 5.06916e-05 -2.00866e-05 5.04829e-05 -1.97717e-05 5.02716e-05 -1.94149e-05 5.00588e-05 -1.9021e-05 4.98454e-05 -1.85952e-05 4.96325e-05 -1.81434e-05 4.94207e-05 -1.76718e-05 4.92109e-05 -1.71871e-05 4.90036e-05 -1.66961e-05 4.87992e-05 -1.62057e-05 4.85981e-05 -1.5723e-05 4.83998e-05 -1.52538e-05 4.82042e-05 -1.48043e-05 4.80094e-05 -1.43754e-05 4.7816e-05 -1.39691e-05 4.76164e-05 -1.35706e-05 4.74206e-05 -1.31449e-05 4.72037e-05 -1.27451e-05 -1.16042e-05 6.60508e-05 4.11877e-07 6.60693e-05 4.08618e-07 6.60753e-05 3.81471e-07 6.6071e-05 3.40611e-07 6.60599e-05 3.02892e-07 6.60354e-05 2.60066e-07 6.59938e-05 2.09522e-07 6.59325e-05 1.54208e-07 6.5848e-05 9.47267e-08 6.57376e-05 3.14553e-08 6.55992e-05 -3.38654e-08 6.54316e-05 -9.9181e-08 6.52345e-05 -1.62403e-07 6.50092e-05 -2.21516e-07 6.47576e-05 -2.7495e-07 6.44826e-05 -3.22235e-07 6.4187e-05 -3.64778e-07 6.38728e-05 -4.04425e-07 6.35453e-05 -4.41436e-07 6.3209e-05 -4.77249e-07 6.2868e-05 -5.15948e-07 6.25254e-05 -5.62357e-07 6.21838e-05 -6.21067e-07 6.18452e-05 -6.95756e-07 6.15116e-05 -7.8886e-07 6.11849e-05 -9.01717e-07 6.08669e-05 -1.03495e-06 6.05591e-05 -1.18886e-06 6.02632e-05 -1.36361e-06 5.99799e-05 -1.55925e-06 5.97102e-05 -1.77563e-06 5.94545e-05 -2.01235e-06 5.92131e-05 -2.26869e-06 5.89861e-05 -2.54382e-06 5.87735e-05 -2.83684e-06 5.85752e-05 -3.14693e-06 5.83908e-05 -3.47341e-06 5.82202e-05 -3.81575e-06 5.80627e-05 -4.17354e-06 5.7918e-05 -4.54646e-06 5.77855e-05 -4.93419e-06 5.76645e-05 -5.33647e-06 5.75545e-05 -5.75302e-06 5.74549e-05 -6.1836e-06 5.73651e-05 -6.62797e-06 5.72845e-05 -7.08591e-06 5.72123e-05 -7.5572e-06 5.71478e-05 -8.04162e-06 5.70904e-05 -8.53889e-06 5.7039e-05 -9.04863e-06 5.69929e-05 -9.57035e-06 5.6951e-05 -1.01034e-05 5.69123e-05 -1.06468e-05 5.68757e-05 -1.11996e-05 5.684e-05 -1.17603e-05 5.6804e-05 -1.23275e-05 5.67666e-05 -1.28993e-05 5.67264e-05 -1.34736e-05 5.66822e-05 -1.4048e-05 5.66328e-05 -1.462e-05 5.65771e-05 -1.51866e-05 5.65138e-05 -1.57448e-05 5.64421e-05 -1.62911e-05 5.63611e-05 -1.6822e-05 5.62698e-05 -1.73339e-05 5.61678e-05 -1.78229e-05 5.60545e-05 -1.82853e-05 5.59295e-05 -1.87173e-05 5.57927e-05 -1.91152e-05 5.56439e-05 -1.94754e-05 5.54832e-05 -1.97943e-05 5.53109e-05 -2.00685e-05 5.51272e-05 -2.02947e-05 5.49327e-05 -2.04697e-05 5.47282e-05 -2.0591e-05 5.45145e-05 -2.06561e-05 5.42927e-05 -2.06632e-05 5.4064e-05 -2.06115e-05 5.38297e-05 -2.05013e-05 5.35912e-05 -2.03342e-05 5.33496e-05 -2.01134e-05 5.31058e-05 -1.98428e-05 5.28607e-05 -1.95267e-05 5.26154e-05 -1.91695e-05 5.23705e-05 -1.87761e-05 5.21269e-05 -1.83517e-05 5.18855e-05 -1.7902e-05 5.16469e-05 -1.74332e-05 5.14116e-05 -1.69518e-05 5.11802e-05 -1.64647e-05 5.09529e-05 -1.59784e-05 5.07298e-05 -1.54999e-05 5.05106e-05 -1.50346e-05 5.0295e-05 -1.45887e-05 5.00812e-05 -1.41616e-05 4.98698e-05 -1.37577e-05 4.96545e-05 -1.33553e-05 4.94442e-05 -1.29346e-05 4.92198e-05 -1.25208e-05 -1.14272e-05 6.8169e-05 3.94998e-07 6.81923e-05 3.85329e-07 6.8211e-05 3.62725e-07 6.82234e-05 3.28176e-07 6.8234e-05 2.92389e-07 6.82407e-05 2.53285e-07 6.8242e-05 2.08238e-07 6.82371e-05 1.59122e-07 6.82245e-05 1.0732e-07 6.82024e-05 5.35194e-08 6.81694e-05 -8.58981e-10 6.81242e-05 -5.39721e-08 6.80658e-05 -1.03984e-07 6.79935e-05 -1.49248e-07 6.79072e-05 -1.88583e-07 6.78067e-05 -2.21749e-07 6.76917e-05 -2.49817e-07 6.75618e-05 -2.74454e-07 6.74177e-05 -2.97386e-07 6.72607e-05 -3.20271e-07 6.70916e-05 -3.46858e-07 6.6911e-05 -3.81743e-07 6.67193e-05 -4.2938e-07 6.65171e-05 -4.93511e-07 6.63051e-05 -5.76847e-07 6.60845e-05 -6.81097e-07 6.58567e-05 -8.07228e-07 6.56236e-05 -9.55754e-07 6.53869e-05 -1.12692e-06 6.51484e-05 -1.32075e-06 6.49098e-05 -1.53699e-06 6.46726e-05 -1.7751e-06 6.44381e-05 -2.03426e-06 6.42078e-05 -2.31347e-06 6.39826e-05 -2.6117e-06 6.37636e-05 -2.92793e-06 6.35515e-05 -3.26132e-06 6.33469e-05 -3.61114e-06 6.31502e-05 -3.97678e-06 6.29615e-05 -4.35775e-06 6.27809e-05 -4.7536e-06 6.26083e-05 -5.16393e-06 6.24437e-05 -5.58837e-06 6.22866e-05 -6.02658e-06 6.21369e-05 -6.47825e-06 6.19941e-05 -6.94306e-06 6.18576e-05 -7.42074e-06 6.1727e-05 -7.91097e-06 6.16015e-05 -8.41339e-06 6.14804e-05 -8.92757e-06 6.1363e-05 -9.45292e-06 6.12483e-05 -9.98871e-06 6.11355e-05 -1.0534e-05 6.10237e-05 -1.10877e-05 6.09117e-05 -1.16484e-05 6.07987e-05 -1.22145e-05 6.06836e-05 -1.27842e-05 6.05653e-05 -1.33554e-05 6.0443e-05 -1.39257e-05 6.03156e-05 -1.44926e-05 6.01823e-05 -1.50533e-05 6.00421e-05 -1.56046e-05 5.98944e-05 -1.61434e-05 5.97384e-05 -1.66661e-05 5.95737e-05 -1.71692e-05 5.93998e-05 -1.7649e-05 5.92163e-05 -1.81019e-05 5.90232e-05 -1.85242e-05 5.88204e-05 -1.89124e-05 5.86078e-05 -1.92629e-05 5.83858e-05 -1.95722e-05 5.81545e-05 -1.98372e-05 5.79145e-05 -2.00546e-05 5.76664e-05 -2.02216e-05 5.74108e-05 -2.03354e-05 5.71487e-05 -2.0394e-05 5.68811e-05 -2.03956e-05 5.66092e-05 -2.03396e-05 5.63342e-05 -2.02263e-05 5.60573e-05 -2.00573e-05 5.57795e-05 -1.98356e-05 5.55018e-05 -1.9565e-05 5.52248e-05 -1.92498e-05 5.49495e-05 -1.88942e-05 5.46764e-05 -1.85031e-05 5.44064e-05 -1.80817e-05 5.414e-05 -1.76356e-05 5.38777e-05 -1.7171e-05 5.36202e-05 -1.66943e-05 5.33676e-05 -1.62121e-05 5.31202e-05 -1.57309e-05 5.28779e-05 -1.52576e-05 5.26403e-05 -1.4797e-05 5.24071e-05 -1.43556e-05 5.21767e-05 -1.39312e-05 5.19494e-05 -1.35304e-05 5.17205e-05 -1.31264e-05 5.14975e-05 -1.27116e-05 5.12673e-05 -1.22905e-05 -1.12493e-05 7.01791e-05 3.74091e-07 7.02035e-05 3.6086e-07 7.02271e-05 3.39152e-07 7.0247e-05 3.08257e-07 7.02652e-05 2.74198e-07 7.02811e-05 2.37357e-07 7.02935e-05 1.95909e-07 7.03018e-05 1.50794e-07 7.03057e-05 1.03414e-07 7.03046e-05 5.4622e-08 7.02981e-05 5.61738e-09 7.02862e-05 -4.20008e-08 7.02688e-05 -8.6595e-08 7.02462e-05 -1.26729e-07 7.02191e-05 -1.61391e-07 7.01876e-05 -1.90316e-07 7.0152e-05 -2.14237e-07 7.01121e-05 -2.34518e-07 7.00676e-05 -2.52901e-07 7.00187e-05 -2.71336e-07 6.99648e-05 -2.93012e-07 6.99051e-05 -3.22022e-07 6.98382e-05 -3.62467e-07 6.97627e-05 -4.17967e-07 6.96772e-05 -4.91379e-07 6.95809e-05 -5.84754e-07 6.94731e-05 -6.99489e-07 6.93539e-05 -8.36515e-07 6.92234e-05 -9.96438e-07 6.90822e-05 -1.17957e-06 6.89311e-05 -1.38591e-06 6.87711e-05 -1.61511e-06 6.86034e-05 -1.86651e-06 6.84291e-05 -2.13923e-06 6.82497e-05 -2.43228e-06 6.80665e-05 -2.74466e-06 6.78805e-05 -3.07541e-06 6.76931e-05 -3.42371e-06 6.75051e-05 -3.78881e-06 6.73174e-05 -4.17005e-06 6.71307e-05 -4.56683e-06 6.69453e-05 -4.9786e-06 6.67618e-05 -5.40486e-06 6.65804e-05 -5.84514e-06 6.64011e-05 -6.299e-06 6.62241e-05 -6.76602e-06 6.60492e-05 -7.24581e-06 6.58762e-05 -7.73795e-06 6.57047e-05 -8.24199e-06 6.55346e-05 -8.75738e-06 6.53651e-05 -9.28348e-06 6.51959e-05 -9.81948e-06 6.50263e-05 -1.03644e-05 6.48556e-05 -1.0917e-05 6.46832e-05 -1.1476e-05 6.45083e-05 -1.20396e-05 6.43303e-05 -1.26062e-05 6.41483e-05 -1.31734e-05 6.39618e-05 -1.37392e-05 6.377e-05 -1.43008e-05 6.35722e-05 -1.48555e-05 6.3368e-05 -1.54004e-05 6.31567e-05 -1.59321e-05 6.29379e-05 -1.64474e-05 6.27115e-05 -1.69427e-05 6.2477e-05 -1.74145e-05 6.22344e-05 -1.78593e-05 6.19837e-05 -1.82736e-05 6.1725e-05 -1.86537e-05 6.14585e-05 -1.89964e-05 6.11845e-05 -1.92982e-05 6.09034e-05 -1.95561e-05 6.06157e-05 -1.97669e-05 6.03221e-05 -1.99279e-05 6.00232e-05 -2.00366e-05 5.97202e-05 -2.00909e-05 5.94138e-05 -2.00892e-05 5.91053e-05 -2.00311e-05 5.87957e-05 -1.99167e-05 5.84863e-05 -1.97478e-05 5.81779e-05 -1.95272e-05 5.78714e-05 -1.92585e-05 5.75674e-05 -1.89458e-05 5.72666e-05 -1.85934e-05 5.69696e-05 -1.82061e-05 5.6677e-05 -1.77891e-05 5.63893e-05 -1.73479e-05 5.6107e-05 -1.68887e-05 5.58304e-05 -1.64176e-05 5.55597e-05 -1.59414e-05 5.5295e-05 -1.54662e-05 5.50362e-05 -1.49988e-05 5.47829e-05 -1.45437e-05 5.45347e-05 -1.41074e-05 5.42902e-05 -1.36867e-05 5.40496e-05 -1.32897e-05 5.38095e-05 -1.28863e-05 5.35762e-05 -1.24783e-05 5.33419e-05 -1.20562e-05 -1.10717e-05 7.21922e-05 3.51107e-07 7.22172e-05 3.35917e-07 7.22419e-05 3.14452e-07 7.22639e-05 2.86228e-07 7.22839e-05 2.5421e-07 7.23019e-05 2.19334e-07 7.23172e-05 1.80617e-07 7.23295e-05 1.38518e-07 7.23386e-05 9.42584e-08 7.23445e-05 4.87857e-08 7.23469e-05 3.17124e-09 7.23461e-05 -4.12123e-08 7.23425e-05 -8.295e-08 7.23366e-05 -1.20823e-07 7.23292e-05 -1.53994e-07 7.23211e-05 -1.82228e-07 7.23129e-05 -2.06079e-07 7.23051e-05 -2.2668e-07 7.22978e-05 -2.45572e-07 7.22913e-05 -2.64871e-07 7.22856e-05 -2.87258e-07 7.22798e-05 -3.1624e-07 7.22727e-05 -3.55435e-07 7.22629e-05 -4.08137e-07 7.22486e-05 -4.77083e-07 7.22282e-05 -5.64378e-07 7.22003e-05 -6.71579e-07 7.21636e-05 -7.99828e-07 7.21172e-05 -9.49953e-07 7.20601e-05 -1.12249e-06 7.19919e-05 -1.31769e-06 7.19122e-05 -1.53547e-06 7.18211e-05 -1.77543e-06 7.17189e-05 -2.03698e-06 7.1606e-05 -2.31934e-06 7.1483e-05 -2.62168e-06 7.13507e-05 -2.94318e-06 7.12101e-05 -3.28306e-06 7.10619e-05 -3.64059e-06 7.09069e-05 -4.01508e-06 7.0746e-05 -4.40588e-06 7.05797e-05 -4.81239e-06 7.04089e-05 -5.23401e-06 7.02339e-05 -5.67019e-06 7.00553e-05 -6.12039e-06 6.98734e-05 -6.58411e-06 6.96885e-05 -7.06084e-06 6.95006e-05 -7.55007e-06 6.93098e-05 -8.05124e-06 6.91162e-05 -8.56372e-06 6.89195e-05 -9.08676e-06 6.87195e-05 -9.61949e-06 6.8516e-05 -1.01609e-05 6.83086e-05 -1.07096e-05 6.80969e-05 -1.12643e-05 6.78807e-05 -1.18234e-05 6.76594e-05 -1.23849e-05 6.74327e-05 -1.29467e-05 6.72001e-05 -1.35066e-05 6.69612e-05 -1.4062e-05 6.67158e-05 -1.46101e-05 6.64635e-05 -1.5148e-05 6.6204e-05 -1.56726e-05 6.59372e-05 -1.61806e-05 6.56631e-05 -1.66685e-05 6.53816e-05 -1.7133e-05 6.50928e-05 -1.75705e-05 6.47969e-05 -1.79777e-05 6.44941e-05 -1.8351e-05 6.41849e-05 -1.86871e-05 6.38696e-05 -1.89829e-05 6.35487e-05 -1.92352e-05 6.32228e-05 -1.94411e-05 6.28927e-05 -1.95978e-05 6.25591e-05 -1.9703e-05 6.2223e-05 -1.97547e-05 6.18853e-05 -1.97516e-05 6.15471e-05 -1.96929e-05 6.12096e-05 -1.95792e-05 6.08737e-05 -1.9412e-05 6.05404e-05 -1.91939e-05 6.02103e-05 -1.89284e-05 5.98841e-05 -1.86196e-05 5.95624e-05 -1.82717e-05 5.92458e-05 -1.78894e-05 5.89346e-05 -1.74779e-05 5.86294e-05 -1.70427e-05 5.83304e-05 -1.65897e-05 5.8038e-05 -1.61252e-05 5.77522e-05 -1.56557e-05 5.74732e-05 -1.51872e-05 5.72007e-05 -1.47263e-05 5.69343e-05 -1.42773e-05 5.66735e-05 -1.38467e-05 5.64173e-05 -1.34305e-05 5.61656e-05 -1.3038e-05 5.59165e-05 -1.26371e-05 5.56752e-05 -1.2237e-05 5.54387e-05 -1.18197e-05 -1.08953e-05 7.42427e-05 3.27435e-07 7.42673e-05 3.11238e-07 7.42918e-05 2.9003e-07 7.43146e-05 2.63352e-07 7.43359e-05 2.32963e-07 7.43555e-05 1.99739e-07 7.43729e-05 1.63229e-07 7.43877e-05 1.23696e-07 7.43998e-05 8.21251e-08 7.44092e-05 3.9443e-08 7.44157e-05 -3.40108e-09 7.44198e-05 -4.52643e-08 7.44218e-05 -8.4966e-08 7.44225e-05 -1.21496e-07 7.44227e-05 -1.54178e-07 7.44233e-05 -1.82826e-07 7.44251e-05 -2.07884e-07 7.44287e-05 -2.30331e-07 7.44347e-05 -2.51561e-07 7.44434e-05 -2.73548e-07 7.44549e-05 -2.98736e-07 7.44688e-05 -3.30132e-07 7.44842e-05 -3.70891e-07 7.45e-05 -4.23971e-07 7.45149e-05 -4.91919e-07 7.45273e-05 -5.76789e-07 7.45359e-05 -6.80162e-07 7.45393e-05 -8.03248e-07 7.45363e-05 -9.46954e-07 7.45257e-05 -1.11192e-06 7.45065e-05 -1.2985e-06 7.44778e-05 -1.50678e-06 7.4439e-05 -1.73655e-06 7.43894e-05 -1.98741e-06 7.43288e-05 -2.25879e-06 7.42572e-05 -2.55005e-06 7.41746e-05 -2.86052e-06 7.4081e-05 -3.18954e-06 7.39769e-05 -3.53648e-06 7.38626e-05 -3.90072e-06 7.37384e-05 -4.28167e-06 7.36047e-05 -4.67873e-06 7.3462e-05 -5.09134e-06 7.33108e-05 -5.51891e-06 7.31513e-05 -5.96091e-06 7.2984e-05 -6.41678e-06 7.28091e-05 -6.88598e-06 7.26269e-05 -7.36792e-06 7.24377e-05 -7.86199e-06 7.22415e-05 -8.3675e-06 7.20383e-05 -8.88363e-06 7.18283e-05 -9.40947e-06 7.16114e-05 -9.9439e-06 7.13874e-05 -1.04857e-05 7.11563e-05 -1.10333e-05 7.0918e-05 -1.15851e-05 7.06724e-05 -1.21392e-05 7.04192e-05 -1.26935e-05 7.01583e-05 -1.32458e-05 6.98898e-05 -1.37934e-05 6.96134e-05 -1.43337e-05 6.93292e-05 -1.48638e-05 6.90371e-05 -1.53805e-05 6.87373e-05 -1.58808e-05 6.84298e-05 -1.63611e-05 6.8115e-05 -1.68182e-05 6.77931e-05 -1.72487e-05 6.74645e-05 -1.7649e-05 6.71296e-05 -1.8016e-05 6.67889e-05 -1.83464e-05 6.64429e-05 -1.86369e-05 6.60923e-05 -1.88846e-05 6.57377e-05 -1.90865e-05 6.538e-05 -1.92401e-05 6.50199e-05 -1.9343e-05 6.46585e-05 -1.93933e-05 6.42967e-05 -1.93898e-05 6.39356e-05 -1.93318e-05 6.35763e-05 -1.92199e-05 6.32197e-05 -1.90554e-05 6.28668e-05 -1.88409e-05 6.25182e-05 -1.85798e-05 6.21745e-05 -1.82759e-05 6.18362e-05 -1.79334e-05 6.15038e-05 -1.75571e-05 6.11778e-05 -1.71519e-05 6.08584e-05 -1.67233e-05 6.05461e-05 -1.62774e-05 6.02409e-05 -1.582e-05 5.9943e-05 -1.53578e-05 5.96523e-05 -1.48965e-05 5.93687e-05 -1.44427e-05 5.90916e-05 -1.40002e-05 5.88207e-05 -1.35758e-05 5.85551e-05 -1.31649e-05 5.82946e-05 -1.27775e-05 5.80385e-05 -1.23811e-05 5.77913e-05 -1.19898e-05 5.7554e-05 -1.15824e-05 -1.07207e-05 7.63435e-05 3.03328e-07 7.63682e-05 2.86591e-07 7.63925e-05 2.65691e-07 7.64157e-05 2.40104e-07 7.64375e-05 2.1116e-07 7.64577e-05 1.79567e-07 7.64759e-05 1.45061e-07 7.64917e-05 1.07843e-07 7.65052e-05 6.86751e-08 7.65162e-05 2.83968e-08 7.6525e-05 -1.21522e-08 7.65317e-05 -5.2015e-08 7.6537e-05 -9.02091e-08 7.65414e-05 -1.259e-07 7.65457e-05 -1.5854e-07 7.65509e-05 -1.87998e-07 7.65577e-05 -2.14653e-07 7.65667e-05 -2.39369e-07 7.65786e-05 -2.63417e-07 7.65936e-05 -2.88539e-07 7.66119e-05 -3.17071e-07 7.66334e-05 -3.51576e-07 7.66573e-05 -3.94812e-07 7.66827e-05 -4.49429e-07 7.67086e-05 -5.1779e-07 7.67337e-05 -6.01862e-07 7.67567e-05 -7.03213e-07 7.67766e-05 -8.23073e-07 7.6792e-05 -9.62387e-07 7.68019e-05 -1.12184e-06 7.68053e-05 -1.30186e-06 7.68011e-05 -1.5026e-06 7.67885e-05 -1.724e-06 7.67669e-05 -1.96577e-06 7.67356e-05 -2.22749e-06 7.66942e-05 -2.50864e-06 7.66423e-05 -2.80868e-06 7.65799e-05 -3.12705e-06 7.65066e-05 -3.4632e-06 7.64224e-05 -3.81659e-06 7.63275e-05 -4.18668e-06 7.62216e-05 -4.57292e-06 7.61051e-05 -4.9748e-06 7.5978e-05 -5.39177e-06 7.58404e-05 -5.82331e-06 7.56924e-05 -6.26886e-06 7.55343e-05 -6.72789e-06 7.53662e-05 -7.19979e-06 7.51882e-05 -7.68393e-06 7.50003e-05 -8.17961e-06 7.48026e-05 -8.68598e-06 7.45952e-05 -9.2021e-06 7.43782e-05 -9.72685e-06 7.41515e-05 -1.02589e-05 7.39151e-05 -1.07969e-05 7.36691e-05 -1.13391e-05 7.34135e-05 -1.18836e-05 7.31484e-05 -1.24284e-05 7.28737e-05 -1.29711e-05 7.25896e-05 -1.35093e-05 7.22963e-05 -1.40404e-05 7.19938e-05 -1.45613e-05 7.16825e-05 -1.50692e-05 7.13625e-05 -1.55608e-05 7.10343e-05 -1.60329e-05 7.06982e-05 -1.64821e-05 7.03547e-05 -1.69052e-05 7.00043e-05 -1.72987e-05 6.96477e-05 -1.76594e-05 6.92854e-05 -1.79841e-05 6.89181e-05 -1.82696e-05 6.85466e-05 -1.85131e-05 6.81717e-05 -1.87116e-05 6.77941e-05 -1.88625e-05 6.74149e-05 -1.89638e-05 6.7035e-05 -1.90134e-05 6.66555e-05 -1.90102e-05 6.62774e-05 -1.89537e-05 6.59018e-05 -1.88443e-05 6.55297e-05 -1.86833e-05 6.51618e-05 -1.84731e-05 6.4799e-05 -1.8217e-05 6.44418e-05 -1.79187e-05 6.40906e-05 -1.75823e-05 6.3746e-05 -1.72124e-05 6.34083e-05 -1.68142e-05 6.30779e-05 -1.63929e-05 6.27549e-05 -1.59544e-05 6.24396e-05 -1.55047e-05 6.2132e-05 -1.50501e-05 6.1832e-05 -1.45965e-05 6.15394e-05 -1.41501e-05 6.12539e-05 -1.37147e-05 6.09749e-05 -1.32969e-05 6.07019e-05 -1.28919e-05 6.04347e-05 -1.25102e-05 6.01735e-05 -1.212e-05 5.99222e-05 -1.17385e-05 5.96851e-05 -1.13453e-05 -1.0548e-05 7.85004e-05 2.79229e-07 7.85248e-05 2.62252e-07 7.85488e-05 2.41689e-07 7.85717e-05 2.17121e-07 7.85936e-05 1.89313e-07 7.86141e-05 1.59084e-07 7.86328e-05 1.26296e-07 7.86496e-05 9.10685e-08 7.86643e-05 5.39968e-08 7.86769e-05 1.58081e-08 7.86875e-05 -2.27598e-08 7.86964e-05 -6.09101e-08 7.8704e-05 -9.78389e-08 7.8711e-05 -1.32871e-07 7.8718e-05 -1.6558e-07 7.87259e-05 -1.95888e-07 7.87354e-05 -2.24141e-07 7.87471e-05 -2.51114e-07 7.87617e-05 -2.77951e-07 7.87793e-05 -3.06201e-07 7.88003e-05 -3.38064e-07 7.88245e-05 -3.75761e-07 7.88514e-05 -4.21678e-07 7.88802e-05 -4.78196e-07 7.89099e-05 -5.47499e-07 7.89395e-05 -6.31457e-07 7.89678e-05 -7.316e-07 7.89939e-05 -8.49155e-07 7.90166e-05 -9.85085e-07 7.90349e-05 -1.14011e-06 7.90477e-05 -1.31469e-06 7.90542e-05 -1.50907e-06 7.90534e-05 -1.72325e-06 7.90447e-05 -1.95706e-06 7.90274e-05 -2.21019e-06 7.9001e-05 -2.48221e-06 7.8965e-05 -2.77267e-06 7.8919e-05 -3.08109e-06 7.88628e-05 -3.40699e-06 7.87961e-05 -3.74987e-06 7.87187e-05 -4.10924e-06 7.86304e-05 -4.48462e-06 7.85311e-05 -4.8755e-06 7.84207e-05 -5.28139e-06 7.82991e-05 -5.70176e-06 7.81664e-05 -6.13611e-06 7.80224e-05 -6.58389e-06 7.78671e-05 -7.04452e-06 7.77005e-05 -7.51736e-06 7.75226e-05 -8.00169e-06 7.73333e-05 -8.4967e-06 7.71327e-05 -9.00143e-06 7.69206e-05 -9.51478e-06 7.66971e-05 -1.00355e-05 7.64623e-05 -1.05621e-05 7.62161e-05 -1.10929e-05 7.59586e-05 -1.16261e-05 7.56899e-05 -1.21597e-05 7.54103e-05 -1.26914e-05 7.51197e-05 -1.32188e-05 7.48186e-05 -1.37392e-05 7.45071e-05 -1.42499e-05 7.41857e-05 -1.47478e-05 7.38547e-05 -1.52298e-05 7.35147e-05 -1.56928e-05 7.31661e-05 -1.61335e-05 7.28096e-05 -1.65487e-05 7.24457e-05 -1.69349e-05 7.20754e-05 -1.7289e-05 7.16991e-05 -1.76079e-05 7.13179e-05 -1.78884e-05 7.09324e-05 -1.81276e-05 7.05436e-05 -1.83228e-05 7.01524e-05 -1.84714e-05 6.97598e-05 -1.85712e-05 6.93669e-05 -1.86205e-05 6.89746e-05 -1.8618e-05 6.85842e-05 -1.85633e-05 6.81967e-05 -1.84567e-05 6.7813e-05 -1.82996e-05 6.7434e-05 -1.80941e-05 6.70605e-05 -1.78434e-05 6.66929e-05 -1.75511e-05 6.63318e-05 -1.72212e-05 6.59777e-05 -1.68583e-05 6.56309e-05 -1.64673e-05 6.52917e-05 -1.60537e-05 6.49603e-05 -1.5623e-05 6.46369e-05 -1.51813e-05 6.43215e-05 -1.47348e-05 6.40141e-05 -1.42891e-05 6.37144e-05 -1.38504e-05 6.34221e-05 -1.34224e-05 6.31368e-05 -1.30116e-05 6.2858e-05 -1.26131e-05 6.25856e-05 -1.22378e-05 6.23209e-05 -1.18552e-05 6.2067e-05 -1.14846e-05 6.18307e-05 -1.11089e-05 -1.03768e-05 8.07159e-05 2.55053e-07 8.07402e-05 2.38007e-07 8.0764e-05 2.17843e-07 8.07869e-05 1.94246e-07 8.08087e-05 1.67551e-07 8.08293e-05 1.38402e-07 8.08486e-05 1.07057e-07 8.08661e-05 7.36039e-08 8.08816e-05 3.84399e-08 8.08953e-05 2.14355e-09 8.09072e-05 -3.46601e-08 8.09176e-05 -7.13131e-08 8.09269e-05 -1.07166e-07 8.09357e-05 -1.41679e-07 8.09447e-05 -1.74528e-07 8.09545e-05 -2.0568e-07 8.09658e-05 -2.35461e-07 8.09792e-05 -2.6457e-07 8.09953e-05 -2.94053e-07 8.10144e-05 -3.25295e-07 8.10366e-05 -3.60209e-07 8.10617e-05 -4.00894e-07 8.10894e-05 -4.49393e-07 8.11191e-05 -5.07833e-07 8.11498e-05 -5.7822e-07 8.11806e-05 -6.62316e-07 8.12106e-05 -7.61601e-07 8.12388e-05 -8.77283e-07 8.1264e-05 -1.01033e-06 8.12854e-05 -1.16147e-06 8.13019e-05 -1.33122e-06 8.13127e-05 -1.51987e-06 8.1317e-05 -1.7275e-06 8.13139e-05 -1.95401e-06 8.13029e-05 -2.19918e-06 8.12834e-05 -2.46269e-06 8.12548e-05 -2.74414e-06 8.12169e-05 -3.04313e-06 8.11691e-05 -3.35922e-06 8.11112e-05 -3.69197e-06 8.10429e-05 -4.04092e-06 8.09639e-05 -4.40563e-06 8.0874e-05 -4.78562e-06 8.07731e-05 -5.18042e-06 8.06608e-05 -5.58954e-06 8.05372e-05 -6.01247e-06 8.0402e-05 -6.44868e-06 8.0255e-05 -6.89759e-06 8.00963e-05 -7.35859e-06 7.99255e-05 -7.83095e-06 7.97427e-05 -8.31387e-06 7.95477e-05 -8.80641e-06 7.93404e-05 -9.30748e-06 7.91207e-05 -9.81583e-06 7.88887e-05 -1.033e-05 7.86444e-05 -1.08485e-05 7.83877e-05 -1.13694e-05 7.81188e-05 -1.18908e-05 7.78379e-05 -1.24105e-05 7.75451e-05 -1.2926e-05 7.72407e-05 -1.34349e-05 7.69251e-05 -1.39343e-05 7.65987e-05 -1.44214e-05 7.6262e-05 -1.48931e-05 7.59154e-05 -1.53463e-05 7.55597e-05 -1.57778e-05 7.51955e-05 -1.61844e-05 7.48235e-05 -1.65629e-05 7.44445e-05 -1.69101e-05 7.40594e-05 -1.72228e-05 7.36691e-05 -1.7498e-05 7.32743e-05 -1.77329e-05 7.28762e-05 -1.79246e-05 7.24756e-05 -1.80708e-05 7.20737e-05 -1.81693e-05 7.16716e-05 -1.82183e-05 7.12702e-05 -1.82167e-05 7.08708e-05 -1.81639e-05 7.04745e-05 -1.80604e-05 7.00822e-05 -1.79072e-05 6.96947e-05 -1.77067e-05 6.93129e-05 -1.74616e-05 6.89373e-05 -1.71755e-05 6.85684e-05 -1.68523e-05 6.82067e-05 -1.64966e-05 6.78526e-05 -1.61132e-05 6.75062e-05 -1.57074e-05 6.7168e-05 -1.52848e-05 6.6838e-05 -1.48513e-05 6.65162e-05 -1.4413e-05 6.62027e-05 -1.39755e-05 6.58971e-05 -1.35449e-05 6.55993e-05 -1.31246e-05 6.53087e-05 -1.2721e-05 6.50254e-05 -1.23298e-05 6.47491e-05 -1.19615e-05 6.44817e-05 -1.15879e-05 6.42263e-05 -1.12292e-05 6.39909e-05 -1.08735e-05 -1.02065e-05 8.29947e-05 2.30996e-07 8.30187e-05 2.14016e-07 8.30423e-05 1.9424e-07 8.30651e-05 1.71469e-07 8.30868e-05 1.45833e-07 8.31075e-05 1.17695e-07 8.31269e-05 8.76175e-08 8.31448e-05 5.57276e-08 8.3161e-05 2.22373e-08 8.31756e-05 -1.24037e-08 8.31886e-05 -4.76774e-08 8.32003e-05 -8.30433e-08 8.32111e-05 -1.17981e-07 8.32215e-05 -1.52068e-07 8.3232e-05 -1.85065e-07 8.32433e-05 -2.16983e-07 8.3256e-05 -2.48139e-07 8.32706e-05 -2.7917e-07 8.32876e-05 -3.11034e-07 8.33073e-05 -3.44976e-07 8.33297e-05 -3.82626e-07 8.33548e-05 -4.2599e-07 8.33822e-05 -4.76821e-07 8.34114e-05 -5.37022e-07 8.34416e-05 -6.08438e-07 8.3472e-05 -6.92718e-07 8.35017e-05 -7.91274e-07 8.35297e-05 -9.05285e-07 8.35551e-05 -1.03571e-06 8.35769e-05 -1.18329e-06 8.35943e-05 -1.34857e-06 8.36063e-05 -1.53187e-06 8.36121e-05 -1.73335e-06 8.36111e-05 -1.95298e-06 8.36025e-05 -2.19061e-06 8.35858e-05 -2.44599e-06 8.35605e-05 -2.7188e-06 8.3526e-05 -3.00869e-06 8.34821e-05 -3.31528e-06 8.34283e-05 -3.63816e-06 8.33643e-05 -3.97693e-06 8.32898e-05 -4.33115e-06 8.32046e-05 -4.70038e-06 8.31083e-05 -5.08417e-06 8.30008e-05 -5.48204e-06 8.28819e-05 -5.89351e-06 8.27512e-05 -6.31806e-06 8.26088e-05 -6.75511e-06 8.24542e-05 -7.20405e-06 8.22874e-05 -7.66417e-06 8.21082e-05 -8.13468e-06 8.19165e-05 -8.61464e-06 8.1712e-05 -9.103e-06 8.14947e-05 -9.59854e-06 8.12645e-05 -1.00999e-05 8.10215e-05 -1.06054e-05 8.07655e-05 -1.11135e-05 8.04968e-05 -1.16221e-05 8.02153e-05 -1.21291e-05 7.99214e-05 -1.26321e-05 7.96154e-05 -1.31288e-05 7.92975e-05 -1.36164e-05 7.89682e-05 -1.4092e-05 7.86279e-05 -1.45528e-05 7.82774e-05 -1.49957e-05 7.79172e-05 -1.54176e-05 7.7548e-05 -1.58153e-05 7.71707e-05 -1.61856e-05 7.6786e-05 -1.65254e-05 7.63949e-05 -1.68316e-05 7.59982e-05 -1.71013e-05 7.5597e-05 -1.73316e-05 7.51923e-05 -1.75199e-05 7.4785e-05 -1.76635e-05 7.43763e-05 -1.77606e-05 7.39673e-05 -1.78093e-05 7.35591e-05 -1.78085e-05 7.31529e-05 -1.77577e-05 7.27497e-05 -1.76572e-05 7.23506e-05 -1.75081e-05 7.19564e-05 -1.73125e-05 7.15679e-05 -1.70731e-05 7.11857e-05 -1.67933e-05 7.08104e-05 -1.6477e-05 7.04423e-05 -1.61285e-05 7.00819e-05 -1.57528e-05 6.97295e-05 -1.53549e-05 6.93853e-05 -1.49406e-05 6.90495e-05 -1.45155e-05 6.87221e-05 -1.40857e-05 6.84032e-05 -1.36566e-05 6.80925e-05 -1.32342e-05 6.77898e-05 -1.28219e-05 6.74948e-05 -1.24261e-05 6.72076e-05 -1.20425e-05 6.6928e-05 -1.16819e-05 6.66586e-05 -1.13185e-05 6.64022e-05 -1.09728e-05 6.61674e-05 -1.06387e-05 -1.00359e-05 8.53369e-05 2.06966e-07 8.53608e-05 1.90116e-07 8.53843e-05 1.70765e-07 8.5407e-05 1.48741e-07 8.54288e-05 1.24106e-07 8.54494e-05 9.70558e-08 8.5469e-05 6.80337e-08 8.54873e-05 3.74184e-08 8.55041e-05 5.40386e-09 8.55195e-05 -2.77602e-08 8.55335e-05 -6.16704e-08 8.55463e-05 -9.58939e-08 8.55584e-05 -1.30021e-07 8.557e-05 -1.63732e-07 8.55818e-05 -1.96859e-07 8.55943e-05 -2.29453e-07 8.5608e-05 -2.61823e-07 8.56234e-05 -2.94559e-07 8.56409e-05 -3.28531e-07 8.56608e-05 -3.64871e-07 8.56831e-05 -4.04996e-07 8.57078e-05 -4.50661e-07 8.57345e-05 -5.03493e-07 8.57627e-05 -5.65224e-07 8.57918e-05 -6.37524e-07 8.5821e-05 -7.21924e-07 8.58495e-05 -8.19761e-07 8.58764e-05 -9.32173e-07 8.59007e-05 -1.0601e-06 8.59217e-05 -1.20429e-06 8.59385e-05 -1.3653e-06 8.59501e-05 -1.5435e-06 8.59558e-05 -1.73908e-06 8.59549e-05 -1.95209e-06 8.59468e-05 -2.18243e-06 8.59307e-05 -2.42994e-06 8.59063e-05 -2.69435e-06 8.58729e-05 -2.97536e-06 8.58303e-05 -3.27263e-06 8.57779e-05 -3.58582e-06 8.57155e-05 -3.91452e-06 8.56427e-05 -4.25836e-06 8.55593e-05 -4.6169e-06 8.54648e-05 -4.98973e-06 8.53592e-05 -5.37638e-06 8.5242e-05 -5.77637e-06 8.51132e-05 -6.1892e-06 8.49724e-05 -6.61431e-06 8.48194e-05 -7.05108e-06 8.4654e-05 -7.49882e-06 8.44761e-05 -7.95674e-06 8.42854e-05 -8.42393e-06 8.40818e-05 -8.89937e-06 8.38651e-05 -9.38185e-06 8.36352e-05 -9.87003e-06 8.33922e-05 -1.03624e-05 8.31359e-05 -1.08572e-05 8.28665e-05 -1.13527e-05 8.25841e-05 -1.18466e-05 8.22889e-05 -1.23369e-05 8.19811e-05 -1.2821e-05 8.16611e-05 -1.32964e-05 8.13293e-05 -1.37603e-05 8.09863e-05 -1.42098e-05 8.06325e-05 -1.4642e-05 8.02688e-05 -1.50539e-05 7.98958e-05 -1.54423e-05 7.95143e-05 -1.58041e-05 7.91253e-05 -1.61363e-05 7.87295e-05 -1.64359e-05 7.8328e-05 -1.66998e-05 7.79217e-05 -1.69254e-05 7.75117e-05 -1.71099e-05 7.70991e-05 -1.72509e-05 7.6685e-05 -1.73465e-05 7.62704e-05 -1.73948e-05 7.58567e-05 -1.73947e-05 7.54448e-05 -1.73459e-05 7.5036e-05 -1.72483e-05 7.46311e-05 -1.71033e-05 7.42311e-05 -1.69125e-05 7.38368e-05 -1.66788e-05 7.34488e-05 -1.64053e-05 7.30676e-05 -1.60958e-05 7.26938e-05 -1.57547e-05 7.23277e-05 -1.53867e-05 7.19697e-05 -1.49969e-05 7.162e-05 -1.45909e-05 7.12788e-05 -1.41743e-05 7.09461e-05 -1.3753e-05 7.06221e-05 -1.33325e-05 7.03065e-05 -1.29186e-05 6.99993e-05 -1.25147e-05 6.97001e-05 -1.21269e-05 6.94092e-05 -1.17517e-05 6.91267e-05 -1.13994e-05 6.88554e-05 -1.10472e-05 6.8598e-05 -1.07155e-05 6.83632e-05 -1.04039e-05 -9.86338e-06 8.77471e-05 1.83039e-07 8.77708e-05 1.66385e-07 8.77941e-05 1.47446e-07 8.78168e-05 1.26108e-07 8.78385e-05 1.02393e-07 8.78591e-05 7.64412e-08 8.78786e-05 4.84949e-08 8.78971e-05 1.89137e-08 8.79145e-05 -1.19208e-08 8.79305e-05 -4.37971e-08 8.79453e-05 -7.65009e-08 8.79592e-05 -1.09713e-07 8.79723e-05 -1.43125e-07 8.7985e-05 -1.76499e-07 8.79979e-05 -2.09732e-07 8.80114e-05 -2.42905e-07 8.80259e-05 -2.76323e-07 8.80418e-05 -3.10534e-07 8.80596e-05 -3.4633e-07 8.80795e-05 -3.84735e-07 8.81015e-05 -4.27004e-07 8.81254e-05 -4.74607e-07 8.81511e-05 -5.29109e-07 8.81779e-05 -5.92088e-07 8.82055e-05 -6.65064e-07 8.8233e-05 -7.49444e-07 8.82597e-05 -8.46488e-07 8.82848e-05 -9.57285e-07 8.83075e-05 -1.08275e-06 8.83268e-05 -1.22363e-06 8.8342e-05 -1.38049e-06 8.83522e-05 -1.55372e-06 8.83567e-05 -1.74357e-06 8.83547e-05 -1.95013e-06 8.83457e-05 -2.17337e-06 8.83289e-05 -2.41318e-06 8.83039e-05 -2.66934e-06 8.82702e-05 -2.94161e-06 8.82272e-05 -3.22971e-06 8.81747e-05 -3.53329e-06 8.81122e-05 -3.85203e-06 8.80394e-05 -4.18555e-06 8.7956e-05 -4.53345e-06 8.78616e-05 -4.89533e-06 8.7756e-05 -5.27075e-06 8.76388e-05 -5.65925e-06 8.751e-05 -6.06032e-06 8.73691e-05 -6.47341e-06 8.72159e-05 -6.89793e-06 8.70503e-05 -7.33318e-06 8.68719e-05 -7.7784e-06 8.66807e-05 -8.23269e-06 8.64764e-05 -8.69505e-06 8.62588e-05 -9.16431e-06 8.6028e-05 -9.63916e-06 8.57837e-05 -1.01181e-05 8.55261e-05 -1.05996e-05 8.52551e-05 -1.10817e-05 8.49708e-05 -1.15624e-05 8.46736e-05 -1.20396e-05 8.43635e-05 -1.2511e-05 8.4041e-05 -1.29739e-05 8.37066e-05 -1.34258e-05 8.33606e-05 -1.38638e-05 8.30037e-05 -1.42851e-05 8.26365e-05 -1.46867e-05 8.22599e-05 -1.50657e-05 8.18746e-05 -1.54188e-05 8.14815e-05 -1.57432e-05 8.10816e-05 -1.60359e-05 8.06757e-05 -1.62939e-05 8.02649e-05 -1.65146e-05 7.98503e-05 -1.66953e-05 7.9433e-05 -1.68336e-05 7.9014e-05 -1.69275e-05 7.85945e-05 -1.69753e-05 7.81758e-05 -1.6976e-05 7.77588e-05 -1.69289e-05 7.73447e-05 -1.68343e-05 7.69346e-05 -1.66931e-05 7.65292e-05 -1.65072e-05 7.61294e-05 -1.6279e-05 7.57359e-05 -1.60118e-05 7.53492e-05 -1.57091e-05 7.49699e-05 -1.53753e-05 7.45982e-05 -1.5015e-05 7.42347e-05 -1.46334e-05 7.38795e-05 -1.42357e-05 7.35329e-05 -1.38277e-05 7.3195e-05 -1.34151e-05 7.28658e-05 -1.30034e-05 7.25453e-05 -1.25981e-05 7.22335e-05 -1.22028e-05 7.19301e-05 -1.18235e-05 7.16355e-05 -1.14571e-05 7.13499e-05 -1.11138e-05 7.10765e-05 -1.07737e-05 7.08178e-05 -1.04568e-05 7.0582e-05 -1.0168e-05 -9.68744e-06 9.02253e-05 1.5917e-07 9.0249e-05 1.42737e-07 9.02722e-05 1.24225e-07 9.02948e-05 1.03528e-07 9.03165e-05 8.06565e-08 9.03372e-05 5.57062e-08 9.03569e-05 2.88542e-08 9.03755e-05 3.18003e-10 9.03931e-05 -2.9562e-08 9.04097e-05 -6.04185e-08 9.04253e-05 -9.20748e-08 9.044e-05 -1.24389e-07 9.0454e-05 -1.57153e-07 9.04677e-05 -1.9021e-07 9.04815e-05 -2.23507e-07 9.04958e-05 -2.5715e-07 9.05109e-05 -2.91445e-07 9.05272e-05 -3.26902e-07 9.05452e-05 -3.64244e-07 9.05648e-05 -4.04394e-07 9.05863e-05 -4.48455e-07 9.06093e-05 -4.97652e-07 9.06337e-05 -5.53505e-07 9.06591e-05 -6.17457e-07 9.06849e-05 -6.90884e-07 9.07105e-05 -7.75078e-07 9.07353e-05 -8.71217e-07 9.07583e-05 -9.80336e-07 9.07789e-05 -1.10332e-06 9.07962e-05 -1.24091e-06 9.08094e-05 -1.39367e-06 9.08177e-05 -1.56202e-06 9.08203e-05 -1.74624e-06 9.08167e-05 -1.94646e-06 9.0806e-05 -2.16271e-06 9.07877e-05 -2.39492e-06 9.07613e-05 -2.64294e-06 9.07263e-05 -2.90656e-06 9.06821e-05 -3.18554e-06 9.06284e-05 -3.47959e-06 9.05648e-05 -3.7884e-06 9.04909e-05 -4.11162e-06 9.04063e-05 -4.44888e-06 9.03108e-05 -4.7998e-06 9.0204e-05 -5.16396e-06 9.00856e-05 -5.54091e-06 8.99555e-05 -5.93015e-06 8.98132e-05 -6.33116e-06 8.96586e-05 -6.74333e-06 8.94914e-05 -7.16601e-06 8.93115e-05 -7.59841e-06 8.91185e-05 -8.03969e-06 8.89123e-05 -8.48885e-06 8.86927e-05 -8.94477e-06 8.84597e-05 -9.40617e-06 8.82132e-05 -9.87163e-06 8.79532e-05 -1.03395e-05 8.76796e-05 -1.08082e-05 8.73928e-05 -1.12755e-05 8.70927e-05 -1.17395e-05 8.67797e-05 -1.2198e-05 8.64541e-05 -1.26483e-05 8.61164e-05 -1.3088e-05 8.5767e-05 -1.35144e-05 8.54066e-05 -1.39247e-05 8.50358e-05 -1.43159e-05 8.46553e-05 -1.46852e-05 8.42661e-05 -1.50296e-05 8.38689e-05 -1.5346e-05 8.34647e-05 -1.56317e-05 8.30545e-05 -1.58837e-05 8.26393e-05 -1.60994e-05 8.22201e-05 -1.62761e-05 8.17982e-05 -1.64116e-05 8.13745e-05 -1.65038e-05 8.09502e-05 -1.65511e-05 8.05265e-05 -1.65523e-05 8.01046e-05 -1.65069e-05 7.96854e-05 -1.64151e-05 7.927e-05 -1.62777e-05 7.88593e-05 -1.60965e-05 7.84541e-05 -1.58738e-05 7.80551e-05 -1.56127e-05 7.76628e-05 -1.53168e-05 7.72778e-05 -1.49903e-05 7.69005e-05 -1.46377e-05 7.65313e-05 -1.42641e-05 7.61704e-05 -1.38749e-05 7.58182e-05 -1.34755e-05 7.54748e-05 -1.30717e-05 7.51403e-05 -1.26688e-05 7.48147e-05 -1.22724e-05 7.4498e-05 -1.18861e-05 7.419e-05 -1.15155e-05 7.38915e-05 -1.11586e-05 7.36026e-05 -1.08248e-05 7.33265e-05 -1.04977e-05 7.30659e-05 -1.01962e-05 7.2828e-05 -9.93015e-06 -9.50633e-06 9.27755e-05 1.35366e-07 9.27991e-05 1.19189e-07 9.28222e-05 1.01091e-07 9.28448e-05 8.09946e-08 9.28665e-05 5.88977e-08 9.28874e-05 3.48671e-08 9.29072e-05 9.02874e-09 9.29259e-05 -1.84478e-08 9.29437e-05 -4.73616e-08 9.29607e-05 -7.73977e-08 9.29769e-05 -1.08236e-07 9.29923e-05 -1.39768e-07 9.30071e-05 -1.71946e-07 9.30215e-05 -2.04699e-07 9.30361e-05 -2.38013e-07 9.30509e-05 -2.72022e-07 9.30665e-05 -3.07028e-07 9.30831e-05 -3.43513e-07 9.3101e-05 -3.82131e-07 9.31203e-05 -4.23714e-07 9.31411e-05 -4.69195e-07 9.31631e-05 -5.19653e-07 9.31861e-05 -5.76546e-07 9.32098e-05 -6.41196e-07 9.32338e-05 -7.14841e-07 9.32574e-05 -7.9866e-07 9.32799e-05 -8.93749e-07 9.33007e-05 -1.00109e-06 9.33189e-05 -1.12154e-06 9.33338e-05 -1.25582e-06 9.33446e-05 -1.40449e-06 9.33506e-05 -1.56799e-06 9.3351e-05 -1.74663e-06 9.33451e-05 -1.94057e-06 9.33323e-05 -2.1499e-06 9.33119e-05 -2.37458e-06 9.32835e-05 -2.61451e-06 9.32465e-05 -2.86954e-06 9.32004e-05 -3.13944e-06 9.31448e-05 -3.42398e-06 9.30792e-05 -3.72286e-06 9.30034e-05 -4.03578e-06 9.29169e-05 -4.36238e-06 9.28194e-05 -4.70231e-06 9.27106e-05 -5.05516e-06 9.25902e-05 -5.4205e-06 9.24579e-05 -5.79784e-06 9.23134e-05 -6.18668e-06 9.21565e-05 -6.58642e-06 9.19869e-05 -6.99641e-06 9.18044e-05 -7.4159e-06 9.16087e-05 -7.84406e-06 9.13998e-05 -8.27991e-06 9.11774e-05 -8.72237e-06 9.09414e-05 -9.17021e-06 9.06918e-05 -9.62203e-06 9.04286e-05 -1.00763e-05 9.01518e-05 -1.05313e-05 8.98615e-05 -1.09852e-05 8.95579e-05 -1.1436e-05 8.92412e-05 -1.18813e-05 8.89119e-05 -1.2319e-05 8.85704e-05 -1.27465e-05 8.82171e-05 -1.31611e-05 8.78526e-05 -1.35602e-05 8.74777e-05 -1.3941e-05 8.7093e-05 -1.43006e-05 8.66994e-05 -1.4636e-05 8.62978e-05 -1.49444e-05 8.58892e-05 -1.5223e-05 8.54744e-05 -1.54689e-05 8.50545e-05 -1.56795e-05 8.46306e-05 -1.58523e-05 8.42039e-05 -1.59848e-05 8.37753e-05 -1.60752e-05 8.33461e-05 -1.61218e-05 8.29173e-05 -1.61236e-05 8.24902e-05 -1.60798e-05 8.20657e-05 -1.59906e-05 8.16449e-05 -1.58569e-05 8.12287e-05 -1.56803e-05 8.08178e-05 -1.54629e-05 8.0413e-05 -1.52079e-05 8.00148e-05 -1.49187e-05 7.96238e-05 -1.45993e-05 7.92405e-05 -1.42544e-05 7.88653e-05 -1.38889e-05 7.84984e-05 -1.3508e-05 7.81402e-05 -1.31173e-05 7.77909e-05 -1.27224e-05 7.74506e-05 -1.23286e-05 7.71194e-05 -1.19412e-05 7.67974e-05 -1.15641e-05 7.64846e-05 -1.12027e-05 7.61817e-05 -1.08557e-05 7.58889e-05 -1.0532e-05 7.56096e-05 -1.02185e-05 7.53462e-05 -9.9328e-06 7.51052e-05 -9.68913e-06 -9.31834e-06 9.53985e-05 1.11613e-07 9.5422e-05 9.5703e-08 9.54451e-05 7.80203e-08 9.54676e-05 5.84921e-08 9.54894e-05 3.71106e-08 9.55103e-05 1.39215e-08 9.55303e-05 -1.0984e-08 9.55493e-05 -3.74802e-08 9.55674e-05 -6.54125e-08 9.55846e-05 -9.46047e-08 9.56012e-05 -1.24791e-07 9.56171e-05 -1.55724e-07 9.56326e-05 -1.87383e-07 9.56477e-05 -2.19838e-07 9.56628e-05 -2.53112e-07 9.56781e-05 -2.87377e-07 9.5694e-05 -3.22932e-07 9.57108e-05 -3.60227e-07 9.57285e-05 -3.99859e-07 9.57473e-05 -4.42516e-07 9.57671e-05 -4.89025e-07 9.5788e-05 -5.40483e-07 9.58096e-05 -5.98171e-07 9.58316e-05 -6.63265e-07 9.58537e-05 -7.3689e-07 9.58752e-05 -8.20133e-07 9.58954e-05 -9.14015e-07 9.59138e-05 -1.01946e-06 9.59296e-05 -1.1373e-06 9.59419e-05 -1.26821e-06 9.59502e-05 -1.41277e-06 9.59537e-05 -1.57143e-06 9.59516e-05 -1.7445e-06 9.59432e-05 -1.93221e-06 9.59279e-05 -2.13465e-06 9.59052e-05 -2.35183e-06 9.58744e-05 -2.58371e-06 9.5835e-05 -2.83015e-06 9.57865e-05 -3.09099e-06 9.57286e-05 -3.366e-06 9.56606e-05 -3.65494e-06 9.55824e-05 -3.95752e-06 9.54934e-05 -4.27342e-06 9.53934e-05 -4.6023e-06 9.5282e-05 -4.94376e-06 9.51589e-05 -5.2974e-06 9.50238e-05 -5.66276e-06 9.48765e-05 -6.03931e-06 9.47166e-05 -6.42651e-06 9.45439e-05 -6.8237e-06 9.43581e-05 -7.23017e-06 9.41592e-05 -7.64509e-06 9.39468e-05 -8.06752e-06 9.37208e-05 -8.49641e-06 9.34812e-05 -8.93057e-06 9.32278e-05 -9.36866e-06 9.29607e-05 -9.80919e-06 9.26799e-05 -1.02505e-05 9.23855e-05 -1.06908e-05 9.20777e-05 -1.11282e-05 9.17569e-05 -1.15605e-05 9.14232e-05 -1.19854e-05 9.10773e-05 -1.24005e-05 9.07195e-05 -1.28033e-05 9.03505e-05 -1.31912e-05 8.99709e-05 -1.35614e-05 8.95815e-05 -1.39112e-05 8.91832e-05 -1.42377e-05 8.87768e-05 -1.4538e-05 8.83632e-05 -1.48094e-05 8.79435e-05 -1.50492e-05 8.75186e-05 -1.52546e-05 8.70897e-05 -1.54233e-05 8.66577e-05 -1.55529e-05 8.62239e-05 -1.56414e-05 8.57894e-05 -1.56873e-05 8.53552e-05 -1.56894e-05 8.49226e-05 -1.56471e-05 8.44924e-05 -1.55605e-05 8.40658e-05 -1.54303e-05 8.36436e-05 -1.52581e-05 8.32266e-05 -1.50459e-05 8.28155e-05 -1.47968e-05 8.2411e-05 -1.45141e-05 8.20135e-05 -1.42019e-05 8.16236e-05 -1.38645e-05 8.12418e-05 -1.3507e-05 8.08683e-05 -1.31345e-05 8.05035e-05 -1.27526e-05 8.01477e-05 -1.23666e-05 7.98011e-05 -1.19819e-05 7.94637e-05 -1.16039e-05 7.91359e-05 -1.12363e-05 7.88176e-05 -1.08844e-05 7.85097e-05 -1.05479e-05 7.82125e-05 -1.02348e-05 7.79294e-05 -9.93536e-06 7.76623e-05 -9.6657e-06 7.74171e-05 -9.44393e-06 -9.12186e-06 9.80975e-05 8.7892e-08 9.8121e-05 7.22643e-08 9.8144e-05 5.49852e-08 9.81665e-05 3.59954e-08 9.81883e-05 1.52802e-08 9.82094e-05 -7.13266e-09 9.82296e-05 -3.1179e-08 9.82489e-05 -5.67664e-08 9.82672e-05 -8.37828e-08 9.82847e-05 -1.12099e-07 9.83015e-05 -1.41582e-07 9.83178e-05 -1.72036e-07 9.83338e-05 -2.03306e-07 9.83494e-05 -2.35484e-07 9.8365e-05 -2.68656e-07 9.83806e-05 -3.03063e-07 9.83967e-05 -3.38995e-07 9.84134e-05 -3.76891e-07 9.84307e-05 -4.17227e-07 9.84488e-05 -4.60602e-07 9.84677e-05 -5.07889e-07 9.84873e-05 -5.6011e-07 9.85075e-05 -6.18329e-07 9.85278e-05 -6.83607e-07 9.85479e-05 -7.56975e-07 9.85672e-05 -8.39435e-07 9.85851e-05 -9.31936e-07 9.8601e-05 -1.03535e-06 9.86142e-05 -1.15046e-06 9.86239e-05 -1.27794e-06 9.86295e-05 -1.41835e-06 9.86302e-05 -1.57214e-06 9.86254e-05 -1.73965e-06 9.86143e-05 -1.92112e-06 9.85963e-05 -2.11668e-06 9.85709e-05 -2.32638e-06 9.85374e-05 -2.5502e-06 9.84953e-05 -2.78806e-06 9.84441e-05 -3.03981e-06 9.83834e-05 -3.30528e-06 9.83127e-05 -3.58425e-06 9.82316e-05 -3.87644e-06 9.81397e-05 -4.18158e-06 9.80368e-05 -4.49932e-06 9.79223e-05 -4.82932e-06 9.77961e-05 -5.17116e-06 9.76577e-05 -5.52442e-06 9.7507e-05 -5.88859e-06 9.73436e-05 -6.26313e-06 9.71673e-05 -6.6474e-06 9.69779e-05 -7.04072e-06 9.67751e-05 -7.44227e-06 9.65587e-05 -7.85117e-06 9.63287e-05 -8.26637e-06 9.60849e-05 -8.68674e-06 9.58272e-05 -9.11098e-06 9.55557e-05 -9.53767e-06 9.52703e-05 -9.96521e-06 9.49714e-05 -1.03919e-05 9.46589e-05 -1.08157e-05 9.43333e-05 -1.12348e-05 9.39948e-05 -1.16469e-05 9.36439e-05 -1.20496e-05 9.32812e-05 -1.24406e-05 9.29071e-05 -1.28172e-05 9.25224e-05 -1.31768e-05 9.21279e-05 -1.35167e-05 9.17244e-05 -1.38341e-05 9.13127e-05 -1.41263e-05 9.08938e-05 -1.43906e-05 9.04687e-05 -1.46241e-05 9.00384e-05 -1.48244e-05 8.9604e-05 -1.49889e-05 8.91665e-05 -1.51154e-05 8.87271e-05 -1.5202e-05 8.82868e-05 -1.5247e-05 8.78468e-05 -1.52494e-05 8.74081e-05 -1.52084e-05 8.69719e-05 -1.51242e-05 8.65389e-05 -1.49974e-05 8.61102e-05 -1.48293e-05 8.56865e-05 -1.46223e-05 8.52685e-05 -1.43789e-05 8.48569e-05 -1.41025e-05 8.44523e-05 -1.37972e-05 8.40551e-05 -1.34673e-05 8.36658e-05 -1.31178e-05 8.32849e-05 -1.27537e-05 8.29128e-05 -1.23804e-05 8.25497e-05 -1.20035e-05 8.21959e-05 -1.16281e-05 8.18516e-05 -1.12596e-05 8.15172e-05 -1.09019e-05 8.11927e-05 -1.056e-05 8.08792e-05 -1.02343e-05 8.05768e-05 -9.93237e-06 8.02889e-05 -9.6475e-06 8.00171e-05 -9.3939e-06 7.97666e-05 -9.19341e-06 -8.91532e-06 0.000100874 6.41977e-08 0.000100898 4.88575e-08 0.000100921 3.19785e-08 0.000100943 1.35026e-08 0.000100965 -6.58848e-09 0.000100986 -2.82809e-08 0.000101006 -5.15327e-08 0.000101026 -7.62791e-08 0.000101045 -1.02441e-07 0.000101062 -1.29929e-07 0.000101079 -1.58656e-07 0.000101096 -1.88547e-07 0.000101112 -2.19495e-07 0.000101128 -2.51443e-07 0.000101144 -2.84497e-07 0.00010116 -3.1895e-07 0.000101176 -3.55105e-07 0.000101192 -3.93338e-07 0.000101209 -4.3406e-07 0.000101227 -4.77942e-07 0.000101244 -5.25807e-07 0.000101263 -5.78512e-07 0.000101282 -6.36986e-07 0.0001013 -7.02186e-07 0.000101318 -7.75057e-07 0.000101335 -8.56522e-07 0.000101351 -9.47465e-07 0.000101364 -1.0487e-06 0.000101375 -1.16098e-06 0.000101382 -1.28494e-06 0.000101384 -1.42114e-06 0.000101382 -1.57003e-06 0.000101375 -1.73195e-06 0.000101361 -1.90717e-06 0.00010134 -2.09584e-06 0.000101312 -2.29805e-06 0.000101275 -2.5138e-06 0.00010123 -2.74306e-06 0.000101176 -2.9857e-06 0.000101112 -3.24159e-06 0.000101039 -3.51052e-06 0.000100954 -3.79227e-06 0.000100859 -4.08655e-06 0.000100753 -4.39308e-06 0.000100635 -4.71151e-06 0.000100506 -5.04145e-06 0.000100364 -5.38249e-06 0.000100209 -5.73415e-06 0.000100042 -6.09589e-06 9.98618e-05 -6.46712e-06 9.96682e-05 -6.84715e-06 9.94611e-05 -7.23521e-06 9.92404e-05 -7.63043e-06 9.90059e-05 -8.03183e-06 9.87574e-05 -8.43828e-06 9.8495e-05 -8.84857e-06 9.82186e-05 -9.26129e-06 9.79284e-05 -9.67494e-06 9.76243e-05 -1.00878e-05 9.73068e-05 -1.04982e-05 9.69759e-05 -1.0904e-05 9.66321e-05 -1.13031e-05 9.62759e-05 -1.16934e-05 9.59077e-05 -1.20724e-05 9.55282e-05 -1.24376e-05 9.5138e-05 -1.27866e-05 9.4738e-05 -1.31166e-05 9.43288e-05 -1.3425e-05 9.39115e-05 -1.3709e-05 9.34869e-05 -1.3966e-05 9.3056e-05 -1.41932e-05 9.26199e-05 -1.43882e-05 9.21796e-05 -1.45486e-05 9.17362e-05 -1.4672e-05 9.12907e-05 -1.47565e-05 9.08443e-05 -1.48006e-05 9.0398e-05 -1.48031e-05 8.99529e-05 -1.47633e-05 8.95099e-05 -1.46813e-05 8.90701e-05 -1.45575e-05 8.86343e-05 -1.43935e-05 8.82033e-05 -1.41912e-05 8.77777e-05 -1.39533e-05 8.73583e-05 -1.36831e-05 8.69457e-05 -1.33846e-05 8.65403e-05 -1.3062e-05 8.61428e-05 -1.27202e-05 8.57535e-05 -1.23644e-05 8.5373e-05 -1.19999e-05 8.50016e-05 -1.16321e-05 8.46396e-05 -1.12662e-05 8.42874e-05 -1.09074e-05 8.39454e-05 -1.05598e-05 8.36137e-05 -1.02283e-05 8.32934e-05 -9.91398e-06 8.29849e-05 -9.62379e-06 8.26912e-05 -9.35381e-06 8.24135e-05 -9.11622e-06 8.21564e-05 -8.93628e-06 -8.69719e-06 0.000103731 4.05055e-08 0.000103754 2.54602e-08 0.000103777 8.97224e-09 0.0001038 -9.01076e-09 0.000103822 -2.85119e-08 0.000103843 -4.95292e-08 0.000103864 -7.20388e-08 0.000103883 -9.59995e-08 0.000103902 -1.21359e-07 0.00010392 -1.4806e-07 0.000103938 -1.76049e-07 0.000103955 -2.05288e-07 0.000103971 -2.35754e-07 0.000103987 -2.67419e-07 0.000104003 -3.00416e-07 0.000104019 -3.34879e-07 0.000104035 -3.71082e-07 0.000104051 -4.09399e-07 0.000104067 -4.50352e-07 0.000104084 -4.9458e-07 0.000104101 -5.42765e-07 0.000104118 -5.95667e-07 0.000104135 -6.54115e-07 0.000104152 -7.18971e-07 0.000104168 -7.91102e-07 0.000104183 -8.71357e-07 0.000104196 -9.60554e-07 0.000104206 -1.05946e-06 0.000104214 -1.16878e-06 0.000104218 -1.28912e-06 0.000104218 -1.42103e-06 0.000104213 -1.56496e-06 0.000104202 -1.72125e-06 0.000104186 -1.89019e-06 0.000104162 -2.07195e-06 0.00010413 -2.26664e-06 0.000104091 -2.47431e-06 0.000104043 -2.69493e-06 0.000103985 -2.92843e-06 0.000103918 -3.17468e-06 0.000103841 -3.43352e-06 0.000103754 -3.70474e-06 0.000103655 -3.9881e-06 0.000103546 -4.28331e-06 0.000103424 -4.59006e-06 0.000103291 -4.90798e-06 0.000103145 -5.23668e-06 0.000102986 -5.57569e-06 0.000102815 -5.92451e-06 0.00010263 -6.28255e-06 0.000102433 -6.64915e-06 0.000102221 -7.02358e-06 0.000101995 -7.405e-06 0.000101756 -7.79245e-06 0.000101503 -8.18487e-06 0.000101235 -8.58107e-06 0.000100954 -8.97973e-06 0.000100658 -9.37938e-06 0.000100349 -9.77843e-06 0.000100026 -1.01751e-05 9.96891e-05 -1.05676e-05 9.93398e-05 -1.09537e-05 9.89778e-05 -1.13315e-05 9.86039e-05 -1.16985e-05 9.82186e-05 -1.20523e-05 9.78225e-05 -1.23906e-05 9.74166e-05 -1.27106e-05 9.70015e-05 -1.30099e-05 9.65781e-05 -1.32857e-05 9.61475e-05 -1.35353e-05 9.57106e-05 -1.37563e-05 9.52683e-05 -1.3946e-05 9.48218e-05 -1.41021e-05 9.43721e-05 -1.42223e-05 9.39202e-05 -1.43047e-05 9.34673e-05 -1.43477e-05 9.30143e-05 -1.43501e-05 9.25623e-05 -1.43113e-05 9.21122e-05 -1.42312e-05 9.1665e-05 -1.41103e-05 9.12215e-05 -1.395e-05 9.07825e-05 -1.37522e-05 9.03487e-05 -1.35195e-05 8.99208e-05 -1.32552e-05 8.94993e-05 -1.29631e-05 8.90849e-05 -1.26476e-05 8.86781e-05 -1.23134e-05 8.82795e-05 -1.19658e-05 8.78895e-05 -1.16099e-05 8.75086e-05 -1.12512e-05 8.71373e-05 -1.08949e-05 8.6776e-05 -1.05461e-05 8.64251e-05 -1.02089e-05 8.6085e-05 -9.88821e-06 8.57567e-05 -9.5857e-06 8.54407e-05 -9.30777e-06 8.51398e-05 -9.05292e-06 8.48549e-05 -8.8313e-06 8.45895e-05 -8.67095e-06 -8.46593e-06 0.000106671 1.68104e-08 0.000106694 2.06348e-09 0.000106717 -1.40378e-08 0.000106739 -3.15446e-08 0.000106761 -5.04836e-08 0.000106783 -7.08626e-08 0.000106803 -9.26728e-08 0.000106823 -1.15892e-07 0.000106842 -1.40492e-07 0.000106861 -1.6644e-07 0.000106878 -1.9371e-07 0.000106895 -2.22291e-07 0.000106912 -2.52191e-07 0.000106928 -2.8344e-07 0.000106944 -3.1617e-07 0.000106959 -3.50496e-07 0.000106975 -3.86678e-07 0.000106991 -4.25051e-07 0.000107006 -4.66131e-07 0.000107022 -5.10478e-07 0.000107038 -5.58716e-07 0.000107054 -6.11533e-07 0.00010707 -6.69676e-07 0.000107085 -7.33927e-07 0.000107099 -8.05075e-07 0.000107111 -8.83901e-07 0.000107122 -9.71161e-07 0.00010713 -1.06757e-06 0.000107135 -1.17379e-06 0.000107136 -1.29041e-06 0.000107133 -1.41794e-06 0.000107125 -1.55684e-06 0.000107111 -1.70746e-06 0.000107091 -1.87007e-06 0.000107064 -2.04488e-06 0.000107029 -2.23203e-06 0.000106987 -2.43157e-06 0.000106935 -2.64352e-06 0.000106875 -2.86782e-06 0.000106804 -3.10437e-06 0.000106724 -3.35305e-06 0.000106633 -3.61367e-06 0.000106531 -3.886e-06 0.000106417 -4.1698e-06 0.000106292 -4.46475e-06 0.000106154 -4.77054e-06 0.000106004 -5.08676e-06 0.000105842 -5.41299e-06 0.000105666 -5.74873e-06 0.000105477 -6.09344e-06 0.000105274 -6.44647e-06 0.000105058 -6.80712e-06 0.000104827 -7.17459e-06 0.000104583 -7.54796e-06 0.000104324 -7.92621e-06 0.000104051 -8.30821e-06 0.000103764 -8.69268e-06 0.000103463 -9.07823e-06 0.000103148 -9.46332e-06 0.000102819 -9.84628e-06 0.000102477 -1.02253e-05 0.000102122 -1.05984e-05 0.000101754 -1.09635e-05 0.000101374 -1.13185e-05 0.000100982 -1.16609e-05 0.00010058 -1.19884e-05 0.000100168 -1.22985e-05 9.97465e-05 -1.25886e-05 9.93169e-05 -1.28561e-05 9.888e-05 -1.30984e-05 9.84367e-05 -1.3313e-05 9.7988e-05 -1.34973e-05 9.7535e-05 -1.36491e-05 9.70788e-05 -1.3766e-05 9.66202e-05 -1.38461e-05 9.61604e-05 -1.38879e-05 9.57004e-05 -1.38901e-05 9.52411e-05 -1.3852e-05 9.47835e-05 -1.37736e-05 9.43285e-05 -1.36553e-05 9.38769e-05 -1.34984e-05 9.34294e-05 -1.33047e-05 9.29867e-05 -1.30769e-05 9.25496e-05 -1.2818e-05 9.21185e-05 -1.25321e-05 9.16942e-05 -1.22233e-05 9.12772e-05 -1.18965e-05 9.08682e-05 -1.15567e-05 9.04676e-05 -1.12093e-05 9.00762e-05 -1.08597e-05 8.96943e-05 -1.0513e-05 8.93225e-05 -1.01743e-05 8.89614e-05 -9.84784e-06 8.86115e-05 -9.5383e-06 8.82738e-05 -9.24801e-06 8.79488e-05 -8.98282e-06 8.76392e-05 -8.74324e-06 8.73454e-05 -8.53755e-06 8.70701e-05 -8.39563e-06 -8.22007e-06 0.000109695 -6.90511e-09 0.000109718 -2.13497e-08 0.000109742 -3.70687e-08 0.000109764 -5.41124e-08 0.000109786 -7.25109e-08 0.000109808 -9.22801e-08 0.000109828 -1.13424e-07 0.000109848 -1.35936e-07 0.000109868 -1.59807e-07 0.000109886 -1.85025e-07 0.000109904 -2.11588e-07 0.000109921 -2.39505e-07 0.000109938 -2.6881e-07 0.000109954 -2.99561e-07 0.00010997 -3.31877e-07 0.000109985 -3.65912e-07 0.00011 -4.0191e-07 0.000110016 -4.40195e-07 0.000110031 -4.81208e-07 0.000110046 -5.25455e-07 0.00011006 -5.73505e-07 0.000110075 -6.25986e-07 0.000110089 -6.83572e-07 0.000110102 -7.46972e-07 0.000110114 -8.16905e-07 0.000110124 -8.9409e-07 0.000110132 -9.79222e-07 0.000110137 -1.07297e-06 0.000110139 -1.17595e-06 0.000110138 -1.28872e-06 0.000110132 -1.41179e-06 0.00011012 -1.54558e-06 0.000110103 -1.69045e-06 0.00011008 -1.84669e-06 0.00011005 -2.01451e-06 0.000110012 -2.19406e-06 0.000109965 -2.38543e-06 0.000109911 -2.58865e-06 0.000109846 -2.80369e-06 0.000109773 -3.03049e-06 0.000109688 -3.26893e-06 0.000109594 -3.51886e-06 0.000109488 -3.78007e-06 0.00010937 -4.05234e-06 0.000109241 -4.33539e-06 0.000109099 -4.6289e-06 0.000108945 -4.93251e-06 0.000108778 -5.24581e-06 0.000108597 -5.56834e-06 0.000108404 -5.89956e-06 0.000108196 -6.23887e-06 0.000107974 -6.5856e-06 0.000107739 -6.93897e-06 0.000107489 -7.29812e-06 0.000107225 -7.66207e-06 0.000106946 -8.02973e-06 0.000106654 -8.3999e-06 0.000106347 -8.77124e-06 0.000106026 -9.14228e-06 0.000105691 -9.51141e-06 0.000105342 -9.87691e-06 0.000104981 -1.02369e-05 0.000104607 -1.05894e-05 0.00010422 -1.09322e-05 0.000103823 -1.12631e-05 0.000103414 -1.15798e-05 0.000102995 -1.18799e-05 0.000102568 -1.21608e-05 0.000102132 -1.242e-05 0.000101688 -1.2655e-05 0.000101238 -1.28631e-05 0.000100783 -1.30421e-05 0.000100323 -1.31894e-05 9.98601e-05 -1.33029e-05 9.93947e-05 -1.33806e-05 9.89278e-05 -1.3421e-05 9.84605e-05 -1.34228e-05 9.79937e-05 -1.33852e-05 9.75282e-05 -1.33082e-05 9.7065e-05 -1.31921e-05 9.66049e-05 -1.30382e-05 9.61484e-05 -1.28483e-05 9.56963e-05 -1.26248e-05 9.52493e-05 -1.2371e-05 9.4808e-05 -1.20908e-05 9.4373e-05 -1.17883e-05 9.3945e-05 -1.14685e-05 9.35246e-05 -1.11363e-05 9.31125e-05 -1.07972e-05 9.27093e-05 -1.04565e-05 9.23156e-05 -1.01193e-05 9.19322e-05 -9.79082e-06 9.15596e-05 -9.47525e-06 9.11985e-05 -9.17719e-06 9.08499e-05 -8.89942e-06 9.05145e-05 -8.6474e-06 9.01943e-05 -8.42311e-06 8.98901e-05 -8.23331e-06 8.96029e-05 -8.10847e-06 -7.95827e-06 0.000112807 -3.06503e-08 0.000112831 -4.47877e-08 0.000112854 -6.01272e-08 0.000112876 -7.67168e-08 0.000112898 -9.45901e-08 0.00011292 -1.1377e-07 0.000112941 -1.3427e-07 0.000112961 -1.56099e-07 0.00011298 -1.7926e-07 0.000112999 -2.03762e-07 0.000113017 -2.29619e-07 0.000113034 -2.56858e-07 0.000113051 -2.85529e-07 0.000113067 -3.15709e-07 0.000113083 -3.47523e-07 0.000113098 -3.8114e-07 0.000113113 -4.16793e-07 0.000113128 -4.54787e-07 0.000113142 -4.95513e-07 0.000113156 -5.3943e-07 0.00011317 -5.87054e-07 0.000113183 -6.38954e-07 0.000113195 -6.95739e-07 0.000113206 -7.5805e-07 0.000113215 -8.26543e-07 0.000113223 -9.01876e-07 0.000113229 -9.8469e-07 0.000113231 -1.0756e-06 0.000113231 -1.17519e-06 0.000113226 -1.284e-06 0.000113216 -1.40249e-06 0.000113202 -1.53108e-06 0.000113182 -1.67013e-06 0.000113155 -1.81993e-06 0.000113121 -1.9807e-06 0.00011308 -2.1526e-06 0.00011303 -2.33575e-06 0.000112972 -2.53018e-06 0.000112904 -2.7359e-06 0.000112826 -2.95287e-06 0.000112738 -3.18099e-06 0.000112639 -3.42013e-06 0.000112529 -3.67013e-06 0.000112408 -3.93075e-06 0.000112274 -4.20177e-06 0.000112128 -4.48288e-06 0.00011197 -4.77374e-06 0.000111798 -5.07397e-06 0.000111612 -5.38313e-06 0.000111414 -5.70072e-06 0.000111201 -6.02615e-06 0.000110974 -6.3588e-06 0.000110733 -6.69793e-06 0.000110478 -7.04271e-06 0.000110208 -7.39222e-06 0.000109923 -7.74542e-06 0.000109625 -8.10116e-06 0.000109312 -8.45817e-06 0.000108984 -8.81505e-06 0.000108643 -9.17027e-06 0.000108289 -9.52217e-06 0.000107921 -9.86895e-06 0.00010754 -1.02087e-05 0.000107147 -1.05394e-05 0.000106743 -1.08588e-05 0.000106328 -1.11647e-05 0.000105902 -1.14547e-05 0.000105468 -1.17264e-05 0.000105025 -1.19772e-05 0.000104575 -1.22048e-05 0.000104118 -1.24065e-05 0.000103656 -1.258e-05 0.00010319 -1.27228e-05 0.00010272 -1.28328e-05 0.000102247 -1.2908e-05 0.000101773 -1.29468e-05 0.000101298 -1.2948e-05 0.000100824 -1.29106e-05 0.00010035 -1.28347e-05 9.98784e-05 -1.27205e-05 9.94093e-05 -1.25691e-05 9.89434e-05 -1.23824e-05 9.84815e-05 -1.21629e-05 9.80241e-05 -1.19137e-05 9.75719e-05 -1.16386e-05 9.71256e-05 -1.1342e-05 9.66858e-05 -1.10286e-05 9.62532e-05 -1.07037e-05 9.58285e-05 -1.03726e-05 9.54126e-05 -1.00405e-05 9.50061e-05 -9.71283e-06 9.46097e-05 -9.39449e-06 9.42244e-05 -9.0899e-06 9.38507e-05 -8.80355e-06 9.34899e-05 -8.53855e-06 9.31425e-05 -8.30001e-06 9.28103e-05 -8.09096e-06 9.2494e-05 -7.91695e-06 9.21933e-05 -7.80778e-06 -7.6795e-06 0.00011601 -5.44322e-08 0.000116033 -6.82589e-08 0.000116056 -8.32171e-08 0.000116079 -9.93577e-08 0.000116101 -1.16716e-07 0.000116122 -1.3532e-07 0.000116143 -1.55191e-07 0.000116164 -1.76349e-07 0.000116183 -1.98811e-07 0.000116202 -2.22598e-07 0.00011622 -2.47737e-07 0.000116238 -2.74272e-07 0.000116254 -3.02267e-07 0.00011627 -3.31812e-07 0.000116286 -3.63036e-07 0.000116301 -3.96113e-07 0.000116315 -4.31265e-07 0.000116329 -4.68781e-07 0.000116343 -5.09014e-07 0.000116356 -5.52379e-07 0.000116368 -5.99344e-07 0.00011638 -6.5042e-07 0.00011639 -7.0616e-07 0.000116399 -7.67145e-07 0.000116406 -8.33971e-07 0.000116412 -9.07239e-07 0.000116415 -9.87539e-07 0.000116415 -1.07544e-06 0.000116411 -1.17149e-06 0.000116403 -1.27619e-06 0.00011639 -1.38998e-06 0.000116373 -1.51328e-06 0.000116349 -1.64642e-06 0.000116319 -1.78971e-06 0.000116281 -1.94335e-06 0.000116236 -2.10754e-06 0.000116183 -2.28239e-06 0.000116121 -2.46797e-06 0.000116049 -2.6643e-06 0.000115968 -2.87136e-06 0.000115876 -3.08907e-06 0.000115773 -3.31733e-06 0.000115659 -3.55599e-06 0.000115533 -3.80486e-06 0.000115395 -4.06372e-06 0.000115244 -4.33229e-06 0.000115081 -4.61026e-06 0.000114904 -4.89727e-06 0.000114714 -5.1929e-06 0.00011451 -5.4967e-06 0.000114292 -5.8081e-06 0.00011406 -6.12652e-06 0.000113813 -6.45125e-06 0.000113552 -6.78151e-06 0.000113276 -7.11643e-06 0.000112985 -7.45504e-06 0.000112681 -7.79622e-06 0.000112361 -8.13879e-06 0.000112028 -8.48141e-06 0.00011168 -8.82263e-06 0.000111319 -9.16085e-06 0.000110944 -9.49437e-06 0.000110557 -9.82133e-06 0.000110157 -1.01398e-05 0.000109746 -1.04476e-05 0.000109324 -1.07427e-05 0.000108892 -1.10226e-05 0.000108451 -1.12851e-05 0.000108001 -1.15276e-05 0.000107544 -1.17477e-05 0.00010708 -1.1943e-05 0.000106611 -1.21109e-05 0.000106138 -1.22492e-05 0.00010566 -1.23556e-05 0.000105181 -1.24282e-05 0.000104699 -1.24652e-05 0.000104217 -1.24655e-05 0.000103734 -1.24281e-05 0.000103252 -1.23528e-05 0.000102772 -1.224e-05 0.000102293 -1.20908e-05 0.000101818 -1.19068e-05 0.000101346 -1.16907e-05 0.000100877 -1.14454e-05 0.000100414 -1.1175e-05 9.99555e-05 -1.08836e-05 9.95031e-05 -1.05763e-05 9.90575e-05 -1.02581e-05 9.86195e-05 -9.93452e-06 9.81898e-05 -9.61088e-06 9.77694e-05 -9.29243e-06 9.73591e-05 -8.98421e-06 9.69599e-05 -8.69065e-06 9.65725e-05 -8.41617e-06 9.6198e-05 -8.16409e-06 9.58373e-05 -7.93928e-06 9.54917e-05 -7.74535e-06 9.51617e-05 -7.587e-06 9.48461e-05 -7.49215e-06 -7.38299e-06 0.000119305 -7.82644e-08 0.000119328 -9.17707e-08 0.000119352 -1.06347e-07 0.000119374 -1.2204e-07 0.000119396 -1.38885e-07 0.000119418 -1.56918e-07 0.000119439 -1.76165e-07 0.000119459 -1.96654e-07 0.000119479 -2.18412e-07 0.000119498 -2.41473e-07 0.000119516 -2.65877e-07 0.000119533 -2.91678e-07 0.00011955 -3.1895e-07 0.000119566 -3.47793e-07 0.000119581 -3.78338e-07 0.000119596 -4.10755e-07 0.00011961 -4.45261e-07 0.000119623 -4.82123e-07 0.000119636 -5.21665e-07 0.000119648 -5.64261e-07 0.000119659 -6.10335e-07 0.000119669 -6.60351e-07 0.000119677 -7.14808e-07 0.000119685 -7.74232e-07 0.00011969 -8.39166e-07 0.000119693 -9.10155e-07 0.000119693 -9.87744e-07 0.00011969 -1.07246e-06 0.000119683 -1.1648e-06 0.000119672 -1.26525e-06 0.000119656 -1.37422e-06 0.000119635 -1.49211e-06 0.000119608 -1.61924e-06 0.000119574 -1.75592e-06 0.000119533 -1.90236e-06 0.000119485 -2.05876e-06 0.000119427 -2.22524e-06 0.000119361 -2.40189e-06 0.000119286 -2.58874e-06 0.0001192 -2.7858e-06 0.000119104 -2.993e-06 0.000118997 -3.21028e-06 0.000118879 -3.43749e-06 0.000118748 -3.67448e-06 0.000118605 -3.92104e-06 0.00011845 -4.17693e-06 0.000118282 -4.44186e-06 0.0001181 -4.7155e-06 0.000117905 -4.99746e-06 0.000117695 -5.2873e-06 0.000117472 -5.58451e-06 0.000117234 -5.88853e-06 0.000116981 -6.19871e-06 0.000116714 -6.5143e-06 0.000116432 -6.83449e-06 0.000116135 -7.15836e-06 0.000115824 -7.48487e-06 0.000115498 -7.81288e-06 0.000115158 -8.14113e-06 0.000114803 -8.46824e-06 0.000114435 -8.79271e-06 0.000114054 -9.11289e-06 0.000113659 -9.42702e-06 0.000113253 -9.73322e-06 0.000112835 -1.00295e-05 0.000112406 -1.03136e-05 0.000111966 -1.05835e-05 0.000111518 -1.08367e-05 0.000111061 -1.10709e-05 0.000110597 -1.12836e-05 0.000110127 -1.14724e-05 0.00010965 -1.16347e-05 0.00010917 -1.17684e-05 0.000108685 -1.18711e-05 0.000108198 -1.19409e-05 0.000107709 -1.1976e-05 0.000107218 -1.19752e-05 0.000106728 -1.19374e-05 0.000106237 -1.18625e-05 0.000105748 -1.17507e-05 0.00010526 -1.1603e-05 0.000104775 -1.14212e-05 0.000104292 -1.12078e-05 0.000103812 -1.09659e-05 0.000103337 -1.06994e-05 0.000102866 -1.04127e-05 0.0001024 -1.01107e-05 0.000101941 -9.79874e-06 0.000101488 -9.48221e-06 0.000101044 -9.1666e-06 0.000100609 -8.85717e-06 0.000100183 -8.55894e-06 9.97692e-05 -8.27639e-06 9.93669e-05 -8.01388e-06 9.89777e-05 -7.77484e-06 9.86023e-05 -7.56393e-06 9.82419e-05 -7.38497e-06 9.78971e-05 -7.24214e-06 9.75654e-05 -7.16048e-06 -7.06834e-06 0.000122696 -1.02147e-07 0.000122719 -1.15327e-07 0.000122743 -1.2951e-07 0.000122765 -1.44748e-07 0.000122787 -1.6108e-07 0.000122809 -1.7854e-07 0.00012283 -1.97162e-07 0.00012285 -2.16979e-07 0.00012287 -2.38029e-07 0.000122889 -2.60352e-07 0.000122907 -2.83998e-07 0.000122924 -3.09029e-07 0.000122941 -3.35528e-07 0.000122957 -3.63597e-07 0.000122972 -3.93369e-07 0.000122986 -4.25009e-07 0.000122999 -4.58725e-07 0.000123012 -4.94764e-07 0.000123024 -5.33424e-07 0.000123035 -5.75045e-07 0.000123044 -6.2001e-07 0.000123053 -6.68738e-07 0.00012306 -7.21682e-07 0.000123065 -7.79317e-07 0.000123068 -8.42134e-07 0.000123068 -9.10633e-07 0.000123066 -9.85309e-07 0.00012306 -1.06665e-06 0.00012305 -1.15512e-06 0.000123036 -1.25116e-06 0.000123017 -1.35517e-06 0.000122992 -1.46752e-06 0.000122962 -1.58854e-06 0.000122924 -1.71851e-06 0.00012288 -1.85765e-06 0.000122827 -2.00616e-06 0.000122766 -2.16418e-06 0.000122696 -2.33181e-06 0.000122616 -2.50909e-06 0.000122527 -2.69604e-06 0.000122426 -2.89264e-06 0.000122315 -3.09881e-06 0.000122192 -3.31446e-06 0.000122057 -3.53944e-06 0.000121909 -3.77357e-06 0.000121749 -4.01663e-06 0.000121575 -4.26836e-06 0.000121388 -4.52847e-06 0.000121187 -4.79658e-06 0.000120972 -5.0723e-06 0.000120743 -5.35515e-06 0.000120499 -5.64461e-06 0.000120241 -5.94007e-06 0.000119967 -6.24083e-06 0.000119679 -6.54614e-06 0.000119375 -6.85513e-06 0.000119057 -7.16682e-06 0.000118725 -7.48015e-06 0.000118377 -7.79392e-06 0.000118016 -8.10684e-06 0.000117641 -8.41747e-06 0.000117252 -8.72425e-06 0.000116851 -9.0255e-06 0.000116437 -9.31941e-06 0.000116011 -9.60404e-06 0.000115575 -9.87732e-06 0.000115129 -1.01371e-05 0.000114673 -1.03811e-05 0.000114209 -1.06069e-05 0.000113738 -1.08122e-05 0.00011326 -1.09945e-05 0.000112776 -1.11513e-05 0.000112288 -1.12803e-05 0.000111796 -1.13793e-05 0.000111302 -1.14461e-05 0.000110805 -1.14791e-05 0.000110306 -1.14769e-05 0.000109807 -1.14384e-05 0.000109308 -1.13634e-05 0.00010881 -1.12521e-05 0.000108312 -1.11054e-05 0.000107816 -1.09252e-05 0.000107322 -1.07138e-05 0.000106831 -1.04745e-05 0.000106343 -1.02112e-05 0.000105858 -9.92841e-06 0.000105379 -9.63114e-06 0.000104905 -9.32475e-06 0.000104437 -9.01477e-06 0.000103978 -8.70675e-06 0.000103526 -8.40602e-06 0.000103085 -8.11762e-06 0.000102655 -7.84603e-06 0.000102236 -7.59554e-06 0.000101831 -7.36962e-06 0.00010144 -7.17272e-06 0.000101064 -7.00864e-06 0.000100703 -6.88119e-06 0.000100354 -6.81186e-06 -6.73536e-06 0.000126186 -1.26095e-07 0.000126209 -1.38934e-07 0.000126233 -1.52723e-07 0.000126255 -1.67501e-07 0.000126278 -1.83311e-07 0.000126299 -2.00192e-07 0.00012632 -2.18181e-07 0.000126341 -2.37317e-07 0.00012636 -2.57642e-07 0.000126379 -2.79204e-07 0.000126397 -3.0206e-07 0.000126414 -3.26277e-07 0.000126431 -3.51941e-07 0.000126446 -3.79157e-07 0.000126461 -4.08056e-07 0.000126475 -4.388e-07 0.000126488 -4.71582e-07 0.0001265 -5.06634e-07 0.00012651 -5.44228e-07 0.00012652 -5.84673e-07 0.000126528 -6.28316e-07 0.000126535 -6.75537e-07 0.00012654 -7.26742e-07 0.000126543 -7.82362e-07 0.000126544 -8.42843e-07 0.000126542 -9.08637e-07 0.000126537 -9.80199e-07 0.000126528 -1.05797e-06 0.000126516 -1.14239e-06 0.000126498 -1.23386e-06 0.000126476 -1.33277e-06 0.000126448 -1.43945e-06 0.000126413 -1.55423e-06 0.000126372 -1.67737e-06 0.000126324 -1.80911e-06 0.000126267 -1.94963e-06 0.000126202 -2.09909e-06 0.000126128 -2.25759e-06 0.000126044 -2.42519e-06 0.00012595 -2.60193e-06 0.000125845 -2.7878e-06 0.000125729 -2.98275e-06 0.000125601 -3.1867e-06 0.000125461 -3.39952e-06 0.000125309 -3.62107e-06 0.000125143 -3.85115e-06 0.000124964 -4.08953e-06 0.000124772 -4.33593e-06 0.000124565 -4.59003e-06 0.000124345 -4.85145e-06 0.000124109 -5.11977e-06 0.000123859 -5.39449e-06 0.000123594 -5.67506e-06 0.000123314 -5.96083e-06 0.000123019 -6.2511e-06 0.000122709 -6.54506e-06 0.000122384 -6.8418e-06 0.000122044 -7.14032e-06 0.00012169 -7.4395e-06 0.000121321 -7.73812e-06 0.000120938 -8.03483e-06 0.000120542 -8.32814e-06 0.000120133 -8.61646e-06 0.000119712 -8.89805e-06 0.000119279 -9.17104e-06 0.000118835 -9.43345e-06 0.000118381 -9.68315e-06 0.000117918 -9.91792e-06 0.000117446 -1.01354e-05 0.000116967 -1.03333e-05 0.000116482 -1.05091e-05 0.000115991 -1.06604e-05 0.000115496 -1.07847e-05 0.000114996 -1.08798e-05 0.000114494 -1.09437e-05 0.000113989 -1.09743e-05 0.000113482 -1.09704e-05 0.000112975 -1.09309e-05 0.000112467 -1.08554e-05 0.000111959 -1.0744e-05 0.000111451 -1.05978e-05 0.000110944 -1.04184e-05 0.000110439 -1.02083e-05 0.000109935 -9.97077e-06 0.000109434 -9.70987e-06 0.000108936 -9.43017e-06 0.000108441 -9.13681e-06 0.000107952 -8.83528e-06 0.000107468 -8.53122e-06 0.000106992 -8.23029e-06 0.000106524 -7.93791e-06 0.000106065 -7.65912e-06 0.000105618 -7.39841e-06 0.000105182 -7.15996e-06 0.00010476 -6.94723e-06 0.000104351 -6.76445e-06 0.000103958 -6.61517e-06 0.00010358 -6.50305e-06 0.000103213 -6.44558e-06 -6.38416e-06 0.000129777 -1.5012e-07 0.000129801 -1.62614e-07 0.000129824 -1.75987e-07 0.000129847 -1.90294e-07 0.000129869 -2.05575e-07 0.000129891 -2.21868e-07 0.000129912 -2.39213e-07 0.000129932 -2.57653e-07 0.000129952 -2.77233e-07 0.00012997 -2.98006e-07 0.000129988 -3.20033e-07 0.000130006 -3.43385e-07 0.000130022 -3.6815e-07 0.000130037 -3.94432e-07 0.000130051 -4.22359e-07 0.000130065 -4.52086e-07 0.000130077 -4.83795e-07 0.000130088 -5.177e-07 0.000130098 -5.5405e-07 0.000130106 -5.93127e-07 0.000130113 -6.35243e-07 0.000130118 -6.80741e-07 0.000130122 -7.29989e-07 0.000130123 -7.83375e-07 0.000130121 -8.41302e-07 0.000130117 -9.04182e-07 0.000130109 -9.72425e-07 0.000130097 -1.04644e-06 0.000130081 -1.12663e-06 0.000130061 -1.21336e-06 0.000130035 -1.307e-06 0.000130004 -1.40787e-06 0.000129966 -1.51626e-06 0.000129921 -1.63245e-06 0.000129868 -1.75666e-06 0.000129808 -1.88908e-06 0.000129739 -2.02986e-06 0.00012966 -2.17911e-06 0.000129572 -2.33692e-06 0.000129473 -2.50333e-06 0.000129364 -2.67834e-06 0.000129243 -2.86192e-06 0.00012911 -3.05403e-06 0.000128965 -3.25455e-06 0.000128808 -3.46336e-06 0.000128637 -3.68029e-06 0.000128452 -3.90513e-06 0.000128254 -4.13765e-06 0.000128041 -4.37755e-06 0.000127815 -4.62449e-06 0.000127573 -4.87809e-06 0.000127316 -5.13789e-06 0.000127045 -5.40339e-06 0.000126758 -5.67399e-06 0.000126456 -5.94905e-06 0.000126138 -6.22782e-06 0.000125806 -6.50946e-06 0.000125459 -6.79303e-06 0.000125097 -7.07751e-06 0.00012472 -7.36173e-06 0.00012433 -7.64443e-06 0.000123926 -7.92421e-06 0.000123509 -8.19955e-06 0.00012308 -8.46879e-06 0.000122639 -8.73014e-06 0.000122187 -8.98167e-06 0.000121725 -9.22132e-06 0.000121254 -9.44692e-06 0.000120775 -9.65617e-06 0.000120288 -9.84668e-06 0.000119795 -1.0016e-05 0.000119297 -1.01617e-05 0.000118793 -1.02814e-05 0.000118286 -1.03726e-05 0.000117776 -1.04333e-05 0.000117263 -1.04615e-05 0.000116748 -1.04556e-05 0.000116232 -1.04147e-05 0.000115715 -1.03382e-05 0.000115197 -1.02262e-05 0.000114679 -1.00797e-05 0.000114161 -9.90032e-06 0.000113643 -9.69069e-06 0.000113127 -9.4541e-06 0.000112611 -9.19467e-06 0.000112098 -8.91715e-06 0.000111588 -8.62682e-06 0.000111082 -8.32934e-06 0.000110582 -8.03051e-06 0.000110088 -7.73612e-06 0.000109601 -7.45167e-06 0.000109124 -7.18225e-06 0.000108658 -6.9323e-06 0.000108204 -6.70592e-06 0.000107763 -6.50643e-06 0.000107337 -6.33785e-06 0.000106925 -6.2034e-06 0.000106529 -6.10667e-06 0.000106144 -6.06099e-06 -6.01493e-06 0.000133475 -1.74213e-07 0.000133498 -1.86339e-07 0.000133522 -1.99299e-07 0.000133544 -2.13125e-07 0.000133567 -2.2786e-07 0.000133588 -2.43547e-07 0.000133609 -2.60228e-07 0.00013363 -2.77948e-07 0.000133649 -2.96754e-07 0.000133668 -3.16701e-07 0.000133686 -3.37853e-07 0.000133703 -3.60282e-07 0.000133719 -3.84075e-07 0.000133734 -4.09336e-07 0.000133747 -4.36188e-07 0.00013376 -4.64777e-07 0.000133772 -4.95272e-07 0.000133782 -5.27872e-07 0.00013379 -5.62804e-07 0.000133798 -6.00322e-07 0.000133803 -6.40711e-07 0.000133807 -6.84278e-07 0.000133808 -7.31354e-07 0.000133807 -7.8229e-07 0.000133803 -8.37447e-07 0.000133796 -8.97199e-07 0.000133786 -9.6192e-07 0.000133771 -1.03198e-06 0.000133752 -1.10775e-06 0.000133728 -1.18957e-06 0.000133699 -1.27777e-06 0.000133664 -1.37267e-06 0.000133622 -1.47454e-06 0.000133573 -1.58363e-06 0.000133517 -1.70018e-06 0.000133452 -1.82435e-06 0.000133379 -1.95632e-06 0.000133296 -2.0962e-06 0.000133203 -2.24408e-06 0.0001331 -2.40001e-06 0.000132985 -2.56402e-06 0.00013286 -2.73609e-06 0.000132722 -2.91619e-06 0.000132571 -3.10425e-06 0.000132408 -3.30014e-06 0.000132232 -3.50375e-06 0.000132041 -3.71488e-06 0.000131837 -3.93332e-06 0.000131618 -4.15883e-06 0.000131385 -4.39109e-06 0.000131137 -4.62977e-06 0.000130873 -4.87446e-06 0.000130594 -5.12469e-06 0.0001303 -5.37994e-06 0.000129991 -5.63961e-06 0.000129666 -5.90302e-06 0.000129326 -6.16939e-06 0.000128971 -6.43788e-06 0.000128601 -6.70752e-06 0.000128216 -6.97723e-06 0.000127818 -7.24583e-06 0.000127406 -7.51201e-06 0.00012698 -7.77433e-06 0.000126543 -8.03119e-06 0.000126094 -8.2809e-06 0.000125634 -8.52157e-06 0.000125163 -8.75122e-06 0.000124684 -8.96769e-06 0.000124197 -9.16872e-06 0.000123702 -9.35194e-06 0.000123201 -9.5149e-06 0.000122694 -9.65509e-06 0.000122183 -9.77005e-06 0.000121668 -9.85735e-06 0.000121149 -9.91475e-06 0.000120628 -9.94026e-06 0.000120104 -9.93222e-06 0.000119579 -9.88949e-06 0.000119053 -9.81146e-06 0.000118525 -9.69824e-06 0.000117996 -9.55071e-06 0.000117466 -9.3706e-06 0.000116936 -9.16049e-06 0.000116405 -8.92382e-06 0.000115876 -8.66484e-06 0.000115347 -8.38847e-06 0.00011482 -8.10021e-06 0.000114297 -7.80588e-06 0.000113778 -7.51149e-06 0.000113265 -7.22301e-06 0.000112759 -6.94603e-06 0.000112263 -6.68569e-06 0.000111777 -6.44638e-06 0.000111303 -6.23206e-06 0.000110842 -6.04589e-06 0.000110396 -5.8916e-06 0.000109965 -5.77206e-06 0.000109549 -5.6909e-06 0.000109145 -5.65747e-06 -5.62835e-06 0.000137279 -1.98425e-07 0.000137303 -2.10177e-07 0.000137326 -2.22681e-07 0.000137349 -2.36003e-07 0.000137372 -2.50175e-07 0.000137393 -2.65238e-07 0.000137414 -2.81231e-07 0.000137435 -2.98202e-07 0.000137454 -3.162e-07 0.000137473 -3.3528e-07 0.00013749 -3.55505e-07 0.000137507 -3.76949e-07 0.000137523 -3.99696e-07 0.000137537 -4.23847e-07 0.00013755 -4.49518e-07 0.000137562 -4.76846e-07 0.000137573 -5.05989e-07 0.000137582 -5.37128e-07 0.00013759 -5.70471e-07 0.000137596 -6.06248e-07 0.0001376 -6.44713e-07 0.000137602 -6.86144e-07 0.000137601 -7.30838e-07 0.000137598 -7.79109e-07 0.000137592 -8.31283e-07 0.000137583 -8.87696e-07 0.000137569 -9.48685e-07 0.000137552 -1.01459e-06 0.00013753 -1.08574e-06 0.000137503 -1.16246e-06 0.00013747 -1.24506e-06 0.000137431 -1.33381e-06 0.000137386 -1.42899e-06 0.000137333 -1.53084e-06 0.000137272 -1.63956e-06 0.000137203 -1.75535e-06 0.000137125 -1.87836e-06 0.000137038 -2.00871e-06 0.00013694 -2.14651e-06 0.000136832 -2.29181e-06 0.000136713 -2.44466e-06 0.000136582 -2.60505e-06 0.000136438 -2.77298e-06 0.000136283 -2.94838e-06 0.000136114 -3.13117e-06 0.000135931 -3.32125e-06 0.000135735 -3.51846e-06 0.000135524 -3.72263e-06 0.000135299 -3.93353e-06 0.000135058 -4.1509e-06 0.000134803 -4.37444e-06 0.000134532 -4.6038e-06 0.000134246 -4.83856e-06 0.000133945 -5.07824e-06 0.000133627 -5.32233e-06 0.000133295 -5.57019e-06 0.000132946 -5.82113e-06 0.000132583 -6.07437e-06 0.000132204 -6.32902e-06 0.000131811 -6.58411e-06 0.000131404 -6.83851e-06 0.000130983 -7.09101e-06 0.000130549 -7.34024e-06 0.000130102 -7.58471e-06 0.000129644 -7.82277e-06 0.000129175 -8.05261e-06 0.000128696 -8.27229e-06 0.000128208 -8.4797e-06 0.000127712 -8.6726e-06 0.000127209 -8.84862e-06 0.000126699 -9.00527e-06 0.000126184 -9.14002e-06 0.000125664 -9.25032e-06 0.000125141 -9.33367e-06 0.000124614 -9.38774e-06 0.000124084 -9.4104e-06 0.000123551 -9.3999e-06 0.000123017 -9.35498e-06 0.00012248 -9.27494e-06 0.000121942 -9.15983e-06 0.000121402 -9.01051e-06 0.00012086 -8.82871e-06 0.000120317 -8.6171e-06 0.000119772 -8.37925e-06 0.000119227 -8.11958e-06 0.000118681 -7.84322e-06 0.000118137 -7.5559e-06 0.000117595 -7.26369e-06 0.000117056 -6.97285e-06 0.000116523 -6.68953e-06 0.000115996 -6.41949e-06 0.000115479 -6.16788e-06 0.000114971 -5.93906e-06 0.000114476 -5.73676e-06 0.000113994 -5.56395e-06 0.000113526 -5.42403e-06 0.000113074 -5.31951e-06 0.000112637 -5.25424e-06 0.000112214 -5.23382e-06 -5.22432e-06 0.000141199 -2.22656e-07 0.000141223 -2.33998e-07 0.000141246 -2.46063e-07 0.000141269 -2.58864e-07 0.000141291 -2.72447e-07 0.000141313 -2.86854e-07 0.000141334 -3.02129e-07 0.000141354 -3.18315e-07 0.000141373 -3.35462e-07 0.000141391 -3.53624e-07 0.000141409 -3.72864e-07 0.000141425 -3.93254e-07 0.00014144 -4.14873e-07 0.000141454 -4.37819e-07 0.000141467 -4.622e-07 0.000141478 -4.88143e-07 0.000141488 -5.15794e-07 0.000141496 -5.45319e-07 0.000141503 -5.76904e-07 0.000141507 -6.10756e-07 0.000141509 -6.47105e-07 0.000141509 -6.86198e-07 0.000141507 -7.28302e-07 0.000141502 -7.73695e-07 0.000141493 -8.22672e-07 0.000141481 -8.75532e-07 0.000141465 -9.32581e-07 0.000141444 -9.94124e-07 0.000141419 -1.06046e-06 0.000141388 -1.13189e-06 0.000141352 -1.20868e-06 0.000141309 -1.29112e-06 0.00014126 -1.37943e-06 0.000141203 -1.47386e-06 0.000141138 -1.5746e-06 0.000141064 -1.68183e-06 0.000140982 -1.79572e-06 0.000140889 -1.91638e-06 0.000140787 -2.04392e-06 0.000140673 -2.17842e-06 0.000140549 -2.31992e-06 0.000140412 -2.46845e-06 0.000140263 -2.62401e-06 0.000140101 -2.78656e-06 0.000139926 -2.95605e-06 0.000139737 -3.13238e-06 0.000139534 -3.31545e-06 0.000139317 -3.50511e-06 0.000139084 -3.70117e-06 0.000138837 -3.90342e-06 0.000138574 -4.11159e-06 0.000138296 -4.32538e-06 0.000138001 -4.54444e-06 0.000137692 -4.76834e-06 0.000137366 -4.99661e-06 0.000137024 -5.22872e-06 0.000136667 -5.46403e-06 0.000136295 -5.70185e-06 0.000135907 -5.94136e-06 0.000135505 -6.18168e-06 0.000135088 -6.42177e-06 0.000134657 -6.66051e-06 0.000134214 -6.89661e-06 0.000133758 -7.12865e-06 0.00013329 -7.35507e-06 0.000132812 -7.57412e-06 0.000132323 -7.78391e-06 0.000131826 -7.98237e-06 0.00013132 -8.16726e-06 0.000130808 -8.33619e-06 0.000130289 -8.48668e-06 0.000129766 -8.6161e-06 0.000129237 -8.72184e-06 0.000128705 -8.8013e-06 0.000128169 -8.85199e-06 0.00012763 -8.87168e-06 0.000127089 -8.85846e-06 0.000126545 -8.81095e-06 0.000125998 -8.72834e-06 0.000125449 -8.61061e-06 0.000124897 -8.45858e-06 0.000124342 -8.27404e-06 0.000123785 -8.05972e-06 0.000123225 -7.81938e-06 0.000122663 -7.55764e-06 0.0001221 -7.2799e-06 0.000121536 -6.99217e-06 0.000120973 -6.70084e-06 0.000120413 -6.41243e-06 0.000119857 -6.13337e-06 0.000119307 -5.86959e-06 0.000118765 -5.62628e-06 0.000118234 -5.40771e-06 0.000117714 -5.21738e-06 0.000117208 -5.05795e-06 0.000116717 -4.93243e-06 0.00011624 -4.84305e-06 0.00011578 -4.79403e-06 0.000115334 -4.78797e-06 -4.80372e-06 0.000145231 -2.47032e-07 0.000145255 -2.57956e-07 0.000145278 -2.69501e-07 0.000145301 -2.8174e-07 0.000145324 -2.94702e-07 0.000145345 -3.0842e-07 0.000145366 -3.22936e-07 0.000145386 -3.38292e-07 0.000145405 -3.54538e-07 0.000145423 -3.71725e-07 0.00014544 -3.89913e-07 0.000145456 -4.09171e-07 0.000145471 -4.29576e-07 0.000145484 -4.51216e-07 0.000145496 -4.74193e-07 0.000145507 -4.98625e-07 0.000145515 -5.24642e-07 0.000145523 -5.52396e-07 0.000145528 -5.82053e-07 0.000145531 -6.138e-07 0.000145531 -6.4784e-07 0.00014553 -6.84394e-07 0.000145525 -7.23699e-07 0.000145517 -7.66002e-07 0.000145506 -8.11566e-07 0.000145491 -8.60657e-07 0.000145472 -9.13549e-07 0.000145449 -9.70517e-07 0.00014542 -1.03183e-06 0.000145386 -1.09776e-06 0.000145346 -1.16856e-06 0.000145299 -1.24447e-06 0.000145246 -1.32573e-06 0.000145184 -1.41254e-06 0.000145115 -1.50511e-06 0.000145036 -1.60361e-06 0.000144949 -1.70818e-06 0.000144852 -1.81896e-06 0.000144744 -1.93606e-06 0.000144625 -2.05956e-06 0.000144494 -2.18951e-06 0.000144352 -2.32597e-06 0.000144197 -2.46894e-06 0.000144029 -2.61841e-06 0.000143847 -2.77435e-06 0.000143651 -2.93671e-06 0.000143441 -3.10539e-06 0.000143216 -3.28029e-06 0.000142977 -3.46125e-06 0.000142721 -3.64811e-06 0.00014245 -3.84064e-06 0.000142163 -4.03861e-06 0.000141861 -4.24169e-06 0.000141542 -4.44955e-06 0.000141207 -4.66177e-06 0.000140856 -4.87789e-06 0.00014049 -5.09736e-06 0.000140107 -5.31955e-06 0.00013971 -5.54375e-06 0.000139297 -5.76915e-06 0.00013887 -5.99481e-06 0.000138429 -6.21969e-06 0.000137975 -6.44261e-06 0.000137509 -6.66222e-06 0.000137031 -6.87703e-06 0.000136542 -7.08536e-06 0.000136044 -7.28537e-06 0.000135536 -7.47501e-06 0.000135021 -7.65205e-06 0.000134499 -7.81409e-06 0.000133971 -7.95858e-06 0.000133438 -8.08284e-06 0.0001329 -8.18412e-06 0.000132358 -8.2597e-06 0.000131813 -8.30694e-06 0.000131265 -8.32343e-06 0.000130714 -8.30711e-06 0.000130159 -8.25643e-06 0.000129601 -8.17046e-06 0.00012904 -8.0491e-06 0.000128474 -7.89316e-06 0.000127905 -7.70446e-06 0.000127331 -7.48588e-06 0.000126753 -7.24138e-06 0.000126171 -6.97585e-06 0.000125586 -6.69503e-06 0.000124999 -6.40528e-06 0.000124412 -6.11333e-06 0.000123825 -5.82606e-06 0.000123242 -5.55023e-06 0.000122665 -5.29196e-06 0.000122095 -5.05651e-06 0.000121535 -4.84799e-06 0.000120987 -4.66962e-06 0.000120453 -4.52363e-06 0.000119933 -4.41254e-06 0.000119429 -4.33837e-06 0.000118941 -4.30611e-06 0.000118468 -4.31549e-06 -4.3636e-06 0.000149387 -2.71212e-07 0.000149411 -2.81669e-07 0.000149434 -2.92728e-07 0.000149457 -3.04386e-07 0.000149479 -3.16689e-07 0.0001495 -3.29676e-07 0.00014952 -3.43388e-07 0.00014954 -3.57864e-07 0.000149559 -3.73151e-07 0.000149576 -3.89299e-07 0.000149593 -4.06363e-07 0.000149608 -4.24407e-07 0.000149622 -4.43504e-07 0.000149634 -4.63734e-07 0.000149645 -4.85191e-07 0.000149655 -5.0798e-07 0.000149662 -5.32221e-07 0.000149668 -5.58048e-07 0.000149671 -5.8561e-07 0.000149673 -6.15071e-07 0.000149671 -6.46612e-07 0.000149667 -6.80427e-07 0.000149661 -7.16726e-07 0.00014965 -7.55727e-07 0.000149636 -7.97661e-07 0.000149618 -8.42765e-07 0.000149596 -8.91282e-07 0.000149569 -9.43456e-07 0.000149537 -9.99531e-07 0.000149499 -1.05974e-06 0.000149455 -1.12433e-06 0.000149404 -1.19352e-06 0.000149345 -1.26751e-06 0.000149279 -1.34651e-06 0.000149205 -1.4307e-06 0.000149122 -1.52025e-06 0.000149029 -1.61531e-06 0.000148926 -1.716e-06 0.000148812 -1.82243e-06 0.000148687 -1.9347e-06 0.000148551 -2.05289e-06 0.000148402 -2.17703e-06 0.00014824 -2.30717e-06 0.000148065 -2.44331e-06 0.000147876 -2.58545e-06 0.000147673 -2.73355e-06 0.000147455 -2.88757e-06 0.000147222 -3.04742e-06 0.000146974 -3.213e-06 0.00014671 -3.38418e-06 0.00014643 -3.5608e-06 0.000146134 -3.74264e-06 0.000145822 -3.92948e-06 0.000145493 -4.12102e-06 0.000145149 -4.31693e-06 0.000144787 -4.51681e-06 0.00014441 -4.7202e-06 0.000144017 -4.92656e-06 0.000143609 -5.13526e-06 0.000143185 -5.34558e-06 0.000142747 -5.55668e-06 0.000142295 -5.76762e-06 0.00014183 -5.97728e-06 0.000141352 -6.18442e-06 0.000140863 -6.38762e-06 0.000140362 -6.58525e-06 0.000139853 -6.7755e-06 0.000139334 -6.95637e-06 0.000138807 -7.1256e-06 0.000138274 -7.28075e-06 0.000137735 -7.41921e-06 0.00013719 -7.53819e-06 0.000136641 -7.63482e-06 0.000136087 -7.7062e-06 0.00013553 -7.74952e-06 0.000134969 -7.76218e-06 0.000134403 -7.74193e-06 0.000133834 -7.68705e-06 0.00013326 -7.5965e-06 0.000132681 -7.4701e-06 0.000132097 -7.30865e-06 0.000131506 -7.11408e-06 0.00013091 -6.88944e-06 0.000130307 -6.63894e-06 0.000129699 -6.36782e-06 0.000129086 -6.08221e-06 0.00012847 -5.78887e-06 0.000127852 -5.49494e-06 0.000127233 -5.20771e-06 0.000126617 -4.93432e-06 0.000126007 -4.68112e-06 0.000125403 -4.4534e-06 0.000124811 -4.25509e-06 0.00012423 -4.08898e-06 0.000123663 -3.95678e-06 0.000123111 -3.86031e-06 0.000122574 -3.80158e-06 0.000122054 -3.78596e-06 0.000121552 -3.81392e-06 -3.90697e-06 0.00015366 -2.95335e-07 0.000153684 -3.05292e-07 0.000153707 -3.15732e-07 0.000153729 -3.26734e-07 0.000153751 -3.38323e-07 0.000153771 -3.50525e-07 0.000153791 -3.63373e-07 0.000153811 -3.76905e-07 0.000153829 -3.91165e-07 0.000153845 -4.06197e-07 0.000153861 -4.22054e-07 0.000153876 -4.38793e-07 0.000153888 -4.56479e-07 0.0001539 -4.75187e-07 0.00015391 -4.94999e-07 0.000153918 -5.1601e-07 0.000153924 -5.38325e-07 0.000153928 -5.62064e-07 0.00015393 -5.87357e-07 0.000153929 -6.14348e-07 0.000153925 -6.43196e-07 0.000153919 -6.74069e-07 0.00015391 -7.0715e-07 0.000153896 -7.42631e-07 0.00015388 -7.80713e-07 0.000153858 -8.21605e-07 0.000153833 -8.65518e-07 0.000153802 -9.1267e-07 0.000153766 -9.63275e-07 0.000153723 -1.01755e-06 0.000153675 -1.0757e-06 0.000153619 -1.13793e-06 0.000153556 -1.20443e-06 0.000153485 -1.27539e-06 0.000153405 -1.35098e-06 0.000153316 -1.43135e-06 0.000153218 -1.51665e-06 0.000153109 -1.60701e-06 0.000152989 -1.70254e-06 0.000152857 -1.80335e-06 0.000152714 -1.9095e-06 0.000152558 -2.02107e-06 0.000152389 -2.13811e-06 0.000152206 -2.26064e-06 0.00015201 -2.38868e-06 0.000151798 -2.52224e-06 0.000151572 -2.66129e-06 0.00015133 -2.80578e-06 0.000151073 -2.95566e-06 0.0001508 -3.11083e-06 0.00015051 -3.27119e-06 0.000150204 -3.43658e-06 0.000149881 -3.60682e-06 0.000149542 -3.7817e-06 0.000149186 -3.96094e-06 0.000148813 -4.14423e-06 0.000148424 -4.33118e-06 0.000148019 -4.52134e-06 0.000147598 -4.71416e-06 0.000147162 -4.90903e-06 0.00014671 -5.10519e-06 0.000146244 -5.30178e-06 0.000145765 -5.49779e-06 0.000145272 -5.69204e-06 0.000144768 -5.88318e-06 0.000144252 -6.06965e-06 0.000143726 -6.24967e-06 0.000143191 -6.42125e-06 0.000142648 -6.58213e-06 0.000142097 -6.72984e-06 0.000141539 -6.86167e-06 0.000140976 -6.97475e-06 0.000140407 -7.06607e-06 0.000139834 -7.13257e-06 0.000139255 -7.17127e-06 0.000138673 -7.17937e-06 0.000138085 -7.15443e-06 0.000137493 -7.09458e-06 0.000136895 -6.99864e-06 0.000136291 -6.86636e-06 0.000135681 -6.69854e-06 0.000135064 -6.49719e-06 0.00013444 -6.26556e-06 0.000133809 -6.00811e-06 0.000133172 -5.73046e-06 0.000132529 -5.43913e-06 0.000131881 -5.14132e-06 0.000131231 -4.84459e-06 0.00013058 -4.5567e-06 0.000129931 -4.28523e-06 0.000129286 -4.03683e-06 0.00012865 -3.81678e-06 0.000128024 -3.62883e-06 0.00012741 -3.4752e-06 0.00012681 -3.35699e-06 0.000126225 -3.27491e-06 0.000125654 -3.23141e-06 0.000125099 -3.23083e-06 0.000124566 -3.28095e-06 -3.42813e-06 0.000158061 -3.18489e-07 0.000158083 -3.27914e-07 0.000158105 -3.37789e-07 0.000158127 -3.48111e-07 0.000158147 -3.58931e-07 0.000158167 -3.70285e-07 0.000158186 -3.82206e-07 0.000158204 -3.94727e-07 0.00015822 -4.07886e-07 0.000158236 -4.21724e-07 0.00015825 -4.36287e-07 0.000158263 -4.51626e-07 0.000158274 -4.67799e-07 0.000158284 -4.84872e-07 0.000158292 -5.02916e-07 0.000158298 -5.22015e-07 0.000158302 -5.4226e-07 0.000158304 -5.63754e-07 0.000158303 -5.86611e-07 0.000158299 -6.10953e-07 0.000158293 -6.36918e-07 0.000158284 -6.64651e-07 0.000158271 -6.94307e-07 0.000158254 -7.26054e-07 0.000158234 -7.60063e-07 0.000158209 -7.96515e-07 0.000158179 -8.35595e-07 0.000158143 -8.77489e-07 0.000158103 -9.22388e-07 0.000158055 -9.70479e-07 0.000158002 -1.02195e-06 0.000157941 -1.07698e-06 0.000157872 -1.13574e-06 0.000157795 -1.1984e-06 0.000157709 -1.26512e-06 0.000157614 -1.33605e-06 0.000157509 -1.41132e-06 0.000157393 -1.49106e-06 0.000157266 -1.57539e-06 0.000157127 -1.66441e-06 0.000156975 -1.7582e-06 0.000156811 -1.85684e-06 0.000156633 -1.9604e-06 0.000156442 -2.06893e-06 0.000156235 -2.18246e-06 0.000156014 -2.30102e-06 0.000155778 -2.42462e-06 0.000155525 -2.55325e-06 0.000155256 -2.68687e-06 0.000154971 -2.82546e-06 0.000154669 -2.96894e-06 0.000154349 -3.11721e-06 0.000154013 -3.27016e-06 0.000153659 -3.42763e-06 0.000153287 -3.58942e-06 0.000152898 -3.75528e-06 0.000152492 -3.92492e-06 0.000152068 -4.09796e-06 0.000151628 -4.27397e-06 0.000151172 -4.45241e-06 0.000150699 -4.63264e-06 0.000150211 -4.81389e-06 0.000149709 -4.99527e-06 0.000149192 -5.1757e-06 0.000148663 -5.35392e-06 0.000148122 -5.52847e-06 0.00014757 -5.69764e-06 0.000147008 -5.85948e-06 0.000146438 -6.01179e-06 0.00014586 -6.15207e-06 0.000145276 -6.27761e-06 0.000144687 -6.38542e-06 0.000144093 -6.47239e-06 0.000143496 -6.53528e-06 0.000142895 -6.5709e-06 0.000142292 -6.5762e-06 0.000141686 -6.54847e-06 0.000141077 -6.48554e-06 0.000140464 -6.38598e-06 0.000139847 -6.24934e-06 0.000139225 -6.07627e-06 0.000138597 -5.86874e-06 0.000137961 -5.63011e-06 0.000137318 -5.36509e-06 0.000136667 -5.07964e-06 0.000136009 -4.78079e-06 0.000135344 -4.47624e-06 0.000134673 -4.17408e-06 0.000133999 -3.88272e-06 0.000133325 -3.61039e-06 0.000132652 -3.36412e-06 0.000131984 -3.14927e-06 0.000131325 -2.96937e-06 0.000130676 -2.82596e-06 0.000130038 -2.7194e-06 0.000129412 -2.64874e-06 0.000128798 -2.61736e-06 0.000128192 -2.62506e-06 0.000127612 -2.70068e-06 -2.9178e-06 0.000162569 -3.40267e-07 0.00016259 -3.49061e-07 0.00016261 -3.58189e-07 0.00016263 -3.67747e-07 0.000162649 -3.77743e-07 0.000162667 -3.88185e-07 0.000162683 -3.99103e-07 0.000162699 -4.10529e-07 0.000162714 -4.22496e-07 0.000162727 -4.35041e-07 0.000162739 -4.48201e-07 0.000162749 -4.62021e-07 0.000162758 -4.76551e-07 0.000162765 -4.91846e-07 0.00016277 -5.07969e-07 0.000162773 -5.24988e-07 0.000162774 -5.42983e-07 0.000162772 -5.62038e-07 0.000162768 -5.82249e-07 0.000162761 -6.03721e-07 0.00016275 -6.26567e-07 0.000162737 -6.50909e-07 0.000162719 -6.76878e-07 0.000162698 -7.04613e-07 0.000162672 -7.3426e-07 0.000162641 -7.6597e-07 0.000162606 -7.999e-07 0.000162564 -8.3621e-07 0.000162517 -8.7506e-07 0.000162463 -9.16612e-07 0.000162402 -9.61028e-07 0.000162334 -1.00847e-06 0.000162257 -1.05908e-06 0.000162172 -1.11302e-06 0.000162077 -1.17042e-06 0.000161972 -1.23143e-06 0.000161857 -1.29617e-06 0.000161731 -1.36477e-06 0.000161593 -1.43732e-06 0.000161442 -1.51395e-06 0.000161279 -1.59474e-06 0.000161102 -1.67978e-06 0.000160911 -1.76915e-06 0.000160705 -1.86291e-06 0.000160483 -1.96113e-06 0.000160246 -2.06384e-06 0.000159993 -2.17111e-06 0.000159722 -2.28294e-06 0.000159435 -2.39937e-06 0.00015913 -2.52039e-06 0.000158807 -2.646e-06 0.000158466 -2.77616e-06 0.000158106 -2.91083e-06 0.000157729 -3.04994e-06 0.000157333 -3.19338e-06 0.000156918 -3.34101e-06 0.000156486 -3.49264e-06 0.000156036 -3.64803e-06 0.000155569 -3.80688e-06 0.000155085 -3.96879e-06 0.000154586 -4.13329e-06 0.000154072 -4.29978e-06 0.000153544 -4.4675e-06 0.000153004 -4.63556e-06 0.000152453 -4.80285e-06 0.000151893 -4.96804e-06 0.000151325 -5.12954e-06 0.00015075 -5.28547e-06 0.000150172 -5.43362e-06 0.000149592 -5.57149e-06 0.00014901 -5.69618e-06 0.000148429 -5.80453e-06 0.00014785 -5.89308e-06 0.000147273 -5.95816e-06 0.000146698 -5.99606e-06 0.000146125 -6.00314e-06 0.000145553 -5.97606e-06 0.000144979 -5.91202e-06 0.000144402 -5.80903e-06 0.000143819 -5.66618e-06 0.000143227 -5.48389e-06 0.000142622 -5.26411e-06 0.000142002 -5.01042e-06 0.000141365 -4.72805e-06 0.000140709 -4.42372e-06 0.000140034 -4.10536e-06 0.000139339 -3.78164e-06 0.000138627 -3.46151e-06 0.000137899 -3.15453e-06 0.000137158 -2.86999e-06 0.00013641 -2.61547e-06 0.000135657 -2.3965e-06 0.000134904 -2.2163e-06 0.000134153 -2.07549e-06 0.000133407 -1.97332e-06 0.000132665 -1.90695e-06 0.000131926 -1.87842e-06 0.000131187 -1.88553e-06 0.000130449 -1.96273e-06 -2.26719e-06 0.000167134 -3.56795e-07 0.00016715 -3.64741e-07 0.000167165 -3.73007e-07 0.000167178 -3.81637e-07 0.000167191 -3.90629e-07 0.000167203 -3.99995e-07 0.000167214 -4.09754e-07 0.000167223 -4.19927e-07 0.000167231 -4.30537e-07 0.000167238 -4.41615e-07 0.000167243 -4.5319e-07 0.000167246 -4.65299e-07 0.000167248 -4.77982e-07 0.000167247 -4.91283e-07 0.000167244 -5.05252e-07 0.000167239 -5.19947e-07 0.000167232 -5.35429e-07 0.000167221 -5.51768e-07 0.000167208 -5.69042e-07 0.000167192 -5.87334e-07 0.000167172 -6.06735e-07 0.000167148 -6.27346e-07 0.000167121 -6.49271e-07 0.000167089 -6.72625e-07 0.000167052 -6.97525e-07 0.00016701 -7.24097e-07 0.000166963 -7.52469e-07 0.000166909 -7.82775e-07 0.000166849 -8.1515e-07 0.000166783 -8.49731e-07 0.000166708 -8.86656e-07 0.000166626 -9.26064e-07 0.000166535 -9.68091e-07 0.000166435 -1.01287e-06 0.000166325 -1.06054e-06 0.000166205 -1.11122e-06 0.000166073 -1.16504e-06 0.000165931 -1.22213e-06 0.000165776 -1.2826e-06 0.000165609 -1.34657e-06 0.000165428 -1.41414e-06 0.000165234 -1.48544e-06 0.000165025 -1.56056e-06 0.000164802 -1.63961e-06 0.000164563 -1.72269e-06 0.000164309 -1.80989e-06 0.00016404 -1.90133e-06 0.000163754 -1.99708e-06 0.000163452 -2.09725e-06 0.000163133 -2.20191e-06 0.000162798 -2.31116e-06 0.000162447 -2.42505e-06 0.00016208 -2.54366e-06 0.000161697 -2.66704e-06 0.000161299 -2.79519e-06 0.000160886 -2.92813e-06 0.000160459 -3.06581e-06 0.000160019 -3.20813e-06 0.000159567 -3.35495e-06 0.000159105 -3.50602e-06 0.000158632 -3.661e-06 0.000158152 -3.8194e-06 0.000157665 -3.98058e-06 0.000157173 -4.1437e-06 0.000156678 -4.30765e-06 0.000156181 -4.47106e-06 0.000155684 -4.63219e-06 0.000155187 -4.78893e-06 0.000154692 -4.93874e-06 0.000154199 -5.07863e-06 0.000153708 -5.20513e-06 0.000153218 -5.31435e-06 0.000152727 -5.40201e-06 0.000152233 -5.46359e-06 0.000151731 -5.49445e-06 0.000151218 -5.4901e-06 0.000150688 -5.44647e-06 0.000150136 -5.36022e-06 0.000149557 -5.22912e-06 0.000148943 -5.05234e-06 0.00014829 -4.83079e-06 0.000147593 -4.56727e-06 0.000146849 -4.26661e-06 0.000146056 -3.93555e-06 0.000145215 -3.58254e-06 0.000144327 -3.21727e-06 0.000143396 -2.85004e-06 0.000142425 -2.491e-06 0.000141422 -2.1512e-06 0.000140393 -1.841e-06 0.000139345 -1.56791e-06 0.000138286 -1.33744e-06 0.000137222 -1.15236e-06 0.000136159 -1.01199e-06 0.000135099 -9.1352e-07 0.000134045 -8.53375e-07 0.00013299 -8.2285e-07 0.000131942 -8.37464e-07 0.000130819 -8.40259e-07 -1.2731e-06 0.000171615 -3.63731e-07 0.000171622 -3.70988e-07 0.000171627 -3.78646e-07 0.000171632 -3.86515e-07 0.000171636 -3.94638e-07 0.000171639 -4.03064e-07 0.000171641 -4.1181e-07 0.000171642 -4.20889e-07 0.000171642 -4.30319e-07 0.00017164 -4.40121e-07 0.000171638 -4.50322e-07 0.000171633 -4.6095e-07 0.000171627 -4.72036e-07 0.00017162 -4.83619e-07 0.00017161 -4.95738e-07 0.000171599 -5.08439e-07 0.000171585 -5.21773e-07 0.000171569 -5.35797e-07 0.000171551 -5.50575e-07 0.000171529 -5.66174e-07 0.000171505 -5.82671e-07 0.000171478 -6.00148e-07 0.000171448 -6.18693e-07 0.000171413 -6.38401e-07 0.000171375 -6.59373e-07 0.000171333 -6.81716e-07 0.000171286 -7.0554e-07 0.000171234 -7.30962e-07 0.000171177 -7.58102e-07 0.000171114 -7.87084e-07 0.000171046 -8.18033e-07 0.000170971 -8.51078e-07 0.000170889 -8.86349e-07 0.0001708 -9.23976e-07 0.000170704 -9.64091e-07 0.000170599 -1.00683e-06 0.000170487 -1.05231e-06 0.000170365 -1.10068e-06 0.000170235 -1.15207e-06 0.000170095 -1.20661e-06 0.000169945 -1.26442e-06 0.000169785 -1.32565e-06 0.000169615 -1.39042e-06 0.000169434 -1.45886e-06 0.000169243 -1.53112e-06 0.00016904 -1.60731e-06 0.000168826 -1.68758e-06 0.000168601 -1.77204e-06 0.000168365 -1.86082e-06 0.000168117 -1.95405e-06 0.000167858 -2.05182e-06 0.000167587 -2.15423e-06 0.000167304 -2.26136e-06 0.000167011 -2.37327e-06 0.000166705 -2.48996e-06 0.000166389 -2.61141e-06 0.000166061 -2.73754e-06 0.000165721 -2.8682e-06 0.000165369 -3.00312e-06 0.000165005 -3.14194e-06 0.000164628 -3.28416e-06 0.000164238 -3.42907e-06 0.000163833 -3.57577e-06 0.000163412 -3.72309e-06 0.000162974 -3.86958e-06 0.000162516 -4.01342e-06 0.000162037 -4.15241e-06 0.000161532 -4.28394e-06 0.000160998 -4.40492e-06 0.000160431 -4.51184e-06 0.000159827 -4.60075e-06 0.00015918 -4.66736e-06 0.000158485 -4.70711e-06 0.000157736 -4.71535e-06 0.00015693 -4.68758e-06 0.000156059 -4.61967e-06 0.000155121 -4.50818e-06 0.000154111 -4.35069e-06 0.000153028 -4.1461e-06 0.000151871 -3.89492e-06 0.00015064 -3.59947e-06 0.000149336 -3.26401e-06 0.000147965 -2.89475e-06 0.000146529 -2.4997e-06 0.000145035 -2.08845e-06 0.000143489 -1.67158e-06 0.000141899 -1.26037e-06 0.000140274 -8.65798e-07 0.000138622 -4.99669e-07 0.000136956 -1.74919e-07 0.000135293 9.58672e-08 0.000133647 3.08176e-07 0.00013203 4.65121e-07 0.000130447 5.70305e-07 0.000128904 6.30213e-07 0.000127404 6.4614e-07 0.00012593 6.51232e-07 0.000124515 5.77932e-07 0.000122925 7.49122e-07 2.15331e-07 0.000179276 -4.06592e-07 0.000179317 -4.11715e-07 0.000179355 -4.16744e-07 0.000179391 -4.22044e-07 0.000179423 -4.27574e-07 0.000179454 -4.33271e-07 0.000179481 -4.3915e-07 0.000179505 -4.45243e-07 0.000179527 -4.51574e-07 0.000179545 -4.58163e-07 0.000179559 -4.65033e-07 0.000179571 -4.7221e-07 0.000179578 -4.79722e-07 0.000179582 -4.87601e-07 0.000179582 -4.95882e-07 0.000179579 -5.04603e-07 0.000179571 -5.13808e-07 0.000179558 -5.23541e-07 0.000179542 -5.33855e-07 0.00017952 -5.44805e-07 0.000179494 -5.5645e-07 0.000179463 -5.68856e-07 0.000179426 -5.8209e-07 0.000179384 -5.96226e-07 0.000179336 -6.1134e-07 0.000179282 -6.27511e-07 0.000179221 -6.44821e-07 0.000179153 -6.63355e-07 0.000179079 -6.83198e-07 0.000178996 -7.04435e-07 0.000178905 -7.27152e-07 0.000178805 -7.51434e-07 0.000178696 -7.77366e-07 0.000178577 -8.05027e-07 0.000178448 -8.34496e-07 0.000178307 -8.65849e-07 0.000178154 -8.99157e-07 0.000177987 -9.34488e-07 0.000177807 -9.71905e-07 0.000177612 -1.01147e-06 0.000177401 -1.05322e-06 0.000177173 -1.09723e-06 0.000176926 -1.14352e-06 0.000176659 -1.19214e-06 0.000176371 -1.24311e-06 0.00017606 -1.29645e-06 0.000175725 -1.35219e-06 0.000175363 -1.41032e-06 0.000174973 -1.47084e-06 0.000174553 -1.53372e-06 0.0001741 -1.59892e-06 0.000173612 -1.66639e-06 0.000173087 -1.73605e-06 0.000172521 -1.80778e-06 0.000171913 -1.88142e-06 0.000171258 -1.95679e-06 0.000170554 -2.03365e-06 0.000169798 -2.11166e-06 0.000168985 -2.19046e-06 0.000168112 -2.26955e-06 0.000167177 -2.34835e-06 0.000166174 -2.42614e-06 0.0001651 -2.50206e-06 0.000163952 -2.57509e-06 0.000162726 -2.644e-06 0.00016142 -2.7074e-06 0.000160032 -2.76366e-06 0.000158559 -2.81094e-06 0.000157001 -2.84721e-06 0.000155359 -2.87024e-06 0.000153636 -2.87768e-06 0.000151836 -2.8671e-06 0.000149965 -2.83609e-06 0.000148032 -2.78239e-06 0.000146049 -2.70399e-06 0.000144028 -2.59932e-06 0.000141987 -2.46737e-06 0.000139945 -2.30786e-06 0.00013792 -2.12137e-06 0.000135934 -1.90937e-06 0.000134009 -1.67436e-06 0.000132165 -1.41977e-06 0.00013042 -1.14995e-06 0.000128791 -8.70199e-07 0.000127288 -5.86067e-07 0.000125922 -3.05633e-07 0.000124693 -3.08062e-08 0.000123592 2.35075e-07 0.000122613 4.78968e-07 0.000121747 6.9082e-07 0.000120978 8.65292e-07 0.000120288 9.98552e-07 0.000119663 1.08927e-06 0.000119094 1.1396e-06 0.000118568 1.15665e-06 0.000118077 1.13659e-06 0.000117601 1.12723e-06 0.000117164 1.01529e-06 0.000116573 1.34049e-06 1.22236e-06 0.000166269 0.000165858 0.000165441 0.000165019 0.000164591 0.000164158 0.000163719 0.000163274 0.000162822 0.000162364 0.000161899 0.000161427 0.000160947 0.000160459 0.000159963 0.000159459 0.000158945 0.000158422 0.000157888 0.000157343 0.000156786 0.000156218 0.000155635 0.000155039 0.000154428 0.0001538 0.000153156 0.000152492 0.000151809 0.000151105 0.000150377 0.000149626 0.000148849 0.000148044 0.000147209 0.000146343 0.000145444 0.00014451 0.000143538 0.000142526 0.000141473 0.000140376 0.000139232 0.00013804 0.000136797 0.000135501 0.000134148 0.000132738 0.000131267 0.000129734 0.000128135 0.000126468 0.000124732 0.000122924 0.000121043 0.000119086 0.000117053 0.000114941 0.00011275 0.000110481 0.000108133 0.000105706 0.000103204 0.000100629 9.79852e-05 9.52778e-05 9.25142e-05 8.97032e-05 8.6856e-05 8.39858e-05 8.11081e-05 7.8241e-05 7.54049e-05 7.26225e-05 6.99185e-05 6.73192e-05 6.48518e-05 6.25439e-05 6.04226e-05 5.85132e-05 5.68388e-05 5.54191e-05 5.42691e-05 5.33989e-05 5.28129e-05 5.25072e-05 5.24764e-05 5.27115e-05 5.31905e-05 5.38813e-05 5.47466e-05 5.57451e-05 5.68344e-05 5.7974e-05 5.91307e-05 6.02672e-05 6.13945e-05 6.24098e-05 6.37502e-05 1.87845e-06 -1.87845e-06 3.81228e-06 -1.93383e-06 5.43585e-06 -1.62356e-06 6.78332e-06 -1.34747e-06 7.89309e-06 -1.10977e-06 8.77539e-06 -8.82305e-07 9.43397e-06 -6.58579e-07 9.89775e-06 -4.6378e-07 1.01762e-05 -2.78442e-07 1.02538e-05 -7.75815e-08 1.01095e-05 1.44256e-07 9.75188e-06 3.57637e-07 9.21339e-06 5.38493e-07 8.53887e-06 6.74517e-07 7.77711e-06 7.61766e-07 6.97102e-06 8.06088e-07 6.14232e-06 8.287e-07 5.28568e-06 8.56642e-07 4.35434e-06 9.31343e-07 3.25386e-06 1.10048e-06 1.87481e-06 1.37906e-06 1.36579e-07 1.73823e-06 -2.17413e-06 2.31071e-06 -5.43379e-06 3.25966e-06 -9.64053e-06 4.20675e-06 -1.4585e-05 4.94446e-06 -1.99452e-05 5.36023e-06 -2.53791e-05 5.43386e-06 -3.05937e-05 5.21465e-06 -3.5382e-05 4.7883e-06 -3.96285e-05 4.24644e-06 -4.32953e-05 3.66679e-06 -4.63994e-05 3.10414e-06 -4.89902e-05 2.59085e-06 -5.11315e-05 2.14121e-06 -5.28882e-05 1.75678e-06 -5.43198e-05 1.43159e-06 -5.54759e-05 1.15603e-06 -5.63958e-05 9.19979e-07 -5.71102e-05 7.144e-07 -5.76423e-05 5.32081e-07 -5.80102e-05 3.67863e-07 -5.82286e-05 2.18434e-07 -5.83121e-05 8.35082e-08 -5.82822e-05 -2.99006e-08 -5.81678e-05 -1.14382e-07 -5.79866e-05 -1.81284e-07 -5.77412e-05 -2.45368e-07 -5.7432e-05 -3.09189e-07 -5.70581e-05 -3.73932e-07 -5.66176e-05 -4.405e-07 -5.61074e-05 -5.10203e-07 -5.55238e-05 -5.83514e-07 -5.48631e-05 -6.60714e-07 -5.41212e-05 -7.41926e-07 -5.3294e-05 -8.27178e-07 -5.23776e-05 -9.16438e-07 -5.1368e-05 -1.00962e-06 -5.02614e-05 -1.1066e-06 -4.90541e-05 -1.20724e-06 -4.77427e-05 -1.31137e-06 -4.63239e-05 -1.41885e-06 -4.47947e-05 -1.52915e-06 -4.31533e-05 -1.64145e-06 -4.13984e-05 -1.75491e-06 -3.95297e-05 -1.86873e-06 -3.75475e-05 -1.98217e-06 -3.54521e-05 -2.09539e-06 -3.32404e-05 -2.21174e-06 -3.09026e-05 -2.33778e-06 -2.84278e-05 -2.47476e-06 -2.58227e-05 -2.60514e-06 -2.31112e-05 -2.71148e-06 -2.02989e-05 -2.8123e-06 -1.73674e-05 -2.93147e-06 -1.4284e-05 -3.0834e-06 -1.10125e-05 -3.27159e-06 -7.56988e-06 -3.44257e-06 -4.1494e-06 -3.42049e-06 -1.06225e-06 -3.08715e-06 1.93024e-06 -2.9925e-06 5.08698e-06 -3.15673e-06 8.41923e-06 -3.33225e-06 1.18472e-05 -3.42801e-06 1.53173e-05 -3.47004e-06 1.87963e-05 -3.479e-06 2.22632e-05 -3.46692e-06 2.57024e-05 -3.4392e-06 2.91017e-05 -3.39928e-06 3.24515e-05 -3.34986e-06 3.57449e-05 -3.29333e-06 3.89773e-05 -3.23248e-06 4.21475e-05 -3.17014e-06 4.52603e-05 -3.11286e-06 4.83266e-05 -3.06626e-06 5.13835e-05 -3.05695e-06 5.44838e-05 -3.10025e-06 5.78441e-05 -3.36031e-06 6.16062e-05 -3.76214e-06 -6.20159e-06 1.1339e-06 -3.01236e-06 1.51613e-06 -2.31605e-06 1.86295e-06 -1.97039e-06 2.22178e-06 -1.7063e-06 2.55549e-06 -1.44347e-06 2.81541e-06 -1.14223e-06 2.9569e-06 -8.00068e-07 3.02909e-06 -5.35977e-07 3.05847e-06 -3.07822e-07 3.05243e-06 -7.15331e-08 2.99327e-06 2.0341e-07 2.84048e-06 5.10426e-07 2.56699e-06 8.11988e-07 2.16228e-06 1.07923e-06 1.6193e-06 1.30474e-06 9.23384e-07 1.50201e-06 4.08084e-08 1.71128e-06 -1.09644e-06 1.99389e-06 -2.60321e-06 2.43812e-06 -4.6299e-06 3.12717e-06 -7.3484e-06 4.09755e-06 -1.09115e-05 5.30129e-06 -1.5216e-05 6.61521e-06 -1.97784e-05 7.82207e-06 -2.42019e-05 8.63029e-06 -2.81341e-05 8.87662e-06 -3.13156e-05 8.54176e-06 -3.36137e-05 7.732e-06 -3.50255e-05 6.62645e-06 -3.56519e-05 5.41464e-06 -3.56552e-05 4.2498e-06 -3.52166e-05 3.22811e-06 -3.45041e-05 2.39169e-06 -3.36564e-05 1.74316e-06 -3.27771e-05 1.2619e-06 -3.19379e-05 9.17557e-07 -3.11852e-05 6.78915e-07 -3.05477e-05 5.1856e-07 -3.00421e-05 4.14319e-07 -2.96767e-05 3.49019e-07 -2.94542e-05 3.09566e-07 -2.93724e-05 2.86058e-07 -2.94249e-05 2.70968e-07 -2.95988e-05 2.57423e-07 -2.9863e-05 2.34237e-07 -3.01668e-05 1.89462e-07 -3.04725e-05 1.24441e-07 -3.07608e-05 4.29299e-08 -3.10124e-05 -5.76556e-08 -3.12097e-05 -1.76629e-07 -3.13402e-05 -3.09931e-07 -3.13962e-05 -4.54228e-07 -3.13718e-05 -6.0795e-07 -3.12626e-05 -7.69893e-07 -3.1065e-05 -9.39486e-07 -3.07759e-05 -1.11628e-06 -3.03924e-05 -1.29999e-06 -2.99117e-05 -1.49031e-06 -2.93314e-05 -1.68693e-06 -2.8649e-05 -1.88956e-06 -2.78624e-05 -2.09799e-06 -2.69692e-05 -2.31211e-06 -2.59675e-05 -2.53087e-06 -2.48564e-05 -2.75254e-06 -2.36359e-05 -2.9754e-06 -2.23067e-05 -3.19787e-06 -2.08705e-05 -3.41844e-06 -1.9329e-05 -3.63691e-06 -1.76844e-05 -3.85632e-06 -1.59386e-05 -4.08353e-06 -1.4086e-05 -4.32742e-06 -1.21059e-05 -4.58519e-06 -9.98291e-06 -4.83447e-06 -7.72114e-06 -5.07407e-06 -5.3342e-06 -5.31841e-06 -2.84118e-06 -5.57642e-06 -2.68327e-07 -5.84444e-06 2.37417e-06 -6.08507e-06 5.13556e-06 -6.18188e-06 8.11931e-06 -6.0709e-06 1.11944e-05 -6.06754e-06 1.42375e-05 -6.19987e-06 1.72619e-05 -6.35663e-06 2.02961e-05 -6.46228e-06 2.33439e-05 -6.51781e-06 2.63969e-05 -6.53195e-06 2.94434e-05 -6.51341e-06 3.24729e-05 -6.46871e-06 3.54764e-05 -6.4028e-06 3.8446e-05 -6.3195e-06 4.13758e-05 -6.22308e-06 4.42604e-05 -6.11713e-06 4.70993e-05 -6.00897e-06 4.98903e-05 -5.90391e-06 5.26477e-05 -5.82369e-06 5.53721e-05 -5.78134e-06 5.81282e-05 -5.85632e-06 6.09126e-05 -6.14476e-06 6.38741e-05 -6.72366e-06 -9.32033e-06 7.24241e-08 -3.08478e-06 -1.47386e-07 -2.09624e-06 -2.69134e-07 -1.84864e-06 -3.83791e-07 -1.59165e-06 -5.08931e-07 -1.31833e-06 -6.25013e-07 -1.02614e-06 -7.80892e-07 -6.44189e-07 -1.00464e-06 -3.12233e-07 -1.28679e-06 -2.56716e-08 -1.60512e-06 2.46804e-07 -1.94969e-06 5.4798e-07 -2.31975e-06 8.80482e-07 -2.72627e-06 1.21851e-06 -3.20021e-06 1.55316e-06 -3.7943e-06 1.89883e-06 -4.58874e-06 2.29645e-06 -5.6904e-06 2.81293e-06 -7.22464e-06 3.52812e-06 -9.29197e-06 4.50545e-06 -1.19143e-05 5.74951e-06 -1.49904e-05 7.17365e-06 -1.82784e-05 8.58932e-06 -2.14119e-05 9.74868e-06 -2.40064e-05 1.04166e-05 -2.58262e-05 1.04501e-05 -2.68047e-05 9.85514e-06 -2.70486e-05 8.78567e-06 -2.67965e-05 7.47981e-06 -2.63414e-05 6.17137e-06 -2.59447e-05 5.01799e-06 -2.57758e-05 4.08088e-06 -2.58975e-05 3.34976e-06 -2.62885e-05 2.78277e-06 -2.68809e-05 2.33554e-06 -2.7593e-05 1.97397e-06 -2.83512e-05 1.67577e-06 -2.90994e-05 1.42715e-06 -2.97999e-05 1.21898e-06 -3.04296e-05 1.04402e-06 -3.0976e-05 8.95465e-07 -3.14332e-05 7.66712e-07 -3.17986e-05 6.51508e-07 -3.20707e-05 5.43058e-07 -3.22465e-05 4.33227e-07 -3.23246e-05 3.12311e-07 -3.23083e-05 1.73216e-07 -3.2202e-05 1.81347e-08 -3.20131e-05 -1.46014e-07 -3.17534e-05 -3.17359e-07 -3.14325e-05 -4.97465e-07 -3.10541e-05 -6.88413e-07 -3.06167e-05 -8.91552e-07 -3.01184e-05 -1.10623e-06 -2.95562e-05 -1.3321e-06 -2.89269e-05 -1.56885e-06 -2.8227e-05 -1.81617e-06 -2.74533e-05 -2.07373e-06 -2.66025e-05 -2.34109e-06 -2.56717e-05 -2.61773e-06 -2.46581e-05 -2.90313e-06 -2.35591e-05 -3.19694e-06 -2.23721e-05 -3.49919e-06 -2.10943e-05 -3.80866e-06 -1.97238e-05 -4.12302e-06 -1.82589e-05 -4.44028e-06 -1.66979e-05 -4.75893e-06 -1.5039e-05 -5.0773e-06 -1.32812e-05 -5.39475e-06 -1.14243e-05 -5.71319e-06 -9.46991e-06 -6.03793e-06 -7.42171e-06 -6.37562e-06 -5.28338e-06 -6.72351e-06 -3.05317e-06 -7.06468e-06 -7.32385e-07 -7.39486e-06 1.67038e-06 -7.72117e-06 4.13871e-06 -8.04476e-06 6.65011e-06 -8.35584e-06 9.18366e-06 -8.61862e-06 1.17734e-05 -8.77162e-06 1.45027e-05 -8.80017e-06 1.72963e-05 -8.86118e-06 2.00793e-05 -8.98283e-06 2.28355e-05 -9.1129e-06 2.55772e-05 -9.20395e-06 2.8308e-05 -9.2486e-06 3.1026e-05 -9.24997e-06 3.37262e-05 -9.21361e-06 3.64023e-05 -9.14476e-06 3.90477e-05 -9.04823e-06 4.16566e-05 -8.92842e-06 4.42244e-05 -8.79088e-06 4.67476e-05 -8.6403e-06 4.9226e-05 -8.48736e-06 5.16591e-05 -8.33701e-06 5.4058e-05 -8.22263e-06 5.64209e-05 -8.14425e-06 5.87948e-05 -8.23017e-06 6.11266e-05 -8.47657e-06 6.35705e-05 -9.16751e-06 -1.13016e-05 -6.474e-07 -2.43738e-06 -1.13278e-06 -1.61086e-06 -1.6327e-06 -1.34871e-06 -2.14084e-06 -1.08351e-06 -2.63119e-06 -8.27983e-07 -3.08314e-06 -5.74196e-07 -3.48318e-06 -2.44153e-07 -3.9032e-06 1.07797e-07 -4.37277e-06 4.43893e-07 -4.87643e-06 7.50461e-07 -5.38415e-06 1.0557e-06 -5.88627e-06 1.38261e-06 -6.41098e-06 1.74322e-06 -7.01592e-06 2.1581e-06 -7.77918e-06 2.6621e-06 -8.78711e-06 3.30438e-06 -1.01119e-05 4.13773e-06 -1.1781e-05 5.19719e-06 -1.37451e-05 6.46957e-06 -1.58615e-05 7.86591e-06 -1.79013e-05 9.21341e-06 -1.95951e-05 1.02832e-05 -2.07085e-05 1.0862e-05 -2.11218e-05 1.083e-05 -2.08781e-05 1.02064e-05 -2.01768e-05 9.15381e-06 -1.93126e-05 7.92147e-06 -1.85755e-05 6.74271e-06 -1.81541e-05 5.75002e-06 -1.80949e-05 4.95871e-06 -1.83295e-05 4.31557e-06 -1.87387e-05 3.75895e-06 -1.92074e-05 3.25139e-06 -1.96541e-05 2.78226e-06 -2.00362e-05 2.35614e-06 -2.03405e-05 1.97998e-06 -2.05696e-05 1.65627e-06 -2.07323e-05 1.38171e-06 -2.08368e-05 1.14856e-06 -2.08884e-05 9.47017e-07 -2.08892e-05 7.67524e-07 -2.08401e-05 6.02447e-07 -2.07418e-05 4.44688e-07 -2.05964e-05 2.87891e-07 -2.04105e-05 1.26421e-07 -2.01919e-05 -4.54534e-08 -1.99438e-05 -2.29923e-07 -1.96605e-05 -4.29287e-07 -1.93346e-05 -6.43318e-07 -1.89612e-05 -8.709e-07 -1.85352e-05 -1.1144e-06 -1.80525e-05 -1.37419e-06 -1.75101e-05 -1.64863e-06 -1.69055e-05 -1.93675e-06 -1.6236e-05 -2.23835e-06 -1.54992e-05 -2.55296e-06 -1.46927e-05 -2.88019e-06 -1.38143e-05 -3.21947e-06 -1.2862e-05 -3.57007e-06 -1.1834e-05 -3.93112e-06 -1.07287e-05 -4.30219e-06 -9.54463e-06 -4.6833e-06 -8.28012e-06 -5.07317e-06 -6.93401e-06 -5.46913e-06 -5.50516e-06 -5.86913e-06 -3.99224e-06 -6.27185e-06 -2.39389e-06 -6.67564e-06 -7.08801e-07 -7.07984e-06 1.06333e-06 -7.48532e-06 2.91936e-06 -7.89396e-06 4.85054e-06 -8.3068e-06 6.84751e-06 -8.72049e-06 8.90906e-06 -9.12622e-06 1.10346e-05 -9.52037e-06 1.32162e-05 -9.90282e-06 1.54413e-05 -1.02698e-05 1.76956e-05 -1.06102e-05 1.99762e-05 -1.08992e-05 2.23106e-05 -1.1106e-05 2.47331e-05 -1.12227e-05 2.71999e-05 -1.1328e-05 2.96599e-05 -1.14428e-05 3.2092e-05 -1.1545e-05 3.4498e-05 -1.161e-05 3.68803e-05 -1.16308e-05 3.92373e-05 -1.16071e-05 4.15654e-05 -1.15416e-05 4.38594e-05 -1.14388e-05 4.61147e-05 -1.13035e-05 4.83271e-05 -1.11408e-05 5.04938e-05 -1.09576e-05 5.2613e-05 -1.07595e-05 5.46851e-05 -1.05595e-05 5.6711e-05 -1.03629e-05 5.86965e-05 -1.02081e-05 6.06401e-05 -1.00878e-05 6.25602e-05 -1.01502e-05 6.43994e-05 -1.03159e-05 6.62348e-05 -1.10029e-05 -1.25408e-05 -9.69842e-07 -1.46754e-06 -1.76662e-06 -8.14087e-07 -2.56374e-06 -5.51589e-07 -3.32432e-06 -3.22929e-07 -4.05566e-06 -9.66427e-08 -4.75165e-06 1.21797e-07 -5.38177e-06 3.85967e-07 -5.9525e-06 6.78525e-07 -6.49712e-06 9.88512e-07 -7.05363e-06 1.30697e-06 -7.62934e-06 1.63141e-06 -8.22863e-06 1.9819e-06 -8.87587e-06 2.39045e-06 -9.6071e-06 2.88934e-06 -1.04616e-05 3.51655e-06 -1.14651e-05 4.30793e-06 -1.26106e-05 5.28322e-06 -1.38404e-05 6.42701e-06 -1.50395e-05 7.66867e-06 -1.60471e-05 8.87344e-06 -1.6691e-05 9.85734e-06 -1.68418e-05 1.0434e-05 -1.64633e-05 1.04835e-05 -1.564e-05 1.00067e-05 -1.45687e-05 9.13506e-06 -1.35028e-05 8.08792e-06 -1.26619e-05 7.08047e-06 -1.21526e-05 6.23345e-06 -1.19514e-05 5.54882e-06 -1.19534e-05 4.96074e-06 -1.20433e-05 4.40544e-06 -1.21412e-05 3.85682e-06 -1.22129e-05 3.32308e-06 -1.22578e-05 2.82724e-06 -1.22908e-05 2.38913e-06 -1.23263e-05 2.01548e-06 -1.23705e-05 1.70043e-06 -1.24202e-05 1.43146e-06 -1.24651e-05 1.19347e-06 -1.24901e-05 9.71948e-07 -1.24783e-05 7.55777e-07 -1.24156e-05 5.39715e-07 -1.22903e-05 3.19351e-07 -1.20934e-05 9.09906e-08 -1.18232e-05 -1.43764e-07 -1.14846e-05 -3.84062e-07 -1.10848e-05 -6.29711e-07 -1.06291e-05 -8.84929e-07 -1.01205e-05 -1.15193e-06 -9.56051e-06 -1.43091e-06 -8.94942e-06 -1.7255e-06 -8.28661e-06 -2.03701e-06 -7.57128e-06 -2.36395e-06 -6.80238e-06 -2.70565e-06 -5.97828e-06 -3.06245e-06 -5.09726e-06 -3.43399e-06 -4.15757e-06 -3.81987e-06 -3.15756e-06 -4.21948e-06 -2.09559e-06 -4.63204e-06 -9.70119e-07 -5.0566e-06 2.20615e-07 -5.49292e-06 1.47789e-06 -5.94058e-06 2.80217e-06 -6.39744e-06 4.19408e-06 -6.86105e-06 5.65462e-06 -7.32967e-06 7.18419e-06 -7.80142e-06 8.78293e-06 -8.27438e-06 1.04502e-05 -8.74709e-06 1.21838e-05 -9.21898e-06 1.39801e-05 -9.69017e-06 1.58332e-05 -1.01599e-05 1.77376e-05 -1.06249e-05 1.96897e-05 -1.10784e-05 2.16846e-05 -1.15153e-05 2.37141e-05 -1.19323e-05 2.5768e-05 -1.23237e-05 2.78367e-05 -1.26789e-05 2.99176e-05 -1.29801e-05 3.202e-05 -1.32084e-05 3.41577e-05 -1.33604e-05 3.63091e-05 -1.34794e-05 3.84474e-05 -1.35812e-05 4.05582e-05 -1.36558e-05 4.26373e-05 -1.3689e-05 4.46817e-05 -1.36753e-05 4.66888e-05 -1.36141e-05 4.86552e-05 -1.35081e-05 5.05779e-05 -1.33615e-05 5.24543e-05 -1.31799e-05 5.42825e-05 -1.29691e-05 5.60616e-05 -1.27366e-05 5.77915e-05 -1.24895e-05 5.94733e-05 -1.22413e-05 6.11088e-05 -1.19983e-05 6.27002e-05 -1.17995e-05 6.4246e-05 -1.16337e-05 6.57454e-05 -1.16496e-05 6.71483e-05 -1.17188e-05 6.84704e-05 -1.2325e-05 -1.3252e-05 -1.16492e-06 -3.02615e-07 -2.14765e-06 1.68642e-07 -3.08198e-06 3.82736e-07 -3.98047e-06 5.75567e-07 -4.84573e-06 7.68616e-07 -5.67797e-06 9.54039e-07 -6.45558e-06 1.16357e-06 -7.16892e-06 1.39187e-06 -7.82636e-06 1.64594e-06 -8.45174e-06 1.93235e-06 -9.07325e-06 2.25292e-06 -9.70188e-06 2.61052e-06 -1.03422e-05 3.03078e-06 -1.10008e-05 3.54794e-06 -1.16748e-05 4.19055e-06 -1.23439e-05 4.97701e-06 -1.29603e-05 5.89965e-06 -1.34475e-05 6.91424e-06 -1.37085e-05 7.92962e-06 -1.36474e-05 8.81239e-06 -1.32028e-05 9.41267e-06 -1.23796e-05 9.61082e-06 -1.1265e-05 9.36895e-06 -1.00166e-05 8.75831e-06 -8.821e-06 7.93945e-06 -7.83019e-06 7.09711e-06 -7.10906e-06 6.35934e-06 -6.62957e-06 5.75397e-06 -6.31259e-06 5.23184e-06 -6.0805e-06 4.72865e-06 -5.88687e-06 4.21181e-06 -5.7175e-06 3.68745e-06 -5.5756e-06 3.18118e-06 -5.4657e-06 2.71734e-06 -5.38491e-06 2.30834e-06 -5.32076e-06 1.95132e-06 -5.25433e-06 1.634e-06 -5.1655e-06 1.34263e-06 -5.03539e-06 1.06336e-06 -4.84825e-06 7.84811e-07 -4.59564e-06 5.03168e-07 -4.27841e-06 2.22483e-07 -3.8992e-06 -5.98613e-08 -3.46467e-06 -3.4354e-07 -2.9832e-06 -6.25233e-07 -2.45997e-06 -9.07286e-07 -1.89666e-06 -1.19302e-06 -1.2945e-06 -1.48709e-06 -6.53502e-07 -1.79293e-06 2.9079e-08 -2.11349e-06 7.55722e-07 -2.45214e-06 1.52738e-06 -2.80866e-06 2.34522e-06 -3.1818e-06 3.21091e-06 -3.57134e-06 4.1256e-06 -3.97714e-06 5.09047e-06 -4.39886e-06 6.10655e-06 -4.83596e-06 7.17482e-06 -5.28775e-06 8.29624e-06 -5.75346e-06 9.47183e-06 -6.23219e-06 1.07022e-05 -6.72329e-06 1.19876e-05 -7.22596e-06 1.33285e-05 -7.7384e-06 1.47256e-05 -8.25809e-06 1.61787e-05 -8.78279e-06 1.76874e-05 -9.31012e-06 1.92507e-05 -9.83769e-06 2.0867e-05 -1.03633e-05 2.25334e-05 -1.08854e-05 2.42457e-05 -1.14025e-05 2.5998e-05 -1.19122e-05 2.77838e-05 -1.24107e-05 2.95975e-05 -1.28921e-05 3.14332e-05 -1.33509e-05 3.32835e-05 -1.37826e-05 3.51405e-05 -1.41807e-05 3.69971e-05 -1.45355e-05 3.88507e-05 -1.48337e-05 4.07056e-05 -1.50633e-05 4.25673e-05 -1.52221e-05 4.44225e-05 -1.53346e-05 4.62535e-05 -1.54121e-05 4.80481e-05 -1.54504e-05 4.9801e-05 -1.5442e-05 5.15094e-05 -1.53837e-05 5.31714e-05 -1.52761e-05 5.47853e-05 -1.5122e-05 5.635e-05 -1.49262e-05 5.78645e-05 -1.46944e-05 5.93287e-05 -1.44332e-05 6.0743e-05 -1.41509e-05 6.21087e-05 -1.38552e-05 6.34274e-05 -1.35601e-05 6.47013e-05 -1.32722e-05 6.59306e-05 -1.30289e-05 6.71135e-05 -1.28166e-05 6.82383e-05 -1.27743e-05 6.92635e-05 -1.2744e-05 7.01696e-05 -1.32311e-05 -1.3603e-05 -1.2526e-06 9.4998e-07 -2.31943e-06 1.23547e-06 -3.30763e-06 1.37094e-06 -4.26359e-06 1.53153e-06 -5.18297e-06 1.688e-06 -6.06816e-06 1.83923e-06 -6.90324e-06 1.99865e-06 -7.67926e-06 2.1679e-06 -8.38942e-06 2.3561e-06 -9.03106e-06 2.574e-06 -9.61391e-06 2.83577e-06 -1.01513e-05 3.14787e-06 -1.06365e-05 3.51602e-06 -1.10499e-05 3.9613e-06 -1.13668e-05 4.50754e-06 -1.15528e-05 5.16301e-06 -1.15617e-05 5.90848e-06 -1.13399e-05 6.69245e-06 -1.08404e-05 7.43013e-06 -1.00418e-05 8.01378e-06 -8.96748e-06 8.33837e-06 -7.69466e-06 8.338e-06 -6.34364e-06 8.01793e-06 -5.04869e-06 7.46335e-06 -3.91702e-06 6.80778e-06 -2.99487e-06 6.17497e-06 -2.26267e-06 5.62714e-06 -1.66661e-06 5.1579e-06 -1.15692e-06 4.72215e-06 -7.05711e-07 4.27745e-06 -3.04373e-07 3.81047e-06 4.95525e-08 3.33353e-06 3.62149e-07 2.86858e-06 6.45646e-07 2.43385e-06 9.17308e-07 2.03668e-06 1.1953e-06 1.67333e-06 1.49483e-06 1.33446e-06 1.82752e-06 1.00994e-06 2.19963e-06 6.91254e-07 2.61164e-06 3.72803e-07 3.0595e-06 5.53065e-08 3.54117e-06 -2.59187e-07 4.05427e-06 -5.72963e-07 4.59568e-06 -8.84944e-07 5.16765e-06 -1.19721e-06 5.77422e-06 -1.51385e-06 6.41959e-06 -1.8384e-06 7.10678e-06 -2.17428e-06 7.83759e-06 -2.52374e-06 8.61265e-06 -2.88855e-06 9.43108e-06 -3.27056e-06 1.02922e-05 -3.6698e-06 1.11959e-05 -4.08552e-06 1.21423e-05 -4.51767e-06 1.31312e-05 -4.96611e-06 1.4163e-05 -5.43065e-06 1.5238e-05 -5.9109e-06 1.63565e-05 -6.40629e-06 1.75192e-05 -6.9161e-06 1.87264e-05 -7.43944e-06 1.99785e-05 -7.97536e-06 2.12752e-05 -8.52268e-06 2.26162e-05 -9.07942e-06 2.40011e-05 -9.64292e-06 2.54288e-05 -1.02105e-05 2.68979e-05 -1.07792e-05 2.84064e-05 -1.13462e-05 2.99516e-05 -1.19086e-05 3.153e-05 -1.24637e-05 3.31366e-05 -1.30091e-05 3.47658e-05 -1.35415e-05 3.64117e-05 -1.40566e-05 3.80685e-05 -1.45489e-05 3.97304e-05 -1.50128e-05 4.13907e-05 -1.54429e-05 4.30425e-05 -1.58325e-05 4.46799e-05 -1.61729e-05 4.62999e-05 -1.64536e-05 4.79028e-05 -1.66662e-05 4.94897e-05 -1.6809e-05 5.10519e-05 -1.68968e-05 5.25781e-05 -1.69384e-05 5.40605e-05 -1.69328e-05 5.54949e-05 -1.68763e-05 5.68792e-05 -1.6768e-05 5.82122e-05 -1.66091e-05 5.94936e-05 -1.64034e-05 6.07233e-05 -1.61559e-05 6.1902e-05 -1.58731e-05 6.3031e-05 -1.55622e-05 6.4112e-05 -1.52319e-05 6.51471e-05 -1.48904e-05 6.61387e-05 -1.45516e-05 6.7089e-05 -1.42225e-05 6.79973e-05 -1.39372e-05 6.88614e-05 -1.36807e-05 6.96646e-05 -1.35776e-05 7.03744e-05 -1.34538e-05 7.09512e-05 -1.38079e-05 -1.37082e-05 -1.23816e-06 2.18814e-06 -2.29414e-06 2.29145e-06 -3.2834e-06 2.36021e-06 -4.23131e-06 2.47944e-06 -5.13319e-06 2.58987e-06 -5.99098e-06 2.69702e-06 -6.79197e-06 2.79964e-06 -7.52562e-06 2.90155e-06 -8.17884e-06 3.00931e-06 -8.73735e-06 3.13252e-06 -9.18701e-06 3.28542e-06 -9.52367e-06 3.48454e-06 -9.74671e-06 3.73906e-06 -9.83646e-06 4.05105e-06 -9.76224e-06 4.43331e-06 -9.49904e-06 4.89981e-06 -9.01487e-06 5.42431e-06 -8.28598e-06 5.96356e-06 -7.30843e-06 6.45258e-06 -6.10907e-06 6.81442e-06 -4.75164e-06 6.98094e-06 -3.33004e-06 6.9164e-06 -1.94718e-06 6.63506e-06 -6.86732e-07 6.20291e-06 4.12037e-07 5.70901e-06 1.35846e-06 5.22855e-06 2.19037e-06 4.79522e-06 2.94627e-06 4.40201e-06 3.64749e-06 4.02093e-06 4.29742e-06 3.62752e-06 4.89325e-06 3.21464e-06 5.43646e-06 2.79031e-06 5.93641e-06 2.36863e-06 6.40827e-06 1.96198e-06 6.86897e-06 1.57599e-06 7.33346e-06 1.20884e-06 7.81256e-06 8.55359e-07 8.31227e-06 5.10232e-07 8.83366e-06 1.69858e-07 9.37505e-06 -1.68579e-07 9.93653e-06 -5.06177e-07 1.05215e-05 -8.44145e-07 1.11327e-05 -1.18413e-06 1.17745e-05 -1.52683e-06 1.24512e-05 -1.87386e-06 1.31648e-05 -2.22748e-06 1.39162e-05 -2.58973e-06 1.47047e-05 -2.96282e-06 1.55296e-05 -3.34859e-06 1.63897e-05 -3.74872e-06 1.7284e-05 -4.16488e-06 1.82119e-05 -4.5977e-06 1.91735e-05 -5.04713e-06 2.01691e-05 -5.51326e-06 2.11991e-05 -5.99605e-06 2.22637e-05 -6.49531e-06 2.33635e-05 -7.01065e-06 2.44986e-05 -7.54145e-06 2.56694e-05 -8.08686e-06 2.68757e-05 -8.64579e-06 2.81173e-05 -9.21693e-06 2.93933e-05 -9.79863e-06 3.07024e-05 -1.03885e-05 3.20432e-05 -1.09837e-05 3.34137e-05 -1.1581e-05 3.48117e-05 -1.21772e-05 3.62341e-05 -1.27687e-05 3.76778e-05 -1.33522e-05 3.91386e-05 -1.39245e-05 4.06119e-05 -1.44823e-05 4.20922e-05 -1.50218e-05 4.35739e-05 -1.55383e-05 4.50515e-05 -1.60265e-05 4.65192e-05 -1.64805e-05 4.7971e-05 -1.68948e-05 4.9401e-05 -1.72625e-05 5.08042e-05 -1.75761e-05 5.21775e-05 -1.78269e-05 5.352e-05 -1.80087e-05 5.48315e-05 -1.81205e-05 5.61064e-05 -1.81717e-05 5.73376e-05 -1.81695e-05 5.85196e-05 -1.81148e-05 5.96499e-05 -1.80066e-05 6.07274e-05 -1.78455e-05 6.17523e-05 -1.7634e-05 6.27255e-05 -1.73765e-05 6.36483e-05 -1.70787e-05 6.45226e-05 -1.67475e-05 6.53508e-05 -1.63904e-05 6.61355e-05 -1.60166e-05 6.68796e-05 -1.56344e-05 6.75855e-05 -1.52575e-05 6.82556e-05 -1.48925e-05 6.88885e-05 -1.45701e-05 6.94822e-05 -1.42743e-05 7.00182e-05 -1.41136e-05 7.04722e-05 -1.39078e-05 7.07959e-05 -1.41317e-05 -1.3654e-05 -1.13433e-06 3.32247e-06 -2.07406e-06 3.23119e-06 -2.97484e-06 3.26099e-06 -3.83148e-06 3.33607e-06 -4.62652e-06 3.38491e-06 -5.36298e-06 3.43348e-06 -6.03047e-06 3.46713e-06 -6.6189e-06 3.48999e-06 -7.11441e-06 3.50482e-06 -7.50049e-06 3.5186e-06 -7.75691e-06 3.54184e-06 -7.8611e-06 3.58873e-06 -7.80333e-06 3.68129e-06 -7.58502e-06 3.83274e-06 -7.18761e-06 4.0359e-06 -6.58899e-06 4.30118e-06 -5.77853e-06 4.61386e-06 -4.75403e-06 4.93906e-06 -3.53436e-06 5.23291e-06 -2.16551e-06 5.44556e-06 -7.15367e-07 5.5308e-06 7.36718e-07 5.46432e-06 2.11751e-06 5.25427e-06 3.37936e-06 4.94106e-06 4.51147e-06 4.5769e-06 5.53436e-06 4.20566e-06 6.47988e-06 3.8497e-06 7.37293e-06 3.50896e-06 8.22357e-06 3.17028e-06 9.03013e-06 2.82096e-06 9.7885e-06 2.45627e-06 1.04992e-05 2.07958e-06 1.11695e-05 1.69837e-06 1.18116e-05 1.31985e-06 1.24392e-05 9.48414e-07 1.30633e-05 5.84725e-07 1.36911e-05 2.27559e-07 1.43268e-05 -1.25416e-07 1.49736e-05 -4.76997e-07 1.56342e-05 -8.29156e-07 1.63106e-05 -1.18255e-06 1.70048e-05 -1.53842e-06 1.7719e-05 -1.89831e-06 1.84553e-05 -2.26312e-06 1.92156e-05 -2.63413e-06 2.00012e-05 -3.0131e-06 2.08132e-05 -3.40176e-06 2.16524e-05 -3.80197e-06 2.25191e-05 -4.21535e-06 2.34138e-05 -4.64337e-06 2.43363e-05 -5.08736e-06 2.52865e-05 -5.54794e-06 2.62647e-05 -6.02525e-06 2.72708e-05 -6.51938e-06 2.8305e-05 -7.03028e-06 2.93674e-05 -7.55768e-06 3.04578e-05 -8.1011e-06 3.15761e-05 -8.65973e-06 3.27217e-05 -9.23249e-06 3.38939e-05 -9.81797e-06 3.50914e-05 -1.04144e-05 3.63125e-05 -1.10197e-05 3.75551e-05 -1.16311e-05 3.88169e-05 -1.22455e-05 4.00952e-05 -1.28594e-05 4.13873e-05 -1.34692e-05 4.26898e-05 -1.40712e-05 4.39993e-05 -1.46618e-05 4.53119e-05 -1.52371e-05 4.66231e-05 -1.57935e-05 4.7928e-05 -1.63267e-05 4.92215e-05 -1.68318e-05 5.04985e-05 -1.73035e-05 5.17538e-05 -1.77358e-05 5.2982e-05 -1.8123e-05 5.41782e-05 -1.84587e-05 5.53382e-05 -1.8736e-05 5.64593e-05 -1.89481e-05 5.75405e-05 -1.909e-05 5.85813e-05 -1.91612e-05 5.95783e-05 -1.91688e-05 6.05275e-05 -1.91187e-05 6.1426e-05 -1.90133e-05 6.22727e-05 -1.88534e-05 6.30681e-05 -1.86409e-05 6.38134e-05 -1.83793e-05 6.45105e-05 -1.80736e-05 6.51618e-05 -1.773e-05 6.577e-05 -1.73557e-05 6.63381e-05 -1.69585e-05 6.68692e-05 -1.65476e-05 6.73663e-05 -1.61316e-05 6.78319e-05 -1.57232e-05 6.82683e-05 -1.53288e-05 6.86737e-05 -1.49756e-05 6.90463e-05 -1.46469e-05 6.93677e-05 -1.44351e-05 6.96211e-05 -1.41612e-05 6.97551e-05 -1.42657e-05 -1.34999e-05 -9.0435e-07 4.22682e-06 -1.73137e-06 4.05821e-06 -2.49561e-06 4.02522e-06 -3.17584e-06 4.01631e-06 -3.76676e-06 3.97583e-06 -4.27444e-06 3.94116e-06 -4.69387e-06 3.88656e-06 -5.02098e-06 3.8171e-06 -5.24974e-06 3.73358e-06 -5.37052e-06 3.63938e-06 -5.36988e-06 3.5412e-06 -5.22712e-06 3.44597e-06 -4.91309e-06 3.36726e-06 -4.41343e-06 3.33308e-06 -3.74452e-06 3.367e-06 -2.92663e-06 3.48329e-06 -1.94015e-06 3.62738e-06 -7.83708e-07 3.78262e-06 5.22289e-07 3.92691e-06 1.93628e-06 4.03157e-06 3.40125e-06 4.06582e-06 4.85585e-06 4.00972e-06 6.24824e-06 3.86188e-06 7.54821e-06 3.64109e-06 8.75014e-06 3.37498e-06 9.86708e-06 3.08872e-06 1.0919e-05 2.79777e-06 1.19222e-05 2.50574e-06 1.28845e-05 2.208e-06 1.38068e-05 1.89862e-06 1.46885e-05 1.57467e-06 1.55305e-05 1.2375e-06 1.63378e-05 8.91081e-07 1.7117e-05 5.40636e-07 1.78754e-05 1.90036e-07 1.86196e-05 -1.59457e-07 1.93556e-05 -5.08411e-07 2.00881e-05 -8.57959e-07 2.08206e-05 -1.20944e-06 2.15559e-05 -1.56448e-06 2.22976e-05 -1.92424e-06 2.30489e-05 -2.28976e-06 2.38127e-05 -2.66208e-06 2.45915e-05 -3.0419e-06 2.53874e-05 -3.4301e-06 2.62022e-05 -3.82791e-06 2.70371e-05 -4.23658e-06 2.78926e-05 -4.6575e-06 2.87692e-05 -5.092e-06 2.96672e-05 -5.54131e-06 3.05864e-05 -6.00655e-06 3.15268e-05 -6.48835e-06 3.24885e-05 -6.98697e-06 3.34715e-05 -7.50245e-06 3.44759e-05 -8.03461e-06 3.55012e-05 -8.58298e-06 3.65469e-05 -9.14679e-06 3.76121e-05 -9.72491e-06 3.86955e-05 -1.03159e-05 3.97955e-05 -1.0918e-05 4.09103e-05 -1.15291e-05 4.20374e-05 -1.21468e-05 4.31745e-05 -1.27682e-05 4.4319e-05 -1.339e-05 4.54682e-05 -1.40086e-05 4.66194e-05 -1.46204e-05 4.77694e-05 -1.52213e-05 4.89151e-05 -1.58075e-05 5.00528e-05 -1.63748e-05 5.11784e-05 -1.69191e-05 5.22874e-05 -1.74357e-05 5.33751e-05 -1.79196e-05 5.44369e-05 -1.83653e-05 5.54682e-05 -1.87671e-05 5.64645e-05 -1.91193e-05 5.74217e-05 -1.9416e-05 5.83369e-05 -1.96512e-05 5.92082e-05 -1.98194e-05 6.00352e-05 -1.99169e-05 6.08178e-05 -1.99439e-05 6.15548e-05 -1.99057e-05 6.22442e-05 -1.98082e-05 6.28852e-05 -1.96543e-05 6.34781e-05 -1.94463e-05 6.40243e-05 -1.91871e-05 6.45259e-05 -1.8881e-05 6.49856e-05 -1.85333e-05 6.54062e-05 -1.81506e-05 6.57908e-05 -1.77403e-05 6.61427e-05 -1.73104e-05 6.6465e-05 -1.687e-05 6.67608e-05 -1.64273e-05 6.70323e-05 -1.59947e-05 6.72813e-05 -1.55778e-05 6.75059e-05 -1.52003e-05 6.77045e-05 -1.48454e-05 6.78598e-05 -1.45904e-05 6.79614e-05 -1.42628e-05 6.79585e-05 -1.42627e-05 -1.32889e-05 -6.76107e-07 4.90293e-06 -1.23366e-06 4.61576e-06 -1.75393e-06 4.54549e-06 -2.18077e-06 4.44315e-06 -2.46671e-06 4.26177e-06 -2.63469e-06 4.10915e-06 -2.69688e-06 3.94875e-06 -2.6589e-06 3.77911e-06 -2.5226e-06 3.59727e-06 -2.2883e-06 3.40509e-06 -1.95714e-06 3.21004e-06 -1.5257e-06 3.01452e-06 -9.87651e-07 2.82922e-06 -3.01638e-07 2.64707e-06 5.65669e-07 2.49969e-06 1.56128e-06 2.48767e-06 2.66598e-06 2.52269e-06 3.88451e-06 2.56408e-06 5.20636e-06 2.60507e-06 6.60537e-06 2.63256e-06 8.0435e-06 2.6277e-06 9.47842e-06 2.5748e-06 1.08731e-05 2.46722e-06 1.22039e-05 2.31031e-06 1.34623e-05 2.11653e-06 1.46518e-05 1.89925e-06 1.57815e-05 1.66804e-06 1.68608e-05 1.42649e-06 1.78955e-05 1.17329e-06 1.88883e-05 9.05802e-07 1.98402e-05 6.22764e-07 2.07523e-05 3.2536e-07 2.16273e-05 1.61087e-08 2.24701e-05 -3.0211e-07 2.32871e-05 -6.27046e-07 2.40845e-05 -9.56809e-07 2.4867e-05 -1.29092e-06 2.56392e-05 -1.63014e-06 2.64053e-05 -1.97554e-06 2.71689e-05 -2.3281e-06 2.79332e-05 -2.68849e-06 2.87007e-05 -3.05731e-06 2.94738e-05 -3.43518e-06 3.02545e-05 -3.82264e-06 3.10448e-05 -4.22038e-06 3.18463e-05 -4.62934e-06 3.26603e-05 -5.05058e-06 3.3488e-05 -5.48524e-06 3.43304e-05 -5.93443e-06 3.51882e-05 -6.39912e-06 3.60618e-05 -6.88012e-06 3.69513e-05 -7.37782e-06 3.78565e-05 -7.89223e-06 3.87772e-05 -8.42309e-06 3.97125e-05 -8.96989e-06 4.06613e-05 -9.53184e-06 4.16224e-05 -1.01079e-05 4.25941e-05 -1.06966e-05 4.35746e-05 -1.12964e-05 4.45621e-05 -1.19055e-05 4.55545e-05 -1.25215e-05 4.65496e-05 -1.3142e-05 4.75454e-05 -1.3764e-05 4.85396e-05 -1.43842e-05 4.95299e-05 -1.49989e-05 5.05136e-05 -1.56041e-05 5.14879e-05 -1.61956e-05 5.24497e-05 -1.67692e-05 5.33953e-05 -1.73204e-05 5.43209e-05 -1.78447e-05 5.52224e-05 -1.83372e-05 5.60956e-05 -1.87928e-05 5.69365e-05 -1.92062e-05 5.77415e-05 -1.9572e-05 5.85072e-05 -1.98849e-05 5.92308e-05 -2.01396e-05 5.99106e-05 -2.0331e-05 6.05457e-05 -2.04545e-05 6.11366e-05 -2.05078e-05 6.1684e-05 -2.04913e-05 6.21881e-05 -2.04098e-05 6.26486e-05 -2.02687e-05 6.3066e-05 -2.00716e-05 6.34415e-05 -1.98218e-05 6.37773e-05 -1.95229e-05 6.40759e-05 -1.91796e-05 6.43402e-05 -1.87976e-05 6.45734e-05 -1.83837e-05 6.47784e-05 -1.79454e-05 6.49585e-05 -1.74905e-05 6.51165e-05 -1.7028e-05 6.52551e-05 -1.65659e-05 6.53762e-05 -1.61157e-05 6.54811e-05 -1.56827e-05 6.55678e-05 -1.5287e-05 6.56349e-05 -1.49125e-05 6.56665e-05 -1.4622e-05 6.56577e-05 -1.4254e-05 6.55598e-05 -1.41649e-05 -1.30502e-05 -7.00233e-08 4.97295e-06 -4.04267e-07 4.95e-06 -6.61039e-07 4.80226e-06 -6.8081e-07 4.46292e-06 -5.24271e-07 4.10523e-06 -2.37557e-07 3.82243e-06 1.64023e-07 3.54717e-06 6.68059e-07 3.27508e-06 1.26239e-06 3.00294e-06 1.93094e-06 2.73654e-06 2.66541e-06 2.47556e-06 3.45931e-06 2.22063e-06 4.30615e-06 1.98238e-06 5.19748e-06 1.75574e-06 6.15138e-06 1.54579e-06 7.2372e-06 1.40185e-06 8.42733e-06 1.33256e-06 9.68819e-06 1.30322e-06 1.10029e-05 1.29036e-06 1.23569e-05 1.27852e-06 1.37302e-05 1.25442e-06 1.50986e-05 1.20645e-06 1.64386e-05 1.1272e-06 1.7733e-05 1.01593e-06 1.89726e-05 8.76883e-07 2.01557e-05 7.16165e-07 2.12849e-05 5.38843e-07 2.23641e-05 3.47262e-07 2.33963e-05 1.41102e-07 2.43835e-05 -8.13649e-08 2.53276e-05 -3.21401e-07 2.62316e-05 -5.78572e-07 2.70984e-05 -8.5078e-07 2.79319e-05 -1.13553e-06 2.87359e-05 -1.43109e-06 2.95156e-05 -1.73646e-06 3.02759e-05 -2.05125e-06 3.10214e-05 -2.37565e-06 3.1756e-05 -2.71014e-06 3.24831e-05 -3.05519e-06 3.32058e-05 -3.41121e-06 3.3927e-05 -3.77855e-06 3.46495e-05 -4.15763e-06 3.53757e-05 -4.54881e-06 3.61078e-05 -4.95253e-06 3.68479e-05 -5.36939e-06 3.75973e-05 -5.80006e-06 3.83573e-05 -6.24522e-06 3.91284e-05 -6.70549e-06 3.99106e-05 -7.18139e-06 4.07038e-05 -7.67326e-06 4.15071e-05 -8.18114e-06 4.23197e-05 -8.7048e-06 4.31403e-05 -9.24376e-06 4.39678e-05 -9.79739e-06 4.48008e-05 -1.03648e-05 4.56379e-05 -1.09449e-05 4.64777e-05 -1.15364e-05 4.73189e-05 -1.21376e-05 4.81601e-05 -1.27467e-05 4.89998e-05 -1.33612e-05 4.98363e-05 -1.39785e-05 5.06678e-05 -1.45955e-05 5.14921e-05 -1.52086e-05 5.2307e-05 -1.58137e-05 5.31095e-05 -1.64066e-05 5.38968e-05 -1.6983e-05 5.46657e-05 -1.75381e-05 5.54127e-05 -1.80674e-05 5.61344e-05 -1.85663e-05 5.68272e-05 -1.903e-05 5.74879e-05 -1.94535e-05 5.81135e-05 -1.98319e-05 5.87015e-05 -2.01601e-05 5.92499e-05 -2.04332e-05 5.9757e-05 -2.06467e-05 6.02222e-05 -2.07962e-05 6.06458e-05 -2.08781e-05 6.10289e-05 -2.08908e-05 6.13728e-05 -2.08352e-05 6.16786e-05 -2.07156e-05 6.19472e-05 -2.05373e-05 6.21798e-05 -2.03042e-05 6.23783e-05 -2.00203e-05 6.2545e-05 -1.96896e-05 6.26825e-05 -1.93171e-05 6.27938e-05 -1.89089e-05 6.28818e-05 -1.84717e-05 6.29492e-05 -1.80128e-05 6.29988e-05 -1.75402e-05 6.30332e-05 -1.70623e-05 6.30545e-05 -1.65872e-05 6.3064e-05 -1.61253e-05 6.30628e-05 -1.56815e-05 6.30486e-05 -1.52728e-05 6.30203e-05 -1.48842e-05 6.29636e-05 -1.45653e-05 6.2878e-05 -1.41683e-05 6.2718e-05 -1.40049e-05 -1.28035e-05 2.21351e-07 4.7516e-06 4.1499e-07 4.75636e-06 7.35786e-07 4.48147e-06 1.34947e-06 3.84924e-06 2.16172e-06 3.29298e-06 3.08056e-06 2.90359e-06 4.07e-06 2.55773e-06 5.11351e-06 2.23157e-06 6.19674e-06 1.91972e-06 7.30898e-06 1.62429e-06 8.44507e-06 1.33948e-06 9.59794e-06 1.06775e-06 1.0759e-05 8.21355e-07 1.19109e-05 6.03765e-07 1.30431e-05 4.13618e-07 1.42124e-05 2.32579e-07 1.54257e-05 1.19287e-07 1.66693e-05 5.95764e-08 1.79317e-05 2.79237e-08 1.92019e-05 8.33801e-09 2.04672e-05 -1.08784e-08 2.17137e-05 -4.00762e-08 2.2928e-05 -8.71057e-08 2.40997e-05 -1.55678e-07 2.52224e-05 -2.45852e-07 2.62943e-05 -3.5571e-07 2.73163e-05 -4.83182e-07 2.82909e-05 -6.27359e-07 2.92208e-05 -7.88754e-07 3.01078e-05 -9.68417e-07 3.09535e-05 -1.16712e-06 3.17599e-05 -1.38497e-06 3.25302e-05 -1.62108e-06 3.32688e-05 -1.87406e-06 3.39802e-05 -2.1425e-06 3.46692e-05 -2.42544e-06 3.53403e-05 -2.72234e-06 3.59976e-05 -3.033e-06 3.6645e-05 -3.35749e-06 3.72856e-05 -3.69588e-06 3.79226e-05 -4.04819e-06 3.85585e-05 -4.41441e-06 3.91954e-05 -4.79452e-06 3.9835e-05 -5.18847e-06 4.04788e-05 -5.5963e-06 4.11276e-05 -6.01816e-06 4.17818e-05 -6.45427e-06 4.24415e-05 -6.90494e-06 4.31065e-05 -7.37045e-06 4.37762e-05 -7.85109e-06 4.44499e-05 -8.34702e-06 4.5127e-05 -8.85823e-06 4.58067e-05 -9.38449e-06 4.64883e-05 -9.92541e-06 4.71713e-05 -1.04804e-05 4.7855e-05 -1.10485e-05 4.85388e-05 -1.16288e-05 4.9222e-05 -1.22196e-05 4.99036e-05 -1.28192e-05 5.05824e-05 -1.34255e-05 5.12569e-05 -1.40357e-05 5.19252e-05 -1.46468e-05 5.25851e-05 -1.52554e-05 5.32341e-05 -1.58576e-05 5.38695e-05 -1.64491e-05 5.44885e-05 -1.70256e-05 5.50881e-05 -1.75826e-05 5.56656e-05 -1.81155e-05 5.6218e-05 -1.86199e-05 5.67427e-05 -1.9091e-05 5.72373e-05 -1.95245e-05 5.76995e-05 -1.99157e-05 5.81273e-05 -2.02597e-05 5.85195e-05 -2.05522e-05 5.88748e-05 -2.07885e-05 5.91928e-05 -2.09647e-05 5.94737e-05 -2.10771e-05 5.97183e-05 -2.11228e-05 5.99283e-05 -2.11008e-05 6.01053e-05 -2.10123e-05 6.02511e-05 -2.08614e-05 6.0367e-05 -2.06531e-05 6.04546e-05 -2.03919e-05 6.05159e-05 -2.00816e-05 6.05534e-05 -1.9727e-05 6.05694e-05 -1.93332e-05 6.05666e-05 -1.89061e-05 6.05474e-05 -1.84525e-05 6.05144e-05 -1.79798e-05 6.04698e-05 -1.74956e-05 6.04156e-05 -1.70081e-05 6.03533e-05 -1.6525e-05 6.02839e-05 -1.60559e-05 6.0208e-05 -1.56056e-05 6.01232e-05 -1.5188e-05 6.00289e-05 -1.47899e-05 5.99121e-05 -1.44485e-05 5.97758e-05 -1.40321e-05 5.95783e-05 -1.38073e-05 -1.25614e-05 2.43613e-06 2.31546e-06 4.43476e-06 2.75773e-06 5.74167e-06 3.17456e-06 7.13117e-06 2.45974e-06 8.64373e-06 1.78042e-06 1.01936e-05 1.35377e-06 1.17325e-05 1.01875e-06 1.32405e-05 7.23623e-07 1.47006e-05 4.59637e-07 1.61039e-05 2.20915e-07 1.74348e-05 8.61146e-09 1.86835e-05 -1.80947e-07 1.9862e-05 -3.57179e-07 2.09834e-05 -5.17592e-07 2.20558e-05 -6.58835e-07 2.3079e-05 -7.90605e-07 2.40919e-05 -8.93633e-07 2.51083e-05 -9.56738e-07 2.61267e-05 -9.90542e-07 2.71408e-05 -1.00577e-06 2.81428e-05 -1.01282e-06 2.91242e-05 -1.02146e-06 3.00769e-05 -1.03987e-06 3.09946e-05 -1.0734e-06 3.18734e-05 -1.12464e-06 3.2712e-05 -1.19431e-06 3.35113e-05 -1.28241e-06 3.42732e-05 -1.38927e-06 3.50002e-05 -1.5158e-06 3.5695e-05 -1.66318e-06 3.63601e-05 -1.8322e-06 3.69981e-05 -2.02295e-06 3.76118e-05 -2.23481e-06 3.82044e-05 -2.46667e-06 3.87791e-05 -2.71722e-06 3.93391e-05 -2.98541e-06 3.98872e-05 -3.27045e-06 4.0426e-05 -3.57181e-06 4.09576e-05 -3.88914e-06 4.14839e-05 -4.22214e-06 4.20062e-05 -4.57049e-06 4.25257e-05 -4.93388e-06 4.30432e-05 -5.31203e-06 4.35595e-05 -5.70474e-06 4.4075e-05 -6.11187e-06 4.45904e-05 -6.53348e-06 4.51058e-05 -6.96971e-06 4.56217e-05 -7.42081e-06 4.61383e-05 -7.88705e-06 4.66559e-05 -8.36868e-06 4.71747e-05 -8.86585e-06 4.7695e-05 -9.3785e-06 4.82168e-05 -9.90636e-06 4.87403e-05 -1.04489e-05 4.92652e-05 -1.10053e-05 4.9791e-05 -1.15744e-05 5.0317e-05 -1.21547e-05 5.08419e-05 -1.27445e-05 5.13644e-05 -1.33417e-05 5.18824e-05 -1.39435e-05 5.23939e-05 -1.45472e-05 5.28966e-05 -1.51495e-05 5.33879e-05 -1.57467e-05 5.38653e-05 -1.6335e-05 5.43264e-05 -1.69102e-05 5.47688e-05 -1.7468e-05 5.51903e-05 -1.80041e-05 5.55887e-05 -1.85139e-05 5.59621e-05 -1.89932e-05 5.63086e-05 -1.94376e-05 5.66268e-05 -1.98427e-05 5.69151e-05 -2.0204e-05 5.71725e-05 -2.05172e-05 5.73984e-05 -2.0778e-05 5.75923e-05 -2.09825e-05 5.77545e-05 -2.11269e-05 5.78857e-05 -2.12082e-05 5.79871e-05 -2.12242e-05 5.80605e-05 -2.11742e-05 5.81079e-05 -2.10597e-05 5.8131e-05 -2.08845e-05 5.81316e-05 -2.06537e-05 5.81112e-05 -2.03715e-05 5.80718e-05 -2.00423e-05 5.80156e-05 -1.96707e-05 5.79446e-05 -1.92622e-05 5.78611e-05 -1.88226e-05 5.77671e-05 -1.83586e-05 5.76646e-05 -1.78773e-05 5.75553e-05 -1.73863e-05 5.74408e-05 -1.68935e-05 5.73221e-05 -1.64063e-05 5.71998e-05 -1.59335e-05 5.70741e-05 -1.54799e-05 5.69426e-05 -1.50565e-05 5.68051e-05 -1.46524e-05 5.66498e-05 -1.42932e-05 5.64829e-05 -1.38652e-05 5.62657e-05 -1.35901e-05 -1.23315e-05 2.38552e-06 5.39228e-06 9.21313e-06 1.24106e-05 1.50765e-05 1.74349e-05 1.95504e-05 2.14567e-05 2.3184e-05 2.47562e-05 2.61993e-05 2.75331e-05 2.8765e-05 2.99021e-05 3.095e-05 3.19053e-05 3.27946e-05 3.36342e-05 3.44304e-05 3.51872e-05 3.59074e-05 3.65929e-05 3.72451e-05 3.78652e-05 3.84548e-05 3.90159e-05 3.95509e-05 4.00623e-05 4.05522e-05 4.10228e-05 4.14754e-05 4.19115e-05 4.23323e-05 4.27391e-05 4.31334e-05 4.35167e-05 4.38902e-05 4.42555e-05 4.46137e-05 4.4966e-05 4.53137e-05 4.5658e-05 4.60001e-05 4.63413e-05 4.66828e-05 4.70258e-05 4.73715e-05 4.77207e-05 4.80743e-05 4.84327e-05 4.87962e-05 4.91645e-05 4.95372e-05 4.99136e-05 5.02924e-05 5.06723e-05 5.10515e-05 5.14282e-05 5.18003e-05 5.21658e-05 5.25224e-05 5.28682e-05 5.32012e-05 5.35194e-05 5.38211e-05 5.41045e-05 5.43682e-05 5.46105e-05 5.48302e-05 5.50261e-05 5.51971e-05 5.53423e-05 5.54613e-05 5.55539e-05 5.56202e-05 5.56608e-05 5.56768e-05 5.56696e-05 5.5641e-05 5.55929e-05 5.55271e-05 5.54451e-05 5.53486e-05 5.52392e-05 5.51186e-05 5.49888e-05 5.48513e-05 5.4708e-05 5.45602e-05 5.44093e-05 5.42563e-05 5.41021e-05 5.39466e-05 5.37901e-05 5.363e-05 5.34667e-05 5.32894e-05 5.31068e-05 5.28824e-05 ) ; boundaryField { outlet { type calculated; value nonuniform List<scalar> 55 ( 4.31143e-05 4.50508e-05 4.70285e-05 4.90428e-05 5.10894e-05 5.31642e-05 5.52623e-05 5.73794e-05 5.95123e-05 6.16595e-05 6.38206e-05 6.59968e-05 6.81907e-05 7.04061e-05 7.26469e-05 7.49172e-05 7.72206e-05 7.956e-05 8.19382e-05 8.43583e-05 8.68242e-05 8.93411e-05 9.19145e-05 9.45496e-05 9.72507e-05 0.000100021 0.000102862 0.000105775 0.000108759 0.000111809 0.000114914 0.000118028 0.000121096 0.000124088 0.000127101 0.000129798 0.000129825 0.000121437 0.000115566 6.49726e-05 6.78078e-05 6.69929e-05 6.55518e-05 6.7474e-05 6.91816e-05 7.05206e-05 7.10564e-05 7.07417e-05 6.9601e-05 6.77475e-05 6.53211e-05 6.24713e-05 5.93362e-05 5.60358e-05 5.26697e-05 ) ; } inlet { type calculated; value nonuniform List<scalar> 40 ( -6.02685e-05 -6.19903e-05 -6.37614e-05 -6.55831e-05 -6.74568e-05 -6.9384e-05 -7.13663e-05 -7.34053e-05 -7.55025e-05 -7.76596e-05 -7.98783e-05 -8.21604e-05 -8.45078e-05 -8.69222e-05 -8.94055e-05 -9.19599e-05 -9.45872e-05 -9.72895e-05 -0.000100069 -0.000102928 -0.000105869 -0.000108893 -0.000112004 -0.000115204 -0.000118496 -0.000121881 -0.000125363 -0.000128945 -0.000132629 -0.000136418 -0.000140316 -0.000144325 -0.000148448 -0.000152689 -0.000157051 -0.000161538 -0.000166154 -0.000170901 -0.000175783 -0.000180805 ) ; } lowerWall { type calculated; value uniform 0; } upperWall { type calculated; value uniform 0; } frontAndBack { type empty; value nonuniform 0(); } } // ************************************************************************* //
7fc55dd73efcaa473ee9b40c0c925bac97ad09a1
1159030eee69bdc03f5cee1114ed1191a664cc92
/src/time_lost/logic/turns/lose_turn.cc
59f9c87bb95bcfed3f4c3fb85fe265d53e8fc576
[]
no_license
mirrin00/oop-2020-game
39ec2d1c76ad564c03f389ec008e85033e74ca94
253f0ea67c67f56ff738aa2d5bbb2f1cfe34538b
refs/heads/master
2023-03-03T21:03:10.439187
2021-02-03T08:49:38
2021-02-03T08:49:38
294,954,056
2
0
null
null
null
null
UTF-8
C++
false
false
331
cc
lose_turn.cc
#include "time_lost/logic/turns/lose_turn.h" namespace time_lost{ namespace logic{ namespace turns{ LoseTurn::LoseTurn(TimeLost& game): TurnInterface(game) { } void LoseTurn::Pause(){} void LoseTurn::NextTurn(){} types::Turns::Turn LoseTurn::GetTurn(){ return types::Turns::kLose; } } // turns } // logic } // time_lost
94228ae9ab35e4ed961f5bd3db359b629db5aa43
bfb9f93907ac89405ce7959090b93f654a7f2651
/app/CursorHome.cpp
22040c74deaa22f6110ac7c84554a0e8ed083f63
[]
no_license
eltonxue/BooEditor
7976a5040da5ee6cd6e97811407a4a7854cd96c8
3533540d962f49e630efe8761ff3e9a06a351c7f
refs/heads/master
2021-01-11T16:26:18.719018
2017-01-26T03:53:46
2017-01-26T03:53:46
80,083,848
0
4
null
null
null
null
UTF-8
C++
false
false
222
cpp
CursorHome.cpp
#include "CursorHome.hpp" void CursorHome::execute(EditorModel& model) { previousColumn = model.cursorColumn(); model.moveHome(); } void CursorHome::undo(EditorModel& model) { model.setCursorColumn(previousColumn); }
8079e0b079737b310f647ef19d488b553ad1b9c6
a94a34cd7af1f45267e6eb0dfda627f1a9c7070c
/Practices/Training/Competition/MonthlyCompetition/20190531yz/source/jf0211_潘尚灵/square.cpp
e4c26c793e0afd57bd34019d6e8c58ad7f4fb33f
[]
no_license
AI1379/OILearning
91f266b942d644e8567cda20c94126ee63e6dd4b
98a3bd303bc2be97e8ca86d955d85eb7c1920035
refs/heads/master
2021-10-16T16:37:39.161312
2021-10-09T11:50:32
2021-10-09T11:50:32
187,294,534
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
square.cpp
#include<bits/stdc++.h> using namespace std; int n,k,f=0; double ayu=0,mit=0,gen=0,a,l; int main() { freopen("square.in","r",stdin); freopen("square.out","w",stdout); cin>>n>>k; int i,j; a=n; for(i=1;i<=k;i++) { for(j=1;j<=4;j++) { if(f==0) ayu+=a; else if(f==1) mit+=a; else if(f==2) gen+=a; f=(f+1)%3; } l=a/2; a=sqrt(l*l+l*l); } printf("%.3lf %.3lf %.3lf\n",ayu,mit,gen); return 0; }
a70fec3e8115f0714455a3effb687cac72d2429e
f23558787b3372cf7083eab33acbf6aab101daaf
/samples/Interrupts/Interrupts.ino
05674cdaf421738960e30819abd6b66f80782af6
[ "MIT" ]
permissive
sidey79/win32Arduino
1f01bd42782be1e721ae185ad43b3c5daf8ddb28
bdffc50a7b122458875aab25ef1658b7a75d666c
refs/heads/master
2023-02-13T01:05:08.665302
2023-02-05T17:15:07
2023-02-05T17:15:07
129,792,697
0
0
MIT
2018-04-16T19:08:33
2018-04-16T19:08:32
null
UTF-8
C++
false
false
700
ino
Interrupts.ino
void setup() { // put your setup code here, to run once: Serial.begin(115200); { Serial.print("sizeof()="); Serial.println(sizeof(SREG)); } { Serial.print("default="); Serial.println((int)SREG); } { noInterrupts(); uint8_t disabled = SREG; interrupts(); Serial.print("noInterrupts()="); Serial.println((int)disabled); } { interrupts(); uint8_t enabled = SREG; Serial.print("interrupts()="); Serial.println((int)enabled); } { cli(); uint8_t disabled = SREG; interrupts(); Serial.print("cli()="); Serial.println((int)disabled); } } void loop() { // put your main code here, to run repeatedly: }
278cf3af441385392276c4eea29579e9302ddb4b
20a59a738c1d8521dc95c380190b48d7bc3bb0bb
/uiresources_plat/layout_data_api/inc/appapaclayout.cdl.h
62ebe54a335d607c4bfa685495d192599299dc90
[]
no_license
SymbianSource/oss.FCL.sf.mw.uiresources
376c0cf0bccf470008ae066aeae1e3538f9701c6
b78660bec78835802edd6575b96897d4aba58376
refs/heads/master
2021-01-13T13:17:08.423030
2010-10-19T08:42:43
2010-10-19T08:42:43
72,681,263
2
0
null
null
null
null
UTF-8
C++
false
false
37,644
h
appapaclayout.cdl.h
/* * Copyright (c) 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: * */ // It contains the client API. // It should not be modified manually. #ifndef APPAPACLAYOUT_CDL #define APPAPACLAYOUT_CDL #include <CdlEngine.h> #include <appapaclayout.cdl.common.h> namespace AppApacLayout { class CInstance; // Standard interface functions inline void LoadCustomisationL(const TCdlRef& aRef) { CdlEngine::LoadCustomisationL(aRef); } inline void LoadCustomisationL(const TDesC& aLibName, TInt aInstId) { TCdlRef ref = { aInstId, { KCdlInterfaceUidValue }, &aLibName }; LoadCustomisationL(ref); } inline void RequireCustomisationL() { CdlEngine::RequireCustomisationL(&KCdlInterface); } inline TBool IsCustomisationStarted() { return CdlEngine::IsCustomisationStarted(&KCdlInterface); } inline const CInstance& CustomisationInstance() { return (const CInstance&)(CdlEngine::CustomisationInstance(KCdlInterfaceUid)); } inline void SetCustomisationChangeObserverL(MCdlChangeObserver* aObserver) { CdlEngine::SetCustomisationChangeObserverL(aObserver, KCdlInterfaceUid); } inline const TCdlRef& LastAccessedRef() { return CdlEngine::LastAccessedRef(KCdlInterfaceUid); } inline void FileNameRelativeToLastAccessedInstance(TFileName& aFileName) { CdlEngine::FileNameRelativeToLastAccessedInstance(KCdlInterfaceUid, aFileName); } // CDL API functions, as defined in appapaclayout.cdl // LAF Table : Real time view texts inline TAknTextLineLayout Real_time_view_texts_Line_1(TInt aIndex_B) { return (*(TReal_time_view_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_Line_1)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Real_time_view_texts_Line_1(TInt aNumberOfLinesShown) { return (*(TMultiline_Real_time_view_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Real_time_view_texts_Line_1)))(aNumberOfLinesShown); } inline TAknTextLineLayout Real_time_view_texts_Line_2(TInt aIndex_B) { return (*(TReal_time_view_texts_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_Line_2)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Real_time_view_texts_Line_2(TInt aNumberOfLinesShown) { return (*(TMultiline_Real_time_view_texts_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Real_time_view_texts_Line_2)))(aNumberOfLinesShown); } inline TAknTextLineLayout Real_time_view_texts_Line_3(TInt aCommon1) { return (*(TReal_time_view_texts_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_Line_3)))(aCommon1); } inline TAknTextLineLayout Real_time_view_texts_Line_4(TInt aCommon1) { return (*(TReal_time_view_texts_Line_4_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_Line_4)))(aCommon1); } inline TAknTextLineLayout Real_time_view_texts_Line_5() { return (*(TReal_time_view_texts_Line_5_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_Line_5)))(); } inline TAknLayoutTableLimits Real_time_view_texts_SUB_TABLE_0_Limits() { return (*(TReal_time_view_texts_SUB_TABLE_0_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Real_time_view_texts_SUB_TABLE_0(TInt aLineIndex, TInt aIndex_B) { return (*(TReal_time_view_texts_SUB_TABLE_0_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_SUB_TABLE_0)))(aLineIndex, aIndex_B); } inline TAknLayoutTableLimits Real_time_view_texts_SUB_TABLE_1_Limits() { return (*(TReal_time_view_texts_SUB_TABLE_1_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Real_time_view_texts_SUB_TABLE_1(TInt aLineIndex, TInt aCommon1) { return (*(TReal_time_view_texts_SUB_TABLE_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Real_time_view_texts_SUB_TABLE_1)))(aLineIndex, aCommon1); } // LAF Table : Alarm clock view texts inline TAknTextLineLayout Alarm_clock_view_texts_Line_1() { return (*(TAlarm_clock_view_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_1)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_2(TInt aCommon1) { return (*(TAlarm_clock_view_texts_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_2)))(aCommon1); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_3(TInt aCommon1) { return (*(TAlarm_clock_view_texts_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_3)))(aCommon1); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_4() { return (*(TAlarm_clock_view_texts_Line_4_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_4)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_5() { return (*(TAlarm_clock_view_texts_Line_5_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_5)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_6(TInt aIndex_B) { return (*(TAlarm_clock_view_texts_Line_6_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_6)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Alarm_clock_view_texts_Line_6(TInt aNumberOfLinesShown) { return (*(TMultiline_Alarm_clock_view_texts_Line_6_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Alarm_clock_view_texts_Line_6)))(aNumberOfLinesShown); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_7() { return (*(TAlarm_clock_view_texts_Line_7_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_7)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_8() { return (*(TAlarm_clock_view_texts_Line_8_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_Line_8)))(); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_0_Limits() { return (*(TAlarm_clock_view_texts_SUB_TABLE_0_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_0(TInt aLineIndex, TInt aCommon1) { return (*(TAlarm_clock_view_texts_SUB_TABLE_0_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_0)))(aLineIndex, aCommon1); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_1_Limits() { return (*(TAlarm_clock_view_texts_SUB_TABLE_1_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_1(TInt aLineIndex) { return (*(TAlarm_clock_view_texts_SUB_TABLE_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_1)))(aLineIndex); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_2_Limits() { return (*(TAlarm_clock_view_texts_SUB_TABLE_2_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_2_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_2(TInt aLineIndex) { return (*(TAlarm_clock_view_texts_SUB_TABLE_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Alarm_clock_view_texts_SUB_TABLE_2)))(aLineIndex); } // LAF Table : Help text bolding inline TAknTextLineLayout Help_text_bolding_Line_1() { return (*(THelp_text_bolding_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Help_text_bolding_Line_1)))(); } inline TAknTextLineLayout Help_text_bolding_Line_2() { return (*(THelp_text_bolding_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Help_text_bolding_Line_2)))(); } inline TAknLayoutTableLimits Help_text_bolding_Limits() { return (*(THelp_text_bolding_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Help_text_bolding_Limits)))(); } inline TAknTextLineLayout Help_text_bolding(TInt aLineIndex) { return (*(THelp_text_bolding_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Help_text_bolding)))(aLineIndex); } // LAF Table : Chinese Dictionary text inline TAknTextLineLayout Chinese_Dictionary_text_Line_1() { return (*(TChinese_Dictionary_text_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_Line_1)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_2() { return (*(TChinese_Dictionary_text_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_Line_2)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_3(TInt aIndex_B) { return (*(TChinese_Dictionary_text_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_Line_3)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Chinese_Dictionary_text_Line_3(TInt aNumberOfLinesShown) { return (*(TMultiline_Chinese_Dictionary_text_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Chinese_Dictionary_text_Line_3)))(aNumberOfLinesShown); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_4(TInt aIndex_B) { return (*(TChinese_Dictionary_text_Line_4_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_Line_4)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Chinese_Dictionary_text_Line_4(TInt aNumberOfLinesShown) { return (*(TMultiline_Chinese_Dictionary_text_Line_4_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Chinese_Dictionary_text_Line_4)))(aNumberOfLinesShown); } inline TAknLayoutTableLimits Chinese_Dictionary_text_SUB_TABLE_0_Limits() { return (*(TChinese_Dictionary_text_SUB_TABLE_0_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_SUB_TABLE_0(TInt aLineIndex) { return (*(TChinese_Dictionary_text_SUB_TABLE_0_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_SUB_TABLE_0)))(aLineIndex); } inline TAknLayoutTableLimits Chinese_Dictionary_text_SUB_TABLE_1_Limits() { return (*(TChinese_Dictionary_text_SUB_TABLE_1_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_SUB_TABLE_1(TInt aLineIndex, TInt aIndex_B) { return (*(TChinese_Dictionary_text_SUB_TABLE_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_text_SUB_TABLE_1)))(aLineIndex, aIndex_B); } // LAF Table : Chinese Dictionary elements and descendant panes inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_1() { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_1)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_2() { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_2)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_3() { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_3)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_4() { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_4_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_4)))(); } inline TAknWindowLineLayout chi_dic_find_pane() { return (*(Tchi_dic_find_pane_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_chi_dic_find_pane)))(); } inline TAknWindowLineLayout chi_dic_list_pane() { return (*(Tchi_dic_list_pane_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_chi_dic_list_pane)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_elements_and_descendant_panes_Limits() { return (*(TChinese_Dictionary_elements_and_descendant_panes_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes_Limits)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes(TInt aLineIndex) { return (*(TChinese_Dictionary_elements_and_descendant_panes_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_elements_and_descendant_panes)))(aLineIndex); } // LAF Table : Incoming video call pop-up window texts inline TAknTextLineLayout Incoming_video_call_pop_up_window_texts_Line_1(TInt aCommon1, TInt aCommon2) { return (*(TIncoming_video_call_pop_up_window_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Incoming_video_call_pop_up_window_texts_Line_1)))(aCommon1, aCommon2); } inline TAknMultiLineTextLayout Multiline_Incoming_video_call_pop_up_window_texts_Line_1(TInt aCommon1, TInt aCommon2, TInt aNumberOfLinesShown) { return (*(TMultiline_Incoming_video_call_pop_up_window_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Incoming_video_call_pop_up_window_texts_Line_1)))(aCommon1, aCommon2, aNumberOfLinesShown); } // LAF Table : First video call pop-up window texts inline TAknTextLineLayout First_video_call_pop_up_window_texts_Line_1() { return (*(TFirst_video_call_pop_up_window_texts_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_First_video_call_pop_up_window_texts_Line_1)))(); } // LAF Table : Lunar Calendar information layout inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_1() { return (*(TLunar_Calendar_information_layout_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Lunar_Calendar_information_layout_Line_1)))(); } inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_2(TInt aIndex_B) { return (*(TLunar_Calendar_information_layout_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Lunar_Calendar_information_layout_Line_2)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Lunar_Calendar_information_layout_Line_2(TInt aNumberOfLinesShown) { return (*(TMultiline_Lunar_Calendar_information_layout_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Multiline_Lunar_Calendar_information_layout_Line_2)))(aNumberOfLinesShown); } inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_3() { return (*(TLunar_Calendar_information_layout_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Lunar_Calendar_information_layout_Line_3)))(); } inline TAknWindowLineLayout Lunar_Calendar_Elements_Line_1(TInt aIndex_t) { return (*(TLunar_Calendar_Elements_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Lunar_Calendar_Elements_Line_1)))(aIndex_t); } // LAF Table : Chinese Dictionary find pane text inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_1() { return (*(TChinese_Dictionary_find_pane_text_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_text_Line_1)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_2() { return (*(TChinese_Dictionary_find_pane_text_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_text_Line_2)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_3() { return (*(TChinese_Dictionary_find_pane_text_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_text_Line_3)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_find_pane_text_Limits() { return (*(TChinese_Dictionary_find_pane_text_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_text_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text(TInt aLineIndex) { return (*(TChinese_Dictionary_find_pane_text_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_text)))(aLineIndex); } // LAF Table : List pane text inline TAknTextLineLayout List_pane_text_Line_1() { return (*(TList_pane_text_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_text_Line_1)))(); } inline TAknTextLineLayout List_pane_text_Line_2() { return (*(TList_pane_text_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_text_Line_2)))(); } inline TAknLayoutTableLimits List_pane_text_Limits() { return (*(TList_pane_text_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_text_Limits)))(); } inline TAknTextLineLayout List_pane_text(TInt aLineIndex) { return (*(TList_pane_text_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_text)))(aLineIndex); } // LAF Table : inline TAknWindowLineLayout List_pane_highlight__chi_dic__Line_1() { return (*(TList_pane_highlight__chi_dic__Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_highlight__chi_dic__Line_1)))(); } inline TAknWindowLineLayout List_pane_highlight__chi_dic__Line_2() { return (*(TList_pane_highlight__chi_dic__Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_highlight__chi_dic__Line_2)))(); } inline TAknLayoutTableLimits List_pane_highlight__chi_dic__Limits() { return (*(TList_pane_highlight__chi_dic__Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_highlight__chi_dic__Limits)))(); } inline TAknWindowLineLayout List_pane_highlight__chi_dic_(TInt aLineIndex) { return (*(TList_pane_highlight__chi_dic__sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_List_pane_highlight__chi_dic_)))(aLineIndex); } // LAF Table : Chinese Dictionary find pane elements inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_1() { return (*(TChinese_Dictionary_find_pane_elements_Line_1_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_elements_Line_1)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_2() { return (*(TChinese_Dictionary_find_pane_elements_Line_2_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_elements_Line_2)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_3() { return (*(TChinese_Dictionary_find_pane_elements_Line_3_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_elements_Line_3)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_find_pane_elements_Limits() { return (*(TChinese_Dictionary_find_pane_elements_Limits_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_elements_Limits)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements(TInt aLineIndex) { return (*(TChinese_Dictionary_find_pane_elements_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Chinese_Dictionary_find_pane_elements)))(aLineIndex); } // LAF Table : List pane placing (chi,dic) inline TAknWindowLineLayout list_chi_dic_pane(TInt aNumberOfLinesShown) { return (*(Tlist_chi_dic_pane_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_list_chi_dic_pane)))(aNumberOfLinesShown); } // LAF Table : Find pane elements (pinb) inline TAknWindowLineLayout Find_pane_elements__pinb__Line_5() { return (*(TFind_pane_elements__pinb__Line_5_sig*)(CdlEngine::GetFunction(KCdlInterfaceUid, EApiId_Find_pane_elements__pinb__Line_5)))(); } class CInstance : public CCdlInstance { public: enum { ETypeId = KCdlInterfaceUidValue }; inline static const CInstance& CustomisationInstance() { return (const CInstance&)(CdlEngine::CustomisationInstance(KCdlInterfaceUid)); } inline static CInstance* NewL(const TCdlRef& aRef, const CCdlInstance* aSubLayer = NULL) { return (CInstance*) CCdlInstance::NewL(aRef, &KCdlInterface, aSubLayer); } inline static CInstance* NewLC(const TCdlRef& aRef, const CCdlInstance* aSubLayer = NULL) { return (CInstance*) CCdlInstance::NewLC(aRef, &KCdlInterface, aSubLayer); } inline static CInstance* NewL(const TDesC& aLibName, TInt aImplId, const CCdlInstance* aSubLayer = NULL) { TCdlRef ref = { aImplId, { KCdlInterfaceUidValue }, &aLibName }; return NewL(ref, aSubLayer); } inline static CInstance* NewLC(const TDesC& aLibName, TInt aImplId, const CCdlInstance* aSubLayer = NULL) { TCdlRef ref = { aImplId, { KCdlInterfaceUidValue }, &aLibName }; return NewLC(ref, aSubLayer); } inline const CInstance* SubLayer() { return static_cast<const CInstance*>(CCdlInstance::SubLayer()); } // CDL API functions, as defined in appapaclayout.cdl // LAF Table : Real time view texts inline TAknTextLineLayout Real_time_view_texts_Line_1(TInt aIndex_B) const { return (*(TReal_time_view_texts_Line_1_sig*)(GetFunction(EApiId_Real_time_view_texts_Line_1)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Real_time_view_texts_Line_1(TInt aNumberOfLinesShown) const { return (*(TMultiline_Real_time_view_texts_Line_1_sig*)(GetFunction(EApiId_Multiline_Real_time_view_texts_Line_1)))(aNumberOfLinesShown); } inline TAknTextLineLayout Real_time_view_texts_Line_2(TInt aIndex_B) const { return (*(TReal_time_view_texts_Line_2_sig*)(GetFunction(EApiId_Real_time_view_texts_Line_2)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Real_time_view_texts_Line_2(TInt aNumberOfLinesShown) const { return (*(TMultiline_Real_time_view_texts_Line_2_sig*)(GetFunction(EApiId_Multiline_Real_time_view_texts_Line_2)))(aNumberOfLinesShown); } inline TAknTextLineLayout Real_time_view_texts_Line_3(TInt aCommon1) const { return (*(TReal_time_view_texts_Line_3_sig*)(GetFunction(EApiId_Real_time_view_texts_Line_3)))(aCommon1); } inline TAknTextLineLayout Real_time_view_texts_Line_4(TInt aCommon1) const { return (*(TReal_time_view_texts_Line_4_sig*)(GetFunction(EApiId_Real_time_view_texts_Line_4)))(aCommon1); } inline TAknTextLineLayout Real_time_view_texts_Line_5() const { return (*(TReal_time_view_texts_Line_5_sig*)(GetFunction(EApiId_Real_time_view_texts_Line_5)))(); } inline TAknLayoutTableLimits Real_time_view_texts_SUB_TABLE_0_Limits() const { return (*(TReal_time_view_texts_SUB_TABLE_0_Limits_sig*)(GetFunction(EApiId_Real_time_view_texts_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Real_time_view_texts_SUB_TABLE_0(TInt aLineIndex, TInt aIndex_B) const { return (*(TReal_time_view_texts_SUB_TABLE_0_sig*)(GetFunction(EApiId_Real_time_view_texts_SUB_TABLE_0)))(aLineIndex, aIndex_B); } inline TAknLayoutTableLimits Real_time_view_texts_SUB_TABLE_1_Limits() const { return (*(TReal_time_view_texts_SUB_TABLE_1_Limits_sig*)(GetFunction(EApiId_Real_time_view_texts_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Real_time_view_texts_SUB_TABLE_1(TInt aLineIndex, TInt aCommon1) const { return (*(TReal_time_view_texts_SUB_TABLE_1_sig*)(GetFunction(EApiId_Real_time_view_texts_SUB_TABLE_1)))(aLineIndex, aCommon1); } // LAF Table : Alarm clock view texts inline TAknTextLineLayout Alarm_clock_view_texts_Line_1() const { return (*(TAlarm_clock_view_texts_Line_1_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_1)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_2(TInt aCommon1) const { return (*(TAlarm_clock_view_texts_Line_2_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_2)))(aCommon1); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_3(TInt aCommon1) const { return (*(TAlarm_clock_view_texts_Line_3_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_3)))(aCommon1); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_4() const { return (*(TAlarm_clock_view_texts_Line_4_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_4)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_5() const { return (*(TAlarm_clock_view_texts_Line_5_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_5)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_6(TInt aIndex_B) const { return (*(TAlarm_clock_view_texts_Line_6_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_6)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Alarm_clock_view_texts_Line_6(TInt aNumberOfLinesShown) const { return (*(TMultiline_Alarm_clock_view_texts_Line_6_sig*)(GetFunction(EApiId_Multiline_Alarm_clock_view_texts_Line_6)))(aNumberOfLinesShown); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_7() const { return (*(TAlarm_clock_view_texts_Line_7_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_7)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_Line_8() const { return (*(TAlarm_clock_view_texts_Line_8_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_Line_8)))(); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_0_Limits() const { return (*(TAlarm_clock_view_texts_SUB_TABLE_0_Limits_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_0(TInt aLineIndex, TInt aCommon1) const { return (*(TAlarm_clock_view_texts_SUB_TABLE_0_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_0)))(aLineIndex, aCommon1); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_1_Limits() const { return (*(TAlarm_clock_view_texts_SUB_TABLE_1_Limits_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_1(TInt aLineIndex) const { return (*(TAlarm_clock_view_texts_SUB_TABLE_1_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_1)))(aLineIndex); } inline TAknLayoutTableLimits Alarm_clock_view_texts_SUB_TABLE_2_Limits() const { return (*(TAlarm_clock_view_texts_SUB_TABLE_2_Limits_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_2_Limits)))(); } inline TAknTextLineLayout Alarm_clock_view_texts_SUB_TABLE_2(TInt aLineIndex) const { return (*(TAlarm_clock_view_texts_SUB_TABLE_2_sig*)(GetFunction(EApiId_Alarm_clock_view_texts_SUB_TABLE_2)))(aLineIndex); } // LAF Table : Help text bolding inline TAknTextLineLayout Help_text_bolding_Line_1() const { return (*(THelp_text_bolding_Line_1_sig*)(GetFunction(EApiId_Help_text_bolding_Line_1)))(); } inline TAknTextLineLayout Help_text_bolding_Line_2() const { return (*(THelp_text_bolding_Line_2_sig*)(GetFunction(EApiId_Help_text_bolding_Line_2)))(); } inline TAknLayoutTableLimits Help_text_bolding_Limits() const { return (*(THelp_text_bolding_Limits_sig*)(GetFunction(EApiId_Help_text_bolding_Limits)))(); } inline TAknTextLineLayout Help_text_bolding(TInt aLineIndex) const { return (*(THelp_text_bolding_sig*)(GetFunction(EApiId_Help_text_bolding)))(aLineIndex); } // LAF Table : Chinese Dictionary text inline TAknTextLineLayout Chinese_Dictionary_text_Line_1() const { return (*(TChinese_Dictionary_text_Line_1_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_Line_1)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_2() const { return (*(TChinese_Dictionary_text_Line_2_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_Line_2)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_3(TInt aIndex_B) const { return (*(TChinese_Dictionary_text_Line_3_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_Line_3)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Chinese_Dictionary_text_Line_3(TInt aNumberOfLinesShown) const { return (*(TMultiline_Chinese_Dictionary_text_Line_3_sig*)(GetFunction(EApiId_Multiline_Chinese_Dictionary_text_Line_3)))(aNumberOfLinesShown); } inline TAknTextLineLayout Chinese_Dictionary_text_Line_4(TInt aIndex_B) const { return (*(TChinese_Dictionary_text_Line_4_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_Line_4)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Chinese_Dictionary_text_Line_4(TInt aNumberOfLinesShown) const { return (*(TMultiline_Chinese_Dictionary_text_Line_4_sig*)(GetFunction(EApiId_Multiline_Chinese_Dictionary_text_Line_4)))(aNumberOfLinesShown); } inline TAknLayoutTableLimits Chinese_Dictionary_text_SUB_TABLE_0_Limits() const { return (*(TChinese_Dictionary_text_SUB_TABLE_0_Limits_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_SUB_TABLE_0_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_SUB_TABLE_0(TInt aLineIndex) const { return (*(TChinese_Dictionary_text_SUB_TABLE_0_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_SUB_TABLE_0)))(aLineIndex); } inline TAknLayoutTableLimits Chinese_Dictionary_text_SUB_TABLE_1_Limits() const { return (*(TChinese_Dictionary_text_SUB_TABLE_1_Limits_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_SUB_TABLE_1_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_text_SUB_TABLE_1(TInt aLineIndex, TInt aIndex_B) const { return (*(TChinese_Dictionary_text_SUB_TABLE_1_sig*)(GetFunction(EApiId_Chinese_Dictionary_text_SUB_TABLE_1)))(aLineIndex, aIndex_B); } // LAF Table : Chinese Dictionary elements and descendant panes inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_1() const { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_1_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_1)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_2() const { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_2_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_2)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_3() const { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_3_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_3)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes_Line_4() const { return (*(TChinese_Dictionary_elements_and_descendant_panes_Line_4_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes_Line_4)))(); } inline TAknWindowLineLayout chi_dic_find_pane() const { return (*(Tchi_dic_find_pane_sig*)(GetFunction(EApiId_chi_dic_find_pane)))(); } inline TAknWindowLineLayout chi_dic_list_pane() const { return (*(Tchi_dic_list_pane_sig*)(GetFunction(EApiId_chi_dic_list_pane)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_elements_and_descendant_panes_Limits() const { return (*(TChinese_Dictionary_elements_and_descendant_panes_Limits_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes_Limits)))(); } inline TAknWindowLineLayout Chinese_Dictionary_elements_and_descendant_panes(TInt aLineIndex) const { return (*(TChinese_Dictionary_elements_and_descendant_panes_sig*)(GetFunction(EApiId_Chinese_Dictionary_elements_and_descendant_panes)))(aLineIndex); } // LAF Table : Incoming video call pop-up window texts inline TAknTextLineLayout Incoming_video_call_pop_up_window_texts_Line_1(TInt aCommon1, TInt aCommon2) const { return (*(TIncoming_video_call_pop_up_window_texts_Line_1_sig*)(GetFunction(EApiId_Incoming_video_call_pop_up_window_texts_Line_1)))(aCommon1, aCommon2); } inline TAknMultiLineTextLayout Multiline_Incoming_video_call_pop_up_window_texts_Line_1(TInt aCommon1, TInt aCommon2, TInt aNumberOfLinesShown) const { return (*(TMultiline_Incoming_video_call_pop_up_window_texts_Line_1_sig*)(GetFunction(EApiId_Multiline_Incoming_video_call_pop_up_window_texts_Line_1)))(aCommon1, aCommon2, aNumberOfLinesShown); } // LAF Table : First video call pop-up window texts inline TAknTextLineLayout First_video_call_pop_up_window_texts_Line_1() const { return (*(TFirst_video_call_pop_up_window_texts_Line_1_sig*)(GetFunction(EApiId_First_video_call_pop_up_window_texts_Line_1)))(); } // LAF Table : Lunar Calendar information layout inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_1() const { return (*(TLunar_Calendar_information_layout_Line_1_sig*)(GetFunction(EApiId_Lunar_Calendar_information_layout_Line_1)))(); } inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_2(TInt aIndex_B) const { return (*(TLunar_Calendar_information_layout_Line_2_sig*)(GetFunction(EApiId_Lunar_Calendar_information_layout_Line_2)))(aIndex_B); } inline TAknMultiLineTextLayout Multiline_Lunar_Calendar_information_layout_Line_2(TInt aNumberOfLinesShown) const { return (*(TMultiline_Lunar_Calendar_information_layout_Line_2_sig*)(GetFunction(EApiId_Multiline_Lunar_Calendar_information_layout_Line_2)))(aNumberOfLinesShown); } inline TAknTextLineLayout Lunar_Calendar_information_layout_Line_3() const { return (*(TLunar_Calendar_information_layout_Line_3_sig*)(GetFunction(EApiId_Lunar_Calendar_information_layout_Line_3)))(); } inline TAknWindowLineLayout Lunar_Calendar_Elements_Line_1(TInt aIndex_t) const { return (*(TLunar_Calendar_Elements_Line_1_sig*)(GetFunction(EApiId_Lunar_Calendar_Elements_Line_1)))(aIndex_t); } // LAF Table : Chinese Dictionary find pane text inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_1() const { return (*(TChinese_Dictionary_find_pane_text_Line_1_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_text_Line_1)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_2() const { return (*(TChinese_Dictionary_find_pane_text_Line_2_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_text_Line_2)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text_Line_3() const { return (*(TChinese_Dictionary_find_pane_text_Line_3_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_text_Line_3)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_find_pane_text_Limits() const { return (*(TChinese_Dictionary_find_pane_text_Limits_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_text_Limits)))(); } inline TAknTextLineLayout Chinese_Dictionary_find_pane_text(TInt aLineIndex) const { return (*(TChinese_Dictionary_find_pane_text_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_text)))(aLineIndex); } // LAF Table : List pane text inline TAknTextLineLayout List_pane_text_Line_1() const { return (*(TList_pane_text_Line_1_sig*)(GetFunction(EApiId_List_pane_text_Line_1)))(); } inline TAknTextLineLayout List_pane_text_Line_2() const { return (*(TList_pane_text_Line_2_sig*)(GetFunction(EApiId_List_pane_text_Line_2)))(); } inline TAknLayoutTableLimits List_pane_text_Limits() const { return (*(TList_pane_text_Limits_sig*)(GetFunction(EApiId_List_pane_text_Limits)))(); } inline TAknTextLineLayout List_pane_text(TInt aLineIndex) const { return (*(TList_pane_text_sig*)(GetFunction(EApiId_List_pane_text)))(aLineIndex); } // LAF Table : inline TAknWindowLineLayout List_pane_highlight__chi_dic__Line_1() const { return (*(TList_pane_highlight__chi_dic__Line_1_sig*)(GetFunction(EApiId_List_pane_highlight__chi_dic__Line_1)))(); } inline TAknWindowLineLayout List_pane_highlight__chi_dic__Line_2() const { return (*(TList_pane_highlight__chi_dic__Line_2_sig*)(GetFunction(EApiId_List_pane_highlight__chi_dic__Line_2)))(); } inline TAknLayoutTableLimits List_pane_highlight__chi_dic__Limits() const { return (*(TList_pane_highlight__chi_dic__Limits_sig*)(GetFunction(EApiId_List_pane_highlight__chi_dic__Limits)))(); } inline TAknWindowLineLayout List_pane_highlight__chi_dic_(TInt aLineIndex) const { return (*(TList_pane_highlight__chi_dic__sig*)(GetFunction(EApiId_List_pane_highlight__chi_dic_)))(aLineIndex); } // LAF Table : Chinese Dictionary find pane elements inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_1() const { return (*(TChinese_Dictionary_find_pane_elements_Line_1_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_elements_Line_1)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_2() const { return (*(TChinese_Dictionary_find_pane_elements_Line_2_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_elements_Line_2)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements_Line_3() const { return (*(TChinese_Dictionary_find_pane_elements_Line_3_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_elements_Line_3)))(); } inline TAknLayoutTableLimits Chinese_Dictionary_find_pane_elements_Limits() const { return (*(TChinese_Dictionary_find_pane_elements_Limits_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_elements_Limits)))(); } inline TAknWindowLineLayout Chinese_Dictionary_find_pane_elements(TInt aLineIndex) const { return (*(TChinese_Dictionary_find_pane_elements_sig*)(GetFunction(EApiId_Chinese_Dictionary_find_pane_elements)))(aLineIndex); } // LAF Table : List pane placing (chi,dic) inline TAknWindowLineLayout list_chi_dic_pane(TInt aNumberOfLinesShown) const { return (*(Tlist_chi_dic_pane_sig*)(GetFunction(EApiId_list_chi_dic_pane)))(aNumberOfLinesShown); } // LAF Table : Find pane elements (pinb) inline TAknWindowLineLayout Find_pane_elements__pinb__Line_5() const { return (*(TFind_pane_elements__pinb__Line_5_sig*)(GetFunction(EApiId_Find_pane_elements__pinb__Line_5)))(); } private: CInstance(); }; } // end of namespace AppApacLayout #endif // APPAPACLAYOUT_CDL
e448bd354bc19ac56722ee20e29a1c01b6d83b57
9c5a9cdad7a0975824d7a291d53c3801fa7c3f80
/PAT/code2/Third Chapter/3.1 8 A1002(25)/3.1 8 A1002(25)/3.1 8 A1002(25).cpp
cb16d423fdc57677e5531172ac0c0916e2dfc403
[]
no_license
luckyxuanyeah/Algorithm_Practice
893c6aaae108ab652a0355352366a393553940fe
4f6206a8bfd94d64961f2a8fb07b8afbeb82c1b1
refs/heads/master
2020-04-06T13:48:11.653204
2019-07-17T15:35:47
2019-07-17T15:35:47
157,508,492
0
0
null
2018-11-14T08:19:44
2018-11-14T07:27:47
null
GB18030
C++
false
false
809
cpp
3.1 8 A1002(25).cpp
// 3.1 8 A1002(25).cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "stdio.h" const int maxn = 1010; int main() { int k1, e, count = 0; scanf("%d", &k1); double a[maxn] = { 0 }, b[maxn] = { 0 }, c[maxn] = { 0 }, k; for (int i = 0; i < k1; i++) { scanf("%d%lf", &e, &k); a[e] = k; } scanf("%d", &k1); for (int i = 0; i < k1; i++) { scanf("%d%lf", &e, &k); b[e] = k; } for (int i = 0; i < maxn; i++) { c[i] = a[i] + b[i]; if (c[i] != 0) count++; } if (count == 0) printf("0");//当没有非零项时输出0 else{ printf("%d ", count); for (int i = 1001; i >= 0; i--) { if (c[i] != 0) { printf("%d %.1f", i, c[i]); count--; if (count > 0) printf(" "); } } } return 0; }
0507a0b289b768636a600e84ffad5d3f3e224c1d
f3c413cf12cfce8842002ad503d81b33735a7247
/include/ads/lin/band_solve.hpp
f42531310cf6ff3c7289e7f73980111062064943
[ "MIT" ]
permissive
marcinlos/iga-ads
f02d4e9d1e70c809511cb062261bb55372f6cf42
4f25e75376361d5b15ddc58f16e7bf7ae0431bd8
refs/heads/develop
2023-07-18T21:30:29.279316
2023-07-04T20:42:45
2023-07-04T20:42:45
58,336,078
9
8
MIT
2023-07-04T19:41:43
2016-05-08T23:31:46
C++
UTF-8
C++
false
false
1,175
hpp
band_solve.hpp
// SPDX-FileCopyrightText: 2015 - 2023 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #ifndef ADS_LIN_BAND_SOLVE_HPP #define ADS_LIN_BAND_SOLVE_HPP #include <iostream> #include "ads/lin/band_matrix.hpp" #include "ads/lin/lapack.hpp" #include "ads/lin/solver_ctx.hpp" #include "ads/lin/tensor.hpp" namespace ads::lin { inline void factorize(band_matrix& a, solver_ctx& ctx) { dgbtrf_(&a.rows, &a.cols, &a.kl, &a.ku, a.full_buffer(), &ctx.lda, ctx.pivot(), &ctx.info); } template <typename Rhs> inline void solve_with_factorized(const band_matrix& a, Rhs& b, solver_ctx& ctx) { int nrhs = b.size() / b.size(0); solve_with_factorized(a, b.data(), ctx, nrhs); } inline void solve_with_factorized(const band_matrix& a, double* b, solver_ctx& ctx, int nrhs) { const char* trans = "No transpose"; dgbtrs_(trans, &a.cols, &a.kl, &a.ku, &nrhs, a.full_buffer(), &ctx.lda, ctx.pivot(), b, &a.cols, &ctx.info); } template <typename Rhs> inline void solve(band_matrix& a, Rhs& b, solver_ctx& ctx) { factorize(a, ctx); solve_with_factorized(a, b, ctx); } } // namespace ads::lin #endif // ADS_LIN_BAND_SOLVE_HPP
78fa4b84d2d481a465dd476354a44953eabb4c8b
cb2c6b8bb703ab7858c65361679b6d28358ae373
/Client/Danger.h
c8c2c35e3c0dc8196cf650d5b75e782b2cc24b05
[]
no_license
qaws1134/JetLencer
5226134962224d4bc6789b8c24a74ccfd18c2be6
4b63e34058e287189384d52c7c2da63e4e3b04e9
refs/heads/master
2023-06-24T16:57:19.086917
2021-07-27T05:25:19
2021-07-27T05:25:19
383,513,834
0
0
null
null
null
null
UHC
C++
false
false
679
h
Danger.h
#pragma once #include "Ui.h" class CDanger : public CUi { private: explicit CDanger(); public: virtual ~CDanger(); public : static CGameObject* Create(_vec3 _vPos); // CUi을(를) 통해 상속됨 virtual HRESULT Ready_GameObject() override; virtual int Update_GameObject() override; virtual void State_Change() override; void Set_DangerState(DANGER::STATE _eState) { m_eDangerState = _eState; } bool Get_Danger_End() { return m_bStart; } float m_fTime; CGameObject* m_pDanger_Idle; CGameObject* m_pDanger_Crit; CGameObject* m_pDanger_Start; CGameObject* m_pDanger_End; DANGER::STATE m_eDangerState; DANGER::STATE m_ePreDangerState; bool m_bStart; };
1ebab6885a7b33cb33a81483dd4187d031219735
aa94350007127db6c1e0b2e4656759033dcb0885
/d03/ex04/main.cpp
14687f9f5cbb6800aa838a682cae716b81e16d4f
[]
no_license
zer0nim/piscine_cpp
795ebf1c8bfadd666bb3475181c5dc59b613a74b
b1be94bc42f9631c9da905693241280c30dc77d7
refs/heads/master
2020-06-01T01:04:41.709934
2020-02-10T12:36:04
2020-02-10T12:36:04
190,570,128
0
0
null
null
null
null
UTF-8
C++
false
false
1,066
cpp
main.cpp
#include "FragTrap.hpp" #include "ScavTrap.hpp" #include "NinjaTrap.hpp" #include "SuperTrap.hpp" #include <iostream> int main(void) { SuperTrap super1("super1"); super1.rangedAttack("Handsome Jack"); super1.meleeAttack("Handsome Jack"); std::cout << std::endl; super1.vaulthunter_dot_exe("Handsome Jack"); std::cout << std::endl; FragTrap frag1("frag1"); super1.ninjaShoebox(frag1); std::cout << std::endl; std::cout << "HitPoints: " << super1.getHitPoints() << std::endl; std::cout << "MaxHitPoints: " << super1.getMaxHitPoints() << std::endl; std::cout << "EnergyPoints: " << super1.getEnergyPoints() << std::endl; std::cout << "MaxEnergyPoints: " << super1.getMaxEnergyPoints() << std::endl; std::cout << "MeleeAttackDamage: " << super1.getMeleeAttackDamage() << std::endl; std::cout << "RangedAttackDamage: " << super1.getRangedAttackDamage() << std::endl; std::cout << "ArmorDamageReduction: " << super1.getArmorDamageReduction() << std::endl; std::cout << std::endl; return 0; }
470c2c19d0152f0a76785abbf784e83ed5ff370a
e05bf98909ad00dd660952f6b256a06d2eaaee28
/main.cpp
ae59c46da7da7f16da43c3a731c5969a06fe8621
[]
no_license
cadd1275941772/LL1
d2f8bb6f7e79532e328177e265e18b0351ad5cbe
62df394420346f9d3f73826cdc14cbd690f41cfc
refs/heads/master
2023-02-11T05:09:33.344950
2021-01-06T15:49:44
2021-01-06T15:49:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,623
cpp
main.cpp
#include<iostream> #include<fstream> #include<vector> #include<string> #include"LL1/LL1.h" using std::cin; using std::cout; using std::endl; using std::string; int main(){ string fromFile; cout << "input from file?(y/n):"; cin >> fromFile; if(fromFile=="y"){ //input file string path; std::ifstream if1, if2; cout << "G file :"; cin >> path; if1.open(path); cout << "input file :"; cin >> path; if2.open(path); if(if1.fail()||if2.fail()){ std::cerr << "file can not open" << endl; exit(1); } //work LL1 ll1(if1); ll1.generate_table(); ll1.print(); if(ll1.parse(if2)) cout << "result:okkkkkkkkkkkkkkkkkkkkkkkkkkkkk" << endl; else cout << "result:nooooooooooooooooooooooooooooo" << endl; }else{ string quit; cout << "input Grammar,ctrl+z to end" << endl; //input grammar LL1 ll1(cin); while(!ll1.generate_table()){ cout << "generate table fail,Please re-enter the grammar" << endl; ll1.init(cin); } ll1.print(); //work do{ cin.clear(); cout << "input text(ctrl+z end):" << endl; if(ll1.parse(cin)) cout << "result:okkkkkkkkkkkkkkkkkkkkkkkkkkkkk" << endl; else cout << "result:nooooooooooooooooooooooooooooo" << endl; cout << "quit?(y/n):"; cin.clear(); cin >> quit; } while (quit != "y"); } }
687139260a5f231a64119d31452d895ab27aab79
904dbcda329ae4d1a0bfd356175dd14d0236e15b
/AI_Search_Algorithms.cpp
a99a276ee394f851b93ace110db9fc7529fd187e
[]
no_license
codemania113/Artificial-Intelligence
ca5a74c342b96442b3a0064bdb71c4e0795bf952
c4389f0b42629ce39e362cb71d1994d729242b5c
refs/heads/master
2021-01-13T12:51:29.240253
2017-01-13T07:16:45
2017-01-13T07:16:45
78,466,419
0
0
null
null
null
null
UTF-8
C++
false
false
14,956
cpp
AI_Search_Algorithms.cpp
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <map> #include <queue> #include <vector> #include <algorithm> #include <stack> using namespace std; struct node { string state; int weight; }; struct star_node { string state; int weight; int actual_weight; }; map < string, vector<struct node> > graph; map < string, vector<struct node> >::iterator it; map <string,int> sun_graph; map <string,int>::iterator sun_it; map <string,struct node> parent; map <string,struct node>::iterator it_parent; bool bfs_search(string start_state, string goal_state) { vector <struct node>::iterator it1; queue <struct node> q; struct node ss; ss.state = start_state; ss.weight = 0; q.push(ss); parent.insert(pair<string,struct node>(start_state, ss)); while(!q.empty()) { struct node curr_node = q.front(); q.pop(); if(curr_node.state == goal_state) return true; it = graph.find(curr_node.state); if(it != graph.end()) { it1 = it->second.begin(); if(it1 != it->second.end()) { while(it1 != it->second.end()) { it_parent = parent.find(it1->state); if(it_parent == parent.end()) { struct node nn; nn.state = it1->state; nn.weight = 1 + curr_node.weight; q.push(nn); struct node np; np.state = curr_node.state; np.weight = nn.weight; parent.insert(pair<string,struct node>(it1->state, np)); } it1++; } } } } return false; } bool dfs_search(string start_state, string goal_state) { vector <struct node>::iterator it1; string temp_node; stack <struct node> s; struct node ss; ss.state = start_state; ss.weight = 0; s.push(ss); parent.insert(pair<string,struct node>(start_state, ss)); while(!s.empty()) { struct node curr_node = s.top(); s.pop(); if(curr_node.state == goal_state) return true; it = graph.find(curr_node.state); if(it != graph.end()) { it1 = it->second.begin(); vector <string> temp; vector <string>::reverse_iterator tt; if(it1 != it->second.end()) { while(it1 != it->second.end()) { temp.push_back(it1->state); it1++; } } it1 = it->second.begin(); if(it1 != it->second.end()) { for(tt=temp.rbegin();tt != temp.rend();tt++) { string temp_node = *tt; it_parent = parent.find(temp_node); if(it_parent == parent.end()) { struct node nn; nn.state = temp_node; nn.weight = 1 + curr_node.weight; s.push(nn); struct node np; np.state = curr_node.state; np.weight = nn.weight; parent.insert(pair<string,struct node>(temp_node, np)); } } } } } return false; } bool operator<(const struct node& x, const struct node& y) { return x.weight > y.weight; } bool ucs_search(string start_state, string goal_state) { map <string,int> explored; vector <struct node>::iterator it1; map <string,int> backup; map <string,int>::iterator it_backup; map <string,int>::iterator it_explored; priority_queue <struct node> pq; struct node ss; ss.state = start_state; ss.weight = 0; pq.push(ss); backup.insert(pair<string,int>(start_state,0)); parent.insert(pair<string,struct node>(start_state, ss)); while(!pq.empty()) { struct node curr_node = pq.top(); pq.pop(); backup.erase(curr_node.state); explored.insert(pair<string,int>(curr_node.state,curr_node.weight)); if(curr_node.state == goal_state) return true; it = graph.find(curr_node.state); if(it != graph.end()) { it1 = it->second.begin(); if(it1 != it->second.end()) { while(it1 != it->second.end()) { it_explored = explored.find(it1->state); it_backup = backup.find(it1->state); it_parent = parent.find(it1->state); if(it_explored == explored.end() && (it_backup == backup.end())) { struct node nn; nn.state = it1->state; nn.weight = it1->weight + curr_node.weight; pq.push(nn); backup.insert(pair<string,int>(it1->state,nn.weight)); struct node np; np.state = curr_node.state; np.weight = nn.weight; parent.insert(pair<string,struct node>(it1->state, np)); } else if(it_backup != backup.end()) { if(it_backup->second > (it1->weight + curr_node.weight)) { struct node nn; nn.state = it1->state; nn.weight = curr_node.weight + it1->weight; it_backup->second = nn.weight; it_parent->second.state = curr_node.state; it_parent->second.weight = nn.weight; stack <struct node> temp; struct node check = pq.top(); while(check.state != nn.state) { temp.push(check); pq.pop(); check = pq.top(); } pq.pop(); while(!temp.empty()) { check = temp.top(); pq.push(check); temp.pop(); } pq.push(nn); } } else if(it_explored != explored.end()) { if(it_explored->second > (it1->weight + curr_node.weight)) { struct node nn; nn.state = it1->state; nn.weight = it1->weight + curr_node.weight; explored.erase(it_explored); it_parent->second.state = curr_node.state; it_parent->second.weight = nn.weight; pq.push(nn); backup.insert(pair<string,int>(it1->state,nn.weight)); } } it1++; } } } } return false; } bool operator<(const struct star_node& x, const struct star_node& y) { return x.weight > y.weight; } bool astar_search(string start_state, string goal_state) { map <string,int> explored; vector <struct node>::iterator it1; map <string,int> backup; map <string,int>::iterator it_backup; map <string,int>::iterator it_explored; priority_queue <struct star_node> pq; struct node ss; ss.state = start_state; ss.weight = 0; struct star_node st_ss; st_ss.state = start_state; st_ss.actual_weight = 0; sun_it = sun_graph.find(start_state); if(sun_it != sun_graph.end()) { st_ss.weight = sun_it->second; } pq.push(st_ss); backup.insert(pair<string,int>(start_state,st_ss.weight)); parent.insert(pair<string,struct node>(start_state, ss)); while(!pq.empty()) { struct star_node curr_node = pq.top(); pq.pop(); backup.erase(curr_node.state); explored.insert(pair<string,int>(curr_node.state,curr_node.weight)); if(curr_node.state == goal_state) return true; it = graph.find(curr_node.state); if(it != graph.end()) { it1 = it->second.begin(); if(it1 != it->second.end()) { while(it1 != it->second.end()) { //cout<<it1->state<<" "; it_explored = explored.find(it1->state); it_backup = backup.find(it1->state); it_parent = parent.find(it1->state); int heuristic; sun_it = sun_graph.find(it1->state); if(sun_it != sun_graph.end()) { heuristic = sun_it->second; } if(it_explored == explored.end() && it_backup == backup.end()) { struct star_node nn; nn.state = it1->state; nn.actual_weight = it1->weight + curr_node.actual_weight; nn.weight = curr_node.actual_weight + it1->weight + heuristic; pq.push(nn); backup.insert(pair<string,int>(it1->state,nn.weight)); struct node np; np.state = curr_node.state; np.weight = nn.actual_weight; parent.insert(pair<string,struct node>(it1->state, np)); } else if(it_backup != backup.end()) { if(it_backup->second > (curr_node.actual_weight + it1->weight + heuristic)) { struct star_node nn; nn.state = it1->state; nn.weight = curr_node.actual_weight + it1->weight + heuristic; nn.actual_weight = curr_node.actual_weight + it1->weight; it_backup->second = nn.weight; it_parent->second.state = curr_node.state; it_parent->second.weight = nn.actual_weight; stack <struct star_node> temp; struct star_node check = pq.top(); while(check.state != nn.state) { temp.push(check); pq.pop(); check = pq.top(); } pq.pop(); while(!temp.empty()) { check = temp.top(); pq.push(check); temp.pop(); } pq.push(nn); } } else if(it_explored != explored.end()) { if(it_explored->second > (it1->weight + curr_node.actual_weight + heuristic)) { struct star_node nn; nn.state = it1->state; nn.weight = it1->weight + curr_node.actual_weight + heuristic; nn.actual_weight = it1->weight + curr_node.actual_weight; explored.erase(it1->state); it_parent->second.state = curr_node.state; it_parent->second.weight = nn.actual_weight; pq.push(nn); backup.insert(pair<string,int>(it1->state,nn.weight)); } } it1++; } } } } return false; } int main() { ifstream ifile; ifile.open("input.txt"); ofstream ofile("output.txt"); string line; bool flag; string algo, start_state, goal_state, num, state1, state2; int live_traffic, sunday_traffic, distance; if(ifile.is_open()) { getline(ifile,algo); getline(ifile,start_state); getline(ifile,goal_state); getline(ifile,num); stringstream convert(num); convert>>live_traffic; for(int i = 0; i<live_traffic; i++) { getline(ifile,line); istringstream sub(line); sub>>state1; sub>>state2; sub>>num; stringstream convert(num); convert>>distance; struct node n1; n1.state = state2; n1.weight = distance; it = graph.find(state1); if(it == graph.end()) { vector <struct node> connection; connection.push_back(n1); graph.insert(pair< string,vector<struct node> >(state1,connection)); } else { it->second.push_back(n1); } } getline(ifile,num); stringstream convert2(num); convert2>>sunday_traffic; for(int i = 0; i<sunday_traffic; i++) { getline(ifile,line); istringstream sub(line); sub>>state1; sub>>num; stringstream convert(num); convert>>distance; sun_it = sun_graph.find(state1); if(sun_it == sun_graph.end()) { sun_graph.insert(pair<string,int>(state1,distance)); } else { sun_it->second = distance; } } if(algo.compare("BFS") == 0) { map <string,struct node>::iterator it_parent; if(bfs_search(start_state, goal_state)) { stack <string> p; stack <int> q; int count = 0; it_parent = parent.find(goal_state); if(it_parent != parent.end()) { while(it_parent->first != start_state) { p.push(it_parent->first); q.push(it_parent->second.weight); it_parent = parent.find(it_parent->second.state); } p.push(it_parent->first); q.push(it_parent->second.weight); while((!p.empty()) && ofile.is_open()) { ofile<<p.top()<<" "<<q.top()<<"\n"; p.pop(); q.pop(); } ofile.close(); } } } else if(algo.compare("DFS") == 0) { map <string,struct node>::iterator it_parent; if(dfs_search(start_state, goal_state)) { stack <string> p; stack <int> q; it_parent = parent.find(goal_state); if(it_parent != parent.end()) { while(it_parent->first != start_state) { p.push(it_parent->first); q.push(it_parent->second.weight); it_parent = parent.find(it_parent->second.state); } p.push(it_parent->first); q.push(it_parent->second.weight); while((!p.empty()) && ofile.is_open()) { ofile<<p.top()<<" "<<q.top()<<"\n"; p.pop(); q.pop(); } ofile.close(); } } } else if(algo.compare("UCS") == 0) { map <string,struct node>::iterator it_parent; if(ucs_search(start_state, goal_state)) { stack <string> p; stack <int> q; it_parent = parent.find(goal_state); if(it_parent != parent.end()) { while(it_parent->first != start_state) { p.push(it_parent->first); q.push(it_parent->second.weight); it_parent = parent.find(it_parent->second.state); } p.push(it_parent->first); q.push(it_parent->second.weight); while((!p.empty()) && ofile.is_open()) { ofile<<p.top()<<" "<<q.top()<<"\n"; p.pop(); q.pop(); } ofile.close(); } } } else if(algo.compare("A*") == 0) { map <string,struct node>::iterator it_parent; if(astar_search(start_state, goal_state)) { stack <string> p; stack <int> q; it_parent = parent.find(goal_state); if(it_parent != parent.end()) { while(it_parent->first != start_state) { p.push(it_parent->first); q.push(it_parent->second.weight); it_parent = parent.find(it_parent->second.state); } p.push(it_parent->first); q.push(it_parent->second.weight); while((!p.empty()) && ofile.is_open()) { ofile<<p.top()<<" "<<q.top()<<"\n"; p.pop(); q.pop(); } ofile.close(); } } } ifile.close(); } return 0; }
9acf4f72144845b8b9913ed501707e63fac389cb
f1c84de81504cab2c21f68b42993cedf3cd178c0
/CS481_projects/JEdwards-a3/a3p1/pc/pc.cpp
e880e66eade0cfc1e67e51848441158a20d47bea
[]
no_license
joseph8th/unm-cs
38c868334c21ab7c88a279e7398d59f80c37dbab
eac14817094c291bbcd0fd6c1213e957cfc4dbfc
refs/heads/master
2020-06-02T03:10:18.791862
2013-03-25T02:43:46
2013-03-25T02:43:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
853
cpp
pc.cpp
/* * pc.cpp - implement notroot::Semphore interface * for binary semaphores in pc.h * * Author: Joseph Edwards VIII * CS481 online, UNM Fall 2012 * JEdwards-a3/a3p1/pc/pc.cpp */ #include <sys/types.h> #include <fcntl.h> #include "pc.h" namespace notroot { Semaphore::Semaphore(bool waiting) { /* constructor */ isWaiting = waiting; pthread_cond_init(&threadCond, NULL); pthread_mutex_init(&threadMutex, NULL); } void Semaphore::wait() { /* wait method */ lock(); while (isWaiting) pthread_cond_wait(&threadCond, &threadMutex); isWaiting = true; unlock(); } void Semaphore::post() { /* post method */ bool was_waiting; lock(); was_waiting = isWaiting; isWaiting = false; unlock(); if (was_waiting) pthread_cond_signal(&threadCond); } }
30b9703d990425af83be664da65c6f4fc2d68103
c6e675ac42bf9dd7bd5967e73352427ba562530e
/src/StatToolImpl.cpp
5d21526d77841053c5b3c9d8f5dd821368c96dad
[]
no_license
adrien-zinger/async_stat_module
2f8521e9e783914c03ecf8f22da87b2de1db3cbe
787cc29b7bd6c2a9e68328e350ecad881f30cf76
refs/heads/master
2023-05-09T08:14:43.075145
2021-05-11T17:56:13
2021-05-11T17:56:13
366,470,113
0
0
null
null
null
null
UTF-8
C++
false
false
2,507
cpp
StatToolImpl.cpp
#include "StatToolImpl.hpp" #include <cmath> #include <pthread.h> #include <memory> bool StatToolImpl::FindIndex(const std::vector<int> &vec, const int ref, const bool left, int &index) { int l = 0; int r = vec.size() - 1; if (ref <= 0 || vec.size() < 1 || vec[l] > ref || vec[r] < ref || vec[l] >= vec[r]) return false; if (vec[l] == ref) { index = l; return true; } if (vec[r] == ref) { index = r; return true; } while (r - l > 1) { const int m = std::floor((l+r) / 2); if (vec[m] == ref) { index = m; return true; } if (vec[l] <= ref && ref < vec[m]) r = m; else l = m; } index = left ? l : r; return true; } struct thread_data { int sum, size; std::vector<int>::iterator from; std::vector<int>::iterator end; }; void *sum_array(void* arg) { struct thread_data *data; data = (struct thread_data *) arg; data->sum = 0; int i = 0; auto it = data->from; for (; it != data->end && i < data->size; data->sum += *it, ++it, ++i); return nullptr; } int StatToolImpl::Sum(const std::vector<int>::iterator &begin, const std::vector<int>::iterator &end, int size) { int sum = 0; auto from = begin; if (size <= MAX_THREAD) { // easy return for (auto it = begin; it != end; sum += *it++); return sum; } // Else dividing pthread_t threads[MAX_THREAD]; struct thread_data data[MAX_THREAD]; const auto cutsize = std::floor(size / MAX_THREAD); const int remaining = (size % MAX_THREAD) == 0 ? cutsize : size % MAX_THREAD + 1; for (int i = 0; i < MAX_THREAD; ++i, from += cutsize) { data[i].from = from; data[i].size = (i == MAX_THREAD - 1) ? remaining : cutsize; data[i].end = end; data[i].sum = 0; pthread_create(&threads[i], nullptr, sum_array, (void*)&data[i]); } for (int i = 0; i < MAX_THREAD; sum += data[i].sum, ++i) pthread_join(threads[i], nullptr); return sum; } void StatToolImpl::Push(const int time_trim, const int time_us, const int value, StatVector &vec) { const auto trim_ref = time_us - time_trim; vec.val.push_back(value); vec.time_us.push_back(time_us); int trim_index; if (FindIndex(vec.time_us, trim_ref, true, trim_index)) { vec.val.erase(vec.val.begin() + trim_index); vec.time_us.erase(vec.time_us.begin() + trim_index); } }
c32b2405a076dfbfe1bf8575a4d27fc2e3058d73
e701f27376df41fab37bbdc6d1cf00d62c262952
/MP - Práctica 1/include/Contrato.h
d8d232d4d6f9f63af629f26ecb197b6742830906
[]
no_license
manoplin18/Segundo
199f942d69c9a96690b73cb007a855aee4808409
3b518f2c3d3696f4c77fd7577d93f8f78fee35ef
refs/heads/main
2023-02-01T08:28:43.067760
2020-12-20T19:51:50
2020-12-20T19:51:50
322,630,645
0
0
null
null
null
null
UTF-8
C++
false
false
957
h
Contrato.h
#ifndef CONTRATO_H #define CONTRATO_H #include <iostream> //cin, cout #include "Fecha.h" using namespace std; class Contrato { static int contador; const int idContrato; long int dniContrato; Fecha fechaContrato; virtual void abstracto() const = 0; //Hacemos que Contrato sea abstracta public: Contrato(long int dni, Fecha f); virtual ~Contrato(); Contrato(const Contrato& c); //Contrato& operator=(const Contrato& c); int getIdContrato() const { return this->idContrato; } long int getDniContrato() const { return this->dniContrato; } Fecha getFechaContrato() const { return this->fechaContrato; } void setFechaContrato(Fecha f) { this->fechaContrato=f; } void setDniContrato(long int dni) { this->dniContrato=dni; } virtual void ver() const; friend ostream& operator<<(ostream &s, const Contrato &c); }; ostream& operator<<(ostream &s, const Contrato &c); #endif // CONTRATO_H
0190bd015e9051b2824b1ee792b79564d5d85f6c
d598d8d1ccb3b06d07aef0c2632a906941fd3fd4
/inc/util/curlutil.h
58981c5d0fdd644939af2cc1c2a8e76b6d9003f4
[]
no_license
xeonye/Common2.1
b8daa2728e81b465e82233fafba6ef07be5a99d8
9f8ccdd1e713eba82561140e4aaf4e985c7ca2b6
refs/heads/master
2020-12-01T18:48:54.935580
2019-12-28T16:26:01
2019-12-28T16:26:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,815
h
curlutil.h
#pragma once struct __UtilExt tagCurlOpt { tagCurlOpt(bool t_bShare)//, long t_dnsCacheTimeout) : bShare(t_bShare) //, dnsCacheTimeout(t_dnsCacheTimeout) { } bool bShare; //long dnsCacheTimeout; unsigned long maxRedirect = 1; unsigned long timeout = 0; unsigned long connectTimeout = 0; unsigned long lowSpeedLimit = 0; unsigned long lowSpeedLimitTime = 0; unsigned long maxSpeedLimit = 0; //unsigned long keepAliveIdl = 0; //unsigned long keepAliveInterval = 0; string strUserAgent; }; using CB_CURLWrite = const function<size_t(char *ptr, size_t size, size_t nmemb)>; using CB_CURLProgress = const function<int(int64_t dltotal, int64_t dlnow)>; class __UtilExt curlutil { public: static int initCurl(string& strVerInfo); static void freeCurl(); static int curlDownload(const tagCurlOpt& curlOpt, const string& strURL, CB_CURLWrite& cbWrite, CB_CURLProgress& cbProgress = NULL); static int curlToolPerform(const list<string>& lstParams); static int curlToolDownload(const string& strURL, CB_CURLWrite& cbWrite); static string getCurlErrMsg(UINT uCurlCode); }; //using CB_DownloadRecv = const function<bool(char *ptr, size_t size)>&; using CB_DownloadProgress = const function<bool(int64_t dltotal, int64_t dlnow)>&; class __UtilExt CCurlDownload { public: virtual ~CCurlDownload() {} CCurlDownload(bool bShare = false, unsigned long timeout = 0, unsigned long connectTimeout = 3 , unsigned long lowSpeedLimit = 0, unsigned long lowSpeedLimitTime = 0 , unsigned long maxSpeedLimit = 0) : m_curlOpt(bShare) { m_curlOpt.timeout = timeout; m_curlOpt.connectTimeout = connectTimeout; m_curlOpt.lowSpeedLimit = lowSpeedLimit; // 单位字节 m_curlOpt.lowSpeedLimitTime = lowSpeedLimitTime; m_curlOpt.maxSpeedLimit = maxSpeedLimit; m_curlOpt.strUserAgent = "curl/7.66.0"; } CCurlDownload(const tagCurlOpt& curlOpt) : m_curlOpt(curlOpt) { } protected: tagCurlOpt m_curlOpt; time_t m_beginTime = 0; private: XThread m_thread; bool m_bStatus = false; uint64_t m_uSumSize = 0; private: virtual bool _onRecv(char *ptr, size_t size) = 0; virtual void _clear() {} public: bool status() const { return m_bStatus; } uint64_t sumSize() const { return m_uSumSize; } int syncDownload(const string& strUrl, UINT uRetryTime = 0, CB_DownloadProgress cbProgress = NULL); void asyncDownload(const string& strUrl, UINT uRetryTime = 0, CB_DownloadProgress cbProgress = NULL); void cancel(); }; class __UtilExt CDownloader : public CCurlDownload { public: CDownloader(bool bShare = false, unsigned long timeout = 0, unsigned long connectTimeout = 3 , unsigned long lowSpeedLimit = 0, unsigned long lowSpeedLimitTime = 0 , unsigned long maxSpeedLimit = 0) : CCurlDownload(bShare, timeout, connectTimeout, lowSpeedLimit, lowSpeedLimitTime, maxSpeedLimit) { } CDownloader(const tagCurlOpt& curlOpt) : CCurlDownload(curlOpt) { } private: mutex m_mtxDataLock; list<string> m_lstData; size_t m_uDataSize = 0; private: virtual bool _onRecv(char *ptr, size_t size) override; void _clear() override; template <class T> size_t _getAllData(T& buff) { size_t uReadSize = m_uDataSize; if (0 == uReadSize) { return 0; } auto ptr = buff.resizeMore(uReadSize); size_t size = (size_t)MAX(0, getData((byte_p)ptr, uReadSize)); if (size < uReadSize) { buff.resizeLess(uReadSize - size); } return size; } public: int syncDownload(const string& strUrl, CByteBuffer& bbfData, UINT uRetryTime = 0 , CB_DownloadProgress cbProgress = NULL); int syncDownload(const string& strUrl, CCharBuffer& cbfData, UINT uRetryTime = 0 , CB_DownloadProgress cbProgress = NULL); size_t dataSize() const { return m_uDataSize; } // uint64_t readPos() const // { // return m_uSumSize - m_uDataSize; // } int getData(byte_p pBuff, size_t buffSize); int getData(TD_ByteBuffer& buff) { return getData(buff, buff.size()); } CByteBuffer getByteData() { CByteBuffer bbfData; (void)_getAllData(bbfData); return bbfData; } size_t getByteData(CByteBuffer& bbfData) { return _getAllData(bbfData); } CCharBuffer getTextData() { CCharBuffer cbfData; (void)_getAllData(cbfData); return cbfData; } size_t getTextData(CCharBuffer& cbfData) { return _getAllData(cbfData); } };
13b1a3af218b5ad6b0852f6862a431db75273586
be2305d06a232a172968725324b82e9cfa9c82dc
/network_simulation/network_simulation/GEL.h
9a15a0757d7818b6cf15ea4dd138e25bfa7f0016
[ "Apache-2.0" ]
permissive
lleizuo/ieee-802.x-network-simulation
04109922a64f3950589f5b7d4f05656db0e7907d
85eeb53ffa820c2ec71fcc4fd113f6946b1db0d9
refs/heads/master
2022-01-11T10:40:31.674411
2019-05-13T22:10:55
2019-05-13T22:10:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
301
h
GEL.h
// // GEL.h // network_simulation // // Created by Lei Zuo on 2019/4/28. // Copyright © 2019 ECS 152A. All rights reserved. // #ifndef GEL_h #define GEL_h #include "Event.h" class GEL { Event * head; public: void insert(int event_time, Event * new_event); }; #endif /* GEL_h */
faeb5646cc204d9022915e96fd2ce97a096a6e61
ba382364a55d9620f32d8a5163874ce3385ac42a
/square.h
f6d22f29c6af3e66cc493f978ee0082bdbac52ce
[]
no_license
ethanhoroschak/ethan-andrewgames.github.io
bec7ed5041c46d87e91d772a863431d5ff0b19c3
a4287d7ae41e287fc6370bac3a8f4fb631c4b1e9
refs/heads/master
2020-04-11T03:38:05.857122
2016-09-15T15:09:37
2016-09-15T15:09:37
68,124,636
0
0
null
null
null
null
UTF-8
C++
false
false
998
h
square.h
class square { public: void setBomb() { //If square isn't a bomb, it makes it a bomb. If it is a bomb, it makes it not a bomb bomb = !bomb; } bool isBomb() { //Tells if square is a bomb return bomb; } void flag() { //If square isn't flagged, it flags it. If it is flagged, it unflags it flagged = !flagged; } bool isFlagged() { //Tells if square is a bomb return flagged; } void reveal() { //reveals square revealed = true; } bool isRevealed() { //Tells is square is revealed return revealed; } void setNumAdjBombs(int num) { //Sets how many bombs are adacent to square numAdjBombs = num; } int getNumAdjBombs() { //Tells how many bombs are adjacent to square return numAdjBombs; } private: bool bomb = false; bool revealed = false; bool flagged = false; int numAdjBombs = 0; //int position[2]; //will be useful for recursive autoreveal. };
4e93c9376e08f6edfc4c0fdf86e8f674f7b75915
82cc69740b5f69c68fa2d84ee229f59d7c2a3470
/C,D(Div-2) question in codeforrdes/A. Vasya and Petya's Game.cpp
d01322ab67608c64d7eec11bff6548de0ea173ca
[]
no_license
adarshdbg/Codeforces
e26087e25b9665129f77b1bc4276e17b840d5251
5ffe6ca355b2a7ecdae675b31ce84f1cc803c08d
refs/heads/master
2023-02-18T21:04:11.994459
2021-01-23T19:17:10
2021-01-23T19:17:10
290,201,034
0
0
null
null
null
null
UTF-8
C++
false
false
978
cpp
A. Vasya and Petya's Game.cpp
#include<bits/stdc++.h> using namespace std; #define FastRead ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define int long long int #define bits_count __builtin_popcountll #define endl '\n' #define ld long double #define fi first #define se second #define pb push_back #define mk make_pair #define pr pair<int,int> signed main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin>>n; vector<int>prime(n+1,true); prime[0]=0,prime[1]=0; for(int i=2;i*i<=n;i++) { if(prime[i]) { for(int j=i*i;j<=n;j+=i) { prime[j]=false; } } } vector<int> ans; for (int i = 1; i <= n; i++) { if (prime[i]) { int q = 1; while (q <= n / i) { q *= i; ans.push_back(q); } } } cout << ans.size() << endl; for (int i : ans) { cout<<i<<" "; } return 0; }
03a468e756c3496543aab9f73e42ce226cba7da0
2b5f8994bf3f98977508b7763d59fbbaaa92a3c9
/Leetcode/Trees/230_Kth Smallest Element in a BST.cpp
2a1131d79551ab1f35442d68e06d7e584a517771
[]
no_license
Himanshu-Negi8/Data-Structure-and-Algorithms
91a7ca6120f6bff1325eccce95a935a2fb5c773e
418ff31564aaff9fdaa31e237f0e307bf378cb23
refs/heads/master
2022-05-04T04:23:12.517691
2022-03-14T11:17:11
2022-03-14T11:17:11
229,419,837
3
1
null
null
null
null
UTF-8
C++
false
false
420
cpp
230_Kth Smallest Element in a BST.cpp
class Solution { public: void helper(TreeNode*root,vector<int>&v){ if(!root){ return; } if(root){ helper(root->left,v); v.push_back(root->val); helper(root->right,v); } } int kthSmallest(TreeNode* root, int k) { vector<int>v; helper(root,v); return v[--k]; } };
e98a5ec74d238cf589aa457e28657ecdaa3f1f7b
3ee64927dbab49e19771e3bc783d7bfe6fa1e874
/src/atlas/grid/detail/grid/Gaussian.h
309af4ea64869f90b3a3d58ad639c3a87c464859
[ "Apache-2.0" ]
permissive
mlange05/atlas
d6c55bca5481b92c725d9fe520444f36dec5bc97
a508fe04e7ab95585bd30bf7bf20533da2d7b6b5
refs/heads/master
2020-04-06T23:53:08.679139
2018-08-31T14:52:35
2018-08-31T14:52:35
157,884,396
0
0
Apache-2.0
2018-11-16T15:15:48
2018-11-16T15:15:48
null
UTF-8
C++
false
false
372
h
Gaussian.h
#include <vector> #include "atlas/grid.h" namespace atlas { namespace grid { namespace detail { namespace grid { StructuredGrid::grid_t* reduced_gaussian( const std::vector<long>& nx ); StructuredGrid::grid_t* reduced_gaussian( const std::vector<long>& nx, const Domain& domain ); } // namespace grid } // namespace detail } // namespace grid } // namespace atlas
70a4ded17b5ff89176942396b4c45ce583cbb0a9
497e0d5d677d33f493195909217c692bea58ea29
/codex 푼 문제/[codex]고기잡이.cpp
10afd73b486fcb96587cef937d91a13830319863
[]
no_license
JungKiBeen/SW_Test_Study
bdd6a82a25322a7d06a47625101e2c6905791e4c
a72000524470a8f602441349c4912e580e5d759d
refs/heads/master
2021-08-09T15:58:31.066951
2017-11-12T09:34:20
2017-11-12T09:34:20
101,296,637
0
0
null
null
null
null
UHC
C++
false
false
1,849
cpp
[codex]고기잡이.cpp
// 1) 반드시 임의의 물고기는 Optimal solution의 위, 왼쪽 경계에 위치해 있다. // 따라서 물고기의 row, col의 조합을 배의 위치로 한정해도 된다. // 2) 가지치기 : l*l 그물 내 잡히는 물고기가 MAX보다 작으면 호출하지 않는다. // 3)1*1 영역만 N을 넘지 않으면 된다. 하지만, 이를 고려할 필요는 없다. 어짜피 위 혹은 왼쪽으로 한칸 이동하여 치면 된다고 가정하면 되기에 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <cstdio> #include <queue> #include <set> #include <algorithm> #include <vector> #include <utility> #include <climits> using namespace std; int N, l, M; vector<pair<int, int> > mulgo; set<int> rclust, cclust; // 첫번재 방문 부터, n은 n번째 방문 void __init__() { cin >> N >> l >> M; for (int i = 1; i <= M; i++) { int r, c; scanf("%d %d", &r, &c); rclust.insert(r); cclust.insert(c); mulgo.push_back(make_pair(r, c)); } } int mulgo_count(int r, int c, int garo, int sero) { int ret = 0; for (int i = 0; i < M; i++) { int mr = mulgo[i].first; int mc = mulgo[i].second; if (mr >= r && mr <= r + garo && mc >= c && mc <= c + sero) ret++; } return ret; } int solve(int r, int c) { int local_max = -1; for (int garo = 1; garo < l; garo++) { for (int sero = 1; sero < l; sero++) { if (garo * 2 + sero * 2 == l) { local_max = max(local_max, mulgo_count(r, c, garo, sero)); } } } return local_max; } int main(void) { int MAX = -1; //freopen("input.txt", "r", stdin); __init__(); set<int> ::iterator row, col; for (row = rclust.begin(); row != rclust.end(); ++row) { for (col = cclust.begin(); col != cclust.end(); ++col) if (mulgo_count(*row, *col, l, l) > MAX) MAX = max(solve(*row, *col), MAX); } cout << MAX; return 0; }
ab149baf8eeab0de66e14a5b2ef8cd6bb9f79716
0e45834430f761212868d6caea436fa22d02dfdb
/include/bbb/pipe/functional/filter.hpp
3ed8e863a5176630bdc9f5e3c05f18795642e5c8
[ "MIT" ]
permissive
2bbb/bit_by_bit
93a861f7146716e4667597bec36cf71a6de1fd8f
0f99778eb27059c4225ab5b964a3aa043ccd766c
refs/heads/master
2022-10-11T00:52:42.637723
2022-09-03T14:11:45
2022-09-03T14:11:45
45,319,832
2
0
null
2017-06-25T01:00:37
2015-10-31T22:02:52
C++
UTF-8
C++
false
false
2,396
hpp
filter.hpp
/* **** **** **** **** **** **** **** **** * * * _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * _/ _/ _/ _/ _/ _/ * _/ _/ _/ _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * * bit by bit * bbb/pipe/functional/filter.hpp * * author: ISHII 2bit * mail: bit_by_bit@2bit.jp * * **** **** **** **** **** **** **** **** */ #pragma once #include <bbb/core.hpp> #include <iterator> namespace bbb { namespace pipe { namespace command { template <typename callback_type_> struct filter { using callback_type = callback_type_; filter(callback_type callback) : callback(callback) {}; template <typename container_type> friend inline auto operator|(const container_type &cont, const filter &cond) -> type_enable_if_t< conjunction< is_container<container_type>, negation<is_kind_of_map<container_type>>, negation<is_array<container_type>> >, container_type > { container_type results; std::back_insert_iterator<container_type> inserter{results}; for(const auto &v : cont) if(cond.callback(v)) *inserter = v; return results; } template <typename container_type> friend inline auto operator|(const container_type &cont, const filter &cond) -> type_enable_if_t< is_kind_of_map<container_type>, container_type > { container_type results; std::back_insert_iterator<container_type> inserter{results}; for(const auto &v : cont) if(cond.callback(v.second)) *inserter = v; return results; } private: callback_type callback; }; }; namespace { template <typename callback_type> inline command::filter<callback_type> filter(callback_type callback) { return {callback}; } } }; };
2dd46716cdf0197d4cd1e4896274efb6dd417161
ce0616509931950526a27747e52e9d8372d3b33d
/src/enemycatalogue.cc
54f812f532b5237d94d6ce0b194a70120eff90f2
[]
no_license
jasonwilliamson/ChamberCrawler3000
962876be0636e31d80d1425cd0a2a31e3f662253
b60b5265fd9b72e6710dec1596b04ac98de0f49a
refs/heads/master
2021-04-14T17:38:23.048309
2015-12-04T20:28:18
2015-12-04T20:28:18
249,250,937
0
0
null
null
null
null
UTF-8
C++
false
false
4,654
cc
enemycatalogue.cc
// // enemycatalogue.cpp // cc3k // // Created by Jason Williamson on 2015-12-01. // Copyright © 2015 Jason Williamson. All rights reserved. // #include "enemycatalogue.h" #include <iostream> #include "enemy.h" #include "human.h" #include "character.h" #include "dwarf.h" #include "elf.h" #include "orc.h" #include "merchant.h" #include "halfling.h" #include "dragon.h" using namespace std; EnemyCatalogue::EnemyCatalogue(){} EnemyCatalogue::~EnemyCatalogue(){} bool EnemyCatalogue::isEnemy(char value){ if ('H' == value || 'W' == value || 'E' == value || 'O' == value || 'M' == value || 'D' == value || 'L' == value) { return true; }else{ return false; } } string EnemyCatalogue::getRace(char value){ string race = ""; switch (value) { case 'H': { race = "Human"; break; } case 'W': { race = "Dwarf"; break; } case 'E': { race = "Elf"; break; } case 'O': { race = "Orc"; break; } case 'M': { race = "Merchant"; break; } case 'L': { race = "Halfling"; break; } case 'D': { race = "Dragon"; break; } default: { cout << "Error EnemyCatalogue:@getRace " << value << " not recognized" << endl; break; } } return race; } int EnemyCatalogue::getDef(char value){ switch (value) { case 'H': { Human enemy = Human(); return enemy.getDef(); break; } case 'W': { Dwarf enemy = Dwarf(); return enemy.getDef(); } case 'E': { Elf enemy = Elf(); return enemy.getDef(); } case 'O': { Orc enemy = Orc(); return enemy.getDef(); } case 'M': { Merchant enemy = Merchant(); return enemy.getDef(); } case 'L': { Halfling enemy = Halfling(); return enemy.getDef(); } case 'D': { Dragon enemy = Dragon(); return enemy.getDef(); } default: { cout << "Error EnemyCatalogue:@getDef " << value << " not recognized" << endl; break; } } return 0; } int EnemyCatalogue::getAtk(char value){ switch (value) { case 'H': { Human enemy = Human(); return enemy.getAtk(); break; } case 'W': { Dwarf enemy = Dwarf(); return enemy.getAtk(); } case 'E': { Elf enemy = Elf(); return enemy.getAtk(); } case 'O': { Orc enemy = Orc(); return enemy.getAtk(); } case 'M': { Merchant enemy = Merchant(); return enemy.getAtk(); } case 'L': { Halfling enemy = Halfling(); return enemy.getAtk(); } case 'D': { Dragon enemy = Dragon(); return enemy.getAtk(); } default: { cout << "Error EnemyCatalogue:@getAtk " << value << " not recognized" << endl; break; } } return 0; } int EnemyCatalogue::getGoldDropped(char value){ switch (value) { case 'H': { Human enemy = Human(); return enemy.goldDropped(); break; } case 'W': { Dwarf enemy = Dwarf(); return enemy.goldDropped(); } case 'E': { Elf enemy = Elf(); return enemy.goldDropped(); } case 'O': { Orc enemy = Orc(); return enemy.goldDropped(); } case 'M': { Merchant enemy = Merchant(); return enemy.goldDropped(); } case 'L': { Halfling enemy = Halfling(); return enemy.goldDropped(); } case 'D': { Dragon enemy = Dragon(); return enemy.goldDropped(); } default: { cout << "Error EnemyCatalogue:@getGoldDropped " << value << " not recognized" << endl; break; } } return 0; }
e4cfcada05dcb792e06874230fb2b7dba2eda773
a0537cdf9a3f07ab6706aa03f989379b1fe67eca
/reconstruct_orig_digits_from_eng.cc
cb6f05bf7d73e1a780bf45e4dcfe7e7255f69cea
[]
no_license
jith3ndra/Coding-Prep
84099e35b4869227d75f83444be5f3567f3095c2
75672958a236f84d2d2470abd4279b6b6e3113c5
refs/heads/master
2021-01-11T18:46:17.624885
2017-09-12T04:09:34
2017-09-12T04:09:34
79,621,258
0
0
null
null
null
null
UTF-8
C++
false
false
790
cc
reconstruct_orig_digits_from_eng.cc
string originalDigits(string s) { string res=""; vector<int> res1(26,0),count(10,0); for(int i=0;i<s.size();i++){ res1[s[i]-'a']++; } count[0] = res1['z'-'a']; count[2] = res1['w'-'a']; count[4] = res1['u'-'a']; count[6] = res1['x'-'a']; count[8] = res1['g'-'a']; count[7] = res1['s'-'a']-count[6]; count[5] = res1['f'-'a']-count[4]; count[3] = res1['h'-'a']-count[8]; count[1] = res1['o'-'a']-count[0]-count[4]-count[2]; count[9] = res1['i'-'a']-count[5]-count[8]-count[6]; for(int i=0;i<count.size();i++){ while(count[i]){ res+=to_string(i); count[i]--; } } return res; }
ecb02e91b7a8eea94d78f9ae721cf7ed41926a38
17a7ddad5cc9aa346fbddf98895ebde85a5cdfc8
/utilities.h
e3f38beee6a9dda3dbfd2fca7b3b3901450e61e9
[]
no_license
Slackoth/simulation-techniques-on-pc
992a033b38f3b5e11e68714637925d71e71fed0c
b51906639b13c53b18186151a486d6e368d372b9
refs/heads/master
2023-04-18T11:13:01.775484
2021-04-27T15:28:23
2021-04-27T15:28:23
361,924,690
0
0
null
null
null
null
UTF-8
C++
false
false
1,597
h
utilities.h
#include <fstream> #include <iostream> #include "classes.h" using namespace std; void getData(ifstream &file, int nLines, int nData, int mode, MeshItem* meshItemList) { string line; file >> line; // Ignore line if(nLines == DOUBLE_LINE) file >> line; // Ignore another line for(int i = 0; i < nData; i++) { switch (mode) { case INT_FLOAT: int in; float real; file >> in >> real; meshItemList[i].setIntFloat(in, real); break; case INT_INT_INT: int in1, in2, in3; file >> in1 >> in2 >> in3; meshItemList[i].setIntIntInt(in1, in2, in3); default: break; } } } void readMeshConditions(Mesh &mesh) { char filename[15]; ifstream file; float k, l, q; int nNodes, nElements, nDirichlet, nNeumann; do { cout << "INGRESE EL NOMBRE DEL ARCHIVO QUE CONTIENE LOS DATOS DE LA MALLA:"; cin >> filename; file.open(filename); } while(!file); file >> l >> k >> q; file >> nNodes >> nElements >> nDirichlet >> nNeumann; mesh.setConstants(l, k, q); mesh.setSizes(nNodes, nElements, nDirichlet, nNeumann); mesh.createData(); getData(file,SINGLE_LINE, nNodes, INT_FLOAT, mesh.getNodes()); getData(file,DOUBLE_LINE, nElements, INT_INT_INT, mesh.getElements()); getData(file,DOUBLE_LINE, nDirichlet, INT_FLOAT, mesh.getDirichlet()); getData(file,DOUBLE_LINE, nNeumann, INT_FLOAT, mesh.getNeumann()); file.close(); }
6d3d32e8afd0ce4111b94eacb398797a2ef3f431
ee2f6b67e3f2f01a0feec173e6b95b55ef065c63
/14-1.cpp
4ed2a3c75599389b8de590ff8beac1db1ba4a527
[]
no_license
lanbao2021/BlueLeopard
b6dd12738592f82140331c43ec2e198bf72ef8ba
b1f3b7109ffcad34d9e5c860ac90cf3f4d0689b0
refs/heads/master
2023-08-21T22:44:09.928775
2021-10-14T09:05:13
2021-10-14T09:05:13
401,968,495
0
0
null
null
null
null
UTF-8
C++
false
false
967
cpp
14-1.cpp
// 14-1.cpp // Created by 蓝同学 on 2021/9/6. // 写ASCII文件,读ASCII文件 #include <iostream> #include <fstream> using namespace std; int main(){ // 写ASCII文件 ofstream fout("test"); if(!fout){ cerr << "can't open output file.\n"; return 1; } fout << 10 << " " << 123.456 << "\"This is a text file\"\n"; fout.close(); // 读ASCII文件-流提取运算符 // 此方法遇到空白字符就停止读入了 // 10 123.456"This ifstream fin("test"); char s[80]; int i; float x; if(!fin){ cout << "can't open input file.\n"; return 1; } fin >> i >> x >> s; cout << i << " " << x << s << endl; fin.close(); // 读ASCII文件-getline方法 // 可以读入空白字符 // 10123.456"This is a text file" fin.open("test"); fin >> i >> x; fin.getline(s, 80, '\n'); cout << i << x << s << endl; fin.close(); return 0; }
e937fafdbeb5b86d1be2d57ab5a46b7a918a80c0
d6de08ad3cc5edf82c338ffc61c283959c605857
/graphs/unionFindAlgorithm_cycleDetection.cpp
4b0db27f4ac70fb1b35168842465c905ed054a11
[]
no_license
abhineetpandey10/Data-structures-and-algorithms
233e30eae1999426fdc1c1902e9f9eb4203ecc29
ea0859809d94a8b7e1fd9393a10f0a8c7d7ca19b
refs/heads/master
2023-02-07T04:04:40.211680
2020-12-23T13:52:23
2020-12-23T13:52:23
287,545,702
0
0
null
null
null
null
UTF-8
C++
false
false
1,791
cpp
unionFindAlgorithm_cycleDetection.cpp
#include<iostream> using std::cin; using std::cout; #include<vector> using std::vector; #include<set> using std::set; #include<cstring> class edge { public: int src,dest; edge(int a,int b) { src=a; dest=b; } }; class disjoint_sets { public: int n; int *parent,*rank; disjoint_sets(int n) { parent=new int[n]; rank=new int[n]; memset(rank,0,sizeof(rank)); for(int i=0;i<n;i++) parent[i]=i; } int find(int u) { if(parent[u]!=u) parent[u]=find(parent[u]); return parent[u]; } void merge(int x,int y) { if(rank[x]>rank[y]) parent[y]=x; else parent[x]=y; if(rank[x]==rank[y]) rank[y]+=1; } }; class graph { public: vector<edge> edgeList; int V,E; graph() { cout<<"Enter the number of vertices:\n"; cin>>V; cout<<"Enter the numberof edges:\n"; cin>>E; cout<<"Enter the vertices constituting each edge \n" <<"Each vertex must be between 0 and "<<V-1<<", both 0 and "<<V-1<<" inclusive\n"; for(int i=0;i<E;i++) { int a,b; cin>>a>>b; edge newEdge(a,b); edgeList.push_back(newEdge); } } bool containsLoop() { disjoint_sets sets(V); for(int i=0;i<E;i++) { int a=sets.find(edgeList[i].src),b=sets.find(edgeList[i].dest); if(a==b) return true; else sets.merge(a,b); } return false; } }; int main() { graph g; if(g.containsLoop()) cout<<"The graph contains Loop\n"; else cout<<"The graph does not contain a loop\n"; }
660a218b5f198510af0b2de039822c8047fb411f
b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832
/mm.cpp
c3eef185651a0e74d2ecf97281dbbb4214dd5c93
[]
no_license
apetresc/castro
1ec1ac1307542487aa1be14c335170f7a1347bf2
843165af7c946188a2dd772384cd2d579723c99d
refs/heads/master
2022-02-20T14:28:41.962893
2019-10-07T08:41:59
2019-10-07T08:41:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,357
cpp
mm.cpp
///////////////////////////////////////////////////////////////////////////// // // mm.cpp // // Rémi Coulom // // February, 2007 // ///////////////////////////////////////////////////////////////////////////// #include <iostream> #include <iomanip> #include <sstream> #include <vector> #include <cmath> #include <fstream> const double PriorVictories = 1.0; const double PriorGames = 2.0; const double PriorOpponentGamma = 1.0; ///////////////////////////////////////////////////////////////////////////// // One "team": product of gammas ///////////////////////////////////////////////////////////////////////////// class CTeam { private: /////////////////////////////////////////////////////////////////// static std::vector<int> vi; int Index; int Size; public: //////////////////////////////////////////////////////////////////// CTeam(): Index(vi.size()), Size(0) {} int GetSize() const {return Size;} int GetIndex(int i) const {return vi[Index+i];} void Append(int i) {vi.push_back(i); Size++;} }; std::vector<int> CTeam::vi; ///////////////////////////////////////////////////////////////////////////// // Read a team ///////////////////////////////////////////////////////////////////////////// CTeam ReadTeam(std::string &s) { std::istringstream in(s); CTeam team; int Index; while(1) { in >> Index; if (in) team.Append(Index); else break; } return team; } ///////////////////////////////////////////////////////////////////////////// // One "Game": One winner team out of several participants ///////////////////////////////////////////////////////////////////////////// class CGame { public: //////////////////////////////////////////////////////////////////// CTeam Winner; std::vector<CTeam> vParticipants; }; ///////////////////////////////////////////////////////////////////////////// // Game Collection: ///////////////////////////////////////////////////////////////////////////// class CGameCollection { public: //////////////////////////////////////////////////////////////////// std::vector<CGame> vgame; std::vector<double> vGamma; std::vector<int> vFeatureIndex; std::vector<std::string> vFeatureName; std::vector<double> vVictories; std::vector<int> vParticipations; std::vector<int> vPresences; void ComputeVictories(); void MM(int Feature); double LogLikelihood() const; double GetTeamGamma(const CTeam &team) const { double Result = 1.0; for (int i = team.GetSize(); --i >= 0;) Result *= vGamma[team.GetIndex(i)]; return Result; } }; ///////////////////////////////////////////////////////////////////////////// // Compute log likelihood ///////////////////////////////////////////////////////////////////////////// double CGameCollection::LogLikelihood() const { double L = 0; for (int i = vgame.size(); --i >= 0;) { const CGame &game = vgame[i]; double Opponents = 0; const std::vector<CTeam> &v = game.vParticipants; for (int j = v.size(); --j >= 0;) Opponents += GetTeamGamma(v[j]); L += std::log(GetTeamGamma(game.Winner)); L -= std::log(Opponents); } return L; } ///////////////////////////////////////////////////////////////////////////// // Compute victories for each gamma (and games played) ///////////////////////////////////////////////////////////////////////////// void CGameCollection::ComputeVictories() { vVictories.resize(vGamma.size()); vParticipations.resize(vGamma.size()); vPresences.resize(vGamma.size()); for (int i = vVictories.size(); --i >= 0;) { vVictories[i] = 0; vParticipations[i] = 0; vPresences[i] = 0; } for (int i = vgame.size(); --i >= 0;) { const CTeam &Winner = vgame[i].Winner; for (int j = Winner.GetSize(); --j >= 0;) vVictories[Winner.GetIndex(j)]++; int tParticipations[vGamma.size()]; for (int j = vGamma.size(); --j >= 0;) tParticipations[j] = 0; for (int k = vgame[i].vParticipants.size(); --k >= 0;) for (int j = vgame[i].vParticipants[k].GetSize(); --j >= 0;) { int Index = vgame[i].vParticipants[k].GetIndex(j); vParticipations[Index]++; tParticipations[Index]++; } for (int i = vGamma.size(); --i >= 0;) if (tParticipations[i]) vPresences[i]++; } #if 0 for (int i = vGamma.size(); --i >= 0;) std::cerr << i << ' ' << vVictories[i] << '\n'; #endif } ///////////////////////////////////////////////////////////////////////////// // One iteration of minorization-maximization, for one feature ///////////////////////////////////////////////////////////////////////////// void CGameCollection::MM(int Feature) { // // Interval for this feature // int Max = vFeatureIndex[Feature + 1]; int Min = vFeatureIndex[Feature]; // // Compute denominator for each gamma // std::vector<double> vDen(vGamma.size()); for (int i = vDen.size(); --i >= 0;) vDen[i] = 0.0; // // Main loop over games // for (int i = vgame.size(); --i >= 0;) { double tMul[vGamma.size()]; { for (int i = vGamma.size(); --i >= 0;) tMul[i] = 0.0; } double Den = 0.0; std::vector<CTeam> &v = vgame[i].vParticipants; for (int i = v.size(); --i >= 0;) { const CTeam &team = v[i]; double Product = 1.0; int FeatureIndex = -1; for (int i = 0; i < team.GetSize(); i++) { int Index = team.GetIndex(i); if (Index >= Min && Index < Max) FeatureIndex = Index; else Product *= vGamma[Index]; } if (FeatureIndex >= 0) { tMul[FeatureIndex] += Product; Product *= vGamma[FeatureIndex]; } Den += Product; } for (int i = Max; --i >= Min;) vDen[i] += tMul[i] / Den; } // // Update Gammas // for (int i = Max; --i >= Min;) { double NewGamma = (vVictories[i] + PriorVictories) / (vDen[i] + PriorGames / (vGamma[i] + PriorOpponentGamma)); vGamma[i] = NewGamma; } } ///////////////////////////////////////////////////////////////////////////// // Read game collection ///////////////////////////////////////////////////////////////////////////// void ReadGameCollection(CGameCollection &gcol, std::istream &in) { // // Read number of gammas in the first line // { std::string sLine; std::getline(in, sLine); std::istringstream is(sLine); std::string s; int Gammas = 0; is >> s >> Gammas; gcol.vGamma.resize(Gammas); for (int i = Gammas; --i >= 0;) gcol.vGamma[i] = 1.0; } // // Features // { gcol.vFeatureIndex.push_back(0); int Features = 0; in >> Features; for (int i = 0; i < Features; i++) { int Gammas; in >> Gammas; int Min = gcol.vFeatureIndex.back(); gcol.vFeatureIndex.push_back(Min + Gammas); std::string sName; in >> sName; gcol.vFeatureName.push_back(sName); } } // // Main loop over games // std::string sLine; std::getline(in, sLine); while(in) { // // Parse a game // if (sLine == "#") { CGame game; // // Winner // std::getline(in, sLine); game.Winner = ReadTeam(sLine); // // Participants // std::getline(in, sLine); while (sLine[0] != '#' && sLine[0] != '!' && in) { CTeam team = ReadTeam(sLine); game.vParticipants.push_back(team); std::getline(in, sLine); } gcol.vgame.push_back(game); } else { std::getline(in, sLine); std::cerr << '.'; } } std::cerr << '\n'; } ///////////////////////////////////////////////////////////////////////////// // Write ratings ///////////////////////////////////////////////////////////////////////////// void WriteRatings(const CGameCollection &gcol, std::ostream &out, int fExtraData) { for (unsigned i = 0; i < gcol.vGamma.size(); i++) { out << std::setw(3) << i << ' ' << std::setw(10) << gcol.vGamma[i] << ' '; if (fExtraData) { out << std::setw(11) << gcol.vVictories[i]; out << std::setw(11) << gcol.vParticipations[i]; out << std::setw(11) << gcol.vPresences[i]; } out << '\n'; } } ///////////////////////////////////////////////////////////////////////////// // main function ///////////////////////////////////////////////////////////////////////////// int main() { CGameCollection gcol; ReadGameCollection(gcol, std::cin); gcol.ComputeVictories(); std::cerr << "Games = " << gcol.vgame.size() << '\n'; double LogLikelihood = gcol.LogLikelihood() / gcol.vgame.size(); const int Features = gcol.vFeatureName.size(); double tDelta[Features]; for (int k = 2; --k >= 0;) { for (int i = Features; --i >= 0;) tDelta[i] = 10.0; while(1) { // // Select feature with max delta // int Feature = 0; double MaxDelta = tDelta[0]; for (int j = Features; --j > 0;) if (tDelta[j] > MaxDelta) MaxDelta = tDelta[Feature = j]; if (MaxDelta < 0.0001) break; // // Run one MM iteration over this feature // std::cerr << std::setw(20) << gcol.vFeatureName[Feature] << ' '; std::cerr << std::setw(9) << LogLikelihood << ' '; std::cerr << std::setw(9) << std::exp(-LogLikelihood) << ' '; gcol.MM(Feature); double NewLogLikelihood = gcol.LogLikelihood() / gcol.vgame.size(); double Delta = NewLogLikelihood - LogLikelihood; tDelta[Feature] = Delta; std::cerr << std::setw(9) << Delta << '\n'; LogLikelihood = NewLogLikelihood; } } WriteRatings(gcol, std::cout, 0); { std::ofstream ofs("mm-with-freq.dat"); WriteRatings(gcol, ofs, 1); } return 0; }
786551a9fa6cbaf7afc726409309a746e16018d2
acbda334bf4c3e1b191261de604ed2e7894146a6
/FTC8E/Program.cpp
3629a1e47f50c1bcf785c9fc6246c6d756db4b6c
[ "MIT" ]
permissive
thebeardphantom/FTC8E
bc60579722bb60283b01974020d89e3a64014435
0600abe4fcf8953317fd7501bcc8f6b9462278cf
refs/heads/master
2021-01-19T11:49:17.453376
2017-04-12T02:08:22
2017-04-12T02:08:22
87,998,955
0
0
null
null
null
null
UTF-8
C++
false
false
3,357
cpp
Program.cpp
#define VERBOSE #define DEBUG #include <Program.h> #include <SFML/Main.hpp> #include <SFML/Graphics/Image.hpp> #include "CPUTest.h" #include <stdio.h> #include <string> sf::RenderWindow* Program::window; CPU Program::cpu; bool Program::restart = true; int main(int argc, char* args[]) { CPUTest test; test.runTests(); while (Program::restart) { Program::mainLoop(); } return 0; } float lerp(float x1, float x2, float t) { return x1 + (x2 - x1)*t; } void Program::updateInput(sf::Event evt) { if (evt.key.code == sf::Keyboard::Escape) { window->close(); } char value = evt.type == sf::Event::EventType::KeyPressed ? 1 : 0; switch (evt.key.code) { case sf::Keyboard::Num1: { cpu.keypad[0x1] = value; break; } case sf::Keyboard::Num2: { cpu.keypad[0x2] = value; break; } case sf::Keyboard::Num3: { cpu.keypad[0x3] = value; break; } case sf::Keyboard::Num4: { cpu.keypad[0xC] = value; break; } case sf::Keyboard::Q: { cpu.keypad[0x4] = value; break; } case sf::Keyboard::W: { cpu.keypad[0x5] = value; break; } case sf::Keyboard::E: { cpu.keypad[0x6] = value; break; } case sf::Keyboard::R: { cpu.keypad[0xD] = value; break; } case sf::Keyboard::A: { cpu.keypad[0x7] = value; break; } case sf::Keyboard::S: { cpu.keypad[0x8] = value; break; } case sf::Keyboard::D: { cpu.keypad[0x9] = value; break; } case sf::Keyboard::F: { cpu.keypad[0xE] = value; break; } case sf::Keyboard::Z: { cpu.keypad[0xA] = value; break; } case sf::Keyboard::X: { cpu.keypad[0x0] = value; break; } case sf::Keyboard::C: { cpu.keypad[0xB] = value; break; } case sf::Keyboard::V: { cpu.keypad[0xF] = value; break; } default: { break; } } } int Program::mainLoop() { window = new sf::RenderWindow(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "FTC8E"); window->setFramerateLimit(60); window->setVerticalSyncEnabled(false); cpu = CPU(); cpu.loadROM("D:\\GameDev\\CPPProjects\\FTC8E\\Debug\\ROMs\\PONG2"); sf::Texture texture; texture.create(CPU::CANVAS_WIDTH, CPU::CANVAS_HEIGHT); sf::Sprite sprite(texture); sprite.setScale(sf::Vector2f(SCALING, SCALING)); sf::Clock timer; sf::Uint8 *colors = new sf::Uint8[cpu.gfx.size() * 4]; while (window->isOpen()) { // Input sf::Event evt; while (window->pollEvent(evt)) { if (evt.type == sf::Event::Closed) { restart = false; window->close(); } if (evt.type == sf::Event::KeyPressed || evt.type == sf::Event::KeyReleased) { updateInput(evt); } } // CPU Tick if (timer.getElapsedTime().asSeconds() >= CPU::CLOCK) { timer.restart(); cpu.tick(); } // Draw if (cpu.draw) { for (unsigned int i = 0; i < cpu.gfx.size(); i++) { if (cpu.gfx[i] == 1) { reg8 c = lerp(255, 0, (float)i / cpu.gfx.size()); colors[i * 4] = c; colors[(i * 4) + 1] = 0xFF; colors[(i * 4) + 2] = 0xFF; colors[(i * 4) + 3] = 0xFF; } else { colors[(i * 4)] = 0; colors[(i * 4) + 1] = 0; colors[(i * 4) + 2] = 0; colors[(i * 4) + 3] = 0; } } texture.update(colors); cpu.draw = false; window->clear(); window->draw(sprite); window->display(); } } delete[] colors; delete window; return 0; }
dbd8e463d4425d28262f8e1904c1583f8268b63b
aae79375bee5bbcaff765fc319a799f843b75bac
/atcoder/abc_146/a.cpp
48199c28392f607e672efcc2cd59d1bce59b920a
[]
no_license
firewood/topcoder
b50b6a709ea0f5d521c2c8870012940f7adc6b19
4ad02fc500bd63bc4b29750f97d4642eeab36079
refs/heads/master
2023-08-17T18:50:01.575463
2023-08-11T10:28:59
2023-08-11T10:28:59
1,628,606
21
6
null
null
null
null
UTF-8
C++
false
false
366
cpp
a.cpp
// A. #include <iostream> #include <sstream> #include <algorithm> #include <vector> using namespace std; int main(int argc, char* argv[]) { string w[7] = { "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT" }; string s; cin >> s; int ans = 0; for (int i = 0; i <= 7; ++i) { if (w[i] == s) { ans = 7 - i; break; } } cout << ans << endl; return 0; }
1811c2b1df295ad5596e366e3b473f3672a5b082
573cadecf7ddf2e7525bbf3065dad65365f997d9
/InC++/Console/Tetris/Game.h
c6a6d1c2205e06769e668e2b346d0b3d08ec5f6f
[]
no_license
BigFax/HowToDo
1bd5cdc969d5f05a363d2c67967459474a003608
ce4a421a7a3c18153c30ceebbee5563d6a1b4cdf
refs/heads/master
2020-05-18T10:29:18.240500
2015-05-20T12:17:13
2015-05-20T12:17:13
34,615,679
0
0
null
null
null
null
UTF-8
C++
false
false
365
h
Game.h
#ifndef GAME_H #define GAME_H #include <string> #include "Music.h" #include "Menu.h" class Game { protected: static std::string m_choice; enum {SOLO, MULTI, OPTIONS, QUIT}; Music m_music; Menu m_menu; public: Game(string music); ~Game(void); std::string getType(); static void display(string action); void start(void); void playMusic(void); }; #endif
3e5f36efdfbb8d427ec64a674ea1c24668566840
6d2c0f02884cd08be0fe406a3bd5d54db452f903
/3n+1.cpp
c71ae5dd0087977658f8f3b81401db2e52da7273
[]
no_license
sid-tiw/cp3
3f7caf1ace9845e9db6ebfff9e78f2c8cb61c5d9
01137b9b31ff99e45988f57bc977b4180462bc4d
refs/heads/master
2022-12-07T02:37:43.628587
2020-09-02T18:53:27
2020-09-02T18:53:27
281,136,181
0
0
null
null
null
null
UTF-8
C++
false
false
894
cpp
3n+1.cpp
#include <iostream> #include <stdio.h> using namespace std; long max_ind = 1000000; template<class T> void print(T arr[], int n){ for(int i=0;i<n;i++) cout << arr[i] << " "; cout << "\n"; } template<class T> void print(T arr){ for(auto it=arr.begin();it!=arr.end();it++) cout << (*it) << " "; cout << "\n"; } long find_max(long a, long b, long arr[]){ long max_m = arr[a]; for(long i = a+1;i<=b;i++) max_m = max(max_m, arr[i]); return max_m; } int main() { long arr[max_ind+1]; arr[0] = -1; arr[1] = 1; for(int i=2;i<=max_ind;i++){ long temp = i; long count = 1; while(temp >= i){ if(temp % 2 == 0) temp /=2; else temp = 3*temp + 1; count++; } count += (arr[temp] - 1); arr[i] = count; } long a, b; int n; while(scanf("%ld %ld", &a, &b) != -1){ cout << a << " " << b << " " << find_max(min(a, b), max(a, b), arr) << "\n"; } return 0; }
8341ca61bd4405a90568b9094ac2c897eb29a92f
7a1a6661ece31634cde07eeb082771992ef65422
/src/cli.cpp
7ec5fda8844976196e6762993f2e9e72055a3a53
[ "MIT" ]
permissive
a1exwang/tinydbpp
9b38cf5709097562e6682bddb7808749043f830b
9b5d72b48171fa9270c30aea5e66b0b2466cd54e
refs/heads/master
2021-01-10T23:53:26.272948
2017-01-04T12:00:44
2017-01-04T12:00:44
70,791,558
1
0
null
null
null
null
UTF-8
C++
false
false
2,587
cpp
cli.cpp
#include <Parser/Lexer.h> #include <Parser/ParserVal.h> #include <Parser/AST/Nodes.h> #include <Parser/Parser.tab.hpp> #include <Parser/ParsingError.h> #include <boost/assert.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/trivial.hpp> #include <iostream> #include <fstream> #include <sstream> #include <RecordManage/TableManager.h> #include <cstdlib> #include <stdlib.h> #include <sys/time.h> using namespace std; using namespace tinydbpp; using namespace boost; enum Mode { CLI, EvalFile }; int64_t timeToMicroSec(const timeval &time) { return time.tv_sec * 1000000 + time.tv_usec; } int eval(istream &ssin) { stringstream ssout; Lexer lexer(ssin, ssout); std::shared_ptr<ast::Node> node; Parser parser(lexer, node); try { if (parser.parse() != 0) { cerr << "Syntax error" << endl; return 0; } if (dynamic_cast<ast::Statements *>(node.get()) == nullptr) { cerr << "Syntax error, please check your SQL statement." << endl; return 0; } auto stmts = dynamic_pointer_cast<ast::Statements>(node); auto ss = stmts->get(); struct timeval time; gettimeofday(&time, NULL); // Start Time int64_t totalStartTimeMs = timeToMicroSec(time); int count = 0; for (auto &s: ss) { gettimeofday(&time, NULL); // Start Time int64_t stmtStartTimeMs = timeToMicroSec(time); cout << s->exec() << endl; gettimeofday(&time, NULL); // Start Time int64_t deltaT = timeToMicroSec(time) - stmtStartTimeMs; cout << "Time: " << deltaT / 1000 << "ms" << endl; count++; } gettimeofday(&time, NULL); //END-TIME double deltaT = timeToMicroSec(time) - totalStartTimeMs; cout << "Total time: " << deltaT / 1000 << "ms" << endl; return count; } catch (std::runtime_error re) { cerr << "Syntax error" << endl; return 0; } } int main(int argc, char **argv) { int mode = CLI; const char *sqlFilePath; if (argc == 2) { mode = EvalFile; sqlFilePath = argv[1]; } else if (argc == 1) { mode = CLI; } else { fprintf(stderr, "Wrong parameter"); _exit(127); } log::core::get()->set_filter(log::trivial::severity >= log::trivial::fatal); if (mode == EvalFile) { ifstream is(sqlFilePath); eval(is); } else { while (true) { string line; cout << "tinydb> "; std::getline(cin, line); if (line.size() == 0) break; stringstream is(line); int count = eval(is); cout << endl; } cout << "Good Bye!" << endl; } }
c85df2091689ee684ae29e89fa8789b1a238e02e
7bb362150632879ed94b1c2c6e1ed7392e8f683d
/ejercicio02.cpp
18cafd19a1e2cf32c40ed9499efe28285e9765a4
[]
no_license
Nicolas-Fediuk/UTN_tp04_Pc
ba031bf51d3a807ac6eca8e094ef1b660145f64f
dc04787b7fbc01c23019ed91a2c514c0a25d0ea5
refs/heads/master
2023-05-06T07:57:11.977533
2021-05-25T21:45:01
2021-05-25T21:45:01
370,818,082
0
0
null
null
null
null
ISO-8859-1
C++
false
false
320
cpp
ejercicio02.cpp
/*Hacer un programa para mostrar por pantalla los números del 1 al 20 salteando de a 3 elementos. Es decir: 1, 4, 7, 10, 13, 16, 19. Importante: El programa no tiene ningún ingreso de datos.*/ #include <iostream> using namespace std; int main(){ int n=-2; while (n<19){ n=n+3; cout<<n<<endl; } return 0; }
b2fd3258727004e400ba00302f7479b59aa0a63f
5f975169aeb67c7cd0a08683e6b9eee253f84183
/concurrency/medium/1117. Building H2O.h
ea1eb27f6bfbf1b118b2fa9536c09123dfdefa5a
[ "MIT" ]
permissive
MultivacX/leetcode2020
6b743ffb0d731eea436d203ccb221be14f2346d3
83bfd675052de169ae9612d88378a704c80a50f1
refs/heads/master
2023-03-17T23:19:45.996836
2023-03-16T07:54:45
2023-03-16T07:54:45
231,091,990
0
0
null
null
null
null
UTF-8
C++
false
false
913
h
1117. Building H2O.h
// 1117. Building H2O // https://leetcode.com/problems/building-h2o/ // Runtime: 204 ms, faster than 44.42% of C++ online submissions for Building H2O. // Memory Usage: 8.8 MB, less than 77.68% of C++ online submissions for Building H2O. class H2O { atomic<int> H{0}; mutex mtx; condition_variable cv; public: H2O() { } void hydrogen(function<void()> releaseHydrogen) { unique_lock<mutex> lck(mtx); while (H == 2) cv.wait(lck); // releaseHydrogen() outputs "H". Do not change or remove this line. releaseHydrogen(); H += 1; cv.notify_all(); } void oxygen(function<void()> releaseOxygen) { unique_lock<mutex> lck(mtx); while (H != 2) cv.wait(lck); // releaseOxygen() outputs "O". Do not change or remove this line. releaseOxygen(); H = 0; cv.notify_all(); } };
dbbe077731fb7c08e0ea0b5554a7f0e1512e39bb
9f9660f318732124b8a5154e6670e1cfc372acc4
/Case_save/Case40/Case/case2/500/nut
997fb9fcc8c10ecb21f421110fea7da93b243342
[]
no_license
mamitsu2/aircond5
9a6857f4190caec15823cb3f975cdddb7cfec80b
20a6408fb10c3ba7081923b61e44454a8f09e2be
refs/heads/master
2020-04-10T22:41:47.782141
2019-09-02T03:42:37
2019-09-02T03:42:37
161,329,638
0
0
null
null
null
null
UTF-8
C++
false
false
9,998
nut
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "500"; object nut; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -1 0 0 0 0]; internalField nonuniform List<scalar> 459 ( 0.000717434 0.000748848 0.000740426 0.000763339 0.000782321 0.000797848 0.000810724 0.000821726 0.000831617 0.000841268 0.000847698 0.000849986 0.000848064 0.000843603 0.000837355 0.000621675 0.000579938 0.000549545 0.000528685 0.000512885 0.000498173 0.000481904 0.000466187 0.000451151 0.000436671 0.000422719 0.000409261 0.000396222 0.000383441 0.000370598 0.00035718 0.000342168 0.000329948 0.000302952 0.00108185 0.00168583 0.00143345 0.00165343 0.00176388 0.0018815 0.00199836 0.00210436 0.00218505 0.0022217 0.00222737 0.00217555 0.00203291 0.00175496 0.00130519 0.000849986 0.000794996 0.00071513 0.00106569 0.00131687 0.00151126 0.00162238 0.00161799 0.00140736 0.00127535 0.00116804 0.00107689 0.000996448 0.000923492 0.000854699 0.000785436 0.000711731 0.000645364 0.00058999 0.000688695 0.00037976 0.00141855 0.00250484 0.00156137 0.00229328 0.00246013 0.00257993 0.00267138 0.00274028 0.00279113 0.00282034 0.00283055 0.00279938 0.00269773 0.00249141 0.00214156 0.00162204 0.000910061 0.000795288 0.00182772 0.00219564 0.00233026 0.00233929 0.00205327 0.000576502 0.000518221 0.00047367 0.000439079 0.000411663 0.000389484 0.00037137 0.000356907 0.00034681 0.00039873 0.000475634 0.000782872 0.000438555 0.00177155 0.00379676 0.00149951 0.00256425 0.00282856 0.00292271 0.00296868 0.00299139 0.00300761 0.00302315 0.00303867 0.00303765 0.00299663 0.00288923 0.002678 0.0022942 0.00163874 0.000893812 0.00220717 0.00244008 0.00252458 0.0025245 0.00247872 0.00215794 0.000587759 0.000562899 0.000554244 0.000550011 0.000543409 0.000530296 0.000513712 0.000494967 0.000470868 0.000454361 0.000477551 0.000907072 0.000487168 0.002138 0.00556666 0.00180593 0.00244452 0.00297895 0.00307753 0.00309393 0.00308167 0.00307059 0.00307978 0.00310611 0.00313943 0.00314891 0.00310603 0.00298425 0.00277762 0.00254567 0.00237899 0.00237686 0.00249601 0.00246738 0.00242259 0.00240304 0.00236263 0.00216306 0.0021567 0.00218055 0.0021896 0.00216436 0.00209236 0.0019218 0.00166758 0.00136315 0.00103897 0.000786058 0.000870414 0.000610076 0.000631471 0.000753312 0.000836488 0.00251704 0.00750488 0.00312091 0.0021035 0.00281699 0.00307138 0.0031398 0.00313258 0.0030876 0.0030608 0.00309996 0.00316806 0.00321538 0.0032097 0.00311074 0.00287421 0.00250785 0.00219683 0.0022995 0.00245644 0.00237431 0.00229614 0.00228654 0.00232999 0.00239222 0.00247468 0.00254297 0.00258176 0.00258426 0.00254809 0.00245023 0.00224681 0.00194254 0.00155541 0.00119011 0.000925486 0.000762336 0.000707647 0.00106755 0.000870036 0.00290718 0.00912221 0.00589404 0.0029347 0.00223181 0.00239724 0.00274165 0.00300557 0.00316644 0.00303677 0.0030993 0.00317947 0.0032377 0.00325016 0.00317612 0.00294643 0.00250129 0.00204154 0.00221385 0.00244639 0.00233701 0.00223846 0.00222668 0.00228113 0.00236754 0.00246072 0.00254006 0.00259288 0.00262097 0.00262925 0.00262086 0.00250037 0.00223932 0.00187656 0.00152785 0.00120978 0.00101506 0.000983178 0.00106569 0.000946745 0.00301595 0.00928237 0.00747912 0.00574506 0.00414925 0.00316322 0.00281911 0.00287268 0.00307386 0.0031272 0.00316223 0.00320365 0.00323837 0.0032389 0.00316207 0.00293498 0.00248223 0.00192879 0.00212008 0.00246332 0.00234111 0.00222721 0.00220144 0.00223496 0.00229256 0.00235342 0.00240756 0.00245259 0.00249601 0.00255 0.00262702 0.00269849 0.0025292 0.00221905 0.00196661 0.00187971 0.00203742 0.00261616 0.0035734 0.00153624 0.00296856 0.00362691 0.00406669 0.00421002 0.004067 0.0037353 0.0034266 0.00324004 0.00316416 0.00313791 0.00315477 0.00318804 0.00320831 0.00318499 0.00308189 0.00283229 0.00235108 0.00174153 0.00201848 0.0024849 0.00235667 0.00221848 0.00216248 0.00215621 0.00216711 0.00217829 0.00218148 0.00217344 0.00215403 0.00212385 0.00208338 0.00203372 0.00198464 0.00195987 0.00199188 0.00206996 0.00212465 0.00208509 0.00196164 0.0014249 0.0021369 0.00359629 0.00390875 0.00386923 0.00373433 0.00360476 0.00351093 0.00343445 0.00336592 0.00329089 0.00319261 0.00305514 0.00285863 0.00254716 0.00203425 0.00142441 0.00189432 0.00247934 0.00235017 0.00218544 0.00210012 0.0020585 0.00203473 0.00201769 0.00200153 0.00198374 0.00196536 0.001951 0.00194839 0.00196579 0.00199688 0.00204085 0.00209419 0.0021297 0.00210049 0.00198255 0.00178205 0.00116202 0.00227068 0.00411805 0.0043287 0.00419451 0.00403425 0.00386204 0.00368644 0.00351062 0.00328499 0.00302184 0.00274236 0.0024573 0.00216763 0.00184923 0.00145084 0.00101751 0.00155128 0.00195669 0.00187229 0.00175046 0.00168095 0.001647 0.00163985 0.00165711 0.00169626 0.00175327 0.00182238 0.00189546 0.00196071 0.0020379 0.0021256 0.00221985 0.00231026 0.00238441 0.00240086 0.00245717 0.00226465 0.00117536 0.00198424 0.0020913 0.00218171 0.00232402 0.00220158 0.00203216 0.00188558 0.00175152 0.0016234 0.00150071 0.00139345 0.00129703 0.00120508 0.00111405 0.00102184 0.000926752 0.000824039 0.000633217 0.000598197 0.000609616 0.000613416 0.000620632 0.000633519 0.000650942 0.000672138 0.000696671 0.00072431 0.000755078 0.000789381 0.000828243 0.000873799 0.000924352 0.000980469 0.00104264 0.00111144 0.00120145 0.00123318 0.00120871 0.00113103 0.00104762 ) ; boundaryField { floor { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 29 ( 0.000101392 7.50514e-05 6.98367e-05 6.60105e-05 6.33695e-05 6.13606e-05 5.9483e-05 5.73985e-05 5.53765e-05 5.34338e-05 5.15554e-05 4.9738e-05 4.79778e-05 4.62653e-05 4.45797e-05 4.28788e-05 4.10936e-05 3.9086e-05 3.74434e-05 3.37858e-05 3.37857e-05 4.40932e-05 5.18001e-05 5.80736e-05 0.000101392 7.50513e-05 8.65807e-05 9.63264e-05 0.000108148 ) ; } ceiling { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 43 ( 0.000231567 0.000243195 0.000252968 0.000268351 0.000255221 0.000236895 0.000220897 0.000206144 0.000191928 0.000178199 0.000166096 0.000155128 0.000144582 0.000134053 0.000123286 0.000112066 9.97966e-05 7.65007e-05 7.21278e-05 7.35545e-05 7.4028e-05 7.49262e-05 7.65274e-05 7.86863e-05 8.13036e-05 8.43207e-05 8.77049e-05 9.14543e-05 9.56133e-05 0.0001003 0.00010576 0.000111782 0.000118421 0.000125726 0.000133753 0.00014417 0.000147821 0.000145007 0.000136029 0.00012631 0.000336817 0.000404938 0.000262463 ) ; } sWall { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value uniform 0.00023163; } nWall { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 6(0.000101291 0.000105312 0.000114441 0.000139628 0.00014117 0.000126318); } sideWalls { type empty; } glass1 { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 9(8.68297e-05 0.000130417 0.000169163 0.000208685 0.000248807 0.000289536 0.000330785 0.000342189 0.000337244); } glass2 { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 2(0.000182285 0.000169741); } sun { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 14 ( 8.68602e-05 9.06933e-05 8.96676e-05 9.24546e-05 9.4756e-05 9.66336e-05 9.81874e-05 9.95128e-05 0.000100703 0.000101862 0.000102633 0.000102908 0.000102677 0.000102142 ) ; } heatsource1 { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 3(7.62723e-05 9.12388e-05 0.000101289); } heatsource2 { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 4(0.000102907 9.62894e-05 9.62894e-05 0.00011008); } Table_master { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 9(6.94118e-05 6.20466e-05 5.63479e-05 5.18774e-05 4.83028e-05 4.53892e-05 4.29939e-05 4.10706e-05 3.97221e-05); } Table_slave { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value nonuniform List<scalar> 9(7.0822e-05 6.76996e-05 6.66087e-05 6.60744e-05 6.52402e-05 6.35794e-05 6.14717e-05 5.90793e-05 5.59868e-05); } inlet { type calculated; value uniform 0.000100623; } outlet { type calculated; value nonuniform List<scalar> 2(0.00198424 0.0020913); } } // ************************************************************************* //
7de7d4c2d5d2aa5421ab9a9e9715bee57d16732a
583b2b81e0e7ac3c910bc00204f877aa9c48bdae
/src/JPTJet.cc
6db12d1a64e778c500a6247b39b68b27b45cafd2
[]
no_license
danielwinterbottom/ICHiggsTauTau
8c88a3322c8e362114a53c559634a7ecceb266d2
69f6b580ec1faa4e5b6ef931be880f939f409979
refs/heads/master
2023-09-01T17:49:18.865198
2023-02-07T13:14:15
2023-02-07T13:14:15
10,723,688
4
12
null
2023-09-07T08:41:44
2013-06-16T18:08:22
Python
UTF-8
C++
false
false
1,877
cc
JPTJet.cc
#include "../interface/JPTJet.hh" namespace ic { // Constructors/Destructors JPTJet::JPTJet() : CaloJet::CaloJet(), muon_multiplicity_(0), charged_multiplicity_(0), charged_em_energy_(0.), neutral_em_energy_(0.), charged_had_energy_(0.), neutral_had_energy_(0.), beta_(0.), beta_max_(0.), track_pt_total_(0.) {} JPTJet::~JPTJet() {} void JPTJet::Print() const { Candidate::Print(); } std::vector<std::size_t> JPTJet::constituent_tracks() const { unsigned size = pions_in_vtx_in_calo_.size() + pions_in_vtx_out_calo_.size() + pions_out_vtx_in_calo_.size() + muons_in_vtx_in_calo_.size() + muons_in_vtx_out_calo_.size() + muons_out_vtx_in_calo_.size() + elecs_in_vtx_in_calo_.size() + elecs_in_vtx_out_calo_.size() + elecs_out_vtx_in_calo_.size(); std::vector<std::size_t> trks; trks.reserve(size); trks.insert(trks.end(), pions_in_vtx_in_calo_.begin(), pions_in_vtx_in_calo_.end()); trks.insert(trks.end(), pions_in_vtx_out_calo_.begin(), pions_in_vtx_out_calo_.end()); trks.insert(trks.end(), pions_out_vtx_in_calo_.begin(), pions_out_vtx_in_calo_.end()); trks.insert(trks.end(), muons_in_vtx_in_calo_.begin(), muons_in_vtx_in_calo_.end()); trks.insert(trks.end(), muons_in_vtx_out_calo_.begin(), muons_in_vtx_out_calo_.end()); trks.insert(trks.end(), muons_out_vtx_in_calo_.begin(), muons_out_vtx_in_calo_.end()); trks.insert(trks.end(), elecs_in_vtx_in_calo_.begin(), elecs_in_vtx_in_calo_.end()); trks.insert(trks.end(), elecs_in_vtx_out_calo_.begin(), elecs_in_vtx_out_calo_.end()); trks.insert(trks.end(), elecs_out_vtx_in_calo_.begin(), elecs_out_vtx_in_calo_.end()); return trks; } }
9c086f79f95177933a42bc275072be743acaeafe
95de04e3c0c105b32232996ffe1ec3f731b5b21f
/model/detection_result.hpp
560661e62f1f5e6593d12839c3e2e6d8d532076f
[]
no_license
kk-mats/asterism
e817a298919d0dee243d45b678dc9231a4c9bb47
f806c76c149872382645e6c03675555b2bb921f1
refs/heads/master
2020-04-26T03:56:56.277392
2019-09-30T05:34:05
2019-09-30T05:34:05
173,284,519
0
0
null
null
null
null
UTF-8
C++
false
false
1,416
hpp
detection_result.hpp
#ifndef DETECTION_RESULT_HPP #define DETECTION_RESULT_HPP #include <QVector> #include <QHash> #include <QJsonArray> #include "result_environment.hpp" #include "layer/clone_pair_grid_layer.hpp" namespace asterism { class detection_result final { public: detection_result() noexcept; detection_result(result_environment &&environment, shared_set<clone_pair> &&clone_pairs) noexcept; const result_environment& environment() const noexcept; result_environment& environment() noexcept; shared_set<clone_pair>& clone_pairs() noexcept; const shared_set<clone_pair>& clone_pairs() const noexcept; std::shared_ptr<clone_pair_grid_layer> clone_pair_layer() const noexcept; std::shared_ptr<clone_pair_grid_layer> update_layer(const int file_size) noexcept; bool operator ==(const detection_result &detection_result) const noexcept; friend QDebug operator <<(QDebug logger, const detection_result &detection_result) noexcept; private: result_environment environment_; shared_set<clone_pair> clone_pairs_; std::shared_ptr<clone_pair_grid_layer> clone_pair_grid_layer_=nullptr; }; uint qHash(const detection_result &key, uint seed) noexcept; uint qHash(const std::shared_ptr<detection_result> &key, uint seed) noexcept; QDebug operator <<(QDebug logger, const detection_result &detection_result) noexcept; } Q_DECLARE_METATYPE(std::shared_ptr<asterism::detection_result>) #endif // DETECTION_RESULT_HPP
59be8dc75b0714ece143f368f7c3bdcdf00deeed
dd77f7ba87740bb6230f24a1cccc62c302ee23df
/server/src/bodies/chell/fire_to_idle_state.cpp
dc0a04d49ee847c1ffd74691518feae469e6d88a
[ "Apache-2.0" ]
permissive
MarcosCouttulenc/Portal-Taller-de-Programacion-9508-FIUBA
014834fc844899d82853e6c5a1c7ce85d82cc340
6a642c02405a9409a936f1551cf2237639616825
refs/heads/master
2023-03-16T17:29:33.311013
2020-03-12T19:06:39
2020-03-12T19:06:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
fire_to_idle_state.cpp
#include "../../../include/bodies/chell/fire_to_idle_state.h" #include "../../../include/bodies/chell/chell.h" #include "../../../include/bodies/chell/chell_state.h" FireToIdleState::FireToIdleState(Chell *chell): ChellState(chell, STATUS::CHELL_FIRE_TO_IDLE) { } void FireToIdleState::applyStateAction() { this->step_count++; if (this->step_count > this->MAX_STEPS) { this->chell->changeStateToIdle(); } }
729caa71272edea2ea3c33b178ddc98777661fb0
2a5418b2cad2881091095800eb6ea58ce1dd593d
/server/include/epoll/EpollManager.h
21ca2734e08b439bdbf1618b4977fd47c21fdbb5
[ "MIT" ]
permissive
SiskonEmilia/lightweight-web-server
177061783fe9eff0838f7f8efd8d54a41772e362
5d55b2f3344a65178d255a5ddb91adb684e843b0
refs/heads/main
2023-04-09T22:26:35.449481
2021-04-17T02:19:51
2021-04-17T02:19:51
334,323,882
8
2
null
null
null
null
UTF-8
C++
false
false
2,204
h
EpollManager.h
#pragma once #include <sys/epoll.h> #include <vector> #include <memory> #include "timer/TimerManager.h" #include "utils/Uncopyable.h" // 如果在 Linux 2.6.9 以下版本,使用以下宏定义以避免 epoll 不接受 nullptr 作为 event // #define NULL_EVENT_NOT_ALLOWED class HttpServer; /** * @brief Epoll 行为管理类,单例模式 */ class EpollManager : private Uncopyable { // 最多同时处理的 socket 数量 static const int Max_Events; #ifdef NULL_EVENT_NOT_ALLOWED // 在 Linux 2.6.9 以下版本,EPOLL_CTL_DEL 不允许传入 event 空指针 static epoll_event empty_event; #endif // 当前的 epoll fd int epoll_fd; // 存储 Epoll 返回 socket 的数组的长度 int epoll_max_events; // 存储 Epoll 返回 socket 的数组 std::shared_ptr<epoll_event> events; // 单例模式指针 static std::shared_ptr<EpollManager> instance; EpollManager(); public: // 【默认】仅允许单线程处理同一链接,触发后即屏蔽响应 static const __uint32_t Single_Time_Accept_Event; // 对于监听 socket 可以复用(因为只有主线程处理连接请求) static const __uint32_t Multi_Times_Accept_Event; // 发送用 Event,单次触发 static const __uint32_t Single_Time_Send_Event; /** * @brief 获取实例,如无实例则创建实例 */ static std::shared_ptr<EpollManager> getInstance(); /** * @brief 初始化 EpollManager,否则无法正常使用 */ int init(int max_events); /** * @brief 添加监听的 socket fd */ int addFd(int socket_fd, __uint32_t events); /** * @brief 修改已经添加的 socket fd */ int modFd(int socket_fd, __uint32_t events); /** * @brief 删除已经添加的 socket fd */ int delFd(int socket_fd); /** * @brief 异步等待 epoll 回调 * @param ListenSocket 服务器监听 Socket * @param timeout 最长等待时间 * @return 需要处理的连接 socket_fd 的数组(注意,新建连接的请求将在函数内被处理) */ std::vector<int> poll(HttpServer &server, int timeout); };
0fb13dafc239ddb70e8d344dbebae82955e5f6fa
6cef817d092eeccb0b1839e0437bbaeec8df9176
/lib/Support/JSONParser.cpp
5dfcf297a7ea78bcf2595098cb6eeb7b65b9191d
[ "NCSA", "Spencer-94", "BSD-3-Clause" ]
permissive
asl/llvm-openrisc
b1a1166d272bc36acc03f50cf2f792986bae9e33
9751b81fc97dcb6ecc4be4304ef8e6e8cf79f6e4
refs/heads/master
2021-01-15T17:45:49.158680
2012-04-04T19:36:31
2012-04-04T19:36:31
3,941,218
8
1
null
null
null
null
UTF-8
C++
false
false
10,288
cpp
JSONParser.cpp
//===--- JSONParser.cpp - Simple JSON parser ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file implements a JSON parser. // //===----------------------------------------------------------------------===// #include "llvm/Support/JSONParser.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/Casting.h" #include "llvm/Support/MemoryBuffer.h" using namespace llvm; JSONParser::JSONParser(StringRef Input, SourceMgr *SM) : SM(SM), Failed(false) { InputBuffer = MemoryBuffer::getMemBuffer(Input, "JSON"); SM->AddNewSourceBuffer(InputBuffer, SMLoc()); End = InputBuffer->getBuffer().end(); Position = InputBuffer->getBuffer().begin(); } JSONValue *JSONParser::parseRoot() { if (Position != InputBuffer->getBuffer().begin()) report_fatal_error("Cannot reuse JSONParser."); if (isWhitespace()) nextNonWhitespace(); if (errorIfAtEndOfFile("'[' or '{' at start of JSON text")) return 0; switch (*Position) { case '[': return new (ValueAllocator.Allocate<JSONArray>(1)) JSONArray(this); case '{': return new (ValueAllocator.Allocate<JSONObject>(1)) JSONObject(this); default: setExpectedError("'[' or '{' at start of JSON text", *Position); return 0; } } bool JSONParser::validate() { JSONValue *Root = parseRoot(); if (Root == NULL) { return false; } return skip(*Root); } bool JSONParser::skip(const JSONAtom &Atom) { switch(Atom.getKind()) { case JSONAtom::JK_Array: case JSONAtom::JK_Object: return skipContainer(*cast<JSONContainer>(&Atom)); case JSONAtom::JK_String: return true; case JSONAtom::JK_KeyValuePair: return skip(*cast<JSONKeyValuePair>(&Atom)->Value); } llvm_unreachable("Impossible enum value."); } // Sets the current error to: // "expected <Expected>, but found <Found>". void JSONParser::setExpectedError(StringRef Expected, StringRef Found) { SM->PrintMessage(SMLoc::getFromPointer(Position), SourceMgr::DK_Error, "expected " + Expected + ", but found " + Found + ".", ArrayRef<SMRange>()); Failed = true; } // Sets the current error to: // "expected <Expected>, but found <Found>". void JSONParser::setExpectedError(StringRef Expected, char Found) { setExpectedError(Expected, ("'" + StringRef(&Found, 1) + "'").str()); } // If there is no character available, returns true and sets the current error // to: "expected <Expected>, but found EOF.". bool JSONParser::errorIfAtEndOfFile(StringRef Expected) { if (Position == End) { setExpectedError(Expected, "EOF"); return true; } return false; } // Sets the current error if the current character is not C to: // "expected 'C', but got <current character>". bool JSONParser::errorIfNotAt(char C, StringRef Message) { if (*Position != C) { std::string Expected = ("'" + StringRef(&C, 1) + "' " + Message).str(); if (Position == End) setExpectedError(Expected, "EOF"); else setExpectedError(Expected, *Position); return true; } return false; } // Forbidding inlining improves performance by roughly 20%. // FIXME: Remove once llvm optimizes this to the faster version without hints. LLVM_ATTRIBUTE_NOINLINE static bool wasEscaped(StringRef::iterator First, StringRef::iterator Position); // Returns whether a character at 'Position' was escaped with a leading '\'. // 'First' specifies the position of the first character in the string. static bool wasEscaped(StringRef::iterator First, StringRef::iterator Position) { assert(Position - 1 >= First); StringRef::iterator I = Position - 1; // We calulate the number of consecutive '\'s before the current position // by iterating backwards through our string. while (I >= First && *I == '\\') --I; // (Position - 1 - I) now contains the number of '\'s before the current // position. If it is odd, the character at 'Positon' was escaped. return (Position - 1 - I) % 2 == 1; } // Parses a JSONString, assuming that the current position is on a quote. JSONString *JSONParser::parseString() { assert(Position != End); assert(!isWhitespace()); if (errorIfNotAt('"', "at start of string")) return 0; StringRef::iterator First = Position + 1; // Benchmarking shows that this loop is the hot path of the application with // about 2/3rd of the runtime cycles. Since escaped quotes are not the common // case, and multiple escaped backslashes before escaped quotes are very rare, // we pessimize this case to achieve a smaller inner loop in the common case. // We're doing that by having a quick inner loop that just scans for the next // quote. Once we find the quote we check the last character to see whether // the quote might have been escaped. If the last character is not a '\', we // know the quote was not escaped and have thus found the end of the string. // If the immediately preceding character was a '\', we have to scan backwards // to see whether the previous character was actually an escaped backslash, or // an escape character for the quote. If we find that the current quote was // escaped, we continue parsing for the next quote and repeat. // This optimization brings around 30% performance improvements. do { // Step over the current quote. ++Position; // Find the next quote. while (Position != End && *Position != '"') ++Position; if (errorIfAtEndOfFile("'\"' at end of string")) return 0; // Repeat until the previous character was not a '\' or was an escaped // backslash. } while (*(Position - 1) == '\\' && wasEscaped(First, Position)); return new (ValueAllocator.Allocate<JSONString>()) JSONString(StringRef(First, Position - First)); } // Advances the position to the next non-whitespace position. void JSONParser::nextNonWhitespace() { do { ++Position; } while (isWhitespace()); } // Checks if there is a whitespace character at the current position. bool JSONParser::isWhitespace() { return *Position == ' ' || *Position == '\t' || *Position == '\n' || *Position == '\r'; } bool JSONParser::failed() const { return Failed; } // Parses a JSONValue, assuming that the current position is at the first // character of the value. JSONValue *JSONParser::parseValue() { assert(Position != End); assert(!isWhitespace()); switch (*Position) { case '[': return new (ValueAllocator.Allocate<JSONArray>(1)) JSONArray(this); case '{': return new (ValueAllocator.Allocate<JSONObject>(1)) JSONObject(this); case '"': return parseString(); default: setExpectedError("'[', '{' or '\"' at start of value", *Position); return 0; } } // Parses a JSONKeyValuePair, assuming that the current position is at the first // character of the key, value pair. JSONKeyValuePair *JSONParser::parseKeyValuePair() { assert(Position != End); assert(!isWhitespace()); JSONString *Key = parseString(); if (Key == 0) return 0; nextNonWhitespace(); if (errorIfNotAt(':', "between key and value")) return 0; nextNonWhitespace(); const JSONValue *Value = parseValue(); if (Value == 0) return 0; return new (ValueAllocator.Allocate<JSONKeyValuePair>(1)) JSONKeyValuePair(Key, Value); } /// \brief Parses the first element of a JSON array or object, or closes the /// array. /// /// The method assumes that the current position is before the first character /// of the element, with possible white space in between. When successful, it /// returns the new position after parsing the element. Otherwise, if there is /// no next value, it returns a default constructed StringRef::iterator. StringRef::iterator JSONParser::parseFirstElement(JSONAtom::Kind ContainerKind, char StartChar, char EndChar, const JSONAtom *&Element) { assert(*Position == StartChar); Element = 0; nextNonWhitespace(); if (errorIfAtEndOfFile("value or end of container at start of container")) return StringRef::iterator(); if (*Position == EndChar) return StringRef::iterator(); Element = parseElement(ContainerKind); if (Element == 0) return StringRef::iterator(); return Position; } /// \brief Parses the next element of a JSON array or object, or closes the /// array. /// /// The method assumes that the current position is before the ',' which /// separates the next element from the current element. When successful, it /// returns the new position after parsing the element. Otherwise, if there is /// no next value, it returns a default constructed StringRef::iterator. StringRef::iterator JSONParser::parseNextElement(JSONAtom::Kind ContainerKind, char EndChar, const JSONAtom *&Element) { Element = 0; nextNonWhitespace(); if (errorIfAtEndOfFile("',' or end of container for next element")) return 0; if (*Position == ',') { nextNonWhitespace(); if (errorIfAtEndOfFile("element in container")) return StringRef::iterator(); Element = parseElement(ContainerKind); if (Element == 0) return StringRef::iterator(); return Position; } else if (*Position == EndChar) { return StringRef::iterator(); } else { setExpectedError("',' or end of container for next element", *Position); return StringRef::iterator(); } } const JSONAtom *JSONParser::parseElement(JSONAtom::Kind ContainerKind) { switch (ContainerKind) { case JSONAtom::JK_Array: return parseValue(); case JSONAtom::JK_Object: return parseKeyValuePair(); default: llvm_unreachable("Impossible code path"); } } bool JSONParser::skipContainer(const JSONContainer &Container) { for (JSONContainer::AtomIterator I = Container.atom_current(), E = Container.atom_end(); I != E; ++I) { assert(*I != 0); if (!skip(**I)) return false; } return !failed(); }
135fdf321701a33190dc887f1e5251bee86469ca
f632495ae498bf4f03f24c31540c9db61bb184ab
/1015/1015.cpp
bcb85632ec0b632dc6c2a4cef55d580db856c055
[]
no_license
ClaraShar/PAT-basic-level
ca82dc14597aaf36326766ada0f93ab7dd6c574f
d88df45f20ce6a26bbcbc87e3e187979ec10c590
refs/heads/master
2020-03-29T09:47:39.707829
2019-09-05T09:42:20
2019-09-05T09:42:20
149,774,321
0
0
null
null
null
null
UTF-8
C++
false
false
1,988
cpp
1015.cpp
#include <iostream> #include <string> #include <algorithm> using namespace std; typedef struct score { string id; int de; int cai; int sum; }score; bool cmp(score A,score B) { if(A.sum>B.sum) return true; else if(A.sum==B.sum) { if(A.de>B.de) return true; else if(A.de==B.de) { if(A.id<B.id) return true; } } return false; } int main() { int students,low,high,enroll=0; string id; int de,cai; cin>>students>>low>>high; if(students==0) exit(0); score s[students]; int z=0; for(int i=0;i<students;i++) { cin>>id>>de>>cai; if(de<low&&cai<low) continue; if(de>=low&&cai>=low) { enroll+=1; s[z].id=id; s[z].de=de; s[z].cai=cai; s[z].sum=s[z].de+s[z].cai; z++; } } cout<<enroll<<endl; score first[enroll]; score second[enroll]; score third[enroll]; score fourth[enroll]; int j=0,w=0,q=0,a=0; for(int i=0;i<enroll;i++) { if(s[i].de>=high&&s[i].cai>=high) { first[j].id=s[i].id; first[j].de=s[i].de; first[j].cai=s[i].cai; first[j].sum=s[i].sum; j++; } else if(s[i].de>=high&&s[i].cai<high) { second[w].id=s[i].id; second[w].de=s[i].de; second[w].cai=s[i].cai; second[w].sum=s[i].sum; w++; } else if(s[i].de<high&&s[i].cai<high&&s[i].de>=s[i].cai) { third[q].id=s[i].id; third[q].de=s[i].de; third[q].cai=s[i].cai; third[q].sum=s[i].sum; q++; } else { fourth[a].id=s[i].id; fourth[a].de=s[i].de; fourth[a].cai=s[i].cai; fourth[a].sum=s[i].sum; a++; } } sort(first,first+j,cmp); sort(second,second+w,cmp); sort(third,third+q,cmp); sort(fourth,fourth+a,cmp); for(int i=0;i<j;i++) cout<<first[i].id<<" "<<first[i].de<<" "<<first[i].cai<<endl; for(int i=0;i<w;i++) cout<<second[i].id<<" "<<second[i].de<<" "<<second[i].cai<<endl; for(int i=0;i<q;i++) cout<<third[i].id<<" "<<third[i].de<<" "<<third[i].cai<<endl; for(int i=0;i<a;i++) cout<<fourth[i].id<<" "<<fourth[i].de<<" "<<fourth[i].cai<<endl; return 0; }
9d66f6fa5b9d91ac5df30c62f02eb9a61105a502
ea686b349f8b95f215a1d33fbc6d672a2b68e764
/Lecture 113/RecoverBST.cpp
e9e1feb56fd418d82650a6f38ae7648f91709626
[]
no_license
selectivegravity/DSA_Practice
ac2659828bde901e68d79723c1da07e7af1354b4
6e89324d4e9daa99e43c3c535912e6685bc1836f
refs/heads/master
2023-07-11T20:43:19.166690
2021-08-12T12:41:33
2021-08-12T12:41:33
395,309,835
0
0
null
null
null
null
UTF-8
C++
false
false
1,320
cpp
RecoverBST.cpp
#include<bits/stdc++.h> using namespace std; class node { public: int data; node* left; node* right;; //constructor... node(int val){ data=val; left=NULL; right=NULL; } }; void RecoverBST(node* head,node* prev,node* &first,node* &last){ if(head==NULL){ return; } RecoverBST(head->left,prev,first,last); //cout<<head->data<<" "; if(prev!=NULL){ if(prev->data>head->data){ if(first==NULL){ first=head; } else if(last==NULL){ last=head; } prev=head; } else{ prev=head; } } else{ prev=head; } RecoverBST(head->right,prev,first,last); } void print(node* root){ if(root==NULL){ return ; } print(root->left); cout<<root->data<<" "; print(root->right); } int main(){ node* root = new node(4); root->left=new node(2); root->right =new node(7); root->left->left=new node(1); root->right->right=new node(8); //root->left->right->left=new node(6); node* first=NULL; node* last=NULL; RecoverBST(root,NULL,first,last); cout<<endl; cout<<first->data<<" "; cout<<last->data<<" "; //print(root); return 0; }
a28f1033a029512bc11c46ec2079914e7dc4b22b
8004f289b42d880ff07be89bce9660e3dfd3eccd
/c++/核心编程/code/4.1.1packageBasicUsing.cpp
0129e5286c76b92f1d4c3d1c3a8e2065a7d180e5
[]
no_license
SuperSunMR/MountainRiverZhao
96004c838853d16cb2edd7e6b1cab057f34dc25f
c0f4ac99ba2ff2a79397e42f092439fcbb7ccb55
refs/heads/main
2023-03-03T06:14:32.178142
2021-02-05T10:58:05
2021-02-05T10:58:05
333,102,893
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
4.1.1packageBasicUsing.cpp
// Copyright (c) 2021 Qihoo // License(BSD/GPL/...) // Author: blackzero // 4.1.1 封装的意义 #include<iostream> using namespace std; const double PI = 3.1415926; class Circle{ //访问权限 public: //属性 int m_r; // 半径 //行为 double getZC(){ // 获取周长 return 2*PI*m_r; } }; int main(){ //通过圆类创建对象 Circle c1; c1.m_r = 10; cout << "Circle ZhouChang is " << c1.getZC() << endl; return 0; }
25dc6f03222ae1840fb5f549e9aacdf09b97ce96
07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34
/program/code/FearGuiCombo.cpp
babdbc048d88bb7ad015f52b0922cdcf21631243
[]
no_license
AlexHuck/TribesRebirth
1ea6ba27bc2af10527259d4d6cd4561a1793bccd
cf52c2e8c63f3da79e38cb3c153288d12003b123
refs/heads/master
2021-09-11T00:35:45.407177
2021-08-29T14:36:56
2021-08-29T14:36:56
226,741,338
0
0
null
2019-12-08T22:30:13
2019-12-08T22:30:12
null
UTF-8
C++
false
false
20,157
cpp
FearGuiCombo.cpp
//------------------------------------------------------------------------------ // Description // // $Workfile$ // $Revision$ // $Author $ // $Modtime $ // //------------------------------------------------------------------------------ #include "console.h" #include "FearGuiCombo.h" #include "simGuiScrollCtrl.h" #include "fearGuiScrollCtrl.h" #include "simGuiArrayCtrl.h" #include "g_bitmap.h" #include "g_surfac.h" #include "fear.strings.h" #include "FearGuiShellPal.h" #include "simResource.h" namespace SimGui { extern Control *findControl(const char *name); }; namespace FearGui { static const char *gBMPTags[FGComboBox::BMP_Count] = { "_DF.BMP", //default "_HI.BMP", //hilite "_MD.BMP", //mouse-over default "_MH.BMP", //mouse-over hilite "_ON.BMP", //depressed "_NA.BMP", //not available (ghosted) }; bool FGComboPopUp::onAdd() { if(!GrandParent::onAdd()) return false; //set the delete flag to false so the popup can open and close flags.set(DeleteOnLoseContent, FALSE); return TRUE; } void FGComboPopUp::setDim(Int32 w, Int32 hMin, Int32 hMax) { if (sc && ac) { sc->extent.set(w, min(hMin + 2 * sc->getBorderThickness(), hMax)); dim.set(w,min(hMin, hMax)); sc->onWake(); ac->extent.x = sc->getScrollContentCtrl()->extent.x - 1; //viewRect.len_x(); } } Int32 FGComboPopUp::getMouseCursorTag(void) { Point2I cursorPos = root->getCursorPos(); // handle state depressed if (sc->isDepressed()) { switch (sc->getCurHitRegion()) { case SimGui::ScrollCtrl::VertThumb: case SimGui::ScrollCtrl::HorizThumb: return IDBMP_CURSOR_GRAB; default: return IDBMP_CURSOR_HAND; } } switch (sc->findHitRegion(sc->globalToLocalCoord(cursorPos))) { case SimGui::ScrollCtrl::VertThumb: case SimGui::ScrollCtrl::HorizThumb: return IDBMP_CURSOR_OPENHAND; default: return IDBMP_CURSOR_HAND; } } void FGComboPopUp::setSelected(Point2I &cell) { if (cell.x >= 0 && cell.y >= 0) { if (ac) { ac->setSelectedCell(cell); } } } Point2I FGComboPopUp::getSelected(void) { if (ac) { return ac->getSelectedCell(); } else return(Point2I(-1, -1)); } void FGComboPopUp::setBoarder(void) { if (sc) { sc->mbBoarder = TRUE; sc->boarderColor = HILITE_COLOR; sc->selectBoarderColor = HILITE_COLOR; sc->ghostBoarderColor = HILITE_COLOR; sc->mbOpaque = TRUE; sc->fillColor = GREEN_78; sc->selectFillColor = GREEN_78; sc->ghostFillColor = GREEN_78; } } //------------------------------------------------------------------------------ Int32 FGComboBox::getMouseCursorTag(void) { return IDBMP_CURSOR_HAND; } void FGComboBox::setBitmaps(void) { char buf[256]; const char *bmpRoot = "POP_Arrow"; //load the hi res bitmaps int i; for (i = 0; i < BMP_Count; i++) { sprintf(buf, "%s%s", bmpRoot, gBMPTags[i]); mBitmaps[i] = SimResource::get(manager)->load(buf); if (bool(mBitmaps[i])) mBitmaps[i]->attribute |= BMA_TRANSPARENT; } AssertFatal(mBitmaps[0].operator bool(), "POP_Arrow_DF.BMP was not loaded.\n"); //load the lo res bitmaps for (i = 0; i < BMP_Count; i++) { sprintf(buf, "LR_%s%s", bmpRoot, gBMPTags[i]); mBitmaps[i + BMP_Count] = SimResource::get(manager)->load(buf); if (bool(mBitmaps[i + BMP_Count])) mBitmaps[i + BMP_Count]->attribute |= BMA_TRANSPARENT; } } bool FGComboBox::onAdd() { if(!GrandParent::onAdd()) return false; //set the bitmaps setBitmaps(); if (bool(mBitmaps[0])) { extent.y = mBitmaps[0]->getHeight() + 4; } //check the fonts hFont = SimResource::loadByTag(manager, IDFNT_9_STANDARD, true); AssertFatal(hFont.operator bool(), "Unable to load font."); hFontHL = SimResource::loadByTag(manager, IDFNT_9_HILITE, true); AssertFatal(hFontHL.operator bool(), "Unable to load font."); hFontDisabled = SimResource::loadByTag(manager, IDFNT_9_DISABLED, true); AssertFatal(hFontDisabled.operator bool(), "Unable to load font."); hFontShadow = SimResource::loadByTag(manager, IDFNT_9_BLACK, true); AssertFatal(hFontShadow.operator bool(), "Unable to load font."); hFontTitle = SimResource::loadByTag(manager, IDFNT_10_HILITE, true); AssertFatal(hFontTitle.operator bool(), "Unable to load font."); hFontTitleShadow = SimResource::loadByTag(manager, IDFNT_10_BLACK, true); AssertFatal(hFontTitleShadow.operator bool(), "Unable to load font."); hFontTitleDisabled = SimResource::loadByTag(manager, IDFNT_10_DISABLED, true); AssertFatal(hFontTitleDisabled.operator bool(), "Unable to load font."); //clear the combo to start setText(""); return true; } void FGComboBox::setSelected(Point2I &cell) { if (cell.x >= 0 && cell.y >= 0) { FGComboPopUp *popUp = dynamic_cast<FGComboPopUp*>(popUpCtrl); if (popUp) { popUp->setSelected(cell); updateFromArrayCtrl(); } } } //console member functions void FGComboBox::addEntry(const char *buf, int id) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->addEntry(buf, id); } updateFromArrayCtrl(); } void FGComboBox::deleteEntry(int id) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->deleteEntry(id); } updateFromArrayCtrl(); } int FGComboBox::findEntry(const char *buf) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) return listCtrl->findEntry(buf); } return -1; } void FGComboBox::clear(void) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->clear(); } updateFromArrayCtrl(); } int FGComboBox::getSelectedEntry(void) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) return listCtrl->getSelectedEntry(); else return -1; } else return -1; } void FGComboBox::setSelectedEntry(int id) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->setSelectedEntry(id); } updateFromArrayCtrl(); } const char *FGComboBox::getSelectedText(void) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) return listCtrl->getSelectedText(); } return NULL; } void FGComboBox::selectPrev(void) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->selectPrev(); } updateFromArrayCtrl(); } void FGComboBox::selectNext(void) { if (popUpCtrl) { FGComboList *listCtrl = dynamic_cast<FGComboList*>(popUpCtrl->getArrayCtrl()); if (listCtrl) listCtrl->selectNext(); } updateFromArrayCtrl(); } Point2I FGComboBox::getSelected(void) { FGComboPopUp *popUp = dynamic_cast<FGComboPopUp*>(popUpCtrl); if (popUp) { return popUp->getSelected(); } return Point2I(-1, -1); } void FGComboBox::drawText(GFXSurface *sfc, GFXFont *font, const char* text, Point2I &offset, Point2I &dest) { if (!font) return; //if the string fits if (font->getStrWidth(text) < dest.x) { sfc->drawText_p(hFontShadow, &Point2I(offset.x - 1, offset.y + 1), text); sfc->drawText_p(font, &offset, text); } //else create a string that will else { char buf[260], *temp; char etcBuf[4] = "..."; int etcWidth = font->getStrWidth(etcBuf); //make sure we can at least hold the etc if (dest.x < etcWidth) return; //copy the string into a temp buffer strncpy(buf, text, 255); buf[255] = '\0'; int stringlen = strlen(buf); temp = &buf[stringlen]; //search for how many chars can be displayed while (stringlen && (font->getStrWidth(buf) > dest.x - etcWidth)) { stringlen--; temp--; *temp = '\0'; } //now copy the etc onto the end of the string, and draw the text strcpy(temp, etcBuf); sfc->drawText_p(hFontShadow, &Point2I(offset.x - 1, offset.y + 1), buf); sfc->drawText_p(font, &offset, buf); } } void FGComboBox::onRender(GFXSurface *sfc, Point2I offset, const Box2I &updateRect) { //Compiler Warning updateRect; bool ghosted = FALSE; SimGui::Control *topDialog = root->getDialogNumber(1); if ((! active) || (topDialog && (topDialog != getTopMostParent()) && (topDialog->findControlWithTag(IDCTG_DIALOG)))) { ghosted = TRUE; } int colorTable[8] = { BOX_INSIDE, BOX_OUTSIDE, BOX_LAST_PIX, BOX_FRAME, BOX_GHOST_INSIDE, BOX_GHOST_OUTSIDE, BOX_GHOST_LAST_PIX, BOX_GHOST_FRAME, }; int colorOffset = (ghosted ? 4 : 0); Point2I tl = offset; Point2I br(offset.x + extent.x - 1, offset.y + extent.y - 1); //offset to match the pulldown menu tl.x += 3; br.x -= 3; //top edge sfc->drawLine2d(&Point2I(tl.x + 1, tl.y), &Point2I(br.x - 1, tl.y), colorTable[1 + colorOffset]); sfc->drawLine2d(&Point2I(tl.x, tl.y + 1), &Point2I(br.x, tl.y + 1), colorTable[0 + colorOffset]); sfc->drawPoint2d(&Point2I(tl.x, tl.y + 1), colorTable[2 + colorOffset]); sfc->drawPoint2d(&Point2I(br.x, tl.y + 1), colorTable[2 + colorOffset]); //bottom edge sfc->drawLine2d(&Point2I(tl.x, br.y - 1), &Point2I(br.x, br.y - 1), colorTable[0 + colorOffset]); sfc->drawLine2d(&Point2I(tl.x + 1, br.y), &Point2I(br.x - 1, br.y), colorTable[1 + colorOffset]); sfc->drawPoint2d(&Point2I(tl.x, br.y - 1), colorTable[2 + colorOffset]); sfc->drawPoint2d(&Point2I(br.x, br.y - 1), colorTable[2 + colorOffset]); Point2I bmpOffset(offset.x + 10, offset.y + 4); if (mBitmapRootName[0]) { sfc->drawText_p(hFontTitleShadow, &Point2I(bmpOffset.x, offset.y + 1), mBitmapRootName); sfc->drawText_p((! ghosted ? hFontTitle : hFontTitleDisabled), &Point2I(bmpOffset.x + 1, offset.y), mBitmapRootName); bmpOffset.x += hFontTitle->getStrWidth(mBitmapRootName) + 6; } GFXBitmap *bmp; if (ghosted) bmp = mBitmaps[BMP_Ghosted]; else if (stateDepressed) bmp = mBitmaps[BMP_Pressed]; else if (stateOver) bmp = mBitmaps[BMP_MouseOverStandard]; else bmp = mBitmaps[BMP_Standard]; if (! bmp) bmp = mBitmaps[BMP_Standard]; //draw the down arrow bitmap sfc->drawBitmap2d(bmp, &Point2I(offset.x + extent.x - 7 - bmp->getWidth(), offset.y + 2)); //write the current text if (text) { int textWidth = (offset.x + extent.x - 11 - bmp->getWidth() - 3) - bmpOffset.x; drawText(sfc, (!ghosted ? hFont : hFontDisabled), text, Point2I(bmpOffset.x, offset.y + 1), Point2I(textWidth, extent.y)); } } void FGComboBox::inspectWrite(Inspect* insp) { Parent::inspectWrite(insp); insp->write(IDITG_BMP_ROOT_TAG, mBitmapRootName); } void FGComboBox::inspectRead(Inspect *insp) { Parent::inspectRead(insp); insp->read(IDITG_BMP_ROOT_TAG, mBitmapRootName); } static const int gComboBoxVersion = 0; Persistent::Base::Error FGComboBox::write( StreamIO &sio, int version, int user ) { sio.write(gComboBoxVersion); BYTE len = strlen(mBitmapRootName); sio.write(len); if (len > 0) { sio.write(len, mBitmapRootName); } return Parent::write(sio, version, user); } Persistent::Base::Error FGComboBox::read( StreamIO &sio, int version, int user) { int currentVersion; sio.read(&currentVersion); BYTE len; sio.read(&len); if (len > 0) { sio.read(len, mBitmapRootName); } mBitmapRootName[len] = 0; return Parent::read(sio, version, user); } //------------------------------------------------------------------------------ bool FGComboList::mbCconsoleFunctionsAdded = FALSE; static const char *FGComboAddEntry(CMDConsole *, int, int argc, const char **argv) { if(argc != 4) { Console->printf("%s(control, string, id);", argv[0]); return "false"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "false"; } cbList->addEntry(argv[2], atoi(argv[3])); return "TRUE"; } static const char *FGComboDeleteEntry(CMDConsole *, int, int argc, const char **argv) { if(argc != 3) { Console->printf("%s(control, id);", argv[0]); return "false"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "false"; } cbList->deleteEntry(atoi(argv[2])); return "TRUE"; } static const char *FGComboFindEntry(CMDConsole *, int, int argc, const char **argv) { if(argc != 3) { Console->printf("%s(control, string);", argv[0]); return "-1"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "-1"; } static char buf[20]; sprintf(buf, "%d", cbList->findEntry(argv[2])); return buf; } static const char *FGComboClear(CMDConsole *, int, int argc, const char **argv) { if(argc != 2) { Console->printf("%s(control);", argv[0]); return "false"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "false"; } cbList->clear(); return "true"; } static const char *FGComboSetSelected(CMDConsole *, int, int argc, const char **argv) { if(argc != 3) { Console->printf("%s(control, id);", argv[0]); return "false"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "false"; } cbList->setSelectedEntry(atoi(argv[2])); return "true"; } static const char *FGComboGetSelected(CMDConsole *, int, int argc, const char **argv) { if(argc != 2) { Console->printf("%s(control);", argv[0]); return "0"; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return "0"; } static char buf[20]; sprintf(buf, "%d", cbList->getSelectedEntry()); return buf; } static const char *FGComboGetSelectedText(CMDConsole *, int, int argc, const char **argv) { if(argc != 2) { Console->printf("%s(control);", argv[0]); return ""; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return ""; } return cbList->getSelectedText(); } static const char *FGComboSelectPrev(CMDConsole *, int, int argc, const char **argv) { if(argc != 2) { Console->printf("%s(control);", argv[0]); return ""; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return ""; } cbList->selectPrev(); return "TRUE"; } static const char *FGComboSelectNext(CMDConsole *, int, int argc, const char **argv) { if(argc != 2) { Console->printf("%s(control);", argv[0]); return ""; } SimGui::Control *ctrl = SimGui::findControl(argv[1]); FGComboBox *cbList = NULL; if (ctrl) cbList = dynamic_cast<FGComboBox *>(ctrl); if (! cbList) { Console->printf("%s - invalid control %s.", argv[0], argv[1]); return ""; } cbList->selectNext(); return "TRUE"; } //console member functions void FGComboList::addEntry(const char *buf, int id) { buf; id; } void FGComboList::deleteEntry(int id) { id; } int FGComboList::findEntry(const char *buf) { buf; return -1; } void FGComboList::clear(void) { } int FGComboList::getSelectedEntry(void) { return -1; } void FGComboList::setSelectedEntry(int id) { id; } const char *FGComboList::getSelectedText(void) { return NULL; } void FGComboList::selectPrev(void) { } void FGComboList::selectNext(void) { } bool FGComboList::onAdd() { if (! mbCconsoleFunctionsAdded) { mbCconsoleFunctionsAdded = TRUE; Console->addCommand(0, "FGCombo::addEntry", FGComboAddEntry); Console->addCommand(0, "FGCombo::deleteEntry", FGComboDeleteEntry); Console->addCommand(0, "FGCombo::findEntry", FGComboFindEntry); Console->addCommand(0, "FGCombo::clear", FGComboClear); Console->addCommand(0, "FGCombo::setSelected", FGComboSetSelected); Console->addCommand(0, "FGCombo::getSelected", FGComboGetSelected); Console->addCommand(0, "FGCombo::getSelectedText", FGComboGetSelectedText); Console->addCommand(0, "FGCombo::selectPrev", FGComboSelectPrev); Console->addCommand(0, "FGCombo::selectNext", FGComboSelectNext); } if(!Parent::onAdd()) return false; hFont = SimResource::loadByTag(manager, IDFNT_9_STANDARD, true); AssertFatal(hFont.operator bool(), "Unable to load font."); hFontHL = SimResource::loadByTag(manager, IDFNT_9_HILITE, true); AssertFatal(hFontHL.operator bool(), "Unable to load font."); hFontSel = SimResource::loadByTag(manager, IDFNT_9_SELECTED, true); AssertFatal(hFontSel.operator bool(), "Unable to load font."); hFontShadow = SimResource::loadByTag(manager, IDFNT_9_BLACK, true); AssertFatal(hFontShadow.operator bool(), "Unable to load font."); cellSize.set(extent.x, hFont->getHeight() + 2); return true; } void FGComboList::onPreRender() { } void FGComboList::onRenderCell(GFXSurface *sfc, Point2I offset, Point2I cell, bool selected, bool mouseOver) { mouseOver; char buf[8]; //Point2I clipMax = root->getContentControl()->extent; //clipMax.x -= 1; //clipMax.y -= 1; GFXFont *font; int color; if (mouseOver) { font = hFontHL; color = HILITE_COLOR; } else if (selected) { font = hFontSel; color = GREEN_78; } else { font = hFont; color = GREEN_78; } //RectI cellRect(offset.x, offset.y, min(clipMax.x, offset.x + extent.x), // min(clipMax.y, offset.y + cellSize.y)); RectI cellRect(offset.x, offset.y, offset.x + extent.x - 1, offset.y + cellSize.y - 1); //draw the background sfc->drawRect2d_f(&cellRect, color); //draw the text const char *cellText = getCellText(NULL, cell, Point2I(0, 0), Point2I(0, 0)); if (cellText) { sfc->drawText_p(hFontShadow, &Point2I(offset.x + 15, offset.y - 1), cellText); sfc->drawText_p(font, &Point2I(offset.x + 16, offset.y - 2), cellText); } } bool FGComboList::becomeFirstResponder() { return FALSE; } };
7223eeee775eecfbadcf67fa8edb644c34e400f7
edd817868621e5ea2f289469bfefe4edf3301f29
/src/PID.cpp
06605d3939b19038b7045693b9b03c39750953f1
[]
no_license
scherererer/CarND-PID-Control-Project
e83cd0b0b94beb41dd33cf0f5603ddcd2fc944b6
15723e3ffdfc7aaeb7e7cf8b0851512f148bd70f
refs/heads/master
2021-01-01T15:38:24.872140
2017-07-19T03:15:22
2017-07-19T03:15:22
97,662,046
0
0
null
2017-07-19T02:04:30
2017-07-19T02:04:30
null
UTF-8
C++
false
false
706
cpp
PID.cpp
#include "PID.h" #include <algorithm> using namespace std; /* * TODO: Complete the PID class. */ PID::PID() : p_error_ (0.0), i_error_ (0.0), d_error_ (0.0), last_error_ (0.0), Kp_ (1.0), Ki_ (0.0), Kd_ (0.0) { } PID::~PID() { } void PID::Init(double Kp, double Ki, double Kd) { Kp_ = Kp; Ki_ = Ki; Kd_ = Kd; } void PID::UpdateError(double cte) { p_error_ = Kp_ * cte; /// \todo Should bound this, probably to within [-1,1] i_error_ += Ki_ * cte; /// \todo this has an impulse at startup d_error_ = Kd_ * (p_error_ - last_error_); last_error_ = cte; } double PID::TotalError() { double const pid = p_error_ + i_error_ + d_error_; return std::max (std::min (pid, 1.0), -1.0); }
d3468e9f0b2f550af48b2ed9a81ef89b143364a3
94a748b9ec43c531dcce671cbb23801c8260c08d
/testprograms/grafixMask.cpp
9a2d514ea90ed654101c931c6b9a0f0b7bcd5729
[]
no_license
Shubham28/TopCoder
091948352bcfe2088cdce9a1d82ddec2cf38cfe9
25b6d34c391b8b79094bd0d971d86c2af943f4d3
refs/heads/master
2021-01-19T09:44:00.576213
2013-05-23T12:54:30
2013-05-23T12:54:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,574
cpp
grafixMask.cpp
#include <vector> #include <map> #include <stack> #include <algorithm> #include <sstream> #include <iostream> #include <cmath> #include <cstdlib> #include <set> #include <numeric> #define FOR(A,B,C) for(int A=B;A<C;A++) #define EFOR(A,B,C) for(int A=B;A<=C;A++) #define RFOR(A,B,C) for(int A=B;A>=C;A--) #define PB(A,B) A.push_back(B); #define SORT(A) sort( A.begin(),A.end() ) #define ALL(A) A.begin(),A.end() #define VI vector<int> #define VS vector<string> #define VD vector<double> #define VB vector<bool> #define SZ(A) int(A.size()) #define LL long long using namespace std; class grafixMask { public: vector <int> sortedAreas(vector <string>); }; vector <int> grafixMask::sortedAreas(vector <string> rec) { bool bitm[400][600]; memset(bitm,0,sizeof(bitm)); int movr[]={-1,0,0,1}; int movc[]={0,-1,1,0}; FOR(fill,0,SZ(rec)){ int x1,y1,x2,y2; sscanf(rec[fill].c_str(),"%d%d%d%d",&x1,&y1,&x2,&y2); EFOR(top,x1,x2) EFOR(bot,y1,y2) bitm[top][bot]=1; } VI ret; FOR(row,0,400) FOR(col,0,600) if(!bitm[row][col]){ stack< pair<int,int> >prs; prs.push(make_pair(row,col)); bitm[row][col]=1; int ar=0; while(!prs.empty()){ pair<int,int>now; now=prs.top(); prs.pop(); ++ar; FOR(arn,0,4){ int tmpr=now.first+movr[arn]; int tmpc=now.second+movc[arn]; if(0<=tmpr && tmpr<400 && 0<=tmpc && tmpc<600 && !bitm[tmpr][tmpc]){ prs.push(make_pair(tmpr,tmpc)); bitm[tmpr][tmpc]=1; } } } PB(ret,ar); } SORT(ret); return ret; } // BEGIN KAWIGIEDIT TESTING // Generated by KawigiEdit 2.1.8 (beta) modified by pivanof #include <iostream> #include <string> #include <vector> using namespace std; bool KawigiEdit_RunTest(int testNum, vector <string> p0, bool hasAnswer, vector <int> p1) { cout << "Test " << testNum << ": [" << "{"; for (int i = 0; int(p0.size()) > i; ++i) { if (i > 0) { cout << ","; } cout << "\"" << p0[i] << "\""; } cout << "}"; cout << "]" << endl; grafixMask *obj; vector <int> answer; obj = new grafixMask(); clock_t startTime = clock(); answer = obj->sortedAreas(p0); clock_t endTime = clock(); delete obj; bool res; res = true; cout << "Time: " << double(endTime - startTime) / CLOCKS_PER_SEC << " seconds" << endl; if (hasAnswer) { cout << "Desired answer:" << endl; cout << "\t" << "{"; for (int i = 0; int(p1.size()) > i; ++i) { if (i > 0) { cout << ","; } cout << p1[i]; } cout << "}" << endl; } cout << "Your answer:" << endl; cout << "\t" << "{"; for (int i = 0; int(answer.size()) > i; ++i) { if (i > 0) { cout << ","; } cout << answer[i]; } cout << "}" << endl; if (hasAnswer) { if (answer.size() != p1.size()) { res = false; } else { for (int i = 0; int(answer.size()) > i; ++i) { if (answer[i] != p1[i]) { res = false; } } } } if (!res) { cout << "DOESN'T MATCH!!!!" << endl; } else if (double(endTime - startTime) / CLOCKS_PER_SEC >= 2) { cout << "FAIL the timeout" << endl; res = false; } else if (hasAnswer) { cout << "Match :-)" << endl; } else { cout << "OK, but is it right?" << endl; } cout << "" << endl; return res; } int main() { bool all_right; all_right = true; vector <string> p0; vector <int> p1; { // ----- test 0 ----- string t0[] = {"0 292 399 307"}; p0.assign(t0, t0 + sizeof(t0) / sizeof(t0[0])); int t1[] = {116800,116800}; p1.assign(t1, t1 + sizeof(t1) / sizeof(t1[0])); all_right = KawigiEdit_RunTest(0, p0, true, p1) && all_right; // ------------------ } { // ----- test 1 ----- string t0[] = {"48 192 351 207","48 392 351 407","120 52 135 547","260 52 275 547"}; p0.assign(t0, t0 + sizeof(t0) / sizeof(t0[0])); int t1[] = {22816,192608}; p1.assign(t1, t1 + sizeof(t1) / sizeof(t1[0])); all_right = KawigiEdit_RunTest(1, p0, true, p1) && all_right; // ------------------ } { // ----- test 2 ----- string t0[] = {"0 192 399 207","0 392 399 407","120 0 135 599","260 0 275 599"}; p0.assign(t0, t0 + sizeof(t0) / sizeof(t0[0])); int t1[] = {22080,22816,22816,23040,23040,23808,23808,23808,23808}; p1.assign(t1, t1 + sizeof(t1) / sizeof(t1[0])); all_right = KawigiEdit_RunTest(2, p0, true, p1) && all_right; // ------------------ } { // ----- test 3 ----- string t0[] = {"50 300 199 300","201 300 350 300","200 50 200 299","200 301 200 550"}; p0.assign(t0, t0 + sizeof(t0) / sizeof(t0[0])); int t1[] = {1,239199}; p1.assign(t1, t1 + sizeof(t1) / sizeof(t1[0])); all_right = KawigiEdit_RunTest(3, p0, true, p1) && all_right; // ------------------ } { // ----- test 4 ----- string t0[] = {"0 20 399 20","0 44 399 44","0 68 399 68","0 92 399 92","0 116 399 116","0 140 399 140","0 164 399 164","0 188 399 188","0 212 399 212","0 236 399 236","0 260 399 260","0 284 399 284","0 308 399 308","0 332 399 332","0 356 399 356","0 380 399 380","0 404 399 404","0 428 399 428","0 452 399 452","0 476 399 476","0 500 399 500","0 524 399 524","0 548 399 548","0 572 399 572","0 596 399 596","5 0 5 599","21 0 21 599","37 0 37 599","53 0 53 599","69 0 69 599","85 0 85 599","101 0 101 599","117 0 117 599","133 0 133 599","149 0 149 599","165 0 165 599","181 0 181 599","197 0 197 599","213 0 213 599","229 0 229 599","245 0 245 599","261 0 261 599","277 0 277 599","293 0 293 599","309 0 309 599","325 0 325 599","341 0 341 599","357 0 357 599","373 0 373 599","389 0 389 599"}; p0.assign(t0, t0 + sizeof(t0) / sizeof(t0[0])); int t1[] = {15,30,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,100,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,200,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,230,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,300,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345,345}; p1.assign(t1, t1 + sizeof(t1) / sizeof(t1[0])); all_right = KawigiEdit_RunTest(4, p0, true, p1) && all_right; // ------------------ } if (all_right) { cout << "You're a stud (at least on the example cases)!" << endl; } else { cout << "Some of the test cases had errors." << endl; } return 0; } // END KAWIGIEDIT TESTING // Author: Shubham Gupta //Powered by KawigiEdit 2.1.8 (beta) modified by pivanof!
62c6687b9aab214493f6808fa4e3a5d8772fcdee
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
/src/operator/quantization/mkldnn/mkldnn_quantized_conv.cc
6ac2250281d3f39983ed3d4bcbbe38381cb3e772
[ "Apache-2.0", "MIT", "Unlicense", "BSL-1.0", "NCSA", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "OFL-1.0", "BSD-2-Clause-Views", "Zlib" ]
permissive
yajiedesign/mxnet
5a495fd06dd1730c17d2d27d7e46c8a770847f17
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
refs/heads/master
2021-03-30T22:37:18.603396
2020-10-23T06:40:17
2020-10-23T06:40:17
43,763,550
214
59
Apache-2.0
2020-06-01T23:31:15
2015-10-06T16:36:40
C++
UTF-8
C++
false
false
4,147
cc
mkldnn_quantized_conv.cc
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ /*! * \file mkldnn_quantized_conv.cc * \brief * \author Wenting Jiang, Xinyu Chen */ #if MXNET_USE_MKLDNN == 1 #include "../../nn/mkldnn/mkldnn_base-inl.h" #include "../../nn/mkldnn/mkldnn_convolution-inl.h" #include "../../nn/convolution-inl.h" #include "../quantization_utils.h" #include "../../tensor/matrix_op-inl.h" #include "../../elemwise_op_common.h" namespace mxnet { namespace op { static void MKLDNNQuantizedConvForward(const nnvm::NodeAttrs& attrs, const OpContext &ctx, const std::vector<NDArray> &in_data, const std::vector<OpReqType> &req, const std::vector<NDArray> &out_data) { CHECK_EQ(in_data[0].dtype(), mshadow::kUint8) << "mkldnn_quantized_conv op only supports uint8 as input type"; TmpMemMgr::Get()->Init(ctx.requested[conv::kTempSpace]); NDArray weight = in_data[conv::kWeight]; ConvolutionParam param = nnvm::get<ConvolutionParam>(attrs.parsed); MKLDNNConvFullParam full_param; full_param.conv_param = param; full_param.mkldnn_param.Init(std::unordered_map<std::string, std::string>()); auto &fwd = GetConvFwd(full_param, ctx.is_train, in_data[conv::kData], in_data[conv::kWeight], param.no_bias ? nullptr : &in_data[conv::kBias], out_data[conv::kOut]); auto data_mem = in_data[conv::kData].GetMKLDNNDataReorder(fwd.GetPd().src_desc()); const mkldnn::memory *weight_mem; // For inference, we want to reorder the weight array so we don't need to // reorder data every time. if (weight.IsDefaultData()) { // We also need to modify the layout on the original weight array. // Don't switch below sequence because naive engine will executes // pushAsync synchronously. weight.MKLDNNDataReorderAsync(fwd.GetPd().weights_desc()); weight_mem = GetWeights(weight, fwd.GetPd().weights_desc(), param.num_group); } else { weight_mem = weight.GetMKLDNNData(); } auto out_mem = CreateMKLDNNMem(out_data[conv::kOut], fwd.GetPd().dst_desc(), req[conv::kOut]); mkldnn_args_map_t net_args; if (!param.no_bias) { const mkldnn::memory *bias_mem = in_data[conv::kBias].GetMKLDNNDataReorder(fwd.GetPd().bias_desc()); net_args.insert({MKLDNN_ARG_BIAS, *bias_mem}); } net_args.insert({MKLDNN_ARG_SRC, *data_mem}); net_args.insert({MKLDNN_ARG_WEIGHTS, *weight_mem}); net_args.insert({MKLDNN_ARG_DST, *out_mem.second}); MKLDNNStream::Get()->RegisterPrimArgs(fwd.GetFwd(), net_args); CommitOutput(out_data[conv::kOut], out_mem); MKLDNNStream::Get()->Submit(); Stream<cpu> *s = ctx.get_stream<cpu>(); const size_t num_inputs = param.no_bias ? 2 : 3; mxnet_op::Kernel<QuantizationRangeForS8S8MultiplicationStruct, cpu>::Launch(s, 1, out_data[1].data().dptr<float>(), out_data[2].data().dptr<float>(), in_data[num_inputs].data().dptr<float>(), in_data[num_inputs+1].data().dptr<float>(), in_data[num_inputs+2].data().dptr<float>(), in_data[num_inputs+3].data().dptr<float>()); } NNVM_REGISTER_OP(_contrib_quantized_conv) .set_attr<FComputeEx>("FComputeEx<cpu>", MKLDNNQuantizedConvForward); } // namespace op } // namespace mxnet #endif // MXNET_USE_MKLDNN == 1
8f4bfb7e2c0a7cf06c212dc3c75ed4375f6081b1
dd51f619e0ade36c6ef17a6d52028243964d6deb
/hw4/hw4_tests/deque_tests/insert_tests.cpp
0d39d468866adff8f65ee7688ad007ae228122d4
[]
no_license
ykelty/csci104
7cfbd9dd520e2a693f164bc8da8fa815fb9405a6
b61902172bb5939c5ce28533ec3ac88c1d27512b
refs/heads/master
2020-07-07T03:38:58.262240
2019-07-15T06:29:13
2019-07-15T06:29:13
203,232,660
0
0
null
null
null
null
UTF-8
C++
false
false
4,433
cpp
insert_tests.cpp
// // Insertion tests for UnrolledLinkedList // #include "list_utils.h" #include <random_generator.h> // add one item and check that it's there TEST(DequeInsertBack, OneItemAdd) { DequeStr list; list.push_back("a"); EXPECT_EQ("a", list.operator[](0)); EXPECT_EQ(false, list.empty()); } TEST(DequeInsertFront, OneItemAdd) { DequeStr list; list.push_front("a"); EXPECT_EQ("a", list.operator[](0)); EXPECT_EQ(false, list.empty()); } TEST(DequeInsert, EmptyString) { DequeStr list; list.push_back(""); EXPECT_EQ(1, list.size()); EXPECT_EQ("", list.operator[](0)); } // add three items and check that they're there TEST(DequeInsertBack, ThreeItemAdd) { // first we create a vector to hold our data std::vector<std::string> contents{"768", "1024", "1536"}; // then we create a new list with that data DequeStr * populatedList = makeList(contents); // then we assert that the list contains that data EXPECT_TRUE(checkListContent(populatedList, contents)); delete populatedList; } // add three items and check that they're there TEST(DequeInsertFront, ThreeItemAdd) { // first we create a vector to hold our data std::vector<std::string> contents{"768", "1024", "1536"}; // then we create a new list with that data DequeStr * populatedList = makeList(contents, false); // then we assert that the list contains that data EXPECT_TRUE(checkListContent(populatedList, contents)); delete populatedList; } TEST(DequeInsert, FrontThenBack) { DequeStr list; list.push_front("fred"); list.push_back("bob"); EXPECT_TRUE(checkListContent(&list, {"fred", "bob"})); } TEST(DequeInsert, BackThenFront) { DequeStr list; list.push_back("bob"); list.push_front("fred"); EXPECT_TRUE(checkListContent(&list, {"fred", "bob"})); } #define ARRSIZE 10 TEST(DequeInsertBack, ARRSIZEPlusOne) { std::vector<std::string> contents = makeRandomAlphaStringVector(ARRSIZE + 1, 574, 16, false); DequeStr * populatedList = makeList(contents); EXPECT_TRUE(checkListContent(populatedList, contents)); delete populatedList; } TEST(DequeInsertFront, ARRSIZEPlusOne) { std::vector<std::string> contents = makeRandomAlphaStringVector(ARRSIZE + 1, 37, 16, false); DequeStr * populatedList = makeList(contents, false); EXPECT_TRUE(checkListContent(populatedList, contents)); delete populatedList; } TEST(DequeInsertBack, 50RandomElements) { const size_t numElements = 50; const size_t numTrials = 30; const RandomSeed origSeed = 70; const size_t stringLength = 8; // generate list of random seeds and iterate through them for (RandomSeed seed : makeRandomSeedVector(numTrials, origSeed)) { std::vector<std::string> contents(makeRandomAlphaStringVector(numElements, seed, stringLength, true)); DequeStr *list = makeList(contents); EXPECT_TRUE(checkListContent(list, contents)); delete list; } } TEST(DequeInsertFront, 50RandomElements) { const size_t numElements = 50; const size_t numTrials = 30; const RandomSeed origSeed = 689; const size_t stringLength = 8; // generate list of random seeds and iterate through them for (RandomSeed seed : makeRandomSeedVector(numTrials, origSeed)) { std::vector<std::string> contents(makeRandomAlphaStringVector(numElements, seed, stringLength, true)); DequeStr *list = makeList(contents, false); EXPECT_TRUE(checkListContent(list, contents)); delete list; } } TEST(DequeInsertBack, 5x1000RandomElements) { const size_t numElements = 1000; const size_t numTrials = 30; const RandomSeed origSeed = 463948; const size_t stringLength = 10; // generate list of random seeds and iterate through them for (RandomSeed seed : makeRandomSeedVector(numTrials, origSeed)) { std::vector<std::string> contents(makeRandomAlphaStringVector(numElements, seed, stringLength, true)); DequeStr *list = makeList(contents); EXPECT_TRUE(checkListContent(list, contents)); delete list; } } TEST(DequeInsertFront, 5x1000RandomElements) { const size_t numElements = 1000; const size_t numTrials = 30; const RandomSeed origSeed = 232; const size_t stringLength = 10; // generate list of random seeds and iterate through them for (RandomSeed seed : makeRandomSeedVector(numTrials, origSeed)) { std::vector<std::string> contents(makeRandomAlphaStringVector(numElements, seed, stringLength, true)); DequeStr *list = makeList(contents, false); EXPECT_TRUE(checkListContent(list, contents)); delete list; } }
6acefd7665b8b7f1e1ee283dce90efc80a649cb6
3c483e23854b74fb4debc6c2e72945c80c0ec591
/Project/Source/FactoryGame/Buildables/FGBuildablePowerPole.h
0e483bb63999c03341e1411484e80eed6b6e313c
[]
no_license
HaigenSAE/SatiSanctum
c535373b72ef970411f426310f29473ca64070c3
26075efc781eed2561958703955fde32e01e73b9
refs/heads/master
2020-06-25T09:22:33.716518
2019-08-06T22:07:15
2019-08-06T22:07:15
199,267,199
3
1
null
null
null
null
UTF-8
C++
false
false
3,244
h
FGBuildablePowerPole.h
// Copyright 2016 Coffee Stain Studios. All Rights Reserved. #pragma once #include "Array.h" #include "UObject/Class.h" #include "FGBuildable.h" #include "FGBuildablePowerPole.generated.h" /** * Base class for all power poles. */ UCLASS( Abstract ) class FACTORYGAME_API AFGBuildablePowerPole : public AFGBuildable { GENERATED_BODY() public: AFGBuildablePowerPole(); virtual void BeginPlay() override; virtual void GetLifetimeReplicatedProps( TArray< FLifetimeProperty >& OutLifetimeProps ) const override; //virtual void StartIsLookedAt_Implementation( class AFGCharacterPlayer* byCharacter, const FUseState& state ) override; //virtual void StopIsLookedAt_Implementation( class AFGCharacterPlayer* byCharacter, const FUseState& state ) override; virtual void StartIsLookedAtForConnection( class AFGCharacterPlayer* byCharacter ) override; virtual void StopIsLookedAtForConnection( class AFGCharacterPlayer* byCharacter ) override; //virtual void StartIsLookedAtForDismantle_Implementation( class AFGCharacterPlayer* byCharacter ) override; //virtual void StopIsLookedAtForDismantle_Implementation( class AFGCharacterPlayer* byCharacter ) override; void ShowConnectionFeedback(); void HideConnectionFeedback(); virtual void Dismantle_Implementation() override; virtual void OnBuildEffectFinished() override; /** * @return The power circuit this pole is connected to; nullptr if not connected. */ UFUNCTION( BlueprintPure, Category = "PowerPole" ) class UFGPowerCircuit* GetPowerCircuit() const; UFUNCTION( BlueprintPure, Category = "PowerPole" ) class UFGPowerConnectionComponent* GetPowerConnection() const { return mPowerConnection; } /** Faster way to query how many connections this power pole currently have connected to it */ UFUNCTION( BlueprintPure, Category = "PowerPole" ) FORCEINLINE int32 GetCachedNumConnections() { return mCachedNumConnectionsToPole; } void OnPowerConnectionChanged(class UFGCircuitConnectionComponent* connection); /** Updates the cached number of connections this power pole currently have. */ void MarkConnectionsDirty(); //@TODO:[DavalliusA:Tue/05-03-2019] only used for transferring mesh data from old to new instance system. Remove later. virtual void PostLoad() override; virtual void PostInitializeComponents() override; protected: UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "PowerPole") class UWidgetComponent* mConnectionsWidget; //virtual void TogglePendingDismantleMaterial( bool enabled ) override; private: /** The connection on this pole. */ UPROPERTY( Replicated, VisibleAnywhere, Category = "PowerPole" ) class UFGPowerConnectionComponent* mPowerConnection; /** The mesh component for this pole. */ //UPROPERTY( VisibleAnywhere ) //class UProxyInstancedStaticMeshComponent* mMeshComponent; //@TODO:[DavalliusA:Tue/05-03-2019] remove later //[DavalliusA:Tue/05-03-2019] removed as the transfer to the new proxy instance system is done UPROPERTY( VisibleAnywhere ) class UFGColoredInstanceMeshProxy* mMeshComponentProxy = nullptr; UPROPERTY( Replicated, meta = (NoAutoJson = true) ) int32 mCachedNumConnectionsToPole; bool mIsDismantled; bool mIsShowingDismantleOutline; bool mIsShowingConnectionOutline; };
932762662a8f390f998c8bc6c5198863e0a5f64f
d57a588f74673811151e71e9457c5a56fac85ddd
/c++/1349maximumStudents.cc
13cd5b95d760d97548fd62ed46404c1ed1fcaa1f
[]
no_license
Acytoo/leetcode
933c5a79140798d8c0ee6d39022561dadd1ce7f7
3a8bfc07465f1bc349b8e5a9f570fd458075de72
refs/heads/master
2022-10-14T20:01:15.131676
2022-09-29T20:17:04
2022-09-29T20:17:04
155,707,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,417
cc
1349maximumStudents.cc
#include <iostream> #include <vector> #include <string> #include <queue> #include <climits> #include <stack> #include <algorithm> #include <cmath> #include <set> #include <unordered_map> #include <list> #include <unordered_set> #include <map> #include <set> #include <functional> #include <bitset> using namespace std; static int x = [] () {ios::sync_with_stdio(false); cin.tie(0); return 0;} (); class Solution { public: int maxStudents(vector<vector<char>>& seats) { int m = seats.size(); int n = seats[0].size(); vetor<vector<int>> dp(m+1, vector<int>(1<<n)); for (int i=0; i<m; ++i) for (int l=0, stop_l=1<<n; l<stop_l; ++l) for (int c=0; c<stop_l; ++c) { bool flag = true; for (int j=0; flag && j<n; ++j) { if (!(c & (1<<j))) continue; if (seats[i][j] == '#') flag = false; bool lt = j == 0? false: (c&(1<<(j-1))); bool rt = j == n-1? false: (c&(1<<(j+1))); bool ul = (j == 0 || i == 0)? false: (l&(1<<(j-1))); bool ur = (j == n-1 || i == 0)? false: (l&(1<<(j+1))); if (lt || rt || ul || ur) flag = false; } if (flag) dp[i+1][c] = max(dp[i+1][c], dp[i][l] + __builtin_popcount(c)); } return *max_element(dp[m].begin(), dp[m].end()); } }; int main() { Solution s; return 0; }
7c53214b949b87bd8c3962cc7215e0dd60a19abf
1e0c71a7355d73644663b56748bf2779e255e78f
/Day 1/Day1 - Kth bit is set or not.cpp
0a5564ca8adad936ebc13d650afd833bc8d643d9
[]
no_license
AkbarHabeeb/50_days_Coding
c397df0a06f4820eaa9c22ac3f9005d0d570fe38
a8d5bf57fd7493eca9ea1d392fcc2c536cb67529
refs/heads/master
2020-04-16T13:13:06.647302
2019-05-15T10:17:16
2019-05-15T10:17:16
165,616,420
0
0
null
null
null
null
UTF-8
C++
false
false
290
cpp
Day1 - Kth bit is set or not.cpp
/* * * Program to check wheather the kth bit is set or not * */ #include <iostream> using namespace std; int main() { int n,k; cin>>n; cin>>k; if( n & (1<<(k-1)) ) cout<<"The kth bit is set"; else cout<<"Unset"; return 0; }
1dea350559f1f04c89356b75ff1e9d42577fc3c9
3b65360310557d984105ea18671d2ae5dc0ec4e3
/squares_chess_boost.cpp
4c7ab0358151a85df5dc8bbdee5842d53395b88c
[]
no_license
guptavijay/arrays-vectors
f441aaffa3ac6e0f4798b7767309bf2503874138
8f1c23cb49cf020d3089befb83b36a17a759bbe4
refs/heads/master
2020-03-28T18:28:24.593541
2018-11-26T17:35:26
2018-11-26T17:35:26
148,884,327
0
0
null
null
null
null
UTF-8
C++
false
false
397
cpp
squares_chess_boost.cpp
//boost library // squares in N*N matrix or chess #include <iostream> #include<bits/stdc++.h> #include<boost/multiprecision/cpp_int.hpp> using namespace std; using namespace boost::multiprecision; int main() { //code int t; cin>>t; while(t--) { int n; cin>>n; cpp_int x=0; for(int i=1;i<=n;i++) { x=x+ (i*i); } cout<<x<<endl; } return 0; }
e1aabe064f10cb6b73b6dab2dcc326a525fdabf5
0b711980b1f7b8d9f187c7afe4c3c0af537a3b42
/VCS PC/RealTimeShadowMgr.h
535fb06d9aac246b37052ba68080f91912c492de
[ "MIT" ]
permissive
emmmhx/VCSPC
2b9e41070e23b3a0ac834339941c7b9d027340aa
eafa91e0088fa784b777a8a3f8af0c220a95a396
refs/heads/master
2022-04-13T03:58:30.422523
2020-04-07T19:02:04
2020-04-07T19:02:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,034
h
RealTimeShadowMgr.h
#ifndef __REALTIMESHADOWMGR #define __REALTIMESHADOWMGR #define NUM_MAX_REALTIME_SHADOWS 56 #define SHADOWS_MAX_INTENSITY 100 struct tShadowQualitySettings { unsigned char nQuality, nQualityAfterResample; unsigned char nBlurPasses; bool bUseGradient, bDedicatedCamsForPlayer; }; class CShadowCamera { public: RwCamera* m_pCamera; RwTexture* m_pTexture; public: CShadowCamera() : m_pCamera(nullptr), m_pTexture(nullptr) {} RwCamera* Create(int nSize); void Destroy(); RwCamera* SetLight(RpLight* pLight); void MakeGradientRaster(); RwCamera* SetCenter(RwV3d* pVector); RwRaster* RasterResample(RwRaster* pRaster); RwRaster* RasterBlur(RwRaster* pRaster, int nPasses); RwRaster* RasterGradient(RwRaster* pRaster); void InvertRaster(); RwCamera* Update(RpAtomic* pAtomic); RwCamera* Update(RpClump* pClump, CEntity* pEntity); void ReInit(); }; class CRealTimeShadow { public: CEntity* m_pEntity; bool m_bRenderedThisFrame; unsigned char m_nIntensity; bool m_bUsePlayerHelperCams; // VCS PC class extension CShadowCamera m_Camera; bool m_bDrawResample; CShadowCamera m_ResampledCamera; int m_dwBlurPasses; bool m_bDrawGradient; signed int m_nRwObjectType; RpLight* m_pLight; RwSphere m_BoundingSphere; RwSphere m_BaseSphere; public: inline RwSphere* GetBaseSphere() { return &m_BaseSphere; } inline class CEntity* GetOwner() { return m_pEntity; } inline bool GetRenderedThisFrame() { return m_bRenderedThisFrame; } inline void SetRenderedThisFrame() { m_bRenderedThisFrame = true; } inline void ResetIntensity() { m_nIntensity = 0; } inline void ForceFullIntensity() { m_nIntensity = 100; } inline void ClearOwner() { m_pEntity = nullptr; } //void* operator new(size_t size) // { return GtaOperatorNew(size); } CRealTimeShadow(RpLight* pLight) : m_pEntity(nullptr), m_nRwObjectType(-1), m_pLight(pLight), m_dwBlurPasses(0), m_bDrawResample(false), m_bDrawGradient(false), m_bRenderedThisFrame(false), m_nIntensity(0), m_bUsePlayerHelperCams(false) {} ~CRealTimeShadow() { Destroy(); } void ReInit() { m_Camera.ReInit(); m_ResampledCamera.ReInit(); if ( m_pEntity ) m_pEntity->bIveBeenRenderedOnce = false; } void Destroy(); void Create(int nSize, int nSizeResampled, bool bResample, int nBlurPasses, bool bGradient, bool bUsePlayerCams); RwTexture* Update(); bool SetShadowedObject(CEntity* pObject); }; class CRealTimeShadowManager { public: bool m_bInitialised; bool m_bNeedsReinit; bool m_bNewSettings; bool m_bPlayerHelperCamsInUse; // VCS PC class extension CRealTimeShadow* m_pShadows[NUM_MAX_REALTIME_SHADOWS]; CShadowCamera m_BlurCamera; CShadowCamera m_GradientCamera; // VCS PC class extension CShadowCamera m_BlurCamera_Player; CShadowCamera m_GradientCamera_Player; void* m_pShadowPixelShader; RpLight* m_pGlobalLight; public: CRealTimeShadowManager() : m_bInitialised(false), m_bNeedsReinit(false), m_bPlayerHelperCamsInUse(false), m_bNewSettings(false), m_pShadowPixelShader(nullptr) { memset(m_pShadows, 0, sizeof(m_pShadows)); } inline void* GetShadowPixelShader() { return m_pShadowPixelShader; } void ResetForChangedSettings() { m_bNeedsReinit = true; m_bNewSettings = true; } void Update(); void ReturnRealTimeShadow(CRealTimeShadow* pShadow); void Init(); void Exit(); void DoShadowThisFrame(CEntity* pEntity); void GetRealTimeShadow(CEntity* pEntity); void ReInit(); void InitShaders(); void ReleaseShaders(); void KeepBuildingShadowsAlive(); }; RpAtomic* ShadowCameraRenderCB(RpAtomic* pAtomic, void* pData); RpAtomic* ShadowCameraRenderCB_Vehicle(RpAtomic* pAtomic, void* pData); extern CRealTimeShadowManager g_realTimeShadowMan; static_assert(sizeof(CRealTimeShadow) == 0x4C, "Wrong size: CRealTimeShadow"); //static_assert(sizeof(CRealTimeShadowManager) == 0x54, "Wrong size: CRealTimeShadowManager"); #endif
ba5dc6d0ee89b564e9ef933b4f91d9929e8ffaad
2eb5bbcf91d9b69755fd4f9b8bf9e616538beeef
/Strings/Atoi.cpp
bd52474c09b082bea857790f2855348dc4bec593
[]
no_license
kumarshikhardeep/Interviewbit-Solution
cf300dda5085fcd0291831e7d31f1e20e74d3993
bdd71e88d26ffb952f43bb85e5445c894abf8036
refs/heads/master
2020-03-27T01:25:50.009979
2019-02-27T08:14:03
2019-02-27T08:14:03
145,709,813
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
Atoi.cpp
int Solution::atoi(const string A) { int i=0; while(A[i]==' ' && i<A.size()) i++; int sign=1; if(A[i]=='-') { sign=-1; i++; } else if(A[i]=='+') i++; else i=i; long long int res=0; while((A[i]<='9' && A[i]>='0') && i<A.size()) { res=res*10+(A[i]-'0'); if(res*sign > INT_MAX) return INT_MAX; if(res*sign < INT_MIN) return INT_MIN; i++; } res=res*sign; return res; }
0e94d5109d902b25b707732fff1d6b8e7949e2ca
96db47e1502b24802de25325dae6872d32de8998
/BT/src/BinaryTree.cpp
d7ae451038044f04ad9414c57635796147ed03eb
[ "Unlicense" ]
permissive
45w1n/cpp-resources
c32cb29f3132fcddbbd7aae0679c2b9cba44a7c5
a3aa5b1fe6bb467220404f022531443f163f9de5
refs/heads/master
2020-09-01T00:18:22.679251
2019-10-31T17:49:50
2019-10-31T17:49:50
218,825,021
0
0
Unlicense
2019-10-31T17:44:57
2019-10-31T17:44:54
null
UTF-8
C++
false
false
3,171
cpp
BinaryTree.cpp
#include <cstddef> #include "BinaryTree.h" #include <vector> #include <iostream> using namespace std; BinaryTree::BinaryTree() { _root = NULL; } BinaryTree::~BinaryTree() {} void BinaryTree::insert(int value) { _root = _rinsert(_root, value); } bool BinaryTree::contains(int value) { return _rcontains(_root, value); } void BinaryTree::remove(int value) { _root = _rremove(_root, value); } vector<int> BinaryTree::inorder(){ vector<int> v; _rinorder(_root, v); return v; } void BinaryTree::remove_minimum() { if(_root == NULL) { return; } _root = _rremovemin(_root); } Node* BinaryTree::_rinsert( Node* current, int value) { if (current == NULL) { return new Node(value); } if (value < current->data) { current->left = _rinsert(current->left, value); } else if (value > current->data) { current->right = _rinsert(current->right, value); } else { current->data = value; } return current; } Node* BinaryTree::_rminimum(Node* current){ assert(current != NULL); if (current->left == NULL) { return current; } return _rminimum(current->left); } Node* BinaryTree::_rremovemin(Node* current) { if (current->left == NULL) { Node* temp = current; current = temp->right; delete temp; return current; } current->left = _rremovemin(current->left); return current; } Node* BinaryTree::_rremove(Node* current, int value) { if (current == NULL) { return NULL; } if (value < current->data) { current->left = _rremove(current->left, value); } else if (value > current->data) { current->right = _rremove(current->right, value); } else { // we've found the node which contains the value // that we want to delete // if this node has at most one child // return that child to parent after deleting the node if (current->left == NULL) { Node* temp = current->right; delete current; return temp; } if (current->right == NULL) { Node* temp = current->left; delete current; return temp; } // HIBBARD DELETION // replace the value of the node // whose value we want to delete // with the minimum value of its right subtree // after this, delete the node which contains // the minimum value on the said right subtree int data = _rminimum(current->right)->data; current->right = _rremovemin(current->right); current->data = data; } return current; } void BinaryTree::_rinorder(Node* current, vector<int>& v){ if (current == NULL) { return; } _rinorder(current->left, v); v.push_back(current->data); _rinorder(current->right, v); } bool BinaryTree::_rcontains(Node* current, int value){ if (current == NULL) { return false; } if (value < current->data) { return _rcontains(current->left, value); } else if (value > current->data) { return _rcontains(current->right, value); } else { return true; } }
08dcbe71cbb54159eb43a90a31dc9765f1c920cb
9e82fe925277f6e87e7201f8903338efeb0ceb0f
/Plugins/SimsalaBIM/Source/SimsalaBIM/Public/SimsalaBimFunctionLibrary.h
6d9ad4e4a3d709dfe626ae96b3279bb8a577f47a
[ "MIT" ]
permissive
helpsterTee/ue4-simsalaBIM
4b321c075497164b0ff98d2903067f04283e220a
36320fcb54f8fe95a5db129df9ca0a11e7396f13
refs/heads/master
2021-03-24T11:44:10.324592
2017-03-27T10:55:39
2017-03-27T10:55:39
82,789,540
4
4
null
null
null
null
UTF-8
C++
false
false
849
h
SimsalaBimFunctionLibrary.h
#pragma once #include "Engine.h" #include "SimsalaBimFunctionLibrary.generated.h" UCLASS(BlueprintType) class UIfcProject : public UObject { GENERATED_BODY() public: UPROPERTY(BlueprintReadOnly) FString Name; uint64 OID; }; UCLASS() class USimsalaBimFunctionLibrary : public UBlueprintFunctionLibrary { GENERATED_BODY() public: // cannot set private... static uint64 SerializerOID; static FString CachedToken; static FString ServerName; public: UFUNCTION(BlueprintCallable, Category = "BIM") static bool Connect(FString ServerName, FString UserName, FString Password); UFUNCTION(BlueprintCallable, Category = "BIM") static bool GetProjectList(TArray<UIfcProject*>& Projects); UFUNCTION(BlueprintCallable, Category = "BIM") static bool LoadProject(AActor* ReferencePoint, UIfcProject* Project); //ChangeDefaultMaterial };
8bd5660188a9b1ed0162a19bd59ede9dd90e440d
e7be27c943abe8203463a794d31ea3e28edae485
/unit_tests/logicdata_csv_reader.h
f8f61c0cef6b1348995c751be4c28a918cb41817
[]
no_license
binaco/rusefi
d2682dbf795f1837109358d7cdd57cc424272855
c171d5f1d3ca8a9525c74809bea07fc8c8fb0516
refs/heads/master
2023-06-08T23:15:41.334222
2021-07-01T04:05:42
2021-07-01T04:05:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
h
logicdata_csv_reader.h
/* * @file logicdata_csv_reader.h * * @date Jun 26, 2021 * @author Andrey Belomutskiy, (c) 2012-2021 */ class CsvReader { public: FILE *fp; char buffer[255]; bool currentState[2]; int triggerCount = 2; int lineIndex = -1; int * columnIndeces; void open(const char *fileName, int * columnIndeces); bool haveMore(); void processLine(EngineTestHelper *eth); void readLine(EngineTestHelper *eth); };