blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
e2e2d2fd7e26978a7bf6db8a8864c94ad3475a59
12bd1bbfcb055b9ae3f3671914f664550c4692f7
/LowGfxApi/Vulkan01/ae/base/IAllocator.cpp
f3343c7b66d659ff3fca214c5b06401113667382
[]
no_license
hoboaki/sandbox
f67be63c842593672bc87b93bace249518e026b6
b0bb11108cfed1ebd0da67c75106bcda95b8a026
refs/heads/master
2022-12-12T08:40:49.809160
2021-11-04T14:35:08
2021-11-04T14:35:08
96,445,927
0
0
null
2022-12-09T08:15:59
2017-07-06T15:37:03
C
UTF-8
C++
false
false
2,629
cpp
// 文字コード:UTF-8 #include <ae/base/IAllocator.hpp> #include <memory> #include <ae/base/FunctionAttribute.hpp> #include <ae/base/Pointer.hpp> #include <ae/base/RuntimeAssert.hpp> #include <ae/base/Unused.hpp> //------------------------------------------------------------------------------ namespace ae { namespace base { //------------------------------------------------------------------------------ namespace { class tDefaultAllocatorObj { public: tDefaultAllocatorObj() : ptr(IAllocator::OperatorNewDelete()) { } Pointer< IAllocator > ptr; }; tDefaultAllocatorObj tDefaultAllocator; } // namespace //------------------------------------------------------------------------------ IAllocator::~IAllocator() { } //------------------------------------------------------------------------------ IAllocator& IAllocator::Default() { return *tDefaultAllocator.ptr; } //------------------------------------------------------------------------------ void IAllocator::SetDefault(IAllocator& aAllocator) { tDefaultAllocator.ptr.reset(&aAllocator); } //------------------------------------------------------------------------------ IAllocator& IAllocator::OperatorNewDelete() { class OperatorNewDeleteAllocator : public IAllocator { public: AE_BASE_OVERRIDE(ptr_t alloc(pword_t aSize, pword_t aAlignment)) { AE_BASE_UNUSED(aAlignment); void* ptr = ::operator new(aSize, std::nothrow_t()); AE_BASE_ASSERT_EQUALS(pword_t(ptr) % aAlignment, 0); return static_cast<ptr_t>(ptr); } AE_BASE_OVERRIDE(void free(ptr_t aPtr)) { ::operator delete(aPtr, std::nothrow_t()); } }; static OperatorNewDeleteAllocator obj; return obj; } }} // namespace //------------------------------------------------------------------------------ void* operator new(const std::size_t aSize, ::ae::base::IAllocator& aAllocator) { return aAllocator.alloc(aSize); } //------------------------------------------------------------------------------ void* operator new[](const std::size_t aSize, ::ae::base::IAllocator& aAllocator) { return aAllocator.alloc(aSize); } //------------------------------------------------------------------------------ void operator delete(void* aPtr, ::ae::base::IAllocator& aAllocator) { aAllocator.free(::ae::base::ptr_t(aPtr)); } //------------------------------------------------------------------------------ void operator delete[](void* aPtr, ::ae::base::IAllocator& aAllocator) { aAllocator.free(::ae::base::ptr_t(aPtr)); } // EOF
[ "hoboaki@10106.net" ]
hoboaki@10106.net
e87716525322d36070d44354b064cbd57d57affa
6699c4c7cb83ba1e82ba82f8dfc43a3148966373
/granary/mangle.h
e8c9f7e361bdc7694689d51a67a217a057e47329
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ZymoticB/granary
332c1ef31d6d333cb74486cd7d86ff54b2978efd
4026289ab7654e363e6a823c67b70fe8276eebc6
refs/heads/master
2020-12-11T04:01:53.094761
2013-11-11T23:36:19
2013-11-11T23:36:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,949
h
/* Copyright 2012-2013 Peter Goodman, all rights reserved. */ /* * mangle.h * * Created on: 2012-11-27 * Author: pag * Version: $Id$ */ #ifndef Granary_MANGLE_H_ #define Granary_MANGLE_H_ #include "granary/instruction.h" #include "granary/state.h" namespace granary { /// Forward declarations. struct code_cache; struct prediction_table; /// Defines an instruction list mangler. This is responsible for /// re-structuring instruction lists to make them safe to emit. Making them /// safe to emit involves changing branches/jumps, making sure things are /// patchable, etc. struct instruction_list_mangler { private: friend struct code_cache; cpu_state_handle cpu; basic_block_state &bb; const instrumentation_policy policy; instruction_list &ls; instruction_list &stub_ls; // used to estimate if an address is too far away from the code cache // to use relative addressing. const const_app_pc estimator_pc; instruction dbl_entry_stub( instruction patched_in, app_pc dbl_routine ) throw(); void mangle_sti(instruction in) throw(); void mangle_cli(instruction in) throw(); void mangle_cti(instruction in) throw(); void mangle_direct_cti( instruction in, operand target, instrumentation_policy target_policy ) throw(); void mangle_indirect_cti( instruction in, operand op, instrumentation_policy target_policy ) throw(); void mangle_bit_scan(instruction in) throw(); static void propagate_delay_region( instruction in, instruction first, instruction last ) throw(); private: void mangle_lea(instruction in) throw(); void mangle_far_memory_refs(instruction in) throw(); void mangle_far_memory_push( instruction in, bool first_reg_is_dead, dynamorio::reg_id_t dead_reg_id, dynamorio::reg_id_t spill_reg_id, uint64_t addr ) throw(); void mangle_far_memory_pop( instruction in, bool first_reg_is_dead, dynamorio::reg_id_t dead_reg_id, dynamorio::reg_id_t spill_reg_id, uint64_t addr ) throw(); /// Get the direct branch lookip (DBL) entry point for a direct operand. app_pc dbl_entry_routine( instruction in, mangled_address am ) throw(); enum ibl_entry_kind { IBL_ENTRY_CALL, IBL_ENTRY_RETURN, IBL_ENTRY_JMP }; /// Make an IBL stub. This is used by indirect jmps, calls, and returns. /// The purpose of the stub is to set up the registers and stack in a /// canonical way for entry into the indirect branch lookup routine. void mangle_ibl_lookup( instruction_list &insertion_list, instruction insertion_point, instrumentation_policy target_policy, operand target, ibl_entry_kind ibl_kind, app_pc cti_in ) throw(); public: instruction_list_mangler( cpu_state_handle cpu_, basic_block_state &bb_, instruction_list &ls_, instruction_list &stub_ls_, instrumentation_policy policy_, const_app_pc ) throw(); void mangle(void) throw(); /// Aligns hot-patchable instructions in the basic block, given the /// current cache-line alignment of the basic block, and returns the /// basic block's size. static unsigned align(instruction_list &ls, unsigned align) throw(); }; } #undef DPM_DECLARE_REG #undef DPM_DECLARE_REG_CONT #endif /* Granary_MANGLE_H_ */
[ "peter.goodman@gmail.com" ]
peter.goodman@gmail.com
89bac44ce7f6a9f51cd89ffaa9f16b3be23e2dd3
baa1ae2afa8968d726f8cfd12135f8f9b691832e
/code/game-bcity/src/screens/HiScoreScreen.h
25a631a96e13526b57a498ee2b3a0776e6713692
[]
no_license
germix/germix-games
ffaf1ebb360c389463a7438ee3c6cc33b031280c
db315cd54f06a7a646bc6789b9651ef39816643d
refs/heads/master
2022-04-05T07:32:56.040835
2019-11-19T11:06:03
2019-11-19T11:06:03
222,627,542
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
884
h
//////////////////////////////////////////////////////////////////////////////////////////////////// // // HiScoreScreen // // Germán Martínez // //////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef ___HiScoreScreen_h___ #define ___HiScoreScreen_h___ #include <gamelib/Screen.h> #include <gamelib/TimeClock.h> class Font; class HiScoreScreen : public Screen { bool removable; char scoreText[24]; int soundChannel; int fontIndex; TimeClock fontClock; Font* charFonts[4]; Font* numberFonts[4]; public: HiScoreScreen(int score); ~HiScoreScreen(); public: virtual Screen* getNext(); virtual bool isRemovable(); virtual void show(Machine* mach); virtual void hide(Machine* mach); virtual void update(Machine* mach, double dt); virtual void render(Machine* mach, Graphics* gr); }; #endif
[ "german.m7186@gmail.com" ]
german.m7186@gmail.com
938a9473027322d8fbaac9a4fad4cb6f6cf865e9
6960350a0119f3b1b8590b35651f654a15e021d3
/SoundEnginePlugin/plugin_templateFX.cpp
ae40ff8ef8f9c54528eb7489f9ece9d79d368aaf
[]
no_license
SAFrelated/plugin_template
354113c1c8ee318f91010f2a3d25b6ffc42b7335
066d18e7070819e6c82af39bd5a7b9fb5e5c1300
refs/heads/master
2022-12-17T16:01:24.438227
2020-09-07T23:39:59
2020-09-07T23:39:59
293,655,092
2
0
null
null
null
null
UTF-8
C++
false
false
3,391
cpp
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology may use this file in accordance with the end user license agreement provided with the software or, alternatively, in accordance with the terms contained in a written agreement between you and Audiokinetic Inc. Apache License Usage Alternatively, this file may be used under the Apache License, Version 2.0 (the "Apache License"); you may not use this file except in compliance with the Apache License. You may obtain a copy of the Apache License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for the specific language governing permissions and limitations under the License. Copyright (c) 2020 Audiokinetic Inc. *******************************************************************************/ #include "plugin_templateFX.h" #include "../plugin_templateConfig.h" #include <AK/AkWwiseSDKVersion.h> AK::IAkPlugin* Createplugin_templateFX(AK::IAkPluginMemAlloc* in_pAllocator) { return AK_PLUGIN_NEW(in_pAllocator, plugin_templateFX()); } AK::IAkPluginParam* Createplugin_templateFXParams(AK::IAkPluginMemAlloc* in_pAllocator) { return AK_PLUGIN_NEW(in_pAllocator, plugin_templateFXParams()); } AK_IMPLEMENT_PLUGIN_FACTORY(plugin_templateFX, AkPluginTypeEffect, plugin_templateConfig::CompanyID, plugin_templateConfig::PluginID) plugin_templateFX::plugin_templateFX() : m_pParams(nullptr) , m_pAllocator(nullptr) , m_pContext(nullptr) { } plugin_templateFX::~plugin_templateFX() { } AKRESULT plugin_templateFX::Init(AK::IAkPluginMemAlloc* in_pAllocator, AK::IAkEffectPluginContext* in_pContext, AK::IAkPluginParam* in_pParams, AkAudioFormat& in_rFormat) { m_pParams = (plugin_templateFXParams*)in_pParams; m_pAllocator = in_pAllocator; m_pContext = in_pContext; return AK_Success; } AKRESULT plugin_templateFX::Term(AK::IAkPluginMemAlloc* in_pAllocator) { AK_PLUGIN_DELETE(in_pAllocator, this); return AK_Success; } AKRESULT plugin_templateFX::Reset() { return AK_Success; } AKRESULT plugin_templateFX::GetPluginInfo(AkPluginInfo& out_rPluginInfo) { out_rPluginInfo.eType = AkPluginTypeEffect; out_rPluginInfo.bIsInPlace = true; out_rPluginInfo.uBuildVersion = AK_WWISESDK_VERSION_COMBINED; return AK_Success; } #pragma optimize("", off) void plugin_templateFX::Execute(AkAudioBuffer* io_pBuffer) { const AkUInt32 uNumChannels = io_pBuffer->NumChannels(); AkUInt16 uFramesProcessed; for (AkUInt32 i = 0; i < uNumChannels; ++i) { AkReal32* AK_RESTRICT pBuf = (AkReal32* AK_RESTRICT)io_pBuffer->GetChannel(i); uFramesProcessed = 0; while (uFramesProcessed < io_pBuffer->uValidFrames) { // Execute DSP in-place here ++uFramesProcessed; } } } #pragma optimize("", on) AKRESULT plugin_templateFX::TimeSkip(AkUInt32 in_uFrames) { return AK_DataReady; }
[ "janne.lehtimaki@aalto.fi" ]
janne.lehtimaki@aalto.fi
3653bc77d801a5aacd1d3ba465472e73e1071609
c1ff870879152fba2b54eddfb7591ec322eb3061
/plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/v8/src/interpreter/bytecode-array-writer.h
9700d2c1cf03a0d7e4e4367114d5aecc7fb8346a
[ "LicenseRef-scancode-free-unknown", "MIT", "ISC", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Artistic-2.0", "NAIST-2003", "BSD-3-Clause", "Zlib", "NTP", "LicenseRef-scancode-openssl", "ICU", "LicenseRef-scancode-unicode", "LicenseRef-scancode-unknown-license-reference", "bzip2...
permissive
MTASZTAKI/ApertusVR
1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa
424ec5515ae08780542f33cc4841a8f9a96337b3
refs/heads/0.9
2022-12-11T20:03:42.926813
2019-10-11T09:29:45
2019-10-11T09:29:45
73,708,854
188
55
MIT
2022-12-11T08:53:21
2016-11-14T13:48:00
C++
UTF-8
C++
false
false
3,888
h
// Copyright 2015 the V8 project 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 V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_ #define V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_ #include "src/base/compiler-specific.h" #include "src/globals.h" #include "src/interpreter/bytecodes.h" #include "src/source-position-table.h" namespace v8 { namespace internal { class BytecodeArray; class SourcePositionTableBuilder; namespace interpreter { class BytecodeLabel; class BytecodeNode; class BytecodeJumpTable; class ConstantArrayBuilder; namespace bytecode_array_writer_unittest { class BytecodeArrayWriterUnittest; } // namespace bytecode_array_writer_unittest // Class for emitting bytecode as the final stage of the bytecode // generation pipeline. class V8_EXPORT_PRIVATE BytecodeArrayWriter final { public: BytecodeArrayWriter( Zone* zone, ConstantArrayBuilder* constant_array_builder, SourcePositionTableBuilder::RecordingMode source_position_mode); void Write(BytecodeNode* node); void WriteJump(BytecodeNode* node, BytecodeLabel* label); void WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table); void BindLabel(BytecodeLabel* label); void BindLabel(const BytecodeLabel& target, BytecodeLabel* label); void BindJumpTableEntry(BytecodeJumpTable* jump_table, int case_value); Handle<BytecodeArray> ToBytecodeArray(Isolate* isolate, int register_count, int parameter_count, Handle<ByteArray> handler_table); private: // Maximum sized packed bytecode is comprised of a prefix bytecode, // plus the actual bytecode, plus the maximum number of operands times // the maximum operand size. static const size_t kMaxSizeOfPackedBytecode = 2 * sizeof(Bytecode) + Bytecodes::kMaxOperands * static_cast<size_t>(OperandSize::kLast); // Constants that act as placeholders for jump operands to be // patched. These have operand sizes that match the sizes of // reserved constant pool entries. const uint32_t k8BitJumpPlaceholder = 0x7f; const uint32_t k16BitJumpPlaceholder = k8BitJumpPlaceholder | (k8BitJumpPlaceholder << 8); const uint32_t k32BitJumpPlaceholder = k16BitJumpPlaceholder | (k16BitJumpPlaceholder << 16); void PatchJump(size_t jump_target, size_t jump_location); void PatchJumpWith8BitOperand(size_t jump_location, int delta); void PatchJumpWith16BitOperand(size_t jump_location, int delta); void PatchJumpWith32BitOperand(size_t jump_location, int delta); void EmitBytecode(const BytecodeNode* const node); void EmitJump(BytecodeNode* node, BytecodeLabel* label); void EmitSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table); void UpdateSourcePositionTable(const BytecodeNode* const node); void UpdateExitSeenInBlock(Bytecode bytecode); void MaybeElideLastBytecode(Bytecode next_bytecode, bool has_source_info); void InvalidateLastBytecode(); ZoneVector<uint8_t>* bytecodes() { return &bytecodes_; } SourcePositionTableBuilder* source_position_table_builder() { return &source_position_table_builder_; } ConstantArrayBuilder* constant_array_builder() { return constant_array_builder_; } ZoneVector<uint8_t> bytecodes_; int unbound_jumps_; SourcePositionTableBuilder source_position_table_builder_; ConstantArrayBuilder* constant_array_builder_; Bytecode last_bytecode_; size_t last_bytecode_offset_; bool last_bytecode_had_source_info_; bool elide_noneffectful_bytecodes_; bool exit_seen_in_block_; friend class bytecode_array_writer_unittest::BytecodeArrayWriterUnittest; DISALLOW_COPY_AND_ASSIGN(BytecodeArrayWriter); }; } // namespace interpreter } // namespace internal } // namespace v8 #endif // V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_
[ "peter.kovacs@sztaki.mta.hu" ]
peter.kovacs@sztaki.mta.hu
8de9f7c2341a3a3bbae9bc9c43a942e3634a7476
fce0eeafcc077e556c316c88604ce74a79cdbda7
/source/google_test/testing_def.h
40c86ab6519fb361fe9727bc89170d896f6d55e4
[]
no_license
bkianmajd/image_recognition
1488e646fcebb42bb192e129bcbd7f65c10202a2
4ddca38d8e473bdb450525f2763bb937cbc2da15
refs/heads/master
2022-10-11T18:33:44.258137
2020-04-08T03:22:52
2020-04-08T03:22:52
129,473,614
0
0
null
2022-10-04T23:50:26
2018-04-14T02:24:44
C++
UTF-8
C++
false
false
1,197
h
#ifndef TESTING_DEF_H_ #define TESTING_DEF_H_ #include "helpers/directory_finder.h" namespace tester { const std::string kWorkspaceFromTestingMain = "../../../source/"; const std::string kTestingDirectoryFromWorkspace = "google_test/test_data/"; const std::string kTemplateCheckers = "test.jpg"; const std::string kBigImageChecker = "left01.jpg"; const std::string kNoFile = "no_file.jpg"; const std::string kBigImage = "big_image_1.jpg"; const std::string kBigImagePokerTable = "poker_table.jpg"; const std::string kBigImagePokerTable2 = "poker_table2.jpg"; const std::string kBigImagePokerTable3 = "poker_table3.jpg"; const std::string kTemplate3Hearts = "3_hearts.jpg"; const std::string kTemplate7Clubs = "7_clubs.jpg"; const std::string kBigImageCardDef = "cards_big_image.jpg"; class Tester { public: Tester() : test_directory_( kTestingDirectoryFromWorkspace, helpers::DirectoryFinder::ReferenceFrame::RelativeToWorkspace) {} std::string GetAbsPath(const std::string& string) { return test_directory_.GetAbsPathOfTargetFile(string); } private: const helpers::DirectoryFinder test_directory_; }; } // tester #endif // TESTING_DEF_H_
[ "bbkianmajd@ucdavis.edu" ]
bbkianmajd@ucdavis.edu
9e6628a547497ad19675d01d7986bd1a96c7cdc6
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/gpu/config/gpu_feature_info.cc
74106efc0f28495043c873a64039dd7641d14275
[ "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
C++
false
false
1,854
cc
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/config/gpu_feature_info.h" #include <algorithm> #include "gpu/config/gpu_blocklist.h" #include "gpu/config/gpu_driver_bug_list.h" #include "gpu/config/gpu_driver_bug_workaround_type.h" #include "ui/gl/gl_context.h" namespace gpu { GpuFeatureInfo::GpuFeatureInfo() { for (auto& status : status_values) status = kGpuFeatureStatusUndefined; } GpuFeatureInfo::GpuFeatureInfo(const GpuFeatureInfo&) = default; GpuFeatureInfo::GpuFeatureInfo(GpuFeatureInfo&&) = default; GpuFeatureInfo::~GpuFeatureInfo() = default; GpuFeatureInfo& GpuFeatureInfo::operator=(const GpuFeatureInfo&) = default; GpuFeatureInfo& GpuFeatureInfo::operator=(GpuFeatureInfo&&) = default; void GpuFeatureInfo::ApplyToGLContext(gl::GLContext* gl_context) const { DCHECK(gl_context); gl::GLWorkarounds gl_workarounds; if (IsWorkaroundEnabled(gpu::CLEAR_TO_ZERO_OR_ONE_BROKEN)) { gl_workarounds.clear_to_zero_or_one_broken = true; } if (IsWorkaroundEnabled(RESET_TEXIMAGE2D_BASE_LEVEL)) { gl_workarounds.reset_teximage2d_base_level = true; } gl_context->SetGLWorkarounds(gl_workarounds); gl_context->SetDisabledGLExtensions(this->disabled_extensions); } bool GpuFeatureInfo::IsWorkaroundEnabled(int32_t workaround) const { return std::find(this->enabled_gpu_driver_bug_workarounds.begin(), this->enabled_gpu_driver_bug_workarounds.end(), workaround) != this->enabled_gpu_driver_bug_workarounds.end(); } bool GpuFeatureInfo::IsInitialized() const { // Check if any feature status is undefined. return status_values[GPU_FEATURE_TYPE_ACCELERATED_GL] != kGpuFeatureStatusUndefined; } } // namespace gpu
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
2792c4d62020bbe4c027197cdbeaf24e540571de
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_PrimalItemConsumable_Seed_BaseBerry_parameters.hpp
4db0a50238c20bd86ee9af8fa68168da5f91f74e
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076298
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
812
hpp
#pragma once // ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemConsumable_Seed_BaseBerry_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function PrimalItemConsumable_Seed_BaseBerry.PrimalItemConsumable_Seed_BaseBerry_C.ExecuteUbergraph_PrimalItemConsumable_Seed_BaseBerry struct UPrimalItemConsumable_Seed_BaseBerry_C_ExecuteUbergraph_PrimalItemConsumable_Seed_BaseBerry_Params { int EntryPoint; // (Parm, ZeroConstructor, IsPlainOldData) }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "sergey.2bite@gmail.com" ]
sergey.2bite@gmail.com
3ff11e0bd18932dbd9321fb52ce28068a04e04dd
4f4c76a15daec86fe185953d4421902ca8962674
/src/crypto/chacha20.h
d39d820a5e4d69f63be956367e881afd81a31216
[ "MIT" ]
permissive
raymaker/deft
a71a70ef38f5c3fae9d167b1945e0b8b6e8c6f15
8d5d3f65828b52f5df6661786a271b6144b2cc32
refs/heads/master
2020-04-15T22:15:43.731675
2018-10-04T01:32:35
2018-10-04T01:32:35
165,065,919
0
1
MIT
2019-01-10T13:36:51
2019-01-10T13:36:51
null
UTF-8
C++
false
false
666
h
// Copyright (c) 2017 The Deft developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CRYPTO_CHACHA20_H #define BITCOIN_CRYPTO_CHACHA20_H #include <stdint.h> #include <stdlib.h> /** A PRNG class for ChaCha20. */ class ChaCha20 { private: uint32_t input[16]; public: ChaCha20(); ChaCha20(const unsigned char* key, size_t keylen); void SetKey(const unsigned char* key, size_t keylen); void SetIV(uint64_t iv); void Seek(uint64_t pos); void Output(unsigned char* output, size_t bytes); }; #endif // BITCOIN_CRYPTO_CHACHA20_H
[ "admin@deft.host" ]
admin@deft.host
a6a5291f70bd5cea0565e41dffce24e98c5c4b40
75d2330d43c186f08bef17b4274e97b5401cce61
/BNDSOJ/车厢调度.cpp
b30739e3feb4d43575656d7f05fdea5f28ea25f4
[]
no_license
AD1024/Algo-Practice
709d89d0c301d0f798cab316a9fdb436ad9de642
6d0efa62859aea9798fc78c5c78b8394ac480972
refs/heads/master
2021-01-12T06:36:18.289920
2018-04-23T01:02:46
2018-04-23T01:02:46
77,384,339
2
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
#include <iostream> #include <cstdio> #include <cstring> #include <stack> using namespace std; stack<int> s; int a=0,upper=-1; int main(){ int N;cin>>N;bool isb=false; for(int i=1;i<=N;++i){ cin>>a; if(a > upper){ for(int j=upper+1;j<=a;++j){ s.push(j); } upper=a; } if(a <= upper){ // cout<<s.top()<<" "<<a<<endl; if(s.top() == a){ s.pop(); }else{ isb=true; break; } } } if(isb){ puts("NO"); }else{ puts("YES"); } }
[ "ccoderad@gmail.com" ]
ccoderad@gmail.com
2f1dfacf375d21b165713d19a6f14d90a22259bc
921c8855a4ed0de4e5b7e4ddf39d630e34f3077a
/release/modules/matlab/src/getPerspectiveTransform.cpp
dfc68eff86755c7b8bc40c74e4b4188725b33a58
[ "BSD-3-Clause" ]
permissive
chicn/opencv
13085095d4a78f9febea450e25ff9c0e7c63b0bf
12279ab00c280a666d47f9bff22db7d066c43088
refs/heads/master
2021-01-21T06:42:21.738005
2017-02-28T09:47:16
2017-02-28T09:47:16
83,271,812
0
0
null
2017-02-27T05:31:20
2017-02-27T05:31:20
null
UTF-8
C++
false
false
1,951
cpp
/* * file: getPerspectiveTransform.cpp * author: A trusty code generator * date: Tue, 28 Feb 2017 10:45:57 * * This file was autogenerated, do not modify. * See LICENSE for full modification and redistribution details. * Copyright 2017 The OpenCV Foundation */ #include <string> #include <vector> #include <cassert> #include <exception> #include <opencv2/matlab/bridge.hpp> #include <opencv2/imgproc.hpp> using namespace cv; using namespace matlab; using namespace bridge; /* * getPerspectiveTransform * Mat getPerspectiveTransform(Mat src, Mat dst); * Gateway routine * nlhs - number of return arguments * plhs - pointers to return arguments * nrhs - number of input arguments * prhs - pointers to input arguments */ void mexFunction(int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]) { // parse the inputs ArgumentParser parser("getPerspectiveTransform"); parser.addVariant("getPerspectiveTransform", 2, 0); MxArrayVector sorted = parser.parse(MxArrayVector(prhs, prhs+nrhs)); // setup BridgeVector inputs(sorted.begin(), sorted.end()); BridgeVector outputs(1); // unpack the arguments Mat src = inputs[0].toMat(); Mat dst = inputs[1].toMat(); Mat retval; // call the opencv function // [out =] namespace.fun(src1, ..., srcn, dst1, ..., dstn, opt1, ..., optn); try { retval = cv::getPerspectiveTransform(src, dst); } catch(cv::Exception& e) { error(std::string("cv::exception caught: ").append(e.what()).c_str()); } catch(std::exception& e) { error(std::string("std::exception caught: ").append(e.what()).c_str()); } catch(...) { error("Uncaught exception occurred in getPerspectiveTransform"); } // assign the outputs into the bridge outputs[0] = retval; // push the outputs back to matlab for (size_t n = 0; n < static_cast<size_t>(std::max(nlhs,1)); ++n) { plhs[n] = outputs[n].toMxArray().releaseOwnership(); } }
[ "chihiros92@suou.waseda.jp" ]
chihiros92@suou.waseda.jp
5c5c9b8184df59cfa1febea3af0f6d508913f346
3149e2e17725eaf95b25e67274e0c7356d2bea0d
/src/qt/walletframe.h
3329f97abae5b32976127e73ab0414addb04e04d
[ "MIT" ]
permissive
Samsufi/GAL
89642a83dba1f4b1c78b14efd471a7d0bf0b9348
d64c4faac60d073d3e86c87ceedf3058dfade6cc
refs/heads/master
2020-03-18T18:06:00.291246
2018-05-27T18:56:08
2018-05-27T18:56:08
135,071,466
0
0
null
null
null
null
UTF-8
C++
false
false
2,903
h
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2016-2018 The GALR developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_WALLETFRAME_H #define BITCOIN_QT_WALLETFRAME_H #include "askpassphrasedialog.h" #include <QFrame> #include <QMap> class BitcoinGUI; class ClientModel; class SendCoinsRecipient; class WalletModel; class WalletView; class TradingDialog; class BlockExplorer; QT_BEGIN_NAMESPACE class QStackedWidget; QT_END_NAMESPACE class WalletFrame : public QFrame { Q_OBJECT public: explicit WalletFrame(BitcoinGUI* _gui = 0); ~WalletFrame(); void setClientModel(ClientModel* clientModel); bool addWallet(const QString& name, WalletModel* walletModel); bool setCurrentWallet(const QString& name); bool removeWallet(const QString& name); void removeAllWallets(); bool handlePaymentRequest(const SendCoinsRecipient& recipient); void showOutOfSyncWarning(bool fShow); private: QStackedWidget* walletStack; BitcoinGUI* gui; ClientModel* clientModel; QMap<QString, WalletView*> mapWalletViews; bool bOutOfSync; WalletView* currentWalletView(); public slots: /** Switch to overview (home) page */ void gotoOverviewPage(); /** Switch to history (transactions) page */ void gotoHistoryPage(); /** Switch to masternode page */ void gotoMasternodePage(); /** Switch to receive coins page */ void gotoReceiveCoinsPage(); /** Switch to privacy page */ void gotoPrivacyPage(); /** Switch to send coins page */ void gotoSendCoinsPage(QString addr = ""); /** Switch to explorer page */ void gotoBlockExplorerPage(); /** Show Sign/Verify Message dialog and switch to sign message tab */ void gotoSignMessageTab(QString addr = ""); /** Show Sign/Verify Message dialog and switch to verify message tab */ void gotoVerifyMessageTab(QString addr = ""); /** Show MultiSend Dialog **/ void gotoMultiSendDialog(); /** show a multisig tab **/ void gotoMultisigDialog(int index); /** Show BIP 38 tool - default to Encryption tab */ void gotoBip38Tool(); /** Encrypt the wallet */ void encryptWallet(bool status); /** Backup the wallet */ void backupWallet(); /** Change encrypted wallet passphrase */ void changePassphrase(); /** Ask for passphrase to unlock wallet temporarily */ void unlockWallet(AskPassphraseDialog::Context context); void unlockWallet(bool setContext); /** Lock wallet */ void lockWallet(); /** Toggle Wallet Lock State */ void toggleLockWallet(); /** Show used sending addresses */ void usedSendingAddresses(); /** Show used receiving addresses */ void usedReceivingAddresses(); }; #endif // BITCOIN_QT_WALLETFRAME_H
[ "samuel.ly99@gmail.com" ]
samuel.ly99@gmail.com
ba037d4e68d2ea7b4b1cadfe867a067c5e6d3028
09a4962b93c196f2f8a70c2384757142793612fd
/company/build/iOS/Preview/include/Fuse.InheritViewport.h
a6a5c7066a75cef34de866911cca96281ad4aed9
[]
no_license
JimmyRodriguez/apps-fuse
169779ff2827a6e35be91d9ff17e0c444ba7f8cd
14114328c3cea08c1fd766bf085bbf5a67f698ae
refs/heads/master
2020-12-03T09:25:26.566750
2016-09-24T14:24:49
2016-09-24T14:24:49
65,154,944
0
0
null
null
null
null
UTF-8
C++
false
false
2,559
h
// This file was generated based on '/usr/local/share/uno/Packages/FuseCore/0.35.8/$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.ICommonViewport.h> #include <Fuse.IRenderViewport.h> #include <Uno.Object.h> namespace g{namespace Fuse{struct FrustumViewport;}} namespace g{namespace Fuse{struct InheritViewport;}} namespace g{namespace Fuse{struct Visual;}} namespace g{namespace Uno{struct Float2;}} namespace g{namespace Uno{struct Float3;}} namespace g{namespace Uno{struct Float4x4;}} namespace g{ namespace Fuse{ // internal sealed class InheritViewport :2755 // { struct InheritViewport_type : uType { ::g::Fuse::IRenderViewport interface0; ::g::Fuse::ICommonViewport interface1; }; InheritViewport_type* InheritViewport_typeof(); void InheritViewport__ctor__fn(InheritViewport* __this, uObject* baseView, ::g::Fuse::FrustumViewport* childView, ::g::Fuse::Visual* child); void InheritViewport__New1_fn(uObject* baseView, ::g::Fuse::FrustumViewport* childView, ::g::Fuse::Visual* child, InheritViewport** __retval); void InheritViewport__get_PixelSize_fn(InheritViewport* __this, ::g::Uno::Float2* __retval); void InheritViewport__get_PixelsPerPoint_fn(InheritViewport* __this, float* __retval); void InheritViewport__get_ProjectionTransform_fn(InheritViewport* __this, ::g::Uno::Float4x4* __retval); void InheritViewport__get_Size_fn(InheritViewport* __this, ::g::Uno::Float2* __retval); void InheritViewport__get_ViewOrigin_fn(InheritViewport* __this, ::g::Uno::Float3* __retval); void InheritViewport__get_ViewProjectionTransform_fn(InheritViewport* __this, ::g::Uno::Float4x4* __retval); void InheritViewport__get_ViewRange_fn(InheritViewport* __this, ::g::Uno::Float2* __retval); void InheritViewport__get_ViewTransform_fn(InheritViewport* __this, ::g::Uno::Float4x4* __retval); struct InheritViewport : uObject { uStrong<uObject*> _baseView; uStrong< ::g::Fuse::Visual*> _child; uStrong< ::g::Fuse::FrustumViewport*> _childView; void ctor_(uObject* baseView, ::g::Fuse::FrustumViewport* childView, ::g::Fuse::Visual* child); ::g::Uno::Float2 PixelSize(); float PixelsPerPoint(); ::g::Uno::Float4x4 ProjectionTransform(); ::g::Uno::Float2 Size(); ::g::Uno::Float3 ViewOrigin(); ::g::Uno::Float4x4 ViewProjectionTransform(); ::g::Uno::Float2 ViewRange(); ::g::Uno::Float4x4 ViewTransform(); static InheritViewport* New1(uObject* baseView, ::g::Fuse::FrustumViewport* childView, ::g::Fuse::Visual* child); }; // } }} // ::g::Fuse
[ "jimmysidney@jimmysidney.local" ]
jimmysidney@jimmysidney.local
ee8103baf8e0610046d27e3a6a22fabca9265cc3
df600cc136b76ee8871532ca10db4ddbaf225054
/chrome/browser/ui/views/passwords/password_sign_in_promo_view.cc
4172bb980481c19c6f778c8ecd9ef87d0ae07679
[ "BSD-3-Clause" ]
permissive
choiicc/chromium
3b542c4fe6c0a6e1817211a0992c37439c3d8c77
14feef5e3436f3ae61276a90cdf822a0c03afabf
refs/heads/master
2023-01-07T07:02:50.206120
2018-04-12T09:42:31
2018-04-12T09:42:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,504
cc
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/passwords/password_sign_in_promo_view.h" #include "base/metrics/user_metrics.h" #include "build/buildflag.h" #include "chrome/browser/signin/account_consistency_mode_manager.h" #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" #include "chrome/browser/ui/views/harmony/chrome_typography.h" #include "chrome/grit/generated_resources.h" #include "components/signin/core/browser/account_info.h" #include "components/signin/core/browser/signin_buildflags.h" #include "ui/base/l10n/l10n_util.h" #include "ui/views/controls/button/md_text_button.h" #include "ui/views/layout/fill_layout.h" #if BUILDFLAG(ENABLE_DICE_SUPPORT) #include "chrome/browser/ui/views/sync/dice_bubble_sync_promo_view.h" #endif PasswordSignInPromoView::DiceSyncPromoDelegate::DiceSyncPromoDelegate( ManagePasswordsBubbleModel* model) : model_(model) { DCHECK(model_); } PasswordSignInPromoView::DiceSyncPromoDelegate::~DiceSyncPromoDelegate() = default; void PasswordSignInPromoView::DiceSyncPromoDelegate::OnEnableSync( const AccountInfo& account, bool is_default_promo_account) { model_->OnSignInToChromeClicked(account, is_default_promo_account); } PasswordSignInPromoView::PasswordSignInPromoView( ManagePasswordsBubbleModel* model) : model_(model) { DCHECK(model_); base::RecordAction( base::UserMetricsAction("Signin_Impression_FromPasswordBubble")); SetLayoutManager(std::make_unique<views::FillLayout>()); Profile* profile = model_->GetProfile(); if (AccountConsistencyModeManager::IsDiceEnabledForProfile(profile)) { #if BUILDFLAG(ENABLE_DICE_SUPPORT) dice_sync_promo_delegate_ = std::make_unique<PasswordSignInPromoView::DiceSyncPromoDelegate>( model_); AddChildView(new DiceBubbleSyncPromoView( profile, dice_sync_promo_delegate_.get(), IDS_PASSWORD_MANAGER_DICE_PROMO_SIGNIN_MESSAGE, IDS_PASSWORD_MANAGER_DICE_PROMO_SYNC_MESSAGE)); #else NOTREACHED(); #endif } else { auto label = std::make_unique<views::Label>( l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SIGNIN_PROMO_LABEL), CONTEXT_BODY_TEXT_LARGE, STYLE_SECONDARY); label->SetHorizontalAlignment(gfx::ALIGN_LEFT); label->SetMultiLine(true); AddChildView(label.release()); } } PasswordSignInPromoView::~PasswordSignInPromoView() = default; bool PasswordSignInPromoView::Accept() { DCHECK(!dice_sync_promo_delegate_); model_->OnSignInToChromeClicked(AccountInfo(), false /* is_default_promo_account */); return true; } bool PasswordSignInPromoView::Cancel() { NOTREACHED(); return true; } int PasswordSignInPromoView::GetDialogButtons() const { if (dice_sync_promo_delegate_) { // The desktop identity consistency sync promo has its own promo message // and button (it does not reuse the ManagePasswordPendingView's dialog // buttons). return ui::DIALOG_BUTTON_NONE; } return ui::DIALOG_BUTTON_OK; } base::string16 PasswordSignInPromoView::GetDialogButtonLabel( ui::DialogButton button) const { DCHECK_EQ(ui::DIALOG_BUTTON_OK, button); DCHECK(!dice_sync_promo_delegate_); return l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SIGNIN_PROMO_SIGN_IN); }
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
e02f6a538c773ba7a80c612e3da378d083b28908
7ee59067ac41a490d99d61fa0f0043368eab37f6
/Poke/src/Poke/Renderer/Renderer.h
f2ec6ab7662a22ec0bac2a8fbbd9251ceedeefc3
[ "Apache-2.0" ]
permissive
moonyuet/Poke
60b7ccd2f31f04bce887c3d99a62a8c9c1aa93d1
3e315774fde172bd43b5ace99a427486d458e1a1
refs/heads/main
2023-07-15T08:21:28.594289
2021-08-13T03:58:35
2021-08-13T03:58:35
374,585,959
0
0
Apache-2.0
2021-08-13T03:58:35
2021-06-07T08:10:40
C++
UTF-8
C++
false
false
663
h
#pragma once #include "RenderCommand.h" #include "OrthographicCamera.h" #include "Shader.h" namespace Poke { class Renderer { public: static void Init(); static void Shutdown(); static void OnWindowResize(uint32_t width, uint32_t height); static void BeginScene(OrthographicCamera& camera); static void EndScene(); static void Submit(const Ref<Shader>& shader, const Ref<VertexArray>& vertexArray, const glm::mat4& transform = glm::mat4(1.0f)); inline static RendererAPI::API GetAPI() { return RendererAPI::GetAPI(); } private: struct SceneData { glm::mat4 ViewProjectionMatrix; }; static Scope<SceneData> m_SceneData; }; }
[ "moonyuet2008@hotmail.com" ]
moonyuet2008@hotmail.com
9f8c11abb98e7694cd08cd63e50ab7a03100de37
41a76318e5b9eef2c69bbf922724f8b191d7d124
/kokkos/core/unit_test/serial/TestSerial_AtomicOperations_longint.cpp
deef8662532e2e0a2428262a74cb4782112905e3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
zishengye/compadre
d0ff10deca224284e7e153371a738e053e66012a
75b738a6a613c89e3c3232cbf7b2589a6b28d0a3
refs/heads/master
2021-06-25T06:16:38.327543
2021-04-02T02:08:48
2021-04-02T02:08:48
223,650,267
0
0
NOASSERTION
2019-11-23T20:41:03
2019-11-23T20:41:02
null
UTF-8
C++
false
false
2,092
cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this software. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // 3. Neither the name of the Corporation nor the names of the // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // Questions? Contact Christian R. Trott (crtrott@sandia.gov) // // ************************************************************************ //@HEADER */ #include <serial/TestSerial_Category.hpp> #include <TestAtomicOperations_longint.hpp>
[ "pakuber@sandia.gov" ]
pakuber@sandia.gov
f4a898955a90d5ee19a79770b7848f5e0d1deb79
85c7f283d4bb99b08b83d96fd65fc2517326c190
/Classes/Global.h
1e4b18a9cff4728372c9f84904666a3b485f8598
[]
no_license
hwhwd/wuliyouxi
e3a17f5a2e48380cb3010cc824e71b58b2c0d4f5
62d640ade206e98682294b8b8af184f17c37f409
refs/heads/master
2021-01-10T18:23:57.555427
2014-04-15T11:35:23
2014-04-15T11:35:23
null
0
0
null
null
null
null
GB18030
C++
false
false
1,017
h
#ifndef _GLOBAL_H_ #define _GLOBAL_H_ #include "MTGame.h" //单类保存全局都能访问的变量 using namespace cocos2d; class GameScene; class GameLayer; class Hero; class HeroAI; class OptionLayer; class WelcomeScene; //class CCScene; class Global : public Singleton<Global> { public: Global(void); ~Global(void); GameScene *gameScene; //游戏主图层 GameLayer *gameLayer; OptionLayer *optionLayer; //欢迎场景 WelcomeScene *welcomeScene; //勇士 Hero *hero; //怪物数组 Array *_enemys; //子弹的数组 Array *_bullets; //ai HeroAI *_heroAI; //目标地图的层数 int currentLevel; //勇士出现的起始位置 Point heroSpawnTileCoord; //音效开关 bool effect; //是否有选中的目标 bool xuanz; //选中的目标tag; int xuanzTag; //AI状态 AITag heroAITag; Scene* physicScene; //屏幕尺寸 //Size screenSize; //Gamelayer层移动的坐标 //Point yidong; //读取xml的 //Dictionary *chnStrings; }; #define sGlobal Global::instance() #endif
[ "hwhwda@gmail.com" ]
hwhwda@gmail.com
84e00e573d89eab802ae3c2bf9c36c202288b953
2011e7f228da44416ec8b0e1edfde8c3a89fbf19
/FindGymnastDialog.cpp
50f3bd640b365ffde3418e8b0b1333c498113a30
[ "Unlicense" ]
permissive
jochumsson/gym-judge-gui
4e3c8fb7742140323470d4da7563f8ee313b7b0a
a6eb3a25e760aa477add3f749ded82cc35295ea7
refs/heads/master
2021-06-09T20:36:16.376711
2019-11-15T20:07:31
2019-11-15T20:07:31
129,927,332
0
0
null
null
null
null
UTF-8
C++
false
false
2,525
cpp
#include "FindGymnastDialog.h" #include "ui_FindGymnastDialog.h" #include <QKeyEvent> #include <QDebug> FindGymnastDialog::FindGymnastDialog(const IFindGymnastItemModelPtr & find_gymnast_model, MainWindow & main_window) : QDialog(&main_window), ui(new Ui::FindGymnastDialog), m_find_gymnast_model(find_gymnast_model), m_main_window(main_window) { ui->setupUi(this); ui->findGymnastTableView->setModel(m_find_gymnast_model->get_qt_model()); ui->gymnastNameLineEdit->installEventFilter(this); connect(ui->gymnastNameLineEdit, SIGNAL(textChanged(QString)), SLOT(search_key_changed(QString))); connect(ui->buttonBox, SIGNAL(accepted()), SLOT(selection_accept())); } FindGymnastDialog::~FindGymnastDialog() { delete ui; } void FindGymnastDialog::search_key_changed(const QString & search_key) { if (search_key.size() < 3) { // do not refresh befre we have initial search keys return; } m_find_gymnast_model->set_search_name(search_key); ui->findGymnastTableView->resizeColumnsToContents(); if (m_find_gymnast_model->get_qt_model()->rowCount() > 0) { ui->findGymnastTableView->selectRow(0); } } bool FindGymnastDialog::eventFilter(QObject *object, QEvent *event) { if (object == ui->gymnastNameLineEdit && event->type() == QEvent::KeyPress) { QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event); if (keyEvent->key() == Qt::Key_Up) { int current_row = m_find_gymnast_model->move_selection_up(); ui->findGymnastTableView->selectRow(current_row); } else if (keyEvent->key() == Qt::Key_Down) { int current_row = m_find_gymnast_model->move_selection_down(); ui->findGymnastTableView->selectRow(current_row); } } return false; } void FindGymnastDialog::selection_accept() { const QModelIndex & current_index = ui->findGymnastTableView->currentIndex(); FindGymnastItem gymnast_item = m_find_gymnast_model->get_selection(current_index.row()); qDebug() << "Select gymanst: " << gymnast_item.gymanst_name << ", " << gymnast_item.competition_name << ", " << gymnast_item.apparatus << ", " << ((gymnast_item.level) ? *gymnast_item.level : -1); m_main_window.set_selection( gymnast_item.competition_name, gymnast_item.gymnast_id, gymnast_item.apparatus, gymnast_item.level); }
[ "jochumsson@gmail.com" ]
jochumsson@gmail.com
2ebb31e86e39ef5c58bebcf6fd36012b8ea6489e
f8036dae49bfc19f21d52b80313e1539fc92d284
/structural/decorator/framed_print_test.cc
fd6c07fda7ab541ac800b9d48568e0ce1d2963ad
[]
no_license
EazyReal/design-pattern
c24f32e641cf1572c8f9e26644a613f204a0653f
57d9cfa4d5e0349fa9e0091e802fd6997f742ebd
refs/heads/master
2023-01-16T03:41:36.510849
2020-11-27T20:02:38
2020-11-27T20:02:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
558
cc
#include "framed_print.h" #include "photo.h" #include "gtest/gtest.h" #include <memory> TEST(FramedPrintTest, GetDescriptionSucceed) { std::unique_ptr<Photo> photo = std::make_unique<Photo>(); FramedPrint framed_photo = FramedPrint(std::move(photo)); EXPECT_EQ("Framed Photo Print", framed_photo.GetDescription()); } TEST(FramedPrintTest, GetDecoratorNameSucceed) { std::unique_ptr<Photo> photo = std::make_unique<Photo>(); FramedPrint framed_photo = FramedPrint(std::move(photo)); EXPECT_EQ("Framed", framed_photo.GetDecorationAdjective()); }
[ "heron.yang.tw@gmail.com" ]
heron.yang.tw@gmail.com
91fce39499f899677abab142d0686dfafd07e90e
555cd7c382d1dcce63de56505ca28a53621668a6
/Lab_2_sem3_part2/dependencies/LinkedList.h
e58a21c35e91a0c4029a51246e0cc0279833264c
[]
no_license
DestructionCatalyst/Lab_2_sem3_part2
cf04f58604be11924e2bfc53e2ffcfa5f8c9b2e2
89b1d658ee03b59c28b4dd164caca315d2cf9344
refs/heads/master
2023-01-18T20:58:03.715020
2020-12-01T22:50:34
2020-12-01T22:50:34
317,289,336
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,714
h
#pragma once #include <stdexcept> #include "Node.h" #include "ListIterator.h" #include "MutableListIterator.h" namespace sequences { template<class T> class LinkedList { private: typedef sequences::iterators::ListIterator<T> const_iterator; typedef sequences::iterators::MutableListIterator<T> iterator; private: Node<T>* head; Node<T>* tail; int length; public: LinkedList(): head(nullptr), tail(nullptr), length(0) {} LinkedList(T* items, int count): LinkedList() { for (int i = 0; i < count; i++) { Append(items[i]); } } LinkedList(const LinkedList <T>& list): LinkedList() { const_iterator itr = *list.begin_(); for (; itr != *list.end_(); ++itr) { Append(T(*itr)); } } //TODO конструктор с initializer list public: T GetFirst() const { if (length != 0) return head->GetContent(); else throw std::out_of_range("List is empty!"); } T GetLast() const { if (length != 0) return tail->GetContent(); else throw std::out_of_range("List is empty!"); } T Get(int index) const { if ((length != 0) && (index >= 0) && (index < length)) { return **itemIterator_(index); } else throw std::out_of_range("List index is out of bounds"); } //Copies selected part of the list LinkedList<T>* GetSubList(int startIndex, int endIndex) const { if ((startIndex <= endIndex) && (startIndex >= 0) && (endIndex < length)) { LinkedList<T>* subList = new LinkedList<T>(); const_iterator itr = *itemIterator_(startIndex); for (int i = startIndex; i <= endIndex; ++i, ++itr) { subList->Append(T(*itr)); } return subList; } else throw std::out_of_range("List index is out of bounds"); } int GetLength() const { return length; } int IsEmpty() const { return head == nullptr; } public: void Append(T item) { Node<T>* last = new Node<T>(item, nullptr); if (length == 0) { tail = last; head = tail; } else { tail->SetNext(last); tail = last; } ++length; } void Prepend(T item) { head = new Node<T>(item, head); if (length == 0) tail = head; ++length; } void InsertAt(T item, int index) { if (index == 0) Prepend(item); else if (index == length) Append(item); else if ((index > 0) && (index < length)) { iterator itr = itemIterator(index - 1); itr.SetNext(new Node<T>(item, itr.GetNextPointer())); ++length; } else throw std::out_of_range("List index is out of bounds"); } LinkedList<T>* Concat(LinkedList<T>* list) //const? { LinkedList<T>* bigList = new LinkedList(*this); LinkedList<T>* tailList = new LinkedList(*list); bigList->tail->SetNext(tailList->head); bigList->tail = tailList->tail; return bigList; } void Remove(int index) { Node<T>* prev; if (index == 0) { RemoveFirst(); prev = nullptr; } else { prev = head; for (int i = 0; i < index - 1; i++) prev = prev->Next(); Node<T>* toRemove = prev->Next(); prev->SetNext(toRemove->Next()); toRemove->SetNext(nullptr); delete(toRemove); } if (index == length - 1) tail = prev; length--; } void Remove(iterator prev) { Node<T>* toRemove = prev.GetNextPointer(); prev.SetNext(toRemove->Next()); toRemove->SetNext(nullptr); delete(toRemove); if (prev.GetNextPointer() == nullptr) tail = (Node<T>*)prev; length--; } public: void RemoveFirst() { Node<T>* toRemove = head; head = head->Next(); toRemove->SetNext(nullptr); delete(toRemove); } public: void MoveToStart(iterator prev) { bool fixTail = prev.GetNextPointer()->Next() == nullptr; Node<T>* newHead = prev.GetNextPointer(); prev.SetNext(newHead->Next()); newHead->SetNext(head); head = newHead; if (fixTail) tail = (Node<T>*)prev; } public: const_iterator* begin_() const { return new const_iterator(head); } const_iterator* end_() const { if(tail != nullptr) return new const_iterator(tail->Next()); else return new const_iterator(tail); } const_iterator* itemIterator_(int index) const { const_iterator* itr = begin_(); for (int i = 0; i < index; i++) ++(*itr); return itr; } public: iterator begin() { return iterator(head); } iterator end() { if (tail != nullptr) return iterator(tail->Next()); else return iterator(tail); } iterator itemIterator(int index) { iterator itr = begin(); for (int i = 0; i < index; i++) ++itr; return itr; } public: ~LinkedList() { delete(head); } }; }
[ "komza.vlad@ya.ru" ]
komza.vlad@ya.ru
bb5d6d8c432439c22de0be531d1a1e23a800b8ff
75596c702f3ac47aab2439b915ad0a118b9ccbb4
/national-competitions/palindromesNoi22016A3.cpp
e3a79bf57415b10f2915ef6fe00466dd8bbb0eac
[]
no_license
startrunner/informatics-problems-solutions
c0aba4ce5edc6def553e4eb1966bd30122b0ecd0
fbc61a6d510c824d36fbb022395fb03aeb99801e
refs/heads/master
2022-12-23T21:08:15.111684
2020-09-26T13:16:31
2020-09-26T13:16:31
298,817,528
0
0
null
null
null
null
UTF-8
C++
false
false
931
cpp
#include <bits/stdc++.h> using namespace std; string word; bool is_palindrome(int from, int to) { if(from==to)return true; if(from+1==to)return word[from]==word[to]; if(word[from]!=word[to])return false; static vector<vector<int>> memz(word.size(), vector<int>(word.size(), -1)); if(memz[from][to]==-1)memz[from][to]=(int)is_palindrome(from+1, to-1); return memz[from][to]==1; } void solve() { if(is_palindrome(0, word.size()-1)) { puts("0"); return; } vector<int> dp(word.size(), INT_MAX); for(int i=word.size()-1;i>=0;i--) { if(is_palindrome(i, word.size()-1))dp[i]=0; for(int split=i;split<word.size()-1;split++) { if(is_palindrome(i, split))dp[i]=min(dp[i], dp[split+1]+1); } } printf("%d\n", dp[0]); } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>word; solve(); }
[ "alexander_ivanov@mail.com" ]
alexander_ivanov@mail.com
929e4a73354118a85e48ab68ec8ddae1388aeab2
d4240a19b3a97e8c4a39a7925e8046ead6642d19
/2016/Enceladus/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen2620119317.h
27f8709111dd6b6cf48c631b74a11b52e5f20de6
[]
no_license
mgoadric/csci370
05561a24a8a6c3ace4d9ab673b20c03fc40686e9
9ffd5d0e373c8a415cd23799fc29a6f6d83c08af
refs/heads/master
2023-03-17T18:51:45.095212
2023-03-13T19:45:59
2023-03-13T19:45:59
81,270,581
2
3
null
null
null
null
UTF-8
C++
false
false
1,450
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Array struct Il2CppArray; #include "mscorlib_System_ValueType3507792607.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Array/InternalEnumerator`1<UnityEngine.SendMouseEvents/HitInfo> struct InternalEnumerator_1_t2620119317 { public: // System.Array System.Array/InternalEnumerator`1::array Il2CppArray * ___array_0; // System.Int32 System.Array/InternalEnumerator`1::idx int32_t ___idx_1; public: inline static int32_t get_offset_of_array_0() { return static_cast<int32_t>(offsetof(InternalEnumerator_1_t2620119317, ___array_0)); } inline Il2CppArray * get_array_0() const { return ___array_0; } inline Il2CppArray ** get_address_of_array_0() { return &___array_0; } inline void set_array_0(Il2CppArray * value) { ___array_0 = value; Il2CppCodeGenWriteBarrier(&___array_0, value); } inline static int32_t get_offset_of_idx_1() { return static_cast<int32_t>(offsetof(InternalEnumerator_1_t2620119317, ___idx_1)); } inline int32_t get_idx_1() const { return ___idx_1; } inline int32_t* get_address_of_idx_1() { return &___idx_1; } inline void set_idx_1(int32_t value) { ___idx_1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "goadrich@hendrix.edu" ]
goadrich@hendrix.edu
0628c809496e9ab3cb28ffbb52b25e18eea7fef3
9aee810d0d9d72d3dca7920447872216a3af49fe
/ProjectEuler/1-40/11.cpp
b7a6366eb718930aae09cf9acdc129b045e12efa
[]
no_license
pulcherriman/Programming_Contest
37d014a414d473607a11c2edcb25764040edd686
715308628fc19843b8231526ad95dbe0064597a8
refs/heads/master
2023-08-04T00:36:36.540090
2023-07-30T18:31:32
2023-07-30T18:31:32
163,375,122
3
0
null
2023-01-24T11:02:11
2018-12-28T06:33:16
C++
UTF-8
C++
false
false
2,418
cpp
#include <bits/stdc++.h> using namespace std; using ll=long long; using vb=vector<bool>; using vvb=vector<vb>; using vd=vector<double>; using vvd=vector<vd>; using vi=vector<int>; using vvi=vector<vi>; using vl=vector<ll>; using vvl=vector<vl>; using pll=pair<ll,ll>; using tll=tuple<ll,ll>; using tlll=tuple<ll,ll,ll>; using vs=vector<string>; #define all(a) a.begin(),a.end() #define rall(a) a.rbegin(),a.rend() #define rep(i,n) range(i,0,n) #define rrep(i,n) for(ll i=(n)-1;i>=0;i--) #define range(i,a,n) for(ll i=(a);i<(n);i++) #define LINF ((ll)1ll<<60) #define INF ((int)1<<30) #define EPS (1e-9) #define MOD (1000000007ll) #define fcout(a) cout<<setprecision(a)<<fixed #define fs first #define sc second #define PI (3.1415926535897932384) int dx[]={1,0,-1,0,1,-1,-1,1},dy[]={0,1,0,-1,1,1,-1,-1}; template<class T>bool chmax(T&a,T b){if(a<b){a=b; return true;}return false;} template<class T>bool chmin(T&a,T b){if(a>b){a=b; return true;}return false;} template<class S>S sum(vector<S>&a){return accumulate(all(a),S());} template<class S>S max(vector<S>&a){return *max_element(all(a));} template<class S>S min(vector<S>&a){return *min_element(all(a));} ll max(int a,ll b){return max((ll)a,b);} ll max(ll a,int b){return max(a,(ll)b);} int sgn(const double&r){return (r>EPS)-(r<-EPS);} // a>0 : sgn(a)>0 int sgn(const double&a,const double&b){return sgn(a-b);} // b<=c : sgn(b,c)<=0 template<class T>void puta(T&&t){cout<<t<<"\n";} template<class H,class...T>void puta(H&&h,T&&...t){cout<<h<<' ';puta(t...);} template<class S,class T>void tf(bool b,S t,T f){if(b)puta(t);else puta(f);} void YN(bool b){tf(b,"YES","NO");} void Yn(bool b){tf(b,"Yes","No");} void yn(bool b){tf(b,"yes","no");} template<class S,class T>ostream&operator<<(ostream&os,pair<S,T>p){os<<"["<<p.first<<", "<<p.second<<"]";return os;}; template<class S>auto&operator<<(ostream&os,vector<S>t){bool a=1;for(auto s:t){os<<(a?"":" ")<<s;a=0;}return os;} template<class S>auto&operator>>(istream&is,vector<S>&t){for(S&a:t)cin>>a;return is;} /*他のライブラリを入れる場所*/ // 70600674 int main(){ cin.tie(0); ios::sync_with_stdio(false); ll n=20; vvl a(n+6,vl(n+6,0)); rep(i,n)rep(j,n)cin>>a[i+3][j+3]; ll ans=0; range(i,3,n+3)range(j,3,n+3)rep(k,8){ ll val=1; rep(l,4){ val*=a[i+dy[k]*l][j+dx[k]*l]; } chmax(ans,val); } puta(ans); return 0; }
[ "sawaura@sw.it.aoyama.ac.jp" ]
sawaura@sw.it.aoyama.ac.jp
87cc0f7f4b48a4b87ff9ee8a60757731dc69404a
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5744014401732608_1/C++/vout/b.cpp
a14f7852a10db7d6194bc75c916f36ff1e254bc9
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,353
cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int a[64][64]; long long gao(int n) { if (n == 0) return 0; if (n == 1) return 1; return 1 << (n - 2); } long long countWay(int b) { vector<long long> dp(b); dp[0] = 1; for (int i = 1; i < b; ++i) { for (int j = 0; j < i; ++j) { if (a[j][i]) dp[i] += dp[j]; } } return dp[b-1]; } bool test(int b, int m, int step) { if (step == b * b) { if (countWay(b) == m) return true; else return false; } int i = step / b, j = step % b; a[i][j] = 0; if (test(b, m, step + 1)) return true; if (i < j) { a[i][j] = 1; if (test(b, m, step + 1)) return true; } return false; } int main() { int T; cin >> T; for (int re = 1; re <= T; ++re) { long long b, m, n; cin >> b >> m; // cout << test(b, m, 0) << endl; memset(a, 0, sizeof(a)); n = b; cout << "Case #" << re << ": "; while (m > 0) { if (gao(n) < m) { cout << "IMPOSSIBLE" << endl; break; } while (gao(n) > m) { --n; } if (n != b) a[n - 1][b - 1] = 1; for (int i = 0; i < n; ++i) { for (int j = i + 1; j < n; ++j) { a[i][j] = 1; } } m -= gao(n); } if (m == 0) { cout << "POSSIBLE" << endl; for (int i = 0; i < b; ++i) { for (int j = 0; j < b; ++j) { cout << a[i][j]; } cout << endl; } } } }
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
1e38445c192149a42a2883cfff96308d2256fbf0
bd16a338966828c767093713b3f060c8673af8f9
/games/Explor2002/Source/Game/main.cpp
a7d2e8c9242bd06a83c123066488b4dd326b896b
[]
no_license
beemfx/Beem.Media
9aff548da389e7bdeff0f1925aa9a38aa0e09490
a1a87e7c82dd9fb9c6e82a5f5cf3caa0be02ee7f
refs/heads/master
2021-01-17T06:41:03.259771
2020-10-21T14:00:12
2020-10-21T14:00:12
55,818,387
0
0
null
null
null
null
UTF-8
C++
false
false
10,619
cpp
#include <windows.h> #include <ddraw.h> #include <stdio.h> #include "defines.h" #include "ddsetup.h" #include "resource.h" #include "gmapboard.h" #include "bmp.h" #include "tiles.h" #include "tilemgr.h" #include "player.h" #include "directmidi.h" #pragma comment(lib, "../DXLIB/dxguid.lib") #pragma comment(lib, "../DXLIB/ddraw.lib") //#define TEST_RENDERING1 #ifdef TEST_RENDERING1 int global_test_number=0; #endif //Function Prototype long CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); BOOL LoadImages(); BOOL keyboard_handler(WPARAM keystroke); void ShutDownDirectDraw(); void ReleaseSurfaces(); BOOL ProcessFrame(); BOOL ComposeFrame(); BOOL PageFlip(); BOOL RestoreSurfaces(); BOOL InitImages(); BOOL GetImages(); BOOL StartLevel(char *mapname, int x, int y, Direction Face, char *musicfile); //Global variables HWND g_hwnd; DWORD g_dwTransparentColor; int g_nScreenWidth=SCREEN_WIDTH; int g_nScreenHeight=SCREEN_HEIGHT; int g_nColorDepth=COLOR_DEPTH; LPDIRECTDRAW lpDirectDrawObject=NULL; LPDIRECTDRAWSURFACE lpPrimary=NULL; LPDIRECTDRAWSURFACE lpSecondary=NULL; LPDIRECTDRAWSURFACE lpBackground=NULL; BOOL ActiveApp; CGameMap g_cGameBoard; CPlayerObject g_cPlayer(1, 1, NORTH); CDirectMidi MusicPlayer; CBitmapReader background; CBitmapReader defaultImageSet; CBitmapReader defaultDoorSet; CTileSet g_cTileSets[NUM_TILE_SETS]; HWND hWnd; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MSG msg; hWnd=CreateDefaultWindow("Explor", hInstance); if(!hWnd)return FALSE; g_hwnd=hWnd; ShowWindow(hWnd, nShowCmd); SetFocus(hWnd); ShowCursor(FALSE); BOOL ok=InitDirectDraw(hWnd); if(ok)ok=InitImages(); if(!ok){ DestroyWindow(hWnd); return FALSE; } StartLevel("maps\\default.map", 2, 2, SOUTH, "music\\mmcannon.mid"); //StartLevel("maps\\tunnel.map", 2, 2, SOUTH, "music\\bl_btear.mid"); while(TRUE) if(PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)){ if(!GetMessage(&msg, NULL, 0, 0))return msg.wParam; TranslateMessage(&msg); DispatchMessage(&msg); } else if(ActiveApp)ProcessFrame(); else WaitMessage(); return 0; } BOOL StartLevel(char *mapname, int x, int y, Direction Face, char *musicfile){ g_cGameBoard.openMap(mapname); g_cPlayer.SetFace(Face); if((x<=g_cGameBoard.getMapWidth()&&x>0)&&((y<=g_cGameBoard.getMapHeight()&&y>0))) g_cPlayer.SetLocation(x, y); else g_cPlayer.SetLocation(1, 1); g_cGameBoard.SetTileType(20, DOOR); if(musicfile!=NULL){ if(GetFileAttributes(musicfile)){ MusicPlayer.Load(musicfile); MusicPlayer.Play(); } } return TRUE; } /* void PutText(char* text,LPDIRECTDRAWSURFACE surface){ HDC hdc; if(SUCCEEDED(surface->GetDC(&hdc))){ RECT rect; rect.left=10; rect.right=g_nScreenWidth-10; rect.top=10; rect.bottom=g_nScreenHeight-10; DrawText(hdc,text,-1,&rect,0); surface->ReleaseDC(hdc); } } */ BOOL RenderTFrontTile(int index, CTileSet *set){ switch (index){ case 0://Nothing this is the tile behind the player break; case 1: set->draw(lpSecondary, 3, 80, 240); break; case 2: set->draw(lpSecondary, 0, 320, 240); set->draw(lpSecondary, 3, 80, 240); set->draw(lpSecondary, 7, 640-80, 240); break; case 3: set->draw(lpSecondary, 7, 640-80, 240); break; case 4: set->draw(lpSecondary, 11, 0, 240); break; case 5: set->draw(lpSecondary, 0, 0, 240); set->draw(lpSecondary, 4, 200, 240); break; case 6: set->draw(lpSecondary, 0, 320, 240); break; case 7: set->draw(lpSecondary, 8, 640-200, 240); set->draw(lpSecondary, 0, 640, 240); break; case 8: set->draw(lpSecondary, 14, 640, 240); break; case 9: set->draw(lpSecondary, 17, 20, 240); break; case 10: set->draw(lpSecondary, 12, 140, 240); set->draw(lpSecondary, 1, 0, 240); break; case 11: set->draw(lpSecondary, 1, 160, 240); set->draw(lpSecondary, 5, 260, 240); break; case 12: set->draw(lpSecondary, 1, 320, 240); break; case 13: set->draw(lpSecondary, 9, 640-260, 240); set->draw(lpSecondary, 1, 640-160, 240); break; case 14: set->draw(lpSecondary, 15, 640-140, 240); set->draw(lpSecondary, 1, 640, 240); break; case 15: set->draw(lpSecondary, 19, 640-20, 240); break; case 16: set->draw(lpSecondary, 21, 110, 240); set->draw(lpSecondary, 2, 0, 240); break; case 17: set->draw(lpSecondary, 18, 170, 240); set->draw(lpSecondary, 2, 80, 240); break; case 18: set->draw(lpSecondary, 13, 230, 240); set->draw(lpSecondary, 2, 160, 240); break; case 19: set->draw(lpSecondary, 6, 290, 240); set->draw(lpSecondary, 2, 240, 240); break; case 20: set->draw(lpSecondary, 2, 320, 240); break; case 21: set->draw(lpSecondary, 10, 640-290, 240); set->draw(lpSecondary, 2, 640-240, 240); break; case 22: set->draw(lpSecondary, 16, 640-230, 240); set->draw(lpSecondary, 2, 640-160, 240); break; case 23: set->draw(lpSecondary, 20, 640-170, 240); set->draw(lpSecondary, 2, 640-80, 240); break; case 24: set->draw(lpSecondary, 22, 640-110, 240); set->draw(lpSecondary, 2, 640, 240); break; } return TRUE; } int ConvertTileToTileSet(int tile){ switch(tile){ case 10:return 0; case 20:return 1; default:return 0; } } BOOL Render3D(USHORT tfront[25]){ //Remember all rendering needs to be backwards with the closest row last //and the furthest row first int i=0; for(i=24;i>=21;i--){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } for(i=16;i<=19;i++){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } if(tfront[20]>0) RenderTFrontTile(20, &g_cTileSets[ConvertTileToTileSet(tfront[20])]); for(i=15;i>=13;i--){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } for(i=9;i<=11;i++){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } for(i=4;i<=5;i++){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } if(tfront[12]>0) RenderTFrontTile(12, &g_cTileSets[ConvertTileToTileSet(tfront[12])]); for(i=8;i>=7;i--){ if(tfront[i]>0) RenderTFrontTile(i, &g_cTileSets[ConvertTileToTileSet(tfront[i])]); } if(tfront[6]>0) RenderTFrontTile(6, &g_cTileSets[ConvertTileToTileSet(tfront[6])]); if(tfront[1]>0) RenderTFrontTile(1, &g_cTileSets[ConvertTileToTileSet(tfront[1])]); if(tfront[3]>0) RenderTFrontTile(3, &g_cTileSets[ConvertTileToTileSet(tfront[3])]); if(tfront[2]>0) RenderTFrontTile(2, &g_cTileSets[ConvertTileToTileSet(tfront[2])]); return TRUE; } void DrawBackground(){ RECT bgRect; bgRect.top=bgRect.left=0; bgRect.right=g_nScreenWidth; bgRect.bottom=g_nScreenHeight; lpSecondary->Blt(&bgRect, lpBackground, &bgRect,DDBLT_WAIT, NULL); } BOOL ComposeFrame(){ DrawBackground(); USHORT temptfront[TFRONT_SIZE]; g_cGameBoard.generateTFront(temptfront, g_cPlayer.GetFace(), g_cPlayer.GetXLoc(), g_cPlayer.GetYLoc()); g_cPlayer.CopyTFront(temptfront); Render3D(g_cPlayer.m_aTFront); return TRUE; } BOOL ProcessFrame(){ ComposeFrame(); return PageFlip(); } BOOL PageFlip(){ RECT rect; rect.top=rect.left=0; rect.bottom=SCREEN_HEIGHT; rect.right=SCREEN_WIDTH; if(lpPrimary->Flip(NULL,DDFLIP_WAIT)==DDERR_SURFACELOST) return RestoreSurfaces(); /* if(lpPrimary->Blt(&rect, lpSecondary, &rect, DDBLT_WAIT, NULL)==DDERR_SURFACELOST) return RestoreSurfaces(); */ return TRUE; } BOOL RestoreSurfaces(){ BOOL result=TRUE; //if(SUCCEEDED(lpDirectDrawObject->RestoreAllSurfaces()))result=result&&TRUE; if(SUCCEEDED(lpBackground->Restore()))result=result&&background.draw(lpBackground); else return FALSE; if(SUCCEEDED(lpPrimary->Restore()))result=result&&background.draw(lpPrimary); else return FALSE; if(SUCCEEDED(lpSecondary->Restore()))result=result&&background.draw(lpSecondary); else return FALSE; //Remember to restore any other surfaces in the game for(int i=0;i<NUM_TILE_SETS;i++){ if(g_cTileSets[i].Restore())result=result&&TRUE; } result=result&&GetImages(); return result; } long CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ switch(message){ case WM_ACTIVATEAPP: ActiveApp=wParam;break; case WM_CREATE: break; case WM_KEYDOWN: if(keyboard_handler(wParam))DestroyWindow(hWnd); break; case WM_DESTROY: MusicPlayer.Stop(); ShutDownDirectDraw(); ShowCursor(TRUE); PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0L; } BOOL LoadBackgroundFile(){ return background.load("art\\background.bmp"); } BOOL LoadImages(){ if(!LoadBackgroundFile())return FALSE; if(!defaultImageSet.load("art\\set0001.bmp"))return FALSE; if(!defaultDoorSet.load("art\\set0002.bmp"))return FALSE; return TRUE; } BOOL GetBackground(){ return background.draw(lpBackground); } BOOL GetImages(){ if(!GetBackground())return FALSE; if(!g_cTileSets[0].GetImages(&defaultImageSet))return FALSE; if(!g_cTileSets[1].GetImages(&defaultDoorSet))return FALSE; return TRUE; } BOOL InitImages(){ if(!LoadImages())return FALSE; for(int i=0;i<NUM_TILE_SETS;i++){ g_cTileSets[0].InitTileObjects(); g_cTileSets[1].InitTileObjects(); } if(!GetImages())return FALSE; return TRUE; } BOOL keyboard_handler(WPARAM keystroke){ //keyboard handler BOOL result=FALSE; switch(keystroke){ case VK_ESCAPE: result=TRUE; break; #ifdef TEST_RENDERING1 case 'T':global_test_number++; if(global_test_number>24)global_test_number=0;break; #endif //Remember to make it so cannot pass through tiles case VK_UP:{ if(g_cPlayer.m_aTFront[6]>0){ switch(g_cGameBoard.GetTileType(g_cPlayer.m_aTFront[6])){ case WALL:break; case DOOR:g_cPlayer.Move(FORWARD, 2);break; } }else g_cPlayer.Move(FORWARD, 1); }break; case VK_DOWN: if(g_cPlayer.m_aTFront[0]>0){ switch(g_cGameBoard.GetTileType(g_cPlayer.m_aTFront[0])){ case WALL:break; case DOOR:g_cPlayer.Move(BACKWARD, 2);break; } }else g_cPlayer.Move(BACKWARD, 1); break; case VK_LEFT: g_cPlayer.Turn(LEFT); break; case VK_RIGHT: g_cPlayer.Turn(RIGHT); break; } return result; } void ReleaseSurfaces(){ for(int i=0;i<NUM_TILE_SETS;i++){ g_cTileSets[i].Release(); } if(lpSecondary!=NULL) lpSecondary->Release(); if(lpPrimary!=NULL) lpPrimary->Release(); if(lpBackground!=NULL) lpBackground->Release(); } void ShutDownDirectDraw(){ if(lpDirectDrawObject!=NULL){ ReleaseSurfaces(); lpDirectDrawObject->Release(); } }
[ "beemfx@gmail.com" ]
beemfx@gmail.com
7b7b115fcee98287dc40f834b63b8ada91b16ca4
5843569889f1ec992d57021f63bdbdc5080ae6ab
/cube.cc
537e6ef2c4f1e6c31ae8e711f0235d7640e5c155
[ "MIT" ]
permissive
mieszku/GL-example
b7b10cd056c6ab2962013280ab14bc6a2fcc694b
c30678beeca4738c5829d94147eadfbe75bef37d
refs/heads/master
2021-01-20T18:47:37.385780
2016-08-08T12:42:51
2016-08-08T12:42:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,943
cc
/* * Copyright (c) 2016 Mieszko Mazurek */ #include <GL/gl.h> #include "cube.hh" #include "log.h" struct vecf4 { public: vecf4(GLfloat __x, GLfloat __y, GLfloat __z, GLfloat __q) : x(__x), y(__y), z(__z), q(__q) {} private: GLfloat x, y, z, q; }; struct vecf3 { public: vecf3(GLfloat __x, GLfloat __y, GLfloat __z) : x(__x), y(__y), z(__z) {} private: GLfloat x, y, z; }; struct vecf2 { public: vecf2(GLfloat __x, GLfloat __y) : x(__x), y(__y) {} private: GLfloat x, y; }; static vecf3 _S_vertices[] = { { -0.5, -0.5, -0.5 }, { 0.5, -0.5, -0.5 }, { 0.5, 0.5, -0.5 }, { -0.5, 0.5, -0.5 }, { -0.5, -0.5, 0.5 }, { 0.5, -0.5, 0.5 }, { 0.5, 0.5, 0.5 }, { -0.5, 0.5, 0.5 }, }; static vecf4 _S_colors[] = { { 1, 0, 0, 1 }, { 0, 1, 0, 1 }, { 0, 0, 1, 1 }, { 1, 0, 0, 1 }, { 0, 1, 0, 1 }, { 0, 0, 1, 1 }, { 0, 0, 0, 1 }, { 0, 0, 0, 1 }, }; GLubyte _S_indices[] = { 0, 4, 5, 0, 5, 1, 1, 5, 6, 1, 6, 2, 2, 6, 7, 2, 7, 3, 3, 7, 4, 3, 4, 0, 4, 7, 6, 4, 6, 5, 3, 0, 1, 3, 1, 2 }; void cube:: on_attach(glv::renderer* __renderer) { _M_renderer = __renderer; __renderer->set_frame_delay(20); _M_frame_counter = 0; } void cube:: on_render_start() { glClearColor(1, 1, 1, 1); glEnable(GL_CULL_FACE); _M_speed = 10; } void cube:: on_render_stop() { } void cube:: on_draw_frame() { log_d("frame: %d", _M_frame_counter++); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glRotatef(_M_rotate, 0, 1, 0); glRotatef(_M_rotate / 2, 1, 0, 0); glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_COLOR_ARRAY); glFrontFace(GL_CW); glVertexPointer(3, GL_FLOAT, 0, _S_vertices); glColorPointer(4, GL_FLOAT, 0, _S_colors); glDrawElements(GL_TRIANGLES, 36, GL_UNSIGNED_BYTE, _S_indices); _M_rotate += _M_speed; _M_renderer->redraw(); _M_renderer->swap_buffers(); }
[ "mieszko392@yahoo.com" ]
mieszko392@yahoo.com
eaa2d6cc6f296931ec64d7d360eac8248ef59146
08183905a1f7cc4b731a9f45ac89518a998b2539
/Problema Parentesi/parentesi.cpp
4342b7319cbf22eb14627f6b987878934e34861c
[]
no_license
SamuelFinocchioNJP/OII
2aebd7f29b763f22d2f635685503552cd2a212ef
658d20b391c85862a375f5665fa09a049b75f7f9
refs/heads/master
2020-04-06T14:53:23.525018
2020-01-24T15:40:23
2020-01-24T15:40:23
157,558,041
4
0
null
null
null
null
UTF-8
C++
false
false
2,246
cpp
#include <iostream> #include <stack> #define debugno using namespace std; /** Returns true if open bracket, false if closed bracket **/ bool check_bracket ( char b ) { switch ( b ) { case '(': case '{': case '<': case '[': return true; } return false; } bool matching_brackets ( char b1, char b2 ) { if ( b1 == '(' && b2 == ')' ) return true; if ( b1 == '[' && b2 == ']' ) return true; if ( b1 == '{' && b2 == '}' ) return true; if ( b1 == '<' && b2 == '>' ) return true; return false; } int main( void ) { /// Input redirection freopen( "input.txt", "r", stdin ); freopen( "output.txt", "w", stdout ); int brackets_amount; cin >> brackets_amount; stack <char> bracket_stack; /// Brackets string string source; cin >> source; /// Bracket to be checked char current_bracket; bool correct = true; /** Reading and evauating brackets in input **/ for ( int i = 0; i < brackets_amount && correct; i++ ) { current_bracket = source.at( i ); /// If it is an opening bracket, pushes it to the stack if ( check_bracket( current_bracket ) ) { bracket_stack.push( current_bracket ); #ifdef debug cout << "Added " << current_bracket << endl; #endif // debug } else { if ( bracket_stack.empty() ) correct = false; else { char popped = bracket_stack.top(); bracket_stack.pop(); #ifdef debug cout << "Checking " << popped << " " << current_bracket << endl; #endif // debug if ( !matching_brackets( popped, current_bracket ) ) { #ifdef debug cout << "Error " << bracket_stack.top() << " " << current_bracket << endl; #endif // debug bracket_stack.pop(); correct = false; } } } } if ( !correct || !bracket_stack.empty() ) cout << "malformata"; else cout << "corretta"; return 0; }
[ "samuelfinocchioit@gmail.com" ]
samuelfinocchioit@gmail.com
ed85f16937ee99d6a672b365410ffcce01be3e14
6c996ca5146bd307a062f38819acec16d710656f
/workspace/iw8/code_source/src/stream/stream_alloc.cpp
c194c0b25bc3efda84ea3a9befcdac9081b51807
[]
no_license
Omn1z/OpenIW8
d46f095d4d743d1d8657f7e396e6d3cf944aa562
6c01a9548e4d5f7e1185369a62846f2c6f8304ba
refs/heads/main
2023-08-15T22:43:01.627895
2021-10-10T20:44:57
2021-10-10T20:44:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
116,975
cpp
/* ============== Stream_Alloc_FreeImagePart ============== */ unsigned int __fastcall Stream_Alloc_FreeImagePart(const GfxImage *image, unsigned int imagePart, StreamUpdateId updateId) { return ?Stream_Alloc_FreeImagePart@@YAIPEBUGfxImage@@IW4StreamUpdateId@@@Z(image, imagePart, updateId); } /* ============== Stream_Alloc_GetTotalBytesAllocated ============== */ unsigned __int64 __fastcall Stream_Alloc_GetTotalBytesAllocated() { return ?Stream_Alloc_GetTotalBytesAllocated@@YA_KXZ(); } /* ============== StreamAllocTracker::RemovePagesFromPool ============== */ bool __fastcall StreamAllocTracker::RemovePagesFromPool(StreamAllocTracker *this, StreamMemPool pool, unsigned int *pageCount, StreamerMemPageCounts *outRemovedPages) { return ?RemovePagesFromPool@StreamAllocTracker@@AEAA_NW4StreamMemPool@@AEAIAEAUStreamerMemPageCounts@@@Z(this, pool, pageCount, outRemovedPages); } /* ============== StreamAllocTracker::AssertPageCountsCorrect ============== */ void __fastcall StreamAllocTracker::AssertPageCountsCorrect(StreamAllocTracker *this) { ?AssertPageCountsCorrect@StreamAllocTracker@@QEBAXXZ(this); } /* ============== Stream_GenericIsLoaded ============== */ bool __fastcall Stream_GenericIsLoaded(const StreamKey *streamKey) { return ?Stream_GenericIsLoaded@@YA_NPEBUStreamKey@@@Z(streamKey); } /* ============== Stream_Alloc_DetermineOptimalMaxPages ============== */ unsigned int __fastcall Stream_Alloc_DetermineOptimalMaxPages(const void *assetAddress, unsigned int assetSize) { return ?Stream_Alloc_DetermineOptimalMaxPages@@YAIPEBXI@Z(assetAddress, assetSize); } /* ============== Stream_Alloc_GetFreeBytesForPool ============== */ unsigned __int64 __fastcall Stream_Alloc_GetFreeBytesForPool(StreamMemPool pool) { return ?Stream_Alloc_GetFreeBytesForPool@@YA_KW4StreamMemPool@@@Z(pool); } /* ============== Stream_Alloc_Deallocate ============== */ unsigned int __fastcall Stream_Alloc_Deallocate(StreamItemType itemType, int itemPartIndex) { return ?Stream_Alloc_Deallocate@@YAIW4StreamItemType@@H@Z(itemType, itemPartIndex); } /* ============== Stream_Alloc_FreeMesh ============== */ unsigned int __fastcall Stream_Alloc_FreeMesh(XModelSurfs *mesh) { return ?Stream_Alloc_FreeMesh@@YAIPEAUXModelSurfs@@@Z(mesh); } /* ============== Stream_Alloc_DetermineMaxPages ============== */ unsigned int __fastcall Stream_Alloc_DetermineMaxPages(unsigned int assetSize) { return ?Stream_Alloc_DetermineMaxPages@@YAII@Z(assetSize); } /* ============== Stream_Alloc_Allocate ============== */ StreamAllocResult __fastcall Stream_Alloc_Allocate(StreamItemType itemType, int itemPartIndex, StreamDistance distance, StreamerMemLoan *optionalLoan, StreamUpdateId *updateId) { return ?Stream_Alloc_Allocate@@YA?AW4StreamAllocResult@@W4StreamItemType@@HUStreamDistance@@PEAUStreamerMemLoan@@PEAW4StreamUpdateId@@@Z(itemType, itemPartIndex, distance, optionalLoan, updateId); } /* ============== Stream_Alloc_FreeGeneric ============== */ unsigned int __fastcall Stream_Alloc_FreeGeneric(StreamKey *streamKey) { return ?Stream_Alloc_FreeGeneric@@YAIPEAUStreamKey@@@Z(streamKey); } /* ============== Stream_GenericIsSafeToUse ============== */ bool __fastcall Stream_GenericIsSafeToUse(const StreamKey *streamKey) { return ?Stream_GenericIsSafeToUse@@YA_NPEBUStreamKey@@@Z(streamKey); } /* ============== RuntimeEvictor::GetLowestPriorityGPUType ============== */ StreamItemType __fastcall RuntimeEvictor::GetLowestPriorityGPUType(RuntimeEvictor *this, bool backendFlushPossible) { return ?GetLowestPriorityGPUType@RuntimeEvictor@@AEAA?AW4StreamItemType@@_N@Z(this, backendFlushPossible); } /* ============== Stream_MeshIsSafeToUse ============== */ bool __fastcall Stream_MeshIsSafeToUse(const XModelSurfs *mesh) { return ?Stream_MeshIsSafeToUse@@YA_NPEBUXModelSurfs@@@Z(mesh); } /* ============== StreamAllocTracker::TakeFreePagesFromPool ============== */ bool __fastcall StreamAllocTracker::TakeFreePagesFromPool(StreamAllocTracker *this, StreamMemPool pool, unsigned int *pageCount, StreamerMemPageCounts *outTakenPages) { return ?TakeFreePagesFromPool@StreamAllocTracker@@AEAA_NW4StreamMemPool@@AEAIAEAUStreamerMemPageCounts@@@Z(this, pool, pageCount, outTakenPages); } /* ============== Stream_Alloc_GetMemPoolFromStreamMemPool ============== */ Mem_Pool __fastcall Stream_Alloc_GetMemPoolFromStreamMemPool(StreamMemPool pool) { return ?Stream_Alloc_GetMemPoolFromStreamMemPool@@YA?AW4Mem_Pool@@W4StreamMemPool@@@Z(pool); } /* ============== Stream_Alloc_GetTotalBytes ============== */ unsigned __int64 __fastcall Stream_Alloc_GetTotalBytes() { return ?Stream_Alloc_GetTotalBytes@@YA_KXZ(); } /* ============== Stream_Alloc_ReturnPagesFromMemPaged ============== */ void __fastcall Stream_Alloc_ReturnPagesFromMemPaged(const StreamerMemPageCounts *pages, StreamUpdateId updateID) { ?Stream_Alloc_ReturnPagesFromMemPaged@@YAXAEBUStreamerMemPageCounts@@W4StreamUpdateId@@@Z(pages, updateID); } /* ============== Stream_Alloc_GetFreeBytes ============== */ unsigned __int64 __fastcall Stream_Alloc_GetFreeBytes() { return ?Stream_Alloc_GetFreeBytes@@YA_KXZ(); } /* ============== Stream_Alloc_DetermineOptimalMinPages ============== */ unsigned int __fastcall Stream_Alloc_DetermineOptimalMinPages(const void *assetAddress, unsigned int assetSize) { return ?Stream_Alloc_DetermineOptimalMinPages@@YAIPEBXI@Z(assetAddress, assetSize); } /* ============== Stream_Alloc_DetermineMinPages ============== */ unsigned int __fastcall Stream_Alloc_DetermineMinPages(unsigned int assetSize) { return ?Stream_Alloc_DetermineMinPages@@YAII@Z(assetSize); } /* ============== Stream_Alloc_LoadedGeneric ============== */ void __fastcall Stream_Alloc_LoadedGeneric(const StreamKey *streamKey) { ?Stream_Alloc_LoadedGeneric@@YAXPEBUStreamKey@@@Z(streamKey); } /* ============== Stream_Alloc_GetImagePartToFree ============== */ int __fastcall Stream_Alloc_GetImagePartToFree(const StreamSortListFrame *sortList, StreamDistance distSkip, unsigned __int64 wantedInclusiveSize) { return ?Stream_Alloc_GetImagePartToFree@@YAHPEBUStreamSortListFrame@@UStreamDistance@@_K@Z(sortList, distSkip, wantedInclusiveSize); } /* ============== StreamAllocTracker::GiveBackendPages ============== */ void __fastcall StreamAllocTracker::GiveBackendPages(StreamAllocTracker *this) { ?GiveBackendPages@StreamAllocTracker@@QEAAXXZ(this); } /* ============== Stream_Alloc_RequestPagesForMemPaged ============== */ void __fastcall Stream_Alloc_RequestPagesForMemPaged(StreamMemPool pool, unsigned int pageCount, bool backendFlushPossible, StreamUpdateId *updateId, StreamerMemPageCounts *pagesFreed) { ?Stream_Alloc_RequestPagesForMemPaged@@YAXW4StreamMemPool@@I_NPEAW4StreamUpdateId@@AEAUStreamerMemPageCounts@@@Z(pool, pageCount, backendFlushPossible, updateId, pagesFreed); } /* ============== Stream_Alloc_LoadedMesh ============== */ void __fastcall Stream_Alloc_LoadedMesh(const XModelSurfs *mesh) { ?Stream_Alloc_LoadedMesh@@YAXPEBUXModelSurfs@@@Z(mesh); } /* ============== StreamAllocTracker::RemovePages ============== */ void __fastcall StreamAllocTracker::RemovePages(StreamAllocTracker *this, StreamMemPool poolPreference, unsigned int pageCount, StreamerMemPageCounts *outRemovedPages) { ?RemovePages@StreamAllocTracker@@QEAAXW4StreamMemPool@@IAEAUStreamerMemPageCounts@@@Z(this, poolPreference, pageCount, outRemovedPages); } /* ============== Stream_Alloc_GetImageLoadedBytes ============== */ unsigned __int64 __fastcall Stream_Alloc_GetImageLoadedBytes(const GfxImage *image) { return ?Stream_Alloc_GetImageLoadedBytes@@YA_KPEBUGfxImage@@@Z(image); } /* ============== Stream_MeshIsLoaded ============== */ bool __fastcall Stream_MeshIsLoaded(const XModelSurfs *mesh) { return ?Stream_MeshIsLoaded@@YA_NPEBUXModelSurfs@@@Z(mesh); } /* ============== Stream_Alloc_GetImageLoadedPartCount ============== */ unsigned int __fastcall Stream_Alloc_GetImageLoadedPartCount(const GfxImage *image) { return ?Stream_Alloc_GetImageLoadedPartCount@@YAIPEBUGfxImage@@@Z(image); } /* ============== Stream_Alloc_GetItemMemPool ============== */ StreamMemPool __fastcall Stream_Alloc_GetItemMemPool(StreamItemType itemType, int assetIndex) { return ?Stream_Alloc_GetItemMemPool@@YA?AW4StreamMemPool@@W4StreamItemType@@H@Z(itemType, assetIndex); } /* ============== Stream_Alloc_GetTotalBytesForPool ============== */ unsigned __int64 __fastcall Stream_Alloc_GetTotalBytesForPool(StreamMemPool pool) { return ?Stream_Alloc_GetTotalBytesForPool@@YA_KW4StreamMemPool@@@Z(pool); } /* ============== Stream_Alloc_GetBytesAllocated ============== */ unsigned __int64 __fastcall Stream_Alloc_GetBytesAllocated(StreamItemType type) { return ?Stream_Alloc_GetBytesAllocated@@YA_KW4StreamItemType@@@Z(type); } /* ============== StreamAllocTracker::AddPages ============== */ void __fastcall StreamAllocTracker::AddPages(StreamAllocTracker *this, const StreamerMemPageCounts *pages, StreamUpdateId updateID) { ?AddPages@StreamAllocTracker@@QEAAXAEBUStreamerMemPageCounts@@W4StreamUpdateId@@@Z(this, pages, updateID); } /* ============== StreamAllocTracker::TakeFreePages ============== */ void __fastcall StreamAllocTracker::TakeFreePages(StreamAllocTracker *this, StreamMemPool poolPreference, unsigned int pageCount, StreamerMemPageCounts *outTakenPages) { ?TakeFreePages@StreamAllocTracker@@QEAAXW4StreamMemPool@@IAEAUStreamerMemPageCounts@@@Z(this, poolPreference, pageCount, outTakenPages); } /* ============== Stream_Alloc_Dump ============== */ void Stream_Alloc_Dump(void) { ?Stream_Alloc_Dump@@YAXXZ(); } /* ============== Stream_Alloc_LoadedImage ============== */ void __fastcall Stream_Alloc_LoadedImage(const GfxImage *image, unsigned int imagePart) { ?Stream_Alloc_LoadedImage@@YAXPEBUGfxImage@@I@Z(image, imagePart); } /* ============== Stream_Alloc_GetItemPartMemPool ============== */ StreamMemPool __fastcall Stream_Alloc_GetItemPartMemPool(StreamItemType itemType, int itemPartIndex) { return ?Stream_Alloc_GetItemPartMemPool@@YA?AW4StreamMemPool@@W4StreamItemType@@H@Z(itemType, itemPartIndex); } /* ============== Stream_Alloc_FreeImage ============== */ unsigned int __fastcall Stream_Alloc_FreeImage(const GfxImage *image, unsigned int imagePart) { return ?Stream_Alloc_FreeImage@@YAIPEBUGfxImage@@I@Z(image, imagePart); } /* ============== Stream_Alloc_GetMemInfo ============== */ void __fastcall Stream_Alloc_GetMemInfo(StreamMemInfo *memInfo) { ?Stream_Alloc_GetMemInfo@@YAXPEAUStreamMemInfo@@@Z(memInfo); } /* ============== RuntimeEvictor::GetItemOfType ============== */ bool __fastcall RuntimeEvictor::GetItemOfType(RuntimeEvictor *this, StreamMemPool poolPreference, unsigned __int64 sizeToFree, StreamItemType typeToFree, int *itemIndex) { return ?GetItemOfType@RuntimeEvictor@@QEAA_NW4StreamMemPool@@_KW4StreamItemType@@AEAH@Z(this, poolPreference, sizeToFree, typeToFree, itemIndex); } /* ============== Stream_Alloc_GetStreamMemPoolFromMemPool ============== */ StreamMemPool __fastcall Stream_Alloc_GetStreamMemPoolFromMemPool(Mem_Pool pool) { return ?Stream_Alloc_GetStreamMemPoolFromMemPool@@YA?AW4StreamMemPool@@W4Mem_Pool@@@Z(pool); } /* ============== Stream_Alloc_InitialHandoffFromMemPaged ============== */ void __fastcall Stream_Alloc_InitialHandoffFromMemPaged(const StreamerMemPageCounts *pageCounts) { ?Stream_Alloc_InitialHandoffFromMemPaged@@YAXAEBUStreamerMemPageCounts@@@Z(pageCounts); } /* ============== AggressiveLevelInitEvictor::GetNextImageToFree ============== */ int __fastcall AggressiveLevelInitEvictor::GetNextImageToFree(AggressiveLevelInitEvictor *this) { return ?GetNextImageToFree@AggressiveLevelInitEvictor@@AEAAHXZ(this); } /* ============== Stream_Alloc_GetImagePartToFree ============== */ int __fastcall Stream_Alloc_GetImagePartToFree(const StreamSortListFrame *sortList, StreamDistance distSkip) { return ?Stream_Alloc_GetImagePartToFree@@YAHPEBUStreamSortListFrame@@UStreamDistance@@@Z(sortList, distSkip); } /* ============== StreamAllocTracker::AddPages ============== */ void StreamAllocTracker::AddPages(StreamAllocTracker *this, const StreamerMemPageCounts *pages, StreamUpdateId updateID) { const StreamerMemPageCounts *v4; int v6; int v7; const StreamerMemPageCounts *v8; __int64 v9; __int64 v10; __int64 v11; FastCriticalSectionScopeWrite v12; v4 = pages; v6 = 0; v7 = 0; v8 = pages; v9 = 0i64; v10 = 2i64; if ( v8 > &v8[1] ) v10 = 0i64; if ( v8 <= &v8[1] ) { do { v7 += v8->pages[0]; v8 = (const StreamerMemPageCounts *)((char *)v8 + 4); ++v9; } while ( v9 != v10 ); if ( v7 ) { v12.cs = &this->mCS; if ( !this && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 228, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs", -2i64) ) __debugbreak(); Sys_LockWrite(&this->mCS); this->mFreePages.pages[0] += v4->pages[0]; this->mFreePages.pages[1] += v4->pages[1]; v11 = 0i64; do { v6 += v4->pages[0]; v4 = (const StreamerMemPageCounts *)((char *)v4 + 4); ++v11; } while ( v11 != v10 ); this->mTotalPages += v6; StreamAllocTracker::AssertPageCountsCorrect(this); if ( this->mFreePagesUpdateID > (unsigned __int64)updateID ) updateID = this->mFreePagesUpdateID; this->mFreePagesUpdateID = updateID; FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v12); } } } /* ============== StreamAllocTracker::AssertPageCountsCorrect ============== */ void StreamAllocTracker::AssertPageCountsCorrect(StreamAllocTracker *this) { int v1; StreamerMemPageCounts *p_mFreePages; unsigned int *p_mTotalPages; __int64 v4; unsigned int v5; StreamerMemPageCounts *v6; __int64 v7; unsigned int mTotalPages; __int64 v9; int v10; unsigned int v11; v1 = 0; p_mFreePages = &this->mFreePages; p_mTotalPages = &this->mTotalPages; v4 = 2i64; v5 = 0; v6 = &this->mFreePages; v7 = 0i64; if ( &this->mFreePages > (StreamerMemPageCounts *)&this->mTotalPages ) v4 = 0i64; if ( &this->mFreePages <= (StreamerMemPageCounts *)&this->mTotalPages ) { do { v5 += v6->pages[0]; v6 = (StreamerMemPageCounts *)((char *)v6 + 4); ++v7; } while ( v7 != v4 ); } mTotalPages = this->mTotalPages; if ( v5 > mTotalPages ) { v9 = 0i64; if ( p_mFreePages <= (StreamerMemPageCounts *)p_mTotalPages ) { do { v1 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); ++v9; } while ( v9 != v4 ); } v11 = mTotalPages; v10 = v1; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 75, ASSERT_TYPE_ASSERT, "( mFreePages.TotalPages() ) <= ( mTotalPages )", "%s <= %s\n\t%u, %u", "mFreePages.TotalPages()", "mTotalPages", v10, v11) ) __debugbreak(); } } /* ============== RuntimeEvictor::GetItemOfType ============== */ _BOOL8 RuntimeEvictor::GetItemOfType(RuntimeEvictor *this, StreamMemPool poolPreference, unsigned __int64 sizeToFree, StreamItemType typeToFree, int *itemIndex) { int *v9; int v10; const StreamSortListFrame *v11; StreamSortList<37888> *p_genericSortList; int v13; const StreamSortListFrame *mSortList; StreamSortList<45056> *p_meshSortList; int v16; bool v17; int v18; StreamSortList<37888> *v19; FastCriticalSection *p_mCS; StreamSortList<45056> *v21; FastCriticalSection *v22; StreamSortList<327680> *p_imageSortList; FastCriticalSection *v24; ScopedCriticalSection v26; int v27; if ( typeToFree == STREAM_ITEM_COUNT && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1020, ASSERT_TYPE_ASSERT, "(typeToFree != STREAM_ITEM_INVALID)", (const char *)&queryFormat, "typeToFree != STREAM_ITEM_INVALID", -2i64) ) __debugbreak(); v9 = itemIndex; *itemIndex = -1; v10 = (unsigned __int8)typeToFree; if ( typeToFree ) { if ( typeToFree == STREAM_ITEM_MESH ) { mSortList = this->mSortList; v27 = -1; ScopedCriticalSection::ScopedCriticalSection(&v26, CRITSECT_STREAM_MESH_FREEABLE, SCOPED_CRITSECT_NORMAL); p_meshSortList = &mSortList->meshSortList; itemIndex = &v27; if ( p_meshSortList == (StreamSortList<45056> *)-366096i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(&p_meshSortList->mCS); StreamSortList_45056_::IterateRange__lambda_f5e9dd81017b4f7a0f229b14c93ff5c5___((int)p_meshSortList, 0, (const Stream_Alloc_GetMeshToFree::__l2::<lambda_f5e9dd81017b4f7a0f229b14c93ff5c5> *)(unsigned int)(p_meshSortList->mSortedLeft - 1)); Sys_UnlockRead(&p_meshSortList->mCS); v16 = v27; ScopedCriticalSection::~ScopedCriticalSection(&v26); *v9 = v16; } else if ( typeToFree == STREAM_ITEM_GENERIC ) { LODWORD(itemIndex) = poolPreference; v11 = this->mSortList; v27 = -1; ScopedCriticalSection::ScopedCriticalSection(&v26, CRITSECT_STREAM_GENERIC_FREEABLE, SCOPED_CRITSECT_NORMAL); p_genericSortList = &v11->genericSortList; if ( p_genericSortList == (StreamSortList<37888> *)-307856i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(&p_genericSortList->mCS); StreamSortList_37888_::IterateRange__lambda_c5d929f1b80e7d92767221fd115eb702___((int)p_genericSortList, 0, (const Stream_Alloc_GetGenericToFree::__l2::<lambda_c5d929f1b80e7d92767221fd115eb702> *)(unsigned int)(p_genericSortList->mSortedLeft - 1)); Sys_UnlockRead(&p_genericSortList->mCS); v13 = v27; ScopedCriticalSection::~ScopedCriticalSection(&v26); *v9 = v13; } else if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1036, ASSERT_TYPE_ASSERT, (const char *)&queryFormat.fmt + 3, "unreachable") ) { __debugbreak(); } } else { *v9 = Stream_Alloc_GetImagePartToFree(this->mSortList, (StreamDistance)this->mDistance.mValue, sizeToFree); } v17 = 0; if ( *v9 == -1 ) { if ( v10 ) { v18 = v10 - 1; if ( v18 ) { if ( v18 == 1 ) { v19 = &this->mSortList->genericSortList; Sys_ProfBeginNamedEvent(0xFF808080, "StreamSortList<37888>::PartialSortLeft"); p_mCS = &v19->mCS; itemIndex = (int *)&v19->mCS.readCount; if ( v19 == (StreamSortList<37888> *)-307856i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(&v19->mCS); v17 = StreamSortList<37888>::PartialSort(v19, v19->mSortedLeft); Sys_UnlockRead(p_mCS); Sys_ProfEndNamedEvent(); } } else { v21 = &this->mSortList->meshSortList; Sys_ProfBeginNamedEvent(0xFF808080, "StreamSortList<45056>::PartialSortLeft"); v22 = &v21->mCS; itemIndex = (int *)&v21->mCS.readCount; if ( v21 == (StreamSortList<45056> *)-366096i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(&v21->mCS); v17 = StreamSortList<45056>::PartialSort(v21, v21->mSortedLeft); Sys_UnlockRead(v22); Sys_ProfEndNamedEvent(); } } else { p_imageSortList = &this->mSortList->imageSortList; Sys_ProfBeginNamedEvent(0xFF808080, "StreamSortList<327680>::PartialSortLeft"); v24 = &p_imageSortList->mCS; itemIndex = (int *)&p_imageSortList->mCS.readCount; if ( p_imageSortList == (StreamSortList<327680> *)-2662416i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(&p_imageSortList->mCS); v17 = StreamSortList<327680>::PartialSort(p_imageSortList, p_imageSortList->mSortedLeft); Sys_UnlockRead(v24); Sys_ProfEndNamedEvent(); } } return !v17; } /* ============== RuntimeEvictor::GetLowestPriorityGPUType ============== */ char RuntimeEvictor::GetLowestPriorityGPUType(RuntimeEvictor *this, bool backendFlushPossible) { unsigned __int64 v4; int v5; unsigned int mFailedToFree; __int16 v7; char v8; if ( backendFlushPossible ) { if ( (this->mFailedToFree & 1) != 0 ) return 3; else return 0; } else { LODWORD(v4) = `RuntimeEvictor::GetLowestPriorityGPUType'::`10'::lastType; v5 = 0; v7 = 256; v8 = 2; while ( 1 ) { v4 = ((int)v4 + 1) % 3ui64; `RuntimeEvictor::GetLowestPriorityGPUType'::`10'::lastType = v4; mFailedToFree = this->mFailedToFree; if ( !_bittest((const int *)&mFailedToFree, *((unsigned __int8 *)&v7 + (int)v4)) ) break; if ( (unsigned int)++v5 >= 3 ) return 3; } return *((_BYTE *)&v7 + (int)v4); } } /* ============== AggressiveLevelInitEvictor::GetNextImageToFree ============== */ int AggressiveLevelInitEvictor::GetNextImageToFree(AggressiveLevelInitEvictor *this) { unsigned int mImageIndex; unsigned int v3; StreamFrontendGlob *v4; unsigned int v5; unsigned int *mStaticForced; int v7; __int64 v8; int v9; StreamFrontendGlob *v10; unsigned int *mUse; StreamFrontendGlob *v12; unsigned int *mAlloc; StreamFrontendGlob *v14; unsigned int *mLoading; StreamFrontendGlob *v16; unsigned int *mPriming; const dvar_t *v18; unsigned int flags; bool v20; const GfxImage *GfxImageAtIndex; unsigned int v23; unsigned int v24; unsigned int v25; __int64 v26; __int64 v27; if ( this->mImagePart < 0 ) return -1; mImageIndex = this->mImageIndex; v3 = 0; while ( mImageIndex >= 0x14000 ) { LABEL_58: v20 = --this->mImagePart < 0; mImageIndex = 0; this->mImageIndex = 0; if ( v20 ) return -1; } while ( 1 ) { v4 = streamFrontendGlob; v5 = this->mImagePart + 4 * mImageIndex; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v27) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v26) = this->mImagePart + 4 * mImageIndex; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 589, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v26, v27) ) __debugbreak(); } mStaticForced = v4->imageBits.mStaticForced; if ( !mStaticForced && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v7 = 1 << (v5 & 0x1F); v8 = (__int64)(int)v5 >> 5; v9 = v7 & mStaticForced[v8]; if ( this->mAllowForced || !v9 ) { v10 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v27) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v26) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v26, v27) ) __debugbreak(); } mUse = v10->imageBits.mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v7 & mUse[v8]) != 0 ) { v12 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v27) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v26) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v26, v27) ) __debugbreak(); } mAlloc = v12->imageBits.mAlloc; if ( !mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v7 & mAlloc[v8]) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1243, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex ))", (const char *)&queryFormat, "streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex )") ) __debugbreak(); v14 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v27) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v26) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 288, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v26, v27) ) __debugbreak(); } mLoading = v14->imageBits.mLoading; if ( !mLoading && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v7 & mLoading[v8]) == 0 ) { v16 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v27) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v26) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 554, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v26, v27) ) __debugbreak(); } mPriming = v16->imageBits.mPriming; if ( !mPriming && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v7 & mPriming[v8]) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1249, ASSERT_TYPE_ASSERT, "(!streamFrontendGlob->imageBits.CheckPriming( imagePartIndex ))", (const char *)&queryFormat, "!streamFrontendGlob->imageBits.CheckPriming( imagePartIndex )") ) __debugbreak(); if ( this->mImagePart >= 3 ) break; v18 = DCONST_DVARBOOL_stream_concurrentImagePartLoading; if ( !DCONST_DVARBOOL_stream_concurrentImagePartLoading && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\universal\\dvar.h", 692, ASSERT_TYPE_ASSERT, "(dvar)", "%s\n\tDvar %s accessed after deregistration", "dvar", "stream_concurrentImagePartLoading") ) __debugbreak(); if ( g_checkServerThread && Sys_IsAnyServerThreadWork() ) { flags = v18->flags; if ( (flags & 0x81488) != 0 && (flags & 0x40000) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\universal\\dvar.h", 612, ASSERT_TYPE_ASSERT, "(!g_checkServerThread || !Sys_IsAnyServerThreadWork() || !( dvar->flags & (((1 << 10) | (1 << 3) | (1 << 7) | ( 1 << 19 )) | (1 << 12)) ) || ( dvar->flags & ( 1 << 18 ) ))", "%s\n\tAccessing dvar '%s' from server context when we were not expected to, this can cause performance issues all the way to complete deadlocks.", "!g_checkServerThread || !Sys_IsAnyServerThreadWork() || !( dvar->flags & SV_DVAR_LOAD_MODIFIED_MASK ) || ( dvar->flags & DVAR_DCONST )", v18->name) ) __debugbreak(); } if ( v18->current.enabled || !StreamableBits::CheckAlloc(&streamFrontendGlob->imageBits, v5 + 1) && !StreamableBits::CheckLoading(&streamFrontendGlob->imageBits, v5 + 1) ) break; } } } mImageIndex = this->mImageIndex + 1; this->mImageIndex = mImageIndex; if ( mImageIndex >= 0x14000 ) goto LABEL_58; } GfxImageAtIndex = DB_GetGfxImageAtIndex(this->mImageIndex); v23 = Image_ExclusivePartSize(GfxImageAtIndex, this->mImagePart); v24 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(v23 + 0xFFFF) >> 16) + 1; if ( v23 >= 0x10000 ) { v25 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(v23 + 0xFFFF) >> 16); if ( v25 > 2 ) { v3 = v25 - 2; if ( v24 < v25 - 2 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1269, ASSERT_TYPE_ASSERT, "( maxPages ) >= ( minPages )", "%s >= %s\n\t%u, %u", "maxPages", "minPages", v24, v25 - 2) ) __debugbreak(); } } this->mMaxPotentialBackendPages += v24 - v3; if ( v9 ) streamFrontendGlob->forcedState = EvictedForMemPaged; ++this->mImageIndex; return truncate_cast<int,unsigned int>(v5); } /* ============== StreamAllocTracker::GiveBackendPages ============== */ void StreamAllocTracker::GiveBackendPages(StreamAllocTracker *this) { int v2; unsigned __int64 v3; __int64 v4; _DWORD *v5; FastCriticalSectionScopeWrite v6; __int64 v7; _QWORD v8[2]; v7 = -2i64; v8[0] = 0i64; v2 = 0; v3 = 0i64; v4 = 2i64; do { *((_DWORD *)v8 + (unsigned int)v3) += Stream_BackendQueue_GetPageAdjustment((StreamMemPool)v3); ++v3; } while ( v3 < 2 ); v5 = v8; do { v2 += *v5++; --v4; } while ( v4 ); if ( v2 ) { v6.cs = &this->mCS; if ( !this && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 228, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockWrite(&this->mCS); this->mFreePages.pages[0] += LODWORD(v8[0]); this->mFreePages.pages[1] += HIDWORD(v8[0]); StreamAllocTracker::AssertPageCountsCorrect(this); FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v6); } } /* ============== StreamAllocTracker::RemovePages ============== */ void StreamAllocTracker::RemovePages(StreamAllocTracker *this, StreamMemPool poolPreference, unsigned int pageCount, StreamerMemPageCounts *outRemovedPages) { __int64 v5; __int64 v7; __int64 v8; unsigned int v9; __int64 v10; unsigned int v11; FastCriticalSectionScopeWrite v12; unsigned int pageCounta; pageCounta = pageCount; v5 = (unsigned int)poolPreference; *outRemovedPages = 0i64; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 174, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); v12.cs = &this->mCS; if ( !this && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 228, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockWrite(&this->mCS); if ( !StreamAllocTracker::RemovePagesFromPool(this, (StreamMemPool)v5, &pageCounta, outRemovedPages) ) { v7 = 0i64; v8 = v5; v9 = pageCounta; while ( 1 ) { if ( v7 != v8 ) { StreamAllocTracker::AssertPageCountsCorrect(this); v10 = (unsigned int)v7; v11 = this->mFreePages.pages[v10]; if ( v9 <= v11 ) v11 = v9; v9 -= v11; this->mTotalPages -= v11; StreamerMemPageCounts::RemovePages(&this->mFreePages, (StreamMemPool)v7, v11); outRemovedPages->pages[v10] += v11; StreamAllocTracker::AssertPageCountsCorrect(this); if ( !v9 ) break; } if ( (unsigned __int64)++v7 >= 2 ) { if ( v9 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 192, ASSERT_TYPE_ASSERT, "( pageCount ) == ( 0 )", "%s == %s\n\t%u, %u", "pageCount", "0", v9, 0i64) ) __debugbreak(); break; } } } FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v12); } /* ============== StreamAllocTracker::RemovePagesFromPool ============== */ bool StreamAllocTracker::RemovePagesFromPool(StreamAllocTracker *this, StreamMemPool pool, unsigned int *pageCount, StreamerMemPageCounts *outRemovedPages) { __int64 v5; unsigned int v8; __int64 v10; int v11; __int64 v12; int v13; v5 = (unsigned int)pool; StreamAllocTracker::AssertPageCountsCorrect(this); if ( (unsigned int)v5 >= 2 ) { v13 = 2; v11 = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\streamer_mem_loan.h", 32, ASSERT_TYPE_ASSERT, "(unsigned)( pool ) < (unsigned)( ( sizeof( *array_counter( pages ) ) + 0 ) )", "pool doesn't index ARRAY_COUNT( pages )\n\t%i not in [0, %i)", v11, v13) ) __debugbreak(); } v8 = *pageCount; if ( *pageCount > this->mFreePages.pages[v5] ) v8 = this->mFreePages.pages[v5]; *pageCount -= v8; this->mTotalPages -= v8; StreamerMemPageCounts::RemovePages(&this->mFreePages, (StreamMemPool)v5, v8); if ( (unsigned int)v5 >= 2 ) { LODWORD(v12) = 2; LODWORD(v10) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\streamer_mem_loan.h", 48, ASSERT_TYPE_ASSERT, "(unsigned)( pool ) < (unsigned)( ( sizeof( *array_counter( pages ) ) + 0 ) )", "pool doesn't index ARRAY_COUNT( pages )\n\t%i not in [0, %i)", v10, v12) ) __debugbreak(); } outRemovedPages->pages[v5] += v8; StreamAllocTracker::AssertPageCountsCorrect(this); return *pageCount == 0; } /* ============== Stream_Alloc_Allocate ============== */ StreamAllocResult Stream_Alloc_Allocate(StreamItemType itemType, int itemPartIndex, StreamDistance distance, StreamerMemLoan *optionalLoan, StreamUpdateId *updateId) { StreamKey *StreamKeyAtIndex; streamer_handle_t v10; XModelSurfs *XModelSurfsAtIndex; streamer_handle_t v12; unsigned int v13; GfxImage *GfxImageAtIndex; int v15; StreamFrontendGlob *v16; signed int v17; unsigned int *mAlloc; unsigned int v19; unsigned __int64 data; unsigned int v21; unsigned int v22; StreamerMemLoan *optionalLoana; *updateId = 0i64; if ( itemType ) { if ( itemType == STREAM_ITEM_MESH ) { XModelSurfsAtIndex = DB_GetXModelSurfsAtIndex(itemPartIndex); v12.data = Stream_AddressSpace_MeshHandle(XModelSurfsAtIndex).data; return Stream_Alloc_AllocateInternal(STREAM_ITEM_MESH, itemPartIndex, v12, XModelSurfsAtIndex->shared->dataSize, 0, distance, optionalLoan, &streamFrontendGlob->meshBits, updateId); } else if ( itemType == STREAM_ITEM_GENERIC ) { StreamKeyAtIndex = DB_GetStreamKeyAtIndex(itemPartIndex); v10.data = Stream_AddressSpace_GenericHandle(StreamKeyAtIndex).data; return Stream_Alloc_AllocateInternal(STREAM_ITEM_GENERIC, itemPartIndex, v10, StreamKeyAtIndex->dataSize, 0, distance, optionalLoan, &streamFrontendGlob->genericBits, updateId); } else { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1721, ASSERT_TYPE_ASSERT, "(0)", (const char *)&queryFormat, "0") ) __debugbreak(); return 1; } } else { v13 = truncate_cast<unsigned int,int>(itemPartIndex); GfxImageAtIndex = DB_GetGfxImageAtIndex(v13 >> 2); v15 = v13 & 3; if ( (v13 & 3) != 0 && !Dvar_GetBool_Internal_DebugName(DCONST_DVARBOOL_stream_concurrentImagePartLoading, "stream_concurrentImagePartLoading") ) { v16 = streamFrontendGlob; v17 = v13 - 1; if ( v13 - 1 >= streamFrontendGlob->imageBits.mBitCount && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v13 - 1, streamFrontendGlob->imageBits.mBitCount) ) __debugbreak(); mAlloc = v16->imageBits.mAlloc; if ( !mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v19 = mAlloc[(__int64)v17 >> 5]; if ( !_bittest((const int *)&v19, v17 & 0x1F) ) { LODWORD(optionalLoana) = v15 - 1; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1674, ASSERT_TYPE_ASSERT, "( streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex - 1 ) )", "%s part %u not allocated", GfxImageAtIndex->name, optionalLoana) ) __debugbreak(); } } data = Stream_AddressSpace_ImageHandle(GfxImageAtIndex).data; v21 = Image_ExclusivePartSize(GfxImageAtIndex, v15); v22 = Image_PartOffset(GfxImageAtIndex, v15); return Stream_Alloc_AllocateInternal(STREAM_ITEM_IMAGE, v13, (streamer_handle_t)data, v21, v22, distance, optionalLoan, &streamFrontendGlob->imageBits, updateId); } } /* ============== Stream_Alloc_AllocateInternal ============== */ char Stream_Alloc_AllocateInternal(StreamItemType itemType, unsigned int itemPartIndex, streamer_handle_t assetHandle, unsigned int dataSize, unsigned int dataOffset, StreamDistance distance, StreamerMemLoan *optionalLoan, StreamableBits *bits, StreamUpdateId *updateId) { __int64 v10; __int64 v11; unsigned int *mAlloc; int v13; bool v14; unsigned __int64 v15; unsigned int v16; unsigned int v17; unsigned int v18; unsigned int v19; unsigned int *v20; unsigned int v21; StreamUpdateId *v22; StreamUpdateId *outUpdateId; __int64 v25; StreamMemPool pool; streamer_handle_t handle; unsigned int v28; StreamUpdateId *v29; StreamerMemLoan *v30; unsigned __int64 v31; StreamMapCmdData map; v30 = optionalLoan; v29 = updateId; v10 = dataSize; v11 = (int)itemPartIndex; handle.data = assetHandle.data; v28 = dataOffset; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1576, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); pool = Stream_Alloc_GetItemPartMemPool(itemType, v11); if ( (unsigned int)v11 >= bits->mBitCount && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v11, bits->mBitCount) ) __debugbreak(); mAlloc = bits->mAlloc; if ( !bits->mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v13 = 1 << (v11 & 0x1F); v31 = 4 * (v11 >> 5); if ( (v13 & mAlloc[v31 / 4]) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1580, ASSERT_TYPE_ASSERT, "(!bits.CheckAlloc( itemPartIndex ))", (const char *)&queryFormat, "!bits.CheckAlloc( itemPartIndex )") ) __debugbreak(); v14 = Stream_Defrag_LockHandle(handle); if ( v14 ) { v15 = (unsigned __int64)&Stream_AddressSpace_ResolveHandle(&handle)[dataOffset]; v16 = truncate_cast<unsigned int,unsigned __int64>(((v15 + (int)v10 + 0xFFFFi64) & 0xFFFFFFFFFFFF0000ui64) - (v15 & 0xFFFFFFFFFFFF0000ui64)) >> 16; if ( !v16 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1590, ASSERT_TYPE_ASSERT, "( maxPageCount ) >= ( 1 )", "%s >= %s\n\t%u, %u", "maxPageCount", "1", 0, 1) ) __debugbreak(); v17 = Stream_Alloc_DetermineOptimalMinPages((const void *)v15, v10); } else { v18 = Stream_Alloc_DetermineMaxPagesForAllocate(itemType, v11, v10, bits); v16 = v18; if ( v18 < 2 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1597, ASSERT_TYPE_ASSERT, "( maxPageCount ) >= ( 2 )", "%s >= %s\n\t%u, %u", "maxPageCount", "2", v18, 2) ) __debugbreak(); if ( (unsigned int)v10 < 0x10000 || (v19 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(unsigned int)(v10 + 0xFFFF) >> 16), v19 <= 2) ) v17 = 0; else v17 = v19 - 2; } map.pagesReserved = 0i64; if ( Stream_Alloc_TakePagesForAllocate(pool, v16, distance, v30, &map.pagesReserved, v29) ) { if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 315, ASSERT_TYPE_ASSERT, "(Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ))", (const char *)&queryFormat, "Sys_InCriticalSection( CRITSECT_STREAM_ALLOC )") ) __debugbreak(); if ( (unsigned int)v11 >= bits->mBitCount ) { LODWORD(v25) = bits->mBitCount; LODWORD(outUpdateId) = v11; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 316, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", outUpdateId, v25) ) __debugbreak(); } v20 = bits->mAlloc; if ( !bits->mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 20, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v20[v31 / 4] |= v13; v21 = v28; map.baseAddrHandle = handle; if ( (v28 & 0xF) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1626, ASSERT_TYPE_ASSERT, "(dataOffset % MEM_SUB_PAGE_SIZE == 0)", (const char *)&queryFormat, "dataOffset % MEM_SUB_PAGE_SIZE == 0") ) __debugbreak(); if ( (v10 & 0xF) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1627, ASSERT_TYPE_ASSERT, "(dataSize % MEM_SUB_PAGE_SIZE == 0)", (const char *)&queryFormat, "dataSize % MEM_SUB_PAGE_SIZE == 0") ) __debugbreak(); map.mapOffset = v21; map.mapSize = v10; map.minPageCount = v17; if ( itemType ) map.partIndex = 0; else map.partIndex = v11 & 3; v22 = v29; map.defragLocked = v14; map.pool = pool; *v22 = Stream_BackendQueue_QueueMapCmdAfter(*v29, &map); if ( (unsigned __int8)itemType >= STREAM_ITEM_COUNT ) { LODWORD(v25) = 3; LODWORD(outUpdateId) = (unsigned __int8)itemType; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 197, ASSERT_TYPE_ASSERT, "(unsigned)( itemType ) < (unsigned)( ( sizeof( *array_counter( allocatedBytes ) ) + 0 ) )", "itemType doesn't index ARRAY_COUNT( allocatedBytes )\n\t%i not in [0, %i)", outUpdateId, v25) ) __debugbreak(); } s_allocTracker.allocatedBytes[(unsigned __int8)itemType] += v10; return 2; } else { if ( v14 ) Stream_Defrag_UnlockHandle(handle); return 1; } } /* ============== Stream_Alloc_Deallocate ============== */ unsigned int Stream_Alloc_Deallocate(StreamItemType itemType, int itemPartIndex) { int v4; StreamKey *StreamKeyAtIndex; unsigned int StreamKeyIndex; StreamUpdateId updateId; XModelSurfs *XModelSurfsAtIndex; unsigned int XModelSurfsIndex; StreamUpdateId v11; int v12; unsigned int v13; GfxImage *GfxImageAtIndex; unsigned int GfxImageIndex; StreamUpdateId v16; StreamableBits *bits; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 905, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); v4 = 0; switch ( itemType ) { case STREAM_ITEM_IMAGE: v12 = itemPartIndex / 4; v13 = itemPartIndex % 4; GfxImageAtIndex = DB_GetGfxImageAtIndex(v12); if ( !GfxImageAtIndex && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 415, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( v13 >= 4 ) { LODWORD(bits) = v13; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 416, ASSERT_TYPE_ASSERT, "(unsigned)( imagePart ) < (unsigned)( IMAGE_STREAM_COUNT )", "imagePart doesn't index IMAGE_STREAM_COUNT\n\t%i not in [0, %i)", bits, 4) ) __debugbreak(); } if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 417, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); GfxImageIndex = DB_GetGfxImageIndex(GfxImageAtIndex); if ( StreamableBits::CheckInUse(&streamFrontendGlob->imageBits, v13 + 4 * GfxImageIndex) ) v16 = Stream_BackendQueue_QueueUnloadImageCmd(GfxImageAtIndex, v13); else v16 = 0i64; if ( Dvar_GetBool_Internal_DebugName(DCONST_DVARBOOL_stream_concurrentImagePartLoading, "stream_concurrentImagePartLoading") ) return Stream_Alloc_FreeImagePart(GfxImageAtIndex, v13, v16); for ( ; v13 < GfxImageAtIndex->streamedPartCount; ++v13 ) v4 += Stream_Alloc_FreeImagePart(GfxImageAtIndex, v13, v16); return v4; case STREAM_ITEM_MESH: XModelSurfsAtIndex = DB_GetXModelSurfsAtIndex(itemPartIndex); if ( !XModelSurfsAtIndex ) { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 557, ASSERT_TYPE_ASSERT, "(mesh)", (const char *)&queryFormat, "mesh") ) __debugbreak(); if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\xanim\\xmodel_db.h", 745, ASSERT_TYPE_ASSERT, "(modelSurfs)", (const char *)&queryFormat, "modelSurfs") ) __debugbreak(); } if ( !XModelSurfsAtIndex->shared && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\xanim\\xmodel_db.h", 747, ASSERT_TYPE_ASSERT, "(modelSurfs->shared)", (const char *)&queryFormat, "modelSurfs->shared") ) __debugbreak(); if ( (XModelSurfsAtIndex->shared->flags & 1) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 558, ASSERT_TYPE_ASSERT, "(XModelSurfs_IsStreamed( mesh ))", (const char *)&queryFormat, "XModelSurfs_IsStreamed( mesh )") ) __debugbreak(); XModelSurfsIndex = DB_GetXModelSurfsIndex(XModelSurfsAtIndex); if ( StreamableBits::CheckInUse(&streamFrontendGlob->meshBits, XModelSurfsIndex) ) v11 = Stream_BackendQueue_QueueUnloadMeshCmd(XModelSurfsAtIndex); else v11 = 0i64; return Stream_Alloc_FreeInternal(STREAM_ITEM_MESH, XModelSurfsIndex, XModelSurfsAtIndex->shared->data.streamedDataHandle, XModelSurfsAtIndex->shared->dataSize, 0, &streamFrontendGlob->meshBits, v11); case STREAM_ITEM_GENERIC: StreamKeyAtIndex = DB_GetStreamKeyAtIndex(itemPartIndex); if ( !StreamKeyAtIndex && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 581, ASSERT_TYPE_ASSERT, "(streamKey)", (const char *)&queryFormat, "streamKey") ) __debugbreak(); if ( (StreamKeyAtIndex->flags & 2) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 582, ASSERT_TYPE_ASSERT, "(!streamKey->Resident())", (const char *)&queryFormat, "!streamKey->Resident()") ) __debugbreak(); if ( !StreamKeyAtIndex->dataSize && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 583, ASSERT_TYPE_ASSERT, "(streamKey->dataSize > 0)", (const char *)&queryFormat, "streamKey->dataSize > 0") ) __debugbreak(); StreamKeyIndex = DB_GetStreamKeyIndex(StreamKeyAtIndex); if ( StreamableBits::CheckInUse(&streamFrontendGlob->genericBits, StreamKeyIndex) ) { StreamKey_UserUnloadedFrontend(StreamKeyAtIndex); updateId = Stream_BackendQueue_QueueUnloadGenericCmd(StreamKeyAtIndex); } else { updateId = 0i64; } return Stream_Alloc_FreeInternal(STREAM_ITEM_GENERIC, StreamKeyIndex, StreamKeyAtIndex->data.dataHandle, StreamKeyAtIndex->dataSize, 0, &streamFrontendGlob->genericBits, updateId); default: if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 934, ASSERT_TYPE_ASSERT, "(0)", (const char *)&queryFormat, "0") ) __debugbreak(); return v4; } } /* ============== Stream_Alloc_DetermineMaxPages ============== */ __int64 Stream_Alloc_DetermineMaxPages(unsigned int assetSize) { return truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(assetSize + 0xFFFF) >> 16) + 1; } /* ============== Stream_Alloc_DetermineMaxPagesForAllocate ============== */ __int64 Stream_Alloc_DetermineMaxPagesForAllocate(StreamItemType itemType, unsigned int itemPartIndex, unsigned int dataSize, const StreamableBits *bits) { __int64 v6; unsigned int v7; GfxImage *GfxImageAtIndex; GfxImageStreamLevelCountAndSize *p_levelCountAndSize; int v10; int v11; unsigned int v12; unsigned int i; GfxImageStreamLevelCountAndSize *v14; int v15; unsigned int v17; unsigned int v18; unsigned int v19; int v20; unsigned int v21; unsigned int *mAlloc; int v23; __int64 v24; unsigned int *mUse; int v26; unsigned int v27; unsigned int v28; int v29; unsigned int *v30; int v31; __int64 v32; unsigned int *v33; __int64 v34; __int64 v35; unsigned int StreamedPartCount; __int64 v37; int v38; unsigned int v39; GfxImageStreamLevelCountAndSize *v40; unsigned int v41; if ( itemType ) return truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(dataSize + 0xFFFF) >> 16) + 1; v6 = itemPartIndex & 3; v7 = itemPartIndex >> 2; v39 = itemPartIndex >> 2; GfxImageAtIndex = DB_GetGfxImageAtIndex(itemPartIndex >> 2); if ( !GfxImageAtIndex && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 200, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( (GfxImageAtIndex->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 201, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); if ( (unsigned int)v6 >= Image_GetStreamedPartCount(GfxImageAtIndex) ) { StreamedPartCount = Image_GetStreamedPartCount(GfxImageAtIndex); LODWORD(v34) = v6; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 202, ASSERT_TYPE_ASSERT, "(unsigned)( part ) < (unsigned)( Image_GetStreamedPartCount( image ) )", "part doesn't index Image_GetStreamedPartCount( image )\n\t%i not in [0, %i)", v34, StreamedPartCount) ) __debugbreak(); } p_levelCountAndSize = &GfxImageAtIndex->streams[v6].levelCountAndSize; if ( (_DWORD)v6 ) v10 = ((unsigned int)*p_levelCountAndSize >> 4) - ((unsigned int)GfxImageAtIndex->streams[(unsigned int)(v6 - 1)].levelCountAndSize >> 4); else v10 = (unsigned int)*p_levelCountAndSize >> 4; if ( dataSize != v10 ) { if ( (GfxImageAtIndex->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 201, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); if ( (unsigned int)v6 >= Image_GetStreamedPartCount(GfxImageAtIndex) ) { LODWORD(v35) = Image_GetStreamedPartCount(GfxImageAtIndex); LODWORD(v34) = v6; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 202, ASSERT_TYPE_ASSERT, "(unsigned)( part ) < (unsigned)( Image_GetStreamedPartCount( image ) )", "part doesn't index Image_GetStreamedPartCount( image )\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } if ( (_DWORD)v6 ) v11 = ((unsigned int)*p_levelCountAndSize >> 4) - ((unsigned int)GfxImageAtIndex->streams[(unsigned int)(v6 - 1)].levelCountAndSize >> 4); else v11 = (unsigned int)*p_levelCountAndSize >> 4; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1434, ASSERT_TYPE_ASSERT, "( dataSize ) == ( Image_ExclusivePartSize( image, imagePart ) )", "%s == %s\n\t%u, %u", "dataSize", "Image_ExclusivePartSize( image, imagePart )", dataSize, v11) ) __debugbreak(); } if ( Dvar_GetBool_Internal_DebugName(DCONST_DVARBOOL_stream_concurrentImagePartLoading, "stream_concurrentImagePartLoading") ) { v12 = 0; for ( i = 0; i < GfxImageAtIndex->streamedPartCount; v12 += truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(unsigned int)(v15 + 0xFFFF) >> 16) + 1 ) { if ( (GfxImageAtIndex->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 201, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); if ( i >= Image_GetStreamedPartCount(GfxImageAtIndex) ) { LODWORD(v35) = Image_GetStreamedPartCount(GfxImageAtIndex); LODWORD(v34) = i; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 202, ASSERT_TYPE_ASSERT, "(unsigned)( part ) < (unsigned)( Image_GetStreamedPartCount( image ) )", "part doesn't index Image_GetStreamedPartCount( image )\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } v14 = &GfxImageAtIndex->streams[i].levelCountAndSize; if ( i ) v15 = ((unsigned int)*v14 >> 4) - (*((_DWORD *)&GfxImageAtIndex->levelCount + 10 * i) >> 4); else v15 = (unsigned int)*v14 >> 4; ++i; } return v12; } else { v17 = Image_ExclusivePartSize(GfxImageAtIndex, v6); v18 = 0; v19 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(v17 + 0xFFFF) >> 16) + 1; v41 = v19; if ( (_DWORD)v6 ) { v20 = 4 * v7; v38 = 4 * v7; v40 = &GfxImageAtIndex->streams[0].levelCountAndSize; do { v21 = v20 + v18; if ( v20 + v18 >= bits->mBitCount ) { LODWORD(v35) = bits->mBitCount; LODWORD(v34) = v20 + v18; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } mAlloc = bits->mAlloc; if ( !bits->mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v23 = 1 << (v21 & 0x1F); v24 = (__int64)(int)v21 >> 5; if ( (v23 & mAlloc[v24]) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1453, ASSERT_TYPE_ASSERT, "(bits.CheckAlloc( imagePartIndex ))", (const char *)&queryFormat, "bits.CheckAlloc( imagePartIndex )") ) __debugbreak(); if ( v21 >= bits->mBitCount ) { LODWORD(v35) = bits->mBitCount; LODWORD(v34) = v21; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } mUse = bits->mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v23 & mUse[v24]) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1454, ASSERT_TYPE_ASSERT, "(bits.CheckInUse( imagePartIndex ))", (const char *)&queryFormat, "bits.CheckInUse( imagePartIndex )") ) __debugbreak(); if ( (GfxImageAtIndex->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 201, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); if ( v18 >= Image_GetStreamedPartCount(GfxImageAtIndex) ) { LODWORD(v35) = Image_GetStreamedPartCount(GfxImageAtIndex); LODWORD(v34) = v18; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 202, ASSERT_TYPE_ASSERT, "(unsigned)( part ) < (unsigned)( Image_GetStreamedPartCount( image ) )", "part doesn't index Image_GetStreamedPartCount( image )\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } if ( v18 ) v26 = ((unsigned int)*v40 >> 4) - (*((_DWORD *)&GfxImageAtIndex->levelCount + 10 * v18) >> 4); else v26 = (unsigned int)*v40 >> 4; v27 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(unsigned int)(v26 + 0xFFFF) >> 16); v40 += 10; ++v18; v20 = v38; v19 = v41 + v27 + 1; v41 = v19; } while ( v18 < (unsigned int)v6 ); v7 = v39; } if ( (unsigned int)v6 >= GfxImageAtIndex->streamedPartCount ) { return v19; } else { v28 = v6 + 4 * v7; v29 = -4 * v7; do { if ( v28 >= bits->mBitCount ) { LODWORD(v35) = bits->mBitCount; LODWORD(v34) = v28; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } v30 = bits->mAlloc; if ( !bits->mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v31 = 1 << (v28 & 0x1F); v32 = (__int64)(int)v28 >> 5; if ( (v31 & v30[v32]) != 0 ) { LODWORD(v37) = v6; LODWORD(v35) = v29 + v28; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1462, ASSERT_TYPE_ASSERT, "( !bits.CheckAlloc( imagePartIndex ) )", "%s part %u already allocated while trying to allocate part %u", GfxImageAtIndex->name, v35, v37) ) __debugbreak(); } if ( v28 >= bits->mBitCount ) { LODWORD(v35) = bits->mBitCount; LODWORD(v34) = v28; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v34, v35) ) __debugbreak(); } v33 = bits->mUse; if ( !v33 && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v31 & v33[v32]) != 0 ) { LODWORD(v37) = v6; LODWORD(v35) = v29 + v28; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1463, ASSERT_TYPE_ASSERT, "( !bits.CheckInUse( imagePartIndex ) )", "%s part %u already in use while trying to allocate part %u", GfxImageAtIndex->name, v35, v37) ) __debugbreak(); } ++v28; } while ( v29 + v28 < GfxImageAtIndex->streamedPartCount ); return v41; } } } /* ============== Stream_Alloc_DetermineMinPages ============== */ __int64 Stream_Alloc_DetermineMinPages(unsigned int assetSize) { unsigned int v1; if ( assetSize < 0x10000 ) return 0i64; v1 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(assetSize + 0xFFFF) >> 16); if ( v1 <= 2 ) return 0i64; else return v1 - 2; } /* ============== Stream_Alloc_DetermineOptimalMaxPages ============== */ __int64 Stream_Alloc_DetermineOptimalMaxPages(const void *assetAddress, unsigned int assetSize) { return truncate_cast<unsigned int,unsigned __int64>((((unsigned __int64)assetAddress + (int)assetSize + 0xFFFF) & 0xFFFFFFFFFFFF0000ui64) - ((unsigned __int64)assetAddress & 0xFFFFFFFFFFFF0000ui64)) >> 16; } /* ============== Stream_Alloc_DetermineOptimalMinPages ============== */ __int64 Stream_Alloc_DetermineOptimalMinPages(const void *assetAddress, unsigned int assetSize) { char *v2; unsigned __int64 v4; __int64 result; v2 = (char *)assetAddress + (int)assetSize; v4 = (unsigned __int64)assetAddress & 0xFFFFFFFFFFFF0000ui64; result = truncate_cast<unsigned int,unsigned __int64>(((unsigned __int64)(v2 + 0xFFFF) & 0xFFFFFFFFFFFF0000ui64) - ((unsigned __int64)assetAddress & 0xFFFFFFFFFFFF0000ui64)) >> 16; if ( v4 < (unsigned __int64)assetAddress && (_DWORD)result ) result = (unsigned int)(result - 1); if ( ((unsigned __int64)(v2 + 0xFFFF) & 0xFFFFFFFFFFFF0000ui64) > (unsigned __int64)v2 ) { if ( (_DWORD)result ) return (unsigned int)(result - 1); } return result; } /* ============== Stream_Alloc_Dump ============== */ void Stream_Alloc_Dump(void) { unsigned int v0; unsigned __int64 v1; __int64 v2; unsigned int v3; unsigned __int64 v4; unsigned __int64 v5; unsigned int v6; StreamerMemPageCounts *p_mFreePages; __int64 v8; unsigned __int64 FreePhysicalSize; unsigned __int64 v10; StreamerMemPageCounts *p_result; __int64 v12; unsigned int mTotalPages; unsigned __int64 v14; unsigned __int64 v15; unsigned __int64 meshBytesOut; unsigned __int64 v17; unsigned __int64 imageBytesOut[2]; StreamerMemPageCounts result; StreamerMemPageCounts v20; __int64 v21[5]; imageBytesOut[1] = -2i64; v0 = 0; v1 = 0i64; v2 = 2i64; do { Sys_LockRead(&s_allocTracker.mCS); v3 = s_allocTracker.mFreePages.pages[(unsigned int)v1]; Sys_UnlockRead(&s_allocTracker.mCS); v21[v1++] = (unsigned __int64)v3 << 16; } while ( v1 < 2 ); v4 = s_allocTracker.allocatedBytes[0]; v5 = s_allocTracker.allocatedBytes[1]; v14 = s_allocTracker.allocatedBytes[2]; Sys_LockRead(&s_allocTracker.mCS); mTotalPages = s_allocTracker.mTotalPages; Sys_UnlockRead(&s_allocTracker.mCS); Sys_LockRead(&s_allocTracker.mCS); v6 = 0; p_mFreePages = &s_allocTracker.mFreePages; v8 = 2i64; do { v6 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); --v8; } while ( v8 ); Sys_UnlockRead(&s_allocTracker.mCS); StreamerMemLoan::GetTotalPagesForAllLoans(&result); FreePhysicalSize = Mem_Paged_GetFreePhysicalSize(); v10 = Mem_Paged_GetTotalPhysicalSize() - FreePhysicalSize; Stream_CalculateForced(imageBytesOut, &meshBytesOut); Stream_CalculateScriptForced(&v17, &v15); Com_MemDumpPrintf("Stream Allocation Dump\n"); Com_MemDumpPrintf(" Streamer total pages from mem_paged %u (%zuM) - total free pages %u (%zuM)\n", mTotalPages, (unsigned __int64)mTotalPages << 16 >> 20, v6, (unsigned __int64)v6 << 16 >> 20); Com_MemDumpPrintf(" Streamer usage: Total:%zuM Tex:%zuM Mesh:%zuM Generic:%zuM\n", (v14 + v4 + v5) >> 20, v4 >> 20, v5 >> 20, v14 >> 20); Com_MemDumpPrintf(" Streamer freeCPU:%zuM, Streamer freeGPU:%zuM\n", (unsigned __int64)v21[0] >> 20, (unsigned __int64)v21[1] >> 20); p_result = &result; v12 = 0i64; if ( &result > &v20 ) v2 = 0i64; if ( &result <= &v20 ) { do { v0 += p_result->pages[0]; p_result = (StreamerMemPageCounts *)((char *)p_result + 4); ++v12; } while ( v12 != v2 ); } Com_MemDumpPrintf(" Streamer loans: Total:%zuM CPU:%zuM GPU:%zuM\n", (unsigned __int64)v0 << 16 >> 20, (unsigned __int64)result.pages[0] << 16 >> 20, (unsigned __int64)result.pages[1] << 16 >> 20); Com_MemDumpPrintf(" Forced/script: Total:%zuM Tex:%zuM/%zuM Mesh:%zuM/%zuM\n", (meshBytesOut + imageBytesOut[0] + v17 + v15) >> 20, imageBytesOut[0] >> 20, v17 >> 20, meshBytesOut >> 20, v15 >> 20); Stream_BackendQueue_Dump(); Com_MemDumpPrintf(" MemPaged used:%zuM MemPaged free:%zuM\n\n", v10 >> 20, FreePhysicalSize >> 20); } /* ============== Stream_Alloc_FreeGeneric ============== */ unsigned int Stream_Alloc_FreeGeneric(StreamKey *streamKey) { unsigned int StreamKeyIndex; StreamUpdateId updateId; if ( !streamKey && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 581, ASSERT_TYPE_ASSERT, "(streamKey)", (const char *)&queryFormat, "streamKey") ) __debugbreak(); if ( (streamKey->flags & 2) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 582, ASSERT_TYPE_ASSERT, "(!streamKey->Resident())", (const char *)&queryFormat, "!streamKey->Resident()") ) __debugbreak(); if ( !streamKey->dataSize && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 583, ASSERT_TYPE_ASSERT, "(streamKey->dataSize > 0)", (const char *)&queryFormat, "streamKey->dataSize > 0") ) __debugbreak(); StreamKeyIndex = DB_GetStreamKeyIndex(streamKey); if ( StreamableBits::CheckInUse(&streamFrontendGlob->genericBits, StreamKeyIndex) ) { StreamKey_UserUnloadedFrontend(streamKey); updateId = Stream_BackendQueue_QueueUnloadGenericCmd(streamKey); } else { updateId = 0i64; } return Stream_Alloc_FreeInternal(STREAM_ITEM_GENERIC, StreamKeyIndex, streamKey->data.dataHandle, streamKey->dataSize, 0, &streamFrontendGlob->genericBits, updateId); } /* ============== Stream_Alloc_FreeImage ============== */ unsigned int Stream_Alloc_FreeImage(const GfxImage *image, unsigned int imagePart) { unsigned int GfxImageIndex; int v5; StreamUpdateId v6; __int64 v8; if ( !image && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 415, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( imagePart >= 4 ) { LODWORD(v8) = imagePart; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 416, ASSERT_TYPE_ASSERT, "(unsigned)( imagePart ) < (unsigned)( IMAGE_STREAM_COUNT )", "imagePart doesn't index IMAGE_STREAM_COUNT\n\t%i not in [0, %i)", v8, 4) ) __debugbreak(); } if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 417, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); GfxImageIndex = DB_GetGfxImageIndex(image); v5 = 0; if ( StreamableBits::CheckInUse(&streamFrontendGlob->imageBits, imagePart + 4 * GfxImageIndex) ) v6 = Stream_BackendQueue_QueueUnloadImageCmd(image, imagePart); else v6 = 0i64; if ( Dvar_GetBool_Internal_DebugName(DCONST_DVARBOOL_stream_concurrentImagePartLoading, "stream_concurrentImagePartLoading") ) return Stream_Alloc_FreeImagePart(image, imagePart, v6); for ( ; imagePart < image->streamedPartCount; ++imagePart ) v5 += Stream_Alloc_FreeImagePart(image, imagePart, v6); return v5; } /* ============== Stream_Alloc_FreeImagePart ============== */ unsigned int Stream_Alloc_FreeImagePart(const GfxImage *image, unsigned int imagePart, StreamUpdateId updateId) { unsigned int GfxImageIndex; unsigned __int64 data; unsigned int v8; unsigned int v9; unsigned int v10; if ( !image && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 541, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( (image->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 542, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); GfxImageIndex = DB_GetGfxImageIndex(image); data = image->pixels.streamedDataHandle.data; v8 = imagePart + 4 * GfxImageIndex; v9 = Image_ExclusivePartSize(image, imagePart); v10 = Image_PartOffset(image, imagePart); return Stream_Alloc_FreeInternal(STREAM_ITEM_IMAGE, v8, (streamer_handle_t)data, v9, v10, &streamFrontendGlob->imageBits, updateId); } /* ============== Stream_Alloc_FreeInternal ============== */ __int64 Stream_Alloc_FreeInternal(StreamItemType itemType, unsigned int itemPartIndex, streamer_handle_t assetHandle, unsigned int dataSize, unsigned int dataOffset, StreamableBits *bits, StreamUpdateId updateId) { unsigned __int64 v7; __int64 v8; unsigned int *mLoading; int v11; __int64 v12; unsigned int v13; unsigned __int64 *v14; StreamMemPool ItemPartMemPool; bool v16; unsigned __int8 *v17; unsigned int v18; StreamUpdateId mFreePagesUpdateID; StreamMemPool pool; unsigned int *mAlloc; unsigned int *mUse; __int64 v24; __int64 v25; FastCriticalSectionScopeWrite v26; streamer_handle_t handle; __int64 v28; __int64 v29; StreamUnmapCmdData unmap; v29 = -2i64; v7 = dataSize; v8 = (int)itemPartIndex; handle.data = assetHandle.data; LODWORD(v26.cs) = dataOffset; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 452, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); if ( (unsigned int)v8 >= bits->mBitCount && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 288, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v8, bits->mBitCount) ) __debugbreak(); mLoading = bits->mLoading; if ( !mLoading && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v11 = 1 << (v8 & 0x1F); v12 = 4 * (v8 >> 5); v28 = v12; if ( (v11 & *(unsigned int *)((char *)mLoading + v12)) != 0 ) { LODWORD(v25) = v8; LODWORD(v24) = (unsigned __int8)itemType; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 454, ASSERT_TYPE_ASSERT, "( !bits.CheckLoading( itemPartIndex ) )", "Attempting to deallocate item type %u index %u that's marked as still loading", v24, v25) ) __debugbreak(); } v13 = 0; if ( StreamableBits::CheckAlloc(bits, v8) ) { if ( !handle.data && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 459, ASSERT_TYPE_ASSERT, "(assetHandle.data != 0)", (const char *)&queryFormat, "assetHandle.data != 0") ) __debugbreak(); if ( (unsigned __int8)itemType >= STREAM_ITEM_COUNT ) { LODWORD(v25) = 3; LODWORD(v24) = (unsigned __int8)itemType; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 203, ASSERT_TYPE_ASSERT, "(unsigned)( itemType ) < (unsigned)( ( sizeof( *array_counter( allocatedBytes ) ) + 0 ) )", "itemType doesn't index ARRAY_COUNT( allocatedBytes )\n\t%i not in [0, %i)", v24, v25) ) __debugbreak(); } v14 = &s_allocTracker.allocatedBytes[(unsigned __int8)itemType]; if ( *v14 < v7 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 204, ASSERT_TYPE_ASSERT, "(allocatedBytes[itemType] >= sizeInBytes)", (const char *)&queryFormat, "allocatedBytes[itemType] >= sizeInBytes") ) __debugbreak(); *v14 -= v7; ItemPartMemPool = Stream_Alloc_GetItemPartMemPool(itemType, v8); v16 = Stream_Defrag_LockHandle(handle); if ( v16 ) { v17 = Stream_AddressSpace_ResolveHandle(&handle); v13 = Stream_Alloc_DetermineOptimalMinPages(&v17[LODWORD(v26.cs)], v7); } else if ( (unsigned int)v7 >= 0x10000 ) { v18 = truncate_cast<unsigned int,unsigned __int64>((unsigned __int64)(unsigned int)(v7 + 0xFFFF) >> 16); if ( v18 > 2 ) v13 = v18 - 2; } unmap.baseAddrHandle = handle; if ( ((__int64)v26.cs & 0xF) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 490, ASSERT_TYPE_ASSERT, "(dataOffset % MEM_SUB_PAGE_SIZE == 0)", (const char *)&queryFormat, "dataOffset % MEM_SUB_PAGE_SIZE == 0") ) __debugbreak(); if ( (v7 & 0xF) != 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 491, ASSERT_TYPE_ASSERT, "(dataSize % MEM_SUB_PAGE_SIZE == 0)", (const char *)&queryFormat, "dataSize % MEM_SUB_PAGE_SIZE == 0") ) __debugbreak(); unmap.mapOffset = (unsigned int)v26.cs; unmap.mapSize = v7; unmap.minPageCount = v13; unmap.pool = ItemPartMemPool; if ( itemType ) unmap.partIndex = 0; else unmap.partIndex = v8 & 3; unmap.defragLocked = v16; mFreePagesUpdateID = Stream_BackendQueue_QueueUnmapCmdNextFrame(updateId, &unmap); pool = unmap.pool; if ( v13 ) { v26.cs = (FastCriticalSection *)&s_allocTracker; Sys_LockWrite(&s_allocTracker.mCS); StreamerMemPageCounts::AddPages(&s_allocTracker.mFreePages, pool, v13); if ( s_allocTracker.mFreePagesUpdateID > (unsigned __int64)mFreePagesUpdateID ) mFreePagesUpdateID = s_allocTracker.mFreePagesUpdateID; s_allocTracker.mFreePagesUpdateID = mFreePagesUpdateID; StreamAllocTracker::AssertPageCountsCorrect(&s_allocTracker); FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v26); } if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 307, ASSERT_TYPE_ASSERT, "(Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ))", (const char *)&queryFormat, "Sys_InCriticalSection( CRITSECT_STREAM_ALLOC )") ) __debugbreak(); if ( (unsigned int)v8 >= bits->mBitCount ) { LODWORD(v25) = bits->mBitCount; LODWORD(v24) = v8; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 308, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v24, v25) ) __debugbreak(); } mAlloc = bits->mAlloc; if ( !bits->mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 28, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); mAlloc[v8 >> 5] &= ~v11; v12 = v28; } if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 355, ASSERT_TYPE_ASSERT, "(Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ))", (const char *)&queryFormat, "Sys_InCriticalSection( CRITSECT_STREAM_ALLOC )") ) __debugbreak(); if ( (unsigned int)v8 >= bits->mBitCount ) { LODWORD(v25) = bits->mBitCount; LODWORD(v24) = v8; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 356, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v24, v25) ) __debugbreak(); } mUse = bits->mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 28, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); *(unsigned int *)((char *)mUse + v12) &= ~v11; return v13; } /* ============== Stream_Alloc_FreeMesh ============== */ __int64 Stream_Alloc_FreeMesh(XModelSurfs *mesh) { unsigned int XModelSurfsIndex; StreamUpdateId updateId; if ( !mesh ) { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 557, ASSERT_TYPE_ASSERT, "(mesh)", (const char *)&queryFormat, "mesh") ) __debugbreak(); if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\xanim\\xmodel_db.h", 745, ASSERT_TYPE_ASSERT, "(modelSurfs)", (const char *)&queryFormat, "modelSurfs") ) __debugbreak(); } if ( !mesh->shared && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\xanim\\xmodel_db.h", 747, ASSERT_TYPE_ASSERT, "(modelSurfs->shared)", (const char *)&queryFormat, "modelSurfs->shared") ) __debugbreak(); if ( (mesh->shared->flags & 1) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 558, ASSERT_TYPE_ASSERT, "(XModelSurfs_IsStreamed( mesh ))", (const char *)&queryFormat, "XModelSurfs_IsStreamed( mesh )") ) __debugbreak(); XModelSurfsIndex = DB_GetXModelSurfsIndex(mesh); if ( StreamableBits::CheckInUse(&streamFrontendGlob->meshBits, XModelSurfsIndex) ) updateId = Stream_BackendQueue_QueueUnloadMeshCmd(mesh); else updateId = 0i64; return Stream_Alloc_FreeInternal(STREAM_ITEM_MESH, XModelSurfsIndex, mesh->shared->data.streamedDataHandle, mesh->shared->dataSize, 0, &streamFrontendGlob->meshBits, updateId); } /* ============== Stream_Alloc_FreePagesForMemPaged ============== */ StreamAllocResult Stream_Alloc_FreePagesForMemPaged(StreamMemPool pool, unsigned int pageCount, bool backendFlushPossible, StreamUpdateId *outUpdateId, bool *outFlushedBackend) { __int64 sortListRead; AggressiveLevelInitEvictor evictor; AggressiveLevelInitEvictor v13; RuntimeEvictor v14; if ( streamFrontendGlob->levelInit.useLevelInitEvictor <= 0 ) { sortListRead = streamFrontendGlob->sortListRead; *(_QWORD *)&v14.mDistance.mValue = 0x10000i64; v14.mSortList = &streamFrontendGlob->sortLists[sortListRead]; if ( Stream_Alloc_FreePages_RuntimeEvictor_(&v14, backendFlushPossible, pool, pageCount, outUpdateId, outFlushedBackend) == TASK_CREATE_FAIL ) { return 2; } else { v13.mAllowForced = 0; *(_QWORD *)&v13.mImagePart = 3i64; v13.mMaxPotentialBackendPages = 0; return Stream_Alloc_FreePages_AggressiveLevelInitEvictor_(&v13, backendFlushPossible, pool, pageCount, outUpdateId, outFlushedBackend); } } else { evictor.mAllowForced = 0; *(_QWORD *)&evictor.mImagePart = 3i64; evictor.mMaxPotentialBackendPages = 0; return Stream_Alloc_FreePages_AggressiveLevelInitEvictor_(&evictor, 1, pool, pageCount, outUpdateId, outFlushedBackend); } } /* ============== Stream_Alloc_GetBytesAllocated ============== */ unsigned __int64 Stream_Alloc_GetBytesAllocated(StreamItemType type) { int v3; int v4; if ( (unsigned __int8)type >= STREAM_ITEM_COUNT ) { v4 = 3; v3 = (unsigned __int8)type; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 210, ASSERT_TYPE_ASSERT, "(unsigned)( itemType ) < (unsigned)( ( sizeof( *array_counter( allocatedBytes ) ) + 0 ) )", "itemType doesn't index ARRAY_COUNT( allocatedBytes )\n\t%i not in [0, %i)", v3, v4) ) __debugbreak(); } return s_allocTracker.allocatedBytes[(unsigned __int8)type]; } /* ============== Stream_Alloc_GetFreeBytes ============== */ unsigned __int64 Stream_Alloc_GetFreeBytes() { unsigned int v0; StreamerMemPageCounts *p_mFreePages; __int64 v2; Sys_LockRead(&s_allocTracker.mCS); v0 = 0; p_mFreePages = &s_allocTracker.mFreePages; v2 = 2i64; do { v0 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); --v2; } while ( v2 ); Sys_UnlockRead(&s_allocTracker.mCS); return (unsigned __int64)v0 << 16; } /* ============== Stream_Alloc_GetFreeBytesForPool ============== */ unsigned __int64 Stream_Alloc_GetFreeBytesForPool(StreamMemPool pool) { __int64 v1; unsigned int v2; int v4; int v5; v1 = (unsigned int)pool; Sys_LockRead(&s_allocTracker.mCS); if ( (unsigned int)v1 >= 2 ) { v5 = 2; v4 = v1; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\streamer_mem_loan.h", 32, ASSERT_TYPE_ASSERT, "(unsigned)( pool ) < (unsigned)( ( sizeof( *array_counter( pages ) ) + 0 ) )", "pool doesn't index ARRAY_COUNT( pages )\n\t%i not in [0, %i)", v4, v5) ) __debugbreak(); } v2 = s_allocTracker.mFreePages.pages[v1]; Sys_UnlockRead(&s_allocTracker.mCS); return (unsigned __int64)v2 << 16; } /* ============== Stream_Alloc_GetImageLoadedBytes ============== */ __int64 Stream_Alloc_GetImageLoadedBytes(const GfxImage *image) { __int64 v3; unsigned int v4; unsigned int i; StreamFrontendGlob *v6; unsigned int v7; unsigned int *mUse; unsigned int v9; GfxImageStreamLevelCountAndSize *p_levelCountAndSize; unsigned int v11; __int64 v12; __int64 v13; if ( (image->flags & 0x40) == 0 ) return image->totalSize; v3 = 0i64; v4 = 0; for ( i = DB_GetGfxImageIndex(image); v4 < image->streamedPartCount; ++v4 ) { v6 = streamFrontendGlob; v7 = v4 + 4 * i; if ( v7 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v13) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v12) = v4 + 4 * i; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v12, v13) ) __debugbreak(); } mUse = v6->imageBits.mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v9 = mUse[(__int64)(int)v7 >> 5]; if ( _bittest((const int *)&v9, v7 & 0x1F) ) { if ( (image->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 201, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); if ( v4 >= Image_GetStreamedPartCount(image) ) { LODWORD(v13) = Image_GetStreamedPartCount(image); LODWORD(v12) = v4; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\gfx_d3d\\r_image_load_common.h", 202, ASSERT_TYPE_ASSERT, "(unsigned)( part ) < (unsigned)( Image_GetStreamedPartCount( image ) )", "part doesn't index Image_GetStreamedPartCount( image )\n\t%i not in [0, %i)", v12, v13) ) __debugbreak(); } p_levelCountAndSize = &image->streams[v4].levelCountAndSize; if ( v4 ) v11 = ((unsigned int)*p_levelCountAndSize >> 4) - (*((_DWORD *)&image->levelCount + 10 * v4) >> 4); else v11 = (unsigned int)*p_levelCountAndSize >> 4; v3 += v11; } } return v3; } /* ============== Stream_Alloc_GetImageLoadedPartCount ============== */ __int64 Stream_Alloc_GetImageLoadedPartCount(const GfxImage *image) { unsigned int GfxImageIndex; unsigned int v3; __int64 result; unsigned int v5; StreamFrontendGlob *v6; unsigned int *mUse; unsigned int v8; __int64 v9; __int64 v10; if ( !image && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1868, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( (image->flags & 0x40) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1869, ASSERT_TYPE_ASSERT, "(R_IsStreamedImage( image ))", (const char *)&queryFormat, "R_IsStreamedImage( image )") ) __debugbreak(); GfxImageIndex = DB_GetGfxImageIndex(image); v3 = 0; LOBYTE(result) = image->streamedPartCount; v5 = 4 * GfxImageIndex; if ( !(_BYTE)result ) return (unsigned __int8)result; while ( 1 ) { v6 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v10) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v9) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v9, v10) ) __debugbreak(); } mUse = v6->imageBits.mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v8 = mUse[(__int64)(int)v5 >> 5]; if ( !_bittest((const int *)&v8, v5 & 0x1F) ) break; LODWORD(result) = image->streamedPartCount; ++v3; ++v5; if ( v3 >= (unsigned int)result ) return (unsigned __int8)result; } return v3; } /* ============== Stream_Alloc_GetImagePartToFree ============== */ int Stream_Alloc_GetImagePartToFree(const StreamSortListFrame *sortList, StreamDistance distSkip) { return Stream_Alloc_GetImagePartToFree(sortList, distSkip, 0i64); } /* ============== Stream_Alloc_GetImagePartToFree ============== */ __int64 Stream_Alloc_GetImagePartToFree(const StreamSortListFrame *sortList, StreamDistance distSkip, unsigned __int64 wantedInclusiveSize) { volatile int *v3; __int64 v4; FastCriticalSection *p_mCS; __int64 v6; const StreamSortListFrame *v7; __int64 v9; unsigned int v10; unsigned int v11; unsigned int v12; unsigned int *v13; volatile int *v14; const StreamSortListFrame **v15; unsigned int *p_mValue; unsigned int *v17; char *v18; unsigned int *v19; __int64 v20; FastCriticalSection *v21; const StreamSortListFrame *v22; unsigned int mValue; char v24; mValue = distSkip.mValue; v22 = sortList; v20 = -2i64; v3 = streamFrontendGlob->imageTouchBits[streamFrontendGlob->touchBufferIndex]; v10 = mValue; if ( mValue > 0x10000 ) v10 = mValue - 1; v12 = -1; v24 = 0; v11 = -1; v4 = (__int64)v22; v13 = &v12; v14 = v3; v15 = &v22; p_mValue = &mValue; v17 = &v10; v18 = &v24; v19 = &v11; p_mCS = &v22->imageSortList.mCS; v21 = &v22->imageSortList.mCS; if ( v22 == (const StreamSortListFrame *)-4014096i64 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 252, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockRead(p_mCS); StreamSortList_327680_::IterateRange__lambda_9eb1fbbfb74bb5511210e4dd8eced05b___(v4 + 1351680, 0, (const Stream_Alloc_GetImagePartToFree::__l2::<lambda_9eb1fbbfb74bb5511210e4dd8eced05b> *)(unsigned int)(*(_DWORD *)(v4 + 4014084) - 1)); Sys_UnlockRead(p_mCS); if ( v11 != -1 ) return v11; if ( v24 ) return 4294967294i64; v6 = (int)v12; if ( v12 == -1 ) return v11; v7 = v22; if ( v12 >= 0x50000 ) { LODWORD(v9) = v12; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_sortlist.h", 354, ASSERT_TYPE_ASSERT, "(unsigned)( assetIndex ) < (unsigned)( ( sizeof( *array_counter( mDistances ) ) + 0 ) )", "assetIndex doesn't index ARRAY_COUNT( mDistances )\n\t%i not in [0, %i)", v9, 327680) ) __debugbreak(); } if ( v10 > v7->imagePartDistance.mDistances[v6].mValue || v24 ) return 4294967294i64; else return v11; } /* ============== Stream_Alloc_GetItemMemPool ============== */ StreamMemPool Stream_Alloc_GetItemMemPool(StreamItemType itemType, int assetIndex) { int v3; v3 = 4 * assetIndex; if ( itemType ) v3 = assetIndex; return Stream_Alloc_GetItemPartMemPool(itemType, v3); } /* ============== Stream_Alloc_GetItemPartMemPool ============== */ _BOOL8 Stream_Alloc_GetItemPartMemPool(StreamItemType itemType, int itemPartIndex) { unsigned int v4; v4 = MAX_STREAM_ITEM_PART_COUNTS[(unsigned __int8)itemType]; if ( itemPartIndex >= v4 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 979, ASSERT_TYPE_ASSERT, "(unsigned)( itemPartIndex ) < (unsigned)( MAX_STREAM_ITEM_PART_COUNTS[itemType] )", "itemPartIndex doesn't index MAX_STREAM_ITEM_PART_COUNTS[itemType]\n\t%i not in [0, %i)", itemPartIndex, v4) ) __debugbreak(); if ( itemType == STREAM_ITEM_IMAGE ) return 1i64; if ( itemType == STREAM_ITEM_MESH ) return 0i64; if ( itemType != STREAM_ITEM_GENERIC ) { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 993, ASSERT_TYPE_ASSERT, "(0)", (const char *)&queryFormat, "0") ) __debugbreak(); return 0i64; } return (DB_GetStreamKeyAtIndex(itemPartIndex)->flags & 1) == 0; } /* ============== Stream_Alloc_GetMemInfo ============== */ void Stream_Alloc_GetMemInfo(StreamMemInfo *memInfo) { unsigned __int64 i; unsigned int v3; for ( i = 0i64; i < 2; ++i ) { Sys_LockRead(&s_allocTracker.mCS); v3 = s_allocTracker.mFreePages.pages[(unsigned int)i]; Sys_UnlockRead(&s_allocTracker.mCS); memInfo->unused[i] = (unsigned __int64)v3 << 16; } memInfo->images = s_allocTracker.allocatedBytes[0]; memInfo->meshes = s_allocTracker.allocatedBytes[1]; memInfo->generics = s_allocTracker.allocatedBytes[2]; } /* ============== Stream_Alloc_GetMemPoolFromStreamMemPool ============== */ __int64 Stream_Alloc_GetMemPoolFromStreamMemPool(StreamMemPool pool) { if ( pool == MOVEMENT ) return 0i64; if ( pool != DODGE ) { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 951, ASSERT_TYPE_ASSERT, (const char *)&queryFormat.fmt + 3, "unreachable code") ) __debugbreak(); return 0i64; } return 1i64; } /* ============== Stream_Alloc_GetStreamMemPoolFromMemPool ============== */ __int64 Stream_Alloc_GetStreamMemPoolFromMemPool(Mem_Pool pool) { __int32 v1; if ( pool == MEM_POOL_MAIN ) return 0i64; v1 = pool - 1; if ( v1 && v1 != 1 ) { if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 972, ASSERT_TYPE_ASSERT, (const char *)&queryFormat.fmt + 3, "unreachable code") ) __debugbreak(); return 0i64; } return 1i64; } /* ============== Stream_Alloc_GetTotalBytes ============== */ unsigned __int64 Stream_Alloc_GetTotalBytes() { unsigned int mTotalPages; Sys_LockRead(&s_allocTracker.mCS); mTotalPages = s_allocTracker.mTotalPages; Sys_UnlockRead(&s_allocTracker.mCS); return (unsigned __int64)mTotalPages << 16; } /* ============== Stream_Alloc_GetTotalBytesAllocated ============== */ __int64 Stream_Alloc_GetTotalBytesAllocated() { __int64 v0; int i; __int64 v2; __int64 v4; __int64 v5; v0 = 0i64; for ( i = 0; i < 3; ++i ) { if ( (unsigned __int8)i >= 3u ) { LODWORD(v5) = 3; LODWORD(v4) = (unsigned __int8)i; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 210, ASSERT_TYPE_ASSERT, "(unsigned)( itemType ) < (unsigned)( ( sizeof( *array_counter( allocatedBytes ) ) + 0 ) )", "itemType doesn't index ARRAY_COUNT( allocatedBytes )\n\t%i not in [0, %i)", v4, v5) ) __debugbreak(); } v2 = (unsigned __int8)i; v0 += s_allocTracker.allocatedBytes[v2]; } return v0; } /* ============== Stream_Alloc_GetTotalBytesForPool ============== */ unsigned __int64 Stream_Alloc_GetTotalBytesForPool(StreamMemPool pool) { unsigned int mTotalPages; Sys_LockRead(&s_allocTracker.mCS); mTotalPages = s_allocTracker.mTotalPages; Sys_UnlockRead(&s_allocTracker.mCS); return (unsigned __int64)mTotalPages << 16; } /* ============== Stream_Alloc_InitialHandoffFromMemPaged ============== */ void Stream_Alloc_InitialHandoffFromMemPaged(const StreamerMemPageCounts *pageCounts) { int v1; const StreamerMemPageCounts *v2; __int64 v3; __int64 v4; const StreamerMemPageCounts *v5; unsigned int v6; __int64 v7; const StreamerMemPageCounts *v8; float v9; __int64 v10; const StreamerMemPageCounts *v11; __int64 v12; unsigned __int64 i; float v14; int v15; __int64 v16; StreamerMemPageCounts *p_mFreePages; unsigned int v18; unsigned int v19; StreamerMemPageCounts *v20; __int64 j; v1 = 0; v2 = pageCounts; v3 = 2i64; v4 = 2i64; v5 = pageCounts; v6 = 0; v7 = 0i64; v8 = v2 + 1; if ( v2 > &v2[1] ) v4 = 0i64; if ( v2 <= &v2[1] ) { do { v6 += v2->pages[0]; v2 = (const StreamerMemPageCounts *)((char *)v2 + 4); ++v7; } while ( v7 != v4 ); } v10 = 0i64; v11 = v5; v12 = 0i64; if ( v5 <= v8 ) { do { v10 = (unsigned int)(v11->pages[0] + v10); v11 = (const StreamerMemPageCounts *)((char *)v11 + 4); ++v12; } while ( v12 != v4 ); } v9 = (float)((unsigned __int64)v6 << 16); Com_Printf(35, "Stream_Alloc_InitialHandoffFromMemPaged: Received %u pages (%.2f MB) total from mem_paged:\n", v10, (float)(v9 * 0.00000095367432)); for ( i = 0i64; i < 2; ++i ) { v14 = (float)((unsigned __int64)v5->pages[(unsigned int)i] << 16); Com_Printf(35, "Stream_Alloc_InitialHandoffFromMemPaged: Pool %zu: %u pages (%.2f MB)\n", i, v5->pages[(unsigned int)i], (float)(v14 * 0.00000095367432)); } v15 = 0; s_allocTracker.mFreePages.pages[0] += v5->pages[0]; s_allocTracker.mFreePages.pages[1] += v5->pages[1]; v16 = 0i64; if ( v5 <= v8 ) { do { v15 += v5->pages[0]; v5 = (const StreamerMemPageCounts *)((char *)v5 + 4); ++v16; } while ( v16 != v4 ); } p_mFreePages = &s_allocTracker.mFreePages; v18 = v15 + s_allocTracker.mTotalPages; v19 = 0; s_allocTracker.mTotalPages += v15; v20 = &s_allocTracker.mFreePages; do { v19 += v20->pages[0]; v20 = (StreamerMemPageCounts *)((char *)v20 + 4); --v3; } while ( v3 ); if ( v19 > v18 ) { for ( j = 0i64; j != 2; ++j ) { v1 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); } if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 75, ASSERT_TYPE_ASSERT, "( mFreePages.TotalPages() ) <= ( mTotalPages )", "%s <= %s\n\t%u, %u", "mFreePages.TotalPages()", "mTotalPages", v1, v18) ) __debugbreak(); } } /* ============== Stream_Alloc_LoadedGeneric ============== */ void Stream_Alloc_LoadedGeneric(const StreamKey *streamKey) { unsigned int StreamKeyIndex; StreamFrontendGlob *v3; __int64 v4; unsigned int *mAlloc; unsigned int v6; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 389, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); StreamKeyIndex = DB_GetStreamKeyIndex(streamKey); v3 = streamFrontendGlob; v4 = (int)StreamKeyIndex; if ( StreamKeyIndex >= streamFrontendGlob->genericBits.mBitCount && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", StreamKeyIndex, streamFrontendGlob->genericBits.mBitCount) ) __debugbreak(); mAlloc = v3->genericBits.mAlloc; if ( !mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v6 = mAlloc[v4 >> 5]; if ( !_bittest((const int *)&v6, v4 & 0x1F) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 392, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->genericBits.CheckAlloc( keyIndex ))", (const char *)&queryFormat, "streamFrontendGlob->genericBits.CheckAlloc( keyIndex )") ) __debugbreak(); StreamableBits::SetInUse(&streamFrontendGlob->genericBits, v4); StreamKey_UserLoadedFrontend(streamKey); Stream_BackendQueue_QueueLoadGenericCmd(streamKey); } /* ============== Stream_Alloc_LoadedImage ============== */ void Stream_Alloc_LoadedImage(const GfxImage *image, unsigned int imagePart) { __int64 v3; unsigned int v4; unsigned int v5; __int64 v6; StreamFrontendGlob *v7; unsigned int *mAlloc; int v9; __int64 v10; StreamFrontendGlob *v11; unsigned int *mUse; StreamFrontendGlob *v13; int v14; unsigned int *v15; unsigned int v16; __int64 v17; __int64 v18; v3 = imagePart; if ( !image && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 344, ASSERT_TYPE_ASSERT, "(image)", (const char *)&queryFormat, "image") ) __debugbreak(); if ( (unsigned int)v3 >= 4 ) { LODWORD(v17) = v3; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 345, ASSERT_TYPE_ASSERT, "(unsigned)( imagePart ) < (unsigned)( IMAGE_STREAM_COUNT )", "imagePart doesn't index IMAGE_STREAM_COUNT\n\t%i not in [0, %i)", v17, 4) ) __debugbreak(); } if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 346, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); Stream_BackendQueue_QueueLoadImageCmd(image, v3); v4 = 4 * DB_GetGfxImageIndex(image); if ( !Dvar_GetBool_Internal_DebugName(DCONST_DVARBOOL_stream_concurrentImagePartLoading, "stream_concurrentImagePartLoading") && (_DWORD)v3 ) { v5 = v4; v6 = v3; do { v7 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v18) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v17) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v17, v18) ) __debugbreak(); } mAlloc = v7->imageBits.mAlloc; if ( !mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v9 = 1 << (v5 & 0x1F); v10 = (__int64)(int)v5 >> 5; if ( (v9 & mAlloc[v10]) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 364, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex ))", (const char *)&queryFormat, "streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex )") ) __debugbreak(); v11 = streamFrontendGlob; if ( v5 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v18) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v17) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 371, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v17, v18) ) __debugbreak(); } mUse = v11->imageBits.mUse; if ( !mUse && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); if ( (v9 & mUse[v10]) == 0 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 365, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->imageBits.CheckInUse( imagePartIndex ))", (const char *)&queryFormat, "streamFrontendGlob->imageBits.CheckInUse( imagePartIndex )") ) __debugbreak(); ++v5; --v6; } while ( v6 ); LODWORD(v3) = imagePart; } v13 = streamFrontendGlob; v14 = v4 + v3; if ( v4 + (unsigned int)v3 >= streamFrontendGlob->imageBits.mBitCount ) { LODWORD(v18) = streamFrontendGlob->imageBits.mBitCount; LODWORD(v17) = v4 + v3; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", v17, v18) ) __debugbreak(); } v15 = v13->imageBits.mAlloc; if ( !v15 && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v16 = v15[(__int64)v14 >> 5]; if ( !_bittest((const int *)&v16, v14 & 0x1F) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 371, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex ))", (const char *)&queryFormat, "streamFrontendGlob->imageBits.CheckAlloc( imagePartIndex )") ) __debugbreak(); StreamableBits::SetInUse(&streamFrontendGlob->imageBits, v14); } /* ============== Stream_Alloc_LoadedMesh ============== */ void Stream_Alloc_LoadedMesh(const XModelSurfs *mesh) { unsigned int XModelSurfsIndex; StreamFrontendGlob *v3; __int64 v4; unsigned int *mAlloc; unsigned int v6; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 378, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); XModelSurfsIndex = DB_GetXModelSurfsIndex(mesh); v3 = streamFrontendGlob; v4 = (int)XModelSurfsIndex; if ( XModelSurfsIndex >= streamFrontendGlob->meshBits.mBitCount && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_bits.h", 323, ASSERT_TYPE_ASSERT, "(unsigned)( index ) < (unsigned)( mBitCount )", "index doesn't index mBitCount\n\t%i not in [0, %i)", XModelSurfsIndex, streamFrontendGlob->meshBits.mBitCount) ) __debugbreak(); mAlloc = v3->meshBits.mAlloc; if ( !mAlloc && CoreAssert_Handler("c:\\workspace\\iw8\\shared\\codware\\core\\core_bitset.h", 12, ASSERT_TYPE_SANITY, "( array )", (const char *)&queryFormat, "array") ) __debugbreak(); v6 = mAlloc[v4 >> 5]; if ( !_bittest((const int *)&v6, v4 & 0x1F) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 381, ASSERT_TYPE_ASSERT, "(streamFrontendGlob->meshBits.CheckAlloc( meshIndex ))", (const char *)&queryFormat, "streamFrontendGlob->meshBits.CheckAlloc( meshIndex )") ) __debugbreak(); StreamableBits::SetInUse(&streamFrontendGlob->meshBits, v4); Stream_BackendQueue_QueueLoadMeshCmd(mesh); } /* ============== Stream_Alloc_RequestPagesForMemPaged ============== */ void Stream_Alloc_RequestPagesForMemPaged(StreamMemPool pool, unsigned int pageCount, bool backendFlushPossible, StreamUpdateId *updateId, StreamerMemPageCounts *pagesFreed) { __int64 v7; StreamerMemPageCounts *v9; int v10; unsigned int v11; StreamerMemPageCounts *v12; StreamerMemPageCounts *v13; __int64 v14; __int64 i; unsigned int mTotalPages; StreamAllocResult v17; StreamAllocResult v18; unsigned int v19; StreamerMemPageCounts *p_mFreePages; __int64 v21; unsigned int v22; const char *CurrentThreadContextName; ScopedCriticalSection v24; v7 = pageCount; v9 = pagesFreed; *pagesFreed = 0i64; Sys_ProfBeginNamedEvent(0xFF00FFFF, "StreamAlloc_Lock"); ScopedCriticalSection::ScopedCriticalSection(&v24, CRITSECT_STREAM_ALLOC, SCOPED_CRITSECT_NORMAL); Sys_ProfEndNamedEvent(); if ( streamFrontendGlob ) { LOBYTE(pagesFreed) = 0; v17 = Stream_Alloc_FreePagesForMemPaged(pool, v7, backendFlushPossible, updateId, (bool *)&pagesFreed); v18 = v17; if ( !(_BYTE)pagesFreed && v17 != TASK_CREATE_FAIL ) { Stream_BackendQueue_ForcedFlush(); v18 = Stream_Alloc_FreePagesForMemPaged(pool, v7, backendFlushPossible, updateId, (bool *)&pagesFreed); } Sys_LockRead(&s_allocTracker.mCS); v19 = 0; p_mFreePages = &s_allocTracker.mFreePages; v21 = 2i64; do { v19 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); --v21; } while ( v21 ); Sys_UnlockRead(&s_allocTracker.mCS); v22 = v7; if ( (unsigned int)v7 > v19 ) v22 = v19; StreamAllocTracker::RemovePages(&s_allocTracker, pool, v22, v9); if ( v18 != TASK_CREATE_FAIL && backendFlushPossible ) { CurrentThreadContextName = Sys_GetCurrentThreadContextName(); Com_PrintWarning(35, "Stream_Alloc_RequestPagesForMemPaged: %s thread failed to take %u pages (%zu kb) from the streamer with error result %d. Was able to still take %u pages. Streamer has %u pages free.\n", CurrentThreadContextName, (unsigned int)v7, (v7 << 6) & 0x3FFFFFFFFFFFFFi64, (unsigned __int8)v18, v22, v19 - v22); Stream_Alloc_Dump(); } } else { Sys_LockRead(&s_allocTracker.mCS); v10 = 0; v11 = 0; v12 = &s_allocTracker.mFreePages; v13 = &s_allocTracker.mFreePages; v14 = 2i64; do { v11 += v13->pages[0]; v13 = (StreamerMemPageCounts *)((char *)v13 + 4); --v14; } while ( v14 ); Sys_UnlockRead(&s_allocTracker.mCS); if ( (unsigned int)v7 <= v11 ) { Sys_LockRead(&s_allocTracker.mCS); for ( i = 0i64; i != 2; ++i ) { v10 += v12->pages[0]; v12 = (StreamerMemPageCounts *)((char *)v12 + 4); } Sys_UnlockRead(&s_allocTracker.mCS); Sys_LockRead(&s_allocTracker.mCS); mTotalPages = s_allocTracker.mTotalPages; Sys_UnlockRead(&s_allocTracker.mCS); if ( v10 != mTotalPages && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1791, ASSERT_TYPE_ASSERT, "(s_allocTracker.FreePageCount() == s_allocTracker.TotalPageCount())", (const char *)&queryFormat, "s_allocTracker.FreePageCount() == s_allocTracker.TotalPageCount()") ) __debugbreak(); StreamAllocTracker::RemovePages(&s_allocTracker, pool, v7, v9); } } ScopedCriticalSection::~ScopedCriticalSection(&v24); } /* ============== Stream_Alloc_ReturnPagesFromMemPaged ============== */ void Stream_Alloc_ReturnPagesFromMemPaged(const StreamerMemPageCounts *pages, StreamUpdateId updateID) { StreamAllocTracker::AddPages(&s_allocTracker, pages, updateID); } /* ============== Stream_Alloc_TakePagesForAllocate ============== */ char Stream_Alloc_TakePagesForAllocate(StreamMemPool pool, unsigned int pageCount, StreamDistance distance, StreamerMemLoan *optionalLoan, StreamerMemPageCounts *pagesReserved, StreamUpdateId *outUpdateId) { int v10; RuntimeEvictor *p_pagesTaken; __int64 v12; __int64 v13; int v14; RuntimeEvictor *v15; __int64 v16; unsigned int v17; StreamerMemPageCounts *p_mFreePages; StreamerMemPageCounts *v19; __int64 v20; int v21; StreamUpdateId mFreePagesUpdateID; bool outFlushedBackend; FastCriticalSectionScopeWrite v25; __int64 v26; RuntimeEvictor pagesTaken; v26 = -2i64; if ( optionalLoan ) { if ( !StreamerMemLoan::Ready(optionalLoan) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 1485, ASSERT_TYPE_ASSERT, "(loan->Ready())", (const char *)&queryFormat, "loan->Ready()") ) __debugbreak(); pagesTaken.mSortList = NULL; if ( StreamerMemLoan::TotalPages(optionalLoan) < pageCount ) StreamerMemLoan::TakeAllPages(optionalLoan, (StreamerMemPageCounts *)&pagesTaken); else StreamerMemLoan::TakePages(optionalLoan, pool, pageCount, (StreamerMemPageCounts *)&pagesTaken); v10 = 0; p_pagesTaken = &pagesTaken; v12 = 2i64; v13 = 2i64; do { v10 += LODWORD(p_pagesTaken->mSortList); p_pagesTaken = (RuntimeEvictor *)((char *)p_pagesTaken + 4); --v13; } while ( v13 ); if ( v10 ) { v25.cs = (FastCriticalSection *)&s_allocTracker; Sys_LockWrite(&s_allocTracker.mCS); s_allocTracker.mFreePages.pages[0] += LODWORD(pagesTaken.mSortList); s_allocTracker.mFreePages.pages[1] += HIDWORD(pagesTaken.mSortList); v14 = 0; v15 = &pagesTaken; v16 = 2i64; do { v14 += LODWORD(v15->mSortList); v15 = (RuntimeEvictor *)((char *)v15 + 4); --v16; } while ( v16 ); v17 = v14 + s_allocTracker.mTotalPages; s_allocTracker.mTotalPages += v14; p_mFreePages = &s_allocTracker.mFreePages; v19 = &s_allocTracker.mFreePages; v20 = 2i64; do { LODWORD(v16) = v19->pages[0] + v16; v19 = (StreamerMemPageCounts *)((char *)v19 + 4); --v20; } while ( v20 ); if ( (unsigned int)v16 > v17 ) { v21 = 0; do { v21 += p_mFreePages->pages[0]; p_mFreePages = (StreamerMemPageCounts *)((char *)p_mFreePages + 4); --v12; } while ( v12 ); if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 75, ASSERT_TYPE_ASSERT, "( mFreePages.TotalPages() ) <= ( mTotalPages )", "%s <= %s\n\t%u, %u", "mFreePages.TotalPages()", "mTotalPages", v21, v17) ) __debugbreak(); } mFreePagesUpdateID = 0i64; if ( s_allocTracker.mFreePagesUpdateID ) mFreePagesUpdateID = s_allocTracker.mFreePagesUpdateID; s_allocTracker.mFreePagesUpdateID = mFreePagesUpdateID; FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v25); } } pagesTaken.mDistance.mValue = distance.mValue; pagesTaken.mFailedToFree = 0; pagesTaken.mSortList = &streamFrontendGlob->sortLists[streamFrontendGlob->sortListRead]; outFlushedBackend = 0; if ( Stream_Alloc_FreePages_RuntimeEvictor_(&pagesTaken, 0, pool, pageCount, outUpdateId, &outFlushedBackend) != TASK_CREATE_FAIL ) return 0; StreamAllocTracker::TakeFreePages(&s_allocTracker, pool, pageCount, pagesReserved); return 1; } /* ============== Stream_GenericIsLoaded ============== */ bool Stream_GenericIsLoaded(const StreamKey *streamKey) { int StreamKeyIndex; if ( !streamKey->dataSize || (streamKey->flags & 2) != 0 ) return 1; StreamKeyIndex = DB_GetStreamKeyIndex(streamKey); return StreamableBits::CheckLoaded(&streamFrontendGlob->genericBits, StreamKeyIndex); } /* ============== Stream_GenericIsSafeToUse ============== */ char Stream_GenericIsSafeToUse(const StreamKey *streamKey) { int StreamKeyIndex; StreamKeyData *p_data; char v4; unsigned __int8 *data; if ( !streamKey->dataSize || (streamKey->flags & 2) != 0 ) return 1; StreamKeyIndex = DB_GetStreamKeyIndex(streamKey); if ( !StreamableBits::CheckLoaded(&streamFrontendGlob->genericBits, StreamKeyIndex) || RequestBits::CheckDanger(&streamFrontendGlob->genericRequest, StreamKeyIndex) || RequestBits::CheckFreeable(&streamFrontendGlob->genericRequest, StreamKeyIndex) ) return 0; p_data = &streamKey->data; v4 = 1; if ( (streamKey->flags & 2) != 0 ) data = (unsigned __int8 *)p_data->dataHandle.data; else data = Stream_AddressSpace_ResolveHandle(&p_data->dataHandle); if ( !data && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 807, ASSERT_TYPE_ASSERT, "(!isSafeToUse || streamKey->Data())", (const char *)&queryFormat, "!isSafeToUse || streamKey->Data()") ) { __debugbreak(); return 1; } return v4; } /* ============== Stream_MeshIsLoaded ============== */ bool Stream_MeshIsLoaded(const XModelSurfs *mesh) { int XModelSurfsIndex; if ( !XModelSurfs_IsStreamed(mesh) ) return 1; XModelSurfsIndex = DB_GetXModelSurfsIndex(mesh); return StreamableBits::CheckLoaded(&streamFrontendGlob->meshBits, XModelSurfsIndex); } /* ============== Stream_MeshIsSafeToUse ============== */ char Stream_MeshIsSafeToUse(const XModelSurfs *mesh) { int XModelSurfsIndex; XSurfaceShared *shared; char v5; unsigned __int8 *data; if ( !XModelSurfs_IsStreamed(mesh) ) return 1; XModelSurfsIndex = DB_GetXModelSurfsIndex(mesh); if ( !StreamableBits::CheckLoaded(&streamFrontendGlob->meshBits, XModelSurfsIndex) || RequestBits::CheckDanger(&streamFrontendGlob->meshRequest, XModelSurfsIndex) || RequestBits::CheckFreeable(&streamFrontendGlob->meshRequest, XModelSurfsIndex) ) return 0; shared = mesh->shared; v5 = 1; if ( (shared->flags & 1) != 0 ) data = Stream_AddressSpace_ResolveHandle(&mesh->shared->data.streamedDataHandle); else data = (unsigned __int8 *)shared->data.streamedDataHandle.data; if ( !data && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 779, ASSERT_TYPE_ASSERT, "(!isSafeToUse || mesh->shared->Data())", (const char *)&queryFormat, "!isSafeToUse || mesh->shared->Data()") ) { __debugbreak(); return 1; } return v5; } /* ============== StreamAllocTracker::TakeFreePages ============== */ void StreamAllocTracker::TakeFreePages(StreamAllocTracker *this, StreamMemPool poolPreference, unsigned int pageCount, StreamerMemPageCounts *outTakenPages) { __int64 v5; __int64 v7; __int64 v8; unsigned int v9; __int64 v10; unsigned int v11; FastCriticalSectionScopeWrite v12; unsigned int pageCounta; pageCounta = pageCount; v5 = (unsigned int)poolPreference; *outTakenPages = 0i64; if ( !Sys_InCriticalSection(CRITSECT_STREAM_ALLOC) && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 121, ASSERT_TYPE_ASSERT, "( Sys_InCriticalSection( CRITSECT_STREAM_ALLOC ) )", "CRITSECT_STREAM_ALLOC not locked") ) __debugbreak(); v12.cs = &this->mCS; if ( !this && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\qcommon\\threads_interlock.h", 228, ASSERT_TYPE_ASSERT, "(cs)", (const char *)&queryFormat, "cs") ) __debugbreak(); Sys_LockWrite(&this->mCS); if ( !StreamAllocTracker::TakeFreePagesFromPool(this, (StreamMemPool)v5, &pageCounta, outTakenPages) ) { v7 = 0i64; v8 = v5; v9 = pageCounta; while ( 1 ) { if ( v7 != v8 ) { StreamAllocTracker::AssertPageCountsCorrect(this); v10 = (unsigned int)v7; v11 = this->mFreePages.pages[v10]; if ( v9 <= v11 ) v11 = v9; v9 -= v11; StreamerMemPageCounts::RemovePages(&this->mFreePages, (StreamMemPool)v7, v11); outTakenPages->pages[v10] += v11; StreamAllocTracker::AssertPageCountsCorrect(this); if ( !v9 ) break; } if ( (unsigned __int64)++v7 >= 2 ) { if ( v9 && CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\stream_alloc.cpp", 139, ASSERT_TYPE_ASSERT, "( pageCount ) == ( 0 )", "%s == %s\n\t%u, %u", "pageCount", "0", v9, 0i64) ) __debugbreak(); break; } } } FastCriticalSectionScopeWrite::~FastCriticalSectionScopeWrite(&v12); } /* ============== StreamAllocTracker::TakeFreePagesFromPool ============== */ bool StreamAllocTracker::TakeFreePagesFromPool(StreamAllocTracker *this, StreamMemPool pool, unsigned int *pageCount, StreamerMemPageCounts *outTakenPages) { __int64 v5; unsigned int v8; __int64 v10; int v11; __int64 v12; int v13; v5 = (unsigned int)pool; StreamAllocTracker::AssertPageCountsCorrect(this); if ( (unsigned int)v5 >= 2 ) { v13 = 2; v11 = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\streamer_mem_loan.h", 32, ASSERT_TYPE_ASSERT, "(unsigned)( pool ) < (unsigned)( ( sizeof( *array_counter( pages ) ) + 0 ) )", "pool doesn't index ARRAY_COUNT( pages )\n\t%i not in [0, %i)", v11, v13) ) __debugbreak(); } v8 = *pageCount; if ( *pageCount > this->mFreePages.pages[v5] ) v8 = this->mFreePages.pages[v5]; *pageCount -= v8; StreamerMemPageCounts::RemovePages(&this->mFreePages, (StreamMemPool)v5, v8); if ( (unsigned int)v5 >= 2 ) { LODWORD(v12) = 2; LODWORD(v10) = v5; if ( CoreAssert_Handler("c:\\workspace\\iw8\\code_source\\src\\stream\\streamer_mem_loan.h", 48, ASSERT_TYPE_ASSERT, "(unsigned)( pool ) < (unsigned)( ( sizeof( *array_counter( pages ) ) + 0 ) )", "pool doesn't index ARRAY_COUNT( pages )\n\t%i not in [0, %i)", v10, v12) ) __debugbreak(); } outTakenPages->pages[v5] += v8; StreamAllocTracker::AssertPageCountsCorrect(this); return *pageCount == 0; }
[ "zkitx@zkitx.jp" ]
zkitx@zkitx.jp
e505a888c6713576dfa94878c7b265ceb4e3d3ef
ef99cef8dc1995c6535a131e46cd89dda30fcecd
/InitDialog.cpp
b7e6ee26745da36f1fd8800034b02cce2d768270
[]
no_license
sundapeng/snlcomplier
37b738db9631355621d872e4156c971927a6d7ce
13a5318454dcb9c405b0cfc29a3371df6274ee24
refs/heads/master
2016-09-05T15:44:33.901594
2010-07-02T04:56:09
2010-07-02T04:56:09
32,118,730
1
1
null
null
null
null
UTF-8
C++
false
false
10,616
cpp
// InitDialog.cpp : implementation file // #include "stdafx.h" #include "AI3.h" #include "InitDialog.h" ///////////////////////////////////////////////////////////////////////////// // CInitDialog dialog CInitDialog::CInitDialog(CWnd* pParent /*=NULL*/) : CDialog(CInitDialog::IDD, pParent) { } void CInitDialog::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Control(pDX, IDC_ED1, m_ED1); DDX_Control(pDX, IDC_ED2, m_ED2); DDX_Control(pDX, IDC_ED3, m_ED3); DDX_Control(pDX, IDC_ED4, m_ED4); DDX_Control(pDX, IDC_ED5, m_ED5); DDX_Control(pDX, IDC_ED6, m_ED6); DDX_Control(pDX, IDC_ED7, m_ED7); DDX_Control(pDX, IDC_ED8, m_ED8); DDX_Control(pDX, IDC_ED9, m_ED9); DDX_Control(pDX, IDC_ST1, m_ST1); DDX_Control(pDX, IDC_ST2, m_ST2); DDX_Control(pDX, IDC_ST3, m_ST3); DDX_Control(pDX, IDC_ST4, m_ST4); DDX_Control(pDX, IDC_ST5, m_ST5); DDX_Control(pDX, IDC_ST6, m_ST6); DDX_Control(pDX, IDC_ST7, m_ST7); DDX_Control(pDX, IDC_ST8, m_ST8); DDX_Control(pDX, IDC_ST9, m_ST9); } BEGIN_MESSAGE_MAP(CInitDialog, CDialog) ON_BN_CLICKED(IDC_ST1, OnSrcButton1) ON_BN_CLICKED(IDC_ST2, OnSrcButton2) ON_BN_CLICKED(IDC_ST3, OnSrcButton3) ON_BN_CLICKED(IDC_ST4, OnSrcButton4) ON_BN_CLICKED(IDC_ST5, OnSrcButton5) ON_BN_CLICKED(IDC_ST6, OnSrcButton6) ON_BN_CLICKED(IDC_ST7, OnSrcButton7) ON_BN_CLICKED(IDC_ST8, OnSrcButton8) ON_BN_CLICKED(IDC_ST9, OnSrcButton9) ON_BN_CLICKED(IDC_ED1, OnDescButton1) ON_BN_CLICKED(IDC_ED2, OnDescButton2) ON_BN_CLICKED(IDC_ED3, OnDescButton3) ON_BN_CLICKED(IDC_ED4, OnDescButton4) ON_BN_CLICKED(IDC_ED5, OnDescButton5) ON_BN_CLICKED(IDC_ED6, OnDescButton6) ON_BN_CLICKED(IDC_ED7, OnDescButton7) ON_BN_CLICKED(IDC_ED8, OnDescButton8) ON_BN_CLICKED(IDC_ED9, OnDescButton9) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CInitDialog message handlers BOOL CInitDialog::OnInitDialog() { CDialog::OnInitDialog(); int k=1; for(int i=0;i<MaxItem;i++) for(int j=0;j<MaxItem;j++) { m_Src[i][j] = k; m_Desc[i][j] = k++; } m_Src[MaxItem-1][MaxItem-1] = 0; m_Desc[MaxItem-1][MaxItem-1] = 0; UpdateSrcRadio(); UpdateDescRadio(); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } int CInitDialog::GetSrcData(int i,int j) { return m_Src[i][j]; } DataType CInitDialog::GetDescData(int i,int j) { return m_Desc[i][j]; } void CInitDialog::OnSrcButton1() { if(m_Src[0][1] ==0 ) { m_Src[0][1] = m_Src[0][0]; m_Src[0][0] = 0; } else if(m_Src[1][0] == 0) { m_Src[1][0] = m_Src[0][0]; m_Src[0][0] = 0; } else m_ST1.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton2() { if(m_Src[0][0] ==0 ) { m_Src[0][0] = m_Src[0][1]; m_Src[0][1] = 0; } else if(m_Src[1][1] == 0) { m_Src[1][1] = m_Src[0][1]; m_Src[0][1] = 0; } else if(m_Src[0][2] == 0) { m_Src[0][2] = m_Src[0][1]; m_Src[0][1] = 0; } else m_ST2.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton3() { if(m_Src[0][1] ==0 ) { m_Src[0][1] = m_Src[0][2]; m_Src[0][2] = 0; } else if(m_Src[1][2] == 0) { m_Src[1][2] = m_Src[0][2]; m_Src[0][2] = 0; } else m_ST3.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton4() { if(m_Src[1][1] == 0) { m_Src[1][1] = m_Src[1][0]; m_Src[1][0] = 0; } else if(m_Src[0][0] == 0) { m_Src[0][0] = m_Src[1][0]; m_Src[1][0] = 0; } else if(m_Src[2][0] == 0) { m_Src[2][0] = m_Src[1][0]; m_Src[1][0] = 0; } else m_ST4.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton5() { if(m_Src[1][2] ==0 ) { m_Src[1][2] = m_Src[1][1]; m_Src[1][1] = 0; } else if(m_Src[1][0] == 0) { m_Src[1][0] = m_Src[1][1]; m_Src[1][1] = 0; } else if(m_Src[0][1] == 0) { m_Src[0][1] = m_Src[1][1]; m_Src[1][1] = 0; } else if(m_Src[2][1] == 0) { m_Src[2][1] = m_Src[1][1]; m_Src[1][1] = 0; } else m_ST5.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton6() { if(m_Src[2][2] ==0 ) { m_Src[2][2] = m_Src[1][2]; m_Src[1][2] = 0; } else if(m_Src[0][2] == 0) { m_Src[0][2] = m_Src[1][2]; m_Src[1][2] = 0; } else if(m_Src[1][1] == 0) { m_Src[1][1] = m_Src[1][2]; m_Src[1][2] = 0; } else m_ST6.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton7() { if(m_Src[1][0] ==0 ) { m_Src[1][0] = m_Src[2][0]; m_Src[2][0] = 0; } else if(m_Src[2][1] == 0) { m_Src[2][1] = m_Src[2][0]; m_Src[2][0] = 0; } else m_ST7.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton8() { if(m_Src[2][0] ==0 ) { m_Src[2][0] = m_Src[2][1]; m_Src[2][1] = 0; } else if(m_Src[2][2] == 0) { m_Src[2][2] = m_Src[2][1]; m_Src[2][1] = 0; } else if(m_Src[1][1] == 0) { m_Src[1][1] = m_Src[2][1]; m_Src[2][1] = 0; } else m_ST8.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnSrcButton9() { if(m_Src[2][1] ==0 ) { m_Src[2][1] = m_Src[2][2]; m_Src[2][2] = 0; } else if(m_Src[1][2] == 0) { m_Src[1][2] = m_Src[2][2]; m_Src[2][2] = 0; } else m_ST9.SetCheck(false); UpdateSrcRadio(); } void CInitDialog::OnDescButton1() { if(m_Desc[0][1] ==0 ) { m_Desc[0][1] = m_Desc[0][0]; m_Desc[0][0] = 0; } else if(m_Desc[1][0] == 0) { m_Desc[1][0] = m_Desc[0][0]; m_Desc[0][0] = 0; } else m_ED1.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton2() { if(m_Desc[0][0] ==0 ) { m_Desc[0][0] = m_Desc[0][1]; m_Desc[0][1] = 0; } else if(m_Desc[1][1] == 0) { m_Desc[1][1] = m_Desc[0][1]; m_Desc[0][1] = 0; } else if(m_Desc[0][2] == 0) { m_Desc[0][2] = m_Desc[0][1]; m_Desc[0][1] = 0; } else m_ED2.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton3() { if(m_Desc[0][1] ==0 ) { m_Desc[0][1] = m_Desc[0][2]; m_Desc[0][2] = 0; } else if(m_Desc[1][2] == 0) { m_Desc[1][2] = m_Desc[0][2]; m_Desc[0][2] = 0; } else m_ED3.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton4() { if(m_Desc[1][1] == 0) { m_Desc[1][1] = m_Desc[1][0]; m_Desc[1][0] = 0; } else if(m_Desc[0][0] == 0) { m_Desc[0][0] = m_Desc[1][0]; m_Desc[1][0] = 0; } else if(m_Desc[2][0] == 0) { m_Desc[2][0] = m_Desc[1][0]; m_Desc[1][0] = 0; } else m_ED4.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton5() { if(m_Desc[1][2] ==0 ) { m_Desc[1][2] = m_Desc[1][1]; m_Desc[1][1] = 0; } else if(m_Desc[1][0] == 0) { m_Desc[1][0] = m_Desc[1][1]; m_Desc[1][1] = 0; } else if(m_Desc[0][1] == 0) { m_Desc[0][1] = m_Desc[1][1]; m_Desc[1][1] = 0; } else if(m_Desc[2][1] == 0) { m_Desc[2][1] = m_Desc[1][1]; m_Desc[1][1] = 0; } else m_ED5.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton6() { if(m_Desc[2][2] ==0 ) { m_Desc[2][2] = m_Desc[1][2]; m_Desc[1][2] = 0; } else if(m_Desc[0][2] == 0) { m_Desc[0][2] = m_Desc[1][2]; m_Desc[1][2] = 0; } else if(m_Desc[1][1] == 0) { m_Desc[1][1] = m_Desc[1][2]; m_Desc[1][2] = 0; } else m_ED6.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton7() { if(m_Desc[1][0] ==0 ) { m_Desc[1][0] = m_Desc[2][0]; m_Desc[2][0] = 0; } else if(m_Desc[2][1] == 0) { m_Desc[2][1] = m_Desc[2][0]; m_Desc[2][0] = 0; } else m_ED7.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton8() { if(m_Desc[2][0] ==0 ) { m_Desc[2][0] = m_Desc[2][1]; m_Desc[2][1] = 0; } else if(m_Desc[2][2] == 0) { m_Desc[2][2] = m_Desc[2][1]; m_Desc[2][1] = 0; } else if(m_Desc[1][1] == 0) { m_Desc[1][1] = m_Desc[2][1]; m_Desc[2][1] = 0; } else m_ED8.SetCheck(false); UpdateDescRadio(); } void CInitDialog::OnDescButton9() { if(m_Desc[2][1] ==0 ) { m_Desc[2][1] = m_Desc[2][2]; m_Desc[2][2] = 0; } else if(m_Desc[1][2] == 0) { m_Desc[1][2] = m_Desc[2][2]; m_Desc[2][2] = 0; } else m_ED9.SetCheck(false); UpdateDescRadio(); } void CInitDialog::UpdateSrcRadio() { CString Msg; if(m_Src[0][0] == 0) {Msg = "";m_ST1.SetCheck(1);} else Msg.Format("%d",m_Src[0][0]); m_ST1.SetWindowText(Msg); if(m_Src[0][1] == 0) {Msg = "";m_ST2.SetCheck(1);} else Msg.Format("%d",m_Src[0][1]); m_ST2.SetWindowText(Msg); if(m_Src[0][2] == 0) {Msg = "";m_ST3.SetCheck(1);} else Msg.Format("%d",m_Src[0][2]); m_ST3.SetWindowText(Msg); if(m_Src[1][0] == 0) {Msg = "";m_ST4.SetCheck(1);} else Msg.Format("%d",m_Src[1][0]); m_ST4.SetWindowText(Msg); if(m_Src[1][1] == 0) {Msg = "";m_ST5.SetCheck(1);} else Msg.Format("%d",m_Src[1][1]); m_ST5.SetWindowText(Msg); if(m_Src[1][2] == 0) {Msg = "";m_ST6.SetCheck(1);} else Msg.Format("%d",m_Src[1][2]); m_ST6.SetWindowText(Msg); if(m_Src[2][0] == 0) {Msg = "";m_ST7.SetCheck(1);} else Msg.Format("%d",m_Src[2][0]); m_ST7.SetWindowText(Msg); if(m_Src[2][1] == 0) {Msg = "";m_ST8.SetCheck(1);} else Msg.Format("%d",m_Src[2][1]); m_ST8.SetWindowText(Msg); if(m_Src[2][2] == 0) {Msg = "";m_ST9.SetCheck(1);} else Msg.Format("%d",m_Src[2][2]); m_ST9.SetWindowText(Msg); } void CInitDialog::UpdateDescRadio() { CString Msg; if(m_Desc[0][0] == 0) {Msg = "";m_ED1.SetCheck(1);} else Msg.Format("%d",m_Desc[0][0]); m_ED1.SetWindowText(Msg); if(m_Desc[0][1] == 0) {Msg = "";m_ED2.SetCheck(1);} else Msg.Format("%d",m_Desc[0][1]); m_ED2.SetWindowText(Msg); if(m_Desc[0][2] == 0) {Msg = "";m_ED3.SetCheck(1);} else Msg.Format("%d",m_Desc[0][2]); m_ED3.SetWindowText(Msg); if(m_Desc[1][0] == 0) {Msg = "";m_ED4.SetCheck(1);} else Msg.Format("%d",m_Desc[1][0]); m_ED4.SetWindowText(Msg); if(m_Desc[1][1] == 0) {Msg = "";m_ED5.SetCheck(1);} else Msg.Format("%d",m_Desc[1][1]); m_ED5.SetWindowText(Msg); if(m_Desc[1][2] == 0) {Msg = "";m_ED6.SetCheck(1);} else Msg.Format("%d",m_Desc[1][2]); m_ED6.SetWindowText(Msg); if(m_Desc[2][0] == 0) {Msg = "";m_ED7.SetCheck(1);} else Msg.Format("%d",m_Desc[2][0]); m_ED7.SetWindowText(Msg); if(m_Desc[2][1] == 0) {Msg = "";m_ED8.SetCheck(1);} else Msg.Format("%d",m_Desc[2][1]); m_ED8.SetWindowText(Msg); if(m_Desc[2][2] == 0) {Msg = "";m_ED9.SetCheck(1);} else Msg.Format("%d",m_Desc[2][2]); m_ED9.SetWindowText(Msg); }
[ "starzacharystar@gmail.com@a7bbafab-dc4b-51e6-8110-5f81b14c7997" ]
starzacharystar@gmail.com@a7bbafab-dc4b-51e6-8110-5f81b14c7997
a11b77ff56c27372317fe19448e27671fa4c58b4
82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5
/Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.2/omega
422bb79da6ee55062d3a2f3b4c6a60f9daa27d22
[ "MIT" ]
permissive
ishantja/KUHPC
6355c61bf348974a7b81b4c6bf8ce56ac49ce111
74967d1b7e6c84fdadffafd1f7333bf533e7f387
refs/heads/main
2023-01-21T21:57:02.402186
2020-11-19T13:10:42
2020-11-19T13:10:42
312,429,902
0
0
null
null
null
null
UTF-8
C++
false
false
156,016
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "2.2"; object omega; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 -1 0 0 0 0]; internalField nonuniform List<scalar> 12556 ( 31.930685 31.93150147 31.93239649 31.93323048 31.96664836 31.96716421 31.96755397 31.96830942 31.96981939 31.97255359 31.97685343 31.98227596 31.98657362 31.98833068 31.98597367 31.98140532 31.97644835 31.97199797 31.96994558 31.96805494 31.93465994 31.9333744 31.93227924 31.93125129 31.79367103 31.79617231 31.79884283 31.80126289 31.83531171 31.83710825 31.83918701 31.85826776 31.86510719 31.8776206 31.89747052 31.92279273 31.94484785 31.95384439 31.945625 31.92496585 31.90115341 31.88152967 31.85273319 31.84329298 31.80588215 31.80228685 31.79903603 31.79603805 31.65832527 31.66271838 31.66730615 31.67111685 31.70572132 31.70910262 31.71377951 31.73695268 31.75330009 31.78267101 31.82956278 31.88772452 31.9324052 31.95025789 31.93367807 31.88867366 31.83743723 31.79303027 31.74506267 31.72452641 31.68128672 31.67454982 31.66889089 31.66392717 31.52440709 31.53028986 31.53647377 31.54171996 31.57728654 31.58309972 31.59270943 31.62433595 31.65820933 31.7230049 31.82437758 31.94833394 32.03779246 32.05939525 32.00561351 31.91790746 31.82112612 31.73484747 31.65591877 31.61672922 31.56173991 31.55039885 31.54171598 31.53463128 31.39259739 31.4001691 31.40803288 31.41477153 31.45129501 31.46033566 31.47705068 31.52215852 31.59261328 31.72844021 31.967264 32.28441317 32.52782501 32.5065027 32.30936319 32.0870803 31.89219046 31.7276731 31.59575519 31.52411726 31.44914591 31.43027748 31.41749468 31.40775287 31.26206225 31.27097187 31.28036594 31.28888197 31.32792021 31.34231892 31.37125896 31.43752108 31.56479616 31.85395045 32.46564159 33.56762597 34.49170166 34.12140827 33.20839393 32.55441733 32.12434864 31.7995207 31.56939263 31.4503932 31.344797 31.31309376 31.29472421 31.28208542 31.13357582 31.14418254 31.15548199 31.16618497 31.20725563 31.22878564 31.27487557 31.37283262 31.58694505 32.1676308 33.70830538 38.66252578 44.89925757 41.82736669 35.66084976 33.58866397 32.60531294 31.99221011 31.58456343 31.39783345 31.24823648 31.19966517 31.17358995 31.15732565 31.00691484 31.01889231 31.03205444 31.04533143 31.09029893 31.12076376 31.18823807 31.32183409 31.65379227 32.63119451 35.72849098 51.35783534 67.15967235 41.40700072 35.46705385 33.40822217 32.32781411 31.64998011 31.3633672 31.16017451 31.0894892 31.05336451 31.03281308 30.88303871 30.8970301 30.91272742 30.92936234 30.97801069 31.01902404 31.11044263 31.28080312 31.74477387 33.10077201 37.3451782 60.46794526 123.710321 49.99253433 38.09963192 34.48697137 32.78267837 31.76174524 31.34538138 31.08028536 30.98447796 30.93625088 30.91071361 30.76192793 30.77740874 30.79557115 30.81594961 30.87071914 30.92313799 31.03913284 31.24574919 31.83306786 33.47055272 38.27291913 66.87821131 154.3331852 57.55802306 40.86356843 35.70075503 33.30210508 31.90134536 31.34197055 31.00850349 30.88525933 30.82345183 30.79234391 30.64503701 30.66283743 30.6840121 30.70901451 30.76819065 30.8325098 30.97223209 31.21544369 31.91594628 33.77218524 39.02433544 75.51069713 154.6881995 62.04279529 43.24135266 36.84883377 33.81352859 32.04316202 31.3459995 30.94424895 30.79441205 30.71847164 30.68126063 30.53125857 30.55072168 30.57457071 30.60450017 30.66956849 30.74609531 30.90774631 31.18853592 31.99109394 34.04468589 39.88641722 85.97366211 143.336378 63.89956322 44.94580525 37.77308068 34.23874175 32.16524275 31.35277526 30.88665577 30.71071509 30.62119212 30.57771517 30.42253362 30.44422338 30.47159675 30.50667924 30.57394814 30.66255341 30.84398308 31.16150363 32.0593254 34.31145266 41.05486977 95.97246074 630.5847204 123.7100168 64.22729752 45.96503629 38.45530614 34.54279376 32.2525005 31.35427305 30.83296745 30.63519085 30.53265804 30.4831023 30.31606245 30.33971426 30.37036902 30.40990108 30.4838546 30.58815535 30.7929925 31.14569558 32.15336405 34.67929573 43.00054764 144.3542382 395.7806226 115.2470019 63.97696552 46.67074478 38.83333549 34.70246649 32.30270649 31.34417602 30.77834315 30.56350946 30.44955024 30.39454953 30.21353592 30.23917865 30.27288437 30.31604793 30.39342715 30.50829279 30.726435 31.09902359 32.1338602 34.7755996 45.04508323 475.4312344 283.1687977 107.9472095 63.51432078 46.91537038 39.0115284 34.7446095 32.30722676 31.32029034 30.72340014 30.4949808 30.37067694 30.31075886 30.11120295 30.13868176 30.17528254 30.22239903 30.3039551 30.42697935 30.6561988 31.03556854 32.04409257 34.64685473 45.99133667 621.8554685 257.5180445 106.4125634 64.03322028 47.15931411 38.9766691 34.69658262 32.28010453 31.28233096 30.66186083 30.42302545 30.29150591 30.22744599 30.01153012 30.04086206 30.07999655 30.12992533 30.2141493 30.34315024 30.58142778 30.96751736 31.92432911 34.36082644 44.80917892 407.890674 277.3952557 110.1529879 65.31758295 47.34946741 38.82070109 34.61046928 32.22746995 31.231499 30.5957535 30.34978239 30.21139097 30.14364414 29.90975016 29.94066401 29.98219502 30.0354198 30.12320169 30.25623679 30.50105758 30.90070979 31.82725272 34.09142821 43.27156736 252.8387577 323.9141207 116.0185675 66.27486315 47.12011687 38.59394778 34.50004192 32.15412967 31.16429715 30.51907532 30.26804884 30.12589345 30.05518884 29.80989434 29.84227864 29.88583196 29.94109913 30.0304778 30.16611476 30.41547289 30.8258232 31.7714399 34.02723883 43.03862616 199.9589691 344.6010622 117.7732201 65.63851251 46.62022585 38.38048666 34.38040902 32.0690148 31.08586759 30.43566884 30.18181239 30.03674388 29.9641665 29.70611896 29.73956148 29.78501736 29.84319133 29.93574492 30.07304665 30.32563976 30.74441128 31.70927997 34.07844737 44.42215711 213.5439347 316.4695611 114.5307095 64.75076775 46.21383818 38.19190203 34.26029234 31.9759185 30.99823163 30.34327444 30.08708324 29.93998096 29.86621463 29.60470038 29.63898214 29.68584496 29.74542806 29.83877365 29.97743951 30.23269137 30.65886142 31.64360679 34.14266087 46.22544584 222.7544565 291.3136732 111.8166139 64.19381551 45.91826198 38.02992737 34.14190448 31.87631269 30.9028466 30.24599658 29.9891057 29.84078419 29.76629202 29.49802 29.53270081 29.58086319 29.64304202 29.73967918 29.87970163 30.13763856 30.5711287 31.57797185 34.22502699 48.35064034 224.0471028 272.3467603 109.6385633 63.83461671 45.74546392 37.89365585 34.02408553 31.7707659 30.8008447 30.14089718 29.88294024 29.73386129 29.65919373 29.39535175 29.43023084 29.47910711 29.54190845 29.6385068 29.7802177 30.04123516 30.48249027 31.51428838 34.3368277 50.41220415 220.9671272 257.404102 107.8437796 63.59792081 45.67273291 37.78091298 33.90551888 31.66001026 30.69331059 30.0337596 29.77637451 29.62713473 29.55255881 29.28603627 29.3207722 29.37041031 29.43555045 29.5357672 29.67938603 29.94401882 30.39385815 31.45433605 34.50326868 52.12624458 215.2112146 245.0486702 106.3453327 63.44961605 45.65963917 37.68568767 33.78594071 31.5452697 30.58144648 29.91987968 29.66191008 29.51261366 29.43844589 29.18348955 29.21797785 29.26779413 29.33278418 29.43174728 29.57768779 29.84643636 30.30577228 31.39984994 34.74134045 53.46790729 207.8593373 234.7625021 105.0902324 63.36625227 45.67076961 37.59968085 33.66606953 31.42811288 30.46644592 29.80726304 29.55062069 29.40173349 29.32805447 29.07213226 29.10615803 29.15642752 29.22382993 29.32723779 29.47566693 29.74903261 30.21862989 31.35243255 35.0326347 54.48491509 199.6477619 225.8384785 104.0680632 63.34717233 45.68923483 37.51650999 33.54710026 31.31010619 30.3495606 29.68793797 29.43048339 29.28175851 29.20870151 28.97151746 29.00507269 29.05522415 29.12186354 29.22242969 29.37388835 29.65260754 30.13349346 31.31494956 35.33353313 55.15135165 190.1043874 219.0903501 103.4004894 63.36923086 45.69353071 37.43042965 33.43011091 31.19255286 30.23178084 29.57372191 29.31796372 29.16980981 29.09733631 28.85835511 28.8913124 28.94179975 29.01126691 29.11814813 29.27283045 29.55806717 30.0523808 31.29239656 35.62143725 55.50687165 179.7238313 213.7628106 102.858525 63.31626 45.64169012 37.33441765 33.31558775 31.07633591 30.11402085 29.45096606 29.19358645 29.04548661 28.97362411 28.76160565 28.79402983 28.84428625 28.91247792 29.01418571 29.17284872 29.46615561 29.97778641 31.29344252 35.92409371 55.8181242 171.0607629 206.9865132 101.7779562 63.00262777 45.50518623 37.22597324 33.20380396 30.96197673 29.99674165 29.33847293 29.08298489 28.93537247 28.8640247 28.64609451 28.67789341 28.72844857 28.80003319 28.91143987 29.07417311 29.37723827 29.91156672 31.32755478 36.29568723 56.43098166 166.3271184 197.1562296 99.8187821 62.42429824 45.29961518 37.10899039 33.09496382 30.84969898 29.88051359 29.21261465 28.9543733 28.80658596 28.73574281 28.5553533 28.58665222 28.6369968 28.70692544 28.80921878 28.97695064 29.29139784 29.85436092 31.3972011 36.75800297 57.46465118 164.9980056 185.78236 97.29837118 61.69414425 45.0588312 36.98858279 32.98897789 30.73953188 29.76533723 29.10516816 28.84895785 28.7014525 28.63099252 28.43594639 28.46664342 28.51724724 28.5909577 28.70877733 28.88132086 29.20867876 29.80609466 31.49773984 37.28155659 58.72067679 165.00024 174.8566052 94.66103176 60.92160785 44.80666397 36.86742211 32.88542939 30.63139504 29.65169212 28.97448397 28.71448817 28.56660956 28.49652556 28.35393985 28.3842236 28.43474998 28.50692277 28.60884951 28.78745449 29.12925292 29.76653876 31.62129233 37.82635394 59.98595374 164.888676 165.0628219 92.11411706 60.15363531 44.55182291 36.74595804 32.78372743 30.52521182 29.53926982 28.87654089 28.61835442 28.47047292 28.40062822 28.22778808 28.2575069 28.30822964 28.38368559 28.51161366 28.69569908 29.05350275 29.73584562 31.7622272 38.3704594 61.17576894 164.3876678 156.3903077 89.70079248 59.40006639 44.29553207 36.62373295 32.68334501 30.42109776 29.42898993 28.73629915 28.47434051 28.32597983 28.25638995 28.15821257 28.18764951 28.23847921 28.31411023 28.41534426 28.60672039 28.98222932 29.7140011 31.91707274 38.90708088 62.28233715 163.5448104 148.7018165 87.42041655 58.66077421 44.03712572 36.50009377 32.58376463 30.31966791 29.32083374 28.65532546 28.39318466 28.24451844 28.17502016 27.99812069 28.02697083 28.07816791 28.15718622 28.32478337 28.52203047 28.91733096 29.70115821 32.08258158 39.43132679 63.30939269 162.4426292 141.8788581 85.28069228 57.94078063 43.77778378 36.37504759 32.48479528 30.22276948 29.21803913 28.47496013 28.20857844 28.05903747 27.98967528 59.91545619 144.5787124 75.14556828 65.89862324 184.4613162 150.0404445 74.4077572 182.7444999 185.9396517 84.69240716 165.6155743 180.6839701 94.90397986 770.7805438 659.1654383 149.1700876 163.1172367 123.9199915 487.4735599 755.6034671 412.6014382 145.0503983 147.5672446 49.36253658 44.17417992 69.10994312 41.67034803 403.4363408 146.8038026 117.3091619 54.06806133 44.70248465 38.08169352 56.66003769 53.2168918 1328.212771 934.8095459 152.5789851 65.31002649 57.22272636 38.86001779 62.69070933 57.28535136 70.0858034 203.8651236 179.7978084 779.2481905 1053.30337 155.7060679 71.52383673 67.36751843 39.71418698 70.03002017 63.52902745 79.057394 308.8356609 240.3765207 453.8799726 592.3454529 40.81017877 79.91023744 70.98594172 88.07595174 495.5278075 387.3042895 1709.66694 296.8075626 346.0273597 42.6814272 100.7708007 81.43843061 104.5093239 1137.253475 730.5481188 149.9126867 373.5314733 480.1328798 140.7972517 169.6629766 90.61332192 135.79698 908.7251218 423.9456539 114.0042704 345.6916038 644.836872 176.833356 157.3164721 63.00789748 208.2923694 225.016605 175.2622188 204.9917847 1064.322882 1330.251346 169.672578 941.235424 830.6892216 666.3848194 937.8753505 167.3633511 236.8984016 207.835177 71.17795608 270.383762 316.8076342 227.2516996 267.0066849 617.6731857 763.1380379 186.3821242 590.1380335 470.4018739 822.6594601 610.0695433 187.0150307 382.6833564 312.3923829 80.32802574 387.5907076 495.4164739 319.8806592 383.264843 356.2722133 438.1651477 718.8065995 505.852389 88.46918818 2542.309853 700.7252901 1092.545508 501.0280103 683.1660045 2952.557051 273.0228661 291.8192149 1508.387258 8564.639604 1148.499533 105.9380385 557.0801679 1807.773255 7655.747931 1102.389917 1774.657815 572.0964942 37.0323706 52.74697376 46.18729685 56.34149536 112.0741243 79.59785658 2276.103974 395.9684716 62.47610479 154.9606936 134.7423157 4889.780878 145.1661624 73.4417994 72.32134484 5260.637929 648.8108294 720.5832997 501.3151104 242.4319095 263.7857112 131.5197897 114.8968938 57.45813214 1268.546963 193.7137782 460.4411765 124.079283 307.2788777 105.501269 736.5827091 935.9996914 172.0812897 362.5695008 308.5594655 455.5498925 372.5078771 174.5374137 1058.790029 4041.508821 667.5641316 66.71805138 55.82696523 83.64364035 129.1614844 65.82261241 69.49973622 3059.72637 285.0508728 2174.21251 303.7313907 1605.658591 257.3212848 1082.015832 1067.409066 890.7958527 909.8332361 1758.069593 4050.646321 506.1795422 2103.664803 1165.801983 4567.129733 2493.78874 526.3747489 426.5995186 156.0504919 163.9716525 545.3728698 618.6573357 4651.463609 795.0620015 210.2917998 224.6628337 193.2940419 204.9346696 791.4894735 1087.229741 1268.334861 151.950647 777.2410804 604.1131135 1255.428666 779.8699521 155.3467052 112.9292444 324.4947517 158.4194162 524.7456415 352.1489245 120.3252195 485.2973469 770.5441103 642.0287184 609.730931 210.8618687 1446.251397 211.4627246 188.4603693 1364.706064 1278.925195 1436.344197 1375.550896 192.4607731 1121.711604 1132.173005 875.7221109 310.7928162 302.7827411 312.8740793 312.0153684 870.0061785 792.5604942 276.6808379 254.140309 298.9515006 283.257907 807.9905793 291.510327 294.5094341 244.1425774 246.5922097 653.9675562 4744.686441 665.740309 420.3282227 427.5504278 350.5146223 354.8785654 1102.407171 813.3948601 398.3417826 990.0646116 1631.322198 563.3923092 179.0112287 189.3486726 166.8368768 175.8225235 553.8632648 1158.321688 751.6259625 765.6673335 541.9073206 547.0251399 5496.677906 898.9144077 469.953756 523.8069794 230.9176083 243.6691319 1432.900296 2904.761087 1274.124724 2210.755322 1145.182233 6217.355486 2490.067747 5294.965503 1141.28491 636.8847752 3636.053698 1613.487516 2734.810134 1653.195187 2247.497115 44.54328818 110.3755104 103.8971689 162.8948708 4204.377191 7801.647093 295.6783967 132.5787798 142.0562987 939.8206769 2621.548833 3799.340855 415.1327091 453.1989686 845.3689304 223.1484307 235.5737413 488.3488118 128.1320723 93.18206494 178.0777779 321.3305438 115.7756682 133.4951943 1248.867072 2974.138065 3119.628761 1001.276363 828.2247964 2278.868261 1680.999034 3828.888021 3792.581417 1008.4869 281.1594202 124.8205063 129.7151463 118.8119607 123.2645548 275.2825555 146.8424261 153.7126381 421.5595571 1043.851062 398.3798734 419.1909264 6410.408889 3092.985806 447.0432587 788.3440059 2676.336599 2959.87719 456.016267 205.8951807 174.0653146 245.0583601 216.7173326 475.8936148 1091.161077 3759.946972 3833.119997 1269.083958 223.6341381 113.3244417 117.4088975 678.4142742 662.8753486 306.9025474 1591.81336 1467.724401 721.6335237 535.5298872 283.2337955 293.3111646 741.3760143 307.5793564 312.2082036 296.8420897 305.051495 728.6918456 343.2406688 138.6914457 144.7353035 131.4187469 136.7902183 338.5871449 400.6069552 1017.126602 1005.24454 1652.803151 1600.940162 472.7326141 331.6947727 719.1395392 681.0530133 1000.063995 991.1348627 370.9186577 386.1195143 784.5155868 634.4989448 5727.091133 1710.008421 726.5638546 915.2313462 517.965702 1690.014267 1660.968993 1701.581193 593.8519146 4531.588605 8861.474826 313.8864608 366.6381825 427.0858846 446.211636 1160.60465 1466.837191 940.7100842 516.6909369 1830.135407 7855.409965 1375.949652 1203.566015 16134.71043 1115.303684 1685.905822 1362.012708 1637.281252 1225.218767 4841.42385 4917.037369 1132.124152 1472.56966 5475.558079 1338.727598 1272.868276 299.092548 1093.039919 443.9726621 1092.784665 325.0929024 3728.612469 2490.051542 829.1021743 4470.597512 5249.571427 4231.833557 2838.707231 899.6861438 4405.22032 5579.38389 2802.13507 4165.513349 5926.383085 1599.004672 2425.488812 1126.543141 1424.030798 5321.610734 3119.953901 919.5403899 575.754934 1481.695197 1009.889994 521.2089584 333.5045986 910.1627594 3285.080024 4161.15898 1188.78103 1017.272367 3157.298004 3291.482826 2492.890738 2365.761051 847.1312295 4170.633664 4086.179434 2969.810658 4058.95348 4047.824841 982.9662188 3935.463245 2564.200042 2626.032397 2976.327635 1586.805481 750.5953183 809.5525596 3359.737731 941.7698241 1063.76939 833.6612533 906.5985192 3137.614313 3261.653472 886.2605479 1044.375726 368.921932 391.1981595 945.4661745 760.4068438 347.3677642 363.32711 1202.99389 1219.660414 758.1872122 259.7557616 282.5235388 233.8180144 253.2487899 749.5887689 837.5329402 324.5054173 357.7758665 290.8269288 315.9397894 842.8906703 460.1242231 210.5788183 228.2443411 678.2839597 711.6990295 1926.170627 2012.380268 747.7987118 2835.362882 2856.049886 3611.798428 1967.214005 1643.929188 2759.789771 1946.13841 518.2321143 1389.257165 1841.109137 1498.272142 473.4300355 539.2198928 446.5430391 462.0832769 1456.447672 593.0206642 606.1760201 561.205383 588.3337326 1333.735524 389.5459653 404.1513569 366.3971967 384.4429382 1321.180242 1410.90284 427.6804064 441.3218997 408.9386176 423.0080579 1405.170546 3633.791454 3711.589814 1099.333322 1219.968859 3786.93092 3609.561586 942.0318863 949.2166237 912.0101326 939.7098156 965.627877 981.0759026 951.7586126 962.3221472 626.9357464 639.6102835 610.3106265 622.5857488 684.9595318 866.037121 645.6331082 660.5177078 1384.409309 1614.297775 1106.996 1289.22665 4988.40202 2541.432937 2771.40327 1722.403972 2435.526854 1033.513781 1024.127428 405.3179789 1678.515648 1684.596908 1640.449579 1667.304096 1734.858009 461.0599827 1561.823361 1091.602741 956.1390613 741.2836492 336.0386516 1035.59784 1529.98665 982.2569429 1046.10634 1598.686946 1626.523261 1551.909979 1586.966383 366.903998 988.2625073 976.1423135 5322.319626 1173.346854 5168.718295 4411.043307 5148.098179 1255.15356 5957.480622 1518.741277 5653.36518 4795.263746 734.2883578 823.9202566 1728.436289 1695.820456 523.2615838 576.597304 1800.713675 1731.810167 5441.443969 1206.275771 459.6695936 507.9759257 5738.868431 6549.125694 1913.733272 7125.914799 5035.694111 1691.538912 1117.438811 6194.274509 3390.441387 6886.49967 3862.899291 1623.102112 62.60456308 42.07026959 36.51530218 5341.541685 5316.829882 135.4161291 73.07202424 73.46014781 5570.667042 862.7643457 2492.254739 1660.078072 300.8269601 253.066468 156.9906037 274.2221313 200.2206962 401.63691 1442.155169 273.6111727 294.4084423 52.45079774 61.18889421 113.7391033 353.027721 664.4883689 965.8877362 192.7538281 103.522593 107.0387591 99.09812965 102.3837949 189.3647867 761.8198352 846.3274194 2774.026956 605.9854029 533.8272505 322.9363088 328.2757549 342.6193473 754.6559048 1048.295167 1335.881131 489.919386 108.2487112 112.024542 219.6669403 279.5805914 623.3844791 595.4112825 572.5091439 504.4129897 257.3101131 634.046547 308.9136489 323.5688403 4191.441593 3905.303524 2221.918654 1717.420479 1693.787379 1067.832095 3471.285036 5442.696843 4818.858486 1144.984704 672.9223378 742.5250647 1810.823596 1108.559838 1754.301982 1740.265478 1774.689331 2419.1353 4716.475287 3200.989181 3633.134679 5188.116233 1357.462664 1097.202507 657.088147 1297.541021 162.7022176 129.9377112 222.1472285 801.4566031 2112.766765 1499.004027 5739.197172 6094.396832 6203.898397 5079.571583 5901.765041 89.22659121 111.1457639 260.369725 2504.687541 1641.551029 1271.300697 3217.733284 2556.321752 1924.72303 3594.120988 3269.707271 5223.956985 4930.249006 3484.357331 682.0097603 733.2751598 1461.804125 4724.552515 2416.202735 2708.462382 4007.860354 2283.270348 2703.051571 1134.97965 1521.740261 1250.48646 769.6356004 517.4946225 525.8130341 1216.017601 736.17574 778.2016515 531.0550602 542.7158653 795.6729323 185.2666761 205.4628023 433.0385 552.8667001 999.1362732 712.451549 1184.986461 1233.837625 773.0930849 1814.538524 1301.19236 1355.822028 879.7443542 882.5810332 1451.707804 1471.725682 1486.937844 1389.797047 1413.384491 1352.40576 823.9742579 829.0182468 796.3624777 803.1563587 1294.922234 1428.660797 867.1966098 871.900067 834.4126042 839.8506346 1385.728109 641.1162597 628.1954552 282.5707435 303.8685548 658.6009433 645.2863386 471.9171308 458.9668793 236.695472 1530.489721 1533.307113 1493.256582 1498.958174 1907.61576 1542.178862 1543.478593 254.5173314 492.7367939 477.1235584 4620.676296 4566.042659 2837.857588 3011.779247 4712.842906 4612.982873 4810.296885 707.9987282 1416.147807 1185.099833 291.9051005 304.3321341 604.5072997 534.7222299 278.3894208 288.4153616 1095.691739 1095.408436 748.0856305 768.4409452 1104.539204 1108.954851 5444.349192 1513.095385 980.5460567 967.0551962 12680.90257 2386.068678 1520.919517 4467.636115 3580.581364 1828.833746 1805.662532 1129.102226 5991.33867 6532.077696 6234.383458 4845.396636 1203.374079 1877.340436 1817.325491 2524.81627 911.3356366 1055.894851 5242.18795 5154.180834 3927.072139 3624.455318 2015.464205 1134.891035 1119.509533 1300.403521 3061.225939 5247.62997 4432.190481 5303.151778 5065.220162 3518.346064 179.1827322 248.740392 762.4495638 3189.592534 3111.822799 3276.517267 3253.544331 3045.939089 1984.297361 1965.000058 2004.675589 1987.698267 3054.841208 3869.52638 2182.22956 2197.80472 2096.986281 2157.901038 3937.219256 2796.597873 1799.253105 1625.788706 1950.270396 1897.28406 2872.791987 3746.74454 2231.530637 2245.861714 2213.467533 2221.151991 3789.45593 3366.746005 3300.319724 3449.48241 3297.900118 1014.987655 695.2014888 699.1772967 1636.995028 1028.831553 1033.400426 999.9721213 1021.795845 1624.75835 5373.683473 5606.873803 4843.195758 5454.881155 1712.245873 1726.842946 1681.636628 1697.42296 2183.065736 1010.840269 1646.160923 1580.376482 1678.869737 1040.528407 1044.66754 1035.515456 1038.563434 1671.712642 1615.44444 1659.284145 1124.172728 1551.012775 2153.041487 5806.897691 5384.236605 3975.245537 5663.31576 854.5636944 1214.197414 12970.93797 1162.019036 790.6948073 794.5865995 1833.109872 7463.668247 7709.988356 9227.408564 5791.97129 5329.024698 1771.026688 1758.760662 1109.764251 1736.157494 2080.933176 2944.674036 2049.701761 2729.507103 2052.980478 811.1319333 2869.594044 2050.130933 4893.943633 5100.5084 5418.145219 3962.160003 4603.493506 1297.044875 1632.188026 927.4320362 473.619515 651.9358151 1027.979858 1138.456518 680.7536118 1000.742931 1323.554171 5093.667734 5380.382181 5007.770713 5045.882454 5871.852969 5813.529267 5637.756777 3273.614282 4943.269137 4454.019482 5607.156757 5812.083269 3710.288276 4066.839732 4528.11051 5853.638599 4702.570706 3220.043852 3575.410215 2352.934022 1698.692771 2392.498763 1262.879709 1825.403443 2429.623038 2675.08768 2470.877947 3421.583571 2156.423774 2040.798079 2936.325899 2129.283519 3207.696308 3202.481852 2025.64655 2008.344018 2051.866411 2025.025149 3223.646096 2451.944132 1478.042691 1501.877458 4120.884648 4112.366953 3484.493951 4548.5303 4375.722175 4199.507377 4116.161606 4313.700534 3231.867084 1758.57781 1959.424037 1540.0469 1614.915696 2751.182592 4965.908013 4158.102224 2199.470731 5317.003976 5076.638039 5057.853354 3154.881212 4949.485807 4787.295921 1835.377726 2064.65832 3971.649045 1175.868815 1242.111243 591.2258579 664.6205276 1168.691587 795.236459 547.4906636 571.3652993 1114.449137 1076.159056 636.9210551 1092.670444 1427.154519 717.072902 1174.231664 1155.041366 1927.470341 1332.559473 1310.558922 1464.490139 1417.336494 2035.690574 2998.822283 2812.35382 1842.23142 2698.499936 2822.159007 2543.088912 2671.463757 1809.42774 2700.795962 2653.145541 3393.351223 2530.886697 943.9393628 936.399234 1419.076604 1463.810239 895.3607619 892.3678459 1450.262442 1463.336642 1426.950791 1440.200955 815.6666098 820.1562548 1346.512102 1308.110527 807.405991 811.4411744 855.7188904 860.6316333 1418.210443 1396.88722 845.6039542 850.706668 3680.418251 2279.266122 2291.47918 2253.168577 2264.405521 3672.40028 3618.766354 2513.01513 2900.548252 2317.633361 2373.507292 3618.8479 944.5738899 1528.428836 1517.3473 1544.069781 1536.741501 946.7628106 930.2799277 1480.3498 1461.883583 1507.008163 1494.714988 936.4980188 971.2601746 1592.913782 1582.128166 1608.873915 1598.370457 974.0739788 954.78649 1558.422508 1551.937215 1575.631939 1565.752734 957.8315983 1518.302967 1522.711843 631.0145268 923.7006118 920.6473438 931.0738854 928.5586958 635.8357817 1506.440553 1511.55056 1590.117937 1504.442771 706.3406782 990.1461651 999.8044987 1425.571441 1370.925234 785.3916049 648.2721226 938.9550342 937.5904497 947.2860407 950.8908468 658.6950673 1555.506426 1548.181631 4581.966567 4441.258021 4798.705603 3227.750753 3821.72164 2615.181362 4370.018202 4429.238349 4360.920556 4369.716064 2676.273438 1917.118287 3680.557135 3101.684665 4289.156116 4432.046878 2210.58049 1037.756395 720.3914724 722.3413427 706.050434 708.7975011 1024.922972 1679.023741 1693.890654 1646.617809 1664.358327 1636.80198 2085.6358 1495.09163 857.9387695 948.4813078 749.4074154 772.6405961 1080.396086 1432.630138 1994.392276 1569.978803 1492.568814 994.8190204 1623.959925 1609.725058 1661.912005 1616.13897 990.9755819 1606.724652 1619.242439 1565.038066 1577.539277 4962.42687 3129.985286 3360.954914 2301.660212 2789.736166 5054.746206 5065.068104 4898.586014 3678.609537 4266.502531 5420.500013 5447.365288 3956.909993 4212.32172 3046.135974 3524.140155 5637.626735 1760.109528 1761.194155 1742.407608 1745.865632 1152.304338 1164.502517 798.9067026 1824.827832 1724.566211 1779.852628 1770.176624 1712.875136 1054.806287 1063.174135 1046.872224 1052.7926 1708.854061 1751.616136 1077.553444 1136.51424 1064.970928 1080.451911 1754.940817 5226.515269 824.2561006 830.1174047 1210.218979 5562.955102 8597.279236 8972.860011 8351.05309 8400.196891 6197.25441 1861.787278 6142.110274 4288.230475 4687.93343 1126.500739 1796.392171 1779.387766 6158.758751 6774.738814 6512.524068 5273.322803 5767.94473 7182.14882 6802.071623 4271.733821 6451.20756 5519.821245 2227.842487 1787.982249 1191.865068 31.7666432 31.77597331 31.86272835 31.77994689 31.79724977 31.87341298 31.80405677 31.83195282 31.89116926 31.84202895 31.87834108 31.91545654 31.88883694 31.92333411 31.93950068 31.92978043 31.94418654 31.95297879 31.94544714 31.93744268 31.94968954 31.93146232 31.90291479 31.93162643 31.89373642 31.86011937 31.90759345 31.8501332 31.82048735 31.88631299 31.65158168 31.67104715 31.7483599 31.67985938 31.71714462 31.77418454 31.73331223 31.7940639 31.81670771 31.81740714 31.89257795 31.87277798 31.91710006 31.97349921 31.92552506 31.98975853 32.0130175 31.94927463 32.00826583 31.98857243 31.94048694 31.97494277 31.92288265 31.90138565 31.90281365 31.84020869 31.84967861 31.81889258 31.76202372 31.80209856 31.5469142 31.58668113 31.64753773 31.60565249 31.68457401 31.70358105 31.71940347 31.85439672 31.7968363 31.90933724 32.09390465 31.915488 32.13641431 32.28312053 32.02428086 32.31972946 32.35187589 32.05752063 32.31044633 32.24118432 32.02171048 32.19897019 32.07943258 31.9409353 32.03483845 31.90338641 31.84562538 31.86231399 31.75445869 31.7533095 31.45671562 31.53129921 31.56971103 31.56634819 31.72844209 31.68721722 31.80705094 32.14422771 31.89744582 32.29011717 32.86890745 32.18733492 33.00399685 33.51138678 32.47897827 33.5968949 33.62647235 32.4948145 33.4016845 33.04050769 32.35423633 32.88721449 32.53344607 32.14050044 32.42244151 32.13142932 31.93868267 32.04658402 31.83704219 31.76381677 31.3873622 31.51224915 31.52317496 31.57736035 31.90370419 31.75787812 32.07153994 32.88397719 32.27212018 33.30347545 35.53295473 33.1776311 36.41763157 42.12034821 34.35626449 42.1368782 39.87705518 34.19348659 37.96252833 35.43672387 33.38527497 34.80626372 33.59641037 32.69000059 33.3082423 32.63598426 32.21828934 32.45967477 32.04692437 31.87359837 31.33423684 31.52862655 31.51351925 31.63781891 32.20394171 31.96581496 32.51526505 34.19476365 33.16231707 35.21037281 44.76488319 36.52639943 41.92723278 48.21776852 40.44285863 59.76628988 57.71097365 44.77855522 47.25613935 41.92208158 39.46453772 39.58268485 35.71837966 33.95489985 34.99926273 33.51660271 32.80553688 33.17438697 32.42266505 32.1217366 31.29039521 31.56507583 31.53364849 31.72181779 32.53788401 32.28190477 32.99209667 35.49507497 34.55480201 36.22390449 38.16708254 37.47776218 53.24898114 60.23468558 57.53839825 88.51347551 64.05134444 53.96530474 47.76580383 38.98117847 36.36034003 37.54311574 34.80716001 33.79022505 34.21677414 32.96067948 32.54014228 31.25402082 31.61040432 31.57637231 31.81109461 32.83113863 32.61725259 33.38602263 36.33324562 35.74139123 37.6231815 40.07948833 39.71656437 61.16183714 72.26076222 71.16248887 139.6730186 87.9068011 79.35058748 55.88677459 42.56611662 39.77105762 40.38853959 36.28442975 35.1232442 35.41516217 33.59584848 33.11042658 31.22239802 31.6555796 31.62218423 31.89453725 33.0747754 32.89633399 33.70025489 36.93300915 36.48986461 38.47799246 41.22326098 40.94099244 67.89966643 89.49965896 86.90829529 157.0282294 100.8503781 97.46862037 61.12871565 45.53203883 43.25310208 42.83184006 37.70898759 36.60403088 36.59004424 34.24263784 33.75878387 31.19340024 31.69775257 31.66785375 31.97114308 33.29122668 33.13167293 33.97803798 37.50950001 37.06318908 39.26307237 42.46150764 42.06037771 76.64874389 104.9028693 101.6192782 151.222401 102.9491841 103.1002038 63.50228709 47.64862712 46.06021798 44.67225934 38.85414371 37.97630616 37.57292467 34.80729899 34.39283767 31.16615154 31.73577191 31.70991242 32.0438423 33.50395501 33.34251656 34.25480281 38.18826188 37.65189411 40.21727356 45.20857686 43.48886322 88.23130734 127.1425853 122.188985 138.9015858 105.1774162 106.3258027 64.13190496 48.8838707 47.9630408 45.86340669 39.69723446 39.09148753 38.3022925 35.23436065 34.91686456 31.15352505 31.80181461 31.74694866 32.14540578 33.7751222 33.54149542 34.62099147 39.2828865 38.35279601 41.47191833 48.65316097 47.39070677 99.46287475 162.6704228 154.5411705 561.3460136 374.9438693 402.2101301 117.640096 71.93580693 72.93017747 64.02607471 49.5660404 49.00263971 46.51348634 40.22531702 39.88823489 38.76643091 35.48525408 35.30026659 31.11271772 31.78683896 31.80346419 32.14601807 33.86403235 33.81527609 34.77418282 40.215786 39.52047607 43.49878419 50.86984673 52.14730605 147.314963 293.9845175 259.8953991 359.5844227 200.7207704 218.3923982 109.3548612 70.77636172 71.7978863 63.5745589 49.86833822 49.65385798 46.89381345 40.53952069 40.34150236 38.99544863 35.57964121 35.51463719 31.05264169 31.71794971 31.77380936 32.0708538 33.78186607 33.85831239 34.70243098 40.65471582 40.41039124 45.96601016 168.8575148 122.2435521 644.079807 393.9806076 439.7715566 259.0281155 126.5469808 130.1365752 106.2808014 70.75645019 70.61308357 63.80870906 50.12185038 49.88078662 47.07377567 40.56132957 40.54754341 38.99479069 35.53378448 35.57753681 30.98416062 31.62074606 31.69493469 31.95444226 33.56911496 33.73384209 34.44268956 40.19759852 40.62729041 45.23928563 154.1777723 170.0689331 464.0586079 423.0278766 390.0471401 269.8009999 129.4112292 126.427641 108.845179 72.23592598 71.01437941 64.96182515 50.53045162 50.22710262 47.32330028 40.48728992 40.55663799 38.87515021 35.43556931 35.51097353 30.91824016 31.53381182 31.59639985 31.84635041 33.344882 33.5065149 34.15030676 39.31383321 39.96040874 43.6015933 121.8688213 145.5773409 280.3937632 527.5280098 438.5291733 312.0524784 137.6317108 131.1854097 114.6427808 74.05424671 72.73911215 66.12893484 50.61424464 50.60236743 47.23144339 40.22713478 40.43521373 38.6501661 35.3120197 35.4064829 30.84530803 31.4738083 31.51839275 31.78584572 33.24296561 33.30130163 34.01787172 38.94545221 39.13295137 42.92721 106.2924093 116.0552033 206.9141108 570.40086 550.1046553 345.5325218 142.7876457 139.55502 117.9930817 74.33904758 74.33047666 65.92543885 50.07077648 50.530374 46.73696327 39.95959071 40.15756276 38.43175299 35.17868665 35.27894365 30.76528474 31.40642189 31.45767288 31.72532773 33.23934304 33.24201262 34.06466534 39.49934213 39.00540757 44.03184624 111.458993 105.845163 209.2570317 516.8363023 561.3812972 324.0853726 139.1635755 142.6322459 115.3073281 73.15003876 74.01207265 64.9359377 49.53178962 49.92345012 46.30593895 39.7268116 39.8979213 38.23653478 35.04742807 35.14547706 30.68053799 31.33384114 31.3885905 31.66012288 33.23905056 33.23871067 34.12508173 40.2837904 39.68280787 45.73546693 119.4244258 113.7649745 221.4004878 461.4375693 501.7190121 296.9278243 134.8908904 138.0086712 112.4390889 72.30475031 72.91198091 64.31019068 49.14619835 49.41981111 45.98062993 39.53242859 39.67461869 38.06798215 34.92144641 35.01548776 30.59319655 31.25958424 31.31532035 31.5942547 33.24774607 33.24028005 34.20236491 41.26862169 40.506146 47.80795998 124.4450161 120.9198304 224.2059771 417.2320467 449.4858776 276.6334077 131.4496145 133.9629656 110.1421604 71.68564083 72.13246435 63.91096028 48.92799609 49.07669649 45.77782595 39.37773618 39.49002636 37.92538077 34.7996487 34.89072519 30.50468307 31.18570188 31.24101508 31.52993579 33.26876468 33.25159933 34.30488092 42.50995063 41.55758828 49.92361858 127.2244183 125.3224511 222.0319673 381.4930669 407.5879278 260.8775302 128.5871409 130.6887048 108.2626793 71.22438825 71.55763106 63.64786815 48.83948822 48.89607459 45.68373345 39.26199014 39.34537299 37.80715877 34.68024541 34.76966504 30.41597754 31.1136043 31.16744845 31.46886565 33.31151363 33.27684199 34.45511148 43.83357862 42.84330289 51.73458485 128.3162064 127.6471624 216.8339796 352.3018271 373.6518908 247.9115235 126.145227 127.9417134 106.6946727 70.8856131 71.12936937 63.47980024 48.8272137 48.83131321 45.65931626 39.1769337 39.23838531 37.70831191 34.56209151 34.65063792 30.32772666 31.04444068 31.09600562 31.4128861 33.39083447 33.32738422 34.6754347 45.02620478 44.14884324 53.1636659 128.0561804 128.3478653 209.7836752 328.3463937 345.8740918 237.2061665 124.0598983 125.5945168 105.3850941 70.64459305 70.8174806 63.38149632 48.84931552 48.83040068 45.66677813 39.10884552 39.15890477 37.6207231 34.44484012 34.53270832 30.24028606 30.97889076 31.02767315 31.36348929 33.51367085 33.41755488 34.95714809 46.01536571 45.29341416 54.26138404 126.8272042 127.8295574 201.7893923 308.3135924 323.0130343 227.9049581 122.2524667 123.5820241 104.2943803 70.49510421 70.59807189 63.34613742 48.88697593 48.8577904 45.68479242 39.04628289 39.0930424 37.53731331 34.32876739 34.41569609 30.15449536 30.91861744 30.96321613 31.32314911 33.66880195 33.55016407 35.25945212 46.76889471 46.22717641 55.01871679 124.5499407 126.3701776 192.6309102 292.2786117 303.9079961 220.5611277 120.9055938 121.8622796 103.5358987 70.44664064 70.47502722 63.36514819 48.92090787 48.89739651 45.69502076 38.98038697 39.03056091 37.4526294 34.21438744 34.3000089 30.07214856 30.8675218 30.90476776 31.29635166 33.84085365 33.71044875 35.54997698 47.28811606 46.91784115 55.43601726 121.1670116 123.7848434 182.2684766 279.5467686 288.8925411 215.1066297 119.9811587 120.6565152 103.0172323 70.38723571 70.44161813 63.35157558 48.9064836 48.92329642 45.66249676 38.89915294 38.96201031 37.35962355 34.1016365 34.18605929 29.99570582 30.83189124 30.85677065 31.29100704 34.0364837 33.88659479 35.84399015 47.71060077 47.39407317 55.72440097 117.8180407 120.2588904 172.9039267 267.0553094 276.5429658 208.9583994 118.651804 119.7289988 102.1300879 70.0680922 70.34039437 63.1080119 48.77545824 48.88444123 45.54696393 38.79484469 38.87527334 37.25410503 33.99042759 34.07367456 29.92727974 30.81868793 30.82606454 31.31565421 34.28504396 34.09239625 36.19410174 48.26660897 47.8282955 56.23609602 116.0832851 117.1863465 167.1224837 252.3815947 263.638923 199.8467387 116.1663198 118.1477005 100.3809103 69.37739284 69.92900686 62.58852332 48.53735377 48.72479917 45.35560946 38.67142954 38.7654167 37.13872398 33.88121063 33.96291077 29.86782814 30.83077868 30.81922779 31.37658226 34.60593499 34.35849901 36.63497523 49.09224449 48.44755292 57.17502445 116.2484165 115.985958 165.1197976 236.0765617 248.4035816 188.6278263 112.7483351 115.3722451 97.95319196 68.42937998 69.15707017 61.88382271 48.23480187 48.46574007 45.1207173 38.53819232 38.63869101 37.01880845 33.77436428 33.85426798 29.81735323 30.86836666 30.83800271 31.47017574 34.98510682 34.69642746 37.14736174 50.10893188 49.33491085 58.39966127 117.7060772 116.5925769 164.9617651 220.0956569 232.0299093 177.4672441 109.0723231 111.8312389 95.31551507 67.3932486 68.1733918 61.11520952 47.90930657 48.15443351 44.87010027 38.40156031 38.50418845 36.89773132 33.66975547 33.74801237 29.77561306 30.92637674 30.88110061 31.5886041 35.39407658 35.08562369 37.6897317 51.16921906 50.37474878 59.67560161 119.1393599 118.0931377 164.9402548 205.459509 216.3650642 167.3596706 105.524621 108.1673201 92.73744939 66.35840833 67.13265054 60.34430334 47.5794418 47.82688857 44.61564888 38.26371129 38.36717095 36.77636761 33.56685091 33.64388667 29.74266168 31.00146233 30.94368731 31.72558715 35.81325704 35.49845369 38.23506622 52.19350438 51.43017049 60.88720933 120.2692943 119.4605414 164.5039155 192.3578628 202.1592689 158.3800755 102.1956256 104.6746612 90.28749233 65.34839127 66.10335142 59.58690175 47.2493227 47.49687501 44.35975948 38.12463812 38.22905794 36.65439334 33.46505581 33.5413123 29.71863191 31.09119169 31.02262691 31.87725847 36.23475116 35.91860028 38.77419945 53.16635626 52.44108837 62.01776608 121.1174028 120.5137352 163.7186376 180.7158016 189.516485 150.3789742 99.07540229 101.4079176 87.96281168 64.3633455 65.10042695 58.84282057 46.91837024 47.16669673 44.10180374 37.98367571 38.08958518 36.53114341 33.36379401 33.43970366 29.7035907 31.19414528 31.11567184 32.04169982 36.65790284 36.33984488 39.30810725 54.09866774 53.39858807 63.08503247 121.7463067 121.2917714 162.6500078 170.3900799 178.3605171 143.189168 96.1281841 98.3608353 85.7398848 63.39515954 64.1242625 58.10609495 46.58411951 46.8357259 43.8398959 37.83978658 37.94808993 36.40570081 33.26238397 33.33849688 29.69760009 31.31733491 31.22054343 32.22969649 37.11169062 36.75735708 39.87436172 55.06082887 54.30118637 64.17225613 122.2480241 121.8560053 161.2603707 160.6437447 168.5767836 136.27353 93.15478532 95.53519745 83.46884518 62.37664554 63.18148036 57.32497928 46.22241773 46.50581381 43.55492645 37.68231835 37.80472061 36.26882673 33.15365681 33.23754342 70.30950376 69.20921367 59.17737728 133.3494366 178.9796961 201.3799869 84.86975619 99.14737384 84.52779334 86.00743635 83.0322727 64.95090451 181.9470319 256.9054242 259.2136792 208.3079251 226.4400824 160.0867532 100.5799572 97.56722459 73.32646722 183.9262441 241.5549354 239.466049 259.1490646 257.6074672 187.0443709 120.6523234 116.2520773 83.06129024 167.5713884 195.1898057 191.6823689 219.5950091 215.4183764 178.8560395 151.8922344 144.702288 91.79436505 802.5263383 939.5047362 901.9797984 557.5571132 578.7121339 694.5316538 154.6722372 244.394503 224.5090208 187.8785714 184.690673 161.1977319 249.6563857 228.8383025 120.9038117 509.9960806 844.8555306 873.448233 1473.940075 1119.856535 741.3461306 326.5840187 338.6786156 449.73719 141.3880438 200.7260316 193.0995347 218.4915853 205.1072734 142.5015111 74.73088235 51.71148781 43.58847135 1188.763029 1269.38949 1255.444183 41.60980663 50.8434703 59.98790281 1597.423437 1095.196346 61.65915145 66.36823747 76.60711193 43.54024198 56.1156558 49.83746093 384.8460031 438.7643593 468.1920643 183.4259497 214.8813479 177.6868309 76.811418 66.41406643 95.60365432 50.83764006 59.2775242 64.01358914 50.106416 54.56979939 47.67905219 40.68026824 40.38655141 37.85716486 55.0225946 43.45537588 43.9829839 42.66086971 43.27987427 54.5785468 1317.87351 2019.381364 2025.570138 1328.795585 1354.306969 960.2260802 95.9981549 90.0425957 143.6477347 62.9110631 76.32525266 79.43008638 68.53327818 72.67748285 60.19627422 41.79367842 41.476442 38.64928392 60.17615484 44.9418434 45.66206545 44.15752086 44.73552977 59.39380562 92.92644527 90.36464669 68.96935649 199.9200047 154.3789592 156.8153845 141.2355908 143.2773243 182.879357 795.6304284 970.1677569 941.2809084 1422.236788 1409.784583 1041.929595 102.8907148 101.5977668 156.9987648 70.4536882 85.39161172 86.38943363 81.95523781 83.93216994 69.07569823 43.3033264 42.73723554 39.42726093 67.03190594 47.17334022 48.30510012 45.92506808 46.84656056 66.13114322 109.6432414 106.0403642 77.82246758 298.0915843 200.0466594 203.3022763 180.6274898 184.1337402 246.950873 469.8134888 600.4995519 574.4809827 860.4910198 796.5747698 569.4242221 46.97134083 45.68710382 40.47789865 75.88333013 50.2085576 51.65499766 48.66243057 49.79992801 74.62824755 134.3154568 128.8411984 88.73022371 456.9215845 272.6534632 268.5388802 240.5440155 245.7142002 401.4538798 1143.169739 1242.123199 1970.518051 315.8745595 512.0321392 457.703985 407.816157 395.6083025 338.8661514 51.70962069 49.08489537 41.67972605 88.58627735 54.44270675 58.16430299 52.17510974 53.86638639 86.30826421 175.1447952 165.914498 100.6671124 1130.880527 747.2933494 758.0543003 525.1670079 533.582253 739.8461502 2987.765267 3713.282495 176.176757 432.3211588 2617.658129 2040.288275 821.0563004 744.2428392 484.5583019 144.8877617 201.9766521 185.0452528 275.114577 256.117399 163.5923847 97.37478663 114.3364635 103.9329128 174.5341864 167.2786065 131.6829574 873.6912606 1255.572315 1302.286273 511.8688604 543.2926755 443.2535552 145.7101336 170.6880202 126.1196136 365.7703806 281.6012997 259.1916126 399.230073 381.2127882 568.3846346 168.6064425 94.93078186 98.03893077 91.51021375 94.00715159 165.8650319 64.02365002 81.74390643 75.20251835 214.2021573 358.6208281 345.8936274 437.5877299 424.748102 218.4075563 180.217137 294.2085444 280.5008451 341.9019436 330.296762 200.4874003 1073.531821 1442.330481 1434.332966 2021.310348 2013.355587 1324.670794 247.9217527 255.4174682 171.5275238 925.0345928 476.8411422 487.7981703 512.3931705 516.5323975 850.1374192 726.0831857 431.2382408 415.1662999 487.1111506 485.0797431 895.2970326 161.398302 231.5381077 244.6809636 231.9336761 174.9900731 178.0474798 159.293917 161.8112737 211.7514436 72.2560176 96.60974538 93.81452645 273.5217721 337.2598641 332.52382 392.1595432 387.8506756 313.2865926 234.3401625 454.5483117 441.8387813 327.1492699 321.601552 263.6652901 643.4802529 973.6803051 884.8731888 916.6773074 896.5562095 749.0320964 250.0281361 244.2586306 185.5667649 571.9561293 431.1076595 440.6088427 268.6817259 279.0926721 517.5616565 794.033468 501.276962 507.8248081 450.3048951 459.9120602 682.538717 187.2220439 256.3041088 252.0915264 367.2962308 231.239017 235.9759168 206.7215318 210.2898562 323.1504165 81.70830586 114.857514 110.896251 391.8205195 506.4186911 501.7856902 686.4126405 679.315842 489.1579979 323.482072 400.8462289 396.0690878 496.6937346 492.0542919 379.1176053 364.7827885 436.0963712 421.8130899 551.0321717 528.6233602 424.2195014 699.8537188 504.6533829 516.1999675 269.219693 275.5533831 527.5025073 90.8709146 142.4731495 136.2368904 711.3271062 1072.057042 1063.901523 506.7202949 697.5256801 691.9805377 1040.629178 986.1839788 655.9634011 282.8931663 389.8103926 362.8785601 441.3629077 402.0422754 269.6624203 1367.509871 995.6344242 1053.05474 12056.59551 1305.449091 2367.23958 770.9948381 776.5492708 1150.251929 110.1912212 190.3216213 179.5856535 651.6883089 628.8146785 541.097735 5306.344781 5399.767831 9275.450735 590.8926365 713.1793657 678.8331709 39.29611894 38.77983463 36.65696456 50.78710397 41.46067402 42.42424953 39.56873289 41.08271982 49.90531891 64.90983786 62.74419902 54.91593678 101.0371302 72.28154576 76.77550962 66.00146676 70.60544271 95.93329983 534.5683304 1048.990214 629.4805154 74.8220589 73.06925425 61.64715272 147.2403318 86.84453453 90.52151017 83.72964892 85.98055766 144.6248576 107.604013 102.7007777 149.5929693 73.22076492 87.21504748 87.01969411 86.98198705 87.25341968 72.88579457 679.6251759 1026.889049 876.9560383 809.9424544 792.4700539 700.0762032 337.7235727 367.7506387 542.7722062 248.0520335 303.930224 295.2639731 349.8620377 316.8056855 256.1564095 124.3616042 81.14874461 83.13894617 77.7988994 80.51115066 122.1871982 58.43341233 68.07940169 66.61797623 226.9255206 283.8390732 229.0266383 713.3902823 610.9911997 406.6513303 188.989465 119.1142055 94.51952537 238.0857148 217.4539022 285.0125846 93.32328031 111.5058088 136.5841325 757.2576182 875.4047081 844.6473309 1251.982251 1162.870104 898.1079954 203.2649823 199.3477217 170.1002458 337.0389625 244.7953219 239.5616952 231.1239693 237.2954403 328.8448688 416.2628485 255.0876934 265.2029687 241.8406103 252.0166438 403.988545 176.4956697 211.3751046 207.1143105 1522.578545 1361.442698 997.8517547 2626.699848 2894.722743 4489.238656 698.4521623 1044.465982 917.8896722 61.54568955 84.42331966 99.90955668 64.22345593 76.30901609 60.1047792 133.2674385 84.43549662 68.37880011 111.4860789 125.9781933 144.438044 66.76226997 92.09986038 79.37094932 103.7591887 99.72149724 68.20453659 406.9483458 610.8001903 343.4664974 739.9307942 306.3782638 228.950436 1098.510802 938.5816203 1549.569046 203.01508 288.3432531 374.8994484 1453.817976 1506.840424 1106.783766 1049.352133 1425.590258 1452.130896 1115.913741 1095.81347 876.9422238 930.0544275 1180.602656 1142.611065 656.2830789 627.3363585 487.7727408 1853.514069 1216.699889 1309.298087 905.2299576 937.0587854 1238.342351 1422.611649 1528.351634 2816.297148 546.2544488 773.7189817 740.0692267 260.8529636 268.6929046 446.7969755 158.6887149 200.8766195 196.5410424 209.0775127 204.095601 161.2034179 568.1130836 688.689583 655.915063 834.6573038 770.4571559 593.2938975 590.5673934 606.3285735 827.1385626 213.8291755 285.818602 280.8167133 331.2153045 306.660466 220.2491121 196.8584735 258.8128567 253.3275104 271.4211468 266.0620431 201.3397801 775.5559348 571.1326317 581.7327081 222.7776724 206.9942572 148.5085259 398.8665982 433.3697806 681.5000588 159.0877007 249.2010568 228.5253577 138.1857569 126.4137501 105.2809362 247.3540931 165.6038426 179.0543251 126.2601711 138.3414605 221.2042763 501.4235744 356.4198794 372.6830795 274.2771544 287.2707422 374.3367773 125.9309897 158.7823724 149.2413134 889.6269308 929.593419 675.2360058 577.1810929 789.3531256 835.2861522 392.6248809 364.6747976 215.4426502 216.3901906 420.3253755 402.2534108 310.6157276 298.4042243 184.4323445 196.6146854 326.4162959 314.603339 1480.872094 1475.358127 1114.17325 1148.427374 1518.34434 1492.314157 520.4337329 520.525907 909.0659906 308.6285764 389.3524383 390.9063233 382.7727412 386.4216249 306.1753722 313.1096752 391.4082566 390.2043744 392.0464685 391.9401055 313.0550789 856.0542389 518.7809812 519.9094369 459.5192508 445.2217926 743.5689428 269.881521 337.7268691 345.499506 316.2040923 325.9704084 261.9854307 294.2508304 371.011815 377.28153 356.0553731 361.8344667 289.0570447 870.7899486 485.2200109 471.6074725 360.6383827 356.8574044 288.4946886 297.5997125 368.2779788 364.4256836 294.1009933 290.9284131 241.5896424 249.2183491 300.5803618 297.327939 1130.651504 1013.840281 597.3685148 680.3604513 800.1284615 783.1724811 539.90426 534.1419515 414.9578065 436.7828909 568.8676817 552.8409998 453.4843985 442.9521246 346.0589953 358.9806129 467.8800897 461.6444768 943.4584591 669.0024284 671.0372317 610.8134147 638.5367874 903.5077628 410.3918916 507.2433052 487.6382742 1045.314532 1511.848996 1370.787214 3071.18066 2720.41903 1497.099171 435.286107 442.197353 570.7895196 182.3127831 235.8546843 230.8492947 247.080536 241.5180292 185.8543969 169.7586393 217.4868944 213.3668892 226.1282337 221.7158822 172.7512665 548.261507 422.8942007 428.6093744 1251.232684 1989.031262 1735.028005 732.7257011 724.4495002 534.7891172 555.7861301 749.6454248 736.2859593 659.4194882 694.4984244 1063.783455 485.620466 574.2300444 552.3747206 625.2176013 599.8701347 504.6748683 234.0190761 356.0972385 338.5416496 398.0848093 365.9482749 244.387841 1340.940164 1899.302725 1827.341531 3283.111912 2964.02018 2044.779466 2728.52461 4044.091158 3606.418987 796.8517255 746.3653674 612.5508249 3195.376255 2048.966297 2305.302477 876.2795386 886.6007851 2246.431088 1837.756404 3408.045897 3047.519374 52.96551473 51.86549736 44.00463756 116.9364139 67.7109716 70.13013747 58.89375671 59.72441418 113.6249885 331.9893045 271.1839043 153.7109877 4591.770801 1076.056397 1334.00344 393.410471 337.0795403 6520.913127 209.6148281 217.2417187 342.8677169 135.4898671 167.3663407 163.095136 188.2898768 172.2102038 138.5801719 425.6596543 494.4612339 479.0920859 530.9217043 512.5501408 440.4104527 734.8430889 603.5537298 630.707535 225.6458465 271.2054453 266.2209691 285.2960257 278.7777273 231.7856269 462.2802136 343.8108709 358.6354098 114.1626295 157.3359842 210.6038457 112.4417478 150.9036532 106.345023 307.763438 169.7781094 126.3453271 247.6683441 289.5672726 395.5873412 126.4422981 186.9494326 156.3914861 218.1712343 208.6435277 132.2826047 1882.262913 1979.202357 1293.601527 979.7223677 1369.082167 1390.262633 1031.4627 1001.603653 813.1531058 2093.65045 1326.646698 1388.995785 1188.7912 1252.425348 1846.886784 1026.87498 1388.814014 1357.179255 193.8296956 196.9093641 294.3299667 126.4179882 154.2924242 152.0400733 158.8845082 156.5697833 128.0479878 120.274605 145.5995816 143.4763157 149.8063362 147.6112518 121.7442605 249.4093882 186.6627579 190.5754919 149.0775245 186.5693316 183.2628756 193.3908802 189.6780593 151.2913401 406.1574636 250.3927584 256.4204311 695.7383874 725.2486057 1101.383475 405.3607635 524.4306679 510.3444005 546.4353558 537.9498796 413.1577984 4826.208644 913.0996751 1262.37927 1152.052059 1267.329812 3546.517481 464.7957606 628.7415183 603.9086142 1107.202873 1192.145962 834.3471512 324.0662966 299.8242404 407.0133385 195.8194016 235.3359841 249.4367093 205.4896946 220.6170571 184.5822902 236.290007 291.6015791 303.1996754 264.389684 277.4253918 226.2006931 543.4053543 363.2698494 343.7479238 1458.20218 1450.969217 1082.867374 1307.175116 1970.983329 1870.262276 169.5613514 172.350589 227.9952279 114.661016 137.6979722 135.81775 141.5576913 139.5656161 116.0127029 672.0089213 498.2045938 503.6963844 489.0711065 494.0500242 668.1388758 310.1962125 384.0135078 379.9091465 1542.742207 1111.827311 1143.252207 1059.373967 1084.331283 1504.688001 735.0518689 877.4474346 859.9111305 412.0923813 421.4824276 553.2541728 286.388661 342.5316943 337.0280649 353.6471893 348.2832556 290.239038 485.4838406 494.2286623 780.4231537 309.3769009 381.9878462 378.106508 388.1404713 385.41255 311.1864071 299.6189144 364.2062812 359.1455012 373.7410506 369.2485401 302.7211892 699.4930784 468.3704972 477.529998 222.0737729 226.6395977 361.0894245 140.6463406 174.336775 171.4911834 180.269145 177.2256655 142.6469272 133.1648518 163.6901411 161.2563574 168.7932673 166.2025611 134.9552982 326.8367217 214.0119615 217.9115168 516.3383778 511.8920775 396.3282778 684.7537023 689.3065092 1008.175097 481.9717607 669.7787293 653.8539527 412.2902028 405.5915255 327.0143112 693.7276823 519.7876047 531.8315238 507.5956209 514.5437986 691.9205842 997.2950003 674.8839466 679.4879225 665.431933 670.0032746 993.4269636 374.9529594 487.2281208 482.6284537 469.1250051 452.2511827 375.89369 739.5000104 559.447824 583.8010722 514.2205109 536.240807 663.9895966 1950.660747 3490.178322 3007.789517 1081.655854 1078.195834 720.0448667 708.382397 702.5954572 512.0723937 621.3453286 892.9805041 805.3147396 3504.81319 5000.843726 13169.03526 332.0595571 604.0561477 547.6257443 699.1476934 627.0017001 350.2278342 432.4214301 563.480581 557.4938547 580.7290239 575.6119759 441.566557 1211.15455 780.8467518 812.0674917 711.1150996 731.8100769 985.1151145 531.0782389 606.6013823 593.7119136 1523.946647 3032.142241 2658.703762 3667.510195 4158.505325 1670.769558 16271.85336 14056.8821 777.6517846 1231.756924 2160.518519 1216.764273 1922.643227 1712.549492 2554.680075 2180.060645 1331.304777 412.7373645 324.3334702 249.4524515 299.4626523 385.5549337 522.6441422 379.4929218 554.5453961 452.0051873 3390.254317 1772.197298 1982.689902 1431.784273 1592.602025 2972.910894 855.8378996 1084.99567 1018.485635 3751.592864 2216.555902 2588.158808 1667.499186 1898.223193 3237.636927 940.8323816 1234.612934 1136.761668 1804.02377 2992.272094 2623.722341 3910.553397 3440.861306 2090.900213 1197.837611 1804.099973 1612.78174 2287.58997 2020.829238 1313.756722 765.5275894 1132.327596 1402.598353 824.9788978 1030.354148 695.4933101 1557.565854 1820.310138 1185.129234 432.2402314 592.0063462 734.1452743 420.914358 510.9171994 391.2532563 1130.769285 728.4309419 624.1583625 1141.16604 1549.118506 1702.58759 1399.986358 1420.398251 1036.302507 1428.600403 1455.691111 2415.553817 860.102438 1076.307973 1056.073523 1300.742359 1236.263464 956.6393785 1090.372402 1145.149245 1698.824439 768.7143307 895.7865388 867.6480063 971.7791939 931.0951915 789.165187 976.9588131 1307.285969 1223.196712 1506.901211 1411.968438 1022.633562 854.0027127 1064.514841 1018.67024 1158.610125 1111.469387 883.5604106 2949.585099 1614.717645 1704.842226 1765.858814 2006.754213 3731.54187 923.7855523 1245.105224 1146.208112 1512.421038 1363.494055 988.0728033 375.7190997 467.448304 458.1980801 493.6284462 480.0295569 382.6993901 853.4770793 626.9514999 656.6326632 555.3825082 564.2608775 770.8925526 352.7351283 436.3398688 429.6146402 450.2803587 442.9387309 357.6812629 497.0972919 508.8281825 765.3899798 266.9593398 356.6947005 345.0579915 377.1009445 366.935227 274.241395 240.1581954 306.0893398 291.9502983 333.1531189 320.2366853 246.5632312 728.3397428 462.3749612 482.7233835 335.1062752 452.3282462 428.3129697 502.9841926 480.7559289 346.9798629 299.4767646 394.969718 385.4760203 414.3743665 401.7159157 307.2720902 331.1409854 340.9401409 468.740994 216.7351556 260.1284803 251.1793407 279.9501174 269.3237074 221.6668469 708.0169551 981.0490585 1037.988523 682.688605 724.889066 543.5292285 1546.878168 1051.335586 986.5422969 1226.907673 1168.599017 1752.935417 487.0115457 665.7605995 644.5835631 820.2685821 742.713122 510.645694 450.579415 607.8488039 604.7564133 620.5253232 618.4221869 457.0649092 597.4830339 897.7653755 894.5990755 904.7182812 900.7056478 601.7970725 574.6283585 882.2777435 864.0731744 892.0432684 888.6050061 582.660457 394.5028399 548.0521115 542.96784 557.9332712 552.9228282 399.3453741 373.2477579 525.7622992 516.968178 537.7554389 532.1971939 379.0973001 432.1571593 588.0283651 583.3261276 598.04456 593.6902803 436.9980013 413.6699723 568.1426632 563.0712436 578.2612091 573.3406738 418.3969334 1106.536946 1469.598376 1464.470105 1704.693822 1578.649138 1177.124895 614.346516 910.3625631 907.6388725 916.7675517 913.7807387 618.5069443 1472.115155 2616.569082 2338.983704 2895.985763 2737.462241 1541.497233 1151.011462 1669.742602 1587.510817 2009.315155 1792.862474 1209.830765 409.711063 526.5666568 522.3410396 628.235048 595.295477 448.1555006 907.7425849 602.4007314 626.2862295 546.6405673 571.6056258 822.764312 342.2532507 431.1936844 420.6355481 477.9112253 473.1376067 362.9646264 986.0848641 655.6684603 660.6435922 640.87743 649.5151847 982.6126345 1792.591444 1656.52085 1109.300745 1363.042238 2263.38368 1972.469743 2592.35367 2289.518654 1380.651298 739.2276216 1088.479521 1087.580907 529.6188361 719.9236128 713.3270529 781.2945483 752.5576577 562.6030863 463.9540913 605.7934641 600.5092712 679.8320632 685.3514699 510.2093123 3574.421057 3821.343645 5486.257224 1806.44838 2712.770145 2467.614755 5023.45786 4472.923515 3084.537624 52.13464789 47.0549614 49.35790952 39.8176908 42.27816272 46.03086004 37.61129914 39.85505987 38.00446061 102.4137356 103.6228086 136.9973083 73.25498513 85.6195766 84.88274652 86.68404036 86.12344951 73.39373721 1060.306055 998.0712905 827.3623324 2202.896775 1358.907115 1492.108746 1142.066458 1230.356427 1893.900711 289.4591448 218.9773256 224.3338402 208.1398394 213.209112 261.3503382 243.6458228 350.1847941 412.4711584 235.2660547 301.4750995 212.2324496 920.308272 379.5678222 340.7917751 640.2684482 1125.104225 2264.153936 291.432626 433.8735423 372.2665864 470.7936675 470.956284 299.8139767 73.06344091 65.90249825 58.4774567 88.0209474 74.75141776 80.43352478 378.7186394 405.5655318 368.2471671 774.3778928 548.6189214 486.2172186 660.0114717 589.6415048 835.0247179 149.7531741 152.0306677 196.2449252 104.676959 123.7795941 122.1957396 127.0572334 125.4000947 105.8476043 100.1775643 117.6527112 116.2057725 120.6463036 119.1309708 101.2692597 186.0723125 145.3766376 147.5367976 787.6579409 933.5512302 888.164255 1061.674829 991.9677371 815.7619454 2327.353303 1378.586139 1549.079687 581.0217763 475.198293 493.886855 441.6235319 457.3642076 556.2718688 333.1024251 411.075625 404.7048166 423.4402548 417.0788385 337.6702396 746.3061478 540.5711143 548.6004782 1180.805604 786.1401061 718.6975179 904.2915252 848.9734134 1223.935604 467.4407613 592.9323307 625.4764531 109.48522 130.4704807 128.7472738 134.0109559 132.2168322 110.7403108 215.6281201 164.3376021 166.9588881 345.4812271 341.553038 276.6401989 617.5336586 443.3714002 448.5568744 429.2036476 437.1807913 609.2363961 542.8901223 407.4446583 418.8842972 389.235188 397.2898351 518.5399659 260.4076424 316.3151428 311.6334185 475.5145134 490.7913812 670.7770619 313.8547539 383.3067846 375.3699597 398.1747979 391.0301271 318.7422482 890.9142563 931.0864175 1247.766509 706.0242234 778.444675 775.5795891 844.1722308 820.1781837 718.7409416 1259.097995 943.1399617 984.4166062 862.8514274 893.3678727 1175.313505 688.6707007 756.6332569 758.1429176 151.8685098 175.7002764 190.8466607 244.7801098 194.7250718 177.3549683 961.664757 916.9587504 778.3010265 1877.546015 1203.269727 1299.158456 1050.339657 1116.789964 1670.657635 94.35465718 104.8136746 98.68068562 130.5089409 121.5652029 100.1822932 186.3642611 142.0460779 179.1868653 700.7368941 789.2540074 774.8256217 838.5946805 816.2936968 715.3322521 1342.317311 986.4060678 1033.767443 192.8407414 221.1073687 209.6058589 241.9320582 231.727882 198.6796422 412.0446851 304.3152596 316.6653433 636.8959791 462.3031232 466.7560201 453.294494 457.8509337 632.6572279 285.5062265 353.0828472 349.3239991 376.0647356 372.094048 300.636368 653.8679122 480.0310561 484.7275826 471.1415903 475.6497512 649.601249 467.8481953 361.7417649 365.5525192 354.0014757 357.7932235 463.1689337 239.1850259 287.7770516 284.6552464 307.5664347 303.9878219 251.7547519 487.6469929 378.1561705 382.8150548 369.6782087 373.5627247 480.98988 840.3410507 821.8140449 693.8637711 1343.667782 996.1957969 1028.830589 929.3373493 958.6560386 1256.410286 295.8811626 355.2311241 349.812492 367.9649663 361.1340035 299.8085701 585.9739908 450.9919905 462.213238 411.4661266 416.863851 540.4675376 281.6118048 334.7125075 329.7559585 344.6757152 339.6939412 284.8065424 2272.245642 2071.754971 1410.612413 4205.358213 3053.89229 3187.249465 2656.981926 2760.351818 3909.485447 1623.343057 1796.807837 2853.3238 958.7419791 1216.428346 1138.334086 1446.893188 1321.323373 1007.734397 189.7417406 239.0748175 214.1855003 315.6570064 280.4282599 214.4636232 526.9200692 359.9172812 455.2944396 1117.971714 2241.977144 1584.479019 2411.399718 2288.067134 1179.741796 13405.46141 5196.631721 5374.594337 10391.995 12732.28728 8349.554117 6436.894449 8906.146653 8417.006092 8439.621273 9762.181005 6436.433608 31.90196239 31.90247386 31.96734601 31.90318702 31.90453042 31.96768015 31.90542985 31.90729673 31.96895332 31.90995632 31.9135772 31.97099858 31.91832819 31.92430604 31.9745114 31.93146706 31.93945552 31.97951164 31.94768113 31.95565539 31.98467221 31.96195686 31.96541132 31.98794144 31.96622661 31.96443261 31.98756174 31.95990044 31.95312273 31.98391879 31.94561722 31.93786278 31.97885712 31.93057057 31.92429229 31.97422317 31.91985753 31.91423487 31.97105446 31.91051375 31.90786953 31.96899395 31.77119215 31.77184386 31.83626874 31.77287867 31.77424403 31.83802316 31.77602295 31.76485451 31.85718661 31.82729369 31.82895805 31.85942909 31.8358916 31.83915117 31.86729106 31.85165866 31.85721492 31.88134212 31.87655129 31.88443459 31.90269359 31.90824758 31.91664529 31.92824029 31.93664774 31.94158047 31.94797296 31.94711875 31.94699947 31.95363327 31.93839206 31.93263372 31.94206734 31.91247708 31.90452596 31.91959223 31.88237044 31.87513859 31.89634793 31.81376955 31.8063126 31.85848644 31.79700661 31.78965326 31.84762494 31.78446484 31.78199963 31.84002051 31.64241354 31.64373961 31.70741762 31.64593283 31.64890684 31.71113912 31.65269303 31.64730782 31.73442588 31.70794759 31.71175061 31.7402001 31.72763787 31.73500658 31.75949853 31.76342711 31.77614512 31.79314437 31.81969675 31.83689623 31.84386246 31.89059449 31.9076137 31.90268782 31.94078001 31.95049284 31.93972048 31.96060876 31.95887323 31.94913593 31.93982669 31.92889198 31.92403074 31.8895506 31.8732125 31.87480379 31.82758005 31.8126002 31.82456963 31.74708225 31.71739786 31.75895868 31.69707615 31.68193953 31.7338327 31.67088135 31.66442035 31.71780866 31.51497463 31.51739116 31.57987457 31.52118352 31.52667093 31.58731717 31.53391924 31.53804407 31.61876137 31.59802903 31.60560071 31.63082805 31.63846672 31.65408848 31.67107727 31.71605647 31.74449023 31.74444454 31.84043835 31.87907117 31.85374536 31.98747434 32.02878735 31.97326653 32.10153447 32.12505569 32.04482724 32.1110216 32.10325108 32.0506284 32.05287559 32.02994065 31.98484755 31.94776003 31.91755876 31.89383262 31.82746765 31.80000023 31.79689524 31.72396413 31.66027629 31.68403384 31.62111765 31.59189992 31.63421504 31.57027827 31.55616672 31.60401453 31.39046522 31.39454681 31.45524948 31.40087222 31.40997397 31.46742464 31.42300282 31.44124144 31.51170732 31.49902093 31.51374289 31.53493464 31.58100393 31.61201162 31.61911335 31.74616814 31.80759418 31.77787711 32.04735498 32.14585096 32.03952706 32.43141695 32.56696327 32.32659808 32.7350948 32.81253899 32.51287108 32.68631098 32.6341984 32.46979407 32.45263486 32.38644809 32.25230419 32.18408061 32.11753372 32.03569781 31.93232365 31.87825017 31.84706931 31.77737487 31.64746496 31.64490113 31.57676521 31.52525613 31.55531158 31.48657345 31.45980511 31.50204084 31.26857659 31.27504121 31.33401542 31.28523875 31.30004189 31.35400872 31.32197917 31.36045115 31.41930599 31.41968708 31.44640662 31.46074924 31.5661941 31.62648954 31.61593798 31.91416003 32.05778336 31.97093354 32.689204 32.98558232 32.68653475 34.11990752 34.71738302 33.77327124 35.61280025 35.76097601 34.43372432 34.84009883 34.48605957 33.91057891 33.6146343 33.36915695 33.02038474 32.78325515 32.62242168 32.43193898 32.21685378 32.10877091 32.0346594 31.94100511 31.69044035 31.66019329 31.57280801 31.48551674 31.50153 31.42283783 31.37681064 31.41306154 31.14970065 31.15917802 31.21608435 31.17430561 31.19685765 31.24728234 31.23051131 31.29413803 31.34249164 31.35939118 31.40029129 31.409909 31.60231227 31.71367188 31.68338565 32.27498426 32.57958725 32.42235417 34.1710244 35.10090627 34.40738624 47.95640948 48.26518893 45.54393733 36.71119724 35.7840269 34.96361995 34.04638007 33.6502633 33.28492519 32.7750256 32.56157344 32.42735385 32.23932761 31.81278473 31.74003419 31.61073759 31.4771277 31.47619665 31.37905097 31.30872377 31.33846809 31.03516038 31.04855108 31.10250296 31.06975089 31.10154138 31.14782069 31.14878304 31.23770871 31.27879558 31.31128532 31.36871988 31.37449072 31.67834426 31.85222697 31.81093044 32.76041129 33.27313767 33.09323026 74.149857 67.26113872 62.44881444 43.42201378 40.59932771 39.14263775 36.19995784 35.36018243 34.78213737 33.6671151 33.28297552 33.08025853 32.66336647 32.01343252 31.90038598 31.70210393 31.49372537 31.48207246 31.35246098 31.25357835 31.27851916 30.92521356 30.94324113 30.99415693 30.97135739 31.01335333 31.05587753 31.07488129 31.18831677 31.22486525 31.27153816 31.34768716 31.35217514 31.76705666 31.99977849 31.96365321 33.20183926 33.87213377 33.73891621 129.2765689 108.996445 104.4774806 52.07547469 46.80979729 45.25491159 38.96070949 37.54469412 36.85505158 34.80263902 34.20118296 33.95202718 33.17106833 32.27193146 32.13400276 31.83045397 31.53656001 31.51176619 31.34176124 31.20958458 31.23077602 30.81981244 30.84332823 30.8910276 30.87882018 30.93131568 30.97032358 31.00680305 31.14337711 31.17666924 31.23778511 31.33326563 31.33648551 31.8539298 32.13615346 32.10378977 33.55065395 34.31653233 34.2154643 155.6748965 131.2555901 129.8562392 58.9195701 52.14597585 50.99888804 41.70278676 39.76628831 39.08295345 36.00573942 35.18365247 34.94183321 33.69411054 32.54475087 32.40542897 31.97417381 31.5946703 31.56345651 31.34366171 31.1747909 31.19315061 30.71903367 30.74842103 30.79292993 30.79144052 30.85424148 30.88987725 30.94294927 31.10120044 31.1327496 31.20753234 31.32166133 31.32528241 31.93291104 32.25715811 32.23028597 33.84074145 34.68012441 34.59244939 153.7477402 132.6561848 133.1001554 62.62395165 55.52725887 54.89014493 43.87810505 41.61128184 41.06189358 37.10054702 36.09418024 35.89021666 34.15237207 32.78891802 32.67006017 32.10843432 31.65423098 31.62356517 31.35155906 31.14717957 31.16294554 30.62218482 30.65744551 30.69906248 30.70830843 30.7809816 30.81303711 30.88213938 31.0611381 31.09210274 31.17819495 31.31075076 31.31549513 32.00666992 32.36992477 32.34415348 34.11410893 35.02888714 34.9388493 141.9891371 125.3943854 126.5443663 63.97689953 57.13086739 56.98776613 45.32279759 42.92930515 42.57096618 38.00032779 36.85905465 36.65969438 34.49160511 32.97546679 32.88850436 32.21357153 31.70235152 31.6786793 31.35549799 31.12234368 31.13721764 30.52870303 30.57000963 30.60841626 30.62816704 30.70999981 30.73770196 30.8243199 31.03116473 31.05147146 31.15350265 31.30233688 31.30547631 32.07856436 32.47957353 32.44861769 34.3914154 35.39851877 35.29486524 97.12742658 110.8796572 109.4198401 604.316799 520.3259975 537.3980073 121.70561 99.65595129 100.9184603 64.12780184 57.86038357 57.85046595 46.28675105 43.75726985 43.55720409 38.53671252 37.32079216 37.22888999 34.6795165 33.0923136 33.04188647 32.2816491 31.73089049 31.7182597 31.35166923 31.09496776 31.11135161 30.43774868 30.48445256 30.52535642 30.54858489 30.63816489 30.67433521 30.76016904 30.98183236 31.01976132 31.13616879 31.30166307 31.3093225 32.15538418 32.59694056 32.58961463 34.72538458 35.87485124 35.80052414 383.548292 305.4120677 315.3625684 113.026608 94.61411142 95.96753965 63.93716933 58.05561901 57.98029547 46.70919555 44.23978383 44.17572873 38.91663695 37.61394614 37.54238622 34.74498827 33.14036793 33.12121243 32.31016737 31.7329421 31.73512142 31.33670801 31.06108432 31.08051239 30.34811412 30.39918178 30.44001757 30.46815421 30.56386149 30.60144941 30.69162205 30.92007268 30.96661814 31.08454378 31.25395449 31.26830254 32.11667354 32.56604746 32.58302577 34.76829778 36.0052918 35.99909579 45.48157962 55.25548115 54.1070154 566.8397651 1951.464593 2166.118142 272.038156 197.350621 202.958099 106.9867829 91.29169791 91.77146178 63.55395729 57.98194483 57.94429964 46.95456588 44.45826436 44.43683985 39.01077948 37.68297017 37.68653116 34.71244528 33.13025344 33.13814141 32.30017203 31.7146657 31.72680203 31.30708991 31.01942021 31.04201482 30.25868956 30.31298738 30.35452495 30.38565167 30.48572611 30.52531349 30.61950639 30.85360681 30.90284503 31.01844114 31.18505074 31.20340173 32.01552824 32.44760016 32.48171786 34.58672547 35.81639242 35.88400423 45.86296936 56.54570409 56.73581287 577.8720319 1414.935246 1523.754247 259.6110612 192.5626652 191.0447123 106.9683799 91.8346288 91.34339305 64.31086683 58.65932586 58.44416865 47.22168407 44.61788312 44.5857541 38.95444887 37.59605416 37.62718753 34.63569873 33.07943368 33.10843731 32.25769389 31.6749864 31.6945188 31.2633831 30.96816047 30.99543838 30.16847719 30.22493943 30.26765849 30.30029397 30.40329125 30.44505535 30.541932 30.78466594 30.8365404 30.95148445 31.11350945 31.13030262 31.89569734 32.29920914 32.3353967 34.28799289 35.42878129 35.52543204 44.39504336 53.6586893 54.52095791 357.7471921 1007.183675 1104.025579 288.1077202 207.8233871 202.3171457 111.6379643 95.28902799 94.28406772 65.63854846 59.57313862 59.36408996 47.34290946 44.58950376 44.63063066 38.76405629 37.42880673 37.47400265 34.52943713 33.00679579 33.04585688 32.19264533 31.61423232 31.64617757 31.20203504 30.90533954 30.93879631 30.07669144 30.13455787 30.17869021 30.21173106 30.31660625 30.36045753 30.45886356 30.70809037 30.76580154 30.88278789 31.04891563 31.06576368 31.81279217 32.19330783 32.21172198 34.053852 35.11382488 35.16318934 43.06518034 50.87423402 51.33857585 232.2746651 697.8164186 762.6328405 334.5821722 230.1799865 224.8366951 117.0544887 98.91622835 98.24964648 66.27270116 59.77924825 59.85514196 46.98788928 44.22316605 44.32909583 38.53866871 37.24486972 37.29061899 34.41074208 32.91761959 32.96367706 32.11274969 31.53919602 31.57784745 31.12834698 30.83108935 30.86974661 29.9830373 30.0417114 30.08729285 30.12005757 30.22616652 30.27181301 30.3710131 30.62514522 30.68758204 30.80603549 30.9760218 30.99497566 31.7564817 32.14549274 32.15787339 34.03915467 35.12733023 35.09212519 43.30644635 51.21880502 50.72610783 198.2706607 547.4491612 571.4296763 340.8653751 234.6988672 236.3288467 116.9815752 98.59288529 99.17557377 65.37767154 58.92309503 59.13948496 46.50943883 43.8415093 43.93045903 38.3308589 37.06965301 37.1120052 34.29022049 32.81987749 32.8694979 32.02334436 31.45363395 31.49726126 31.04459391 30.74748555 30.79065233 29.88716419 29.94647936 29.99345361 30.02564141 30.13272064 30.17976947 30.27948532 30.53772219 30.60341651 30.72334796 30.89657016 30.91688156 31.69300847 32.09292285 32.1063378 34.09303273 35.28441345 35.24274735 44.83415022 54.61934219 53.72105728 216.8866859 500.7800066 511.6344839 309.4550221 220.7904751 223.957045 113.7948377 96.46114094 96.95301593 64.58647284 58.25530124 58.39295436 46.12872581 43.53070846 43.60136559 38.1489726 36.9113643 36.9492699 34.1714019 32.71719413 32.76907752 31.92689431 31.36003392 31.40753825 30.95253914 30.65553196 30.70275677 29.7891766 29.84901023 29.89727591 29.9288922 30.0370007 30.08510675 30.18537186 30.44760423 30.51523414 30.63708207 30.81344933 30.83444442 31.62709084 32.03945469 32.05268286 34.16131941 35.46980985 35.42038537 46.73792537 58.23135088 57.35097058 223.664648 460.2544406 469.9833377 286.0901476 209.8717948 212.3725905 111.2286278 94.75190183 95.14280057 64.08953985 57.86677079 57.94308776 45.86385182 43.30039914 43.34975548 37.99350864 36.77011983 36.80394286 34.05359566 32.61007817 32.66421342 31.82424903 31.2596723 31.31050142 30.85339675 30.55655788 30.60711471 29.6889576 29.74953139 29.79894773 29.83021619 29.93956341 29.9884708 30.08956675 30.35609106 30.42470994 30.54901684 30.72877477 30.75001429 31.56180063 31.98842463 32.00084884 34.2494068 35.69726482 35.63475286 48.88822231 61.34743169 60.63806757 223.6528323 424.0014388 432.6655764 268.3230101 201.0337538 203.0862061 109.1590081 93.38848042 93.7024456 63.76586231 57.65769564 57.69808986 45.71949105 43.15745435 43.18542242 37.86345313 36.64400444 36.67422666 33.93529817 32.49834434 32.55477968 31.71597607 31.15347621 31.20714581 30.74825493 30.45145827 30.50497965 29.58704077 29.64833171 29.69870086 29.72998803 29.84081336 29.89033 29.9926992 30.26409624 30.33303188 30.46030155 30.64384085 30.66504414 31.49886864 31.9418504 31.95293543 34.37220044 36.00597151 35.91855058 50.87735321 63.7322941 63.19968181 219.7222105 391.8504303 399.5442002 254.0905752 193.6099962 195.3642089 107.4436463 92.28163244 92.53733811 63.55368827 57.55257504 57.57152835 45.66537965 43.08684405 43.09925228 37.75580199 36.53055083 36.55791664 33.81593727 32.38254163 32.44088121 31.60304547 31.04250583 31.09844562 30.63823055 30.34170307 30.39736401 29.48349792 29.54584027 29.5969115 29.62864556 29.74114012 29.7910664 29.89524274 30.17224389 30.24105155 30.37177257 30.55958623 30.58055569 31.44014815 31.90279873 31.91164208 34.55608213 36.42772488 36.31236125 52.49409729 65.49529165 65.10603574 213.4724584 363.1472607 370.0428939 242.3300821 187.2598395 188.7470464 106.0120325 91.3836792 91.5905873 63.42327646 57.51218598 57.51816757 45.66090254 43.05907462 43.06367533 37.66364455 36.42589781 36.4514845 33.69603278 32.26405895 32.32352949 31.4868914 30.92803891 30.98557848 30.52452419 30.22804476 30.28559462 29.37932429 29.44256818 29.49403721 29.52670465 29.6410258 29.69110469 29.79766599 30.08093395 30.14931031 30.28387286 30.47645776 30.49712133 31.38724884 31.87466594 31.880473 34.81069993 36.9291368 36.80023836 53.75191507 66.75956673 66.4849249 205.8791668 337.628248 343.7325149 232.3930471 181.7666697 183.0858369 104.8090338 90.65731856 90.8234147 63.35448729 57.51402482 57.51065224 45.67527565 43.0477799 43.04996098 37.57882721 36.32579758 36.35057596 33.57670786 32.14463994 32.20436016 31.36912483 30.81144037 30.86989229 30.40834977 30.11212695 30.17059956 29.27443286 29.33906052 29.39065376 29.42473007 29.54109227 29.59099609 29.70063871 29.99092614 30.05823941 30.19709424 30.39494899 30.4151125 31.34196525 31.86076131 31.86279071 35.10857144 37.43468155 37.31213885 54.68551817 67.57794054 67.42121223 197.4045798 314.5908213 320.2330299 223.9246328 177.0296683 178.1022536 103.8667077 90.13211924 90.2393621 63.35105101 57.5545185 57.54177641 45.69281034 43.03777442 43.04105865 37.49555047 36.22733991 36.25194471 33.45914721 32.02589754 32.08509913 31.25120673 30.69398509 30.75272853 30.29084403 29.99427964 30.053709 29.17010395 29.23579363 29.28724386 29.32324584 29.44200612 29.49141103 29.60504247 29.90364333 29.96876119 30.11274292 30.31665126 30.33578312 31.30765777 31.86400372 31.86147231 35.406478 37.88064715 37.77613498 55.26278656 67.884355 67.85703386 187.5008564 292.6937747 298.0965554 217.7215632 173.6292758 174.3645458 103.2764492 89.83212721 89.89612911 63.36965397 57.58848948 57.58587995 45.68833357 43.00845849 43.01930426 37.40758779 36.12740681 36.15274393 33.34397625 31.90899183 31.96716552 31.13423189 30.57667601 30.63524953 30.17293917 29.87625337 29.93554289 29.06562829 29.13314813 29.18431236 29.22267388 29.34432845 29.3929781 29.51173951 29.82087198 29.88244027 30.03303 30.24450488 30.26176849 31.29027897 31.88966777 31.88058559 35.69360996 38.26801485 38.17350687 55.5744354 67.80774155 67.83853664 177.2760771 272.475156 277.3169137 212.3187782 170.7154391 171.5125994 102.6646152 89.44827658 89.58039554 63.26407063 57.51093118 57.55322732 45.61548311 42.93025313 42.9554107 37.30839918 36.02266867 36.04938165 33.23147388 31.79458598 31.85145571 31.01889207 30.46022564 30.51830968 30.05532856 29.75749451 29.81725304 28.96267189 29.03138067 29.08209214 29.1232852 29.24841315 29.2961699 29.42128922 29.74400306 29.80105025 29.96039863 30.18203301 30.19659788 31.29851733 31.94872272 31.9301461 36.0086747 38.67115622 38.56341597 55.93202169 67.84747988 67.79562835 169.4742134 255.900874 259.6418202 204.7946547 166.2577255 167.5976047 101.3669317 88.5204486 88.81701577 62.87982753 57.21446364 57.30812356 45.45898349 42.79453091 42.83318776 37.19729775 35.91297963 35.94073954 33.1218872 31.68295044 31.7384291 30.90554353 30.34505813 30.40247577 29.93849547 29.64006847 29.69887942 28.85955914 28.93065626 28.98094165 29.02524089 29.1544082 29.20124167 29.33387144 29.67355878 29.72577035 29.8964249 30.13182118 30.14318244 31.34164598 32.05293239 32.02237538 36.40327298 39.1770971 39.03849805 56.65435795 68.4980965 68.26487166 165.745194 244.1520362 246.762077 194.3513822 159.5958533 161.4162581 99.22089363 86.97070585 87.40246895 62.25064749 56.74125521 56.87114684 45.2414661 42.61855527 42.66498625 37.07904471 35.80094158 35.82902253 33.01521397 31.57403357 31.62819258 30.79427704 30.23140053 30.28808407 29.8227115 29.52214884 29.58148722 28.75881735 28.83106596 28.88085295 28.92860798 29.06236826 29.1083169 29.24949345 29.6095133 29.65692999 29.84147821 30.09451705 30.10261387 31.41977837 32.2025931 32.16141795 36.88493858 39.80006671 39.63588088 57.76823951 69.77435891 69.41819471 164.9452901 235.6439075 237.6961415 182.9437968 151.9937569 153.9044773 96.63713089 85.10008062 85.57972131 61.50209696 56.18327539 56.32629168 44.9962855 42.42458725 42.47389584 36.9583095 35.68882889 35.71680176 32.91110893 31.46757221 31.5205937 30.68501395 30.11928914 30.17528633 29.70814218 29.40678565 29.46447812 28.65728793 28.73261581 28.78220746 28.83340427 28.9722939 29.01749978 29.16816719 29.55184683 29.59447379 29.79539748 30.06961038 30.07473199 31.52675008 32.38672069 32.33818377 37.41703651 40.48502805 40.31141862 59.04185762 71.27521332 70.89852278 164.9988192 228.2887013 230.2271226 172.2663591 144.6645896 146.4499084 94.01172216 83.18416116 83.65945256 60.72836622 55.60584052 55.75025789 44.74306377 42.22501458 42.27514098 36.83708588 35.57734153 35.60516149 32.8089957 31.36319749 31.4153552 30.57752138 30.00865216 30.0641606 29.59474027 29.29017757 29.34917466 28.55904275 28.63519327 28.68487665 28.73950841 28.88413093 28.92897311 29.08992902 29.50077934 29.53842379 29.75804666 30.05641983 30.05862968 31.65508147 32.59333126 32.54005978 37.9629515 41.17858041 41.00608254 60.291998 72.7201443 72.3703538 164.7732952 221.1393997 223.1040592 162.7361832 137.9781172 139.6082418 91.49579845 81.32932453 81.78634671 59.96372414 55.03195987 55.17478863 44.48787812 42.02341892 42.07398246 36.71548845 35.46617724 35.49396841 32.70832841 31.26045911 31.31225205 30.47142318 29.8991896 29.95474232 29.48237926 29.17742236 29.23425473 28.45824087 28.53843613 28.58960678 28.64663154 28.79763265 28.84309659 29.01469661 29.45664049 29.48905979 29.72957248 30.054569 30.05412893 31.79977192 32.81495791 32.75838767 38.50560171 41.85803904 41.68972314 61.46215981 74.03612076 73.71666459 164.151468 214.0370199 216.0569884 154.2673083 131.9240295 133.429554 89.11039548 79.55220754 79.9921772 59.21335324 54.46489387 54.60624313 44.23109403 41.81977553 41.87093175 36.592966 35.35473186 35.38265629 32.60858573 31.15853604 31.21118774 30.36604908 29.79036487 29.84728833 29.37045468 29.06102427 29.12202793 28.36111736 28.44142552 28.49654491 28.55389733 28.71206446 28.76059364 28.94182031 29.41964763 29.44667671 29.70998411 30.063548 30.06023946 31.95789682 33.04788675 32.98852061 39.04133214 42.52046356 42.35485001 62.55750969 75.23764552 74.93525992 163.2160215 206.9675537 209.0743215 146.6928891 126.4143407 127.8554272 86.84092114 77.8440257 78.27792629 58.47431241 53.90245915 54.04424918 43.97158894 41.61312506 41.66531512 36.46879246 35.24232216 35.27058951 32.50914166 31.05564076 31.11261369 30.25991413 29.6806983 29.74245727 29.25763157 28.94911327 29.01070728 28.24824122 28.3357876 28.40790104 28.45375934 28.6209837 28.68296404 28.86681431 29.38835874 29.41160071 29.69947662 30.08365997 30.0771088 32.12998066 33.29360755 33.22642418 39.579477 43.1790519 42.99688433 63.60815905 76.3641562 76.04060852 162.0543782 199.9605928 202.2086221 139.8427435 121.3396828 122.8348436 84.64948677 76.1756103 76.6525792 57.73262446 53.33376518 53.49253998 43.70429241 41.39956786 41.45782719 36.34083471 35.12708582 35.15768947 32.40307673 30.94352677 31.01895626 30.1443402 29.56128395 29.64230535 29.13439032 28.81776953 28.90616248 107.9892048 106.588142 93.81274967 150.7711875 169.9260423 167.6992879 156.3471454 149.4988159 125.8961603 499.1440503 570.879096 560.6436698 849.0932235 840.5953847 715.3604806 165.0678327 163.2065572 145.6934891 53.97036586 50.83481976 47.31576001 44.02505302 46.81985772 48.36536948 99.56484224 94.4346657 110.4440092 56.06696554 50.40166674 50.7663296 48.43553406 48.7838757 53.69478337 128.0450209 125.9098798 150.2634472 61.848495 54.06871043 54.67300089 51.1473115 51.56034362 57.94913562 133.5256391 133.7232999 156.3580857 68.94101809 59.41184729 60.19131566 55.29421532 55.94350566 64.38044998 305.2996545 256.0501084 258.6241499 78.50148791 66.25557184 67.23844761 60.93761806 61.776911 72.27483871 483.000437 378.1122759 383.9239473 314.0484075 317.6943103 391.9688372 303.2475129 344.2019351 336.8071055 98.80673057 79.09088792 80.75543686 68.28424169 69.33234395 82.97603056 120.4373237 118.8388371 103.2138051 515.9653567 500.7259564 620.3877653 173.9870693 137.3162945 139.2507393 126.2494401 128.0917443 160.3776941 269.3867084 266.3485988 222.7299223 941.6599943 708.3421457 706.0887141 675.0264653 679.4526886 837.4527083 687.6452554 541.9154881 527.1546183 701.9758837 695.8546871 929.3246225 229.6116806 275.4439178 272.4052621 376.330635 384.6810009 485.6163246 814.6441671 665.0023423 670.3735192 377.9178503 306.8723797 310.4599668 261.1630314 263.8994714 315.9449511 389.6831638 395.070825 513.7780056 89.16737787 99.77533651 98.28965411 327.6280041 322.5241853 285.1738375 107.2823038 123.8448604 122.4198359 52.17729977 47.65037049 48.07266612 43.58408774 44.43450147 47.58868665 108.9443657 93.87759163 96.13235065 73.81604274 77.85913455 84.79427709 152.2457831 122.8391385 124.5652238 110.4309161 112.3091271 138.2386323 127.4725939 128.5201652 146.5411374 442.3710227 451.5447956 512.6829319 128.868764 107.3261323 108.8184872 98.08754558 99.90899246 117.5065555 145.0715389 123.5534647 114.165132 353.768526 303.275139 308.4415197 271.621158 276.6121657 314.2802035 441.860503 359.66408 367.5123882 316.0370326 321.7070794 382.0967518 65.98786978 73.70385873 75.07238813 93.88260777 85.53343098 77.87159958 75.93143312 76.12122751 69.74441018 423.7066277 308.2962426 259.1537772 345.0617415 349.6692245 432.6513114 300.9602576 244.1240096 257.7371832 148.03167 161.6498785 177.7889453 240.5526847 234.0358752 210.8941977 212.7234792 249.9483559 245.6993063 696.8596695 698.3072231 882.7371966 865.857093 694.0136986 695.1174384 614.3165467 601.6017045 776.7346631 825.5724293 637.5464518 624.838167 761.8191887 750.013676 638.9882946 1044.603157 843.762838 867.4765436 715.8868901 734.5203043 838.5931839 764.8895982 795.4194837 939.5704833 1167.183151 1226.567651 1791.061109 82.38406554 84.05039719 106.9761715 2964.174032 3264.639359 7417.007145 836.1352375 711.6686387 749.5469747 479.5546043 424.8655884 433.3072242 204.0759616 169.1810321 153.377515 244.5180726 245.5158377 286.0507345 268.0199022 244.5694947 244.0666024 416.090268 336.7666866 341.1647908 5827.709875 4304.848316 4838.047365 421.1606054 411.6341814 436.0413265 497.4186161 441.3396502 428.1970257 621.7558605 629.5787892 752.8403711 719.7239256 606.6011618 614.4280836 284.3088088 287.8974942 348.6486707 334.4590024 277.9530888 281.1155558 768.7689919 681.7027572 700.9773875 1357.107407 1032.523132 1093.891283 1571.175857 2074.565949 1176.67224 58.29049178 54.28996771 56.77149877 296.6090819 262.0963907 267.431942 158.8054293 181.2818665 178.4222298 54.69229077 61.43928508 57.97136696 101.4130373 93.47142353 97.85111701 329.4234745 383.6104709 372.9073978 147.0253173 161.1400098 140.5670637 232.9082306 199.0329763 211.2275565 31.7692896 31.79887644 31.79665672 31.80429893 31.80118628 31.77216473 31.86113532 31.83086574 31.83324436 31.78512851 31.81172563 31.80747843 31.82160179 31.81597519 31.7904272 31.87050976 31.84270698 31.84703938 31.81273377 31.83426287 31.82709315 31.84980851 31.84105232 31.82123738 31.88662336 31.86296547 31.86975592 31.85447422 31.86810488 31.85792453 31.88814965 31.87702065 31.86577903 31.90970701 31.89207214 31.90052598 31.90188996 31.90762838 31.89739302 31.92409806 31.91528643 31.91264333 31.93495253 31.92397072 31.93104988 31.93600166 31.93585141 31.93028992 31.94277318 31.93912648 31.94017453 31.95135901 31.94436756 31.94625015 31.9446992 31.94354327 31.94410664 31.93701544 31.94156334 31.94242398 31.95195934 31.94559847 31.94244708 31.92252808 31.92538029 31.93222927 31.91003163 31.91903363 31.91367056 31.9364518 31.92651884 31.91932231 31.88227407 31.89182792 31.90186704 31.87345918 31.88346912 31.87191634 31.91281505 31.89720162 31.88932104 31.83899272 31.85592376 31.86521598 31.84029866 31.8484618 31.82988372 31.89066399 31.86890091 31.86264457 31.65698485 31.68396222 31.67933367 31.69577361 31.68929236 31.66336673 31.74378822 31.71613516 31.72158661 31.69042793 31.71186655 31.70309754 31.73363095 31.72174875 31.70264983 31.76605851 31.74304518 31.75280229 31.75158405 31.76219934 31.7468549 31.79591443 31.77848189 31.77064036 31.80389332 31.78949095 31.80498136 31.84202564 31.83730047 31.81565213 31.87921037 31.85777961 31.8665306 31.85681004 31.85505347 31.87373166 31.94310689 31.91917149 31.89923003 31.94873025 31.93615257 31.95835893 31.91454189 31.92100831 31.9325023 32.00567447 31.96838641 31.95838928 31.98146811 31.97578444 32.01286332 31.94522599 31.95730733 31.96029402 32.00519735 31.97828706 31.98200119 31.962404 31.97076086 32.00061147 31.94626084 31.95553899 31.94812179 31.95955995 31.93904991 31.95201142 31.90956076 31.92547562 31.94243253 31.91424379 31.91751636 31.90351661 31.8817336 31.87547471 31.89345423 31.83840884 31.85784155 31.86156414 31.86308869 31.85719207 31.84147655 31.79709668 31.80387459 31.82024959 31.77267097 31.78801797 31.77925884 31.81334215 31.79940686 31.78663417 31.55773843 31.58131966 31.57225147 31.60511865 31.59206615 31.57085481 31.63844146 31.61462873 31.625479 31.62794311 31.63977058 31.6209027 31.68584341 31.66137276 31.65351592 31.68606136 31.67232801 31.69315697 31.75813601 31.74828005 31.71601552 31.82356205 31.78348158 31.80355998 31.77030471 31.77379181 31.80550527 31.96994773 31.91192464 31.86713088 32.0053014 31.95715228 32.03482986 31.8834621 31.91853552 31.95595908 32.20666136 32.08775552 32.05810894 32.18546361 32.13518111 32.24792912 32.00091852 32.05597499 32.07770036 32.35918911 32.20246752 32.20524124 32.20687578 32.20794005 32.36328828 32.05238703 32.13147583 32.12761243 32.28946246 32.19641963 32.21420519 32.13946252 32.1614349 32.27940445 32.03465432 32.09701996 32.07612015 32.16164034 32.08000888 32.11354267 32.01202768 32.04585626 32.12236487 31.96341131 32.00480717 31.97674066 31.98982961 31.94399336 31.97818593 31.87434082 31.90929451 31.94596622 31.87016495 31.88723284 31.85665664 31.8235431 31.80804312 31.84066489 31.75006725 31.77826379 31.78746727 31.77352007 31.77420479 31.74912753 31.47684204 31.4944002 31.47713449 31.54174433 31.51578541 31.50164651 31.55056028 31.53200986 31.55448444 31.61088375 31.60932555 31.5721765 31.7072199 31.65391689 31.66312533 31.64990402 31.65066346 31.69440899 31.90202305 31.84941852 31.77293768 32.03819517 31.93710114 32.01504251 31.83395637 31.87905148 31.95941581 32.45778582 32.27728711 32.15338686 32.53403008 32.39593473 32.66655758 32.10973245 32.25908869 32.36411796 33.26981014 32.80342955 32.72061605 33.07153976 32.93371252 33.43844007 32.39468077 32.6407029 32.67544776 33.71352318 33.13237643 33.15238383 33.05713707 33.10146696 33.70602237 32.50932765 32.80918839 32.7818469 33.27132874 32.96811455 33.05500929 32.72743957 32.81799526 33.19124255 32.39651343 32.60714761 32.53217126 32.76333866 32.54066121 32.64158928 32.35266828 32.44237242 32.64897845 32.19516396 32.32141166 32.25263879 32.32029805 32.19170409 32.2694569 32.04864986 32.11844649 32.22408152 31.98669339 32.053863 31.99096293 31.97030605 31.91995576 31.98324916 31.80433502 31.85999784 31.90095773 31.80417168 31.82822158 31.78190775 31.42082446 31.43279591 31.402855 31.51377369 31.46923382 31.46125436 31.48926893 31.47858379 31.51723601 31.66232719 31.64039105 31.57010507 31.84472559 31.73065298 31.76958935 31.67877474 31.7032227 31.79806976 32.28514498 32.16085875 31.98623179 32.63905547 32.37478749 32.55238755 32.10875878 32.23174307 32.44068512 33.83358575 33.3619048 32.96418123 34.3594347 33.79421637 34.57392046 32.90503676 33.37352552 33.80102108 37.97241488 35.86158315 35.23642143 37.44491726 36.75991213 40.22145108 34.07698735 35.11160568 35.42087543 42.16347191 37.60927643 37.76189319 36.72462619 37.25119505 40.81795996 34.33841281 35.65921082 35.39090746 36.91973931 35.72150353 36.3357221 34.535488 34.98962007 36.22258632 33.58536732 34.25192908 33.91948474 34.32190275 33.78146113 34.14531155 33.20137529 33.46654929 33.93251209 32.8434265 33.15830835 32.96208037 33.05702476 32.78435167 32.97850427 32.46442413 32.61325885 32.83416177 32.31986459 32.47594899 32.34035121 32.30562215 32.20222593 32.32899992 31.97864331 32.08574664 32.16954702 31.95069287 32.01262313 31.92400334 31.38308574 31.39083248 31.34621553 31.52075552 31.44709583 31.44554743 31.45514931 31.45094162 31.51639261 31.78013499 31.74307953 31.61713711 32.11573324 31.90576529 31.96462253 31.8067112 31.8567645 32.04023587 32.92383766 32.74075439 32.38693812 33.82514101 33.20680123 33.4660411 32.74719223 32.97435842 33.48561938 36.73138541 35.86229303 34.68112048 40.38999773 37.47034634 39.12616978 35.2636284 36.49895951 38.50094757 44.91631366 43.89368004 45.53044689 59.88882021 53.74044297 53.57143417 52.10074291 52.97167334 59.52360649 45.16406888 48.28506957 47.86354147 37.8711045 36.73316132 38.03554486 35.00136401 35.75318519 36.63952541 34.40305655 35.07439019 34.51028559 34.41029797 33.94198294 34.40891361 33.24174134 33.56110822 33.92035263 33.02780518 33.31032734 33.02381674 32.88514357 32.71803228 32.96185268 32.30864616 32.50133658 32.63846735 32.2670961 32.37633872 32.21159302 31.3569738 31.36225992 31.30040091 31.55421061 31.44434058 31.44586405 31.44329522 31.44414576 31.5451887 31.92604533 31.88813002 31.69906739 32.45547191 32.13430975 32.1916814 32.01539367 32.07848615 32.37343924 33.59371945 33.43692629 32.87734517 35.21365038 34.18860818 34.40028544 33.71250948 33.96183021 34.90304433 78.01329464 72.468209 80.28773238 59.87833186 64.81583618 69.15961259 43.67462973 42.08944232 45.58355445 37.98087161 39.69050971 40.9244323 37.53522115 38.65404435 37.25564608 36.42047489 35.75455878 36.70979936 34.40976003 35.01051962 35.52503248 34.23764475 34.6790188 34.12668243 33.7267654 33.48487771 33.90878741 32.80854218 33.12150884 33.31322267 32.79223013 32.95543534 32.67348168 31.33983145 31.34366518 31.26261861 31.59920353 31.45327763 31.45608498 31.44803934 31.45040755 31.58755952 32.06967675 32.03565681 31.78959862 32.76383936 32.35324118 32.40238798 32.247758 32.30111435 32.69200874 34.10907338 33.99525467 33.29727298 36.15446083 34.9181173 35.06113181 34.59082096 34.76323203 35.96275083 116.9860414 113.1567957 134.759375 85.07396492 96.7375088 99.91440179 89.71060785 93.39189361 82.68565906 49.71014838 48.30172401 54.10573641 41.55431487 44.35045401 45.5257196 42.04205479 43.27574302 40.78721687 38.69278447 37.97299812 39.49783555 35.858569 36.79946191 37.35087958 35.89414504 36.42417833 35.53160331 34.69929368 34.44061115 35.08749143 33.42963384 33.89356382 34.10027015 33.49780224 33.69675806 33.27004068 31.32733994 31.33053088 31.23012637 31.64535086 31.46652902 31.46942607 31.45945555 31.46271073 31.63342259 32.1984471 32.16885331 31.87545656 33.01844192 32.54237623 32.58433145 32.45083255 32.49681193 32.95820471 34.50371011 34.41179273 33.62747172 36.78429004 35.43218213 35.54739226 35.1914022 35.31684074 36.6465691 88.64944958 79.09361912 79.80824397 77.70819735 78.41365455 87.77345095 133.1166848 132.3661985 156.4910368 99.91545553 113.7060548 114.6828758 111.1480404 112.6179464 98.80263774 54.0626859 53.2048249 60.19503882 44.7926243 48.30650516 49.13434035 46.47677721 47.4929966 44.16706338 40.73958654 40.14677474 42.16159007 37.32088265 38.57257037 39.0685887 37.70818655 38.22744136 37.005109 35.66847244 35.43145877 36.29617837 34.08382538 34.70116465 34.89456482 34.30091204 34.496043 33.91807281 31.316861 31.32066528 31.20176914 31.68996074 31.4812117 31.48283076 31.47375502 31.4757954 31.67653633 32.31509491 32.2892277 31.95510349 33.23947598 32.70964146 32.74734019 32.62796237 32.66662465 33.18421573 34.85348187 34.76599973 33.91024852 37.3468408 35.87301192 35.98811502 35.65505159 35.7675966 37.2154282 103.7801675 90.79617042 91.6702376 89.14846158 89.98478452 102.6944364 131.2305417 131.7936324 152.3509409 56.49513745 56.10191563 63.21452877 47.07943848 50.91286197 51.46507259 49.77979316 50.50249739 46.75840971 42.29778757 41.91180624 44.16863223 38.59825601 40.09162635 40.39976355 39.3470427 39.80700332 38.32637634 36.49550195 36.31081118 37.35638847 34.676393 35.42607622 35.58120895 35.07939847 35.24604004 34.5313018 31.30543521 31.31130024 31.17522866 31.73176351 31.49450259 31.49231219 31.48702922 31.48861921 31.71654827 32.42680334 32.39986303 32.02815986 33.44586359 32.86416309 32.90519567 32.78666681 32.82492411 33.3957052 35.21125662 35.11620774 34.18051336 37.98560137 36.33157219 36.46407199 36.09666461 36.21867752 37.82832728 125.4052786 107.1699794 108.5703147 104.7395502 105.9422326 123.7922756 57.55187451 57.5082265 64.14655767 48.60016495 52.45539314 52.68627394 51.82772775 52.1367796 48.30169601 43.39118678 43.1188389 45.54474501 39.52452946 41.16277684 41.36363159 40.66677805 40.96366523 39.34871897 37.11853881 36.96942786 38.14306805 35.12741631 35.97269628 36.10352793 35.71638797 35.88364439 35.04653453 31.31386448 31.30207359 31.14959317 31.76575192 31.5045877 31.52659543 31.49873523 31.50078737 31.75670839 32.57319416 32.50250433 32.0938661 33.64815763 33.01156433 33.10662006 32.93402044 32.97927862 33.60421645 35.71166245 35.47794033 34.45039845 38.74789197 36.83570973 37.17349852 36.57897626 36.72524374 38.58225035 113.9139158 112.3836142 98.25198561 159.9983258 132.0283057 134.0326952 128.0885345 129.9956909 157.1000142 489.7759408 503.4731946 580.7921059 383.8803829 437.6437126 427.3775343 463.8067539 450.8286427 393.0115843 97.27374773 98.21294972 119.1017433 72.3714936 83.11108417 82.40396159 84.38518489 83.58886138 72.53009653 58.00394981 57.95396177 64.11840948 49.35779672 53.14356488 53.31875036 52.84323457 53.0961316 49.3397426 44.00716896 43.95341706 46.38749487 40.16944304 41.89922839 41.95328061 41.57308988 41.67743001 39.97021985 37.50582837 37.41612913 38.68949142 35.42369028 36.33539257 36.41650383 36.18530695 36.27516223 35.37493421 31.28110979 31.29217877 31.12497064 31.7964239 31.51234051 31.50194803 31.52538442 31.52007353 31.8016722 32.59434463 32.59850399 32.15345451 33.85852615 33.15523405 33.15585378 33.13351477 33.14912283 33.84279795 35.97867775 35.93642653 34.75674225 39.9963201 37.56123669 37.66028431 37.31515439 37.44423033 39.75820509 195.3414858 199.4018716 267.9423608 287.9420338 296.8025559 367.4331183 257.3785543 252.9611631 213.6547112 92.47974408 93.42345392 111.0040255 71.06820063 80.507014 79.97828208 81.92135145 81.18510371 71.47636267 57.94176681 57.99941342 63.71424322 49.86364462 53.48961664 53.47613057 53.31132932 53.42759902 49.71991858 44.41403655 44.32516341 46.84855709 40.45711717 42.22762872 42.32309817 42.09065508 42.1778177 40.42231009 37.67078233 37.63770768 38.93872028 35.56437487 36.52144538 36.54689423 36.4490233 36.50180707 35.55055587 31.22125664 31.23820666 31.06888525 31.73881907 31.45725318 31.43869708 31.48892088 31.47408474 31.75763978 32.51416234 32.54251167 32.09530515 33.81578076 33.10337569 33.07268365 33.14594746 33.1300888 33.84504091 35.94868563 35.98143886 34.73929914 40.62851335 37.76778321 37.75428683 37.72866661 37.76728027 40.54790697 56.64539658 56.17314536 45.80560295 160.6048365 79.59331318 81.35051917 72.70771319 76.23807301 141.7760289 1633.671244 1771.390644 634.5770261 404.2437984 969.8551509 902.3720939 1213.829357 1079.31851 420.5650237 191.542205 193.2708611 263.2376118 127.059246 153.9215353 152.9175112 159.1486379 156.1054028 128.2867402 91.09321034 91.08117939 106.4191669 70.61693628 79.4483938 79.56390247 79.67050072 79.49406341 70.59234134 58.2604106 58.12182573 63.66075014 50.00446112 53.64634764 53.78664336 53.49089681 53.54694576 49.94280344 44.53042152 44.50017961 47.00981522 40.55948755 42.37188247 42.3881977 42.33708403 42.3524271 40.55492464 37.65258563 37.67025822 39.0053721 35.55157439 36.52621565 36.50538825 36.55108768 36.5425461 35.56854257 31.14816336 31.16649455 31.0010527 31.64572683 31.37721029 31.3563028 31.41886463 31.39822046 31.67068539 32.37310592 32.41065487 31.98514051 33.62626131 32.94575642 32.89915671 33.03223096 32.99153394 33.6841784 35.63403582 35.72482225 34.51381307 40.38419155 37.50209056 37.37989984 37.68749774 37.61982976 40.55167295 55.36610344 56.04800214 45.5821279 161.8908102 81.02877938 79.45172908 82.03571213 81.95964775 167.5760108 1204.950149 1309.238152 522.6597477 404.0254069 855.5959997 863.7723416 861.8639986 852.2922371 395.9720725 198.2664531 194.2593726 262.2787919 127.8713645 154.6638642 157.0472781 152.6489289 153.4867812 126.9976075 93.31249636 92.48407416 107.7293561 71.76862614 80.81030317 81.43023434 79.85367111 80.27435511 71.36057674 59.13030169 58.89008407 64.62415622 50.43475966 54.24396425 54.40145449 53.92675709 54.08293966 50.33287178 44.64584171 44.64130181 47.28071413 40.5234758 42.41320302 42.39100686 42.40725845 42.41915344 40.5496724 37.5180289 37.56020517 38.92002967 35.46246589 36.41798404 36.38474833 36.47854587 36.4483456 35.48786288 31.08199013 31.09764831 30.93504133 31.55228859 31.29927562 31.28356295 31.33603534 31.31679845 31.57340084 32.23639666 32.26576293 31.86945988 33.39210232 32.76281404 32.7248686 32.85130756 32.80577255 33.44964656 35.24310355 35.32476649 34.21119516 39.50317991 36.94247915 36.82540797 37.22824006 37.09133051 39.74098705 52.01772401 52.77858412 43.95573961 128.9230135 73.12622833 71.18714062 77.44645308 75.28042138 136.9429996 835.1817418 916.6908937 315.0266382 493.8683835 861.5445296 833.2352953 877.1033337 873.5339891 464.2082821 219.3432612 213.2583204 299.148408 135.4651609 166.0759864 169.4894198 159.6277871 162.888942 133.3387635 97.31182315 96.33807151 113.1641752 73.66703576 83.53611301 84.15181819 82.15097246 82.84387725 73.23069647 59.84041506 59.72973984 65.92700899 50.65941837 54.73989766 54.75464106 54.54743413 54.65957331 50.65571479 44.43714314 44.52832286 47.30134823 40.29811729 42.21797844 42.12974016 42.35237753 42.29497157 40.36944161 37.33672179 37.38291397 38.70698959 35.34443351 36.27550806 36.23725801 36.34965002 36.31309617 35.3761826 31.01347903 31.03146648 30.86422302 31.48931654 31.23678189 31.21992285 31.26857026 31.2530174 31.50414529 32.16974874 32.18106444 31.79961261 33.2489586 32.65321955 32.64508986 32.69284095 32.66837713 33.27139294 35.07003079 35.07358263 34.02327396 38.93949309 36.58736791 36.58917475 36.71134146 36.64182401 39.02014418 50.51179921 50.54956121 42.91894149 108.3263625 67.47250267 67.18402798 69.52822227 68.30022164 111.4689429 601.6371971 645.6201323 216.7233084 570.6406884 747.7451143 721.6834701 803.9984039 774.6456095 565.8249834 236.3012224 233.7777873 341.5587492 142.2776178 177.1631634 178.3699512 172.4829752 175.2884798 141.1697957 99.44639277 99.38692996 117.7889455 74.49666766 85.2949954 85.24748936 84.70362651 85.08587107 74.51047195 59.37478455 59.61831785 66.1705359 50.22620036 54.40082593 54.2031716 54.69783269 54.58830828 50.38799113 44.02376415 44.12135685 46.8595007 40.02354254 41.87663968 41.7981285 42.04265283 41.95819543 40.08957997 37.15539479 37.19974257 38.48452415 35.21211996 36.12167128 36.08360469 36.19870908 36.16006804 35.24559981 30.93692509 30.95665094 30.78578128 31.42391804 31.1662304 31.14748072 31.20250551 31.18459226 31.44102914 32.11962965 32.13270997 31.74108927 33.24020541 32.62068634 32.6120528 32.63729554 32.62913859 33.24114787 35.20275393 35.16431804 34.05161611 39.32245606 36.78499158 36.87047842 36.62567074 36.70248919 39.1523995 52.8477822 52.00853825 43.66004762 108.954125 69.96784171 71.58285475 67.55857165 68.37824409 106.47622 522.8161238 534.3949984 203.9156038 533.0011067 656.4919322 635.700983 699.6008756 678.5116028 549.771121 227.3338518 230.9392623 332.320641 140.3819534 175.1608613 173.2279666 178.3234184 177.1826778 141.6554358 97.47219661 98.01861143 116.1245578 73.41023049 84.12533181 83.76074483 84.92606517 84.51353688 73.69592269 58.54978364 58.72644845 65.14409569 49.65349225 53.67915913 53.53078183 54.0161248 53.84118379 49.78417012 43.67684228 43.7569436 46.40456578 39.78146862 41.58154756 41.51589112 41.7227245 41.6505021 39.83849755 36.98827247 37.02841058 38.28285192 35.07979697 35.97283141 35.93721602 36.04607949 36.00909723 35.11245162 30.85531297 30.87603408 30.70201134 31.35225283 31.08951305 31.06977297 31.12841163 31.1090745 31.3705235 32.06603318 32.07946233 31.67660825 33.23856652 32.58623379 32.57792147 32.60337674 32.59475256 33.23848864 35.37312822 35.32783545 34.10856294 40.07368416 37.14653341 37.24581228 36.95911972 37.051098 39.87395925 56.44707564 55.53212105 45.27150989 117.7383078 76.08628898 77.40969781 73.15726208 74.66501521 115.8568842 479.9768004 490.2397221 219.4693386 474.0928759 580.968234 564.8529056 616.2731135 598.0670006 487.4901557 215.0149564 217.8154706 302.9516775 135.8735148 168.0329671 166.4859943 171.3996157 169.6690439 136.9116121 95.55705437 95.99612038 113.09764 72.49113586 82.7890382 82.50319621 83.41705957 83.09330316 72.69282338 58.03208433 58.1355585 64.44032026 49.22662272 53.17251695 53.08213744 53.39666414 53.27720367 49.31786127 43.40468918 43.46507745 46.05084297 39.57737587 41.33916809 41.28736497 41.45355074 41.39459445 39.6247636 36.83873357 36.87453842 38.10765664 34.95250218 35.83442232 35.80140521 35.90231052 35.86802305 34.98380235 30.77121377 30.7923685 30.61517227 31.27816884 31.00991473 30.98983798 31.04990747 31.02994472 31.29675817 32.01351121 32.02638605 31.61063624 33.24460975 32.55480202 32.54778379 32.56989826 32.56218646 33.24215523 35.57647504 35.5216836 34.18119188 40.9971093 37.57371593 37.69659134 37.34951526 37.45849116 40.74340171 59.8810227 59.07707412 47.26783329 123.4227324 80.78647343 81.73080196 78.63180304 79.75662412 122.2556442 441.5897868 450.7917463 224.1647993 427.4166274 521.5372659 508.5390208 549.6339162 535.2125761 438.1494241 205.2380954 207.4974599 281.1990421 132.2468868 162.308247 161.0434644 165.0218339 163.6316833 133.0824068 94.03338263 94.38268456 110.6711141 71.82371359 81.74433545 81.52114115 82.23447495 81.98173803 71.9722477 57.74564036 57.80145899 63.99557884 48.96822056 52.88700627 52.84335685 53.00517007 52.94049503 49.01748177 43.21838062 43.25664378 45.81711958 39.41263887 41.15439784 41.11775203 41.23924602 41.19488661 39.45004985 36.70529362 36.73725415 37.95865262 34.82983241 35.7056116 35.67466324 35.76896757 35.73701955 34.86015305 30.68627293 30.70752602 30.52685851 31.20405912 30.92958017 30.90953678 30.96974708 30.94965565 31.22250571 31.96442588 31.97627003 31.54578414 33.26198219 32.529349 32.52423436 32.54117772 32.5350206 33.2563203 35.83836073 35.76484393 34.27589945 42.18167253 38.1247822 38.29030837 37.82857221 37.97101684 41.86300117 62.62572527 62.00946781 49.4144848 126.7117806 84.10902891 84.7652845 82.59461046 83.38634084 126.0795109 407.4446934 415.6015766 222.9462433 389.7482335 473.224182 462.5190817 496.1900407 484.4275577 398.429253 197.1828077 199.0697985 264.5046429 129.2593378 157.5525169 156.4772427 159.8317781 158.6690259 129.9585167 92.80669369 93.09020327 108.7004898 71.32736078 80.92595478 80.75009874 81.31091947 81.11267605 71.43819022 57.59502662 57.62360174 63.70370663 48.8526637 52.75895473 52.7430183 52.80821302 52.78034991 48.87117275 43.1148249 43.13407589 45.69911603 39.28759865 41.02948155 41.00664754 41.08482 41.05544908 39.31533063 36.58590526 36.61458724 37.83463734 34.70996194 35.58430446 35.55492245 35.64415646 35.61402906 34.73974685 30.60158699 30.62268726 30.43812609 31.13138467 30.84982535 30.83010511 30.88955454 30.86964679 31.14934137 31.92112403 31.93124026 31.48372107 33.29798591 32.51330691 32.51134886 32.51978243 32.51608123 33.28650812 36.20316382 36.1008768 34.41151586 43.50894367 38.85061279 39.05294147 38.46729897 38.65468238 43.17776796 64.68396171 64.22633872 51.31836815 128.1817369 86.39135217 86.82402327 85.36571424 85.90528335 127.9554122 377.110992 384.3860775 218.3476967 359.0706669 433.1011825 424.0720959 452.2959513 442.4911496 366.1772986 190.2991112 191.9204623 250.9198737 126.7204896 153.4648211 152.5318028 155.4386278 154.4341045 127.3187837 91.80874946 92.03890123 107.0603573 70.96018371 80.28241135 80.14546861 80.58444652 80.42858026 71.04121497 57.52627892 57.53758682 63.51433736 48.82603547 52.72116124 52.72130251 52.73193711 52.72463754 48.82637356 43.06952114 43.07711268 45.66115232 39.1960526 40.95350262 40.93980773 40.98658924 40.96897565 39.21645113 36.47740743 36.50374151 37.73163639 34.59154871 35.46851211 35.44020672 35.52585189 35.49704691 34.62105744 30.51786612 30.53869167 30.34972808 31.06142104 30.77164259 30.75239255 30.81050028 30.79101218 31.0786127 31.88713199 31.89459032 31.42632586 33.36692375 32.513239 32.51662936 32.51101404 32.51158653 33.34583094 36.67285218 36.5482599 34.61355361 44.74608842 39.67572433 39.88170715 39.25938761 39.46771087 44.45350111 66.1818531 65.85332058 52.83962748 128.2272384 87.82414091 88.06638917 87.20423195 87.53681105 128.3148351 349.9944612 356.4791488 211.6656344 333.921824 399.1358442 391.486105 415.4180529 407.0939067 339.7488439 184.4387438 185.8274425 239.7193509 124.5540126 149.9384153 149.1298361 151.6348731 150.771527 125.0640881 91.00029431 91.18709068 105.6919951 70.69691404 79.78328459 79.6776733 80.01697915 79.89630821 70.75445765 57.50933237 57.50925425 63.40043041 48.841851 52.73142075 52.73866066 52.72265232 52.72592703 48.83545029 43.05245519 43.05542986 45.66339684 39.12501011 40.90578298 40.8959491 40.92748432 40.91621934 39.1416368 36.37549345 36.40058939 37.64201724 34.47406738 35.35633457 35.32866647 35.41209172 35.3841337 34.5033555 30.43543471 30.45589368 30.26204079 30.99488712 30.69545761 30.67678693 30.73327171 30.71428926 31.01115127 31.8657546 31.86976737 31.37513238 33.47919707 32.53653831 32.54639851 32.52164276 32.52827519 33.44708108 37.18632194 37.0582387 34.88289945 45.78852231 40.47338664 40.65766133 40.08421173 40.2818899 45.54777996 67.2307909 67.00720762 54.01645676 127.214138 88.56608142 88.66931998 88.27598485 88.44108183 127.5497181 325.9083174 331.719383 203.867546 312.9866365 370.3583447 363.7934705 384.1745779 377.1206108 317.8855468 179.2595638 180.4869972 230.0963975 122.6737561 146.8294454 146.1188622 148.3415356 147.5729411 123.1180875 90.36342005 90.50335869 104.5423004 70.52239167 79.40823681 79.33769691 79.57942432 79.48914092 70.55676733 57.53026658 57.52076622 63.34741716 48.87669329 52.76813431 52.78079005 52.74715729 52.75687566 48.86687515 43.04359115 43.04573986 45.68001301 39.06185518 40.86811393 40.8589192 40.88648226 40.87724274 39.07739737 36.27652196 36.30112917 37.55805958 34.35764487 35.24631585 35.21906652 35.30111094 35.27365793 34.38662151 30.35524412 30.37498184 30.17570585 30.93302241 30.62211939 30.60447755 30.658317 30.64008183 30.94791527 31.86027047 31.85991705 31.33215885 33.62804787 32.58535394 32.60126517 32.55788373 32.5708991 33.58842221 37.66702652 37.55313664 35.18435988 46.60425992 41.15776702 41.30489473 40.83369164 41.00063983 46.42374344 67.79734609 67.70392336 54.86361307 125.234699 88.64298448 88.54863068 88.69823158 88.68574178 125.8410379 303.519654 309.0514424 195.074406 295.897941 345.4153056 339.6390662 357.4821382 351.3282285 299.7613367 175.1649326 176.0506512 222.1650911 121.1874362 144.2783169 143.779677 145.4512402 144.8354651 121.505484 89.9637002 90.04098759 103.6895119 70.45229557 79.18989402 79.1584878 79.27794937 79.22892326 70.46090093 57.57842222 57.56735695 63.35826519 48.91518541 52.81992175 52.82995153 52.79419391 52.80755895 48.90701639 43.02738373 43.03335612 45.69480878 38.99779847 40.82837175 40.81627633 40.84939695 40.83930362 39.01445189 36.17780561 36.20265075 37.474296 34.24281912 35.13773375 35.11068725 35.19189999 35.1647942 34.27135677 30.27959294 30.29790603 30.09228019 30.87915378 30.55415565 30.53847223 30.587219 30.57041971 30.89157905 31.87350212 31.86802262 31.30145099 33.79640481 32.65744034 32.67919157 32.61856619 32.63726867 33.75299433 38.07831873 37.98107338 35.47851701 47.1753442 41.6909651 41.80486894 41.44230019 41.57066014 47.05285573 67.86853918 67.88183041 55.35613855 122.0736966 87.94352771 87.67386438 88.39187736 88.18732835 122.9545867 282.2717821 287.4520675 184.8819969 282.5793072 323.4995314 318.400794 334.1036172 328.6823993 285.6669477 172.2382074 172.9321558 216.4100345 120.2085371 142.5374829 142.1481936 143.3328619 142.9246401 120.4278852 89.68288041 89.76392143 103.1522553 70.41670806 79.06627005 79.0175792 79.13078697 79.10191018 70.43297226 57.57885992 57.58736086 63.36603639 48.91879376 52.83646389 52.82819307 52.83612223 52.83793344 48.92286845 42.97677365 42.99439526 45.67789338 38.92151885 40.76937735 40.74933395 40.80261733 40.78707287 38.94243516 36.07574734 36.10175193 37.38400419 34.12968705 35.02937735 35.00215593 35.08362762 35.05652976 34.15782579 30.21188625 30.22786257 30.01412438 30.83898346 30.49588673 30.48346417 30.52344925 30.50922599 30.84723309 31.91433239 31.90092104 31.29018816 33.98390812 32.75641058 32.78711454 32.70273886 32.72838142 33.93412962 38.46132149 38.36338484 35.76748288 47.60155637 42.13019649 42.24127559 41.91451241 42.02215217 47.49739317 67.78268035 67.78706788 55.64517214 118.557398 86.86432602 86.64904234 87.39316804 87.11790363 119.3802806 263.5953529 267.9451046 174.993582 270.341947 304.1556634 299.6164534 313.5362371 308.7254769 273.4777577 168.779913 169.8146773 210.7331057 119.077664 140.7091695 140.0646896 141.7303918 141.258141 119.432614 89.07015379 89.27983907 102.424184 70.18262297 78.73465658 78.58136651 78.94937345 78.85641829 70.27288225 57.38910534 57.45668977 63.19512019 48.8190949 52.72709602 52.67356119 52.80534987 52.77077373 48.85540898 42.86891751 42.90136763 45.58384441 38.82304055 40.67434752 40.64462838 40.72680285 40.70178683 38.84988543 35.9683065 35.99563127 37.28160689 34.01806631 34.92011851 34.89268866 34.97486495 34.94751611 34.04581622 30.15532917 30.16826778 29.94355283 30.81912558 30.45223337 30.44422953 30.47198179 30.46149999 30.82167913 31.99479983 31.97024291 31.30590981 34.21633122 32.89854731 32.94297279 32.82083598 32.85789031 34.15220944 38.90804222 38.78573075 36.09851214 48.10392934 42.61756022 42.76341257 42.35809333 42.48289384 47.95849186 68.08011662 67.9442713 56.07032297 116.3121391 86.36662466 86.37811934 86.48907436 86.39560319 116.680893 249.4732134 252.5954548 168.1694405 256.2928407 287.0706029 283.0468536 295.3370796 291.0646315 260.0289798 163.147583 164.7711684 202.4137925 116.899722 137.4766976 136.4068584 139.312502 138.4482497 117.5626692 87.8084838 88.18296324 100.8995056 69.58135907 77.92880108 77.65401422 78.39519504 78.17695673 69.76612362 56.99439895 57.10939225 62.74111831 48.60494449 52.45724749 52.36970865 52.61022779 52.53780344 48.66771389 42.7100338 42.75334498 45.4089266 38.70355473 40.54398571 40.50745399 40.61282772 40.57919794 38.734939 35.85707747 35.88507592 37.16818565 33.90830031 34.8104759 34.78315934 34.86525812 34.83784791 33.93553312 30.11156645 30.1212856 29.88184027 30.82505695 30.42669575 30.42324676 30.43726024 30.4313522 30.82104451 32.12261463 32.08639277 31.35801989 34.51921046 33.09888562 33.15793801 32.9912236 33.04323728 34.43661494 39.476621 39.32337745 36.51652323 48.86201372 43.27138539 43.46196855 42.92118083 43.09071913 48.64639966 69.08167704 68.77270692 56.90350543 116.0324904 86.93510175 87.25935162 86.45668469 86.66222069 115.9778612 239.6429965 241.9000754 165.3581077 240.2230639 271.9824204 268.3244379 279.3132799 275.4976257 244.3038102 155.8152427 157.7240802 191.5101463 113.6513302 132.7722201 131.476691 135.2547323 134.0362894 114.5298674 86.05415077 86.5194805 98.59662197 68.68020268 76.71059125 76.37028086 77.35649493 77.04061864 68.92371734 56.4676029 56.60629794 62.06987614 48.31380696 52.07696535 51.97281979 52.2763869 52.17846044 48.391001 42.52277606 42.57106349 45.18170438 38.57198264 40.39236433 40.35278616 40.46986582 40.43144265 38.60551284 35.74481644 35.77286592 37.04897179 33.80085122 34.7017334 34.67478055 34.7559261 34.72878156 33.82748135 30.08061565 30.08722578 29.82914227 30.85691708 30.41982895 30.42050158 30.42083841 30.41976125 30.84673632 32.29119003 32.24592904 31.44415021 34.88647146 33.35239589 33.42191744 33.22008981 33.28500527 34.79007239 40.13883232 39.96808005 37.01494526 49.84569296 44.0772297 44.29138742 43.66093481 43.86653018 49.58679556 70.51989623 70.14377225 58.08104975 117.3263005 88.43118193 88.8495598 87.62643434 88.01928978 116.947069 231.9084663 233.868896 164.9382743 224.0382473 258.2393026 254.7650597 264.9847976 261.4379333 227.9524272 148.2567999 150.1158538 180.1929099 109.9879968 127.5550411 126.2632656 130.1689017 128.8566755 110.9087584 84.13785302 84.61875429 95.97552539 67.65409034 75.3191755 74.96596153 76.02318298 75.67211482 67.9145594 55.89481513 56.03927128 61.30890027 47.99145544 51.65166049 51.5432178 51.86684139 51.75965165 48.0732488 42.32513746 42.37496827 44.93333631 38.43585863 40.23228439 40.191731 40.31285905 40.27267659 38.47007748 35.63301127 35.66089727 36.92802546 33.69572325 34.59453757 34.56796311 34.6479356 34.62119247 33.72180448 30.06157318 30.06523155 29.78522767 30.91015547 30.42891157 30.43365051 30.42219927 30.42508521 30.89503881 32.48779823 32.4366517 31.55706699 35.29036913 33.64019687 33.71545036 33.49322593 33.56604345 35.18743966 40.83282319 40.65902954 37.5532042 50.90591398 44.94114663 45.15717667 44.50748496 44.72431896 50.64068019 72.01282653 71.64743462 59.36041932 118.8136062 90.08983999 90.48274198 89.27030159 89.68336274 118.455241 224.7026338 226.6512281 164.9849622 209.0668018 245.2832557 241.8839148 251.6841949 248.2561669 212.5874738 141.2382235 142.943819 169.8122275 106.3935807 122.5233116 121.3159249 124.9959398 123.7438955 107.2726205 82.24705074 82.71353193 93.37144996 66.61505765 73.91594128 73.5705803 74.61393069 74.26373182 66.87323142 55.31802741 55.46172216 60.53592876 47.66194681 51.21752407 51.10910414 51.43463223 51.32605888 47.74445432 42.12442896 42.17476669 44.6793914 38.29826433 40.06946971 40.02850606 40.15107527 40.11032923 38.3327536 35.52175186 35.54953705 36.80673704 33.59245191 34.48868883 34.46236705 34.54147329 34.51505578 33.6181266 30.05408928 30.05485123 29.75005928 30.98124812 30.45310621 30.46131816 30.43927056 30.44576674 30.96197823 32.70257043 32.64753294 31.68985751 35.70809232 33.94612226 34.02435981 33.79159537 33.8685035 35.603121 41.52053833 41.35007755 38.09917491 51.94213758 45.79543292 46.00458326 45.37171528 45.58453044 51.68783146 73.39404518 73.06044509 60.59165735 120.0243572 91.58455213 91.92644256 90.86420971 91.23039212 119.7434956 217.5801431 219.5762651 164.6864031 195.6466456 232.8851256 229.5141929 239.0177433 235.6359487 198.7183465 134.8771855 136.4391051 160.5947171 103.0134601 117.8677419 116.7455536 120.1467315 118.9843994 103.8324349 80.43134828 80.87915474 90.89053746 65.59861267 72.5530003 72.21872837 73.2285123 72.88894505 65.85002462 54.74765267 54.88963443 59.77498464 47.33187793 50.78496941 50.67714139 51.00089083 50.89285731 47.41438859 41.92190134 41.97272687 44.4238761 38.15955021 39.90503077 39.86360179 39.98745828 39.94631137 38.19435421 35.41052993 35.43836564 36.68497326 33.49043395 34.38362378 34.35740055 34.43609198 34.40985026 33.51584558 30.05764124 30.05569048 29.72381121 31.0674829 30.49079471 30.50220889 30.4703772 30.4801985 31.04463295 32.93014023 32.8721864 31.83809396 36.12921072 34.26180889 34.34194072 34.10306556 34.18224389 36.02394132 42.19114557 42.02472585 38.63990317 52.92619421 46.61853038 46.8205612 46.2112355 46.41633018 52.68616227 74.64922626 74.34102498 61.73913823 120.9321997 92.87380973 93.17719031 92.25363877 92.57310723 120.7245321 210.5005413 212.5655408 164.0055623 183.7597549 221.0212495 217.6435085 226.8863792 223.5135911 186.3624389 129.1073273 130.5705669 152.4311483 99.85769047 113.588546 112.5251088 115.6825506 114.5949435 100.6111331 78.69053031 79.12499433 88.54403351 64.60907209 71.23715311 70.91083271 71.8891543 71.55978887 64.85299554 54.18334866 54.32442894 59.0286005 47.00138603 50.35464027 50.24684411 50.5695521 50.46193668 47.08402012 41.71690479 41.76847749 44.16661213 38.01914725 39.73847557 39.69635831 39.82205049 39.78034289 38.05443225 35.29869196 35.32675192 36.56211939 33.38910096 34.27872578 34.25243931 34.33118607 34.30496514 33.41438992 30.07216477 30.06743048 29.70648541 31.16684873 30.54083754 30.5555333 30.51434209 30.52730745 31.14103915 33.16843033 33.10697523 31.99886355 36.54971668 34.58325582 34.66651517 34.422073 34.50315781 36.44583917 42.84790061 42.67970972 39.17164127 53.85733659 47.40795993 47.61148463 47.01767917 47.21793297 53.63614512 75.80672833 75.50166815 62.80624198 121.5954471 93.98798392 94.27893626 93.4509804 93.74302607 121.4553789 203.4790914 205.6289117 163.0164807 173.3066906 209.7431154 206.3213097 215.3075225 211.9134563 175.4000759 123.8309959 125.2780289 145.1884927 96.91922069 109.6627541 108.597426 111.5820238 110.529489 97.58338551 77.00857015 77.45233733 86.33117044 63.64743767 69.96994009 69.63570592 70.59686983 70.27067099 63.87819012 53.62074997 53.7662124 58.29722263 46.6701467 49.9263829 49.81495233 50.14007944 50.03160583 46.7519921 41.50795538 41.5615163 43.90716203 37.8765035 39.56926832 39.52556041 39.65418216 39.6115743 37.91221096 35.18540959 35.21414666 36.43761888 33.28795915 34.17346657 34.14672996 34.22615028 34.1997623 33.31317226 30.09934666 30.0888034 29.69813699 31.27440349 30.60035462 30.6253974 30.56996671 30.5872703 31.25135195 33.43307891 33.34235649 32.16497617 36.95504957 34.89848272 35.01974918 34.74406834 34.83450093 36.87473627 43.53813126 43.29732764 39.67753814 54.72169925 48.1466525 48.43563308 47.78734183 48.00707967 54.56102237 76.96243864 76.55118558 63.78696696 122.0837298 94.96073094 95.33588257 94.49008555 94.79274294 122.0070937 196.0718565 198.8092959 161.8325482 164.1549144 199.127065 194.8624466 204.3470121 200.8989925 165.6588999 118.6710721 120.5249978 138.7631274 94.21848361 106.0928777 104.6924234 107.8309318 106.7164357 94.69844317 75.2713601 75.88915722 84.27896925 62.7364528 68.77736125 68.30596879 69.35988089 68.99889448 62.90777441 53.01995355 53.23084201 57.60000804 46.34865644 49.51313439 49.35059162 49.71514295 49.59336056 46.41165503 41.27967031 41.35794536 43.65355378 37.73534655 39.40211913 39.33857137 39.48421936 39.43692361 37.76516963 35.06242817 35.10312311 36.31451091 33.18910632 34.07011866 34.03268336 34.12086122 34.09257521 33.21068355 186.5933398 162.5685901 155.5492291 173.5345762 167.3577842 194.2622187 258.1119067 219.3767985 217.7742096 221.4123992 220.393706 258.7824738 214.746753 183.695693 178.1929875 192.7286156 188.1035454 220.8318195 99.5519823 87.57140724 88.3702535 86.06830818 86.82678763 98.55389198 239.9738368 213.435257 215.0231971 258.9072833 222.4003561 221.9330214 222.4340977 222.4778702 258.2515462 119.1326387 102.4422343 103.628456 100.2585413 101.356046 117.6762957 149.4454936 124.3667405 126.185123 120.8585664 122.5887613 147.0320635 92.81122018 105.2201361 103.8637988 175.2995 172.7482404 152.9858173 237.6345333 198.9033123 203.162821 191.0696312 194.5873696 230.4529843 243.0847545 185.8778493 189.8913061 177.7010341 181.8328073 235.1922319 123.5613398 147.2280383 143.9148209 570.7613036 577.1649323 494.1030146 989.0959785 718.5750849 668.057322 663.2374861 689.7198116 926.5665099 1324.188816 991.6598555 1050.073595 897.7577424 940.2795535 1211.0055 451.6305111 389.2923575 405.1836294 198.1616122 173.8875519 175.9264813 169.8395465 172.0878551 194.2058411 213.7780869 184.3915346 187.3350387 178.7362776 181.1317863 208.7290781 62.01137382 56.49371952 59.86935464 49.04132771 51.49500474 56.75881638 45.3049578 47.8591519 45.25908693 44.30309496 45.19298573 43.06661179 53.26875231 49.52470405 46.87875017 52.10224859 51.13004779 56.75814237 47.17229621 46.4363488 43.16798053 53.77538054 48.92302578 50.05852019 46.0094992 47.00836228 51.45354564 73.03830201 81.8013043 85.88947113 73.33899531 77.67707511 70.50083477 103.4779292 89.04439739 83.52191645 49.73611558 50.06465029 55.51998856 46.78865549 46.53998144 43.80437878 54.109012 49.10061264 49.42245111 94.18716439 107.4946941 109.5270326 102.6911508 105.3000243 92.36437625 147.430941 123.3626023 120.397971 52.96118394 53.50063578 61.00332766 45.16811439 48.54273665 48.20699278 49.29332729 48.90940499 45.40174939 44.34348883 47.30976873 47.0440889 47.88717155 47.59163486 44.53120662 58.64561608 51.99343595 52.46426881 92.05081442 81.85637097 82.56454603 80.4829881 81.19355194 91.20767147 102.6299472 116.0613353 116.1771905 115.2837475 115.8153385 102.181485 156.811791 133.7931033 133.5904995 57.97382798 58.69846209 67.99700888 47.52892835 52.08959885 51.58029301 53.17148148 52.62142024 47.88974967 46.21452987 50.14197884 49.71123385 51.07855623 50.60550051 46.51441602 65.2395796 56.60145401 57.2868353 108.4110512 94.31663273 95.27400272 92.51695968 93.42997845 107.2163214 251.2969667 253.657451 301.7164102 838.8305003 726.0881471 742.4037377 693.6779099 710.2413373 814.8935946 64.36682713 65.29105135 77.15533298 50.66609646 56.80612928 56.15290743 58.18614262 57.48346725 51.14264267 49.12949759 54.32356293 53.73570354 55.52566165 54.91678985 49.42799777 73.21159935 62.58637247 63.46199433 132.4721511 111.9669139 113.1486481 109.6821393 111.1282455 130.68744 365.3278988 372.7983902 469.1115175 300.5606416 292.1781007 268.5229865 396.5988683 321.3389364 325.2219298 362.5688499 353.4703312 309.2258127 492.8565441 412.8935698 426.0615697 388.5627468 399.2979556 473.9083018 72.84121347 73.94425595 89.56074568 54.99573887 62.84536649 62.06983278 67.4275143 66.27309154 57.36521808 52.72681832 59.66748096 58.91547736 61.25150904 60.44618367 53.27760973 84.75684818 70.48296044 71.59004965 172.3145787 140.7439966 142.794263 136.2377228 138.3071402 168.6723688 101.9472312 117.1032347 115.5174522 1545.044943 1661.456105 3499.558149 187.678098 453.4727949 379.3520307 574.9565576 559.8871921 417.2654205 2419.95574 978.7036122 1064.848674 789.2655501 617.6191476 638.8029697 196.5343411 177.6559366 179.612871 175.1145891 176.2789545 191.038289 269.1835478 219.2189658 223.8067862 209.0783399 214.5778007 262.9396254 153.9127552 138.4619954 130.2100383 150.7165692 143.1749889 162.6766841 595.1862413 489.367544 474.1678206 133.5496745 135.4218356 171.260369 95.94289574 112.0869261 110.7941253 114.7963466 113.4198776 96.9716294 92.65122688 107.1853681 105.9223071 109.5506568 108.3543127 93.19461649 162.5816593 129.8224526 131.6800603 354.0631227 284.4399262 288.2601826 278.1166372 281.2610747 349.7220808 433.315498 331.5098585 335.2098817 324.1605875 327.830988 429.0484276 220.5731276 263.3063001 260.2096692 289.9034685 234.38514 237.640928 227.4892264 231.1291161 285.3791959 338.0603858 271.9477853 275.1957912 265.7950978 268.9431597 334.1571365 250.9282188 212.3276531 209.7004147 216.2331865 214.1734391 253.2480607 706.1022134 708.1238809 935.99768 489.1035539 544.3493094 562.1811362 534.3589363 541.1953277 489.0027686 844.3173144 683.2368223 686.6025485 567.0618616 552.7687127 706.7555102 486.004374 520.2067855 528.5949415 501.649342 512.0284336 485.341881 915.900779 687.5186317 676.603948 236.4217075 200.5933953 196.7463572 207.1645389 203.8885922 240.7237267 95.65806812 84.63174613 85.36628874 83.2312523 83.95503038 94.73276981 281.5642062 278.4879737 231.9129944 450.3304958 346.4061555 350.1630987 338.9249112 342.6440597 446.0411696 939.0929468 795.4599176 814.0864035 759.5783438 776.0461896 909.2870074 248.3471855 218.5009942 219.5911874 216.1599585 217.4896043 245.9936219 271.6681101 319.7623878 314.4054325 331.1284964 325.6725151 276.0430663 501.8026243 393.7724531 402.693346 652.5992638 659.2439225 804.7043137 693.4207234 557.5808562 585.1843801 255.240929 221.8132116 222.1856307 220.4429759 221.1898757 253.5129888 299.4646331 303.1806425 372.8580726 319.5422754 266.5300482 269.3893362 113.5033126 98.18016855 99.2351335 96.20222864 97.20346816 112.1877315 270.7009481 313.7877898 307.6290269 324.6494746 319.3949914 272.8853805 521.2319085 400.5224486 405.7846262 102.5226462 101.1649235 89.95705308 140.3148067 117.5623107 119.185287 114.5183704 116.0000705 138.2335237 380.7113315 333.2469398 341.1279876 319.1680195 327.0188148 369.1837609 427.6630418 367.6632533 376.3213131 348.9234503 356.7199184 413.6798352 281.5064566 311.8057526 313.5072118 6024.834981 5546.308401 12350.30109 1009.007835 2939.983679 2506.919665 127.995519 126.4333539 108.8164318 188.1114977 151.3870005 153.3261558 145.7199958 147.3474105 181.6329183 7464.868385 7426.730367 4498.098368 9313.721367 8261.244831 9199.826472 46.62991535 47.18427046 51.55339792 48.83715587 45.26376027 46.00310007 88.54075715 91.39971536 105.2299523 74.02794526 79.72649575 77.20904847 83.83861428 81.79749898 75.37488416 74.56284719 71.19120437 68.19926633 90.23261148 81.76144787 85.34175196 119.0614626 121.0996053 149.7816916 87.95773914 101.627835 99.94604535 104.626572 103.1664806 89.14017587 84.43929803 95.7575917 94.6823946 98.34559256 96.94830617 85.11544626 141.5642404 114.5291873 116.8934052 148.341273 129.427931 130.0859704 967.7335039 801.484629 829.38018 752.833251 776.739799 916.7848534 353.8795523 394.3438686 396.2845382 415.1141425 408.2193957 358.8005278 528.0432823 464.4567683 475.3696698 351.4246064 300.5363666 314.7001617 104.474314 105.926142 126.5913037 81.87070804 91.72549292 90.65126942 93.69613574 92.68820458 82.45255696 78.87404368 87.05826775 85.46602648 89.59777483 88.33075096 79.65682623 119.8967308 101.505374 103.0606054 154.3335178 141.6911861 164.0053668 110.6607834 122.3456615 132.6717516 102.7268717 109.7731244 102.3000167 119.2524159 113.0642821 104.8252244 125.6806863 117.2604903 128.3418449 292.1384963 297.2814925 344.8293607 267.5092334 269.8310359 230.3595284 322.0394999 281.5535383 286.6023936 344.1290985 351.287663 428.4085954 258.5545391 297.9285548 293.149932 308.6465385 303.4554269 261.8378986 245.6953999 277.7316803 274.4700836 287.6071237 283.4236793 248.4072615 393.1468063 329.5379215 335.9794545 994.4641934 828.4946312 866.6777805 764.3344742 810.4431847 930.4226186 67.92263176 69.49397563 63.58071651 88.97399357 77.98253741 73.16973958 85.89638427 80.9737351 95.79420317 69.87024606 66.38979967 70.21760583 110.2377 98.40241484 107.1921798 78.34910817 84.63818553 96.61282501 72.47725318 78.09636586 71.46974906 73.328046 71.40843026 65.21897432 89.66615341 78.34699867 82.53936755 74.60430472 74.87217644 82.01817309 103.6836299 89.43210822 88.97502516 83.48614448 87.88336288 102.3381079 69.34557465 75.39161346 75.76735017 476.6758871 388.7834667 349.4513836 456.0358284 409.9000088 519.4474966 466.9559572 390.0215707 515.7489849 260.2478344 307.083383 350.4970954 332.4834948 304.6075928 323.5505388 761.1739561 662.6957774 680.0921309 618.9264705 652.3258328 734.2606797 438.7656631 354.1013507 359.8631337 812.73633 711.9668361 734.8518629 667.3995814 699.7526706 771.2523835 324.3068202 284.3279445 286.2801072 283.0120066 283.2825591 315.9031406 217.2534923 186.0013492 188.9225584 181.3907891 183.7749109 212.1844578 242.0378087 199.1575067 203.9953851 191.7218296 195.3897191 234.9722389 209.2586537 226.3572263 274.8309857 198.2694718 185.3331867 171.005348 198.3490607 176.9359719 191.0008624 381.9040327 299.4329309 303.7505743 291.5225167 296.4685123 372.4092502 257.0236822 253.6513813 214.4458276 415.4933726 316.7022093 320.4768673 308.3704682 312.7119316 409.7379359 306.5854607 247.1661648 250.3585652 240.8256465 244.0497199 302.5277175 322.503011 259.6378341 262.8181209 253.4288431 256.6004685 318.5751287 894.6263572 700.872458 703.7088233 689.6462682 691.7509896 860.7477297 761.1196203 591.2790538 577.6534601 663.9718413 649.9822603 846.7694375 1091.729374 879.8340762 899.1708328 836.1069593 853.6894138 1052.743133 629.8195173 724.8153479 732.5023242 794.1632584 816.3447909 989.7079126 744.9835851 748.9071258 638.1453447 870.9693398 752.7418704 771.9794975 997.8024651 820.239568 852.4079788 351.7788191 296.3542286 299.1226948 289.2882515 292.3027405 344.1606727 398.9011747 326.3246147 326.7734768 305.2773523 308.089786 369.6045699 1054.605231 1029.821797 828.0727751 2007.107323 1335.033121 1441.669255 59.57390239 69.57104863 68.42251662 109.8991323 85.95256196 87.64150921 416.4327736 944.9673391 791.616496 1348.531289 1045.646746 467.6940544 6582.464897 3711.484209 3600.5945 409.5400736 417.9084553 468.1568943 171.8765993 144.7717417 138.5269663 161.5826932 158.312319 196.5706427 124.731902 123.993359 142.3430365 252.6312583 204.6938792 258.2176541 154.7053488 182.4472859 207.0316193 140.1451815 152.5371298 131.0916694 177.9546409 153.7122879 160.6032541 225.5639598 176.3323943 172.3576882 163.9503926 172.3044705 222.8387457 290.3772237 247.1760881 249.1538036 328.9025067 332.9621177 411.285517 3528.393723 4051.87227 4915.35399 1103.711293 1891.519141 1858.432584 2345.805729 2149.077497 1160.818901 463.8960534 449.8066615 519.0099351 767.3138923 637.5844541 645.1796976 591.2314327 599.9110838 706.9465702 354.6916793 291.6303353 295.5338095 272.119304 275.0843105 330.5438249 639.3531083 670.6222625 737.1570485 419.0313672 420.8043186 711.3255024 929.8201903 1001.316816 1238.989338 3943.659259 2666.401747 2423.384993 2588.165716 2932.681886 4241.284762 53.86631458 51.22244325 48.0257411 248.4718634 258.9432352 287.501998 90.64029026 85.2923627 78.6110955 31.90137279 31.90158039 31.96695884 31.90628267 31.9059869 31.96697477 31.8578951 31.85443408 31.87682676 31.77644587 31.76742412 31.78398537 31.72835518 31.70992406 31.716721 31.73826171 31.69890088 31.69489958 31.84395432 31.77050943 31.73741956 32.07204639 31.94529083 31.87823922 32.43641383 32.22740935 32.13572152 32.90985687 32.59931925 32.49618764 33.43205025 33.01086766 32.91267513 33.92958362 33.40231445 33.32146465 34.3374474 33.71941694 33.65951488 34.59993633 33.92425726 33.89256595 34.72591181 34.01819028 34.01035131 34.73829215 34.03416955 34.03928006 34.6769351 33.9849838 34.00439351 34.58510288 33.90714015 33.93187418 34.47080797 33.80688781 33.83546139 34.35036251 33.69725475 33.72689213 34.23059441 33.58519111 33.61475207 34.11248938 33.4722558 33.50169902 33.9945826 33.35741184 33.38702573 33.87574739 33.23992075 33.26985006 33.75599678 33.12026962 33.15042604 33.63621958 32.99982878 33.0299511 33.51765358 32.88019213 32.90996211 33.40124263 32.76261422 32.79180376 33.28737012 32.64776747 32.67625497 33.17630484 32.53598055 32.56370648 33.06819528 32.42728812 32.45426863 32.96287195 32.32143809 32.347748 32.85984361 32.21797803 32.2437318 32.75851936 32.1164343 32.14173627 32.6584056 32.01639011 32.04129372 32.55898833 31.91753073 31.94195809 32.45898436 31.81934866 31.84359112 41.97313161 44.89735031 44.17924458 96.62653617 94.59438154 87.94988136 623.1853876 494.81094 211.7421635 408.8749742 529.570087 537.6321562 538.5394627 541.6364375 456.262429 177.9737132 181.2314731 170.8807762 165.6017406 172.2771436 175.7923483 116.2604113 120.2413208 133.6412863 39.61753466 39.9276063 41.27902513 42.25898063 40.66047403 40.08042088 43.26930548 41.59220606 42.73189122 42.94895684 40.98542425 40.28200282 40.13575071 41.5129323 42.50237063 46.35410783 43.65049951 44.07326709 56.97685178 60.85576642 57.80552969 103.0643282 115.6637833 115.3911687 116.1277614 115.983529 103.1069827 44.679177 43.4533884 43.48331016 123.2419052 124.4757266 140.1433258 48.22635112 44.87077606 45.16886792 44.3510382 44.60381112 47.80400942 47.68799852 47.2769792 53.62231075 281.4164945 206.7126393 193.2225804 210.8612209 243.7483197 245.8994873 85.09701161 76.3984241 77.05096375 75.2733226 75.80954992 84.11002195 205.7141742 212.2809144 236.4199937 156.4540902 158.3052372 136.5082081 144.3232644 160.6817037 159.3209612 70.09398413 66.75950705 70.18210494 43.63406355 46.29805669 46.0514966 42.88981372 45.26746272 44.95466354 45.80579675 45.54060046 43.08569205 46.5565168 43.90151337 44.11756087 43.56880191 43.71394167 46.12727573 51.11435268 46.84067797 47.21327883 45.44346419 45.72305283 49.47970196 3071.815669 1793.476308 1703.998243 710.7756405 930.5137576 2017.251261 566.0871056 606.1027778 739.8446447 80.11204505 74.80743427 74.93284041 173.4374444 182.7499613 187.7760284 165.5387592 169.5165749 163.5205413 41.83474662 43.78956851 43.27139153 44.62102119 44.22458964 42.13492976 40.17609607 41.31697562 40.47389103 42.7050213 42.05094079 40.62858033 114.6988307 116.7588821 99.71983586 66.16253449 61.43201399 60.34888838 58.30179753 61.31932244 63.48094652 90.55441842 87.59103445 128.6921364 73.94808644 70.54208135 60.67069439 347.2160306 264.3655726 283.021195 189.900294 162.0107687 168.4552742 49.08863386 50.61056133 53.72917046 135.9330271 121.015913 122.3660325 81.84002581 87.08844599 92.15706569 31.79507278 31.79325735 31.76343394 31.85584232 31.82511585 31.82616061 31.80833805 31.82765637 31.834207 31.67549468 31.6720054 31.64440377 31.73193572 31.70309338 31.70511206 31.73356587 31.74569057 31.75911605 31.56425868 31.55740729 31.53202576 31.61389097 31.5877406 31.59183751 31.69613666 31.69826168 31.72282197 31.46347399 31.4526965 31.42950649 31.50328148 31.47935031 31.48753811 31.72266395 31.70556571 31.75083194 31.37890535 31.35950624 31.33879674 31.40479935 31.38246293 31.39889521 31.84509189 31.79447219 31.87880689 31.30938251 31.27891372 31.26110202 31.3176567 31.29850127 31.32585548 32.07362331 31.99178068 32.14290763 31.25095261 31.20977641 31.19395413 31.24299821 31.2264027 31.26491096 32.40522249 32.30438633 32.54166384 31.20015604 31.1487433 31.13413574 31.17850711 31.16326199 31.21234279 32.80511627 32.70057921 33.0379639 31.1542591 31.09285698 31.07895571 31.12029199 31.10599265 31.16542711 33.21595083 33.12190526 33.56405937 31.11215258 31.04046568 31.02665156 31.06631671 31.05226827 31.12191998 33.57498356 33.50321746 34.04261704 31.07187117 30.98981429 30.97637442 31.0152068 31.00048684 31.08009972 33.83805597 33.79097072 34.40876194 31.03093817 30.93821136 30.93366753 30.96463717 30.9511967 31.04164431 33.98336643 33.9649496 34.63744063 30.99485601 30.89250641 30.87686189 30.92119458 30.90658713 31.00840595 34.0351098 34.03419511 34.73654736 30.93567865 30.8297605 30.81280701 30.86183232 30.84542186 30.95212153 34.01414099 34.02809434 34.72708955 30.86959791 30.76338158 30.74579256 30.79682545 30.77959653 30.886734 33.94964105 33.9709409 34.65757063 30.80217486 30.69252606 30.67316664 30.7288285 30.71037625 30.82010344 33.85887909 33.88601447 34.55727045 30.72755272 30.61470146 30.59368189 30.65445317 30.63423681 30.74727681 33.75264828 33.78199982 34.44065471 30.64612802 30.53071723 30.50838988 30.57339373 30.55167367 30.66730016 33.64133257 33.67099539 34.32016045 30.55971536 30.44204397 30.41884667 30.48686072 30.46404912 30.58187085 33.52887956 33.55834687 34.20092574 30.47018194 30.35026805 30.32658334 30.39645388 30.37297229 30.49290442 33.41514549 33.44464408 34.08303036 30.37895884 30.25667807 30.23278913 30.30363335 30.27982086 30.40195869 33.29899483 33.32876543 33.96494541 30.28703781 30.16220869 30.13830736 30.20950414 30.18559364 30.31010677 33.18029098 33.21035884 33.8458302 30.19513025 30.06753599 30.04372377 30.11486733 30.09100414 30.21812759 33.06004723 33.09022693 33.72597596 30.10365236 29.97309951 29.9494689 30.02025931 29.99652373 30.12648961 32.93981607 32.96980248 33.60639524 30.01321668 29.87949169 29.85625429 29.92613555 29.90266916 30.03569306 32.82109261 32.8505927 33.48831598 29.92509163 29.78776208 29.76523523 29.83331123 29.8103856 29.9468327 32.70482414 32.7336738 33.37252495 29.84103128 29.6992275 29.67772819 29.74301431 29.72096771 29.86158558 32.59148094 32.61959186 33.25933523 29.76260356 29.61496756 29.59466583 29.65652219 29.63561082 29.78164779 32.48125539 32.50860292 33.14901049 29.69054382 29.53542283 29.5163405 29.57460275 29.55491282 29.70797499 32.37402629 32.40066406 33.04162958 29.62490416 29.46060373 29.44272245 29.49742831 29.47895545 29.64074072 32.26941732 32.29545603 32.93693392 29.56563223 29.3905086 29.37384774 29.42496128 29.40771503 29.57987912 32.16692925 32.1925061 32.83438704 29.51288861 29.3253267 29.30993067 29.35728639 29.34134046 29.52548182 32.06607166 32.09134314 32.73341563 29.4670099 29.2653859 29.25126365 29.29467902 29.28016615 29.47785968 31.96629146 31.99148694 32.63352837 29.42828038 29.21103634 29.19799642 29.23748974 29.2246193 29.43730302 31.86684824 31.89252282 32.53428585 29.39758908 29.16331359 29.14748699 29.18615332 29.17501006 29.40389019 31.7610826 31.79566299 32.43764437 40.3909984 38.9200342 38.30278544 40.28313095 40.54970613 42.15291765 39.60646491 40.6714936 41.82068955 60.26794759 63.37693016 65.83154264 3806.824205 9560.396968 25608.62284 3847.365564 9717.459261 25594.13602 2519.353819 6086.959705 28004.7046 6532.784104 15376.777 41497.74301 10158.54503 20118.65224 33253.48527 2537.695057 6222.555653 28044.8145 9494.582154 16669.12758 30037.54478 9914.737569 16728.34101 24470.94914 4627.431205 20427.01489 32794.94633 6461.838694 15359.91837 41624.5524 4558.385334 12427.10589 38046.23859 3567.940806 9047.619358 25529.03734 3539.971623 8990.996659 25557.97411 3568.287609 9033.521965 25522.76716 3576.06229 9018.898216 25523.68597 3652.172521 9218.999432 25482.43126 9449.702158 16218.01602 28575.83681 3759.772156 9379.841303 25593.19319 25751.67433 47990.24928 3853.174425 9947.291296 25596.96338 12213.58987 18491.39185 20124.09011 7883.292873 21120.79157 40052.2099 7907.996415 21086.34167 40008.86036 8203.32802 21223.26566 39883.58077 9800.131487 21402.2435 37868.39095 9691.966602 21320.81364 38189.78994 9750.87892 21257.27771 37796.85565 9932.997065 21584.36429 37355.27478 2589.676895 6404.231158 27795.26266 2600.036698 6430.330396 27858.98274 9491.942789 16235.48145 27708.31006 9686.328475 16375.64961 25549.91441 10315.37393 20525.53007 33622.83028 10260.75127 20390.60223 33514.96598 9780.646592 18160.64325 31701.44385 2496.817427 6122.280993 28273.697 2494.077624 6092.912628 28231.87425 3353.427155 8462.564682 25842.68761 3424.68346 8646.82517 25768.70826 3396.11936 8561.67794 25802.89165 3362.514347 8478.140667 25834.29948 3384.375526 8532.766657 25815.3509 3536.431274 8990.841479 25567.11011 3510.285865 8889.390726 25596.59356 3441.301764 8700.608688 25745.86144 3484.876656 8874.182895 25670.48299 3497.571174 8875.219889 25601.8877 3486.468095 8875.841991 25641.45845 3605.136554 9031.136669 25537.00326 3583.738418 9019.461782 25527.70307 9475.271022 16576.22306 29696.00847 3621.362042 9069.188469 25534.8545 3663.423952 9220.94135 25503.31231 9447.35802 16185.33531 28389.64668 9431.214517 16170.4308 27912.05232 3973.457029 9946.548899 25711.65863 7631.448819 21013.87328 40196.01346 7198.852781 20428.34498 40477.86241 7490.783371 20919.1783 40332.91188 7081.052026 20221.29818 40637.93923 8509.722301 21253.71191 39651.29302 8368.735417 21308.27412 39785.86537 8710.975352 21438.9195 39530.02014 9502.710423 21265.05896 38590.5083 9633.6221 21301.38828 38342.20075 9449.678438 21194.49265 38621.06333 9901.904964 21606.07552 37239.32975 9933.618629 21322.88317 36846.318 10252.745 21860.62483 36136.66549 10077.12121 21537.93819 36768.0789 10168.33046 21723.11132 36266.0542 9801.331657 18293.59398 31846.65934 9484.75527 16537.18948 29245.48797 3741.121361 9303.112172 25560.62334 3732.332295 9270.620108 25557.93381 3772.213642 9426.988711 25553.54754 3771.441036 9430.152445 25552.75857 3824.818998 9625.975253 25608.37215 3848.881699 9726.034332 25587.63808 2572.682304 6403.114507 27971.67656 9641.181202 16322.22019 25966.46714 6518.830626 15287.25419 41438.33284 10212.05775 20233.87128 33339.52795 2434.108512 6050.656756 28524.22449 2442.027732 6026.794091 28604.33333 2432.657922 6054.851276 28455.54078 2469.500796 6090.302558 28375.84797 2528.96655 6230.141059 28119.02349 9519.478059 16663.64173 29924.16131 3798.965893 9489.720398 25579.38542 3785.626211 9454.358012 25586.95565 9971.72973 16774.52527 24661.79803 3791.38149 9463.615476 25574.06843 3793.915369 9469.776661 25573.14544 10275.5529 17101.57936 23807.39513 5273.350848 11781.41106 28008.40624 10456.28903 21905.82066 34546.67118 10136.96715 19977.11563 33143.97222 10036.15783 19642.22026 33191.49946 2468.897775 5523.879634 29120.38771 3551.965428 9005.806819 25537.48481 3545.984332 8994.653016 25542.9064 3569.792381 9030.858246 25518.97642 3574.146463 9026.375411 25519.45778 9487.103988 16541.87472 29543.55769 9503.062335 16545.91047 29380.6503 3649.116472 9205.156867 25482.20081 3721.727099 9265.950045 25550.2111 3711.817958 9254.943757 25542.06546 3742.533397 9340.716318 25562.7109 3747.206872 9355.795055 25555.69245 3811.319208 9585.001073 25609.46304 3832.266727 9627.930204 25590.65745 11507.4878 18201.05131 21052.34619 12130.23967 18467.8304 20515.00643 7729.213489 21056.92226 40108.46831 7644.874248 20943.5653 40144.05241 8060.725279 21165.84203 39943.22805 8095.238854 21039.92466 39900.21944 9742.66514 21356.49621 38044.43352 9623.476157 21108.57798 38119.7301 9834.013284 21391.46193 37659.46461 9919.009889 21571.61611 37543.76639 2585.298261 6433.75335 27924.31473 9487.494083 16290.17128 27541.61479 9719.706435 16394.86679 25695.02418 4960.640981 13940.46784 39183.57533 5590.243243 13983.44502 40380.37214 5942.580318 13909.48564 40789.3763 10232.65801 20296.9388 33428.87967 9749.685461 17987.96831 31637.43052 9731.51377 17845.71147 31465.29819 9736.834789 17950.74476 31558.61586 2410.195847 5938.71354 28738.39015 2424.009039 6003.262599 28659.83507 2321.045049 5862.187116 29076.59215 2400.829772 5946.844584 28815.27734 2404.335432 5978.150272 28901.073 2476.811562 6092.416733 28336.27671 2529.265389 6241.796903 28175.25956 3346.920129 8456.389507 25846.53273 3416.342953 8618.797222 25779.69467 3401.906079 8577.10043 25794.3967 3368.145654 8492.122938 25829.03062 3378.568994 8516.776194 25819.16723 3510.043621 8901.143381 25588.89243 3451.714486 8743.057538 25731.40498 3481.8389 8867.487664 25702.85858 3495.875798 8878.208068 25611.5825 3489.168757 8878.285228 25621.4522 3598.803434 9023.743107 25535.60079 3589.895302 9021.048226 25530.70228 9514.83955 16647.81339 29812.07048 3633.054641 9112.361481 25531.06144 3665.66023 9245.766776 25516.28424 9444.223537 16229.68678 28104.39266 9454.276523 16194.07911 28268.47969 3753.863701 9348.011357 25577.67208 3759.355343 9361.620646 25589.41798 9933.470732 16695.15124 24964.4201 3822.442877 9591.583067 25565.45271 10278.52534 17205.58977 23517.60531 3769.645541 11065.85201 26229.87507 7101.582575 20118.90517 40471.78438 7397.359777 20701.10681 40422.25379 7068.623538 20118.64281 40672.65564 8535.283772 21362.45104 39649.69989 8357.003897 21249.9326 39773.7104 8705.35245 21393.87912 39527.58246 8850.469545 21452.93259 39395.48416 9582.249658 21286.499 38453.34986 9521.361458 21077.58445 38401.82546 9482.234504 21342.39183 38668.63013 9394.766509 21305.85381 38803.15206 10006.19223 21550.22593 36921.56212 10250.9848 21946.22547 35942.73904 10148.3068 21681.77855 36612.72655 10170.33045 21700.86004 36454.11822 10012.70735 19460.99577 32981.50551 10028.04492 19487.49156 33081.79918 10017.49694 19499.96843 33148.97909 67069.41395 9658.61962 17417.70335 31095.60409 9641.684837 17286.22703 30970.19791 2797.839036 6596.180411 32062.6929 3387.276194 8239.844943 33161.2266 3186.653125 9866.626905 34364.40782 2651.845558 6623.812676 27651.59139 2665.611629 6645.113279 27589.56374 2749.820876 6872.834633 27215.35772 9544.991732 16859.56595 30158.13934 9609.291033 16313.27511 26347.94123 9599.846757 16345.26682 26150.42457 10335.31136 20862.71959 33953.10176 10283.77912 20657.44958 33916.99063 2877.270209 7289.789255 26803.76533 2768.149833 6943.689706 27167.28968 3097.197494 7984.769939 26199.84765 2987.004276 7614.755786 26443.70008 2888.294625 7321.523439 26753.71085 2975.726229 7592.497813 26479.71564 3097.470643 7962.517952 26150.7132 3134.561571 7962.391588 26020.85301 3140.941748 7963.910196 26017.19624 14799.42431 19499.32697 24958.53619 6746.033715 18186.99724 41326.68678 10534.39485 21803.38953 34348.39757 10508.36941 21822.97154 34463.66649 2235.972894 5445.873105 29352.9428 2293.524333 5453.25618 29308.77909 9598.356864 17123.13226 30670.98333 9490.976674 16503.37845 29061.67144 3661.875352 9200.678049 25486.0091 9484.979314 16441.28334 28897.64152 3663.251453 9194.014897 25486.01049 3709.46955 9330.209083 25483.1789 11245.5446 18048.1734 21649.28112 18261.90479 32309.28065 11299.80989 18143.82561 21334.908 9109.863787 21333.93849 39159.63179 8811.065955 21199.37543 39422.00289 8995.245548 21448.72837 39332.55657 9058.782646 21157.17122 39133.12141 9379.162892 21326.89204 38860.20293 9271.708399 21326.56839 38994.30107 9904.509171 18805.66092 32072.26366 2179.614749 5423.176174 29445.05341 2296.218468 5883.063188 29295.93412 2694.365334 6672.592564 27427.65441 2713.764934 6793.343393 27374.17936 9581.776112 17025.97116 30537.79033 10473.85762 21357.83305 34069.21525 2315.311126 5890.764794 29180.10156 2823.905273 7108.539728 26936.18246 2824.411104 7129.851525 26994.31789 3035.996909 7747.544341 26307.33165 3024.93257 7709.550706 26338.96104 2918.888318 7404.958551 26612.19959 2933.5426 7399.090218 26580.68628 3110.824346 7960.687079 26064.23875 3116.194181 7958.486477 26048.76293 3166.092379 7975.904524 26013.03587 3158.021613 7972.778612 26012.0931 3517.880028 8935.371654 25581.32402 3707.904292 9278.783065 25487.94282 3709.19968 9253.886404 25526.88892 3704.996187 9287.572604 25476.29192 3713.516474 9338.75374 25472.89035 9819.506489 16508.65451 25276.65894 10666.31588 17534.1416 22776.61128 10416.08416 17343.61335 23151.55151 6684.090723 16528.05978 41653.62639 6808.261067 17391.66215 41605.44316 10007.62966 21635.59136 37041.16365 10388.14279 21432.65602 34156.62232 9955.300437 19124.83798 32551.50095 9846.381838 18611.30174 32051.61977 9952.372933 19095.2084 32485.64316 2318.133628 5444.864573 29811.55322 9656.049633 17478.12115 31210.86858 9623.909091 17157.67934 30867.46414 2624.259174 6505.287603 27694.35109 2598.38411 6459.883579 27747.23187 2673.310595 6634.000421 27527.88043 2726.381772 6754.540006 27260.1774 9574.497 16929.14958 30284.10028 9566.707709 16308.61188 26546.96293 6115.688182 14280.37012 41214.55777 10436.78554 21109.48055 33911.26369 10279.00954 20646.71254 33875.28954 10327.27647 20585.755 33773.84297 2855.426463 7216.607263 26849.56606 2784.590329 6996.649688 27115.40797 3065.297593 7846.157319 26238.06379 3002.406412 7656.188545 26408.36897 2908.684553 7404.628777 26705.2589 2954.714426 7561.867189 26522.86905 3099.903662 7962.790161 26110.90188 3129.452852 7961.821025 26027.74753 3162.950355 7983.190758 26017.65742 3169.33758 7984.232689 26022.31375 3147.531206 7970.137184 26015.47854 3306.605037 8371.06414 25922.16922 3300.360634 8363.774484 25940.59405 3240.095384 8166.079114 25997.21966 3238.868611 8151.012121 25992.56268 3176.233751 7980.945068 26025.38674 3174.824179 7959.705438 26031.66208 3231.788624 8156.710492 26004.84163 3228.219678 8151.031459 26014.962 3311.245876 8382.202485 25905.26769 3320.134972 8390.650078 25893.05954 10063.24556 16886.36745 24182.02028 14008.70192 18290.15236 21221.92134 6731.438132 16251.00763 41664.70574 6845.905331 18187.67943 41418.76565 6795.300008 18621.5385 41208.63758 6789.588737 18750.41921 41172.21146 10350.2579 21928.62016 35583.28404 10212.29638 21779.1382 35770.55784 10524.83846 21748.80055 34282.76314 10423.70422 22029.26012 35456.18253 10450.94118 22091.43873 35256.79689 4107.80143 13184.92054 36931.85305 9708.093639 17706.99323 31333.19206 9665.064417 17497.22493 31262.0714 9621.091242 17149.43458 30795.52087 3653.886038 9203.125617 25481.55793 9452.156899 16331.22393 28775.52521 9400.77318 16219.48384 28694.31044 3673.061308 9205.43482 25490.58454 3681.811886 9233.706608 25489.42552 3792.73293 9501.398325 25578.55664 10935.31566 17880.65545 22038.16102 9082.47159 21423.05544 39201.88234 9024.215131 21432.14987 39307.01485 9228.745698 21305.78525 39094.81111 9219.328842 21142.06077 39026.44091 2215.341335 5773.133764 29432.18234 2230.543733 5788.555248 29418.54679 2683.412826 6667.616688 27471.75393 2731.992089 6810.30334 27319.94975 9581.507194 16960.32537 30377.16215 9528.777185 16265.47195 26901.44748 9515.252668 16276.37494 26776.71462 9541.074776 16315.34635 27070.37941 9526.01284 16321.44894 27300.88381 5454.679637 13750.21537 39833.41087 10464.39439 21210.78694 34002.16939 2838.878254 7149.601272 26889.07614 2807.387961 7116.097159 27056.35353 3052.310343 7791.823566 26271.56418 3011.676958 7679.808982 26374.1781 2921.0128 7408.088447 26657.81494 2938.371095 7453.548131 26557.58277 3106.728631 7967.008497 26084.38611 3122.05173 7960.428474 26036.24505 3161.490974 7981.523954 26016.24201 3154.788967 7971.008126 26012.96548 3274.056477 8263.720631 25973.12255 3285.548294 8308.413145 25960.79859 3262.030123 8226.799211 25985.03038 3250.673648 8187.557766 25988.20422 3199.337983 8049.675758 26040.94424 3186.929102 8010.18074 26040.9698 3208.204108 8085.191255 26037.12063 3223.273497 8145.369633 26028.88633 3336.082543 8418.294875 25872.80759 3325.869765 8406.722177 25881.73906 3332.590701 8426.056832 25863.53583 3335.774868 8436.065801 25855.48839 3707.171417 9262.63346 25502.50089 3713.568355 9259.967243 25514.62584 3705.011128 9303.86827 25468.84479 3708.06995 9323.184439 25468.56454 10728.6355 17699.24945 22475.92529 12830.94512 18438.74846 19939.47726 13201.85487 18388.26312 19893.55824 6720.784264 16412.50342 41663.91967 6865.769733 17670.28623 41556.87217 6879.217588 19479.77523 40984.57942 6867.124081 19241.88055 41077.9709 6867.558897 19660.75493 40854.53443 6901.148637 19642.81502 40817.35306 10496.54555 21664.37845 34137.9976 10460.06609 22063.29731 34946.74388 10427.35711 22032.02376 35101.21742 10477.09616 22081.19577 34829.55207 10451.83447 22066.39243 34681.08687 9986.261026 19286.59231 32663.56064 10011.46185 19407.6604 32813.65817 9803.686856 18391.45918 31938.06036 9815.939525 18437.03932 32010.4843 9933.057149 19044.87637 32357.33666 9924.971961 18922.08242 32262.68753 3749.913239 11275.11874 35452.90284 28794.60818 ) ; boundaryField { topAndBottom { type slip; } inlet { type fixedValue; value uniform 32; } outlet { type inletOutlet; inletValue uniform 32; value nonuniform List<scalar> 62 ( 27.99812069 28.02697083 28.07816791 28.15718622 28.47496013 28.20857844 28.05903747 27.98967528 29.69760009 31.31733491 32.22969649 37.11169062 39.87436172 55.06082887 64.17225613 122.2480241 161.2603707 160.6437447 136.27353 93.15478532 83.46884518 62.37664554 57.32497928 46.22241773 43.55492645 37.68231835 36.26882673 33.15365681 28.24824122 28.3357876 28.45375934 28.6209837 28.86681431 29.38835874 32.40307673 30.94352677 30.1443402 29.56128395 29.13439032 28.81776953 30.09934666 30.6253974 33.43307891 35.01974918 43.53813126 48.43563308 76.96243864 95.33588257 196.0718565 194.8624466 118.6710721 104.6924234 75.2713601 68.30596879 53.01995355 49.35059162 41.27967031 39.33857137 35.06242817 34.03268336 29.14748699 31.7610826 ) ; } wing { type omegaWallFunction; blended 1; beta1 0.075; value nonuniform List<scalar> 378 ( 8349.554117 25608.62284 25594.13602 28004.7046 41497.74301 33253.48527 28044.8145 30037.54478 24470.94914 32794.94633 41624.5524 38046.23859 25529.03734 25557.97411 25522.76716 25523.68597 25482.43126 28575.83681 25593.19319 47990.24928 25596.96338 20124.09011 40052.2099 40008.86036 39883.58077 37868.39095 38189.78994 37796.85565 37355.27478 27795.26266 27858.98274 27708.31006 25549.91441 33622.83028 33514.96598 31701.44385 28273.697 28231.87425 25842.68761 25768.70826 25802.89165 25834.29948 25815.3509 25567.11011 25596.59356 25745.86144 25670.48299 25601.8877 25641.45845 25537.00326 25527.70307 29696.00847 25534.8545 25503.31231 28389.64668 27912.05232 25711.65863 40196.01346 40477.86241 40332.91188 40637.93923 39651.29302 39785.86537 39530.02014 38590.5083 38342.20075 38621.06333 37239.32975 36846.318 36136.66549 36768.0789 36266.0542 31846.65934 29245.48797 25560.62334 25557.93381 25553.54754 25552.75857 25608.37215 25587.63808 27971.67656 25966.46714 41438.33284 33339.52795 28524.22449 28604.33333 28455.54078 28375.84797 28119.02349 29924.16131 25579.38542 25586.95565 24661.79803 25574.06843 25573.14544 23807.39513 28008.40624 34546.67118 33143.97222 33191.49946 29120.38771 25537.48481 25542.9064 25518.97642 25519.45778 29543.55769 29380.6503 25482.20081 25550.2111 25542.06546 25562.7109 25555.69245 25609.46304 25590.65745 21052.34619 20515.00643 40108.46831 40144.05241 39943.22805 39900.21944 38044.43352 38119.7301 37659.46461 37543.76639 27924.31473 27541.61479 25695.02418 39183.57533 40380.37214 40789.3763 33428.87967 31637.43052 31465.29819 31558.61586 28738.39015 28659.83507 29076.59215 28815.27734 28901.073 28336.27671 28175.25956 25846.53273 25779.69467 25794.3967 25829.03062 25819.16723 25588.89243 25731.40498 25702.85858 25611.5825 25621.4522 25535.60079 25530.70228 29812.07048 25531.06144 25516.28424 28104.39266 28268.47969 25577.67208 25589.41798 24964.4201 25565.45271 23517.60531 26229.87507 40471.78438 40422.25379 40672.65564 39649.69989 39773.7104 39527.58246 39395.48416 38453.34986 38401.82546 38668.63013 38803.15206 36921.56212 35942.73904 36612.72655 36454.11822 32981.50551 33081.79918 33148.97909 67069.41395 31095.60409 30970.19791 32062.6929 33161.2266 34364.40782 27651.59139 27589.56374 27215.35772 30158.13934 26347.94123 26150.42457 33953.10176 33916.99063 26803.76533 27167.28968 26199.84765 26443.70008 26753.71085 26479.71564 26150.7132 26020.85301 26017.19624 24958.53619 41326.68678 34348.39757 34463.66649 29352.9428 29308.77909 30670.98333 29061.67144 25486.0091 28897.64152 25486.01049 25483.1789 21649.28112 32309.28065 21334.908 39159.63179 39422.00289 39332.55657 39133.12141 38860.20293 38994.30107 32072.26366 29445.05341 29295.93412 27427.65441 27374.17936 30537.79033 34069.21525 29180.10156 26936.18246 26994.31789 26307.33165 26338.96104 26612.19959 26580.68628 26064.23875 26048.76293 26013.03587 26012.0931 25581.32402 25487.94282 25526.88892 25476.29192 25472.89035 25276.65894 22776.61128 23151.55151 41653.62639 41605.44316 37041.16365 34156.62232 32551.50095 32051.61977 32485.64316 29811.55322 31210.86858 30867.46414 27694.35109 27747.23187 27527.88043 27260.1774 30284.10028 26546.96293 41214.55777 33911.26369 33875.28954 33773.84297 26849.56606 27115.40797 26238.06379 26408.36897 26705.2589 26522.86905 26110.90188 26027.74753 26017.65742 26022.31375 26015.47854 25922.16922 25940.59405 25997.21966 25992.56268 26025.38674 26031.66208 26004.84163 26014.962 25905.26769 25893.05954 24182.02028 21221.92134 41664.70574 41418.76565 41208.63758 41172.21146 35583.28404 35770.55784 34282.76314 35456.18253 35256.79689 36931.85305 31333.19206 31262.0714 30795.52087 25481.55793 28775.52521 28694.31044 25490.58454 25489.42552 25578.55664 22038.16102 39201.88234 39307.01485 39094.81111 39026.44091 29432.18234 29418.54679 27471.75393 27319.94975 30377.16215 26901.44748 26776.71462 27070.37941 27300.88381 39833.41087 34002.16939 26889.07614 27056.35353 26271.56418 26374.1781 26657.81494 26557.58277 26084.38611 26036.24505 26016.24201 26012.96548 25973.12255 25960.79859 25985.03038 25988.20422 26040.94424 26040.9698 26037.12063 26028.88633 25872.80759 25881.73906 25863.53583 25855.48839 25502.50089 25514.62584 25468.84479 25468.56454 22475.92529 19939.47726 19893.55824 41663.91967 41556.87217 40984.57942 41077.9709 40854.53443 40817.35306 34137.9976 34946.74388 35101.21742 34829.55207 34681.08687 32663.56064 32813.65817 31938.06036 32010.4843 32357.33666 32262.68753 35452.90284 28794.60818 ) ; } front { type empty; } back { type empty; } } // ************************************************************************* //
[ "ishantamrakat24@gmail.com" ]
ishantamrakat24@gmail.com
affc9ed748babbd10abd55f060f42ac66777a2a2
0e44257aa418a506b1bb2f76c715e403cb893f13
/NWNXLib/API/Linux/API/Curl_sockaddr_storage.hpp
ff13356ad3c4a891d2e94d09679208762b211e6c
[ "MIT" ]
permissive
Silvard/nwnxee
58bdfa023348edcc88f9d3cfd9ff77fdd6194058
0989acb86e4d2b2bdcf25f6eabc16df7a72fb315
refs/heads/master
2020-04-15T22:04:43.925619
2019-10-10T14:18:53
2019-10-10T14:18:53
165,058,523
0
0
MIT
2019-10-10T14:18:57
2019-01-10T12:44:36
C++
UTF-8
C++
false
false
222
hpp
#pragma once #include <cstdint> #include "unknown_TLS_E77D611622206AA0465475E38CE83D82.hpp" namespace NWNXLib { namespace API { struct Curl_sockaddr_storage { TLS_E77D611622206AA0465475E38CE83D82 buffer; }; } }
[ "liarethnwn@gmail.com" ]
liarethnwn@gmail.com
25966a4b5bdff2ea2b094d9736251c1b97429da2
39f5ed1178375c65876323589a03ef5daf6e4739
/chrome/browser/login_detection/login_detection_prefs.cc
88858a53e48e68c742b2985844cf5e125b01100a
[ "BSD-3-Clause" ]
permissive
berber1016/chromium
2718166c02fcb3aad24cc3bd326a4f8d2d7c0cae
9dc373d511536c916dec337b4ccc53106967d28d
refs/heads/main
2023-03-21T21:53:55.686443
2021-05-14T10:13:20
2021-05-14T10:13:20
367,332,075
1
0
BSD-3-Clause
2021-05-14T10:46:30
2021-05-14T10:46:29
null
UTF-8
C++
false
false
3,544
cc
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/login_detection/login_detection_prefs.h" #include "base/util/values/values_util.h" #include "chrome/browser/login_detection/login_detection_util.h" #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" #include "components/prefs/scoped_user_pref_update.h" namespace login_detection { namespace { // The pref name for storing the sites where the user has signed in via OAuth. // The effective TLD+1 is used to key the dictionary pref, and the value is the // latest time OAuth sign-in was detected for the site. The sign-in time value // will be used to selectively clear this signed-in list, when browsing data is // cleared for a selected time duration. This signed-in sites list is capped to // an allowed maximum size, after which older sites based on sign-in time are // removed. // TODO(rajendrant): Record metrics for the number of sites in this pref. const char kOAuthSignedInSitesPref[] = "login_detection.oauth_signed_in_origins"; } // namespace namespace prefs { void RegisterProfilePrefs(PrefRegistrySimple* registry) { registry->RegisterDictionaryPref(kOAuthSignedInSitesPref); } void RemoveLoginDetectionData(PrefService* prefs) { prefs->ClearPref(kOAuthSignedInSitesPref); } void SaveSiteToOAuthSignedInList(PrefService* pref_service, const GURL& url) { DictionaryPrefUpdate update(pref_service, kOAuthSignedInSitesPref); base::DictionaryValue* dict = update.Get(); dict->SetKey(GetSiteNameForURL(url), util::TimeToValue(base::Time::Now())); // Try making space by removing sites having invalid sign-in time. This should // not happen unless the pref is corrupt somehow. if (dict->DictSize() > GetOauthLoggedInSitesMaxSize()) { std::vector<std::string> invalid_sites; for (const auto& site_entry : dict->DictItems()) { if (!util::ValueToTime(site_entry.second)) invalid_sites.push_back(site_entry.first); } for (const auto& invalid_site : invalid_sites) dict->RemoveKey(invalid_site); } // Limit the dict to its allowed max size, by removing the site entries which // are signed-in the earliest. while (dict->DictSize() > GetOauthLoggedInSitesMaxSize()) { // Holds the pair of site name, its last login time for the site that was // least recently signed-in to be removed. base::Optional<std::pair<std::string, base::Time>> site_entry_to_remove; for (const auto& site_entry : dict->DictItems()) { base::Time signin_time = *util::ValueToTime(site_entry.second); if (!site_entry_to_remove || signin_time < site_entry_to_remove->second) { site_entry_to_remove = std::make_pair(site_entry.first, signin_time); } } dict->RemoveKey(site_entry_to_remove->first); } } bool IsSiteInOAuthSignedInList(PrefService* pref_service, const GURL& url) { if (auto* dict = pref_service->GetDictionary(kOAuthSignedInSitesPref)) return dict->HasKey(GetSiteNameForURL(url)); return false; } std::vector<url::Origin> GetOAuthSignedInSites(PrefService* pref_service) { std::vector<url::Origin> sites; if (auto* dict = pref_service->GetDictionary(kOAuthSignedInSitesPref)) { for (const auto& site_entry : dict->DictItems()) { sites.push_back(url::Origin::Create(GURL(site_entry.first))); } } return sites; } } // namespace prefs } // namespace login_detection
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
511ef75f05ab181a4c35b8362c3f6b7fb62d14b0
50dc1bb36d583884ea7a198d3b605247b54d9dea
/skinchanger.cc/SDK/globals/globals.h
3b90d0f4b68bbef64065e6811fb47d35acb96c3f
[]
no_license
n30np14gu3/skinchanger.cc
c5845a37e921b4722d71cacd6713fc27125ea46c
5e05817ac945de6cb393497084b47a4200750b32
refs/heads/master
2023-01-23T23:14:36.444829
2020-11-25T16:03:15
2020-11-25T16:03:15
236,482,706
5
1
null
null
null
null
UTF-8
C++
false
false
161
h
#pragma once #include <string> namespace globals { using namespace std; extern string hwid; extern int last_update; extern int code; void initGlobals(); }
[ "darknetsoft@yandex.ru" ]
darknetsoft@yandex.ru
4f12973a495b7d1b56bd598d4d60b01591a2b20f
88885e8e59855530c09ac930ae57914cbe4fe0f8
/Source/xs_privateinclude/BreaklineTmpl.inl
05e99d584b3127868d6f4ba0fe2e028cd087d915
[]
no_license
klainqin/LandXmlSDK
8767c46c36b2257d388e50a25e64956c7c6ed020
ca52863d66d172b00835f66cef636790e668a52f
refs/heads/master
2021-01-10T08:30:45.007060
2015-11-25T10:20:13
2015-11-25T10:20:13
46,108,934
2
0
null
null
null
null
UTF-8
C++
false
false
6,574
inl
#include "stdafx.h" #include "LXTypes.h" #include "Breakline.h" #include "FeatureCollection.h" #include "LXTypesTmpl.h" #include "BreaklineImpl.h" #include "FeatureCollectionImpl.h" #include "LXTypesTmpl.inl" namespace LX { template<class T> BreaklineTmpl<T>::BreaklineTmpl (DocumentImpl* pDoc) : ObjectTmpl<T>(pDoc) { m_PntList = NULL; m_Feature = createFeatureCollectionObject(pDoc); m_BrkType = EnumBreakLineType::Values::k_null; m_bBrkType_valueSet = false; m_Desc = L""; m_bDesc_valueSet = false; m_Name = L""; m_bName_valueSet = false; m_State = EnumStateType::Values::k_null; m_bState_valueSet = false; } template<class T> BreaklineTmpl<T>::~BreaklineTmpl () { if (m_PntList != NULL) { m_PntList->release(); m_PntList = NULL; } if (m_Feature != NULL) { m_Feature->release(); m_Feature = NULL; } } template <class T> bool BreaklineTmpl<T>::getObjectId(const String*& pId) const { if (m_bName_valueSet) { pId = &m_Name; return true; } else { pId = NULL; return false; } } template <class T> ValueObject* BreaklineTmpl<T>::id() const { if (m_bName_valueSet) { ValueObject* pValue = new StringObjectTmpl<StringObject>(m_Name); if (!pValue) throw Exception(Exception::kUnableToAllocateMemory, L"Out of Memory."); return pValue; } else return NULL; } template <class T> FeatureCollection& BreaklineTmpl<T>::Feature() { return *m_Feature; } template <class T> const FeatureCollection& BreaklineTmpl<T>::Feature() const { return *m_Feature; } template <class T> Object* BreaklineTmpl<T>::getPntList() const { return m_PntList; } template <class T> void BreaklineTmpl<T>::setPntList(Object* pValue) { m_PntList = pValue; } template <class T> EnumBreakLineType::Values BreaklineTmpl<T>::getBrkType() const { return m_BrkType; } template <class T> void BreaklineTmpl<T>::setBrkType(EnumBreakLineType::Values value) { m_BrkType = value; m_bBrkType_valueSet = true; } template <class T> bool BreaklineTmpl<T>::hasValue_BrkType() const { return m_bBrkType_valueSet; } template <class T> void BreaklineTmpl<T>::resetValue_BrkType() { m_bBrkType_valueSet = false; } template <class T> String BreaklineTmpl<T>::getDesc() const { return m_Desc; } template <class T> void BreaklineTmpl<T>::setDesc(String value) { m_Desc = value; m_bDesc_valueSet = true; } template <class T> bool BreaklineTmpl<T>::hasValue_Desc() const { return m_bDesc_valueSet; } template <class T> void BreaklineTmpl<T>::resetValue_Desc() { m_bDesc_valueSet = false; } template <class T> String BreaklineTmpl<T>::getName() const { return m_Name; } template <class T> void BreaklineTmpl<T>::setName(String value) { String oldValue = m_Name; m_Name = value; if (this->m_pCollectionLocation) { // We are in a collection. Now check to make sure we are in a named collection. NamedCollectionLocation* pNamedCollLoc = dynamic_cast<NamedCollectionLocation*>(this->m_pCollectionLocation); if (pNamedCollLoc) { try { // First check the name. if (!pNamedCollLoc->objectCheckNewName()) throw Exception(Exception::kObjectIdCollectionConflict, L"Unable to change identifying member, because collection name conflict."); // We are in a named collection. Now tell the collection the object has been renamed. if (!pNamedCollLoc->objectRenamed()) // Object could not be renamed within the collection. throw Exception(Exception::kObjectRenamedFailed, L"Could not rename object within collection."); } catch (Exception e) { m_Name = oldValue; throw; } } } m_bName_valueSet = true; } template <class T> bool BreaklineTmpl<T>::hasValue_Name() const { return m_bName_valueSet; } template <class T> void BreaklineTmpl<T>::resetValue_Name() { m_bName_valueSet = false; } template <class T> EnumStateType::Values BreaklineTmpl<T>::getState() const { return m_State; } template <class T> void BreaklineTmpl<T>::setState(EnumStateType::Values value) { m_State = value; m_bState_valueSet = true; } template <class T> bool BreaklineTmpl<T>::hasValue_State() const { return m_bState_valueSet; } template <class T> void BreaklineTmpl<T>::resetValue_State() { m_bState_valueSet = false; } template <class T> void BreaklineTmpl<T>::toXml (IStream& stream) { static const wchar_t* kstrElementName = L"Breakline"; stream.write(L"<"); stream.write(kstrElementName); if (m_bBrkType_valueSet) { stream.write(L" brkType=\""); EnumBreakLineTypeImpl::streamOut(m_BrkType, stream); stream.write(L"\""); } if (m_bDesc_valueSet) { stream.write(L" desc=\""); StringObjectImpl::streamOut(m_Desc, stream); stream.write(L"\""); } if (m_bName_valueSet) { stream.write(L" name=\""); StringObjectImpl::streamOut(m_Name, stream); stream.write(L"\""); } if (m_bState_valueSet) { stream.write(L" state=\""); EnumStateTypeImpl::streamOut(m_State, stream); stream.write(L"\""); } stream.write(L">"); if (m_PntList) { m_PntList->toXml(stream); } if (m_Feature) { m_Feature->toXml(stream); } stream.write(L"</"); stream.write(kstrElementName); stream.write(L">"); } template <class T> Object::ValidityEnum BreaklineTmpl<T>::validate (IValidationEventSink* pEventSink) const { Object::ValidityEnum returnCode = Object::kValid; returnCode = this->ObjectTmpl<T>::validate(pEventSink); if (m_PntList) { if (m_PntList->validate(pEventSink) != Object::kValid) returnCode = Object::kValidWithInvalidChildren; } if (m_Feature) { if (m_Feature->validate(pEventSink) != Object::kValid) returnCode = Object::kValidWithInvalidChildren; } return returnCode; } }; // namespace : LX
[ "qink@shac02q6273g8wn.ads.autodesk.com" ]
qink@shac02q6273g8wn.ads.autodesk.com
a49ccd9ff53e1b15419a3f2af9c62f1326cd7fec
5499e8b91353ef910d2514c8a57a80565ba6f05b
/zircon/system/utest/platform-bus/test-spi.cc
4387321f4479eb31b1a4748a566733d40d7720a7
[ "BSD-3-Clause", "MIT" ]
permissive
winksaville/fuchsia
410f451b8dfc671f6372cb3de6ff0165a2ef30ec
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
refs/heads/master
2022-11-01T11:57:38.343655
2019-11-01T17:06:19
2019-11-01T17:06:19
223,695,500
3
2
BSD-3-Clause
2022-10-13T13:47:02
2019-11-24T05:08:59
C++
UTF-8
C++
false
false
1,230
cc
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <ddk/debug.h> #include <ddk/device.h> #include <ddk/metadata.h> #include <ddk/metadata/spi.h> #include <ddk/platform-defs.h> #include <ddk/protocol/platform/bus.h> #include "test.h" namespace board_test { namespace { static const spi_channel_t spi_channels[] = { {.bus_id = 0, .cs = 0, // VID/PID/DID unused. .vid = 0, .pid = 0, .did = 0}}; static const pbus_metadata_t spi_metadata[] = {{ .type = DEVICE_METADATA_SPI_CHANNELS, .data_buffer = &spi_channels, .data_size = sizeof(spi_channels), }}; } // namespace zx_status_t TestBoard::SpiInit() { pbus_dev_t spi_dev = {}; spi_dev.name = "spi"; spi_dev.vid = PDEV_VID_TEST; spi_dev.pid = PDEV_PID_PBUS_TEST; spi_dev.did = PDEV_DID_TEST_SPI; spi_dev.metadata_list = spi_metadata; spi_dev.metadata_count = countof(spi_metadata); zx_status_t status = pbus_.DeviceAdd(&spi_dev); if (status != ZX_OK) { zxlogf(ERROR, "%s: DeviceAdd failed %d\n", __FUNCTION__, status); return status; } return ZX_OK; } } // namespace board_test
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
5aec844690f7f48242351a1379026227edc453f8
ea58b66f1d54c362ff164e7d74a35d0c5abccb98
/STL/pushVector.cpp
6161e66f972587e5d6505a8512ae15d1896b7c41
[]
no_license
satyam9753/GetSetGo
26cc600d56e61bcf90230bf3582c682429fd967a
ab2b9abc866689a5664a3c3c88ee6f174ed85bc6
refs/heads/master
2020-12-05T22:25:52.718351
2020-02-04T17:09:42
2020-02-04T17:09:42
232,262,893
1
0
null
null
null
null
UTF-8
C++
false
false
745
cpp
#include <iostream> #include <vector> using namespace std; int main() { // create a vector to store int vector<int> vec; int i; // display the original size of vec cout << "vector size = " << vec.size() << endl; // push 5 values into the vector for(i = 0; i < 5; i++) { vec.push_back(i); } // display extended size of vec cout << "extended vector size = " << vec.size() << endl; // access 5 values from the vector for(i = 0; i < 5; i++) { cout << "value of vec [" << i << "] = " << vec[i] << endl; } // use iterator to access the values vector<int>::iterator v = vec.begin(); while( v != vec.end()) { cout << "value of v = " << *v << endl; v++; } return 0; }
[ "satyam.anand9753@gmail.com" ]
satyam.anand9753@gmail.com
ab9b6db06eee1e081a75943a1dd7fbe27035b4d7
4da72afc57e69cf8b957bd5a2a2bdf0ed883300a
/MedicAdmin_1/MainFrm.h
0f59e6ad70d0d71e5fdd279b03f27ee090f09809
[]
no_license
xiuxiuxiu12/MedicAdmin
2a341a4a2dd379dbac15756c9f90b708956f6fe3
d7baf7acd073feed6064ce3b11c353ef172121b5
refs/heads/master
2020-05-03T07:29:25.658099
2019-03-30T02:05:15
2019-03-30T02:05:15
178,499,157
0
1
null
null
null
null
GB18030
C++
false
false
1,159
h
// MainFrm.h : CMainFrame 类的接口 // #pragma once #include "UerTreeView.h" #include "MedicListView.h" #include "MedicAdmin_1Doc.h" #include "AddUserDlg.h" #include "ChangePwd.h" class CMainFrame : public CFrameWnd { protected: // 仅从序列化创建 CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // 特性 public: // 操作 public: // 重写 public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); // 实现 public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // 控件条嵌入成员 CStatusBar m_wndStatusBar; // 生成的消息映射函数 protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); DECLARE_MESSAGE_MAP() private: CSplitterWnd m_sWnd; virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); public: afx_msg void OnUpdateAddUser(CCmdUI *pCmdUI); afx_msg void OnUpdateDelUser(CCmdUI *pCmdUI); afx_msg void OnUpdateSelectUser(CCmdUI *pCmdUI); afx_msg void OnSysClose(); afx_msg void OnAddUser(); afx_msg void OnChanPwd(); };
[ "1451489028@qq.com" ]
1451489028@qq.com
767fe1769e1f46f3e0e1d58ff236ca287004b8c3
a867ea2056ae2953870f6ca92c1e9b8e0cc5c10c
/NonOffOpenFOAM/FoamCases/ppWall/1.6/U
0f6e1ec325aaae2bc9604a698091484ab47afd96
[]
no_license
enrsanqui/OpenFOAM
ca9948b29e5753a302d9d119ca26e89ea0ef969b
32fdcf986f00e518c303058fa30ac66293782904
refs/heads/master
2021-01-02T23:10:15.612823
2017-08-29T18:44:55
2017-08-29T18:44:55
99,481,219
0
0
null
null
null
null
UTF-8
C++
false
false
11,547
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1612+ | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "1.6"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 400 ( (0.0249985 -2.86142e-11 0) (0.0249985 -1.76232e-11 0) (0.0249985 6.00521e-13 0) (0.0249985 -1.50188e-12 0) (0.0249985 1.04735e-12 0) (0.0249985 -8.7795e-13 0) (0.0249985 6.98781e-13 0) (0.0249985 -5.51039e-13 0) (0.0249985 4.20266e-13 0) (0.0249985 -3.039e-13 0) (0.0249985 1.97943e-13 0) (0.0249985 -9.90665e-14 0) (0.0249985 4.22488e-15 0) (0.0249985 8.90499e-14 0) (0.0249985 -1.86353e-13 0) (0.0249985 2.71428e-13 0) (0.0249985 -5.09961e-13 0) (0.0249985 6.71756e-13 0) (0.0249985 -9.89816e-12 0) (0.0249985 -1.63725e-11 0) (0.0749955 -1.20814e-10 0) (0.0749955 -8.86254e-11 0) (0.0749955 -4.34074e-13 0) (0.0749955 -5.1048e-12 0) (0.0749955 3.18356e-12 0) (0.0749955 -2.73087e-12 0) (0.0749955 2.15909e-12 0) (0.0749955 -1.70451e-12 0) (0.0749955 1.29882e-12 0) (0.0749955 -9.38281e-13 0) (0.0749955 6.09814e-13 0) (0.0749955 -3.03173e-13 0) (0.0749955 8.86581e-15 0) (0.0749955 2.79885e-13 0) (0.0749955 -5.88079e-13 0) (0.0749955 8.22418e-13 0) (0.0749955 -1.866e-12 0) (0.0749955 2.75354e-12 0) (0.0749955 -5.40059e-11 0) (0.0749955 -7.51033e-11 0) (0.124993 -2.68259e-10 0) (0.124993 -2.21917e-10 0) (0.124993 -6.93883e-12 0) (0.124993 -9.37987e-12 0) (0.124993 4.9102e-12 0) (0.124993 -4.38953e-12 0) (0.124993 3.43307e-12 0) (0.124993 -2.71549e-12 0) (0.124993 2.06662e-12 0) (0.124993 -1.49115e-12 0) (0.124993 9.66422e-13 0) (0.124993 -4.76201e-13 0) (0.124993 5.24427e-15 0) (0.124993 4.55272e-13 0) (0.124993 -9.64e-13 0) (0.124993 1.25698e-12 0) (0.124993 -3.75185e-12 0) (0.124993 5.40252e-12 0) (0.124993 -1.42248e-10 0) (0.124993 -1.77893e-10 0) (0.17499 -4.34108e-10 0) (0.17499 -3.85398e-10 0) (0.17499 -1.76656e-11 0) (0.17499 -1.32141e-11 0) (0.17499 5.69767e-12 0) (0.17499 -5.36805e-12 0) (0.17499 4.14199e-12 0) (0.17499 -3.28433e-12 0) (0.17499 2.49558e-12 0) (0.17499 -1.7978e-12 0) (0.17499 1.16088e-12 0) (0.17499 -5.65286e-13 0) (0.17499 -7.61663e-15 0) (0.17499 5.65331e-13 0) (0.17499 -1.20744e-12 0) (0.17499 1.44476e-12 0) (0.17499 -5.72036e-12 0) (0.17499 8.41913e-12 0) (0.17499 -2.57086e-10 0) (0.17499 -3.03602e-10 0) (0.224987 -5.91846e-10 0) (0.224987 -5.50919e-10 0) (0.224987 -3.09555e-11 0) (0.224987 -1.63439e-11 0) (0.224987 5.61732e-12 0) (0.224987 -5.68718e-12 0) (0.224987 4.31143e-12 0) (0.224987 -3.43e-12 0) (0.224987 2.60086e-12 0) (0.224987 -1.86983e-12 0) (0.224987 1.20162e-12 0) (0.224987 -5.76103e-13 0) (0.224987 -2.64769e-14 0) (0.224987 6.09607e-13 0) (0.224987 -1.31634e-12 0) (0.224987 1.40478e-12 0) (0.224987 -7.60097e-12 0) (0.224987 1.13582e-11 0) (0.224987 -3.81285e-10 0) (0.224987 -4.3446e-10 0) (0.274985 -7.22829e-10 0) (0.274985 -6.96708e-10 0) (0.274985 -4.48307e-11 0) (0.274985 -1.86258e-11 0) (0.274985 4.86989e-12 0) (0.274985 -5.46658e-12 0) (0.274985 4.04671e-12 0) (0.274985 -3.23417e-12 0) (0.274985 2.4454e-12 0) (0.274985 -1.7532e-12 0) (0.274985 1.11932e-12 0) (0.274985 -5.2515e-13 0) (0.274985 -4.82712e-14 0) (0.274985 5.98623e-13 0) (0.274985 -1.31083e-12 0) (0.274985 1.19057e-12 0) (0.274985 -9.2529e-12 0) (0.274985 1.40886e-11 0) (0.274985 -5.00157e-10 0) (0.274985 -5.56225e-10 0) (0.324984 -8.14336e-10 0) (0.324984 -8.07422e-10 0) (0.324984 -5.76361e-11 0) (0.324984 -1.99364e-11 0) (0.324984 3.62237e-12 0) (0.324984 -4.80473e-12 0) (0.324984 3.4349e-12 0) (0.324984 -2.76426e-12 0) (0.324984 2.08124e-12 0) (0.324984 -1.48596e-12 0) (0.324984 9.39406e-13 0) (0.324984 -4.26163e-13 0) (0.324984 -7.03865e-14 0) (0.324984 5.41069e-13 0) (0.324984 -1.20754e-12 0) (0.324984 8.44975e-13 0) (0.324984 -1.05546e-11 0) (0.324984 1.64009e-11 0) (0.324984 -6.0176e-10 0) (0.324984 -6.57231e-10 0) (0.374982 -8.58309e-10 0) (0.374982 -8.72723e-10 0) (0.374982 -6.79655e-11 0) (0.374982 -2.01741e-11 0) (0.374982 2.02314e-12 0) (0.374982 -3.78838e-12 0) (0.374982 2.55297e-12 0) (0.374982 -2.07982e-12 0) (0.374982 1.5543e-12 0) (0.374982 -1.10168e-12 0) (0.374982 6.84283e-13 0) (0.374982 -2.91169e-13 0) (0.374982 -9.06731e-14 0) (0.374982 4.44843e-13 0) (0.374982 -1.02157e-12 0) (0.374982 4.05783e-13 0) (0.374982 -1.13978e-11 0) (0.374982 1.80859e-11 0) (0.374982 -6.7664e-10 0) (0.374982 -7.28252e-10 0) (0.424981 -8.51975e-10 0) (0.424981 -8.87816e-10 0) (0.424981 -7.47829e-11 0) (0.424981 -1.93086e-11 0) (0.424981 2.17623e-13 0) (0.424981 -2.50907e-12 0) (0.424981 1.48029e-12 0) (0.424981 -1.24244e-12 0) (0.424981 9.12006e-13 0) (0.424981 -6.3493e-13 0) (0.424981 3.76877e-13 0) (0.424981 -1.32262e-13 0) (0.424981 -1.07392e-13 0) (0.424981 3.18687e-13 0) (0.424981 -7.70006e-13 0) (0.424981 -8.97786e-14 0) (0.424981 -1.17089e-11 0) (0.424981 1.89531e-11 0) (0.424981 -7.18428e-10 0) (0.424981 -7.63238e-10 0) (0.474981 -7.97677e-10 0) (0.474981 -8.53349e-10 0) (0.474981 -7.75085e-11 0) (0.474981 -1.7396e-11 0) (0.474981 -1.65369e-12 0) (0.474981 -1.06388e-12 0) (0.474981 2.98797e-13 0) (0.474981 -3.15972e-13 0) (0.474981 2.03364e-13 0) (0.474981 -1.21332e-13 0) (0.474981 4.06584e-14 0) (0.474981 3.84198e-14 0) (0.474981 -1.19266e-13 0) (0.474981 1.72257e-13 0) (0.474981 -4.72161e-13 0) (0.474981 -6.04886e-13 0) (0.474981 -1.1457e-11 0) (0.474981 1.88672e-11 0) (0.474981 -7.24194e-10 0) (0.474981 -7.59711e-10 0) (0.524981 -7.02425e-10 0) (0.524981 -7.75029e-10 0) (0.524981 -7.60579e-11 0) (0.524981 -1.45819e-11 0) (0.524981 -3.45995e-12 0) (0.524981 4.46864e-13 0) (0.524981 -9.09187e-13 0) (0.524981 6.35123e-13 0) (0.524981 -5.22289e-13 0) (0.524981 4.03359e-13 0) (0.524981 -3.00972e-13 0) (0.524981 2.09016e-13 0) (0.524981 -1.25537e-13 0) (0.524981 1.58866e-14 0) (0.524981 -1.49062e-13 0) (0.524981 -1.1039e-12 0) (0.524981 -1.06581e-11 0) (0.524981 1.77773e-11 0) (0.524981 -6.94504e-10 0) (0.524981 -7.1884e-10 0) (0.574981 -5.76976e-10 0) (0.574981 -6.62712e-10 0) (0.574981 -7.08227e-11 0) (0.574981 -1.10966e-11 0) (0.574981 -5.08223e-12 0) (0.574981 1.921e-12 0) (0.574981 -2.06218e-12 0) (0.574981 1.54671e-12 0) (0.574981 -1.21604e-12 0) (0.574981 9.03796e-13 0) (0.574981 -6.25035e-13 0) (0.574981 3.68134e-13 0) (0.574981 -1.25976e-13 0) (0.574981 -1.39592e-13 0) (0.574981 1.76909e-13 0) (0.574981 -1.55275e-12 0) (0.574981 -9.37602e-12 0) (0.574981 1.5741e-11 0) (0.574981 -6.33167e-10 0) (0.574981 -6.45199e-10 0) (0.624982 -4.34814e-10 0) (0.624982 -5.29324e-10 0) (0.624982 -6.25902e-11 0) (0.624982 -7.2421e-12 0) (0.624982 -6.41396e-12 0) (0.624982 3.25553e-12 0) (0.624982 -3.08034e-12 0) (0.624982 2.35563e-12 0) (0.624982 -1.82986e-12 0) (0.624982 1.34536e-12 0) (0.624982 -9.09183e-13 0) (0.624982 5.04927e-13 0) (0.624982 -1.20817e-13 0) (0.624982 -2.83007e-13 0) (0.624982 4.82373e-13 0) (0.624982 -1.91921e-12 0) (0.624982 -7.71888e-12 0) (0.624982 1.29337e-11 0) (0.624982 -5.46811e-10 0) (0.624982 -5.46337e-10 0) (0.674984 -2.90699e-10 0) (0.674984 -3.89327e-10 0) (0.674984 -5.24202e-11 0) (0.674984 -3.37102e-12 0) (0.674984 -7.36083e-12 0) (0.674984 4.34831e-12 0) (0.674984 -3.8866e-12 0) (0.674984 3.00051e-12 0) (0.674984 -2.31723e-12 0) (0.674984 1.69464e-12 0) (0.674984 -1.132e-12 0) (0.674984 6.09217e-13 0) (0.674984 -1.1073e-13 0) (0.674984 -4.03094e-13 0) (0.674984 7.43484e-13 0) (0.674984 -2.17355e-12 0) (0.674984 -5.83272e-12 0) (0.674984 9.64299e-12 0) (0.674984 -4.44147e-10 0) (0.674984 -4.32026e-10 0) (0.724985 -1.59335e-10 0) (0.724985 -2.57272e-10 0) (0.724985 -4.14747e-11 0) (0.724985 1.41679e-13 0) (0.724985 -7.84075e-12 0) (0.724985 5.10075e-12 0) (0.724985 -4.40839e-12 0) (0.724985 3.42331e-12 0) (0.724985 -2.6343e-12 0) (0.724985 1.92022e-12 0) (0.724985 -1.27347e-12 0) (0.724985 6.71666e-13 0) (0.724985 -9.67067e-14 0) (0.724985 -4.88866e-13 0) (0.724985 9.36731e-13 0) (0.724985 -2.28954e-12 0) (0.724985 -3.89065e-12 0) (0.724985 6.23902e-12 0) (0.724985 -3.35215e-10 0) (0.724985 -3.13434e-10 0) (0.774987 -5.35098e-11 0) (0.774987 -1.45774e-10 0) (0.774987 -3.08375e-11 0) (0.774987 2.9262e-12 0) (0.774987 -7.77961e-12 0) (0.774987 5.41778e-12 0) (0.774987 -4.57698e-12 0) (0.774987 3.56878e-12 0) (0.774987 -2.73943e-12 0) (0.774987 1.99236e-12 0) (0.774987 -1.31469e-12 0) (0.774987 6.83577e-13 0) (0.774987 -7.98829e-14 0) (0.774987 -5.29748e-13 0) (0.774987 1.03916e-12 0) (0.774987 -2.24474e-12 0) (0.774987 -2.08075e-12 0) (0.774987 3.13071e-12 0) (0.774987 -2.30189e-10 0) (0.774987 -2.01884e-10 0) (0.82499 1.68629e-11 0) (0.82499 -6.4162e-11 0) (0.82499 -2.12808e-11 0) (0.82499 4.62403e-12 0) (0.82499 -7.08658e-12 0) (0.82499 5.1923e-12 0) (0.82499 -4.31422e-12 0) (0.82499 3.37418e-12 0) (0.82499 -2.58531e-12 0) (0.82499 1.87715e-12 0) (0.82499 -1.23409e-12 0) (0.82499 6.34879e-13 0) (0.82499 -6.12689e-14 0) (0.82499 -5.14171e-13 0) (0.82499 1.02546e-12 0) (0.82499 -2.01565e-12 0) (0.82499 -5.97153e-13 0) (0.82499 7.15077e-13 0) (0.82499 -1.38485e-10 0) (0.82499 -1.07984e-10 0) (0.874993 4.73798e-11 0) (0.874993 -1.56186e-11 0) (0.874993 -1.315e-11 0) (0.874993 4.8727e-12 0) (0.874993 -5.64269e-12 0) (0.874993 4.29486e-12 0) (0.874993 -3.52447e-12 0) (0.874993 2.76297e-12 0) (0.874993 -2.11408e-12 0) (0.874993 1.53312e-12 0) (0.874993 -1.00514e-12 0) (0.874993 5.13008e-13 0) (0.874993 -4.16884e-14 0) (0.874993 -4.28589e-13 0) (0.874993 8.65725e-13 0) (0.874993 -1.57787e-12 0) (0.874993 3.51805e-13 0) (0.874993 -7.22763e-13 0) (0.874993 -6.73262e-11 0) (0.874993 -4.01396e-11 0) (0.924995 4.09023e-11 0) (0.924995 3.03192e-12 0) (0.924995 -6.42258e-12 0) (0.924995 3.54305e-12 0) (0.924995 -3.43799e-12 0) (0.924995 2.6974e-12 0) (0.924995 -2.19218e-12 0) (0.924995 1.72177e-12 0) (0.924995 -1.31605e-12 0) (0.924995 9.53522e-13 0) (0.924995 -6.2388e-13 0) (0.924995 3.16548e-13 0) (0.924995 -2.21278e-14 0) (0.924995 -2.70363e-13 0) (0.924995 5.51731e-13 0) (0.924995 -9.43206e-13 0) (0.924995 6.27663e-13 0) (0.924995 -9.67455e-13 0) (0.924995 -2.17557e-11 0) (0.924995 -3.83036e-12 0) (0.974998 1.52445e-11 0) (0.974998 3.30016e-12 0) (0.974998 -1.76052e-12 0) (0.974998 1.22877e-12 0) (0.974998 -1.09275e-12 0) (0.974998 8.71804e-13 0) (0.974998 -7.04413e-13 0) (0.974998 5.53957e-13 0) (0.974998 -4.23178e-13 0) (0.974998 3.06475e-13 0) (0.974998 -2.00317e-13 0) (0.974998 1.01332e-13 0) (0.974998 -6.47057e-15 0) (0.974998 -8.74761e-14 0) (0.974998 1.79829e-13 0) (0.974998 -2.95626e-13 0) (0.974998 2.78501e-13 0) (0.974998 -4.64046e-13 0) (0.974998 -2.85096e-12 0) (0.974998 3.17589e-12 0) ) ; boundaryField { top { type fixedValue; value uniform (1 0 0); } bottom { type fixedValue; value uniform (0 0 0); } inlet { type zeroGradient; } outlet { type zeroGradient; } frontAndBack { type empty; } } // ************************************************************************* //
[ "enrsanqui@gmail.com" ]
enrsanqui@gmail.com
7ef4412ed6f20de0c1589870fecfabd50f85df4e
2e99c5dd0a8f436a16fc37c178765f9248bc1321
/src/Fixture.cpp
dd4e926548ad697e8cf86f29bd5ad968bda45335
[ "MIT" ]
permissive
SungwooNam/QtAppRunner
11d8afecf96330b0d01c54219d4ee221f38c8b39
07903d6b094fae38d88e2f27de5f31b27d7fbd87
refs/heads/main
2023-07-16T03:59:54.799795
2021-08-27T03:26:47
2021-08-27T03:26:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
61
cpp
#include "Fixture.h" Fixture* Fixture::fixture_ = nullptr;
[ "sungwoo@L2020.Workgroup" ]
sungwoo@L2020.Workgroup
c48ee888a6796a467a1e572135d85daf956d866f
92bd34b5d206eaf9d065ade385a26d5e787cbc1c
/agentes.cpp
0cb87b0a448a89daa7ab96fc2be306a426e823a9
[]
no_license
marcolongus/active-particles
48f9b614970dd5e66ae180e5a7ce66355e11d246
215cabc0204aad04fc3fbabf485e038286fd2435
refs/heads/master
2023-03-30T15:39:49.287180
2021-03-22T21:54:33
2021-03-22T21:54:33
350,497,685
0
0
null
null
null
null
UTF-8
C++
false
false
6,395
cpp
/* Autor: Benjamín R. Marcolongo. FAMAF-UNC. *--------------------------------------------------------------------------------------------------------- * Programa para evolucionar un sistema de N agentes en el tiempo. *--------------------------------------------------------------------------------------------------------- * Agentes: * i. Las velocidades de los N agentes pueden ser uniformes o tomadas aleatoriamente. * 1. Las distribuciones por defecto son de tipo exponencial o de ley de potencias. * ii. Pueden interactuar a través de un potencial u otra forma (una red neuronal i.e). * 1. El potencial por defecto es de esferas blandas. * ii. Están confinados a un toroide topológico- * 1. El tamaño característico del toro se denota con L (lado del cuadrado). * iii. Poseen un estado interno, caracterizado por un número entero * 1. Este estado puede o no interactaur con la dinámica espacial. * iV. El estado interno puede evolucionar en el tiempo. * 1. Esta dinámica está regulada, genéricamente, con una distribución de poisson. *--------------------------------------------------------------------------------------------------------- * Red compleja: * i. El programa trackea todo el sistema de interacciones y guarda la red compleja resultante. * ii. La red compleja puede ser la asociada a la propagación del estado interno o la de contactos * para alguna escala temporal. *--------------------------------------------------------------------------------------------------------- */ #include <bits/stdc++.h> #include "classparticle.h" //Módulo con la clase definida para los agentes. #define forn(i,a,b) for(int i=a; i<b; i++) using namespace std; int main(void){ cout << "Memoria del sistema: " << 2*36*N << " Bytes" << endl; cout << "seed: " << seed << endl << endl; int start_s = clock(); /*DEFINICIÓN DE ARCHIVOS DE SALIDA DEL PROGRAMA*/ //Para modelado de epidemias: ofstream FinalState ("data/evolution.txt"); ofstream epidemic ("data/epidemia.txt") ;//Estado de la epidemia en cada instante modulo m. ofstream anim ("data/animacion.txt"); ofstream imax ("data/imax.txt") ;//Máxima cantidad de infectados. ofstream mips ("data/mips.txt") ;//Busqueda de mobility induced phase-separetion. //Red compleja: //Comentario sobre cómo está guardada esta información. ofstream topology ("data/topology.txt") ; //Se guarda la red compleja. cout << "-------------" << endl; cout << "Simulacion " << endl; cout << "-------------" << endl << endl; /*DECLARACIÓN DE VARIABLES*/ vector<particle> system , system_new; vector<bool> inter; //Flag de interacción. vector<int> state_vector; //En cada lugar contiene la población de cada estado. /*Estuctura de datos para optimizar la búsqueda de interacciones entre agentes: * 1. Utiliza un red-and-black tree implementado en c++ como set. * 2. Cada agente está indexado por un int que representa su posición en * los vectores system y system_new. * 3. Se construye una grilla con cuadrículas de tamaño 1 y cada a una se le asigna un set. * 4. Cada set contiene los agentes que están en cada cuadrícula. */ vector<vector<set<int>>> box; int num_boxes = floor(L); //Inicializamos los vectores declarados previamente: inter.resize(N,false); state_vector.resize(spin,0); box.resize(num_boxes); for (int i=0; i<box.size(); i++) box[i].resize(num_boxes); /*CONDICIÓN INICIAL*/ for(int p = 0; p < N; p++){ particle Agent; bool accepted = false; while(!accepted){ accepted = true; Agent = create_particle(); int i_index = floor(Agent.x), j_index = floor(Agent.y); //Si interactúa con otra partícula cambiamos la condición a no aceptada. forn(l,-2,3){ forn(m,-2,3){ int i = b_condition(i_index + l), j = b_condition(j_index + m); if (!box[i][j].empty()){ for (auto element: box[i][j]){ if (interact(Agent,system[element])) accepted = false; }//for auto }//if not empty }//for m }//for l if (accepted) box[i_index][j_index].insert(p); }//while system.push_back(Agent); state_vector[Agent.get_state()]++; }//for N print_state(state_vector); /*EVOLUCIÓN DEL SISTEMA*/ int TimeStep = 0; //Contador de tiempo. system_new.resize(system.size()); while (state_vector[1] > 0){ TimeStep ++; if (TimeStep % 10000 == 0) cout << "Tiempo: " << TimeStep*delta_time << endl; state_vector = {0,0,0}; #pragma omp parallel for for (int p=0; p<N; p++){ vector<int> index; index.push_back(p); inter[p] = false; /*chequeamos interacciones*/ forn(l,-2,3) forn(m,-2,3){ int i_index = b_condition(floor(system[p].x)+l), j_index = b_condition(floor(system[p].y)+m); if(!box[i_index][j_index].empty()){ for(auto element: box[i_index][j_index]){ if (element !=p && interact(system[p],system[element])){ inter[p] = true; index.push_back(element); } }//for }//if not empty } //for m, l /*fin de chequeo de interacciones*/ system_new[p] = evolution(system, index, inter[p]); state_vector[system_new[p].get_state()]++; }//for p //Animacion: if (animation and TimeStep % anim_step == 0){ forn(p,0,system_new.size()){ anim << system_new[p].x << " "; anim << system_new[p].y << " "; anim << TimeStep*delta_time << " "; anim << system_new[p].get_state() << endl; } }//if animacion /*Estabilzamos el set*/ for(int p=0; p<N; p++){ int i_new = floor(system_new[p].x), j_new = floor(system_new[p].y); int i_old = floor(system[p].x), j_old = floor(system[p].y); if (box[i_new][j_new].find(p) == box[i_new][j_new].end()){ box[i_old][j_old].erase(p); box[i_new][j_new].insert(p); }//if }//cirra el for p set. system = system_new; }//while /*ESCRITURA DE RESULTADOS*/ cout << endl; cout << "--------------------" << endl; cout << "Experimento data:" << endl; cout << "--------------------" << endl; print_state(state_vector); cout << endl; int stop_s = clock(); cout << "Time[min]: " << (((stop_s-start_s)/double(CLOCKS_PER_SEC)*1000)/1000)/60 << endl; //Cerramos los archivos: FinalState.close(); epidemic.close(); anim.close(); imax.close(); mips.close(); topology.close(); return 0; }
[ "benjaminmarcolongo@gmail.com" ]
benjaminmarcolongo@gmail.com
24a42d63dcd044b2d689a78824b2e66003619641
0dfe66a94bc952fe0eb3eac5a201b74f356191b1
/src/watchvarctl.cpp
7c914c1518e7ab5cb03d36adbb37729ad6178e83
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hermixy/gede
77ab8d2025e0f8e9cde07abbea986c6ec49ddc4f
7ec95b4a2277de3803bb961032382f31ac9e94f3
refs/heads/master
2020-04-18T07:59:41.035802
2016-08-08T09:27:57
2016-08-08T09:27:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,544
cpp
/* * Copyright (C) 2014-2015 Johan Henriksson. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include "watchvarctl.h" #include "log.h" #include "util.h" #include "core.h" WatchVarCtl::WatchVarCtl() { } void WatchVarCtl::setWidget(QTreeWidget *varWidget) { m_varWidget = varWidget; // m_varWidget->setColumnCount(3); m_varWidget->setColumnWidth(0, 120); QStringList names; names += "Name"; names += "Value"; names += "Type"; m_varWidget->setHeaderLabels(names); connect(m_varWidget, SIGNAL(itemChanged(QTreeWidgetItem * ,int)), this, SLOT(onWatchWidgetCurrentItemChanged(QTreeWidgetItem * ,int))); connect(m_varWidget, SIGNAL(itemDoubleClicked( QTreeWidgetItem * , int )), this, SLOT(onWatchWidgetItemDoubleClicked(QTreeWidgetItem *, int ))); connect(m_varWidget, SIGNAL(itemExpanded( QTreeWidgetItem * )), this, SLOT(onWatchWidgetItemExpanded(QTreeWidgetItem * ))); connect(m_varWidget, SIGNAL(itemCollapsed( QTreeWidgetItem *)), this, SLOT(onWatchWidgetItemCollapsed(QTreeWidgetItem *))); fillInVars(); } void WatchVarCtl::ICore_onWatchVarChildAdded(QString watchId, QString name, QString valueString, QString varType, bool hasChildren) { QTreeWidget *varWidget = m_varWidget; QStringList names; Q_UNUSED(name); // QTreeWidgetItem * rootItem = varWidget->invisibleRootItem(); QStringList watchIdParts = watchId.split('.'); QString thisWatchId; for(int partIdx = 0; partIdx < watchIdParts.size();partIdx++) { // Get the watchid to look for if(thisWatchId != "") thisWatchId += "."; thisWatchId += watchIdParts[partIdx]; // Look for the item with the specified watchId QTreeWidgetItem* foundItem = NULL; for(int i = 0;foundItem == NULL && i < rootItem->childCount();i++) { QTreeWidgetItem* item = rootItem->child(i); QString itemKey = item->data(0, Qt::UserRole).toString(); if(thisWatchId == itemKey) { foundItem = item; } } // Did not find one QTreeWidgetItem *item; if(foundItem == NULL) { debugMsg("Adding %s=%s", stringToCStr(name), stringToCStr(valueString)); // Create the item QStringList nameList; nameList += name; nameList += valueString; nameList += varType; item = new QTreeWidgetItem(nameList); item->setData(0, Qt::UserRole, thisWatchId); item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable); rootItem->addChild(item); rootItem = item; if(hasChildren) rootItem->setChildIndicatorPolicy(QTreeWidgetItem::ShowIndicator); } else { item = foundItem; rootItem = foundItem; } // The last part of the id? if(partIdx+1 == watchIdParts.size()) { // Update the text if(m_watchVarDispInfo.contains(thisWatchId)) { VarCtl::DispInfo &dispInfo = m_watchVarDispInfo[thisWatchId]; dispInfo.orgValue = valueString; VarCtl::DispFormat orgFormat = VarCtl::findVarType(valueString); dispInfo.orgFormat = orgFormat; // Update the variable value if(orgFormat == VarCtl::DISP_DEC) { valueString = VarCtl::valueDisplay(valueString.toLongLong(0,0), dispInfo.dispFormat); } } if(item->childCount() != 0) { if(!hasChildren) item->setDisabled(true); else item->setDisabled(false); } item->setText(1, valueString); } } } void WatchVarCtl::onWatchWidgetCurrentItemChanged( QTreeWidgetItem * current, int column ) { QTreeWidget *varWidget = m_varWidget; Core &core = Core::getInstance(); QString oldKey = current->data(0, Qt::UserRole).toString(); QString oldName = oldKey == "" ? "" : core.gdbGetVarWatchName(oldKey); QString newName = current->text(0); if(column != 0) return; if(oldKey != "" && oldName == newName) return; debugMsg("oldKey:'%s' oldName:'%s' newName:'%s' ", stringToCStr(oldKey), stringToCStr(oldName), stringToCStr(newName)); if(newName == "...") newName = ""; if(oldName == "...") oldName = ""; // Nothing to do? if(oldName == "" && newName == "") { current->setText(0, "..."); current->setText(1, ""); current->setText(2, ""); } // Remove a variable? else if(newName.isEmpty()) { QTreeWidgetItem *rootItem = varWidget->invisibleRootItem(); rootItem->removeChild(current); core.gdbRemoveVarWatch(oldKey); m_watchVarDispInfo.remove(oldKey); } // Add a new variable? else if(oldName == "") { //debugMsg("%s", stringToCStr(current->text(0))); QString value; QString watchId; QString varType; bool hasChildren = false; if(core.gdbAddVarWatch(newName, &varType, &value, &watchId, &hasChildren) == 0) { if(hasChildren) current->setChildIndicatorPolicy(QTreeWidgetItem::ShowIndicator); current->setData(0, Qt::UserRole, watchId); current->setText(1, value); current->setText(2, varType); VarCtl::DispInfo dispInfo; dispInfo.orgValue = value; dispInfo.orgFormat = VarCtl::findVarType(value); dispInfo.dispFormat = dispInfo.orgFormat; m_watchVarDispInfo[watchId] = dispInfo; // Create a new dummy item QTreeWidgetItem *item; QStringList names; names += "..."; item = new QTreeWidgetItem(names); item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable); varWidget->addTopLevelItem(item); } else { current->setText(0, "..."); current->setText(1, ""); current->setText(2, ""); } } // Change a existing variable? else { //debugMsg("'%s' -> %s", stringToCStr(current->text(0)), stringToCStr(current->text(0))); // Remove any children while(current->childCount()) { QTreeWidgetItem *childItem = current->takeChild(0); delete childItem; } // Remove old watch core.gdbRemoveVarWatch(oldKey); m_watchVarDispInfo.remove(oldKey); QString value; QString watchId; QString varType; bool hasChildren = false; if(core.gdbAddVarWatch(newName, &varType, &value, &watchId, &hasChildren) == 0) { current->setData(0, Qt::UserRole, watchId); current->setText(1, value); current->setText(2, varType); if(hasChildren) { current->setChildIndicatorPolicy(QTreeWidgetItem::ShowIndicator); } core.gdbExpandVarWatchChildren(watchId); // Add display information VarCtl::DispInfo dispInfo; dispInfo.orgValue = value; dispInfo.orgFormat = VarCtl::findVarType(value); dispInfo.dispFormat = dispInfo.orgFormat; m_watchVarDispInfo[watchId] = dispInfo; } else { QTreeWidgetItem *rootItem = varWidget->invisibleRootItem(); rootItem->removeChild(current); } } } void WatchVarCtl::onWatchWidgetItemExpanded(QTreeWidgetItem *item ) { Core &core = Core::getInstance(); //QTreeWidget *varWidget = m_varWidget; // Get watchid of the item QString watchId = item->data(0, Qt::UserRole).toString(); // Get the children core.gdbExpandVarWatchChildren(watchId); } void WatchVarCtl::onWatchWidgetItemCollapsed(QTreeWidgetItem *item) { Q_UNUSED(item); } void WatchVarCtl::onWatchWidgetItemDoubleClicked(QTreeWidgetItem *item, int column) { QTreeWidget *varWidget = m_varWidget; if(column == 0) varWidget->editItem(item,column); else if(column == 1) { QString varName = item->text(0); QString watchId = item->data(0, Qt::UserRole).toString(); if(m_watchVarDispInfo.contains(watchId)) { VarCtl::DispInfo &dispInfo = m_watchVarDispInfo[watchId]; if(dispInfo.orgFormat == VarCtl::DISP_DEC) { long long val = dispInfo.orgValue.toLongLong(0,0); if(dispInfo.dispFormat == VarCtl::DISP_DEC) { dispInfo.dispFormat = VarCtl::DISP_HEX; } else if(dispInfo.dispFormat == VarCtl::DISP_HEX) { dispInfo.dispFormat = VarCtl::DISP_BIN; } else if(dispInfo.dispFormat == VarCtl::DISP_BIN) { dispInfo.dispFormat = VarCtl::DISP_CHAR; } else if(dispInfo.dispFormat == VarCtl::DISP_CHAR) { dispInfo.dispFormat = VarCtl::DISP_DEC; } QString valueText = VarCtl::valueDisplay(val, dispInfo.dispFormat); item->setText(1, valueText); } } } } void WatchVarCtl::fillInVars() { QTreeWidget *varWidget = m_varWidget; QTreeWidgetItem *item; QStringList names; varWidget->clear(); names.clear(); names += "..."; item = new QTreeWidgetItem(names); item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable); varWidget->insertTopLevelItem(0, item); } /** * @brief Adds a new watch item * @param varName The expression to add as a watch. */ void WatchVarCtl::addNewWatch(QString varName) { // Add the new variable to the watch list QTreeWidgetItem* rootItem = m_varWidget->invisibleRootItem(); QTreeWidgetItem* lastItem = rootItem->child(rootItem->childCount()-1); lastItem->setText(0, varName); } void WatchVarCtl::deleteSelected() { QTreeWidgetItem *rootItem = m_varWidget->invisibleRootItem(); QList<QTreeWidgetItem *> items = m_varWidget->selectedItems(); // Get the root item for each item in the list for(int i =0;i < items.size();i++) { QTreeWidgetItem *item = items[i]; while(item->parent() != NULL) { item = item->parent(); } items[i] = item; } // Loop through the items QSet<QTreeWidgetItem *> itemSet = items.toSet(); QSet<QTreeWidgetItem *>::const_iterator setItr = itemSet.constBegin(); for (;setItr != itemSet.constEnd();++setItr) { QTreeWidgetItem *item = *setItr; // Delete the item Core &core = Core::getInstance(); QString watchId = item->data(0, Qt::UserRole).toString(); if(watchId != "") { rootItem->removeChild(item); core.gdbRemoveVarWatch(watchId); } } }
[ "guotao945@gmail.com" ]
guotao945@gmail.com
af5f2e40839f44e7ef75d6a5b2911db24e31c4f8
4fe62678f69f7347f14d875a5682d9e63b27f2ef
/Source/my_qtoolbar.cpp
ec451865c3bbe6333891f5b5aeb6a463a77df7df
[]
no_license
mahan201/Encryption-Program-Desktop
9979f4c593250c3e5257398814f1e5813860a741
f39fd2b86a10e62f80c46458f33b10e6d760b87a
refs/heads/master
2022-05-12T16:50:12.924495
2022-04-15T08:58:52
2022-04-15T08:58:52
207,535,741
0
0
null
2019-09-10T13:21:26
2019-09-10T11:00:33
C++
UTF-8
C++
false
false
456
cpp
#include "my_qtoolbar.h" my_qtoolbar::my_qtoolbar(QWidget *parent) : QToolBar(parent) { } void my_qtoolbar::mouseMoveEvent(QMouseEvent *ev) { if (isMoving) { QPoint diff = ev->pos() - pressPos; window()->move(window()->pos()+diff); } } void my_qtoolbar::mousePressEvent(QMouseEvent *ev) { pressPos = ev->pos(); isMoving = true; } void my_qtoolbar::mouseReleaseEvent(QMouseEvent *ev) { isMoving = false; }
[ "m2.noorbahr@gmail.com" ]
m2.noorbahr@gmail.com
3b2b13afe64578f97896a9851a5dc34e9ab1e06d
76d397471eabd78403713ca6ad1ab09fb1f389df
/RS_Overpoch.Chernarus/dayz_code/configs/Category/Hero.hpp
8768af19b9a3b31b4fc848be5b82c0e4b7e565e6
[]
no_license
TheRealSnowbell/RS_Overpoch
d093c17d62a3bc9545cb22339cf537ca061f8962
b276afc6e878c508fe26cb89be862ba0a82d941b
refs/heads/master
2020-09-14T20:55:43.837406
2017-06-15T19:34:11
2017-06-15T19:34:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,252
hpp
class Category_7100 { class 30Rnd_556x45_StanagSD { type = "trade_items"; buy[] ={300,"Coins"}; sell[] ={150,"Coins"}; }; class 5Rnd_86x70_L115A1 { type = "trade_items"; buy[] ={600,"Coins"}; sell[] ={300,"Coins"}; }; class 100Rnd_762x51_M240 { type = "trade_items"; buy[] ={900,"Coins"}; sell[] ={600,"Coins"}; }; class 20Rnd_762x51_FNFAL { type = "trade_items"; buy[] ={300,"Coins"}; sell[] ={180,"Coins"}; }; class 20Rnd_762x51_SB_SCAR { type = "trade_items"; buy[] ={900,"Coins"}; sell[] ={600,"Coins"}; }; }; class Category_7200 { class G36_C_SD_camo { type = "trade_weapons"; buy[] ={11000,"Coins"}; sell[] ={9000,"Coins"}; }; class M4A1_AIM_SD_camo { type = "trade_weapons"; buy[] ={10000,"Coins"}; sell[] ={8000,"Coins"}; }; class FN_FAL_ANPVS4_DZE { type = "trade_weapons"; buy[] ={11000,"Coins"}; sell[] ={9000,"Coins"}; }; class SCAR_H_LNG_Sniper_SD { type = "trade_weapons"; buy[] ={12000,"Coins"}; sell[] ={10000,"Coins"}; }; class BAF_LRR_scoped { type = "trade_weapons"; buy[] ={25000,"Coins"}; sell[] ={15000,"Coins"}; }; class FNFAL_DZ { type = "trade_weapons"; buy[] ={11000,"Coins"}; sell[] ={9000,"Coins"}; }; class Mk48_CCO_DZ { type = "trade_weapons"; buy[] ={14000,"Coins"}; sell[] ={11000,"Coins"}; }; class M240_DZ { type = "trade_weapons"; buy[] ={13000,"Coins"}; sell[] ={11000,"Coins"}; }; }; class Category_7300 { class Skin_CZ_Special_Forces_GL_DES_EP1_DZ { type = "trade_items"; buy[] ={2000,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_Drake_Light_DZ { type = "trade_items"; buy[] ={2000,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_Soldier_Sniper_PMC_DZ { type = "trade_items"; buy[] ={2000,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_FR_OHara_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_FR_Rodriguez_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_CZ_Soldier_Sniper_EP1_DZ { type = "trade_items"; buy[] ={2500,"Coins"}; sell[] ={1200,"Coins"}; }; class Skin_Graves_Light_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_Soldier_Bodyguard_AA12_PMC_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_Camo1_DZ { type = "trade_items"; buy[] ={2000,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_Rocket_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_Sniper1_DZ { type = "trade_items"; buy[] ={2500,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_Soldier1_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_Soldier_TL_PMC_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; class Skin_TK_Soldier_Sniper_EP1_DZ { type = "trade_items"; buy[] ={2500,"Coins"}; sell[] ={1000,"Coins"}; }; class Skin_RU_Soldier_Crew_DZ { type = "trade_items"; buy[] ={1800,"Coins"}; sell[] ={900,"Coins"}; }; };
[ "darrianjcairns@hotmail.com" ]
darrianjcairns@hotmail.com
78f0842761f93940d7fcf0f4298dba6487e4c365
52b0532c2313dc20d5321e73ed2489eb06f2d65f
/src/modell/objects/MQuadratw.cpp
09beab33460b10d4816f2b35d32acd5f9d507702
[ "Apache-2.0" ]
permissive
hemmerling/cpp-3dogs
9c2a8c9830d7997551d31dcc9e1a567cb7f4300c
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
refs/heads/master
2021-01-23T17:18:47.948266
2015-05-03T07:57:10
2015-05-03T07:57:10
33,114,837
0
0
null
null
null
null
UTF-8
C++
false
false
328
cpp
#include "mquadratw.h" MQuadratW::MQuadratW(void) { // Basisklassen-Variablen werden vom Basisklassen-Konstruktor initialisiert getColor().setR(1.0); getColor().setG(1.0); getColor().setB(1.0); } MQuadratW::~MQuadratW(void){} void MQuadratW::display(OpenGL &aOpenGL){ ZRectangle::display(aOpenGL); }
[ "hemmerling@gmx.net" ]
hemmerling@gmx.net
0d96def5563ba7ca857642a5bfb2353481cec1ee
efa803335339c15490c69001ced4793abb9e2792
/StrategoDEF/stratego/stratego/src/game/model/stratego_engine/SpyToken.h
103857ae3cb8fa119ac1142cddedfed2e042ac0b
[]
no_license
jmestanza/TPF_Stratego
80a78b149a9d19765d40c92c589874514d9172f4
ba6ae0df195f83ce03b2f835bbae188d8bed024a
refs/heads/master
2021-05-08T11:42:08.891385
2018-07-04T17:57:58
2018-07-04T17:57:58
119,906,966
0
0
null
2018-02-01T23:38:25
2018-02-01T23:38:25
null
UTF-8
C++
false
false
335
h
#pragma once #include "BasicToken.h" class SpyToken : public BasicToken { public: SpyToken(PlayerType owner); bool validate_movement(PosType src_pos,PosType dst_pos); /// Valida el movimiento a realizar solo por su trayectoria AttackResult attack(RangeType enemy_range); /// Retorna {-1 Perdio, 0 Empate, 1 Gano} ~SpyToken(); };
[ "newtonis.penguin@gmail.com" ]
newtonis.penguin@gmail.com
d4ea8736b65814e789a34f563249043cb6bb32cc
e13c45c027e523f5f7e996a46335cf9c295d55e1
/include/pdfixsdksamples/RegexSetPattern.h
e06f84d96e191b4687c4e66343e3a7f94d3411b3
[]
no_license
frankiert/pdfix_sdk_example_cpp
b21d6a832a5308765848a3dcc1a70c1a867850ef
309e1d798c2b8ed84bc14d17a9134d49371a624c
refs/heads/master
2023-07-28T00:48:26.009591
2021-09-15T07:59:09
2021-09-15T07:59:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
209
h
#pragma once #include <string> // Finds a first occurence of the pattern in an input text. void RegexSetPattern( const std::wstring& text // text where to search the pattern );
[ "molnarkarol@gmail.com" ]
molnarkarol@gmail.com
62d1b0c291aa8fcf7d608e124a71001c7150a8f1
3b19128dc228501860e3d6019681c5c374631ca5
/GetNE.h
4a95d2bc924958db3c2786d3172a9a911f306324
[]
no_license
a-ouchakov/DesignerOrders
e4a37f7b66431e22e58dd2af360b523f27f32aae
d4e37fb060db2eff153d1cfbebba2ab70d0ac504
refs/heads/master
2020-04-05T23:18:04.361183
2014-10-22T07:28:27
2014-10-22T07:28:27
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
5,433
h
//--------------------------------------------------------------------------- #ifndef GetNEH #define GetNEH //--------------------------------------------------------------------------- #include <System.Classes.hpp> #include <Vcl.Controls.hpp> #include <Vcl.StdCtrls.hpp> #include <Vcl.Forms.hpp> #include "cxClasses.hpp" #include "cxControls.hpp" #include "cxCurrencyEdit.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDBData.hpp" #include "cxEdit.hpp" #include "cxFilter.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridBandedTableView.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridDBBandedTableView.hpp" #include "cxGridDBTableView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxStyles.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinsDefaultPainters.hpp" #include "RzButton.hpp" #include "RzPanel.hpp" #include <Data.Win.ADODB.hpp> #include <DB.hpp> #include <Vcl.ExtCtrls.hpp> #include <Vcl.ImgList.hpp> #include "cxButtonEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinCaramel.hpp" #include "dxSkinCoffee.hpp" #include "dxSkinDarkRoom.hpp" #include "dxSkinDarkSide.hpp" #include "dxSkinFoggy.hpp" #include "dxSkinGlassOceans.hpp" #include "dxSkiniMaginary.hpp" #include "dxSkinLilian.hpp" #include "dxSkinLiquidSky.hpp" #include "dxSkinLondonLiquidSky.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinMoneyTwins.hpp" #include "dxSkinOffice2007Black.hpp" #include "dxSkinOffice2007Blue.hpp" #include "dxSkinOffice2007Green.hpp" #include "dxSkinOffice2007Pink.hpp" #include "dxSkinOffice2007Silver.hpp" #include "dxSkinOffice2010Black.hpp" #include "dxSkinOffice2010Blue.hpp" #include "dxSkinOffice2010Silver.hpp" #include "dxSkinPumpkin.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinSpringTime.hpp" #include "dxSkinStardust.hpp" #include "dxSkinSummer2008.hpp" #include "dxSkinValentine.hpp" #include "dxSkinXmas2008Blue.hpp" #include "dxSkinBlueprint.hpp" #include "dxSkinDevExpressDarkStyle.hpp" #include "dxSkinDevExpressStyle.hpp" #include "dxSkinHighContrast.hpp" #include "dxSkinSevenClassic.hpp" #include "dxSkinSharpPlus.hpp" #include "dxSkinTheAsphaltWorld.hpp" #include "dxSkinVS2010.hpp" #include "dxSkinWhiteprint.hpp" //--------------------------------------------------------------------------- class TFrGetNE : public TForm { __published: // IDE-managed Components TImageList *ImageList1; TRzPanel *RzPanel1; TRzToolButton *btInsRasp; TRzSpacer *RzSpacer5; TRzToolButton *btClose; TRzSpacer *RzSpacer6; TcxGrid *cxGridEmplUser; TcxGridDBColumn *cxGridDBColumn1; TcxGridDBColumn *cxGridDBColumn2; TcxGridDBColumn *cxGridDBColumn3; TcxGridDBColumn *cxGridDBColumn4; TcxGridDBColumn *cxGridDBColumn5; TcxGridDBColumn *cxGridDBColumn6; TcxGridDBColumn *cxGridDBColumn7; TcxGridDBColumn *cxGridDBColumn8; TcxGridDBBandedTableView *cxGridTableViewEmplUser; TcxGridLevel *cxGridLevel1; TRzPanel *RzPanel2; TRzSpacer *RzSpacer72; TRzToolButton *btPost; TRzSpacer *RzSpacer48; TRzToolButton *btAdd; TRzSpacer *RzSpacer49; TRzToolButton *btDel; TRzSpacer *RzSpacer71; TRzToolButton *btRefresh; TRzSpacer *RzSpacer75; TDataSource *DSNE; TADOQuery *QNE; TAutoIncField *QNEIdn; TIntegerField *QNEPIdn; TIntegerField *QNEidRasp; TIntegerField *QNEidAdvProduceClass; TStringField *QNENameRaspDetail; TIntegerField *QNENumbNE; TIntegerField *QNEYear; TIntegerField *QNEfAdv; TIntegerField *QNEfType; TIntegerField *QNEIdIns; TStringField *QNENameRaspDetail_1; TIntegerField *QNENumbNE_1; TIntegerField *QNEYear_1; TIntegerField *QNEfAdv_1; TcxGridDBBandedColumn *cxGridTableViewEmplUserIdn; TcxGridDBBandedColumn *cxGridTableViewEmplUserPIdn; TcxGridDBBandedColumn *cxGridTableViewEmplUseridRasp; TcxGridDBBandedColumn *cxGridTableViewEmplUseridAdvProduceClass; TcxGridDBBandedColumn *cxGridTableViewEmplUserNameRaspDetail; TcxGridDBBandedColumn *cxGridTableViewEmplUserNumbNE; TcxGridDBBandedColumn *cxGridTableViewEmplUserYear; TcxGridDBBandedColumn *cxGridTableViewEmplUserfType; TcxGridDBBandedColumn *cxGridTableViewEmplUserIdIns; TcxGridDBBandedColumn *cxGridTableViewEmplUserNameRaspDetail_1; TcxGridDBBandedColumn *cxGridTableViewEmplUserNumbNE_1; TcxGridDBBandedColumn *cxGridTableViewEmplUserYear_1; TcxGridDBBandedColumn *cxGridTableViewEmplUserColumn1; TADOQuery *Qw; void __fastcall btRefreshClick(TObject *Sender); void __fastcall FormActivate(TObject *Sender); void __fastcall btCloseClick(TObject *Sender); void __fastcall btInsRaspClick(TObject *Sender); void __fastcall cxGridTableViewEmplUserColumn1PropertiesButtonClick(TObject *Sender, int AButtonIndex); void __fastcall btDelClick(TObject *Sender); private: // User declarations AnsiString vsSQLQw; public: // User declarations int viIdnDetail; //Êîä èçìåíÿåìîãî ÏÈ int viIdnProduce;//Idn ïðîäóêòà ÏÈ. int viSrc; //Êîä Þð.Ëèöà(ÇÀÎ,ÍÎÓ) Currency vcNDS; //ÍÄÑ __fastcall TFrGetNE(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TFrGetNE *FrGetNE; //--------------------------------------------------------------------------- #endif
[ "aushakov@mcrf.ru" ]
aushakov@mcrf.ru
595838ac0d6fc461536cb52650b64d781e10b58c
65a62538c69f356dfcfb39f865d9bef5d096631b
/C++/Udemy/ModernC++/Section 04/Move Semantics Impl/Copy Ctor - Complete/Copy Ctor/Integer.cpp
1a608ea23d5b5cd5a1cc0e78bd1e14aa764807f1
[ "MIT" ]
permissive
Youngermaster/Learning-Programming-Languages
7ff68bebd95702bf098c5658041e76a73d88245e
b4db67c10bda19cb589a50d79d642d89a20955d5
refs/heads/master
2023-09-01T02:24:15.373581
2023-08-20T15:19:56
2023-08-20T15:19:56
168,592,706
2
0
MIT
2023-09-14T20:16:55
2019-01-31T20:37:35
JavaScript
UTF-8
C++
false
false
682
cpp
#include "Integer.h" #include <iostream> Integer::Integer() { std::cout << "Integer()" << std::endl; m_pInt = new int(0); } Integer::Integer(int value) { std::cout << "Integer(int)" << std::endl; m_pInt = new int(value); } Integer::Integer(const Integer & obj) { std::cout << "Integer(const Integer&)" << std::endl; m_pInt = new int(*obj.m_pInt); } Integer::Integer(Integer && obj) { std::cout << "Integer(int&&)" << std::endl; m_pInt = obj.m_pInt; obj.m_pInt = nullptr; } int Integer::GetValue() const { return *m_pInt; } void Integer::SetValue(int value) { *m_pInt = value; } Integer::~Integer() { std::cout << "~Integer()" << std::endl; delete m_pInt; }
[ "juanmanuel12.13jmyh81@gmail.com" ]
juanmanuel12.13jmyh81@gmail.com
84b05d742d995a118c15af934a96b318ba50dc64
199d8b47095b2bd5b86f2425fa1e4ad6457232fd
/src/cc/libkfsClient/LeaseClerk.h
3d0f22271fe9ac82eb9b60afa9b6362725bba4dc
[ "Apache-2.0" ]
permissive
rapoth/kosmosfs
d8fd069dbcdaf17f209d39c020508d2130ea047d
ff3240ef4d4882fe4ebe3bd8d6293ee6d05da009
refs/heads/master
2020-12-24T14:01:05.770969
2011-12-16T18:48:55
2011-12-16T18:48:55
32,715,452
0
2
null
null
null
null
UTF-8
C++
false
false
2,605
h
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2006/10/12 // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // 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. // // // \brief A lease clerk interacts with the metaserver for renewing // read leases. //---------------------------------------------------------------------------- #ifndef LIBKFSCLIENT_LEASECLERK_H #define LIBKFSCLIENT_LEASECLERK_H #include "common/kfstypes.h" #include "common/cxxutil.h" #include <tr1/unordered_map> #include <time.h> namespace KFS { struct LeaseInfo_t { int64_t leaseId; time_t expires; time_t renewTime; }; // mapping from a chunk id to its lease typedef std::tr1::unordered_map <kfsChunkId_t, LeaseInfo_t> LeaseMap; typedef std::tr1::unordered_map <kfsChunkId_t, LeaseInfo_t>::iterator LeaseMapIter; class LeaseClerk { public: /// Before the lease expires at the server, we submit we a renew /// request, so that the lease remains valid. So, back-off a few /// secs before the leases and submit the renew static const int LEASE_RENEW_INTERVAL_SECS = KFS::LEASE_INTERVAL_SECS - 30; LeaseClerk() { }; ~LeaseClerk(){ }; /// Register a lease with the clerk. /// @param[in] chunkId The chunk associated with the lease. /// @param[in] leaseId The lease id to be registered with the clerk void RegisterLease(kfsChunkId_t chunkId, int64_t leaseId); void UnRegisterLease(kfsChunkId_t chunkId); /// Check if lease is still valid. /// @param[in] chunkId The chunk whose lease we are checking for validity. bool IsLeaseValid(kfsChunkId_t chunkId); bool ShouldRenewLease(kfsChunkId_t chunkId); /// Get the leaseId for a chunk. int GetLeaseId(kfsChunkId_t chunkId, int64_t &leaseId); void LeaseRenewed(kfsChunkId_t chunkId); void LeaseRelinquished(kfsChunkId_t chunkId); private: /// All the leases registered with the clerk LeaseMap mLeases; }; } #endif // LIBKFSCLIENT_LEASECLERK_H
[ "sriramsrao@8bf026d7-4dfc-6da9-1e29-2836fb35e766" ]
sriramsrao@8bf026d7-4dfc-6da9-1e29-2836fb35e766
e25bc5279fb370ff347ad1deb7e2f8ca6aa586eb
516283953f086ee529e0fb0d917f7396e17d4d81
/include/ice/ice_library_manager.h
39230c68d3635c2e59d1c4975c5d0901bb958f92
[ "MIT" ]
permissive
ethanfurman/python_ics
1df07ec2c1ff5db74bcd0a8b99d3ae6c2220c7c8
7bfa8c2f893763608f9255f9536a2019cfae0c23
refs/heads/master
2023-07-16T13:46:34.206263
2021-08-24T14:31:49
2021-08-24T14:32:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
654
h
#ifndef __ICE_LIBRARY_MANAGER_H__ #define __ICE_LIBRARY_MANAGER_H__ #include "ice_library.h" #include <map> #include <string> #include <vector> namespace ice { class LibraryManager; }; class ice::LibraryManager { public: LibraryManager(); ~LibraryManager(); void add(std::string name, std::string path); void remove(std::string name); void remove(ice::Library& library); std::vector<std::string> getLibraryNames() const; ice::Library& operator[](std::string name); private: typedef std::map<std::string, ice::Library*> Libraries; Libraries m_libs; }; #endif // __ICE_LIBRARY_MANAGER_H__
[ "drebbe@intrepidcs.com" ]
drebbe@intrepidcs.com
4755aa8bb4a64cc371a0da5707ffd7bddf518ea6
52010c5e711082820d9db1389c2e4b21f584e875
/include/constants.hpp
d0d540199933750b79065d32af524d04405a8696
[]
no_license
MaximeB5/Blackjack
3d300fc3000567ca10f3030a81d678175f10e981
78caaa75cf697fb94504be8eb9d1aee483e864d2
refs/heads/main
2023-04-02T04:21:30.833242
2021-04-18T09:19:59
2021-04-18T09:19:59
306,268,826
0
1
null
null
null
null
UTF-8
C++
false
false
10,979
hpp
#ifndef CONSTANTS_H #define CONSTANTS_H // Includes #include <string> #include <vector> #include <map> /** * @brief Constants.hpp file * It contains all constants used in the project Blackjack, such as the index of the enum classes. * */ // Card Color constexpr int CARD_COLOR_MIN = 0; constexpr int CARD_COLOR_MAX = 1; // Card Value constexpr int CARD_VALUE_MIN = 1; constexpr int CARD_VALUE_MAX = 13; constexpr unsigned int CARD_VALUE_AS_MIN = 1; constexpr unsigned int CARD_VALUE_AS_MAX = 11; constexpr int CARD_VALUE_TEN = 10; // Card Symbol constexpr int CARD_SYMBOL_MIN = 0; constexpr int CARD_SYMBOL_MAX = 3; constexpr int CARD_SYMBOL_RED_MIN = 0; constexpr int CARD_SYMBOL_RED_MAX = 1; constexpr int CARD_SYMBOL_BLACK_MIN = 2; constexpr int CARD_SYMBOL_BLACK_MAX = 3; // Deck constexpr unsigned int NUMBER_OF_CARDS_DEFAULT_DECK = 52; // Game Entities - Deck constexpr unsigned int NUMBER_OF_CARDS_AT_START = 2; // The Blackjack game itself - General data constexpr unsigned int NUMBER_OF_PLAYERS_MAX = 4; constexpr unsigned int NUMBER_OF_PLAYERS_MIN = 1; constexpr unsigned int NUMBER_OF_LANGUAGES_SUPPORTED = 2; constexpr unsigned int CASINO_DEALER_HAND_VALUE_LIMIT = 17; constexpr unsigned int MAX_VALUE_TO_WIN = 21; constexpr unsigned int BLACKJACK_ACE_VALUE = 50; // in theory, it's 21, but I set it at 50 so there is no ambiguity it was a BJ and not a combination leading to 21 const std::string YES = "Y"; // The Blackjack game itself - Map keys const std::string KEY_REMOVE_PLAYERS = "KEY_REMOVE_PLAYERS"; const std::string KEY_ADD_PLAYERS = "KEY_ADD_PLAYERS"; const std::string KEY_ASK_TO_CHANGE_GAME_MODE = "KEY_ASK_TO_CHANGE_GAME_MODE"; const std::string KEY_GAME_MODES_ARE = "KEY_GAME_MODES_ARE"; const std::string KEY_INPUT_GAME_MODE = "KEY_INPUT_GAME_MODE"; const std::string KEY_QUESTION_TITLE = "KEY_QUESTION_TITLE"; const std::string KEY_QUESTION_END_TURN = "KEY_QUESTION_END_TURN"; const std::string KEY_QUESTION_LEAVE_GAME = "KEY_QUESTION_LEAVE_GAME"; const std::string KEY_QUESTION_SKIP_THIS_TURN = "KEY_QUESTION_SKIP_THIS_TURN"; // This sentence begins with "Would you [...] const std::string KEY_QUESTION_SKIP_THIS_TURN_P = "KEY_QUESTION_SKIP_THIS_TURN_P"; // This sentence begins with "would you [...]" -> insert player tag before it const std::string KEY_QUESTION_SKIP_NEXT_TURN = "KEY_QUESTION_SKIP_NEXT_TURN"; const std::string KEY_QUESTION_MAINTAIN_BET = "KEY_QUESTION_MAINTAIN_BET"; const std::string KEY_INPUT_TITLE = "KEY_INPUT_TITLE"; const std::string KEY_INPUT_NAME = "KEY_INPUT_NAME"; const std::string KEY_INPUT_COINS = "KEY_INPUT_COINS"; const std::string KEY_INPUT_BET = "KEY_INPUT_BET"; const std::string KEY_PLAYERS_INGAME = "KEY_PLAYERS_INGAME"; const std::string KEY_INPUT_PLAYERS_INDEX = "KEY_INPUT_PLAYERS_INDEX"; const std::string KEY_INVALID_INPUT = "KEY_INVALID_INPUT"; const std::string KEY_RETRY = "KEY_RETRY"; const std::string KEY_INFO_PLAYERHAND_CARDS = "KEY_INFO_PLAYERHAND_CARDS"; const std::string KEY_INFO_PLAYERHAND_VALUE = "KEY_INFO_PLAYERHAND_VALUE"; const std::string KEY_INFO_BLACKJACK = "KEY_INFO_BLACKJACK"; const std::string KEY_INFO_BET = "KEY_INFO_BET"; const std::string KEY_INFO_COINS_AFTER_CHANGE = "KEY_INFO_COINS_AFTER_CHANGE"; const std::string KEY_INFO_WALLET = "KEY_INFO_WALLET"; const std::string KEY_INFO_COINS = "KEY_INFO_COINS"; const std::string KEY_INFO_QUIT_GAME = "KEY_INFO_QUIT_GAME"; const std::string KEY_RESULT_PLAYER_VALUE = "KEY_RESULT_PLAYER_VALUE"; const std::string KEY_RESULT_CASINO_DEALER_VALUE= "KEY_RESULT_CASINO_DEALER_VALUE"; const std::string KEY_RESULT_WIN = "KEY_RESULT_WIN"; const std::string KEY_RESULT_DEFEAT = "KEY_RESULT_DEFEAT"; // Game Modes - codes for the program inputs const std::vector<std::string> GAME_MODES {"DD, JC"}; // The Blackjack game itself - Sentences from the Game to the UI const std::vector<std::string> LANGUAGES {"FR", "EN"}; const std::map<std::string, const std::vector<std::string> > SENTENCES { { KEY_REMOVE_PLAYERS, {"Voulez-vous retirer des joueurs de la partie ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to remove players from the game ? If yes, press the Y key, otherwise press any key"} }, { KEY_ADD_PLAYERS, {"Voulez-vous ajouter de nouveaux joueurs à la partie ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to add new players to the game ? If yes, press the Y key, otherwise press any key"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_ASK_TO_CHANGE_GAME_MODE, {"Voulez-vous changer de mode de jeu ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to switch the current game mode ? If yes, press the Y key, otherwise press any key"} }, { KEY_GAME_MODES_ARE, {"Les modes de jeu disponibles sont les suivants :", "The available game modes are the following :"} }, { KEY_INPUT_GAME_MODE, {"Veuillez entrer l'un des numéros des modes de jeu disponibles svp. Une saisie invalide entrainera la création du mode par défaut.", "Please enter one of the available game mode numbers. An invalid entry will result in the creation of the default mode."} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_QUESTION_TITLE, {"Avez-vous un titre ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Do you have a title ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_END_TURN, {"Voulez-vous terminer votre tour ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to end your turn ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_LEAVE_GAME, {"Voulez-vous quitter la partie après ce tour ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to leave the game after this turn ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_SKIP_THIS_TURN, {"Voulez-vous passer ce tour ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to skip this turn ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_SKIP_THIS_TURN_P, {"voulez-vous passer ce tour ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "would you like to skip this turn ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_SKIP_NEXT_TURN, {"Voulez-vous passer le prochain tour ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Would you like to skip the next turn ? If yes, press the Y key, otherwise press any key"} }, { KEY_QUESTION_MAINTAIN_BET, {"Voulez-vous garder votre mise actuelle ? Si oui, appuyez sur la touche Y, sinon entrez la mise que vous souhaitez rajouter à votre mise actuelle", "Do you want to keep your current bet ? If yes, press the Y key, otherwise enter the bet that you want to add to your current bet"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_INPUT_TITLE, {"Entrez votre titre", "Enter your title"} }, { KEY_INPUT_NAME, {"Entrez votre nom", "Enter your name"} }, { KEY_INPUT_COINS, {"Entrez le nombre de jetons que vous souhaitez", "Enter the number of coins you would like"} }, { KEY_INPUT_BET, {"Entrez votre mise pour ce tour", "Enter your bet for this turn"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_PLAYERS_INGAME, {"Les joueurs en jeu sont :", "Ingame players are :"} }, { KEY_INPUT_PLAYERS_INDEX, {"Entrez le numero du joueur à retirer de la partie", "Enter the number of the player to be removed from the game"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_INVALID_INPUT, {"Saisie invalide", "Invalid input"} }, { KEY_RETRY, {"Voulez-vous rééssayer ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Do you want to try again ? If yes, press the Y key, otherwise press any key"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_INFO_PLAYERHAND_CARDS, {"vos cartes sont : ", "your cards are : "} }, { KEY_INFO_PLAYERHAND_VALUE, {"la valeur de votre deck est de : ", "the value of your deck is : "} }, { KEY_INFO_BLACKJACK, {"Oh !! C'est un Blackjack !", "Oh !! It's a Blackjack !"} }, { KEY_INFO_BET, {"Votre mise est de ", "Your bet is "} }, { KEY_INFO_COINS_AFTER_CHANGE, {"Vous avez désormais ", "You now have "} }, { KEY_INFO_WALLET, {"Vous avez désormais ", "You now have "} }, { KEY_INFO_COINS, {" jetons.", " coins."} }, { KEY_INFO_QUIT_GAME, {"Voulez-vous quitter l'application ? Si oui, appuyez sur la touche Y, sinon appuyez sur n'importe quelle touche", "Do you want to quit the app ? If yes, press the Y key, otherwise press any key"} }, // ------------------------------------------------------------------------------------------------------------------- // { KEY_RESULT_PLAYER_VALUE, {"la valeur finale de votre main est de : ", "the final value of your hand is : "} }, { KEY_RESULT_CASINO_DEALER_VALUE, {"La main de la Banque est de : ", "The hand's value of the Casino Dealer is : "} }, { KEY_RESULT_WIN, {"Vous avez gagné ! Bien joué !", "You won ! Nice job !"} }, { KEY_RESULT_DEFEAT, {"Vous avez perdu.", "You lost."} } }; #endif // CONSTANTS_H
[ "belavalmax@sfr.fr" ]
belavalmax@sfr.fr
5aa167e2d704a5f873d353bd541e6f1ef985b99b
21fc973aa71b25743db1f917d538ee406725d7ea
/tags/Release_1.1b/crashsender/src/SenderThread.cpp
fe246543b5abae7ed44b1108469b689b6f5cb58d
[ "BSD-3-Clause" ]
permissive
YankoNik/CrashRpt
9089255055530a361a3c6cc2a43800279e66babb
50982546622758c2cd3a6bddfb64ac9df127f036
refs/heads/master
2023-03-15T19:13:36.497965
2014-02-10T10:08:36
2014-02-10T10:08:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,551
cpp
#include "stdafx.h" #include "SenderThread.h" #include "MailMsg.h" #include "smtpclient.h" #include "httpsend.h" #include "CrashRpt.h" int attempt = 0; AssyncNotification an; CEmailMessage msg; CSmtpClient smtp; CHttpSender http; CMailMsg mailmsg; void GetSenderThreadStatus(int& nProgressPct, std::vector<CString>& msg_log) { msg_log.clear(); an.m_cs.Lock(); nProgressPct = an.m_nPercentCompleted; msg_log = an.m_statusLog; an.m_statusLog.clear(); an.m_cs.Unlock(); } void CancelSenderThread() { an.Cancel(); } void FeedbackReady(int code) { an.FeedbackReady(code); } BOOL SendOverHTTP(SenderThreadContext* pc) { if(pc->m_sUrl.IsEmpty()) { an.SetProgress(_T("No URL specified for sending error report over HTTP; skipping."), 0); return FALSE; } BOOL bSend = http.SendAssync(pc->m_sUrl, pc->m_sZipName, &an); return bSend; } BOOL SendOverSMTP(SenderThreadContext* pc) { if(pc->m_sEmailTo.IsEmpty()) { an.SetProgress(_T("No E-mail address is specified for sending error report over SMTP; skipping."), 0); return FALSE; } msg.m_sFrom = (!pc->m_sEmailFrom.IsEmpty())?pc->m_sEmailFrom:pc->m_sEmailTo; msg.m_sTo = pc->m_sEmailTo; msg.m_sSubject = pc->m_sEmailSubject; msg.m_sText = pc->m_sEmailText; msg.m_aAttachments.insert(pc->m_sZipName); int res = smtp.SendEmailAssync(&msg, &an); return (res==0); } BOOL SendOverSMAPI(SenderThreadContext* pc) { if(pc->m_sEmailTo.IsEmpty()) { an.SetProgress(_T("No E-mail address is specified for sending error report over Simple MAPI; skipping."), 0); return FALSE; } an.SetProgress(_T("Sending error report using Simple MAPI"), 0, false); an.SetProgress(_T("Initializing MAPI"), 1); BOOL bMAPIInit = mailmsg.MAPIInitialize(); if(!bMAPIInit) { an.SetProgress(mailmsg.GetLastErrorMsg(), 100, false); return FALSE; } if(attempt!=0) { an.SetProgress(_T("[confirm_launch_email_client]"), 0); int confirm = 1; an.WaitForFeedback(confirm); if(confirm!=0) { an.SetProgress(_T("Cancelled by user"), 100, false); return FALSE; } } an.SetProgress(_T("Launching the default email client"), 10); mailmsg.SetFrom(pc->m_sEmailFrom); mailmsg.SetTo(pc->m_sEmailTo); mailmsg.SetSubject(pc->m_sEmailSubject); CString sFileTitle = pc->m_sZipName; sFileTitle.Replace('/', '\\'); int pos = sFileTitle.ReverseFind('\\'); if(pos>=0) sFileTitle = sFileTitle.Mid(pos+1); mailmsg.SetMessage(pc->m_sEmailText); mailmsg.AddAttachment(pc->m_sZipName, sFileTitle); BOOL bSend = mailmsg.Send(); if(!bSend) an.SetProgress(mailmsg.GetLastErrorMsg(), 100, false); else an.SetProgress(_T("Sent OK"), 100, false); return bSend; } DWORD WINAPI SenderThread(LPVOID lpParam) { SenderThreadContext* pc = (SenderThreadContext*)lpParam; int status = 1; an.m_hCompletionEvent = CreateEvent(0, FALSE, FALSE, 0); an.m_hCancelEvent = CreateEvent(0, FALSE, FALSE, 0); an.m_hFeedbackEvent = CreateEvent(0, FALSE, FALSE, 0); std::multimap<int, int> order; std::pair<int, int> pair3(pc->m_uPriorities[CR_SMAPI], CR_SMAPI); order.insert(pair3); std::pair<int, int> pair2(pc->m_uPriorities[CR_SMTP], CR_SMTP); order.insert(pair2); std::pair<int, int> pair1(pc->m_uPriorities[CR_HTTP], CR_HTTP); order.insert(pair1); std::multimap<int, int>::reverse_iterator rit; for(rit=order.rbegin(); rit!=order.rend(); rit++) { an.SetProgress(_T("[sending_attempt]"), 0); attempt++; if(an.IsCancelled()){ break; } int id = rit->second; BOOL bResult = FALSE; if(id==CR_HTTP) bResult = SendOverHTTP(pc); else if(id==CR_SMTP) bResult = SendOverSMTP(pc); else if(id==CR_SMAPI) bResult = SendOverSMAPI(pc); if(bResult==FALSE) continue; if(id==CR_SMAPI && bResult==TRUE) { status = 0; break; } WaitForSingleObject(an.m_hCompletionEvent, INFINITE); if(an.m_nCompletionStatus==0) { status = 0; break; } } if(status==0) { an.SetProgress(_T("[status_success]"), 0); } else { CString str; str.Format(_T("The error report is saved to '%s'"), pc->m_sZipName); an.SetProgress(str, 0); an.SetProgress(_T("[status_failed]"), 0); } an.SetCompleted(status); return 0; }
[ "zexspectrum_1980@mail.ru@821a4644-a21a-0410-aec7-6199d47568cc" ]
zexspectrum_1980@mail.ru@821a4644-a21a-0410-aec7-6199d47568cc
d7cfd7d98ee2931be3f841912c862bc9b1c79295
f707f8b14ab39cb51b91a98c6341ef58f6233a7f
/src/phreeqcpp/spread.cpp
c9e33274ab6d5c2881b458e6855e277b4adc4878
[ "CC0-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ufz/iphreeqc
e3dfcad650119488751891ecd41b1d04b244b41b
b1047d3eb03e7ef1b850231be35acb9c6a2cf345
refs/heads/master
2021-06-22T07:37:29.864046
2021-02-10T07:35:33
2021-02-10T07:35:33
187,010,619
0
1
NOASSERTION
2020-04-28T16:40:03
2019-05-16T11:02:57
C++
UTF-8
C++
false
false
38,678
cpp
#ifndef boolean typedef unsigned char boolean; #endif #include "Phreeqc.h" #include "phqalloc.h" #include "Solution.h" #include "Utils.h" #define STRING 11 #define NUMBER 12 #define MIXED 13 #define EOL 14 #define OPTION_EOF -1 #define OPTION_KEYWORD -2 #define OPTION_ERROR -3 #define OPTION_DEFAULT -4 #define OPT_1 -5 /* ---------------------------------------------------------------------- */ int Phreeqc:: read_solution_spread(void) /* ---------------------------------------------------------------------- */ { /* * Reads solution data * * Arguments: * none * * Returns: * KEYWORD if keyword encountered, input_error may be incremented if * a keyword is encountered in an unexpected position * EOF if eof encountered while reading mass balance concentrations * ERROR if error occurred reading data * */ struct spread_row *heading, *row_ptr, *units; int count, strings, numbers; int spread_lines; char *ptr; struct defaults soln_defaults; int return_value, opt; char *next_char; const char *opt_list[] = { "temp", /* 0 */ "temperature", /* 1 */ "dens", /* 2 */ "density", /* 3 */ "units", /* 4 */ "redox", /* 5 */ "ph", /* 6 */ "pe", /* 7 */ "unit", /* 8 */ "isotope", /* 9 */ "water", /* 10 */ "isotope_uncertainty", /* 11 */ "uncertainty", /* 12 */ "uncertainties", /* 13 */ "pressure", /* 14 */ "press" /* 15 */ }; int count_opt_list = 16; /* * Initialize defaults */ soln_defaults.temp = 25; soln_defaults.density = 1.0; soln_defaults.calc_density = false; soln_defaults.units = string_hsave("mmol/kgw"); soln_defaults.redox = string_hsave("pe"); soln_defaults.ph = 7.0; soln_defaults.pe = 4.0; soln_defaults.water = 1.0; soln_defaults.pressure = 1.0; #ifdef PHREEQCI_GUI free_spread(); #endif /* fill in soln_defaults.iso */ soln_defaults.count_iso = count_iso_defaults; soln_defaults.iso = (struct iso *) PHRQ_malloc((size_t) soln_defaults.count_iso * sizeof(struct iso)); if (soln_defaults.iso == NULL) malloc_error(); /* all iso[i].name is hsave'd, so no conflicts */ memcpy(soln_defaults.iso, iso_defaults, (size_t) soln_defaults.count_iso * sizeof(struct iso)); heading = NULL; units = NULL; return_value = UNKNOWN; spread_lines = 0; CParser parser(this->phrq_io); /* * Loop on solutions */ for (;;) { std::string token, token1; opt = get_option(opt_list, count_opt_list, &next_char); if (spread_lines == 0 && opt != OPTION_DEFAULT) { row_ptr = string_to_spread_row(line); ptr = line; count = numbers = strings = 0; int j; while (((j = copy_token(token, &ptr)) != EMPTY)) { count++; if (j == UPPER || j == LOWER) strings++; if (j == DIGIT) numbers++; } /* * Is 2nd token all number */ ptr = line; copy_token(token, &ptr); j = copy_token(token, &ptr); bool num = false; if (j == DIGIT) { strtod(token.c_str(), &ptr); int j1 = copy_token(token1, &ptr); if (j1 != EMPTY) { num = FALSE; } else { num = TRUE; } } /* * Starts with hyphen */ ptr = line; copy_token(token, &ptr); if (token[0] == '-') { /* opt = opt; */ } else { switch (opt) { case 0: /* temp */ case 1: /* temperature */ case 2: /* dens */ case 3: /* density */ case 10: /* water */ if ((count == 2 || count == 3) && num == TRUE) { /* opt = opt; */ } else { opt = OPTION_DEFAULT; } break; case 6: /* ph */ case 7: /* pe */ if ((count == 2 || count == 3 || count == 4) && num == TRUE) { /* opt = opt; */ } else { opt = OPTION_DEFAULT; } break; case 5: /* redox */ case 4: /* units */ case 8: /* unit */ if (count == 2) { /* opt = opt; */ } else { opt = OPTION_DEFAULT; } break; case 9: /* isotope */ if (row_ptr->count > 4) { opt = OPTION_DEFAULT; } else { /* opt = opt; */ } break; case 11: /* isotope_uncertainty */ case 12: /* uncertainty */ case 13: /* uncertainties */ if (row_ptr->count > 3) { opt = OPTION_DEFAULT; } else { /* opt = opt; */ } break; case 14: /* pressure */ case 15: /* press */ sscanf(next_char, SCANFORMAT, &(soln_defaults.pressure)); break; } } spread_row_free(row_ptr); } if (opt == OPTION_DEFAULT) { if (spread_lines == 0) { opt = 100; } spread_lines++; } switch (opt) { case OPTION_EOF: /* end of file */ return_value = EOF; break; case OPTION_KEYWORD: /* keyword */ return_value = KEYWORD; break; case OPTION_ERROR: input_error++; error_msg("Unknown input in SOLUTION keyword.", CONTINUE); error_msg(line_save, CONTINUE); break; case OPTION_DEFAULT: /* solution definition */ row_ptr = string_to_spread_row(line); if (spread_lines == 2) { numbers = 0; strings = 0; //for (int i = 0; i < heading->count; i++) for (int i = 0; i < row_ptr->count; i++) { if (row_ptr->type_vector[i] == STRING) { strings++; } else if (row_ptr->type_vector[i] == NUMBER) { numbers++; } } if (numbers == 0) { units = row_ptr; break; } } spread_row_to_solution(heading, units, row_ptr, soln_defaults); #ifdef PHREEQCI_GUI add_row(row_ptr); #endif spread_row_free(row_ptr); break; case 0: /* temperature */ case 1: sscanf(next_char, SCANFORMAT, &(soln_defaults.temp)); break; case 2: /* density */ case 3: //sscanf(next_char, SCANFORMAT, &(soln_defaults.density)); { copy_token(token, &next_char); if (sscanf(token.c_str(), SCANFORMAT, &dummy) != 1) { error_msg("Expecting numeric value for density.", PHRQ_io::OT_CONTINUE); error_msg(line_save, PHRQ_io::OT_CONTINUE); input_error++; } else { soln_defaults.density = dummy; } int j = copy_token(token, &next_char); if (j != EMPTY) { if (token[0] != 'c' && token[0] != 'C') { error_msg("Only option following density is c[alculate].", PHRQ_io::OT_CONTINUE); error_msg(line_save, PHRQ_io::OT_CONTINUE); input_error++; } else { soln_defaults.calc_density = true; } } } break; case 4: /* units */ case 8: /* unit */ if (copy_token(token, &next_char) == EMPTY) break; { if (check_units(token, FALSE, FALSE, NULL, TRUE) == OK) { soln_defaults.units = string_hsave(token.c_str()); } else { input_error++; } } break; case 5: /* redox */ if (copy_token(token, &next_char) == EMPTY) break; if (parser.parse_couple(token) == OK) { soln_defaults.redox = string_hsave(token.c_str()); } else { input_error++; } break; case 6: /* ph */ copy_token(token, &next_char); sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.ph)); if (copy_token(token, &next_char) != EMPTY) { warning_msg ("Not possible to use phase name or saturation index in definition of default pH in SOLUTION_SPREAD."); } break; case 7: /* pe */ copy_token(token, &next_char); sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.pe)); if (copy_token(token, &next_char) != EMPTY) { warning_msg ("Not possible to use phase name or saturation index in definition of default pe in SOLUTION_SPREAD."); } break; case 11: /* isotope_uncertainty */ case 12: /* uncertainty */ case 13: /* uncertainties */ { if (copy_token(token, &next_char) != DIGIT) { input_error++; error_string = sformatf( "Expected isotope name to" " begin with an isotopic number."); error_msg(error_string, CONTINUE); error_string = sformatf( "In read_solution_spread isotope_uncertainty\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "token: ", token.c_str()); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "next_char: ", next_char); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "line_save: ", line_save); error_msg(error_string, PHRQ_io::OT_CONTINUE); continue; } int i; for (i = 0; i < soln_defaults.count_iso; i++) { if (strcmp(token.c_str(), soln_defaults.iso[i].name) == 0) { break; } } if (i == soln_defaults.count_iso) { soln_defaults.iso = (struct iso *) PHRQ_realloc(soln_defaults.iso, (size_t) (i + 1) * sizeof(struct iso)); if (soln_defaults.iso == NULL) { malloc_error(); } else { soln_defaults.iso[i].name = string_hsave(token.c_str()); soln_defaults.iso[i].value = NAN; soln_defaults.iso[i].uncertainty = NAN; soln_defaults.count_iso++; } } /* read and store isotope ratio uncertainty */ int j; if ((j = copy_token(token, &next_char)) != EMPTY) { if (j != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for uncertainty in isotope ratio."); error_msg(error_string, CONTINUE); continue; } else { sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.iso[i].uncertainty)); } } else { soln_defaults.iso[i].uncertainty = NAN; } } break; case 10: /* water */ { int j = copy_token(token, &next_char); if (j != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for mass of water in solution."); error_msg(error_string, CONTINUE); } else { sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.water)); } } break; case 9: /* isotope */ { if (copy_token(token, &next_char) != DIGIT) { input_error++; error_string = sformatf( "Expected isotope name to" " begin with an isotopic number."); error_msg(error_string, CONTINUE); error_string = sformatf( "In read_solution_spread isotope\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "token: ", token.c_str()); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "next_char: ", next_char); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "line_save: ", line_save); error_msg(error_string, PHRQ_io::OT_CONTINUE); continue; } int i; for (i = 0; i < soln_defaults.count_iso; i++) { if (strcmp(token.c_str(), soln_defaults.iso[i].name) == 0) { break; } } if (i == soln_defaults.count_iso) { soln_defaults.iso = (struct iso *) PHRQ_realloc(soln_defaults.iso, (size_t) (i + 1) * sizeof(struct iso)); if (soln_defaults.iso == NULL) { malloc_error(); } else { soln_defaults.iso[i].name = string_hsave(token.c_str()); soln_defaults.iso[i].value = NAN; soln_defaults.iso[i].uncertainty = NAN; soln_defaults.count_iso++; } } /* read and store isotope ratio */ if (copy_token(token, &next_char) != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for default isotope ratio."); error_msg(error_string, CONTINUE); break; } sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.iso[i].value)); /* read and store isotope ratio uncertainty */ int j; if ((j = copy_token(token, &next_char)) != EMPTY) { if (j != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for uncertainty in isotope ratio."); error_msg(error_string, CONTINUE); continue; } else { sscanf(token.c_str(), SCANFORMAT, &(soln_defaults.iso[i].uncertainty)); } } } break; case 14: /* pressure */ sscanf(next_char, SCANFORMAT, &(soln_defaults.pressure)); break; case 100: /* read headings */ heading = string_to_spread_row(line); { int i; for (i = 0; i < heading->count; i++) { while (replace(" ", "", heading->char_vector[i]) == TRUE); while (replace(",", "_", heading->char_vector[i]) == TRUE); } } break; } if (return_value == EOF || return_value == KEYWORD) break; } #ifdef PHREEQCI_GUI if (heading) { assert(g_spread_sheet.heading == NULL); g_spread_sheet.heading = copy_row(heading); } if (units) { assert(g_spread_sheet.units == NULL); g_spread_sheet.units = copy_row(units); } copy_defaults(&g_spread_sheet.defaults, &soln_defaults); #endif spread_row_free(heading); spread_row_free(units); soln_defaults.iso = (struct iso *) free_check_null(soln_defaults.iso); return (return_value); } /* ---------------------------------------------------------------------- */ int Phreeqc:: spread_row_to_solution(struct spread_row *heading, struct spread_row *units, struct spread_row *data, struct defaults defaults) /* ---------------------------------------------------------------------- */ { Keywords::KEYWORDS next_keyword_save; int n_user, n_user_end; std::string description; std::string token, token1, string; CParser parser(this->phrq_io); int return_value, opt; char *next_char; const char *opt_list[] = { "temp", /* 0 */ "temperature", /* 1 */ "dens", /* 2 */ "density", /* 3 */ "units", /* 4 */ "redox", /* 5 */ "ph", /* 6 */ "pe", /* 7 */ "unit", /* 8 */ "isotope", /* 9 */ "water", /* 10 */ "description", /* 11 */ "desc", /* 12 */ "descriptor", /* 13 */ "pressure", /* 14 */ "press", /* 15 */ "potential" /* 16 */ }; int count_opt_list = 17; /* * look for solution number */ n_user = n_user_end = -1; { int i; for (i = 0; i < heading->count; i++) { if (strcmp_nocase(heading->char_vector[i], "number") == 0) { break; } } if (i == heading->count || data->type_vector[i] == EMPTY || data->count <= i) { n_user = -1; } else if (data->type_vector[i] == STRING) { input_error++; error_string = sformatf( "Expected solution number or number range in 'number' column, found: %s.", data->char_vector[i]); error_msg(error_string, CONTINUE); } else { string = "solution_s "; string.append( data->char_vector[i] ); next_keyword_save = next_keyword; next_keyword = Keywords::KEY_SOLUTION_SPREAD; cxxNumKeyword nk; nk.read_number_description(string); n_user = nk.Get_n_user(); n_user_end = nk.Get_n_user_end(); description = nk.Get_description(); next_keyword = next_keyword_save; Rxn_new_solution.insert(n_user); } } /* * set up solution */ cxxSolution temp_solution; temp_solution.Set_n_user(n_user); temp_solution.Set_n_user_end(n_user_end); temp_solution.Set_new_def(true); temp_solution.Create_initial_data(); cxxISolution * initial_data_ptr = temp_solution.Get_initial_data(); if (use.Get_solution_in() == FALSE) { use.Set_solution_in(true); use.Set_n_solution_user(n_user); } /* * Set default ph, temp, density, pe, units */ temp_solution.Set_description(description); temp_solution.Set_tc(defaults.temp); temp_solution.Set_patm(defaults.pressure); temp_solution.Set_potV(0); temp_solution.Set_ph(defaults.ph); temp_solution.Set_density(defaults.density); initial_data_ptr->Set_calc_density(defaults.calc_density); temp_solution.Set_pe(defaults.pe); temp_solution.Set_mass_water(defaults.water); temp_solution.Set_ah2o(1.0); temp_solution.Set_mu(1e-7); initial_data_ptr->Set_units(defaults.units); initial_data_ptr->Set_default_pe(defaults.redox); { cxxChemRxn temp_chem_reaction; initial_data_ptr->Get_pe_reactions()[defaults.redox] = temp_chem_reaction; } /* * Read concentration data */ return_value = UNKNOWN; for (int i = 0; i < heading->count; i++) { if (strcmp_nocase(heading->char_vector[i], "number") == 0) continue; if (strcmp_nocase(heading->char_vector[i], "uncertainty") == 0) continue; if (strcmp_nocase(heading->char_vector[i], "uncertainties") == 0) continue; if (strcmp_nocase(heading->char_vector[i], "isotope_uncertainty") == 0) continue; /* * Copy in element name */ if (heading->type_vector[i] == EMPTY) continue; string = heading->char_vector[i]; string.append(" "); /* * Copy in concentration data */ if (i >= data->count || data->type_vector[i] == EMPTY) continue; string.append(data->char_vector[i]); string.append(" "); /* * Copy in concentration data */ if (units != NULL && i < units->count && units->type_vector[i] != EMPTY) { string.append(units->char_vector[i]); } /* * Parse string just like read_solution input */ char * char_string = string_duplicate(string.c_str()); next_char = char_string; opt = get_option_string(opt_list, count_opt_list, &next_char); if (opt == OPTION_DEFAULT && heading->type_vector[i] == NUMBER) { opt = 9; } switch (opt) { case OPTION_EOF: /* end of file */ return_value = EOF; break; case OPTION_KEYWORD: /* keyword */ return_value = KEYWORD; break; case OPTION_ERROR: input_error++; error_msg("Unknown input in SOLUTION keyword.", CONTINUE); error_msg(line_save, CONTINUE); break; case 0: /* temperature */ case 1: sscanf(next_char, SCANFORMAT, &dummy); temp_solution.Set_tc(dummy); break; case 2: /* density */ case 3: { int j = copy_token(token, &next_char); sscanf(token.c_str(), SCANFORMAT, &dummy); temp_solution.Set_density(dummy); j = copy_token(token, &next_char); if (j != EMPTY) { if (token[0] != 'c' && token[0] != 'C') { error_msg("Only option following density is c[alculate].", PHRQ_io::OT_CONTINUE); error_msg(line_save, PHRQ_io::OT_CONTINUE); input_error++; } else { initial_data_ptr->Set_calc_density(true); } } } break; case 4: /* units */ case 8: /* unit */ if (copy_token(token, &next_char) == EMPTY) break; { if (check_units(token, false, false, initial_data_ptr->Get_units().c_str(), true) == OK) { initial_data_ptr->Set_units(token); } else { input_error++; } } break; case 5: /* redox */ if (copy_token(token, &next_char) == EMPTY) break; if (parser.parse_couple(token) == OK) { const char * pe_str = string_hsave(token.c_str()); initial_data_ptr->Set_default_pe(pe_str); cxxChemRxn temp_chem_reaction; initial_data_ptr->Get_pe_reactions()[token] = temp_chem_reaction; } else { input_error++; } break; case 6: /* ph */ { cxxISolutionComp temp_comp(this->phrq_io); if (temp_comp.read(char_string, &temp_solution) == CParser::PARSER_ERROR) { input_error++; break; } temp_solution.Set_ph(temp_comp.Get_input_conc()); if (temp_comp.Get_equation_name().size() == 0) { break; } temp_comp.Set_description("H(1)"); initial_data_ptr->Get_comps()[temp_comp.Get_description()] = temp_comp; } break; case 7: /* pe */ { cxxISolutionComp temp_comp(this->phrq_io); if (temp_comp.read(char_string, &temp_solution) == CParser::PARSER_ERROR) { input_error++; break; } temp_solution.Set_pe(temp_comp.Get_input_conc()); if (temp_comp.Get_equation_name().size() == 0) { break; } temp_comp.Set_description("E"); initial_data_ptr->Get_comps()[temp_comp.Get_description()] = temp_comp; } break; case 9: /* isotope */ { next_char = char_string; cxxSolutionIsotope temp_isotope; if (copy_token(token, &next_char) != CParser::TT_DIGIT) { input_error++; error_string = sformatf( "Expected isotope name to" " begin with an isotopic number."); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "In spread_row_to_solution isotope\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "token: ", token.c_str()); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "next_char: ", next_char); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "char_string: ", char_string); error_msg(error_string, PHRQ_io::OT_CONTINUE); error_string = sformatf( "\t%s\t%s\n", "line_save: ", line_save); error_msg(error_string, PHRQ_io::OT_CONTINUE); //struct spread_row //{ // int count; // int empty, string, number; // char **char_vector; // LDBLE *d_vector; // int *type_vector; //}; error_string = sformatf("Heading spread_row\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); if (heading) { for (int ii = 0; ii < heading->count; ii++) { error_string = sformatf("%d\t%s\n",ii,heading->char_vector[ii]); error_msg(error_string, PHRQ_io::OT_CONTINUE); } } else { error_msg("heading is null", PHRQ_io::OT_CONTINUE); } error_string = sformatf("Data spread_row\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); if (data) { for (int ii = 0; ii < data->count; ii++) { error_string = sformatf("%d\t%s\t%d\n",ii,data->char_vector[ii],data->type_vector[ii]); error_msg(error_string, PHRQ_io::OT_CONTINUE); } } else { error_msg("Data is null", PHRQ_io::OT_CONTINUE); } error_string = sformatf("Units spread_row\n"); error_msg(error_string, PHRQ_io::OT_CONTINUE); if (units) { for (int ii = 0; ii < units->count; ii++) { error_string = sformatf("%d\t%s\n",ii,units->char_vector[ii]); error_msg(error_string, PHRQ_io::OT_CONTINUE); } } else { error_msg("Units is null", PHRQ_io::OT_CONTINUE); } free_check_null(char_string); continue; } temp_isotope.Set_isotope_name(token.c_str()); /* read and save element name */ { char *temp_iso_name = string_duplicate(token.c_str()); char *ptr1 = temp_iso_name; get_num(&ptr1, &dummy); temp_isotope.Set_isotope_number(dummy); if (ptr1[0] == '\0' || isupper((int) ptr1[0]) == FALSE) { error_msg("Expecting element name.", PHRQ_io::OT_CONTINUE); error_msg(line_save, PHRQ_io::OT_CONTINUE); input_error++; temp_iso_name = (char*)free_check_null(temp_iso_name); char_string = (char*)free_check_null(char_string); return (CParser::PARSER_ERROR); } temp_isotope.Set_elt_name(ptr1); temp_iso_name = (char*)free_check_null(temp_iso_name); } /* read and store isotope ratio */ if (copy_token(token, &next_char) != CParser::TT_DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for isotope ratio."); error_msg(error_string, CONTINUE); free_check_null(char_string); continue; } sscanf(token.c_str(), SCANFORMAT, &dummy); temp_isotope.Set_ratio(dummy); temp_isotope.Set_ratio_uncertainty(NAN); /* read and store isotope ratio uncertainty */ int j; if ((j = copy_token(token, &next_char)) != CParser::TT_EMPTY) { if (j != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for uncertainty in isotope ratio."); error_msg(error_string, PHRQ_io::OT_CONTINUE); free_check_null(char_string); continue; } sscanf(token.c_str(), SCANFORMAT, &dummy); temp_isotope.Set_ratio_uncertainty(dummy); } temp_solution.Get_isotopes()[temp_isotope.Get_isotope_name()] = temp_isotope; } break; case 10: /* water */ { //next_char = char_string; //int j = copy_token(token, &next_char); // read identifier "water" int j = copy_token(token, &next_char); if (j == EMPTY) { temp_solution.Set_mass_water(1.0); } else if (j != DIGIT) { input_error++; error_string = sformatf( "Expected numeric value for mass of water in solution."); error_msg(error_string, CONTINUE); } else { sscanf(token.c_str(), SCANFORMAT, &dummy); temp_solution.Set_mass_water(dummy); } } break; case 11: /* description */ case 12: /* desc */ case 13: /* descriptor */ { temp_solution.Set_description(next_char); } break; case 14: /* pressure */ case 15: /* press */ { if (sscanf(next_char, SCANFORMAT, &dummy) == 1) { temp_solution.Set_patm(dummy); } } break; case 16: /* pote, V */ { if (sscanf(next_char, SCANFORMAT, &dummy) == 1) { temp_solution.Set_potV(dummy); } } break; case OPTION_DEFAULT: /* * Read concentration */ { next_char = char_string; if (copy_token(token, &next_char) == LOWER) { free_check_null(char_string); continue; } cxxISolutionComp temp_comp(this->phrq_io); if (temp_comp.read(char_string, &temp_solution) == CParser::PARSER_ERROR) { #ifdef SKIP input_error++; break; #endif } initial_data_ptr->Get_comps()[temp_comp.Get_description()] = temp_comp; if (temp_comp.Get_pe_reaction().size() > 0) { cxxChemRxn temp_chem_reaction; initial_data_ptr->Get_pe_reactions()[temp_comp.Get_pe_reaction()] = temp_chem_reaction; } } break; } free_check_null(char_string); if (return_value == EOF || return_value == KEYWORD) break; } /* * fix up default units and default pe */ std::map < std::string, cxxISolutionComp >::iterator it; for (it = initial_data_ptr->Get_comps().begin(); it != initial_data_ptr->Get_comps().end(); it++) { token = it->first; Utilities::str_tolower(token); if (it->second.Get_units().size() == 0) { it->second.Set_units(initial_data_ptr->Get_units().c_str()); } else { bool alk = false; if (strstr(token.c_str(), "alk") == token.c_str()) alk = true; std::string token1 = it->second.Get_units(); if (check_units(token1, alk, true, initial_data_ptr->Get_units().c_str(), true) == CParser::PARSER_ERROR) { input_error++; } else { it->second.Set_units(token1.c_str()); } } if (it->second.Get_pe_reaction().size() == 0) { it->second.Set_pe_reaction(initial_data_ptr->Get_default_pe()); } } if (n_user >= 0) { Rxn_solution_map[n_user] = temp_solution; } else { unnumbered_solutions.push_back(temp_solution); } return (return_value); } /* ---------------------------------------------------------------------- */ struct spread_row * Phreeqc:: string_to_spread_row(char *string) /* ---------------------------------------------------------------------- */ { int j, l; /* possible memory error if length of line is smaller than previous line */ char *token; char *ptr; struct spread_row *spread_row_ptr = NULL; /* * Allocate space */ token = (char *) PHRQ_malloc(strlen(line) + 1); if (token == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr = (struct spread_row *) PHRQ_malloc((size_t) sizeof(struct spread_row)); if (spread_row_ptr == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->char_vector = (char **) PHRQ_malloc((size_t) spread_length * sizeof(char *)); if (spread_row_ptr->char_vector == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->d_vector = (LDBLE *) PHRQ_malloc((size_t) spread_length * sizeof(LDBLE)); if (spread_row_ptr->d_vector == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->type_vector = (int *) PHRQ_malloc((size_t) spread_length * sizeof(int)); if (spread_row_ptr->type_vector == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->count = 0; spread_row_ptr->empty = 0; spread_row_ptr->string = 0; spread_row_ptr->number = 0; ptr = string; /* * Split by tabs, reallocate space */ for (;;) { if (spread_row_ptr->count + 1 > spread_length) { spread_length *= 2; spread_row_ptr->char_vector = (char **) PHRQ_realloc(spread_row_ptr->char_vector, (size_t) spread_length * sizeof(char *)); if (spread_row_ptr->char_vector == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->d_vector = (LDBLE *) PHRQ_realloc(spread_row_ptr->d_vector, (size_t) spread_length * sizeof(LDBLE)); if (spread_row_ptr->d_vector == NULL) { malloc_error(); return spread_row_ptr; } spread_row_ptr->type_vector = (int *) PHRQ_realloc(spread_row_ptr->type_vector, (size_t) spread_length * sizeof(int)); if (spread_row_ptr->type_vector == NULL) { malloc_error(); return spread_row_ptr; } } j = copy_token_tab(token, &ptr, &l); if (j == EOL) break; spread_row_ptr->char_vector[spread_row_ptr->count] = string_duplicate(token); spread_row_ptr->d_vector[spread_row_ptr->count] = NAN; if (j == EMPTY || l == 0) { spread_row_ptr->empty++; spread_row_ptr->type_vector[spread_row_ptr->count] = EMPTY; } else if (j == UPPER || j == LOWER) { spread_row_ptr->string++; spread_row_ptr->type_vector[spread_row_ptr->count] = STRING; } else if (j == DIGIT) { spread_row_ptr->number++; spread_row_ptr->d_vector[spread_row_ptr->count] = strtod(token, NULL); spread_row_ptr->type_vector[spread_row_ptr->count] = NUMBER; } else { input_error++; error_msg("Unknown input in string_to_spread_row keyword.", CONTINUE); error_string = sformatf("\tcopy_token j: %d, token: %s\n", j, token); error_msg(error_string, CONTINUE); error_msg(line_save, CONTINUE); } spread_row_ptr->count++; } /* * Clean up and return */ if (spread_row_ptr->count == 0) { spread_row_ptr->char_vector = (char **) free_check_null(spread_row_ptr->char_vector); spread_row_ptr->d_vector = (LDBLE *) free_check_null(spread_row_ptr->d_vector); spread_row_ptr->type_vector = (int *) free_check_null(spread_row_ptr->type_vector); } else { /* Do not realloc to smaller size, memory error */ /* spread_row_ptr->char_vector = (char **) PHRQ_realloc (spread_row_ptr->char_vector, (size_t) spread_row_ptr->count * sizeof (char *)); if (spread_row_ptr->char_vector == NULL) malloc_error (); spread_row_ptr->d_vector = (LDBLE *) PHRQ_realloc (spread_row_ptr->d_vector, (size_t) spread_row_ptr->count * sizeof (LDBLE)); if (spread_row_ptr->d_vector == NULL) malloc_error (); spread_row_ptr->type_vector = (int *) PHRQ_realloc (spread_row_ptr->type_vector, (size_t) spread_row_ptr->count * sizeof (int)); if (spread_row_ptr->type_vector == NULL) malloc_error (); */ } token = (char *) free_check_null(token); return (spread_row_ptr); } /* ---------------------------------------------------------------------- */ int Phreeqc:: spread_row_free(struct spread_row *spread_row_ptr) /* ---------------------------------------------------------------------- */ { int i; if (spread_row_ptr == NULL) return (OK); for (i = 0; i < spread_row_ptr->count; i++) { spread_row_ptr->char_vector[i] = (char *) free_check_null(spread_row_ptr->char_vector[i]); } spread_row_ptr->char_vector = (char **) free_check_null(spread_row_ptr->char_vector); spread_row_ptr->d_vector = (LDBLE *) free_check_null(spread_row_ptr->d_vector); spread_row_ptr->type_vector = (int *) free_check_null(spread_row_ptr->type_vector); spread_row_ptr = (struct spread_row *) free_check_null(spread_row_ptr); return (OK); } /* ---------------------------------------------------------------------- */ int Phreeqc:: copy_token_tab(char *token_ptr, char **ptr, int *length) /* ---------------------------------------------------------------------- */ { /* * Copies from **ptr to *token_ptr until first tab is encountered. * * Arguments: * *token_ptr output, place to store token * * **ptr input, character string to read token from * output, next position after token * * length output, length of token * * Returns: * UPPER, * LOWER, * DIGIT, * EMPTY, * EOL, * UNKNOWN. */ int i, j, return_value; char c; /* * Strip leading spaces */ while ((c = **ptr) == ' ') (*ptr)++; /* * Check what we have */ if (isupper((int) c) || c == '[') { return_value = UPPER; } else if (islower((int) c)) { return_value = LOWER; } else if (isdigit((int) c) || c == '.' || c == '-') { return_value = DIGIT; } else if (c == '\0') { return_value = EOL; return (return_value); } else if (c == '\t') { return_value = EMPTY; } else { return_value = UNKNOWN; } /* * Begin copying to token */ i = 0; for (;;) { c = **ptr; if (c == '\t') { (*ptr)++; break; } else if (c == '\0') { break; } else { token_ptr[i] = c; (*ptr)++; i++; } } token_ptr[i] = '\0'; *length = i; /* * Strip trailing spaces */ for (j = i - 1; j >= 0; j--) { if (j != ' ') break; } if (j != i - 1) { token_ptr[j + 1] = '\0'; *length = j + 1; } return (return_value); } /* ---------------------------------------------------------------------- */ int Phreeqc:: get_option_string(const char **opt_list, int count_opt_list, char **next_char) /* ---------------------------------------------------------------------- */ { /* * Read a line and check for options */ int j; int opt_l, opt; char *opt_ptr; char option[MAX_LENGTH]; opt_ptr = *next_char; if (opt_ptr[0] == '-') { opt_ptr++; copy_token(option, &opt_ptr, &opt_l); if (find_option(&(option[1]), &opt, opt_list, count_opt_list, FALSE) == OK) { j = opt; *next_char = opt_ptr; } else { error_msg("Unknown option.", CONTINUE); error_msg(*next_char, CONTINUE); input_error++; j = OPTION_ERROR; } } else { copy_token(option, &opt_ptr, &opt_l); if (find_option(&(option[0]), &opt, opt_list, count_opt_list, TRUE) == OK) { j = opt; *next_char = opt_ptr; } else { j = OPTION_DEFAULT; } } return (j); } #ifdef PHREEQCI_GUI /* ---------------------------------------------------------------------- */ void Phreeqc:: free_spread(void) /* ---------------------------------------------------------------------- */ { int i; spread_row_free(g_spread_sheet.heading); spread_row_free(g_spread_sheet.units); for (i = 0; i < g_spread_sheet.count_rows; i++) { spread_row_free(g_spread_sheet.rows[i]); } g_spread_sheet.rows = (spread_row**)free_check_null(g_spread_sheet.rows); for (i = 0; i < g_spread_sheet.defaults.count_iso; i++) { g_spread_sheet.defaults.iso[i].name = (const char *)free_check_null((void*)g_spread_sheet.defaults.iso[i].name); } g_spread_sheet.defaults.iso = (struct iso*)free_check_null(g_spread_sheet.defaults.iso); g_spread_sheet.defaults.redox = (const char *)free_check_null((void*)g_spread_sheet.defaults.redox); g_spread_sheet.defaults.units = (const char *)free_check_null((void*)g_spread_sheet.defaults.units); g_spread_sheet.heading = 0; g_spread_sheet.units = 0; g_spread_sheet.count_rows = 0; g_spread_sheet.defaults.count_iso = 0; } /* ---------------------------------------------------------------------- */ void Phreeqc:: add_row(struct spread_row *spread_row_ptr) /* ---------------------------------------------------------------------- */ { g_spread_sheet.rows = (struct spread_row **) PHRQ_realloc(g_spread_sheet.rows, sizeof(struct spread_row *) * (g_spread_sheet.count_rows + 1)); if (g_spread_sheet.rows == NULL) { malloc_error(); } else { g_spread_sheet.rows[g_spread_sheet.count_rows++] = copy_row(spread_row_ptr); } } /* ---------------------------------------------------------------------- */ struct spread_row * Phreeqc:: copy_row(struct spread_row *spread_row_ptr) /* ---------------------------------------------------------------------- */ { int i; struct spread_row *new_spread_row_ptr; /* * Allocate space */ new_spread_row_ptr = (struct spread_row *) PHRQ_malloc((size_t) sizeof(struct spread_row)); if (new_spread_row_ptr == NULL) malloc_error(); new_spread_row_ptr->char_vector = (char **) PHRQ_malloc((size_t) spread_row_ptr->count * sizeof(char *)); if (new_spread_row_ptr->char_vector == NULL) malloc_error(); new_spread_row_ptr->d_vector = (LDBLE *) PHRQ_malloc((size_t) spread_row_ptr->count * sizeof(LDBLE)); if (new_spread_row_ptr->d_vector == NULL) malloc_error(); new_spread_row_ptr->type_vector = (int *) PHRQ_malloc((size_t) spread_row_ptr->count * sizeof(int)); if (new_spread_row_ptr->type_vector == NULL) malloc_error(); for (i = 0; i < spread_row_ptr->count; i++) { new_spread_row_ptr->char_vector[i] = string_duplicate(spread_row_ptr->char_vector[i]); new_spread_row_ptr->d_vector[i] = spread_row_ptr->d_vector[i]; new_spread_row_ptr->type_vector[i] = spread_row_ptr->type_vector[i]; } new_spread_row_ptr->count = spread_row_ptr->count; new_spread_row_ptr->empty = spread_row_ptr->empty; new_spread_row_ptr->number = spread_row_ptr->number; new_spread_row_ptr->string = spread_row_ptr->string; return new_spread_row_ptr; } /* ---------------------------------------------------------------------- */ void Phreeqc:: copy_defaults(struct defaults *dest_ptr, struct defaults *src_ptr) /* ---------------------------------------------------------------------- */ { int i; dest_ptr->count_iso = src_ptr->count_iso; dest_ptr->density = src_ptr->density; dest_ptr->iso = (struct iso *) PHRQ_malloc(sizeof(struct iso) * src_ptr->count_iso); if (dest_ptr->iso == NULL) { malloc_error(); } else { for (i = 0; i < src_ptr->count_iso; i++) { dest_ptr->iso[i] = src_ptr->iso[i]; dest_ptr->iso[i].name = string_duplicate(src_ptr->iso[i].name); } } dest_ptr->pe = src_ptr->pe; dest_ptr->ph = src_ptr->ph; dest_ptr->redox = string_duplicate(src_ptr->redox); dest_ptr->temp = src_ptr->temp; dest_ptr->units = string_duplicate(src_ptr->units); dest_ptr->water = src_ptr->water; dest_ptr->pressure = src_ptr->pressure; } #endif
[ "lars.bilke@ufz.de" ]
lars.bilke@ufz.de
09e94ea6892855fe054baecaa114bc0bde63b2c2
e0d7fa423e4bcbe0c2f2eeaac4bd457fbb979e8d
/libgeonlp/Profile.cpp
56fa8699710fc769cd0077d4490feea7b7e62323
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
deton/geonlp-software
9e84539f81a2e9089e51ddaebf1a0766815a4ae9
2363e4ea04823ec39a279ec95c8b624e2bc2091e
refs/heads/master
2020-03-30T16:13:06.038641
2016-11-28T04:02:27
2016-11-28T04:02:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,811
cpp
/// /// @file /// @brief プロファイルクラスの実装。 /// @author 国立情報学研究所 /// /// Copyright (c)2010, NII /// #include "Profile.h" #include <boost/property_tree/ini_parser.hpp> #include <boost/algorithm/string.hpp> #include <iostream> #include "config.h" #include "stdio.h" static int is_file_exists(const std::string& filename) { FILE* fp = fopen((char*)filename.c_str(), "r"); if (!fp) return 0; fclose(fp); return 1; } namespace geonlp { // プロファイルのパスを探す std::string Profile::searchProfile(const std::string& basename) { std::string filename(GEONLP_RESOURCE_FILENAME); std::string rcfilepath = ""; // 環境変数をチェック char* p = std::getenv("GEONLP_DIR"); if (p) { rcfilepath = std::string(p); if (rcfilepath[rcfilepath.length() - 1] == '/') { rcfilepath = rcfilepath.substr(0, rcfilepath.length() - 1); } rcfilepath = rcfilepath + "/" + filename; } std::string fname = filename; if (is_file_exists(rcfilepath)) { ; // 環境変数で指定したファイルがあったので利用する } else if (is_file_exists(fname)) { rcfilepath = fname; } else { fname = std::string(PROFILE_DEFAULT_DIR_PATH) + "/" + filename; if (is_file_exists(fname)) { rcfilepath = fname; } else { fname = std::string("/etc/") + filename; if (is_file_exists(fname)) { rcfilepath = fname; } else { fname = std::string("/usr/etc/") + filename; if (is_file_exists(fname)) { rcfilepath = fname; } else { fname = std::string("/usr/local/etc/") + filename; if (is_file_exists(fname)) { rcfilepath = fname; } } } } } return rcfilepath; } // プロファイルを読み込む void Profile::load(const std::string& f) throw(std::runtime_error) { filepath = f; try { boost::property_tree::ptree prop; read_ini(filepath, prop); formatter = prop.get<std::string>("formatter", ""); // suffix suffix.clear(); suffix_str = prop.get<std::string>("suffix", ""); std::vector<std::string> suffix_data_strs; boost::split(suffix_data_strs, suffix_str, boost::is_any_of("|")); for (std::vector<std::string>::iterator it = suffix_data_strs.begin(); it != suffix_data_strs.end(); it++) { std::vector<std::string> v; boost::split(v, (*it), boost::is_any_of(",")); if (v.size() == 3) { Suffix s(v[0], v[1], v[2]); suffix.push_back(s); } } // spatial spatial.clear(); spatial_str = prop.get<std::string>("spatial", ""); boost::split(spatial, spatial_str, boost::is_any_of("|")); // dictionary dictionary.clear(); dictionary_str = prop.get<std::string>("dictionary", ""); if (dictionary_str.empty()) dictionary_str = ""; // 無指定の場合はすべての辞書を利用 boost::split(dictionary, dictionary_str, boost::is_any_of("|")); // ne_class ne_class.clear(); ne_class_str = prop.get<std::string>("ne_class", ""); if (ne_class_str.empty()) ne_class_str = ".*"; // 無指定の場合はすべてのクラスを利用 boost::split(ne_class, ne_class_str, boost::is_any_of("|")); // address_regex std::string address_regex_str = prop.get<std::string>("address_regex", "^$"); address_regex = boost::regex(address_regex_str); // データファイルディレクトリを取得 // 最後が '/' で終わっていない場合、追加する data_dir = prop.get<std::string>("data_dir", ""); if (data_dir.empty()) throw std::runtime_error("data_dir property is not set in the profile."); if (data_dir.at(data_dir.length() - 1) != '/') data_dir += "/"; // log_dir log_dir = prop.get<std::string>("log_dir", ""); if (log_dir.empty()) log_dir = ""; else if (log_dir.at(log_dir.length() - 1) != '/') log_dir += "/"; #ifdef HAVE_LIBDAMS // dams_path dams_path = prop.get<std::string>("dams_path", ""); if (dams_path.empty()) { // GeoNLP のライブラリパスを探す dams_path = this->get_data_dir() + "dams"; if (!is_file_exists(dams_path + ".dat")) dams_path = ""; // DAMS のデフォルトパスを探す dams_path = std::string(damswrapper::default_dic_path()) + "dams"; if (!is_file_exists(dams_path + ".dat")) dams_path = ""; } if (dams_path.empty()) { std::string msg = std::string("'dams_path' property is not set in the profile, and DAMS dictionary files can't be found in default paths (") + this->get_data_dir() + "dams.dat, " + damswrapper::default_dic_path() + "dams.dat)."; throw std::runtime_error(msg); } #endif /* HAVE_LIBDAMS */ } catch (std::runtime_error& e) { throw e; } } }
[ "sagara@info-proto.com" ]
sagara@info-proto.com
cd7b38299a1049a24d6c705e4bdba05c615b1056
b08ce668500f113100f184ca46b7dc2ae17a6774
/src/load_and_print.cpp
3fa39e83e2a263e2bb8aba3f334baf45e20e6fcf
[ "MIT" ]
permissive
nilsalex/tensor-algebra
826e2dbd0c87f1d91ccc5661aa660451b8461b7b
e878cb528dea7e17225f9a27c75e978d5a5aa216
refs/heads/master
2021-09-12T16:22:23.488005
2018-04-18T14:07:34
2018-04-18T14:07:34
112,498,963
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
#include <iostream> #include <fstream> #include "Expression.h" int main () { Expression expr; expr.LoadFromFile("simplified_area_kinetic.prs"); std::cout << expr.GetLatexString() << std::endl; return 0; }
[ "nils@famalex.de" ]
nils@famalex.de
6a9a0bffc605e10a34015b113ba67525fa62f4b3
5386865e2ea964397b8127aba4b2592d939cd9f2
/codeforces/round219/c.cpp
96844d1d3ae4a2ce7446e7965f135ac92f4cad3b
[]
no_license
HekpoMaH/Olimpiads
e380538b3de39ada60b3572451ae53e6edbde1be
d358333e606e60ea83e0f4b47b61f649bd27890b
refs/heads/master
2021-07-07T14:51:03.193642
2017-10-04T16:38:11
2017-10-04T16:38:11
105,790,126
2
0
null
null
null
null
UTF-8
C++
false
false
671
cpp
#include<bits/stdc++.h> using namespace std; typedef long long lli; int n; int ans; int s[500009],used[500009]; bool chk(int x) { for(int i=1;i<=x;i++) { cout<<i<<" "<<n+i-x<<" "<<s[i]<<" "<<s[n+i-x]<<endl; if(s[i]*2>s[n+i-x])return false; } return true; } int main() { ios_base::sync_with_stdio(false); cin.tie(0); cin>>n; ans=n; for(int i=1;i<=n;i++)cin>>s[i]; //int uk1=1,uk2=2; sort(s+1,s+n+1); int l=0,r=n/2; int mid; while(l<=r) { mid=(l+r)/2; cout<<"cheking for "<<mid<<endl; if(chk(mid)==true)ans=mid,l=mid+1; else r=mid-1; } cout<<n-ans<<endl; }
[ "dgg30" ]
dgg30
e7b24014dfe943799d01e0e65322c7ca885b722b
21ffd735494a4a91400626ba346dd9ebcad94c05
/PSO1/DiaFinalTime.h
f7290cb05b1d382106f55b2305467d5746834de2
[]
no_license
zpb1992/Reentry_Pso
49541641cf0572ec491932061e7bfe8ba4b85517
fdedcb38232423b58699a8508c57bc3c36183ba8
refs/heads/master
2021-04-09T11:22:55.410293
2016-06-22T08:17:00
2016-06-22T08:17:00
61,702,190
3
0
null
null
null
null
UTF-8
C++
false
false
574
h
#pragma once // CDiaFinalTime dialog class CDiaFinalTime : public CDialogEx { DECLARE_DYNAMIC(CDiaFinalTime) public: CDiaFinalTime(CWnd* pParent = NULL); // standard constructor virtual ~CDiaFinalTime(); // Dialog Data enum { IDD = IDD_FINALTIME }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: // double m_t; // double m_t0; // double m_tf; static double m_t; static double m_t0; static double m_tf; static int m_tOption; afx_msg void OnBnClickedOk(); };
[ "1324877912@qq.com" ]
1324877912@qq.com
d1f3b84431074ad3c71d64d40a3fce74e7867c7b
cf712832e57aa551d000c24448af93ff1f46f45f
/libs/asynchronous/test/test_parallel_transform.cpp
0ae41c4ad966b6eb898f4cac16aecbda984e86a2
[]
no_license
CCJY/asynchronous
38381804e413e4a44cd7b3903617cce5b856296b
93b4d6f997c8371826c0503e9e424632af25dbb0
refs/heads/master
2021-01-15T16:11:01.843932
2015-07-30T09:30:53
2015-07-30T09:30:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,057
cpp
// Boost.Asynchronous library // Copyright (C) Christophe Henry 2014 // // Use, modification and distribution is subject to the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // For more information, see http://www.boost.org #include <fstream> #include <functional> #include <iostream> #include <random> #include <set> #include <vector> #include <boost/lexical_cast.hpp> #include <boost/asynchronous/scheduler/single_thread_scheduler.hpp> #include <boost/asynchronous/queue/lockfree_queue.hpp> #include <boost/asynchronous/scheduler_shared_proxy.hpp> #include <boost/asynchronous/scheduler/threadpool_scheduler.hpp> #include <boost/asynchronous/servant_proxy.hpp> #include <boost/asynchronous/post.hpp> #include <boost/asynchronous/trackable_servant.hpp> #include <boost/asynchronous/algorithm/parallel_transform.hpp> #include "test_common.hpp" #include <boost/test/unit_test.hpp> using namespace boost::asynchronous::test; namespace { // main thread id boost::thread::id main_thread_id; bool servant_dtor=false; typedef std::vector<int>::iterator Iterator; struct my_exception : virtual boost::exception, virtual std::exception { virtual const char* what() const throw() { return "my_exception"; } }; struct Servant : boost::asynchronous::trackable_servant<> { typedef int simple_ctor; Servant(boost::asynchronous::any_weak_scheduler<> scheduler) : boost::asynchronous::trackable_servant<>(scheduler, boost::asynchronous::make_shared_scheduler_proxy< boost::asynchronous::threadpool_scheduler< boost::asynchronous::lockfree_queue<>>>(6)) { generate(); } ~Servant() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant dtor not posted."); servant_dtor = true; } boost::shared_future<void> start_parallel_transform() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant async work not posted."); // we need a promise to inform caller when we're done boost::shared_ptr<boost::promise<void> > aPromise(new boost::promise<void>); boost::shared_future<void> fu = aPromise->get_future(); boost::asynchronous::any_shared_scheduler_proxy<> tp = get_worker(); std::vector<boost::thread::id> ids = tp.thread_ids(); auto data_copy = m_data; auto result_copy = m_result; // start long tasks post_callback( [ids, this]() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant work not posted."); BOOST_CHECK_MESSAGE(contains_id(ids.begin(), ids.end(), boost::this_thread::get_id()), "task executed in the wrong thread"); return boost::asynchronous::parallel_transform(this->m_data.begin(), this->m_data.end(), this->m_result.begin(), [](int i) { return ++i; }, 1500, "", 0); }, [aPromise, ids, data_copy, result_copy, this](boost::asynchronous::expected<Iterator> res) mutable { BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant callback in main thread."); BOOST_CHECK_MESSAGE(!contains_id(ids. begin(), ids.end(), boost::this_thread::get_id()), "task callback executed in the wrong thread(pool)"); BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); std::transform(data_copy.begin(), data_copy.end(), result_copy.begin(), [](int i) { return ++i; }); BOOST_CHECK_MESSAGE(result_copy == this->m_result, "parallel_transform gave a wrong value."); // reset generate(); aPromise->set_value(); } ); return fu; } boost::shared_future<void> start_parallel_transform2() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant async work not posted."); // we need a promise to inform caller when we're done boost::shared_ptr<boost::promise<void> > aPromise(new boost::promise<void>); boost::shared_future<void> fu = aPromise->get_future(); std::vector<boost::thread::id> ids = get_worker().thread_ids(); auto data_copy = m_data; auto data2_copy = m_data; auto result_copy = m_result; // start long tasks post_callback( [ids, this]() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant work not posted."); BOOST_CHECK_MESSAGE(contains_id(ids.begin(), ids.end(), boost::this_thread::get_id()), "task executed in the wrong thread"); return boost::asynchronous::parallel_transform(this->m_data.begin(), this->m_data.end(), this->m_data2.begin(), this->m_result.begin(), [](int i, int j) { return i + j; }, 1500, "", 0); }, [aPromise, ids, data_copy, data2_copy, result_copy, this](boost::asynchronous::expected<Iterator> res) mutable { BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant callback in main thread."); BOOST_CHECK_MESSAGE(!contains_id(ids. begin(), ids.end(), boost::this_thread::get_id()), "task callback executed in the wrong thread(pool)"); BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); std::transform(data_copy.begin(), data_copy.end(), data2_copy.begin(), result_copy.begin(), [](int i, int j) { return i + j; }); BOOST_CHECK_MESSAGE(result_copy == this->m_result, "parallel_transform gave a wrong value."); // reset generate(); aPromise->set_value(); } ); return fu; } boost::shared_future<void> start_parallel_transform_range() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant async work not posted."); // we need a promise to inform caller when we're done boost::shared_ptr<boost::promise<void> > aPromise(new boost::promise<void>); boost::shared_future<void> fu = aPromise->get_future(); boost::asynchronous::any_shared_scheduler_proxy<> tp = get_worker(); std::vector<boost::thread::id> ids = tp.thread_ids(); auto data_copy = m_data; auto result_copy = m_result; // start long tasks post_callback( [ids, this]() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant work not posted."); BOOST_CHECK_MESSAGE(contains_id(ids.begin(), ids.end(), boost::this_thread::get_id()), "task executed in the wrong thread"); return boost::asynchronous::parallel_transform(this->m_data, this->m_result.begin(), [](int i) { return ++i; }, 1500, "", 0); }, [aPromise, ids, data_copy, result_copy, this](boost::asynchronous::expected<Iterator> res) mutable { BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant callback in main thread."); BOOST_CHECK_MESSAGE(!contains_id(ids. begin(), ids.end(), boost::this_thread::get_id()), "task callback executed in the wrong thread(pool)"); BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); std::transform(data_copy.begin(), data_copy.end(), result_copy.begin(), [](int i) { return ++i; }); BOOST_CHECK_MESSAGE(result_copy == this->m_result, "parallel_transform gave a wrong value."); // reset generate(); aPromise->set_value(); } ); return fu; } boost::shared_future<void> start_parallel_transform2_range() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant async work not posted."); // we need a promise to inform caller when we're done boost::shared_ptr<boost::promise<void> > aPromise(new boost::promise<void>); boost::shared_future<void> fu = aPromise->get_future(); boost::asynchronous::any_shared_scheduler_proxy<> tp = get_worker(); std::vector<boost::thread::id> ids = tp.thread_ids(); auto data_copy = m_data; auto data2_copy = m_data; auto result_copy = m_result; // start long tasks post_callback( [ids, this]() { BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant work not posted."); BOOST_CHECK_MESSAGE(contains_id(ids.begin(), ids.end(), boost::this_thread::get_id()), "task executed in the wrong thread"); return boost::asynchronous::parallel_transform(this->m_data, this->m_data2, this->m_result.begin(), [](int i, int j) { return i + j; }, 1500, "", 0); }, [aPromise, ids, data_copy, data2_copy, result_copy, this](boost::asynchronous::expected<Iterator> res) mutable { BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); BOOST_CHECK_MESSAGE(main_thread_id != boost::this_thread::get_id(), "servant callback in main thread."); BOOST_CHECK_MESSAGE(!contains_id(ids. begin(), ids.end(), boost::this_thread::get_id()), "task callback executed in the wrong thread(pool)"); BOOST_CHECK_MESSAGE(!res.has_exception(), "servant work threw an exception."); std::transform(data_copy.begin(), data_copy.end(), data2_copy.begin(), result_copy.begin(), [](int i, int j) { return i + j; }); BOOST_CHECK_MESSAGE(result_copy == this->m_result, "parallel_transform gave a wrong value."); // reset generate(); aPromise->set_value(); } ); return fu; } private: // helper, generate vectors void generate() { m_data = std::vector<int>(10000, 1); std::random_device rd; std::mt19937 mt(rd()); std::uniform_int_distribution<> dis(0, 1000); std::generate(m_data.begin(), m_data.end(), std::bind(dis, std::ref(mt))); m_data2 = m_data; m_result.resize(m_data.size()); } std::vector<int> m_data; std::vector<int> m_data2; std::vector<int> m_result; }; class ServantProxy : public boost::asynchronous::servant_proxy<ServantProxy, Servant> { public: template<class Scheduler> ServantProxy(Scheduler scheduler) : boost::asynchronous::servant_proxy<ServantProxy, Servant>(scheduler) {} BOOST_ASYNC_FUTURE_MEMBER(start_parallel_transform) BOOST_ASYNC_FUTURE_MEMBER(start_parallel_transform2) BOOST_ASYNC_FUTURE_MEMBER(start_parallel_transform_range) BOOST_ASYNC_FUTURE_MEMBER(start_parallel_transform2_range) }; } BOOST_AUTO_TEST_CASE( test_parallel_transform ) { servant_dtor=false; { auto scheduler = boost::asynchronous::make_shared_scheduler_proxy<boost::asynchronous::single_thread_scheduler< boost::asynchronous::lockfree_queue<>>>(); main_thread_id = boost::this_thread::get_id(); ServantProxy proxy(scheduler); boost::shared_future<boost::shared_future<void> > fuv = proxy.start_parallel_transform(); try { boost::shared_future<void> resfuv = fuv.get(); resfuv.get(); } catch(...) { BOOST_FAIL( "unexpected exception" ); } } BOOST_CHECK_MESSAGE(servant_dtor,"servant dtor not called."); } BOOST_AUTO_TEST_CASE( test_parallel_transform2 ) { servant_dtor=false; { auto scheduler = boost::asynchronous::make_shared_scheduler_proxy<boost::asynchronous::single_thread_scheduler< boost::asynchronous::lockfree_queue<>>>(); main_thread_id = boost::this_thread::get_id(); ServantProxy proxy(scheduler); boost::shared_future<boost::shared_future<void> > fuv = proxy.start_parallel_transform2(); try { boost::shared_future<void> resfuv = fuv.get(); resfuv.get(); } catch(...) { BOOST_FAIL( "unexpected exception" ); } } BOOST_CHECK_MESSAGE(servant_dtor,"servant dtor not called."); } BOOST_AUTO_TEST_CASE( test_parallel_transform_range ) { servant_dtor=false; { auto scheduler = boost::asynchronous::make_shared_scheduler_proxy<boost::asynchronous::single_thread_scheduler< boost::asynchronous::lockfree_queue<>>>(); main_thread_id = boost::this_thread::get_id(); ServantProxy proxy(scheduler); boost::shared_future<boost::shared_future<void> > fuv = proxy.start_parallel_transform_range(); try { boost::shared_future<void> resfuv = fuv.get(); resfuv.get(); } catch(...) { BOOST_FAIL( "unexpected exception" ); } } BOOST_CHECK_MESSAGE(servant_dtor,"servant dtor not called."); } BOOST_AUTO_TEST_CASE( test_parallel_transform2_range ) { servant_dtor=false; { auto scheduler = boost::asynchronous::make_shared_scheduler_proxy<boost::asynchronous::single_thread_scheduler< boost::asynchronous::lockfree_queue<>>>(); main_thread_id = boost::this_thread::get_id(); ServantProxy proxy(scheduler); boost::shared_future<boost::shared_future<void> > fuv = proxy.start_parallel_transform2_range(); try { boost::shared_future<void> resfuv = fuv.get(); resfuv.get(); } catch(...) { BOOST_FAIL( "unexpected exception" ); } } BOOST_CHECK_MESSAGE(servant_dtor,"servant dtor not called."); }
[ "christophe.j.henry@googlemail.com" ]
christophe.j.henry@googlemail.com
46efda9100ab08863dcd7711143da10954423751
f646a3620bfa9d9c94d1de7e33818caca23e7fd1
/ur-wrap.hpp
54249fb5da0db222ad788a04ee0c1734ab2bde63
[]
no_license
bitmark-inc/go-seedtool
0580ecd97417c72ab62679a72f8aa9552c058e60
96364f5e9d96e11723d078aff3749f5afb12ebc6
refs/heads/master
2022-12-22T11:14:28.088538
2020-10-05T03:56:00
2020-10-05T03:56:00
296,525,600
0
0
null
null
null
null
UTF-8
C++
false
false
76
hpp
#ifndef URHELPER_H_ #define URHELPER_H_ #include <bc-ur/bc-ur.hpp> #endif
[ "jim@bitmark.com" ]
jim@bitmark.com
f16f40d4fc1a7f05362dd4ebddce5afdfc4f6e26
1d467663d366e197046f12fd8ac8c7b3563769d5
/Python_MQTT2Arduino/arduinoMmsg/arduinoMmsg.ino
1f82b06ead56851dad21cfa72341ca11d31fba59
[ "MIT" ]
permissive
CrazyFraug/OpenHabArtilectFutura16
8f988e4c7b1df0d29515fcb58c1eeb368ac22182
e45213fbbbce9f420bdee1188bac534c00394771
refs/heads/master
2021-01-13T12:29:19.899430
2018-12-18T15:36:42
2018-12-18T15:36:42
72,570,199
1
0
null
null
null
null
UTF-8
C++
false
false
4,846
ino
#define LOG_DEBUG(str) Serial.println(str) #define LOG_ERROR(str) Serial.println(str) #include "msgFromMQTT.h" String sketchFullName = __FILE__; #define PIN_CAPTOR 10 #define PIN_LED 13 stListPin listPin[] = { stListPin(PIN_LED, "LED"), stListPin(PIN_CAPTOR, "CAPTOR unknown") }; int listPinSize = sizeof(listPin) / sizeof(stListPin); // list of available commandes (user) that the arduino will accept int switchLed1(const String& dumb); // list of available commandes (system ctrl) that the arduino will accept // example: int sendSketchId(const String& dumb); // list of available commands (user) that the arduino will accept Commande cmdos[] = { Commande("SendValue", &sendMessageStatus), Commande("S", &sendMessageStatus), Commande("ledBlink", &ledBlinkTime), Commande("lit1/switch", &switchLed1) }; int cmdosSize = sizeof(cmdos) / sizeof(Commande); // list of available commands (system ctrl) that the arduino will accept Commande cmds[] = { Commande("idSketch", &sendSketchId), Commande("idBuild", &sendSketchBuild), Commande("listCmdAT", &sendListCmdAT), Commande("listCmdDO", &sendListCmdDO), Commande("listPin", &sendListPin), Commande("pinMode", &cmdPinMode), Commande("pinRead", &cmdPinRead), Commande("pinWrite", &cmdPinWrite) }; int cmdsSize = sizeof(cmds) / sizeof(Commande); /*---------------------------------------------------------------*/ /* setup and loop function */ /*---------------------------------------------------------------*/ void setup() { pinMode(PIN_LED, OUTPUT); Serial.begin(9600); inputMessage.reserve(200); // I send identification of sketch sendSketchId(""); sendSketchBuild(""); } void loop() { checkMessageReceived(); // because of bad communication, some message may be stucked in // serial buffer. If so, we trace it checkNoStuckMessageInBuffer(); // blink Led. blink time is set with external cmd ledBlinkTime //blinkLed(); // I slow down Arduino delay(10); } void serialEvent() { serialEventMFMQTT(); } /*---------------------------------------------------------------*/ /* list of user function */ /*---------------------------------------------------------------*/ // switch the led On or Off int switchLed1(const String& sOnOff) { // sCmdAndBlinkTime contains cmd and value with this format cmd:value // value must exist int ind = sOnOff.indexOf(":"); if (ind < 0) { LOG_ERROR(F("switchLed cmd needs 1 value")); String msg2py = msg2pyStart + "switchLed/KO" + msg2pyEnd; Serial.print(msg2py); return 1; } // we get value part String sValue = sOnOff.substring(ind+1); // value must be ON or OFF if ( ( ! sValue.equals("ON")) && ( ! sValue.equals("OFF")) ) { LOG_ERROR(F("switchLed: value must be ON or OFF")); String msg2py = msg2pyStart + F("switchLed/KO") + msg2pyEnd; Serial.print(msg2py); return 2; } int iValue=0; // converts ON / OFF to 1 / 0 if (sValue.equals("ON")) iValue = 1; else if (sValue.equals("OFF")) iValue = 0; else Serial.println ("jamais de la vie"); digitalWrite(PIN_LED, iValue); // I send back OK msg String msg2py = msg2mqttStart + F("switchLed/OK:") + sValue + msg2pyEnd; Serial.print(msg2py); // I send back state msg msg2py = msg2mqttStart + F("etat:") + sValue + msg2pyEnd; Serial.print(msg2py); return 0; } // switch the led On or Off int switchLed2(const String& sOnOff) { // sCmdAndBlinkTime contains cmd and value with this format cmd:value // value must exist int ind = sOnOff.indexOf(":"); if (ind < 0) { LOG_ERROR(F("switchLed cmd needs 1 value")); String msg2py = msg2pyStart + "switchLed/KO" + msg2pyEnd; Serial.print(msg2py); return 1; } // we get value part String sValue = sOnOff.substring(ind+1); // value must be ON or OFF if ( ( ! sValue.equals("ON")) && ( ! sValue.equals("OFF")) ) { LOG_ERROR(F("switchLed: value must be ON or OFF")); String msg2py = msg2pyStart + F("switchLed/KO") + msg2pyEnd; Serial.print(msg2py); return 2; } int iValue=0; // converts ON / OFF to 1 / 0 if (sValue.equals("ON")) iValue = 1; else if (sValue.equals("OFF")) iValue = 0; else Serial.println ("jamais de la vie"); digitalWrite(PIN_LED, iValue); // I send back OK msg String msg2py = msg2mqttStart + F("switchLed/OK:") + sValue + msg2pyEnd; Serial.print(msg2py); // I send back state msg msg2py = msg2mqttStart + F("etat:") + sValue + msg2pyEnd; Serial.print(msg2py); return 0; }
[ "bozec.arnaud@free.fr" ]
bozec.arnaud@free.fr
8888d217d598e6776d43454f4bfd3056e566723c
64e4fabf9b43b6b02b14b9df7e1751732b30ad38
/src/chromium/gen/gen_combined/services/service_manager/public/mojom/service_control.mojom-blink.cc
ac52d667ffead2b8fad684fd853b8a64ba3d1e33
[ "BSD-3-Clause" ]
permissive
ivan-kits/skia-opengl-emscripten
8a5ee0eab0214c84df3cd7eef37c8ba54acb045e
79573e1ee794061bdcfd88cacdb75243eff5f6f0
refs/heads/master
2023-02-03T16:39:20.556706
2020-12-25T14:00:49
2020-12-25T14:00:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,121
cc
// 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. #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-private-field" #elif defined(_MSC_VER) #pragma warning(push) #pragma warning(disable:4056) #pragma warning(disable:4065) #pragma warning(disable:4756) #endif #include "services/service_manager/public/mojom/service_control.mojom-blink.h" #include <math.h> #include <stdint.h> #include <utility> #include "base/location.h" #include "base/logging.h" #include "base/run_loop.h" #include "base/task/common/task_annotator.h" #include "mojo/public/cpp/bindings/lib/message_internal.h" #include "mojo/public/cpp/bindings/lib/serialization_util.h" #include "mojo/public/cpp/bindings/lib/unserialized_message_context.h" #include "mojo/public/cpp/bindings/lib/validate_params.h" #include "mojo/public/cpp/bindings/lib/validation_context.h" #include "mojo/public/cpp/bindings/lib/validation_errors.h" #include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h" #include "services/service_manager/public/mojom/service_control.mojom-params-data.h" #include "services/service_manager/public/mojom/service_control.mojom-shared-message-ids.h" #include "services/service_manager/public/mojom/service_control.mojom-blink-import-headers.h" #include "mojo/public/cpp/bindings/lib/wtf_serialization.h" #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_SERVICE_CONTROL_MOJOM_BLINK_JUMBO_H_ #define SERVICES_SERVICE_MANAGER_PUBLIC_MOJOM_SERVICE_CONTROL_MOJOM_BLINK_JUMBO_H_ #endif namespace service_manager { namespace mojom { namespace blink { const char ServiceControl::Name_[] = "service_manager.mojom.ServiceControl"; ServiceControlProxy::ServiceControlProxy(mojo::MessageReceiverWithResponder* receiver) : receiver_(receiver) { } void ServiceControlProxy::RequestQuit( ) { #if BUILDFLAG(MOJO_TRACE_ENABLED) TRACE_EVENT0("mojom", "<class 'jinja2::utils::Namespace'>::ServiceControl::RequestQuit"); #endif const bool kExpectsResponse = false; const bool kIsSync = false; const uint32_t kFlags = ((kExpectsResponse) ? mojo::Message::kFlagExpectsResponse : 0) | ((kIsSync) ? mojo::Message::kFlagIsSync : 0); mojo::Message message( internal::kServiceControl_RequestQuit_Name, kFlags, 0, 0, nullptr); auto* buffer = message.payload_buffer(); ::service_manager::mojom::internal::ServiceControl_RequestQuit_Params_Data::BufferWriter params; mojo::internal::SerializationContext serialization_context; params.Allocate(buffer); message.AttachHandlesFromSerializationContext( &serialization_context); #if defined(ENABLE_IPC_FUZZER) message.set_interface_name(ServiceControl::Name_); message.set_method_name("RequestQuit"); #endif // This return value may be ignored as false implies the Connector has // encountered an error, which will be visible through other means. ignore_result(receiver_->Accept(&message)); } // static bool ServiceControlStubDispatch::Accept( ServiceControl* impl, mojo::Message* message) { switch (message->header()->name) { case internal::kServiceControl_RequestQuit_Name: { #if BUILDFLAG(MOJO_TRACE_ENABLED) TRACE_EVENT1( "mojom", "(Impl)<class 'jinja2::utils::Namespace'>::ServiceControl::RequestQuit", "message", message->name()); #endif base::TaskAnnotator::ScopedSetIpcProgramCounter scoped_ipc_pc( base::GetProgramCounter()); mojo::internal::MessageDispatchContext context(message); DCHECK(message->is_serialized()); internal::ServiceControl_RequestQuit_Params_Data* params = reinterpret_cast<internal::ServiceControl_RequestQuit_Params_Data*>( message->mutable_payload()); mojo::internal::SerializationContext serialization_context; serialization_context.TakeHandlesFromMessage(message); bool success = true; ServiceControl_RequestQuit_ParamsDataView input_data_view(params, &serialization_context); if (!success) { ReportValidationErrorForMessage( message, mojo::internal::VALIDATION_ERROR_DESERIALIZATION_FAILED, ServiceControl::Name_, 0, false); return false; } // A null |impl| means no implementation was bound. DCHECK(impl); impl->RequestQuit(); return true; } } return false; } // static bool ServiceControlStubDispatch::AcceptWithResponder( ServiceControl* impl, mojo::Message* message, std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { switch (message->header()->name) { case internal::kServiceControl_RequestQuit_Name: { break; } } return false; } bool ServiceControlRequestValidator::Accept(mojo::Message* message) { if (!message->is_serialized() || mojo::internal::ControlMessageHandler::IsControlMessage(message)) { return true; } mojo::internal::ValidationContext validation_context( message->payload(), message->payload_num_bytes(), message->handles()->size(), message->payload_num_interface_ids(), message, "ServiceControl RequestValidator"); switch (message->header()->name) { case internal::kServiceControl_RequestQuit_Name: { if (!mojo::internal::ValidateMessageIsRequestWithoutResponse( message, &validation_context)) { return false; } if (!mojo::internal::ValidateMessagePayload< internal::ServiceControl_RequestQuit_Params_Data>( message, &validation_context)) { return false; } return true; } default: break; } // Unrecognized message. ReportValidationError( &validation_context, mojo::internal::VALIDATION_ERROR_MESSAGE_HEADER_UNKNOWN_METHOD); return false; } } // namespace blink } // namespace mojom } // namespace service_manager namespace mojo { } // namespace mojo #if defined(__clang__) #pragma clang diagnostic pop #elif defined(_MSC_VER) #pragma warning(pop) #endif
[ "trofimov_d_a@magnit.ru" ]
trofimov_d_a@magnit.ru
eca7597de066c9ea1626aa13112c998200da1cb3
9824d607fab0a0a827abff255865f320e2a7a692
/界面资源/[XTreme.Toolkit.9.6.MFC].Xtreme.Toolkit.Pro.v9.60/Samples/CommandBars/CustomThemes/ChildFrm.h
561a70893d19423f6a523508a21339e6ef2e3397
[]
no_license
tuian/pcshare
013b24af954b671aaf98604d6ab330def675a561
5d6455226d9720d65cfce841f8d00ef9eb09a5b8
refs/heads/master
2021-01-23T19:16:44.227266
2014-09-18T02:31:05
2014-09-18T02:31:05
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,982
h
// ChildFrm.h : interface of the CChildFrame class // // This file is a part of the XTREME TOOLKIT PRO MFC class library. // ©1998-2005 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT OF CODEJOCK SOFTWARE. // // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A // SINGLE COMPUTER. // // CONTACT INFORMATION: // support@codejock.com // http://www.codejock.com // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_CHILDFRM_H__4AC84AD4_509C_40B0_9C84_7DE81EACE731__INCLUDED_) #define AFX_CHILDFRM_H__4AC84AD4_509C_40B0_9C84_7DE81EACE731__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CChildFrame : public CMDIChildWnd { DECLARE_DYNCREATE(CChildFrame) public: CChildFrame(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CChildFrame) virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CChildFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(CChildFrame) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CHILDFRM_H__4AC84AD4_509C_40B0_9C84_7DE81EACE731__INCLUDED_)
[ "sincoder@vip.qq.com" ]
sincoder@vip.qq.com
16842a8437d95ad4003924b9badda39b03585d9e
8377def155c50b83a5702104c9f2384d08e70ecb
/CoderGenerator/libCoderGenerator/main.cpp
0bc1a364f84405bafd5478a247e690d5a0158bb5
[]
no_license
kangaxx/MyLessons
d3f49d9a60726a744cd9c3e879a17234962b78e8
38cd1dd1e7e455b0e1ecbcdcd9a640010bbc4aaa
refs/heads/master
2022-10-17T12:03:51.304298
2019-10-16T13:00:45
2019-10-16T13:00:45
27,797,707
1
0
null
2022-10-04T23:54:29
2014-12-10T02:06:19
Makefile
UTF-8
C++
false
false
5,600
cpp
#include "dnifgenerator.h" using namespace std; DCodeGenerator* DCodeGenerator::sp_CgInstance = NULL; string RemoveFlagTag(string tagStr, int tagSize) { tagStr.erase(tagStr.begin(),tagStr.begin()+tagSize); tagStr.erase(tagStr.end()-tagSize,tagStr.end()); return tagStr; } static vector<DCppTemplate::stc_Flag> sFindString(const char *source, const char *flagLeft, const char *flagRight,int length,int FlagSize) { vector<DCppTemplate::stc_Flag> result; int b=-1,e=-1; for(int i = 0;i < length; i++) { if (strncmp(&source[i],flagLeft,FlagSize-1)==0) { if (e < 0) { b = i; i += FlagSize - 2; } else { b = -1; e = -1; } } else if (strncmp(&source[i],flagRight,FlagSize-1)==0) { if (b >= 0 && b < i) { DCppTemplate::stc_Flag temp; e = i+FlagSize-1; char *kk; kk = new char[e-b+1]; memcpy(kk,&source[b],e-b); kk[e-b] ='\0'; temp.Contain = kk; temp.Contain = RemoveFlagTag(temp.Contain,FlagSize-1); temp.beginPos = b; temp.endPos = e; result.push_back(temp); delete []kk; i += FlagSize - 2; } b = -1; e = -1; } } return result; } eCGFlagType GetFlagType(string flagStr) { if (flagStr.length() <= 0) return CG_FLAG_NONE; vector<std::string> flagBegins; flagBegins.push_back(STR_CGFLAG_MACRO_BEGIN); flagBegins.push_back(STR_CGFLAG_FOMULE_BEGIN); for (auto Tag : flagBegins) { if (sFindString(flagStr.c_str(),Tag.c_str(),STR_CGFLAG_FLAGTYPE_END.c_str(),flagStr.length(),(STR_CGFLAG_FLAGTYPE_END.length()+1)).size()>0) { if (Tag == STR_CGFLAG_MACRO_BEGIN) return CG_FLAG_Macro; else if (Tag == STR_CGFLAG_FOMULE_BEGIN) return CG_FLAG_Fomule; } } return CG_FLAG_NONE; } vector<DCppTemplate::stc_Flag> FindMacroFlag(vector<DCppTemplate::stc_Flag> allFlag) { vector<DCppTemplate::stc_Flag> result; for (auto Tag : allFlag) { if (GetFlagType(Tag.Contain) == CG_FLAG_Macro) result.push_back(Tag); cout << " in find macro : " << Tag.Contain << endl; } return result; } bool CheckFlagSequence(vector<DCppTemplate::stc_Flag> allFlag) { for (int i=0;i<allFlag.size();i++) { if (allFlag[i].beginPos >= allFlag[i].endPos) return false; if (i < allFlag.size()-1) if (allFlag[i].endPos > allFlag[i+1].beginPos) return false; } return true; } string UpdateMacro(string source, DCodeMacro cm[], int MacroNum) { string result; vector<DCppTemplate::stc_Flag> allFlag; char cl[3] = "/*"; char cr[3] = "*/"; allFlag = sFindString(source.c_str(),cl,cr,source.length(),sizeof(cr)); vector<DCppTemplate::stc_Flag> macroFlag; macroFlag = FindMacroFlag(allFlag); if (!CheckFlagSequence(macroFlag)) return source; int copyPos = 0; for (auto tf : macroFlag) { for (int i = 0; i < MacroNum; i++) { if (RemoveFlagTag(tf.Contain,STR_CGFLAG_FLAGTYPE_END.length()) == cm[i].GetName()) { cout << "bp:" << tf.beginPos << " and ep:" << tf.endPos << endl; result += source.substr(copyPos,tf.beginPos-copyPos); result += cm[i].GetValue(); copyPos = tf.endPos; } } } result += source.substr(copyPos,source.length() - copyPos); return result; } int main() { try { FILE *f; f = fopen("/home/gxx/Codes/svndb/files/test.txt","r"); if (!f) cout << "fopen error!" << endl; // DCppTemplate cpp(f); DIfTemplate *x; x = new DCppTemplate(f); // char c; // int n = 0; // char *x = new char[INT_MAX_TEMPLATESIZE]; // int t = fread(x,sizeof(char),INT_MAX_TEMPLATESIZE,f); // string test(x); // cout << "file contain is : " << test; // char cl[3] = "/*"; // char cr[3] = "*/"; // vector<DCppTemplate::stc_Flag> dc = sFindString(x,cl,cr,t,sizeof(cr)); // for (auto dct : dc) // { // int x = GetFlagType(dct.Contain); // cout << dct.Contain << " type is :" << x << endl; // cout << "flag after RemoveTag: " << RemoveFlagTag(dct.Contain,2) << endl; // } // 0123456789012345678901234567890123456789012345678901234567890123456789 // string test= "/*<mSomebody/>*/ have /*<mNum/>*/ /*<mSomething/>*/. /*<mSomebody/>*/ is a good boy."; // string test = "/*<mSomebody/>*//*<mNum/>*/ have /*<xNum/>*/ /*<mSomething/>*/.\n /*<mSomebody/>*/ is a good boy. "; DCodeMacro cm[3]; cm[0].SetName("Something"); cm[0].SetValue("Book"); cm[1].SetName("Somebody"); cm[1].SetValue("Tom"); cm[2].SetName("Num"); cm[2].SetValue("3"); cout << "update!" << endl; // cout << UpdateMacro(test,cm,3)+ "ed" << endl; cout << x->GetUpdatedCodes(0,cm,3) << "ed" << endl; delete x; return 0; } catch(const char* err) { cout << err << endl; } }
[ "lion_kangaxx@126.com" ]
lion_kangaxx@126.com
d4c1a36bfbd41dd35811a6077eee97dd943e31df
e217eaf05d0dab8dd339032b6c58636841aa8815
/IfcBridge/src/OpenInfraPlatform/IfcBridge/entity/include/IfcStructuralSurfaceMemberVarying.h
457c30a634157ea2ed433ee4ed18c4e576562953
[]
no_license
bigdoods/OpenInfraPlatform
f7785ebe4cb46e24d7f636e1b4110679d78a4303
0266e86a9f25f2ea9ec837d8d340d31a58a83c8e
refs/heads/master
2021-01-21T03:41:20.124443
2016-01-26T23:20:21
2016-01-26T23:20:21
57,377,206
0
1
null
2016-04-29T10:38:19
2016-04-29T10:38:19
null
UTF-8
C++
false
false
4,005
h
/*! \verbatim * \copyright Copyright (c) 2014 Julian Amann. All rights reserved. * \date 2014-02-15 23:00 * \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann) * \brief This file is part of the BlueFramework. * \endverbatim */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "../../model/shared_ptr.h" #include "../../model/IfcBridgeObject.h" #include "IfcStructuralSurfaceMember.h" namespace OpenInfraPlatform { namespace IfcBridge { //ENTITY class IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying(); IfcStructuralSurfaceMemberVarying( int id ); ~IfcStructuralSurfaceMemberVarying(); // method setEntity takes over all attributes from another instance of the class virtual void setEntity( shared_ptr<IfcBridgeEntity> other ); virtual void getStepLine( std::stringstream& stream ) const; virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const; virtual void readStepData( std::vector<std::string>& args, const std::map<int,shared_ptr<IfcBridgeEntity> >& map ); virtual void setInverseCounterparts( shared_ptr<IfcBridgeEntity> ptr_self ); virtual void unlinkSelf(); virtual const char* classname() const { return "IfcStructuralSurfaceMemberVarying"; } // IfcRoot ----------------------------------------------------------- // attributes: // shared_ptr<IfcGloballyUniqueId> m_GlobalId; // shared_ptr<IfcOwnerHistory> m_OwnerHistory; //optional // shared_ptr<IfcLabel> m_Name; //optional // shared_ptr<IfcText> m_Description; //optional // IfcObjectDefinition ----------------------------------------------------------- // inverse attributes: // std::vector<weak_ptr<IfcRelAssigns> > m_HasAssignments_inverse; // std::vector<weak_ptr<IfcRelNests> > m_Nests_inverse; // std::vector<weak_ptr<IfcRelNests> > m_IsNestedBy_inverse; // std::vector<weak_ptr<IfcRelDeclares> > m_HasContext_inverse; // std::vector<weak_ptr<IfcRelAggregates> > m_IsDecomposedBy_inverse; // std::vector<weak_ptr<IfcRelAggregates> > m_Decomposes_inverse; // std::vector<weak_ptr<IfcRelAssociates> > m_HasAssociations_inverse; // IfcObject ----------------------------------------------------------- // attributes: // shared_ptr<IfcLabel> m_ObjectType; //optional // inverse attributes: // std::vector<weak_ptr<IfcRelDefinesByObject> > m_IsDeclaredBy_inverse; // std::vector<weak_ptr<IfcRelDefinesByObject> > m_Declares_inverse; // std::vector<weak_ptr<IfcRelDefinesByType> > m_IsTypedBy_inverse; // std::vector<weak_ptr<IfcRelDefinesByProperties> > m_IsDefinedBy_inverse; // IfcProduct ----------------------------------------------------------- // attributes: // shared_ptr<IfcObjectPlacement> m_ObjectPlacement; //optional // shared_ptr<IfcProductRepresentation> m_Representation; //optional // inverse attributes: // std::vector<weak_ptr<IfcRelAssignsToProduct> > m_ReferencedBy_inverse; // IfcStructuralItem ----------------------------------------------------------- // inverse attributes: // std::vector<weak_ptr<IfcRelConnectsStructuralActivity> > m_AssignedStructuralActivity_inverse; // IfcStructuralMember ----------------------------------------------------------- // inverse attributes: // std::vector<weak_ptr<IfcRelConnectsStructuralMember> > m_ConnectedBy_inverse; // IfcStructuralSurfaceMember ----------------------------------------------------------- // attributes: // shared_ptr<IfcStructuralSurfaceMemberTypeEnum> m_PredefinedType; // shared_ptr<IfcPositiveLengthMeasure> m_Thickness; //optional // IfcStructuralSurfaceMemberVarying ----------------------------------------------------------- }; } // end namespace IfcBridge } // end namespace OpenInfraPlatform
[ "planung.cms.bv@tum.de" ]
planung.cms.bv@tum.de
9645b91b0f6ada94462cebfb0be8a5dd6d2fab2b
bce407914a5e22beec045d376d5d7788bb3dee45
/main.cpp
c6ae482c7aca12908d54e3d6d8d360c2f9dc66fe
[]
no_license
dubeamit/TicTacToe
b424231619e0f797ffd156a1aa9be1129fe19485
af6c5ec0053054c9921004f7516134cf975dbfda
refs/heads/master
2020-04-27T05:49:37.660415
2019-03-06T07:27:18
2019-03-06T07:27:18
174,091,433
0
0
null
null
null
null
UTF-8
C++
false
false
1,172
cpp
#include "TicTacToe.h" int main(){ int moves = 0; int row_pos, col_pos; TicTacToe t; string player1, player2; cout << "\nEnter the names of player1 & player2 " << endl; cin >> player1 >> player2; t.setPlayerName(player1,0); t.setPlayerName(player2,1); while(moves < 16){ if(moves%2 == 0){ cout << "\nPlayer1 enter position: "; cin >> row_pos >> col_pos; if(t.setPosition(row_pos,col_pos,'X')){ continue; } t.printGrid(); if(t.checkWinCondition(moves)){ cout << "\nPlayer "<<t.getPlayerName(0)<< " has won " << endl; break; } } else { cout << "\nPlayer2 enter position: "; cin >> row_pos >> col_pos; if(t.setPosition(row_pos,col_pos,'O')){ continue; } t.printGrid(); if(t.checkWinCondition(moves)){ cout << "\nPlayer "<<t.getPlayerName(1)<< " has won " << endl; break; } } moves++; } return 0; }
[ "dube.amit15@gmail.com" ]
dube.amit15@gmail.com
ae89d731b480f3d865c79a269a7e047cae3ceed6
fe58581d25467deb5ca2e87cfdd93894b643f5ca
/dll断链/Source/common/HookApi.h
5963b0ea08bca06e8a95fe673e1f44b064e73b45
[]
no_license
radtek/dll-
2de55cabb7989a72aeba7aa2ecf02d36e0d18624
523b43dcb4c4e5b35d89ecb68a996fcb43a3f8d7
refs/heads/master
2020-06-14T09:59:37.419795
2015-07-31T08:45:36
2015-07-31T08:45:36
null
0
0
null
null
null
null
GB18030
C++
false
false
5,192
h
#pragma once #include <windows.h> #include <Dbghelp.h> #include <Psapi.h> #include <string> #include <iostream> #pragma comment(lib, "Dbghelp.lib") #pragma comment(lib, "Psapi.lib") //未文档化 typedef struct _IMAGE_DELAY_IMPORT_DESCRIPTOR { DWORD grAttrs; DWORD DLLName; DWORD Hmod; DWORD IAT; DWORD INT; DWORD BoundIAT; DWORD UnloadIAT; DWORD TimeDateStamp; }IMAGE_DELAY_IMPORT_DESCRIPTOR, *PIMAGE_DELAY_IMPORT_DESCRIPTOR; //修改IAT策略的具体实现 struct CIatPolicyImpl { static void Replace(LPSTR dllName, LPVOID oldFuncBase, LPVOID newFuncBase) { HMODULE hMods[1024] = {0}; DWORD cbNeeded; HANDLE hProcess = ::GetCurrentProcess(); if( ::EnumProcessModules( hProcess, hMods, sizeof(hMods), &cbNeeded)) { for ( UINT i = 0; i < (cbNeeded / sizeof(HMODULE)); i++ ) ReplaceIATEntryInImageImportTable( hMods[i], dllName, oldFuncBase, newFuncBase); } } static BOOL ReplaceIATEntryInImageImportTable(HANDLE hBaseAddress, LPCSTR lpszDllName, LPVOID pfnCurrent, LPVOID pfnNew) { // 获取 IMAGE_IMPORT_DESCRIPTOR DWORD dwSize = 0; PIMAGE_SECTION_HEADER pFoundHeader = NULL; PIMAGE_IMPORT_DESCRIPTOR pImgImportDescriptor=(PIMAGE_IMPORT_DESCRIPTOR)ImageDirectoryEntryToDataEx(hBaseAddress, TRUE, IMAGE_DIRECTORY_ENTRY_IMPORT, &dwSize, &pFoundHeader); if( pImgImportDescriptor == NULL ) return FALSE; while (pImgImportDescriptor->Name) { if ( _strcmpi((CHAR*)((PBYTE)hBaseAddress+pImgImportDescriptor->Name), lpszDllName) == 0 ) { break; // 找到 } ++pImgImportDescriptor; } // 这里需要特别注意!!!! // 如果在IMAGE_DIRECTORY_ENTRY_IMPORT找不到,这尝试在IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT中找 // mshtml.dll就是使用了延迟加载的。如果不这样会挂钩不上。 if( !pImgImportDescriptor->Name ) return ReplaceIATEntryInDelayImageImportTable( hBaseAddress, lpszDllName, pfnCurrent, pfnNew); // 获取 IAT PIMAGE_THUNK_DATA pThunk = (PIMAGE_THUNK_DATA)(((LPBYTE)hBaseAddress) + pImgImportDescriptor->FirstThunk); // 循环IAT查找 while(pThunk->u1.Function) { PDWORD lpAddr = (PDWORD)&(pThunk->u1.Function); if(*lpAddr == (DWORD)pfnCurrent) { // 找到并修改地址为转接函数 ::WriteProcessMemory(::GetCurrentProcess(), lpAddr, &pfnNew, sizeof(DWORD), NULL); return TRUE; } pThunk++; } return FALSE; } static BOOL ReplaceIATEntryInDelayImageImportTable(HANDLE hBaseAddress, LPCSTR lpszDllName, LPVOID pfnCurrent, LPVOID pfnNew) { DWORD dwSize = 0; PIMAGE_SECTION_HEADER pFoundHeader = NULL; PIMAGE_DELAY_IMPORT_DESCRIPTOR pImgDelayDescr=(PIMAGE_DELAY_IMPORT_DESCRIPTOR)ImageDirectoryEntryToDataEx(hBaseAddress, TRUE, IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT, &dwSize, &pFoundHeader); if( pImgDelayDescr == NULL ) { return FALSE; } while (pImgDelayDescr->DLLName) { if ( _strcmpi((CHAR*)((PBYTE)hBaseAddress+pImgDelayDescr->DLLName), lpszDllName) == 0 ) { break; } ++pImgDelayDescr; } // 找不到此模块 if( !pImgDelayDescr->DLLName ) return FALSE; // 获取 IAT PIMAGE_THUNK_DATA pThunk = NULL; //不知道是否正确 if( (pImgDelayDescr->grAttrs & 0x1) == 0 ) return FALSE; pThunk = (PIMAGE_THUNK_DATA)(((LPBYTE)hBaseAddress) + pImgDelayDescr->IAT); // 循环IAT查找 while(pThunk->u1.Function) { PDWORD lpAddr = (PDWORD)&(pThunk->u1.Function); if(*lpAddr == (DWORD)pfnCurrent) { // 替换 ::WriteProcessMemory(::GetCurrentProcess(), lpAddr, &pfnNew, sizeof(DWORD), NULL); return TRUE; } pThunk++; } return FALSE; } }; //修改IAT的策略 template <typename FT> class CIatPolicy { protected: void Replace(LPSTR dllName, FT oldFuncBase, FT newFuncBase) { return CIatPolicyImpl::Replace(dllName, oldFuncBase, newFuncBase); } }; //基于策略类的Hook API类 template <typename FuncType, template<typename > class Policy=CIatPolicy > class CHookApi : public Policy<FuncType> { public: CHookApi() : m_IsHook(false), m_old(NULL), m_new(NULL) {} ~CHookApi() { Recover(); } void Hook(LPSTR dllName, FuncType oldFuncBase, FuncType newFuncBase) { if ( m_IsHook ) return; m_IsHook=true; m_dll=dllName; m_old=oldFuncBase; m_new=newFuncBase; Policy<FuncType>::Replace(dllName, oldFuncBase, newFuncBase); } void Recover() { if ( !m_IsHook ) return; m_IsHook=false; Policy<FuncType>::Replace((LPSTR)m_dll.c_str(), m_new, m_old); } const FuncType Addr() const { return m_old; } private: bool m_IsHook; std::string m_dll; FuncType m_old; FuncType m_new; }; /* //MessageBox的函数指针类型 typedef int (WINAPI* MyMessageBox)(HWND hWnd,LPCSTR lpText,LPCSTR lpCaption,UINT uType); //保留就地址用的 MyMessageBox p=NULL; //自己的MessageBox函数 int WINAPI MyMessageBoxA( HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType) { std::cout<<lpText<<std::endl; if ( !p ) return 0; return p(hWnd, lpText, lpCaption, uType); }*/
[ "646535763@qq.com" ]
646535763@qq.com
455783085a7198d109c180049117abd99a61ee9f
63b1306f99b4d3b0f12d7bac3d7be85ffaabdf77
/Top Down Shooter/GothicVaniaGhostStates.cpp
28dd8522566901fe1d0af086096f4c16932b1937
[]
no_license
Niruz/Top-Down-Shooter
4cc33a18746181e908e6a58a39a7ee42cc57bc0e
3bbd96223cd3e1c8dd212457755d0e160bf13b51
refs/heads/master
2021-10-19T03:57:18.155039
2019-02-17T16:59:13
2019-02-17T16:59:13
127,650,402
0
0
null
null
null
null
UTF-8
C++
false
false
1,755
cpp
#include "SimpleTimer.h" #include "GothicVaniaGhostStates.h" #include "GhostEntity.h" #include "GhostSprite.h" //------------------------------------------------------------------------methods for GhostPatrol GhostPatrol* GhostPatrol::Instance() { static GhostPatrol instance; return &instance; } void GhostPatrol::Enter(GhostEntity* entity) { entity->SetAnimation("GhostPatrol"); entity->ResetAttackTimer(); entity->myPlasmaSprite->myPosition.x = -1337.0f; } void GhostPatrol::Execute(GhostEntity* entity) { entity->myAnimatedSprite->Update(); entity->myPlasmaSprite->Update(); entity->HandleMovement(); if(entity->myAtTarget) { entity->GetFSM()->changeState(GhostAttack::Instance()); } if ((Clock->GetCurrentTimeInSeconds() - entity->myAttackTimer) >= 3.0f) { } } void GhostPatrol::Exit(GhostEntity* entity) { } bool GhostPatrol::OnMessage(GhostEntity* entity, const Message& msg) { return false; } //------------------------------------------------------------------------methods for GhostAttack GhostAttack* GhostAttack::Instance() { static GhostAttack instance; return &instance; } void GhostAttack::Enter(GhostEntity* entity) { entity->SetAnimation("GhostAttack"); entity->ResetAttackTimer(); entity->myPlasmaSprite->myPosition.x = entity->mPosition.x + 6.0f; } void GhostAttack::Execute(GhostEntity* entity) { entity->myAnimatedSprite->Update(); entity->myPlasmaSprite->Update(); //entity->HandleMovement(); if ((Clock->GetCurrentTimeInSeconds() - entity->myAttackTimer) >= 2.0f) { entity->GetFSM()->changeState(GhostPatrol::Instance()); entity->myAtTarget = false; } } void GhostAttack::Exit(GhostEntity* entity) { } bool GhostAttack::OnMessage(GhostEntity* entity, const Message& msg) { return false; }
[ "ext.johan.medestrom@tieto.com" ]
ext.johan.medestrom@tieto.com
a3c7e7a1f1ff5ad46dcc3d50417c9c4f4c2e6481
53f415f1193fb5000df706004f635044dc665ab6
/02. Functions, Arrays and Vectors/Demos/14.STL-Vectors-as-Function-Parameters.cpp
7f2a12f504bf7391bcc1f97d9ebe6c76fb9c9e4d
[]
no_license
Martin-BG/SoftUni-CPP-Fundamentals
695e32c41730776ced262ce34788e18671cbe663
7ecab0f48c795222564bc7ea665afa5690883508
refs/heads/master
2022-07-31T16:21:14.849967
2022-07-05T17:23:22
2022-07-05T17:23:22
163,557,283
0
2
null
null
null
null
UTF-8
C++
false
false
523
cpp
#include <iostream> #include <vector> using namespace std; void print(vector<int> numbers) { for (int i = 0; i < numbers.size(); i++) { cout << numbers[i] << " "; } cout << endl; } void printMultiplied(vector<int> numbers, int multiplier) { for (int i = 0; i < numbers.size(); i++) { numbers[i] *= multiplier; } print(numbers); } int main() { std::vector<int> numbers {1, 2, 3}; printMultiplied(numbers, 10); /// 10, 20, 30 print(numbers); /// 1, 2, 3 return 0; }
[ "MartinBG@abv.bg" ]
MartinBG@abv.bg
5600b460a83db8f31e085747c0a2b095e6566eba
462353333f5fc8f13e12db89720d8668a96e3639
/ftc265-lib/src/main/cpp/Eigen/src/Core/arch/SSE/Complex.h
2fc3eff41eced0ece9be2431c07b334c82668572
[]
no_license
mcm001/android-aruco
c397fdd786bd87945a21aeb82170e4782a7ad3f7
522f262a81736ce034ae993ff66332cf24693b7b
refs/heads/master
2023-03-27T08:31:26.984086
2021-03-10T19:40:37
2021-03-10T19:40:37
346,417,421
0
1
null
2021-03-14T16:10:57
2021-03-10T16:18:55
C++
UTF-8
C++
false
false
20,729
h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef EIGEN_COMPLEX_SSE_H #define EIGEN_COMPLEX_SSE_H #include "../../util/Macros.h" namespace Eigen { namespace internal { //---------- float ---------- struct Packet2cf { EIGEN_STRONG_INLINE Packet2cf() {} EIGEN_STRONG_INLINE explicit Packet2cf(const __m128 &a) : v(a) {} __m128 v; }; // Use the packet_traits defined in AVX/PacketMath.h instead if we're going // to leverage AVX instructions. #ifndef EIGEN_VECTORIZE_AVX template<> struct packet_traits<std::complex < float> > : default_packet_traits { typedef Packet2cf type; typedef Packet2cf half; enum { Vectorizable = 1, AlignedOnScalar = 1, size = 2, HasHalfPacket = 0, HasAdd = 1, HasSub = 1, HasMul = 1, HasDiv = 1, HasNegate = 1, HasAbs = 0, HasAbs2 = 0, HasMin = 0, HasMax = 0, HasSetLinear = 0, HasBlend = 1 }; }; #endif template<> struct unpacket_traits<Packet2cf> { typedef std::complex<float> type; enum { size = 2, alignment = Aligned16 }; typedef Packet2cf half; }; template<> EIGEN_STRONG_INLINE Packet2cf padd<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_add_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf psub<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_sub_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf &a) { const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x80000000, 0x80000000, 0x80000000, 0x80000000)); return Packet2cf(_mm_xor_ps(a.v, mask)); } template<> EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf &a) { const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x00000000, 0x80000000, 0x00000000, 0x80000000)); return Packet2cf(_mm_xor_ps(a.v, mask)); } template<> EIGEN_STRONG_INLINE Packet2cf pmul<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { #ifdef EIGEN_VECTORIZE_SSE3 return Packet2cf(_mm_addsub_ps(_mm_mul_ps(_mm_moveldup_ps(a.v), b.v), _mm_mul_ps(_mm_movehdup_ps(a.v), vec4f_swizzle1(b.v, 1, 0, 3, 2)))); // return Packet2cf(_mm_addsub_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), // _mm_mul_ps(vec4f_swizzle1(a.v, 1, 1, 3, 3), // vec4f_swizzle1(b.v, 1, 0, 3, 2)))); #else const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x80000000, 0x00000000, 0x80000000, 0x00000000)); return Packet2cf(_mm_add_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), _mm_xor_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 1, 1, 3, 3), vec4f_swizzle1(b.v, 1, 0, 3, 2)), mask))); #endif } template<> EIGEN_STRONG_INLINE Packet2cf pand<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_and_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf por<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_or_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf pxor<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_xor_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf pandnot<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { return Packet2cf(_mm_andnot_ps(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet2cf pload<Packet2cf>(const std::complex<float> *from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet2cf(pload < Packet4f > (&numext::real_ref(*from))); } template<> EIGEN_STRONG_INLINE Packet2cf ploadu<Packet2cf>(const std::complex<float> *from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet2cf(ploadu < Packet4f > (&numext::real_ref(*from))); } template<> EIGEN_STRONG_INLINE Packet2cf pset1<Packet2cf>(const std::complex<float> &from) { Packet2cf res; #if EIGEN_GNUC_AT_MOST(4, 2) // Workaround annoying "may be used uninitialized in this function" warning with gcc 4.2 res.v = _mm_loadl_pi(_mm_set1_ps(0.0f), reinterpret_cast<const __m64*>(&from)); #elif EIGEN_GNUC_AT_LEAST(4, 6) // Suppress annoying "may be used uninitialized in this function" warning with gcc >= 4.6 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wuninitialized" res.v = _mm_loadl_pi(res.v, (const __m64*)&from); #pragma GCC diagnostic pop #else res.v = _mm_loadl_pi(res.v, (const __m64 *) &from); #endif return Packet2cf(_mm_movelh_ps(res.v, res.v)); } template<> EIGEN_STRONG_INLINE Packet2cf ploaddup<Packet2cf>(const std::complex<float> *from) { return pset1 < Packet2cf > (*from); } template<> EIGEN_STRONG_INLINE void pstore<std::complex < float> >( std::complex<float> *to, const Packet2cf &from ) { EIGEN_DEBUG_ALIGNED_STORE pstore(&numext::real_ref(*to), Packet4f(from.v)); } template<> EIGEN_STRONG_INLINE void pstoreu<std::complex < float> >( std::complex<float> *to, const Packet2cf &from ) { EIGEN_DEBUG_UNALIGNED_STORE pstoreu(&numext::real_ref(*to), Packet4f(from.v)); } template<> EIGEN_DEVICE_FUNC inline Packet2cf pgather <std::complex<float>, Packet2cf>( const std::complex<float> *from, Index stride) { return Packet2cf (_mm_set_ps(std::imag(from[1 * stride]), std::real(from[1 * stride]), std::imag(from[0 * stride]), std::real(from[0 * stride]))); } template<> EIGEN_DEVICE_FUNC inline void pscatter<std::complex < float>, Packet2cf >( std::complex<float> *to, const Packet2cf &from, Index stride) { to[stride*0] = std::complex<float>(_mm_cvtss_f32(_mm_shuffle_ps(from.v, from.v, 0)), _mm_cvtss_f32(_mm_shuffle_ps(from.v, from.v, 1)) ); to[stride*1] = std::complex<float>(_mm_cvtss_f32(_mm_shuffle_ps(from.v, from.v, 2)), _mm_cvtss_f32(_mm_shuffle_ps(from.v, from.v, 3)) ); } template<> EIGEN_STRONG_INLINE void prefetch<std::complex < float> >( const std::complex<float> *addr ) { _mm_prefetch((SsePrefetchPtrType)(addr), _MM_HINT_T0 ); } template<> EIGEN_STRONG_INLINE std::complex<float> pfirst<Packet2cf>(const Packet2cf &a) { #if EIGEN_GNUC_AT_MOST(4, 3) // Workaround gcc 4.2 ICE - this is not performance wise ideal, but who cares... // This workaround also fix invalid code generation with gcc 4.3 EIGEN_ALIGN16 std::complex<float> res[2]; _mm_store_ps((float*)res, a.v); return res[0]; #else std::complex<float> res; _mm_storel_pi((__m64 * ) & res, a.v); return res; #endif } template<> EIGEN_STRONG_INLINE Packet2cf preverse(const Packet2cf &a) { return Packet2cf(_mm_castpd_ps(preverse(Packet2d(_mm_castps_pd(a.v))))); } template<> EIGEN_STRONG_INLINE std::complex<float> predux<Packet2cf>(const Packet2cf &a) { return pfirst(Packet2cf(_mm_add_ps(a.v, _mm_movehl_ps(a.v, a.v)))); } template<> EIGEN_STRONG_INLINE Packet2cf preduxp<Packet2cf>(const Packet2cf *vecs) { return Packet2cf( _mm_add_ps(_mm_movelh_ps(vecs[0].v, vecs[1].v), _mm_movehl_ps(vecs[1].v, vecs[0].v))); } template<> EIGEN_STRONG_INLINE std::complex<float> predux_mul<Packet2cf>(const Packet2cf &a) { return pfirst(pmul(a, Packet2cf(_mm_movehl_ps(a.v, a.v)))); } template<int Offset> struct palign_impl<Offset, Packet2cf> { static EIGEN_STRONG_INLINE void run(Packet2cf &first, const Packet2cf &second) { if (Offset == 1) { first.v = _mm_movehl_ps(first.v, first.v); first.v = _mm_movelh_ps(first.v, second.v); } } }; template<> struct conj_helper<Packet2cf, Packet2cf, false, true> { EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return internal::pmul(a, pconj(b)); #else const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x00000000, 0x80000000, 0x00000000, 0x80000000)); return Packet2cf( _mm_add_ps(_mm_xor_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), mask), _mm_mul_ps(vec4f_swizzle1(a.v, 1, 1, 3, 3), vec4f_swizzle1(b.v, 1, 0, 3, 2)))); #endif } }; template<> struct conj_helper<Packet2cf, Packet2cf, true, false> { EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return internal::pmul(pconj(a), b); #else const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x00000000, 0x80000000, 0x00000000, 0x80000000)); return Packet2cf(_mm_add_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), _mm_xor_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 1, 1, 3, 3), vec4f_swizzle1(b.v, 1, 0, 3, 2)), mask))); #endif } }; template<> struct conj_helper<Packet2cf, Packet2cf, true, true> { EIGEN_STRONG_INLINE Packet2cf pmadd(const Packet2cf &x, const Packet2cf &y, const Packet2cf &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet2cf pmul(const Packet2cf &a, const Packet2cf &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return pconj(internal::pmul(a, b)); #else const __m128 mask = _mm_castsi128_ps( _mm_setr_epi32(0x00000000, 0x80000000, 0x00000000, 0x80000000)); return Packet2cf( _mm_sub_ps(_mm_xor_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), mask), _mm_mul_ps(vec4f_swizzle1(a.v, 1, 1, 3, 3), vec4f_swizzle1(b.v, 1, 0, 3, 2)))); #endif } }; EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf, Packet4f ) template<> EIGEN_STRONG_INLINE Packet2cf pdiv<Packet2cf>(const Packet2cf &a, const Packet2cf &b) { // TODO optimize it for SSE3 and 4 Packet2cf res = conj_helper<Packet2cf, Packet2cf, false, true>().pmul(a, b); __m128 s = _mm_mul_ps(b.v, b.v); return Packet2cf(_mm_div_ps(res.v, _mm_add_ps(s, _mm_castsi128_ps( _mm_shuffle_epi32(_mm_castps_si128(s), 0xb1))))); } EIGEN_STRONG_INLINE Packet2cf pcplxflip/* <Packet2cf> */(const Packet2cf &x) { return Packet2cf(vec4f_swizzle1(x.v, 1, 0, 3, 2)); } //---------- double ---------- struct Packet1cd { EIGEN_STRONG_INLINE Packet1cd() {} EIGEN_STRONG_INLINE explicit Packet1cd(const __m128d &a) : v(a) {} __m128d v; }; // Use the packet_traits defined in AVX/PacketMath.h instead if we're going // to leverage AVX instructions. #ifndef EIGEN_VECTORIZE_AVX template<> struct packet_traits<std::complex < double> > : default_packet_traits { typedef Packet1cd type; typedef Packet1cd half; enum { Vectorizable = 1, AlignedOnScalar = 0, size = 1, HasHalfPacket = 0, HasAdd = 1, HasSub = 1, HasMul = 1, HasDiv = 1, HasNegate = 1, HasAbs = 0, HasAbs2 = 0, HasMin = 0, HasMax = 0, HasSetLinear = 0 }; }; #endif template<> struct unpacket_traits<Packet1cd> { typedef std::complex<double> type; enum { size = 1, alignment = Aligned16 }; typedef Packet1cd half; }; template<> EIGEN_STRONG_INLINE Packet1cd padd<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_add_pd(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet1cd psub<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_sub_pd(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet1cd pnegate(const Packet1cd &a) { return Packet1cd(pnegate(Packet2d(a.v))); } template<> EIGEN_STRONG_INLINE Packet1cd pconj(const Packet1cd &a) { const __m128d mask = _mm_castsi128_pd(_mm_set_epi32(0x80000000, 0x0, 0x0, 0x0)); return Packet1cd(_mm_xor_pd(a.v, mask)); } template<> EIGEN_STRONG_INLINE Packet1cd pmul<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { #ifdef EIGEN_VECTORIZE_SSE3 return Packet1cd(_mm_addsub_pd(_mm_mul_pd(_mm_movedup_pd(a.v), b.v), _mm_mul_pd(vec2d_swizzle1(a.v, 1, 1), vec2d_swizzle1(b.v, 1, 0)))); #else const __m128d mask = _mm_castsi128_pd(_mm_set_epi32(0x0, 0x0, 0x80000000, 0x0)); return Packet1cd(_mm_add_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 0, 0), b.v), _mm_xor_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 1, 1), vec2d_swizzle1(b.v, 1, 0)), mask))); #endif } template<> EIGEN_STRONG_INLINE Packet1cd pand<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_and_pd(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet1cd por<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_or_pd(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet1cd pxor<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_xor_pd(a.v, b.v)); } template<> EIGEN_STRONG_INLINE Packet1cd pandnot<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { return Packet1cd(_mm_andnot_pd(a.v, b.v)); } // FIXME force unaligned load, this is a temporary fix template<> EIGEN_STRONG_INLINE Packet1cd pload<Packet1cd>(const std::complex<double> *from) { EIGEN_DEBUG_ALIGNED_LOAD return Packet1cd(pload < Packet2d > ((const double *) from)); } template<> EIGEN_STRONG_INLINE Packet1cd ploadu<Packet1cd>(const std::complex<double> *from) { EIGEN_DEBUG_UNALIGNED_LOAD return Packet1cd(ploadu < Packet2d > ((const double *) from)); } template<> EIGEN_STRONG_INLINE Packet1cd pset1<Packet1cd>( const std::complex<double> &from) { /* here we really have to use unaligned loads :( */ return ploadu < Packet1cd > (&from); } template<> EIGEN_STRONG_INLINE Packet1cd ploaddup<Packet1cd>(const std::complex<double> *from) { return pset1 < Packet1cd > (*from); } // FIXME force unaligned store, this is a temporary fix template<> EIGEN_STRONG_INLINE void pstore<std::complex < double> >( std::complex<double> *to, const Packet1cd &from ) { EIGEN_DEBUG_ALIGNED_STORE pstore((double *) to, Packet2d(from.v)); } template<> EIGEN_STRONG_INLINE void pstoreu<std::complex < double> >( std::complex<double> *to, const Packet1cd &from ) { EIGEN_DEBUG_UNALIGNED_STORE pstoreu((double *) to, Packet2d(from.v)); } template<> EIGEN_STRONG_INLINE void prefetch<std::complex < double> >( const std::complex<double> *addr ) { _mm_prefetch((SsePrefetchPtrType)(addr), _MM_HINT_T0 ); } template<> EIGEN_STRONG_INLINE std::complex<double> pfirst<Packet1cd>(const Packet1cd &a) { EIGEN_ALIGN16 double res[2]; _mm_store_pd(res, a.v); return std::complex<double>(res[0], res[1]); } template<> EIGEN_STRONG_INLINE Packet1cd preverse(const Packet1cd &a) { return a; } template<> EIGEN_STRONG_INLINE std::complex<double> predux<Packet1cd>(const Packet1cd &a) { return pfirst(a); } template<> EIGEN_STRONG_INLINE Packet1cd preduxp<Packet1cd>(const Packet1cd *vecs) { return vecs[0]; } template<> EIGEN_STRONG_INLINE std::complex<double> predux_mul<Packet1cd>(const Packet1cd &a) { return pfirst(a); } template<int Offset> struct palign_impl<Offset, Packet1cd> { static EIGEN_STRONG_INLINE void run(Packet1cd & /*first*/, const Packet1cd & /*second*/) { // FIXME is it sure we never have to align a Packet1cd? // Even though a std::complex<double> has 16 bytes, it is not necessarily aligned on a 16 bytes boundary... } }; template<> struct conj_helper<Packet1cd, Packet1cd, false, true> { EIGEN_STRONG_INLINE Packet1cd pmadd(const Packet1cd &x, const Packet1cd &y, const Packet1cd &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet1cd pmul(const Packet1cd &a, const Packet1cd &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return internal::pmul(a, pconj(b)); #else const __m128d mask = _mm_castsi128_pd(_mm_set_epi32(0x80000000, 0x0, 0x0, 0x0)); return Packet1cd(_mm_add_pd(_mm_xor_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 0, 0), b.v), mask), _mm_mul_pd(vec2d_swizzle1(a.v, 1, 1), vec2d_swizzle1(b.v, 1, 0)))); #endif } }; template<> struct conj_helper<Packet1cd, Packet1cd, true, false> { EIGEN_STRONG_INLINE Packet1cd pmadd(const Packet1cd &x, const Packet1cd &y, const Packet1cd &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet1cd pmul(const Packet1cd &a, const Packet1cd &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return internal::pmul(pconj(a), b); #else const __m128d mask = _mm_castsi128_pd(_mm_set_epi32(0x80000000, 0x0, 0x0, 0x0)); return Packet1cd(_mm_add_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 0, 0), b.v), _mm_xor_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 1, 1), vec2d_swizzle1(b.v, 1, 0)), mask))); #endif } }; template<> struct conj_helper<Packet1cd, Packet1cd, true, true> { EIGEN_STRONG_INLINE Packet1cd pmadd(const Packet1cd &x, const Packet1cd &y, const Packet1cd &c) const { return padd(pmul(x, y), c); } EIGEN_STRONG_INLINE Packet1cd pmul(const Packet1cd &a, const Packet1cd &b) const { #ifdef EIGEN_VECTORIZE_SSE3 return pconj(internal::pmul(a, b)); #else const __m128d mask = _mm_castsi128_pd(_mm_set_epi32(0x80000000, 0x0, 0x0, 0x0)); return Packet1cd(_mm_sub_pd(_mm_xor_pd(_mm_mul_pd(vec2d_swizzle1(a.v, 0, 0), b.v), mask), _mm_mul_pd(vec2d_swizzle1(a.v, 1, 1), vec2d_swizzle1(b.v, 1, 0)))); #endif } }; EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd, Packet2d ) template<> EIGEN_STRONG_INLINE Packet1cd pdiv<Packet1cd>(const Packet1cd &a, const Packet1cd &b) { // TODO optimize it for SSE3 and 4 Packet1cd res = conj_helper<Packet1cd, Packet1cd, false, true>().pmul(a, b); __m128d s = _mm_mul_pd(b.v, b.v); return Packet1cd(_mm_div_pd(res.v, _mm_add_pd(s, _mm_shuffle_pd(s, s, 0x1)))); } EIGEN_STRONG_INLINE Packet1cd pcplxflip/* <Packet1cd> */(const Packet1cd &x) { return Packet1cd(preverse(Packet2d(x.v))); } EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<Packet2cf, 2> &kernel) { __m128d w1 = _mm_castps_pd(kernel.packet[0].v); __m128d w2 = _mm_castps_pd(kernel.packet[1].v); __m128 tmp = _mm_castpd_ps(_mm_unpackhi_pd(w1, w2)); kernel.packet[0].v = _mm_castpd_ps(_mm_unpacklo_pd(w1, w2)); kernel.packet[1].v = tmp; } template<> EIGEN_STRONG_INLINE Packet2cf pblend(const Selector<2> &ifPacket, const Packet2cf &thenPacket, const Packet2cf &elsePacket) { __m128d result = pblend < Packet2d > (ifPacket, _mm_castps_pd(thenPacket.v), _mm_castps_pd(elsePacket.v)); return Packet2cf(_mm_castpd_ps(result)); } template<> EIGEN_STRONG_INLINE Packet2cf pinsertfirst(const Packet2cf &a, std::complex<float> b) { return Packet2cf(_mm_loadl_pi(a.v, reinterpret_cast<const __m64 *>(&b))); } template<> EIGEN_STRONG_INLINE Packet1cd pinsertfirst(const Packet1cd &, std::complex<double> b) { return pset1 < Packet1cd > (b); } template<> EIGEN_STRONG_INLINE Packet2cf pinsertlast(const Packet2cf &a, std::complex<float> b) { return Packet2cf(_mm_loadh_pi(a.v, reinterpret_cast<const __m64 *>(&b))); } template<> EIGEN_STRONG_INLINE Packet1cd pinsertlast(const Packet1cd &, std::complex<double> b) { return pset1 < Packet1cd > (b); } } // end namespace internal } // end namespace Eigen #endif // EIGEN_COMPLEX_SSE_H
[ "matthew.morley.ca@gmail.com" ]
matthew.morley.ca@gmail.com
d0f37306d7ebe99770debe616d9d6741af21a53b
8f30a6ab86dcfff97bed1339f8940ad2af0f0b0a
/testSystem_Qt4/adminform.cpp
f84ad6c68d42cf47271b65b2e69ed8f0b84c389b
[]
no_license
XiaoMinwm/testSystem_qt4
f6fc197c839576393067f6459c61859dace5c7be
26f83bab8df00a6fed9cec24ca2e72d4477e1f4f
refs/heads/master
2021-01-10T19:00:24.589300
2015-08-27T02:36:57
2015-08-27T02:36:57
41,461,153
1
0
null
null
null
null
UTF-8
C++
false
false
3,416
cpp
/******************************************************************************** * File Name: adminform.cpp * Description: 第9章实例训练 * Reference book:《Linux环境下Qt4图形界面与MySQL编程》,机械工业出版社.2012.1 * E_mail: openlinux2011@gmail.com * ********************************************************************************/ #include "adminform.h" #include "ui_adminform.h" #include "addthform.h" #include "addstdform.h" #include "login.h" #include <QMessageBox> #include <QSqlQuery> #include <QDebug> adminform::adminform(QWidget *parent) : QWidget(parent), ui(new Ui::adminform) { ui->setupUi(this); //teacherInfoModel; //教师管理 teacherInfoModel=new QSqlTableModel(this); teacherInfoModel->setTable("Teacher"); teacherInfoModel->setEditStrategy(QSqlTableModel::OnManualSubmit); //修改提交过之后更新到数据库 teacherInfoModel->select(); //获取当前列 的索引 teacherInfoModel->setHeaderData(0,Qt::Horizontal,tr("ID")); teacherInfoModel->setHeaderData(1,Qt::Horizontal,tr("教师编号")); teacherInfoModel->setHeaderData(2,Qt::Horizontal,tr("用户名")); teacherInfoModel->setHeaderData(3,Qt::Horizontal,tr("用户密码")); ui->tvTeacher->setEditTriggers(QAbstractItemView::NoEditTriggers);//使其不可编辑 ui->tvTeacher->setModel(teacherInfoModel); //StudentInfoModel; //学生管理 StudentInfoModel=new QSqlTableModel(this); StudentInfoModel->setTable("Student"); StudentInfoModel->setEditStrategy(QSqlTableModel::OnManualSubmit); //修改提交过之后更新到数据库 StudentInfoModel->select(); //获取当前列 的索引 StudentInfoModel->setHeaderData(0,Qt::Horizontal,tr("ID")); StudentInfoModel->setHeaderData(1,Qt::Horizontal,tr("学生编号")); StudentInfoModel->setHeaderData(2,Qt::Horizontal,tr("用户名")); StudentInfoModel->setHeaderData(3,Qt::Horizontal,tr("用户密码")); ui->tvStudent_2->setEditTriggers(QAbstractItemView::NoEditTriggers);//使其不可编辑 ui->tvStudent_2->setModel(StudentInfoModel); ui->tabWidget->setCurrentIndex(0); } adminform::~adminform() { delete ui; } void adminform::on_btnAdd_clicked() { addthform *addth = new addthform; addth->show(); } void adminform::on_btnDel_clicked() { QString ID=ui->tvTeacher->currentIndex().data().toString(); qDebug()<<ID; QSqlQuery query; query.exec("delete from Teacher where ID ='"+ID+"'"); if(query.isActive()) { query.numRowsAffected(); QMessageBox::about(this,"message","Delete success!"); } init(); } void adminform::on_btnRefresh_clicked() { init(); } void adminform::on_btnAdd_2_clicked() { addstdform *addstd = new addstdform; addstd->show(); } void adminform::on_btnDel_2_clicked() { QString ID=ui->tvStudent_2->currentIndex().data().toString(); qDebug()<<ID; QSqlQuery query; query.exec("delete from Student where ID ='"+ID+"'"); if(query.isActive()) { query.numRowsAffected(); QMessageBox::about(this,"message","Delete success!"); } init(); } void adminform::on_btnRefresh_2_clicked() { init(); } void adminform::init() { teacherInfoModel->select(); StudentInfoModel->select(); } void adminform::on_pushButton_clicked() { login *lg = new login; lg->show(); this->close(); }
[ "xiaominomg@gmail.com" ]
xiaominomg@gmail.com
12c1e8368909ccfe1186b013c3f8ccee75b689d3
11e1311563f5bec80018e772c710557510dcb610
/lib/Diagnostic/Engine.cpp
9a7ed8505b1591e2f39b1a5dda3c80e7623f30ce
[]
permissive
ffk0716/onnc
03e42654b6707e361e3a9d8df176e624d5267032
91e4955ade64b479db17aaeccacf4b7339fe44d2
refs/heads/master
2020-03-26T14:41:35.911135
2018-08-26T14:23:16
2018-08-26T14:23:16
144,999,938
1
0
BSD-3-Clause
2018-08-16T14:33:31
2018-08-16T14:33:30
null
UTF-8
C++
false
false
2,124
cpp
//===- DiagnosticEngine.cpp -----------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include <onnc/Diagnostic/Engine.h> #include <onnc/Diagnostic/Diagnostic.h> #include <onnc/Diagnostic/Policy.h> #include <onnc/Diagnostic/StreamLog.h> #include <onnc/Diagnostic/MsgHandler.h> #include <onnc/Support/IOStream.h> #include <cassert> using namespace onnc; using namespace onnc::diagnostic; //===----------------------------------------------------------------------===// // Engine //===----------------------------------------------------------------------===// Engine::Engine() : m_pLogger(new StreamLog(outs())) { m_pLogger->start(); } Engine::~Engine() { m_pLogger->stop(); delete m_pLogger; } void Engine::delegate(Logger* pLogger) { if (nullptr != pLogger) { m_pLogger->stop(); delete m_pLogger; m_pLogger = pLogger; m_pLogger->start(); } } bool Engine::hasError() const { return (m_pLogger->getNumErrors() > 0); } diagnostic::MsgHandler diagnostic::Engine::report(unsigned int pID, Severity pSeverity) { state().ID = pID; state().CurrentSeverity = pSeverity; state().Format = m_InfoMap.description(pID); // The desturctor of MsgHandler calls back Engine::emit() MsgHandler result(*this); return result; } diagnostic::MsgHandler diagnostic::Engine::report(StringRef pMesg, Severity pSeverity) { state().ID = generic_note; state().CurrentSeverity = pSeverity; state().Format = pMesg; // The desturctor of MsgHandler calls back Engine::emit() MsgHandler result(*this); return result; } //===----------------------------------------------------------------------===// // Engine::State //===----------------------------------------------------------------------===// diagnostic::State::State() : Format(), NumOfArgs(0), ID(0), CurrentSeverity(None) { } void diagnostic::State::reset() { Format = StringRef(); NumOfArgs = 0; ID = 0; CurrentSeverity = None; }
[ "a127a127@skymizer.com" ]
a127a127@skymizer.com
17053bda1e47d8c7de9a79e0334a8ab899a79802
38b9daafe39f937b39eefc30501939fd47f7e668
/tutorials/2WayCouplingOceanWave3D/basicTutorialwtProbesResultsWtPhiCoupled_180625/23.2/alpha.water
b6ea4458e028e47b2a2075c7520fcc4608f706b8
[]
no_license
rubynuaa/2-way-coupling
3a292840d9f56255f38c5e31c6b30fcb52d9e1cf
a820b57dd2cac1170b937f8411bc861392d8fbaa
refs/heads/master
2020-04-08T18:49:53.047796
2018-08-29T14:22:18
2018-08-29T14:22:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
149,739
water
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "23.2"; object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField nonuniform List<scalar> 21420 ( 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.00001 1.00001 1.00001 1.00001 1.00001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 1 1 1 1 0.999999 1 1 1 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999999 1 1 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999998 0.999997 0.999995 0.999994 0.999991 0.999989 0.999985 0.999984 0.999984 0.999985 0.999987 0.999989 0.999991 0.999992 0.999991 0.999991 0.999993 0.999995 0.999996 0.999997 0.999997 0.999998 0.999999 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999998 0.999998 0.999997 0.999996 0.999996 0.999991 0.999988 0.999993 0.999994 0.999991 0.999989 0.99999 0.999996 0.999994 0.999991 0.99999 0.999993 0.999993 0.999993 0.999992 0.999992 0.999991 0.999991 0.999993 0.999995 0.999996 0.999996 0.999997 0.999997 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999998 0.999997 0.999994 0.99999 0.999991 0.99999 0.999988 0.99999 0.999988 0.999987 0.999985 0.999988 0.999992 0.999995 0.999995 0.999995 0.999995 0.999992 0.999992 0.999992 0.999992 0.999992 0.999994 0.999995 0.999997 0.999997 0.999998 0.999998 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999998 0.999998 0.999998 0.999997 0.999996 0.999996 0.999994 0.999993 0.999993 0.999992 0.999992 0.999992 0.999992 0.999991 0.999991 0.999992 0.999993 0.999994 0.999996 0.999997 0.999997 0.999997 0.999997 0.999998 0.999998 0.999998 0.999998 0.999998 0.999999 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999994 0.999989 0.999979 0.999964 0.999941 0.999912 0.999878 0.999827 0.999729 0.999401 0.999091 0.999093 0.999481 0.999877 0.999836 0.999803 0.999784 0.999786 0.99981 0.999853 0.999899 0.999934 0.999949 0.999958 0.999968 0.999978 0.999986 0.999991 0.999993 0.999994 0.999996 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999995 0.999995 0.999991 0.999964 0.999926 0.999911 0.999858 0.999693 0.999579 0.999509 0.999074 0.998392 0.997806 0.996903 0.994994 0.994038 0.994558 0.993923 0.992271 0.991089 0.992373 0.994996 0.996515 0.997545 0.998663 0.999678 0.999836 0.999814 0.999792 0.999787 0.999819 0.999862 0.999908 0.999934 0.999941 0.999952 0.999964 0.99998 0.999987 0.999991 0.999996 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999994 0.999987 0.999972 0.999944 0.999892 0.999794 0.999618 0.999304 0.998854 0.998106 0.996986 0.995289 0.992863 0.989442 0.985146 0.981067 0.976863 0.973256 0.971574 0.971055 0.971979 0.972772 0.975298 0.979106 0.984267 0.990054 0.995366 0.998779 0.999784 0.999774 0.999785 0.999819 0.999857 0.999899 0.999938 0.999954 0.999962 0.999971 0.999979 0.999988 0.999991 0.999994 0.999996 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999999 0.999997 0.999995 0.999992 0.999992 0.999991 0.999988 0.999972 0.999946 0.999903 0.999862 0.999813 0.999741 0.999676 0.999603 0.999642 0.999784 0.999905 0.999924 0.999911 0.999909 0.999928 0.999948 0.999946 0.999937 0.999924 0.999917 0.999916 0.999922 0.999936 0.999952 0.999956 0.99996 0.999967 0.999978 0.999986 0.999989 0.999992 0.999996 0.999998 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999995 0.999993 0.999993 0.999996 0.999998 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999988 0.999952 0.999833 0.999473 0.998488 0.996177 0.991429 0.982747 0.968423 0.946711 0.915805 0.876967 0.84084 0.80843 0.780024 0.757562 0.744103 0.741487 0.751117 0.771676 0.800753 0.832603 0.864175 0.896379 0.928316 0.957097 0.979807 0.994399 0.999149 0.999324 0.999503 0.999666 0.999797 0.999875 0.999903 0.999928 0.999955 0.999975 0.999984 0.99999 0.999995 0.999997 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999992 0.999979 0.999949 0.999872 0.999684 0.999322 0.998691 0.997391 0.994675 0.989838 0.982233 0.970594 0.954109 0.933689 0.909493 0.879537 0.841627 0.798223 0.759074 0.730451 0.716534 0.707244 0.691824 0.676884 0.66879 0.675843 0.694532 0.712351 0.727678 0.74705 0.77481 0.806945 0.839869 0.872246 0.904592 0.934714 0.962225 0.984911 0.997537 0.999146 0.999343 0.999549 0.999756 0.999848 0.999903 0.999953 0.999974 0.999985 0.999992 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999995 0.999988 0.999975 0.999945 0.999876 0.999723 0.99943 0.998863 0.997781 0.995687 0.991433 0.984058 0.971397 0.950472 0.917151 0.868117 0.805805 0.743624 0.69028 0.645246 0.608899 0.581477 0.565578 0.560499 0.561558 0.56556 0.575848 0.593673 0.621081 0.658146 0.703117 0.750241 0.794768 0.834456 0.870951 0.907781 0.941647 0.970373 0.990218 0.998931 0.999377 0.999548 0.999707 0.99984 0.999889 0.999922 0.999956 0.999977 0.999987 0.999993 0.999996 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999994 0.999985 0.999963 0.999916 0.99981 0.9996 0.999161 0.998259 0.996645 0.993639 0.988758 0.981379 0.970877 0.957132 0.940063 0.920411 0.897972 0.873198 0.849735 0.829715 0.814721 0.805598 0.800715 0.80087 0.805153 0.814814 0.825921 0.840013 0.856885 0.875332 0.897366 0.921053 0.944252 0.965371 0.98354 0.99586 0.99925 0.999365 0.999525 0.999694 0.999819 0.99987 0.999913 0.999951 0.999973 0.999983 0.999992 0.999996 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999992 0.999912 0.999544 0.99941 0.99947 0.999639 0.999882 0.999955 0.999931 0.999938 0.999963 0.999981 0.99999 0.999995 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999985 0.999917 0.999589 0.997979 0.991021 0.967795 0.90493 0.777042 0.639984 0.514915 0.401614 0.300684 0.213174 0.146399 0.101706 0.0754607 0.05728 0.0452307 0.0397633 0.0401727 0.0466262 0.0547542 0.06614 0.0847709 0.113328 0.157014 0.219315 0.295227 0.382607 0.480172 0.584293 0.69026 0.786837 0.855698 0.90771 0.949581 0.979693 0.996188 0.998753 0.999118 0.999463 0.99971 0.99982 0.999891 0.999943 0.999972 0.999985 0.999992 0.999997 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999991 0.999975 0.999931 0.99981 0.999526 0.998773 0.996872 0.991927 0.980457 0.956715 0.908546 0.820606 0.709435 0.606549 0.510471 0.422344 0.345341 0.282647 0.232176 0.190066 0.154763 0.127341 0.110863 0.101469 0.0931891 0.0870436 0.0824045 0.0793446 0.0784235 0.0809218 0.0909478 0.102516 0.116109 0.136917 0.168957 0.216017 0.275861 0.344264 0.420184 0.513703 0.625289 0.741631 0.838597 0.903848 0.952638 0.987049 0.998283 0.998951 0.999501 0.999736 0.999847 0.999922 0.999966 0.999986 0.999995 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999997 0.999994 0.999986 0.999966 0.99993 0.999833 0.999648 0.999218 0.9982 0.995682 0.989681 0.975561 0.945694 0.886025 0.782865 0.661995 0.546258 0.434508 0.330597 0.24122 0.177608 0.137876 0.108128 0.0862765 0.0700354 0.0580949 0.0507155 0.0462162 0.043798 0.0445028 0.0465843 0.0508196 0.0585919 0.0709751 0.0900799 0.117606 0.155856 0.20666 0.270323 0.349781 0.443872 0.550197 0.662186 0.77126 0.854621 0.91455 0.960445 0.989528 0.998603 0.999059 0.999484 0.999741 0.99985 0.999917 0.999961 0.999982 0.999991 0.999996 0.999999 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999999 0.999997 0.999992 0.99998 0.999951 0.999875 0.999683 0.999229 0.998183 0.995669 0.989777 0.975455 0.945513 0.890773 0.804096 0.70316 0.608611 0.521788 0.444668 0.376972 0.319363 0.270016 0.22964 0.199265 0.179131 0.167022 0.160458 0.157638 0.158954 0.165206 0.177372 0.195631 0.21827 0.246451 0.281792 0.327361 0.38391 0.449752 0.524373 0.61127 0.707659 0.802808 0.871491 0.925569 0.967954 0.993426 0.998486 0.999022 0.999478 0.999721 0.99983 0.999917 0.999962 0.999981 0.999992 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999998 0.999991 0.999957 0.99977 0.998761 0.993201 0.962123 0.862514 0.757577 0.666662 0.591329 0.531828 0.48717 0.454819 0.432014 0.41699 0.409522 0.411275 0.423317 0.444774 0.474923 0.513673 0.871647 0.996842 0.99946 0.999688 0.999832 0.999916 0.999959 0.999984 0.999993 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999992 0.999942 0.999633 0.997499 0.983675 0.919258 0.731378 0.516749 0.319874 0.163836 0.0939055 0.0557502 0.0282934 0.0105112 0.0015611 0.000262597 0.000138791 7.94641e-05 8.16604e-05 0.000159792 0.000250034 0.000353174 0.000441876 0.000574639 0.000716404 0.000895126 0.00124931 0.0017843 0.0026674 0.00425694 0.00705971 0.012179 0.0216575 0.0390086 0.0707621 0.126855 0.218988 0.33254 0.456864 0.588994 0.720878 0.830498 0.90127 0.955055 0.988186 0.998037 0.998826 0.9994 0.999703 0.999835 0.999919 0.999966 0.999984 0.999994 0.999998 0.999999 1 1 1 1 1 1 1 1 1 1 0.999999 0.999997 0.999993 0.999982 0.999948 0.999862 0.999612 0.998837 0.996608 0.990397 0.96947 0.90426 0.768833 0.60858 0.452495 0.30399 0.19025 0.125994 0.0811076 0.0487303 0.0262812 0.0122959 0.00524291 0.00264865 0.00265204 0.00296187 0.00280352 0.00235623 0.00199576 0.0019034 0.00224726 0.00244187 0.00230251 0.00181562 0.00134042 0.00150897 0.00219657 0.00275836 0.00339829 0.00451452 0.00661531 0.00944792 0.0127662 0.0185158 0.0307122 0.0558785 0.107016 0.203456 0.330318 0.474869 0.644304 0.802703 0.903422 0.969711 0.996693 0.998497 0.999248 0.99967 0.999855 0.999938 0.999979 0.999991 0.999996 0.999998 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999999 0.999998 0.999998 0.999997 0.999995 0.999991 0.999981 0.999963 0.999923 0.99983 0.999585 0.999116 0.997783 0.994651 0.985041 0.956873 0.883584 0.740002 0.573656 0.412045 0.269745 0.172201 0.10655 0.0624105 0.0314152 0.0123717 0.00360321 0.00207738 0.00188057 0.0017331 0.00145723 0.00125125 0.00111127 0.00101653 0.00104852 0.00109086 0.001061 0.00108502 0.00117859 0.00136949 0.0016516 0.00208896 0.002779 0.00397997 0.00563039 0.00809683 0.0127647 0.0216534 0.0383175 0.0692406 0.129557 0.232648 0.360411 0.506539 0.661119 0.797235 0.888777 0.953827 0.990226 0.998364 0.999098 0.999582 0.999806 0.9999 0.999958 0.999984 0.999993 0.999997 0.999999 0.999999 0.999999 0.999999 1 1 1 1 0.999999 0.999999 0.999999 0.999998 0.999995 0.999991 0.999981 0.99995 0.999882 0.999718 0.999276 0.998067 0.9945 0.983422 0.952469 0.876725 0.732115 0.568193 0.412224 0.277041 0.184881 0.125717 0.0843907 0.0544692 0.0336437 0.0196007 0.0108444 0.00603211 0.00404557 0.00376873 0.0037544 0.00385748 0.00410915 0.00439379 0.00477357 0.00531235 0.00592659 0.00662669 0.0074924 0.00861567 0.0103917 0.0125165 0.0159192 0.0217783 0.0316352 0.0487113 0.0796407 0.138757 0.242514 0.371669 0.521011 0.683274 0.828052 0.912848 0.970504 0.996692 0.998337 0.999193 0.999631 0.999812 0.999921 0.999969 0.999987 0.999995 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999985 0.999931 0.999638 0.997779 0.985888 0.916151 0.730303 0.536817 0.356486 0.188195 0.0631283 0.0282582 0.0170886 0.0107943 0.00658984 0.00390924 0.00225941 0.00125749 0.000639705 0.00026536 2.56183e-05 7.06402e-14 3.40715e-14 2.0488e-14 9.92037e-17 1.97945e-20 0.00672676 0.267682 0.662969 0.967809 0.996188 0.999309 0.999647 0.999856 0.999933 0.999973 0.999991 0.999997 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999985 0.99988 0.999021 0.991133 0.935256 0.709549 0.431358 0.18659 0.081021 0.0301183 0.00444803 0.001018 0.000507088 0.000259161 0.000113784 4.31962e-05 2.08877e-05 9.7746e-06 4.49832e-06 2.36706e-06 2.35504e-06 3.28606e-06 4.26434e-06 6.33236e-06 7.90403e-06 1.09848e-05 1.45347e-05 1.80607e-05 2.71506e-05 4.04181e-05 6.05537e-05 9.91911e-05 0.00016315 0.000272324 0.000470104 0.000825309 0.00149235 0.00277193 0.00528922 0.0104254 0.0210905 0.0430869 0.0882885 0.178709 0.316776 0.476322 0.648187 0.80496 0.902017 0.965097 0.994666 0.99831 0.999156 0.999642 0.999827 0.999924 0.999969 0.999986 0.999993 0.999997 0.999997 0.999998 0.999998 0.999998 0.999997 0.999996 0.999995 0.999991 0.999982 0.999956 0.999889 0.999751 0.999326 0.997861 0.99177 0.970009 0.905161 0.732563 0.506742 0.294342 0.158585 0.081594 0.0343945 0.00839176 0.000884125 0.000508838 0.000286549 0.000214133 0.000173141 0.000131403 9.16207e-05 9.08069e-05 9.93464e-05 0.000111971 0.000106534 8.93494e-05 6.54641e-05 5.1977e-05 5.78985e-05 6.6541e-05 7.1866e-05 5.86286e-05 2.75004e-05 2.61939e-05 4.54464e-05 6.32641e-05 8.29629e-05 0.000147604 0.000308786 0.00038824 0.000333691 0.000389724 0.000664976 0.00123635 0.00240216 0.00497176 0.0105697 0.0238202 0.0584592 0.150372 0.329308 0.550217 0.760515 0.890536 0.961622 0.994148 0.998512 0.999157 0.999735 0.99989 0.999916 0.999956 0.999982 0.999983 0.999988 0.999983 0.999988 0.999987 0.999988 0.99998 0.999973 0.999963 0.999938 0.999885 0.999781 0.999558 0.999025 0.997627 0.993346 0.981412 0.945074 0.846352 0.660007 0.450692 0.264225 0.143885 0.0722087 0.0273185 0.00585046 0.00141585 0.00179083 0.00111907 0.000708078 0.000337632 0.000156339 0.000105453 8.1921e-05 7.17319e-05 5.82292e-05 4.96969e-05 4.42769e-05 3.78066e-05 3.58098e-05 3.41949e-05 3.33491e-05 3.58987e-05 4.15467e-05 4.8501e-05 5.68977e-05 7.16079e-05 9.49355e-05 0.000134441 0.000183512 0.0002449 0.000358454 0.000536486 0.000866091 0.00149543 0.0029052 0.00589127 0.012382 0.0287051 0.0662841 0.14735 0.296577 0.48134 0.674584 0.833217 0.924361 0.979147 0.997943 0.998929 0.999487 0.999813 0.999904 0.99994 0.999983 0.999988 0.99999 0.999991 0.999993 0.999993 0.999995 0.999993 0.999992 0.999989 0.999984 0.999971 0.999944 0.999885 0.999746 0.999352 0.99838 0.995464 0.985006 0.947732 0.83613 0.635367 0.42953 0.253192 0.136848 0.0684086 0.0264588 0.00601856 0.00126636 0.00159625 0.00118895 0.000817662 0.000517939 0.000340418 0.000227447 0.000163655 0.00014801 0.000132735 0.000125384 0.000135436 0.000155068 0.000178141 0.000194872 0.000214772 0.000242147 0.000282365 0.000326589 0.000374964 0.000490686 0.000587873 0.000649408 0.000792147 0.00100881 0.00136374 0.00186725 0.00301544 0.00573089 0.0118994 0.0267623 0.0635026 0.153596 0.324773 0.526564 0.736171 0.88289 0.96014 0.995298 0.998234 0.999236 0.99969 0.999863 0.999948 0.999984 0.999995 0.999998 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.999999 0.999996 0.999986 0.999945 0.999748 0.99858 0.991182 0.945868 0.755694 0.511916 0.269232 0.0847184 0.0380706 0.0160288 0.00296435 0.000411427 0.000128233 7.76044e-05 3.85857e-05 1.83534e-05 7.81753e-06 2.91372e-06 9.00943e-07 1.86133e-07 3.0068e-08 1.69339e-11 8.40895e-14 2.76166e-14 5.27967e-17 8.77841e-20 1.04622e-22 4.20791e-26 3.97419e-15 1.09632e-14 0.00023811 0.101956 0.492623 0.876458 0.987798 0.998757 0.999408 0.999739 0.999909 0.999963 0.999985 0.999995 0.999999 1 1 1 1 1 1 1 1 1 1 1 1 0.999998 0.999978 0.999817 0.998149 0.980513 0.84135 0.522345 0.212372 0.072645 0.0167187 0.00223388 0.00109012 0.000445691 0.000196016 8.00877e-05 3.41401e-05 1.55773e-05 5.98041e-06 1.98499e-06 8.98318e-07 3.69907e-07 1.48721e-07 7.12111e-08 5.65239e-08 7.98543e-08 9.84873e-08 1.44804e-07 1.97891e-07 2.68856e-07 3.63922e-07 4.78012e-07 7.09903e-07 1.07393e-06 1.62128e-06 2.62738e-06 4.49e-06 7.58343e-06 1.31047e-05 2.40021e-05 4.37946e-05 8.02533e-05 0.000148379 0.000270163 0.000509491 0.000982406 0.00195413 0.00420555 0.0095873 0.0231589 0.0582397 0.147118 0.318271 0.519939 0.721918 0.864807 0.945578 0.988783 0.998156 0.999146 0.999623 0.999783 0.999866 0.999937 0.999952 0.999961 0.999965 0.999966 0.999964 0.99995 0.999922 0.999873 0.999734 0.999322 0.998484 0.995796 0.98467 0.929704 0.75699 0.517745 0.28941 0.135688 0.0496873 0.00913477 0.00179789 0.000909702 0.00038626 0.000182594 8.57965e-05 3.53114e-05 2.50091e-05 1.79673e-05 1.09867e-05 4.64263e-06 2.63541e-06 3.08212e-06 3.01737e-06 2.69387e-06 2.7504e-06 2.57747e-06 1.9233e-06 1.45542e-06 1.5024e-06 1.39686e-06 1.77542e-06 1.60256e-06 7.68236e-07 6.03745e-07 9.38362e-07 1.18793e-06 1.67647e-06 4.20771e-06 1.45702e-05 1.61763e-05 9.80485e-06 9.18688e-06 1.75662e-05 4.21891e-05 7.90696e-05 0.000153146 0.000341148 0.000634798 0.00117994 0.0030144 0.00967735 0.0342494 0.114642 0.295667 0.513096 0.728104 0.876044 0.960769 0.995517 0.998732 0.998846 0.999334 0.999748 0.999779 0.999833 0.999804 0.999871 0.999855 0.999857 0.999769 0.999704 0.99952 0.99923 0.998604 0.997082 0.992603 0.977735 0.931415 0.817939 0.613892 0.406472 0.216255 0.106382 0.0382767 0.00741363 0.00235451 0.00182681 0.00105244 0.000379685 0.000168631 0.000152442 8.59137e-05 4.69572e-05 1.69387e-05 6.17381e-06 4.03151e-06 2.85365e-06 2.51297e-06 2.15583e-06 1.93009e-06 1.81125e-06 1.50357e-06 1.20584e-06 1.00213e-06 9.61597e-07 1.02712e-06 1.25083e-06 1.54391e-06 1.92154e-06 2.48011e-06 3.30387e-06 5.10087e-06 7.83748e-06 1.07093e-05 1.42564e-05 2.01664e-05 3.22401e-05 5.34224e-05 9.39059e-05 0.00016136 0.000284863 0.00062966 0.00135926 0.0030571 0.00811228 0.0235418 0.0694808 0.19008 0.386232 0.602598 0.794158 0.906767 0.973019 0.99722 0.998915 0.999165 0.999744 0.99981 0.999856 0.999881 0.99991 0.99992 0.999937 0.999922 0.999905 0.999872 0.999807 0.999641 0.999273 0.998363 0.995953 0.987817 0.957164 0.857191 0.648591 0.40749 0.205171 0.0929421 0.0310456 0.00509527 0.00268695 0.00200389 0.00104228 0.000375431 0.000149359 0.000125917 8.04202e-05 4.87347e-05 2.70563e-05 1.52198e-05 8.85456e-06 5.60937e-06 4.97461e-06 4.33138e-06 3.99699e-06 4.26449e-06 5.50403e-06 8.08893e-06 9.75581e-06 1.03149e-05 1.07234e-05 1.22443e-05 1.52905e-05 1.97031e-05 3.41206e-05 4.82669e-05 4.85328e-05 5.23221e-05 5.69276e-05 7.45038e-05 8.20747e-05 9.79096e-05 0.000161027 0.000281528 0.0005517 0.0012008 0.00288406 0.00828658 0.0256746 0.0804398 0.242096 0.474413 0.718606 0.886175 0.964039 0.996751 0.998595 0.999431 0.999805 0.999925 0.999967 0.999985 0.999996 0.999999 1 1 1 1 1 0.999999 0.999999 0.999997 0.999994 0.999986 0.99996 0.999869 0.999498 0.997454 0.985931 0.91734 0.685667 0.416912 0.160845 0.054536 0.0185247 0.00171711 0.000659158 0.000353707 0.000150357 7.99552e-05 2.45706e-05 6.30663e-06 3.66624e-06 1.56497e-06 6.26471e-07 2.15425e-07 6.144e-08 1.34214e-08 1.66313e-09 2.13814e-11 9.80773e-14 3.40126e-14 6.05472e-17 1.08602e-19 1.68111e-22 1.82873e-25 6.5697e-29 3.31462e-21 5.33489e-18 1.76506e-14 1.06263e-11 2.3895e-09 0.0248514 0.327603 0.717237 0.966026 0.99133 0.999088 0.999592 0.999815 0.999932 0.999979 0.999994 0.999999 1 1 1 1 1 1 1 0.999999 0.999995 0.999959 0.999616 0.995801 0.957773 0.72511 0.384349 0.113341 0.0303921 0.00354992 0.00159754 0.000705913 0.000251321 0.000112146 4.18216e-05 1.73997e-05 6.32927e-06 2.33401e-06 9.47397e-07 3.19484e-07 9.35969e-08 3.89562e-08 1.42091e-08 5.00716e-09 2.16394e-09 1.45489e-09 2.02456e-09 2.69156e-09 3.49533e-09 5.53262e-09 7.62373e-09 9.24888e-09 1.37018e-08 2.00523e-08 2.97955e-08 4.70726e-08 7.22334e-08 1.28878e-07 2.24187e-07 3.70215e-07 7.1372e-07 1.31063e-06 2.33185e-06 4.50977e-06 8.12045e-06 1.54586e-05 3.01541e-05 5.78309e-05 0.000119894 0.00025145 0.000533494 0.00123028 0.00315416 0.0093203 0.0288067 0.0876613 0.238034 0.44702 0.665007 0.83322 0.9281 0.976347 0.996682 0.998665 0.999049 0.999166 0.999344 0.999436 0.999482 0.999445 0.999264 0.998854 0.997756 0.994535 0.986442 0.958683 0.860565 0.626445 0.344059 0.151666 0.0539608 0.0104442 0.00226821 0.00140493 0.000372521 0.000189997 9.06186e-05 3.94043e-05 1.57926e-05 7.28435e-06 2.37286e-06 1.32908e-06 8.50583e-07 4.09977e-07 1.13202e-07 6.38155e-08 8.83149e-08 7.72089e-08 6.10396e-08 6.35548e-08 5.98005e-08 5.01211e-08 3.98464e-08 3.80059e-08 3.04486e-08 4.65432e-08 4.34522e-08 2.02066e-08 1.46317e-08 2.19038e-08 2.51374e-08 3.64898e-08 1.05139e-07 5.26691e-07 4.99344e-07 2.80765e-07 2.53145e-07 5.46484e-07 1.42921e-06 2.41767e-06 4.94798e-06 1.52139e-05 2.54619e-05 3.50266e-05 8.15877e-05 0.000258957 0.000810931 0.00246933 0.00771265 0.0264213 0.0919246 0.272035 0.529011 0.748777 0.868028 0.938507 0.982138 0.996725 0.996774 0.997366 0.99727 0.998176 0.998067 0.997915 0.99692 0.995048 0.99191 0.985766 0.969629 0.918416 0.78206 0.575982 0.359225 0.194913 0.0884392 0.0296369 0.00606693 0.00319117 0.00215304 0.000701001 0.000293333 0.000175883 0.000100969 2.86841e-05 1.13396e-05 9.90217e-06 5.96928e-06 2.82293e-06 7.64153e-07 2.41252e-07 1.35796e-07 8.80221e-08 8.54306e-08 8.44378e-08 8.23471e-08 8.06763e-08 6.28699e-08 4.02651e-08 2.81414e-08 2.72489e-08 2.92297e-08 3.73705e-08 4.85365e-08 6.44368e-08 8.6256e-08 1.16412e-07 2.04078e-07 3.64613e-07 5.42914e-07 6.64752e-07 8.52914e-07 1.26114e-06 2.03383e-06 3.4895e-06 5.69079e-06 1.07853e-05 2.6967e-05 5.52841e-05 0.000111789 0.000240067 0.000535934 0.0013861 0.00404288 0.013395 0.0460596 0.144084 0.344741 0.577165 0.768248 0.888178 0.960888 0.991811 0.997841 0.998061 0.998162 0.998629 0.998872 0.999144 0.998965 0.998763 0.998224 0.997086 0.993917 0.98438 0.955506 0.875567 0.688405 0.441473 0.226589 0.0995354 0.0291806 0.00434048 0.00336473 0.00190687 0.000661379 0.00035167 0.00020072 0.000102276 2.76173e-05 9.32523e-06 6.80157e-06 4.38382e-06 2.4971e-06 1.31618e-06 6.6967e-07 3.62823e-07 2.12374e-07 1.68999e-07 1.40442e-07 1.33829e-07 1.39387e-07 2.00101e-07 4.2337e-07 5.62124e-07 5.65046e-07 5.19253e-07 5.42498e-07 6.58469e-07 8.95861e-07 1.76426e-06 3.10634e-06 3.91217e-06 4.97577e-06 5.2623e-06 5.84707e-06 5.31228e-06 4.72307e-06 6.18398e-06 9.58373e-06 1.77314e-05 3.59563e-05 7.3405e-05 0.000187168 0.000485607 0.00136821 0.00470934 0.0176232 0.0686295 0.242059 0.489458 0.737722 0.891776 0.961922 0.995103 0.999012 0.999567 0.999746 0.999882 0.999953 0.999979 0.999985 0.999984 0.999981 0.999973 0.999955 0.999917 0.999817 0.999527 0.998525 0.994216 0.97499 0.883849 0.65073 0.388588 0.141124 0.0499378 0.0108313 0.00173977 0.000795953 0.000418615 0.000172064 5.79402e-05 2.86487e-05 1.08694e-05 5.66713e-06 1.4683e-06 3.15004e-07 1.71845e-07 6.3177e-08 2.13018e-08 5.92783e-09 1.29909e-09 2.01967e-10 1.54642e-11 1.28491e-13 2.90176e-14 1.08652e-16 1.88412e-19 3.18287e-22 4.583e-25 4.55065e-28 1.46209e-31 1.95986e-21 4.25311e-18 2.11301e-14 2.40106e-14 3.79484e-14 7.81881e-13 1.08889e-10 0.0036359 0.13644 0.483759 0.805694 0.966956 0.984449 0.996328 0.999636 0.999868 0.999958 0.999974 0.999999 1 1 1 0.999997 0.999972 0.999746 0.997518 0.978324 0.836935 0.54921 0.242254 0.0710504 0.0123848 0.00278602 0.00130557 0.000494688 0.00020749 8.92851e-05 2.85026e-05 1.16206e-05 3.97128e-06 1.53839e-06 5.02494e-07 1.61839e-07 5.83228e-08 1.73429e-08 4.51185e-09 1.70623e-09 5.54124e-10 1.72013e-10 6.69592e-11 3.47239e-11 4.68322e-11 6.73942e-11 7.98794e-11 1.41572e-10 1.96823e-10 2.19538e-10 3.56987e-10 5.11528e-10 7.36731e-10 1.20619e-09 1.76685e-09 3.21474e-09 5.70195e-09 9.10156e-09 1.8439e-08 3.44574e-08 5.93102e-08 1.19764e-07 2.15455e-07 4.09503e-07 8.27063e-07 1.58566e-06 3.38142e-06 7.34106e-06 1.55182e-05 3.52071e-05 8.62324e-05 0.000234296 0.000637543 0.00173525 0.00555395 0.0193182 0.0645148 0.190392 0.398993 0.582771 0.754941 0.867233 0.926019 0.961438 0.978921 0.986889 0.988458 0.987632 0.983189 0.969001 0.923642 0.830009 0.674347 0.44564 0.228189 0.0911864 0.0201184 0.00291711 0.00197395 0.000894717 0.000296093 0.000129205 4.13277e-05 1.99986e-05 8.65606e-06 3.41578e-06 1.06662e-06 4.51555e-07 1.16221e-07 4.76268e-08 2.55868e-08 9.02948e-09 2.24085e-09 1.50145e-09 1.89459e-09 1.64391e-09 1.76784e-09 1.51113e-09 1.58367e-09 1.46612e-09 1.04663e-09 9.4362e-10 7.74902e-10 1.57192e-09 1.26728e-09 3.87336e-10 3.78768e-10 6.61272e-10 6.73742e-10 9.61179e-10 3.3601e-09 1.56125e-08 1.41914e-08 7.27197e-09 7.26279e-09 2.06539e-08 4.99123e-08 7.61644e-08 1.51123e-07 5.47845e-07 9.62258e-07 1.16492e-06 2.50384e-06 8.44301e-06 2.88132e-05 8.67388e-05 0.000204831 0.000569319 0.00186833 0.00742761 0.0332394 0.112362 0.256547 0.448837 0.650272 0.780288 0.860904 0.905799 0.92873 0.956373 0.957365 0.947191 0.928392 0.857097 0.799035 0.675275 0.521107 0.330084 0.172261 0.0772107 0.0231793 0.00424682 0.00429875 0.00190621 0.000978361 0.000366948 0.000237604 7.44282e-05 2.72111e-05 1.46205e-05 8.15419e-06 1.8381e-06 6.55995e-07 5.54453e-07 3.50048e-07 1.37855e-07 2.57256e-08 7.29511e-09 3.85234e-09 3.12652e-09 3.72414e-09 4.01429e-09 3.89282e-09 3.3098e-09 2.06218e-09 1.04439e-09 7.6765e-10 8.11963e-10 9.36413e-10 1.26103e-09 1.67445e-09 2.31628e-09 3.04555e-09 4.48034e-09 9.41554e-09 1.9519e-08 3.05013e-08 3.29903e-08 3.82276e-08 5.02397e-08 8.01499e-08 1.28954e-07 2.00648e-07 4.27674e-07 1.16696e-06 2.34205e-06 5.72742e-06 1.13417e-05 2.29853e-05 5.97824e-05 0.000147554 0.000407017 0.00112686 0.00327036 0.0113832 0.042084 0.1232 0.308277 0.533255 0.699394 0.817643 0.884732 0.931081 0.960181 0.974039 0.98071 0.978749 0.97085 0.956617 0.917381 0.820198 0.642941 0.44373 0.252722 0.11953 0.0390354 0.00685504 0.00430056 0.00269469 0.000947215 0.000438792 0.000236313 7.91684e-05 3.33177e-05 1.79228e-05 9.09905e-06 2.00075e-06 5.37654e-07 3.165e-07 2.02208e-07 1.1609e-07 6.02328e-08 2.69844e-08 1.29749e-08 7.30475e-09 5.70376e-09 4.83763e-09 4.8034e-09 5.83733e-09 1.43038e-08 2.86747e-08 3.3805e-08 3.21143e-08 2.49458e-08 2.44098e-08 2.85369e-08 4.0829e-08 9.29641e-08 1.85426e-07 2.60555e-07 4.19062e-07 5.09514e-07 5.64438e-07 4.53334e-07 3.18938e-07 3.3064e-07 4.05983e-07 6.54148e-07 1.23206e-06 2.14113e-06 5.33093e-06 1.30786e-05 3.49665e-05 0.000108905 0.000310545 0.0010718 0.0043449 0.0176172 0.0727682 0.245387 0.47516 0.697057 0.855307 0.922796 0.962788 0.985165 0.995278 0.998429 0.998943 0.998877 0.998498 0.997524 0.995149 0.988972 0.97047 0.909362 0.750587 0.54346 0.31815 0.120878 0.0491585 0.00998405 0.00195154 0.00094351 0.000511737 0.000203797 8.3604e-05 4.39633e-05 1.70441e-05 5.09305e-06 2.31328e-06 7.90711e-07 3.95093e-07 8.7756e-08 1.59305e-08 8.00308e-09 2.54055e-09 7.22119e-10 1.63098e-10 2.76779e-11 3.18387e-12 1.9413e-13 4.27831e-14 2.74741e-16 5.2817e-19 8.84577e-22 1.40338e-24 1.87407e-27 1.69668e-30 4.88277e-34 1.13653e-26 3.3032e-23 2.46907e-19 5.64804e-17 6.64953e-15 3.3322e-14 4.37275e-14 8.32071e-14 2.28522e-06 0.000232912 0.00995017 0.150257 0.406701 0.625365 0.802991 0.928246 0.973808 0.988967 0.998901 0.999902 0.999394 0.995717 0.970524 0.867815 0.704639 0.502065 0.274753 0.095883 0.0345211 0.00403119 0.00195661 0.000986281 0.00041345 0.000194309 6.91377e-05 2.71753e-05 1.12115e-05 3.24767e-06 1.21064e-06 3.80556e-07 1.35837e-07 4.00799e-08 1.13656e-08 3.63348e-09 9.56455e-10 2.22277e-10 7.58975e-11 2.25559e-11 6.51424e-12 2.56732e-12 1.41706e-12 1.38242e-12 2.18904e-12 2.65059e-12 4.51916e-12 5.91149e-12 6.64794e-12 1.01847e-11 1.40945e-11 1.95903e-11 3.05376e-11 4.36544e-11 7.65012e-11 1.296e-10 2.02061e-10 4.1083e-10 7.62661e-10 1.32601e-09 2.74941e-09 4.97728e-09 9.4209e-09 1.89908e-08 3.63896e-08 8.06292e-08 1.84786e-07 4.02167e-07 9.01161e-07 2.24771e-06 6.6163e-06 1.86109e-05 4.79407e-05 0.00014473 0.000453002 0.00136998 0.00447954 0.0155941 0.0431964 0.119155 0.269694 0.421406 0.55321 0.639162 0.689128 0.71177 0.698178 0.639328 0.507681 0.335283 0.203839 0.112645 0.0399819 0.00730957 0.00412978 0.001794 0.000409331 0.000211257 9.56927e-05 3.71117e-05 1.35743e-05 4.76158e-06 2.10652e-06 8.31384e-07 2.50527e-07 8.00223e-08 2.25631e-08 7.32252e-09 2.56404e-09 8.1917e-10 2.53858e-10 1.39896e-10 1.09767e-10 8.29107e-11 8.37076e-11 8.83854e-11 7.65493e-11 9.70925e-11 8.42006e-11 6.30549e-11 6.33156e-11 6.26338e-11 9.10227e-11 7.0974e-11 6.3506e-11 6.36134e-11 6.38826e-11 6.76363e-11 7.67603e-11 1.91147e-10 4.80556e-10 4.25499e-10 2.3311e-10 2.78481e-10 1.01584e-09 1.92666e-09 2.71952e-09 5.15969e-09 2.02368e-08 3.58404e-08 4.03158e-08 8.39604e-08 2.82529e-07 1.0256e-06 3.40653e-06 7.21892e-06 1.99687e-05 6.9343e-05 0.000267496 0.000906344 0.00290319 0.00737845 0.0223481 0.0693828 0.145265 0.250846 0.351131 0.393222 0.462949 0.480054 0.427484 0.370681 0.242406 0.187619 0.116776 0.0596632 0.0200766 0.00607209 0.00418021 0.00210267 0.000723895 0.000521399 0.000207468 0.000110822 3.48612e-05 2.3158e-05 7.50185e-06 2.30645e-06 1.01063e-06 4.83518e-07 8.22484e-08 2.67212e-08 2.17664e-08 1.45312e-08 5.11331e-09 6.79414e-10 2.22045e-10 1.62473e-10 2.01649e-10 2.0395e-10 1.89137e-10 1.67418e-10 1.32969e-10 9.36065e-11 8.08457e-11 8.14524e-11 8.42476e-11 9.03001e-11 1.02881e-10 1.16977e-10 1.3867e-10 1.66769e-10 2.61477e-10 6.08506e-10 1.17716e-09 1.69863e-09 1.56914e-09 1.66915e-09 1.94814e-09 2.90674e-09 4.35025e-09 7.00015e-09 1.71124e-08 4.64853e-08 9.51491e-08 2.67118e-07 5.17385e-07 1.01571e-06 2.80382e-06 6.67874e-06 1.90856e-05 5.3686e-05 0.000135562 0.00039183 0.0011377 0.00303227 0.0100741 0.0368736 0.0889594 0.190742 0.327659 0.446369 0.537339 0.589082 0.612984 0.609967 0.536563 0.463897 0.332495 0.200437 0.102815 0.0399121 0.00945854 0.00535521 0.0038308 0.00130711 0.000649847 0.000363294 0.000129532 4.90947e-05 2.63952e-05 9.02858e-06 3.05059e-06 1.4712e-06 6.87932e-07 1.14014e-07 2.34286e-08 1.11151e-08 6.59838e-09 3.72242e-09 1.8708e-09 7.35389e-10 3.66785e-10 2.4592e-10 2.1668e-10 2.29554e-10 3.11272e-10 6.82861e-10 1.53725e-09 1.9417e-09 1.79373e-09 1.36498e-09 1.02544e-09 1.09299e-09 1.34368e-09 2.10622e-09 5.36781e-09 1.03568e-08 1.53233e-08 3.07797e-08 4.69287e-08 6.22512e-08 4.79608e-08 2.76236e-08 2.44461e-08 2.47146e-08 3.22049e-08 5.13323e-08 7.34259e-08 1.57373e-07 3.50494e-07 9.06114e-07 2.76658e-06 7.09872e-06 2.47231e-05 8.75379e-05 0.000258908 0.000945909 0.003736 0.0141419 0.050369 0.146305 0.307247 0.45694 0.581194 0.67557 0.736709 0.761399 0.752514 0.715808 0.65073 0.557853 0.439637 0.29401 0.149325 0.0772923 0.0331673 0.00537173 0.00167237 0.000931586 0.0005458 0.000243947 0.000111793 6.3247e-05 2.37153e-05 8.80463e-06 4.59302e-06 1.66926e-06 4.47214e-07 1.86252e-07 5.77577e-08 2.7176e-08 5.24434e-09 8.1372e-10 3.70918e-10 1.01975e-10 2.4543e-11 4.61649e-12 7.05916e-13 1.3234e-13 5.97309e-14 8.23976e-16 1.93832e-18 3.57331e-21 5.71388e-24 8.46181e-27 1.04271e-29 8.58528e-33 2.21427e-36 5.89968e-32 2.59329e-28 1.40932e-24 4.40926e-22 7.266e-20 9.16142e-18 4.69179e-16 1.93588e-14 4.78422e-14 7.2417e-14 4.20211e-09 3.12843e-07 1.04588e-05 0.000158523 0.00191373 0.0175456 0.0787617 0.150206 0.202275 0.231907 0.229344 0.185878 0.116405 0.0785022 0.0542475 0.0256285 0.00331018 0.00182743 0.00107428 0.000586374 0.000286891 0.000151564 6.16613e-05 2.87867e-05 9.62634e-06 3.56919e-06 1.39808e-06 3.71182e-07 1.26659e-07 3.67325e-08 1.20045e-08 3.21225e-09 8.07617e-10 2.29486e-10 5.38439e-11 1.16966e-11 3.84947e-12 1.40079e-12 7.07905e-13 4.26179e-13 5.95063e-13 6.67935e-13 7.56234e-13 8.90069e-13 1.27472e-12 1.68925e-12 2.32084e-12 3.40166e-12 4.89019e-12 6.56381e-12 8.80933e-12 1.14051e-11 1.39942e-11 1.69381e-11 2.0958e-11 2.69925e-11 3.57786e-11 5.03782e-11 8.05068e-11 1.28052e-10 2.20058e-10 4.05579e-10 7.66645e-10 1.69942e-09 3.90305e-09 8.2107e-09 1.74369e-08 4.45284e-08 1.45688e-07 4.46366e-07 1.11479e-06 3.53684e-06 1.22456e-05 3.76912e-05 0.000124872 0.000351774 0.00105209 0.00295563 0.00847447 0.0229445 0.046575 0.0792733 0.102968 0.122742 0.118152 0.0982746 0.0541875 0.0180123 0.00248397 0.00257199 0.00273391 0.000921481 0.00045531 0.000153257 5.86265e-05 3.01882e-05 1.19793e-05 4.8695e-06 1.67905e-06 5.55044e-07 2.24007e-07 8.02419e-08 2.21576e-08 6.61512e-09 1.70431e-09 5.27619e-10 2.09868e-10 1.14751e-10 8.95168e-11 8.44179e-11 8.27817e-11 7.16953e-11 6.91471e-11 6.71807e-11 6.28965e-11 5.87414e-11 5.79595e-11 6.0079e-11 6.05678e-11 6.03863e-11 5.94386e-11 5.82962e-11 6.34824e-11 6.73749e-11 6.77053e-11 7.45445e-11 7.43587e-11 7.43656e-11 7.43963e-11 7.45144e-11 7.53757e-11 7.79704e-11 1.05236e-10 1.19297e-10 1.51985e-10 2.15311e-10 6.95021e-10 1.3475e-09 1.36259e-09 2.86535e-09 9.46992e-09 3.38053e-08 1.17715e-07 2.63105e-07 7.28418e-07 2.60321e-06 1.10143e-05 3.82743e-05 0.000109084 0.000298869 0.000817865 0.00240354 0.00595738 0.0102689 0.0196153 0.0238162 0.0344574 0.0425155 0.0322741 0.0200878 0.00861627 0.00124319 0.00483217 0.00270495 0.0018782 0.000837384 0.000451668 0.000217155 6.76953e-05 4.68153e-05 1.8524e-05 1.05263e-05 2.76972e-06 1.80141e-06 5.88484e-07 1.55687e-07 5.88568e-08 2.49722e-08 4.11827e-09 1.65456e-09 9.55248e-10 6.62508e-10 2.64069e-10 9.4835e-11 8.27746e-11 8.24692e-11 8.32883e-11 8.40445e-11 8.58717e-11 8.33725e-11 8.0868e-11 8.06613e-11 8.06519e-11 8.21692e-11 8.32618e-11 8.52897e-11 8.7356e-11 8.79961e-11 8.8482e-11 8.90311e-11 9.44149e-11 1.08447e-10 1.22381e-10 1.27863e-10 1.14802e-10 1.17179e-10 1.22737e-10 1.44323e-10 1.82939e-10 2.58514e-10 6.21851e-10 1.59032e-09 3.21691e-09 9.80153e-09 1.90995e-08 3.655e-08 1.07897e-07 2.566e-07 7.62893e-07 2.17816e-06 5.33656e-06 1.67199e-05 4.72363e-05 0.000127559 0.000401903 0.00131267 0.00316149 0.00681846 0.0183316 0.0327883 0.0532919 0.0736711 0.079033 0.0836675 0.0622094 0.0405939 0.018056 0.00563693 0.00478463 0.00275568 0.00139324 0.000816584 0.000522541 0.000183075 8.00726e-05 4.35213e-05 1.66182e-05 5.54108e-06 2.81056e-06 9.13571e-07 2.28279e-07 8.96023e-08 3.70687e-08 5.19729e-09 9.13449e-10 4.19495e-10 2.74651e-10 2.04437e-10 1.59304e-10 1.36739e-10 1.30804e-10 1.29218e-10 1.26066e-10 1.20596e-10 1.14409e-10 1.36646e-10 1.41817e-10 1.25736e-10 1.08947e-10 9.48578e-11 9.04856e-11 1.02406e-10 1.3773e-10 2.58119e-10 5.36974e-10 8.15192e-10 1.22693e-09 2.56923e-09 9.15779e-09 1.58318e-08 9.89225e-09 3.82324e-09 2.97495e-09 2.59075e-09 2.88884e-09 3.65507e-09 4.0003e-09 5.65352e-09 9.22143e-09 2.09839e-08 5.51313e-08 1.2384e-07 4.07978e-07 1.28506e-06 3.47658e-06 1.21724e-05 4.09119e-05 0.000121904 0.000363058 0.000985368 0.0026509 0.00619178 0.0125991 0.021935 0.0339628 0.0475083 0.0592762 0.0613841 0.0531137 0.0368146 0.0180858 0.00340841 0.0011333 0.000805112 0.00054022 0.000355764 0.000198029 0.000110947 7.03355e-05 3.04477e-05 1.33771e-05 7.70429e-06 2.73157e-06 9.27088e-07 4.76837e-07 1.61891e-07 3.92069e-08 1.49551e-08 4.23003e-09 1.84954e-09 3.13337e-10 4.20553e-11 1.72657e-11 4.23435e-12 9.67036e-13 2.47446e-13 9.38659e-14 5.50773e-14 1.71887e-15 7.58744e-18 1.66402e-20 2.913e-23 4.40953e-26 6.06862e-29 6.87523e-32 5.13828e-35 1.18802e-38 5.51328e-37 2.99637e-33 1.16773e-29 4.42264e-27 8.7932e-25 1.279e-22 8.50518e-21 5.66734e-19 2.52971e-17 7.50178e-16 2.1668e-14 7.15914e-14 5.60075e-11 1.5493e-09 5.63843e-08 9.03722e-07 5.31845e-06 2.46191e-05 7.36246e-05 8.13178e-06 9.28448e-05 0.000240916 0.000357665 0.000505145 0.000440329 0.00041419 0.000380003 0.000237687 0.000147661 8.53697e-05 4.2463e-05 2.30617e-05 9.16368e-06 4.22781e-06 1.3339e-06 4.6894e-07 1.73358e-07 4.2519e-08 1.33056e-08 3.56626e-09 1.0634e-09 2.59184e-10 5.85602e-11 1.52598e-11 3.49394e-12 1.13055e-12 5.26936e-13 3.598e-13 3.17355e-13 2.46032e-13 2.03066e-13 2.31103e-13 3.4645e-13 5.84011e-13 9.24318e-13 1.26416e-12 1.80726e-12 2.72693e-12 4.05376e-12 5.69883e-12 8.03759e-12 1.11978e-11 1.46277e-11 1.85575e-11 2.29346e-11 2.6768e-11 3.0085e-11 3.41624e-11 3.77245e-11 4.17705e-11 4.69331e-11 5.54952e-11 6.88997e-11 9.59623e-11 1.53016e-10 2.02584e-10 2.58755e-10 5.89559e-10 2.22621e-09 8.68161e-09 1.75268e-08 2.68553e-08 8.34686e-08 1.07497e-07 1.81782e-07 4.98101e-07 9.20564e-07 1.24063e-05 2.44531e-05 1.44702e-05 4.71862e-05 2.53993e-05 2.92602e-05 4.25076e-06 3.80123e-05 0.000418745 0.0015182 0.000810468 0.000218708 0.000257088 0.000240259 7.7306e-05 3.71909e-05 1.48201e-05 8.55292e-06 4.35058e-06 1.65612e-06 6.38603e-07 2.08279e-07 6.50702e-08 2.3956e-08 7.82109e-09 2.02316e-09 5.9677e-10 1.90214e-10 9.79065e-11 7.45077e-11 7.87572e-11 8.23659e-11 8.22193e-11 8.25878e-11 8.1169e-11 7.66046e-11 7.8126e-11 6.62676e-11 5.74417e-11 5.66712e-11 6.34494e-11 6.57205e-11 6.06654e-11 6.02211e-11 5.70312e-11 6.47966e-11 7.58291e-11 7.62038e-11 8.97455e-11 8.23603e-11 8.25334e-11 8.01816e-11 8.59806e-11 8.63225e-11 9.32146e-11 8.27645e-11 8.21466e-11 8.41358e-11 8.21065e-11 9.19113e-11 1.13299e-10 9.96886e-11 1.43949e-10 2.86642e-10 9.40908e-10 3.03066e-09 1.12109e-08 2.41999e-08 5.33493e-08 1.58343e-07 8.56642e-07 1.2575e-06 1.69138e-06 6.98491e-06 2.34234e-05 1.88929e-05 4.46207e-05 3.51365e-05 0.000159985 3.74621e-06 1.01411e-05 0.000800742 8.55347e-05 0.000737138 9.53993e-05 0.000472075 0.000255422 0.000175415 6.8179e-05 3.38999e-05 1.72124e-05 6.1033e-06 4.07398e-06 1.62282e-06 8.9741e-07 2.73708e-07 1.29574e-07 4.63832e-08 1.50756e-08 5.42145e-09 1.44226e-09 3.53019e-10 1.8067e-10 1.35429e-10 1.05293e-10 8.68681e-11 8.03051e-11 8.02193e-11 8.14774e-11 8.25152e-11 8.34518e-11 8.5427e-11 8.84065e-11 9.03614e-11 9.25107e-11 9.18502e-11 9.30126e-11 9.66412e-11 1.03672e-10 1.14144e-10 1.15614e-10 1.1534e-10 1.13945e-10 1.06118e-10 9.3992e-11 9.23179e-11 9.24109e-11 9.25534e-11 9.30249e-11 9.41584e-11 9.52527e-11 9.72664e-11 9.95635e-11 1.0181e-10 1.1145e-10 1.5626e-10 2.65976e-10 5.97901e-10 1.1045e-09 2.79341e-09 8.54629e-09 1.55613e-08 3.34764e-08 5.43865e-08 1.03533e-07 4.54547e-07 1.08618e-06 3.94137e-06 9.85944e-06 8.0422e-06 2.75538e-05 3.39486e-05 0.000133186 0.000131671 3.68751e-05 1.30901e-05 6.51853e-05 0.00140616 0.00032314 0.00127098 0.000687422 0.000533158 0.000306881 0.000161915 8.91046e-05 5.67876e-05 2.1153e-05 8.93339e-06 4.67075e-06 1.82164e-06 5.23485e-07 2.33247e-07 7.29505e-08 1.52527e-08 5.91419e-09 2.08364e-09 3.77243e-10 1.60494e-10 1.34988e-10 1.29175e-10 1.31762e-10 1.32318e-10 1.30786e-10 1.29212e-10 1.2848e-10 1.26464e-10 1.2027e-10 1.10643e-10 9.5099e-11 9.15682e-11 8.88616e-11 8.71153e-11 8.75614e-11 8.81521e-11 9.8435e-11 1.43927e-10 2.58018e-10 3.9512e-10 4.79712e-10 6.82751e-10 1.83384e-09 9.06034e-09 9.77316e-09 3.6067e-09 9.62372e-10 7.87764e-10 6.05386e-10 5.50213e-10 5.44311e-10 5.10028e-10 4.95575e-10 5.99978e-10 1.13194e-09 2.02893e-09 3.18573e-09 7.25703e-09 1.31499e-08 2.4618e-08 6.00882e-08 1.80355e-07 3.87558e-07 5.97626e-07 7.61429e-07 1.11425e-06 1.3573e-06 1.48396e-06 1.59866e-06 1.47426e-06 1.3399e-06 2.70724e-06 3.97063e-05 8.16883e-05 0.000118134 0.000143036 0.000136146 0.000105302 7.69246e-05 5.7305e-05 4.18515e-05 2.3476e-05 1.33648e-05 8.93888e-06 3.76733e-06 1.60447e-06 9.26405e-07 3.11444e-07 9.7533e-08 4.91755e-08 1.55713e-08 3.43132e-09 1.19808e-09 3.10192e-10 1.24937e-10 1.88452e-11 2.35592e-12 9.52111e-13 3.26476e-13 1.27807e-13 7.21141e-14 1.60775e-14 9.73572e-16 1.95357e-17 7.81365e-20 1.59201e-22 2.62882e-25 3.74421e-28 4.77375e-31 4.95895e-34 3.35878e-37 6.96079e-41 3.53063e-39 2.235e-35 7.16033e-32 3.01839e-29 6.74265e-27 1.05073e-24 8.18968e-23 6.11905e-21 3.10971e-19 1.02946e-17 2.8694e-16 6.40743e-15 9.20946e-14 4.37466e-13 1.61979e-10 2.19658e-09 1.99133e-08 2.1666e-07 7.0853e-07 2.24592e-06 5.42981e-06 1.26763e-05 2.05447e-05 3.6634e-05 3.48341e-05 4.09803e-05 4.64948e-05 3.08076e-05 2.03462e-05 1.23289e-05 6.28505e-06 3.46634e-06 1.35425e-06 6.15223e-07 1.8399e-07 6.15585e-08 2.14051e-08 4.88017e-09 1.40342e-09 3.48383e-10 9.54346e-11 2.1719e-11 4.71049e-12 1.63212e-12 5.5217e-13 2.79907e-13 3.52478e-13 1.29304e-13 6.07636e-14 5.51512e-14 8.1595e-14 1.28809e-13 2.17311e-13 3.75472e-13 6.01801e-13 8.58095e-13 1.22662e-12 1.8181e-12 2.61359e-12 3.73631e-12 5.46058e-12 8.00885e-12 1.12536e-11 1.57493e-11 2.14278e-11 2.68785e-11 3.247e-11 3.84289e-11 4.43285e-11 4.95637e-11 5.43461e-11 6.02314e-11 6.57671e-11 7.15466e-11 7.82618e-11 8.73699e-11 1.00061e-10 1.59991e-10 3.74934e-10 1.03878e-09 1.95175e-09 3.79877e-09 1.25192e-08 1.53975e-08 4.21846e-08 1.55557e-07 4.0013e-07 9.72695e-07 1.79926e-06 1.2354e-06 4.02172e-06 2.19322e-06 7.29762e-06 1.12697e-06 2.10038e-06 1.10015e-05 6.26938e-05 3.34175e-05 1.89108e-05 2.32465e-05 1.95089e-05 8.43864e-06 4.45371e-06 2.0921e-06 1.25136e-06 6.2562e-07 2.28383e-07 8.36666e-08 2.58417e-08 7.65727e-09 2.59381e-09 7.99131e-10 2.30948e-10 1.04468e-10 7.73163e-11 7.03081e-11 6.75317e-11 7.35739e-11 7.19703e-11 7.43286e-11 7.34698e-11 7.38949e-11 5.69112e-11 6.44816e-11 4.24667e-11 4.17815e-11 3.7458e-11 4.41716e-11 5.18136e-11 3.90062e-11 4.38336e-11 2.97991e-11 3.23412e-11 5.98007e-11 5.29815e-11 8.25592e-11 5.82691e-11 7.89676e-11 7.72751e-11 8.925e-11 8.65923e-11 9.74897e-11 8.92524e-11 8.29837e-11 1.01312e-10 8.31179e-11 9.39275e-11 7.7343e-11 8.0976e-11 9.95733e-11 1.02663e-10 1.70255e-10 3.60864e-10 8.82145e-10 1.9005e-09 4.11978e-09 1.37495e-08 4.74966e-08 6.23304e-08 8.06234e-08 2.20665e-07 1.19151e-06 1.35875e-06 3.09706e-06 2.88575e-06 1.06665e-05 2.5921e-06 2.47191e-07 4.03744e-05 3.43893e-06 3.99186e-05 7.21848e-06 2.8203e-05 1.52411e-05 1.21915e-05 5.18388e-06 2.58083e-06 1.38783e-06 6.66903e-07 3.51832e-07 1.97342e-07 8.06372e-08 3.13376e-08 1.40613e-08 4.98451e-09 1.62011e-09 5.35148e-10 1.63455e-10 8.02129e-11 7.94418e-11 8.12619e-11 8.11136e-11 8.11888e-11 7.95547e-11 8.00545e-11 8.10633e-11 8.36681e-11 8.34494e-11 8.63224e-11 8.9021e-11 8.8749e-11 8.6404e-11 8.31977e-11 7.89535e-11 8.95314e-11 9.9345e-11 1.15188e-10 1.15656e-10 1.15452e-10 1.15046e-10 1.09288e-10 9.90254e-11 9.25628e-11 9.37231e-11 9.82871e-11 1.06599e-10 1.14342e-10 1.2832e-10 1.32579e-10 1.32234e-10 1.3208e-10 1.29976e-10 1.30852e-10 1.32073e-10 1.44918e-10 1.72703e-10 2.74076e-10 6.98276e-10 1.40828e-09 2.44107e-09 3.50986e-09 5.62623e-09 1.75158e-08 5.19638e-08 2.03958e-07 6.93195e-07 7.1184e-07 1.63198e-06 2.38526e-06 5.6697e-06 1.04368e-05 8.76632e-06 1.2554e-05 1.82162e-06 7.21728e-05 1.03368e-05 8.23024e-05 5.71604e-05 4.47369e-05 2.61924e-05 1.52301e-05 8.84015e-06 5.67023e-06 2.14608e-06 8.51241e-07 4.27293e-07 1.7066e-07 5.31983e-08 2.09982e-08 6.27089e-09 1.76225e-09 6.83157e-10 2.72599e-10 1.32504e-10 1.1194e-10 1.17025e-10 1.20646e-10 1.27432e-10 1.3122e-10 1.34615e-10 1.3366e-10 1.33099e-10 1.27483e-10 1.17032e-10 1.08134e-10 9.84469e-11 9.31661e-11 8.86888e-11 8.69456e-11 8.74044e-11 9.38274e-11 1.24734e-10 1.98474e-10 3.44601e-10 5.18741e-10 6.30113e-10 1.11211e-09 5.90079e-09 1.34961e-08 7.63228e-09 1.01777e-09 4.23267e-10 3.54536e-10 2.54828e-10 1.91318e-10 1.53889e-10 1.29075e-10 1.09202e-10 1.23762e-10 1.86689e-10 2.8404e-10 4.3623e-10 9.55083e-10 1.77221e-09 3.49841e-09 1.00139e-08 3.71441e-08 1.04382e-07 2.04568e-07 3.19525e-07 6.32662e-07 1.05606e-06 1.65308e-06 2.82738e-06 3.80148e-06 4.50971e-06 5.34924e-06 6.17232e-06 7.1714e-06 8.55837e-06 1.03037e-05 1.18907e-05 9.76238e-06 7.4271e-06 6.14469e-06 4.86924e-06 2.76808e-06 1.61568e-06 1.12099e-06 4.62014e-07 1.92447e-07 1.1014e-07 3.51718e-08 1.02505e-08 5.04004e-09 1.48721e-09 2.99669e-10 9.59953e-11 2.28682e-11 8.55289e-12 1.30481e-12 2.76734e-13 1.51508e-13 9.67722e-14 3.87726e-14 5.36885e-15 4.10067e-16 1.72831e-17 2.37078e-19 8.70059e-22 1.69461e-24 2.62161e-27 3.49089e-30 4.10684e-33 3.89856e-36 2.38757e-39 4.43069e-43 1.53548e-40 1.11612e-36 3.26675e-33 1.5283e-30 3.80902e-28 6.37436e-26 5.7408e-24 4.7099e-22 2.67326e-20 1.00916e-18 3.08668e-17 6.99632e-16 1.05249e-14 7.99357e-14 6.34102e-12 9.49044e-11 9.4647e-10 1.05321e-08 3.60432e-08 1.06966e-07 4.18302e-07 8.30608e-07 1.16646e-06 2.60389e-06 2.79951e-06 4.1017e-06 5.57958e-06 3.96351e-06 2.79525e-06 1.76436e-06 9.27221e-07 5.15064e-07 1.98959e-07 8.87626e-08 2.52777e-08 8.07242e-09 2.63517e-09 5.61472e-10 1.50028e-10 3.52355e-11 9.03684e-12 2.59865e-12 8.12515e-13 3.3195e-13 3.81692e-13 9.81451e-14 3.66875e-14 1.72161e-14 1.5885e-14 2.49418e-14 4.34416e-14 7.18523e-14 1.23554e-13 2.05034e-13 3.27525e-13 4.94044e-13 7.09819e-13 9.9166e-13 1.29401e-12 1.82179e-12 2.57478e-12 3.66214e-12 5.10715e-12 6.82714e-12 8.92522e-12 1.31114e-11 1.8212e-11 2.366e-11 3.00873e-11 3.64547e-11 4.30287e-11 5.09198e-11 5.87881e-11 6.68354e-11 7.33523e-11 8.69999e-11 1.00142e-10 1.1377e-10 1.38038e-10 1.72015e-10 2.54727e-10 5.74563e-10 1.19278e-09 1.7958e-09 6.36772e-09 1.71476e-08 5.3249e-08 9.26502e-08 1.79085e-07 2.35927e-07 4.22542e-07 5.33595e-07 1.06476e-06 8.14779e-07 1.15767e-06 1.47819e-06 2.95632e-06 1.87089e-06 1.92433e-06 2.80789e-06 1.71925e-06 1.14732e-06 6.20645e-07 2.96269e-07 1.82722e-07 8.95475e-08 3.14126e-08 1.09533e-08 3.21539e-09 9.21424e-10 3.11093e-10 1.18404e-10 6.76081e-11 6.5056e-11 5.39794e-11 4.63875e-11 4.08967e-11 4.63103e-11 4.27312e-11 4.30674e-11 3.9075e-11 4.08248e-11 2.45165e-11 3.13909e-11 1.83115e-11 1.84106e-11 1.62368e-11 1.6574e-11 2.19418e-11 1.62271e-11 1.77996e-11 1.20426e-11 1.17767e-11 2.36738e-11 1.96781e-11 4.17903e-11 2.69224e-11 5.08956e-11 4.38584e-11 7.39768e-11 4.89859e-11 8.16959e-11 6.20954e-11 6.46122e-11 9.60559e-11 6.8655e-11 8.79272e-11 7.27802e-11 8.71881e-11 1.19474e-10 1.14937e-10 1.27851e-10 1.48025e-10 1.43979e-10 2.35607e-10 4.07336e-10 1.06879e-09 2.68004e-09 2.64713e-09 2.56096e-09 1.27638e-08 8.69687e-08 1.18007e-07 3.12965e-07 2.94569e-07 8.07558e-07 5.55363e-07 4.98629e-08 2.22935e-06 4.67947e-07 2.02734e-06 5.47592e-07 1.47137e-06 9.6916e-07 9.18394e-07 3.97177e-07 2.24886e-07 1.2992e-07 8.36183e-08 4.26996e-08 2.39815e-08 7.99062e-09 3.63836e-09 1.6464e-09 5.88957e-10 2.04388e-10 7.55068e-11 5.76631e-11 6.09479e-11 7.34973e-11 7.8354e-11 7.62128e-11 7.58571e-11 7.05654e-11 7.08745e-11 6.82485e-11 6.90998e-11 6.18551e-11 6.13146e-11 6.1564e-11 5.31868e-11 4.66157e-11 3.96538e-11 3.82476e-11 4.70801e-11 5.20901e-11 8.10105e-11 9.57404e-11 9.34427e-11 7.96708e-11 7.5504e-11 7.7119e-11 7.8836e-11 8.80228e-11 9.68779e-11 1.08294e-10 1.16076e-10 1.36448e-10 1.43252e-10 1.44894e-10 1.49425e-10 1.49336e-10 1.49404e-10 1.46937e-10 1.3804e-10 1.37311e-10 1.35885e-10 1.5109e-10 1.97111e-10 2.55083e-10 3.18042e-10 4.70383e-10 1.24425e-09 3.03087e-09 1.01964e-08 4.60207e-08 6.07433e-08 1.34283e-07 2.05438e-07 2.93314e-07 3.02708e-07 1.0576e-07 1.60065e-07 5.02101e-08 3.2817e-06 5.76978e-07 3.97267e-06 3.76996e-06 3.55647e-06 2.31355e-06 1.37576e-06 8.49363e-07 5.36858e-07 2.10012e-07 9.04181e-08 4.38296e-08 1.7165e-08 7.03081e-09 2.72347e-09 8.34031e-10 2.95627e-10 1.64448e-10 1.26655e-10 1.13273e-10 1.09161e-10 1.12432e-10 1.08818e-10 1.21128e-10 1.16141e-10 1.27144e-10 1.1165e-10 1.11649e-10 9.55672e-11 8.40747e-11 8.42001e-11 8.17652e-11 8.32033e-11 8.17792e-11 8.0942e-11 8.20289e-11 9.02514e-11 1.01045e-10 1.18282e-10 1.57349e-10 2.27902e-10 3.21164e-10 8.39493e-10 2.95033e-09 1.139e-08 3.13486e-09 2.09036e-10 2.1367e-10 1.76069e-10 1.25157e-10 9.03974e-11 6.93555e-11 5.49461e-11 4.53611e-11 4.59793e-11 5.46321e-11 6.61723e-11 8.62245e-11 1.27475e-10 1.91255e-10 2.94979e-10 7.72092e-10 2.27005e-09 5.34628e-09 1.1639e-08 1.89365e-08 3.58223e-08 6.68463e-08 1.22134e-07 2.31039e-07 3.34297e-07 3.99361e-07 4.60566e-07 5.59247e-07 6.44265e-07 7.60876e-07 8.33527e-07 1.02387e-06 8.99426e-07 7.21245e-07 6.61719e-07 5.60631e-07 3.24699e-07 1.9553e-07 1.38924e-07 5.62184e-08 2.30561e-08 1.29637e-08 3.93819e-09 1.07616e-09 5.13285e-10 1.41363e-10 2.63545e-11 7.86744e-12 1.89714e-12 7.47845e-13 2.06643e-13 9.24452e-14 5.47867e-14 1.204e-14 1.68588e-15 1.79492e-16 1.03471e-17 3.10256e-19 3.0891e-21 1.0367e-23 1.91402e-26 2.757e-29 3.41137e-32 3.68756e-35 3.18713e-38 1.75987e-41 2.91895e-45 5.12555e-42 4.22496e-38 1.14809e-34 5.98547e-32 1.66331e-29 3.0122e-27 3.09049e-25 2.7436e-23 1.69176e-21 7.02018e-20 2.32294e-18 5.8843e-17 1.15188e-15 2.23541e-14 3.16055e-13 5.27177e-12 3.74166e-11 4.63117e-10 2.20075e-09 5.79898e-09 2.71858e-08 4.85678e-08 7.47516e-08 1.83013e-07 2.31071e-07 4.14002e-07 6.59297e-07 5.05712e-07 3.82104e-07 2.50431e-07 1.36181e-07 7.57863e-08 2.90677e-08 1.27131e-08 3.46097e-09 1.0571e-09 3.24065e-10 6.63883e-11 1.6675e-11 5.30391e-12 1.3576e-12 4.72346e-13 3.46209e-13 1.63303e-13 4.42761e-14 1.16215e-14 4.95664e-15 4.56912e-15 7.4084e-15 1.33372e-14 2.34476e-14 3.99915e-14 6.96781e-14 1.15262e-13 1.86627e-13 2.87246e-13 4.17131e-13 5.71818e-13 7.51122e-13 1.06006e-12 1.51516e-12 2.13576e-12 2.97843e-12 3.96618e-12 5.04524e-12 6.57793e-12 8.45011e-12 1.1825e-11 1.6325e-11 2.08806e-11 2.58814e-11 3.16018e-11 3.82839e-11 4.64567e-11 5.51133e-11 6.54993e-11 7.26726e-11 7.60305e-11 8.33708e-11 9.26325e-11 1.07982e-10 1.66273e-10 2.10865e-10 3.35896e-10 7.07253e-10 1.50657e-09 7.11454e-09 1.07814e-08 2.10277e-08 3.71833e-08 5.14916e-08 9.01477e-08 1.43795e-07 1.85675e-07 2.0272e-07 2.25445e-07 2.35142e-07 1.6676e-07 2.07251e-07 3.38447e-07 2.10379e-07 1.56355e-07 8.67823e-08 4.19524e-08 2.65571e-08 1.27548e-08 4.3213e-09 1.44314e-09 4.18014e-10 1.36543e-10 6.22104e-11 5.28647e-11 3.61907e-11 3.4216e-11 2.87202e-11 2.49876e-11 1.92632e-11 1.99989e-11 1.79461e-11 1.65549e-11 1.34653e-11 1.38521e-11 1.11584e-11 1.23097e-11 9.71956e-12 9.99138e-12 8.98092e-12 8.80758e-12 9.4615e-12 8.73869e-12 8.76288e-12 7.07843e-12 7.07518e-12 9.1268e-12 9.43901e-12 1.3126e-11 1.09173e-11 2.03635e-11 1.70393e-11 2.83499e-11 2.0137e-11 3.40839e-11 3.14892e-11 3.22875e-11 5.50196e-11 3.59883e-11 5.46828e-11 5.08087e-11 6.44478e-11 1.07059e-10 9.89024e-11 1.09947e-10 1.01685e-10 7.40932e-11 1.10467e-10 1.0476e-10 1.46405e-10 2.07783e-10 1.71473e-10 3.15889e-10 1.68892e-09 7.3513e-09 1.24626e-08 3.46604e-08 3.6321e-08 6.74858e-08 5.09665e-08 1.00858e-08 1.42373e-07 5.35758e-08 1.18192e-07 4.22613e-08 9.33866e-08 7.55588e-08 7.85372e-08 3.97076e-08 2.64719e-08 1.563e-08 1.05069e-08 5.29159e-09 2.9414e-09 9.70269e-10 4.55619e-10 2.26749e-10 8.90002e-11 5.56889e-11 3.40869e-11 3.35399e-11 3.68031e-11 4.99083e-11 5.61419e-11 5.44697e-11 5.65807e-11 4.86613e-11 4.81891e-11 4.14751e-11 3.84713e-11 2.88031e-11 2.65439e-11 2.38421e-11 1.98637e-11 1.82484e-11 1.68096e-11 1.73182e-11 2.01161e-11 1.97597e-11 3.51813e-11 3.77901e-11 3.82998e-11 4.24169e-11 4.87763e-11 5.28457e-11 5.10638e-11 5.51886e-11 5.94979e-11 6.71086e-11 6.78007e-11 9.31591e-11 1.02521e-10 1.06237e-10 1.31065e-10 1.3936e-10 1.33179e-10 1.3572e-10 1.34507e-10 1.3788e-10 1.35996e-10 1.25719e-10 1.26624e-10 1.33509e-10 1.44674e-10 1.64756e-10 2.1659e-10 3.12779e-10 8.15856e-10 3.50963e-09 4.84715e-09 1.10982e-08 2.10455e-08 2.34349e-08 1.99211e-08 6.21491e-09 4.73524e-10 9.06308e-10 1.58563e-07 3.69311e-08 2.29896e-07 2.6848e-07 2.70826e-07 1.90614e-07 1.35124e-07 8.44528e-08 5.02895e-08 2.3662e-08 1.21127e-08 5.88598e-09 2.35222e-09 1.01401e-09 4.42047e-10 1.92683e-10 1.31575e-10 1.13041e-10 1.04541e-10 8.84025e-11 8.435e-11 8.52117e-11 7.41045e-11 9.04023e-11 7.16938e-11 8.64172e-11 6.26827e-11 6.39243e-11 5.33125e-11 5.20803e-11 5.79676e-11 5.87505e-11 6.3208e-11 5.93991e-11 5.87195e-11 5.79847e-11 5.97956e-11 5.67349e-11 5.75383e-11 6.0739e-11 6.69015e-11 7.79561e-11 1.12392e-10 1.11363e-10 2.96579e-10 1.83757e-10 1.46083e-10 1.23787e-10 9.67307e-11 7.16422e-11 5.54015e-11 4.3221e-11 3.35627e-11 2.63875e-11 2.15081e-11 2.24436e-11 2.49577e-11 2.924e-11 3.59657e-11 4.58268e-11 5.36089e-11 9.33551e-11 2.27829e-10 4.85094e-10 9.32448e-10 1.73291e-09 2.78349e-09 5.15224e-09 9.57447e-09 1.80672e-08 2.69458e-08 3.15844e-08 3.64034e-08 4.3886e-08 5.30666e-08 6.41289e-08 7.03031e-08 8.7061e-08 8.24257e-08 7.04154e-08 7.14028e-08 6.39742e-08 3.79195e-08 2.36521e-08 1.70431e-08 6.79903e-09 2.75579e-09 1.51186e-09 4.37686e-10 1.13118e-10 5.22224e-11 1.36016e-11 2.51858e-12 8.33086e-13 3.20981e-13 1.64634e-13 1.00874e-13 1.27413e-14 3.49112e-15 6.28239e-16 7.17662e-17 5.91091e-18 2.59383e-19 5.66365e-21 4.31563e-23 1.31492e-25 2.27572e-28 3.03075e-31 3.46041e-34 3.41841e-37 2.67718e-40 1.32763e-43 1.96217e-47 1.28806e-43 1.20327e-39 3.07149e-36 1.78762e-33 5.52756e-31 1.08804e-28 1.26169e-26 1.21517e-24 8.19768e-23 3.79171e-21 1.39104e-19 3.9428e-18 8.66425e-17 1.73332e-15 3.03477e-14 3.63712e-13 2.12069e-12 2.40737e-11 1.3667e-10 3.57673e-10 1.67697e-09 2.91459e-09 4.80457e-09 1.29748e-08 2.24207e-08 4.43232e-08 7.70087e-08 6.40053e-08 5.19527e-08 3.53074e-08 1.99087e-08 1.10685e-08 4.22642e-09 1.80966e-09 4.73301e-10 1.40664e-10 4.1135e-11 1.02577e-11 2.9537e-12 8.09697e-13 3.27325e-13 3.10172e-13 8.68042e-14 2.10636e-14 5.15878e-15 1.5899e-15 1.27106e-15 2.09949e-15 3.99296e-15 7.3043e-15 1.278e-14 2.23452e-14 3.95668e-14 6.6459e-14 1.08124e-13 1.65048e-13 2.37321e-13 3.24405e-13 4.24074e-13 6.00914e-13 8.60984e-13 1.19817e-12 1.66525e-12 2.20258e-12 2.80036e-12 3.58247e-12 4.40959e-12 5.31919e-12 6.83308e-12 9.20382e-12 1.22076e-11 1.65692e-11 2.17225e-11 2.83431e-11 3.59493e-11 4.34125e-11 5.0398e-11 5.75631e-11 6.18235e-11 7.08665e-11 8.07389e-11 9.37489e-11 1.11971e-10 1.44068e-10 1.69095e-10 2.9646e-10 9.27338e-10 1.38689e-09 2.70683e-09 4.89439e-09 6.37732e-09 1.12189e-08 1.77578e-08 2.54811e-08 2.65957e-08 2.89906e-08 2.51304e-08 1.93322e-08 2.47012e-08 4.05583e-08 2.66374e-08 2.13237e-08 1.21729e-08 5.94896e-09 3.84936e-09 1.81732e-09 6.07471e-10 2.05997e-10 6.50885e-11 4.69861e-11 2.87023e-11 2.47471e-11 1.46275e-11 1.44316e-11 1.25432e-11 1.01485e-11 8.04062e-12 8.30914e-12 8.2112e-12 7.95953e-12 7.89064e-12 7.86975e-12 6.68019e-12 7.20374e-12 6.27476e-12 6.42001e-12 6.0588e-12 5.83475e-12 6.1104e-12 5.90348e-12 5.75764e-12 4.96984e-12 4.97505e-12 5.87103e-12 5.91472e-12 7.78813e-12 6.5941e-12 9.31713e-12 8.02117e-12 1.02619e-11 8.41652e-12 1.33451e-11 1.23735e-11 1.26458e-11 2.13173e-11 1.52893e-11 2.81577e-11 2.53805e-11 3.41924e-11 5.56127e-11 6.45301e-11 7.60587e-11 6.96032e-11 5.64183e-11 8.10729e-11 5.64135e-11 6.87052e-11 6.61679e-11 7.17728e-11 1.81937e-10 4.10693e-10 8.98204e-10 2.14233e-09 4.24677e-09 4.40605e-09 6.05945e-09 4.82351e-09 4.58959e-09 1.08967e-08 5.73521e-09 8.2831e-09 3.9068e-09 7.69694e-09 7.74465e-09 7.42663e-09 4.39113e-09 3.18765e-09 1.92381e-09 1.33981e-09 6.71531e-10 3.93938e-10 1.53631e-10 8.35422e-11 6.46994e-11 3.45473e-11 2.13907e-11 1.3279e-11 1.66764e-11 1.84938e-11 2.59488e-11 2.74473e-11 2.82186e-11 3.34744e-11 2.85917e-11 2.75398e-11 2.08315e-11 1.76936e-11 1.31531e-11 1.22251e-11 1.09272e-11 1.07264e-11 1.00218e-11 9.5179e-12 9.79267e-12 1.05953e-11 1.0683e-11 1.43437e-11 1.44782e-11 1.54637e-11 2.16935e-11 2.76161e-11 3.09576e-11 2.83156e-11 2.77637e-11 2.54711e-11 2.51548e-11 2.55841e-11 4.32807e-11 4.91347e-11 5.78398e-11 8.27131e-11 9.06339e-11 9.80061e-11 1.04996e-10 1.10584e-10 1.27266e-10 1.3115e-10 1.25958e-10 1.2981e-10 1.34355e-10 1.40475e-10 1.51137e-10 1.54135e-10 1.59492e-10 1.99298e-10 3.97697e-10 5.45418e-10 1.14032e-09 2.60926e-09 3.16734e-09 2.85108e-09 1.14336e-09 2.84406e-10 2.27984e-10 9.69802e-09 4.9484e-09 1.65375e-08 2.21118e-08 2.33067e-08 1.80285e-08 1.50052e-08 1.04419e-08 5.98222e-09 3.23271e-09 1.70375e-09 8.65626e-10 4.02528e-10 2.28465e-10 1.48685e-10 1.18224e-10 9.66307e-11 7.79227e-11 7.27538e-11 5.79132e-11 5.07502e-11 4.77678e-11 3.52906e-11 4.88128e-11 3.27633e-11 4.15421e-11 2.77079e-11 2.89914e-11 2.60261e-11 2.76993e-11 3.33593e-11 3.37828e-11 3.95407e-11 3.68656e-11 3.81295e-11 3.89975e-11 4.17724e-11 4.414e-11 4.73594e-11 5.27083e-11 5.99762e-11 7.24378e-11 7.83329e-11 8.01967e-11 8.01708e-11 9.79277e-11 1.05246e-10 8.62516e-11 6.70128e-11 4.99028e-11 3.85745e-11 2.93626e-11 2.25223e-11 1.71405e-11 1.29219e-11 1.1621e-11 1.14808e-11 1.19642e-11 1.35543e-11 1.61524e-11 1.83819e-11 2.2617e-11 3.95249e-11 6.56e-11 1.05135e-10 1.78868e-10 2.45745e-10 4.15305e-10 7.40826e-10 1.3926e-09 2.16538e-09 2.56298e-09 2.88515e-09 3.49291e-09 4.31329e-09 5.39344e-09 5.98842e-09 7.33419e-09 7.52913e-09 6.91199e-09 7.71072e-09 7.25029e-09 4.41456e-09 2.85619e-09 2.07297e-09 8.18659e-10 3.28966e-10 1.75097e-10 4.9095e-11 1.2238e-11 5.53408e-12 1.50799e-12 4.50471e-13 2.00186e-13 2.07847e-13 5.96507e-14 8.49148e-15 9.62667e-16 2.18602e-16 3.21517e-17 2.99768e-18 1.92283e-19 6.48268e-21 1.05558e-22 6.41932e-25 1.76341e-27 2.82898e-30 3.45445e-33 3.60986e-36 3.23685e-39 2.28308e-42 1.01146e-45 1.32613e-49 2.53882e-45 2.70856e-41 7.0914e-38 4.63774e-35 1.60084e-32 3.45236e-30 4.51465e-28 4.75017e-26 3.53211e-24 1.83199e-22 7.51598e-21 2.3851e-19 5.79141e-18 1.20567e-16 2.23484e-15 3.03282e-14 2.12483e-13 1.59126e-12 8.5864e-12 2.41618e-11 1.04034e-10 1.91269e-10 3.83662e-10 9.96567e-10 2.45957e-09 4.78902e-09 8.92056e-09 8.04955e-09 7.02828e-09 4.95417e-09 2.89725e-09 1.60715e-09 6.13365e-10 2.57419e-10 6.72258e-11 2.12774e-11 7.46973e-12 1.60298e-12 5.71055e-13 2.63477e-13 1.7112e-13 4.80108e-14 1.16257e-14 2.61227e-15 6.5058e-16 3.59705e-16 5.54038e-16 1.10197e-15 2.14452e-15 3.88658e-15 6.71698e-15 1.18309e-14 2.10656e-14 3.58766e-14 5.77393e-14 8.68981e-14 1.22584e-13 1.69045e-13 2.21172e-13 3.13921e-13 4.45039e-13 6.10745e-13 8.55263e-13 1.11822e-12 1.42175e-12 1.81439e-12 2.26779e-12 2.81847e-12 3.32071e-12 3.93015e-12 4.66541e-12 5.75146e-12 7.92004e-12 1.16001e-11 1.63199e-11 2.10271e-11 2.60936e-11 3.35807e-11 3.79683e-11 4.52027e-11 5.54086e-11 6.53766e-11 8.00803e-11 9.53284e-11 1.12009e-10 1.34853e-10 2.04295e-10 2.73187e-10 4.4018e-10 7.15583e-10 8.83601e-10 1.36735e-09 2.17913e-09 3.14387e-09 3.49077e-09 3.52492e-09 3.07106e-09 2.47744e-09 3.12508e-09 4.8626e-09 3.42629e-09 2.94018e-09 1.74152e-09 8.62856e-10 5.66853e-10 2.73787e-10 9.70772e-11 4.63564e-11 1.97433e-11 1.32706e-11 9.42106e-12 9.38947e-12 6.31183e-12 6.35212e-12 6.46104e-12 6.45109e-12 5.96935e-12 5.99982e-12 5.57544e-12 5.21306e-12 4.90237e-12 4.89863e-12 4.42252e-12 4.66689e-12 4.41935e-12 4.51102e-12 4.3925e-12 4.13068e-12 4.17803e-12 4.25224e-12 4.15133e-12 3.65276e-12 3.5889e-12 4.06085e-12 4.07358e-12 5.15782e-12 4.46445e-12 5.72662e-12 5.08982e-12 6.26151e-12 5.43886e-12 7.03034e-12 7.11783e-12 7.20286e-12 8.57426e-12 7.12342e-12 1.05195e-11 9.12028e-12 1.21424e-11 2.34867e-11 2.90012e-11 3.95074e-11 4.08356e-11 3.73156e-11 4.73755e-11 3.46252e-11 4.89418e-11 4.72269e-11 6.18593e-11 1.32331e-10 1.76026e-10 2.16714e-10 4.83946e-10 5.65601e-10 5.45756e-10 6.16016e-10 5.56991e-10 9.2068e-10 1.0165e-09 6.73055e-10 7.21196e-10 5.73218e-10 8.61292e-10 9.16236e-10 8.0557e-10 5.48416e-10 4.27371e-10 2.72698e-10 1.96595e-10 1.01679e-10 8.21432e-11 6.19762e-11 3.44131e-11 2.12728e-11 1.06959e-11 8.45331e-12 7.53235e-12 8.33439e-12 8.4468e-12 9.78219e-12 1.00206e-11 1.26724e-11 1.80729e-11 1.58945e-11 1.50168e-11 1.2023e-11 1.06627e-11 8.82406e-12 8.08083e-12 7.27563e-12 7.07732e-12 6.74446e-12 6.4655e-12 6.5488e-12 6.91869e-12 7.17886e-12 8.66508e-12 9.11697e-12 9.6671e-12 1.17442e-11 1.31922e-11 1.47161e-11 1.35158e-11 1.22821e-11 1.09604e-11 1.00234e-11 1.0412e-11 1.81697e-11 2.06183e-11 2.90027e-11 4.13298e-11 4.97559e-11 5.71041e-11 6.22924e-11 7.23915e-11 8.74007e-11 9.46565e-11 9.99241e-11 1.16099e-10 1.20367e-10 1.27268e-10 1.4025e-10 1.46628e-10 1.54027e-10 1.58688e-10 1.60064e-10 1.90158e-10 2.74778e-10 3.91543e-10 4.43002e-10 4.49298e-10 2.89561e-10 2.36015e-10 1.83144e-10 1.06211e-09 1.15466e-09 1.80475e-09 2.2725e-09 2.37567e-09 2.11118e-09 1.92185e-09 1.47026e-09 8.65033e-10 5.14815e-10 3.1023e-10 2.00522e-10 1.41385e-10 1.27429e-10 9.89392e-11 7.42429e-11 6.00223e-11 4.78736e-11 4.2173e-11 2.7924e-11 2.27433e-11 1.93676e-11 1.25291e-11 1.99563e-11 1.25995e-11 1.60577e-11 1.18506e-11 1.28214e-11 1.26342e-11 1.36745e-11 1.60583e-11 1.64741e-11 2.02667e-11 1.97933e-11 2.25912e-11 2.2932e-11 2.57484e-11 2.91394e-11 3.3599e-11 3.98977e-11 4.96772e-11 6.83215e-11 8.66575e-11 1.01739e-10 9.76902e-11 9.84823e-11 8.50129e-11 6.69234e-11 5.10348e-11 3.61394e-11 2.60543e-11 1.82816e-11 1.33341e-11 1.01602e-11 7.48413e-12 5.69235e-12 4.79453e-12 4.56745e-12 4.89101e-12 5.58837e-12 6.63528e-12 7.96102e-12 1.0833e-11 1.4912e-11 2.01834e-11 2.8232e-11 3.42616e-11 4.32587e-11 6.53506e-11 1.12025e-10 1.78187e-10 2.14128e-10 2.39959e-10 2.85219e-10 3.59931e-10 4.53736e-10 5.27322e-10 6.25286e-10 6.96935e-10 6.90416e-10 8.37833e-10 8.21148e-10 5.1587e-10 3.45819e-10 2.50956e-10 1.00508e-10 4.06084e-11 2.06297e-11 6.22299e-12 1.74256e-12 7.92679e-13 3.18669e-13 1.58766e-13 9.00704e-14 2.34191e-14 5.51737e-15 7.06788e-16 7.20824e-17 1.34434e-17 1.61663e-18 1.23122e-19 6.19338e-21 1.61977e-22 2.01291e-24 1.00643e-26 2.47705e-29 3.64351e-32 4.03624e-35 3.82325e-38 3.08558e-41 1.94505e-44 7.64498e-48 8.8367e-52 5.64295e-47 7.10132e-43 1.99348e-39 1.48097e-36 5.75018e-34 1.37178e-31 2.02127e-29 2.32271e-27 1.88543e-25 1.07427e-23 4.79234e-22 1.6439e-20 4.28084e-19 9.05652e-18 1.65799e-16 2.37958e-15 1.83012e-14 1.27648e-13 6.64933e-13 1.87341e-12 7.68857e-12 1.54466e-11 4.10855e-11 1.10213e-10 2.68113e-10 5.1929e-10 1.03075e-09 1.01255e-09 9.50279e-10 6.96497e-10 4.22504e-10 2.36429e-10 9.3128e-11 3.80914e-11 1.3805e-11 4.36436e-12 1.11285e-12 4.03089e-13 2.4293e-13 1.11348e-13 2.9151e-14 7.2036e-15 1.52174e-15 3.24743e-16 1.12088e-16 1.36841e-16 2.73238e-16 5.61181e-16 1.08133e-15 1.93116e-15 3.25637e-15 5.72381e-15 1.01896e-14 1.76098e-14 2.78677e-14 4.16918e-14 5.85534e-14 8.23262e-14 1.09351e-13 1.56598e-13 2.22165e-13 3.08541e-13 4.3628e-13 5.81359e-13 7.36031e-13 9.56852e-13 1.20353e-12 1.5109e-12 1.82979e-12 2.22841e-12 2.57501e-12 3.12021e-12 3.66706e-12 4.39015e-12 5.25182e-12 6.79222e-12 8.93982e-12 1.21862e-11 1.59247e-11 2.10567e-11 2.89857e-11 3.9038e-11 5.02533e-11 6.60496e-11 8.81711e-11 8.93841e-11 1.01867e-10 1.19908e-10 1.50496e-10 1.91075e-10 2.11538e-10 2.4637e-10 3.39852e-10 4.50668e-10 4.94153e-10 4.94416e-10 4.4335e-10 3.78382e-10 4.74612e-10 6.40793e-10 5.00019e-10 4.53066e-10 2.91606e-10 1.51915e-10 9.78335e-11 5.713e-11 3.12427e-11 1.45929e-11 8.3411e-12 6.20329e-12 5.69984e-12 5.7023e-12 5.56686e-12 5.26087e-12 4.95734e-12 4.57006e-12 4.01304e-12 3.96131e-12 3.59079e-12 3.38572e-12 3.275e-12 3.28512e-12 3.07415e-12 3.19063e-12 3.1732e-12 3.24467e-12 3.19609e-12 2.95033e-12 2.9456e-12 3.06222e-12 2.97858e-12 2.63471e-12 2.54892e-12 2.8497e-12 2.87211e-12 3.53411e-12 3.12662e-12 3.90891e-12 3.52564e-12 4.21208e-12 3.85313e-12 4.80613e-12 5.08942e-12 5.2622e-12 5.43173e-12 5.15575e-12 6.18375e-12 5.71002e-12 6.51184e-12 8.61547e-12 9.62121e-12 1.45733e-11 1.63321e-11 1.56873e-11 2.09851e-11 1.72721e-11 2.842e-11 2.823e-11 3.8784e-11 8.16217e-11 1.18014e-10 1.34949e-10 1.84105e-10 1.49597e-10 1.34098e-10 1.34889e-10 1.34378e-10 1.91757e-10 1.50686e-10 1.23448e-10 1.42096e-10 1.37044e-10 1.61774e-10 1.71774e-10 1.49381e-10 1.2364e-10 1.0036e-10 7.5585e-11 5.80642e-11 3.51198e-11 2.61545e-11 1.79918e-11 9.37684e-12 7.83137e-12 7.18013e-12 7.07653e-12 6.73248e-12 7.08828e-12 6.94318e-12 7.76447e-12 7.98115e-12 9.76106e-12 1.09905e-11 1.04902e-11 9.92511e-12 8.18858e-12 7.20397e-12 5.91825e-12 5.52067e-12 5.09768e-12 5.07134e-12 4.82286e-12 4.6452e-12 4.64004e-12 4.86038e-12 5.11723e-12 6.02009e-12 6.31705e-12 6.689e-12 7.87215e-12 8.49538e-12 9.0851e-12 8.44112e-12 7.64649e-12 7.22134e-12 6.63035e-12 7.05402e-12 8.76611e-12 8.81072e-12 1.15252e-11 1.71095e-11 2.01442e-11 2.47706e-11 2.66004e-11 3.71298e-11 4.67051e-11 5.22764e-11 5.64114e-11 7.16679e-11 8.43548e-11 9.66375e-11 1.15128e-10 1.28954e-10 1.43652e-10 1.54793e-10 1.53992e-10 1.58394e-10 1.63225e-10 1.56256e-10 1.52578e-10 1.60709e-10 1.71993e-10 1.8127e-10 1.81439e-10 2.77804e-10 3.07038e-10 3.62969e-10 3.9491e-10 4.01067e-10 3.93128e-10 3.67048e-10 2.94143e-10 1.90749e-10 1.45515e-10 1.23886e-10 1.15047e-10 8.93942e-11 8.13859e-11 5.84139e-11 4.38736e-11 3.40094e-11 2.30371e-11 1.72284e-11 1.02043e-11 8.94387e-12 8.45603e-12 7.80961e-12 8.23252e-12 7.80788e-12 8.50401e-12 7.70692e-12 8.03397e-12 7.6016e-12 7.8405e-12 8.55234e-12 8.80018e-12 1.03643e-11 1.01665e-11 1.19286e-11 1.23854e-11 1.43532e-11 1.65797e-11 2.01786e-11 2.52317e-11 3.38096e-11 4.79639e-11 7.41329e-11 9.34608e-11 9.61936e-11 8.83108e-11 7.3596e-11 5.4377e-11 3.72025e-11 2.30765e-11 1.4229e-11 8.69074e-12 5.94722e-12 4.57535e-12 3.7754e-12 3.16323e-12 2.64016e-12 2.53321e-12 2.68898e-12 2.82487e-12 3.21359e-12 3.45877e-12 3.93274e-12 4.77688e-12 5.87025e-12 7.42558e-12 8.6068e-12 9.72206e-12 1.09637e-11 1.476e-11 2.1111e-11 2.45489e-11 2.78279e-11 3.31044e-11 4.06959e-11 4.9932e-11 5.92168e-11 6.74582e-11 7.77672e-11 8.1435e-11 9.8925e-11 9.86826e-11 6.54109e-11 4.48205e-11 3.1559e-11 1.43869e-11 7.57388e-12 3.2787e-12 9.11984e-13 3.78534e-13 2.20893e-13 1.99317e-13 4.26383e-14 1.13637e-14 2.55433e-15 4.98481e-16 5.80213e-17 5.31974e-18 8.12059e-19 7.99834e-20 4.98174e-21 1.9789e-22 4.05369e-24 3.92713e-26 1.64477e-28 3.60277e-31 4.80232e-34 4.77078e-37 4.05009e-40 2.9117e-43 1.62454e-46 5.61403e-50 5.67258e-54 2.3807e-48 3.71222e-44 1.16845e-40 1.00265e-37 4.43819e-35 1.1873e-32 1.98237e-30 2.50383e-28 2.22173e-26 1.38335e-24 6.64234e-23 2.41594e-21 6.57668e-20 1.3936e-18 2.33685e-17 2.88101e-16 2.57095e-15 1.86722e-14 8.95995e-14 3.31695e-13 9.55752e-13 3.17056e-12 8.0739e-12 1.83961e-11 3.74733e-11 6.65489e-11 1.25346e-10 1.35291e-10 1.35212e-10 1.05003e-10 6.64685e-11 3.66913e-11 2.0729e-11 8.77062e-12 2.10411e-12 7.58227e-13 3.30843e-13 2.53923e-13 8.02951e-14 2.06722e-14 4.7911e-15 1.04451e-15 1.96048e-16 4.51212e-17 3.19043e-17 6.09136e-17 1.28364e-16 2.63715e-16 4.97237e-16 8.75375e-16 1.42691e-15 2.49201e-15 4.4281e-15 7.74693e-15 1.22582e-14 1.83248e-14 2.62006e-14 3.80532e-14 5.13828e-14 7.40324e-14 1.07134e-13 1.49635e-13 2.14979e-13 2.92843e-13 3.76504e-13 4.91265e-13 6.38193e-13 8.14444e-13 1.00402e-12 1.26002e-12 1.49662e-12 1.8007e-12 2.14643e-12 2.57885e-12 2.98184e-12 3.47811e-12 4.70489e-12 4.99103e-12 5.64643e-12 7.10071e-12 1.00332e-11 1.51182e-11 2.19563e-11 3.28948e-11 4.71669e-11 5.51949e-11 6.8171e-11 7.7872e-11 9.3193e-11 1.12663e-10 1.30235e-10 1.46336e-10 1.54955e-10 1.54106e-10 1.60951e-10 1.51883e-10 1.5326e-10 1.62225e-10 1.62873e-10 1.41161e-10 1.37468e-10 1.24842e-10 9.71537e-11 5.78228e-11 3.54524e-11 1.91051e-11 1.00941e-11 6.48603e-12 5.17464e-12 5.11011e-12 4.92481e-12 4.69321e-12 3.97643e-12 3.67635e-12 3.32435e-12 3.04066e-12 2.692e-12 2.63939e-12 2.36252e-12 2.25373e-12 2.21275e-12 2.2262e-12 2.11048e-12 2.16283e-12 2.19871e-12 2.24827e-12 2.21678e-12 2.02939e-12 2.00816e-12 2.10019e-12 2.03414e-12 1.79356e-12 1.73122e-12 1.94746e-12 1.971e-12 2.42022e-12 2.15395e-12 2.70189e-12 2.44257e-12 2.91614e-12 2.70705e-12 3.38553e-12 3.73486e-12 3.90977e-12 3.87619e-12 3.8408e-12 4.61296e-12 4.27617e-12 4.92066e-12 5.66775e-12 5.94806e-12 6.61749e-12 6.61748e-12 6.83744e-12 8.03015e-12 8.12694e-12 1.07965e-11 1.09626e-11 1.48637e-11 4.52049e-11 7.99073e-11 1.08285e-10 1.38124e-10 1.15569e-10 1.33746e-10 1.35726e-10 1.1306e-10 1.34168e-10 1.08644e-10 1.093e-10 1.04377e-10 1.12714e-10 1.12314e-10 1.03073e-10 8.5225e-11 6.24766e-11 3.92614e-11 2.48375e-11 1.82914e-11 1.25229e-11 8.83448e-12 6.92687e-12 6.45949e-12 6.65712e-12 6.15671e-12 5.91809e-12 5.09237e-12 5.33128e-12 5.17683e-12 5.76743e-12 5.87042e-12 7.37063e-12 8.13424e-12 7.11516e-12 6.46532e-12 5.25962e-12 4.70414e-12 3.90063e-12 3.8e-12 3.58695e-12 3.59471e-12 3.3942e-12 3.26787e-12 3.26364e-12 3.41094e-12 3.63287e-12 4.27639e-12 4.5134e-12 4.80115e-12 5.63779e-12 5.9688e-12 6.07886e-12 5.65455e-12 5.14818e-12 5.13352e-12 4.75652e-12 5.11076e-12 6.22697e-12 6.20592e-12 6.87608e-12 7.62256e-12 8.20655e-12 9.57128e-12 1.01374e-11 1.61553e-11 1.96721e-11 2.2318e-11 2.52109e-11 3.55855e-11 4.77306e-11 6.22875e-11 8.21972e-11 9.66075e-11 1.16682e-10 1.36383e-10 1.47843e-10 1.41198e-10 1.40577e-10 1.42378e-10 1.53154e-10 1.64634e-10 1.80495e-10 1.96807e-10 1.87106e-10 1.9547e-10 1.91465e-10 1.89451e-10 1.9081e-10 1.93455e-10 1.86225e-10 1.67879e-10 1.41906e-10 1.06408e-10 8.76902e-11 6.94298e-11 6.65454e-11 4.87663e-11 4.7492e-11 3.20476e-11 2.20757e-11 1.42353e-11 8.9652e-12 7.53966e-12 7.23274e-12 7.19219e-12 6.7214e-12 5.66412e-12 6.08185e-12 5.28536e-12 5.70093e-12 5.04533e-12 5.19115e-12 5.03477e-12 5.14022e-12 5.35269e-12 5.46997e-12 5.82797e-12 5.68545e-12 6.4288e-12 6.84085e-12 8.0547e-12 9.57332e-12 1.20506e-11 1.58936e-11 2.19754e-11 3.27992e-11 4.96659e-11 7.2903e-11 8.46807e-11 7.70641e-11 5.93428e-11 3.92285e-11 2.17164e-11 1.02271e-11 5.37682e-12 3.62677e-12 2.75543e-12 2.16744e-12 1.83482e-12 1.58942e-12 1.3827e-12 1.38761e-12 1.51018e-12 1.58705e-12 1.79232e-12 2.02464e-12 2.14092e-12 2.43058e-12 2.78558e-12 3.38776e-12 4.75094e-12 5.82089e-12 6.59432e-12 7.57567e-12 8.81971e-12 1.0127e-11 1.15577e-11 1.38659e-11 1.64251e-11 1.91577e-11 2.18169e-11 2.3467e-11 2.38488e-11 2.43132e-11 2.2991e-11 1.94843e-11 1.51761e-11 1.0729e-11 6.15525e-12 2.54266e-12 1.06375e-12 5.41587e-13 2.61994e-13 2.54887e-13 1.05908e-13 2.87324e-14 5.5854e-15 1.40096e-15 2.71081e-16 4.4165e-17 4.69026e-18 3.85758e-19 4.82093e-20 3.89875e-21 1.98888e-22 6.28054e-24 1.017e-25 7.82101e-28 2.77057e-30 5.35703e-33 6.38104e-36 5.60691e-39 4.20611e-42 2.65816e-45 1.29622e-48 3.89147e-52 3.39758e-56 8.9704e-50 1.87542e-45 6.96022e-42 7.03906e-39 3.60725e-36 1.09709e-33 2.09101e-31 2.92689e-29 2.8517e-27 1.93989e-25 1.00201e-23 3.87379e-22 1.12121e-20 2.53509e-19 4.58648e-18 5.78585e-17 4.64513e-16 3.24347e-15 2.37612e-14 7.9661e-14 2.98229e-13 7.49246e-13 2.0153e-12 5.14496e-12 1.03121e-11 1.76334e-11 2.46331e-11 2.89687e-11 2.9638e-11 2.58149e-11 1.8549e-11 9.79129e-12 3.94166e-12 1.40772e-12 5.14817e-13 2.80513e-13 1.88366e-13 5.51569e-14 1.56983e-14 3.64505e-15 7.60075e-16 1.46759e-16 2.55361e-17 8.58725e-18 1.21183e-17 2.62099e-17 5.50487e-17 1.13756e-16 2.09234e-16 3.65006e-16 5.74713e-16 9.94241e-16 1.77123e-15 3.11523e-15 5.04033e-15 7.56906e-15 1.11746e-14 1.71691e-14 2.3406e-14 3.34569e-14 5.0199e-14 7.07904e-14 1.02912e-13 1.43423e-13 1.88726e-13 2.51598e-13 3.33146e-13 4.35162e-13 5.56891e-13 7.00866e-13 8.57931e-13 1.06259e-12 1.29472e-12 1.57209e-12 1.86408e-12 2.22874e-12 3.26841e-12 3.57386e-12 3.91052e-12 4.39136e-12 5.00538e-12 5.74034e-12 7.35862e-12 1.01445e-11 1.39774e-11 1.93499e-11 3.22537e-11 3.96318e-11 5.13993e-11 6.61232e-11 7.27113e-11 8.42905e-11 9.14275e-11 1.03466e-10 1.02358e-10 1.03511e-10 1.02031e-10 9.10268e-11 8.65505e-11 8.86121e-11 7.51605e-11 5.77605e-11 3.44532e-11 1.69189e-11 1.05938e-11 7.05856e-12 5.56387e-12 4.23693e-12 4.22422e-12 4.01066e-12 3.48792e-12 3.26166e-12 2.71596e-12 2.47552e-12 2.17967e-12 2.00005e-12 1.77723e-12 1.731e-12 1.52368e-12 1.45779e-12 1.43941e-12 1.44523e-12 1.37108e-12 1.39464e-12 1.41953e-12 1.44595e-12 1.41855e-12 1.29888e-12 1.27842e-12 1.32635e-12 1.27906e-12 1.1193e-12 1.09145e-12 1.24033e-12 1.26304e-12 1.5735e-12 1.39845e-12 1.79648e-12 1.61121e-12 1.96364e-12 1.81787e-12 2.32875e-12 2.60639e-12 2.76846e-12 2.72987e-12 2.74806e-12 3.35334e-12 3.11846e-12 3.67906e-12 4.30996e-12 4.61839e-12 5.06606e-12 5.16809e-12 5.52856e-12 5.64541e-12 6.61797e-12 7.05208e-12 7.3235e-12 7.91313e-12 1.38548e-11 2.69298e-11 4.225e-11 6.68269e-11 5.04385e-11 6.89336e-11 7.55097e-11 5.93082e-11 6.74271e-11 4.13314e-11 4.70994e-11 3.89336e-11 4.01183e-11 4.38068e-11 4.13419e-11 2.83784e-11 1.74997e-11 1.19793e-11 8.42859e-12 7.62673e-12 6.08627e-12 6.18375e-12 6.17045e-12 5.87837e-12 5.68654e-12 4.82964e-12 4.43655e-12 3.71518e-12 3.88495e-12 3.75119e-12 4.1881e-12 4.22606e-12 5.31339e-12 5.39418e-12 4.55873e-12 4.07425e-12 3.29971e-12 2.97304e-12 2.46535e-12 2.50957e-12 2.3905e-12 2.38739e-12 2.24278e-12 2.15282e-12 2.16074e-12 2.267e-12 2.44646e-12 2.9073e-12 3.09546e-12 3.33568e-12 3.94554e-12 4.17362e-12 4.01068e-12 3.75659e-12 3.42875e-12 3.59154e-12 3.35113e-12 3.64221e-12 4.44793e-12 4.44231e-12 4.99323e-12 5.4951e-12 5.82763e-12 6.30124e-12 6.92751e-12 7.875e-12 8.49632e-12 9.51081e-12 1.19541e-11 1.69656e-11 2.67028e-11 3.92769e-11 5.42285e-11 6.30921e-11 7.93984e-11 8.57555e-11 9.58241e-11 9.56255e-11 9.76566e-11 9.75957e-11 1.10118e-10 1.2352e-10 1.44821e-10 1.63094e-10 1.71585e-10 1.70517e-10 1.63271e-10 1.62808e-10 1.62777e-10 1.52801e-10 1.28129e-10 1.02448e-10 7.67023e-11 5.21153e-11 4.45454e-11 3.49543e-11 3.68527e-11 2.60992e-11 2.47153e-11 1.35773e-11 8.83172e-12 6.76862e-12 6.72211e-12 6.50556e-12 5.53195e-12 5.07942e-12 4.6531e-12 3.83937e-12 3.98315e-12 3.5001e-12 3.67999e-12 3.42303e-12 3.52635e-12 3.4619e-12 3.5309e-12 3.61501e-12 3.68277e-12 3.66897e-12 3.53492e-12 3.63247e-12 3.81197e-12 4.56372e-12 5.48312e-12 6.89999e-12 9.19171e-12 1.32836e-11 2.06013e-11 3.31601e-11 5.08965e-11 6.19534e-11 5.61587e-11 3.92683e-11 2.1561e-11 8.4168e-12 4.3182e-12 2.6433e-12 1.85296e-12 1.32853e-12 1.03973e-12 9.39117e-13 7.29854e-13 6.35562e-13 6.42501e-13 7.11018e-13 7.42626e-13 7.64944e-13 7.46434e-13 7.62144e-13 9.47709e-13 1.00732e-12 1.16384e-12 1.36676e-12 1.571e-12 1.78306e-12 1.78093e-12 1.85296e-12 2.17393e-12 2.34835e-12 2.63314e-12 3.26944e-12 4.09905e-12 4.72788e-12 5.0793e-12 4.84523e-12 4.8354e-12 4.36612e-12 3.33952e-12 2.27814e-12 1.50862e-12 9.30278e-13 5.43828e-13 3.02122e-13 1.96049e-13 1.41552e-13 4.60247e-14 1.69797e-14 4.0917e-15 7.23458e-16 1.68354e-16 2.80913e-17 3.8495e-18 3.73079e-19 2.74465e-20 2.8149e-21 1.8743e-22 7.84402e-24 1.98127e-25 2.55702e-27 1.58298e-29 4.75562e-32 8.03055e-35 8.40709e-38 6.41803e-41 4.17886e-44 2.28196e-47 9.5655e-51 2.45486e-54 1.82254e-58 2.2161e-51 7.40599e-47 3.47793e-43 4.28244e-40 2.61001e-37 9.25484e-35 2.05981e-32 3.27924e-30 3.59807e-28 2.73826e-26 1.56139e-24 6.60969e-23 2.09993e-21 5.12517e-20 1.01531e-18 1.50989e-17 1.30039e-16 9.25016e-16 5.26387e-15 2.09715e-14 7.72051e-14 2.19527e-13 4.70362e-13 1.12085e-12 2.92667e-12 5.26598e-12 7.98902e-12 8.80164e-12 7.83349e-12 5.74042e-12 3.30051e-12 1.44829e-12 7.47172e-13 4.10471e-13 3.72226e-13 1.3803e-13 4.2403e-14 1.15261e-14 2.9737e-15 6.18947e-16 1.16637e-16 2.01125e-17 3.62595e-18 2.4108e-18 4.80058e-18 1.04689e-17 2.1693e-17 4.64935e-17 8.41406e-17 1.46885e-16 2.25694e-16 3.85079e-16 6.8961e-16 1.20014e-15 1.99472e-15 3.03145e-15 4.59484e-15 7.59367e-15 1.03381e-14 1.4575e-14 2.28272e-14 3.24242e-14 4.83037e-14 6.86307e-14 9.22667e-14 1.26171e-13 1.70496e-13 2.29267e-13 3.01429e-13 3.84842e-13 4.86269e-13 6.1753e-13 7.66961e-13 9.35854e-13 1.13368e-12 1.38985e-12 2.19769e-12 2.44532e-12 2.71951e-12 3.18607e-12 3.74125e-12 4.27927e-12 4.94263e-12 5.49389e-12 6.14863e-12 6.87794e-12 8.95977e-12 1.09489e-11 1.47475e-11 2.18932e-11 2.71928e-11 3.43011e-11 3.80142e-11 4.6433e-11 4.30047e-11 4.45424e-11 4.31823e-11 3.3222e-11 2.85583e-11 2.81301e-11 2.1475e-11 1.51626e-11 8.88694e-12 5.96146e-12 4.71536e-12 3.98213e-12 3.94524e-12 3.64044e-12 3.15234e-12 2.77948e-12 2.34513e-12 2.16328e-12 1.79242e-12 1.61321e-12 1.38789e-12 1.26918e-12 1.11841e-12 1.07581e-12 9.24591e-13 8.80232e-13 8.67822e-13 8.6557e-13 8.15361e-13 8.25956e-13 8.27756e-13 8.38643e-13 8.14413e-13 7.49799e-13 7.34182e-13 7.49801e-13 7.1993e-13 6.24349e-13 6.19057e-13 7.11769e-13 7.29613e-13 9.28217e-13 8.24069e-13 1.09458e-12 9.74323e-13 1.22142e-12 1.12387e-12 1.4888e-12 1.65944e-12 1.80142e-12 1.80571e-12 1.82515e-12 2.26116e-12 2.13305e-12 2.58319e-12 3.07601e-12 3.39928e-12 3.80757e-12 3.97141e-12 4.35379e-12 4.376e-12 5.36814e-12 5.6809e-12 5.95582e-12 6.51904e-12 6.78791e-12 9.13065e-12 1.18781e-11 2.0824e-11 1.45786e-11 2.2801e-11 2.63247e-11 1.85592e-11 2.18264e-11 8.16301e-12 1.16514e-11 8.3706e-12 1.09376e-11 1.17902e-11 1.08506e-11 8.25103e-12 6.29895e-12 5.62977e-12 5.50769e-12 5.32884e-12 5.65184e-12 5.62404e-12 5.13169e-12 4.47512e-12 4.30081e-12 3.52087e-12 3.19831e-12 2.62126e-12 2.73089e-12 2.61283e-12 2.91766e-12 2.9203e-12 3.66194e-12 3.42571e-12 2.83533e-12 2.49792e-12 2.00065e-12 1.79283e-12 1.47615e-12 1.52362e-12 1.44452e-12 1.42736e-12 1.33459e-12 1.27525e-12 1.28878e-12 1.36016e-12 1.49184e-12 1.80304e-12 1.93879e-12 2.1319e-12 2.55122e-12 2.72212e-12 2.48249e-12 2.33736e-12 2.17339e-12 2.34431e-12 2.19229e-12 2.43187e-12 3.02864e-12 3.05619e-12 3.51424e-12 3.89432e-12 4.22139e-12 4.61146e-12 5.25885e-12 5.72308e-12 5.89993e-12 6.09773e-12 6.6632e-12 8.77685e-12 1.62562e-11 2.65285e-11 3.73649e-11 4.42882e-11 5.46088e-11 5.72497e-11 5.44219e-11 5.89332e-11 6.34999e-11 6.29289e-11 7.5103e-11 8.36979e-11 9.88439e-11 1.09314e-10 1.23605e-10 1.19408e-10 1.06737e-10 1.01493e-10 9.47705e-11 8.14814e-11 6.20628e-11 4.93195e-11 3.61541e-11 2.45694e-11 2.32566e-11 1.7984e-11 1.8683e-11 1.16433e-11 9.63853e-12 6.17375e-12 6.14182e-12 5.99262e-12 5.30581e-12 4.72931e-12 3.87591e-12 3.45634e-12 3.12011e-12 2.54726e-12 2.56512e-12 2.27267e-12 2.36835e-12 2.2417e-12 2.32929e-12 2.27481e-12 2.33615e-12 2.37427e-12 2.41731e-12 2.3357e-12 2.21553e-12 2.03993e-12 2.02199e-12 2.36663e-12 2.80552e-12 3.45924e-12 4.54067e-12 6.666e-12 1.07058e-11 1.80097e-11 2.87948e-11 3.62593e-11 3.19848e-11 2.03118e-11 9.11488e-12 3.85708e-12 2.21492e-12 1.32602e-12 9.79857e-13 6.39198e-13 4.7741e-13 4.70115e-13 3.40083e-13 2.75574e-13 2.60454e-13 2.74566e-13 2.80676e-13 2.7691e-13 2.55669e-13 2.59134e-13 2.42659e-13 2.40971e-13 2.66143e-13 3.04602e-13 3.12801e-13 3.58288e-13 4.23733e-13 4.40211e-13 5.42649e-13 6.43582e-13 7.00167e-13 7.70264e-13 6.47338e-13 7.42927e-13 8.16973e-13 8.11507e-13 8.3604e-13 7.99969e-13 6.67179e-13 5.14542e-13 3.97418e-13 2.99512e-13 2.40857e-13 1.78448e-13 8.17417e-14 2.73622e-14 8.14774e-15 2.6386e-15 5.7445e-16 9.25852e-17 1.97241e-17 2.84956e-18 3.30853e-19 2.91968e-20 1.91531e-21 1.61777e-22 8.89353e-24 3.05849e-25 6.2122e-27 6.43271e-29 3.2352e-31 8.21587e-34 1.1945e-36 1.0764e-39 6.97231e-43 3.84823e-46 1.77438e-49 6.25086e-53 1.34107e-56 8.27679e-61 2.13473e-53 1.80697e-48 1.22916e-44 1.95468e-41 1.46943e-38 6.25957e-36 1.67891e-33 3.13318e-31 3.98853e-29 3.49808e-27 2.27697e-25 1.09177e-23 3.8882e-22 1.01745e-20 2.08271e-19 3.55933e-18 3.5905e-17 2.41475e-16 1.48225e-15 6.40899e-15 2.31602e-14 7.05671e-14 1.70103e-13 3.37995e-13 3.30106e-13 4.81993e-13 9.76066e-13 1.11078e-12 1.00791e-12 8.21028e-13 6.60834e-13 4.26537e-13 2.94914e-13 2.72719e-13 9.31051e-14 3.3238e-14 9.2582e-15 2.32321e-15 5.44712e-16 1.01785e-16 1.73561e-17 2.72763e-18 6.44681e-19 8.32022e-19 1.83782e-18 3.93403e-18 8.12001e-18 1.87916e-17 3.39146e-17 5.95479e-17 9.02638e-17 1.50452e-16 2.68522e-16 4.5738e-16 7.71403e-16 1.19127e-15 1.82797e-15 3.21675e-15 4.37126e-15 6.10248e-15 9.86812e-15 1.41467e-14 2.16222e-14 3.1206e-14 4.30378e-14 6.00108e-14 8.25903e-14 1.1422e-13 1.54302e-13 2.02034e-13 2.63274e-13 3.42456e-13 4.35739e-13 5.37355e-13 6.6347e-13 8.36506e-13 1.34695e-12 1.54803e-12 1.77357e-12 2.14552e-12 2.56199e-12 3.02515e-12 3.56947e-12 4.17913e-12 4.73625e-12 4.97792e-12 5.59219e-12 5.9907e-12 6.50318e-12 7.54269e-12 7.99886e-12 8.292e-12 7.73284e-12 1.00554e-11 7.75375e-12 1.0536e-11 1.05774e-11 7.34727e-12 7.27677e-12 7.50807e-12 6.14708e-12 5.09809e-12 4.03154e-12 3.78229e-12 3.88284e-12 3.66523e-12 3.24587e-12 2.56426e-12 2.14473e-12 1.83628e-12 1.51228e-12 1.37809e-12 1.13119e-12 1.00073e-12 8.37212e-13 7.54341e-13 6.50632e-13 6.12723e-13 5.10335e-13 4.80078e-13 4.69287e-13 4.62456e-13 4.29649e-13 4.33568e-13 4.22637e-13 4.24782e-13 4.0678e-13 3.77554e-13 3.67447e-13 3.67903e-13 3.51782e-13 3.01857e-13 3.05175e-13 3.55198e-13 3.66863e-13 4.78949e-13 4.25171e-13 5.8603e-13 5.1909e-13 6.71735e-13 6.15448e-13 8.47145e-13 9.31928e-13 1.03827e-12 1.07773e-12 1.08441e-12 1.3676e-12 1.31376e-12 1.62704e-12 1.96688e-12 2.26033e-12 2.63551e-12 2.87822e-12 3.28485e-12 3.31928e-12 4.16576e-12 4.35378e-12 4.70429e-12 5.10615e-12 5.41515e-12 6.25449e-12 6.33772e-12 7.69883e-12 6.09546e-12 6.12805e-12 6.53587e-12 5.79343e-12 5.61375e-12 7.44222e-12 5.1177e-12 7.86681e-12 5.22573e-12 5.46214e-12 5.07989e-12 5.0353e-12 5.40225e-12 5.45638e-12 5.12294e-12 4.80193e-12 4.49687e-12 4.28527e-12 3.84794e-12 3.26047e-12 3.10296e-12 2.4637e-12 2.21326e-12 1.76698e-12 1.82148e-12 1.71349e-12 1.90525e-12 1.88724e-12 2.3424e-12 2.06647e-12 1.67083e-12 1.44589e-12 1.13347e-12 9.96745e-13 8.04372e-13 8.18952e-13 7.63379e-13 7.40196e-13 6.86497e-13 6.52578e-13 6.63764e-13 7.07152e-13 7.8867e-13 9.7707e-13 1.06445e-12 1.19809e-12 1.45769e-12 1.5693e-12 1.40494e-12 1.32024e-12 1.23772e-12 1.34555e-12 1.26821e-12 1.43093e-12 1.84213e-12 1.87517e-12 2.22582e-12 2.5209e-12 2.79729e-12 3.12908e-12 3.67728e-12 4.11407e-12 4.19603e-12 4.46795e-12 4.99015e-12 5.92389e-12 7.68468e-12 1.55421e-11 2.36729e-11 2.97168e-11 3.66143e-11 3.69033e-11 3.57805e-11 3.53958e-11 3.99503e-11 3.96722e-11 4.88475e-11 5.27285e-11 6.14162e-11 6.3562e-11 6.90535e-11 6.56051e-11 5.60741e-11 5.49636e-11 5.1907e-11 4.58848e-11 3.49983e-11 2.72681e-11 1.93158e-11 1.29161e-11 1.20885e-11 8.27359e-12 7.44343e-12 5.58051e-12 5.70264e-12 5.58622e-12 5.11141e-12 4.42933e-12 3.76421e-12 3.26408e-12 2.60387e-12 2.2517e-12 1.992e-12 1.59468e-12 1.57247e-12 1.36992e-12 1.43023e-12 1.3391e-12 1.40899e-12 1.35276e-12 1.40183e-12 1.41985e-12 1.44424e-12 1.38606e-12 1.30207e-12 1.05617e-12 9.82997e-13 1.10916e-12 1.28821e-12 1.53549e-12 2.00666e-12 2.88585e-12 4.67214e-12 8.26343e-12 1.38015e-11 1.70816e-11 1.48236e-11 8.93037e-12 4.15843e-12 1.93544e-12 1.16905e-12 6.63477e-13 5.21252e-13 3.11667e-13 2.21694e-13 2.43494e-13 1.71939e-13 1.30419e-13 1.18572e-13 1.11231e-13 1.01125e-13 1.00083e-13 1.0794e-13 1.59133e-13 1.53913e-13 1.48945e-13 1.58496e-13 1.73063e-13 1.79122e-13 1.92092e-13 2.02022e-13 2.13491e-13 2.50765e-13 2.88649e-13 3.41858e-13 4.20155e-13 4.9913e-13 5.92587e-13 6.66502e-13 6.6286e-13 6.89757e-13 6.55632e-13 5.25419e-13 3.77143e-13 2.65375e-13 1.72011e-13 9.31641e-14 4.08617e-14 1.63883e-14 5.18982e-15 1.40772e-15 4.00404e-16 7.94465e-17 1.16949e-17 2.25583e-18 2.83477e-19 2.80839e-20 2.24849e-21 1.31112e-22 9.15736e-24 4.16708e-25 1.17931e-26 1.93432e-28 1.61418e-30 6.61944e-33 1.40836e-35 1.7291e-38 1.30472e-41 6.93907e-45 3.14155e-48 1.18408e-51 3.39471e-55 5.89546e-59 2.92526e-63 1.18793e-57 2.24476e-50 2.83592e-46 6.39328e-43 6.30052e-40 3.35619e-37 1.11662e-34 2.57446e-32 3.97356e-30 4.13521e-28 3.11389e-26 1.69792e-24 6.83169e-23 1.93328e-21 4.00441e-20 7.66561e-19 8.7655e-18 6.00801e-17 4.21909e-16 1.96586e-15 7.16915e-15 2.28488e-14 5.56805e-14 1.14985e-13 2.10662e-13 3.40396e-13 3.03591e-13 3.4244e-13 3.38689e-13 3.09709e-13 2.82818e-13 2.93679e-13 1.60049e-13 7.25658e-14 2.29597e-14 7.63257e-15 1.96136e-15 4.52907e-16 9.65443e-17 1.62519e-17 2.51234e-18 3.79117e-19 1.57052e-19 3.01395e-19 6.78325e-19 1.42574e-18 2.96687e-18 7.49134e-18 1.34392e-17 2.34414e-17 3.49148e-17 5.64152e-17 9.95757e-17 1.66693e-16 2.81935e-16 4.39328e-16 6.75356e-16 1.22595e-15 1.66526e-15 2.32333e-15 3.83952e-15 5.56232e-15 8.67365e-15 1.27248e-14 1.78993e-14 2.54626e-14 3.56982e-14 5.07639e-14 7.05414e-14 9.48615e-14 1.2722e-13 1.69439e-13 2.22094e-13 2.79805e-13 3.53975e-13 4.58093e-13 7.27159e-13 8.65221e-13 1.03827e-12 1.31112e-12 1.60071e-12 1.96114e-12 2.34722e-12 2.82053e-12 3.28866e-12 3.50985e-12 4.00461e-12 4.38497e-12 4.79274e-12 5.47399e-12 5.74525e-12 6.02643e-12 5.77695e-12 4.93286e-12 6.17184e-12 4.20446e-12 4.1258e-12 4.36176e-12 4.10081e-12 3.82224e-12 3.47894e-12 3.7791e-12 3.86104e-12 3.44254e-12 3.11863e-12 2.61916e-12 2.25923e-12 1.71259e-12 1.39474e-12 1.15895e-12 9.30724e-13 8.34133e-13 6.70365e-13 5.78241e-13 4.66344e-13 4.08953e-13 3.40533e-13 3.10609e-13 2.48374e-13 2.28658e-13 2.19598e-13 2.12364e-13 1.92745e-13 1.93347e-13 1.81392e-13 1.80298e-13 1.69519e-13 1.58363e-13 1.53019e-13 1.49982e-13 1.42929e-13 1.21108e-13 1.248e-13 1.47202e-13 1.53336e-13 2.06375e-13 1.83154e-13 2.62882e-13 2.3187e-13 3.1111e-13 2.84098e-13 4.07592e-13 4.42205e-13 5.07543e-13 5.51332e-13 5.49534e-13 7.0976e-13 6.95972e-13 8.83604e-13 1.08527e-12 1.30949e-12 1.62113e-12 1.88086e-12 2.25104e-12 2.35233e-12 2.92884e-12 3.11131e-12 3.48222e-12 3.83307e-12 4.38938e-12 5.01398e-12 5.29704e-12 6.06565e-12 5.52456e-12 5.40123e-12 5.78293e-12 5.40447e-12 5.21781e-12 6.03521e-12 4.93174e-12 6.32433e-12 5.04632e-12 5.28463e-12 4.90429e-12 4.80932e-12 4.62286e-12 4.30436e-12 3.96271e-12 3.66157e-12 3.31125e-12 3.10902e-12 2.74711e-12 2.26936e-12 2.13583e-12 1.64436e-12 1.45339e-12 1.11894e-12 1.13142e-12 1.03653e-12 1.14073e-12 1.11283e-12 1.35214e-12 1.14994e-12 8.9863e-13 7.56327e-13 5.71046e-13 4.86736e-13 3.78269e-13 3.72602e-13 3.37733e-13 3.18152e-13 2.91818e-13 2.75372e-13 2.81444e-13 3.03376e-13 3.43503e-13 4.39602e-13 4.8745e-13 5.64322e-13 6.96571e-13 7.55766e-13 6.81905e-13 6.33307e-13 5.95328e-13 6.43782e-13 6.15639e-13 7.02221e-13 9.39268e-13 9.70393e-13 1.19774e-12 1.39832e-12 1.59388e-12 1.84996e-12 2.21968e-12 2.58537e-12 2.69725e-12 2.90801e-12 3.35172e-12 4.20851e-12 4.1504e-12 6.66033e-12 1.24006e-11 1.72482e-11 2.29523e-11 2.22575e-11 2.14004e-11 2.09892e-11 2.47174e-11 2.48993e-11 3.09061e-11 3.19308e-11 3.61559e-11 3.45706e-11 3.46235e-11 3.30383e-11 2.8351e-11 3.08514e-11 3.07384e-11 2.82981e-11 2.1154e-11 1.59052e-11 1.02433e-11 6.1989e-12 5.63755e-12 5.03091e-12 4.95124e-12 5.07782e-12 4.95917e-12 4.15235e-12 3.70105e-12 3.07637e-12 2.53046e-12 2.13393e-12 1.64796e-12 1.36966e-12 1.17263e-12 9.07201e-13 8.76727e-13 7.34082e-13 7.69045e-13 6.97907e-13 7.45064e-13 6.95378e-13 7.26569e-13 7.32345e-13 7.41936e-13 7.14854e-13 6.67232e-13 4.76776e-13 4.16962e-13 4.59851e-13 5.23744e-13 6.30106e-13 8.25983e-13 1.1527e-12 1.84738e-12 3.1443e-12 5.52932e-12 7.25838e-12 6.32183e-12 3.85852e-12 2.06676e-12 9.47635e-13 5.81784e-13 3.1654e-13 2.63284e-13 1.54349e-13 1.07411e-13 1.25222e-13 9.13054e-14 7.07869e-14 6.58205e-14 6.22874e-14 5.62271e-14 5.3714e-14 5.57846e-14 8.54413e-14 8.31966e-14 8.02716e-14 8.58414e-14 9.54912e-14 9.9734e-14 1.06539e-13 1.07596e-13 1.10993e-13 1.26589e-13 1.42494e-13 1.72013e-13 2.10677e-13 2.42011e-13 2.70597e-13 2.85115e-13 2.64434e-13 2.55646e-13 2.14838e-13 1.59467e-13 1.12221e-13 7.42904e-14 4.38606e-14 2.16942e-14 8.92146e-15 3.21752e-15 9.62223e-16 2.37193e-16 5.96329e-17 1.08224e-17 1.45648e-18 2.52239e-19 2.76923e-20 2.35635e-21 1.70452e-22 8.8078e-24 5.10769e-25 1.92824e-26 4.49528e-28 5.96993e-30 4.02045e-32 1.34094e-34 2.35329e-37 2.37441e-40 1.44297e-43 6.00064e-47 2.12192e-50 6.22636e-54 1.38336e-57 1.85038e-61 7.00157e-66 5.08147e-63 1.55162e-53 2.91527e-48 1.19672e-44 1.82473e-41 1.39136e-38 6.01945e-36 1.77892e-33 3.4843e-31 4.51836e-29 4.05764e-27 2.51891e-25 1.1518e-23 3.51593e-22 7.37841e-21 1.55758e-19 1.93512e-18 1.46904e-17 1.15207e-16 5.83053e-16 2.19995e-15 7.5429e-15 1.89389e-14 4.17847e-14 7.74229e-14 1.24368e-13 1.88577e-13 2.22588e-13 2.17026e-13 1.89843e-13 1.52932e-13 8.6521e-14 4.5353e-14 1.86231e-14 5.52519e-15 1.69185e-15 4.03437e-16 8.55195e-17 1.65673e-17 2.52024e-18 3.55258e-19 5.82401e-20 4.81085e-20 1.08163e-19 2.42126e-19 5.00178e-19 1.04435e-18 2.7807e-18 4.8482e-18 8.1844e-18 1.18264e-17 1.83304e-17 3.1653e-17 5.20197e-17 8.70697e-17 1.3533e-16 2.07252e-16 3.79095e-16 5.16016e-16 7.24308e-16 1.21506e-15 1.77419e-15 2.81335e-15 4.19482e-15 6.01128e-15 8.72878e-15 1.24922e-14 1.82489e-14 2.60842e-14 3.60678e-14 4.98122e-14 6.8182e-14 9.23686e-14 1.19963e-13 1.56552e-13 2.09332e-13 3.25538e-13 4.05605e-13 5.10877e-13 6.77444e-13 8.61081e-13 1.10793e-12 1.38009e-12 1.71807e-12 2.09428e-12 2.34277e-12 2.76657e-12 3.12158e-12 3.4974e-12 4.03822e-12 4.26063e-12 4.48362e-12 4.35737e-12 4.23464e-12 4.69394e-12 4.01929e-12 3.94339e-12 4.00681e-12 3.90829e-12 3.64842e-12 3.2887e-12 3.285e-12 2.84544e-12 2.51708e-12 2.18249e-12 1.77904e-12 1.48773e-12 1.08835e-12 8.63714e-13 6.94296e-13 5.40065e-13 4.7213e-13 3.66452e-13 3.05117e-13 2.34683e-13 1.97569e-13 1.56388e-13 1.3623e-13 1.03163e-13 9.16093e-14 8.51576e-14 7.99499e-14 6.97918e-14 6.91424e-14 6.16666e-14 6.03237e-14 5.52319e-14 5.161e-14 4.94035e-14 4.74997e-14 4.51521e-14 3.76831e-14 3.94904e-14 4.72097e-14 4.96662e-14 6.91818e-14 6.13661e-14 9.19954e-14 8.08205e-14 1.12776e-13 1.02702e-13 1.54116e-13 1.65758e-13 1.96323e-13 2.23806e-13 2.21216e-13 2.95747e-13 2.9488e-13 3.87198e-13 4.86114e-13 6.21902e-13 8.23785e-13 1.01136e-12 1.27591e-12 1.39763e-12 1.76217e-12 1.94178e-12 2.27056e-12 2.58782e-12 3.19842e-12 3.79191e-12 4.20373e-12 4.78042e-12 4.68922e-12 4.47797e-12 4.85552e-12 4.6254e-12 4.39417e-12 4.76955e-12 4.15669e-12 4.98658e-12 4.18079e-12 4.35255e-12 3.97426e-12 3.83002e-12 3.55149e-12 3.25549e-12 2.91816e-12 2.64788e-12 2.32823e-12 2.14612e-12 1.8637e-12 1.5025e-12 1.39439e-12 1.03536e-12 8.93044e-13 6.55042e-13 6.43665e-13 5.68175e-13 6.1417e-13 5.85639e-13 6.86845e-13 5.68793e-13 4.2292e-13 3.41066e-13 2.43038e-13 1.97717e-13 1.44851e-13 1.35705e-13 1.18109e-13 1.06752e-13 9.62754e-14 8.96008e-14 9.18468e-14 1.00183e-13 1.15016e-13 1.53161e-13 1.7384e-13 2.08154e-13 2.58025e-13 2.8163e-13 2.58225e-13 2.36755e-13 2.22682e-13 2.38282e-13 2.33911e-13 2.67971e-13 3.71715e-13 3.9175e-13 5.0342e-13 6.15403e-13 7.25704e-13 8.84341e-13 1.07953e-12 1.29908e-12 1.42042e-12 1.55817e-12 1.85424e-12 2.45364e-12 2.6352e-12 2.37566e-12 3.84019e-12 6.58179e-12 1.12139e-11 1.11163e-11 1.09931e-11 1.17229e-11 1.36894e-11 1.34205e-11 1.75678e-11 1.80485e-11 2.07029e-11 1.88389e-11 1.8001e-11 1.75413e-11 1.51675e-11 1.84413e-11 1.87043e-11 1.68424e-11 1.15384e-11 8.00224e-12 5.5363e-12 5.59582e-12 5.05091e-12 4.41064e-12 4.16628e-12 3.79583e-12 3.62447e-12 2.89269e-12 2.51389e-12 2.00964e-12 1.59866e-12 1.30103e-12 9.59847e-13 7.56971e-13 6.18184e-13 4.5462e-13 4.27784e-13 3.37168e-13 3.52101e-13 3.03935e-13 3.28074e-13 2.93643e-13 3.08518e-13 3.0748e-13 3.08145e-13 2.99389e-13 2.76849e-13 1.76596e-13 1.40436e-13 1.52249e-13 1.72244e-13 2.04665e-13 2.69003e-13 3.79536e-13 6.37465e-13 1.08664e-12 1.81289e-12 2.55132e-12 2.27692e-12 1.50329e-12 9.57033e-13 4.22376e-13 2.61613e-13 1.41713e-13 1.18449e-13 7.17434e-14 5.03815e-14 5.57576e-14 4.14255e-14 3.26592e-14 3.12939e-14 3.03608e-14 2.79738e-14 2.72549e-14 2.82945e-14 4.07833e-14 4.0047e-14 3.83998e-14 4.08379e-14 4.63414e-14 4.89046e-14 5.28772e-14 5.28375e-14 5.28866e-14 5.85368e-14 6.44745e-14 7.70738e-14 9.22539e-14 1.0273e-13 1.10122e-13 1.10781e-13 9.66487e-14 8.74337e-14 6.75565e-14 4.77861e-14 3.23598e-14 2.00212e-14 1.07739e-14 4.9487e-15 1.87665e-15 6.21332e-16 1.74293e-16 3.90207e-17 8.74303e-18 1.45266e-18 1.78706e-19 2.76192e-20 2.65906e-21 1.95472e-22 1.27204e-23 5.80662e-25 2.80703e-26 8.80677e-28 1.69195e-29 1.82071e-31 9.87068e-34 2.65132e-36 3.74461e-39 2.9831e-42 1.37539e-45 4.12454e-49 1.05018e-52 2.21087e-56 3.50452e-60 3.31504e-64 8.71123e-69 7.46287e-70 1.58582e-57 5.36615e-51 7.23573e-47 2.04017e-43 2.47757e-40 1.64873e-37 7.53476e-35 2.19224e-32 4.02845e-30 4.75427e-28 3.46358e-26 1.88078e-24 6.21777e-23 1.33922e-21 3.09364e-20 4.10821e-19 3.56487e-18 3.06327e-17 1.68851e-16 6.71679e-16 2.49554e-15 6.50834e-15 1.50039e-14 2.85581e-14 4.63171e-14 6.88905e-14 7.93001e-14 7.47161e-14 6.46807e-14 4.72836e-14 2.49225e-14 1.22171e-14 4.63254e-15 1.29356e-15 3.64356e-16 8.07488e-17 1.56846e-17 2.76035e-18 3.80587e-19 4.97345e-20 1.10362e-20 1.60368e-20 3.74284e-20 8.21273e-20 1.64983e-19 3.37384e-19 8.97839e-19 1.47638e-18 2.33765e-18 3.19394e-18 4.62248e-18 7.54402e-18 1.17673e-17 1.90042e-17 2.91168e-17 4.45042e-17 8.18146e-17 1.11703e-16 1.57601e-16 2.67397e-16 3.93055e-16 6.33608e-16 9.60512e-16 1.40286e-15 2.08024e-15 3.04737e-15 4.57415e-15 6.72838e-15 9.57704e-15 1.36376e-14 1.92561e-14 2.69657e-14 3.62093e-14 4.90072e-14 6.80586e-14 1.06674e-13 1.39708e-13 1.85498e-13 2.59864e-13 3.48499e-13 4.76969e-13 6.30175e-13 8.34078e-13 1.08725e-12 1.30443e-12 1.64386e-12 1.96357e-12 2.33026e-12 2.81983e-12 3.07897e-12 3.30559e-12 3.24659e-12 3.45082e-12 3.50677e-12 3.30187e-12 3.21524e-12 3.11801e-12 3.07926e-12 2.83074e-12 2.49074e-12 2.40265e-12 2.00621e-12 1.73636e-12 1.45514e-12 1.14946e-12 9.30932e-13 6.56733e-13 5.05752e-13 3.91007e-13 2.91743e-13 2.46328e-13 1.82157e-13 1.44678e-13 1.04822e-13 8.33982e-14 6.15813e-14 5.02339e-14 3.52993e-14 2.95736e-14 2.59508e-14 2.31892e-14 1.89182e-14 1.8198e-14 1.50775e-14 1.43506e-14 1.25605e-14 1.15785e-14 1.09408e-14 1.03529e-14 9.82206e-15 8.05119e-15 8.55359e-15 1.03691e-14 1.10281e-14 1.59468e-14 1.41287e-14 2.21647e-14 1.94096e-14 2.82069e-14 2.56359e-14 4.03309e-14 4.34142e-14 5.30578e-14 6.33255e-14 6.24962e-14 8.71787e-14 8.82327e-14 1.20577e-13 1.56751e-13 2.12668e-13 3.04192e-13 3.96429e-13 5.30165e-13 6.18613e-13 8.02426e-13 9.35916e-13 1.15349e-12 1.38835e-12 1.89264e-12 2.44062e-12 2.96834e-12 3.54642e-12 3.70875e-12 3.57207e-12 3.94073e-12 3.72881e-12 3.52031e-12 3.68195e-12 3.27155e-12 3.83521e-12 3.24373e-12 3.38652e-12 3.04756e-12 2.87764e-12 2.6116e-12 2.35155e-12 2.05337e-12 1.82318e-12 1.5585e-12 1.40582e-12 1.19697e-12 9.40314e-13 8.56154e-13 6.0838e-13 5.07224e-13 3.50095e-13 3.30826e-13 2.78019e-13 2.92389e-13 2.69714e-13 3.00709e-13 2.41494e-13 1.67608e-13 1.26928e-13 8.29919e-14 6.29675e-14 4.22119e-14 3.68196e-14 3.00713e-14 2.54942e-14 2.2134e-14 2.00179e-14 2.05271e-14 2.2674e-14 2.63476e-14 3.66936e-14 4.28883e-14 5.3349e-14 6.5959e-14 7.24318e-14 6.70472e-14 6.07574e-14 5.70945e-14 6.05908e-14 6.17428e-14 7.05856e-14 1.01108e-13 1.09604e-13 1.47182e-13 1.90359e-13 2.34587e-13 3.02255e-13 3.78849e-13 4.62227e-13 5.45831e-13 6.09724e-13 7.38002e-13 1.01108e-12 1.2536e-12 1.0291e-12 1.17174e-12 1.57416e-12 2.67486e-12 3.50242e-12 4.43637e-12 6.2251e-12 7.22211e-12 7.68121e-12 8.88738e-12 8.56886e-12 9.10361e-12 8.20026e-12 8.23274e-12 7.58168e-12 6.88883e-12 8.88609e-12 9.23386e-12 7.87964e-12 5.65361e-12 5.33164e-12 5.01004e-12 4.40878e-12 3.86807e-12 3.26077e-12 2.99703e-12 2.6486e-12 2.4732e-12 1.8921e-12 1.60175e-12 1.22648e-12 9.36542e-13 7.26934e-13 5.04388e-13 3.71893e-13 2.85219e-13 1.95656e-13 1.76748e-13 1.28164e-13 1.31302e-13 1.05111e-13 1.13149e-13 9.51681e-14 9.96065e-14 9.70436e-14 9.5613e-14 9.32614e-14 8.41371e-14 4.8485e-14 3.37925e-14 3.42787e-14 3.79659e-14 4.44294e-14 5.76634e-14 8.2793e-14 1.46772e-13 2.67229e-13 4.63945e-13 6.61501e-13 6.31353e-13 4.52463e-13 3.46413e-13 1.484e-13 9.21742e-14 5.12636e-14 3.99768e-14 2.44474e-14 1.73974e-14 1.8719e-14 1.42051e-14 1.14559e-14 1.13794e-14 1.14283e-14 1.09421e-14 1.11278e-14 1.19651e-14 1.65361e-14 1.67729e-14 1.63076e-14 1.73526e-14 2.01112e-14 2.1505e-14 2.378e-14 2.38776e-14 2.34737e-14 2.52359e-14 2.70816e-14 3.16707e-14 3.66641e-14 3.97228e-14 4.11659e-14 3.98491e-14 3.29937e-14 2.83498e-14 2.06565e-14 1.39975e-14 9.02651e-15 5.2202e-15 2.56794e-15 1.10174e-15 3.83647e-16 1.18063e-16 3.08599e-17 6.27998e-18 1.26404e-18 1.92224e-19 2.15932e-20 2.96603e-21 2.5121e-22 1.60352e-23 9.34927e-25 3.75824e-26 1.51965e-27 3.96531e-29 6.27102e-31 5.45434e-33 2.35994e-35 5.00066e-38 5.46199e-41 3.22162e-44 1.01453e-47 1.86606e-51 2.91107e-55 3.73381e-59 3.56737e-63 1.9942e-67 2.95018e-72 3.1602e-86 1.6388e-67 4.19888e-58 6.32168e-52 2.98596e-47 2.12662e-43 5.55046e-40 7.24417e-37 5.0559e-34 1.93425e-31 3.96062e-29 3.57301e-27 2.57846e-25 9.73206e-24 2.26448e-22 5.84862e-21 8.51145e-20 8.50842e-19 7.98232e-18 4.79337e-17 2.03369e-16 8.09093e-16 2.20716e-15 5.26351e-15 1.02484e-14 1.66263e-14 2.40666e-14 2.70205e-14 2.49394e-14 2.09001e-14 1.38928e-14 6.96492e-15 3.17423e-15 1.12094e-15 2.94564e-16 7.64811e-17 1.57473e-17 2.79881e-18 4.47387e-19 5.60878e-20 7.08582e-21 2.67311e-21 5.3014e-21 1.21535e-20 2.56256e-20 4.89688e-20 9.47968e-20 2.38998e-19 3.57353e-19 5.0832e-19 6.22945e-19 7.89623e-19 1.12282e-18 1.5291e-18 2.22493e-18 3.26148e-18 4.97576e-18 9.16963e-18 1.25577e-17 1.78194e-17 3.0548e-17 4.52684e-17 7.4183e-17 1.14413e-16 1.70429e-16 2.58266e-16 3.8754e-16 5.9806e-16 9.06036e-16 1.32925e-15 1.95359e-15 2.85047e-15 4.13382e-15 5.75791e-15 8.10904e-15 1.17523e-14 1.88803e-14 2.61259e-14 3.67672e-14 5.47606e-14 7.83108e-14 1.15459e-13 1.64371e-13 2.36318e-13 3.37861e-13 4.46164e-13 6.25099e-13 8.2428e-13 1.09485e-12 1.49057e-12 1.81105e-12 2.15681e-12 2.2639e-12 2.61572e-12 2.56389e-12 2.5118e-12 2.43476e-12 2.27957e-12 2.27186e-12 2.0582e-12 1.77051e-12 1.66465e-12 1.34837e-12 1.13828e-12 9.24373e-13 7.05858e-13 5.5228e-13 3.74149e-13 2.77745e-13 2.0501e-13 1.45168e-13 1.17197e-13 8.14876e-14 6.09595e-14 4.1025e-14 3.03134e-14 2.04169e-14 1.52032e-14 9.62583e-15 7.3554e-15 5.84329e-15 4.78369e-15 3.42575e-15 3.06569e-15 2.20475e-15 1.96806e-15 1.54982e-15 1.3554e-15 1.24603e-15 1.16062e-15 1.10162e-15 8.8341e-16 9.50044e-16 1.17047e-15 1.25689e-15 1.89568e-15 1.67164e-15 2.75874e-15 2.40244e-15 3.65262e-15 3.30405e-15 5.47437e-15 5.9286e-15 7.47543e-15 9.34353e-15 9.23645e-15 1.35395e-14 1.3898e-14 1.98434e-14 2.69627e-14 3.88497e-14 6.05846e-14 8.42797e-14 1.20312e-13 1.5183e-13 2.04968e-13 2.57997e-13 3.37925e-13 4.37034e-13 6.76725e-13 9.98885e-13 1.43006e-12 1.97841e-12 2.32017e-12 2.47897e-12 2.92534e-12 2.83277e-12 2.68909e-12 2.75759e-12 2.44369e-12 2.85614e-12 2.38793e-12 2.506e-12 2.22097e-12 2.06198e-12 1.83848e-12 1.62193e-12 1.37917e-12 1.19357e-12 9.89392e-13 8.70229e-13 7.23986e-13 5.52276e-13 4.9033e-13 3.3048e-13 2.63834e-13 1.6918e-13 1.5214e-13 1.20098e-13 1.21553e-13 1.07052e-13 1.11827e-13 8.57136e-14 5.42508e-14 3.7561e-14 2.16474e-14 1.47753e-14 8.60592e-15 6.69989e-15 4.83273e-15 3.60244e-15 2.78407e-15 2.3213e-15 2.36907e-15 2.65267e-15 3.1188e-15 4.55266e-15 5.48451e-15 7.09306e-15 8.81343e-15 9.77606e-15 8.97687e-15 8.0224e-15 7.52817e-15 8.03798e-15 8.46113e-15 9.7001e-15 1.44302e-14 1.61224e-14 2.27092e-14 3.12064e-14 4.03258e-14 5.50119e-14 7.13725e-14 8.92869e-14 1.14036e-13 1.31248e-13 1.63769e-13 2.34782e-13 2.94741e-13 2.38053e-13 2.03935e-13 3.02436e-13 4.43031e-13 8.2249e-13 1.52873e-12 1.96265e-12 2.54902e-12 3.45102e-12 4.36715e-12 5.12309e-12 6.02513e-12 5.95663e-12 6.1113e-12 5.98294e-12 5.73324e-12 5.85519e-12 5.53638e-12 5.12293e-12 4.97524e-12 4.63318e-12 3.90922e-12 3.29428e-12 2.79005e-12 2.25897e-12 2.02052e-12 1.73296e-12 1.58058e-12 1.15872e-12 9.51646e-13 6.92379e-13 5.02121e-13 3.66867e-13 2.35564e-13 1.59861e-13 1.132e-13 7.08549e-14 6.02177e-14 3.90139e-14 3.81617e-14 2.71723e-14 2.82992e-14 2.14368e-14 2.17329e-14 2.02957e-14 1.95408e-14 1.89163e-14 1.61228e-14 8.3643e-15 4.64931e-15 4.10195e-15 4.19867e-15 4.01651e-15 5.66403e-15 8.05028e-15 1.38932e-14 2.95304e-14 5.08494e-14 8.18546e-14 8.27011e-14 6.15554e-14 7.07128e-14 3.13607e-14 1.80251e-14 9.97079e-15 7.41639e-15 4.56018e-15 3.29768e-15 3.50473e-15 2.7398e-15 2.2842e-15 2.37213e-15 2.49777e-15 2.5327e-15 2.74765e-15 3.15854e-15 4.42155e-15 4.83335e-15 5.00674e-15 5.59763e-15 6.89506e-15 7.76486e-15 9.15437e-15 9.6305e-15 9.66981e-15 1.03211e-14 1.08217e-14 1.22901e-14 1.36155e-14 1.43384e-14 1.44096e-14 1.34959e-14 1.06949e-14 8.8325e-15 6.14838e-15 3.98304e-15 2.43734e-15 1.32e-15 5.96503e-16 2.39352e-16 7.66872e-17 2.20619e-17 5.34681e-18 9.90795e-19 1.80414e-19 2.50913e-20 2.56981e-21 3.12905e-22 2.33763e-23 1.30136e-24 6.77304e-26 2.39041e-27 8.10812e-29 1.76031e-30 2.28754e-32 1.60056e-34 5.45203e-37 8.8318e-40 7.01626e-43 2.74658e-46 4.75516e-50 3.36205e-54 1.92673e-58 8.6061e-63 2.67038e-67 4.31776e-72 1.28914e-77 ) ; boundaryField { inlet { type zeroGradient; } bottom { type zeroGradient; } outlet { type zeroGradient; } atmosphere { type inletOutlet; inletValue uniform 0; value nonuniform List<scalar> 357 ( 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.79337e-17 2.03369e-16 8.09093e-16 2.20716e-15 5.26351e-15 1.02484e-14 1.66263e-14 2.40666e-14 2.70205e-14 2.49394e-14 2.09001e-14 1.38928e-14 6.96492e-15 3.17423e-15 1.12094e-15 2.94564e-16 7.64811e-17 1.57473e-17 2.79881e-18 4.47387e-19 5.60878e-20 7.08582e-21 2.67311e-21 5.3014e-21 1.21535e-20 2.56256e-20 4.89688e-20 9.47968e-20 2.38998e-19 3.57353e-19 5.0832e-19 6.22945e-19 7.89623e-19 1.12282e-18 1.5291e-18 2.22493e-18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.56389e-12 2.5118e-12 2.43476e-12 2.27957e-12 2.27186e-12 2.0582e-12 1.77051e-12 1.66465e-12 1.34837e-12 1.13828e-12 9.24373e-13 7.05858e-13 5.5228e-13 3.74149e-13 2.77745e-13 2.0501e-13 1.45168e-13 1.17197e-13 8.14876e-14 6.09595e-14 4.1025e-14 3.03134e-14 2.04169e-14 1.52032e-14 9.62583e-15 7.3554e-15 5.84329e-15 4.78369e-15 3.42575e-15 3.06569e-15 2.20475e-15 1.96806e-15 1.54982e-15 1.3554e-15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.68909e-12 2.75759e-12 2.44369e-12 2.85614e-12 2.38793e-12 2.506e-12 2.22097e-12 2.06198e-12 1.83848e-12 1.62193e-12 1.37917e-12 1.19357e-12 9.89392e-13 8.70229e-13 7.23986e-13 5.52276e-13 4.9033e-13 3.3048e-13 2.63834e-13 1.6918e-13 1.5214e-13 1.20098e-13 1.21553e-13 1.07052e-13 1.11827e-13 8.57136e-14 5.42508e-14 3.7561e-14 2.16474e-14 1.47753e-14 8.60592e-15 6.69989e-15 4.83273e-15 3.60244e-15 2.78407e-15 2.3213e-15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.1113e-12 5.98294e-12 5.73324e-12 5.85519e-12 5.53638e-12 5.12293e-12 4.97524e-12 4.63318e-12 3.90922e-12 3.29428e-12 2.79005e-12 2.25897e-12 2.02052e-12 1.73296e-12 1.58058e-12 1.15872e-12 9.51646e-13 6.92379e-13 5.02121e-13 3.66867e-13 2.35564e-13 1.59861e-13 1.132e-13 7.08549e-14 6.02177e-14 3.90139e-14 3.81617e-14 2.71723e-14 2.82992e-14 2.14368e-14 2.17329e-14 2.02957e-14 1.95408e-14 1.89163e-14 1.61228e-14 8.3643e-15 4.64931e-15 4.10195e-15 4.19867e-15 4.01651e-15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.08217e-14 1.22901e-14 1.36155e-14 1.43384e-14 1.44096e-14 1.34959e-14 1.06949e-14 8.8325e-15 6.14838e-15 3.98304e-15 2.43734e-15 1.32e-15 5.96503e-16 2.39352e-16 7.66872e-17 2.20619e-17 5.34681e-18 9.90795e-19 1.80414e-19 2.50913e-20 2.56981e-21 3.12905e-22 2.33763e-23 1.30136e-24 6.77304e-26 2.39041e-27 8.10812e-29 1.76031e-30 2.28754e-32 1.60056e-34 5.45203e-37 8.8318e-40 7.01626e-43 2.74658e-46 4.75516e-50 0 0 0 0 0 0 ) ; } frontBack { type empty; } } // ************************************************************************* //
[ "abenaz15@etudiant.mines-nantes.fr" ]
abenaz15@etudiant.mines-nantes.fr
89b3e9c0e32d6fdbc8a6d45fd9e5400bdb36858f
3faab84f3f27cb7095a13a53ccfdd80d0576335c
/openmp/tests/MatrixIoTests.cpp
439c933219832773eabe12fde1c23e3ccd698a93
[]
no_license
AlexIvchenko/itmo-master-1-parallel-programming
afb1c63c8139096404a559ba6309d903c0c96e42
d0fd4631a288b9fc9df36cfd89021d8671d4f9b9
refs/heads/master
2023-04-16T07:38:57.409829
2020-06-24T18:00:54
2020-06-24T18:57:46
259,040,995
0
0
null
2021-04-26T20:19:05
2020-04-26T13:44:05
Java
UTF-8
C++
false
false
396
cpp
#include <gtest/gtest.h> #include "../src/Matrix.h" TEST(MatrixIoTests, RoundTripTest) { Matrix m1 = Matrix(2, 2); m1(0, 0) = 0; m1(0, 1) = 1; m1(1, 0) = 2; m1(1, 1) = 3; Matrix::write_to_file(&m1, "m.txt"); Matrix m2 = *Matrix::read_from_file("m.txt"); ASSERT_EQ(m2(0, 0), 0); ASSERT_EQ(m2(0, 1), 1); ASSERT_EQ(m2(1, 0), 2); ASSERT_EQ(m2(1, 1), 3); }
[ "A.S.Ivchenko@yandex.ru" ]
A.S.Ivchenko@yandex.ru
e23f138e590b3c1c00cb7fecab2eea1b1e37fda1
fdd44721689dcf0e842dd6d4af6264162a2b4367
/Qt_Hikvsion_multiThread_Opencv-master/main.cpp
3d293b013cdb9af8ffc7e4523a4f3bc7d46b859f
[]
no_license
geometryl/qt_hikvision
9eeebc192b0e1644bde0a6438d9209c3cb8b7c61
c4ab1dd57e6218a208388998e1a0318f182d335c
refs/heads/master
2022-06-17T09:24:36.179931
2020-05-11T13:19:55
2020-05-11T13:19:55
262,535,937
2
1
null
null
null
null
UTF-8
C++
false
false
210
cpp
#include "mainwindow.h" #include <QApplication> #include <QTextCodec> int main(int argc, char *argv[]) { QApplication a(argc, argv); //chinese MainWindow w; w.show(); return a.exec(); }
[ "jianghe01@baidu.com" ]
jianghe01@baidu.com
325aceb9d076069119b411eb3248875614c928f8
b39446a01e5270c983614000f36ed7776c37fd5a
/code_snippets/Chapter25/chapter.25.5.2.cpp
240a663e6d69a7ebeb2bcbb9402f97b3601d05a1
[ "MIT" ]
permissive
ltr01/stroustrup-ppp-1
aa6e063e11b1dccab854602895e85bef876f2ea5
d9736cc67ef8e2f0483003c8ec35cc0785460cd1
refs/heads/master
2023-01-03T09:16:13.399468
2020-10-28T10:41:25
2020-10-28T10:41:25
261,959,252
1
0
MIT
2020-05-07T05:38:23
2020-05-07T05:38:22
null
UTF-8
C++
false
false
1,480
cpp
// // This is example code from Chapter 25.5.2 "Bitset" of // "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup // #include <bitset> #include <iostream> using namespace std; //------------------------------------------------------------------------------ void test() { bitset<4> flags = 0xb; bitset<128> dword_bits(string("1010101010101010")); bitset<12345> lots; string s; cin>>s; bitset<12345> my_bits(s); // may throw std::invalid_argument bitset<32> b1, b2, b3; b1 = b2&b3; // and b1 = b2|b3; // or b1 = b2^b3; // xor b1 = ~b2; // complement b1 = b2<<2; // shift left b1 = b2>>3; // shift right bitset<32> b; cin>>b; // read a bitset from input cout<<bitset<8>('c'); // output the bit pattern for the character 'c' } //------------------------------------------------------------------------------ int main() try { const int max = 10; bitset<max> b; while (cin>>b) { cout << b << '\n'; for (int i =0; i<max; ++i) cout << b[i]; // reverse order cout << '\n'; } } catch (exception& e) { cerr << "error: " << e.what() << '\n'; return 1; } catch (...) { cerr << "Oops: unknown exception!\n"; return 2; } //------------------------------------------------------------------------------
[ "bewuethr@users.noreply.github.com" ]
bewuethr@users.noreply.github.com
87cb95dff445eb45436de42e7077b648ab50e126
3448a43cf0635866b25e5d513dd60fb003f47e29
/src/xrEngine/xr_object.cpp
17082e60e4404bd8936d206e086ea978c59e3937
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
xrLil-Batya/cordisproject
49632acc5e68bea9847d001d82fb049703d223c2
24275a382fec62a4e58d11579bf497b894f220ba
refs/heads/master
2023-03-19T01:17:25.170059
2020-11-17T14:22:06
2020-11-17T14:22:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
555
cpp
#include "stdafx.h" #include "IGame_Level.h" #include "xr_object.h" #include "xrCDB/xr_area.h" #include "Render.h" #include "Common/LevelStructure.hpp" #include "xrGame/Render/Kernel/RenderVisual.h" #include "xrGame/Render/Kernel/Kinematics.h" #include "x_ray.h" #include "GameFont.h" #include "mp_logging.h" #include "xr_collide_form.h" void CObjectList::o_crow(IGameObject* O) { Objects& crows = get_crows(); VERIFY(std::find(crows.begin(), crows.end(), O) == crows.end()); crows.push_back(O); O->SetCrowUpdateFrame(Device.dwFrame); }
[ "phantom1020@yandex.ru" ]
phantom1020@yandex.ru
7b4157b191ba583619d6eb3321487e8187b7f08d
c5e5a27fee938ea03c5ef2d8ec62194cae87d4ad
/actividad 7/actv 7, pilas, ciclo 02.cpp
eff76e82acd2460ff16f77b82770fef1da4f0dbc
[]
no_license
carolinesierra/portafolio_00091119
219a13024cd2797f4dfebbc2572169f6426f6a57
48824d4277a26c585c0c0d49f90f1d74f5ee44c2
refs/heads/master
2020-07-09T02:28:29.300130
2019-11-12T02:10:51
2019-11-12T02:10:51
203,849,172
0
0
null
null
null
null
UTF-8
C++
false
false
1,329
cpp
Obtener el segundo elemento de una pila, de arriba (top) hacia abajo; dejando la pila sin sus dos elementos de arriba. //Si se debe inicializar la pila c = initialize; valor=0; push (c,H); push (c,O); push (c,L); push (c,A); pop (c); valor = pop(c); //Se guarda el valor del segundo elemento en la variable //Si ya está inicializada contador=0; valor=0; while(no se ha terminado de leer los elementos){ contador++; } if(!empty(c)){ if(contador>=1){ cout << "Solo hay un elemento" << endl; } else if(contador>=2){ pop (c); valor = pop(c); //Se guarda el valor del segundo elemento en la variable } } else{ cout << "La pila está vacía" << endl; } cout << "Segundo valor: " << valor << endl; --------------------------------------------------------------------------------------- Obtenga el elemento que se encuentra al fondo de la pila, dejando la pila vacía. //Si se debe inicializar la pila a = initialize push (a,A); push (a,D); push (a,I); push (a,O); push (a,S); pop (a); pop (a); pop (a); pop (a); fondo = pop (a); //Se guarda el valor del fondo; if (a==empty) cout << "La pila está vacía"; //Si ya está inicializada valor=0; if(empty(c)){ cout << "La pila está vacía" << endl; } else if(!empty(c)){ while(!empty(c)){ valor= pop (c); } } cout << "Último valor: " << valor << endl;
[ "00091119@uca.edu.sv" ]
00091119@uca.edu.sv
61f03697adc532125da1e926ad049fda57cfaa51
44e0838bac83de8eaaa46fd38939014675a09c6d
/mmapdemo/shm_read.cc
c4f16ece92912b1b7222b344381d7fa479852618
[]
no_license
koritafei/UNIXNetwork
f0726f692613f965f6e3b54c6671cd32c3d3672f
38ab33ed08ac7464b884b1dc96a2158ac7d5d924
refs/heads/main
2023-07-22T08:26:27.248926
2021-09-07T08:55:55
2021-09-07T08:55:55
402,710,087
0
0
null
null
null
null
UTF-8
C++
false
false
1,147
cc
/** * @file shm_read.cc * @author koritafei (koritafei@gmail.com) * @brief * @version 0.1 * @date 2021-09-06 * * @copyright Copyright (c) 2021 * */ #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ipc.h> #include <sys/mman.h> #include <sys/shm.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #define ERR_EXIT(m) \ do { \ perror(m); \ exit(EXIT_FAILURE); \ } while (0) typedef struct stu { char name[32]; int age; } STU; int main(int argc, char **argv) { int shmid; shmid = shmget(1234, sizeof(STU), IPC_CREAT | 0666); if (-1 == shmid) { ERR_EXIT("shmget"); } STU *p; p = (STU *)shmat(shmid, NULL, 0); if ((void *)-1 == p) { ERR_EXIT("shmat error"); } printf("name = %s, age = %d\n", p->name, p->age); shmdt(p); shmctl(shmid, IPC_RMID, 0); return 0; }
[ "koritafei@gmail.com" ]
koritafei@gmail.com
28d3130fdbe877456294d0e4027ab47013017c5b
162fe41a4d7b929022fbfc0ef577108c1d1706a9
/Leetcode/cpp/752_Open_The_Lock.cpp
0b3802d867d5c543a220907da4534aa3d41a33fe
[]
no_license
LilyLin16/CodeingDiary
ec467f07ee32d72662b04673ca426eb6d5b2f86f
6c96db035565ca243e654a51e90920bc2ea66fcb
refs/heads/master
2022-04-22T02:59:28.689346
2020-04-22T07:14:44
2020-04-22T07:14:44
257,817,319
0
0
null
null
null
null
GB18030
C++
false
false
2,527
cpp
/** You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and wrap around: for example we can turn '9' to be '0', or '0' to be '9'. Each move consists of turning one wheel one slot. The lock initially starts at '0000', a string representing the state of the 4 wheels. You are given a list of deadends dead ends, meaning if the lock displays any of these codes, the wheels of the lock will stop turning and you will be unable to open it. Given a target representing the value of the wheels that will unlock the lock, return the minimum total number of turns required to open the lock, or -1 if it is impossible. **/ #include <iostream> #include <string> #include <queue> #include <unordered_set> using namespace std; // 将 s[j] 向上拨动一次 void plusOne(string &s, int j) { // s[j] = ((s[j] - '0') + 1) % 10 + '0'; if(s[j] == '9') { s[j] = '0'; } else { s[j] += 1; } } // 将 s[j] 向下拨动一次 void minusOne(string &s, int j) { // s[j] = ((s[j] - '0') + 9) % 10 + '0'; if (s[j] == '0') { s[j] = '9'; } else { s[j] -= 1; } } int openLock(vector<string>& deadends, string target) { /* 记录需要跳过的死亡密码 */ unordered_set<string> deadlocks(deadends.begin(), deadends.end()); if (deadlocks.find("0000") != end(deadlocks)) { return -1; } int step = 0; /* 记录已经穷举过的密码,防止走回头路 */ unordered_set<string> visited{ {"0000"} }; /* 从起点开始启动广度优先搜索 */ queue<string> q; q.push("0000"); while (!q.empty()) { int sz = q.size(); /* 将当前队列中的所有节点向周围扩散 */ for (int i = sz; i > 0; i--) { string cur = q.front(); q.pop(); /* 判断是否到达终点 */ if (deadlocks.find(cur) != end(deadlocks)) continue; if (cur == target) { return step; } /* 将一个节点的未遍历相邻节点加入队列 */ for (int j = 0; j < 4; j++) { string up = cur; plusOne(up, j); if (visited.find(up) == end(visited)) { q.push(up); visited.insert(up); } string down = cur; minusOne(down, j); if (visited.find(down) == end(visited)) { q.push(down); visited.insert(down); } } } step++; } return -1; } int main() { string target = "0202"; vector<string> deadends{ "0201", "0101", "0102", "1212", "2002" }; int step = openLock(deadends, target); cout << step << endl; system("pause"); return 0; }
[ "726693267@qq.com" ]
726693267@qq.com
4b401ad56c6739ce749aafbc67cc7aa99a42952b
d64844d44dd74b358b4109bc573089fadf74c2ab
/seqan/seqan/index/index_shawarma.h
a49143e71360ff3c58b2df30a910826ec311755c
[ "BSD-3-Clause" ]
permissive
jstjohn/cscripts
777a297020d01e70dda7d0ab8de00bd84cb15ab4
256967ab83801750078314ec62604d889dcfca35
refs/heads/master
2021-01-13T14:19:44.554483
2012-04-12T23:19:08
2012-04-12T23:19:08
3,741,386
1
0
null
null
null
null
UTF-8
C++
false
false
3,637
h
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2010, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of Knut Reinert or the FU Berlin nor the names of // its contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL KNUT REINERT OR THE FU BERLIN BE LIABLE // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. // // ========================================================================== // Author: David Weese <david.weese@fu-berlin.de> // ========================================================================== #ifndef SEQAN_HEADER_INDEX_SHAWARMA_H #define SEQAN_HEADER_INDEX_SHAWARMA_H // adapt external C libraries extern "C" { void ds_ssort(unsigned char *t, int *sa, int n); int init_ds_ssort(int adist, int bs_ratio); } namespace SEQAN_NAMESPACE_MAIN { /* namespace shawarma { extern void ds_ssort(unsigned char *t, int *sa, int n); extern int init_ds_ssort(int adist, int bs_ratio); } */ ////////////////////////////////////////////////////////////////////////////// // SeqAn interface template <typename TSpec> struct Shawarma {}; struct MSufSort{}; // MSufSort struct DivSufSort{}; // DivSufSort struct DeepShallow{}; // Deep-Shallow sort struct QSufSort{}; // QSufSort // WARNING: // 1. text value must have char size // 2. SA value must have int size // 3. Deep-Shallow sort expects overshoot bytes behind the text // 4. SA must be contiguous // template < typename TSA, typename TText > void createSuffixArray( TSA &SA, TText &s, Shawarma<DeepShallow> const) { typedef typename Value<TText>::Type TValue; typedef typename Value<TSA>::Type TSAValue; SEQAN_ASSERT_EQ(sizeof(TValue), sizeof(unsigned char)); SEQAN_ASSERT_EQ(sizeof(TSAValue), sizeof(int)); // SEQAN_ASSERT(IsContiguous<TSA>::VALUE); int overshoot = init_ds_ssort(500, 2000); SEQAN_ASSERT_GT(overshoot, 0); reserve(s, length(s) + overshoot); ds_ssort( (unsigned char*)toCString(s), // text (int*)begin(SA, Standard()), // SA length(s)); // n } } // namespace SEQAN_NAMESPACE_MAIN #endif // SEQAN_HEADER_INDEX_PIZZACHILI_H
[ "johnthesaintjohn@gmail.com" ]
johnthesaintjohn@gmail.com
0075516bbb6c914118635b1f755af27b38aca44b
3edd3da6213c96cf342dc842e8b43fe2358c960d
/abc/abc057/a/main.cpp
e72dbee504fc7448b0d4b16e30c96f6d56d55d10
[]
no_license
tic40/atcoder
7c5d12cc147741d90a1f5f52ceddd708b103bace
3c8ff68fe73e101baa2aff955bed077cae893e52
refs/heads/main
2023-08-30T20:10:32.191136
2023-08-30T00:58:07
2023-08-30T00:58:07
179,283,303
0
0
null
null
null
null
UTF-8
C++
false
false
184
cpp
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for(int i = 0; i < n; i++) using ll = long long; int main() { int a, b; cin >> a >> b; cout << (a+b)%24 << endl; }
[ "ccpzjoh@gmail.com" ]
ccpzjoh@gmail.com
cb96dc8673b265a4e3d14e28e1d12d9334c59135
fc08b2ccda73c71230bcedff938fe4dc1a7f1759
/epxc/stdafx.cpp
455b19c24c89e6e60dbba0c904ecc76389351756
[]
no_license
daelsepara/PixelScalerWin
d7aa5fce8a978b50f8c96c0834a52a5c1079c082
142f488bb3d243412693957d13869d0ac1bf7a54
refs/heads/master
2021-05-12T00:49:57.550275
2019-08-15T12:17:46
2019-08-15T12:17:46
117,544,294
2
0
null
null
null
null
UTF-8
C++
false
false
283
cpp
// stdafx.cpp : source file that includes just the standard includes // epxc.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
[ "dael.separa@gmail.com" ]
dael.separa@gmail.com
69d86c560e2ef42242c1ad2287ea4ce04e865f21
ec3a06eddbf237ddefe44ac6f5c64f27f8c4fe58
/C++/Chapter 6/Chapter 6/stdafx.cpp
c2cc2d784752805aedb9e00d8b4956e8d150ed70
[]
no_license
ArcticZeroo/Semester-2-Projects
25a34055e4d161583959b385e9cb84bb2f682472
7fb41a2a457cd3f6c0240a9dc32a8e86449d2143
refs/heads/master
2020-04-02T06:26:05.075574
2016-06-16T13:07:53
2016-06-16T13:07:57
61,293,513
0
0
null
null
null
null
UTF-8
C++
false
false
288
cpp
// stdafx.cpp : source file that includes just the standard includes // Chapter 6.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
[ "novick.spencer@gmail.com" ]
novick.spencer@gmail.com
27c776e11b20e2b692dda5bbb019b4c54fb17cfa
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/ppapi/proxy/plugin_array_buffer_var.cc
625facfa0a67658c6ba55bfbbde2fb872174c38f
[ "BSD-3-Clause", "LicenseRef-scancode-khronos" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
3,156
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/proxy/plugin_array_buffer_var.h" #include <stdlib.h> #include <limits> #include "base/memory/shared_memory.h" #include "ppapi/c/dev/ppb_buffer_dev.h" #include "ppapi/proxy/plugin_dispatcher.h" #include "ppapi/proxy/plugin_globals.h" #include "ppapi/proxy/ppapi_messages.h" #include "ppapi/proxy/serialized_structs.h" #include "ppapi/shared_impl/host_resource.h" #include "ppapi/shared_impl/resource.h" #include "ppapi/thunk/enter.h" #include "ppapi/thunk/ppb_buffer_api.h" using base::SharedMemory; using base::SharedMemoryHandle; using ppapi::proxy::PluginGlobals; using ppapi::proxy::PluginResourceTracker; namespace ppapi { PluginArrayBufferVar::PluginArrayBufferVar(uint32_t size_in_bytes) : buffer_(size_in_bytes), plugin_handle_(base::SharedMemory::NULLHandle()), size_in_bytes_(size_in_bytes) {} PluginArrayBufferVar::PluginArrayBufferVar(uint32_t size_in_bytes, SharedMemoryHandle plugin_handle) : plugin_handle_(plugin_handle), size_in_bytes_(size_in_bytes) {} PluginArrayBufferVar::~PluginArrayBufferVar() { Unmap(); if (shmem_.get() == NULL) { // The SharedMemory destuctor can't close the handle for us. if (SharedMemory::IsHandleValid(plugin_handle_)) SharedMemory::CloseHandle(plugin_handle_); } else { // Delete SharedMemory, if we have one. shmem_.reset(); } } void* PluginArrayBufferVar::Map() { if (shmem_.get()) return shmem_->memory(); if (SharedMemory::IsHandleValid(plugin_handle_)) { shmem_.reset(new SharedMemory(plugin_handle_, false)); if (!shmem_->Map(size_in_bytes_)) { shmem_.reset(); return NULL; } return shmem_->memory(); } if (buffer_.empty()) return NULL; return &(buffer_[0]); } void PluginArrayBufferVar::Unmap() { if (shmem_.get()) shmem_->Unmap(); } uint32_t PluginArrayBufferVar::ByteLength() { return size_in_bytes_; } bool PluginArrayBufferVar::CopyToNewShmem( PP_Instance instance, int* host_handle_id, SharedMemoryHandle* plugin_out_handle) { ppapi::proxy::PluginDispatcher* dispatcher = ppapi::proxy::PluginDispatcher::GetForInstance(instance); if (!dispatcher) return false; ppapi::proxy::SerializedHandle plugin_handle; dispatcher->Send(new PpapiHostMsg_SharedMemory_CreateSharedMemory( instance, ByteLength(), host_handle_id, &plugin_handle)); if (!plugin_handle.IsHandleValid() || !plugin_handle.is_shmem() || *host_handle_id == -1) return false; base::SharedMemoryHandle tmp_handle = plugin_handle.shmem(); SharedMemory s(tmp_handle, false); if (!s.Map(ByteLength())) return false; memcpy(s.memory(), Map(), ByteLength()); s.Unmap(); // We don't need to keep the shared memory around on the plugin side; // we've already copied all our data into it. We'll make it invalid // just to be safe. *plugin_out_handle = base::SharedMemory::NULLHandle(); return true; } } // namespace ppapi
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
a16917a77cfb2b1285fc6658a488285923fbbb76
3590d45ec6566c44204c98af39b2b3b65edfd7a6
/src/qt/macos_appnap.h
639ee028d9b5fa088c41648b872d5a6966227de1
[ "MIT" ]
permissive
californium252/californium252
5fd77b7816e94b132b29054741146cc4ecf38742
21425c0ffbd9fc31dedfd197901ce7063f1164e1
refs/heads/master
2023-02-15T23:55:43.399441
2021-01-16T16:58:50
2021-01-16T16:58:50
330,174,932
0
0
null
null
null
null
UTF-8
C++
false
false
560
h
// Copyright (c) 2011-2018 The Californium Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef CALIFORNIUM_QT_MACOS_APPNAP_H #define CALIFORNIUM_QT_MACOS_APPNAP_H #include <memory> class CAppNapInhibitor final { public: explicit CAppNapInhibitor(); ~CAppNapInhibitor(); void disableAppNap(); void enableAppNap(); private: class CAppNapImpl; std::unique_ptr<CAppNapImpl> impl; }; #endif // CALIFORNIUM_QT_MACOS_APPNAP_H
[ "overlord@DESKTOP-6D6I1IM.localdomain" ]
overlord@DESKTOP-6D6I1IM.localdomain
1d85ff6b8381657612e73a532d2c8f91e8382c63
331e63f76403f347bf45d52b2b72e999a15d26a7
/SIN/SIN_CORE/SINCommon/Src/SINNamer.cpp
89e9c945833e317b197f5151430ba5f13581eb82
[]
no_license
koutsop/sinmetalanguage
64c9dd10d65c89b169aa0d1dec3bd14cf14165f6
7ef17948ae3a6fd4c3589429e9862d1cbfbec80c
refs/heads/master
2021-01-10T20:08:40.852870
2010-05-23T17:42:04
2010-05-23T17:42:04
33,115,739
0
0
null
null
null
null
UTF-8
C++
false
false
1,322
cpp
#include "SINNamer.h" #include <cstdio> #include <cstring> namespace SIN { //---------------------------------------------------------------- Namer::Namer(char const _base[SINNAMER_BASELEN]): counter(0x00ul), base_offset(min<size_t>(strlen(_base), SINNAMER_BASELEN)), number_maximun_length(ULONG_MAX_STR_LEN) { strncpy(base, _base, SINNAMER_BASELEN); } //---------------------------------------------------------------- Namer::Namer(Namer const &_other): counter(_other.counter), base_offset(_other.base_offset), number_maximun_length(_other.number_maximun_length) { strncpy(base, _other.base, SINNAMER_BASELEN); } //---------------------------------------------------------------- Namer::~Namer(void) {} //---------------------------------------------------------------- char const *Namer::operator ++(void) { sprintf(base + base_offset, "%0*lu", number_maximun_length, ++counter); return base; } //---------------------------------------------------------------- char const *Namer::operator ++(int) { sprintf(base + base_offset, "%0*lu", number_maximun_length, counter++); return base; } } // namespace SIN
[ "koutsop@6a7033b6-9ebc-11de-a8ff-c955b97a4a10" ]
koutsop@6a7033b6-9ebc-11de-a8ff-c955b97a4a10
3c243eafa3da329a9176ba19287bfe3f5a329d97
7782c7dd70620b011d3a644cdb8c94c5ed6fb05f
/src/declaration.cpp
e1d4ce5a865018d144e0e09634d3478284689614
[]
no_license
yubako/cflowmake
a07dc03d382ff2836163730685fe848a6e5ba44c
63a91901029c4a789fe9ba72f5281a1c28af2044
refs/heads/master
2020-12-24T18:13:58.271778
2016-05-12T22:31:40
2016-05-12T22:31:40
56,612,749
0
0
null
null
null
null
UTF-8
C++
false
false
860
cpp
#include "pars/cytypes.h" #include "vst/cyvisitor.h" int Declaration::accept(CyVisitor* visitor) { int ope; ope = visitor->visit(this); if ( ope != CyVisitor::VISIT_CONTINUE ) return ope; if ( this->hasNextSibling() ) ope = this->getNextSibling()->accept(visitor); return ope; } int FunctionDefinition::accept(CyVisitor* visitor) { int ope; ope = visitor->visit(this); if ( ope != CyVisitor::VISIT_CONTINUE ) return ope; if ( this->hasNextSibling() ) ope = this->getNextSibling()->accept(visitor); return ope; } int NullDeclaration::accept(CyVisitor* visitor) { int ope; ope =visitor->visit(this); if ( ope != CyVisitor::VISIT_CONTINUE ) return ope; if ( this->hasNextSibling() ) ope = this->getNextSibling()->accept(visitor); return ope; }
[ "user@localhost.localdomain" ]
user@localhost.localdomain
ed7889c74e1de52d881d99beab5f50e8d03337cf
d9975b97e09ae5f5225c04fac385746d44a6a374
/pylucene-4.9.0-0/build/_lucene/org/apache/lucene/index/BaseCompositeReader.h
08ef224779cb151d1202b55b049ce4cc1922a44c
[ "Apache-2.0" ]
permissive
Narabzad/elr_files
20038214ef0c4f459b0dccba5df0f481183fd83a
3e623c7d9c98a7d6e5b26e6e4a73f46ff5352614
refs/heads/master
2020-06-04T02:01:17.028827
2019-06-28T21:55:30
2019-06-28T21:55:30
191,825,485
1
0
null
null
null
null
UTF-8
C++
false
false
3,197
h
#ifndef org_apache_lucene_index_BaseCompositeReader_H #define org_apache_lucene_index_BaseCompositeReader_H #include "org/apache/lucene/index/CompositeReader.h" namespace org { namespace apache { namespace lucene { namespace index { class Fields; class Term; class StoredFieldVisitor; } } } } namespace java { namespace lang { class Class; class String; } namespace io { class IOException; } } template<class T> class JArray; namespace org { namespace apache { namespace lucene { namespace index { class BaseCompositeReader : public ::org::apache::lucene::index::CompositeReader { public: enum { mid_docFreq_7eca6a9e, mid_document_a2ea3ebe, mid_getDocCount_5fdc3f57, mid_getSumDocFreq_5fdc3f54, mid_getSumTotalTermFreq_5fdc3f54, mid_getTermVectors_ef1c9c73, mid_maxDoc_54c6a179, mid_numDocs_54c6a179, mid_totalTermFreq_7eca6a9d, mid_readerIndex_39c7bd23, mid_getSequentialSubReaders_87851566, mid_readerBase_39c7bd23, max_mid }; static ::java::lang::Class *class$; static jmethodID *mids$; static bool live$; static jclass initializeClass(bool); explicit BaseCompositeReader(jobject obj) : ::org::apache::lucene::index::CompositeReader(obj) { if (obj != NULL) env->getClass(initializeClass); } BaseCompositeReader(const BaseCompositeReader& obj) : ::org::apache::lucene::index::CompositeReader(obj) {} jint docFreq(const ::org::apache::lucene::index::Term &) const; void document(jint, const ::org::apache::lucene::index::StoredFieldVisitor &) const; jint getDocCount(const ::java::lang::String &) const; jlong getSumDocFreq(const ::java::lang::String &) const; jlong getSumTotalTermFreq(const ::java::lang::String &) const; ::org::apache::lucene::index::Fields getTermVectors(jint) const; jint maxDoc() const; jint numDocs() const; jlong totalTermFreq(const ::org::apache::lucene::index::Term &) const; }; } } } } #include <Python.h> namespace org { namespace apache { namespace lucene { namespace index { extern PyTypeObject PY_TYPE(BaseCompositeReader); class t_BaseCompositeReader { public: PyObject_HEAD BaseCompositeReader object; PyTypeObject *parameters[1]; static PyTypeObject **parameters_(t_BaseCompositeReader *self) { return (PyTypeObject **) &(self->parameters); } static PyObject *wrap_Object(const BaseCompositeReader&); static PyObject *wrap_jobject(const jobject&); static PyObject *wrap_Object(const BaseCompositeReader&, PyTypeObject *); static PyObject *wrap_jobject(const jobject&, PyTypeObject *); static void install(PyObject *module); static void initialize(PyObject *module); }; } } } } #endif
[ "43349991+Narabzad@users.noreply.github.com" ]
43349991+Narabzad@users.noreply.github.com
021053ac08fa7684555fcb80d16911995bd985fe
e763b855be527d69fb2e824dfb693d09e59cdacb
/aws-cpp-sdk-elasticmapreduce/source/EMREndpoint.cpp
1d246967f9dbe203973b6d8f99393a45c247ff58
[ "MIT", "Apache-2.0", "JSON" ]
permissive
34234344543255455465/aws-sdk-cpp
47de2d7bde504273a43c99188b544e497f743850
1d04ff6389a0ca24361523c58671ad0b2cde56f5
refs/heads/master
2023-06-10T16:15:54.618966
2018-05-07T23:32:08
2018-05-07T23:32:08
132,632,360
1
0
Apache-2.0
2023-06-01T23:20:47
2018-05-08T15:56:35
C++
UTF-8
C++
false
false
1,403
cpp
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #include <aws/elasticmapreduce/EMREndpoint.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <aws/core/utils/HashingUtils.h> using namespace Aws; using namespace Aws::EMR; namespace Aws { namespace EMR { namespace EMREndpoint { static const int CN_REGION_HASH = Aws::Utils::HashingUtils::HashString("cn-north-1"); Aws::String ForRegion(const Aws::String& regionName, bool useDualStack) { auto hash = Aws::Utils::HashingUtils::HashString(regionName.c_str()); Aws::StringStream ss; ss << "elasticmapreduce" << "."; if(useDualStack) { ss << "dualstack."; } ss << regionName << ".amazonaws.com"; if(hash == CN_REGION_HASH) { ss << ".cn"; } return ss.str(); } } // namespace EMREndpoint } // namespace EMR } // namespace Aws
[ "henso@amazon.com" ]
henso@amazon.com
f011a0af6010ad5ba79e03fbd24ce9f5053c4bf3
98f145410fc8fd84ba87d68247de930727d48fdf
/Source/Components/Rigidbody.hpp
702bafe2194f79b6ed93151aeec6abde83d9b8ac
[]
no_license
ngzaharias/entt_breakout
1aa6b3dadd7e9d1020ef6fa0a0561d778f5de712
9627cf5037e08f221e387300db6ad5d95295fab2
refs/heads/master
2023-01-03T16:02:57.866049
2020-10-26T01:25:52
2020-10-26T01:25:52
304,948,071
0
0
null
null
null
null
UTF-8
C++
false
false
77
hpp
#pragma once namespace physics { struct Rigidbody { bool m_Unused; }; }
[ "ngzaharias.logins@gmail.com" ]
ngzaharias.logins@gmail.com
9e65b6afc7a433a4cf5c1a2fa76e0590a57ccdc0
be6061392ebd7ab08dfaa8219eb3515b3de47e93
/examples/algo1_nandsim/nandsim.cpp
2f524e6a34f27ac804c44b69aa4890260accd951
[ "MIT" ]
permissive
chenm001/connectal
7848385216ae34b727591ef9055d48ac30855934
66d30ffcca8e0260041fb6b48b3200411ff73282
refs/heads/master
2023-04-17T15:21:05.308406
2023-04-16T21:32:10
2023-04-16T21:32:10
50,326,674
1
0
MIT
2023-04-17T02:18:45
2016-01-25T04:45:13
Bluespec
UTF-8
C++
false
false
3,093
cpp
#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "portal.h" #include "dmaManager.h" #include "NandCfgRequest.h" #include "NandCfgIndication.h" class NandCfgIndication : public NandCfgIndicationWrapper { public: unsigned int rDataCnt; virtual void readDone(uint32_t v){ fprintf(stderr, "NandSim::readDone v=%x\n", v); sem_post(&sem); } virtual void writeDone(uint32_t v){ fprintf(stderr, "NandSim::writeDone v=%x\n", v); sem_post(&sem); } virtual void eraseDone(uint32_t v){ fprintf(stderr, "NandSim::eraseDone v=%x\n", v); sem_post(&sem); } virtual void configureNandDone(){ fprintf(stderr, "NandSim::configureNandDone\n"); sem_post(&sem); } NandCfgIndication(int id) : NandCfgIndicationWrapper(id) { sem_init(&sem, 0, 0); } void wait() { fprintf(stderr, "NandSim::wait for semaphore\n"); sem_wait(&sem); } private: sem_t sem; }; int initNandSim(DmaManager *hostDma) { NandCfgRequestProxy *nandcfgRequest = new NandCfgRequestProxy(IfcNames_NandCfgRequestS2H); NandCfgIndication *nandcfgIndication = new NandCfgIndication(IfcNames_NandCfgIndicationH2S); int nandBytes = 1 << 12; int nandAlloc = portalAlloc(nandBytes, 0); fprintf(stderr, "testnandsim::nandAlloc=%d\n", nandAlloc); int ref_nandAlloc = hostDma->reference(nandAlloc); fprintf(stderr, "ref_nandAlloc=%d\n", ref_nandAlloc); fprintf(stderr, "testnandsim::NAND alloc fd=%d ref=%d\n", nandAlloc, ref_nandAlloc); nandcfgRequest->configureNand(ref_nandAlloc, nandBytes); nandcfgIndication->wait(); const char *filename = "../test.bin"; fprintf(stderr, "testnandsim::opening %s\n", filename); // open up the text file and read it into an allocated memory buffer int data_fd = open(filename, O_RDONLY); if (data_fd < 0) { fprintf(stderr, "%s:%d failed to open file %s errno=%d:%s\n", __FUNCTION__, __LINE__, filename, errno, strerror(errno)); return 0; } off_t data_len = lseek(data_fd, 0, SEEK_END); fprintf(stderr, "%s:%d fd=%d data_len=%ld\n", __FUNCTION__, __LINE__, data_fd, data_len); data_len = data_len & ~15; // because we are using a burst length of 16 lseek(data_fd, 0, SEEK_SET); int dataAlloc = portalAlloc(data_len, 0); char *data = (char *)portalMmap(dataAlloc, data_len); ssize_t read_len = read(data_fd, data, data_len); if(read_len != data_len) { fprintf(stderr, "%s:%d::error reading %s %ld %ld\n", __FUNCTION__, __LINE__, filename, (long)data_len, (long) read_len); exit(-1); } int ref_dataAlloc = hostDma->reference(dataAlloc); // write the contents of data into "flash" memory portalCacheFlush(ref_dataAlloc, data, data_len, 1); fprintf(stderr, "testnandsim::invoking write %08x %08lx\n", ref_dataAlloc, (long)data_len); nandcfgRequest->startWrite(ref_dataAlloc, 0, 0, data_len, 16); nandcfgIndication->wait(); fprintf(stderr, "%s:%d finished -- data_len=%ld\n", __FUNCTION__, __LINE__, data_len); return data_len; }
[ "jamey.hicks@gmail.com" ]
jamey.hicks@gmail.com
fe023e00c351c6b8a2deb81ed6cc9c2510476937
e46b909cdf0361f6c336f532507573c2f592cdf4
/util/system/filemap.h
64ce3f7dfd5fd7e9ea7ddea18ebcc790bc890954
[ "Apache-2.0" ]
permissive
exprmntr/test
d25b50881089640e8d94bc6817e9194fda452e85
170138c9ab62756f75882d59fb87447fc8b0f524
refs/heads/master
2022-11-01T16:47:25.276943
2018-03-31T20:56:25
2018-03-31T20:56:25
95,452,782
0
3
Apache-2.0
2022-10-30T22:45:27
2017-06-26T14:04:21
C++
UTF-8
C++
false
false
8,770
h
#pragma once #include "file.h" #include "align.h" #include "yassert.h" #include <util/generic/noncopyable.h> #include <util/generic/ptr.h> #include <util/generic/utility.h> #include <util/generic/yexception.h> #include <util/generic/flags.h> #include <util/generic/string.h> #include <new> #include <cstdio> struct TMemoryMapCommon { struct TMapResult { inline size_t MappedSize() const noexcept { return Size - Head; } inline void* MappedData() const noexcept { return Ptr ? (void*)((char*)Ptr + Head) : nullptr; } inline bool IsMapped() const noexcept { return Ptr != nullptr; } inline void Reset() noexcept { Ptr = nullptr; Size = 0; Head = 0; } void* Ptr; size_t Size; i32 Head; TMapResult(void) noexcept { Reset(); } }; enum EOpenModeFlag { oRdOnly = 1, oRdWr = 2, oAccessMask = 3, oNotGreedy = 8, oPrecharge = 16, }; Y_DECLARE_FLAGS(EOpenMode, EOpenModeFlag) /** * Name that will be printed in exceptions if not specified. * Overridden by name obtained from `TFile` if it's not empty. */ static const TString UnknownFileName; }; Y_DECLARE_OPERATORS_FOR_FLAGS(TMemoryMapCommon::EOpenMode) class TMemoryMap: public TMemoryMapCommon { public: explicit TMemoryMap(const TString& name); explicit TMemoryMap(const TString& name, EOpenMode om); TMemoryMap(const TString& name, i64 length, EOpenMode om); TMemoryMap(FILE* f, TString dbgName = UnknownFileName); TMemoryMap(FILE* f, EOpenMode om, TString dbgName = UnknownFileName); TMemoryMap(const TFile& file, TString dbgName = UnknownFileName); TMemoryMap(const TFile& file, EOpenMode om, TString dbgName = UnknownFileName); ~TMemoryMap(); TMapResult Map(i64 offset, size_t size); bool Unmap(TMapResult region); void ResizeAndReset(i64 size); TMapResult ResizeAndRemap(i64 offset, size_t size); i64 Length() const noexcept; bool IsOpen() const noexcept; bool IsWritable() const noexcept; TFile GetFile() const noexcept; void SetSequential(); void Evict(void* ptr, size_t len); void Evict(); /* * deprecated */ bool Unmap(void* ptr, size_t size); private: class TImpl; TSimpleIntrusivePtr<TImpl> Impl_; }; class TFileMap: public TMemoryMapCommon { public: TFileMap(const TMemoryMap& map) noexcept; TFileMap(const TString& name); TFileMap(const TString& name, EOpenMode om); TFileMap(const TString& name, i64 length, EOpenMode om); TFileMap(FILE* f, EOpenMode om = oRdOnly, TString dbgName = UnknownFileName); TFileMap(const TFile& file, EOpenMode om = oRdOnly, TString dbgName = UnknownFileName); TFileMap(const TFileMap& fm) noexcept; ~TFileMap(); TMapResult Map(i64 offset, size_t size); TMapResult ResizeAndRemap(i64 offset, size_t size); void Unmap(); void Flush(void* ptr, size_t size) { Flush(ptr, size, true); } void Flush() { Flush(Ptr(), MappedSize()); } void FlushAsync(void* ptr, size_t size) { Flush(ptr, size, false); } void FlushAsync() { FlushAsync(Ptr(), MappedSize()); } inline i64 Length() const noexcept { return Map_.Length(); } inline bool IsOpen() const noexcept { return Map_.IsOpen(); } inline bool IsWritable() const noexcept { return Map_.IsWritable(); } inline void* Ptr() const noexcept { return Region_.MappedData(); } inline size_t MappedSize() const noexcept { return Region_.MappedSize(); } TFile GetFile() const noexcept { return Map_.GetFile(); } void Precharge(size_t pos = 0, size_t size = (size_t)-1) const; void SetSequential() { Map_.SetSequential(); } void Evict() { Map_.Evict(); } private: void Flush(void* ptr, size_t size, bool sync); TMemoryMap Map_; TMapResult Region_; }; template <class T> class TFileMappedArray { private: const T* Ptr_; const T* End_; size_t Size_; char DummyData_[sizeof(T) + PLATFORM_DATA_ALIGN]; mutable THolder<T, TDestructor> Dummy_; THolder<TFileMap> DataHolder_; public: TFileMappedArray() : Ptr_(nullptr) , End_(nullptr) , Size_(0) { } ~TFileMappedArray() { Ptr_ = nullptr; End_ = nullptr; } void Init(const char* name) { DataHolder_.Reset(new TFileMap(name)); DoInit(name); } void Init(const TFileMap& fileMap) { DataHolder_.Reset(new TFileMap(fileMap)); DoInit(fileMap.GetFile().GetName()); } void Term() { DataHolder_.Destroy(); Ptr_ = nullptr; Size_ = 0; End_ = nullptr; } void Precharge() { DataHolder_->Precharge(); } const T& operator[](size_t pos) const { Y_ASSERT(pos < size()); return Ptr_[pos]; } /// for STL compatibility only, Size() usage is recommended size_t size() const { return Size_; } size_t Size() const { return Size_; } const T& GetAt(size_t pos) const { if (pos < Size_) return Ptr_[pos]; return Dummy(); } void SetDummy(const T& n_Dummy) { Dummy_.Destroy(); Dummy_.Reset(new (DummyData()) T(n_Dummy)); } inline char* DummyData() const noexcept { return AlignUp((char*)DummyData_); } inline const T& Dummy() const { if (!Dummy_) { Dummy_.Reset(new (DummyData()) T()); } return *Dummy_; } /// for STL compatibility only, Empty() usage is recommended bool empty() const noexcept { return Empty(); } bool Empty() const noexcept { return 0 == Size_; } /// for STL compatibility only, Begin() usage is recommended const T* begin() const noexcept { return Begin(); } const T* Begin() const noexcept { return Ptr_; } /// for STL compatibility only, End() usage is recommended const T* end() const noexcept { return End_; } const T* End() const noexcept { return End_; } private: void DoInit(const TString& fileName) { DataHolder_->Map(0, DataHolder_->Length()); if (DataHolder_->Length() % sizeof(T)) { Term(); ythrow yexception() << "Incorrect size of file " << fileName.Quote(); } Ptr_ = (const T*)DataHolder_->Ptr(); Size_ = DataHolder_->Length() / sizeof(T); End_ = Ptr_ + Size_; } }; class TMappedAllocation : TNonCopyable { public: TMappedAllocation(size_t size = 0, bool shared = false, void* addr = nullptr); ~TMappedAllocation() { Dealloc(); } void* Alloc(size_t size, void* addr = nullptr); void Dealloc(); void* Ptr() const { return Ptr_; } char* Data(ui32 pos = 0) const { return (char*)(Ptr_ ? ((char*)Ptr_ + pos) : nullptr); } char* Begin() const noexcept { return (char*)Ptr(); } char* End() const noexcept { return Begin() + MappedSize(); } size_t MappedSize() const { return Size_; } void swap(TMappedAllocation& with); private: void* Ptr_; size_t Size_; bool Shared_; #ifdef _win_ void* Mapping_; #endif }; template <class T> class TMappedArray: private TMappedAllocation { public: TMappedArray(size_t siz = 0) : TMappedAllocation(0) { if (siz) Create(siz); } ~TMappedArray() { Destroy(); } T* Create(size_t siz) { Y_ASSERT(MappedSize() == 0 && Ptr() == nullptr); T* arr = (T*)Alloc((sizeof(T) * siz)); if (!arr) return nullptr; Y_ASSERT(MappedSize() == sizeof(T) * siz); for (size_t n = 0; n < siz; n++) new (&arr[n]) T(); return arr; } void Destroy() { T* arr = (T*)Ptr(); if (arr) { for (size_t n = 0; n < size(); n++) arr[n].~T(); Dealloc(); } } T& operator[](size_t pos) { Y_ASSERT(pos < size()); return ((T*)Ptr())[pos]; } const T& operator[](size_t pos) const { Y_ASSERT(pos < size()); return ((T*)Ptr())[pos]; } T* begin() { return (T*)Ptr(); } T* end() { return (T*)((char*)Ptr() + MappedSize()); } size_t size() const { return MappedSize() / sizeof(T); } void swap(TMappedArray<T>& with) { TMappedAllocation::swap(with); } };
[ "exprmntr@yandex-team.ru" ]
exprmntr@yandex-team.ru
b45c74ab4359f8ddcc3e99771d3e9e62e1cfd0cd
0b111b10f185e0148f9ad137a1f6590e79d2cdeb
/kraUtilities/include/kraModule.h
bd6cea63c1b1b53d2055297ece61219d959969fe
[]
no_license
GalahadP92/Kraken-Engine
c409497592e3e2c8645484d94b17df7a63d03af9
fe8f27a378c9e85c36d4c0b3a042a549782988e7
refs/heads/master
2023-08-07T14:17:06.601235
2020-07-09T16:44:43
2020-07-09T16:44:43
278,412,919
0
0
null
null
null
null
UTF-8
C++
false
false
2,729
h
#pragma once #include "kraPrerequisitesUtil.h" #include <iostream> namespace kraEngineSDK{ using std::cout; template<class T> class Module { public: static T& instance() { if (!isStartedUp()) { std::cout << "Trying to access module but it hasn't started\n"; } if (isDestroyed()) { std::cout << "Trying to access a destroyed Module\n"; } return *_instance(); } static T* instancePtr() { if (!isStartedUp()) { std::cout << "Trying to access module but it hasn't started\n"; } if (isDestroyed()) { std::cout << "Trying to access a destroyed Module\n"; } return _instance(); } template<class... Args> static void StartUp(Args&& ...args) { if (isStartedUp()) { cout << "Trying to start an already started module\n"; } _instance() = new T(std::forward<Args>(args)...); isStartedUp() = true; isDestroyed() = false; static_cast<Module*>(_instance())->onStartUp(); } template<class SubType, class... Args> static void StartUp(Args&& ...args) { static_assert(std::is_base_of<T, SubType>::value, "Provided type isn't derived from the type the Module is initialized\n"); if (isStartedUp()) { cout << "Trying to start an already started module\n"; } _instance() = new SubType(std::forward<Args>(args)...); isStartedUp() = true; isDestroyed() = false; static_cast<Module*>(_instance())->onStartUp(); } static void ShutDown() { if (isDestroyed()) { cout << "Trying to shut down an already shut down module\n"; } if (!isStartedUp()) { cout << "Trying to shut down a module that was never started\n"; } static_cast<Module*>(_instance())->onShutdown(); delete(_instance()); isDestroyed() = true; } static bool isStarted() { return isStartedUp() && !isDestroyed(); } protected: Module() = default; virtual ~Module() = default; Module(Module&&) = delete; Module(const Module&) = delete; Module& operator = (Module&&) = delete; Module& operator=(const Module&) = delete; virtual void onStartUp() {} virtual void onShutdown() {} static T*& _instance() { static T* inst = nullptr; return inst; } static bool& isDestroyed() { static bool inst = false; return inst; } static bool& isStartedUp() { static bool inst = false; return inst; } }; }
[ "evey92@gmail.com" ]
evey92@gmail.com
e60492ccc764ba9e6cd658cfc81a5cafe2af2a5f
fcab2c23e61ad3362797b33eb5aa18ba6f3107d8
/TrafficCars/AirVehicle.h
4a563df35f653d0f036ab94c043683daa4bf10e6
[ "MIT" ]
permissive
B3WD/cpp-oop
a27b8e5afa7acfd12602b91d7dad806bb24efb07
5842ad4d1ebeab047b3700f2f6b1a09dffd04f36
refs/heads/main
2023-06-12T05:42:16.645638
2021-06-30T18:04:00
2021-06-30T18:04:00
348,608,102
0
0
null
null
null
null
UTF-8
C++
false
false
670
h
// // Created by tzvet on 28.4.2021 г.. // #ifndef MAIN_CPP_AIRVEHICLE_H #define MAIN_CPP_AIRVEHICLE_H #include "Vehicle.h" class AirVehicle : public Vehicle{ private: unsigned _wingCount; public: AirVehicle(const char* brand = "Null", int wheelCount = 0, int hp = 0, unsigned wingCount = 0); AirVehicle(const AirVehicle &rhs); ~AirVehicle(); AirVehicle& operator=(const AirVehicle &rhs); void setWingCount(unsigned wingCount); unsigned getWingCount() const { return _wingCount;}; std::ostream& ins(std::ostream &out) const; }; std::ostream& operator<<(std::ostream &out, const AirVehicle &rhs); #endif //MAIN_CPP_AIRVEHICLE_H
[ "tsvetomir.kpavlov@gmail.com" ]
tsvetomir.kpavlov@gmail.com
fcbf5a46befd7789ff36fb2c90407e900ef27c88
fbef6fd8108921b145413462f475c093f60a69c8
/algorithms/graphm-0.52/algorithm_sch.cpp
aae7f3354811583120e48a2d99ad94fe62828257
[]
no_license
lichen11/LSGMcode
7a8d731c3bcff4900e6c6066da4cfa6c58a19316
3e7c125f7442f00c95cfaaf19b8b343f2b46d490
refs/heads/master
2021-01-01T05:50:09.470066
2014-10-16T21:39:10
2014-10-16T21:39:10
25,267,454
3
1
null
null
null
null
UTF-8
C++
false
false
4,949
cpp
/*************************************************************************** * Copyright (C) 2008 by Mikhail Zaslavskiy * * mikhail.zaslavskiy@ensmp.fr * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include "algorithm_sch.h" match_result algorithm_sch::match(graph& g, graph& h,gsl_matrix* gm_P_i,gsl_matrix* gm_ldh,double dalpha_ldh) { bool bblast_match_end=(get_param_i("blast_match_proj")==1); bool bgreedy=(get_param_i("hungarian_greedy")==1); match_result mres=algorithm_qcv::match(g,h,gm_P_i,gm_ldh,dalpha_ldh); if (bverbose) *gout<<"SCH algorithm"<<std::endl; //some duplicate variables gsl_matrix* gm_Ag_d=g.get_descmatrix(cdesc_matrix); gsl_matrix* gm_Ah_d=h.get_descmatrix(cdesc_matrix); if (pdebug.ivalue) gsl_matrix_printout(gm_Ag_d,"Ag",pdebug.strvalue); if (pdebug.ivalue) gsl_matrix_printout(gm_Ah_d,"Ah",pdebug.strvalue); //memory allocation gsl_eigen_symmv_workspace * gesw= gsl_eigen_symmv_alloc (N); gsl_vector* eval_g=gsl_vector_alloc(N); gsl_vector* eval_h=gsl_vector_alloc(N); gsl_matrix* evec_g=gsl_matrix_alloc(N,N); gsl_matrix* evec_h=gsl_matrix_alloc(N,N); if (bverbose) *gout<<"Memory allocation finished"<<std::endl; //eigenvalues and eigenvectors for both matrices gsl_eigen_symmv (gm_Ag_d, eval_g,evec_g,gesw); if (bverbose) *gout<<"Ag eigen vectors"<<std::endl; gsl_eigen_symmv (gm_Ah_d, eval_h,evec_h,gesw); if (bverbose) *gout<<"Ah eigen vectors"<<std::endl; gsl_eigen_symmv_sort (eval_g, evec_g, GSL_EIGEN_SORT_VAL_DESC); gsl_eigen_symmv_sort (eval_h, evec_h, GSL_EIGEN_SORT_VAL_DESC); gsl_matrix_abs(evec_g); gsl_matrix_abs(evec_h); gsl_matrix *gm_lambda=gsl_matrix_alloc(N,N); gsl_matrix_set_all(gm_lambda,0); for (int i=0;i<eval_g->size;i++) for (int j=0;j<eval_h->size;j++) { gsl_matrix_set(gm_lambda,i,j,abs(eval_g->data[i]-eval_h->data[j])); }; /*for (int i=0;i<eval_g->size;i++) { gsl_vector_view gvv_c=gsl_matrix_column(evec_g,i); gsl_vector_scale(&gvv_c.vector,pow(eval_g->data[i],0.5)); }; for (int j=0;j<eval_h->size;j++) { gsl_vector_view gvv_c=gsl_matrix_column(evec_h,j); gsl_vector_scale(&gvv_c.vector,pow(eval_h->data[j],0.5)); };*/ //scale matrix construction gsl_matrix* C=gsl_matrix_alloc(N,N); gsl_matrix_transpose(evec_h); gsl_blas_dgemm(CblasNoTrans,CblasNoTrans,1,gm_lambda,evec_h,0,C); gsl_blas_dgemm(CblasNoTrans,CblasNoTrans,1,evec_g,C,0,gm_lambda); gsl_matrix_memcpy(C,gm_lambda); //produce weighted eigen vectors /*for (int i=0;i<eval_g->size;i++) for (int j=0;j<eval_h->size;j++) { C->data[i+N*j]=0; for (int k=0;k<N;k++) for (int m=0;m<N;m++) C->data[i+N*j]+=pow(gm_Ag_d->data[i+k*N]-gm_Ah_d->data[j+m*N],2); };*/ gsl_matrix_free(gm_Ag_d); gsl_matrix_free(gm_Ah_d); // gsl_matrix_transpose(C); //gsl_matrix_scale(C,-1); gsl_matrix_printout(C,"C",pdebug.strvalue); //gsl_matrix_set_all(C,1); //multiplication of QCV minimum on C gsl_matrix_memcpy(gm_lambda,mres.gm_P_exact); gsl_matrix_add_constant(mres.gm_P_exact,-0.5); gsl_matrix_mul_elements(mres.gm_P_exact,C); gsl_matrix_transpose(mres.gm_P_exact); //permuation projection gsl_matrix_scale(mres.gm_P_exact,-10000); gsl_matrix_hungarian(mres.gm_P_exact,mres.gm_P,NULL,NULL,false,(bblast_match_end?gm_ldh:NULL),bgreedy); gsl_matrix_memcpy(mres.gm_P_exact,gm_lambda); //memory release gsl_matrix_free(C); gsl_matrix_free(gm_lambda); gsl_matrix_free(evec_g); gsl_matrix_free(evec_h); gsl_vector_free(eval_g); gsl_vector_free(eval_h); //initial score mres.vd_trace.clear(); mres.vd_trace.push_back(graph_dist(g,h,cscore_matrix)); //final score mres.vd_trace.push_back(graph_dist(g,h,mres.gm_P,cscore_matrix)); //other output parameters mres.dres=mres.vd_trace.at(1); mres.inum_iteration=2; return mres; }
[ "lchen@durin" ]
lchen@durin
4bcdb892fd480b5c2bd1615a22c508b7e4cfd489
52f62927bb096e6cbc01bd6e5625a119fb35c1c5
/avt/Queries/Queries/avtExpectedValueQuery.h
849ca69a03c9e702f6c0f1f54847ec785eac0f9b
[]
no_license
HarinarayanKrishnan/VisIt27RC_Trunk
f42f82d1cb2492f6df1c2f5bb05bbb598fce99c3
16cdd647ac0ad5abfd66b252d31c8b833142145a
refs/heads/master
2020-06-03T07:13:46.229264
2014-02-26T18:13:38
2014-02-26T18:13:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,610
h
/***************************************************************************** * * Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * LLNL-CODE-442911 * All rights reserved. * * This file is part of VisIt. For details, see https://visit.llnl.gov/. The * full copyright notice is contained in the file COPYRIGHT located at the root * of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this list of conditions and the disclaimer below. * - Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the disclaimer (as noted below) in the * documentation and/or other materials provided with the distribution. * - Neither the name of the LLNS/LLNL nor the names of its contributors may * be used to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY, * LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. * *****************************************************************************/ // ************************************************************************* // // avtExpectedValueQuery.h // // ************************************************************************* // #ifndef AVT_EXPECTED_VALUE_QUERY_H #define AVT_EXPECTED_VALUE_QUERY_H #include <query_exports.h> #include <avtCurveQuery.h> #include <string> // **************************************************************************** // Class: avtExpectedValueQuery // // Purpose: // A query that calculates the expected value of a probability density // function. That is, for a function f(x), it calculate the integral // x*f(x) over the entire domain, which return the expected value. // // Programmer: Hank Childs // Creation: August 25, 2006 // // **************************************************************************** class QUERY_API avtExpectedValueQuery : public avtCurveQuery { public: avtExpectedValueQuery(); virtual ~avtExpectedValueQuery(); virtual const char *GetType(void) { return "avtExpectedValueQuery"; }; virtual const char *GetDescription(void) { return "Calculating expected value."; }; protected: virtual double CurveQuery(int, const float *, const float *); virtual std::string CreateMessage(double); }; #endif
[ "brugger@18c085ea-50e0-402c-830e-de6fd14e8384" ]
brugger@18c085ea-50e0-402c-830e-de6fd14e8384
0a560c58cc175937ba9474a91f3bdedabf643db5
e5c963f724be0e76db790093d1c0712adb66a7a9
/4_texturaYluz/grafoparam.h
96330c00b7bc5009f1d8dfef1861a8b1a02a23b8
[]
no_license
yurenadelpeso/OpenGL
b27d0c5a07a06217555b575bdeacd066f91b611a
599148999f632de58cde503d3767c2203b1edfcd
refs/heads/master
2020-12-18T12:29:07.879646
2020-01-22T15:39:37
2020-01-22T15:39:37
235,381,255
0
0
null
null
null
null
UTF-8
C++
false
false
2,695
h
// ############################################################################# // // Informática Gráfica (Grado Informática) // // Archivo: GrafoParam.h // -- declaraciones de clase para el objeto jerárquico de la práctica 3 // // ############################################################################# #ifndef GRAFOPARAM_H_INCLUDED #define GRAFOPARAM_H_INCLUDED #include "malla.h" // añadir .h de cualquier objetos malla indexada usados.... constexpr int num_parametros = 4 ; // número de parámetros o grados de libertad // de este modelo typedef int ModoVis; class GrafoParam { public: // crea mallas indexadas (nodos terminales del grafo) GrafoParam(); // función principal de visualización void draw( const int p_modo_vis, const bool p_usar_diferido ); // actualizar valor efectivo de un parámetro (a partir de su valor no acotado) void actualizarValorEfe( const unsigned iparam, const float valor_na ); // devuelve el número de parámetros unsigned numParametros() { return num_parametros ; } private: void miDibujo(const int p_modo_vis, const bool p_usar_diferido); void miDibujo1(const int p_modo_vis, const bool p_usar_diferido); void miDibujo2(const int p_modo_vis, const bool p_usar_diferido); void rueda(const int p_modo_vis, const bool p_usar_diferido); void parRueda(const int p_modo_vis, const bool p_usar_diferido); void cuerpoBajo(const int p_modo_vis, const bool p_usar_diferido); void cuatroRuedas(const int p_modo_vis, const bool p_usar_diferido); void cuerpoAlto(const int p_modo_vis, const bool p_usar_diferido); void canyon(const int p_modo_vis, const bool p_usar_diferido); void tanque(const int p_modo_vis, const bool p_usar_diferido); // métodos de dibujo de subgrafos void columna( const float altura, const float ag_rotacion, const float radio_cil ); // objetos tipo malla indexada (nodos terminales) Cilindro * cilindro = nullptr ; Cubo * cubo = nullptr ; std::vector<float> movimientos; // parámetros de la llamada actual (o última) a 'draw' int modo_vis ; // modo de visualización bool usar_diferido ; // modo de envío (true -> diferido, false -> inmediato) // valores efectivos de los parámetros (angulos, distancias, factores de // escala, etc.....) calculados a partir de los valores no acotados float altura_1, // altura de la primera columna ag_rotacion_1, // ángulo en grados de rotación (1) altura_2, // altura de la segunda columna ag_rotacion_2 ; // ángulo en grados de rotación (2) } ; #endif
[ "yurenadelpeso@protonmail.com" ]
yurenadelpeso@protonmail.com
5758adc25dca7c1889c8d8c52757ab2c4aa7491e
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Public_Library/PhysBAM_Geometry/Geometry_Particles/RIGID_GEOMETRY_PARTICLES.cpp
99c8ffddf5dea50913b920ef9c9bf42a30ebf15b
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
C++
false
false
2,399
cpp
//##################################################################### // Copyright 2006-2009, Michael Lentine, Craig Schroeder, Eftychios Sifakis, Jonathan Su. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### #include <PhysBAM_Tools/Vectors/VECTOR.h> #include <PhysBAM_Geometry/Geometry_Particles/RIGID_GEOMETRY_PARTICLES.h> #include <PhysBAM_Geometry/Solids_Geometry/RIGID_GEOMETRY.h> namespace PhysBAM{ //##################################################################### // Resize //##################################################################### template<class TV> void RIGID_GEOMETRY_PARTICLES<TV>:: Resize(const int new_size) { for(int p=new_size+1;p<=array_collection->Size();p++) if(rigid_geometry(p)) Remove_Geometry(p); array_collection->Resize(new_size); } //##################################################################### // Remove_Geometry //##################################################################### template<class TV> void RIGID_GEOMETRY_PARTICLES<TV>:: Remove_Geometry(const int p) { delete rigid_geometry(p); } //##################################################################### // Function Clean_Memory //##################################################################### template<class TV> void RIGID_GEOMETRY_PARTICLES<TV>:: Clean_Memory() { for(int p=1;p<=array_collection->Size();p++) if(rigid_geometry(p)) Remove_Geometry(p); array_collection->Clean_Memory(); } //##################################################################### // Function Clean_Memory //##################################################################### template<class TV> void RIGID_GEOMETRY_PARTICLES<TV>:: Delete_All_Particles() { for(int p=1;p<=array_collection->Size();p++) if(rigid_geometry(p)) Remove_Geometry(p); array_collection->Delete_All_Elements(); } template class RIGID_GEOMETRY_PARTICLES<VECTOR<float,1> >; template class RIGID_GEOMETRY_PARTICLES<VECTOR<float,2> >; template class RIGID_GEOMETRY_PARTICLES<VECTOR<float,3> >; #ifndef COMPILE_WITHOUT_DOUBLE_SUPPORT template class RIGID_GEOMETRY_PARTICLES<VECTOR<double,1> >; template class RIGID_GEOMETRY_PARTICLES<VECTOR<double,2> >; template class RIGID_GEOMETRY_PARTICLES<VECTOR<double,3> >; #endif }
[ "quhang@stanford.edu" ]
quhang@stanford.edu
a8c6a620a3e049b37f4d5e0b33f53723c14d06db
b4b80bbe82640952ae5d2af42d887fef497c4254
/TimeClass.h
0358047b8f99ac4fcf3bdee1eaf03952f539f7e9
[ "MIT" ]
permissive
UnlikeSuika/Touhou_Unfound_Dimensions
899c7b7be98e19554a9d6c98a83b8710a72bd631
b76984308bf32f3511bb81bb54ae997943016d82
refs/heads/master
2020-04-12T01:38:36.974750
2017-02-19T03:31:45
2017-02-19T03:31:45
51,175,878
0
0
null
2016-04-30T00:22:49
2016-02-05T21:41:08
C++
UTF-8
C++
false
false
896
h
#ifndef _TIME_CLASS_H_ #define _TIME_CLASS_H_ const int MAX_TIMER_COUNT = 30; const int MAX_CLOCK_COUNT = 30; class TimeClass{ private: struct TimerType{ int timeLeft; int ID; }; struct ClockType{ int time; int ID; }; unsigned long int frame; TimerType timer[MAX_TIMER_COUNT]; ClockType clock[MAX_CLOCK_COUNT]; int timerIDCount, timerCount; int clockIDCount, clockCount; public: TimeClass(); TimeClass(const TimeClass& other); ~TimeClass(); unsigned long int GetFrameCount(); void SetFrameCount(int input); void FrameIncrement(); bool AddTimer(int& timerID, int timeLimit); void SetTimer(int timerID, int timeLimit); void DeleteTimer(int& timerID); bool IsTimerRunning(int timerID); long int TimeLeft(int timerID); bool AddClock(int& clockID); void SetClock(int clockID, int time); void DeleteClock(int& clockID); int CurrentClockTime(int clockID); }; #endif
[ "unlikesuika@gmail.com" ]
unlikesuika@gmail.com
b9bf14eefaaab6dfd66339820001fa8d1352f287
3438e8c139a5833836a91140af412311aebf9e86
/ash/shell/panel_window.cc
168649f032fbe31eec1674af5ac0fc88bfa837c8
[ "BSD-3-Clause" ]
permissive
Exstream-OpenSource/Chromium
345b4336b2fbc1d5609ac5a67dbf361812b84f54
718ca933938a85c6d5548c5fad97ea7ca1128751
refs/heads/master
2022-12-21T20:07:40.786370
2016-10-18T04:53:43
2016-10-18T04:53:43
71,210,435
0
2
BSD-3-Clause
2022-12-18T12:14:22
2016-10-18T04:58:13
null
UTF-8
C++
false
false
2,250
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/shell/panel_window.h" #include "ash/common/wm/panels/panel_frame_view.h" #include "ash/screen_util.h" #include "ash/shell.h" #include "base/strings/utf_string_conversions.h" #include "ui/aura/window.h" #include "ui/aura/window_event_dispatcher.h" #include "ui/gfx/canvas.h" #include "ui/views/widget/widget.h" namespace { const int kMinWidth = 100; const int kMinHeight = 100; const int kDefaultWidth = 200; const int kDefaultHeight = 300; } namespace ash { // static views::Widget* PanelWindow::CreatePanelWindow(const gfx::Rect& rect) { PanelWindow* panel_window = new PanelWindow("Example Panel Window"); panel_window->params().bounds = rect; panel_window->params().context = Shell::GetPrimaryRootWindow(); return panel_window->CreateWidget(); } PanelWindow::PanelWindow(const std::string& name) : name_(name), params_(views::Widget::InitParams::TYPE_PANEL) { params_.delegate = this; } PanelWindow::~PanelWindow() {} views::Widget* PanelWindow::CreateWidget() { views::Widget* widget = new views::Widget; if (params().bounds.width() == 0) params().bounds.set_width(kDefaultWidth); if (params().bounds.height() == 0) params().bounds.set_height(kDefaultHeight); params().bounds = ScreenUtil::ConvertRectToScreen( Shell::GetTargetRootWindow(), params().bounds); widget->Init(params()); widget->GetNativeView()->SetName(name_); widget->Show(); return widget; } gfx::Size PanelWindow::GetPreferredSize() const { return gfx::Size(kMinWidth, kMinHeight); } void PanelWindow::OnPaint(gfx::Canvas* canvas) { canvas->FillRect(GetLocalBounds(), SK_ColorGREEN); } base::string16 PanelWindow::GetWindowTitle() const { return base::ASCIIToUTF16(name_); } bool PanelWindow::CanResize() const { return true; } bool PanelWindow::CanMaximize() const { return false; } bool PanelWindow::CanMinimize() const { return false; } views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( views::Widget* widget) { return new PanelFrameView(widget, PanelFrameView::FRAME_NONE); } } // namespace ash
[ "support@opentext.com" ]
support@opentext.com