blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
5eadf1422f4872de63ab0f2cb163234665f6cc6a
ea2bb9b2b70ac5854248801371a236c4ea9c03c8
/Code/Common/mimxCreateIntervertebralDiscElementSets.cxx
dfa116a123f583a4e9d809432ddabbea134ee413
[]
no_license
Piyusha23/IAFEMesh
557de885d80ac3575ece146cf97f1a807bfeeb4e
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
refs/heads/master
2021-10-27T03:19:25.279119
2019-04-15T17:11:46
2019-04-15T17:11:46
181,531,319
1
0
null
null
null
null
UTF-8
C++
false
false
4,845
cxx
/*========================================================================= Program: MIMX Meshing Toolkit Module: $RCSfile: mimxCreateIntervertebralDiscElementSets.cxx,v $ Language: C++ Date: $Date: 2013/01/05 20:40:12 $ Version: $Revision: 1.2 $ Musculoskeletal Imaging, Modelling and Experimentation (MIMX) Center for Computer Aided Design The University of Iowa Iowa City, IA 52242 http://www.ccad.uiowa.edu/mimx/ Copyright (c) The University of Iowa. All rights reserved. See MIMXCopyright.txt or http://www.ccad.uiowa.edu/mimx/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #include "CreateIntervertebralDiscElementSets.h" #include <stdio.h> #include <string.h> #include "vtkCellData.h" #include "vtkIntArray.h" #include "vtkPointData.h" #include "vtkUnstructuredGrid.h" CreateIntervertebralDiscElementSets::CreateIntervertebralDiscElementSets() { this->UGrid = NULL; this->BoundingBox = NULL; this->ElementSetsName = NULL; this->StartingElementSetNumber = 1; } CreateIntervertebralDiscElementSets::~CreateIntervertebralDiscElementSets() { } void CreateIntervertebralDiscElementSets::SetUnstructuredGrid(vtkUnstructuredGrid *UnsGrid) { this->UGrid = UnsGrid; } void CreateIntervertebralDiscElementSets::SetBoundingBox(vtkUnstructuredGrid *BBox) { this->BoundingBox = BBox; } void CreateIntervertebralDiscElementSets::SetStartingElementSetNumber(int StartEleNum) { this->StartingElementSetNumber = StartEleNum; } void CreateIntervertebralDiscElementSets::CreateElementSetArrays() { // if an array already present //int i; //if(UGrid->GetCellData()->GetArray("Element_Numbers")) //{ // vtkIntArray *elementarray = // vtkIntArray::SafeDownCast(UGrid->GetCellData()->GetArray("Element_Numbers")); // for (i=0; i<UGrid->GetNumberOfCells(); i++) { // elementarray->SetValue(i, i+this->StartingElementNumber); // } //} //else //{ // vtkIntArray *elementarray = vtkIntArray::New(); // elementarray->SetNumberOfValues(UGrid->GetNumberOfCells()); // for (i=0; i<UGrid->GetNumberOfCells(); i++) { // elementarray->SetValue(i, i+this->StartingElementNumber); // } // elementarray->SetName("Element_Numbers"); // UGrid->GetCellData()->AddArray(elementarray); // elementarray->Delete(); //} int i,j; // seperate element sets for disc rings if(!strcmp(this->ElementSetsName, "")) { this->ElementSetsName = "Element_Set_"; } double meshseed[3]; BoundingBox->GetCellData()->GetVectors()->GetTuple(0, meshseed); for (i=0; i<meshseed[2]-1; i++) { char name[20]; strcpy(name, this->ElementSetsName); char buffer[10]; sprintf(buffer, "%d", i+this->StartingElementSetNumber); strcat(name, buffer); vtkIntArray *elementarray = vtkIntArray::New(); elementarray->SetNumberOfValues(UGrid->GetNumberOfCells()); for (j=0; j<UGrid->GetNumberOfCells(); j++) { elementarray->SetValue(j, 0); } // loop through the first 4 bounding boxes double dimtemp[3]; for (j=0; j<4; j++) { int startelnum=0; for (int k=0; k<j; k++) { BoundingBox->GetCellData()->GetVectors()->GetTuple(k, dimtemp); startelnum = startelnum + (dimtemp[0]-1)*(dimtemp[1]-1)*(dimtemp[2]-1); } // loop through all the elements of a given face double dim[3]; BoundingBox->GetCellData()->GetVectors()->GetTuple(j, dimtemp); dim[0] = dimtemp[2]-1; dim[1] = dimtemp[0]-1; dim[2] = dimtemp[1]-1; for(int y=0; y < dim[2]; y++) { for(int x=0; x < dim[1]; x++) { elementarray->SetValue(startelnum + (y*dim[0]*dim[1]+x*dim[0])+i,1); } } } elementarray->SetName(name); UGrid->GetCellData()->AddArray(elementarray); elementarray->Delete(); } //element set for nucleus pulposus char name1[20]; strcpy(name1, this->ElementSetsName); char buffer1[10]; sprintf(buffer1, "%d", 4+this->StartingElementSetNumber); strcat(name1, buffer1); vtkIntArray *elementarray = vtkIntArray::New(); elementarray->SetNumberOfValues(UGrid->GetNumberOfCells()); for (j=0; j<UGrid->GetNumberOfCells(); j++) { elementarray->SetValue(j, 0); } int startelnum=0; double dimtemp[3]; for (int k=0; k<4; k++) { BoundingBox->GetCellData()->GetVectors()->GetTuple(k, dimtemp); startelnum = startelnum + (dimtemp[0]-1)*(dimtemp[1]-1)*(dimtemp[2]-1); } // skip the first 4 bounding boxes for (j=startelnum; j<UGrid->GetNumberOfCells(); j++) { elementarray->SetValue(j, 1); } elementarray->SetName(name1); UGrid->GetCellData()->AddArray(elementarray); elementarray->Delete(); } void CreateIntervertebralDiscElementSets::SetElementSetsName(const char *Name) { this->ElementSetsName = Name; }
[ "gadepiyusha@gmail.com" ]
gadepiyusha@gmail.com
c620e0e7b24736960ef07d381b88d81d91072ddf
08a46d882b8e69efd5090555915f39583cb0067a
/src/qt/test/test_main.cpp
7c9cf2682354bcf578737ab8dbf7d71cd8a83bc9
[ "MIT" ]
permissive
Bitcoin-OLD/Bitcoin-OLD
3a7d36ce9d7ba6c238b5e67443290172318c09d0
16627f390aa418a99103843f9d94c48931fad826
refs/heads/master
2020-04-16T21:00:10.631744
2019-01-15T19:39:39
2019-01-15T19:39:39
165,907,352
0
0
null
null
null
null
UTF-8
C++
false
false
1,621
cpp
// Copyright (c) 2009-2016 The Bitcoinold Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoinold-config.h" #endif #include "chainparams.h" #include "key.h" #include "rpcnestedtests.h" #include "util.h" #include "uritests.h" #include "compattests.h" #ifdef ENABLE_WALLET #include "paymentservertests.h" #endif #include <QCoreApplication> #include <QObject> #include <QTest> #include <openssl/ssl.h> #if defined(QT_STATICPLUGIN) && QT_VERSION < 0x050000 #include <QtPlugin> Q_IMPORT_PLUGIN(qcncodecs) Q_IMPORT_PLUGIN(qjpcodecs) Q_IMPORT_PLUGIN(qtwcodecs) Q_IMPORT_PLUGIN(qkrcodecs) #endif extern void noui_connect(); // This is all you need to run all the tests int main(int argc, char *argv[]) { ECC_Start(); SetupEnvironment(); SetupNetworking(); SelectParams(CBaseChainParams::MAIN); noui_connect(); bool fInvalid = false; // Don't remove this, it's needed to access // QCoreApplication:: in the tests QCoreApplication app(argc, argv); app.setApplicationName("Bitcoinold-Qt-test"); SSL_library_init(); URITests test1; if (QTest::qExec(&test1) != 0) fInvalid = true; #ifdef ENABLE_WALLET PaymentServerTests test2; if (QTest::qExec(&test2) != 0) fInvalid = true; #endif RPCNestedTests test3; if (QTest::qExec(&test3) != 0) fInvalid = true; CompatTests test4; if (QTest::qExec(&test4) != 0) fInvalid = true; ECC_Stop(); return fInvalid; }
[ "bitcoinold@protonmail.com" ]
bitcoinold@protonmail.com
6053563692ea089efbb98e07c15e4d2eda4f8fba
4bc6d2dcc7aadcd075890c0e75d9645896314710
/vol120/12032.cpp
1f77601da7edb3c9b562ed36ec7f99e6e300c746
[]
no_license
dibery/UVa
ed50d28abae01a2bc119648b448ebb48f249d0b0
9696e6b8ed8cf459a9f3b917d6fb0549b13504e6
refs/heads/master
2021-06-09T11:10:07.721013
2021-05-14T17:07:58
2021-05-14T17:07:58
19,485,747
6
1
null
null
null
null
UTF-8
C++
false
false
1,004
cpp
#include<cstdio> #include<algorithm> using namespace std; bool jump( int h, const int *ladder, const int &stage ) { bool can = true; for( int i = 1; i <= stage && can; ++i ) if( ladder[ i ] - ladder[ i-1 ] == h ) --h; else if( ladder[ i ] - ladder[ i-1 ] > h ) can = false; return can; } int main() { int test, size; scanf( "%d", &test ); for( int i = 1; i <= test; ++i ) { scanf( "%d", &size ); int ladder[ size ], prev = 0, high = 0, low = 1, mid; *ladder = 0; for( int k = 1; k <= size; ++k ) { scanf( "%d", ladder+k ); high = max( high, ladder[ k ]-prev+1 ); prev = ladder[ k ]; } while( low < high ) { mid = ( low+high ) / 2; if( jump( mid, ladder, size ) ) high = mid; else low = mid+1; } printf( "Case %d: %d\n", i, low ); } return 0; }
[ "bor810818@yahoo.com.tw" ]
bor810818@yahoo.com.tw
02a855b8a304a55d8f3aceb29c19777d31ae760c
86a51a8dffaf1ad4b8a39626021d1a12e0462fc7
/dev/src/node.h
b664a5e75785f294cfb011e2336197b24dd745de
[ "Apache-2.0" ]
permissive
gnusosa/lobster
9042b530cf5ec60b895162df7d1120d0e040bf64
ea18bedea2af3d033a070519589a80877403e462
refs/heads/master
2021-01-18T10:25:37.338627
2015-02-25T03:11:08
2015-02-25T03:11:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,530
h
// Copyright 2014 Wouter van Oortmerssen. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. namespace lobster { struct SlabAllocatedSmall { #undef new void *operator new(size_t size) { return parserpool->alloc_small(size); } void *operator new(size_t size, int, const char *, int) { return parserpool->alloc_small(size); } void operator delete(void *p) { parserpool->dealloc_small(p); }; void operator delete(void *p, int, const char *, int) { parserpool->dealloc_small(p); } #ifdef WIN32 #ifdef _DEBUG #define new DEBUG_NEW #endif #endif }; struct AST : SlabAllocatedSmall { TType type; TypeRef exptype; int linenumber; int fileidx; AST(Lex &lex, TType _t) : type(_t) { linenumber = lex.errorline; fileidx = lex.fileidx; } }; struct IntConst : AST { int integer_; IntConst(Lex &lex, int i) : AST(lex, T_INT), integer_(i) {}; }; // T_INT struct FltConst : AST { double flt_; FltConst(Lex &lex, double f) : AST(lex, T_FLOAT), flt_(f) {}; }; // T_FLOAT struct StrConst : AST { char *str_; StrConst(Lex &lex, const string &s) : AST(lex, T_STR), str_(parserpool->alloc_string_sized(s.c_str())) {}; }; // T_STR struct IdRef : AST { Ident *ident_; IdRef (Lex &lex, Ident *id) : AST(lex, T_IDENT), ident_(id) {} }; // T_IDENT struct StRef : AST { Struct *st_; StRef (Lex &lex, Struct *st) : AST(lex, T_STRUCT), st_(st) {} }; // T_STRUCT struct FldRef : AST { SharedField *fld_; FldRef (Lex &lex, SharedField *fld) : AST(lex, T_FIELD), fld_(fld) {} }; // T_FIELD struct FunRef : AST { SubFunction *sf_; FunRef (Lex &lex, SubFunction *sf) : AST(lex, T_FUN), sf_(sf) {} }; // T_FUN struct NatRef : AST { NativeFun *nf_; NatRef (Lex &lex, NativeFun *nf) : AST(lex, T_NATIVE), nf_(nf) {} }; // T_NATIVE struct TypeNode : AST { TypeRef type_; TypeNode(Lex &lex, TType t) : AST(lex, t) {} }; // T_TYPE, T_NIL struct Ternary : AST { Node *a_, *b_, *c_; Ternary(Lex &lex, TType t, AST *a, AST *b, AST *c) : AST(lex, t), a_((Node *)a), b_((Node *)b), c_((Node *)c) { assert(TCat(t) == TT_TERNARY); } }; // Inverted subtyping: rather than have most of the compiler deal with the AST base type (which would require a ton // of virtual methods or casts to access the subtypes), we make Node (the most common occurring subtype) the // type we use, and give it accessors that can read all fields of all other subtypes, protected by an assert. // This is safe, fast, and memory efficient. struct Node : AST { private: Node *a_, *b_; public: Node(Lex &lex, TType t, AST *a, AST *b) : AST(lex, t), a_((Node *)a), b_((Node *)b) {}; int NumChildren() const { return TCat(type) == TT_NOCHILD ? 0 : TCat(type) == TT_TERNARY ? 3 : 2; } int integer() const { assert(type == T_INT); return ((const IntConst *)this)->integer_; } double flt() const { assert(type == T_FLOAT); return ((const FltConst *)this)->flt_; } char * str() const { assert(type == T_STR); return ((const StrConst *)this)->str_; } char *&str() { assert(type == T_STR); return (( StrConst *)this)->str_; } Ident *ident() const { assert(type == T_IDENT); return ((const IdRef *)this)->ident_; } Struct *st() const { assert(type == T_STRUCT); return ((const StRef *)this)->st_; } SharedField *fld() const { assert(type == T_FIELD); return ((const FldRef *)this)->fld_; } NativeFun * nf() const { assert(type == T_NATIVE); return ((const NatRef *)this)->nf_; } NativeFun *&nf() { assert(type == T_NATIVE); return ((NatRef *)this)->nf_; } SubFunction * sf() const { assert(type == T_FUN); return ((const FunRef *)this)->sf_; } SubFunction *&sf() { assert(type == T_FUN); return ((FunRef *)this)->sf_; } TypeRef typenode() const { assert(type == T_TYPE || type == T_NIL); return ((const TypeNode *)this)->type_; } TypeRef &typenode() { assert(type == T_TYPE || type == T_NIL); return (( TypeNode *)this)->type_; } Node * a() const { assert(TCat(type) != TT_NOCHILD); return a_; } Node *&a() { assert(TCat(type) != TT_NOCHILD); return a_; } Node * b() const { assert(TCat(type) != TT_NOCHILD); return b_; } Node *&b() { assert(TCat(type) != TT_NOCHILD); return b_; } Node * c() const { assert(TCat(type) == TT_TERNARY); return ((Ternary *)this)->c_; } Node *&c() { assert(TCat(type) == TT_TERNARY); return ((Ternary *)this)->c_; } Node * left() const { assert(TCat(type) >= TT_BINARY); return a_; } Node *&left() { assert(TCat(type) >= TT_BINARY); return a_; } Node * right() const { assert(TCat(type) >= TT_BINARY); return b_; } Node *&right() { assert(TCat(type) >= TT_BINARY); return b_; } Node * child() const { assert(TCat(type) == TT_UNARY); return a_; } Node *&child() { assert(TCat(type) == TT_UNARY); return a_; } #define GEN_ACCESSOR_NO(ENUM, NAME, AB) #define GEN_ACCESSOR_YES(ENUM, NAME, AB) \ Node *&NAME() { assert(type == ENUM); return AB; } \ const Node * NAME() const { assert(type == ENUM); return AB; } #define T(ENUM, STR, CAT, HASLEFT, LEFT, HASRIGHT, RIGHT) GEN_ACCESSOR_##HASLEFT(ENUM, LEFT, a_) \ GEN_ACCESSOR_##HASRIGHT(ENUM, RIGHT, b_) TTYPES_LIST #undef T #undef GEN_ACCESSOR_NO #undef GEN_ACCESSOR_YES ~Node() { if (type == T_STR) { parserpool->dealloc_sized(str()); } else { auto nc = NumChildren(); // This looks odd, since it calls delete on potentially the incorrect type, but the implementation // is dealloc_small which knows the correct size. if (nc > 0 && a()) delete a(); if (nc > 1 && b()) delete b(); if (nc > 2 && c()) delete c(); } } Node *Clone() { auto n = (Node *)parserpool->clone_obj_small_unknown(this); auto nc = NumChildren(); if (nc > 0 && a()) n->a() = a()->Clone(); if (nc > 1 && b()) n->b() = b()->Clone(); if (nc > 2 && c()) n->c() = c()->Clone(); if (type == T_STR) { n->str() = parserpool->alloc_string_sized(str()); } return n; } int Count() { if (!this) return 0; auto nc = NumChildren(); int count = 1; if (nc > 0 && a()) count += a()->Count(); if (nc > 1 && b()) count += b()->Count(); if (nc > 2 && c()) count += c()->Count(); return count; } bool IsConst() // used to see if a var is worth outputting in a stacktrace { switch (type) { case T_INT: case T_FLOAT: case T_STR: case T_FUN: return true; case T_IDENT: return ident()->static_constant; case T_CONSTRUCTOR: { for (Node *n = constructor_args(); n; n = n->tail()) { if (!n->head()->IsConst()) return false; } return true; } // TODO: support more types of exps? default: return false; } } int ClosureArgs() { return type == T_NIL ? 0 : (type == T_COCLOSURE ? 1 : sf()->parent->nargs()); } }; // this "evaluates" an exp, by iterating thru all subexps and thru function calls, ignoring recursive calls, // and tracking the value of idents as the value nodes they refer to const char *FindIdentsUpToYield(const Node *start_call, const function<void(const vector<const Ident *> &istack)> &customf) { vector<const Ident *> istack; vector<const Node *> vstack; // current value of each ident vector<const Function *> fstack; const char *err = nullptr; auto lookup = [&](const Node *n) -> const Node * { if (n->type == T_IDENT) for (size_t i = 0; i < istack.size(); i++) if (n->ident() == istack[i] && vstack[i]) return vstack[i]; return n; }; std::function<void(const Node *)> eval; std::function<void(const SubFunction *, const Node *, bool)> evalblock; std::function<void(const Node *)> evalnatarg; eval = [&] (const Node *n) { if (!n) return; //customf(n, istack); if (n->type == T_FUN) return; if (n->type == T_LIST && n->head()->type == T_DEF) { eval(n->head()); for (auto dl = n->head(); dl->type == T_DEF; dl = dl->right()) { // FIXME: this is incorrect in the multiple assignments case, though not harmful auto val = lookup(dl->right()); istack.push_back(dl->left()->ident()); vstack.push_back(val); } eval(n->tail()); for (auto dl = n->head(); dl->type == T_DEF; dl = dl->right()) { istack.pop_back(); vstack.pop_back(); } return; } auto nc = n->NumChildren(); if (nc > 0) eval(n->a()); if (nc > 1) eval(n->b()); if (nc > 2) eval(n->c()); switch (n->type) { case T_CALL: { auto cf = n->call_function()->sf()->parent; for (auto f : fstack) if (f == cf) return; // ignore recursive call for (auto args = n->call_args(); args; args = args->tail()) if (args->head()->type == T_COCLOSURE && n != start_call) return; // coroutine constructor, don't enter fstack.push_back(cf); if (cf->multimethod) err = "multi-method call"; evalblock(cf->subf, n->call_args(), false); fstack.pop_back(); break; } case T_DYNCALL: { auto f = lookup(n->dcall_fval()); if (f->type == T_COCLOSURE) { customf(istack); return; } // ignore dynamic calls to non-function-vals, could make this an error? if (f->type != T_FUN) { assert(0); return; } evalblock(f->sf(), n->dcall_info()->dcall_args(), false); break; } case T_NATCALL: { for (const Node *list = n->ncall_args(); list; list = list->tail()) { evalnatarg(list->head()); } break; } case T_IF: evalnatarg(n->if_condition()); evalnatarg(n->if_branches()->left()); evalnatarg(n->if_branches()->right()); break; case T_WHILE: evalnatarg(n->while_condition()); evalnatarg(n->while_body()); break; case T_FOR: evalnatarg(n->for_iter()); evalnatarg(n->for_body()); break; } }; evalnatarg = [&] (const Node *arg) { auto a = lookup(arg); if (a->type == T_COCLOSURE) customf(istack); if (a->type == T_FUN) evalblock(a->sf(), nullptr, true); }; evalblock = [&] (const SubFunction *sf, const Node *args, bool fakeargs) { const Node *a = args; for (auto &arg : sf->args.v) { if (fakeargs) { istack.push_back(arg.id); vstack.push_back(nullptr); } else if (a) { auto val = lookup(a->head()); istack.push_back(arg.id); vstack.push_back(val); a = a->tail(); } else { // this is a _ var that's referring to a past version, ok to ignore } } eval(sf->body); a = args; for (auto &arg : sf->args.v) if (a) { (void)arg; istack.pop_back(); vstack.pop_back(); a = a->tail(); } }; eval(start_call); return err; } inline void DumpType(const Node &n, string &ns) { if (n.exptype->t != V_ANY) { ns += ":"; ns += TypeName(n.exptype); } } inline string Dump(const Node &n, int indent) { switch (n.type) { case T_INT: return inttoa(n.integer()); case T_FLOAT: return flttoa(n.flt()); case T_STR: return string("\"") + n.str() + "\""; case T_NIL: return "nil"; case T_IDENT: return n.ident()->name; case T_STRUCT: return n.st()->name; case T_FIELD: return n.fld()->name; case T_NATIVE: return n.nf()->name; case T_TYPE: return TypeName(n.typenode()); case T_FUN: return n.sf() ? "[fun " + n.sf()->parent->name + "]" /*+ sf()->body->Dump(indent + 2, symbols) */ : "<>"; default: { string s = TName(n.type); string as, bs, cs; bool ml = false; auto indenb = indent - (n.type == T_LIST) * 2; auto nc = n.NumChildren(); if (nc > 0 && n.a()) { as = Dump(*n.a(), indent + 2); DumpType(*n.a(), as); if (as[0] == ' ') ml = true; } if (nc > 1 && n.b()) { bs = Dump(*n.b(), indenb + 2); DumpType(*n.b(), bs); if (bs[0] == ' ') ml = true; } if (nc > 2 && n.c()) { cs = Dump(*n.c(), indenb + 2); DumpType(*n.c(), cs); if (cs[0] == ' ') ml = true; } if (as.size() + bs.size() + cs.size() > 60) ml = true; if (ml) { if (nc > 0 && n.a()) { if (as[0] != ' ') as = string(indent + 2, ' ') + as; } if (nc > 1 && n.b()) { if (bs[0] != ' ') bs = string(indenb + 2, ' ') + bs; } if (nc > 2 && n.c()) { if (cs[0] != ' ') cs = string(indenb + 2, ' ') + cs; } if (n.type == T_LIST) { s = ""; } else { s = string(indent, ' ') + s; if (n.a()) s += "\n"; } if (nc > 0 && n.a()) s += as; if (nc > 1 && n.b()) s += "\n" + bs; if (nc > 2 && n.c()) s += "\n" + cs; return s; } else { if (nc > 1 && n.b()) return nc > 2 && n.c() ? "(" + s + " " + as + " " + bs + " " + cs + ")" : "(" + s + " " + as + " " + bs + ")"; else return "(" + s + " " + as + ")"; } } } } } // namespace lobster
[ "aardappel@gmail.com" ]
aardappel@gmail.com
1bf82402a8a22d75b18d94bec2440460a9725de5
7cab7ca2bab5237034906635c41595f8b3cb5ba6
/Flood/Flood/ParaArrarySource.h
37e45dc570942b6ef722dedfa1c5695604bfcc5c
[]
no_license
drupalhunter/ArpVirus
dfc6740c25034b61166e0694718f99536b0484f1
e6dea856e2a1a4c0b2bd80acb1233208620c0505
refs/heads/master
2021-01-18T12:18:29.643733
2013-10-17T08:49:32
2013-10-17T08:49:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
438
h
#pragma once #include "para.h" #include "ace/Thread_Mutex.h" #include "../../ARPVirus/global.h" #include <vector> class CParaArrarySource : public CPara { public: CParaArrarySource(void); virtual ~CParaArrarySource(void); virtual int GetSrc(std::string &srcIp, std::string &srcMac, USHORT &nPort); virtual int Update(); private: ACE_Thread_Mutex m_Mutex; std::vector<PLAN_HOST_INFO> m_Host; int m_nPos; };
[ "kl222@126.com" ]
kl222@126.com
afc3b9d01f95d879c749e661d532dc8848b9fab7
674f269f6ca90298d22452d24656cedb45f1fc95
/plugins/ContainPlugin.hh
55deaa655125ceb22ae3fac14e3615eb7148a451
[ "Apache-2.0" ]
permissive
mingfeisun/gazebo
f4187a5214cafd3fab6921e3cc62f4dadddf14ea
f3eae789c738f040b8fb27c2dc16dc4c06f2495c
refs/heads/master
2021-07-07T05:19:48.545813
2019-01-11T12:35:31
2019-01-11T12:35:31
132,331,071
3
0
null
null
null
null
UTF-8
C++
false
false
4,067
hh
/* * Copyright (C) 2018 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef GAZEBO_PLUGINS_CONTAINPLUGIN_HH_ #define GAZEBO_PLUGINS_CONTAINPLUGIN_HH_ #include <memory> #include "gazebo/common/Plugin.hh" #include "gazebo/msgs/msgs.hh" namespace gazebo { class ContainPluginPrivate; /// \brief Plugin which emits Ignition Transport messages according to whether /// an entity's origin is inside or outside a given volume. A message is only /// published when the state changes. /// /// Example usage: /// /// <plugin name="containRobotArm" filename="libContainPlugin.so"> /// /// <!-- True to enable automatically, false so it must be enabled /// via a message - true by default --> /// <enabled>true</enabled> /// /// <!-- Scoped name of entity to check --> /// <entity>robot::arm_link</entity> /// /// <!-- Namespace for Ignition Transport topic and service: /// /<namespace>/box/contains : topic where true / false messages /// are published. /// /<namespace>/box/enable : service to turn plugin on and off. /// --> /// <namespace>gazebo/robot</namespace> /// /// <!-- Pose of the geometry's center point in world coordinates --> /// <pose>10 10 2 0 0 1.57</pose> /// /// <!-- OR Pose of the geometry's center in link frame coordinates --> /// <pose frame="model_name::link_name">10 10 2 0 0 1.57</pose> /// /// <!-- Geometry of the volume to check, uses the SDF geometry spec: /// http://sdformat.org/spec?ver=1.6&elem=geometry /// currently <box> is supported --> /// <geometry> /// <box> /// <size>1 1 4</size> /// </box> /// </geometry> /// /// </plugin> /// class GAZEBO_VISIBLE ContainPlugin : public WorldPlugin { // Documentation inherited public: ContainPlugin(); // Documentation inherited public: void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf) override; /// \brief Called every world iteration on world update begin. /// \param[in] _info Update info. private: void OnUpdate(const common::UpdateInfo &_info); /// \brief Enables or disables the plugin. /// \param[in] _enable False to disable and true to enable the plugin. /// \return True when the operation succeed or false otherwise /// (e.g.: trying to enable the plugin when it is already enabled). private: bool Enable(const bool _enable); /// \brief Callback for enable "service" using Gazebo msgs. /// \param[in] _msg Message with 0 to disable and 1 to enable the plugin. /// \deprecated Remove in Gazebo 9. // cppcheck-suppress unusedPrivateFunction private: void EnableGz(ConstIntPtr &_msg); /// \brief Callback for enable service using Ignition messages. /// \param[in] _req Request, true to enable /// \param[out] _res Response message indicating success or failure. /// \param[out] _result True if successful. // cppcheck-suppress unusedPrivateFunction private: void EnableIgn(const ignition::msgs::Boolean &_req, ignition::msgs::Boolean &_res, bool &_result); /// \brief Publish a message indicating if the box contains an entity /// \param[in] _contains True if the geometry contains the target private: void PublishContains(bool _contains); /// \brief Pointer to private data private: std::unique_ptr<ContainPluginPrivate> dataPtr; }; } #endif
[ "mingfei.sun.hk@gmail.com" ]
mingfei.sun.hk@gmail.com
19e0e3b669f2ef11920d39fc37df2e26d61ad78f
8fb9ae63c6a64d9f0789643405be4282c33c3a1b
/USACO/1.1 ride.cpp
d57a449df63ebd67c6520564d0ffe9782705d4ea
[]
no_license
RafikFarhad/Code_is_fun
7c67b4d9c97d7e58ccf822214d1ba4fe51b88ba6
08fd1c53125deaaeb0d6aac8f9c2fd7c76a05e4d
refs/heads/master
2021-07-25T13:32:48.839014
2021-01-10T00:23:34
2021-01-10T00:23:34
46,503,470
0
0
null
null
null
null
UTF-8
C++
false
false
1,080
cpp
/* ID: rafikfa1 PROG: ride LANG: C++ */ #include <cstdio> #include <iostream> #include <string> #include <cstring> #include <cmath> #include <ctime> #include <cstdlib> #include <algorithm> #include <new> #include <vector> #include <stack> #include <queue> #include <map> #include <set> #define MAX3(a, b, c) MAX(a , MAX(b,c)) #define MIN3(a, b, c) MIN(a , MIN(b,c)) #define sf scanf #define ssf sscanf #define pb push_back #define PPP system("pause"); #define ppp system("pause"); #define ok cout << "OK" <<endl; #define pf printf #define CLR(a) memset(a, 0, sizeof(a)) #define PI 2*acos(0) using namespace std; int main() { freopen("ride.in", "r", stdin); freopen("ride.out", "w", stdout); int i, j, l, c1=1, c2=1; char a[10], b[10]; gets(a); gets(b); l = strlen(a); for(i=0; i<l; i++) { c1*= (a[i]-'A'+1); c1%=47; } l = strlen(b); for(i=0; i<l; i++) { c2*= (b[i]-'A'+1); c2%=47; } if(c1==c2) pf("GO\n"); else pf("STAY\n"); }
[ "rafikfarhad@gmail.com" ]
rafikfarhad@gmail.com
398909aff21775a693081ee5fb4df4c01e225793
1710825930ce8d84bac841e924184c7ffa1b1a03
/src/emannlib-math/Math.hpp
2962184b14a741e3107f540be392b6606f697f5d
[]
no_license
Evansbee/emannlib
14b65c587b3fb9606fbdc6d7248f17b3af2c2c0a
c4414b99a97f3edb5323bbd36dcdb3fba6f21b7d
refs/heads/master
2021-01-13T01:27:13.149617
2014-07-11T16:14:21
2014-07-11T16:14:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,567
hpp
/* Copyright (c) 2013 Evan Ackmann This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Creator(s) : Evan Ackmann File Name : Math.h Purpose : */ #pragma once #include <math.h> #include <float.h> #include <inttypes.h> //#include <glm/glm.hpp> //#include <glm/gtc/matrix_transform.hpp> //#include <glm/gtc/type_precision.hpp> //#include <glm/gtc/type_ptr.hpp> namespace emannlib { inline uint32_t NextPowerOf2(uint32_t v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } template <class Real> class Math { public: static Real GetGreaterValue(Real v1, Real v2); static Real GetLesserValue(Real v1, Real v2); //trig public: static Real ACos(Real fValue); static Real ASin(Real fValue); static Real ATan(Real fValue); static Real ATan2(Real fY, Real fX); static Real Ceil(Real fValue); static Real Cos(Real fValue); static Real Exp(Real fValue); static Real FAbs(Real fValue); static Real Floor(Real fValue); static Real FMod(Real fX, Real fY); static Real InvSqrt(Real fValue); static Real Log(Real fValue); static Real Pow(Real fBase, Real fExponent); static Real Sin(Real fValue); static Real Sqr(Real fValue); static Real Sqrt(Real fValue); static Real Tan(Real fValue); static Real DegToRad(Real degrees); static Real RadToDeg(Real radians); //static Real Determinant(glm::vec2 p0, glm::vec2 p1, glm::vec2 p2); public: static const Real EPSILON; static const Real MAX_REAL; static const Real PI; static const Real TWO_PI; static const Real HALF_PI; static const Real INV_PI; static const Real INV_TWO_PI; static const Real DEG_TO_RAD; static const Real RAD_TO_DEG; }; template <class Real> Real Math<Real>::GetGreaterValue(Real v1, Real v2) { if (v1 > v2) { return v1; } return v2; } template <class Real> Real Math<Real>::GetLesserValue(Real v1, Real v2) { if (v1 > v2) { return v2; } return v1; } template <class Real> Real Math<Real>::ACos(Real fValue) { if (Real(-1.0) < fValue) { if (Real(1.0) > fValue) { return Real(acos((long double) fValue)); } else { assert(Real(1.0) < fValue); return Real(acos((long double) 1.0)); } } else { assert(Real(-1.0) > fValue); return Real(acos((long double) -1.0)); } } template <class Real> Real Math<Real>::ASin(Real fValue) { if (Real(-1.0) < fValue) { if (Real(1.0) > fValue) { return Real(asin((long double) fValue)); } else { assert(Real(1.0) < fValue); return Real(asin((long double) 1.0)); } } else { assert(Real(-1.0) > fValue); return Real(asin((long double) -1.0)); } } template <class Real> Real Math<Real>::ATan(Real fValue) { return Real(atan((long double) fValue)); } template <class Real> Real Math<Real>::ATan2(Real fY, Real fX) { return Real(atan2((long double) fY, (long double) fX)); } template <class Real> Real Math<Real>::Ceil(Real fValue) { return Real(ceil((long double) fValue)); } template <class Real> Real Math<Real>::Cos(Real fValue) { return Real(cos((long double) fValue)); } template <class Real> Real Math<Real>::Exp(Real fValue) { return Real(exp((long double) fValue)); } template <class Real> Real Math<Real>::FAbs(Real fValue) { return Real(fabs((long double) fValue)); } template <class Real> Real Math<Real>::Floor(Real fValue) { return Real(floor((long double) fValue)); } template <class Real> Real Math<Real>::FMod(Real fX, Real fY) { return Real(fmod((long double) fX, (long double) fY)); } template <class Real> Real Math<Real>::InvSqrt(Real fValue) { return Real(1.0 / Math<Real>::Sqrt(fValue)); } template <class Real> Real Math<Real>::Log(Real fValue) { return Real(log((long double) fValue)); } template <class Real> Real Math<Real>::Pow(Real fBase, Real fExponent) { return Real(pow((long double) fBase, (long double) fExponent)); } template <class Real> Real Math<Real>::Sin(Real fValue) { return Real(sin((long double) fValue)); } template <class Real> Real Math<Real>::Sqr(Real fValue) { return (fValue * fValue); } template <class Real> Real Math<Real>::Sqrt(Real fValue) { return Real(sqrt((long double) fValue)); } template <class Real> Real Math<Real>::Tan(Real fValue) { return Real(tan((long double) fValue)); } template <class Real> Real Math<Real>::DegToRad(Real degrees) { return degrees * DEG_TO_RAD; } template <class Real> Real Math<Real>::RadToDeg(Real radians) { return radians * RAD_TO_DEG; } /*template <class Real> Real Math<Real>::Determinant(glm::vec2 p0, glm::vec2 p1, glm::vec2 p2) { glm::vec2 v0(p1 - p0); glm::vec2 v1(p2 - p1); return (Real) (v0.x * v1.y - v1.x - v0.y); }*/ }
[ "evansbee@gmail.com" ]
evansbee@gmail.com
47dbd176b99d2d6594db10b793f3d4c412308924
c740c5d6f3c6be4ade5d3468fbeee417ef2518eb
/Code/Gravity Flip.cpp
9be02e97ef7c84edf63362ba90c597ee01a69224
[]
no_license
HusseinYoussef/Problem-Solving
34345176bd5ed561a81bc978912cd4bef1366df5
2fc22ba1f660d499c21d90ab50a6f417423b96d1
refs/heads/master
2020-04-28T02:00:10.816730
2019-03-28T23:09:52
2019-03-28T23:09:52
174,881,351
0
0
null
null
null
null
UTF-8
C++
false
false
237
cpp
#include <iostream> #include <algorithm> using namespace std; int main () { int n,i; int arr[110]; cin >> n; for(i=0;i<n;i++) { cin >> arr[i]; } sort(arr,arr+n); for(i=0;i<n;i++) { cout << arr[i] << " "; } return 0;}
[ "sonamosa21@gmail.com" ]
sonamosa21@gmail.com
5d882b5b8476b11bbc36f0de68838632069db440
1b3923fda4a1785f49fdba857817a0e40fddb1c9
/RoomGen.h
c4e41c2e27bbede67808aa4dd5c2d457d810f8d3
[]
no_license
felakuti4life/squeakEngine
aa2c5c160b2a3002bcf713f1f63c40bfd202d696
3edcd53cdc06cacdf9f269f75bf074afc4c6c9a0
refs/heads/master
2020-12-24T18:03:03.453724
2015-04-21T00:22:29
2015-04-21T00:22:29
26,562,292
1
0
null
2014-11-16T19:34:08
2014-11-13T00:04:43
C++
UTF-8
C++
false
false
1,087
h
// // Room.h // SqueakEngine // // Created by Ethan Geller on 11/12/14. // Copyright (c) 2014 Ethan Geller. All rights reserved. // #ifndef __SqueakEngine__Room__ #define __SqueakEngine__Room__ #include <stdio.h> #include <vector> #include <string> using namespace std; #include "AudioGen.h" #include "AudioFileHandler.h" #include "Convoluter.h" //ROOM GEN: Impulse creator class RoomGen : public AudioGen { //impulse in frequency samples SAMPLE* impulse; AudioFileHandler filer; Convoluter convolver; int size, srate, channels, playhead; bool alreadyConvolved; public: typedef AudioGen super; //MARK: init functions RoomGen(string impulse_fpath = "sound/singles/squeak_3.wav" /*Vector3D c*/); RoomGen(string impulse_fpath, vector<AudioGen*> sourceList); void rewind(); void prepareConvolvedAudio(); SAMPLE* getSoundInRoom(SAMPLE* s, int sSize, int *tSize); bool synthesize2(float *input, float *output, int numframes); float* getImpulse(); int getSize(); }; #endif /* defined(__SqueakEngine__Room__) */
[ "ethan.geller@gmail.com" ]
ethan.geller@gmail.com
2f86e7e43c88c56999d2524633ecc1e216b85972
a9f6268241c4cc53106f7a197ae5c1f4146e924d
/Dick_Simulation2/Dick_Simulation2/FollowLinkIfChanged.cpp
420db59edcd68e39e5483c8433d83a18445fb761
[]
no_license
Todd-Dick/sim-project
dd6c4b9ed5ed3ab997eb3fe26b5cefb65e771265
b8796c82da10828cd58b44e61dfc57160f787262
refs/heads/master
2021-06-21T16:06:00.262661
2017-08-16T19:13:13
2017-08-16T19:13:13
100,403,433
0
0
null
null
null
null
UTF-8
C++
false
false
527
cpp
//--------------------------------------------- // FollowLinkIfChanged.cpp // author: Todd Dick // assignment: Programming Assignment2 // course: CS307 // instructor: Dr. Coleman // date: July 2017 // // This program is entirely my own work //------------------------------------------- #include "FollowLinkIfChanged.h" double FLifC::GetValue(double current, double link) { if (m_dReturnValue == link) { return m_dReturnValue; } else { m_dReturnValue = link; return m_dReturnValue; } }
[ "noreply@github.com" ]
Todd-Dick.noreply@github.com
4aef1fb1887706f2653ab8d982360d49b9a828ba
95a96a75a77c29c3c32dc0a5431345a1d01fd31d
/BlackScholes/sources/BasicFunction.cpp
afd76d0a19b5f76d3ea99fb9c3b1d203c36e32aa
[]
no_license
MarcNogueira7531/HestonPricer
33b245f66a7d6ee6dabb926e8d2f77209a022578
1a1efb4aa5d56959f773e4a2ee8ce6acc0530fef
refs/heads/main
2023-06-01T13:38:23.762581
2021-06-18T18:39:15
2021-06-18T18:39:15
378,229,601
0
0
null
null
null
null
UTF-8
C++
false
false
1,836
cpp
#include <cmath> #include <iostream> #include <cstdlib> #include "BasicFunction.h" #include <ctime> using namespace std; double NormalPDF(double x){ double density = (1 / sqrt(2 * M_PI)) * exp(-x*x/2.0); return density; }; double NormalCDF(double x){ double cumul = (0.5) * (1 + erf(x/sqrt(2))); return cumul; }; double gaussian_box_muller(){ double x = 0.0; double y = 0.0; double euclid_sq = 0.0; // Genere deux variables aleatoire uniforme two uniform random variables // jusqu'a ce que la racine de leur distance euclidienne est inferieure a l'unite // on en deduit une variable aleatoire suivant une loi normale do { x = 2.0 * rand() / static_cast<double>(RAND_MAX)-1; y = 2.0 * rand() / static_cast<double>(RAND_MAX)-1; euclid_sq = x*x + y*y; } while (euclid_sq >= 1.0); return x*sqrt(-2*log(euclid_sq)/euclid_sq); }; vector<double> trajectoire(double pas_discretisation, double s, double r, double sigma, double t){ vector<double> path; path.push_back(s); /* insert underlying value at t = 0 */ double s_adj, s_ti; for(int i = 1; i <= pas_discretisation; i++) { /* Defines time step */ double temp_t = t / pas_discretisation; s_adj = path[i - 1] * exp((r - sigma*sigma/2) * (temp_t)); /* Simulates variable normally distributed */ double gauss = gaussian_box_muller(); /* Generate a path for the underlying */ s_ti = s_adj * exp(sigma * sqrt(temp_t) * gauss); /* Stores each simulation at each step into a vector */ path.push_back(s_ti); } return path; }; double Mean_vector(vector<double> x){ // Fonction permettant de creer la moyenne d'un vecteur (pour asiatique) return accumulate(x.begin(), x.end(), 0.0)/ x.size(); };
[ "Marc@MBP-de-Nogueira.lan" ]
Marc@MBP-de-Nogueira.lan
ea363cd1c00808b558c3607874bc63c4f81d4fc8
7f0b6cde9e886b2dd279d977b8801b0146ce875c
/hrdesktop/common/src/Modules/FileTransfer/FileTransferDialog.h
fef2929b62a8261314b5f10d26d46e137eb42c30
[ "BSD-2-Clause" ]
permissive
crajan182/highwayns
0f9a99ddd2049a7009947de9eb09ae0970308b8e
1cbdb8eba9caa2fcf8231a3b9053028dd1a37cbd
refs/heads/master
2021-01-23T03:54:19.323677
2017-03-25T05:52:59
2017-03-25T05:52:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,186
h
/******************************************************************************* * @file FileTransferDialog.h 2014\8\29 11:33:35 $ * @author �쵶<kuaidao@mogujie.com> * @brief �ļ������б���� ******************************************************************************/ #ifndef FILETRANSFERDIALOG_624E545F_4732_4817_913B_C929D5B87C9D_H__ #define FILETRANSFERDIALOG_624E545F_4732_4817_913B_C929D5B87C9D_H__ #include "DuiLib/UIlib.h" #include "GlobalDefine.h" #include "Modules/ModuleObserver.h" /******************************************************************************/ using namespace DuiLib; /** * The class <code>FileTransferDialog</code> * */ class TransferFileEntity; class FileTransferDialog : public WindowImplBase { public: /** @name Constructors and Destructor*/ //@{ /** * Constructor */ FileTransferDialog(); /** * Destructor */ virtual ~FileTransferDialog(); //@} LPCTSTR GetWindowClassName() const; virtual CDuiString GetSkinFile(); virtual CDuiString GetSkinFolder(); virtual void OnFinalMessage(HWND hWnd); DUI_DECLARE_MESSAGE_MAP() /**@name MKO*/ //@{ public: void MKOForFileTransferModuleCallBack(const std::string& keyId, MKO_TUPLE_PARAM mkoParam); //@} public: void AddTransderItemToList(IN std::string& id); CListContainerElementUI* AddTransderItemToList(IN TransferFileEntity fileInfo); CListContainerElementUI* GetTransferItemById(std::string& id); private: void OnWindowInitialized(TNotifyUI& msg); void OnClick(TNotifyUI& msg); void _UpdateItemButtons(IN CListContainerElementUI* pListElement , IN bool bShowbtnOpenFile , IN bool bShowbtnOpenFolder , IN bool bShowbtnAccpet , IN bool bShowbtnRefuse , IN bool bShowbtnCancel); void _UpdateFileTransferState(IN CListContainerElementUI* pListElement,IN const std::string& keyId); CListContainerElementUI* _GetItemBySid(IN std::string sid); public: CListUI* m_plstFileTransfer; CProgressUI* m_pprsTransProgress; }; /******************************************************************************/ #endif// FILETRANSFERDIALOG_624E545F_4732_4817_913B_C929D5B87C9D_H__
[ "tei952@hotmail.com" ]
tei952@hotmail.com
b13ba0db4624c51f0858278ea1e18a1cc230454a
d40efadec5724c236f1ec681ac811466fcf848d8
/tags/fs2_open_0_1/fs2_open/code/particle/particle.cpp
f758c63ee062046d91fb6a34eaaacc28ea9ffd6e
[]
no_license
svn2github/fs2open
0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15
c6d35120e8372c2c74270c85a9e7d88709086278
refs/heads/master
2020-05-17T17:37:03.969697
2015-01-08T15:24:21
2015-01-08T15:24:21
14,258,345
0
0
null
null
null
null
UTF-8
C++
false
false
21,282
cpp
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ /* * $Logfile: /Freespace2/code/Particle/Particle.cpp $ * $Revision: 2.0 $ * $Date: 2002-06-03 04:02:27 $ * $Author: penguin $ * * Code for particle system * * $Log: not supported by cvs2svn $ * Revision 1.2 2002/05/04 04:52:22 mharris * 1st draft at porting * * Revision 1.1 2002/05/02 18:03:12 mharris * Initial checkin - converted filenames and includes to lower case * * * 11 7/21/99 8:10p Dave * First run of supernova effect. * * 10 7/15/99 9:20a Andsager * FS2_DEMO initial checkin * * 9 7/07/99 3:11p Dave * Fix for uninitialized particle system data. * * 8 4/22/99 11:06p Dave * Final pass at beam weapons. Solidified a lot of stuff. All that remains * now is to tweak and fix bugs as they come up. No new beam weapon * features. * * 7 1/29/99 12:47a Dave * Put in sounds for beam weapon. A bunch of interface screens (tech * database stuff). * * 6 1/28/99 9:10a Andsager * Particles increased in width, life, number. Max particles increased * * 5 1/27/99 9:56a Dave * Temporary checkin of beam weapons for Dan to make cool sounds. * * 4 1/24/99 11:37p Dave * First full rev of beam weapons. Very customizable. Removed some bogus * Int3()'s in low level net code. * * 3 1/21/99 2:06p Dave * Final checkin for multiplayer testing. * * 2 10/07/98 10:53a Dave * Initial checkin. * * 1 10/07/98 10:50a Dave * * 28 5/13/98 3:25p John * Added code to make explosion impacts not get removed by other * particles. * * 27 5/11/98 10:06a John * Added new particle for Adam * * 26 4/30/98 11:31a Andsager * Added particles to big ship explosions. Modified particle_emit() to * take optional range to increase range at which pariticles are created. * * 25 4/17/98 1:42p Allender * fixed NDEBUG build problems * * 24 4/17/98 6:58a John * Made particles not reduce in low mem conditions. * * 23 4/15/98 4:21p John * Made particles drop off with distance smoothly. Made old particles get * deleted by new ones. * * 22 4/15/98 11:15a Adam * upped MAX_PARTICLES to 1500 (from 800). Primary weapon hit sparks were * not finding slots. * * 21 4/12/98 10:24a John * Made particle drop off distance larger for larger detail levels. * * 20 4/09/98 7:58p John * Cleaned up tmapper code a bit. Put NDEBUG around some ndebug stuff. * Took out XPARENT flag settings in all the alpha-blended texture stuff. * * 19 4/02/98 11:40a Lawrance * check for #ifdef DEMO instead of #ifdef DEMO_RELEASE * * 18 4/01/98 9:21p John * Made NDEBUG, optimized build with no warnings or errors. * * 17 4/01/98 10:57a Mike * Reduce array sizes to save memory. * * 16 3/31/98 5:18p John * Removed demo/save/restore. Made NDEBUG defined compile. Removed a * bunch of debug stuff out of player file. Made model code be able to * unload models and malloc out only however many models are needed. * * * 15 3/30/98 4:02p John * Made machines with < 32 MB of RAM use every other frame of certain * bitmaps. Put in code to keep track of how much RAM we've malloc'd. * * 14 3/26/98 5:26p John * added new paging code. nonfunctional. * * 13 3/22/98 11:02a John * Made a bunch of the detail levels actually do something * * 12 2/13/98 5:01p John * Made particles behind you not render * * 11 2/06/98 7:28p John * Made debris and particles not get created if > 200 m from eye. Added * max_velocity to asteroid's physics info for aiding in throwing out * collision pairs. * * 10 2/05/98 9:21p John * Some new Direct3D code. Added code to monitor a ton of stuff in the * game. * * 9 1/29/98 11:48a John * Added new counter measure rendering as model code. Made weapons be * able to have impact explosion. * * 8 1/26/98 5:10p John * Took particle use out of registry. * * 7 1/23/98 5:08p John * Took L out of vertex structure used B (blue) instead. Took all small * fireballs out of fireball types and used particles instead. Fixed some * debris explosion things. Restructured fireball code. Restructured * some lighting code. Made dynamic lighting on by default. Made groups * of lasers only cast one light. Made fireballs not cast light. * * 6 1/13/98 8:09p John * Removed the old collision system that checked all pairs. Added code * to disable collisions and particles. * * 5 1/02/98 5:04p John * Several explosion related changes. Made fireballs not be used as * ani's. Made ship spark system expell particles. Took away impact * explosion for weapon hitting ship... this needs to get added to weapon * info and makes shield hit more obvious. Only make sparks when hit * hull, not shields. * * 4 12/30/97 6:44p John * Made g3_Draw_bitmap functions account for aspect of bitmap. * * 3 12/26/97 5:42p Adam * * 2 12/23/97 3:58p John * Second rev of particles * * 1 12/23/97 8:26a John * * $NoKeywords: $ */ #include "pstypes.h" #include "freespace.h" #include "linklist.h" #include "3d.h" #include "bmpman.h" #include "particle.h" #include "osapi.h" #include "object.h" #include "timer.h" typedef struct particle { // old style data vector pos; // position vector velocity; // velocity float age; // How long it's been alive float max_life; // How much life we had float radius; // radius int type; // type // -1 = None uint optional_data; // depends on type int nframes; // If an ani, how many frames? // new style data float tracer_length; // if this is set, draw as a rod to simulate a "tracer" effect short attached_objnum; // if this is set, pos is relative to the attached object. velocity is ignored int attached_sig; // to check for dead/nonexistent objects ubyte reverse; // play any animations in reverse } particle; #ifdef FS2_DEMO #define MAX_PARTICLES 500 #else #define MAX_PARTICLES 2000 // Reduced from 2000 to 800 by MK on 4/1/98. Most I ever saw was 400 and the system recovers // gracefully from running out of slots. // AP: Put it to 1500 on 4/15/98. Primary hit sparks weren't finding open slots. // Made todo item for John to force oldest smoke particles to give up their slots. #endif int Num_particles = 0; particle Particles[MAX_PARTICLES]; int Next_particle = 0; int Anim_bitmap_id_fire = -1; int Anim_num_frames_fire = -1; int Anim_bitmap_id_smoke = -1; int Anim_num_frames_smoke = -1; int Anim_bitmap_id_smoke2 = -1; int Anim_num_frames_smoke2 = -1; static int Particles_enabled = 1; // Reset everything between levels void particle_init() { int i; // Particles_enabled = os_config_read_uint( NULL, "UseParticles", 0 ); Num_particles = 0; Next_particle = 0; for (i=0; i<MAX_PARTICLES; i++ ) { Particles[i].type = -1; } if ( Anim_bitmap_id_fire == -1 ) { int fps; Anim_bitmap_id_fire = bm_load_animation( "particleexp01", &Anim_num_frames_fire, &fps, 0 ); } //Anim_bitmap_id = bm_load( "particleglow01" ); //Anim_num_frames = 1; if ( Anim_bitmap_id_smoke == -1 ) { int fps; Anim_bitmap_id_smoke = bm_load_animation( "particlesmoke01", &Anim_num_frames_smoke, &fps, 0 ); } if ( Anim_bitmap_id_smoke2 == -1 ) { int fps; Anim_bitmap_id_smoke2 = bm_load_animation( "particlesmoke02", &Anim_num_frames_smoke2, &fps, 0 ); } } void particle_page_in() { int i; for (i=0; i<MAX_PARTICLES; i++ ) { Particles[i].type = -1; } for (i=0; i<Anim_num_frames_fire; i++ ) { bm_page_in_texture( Anim_bitmap_id_fire + i ); } for (i=0; i<Anim_num_frames_smoke; i++ ) { bm_page_in_texture( Anim_bitmap_id_smoke + i ); } for (i=0; i<Anim_num_frames_smoke2; i++ ) { bm_page_in_texture( Anim_bitmap_id_smoke2 + i ); } } DCF(particles,"Turns particles on/off") { if ( Dc_command ) { dc_get_arg(ARG_TRUE|ARG_FALSE|ARG_NONE); if ( Dc_arg_type & ARG_TRUE ) Particles_enabled = 1; else if ( Dc_arg_type & ARG_FALSE ) Particles_enabled = 0; else if ( Dc_arg_type & ARG_NONE ) Particles_enabled ^= 1; } if ( Dc_help ) dc_printf( "Usage: particles [bool]\nTurns particle system on/off. If nothing passed, then toggles it.\n" ); if ( Dc_status ) dc_printf( "particles are %s\n", (Particles_enabled?"ON":"OFF") ); // os_config_write_uint( NULL, "UseParticles", Particles_enabled ); } //mprintf(( "%s\n", text )); int Num_particles_hwm = 0; #ifndef NDEBUG int Total_requested = 0; int Total_killed = 0; int next_message = -1; #endif // Creates a single particle. See the PARTICLE_?? defines for types. void particle_create( particle_info *pinfo ) { int particle_num; particle *p; #ifndef NDEBUG if ( next_message == -1 ) { next_message = timestamp(10000); } if ( timestamp_elapsed(next_message)) { next_message = timestamp(10000); if ( Total_requested > 1 ) { nprintf(( "Particles", "Particles: Killed off %d%% of the particles\n", (Total_killed*100/Total_requested) )); } Total_requested = 0; Total_killed = 0; } #endif if ( !Particles_enabled ) return; #ifndef NDEBUG Total_requested++; #endif int RetryCount = 0; int FirstParticleFound = Next_particle; KillAnother: p = &Particles[Next_particle++]; if ( Next_particle >= MAX_PARTICLES ) { Next_particle = 0; } if ( p->type > -1 ) { // Only remove non-persistent ones if ( p->type != PARTICLE_BITMAP_PERSISTENT ) { p->type = -1; Num_particles--; #ifndef NDEBUG Total_killed++; #endif } else { RetryCount++; // Keep trying to find a non-persistent one until we searched through 1/3 the slots. if ( RetryCount < MAX_PARTICLES/3 ) { goto KillAnother; } // Couldn't find any non-persistent ones to remove, so just remove the // first one we would have removed. mprintf(( "DELETING A PERSISTENT PARTICLE!!! This is ok if this only happens rarely. Get John if not.\n" )); Next_particle = FirstParticleFound; p = &Particles[Next_particle++]; if ( Next_particle >= MAX_PARTICLES ) { Next_particle = 0; } } } // increment counter Num_particles++; if (Num_particles > Num_particles_hwm) { Num_particles_hwm = Num_particles; if ( Num_particles_hwm == MAX_PARTICLES ) { mprintf(( "All particle slots filled!\n" )); } //mprintf(( "Num_particles high water mark = %i\n", Num_particles_hwm)); } // get objnum particle_num = p-Particles; // Init the particle data p->pos = pinfo->pos; p->velocity = pinfo->vel; p->age = 0.0f; p->max_life = pinfo->lifetime; p->radius = pinfo->rad; p->type = pinfo->type; p->optional_data = pinfo->optional_data; p->tracer_length = pinfo->tracer_length; p->attached_objnum = pinfo->attached_objnum; p->attached_sig = pinfo->attached_sig; p->reverse = pinfo->reverse; if ( (p->type == PARTICLE_BITMAP) || (p->type == PARTICLE_BITMAP_PERSISTENT) ) { int fps; bm_get_info( p->optional_data,NULL, NULL, NULL, &p->nframes, &fps ); if ( p->nframes > 1 ) { // Recalculate max life for ani's p->max_life = i2fl(p->nframes) / i2fl(fps); } } else { p->nframes = 1; } } void particle_create( vector *pos, vector *vel, float lifetime, float rad, int type, uint optional_data ) { particle_info pinfo; // setup old data pinfo.pos = *pos; pinfo.vel = *vel; pinfo.lifetime = lifetime; pinfo.rad = rad; pinfo.type = type; pinfo.optional_data = optional_data; // setup new data pinfo.tracer_length = -1.0f; pinfo.attached_objnum = -1; pinfo.attached_sig = -1; pinfo.reverse = 0; // lower level function particle_create(&pinfo); } MONITOR( NumParticles ); void particle_move_all(float frametime) { particle *p; MONITOR_INC( NumParticles, Num_particles ); if ( !Particles_enabled ) return; p = Particles; int i; for ( i=0; i<MAX_PARTICLES; i++, p++ ) { if ( p->type == -1 ) { continue; } // bogus attached objnum if(p->attached_objnum >= MAX_OBJECTS){ p->type = -1; // decrement counter Num_particles--; Assert(Num_particles >= 0); continue; } // if the vector is attached to an object which has become invalid, kill if if(p->attached_objnum >= 0){ // if the signature has changed, kill it if(p->attached_sig != Objects[p->attached_objnum].signature){ p->type = -1; // decrement counter Num_particles--; Assert(Num_particles >= 0); continue; } } // move as a regular particle else { // Move the particle vm_vec_scale_add2( &p->pos, &p->velocity, frametime ); } p->age += frametime; if ( p->age > p->max_life ) { // If it's time expired, remove it from the used list and // into the free list p->type = -1; // decrement counter Num_particles--; Assert(Num_particles >= 0); } } } // kill all active particles void particle_kill_all() { int idx; // kill all active particles Num_particles = 0; Next_particle = 0; Num_particles_hwm = 0; for(idx=0; idx<MAX_PARTICLES; idx++){ Particles[idx].type = -1; } } MONITOR( NumParticlesRend ); void particle_render_all() { particle *p; ubyte flags; float pct_complete; float alpha; vertex pos; vector ts, te, temp; int rotate = 1; if ( !Particles_enabled ) return; MONITOR_INC( NumParticlesRend, Num_particles ); int n = 0; int nclipped = 0; p = Particles; int i; for ( i=0; i<MAX_PARTICLES; i++, p++ ) { if ( p->type == -1 ) { continue; } n++; // pct complete for the particle pct_complete = p->age / p->max_life; // calculate the alpha to draw at alpha = 1.0f; // if this is a tracer style particle, calculate tracer vectors if(p->tracer_length > 0.0f){ ts = p->pos; temp = p->velocity; vm_vec_normalize_quick(&temp); vm_vec_scale_add(&te, &ts, &temp, p->tracer_length); // don't bother rotating rotate = 0; } // if this is an "attached" particle. move it else if(p->attached_objnum >= 0){ // offset the vector, and transform to view coords // vm_vec_add(&te, &Objects[p->attached_objnum].pos, &p->pos); vm_vec_unrotate(&temp, &p->pos, &Objects[p->attached_objnum].orient); vm_vec_add2(&temp, &Objects[p->attached_objnum].pos); flags = g3_rotate_vertex(&pos, &temp); if(flags){ nclipped++; continue; } // don't bother rotating again rotate = 0; } // rotate the vertex if(rotate){ flags = g3_rotate_vertex( &pos, &p->pos ); if ( flags ) { nclipped++; continue; } } switch( p->type ) { case PARTICLE_DEBUG: // A red sphere, no optional data required gr_set_color( 255, 0, 0 ); g3_draw_sphere_ez( &p->pos, p->radius ); break; case PARTICLE_BITMAP: case PARTICLE_BITMAP_PERSISTENT: { // A bitmap, optional data is the bitmap number int framenum = p->optional_data; if ( p->nframes > 1 ) { int n = fl2i(pct_complete * p->nframes + 0.5); if ( n < 0 ) n = 0; else if ( n > p->nframes-1 ) n = p->nframes-1; framenum += n; } // set the bitmap gr_set_bitmap( framenum, GR_ALPHABLEND_FILTER, GR_BITBLT_MODE_NORMAL, alpha ); // if this is a tracer style particle if(p->tracer_length > 0.0f){ g3_draw_laser(&ts, p->radius, &te, p->radius, TMAP_FLAG_TEXTURED|TMAP_FLAG_XPARENT, 25.0f); } // draw as a regular bitmap else { g3_draw_bitmap(&pos, (p-Particles)%8, p->radius, TMAP_FLAG_TEXTURED ); } break; } case PARTICLE_FIRE: { int framenum = fl2i(pct_complete * Anim_num_frames_fire + 0.5); if ( framenum < 0 ) framenum = 0; else if ( framenum > Anim_num_frames_fire-1 ) framenum = Anim_num_frames_fire-1; /* vertex pos; flags = g3_rotate_vertex( &pos, &p->pos ); if ( flags ) { nclipped++; break; } */ // set the bitmap gr_set_bitmap(p->reverse ? Anim_bitmap_id_fire+(Anim_num_frames_fire - framenum - 1) : Anim_bitmap_id_fire+framenum, GR_ALPHABLEND_FILTER, GR_BITBLT_MODE_NORMAL, alpha ); // if this is a tracer style particle if(p->tracer_length > 0.0f){ g3_draw_laser(&ts, p->radius, &te, p->radius, TMAP_FLAG_TEXTURED|TMAP_FLAG_XPARENT, 25.0f); } // draw as a regular bitmap else { g3_draw_bitmap(&pos, (p-Particles)%8, p->radius, TMAP_FLAG_TEXTURED ); } break; } case PARTICLE_SMOKE: { int framenum = fl2i(pct_complete * Anim_num_frames_smoke + 0.5); if ( framenum < 0 ) framenum = 0; else if ( framenum > Anim_num_frames_smoke-1 ) framenum = Anim_num_frames_smoke-1; /* vertex pos; flags = g3_rotate_vertex( &pos, &p->pos ); if ( flags ) { nclipped++; break; } */ // set the bitmap gr_set_bitmap(p->reverse ? Anim_bitmap_id_smoke+(Anim_num_frames_smoke - framenum - 1) : Anim_bitmap_id_smoke+framenum, GR_ALPHABLEND_FILTER, GR_BITBLT_MODE_NORMAL, alpha ); // if this is a tracer style particle if(p->tracer_length > 0.0f){ g3_draw_laser(&ts, p->radius, &te, p->radius, TMAP_FLAG_TEXTURED|TMAP_FLAG_XPARENT, 25.0f); } // draw as a regular bitmap else { g3_draw_bitmap(&pos, (p-Particles)%8, p->radius, TMAP_FLAG_TEXTURED ); } break; } case PARTICLE_SMOKE2: { int framenum = fl2i(pct_complete * Anim_num_frames_smoke2 + 0.5); if ( framenum < 0 ) framenum = 0; else if ( framenum > Anim_num_frames_smoke2-1 ) framenum = Anim_num_frames_smoke2-1; /* vertex pos; flags = g3_rotate_vertex( &pos, &p->pos ); if ( flags ) { nclipped++; break; } */ // set the bitmap gr_set_bitmap(p->reverse ? Anim_bitmap_id_smoke2+(Anim_num_frames_smoke2 - framenum - 1) : Anim_bitmap_id_smoke2+framenum, GR_ALPHABLEND_FILTER, GR_BITBLT_MODE_NORMAL, alpha ); // if this is a tracer style particle if(p->tracer_length > 0.0f){ g3_draw_laser(&ts, p->radius, &te, p->radius, TMAP_FLAG_TEXTURED|TMAP_FLAG_XPARENT, 25.0f); } // draw as a regular bitmap else { g3_draw_bitmap(&pos, (p-Particles)%8, p->radius, TMAP_FLAG_TEXTURED ); } break; } } } // mprintf(( "NP=%d, NCP=%d\n", n, nclipped )); } //============================================================================ //============== HIGH-LEVEL PARTICLE SYSTEM CREATION CODE ==================== //============================================================================ // Use a structure rather than pass a ton of parameters to particle_emit /* typedef struct particle_emitter { int num_low; // Lowest number of particles to create int num_high; // Highest number of particles to create vector pos; // Where the particles emit from vector vel; // Initial velocity of all the particles float lifetime; // How long the particles live vector normal; // What normal the particle emit arond float normal_variance; // How close they stick to that normal 0=good, 1=360 degree float min_vel; // How fast the slowest particle can move float max_vel; // How fast the fastest particle can move float min_rad; // Min radius float max_rad; // Max radius } particle_emitter; */ #if MAX_DETAIL_LEVEL != 4 #error Max details assumed to be 4 here #endif int detail_max_num[5] = { 0, 50, 75, 100, 125 }; // Creates a bunch of particles. You pass a structure // rather than a bunch of parameters. void particle_emit( particle_emitter *pe, int type, uint optional_data, float range ) { int i, n; if ( !Particles_enabled ) return; int n1, n2; // Account for detail #if MAX_DETAIL_LEVEL != 4 #error Code in Particle.cpp assumes MAX_DETAIL_LEVEL == 4 #endif int percent = detail_max_num[Detail.num_particles]; //Particle rendering drops out too soon. Seems to be around 150 m. Is it detail level controllable? I'd like it to be 500-1000 float min_dist = 125.0f; float dist = vm_vec_dist_quick( &pe->pos, &Eye_position ) / range; if ( dist > min_dist ) { percent = fl2i( i2fl(percent)*min_dist / dist ); if ( percent < 1 ) { return; } } //mprintf(( "Dist = %.1f, percent = %d%%\n", dist, percent )); n1 = (pe->num_low*percent)/100; n2 = (pe->num_high*percent)/100; // How many to emit? n = (rand() % (n2-n1+1)) + n1; if ( n < 1 ) return; for (i=0; i<n; i++ ) { // Create a particle vector tmp_vel; vector normal; // What normal the particle emit arond float radius = (( pe->max_rad - pe->min_rad ) * frand()) + pe->min_rad; float speed = (( pe->max_vel - pe->min_vel ) * frand()) + pe->min_vel; float life = (( pe->max_life - pe->min_life ) * frand()) + pe->min_life; normal.xyz.x = pe->normal.xyz.x + (frand()*2.0f - 1.0f)*pe->normal_variance; normal.xyz.y = pe->normal.xyz.y + (frand()*2.0f - 1.0f)*pe->normal_variance; normal.xyz.z = pe->normal.xyz.z + (frand()*2.0f - 1.0f)*pe->normal_variance; vm_vec_normalize_safe( &normal ); vm_vec_scale_add( &tmp_vel, &pe->vel, &normal, speed ); particle_create( &pe->pos, &tmp_vel, life, radius, type, optional_data ); } }
[ "(no author)@387891d4-d844-0410-90c0-e4c51a9137d3" ]
(no author)@387891d4-d844-0410-90c0-e4c51a9137d3
a40ede669cf5ee9878170f2f43bf516958475212
baef5fa3ae9e475a03c07d565048cf7b485b7b07
/modules/skottie/src/SkottieAdapter.cpp
b217bae5db3793b3cfa81caa92c57447ebc014d6
[ "BSD-3-Clause" ]
permissive
siserin/GTK-skia
3bc2a50e8ccc347645dd051a49fd22337bec0713
2718ae9033db431186101b20d076e6382372bcdd
refs/heads/master
2021-07-15T05:08:32.679549
2020-09-03T18:10:25
2020-09-03T18:10:25
205,807,390
1
1
BSD-3-Clause
2020-09-03T18:10:27
2019-09-02T08:07:16
C++
UTF-8
C++
false
false
10,985
cpp
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/SkottieAdapter.h" #include "include/core/SkFont.h" #include "include/core/SkMatrix.h" #include "include/core/SkMatrix44.h" #include "include/core/SkPath.h" #include "include/core/SkRRect.h" #include "include/private/SkTo.h" #include "include/utils/Sk3D.h" #include "modules/skottie/src/SkottieValue.h" #include "modules/sksg/include/SkSGDraw.h" #include "modules/sksg/include/SkSGGradient.h" #include "modules/sksg/include/SkSGGroup.h" #include "modules/sksg/include/SkSGPaint.h" #include "modules/sksg/include/SkSGPath.h" #include "modules/sksg/include/SkSGRect.h" #include "modules/sksg/include/SkSGTransform.h" #include "modules/sksg/include/SkSGTrimEffect.h" #include <cmath> #include <utility> namespace skottie { namespace internal { DiscardableAdaptorBase::DiscardableAdaptorBase() = default; void DiscardableAdaptorBase::setAnimators(sksg::AnimatorList&& animators) { fAnimators = std::move(animators); } void DiscardableAdaptorBase::onTick(float t) { for (auto& animator : fAnimators) { animator->tick(t); } this->onSync(); } } // namespace internal RRectAdapter::RRectAdapter(sk_sp<sksg::RRect> wrapped_node) : fRRectNode(std::move(wrapped_node)) {} RRectAdapter::~RRectAdapter() = default; void RRectAdapter::apply() { // BM "position" == "center position" auto rr = SkRRect::MakeRectXY(SkRect::MakeXYWH(fPosition.x() - fSize.width() / 2, fPosition.y() - fSize.height() / 2, fSize.width(), fSize.height()), fRadius.width(), fRadius.height()); fRRectNode->setRRect(rr); } TransformAdapter2D::TransformAdapter2D(sk_sp<sksg::Matrix<SkMatrix>> matrix) : fMatrixNode(std::move(matrix)) {} TransformAdapter2D::~TransformAdapter2D() = default; SkMatrix TransformAdapter2D::totalMatrix() const { SkMatrix t = SkMatrix::MakeTrans(-fAnchorPoint.x(), -fAnchorPoint.y()); t.postScale(fScale.x() / 100, fScale.y() / 100); // 100% based t.postRotate(fRotation); t.postTranslate(fPosition.x(), fPosition.y()); // TODO: skew return t; } void TransformAdapter2D::apply() { fMatrixNode->setMatrix(this->totalMatrix()); } TransformAdapter3D::Vec3::Vec3(const VectorValue& v) { fX = v.size() > 0 ? v[0] : 0; fY = v.size() > 1 ? v[1] : 0; fZ = v.size() > 2 ? v[2] : 0; } TransformAdapter3D::TransformAdapter3D() : fMatrixNode(sksg::Matrix<SkMatrix44>::Make(SkMatrix::I())) {} TransformAdapter3D::~TransformAdapter3D() = default; sk_sp<sksg::Transform> TransformAdapter3D::refTransform() const { return fMatrixNode; } SkMatrix44 TransformAdapter3D::totalMatrix() const { SkMatrix44 t; t.setTranslate(-fAnchorPoint.fX, -fAnchorPoint.fY, -fAnchorPoint.fZ); t.postScale(fScale.fX / 100, fScale.fY / 100, fScale.fZ / 100); SkMatrix44 r; r.setRotateDegreesAbout(0, 0, 1, fRotation.fZ); t.postConcat(r); r.setRotateDegreesAbout(0, 1, 0, fRotation.fY); t.postConcat(r); r.setRotateDegreesAbout(1, 0, 0, fRotation.fX); t.postConcat(r); t.postTranslate(fPosition.fX, fPosition.fY, fPosition.fZ); return t; } void TransformAdapter3D::apply() { fMatrixNode->setMatrix(this->totalMatrix()); } CameraAdapter:: CameraAdapter(const SkSize& viewport_size) : fViewportSize(viewport_size) {} CameraAdapter::~CameraAdapter() = default; SkMatrix44 CameraAdapter::totalMatrix() const { // Camera parameters: // // * location -> position attribute // * point of interest -> anchor point attribute // * orientation -> rotation attribute // SkPoint3 pos = { this->getPosition().fX, this->getPosition().fY, -this->getPosition().fZ }, poi = { this->getAnchorPoint().fX, this->getAnchorPoint().fY, -this->getAnchorPoint().fZ }, up = { 0, 1, 0 }; // Initial camera vector. SkMatrix44 cam_t; Sk3LookAt(&cam_t, pos, poi, up); // Rotation origin is camera position. { SkMatrix44 rot; rot.setRotateDegreesAbout(1, 0, 0, this->getRotation().fX); cam_t.postConcat(rot); rot.setRotateDegreesAbout(0, 1, 0, this->getRotation().fY); cam_t.postConcat(rot); rot.setRotateDegreesAbout(0, 0, 1, -this->getRotation().fZ); cam_t.postConcat(rot); } // Flip world Z, as it is opposite of what Sk3D expects. cam_t.preScale(1, 1, -1); // View parameters: // // * size -> composition size (TODO: AE seems to base it on width only?) // * distance -> "zoom" camera attribute // const auto view_size = SkTMax(fViewportSize.width(), fViewportSize.height()), view_distance = this->getZoom(), view_angle = std::atan(sk_ieee_float_divide(view_size * 0.5f, view_distance)); SkMatrix44 persp_t; Sk3Perspective(&persp_t, 0, view_distance, 2 * view_angle); persp_t.postScale(view_size * 0.5f, view_size * 0.5f, 1); SkMatrix44 t; t.setTranslate(fViewportSize.width() * 0.5f, fViewportSize.height() * 0.5f, 0); t.preConcat(persp_t); t.preConcat(cam_t); return t; } RepeaterAdapter::RepeaterAdapter(sk_sp<sksg::RenderNode> repeater_node, Composite composite) : fRepeaterNode(repeater_node) , fComposite(composite) , fRoot(sksg::Group::Make()) {} RepeaterAdapter::~RepeaterAdapter() = default; void RepeaterAdapter::apply() { static constexpr SkScalar kMaxCount = 512; const auto count = static_cast<size_t>(SkTPin(fCount, 0.0f, kMaxCount) + 0.5f); const auto& compute_transform = [this] (size_t index) { const auto t = fOffset + index; // Position, scale & rotation are "scaled" by index/offset. SkMatrix m = SkMatrix::MakeTrans(-fAnchorPoint.x(), -fAnchorPoint.y()); m.postScale(std::pow(fScale.x() * .01f, fOffset), std::pow(fScale.y() * .01f, fOffset)); m.postRotate(t * fRotation); m.postTranslate(t * fPosition.x() + fAnchorPoint.x(), t * fPosition.y() + fAnchorPoint.y()); return m; }; // TODO: start/end opacity support. // TODO: we can avoid rebuilding all the fragments in most cases. fRoot->clear(); for (size_t i = 0; i < count; ++i) { const auto insert_index = (fComposite == Composite::kAbove) ? i : count - i - 1; fRoot->addChild(sksg::TransformEffect::Make(fRepeaterNode, compute_transform(insert_index))); } } PolyStarAdapter::PolyStarAdapter(sk_sp<sksg::Path> wrapped_node, Type t) : fPathNode(std::move(wrapped_node)) , fType(t) {} PolyStarAdapter::~PolyStarAdapter() = default; void PolyStarAdapter::apply() { static constexpr int kMaxPointCount = 100000; const auto count = SkToUInt(SkTPin(SkScalarRoundToInt(fPointCount), 0, kMaxPointCount)); const auto arc = sk_ieee_float_divide(SK_ScalarPI * 2, count); const auto pt_on_circle = [](const SkPoint& c, SkScalar r, SkScalar a) { return SkPoint::Make(c.x() + r * std::cos(a), c.y() + r * std::sin(a)); }; // TODO: inner/outer "roundness"? SkPath poly; auto angle = SkDegreesToRadians(fRotation - 90); poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle)); poly.incReserve(fType == Type::kStar ? count * 2 : count); for (unsigned i = 0; i < count; ++i) { if (fType == Type::kStar) { poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f)); } angle += arc; poly.lineTo(pt_on_circle(fPosition, fOuterRadius, angle)); } poly.close(); fPathNode->setPath(poly); } GradientAdapter::GradientAdapter(sk_sp<sksg::Gradient> grad, size_t stopCount) : fGradient(std::move(grad)) , fStopCount(stopCount) {} void GradientAdapter::apply() { this->onApply(); // |fColorStops| holds |fStopCount| x [ pos, r, g, g ] + ? x [ pos, alpha ] if (fColorStops.size() < fStopCount * 4 || ((fColorStops.size() - fStopCount * 4) % 2)) { // apply() may get called before the stops are set, so only log when we have some stops. if (!fColorStops.empty()) { SkDebugf("!! Invalid gradient stop array size: %zu\n", fColorStops.size()); } return; } std::vector<sksg::Gradient::ColorStop> stops; // TODO: merge/lerp opacity stops const auto csEnd = fColorStops.cbegin() + fStopCount * 4; for (auto cs = fColorStops.cbegin(); cs != csEnd; cs += 4) { const auto pos = cs[0]; const VectorValue rgb({ cs[1], cs[2], cs[3] }); stops.push_back({ pos, ValueTraits<VectorValue>::As<SkColor>(rgb) }); } fGradient->setColorStops(std::move(stops)); } LinearGradientAdapter::LinearGradientAdapter(sk_sp<sksg::LinearGradient> grad, size_t stopCount) : INHERITED(std::move(grad), stopCount) {} void LinearGradientAdapter::onApply() { auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); grad->setStartPoint(this->startPoint()); grad->setEndPoint(this->endPoint()); } RadialGradientAdapter::RadialGradientAdapter(sk_sp<sksg::RadialGradient> grad, size_t stopCount) : INHERITED(std::move(grad), stopCount) {} void RadialGradientAdapter::onApply() { auto* grad = static_cast<sksg::RadialGradient*>(fGradient.get()); grad->setStartCenter(this->startPoint()); grad->setEndCenter(this->startPoint()); grad->setStartRadius(0); grad->setEndRadius(SkPoint::Distance(this->startPoint(), this->endPoint())); } TrimEffectAdapter::TrimEffectAdapter(sk_sp<sksg::TrimEffect> trimEffect) : fTrimEffect(std::move(trimEffect)) { SkASSERT(fTrimEffect); } TrimEffectAdapter::~TrimEffectAdapter() = default; void TrimEffectAdapter::apply() { // BM semantics: start/end are percentages, offset is "degrees" (?!). const auto start = fStart / 100, end = fEnd / 100, offset = fOffset / 360; auto startT = SkTMin(start, end) + offset, stopT = SkTMax(start, end) + offset; auto mode = SkTrimPathEffect::Mode::kNormal; if (stopT - startT < 1) { startT -= SkScalarFloorToScalar(startT); stopT -= SkScalarFloorToScalar(stopT); if (startT > stopT) { using std::swap; swap(startT, stopT); mode = SkTrimPathEffect::Mode::kInverted; } } else { startT = 0; stopT = 1; } fTrimEffect->setStart(startT); fTrimEffect->setStop(stopT); fTrimEffect->setMode(mode); } } // namespace skottie
[ "skia-commit-bot@chromium.org" ]
skia-commit-bot@chromium.org
aeb4e6c7ecd19422c3639b0746db27ce76197d64
5d11c21591cdaff74943b5bb1ed54323476d888a
/EmptyBlock.h
caef5595f39f158551e387e05689a05ddf4afdca
[]
no_license
VladislavRomanuik/Game-Arkanoid-
1156473d7bd395005b16eb366b24386b774e9981
8c7994ab7ba68d683f023491b5c57e7f9198f4c1
refs/heads/main
2023-03-29T02:50:42.160287
2021-04-04T17:53:10
2021-04-04T17:53:10
354,596,865
0
0
null
null
null
null
UTF-8
C++
false
false
366
h
#pragma once #include "Block.h" class EmptyBlock : public Block { public: EmptyBlock(){} EmptyBlock(bool IsBonus) : Block(IsBonus){} EmptyBlock(bool IsBonus, int typeBonus1) : Block(IsBonus, typeBonus1){} void DrawSelf(float newX, float newY, float newBonusY) { bonus->DrawSelf(newX, newY, newBonusY); } };
[ "noreply@github.com" ]
VladislavRomanuik.noreply@github.com
b304418c9444d6b13e3cfff04f75618e8b2d53b1
8ee0be0b14ec99858712a5c37df4116a52cb9801
/Client/Interface/DLGs/SubClass/CUpgradeDlgStateNormal.cpp
896044afa3390f36f6508652f6c525ad3cd1a856
[]
no_license
eRose-DatabaseCleaning/Sources-non-evo
47968c0a4fd773d6ff8c9eb509ad19caf3f48d59
2b152f5dba3bce3c135d98504ebb7be5a6c0660e
refs/heads/master
2021-01-13T14:31:36.871082
2019-05-24T14:46:41
2019-05-24T14:46:41
72,851,710
6
3
null
2016-11-14T23:30:24
2016-11-04T13:47:51
C++
UTF-8
C++
false
false
1,751
cpp
#include "stdafx.h" #include ".\cupgradedlgstatenormal.h" #include "../CUpgradeDlg.h" #include "../../../GameData/CUpgrade.h" #include "../../it_mgr.h" #include "../../../object.h" CUpgradeDlgStateNormal::CUpgradeDlgStateNormal(CUpgradeDlg* pParent) { m_pParent = pParent; } CUpgradeDlgStateNormal::~CUpgradeDlgStateNormal(void) { } void CUpgradeDlgStateNormal::Enter() { } void CUpgradeDlgStateNormal::Leave() { } void CUpgradeDlgStateNormal::Update( POINT ptMouse ) { } void CUpgradeDlgStateNormal::Draw() { } unsigned CUpgradeDlgStateNormal::Process( unsigned uiMsg, WPARAM wParam, LPARAM lParam ) { if( m_pParent->m_TargetItemSlot.Process( uiMsg, wParam, lParam ) ) return uiMsg; for( int i = 0 ; i < 3; ++i ) { if( m_pParent->m_MaterialSlots[i].Process( uiMsg, wParam, lParam )) return uiMsg; } if( unsigned uiProcID = m_pParent->CTDialog::Process( uiMsg, wParam, lParam ) ) { if( uiMsg == WM_LBUTTONUP ) { switch( uiProcID ) { case IID_BTN_START: if( g_pAVATAR ) { if( g_pAVATAR->Get_STATE() != CS_STOP ) { g_itMGR.AppendChatMsg( STR_ACTION_COMMAND_STOP_STATE_FAILED, IT_MGR::CHAT_TYPE_SYSTEM ); break; } if( g_pAVATAR->GetPetMode() >= 0 ) { if( ( g_pAVATAR->GetPetState() != CS_STOP ) ) { g_itMGR.AppendChatMsg( STR_ACTION_COMMAND_STOP_STATE_FAILED, IT_MGR::CHAT_TYPE_SYSTEM ); break; } } } if( CUpgrade::GetInstance().SendPacketUpgrade() ) m_pParent->ChangeState( CUpgradeDlg::STATE_WAIT ); break; case IID_BTN_CLOSE: m_pParent->Hide(); break; default: break; } } return uiMsg; } return 0; }
[ "hugo.delannoy@hotmail.com" ]
hugo.delannoy@hotmail.com
f045737649ea52bda71c6c3ca767de40801161c8
b65b58c12ad60bd0ab15fbd0295ceb773c451c86
/Composteira/Sensores/sensor_mq135/sensor_mq135.ino
f8ddaded2646e3a451fcacdb2ee347bf9076e41e
[ "MIT" ]
permissive
GabrielleBarbosa/SmartHummus
9d75529e1306f09a7032289d94b3af120ef08321
64c968bc3594254a69a37a3ef846a86e37cf7fee
refs/heads/master
2021-01-03T10:19:13.126737
2020-12-01T19:28:29
2020-12-01T19:28:29
240,035,958
0
0
null
null
null
null
UTF-8
C++
false
false
507
ino
#define MQ_analog A2 #define MQ_dig 7 int valor_analog; int valor_dig; void setup() { Serial.begin(9600); // Configura o sensor pinMode(MQ_analog, INPUT); pinMode(MQ_dig, INPUT); } void loop() { valor_analog = analogRead(MQ_analog); valor_dig = digitalRead(MQ_dig); // lê o valor do sensor Serial.print(valor_analog); Serial.print(" || "); if(valor_dig == 0) Serial.println("GAS DETECTADO !!!"); else Serial.println("GAS AUSENTE !!!"); delay(500); }
[ "42346058+GabrielleBarbosa@users.noreply.github.com" ]
42346058+GabrielleBarbosa@users.noreply.github.com
0bb1d79d8b1298e54c7a5875672a71b294deda43
a6eafd7169cef4f1ee791281ec266f522d695379
/backup/smallCode/mvc.cpp
e419fef7d4cc6aacd4e7495e704e7208d22a271d
[ "MIT" ]
permissive
counten/Peanut
c02ec3b411c745363c01872f01001d14e063f1e3
7d49e96eed434a66e8503128737b7c84f1e62dbf
refs/heads/master
2022-08-06T08:42:33.046503
2019-06-18T09:16:11
2019-06-18T09:16:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,006
cpp
#include <iostream> #include <vector> //get namespace related stuff using std::cin; using std::cout; using std::endl; using std::flush; using std::string; using std::vector; //struct Observer, modeled after java.utils.Observer struct Observer { //update virtual void update(void *) = 0; }; //struct Observable, modeled after java.utils.Observable struct Observable { //observers vector<Observer *> observers; //addObserver void addObserver(Observer *a) { observers.push_back(a); } //notifyObservers void notifyObservers() { for (vector<Observer *>::const_iterator observer_iterator = observers.begin(); observer_iterator != observers.end(); observer_iterator++) (*observer_iterator)->update(this); } }; //struct Model, contains string-data and methods to set and get the data struct Model : Observable { //data members title_caption, version_caption, credits_caption string title_caption; string version_caption; string credits_caption; //data members title, version, credits string title; string version; string credits; //constructor Model() : title_caption("Title: "), version_caption("Version: "), credits_caption("Credits: "), title("Simple Model-View-Controller Implementation"), version("0.2"), credits("(put your name here)") { } //getCredits_Caption, getTitle_Caption, getVersion_Caption string getCredits_Caption() { return credits_caption; } string getTitle_Caption() { return title_caption; } string getVersion_Caption() { return version_caption; } //getCredits, getTitle, getVersion string getCredits() { return credits; } string getTitle() { return title; } string getVersion() { return version; } //setCredits, setTitle, setVersion void setCredits(string a) { credits = a; notifyObservers(); } void setTitle(string a) { title = a; notifyObservers(); } void setVersion(string a) { version = a; notifyObservers(); } }; //struct TitleView, specialized Observer struct TitleView : Observer { //update void update(void *a) { cout << static_cast<Model *>(a)->getTitle_Caption(); cout << static_cast<Model *>(a)->getTitle(); cout << endl; } }; //struct VersionView, specialized Observer struct VersionView : Observer { //update void update(void *a) { cout << static_cast<Model *>(a)->getVersion_Caption(); cout << static_cast<Model *>(a)->getVersion(); cout << endl; } }; //struct CreditsView, specialized Observer struct CreditsView : Observer { //update void update(void *a) { cout << static_cast<Model *>(a)->getCredits_Caption(); cout << static_cast<Model *>(a)->getCredits(); cout << endl; } }; //struct Views, pack all Observers together in yet another Observer struct Views : Observer { //data members titleview, versionview, creditsview TitleView titleview; VersionView versionview; CreditsView creditsview; //setModel void setModel(Observable &a) { a.addObserver(&titleview); a.addObserver(&versionview); a.addObserver(&creditsview); a.addObserver(this); } //update void update(void *a) { cout << "_____________________________"; cout << "\nType t to edit Title, "; cout << "v to edit Version, "; cout << "c to edit Credits. "; cout << "Type q to quit./n>>"; } }; //struct Controller, wait for keystroke and change Model struct Controller { //data member model Model *model; //setModel void setModel(Model &a) { model = &a; } //MessageLoop void MessageLoop() { char c = ' '; string s; while (c != 'q') { cin >> c; cin.ignore(256, '\n'); cin.clear(); switch (c) { case 'c': case 't': case 'v': getline(cin, s); break; } switch (c) { case 'c': model->setCredits(s); break; case 't': model->setTitle(s); break; case 'v': model->setVersion(s); break; } } } }; //struct Application, get Model, Views and Controller together struct Application { //data member model Model model; //data member views Views views; //data member controller Controller controller; //constructor Application() { views.setModel(model); controller.setModel(model); model.notifyObservers(); } //run void run() { controller.MessageLoop(); } }; //main int main() { Application().run(); return 0; }
[ "miclewang@outlook.com" ]
miclewang@outlook.com
446e085c01709087bc8059d459ca2082c249cad1
f1d98b1b98528b6a29ea7b6449dd27294bf06c7d
/1697_숨바꼭질/hideAndSeek.cpp
dbd78184e8b7e0e7a3b6a0ea8bd94fb39e265a0b
[]
no_license
hansori-c/BackJoon_Algorithm
2b2cc69156dab54c2783fddcee80a542b1c1277c
c7cb5e816eabbb1256030bdd50b91a7f8a79e1cb
refs/heads/master
2022-01-10T17:29:32.285691
2018-05-31T12:49:37
2018-05-31T12:49:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,228
cpp
/* 2018 Mar 17, made by Moon */ #include <cstdio> #include <queue> #include <map> #include <algorithm> using namespace std; int isReturn = 0; void bfs(int n, int k) { int time = 0; int plus[200002] = { 0 }, minus[200002] = { 0 }, multi[200002] = { 0 }; map<int, int> m; queue<int> q; q.push(n); m[n] = 1; for (int i = 0; i < 200002; i++) { plus[i] = -1; minus[i] = -1; multi[i] = -1; } while (!q.empty()) { int size = q.size(); for (int i = 0; i < size; i++) { int node = q.front(); q.pop(); if (node == k) { isReturn = 1; break; } else { if (node - 1 >= 0) { if (minus[node] == -1 && !m[node - 1]) { minus[node] = 1; m[node - 1] = 1; q.push(node - 1); } } if (node + 1 <= k) { if (plus[node] == -1 && !m[node + 1]) { plus[node] = 1; m[node + 1] = 1; q.push(node + 1); } } if (node <= k && node * 2 > 0) { if (multi[node] == -1 && !m[node * 2]) { multi[node] = 1; m[node * 2] = 1; q.push(node * 2); } } } } if (isReturn) { printf("%d\n", time); break; } else { time++; } } } int main() { int n, k; scanf("%d %d", &n, &k); bfs(n, k); return 0; }
[ "mgyang95@gmail.com" ]
mgyang95@gmail.com
566044dbb35fd8428c331ca13c1386c73e4dc3ca
64e9e4be0d28090a5ceabe0445a9674f537763bf
/src/theia/util/threadpool.cc
e357765289cdc6f5d35f38b8f655f18fe520b01e
[]
no_license
amerello/Theia
e25c10ed643eb88d6a9d2f0f1601a58c606a4744
de47b5500f3a0e1b4d6421a5ad15d94fd358b215
refs/heads/master
2020-12-26T03:34:06.291131
2014-11-24T12:05:23
2014-11-24T12:05:23
27,167,573
1
0
null
null
null
null
UTF-8
C++
false
false
4,150
cc
// Copyright (C) 2014 The Regents of the University of California (Regents). // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following // disclaimer in the documentation and/or other materials provided // with the distribution. // // * Neither the name of The Regents or University of California nor the // names of its contributors may be used to endorse or promote products // derived from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. // // Please contact the author of this library if you have any questions. // Author: Chris Sweeney (cmsweeney@cs.ucsb.edu) // This implementation is based on the implementation found here: // https://github.com/progschj/ThreadPool // // As such, we include the license here. // Copyright (c) 2012 Jakob Progsch, Václav Zeman // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for any purpose, // including commercial applications, and to alter it and redistribute it // freely, subject to the following restrictions: // // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would be // appreciated but is not required. // // 2. Altered source versions must be plainly marked as such, and must not be // misrepresented as being the original software. // // 3. This notice may not be removed or altered from any source // distribution. #include "theia/util/threadpool.h" #include <condition_variable> #include <functional> #include <future> #include <memory> #include <mutex> #include <queue> #include <stdexcept> #include <thread> #include <type_traits> #include <utility> #include <vector> #include <glog/logging.h> #include "theia/util/util.h" namespace theia { ThreadPool::ThreadPool(const int num_threads) : stop(false) { CHECK_GE(num_threads, 1) << "The number of threads specified to the ThreadPool is insufficient."; for (size_t i = 0; i < num_threads; ++i) { workers.emplace_back([this] { for (;;) { std::function<void()> task; { std::unique_lock<std::mutex> lock(this->queue_mutex); this->condition.wait(lock, [this] { return this->stop || !this->tasks.empty(); }); if (this->stop && this->tasks.empty()) return; task = std::move(this->tasks.front()); this->tasks.pop(); } task(); } }); } } // the destructor joins all threads ThreadPool::~ThreadPool() { { std::unique_lock<std::mutex> lock(queue_mutex); stop = true; } condition.notify_all(); for (std::thread& worker : workers) worker.join(); } } // namespace theia
[ "kip622@gmail.com" ]
kip622@gmail.com
40406f2fde0701eff6e0ad5d0ac1f39185f5505c
a27d4dd7e8c11d2c55a6e1a7a5b9a05bf93d014f
/Segment_Trees/2vs3.cpp
4344c0a51ec488ba797ebbb229d09765d96bb730
[]
no_license
amanpratapsingh9/Competitive_Coding_Ninjas
8c0c311c1eb780398f075a09849949c2a92a7826
51bebab0437e57ef897fa9a933fc7b11ce0f3170
refs/heads/master
2022-01-08T09:38:21.596283
2019-01-25T23:50:11
2019-01-25T23:50:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
914
cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef unordered_map<int, int> umapii; typedef unordered_map<int, bool> umapib; typedef unordered_map<string, int> umapsi; typedef unordered_map<string, string> umapss; typedef map<string, int> mapsi; typedef map<pair<int, int>, int> mappiii; typedef map<int, int> mapii; typedef map<int, bool> mapib; typedef pair<int, int> pii; typedef pair<long long, long long> pll; typedef unordered_set<int> useti; typedef set<int> seti; #define uset unordered_set #define it iterator #define mp make_pair #define pb push_back #define all(x) (x).begin(), (x).end() #define allp(x) (x)->begin(), (x)->end() #define f first #define s second #define MOD 1000000007 //cin.ignore(numeric_limits<streamsize>::max(), '\n'); -> Clears the input buffer int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); return 0 ; }
[ "cgupta3131@gmail.com" ]
cgupta3131@gmail.com
4686853e4453337b3a0f8fce87eeeaa2dde9a5cf
d23a0ebef131d4fd02ecefd98c0ad420c63e91e3
/SIM808/SIM808.ino
b6a21b671d6ec997d8846c833e306e97590d4c57
[ "MIT" ]
permissive
mmshaifur/Arduino-Unit-Codes-SIM808
bb1a85831314a53df63b030e76d0ead8d3d4f8a2
a2ba5533010aec1e4e1ce5a8c78e55e8787fe171
refs/heads/master
2020-04-02T03:47:51.953410
2018-10-21T07:44:21
2018-10-21T07:44:21
153,984,810
0
0
null
null
null
null
UTF-8
C++
false
false
707
ino
/* Tested by: Shaifur Rahman * web: http://shaifur.com * Last Update: 21-Oct-2018 */ int value_1 = 0; int value_2 = 0; int value_3 = 0; void setup() { Serial.println("Starting SIM808 Module..."); delay(10000); while (sendATcommand("AT+CREG?", "+CREG: 0,1", 2000) == 0); // code will stuck here and won't pass until get network connectivity. sendATcommand("AT+SAPBR=3,1,\"Contype\",\"GPRS\"", "OK", 2000); sendATcommand("AT+SAPBR=3,1,\"APN\",\"internet\"", "OK", 2000); sendATcommand("AT+SAPBR=3,1,\"USER\",\"\"", "OK", 2000); sendATcommand("AT+SAPBR=3,1,\"PWD\",\"\"", "OK", 2000); sendATcommand("AT+SAPBR=1,1", "OK", 20000); } void loop() { sendHTTP_REQ(1,2,3); delay(1000); }
[ "shaifur.cse@gmail.com" ]
shaifur.cse@gmail.com
6b7d8e3b1d6205863983224bf2582604d4a75836
373dc1f2b4ba0181a11ca9cd546dcc3ab0c25b61
/AddCrewOnly.h
adcc131b437ba79f83c833f817e9a61b392cc306
[]
no_license
15831944/TMS
0b5337e9a6b8d87c59cddd139334e5a91a3050e7
07ddc125b73093d91729d49382ba90457bc5633b
refs/heads/master
2020-09-11T10:50:58.207283
2010-06-10T01:10:30
2010-06-10T01:10:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,970
h
// // This program code is a part of The Master Scheduler (TMS) // and is Copyright (C) 1991-2004 Schedule Masters, Inc. // All rights reserved. // #if !defined(AFX_ADDCREWONLY_H__D13028B6_7A92_48D5_A25F_C4911D99AF2E__INCLUDED_) #define AFX_ADDCREWONLY_H__D13028B6_7A92_48D5_A25F_C4911D99AF2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AddCrewOnly.h : header file // ///////////////////////////////////////////////////////////////////////////// // CAddCrewOnly dialog class CAddCrewOnly : public CDialog { // Construction public: CAddCrewOnly(CWnd* pParent = NULL, long* pUpdateRecordID = NULL, PDISPLAYINFO pDI = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CAddCrewOnly) enum { IDD = IDD_ADDCREWONLY }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAddCrewOnly) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: long* m_pUpdateRecordID; PDISPLAYINFO m_pDI; CEdit* pEditPIECENUMBER; CEdit* pEditRUNNUMBER; CComboBox* pComboBoxRUNTYPE; CComboBox* pComboBoxSTARTNODE; CEdit* pEditSTARTTIME; CComboBox* pComboBoxENDNODE; CEdit* pEditENDTIME; CButton* pButtonNA; CButton* pButtonCC; CComboBox* pComboBoxCOMMENTCODE; // Generated message map functions //{{AFX_MSG(CAddCrewOnly) virtual BOOL OnInitDialog(); afx_msg void OnChangePiecenumber(); afx_msg void OnNa(); afx_msg void OnCc(); afx_msg void OnClose(); virtual void OnOK(); virtual void OnCancel(); afx_msg void OnHelp(); afx_msg void OnSelendokCommentcode(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ADDCREWONLY_H__D13028B6_7A92_48D5_A25F_C4911D99AF2E__INCLUDED_)
[ "e.sitarski@themasterschedulder.com" ]
e.sitarski@themasterschedulder.com
cf16d841609a45c1aaec8f018913e086b38c1baa
9d7a8d3e8d5df680c32fa70c73ef7c2820986187
/.history/D06/ex01/main_20210316150809.cpp
8a1a8163bb01c8b318f327251d4b3712210c38e8
[]
no_license
asleonova/cpp
dc2d606e361ffdfa2013953f68bd0da4530f34bc
adfaecc238cdb63053b34b106869d3185204d73a
refs/heads/master
2023-04-06T19:27:21.725162
2021-04-13T19:18:00
2021-04-13T19:18:00
337,834,070
0
0
null
null
null
null
UTF-8
C++
false
false
2,920
cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dbliss <dbliss@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2021/03/14 20:10:43 by dbliss #+# #+# */ /* Updated: 2021/03/16 15:08:09 by dbliss ### ########.fr */ /* */ /* ************************************************************************** */ #include <iostream> #include <stdlib.h> struct Data { std::string s1; int i; std::string s2; }; std::string RandomString(unsigned long len) { std::string str = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; std::string newstr; int pos; while(newstr.size() != len) { pos = ((rand() % (str.size() - 1))); newstr += str.substr(pos,1); } return newstr; } int randomInt() { srand (time(NULL)); int ret = rand() % 100; return (ret); } void* serialize(void) // тут сделать вывод значений!!!! { std::string s1 = RandomString(10); std::string s2 = RandomString(20); int num = randomInt(); std::string all = s1 + std::to_string(num) + s2; char *s_all = const_cast <char*> (all.c_str()); void *all_new = reinterpret_cast <void *> (s_all); std::cout << "data we want to serialize :" << std::endl; std::cout << "random string 1: " << s1 << std::endl; std::cout << "interger: " << num << std::endl; std::cout << "random string 2: " << s2 << std::endl; return (all_new); } Data * deserialize(void * raw) { Data* d = new Data; char* new_raw = reinterpret_cast<char*>(raw); d->s1 = std::string(new_raw, 10); d->i = static_cast<int>(*(new_raw + 10) - 48) * 10; d->i += static_cast<int>(*(new_raw + 11) - 48); d->s2 = std::string(new_raw + 12, 20); // add 12 to the adress; std::cout << "arr size is: " << sizeof(d->s1) << std::endl; std::cout << "arr size is: " << sizeof(d->i) << std::endl; std::cout << "arr size is: " << sizeof(d->s2) << std::endl; std::cout << "arr size is: " << sizeof(Data) << std::endl; std::cout << "d->s1: " << d->s1 << std::endl; std::cout << "d->i: " << d->i << std::endl; std::cout << "d->s2: "<< d->s2 << std::endl; return (d); } int main() { void *Sdata = serialize(); std::cout << "data after serializing and deserializing: " << std::endl; deserialize(Sdata); return 0; }
[ "dbliss@oa-g3.msk.21-school.ru" ]
dbliss@oa-g3.msk.21-school.ru
5525311e453d92832f50a69b70391104cd1b9952
14d832c656644ff8253c70ccbc03b2c2a2d9dcb7
/include/Settings.hpp
50b234413e0e61fe544e89159df2cbcb568a85e2
[ "MIT" ]
permissive
jianwei-sun/minesweeper
5f67e67e6b455462ba9799913518a2ecdf8d0c0b
5e3ee79ac1a62ac4acdbd4a9972a5beee9d4941d
refs/heads/main
2023-08-05T18:23:14.004156
2021-09-18T01:55:10
2021-09-18T01:55:10
398,930,686
0
0
null
null
null
null
UTF-8
C++
false
false
1,538
hpp
//---------------------------------------------------------------------------------------------------- // File: Settings.hpp // Date: 09/12/2021 // Desc: Header file for the Settings class //---------------------------------------------------------------------------------------------------- #ifndef SETTINGS_H #define SETTINGS_H // Standard library includes #include <array> // Third party library includes #include <QWidget> #include <QPushButton> #include <QString> #include <QLabel> #include <QSpinBox> #include <QCheckBox> #include <QButtonGroup> #include <QGridLayout> #include <QVBoxLayout> #include <QHBoxLayout> //---------------------------------------------------------------------------------------------------- // Class definition //---------------------------------------------------------------------------------------------------- typedef struct T_DIFFICULTY{ int rows; int cols; int mines; bool operator==(const T_DIFFICULTY& other){ return (this->rows == other.rows) && (this->cols == other.cols) && (this->mines == other.mines); } } DIFFICULTY; class Settings : public QWidget{ Q_OBJECT public: Settings(QWidget* parent = nullptr); const DIFFICULTY& getDifficulty(void); signals: void softReset(void); void hardReset(void); private: DIFFICULTY difficulty_; std::array<DIFFICULTY, 4> difficultyOptions_; static const DIFFICULTY easyDifficulty; static const DIFFICULTY mediumDifficulty; static const DIFFICULTY hardDifficulty; static const int maxHeight; static const int maxWidth; }; #endif
[ "jian58sun@gmail.com" ]
jian58sun@gmail.com
40c75c547b506576b6aaeb0dbb7b7acd67dfa589
b879e7f898ae448e69a75b4efcc570e1675c6865
/src/PcscEvents/wxWidgets/include/wx/longlong.h
d389c07334ff8e878cadeccde6e3372e0ca227b7
[]
no_license
idrassi/pcsctracker
52784ce0eaf3bbc98bbd524bca397e14fe3cd419
5d75b661c8711afe4b66022ddd6ce04c536d6f1c
refs/heads/master
2021-01-20T00:14:28.208953
2017-04-22T16:06:00
2017-04-22T16:12:19
89,100,906
1
0
null
null
null
null
UTF-8
C++
false
false
37,866
h
///////////////////////////////////////////////////////////////////////////// // Name: wx/longlong.h // Purpose: declaration of wxLongLong class - best implementation of a 64 // bit integer for the current platform. // Author: Jeffrey C. Ollie <jeff@ollie.clive.ia.us>, Vadim Zeitlin // Modified by: // Created: 10.02.99 // Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_LONGLONG_H #define _WX_LONGLONG_H #include "wx/defs.h" #if wxUSE_LONGLONG #include "wx/string.h" #include <limits.h> // for LONG_MAX // define this to compile wxLongLongWx in "test" mode: the results of all // calculations will be compared with the real results taken from // wxLongLongNative -- this is extremely useful to find the bugs in // wxLongLongWx class! // #define wxLONGLONG_TEST_MODE #ifdef wxLONGLONG_TEST_MODE #define wxUSE_LONGLONG_WX 1 #define wxUSE_LONGLONG_NATIVE 1 #endif // wxLONGLONG_TEST_MODE // ---------------------------------------------------------------------------- // decide upon which class we will use // ---------------------------------------------------------------------------- #ifndef wxLongLong_t // both warning and pragma warning are not portable, but at least an // unknown pragma should never be an error -- except that, actually, some // broken compilers don't like it, so we have to disable it in this case // <sigh> #ifdef __GNUC__ #warning "Your compiler does not appear to support 64 bit "\ "integers, using emulation class instead.\n" \ "Please report your compiler version to " \ "wx-dev@lists.wxwidgets.org!" #elif !(defined(__WATCOMC__) || defined(__VISAGECPP__)) #pragma warning "Your compiler does not appear to support 64 bit "\ "integers, using emulation class instead.\n" \ "Please report your compiler version to " \ "wx-dev@lists.wxwidgets.org!" #endif #define wxUSE_LONGLONG_WX 1 #endif // compiler // the user may predefine wxUSE_LONGLONG_NATIVE and/or wxUSE_LONGLONG_NATIVE // to disable automatic testing (useful for the test program which defines // both classes) but by default we only use one class #if (defined(wxUSE_LONGLONG_WX) && wxUSE_LONGLONG_WX) || !defined(wxLongLong_t) // don't use both classes unless wxUSE_LONGLONG_NATIVE was explicitly set: // this is useful in test programs and only there #ifndef wxUSE_LONGLONG_NATIVE #define wxUSE_LONGLONG_NATIVE 0 #endif class WXDLLIMPEXP_FWD_BASE wxLongLongWx; class WXDLLIMPEXP_FWD_BASE wxULongLongWx; #if defined(__VISUALC__) && !defined(__WIN32__) #define wxLongLong wxLongLongWx #define wxULongLong wxULongLongWx #else typedef wxLongLongWx wxLongLong; typedef wxULongLongWx wxULongLong; #endif #else // if nothing is defined, use native implementation by default, of course #ifndef wxUSE_LONGLONG_NATIVE #define wxUSE_LONGLONG_NATIVE 1 #endif #endif #ifndef wxUSE_LONGLONG_WX #define wxUSE_LONGLONG_WX 0 class WXDLLIMPEXP_FWD_BASE wxLongLongNative; class WXDLLIMPEXP_FWD_BASE wxULongLongNative; typedef wxLongLongNative wxLongLong; typedef wxULongLongNative wxULongLong; #endif // NB: if both wxUSE_LONGLONG_WX and NATIVE are defined, the user code should // typedef wxLongLong as it wants, we don't do it // ---------------------------------------------------------------------------- // choose the appropriate class // ---------------------------------------------------------------------------- // we use iostream for wxLongLong output #include "wx/iosfwrap.h" #if wxUSE_LONGLONG_NATIVE class WXDLLIMPEXP_BASE wxLongLongNative { public: // ctors // default ctor initializes to 0 wxLongLongNative() : m_ll(0) { } // from long long wxLongLongNative(wxLongLong_t ll) : m_ll(ll) { } // from 2 longs wxLongLongNative(wxInt32 hi, wxUint32 lo) { // cast to wxLongLong_t first to avoid precision loss! m_ll = ((wxLongLong_t) hi) << 32; m_ll |= (wxLongLong_t) lo; } #if wxUSE_LONGLONG_WX wxLongLongNative(wxLongLongWx ll); #endif // default copy ctor is ok // no dtor // assignment operators // from native 64 bit integer #ifndef wxLongLongIsLong wxLongLongNative& operator=(wxLongLong_t ll) { m_ll = ll; return *this; } wxLongLongNative& operator=(wxULongLong_t ll) { m_ll = ll; return *this; } #endif // !wxLongLongNative wxLongLongNative& operator=(const wxULongLongNative &ll); wxLongLongNative& operator=(int l) { m_ll = l; return *this; } wxLongLongNative& operator=(long l) { m_ll = l; return *this; } wxLongLongNative& operator=(unsigned int l) { m_ll = l; return *this; } wxLongLongNative& operator=(unsigned long l) { m_ll = l; return *this; } #if wxUSE_LONGLONG_WX wxLongLongNative& operator=(wxLongLongWx ll); wxLongLongNative& operator=(const class wxULongLongWx &ll); #endif // from double: this one has an explicit name because otherwise we // would have ambiguity with "ll = int" and also because we don't want // to have implicit conversions between doubles and wxLongLongs wxLongLongNative& Assign(double d) { m_ll = (wxLongLong_t)d; return *this; } // assignment operators from wxLongLongNative is ok // accessors // get high part wxInt32 GetHi() const { return wx_truncate_cast(wxInt32, m_ll >> 32); } // get low part wxUint32 GetLo() const { return wx_truncate_cast(wxUint32, m_ll); } // get absolute value wxLongLongNative Abs() const { return wxLongLongNative(*this).Abs(); } wxLongLongNative& Abs() { if ( m_ll < 0 ) m_ll = -m_ll; return *this; } // convert to native long long wxLongLong_t GetValue() const { return m_ll; } // convert to long with range checking in debug mode (only!) long ToLong() const { wxASSERT_MSG( (m_ll >= LONG_MIN) && (m_ll <= LONG_MAX), wxT("wxLongLong to long conversion loss of precision") ); return wx_truncate_cast(long, m_ll); } // convert to double double ToDouble() const { return wx_truncate_cast(double, m_ll); } // don't provide implicit conversion to wxLongLong_t or we will have an // ambiguity for all arithmetic operations //operator wxLongLong_t() const { return m_ll; } // operations // addition wxLongLongNative operator+(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll + ll.m_ll); } wxLongLongNative& operator+=(const wxLongLongNative& ll) { m_ll += ll.m_ll; return *this; } wxLongLongNative operator+(const wxLongLong_t ll) const { return wxLongLongNative(m_ll + ll); } wxLongLongNative& operator+=(const wxLongLong_t ll) { m_ll += ll; return *this; } // pre increment wxLongLongNative& operator++() { m_ll++; return *this; } // post increment wxLongLongNative operator++(int) { wxLongLongNative value(*this); m_ll++; return value; } // negation operator wxLongLongNative operator-() const { return wxLongLongNative(-m_ll); } wxLongLongNative& Negate() { m_ll = -m_ll; return *this; } // subtraction wxLongLongNative operator-(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll - ll.m_ll); } wxLongLongNative& operator-=(const wxLongLongNative& ll) { m_ll -= ll.m_ll; return *this; } wxLongLongNative operator-(const wxLongLong_t ll) const { return wxLongLongNative(m_ll - ll); } wxLongLongNative& operator-=(const wxLongLong_t ll) { m_ll -= ll; return *this; } // pre decrement wxLongLongNative& operator--() { m_ll--; return *this; } // post decrement wxLongLongNative operator--(int) { wxLongLongNative value(*this); m_ll--; return value; } // shifts // left shift wxLongLongNative operator<<(int shift) const { return wxLongLongNative(m_ll << shift); } wxLongLongNative& operator<<=(int shift) { m_ll <<= shift; return *this; } // right shift wxLongLongNative operator>>(int shift) const { return wxLongLongNative(m_ll >> shift); } wxLongLongNative& operator>>=(int shift) { m_ll >>= shift; return *this; } // bitwise operators wxLongLongNative operator&(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll & ll.m_ll); } wxLongLongNative& operator&=(const wxLongLongNative& ll) { m_ll &= ll.m_ll; return *this; } wxLongLongNative operator|(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll | ll.m_ll); } wxLongLongNative& operator|=(const wxLongLongNative& ll) { m_ll |= ll.m_ll; return *this; } wxLongLongNative operator^(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll ^ ll.m_ll); } wxLongLongNative& operator^=(const wxLongLongNative& ll) { m_ll ^= ll.m_ll; return *this; } // multiplication/division wxLongLongNative operator*(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll * ll.m_ll); } wxLongLongNative operator*(long l) const { return wxLongLongNative(m_ll * l); } wxLongLongNative& operator*=(const wxLongLongNative& ll) { m_ll *= ll.m_ll; return *this; } wxLongLongNative& operator*=(long l) { m_ll *= l; return *this; } wxLongLongNative operator/(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll / ll.m_ll); } wxLongLongNative operator/(long l) const { return wxLongLongNative(m_ll / l); } wxLongLongNative& operator/=(const wxLongLongNative& ll) { m_ll /= ll.m_ll; return *this; } wxLongLongNative& operator/=(long l) { m_ll /= l; return *this; } wxLongLongNative operator%(const wxLongLongNative& ll) const { return wxLongLongNative(m_ll % ll.m_ll); } wxLongLongNative operator%(long l) const { return wxLongLongNative(m_ll % l); } // comparison bool operator==(const wxLongLongNative& ll) const { return m_ll == ll.m_ll; } bool operator==(long l) const { return m_ll == l; } bool operator!=(const wxLongLongNative& ll) const { return m_ll != ll.m_ll; } bool operator!=(long l) const { return m_ll != l; } bool operator<(const wxLongLongNative& ll) const { return m_ll < ll.m_ll; } bool operator<(long l) const { return m_ll < l; } bool operator>(const wxLongLongNative& ll) const { return m_ll > ll.m_ll; } bool operator>(long l) const { return m_ll > l; } bool operator<=(const wxLongLongNative& ll) const { return m_ll <= ll.m_ll; } bool operator<=(long l) const { return m_ll <= l; } bool operator>=(const wxLongLongNative& ll) const { return m_ll >= ll.m_ll; } bool operator>=(long l) const { return m_ll >= l; } // miscellaneous // return the string representation of this number wxString ToString() const; // conversion to byte array: returns a pointer to static buffer! void *asArray() const; #if wxUSE_STD_IOSTREAM // input/output friend WXDLLIMPEXP_BASE wxSTD ostream& operator<<(wxSTD ostream&, const wxLongLongNative&); #endif friend WXDLLIMPEXP_BASE wxString& operator<<(wxString&, const wxLongLongNative&); #if wxUSE_STREAMS friend WXDLLIMPEXP_BASE class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxLongLongNative&); friend WXDLLIMPEXP_BASE class wxTextInputStream& operator>>(class wxTextInputStream&, wxLongLongNative&); #endif private: wxLongLong_t m_ll; }; class WXDLLIMPEXP_BASE wxULongLongNative { public: // ctors // default ctor initializes to 0 wxULongLongNative() : m_ll(0) { } // from long long wxULongLongNative(wxULongLong_t ll) : m_ll(ll) { } // from 2 longs wxULongLongNative(wxUint32 hi, wxUint32 lo) : m_ll(0) { // cast to wxLongLong_t first to avoid precision loss! m_ll = ((wxULongLong_t) hi) << 32; m_ll |= (wxULongLong_t) lo; } #if wxUSE_LONGLONG_WX wxULongLongNative(const class wxULongLongWx &ll); #endif // default copy ctor is ok // no dtor // assignment operators // from native 64 bit integer #ifndef wxLongLongIsLong wxULongLongNative& operator=(wxULongLong_t ll) { m_ll = ll; return *this; } wxULongLongNative& operator=(wxLongLong_t ll) { m_ll = ll; return *this; } #endif // !wxLongLongNative wxULongLongNative& operator=(int l) { m_ll = l; return *this; } wxULongLongNative& operator=(long l) { m_ll = l; return *this; } wxULongLongNative& operator=(unsigned int l) { m_ll = l; return *this; } wxULongLongNative& operator=(unsigned long l) { m_ll = l; return *this; } wxULongLongNative& operator=(const wxLongLongNative &ll) { m_ll = ll.GetValue(); return *this; } #if wxUSE_LONGLONG_WX wxULongLongNative& operator=(wxLongLongWx ll); wxULongLongNative& operator=(const class wxULongLongWx &ll); #endif // assignment operators from wxULongLongNative is ok // accessors // get high part wxUint32 GetHi() const { return wx_truncate_cast(wxUint32, m_ll >> 32); } // get low part wxUint32 GetLo() const { return wx_truncate_cast(wxUint32, m_ll); } // convert to native ulong long wxULongLong_t GetValue() const { return m_ll; } // convert to ulong with range checking in debug mode (only!) unsigned long ToULong() const { wxASSERT_MSG( m_ll <= ULONG_MAX, wxT("wxULongLong to long conversion loss of precision") ); return wx_truncate_cast(unsigned long, m_ll); } // convert to double // // For some completely obscure reasons compiling the cast below with // VC6 in DLL builds only (!) results in "error C2520: conversion from // unsigned __int64 to double not implemented, use signed __int64" so // we must use a different version for that compiler. #ifdef __VISUALC6__ double ToDouble() const; #else double ToDouble() const { return wx_truncate_cast(double, m_ll); } #endif // operations // addition wxULongLongNative operator+(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll + ll.m_ll); } wxULongLongNative& operator+=(const wxULongLongNative& ll) { m_ll += ll.m_ll; return *this; } wxULongLongNative operator+(const wxULongLong_t ll) const { return wxULongLongNative(m_ll + ll); } wxULongLongNative& operator+=(const wxULongLong_t ll) { m_ll += ll; return *this; } // pre increment wxULongLongNative& operator++() { m_ll++; return *this; } // post increment wxULongLongNative operator++(int) { wxULongLongNative value(*this); m_ll++; return value; } // subtraction wxULongLongNative operator-(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll - ll.m_ll); } wxULongLongNative& operator-=(const wxULongLongNative& ll) { m_ll -= ll.m_ll; return *this; } wxULongLongNative operator-(const wxULongLong_t ll) const { return wxULongLongNative(m_ll - ll); } wxULongLongNative& operator-=(const wxULongLong_t ll) { m_ll -= ll; return *this; } // pre decrement wxULongLongNative& operator--() { m_ll--; return *this; } // post decrement wxULongLongNative operator--(int) { wxULongLongNative value(*this); m_ll--; return value; } // shifts // left shift wxULongLongNative operator<<(int shift) const { return wxULongLongNative(m_ll << shift); } wxULongLongNative& operator<<=(int shift) { m_ll <<= shift; return *this; } // right shift wxULongLongNative operator>>(int shift) const { return wxULongLongNative(m_ll >> shift); } wxULongLongNative& operator>>=(int shift) { m_ll >>= shift; return *this; } // bitwise operators wxULongLongNative operator&(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll & ll.m_ll); } wxULongLongNative& operator&=(const wxULongLongNative& ll) { m_ll &= ll.m_ll; return *this; } wxULongLongNative operator|(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll | ll.m_ll); } wxULongLongNative& operator|=(const wxULongLongNative& ll) { m_ll |= ll.m_ll; return *this; } wxULongLongNative operator^(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll ^ ll.m_ll); } wxULongLongNative& operator^=(const wxULongLongNative& ll) { m_ll ^= ll.m_ll; return *this; } // multiplication/division wxULongLongNative operator*(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll * ll.m_ll); } wxULongLongNative operator*(unsigned long l) const { return wxULongLongNative(m_ll * l); } wxULongLongNative& operator*=(const wxULongLongNative& ll) { m_ll *= ll.m_ll; return *this; } wxULongLongNative& operator*=(unsigned long l) { m_ll *= l; return *this; } wxULongLongNative operator/(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll / ll.m_ll); } wxULongLongNative operator/(unsigned long l) const { return wxULongLongNative(m_ll / l); } wxULongLongNative& operator/=(const wxULongLongNative& ll) { m_ll /= ll.m_ll; return *this; } wxULongLongNative& operator/=(unsigned long l) { m_ll /= l; return *this; } wxULongLongNative operator%(const wxULongLongNative& ll) const { return wxULongLongNative(m_ll % ll.m_ll); } wxULongLongNative operator%(unsigned long l) const { return wxULongLongNative(m_ll % l); } // comparison bool operator==(const wxULongLongNative& ll) const { return m_ll == ll.m_ll; } bool operator==(unsigned long l) const { return m_ll == l; } bool operator!=(const wxULongLongNative& ll) const { return m_ll != ll.m_ll; } bool operator!=(unsigned long l) const { return m_ll != l; } bool operator<(const wxULongLongNative& ll) const { return m_ll < ll.m_ll; } bool operator<(unsigned long l) const { return m_ll < l; } bool operator>(const wxULongLongNative& ll) const { return m_ll > ll.m_ll; } bool operator>(unsigned long l) const { return m_ll > l; } bool operator<=(const wxULongLongNative& ll) const { return m_ll <= ll.m_ll; } bool operator<=(unsigned long l) const { return m_ll <= l; } bool operator>=(const wxULongLongNative& ll) const { return m_ll >= ll.m_ll; } bool operator>=(unsigned long l) const { return m_ll >= l; } // miscellaneous // return the string representation of this number wxString ToString() const; // conversion to byte array: returns a pointer to static buffer! void *asArray() const; #if wxUSE_STD_IOSTREAM // input/output friend WXDLLIMPEXP_BASE wxSTD ostream& operator<<(wxSTD ostream&, const wxULongLongNative&); #endif friend WXDLLIMPEXP_BASE wxString& operator<<(wxString&, const wxULongLongNative&); #if wxUSE_STREAMS friend WXDLLIMPEXP_BASE class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxULongLongNative&); friend WXDLLIMPEXP_BASE class wxTextInputStream& operator>>(class wxTextInputStream&, wxULongLongNative&); #endif private: wxULongLong_t m_ll; }; inline wxLongLongNative& wxLongLongNative::operator=(const wxULongLongNative &ll) { m_ll = ll.GetValue(); return *this; } #endif // wxUSE_LONGLONG_NATIVE #if wxUSE_LONGLONG_WX class WXDLLIMPEXP_BASE wxLongLongWx { public: // ctors // default ctor initializes to 0 wxLongLongWx() { m_lo = m_hi = 0; #ifdef wxLONGLONG_TEST_MODE m_ll = 0; Check(); #endif // wxLONGLONG_TEST_MODE } // from long wxLongLongWx(long l) { *this = l; } // from 2 longs wxLongLongWx(long hi, unsigned long lo) { m_hi = hi; m_lo = lo; #ifdef wxLONGLONG_TEST_MODE m_ll = hi; m_ll <<= 32; m_ll |= lo; Check(); #endif // wxLONGLONG_TEST_MODE } // default copy ctor is ok in both cases // no dtor // assignment operators // from long wxLongLongWx& operator=(long l) { m_lo = l; m_hi = (l < 0 ? -1l : 0l); #ifdef wxLONGLONG_TEST_MODE m_ll = l; Check(); #endif // wxLONGLONG_TEST_MODE return *this; } // from int wxLongLongWx& operator=(int l) { return operator=((long)l); } wxLongLongWx& operator=(unsigned long l) { m_lo = l; m_hi = 0; #ifdef wxLONGLONG_TEST_MODE m_ll = l; Check(); #endif // wxLONGLONG_TEST_MODE return *this; } wxLongLongWx& operator=(unsigned int l) { return operator=((unsigned long)l); } wxLongLongWx& operator=(const class wxULongLongWx &ll); // from double wxLongLongWx& Assign(double d); // can't have assignment operator from 2 longs // accessors // get high part long GetHi() const { return m_hi; } // get low part unsigned long GetLo() const { return m_lo; } // get absolute value wxLongLongWx Abs() const { return wxLongLongWx(*this).Abs(); } wxLongLongWx& Abs() { if ( m_hi < 0 ) m_hi = -m_hi; #ifdef wxLONGLONG_TEST_MODE if ( m_ll < 0 ) m_ll = -m_ll; Check(); #endif // wxLONGLONG_TEST_MODE return *this; } // convert to long with range checking in debug mode (only!) long ToLong() const { wxASSERT_MSG( (m_hi == 0l) || (m_hi == -1l), wxT("wxLongLong to long conversion loss of precision") ); return (long)m_lo; } // convert to double double ToDouble() const; // operations // addition wxLongLongWx operator+(const wxLongLongWx& ll) const; wxLongLongWx& operator+=(const wxLongLongWx& ll); wxLongLongWx operator+(long l) const; wxLongLongWx& operator+=(long l); // pre increment operator wxLongLongWx& operator++(); // post increment operator wxLongLongWx& operator++(int) { return ++(*this); } // negation operator wxLongLongWx operator-() const; wxLongLongWx& Negate(); // subraction wxLongLongWx operator-(const wxLongLongWx& ll) const; wxLongLongWx& operator-=(const wxLongLongWx& ll); // pre decrement operator wxLongLongWx& operator--(); // post decrement operator wxLongLongWx& operator--(int) { return --(*this); } // shifts // left shift wxLongLongWx operator<<(int shift) const; wxLongLongWx& operator<<=(int shift); // right shift wxLongLongWx operator>>(int shift) const; wxLongLongWx& operator>>=(int shift); // bitwise operators wxLongLongWx operator&(const wxLongLongWx& ll) const; wxLongLongWx& operator&=(const wxLongLongWx& ll); wxLongLongWx operator|(const wxLongLongWx& ll) const; wxLongLongWx& operator|=(const wxLongLongWx& ll); wxLongLongWx operator^(const wxLongLongWx& ll) const; wxLongLongWx& operator^=(const wxLongLongWx& ll); wxLongLongWx operator~() const; // comparison bool operator==(const wxLongLongWx& ll) const { return m_lo == ll.m_lo && m_hi == ll.m_hi; } #if wxUSE_LONGLONG_NATIVE bool operator==(const wxLongLongNative& ll) const { return m_lo == ll.GetLo() && m_hi == ll.GetHi(); } #endif bool operator!=(const wxLongLongWx& ll) const { return !(*this == ll); } bool operator<(const wxLongLongWx& ll) const; bool operator>(const wxLongLongWx& ll) const; bool operator<=(const wxLongLongWx& ll) const { return *this < ll || *this == ll; } bool operator>=(const wxLongLongWx& ll) const { return *this > ll || *this == ll; } bool operator<(long l) const { return *this < wxLongLongWx(l); } bool operator>(long l) const { return *this > wxLongLongWx(l); } bool operator==(long l) const { return l >= 0 ? (m_hi == 0 && m_lo == (unsigned long)l) : (m_hi == -1 && m_lo == (unsigned long)l); } bool operator<=(long l) const { return *this < l || *this == l; } bool operator>=(long l) const { return *this > l || *this == l; } // multiplication wxLongLongWx operator*(const wxLongLongWx& ll) const; wxLongLongWx& operator*=(const wxLongLongWx& ll); // division wxLongLongWx operator/(const wxLongLongWx& ll) const; wxLongLongWx& operator/=(const wxLongLongWx& ll); wxLongLongWx operator%(const wxLongLongWx& ll) const; void Divide(const wxLongLongWx& divisor, wxLongLongWx& quotient, wxLongLongWx& remainder) const; // input/output // return the string representation of this number wxString ToString() const; void *asArray() const; #if wxUSE_STD_IOSTREAM friend WXDLLIMPEXP_BASE wxSTD ostream& operator<<(wxSTD ostream&, const wxLongLongWx&); #endif // wxUSE_STD_IOSTREAM friend WXDLLIMPEXP_BASE wxString& operator<<(wxString&, const wxLongLongWx&); #if wxUSE_STREAMS friend WXDLLIMPEXP_BASE class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxLongLongWx&); friend WXDLLIMPEXP_BASE class wxTextInputStream& operator>>(class wxTextInputStream&, wxLongLongWx&); #endif private: // long is at least 32 bits, so represent our 64bit number as 2 longs long m_hi; // signed bit is in the high part unsigned long m_lo; #ifdef wxLONGLONG_TEST_MODE void Check() { wxASSERT( (m_ll >> 32) == m_hi && (unsigned long)m_ll == m_lo ); } wxLongLong_t m_ll; #endif // wxLONGLONG_TEST_MODE }; class WXDLLIMPEXP_BASE wxULongLongWx { public: // ctors // default ctor initializes to 0 wxULongLongWx() { m_lo = m_hi = 0; #ifdef wxLONGLONG_TEST_MODE m_ll = 0; Check(); #endif // wxLONGLONG_TEST_MODE } // from ulong wxULongLongWx(unsigned long l) { *this = l; } // from 2 ulongs wxULongLongWx(unsigned long hi, unsigned long lo) { m_hi = hi; m_lo = lo; #ifdef wxLONGLONG_TEST_MODE m_ll = hi; m_ll <<= 32; m_ll |= lo; Check(); #endif // wxLONGLONG_TEST_MODE } // from signed to unsigned wxULongLongWx(wxLongLongWx ll) { wxASSERT(ll.GetHi() >= 0); m_hi = (unsigned long)ll.GetHi(); m_lo = ll.GetLo(); } // default copy ctor is ok in both cases // no dtor // assignment operators // from long wxULongLongWx& operator=(unsigned long l) { m_lo = l; m_hi = 0; #ifdef wxLONGLONG_TEST_MODE m_ll = l; Check(); #endif // wxLONGLONG_TEST_MODE return *this; } wxULongLongWx& operator=(long l) { m_lo = l; m_hi = (unsigned long) ((l<0) ? -1l : 0); #ifdef wxLONGLONG_TEST_MODE m_ll = (wxULongLong_t) (wxLongLong_t) l; Check(); #endif // wxLONGLONG_TEST_MODE return *this; } wxULongLongWx& operator=(const class wxLongLongWx &ll) { // Should we use an assert like it was before in the constructor? // wxASSERT(ll.GetHi() >= 0); m_hi = (unsigned long)ll.GetHi(); m_lo = ll.GetLo(); return *this; } // can't have assignment operator from 2 longs // accessors // get high part unsigned long GetHi() const { return m_hi; } // get low part unsigned long GetLo() const { return m_lo; } // convert to long with range checking in debug mode (only!) unsigned long ToULong() const { wxASSERT_MSG( m_hi == 0ul, wxT("wxULongLong to long conversion loss of precision") ); return (unsigned long)m_lo; } // convert to double double ToDouble() const; // operations // addition wxULongLongWx operator+(const wxULongLongWx& ll) const; wxULongLongWx& operator+=(const wxULongLongWx& ll); wxULongLongWx operator+(unsigned long l) const; wxULongLongWx& operator+=(unsigned long l); // pre increment operator wxULongLongWx& operator++(); // post increment operator wxULongLongWx& operator++(int) { return ++(*this); } // subtraction wxLongLongWx operator-(const wxULongLongWx& ll) const; wxULongLongWx& operator-=(const wxULongLongWx& ll); // pre decrement operator wxULongLongWx& operator--(); // post decrement operator wxULongLongWx& operator--(int) { return --(*this); } // shifts // left shift wxULongLongWx operator<<(int shift) const; wxULongLongWx& operator<<=(int shift); // right shift wxULongLongWx operator>>(int shift) const; wxULongLongWx& operator>>=(int shift); // bitwise operators wxULongLongWx operator&(const wxULongLongWx& ll) const; wxULongLongWx& operator&=(const wxULongLongWx& ll); wxULongLongWx operator|(const wxULongLongWx& ll) const; wxULongLongWx& operator|=(const wxULongLongWx& ll); wxULongLongWx operator^(const wxULongLongWx& ll) const; wxULongLongWx& operator^=(const wxULongLongWx& ll); wxULongLongWx operator~() const; // comparison bool operator==(const wxULongLongWx& ll) const { return m_lo == ll.m_lo && m_hi == ll.m_hi; } bool operator!=(const wxULongLongWx& ll) const { return !(*this == ll); } bool operator<(const wxULongLongWx& ll) const; bool operator>(const wxULongLongWx& ll) const; bool operator<=(const wxULongLongWx& ll) const { return *this < ll || *this == ll; } bool operator>=(const wxULongLongWx& ll) const { return *this > ll || *this == ll; } bool operator<(unsigned long l) const { return *this < wxULongLongWx(l); } bool operator>(unsigned long l) const { return *this > wxULongLongWx(l); } bool operator==(unsigned long l) const { return (m_hi == 0 && m_lo == (unsigned long)l); } bool operator<=(unsigned long l) const { return *this < l || *this == l; } bool operator>=(unsigned long l) const { return *this > l || *this == l; } // multiplication wxULongLongWx operator*(const wxULongLongWx& ll) const; wxULongLongWx& operator*=(const wxULongLongWx& ll); // division wxULongLongWx operator/(const wxULongLongWx& ll) const; wxULongLongWx& operator/=(const wxULongLongWx& ll); wxULongLongWx operator%(const wxULongLongWx& ll) const; void Divide(const wxULongLongWx& divisor, wxULongLongWx& quotient, wxULongLongWx& remainder) const; // input/output // return the string representation of this number wxString ToString() const; void *asArray() const; #if wxUSE_STD_IOSTREAM friend WXDLLIMPEXP_BASE wxSTD ostream& operator<<(wxSTD ostream&, const wxULongLongWx&); #endif // wxUSE_STD_IOSTREAM friend WXDLLIMPEXP_BASE wxString& operator<<(wxString&, const wxULongLongWx&); #if wxUSE_STREAMS friend WXDLLIMPEXP_BASE class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxULongLongWx&); friend WXDLLIMPEXP_BASE class wxTextInputStream& operator>>(class wxTextInputStream&, wxULongLongWx&); #endif private: // long is at least 32 bits, so represent our 64bit number as 2 longs unsigned long m_hi; unsigned long m_lo; #ifdef wxLONGLONG_TEST_MODE void Check() { wxASSERT( (m_ll >> 32) == m_hi && (unsigned long)m_ll == m_lo ); } wxULongLong_t m_ll; #endif // wxLONGLONG_TEST_MODE }; #endif // wxUSE_LONGLONG_WX // ---------------------------------------------------------------------------- // binary operators // ---------------------------------------------------------------------------- inline bool operator<(long l, const wxLongLong& ll) { return ll > l; } inline bool operator>(long l, const wxLongLong& ll) { return ll < l; } inline bool operator<=(long l, const wxLongLong& ll) { return ll >= l; } inline bool operator>=(long l, const wxLongLong& ll) { return ll <= l; } inline bool operator==(long l, const wxLongLong& ll) { return ll == l; } inline bool operator!=(long l, const wxLongLong& ll) { return ll != l; } inline wxLongLong operator+(long l, const wxLongLong& ll) { return ll + l; } inline wxLongLong operator-(long l, const wxLongLong& ll) { return wxLongLong(l) - ll; } inline bool operator<(unsigned long l, const wxULongLong& ull) { return ull > l; } inline bool operator>(unsigned long l, const wxULongLong& ull) { return ull < l; } inline bool operator<=(unsigned long l, const wxULongLong& ull) { return ull >= l; } inline bool operator>=(unsigned long l, const wxULongLong& ull) { return ull <= l; } inline bool operator==(unsigned long l, const wxULongLong& ull) { return ull == l; } inline bool operator!=(unsigned long l, const wxULongLong& ull) { return ull != l; } inline wxULongLong operator+(unsigned long l, const wxULongLong& ull) { return ull + l; } inline wxLongLong operator-(unsigned long l, const wxULongLong& ull) { wxULongLong ret = wxULongLong(l) - ull; return wxLongLong((wxInt32)ret.GetHi(),ret.GetLo()); } #if wxUSE_LONGLONG_NATIVE && wxUSE_STREAMS WXDLLIMPEXP_BASE class wxTextOutputStream &operator<<(class wxTextOutputStream &stream, wxULongLong_t value); WXDLLIMPEXP_BASE class wxTextOutputStream &operator<<(class wxTextOutputStream &stream, wxLongLong_t value); WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &stream, wxULongLong_t &value); WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &stream, wxLongLong_t &value); #endif // ---------------------------------------------------------------------------- // Specialize numeric_limits<> for our long long wrapper classes. // ---------------------------------------------------------------------------- #if wxUSE_LONGLONG_NATIVE // VC6 is known to not have __int64 specializations of numeric_limits<> in its // <limits> anyhow so don't bother including it, especially as it results in // tons of warnings because the standard header itself uses obsolete template // specialization syntax. #ifndef __VISUALC6__ #include <limits> namespace std { #ifdef __clang__ // libstdc++ (used by Clang) uses struct for numeric_limits; unlike gcc, clang // warns about this template<> struct numeric_limits<wxLongLong> : public numeric_limits<wxLongLong_t> {}; template<> struct numeric_limits<wxULongLong> : public numeric_limits<wxULongLong_t> {}; #else template<> class numeric_limits<wxLongLong> : public numeric_limits<wxLongLong_t> {}; template<> class numeric_limits<wxULongLong> : public numeric_limits<wxULongLong_t> {}; #endif } // namespace std #endif // !VC6 #endif // wxUSE_LONGLONG_NATIVE // ---------------------------------------------------------------------------- // Specialize wxArgNormalizer to allow using wxLongLong directly with wx pseudo // vararg functions. // ---------------------------------------------------------------------------- // Notice that this must be done here and not in wx/strvararg.h itself because // we can't include wx/longlong.h from there as this header itself includes // wx/string.h which includes wx/strvararg.h too, so to avoid the circular // dependencies we can only do it here (or add another header just for this but // it doesn't seem necessary). #include "wx/strvararg.h" template<> struct WXDLLIMPEXP_BASE wxArgNormalizer<wxLongLong> { wxArgNormalizer(wxLongLong value, const wxFormatString *fmt, unsigned index) : m_value(value) { wxASSERT_ARG_TYPE( fmt, index, wxFormatString::Arg_LongLongInt ); } wxLongLong_t get() const { return m_value.GetValue(); } wxLongLong m_value; }; #endif // wxUSE_LONGLONG #endif // _WX_LONGLONG_H
[ "mounir.idrassi@idrix.fr" ]
mounir.idrassi@idrix.fr
63eb38d6440407bf20593a40f85e22283abe807f
60bb67415a192d0c421719de7822c1819d5ba7ac
/blazetest/src/mathtest/smatdmatadd/DCbD3x3a.cpp
28862c7ee014648b7c2f40916960614f7b11343b
[ "BSD-3-Clause" ]
permissive
rtohid/blaze
48decd51395d912730add9bc0d19e617ecae8624
7852d9e22aeb89b907cb878c28d6ca75e5528431
refs/heads/master
2020-04-16T16:48:03.915504
2018-12-19T20:29:42
2018-12-19T20:29:42
165,750,036
0
0
null
null
null
null
UTF-8
C++
false
false
3,862
cpp
//================================================================================================= /*! // \file src/mathtest/smatdmatadd/DCbD3x3a.cpp // \brief Source file for the DCbD3x3a sparse matrix/dense matrix addition math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribute it and/or modify it under // the terms of the New (Revised) BSD License. Redistribution and use in source and binary // forms, with or without modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // 3. Neither the names of the Blaze development group nor the names of its contributors // may be used to endorse or promote products derived from this software without specific // prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT // SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED // TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. */ //================================================================================================= //************************************************************************************************* // Includes //************************************************************************************************* #include <cstdlib> #include <iostream> #include <blaze/math/CompressedMatrix.h> #include <blaze/math/DiagonalMatrix.h> #include <blaze/math/StaticMatrix.h> #include <blazetest/mathtest/Creator.h> #include <blazetest/mathtest/smatdmatadd/OperationTest.h> #include <blazetest/system/MathTest.h> //================================================================================================= // // MAIN FUNCTION // //================================================================================================= //************************************************************************************************* int main() { std::cout << " Running 'DCbD3x3a'..." << std::endl; using blazetest::mathtest::TypeA; using blazetest::mathtest::TypeB; try { // Matrix type definitions using DCb = blaze::DiagonalMatrix< blaze::CompressedMatrix<TypeB> >; using D3x3a = blaze::DiagonalMatrix< blaze::StaticMatrix<TypeA,3UL,3UL> >; // Creator type definitions using CDCb = blazetest::Creator<DCb>; using CD3x3a = blazetest::Creator<D3x3a>; // Running the tests for( size_t i=0UL; i<=3UL; ++i ) { RUN_SMATDMATADD_OPERATION_TEST( CDCb( 3UL, i ), CD3x3a() ); } } catch( std::exception& ex ) { std::cerr << "\n\n ERROR DETECTED during sparse matrix/dense matrix addition:\n" << ex.what() << "\n"; return EXIT_FAILURE; } return EXIT_SUCCESS; } //*************************************************************************************************
[ "klaus.iglberger@gmail.com" ]
klaus.iglberger@gmail.com
43c1ae3460e70603e7de0a4f596f7d56c94551c5
21c3760ef7b8c2848abc65f53fb6b64ab9b35687
/any_log/input_name_dlg.cpp
3cc873fc3050f7838bb5a3501d1b221e52c70912
[]
no_license
imbaya2466/AnyLog
a561b7b1c972534aac33ae1e74956cd482ef9992
d1eba70cc1701257763e1aecb837b53f0233a025
refs/heads/master
2020-05-19T08:01:25.671052
2019-05-18T12:53:37
2019-05-18T12:53:37
184,911,643
0
0
null
null
null
null
UTF-8
C++
false
false
860
cpp
/* * Copyright (c) 2019 The AnyLog project authors. All Rights Reserved. * File name: input name dlg * Description: input name dlg * * Author: yao * Version: 1.0.0.0 * Date: 2019-04-28 10:45:00 * Description: First Edit */ #include "resource.h" #include "stdafx.h" #include "input_name_dlg.h" LRESULT InputNameDlg::OnInitDialog(UINT, WPARAM, LPARAM, BOOL &) { edit_.Attach(GetDlgItem(ID_NAMEDLG_EDIT)); CenterWindow(GetParent()); return true; } LRESULT InputNameDlg::OnClose(UINT, WPARAM wParam, LPARAM, BOOL &) { EndDialog(LOWORD(wParam)); return 0; } LRESULT InputNameDlg::OnBnClickedCancel(WORD, WORD id, HWND, BOOL &) { EndDialog(id); return 0; } LRESULT InputNameDlg::OnBnClickedOk(WORD, WORD id, HWND, BOOL &) { CHAR sz_string[512]; edit_.GetLine(0, sz_string, 512); name_ = sz_string; EndDialog(id); return 0; }
[ "yaoayang@yaoayang-PC1" ]
yaoayang@yaoayang-PC1
d15728cc5ee74c9f9dfafe79edda1df15e4faef0
e0078fc300c4c586f66a7973cacabbd913209ce0
/customBadges/config.h
f093f7a50d89396eed2637ec28967305d40e7a98
[]
no_license
Bluscream/TS3PatchExtensions
c2d206fce88914a38ed76f04a8dca1303db7b7a9
7abb2cf830543a08396dcba5caf188c91f756199
refs/heads/master
2021-12-23T09:12:56.224695
2019-06-22T17:48:29
2019-06-22T17:48:29
172,276,693
1
0
null
2021-12-11T21:32:19
2019-02-23T23:48:34
C++
UTF-8
C++
false
false
1,384
h
#pragma once #include <vector> #include <fstream> #include <string> #include <sstream> #include <QSqlDatabase> #include <QSqlQuery> #include "QtDownloader.h" using namespace std; struct Badge { Badge(string uid, string name, string desc, string url, string fileName) { this->uid = uid; this->name = name; this->description = desc; this->url = url; this->fileName = fileName; } string uid; string name; string description; string url; string fileName; }; class Config { public: Config() { }; ~Config() { }; bool overwolfBadge = false; vector<string> badges = { "94ec66de-5940-4e38-b002-970df0cf6c94" }; vector<int> badgeIDs = { 3 }; string configDirectory; string directory; string configName = "config.ini"; string iconURL = "https://raw.githubusercontent.com/exp111/TS3PatchExtensions/master/customBadges/icons/"; unsigned badgeCount = 0; //uid,name,description,filename vector<Badge> allBadges; void setConfigDirectory(string dir) { this->configDirectory = dir; }; void setDirectory(string directory) { this->directory = directory; }; bool readDatabase(); void readConfigLine(vector<string> results); bool readConfig(); bool writeConfig(); string buildBadges(); int findBadgeID(string GUID); string getIconPath(string iconName, bool largeIcon); void updateIcons(); private: QtDownloader* downloader = nullptr; }; extern Config* config;
[ "theexp111@gmail.com" ]
theexp111@gmail.com
fa809d1d0e7d799e62c23eb6867f0d72b6af73e6
86032d041f2d69cd53d8e39dc905b43b8a259642
/От Влада/3_semester/qt_projects/Map/widget.cpp
991e2371de77457b72de909a4a595f7eb1c37a58
[]
no_license
edirab/Studying-Qt
317477316c2acf992d63da37176d0ad9d1328bbc
2fbebea58b6e456a0478dd85597c0ff35c707c79
refs/heads/main
2023-04-30T22:06:53.141315
2021-05-21T12:44:35
2021-05-21T12:44:35
304,873,190
0
0
null
null
null
null
UTF-8
C++
false
false
1,123
cpp
#include "widget.h" Widget::Widget(QWidget *parent) : QWidget(parent) { dt=5; V=0; psi=0; X=0; Y=0; time = new QTimer (this); setupUi(this); connect(btnStartTimer,SIGNAL(clicked(bool)),SLOT(startTimer(bool))); connect(btnClear,SIGNAL(clicked(bool)),wgtMap,SLOT(scaleReset())); connect(btnDown,SIGNAL(clicked(bool)),wgtMap,SLOT(moveDown())); connect(btnUp,SIGNAL(clicked(bool)),wgtMap,SLOT(moveUp())); connect(btnLeft,SIGNAL(clicked(bool)),wgtMap,SLOT(moveLeft())); connect(btnRight,SIGNAL(clicked(bool)),wgtMap,SLOT(moveRight())); connect(time,SIGNAL(timeout()), SLOT(tick())); connect(this, SIGNAL(setXY(float,float)),wgtMap,SLOT(setXY(float,float))); } Widget::~Widget() { } void Widget::startTimer(bool status) { V = edtV->text().toFloat(); psi = edtPsi->text().toFloat(); if (status){ V=edtV->text().toFloat(); psi=edtPsi->text().toFloat(); time->start(dt); } else time->stop(); } void Widget::tick() { X+=dt*0.01*V*cos(psi/57.3); Y+=dt*0.01*V*sin(psi/57.3); emit setXY(X,Y); qDebug()<<X<<" "<<Y; }
[ "edirab@yandex.ru" ]
edirab@yandex.ru
92d0d20fb51836a4625ab694e2962332cef1ae4a
61be38e370b313aa4d31241d1972dd86ebb72e90
/Group8/Components/DashComponent.cpp
9db38b838e9f8cad915bef99345c168df6940460
[]
no_license
QuirkyTurtlehs/Cokora
8a52af522ed0e70ff05317ab2ed31fd49dc750b0
b26684cbfc777ab17849dff9064522042b88ec31
refs/heads/master
2021-01-03T16:27:27.901334
2020-02-13T01:28:26
2020-02-13T01:28:26
240,151,094
0
0
null
null
null
null
UTF-8
C++
false
false
6,377
cpp
#include "DashComponent.h" #include "Components/SphereComponent.h" #include "World/DashInteractables/DashInteractableActor.h" #include "Player/AbilityStateComponent.h" #include "Player/PlayerCharacter.h" #include "GameFramework/CharacterMovementComponent.h" #include "Components/ArrowComponent.h" #include "Player/CharacterRotationComponent.h" UDashComponent::UDashComponent() { PrimaryComponentTick.bCanEverTick = true; } void UDashComponent::BeginPlay() { Super::BeginPlay(); OwningChar->GetAbilityStateComponent()->AbilityStateChanged.AddDynamic( this, &UDashComponent::AbilityStateChanged ); OnComponentBeginOverlap.AddDynamic( this, &UDashComponent::OnDashBeginOverlap ); OnComponentEndOverlap.AddDynamic( this, &UDashComponent::OnDashEndOverlap ); MaxWalkSpeed = OwningChar->GetCharacterMovement()->MaxWalkSpeed; } void UDashComponent::TickComponent( float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction ) { Super::TickComponent( DeltaTime, TickType, ThisTickFunction ); if( !bIsActivated ) return; if( bIsDashing && bShortDistanceDash ) { ShortDistanceDashLerp( DeltaTime ); return; } else if( bIsDashing && !bShortDistanceDash ) { MovementSpeedLerp( DeltaTime ); } } bool UDashComponent::IsOverlappingDashable() { if( IsOverlappingActor( HitDashable ) ) { return true; } else { return false; } } void UDashComponent::SetAbilityActive() { bIsActivated = true; } void UDashComponent::AbilityStateChanged( EAbilityState NewState, EAbilityState PreviousState ) { if( !bIsActivated ) return; if( NewState == EAbilityState::AS_Dash || NewState == EAbilityState::AS_AirDash ) { Dash(); } else if( NewState == EAbilityState::AS_ShortDash ) { bShortDistanceDash = true; Dash(); } if( PreviousState == EAbilityState::AS_AirDash ) { StopDash(); } if( PreviousState == EAbilityState::AS_ShortDash ) { bShortDistanceDash = false; StopDash(); } } void UDashComponent::DashHit( class ADashInteractableActor* HitActor, APlayerCharacter* Char ) { if( !bIsActivated ) return; if( bIsDashing ) { OnDashHit.Broadcast(); HitActor->DashHit( Char ); HitDashable = nullptr; } } void UDashComponent::Dash() { bIsDashing = true; OnDash.Broadcast(); SetVariables(); OwningChar->RotationComponent->bInputDisabled = true; //UE_LOG( LogTemp, Warning, TEXT( "Ability state is dash" ) ); TargetVelocity = OwningChar->GetActorForwardVector() * DashSpeed; if( HitDashable && OwningChar->GetAbilityStateComponent()->GetAbilityState() == EAbilityState::AS_AirDash ) { DashHit( HitDashable, OwningChar ); // StopDash(); } if( bShortDistanceDash ) { InitialLocation = OwningChar->GetActorLocation(); TargetLocation = OwningChar->GetActorLocation() + OwningChar->GetActorForwardVector() * -50.f; } } void UDashComponent::StopDash() { if( bShortDistanceDash && HitDashable ) { DashHit( HitDashable, OwningChar ); } ResetVariables(); OwningChar->GetCharacterMovement()->Velocity = OwningChar->GetCharacterMovement()->Velocity.GetClampedToMaxSize( MaxWalkSpeed ); //UE_LOG(LogTemp, Warning, TEXT("StopDash is run")); } void UDashComponent::OnDashBeginOverlap( UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult & SweepResult ) { if( ADashInteractableActor* Hit = Cast<ADashInteractableActor>( OtherActor ) ) { HitDashable = Cast<ADashInteractableActor>( OtherActor ); if( OtherActor->IsA( Bush ) ) { if( bIsDashing ) { DashHit( Hit, OwningChar ); return; } //UE_LOG( LogTemp, Error, TEXT( "Hit item is a bush" ) ); } if( bIsDashing && !bShortDistanceDash ) { if( HitDashable ) { DashHit( HitDashable, OwningChar ); StopDash(); } } else { //bShortDistanceDash = true; } } } void UDashComponent::OnDashEndOverlap( UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex ) { if( OtherActor == HitDashable && !bIsDashing ) { HitDashable = nullptr; } } void UDashComponent::MovementSpeedLerp( float DeltaTime ) { LerpAlpha += DeltaTime * ( 1.f / DashDuration ); //UE_LOG( LogTemp, Warning, TEXT( "LerpAlpha: %f" ), LerpAlpha ); if( LerpAlpha >= 1.f ) { StopDash(); return; } float TargetSpeedX = FMath::Lerp( OwningChar->GetVelocity().X, TargetVelocity.X, LerpAlpha ); float TargetSpeedY = FMath::Lerp( OwningChar->GetVelocity().Y, TargetVelocity.Y, LerpAlpha ); NewVelocity = FVector( TargetSpeedX, TargetSpeedY, 0.f ); OwningChar->GetCharacterMovement()->Velocity = NewVelocity; } void UDashComponent::ShortDistanceDashLerp( float DeltaTime ) { //UE_LOG( LogTemp, Warning, TEXT( "ShortDistanceDashLerp is run" ) ); OwningChar->PrintEnum( EAbilityState::AS_Dash ); LerpAlpha += DeltaTime * 5.f; if( !bBool && LerpAlpha >= 1.f ) { LerpAlpha = 0.f; InitialLocation = OwningChar->GetActorLocation(); TargetLocation = OwningChar->GetActorLocation() + OwningChar->GetActorForwardVector() * 50.f; bBool = true; } else if( bBool && LerpAlpha >= 0.8f ) { StopDash(); return; } float TargetLocationX; float TargetLocationY; if( !bBool ) { TargetLocationX = FMath::Lerp( InitialLocation.X, TargetLocation.X, LerpAlpha ); TargetLocationY = FMath::Lerp( InitialLocation.Y, TargetLocation.Y, LerpAlpha ); } else { TargetLocationX = FMath::Lerp( OwningChar->GetActorLocation().X, TargetLocation.X, LerpAlpha ); TargetLocationY = FMath::Lerp( OwningChar->GetActorLocation().Y, TargetLocation.Y, LerpAlpha ); } FVector NewLocation = FVector( TargetLocationX, TargetLocationY, OwningChar->GetActorLocation().Z ); OwningChar->SetActorLocation( NewLocation ); } void UDashComponent::SetVariables() { OwningChar->GetCharacterMovement()->MaxWalkSpeed = DashSpeed; OwningChar->GetCharacterMovement()->MaxAcceleration = 10000.f; OwningChar->GetCharacterMovement()->GroundFriction = 0.f; } void UDashComponent::ResetVariables() { LerpAlpha = 0.f; bIsDashing = false; bShortDistanceDash = false; bBool = false; OwningChar->RotationComponent->bInputDisabled = false; OwningChar->GetCharacterMovement()->MaxWalkSpeed = 400.f; OwningChar->GetCharacterMovement()->MaxAcceleration = 2048.f; OwningChar->GetCharacterMovement()->GroundFriction = 8.f; }
[ "38839218+QuirkyTurtlehs@users.noreply.github.com" ]
38839218+QuirkyTurtlehs@users.noreply.github.com
fe66163f7b0a4a23f201430407a1fcd22681cdd6
fb1fc28ddce9e0092ecdce00340bbbc3f66b6ec5
/d01/ex03/srcs/main.cpp
635061861c9bac5c78bb506fede7aaf3eae17c47
[]
no_license
anstadnik/CPP_pool
a20b020433ea317938b3291b313444ca0303b6a3
0af45b506764fbadf8856b3562f66f8553d21fd7
refs/heads/master
2023-09-05T05:29:34.038747
2018-04-17T08:49:33
2018-04-17T08:49:33
428,276,607
0
0
null
null
null
null
UTF-8
C++
false
false
183
cpp
#include "Zombie.hpp" #include "ZombieHorde.hpp" #include <time.h> #include <stdlib.h> int main(void) { srand(time(NULL)); ZombieHorde horde(20); horde.announce(); return (0); }
[ "astadnik@student.unit.ua" ]
astadnik@student.unit.ua
f97992030c13c63fda022c9a39b3b7ae7496e1a1
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/External_Libraries/Archives/glux/include/glux_GL_SGIS_point_line_texgen.h
e0a15a03d788ca890e5ebf8ff830147225b34029
[ "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,068
h
// -------------------------------------------------------- // Generated by glux perl script (Wed Mar 31 17:19:35 2004) // // Sylvain Lefebvre - 2002 - Sylvain.Lefebvre@imag.fr // -------------------------------------------------------- #include "glux_no_redefine.h" #include "glux_ext_defs.h" #include "gluxLoader.h" #include "gluxPlugin.h" // -------------------------------------------------------- // Plugin creation // -------------------------------------------------------- #ifndef __GLUX_GL_SGIS_point_line_texgen__ #define __GLUX_GL_SGIS_point_line_texgen__ GLUX_NEW_PLUGIN(GL_SGIS_point_line_texgen); // -------------------------------------------------------- // Extension conditions // -------------------------------------------------------- // -------------------------------------------------------- // Extension defines // -------------------------------------------------------- #ifndef GL_EYE_DISTANCE_TO_POINT_SGIS # define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 #endif #ifndef GL_OBJECT_DISTANCE_TO_POINT_SGIS # define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 #endif #ifndef GL_EYE_DISTANCE_TO_LINE_SGIS # define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 #endif #ifndef GL_OBJECT_DISTANCE_TO_LINE_SGIS # define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 #endif #ifndef GL_EYE_POINT_SGIS # define GL_EYE_POINT_SGIS 0x81F4 #endif #ifndef GL_OBJECT_POINT_SGIS # define GL_OBJECT_POINT_SGIS 0x81F5 #endif #ifndef GL_EYE_LINE_SGIS # define GL_EYE_LINE_SGIS 0x81F6 #endif #ifndef GL_OBJECT_LINE_SGIS # define GL_OBJECT_LINE_SGIS 0x81F7 #endif // -------------------------------------------------------- // Extension gl function typedefs // -------------------------------------------------------- // -------------------------------------------------------- // Extension gl functions // -------------------------------------------------------- namespace glux { } // namespace glux // -------------------------------------------------------- #endif // --------------------------------------------------------
[ "quhang@stanford.edu" ]
quhang@stanford.edu
77b623759071681b5c33517208fb7974771ed243
d03b4b50379bd3ecfa4fdbbb1d446b8f19a66a97
/searchinfo.h
4bdad7534233e5c9b0cda414ded16063609ace64
[]
no_license
tidysong/Listen_QT
50650fa62b41226b72cddd0fd7842124e6ac5fe0
df73e00dd7658c04cd6a508daec29128d3e0abf9
refs/heads/master
2023-06-25T22:15:17.097627
2021-07-21T03:01:58
2021-07-21T03:01:58
384,450,943
0
0
null
null
null
null
UTF-8
C++
false
false
569
h
#ifndef SEARCHINFO_H #define SEARCHINFO_H #include <QString> class searchInfo { public: searchInfo(QString id ,QString title, QString url, QString lyricsUrl, QString author, QString album,QString time); searchInfo(QString id ,QString title, QString url, QString lyricsUrl, QString author, QString album,QString time,QString InfoId); searchInfo(QString title, QString url, QString author, QString time, QString createTime); void setCreateTime(QString); QString id,title,url,lyricsUrl,author,album,time,InfoId,createTime; }; #endif // SEARCHINFO_H
[ "3068569994@qq.com" ]
3068569994@qq.com
30d34c81f55afbf3d25cf840cd78deeab68e6ff8
e3c15190312b8778c92ea3d5f1a17add8819c717
/LC_00742_ClosestLeafInABinaryTree.cpp
eb5f9c62a8f00149dcd4deb365bea53e9136e04e
[]
no_license
jordandong/myleetcodes
a0d36ab3fa25e1f2d424ba2545f4359767ef98b6
99fb567982111521abcb7fc1a477f5d1743cda33
refs/heads/master
2021-11-22T12:22:31.870593
2021-08-31T05:32:33
2021-08-31T05:32:33
6,758,451
0
3
null
null
null
null
UTF-8
C++
false
false
2,605
cpp
/* Given a binary tree where every node has a unique value, and a target key k, find the closest leaf node to target k in the tree. A node is called a leaf if it has no children. In the following examples, the input tree is represented in flattened form row by row. The actual root tree given will be a TreeNode object. Example 1: Input: root = [1, 3, 2], k = 1 Diagram of binary tree: 1 / \ 3 2 Output: 2 (or 3) Explanation: Either 2 or 3 is the closest leaf node to 1. Example 2: Input: root = [1], k = 1 Output: 1 Explanation: The closest leaf node is the root node itself. Example 3: Input: root = [1,2,3,4,null,null,null,5,null,6], k = 2 Diagram of binary tree: 1 / \ 2 3 / 4 / 5 / 6 Output: 3 Explanation: The leaf node with value 3 (and not the leaf node with value 6) is closest to the node with value 2. Note: 1. root represents a binary tree with at least 1 node and at most 1000 nodes. 2. Every node has a unique node.val in range [1, 1000]. 3. There exists some node in the given binary tree for which node.val == k. */ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int findClosestLeaf(TreeNode* root, int k) { set<int> leaf, visited; vector<int> g[1001]; dfs(root, leaf, visited, g); queue<int> Q; Q.push(k); visited.insert(k); while (!Q.empty()) { int val = Q.front(); Q.pop(); if (leaf.find(val) != leaf.end()) return val; for (auto v : g[val]) { if (visited.find(v) == visited.end()) { visited.insert(v); Q.push(v); } } } return 0; } private: void dfs(TreeNode* root, set<int> &leaf, set<int> &visited, vector<int>* g) { if ((!root -> left) && (!root -> right)) { leaf.insert(root -> val); return; } if (root -> left) { g[root -> val].push_back(root -> left -> val); g[root -> left -> val].push_back(root -> val); dfs(root -> left, leaf, visited, g); } if (root -> right) { g[root -> val].push_back(root -> right -> val); g[root -> right -> val].push_back(root -> val); dfs(root -> right, leaf, visited, g); } } };
[ "noreply@github.com" ]
jordandong.noreply@github.com
0cea966c4f0b3a37ed1e472928a42b4b7651d559
5fe10205b1db221dd3550c86f1289baee14037e3
/UVA/500.cpp
8a9e2cf57bb47fc9eea4b51e4df37f268944fee4
[]
no_license
alamgir5/Online-Judge
ce54da37a0a22d34a9b23a61e451829dc0a28201
b840199d79339a3d44d04b72ef029ecefa223ac1
refs/heads/main
2023-03-12T08:20:58.212830
2021-03-02T13:31:23
2021-03-02T13:31:23
341,468,341
1
0
null
null
null
null
UTF-8
C++
false
false
916
cpp
#include<bits/stdc++.h> using namespace std; #define faster ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define sq(x) (x)*(x) #define PI acos(-1.0) #define all(x) x.begin(),x.end() #define nl '\n' typedef long long int ll; typedef unsigned long long int llu; int main() { int a[1500]; int n,i,j,temp,m,x; while(cin>>n) { a[0]=1; m=1; temp = 0; for(i=1; i<=n; i++) { for(j=0; j<m; j++) { x = a[j]*i+temp; a[j]=x%10; temp = x/10; } while(temp>0) { a[m]=temp%10; temp = temp/10; m++; } } cout<<n<<'!'<<endl; for(i=m-1; i>=0; i--) cout<<a[i]; cout<<endl; } return 0; }
[ "noreply@github.com" ]
alamgir5.noreply@github.com
b64c0bacc464b64ff8060ae4eaaf81d3654dbc72
756281069c66b14037f1fc507155e807fbc7da72
/week2_algorithmic_warmup/5_fibonacci_number_again/fibonacci_huge.cpp
296d5f0c7e296896b64e65c88a3096a0f4ff3dd7
[ "MIT" ]
permissive
Abdulrahman-Khalid/Algorithmic-Toolbox-Coursera-San-Diego
937bcd3ea74b70b6d28f9bb0a93cd82f3590347c
09c3bb9e271c6d585fc53b216ae19f3d8ce82cf8
refs/heads/master
2023-06-04T18:58:40.723492
2021-06-14T18:55:39
2021-06-14T18:55:39
264,281,991
8
3
null
2020-05-15T22:15:29
2020-05-15T19:35:05
C++
UTF-8
C++
false
false
550
cpp
#include <bits/stdc++.h> using namespace std; typedef vector<int> VI; #define pb push_back void get_fibonacci_huge_naive() { long long n, m; scanf("%lld %lld", &n, &m); if (n == 0 || n == 1) { printf("%lld", n); return; } VI a; a.pb(0); a.pb(1); int i = 2; while (i <= n) { a.pb((a[i - 1] + a[i - 2]) % m); if ((a[i] == 0 && a[i - 1] == 1)) break; ++i; } printf("%d", a[(n % i)]); } int main() { get_fibonacci_huge_naive(); return 0; }
[ "abdulrahman.khalid@bk.ru" ]
abdulrahman.khalid@bk.ru
ae13d4adcfd675b982906b29e447c2321eb5a927
2ad0f289d045cbb147ce7410a80f7fa50e23e3ff
/openframeworks/src/Creature/Creature.h
48501e651c7bb2300a4c0bfa37fc99a69ad9c5f2
[]
no_license
imclab/socialsqncr
291216cad20053835cab8efe3011641c1efc97e0
7c145e43e83894927a3f5d9337c45442ee8352b1
refs/heads/master
2020-05-29T11:43:20.121233
2011-04-22T00:08:20
2011-04-22T00:08:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,381
h
/* * Creature.h * openFrameworks * * Created by Nick Hardeman on 3/13/10. * Copyright 2010 __MyCompanyName__. All rights reserved. * */ #ifndef _CREATURE_ #define _CREATURE_ #include "Constants.h" #include "CreatureSegment.h" #include "MovementSegment.h" #include "ofx3DUtils.h" #include "ofxVec3f.h" #include "ColorPalette.h" // flocking code based on Zach Lieberman's typedef struct{ int count; ofxVec3f sum; float minDist; float strength; } flockingForce; class Creature { public: flockingForce cohesion; flockingForce seperation; flockingForce alignment; int numMovementPts; int numBodyPts; int numSegmentPts; float spineLength; // length between pts // //int status; int type; // what type of creature is it? ie CREATURE_TYPE_RECTANGLES. located in Constants, set in derived class constructor // int segmentIndex; // current active segment // float length; // the length of the creature // float motionPct; // used to dampen forces in update // 0 - 1 bool bRemoveMe; // should I be removed? // bool bDying; bool bRenderWireFrame; //unsigned int ID; unsigned int spawnTime; // when was this cat created? we need to know so that we can kill the mofo later // unsigned int deathTime; // know when this cat is going to die so that we can interpolate and add color fades to grey and shit // float deathPct; // calculated in Main Creature class update function so that it can be applied to sub classes // float deathStartPct; // at what pct should the creature begin to die 1 - 0 // 0 is completely deadsky // float tentacleDivLength; float segAngleInc; bool bHasTexture; bool bFirstRun; // set atts only on first run // Particle3D tagParticle; // used to position the texture // // rock, paper + scissors rules, if close enough, apply rules // float lesserPct, greaterPct, equalPct; // used to send to SC // vector <CreatureSegment> spine; // used to render worm // vector <MovementSegment> movementPts; // used to store movement of user // vector <ofxVec3f*> planeNormals; vector <ofxVec3f*> planeCenters; int totalPlaneNormals; vector <ofxVec3f> extrusionPts; // used for storing calcs of rec and spike extrusions for tangles and spiky // //string name; ofRectangle nameRect; ofTexture texture; // colors for highlighting of segments and extremeties // ofColor segmentHighColor; ofColor segmentBaseColor; ofColor extremetyHighColor; // tendrils, tangles, spikes // ofColor extremetyBaseColor; bool bNewSegmentSelected; // keep track of when segments are entered so that we know when to send out events // ~Creature(); virtual void initiate(int $numPts, int $numSegmentPts, float $maxRadius, float $spineLength, float $extremetySpacing, float $tentacleDivLength); void setUpForRecording(float $x, float $y, float $radius); void setCurrentRecordingSegmentLocation(int $segmentIndex, float $x, float $y); void reset( float $radius ); void setRandomRecordingSegmentLocations(float $radius); void setMovementPtsRadius(ofxVec3f $center, float $targetRadius, float $radiusScalar); void setRandomRecordingNotesHit(); void setBodyRadiusFromMotion( float $motionPct, float $midPct, float $minRadius, float $maxRadius ); void setMovementAtts( float $motionPct ); void setLifeAtts( float $healthPct, int $lifeSpan, int $lifeSpanDiff, float $deathStartPct ); void startDying( float $lifeSpan ); void setSegmentColors( int $r, int $g, int $b, int $a, int $low_r, int $low_g, int $low_b, int $low_a ); void setExtremetyColors( int $r, int $g, int $b, int $a, int $low_r, int $low_g, int $low_b, int $low_a ); void setColors( int $r, int $g, int $b, int $a, int $low_r, int $low_g, int $low_b, int $low_a ); void addForFlocking( Creature* $cr ); void addFlockingForces(); void resetFlockingForces(); void setCreatureAlongVector(ofxVec3f $centerAxis, ofxVec3f $directionNormal); void setTextureFromPixels(unsigned char* $pixels); void advanceSegment( ); void setActiveSegment(int $segmentIndex); void getNotesForSegment( int* $array, int $segmentIndex); void constrain3D(float $width, float $height, float $depth); void constrain3D( const ofxVec3f& $minBounds, const ofxVec3f& $maxBounds ); virtual void update(); virtual void draw(); // going to override in each creature, so should be virtual so that we can call it the same in creature // }; #endif
[ "brucedrummond@gmail.com" ]
brucedrummond@gmail.com
7da0a926cd081b30233b9dd270b9963c0b10ec64
90afacda19e37d5dde307471f258fc15980a7143
/boid.cpp
4d579f8ae72d46562846d2612087ccdbbb3c0a7b
[]
no_license
ngm/qboids
793f40c41f4e977265e253b335947c4dc94845ed
75f54dc439df4bdacc415b0d634b9de8dd23cbbd
refs/heads/master
2016-09-06T12:32:07.956465
2011-09-04T15:31:56
2011-09-04T15:31:56
2,281,363
0
0
null
null
null
null
UTF-8
C++
false
false
2,964
cpp
#include "boid.hpp" #include <math.h> #include <QBrush> #include <QPolygonF> #include <QPainter> #include <QPolygonF> #include <QDebug> #define PI 3.14159265 #define NUM_TRAIL_POINTS 250 Boid::Boid(int id, QPointF position) { id_ = id; count_ = 0; trail_.fill(position, NUM_TRAIL_POINTS); setPos(position.x(), position.y()); velocity_ = QPointF( 0.1, 0.1 ); tailOn_ = true; } Boid::~Boid() {} QPointF Boid::velocity() const { return velocity_; } void Boid::setVelocity( QPointF velocity ) { velocity_ = velocity; } QRectF Boid::boundingRect() const { return QRectF( -1, -1, 2, 2 ); } void Boid::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { Q_UNUSED( option ); Q_UNUSED( widget ); painter->setRenderHints( QPainter::Antialiasing ); QPen pen; int baseHue = msSinceStart_ % 359; int trailLength = trail_.size()-1; for ( int pointIndex = 0; pointIndex < trailLength; pointIndex++ ) { if ( trail_.at(pointIndex+1).isNull() ) { continue; } int value; int saturation; // The 'head' of the trail. if ( pointIndex < 50 ) { pen.setWidthF( sin( pointIndex ) + 2 ); saturation = 255 - ( pow( sin( 50*static_cast<float>(NUM_TRAIL_POINTS-pointIndex) ), 2 ) * 200); value = (static_cast<float>(NUM_TRAIL_POINTS-pointIndex)/NUM_TRAIL_POINTS)*255; pen.setBrush( QColor::fromHsv( std::min( baseHue+7*id_, 359 ), saturation, value ) ); painter->setPen( pen ); painter->drawLine( mapFromScene( trail_[pointIndex] ), mapFromScene( trail_[pointIndex+1] ) ); } else if ( pointIndex >= 50 && tailOn_ ) // The rest of the trail. { pen.setWidth( 1 ); value = (static_cast<float>(NUM_TRAIL_POINTS-pointIndex)/NUM_TRAIL_POINTS)*150; saturation = value; pen.setBrush( QColor::fromHsv( std::min( baseHue+7*id_, 359 ), saturation, value ) ); painter->setPen( pen ); painter->drawLine( mapFromScene( trail_[pointIndex] ), mapFromScene( trail_[pointIndex+1] ) ); } // if ( pointIndex > ( NUM_TRAIL_POINTS-150 ) ) { // pen.setWidthF( ( float( (pointIndex-(NUM_TRAIL_POINTS-150)) )/NUM_TRAIL_POINTS ) *160 ); // } } pen.setWidth( 1 ); pen.setBrush( Qt::yellow ); pen.setColor( Qt::yellow ); painter->setPen( pen ); painter->drawEllipse( -2, -2, 4, 4 ); } void Boid::addToTrail( int x, int y ) { QPointF point( x, y ); trail_.pop_back(); trail_.prepend( point ); } void Boid::limitVelocity() { int vlim = 10; float magnitude = sqrt( pow(velocity_.x(),2) + pow(velocity_.y(),2) ); if ( magnitude > vlim ) { setVelocity( ( velocity_ / magnitude ) * vlim ); } } void Boid::setVelocityX( int velX ) { velocity_.setX( velX ); } void Boid::setVelocityY( int velY ) { velocity_.setY( velY ); } void Boid::setMsSinceStart( int msSinceStart ) { msSinceStart_ = msSinceStart; } void Boid::setTail( bool tailOn ) { tailOn_ = tailOn; if ( tailOn == true ) trail_.resize( NUM_TRAIL_POINTS ); else trail_.resize( 50 ); }
[ "ngmather@gmail.com" ]
ngmather@gmail.com
01976a664e41d3c6184da11d2c719c5e98e7b490
772d617dd8cd4537c7391a0c6d78433935379b79
/MCRoughDraft1.ino
4d932817aaa15eb69df9f6772446cde70491d5ce
[]
no_license
Underwater-Robotics-Club/Motor-Control
7467b3b42265b0469e8d3dc41ac390ac9fb987fc
388ffeb8601bd8bcc5c7595fa9b8a8e36b743bd1
refs/heads/master
2020-12-23T08:03:41.890488
2020-01-29T22:14:56
2020-01-29T22:14:56
237,092,492
0
0
null
null
null
null
UTF-8
C++
false
false
7,697
ino
const int M1 = 3; const int M2 = 3; const int M3 = 5; const int M4 = 5; const int M5 = 6; const int M6 = 6; const int M7 = 9; const int M8 = 9; const int M9 = 10; const int M10 = 10; const int M11 = 11; const int M12 = 11; const int buttonpin1 = ; const int buttonpin2 = ; const int buttonpin3 = ; const int buttonpin4 = ; const int buttonpin5 = ; const int buttonpin6 = ; const int buttonpin7 = ; const int buttonpin8 = ; const int buttonpin9 = ; const int buttonpin10 = ; const int buttonpin11 = ; const int buttonpin12 = ; int buttonstate1 = ; int buttonstate2 = ; int buttonstate3 = ; int buttonstate4 = ; int buttonstate5 = ; int buttonstate6 = ; int buttonstate7 = ; int buttonstate8 = ; int buttonstate9 = ; int buttonstate10 = ; int buttonstate11 = ; int buttonstate12 = ; int DUp = ; int DDown = ; int SpinCW = ; int SpinCCW = ; int DRight = ; int DLeft = ; int DForward = ; int DBackward = ; void setup() { pinMode(DUp, INPUT); pinMode(DDown, INPUT); pinMode(SpinCW, INPUT); pinMode(SpinCCW, INPUT); pinMode(DLeft, INPUT); pinMode(DRight, INPUT); pinMode(DForward, INPUT); pinMode(DBackward, INPUT); pinMode(buttonPin1, INPUT); pinMode(buttonPin2, INPUT); pinMode(buttonPin3, INPUT); pinMode(buttonPin4, INPUT); pinMode(buttonPin5, INPUT); pinMode(buttonPin6, INPUT); pinMode(buttonPin7, INPUT); pinMode(buttonPin8, INPUT); pinMode(buttonPin9, INPUT); pinMode(buttonPin10, INPUT); pinMode(buttonPin11, INPUT); pinMode(buttonPin12, INPUT); // SHIELD 1: M1, M2 // SHIELD 2: M3, M4 // SHIELD 3: M5, M6 // SHIELD 4: M7, M8 // SHIELD 5: M9, M10 // SHIELD 6: M11, M12 // Setup Shield 1, Channel A // pinMode(22,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(24,OUTPUT); //Initiates Brake Channel A pin // pinMode(B1, OUTPUT); //initiates Motor Channel A pin speed // Setup Shield 1, Channel B // pinMode(26, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(28, OUTPUT); //Initiates Brake Channel B pin // pinMode(B2, OUTPUT); //initiates Motor Channel B pin speed // //Setup Shield 2, Channel A // pinMode(30,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(32,OUTPUT); //Initiates Brake Channel A pin // pinMode(B3, OUTPUT); //initiates Motor Channel A pin speed // // //Setup Shield 2, Channel B // pinMode(34, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(36, OUTPUT); //Initiates Brake Channel B pin // pinMode(B4, OUTPUT); //initiates Motor Channel B pin speed // // //Setup Shield 3, Channel A // pinMode(38,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(40,OUTPUT); //Initiates Brake Channel A pin // pinMode(T1, OUTPUT); //initiates Motor Channel A pin speed // // //Setup Shield 3, Channel B // pinMode(42, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(44, OUTPUT); //Initiates Brake Channel B pin // pinMode(T2, OUTPUT); //initiates Motor Channel B pin speed // // //Setup Shield 4, Channel A // pinMode(46,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(48,OUTPUT); //Initiates Brake Channel A pin // pinMode(T3, OUTPUT); //initiates Motor Channel A pin speed // // //Setup Shield 4, Channel B // pinMode(50, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(52, OUTPUT); //Initiates Brake Channel B pin // pinMode(T4, OUTPUT); //initiates Motor Channel B pin speed // // //Setup Shield 5, Channel A // pinMode(31,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(51,OUTPUT); //Initiates Brake Channel A pin // pinMode(T5, OUTPUT); //initiates Motor Channel A pin speed // // //Setup Shield 5, Channel B // pinMode(41, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(49, OUTPUT); //Initiates Brake Channel B pin // pinMode(T6, OUTPUT); //initiates Motor Channel B pin speed // // //Setup Shield 6, Channel A // pinMode(35,OUTPUT); //Initiates Motor Channel A pin Direction // pinMode(53,OUTPUT); //Initiates Brake Channel A pin // pinMode(T7, OUTPUT); //initiates Motor Channel A pin speed // // //Setup Shield 6, Channel B // pinMode(39, OUTPUT); //Initiates Motor Channel B pin Direction // pinMode(47, OUTPUT); //Initiates Brake Channel B pin // pinMode(T8, OUTPUT); //initiates Motor Channel B pin speed Serial.begin(9600); } void loop() { if( digitalRead(DDown) == LOW) { for (int motorValue = 0 ; motorValue <= 255; motorValue +=5) { //Establishes forward direction of Channel B digitalWrite(22, HIGH); //Activates Motors 5-12 according to ramped PWM value analogWrite(M5, motorValue); analogWrite(M6, motorValue); analogWrite(M7, motorValue); analogWrite(M8, motorValue); analogWrite(M9, motorValue); analogWrite(M10, motorValue); analogWrite(M11, motorValue); analogWrite(M12, motorValue); while(analogRead(motorValue) > 50 ) { if(digitalRead(DDown) == HIGH) { break; } } } } else if( digitalRead(DUp) == LOW){ for (int motorValue = 0 ; motorValue <= 255; motorValue +=5) { //Establishes Backward direction of Channel B digitalWrite(22, LOW); //Activates Motors 5-12 according to ramped PWM value analogWrite(M5, motorValue); analogWrite(M6, motorValue); analogWrite(M7, motorValue); analogWrite(M8, motorValue); analogWrite(M9, motorValue); analogWrite(M10, motorValue); analogWrite(M11, motorValue); analogWrite(M12, motorValue); while(analogRead(motorValue) > 50 ) { if(digitalRead(DUp) == HIGH) { break; } } } } else if( digitalRead(DRight) == LOW){ for (int motorValue = 0 ; motorValue <= 255; motorValue +=5) { //Establishes Backward direction of Channel B digitalWrite(22, LOW); digitalWrite(22, LOW); digitalWrite(22, LOW); digitalWrite(22, LOW); digitalWrite(22, HIGH); digitalWrite(22, HIGH); digitalWrite(22, HIGH); digitalWrite(22, HIGH); //Activates Motors 5-12 according to ramped PWM value analogWrite(M5, motorValue); analogWrite(M6, motorValue); analogWrite(M7, motorValue); analogWrite(M8, motorValue); analogWrite(M9, motorValue); analogWrite(M10, motorValue); analogWrite(M11, motorValue); analogWrite(M12, motorValue); while(analogRead(motorValue) > 50 ) { if(digitalRead(DRight) == HIGH) { break; } } } } else if( digitalRead(DLeft) == LOW){ for (int motorValue = 0 ; motorValue <= 255; motorValue +=5) { //Establishes Backward direction of Channel B digitalWrite(22, HIGH); digitalWrite(22, HIGH); digitalWrite(22, HIGH); digitalWrite(22, HIGH); digitalWrite(22, LOW); digitalWrite(22, LOW); digitalWrite(22, LOW); digitalWrite(22, LOW); //Activates Motors 5-12 according to ramped PWM value analogWrite(M5, motorValue); analogWrite(M6, motorValue); analogWrite(M7, motorValue); analogWrite(M8, motorValue); analogWrite(M9, motorValue); analogWrite(M10, motorValue); analogWrite(M11, motorValue); analogWrite(M12, motorValue); while(analogRead(motorValue) > 50 ) { if(digitalRead(DLeft) == HIGH) { break; } } } } }
[ "noreply@github.com" ]
Underwater-Robotics-Club.noreply@github.com
be845b1c135bfcdc14c51a70121f426601759962
587e191159ab12e577940251d14558939e602614
/verwrite/stockIT/app/src/main/include/Fuse.Triggers.IPulseTrigger.h
2a8c9f03bdd2e82ec8c4daddfec33600dcd39fd3
[]
no_license
hazimayesh/stockIT
cefcaa402e61108294f8db178ee807faf6b14d61
809381e7e32df270f0b007a6afc7b394453d1668
refs/heads/master
2021-04-09T16:10:23.318883
2017-07-31T21:28:05
2017-07-31T21:28:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
562
h
// This file was generated based on 'C:\Users\Emenike pc\AppData\Local\Fusetools\Packages\Fuse.Triggers\0.43.11\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Object.h> namespace g{ namespace Fuse{ namespace Triggers{ // public abstract interface IPulseTrigger :1768 // { uInterfaceType* IPulseTrigger_typeof(); struct IPulseTrigger { void(*fp_Pulse)(uObject*); static void Pulse(const uInterface& __this) { __this.VTable<IPulseTrigger>()->fp_Pulse(__this); } }; // } }}} // ::g::Fuse::Triggers
[ "egaleme@gmail.com" ]
egaleme@gmail.com
cf9b204f1ce8b767716c4401dbabfd3880491097
cefd6c17774b5c94240d57adccef57d9bba4a2e9
/WebKit/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp
e46e7a46fcf0cceb1bf6762bfdf34baf7fc0e7ba
[ "BSL-1.0" ]
permissive
adzhou/oragle
9c054c25b24ff0a65cb9639bafd02aac2bcdce8b
5442d418b87d0da161429ffa5cb83777e9b38e4d
refs/heads/master
2022-11-01T05:04:59.368831
2014-03-12T15:50:08
2014-03-12T15:50:08
17,238,063
0
1
BSL-1.0
2022-10-18T04:23:53
2014-02-27T05:39:44
C++
UTF-8
C++
false
false
4,187
cpp
/* * Copyright (C) 2011 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "AccessibilityController.h" #include "AccessibilityUIElement.h" #include "InjectedBundle.h" #include "InjectedBundlePage.h" #include "JSAccessibilityController.h" #include <JavaScriptCore/JSRetainPtr.h> #include <WebKit2/WKBundle.h> #include <WebKit2/WKBundlePage.h> #include <WebKit2/WKBundlePagePrivate.h> namespace WTR { PassRefPtr<AccessibilityController> AccessibilityController::create() { return adoptRef(new AccessibilityController); } AccessibilityController::AccessibilityController() { } AccessibilityController::~AccessibilityController() { } void AccessibilityController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception) { setProperty(context, windowObject, "accessibilityController", this, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete, exception); } JSClassRef AccessibilityController::wrapperClass() { return JSAccessibilityController::accessibilityControllerClass(); } #if !PLATFORM(GTK) && !PLATFORM(EFL) PassRefPtr<AccessibilityUIElement> AccessibilityController::rootElement() { WKBundlePageRef page = InjectedBundle::shared().page()->page(); void* root = WKAccessibilityRootObject(page); return AccessibilityUIElement::create(static_cast<PlatformUIElement>(root)); } PassRefPtr<AccessibilityUIElement> AccessibilityController::focusedElement() { WKBundlePageRef page = InjectedBundle::shared().page()->page(); void* root = WKAccessibilityFocusedObject(page); return AccessibilityUIElement::create(static_cast<PlatformUIElement>(root)); } #endif PassRefPtr<AccessibilityUIElement> AccessibilityController::elementAtPoint(int x, int y) { RefPtr<AccessibilityUIElement> uiElement = rootElement(); return uiElement->elementAtPoint(x, y); } // Unsupported methods on various platforms. // As they're implemented on other platforms this list should be modified. #if (!PLATFORM(GTK) && !PLATFORM(COCOA) && !PLATFORM(EFL)) || !HAVE(ACCESSIBILITY) bool AccessibilityController::addNotificationListener(JSValueRef) { return false; } bool AccessibilityController::removeNotificationListener() { return false; } PassRefPtr<AccessibilityUIElement> AccessibilityController::accessibleElementById(JSStringRef attribute) { return nullptr; } void AccessibilityController::logAccessibilityEvents() { } void AccessibilityController::resetToConsistentState() { } JSRetainPtr<JSStringRef> AccessibilityController::platformName() { return JSRetainPtr<JSStringRef>(Adopt, JSStringCreateWithUTF8CString("")); } #endif #if !HAVE(ACCESSIBILITY) && (PLATFORM(GTK) || PLATFORM(EFL)) PassRefPtr<AccessibilityUIElement> AccessibilityController::rootElement() { return nullptr; } PassRefPtr<AccessibilityUIElement> AccessibilityController::focusedElement() { return nullptr; } #endif } // namespace WTR
[ "adzhou@hp.com" ]
adzhou@hp.com
8bcd06929e2a21b6e44a7516993a8788f3f69c8c
258bf3a59ab9e62444f56120516d9f93813fb034
/src/data/DataManager.h
df6df6d95d74b4fe434ab26495b0bd75917b7b72
[]
no_license
kabarsa01/VulkanRender
4ce79f73ef8b9d845740739d08ae8d15170fff03
ff5ef66a04a1c94dcbd8b8deaa46eafca3a32a90
refs/heads/master
2023-08-08T01:57:54.847975
2023-07-31T13:06:03
2023-07-31T13:06:03
233,015,586
3
0
null
2022-01-07T22:54:15
2020-01-10T09:44:47
C++
UTF-8
C++
false
false
4,363
h
#pragma once #include <map> #include <set> #include <string> #include <memory> #include <type_traits> #include <atomic> #include <mutex> #include <unordered_map> #include <array> #include "core/ObjectBase.h" #include "core/Class.h" #include "common/HashString.h" #include "data/Resource.h" #include "messages/MessageSubscriber.h" namespace CGE { class DataManager { public: static DataManager* GetInstance(); static void ShutdownInstance(); void CleanupResources(); bool HasResource(HashString inKey); bool AddResource(ResourcePtr inValue); std::shared_ptr<Resource> GetResource(HashString inKey); template<class T> std::vector<std::shared_ptr<T>> GetResourcesByType(); template<class T> std::shared_ptr<T> GetResourceByType(HashString inKey); template<class T, typename ...ArgTypes> std::shared_ptr<T> RequestResourceByType(HashString inKey, ArgTypes&& ...args); template<class T, typename ...ArgTypes> static std::shared_ptr<T> RequestResourceType(HashString inKey, ArgTypes&& ...args); template<class T> std::unordered_map<HashString, ResourcePtr>& GetResourcesTable(); void DestroyHint(HashString id); protected: std::mutex m_mutex; std::unordered_map<HashString, ResourcePtr> m_resourcesTable; std::unordered_map<HashString, std::unordered_map<HashString, ResourcePtr>> m_resourcesMap; std::vector<HashString> m_deletionHints; private: static DataManager* m_instance; static std::mutex m_staticMutex; MessageSubscriber m_messageSubscriber; std::array<std::vector<ResourcePtr>, 3> m_cleanupChain; uint32_t m_cleanupChainIndex = 0; DataManager(); DataManager(const DataManager& inOther) {} void operator=(const DataManager& inOther) {} virtual ~DataManager(); ResourcePtr GetResource(HashString inKey, std::unordered_map<HashString, ResourcePtr>& inMap); bool DeleteResource(ResourcePtr inValue); bool DeleteResource(HashString key); void HandleUpdate(std::shared_ptr<GlobalPostFrameMessage> updateMsg); void ScanForAbandonedResources(); }; //=========================================================================================== // templated definitions //=========================================================================================== template<class T> std::vector<std::shared_ptr<T>> DataManager::GetResourcesByType() { std::vector< std::shared_ptr<T>> result; { std::scoped_lock<std::mutex> lock(m_mutex); auto it = m_resourcesMap.find(Class::Get<T>().GetName()); if (it != m_resourcesMap.end()) { for (auto& pair : it->second) { result.push_back(std::dynamic_pointer_cast<T>(pair.second)); } } } return result; } //----------------------------------------------------------------------------------- template<class T> inline std::shared_ptr<T> DataManager::GetResourceByType(HashString inKey) { std::scoped_lock<std::mutex> lock(m_mutex); auto it = m_resourcesMap.find(Class::Get<T>().GetName()); if (it != m_resourcesMap.end()) { return std::dynamic_pointer_cast<T>( GetResource(inKey, it->second) ); } return nullptr; } //----------------------------------------------------------------------------------- template<class T, typename ...ArgTypes> inline std::shared_ptr<T> DataManager::RequestResourceByType(HashString inKey, ArgTypes&& ...args) { if (inKey.GetString().empty()) { return nullptr; } HashString className = Class::Get<T>().GetName(); { std::shared_ptr<T> resource = std::dynamic_pointer_cast<T>(GetResource(inKey, m_resourcesMap[className])); if (resource) { return resource; } } std::shared_ptr<T> resource = ObjectBase::NewObject<T>(inKey, std::forward<ArgTypes>(args)...); if (resource) { resource->Create(); } return resource; } //----------------------------------------------------------------------------------- template<class T, typename ...ArgTypes> static std::shared_ptr<T> DataManager::RequestResourceType(HashString inKey, ArgTypes&& ...args) { return m_instance->RequestResourceByType<T>(inKey, std::forward<ArgTypes>(args)...); } //----------------------------------------------------------------------------------- template<class T> std::unordered_map<HashString, ResourcePtr>& DataManager::GetResourcesTable() { return m_resourcesMap[Class::Get<T>().GetName()]; } }
[ "kabanchik85@gmail.com" ]
kabanchik85@gmail.com
10da6b29b3b4130bab7204bb4e988dfbf6df13cb
a203dffd09bdb0ce41eb2049f4b04d0bf60d361d
/cpp-STL/第5章 string类与STL/li5-9.cpp
cdb4a9c46da911c98870c544e92d8c221a62013c
[ "Apache-2.0" ]
permissive
SlamDunk-ycw/git
308b6ac2367ee7a46fe380da2b808301de1eac0c
819d909aaac6b708453bec487911b063a45999d4
refs/heads/main
2023-07-14T15:26:09.231277
2021-08-25T14:58:10
2021-08-25T14:58:10
389,809,270
0
0
null
null
null
null
GB18030
C++
false
false
750
cpp
#include <iostream> #include <string> #include <vector> #include <iterator> #include <algorithm> using namespace std; int main() { vector<string> vec(10); typedef ostream_iterator<string> output; cout << "输入若干个字符串,以-1结束:"; int i; for (i = 0; i< (int)vec.size(); i++) { cin >> vec[i]; if (vec[i] == "-1") break; } cout << "输入的" << i << "个字符串分别为:"; copy(vec.begin(), vec.begin() + i, output(cout, " ")); cout << "\n"; string str; cout << "输入要查找的字符串"; cin >> str; vector<string>::iterator it; it = find(vec.begin(), vec.begin() + i, str); if (it != vec.end()) cout << *it << "字符串存在" <<endl; else cout << "该字符串不存在" << endl; return 0; }
[ "1363472590@qq.com" ]
1363472590@qq.com
910361da8efd3bfde3d6dbcf1f5d8081b9a9f78a
a35b30a7c345a988e15d376a4ff5c389a6e8b23a
/boost/icl/type_traits/no_type.hpp
f9efb62f4bb6e3e816111d40e231c9de723fa0d4
[]
no_license
huahang/thirdparty
55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b
07a5d64111a55dda631b7e8d34878ca5e5de05ab
refs/heads/master
2021-01-15T14:29:26.968553
2014-02-06T07:35:22
2014-02-06T07:35:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
69
hpp
#include "thirdparty/boost_1_55_0/boost/icl/type_traits/no_type.hpp"
[ "liuhuahang@xiaomi.com" ]
liuhuahang@xiaomi.com
a724b063b09e682e183a7f6ccb727f637072de08
16abe53a0f669015bf8daf0d8bbdf67c16ac0422
/clause.h
aafc1dbbd9477aede6cc82154b56c4835dabd9f3
[]
no_license
jih332/SAT_Solver
143b746808995fe47e8d8f9b2a9265117316af74
998da24a8d8de5b45d92c6fb9378255498f9d890
refs/heads/master
2020-04-03T22:14:54.925629
2018-10-31T17:12:45
2018-10-31T17:12:45
155,594,718
0
0
null
null
null
null
UTF-8
C++
false
false
1,314
h
#ifndef CLAUSE_H #define CLAUSE_H #define c_CONFLICT -1 #define c_NULL 0 #define c_NORMAL 1 #define UNASSIGNED -1 #define UNAVAILABLE 0 #define ASSIGNED 1 #include <vector> #include <utility> #include <array> #include <algorithm> #include <set> #include <cmath> #include <string> #include <time.h> #include <stdlib.h> #include <iterator> #include <unordered_map> class Clause{ private: std :: vector<int16_t> literals; std :: vector<int16_t> variables; bool stack_status; public: Clause(); Clause(std :: vector<int> & cls); Clause(const Clause & clause); // deep copy function // ~Clause(); void setClause(std :: vector<int> & cls); const std :: vector<int16_t> & getClause() const; const std :: vector<int16_t> & getVariables() const; int getLength() const; bool inStack(); void enStack(); void deStack(); bool operator==(const Clause & clause) const; }; // a non-const reference cannot be returned by a const member function. a const member function indicates that this function cannot modify the object itself. However, returning a non-const reference grants the receiver the access to modify the original object. While returning a object (not a reference) from a const member function is ok, since it produces duplicate when returning. #endif
[ "noreply@github.com" ]
jih332.noreply@github.com
dc0b6d3b696b6f9329947d8b4a27f93634844a8f
5947865dc56dc2906951f21b780db5dc901848c5
/codechef/SUBINC.cpp
a387cf13059a8db7ba59b8ebea7e5738bca45632
[]
no_license
nishu112/Geek-Codes
6d9cad76291d7c56900bd988c0c123db6d900c36
f7eece428655c1f656e402b321260f234de62153
refs/heads/master
2021-10-07T09:31:13.379816
2018-12-04T16:36:54
2018-12-04T16:36:54
121,122,751
0
0
null
null
null
null
UTF-8
C++
false
false
1,936
cpp
#include <bits/stdc++.h> using namespace std; #define ll long long #define pii std::pair<int,int> #define vi std::vector<int> #define vll std::vector<long long> #define mp(a,b) make_pair(a,b) #define pb(a) push_back(a) #define sc(x) scanf("%d",&x) #define scll(x) scanf("%lld",&x) #define sc2(x,y) scanf("%d%d",&x,&y) #define sc3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define pf(x) printf("%d ",x) #define pf2(x,y) printf("%d %d ",x,y) #define pf3(x,y,z) printf("%d %d %d ",x,y,z) #define pfnl() putchar('\n'); #define each(it,s) for(auto it = s.begin(); it != s.end(); ++it) #define rep(i, n) for(int i = 0; i < (n); ++i) #define rep2(i,j,n) for(int i = j; i < (n); ++i) #define fill(a) memset(a, 0, sizeof (a)) #define sortA(v) sort(v.begin(), v.end()) #define sortD(v) sort(v.begin(), v.end(), greater<auto>()) #define X first #define Y second #define gc() getchar() #define debug(x) cerr<<"debug->"<<#x<<"::"<<x<<endl #define debug2(x,y) cerr<<#x<<" :: "<<x<<"\t"<<#y<<" :: "<<y<<"\n" #define debug3(x,y,z) cerr<<#x<<" :: "<<x<<"\t"<<#y<<" :: "<<y<<"\t"<<#z<<" :: "<<z<<"\n" #define MOD 1000000007 template <typename T> void scan(T &angka){ angka=0;char input=gc();T kali=1; while(!(48<=input&&input<=57)){ if(input=='-') kali=-1;input=gc();} while(48<=input&&input<=57) angka=(angka<<3)+(angka<<1)+input-48,input=gc();angka*=kali; } int main() { int t; cin>>t; vector<int> arr; while(t--) { int n; cin>>n; arr.resize(n,1); for(int i=0;i<n;++i) cin>>arr[i]; vector<int> dp(n,1); for(int i=1;i<n;++i) { if(arr[i]>=arr[i-1]) dp[i]+=dp[i-1]; } long long Ans=0; for(int i=0;i<n;++i) Ans+=dp[i]; cout<<Ans<<'\n'; arr.clear(); } return 0; }
[ "nishant.sharma112@gmail.com" ]
nishant.sharma112@gmail.com
4e58138953c745c4363727592bfc6a59017fb94f
2d912bd5c0dd7fa883a72cd5ec6ba54a70d786e4
/QT_proxy/tty-proxy-server/mainwindow.cpp
2acf9fa502bdb782c2deda6ac3009fb71a19eace
[]
no_license
bxxbht/Github
de1d17aa083d499cfc7dfa02384e7fc0f2e0543d
044b1d0c5edf376e13d080b8e4bc06a1056968c7
refs/heads/master
2021-01-18T23:23:55.370623
2016-07-14T10:59:49
2016-07-14T10:59:49
7,363,745
0
0
null
null
null
null
UTF-8
C++
false
false
12,370
cpp
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** If you have questions regarding the use of this file, please contact ** Nokia at qt-info@nokia.com. ** $QT_END_LICENSE$ ** ****************************************************************************/ #include <QtGui> #include <QDebug> #include "combobox.h" #include "spinbox.h" #include "mainwindow.h" MainWindow::MainWindow(Configuration *config, QWidget *parent) : QDialog(parent) { this->config = config; QLabel *machineLabel = new QLabel("Machine:", this); machine = new ComboBox(this); machine->addItems(config->getMachTypeList()); machine->setCurrentIndex(config->getMachTypeIndex()); #ifdef __arm__ quitButton = new QPushButton(tr("&Quit"), this); connect(quitButton, SIGNAL(clicked()), this, SLOT(quit())); #else quitButton = new QPushButton(tr("&Quit"), this); connect(quitButton, SIGNAL(clicked()), qApp, SLOT(quit())); #endif resetButton = new QPushButton("&Reconnect", this); QStringList iplist = config->getHostAddress().split("."); QLabel *ipAddrLabel = new QLabel("IP Address:", this); ipAddr0 = new SpinBox(this); ipAddr0->setRange(127, 254); ipAddr0->setValue(iplist[0].toInt()); ipAddr1 = new SpinBox(this); ipAddr1->setRange(0, 254); ipAddr1->setValue(iplist[1].toInt()); ipAddr2 = new SpinBox(this); ipAddr2->setRange(0, 254); ipAddr2->setValue(iplist[2].toInt()); ipAddr3 = new SpinBox(this); ipAddr3->setRange(100, 199); ipAddr3->setValue(iplist[3].toInt()); QHBoxLayout *ipAddrLayout = new QHBoxLayout; ipAddrLayout->setSpacing(0); ipAddrLayout->addWidget(ipAddr0); ipAddrLayout->addWidget(ipAddr1); ipAddrLayout->addWidget(ipAddr2); ipAddrLayout->addWidget(ipAddr3); applyButton = new QPushButton("&Apply", this); connect(applyButton, SIGNAL(clicked()), this, SLOT(apply())); tableWidget = new QTableWidget(0, 7, this); tableWidget->setFocusPolicy(Qt::NoFocus); tableWidget->horizontalHeader()->setResizeMode(QHeaderView::Stretch); tableWidget->setSelectionBehavior(QTableWidget::SelectRows); tableWidget->setAlternatingRowColors(true); tableWidget->setShowGrid(false); tableWidget->setHorizontalHeaderLabels( QStringList() << tr("Device") << tr("Baudrate") << tr("Total Received") << tr("Total Sent") << tr("Receiving") << tr("Sending") << tr("Status")); deviceDescription = new QTableWidget(0, 2, this); deviceDescription->setFocusPolicy(Qt::NoFocus); deviceDescription->horizontalHeader()->setResizeMode(1, QHeaderView::Stretch); deviceDescription->setSelectionBehavior(QTableWidget::SelectRows); deviceDescription->setAlternatingRowColors(true); deviceDescription->setShowGrid(false); deviceDescription->setHorizontalHeaderLabels( QStringList() << tr("Device") << tr("Description")); deviceDescription->setColumnWidth(0, 200); #ifdef __arm__ if (config->getMachType() == "Vitas") { addProxy(&consolePort, "/dev/ttySAC0", BAUD115200, 0, "Console"); addProxy(&module0Port, "/dev/ttySAC1", BAUD115200, 1, "Standard parameters of the module"); addProxy(&printerPort, "/dev/ttySAC2", BAUD38400, 2, "Printer"); addProxy(&module1Port, "/dev/ttySAC3", BAUD19200, 3, "CO2 module"); addProxy(&systemPort, "/dev/ttySYS", BAUD4800, 4, "System board"); } else if (config->getMachType() == "G60-Common") { addProxy(&consolePort, "/dev/ttySAC0", BAUD115200, 0, "Console"); addProxy(&module0Port, "/dev/ttySAC1", BAUD500000, 1, "Built-in plug-in cage"); addProxy(&printerPort, "/dev/ttySAC2", BAUD38400, 2, "Printer"); addProxy(&module1Port, "/dev/ttySAC3", BAUD500000, 3, "External plug-in cage"); addProxy(&systemPort, "/dev/ttyS0", BAUD4800, 4, "System board"); addProxy(&tsPort, "/dev/ttyS1", BAUD9600, 5, "Touchscreen"); } else if (config->getMachType() == "G60-SFDA") { addProxy(&consolePort, "/dev/ttySAC0", BAUD115200, 0, "Console"); addProxy(&systemPort, "/dev/ttySAC1", BAUD4800, 1, "System board"); addProxy(&printerPort, "/dev/ttySAC2", BAUD38400, 2, "Printer"); addProxy(&tsPort, "/dev/ttySAC3", BAUD9600, 3, "Touchscreen"); addProxy(&module0Port, "/dev/ttySS0", BAUD500000, 4, "Built-in plug-in cage"); addProxy(&module1Port, "/dev/ttySS1", BAUD500000, 5, "Built-in plug-in cage"); tableWidget->hideRow(5); deviceDescription->hideRow(5); addProxy(&module2Port, "/dev/ttySS2", BAUD500000, 6, "External plug-in cage"); addProxy(&module3Port, "/dev/ttySS3", BAUD500000, 7, "External plug-in cage"); } else { // vitas-2 addProxy(&consolePort, "/dev/ttySAC0", BAUD115200, 0, "Console"); addProxy(&module0Port, "/dev/ttySAC1", BAUD460800, 1, "Standard parameters of the module"); addProxy(&printerPort, "/dev/ttySAC2", BAUD38400, 2, "Printer"); addProxy(&module1Port, "/dev/ttySAC3", BAUD19200, 3, "CO2 module"); addProxy(&systemPort, "/dev/ttySYS", BAUD4800, 4, "System board"); //addProxy(&module3Port, "/dev/ttySS0", BAUD4800, 7, "ECG Sync Out"); //addProxy(&module2Port, "/dev/ttyS0", BAUD4800, 5, "IPB/CO"); //addProxy(&tsPort, "/dev/ttyS1", BAUD9600, 6, "Touchscreen"); } #else addProxy(&consolePort, "/dev/null", BAUD115200, 0, "Null"); addProxy(&systemPort, "/dev/zero", BAUD115200, 1, "Zero"); #endif statusBar = new QStatusBar(this); statusBar->showMessage("Proxy server is starting ..."); QGridLayout *mainLayout = new QGridLayout; mainLayout->addWidget(machineLabel, 0, 0); mainLayout->addWidget(machine, 0, 1); mainLayout->addWidget(quitButton, 0, 7); mainLayout->addWidget(ipAddrLabel, 1, 0); mainLayout->addLayout(ipAddrLayout, 1, 1, 1, 2); mainLayout->addWidget(applyButton, 1, 3); mainLayout->addWidget(resetButton, 1, 7); mainLayout->addWidget(tableWidget, 3, 0, 1, 8); mainLayout->addWidget(deviceDescription, 4, 0, 1, 8); deviceDescription->setHidden(true); mainLayout->addWidget(statusBar, 5, 0, 1, 8); setLayout(mainLayout); } MainWindow::~MainWindow() { } void MainWindow::addRow() { { int row = tableWidget->rowCount(); tableWidget->insertRow(row); QTableWidgetItem *item0 = new QTableWidgetItem; item0->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter); tableWidget->setItem(row, 0, item0); QTableWidgetItem *item1 = new QTableWidgetItem; item1->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); tableWidget->setItem(row, 1, item1); QTableWidgetItem *item2 = new QTableWidgetItem; item2->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); tableWidget->setItem(row, 2, item2); QTableWidgetItem *item3 = new QTableWidgetItem; item3->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); tableWidget->setItem(row, 3, item3); QTableWidgetItem *item4 = new QTableWidgetItem; item4->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); tableWidget->setItem(row, 4, item4); QTableWidgetItem *item5 = new QTableWidgetItem; item5->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); tableWidget->setItem(row, 5, item5); QTableWidgetItem *item6 = new QTableWidgetItem; item6->setTextAlignment(Qt::AlignCenter | Qt::AlignVCenter); tableWidget->setItem(row, 6, item6); } { int row = deviceDescription->rowCount(); deviceDescription->insertRow(row); QTableWidgetItem *item0 = new QTableWidgetItem; item0->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter); deviceDescription->setItem(row, 0, item0); QTableWidgetItem *item1 = new QTableWidgetItem; item1->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter); deviceDescription->setItem(row, 1, item1); } } void MainWindow::addProxy(Communication **pport, const char *device, BaudRateType bandrate, quint16 offset, const char *desc) { *pport = new Communication(device, bandrate, 20000+offset); (*pport)->start(); addRow(); updateContent(*pport, offset); deviceDescription->item(offset, 0)->setText((*pport)->portName()); deviceDescription->item(offset, 1)->setText(desc); (*pport)->setPrivData(offset); connect(*pport, SIGNAL(statisticsUpdate(Communication *, int)), this, SLOT(updateContent(Communication *, int))); connect(resetButton, SIGNAL(clicked()), *pport, SLOT(restart())); } void MainWindow::updateContent(Communication *port, int row) { tableWidget->item(row, 0)->setText(port->portName()); tableWidget->item(row, 1)->setText(port->getPortRate()); tableWidget->item(row, 2)->setText(port->getRecievedBytes()); tableWidget->item(row, 3)->setText(port->getSentBytes()); tableWidget->item(row, 4)->setText(port->getRecievingRate()); tableWidget->item(row, 5)->setText(port->getSendingRate()); tableWidget->item(row, 6)->setForeground(port->isConnected() ? QBrush(QColor(203, 12, 41)) : QBrush(QColor(26, 200, 62))); tableWidget->item(row, 6)->setText(port->isConnected() ? "Connected" : "Disconnected"); } void MainWindow::apply() { QString s; bool machtypeischanged = false; if (machine->currentText() != config->getMachType()) { machtypeischanged = true; config->setMachType(machine->currentText()); } s.sprintf("%d.%d.%d.%d", ipAddr0->value(), ipAddr1->value(), ipAddr2->value(), ipAddr3->value()); config->setHostAddress(s); QStringList maclist = config->getMacEther().split(":"); maclist[5] = QString::number(ipAddr3->value(), 16); config->setMacEther(maclist.join(":")); config->save(); statusBar->showMessage("Save proxy server config ...", 1000 * 3); if (machtypeischanged) { QMessageBox messagebox; messagebox.setText("Machine type is changed, reboot system now"); messagebox.exec(); #ifdef __arm__ QProcess::execute("reboot"); #endif } } void MainWindow::quit() { if (QMessageBox::question(this, "", "Quit proxy mode?", QMessageBox::Ok | QMessageBox::Cancel) == QMessageBox::Ok) { QProcess::execute("rm", QStringList() << "/cfgdir/tty-proxy"); QProcess::execute("sync"); QProcess::execute("reboot"); } }
[ "root@localhost.localdomain" ]
root@localhost.localdomain
71d8057a55d78479e6161d51be1311fef05bca5b
f541118eba48eb4b8d2dade19d4220514b11c8d0
/src/base.cpp
90ed4fc4d09669a24e6f7bce41d955d552a4b389
[]
no_license
syxolk/cereal-multiple-inheritance
b5e203d7ab051f2fcf36e27e925f64bfa7c9c81f
4c946bf20ed9de97847875e9005cbfb7cf5af125
refs/heads/master
2016-09-05T12:46:45.567299
2015-06-29T11:17:32
2015-06-29T11:17:32
38,240,252
0
0
null
null
null
null
UTF-8
C++
false
false
83
cpp
#include "base.h" Base::Base(int baseVal) : baseVal(baseVal) {} Base::~Base() {}
[ "hans-kirchner@gmx.de" ]
hans-kirchner@gmx.de
843dc73d7706ac2310293164ff744b4e450ca376
c9e1b0bda09909b2fcc0e196a89cdaecc98744e8
/SmartCafe/RF24/receiver/Receiver.cpp
920cbe5cd7f2abd68c7b1b2959171c849a12e13a
[]
no_license
eurichon/Arduino
63fc72aac6060bc4b4e288fe7cd05f4ec39c0e82
6bb8751b20b73965afa99c90c9be778afb1a1163
refs/heads/master
2020-09-27T17:31:32.545590
2020-05-28T12:23:21
2020-05-28T12:23:21
226,570,594
0
0
null
null
null
null
UTF-8
C++
false
false
2,518
cpp
#include "Receiver.h" Receiver::Receiver(int _ce, int _csn, uint8_t id){ // rf default settings radio = new RF24(_ce, _csn); radio->begin(); radio->setPALevel(RF24_PA_MIN); radio->setAutoAck(false); radio->startListening(); radio->openWritingPipe(address[1]); radio->openReadingPipe(1,address[0]); state = RFState::toReceive; receiver_id = id; randomSeed(analogRead(A0)); pre_msg_id = 0; t = millis(); } void Receiver::update(){ switch(state){ case RFState::toReceive: //transmit for the first time if(radio->available()){ memset(command_msg, 0, 32 * sizeof(byte)); radio->read(&command_msg, sizeof(command_msg)); //check if the message is valid if(command_msg[0] == MASTER_ADDRESS){ int is_correct = command_msg[1] & receiver_id; // if the message targets this device and there is an new update msg id if(is_correct && pre_msg_id != command_msg[2]){ pre_msg_id = command_msg[2]; is_valid = true; state = RFState::toSend; radio->openWritingPipe(address[0]); radio->openReadingPipe(1,address[1]); radio->stopListening(); time_offset = random(50, 160); t = millis(); } } } break; case RFState::toSend: if(millis()-t > time_offset){ radio->write(&ack_msg, sizeof(ack_msg)); //printMsg(ack_msg); radio->startListening(); radio->openWritingPipe(address[1]); radio->openReadingPipe(1,address[0]); state = RFState::toReceive; } break; default: break; } } void Receiver::getMesg(byte *msg){ copy(msg, &command_msg[3], 29); } void Receiver::sendAck(byte *msg){ ack_msg[0] = receiver_id; ack_msg[1] = MASTER_ADDRESS; ack_msg[2] = pre_msg_id; copy(&ack_msg[3], msg, 29); } bool Receiver::msgReceived(){ if(is_valid){ is_valid = false; return true; }else{ return false; } } void Receiver::copy(byte *dest, byte *src, int size){ for(int i = 0; i < size; i++){ dest[i] = src[i]; } } void printMsg(char *arr){ for(int i = 0;i < 32;i++){ Serial.print(arr[i],DEC); Serial.print("."); } Serial.println(" "); for(int i = 0;i < 32;i++){ Serial.print(arr[i]); Serial.print("."); } Serial.println(" "); }
[ "eurichon1996@gmail.com" ]
eurichon1996@gmail.com
09b4bd74136af341288b719e146260e4b4c9061d
57aee58cf90c5f5351d115041c307ad89b7c7683
/csttoansys/CST_Readout.h
5e953a198a008013c2a620741af67a092d82adf4
[]
no_license
unclok/garfield
ee9c5b0cb0275c6ff7c6238a22a748bb3d96b76d
b781d8a2507e8f92c21298502d32d59f18b9cdff
refs/heads/master
2020-03-29T09:40:57.997120
2015-01-28T10:15:37
2015-01-28T10:15:37
24,959,567
3
1
null
null
null
null
UTF-8
C++
false
false
3,708
h
/** * Author: Klaus Zenker (DESY) * Version: 15.10.2013 * - includes bugfix related to the handling of elements having PEC nodes * - includes potential export */ #pragma once #ifndef CST_Readout_h #define CST_Readout_h #include "CSTResultReaderInterf.h" #include <vector> using namespace std; #define eps0 8.85418782e-12 #define mue0 M_PI*4e-7 class CST_Readout { private: CSTProjHandle m_pHandle; int uReturnVal; int m_fieldType; float* m_fieldData; float* m_meshMatrix; //mesh information int* m_nxyz; //array node numbers in x,y,z (nxyz[0...3]) double* m_xyzlines; vector<double> m_xlines; vector<double> m_ylines; vector<double> m_zlines; void GetInv(int i, int j, int k, double &inv_x, double &inv_y, double &inv_z); public: CST_Readout(string cst_file); virtual ~CST_Readout(); static void PrintStatus(int event, int all_events, double percent = 0.1); static double Round(double number, int digits); void Node2Index(int node, int &i, int &j, int &k); void Element2Index(int element, int &i, int &j, int &k); void GetPositionFromNode(int node, double* &xyz); void GetPositionFromIndex(int i, int j, int k, double* &xyz); int GetNumberOfNodes() { return m_nxyz[0] * m_nxyz[1] * m_nxyz[2]; } int GetNumberOfElements() { return (m_nxyz[0] - 1) * (m_nxyz[1] - 1) * (m_nxyz[2] - 1); } double GetMaterialPropertyFromIndex(int i, int j, int k, int MaterialType); double GetMaterialPropertyFromIndex(float* matMatrix_cst, int i, int j, int k, int MaterialType); void GetNodesForElement(int element, vector<int> &nodes); double GetElementMaterialProperty(int element, int MaterialType, int testnode = 3); int GetElementMaterial(int element, int node = 3); int* Getnxyz() { return m_nxyz; } double* Getxyzlines() { return m_xyzlines; } float* GetFieldData() { return m_fieldData; } void WriteElementComp(string path, string prefix = ""); void WritePosLines(string path, string prefix = ""); void WritePotentials(string TreeFieldName, string path, string prefix = ""); int RetrieveFieldData(string TreeFieldName); void AnalyseField(double scale = 1.); void AnalyseMaterial(double scale = 1.); }; struct IntCmp { bool operator()(const pair<double, int> &lhs, const pair<double, int> &rhs) { return lhs.second > rhs.second; } }; struct MaterialObject { vector<int*> position; double eps; int neps; bool MaterialObject::operator==(const MaterialObject &other) { return eps == other.eps; } friend ostream& operator<<(ostream &o, const MaterialObject & obj) { if (obj.neps != obj.position.size()) { o << obj.eps << "\t:" << obj.neps << "(but vec_size is: " << obj.position.size() << ")\t at (" << obj.position.at(0)[0] << "," << obj.position.at(0)[1] << "," << obj.position.at(0)[2] << ")" << endl; } else if (obj.position.size() > 1) { o << obj.eps << "\t:" << obj.neps << "\t at e.g. (" << obj.position.at(0)[0] << "," << obj.position.at(0)[1] << "," << obj.position.at(0)[2] << ")"; } else { o << obj.eps << "\t:" << obj.neps << "\t at\t (" << obj.position.at(0)[0] << "," << obj.position.at(0)[1] << "," << obj.position.at(0)[2] << ")"; } return o; } }; struct Sorteps { bool operator()(const MaterialObject &left, const MaterialObject &right) { return left.eps < right.eps; } }; struct Sortneps { bool operator()(const MaterialObject &left, const MaterialObject &right) { return left.neps > right.neps; } }; #endif
[ "unclok123@gmail.com" ]
unclok123@gmail.com
95dde7b6d4114fa43f9a9cc0852a186705a4f70c
b0521cf71e7d54acbda3e7dc1c094bb023028b41
/src/Utils.h
ce4426b2e091cf62782531889054490ce5a019d9
[]
no_license
cboots/OpenGLSandbox
05e4cbcd52de9a57252f44c4ed8a1dd2d61f43a9
226d9af878247c63f630dc923547902b06d51311
refs/heads/master
2020-06-06T09:55:54.048491
2014-02-15T21:54:25
2014-02-15T21:54:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,032
h
#pragma once #include "glew.h" #include <cstdlib> #include <stdio.h> using namespace std; #define PI 3.1415926535897932384626422832795028841971 #define TWO_PI 6.2831853071795864769252867665590057683943 #define EPSILON .0000001 #define MIN(a,b) ((a<b)?a:b) #define MAX(a,b) ((a>b)?a:b) #define SWAP(x,y,t) {t=x;x=y;y=t;} #define MIN_POSITIVE(a,b) ((a >= 0) ? ((b >= 0)?((a < b)?a:b):a) : ((b >= 0)?b:-1)) #define SIGN(a) ((a > 0)?1:((a < 0)?-1:0)) namespace Utility { typedef struct { GLuint vertex; GLuint fragment; } shaders_t; shaders_t loadShaders(const char * vert_path, const char * frag_path); void attachAndLinkProgram( GLuint program, shaders_t shaders); char* loadFile(const char *fname, GLint &fSize); // printShaderInfoLog // From OpenGL Shading Language 3rd Edition, p215-216 // Display (hopefully) useful error messages if shader fails to compile void printShaderInfoLog(GLint shader); void printLinkInfoLog(GLint prog) ; }
[ "cboots@seas.upenn.edu" ]
cboots@seas.upenn.edu
2da211a3845c18b8fef3f575432e00714b7c57fd
c0a9cc835e9e4566e18c867dbbec63de40dd3404
/cs165/assignments/myAssign02.cpp
1b37465ff488d3655a1f5f58444f51c8a026c4ef
[]
no_license
tatianachetina/BYU-I
cb347999e89a1886d1f4ca5cbda3ad533a81eca5
5e1b0607bc53cba29d86753295b49f088fd617f7
refs/heads/master
2020-03-23T04:28:28.355573
2018-07-03T02:22:44
2018-07-03T02:22:44
141,085,653
1
0
null
2018-07-16T04:17:28
2018-07-16T04:17:28
null
UTF-8
C++
false
false
6,057
cpp
/*********************************************************************** * Program: * Assignment 02, Digital Forensics * Brother Walker, CS165 * Author: * Scott Currell * Summary: * Prompt the user for the name of a file containing user access records. * Prompt the user for a start and end time for comparison. Display a list * of all files that were accessed during that period along with the users * who accessed them. * * Estimated: 6.0 hrs * Actual: 12.0 hrs * Please describe briefly what was the most difficult part: * I struggled more with last week's assignment. The only thing that * tripped me up this week was figuring out how to iterate through the * array of records. I didn't know how to find the number of lines in * the file. I ended up creating a counter in the read function to keep * track of how many lines were read. Maybe there's a better way, but this * worked for me ************************************************************************/ #include <iostream> #include <iomanip> // we will use setw() in this example #include <string> // to use string class #include <fstream> // file i/o using namespace std; // defines and consts #define MAX_NUM_RECORDS 500 // structures // access record struct AccessRecord { string filename; string username; long timestamp; }; // user data struct UserData { string sourceFile; int numRecords; long startTime; long endTime; }; // prototypes void promptForFilename(UserData & file); void readAccessRecords(AccessRecord logRecords[], UserData & fileSize); void promptForStartAndEndTimes(UserData & times); void displayAccessRecords(AccessRecord logRecords[], UserData & userData); /*********************************************************************** * MAIN * This is the entry point and driver for the program. * Vars: input [struct] - user-defined data and number of records * logRecords [array] - access records: filename * username * timestamp ************************************************************************/ int main() { // new instance of UserData UserData input; // new instance of AccessRecord: log records AccessRecord logRecords[MAX_NUM_RECORDS]; // get the source file name promptForFilename(input); // read access records from source file readAccessRecords(logRecords, input); // get start/end times promptForStartAndEndTimes(input); // display matched records on screen displayAccessRecords(logRecords, input); return 0; } /*********************************************************************** * PROMPT FOR FILENAME * Get the source filename from the user. The file that contains the user * logs. * OUTPUT: sourceFile [string] ************************************************************************/ void promptForFilename(UserData & file) { cout << "Enter the access record file: "; cin >> file.sourceFile; cout << endl; return; } /*********************************************************************** * READ ACCESS RECORDS * Read the data from the source file and build an array of records. * INPUT: sourceFile [string] * OUTPUT: logRecords [array] ************************************************************************/ void readAccessRecords(AccessRecord logRecords[], UserData & userData) { // number of lines in file int lineNumber = 0; // open the source file (convert string to c-string) ifstream fin(userData.sourceFile.c_str()); // check for read errors if (fin.fail()) { // tell user there's something wrong with the file cout << "invalid file: " << userData.sourceFile << endl; return; } // read content to the end of the file while (!fin.eof()) { // build an array of records fin >> logRecords[lineNumber].filename >> logRecords[lineNumber].username >> logRecords[lineNumber].timestamp; // increment the count so we know how many records there are lineNumber++; } // update structure with number of user records // minus 1 since array is zero-indexed userData.numRecords = lineNumber - 1; // close the read file fin.close(); return; } /*********************************************************************** * PROMPT FOR START AND END TIMES * Get the start and end times from the user. Used to get a range of logs. * OUTPUT: input.startTime [long] * input.endTime [long] ************************************************************************/ void promptForStartAndEndTimes(UserData & times) { cout << "Enter the start time: "; cin >> times.startTime; cout << "Enter the end time: "; cin >> times.endTime; return; } /*********************************************************************** * DISPLAY ACCESS RECORDS * Display a table of access records within a given time range. * INPUT: input [struct] * logRecords [array] ************************************************************************/ void displayAccessRecords(AccessRecord logRecords[], UserData & userData) { cout << endl << "The following records match your criteria:" << endl << endl; // header cout << setw(15) << "Timestamp" << setw(20) << "File" << setw(20) << "User" << endl; // separator cout << "--------------- ------------------- -------------------" << endl; // write each record to the screen for (int i = 0; i < userData.numRecords; i++) { // only if they're within the specified time range if (logRecords[i].timestamp >= userData.startTime && logRecords[i].timestamp <= userData.endTime) { cout << setw(15) << logRecords[i].timestamp << setw(20) << logRecords[i].filename << setw(20) << logRecords[i].username << endl; } } cout << "End of records\n"; return; }
[ "scottcurrell@gmail.com" ]
scottcurrell@gmail.com
d76c94b129088c560f0c0eef9d936e387db99c0e
a5be775ef747e0f4e9bbe596c311ecce431a2c6f
/API.h
7981e5625106ff871101345747193d91102bbb10
[]
no_license
Harunokuma/MiniSQL
ba942249dd25a36fc2cb37cd4288990d6fc15b65
34bfcdec06c4b334d9655402eea75cb9239c653e
refs/heads/master
2020-05-27T21:23:19.329114
2017-03-02T12:55:13
2017-03-02T12:55:13
83,676,815
2
0
null
null
null
null
UTF-8
C++
false
false
1,203
h
#ifndef API_H #define API_H #include "MiniSQL.h" #include <vector> #include <string> #include <iostream> class Command { private: op_type operation; string table_name; string index_name; string file_name; string index_attr; vector<column> cols; vector<condition> conds; vector<insertvalue> values; public: Command() { operation = UNKNOWN; table_name = ""; index_name = ""; file_name = ""; index_attr = ""; } void initiate(); void end(); void setOperation(op_type type); void setTableName(string name); void setIndexName(string name); void setCols(vector<string> attr_name, vector<attr_type> attr_type, vector<int> char_length, vector<bool> isUnique, string primary); void setConds(vector<string> attr_name, vector<cond_type> cond, vector<string> const_value, vector<attr_type> attr_type); void setValues(vector<string> insert_value, vector<attr_type> attr_type); void setIndexAttr(string attr_name); string FindPrimary(); void clear(); void test(); error_type exec(); error_type exec_cretab(); error_type exec_drptab(); error_type exec_creidx(); error_type exec_drpidx(); error_type exec_select(); error_type exec_insert(); error_type exec_delete(); }; #endif
[ "harunokuma@qq.com" ]
harunokuma@qq.com
8888862a0c796f19b12bd6bc30b79d93f5cf3396
cc8927495275b9fbe835c3bd0dc0d4840c909d8b
/3D-21일차/Engine/Utility/Code/ProtoMgr.cpp
563642f033551cc2c4375376cf18e65b955fbe6c
[]
no_license
wjrm600/ClientProject
4d46376238b17d133e2311aa050c623973ace94d
b8f4e7a5d66e65277a0300d55c502a7f1218fe5f
refs/heads/master
2023-03-04T05:19:12.626218
2021-02-08T23:07:19
2021-02-08T23:07:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
997
cpp
#include "ProtoMgr.h" USING(Engine) IMPLEMENT_SINGLETON(CProtoMgr) Engine::CProtoMgr::CProtoMgr(void) { } Engine::CProtoMgr::~CProtoMgr(void) { Free(); } HRESULT Engine::CProtoMgr::Ready_Proto(const _tchar* pProtoTag, CComponent* pInstance) { CComponent* pPrototype = Find_Proto(pProtoTag); if (nullptr != pPrototype) return E_FAIL; m_mapPrototype.emplace(pProtoTag, pInstance); return S_OK; } Engine::CComponent* Engine::CProtoMgr::Clone(const _tchar* pProtoTag) { CComponent* pPrototype = Find_Proto(pProtoTag); if (nullptr == pPrototype) return nullptr; return pPrototype->Clone(); } Engine::CComponent* Engine::CProtoMgr::Find_Proto(const _tchar* pProtoTag) { auto iter = find_if(m_mapPrototype.begin(), m_mapPrototype.end(), CTag_Finder(pProtoTag)); if (iter == m_mapPrototype.end()) return nullptr; return iter->second; } void Engine::CProtoMgr::Free(void) { for_each(m_mapPrototype.begin(), m_mapPrototype.end(), CDeleteMap()); m_mapPrototype.clear(); }
[ "wjrm700@naver.com" ]
wjrm700@naver.com
a65a030d16209b6c8b26a695abbd1239ad127a88
5a657fdc081d034a9a9895d29e48b121924aa47f
/osgBoostPython/src/osg/state_set.cpp
57f6af015cb602f5e88b96bab813136583b22740
[]
no_license
marcinch18/osgboostpython
30171711ca8f8317e811121eacf4fcee4c4fa90e
240917b4da8b02b2d5a3ca62c0f1d65c332a7088
refs/heads/master
2020-04-06T04:34:49.277827
2015-03-14T18:35:13
2015-03-14T18:35:13
null
0
0
null
null
null
null
ISO-8859-2
C++
false
false
6,201
cpp
/* * This source file is part of the osgBoostPython library * * Copyright (C) 2009-2010 Jean-Sébastien Guay * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free Software * Foundation; either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * http://www.gnu.org/copyleft/lesser.txt. */ #include <boost/python.hpp> using namespace boost::python; #include <osg/StateSet> #include <osg/StateAttribute> #include <osg/Uniform> using namespace osg; #include "defaults.h" // Parents const StateSet::ParentList& (StateSet::*StateSet_getParents1)() const = &StateSet::getParents; Object* (StateSet::*StateSet_getParent1)( unsigned int ) = &StateSet::getParent; // Modes void (StateSet::*StateSet_setMode1)(StateAttribute::GLMode, StateAttribute::GLModeValue) = &StateSet::setMode; StateAttribute::GLModeValue (StateSet::*StateSet_getMode1)(StateAttribute::GLMode) const = &StateSet::getMode; void (StateSet::*StateSet_removeMode1)(StateAttribute::GLMode) = &StateSet::removeMode; // Attributes void (StateSet::*StateSet_setAttribute1)(StateAttribute*, StateAttribute::OverrideValue) = &StateSet::setAttribute; BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_setAttribute_overloads, setAttribute, 1, 2) // getAttribute and removeAttribute have a default value on the second // argument, the BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS allows us to use them. StateAttribute* (StateSet::*StateSet_getAttribute1)(StateAttribute::Type, unsigned int) = &StateSet::getAttribute; BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_getAttribute_overloads, getAttribute, 1, 2) void (StateSet::*StateSet_removeAttribute1)(StateAttribute::Type, unsigned int) = &StateSet::removeAttribute; BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_removeAttribute_overloads, removeAttribute, 1, 2) void (StateSet::*StateSet_removeAttribute2)(StateAttribute*) = &StateSet::removeAttribute; // TextureAttributes void (StateSet::*StateSet_setTextureAttribute1)(unsigned int, StateAttribute*, StateAttribute::OverrideValue) = &StateSet::setTextureAttribute; StateAttribute* (StateSet::*StateSet_getTextureAttribute1)(unsigned int, StateAttribute::Type) = &StateSet::getTextureAttribute; void (StateSet::*StateSet_removeTextureAttribute1)(unsigned int, StateAttribute::Type) = &StateSet::removeTextureAttribute; void (StateSet::*StateSet_removeTextureAttribute2)(unsigned int, StateAttribute*) = &StateSet::removeTextureAttribute; // Uniforms Uniform* (StateSet::*StateSet_getUniform1)(const std::string&) = &StateSet::getUniform; BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_getOrCreateUniform_overloads, getOrCreateUniform, 2, 3) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_addUniform_overloads, addUniform, 1, 2) void (StateSet::*StateSet_removeUniform1)(const std::string&) = &StateSet::removeUniform; void (StateSet::*StateSet_removeUniform2)(Uniform*) = &StateSet::removeUniform; // RenderBin void (StateSet::*StateSet_setRenderBinDetails1)(int, const std::string&, StateSet::RenderBinMode) = &StateSet::setRenderBinDetails; BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(StateSet_setRenderBinDetails_overloads, setRenderBinDetails, 2, 3) void export_StateSet() { scope in_StateSet = class_<StateSet, bases<Object>, ref_ptr<StateSet> >("StateSet") .def("getNumParents", &StateSet::getNumParents) .def("getParents", StateSet_getParents1, osgBoostPython::default_value_policy()) .def("getParent", StateSet_getParent1, osgBoostPython::default_pointer_policy()) .def("setMode", StateSet_setMode1) .def("removeMode", StateSet_removeMode1) .def("getMode", StateSet_getMode1) .def("setAttribute", StateSet_setAttribute1, StateSet_setAttribute_overloads()) .def("setAttributeAndModes", &StateSet::setAttributeAndModes) .def("removeAttribute", StateSet_removeAttribute1, StateSet_removeAttribute_overloads()) .def("removeAttribute", StateSet_removeAttribute2) .def("getAttribute", StateSet_getAttribute1, osgBoostPython::default_pointer_policy(), StateSet_getAttribute_overloads()) .def("setTextureMode", &StateSet::setTextureMode) .def("removeTextureMode", &StateSet::removeTextureMode) .def("getTextureMode", &StateSet::getTextureMode) .def("setTextureAttribute", StateSet_setTextureAttribute1) .def("setTextureAttributeAndModes", &StateSet::setTextureAttributeAndModes) .def("removeTextureAttribute", StateSet_removeTextureAttribute1) .def("removeTextureAttribute", StateSet_removeTextureAttribute2) .def("getTextureAttribute", StateSet_getTextureAttribute1, osgBoostPython::default_pointer_policy()) .def("setRenderingHint", &StateSet::setRenderingHint) .def("getRenderingHint", &StateSet::getRenderingHint) .def("addUniform", &StateSet::addUniform, StateSet_addUniform_overloads()) .def("removeUniform", StateSet_removeUniform1) .def("removeUniform", StateSet_removeUniform2) .def("getUniform", StateSet_getUniform1, osgBoostPython::default_pointer_policy()) .def("getOrCreateUniform", &StateSet::getOrCreateUniform, osgBoostPython::default_pointer_policy(), StateSet_getOrCreateUniform_overloads()) .def("setRenderBinDetails", StateSet_setRenderBinDetails1, StateSet_setRenderBinDetails_overloads()) ; enum_<StateSet::RenderingHint>("RenderingHint"); scope().attr("DEFAULT_BIN") = StateSet::DEFAULT_BIN; scope().attr("OPAQUE_BIN") = StateSet::OPAQUE_BIN; scope().attr("TRANSPARENT_BIN") = StateSet::TRANSPARENT_BIN; enum_<StateSet::RenderBinMode>("RenderBinMode"); scope().attr("INHERIT_RENDERBIN_DETAILS") = StateSet::INHERIT_RENDERBIN_DETAILS; scope().attr("USE_RENDERBIN_DETAILS") = StateSet::USE_RENDERBIN_DETAILS; scope().attr("OVERRIDE_RENDERBIN_DETAILS") = StateSet::OVERRIDE_RENDERBIN_DETAILS; }
[ "alex.r.olivas@gmail.com" ]
alex.r.olivas@gmail.com
cc31dcdd3035a3ea467667684058e2da4023a44e
64d79f6263c7fd0c44520d4170fd735651a5401d
/ColorSnake/SnakeProjectGame/Menu.cpp
f6ae93a56848c260e629bcb317b69573240fcc25
[]
no_license
wanakubwa/Cpp-Game.ColorSnake
9b9e4d191381a9d0308223ed412b149a5db0ad19
a0010a1729739eaf34a772602bfc2b9a485f4c24
refs/heads/master
2020-11-24T23:45:03.802965
2020-01-05T16:43:25
2020-01-05T16:43:25
228,393,532
3
0
null
null
null
null
UTF-8
C++
false
false
1,997
cpp
#include "Menu.h" Menu::Menu(Font & montserratExtraBold, Texture & logoTexture, Texture & buttonTexture) { background.setPosition(0.f, 0.f); background.setFillColor(Color(11, 46, 89)); background.setOutlineThickness(-10.f); background.setOutlineColor(Color(11, 46, 150)); background.setSize(Vector2f(SCRNWIDTH, SCRNHEIGT)); logoTexture.setSmooth(true); //ustawienie wygladzenia pomagajace w skalowaniu aby textura ladnie wygladala logo.setTexture(logoTexture); logo.setScale(2, 2); logo.setPosition(SCRNWIDTH / 2 - logo.getGlobalBounds().width / 2, 25.f); //dokladny srodek ekranu menu.setFont(montserratExtraBold); //inicjacja napisu gameover menu.setString("MAIN MENU"); menu.setCharacterSize(72); menu.setPosition(SCRNWIDTH / 2 - menu.getGlobalBounds().width / 2, logo.getPosition().y + logo.getGlobalBounds().height + 10.f); //ustawienie na srodku wzgledem srodka ekranu menu.setFillColor(Color(122, 179, 23)); buttonTexture.setSmooth(true); //inicjacja guzika 'play' button.setTexture(buttonTexture); button.setScale(1.5, 1.5); button.setPosition(SCRNWIDTH / 2 - button.getGlobalBounds().width / 2, menu.getPosition().y + menu.getGlobalBounds().height + 50.f); isButtonClicked = false; } Menu::~Menu() { } void Menu::Update(RenderWindow & window) { if (button.getGlobalBounds().contains(Mouse::getPosition(window).x, Mouse::getPosition(window).y)) //sprawdzenie czy kursor myszy nie najechal na guzik { button.setColor(Color(255, 255, 255, 150)); //jezeli tak zmiena graficzna if (Mouse::isButtonPressed(Mouse::Left)) //sprawdzenie czy kursor nie naciska guzika { isButtonClicked = true; } } else { button.setColor(Color(255, 255, 255, 255)); //jezeli mysz nie najezdza na guzik lub byla na nim ale uzytkownik nie kliknal przyrwaca domyslny wyglad } } void Menu::Draw(RenderWindow & window) { window.draw(background); window.draw(logo); window.draw(menu); window.draw(button); } bool Menu::ButtonChecker() const { return isButtonClicked; }
[ "wanakubwa@gmail.com" ]
wanakubwa@gmail.com
940daf22954b3d4d9e2aea670a44fc2d93fa9111
cc8760cf41d2512a4839eaff14805f0b116f99ee
/Lab_4 (Battleship)/battle_header.h
d28f908200fbe30ab16fde22e062d3e764622ab9
[]
no_license
beryanow/c-oop-programming-labs
5ecf69ff5a532d9fdcc99fb5f08b2b36d93ec471
03f0c31d5c79fe8081a2a00690194149b309e7f4
refs/heads/master
2022-01-11T15:52:38.419331
2019-06-29T02:48:46
2019-06-29T02:48:46
167,301,396
0
0
null
null
null
null
UTF-8
C++
false
false
798
h
#include <iostream> #include <map> #include <vector> std::string create_table(); class Initializer { protected: char table[10][10]; std::vector<std::pair<int, int>> used_shots; std::pair<int, int> current_coords; std::pair<int, int> current_coords_following_hit; std::pair<int, int> success_coords; int first_hit; int four_decked; int three_decked; int two_decked; int one_decked; std::vector<int> possible_directions; int working_direction; int following_hit_flag; int change_direction; int direct_change; int cells_amount; int mark; public: Initializer(); friend class Field; }; class Field : public Initializer { public: std::string Shot(); void Missed(); std::string Hit(); std::string Killed(); };
[ "berjnov.ru@mail.ru" ]
berjnov.ru@mail.ru
b3789abc9ae979497f6da32a5b466cfb183f28aa
834858bfedc52500e63f2f50bc63c3871edc222d
/Algoritma ve Programlama Dersi/Algoritma ve Programlama Dersi/09,10,2017/İsimsiz3.cpp
5c74eb49a78743493535852dc9cb62c2a71b2d37
[]
no_license
yucelaydogan/algoritma
d373b6b9eade792f59f3a70bf946c295439b6e2f
38024009fd86a6e47d2672e09ac068e1d2c628ce
refs/heads/master
2021-05-14T05:06:08.513357
2018-01-08T09:55:36
2018-01-08T09:55:36
116,659,385
0
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
#include <stdio.h> #include <conio.h> #include <math.h> main() { int sayi=0, bolen=2, sayac=0; printf("Bir Sayi Giriniz: "); scanf("%d", &sayi); for ( bolen = 2; bolen < sayi ; bolen++) { if(sayi%bolen !=0) printf("%d sayisi asaldir.",sayi); sayac++ ; else printf("%d sayisi asal degildir.",sayi); } printf("%d kez denendi",sayac); getch(); }
[ "yucelaydogan@github.com" ]
yucelaydogan@github.com
1a267fde30f125130e5103b25a4a966d96ecf6c7
7de5081e77b249ba7d8df8e44c577c0a8d3303a3
/baekjoon/b/11053.cpp
af443a11e9fd6fe35bb8a08b1493a6f0d7a807d4
[]
no_license
CodingInterview2018Gazua/coding_interview
7e6efb53bb6d524eef94ecfb46901512466faf85
ed1adc545a938225860161bf6954414c9b4b97fb
refs/heads/master
2021-07-10T23:05:02.521584
2019-01-22T10:10:44
2019-01-22T10:10:44
144,738,050
1
0
null
null
null
null
UTF-8
C++
false
false
701
cpp
/* link: https://www.acmicpc.net/problem/11053 lis, d[i] = 1 + max(d[j]), 0 < j < i, arr[j] < arr[i] */ #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n; int A[1001] = {0}; int lis[1001] = {0}; cin >> n; for (int i = 1; i <= n; ++i) { cin >> A[i]; } int ans = 0; for (int i = 1; i <= n; ++i) { int max = 0; for (int j = 1; j < i; ++j) { if ((A[j] < A[i]) && lis[j] > max) { max = lis[j]; } } lis[i] = 1 + max; if (ans < lis[i]) { ans = lis[i]; } } cout << ans; return 0; }
[ "bruce.kim.it@gmail.com" ]
bruce.kim.it@gmail.com
f8f3c2c7eba5d1500f96c836540d0788f33a5e59
da13476293be1a3f3fe011b64d0c22fe22053930
/北理工-身份证校验.cpp
ac9010d4a74b1a70df5c8338609defe688c98cf2
[]
no_license
dongZheX/Coding
4138bccbc3683329f7571b2cac56180f8d8399b3
6be5f801876b28b5abd574d98995b893e39e3279
refs/heads/master
2020-07-11T18:40:45.172457
2019-08-27T04:02:58
2019-08-27T04:02:58
204,617,001
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
450
cpp
#include<stdio.h> int wi[] = { 7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2 }; char ts[] = { '1','0','X','9','8','7','6','5','4','3','2','1' }; int main() { char id[20]; while (scanf("%s", id) != EOF) { getchar(); int sum = 0; for (int i = 0;i < 17;i++) { sum += (id[i] - '0')*wi[i]; } int mod = sum % 11; if (ts[mod] == id[17]) { printf("%s ÕýÈ·\n", id); } else { id[17] = ts[mod]; printf("ӦΪ£º%s\n", id); } } }
[ "ncxxdz@126.com" ]
ncxxdz@126.com
580933515f59156dcfe017e8df011f4641cc8806
1bc6accf4b2a67eaed882ebe4c01b3392a493061
/src/governance-validators.cpp
93852bc8e0d78c5f3ad7afd6350b75929a163e22
[ "MIT" ]
permissive
ruvex/SteepCoin-Core
6239a453054b3e62189925894ba09614d401e7b0
be396b39019b473d9395b5bba444ec06bbaa052a
refs/heads/master
2020-07-05T18:12:50.359734
2019-08-16T17:44:02
2019-08-16T17:44:02
202,725,036
0
0
null
null
null
null
UTF-8
C++
false
false
8,746
cpp
// Copyright (c) 2014-2018 The steepcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "governance-validators.h" #include "base58.h" #include "timedata.h" #include "tinyformat.h" #include "utilstrencodings.h" #include <algorithm> const size_t MAX_DATA_SIZE = 512; const size_t MAX_NAME_SIZE = 40; CProposalValidator::CProposalValidator(const std::string& strHexData, bool fAllowLegacyFormat) : objJSON(UniValue::VOBJ), fJSONValid(false), fAllowLegacyFormat(fAllowLegacyFormat), strErrorMessages() { if (!strHexData.empty()) { ParseStrHexData(strHexData); } } void CProposalValidator::ParseStrHexData(const std::string& strHexData) { std::vector<unsigned char> v = ParseHex(strHexData); if (v.size() > MAX_DATA_SIZE) { strErrorMessages = strprintf("data exceeds %lu characters;", MAX_DATA_SIZE); return; } ParseJSONData(std::string(v.begin(), v.end())); } bool CProposalValidator::Validate(bool fCheckExpiration) { if (!fJSONValid) { strErrorMessages += "JSON parsing error;"; return false; } if (!ValidateName()) { strErrorMessages += "Invalid name;"; return false; } if (!ValidateStartEndEpoch(fCheckExpiration)) { strErrorMessages += "Invalid start:end range;"; return false; } if (!ValidatePaymentAmount()) { strErrorMessages += "Invalid payment amount;"; return false; } if (!ValidatePaymentAddress()) { strErrorMessages += "Invalid payment address;"; return false; } if (!ValidateURL()) { strErrorMessages += "Invalid URL;"; return false; } return true; } bool CProposalValidator::ValidateName() { std::string strName; if (!GetDataValue("name", strName)) { strErrorMessages += "name field not found;"; return false; } if (strName.size() > MAX_NAME_SIZE) { strErrorMessages += strprintf("name exceeds %lu characters;", MAX_NAME_SIZE); return false; } static const std::string strAllowedChars = "-_abcdefghijklmnopqrstuvwxyz0123456789"; std::transform(strName.begin(), strName.end(), strName.begin(), ::tolower); if (strName.find_first_not_of(strAllowedChars) != std::string::npos) { strErrorMessages += "name contains invalid characters;"; return false; } return true; } bool CProposalValidator::ValidateStartEndEpoch(bool fCheckExpiration) { int64_t nStartEpoch = 0; int64_t nEndEpoch = 0; if (!GetDataValue("start_epoch", nStartEpoch)) { strErrorMessages += "start_epoch field not found;"; return false; } if (!GetDataValue("end_epoch", nEndEpoch)) { strErrorMessages += "end_epoch field not found;"; return false; } if (nEndEpoch <= nStartEpoch) { strErrorMessages += "end_epoch <= start_epoch;"; return false; } if (fCheckExpiration && nEndEpoch <= GetAdjustedTime()) { strErrorMessages += "expired;"; return false; } return true; } bool CProposalValidator::ValidatePaymentAmount() { double dValue = 0.0; if (!GetDataValue("payment_amount", dValue)) { strErrorMessages += "payment_amount field not found;"; return false; } if (dValue <= 0.0) { strErrorMessages += "payment_amount is negative;"; return false; } // TODO: Should check for an amount which exceeds the budget but this is // currently difficult because start and end epochs are defined in terms of // clock time instead of block height. return true; } bool CProposalValidator::ValidatePaymentAddress() { std::string strPaymentAddress; if (!GetDataValue("payment_address", strPaymentAddress)) { strErrorMessages += "payment_address field not found;"; return false; } if (std::find_if(strPaymentAddress.begin(), strPaymentAddress.end(), ::isspace) != strPaymentAddress.end()) { strErrorMessages += "payment_address can't have whitespaces;"; return false; } CBitcoinAddress address(strPaymentAddress); if (!address.IsValid()) { strErrorMessages += "payment_address is invalid;"; return false; } if (address.IsScript()) { strErrorMessages += "script addresses are not supported;"; return false; } return true; } bool CProposalValidator::ValidateURL() { std::string strURL; if (!GetDataValue("url", strURL)) { strErrorMessages += "url field not found;"; return false; } if (std::find_if(strURL.begin(), strURL.end(), ::isspace) != strURL.end()) { strErrorMessages += "url can't have whitespaces;"; return false; } if (strURL.size() < 4U) { strErrorMessages += "url too short;"; return false; } if (!CheckURL(strURL)) { strErrorMessages += "url invalid;"; return false; } return true; } void CProposalValidator::ParseJSONData(const std::string& strJSONData) { fJSONValid = false; if (strJSONData.empty()) { return; } try { UniValue obj(UniValue::VOBJ); obj.read(strJSONData); if (obj.isObject()) { objJSON = obj; } else { if (fAllowLegacyFormat) { std::vector<UniValue> arr1 = obj.getValues(); std::vector<UniValue> arr2 = arr1.at(0).getValues(); objJSON = arr2.at(1); } else { throw std::runtime_error("Legacy proposal serialization format not allowed"); } } fJSONValid = true; } catch (std::exception& e) { strErrorMessages += std::string(e.what()) + std::string(";"); } catch (...) { strErrorMessages += "Unknown exception;"; } } bool CProposalValidator::GetDataValue(const std::string& strKey, std::string& strValueRet) { bool fOK = false; try { strValueRet = objJSON[strKey].get_str(); fOK = true; } catch (std::exception& e) { strErrorMessages += std::string(e.what()) + std::string(";"); } catch (...) { strErrorMessages += "Unknown exception;"; } return fOK; } bool CProposalValidator::GetDataValue(const std::string& strKey, int64_t& nValueRet) { bool fOK = false; try { const UniValue uValue = objJSON[strKey]; switch (uValue.getType()) { case UniValue::VNUM: nValueRet = uValue.get_int64(); fOK = true; break; default: break; } } catch (std::exception& e) { strErrorMessages += std::string(e.what()) + std::string(";"); } catch (...) { strErrorMessages += "Unknown exception;"; } return fOK; } bool CProposalValidator::GetDataValue(const std::string& strKey, double& dValueRet) { bool fOK = false; try { const UniValue uValue = objJSON[strKey]; switch (uValue.getType()) { case UniValue::VNUM: dValueRet = uValue.get_real(); fOK = true; break; default: break; } } catch (std::exception& e) { strErrorMessages += std::string(e.what()) + std::string(";"); } catch (...) { strErrorMessages += "Unknown exception;"; } return fOK; } /* The purpose of this function is to replicate the behavior of the Python urlparse function used by sentinel (urlparse.py). This function should return false whenever urlparse raises an exception and true otherwise. */ bool CProposalValidator::CheckURL(const std::string& strURLIn) { std::string strRest(strURLIn); std::string::size_type nPos = strRest.find(':'); if (nPos != std::string::npos) { //std::string strSchema = strRest.substr(0,nPos); if (nPos < strRest.size()) { strRest = strRest.substr(nPos + 1); } else { strRest = ""; } } // Process netloc if ((strRest.size() > 2) && (strRest.substr(0, 2) == "//")) { static const std::string strNetlocDelimiters = "/?#"; strRest = strRest.substr(2); std::string::size_type nPos2 = strRest.find_first_of(strNetlocDelimiters); std::string strNetloc = strRest.substr(0, nPos2); if ((strNetloc.find('[') != std::string::npos) && (strNetloc.find(']') == std::string::npos)) { return false; } if ((strNetloc.find(']') != std::string::npos) && (strNetloc.find('[') == std::string::npos)) { return false; } } return true; }
[ "vivisko68@gmail.com" ]
vivisko68@gmail.com
694123b184bee399f0d45e3b2d637055c9152be0
818c8dddd88c2094a336cd96468ab91e401faa43
/src/wxAutoExcelListObject.cpp
edc11d79b608640f90fd8d211ffb0d65adf4ff92
[]
no_license
VB6Hobbyst7/wxAutoExcel
3466907400efb77193833346f85edd714297b808
87346fd3d8dd498a50c47beccc9fb6802a146ca3
refs/heads/master
2022-11-30T16:06:10.982041
2020-08-04T16:12:34
2020-08-04T16:12:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,947
cpp
///////////////////////////////////////////////////////////////////////////// // Author: PB // Modified by: // Copyright: (c) 2020 PB <pbfordev@gmail.com> // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxAutoExcel_prec.h" #include "wx/wxAutoExcelListObject.h" #include "wx/wxAutoExcelAutoFilter.h" #include "wx/wxAutoExcelListColumn.h" #include "wx/wxAutoExcelListRow.h" #include "wx/wxAutoExcelRange.h" #include "wx/wxAutoExcelSort.h" #include "wx/wxAutoExcelTableObject.h" #include "wx/wxAutoExcelTableStyle.h" #include "wx/wxAutoExcel_private.h" namespace wxAutoExcel { // ***** class wxExcelListObject METHODS ***** void wxExcelListObject::Delete() { WXAUTOEXCEL_CALL_METHOD0_RET("Delete", "null"); } void wxExcelListObject::ExportToVisio() { WXAUTOEXCEL_CALL_METHOD0_RET("ExportToVisio", "null"); } wxString wxExcelListObject::Publish(const wxArrayString& target, bool linkSource) { wxASSERT( target.size() >= 2 && target.size() <= 3 ); wxVariant vTarget(target, wxS("Target")); wxVariant vLinkSource(linkSource, wxS("LinkSource")); WXAUTOEXCEL_CALL_METHOD2("Publish", vTarget, vLinkSource, "string", ""); return vResult.GetString(); } void wxExcelListObject::Refresh() { WXAUTOEXCEL_CALL_METHOD0_RET("Refresh", "null"); } void wxExcelListObject::Resize(wxExcelRange range) { wxVariant vRange; if ( ObjectToVariant(&range, vRange, wxS("Range")) ) { WXAUTOEXCEL_CALL_METHOD1_RET("Resize", vRange, "null"); } } void wxExcelListObject::Unlink() { WXAUTOEXCEL_CALL_METHOD0_RET("Unlink", "null"); } void wxExcelListObject::Unlist() { WXAUTOEXCEL_CALL_METHOD0_RET("Unlist", "null"); } // ***** class wxExcelListObject PROPERTIES ***** bool wxExcelListObject::GetActive() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("Active"); } wxString wxExcelListObject::GetAlternativeText() { WXAUTOEXCEL_PROPERTY_STRING_GET0("AlternativeText"); } void wxExcelListObject::SetAlternativeText(const wxString& alternativeText) { InvokePutProperty(wxS("AlternativeText"), alternativeText); } wxExcelAutoFilter wxExcelListObject::GetAutoFilter() { wxExcelAutoFilter autoFilter; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("AutoFilter", autoFilter); } wxString wxExcelListObject::GetComment() { WXAUTOEXCEL_PROPERTY_STRING_GET0("Comment"); } void wxExcelListObject::SetComment(const wxString& comment) { InvokePutProperty(wxS("Comment"), comment); } wxExcelRange wxExcelListObject::GetDataBodyRange() { wxExcelRange range; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("DataBodyRange", range); } wxString wxExcelListObject::GetDisplayName() { WXAUTOEXCEL_PROPERTY_STRING_GET0("DisplayName"); } void wxExcelListObject::SetDisplayName(const wxString& displayName) { InvokePutProperty(wxS("DisplayName"), displayName); } bool wxExcelListObject::GetDisplayRightToLeft() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("DisplayRightToLeft"); } wxExcelRange wxExcelListObject::GetHeaderRowRange() { wxExcelRange range; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("HeaderRowRange", range); } wxExcelRange wxExcelListObject::GetInsertRowRange() { wxExcelRange range; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("InsertRowRange", range); } wxExcelListColumns wxExcelListObject::GetListColumns() { wxExcelListColumns listColumns; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("ListColumns", listColumns); } wxExcelListRows wxExcelListObject::GetListRows() { wxExcelListRows listRows; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("ListRows", listRows); } wxString wxExcelListObject::GetName() { WXAUTOEXCEL_PROPERTY_STRING_GET0("Name"); } void wxExcelListObject::SetName(const wxString& name) { InvokePutProperty(wxS("Name"), name); } wxExcelRange wxExcelListObject::GetRange() { wxExcelRange range; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("Range", range); } wxString wxExcelListObject::GetSharePointURL() { WXAUTOEXCEL_PROPERTY_STRING_GET0("SharePointURL"); } bool wxExcelListObject::GetShowAutoFilter() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowAutoFilter"); } void wxExcelListObject::SetShowAutoFilter(bool showAutoFilter) { InvokePutProperty(wxS("ShowAutoFilter"), showAutoFilter); } bool wxExcelListObject::GetShowAutoFilterDropDown() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowAutoFilterDropDown"); } void wxExcelListObject::SetShowAutoFilterDropDown(bool showAutoFilterDropDown) { InvokePutProperty(wxS("ShowAutoFilterDropDown"), showAutoFilterDropDown); } bool wxExcelListObject::GetShowHeaders() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowHeaders"); } void wxExcelListObject::SetShowHeaders(bool showHeaders) { InvokePutProperty(wxS("ShowHeaders"), showHeaders); } bool wxExcelListObject::GetShowTableStyleColumnStripes() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowTableStyleColumnStripes"); } void wxExcelListObject::SetShowTableStyleColumnStripes(bool showTableStyleColumnStripes) { InvokePutProperty(wxS("ShowTableStyleColumnStripes"), showTableStyleColumnStripes); } bool wxExcelListObject::GetShowTableStyleFirstColumn() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowTableStyleFirstColumn"); } void wxExcelListObject::SetShowTableStyleFirstColumn(bool showTableStyleFirstColumn) { InvokePutProperty(wxS("ShowTableStyleFirstColumn"), showTableStyleFirstColumn); } bool wxExcelListObject::GetShowTableStyleLastColumn() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowTableStyleLastColumn"); } void wxExcelListObject::SetShowTableStyleLastColumn(bool showTableStyleLastColumn) { InvokePutProperty(wxS("ShowTableStyleLastColumn"), showTableStyleLastColumn); } bool wxExcelListObject::GetShowTableStyleRowStripes() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowTableStyleRowStripes"); } void wxExcelListObject::SetShowTableStyleRowStripes(bool showTableStyleRowStripes) { InvokePutProperty(wxS("ShowTableStyleRowStripes"), showTableStyleRowStripes); } bool wxExcelListObject::GetShowTotals() { WXAUTOEXCEL_PROPERTY_BOOL_GET0("ShowTotals"); } void wxExcelListObject::SetShowTotals(bool showTotals) { InvokePutProperty(wxS("ShowTotals"), showTotals); } wxExcelSort wxExcelListObject::GetSort() { wxExcelSort sort; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("Sort", sort); } void wxExcelListObject::SetSort(wxExcelSort sort) { wxVariant vSort; if ( ObjectToVariant(&sort, vSort) ) { InvokePutProperty(wxS("Sort"), vSort); } } XlListObjectSourceType wxExcelListObject::GetSourceType() { WXAUTOEXCEL_PROPERTY_ENUM_GET0("SourceType", XlListObjectSourceType, xlSrcRange); } wxString wxExcelListObject::GetSummary() { WXAUTOEXCEL_PROPERTY_STRING_GET0("Summary"); } void wxExcelListObject::SetSummary(const wxString& summary) { InvokePutProperty(wxS("Summary"), summary); } wxExcelTableObject wxExcelListObject::GetTableObject() { wxExcelTableObject tableObject; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("TableObject", tableObject); } wxExcelTableStyle wxExcelListObject::GetTableStyle() { wxExcelTableStyle tableStyle; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("TableStyle", tableStyle); } void wxExcelListObject::SetTableStyle(wxExcelTableStyle tableStyle) { wxVariant vTableStyle; if ( ObjectToVariant(&tableStyle, vTableStyle) ) { InvokePutProperty(wxS("TableStyle"), vTableStyle); } } wxExcelRange wxExcelListObject::GetTotalsRowRange() { wxExcelRange range; WXAUTOEXCEL_PROPERTY_OBJECT_GET0("TotalsRowRange", range); } // ***** class wxExcelListObjects METHODS ***** wxExcelListObject wxExcelListObjects::Add(wxExcelRange* source, XlYesNoGuess* XlListObjectHasHeaders, const wxString& tableStyleName) { wxExcelListObject object; wxVariantVector args; args.push_back(wxVariant((long)xlSrcRange, "SourceType")); if ( source ) { wxVariant vSource; if ( !ObjectToVariant(source, vSource, "Source") ) return object; args.push_back(vSource); } WXAUTOEXCEL_OPTIONALCPP_TO_OPTIONALVARIANT_NAME(XlListObjectHasHeaders, ((long*)XlListObjectHasHeaders)); WXAUTOEXCEL_OPTIONALCPP_TO_OPTIONALVARIANT_NAME_VECTOR(XlListObjectHasHeaders, ((long*)XlListObjectHasHeaders), args); WXAUTOEXCEL_OPTIONALCPPSTR_TO_OPTIONALVARIANT_NAME_VECTOR(TableStyleName, tableStyleName, args); WXAUTOEXCEL_CALL_METHODARR("Add", args, "void*", object); VariantToObject(vResult, &object); return object; } wxExcelListObject wxExcelListObjects::Add(const wxArrayString& source, wxExcelRange destination, wxXlTribool linkSource, XlYesNoGuess* XlListObjectHasHeaders, const wxString& tableStyleName) { wxExcelListObject object; wxVariantVector args; wxVariant vDestination; wxCHECK_MSG(source.size() == 3, object, "source must contain 3 strings"); wxCHECK_MSG(destination.IsOk_(), object, "destination must be a valid range"); args.push_back(wxVariant((long)xlSrcExternal, "SourceType")); args.push_back(wxVariant(source, "Source")); if ( !ObjectToVariant(&destination, vDestination, "Destination") ) return object; WXAUTOEXCEL_OPTIONALCPPTBOOL_TO_OPTIONALVARIANT_NAME_VECTOR(LinkSource, linkSource, args); WXAUTOEXCEL_OPTIONALCPP_TO_OPTIONALVARIANT_NAME_VECTOR(XlListObjectHasHeaders, ((long*)XlListObjectHasHeaders), args); WXAUTOEXCEL_OPTIONALCPPSTR_TO_OPTIONALVARIANT_NAME_VECTOR(TableStyleName, tableStyleName, args); WXAUTOEXCEL_CALL_METHODARR("Add", args, "void*", object); VariantToObject(vResult, &object); return object; } // ***** class wxExcelListObjects PROPERTIES ***** long wxExcelListObjects::GetCount() { WXAUTOEXCEL_PROPERTY_LONG_GET0("Count"); } wxExcelListObject wxExcelListObjects::GetItem(long index) { wxASSERT( index > 0 ); wxExcelListObject object; WXAUTOEXCEL_PROPERTY_OBJECT_GET1("Item", index, object); } wxExcelListObject wxExcelListObjects::GetItem(const wxString& name) { wxASSERT( !name.empty() ); wxExcelListObject object; WXAUTOEXCEL_PROPERTY_OBJECT_GET1("Item", name, object); } wxExcelListObject wxExcelListObjects::operator[](long index) { return GetItem(index); } wxExcelListObject wxExcelListObjects::operator[](const wxString& name) { return GetItem(name); } } // namespace wxAutoExcel
[ "pbfordev@gmail.com" ]
pbfordev@gmail.com
298b6b84cc1b7adfb47ac45ac93f3e9d146236ad
498f5629f15083ac5dbbb3ba73f90bf59067f2e5
/codeforces/B. Lecture.cpp
8f341bd9e0b6bb0e69c2d09abb86617d29531c9f
[]
no_license
priyanshuN/Algorithms
b3103722fd6657d6507d72d73ba80b35e3a196dd
22559ffc50939256f2324afd313d4a32bb63f6ac
refs/heads/master
2022-01-31T06:17:52.577691
2022-01-08T14:33:56
2022-01-08T14:33:56
244,685,281
1
0
null
2022-01-08T14:33:57
2020-03-03T16:24:45
C++
UTF-8
C++
false
false
742
cpp
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; vector<pair<string,string>>s; for(int i=0;i<m;++i){ string s1,s2; cin>>s1>>s2; s.push_back(make_pair(s1,s2)); } vector<string>str; for(int i=0;i<n;++i){ string s3; cin>>s3; str.push_back(s3); } for(int i=0;i<n;++i){ for(int j=0;j<m;++j){ if(str[i]==s[j].first||str[i]==s[j].second){ if((s[j].first).size()<=(s[j].second).size()){ cout<<s[j].first<<' '; } else{ cout<<s[j].second<<' '; } break; } } } return 0; }
[ "priyanshunandan17@gmail.com" ]
priyanshunandan17@gmail.com
e488508e807891b2afe49dad13009fca11fa71a2
897ec5f936d1b964f23e158b0f6d1431ca0e0b16
/mainwindow.cpp
a8abf68e65336294847abb17659d3ec3dfe085e9
[]
no_license
DivyaBhatia29/TutorialBoard
8fcf21751a40720da3c6b8175f65d911874648b8
e5e13fc1907ef6c6c908fa888546ef82e41e89bb
refs/heads/main
2023-06-03T17:16:45.681110
2021-06-24T17:01:09
2021-06-24T17:01:09
379,935,083
0
0
null
null
null
null
UTF-8
C++
false
false
25,650
cpp
#include<iostream> #include "mainwindow.h" #include "ui_mainwindow.h" #include<QPainter> #include<QMouseEvent> #include<QFileDialog> #include<QMessageBox> #include "tmlinecomponent.h" #include "tmellipsecomponent.h" #include "tmrectanglecomponent.h" #include "drawablecomponent.h" #include"tmfreehandcomponent.h" #include <QtMath> #include<QDebug> using namespace std; int color=4; TMView view; int flag=0; int startX; int startY; int endX; int endY; int j=0; int e=0; int tempX; int tempY; int t=0; int z=0; int m=0; int p=0; int ser; int change; int select=0; TMLineComponent *line; TMRectangleComponent *rectangle; TMEllipseComponent *ellipse; TMFreehandComponent *freehandC; QPainter *painter; QList<int> *selectedList=nullptr; QList<DrawableComponent *> *listToSelect=nullptr; QList<DrawableComponent *> *listToMove=nullptr; QList<DrawableComponent *> *listToDraw=nullptr; QList<DrawableComponent *> *listToDegroup=nullptr; int a=0; int u=0; int q=0; int group=0; int ungroup=0; int mulSel=0; int draw=0; QList<int> *freehand=nullptr; QList<int> *freehandOld=nullptr; //QVector<QVector<int>> freehand; #define PI 3.14159265 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); this->ui->testLabel->setVisible(false); QPixmap linePixmap(":/images/line_icon.png"); QIcon lineIcon(linePixmap); this->ui->lineButton->setIcon(lineIcon); QPixmap circlePixmap(":/images/circle2_icon.png"); QIcon circleIcon(circlePixmap); this->ui->circleButton->setIcon(circleIcon); QPixmap rectanglePixmap(":/images/rectangle_icon.png"); QIcon rectangleIcon(rectanglePixmap); this->ui->rectangleButton->setIcon(rectangleIcon); QPixmap savePixmap(":/images/save_icon.png"); QIcon saveIcon(savePixmap); this->ui->saveButton->setIcon(saveIcon); QPixmap openPixmap(":/images/open_icon.png"); QIcon openIcon(openPixmap); this->ui->openButton->setIcon(openIcon); QPixmap groupPixmap(":/images/group_icon.png"); QIcon groupIcon(groupPixmap); this->ui->groupButton->setIcon(groupIcon); QPixmap ungroupPixmap(":/images/degroup_icon.png"); QIcon ungroupIcon(ungroupPixmap); this->ui->ungroupButton->setIcon(ungroupIcon); QPixmap clearPixmap(":/images/clear_icon.png"); QIcon clearIcon(clearPixmap); this->ui->clearButton->setIcon(clearIcon); } MainWindow::~MainWindow() { delete ui; } void MainWindow::paintEvent(QPaintEvent *event) { QPainter painter(this); QRectF rect(170,30,1400,911); QPen pen(Qt::black); pen.setWidth(10); painter.setPen(pen); painter.setBrush(QBrush(Qt::white)); painter.fillRect(rect,Qt::SolidPattern); painter.drawRect(rect); //view.drawView(&painter); if(color==1) { QPen pen(Qt::red); pen.setWidth(4); painter.setPen(pen); } if(color==2) { QPen pen(Qt::green); pen.setWidth(4); painter.setPen(pen); }if(color==3) { QPen pen(Qt::blue); pen.setWidth(4); painter.setPen(pen); }if(color==4) { QPen pen(Qt::black); pen.setWidth(4); painter.setPen(pen); } if(draw==1) { view.drawView(&painter); draw=0; //return; } this->ui->shapeList->setSelectionMode(QAbstractItemView::SingleSelection); qDebug()<<"paintEvent started"; if(flag==6) { qDebug()<<"Entered in flag==6"; if(t==1) { qDebug()<<"Entered in t==1"; if(color==1) { QPen pen(Qt::red); pen.setWidth(4); painter.setPen(pen); } if(color==2) { QPen pen(Qt::green); pen.setWidth(4); painter.setPen(pen); }if(color==3) { QPen pen(Qt::blue); pen.setWidth(4); painter.setPen(pen); }if(color==4) { cout<<"Entered in color==4"; QPen pen(Qt::black); pen.setWidth(4); painter.setPen(pen); } view.drawView(&painter); if(freehand==nullptr) { freehand=new QList<int>; freehand->push_back(startX); freehand->push_back(startY); } freehand->push_back(tempX); freehand->push_back(tempY); view.drawView(&painter); int i=2; int x1,x2,y1,y2; x1=freehand->at(0); y1=freehand->at(1); while(i<freehand->size()-2) { cout<<"Entered in while loop"; x2=freehand->at(i); i++; y2=freehand->at(i); i++; painter.drawLine(x1,y1,x2,y2); x1=x2; y1=y2; } t=0; } if(j==1) { freehand->push_back(endX); freehand->push_back(endY); freehandC=new TMFreehandComponent(); freehandC->setFreehandList(freehand); freehandC->setColor(color); freehand=nullptr; view.add(freehandC); view.drawView(&painter); qDebug()<<"exit from j"; a=1; j=0; } } if(flag==1) { if(t==1) { view.drawView(&painter); if(color==1) { QPen pen(Qt::red); pen.setWidth(4); painter.setPen(pen); } if(color==2) { QPen pen(Qt::green); pen.setWidth(4); painter.setPen(pen); }if(color==3) { QPen pen(Qt::blue); pen.setWidth(4); painter.setPen(pen); }if(color==4) { QPen pen(Qt::black); pen.setWidth(4); painter.setPen(pen); } painter.drawLine(startX,startY,tempX,tempY); // view.drawView(&painter); t=0; } if(j==1) { line=new TMLineComponent(); line->setStartX(startX); line->setStartY(startY); line->setEndX(endX); line->setEndY(endY); line->setColor(color); view.add(line); view.drawView(&painter); a=1; j=0; } } if(flag==2) { if(t==1) { view.drawView(&painter); if(color==1) { QPen pen(Qt::red); pen.setWidth(4); painter.setPen(pen); } if(color==2) { QPen pen(Qt::green); pen.setWidth(4); painter.setPen(pen); }if(color==3) { QPen pen(Qt::blue); pen.setWidth(4); painter.setPen(pen); }if(color==4) { QPen pen(Qt::black); pen.setWidth(4); painter.setPen(pen); } painter.drawRect(startX,startY,tempX-startX,tempY-startY); //view.drawView(&painter); t=0; } if(j==1) { rectangle=new TMRectangleComponent(); rectangle->setX(startX); rectangle->setY(startY); rectangle->setWidth(endX-startX); rectangle->setHeight(endY-startY); rectangle->setColor(color); view.add(rectangle); view.drawView(&painter); a=1; j=0; } } if(flag==3) { if(t==1) { view.drawView(&painter); if(color==1) { QPen pen(Qt::red); pen.setWidth(4); painter.setPen(pen); } if(color==2) { QPen pen(Qt::green); pen.setWidth(4); painter.setPen(pen); }if(color==3) { QPen pen(Qt::blue); pen.setWidth(4); painter.setPen(pen); }if(color==4) { QPen pen(Qt::black); pen.setWidth(4); painter.setPen(pen); } // int radius=tempX-startX; //float radius=qSqrt(((tempX-startX)^2)+((tempY-startY)^2)); int radius=(qSqrt(((tempX-startX)*(tempX-startX))+((tempY-startY)*(tempY-startY)))); int q=0; float x1,y1,x2,y2; float pie=3.14159265/180; while(q<360) { x1=radius* cos(pie*q)+startX; y1=radius* sin(pie*q)+startY; q=q+1; x2=radius* cos(pie*q)+startX; y2=radius* sin(pie*q)+startY; painter.drawLine(x1,y1,x2,y2); } t=0; } if(j==1) { ellipse=new TMEllipseComponent(); int radius=(qSqrt(((endX-startX)*(endX-startX))+((endY-startY)*(endY-startY)))); ellipse->setX(startX-radius); ellipse->setY(startY-radius); ellipse->setWidth(2*radius); ellipse->setHeight(2*radius); ellipse->setColor(color); view.add(ellipse); view.drawView(&painter); a=1; j=0; } } if(flag==4) { view.clear(); this->ui->shapeList->clear(); update(); } if(flag==5) { if(t==1) { int ri=view.processClick(startX,startY,&painter); DrawableComponent *dc=view.getComponent(ri); listToDraw=view.ifMemberOfAnyGroup(dc); if(listToDraw!=nullptr) { view.drawViewExcept(&painter,listToDraw); int i=0; while(i<listToDraw->size()) { dc=listToDraw->at(i); QString type=dc->toString(); if(type=="Line") { line=(TMLineComponent *)dc; int wd1=startX-line->getStartX(); int hd1=startY-line->getStartY(); int wd2=line->getEndX()-startX; int hd2=line->getEndY()-startY; int x1=tempX-wd1; int y1=tempY-hd1; int x2=tempX+wd2; int y2=tempY+hd2; painter.drawLine(x1,y1,x2,y2); } if(type=="Rectangle") { rectangle=(TMRectangleComponent *)dc; int wd=startX-rectangle->getX(); int hd=startY-rectangle->getY(); int width=rectangle->getWidth(); int height=rectangle->getHeight(); int x=tempX-wd; int y=tempY-hd; painter.drawRect(x,y,width,height); } if(type=="Circle") { ellipse=(TMEllipseComponent *)dc; int wd=startX-ellipse->getX(); int hd=startY-ellipse->getY(); int x=tempX-wd; int y=tempY-hd; int width=ellipse->getWidth(); int height=ellipse->getHeight(); painter.drawEllipse(x,y,width,height); } if(type=="Freehand") { qDebug()<<"Entered in t==1 and e==1 and type=freehand"; freehandC=(TMFreehandComponent *)dc; freehandOld=freehandC->getFreehandList(); freehand=new QList<int>; int f=0; int x,y; int wd,hd,x2,y2; while(f<freehandOld->size()-2) { x=freehandOld->at(f); f++; y=freehandOld->at(f); f++; wd=startX-x; hd=startY-y; x2=tempX-wd; y2=tempY-hd; freehand->push_back(x2); freehand->push_back(y2); } f=2; int x1,y1; x1=freehand->at(0); y1=freehand->at(1); while(f<freehand->size()-2) { cout<<"Entered in while loop"; x2=freehand->at(f); f++; y2=freehand->at(f); f++; painter.drawLine(x1,y1,x2,y2); x1=x2; y1=y2; } freehand=nullptr; /* * freehandOld=freehandC->getFreehandList(); int oldStartX=freehandOld->at(0); int oldStartY=freehandOld->at(1); int wd=startX-oldStartX; int hd=startX-oldStartY; freehand=new QList<int>; freehand->push_back(startX); freehand->push_back(startY); int f=2; int x,y; while(f<freehandOld->size()) { x=freehandOld->at(f); f++; y=freehandOld->at(f); f++; freehand->push_back(x+wd); freehand->push_back(y+hd); } f=2; int x1,x2,y1,y2; x1=freehand->at(0); y1=freehand->at(1); while(f<freehand->size()-2) { cout<<"Entered in while loop"; x2=freehand->at(f); f++; y2=freehand->at(f); f++; painter.drawLine(x1,y1,x2,y2); x1=x2; y1=y2; } freehand=nullptr; */ } i++; } listToDraw=nullptr; } else { QString type=dc->toString(); //int oldX=0; //int oldY=0; if(type=="Line") { line=(TMLineComponent *)dc; int wd1=startX-line->getStartX(); int hd1=startY-line->getStartY(); int wd2=line->getEndX()-startX; int hd2=line->getEndY()-startY; int x1=tempX-wd1; int y1=tempY-hd1; int x2=tempX+wd2; int y2=tempY+hd2; view.drawViewExcept(&painter,line); painter.drawLine(x1,y1,x2,y2); } if(type=="Rectangle") { rectangle=(TMRectangleComponent *)dc; int wd=startX-rectangle->getX(); int hd=startY-rectangle->getY(); int width=rectangle->getWidth(); int height=rectangle->getHeight(); int x=tempX-wd; int y=tempY-hd; view.drawViewExcept(&painter,rectangle); painter.drawRect(x,y,width,height); } if(type=="Circle") { ellipse=(TMEllipseComponent *)dc; int wd=startX-ellipse->getX(); int hd=startY-ellipse->getY(); int x=tempX-wd; int y=tempY-hd; int width=ellipse->getWidth(); int height=ellipse->getHeight(); view.drawViewExcept(&painter,ellipse); painter.drawEllipse(x,y,width,height); } if(type=="Freehand") { qDebug()<<"Entered in t==1 and e==1 and type=freehand"; freehandC=(TMFreehandComponent *)dc; view.drawViewExcept(&painter,freehandC); // freehand=freehandC->getFreehandList(); //freehandC=(TMFreehandComponent *)dc; freehandOld=freehandC->getFreehandList(); freehand=new QList<int>; int f=0; int x,y; int wd,hd,x2,y2; while(f<freehandOld->size()-2) { x=freehandOld->at(f); f++; y=freehandOld->at(f); f++; wd=startX-x; hd=startY-y; x2=tempX-wd; y2=tempY-hd; freehand->push_back(x2); freehand->push_back(y2); } f=2; int x1,y1; x1=freehand->at(0); y1=freehand->at(1); while(f<freehand->size()-2) { cout<<"Entered in while loop"; x2=freehand->at(f); f++; y2=freehand->at(f); f++; painter.drawLine(x1,y1,x2,y2); x1=x2; y1=y2; } freehand=nullptr; } } t=0; } if(j==1) { qDebug()<<"Entered in j==1"; int ri=view.processClick(startX,startY,&painter); DrawableComponent *dc=view.getComponent(ri); listToMove=view.ifMemberOfAnyGroup(dc); if(listToMove!=nullptr) { int i=0; while(i<listToMove->size()) { dc=listToMove->at(i); dc->move(&painter,startX,startY,endX,endY); i++; } listToMove=nullptr; } else { qDebug()<<"Entered in j==1 listToMove==nullptr"; dc->move(&painter,startX,startY,endX,endY); } view.drawView(&painter); view.processClick(endX,endY,&painter); j=0; flag=1; select=0; p=0; } /* if(z==1) { view.drawView(&painter); int row=view.processClick(startX,startY,&painter); this->ui->shapeList->item(row)->setSelected(true); select=1; z=0; return; } */ } if(group==1) { if(mulSel==1) { view.drawView(&painter); int i=view.populateIGL(selectedList); this->ui->testLabel->setText(QString::number(i)); group=0; // return; } } if(ungroup==1) { view.drawView(&painter); int row=view.processClick(startX,startY,&painter); DrawableComponent *dc=view.getComponent(row); listToDegroup=view.ifMemberOfAnyGroup(dc); if(listToDegroup!=nullptr) { int i=0; //DrawableComponent *dc; while(i<listToDegroup->size()) { dc=listToDegroup->at(i); dc->select(&painter); i++; } view.removeGroup(listToDegroup); } ungroup=0; } if(z==1) { view.drawView(&painter); if(e==1) { qDebug()<<"Entered in z==1 and e==1 "; view.drawView(&painter); if(selectedList==nullptr) { selectedList=new QList<int>(); } this->ui->testLabel->setText("strating process click"); int row=view.processClick(startX,startY,&painter); this->ui->testLabel->setText("end prpcess click"); selectedList->push_back(row); int i=0; DrawableComponent *dc; view.drawView(&painter); this->ui->shapeList->setSelectionMode(QAbstractItemView::MultiSelection); this->ui->testLabel->setText("entering in while loop"); while(i<selectedList->size()) { row=selectedList->at(i); this->ui->shapeList->item(row)->setSelected(true); dc=view.getComponent(row); dc->select(&painter); i++; } z=0; mulSel=1; //return; } else { qDebug()<<"Entered in process click of else"; view.drawView(&painter); int row=view.processClick(startX,startY,&painter); qDebug()<<"After process click of else"; //this->ui->shapeList->item(row)->setSelected(true); if(row==-1) { view.drawView(&painter); this->ui->shapeList->setSelectionMode(QAbstractItemView::NoSelection); } else { view.drawView(&painter); qDebug()<<"After process click in else"; int row=view.processClick(startX,startY,&painter); if(row>=0) { this->ui->shapeList->item(row)->setSelected(true); } DrawableComponent *dc=view.getComponent(row); listToSelect=view.ifMemberOfAnyGroup(dc); if(listToSelect!=nullptr) { this->ui->shapeList->setSelectionMode(QAbstractItemView::MultiSelection); int i=0; while(i<listToSelect->size()) { dc=listToSelect->at(i); dc->select(&painter); int r=view.indexOf(dc); this->ui->shapeList->item(r)->setSelected(true); i++; } listToSelect=nullptr; //this->ui->shapeList->item(row)->setSelected(true); } } if(selectedList!=nullptr) { selectedList->clear(); } mulSel=0; select=1; z=0; // return; } } if(a==1) { DrawableComponent *component; int i=0; this->ui->shapeList->clear(); while(i<view.getSize()) { component=view.getComponent(i); this->ui->shapeList->addItem(component->toString()); i++; } a=0; } if(change==1) { int rowIndex=this->ui->shapeList->currentRow(); DrawableComponent *d=view.getComponent(rowIndex); view.drawView(&painter); d->select(&painter); change=0; } } void MainWindow::on_redColorButton_clicked() { color=1; //update(); } void MainWindow::on_greenColorButton_clicked() { color=2; // update(); } void MainWindow::on_blueColorButton_clicked() { color=3; //update(); } void MainWindow::on_blackColorButton_clicked() { color=4; //update(); } void MainWindow::mousePressEvent(QMouseEvent *event) { if(flag==1 || flag==2 || flag==3 || flag==5 || flag==6) { startX=event->x(); startY=event->y(); } } void MainWindow::mouseMoveEvent(QMouseEvent *event) { if(flag==1 || flag==2 || flag==3 || flag==5 || flag==6) { tempX=event->x(); tempY=event->y(); if(select==1 && z==1) { flag=5; } t=1; update(); } } void MainWindow::mouseReleaseEvent(QMouseEvent *event) { if(flag==1 || flag==2 || flag==3 || flag==5 || flag==6) { endX=event->x(); endY=event->y(); if(startX!=endX && startY!=endY) { j=1; } else { z=1; } if(select==1 && z==1) { flag=5; } update(); } } void MainWindow::on_lineButton_clicked() { flag=1; //update(); } void MainWindow::on_rectangleButton_clicked() { flag=2; //update(); } void MainWindow::on_circleButton_clicked() { flag=3; //update(); } void MainWindow::on_shapeList_itemSelectionChanged() { // change=1; //update(); } void MainWindow::on_shapeList_itemClicked(QListWidgetItem *item) { change=1; update(); } void MainWindow::on_clearButton_clicked() { flag=4; update(); } void MainWindow::keyPressEvent(QKeyEvent *event) { if(event->modifiers()==Qt::CTRL) { e=1; this->ui->testLabel->setText("control key pressed."); } } void MainWindow::keyReleaseEvent(QKeyEvent *event) { if(event->key()==Qt::Key_Control) { e=2; this->ui->testLabel->setText("control key released."); } } void MainWindow::on_groupButton_clicked() { group=1; update(); } void MainWindow::on_ungroupButton_clicked() { ungroup=1; update(); } void MainWindow::on_saveButton_clicked() { view.saveToFile(this); this->ui->shapeList->clear(); } void MainWindow::on_openButton_clicked() { view.loadFromFile(this); int size=view.getSize(); this->ui->testLabel->setText(QString::number(size)); draw=1; update(); } void MainWindow::on_freehandButton_clicked() { flag=6; cout<<"value of flag=6"; //update(); }
[ "noreply@github.com" ]
DivyaBhatia29.noreply@github.com
70b638a43b730b0003c8ca4d811c4224c6ddb9cd
dec39473976f0b37651fc76e4ff4fadfb5c2efba
/celllocationinstance.h
e9fe8d5b24f65f13ed75f90582ff58db870e6e8e
[]
no_license
dmshan88/mqttsub
7f2e469e7c4c764c0049e1c5362ef2c97390712e
9826f5cfdf078c74a94b0971d8ece121cbf95ea2
refs/heads/master
2020-03-06T21:29:50.639575
2018-04-17T06:31:20
2018-04-17T06:31:20
127,078,762
0
0
null
2018-04-17T06:31:21
2018-03-28T03:30:43
C++
UTF-8
C++
false
false
812
h
#ifndef CELLLOCATIONINSTANCE_H #define CELLLOCATIONINSTANCE_H #include <QObject> #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QUrl> static const QString CELLLOCATION_URL = "http://api.cellocation.com:81/cell/"; class Celllocationinstance : public QObject { Q_OBJECT public: static Celllocationinstance* Instance(); ~Celllocationinstance(); bool getlocation(int mcc, int mnc, uint lac, uint ci); double getLat() {return m_lat;} double getLon() {return m_lon;} QString getAddress() {return m_address;} private: bool checkreturn(QByteArray retdata); protected: Celllocationinstance(); signals: public slots: private slots: private: static Celllocationinstance* _instance; double m_lat; double m_lon; QString m_address; }; #endif
[ "dm_shan@163.com" ]
dm_shan@163.com
be5637deb9a70b8acc3c4d3cce4ac3cd242b3408
d3c1ae82c4fe2a6f15ab720a4f2ea1b88dbd19ef
/Evidyon/apps/editor/winmain.cpp
2ea0e1f49d6891f9c2161210de8270e8adae44b4
[ "MIT" ]
permissive
karlgluck/evidyon-2.10
0f2b1950ee2412871b40e71fd6162efe2be4027d
632c863ecc95398dca2bbc84ba4eac9b8a83f01c
refs/heads/master
2020-05-18T09:24:40.855048
2014-12-02T17:55:14
2014-12-02T17:55:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,542
cpp
//------------------------------------------------------------------------------------------------ // File: winmain.cpp // // Desc: Entry point to the Project Volucris resource editor, which is a project built using // the DirectCraft (dc) and DirectCraft Extensions (dcx) libraries. // // Copyright (c) 2007-2008 Unseen Studios. All rights reserved. //------------------------------------------------------------------------------------------------ #include "stdafx.h" #include "allgameresources.h" #include "editresourcedialog.h" #include "projectvolucriseditor.h" #include <dc/dcresourcetrader.h> #include <dcx/inifilereader> #include "commctrl.h" //------------------------------------------------------------------------------------------------ // Name: WinMain // Desc: Entry point for the application //------------------------------------------------------------------------------------------------ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) { { // initialize the path char buffer[MAX_PATH]; GetCurrentDirectory(MAX_PATH, buffer); dc::dcFileName::setCurrentPath(buffer); } INITCOMMONCONTROLSEX InitCtrlEx; InitCtrlEx.dwSize = sizeof(INITCOMMONCONTROLSEX); InitCtrlEx.dwICC = ICC_TAB_CLASSES; InitCommonControlsEx(&InitCtrlEx); if (true) { std::string s; dc::dcResourceTrader::printAllResourceTypes(&s); OutputDebugString(s.c_str()); } // Execute the editor application return globalEditor()->Run(); }
[ "karlgluck@gmail.com" ]
karlgluck@gmail.com
8153f695d58afca1d5fb7bda3ac0e0d44081d75a
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-directconnect/include/aws/directconnect/model/DescribeVirtualGatewaysRequest.h
182762cabbd8f5a5c44d3a65ed6dc3c8a324f1d9
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
1,167
h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/directconnect/DirectConnect_EXPORTS.h> #include <aws/directconnect/DirectConnectRequest.h> namespace Aws { namespace DirectConnect { namespace Model { /** */ class DescribeVirtualGatewaysRequest : public DirectConnectRequest { public: AWS_DIRECTCONNECT_API DescribeVirtualGatewaysRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeVirtualGateways"; } AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override; AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; }; } // namespace Model } // namespace DirectConnect } // namespace Aws
[ "sbiscigl@asu.edu" ]
sbiscigl@asu.edu
efa92376da596a1081ab3083f968c6457a8c57b4
b770387df67108cd598b764ce11ef3223e91e836
/qge/AngledSprite.cpp
445fbcbb9178495405482d43b2e5062e2e9dd372
[]
no_license
MeLikeyCode/QtGameEngine
45678cfcc89ef34eefe6b6f2b2e77bbef5576947
4f386f0f40b620d4351baf9b124371991fc6af94
refs/heads/master
2022-10-19T04:42:42.554122
2020-05-20T00:03:53
2020-05-20T00:03:53
114,507,663
115
35
null
2022-10-06T01:59:42
2017-12-17T03:51:42
C++
UTF-8
C++
false
false
6,255
cpp
#include "AngledSprite.h" #include "Sprite.h" #include "Utilities.h" #include "STLWrappers.h" using namespace qge; AngledSprite::AngledSprite(): sprite_(new Sprite()) { underlyingItem_ = sprite_; connect(sprite_,&Sprite::animationFinished,this,&AngledSprite::onInternalSpriteAnimationFinished_); connect(sprite_,&Sprite::animationFinishedCompletely,this,&AngledSprite::onInternalSpriteAnimationCompletelyFinished_); connect(sprite_,&Sprite::frameSwitched,this,&AngledSprite::onInternalSpriteFrameSwitched_); } /// Adds a frame to the AngledSprite. /// @param frame The frame to add. /// @param toAnimation Name of the animation. /// @param forAngle Angle of the frame. /// If the animation with the specified name does not exist, it will be created. void AngledSprite::addFrame(const QPixmap &frame, const std::string &toAnimation, int forAngle) { assert(toAnimation != ""); bool hasDigits = std::find_if(std::begin(toAnimation),std::end(toAnimation),[](char c){return isdigit(c);}) != std::end(toAnimation); assert(!hasDigits); // numbers not allowed in animation names // if this animation doesn't exist for any angle if (animationToAngle_.find(toAnimation) == std::end(animationToAngle_)) animationToAngle_[toAnimation] = std::vector<int>(); // if this animation doesn't exist just for this angle std::vector<int> angles = animationToAngle_[toAnimation]; if (std::find(std::begin(angles),std::end(angles),forAngle) == std::end(angles)){ animationToAngle_[toAnimation].push_back(forAngle); } sprite_->addFrame(frame,toAnimation + std::to_string(forAngle)); } /// Adds frames from a SpriteSheet to the AngledSprite. /// @param angle The facing angle that frames are facing. /// @param animationName Name of the animation. /// @param fromSpriteSheet The SpriteSheet to create frames for the animation. /// @param fromNode Where on the SpriteSheet to start adding frames for the animation. /// @param toNode Where on the SpriteSheet to stop adding frames for the animation. /// If the animation with the specified name does not exist, it will be created. void AngledSprite::addFrames(int angle, std::string animationName, const SpriteSheet &fromSpriteSheet, const Node &fromNode, const Node &toNode) { bool hasDigits = std::find_if(std::begin(animationName),std::end(animationName),[](char c){return isdigit(c);}) != std::end(animationName); assert(!hasDigits); // numbers not allowed in animation names if (animationToAngle_.find(animationName) == animationToAngle_.end()) animationToAngle_[animationName] = std::vector<int>(); std::vector<int> anglesForThisAnim = animationToAngle_[animationName]; if (!STLWrappers::contains(anglesForThisAnim,angle)) animationToAngle_[animationName].push_back(angle); sprite_->addFrames(fromNode,toNode,fromSpriteSheet,animationName+std::to_string(angle)); } double AngledSprite::actualFacingAngle() const { return actualFacingAngle_; } QRectF AngledSprite::boundingBox() const { return sprite_->boundingRect(); } bool AngledSprite::hasAnimation(const std::string &animationName) const { bool contains = animationToAngle_.find(animationName) != std::end(animationToAngle_); return contains; } void AngledSprite::play(const std::string &animationName, int numTimesToPlay, int fpsToPlayAt, int startingFrameNumber) { // approach: // - find animation with specified name // - find angle we have for that animation that is closest to current facing angle // - play animation (name + angle) assert(hasAnimation(animationName)); playingAnimation_ = animationName; numTimesToPlay_ = numTimesToPlay; fpsToPlayAt_ = fpsToPlayAt; // find closest angle available for specified animation and play that angle version std::vector<int> anglesForAnim = animationToAngle_[animationName]; double fAngle = facingAngle(); int closest = closestAngle(anglesForAnim,fAngle); sprite_->play(animationName + std::to_string(closest),numTimesToPlay,fpsToPlayAt,startingFrameNumber); actualFacingAngle_ = closest; // keep track of what the actual angle of the animation is } void AngledSprite::stop() { sprite_->stop(); playingAnimation_ = ""; } PlayingAnimationInfo AngledSprite::playingAnimation() { if (playingAnimation_ == "") return PlayingAnimationInfo(); int timesLeftToPlay = sprite_->playingAnimation().timesLeftToPlay(); int currentFrame = sprite_->currentFrameNumber(); return PlayingAnimationInfo(playingAnimation_,fpsToPlayAt_,timesLeftToPlay,currentFrame); } QPixmap AngledSprite::currentlyDisplayedFrame() const { return sprite_->currentFrame(); } /// Executed when the underlying sprite emits the "animationFinished" signal. /// Will emit our own "animationFinished" signal in response. void AngledSprite::onInternalSpriteAnimationFinished_(Sprite *sender, std::string animation) { // remove number from end std::string animWONums; for (char c : animation){ if (!isdigit(c)) animWONums.push_back(c); } emit animationFinished(this,animWONums); } /// Executed when the underlying sprite emits the "animationFinishedCompletely" signal. /// Will emit our own "animationFinishedCompletely" signal in response. void AngledSprite::onInternalSpriteAnimationCompletelyFinished_(Sprite *sender, std::string animation) { // remove number from end std::string animWONums; for (char c : animation){ if (!isdigit(c)) animWONums.push_back(c); } emit animationFinishedCompletely(this,animWONums); playingAnimation_ = ""; } void AngledSprite::onInternalSpriteFrameSwitched_(Sprite *sender, int fromFrameNum, int toFrameNum) { emit frameSwitched(this,fromFrameNum,toFrameNum); } void AngledSprite::setFacingAngle_(double angle) { // approach: // - if currently playing an animation, find version closest to angle and start playing that version from current frame index int frameIndex = sprite_->currentFrameNumber(); if (sprite_->playingAnimation().name() != ""){ play(playingAnimation_,sprite_->playingAnimation().timesLeftToPlay(),sprite_->playingAnimation().fps(),frameIndex); } }
[ "abdullah.aghazadah@gmail.com" ]
abdullah.aghazadah@gmail.com
8a803c988462fc0eb3ec0c17f0151875c314c4f4
18be9b5b95fdb0ae84fa1d69a6ac4941e0dcac05
/BWEngineCore/BWRenderQueue.cpp
4e6bf31d53d473814f69b16895e476a218923b24
[]
no_license
MyBW/BlackWalnutEngine
9f6a276777ed75a23ccf32811890cf0a2225a254
b55283b214f34a40bc4ab594f3bd7d753b77737a
refs/heads/master
2021-01-20T21:35:25.872196
2017-12-06T10:45:42
2017-12-06T10:45:42
101,459,154
0
0
null
null
null
null
GB18030
C++
false
false
7,910
cpp
#include "BWRenderQueue.h" #include "BWMaterialManager.h" #include "BWMovableObject.h" #include"BWFrustum.h" BWRenderQueueGroup::BWRenderQueueGroup() { } BWRenderQueueGroup::~BWRenderQueueGroup() { } void BWRenderQueue::processVisibleObject( BWMovableObject *mo, BWFrustum *camera, bool onlyShadowCaster, VisibleObjectsBoundsInfo *visibleBounds) { bool receiveShadow = getQueueGroup(mo->getRenderQueueDes())->getShadowEnable() && mo->getReceiveShadows(); if (mo->isVisible() && (!onlyShadowCaster || mo->getCastShadows())) { mo->updateRenderQueue(this); if (visibleBounds) { // assert(0); //更新可视范围 } } else { //assert(0); //阴影相关的函数 } } void BWRenderQueue::addRenderable(const BWRenderable &renderable, unsigned short renderQueueID, unsigned short renderQueuePriority) { RenderQueueGroupList::iterator itor = renderQueueGroupList.find(renderQueueID); BWRenderQueueGroup* group = NULL; if (itor == renderQueueGroupList.end()) { group = new BWRenderQueueGroup(); renderQueueGroupList.insert(RenderQueueGroupList::value_type(renderQueueID, group)); itor = renderQueueGroupList.find(renderQueueID); } else { group = itor->second; } if (!renderable.getMaterial().IsNull()) { renderable.getMaterial()->touch(); } BWTechnique *tech; if (renderable.getMaterial().IsNull() || !renderable.getTechnology()) { BWMaterialPtr basematerial = BWMaterialManager::GetInstance()->GetResource("BaseWhite"); tech = basematerial->getTechnique(0); } else { tech = renderable.getTechnology(); } group->addRenderable(renderable , tech, renderQueuePriority); } void BWRenderQueue::addRenderable(const BWRenderable &renderable) { addRenderable(renderable, mDefaultRenderQueueID, mDdefaultRenderPriority); } void BWRenderQueue::addRenderable(const BWRenderable &renderable, unsigned short renderQueueID) { addRenderable(renderable, renderQueueID, mDdefaultRenderPriority); } BWRenderQueue::BWRenderQueue() { } BWRenderQueueGroup* BWRenderQueue::getQueueGroup(RenderQueueGroup renderQueueGroup) { RenderQueueGroupList::iterator itor = renderQueueGroupList.find(renderQueueGroup); if (itor != renderQueueGroupList.end()) { return itor->second; } return NULL; } RenderQueueGroupList& BWRenderQueue::getRenderQueueGroupList() { return renderQueueGroupList; } void BWRenderQueue::clear() { RenderQueueGroupList::iterator itor = renderQueueGroupList.begin(); while (itor != renderQueueGroupList.end()) { itor->second->clear(); itor++; } } bool BWRenderQueueGroup::getShadowEnable() { return false; } RenderPriorityGroupList& BWRenderQueueGroup::getRenderPriorityGroupList() { return renderPriorityGropList; } void BWRenderQueueGroup::clear() { RenderPriorityGroupList::iterator itor = renderPriorityGropList.begin(); while (itor != renderPriorityGropList.end()) { itor->second->clear(); itor++; } } void BWRenderQueueGroup::addRenderable(const BWRenderable &renderable , BWTechnique *tech , unsigned short renderPriority) { //分组依据就是hrenderPriority 没其他的 就是比价这组renderable中谁先渲染 RenderPriorityGroupList::iterator itor = renderPriorityGropList.find(renderPriority); BWRenderPriorityGroup* priorityGroup = NULL; if (itor == renderPriorityGropList.end()) { priorityGroup = new BWRenderPriorityGroup(); renderPriorityGropList.insert(RenderPriorityGroupList::value_type(renderPriority, priorityGroup)); } else { priorityGroup = itor->second; } priorityGroup->addRenderable(renderable , tech); } BWRenderPriorityGroup::BWRenderPriorityGroup() { } BWRenderPriorityGroup::~BWRenderPriorityGroup() { } void BWRenderPriorityGroup::clear() { mCommonRenderableCollection.clear(); mTransparentRenderableCollection.clear(); } void BWRenderPriorityGroup::addRenderable(const BWRenderable &renderable , BWTechnique *tech) { //这里根据renderable 是否透明 深度缓冲区和颜色缓冲区是否开启 来分配渲染队列 //目前只判断是否透明 if (tech->isTransparent()) { addTranparentCollection(renderable , tech); return; } addToCommomCollection(renderable , tech); } void BWRenderPriorityGroup::addTranparentCollection(const BWRenderable &renderable, BWTechnique *tech) { const BWTechnique::PassList & passList = tech->getPassList(); BWTechnique::PassList::const_iterator itor = passList.begin(); while (itor != passList.end()) { mTransparentRenderableCollection.addRenderable(*itor, renderable); itor++; } } void BWRenderPriorityGroup::addToCommomCollection(const BWRenderable &renderable, BWTechnique *tech) { const BWTechnique::PassList & passList = tech->getPassList(); BWTechnique::PassList::const_iterator itor = passList.begin(); while(itor != passList.end()) { mCommonRenderableCollection.addRenderable(*itor, renderable); itor++; } } BWQueueRenderableCollection& BWRenderPriorityGroup::getSolidsBasic() { return mCommonRenderableCollection; } BWQueueRenderableCollection& BWRenderPriorityGroup::getTransparent() { return mTransparentRenderableCollection; } BWQueueRenderableCollection::BWQueueRenderableCollection() { mOrganisationMode = OM_PASS_GROUP; } BWQueueRenderableCollection::~BWQueueRenderableCollection() { } void BWQueueRenderableCollection::clear() { PassRenderableList::iterator itor = passRenderableList.begin(); while (itor != passRenderableList.end()) { itor->second->clear(); delete (itor->second); itor++; } passRenderableList.clear(); } void BWQueueRenderableCollection::addRenderable(const BWPass *pass , const BWRenderable &renderable) { //这里有三种分类方式 一种是根据pass 第二种根据到摄像机的远近 从近到远 第三种 从远到近 //这里只实现第一种 PassRenderableList::iterator itor = passRenderableList.find(pass); RenderableList * renderableList = NULL ; if (itor == passRenderableList.end()) { renderableList = new RenderableList(); passRenderableList.insert(PassRenderableList::value_type(pass , renderableList)); } else { renderableList = itor->second; } renderableList->push_back(&renderable); } void BWQueueRenderableCollection::accept( BWQueueRenderableVisitor& visitor, OrganisationMode mo) { if ((mo & mOrganisationMode) == 0) { if (OM_PASS_GROUP & mOrganisationMode) { mo = OM_PASS_GROUP; } else if (OM_SORT_ASCENDING & mOrganisationMode) { mo = OM_SORT_ASCENDING; }else if (OM_SORT_DESCENDING & mOrganisationMode) { mo = OM_SORT_DESCENDING; } else { assert(0); } } switch (mo) { case BWQueueRenderableCollection::OM_PASS_GROUP: acceptVisitorGrouped(visitor); break; case BWQueueRenderableCollection::OM_SORT_DESCENDING: acceptVisitorDescending(visitor); break; case BWQueueRenderableCollection::OM_SORT_ASCENDING: acceptVisitorAscending(visitor); break; default: break; } } void BWQueueRenderableCollection::acceptVisitorGrouped( BWQueueRenderableVisitor &visitor) { PassRenderableList::iterator itor = passRenderableList.begin(); PassRenderableList::iterator endItor = passRenderableList.end(); while (itor != endItor) { if (itor->second->empty()) { continue; } if (!visitor.visitor(itor->first)) // 先访问pass { continue; } RenderableList *renderableList = itor->second; RenderableList::iterator renderableItor = renderableList->begin(); RenderableList::iterator endRenderableItor = renderableList->end(); while (renderableItor != endRenderableItor) // 在方位renderable { visitor.visitor( const_cast<BWRenderable*>(*renderableItor)); renderableItor++; } itor++; } } void BWQueueRenderableCollection::acceptVisitorAscending(BWQueueRenderableVisitor &visitor) { } void BWQueueRenderableCollection::acceptVisitorDescending(BWQueueRenderableVisitor &visitor) { } void BWQueueRenderableCollection::setOrganisationMode(OrganisationMode model) { mOrganisationMode = model; }
[ "wudigoogle@q63.com" ]
wudigoogle@q63.com
940455a0fd9b91c75fb264b04525029e8be41a01
5e35a1274a93012d59d2b759716196d061461870
/pcapfifo.cc
02357d663e58f416606940880b43212244c30dce
[]
no_license
wtfbbqhax/pcapfifo
82953b6c4891e291aa77669ad7fd56c2b99af164
7ff6c0f5298f6d1f3630b631b0211047f1663bea
refs/heads/master
2020-07-05T09:03:57.644178
2016-08-17T13:14:03
2016-08-17T13:14:03
65,907,323
1
0
null
null
null
null
UTF-8
C++
false
false
1,404
cc
#include <pcap.h> #include <vector> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include <unistd.h> #include <sys/time.h> #include <time.h> pcap_dumper_t *put; void write_packet(uint8_t*, pcap_pkthdr *hdr, uint8_t *data) { pcap_dump((uint8_t*)put, hdr, data); return; } int main(int argc, char *argv[]) { std::vector<const char*> inputs; if( argc <= 2 ) { fprintf(stderr, "Not enough arguments\n"); exit(1); } for (int i = 1; i < argc-1; ++i ) { inputs.emplace_back(argv[i]); printf("%s\n", argv[i]); } pcap_t *_cap = pcap_open_dead(DLT_EN10MB, 65535); put = pcap_dump_open(_cap, argv[argc-1]); if( !put ) { fprintf(stderr, "Failed to open output %s\n", argv[argc-1]); exit(1); } for ( auto &fn : inputs ) { char errbuf[PCAP_ERRBUF_SIZE]; pcap_t* pin = pcap_open_offline(fn, errbuf); if( !pin ) { fprintf(stderr, "fatal: %s: %s\n", argv[1], errbuf); continue; } int err = pcap_loop(pin, -1, (pcap_handler)write_packet, NULL); if( err == -1 ) { fprintf(stderr, "fatal: %s:%s\n", fn, pcap_geterr(pin)); continue; } pcap_close(pin); } pcap_dump_close(put); pcap_close(_cap); // Move this as early as possible return 0; }
[ "victor@badsec.org" ]
victor@badsec.org
4ee1bde6170e232de7d602bcc4cf27ff8157557b
978306457e6ebf194ef2bf02adab610bd09a78d0
/c++/dowhile.cpp
1bc7c9434b72765d19279671f26544d85f8bceac
[]
no_license
mounika2206/sample_repo
145d6abd0c7d63ae06e2856c92b829a4b0030170
595a7c2d04e41c2bb2dc155d2e98da55f62ad3b5
refs/heads/master
2023-06-02T02:42:55.879466
2021-06-11T02:02:46
2021-06-11T02:02:46
375,877,317
0
0
null
null
null
null
UTF-8
C++
false
false
143
cpp
#include<iostream> using namespace std; int main() { int i=1; do { cout<<i<<" "; i=i*5; } while (i<=1000); }
[ "enugumounika@gmail.com" ]
enugumounika@gmail.com
55b088f43723da75be86d20c5d6ba16612fdb04b
95623c1f51b900ebe9c35d88e9c0a6c014e63041
/mainwindow.h
14f15ccf70cfe72b05033db36338738beef3a2fa
[]
no_license
billgewrgoulas/Notepad-QtApp
107c70b6b8690bdc98ebde443020e8ec3e1fedcb
08d4c589caa46c7163118df9d66267482f1c6eba
refs/heads/main
2023-08-25T00:24:09.861460
2021-09-04T19:55:31
2021-09-04T19:55:31
403,144,504
0
0
null
null
null
null
UTF-8
C++
false
false
919
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QFile> #include <QFileDialog> #include <QTextStream> #include <QMessageBox> #include <QPrinter> #include <QPrintDialog> QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: void on_actionNew_triggered(); void on_actionOpen_triggered(); void on_actionSave_triggered(); void on_actionPrint_triggered(); void on_actionExit_triggered(); void on_actionCopy_triggered(); void on_actionPaste_triggered(); void on_actionCut_triggered(); void on_actionUndo_triggered(); void on_actionRedo_triggered(); private: Ui::MainWindow *ui; QString currentFile = ""; }; #endif // MAINWINDOW_H
[ "noreply@github.com" ]
billgewrgoulas.noreply@github.com
e644142c12710786b8bc4d9c8a8d8a81835b284c
75f38387af3bd51a862157258a0949081eb297b7
/src/test/comp6.cpp
c64587ed1706715f44f56a44c61be88e52974be7
[ "MIT" ]
permissive
ifritJP/lctags
64475963352074d0fb58eed7fca92c91d485ec6e
bb13d6f627ba58a79f798dbd40a9f48ae24447d3
refs/heads/master
2023-07-24T13:23:13.184676
2023-07-23T00:59:59
2023-07-23T00:59:59
81,969,676
20
1
null
null
null
null
UTF-8
C++
false
false
636
cpp
#include <stdio.h> typedef enum { TEST60_1, TEST60_2, TEST60_3 } enum_TEST60; class TEST601; class TEST602; class TEST603; namespace ns1 { typedef enum { TEST6_1, TEST6_2, TEST6_3 } enum_TEST6; class TEST61; class TEST62; class TEST63; namespace ns2 { typedef enum { TEST62_1, TEST62_2, TEST62_3 } enum_TEST62; class TEST611; class TEST612; class TEST613; namespace ns3 { typedef enum { TEST63_1, TEST63_2, TEST63_3 } enum_TEST63; class TEST621; class TEST622; class TEST623; } int sub() { TE } } }
[ "15117169+ifritJP@users.noreply.github.com" ]
15117169+ifritJP@users.noreply.github.com
020bcf9825c174e050cb163eb0c8726a40a2b686
dd92525f492fe04c8c76f6c3d040aa61d6916ff5
/vetopulsebasic.hh
2a9b4ea08d764318c491b507a1b4e5cecf773c35
[]
no_license
liybu36/VetoPulse
7d085e655cb3289fe7930225d948c0061c1f0ece
f80427644d83a8fcb2e0356baba5d4982fa3ab65
refs/heads/master
2020-05-18T13:14:36.954680
2015-08-19T17:01:46
2015-08-19T17:01:46
40,141,084
0
0
null
null
null
null
UTF-8
C++
false
false
2,817
hh
#ifndef _vetopulsebasic_H #define _vetopulsebasic_H #include <map> #include <vector> #include <string> #include <iostream> #include <sstream> #include <fstream> #include <algorithm> #include "TH1F.h" #include "TH2F.h" #include "TF1.h" #include "TChain.h" #include "TTree.h" #include "TRint.h" #include "TColor.h" #include "TNtuple.h" #include "TString.h" using namespace std; class vetopulsebasic { public : vetopulsebasic(){} virtual ~vetopulsebasic() {} void SetMCinputdir(string val) { MCinputdir=val; } string GetMCinputdir() { return MCinputdir; } void SetMCFile(string val) { MCFile=val; } string GetMCFile() { return MCFile; } string GetRealinputdir() { return Realinputdir; } void SetRealinputdir(string val) { Realinputdir=val; } void SetRealFile(string val) { RealFile=val; } string GetRealFile() { return RealFile; } string GetRealoutputdir() { return Realoutputdir; } void SetRealoutputdir(string val) { Realoutputdir=val; } string Getoutputdir() { return outputdir; } void Setoutputdir(string val) { outputdir=val; } void SetOutFile(string val) { OutFile=val; } string GetOutFile() { return OutFile; } bool Verifydatafile(TString); int Colors(int); void SetIsotopes(); vector<string> GetIsotopes() { return Source; } int Search_Isotope(string); vector<int> Match_Isotope(vector<string>); void Fill_Isotope_Pos(vector<string>); vector<string> Interested_Isotope(); void SetBasics(); vector<double> GetFraction() { return fraction; } vector<int> GetNBins() { return NBins; } protected: vector<int> Source_Pos; vector<string> Source; vector<int> PDG; vector<int> NBins; vector<int> TBins; vector<int> Normalization; vector<double> fraction; private: string MCFile; string MCinputdir; string RealFile; string Realinputdir; string Realoutputdir; string outputdir; string OutFile; ClassDef(vetopulsebasic,0); }; inline int vetopulsebasic::Colors(int pos) { vector<int> color; color.push_back(TColor::GetColor("#FF2007")); //red 0 color.push_back(TColor::GetColor("#5A1DE8")); //violet 1 color.push_back(TColor::GetColor("#000000")); color.push_back(TColor::GetColor("#F73CFF")); //pink 5 color.push_back(TColor::GetColor("#1CFFDF")); //low green 7 color.push_back(TColor::GetColor("#1485CC")); //blue 4 color.push_back(TColor::GetColor("#FF791F")); //orange 6 color.push_back(TColor::GetColor("#AF2FCC")); //dark pink 8 color.push_back(TColor::GetColor("#E8A60C")); color.push_back(TColor::GetColor("#B26618")); color.push_back(TColor::GetColor("#79FFFF")); color.push_back(TColor::GetColor("#11FF8F")); color.push_back(TColor::GetColor("#59FF49")); //green 12 return color.at(pos); } #endif /* _vetopulsebasic_H */
[ "hqian36@gmail.com" ]
hqian36@gmail.com
d78a3ba8849f248043f98b623470c5505b3842b3
db6ed48dd2be8edbd038ea0b7aa9d2720d9121e6
/jni/MPACK/Resources/DOMParsers/JSONParser.hpp
ea22e4c524bf6b38e221df42ae46f622b7f9318c
[ "Apache-2.0" ]
permissive
links234/MPACK
c66aa9d6a21c4ebed5bd52ba115b1ed90f57623e
3eec9616630825d45453e9bf14dae0a3ee4d81e9
refs/heads/master
2021-05-16T03:22:02.479750
2016-11-21T16:07:10
2016-11-21T16:07:10
10,639,047
1
3
null
2015-11-27T20:45:28
2013-06-12T08:31:51
C
UTF-8
C++
false
false
773
hpp
#ifndef MPACK_JSONPARSER_HPP #define MPACK_JSONPARSER_HPP #include "Types.hpp" namespace MPACK { namespace Core { class DOM; } } namespace MPACK { namespace Core { class JSONParser : public Uncopyable { public: enum Style { STYLE_MINIFIY, STYLE_PRETTY }; JSONParser(); ~JSONParser(); DOM* Load(std::string path); void Save(std::string path, DOM* dom, Style style = STYLE_PRETTY); private: DOM* ParseRValue(); std::string ParseLValue(); void First(char *buffer); void Next(); char Char(); void Save_Minify(DOM *dom); void Save_Pretty(DOM *dom); void Save_PrettyPrefix(); char *m_ptr; int m_line; int m_lastLine; bool m_ignoreWhitespace; std::ofstream m_output; int m_level; }; } } #endif
[ "murtaza_alexandru73@yahoo.com" ]
murtaza_alexandru73@yahoo.com
a13bd93d36a4d4a7dc978f15ac9e439118268031
7e791eccdc4d41ba225a90b3918ba48e356fdd78
/chromium/src/chrome/browser/chromeos/file_system_provider/registry.cc
780538ff439091bbb8e79971b036aca95e1bea9a
[ "BSD-3-Clause" ]
permissive
WiViClass/cef-3.2623
4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885
17fe881e9e481ef368d9f26e903e00a6b7bdc018
refs/heads/master
2021-01-25T04:38:14.941623
2017-06-09T07:37:43
2017-06-09T07:37:43
93,824,379
2
1
null
null
null
null
UTF-8
C++
false
false
12,556
cc
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/file_system_provider/registry.h" #include "base/files/file_path.h" #include "base/prefs/pref_service.h" #include "base/prefs/scoped_user_pref_update.h" #include "base/stl_util.h" #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" #include "chrome/browser/chromeos/file_system_provider/observer.h" #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h" #include "chrome/browser/chromeos/file_system_provider/service_factory.h" #include "chrome/browser/profiles/profile.h" #include "chrome/common/pref_names.h" #include "components/pref_registry/pref_registry_syncable.h" #include "extensions/browser/extension_registry.h" #include "extensions/browser/extension_system.h" #include "storage/browser/fileapi/external_mount_points.h" namespace chromeos { namespace file_system_provider { const char kPrefKeyFileSystemId[] = "file-system-id"; const char kPrefKeyDisplayName[] = "display-name"; const char kPrefKeyWritable[] = "writable"; const char kPrefKeySupportsNotifyTag[] = "supports-notify-tag"; const char kPrefKeyWatchers[] = "watchers"; const char kPrefKeyWatcherEntryPath[] = "entry-path"; const char kPrefKeyWatcherRecursive[] = "recursive"; const char kPrefKeyWatcherLastTag[] = "last-tag"; const char kPrefKeyWatcherPersistentOrigins[] = "persistent-origins"; const char kPrefKeyOpenedFilesLimit[] = "opened-files-limit"; void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterDictionaryPref(prefs::kFileSystemProviderMounted); } Registry::Registry(Profile* profile) : profile_(profile) { } Registry::~Registry() { } void Registry::RememberFileSystem( const ProvidedFileSystemInfo& file_system_info, const Watchers& watchers) { base::DictionaryValue* const file_system = new base::DictionaryValue(); file_system->SetStringWithoutPathExpansion(kPrefKeyFileSystemId, file_system_info.file_system_id()); file_system->SetStringWithoutPathExpansion(kPrefKeyDisplayName, file_system_info.display_name()); file_system->SetBooleanWithoutPathExpansion(kPrefKeyWritable, file_system_info.writable()); file_system->SetBooleanWithoutPathExpansion( kPrefKeySupportsNotifyTag, file_system_info.supports_notify_tag()); file_system->SetIntegerWithoutPathExpansion( kPrefKeyOpenedFilesLimit, file_system_info.opened_files_limit()); base::DictionaryValue* const watchers_value = new base::DictionaryValue(); file_system->SetWithoutPathExpansion(kPrefKeyWatchers, watchers_value); for (const auto& it : watchers) { base::DictionaryValue* const watcher = new base::DictionaryValue(); watchers_value->SetWithoutPathExpansion(it.second.entry_path.value(), watcher); watcher->SetStringWithoutPathExpansion(kPrefKeyWatcherEntryPath, it.second.entry_path.value()); watcher->SetBooleanWithoutPathExpansion(kPrefKeyWatcherRecursive, it.second.recursive); watcher->SetStringWithoutPathExpansion(kPrefKeyWatcherLastTag, it.second.last_tag); base::ListValue* const persistent_origins_value = new base::ListValue(); watcher->SetWithoutPathExpansion(kPrefKeyWatcherPersistentOrigins, persistent_origins_value); for (const auto& subscriber_it : it.second.subscribers) { // Only persistent subscribers should be stored in persistent storage. // Other ones should not be restired after a restart. if (subscriber_it.second.persistent) persistent_origins_value->AppendString(subscriber_it.first.spec()); } } PrefService* const pref_service = profile_->GetPrefs(); DCHECK(pref_service); DictionaryPrefUpdate dict_update(pref_service, prefs::kFileSystemProviderMounted); base::DictionaryValue* file_systems_per_extension = NULL; if (!dict_update->GetDictionaryWithoutPathExpansion( file_system_info.extension_id(), &file_systems_per_extension)) { file_systems_per_extension = new base::DictionaryValue(); dict_update->SetWithoutPathExpansion(file_system_info.extension_id(), file_systems_per_extension); } file_systems_per_extension->SetWithoutPathExpansion( file_system_info.file_system_id(), file_system); } void Registry::ForgetFileSystem(const std::string& extension_id, const std::string& file_system_id) { PrefService* const pref_service = profile_->GetPrefs(); DCHECK(pref_service); DictionaryPrefUpdate dict_update(pref_service, prefs::kFileSystemProviderMounted); base::DictionaryValue* file_systems_per_extension = NULL; if (!dict_update->GetDictionaryWithoutPathExpansion( extension_id, &file_systems_per_extension)) return; // Nothing to forget. file_systems_per_extension->RemoveWithoutPathExpansion(file_system_id, NULL); if (!file_systems_per_extension->size()) dict_update->Remove(extension_id, NULL); } scoped_ptr<Registry::RestoredFileSystems> Registry::RestoreFileSystems( const std::string& extension_id) { PrefService* const pref_service = profile_->GetPrefs(); DCHECK(pref_service); const base::DictionaryValue* const file_systems = pref_service->GetDictionary(prefs::kFileSystemProviderMounted); DCHECK(file_systems); const base::DictionaryValue* file_systems_per_extension = NULL; if (!file_systems->GetDictionaryWithoutPathExpansion( extension_id, &file_systems_per_extension)) { return make_scoped_ptr(new RestoredFileSystems); // Nothing to restore. } scoped_ptr<RestoredFileSystems> restored_file_systems( new RestoredFileSystems); for (base::DictionaryValue::Iterator it(*file_systems_per_extension); !it.IsAtEnd(); it.Advance()) { const base::Value* file_system_value = NULL; const base::DictionaryValue* file_system = NULL; file_systems_per_extension->GetWithoutPathExpansion(it.key(), &file_system_value); DCHECK(file_system_value); std::string file_system_id; std::string display_name; bool writable = false; bool supports_notify_tag = false; int opened_files_limit = 0; // TODO(mtomasz): Move opened files limit to the mandatory list above in // M42. if ((!file_system_value->GetAsDictionary(&file_system) || !file_system->GetStringWithoutPathExpansion(kPrefKeyFileSystemId, &file_system_id) || !file_system->GetStringWithoutPathExpansion(kPrefKeyDisplayName, &display_name) || !file_system->GetBooleanWithoutPathExpansion(kPrefKeyWritable, &writable) || !file_system->GetBooleanWithoutPathExpansion(kPrefKeySupportsNotifyTag, &supports_notify_tag) || file_system_id.empty() || display_name.empty()) || // Optional fields. (file_system->GetIntegerWithoutPathExpansion(kPrefKeyOpenedFilesLimit, &opened_files_limit) && opened_files_limit < 0)) { LOG(ERROR) << "Malformed provided file system information in preferences."; continue; } MountOptions options; options.file_system_id = file_system_id; options.display_name = display_name; options.writable = writable; options.supports_notify_tag = supports_notify_tag; options.opened_files_limit = opened_files_limit; RestoredFileSystem restored_file_system; restored_file_system.extension_id = extension_id; restored_file_system.options = options; // Restore watchers. It's optional, since this field is new. const base::DictionaryValue* watchers = NULL; if (file_system->GetDictionaryWithoutPathExpansion(kPrefKeyWatchers, &watchers)) { for (base::DictionaryValue::Iterator it(*watchers); !it.IsAtEnd(); it.Advance()) { const base::Value* watcher_value = NULL; const base::DictionaryValue* watcher = NULL; watchers->GetWithoutPathExpansion(it.key(), &watcher_value); DCHECK(file_system_value); std::string entry_path; bool recursive = false; std::string last_tag; const base::ListValue* persistent_origins = NULL; if (!watcher_value->GetAsDictionary(&watcher) || !watcher->GetStringWithoutPathExpansion(kPrefKeyWatcherEntryPath, &entry_path) || !watcher->GetBooleanWithoutPathExpansion(kPrefKeyWatcherRecursive, &recursive) || !watcher->GetStringWithoutPathExpansion(kPrefKeyWatcherLastTag, &last_tag) || !watcher->GetListWithoutPathExpansion( kPrefKeyWatcherPersistentOrigins, &persistent_origins) || it.key() != entry_path || entry_path.empty() || (!options.supports_notify_tag && (!last_tag.empty() || persistent_origins->GetSize()))) { LOG(ERROR) << "Malformed watcher information in preferences."; continue; } Watcher restored_watcher; restored_watcher.entry_path = base::FilePath::FromUTF8Unsafe(entry_path); restored_watcher.recursive = recursive; restored_watcher.last_tag = last_tag; for (const auto& persistent_origin : *persistent_origins) { std::string origin; if (persistent_origin->GetAsString(&origin)) { LOG(ERROR) << "Malformed subscriber information in preferences."; continue; } const GURL origin_as_gurl(origin); restored_watcher.subscribers[origin_as_gurl].origin = origin_as_gurl; restored_watcher.subscribers[origin_as_gurl].persistent = true; } restored_file_system.watchers[WatcherKey( base::FilePath::FromUTF8Unsafe(entry_path), recursive)] = restored_watcher; } } restored_file_systems->push_back(restored_file_system); } return restored_file_systems; } void Registry::UpdateWatcherTag(const ProvidedFileSystemInfo& file_system_info, const Watcher& watcher) { PrefService* const pref_service = profile_->GetPrefs(); DCHECK(pref_service); // TODO(mtomasz): Consider optimizing it by moving information about watchers // or even file systems to leveldb. DictionaryPrefUpdate dict_update(pref_service, prefs::kFileSystemProviderMounted); // All of the following checks should not happen in healthy environment. // However, since they rely on storage, DCHECKs can't be used. base::DictionaryValue* file_systems_per_extension = NULL; base::DictionaryValue* file_system = NULL; base::DictionaryValue* watchers = NULL; base::DictionaryValue* watcher_value = NULL; if (!dict_update->GetDictionaryWithoutPathExpansion( file_system_info.extension_id(), &file_systems_per_extension) || !file_systems_per_extension->GetDictionaryWithoutPathExpansion( file_system_info.file_system_id(), &file_system) || !file_system->GetDictionaryWithoutPathExpansion(kPrefKeyWatchers, &watchers) || !watchers->GetDictionaryWithoutPathExpansion(watcher.entry_path.value(), &watcher_value)) { // Broken preferences. LOG(ERROR) << "Broken preferences detected while updating a tag."; return; } watcher_value->SetStringWithoutPathExpansion(kPrefKeyWatcherLastTag, watcher.last_tag); } } // namespace file_system_provider } // namespace chromeos
[ "1480868058@qq.com" ]
1480868058@qq.com
ec8920f3d269271bfc1e6e40444e8ea8cb95a803
b278695d3f1b411f3bf10fb2adf9a8baf11542d3
/Solutions/sameTree.cpp
d60723b9715287f2f487f58e369ecfe699c22505
[]
no_license
VenkataAnilKumar/LeetCode
445f62dc8e8eec430b6ea0709dc77cbdb7494621
df6d9e4b7172266bef4bc1f771fce3abb2216298
refs/heads/master
2021-06-25T07:56:54.217539
2020-12-18T05:54:59
2020-12-18T05:54:59
176,710,300
1
0
null
null
null
null
UTF-8
C++
false
false
1,803
cpp
// Source : https://oj.leetcode.com/problems/same-tree/ // Author : Venkata Anil Kumar /********************************************************************************** * * Given two binary trees, write a function to check if they are equal or not. * * Two binary trees are considered equal if they are structurally identical and the nodes have the same value. * * **********************************************************************************/ /** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: Solution(){ srand(time(NULL)); } bool isSameTree(TreeNode *p, TreeNode *q) { if (random()%2){ return isSameTree1(p, q); } return isSameTree2(p, q); } bool isSameTree1(TreeNode *p, TreeNode *q) { if(!p && !q) return true; if(!p || !q) return false; return (p->val == q->val) && isSameTree(p->left, q->left) && isSameTree(p->right, q->right); } bool isSameTree2(TreeNode *p, TreeNode *q) { queue<TreeNode*> q1, q2; q1.push(p); q2.push(q); while (q1.size()>0 && q2.size()>0 ){ TreeNode* p1 = q1.front(); q1.pop(); TreeNode* p2 = q2.front(); q2.pop(); if (!p1 && !p2) continue; if (!p1 || !p2) return false; if ( p1->val != p2->val) { return false; } q1.push(p1->left); q2.push(p2->left); q1.push(p1->right); q2.push(p2->right); } return true; } };
[ "25908037+VenkataAnilKumar@users.noreply.github.com" ]
25908037+VenkataAnilKumar@users.noreply.github.com
d4d60d829b65d2f54eda88330620328840132d3f
0bf4e9718ac2e2845b2227d427862e957701071f
/acm/swerc/09/tests/Routing/luis.cpp
6999e799a709bb63c9569d55d300a71793a54e33
[]
no_license
unjambonakap/prog_contest
adfd6552d396f4845132f3ad416f98d8a5c9efb8
e538cf6a1686539afb1d06181252e9b3376e8023
refs/heads/master
2022-10-18T07:33:46.591777
2022-09-30T14:44:47
2022-09-30T15:00:33
145,024,455
1
0
null
null
null
null
ISO-8859-1
C++
false
false
3,255
cpp
//Código para el problema routing propuesto por David Garcia Soriano //Autor: Luis Hernandez Corbato //Comentarios: La solución es básicamente la misma que David pero implementada //de manera más ineficiente, sin usar variables globales. //Cuidado, he dejado un cerr al final que saca el tiempo que ha tardado #include <cstdio> #include <iostream> #include <vector> #include <ctime> #include <algorithm> #include <cstring> using namespace std; vector <int> bicolorea (vector <vector <int> > g, int n){ //cada vertice solo tiene dos adyacentes bool vis[(1 << n)]; memset (vis, 0, sizeof(vis)); vector <int> ret((1 << n)); for (int i = 0; i < (1 << n); i++) if (!vis[i]){ ret[i] = 0; vis[i] = true; int v = i, vant; while(1){ vant = v; for (int j = 0; j < 2; j++) if (!vis[g[vant][j]]) v = g[vant][j]; if (v == vant) break; vis[v] = true; ret[v] = 1 - ret[vant]; } } return ret; } vector <vector <int> > haz (vector <int> p, int n){ if (n == 1){ vector <vector <int> > ret; vector <int> v(1); if (p[0] == 0) v[0] = 0; else v[0] = 1; ret.push_back(v); return ret; } vector <vector <int> > g(1 << n); for (int i = 0; i < (1 << n); i++) if (i % 2 == 1) g[i].push_back(i - 1); else g[i].push_back(i + 1); for (int i = 0; i < (1 << n); i++) if (i % 2 == 1) g[p[i]].push_back(p[i - 1]); else g[p[i]].push_back(p[i + 1]); vector <int> color = bicolorea(g, n); //color = 0 va a la izda vector <int> a[2][2]; for (int i = 0; i < (1 << n); i++) a[0][color[i]].push_back(i); for (int i = 0; i < (1 << n); i++) a[1][color[p[i]]].push_back(p[i]); vector <int> sini(1 << (n - 1)), sfin(1 << (n - 1)); for (int i = 0; i < (1 << (n - 1)); i++) sini[i] = color[2 * i]; for (int i = 0; i < (1 << (n - 1)); i++) sfin[i] = color[p[2 * i]]; //ahora hay que hallar las permutaciones perm[lado] correspondientes a a[0][lado]->a[1][lado] int b[(1 << n)]; vector <int> perm[2]; for (int lado = 0; lado < 2; lado++){ for (int i = 0; i < (1 << (n - 1)); i++) b[a[0][lado][i]] = i; for (int i = 0; i < (1 << (n - 1)); i++) perm[lado].push_back(b[a[1][lado][i]]); } vector <vector <int> > v[2], ret; for (int lado = 0; lado < 2; lado++) v[lado] = haz(perm[lado], n - 1); ret.push_back(sini); for (int i = 0; i < v[0].size(); i++){ ret.push_back(v[0][i]); for (int j = 0; j < v[1][i].size(); j++) ret[i + 1].push_back(v[1][i][j]); } ret.push_back(sfin); return ret; } int main (){ clock_t start, finish; start = clock(); int n; bool primero = true; while ((cin >> n) && n > 0){ if (!primero) cout << endl; else primero = false; vector <int> p(1 << n); for (int i = 0; i < (1 << n); i++) cin >> p[i]; vector <vector <int> > ret = haz(p, n); for (int i = 0; i < ret.size(); i++){ for (int j = 0; j < ret[i].size(); j++) cout << ret[i][j]; cout << endl; } } finish = clock(); cerr << (double)(finish - start) / CLOCKS_PER_SEC << endl; return 0; }
[ "benoit@uuu.com" ]
benoit@uuu.com
cdc9e1a70ee47f2c38ddba88049a2f8169e5dc1b
482ecddae8d56d0386775e105d7d1f1bf11d6ccf
/Main.cpp
580bf00bfd12857852ef789fd7109f9dac308500
[]
no_license
Bandd-k/Calculator-real-numbers
af682ba0abe45b01077d14b97eea28a0f7bbfd99
81194cbe2777d8011c95cce55929ff5fdbed3252
refs/heads/master
2021-01-22T23:48:11.087474
2014-05-28T20:03:52
2014-05-28T20:03:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,167
cpp
//----------------------------------------------------------------- // Задание Калькулятор для работы с двоичным представлением чисел // Автор:<Карпенко Денис Константинович> // Среда разработки:Xcode Version 4.5.2 (4G2008a) // Дата последнего изменения20.11.12. //----------------------------------------------------------------- #include <iostream> #include "cmath" #include "locale" #include "iomanip" #include "fstream" using namespace std; void InversionBits(int *mass,int NumberofBits); //команда инвертирования бит void RightShift(int *mass,int NumberofBits); //команда правый сдвиг void MovementBits(int *mass,int NumberofBits); // команда перемещение цеопчки бит void ChangeSomeBits(int *mass,int NumberofBits); //команда изменения отдельных бит void LeftShift(int *mass,int NumberofBits); //команда левый сдвиг void RealDecBin(int*mass, float number,int const Category); // команда перевод вещественного числа в двоичный код void ChangesChainBits(int *mass,int NumberofBits); //команда обмена цеопочек бит void BinDec(int* bin, int size); // команда перевода из двоичного кода в десятичный (целые числа) void RealBinToDec(int*mass,int const category); //перевод вещественых чисел из двоичного в дестичное представление void RealChangeBits(int*mass,int const Category); //изменение бит вещественного числа void RealDigits(ofstream & fout); //подпрограмма которая содержит все функции для вещественных чисел void translateInto2(int *mass,double a,int NumberofBits); //перевод целого числа из десятичного в двоичный код void NaturalDigits(ofstream &fout); //подпрограмма которая содержит все функции для целых чисел int main(int argc, const char * argv[]){ setlocale(LC_ALL, "russian"); double MenuNumber; bool run=1; string path; cout<<"Добро пожаловать в калькулятор для работы с двоичным представлением числа\n"; cout<<"Введите путь файла для хранения результатов\n>"; cin>>path; ofstream fout(path); while(run){ cout<<"1)вещественные числа\n"; cout<<"2)целые числа\n"; cout<<"3)конец программы\n> "; cin>>MenuNumber; if(MenuNumber==1) RealDigits(fout); if (MenuNumber==2) NaturalDigits(fout); if(MenuNumber==3) run=0; } } void NaturalDigits(ofstream & fout){ int MenuNumber; bool correct=1,stop=1,newnumber=1,correct2=1; long double UserNumber; int NumberofBits; while (correct) { //цикл проверки верного ввода кол-ва разрядов while(correct2){ cout<<"\nвведите кол-во разрядов(8 ,16, или 32)\n> "; cin>>NumberofBits; if((NumberofBits==8)||(NumberofBits==16)||(NumberofBits==32)) correct2=0; } if(correct2==0){ cout<<"введите число\n> "; cin>>UserNumber; if(UserNumber>floor(UserNumber)) cout<<"\nВы ввели вещественное число,программа будет работать с целой частью\n"; if(abs(UserNumber)>pow(2.,NumberofBits)) cout<<"\nВы ввели слишком большое число ,некоторые биты будут отрезаны\n"; } fout<<UserNumber<<"\n"; int mass[33]={}; newnumber=0; stop=1; translateInto2(mass,UserNumber,NumberofBits); for(int i=NumberofBits;i>=1;i--){ //вывод массива с конца fout<<mass[i]; } fout<<"\n"; fout.flush(); while(stop){ //запуск меню после каждой используемой функции cout<<"\n"<<setw(20)<<"Меню"; cout<<"\n выберите операцию:\n"; cout<<"1)изменить некоторые биты\n"; cout<<"2)сделать инверсию бит\n"; cout<<"3)перемещение последовательности бит на указанную позицию\n"; cout<<"4)перестановка цепочек бит\n"; cout<<"5)левый сдвиг на указанное кол-во бит\n"; cout<<"6)правый сдвиг на указанное кол-во бит\n"; cout<<"7)показать 10ный эквивалент\n"; cout<<"8)вернуться к выбору числа и кол-ва разрядов\n"; cout<<"9)Вернуться к выбору вида числа\n> "; cin>>MenuNumber; if(MenuNumber==1) ChangeSomeBits(mass,NumberofBits); if(MenuNumber==2) InversionBits(mass,NumberofBits); if(MenuNumber==3) MovementBits(mass,NumberofBits); if(MenuNumber==4) ChangesChainBits(mass,NumberofBits); if(MenuNumber==5) LeftShift(mass,NumberofBits); if(MenuNumber==6) RightShift(mass,NumberofBits); if(MenuNumber==7) BinDec(mass,NumberofBits); if(MenuNumber==8){ //параметр выхода из главного меню correct=1; correct2=1; stop=0; } if(MenuNumber==9){ //параметр выхода из всех циклов stop=0; correct=0; } for(int i=NumberofBits;i>=1;i--){ //вывод массива с конца fout<<mass[i]; } fout<<"\n"; fout.flush(); } } } void translateInto2(int *mass,double a,int NumberofBits){ //перевод десятичного числа в двоичную bool have=1; unsigned int x; long double NewDigit=1; int i; int const sistem=2; for(i=0;i<NumberofBits;i++){ //нахождение двойки в степени(кол-ва разрядов) NewDigit*=2; } a=floor((a)); int numel=0; x=a; i=1; if(a<0) x=NewDigit+a; while(have){ // перевод в симеричную систему mass[i]=x%sistem; // массиву присаваиваются остатки x/=sistem; // число делится остатки откидываются(целочисленое деление) i++; numel++; if(x==0){ have=0; }} //параметр конца цикла cout<<"Двоичный код="; for(i=NumberofBits;i>=1;i--){ //вывод массива с конца cout<<mass[i]; } } void ChangeSomeBits(int *mass,int NumberofBits){ //изменение значений некоторых бит int changesBits; int i; int quantity; cout<<"\nвведите количество изменяемых бит\n>"; cin>>quantity; for(i=0;i<quantity;i++){ bool correct=1; while(correct){ cout<<"введите номер изменяемого бита(нумерация справа)\n> "; cin>>changesBits; if(changesBits>0&&changesBits<NumberofBits) correct=0; } if (mass[changesBits]==0) //если значение было равно 0 то ему присваивается значение 1 mass[changesBits]=1; else{ mass[changesBits]=0; // если было равно 1 то присваивается 0 } } for(i=NumberofBits;i>=1;i--){ //вывод массива с конца cout<<mass[i]; } } void InversionBits(int *mass,int NumberofBits){ //инверсия бит int i; for(i=NumberofBits;i>0;i--){ // для каждого элменета массива происходит замена значения 0->1 и 1->0 if(mass[i]==0) mass[i]=1; else{ mass[i]=0; } } for(i=NumberofBits;i>=1;i--) //вывод массива с конца cout<<mass[i]; } void MovementBits(int *mass,int NumberofBits){ //копирование цепочки бит int quantity; int StartPosition; int SecondPosition; int i; cout<<"\nВведите количество перемещаемых бит\n> "; cin>>quantity; cout<<"\nВведите начальную позицию цепочки(нумерация справа)\n> "; cin>>StartPosition; cout<<"\nВведите конечную позицию цепочки(нумерация справа)\n> "; cin>>SecondPosition; for(i=0;i<quantity;i++){ mass[SecondPosition+i]=mass[StartPosition+i]; //присвоение конечной позиции значения соответсвующих элементов } for(i=NumberofBits;i>=1;i--) //вывод массива с конца cout<<mass[i]; } void ChangesChainBits(int *mass,int NumberofBits){ //обмен цепочек бит int quantity; int FirstChain; int i; int SecondChain; cout<<"\nВведите размер перемещаемых цепочек\n> "; cin>>quantity; cout<<"\nВведите начало первой цепочки(нумерация справа)\n> "; cin>>FirstChain; cout<<"\nВведите начало второй цепочки(нумерация справа)\n> "; cin>>SecondChain; if(quantity>SecondChain-FirstChain){ cout<<"\nцепочки битов пересекаются!!\n"; } else{ for(i=0;i<quantity;i++) swap(mass[FirstChain+i],mass[SecondChain+i]); //обмен значений элементов цепочек } for(i=NumberofBits;i>=1;i--){ // вывод массива с конца cout<<mass[i]; } } void LeftShift(int *mass,int NumberofBits){ //левый сдвиг int ShiftLenght; int i; cout<<"\nВведите количество бит на которые будет произведен сдвиг\n> "; cin>>ShiftLenght; if(ShiftLenght>NumberofBits){ //если сдвиг больше кол-ва разрядов то все элементы равны 0 for(i=0;i<NumberofBits;i++) mass[i]=0; } else{ for(i=NumberofBits;i>ShiftLenght;i--) mass[i]=mass[i-ShiftLenght]; for(i=0;i<=ShiftLenght;i++) mass[i]=0; } for(i=NumberofBits;i>=1;i--) cout<<mass[i]; } void RightShift(int *mass,int NumberofBits){ //правый сдвиг int ShiftLenght; int SignedNumber; int i; cout<<"\nВведите количество бит на который будет произведен сдвиг\n"; cin>>ShiftLenght; SignedNumber=mass[NumberofBits]; for(i=0;i<(NumberofBits-ShiftLenght);i++) mass[i]=mass[i+ShiftLenght]; for(i=NumberofBits;i>=(NumberofBits-ShiftLenght);i--) //старший бит был равен одному то слева выдвигаются единицы(арифметический сдвиг) mass[i]=SignedNumber; for(i=NumberofBits;i>=1;i--) cout<<mass[i]; } void BinDec(int* mass, int size){ //перевод в десятичную int NewDigit=1; int Signed; int sum=0, i; cout<<"\n Если число со знаком нажмите 1\n> "; cin>>Signed; cout<<"\nДесятичное число:\n< "; for(i=0;i<=(size); i++) sum+=mass[i]*pow(2.,i-1); for(i=1;i<=size;i++){ NewDigit*=2; } if((Signed==1)&&(mass[size]==1)) // пользователь выбрал знаковое и число отрицательное cout<<sum-NewDigit; else{ cout<<sum; } } void RealDigits(ofstream & fout){ float UserNumbers; int const Category=32; bool correct=1; int MenuNumber=0; cout<<"Введите число\n> "; cin>>UserNumbers; fout<<UserNumbers<<"\n"; //вывод в файл int mass[Category]={}; if(UserNumbers!=0) RealDecBin(mass,UserNumbers,Category); for(int i=0;i<Category;i++){ //вывод массива fout<<mass[i]; } fout<<"\n"; fout.flush(); while(correct){ cout<<"\n1)перевод в десятичное число\n"; cout<<"2)Изменить биты\n"; cout<<"3)вернуться к выбору вида числа\n> "; cin>>MenuNumber; if(MenuNumber==1) RealBinToDec(mass,Category); if(MenuNumber==2) RealChangeBits(mass,Category); if (MenuNumber==3) correct=0; } } void RealDecBin(int*mass, float x,int const Category){ //перевод в двоичный код char*p=(char*)(&x); //указатель на один байт числа int i,a; char y=1; for(i=0;i<4;i++){ //цикл для считывания 4 байтов for(a=0;a<8;a++){ //цикл для считывания элементов одного байта и заполение в массив if(((*p)&y)==0){ //побитовое "и" помогает нам узнать 1или0 стоит в данном бите mass[31-a-i*8]=0; } else{ mass[31-a-i*8]=1; } y=y <<1; } p=p+1; y=1; } for(i=0;i<Category;i++) // вывод массива cout<<mass[i]; } void RealChangeBits(int*mass,int const Category){ int changesBits; int i; int quantity; cout<<"\nвведите количество изменяемых бит\n>"; cin>>quantity; for(i=0;i<quantity;i++){ cout<<"введите номер изменяемого бита\n> "; cin>>changesBits; if (mass[changesBits-1]==0) //если значение было равно 0 то ему присваивается значение 1 mass[changesBits-1]=1; else{ mass[changesBits-1]=0; // если было равно 1 то присваивается 0 } } for(i=0;i<Category;i++) { //вывод массива cout<<mass[i]; } } void RealBinToDec(int*mass,int const category){ int Exp=0; int IntegralPart=0; float RealPart=0; int i; int SignedNumber; int degree=1; if(mass[0]==1){ SignedNumber=-1; //нахождение знака числа } else{ SignedNumber=1; } for(i=8;i>=1;i--){ //перевод экспоненты в десятичное число Exp+=mass[i]*degree; degree*=2; } Exp-=127; degree=1; if(Exp>=0){ //нахождение десятичного эквивалента целой части for(i=8+Exp;i>=9;i--){ IntegralPart+=mass[i]*degree; degree*=2; } IntegralPart+=degree; degree=1; for(i=category;i>=9+Exp;i--){ //нахождение десятичного эквивалента дробной части if(mass[i]==1) RealPart=1+RealPart/2; if(mass[i]==0) RealPart=RealPart/2; } RealPart/=2; cout<<"\n"<<SignedNumber*(RealPart+IntegralPart); } else{ for(i=category;i>=9;i--){ if(mass[i]==1) RealPart=1+RealPart/2; if(mass[i]==0) RealPart=RealPart/2; } RealPart=1+RealPart/2; //так как единица отбрасывается for(i=Exp;i<0;i++){ RealPart/=2; } cout<<"\n"<<RealPart*SignedNumber; } }
[ "Banddk1@gmail.com" ]
Banddk1@gmail.com
44b3795f8c0fd29181d240da9d66cfd08e41b95e
1403de9dfcbf4569b370a6a0333ba0a115465de5
/include/ngl/Colour.h
04960388dde776aa99484c2ae94e694dfe33fb98
[]
no_license
jmacey/pingl
6afbaf48504a0abe7f15bae4ec56910574b197e2
27233001780c16311738d3b758af0059a45f29af
refs/heads/master
2020-07-24T20:28:58.213855
2012-06-24T08:33:46
2012-06-24T08:33:46
32,141,471
0
0
null
null
null
null
UTF-8
C++
false
false
16,474
h
/** Copyright (C) 2009 Jon Macey This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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, see <http://www.gnu.org/licenses/>. **/ #ifndef __COLOUR_H__ #define __COLOUR_H__ /// @file Colour.h /// @brief a simple colour class for RGBA colour // must include types.h first for ngl::Real and GLEW if required #include "Types.h" #include <iostream> //---------------------------------------------------------------------------------------------------------------------- namespace ngl { //---------------------------------------------------------------------------------------------------------------------- /// @class Colour /// @brief simple class to hold colour information and set the basic opengl colour /// state. also has overloaded methods to do basic math on colour values. /// @author Jonathan Macey /// @version 5.0 /// @date 20/10/10 added python binding see Colour.inc.h /// @date Last Revision 29/09/09 Updated to NCCA coding standard /// @todo add code to use other colour spaces, could be done like Renderman with ctor "HSV" etc //---------------------------------------------------------------------------------------------------------------------- class Colour { public : //---------------------------------------------------------------------------------------------------------------------- /// @brief constructor passing in r g b components /// @param[in] _r red component /// @param[in] _g green component /// @param[in] _b blue component /// @param[in] _a the alpha component //---------------------------------------------------------------------------------------------------------------------- inline Colour( const Real _r=0.0, const Real _g=0.0, const Real _b=0.0, const Real _a=1.0 ) : m_r(_r), m_g(_g), m_b(_b), m_a(_a){;} //---------------------------------------------------------------------------------------------------------------------- /// @brief copy constructor passing in a Colour /// @param[in] _c the colour to use //---------------------------------------------------------------------------------------------------------------------- inline Colour( const Colour &_c ) : m_r(_c.m_r), m_g(_c.m_g), m_b(_c.m_b), m_a(_c.m_a){;} //---------------------------------------------------------------------------------------------------------------------- /// @brief set method to change the current values of the colour /// as well as the transparency /// @param[in] _r red component to be set /// @param[in] _g green component to be set /// @param[in] _b blue component to be set /// @param[in] _a alpha transparency value //---------------------------------------------------------------------------------------------------------------------- inline void set( const Real _r, const Real _g, const Real _b, const Real _a=1.0 ) { m_r=_r; m_g=_g; m_b=_b; m_a=_a; } //---------------------------------------------------------------------------------------------------------------------- /// @brief set method to set from another Colour /// @param[in] _c the colour //---------------------------------------------------------------------------------------------------------------------- inline void set( const Colour& _c ) { m_r = _c.m_r; m_g = _c.m_g; m_b= _c.m_b; m_a=_c.m_a; } //---------------------------------------------------------------------------------------------------------------------- /// @brief + operator to add two colours /// @param[in] _c the Colour to add /// @returns this+_c //---------------------------------------------------------------------------------------------------------------------- Colour operator +( const Colour &_c ) const; //---------------------------------------------------------------------------------------------------------------------- /// @brief - operator to subtract colours /// @param[in] _c the Colour to add /// @return this-_c //---------------------------------------------------------------------------------------------------------------------- Colour operator -( const Colour &_c ) const; //---------------------------------------------------------------------------------------------------------------------- /// @brief - operator to add rhs to current colour /// @param[in] _c the Colour to add /// @return this+_c //---------------------------------------------------------------------------------------------------------------------- const Colour& operator +=( const Colour &_c ); //---------------------------------------------------------------------------------------------------------------------- /// @brief - operator to multiply colours /// @param[in] _c the Colour to mult /// @return this*_c //---------------------------------------------------------------------------------------------------------------------- Colour operator *( const Colour &_c ) const; //---------------------------------------------------------------------------------------------------------------------- /// @brief * operator to multiply by a scalar /// @param[in] _c the scalar to multiply colour by /// @return this*_c //---------------------------------------------------------------------------------------------------------------------- Colour operator *( const Real _c ) const; //---------------------------------------------------------------------------------------------------------------------- /// @brief * operator to multiply = by a colour /// @param[in] _c the scalar to multiply colour by /// @return this*=_c //---------------------------------------------------------------------------------------------------------------------- const Colour& operator *=( const Colour &_c ); //---------------------------------------------------------------------------------------------------------------------- /// @brief * operator to multiply by a scalar /// @param[in] _c the scalar to multiply colour by /// @return this*_c //---------------------------------------------------------------------------------------------------------------------- const Colour& operator *=( const Real& _c ); //---------------------------------------------------------------------------------------------------------------------- /// add the product of source color and reflection coefficient /// @param[in] _src the source colour /// @param[in] _refl the reflected colour //---------------------------------------------------------------------------------------------------------------------- void add( const Colour& _src, const Colour& _refl ); //---------------------------------------------------------------------------------------------------------------------- /// @brief << extraction operator to prints out the colour in the format [r,g,b,a] /// @param[in] _output the outstream class pointer /// @param[in] _s the colour to print out //---------------------------------------------------------------------------------------------------------------------- friend std::ostream& operator<<( std::ostream& _output, const Colour& _s ) { return _output<<"["<<_s.m_r<<","<<_s.m_g<<","<<_s.m_b<<","<<_s.m_a<<"]"; } //---------------------------------------------------------------------------------------------------------------------- /// @brief >> insertion operator to read in the colour data r -> g -> b -> a /// @param[in] _input the instream class pointer /// @param[in] _s the colour to read in to //---------------------------------------------------------------------------------------------------------------------- friend std::istream& operator>>( std::istream& _input, Colour& _s ) { return _input >> _s.m_r >> _s.m_g >> _s.m_b>>_s.m_a; } //---------------------------------------------------------------------------------------------------------------------- /// @brief accesor method to return a pointer to the colour array /// @returns m_openGL[0] the first element of the array //---------------------------------------------------------------------------------------------------------------------- inline Real * openGL(){return &m_openGL[0];} //---------------------------------------------------------------------------------------------------------------------- /// @brief accesor method for the Red colour component /// @returns the red colour component //---------------------------------------------------------------------------------------------------------------------- inline Real r() const {return m_r;} //---------------------------------------------------------------------------------------------------------------------- /// @brief set the red colour component /// @param[in] _r the red colour value to set //---------------------------------------------------------------------------------------------------------------------- void r(Real _r){m_r=_r;} //---------------------------------------------------------------------------------------------------------------------- /// @brief accesor method for the Green colour component /// @returns the green colour component //---------------------------------------------------------------------------------------------------------------------- inline Real g() const {return m_g;} //---------------------------------------------------------------------------------------------------------------------- /// @brief set the Green colour component /// @param[in] _g the green colour value to set //---------------------------------------------------------------------------------------------------------------------- void g(Real _g){m_g=_g;} //---------------------------------------------------------------------------------------------------------------------- /// @brief accesor method for the blue colour component /// @returns the blue colour component //---------------------------------------------------------------------------------------------------------------------- inline Real b() const {return m_b;} //---------------------------------------------------------------------------------------------------------------------- /// @brief set the Blue colour component /// @param[in] _b the green colour value to set //---------------------------------------------------------------------------------------------------------------------- void b(Real _b){m_b=_b;} //---------------------------------------------------------------------------------------------------------------------- /// @brief accesor method for the alpha component /// @returns the alpha component //---------------------------------------------------------------------------------------------------------------------- inline Real a() const {return m_a;} //---------------------------------------------------------------------------------------------------------------------- /// @brief set the alpha component /// @param[in] _a the alpha value to set //---------------------------------------------------------------------------------------------------------------------- void a(Real _a){m_a=_a;} //---------------------------------------------------------------------------------------------------------------------- /// @brief clamp the colour to the given range from Eduard Zell MSc 2010 /// the input values >0 < 1.0 and _min <= _max /// @param _min[in] the minimum colour clamp value /// @param _max[in] the maximum colour clamp value //---------------------------------------------------------------------------------------------------------------------- void clamp( Real _min, Real _max ); /// @note I've made this public as some compilers automatically make the /// anonymous unions public whereas clang++ complains see this post /// http://jonmacey.blogspot.com/2011/03/anonymous-union-struct-weirdness.html public : friend class Material; //---------------------------------------------------------------------------------------------------------------------- // note the BUILDING_DOCS define is set in the doxygen Doxyfile so that we get // nice documents for these member attributes is must not be set in C++ build //---------------------------------------------------------------------------------------------------------------------- #ifndef BUILDING_DOCS union { struct { #endif //---------------------------------------------------------------------------------------------------------------------- /// @brief red component of the colour tuple //---------------------------------------------------------------------------------------------------------------------- Real m_r; //---------------------------------------------------------------------------------------------------------------------- /// @brief green component of the colour tuple //---------------------------------------------------------------------------------------------------------------------- Real m_g; //---------------------------------------------------------------------------------------------------------------------- /// @brief blue component of the colour tuple //---------------------------------------------------------------------------------------------------------------------- Real m_b; //---------------------------------------------------------------------------------------------------------------------- /// @brief alpha the transparent element //---------------------------------------------------------------------------------------------------------------------- Real m_a; #ifndef BUILDING_DOCS }; #endif //---------------------------------------------------------------------------------------------------------------------- /// @brief The data as an array of 4 floats useful for passing to OpenGL fv data types /// this is mapped as a union to the following \n /// m_r == m_openGL[0] \n /// m_g == m_openGL[1] \n /// m_b == m_openGL[2] \n /// m_a == m_openGL[3] \n //---------------------------------------------------------------------------------------------------------------------- Real m_openGL[4]; #ifndef BUILDING_DOCS }; #endif }; } #endif // colour //----------------------------------------------------------------------------------------------------------------------
[ "jmacey@bournemouth.ac.uk" ]
jmacey@bournemouth.ac.uk
eb600a1272e16604264e96f85f8189053d9a245c
75d611688abe3a66bca00c39dd881328d9deeff5
/test/component/test_transform.cpp
f36805a338fd4e6598cd54a6c29296ab9d3b36fb
[ "MIT" ]
permissive
galaxysoftware/galaxy
8a62ab1c0fbf7f124b48d7575327cc8fbe299649
b05af4aa071e32a0b0b067bfb80a236a90c87dde
refs/heads/master
2021-01-10T11:13:44.735302
2016-02-15T20:00:39
2016-02-15T20:00:39
48,318,311
0
0
null
null
null
null
UTF-8
C++
false
false
2,685
cpp
#include "component/transform.h" #include "component/name_fixture.h" #include "component/parse_fixture.h" #include <gtest/gtest.h> using namespace gxy; using components::transform; // Transform has no const_data. static_assert(std::is_same<components::empty_data, transform::const_data>{}); struct Fixture : public testing::Test { glm::vec3 translate1{10, 11, 12}; glm::vec3 translate2{13, 14, 15}; glm::vec3 rotate1{20, 21, 22}; glm::vec3 rotate2{23, 24, 25}; glm::vec3 scale1{30, 31, 32}; glm::vec3 scale2{33, 34, 35}; transform::data uut{translate1, rotate1, scale1}; }; TEST_F(Fixture, Translate) { ASSERT_EQ(translate1, uut.translate); } TEST_F(Fixture, Rotate) { ASSERT_EQ(rotate1, uut.rotate); } TEST_F(Fixture, Scale) { ASSERT_EQ(scale1, uut.scale); } TEST_F(Fixture, IsEqualSelf) { ASSERT_TRUE(transform::data(translate1, rotate1, scale1) == uut); } TEST_F(Fixture, NotNotEqualSelf) { ASSERT_FALSE(transform::data(translate1, rotate1, scale1) != uut); } TEST_F(Fixture, NotEqualDifferentTranslate) { ASSERT_FALSE(transform::data(translate2, rotate1, scale1) == uut); } TEST_F(Fixture, IsNotEqualDifferentTranslate) { ASSERT_TRUE(transform::data(translate2, rotate1, scale1) != uut); } TEST_F(Fixture, NotEqualDifferentRotate) { ASSERT_FALSE(transform::data(translate1, rotate2, scale1) == uut); } TEST_F(Fixture, IsNotEqualDifferentRotate) { ASSERT_TRUE(transform::data(translate1, rotate2, scale1) != uut); } TEST_F(Fixture, NotEqualDifferentScale) { ASSERT_FALSE(transform::data(translate1, rotate1, scale2) == uut); } TEST_F(Fixture, IsNotEqualDifferentScale) { ASSERT_TRUE(transform::data(translate1, rotate1, scale2) != uut); } template <> auto NameFixture<transform>::expected() -> std::string { return "transform"; } INSTANTIATE_TYPED_TEST_CASE_P(Transform, NameFixture, transform); template<> auto ParseFixture<transform::data>::valid_cases() -> valid_cases_type { return { std::make_pair( YAML::Load("{ translate: [1, 2, 3], rotate: [4, 5, 6], scale: [7, 8, 9] }"), transform::data{ glm::vec3(1, 2, 3), glm::vec3(4, 5, 6), glm::vec3(7, 8, 9) } ) }; } template <> auto ParseFixture<transform::data>::invalid_cases() -> invalid_cases_type { return { YAML::Load("{ translate: [1, 2, 3], rotate: [4, 5, 6] }"), YAML::Load("{ translate: [1, 2, 3], scale: [4, 5, 6] }"), YAML::Load("{ rotate: [1, 2, 3], scale: [4, 5, 6] }"), YAML::Load("{ translate: [1, 2, 3], rotate: [4, 5, 6], scale: [7, 8, 9], time: 4 }"), YAML::Load("[ translate, rotate, scale ]"), YAML::Load("42") }; } INSTANTIATE_TYPED_TEST_CASE_P(Transform, ParseFixture, transform::data);
[ "samkellett@gmail.com" ]
samkellett@gmail.com
f8ec687870e7b1a24f095b59f7cdaa188812ff7e
87929efca3d762486e086f222efef55b29256eca
/plugins/wallet_plugin/include/cubetrain/wallet_plugin/wallet_manager.hpp
d763189aea4c7337dbf0df80c7666c47cd1f6968
[ "MIT" ]
permissive
ProbeChain/cubetrain
d4650865ae1a821d78aaf6712d7bdf8937e562ab
f02f9b67ef0d3e6d46d3aa96e6f9974ae72b13ff
refs/heads/master
2022-12-13T12:12:41.137518
2019-11-30T10:09:02
2019-11-30T10:09:02
224,988,171
1
0
MIT
2022-12-11T18:49:23
2019-11-30T09:24:26
C++
UTF-8
C++
false
false
6,981
hpp
/** * @file * @copyright defined in seat/LICENSE.txt */ #pragma once #include <cubetrain/chain/transaction.hpp> #include <cubetrain/wallet_plugin/wallet_api.hpp> #include <boost/filesystem/path.hpp> #include <boost/interprocess/sync/file_lock.hpp> #include <chrono> namespace fc { class variant; } namespace cubetrain { namespace wallet { /// Provides associate of wallet name to wallet and manages the interaction with each wallet. /// /// The name of the wallet is also used as part of the file name by soft_wallet. See wallet_manager::create. /// No const methods because timeout may cause lock_all() to be called. class wallet_manager { public: wallet_manager(); wallet_manager(const wallet_manager&) = delete; wallet_manager(wallet_manager&&) = delete; wallet_manager& operator=(const wallet_manager&) = delete; wallet_manager& operator=(wallet_manager&&) = delete; ~wallet_manager(); /// Set the path for location of wallet files. /// @param p path to override default ./ location of wallet files. void set_dir(const boost::filesystem::path& p) { dir = p; initialize_lock(); } /// Set the timeout for locking all wallets. /// If set then after t seconds of inactivity then lock_all(). /// Activity is defined as any wallet_manager method call below. void set_timeout(const std::chrono::seconds& t); /// @see wallet_manager::set_timeout(const std::chrono::seconds& t) /// @param secs The timeout in seconds. void set_timeout(int64_t secs) { set_timeout(std::chrono::seconds(secs)); } /// Sign transaction with the private keys specified via their public keys. /// Use chain_controller::get_required_keys to determine which keys are needed for txn. /// @param txn the transaction to sign. /// @param keys the public keys of the corresponding private keys to sign the transaction with /// @param id the chain_id to sign transaction with. /// @return txn signed /// @throws fc::exception if corresponding private keys not found in unlocked wallets chain::signed_transaction sign_transaction(const chain::signed_transaction& txn, const flat_set<public_key_type>& keys, const chain::chain_id_type& id); /// Sign digest with the private keys specified via their public keys. /// @param digest the digest to sign. /// @param key the public key of the corresponding private key to sign the digest with /// @return signature over the digest /// @throws fc::exception if corresponding private keys not found in unlocked wallets chain::signature_type sign_digest(const chain::digest_type& digest, const public_key_type& key); /// Create a new wallet. /// A new wallet is created in file dir/{name}.wallet see set_dir. /// The new wallet is unlocked after creation. /// @param name of the wallet and name of the file without ext .wallet. /// @return Plaintext password that is needed to unlock wallet. Caller is responsible for saving password otherwise /// they will not be able to unlock their wallet. Note user supplied passwords are not supported. /// @throws fc::exception if wallet with name already exists (or filename already exists) std::string create(const std::string& name); /// Open an existing wallet file dir/{name}.wallet. /// Note this does not unlock the wallet, see wallet_manager::unlock. /// @param name of the wallet file (minus ext .wallet) to open. /// @throws fc::exception if unable to find/open the wallet file. void open(const std::string& name); /// @return A list of wallet names with " *" appended if the wallet is unlocked. std::vector<std::string> list_wallets(); /// @return A list of private keys from a wallet provided password is correct to said wallet map<public_key_type,private_key_type> list_keys(const string& name, const string& pw); /// @return A set of public keys from all unlocked wallets, use with chain_controller::get_required_keys. flat_set<public_key_type> get_public_keys(); /// Locks all the unlocked wallets. void lock_all(); /// Lock the specified wallet. /// No-op if wallet already locked. /// @param name the name of the wallet to lock. /// @throws fc::exception if wallet with name not found. void lock(const std::string& name); /// Unlock the specified wallet. /// The wallet remains unlocked until ::lock is called or program exit. /// @param name the name of the wallet to lock. /// @param password the plaintext password returned from ::create. /// @throws fc::exception if wallet not found or invalid password or already unlocked. void unlock(const std::string& name, const std::string& password); /// Import private key into specified wallet. /// Imports a WIF Private Key into specified wallet. /// Wallet must be opened and unlocked. /// @param name the name of the wallet to import into. /// @param wif_key the WIF Private Key to import, e.g. 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 /// @throws fc::exception if wallet not found or locked. void import_key(const std::string& name, const std::string& wif_key); /// Removes a key from the specified wallet. /// Wallet must be opened and unlocked. /// @param name the name of the wallet to remove the key from. /// @param password the plaintext password returned from ::create. /// @param key the Public Key to remove, e.g. SEAT6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV /// @throws fc::exception if wallet not found or locked or key is not removed. void remove_key(const std::string& name, const std::string& password, const std::string& key); /// Creates a key within the specified wallet. /// Wallet must be opened and unlocked /// @param name of the wallet to create key in /// @param type of key to create /// @throws fc::exception if wallet not found or locked, or if the wallet cannot create said type of key /// @return The public key of the created key string create_key(const std::string& name, const std::string& key_type); /// Takes ownership of a wallet to use void own_and_use_wallet(const string& name, std::unique_ptr<wallet_api>&& wallet); private: /// Verify timeout has not occurred and reset timeout if not. /// Calls lock_all() if timeout has passed. void check_timeout(); private: using timepoint_t = std::chrono::time_point<std::chrono::system_clock>; std::map<std::string, std::unique_ptr<wallet_api>> wallets; std::chrono::seconds timeout = std::chrono::seconds::max(); ///< how long to wait before calling lock_all() mutable timepoint_t timeout_time = timepoint_t::max(); ///< when to call lock_all() boost::filesystem::path dir = "."; boost::filesystem::path lock_path = dir / "wallet.lock"; std::unique_ptr<boost::interprocess::file_lock> wallet_dir_lock; void initialize_lock(); }; } // namespace wallet } // namespace cubetrain
[ "qf_wu@shanchain.com" ]
qf_wu@shanchain.com
0d75376b7e5c4e72d5d9c4adad7945513846b131
b9c0eeff256ae5afe157200aeaffab636ce1547e
/pulnix code/functions.cpp
1f09aa3c45fbfa7e716bec448a3a96cb6283e9ce
[ "LicenseRef-scancode-other-permissive" ]
permissive
3dptv/3dptv_streaks
8b582045ae12a0bdbbf374f00bbccc6fb7837d03
231ca1100371b44dccd723d72d7e58d31aea1030
refs/heads/master
2020-05-18T02:56:17.505104
2012-05-31T07:46:20
2012-05-31T07:46:20
4,499,329
1
1
null
null
null
null
UTF-8
C++
false
false
8,144
cpp
#include "stdafx.h" #include "niimaq.h" #include "parameters.h" #include "functions.h" #include "pulnix_ni.h" #include "pulnix_niDlg.h" extern SESSION_ID Sid; extern INTERFACE_ID Iid; extern BUFLIST_ID Bid; extern int num_seq_buffer; extern Int8 **ImagesRingBuffer; extern Int8 **ImagesSeqBuffer; extern Int8 **ImageBuffer; extern Int8 *ImageCalcBuffer; extern int *ImageCalcBuffer2; extern UINT ImaqTimerId; extern int last,sub_ref,integ,avrg,thresh,inv; extern int thresh_value; void init_window(Frame *frame){ imgSetAttribute (Sid, IMG_ATTR_ACQWINDOW_TOP, 3); imgSetAttribute (Sid, IMG_ATTR_ACQWINDOW_LEFT, 6); imgSetAttribute (Sid, IMG_ATTR_ACQWINDOW_WIDTH, 647); imgSetAttribute (Sid, IMG_ATTR_ACQWINDOW_HEIGHT,485); frame->AcqWinHeight=480; frame->AcqWinWidth= 640; frame->AcqWinTop=0; frame->AcqWinLeft=0; imgSetAttribute (Sid, IMG_ATTR_ROI_TOP, frame->AcqWinTop); imgSetAttribute (Sid, IMG_ATTR_ROI_LEFT, frame->AcqWinLeft); imgSetAttribute (Sid, IMG_ATTR_ROI_WIDTH, frame->AcqWinWidth); imgSetAttribute (Sid, IMG_ATTR_ROI_HEIGHT,frame->AcqWinHeight); imgSetAttribute (Sid, IMG_ATTR_ROWPIXELS, frame->AcqWinWidth); }; int set_memory(int mode, Frame frame){ int i,bufSize; unsigned int bufCmd; int err; unsigned int skippedBuffers[3300] = {0}; bufSize = frame.AcqWinWidth * frame.AcqWinHeight; if(mode==CTR_ONE_SHOT) //one shot { imgCreateBufList(1, &Bid); // imgCreateBuffer(Sid, FALSE, bufSize, &ImagesSeqBuffer[0]); // imgSetBufferElement(Bid, 0, IMG_BUFF_ADDRESS, (uInt32)ImagesSeqBuffer[0]); imgCreateBuffer(Sid, FALSE, bufSize, &ImageBuffer); imgSetBufferElement(Bid, 0, IMG_BUFF_ADDRESS, (uInt32)ImageBuffer); imgSetBufferElement(Bid, 0, IMG_BUFF_SIZE, bufSize); imgSetBufferElement(Bid, 0, IMG_BUFF_COMMAND, IMG_CMD_STOP); } else if(mode==CTR_SEQUENCE) //sequence { if((err=imgCreateBufList(num_seq_buffer, &Bid)) !=0) return err; for (i = 0; i < num_seq_buffer; i++) { ImagesSeqBuffer[i]= NULL; if((err=imgCreateBuffer(Sid, IMG_HOST_FRAME, bufSize, &ImagesSeqBuffer[i]))!=0) return err; if (ImagesSeqBuffer[i]==NULL) return err; if((err=imgSetBufferElement(Bid, i, IMG_BUFF_ADDRESS, (uInt32)ImagesSeqBuffer[i]))!=0) return err; if((err=imgSetBufferElement(Bid, i, IMG_BUFF_SIZE, bufSize))!=0) return err; bufCmd = (i == (num_seq_buffer - 1)) ? IMG_CMD_STOP : IMG_CMD_NEXT; if((err=imgSetBufferElement(Bid, i, IMG_BUFF_COMMAND, bufCmd))!=0) return err; if((err=imgSetBufferElement(Bid, i, IMG_BUFF_SKIPCOUNT, skippedBuffers[i]))!=0) return err; } } else if(mode==CTR_RING) //ring { imgCreateBufList(NUM_RING_BUFFERS, &Bid); for (i = 0; i < NUM_RING_BUFFERS; i++) { imgCreateBuffer(Sid, FALSE, bufSize, &ImagesRingBuffer[i]); imgSetBufferElement(Bid, i, IMG_BUFF_ADDRESS, (uInt32)ImagesRingBuffer[i]); imgSetBufferElement(Bid, i, IMG_BUFF_SIZE, bufSize); bufCmd = (i == (NUM_RING_BUFFERS - 1)) ? IMG_CMD_LOOP : IMG_CMD_NEXT; imgSetBufferElement(Bid, i, IMG_BUFF_COMMAND, bufCmd); } } if(err=imgMemLock(Bid)!=0) return err; if(err=imgSessionConfigure(Sid, Bid)!=0) return err; return 0; } void clear_memory(int mode){ int i,err=0; if(mode==CTR_ONE_SHOT) //one shot { /* if (ImageBuffer != NULL) imgDisposeBuffer(ImageBuffer); if (Bid != 0){ imgDisposeBufList(Bid, FALSE); Bid=0; } if(Sid != 0){ imgClose (Sid, TRUE); Sid=0; } if(Iid != 0){ imgClose (Iid, TRUE); Iid=0; }*/ } else if(mode==CTR_SEQUENCE) //sequence { for(i = 0; i < num_seq_buffer; i++) { if (ImagesSeqBuffer[i] != NULL) imgDisposeBuffer(ImagesSeqBuffer[i]); } if (Bid != 0){ imgDisposeBufList(Bid, FALSE); Bid=0; } if(Sid != 0){ imgClose (Sid, TRUE); Sid=0; } if(Iid != 0){ imgClose (Iid, TRUE); Iid=0; } } else if(mode==CTR_RING) //ring { for (i = 0; i < NUM_RING_BUFFERS; i++) if (ImagesRingBuffer[i] != NULL) err=imgDisposeBuffer(ImagesRingBuffer[i]); if (Bid != 0){ err=imgDisposeBufList(Bid, FALSE); Bid=0; } if(Sid != 0){ imgClose (Sid, TRUE); Sid=0; } if(Iid != 0){ imgClose (Iid, TRUE); Iid=0; } } } DWORD ImaqThread(ThreadCtrl_t *Data) { static Int32 nbFrame = 0; static Int32 t1, t2; static char textBuf[32]; static uInt32 bufAddr, bufAddr_new, currBufNum; register int i; unsigned char *ptr1, *ptr2, *ptr3; int *ptr4; int counter=1; int max_i=640*480; // the thread stops when stop_recording goes to TRUE while(!Data->stop_recording) { t2 = GetTickCount(); imgSessionExamineBuffer (Sid, BufNum, &currBufNum, &bufAddr); // Display the index of the extracted buffer sprintf(textBuf, "%d", currBufNum); Data->nr_of_img->SetWindowText(textBuf); ptr1= (unsigned char*)bufAddr; if(sub_ref) //First a image has to be aquired with "OneShot" { ptr3= (unsigned char*)ImageBuffer; for(i=0; i< max_i; i++) *ptr1++ = abs(*ptr1 - *ptr3++); } if(thresh) { ptr1= (unsigned char*)bufAddr; //while(ptr1 < (unsigned char*)bufAddr+640*480) for(i=0;i<max_i;i++) *ptr1++ = (*ptr1 > thresh_value) ? 255 : 0; } if(inv) { ptr1= (unsigned char*)bufAddr; for(i=0; i< max_i; i++) *ptr1 ++ = 255 - *ptr1; } //***************itegration of a binary image***************************************** if(integ && thresh) { ptr1= (unsigned char*)bufAddr; ptr2= (unsigned char*)ImageCalcBuffer; if(counter==1) { for(i=0; i< max_i; i++) *ptr2++=*ptr1++; counter=2; } else { for(i=0; i< max_i; i++) { *ptr2++=(*ptr1 == 255 || *ptr2 == 255) ? 255 : *ptr1; ptr1++; } bufAddr=(uInt32)ImageCalcBuffer; } } //************************************************************************************ //***************itegration of 255 image********************************************** if(integ && !thresh) { ptr1= (unsigned char*)bufAddr; ptr2= (unsigned char*)ImageCalcBuffer; ptr4= (int*)ImageCalcBuffer2; if(counter==1) { for(i=0; i< max_i; i++) *ptr4++=*ptr1++; counter=2; ptr1= (unsigned char*)bufAddr; ptr4= (int*)ImageCalcBuffer2; } for(i=0; i< max_i; i++) { *ptr4 = *ptr4 + *ptr1; *ptr2++ = *ptr4/(counter); ptr1++;ptr4++; } counter++; bufAddr=(uInt32)ImageCalcBuffer; } //************************************************************************************ if(0){ ptr1= (unsigned char*)bufAddr; ptr2= (unsigned char*)ImageCalcBuffer; if(counter==1) for(i=0; i< max_i; i++) { *ptr2=*ptr1; ptr1++; ptr2++; } if(counter>1){ for(i=0; i< max_i; i++) { *ptr2=(*ptr2 + *ptr1)/counter; ptr1++; ptr2++; } bufAddr=(uInt32)ImageCalcBuffer; } counter++; } int err=imgPlotDC ((GUIHNDL)Data->ImaqSmplDC->m_hDC, (void *)bufAddr, 0, 0, Data->AcqWinWidth, Data->AcqWinHeight, CANVASLEFT, CANVASTOP, FALSE); // CorImageFree(&image_out); // release the buffer back in the ring imgSessionReleaseBuffer (Sid); BufNum++; nbFrame++; if (nbFrame>100) { sprintf(textBuf, "%.2f", 1000.0 * (double)nbFrame / (double)(t2-t1)); Data->frame_rate->SetWindowText(textBuf); t1 = t2; nbFrame=0; } } return 0; } void display(int number, char text[], CEdit *status) { char buffer[256]; if(number!= -99){ itoa(number,buffer,10); status->ReplaceSel(buffer, FALSE); } status->ReplaceSel(text,FALSE); status->ReplaceSel("\r\n",FALSE); }
[ "alex.liberzon@gmail.com" ]
alex.liberzon@gmail.com
f91ba5e2fe868734ed050f960b1eb7c7d63bdf25
6e3aa27c2ab04f817f41f8ab8df2bf5514d1ebeb
/SongManager.h
12e99125a3917bee98e2c53b4c66f5192804a065
[]
no_license
DuckyMacPorterton/SongsBestPicker
100b0f27a3a19a50f546c89754ce9b7bc87d7d37
3b89f0e5906b6f1f4aa3241f10f0e1eafd3844a9
refs/heads/master
2022-12-23T21:58:25.699733
2020-10-06T01:11:32
2020-10-06T01:11:32
267,056,197
0
0
null
null
null
null
UTF-8
C++
false
false
4,352
h
#pragma once #include "SQLite/CppSQLite3-Unicode.h" #include <map> #include "Song.h" #include "StdioFileEx/StdioFileEx.h" #include <fmod.hpp> #include "typedefs.h" enum class EFileFormat { eM3U, eTab, }; class CSongManager { public: CSongManager (); ~CSongManager (); CMyCppSQLite3DBPtr GetDB () {return m_pDB;}; void SetFmodSystem (FMOD::System* pFmodSystem) {m_pFmodSystem = pFmodSystem;}; CString GetError (bool bClearError = false); bool InitSongsFromTextFile (CString strTextFile, EFileFormat eFileFormat, bool bOverwriteExistingData = false); protected: CString GuessMoreLikelyToBeReal (CString strOne, CString strTwo); public: bool DeleteAllSongs (); bool DeleteAllSongStats (); bool DeleteSong (int nSongID); bool AddSong (int& rnNewSongID, CString strTitle, CString strPathToMp3, CString strArtist = L"", CString strAlbum = L""); bool GetDoesSongExist (int nSongID); bool ScheduleMorePods (); bool GetWonLossRecord (int nSongID, int& rnWins, int& rnLosses); bool GetHeadToHeadForSong (int nSongID, CIntArray&rarrOpponents, CIntArray& rarrMargins); bool GetSongCount (int& rnSongCount); bool GetNextSong (int& rnSongID, int nPrevSongID = -1); bool GetNextSong (CString& rstrSongTitle, CString& rstrSongArtist, CString& rstrSongAlbum, CString& rstrPathToMp3, int& rnSongID, int nPrevSongID = -1); bool GetSongDetails (int nSongID, CString& rstrSongTitle, CString& rstrSongArtist, CString& rstrSongAlbum, CString& rstrPathToMp3, BOOL& rbSongStillInCompetition); bool GetSongTitle (int nSongID, CString& rstrSongTitle); bool SetSongDetails (int nSongID, CString strSongTitle, CString strSongArtist, CString strSongAlbum, CString strPathToMp3, BOOL bSongStillInCompetition); bool GetSongRating (int nSongID, int& rnSongRating); bool SetSongRating (int nSongID, int nSongRating); bool RecalcAllSongRatings (bool bResetExistingRatingsFirst = true); bool GetSongStrengthOfSchedule (int nSongID, int& rnStrengthOfSchedule); bool SetSongStrengthOfSchedule (int nSongID, int nStrengthOfSchedule); bool RecalcStrengthOfSchedule (int nSongID, int& rnStrengthOfSchedule); bool GetAllSongsInRandomOrder (CIntArray& rarrSongIDs); // bool SetSongTitle (int nSongID, CString strName); bool SetSongPathToMp3 (int nSongID, CString strPathtoMp3); bool GetFinishedPodCount (int& rnFinishedPoolCount); bool GetUnfinishedPodCount (int& rnUnfinishedPoolCount); bool GetArtistCount (int& rnCount); bool GetAllPodIDs (CIntArray& rarrPodIDs); bool GetCurrentPod (int& rnPodID, CIntArray& rarrSongIDs); bool GetPod (int nPodID, CIntArray& rarrSongIDs, bool& rbPodFinished); bool SetPodRankings (int nPodID, CIntArray& rarrSongIDs, bool bMarkPodFinished = true); bool GetUndefeatedSongCount (int& rnUndefeatedSongCount); bool GetSongsNotPlayedCount (int& rnSongsThatHaveNotPlayed); bool GetTotalHeadToHeadCount (int& rnTotalHeadToHead); // // For type to filter bool GetAllSongsMatchingFilter (CIntArray& rarrSongIDs, bool bUseRegex, CString strFilter); bool GetAllPodsMatchingFilter (CIntArray& rarrPodIDs, bool bUseRegex, CString strFilter); // // Dealing with meta tags bool LoadTagsFromMp3 (CString strPathToMp3, CString& rstrTitle, CString& rstrArtist, CString& rstrAlbum); bool GetTagNamesForType (CString strTagType, CStringArray& rarrTagNames); bool ReadSingleTag (FMOD::Sound* pSoundToLoadTags, CString strTagName, CString& rstrValue); // // Non-song DB stuff bool GetOtherValue (CString strName, CString& rstrValue); bool SetOtherValue (CString strName, CString strValue); bool GetColumnCount (int& rnColumnsToDisplay); bool GetColumnSetupInfo (int nColIndex, int& rnColType, CString& rstrColName, int& rnFormat, int& rnWidth); bool SetColumnSetupInfo (int nColIndex, int nColType, CString strColName, int nFormat, int nWidth); bool DeleteAllColumns (); // // Errors? We never have errors bool SetError (CString strError); protected: bool ReadNextSongM3U (CStdioFileEx& roFileIn, CString& rstrSongName, CString& rstrPathToMp3); bool ReadnextSongTab (CStdioFileEx& roFileIn, CString& rstrSongName, CString& rstrPathToMp3); protected: CString m_strError; CMyCppSQLite3DBPtr m_pDB; FMOD::System* m_pFmodSystem = NULL; int m_nPodSize = 5; // Our DB table design is not flexible enough to let us change this right now };
[ "doug@searchtech.com" ]
doug@searchtech.com
d1963c4b60f4e1f48b8002a42bc1a5ae0edfcf6c
4e80701d5bce0bb33d5a563598bb8ccce0aad864
/Beginner/Nível 1/URI 2006.cpp
54d121fadf12912be1081dd060787c5d1ecd3f65
[]
no_license
thiagohfo/URIOnlineJudge
49ce3a3ddc14ada0110b4183164cc16bc5b1e506
983beb282050e6e1a8c421acb39dbd6976d1f997
refs/heads/main
2022-12-08T06:03:38.677018
2022-11-28T14:36:29
2022-11-28T14:36:29
174,578,594
0
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
// // URI 2006.cpp // Pratica // // Created by Thiago Henrique on 27/10/17. // Copyright © 2017 Thiago Henrique. All rights reserved. // #include <stdio.h> #include <iostream> using namespace std; int main(){ int N, escolhas[5], cont = 0; cin >> N; for(int i = 0; i < 5; i++){ cin >> escolhas[i]; if(escolhas[i] == N){ cont++; } } cout << cont << endl; return 0; }
[ "thiagohfo@gmail.com" ]
thiagohfo@gmail.com
41ba22943669f40f429939364db5ea52ce8fd5dc
778d7ba9da8072c3aef146ca23134e2dc2edd63f
/heapSamole.cpp
7d9d1f4170fd159666a2f3e6f8825ba278ef8ab1
[]
no_license
Daphne4sg/Basic-Algorithm
bcc94ab643ddc308055ea7956baac7badc814c79
55c54fea0822d5ed212aace1b3095ccf04e83927
refs/heads/main
2023-06-15T02:35:18.103070
2021-07-20T14:41:11
2021-07-20T14:41:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,580
cpp
#include <iostream> using namespace std; // To heapify a subtree rooted with node i which is // an index in arr[]. n is size of heap void heapify(int arr[], int n, int i) { int largest = i; // Initialize largest as root int l = 2 * i + 1; // left = 2*i + 1 int r = 2 * i + 2; // right = 2*i + 2 // If left child is larger than root if (l < n && arr[l] > arr[largest]) largest = l; // If right child is larger than largest so far if (r < n && arr[r] > arr[largest]) largest = r; // If largest is not root if (largest != i) { swap(arr[i], arr[largest]); // Recursively heapify the affected sub-tree heapify(arr, n, largest); } } // main function to do heap sort void heapSort(int arr[], int n) { // Build heap (rearrange array) for (int i = n / 2 - 1; i >= 0; i--) heapify(arr, n, i); // One by one extract an element from heap for (int i = n - 1; i >= 0; i--) { // Move current root to end swap(arr[0], arr[i]); // call max heapify on the reduced heap heapify(arr, i, 0); } } /* A utility function to print array of size n */ void printArray(int arr[], int n) { for (int i = 0; i < n; ++i) cout << arr[i] << " "; cout << "\n"; } // Driver program int main() { int arr[] = { 12, 11, 13, 5, 6, 7 }; int n = sizeof(arr) / sizeof(arr[0]); heapSort(arr, n); cout << "Sorted array is \n"; printArray(arr, n); }
[ "noreply@github.com" ]
Daphne4sg.noreply@github.com
145d8b4769bd3e4dd9d8149ae0225920636609af
54b37241d83de4de308f335d412e0ce9df392a78
/src-rmcrt/CCA/Components/MPM/PhysicalBC/FluxBCModel.cc
5a2a814cc382993416a7a24cfe2957a0a089a78d
[ "MIT" ]
permissive
jholmen/Uintah-sc19
dac772fbbc7ab9b8b2bf1be02a08c9e2d8166d24
fae5ebe7821ec23709e97736f1378aa4aa01e645
refs/heads/master
2023-04-15T21:18:28.362715
2021-04-20T13:54:30
2021-04-20T13:54:30
359,625,839
2
0
null
null
null
null
UTF-8
C++
false
false
13,555
cc
/* * The MIT License * * Copyright (c) 1997-2018 The University of Utah * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ #include <CCA/Components/MPM/Core/MPMDiffusionLabel.h> #include <CCA/Components/MPM/Materials/MPMMaterial.h> #include <CCA/Components/MPM/PhysicalBC/FluxBCModel.h> #include <CCA/Components/MPM/PhysicalBC/MPMPhysicalBCFactory.h> #include <CCA/Components/MPM/PhysicalBC/ScalarFluxBC.h> #include <Core/Grid/DbgOutput.h> #include <Core/Grid/Task.h> #include <Core/Grid/Variables/ParticleVariable.h> #include <Core/Grid/Variables/VarTypes.h> #include <string> #include <iostream> using namespace Uintah; static DebugStream cout_doing("FluxBCModel", false); #define USE_FLUX_RESTRICTION FluxBCModel::FluxBCModel(SimulationStateP& shared_state, MPMFlags* mpm_flags) { d_load_curve_index = 0; d_shared_state = shared_state; d_mpm_lb = scinew MPMLabel(); d_mpm_flags = mpm_flags; } FluxBCModel::~FluxBCModel() { delete d_mpm_lb; } void FluxBCModel::scheduleInitializeScalarFluxBCs(const LevelP& level, SchedulerP& sched) { const PatchSet* patches = level->eachPatch(); d_load_curve_index = scinew MaterialSubset(); d_load_curve_index->add(0); d_load_curve_index->addReference(); int nofSFBCs = 0; for (int ii = 0; ii<(int)MPMPhysicalBCFactory::mpmPhysicalBCs.size(); ii++){ std::string bcs_type = MPMPhysicalBCFactory::mpmPhysicalBCs[ii]->getType(); if (bcs_type == "ScalarFlux"){ d_load_curve_index->add(nofSFBCs++); } } if (nofSFBCs > 0) { printSchedule(patches,cout_doing,"FluxBCModel::countMaterialPointsPerFluxLoadCurve"); printSchedule(patches,cout_doing,"FluxBCModel::scheduleInitializeScalarFluxBCs"); // Create a task that calculates the total number of particles // associated with each load curve. Task* t = scinew Task("FluxBCModel::countMaterialPointsPerFluxLoadCurve", this, &FluxBCModel::countMaterialPointsPerFluxLoadCurve); t->requires(Task::NewDW, d_mpm_lb->pLoadCurveIDLabel, Ghost::None); t->computes(d_mpm_lb->materialPointsPerLoadCurveLabel, d_load_curve_index, Task::OutOfDomain); sched->addTask(t, patches, d_shared_state->allMPMMaterials()); #if 1 // Create a task that calculates the force to be associated with // each particle based on the pressure BCs t = scinew Task("FluxBCModel::initializeScalarFluxBC", this, &FluxBCModel::initializeScalarFluxBC); t->requires(Task::NewDW, d_mpm_lb->materialPointsPerLoadCurveLabel, d_load_curve_index, Task::OutOfDomain, Ghost::None); sched->addTask(t, patches, d_shared_state->allMPMMaterials()); #endif } if(d_load_curve_index->removeReference()) delete d_load_curve_index; } void FluxBCModel::initializeScalarFluxBC(const ProcessorGroup*, const PatchSubset* patches, const MaterialSubset*, DataWarehouse* old_dw, DataWarehouse* new_dw) { std::cout << "doing Initialize flux bc" << std::endl; double time = 0.0; printTask(patches,patches->get(0),cout_doing,"Doing initialize ScalarFluxBC"); if (cout_doing.active()) cout_doing << "Current Time (Initialize ScalarFlux BC) = " << time << std::endl; // Calculate the scalar flux at each particle for(int p=0;p<patches->size();p++){ int numMPMMatls=d_shared_state->getNumMPMMatls(); for(int m = 0; m < numMPMMatls; m++){ int nofSFBCs = 0; for(int ii = 0; ii<(int)MPMPhysicalBCFactory::mpmPhysicalBCs.size();ii++){ std::string bcs_type = MPMPhysicalBCFactory::mpmPhysicalBCs[ii]->getType(); if (bcs_type == "ScalarFlux") { // Get the material points per load curve sumlong_vartype numPart = 0; new_dw->get(numPart,d_mpm_lb->materialPointsPerLoadCurveLabel,0,nofSFBCs++); // Save the material points per load curve in the ScalarFluxBC object ScalarFluxBC* pbc = dynamic_cast<ScalarFluxBC*>(MPMPhysicalBCFactory::mpmPhysicalBCs[ii]); pbc->numMaterialPoints(numPart); if (cout_doing.active()){ cout_doing << " Load Curve = " << nofSFBCs << " Num Particles = " << numPart << std::endl; } } // if pressure loop } // loop over all Physical BCs } // matl loop } // patch loop } void FluxBCModel::scheduleApplyExternalScalarFlux(SchedulerP& sched, const PatchSet* patches, const MaterialSet* matls) { Ghost::GhostType gnone = Ghost::None; if (!d_mpm_flags->doMPMOnLevel(getLevel(patches)->getIndex(), getLevel(patches)->getGrid()->numLevels())) return; printSchedule(patches,cout_doing,"FluxBCModel::scheduleApplyExternalScalarFlux"); Task* t=scinew Task("FluxBCModel::applyExternalScalarFlux", this, &FluxBCModel::applyExternalScalarFlux); t->requires(Task::OldDW, d_mpm_lb->simulationTimeLabel); t->requires(Task::OldDW, d_mpm_lb->pXLabel, Ghost::None); t->requires(Task::OldDW, d_mpm_lb->pSizeLabel, Ghost::None); if(d_mpm_flags->d_doScalarDiffusion){ t->requires(Task::OldDW, d_mpm_lb->diffusion->pArea, Ghost::None); } t->requires(Task::OldDW, d_mpm_lb->pVolumeLabel, Ghost::None); t->requires(Task::OldDW, d_mpm_lb->pDeformationMeasureLabel,Ghost::None); #if defined USE_FLUX_RESTRICTION if(d_mpm_flags->d_doScalarDiffusion){ t->requires(Task::OldDW, d_mpm_lb->diffusion->pConcentration, gnone); } #endif t->computes( d_mpm_lb->diffusion->pExternalScalarFlux_preReloc); if (d_mpm_flags->d_useLoadCurves) { t->requires(Task::OldDW, d_mpm_lb->pLoadCurveIDLabel, Ghost::None); } sched->addTask(t, patches, matls); } void FluxBCModel::applyExternalScalarFlux(const ProcessorGroup* , const PatchSubset* patches, const MaterialSubset*, DataWarehouse* old_dw, DataWarehouse* new_dw) { // Get the current simulation time // double simTime = d_shared_state->getElapsedSimTime(); simTime_vartype simTime; old_dw->get(simTime, d_mpm_lb->simulationTimeLabel); if (cout_doing.active()) cout_doing << "Current Time (applyExternalScalarFlux) = " << simTime << std::endl; // Calculate the flux at each particle for each flux bc std::vector<double> fluxPerPart; std::vector<ScalarFluxBC*> pbcP; if (d_mpm_flags->d_useLoadCurves) { for (int ii = 0;ii < (int)MPMPhysicalBCFactory::mpmPhysicalBCs.size();ii++){ std::string bcs_type = MPMPhysicalBCFactory::mpmPhysicalBCs[ii]->getType(); if (bcs_type == "ScalarFlux") { ScalarFluxBC* pbc = dynamic_cast<ScalarFluxBC*>(MPMPhysicalBCFactory::mpmPhysicalBCs[ii]); pbcP.push_back(pbc); // Calculate the force per particle at current time //fluxPerPart.push_back(pbc->fluxPerParticle(time)); } } } // Loop thru patches to update scalar flux for(int p=0;p<patches->size();p++){ const Patch* patch = patches->get(p); printTask(patches, patch,cout_doing,"Doing applyExternalScalarFlux"); // Place for user defined loading scenarios to be defined, // otherwise pExternalForce is just carried forward. int numMPMMatls=d_shared_state->getNumMPMMatls(); for(int m = 0; m < numMPMMatls; m++){ MPMMaterial* mpm_matl = d_shared_state->getMPMMaterial( m ); int dwi = mpm_matl->getDWIndex(); ParticleSubset* pset = old_dw->getParticleSubset(dwi, patch); // Get the particle data constParticleVariable<Point> px; constParticleVariable<Vector> parea; constParticleVariable<double> pvol; constParticleVariable<Matrix3> psize; constParticleVariable<Matrix3> pDeformationMeasure; ParticleVariable<double> pExternalScalarFlux; ParticleVariable<double> pExternalScalarFlux_pR; old_dw->get(px, d_mpm_lb->pXLabel, pset); if(d_mpm_flags->d_doScalarDiffusion){ old_dw->get(parea, d_mpm_lb->diffusion->pArea, pset); } old_dw->get(pvol, d_mpm_lb->pVolumeLabel, pset); old_dw->get(psize, d_mpm_lb->pSizeLabel, pset); old_dw->get(pDeformationMeasure, d_mpm_lb->pDeformationMeasureLabel, pset); new_dw->allocateAndPut(pExternalScalarFlux, d_mpm_lb->diffusion->pExternalScalarFlux_preReloc, pset); #if defined USE_FLUX_RESTRICTION constParticleVariable<double> pConcentration; if(d_mpm_flags->d_doScalarDiffusion){ old_dw->get(pConcentration, d_mpm_lb->diffusion->pConcentration, pset); } #endif if (d_mpm_flags->d_useLoadCurves) { constParticleVariable<IntVector> pLoadCurveID; old_dw->get(pLoadCurveID, d_mpm_lb->pLoadCurveIDLabel, pset); bool do_FluxBCs=false; for (int ii = 0; ii < (int)MPMPhysicalBCFactory::mpmPhysicalBCs.size(); ii++) { std::string bcs_type = MPMPhysicalBCFactory::mpmPhysicalBCs[ii]->getType(); if (bcs_type == "ScalarFlux") { do_FluxBCs=true; } } // Get the load curve data if(do_FluxBCs){ // Iterate over the particles for(ParticleSubset::iterator iter = pset->begin(); iter != pset->end(); iter++){ particleIndex idx = *iter; pExternalScalarFlux[idx] = 0.0; for(int k = 0;k<3;k++){ int loadCurveID = pLoadCurveID[idx](k)-1; if (loadCurveID >= 0) { #if 0 pExternalScalarFlux[idx] = fluxPerPart[loadCurveID]; #else ScalarFluxBC* pbc = pbcP[loadCurveID]; double area = parea[idx].length(); pExternalScalarFlux[idx] += pbc->fluxPerParticle(simTime, area) / pvol[idx]; #endif #if defined USE_FLUX_RESTRICTION if(d_mpm_flags->d_doScalarDiffusion){ double flux_restriction = (4 + log(1-pConcentration[idx]))/4; if (flux_restriction < 0.0){ flux_restriction = 0.0; } pExternalScalarFlux[idx] *= flux_restriction; } #endif } } } } else { for(ParticleSubset::iterator iter = pset->begin(); iter != pset->end(); iter++){ pExternalScalarFlux[*iter] = 0.; } } } else { // if use load curves for(ParticleSubset::iterator iter = pset->begin(); iter != pset->end(); iter++){ pExternalScalarFlux[*iter] = 0.; } } } // matl loop } // patch loop } void FluxBCModel::countMaterialPointsPerFluxLoadCurve(const ProcessorGroup*, const PatchSubset* patches, const MaterialSubset*, DataWarehouse* old_dw, DataWarehouse* new_dw) { printTask(patches, patches->get(0), cout_doing, "countMaterialPointsPerLoadCurve"); // Find the number of pressure BCs in the problem int nofSFBCs = 0; for (int ii = 0; ii<(int)MPMPhysicalBCFactory::mpmPhysicalBCs.size(); ii++){ std::string bcs_type = MPMPhysicalBCFactory::mpmPhysicalBCs[ii]->getType(); if (bcs_type == "ScalarFlux") { nofSFBCs++; // Loop through the patches and count for(int p=0;p<patches->size();p++){ const Patch* patch = patches->get(p); int numMPMMatls=d_shared_state->getNumMPMMatls(); int numPts = 0; for(int m = 0; m < numMPMMatls; m++){ MPMMaterial* mpm_matl = d_shared_state->getMPMMaterial( m ); int dwi = mpm_matl->getDWIndex(); ParticleSubset* pset = new_dw->getParticleSubset(dwi, patch); constParticleVariable<IntVector> pLoadCurveID; new_dw->get(pLoadCurveID, d_mpm_lb->pLoadCurveIDLabel, pset); ParticleSubset::iterator iter = pset->begin(); for(;iter != pset->end(); iter++){ particleIndex idx = *iter; for(int k = 0;k<3;k++){ if (pLoadCurveID[idx](k) == (nofSFBCs)){ ++numPts; } } } } // matl loop new_dw->put(sumlong_vartype(numPts), d_mpm_lb->materialPointsPerLoadCurveLabel, 0, nofSFBCs-1); } // patch loop } } }
[ "jholmen@sci.utah.edu" ]
jholmen@sci.utah.edu
797401a0b91db77e6c3b759fd8f8b16f114ec6f0
87f7bcbca0ee9cfabb6192054e51eb895a5b4a0a
/LineDevice/ProgramDevice/CycloneProgram.cpp
e30f943f770abdf0d34bbb1ff08a81d0e0aa8683
[]
no_license
zhengbenchang/Baolong
54fefaff2d40f4af345288daf33c8e5c9023c837
aea6267d67ca21a1a6a1da3888408308b7ca6c6b
refs/heads/master
2022-01-05T23:27:17.159649
2018-09-25T00:49:27
2018-09-25T00:49:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,729
cpp
#include "CycloneProgram.h" #include "./DataConvert/DataType.h" string download = "0318413f"; //start program string getwork= "03185f65"; //get workstation string getver= "03010b24"; //get version string clearer ="031866ca"; //clear error string geterr = "03183366"; //get error string getDFB2 = "08182E0000DFB204AA"; //get DFB2 string getD1F5 = "08182E0000D1F504B6"; //get D1F5 string getSapCount = "03181BBE"; string getIp = "03010607"; /** * @brief 通过串口参数以及设备名称构造 * @param spp 包含串口参数的指针 * @param name 设备名称 */ CycloneProgram::CycloneProgram(SerialPortParameters *spp, string name):ComDevice(spp,name) { d1f5Count=0; dfb2Count=0; } /** * @brief 测试函数 */ void CycloneProgram::test() { int ret; printf("--- ret = %d\n",ret); ret = IsInWorking(); printf("=== ret = %d\n",ret); string buf; buf = WriteProgramAndGetId(); printf("=== buf = %s \n",buf.data()); } /** * @brief 发送并检查结果,会缩短等待返回数据的时间 * @param command 指令内容 * @param result 对比结果字符串 * @param timeout 超时时间 * @param crc8 校验码 * @return */ bool CycloneProgram::SendAndCheck(string command, string result, unsigned long timeout,string crc8 = "") { int ret = 0; int size = command.length(); if(!crc8.empty()) { command[size] = crc8[0]; command[size+1] = crc8[1]; command[size+2] = '\0'; size = command.length(); } char buff[size]; memset(buff,0,sizeof(buff)); int offset=0; struct timeval tv_start,tv_current; int total_time; unsigned char dec_cmd[size/2]; memset(dec_cmd,0,sizeof(dec_cmd)); if (timeout < 0) timeout = 5000000; //5000ms char* tmp_buff = (char *)malloc(size); int length = stringtodec(command,dec_cmd); if((ret = write(SerialPort_fd,dec_cmd,length)) < 0) { printf("write data error\n"); return ""; } gettimeofday(&tv_start,0); while(true) { usleep(50000); //50ms gettimeofday(&tv_current,0); total_time = (tv_current.tv_sec - tv_start.tv_sec) * 1000000 ; total_time += (tv_current.tv_usec - tv_start.tv_usec); if((unsigned long)total_time > timeout) { printf("Time out \n"); return false; } if((ret = read(SerialPort_fd,tmp_buff,1024))<=0) { printf("read data error\n"); continue; } int i; for(i=0;i<ret;i++) { offset += sprintf(buff+offset,"%02X",tmp_buff[i]); } if(result.compare(buff)==0) { return true; } } return false; } /** * @brief 发送并检查结果 * @param command 指令内容 * @param result 对比结果字符串 * @param timeout 超时时间 * @return */ bool CycloneProgram::SendAndCheck_str(string command, string result,unsigned long timeout) { if (timeout < 0) timeout = 5000; Write(command,"Hex"); while (true) { usleep(50000); string hexString = Read("Hex"); if (!hexString.empty()) { return !StringToUpper(hexString).compare(result); } } } /** * @brief 获取Sap文件个数 * @return */ int CycloneProgram::GetSapCount() { int result = 0; string revice = WriteAndRead(getSapCount, "Hex",200); //200ms if (revice.length() == 8 && revice.substr(0,2).compare("03") == 0 && revice.substr(6,2).compare("EE")) { revice.substr(2,2); result = hextodec(revice.substr(2,2).data()); } return result; } /** * @brief 获取设备IP * @return */ string CycloneProgram::GetDeviceIp() { char result[16] = {0}; string revice = WriteAndRead(getIp, "Hex",200); string m_buff; int IPdata[4] = {0}; int j = 0; if (revice.length() == 10 && revice.substr(0,2).compare("04") == 0) { for(int i = 1;i < 5;i++) { m_buff = revice.substr(i*2, 2); //换算成IP格式 IPdata[j++] = hextodec(m_buff); } sprintf(result,"%d.%d.%d.%d",IPdata[0],IPdata[1],IPdata[2],IPdata[3]); } string DeviceIP = result; return DeviceIP; } /** * @brief 添加Sap文件 * @param 文件内容 * @return */ bool CycloneProgram::AddSapFile(string fileContent) { if (fileContent.empty()) return 0; else { unsigned long timeout = 5000000; if (fileContent.empty()) return 0; fileContent = Trim(fileContent); if (fileContent.empty()) return 0; //添加sap文件: //步骤一(固定写法) if (!SendAndCheck("050223012229", "0101", timeout)) { return false; } //步骤二(固定写法) if (!SendAndCheck("0502240101D6", "0101", timeout)) { return false; } //步骤三(不固定,测试发现,添加第一个程序文件用"081806010000406A"以后都用"08180601000040FA") if (!SendAndCheck("08180601000000406A", "01EE", timeout)) { return false; } int mark = 0; int totalLen = 0; while (true) { totalLen = fileContent.length(); if (totalLen <= 0) break; mark = (totalLen > 2048 ? 2048 : totalLen); string datas = fileContent.substr(0,mark); fileContent = fileContent.substr(mark); string cmdBuilder; cmdBuilder.append("1807"); char byteArray[10] = {0}; sprintf(byteArray,"%x",((datas.length() / 2) + 7)); string lenStr = byteArray;//3个字节表示数据总长度 lenStr = padZero(lenStr,6);//补零 memset(byteArray,0,sizeof(byteArray)); sprintf(byteArray,"%x",(datas.length() / 2)); string coreDateLen = byteArray; coreDateLen = padZero(coreDateLen, 4); cmdBuilder.append(coreDateLen); cmdBuilder.append(datas); unsigned char array[10000]={0}; int length=0; string crc8; length = stringtodec(cmdBuilder,array); crc8 = GetCrc8Check(0,7,array,length); cmdBuilder.insert(0, lenStr); if (!SendAndCheck(cmdBuilder, "03FFFFEE", timeout, crc8)) { return false; } } //1 if (!SendAndCheck("0502240103D8", "0101", timeout)) return false; //2 if (!SendAndCheck("03180ED5", "03FFFFEE", timeout)) return false; //3 if (!SendAndCheck("0502230100C7", "0101", timeout)) return false;//估计这是确认指令 //4 if (!SendAndCheck("050223002135", "0101", timeout)) return false;//添加过程结束 //5 if (!SendAndCheck("03180BCE", "030000EE", timeout)) return false; //6 if (!SendAndCheck("03012CD1", "0400010000", timeout)) return false; //7 if (!SendAndCheck("03181BBE", "030101EE", timeout)) return false; //8查错 if (!SendAndCheck("03183366", "030000EE", timeout)) return false; //9查文件名称 string revice = WriteAndRead("0418320127", "Hex",100); //10 if (!SendAndCheck("04181E0175", "05F0110000EE", timeout)) { return 0; } return SendAndCheck("03180CDB", "07FFFFF0120000EE", timeout); } return 0; } /** * @brief 通过文件路径添加Sap文件 * @param 文件路径 * @return */ bool CycloneProgram::AddSapFileByName(string filePath) { FILE* fs = fopen(filePath.data(), "rb"); if(fs == NULL) { perror("fopen:"); return 0; } int res = 1; string sb; while(1) { char data[SIZE] = {0}; res = fread(data,SIZE,sizeof(char),fs); sb.append(data); if(res < 0) { perror("fread error:\n"); return 0; } else if(res == 0) { break; } } fclose(fs); return AddSapFile(sb); } /** * @brief 写入指定ID * @param model 模式 * @param id ID * @return */ bool CycloneProgram::SetDeviceId_str(string model, string id) { string address; if(!model.compare("FS43X1")) address = "D1F5"; else address = "DFB2"; string command = "0B185D0000" + address + id; unsigned char array[7]={0}; int length = 0; length =stringtodec(command,array); GetCrc8Check(0,7,array,length); return true; } /** * @brief 写入指定ID id这里默认为1位 command数据长度为7位 * @param model * @param id * @return */ bool CycloneProgram::SetDeviceId(string model, string id) { char *address; string command = "0B185D0000"; unsigned char array[7]={0}; string hexstr; string Hex; int length = 0; address = (char *)malloc(10); if(model.compare("FS43X1")==0) { strcpy(address,"D1F5"); } else { strcpy(address,"DFB2"); } command.append(address); command.append(id); //第一字节不参与crc计算,去掉0b,保存到command string cmd = command.substr(2,command.length()-2); //将字符串转化成10进制数保存到arra数组中 length =stringtodec(cmd,array); // crc8校验,返回16进制字符串 hexstr = GetCrc8Check(0,7,array,length); cmd.append(hexstr); //16进制字符串转化成16进制字符数组 stringtohex(cmd,Hex); if(!SendAndCheck(Hex,"01EE",1000000)) { return false; } usleep(200000); //200ms return SendAndCheck("0502230100C7", "0101", 1000L); } /** * @brief 删除所有Sap文件 * @return */ bool CycloneProgram::DeleteAllSap() { long timeout = 2500000; //2500ms if (!SendAndCheck("0818060100000000AD", "01EE", timeout)) { return false; } if (!SendAndCheck("031808C7", "01EE", timeout)) { return false; } return SendAndCheck("0502230100C7", "0101", timeout); } /** * @brief 清除错误信息 * @return */ bool CycloneProgram::ClearError() { int result; result = SendAndCheck(clearer,"030000EE",1000000); //1000ms return result; } /** * @brief 烧程并写指定Id,必须是下面的顺序 * @param model * @param id * @return */ bool CycloneProgram::WriteProgramAndSetId(string model, string id) { bool isWorking = true; //是否正在工作 bool isTimeOut = false; //是否超时 int count = 0; //检测是否正在工作的次数 //1、先烧程 if(!StartProgram()) return false; //2、检查状态,等待烧程完成 while (isWorking) { count++; isWorking = IsInWorking(); printf("正在烧程中...\n"); if (count > 10) { isTimeOut = true; isWorking = false; } } if(isTimeOut) { printf("烧程超时 !\n"); return false; } printf("烧程结束! \n"); //3、写ID if (!SetDeviceId(model, id)) return false; //xiaowei printf("写ID结束! \n"); usleep(100000); //100ms //4 查错 if (!SendAndCheck(geterr, "030000EE", 1000000)) //1000ms { printf("检查未通过! \n"); string lastError = GetLastError(); printf("错误信息:%s \n",lastError.data()); return false; } printf("检查通过,没有错误,烧程成功!\n"); return true;//没有错误,烧程成功 } /** * @brief CycloneProgram::GetIdOperator * @return */ string CycloneProgram::GetIdOperator() { //经测试此处延迟最小70ms,设置为80ms int delay = 300; //300ms string result; if(d1f5Count > dfb2Count) { result = GetId(delay,getD1F5); printf("getD1F5 result = %s\n",result.data()); if(result.empty()) { result = GetId(delay,getDFB2); } } else { result = GetId(delay,getDFB2); if(result.empty()) { result = GetId(delay,getD1F5); } } return result; } /** * @brief 获取ID * @param delay 延时时间 * @param addressString 字符串类型的地址 * @return */ string CycloneProgram::GetId(int delay, string addressString) { string result; string revice = WriteAndRead(addressString, "Hex",delay); if (revice.length() == 16 && revice.substr(0,2).compare("07") && revice.substr(14,2).compare("EE")) { //substring(revice, result, 2, 8); result = revice.substr(2,8); //if (strstr(result,"FFFFFFFF") != NULL || strstr(result,"00000000") != NULL) if((!result.compare("FFFFFFFF"))&& (!result.compare("00000000"))) { printf("取ID失败:%s\n",revice.data()); //memset(result,0,sizeof(result)); result=""; } else { if(!addressString.compare("D1F5")) d1f5Count++; else if (!addressString.compare("DFB2")) dfb2Count++; } } else printf("取ID失败:%s\n",revice.data()); return result; } /** * @brief 开始烧程 * @return */ bool CycloneProgram::StartProgram() { bool start; start = SendAndCheck_str(download,"01EE",1000000); //1000ms return start; } /** * @brief 烧程后读ID * @return */ string CycloneProgram::WriteProgramAndGetId() { bool isWorking = true; //是否正在工作 bool isTimeOut = false; //是否超时 int count = 0; //检测是否正在工作的次数 StartProgram(); printf("烧程开始\n"); while(isWorking) { count++; isWorking = IsInWorking(); if(count % 3 == 0) printf("正在烧程中..."); if (count > 30) { //此处设置烧成10秒超时,300ms检测一次 isTimeOut = true; isWorking = false; } } if (isTimeOut) { printf("烧程超时"); return GetIdOperator(); } printf("烧程结束!\n"); return GetIdOperator(); } /** * @brief 获取错误信息,没有错误信息返回空字符串 * @return */ string CycloneProgram::GetLastError() { //char *str; string str; str = WriteAndRead(geterr,"Hex",300); string error; error = str.substr(2,4); //if(error == "0000") if(!error.compare("0000")) { return ""; } else { return error; } } /** * @brief 通信检测 * @return */ bool CycloneProgram::CanAcess() { string str; unsigned int j=0; m_communicateStatus = false; str = WriteAndRead(getver,"Hex",200); if((!str.empty())&&(str.length()>3)) { while(j<str.length()) { if((str[j] == '5')&&(str[j+1] == '0')&&(str[j+2] == '2')&&(str[j+3] == '6')&&(str[j+4] == '4')&&(str[j+5] == '5')) { m_communicateStatus = true; } j++; } } return m_communicateStatus; } /** * @brief 判断是否忙碌中 * @return */ bool CycloneProgram::IsInWorking() { string str; str = WriteAndRead(getwork,"Hex",300); if(!str.compare("030000EE")) { printf("Device Is In Working\n"); return true; } else if(!str.compare("030101EE")) { printf("Device Is Not In working\n"); return false; } return false; }
[ "zazeje@163.com" ]
zazeje@163.com
48eace77365326fd7955db7f65be797b2f69d226
acee626dd6dd9c11e3a08daef876c0a74815318b
/src/test/RandomGenerator_test.cpp
5d1c91a01c0ca5a409b4a2226d065de1a8a8b4e3
[ "Apache-2.0" ]
permissive
bmstu-gaming/SquaresAndPairs
23946f244e9161bcd5af1a8763f1c6e12d35cbc3
9f52b0e509c5f46971264ce8f23acf700f184dce
refs/heads/master
2021-07-12T14:46:04.337774
2020-07-12T07:48:07
2020-07-12T07:48:07
179,822,187
0
0
null
null
null
null
UTF-8
C++
false
false
268
cpp
#include <iostream> #include "RandomGenerator.hpp" void example_rg() { int intervalA = 1; int intervalB = 6; int seed = 228; snp::RandomGenerator rg(seed); rg.setInterval(intervalA, intervalB); //generate numbers std::cout << rg() << rg() << std::endl; }
[ "37626840+Mvwivs@users.noreply.github.com" ]
37626840+Mvwivs@users.noreply.github.com
9e319fd7c3f0013271655b911bfa04983112c4ab
9f520bcbde8a70e14d5870fd9a88c0989a8fcd61
/pitzDaily/34/phi
98ccb8c710c8915452dcb6fc9dd742da84115214
[]
no_license
asAmrita/adjoinShapOptimization
6d47c89fb14d090941da706bd7c39004f515cfea
079cbec87529be37f81cca3ea8b28c50b9ceb8c5
refs/heads/master
2020-08-06T21:32:45.429939
2019-10-06T09:58:20
2019-10-06T09:58:20
213,144,901
1
0
null
null
null
null
UTF-8
C++
false
false
233,040
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1806 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class surfaceScalarField; location "34"; object phi; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 3 -1 0 0 0 0]; oriented oriented; internalField nonuniform List<scalar> 12640 ( -1.82229300877e-07 1.90611251677e-07 -3.71080901857e-07 1.97071888229e-07 -5.62062568246e-07 1.97926122224e-07 -7.37791108397e-07 1.82452046147e-07 -8.50888075159e-07 1.19503700564e-07 -8.63569874621e-07 1.92501041218e-08 -8.19295373744e-07 -3.81161481967e-08 -8.4962758568e-07 3.59374059998e-08 -9.71973844575e-07 1.28261587694e-07 -1.0793955318e-06 1.13092111097e-07 -1.1890741381e-06 1.13833401142e-07 -1.37998505027e-06 1.94829329601e-07 -1.56339081085e-06 1.86991026987e-07 -1.66905075229e-06 1.09090538366e-07 -1.7206634931e-06 5.4772160943e-08 -1.82877635761e-06 1.12002229845e-07 -1.97088529496e-06 1.4634475181e-07 -2.04916872577e-06 8.2852371473e-08 -2.02795014068e-06 -1.75075817243e-08 -1.90991107878e-06 -1.15249119411e-07 -1.80341866541e-06 -1.04252259626e-07 -1.75639018835e-06 -4.44918174645e-08 -1.75005854696e-06 -4.48364287926e-09 -1.81780448325e-06 6.87944963503e-08 -1.90320219059e-06 8.62234607235e-08 -1.96442571566e-06 6.2642043093e-08 -2.08936200346e-06 1.26391613973e-07 -2.23676271999e-06 1.50010357513e-07 -2.34060295328e-06 1.0618096763e-07 -2.36868372797e-06 3.11134833906e-08 -2.42949848172e-06 6.28145128601e-08 -2.50688455984e-06 7.83612438212e-08 -2.44094070368e-06 -5.97789944271e-08 -2.30433681833e-06 -1.29446293783e-07 -2.11974410198e-06 -1.7906034394e-07 -1.87383901104e-06 -2.33670024561e-07 -1.6157292967e-06 -2.46237643828e-07 -1.38119522339e-06 -2.26320014093e-07 -1.17623682774e-06 -2.02627414655e-07 -1.02288425987e-06 -1.65682436798e-07 -1.00166247168e-06 -3.6749844302e-08 -1.03427545003e-06 2.12042164375e-08 -1.05533714485e-06 1.46649753855e-08 -1.06281875014e-06 6.96185201304e-09 -1.053720953e-06 -4.49437867714e-09 -1.03150886867e-06 -1.50744312721e-08 -9.98926276626e-07 -2.36763428529e-08 -9.72723926916e-07 -2.27966658268e-08 -9.69458603896e-07 -1.06145513295e-09 -1.01985137126e-06 4.93918633603e-08 -1.1742104826e-06 1.52706224644e-07 -1.34155232624e-06 1.67644206942e-07 -1.32196834421e-06 -7.12655981063e-09 -1.14628439202e-06 -1.64318202524e-07 -9.1935886453e-07 -2.19755133579e-07 -6.62569105614e-07 -2.57475793689e-07 -2.22115624813e-07 -4.42947833611e-07 2.19279615824e-08 -2.45992547507e-07 1.3093222071e-07 -1.01239694175e-07 4.63166911521e-07 -3.16867102025e-07 1.28011042911e-06 -8.08984950645e-07 2.03029555468e-06 -7.41601820126e-07 2.87463775005e-06 -8.35555247546e-07 3.4841687766e-06 -6.03600013282e-07 3.83035337762e-06 -3.4374543993e-07 4.05320134392e-06 -2.21163436271e-07 4.19511079247e-06 -1.4051883226e-07 4.29973342854e-06 -1.02779876325e-07 4.36333850303e-06 -6.10469745473e-08 4.35857146081e-06 8.31955754669e-09 4.26938721282e-06 9.30393413868e-08 4.08380404363e-06 1.89297395189e-07 3.79168571896e-06 2.96363805966e-07 3.33867159642e-06 4.58021766467e-07 2.85120313632e-06 4.93207488423e-07 2.34517045803e-06 5.11582869609e-07 1.94011788697e-06 4.0951382185e-07 1.40822759063e-06 5.37248269748e-07 8.70947972454e-07 5.5504422935e-07 8.75993402185e-07 -7.97805078209e-08 2.75600456365e-07 -1.8519242228e-07 3.07971250626e-07 -2.93724685555e-07 3.1123208802e-07 -4.1994814337e-07 3.12721036614e-07 -6.4351131907e-07 3.48024235561e-07 -8.78716910842e-07 2.60196341378e-07 -1.03365909581e-06 1.23320640119e-07 -1.14237012828e-06 1.5174319992e-07 -1.24505833408e-06 2.37927162998e-07 -1.37742723466e-06 2.51392718127e-07 -1.51418714705e-06 2.5596801742e-07 -1.59429876923e-06 2.79210649196e-07 -1.6584196223e-06 2.55157561033e-07 -1.74870029759e-06 2.03346435078e-07 -1.84805977297e-06 1.58896839244e-07 -1.92395922697e-06 1.92523326496e-07 -1.90260476653e-06 1.29794764669e-07 -1.69625505821e-06 -1.20343852892e-07 -1.52170525381e-06 -1.89975410867e-07 -1.46468039183e-06 -1.70502540729e-07 -1.44983996408e-06 -1.17193088065e-07 -1.58215869883e-06 8.90224876118e-08 -1.78347237894e-06 1.98440003179e-07 -1.82501568107e-06 1.11113687013e-07 -1.88805599891e-06 1.50664998943e-07 -2.14295812257e-06 3.18395555725e-07 -2.30801104549e-06 2.94849987942e-07 -2.34147234573e-06 1.86180804562e-07 -2.32300627326e-06 9.19737502227e-08 -2.2764656115e-06 -1.22007872246e-08 -2.13443091052e-06 -7.64980751677e-08 -1.96326841846e-06 -8.71222872382e-08 -1.79534406281e-06 -2.2285494935e-07 -1.61402711247e-06 -3.05153538561e-07 -1.60060532708e-06 -1.83305172491e-07 -1.45668603782e-06 -3.69793701841e-07 -1.23664218335e-06 -4.60055836046e-07 -1.16110726897e-06 -3.01194616358e-07 -1.11616784196e-06 -2.53747797176e-07 -1.0461398168e-06 -2.41907977247e-07 -7.23493037924e-07 -3.7592920369e-07 -3.39930932796e-07 -3.73972543904e-07 -2.91462872233e-07 -4.06330894336e-08 -2.88170598211e-07 6.52116529737e-09 -2.92093392009e-07 1.6502627649e-09 -3.11553908936e-07 9.85520639017e-09 -3.50668273517e-07 1.69816300716e-08 -4.18503298243e-07 4.88574525453e-08 -5.08187547029e-07 8.71064822025e-08 -5.53749024854e-07 9.72200333593e-08 -5.109996152e-07 1.09257806099e-07 -4.78607714997e-07 1.35897078223e-07 -7.97319447815e-07 3.09880545557e-07 -9.52917603263e-07 -1.10264905416e-08 -8.76185003983e-07 -3.02972123327e-07 -1.0875291019e-06 -4.9918791607e-08 2.40869048606e-07 -1.77454610552e-06 2.37652584304e-06 -2.36636649638e-06 3.6581565744e-06 -1.35175469581e-06 3.87472231769e-06 -4.96110308919e-07 3.10410326739e-06 -9.05055001701e-10 2.51099590882e-06 -1.30526212217e-07 3.07256536178e-06 -1.37566050422e-06 3.5431519199e-06 -1.06472540187e-06 3.76587872358e-06 -5.6242165277e-07 3.85435861429e-06 -3.08201748493e-07 4.01661901663e-06 -3.01064981067e-07 4.21806907512e-06 -3.02346454816e-07 4.3432684002e-06 -1.83367427941e-07 4.35231703053e-06 2.40250512115e-09 4.22482491083e-06 2.24099003033e-07 3.97848671958e-06 4.39222715385e-07 3.71665997757e-06 5.62391010868e-07 3.48661816e-06 6.93124705977e-07 3.16484978832e-06 8.20811150949e-07 2.78567945975e-06 8.96701334249e-07 2.28979236756e-06 9.13794871531e-07 1.74858045585e-06 1.08764017925e-06 9.39861486564e-07 1.36947599389e-06 1.83395478178e-06 -1.17045650457e-07 3.96655508053e-07 -1.46003318282e-07 3.42063784944e-07 -3.38163194613e-07 5.08587745494e-07 -6.20115926241e-07 6.0053282345e-07 -8.48617544125e-07 5.822341793e-07 -9.13564464595e-07 3.29681737974e-07 -9.38925535818e-07 1.53720642417e-07 -1.05285006592e-06 2.71579182639e-07 -1.21046406335e-06 4.01663619333e-07 -1.36737480476e-06 4.1399983572e-07 -1.50433371669e-06 3.97808079222e-07 -1.5911314561e-06 3.70851393155e-07 -1.64751852286e-06 3.16514370028e-07 -1.68920931167e-06 2.49965873088e-07 -1.63175908824e-06 1.06157667782e-07 -1.2958368447e-06 -1.39463844002e-07 -9.41063011402e-07 -2.23361954542e-07 -8.58442071369e-07 -2.01775307839e-07 -8.81590087552e-07 -1.655287431e-07 -1.0575732478e-06 6.73354739013e-09 -1.38182710002e-06 2.08539313775e-07 -1.53216617399e-06 2.41242388151e-07 -1.58397098553e-06 2.51435617061e-07 -1.86161456789e-06 3.9049573576e-07 -2.15893636999e-06 4.4938459083e-07 -2.23850986265e-06 4.01137317915e-07 -2.197903368e-06 2.57045364308e-07 -2.1527441094e-06 1.45178652927e-07 -2.05330609906e-06 -3.68356328993e-09 -1.9818579617e-06 -8.05380096785e-08 -1.87474622541e-06 -1.77409489056e-07 -1.70107587743e-06 -2.57981148755e-07 -1.69769423959e-06 -2.18859608944e-07 -1.47896614555e-06 -5.15856785725e-07 -1.18584227694e-06 -4.72679584244e-07 -1.24762194347e-06 -3.07348422054e-07 -1.14905686235e-06 -5.62984042408e-07 -8.48004124936e-07 -6.07274210687e-07 -7.24423326505e-07 -3.88821001399e-07 -7.51464148687e-07 -2.32266085648e-07 -2.80097728881e-07 -8.61537611435e-07 1.14122003666e-06 -1.80094891828e-06 3.44990493864e-06 -2.34200589736e-06 5.6276119622e-06 -2.16312805385e-06 7.29210191864e-06 -1.65194592155e-06 8.3804737277e-06 -1.07051968972e-06 8.90324296009e-06 -4.96727189831e-07 8.91247589287e-06 4.4468179309e-08 8.42795781583e-06 5.77802762034e-07 7.43708995612e-06 1.09301119854e-06 6.0033686346e-06 1.54819546773e-06 4.23771554653e-06 1.9014576895e-06 2.49487620447e-06 2.04911689365e-06 7.51061363872e-07 1.72454274989e-06 -1.00427824215e-07 5.44455685433e-07 1.36945363461e-06 -1.52006902634e-06 2.88484999131e-06 -3.27942251924e-06 3.10681791623e-06 -2.56877240322e-06 2.5936836108e-06 -8.1753204207e-07 2.16108149851e-06 -3.41264409107e-08 2.34681893401e-06 -1.58504763184e-07 3.03919144965e-06 -7.81222638679e-07 3.22117367309e-06 -1.52473376631e-06 3.20423042644e-06 -1.03855037723e-06 3.41988600547e-06 -7.73159283824e-07 3.75708833424e-06 -6.42898718804e-07 3.99405780541e-06 -5.36314020091e-07 4.11305197128e-06 -4.19339933253e-07 4.15838325279e-06 -2.26365181819e-07 4.1241034918e-06 3.94074898447e-08 4.05728510001e-06 2.93900449386e-07 4.03040859568e-06 4.69774766324e-07 3.96173582612e-06 6.35635383675e-07 3.73295787859e-06 9.2766810947e-07 3.3149477743e-06 1.24576871168e-06 2.80329869972e-06 1.41657773343e-06 2.28239140822e-06 1.44005528775e-06 1.78769030665e-06 1.58871384005e-06 8.25397549379e-07 2.35708034141e-06 2.65812942101e-06 -7.54552099938e-08 4.77090147551e-07 -6.95209153069e-08 3.39234905357e-07 -3.62981352387e-07 8.08151218105e-07 -5.52625715111e-07 7.96455149163e-07 -4.41071086627e-07 4.74426546394e-07 -2.76959067851e-07 1.66986463918e-07 -3.92903149063e-07 2.71767578259e-07 -7.63165922617e-07 6.4634741996e-07 -1.09692394711e-06 7.40886444841e-07 -1.31138196989e-06 6.33560896371e-07 -1.47789011618e-06 5.69691007103e-07 -1.55791817448e-06 4.56087628216e-07 -1.48697131553e-06 2.50346587635e-07 -1.21591305812e-06 -1.70700840401e-08 -9.1778615831e-07 -1.89311475963e-07 -8.22956399974e-07 -2.32828694244e-07 -8.33171902215e-07 -2.12054931611e-07 -9.38185081672e-07 -9.54566368999e-08 -1.24648126681e-06 1.44252058363e-07 -1.50959382682e-06 2.72043607602e-07 -1.5864059059e-06 2.87411005781e-07 -1.73624019791e-06 3.92851830062e-07 -1.9901284704e-06 5.07640516865e-07 -2.12681993784e-06 5.29397139751e-07 -2.13733623688e-06 4.63592546648e-07 -2.0612161965e-06 3.27871953638e-07 -2.03463072604e-06 2.34537292317e-07 -1.96389115297e-06 7.79669244351e-08 -1.93004240684e-06 -3.43374561983e-08 -1.84250065815e-06 -1.62724027686e-07 -1.76352318573e-06 -2.53533304897e-07 -1.70013330431e-06 -3.1364804687e-07 -1.40554179885e-06 -5.08869817119e-07 -1.42162447138e-06 -4.95235051401e-07 -1.37019370228e-06 -5.27199216665e-07 -1.14816185974e-06 -5.34089975302e-07 -1.30811990954e-06 -4.13645622665e-07 -1.23395635542e-06 -7.2147011858e-07 -9.75623289241e-09 -1.63601507931e-06 3.04038114621e-06 -3.27781455285e-06 6.56079983288e-06 -4.36590319933e-06 9.47802908142e-06 -4.70658107976e-06 1.17282406232e-05 -4.58404116909e-06 1.3619803062e-05 -4.04872339489e-06 1.52331997192e-05 -3.25872696303e-06 1.65118704037e-05 -2.34311683041e-06 1.7396866975e-05 -1.37505892375e-06 1.7846844468e-05 -3.99719886593e-07 1.78507546917e-05 5.81396541505e-07 1.74191777795e-05 1.53217816569e-06 1.65965831238e-05 2.37826399881e-06 1.54396347768e-05 3.06424325562e-06 1.40108531391e-05 3.48188599783e-06 1.2246139246e-05 3.49111685766e-06 9.85497993013e-06 2.93726686107e-06 6.98789017919e-06 1.3589546967e-06 4.11511193794e-06 -3.89222061818e-07 1.7235849713e-06 -1.62831020314e-07 5.17788742489e-07 3.98704286011e-07 3.30345574848e-07 1.63403239539e-07 7.92167790661e-07 -5.93779712697e-07 1.65379181792e-06 -1.60124056556e-06 2.29246624002e-06 -2.13224205856e-06 2.97523912829e-06 -1.70061783274e-06 3.39502213104e-06 -1.18600397234e-06 3.61620484137e-06 -8.61379425757e-07 3.81232995534e-06 -7.30657814039e-07 3.99348652221e-06 -5.99018315737e-07 4.137574891e-06 -3.69051961408e-07 4.24254232469e-06 -6.38204603294e-08 4.30562539611e-06 2.33778553815e-07 4.25031402292e-06 5.29229394903e-07 3.95074570767e-06 9.40369835812e-07 3.50308090472e-06 1.38136321907e-06 3.03081893967e-06 1.72478265011e-06 2.44611455197e-06 2.00803540033e-06 1.77932924906e-06 2.11603912983e-06 1.24347839662e-06 2.13427888751e-06 6.51403574315e-07 2.94633112529e-06 3.32270061136e-06 6.74147724398e-09 4.71953671915e-07 -7.59301477922e-08 4.25100319069e-07 -3.43677425641e-07 1.08106181617e-06 -3.74285085434e-07 8.31046397334e-07 -2.45345769076e-07 3.47560462744e-07 -2.93966024668e-07 2.1709343821e-07 -5.78289833429e-07 5.59210714041e-07 -9.19070060876e-07 9.91973804729e-07 -1.10220342284e-06 9.29171150857e-07 -1.24728871222e-06 7.835568718e-07 -1.31617065185e-06 6.43571131141e-07 -1.18624494266e-06 3.30059412343e-07 -9.41535551681e-07 8.43231251514e-09 -8.3245391352e-07 -1.24068428781e-07 -8.56873478285e-07 -1.63378078639e-07 -9.44835502737e-07 -1.43570927406e-07 -1.13262346884e-06 -2.25455989399e-08 -1.44509782575e-06 2.19075252626e-07 -1.56121497125e-06 2.6305404254e-07 -1.5101204761e-06 2.23023438017e-07 -1.65594764947e-06 4.35475656624e-07 -1.88322267717e-06 6.22778061526e-07 -2.01670955403e-06 6.43979613881e-07 -2.01314352849e-06 5.29827284865e-07 -1.96789209734e-06 4.21649284032e-07 -1.97876334224e-06 3.43158813787e-07 -1.87623468784e-06 1.3511677681e-07 -1.83399957466e-06 3.90806781946e-08 -1.76725449709e-06 -9.61811758131e-08 -1.71748902532e-06 -2.08933175303e-07 -1.67091297842e-06 -2.94323601391e-07 -1.59206856108e-06 -3.8790422492e-07 -1.79031353897e-06 -3.06200762481e-07 -1.62165156065e-06 -6.67878531898e-07 -1.55436065765e-06 -5.99994614114e-07 -1.54350061576e-06 -5.59017396949e-07 -7.81234419908e-07 -1.21854409789e-06 1.67409326942e-06 -3.20194706725e-06 5.59572825674e-06 -5.55334961262e-06 9.11216820655e-06 -6.77621720026e-06 1.20800800194e-05 -7.31582684439e-06 1.46795298929e-05 -7.29284295556e-06 1.69255234027e-05 -6.8217839236e-06 1.88697673773e-05 -5.98750831974e-06 2.05166033151e-05 -4.90136331255e-06 2.18387255405e-05 -3.66111357846e-06 2.28070304118e-05 -2.33884231138e-06 2.3399728234e-05 -9.86253449011e-07 2.36206476915e-05 3.67309694548e-07 2.34713516878e-05 1.68945140747e-06 2.29446006446e-05 2.91351094001e-06 2.20280039507e-05 3.98851660887e-06 2.06545619352e-05 4.86141452092e-06 1.86646073988e-05 5.48490859636e-06 1.58121079927e-05 5.7957159792e-06 1.13708362422e-05 5.80792264787e-06 6.13781629847e-06 4.8507487518e-06 2.28634047711e-06 3.6891609871e-06 3.11381742869e-07 2.37130286512e-06 -4.70316617301e-07 9.43456450663e-07 -2.91810806102e-07 -7.52850692496e-07 4.38995260009e-07 -2.29735826048e-06 1.20306368128e-06 -2.86106227706e-06 2.77582613154e-06 -3.2590459225e-06 3.39027078339e-06 -1.79334503905e-06 3.65903455703e-06 -1.12610502562e-06 3.82182568967e-06 -8.92297203098e-07 3.97823298433e-06 -7.5532033968e-07 4.1473367838e-06 -5.37883675166e-07 4.32671671811e-06 -2.41716365803e-07 4.39945750951e-06 1.63886071615e-07 4.1846969294e-06 7.48121755635e-07 3.78949956029e-06 1.3403711298e-06 3.36085477374e-06 1.81550208049e-06 2.84909769561e-06 2.24356006846e-06 2.22525730871e-06 2.64040844416e-06 1.70345880683e-06 2.64166008541e-06 1.15538285748e-06 2.6840893579e-06 5.29354811626e-07 3.59366882965e-06 3.84864761881e-06 4.75288289561e-09 4.69281268341e-07 -1.40583459245e-07 5.72727490156e-07 -2.49743843031e-07 1.19458493342e-06 -2.39286092609e-07 8.23426824114e-07 -1.9175517101e-07 3.01328368005e-07 -3.85172255708e-07 4.12625268552e-07 -7.94860051307e-07 9.73097157093e-07 -9.89156354578e-07 1.19132586224e-06 -1.06536915499e-06 1.00954787399e-06 -1.04287830031e-06 7.65838914677e-07 -8.90329136854e-07 4.94577815961e-07 -6.92119140942e-07 1.33814661361e-07 -6.66249574253e-07 -1.60200033104e-08 -7.30617833966e-07 -5.84703539013e-08 -8.45263162143e-07 -4.74347213551e-08 -1.07214962929e-06 8.51629820219e-08 -1.41260785722e-06 3.20220042527e-07 -1.47328847252e-06 2.82570448672e-07 -1.36060944005e-06 1.52463323711e-07 -1.5407904145e-06 4.05775762643e-07 -1.78290887231e-06 6.80752509889e-07 -1.88210254429e-06 7.25336886815e-07 -1.89673151503e-06 6.62550279822e-07 -1.92715578013e-06 5.63808744409e-07 -1.93639469133e-06 4.3549134026e-07 -1.74749225548e-06 1.57436325926e-07 -1.70270955439e-06 9.36780626848e-08 -1.63548952841e-06 -2.39433435998e-08 -1.57586437946e-06 -1.52736979238e-07 -1.49683754513e-06 -2.84000016536e-07 -1.39234764902e-06 -3.94621606187e-07 -1.38933743213e-06 -3.88196189687e-07 -1.28940445006e-06 -4.08137923874e-07 -1.57922909852e-06 -3.83275263743e-07 -1.74603859801e-06 -4.46545183304e-07 -6.66629267906e-07 -1.66737581279e-06 2.54886779496e-06 -4.44579713029e-06 6.72253752032e-06 -7.37042903226e-06 1.03242659399e-05 -9.14067660582e-06 1.3628408742e-05 -1.00630767665e-05 1.66301888915e-05 -1.03021298131e-05 1.93162231615e-05 -9.968041538e-06 2.16701441913e-05 -9.16910278625e-06 2.36943212655e-05 -8.00793927216e-06 2.53844814037e-05 -6.58875337483e-06 2.67294507221e-05 -5.00355437347e-06 2.77193516849e-05 -3.32530422719e-06 2.83474768863e-05 -1.61030486477e-06 2.8623750289e-05 9.71084628267e-08 2.8549166844e-05 1.77143918028e-06 2.81090770517e-05 3.36167378558e-06 2.72735732833e-05 4.83197966928e-06 2.59522769171e-05 6.18947096511e-06 2.39464979972e-05 7.49566402339e-06 2.0800324473e-05 8.94414570985e-06 1.61213749813e-05 1.04869382909e-05 1.04274620591e-05 1.05400254254e-05 5.17110743518e-06 8.93683499815e-06 1.09266290523e-06 6.43262772387e-06 -1.55426138408e-06 3.58043598523e-06 -2.22825810772e-06 -7.25578551706e-08 -1.10180641044e-06 -3.41019494743e-06 4.46440828978e-07 -4.39782436512e-06 2.47486786031e-06 -5.26465909792e-06 3.0326229363e-06 -2.34051978913e-06 3.41299538978e-06 -1.50180371101e-06 3.72085235194e-06 -1.19837133037e-06 4.00107965348e-06 -1.03548068304e-06 4.28724138403e-06 -8.24043502252e-07 4.50587742175e-06 -4.59588325588e-07 4.42645441266e-06 2.45970926721e-07 4.11207233631e-06 1.06646675732e-06 3.75043109744e-06 1.70675463765e-06 3.32828443998e-06 2.24355439573e-06 2.80120808497e-06 2.77738836782e-06 2.25951403594e-06 3.18726444076e-06 1.7052407331e-06 3.20302041805e-06 1.14381757781e-06 3.25623123843e-06 5.68960475741e-07 4.16149281194e-06 4.43027499237e-06 -4.77738245496e-08 5.18407285882e-07 -2.84303334402e-07 8.120056328e-07 -3.57674088875e-07 1.27115403475e-06 -2.38473424885e-07 7.06633145954e-07 -2.64414448967e-07 3.28747587808e-07 -6.17257533023e-07 7.68762907956e-07 -9.05481819693e-07 1.26624741702e-06 -9.77440264417e-07 1.26715227043e-06 -9.01966526388e-07 9.38248615572e-07 -8.62586679781e-07 7.29322584455e-07 -7.35286646262e-07 3.69823152659e-07 -6.49881860198e-07 4.95792221791e-08 -6.93240431709e-07 2.84964835581e-08 -7.70311943882e-07 1.98365125159e-08 -9.52230262715e-07 1.35970361732e-07 -1.29170653096e-06 4.271134033e-07 -1.34759417407e-06 3.78966913784e-07 -1.21477359351e-06 1.51796320665e-07 -1.37594830807e-06 3.16073113498e-07 -1.65141828017e-06 6.84799773809e-07 -1.81752201951e-06 8.50593267071e-07 -1.84568382991e-06 7.57693524486e-07 -1.82644419045e-06 6.47126224859e-07 -1.71253615736e-06 4.54032771266e-07 -1.54347650225e-06 2.70227867928e-07 -1.49907401083e-06 1.15595275782e-07 -1.40233929782e-06 3.0229006655e-10 -1.3928668759e-06 -3.13476388516e-08 -1.3470942692e-06 -1.95236051796e-07 -1.27206324637e-06 -3.57067838222e-07 -1.23074069192e-06 -4.3373345396e-07 -1.30020072543e-06 -3.20302993483e-07 -1.32837464399e-06 -3.83428747847e-07 -1.52490895317e-06 -1.96058718752e-07 -6.03721271394e-07 -1.39159939143e-06 2.70001806712e-06 -4.97419066347e-06 7.00425906927e-06 -8.73764042303e-06 1.09032602978e-05 -1.12540570403e-05 1.45559849475e-05 -1.27785627007e-05 1.79577910763e-05 -1.34515444684e-05 2.10628549093e-05 -1.33965433664e-05 2.38362756507e-05 -1.27339958497e-05 2.62576379197e-05 -1.15859111816e-05 2.83216067428e-05 -1.00691294961e-05 3.00266474101e-05 -8.29197640108e-06 3.13724098848e-05 -6.34751374771e-06 3.23604160403e-05 -4.31119052537e-06 3.29959754457e-05 -2.24204647662e-06 3.32867946748e-05 -1.88510364936e-07 3.32419410087e-05 1.82232696751e-06 3.28669447037e-05 3.74333910186e-06 3.21651829162e-05 5.54063136814e-06 3.11318523193e-05 7.22877740369e-06 2.97818353302e-05 8.84999642749e-06 2.82469673991e-05 1.04810515195e-05 2.66257564161e-05 1.21071928885e-05 2.42622985015e-05 1.28991268836e-05 2.09125578322e-05 1.22783744593e-05 1.68266307929e-05 1.05071959171e-05 1.2276917655e-05 8.12098987702e-06 6.85533305839e-06 5.34795404821e-06 1.97754201337e-06 1.47468449652e-06 2.95440779056e-07 -2.68451406174e-06 1.57468815812e-06 -6.51243570831e-06 2.65606055928e-06 -3.40872517003e-06 3.2045952151e-06 -2.04371714918e-06 3.75364289727e-06 -1.74386267044e-06 4.25534131448e-06 -1.53630643654e-06 4.61436056951e-06 -1.18340044529e-06 4.68656107787e-06 -5.30850908743e-07 4.47695722846e-06 4.58089222568e-07 4.19329678412e-06 1.35359743475e-06 3.85501066997e-06 2.04973374161e-06 3.41837256965e-06 2.68586142191e-06 2.89622644842e-06 3.30553403903e-06 2.43539142125e-06 3.65510798164e-06 1.80692684825e-06 3.83522384474e-06 1.15229325742e-06 3.90997503423e-06 6.46336880664e-07 4.69080735022e-06 5.071580769e-06 -9.65684295233e-08 6.17009395617e-07 -3.83365285383e-07 1.10150127611e-06 -3.45638049693e-07 1.2362197108e-06 -1.55579868496e-07 5.17760469844e-07 -3.37292418572e-07 5.12402645953e-07 -7.3172831275e-07 1.16718667744e-06 -8.52990026481e-07 1.39142628269e-06 -9.03927562293e-07 1.32220399905e-06 -7.23872397625e-07 7.60521509783e-07 -6.69333764465e-07 6.77508984521e-07 -5.62969443322e-07 2.64502920475e-07 -6.4888412233e-07 1.36524952503e-07 -7.14023632852e-07 9.46921827824e-08 -8.36253051796e-07 1.43254267664e-07 -1.10754690007e-06 4.09872141243e-07 -1.22020981811e-06 5.42624088994e-07 -1.1147568455e-06 2.75515732132e-07 -1.23142384654e-06 2.70530960901e-07 -1.49058255378e-06 5.7861015882e-07 -1.67092310245e-06 8.69272447086e-07 -1.72538038933e-06 9.09562831315e-07 -1.73769245783e-06 7.7388661597e-07 -1.76359229131e-06 6.77079530802e-07 -1.7602198143e-06 4.5497136179e-07 -1.6089061121e-06 1.21104625659e-07 -1.53295597951e-06 4.30215702837e-08 -1.46481998552e-06 -6.56603876508e-08 -1.26507217579e-06 -2.2831993032e-07 -1.2515176007e-06 -2.08015714415e-07 -1.38887973437e-06 -2.17776597035e-07 -1.50054704946e-06 -3.24132806211e-07 -1.33812868688e-06 -4.85914146486e-07 -1.55144892097e-06 -1.76690327446e-07 -1.04685001325e-06 -7.21597692924e-07 2.21032171548e-06 -4.6514308204e-06 6.72813551768e-06 -9.47650295973e-06 1.09282025705e-05 -1.29202332041e-05 1.49287701479e-05 -1.52399572501e-05 1.87093050342e-05 -1.65473895313e-05 2.22145822166e-05 -1.69475330626e-05 2.53910891751e-05 -1.65659919057e-05 2.82038251001e-05 -1.55418873553e-05 3.06373895055e-05 -1.40164303059e-05 3.26916737069e-05 -1.21215662331e-05 3.43737764183e-05 -9.9726811091e-06 3.56931060743e-05 -7.66547910135e-06 3.66602019249e-05 -5.27633642143e-06 3.72857887558e-05 -2.86501982513e-06 3.75808113996e-05 -4.79896594871e-07 3.75613979652e-05 1.84669639837e-06 3.72457281607e-05 4.0642331803e-06 3.66581768062e-05 6.13331423551e-06 3.5834335493e-05 8.05745297173e-06 3.48408581224e-05 9.84719219457e-06 3.38098385921e-05 1.15141308548e-05 3.28856687009e-05 1.30317938627e-05 3.18094415352e-05 1.3975112915e-05 3.02313179445e-05 1.3854479018e-05 2.80208513755e-05 1.27154608673e-05 2.52338498868e-05 1.09050797909e-05 2.18893582026e-05 8.6882689972e-06 1.73108671061e-05 6.04932705494e-06 1.12003871333e-05 3.4355769212e-06 5.15903904773e-06 -4.34434505458e-07 3.07297317848e-06 -1.29666851837e-06 3.17137425305e-06 -2.13143496768e-06 3.79428465948e-06 -2.36084587866e-06 4.42922574045e-06 -2.16686356007e-06 4.81756528877e-06 -1.5702789385e-06 4.83554440175e-06 -5.47799457896e-07 4.66276495073e-06 6.32502360649e-07 4.41721958679e-06 1.60260475363e-06 4.06924604983e-06 2.40233148324e-06 3.62118029033e-06 3.13921561364e-06 3.14684995098e-06 3.78548858812e-06 2.64462117643e-06 4.16173786685e-06 1.9914711514e-06 4.49427590846e-06 1.2056639108e-06 4.70870307556e-06 6.24646081316e-07 5.26121815943e-06 5.7093577201e-06 -1.42795182083e-07 7.62000524785e-07 -4.25581651597e-07 1.38710762628e-06 -2.73578623191e-07 1.08608352735e-06 -2.43118211641e-07 4.88486017897e-07 -5.517701127e-07 8.23470017171e-07 -7.09771161679e-07 1.3290776732e-06 -7.97546876944e-07 1.48270187345e-06 -7.93099930184e-07 1.32057798428e-06 -7.18235522508e-07 6.87765583542e-07 -6.86351648092e-07 6.47646987742e-07 -6.40155466113e-07 2.1920359293e-07 -6.98321358889e-07 1.95528950127e-07 -7.78714113698e-07 1.7622245686e-07 -9.61397575914e-07 3.27979594561e-07 -1.27075582107e-06 7.21740415358e-07 -1.25136328683e-06 5.2605449628e-07 -1.19579613596e-06 2.21833517233e-07 -1.32937147898e-06 4.06884460403e-07 -1.53661435166e-06 7.89664268127e-07 -1.61851334765e-06 9.55828533078e-07 -1.59076669202e-06 8.86360784153e-07 -1.492170217e-06 6.78613502647e-07 -1.4060868829e-06 5.95421339345e-07 -1.34513570691e-06 3.96061987054e-07 -1.35352757974e-06 1.32653750104e-07 -1.34058985296e-06 3.27145650899e-08 -1.46283915242e-06 5.82959711852e-08 -1.55667185958e-06 -1.31967947252e-07 -1.60290749487e-06 -1.59919025273e-07 -1.57904788381e-06 -2.41294106845e-07 -1.6751892319e-06 -2.3047710631e-07 -1.97432599049e-06 -1.92622104736e-07 -2.17064365243e-06 7.18647925434e-09 1.03706761902e-06 -3.93550994272e-06 5.92432462407e-06 -9.52587156895e-06 1.04291041656e-05 -1.39649743198e-05 1.47547039659e-05 -1.72312609277e-05 1.88929529293e-05 -1.93669000387e-05 2.27763305097e-05 -2.04224099205e-05 2.63339082067e-05 -2.04989924306e-05 2.95130160735e-05 -1.97407645653e-05 3.22875864157e-05 -1.83135103753e-05 3.46558826994e-05 -1.63827006189e-05 3.66327019344e-05 -1.40969336785e-05 3.82393035658e-05 -1.15778895765e-05 3.94967581325e-05 -8.92169650332e-06 4.04235143049e-05 -6.20147393632e-06 4.10337828237e-05 -3.47294126074e-06 4.13383201268e-05 -7.80719969496e-07 4.13503812668e-05 1.83809663508e-06 4.10924183637e-05 4.32568286007e-06 4.05917924851e-05 6.63675081711e-06 3.98871029433e-05 8.76397385261e-06 3.90430070531e-05 1.06918217335e-05 3.81742557296e-05 1.23823857256e-05 3.74510434597e-05 1.37534845947e-05 3.68676106549e-05 1.45563532665e-05 3.61901795914e-05 1.45301336364e-05 3.51929474119e-05 1.37091366273e-05 3.3738124096e-05 1.23551586963e-05 3.16557707611e-05 1.0758961082e-05 2.85350256028e-05 9.15495327932e-06 2.41316972119e-05 7.8330961259e-06 1.66638606813e-05 7.05278617318e-06 8.61964832691e-06 6.79120776691e-06 3.59604376563e-06 2.91366103249e-06 3.92897218663e-06 -2.68036039723e-06 4.72070238652e-06 -2.95129076242e-06 5.19676575914e-06 -2.039169144e-06 5.18458008854e-06 -5.32200262162e-07 5.03037474723e-06 7.90127920396e-07 4.76853898205e-06 1.86804429935e-06 4.37599287329e-06 2.79948835182e-06 3.89919124723e-06 3.62106460461e-06 3.42227202625e-06 4.26774284934e-06 2.84049127516e-06 4.74939741199e-06 2.1505144308e-06 5.18891607776e-06 1.28761150021e-06 5.56828175315e-06 5.9068922587e-07 5.98250050562e-06 6.29427167513e-06 -2.09113891232e-07 9.73620810131e-07 -4.60746081101e-07 1.64219510595e-06 -2.70193130086e-07 8.97171571685e-07 -3.26694049985e-07 5.46394429089e-07 -6.339407903e-07 1.13345633837e-06 -5.77324438817e-07 1.27483075699e-06 -7.11615157932e-07 1.62055902868e-06 -5.86080755315e-07 1.19698984018e-06 -6.21366060716e-07 7.24710934909e-07 -5.62572344875e-07 5.89933391527e-07 -6.37939772814e-07 2.95308987143e-07 -7.23981768289e-07 2.82623206261e-07 -8.2294043823e-07 2.76406877352e-07 -1.03239665675e-06 5.39565582348e-07 -1.14705370704e-06 8.39718682144e-07 -1.03768717903e-06 4.18301863884e-07 -1.15305359005e-06 3.39264318678e-07 -1.33370344384e-06 5.90503656947e-07 -1.50704471723e-06 9.67302966977e-07 -1.60649585116e-06 1.05998394856e-06 -1.56053578176e-06 8.44059313038e-07 -1.55194633553e-06 6.75316763384e-07 -1.48140004794e-06 5.27566813364e-07 -1.38239281426e-06 3.00334080192e-07 -1.49100958291e-06 2.4365158406e-07 -1.4300400841e-06 -2.70764872655e-08 -1.19499688973e-06 -1.73297733576e-07 -1.15757168976e-06 -1.67604141854e-07 -1.14526343698e-06 -1.70049784918e-07 -1.35865428078e-06 -2.82133540441e-08 -1.44320667624e-06 -1.48364634353e-07 -1.53978068678e-06 -9.90562785986e-08 5.37121525848e-07 -2.07550532256e-06 4.90650057518e-06 -8.29740519304e-06 9.48832791785e-06 -1.40944098559e-05 1.4050973872e-05 -1.85143810595e-05 1.85053564868e-05 -2.16748168379e-05 2.2743156434e-05 -2.35966452785e-05 2.66607184419e-05 -2.43342480642e-05 3.01774739602e-05 -2.4011724461e-05 3.32483292105e-05 -2.28087653918e-05 3.58659008682e-05 -2.09288508189e-05 3.80531206686e-05 -1.85684918657e-05 3.98512213369e-05 -1.5893294519e-05 4.1302927046e-05 -1.30285025073e-05 4.24459672489e-05 -1.00633483441e-05 4.33074866404e-05 -7.06174577332e-06 4.39031559607e-05 -4.06690036337e-06 4.42376870586e-05 -1.11367621278e-06 4.43126644266e-05 1.76542216497e-06 4.41402545193e-05 4.49957738978e-06 4.37391218399e-05 7.03825807194e-06 4.31380952346e-05 9.36419230514e-06 4.23893159315e-05 1.14384717392e-05 4.15835548098e-05 1.31842328656e-05 4.08578018174e-05 1.44751915812e-05 4.02873454547e-05 1.51230663501e-05 3.98195875322e-05 1.49941419764e-05 3.93617513477e-05 1.41634429246e-05 3.88137392278e-05 1.28971836444e-05 3.80140919567e-05 1.15485979876e-05 3.66521935557e-05 1.05021931035e-05 3.43289555118e-05 1.01449268617e-05 3.0496586138e-05 1.08883887377e-05 2.43949482661e-05 1.29146818823e-05 1.41425246198e-05 1.32081599242e-05 6.00680600164e-06 5.4829992439e-06 5.14245880371e-06 -2.06691151321e-06 5.67422423211e-06 -2.56268661642e-06 5.68930717504e-06 -5.41138670477e-07 5.53071760324e-06 9.52608024232e-07 5.19940430549e-06 2.2031114101e-06 4.74688684809e-06 3.25546844182e-06 4.2276334613e-06 4.14456532724e-06 3.66779480713e-06 4.83187773581e-06 3.00562754877e-06 5.41607825081e-06 2.2546651512e-06 5.94447484727e-06 1.42636526396e-06 6.41070918703e-06 6.33356670914e-07 6.7630584827e-06 6.93912205833e-06 -2.43669327356e-07 1.21985597867e-06 -3.86821820938e-07 1.78733777912e-06 -2.91336941146e-07 8.02718857737e-07 -4.85305502724e-07 7.41906037367e-07 -5.29833780188e-07 1.18032931739e-06 -5.15000976579e-07 1.26302070626e-06 -6.41740573045e-07 1.74902316826e-06 -4.57808739735e-07 1.01553816076e-06 -6.15011160619e-07 8.82859565017e-07 -5.73817798281e-07 5.49658057364e-07 -6.65515824566e-07 3.87875937158e-07 -7.55879354398e-07 3.73814313627e-07 -8.75013982426e-07 3.97359692724e-07 -1.13779022002e-06 8.04894302655e-07 -1.15658242842e-06 8.60907605159e-07 -1.08925591464e-06 3.52560025009e-07 -1.18043387229e-06 4.32638851742e-07 -1.34695881508e-06 7.60547484371e-07 -1.4664130757e-06 1.09135632096e-06 -1.500465447e-06 1.09813488373e-06 -1.46859364294e-06 8.17344212334e-07 -1.67120251257e-06 8.80526559013e-07 -1.6033413774e-06 4.63591540099e-07 -1.4108192279e-06 1.10701891301e-07 -1.25417825724e-06 8.77425827044e-08 -1.27952917576e-06 1.70276312166e-09 -1.37029744254e-06 -8.02080561351e-08 -1.53577022541e-06 5.16819523039e-10 -1.47512647639e-06 -2.27013950244e-07 -1.19643324266e-06 -3.07327813062e-07 -1.17348204458e-06 -1.72673070865e-07 -1.15482128739e-06 -1.21424053449e-07 3.07221228002e-06 -6.29786077898e-06 7.99904280064e-06 -1.32130926895e-05 1.28057787008e-05 -1.88894009193e-05 1.75384433505e-05 -2.32370008028e-05 2.21037962117e-05 -2.62323264516e-05 2.63680292569e-05 -2.78551597656e-05 3.02061154524e-05 -2.81682073996e-05 3.35361194636e-05 -2.73387886323e-05 3.63311659055e-05 -2.56013589434e-05 3.86148197222e-05 -2.32110451561e-05 4.04498945691e-05 -2.04016020635e-05 4.19164724611e-05 -1.73587256352e-05 4.30911546049e-05 -1.42019900124e-05 4.40344452161e-05 -1.10063345264e-05 4.47886215089e-05 -7.81590229736e-06 4.53698727701e-05 -4.64810240132e-06 4.57748270212e-05 -1.5177043731e-06 4.59766854583e-05 1.56409222472e-06 4.59573524775e-05 4.51865362067e-06 4.57089678811e-05 7.28536923062e-06 4.52307823554e-05 9.83924141342e-06 4.4538340001e-05 1.21260425076e-05 4.3681208761e-05 1.40371287124e-05 4.27675736439e-05 1.53839793244e-05 4.19517748126e-05 1.59344444199e-05 4.13703609269e-05 1.5570326359e-05 4.11164704368e-05 1.44115738994e-05 4.12208204149e-05 1.27854009581e-05 4.16182077076e-05 1.11420514856e-05 4.20684792979e-05 1.00395990058e-05 4.21197775551e-05 1.00813895619e-05 4.11151225229e-05 1.18866069894e-05 3.83059263652e-05 1.57292533946e-05 3.09321856859e-05 2.0612103016e-05 1.69293559763e-05 1.9543818088e-05 7.86570303903e-06 7.01932968776e-06 6.8173125613e-06 -1.50105980736e-06 6.34652794135e-06 -5.97309856275e-08 6.05705670539e-06 1.24990877394e-06 5.62379587862e-06 2.6407014405e-06 5.11921292473e-06 3.76356505982e-06 4.55458527706e-06 4.71227867176e-06 3.90589176386e-06 5.48450400387e-06 3.1784542461e-06 6.1470166214e-06 2.41167221346e-06 6.7150254593e-06 1.62269630067e-06 7.19318677157e-06 8.00318090678e-07 7.6071289013e-06 7.73150277757e-06 -2.10921626372e-07 1.43362846334e-06 -2.54776837917e-07 1.8341224655e-06 -3.2847111018e-07 8.77590960816e-07 -4.63891579554e-07 8.78762658654e-07 -3.08132227158e-07 1.02627233919e-06 -4.59768159182e-07 1.41600403137e-06 -6.09064078437e-07 1.90190632796e-06 -4.6261620457e-07 8.69781722569e-07 -6.60314130024e-07 1.08260454362e-06 -6.5378206851e-07 5.43858066004e-07 -7.13270274123e-07 4.48115485877e-07 -7.94162358375e-07 4.56290776241e-07 -9.21446379123e-07 5.25822886878e-07 -1.19714301178e-06 1.08350838967e-06 -1.09316925898e-06 7.58703207804e-07 -1.07636501141e-06 3.37202254227e-07 -1.18584477143e-06 5.44339051485e-07 -1.35606549938e-06 9.34290269713e-07 -1.44758456951e-06 1.1872762583e-06 -1.43815555871e-06 1.09408170069e-06 -1.42388575353e-06 8.05795614873e-07 -1.49780665187e-06 9.59765253767e-07 -1.51319308723e-06 4.81123280399e-07 -1.50254299211e-06 1.00743550542e-07 -1.38047153367e-06 -3.1499117217e-08 -1.49047630816e-06 1.13618061854e-07 -1.44758822153e-06 -1.19910946285e-07 -1.2311673375e-06 -2.12451996868e-07 -1.33947238182e-06 -1.18862722128e-07 -1.4619062062e-06 -1.85120338282e-07 -1.54597103511e-06 -8.89660990516e-08 1.26176457102e-06 -2.9254093542e-06 6.11456339946e-06 -1.11406811901e-05 1.10545939041e-05 -1.81425398298e-05 1.59899211386e-05 -2.38154122544e-05 2.0842155669e-05 -2.80817233734e-05 2.54436622652e-05 -3.08281064599e-05 2.96099104016e-05 -3.20169260724e-05 3.31942459984e-05 -3.17492737532e-05 3.61243070738e-05 -3.02659451154e-05 3.84053035395e-05 -2.78801452556e-05 4.010823385e-05 -2.49119867833e-05 4.13492862616e-05 -2.16405937821e-05 4.2265388781e-05 -1.82747324403e-05 4.2976878895e-05 -1.49134134061e-05 4.35788856271e-05 -1.16098608346e-05 4.41422003474e-05 -8.38084093486e-06 4.46893337263e-05 -5.19734878753e-06 4.5217123342e-05 -2.04595148744e-06 4.5657166327e-05 1.12336483316e-06 4.59215339438e-05 4.25428325584e-06 4.59478433266e-05 7.25629523201e-06 4.56801614266e-05 1.01036128149e-05 4.50642572083e-05 1.27374640522e-05 4.40790067369e-05 1.50157091091e-05 4.2814743167e-05 1.66429854479e-05 4.15385446891e-05 1.72053163405e-05 4.05907836205e-05 1.6510916304e-05 4.02611804929e-05 1.47315437387e-05 4.07545988686e-05 1.2283650093e-05 4.21994885966e-05 9.68903925549e-06 4.44837131627e-05 7.74821296323e-06 4.7186681751e-05 7.36999081373e-06 4.95256753241e-05 9.53999082828e-06 5.03863442474e-05 1.48682008635e-05 4.7839759963e-05 2.31783069497e-05 3.5377569501e-05 3.20325872265e-05 1.59029861197e-05 2.65366944699e-05 9.5143531609e-06 4.90595488107e-06 7.34516243089e-06 2.1233512862e-06 6.56390716711e-06 2.0414055648e-06 5.97719796255e-06 3.23275847003e-06 5.42472833087e-06 4.31784128652e-06 4.80563005636e-06 5.33271779707e-06 4.09980334627e-06 6.19286873186e-06 3.38257641523e-06 6.86672578234e-06 2.61768628875e-06 7.48025113483e-06 1.82078399564e-06 8.00171046904e-06 9.33587246605e-07 8.47724522828e-06 8.6760609968e-06 -1.46324568388e-07 1.58225429849e-06 -1.14568509004e-07 1.80413889512e-06 -3.66491714665e-07 1.13107615255e-06 -4.07771211854e-07 9.21193993927e-07 -3.6111272496e-07 9.81035454264e-07 -5.44473980734e-07 1.602204629e-06 -5.91623142956e-07 1.9498241034e-06 -5.20906409519e-07 8.00796558138e-07 -6.92198943398e-07 1.2547959746e-06 -6.96152959449e-07 5.48564282727e-07 -7.46346203383e-07 4.99385318135e-07 -8.14626607499e-07 5.25334702614e-07 -9.10499375456e-07 6.24236644344e-07 -1.02560207874e-06 1.19990042158e-06 -8.76418373872e-07 6.1055125835e-07 -1.0015312249e-06 4.63529392215e-07 -1.17319841535e-06 7.18311437776e-07 -1.3472741413e-06 1.11192359283e-06 -1.4104209635e-06 1.25498908747e-06 -1.37877744406e-06 1.06602407334e-06 -1.39048063842e-06 8.23271043785e-07 -1.34918706218e-06 9.21482676452e-07 -1.22895221213e-06 3.61550056329e-07 -1.28554087421e-06 1.59270026435e-07 -1.35601935946e-06 4.0742068259e-08 -1.24629257097e-06 5.36709946187e-09 -1.23404900506e-06 -1.30397572834e-07 -1.20819373125e-06 -2.37990661125e-07 -1.13443802886e-06 -1.92635681877e-07 -1.09867130546e-06 -2.20346451088e-07 -1.13652659927e-06 -4.87232871589e-08 3.72860689951e-06 -7.77922296094e-06 8.75088892139e-06 -1.61526621188e-05 1.38561960638e-05 -2.3238611556e-05 1.89401086288e-05 -2.88917115874e-05 2.3859150234e-05 -3.29947114097e-05 2.83781894207e-05 -3.53419947034e-05 3.22593261975e-05 -3.58941693965e-05 3.53433873575e-05 -3.4829692656e-05 3.7583621827e-05 -3.25028603684e-05 3.90369706381e-05 -2.93313683565e-05 3.98378511813e-05 -2.57101627593e-05 4.0167823521e-05 -2.19723782169e-05 4.02435688094e-05 -1.83511456571e-05 4.02291689057e-05 -1.4903729086e-05 4.02638954716e-05 -1.16498933751e-05 4.04698466361e-05 -8.5938937783e-06 4.08895751939e-05 -5.62018130476e-06 4.15691795507e-05 -2.72848414853e-06 4.24161506801e-05 2.77968713176e-07 4.32031305983e-05 3.46690735535e-06 4.37656787407e-05 6.69518419227e-06 4.39372179138e-05 9.93082293472e-06 4.35427049388e-05 1.31289807904e-05 4.24434781983e-05 1.61158758926e-05 4.06727600472e-05 1.84146544692e-05 3.87129162286e-05 1.9162638431e-05 3.7219840866e-05 1.79981909718e-05 3.67231024013e-05 1.52231989519e-05 3.76360134738e-05 1.13658234262e-05 4.04002761879e-05 6.92255506301e-06 4.49248453709e-05 3.2201896743e-06 5.08517353039e-05 1.43956699178e-06 5.72505329993e-05 3.13532207602e-06 6.26318902345e-05 9.48182566931e-06 6.51776449243e-05 2.06299349001e-05 6.10225663981e-05 3.62057238819e-05 3.81488403724e-05 4.9427085534e-05 1.45364399537e-05 2.85304771154e-05 8.34023903751e-06 8.33470360789e-06 7.24986939091e-06 3.14022542672e-06 6.32351501208e-06 4.16213770656e-06 5.843415875e-06 4.79889626221e-06 5.14124788004e-06 6.03932926371e-06 4.30616233573e-06 7.03069970535e-06 3.64049900573e-06 7.5333839901e-06 2.8500768914e-06 8.272211422e-06 1.95354706803e-06 8.88766491257e-06 1.03106314906e-06 9.42057095132e-06 9.69695236532e-06 -1.78044816121e-07 1.76321678734e-06 -2.77255379826e-07 1.90639402683e-06 -3.46523046739e-07 1.20191223553e-06 -3.59216919571e-07 9.35425095937e-07 -4.16080158772e-07 1.03935952052e-06 -6.44001474862e-07 1.83147522539e-06 -6.16090461049e-07 1.92424185168e-06 -6.71988105732e-07 8.57184956518e-07 -7.25907171237e-07 1.31004315919e-06 -7.24859404777e-07 5.48126043911e-07 -7.74663036775e-07 5.4987204019e-07 -8.37803825722e-07 5.90226231772e-07 -9.29876621939e-07 7.17010385133e-07 -1.00602661952e-06 1.27849779129e-06 -9.67709357378e-07 5.73138776083e-07 -1.06713243174e-06 5.64346867117e-07 -1.22190220658e-06 8.75360503389e-07 -1.34652777873e-06 1.2397914573e-06 -1.35752693301e-06 1.26976480394e-06 -1.34254469365e-06 1.05591706974e-06 -1.39472818857e-06 8.78532760527e-07 -1.32023555028e-06 8.5059204499e-07 -1.30592833612e-06 3.49389765386e-07 -1.47671651102e-06 3.30945262448e-07 -1.47242111141e-06 3.69710247929e-08 -1.35265023078e-06 -1.13318854939e-07 -1.48220256153e-06 1.66145532653e-12 -1.4586979714e-06 -2.62747892299e-07 -1.26614673651e-06 -3.8388065766e-07 -1.33505274146e-06 -1.51855201422e-07 1.21669560895e-06 -2.59306629943e-06 6.09915267968e-06 -1.26515567309e-05 1.12309043708e-05 -2.12755569372e-05 1.6432433103e-05 -2.8432571194e-05 2.1590098118e-05 -3.40431470593e-05 2.64686611802e-05 -3.78678040093e-05 3.07230258621e-05 -3.95922207088e-05 3.40582936006e-05 -3.92251727108e-05 3.63180771916e-05 -3.70854522382e-05 3.75049315732e-05 -3.36869811887e-05 3.77517080164e-05 -2.95759502999e-05 3.72638355053e-05 -2.52232786961e-05 3.63064057758e-05 -2.10173023439e-05 3.51982377647e-05 -1.72513043002e-05 3.41471826515e-05 -1.38675081285e-05 3.33120639971e-05 -1.08271609042e-05 3.28931377293e-05 -8.18447832389e-06 3.29171657672e-05 -5.64961793904e-06 3.3646516123e-05 -3.45835842978e-06 3.50546761563e-05 -1.12665675712e-06 3.67711430656e-05 1.75547790551e-06 3.8389151896e-05 5.08199443787e-06 3.95267744753e-05 8.79613641641e-06 3.98414655147e-05 1.28224973694e-05 3.89749835793e-05 1.69876919809e-05 3.67150953394e-05 2.06785644125e-05 3.40764606654e-05 2.18023603419e-05 3.24235185324e-05 1.96507335062e-05 3.29992133769e-05 1.46454975662e-05 3.73886047564e-05 6.97695840105e-06 4.54144277498e-05 -1.1043322267e-06 5.52476754708e-05 -6.6152957064e-06 6.49094077102e-05 -8.22792828512e-06 7.38446311663e-05 -5.80865967379e-06 8.19868426625e-05 1.32720958323e-06 8.83765929988e-05 1.42294017024e-05 9.10540157001e-05 3.35156260268e-05 8.2345240535e-05 5.81323951667e-05 4.89029004144e-05 6.19844309948e-05 1.67235406618e-05 4.05259187948e-05 8.08676978171e-06 1.17841748995e-05 6.60536604565e-06 5.64736726356e-06 6.36241290514e-06 5.04642611475e-06 5.68155400646e-06 6.72411258934e-06 4.61093875327e-06 8.10729001595e-06 4.01737347196e-06 8.12925260142e-06 3.15658980202e-06 9.12985021725e-06 2.22257170713e-06 9.83136002158e-06 1.19500306789e-06 1.04267254533e-05 1.09018285651e-05 -1.98513850348e-07 1.96374385287e-06 -3.43321304288e-07 2.05215372825e-06 -1.61246759798e-07 1.02107364352e-06 -2.81949338309e-07 1.05713773904e-06 -4.4161015883e-07 1.20067564937e-06 -7.10355300835e-07 2.10242706114e-06 -6.58005084295e-07 1.87287773802e-06 -8.32886424951e-07 1.03302218213e-06 -7.19663586123e-07 1.19751445847e-06 -7.35278062561e-07 5.64223187861e-07 -8.00553475721e-07 6.16058727601e-07 -8.7478051775e-07 6.65073292084e-07 -9.970261879e-07 8.41442572655e-07 -1.06298612136e-06 1.34551285677e-06 -1.07054725327e-06 5.81678408101e-07 -1.16253332637e-06 6.57780321603e-07 -1.30175142057e-06 1.0167809176e-06 -1.37099221682e-06 1.31242782725e-06 -1.3698261615e-06 1.27228761135e-06 -1.37721628282e-06 1.06649518867e-06 -1.39347244303e-06 8.99540297538e-07 -1.30637285728e-06 7.67440909207e-07 -1.33753498735e-06 3.81484888004e-07 -1.31470374501e-06 3.0859038864e-07 -1.32830767001e-06 5.20676572841e-08 -1.37918195583e-06 -6.12031429738e-08 -1.36660629418e-06 -1.30021179439e-08 -1.65216971706e-06 2.46638804301e-08 -2.01328148062e-06 -2.31902811311e-08 -2.37382250783e-06 2.1389024436e-07 2.73969169836e-06 -7.69969339026e-06 8.0181192534e-06 -1.7922104021e-05 1.33421401487e-05 -2.6592379641e-05 1.86585683111e-05 -3.37427854783e-05 2.38297586208e-05 -3.9208779837e-05 2.85209516238e-05 -4.25548419822e-05 3.22627006052e-05 -4.33292992184e-05 3.47162883061e-05 -4.16746293086e-05 3.57595452149e-05 -3.81254075799e-05 3.54749529816e-05 -3.34006084532e-05 3.4098811994e-05 -2.8199401975e-05 3.19261170325e-05 -2.3055040395e-05 2.92994306481e-05 -1.840278633e-05 2.67045751321e-05 -1.46834140943e-05 2.43603949506e-05 -1.1538511508e-05 2.24038729623e-05 -8.88987520997e-06 2.1140952056e-05 -6.92839827177e-06 2.03793354621e-05 -4.89416581817e-06 2.09629197991e-05 -4.03149528364e-06 2.27836926261e-05 -2.93928126468e-06 2.56362209372e-05 -1.08557007495e-06 2.91964676918e-05 1.52768906869e-06 3.24404381576e-05 5.56541842304e-06 3.46259284221e-05 1.06459585436e-05 3.49902330785e-05 1.66314656943e-05 3.21734453537e-05 2.34998554817e-05 2.87759864305e-05 2.52009334521e-05 2.84309405086e-05 1.99959092511e-05 3.51349167147e-05 7.9433252839e-06 4.83438637947e-05 -6.23141051868e-06 6.4070878717e-05 -1.68334390215e-05 7.92571206829e-05 -2.18078138208e-05 9.24864327107e-05 -2.14661095862e-05 0.000103296644533 -1.66299034008e-05 0.000112510917051 -7.9011243739e-06 0.000121187921036 5.53396708921e-06 0.000130073767899 2.46131574716e-05 0.000138952395331 4.92422986057e-05 0.000133469600185 6.7465862594e-05 9.39775139331e-05 8.00234334345e-05 4.19649164204e-05 6.3799616933e-05 1.08848429505e-05 3.67264667169e-05 6.60280023238e-06 9.33157729508e-06 6.09162052664e-06 7.24375142861e-06 4.78791679811e-06 9.41433734998e-06 4.67647478887e-06 8.23831244204e-06 3.59442846872e-06 1.0210910541e-05 2.68690771966e-06 1.07261835911e-05 1.54772408748e-06 1.15861752866e-05 1.24389486472e-05 -1.62120895067e-07 2.12796133249e-06 -2.70490511178e-07 2.16305980561e-06 -1.8094296261e-07 9.32322994194e-07 -2.67033138314e-07 1.14477125397e-06 -4.9896825517e-07 1.43402607197e-06 -7.02510300538e-07 2.30800503448e-06 -6.06766585833e-07 1.77835726975e-06 -7.5403465635e-07 1.18106696995e-06 -6.06798105312e-07 1.05073270412e-06 -7.26836353319e-07 6.84645765015e-07 -8.27287436067e-07 7.17133626291e-07 -9.28027600357e-07 7.66975454881e-07 -1.11541729192e-06 1.02958720306e-06 -1.13976278294e-06 1.37146039806e-06 -1.15934282201e-06 6.02279779648e-07 -1.26310347135e-06 7.62934337006e-07 -1.4034893933e-06 1.15961707562e-06 -1.43484099297e-06 1.34613317709e-06 -1.43334110363e-06 1.27410713268e-06 -1.43180928662e-06 1.06899225347e-06 -1.40935298395e-06 8.80172292477e-07 -1.36949609236e-06 7.30493208629e-07 -1.45401148133e-06 4.6855814774e-07 -1.47062027358e-06 3.26752331588e-07 -1.65176210421e-06 2.34105388728e-07 -1.63080070632e-06 -8.19804899605e-08 -1.39341296349e-06 -2.4830761294e-07 -1.22437305924e-06 -1.42552127292e-07 -1.03619930399e-06 -2.1063205683e-07 -3.67778771987e-07 -4.51489851994e-07 4.79700028411e-06 -1.28519400434e-05 9.92074242587e-06 -2.30378229876e-05 1.51992890066e-05 -3.18646093609e-05 2.05063517558e-05 -3.90443279194e-05 2.55632084079e-05 -4.42614786094e-05 2.98551273977e-05 -4.68421717108e-05 3.27581952459e-05 -4.62285621864e-05 3.39283648505e-05 -4.28412163389e-05 3.33174192343e-05 -3.75118364006e-05 3.1141107417e-05 -3.12252376862e-05 2.77862418675e-05 -2.48505610497e-05 2.36262425065e-05 -1.89086172122e-05 1.90920877129e-05 -1.38905143793e-05 1.5086412709e-05 -1.06855722286e-05 1.14918850179e-05 -7.96654733228e-06 8.46778638047e-06 -5.87516985437e-06 6.31643406841e-06 -4.79233095754e-06 5.52725633849e-06 -4.09391060748e-06 6.7641590143e-06 -5.2589226819e-06 9.07912808223e-06 -5.23929835833e-06 1.26217260252e-05 -4.61737455268e-06 1.78860450597e-05 -3.7207845137e-06 2.38612316739e-05 -3.95116358714e-07 2.89405933217e-05 5.57524642226e-06 3.2155686426e-05 1.3421219843e-05 2.75135309978e-05 2.81393311296e-05 2.32064143853e-05 2.95065269365e-05 3.08889192614e-05 1.23146309337e-05 4.93332169495e-05 -1.04990343512e-05 7.10955533146e-05 -2.79946417571e-05 9.1532092497e-05 -3.72746823293e-05 0.000109270810328 -3.95545469121e-05 0.000124237840523 -3.6444144529e-05 0.00013673390174 -2.91388813215e-05 0.000147242937134 -1.84262656108e-05 0.000157040302421 -4.28187473554e-06 0.000167738789673 1.38953704744e-05 0.000180277991783 3.66874712941e-05 0.000189082696223 5.86508351542e-05 0.000192262811755 7.68349798241e-05 0.000173175653569 8.28762857226e-05 0.000118371492136 9.15275595151e-05 5.31122397953e-05 7.45957672541e-05 1.36265527862e-05 4.67294677386e-05 3.26361751435e-06 1.97757419049e-05 5.39826446855e-06 6.10279600786e-06 4.31601785113e-06 1.12911542517e-05 3.4718238496e-06 1.15825866382e-05 2.16165168807e-06 1.2877541258e-05 1.4614119423e-05 -1.31077094717e-07 2.2609917977e-06 -2.418170736e-07 2.27432174055e-06 -1.62486600056e-07 8.54018369885e-07 -2.7235607005e-07 1.25574612997e-06 -5.5840141929e-07 1.72222177159e-06 -6.79131870281e-07 2.43022522201e-06 -5.51740011377e-07 1.65249659207e-06 -7.56499300076e-07 1.38636000426e-06 -7.17186850966e-07 1.01183243002e-06 -7.82168888673e-07 7.50072369599e-07 -8.76629287017e-07 8.1213928663e-07 -9.99004545136e-07 8.90294289014e-07 -1.26812959725e-06 1.29982992349e-06 -1.17811682681e-06 1.28239493881e-06 -1.21536233293e-06 6.4038803903e-07 -1.35103910355e-06 9.0032575454e-07 -1.51349552863e-06 1.32347200899e-06 -1.50600214464e-06 1.3416442919e-06 -1.50814355347e-06 1.27887483275e-06 -1.51143036051e-06 1.07477625853e-06 -1.49005976363e-06 8.62945730802e-07 -1.48208418698e-06 7.26431753421e-07 -1.52135739078e-06 5.09941265597e-07 -1.48678149254e-06 2.93392970507e-07 -1.43792827822e-06 1.85564142971e-07 -1.43994896727e-06 -7.85565186127e-08 -1.4401825033e-06 -2.45241133941e-07 -1.38774853204e-06 -1.95251343531e-07 -1.38873274123e-06 -2.03600437654e-07 1.6640520749e-06 -3.48929762191e-06 6.30884835088e-06 -1.74815268565e-05 1.14011924426e-05 -2.81220641747e-05 1.66541097198e-05 -3.71118735087e-05 2.18810755021e-05 -4.42671709672e-05 2.6674188406e-05 -4.90505297503e-05 3.02947788056e-05 -5.04595519903e-05 3.19624645701e-05 -4.78932329373e-05 3.13927465465e-05 -4.22684839837e-05 2.87056531688e-05 -3.48278915763e-05 2.43034545664e-05 -2.68310777059e-05 1.87837976235e-05 -1.93419473375e-05 1.26153200086e-05 -1.27473623606e-05 6.30584690486e-06 -7.5768472267e-06 1.40718708634e-06 -5.77456926474e-06 -2.45123304976e-06 -4.09735904926e-06 -4.21263394116e-06 -4.12155030877e-06 -3.68877125158e-06 -5.31730128879e-06 -2.85307373081e-06 -4.9289066087e-06 -1.10603262074e-06 -6.99973709362e-06 6.92158239317e-07 -7.0284886041e-06 2.54481864036e-06 -6.47123140373e-06 4.63804378087e-06 -5.80822167657e-06 6.91479564297e-06 -2.67151612027e-06 1.0492622108e-05 1.99313486042e-06 1.54442037827e-05 8.45346224868e-06 1.18283384788e-05 3.17352122114e-05 2.1156928309e-05 2.01647528755e-05 4.6967546883e-05 -1.35012670491e-05 7.58312168602e-05 -3.93675119849e-05 0.000101388573356 -5.35583423759e-05 0.00012286313685 -5.87576567758e-05 0.000140839924962 -5.75422328993e-05 0.000156048382728 -5.16656149625e-05 0.000169131204358 -4.22366979754e-05 0.00018060730002 -2.99182669004e-05 0.000191411172472 -1.51021866823e-05 0.000202729345955 2.56084718301e-06 0.000216091850146 2.33102274395e-05 0.000229818889421 4.4910821071e-05 0.000241032823195 6.56088798814e-05 0.000242274488586 8.16253748297e-05 0.000238780844792 9.50157215291e-05 0.000214293887709 9.90769227644e-05 0.000160049398576 0.000100970494007 8.32090519451e-05 9.66127473824e-05 2.34286740295e-05 6.58775869592e-05 5.08313050169e-06 2.96364797681e-05 4.68882820051e-06 1.19697413442e-05 3.59891611317e-06 1.39938654159e-05 1.8207928221e-05 -9.40788382807e-08 2.3566556341e-06 -1.73020661781e-07 2.35578412243e-06 -1.44482150454e-07 8.26191096003e-07 -3.33650916511e-07 1.44661834498e-06 -6.02718327534e-07 1.99257687398e-06 -6.68416361042e-07 2.49832189642e-06 -5.57204596436e-07 1.54195888636e-06 -8.17896049184e-07 1.64826796957e-06 -7.85687055536e-07 9.80078298729e-07 -8.30157646666e-07 7.94871864831e-07 -9.12137527048e-07 8.94997621357e-07 -1.02395144427e-06 1.00257357219e-06 -1.23728088429e-06 1.51427858913e-06 -1.0847184959e-06 1.13062373825e-06 -1.22462653954e-06 7.81338678856e-07 -1.40475280664e-06 1.08141716099e-06 -1.59745400229e-06 1.51865542795e-06 -1.54235543053e-06 1.28759868656e-06 -1.57271380979e-06 1.31174759296e-06 -1.59148723765e-06 1.09689575704e-06 -1.56534558013e-06 8.38609564948e-07 -1.57732685172e-06 7.4170152034e-07 -1.60060217036e-06 5.36854642012e-07 -1.57965806027e-06 2.73918421836e-07 -1.61183994786e-06 2.19032418105e-07 -1.9042364994e-06 2.14882291668e-07 -2.17319201106e-06 2.25361072664e-08 -2.29104969996e-06 -7.06042399973e-08 -2.66723575504e-06 1.82494881208e-07 2.72328351608e-06 -8.83877601628e-06 7.45069030418e-06 -2.21975561738e-05 1.24919355742e-05 -3.31573686221e-05 1.76579589221e-05 -4.22736202493e-05 2.27013843518e-05 -4.93069876786e-05 2.704148733e-05 -5.33882864715e-05 2.96615554948e-05 -5.30773455655e-05 2.96222557685e-05 -4.78511263117e-05 2.68638373173e-05 -3.95133478875e-05 2.17881738066e-05 -2.97593345144e-05 1.49999238217e-05 -2.00470244064e-05 7.54405328154e-06 -1.18930134926e-05 2.48344563242e-07 -5.45370334266e-06 -5.00458818141e-06 -2.28724940615e-06 -4.58556670797e-06 -6.15101802476e-06 -1.97963934572e-06 -6.69144609654e-06 -7.69359461673e-07 -5.32987324093e-06 -8.59352057423e-07 -5.2277929256e-06 2.04459981194e-08 -5.8090471692e-06 3.34758936478e-07 -7.31391116158e-06 6.69968386104e-07 -7.36790134764e-06 5.18714731794e-07 -6.32017085127e-06 -4.53897528978e-07 -4.8378888807e-06 -9.98038920531e-07 -2.13216552625e-06 7.5584306002e-07 2.27395744885e-07 4.92626807248e-06 4.26792060747e-06 1.55436084916e-05 2.10987125024e-05 4.5265593973e-05 -9.57247116736e-06 8.02938731999e-05 -4.85378465699e-05 0.000110167567535 -6.92492935911e-05 0.000134535311415 -7.79349818774e-05 0.000154568080577 -7.88005397722e-05 0.000171411908943 -7.43975909702e-05 0.000185992738243 -6.62594272157e-05 0.0001990317453 -5.52896527771e-05 0.000211097411083 -4.19983770538e-05 0.000222647174847 -2.66667406147e-05 0.000234660207553 -9.46614555479e-06 0.000248185611885 9.77298100657e-06 0.000262782397193 3.03032172444e-05 0.000277205388453 5.11759377405e-05 0.000288424423858 7.0397400497e-05 0.000295107808552 8.83252243195e-05 0.000291011654095 0.00010316790435 0.000276843556672 0.000115131916154 0.000249395390965 0.000124047699886 0.000182805260018 0.000132458155158 8.93943436168e-05 0.000123047176199 2.06827297168e-05 8.06943345638e-05 6.39877811592e-06 2.82603231887e-05 2.461430423e-05 -6.12177744188e-08 2.41970272225e-06 -1.09545063789e-07 2.40459628211e-06 -1.43648694825e-07 8.61410218935e-07 -4.44268005938e-07 1.74847187101e-06 -6.11988830939e-07 2.16278344568e-06 -6.56002520597e-07 2.5434020249e-06 -6.22292172629e-07 1.50978743066e-06 -8.2944858479e-07 1.85625734818e-06 -8.17072801775e-07 9.68132753863e-07 -8.59137649452e-07 8.37508996982e-07 -9.34933219018e-07 9.71079893648e-07 -1.02786816601e-06 1.09682818326e-06 -1.17642523818e-06 1.66331098868e-06 -1.11648012182e-06 1.07124917311e-06 -1.2666142342e-06 9.3225717588e-07 -1.44225519082e-06 1.25879288467e-06 -1.56023217401e-06 1.63698333211e-06 -1.51574926262e-06 1.24520711606e-06 -1.62004129147e-06 1.41755429479e-06 -1.66633438316e-06 1.14342722904e-06 -1.62848061431e-06 8.04625640853e-07 -1.66166034255e-06 7.78424991057e-07 -1.65955417569e-06 5.3747526658e-07 -1.61501371076e-06 2.31894049087e-07 -1.56336142753e-06 1.68656205161e-07 -1.46066685577e-06 1.11820500062e-07 -1.38327506091e-06 -5.34238549367e-08 -1.22519816163e-06 -2.27725143249e-07 -1.06121989927e-06 3.31028722068e-08 3.8539556432e-06 -1.37449835591e-05 8.43187257184e-06 -2.67700643023e-05 1.32305791688e-05 -3.79519052284e-05 1.81718393251e-05 -4.72115508324e-05 2.28834202342e-05 -5.40166654007e-05 2.6545574944e-05 -5.70479563482e-05 2.77892772923e-05 -5.4318196568e-05 2.55449573838e-05 -4.56083305414e-05 2.02511983198e-05 -3.4221935985e-05 1.26760650843e-05 -2.2179540143e-05 3.66390137409e-06 -1.10381641655e-05 -4.01543840329e-06 -4.21791550984e-06 -4.54941187212e-06 -4.89696868997e-06 -2.80594401571e-06 -4.02203200567e-06 -3.55094169286e-06 -5.39578519248e-06 -3.48835042391e-06 -6.74814508899e-06 -2.04812053295e-06 -6.7682127338e-06 -1.10395360051e-06 -6.17110742259e-06 6.78273968693e-07 -7.59035067251e-06 1.38933661873e-06 -8.02545456547e-06 1.5410894727e-06 -7.51756096019e-06 1.17260357113e-06 -5.95165669681e-06 5.73332169122e-07 -4.23746906147e-06 8.21026841411e-07 -2.37970520516e-06 2.49971327245e-06 -1.45397424877e-06 6.52044480145e-06 2.43850041549e-07 3.834326806e-05 -1.07277600663e-05 8.206569775e-05 -5.32996067765e-05 0.000117501089817 -8.39790693384e-05 0.00014491253294 -9.66677575241e-05 0.000166495206401 -9.95258846937e-05 0.000184132995208 -9.64476668821e-05 0.000199211069964 -8.94861740977e-05 0.000212709179765 -7.97691592108e-05 0.000225324693404 -6.79177288368e-05 0.000237581233835 -5.4268123778e-05 0.000249907222988 -3.90058245879e-05 0.000262706220218 -2.22771102402e-05 0.000276514191189 -4.04545748515e-06 0.000291444733041 1.53637320244e-05 0.000307031704748 3.55808590198e-05 0.000321630017088 5.57922117704e-05 0.00033389614189 7.6052729846e-05 0.000341490802246 9.55663264513e-05 0.000342223770374 0.000114388445661 0.000333198414391 0.000133062397086 0.000313500176038 0.000152146312546 0.000270874730843 0.000165662451339 0.000170888242623 0.00018064538644 6.40293533874e-05 0.00013513014878 8.86302346099e-05 -4.01024009095e-08 2.46110260186e-06 -8.63559774069e-08 2.45329649704e-06 -1.74878063363e-07 9.50686687247e-07 -5.16087077865e-07 2.09192510827e-06 -5.49039381268e-07 2.19686950882e-06 -5.82415561639e-07 2.57887598245e-06 -7.11974298405e-07 1.64024451712e-06 -7.92738136937e-07 1.93816685341e-06 -8.21155270978e-07 9.97190259595e-07 -8.7724670521e-07 8.93929746906e-07 -9.5873740748e-07 1.05349875374e-06 -1.05503779706e-06 1.19313465475e-06 -1.20750200064e-06 1.8168801992e-06 -1.24692648058e-06 1.11138246e-06 -1.36430919886e-06 1.05057806876e-06 -1.52788485421e-06 1.42288917194e-06 -1.61106605385e-06 1.72216068408e-06 -1.60939905078e-06 1.24361322895e-06 -1.69485756026e-06 1.50390672807e-06 -1.74381815772e-06 1.19517658387e-06 -1.72560313784e-06 7.86376736092e-07 -1.76365398375e-06 8.19185879404e-07 -1.71768709345e-06 4.95867378312e-07 -1.68149033957e-06 1.98492749853e-07 -1.63582501412e-06 1.24480248792e-07 -1.56371055023e-06 4.02766108224e-08 -1.49535024186e-06 -1.19001951481e-07 -1.27290675709e-06 -4.48624273786e-07 2.25901930095e-07 -1.46101617565e-06 4.69601127865e-06 -1.82053109406e-05 8.97980210533e-06 -3.10494063275e-05 1.34875010844e-05 -4.24565382555e-05 1.81026338107e-05 -5.18245757248e-05 2.2327073041e-05 -5.82388304666e-05 2.50671033089e-05 -5.97862686153e-05 2.45097842699e-05 -5.37609497475e-05 1.96696664767e-05 -4.07674814689e-05 1.17136706593e-05 -2.62603031351e-05 2.12426711705e-06 -1.25869287003e-05 -4.34800043587e-06 -4.55689064185e-06 -5.00359722009e-06 -3.55007269682e-06 -5.25999096931e-06 -4.6347059059e-06 -5.28925263771e-06 -3.98366805545e-06 -5.08278905906e-06 -5.59581244819e-06 -4.64175636105e-06 -7.1839396399e-06 -3.3906308332e-06 -8.01501784198e-06 -1.83726443398e-06 -7.72148711817e-06 -6.10447510222e-07 -8.81338901369e-06 4.14238097741e-07 -9.04647075211e-06 9.94985140491e-07 -8.09732043167e-06 1.29225782635e-06 -6.24635263754e-06 1.86776272933e-06 -4.81052876284e-06 2.25863449896e-06 -2.77087015212e-06 8.13237967524e-06 -7.32787033915e-06 2.59058386185e-05 -1.75288401035e-05 7.4662993283e-05 -5.94850119114e-05 0.000123362518873 -0.000102001594203 0.000155566845893 -0.000116187554371 0.000178297900971 -0.000119404613542 0.000195718741539 -0.000116953776506 0.000210209518483 -0.000110946625257 0.000223157549974 -0.000102443261664 0.000235399556212 -9.2021036061e-05 0.000247468127614 -7.99968744783e-05 0.000259732476094 -6.65436038144e-05 0.000272475327461 -5.17599811324e-05 0.000285906936833 -3.57197760796e-05 0.000300351527508 -1.84998451832e-05 0.000315841171684 -1.34213352697e-07 0.000332208296431 1.92068956961e-05 0.000348691486455 3.93028510433e-05 0.000364532009649 6.02068629274e-05 0.000378296410028 8.17953317503e-05 0.000388303417529 0.000104373500218 0.000392908683737 0.000128446407685 0.000389896624557 0.000155146197364 0.000371149923509 0.000184391189861 0.000329834217421 0.000221947874164 0.000225391198121 0.000239532546144 0.00031401100179 -1.89741149348e-08 2.48164937845e-06 -1.01185796622e-07 2.5359936748e-06 -2.56601625612e-07 1.10748611741e-06 -5.17986470005e-07 2.35452792701e-06 -4.41927057474e-07 2.12284293998e-06 -4.87697241757e-07 2.62607437121e-06 -7.99384202916e-07 1.95320305002e-06 -7.13260152624e-07 1.85329600214e-06 -8.12007653609e-07 1.09635538245e-06 -8.93380588177e-07 9.75913725181e-07 -9.86030090145e-07 1.14624606398e-06 -1.09263717687e-06 1.30098443002e-06 -1.24664599055e-06 1.97124500733e-06 -1.31959214991e-06 1.18493191232e-06 -1.44558856766e-06 1.17739832287e-06 -1.61221839545e-06 1.59078352445e-06 -1.65166636221e-06 1.76143853277e-06 -1.64398827126e-06 1.23754198702e-06 -1.7477640688e-06 1.6085799403e-06 -1.78829064731e-06 1.23433504779e-06 -1.79011361882e-06 7.90348547945e-07 -1.78542373821e-06 8.18166317756e-07 -1.74149073799e-06 4.54268153708e-07 -1.75602782182e-06 2.16189957853e-07 -1.75026771451e-06 1.2185472364e-07 -1.74710763291e-06 3.96941723852e-08 -1.79654472332e-06 -7.17568443984e-08 -1.91225528978e-06 -3.25486169926e-07 1.87757416985e-06 -5.24262249627e-06 5.2269005321e-06 -2.15465553184e-05 9.06461276578e-06 -3.48830573602e-05 1.31839234317e-05 -4.65730433208e-05 1.73593891023e-05 -5.59979701725e-05 2.09335637879e-05 -6.18119068653e-05 2.25164500817e-05 -6.13676713588e-05 1.98268452891e-05 -5.10686951687e-05 1.21894221094e-05 -3.31273950375e-05 1.8667194577e-06 -1.59343303233e-05 -5.24344149798e-06 -5.46624373985e-06 -6.63807442752e-06 -3.15225307093e-06 -6.88292276305e-06 -3.29701594776e-06 -7.91979995098e-06 -3.58614109751e-06 -6.65036852425e-06 -5.24716197717e-06 -6.03099946152e-06 -6.20933446864e-06 -5.04362483391e-06 -8.1648573058e-06 -4.3445726719e-06 -8.70810026582e-06 -3.4767404174e-06 -8.58096950397e-06 -2.89496213964e-06 -9.38821575336e-06 -8.74947671488e-07 -1.10629620492e-05 8.15932858072e-07 -9.78365634471e-06 2.57123154643e-06 -7.99774022783e-06 4.99897367515e-06 -7.23503049339e-06 9.23025620759e-06 -6.99821591386e-06 3.68340040338e-05 -3.49280141427e-05 9.26270104594e-05 -7.33191843993e-05 0.000147445156186 -0.000114300495623 0.00017527147519 -0.000129827250056 0.000193670838214 -0.000134588662745 0.000207864223384 -0.000133601497845 0.000220035929875 -0.000129130412886 0.000231348806002 -0.000122265462918 0.000242469008404 -0.000113570318556 0.000253793071504 -0.00010335261335 0.000265573031336 -9.17850535106e-05 0.000277987994892 -7.8967437936e-05 0.000291182236298 -6.49636813407e-05 0.000305278787921 -4.98257597261e-05 0.000320377266337 -3.36072776109e-05 0.000336584121716 -1.63488666551e-05 0.000353817141243 1.96724867994e-06 0.000371774536323 2.13402290804e-05 0.000390083372566 4.18934069327e-05 0.00040805863004 6.38153969308e-05 0.000424903758144 8.75226901404e-05 0.000439734187679 0.00011360920628 0.000451673657648 0.000143197450272 0.000459283882651 0.000176761021371 0.000463426028104 0.00021777213605 0.000449096344462 0.000253838609911 0.000280567233032 4.91772523592e-09 2.47786254934e-06 -1.43313791091e-07 2.68632363509e-06 -3.79476826472e-07 1.34439141959e-06 -4.31737094305e-07 2.40866268994e-06 -3.34602854823e-07 2.02675011248e-06 -4.14203699828e-07 2.7070830372e-06 -7.72322602593e-07 2.3128326106e-06 -6.16434800963e-07 1.69801083406e-06 -8.13669127859e-07 1.29444901664e-06 -9.17035646327e-07 1.07966311709e-06 -1.01338032397e-06 1.24345385711e-06 -1.12824408862e-06 1.41571501435e-06 -1.26574046809e-06 2.10981933575e-06 -1.35597701833e-06 1.27601019245e-06 -1.49593822013e-06 1.31801229633e-06 -1.67596958776e-06 1.77136003709e-06 -1.63837631104e-06 1.72532180088e-06 -1.63119733132e-06 1.22993202716e-06 -1.76024542633e-06 1.73771327295e-06 -1.76998091685e-06 1.2456352643e-06 -1.77768453459e-06 7.98160515392e-07 -1.74161308401e-06 7.81796211491e-07 -1.76664452286e-06 4.8286667267e-07 -1.83223771819e-06 2.85715631893e-07 -1.87246923126e-06 1.64501577788e-07 -1.91287327902e-06 8.02058833373e-08 -2.00532118325e-06 2.75743610293e-08 -2.21356069402e-06 -1.18800001659e-07 2.37578220174e-06 -9.79776884676e-06 5.23495950037e-06 -2.43985460775e-05 8.59581835438e-06 -3.82407471423e-05 1.22351941979e-05 -5.02101756496e-05 1.5856308764e-05 -5.9617416412e-05 1.86339020212e-05 -6.45879548274e-05 1.88825806243e-05 -6.16134903863e-05 1.39430198905e-05 -4.61263933211e-05 3.96142385375e-06 -2.31385167526e-05 -5.24984321555e-06 -6.71750502527e-06 -8.81576755536e-06 -1.8935656077e-06 -9.77057750736e-06 -2.18960298127e-06 -8.72158649901e-06 -4.33327992458e-06 -7.18468141063e-06 -5.11784961984e-06 -6.64974772528e-06 -5.77812456494e-06 -6.03299572167e-06 -6.82112787636e-06 -5.24199829402e-06 -8.94742122215e-06 -4.84783198471e-06 -9.09294284645e-06 -5.20386769748e-06 -8.21726223094e-06 -4.9576536695e-06 -9.62970158247e-06 -8.58572794896e-07 -1.51560929178e-05 3.18269148034e-06 -1.3819697154e-05 9.98964718939e-06 -1.4797493148e-05 2.79758017789e-05 -2.52127181384e-05 7.69081213711e-05 -5.59235835731e-05 0.000137819628615 -9.58320373617e-05 0.000179611690554 -0.000115105499577 0.000197581467182 -0.000132266333184 0.000209173312834 -0.000141417557254 0.000218755590159 -0.000144171404713 0.000227868916777 -0.000142716929099 0.000237151757688 -0.000138416543439 0.00024690908713 -0.000132027109075 0.000257305140086 -0.000123971419786 0.00026844044374 -0.000114493608875 0.000280389075645 -0.000103739897926 0.000293217239114 -9.18024912981e-05 0.000306990999021 -7.87449504578e-05 0.000321775264424 -6.46180686128e-05 0.000337627678848 -4.94676811416e-05 0.000354601855089 -3.3330652042e-05 0.000372734027416 -1.61714951256e-05 0.000391980457624 2.08829416246e-06 0.000412223976268 2.16455249122e-05 0.000433323900539 4.27116586125e-05 0.000455182831488 6.56601077527e-05 0.000477792280322 9.09960205241e-05 0.000501571782155 0.000119409934967 0.000527219297646 0.000151095468737 0.000557766093088 0.000187197671815 0.000590002470413 0.000221577710473 0.000246239039193 1.99362649889e-08 2.45899207281e-06 -1.63222904863e-07 2.86999606779e-06 -4.32808058896e-07 1.61510249981e-06 -2.97112637586e-07 2.27368849188e-06 -3.00572521632e-07 2.03124440511e-06 -3.42760385588e-07 2.75078033957e-06 -6.41042752049e-07 2.61170347272e-06 -5.44028730256e-07 1.60205980815e-06 -8.35449926762e-07 1.58638790202e-06 -9.44374333354e-07 1.1892165692e-06 -1.0359393811e-06 1.33513999986e-06 -1.15229678958e-06 1.53310794095e-06 -1.2594608118e-06 2.21739116768e-06 -1.3585440586e-06 1.37558603151e-06 -1.49849887031e-06 1.4590309293e-06 -1.65745303773e-06 1.93104520766e-06 -1.54292199793e-06 1.61028806012e-06 -1.58110014238e-06 1.26907552888e-06 -1.72876911484e-06 1.88552481725e-06 -1.6925113861e-06 1.20827755586e-06 -1.71042600206e-06 8.1524717361e-07 -1.69307524652e-06 7.65794338245e-07 -1.82240352004e-06 6.14226992947e-07 -1.91644748027e-06 3.82674306062e-07 -1.98877345317e-06 2.4117435002e-07 -2.02530370445e-06 1.2144567537e-07 -2.04908991306e-06 4.56689910447e-08 -1.88910025962e-06 -2.60811819366e-07 1.68754781497e-06 -1.33789392464e-05 4.56362825272e-06 -2.72729041749e-05 7.46378549574e-06 -4.11385429202e-05 1.05465294731e-05 -5.32907887565e-05 1.35068234637e-05 -6.25776002933e-05 1.53957522216e-05 -6.64754496848e-05 1.4359274564e-05 -6.05732929391e-05 7.51139179749e-06 -3.92710887513e-05 -2.92464029474e-06 -1.27033159998e-05 -8.26641109058e-06 -1.36920751271e-06 -8.44739374888e-06 -1.709984202e-06 -7.72657189953e-06 -2.90368260719e-06 -7.25041076874e-06 -4.80502772643e-06 -6.75621383005e-06 -5.60949213805e-06 -6.21011058981e-06 -6.32003462097e-06 -5.40819964399e-06 -7.61363987738e-06 -5.19469534604e-06 -9.15222866682e-06 -5.9189723342e-06 -8.36147427091e-06 -6.93888893816e-06 -7.19209412649e-06 -6.82978888256e-06 -9.73295314771e-06 5.91529294248e-06 -2.78926616367e-05 2.44472867435e-05 -3.23425581166e-05 6.07813700301e-05 -5.1120922091e-05 0.000112098510201 -7.6520534598e-05 0.00015859388598 -0.000102411842729 0.000183814582541 -0.000121048014135 0.000202825378344 -0.000134112839665 0.000214708636408 -0.000144147448269 0.000223460898632 -0.00015016913867 0.000231475071311 -0.000152186238172 0.000239749921439 -0.000150993442921 0.000248671938477 -0.000147341062195 0.000258392777476 -0.000141751086483 0.000268977525145 -0.000134559888379 0.000280462972415 -0.000125983206459 0.000292881465003 -0.000116163023374 0.000306270794924 -0.000105196967186 0.000320676565501 -9.31565629761e-05 0.000336149826593 -8.00977171454e-05 0.000352740976332 -6.6065665973e-05 0.000370496929652 -5.10934018544e-05 0.000389503999419 -3.51851428687e-05 0.000409832445756 -1.82459213782e-05 0.000431636162586 -1.63099249924e-07 0.000454984774092 1.93592475232e-05 0.000480169953463 4.04722809093e-05 0.000507641766585 6.35218571354e-05 0.000538220968087 8.88257277386e-05 0.000572931234852 0.000116370050288 0.000613984928547 0.000146121603383 0.00066056087 0.000174985112154 0.000196571930623 -2.48277724138e-08 2.48482664577e-06 -1.41987778597e-07 2.98878740153e-06 -3.52187211437e-07 1.82591213258e-06 -2.89696416497e-07 2.21222354263e-06 -3.97118913719e-07 2.13951012049e-06 -3.73578053541e-07 2.72772027577e-06 -6.12859147005e-07 2.85235288944e-06 -6.43537135858e-07 1.63311419357e-06 -9.01133525049e-07 1.84494021914e-06 -9.70816457934e-07 1.25936695714e-06 -1.04931303396e-06 1.41433234344e-06 -1.16358579149e-06 1.64727900408e-06 -1.23518461043e-06 2.28975794881e-06 -1.33726956571e-06 1.47860493665e-06 -1.45885812217e-06 1.58104629648e-06 -1.51661522807e-06 1.98929744905e-06 -1.43759312002e-06 1.53211623837e-06 -1.5699918769e-06 1.40066865253e-06 -1.71217960939e-06 2.0274628509e-06 -1.65531568314e-06 1.15095496021e-06 -1.74291819568e-06 9.0226588223e-07 -2.02945776249e-06 1.05096640083e-06 -2.13440224484e-06 7.2126172254e-07 -2.07784256989e-06 3.31089498219e-07 -2.16622241895e-06 3.32532079685e-07 -2.19738574244e-06 1.52788986131e-07 -2.1975160655e-06 5.58092538892e-08 -2.01336932124e-06 -4.563171954e-07 9.39477399112e-07 -1.63197305129e-05 3.27383935186e-06 -2.96046839274e-05 5.60034156609e-06 -4.34637362053e-05 8.01981650761e-06 -5.5711096146e-05 1.02065153106e-05 -6.47634844251e-05 1.11728785345e-05 -6.74394297398e-05 9.12517701658e-06 -5.85238484035e-05 1.00159020056e-06 -3.11463810799e-05 -8.97451850741e-06 -2.71678488009e-06 -1.02683673127e-05 -7.71007174576e-08 -8.52544923321e-06 -3.45038742393e-06 -7.37181825056e-06 -4.05556733622e-06 -6.86594068536e-06 -5.30995014347e-06 -6.49260380327e-06 -5.97952146435e-06 -5.79094245789e-06 -7.01414477786e-06 -5.12857055363e-06 -8.26820859822e-06 -5.19337409982e-06 -9.07862958673e-06 -5.46638911768e-06 -8.08243228545e-06 -2.99120237668e-06 -9.66210895734e-06 2.39601597174e-05 -3.66739339952e-05 6.06312631108e-05 -6.45487880587e-05 9.91401615098e-05 -7.08426184225e-05 0.000137154990495 -8.91287420205e-05 0.000166107693394 -0.000105468210291 0.000185729950557 -0.000122031165609 0.000200487617988 -0.000135803890801 0.000212685367011 -0.000146309417962 0.000222526178896 -0.00015398790152 0.00023106903814 -0.000158712450395 0.000239378363408 -0.000160496688037 0.000248074058142 -0.000159690778929 0.000257453032714 -0.000156722085201 0.000267649554306 -0.00015195006835 0.000278727987354 -0.000145641117779 0.000290727433264 -0.000137985805096 0.000303682450708 -0.000129121504963 0.000317632116848 -0.000119150546627 0.000332623583947 -0.000108152452013 0.000348712177348 -9.61913979327e-05 0.000365959832358 -8.33189301216e-05 0.000384433100182 -6.95727621755e-05 0.000404212923181 -5.49712052546e-05 0.000425463741817 -3.95028565512e-05 0.000448358876589 -2.30635451706e-05 0.000473257411299 -5.5435576496e-06 0.000500526168783 1.32006969067e-05 0.000530678446915 3.33679700771e-05 0.000564584444632 5.49161617451e-05 0.000603249033689 7.76958846861e-05 0.000648125118146 0.000101229007659 0.000699341831169 0.000123757614254 0.000141833700808 -1.18977876116e-07 2.60450493487e-06 -1.12676310653e-07 2.98304644956e-06 -2.48757478764e-07 1.96299890355e-06 -3.88640810708e-07 2.35271865429e-06 -4.95902135357e-07 2.24737872075e-06 -4.55955020311e-07 2.68892988109e-06 -6.1952244866e-07 3.0161375775e-06 -7.04973222596e-07 1.71938702319e-06 -8.33632082764e-07 1.97413784134e-06 -9.52489129136e-07 1.37870529091e-06 -1.0450511945e-06 1.50701137642e-06 -1.16258477424e-06 1.7655032025e-06 -1.20743427109e-06 2.33500483122e-06 -1.31752938478e-06 1.58903825546e-06 -1.43983510159e-06 1.70436038313e-06 -1.49039973359e-06 2.04053466968e-06 -1.55924579502e-06 1.60036068463e-06 -1.69541404204e-06 1.53727996257e-06 -1.76084981485e-06 2.09165634267e-06 -1.70277854337e-06 1.09222010436e-06 -2.08351881168e-06 1.28100540357e-06 -2.39555570345e-06 1.36290796353e-06 -2.65794787061e-06 9.86285819679e-07 -2.76094124596e-06 4.37917198903e-07 -2.49634724331e-06 7.36920602442e-08 -2.49751945752e-06 1.6153754729e-07 -2.51915871441e-06 7.04736583335e-08 -2.34794652584e-06 -6.14800992829e-07 -2.91547455675e-07 -1.83856107053e-05 1.35842029131e-06 -3.12567455162e-05 2.94650955412e-06 -4.50536740518e-05 4.56944846377e-06 -5.73340257277e-05 5.86776814501e-06 -6.60635335689e-05 5.95281559471e-06 -6.7526236201e-05 3.46964664169e-06 -5.60332847653e-05 -2.9071369171e-06 -2.47653047602e-05 -6.68124464907e-06 1.05190172727e-06 -7.03551151669e-06 2.76368084161e-07 -7.23980690428e-06 -3.24780930223e-06 -6.91243147262e-06 -4.38523464714e-06 -6.87675107618e-06 -5.34555349276e-06 -6.57105504056e-06 -6.28227176252e-06 -5.99694513247e-06 -7.58468096942e-06 -5.66979964003e-06 -8.58787632803e-06 -5.02240299328e-06 -9.72235567913e-06 9.69026020576e-07 -1.40705221259e-05 3.26643229212e-05 -4.13524309693e-05 7.27340486312e-05 -7.67383742604e-05 9.95548202011e-05 -9.13696099738e-05 0.000129954239886 -0.000101242200758 0.000154234989251 -0.000113409642533 0.000174843511391 -0.000126077206571 0.000191215391582 -0.000138404040113 0.00020465102482 -0.000149240852987 0.000216195481849 -0.000157855588216 0.000226355779327 -0.000164150140227 0.000235731383174 -0.000168090238493 0.000244948130865 -0.000169715685964 0.000254462605799 -0.000169207528728 0.000264551409194 -0.000166813176919 0.000275371199944 -0.000162772195604 0.000287013413842 -0.00015728578628 0.000299539195873 -0.000150514168073 0.000312999080217 -0.000142584193337 0.000327443697669 -0.0001335982386 0.000342929244439 -0.000123641509949 0.000359520509039 -0.000112786655484 0.000377292841741 -0.000101095861157 0.000396335067672 -8.86201445436e-05 0.000416754934346 -7.53966963432e-05 0.000438692930764 -6.14466098598e-05 0.000462399357174 -4.67755624919e-05 0.000488238796524 -3.13880307517e-05 0.000516552296072 -1.5116924952e-05 0.000548024192733 1.89316265037e-06 0.000583316448558 1.96202185865e-05 0.000623177946123 3.78262852234e-05 0.00066857433516 5.58220533251e-05 0.000719813907437 7.25101298253e-05 8.65214026255e-05 -1.4674469852e-07 2.75222623007e-06 -5.99612823198e-08 2.8975026368e-06 -1.15124834232e-07 2.01870826285e-06 -4.79414806501e-07 2.71806390727e-06 -5.31893996741e-07 2.30063647814e-06 -5.10235484562e-07 2.66751030851e-06 -6.1106036852e-07 3.11797301149e-06 -7.05373387989e-07 1.81398011615e-06 -7.99334338184e-07 2.06871604976e-06 -9.43806407383e-07 1.52358921565e-06 -1.03874120467e-06 1.60240634251e-06 -1.15773526553e-06 1.88445957181e-06 -1.1806730199e-06 2.35836401513e-06 -1.30057404797e-06 1.70965493665e-06 -1.43312697273e-06 1.83723161856e-06 -1.4952662688e-06 2.10283727923e-06 -1.65625740893e-06 1.76192060537e-06 -1.84213509154e-06 1.72167276406e-06 -1.99479646458e-06 2.24389497783e-06 -2.26718371479e-06 1.36316773024e-06 -2.77872191243e-06 1.79184264218e-06 -2.84505158202e-06 1.42834278116e-06 -2.94474467099e-06 1.0862640766e-06 -3.26081105107e-06 7.58044778775e-07 -3.61939266534e-06 4.36276554294e-07 -3.49105761556e-06 3.43302715564e-08 -3.13393566124e-06 -2.74332164874e-07 -2.96226990228e-06 -7.97605983777e-07 -1.97240815569e-06 -1.9371335634e-05 -1.22553773546e-06 -3.20056503141e-05 -5.45864459855e-07 -4.57348290061e-05 1.47062836583e-07 -5.80312152952e-05 4.57423405087e-07 -6.63756591244e-05 -2.63208764362e-07 -6.68011244573e-05 -2.8388808228e-06 -5.34612539394e-05 -6.00922730233e-06 -2.15950853532e-05 -6.61572455882e-06 1.66230779152e-06 -6.22197223477e-06 -1.19657773548e-07 -6.91650519808e-06 -2.55825946689e-06 -7.23965789931e-06 -4.06447084041e-06 -7.29871143706e-06 -5.2864959603e-06 -7.09166986672e-06 -6.48984957699e-06 -6.66227946357e-06 -8.01123466837e-06 -6.20603275949e-06 -9.04431062623e-06 5.10872314619e-06 -2.10356824595e-05 3.72908285053e-05 -4.62528685266e-05 7.62148213694e-05 -8.02784701473e-05 9.88528262609e-05 -9.93821285944e-05 0.000120172758993 -0.000112695212912 0.000141964094467 -0.000123038717499 0.000161785520582 -0.000133235467434 0.000179261735837 -0.000143557369932 0.000194286589797 -0.000153432632157 0.000207253974579 -0.000162211989968 0.000218777715043 -0.000169382942586 0.000229351342496 -0.000174727321513 0.000239426799318 -0.000178168998674 0.000249426484388 -0.000179718415451 0.000259686315405 -0.000179470079207 0.000270441110297 -0.00017757044276 0.000281846071962 -0.000174179466741 0.000294005492592 -0.000169447436091 0.000306995797533 -0.000163506729497 0.00032088119273 -0.000156471925051 0.000335723483151 -0.000148443080887 0.000351588373282 -0.000139509237129 0.000368549639598 -0.000129751191861 0.000386692929656 -0.000119242901635 0.000406120316999 -0.000108051868051 0.000426957362235 -9.62386547172e-05 0.000449362535832 -8.38571578265e-05 0.000473539638763 -7.09582872073e-05 0.000499748826088 -5.76030284739e-05 0.000528498921029 -4.3872276703e-05 0.000560232827038 -2.98447249977e-05 0.00059551114317 -1.56621478743e-05 0.000635088827666 -1.75799505945e-06 0.000679541459924 1.13602031324e-05 0.000729175262635 2.28708252321e-05 3.21390982354e-05 -1.16339109498e-07 2.86903108884e-06 -3.15436427226e-08 2.81319562797e-06 -1.1475355871e-07 2.10297922763e-06 -4.82906245038e-07 3.08706815227e-06 -5.07769109606e-07 2.32606171734e-06 -5.37501342427e-07 2.6982178341e-06 -5.99414288822e-07 3.18017672761e-06 -7.22585616689e-07 1.93776425228e-06 -8.25160545096e-07 2.17177642866e-06 -9.52716320877e-07 1.65147697946e-06 -1.03434112276e-06 1.68418018488e-06 -1.14638715299e-06 1.99692113967e-06 -1.15031732223e-06 2.36256222831e-06 -1.28345383848e-06 1.84292571588e-06 -1.41986686643e-06 1.97418941284e-06 -1.48935393749e-06 2.17282350912e-06 -1.72423092488e-06 1.99596618275e-06 -1.92880830882e-06 1.92625148052e-06 -2.07098402567e-06 2.38464114216e-06 -2.34038545926e-06 1.63198439198e-06 -2.55072108949e-06 2.00074248668e-06 -2.61132748381e-06 1.48741034201e-06 -2.6848397232e-06 1.1592533525e-06 -2.80137295805e-06 8.74037056082e-07 -2.98582021168e-06 6.23800740194e-07 -3.39697430035e-06 4.51404838212e-07 -3.61375479683e-06 -6.56468297896e-08 -3.54269193859e-06 -8.59869803993e-07 -3.93726775359e-06 -1.89877467339e-05 -4.3967217233e-06 -3.15503187689e-05 -4.83690515838e-06 -4.5298230582e-05 -5.23667974545e-06 -5.76326194603e-05 -5.84540977789e-06 -6.57691362083e-05 -6.8827523107e-06 -6.57706926208e-05 -8.1694324082e-06 -5.21675931097e-05 -7.2077607372e-06 -2.25496496131e-05 -6.78740446404e-06 1.23564711668e-06 -7.03619856933e-06 1.26582270958e-07 -7.64908056907e-06 -1.94808471279e-06 -8.02119336508e-06 -3.69354216292e-06 -8.04383250255e-06 -5.26681070586e-06 -7.69875574628e-06 -6.8351385954e-06 -5.05398249635e-06 -1.06581619097e-05 9.21010573765e-06 -2.3310499952e-05 3.86600798704e-05 -5.04898706295e-05 7.27675075752e-05 -8.03651630749e-05 9.48576587822e-05 -0.00010237549218 0.000114114163337 -0.000118646065974 0.000132324837584 -0.000130913214046 0.000150203862862 -0.000140924298518 0.000167105388697 -0.000150142742198 0.000182572687966 -0.000159029823465 0.000196518930978 -0.0001673837586 0.000209127270444 -0.000174825005128 0.000220743823827 -0.000181004093467 0.000231719787772 -0.000185707639347 0.000242383267387 -0.000188836564697 0.000253034546426 -0.000190373339157 0.000263925773626 -0.000190364530316 0.000275251882763 -0.000188899359231 0.00028715730284 -0.000186087379935 0.000299749936901 -0.000182042353603 0.000313115086569 -0.000176874044624 0.000327326586457 -0.000170685602272 0.000342455038039 -0.000163573800531 0.000358573696575 -0.000155630401449 0.000375763148472 -0.000146943453624 0.00039411539323 -0.000137598404049 0.000413738553066 -0.000127678800863 0.000434762850236 -0.000117267317505 0.000457348528952 -0.000106447788306 0.000481694364216 -9.5309601333e-05 0.00050804122475 -8.39558272861e-05 0.0005366804635 -7.25172246603e-05 0.000568007118633 -6.11762011837e-05 0.000602566893895 -5.02265892438e-05 0.000640861926868 -4.00595983041e-05 0.000683300692132 -3.10857064518e-05 0.000730279735772 -2.41134410753e-05 -1.99689286722e-05 -1.51763652625e-07 3.02178022368e-06 3.97297413333e-09 2.6584127164e-06 -2.03629822045e-07 2.31122365376e-06 -3.32486853335e-07 3.217012217e-06 -4.28547542803e-07 2.42289200578e-06 -5.21560367277e-07 2.7915849324e-06 -5.81790299791e-07 3.24123968394e-06 -7.31119861493e-07 2.08745246997e-06 -8.13337091957e-07 2.25445183061e-06 -9.57877822131e-07 1.79644985506e-06 -1.02482697151e-06 1.75142565587e-06 -1.11580429231e-06 2.08790139682e-06 -1.11573363634e-06 2.36268998168e-06 -1.27242644116e-06 2.00004419608e-06 -1.39157638166e-06 2.09348617905e-06 -1.45402808636e-06 2.23510656481e-06 -1.77108204185e-06 2.31339953408e-06 -1.96523461573e-06 2.11948966056e-06 -2.03479132506e-06 2.45381943558e-06 -2.25226539641e-06 1.84877488842e-06 -2.25715427238e-06 2.00455300427e-06 -2.32383375181e-06 1.55246909676e-06 -2.65365252454e-06 1.48645203558e-06 -2.93938106291e-06 1.15930972736e-06 -3.1383526381e-06 8.21624836848e-07 -3.53845066243e-06 8.50339203033e-07 -3.810543351e-06 2.15131087526e-07 -4.1066420646e-06 -5.75812279013e-07 -6.29406222633e-06 -1.68081981026e-05 -8.08939130023e-06 -2.9758070302e-05 -9.82941094871e-06 -4.35577001912e-05 -1.14512445555e-05 -5.60127319422e-05 -1.28729448162e-05 -6.43503954311e-05 -1.37531644665e-05 -6.48863608942e-05 -1.29726813988e-05 -5.29510360797e-05 -8.7747362007e-06 -2.67577176728e-05 -7.4235057842e-06 -1.08225461373e-07 -8.12129078861e-06 8.23269357116e-07 -8.74510176502e-06 -1.3260465056e-06 -9.05863213336e-06 -3.38376858551e-06 -8.89312507781e-06 -5.43339490204e-06 -7.0871920737e-06 -8.64455112167e-06 9.52334976827e-06 -2.72754414544e-05 3.49943821273e-05 -4.87885031608e-05 6.27445093423e-05 -7.82458136208e-05 8.68045512795e-05 -0.000104432128212 0.000106629073285 -0.000122207541415 0.000123932251327 -0.000135956975471 0.000140095324702 -0.000147083470586 0.000155710731205 -0.000156546136626 0.000170699682478 -0.000165137462501 0.000184852996862 -0.000173188469163 0.000198094771864 -0.00018063060877 0.000210498947436 -0.000187234184681 0.000222251021447 -0.000192761024227 0.000233578628622 -0.000197039947641 0.00024471472935 -0.000199976994325 0.000255880331475 -0.000201542855523 0.000267270919347 -0.000201758520643 0.000279049165844 -0.000200680558359 0.000291346143881 -0.000198386920046 0.000304267717909 -0.000194966203143 0.000317902634015 -0.000190511070772 0.000332330132557 -0.000185115137548 0.000347626261438 -0.00017887203751 0.000363869083968 -0.000171875485316 0.000381142929962 -0.000164219861686 0.000399542408794 -0.000156000822795 0.000419176409957 -0.0001473162499 0.000440172684581 -0.000138267618951 0.000462682932183 -0.000128962655512 0.000486888076074 -0.000119520007193 0.000513003331406 -0.00011007687663 0.000541281088163 -0.000100800893022 0.000572006416085 -9.19065957299e-05 0.000605459118809 -8.36841820813e-05 0.000641908963984 -7.65155932209e-05 0.000681714697383 -7.08985081955e-05 0.00072508578879 -6.74886795007e-05 -6.7265034551e-05 -1.52153828833e-07 3.1742981517e-06 -2.96547316163e-08 2.53635562815e-06 -2.41912277827e-07 2.52437498588e-06 -2.74665006387e-07 3.25048106635e-06 -3.82080818909e-07 2.53082443813e-06 -4.81257340905e-07 2.89158764528e-06 -5.50066644543e-07 3.3104587178e-06 -7.14562614913e-07 2.25246290753e-06 -7.76536069161e-07 2.31698315909e-06 -9.6131190685e-07 1.981452711e-06 -1.01617115003e-06 1.80641633829e-06 -1.0716274676e-06 2.1436585902e-06 -1.1040223753e-06 2.39530391294e-06 -1.295380411e-06 2.19134552862e-06 -1.39212250239e-06 2.19029766092e-06 -1.4740358565e-06 2.31732385538e-06 -1.8379043022e-06 2.67679464453e-06 -1.95975025084e-06 2.2413520528e-06 -1.94289498717e-06 2.43638850281e-06 -2.11226781926e-06 2.01760524898e-06 -2.1638075519e-06 2.05471292746e-06 -2.34699290844e-06 1.73339419011e-06 -2.73672738141e-06 1.8738591351e-06 -3.29167090416e-06 1.71159983257e-06 -4.29534845429e-06 1.82616601314e-06 -4.81821348704e-06 1.37803510129e-06 -5.58066506558e-06 9.69294987324e-07 -6.015182773e-06 -1.41632138744e-07 -9.27395497494e-06 -1.35636397004e-05 -1.21575722732e-05 -2.68776235215e-05 -1.52434311846e-05 -4.04709263957e-05 -1.82175181796e-05 -5.30378452743e-05 -2.05711721594e-05 -6.19966267345e-05 -2.14110722447e-05 -6.40533344117e-05 -1.91452273959e-05 -5.52232690379e-05 -1.23829288618e-05 -3.35098960483e-05 -7.40197692108e-06 -5.0934748617e-06 -9.36826307014e-06 2.78802197182e-06 -1.02494632736e-05 -4.45214499084e-07 -1.04834971688e-05 -3.15190580793e-06 -1.00781790657e-05 -5.84341215685e-06 4.42958196546e-06 -2.31595106741e-05 2.97001912621e-05 -5.2555609165e-05 5.38516471002e-05 -7.29470050638e-05 7.84861510077e-05 -0.00010288701603 9.81362096936e-05 -0.000124088811667 0.000115078797397 -0.000139156832359 0.000130389285347 -0.000151273882393 0.000144918012472 -0.000161618096261 0.000159086673653 -0.000170720135775 0.00017291846425 -0.000178974117436 0.000186292422003 -0.000186566998704 0.000199129311342 -0.00019347195566 0.000211443118272 -0.000199552411396 0.000223331253506 -0.000204653597061 0.000234940232134 -0.000208653255362 0.00024643637243 -0.000211477286188 0.000257987009537 -0.000213097294829 0.000269747885768 -0.00021352281865 0.000281856435886 -0.000212792105336 0.000294430437026 -0.000210963550253 0.000307570690494 -0.00020810878853 0.00032136559758 -0.000204308100479 0.000335896190924 -0.000199647771062 0.000351240909427 -0.000194218802557 0.000367479747201 -0.000188116528119 0.000384698035122 -0.000181440598409 0.000402989777443 -0.000174295411782 0.000422460979256 -0.000166790786174 0.000443232789822 -0.000159043341789 0.000465444427747 -0.000151178830268 0.000489255321911 -0.00014333605535 0.000514845708776 -0.000135673086537 0.000542415069403 -0.000128376197282 0.000572175396342 -0.00012167222537 0.000604330863112 -0.000115844726479 0.000639054783625 -0.000111245440865 0.000676468489125 -0.000108318074212 0.000716551822491 -0.000107575971526 -0.000109719564613 -8.99261235142e-08 3.26498993838e-06 -1.35597964393e-07 2.58271051584e-06 -2.5809148102e-07 2.64742079393e-06 -2.99225135139e-07 3.2923838442e-06 -3.80047093783e-07 2.61229712096e-06 -4.35239166426e-07 2.94717011964e-06 -5.07914409722e-07 3.38380671666e-06 -6.83566308094e-07 2.42858789166e-06 -7.22037227325e-07 2.35575313547e-06 -9.61859649219e-07 2.22167323173e-06 -1.01779699623e-06 1.86261519707e-06 -1.03998804119e-06 2.16589586847e-06 -1.09018291535e-06 2.44551249932e-06 -1.34167638038e-06 2.44301391145e-06 -1.42626883836e-06 2.27490760448e-06 -1.53533241931e-06 2.4261349352e-06 -1.8252114532e-06 2.9668510006e-06 -1.87169663216e-06 2.28742121189e-06 -1.88010866722e-06 2.4444468443e-06 -2.13644716133e-06 2.27294475725e-06 -2.35797405231e-06 2.27469686085e-06 -2.93678092957e-06 2.30994481546e-06 -3.54708736184e-06 2.48113198925e-06 -3.96391134771e-06 2.12704546912e-06 -4.03735658395e-06 1.89895433257e-06 -4.22262217994e-06 1.56090892098e-06 -4.75063207361e-06 1.50101149749e-06 -6.56944403255e-06 1.66607060156e-06 -1.2542143999e-05 -7.61618196013e-06 -1.59861321634e-05 -2.34397213501e-05 -2.05426004605e-05 -3.59134016601e-05 -2.51525829363e-05 -4.84268533121e-05 -2.89053970065e-05 -5.82468755477e-05 -3.05734040945e-05 -6.23902712298e-05 -2.84518583525e-05 -5.73465495893e-05 -2.1712148534e-05 -4.0261547834e-05 -1.25694115703e-05 -1.42391547975e-05 -1.15323882025e-05 1.75460603154e-06 -1.24114376204e-05 4.30728167693e-07 -1.22471852654e-05 -3.31900430281e-06 -1.22281201067e-05 -5.8677352639e-06 1.79821852982e-05 -5.3381647983e-05 4.27445134252e-05 -7.73261718319e-05 6.7903141401e-05 -9.8112173659e-05 8.85126814112e-05 -0.000123502488276 0.000104978806396 -0.000140560594472 0.000119732650654 -0.00015391609018 0.000133711352738 -0.000165257631306 0.000147330752151 -0.000175242078315 0.000160773102273 -0.000184166617009 0.000174030814894 -0.000192235664727 0.000187014746677 -0.000199554611406 0.000199657145399 -0.000206118038377 0.000211953006542 -0.000211852063863 0.000223959571774 -0.000216664044488 0.00023577751416 -0.000220475132742 0.000247530586059 -0.000223234174509 0.000259349716355 -0.000224920036588 0.000271362274168 -0.00022553865487 0.000283685769065 -0.000225118535981 0.000296425701123 -0.000223706074795 0.000309676311563 -0.000221361706162 0.000323523137552 -0.000218157038136 0.000338046335673 -0.000214172969178 0.000353324093495 -0.000209498589184 0.000369435968958 -0.000204230556038 0.000386465884044 -0.000198472950737 0.000404504986966 -0.000192337339086 0.000423654128029 -0.000185943278277 0.000444026005541 -0.000179419173873 0.000465746487356 -0.000172903897618 0.000488954533522 -0.000166549372599 0.00051380004854 -0.000160524499107 0.0005404384711 -0.000155020717929 0.000569019883079 -0.000150259138206 0.000599669512538 -0.000146499403537 0.000632466652741 -0.00014404825447 0.000667416569561 -0.000143273744248 0.000704439555627 -0.000144602189115 -0.000148459953242 -6.68516496698e-08 3.33232877055e-06 -1.64492190755e-07 2.68082763985e-06 -2.66120843189e-07 2.74974394233e-06 -3.33173826644e-07 3.36007095847e-06 -3.91192622598e-07 2.67074540541e-06 -3.90328677539e-07 2.94696171327e-06 -4.61067751747e-07 3.45504633363e-06 -6.54457026194e-07 2.62232957884e-06 -6.69760872732e-07 2.37156284637e-06 -9.68154207646e-07 2.52033503188e-06 -1.02957498744e-06 1.92412442053e-06 -1.02924270776e-06 2.16571823677e-06 -1.05730429646e-06 2.47379160143e-06 -1.40959405103e-06 2.79529948495e-06 -1.46124946123e-06 2.32646448309e-06 -1.57114600372e-06 2.5361172437e-06 -1.72442092248e-06 3.11983256656e-06 -1.78505822695e-06 2.34780058495e-06 -1.85648703934e-06 2.51515163269e-06 -2.13263995074e-06 2.54813467337e-06 -2.25305792216e-06 2.39376758838e-06 -2.69955533314e-06 2.75454073266e-06 -2.82495852094e-06 2.60469851717e-06 -3.11034673689e-06 2.4106719834e-06 -3.60473411532e-06 2.39213661388e-06 -4.32549643555e-06 2.28327248887e-06 -4.78834684929e-06 1.95797576041e-06 -5.71131307254e-06 2.57913749597e-06 -1.18331152744e-05 -1.50793531388e-06 -1.83568274021e-05 -1.69345835699e-05 -2.49693206708e-05 -2.93044699895e-05 -3.16124100783e-05 -4.17845898665e-05 -3.73927554482e-05 -5.24694000844e-05 -4.08205738466e-05 -5.89676889925e-05 -3.97491361398e-05 -5.84291797396e-05 -3.17340497575e-05 -4.82809241501e-05 -1.82289926442e-05 -2.77445668224e-05 -1.37832918772e-05 -2.69543811287e-06 -1.51381770046e-05 1.78441028605e-06 -1.358586818e-05 -4.87653687984e-06 9.61492897008e-07 -2.04242866462e-05 3.04936275927e-05 -8.2924964961e-05 5.31065925985e-05 -9.99458703665e-05 7.55529345713e-05 -0.000120564057814 9.26236614164e-05 -0.000140578314772 0.000107408232349 -0.000155349893438 0.0001212540418 -0.000167766248803 0.000134745541441 -0.000178753038041 0.000148066450981 -0.000188566469223 0.000161261350168 -0.000197364679907 0.000174300771403 -0.000205278044663 0.000187125176309 -0.000212381916668 0.000199692338335 -0.000218688147888 0.000212001929525 -0.000224164722299 0.000224097430053 -0.000228762761732 0.000236055939502 -0.000232436941812 0.000247974892955 -0.000235156444238 0.000259960521982 -0.000236908862582 0.000272119329333 -0.000237700474671 0.00028455292107 -0.000237554882185 0.000297355659339 -0.00023651131051 0.000310614601408 -0.000234622914786 0.000324410858337 -0.000231955385152 0.000338821714741 -0.000228585842604 0.000353923105183 -0.000224602011707 0.000369792086521 -0.000220101738298 0.000386509348487 -0.000215192696851 0.000404161477637 -0.000209992400743 0.00042284300923 -0.000204628310708 0.000442657842092 -0.000199238160682 0.000463719628687 -0.000193970543511 0.000486150481061 -0.000188985745186 0.000510077058793 -0.000184457277782 0.000535623171524 -0.000180573215904 0.000562896232983 -0.000177537893889 0.000591965267491 -0.000175573643496 0.00062283576647 -0.000174924062812 0.0006554107454 -0.000175853420169 0.00068950797465 -0.000178702320014 -0.00018353542928 -4.64531636035e-08 3.37937950903e-06 -1.61598865989e-07 2.7965576472e-06 -3.0266010793e-07 2.89136028283e-06 -3.42268977052e-07 3.40029581496e-06 -3.80463024582e-07 2.709503328e-06 -3.44818713627e-07 2.91173882888e-06 -3.95703810841e-07 3.50639832307e-06 -6.75316624215e-07 2.90244333051e-06 -7.23742479626e-07 2.42026767408e-06 -9.31945970025e-07 2.7288543194e-06 -1.02913255301e-06 2.02152684125e-06 -1.05217974688e-06 2.18889022182e-06 -1.13106414563e-06 2.55275708721e-06 -1.42120318128e-06 3.08554562013e-06 -1.44952852371e-06 2.35487535586e-06 -1.56173923e-06 2.64810506204e-06 -1.59930919759e-06 3.15712857364e-06 -1.71000122846e-06 2.4580674829e-06 -1.80611248228e-06 2.61053659035e-06 -2.22050456599e-06 2.96159511185e-06 -2.45318730009e-06 2.62530259693e-06 -2.75472015033e-06 3.0543948926e-06 -2.77070079762e-06 2.61908164792e-06 -3.05581509516e-06 2.69375900007e-06 -3.44657597674e-06 2.78088399534e-06 -3.97920688303e-06 2.81303531645e-06 -4.86964872657e-06 2.84506144608e-06 -5.98191469997e-06 3.68434968972e-06 -1.05998298811e-05 3.08986927063e-06 -2.00095750161e-05 -7.54786122313e-06 -2.76963982825e-05 -2.16295055263e-05 -3.656092863e-05 -3.29236533832e-05 -4.49779834768e-05 -4.40555995071e-05 -5.12514863114e-05 -5.27004946044e-05 -5.29369440957e-05 -5.67500834114e-05 -4.7247326326e-05 -5.39796065757e-05 -3.37975777084e-05 -4.12024782896e-05 -2.22796579827e-05 -1.42231934893e-05 -2.05250549718e-05 2.51738554892e-08 -2.10475366502e-05 -4.35983521367e-06 1.42500157131e-05 -5.57351525704e-05 3.61094841226e-05 -0.000104792835925 5.81404400623e-05 -0.000121982063812 7.71869240931e-05 -0.000139614973389 9.24693832599e-05 -0.000155864816002 0.000106802414476 -0.000169686640452 0.000120698419439 -0.000181665582527 0.000134304310219 -0.000192361870643 0.000147696114788 -0.000201960893851 0.000160898985903 -0.000210569935665 0.000173902944507 -0.000218284277819 0.000186685153714 -0.000225166378036 0.000199233659754 -0.000231238990625 0.000211562049382 -0.000236495598459 0.000223712364575 -0.000240915736339 0.00023575020239 -0.000244477595835 0.000247756807536 -0.000247165927976 0.00025982127365 -0.000248976194862 0.000272034478297 -0.000249916423573 0.000284485037053 -0.000250008018501 0.000297257322146 -0.000249285972404 0.000310431020889 -0.000247798805182 0.000324081806291 -0.000245608231278 0.000338282664922 -0.000242788697955 0.000353105553464 -0.000239426959966 0.000368623333235 -0.000235621751178 0.000384911763836 -0.000231483705297 0.000402051585506 -0.000227135281402 0.000420130320204 -0.000222710737182 0.000439243511304 -0.000218355764794 0.000459494825548 -0.000214227001458 0.000480994118389 -0.000210490929462 0.000503852892349 -0.000207322572019 0.000528174864065 -0.000204901945654 0.000554038990988 -0.000203408052085 0.000581471234104 -0.000203011177742 0.00061040689102 -0.000203864859279 0.000640632560469 -0.000206083698294 0.000671803625949 -0.000209875875271 -0.000214793772864 -3.71494058394e-08 3.417138228e-06 -1.67099544066e-07 2.92704508255e-06 -3.6428323953e-07 3.08918251739e-06 -3.1070224616e-07 3.34734407552e-06 -3.31976993618e-07 2.73119885361e-06 -3.19168904662e-07 2.89941882417e-06 -3.20350067171e-07 3.50815753917e-06 -6.85113066084e-07 3.2675796527e-06 -7.48556287192e-07 2.48410392016e-06 -7.85495479067e-07 2.76611854828e-06 -1.00049893444e-06 2.23665076959e-06 -1.06100530932e-06 2.24953812236e-06 -1.16355278283e-06 2.65554937422e-06 -1.23937900068e-06 3.16156105886e-06 -1.36419185775e-06 2.47958292278e-06 -1.4901162304e-06 2.77397998975e-06 -1.46977833282e-06 3.13650423812e-06 -1.68199915326e-06 2.66977803861e-06 -1.88922794755e-06 2.81713363296e-06 -2.21916074706e-06 3.29060358678e-06 -2.33036025086e-06 2.73560027321e-06 -2.37196943335e-06 3.09487563827e-06 -2.5994026668e-06 2.84487656112e-06 -3.02089565994e-06 3.11299804661e-06 -3.32922631372e-06 3.08735173491e-06 -3.84823442138e-06 3.33070396227e-06 -4.52359883931e-06 3.51695893042e-06 -4.79815360381e-06 3.95041600437e-06 -5.58176521869e-06 3.86348522356e-06 -1.41860341064e-05 1.03997087726e-06 -2.70526243996e-05 -8.78462659785e-06 -3.83510504517e-05 -2.16351399014e-05 -4.96848485819e-05 -3.27268910763e-05 -5.96842839374e-05 -4.27079341135e-05 -6.58473131236e-05 -5.05967172016e-05 -6.53788888491e-05 -5.44575335927e-05 -5.58274556626e-05 -5.07663123691e-05 -3.53943242367e-05 -3.46644504343e-05 -2.54335657648e-05 -9.9408113333e-06 -1.87562728551e-05 -1.10469017817e-05 1.84872461678e-05 -9.2987600397e-05 3.67591313373e-05 -0.000123068083448 5.62941540551e-05 -0.000141519753767 7.39188297122e-05 -0.000157242421488 8.97781896243e-05 -0.000171726996037 0.000104704361526 -0.000184615519044 0.00011907883894 -0.000196042535938 0.000133021106582 -0.00020630636637 0.000146614666372 -0.000215556469881 0.00015991655323 -0.000223873711324 0.000172953918259 -0.000231323473457 0.000185738787277 -0.000237953101135 0.000198285332992 -0.000243787468624 0.000210621055247 -0.000248833382566 0.000222790497398 -0.000253087395436 0.000234853509569 -0.000256542960971 0.000246880840651 -0.000259195713678 0.00025894929158 -0.000261047120709 0.000271137580708 -0.000262107151878 0.000283523512464 -0.000262396286996 0.000296182389695 -0.000261947062214 0.000309186514539 -0.000260805019964 0.000322605410665 -0.000259029126673 0.000336506516045 -0.000256691794814 0.00035095627742 -0.000253878793135 0.000366021555486 -0.000250689338103 0.000381771475937 -0.000247236309934 0.000398279453255 -0.000243646508136 0.000415625292452 -0.000240060534394 0.000433896702389 -0.000236631940655 0.000453189782161 -0.000233525683922 0.000473607333584 -0.000230914809379 0.000495254056409 -0.00022897642903 0.000518225049886 -0.000227880166975 0.000542581968225 -0.000227771530536 0.00056831283779 -0.000228747451659 0.000595268135301 -0.000230824823595 0.000623072969941 -0.000233892027504 0.000651079899353 -0.000237884671669 -0.000241629544721 -3.10301988838e-08 3.44863555038e-06 -2.68422733665e-07 3.1650072518e-06 -3.96446527368e-07 3.21781307488e-06 -2.22650678706e-07 3.17408537594e-06 -2.73509262549e-07 2.78254502943e-06 -3.23580640793e-07 2.94997912772e-06 -2.97502948922e-07 3.48257920324e-06 -5.91586271808e-07 3.56221765861e-06 -7.16669866042e-07 2.60952752716e-06 -7.05086456545e-07 2.75477565508e-06 -9.7815440164e-07 2.50997303035e-06 -1.0425871162e-06 2.31421239355e-06 -1.10268963622e-06 2.71581824929e-06 -1.06890442847e-06 3.12786556733e-06 -1.27279746588e-06 2.68358960849e-06 -1.35049173143e-06 2.85150124529e-06 -1.35592657043e-06 3.14169757955e-06 -1.64619556917e-06 2.95973588457e-06 -1.8217266801e-06 2.9920421137e-06 -1.89314154904e-06 3.36138641165e-06 -2.09837561507e-06 2.93989686768e-06 -2.17738294913e-06 3.17282399976e-06 -2.56036324781e-06 3.22637642045e-06 -2.809238282e-06 3.36009222675e-06 -2.93166755416e-06 3.20804141765e-06 -3.45108581699e-06 3.84800856851e-06 -3.79778237728e-06 3.86088993091e-06 -4.06289119072e-06 4.20974339796e-06 -4.85283230587e-06 4.64465649875e-06 -8.90465736719e-06 5.07903188447e-06 -2.04475162702e-05 2.73756165997e-06 -3.5385546792e-05 -6.71268897291e-06 -4.85500513794e-05 -1.95715065448e-05 -6.23173067085e-05 -2.89481823004e-05 -7.3774362629e-05 -3.91494391184e-05 -7.98680314519e-05 -4.83725426996e-05 -7.63516970454e-05 -5.42926713493e-05 -5.87703815539e-05 -5.22613533043e-05 -3.80864398177e-05 -3.06305870481e-05 -1.01747609921e-05 -3.89655447207e-05 1.44839883895e-05 -0.000117648709585 3.41549820696e-05 -0.000142739911898 5.2862821709e-05 -0.000160228696063 7.05264203692e-05 -0.000174907627036 8.6920034904e-05 -0.000188122488402 0.000102346140876 -0.00020004352254 0.000117088949744 -0.000210787154342 0.000131294353321 -0.00022051345001 0.000145059504769 -0.000229323206792 0.000158456604942 -0.000237272341353 0.00017153410933 -0.000244402508377 0.000184326080222 -0.000250746634765 0.000196864166302 -0.000256327197374 0.0002091860199 -0.00026115699107 0.000221338775435 -0.000265242044278 0.000233378790126 -0.000268585011361 0.000245369367242 -0.000271188431765 0.000257377867606 -0.000273057827534 0.000269473144499 -0.000274204631153 0.000281723633112 -0.000274648934541 0.000294196244124 -0.000274421752118 0.000306955830055 -0.000273566606241 0.000320065060453 -0.000272140313765 0.000333584587655 -0.000270213295479 0.000347573569327 -0.000267869883474 0.000362090802088 -0.000265208940065 0.000377196508794 -0.000262344833386 0.000392954797776 -0.000259408227661 0.000409436386358 -0.000256546346563 0.000426721014209 -0.000253921663259 0.000444899040552 -0.000251709671556 0.000464070544642 -0.000250093132903 0.000484341727262 -0.000249255078966 0.000505808696603 -0.000249354803287 0.000528523594765 -0.000250492952717 0.000552430910718 -0.000252660230214 0.000577261485597 -0.000255659122405 0.000602400924158 -0.000259035300692 0.000626632641686 -0.000262119487872 -0.000262864671924 -6.35116234637e-08 3.51289074623e-06 -3.63622499222e-07 3.46576232388e-06 -2.93524243285e-07 3.14827486975e-06 -1.39195489577e-07 3.02026028472e-06 -2.37275710993e-07 2.88108145948e-06 -3.26948431544e-07 3.04014670388e-06 -2.93401116332e-07 3.44961623922e-06 -4.46556362954e-07 3.71586659557e-06 -6.52016669183e-07 2.81531656846e-06 -6.25893096009e-07 2.72898601343e-06 -9.3023393144e-07 2.81457582365e-06 -1.01010093059e-06 2.39425747371e-06 -9.98708824887e-07 2.70465970257e-06 -9.60600373358e-07 3.08990928489e-06 -1.22448370658e-06 2.94746190417e-06 -1.23946217415e-06 2.86648442224e-06 -1.24386860582e-06 3.14599174056e-06 -1.59032695576e-06 3.30594850345e-06 -1.65660570112e-06 3.057987888e-06 -1.66127215728e-06 3.36533747778e-06 -1.93335455743e-06 3.21142941296e-06 -1.97771195269e-06 3.21626024682e-06 -2.40258151341e-06 3.65030184437e-06 -2.52631046102e-06 3.48261875541e-06 -2.97110507331e-06 3.65134851974e-06 -3.25632217687e-06 4.13226883293e-06 -3.37612588408e-06 3.97846587862e-06 -3.64678993404e-06 4.47574886381e-06 -3.90359731663e-06 4.89772716882e-06 -4.18585313343e-06 5.35597365731e-06 -8.27925048038e-06 6.82441695677e-06 -2.22707561927e-05 7.26758479144e-06 -3.8190596744e-05 -3.65875831317e-06 -5.42014703494e-05 -1.29457733538e-05 -7.00337543538e-05 -2.33258283992e-05 -8.17298333011e-05 -3.668930844e-05 -8.63768565854e-05 -4.96582915868e-05 -8.1319475358e-05 -5.73287882173e-05 -5.8722385302e-05 -5.32378273922e-05 -1.76470058129e-05 -8.00459033126e-05 8.66118343299e-06 -0.000143957326409 3.0234569322e-05 -0.000164312656262 4.9579238535e-05 -0.000179573373892 6.74891227499e-05 -0.000192818123698 8.41841931885e-05 -0.000204818494698 9.99093150281e-05 -0.000215769760454 0.000114888064584 -0.000225767077082 0.000129267106665 -0.000234893704993 0.000143148176495 -0.000243205511552 0.000156608595022 -0.000250734041636 0.000169707041922 -0.000257502288455 0.000182490112007 -0.000263531109061 0.000195000200493 -0.000268838769254 0.000207281381478 -0.000273439752801 0.000219382220422 -0.000277344574937 0.000231356131317 -0.000280560722036 0.000243260334456 -0.000283094533468 0.00025515433752 -0.00028495378707 0.000267098442369 -0.000286150720251 0.000279152620658 -0.000286705078821 0.000291375722148 -0.000286646785642 0.000303824918714 -0.000286017696958 0.000316555169067 -0.00028487245106 0.000329618784632 -0.000283278862959 0.000343065447354 -0.000281318658323 0.000356943087521 -0.000279089018718 0.000371300006729 -0.000276704671824 0.000386188000154 -0.000274299859403 0.000401666327816 -0.000272029152778 0.000417805309971 -0.000270066144141 0.000434689796811 -0.000268600591388 0.000452419667826 -0.000267830349332 0.000471108038179 -0.000267951598434 0.000490857592597 -0.00026911249899 0.000511708586152 -0.00027135179713 0.000533540582817 -0.000274496868502 0.000555907192472 -0.000278031365802 0.00057783756331 -0.000280971533082 0.000597101180789 -0.000281387520224 -0.000276433480724 -7.85216849662e-08 3.5918102675e-06 -1.87135178489e-07 3.57490436009e-06 -2.26278881841e-07 3.1878965107e-06 -1.68445103061e-07 2.96289980686e-06 -2.40203731775e-07 2.95333306711e-06 -3.16932014287e-07 3.11739972262e-06 -2.61460335804e-07 3.3946858452e-06 -3.46300848963e-07 3.80119759415e-06 -5.84199881169e-07 3.05357673215e-06 -6.10802537855e-07 2.75587821414e-06 -8.34701656145e-07 3.03878480368e-06 -9.83311331697e-07 2.54314972792e-06 -9.38863345727e-07 2.6603935588e-06 -8.96499980833e-07 3.04770481706e-06 -1.20944729354e-06 3.26053566319e-06 -1.21572948663e-06 2.87282713854e-06 -1.24293035586e-06 3.17320983483e-06 -1.50043176498e-06 3.56334917467e-06 -1.52019061013e-06 3.07750356477e-06 -1.51174287691e-06 3.35660491529e-06 -1.87036544424e-06 3.56942061348e-06 -1.97170436002e-06 3.3172316636e-06 -2.17456654695e-06 3.85258421367e-06 -2.24889720356e-06 3.55630008977e-06 -2.53835176423e-06 3.94001364627e-06 -2.4933805986e-06 4.0863655475e-06 -2.77693250506e-06 4.26089964355e-06 -3.0243536286e-06 4.72186600758e-06 -3.20418030478e-06 5.07460222141e-06 -3.34123188583e-06 5.49258498287e-06 -3.62128019272e-06 7.10104299929e-06 -3.28177645701e-06 6.9268942559e-06 -1.51374740786e-05 8.19513238079e-06 -3.18868860017e-05 3.79249958677e-06 -5.15858028538e-05 -3.63630508262e-06 -6.68798803546e-05 -2.14030682471e-05 -7.61260844969e-05 -4.04245926446e-05 -7.53016098517e-05 -5.8168087619e-05 -5.05094575165e-05 -7.80380774632e-05 -1.79072883122e-05 -0.000112650364029 6.37516760035e-06 -0.000168238138063 2.76746197207e-05 -0.000185610704845 4.70261070455e-05 -0.000198924195537 6.4940068374e-05 -0.000210732049009 8.17033582392e-05 -0.000221582192182 9.75312324445e-05 -0.000231598280953 0.000112603997465 -0.000240840667337 0.000127053761216 -0.000249344407225 0.000140977473214 -0.000257130276492 0.000154450580958 -0.000264208297388 0.000167533969555 -0.000270586921531 0.000180279266225 -0.00027627773082 0.000192733842778 -0.000281294751456 0.000204944528732 -0.00028565192579 0.000216959501522 -0.000289361123053 0.000228828763321 -0.000292431653555 0.000240603813996 -0.000294871333454 0.000252336972774 -0.000296688761895 0.000264080673015 -0.000297896264135 0.000275886822073 -0.000298513080945 0.000287806253424 -0.000298568052755 0.000299887955868 -0.000298101228262 0.000312177987623 -0.000297164334105 0.000324718282829 -0.000295821099506 0.000337546066955 -0.000294148595536 0.000350694716782 -0.000292240171052 0.000364196401424 -0.000290209434064 0.000378086541896 -0.000288193811155 0.000392409158408 -0.000286356581809 0.000407222414132 -0.000284885188572 0.000422603792268 -0.000283988853856 0.000438652483839 -0.000283886789173 0.000455489315796 -0.000284796890405 0.000473216226948 -0.000286848245317 0.00049183841354 -0.000289980442141 0.000511107927327 -0.000293772723471 0.000530335000079 -0.00029726480873 0.000547962590387 -0.000298607527137 0.000559857364836 -0.000293293804153 -0.000279540510105 -6.19181034347e-08 3.65456503401e-06 -5.71083769402e-08 3.57074845809e-06 -2.40429190519e-07 3.37181389792e-06 -2.1637161117e-07 2.93934614376e-06 -2.28725084109e-07 2.96619975891e-06 -2.64234023037e-07 3.15344945961e-06 -2.09114498873e-07 3.34009982446e-06 -2.4051007915e-07 3.83309507078e-06 -5.31172581724e-07 3.34462922856e-06 -6.15375672007e-07 2.84042409305e-06 -6.69494346498e-07 3.09327905327e-06 -9.46788587043e-07 2.82071800858e-06 -9.42413141872e-07 2.65624637622e-06 -9.29915572522e-07 3.03546178013e-06 -1.08988795228e-06 3.42076121654e-06 -1.1734334658e-06 2.95653125927e-06 -1.18932827153e-06 3.18920571387e-06 -1.22599703927e-06 3.60011117404e-06 -1.41464052416e-06 3.26609900945e-06 -1.47526209012e-06 3.41693281164e-06 -1.70170252245e-06 3.79577702211e-06 -1.75760303663e-06 3.3729964932e-06 -1.71608441356e-06 3.81092838566e-06 -2.00357742173e-06 3.84357274729e-06 -2.11776600113e-06 4.05372555075e-06 -2.22224944356e-06 4.19074712186e-06 -2.41114427114e-06 4.44945083191e-06 -2.48703837701e-06 4.79719713614e-06 -2.62898926889e-06 5.21725433696e-06 -2.6730557671e-06 5.53567288986e-06 -2.48310506825e-06 6.91233943712e-06 -2.04936782068e-06 6.49444081709e-06 -1.49709390698e-06 7.64229390318e-06 -6.03802961771e-06 8.33304469255e-06 -2.00335293231e-05 1.03563258062e-05 -4.20812081165e-05 6.31188240854e-07 -5.4400511856e-05 -2.81228778673e-05 -5.54225522974e-05 -5.71557772103e-05 -3.92678961634e-05 -9.41999303539e-05 -1.55354873803e-05 -0.000136383187047 6.45426071076e-06 -0.000190226881117 2.65733985393e-05 -0.000205728565679 4.5342275852e-05 -0.000217692396799 6.29327184665e-05 -0.000228322344125 7.95272844233e-05 -0.000238176924054 9.52740003291e-05 -0.000247345414371 0.000110304387686 -0.000255871647809 0.000124723506904 -0.000263764304601 0.000138614119569 -0.00027102182024 0.000152043596431 -0.000277638858745 0.000165069319713 -0.000283613852389 0.000177742458261 -0.000288952184509 0.000190110835935 -0.000293664529379 0.000202220815138 -0.000297763379674 0.000214118254922 -0.000301260109177 0.000225848863392 -0.000304163871904 0.00023745821082 -0.000306482354 0.000248991598455 -0.000308223862286 0.000260493785101 -0.000309400195408 0.000272008700128 -0.000310029742021 0.000283578885982 -0.000310139989963 0.000295244357206 -0.000309768453363 0.000307040610472 -0.000308962390854 0.000318996435171 -0.000307778844759 0.000331132678668 -0.000306286995049 0.000343463242129 -0.000304573297095 0.000355998834359 -0.00030274817617 0.000368753030899 -0.000300952017163 0.00038174981857 -0.000299358301453 0.000395030500649 -0.000298172050182 0.000408661720757 -0.000297627096274 0.000422737984727 -0.000297971305525 0.000437383425667 -0.000299451016462 0.000452675951415 -0.000302149599586 0.000468516927743 -0.000305829775678 0.0004844135211 -0.000309677960732 0.000499340913528 -0.000312205697037 0.000510831765494 -0.000310124205212 0.00051197142986 -0.000294459548293 -0.000269846766255 -6.94617375379e-08 3.72437945952e-06 -1.42701421374e-07 3.6445544842e-06 -1.57687515645e-07 3.38737181457e-06 -1.61063588206e-07 2.94325636709e-06 -1.65158856858e-07 2.97082819099e-06 -1.85865069584e-07 3.17469237977e-06 -1.69435610326e-07 3.32421292091e-06 -1.4631620576e-07 3.8105438813e-06 -4.56848156155e-07 3.6556135875e-06 -5.91880610931e-07 2.97586334972e-06 -5.3739954702e-07 3.03917146407e-06 -8.70060988221e-07 3.1537122415e-06 -9.43948337134e-07 2.73046139232e-06 -8.76956284593e-07 2.96878973687e-06 -8.23167974061e-07 3.36727553302e-06 -1.07371921947e-06 3.20733239485e-06 -1.04757034425e-06 3.16330883267e-06 -9.7749348141e-07 3.53019982807e-06 -1.28508593093e-06 3.57377408985e-06 -1.31405720104e-06 3.44600011412e-06 -1.31246109466e-06 3.79425564673e-06 -1.50100553459e-06 3.56165537933e-06 -1.42358749934e-06 3.73379698202e-06 -1.68801890017e-06 4.10806052782e-06 -1.67089332849e-06 4.03687412215e-06 -1.91895351458e-06 4.4389391527e-06 -1.9003567271e-06 4.43129469332e-06 -1.91968627454e-06 4.81719417286e-06 -2.05857561399e-06 5.35696142215e-06 -2.09280889953e-06 5.57203707458e-06 -1.59845704556e-06 6.41941933953e-06 -1.42583661055e-06 6.32372665516e-06 -9.38356445547e-07 7.15573065093e-06 -3.56822135673e-07 7.7518858082e-06 1.8842754279e-06 8.11301767045e-06 -1.18164048936e-05 1.43240476433e-05 -3.32077072676e-05 -6.72632096495e-06 -4.02181374103e-05 -5.01603370444e-05 -3.01133260744e-05 -0.0001043071466 -1.19708674165e-05 -0.000154525372289 7.66755077605e-06 -0.000209863514339 2.63919028513e-05 -0.000224451704812 4.43141935793e-05 -0.000235614132831 6.13669842454e-05 -0.000245375022976 7.76182754532e-05 -0.000254428415067 9.31411518846e-05 -0.000262868682383 0.000108016321257 -0.000270747409315 0.000122316386284 -0.000278065133992 0.000136104553875 -0.000284810939917 0.000149436195389 -0.00029097161162 0.000162361522585 -0.00029654043637 0.000174927570905 -0.00030151959942 0.000187179269475 -0.00030591768036 0.000199159910957 -0.000309745539247 0.000210911295621 -0.000313013064047 0.00022247385472 -0.000315728051571 0.000233886822141 -0.000317896977445 0.000245188339569 -0.000319527071198 0.000256415453739 -0.000320629009985 0.000267603910908 -0.000321219912044 0.000278787482661 -0.000321325267367 0.000289996025408 -0.000320978726754 0.000301252244664 -0.000320220392134 0.000312568106217 -0.000319096635723 0.000323943001994 -0.000317664082498 0.000335365290599 -0.000315998216216 0.000346817698839 -0.000314203886329 0.000358285803163 -0.00031242423541 0.000369767287762 -0.000310845079883 0.000381280920965 -0.000309691884199 0.000392874496695 -0.000309228288168 0.000404628344519 -0.000309733352462 0.000416651224864 -0.000311483099568 0.000428940205708 -0.00031444823763 0.000441165220971 -0.000318065258169 0.000452406725649 -0.000320934146674 0.000461094382962 -0.000320921037923 0.000462823166776 -0.000311890545189 0.000448394461113 -0.000280061505222 -0.000243606425137 -5.75770070426e-08 3.78291297175e-06 -1.74411981028e-07 3.76216153833e-06 -8.999556573e-08 3.3035736738e-06 -8.12019732825e-08 2.93498232498e-06 -1.2395846e-07 3.01410187753e-06 -1.45543424577e-07 3.1968285024e-06 -1.55131196247e-07 3.33439524118e-06 -9.58106620911e-08 3.75180685621e-06 -3.29243735508e-07 3.88963586784e-06 -5.4741851506e-07 3.19446021338e-06 -5.46151013932e-07 3.03830240058e-06 -7.01767424371e-07 3.30977421677e-06 -9.15144102568e-07 2.94420854962e-06 -8.1915351538e-07 2.87315639594e-06 -7.32031103739e-07 3.28056849488e-06 -9.75025779551e-07 3.45074130846e-06 -9.70702132598e-07 3.1592703197e-06 -9.11003571015e-07 3.47083407078e-06 -1.10694735751e-06 3.77000472942e-06 -1.14178185234e-06 3.4810817079e-06 -1.07175158116e-06 3.72449800553e-06 -1.30397938253e-06 3.79436135764e-06 -1.28839208728e-06 3.71861993592e-06 -1.39201265227e-06 4.2121913311e-06 -1.4750015104e-06 4.12028188232e-06 -1.51197666028e-06 4.47667668092e-06 -1.47228735838e-06 4.39238035157e-06 -1.54697249317e-06 4.89297576325e-06 -1.48240447213e-06 5.29412297107e-06 -1.45789509661e-06 5.54930646728e-06 -1.01916197091e-06 5.98350532671e-06 -9.48963864586e-07 6.25531771583e-06 -6.17187050381e-07 6.82600692726e-06 -1.1121674288e-07 7.24829469094e-06 2.31221834516e-07 7.77830778224e-06 4.551698763e-06 1.00180617052e-05 -1.25407661914e-05 1.03329610846e-05 -2.85006742333e-05 -3.41909216747e-05 -2.29410476197e-05 -0.000109867918947 -8.34225045995e-06 -0.000169122345675 9.25567396794e-06 -0.000227459877923 2.66606230551e-05 -0.000241855633104 4.3676336762e-05 -0.000252629563152 6.00949852814e-05 -0.000261793888894 7.59008179984e-05 -0.000270234706986 9.11040219197e-05 -0.000278072512567 0.000105740748693 -0.000285384886913 0.000119851920236 -0.00029217721613 0.000133479984325 -0.000298440066562 0.000146666662787 -0.000304159516127 0.000159453122699 -0.000309328256873 0.000171880025476 -0.000313947977055 0.000183987159118 -0.00031802637027 0.000195812836114 -0.000321572829091 0.000207393422901 -0.000324595304913 0.000218763252576 -0.000327099557361 0.00022995477501 -0.000329090197226 0.000240998771251 -0.000330572763157 0.000251924347098 -0.000331556286434 0.000262758756947 -0.000332056001881 0.000273526246624 -0.000332094442561 0.000284244983955 -0.00033169915111 0.000294921865901 -0.000330899040823 0.000305547332429 -0.000329724006975 0.000316093020805 -0.000328211970306 0.000326514659782 -0.000326422512688 0.000336760061793 -0.000324452593132 0.000346780488125 -0.000322448864688 0.000356542169406 -0.000320611853645 0.000366034800602 -0.000319190824348 0.000375279190815 -0.000318479717139 0.000384320336809 -0.000318782311475 0.000393202916646 -0.000320374015519 0.000401686762073 -0.000322941526509 0.000408867220601 -0.000325258479656 0.000412973024212 -0.000325062293204 0.000411522799712 -0.000319506345379 0.000399477315722 -0.000299894181567 0.000362386006874 -0.000243034880384 -0.000190397504628 -1.1384756131e-08 3.79474374684e-06 -6.29384140533e-08 3.81430775257e-06 -2.54369710223e-08 3.26663577183e-06 -9.60739637659e-08 3.00612863012e-06 -1.42439033317e-07 3.06100191821e-06 -1.45754637693e-07 3.20071695818e-06 -1.47336738726e-07 3.33657484378e-06 -4.38764549927e-08 3.64902795062e-06 -1.5295041492e-07 3.99932773725e-06 -4.52191882177e-07 3.49419837411e-06 -5.48812598784e-07 3.13539009692e-06 -4.62125489928e-07 3.22354848814e-06 -7.94129879894e-07 3.27664499587e-06 -8.0779058758e-07 2.88728068008e-06 -6.8092497353e-07 3.15419831231e-06 -7.38377661408e-07 3.50863905058e-06 -8.90821714697e-07 3.31219492698e-06 -8.12256103535e-07 3.39267083081e-06 -7.71087958486e-07 3.7293284628e-06 -9.74227516769e-07 3.68463580725e-06 -9.09862793407e-07 3.66066531103e-06 -1.04897314985e-06 3.93411435824e-06 -1.09543512185e-06 3.76574428537e-06 -9.32256309081e-07 4.04978820327e-06 -1.16515156079e-06 4.35401138564e-06 -1.06790292701e-06 4.38031859195e-06 -1.17341489542e-06 4.4991070267e-06 -1.10519139117e-06 4.82616434833e-06 -9.7376246238e-07 5.16481264767e-06 -1.014807434e-06 5.59306125312e-06 -7.62765886888e-07 5.73423912773e-06 -6.01926766757e-07 6.09813406974e-06 -2.37185137815e-07 6.46269759107e-06 3.05338697125e-07 6.71423800046e-06 9.45420130587e-07 7.14583735938e-06 1.17049380256e-06 9.78895842978e-06 -3.51038636043e-06 1.50362550648e-05 -2.10541980351e-05 -1.66653736071e-05 -1.77043935243e-05 -0.000113216658227 -5.24022546314e-06 -0.000181585394777 1.07597961034e-05 -0.000243458533572 2.70367073537e-05 -0.000258132096076 4.31976572221e-05 -0.000268790724889 5.89700748597e-05 -0.000277566892413 7.42889404936e-05 -0.000285554325419 8.91197531685e-05 -0.000292904156161 0.000103464568191 -0.000299730628963 0.000117337407022 -0.000306051091483 0.000130761690833 -0.000311865536529 0.00014376587771 -0.000317165031404 0.00015638161742 -0.000321945464733 0.000168642165094 -0.000326210100705 0.000180580851644 -0.000329966713215 0.000192229792031 -0.00033322347875 0.000203619011993 -0.000335986259654 0.00021477616461 -0.000338258461109 0.000225726617507 -0.00034004239239 0.000236493556902 -0.000341341440669 0.000247097931093 -0.000342162365836 0.000257558039146 -0.000342517803343 0.000267887732618 -0.00034242579554 0.000278091399935 -0.00034190450563 0.000288156311199 -0.000340965684308 0.00029804537628 -0.000339614981881 0.000307695059076 -0.000337863842917 0.000317020654751 -0.000335750777634 0.000325928286371 -0.000333363536345 0.000334330342935 -0.000330855014152 0.000342158733131 -0.000328445318889 0.000349374285154 -0.000326412178588 0.000355969950281 -0.000325082078652 0.000361946875705 -0.000324765999511 0.000367237850198 -0.000325673371237 0.000371115439632 -0.000326830538381 0.000371361275934 -0.000325523434136 0.000363908733408 -0.000317640311684 0.00034464028856 -0.000300281053103 0.000298678312493 -0.00025400009615 0.000223202830731 -0.000167563473717 -0.0001224816682 2.40879878428e-08 3.7716855222e-06 5.02780372492e-08 3.78895730871e-06 9.00700055689e-08 3.22745965172e-06 -1.66792256358e-07 3.26357848201e-06 -1.82018144647e-07 3.07679082869e-06 -1.49911776145e-07 3.16920544943e-06 -1.26018966402e-07 3.31334858498e-06 3.23167309604e-09 3.52047170271e-06 1.36510739811e-09 4.00191599279e-06 -3.24110063932e-07 3.82033573997e-06 -5.0425899229e-07 3.31603360444e-06 -4.68858446688e-07 3.18864383448e-06 -5.81637846216e-07 3.39002383901e-06 -7.71316622761e-07 3.0774543512e-06 -6.62377172797e-07 3.04573755856e-06 -5.51997460924e-07 3.39888542315e-06 -7.60733520575e-07 3.52145730679e-06 -7.2933032213e-07 3.36189311153e-06 -5.95657097211e-07 3.59623874199e-06 -7.87933709448e-07 3.87756124775e-06 -7.71977117273e-07 3.64541672299e-06 -6.90281658895e-07 3.85321859401e-06 -8.55401479707e-07 3.93184457846e-06 -7.80565698307e-07 3.97592061636e-06 -8.43396060357e-07 4.41792085924e-06 -8.39601825055e-07 4.37781000901e-06 -8.30697590849e-07 4.49159344437e-06 -7.55002790567e-07 4.75221383712e-06 -6.94940177189e-07 5.1067802339e-06 -6.03454804982e-07 5.50405203806e-06 -4.12910959282e-07 5.54677511527e-06 -2.19443621713e-07 5.90598605948e-06 1.13056881795e-07 6.13348269553e-06 4.85190282784e-07 6.34418158714e-06 9.24347999936e-07 6.7095602464e-06 2.67888132208e-06 8.05109702899e-06 3.12931256241e-06 1.45615890264e-05 -1.54241826615e-05 1.91059682116e-06 -1.38115543759e-05 -0.00011483226165 -2.81328870258e-06 -0.000192583611272 1.19560859097e-05 -0.000258228501649 2.73064609057e-05 -0.000273483244861 4.27100927263e-05 -0.000284195470666 5.78733177939e-05 -0.000292731344987 7.27061435694e-05 -0.00030038839272 8.71456110786e-05 -0.000307344838894 0.000101170649334 -0.000313756884488 0.000114774624594 -0.000319656347141 0.000127965374254 -0.000325057660358 0.000140759706097 -0.000329960862558 0.000153180348005 -0.000334367720795 0.000165252986182 -0.000338284454673 0.000177003971364 -0.00034171948734 0.0001884586387 -0.000344679976227 0.000199640216943 -0.000347169689321 0.000210569435054 -0.000349189518693 0.000221264413376 -0.000350739195154 0.000231740650313 -0.000351819453791 0.000242010670061 -0.000352434128628 0.000252083418045 -0.000352592229266 0.00026196119643 -0.000352305235208 0.000271632080869 -0.000351577021126 0.000281058706763 -0.000350394026055 0.00029016925681 -0.000348727367882 0.000298856367973 -0.000346553118537 0.000306986787591 -0.000343883747214 0.000314418825931 -0.000340798760049 0.000321023274784 -0.000337463267434 0.000326699232398 -0.000334125845077 0.000331386152857 -0.000331104411278 0.000335065006941 -0.000328766257975 0.000337713760203 -0.000327421503875 0.0003391913485 -0.000327159489714 0.000338108206762 -0.000325761946383 0.000330245788531 -0.000317684650964 0.000308190050276 -0.000295611196814 0.00025941227573 -0.000251534352654 0.000179103256515 -0.000173696794248 8.40242878694e-05 -7.25506215507e-05 -3.84439462132e-05 1.33178932987e-08 3.75883031307e-06 9.66633647886e-09 3.79322424471e-06 5.95440702115e-08 3.17820958991e-06 -7.80315911263e-08 3.40184803683e-06 -1.52075924247e-07 3.15144932037e-06 -1.31268155754e-07 3.14905198554e-06 -9.1446394309e-08 3.27422696494e-06 8.05745358995e-09 3.42172477538e-06 1.07253770803e-07 3.9035684199e-06 -1.09922254427e-07 4.03823889116e-06 -3.87951757686e-07 3.59467604669e-06 -4.79117880954e-07 3.28038471506e-06 -3.72562842793e-07 3.28402028717e-06 -5.75833181587e-07 3.28129465141e-06 -6.44588858389e-07 3.11509667775e-06 -4.69677883155e-07 3.22455947874e-06 -4.61009413654e-07 3.51355400625e-06 -6.43381165342e-07 3.5449311346e-06 -4.80155332677e-07 3.43377642131e-06 -4.38968468415e-07 3.83725613695e-06 -6.25232762418e-07 3.83247750615e-06 -5.09496640062e-07 3.73853553578e-06 -6.11936960886e-07 4.03545152646e-06 -6.24387640554e-07 3.98958935813e-06 -4.65127958759e-07 4.26004505443e-06 -5.29401952875e-07 4.44352761089e-06 -5.01212713672e-07 4.46495206175e-06 -4.69776274882e-07 4.72251818154e-06 -3.36662218056e-07 4.97569046532e-06 -2.08960459436e-07 5.37861447343e-06 -1.40379660825e-07 5.4803310451e-06 7.68549633108e-08 5.69115492907e-06 3.51532831058e-07 5.85862382255e-06 5.98579909844e-07 6.10134590846e-06 1.0196344554e-06 6.29667032462e-06 1.66932383066e-06 7.38909579857e-06 5.2696218122e-06 1.09855064483e-05 -1.10873240899e-05 1.82012257598e-05 -1.08720340337e-05 -0.00011505460834 -1.05741525016e-06 -0.000202404153644 1.27544303428e-05 -0.00027204288554 2.73509526945e-05 -0.000288081596259 4.2105177611e-05 -0.000298951232872 5.6720522817e-05 -0.000307348132776 7.10944408392e-05 -0.000314763645839 8.51473505254e-05 -0.000321399013789 9.88444086963e-05 -0.000327455194742 0.000112164665928 -0.000332977895266 0.000125104352598 -0.000337998735551 0.0001376709049 -0.000342528914604 0.000149879289602 -0.000346577727265 0.000161748106302 -0.000350154994485 0.000173296805812 -0.000353269986321 0.000184543893213 -0.000355928912624 0.00019550578955 -0.000358133446603 0.00020619631843 -0.000359881906064 0.000216626436568 -0.000361171129921 0.000226803914716 -0.000361998710929 0.000236732752256 -0.000362364667838 0.000246412065576 -0.000362273199333 0.00025583140817 -0.00036172615758 0.000264959183383 -0.000360706386738 0.000273727377403 -0.000359163816295 0.000282020706787 -0.00035702248446 0.000289678670748 -0.000354213061775 0.000296511002889 -0.00035071853498 0.00030232305728 -0.000346613623149 0.000306942183405 -0.00034208594263 0.00031023844881 -0.000337426002168 0.000312144252704 -0.000333014525865 0.00031264968918 -0.000329276442291 0.000311749394972 -0.000326527127714 0.000309307248503 -0.000324727681203 0.000303020881835 -0.000319494379265 0.000285698857555 -0.000300378958688 0.000243604885507 -0.000253530620026 0.000173046539164 -0.000180982410912 7.4195459477e-05 -7.48707374545e-05 1.79532332208e-05 -1.6281815228e-05 -2.049740181e-05 4.00987051794e-09 3.75594236501e-06 -3.60614441934e-08 3.83414152762e-06 -1.0374453513e-07 3.24661306122e-06 5.37559525539e-08 3.24501681613e-06 -1.04081126001e-07 3.31001894466e-06 -1.09192757591e-07 3.15488365192e-06 -6.76835065674e-08 3.2334777476e-06 -7.10635242841e-09 3.36197981325e-06 1.85282867741e-07 3.71204587659e-06 1.38766392061e-07 4.08563715973e-06 -1.83189996035e-07 3.91740252505e-06 -3.66204271287e-07 3.46401169067e-06 -3.39186662022e-07 3.25762524791e-06 -3.33367419063e-07 3.27614167645e-06 -5.51565189883e-07 3.33393689167e-06 -4.75012748657e-07 3.14872651089e-06 -3.05840039125e-07 3.34513864876e-06 -4.56032148323e-07 3.69607240784e-06 -4.19991802376e-07 3.39861011681e-06 -2.62016143755e-07 3.68017265052e-06 -4.17187462213e-07 3.98880712723e-06 -3.96934248327e-07 3.7194082294e-06 -3.26979586861e-07 3.96686248489e-06 -3.57751515636e-07 4.02182556443e-06 -2.79219028705e-07 4.18306140796e-06 -2.25543879372e-07 4.3914798806e-06 -2.47740083537e-07 4.48899050224e-06 -1.27655007505e-07 4.60434642937e-06 -3.5195239169e-08 4.8852302233e-06 -8.01317855696e-09 5.35374168771e-06 1.47770216167e-07 5.32683745118e-06 3.72361835999e-07 5.46715130292e-06 5.884411302e-07 5.64438511586e-06 7.47534383189e-07 5.94244982034e-06 9.96905718036e-07 6.04130875425e-06 1.8176409182e-06 6.57771563715e-06 3.70446502703e-06 9.04669924809e-06 -6.51571779284e-06 2.84109687612e-05 -8.53792014995e-06 -0.000113042031823 8.1956599954e-08 -0.000211033859007 1.31165700572e-05 -0.000285083336617 2.71068259131e-05 -0.0003020750258 4.13199757142e-05 -0.00031316646779 5.54598103176e-05 -0.000321489545037 6.94165587902e-05 -0.000328721742252 8.31027721249e-05 -0.00033508646138 9.64773624282e-05 -0.00034083099165 0.000109510770334 -0.000346012558913 0.000122191617281 -0.000350680925209 0.000134520353554 -0.000354859117756 0.000146505635379 -0.000358564595794 0.000158159811433 -0.000361810869376 0.000169495959089 -0.000364607918736 0.000180526140348 -0.000366960929392 0.000191260278955 -0.000368869446102 0.00020170562205 -0.000370329090026 0.000211866173184 -0.000371333491283 0.000221742166175 -0.000371876437137 0.00023132899297 -0.00037195316449 0.000240615685173 -0.00037156145732 0.000249577504911 -0.000370689494407 0.000258159259557 -0.000369289590397 0.000266254776591 -0.000367260848954 0.000273695718918 -0.000364465013881 0.00028025833909 -0.000360777564037 0.000285687798885 -0.000356150113208 0.000289731255901 -0.000350659747681 0.000292170919497 -0.000344528371351 0.000292848732139 -0.000338107274397 0.0002917023672 -0.000331871165489 0.00028875243861 -0.00032633092202 0.000284097263133 -0.000321878754311 0.000277681372274 -0.000318327800848 0.000265232597609 -0.000307057131578 0.000234291927129 -0.000269450466085 0.000170937715034 -0.000190176477113 7.05020671025e-05 -8.05405576799e-05 8.68086332881e-06 -1.30261757536e-05 5.24703915144e-06 -1.28604008043e-05 -1.52368572004e-05 2.9673235177e-08 3.72680912779e-06 3.49875828785e-08 3.8296166832e-06 -1.85932716992e-07 3.46822175493e-06 -1.17383457977e-08 3.07158555325e-06 -8.60506256378e-08 3.38513226462e-06 -9.10267530305e-08 3.16063209198e-06 -4.62163129686e-08 3.18949100217e-06 2.14070390459e-09 3.31447260176e-06 1.95833333621e-07 3.51927305168e-06 2.99801473818e-07 3.98265868568e-06 1.40747663425e-07 4.0773474732e-06 -1.80922588459e-07 3.78646553767e-06 -2.84011233997e-07 3.36140406024e-06 -2.2158177365e-07 3.21443446818e-06 -2.82100461248e-07 3.39526195475e-06 -4.40141548211e-07 3.30750830596e-06 -3.0820204514e-07 3.21407222369e-06 -1.59907540541e-07 3.54870202176e-06 -3.04825583803e-07 3.54447576856e-06 -2.07870280678e-07 3.58431410741e-06 -1.01305094819e-07 3.88339411871e-06 -1.99734658629e-07 3.81915549116e-06 -1.24433915578e-07 3.89302766199e-06 -1.11010283821e-07 4.0100183147e-06 -7.26590072402e-08 4.14637050716e-06 1.85880873478e-08 4.30208188037e-06 5.39337995303e-08 4.45546815297e-06 1.31892888326e-07 4.52834642396e-06 1.89778102347e-07 4.82966755e-06 3.62883672195e-07 5.18286246436e-06 5.25442036359e-07 5.16578283069e-06 6.62425128862e-07 5.33148612018e-06 7.54970972085e-07 5.55077488929e-06 8.46214295629e-07 5.85043645623e-06 9.26268240733e-07 5.95986143851e-06 8.80559745372e-07 6.608061485e-06 1.56382837405e-06 8.37965234509e-06 2.7660008839e-06 2.72049877618e-05 -6.35127546263e-06 -0.000103933198393 6.24551473859e-07 -0.000218016158802 1.30048258803e-05 -0.000297467369246 2.65420976573e-05 -0.000315614672908 4.03263574929e-05 -0.000326952169258 5.40673935144e-05 -0.00033523158455 6.76551119276e-05 -0.000342310276165 8.10024913916e-05 -0.00034843460124 9.40684332474e-05 -0.000353897726915 0.000106819706853 -0.000358764698365 0.000119240904904 -0.0003631031154 0.000131327798768 -0.000366947132867 0.000143084169294 -0.000370322234581 0.000154517143507 -0.000373245235745 0.000165634224772 -0.000375726499789 0.000176441706509 -0.00037776998672 0.000186943618646 -0.000379372970774 0.000197141123615 -0.000380528219877 0.000207031724453 -0.000381225679945 0.000216608382513 -0.000381454640817 0.00022585807626 -0.000381204311744 0.000234759503373 -0.000380464273635 0.000243272082278 -0.000379203361152 0.000251312059268 -0.00037733084176 0.000258726703536 -0.000374676749721 0.000265284028801 -0.000371023736862 0.000270687823154 -0.000366182901989 0.000274611751198 -0.000360075941764 0.000276741228192 -0.000352791182179 0.000276807897351 -0.00034459757077 0.000274620909525 -0.000335922224713 0.00027010636629 -0.000327359417763 0.000263294469693 -0.000319522543195 0.000254514607243 -0.000313110146412 0.000243958004203 -0.000307780273124 0.000224053914261 -0.000287166329756 0.000171503457855 -0.000216896455059 6.98937971507e-05 -8.85579094967e-05 4.93040649288e-06 -1.55688056448e-05 2.41595932358e-06 -1.05147907317e-05 2.3531425506e-06 -1.27671293598e-05 -1.28858562916e-05 4.34871361323e-08 3.68457803538e-06 6.07143704402e-08 3.81336450734e-06 -1.68259225446e-07 3.69811470529e-06 -1.61325452398e-07 3.06538234463e-06 -2.01766482291e-08 3.24477677255e-06 -3.15064056086e-08 3.17279244306e-06 1.74636594259e-09 3.15706869212e-06 4.39446206409e-08 3.27316132151e-06 1.53203404833e-07 3.4109592483e-06 3.46972863477e-07 3.78989317362e-06 3.64160784775e-07 4.0611939527e-06 1.28230719149e-07 4.02335778077e-06 -1.07790665364e-07 3.59825935812e-06 -1.83215231348e-07 3.29063278174e-06 -8.56049860393e-08 3.29845407173e-06 -2.27536253571e-07 3.45036183393e-06 -2.64231254617e-07 3.25162138195e-06 -5.88865046611e-08 3.34434643879e-06 -6.35190118282e-08 3.55022745668e-06 -1.19136930366e-07 3.64105506345e-06 4.41035431583e-08 3.72144920884e-06 4.85192110431e-08 3.81617884877e-06 4.83542995995e-08 3.89478404786e-06 1.12281287384e-07 3.94779251931e-06 1.76242430687e-07 4.08426561303e-06 2.2752109437e-07 4.25270230979e-06 3.12266708037e-07 4.3727914912e-06 3.21332597946e-07 4.52162380882e-06 4.46689750681e-07 4.70665757662e-06 6.79356394436e-07 4.95265852975e-06 7.92252310764e-07 5.05507101539e-06 9.57814435594e-07 5.16747141392e-06 1.05441386108e-06 5.45599689459e-06 1.15851543695e-06 5.7451988556e-06 1.1010781591e-06 6.01294731804e-06 9.64455085762e-07 6.76289910747e-06 -1.01042708933e-06 1.03592352752e-05 2.70721255593e-06 2.35157459529e-05 -6.74632678281e-06 -9.44574260991e-05 1.3784065899e-07 -0.00022489738815 1.23514694825e-05 -0.000309681141576 2.56558428238e-05 -0.000328918919409 3.91288020572e-05 -0.000340424782365 5.25446511497e-05 -0.000348647074028 6.58105362705e-05 -0.000355575889585 7.88489114219e-05 -0.000361472856051 9.16237106322e-05 -0.00036667255334 0.000104101902284 -0.000371243100929 0.000116267020625 -0.000375268611277 0.00012811211051 -0.000378792799068 0.000139637448312 -0.000381848321326 0.000150845959639 -0.000384454676621 0.000161740522994 -0.000386622137246 0.000172322517562 -0.000388353176723 0.000182590828981 -0.000389642561889 0.000192541230829 -0.00039047993756 0.000202165259164 -0.000390851035155 0.000211449129993 -0.000390739791184 0.000220371677616 -0.000390128091801 0.000228901365083 -0.00038899509371 0.000236979839554 -0.000387282913584 0.000244489205327 -0.000384841211016 0.000251220669001 -0.000381409251935 0.000256868617088 -0.000376672787794 0.000261056682691 -0.000370372291664 0.000263383636292 -0.000362404345608 0.000263470315448 -0.000352879703707 0.000260993493863 -0.000342122401655 0.00025571466227 -0.000330645162357 0.000247500190273 -0.00031914696552 0.000236271204482 -0.000308299456501 0.000222421060191 -0.000299268688607 0.000205762359065 -0.000291134514783 0.000175271597168 -0.000256671942657 7.38802256076e-05 -0.000115499582731 4.82908175428e-06 -1.94995706536e-05 1.36199350075e-06 -1.20948842715e-05 1.69585156426e-06 -1.08309926964e-05 1.15022600473e-06 -1.22300579869e-05 -1.17248156065e-05 4.82782264529e-08 3.63695039315e-06 3.49513947351e-08 3.82759033266e-06 -1.67752503336e-08 3.75065491462e-06 -1.72495666053e-07 3.22181052033e-06 -4.70998040022e-08 3.12011506755e-06 -1.96228825452e-08 3.14609069828e-06 3.99350395267e-08 3.09836096602e-06 8.88375040272e-08 3.22516525395e-06 1.36665977288e-07 3.36408662539e-06 3.42452469279e-07 3.58514391691e-06 4.33019284102e-07 3.97173805939e-06 4.44766428191e-07 4.01264766193e-06 1.59671037244e-07 3.88431247053e-06 -4.4458325691e-08 3.4955944158e-06 -5.88714304177e-08 3.31373200795e-06 1.35799348656e-08 3.37879259994e-06 -9.73853722833e-08 3.36356000398e-06 -2.66214001502e-08 3.27459281618e-06 1.2322970928e-07 3.40152812834e-06 1.36305664158e-07 3.62929318476e-06 1.25241359777e-07 3.73389951623e-06 2.3029307819e-07 3.71264496418e-06 2.74175551165e-07 3.8525822116e-06 3.08088854794e-07 3.91567904122e-06 3.66530293302e-07 4.02776959668e-06 4.64312730919e-07 4.15701877458e-06 5.08791432688e-07 4.33057807031e-06 6.01826930441e-07 4.4309260562e-06 7.17784191049e-07 4.59337658957e-06 9.02717124032e-07 4.7704074127e-06 1.01726321636e-06 4.94312906224e-06 1.16312559728e-06 5.02421626221e-06 1.32899148666e-06 5.29352861741e-06 1.50184708928e-06 5.57499188447e-06 1.60715137211e-06 5.91749325664e-06 1.66222698841e-06 6.71095428312e-06 2.79210457306e-06 9.26158916131e-06 6.88612394593e-07 2.56662270919e-05 -8.23961415156e-06 -8.55124665911e-05 -9.7532766741e-07 -0.000232154830537 1.1338538678e-05 -0.000321991051312 2.45319422211e-05 -0.000342109508999 3.77704836732e-05 -0.00035366102977 5.09152308563e-05 -0.000361789921006 6.38977834116e-05 -0.000368556908532 7.66539967522e-05 -0.000374227832165 8.91551022046e-05 -0.000379172695659 0.000101370799643 -0.000383458049696 0.000113285528931 -0.000387182825107 0.000124891224712 -0.00039039817634 0.000136185776995 -0.000393142782793 0.000147168934362 -0.000395437935202 0.00015783987563 -0.000397293381749 0.000168196002742 -0.000398709767561 0.000178231897125 -0.000399679057481 0.000187938703918 -0.00040018744278 0.000197302705069 -0.000400215782471 0.000206303971597 -0.000399741827053 0.000214913777626 -0.000398738631538 0.000223090533258 -0.000397172556205 0.000230756099004 -0.00039494911842 0.000237751805056 -0.000391837550742 0.000243803191462 -0.000387461276092 0.000248522471361 -0.000381392834389 0.000251450037556 -0.000373300758018 0.000252111761932 -0.000363067256454 0.000250068087348 -0.000350837296907 0.000244939003544 -0.000336994652624 0.000236425570598 -0.000322133007224 0.000224288413475 -0.000307012276716 0.000208332812447 -0.000292351166369 0.000188664884147 -0.000279607968006 0.000160923515405 -0.000263394853149 8.97816195391e-05 -0.000185531715359 8.57976158041e-06 -3.4289545217e-05 2.40947830805e-06 -1.33215205795e-05 2.06496978335e-06 -1.17470251126e-05 1.71891740495e-06 -1.04906126607e-05 8.11462035786e-07 -1.13004703707e-05 -1.09169034186e-05 8.25001947832e-08 3.55567313336e-06 7.86370870718e-08 3.83246971408e-06 1.33118435306e-07 3.69704368897e-06 -9.32381129038e-08 3.44892793707e-06 -1.75460466889e-07 3.20305206268e-06 -9.97218978095e-08 3.07112355284e-06 3.09483407081e-08 2.96849306795e-06 1.13037922879e-07 3.14395989174e-06 1.61501649616e-07 3.31657849746e-06 2.94381970924e-07 3.45330106379e-06 5.04764694344e-07 3.76242775765e-06 5.52720592381e-07 3.96583470114e-06 5.09432710877e-07 3.92865231257e-06 2.13986701529e-07 3.7920490345e-06 3.61077698346e-08 3.49247809872e-06 9.80676538515e-08 3.31778111054e-06 1.34036725815e-07 3.32859454083e-06 8.52502435225e-08 3.3244676851e-06 1.67397236021e-07 3.32055212841e-06 3.38448557075e-07 3.45960670234e-06 3.80417060733e-07 3.6934308562e-06 3.47990726875e-07 3.74666753457e-06 4.60730584358e-07 3.74152517381e-06 5.14299565869e-07 3.86400656939e-06 5.61429783634e-07 3.9826659647e-06 6.62570293029e-07 4.05806145521e-06 7.63345753288e-07 4.23209313494e-06 8.8339184774e-07 4.31346747552e-06 1.00622770738e-06 4.47326736272e-06 1.17378701838e-06 4.60563071714e-06 1.3034110588e-06 4.81646012102e-06 1.40364365971e-06 4.92769845829e-06 1.60123418827e-06 5.09966636159e-06 1.78010435036e-06 5.40062437034e-06 1.84740363263e-06 5.85223996496e-06 2.26768610557e-06 6.30732175013e-06 4.01755906864e-06 7.53336468804e-06 1.8856703861e-06 2.78183083295e-05 -8.8911697531e-06 -7.47067511677e-05 -2.04677228981e-06 -0.000238988945015 1.02244173149e-05 -0.00033425595364 2.3282780554e-05 -0.000355162600221 3.63107971973e-05 -0.00036668458279 4.92145447606e-05 -0.000374689900008 6.19407417765e-05 -0.000381279896331 7.44360861069e-05 -0.000386720433183 8.66785695407e-05 -0.000391412777179 9.86417781742e-05 -0.000395419169701 0.000110312255855 -0.00039885145918 0.000121681870302 -0.000401766229085 0.000132747161147 -0.000404206755201 0.000143505531602 -0.000406195277926 0.00015395340517 -0.000407740478292 0.000164085066619 -0.000408840920006 0.000173891658657 -0.000409485359362 0.000183360510743 -0.00040965619709 0.000192473393918 -0.000409328713383 0.000201205038756 -0.000408473606943 0.000209519804407 -0.000407053593498 0.000217366558144 -0.000405019502259 0.000224644753277 -0.000402227520049 0.000231147518522 -0.000398340506192 0.000236525041381 -0.000392839074151 0.000240302004506 -0.00038517015852 0.000241938548931 -0.000374937898852 0.000240899710764 -0.000362029154545 0.000236701626701 -0.000346640132231 0.000228923270141 -0.000329216960671 0.000217200921097 -0.000310411367747 0.000201147940705 -0.000290962369449 0.000180517783296 -0.000271723528526 0.000155494623496 -0.000254593409884 0.0001217099938 -0.000229609868113 3.34040897951e-05 -9.72164725565e-05 9.01904889813e-06 -9.89845419003e-06 4.81608402679e-06 -9.11551170665e-06 3.06830623379e-06 -9.99685103837e-06 2.00681907417e-06 -9.41785152794e-06 9.28916896604e-07 -1.02329116328e-05 -9.98028804037e-06 1.39986938271e-07 3.41641383614e-06 1.77350787362e-07 3.79601876143e-06 1.69986423561e-07 3.70528218198e-06 7.09048067282e-09 3.6126586287e-06 -1.71309083268e-07 3.38222314611e-06 -1.55840717091e-07 3.05636109463e-06 -3.22278307239e-08 2.84561153097e-06 8.01964805405e-08 3.03236920318e-06 1.68028623734e-07 3.22968810142e-06 2.47742087035e-07 3.37458703525e-06 4.67768012799e-07 3.54351857352e-06 5.62303000915e-07 3.87242806244e-06 6.78191988571e-07 3.81391700936e-06 5.59139767365e-07 3.91220671473e-06 3.44563257668e-07 3.70814034456e-06 1.86565324196e-07 3.47677552716e-06 2.71665950031e-07 3.24455377555e-06 2.98970981548e-07 3.29829540793e-06 2.83449348536e-07 3.33731864225e-06 3.81097209085e-07 3.36328877645e-06 5.74474414261e-07 3.50160906236e-06 6.16591204162e-07 3.70621054056e-06 6.09722762446e-07 3.75018997595e-06 7.0213103357e-07 3.77349474727e-06 8.11347543108e-07 3.87556693786e-06 8.98506652944e-07 3.97310662892e-06 1.03067642244e-06 4.10240170709e-06 1.1288133602e-06 4.21797447875e-06 1.2947188563e-06 4.31028449694e-06 1.40183709417e-06 4.50179916497e-06 1.587253187e-06 4.63452930299e-06 1.70667113582e-06 4.81163073516e-06 1.83650822344e-06 4.97472166153e-06 1.95364370382e-06 5.28716537986e-06 2.11712380199e-06 5.69584223996e-06 2.44299919743e-06 5.98706483208e-06 2.53084094391e-06 7.45641364844e-06 6.27281951986e-06 2.41067550517e-05 -8.19063599491e-06 -6.0222907454e-05 -2.92199328146e-06 -0.000244246186022 9.09563976256e-06 -0.000346265001222 2.19723646925e-05 -0.000368032067482 3.47982104326e-05 -0.000379504206736 4.74786369102e-05 -0.000387364958052 5.99666268707e-05 -0.000393763212703 7.2216734208e-05 -0.000398966373362 8.42121239996e-05 -0.000403404387254 9.59309831074e-05 -0.000407134527791 0.000107362466945 -0.000410279719339 0.000118499189139 -0.000412899967371 0.000129337030242 -0.000415041915337 0.000139871913505 -0.000416727756816 0.000150098228247 -0.000417964727126 0.000160008012171 -0.000418748932702 0.000169589710851 -0.000419065604514 0.000178827659427 -0.000418892950442 0.000187699887273 -0.000418199981433 0.000196176609935 -0.000416949549335 0.000204216092784 -0.000415092423059 0.000211758142633 -0.000412561001371 0.000218676550072 -0.000409145429482 0.000224707382738 -0.000404370944053 0.000229416325198 -0.000397547706851 0.000232238486736 -0.000387992216651 0.000232563780371 -0.0003752632509 0.00022981749064 -0.00035928311988 0.000223502898763 -0.000340325770065 0.00021320082725 -0.000318914807636 0.000198532281221 -0.000295742849179 0.000179011238257 -0.000271442189159 0.000154076309026 -0.000246795841182 0.000121667404373 -0.000222180909009 7.08030815197e-05 -0.000178749065137 8.42351978985e-06 -3.48322826301e-05 6.22262977379e-06 -7.69321120236e-06 4.92388744961e-06 -7.81245004176e-06 3.38224212845e-06 -8.45426357697e-06 2.25670162963e-06 -8.29912787824e-06 1.10499362641e-06 -9.06517889158e-06 -8.87902693808e-06 1.7912164595e-07 3.23845947964e-06 2.40020981872e-07 3.73620698845e-06 1.93469506147e-07 3.75283329788e-06 1.25402770465e-07 3.68165059482e-06 -2.61838096059e-08 3.53465924152e-06 -1.25015986721e-07 3.155949448e-06 -1.21285389874e-07 2.84259830257e-06 5.99847955817e-09 2.90588693957e-06 1.32175794009e-07 3.10442203702e-06 2.37729277622e-07 3.27004570573e-06 3.75968982064e-07 3.40633813562e-06 6.05045431982e-07 3.6444986638e-06 6.23873515999e-07 3.79623725666e-06 7.34679897918e-07 3.80259501594e-06 6.25639954496e-07 3.81834788035e-06 4.844888114e-07 3.61907442477e-06 3.78433306115e-07 3.35168320078e-06 4.54400992982e-07 3.22347658844e-06 4.97317640478e-07 3.29565466304e-06 5.13761219782e-07 3.34825453118e-06 6.20488751073e-07 3.39635662072e-06 7.97718636748e-07 3.53066421881e-06 8.65833939304e-07 3.68388214128e-06 8.99358060326e-07 3.74193485574e-06 1.0291064135e-06 3.74785511263e-06 1.17093694728e-06 3.83352649698e-06 1.26441095116e-06 4.01133552853e-06 1.40916168711e-06 4.07589049117e-06 1.51684967408e-06 4.20568904418e-06 1.67297243214e-06 4.34895016859e-06 1.81736684027e-06 4.49333564126e-06 1.97540719857e-06 4.65772626295e-06 2.07658626911e-06 4.877311321e-06 2.1703540014e-06 5.19901704462e-06 2.36058925005e-06 5.50903273372e-06 2.36301147848e-06 5.9911188367e-06 1.89325733324e-06 7.93674750492e-06 7.17121746664e-06 1.88412788369e-05 -8.47658818944e-06 -4.45475902987e-05 -4.05919259832e-06 -0.000248650380399 7.89487466515e-06 -0.000358208983027 2.06281191769e-05 -0.000380756352807 3.32719015496e-05 -0.000392140093973 4.57423241038e-05 -0.000399828376753 5.80036618373e-05 -0.000406018230724 7.00186169765e-05 -0.000410975479898 8.17744028419e-05 -0.000415154643604 9.32542576497e-05 -0.00041860909843 0.000104450315634 -0.000421470693678 0.000115356323429 -0.000423801149339 0.000125968168763 -0.000425649187258 0.00013628086055 -0.000427036234662 0.000146287525839 -0.000427967515294 0.000155978551135 -0.00042843650986 0.000165340445416 -0.000428424424069 0.000174355209566 -0.000427905054726 0.000182997891419 -0.00042684034326 0.0001912350011 -0.000425184667091 0.000199019464786 -0.000422875154625 0.000206282527036 -0.00041982254182 0.0002128676961 -0.00041572926775 0.000218443663727 -0.000409945734481 0.000222482747148 -0.000401585820535 0.000224332445488 -0.000389841123022 0.00022332784363 -0.000374258080957 0.000218881462354 -0.000354836321394 0.000210519692446 -0.000331963455088 0.000197874138812 -0.000306268376791 0.000180631838949 -0.000278499724081 0.000158451756782 -0.000249263703673 0.000131141782374 -0.000219488634579 9.6918588489e-05 -0.000187965652166 3.71735277805e-05 -0.000118993606699 1.18916474853e-05 -9.54644713158e-06 8.21925637879e-06 -4.01632974108e-06 5.84916331855e-06 -5.44070790169e-06 3.94834251465e-06 -6.55167033152e-06 2.51809305963e-06 -6.86025024963e-06 1.31954964592e-06 -7.87645750964e-06 -7.5534325221e-06 1.66903375168e-07 3.07228835751e-06 2.40206340745e-07 3.66390946057e-06 2.44332295757e-07 3.7497434582e-06 2.06471777911e-07 3.72052026842e-06 1.31297655078e-07 3.61077298568e-06 -2.21036556383e-08 3.31018110022e-06 -1.38466746137e-07 2.95972335391e-06 -4.3260702496e-08 2.81146823666e-06 9.47520924693e-08 2.96730276099e-06 2.27331842885e-07 3.13844046565e-06 3.49207710543e-07 3.28551899757e-06 5.71007858947e-07 3.42381727883e-06 7.11836290332e-07 3.65663228073e-06 7.56779759558e-07 3.75887241608e-06 8.3529301866e-07 3.7410651348e-06 7.3906279119e-07 3.7165002799e-06 6.28524043512e-07 3.46337835904e-06 5.55235139024e-07 3.29791715145e-06 6.3727740731e-07 3.21487942941e-06 6.96471654381e-07 3.29041504502e-06 7.85944451001e-07 3.30839223548e-06 8.47613821158e-07 3.47061205251e-06 1.03558215739e-06 3.49770082179e-06 1.13625546252e-06 3.64317361724e-06 1.21746593904e-06 3.66866145972e-06 1.34903525547e-06 3.70407990312e-06 1.48934148367e-06 3.87336918591e-06 1.62020817718e-06 3.94765888694e-06 1.7743887926e-06 4.05433168597e-06 1.94444382048e-06 4.182006486e-06 2.05904965737e-06 4.3823280032e-06 2.22939370284e-06 4.49068328442e-06 2.37941796375e-06 4.73235741894e-06 2.54892629172e-06 5.03343567919e-06 2.70427958743e-06 5.3590148441e-06 2.90581745219e-06 5.79447907429e-06 3.79096021963e-06 7.0570096904e-06 4.75435487464e-06 1.78926049334e-05 -9.42869175647e-06 -3.03311868649e-05 -5.35498504926e-06 -0.000252711059408 6.68451192683e-06 -0.000370238232943 1.93009455058e-05 -0.000393363389739 3.17751706768e-05 -0.000404605709156 4.40412181503e-05 -0.000412086531891 5.60801731126e-05 -0.000418049785285 6.78641598285e-05 -0.000422752406442 7.93833631193e-05 -0.000426666967309 9.06263188675e-05 -0.000429845306751 0.000101588177639 -0.000432425943582 0.000112264163908 -0.000434470691817 0.000122650460852 -0.000436029309082 0.000132741797044 -0.000437121683932 0.000142530463787 -0.000437750707267 0.000152005876796 -0.000437906836682 0.000161153043346 -0.000437566988875 0.000169952334575 -0.000436700163302 0.000178376326698 -0.000435260617735 0.000186388601603 -0.000433193603963 0.000193937311553 -0.000430420901819 0.000200945336125 -0.000426827914951 0.00020721955728 -0.000422001123342 0.000212348866681 -0.000415072949532 0.000215704308361 -0.000404939398347 0.000216551510713 -0.000390686713275 0.000214191455402 -0.000371896582382 0.000208054345702 -0.00034869789703 0.000197724902142 -0.000321632472521 0.000182918323661 -0.000291459884379 0.000163408821785 -0.000258988962192 0.000139005949374 -0.000224864890177 0.000109626004826 -0.000190110573125 7.35720394097e-05 -0.000151907029372 2.01937214456e-05 -6.56110806602e-05 1.1853595817e-05 -1.20038125696e-06 8.83942410065e-06 -9.97805940832e-07 6.32774981402e-06 -2.92432452618e-06 4.35804202123e-06 -4.5799858394e-06 2.82357045896e-06 -5.33115173771e-06 1.44305315687e-06 -6.48201920211e-06 -6.11403106812e-06 9.57723936765e-08 2.97763846856e-06 2.14848321679e-07 3.54597274954e-06 2.67638628617e-07 3.69808289005e-06 2.81152150035e-07 3.70809332092e-06 2.45684127339e-07 3.64726144127e-06 1.27865745768e-07 3.42892513545e-06 -6.47657686533e-08 3.15319681333e-06 -6.90794603435e-08 2.81657665056e-06 6.39409692589e-08 2.83512744696e-06 2.09911065849e-07 2.99342467863e-06 3.51648349408e-07 3.14481098651e-06 4.90540071399e-07 3.28603483533e-06 7.21920695447e-07 3.42643201868e-06 8.18743728678e-07 3.66330354422e-06 9.89533058973e-07 3.57151390383e-06 1.00016381104e-06 3.70712614002e-06 8.63205362642e-07 3.60158671554e-06 8.17729689297e-07 3.34461614008e-06 7.79768836796e-07 3.25406665849e-06 8.07565382597e-07 3.26398073813e-06 9.49956559901e-07 3.16744046418e-06 1.06390755869e-06 3.35827284895e-06 1.14725062507e-06 3.41604495393e-06 1.30533553096e-06 3.48689885081e-06 1.41830493922e-06 3.55759408239e-06 1.5129238593e-06 3.61147573692e-06 1.68963961062e-06 3.69882419041e-06 1.84023412601e-06 3.799332209e-06 2.00761564691e-06 3.88954488201e-06 2.115171313e-06 4.0774557294e-06 2.29361203298e-06 4.20682856429e-06 2.42663440565e-06 4.36125327602e-06 2.59052428086e-06 4.5714362863e-06 2.80007017518e-06 4.82841917652e-06 3.05586880883e-06 5.10687233335e-06 3.35362060761e-06 5.49990219591e-06 3.73598841454e-06 6.6773761829e-06 6.18512375906e-06 1.54650680469e-05 -9.15454908619e-06 -1.49679862468e-05 -6.43160146905e-06 -0.000255420805964 5.57995052077e-06 -0.000382239638992 1.80544055887e-05 -0.000405828474869 3.03527193173e-05 -0.000416895270104 4.2409939295e-05 -0.000424135332435 5.42229475227e-05 -0.000429854619961 6.57740771999e-05 -0.00043429537771 7.70551930434e-05 -0.00043793990973 8.80599412121e-05 -0.000440841802373 9.8786309678e-05 -0.000443144044181 0.000109231089556 -0.000444907259723 0.000119391033236 -0.000446181172394 0.000129260863602 -0.000446983698099 0.000138832581518 -0.000447314905106 0.000148094921529 -0.000447162097448 0.000157031950487 -0.000446497354955 0.000165622719033 -0.000445284805502 0.000173837868305 -0.000443470108991 0.000181638454606 -0.000440989073733 0.000188968228233 -0.000437746017292 0.000195741372842 -0.000433596875832 0.000201719348039 -0.000427975320958 0.000206396642056 -0.000419746840486 0.000209036110533 -0.000407575796545 0.000208831523596 -0.000390479304881 0.000205074595166 -0.000368137106747 0.000197246803897 -0.000340867589692 0.000185028787377 -0.000309411688203 0.000168257325623 -0.000274685353646 0.000146832963139 -0.000237563350932 0.000120707268293 -0.000198737664579 8.95938026713e-05 -0.000159002516619 5.18591822621e-05 -0.000114166093544 1.30743816525e-05 -2.68166140884e-05 1.00164097061e-05 1.86253458011e-06 8.5265193362e-06 4.97583271589e-07 6.7169073967e-06 -1.11044117147e-06 4.63460391931e-06 -2.49451329056e-06 3.17357636226e-06 -3.8616576351e-06 1.61728575005e-06 -4.9347780017e-06 -4.49360222502e-06 1.80961229235e-08 2.96030040215e-06 1.6999862475e-07 3.39511140874e-06 2.60412885506e-07 3.60879650501e-06 3.20976980275e-07 3.64865389363e-06 3.31433256028e-07 3.63789056951e-06 2.48749509232e-07 3.51263474642e-06 1.11455439926e-07 3.2914185321e-06 -2.92770111976e-08 2.95814223164e-06 3.54438410863e-08 2.77124879213e-06 1.84048336375e-07 2.84573072383e-06 3.44771805824e-07 2.9850885076e-06 5.00725106244e-07 3.13116129979e-06 6.59833142945e-07 3.26847551288e-06 8.84968001034e-07 3.43936702901e-06 9.42482237472e-07 3.51520385185e-06 1.13670024332e-06 3.51418621449e-06 1.10117797272e-06 3.6384027113e-06 1.07015389371e-06 3.37688004364e-06 1.03797582483e-06 3.28756057914e-06 1.02251471774e-06 3.28078282745e-06 1.05024572477e-06 3.14109554854e-06 1.24330346489e-06 3.1667160227e-06 1.35332259758e-06 3.30765532191e-06 1.46872309082e-06 3.37319732067e-06 1.58732265872e-06 3.44077822984e-06 1.74055782272e-06 3.46011591408e-06 1.89124425094e-06 3.55006374371e-06 2.07793447794e-06 3.61474990525e-06 2.20395612624e-06 3.76590416577e-06 2.36534372573e-06 3.9185991402e-06 2.54030127698e-06 4.03459738202e-06 2.71710795934e-06 4.18675476219e-06 2.90498492756e-06 4.38700071867e-06 3.11923400501e-06 4.61714315848e-06 3.31132351512e-06 4.91742823113e-06 3.43695363745e-06 5.37627176528e-06 3.54367990416e-06 6.57937059209e-06 6.3522570646e-06 1.26625138023e-05 -8.97602081755e-06 4.09560277619e-07 -7.37350650343e-06 -0.000257012273351 4.63703321441e-06 -0.000394241549583 1.69460059026e-05 -0.000418129026094 2.90462826096e-05 -0.000428987159414 4.08795250483e-05 -0.000435960281455 5.24554083587e-05 -0.00044142207281 6.37660002662e-05 -0.00044559739488 7.48033832733e-05 -0.000448968450114 8.55654517079e-05 -0.000451594839991 9.60525811468e-05 -0.000453621974587 0.000106263110222 -0.000455108547152 0.000116194389625 -0.000456103261969 0.000125841438216 -0.000456621706933 0.000135196164233 -0.000456660864475 0.000144247062327 -0.000456204545745 0.000152977401286 -0.000455219688118 0.000161365355768 -0.000453665186894 0.00016937966815 -0.000451477389582 0.000176979249467 -0.000448582109993 0.000184103207183 -0.000444863984457 0.000190656168564 -0.00044014433652 0.000196342206814 -0.000433656366024 0.000200544480896 -0.000423944546782 0.000202412457351 -0.000409439563141 0.000201081871298 -0.000389144820987 0.000195862917308 -0.000362914450474 0.000186321198631 -0.000331322140737 0.000172267218955 -0.000295353658018 0.000153694627448 -0.000256108409789 0.000130689175177 -0.000214555550418 0.000103417138783 -0.000171469690691 7.1622950725e-05 -0.000127201162209 3.12660483209e-05 -7.38087791774e-05 8.96232175203e-06 -4.50825627926e-06 8.5830370077e-06 2.24699446163e-06 7.78190165009e-06 1.30373137662e-06 6.58624257066e-06 8.98241613543e-08 5.03933211528e-06 -9.43951115905e-07 3.33215629627e-06 -2.15768361808e-06 1.64153758545e-06 -3.23531331273e-06 -2.85462867024e-06 1.1905741334e-08 2.94952075679e-06 1.32908601113e-07 3.27521300865e-06 2.50310597001e-07 3.49252643812e-06 3.24493928769e-07 3.57560680428e-06 3.7383247544e-07 3.58966907998e-06 3.3124132396e-07 3.55628582922e-06 2.48871368895e-07 3.37478299378e-06 1.220520987e-07 3.08587926261e-06 4.51372013365e-08 2.84902136988e-06 1.52744501402e-07 2.73899987946e-06 3.26764750471e-07 2.81201758299e-06 5.0538571578e-07 2.95357344864e-06 6.80294000485e-07 3.09466360389e-06 8.99788417973e-07 3.22103139339e-06 1.0313182133e-06 3.38489918558e-06 1.09556362718e-06 3.45117559287e-06 1.27101491932e-06 3.46421966067e-06 1.23212208142e-06 3.41705056604e-06 1.22975371145e-06 3.29120625836e-06 1.24115707115e-06 3.27071996918e-06 1.26937540313e-06 3.11423311853e-06 1.38310695868e-06 3.05438978329e-06 1.53140282721e-06 3.16086101898e-06 1.65066180636e-06 3.25551441595e-06 1.7630601275e-06 3.33003566239e-06 1.91241422721e-06 3.31241511013e-06 2.11572916418e-06 3.34847654002e-06 2.25925040024e-06 3.47304190481e-06 2.41013420854e-06 3.61699902032e-06 2.59581312841e-06 3.73498893802e-06 2.77485631532e-06 3.85751732616e-06 2.93574941292e-06 4.02817637159e-06 3.12019351237e-06 4.20455670197e-06 3.32914812199e-06 4.41042145035e-06 3.58354052455e-06 4.66564007394e-06 3.81215641789e-06 5.15131856726e-06 4.5101652057e-06 5.87915640493e-06 5.36401595305e-06 1.18342256183e-05 -8.05937638749e-06 1.38458516946e-05 -7.94395192668e-06 -0.00025712070364 3.96142736987e-06 -0.000406140935774 1.6033856502e-05 -0.000430194995421 2.78901089621e-05 -0.000440836640261 3.94735918233e-05 -0.000447536514129 5.07949609094e-05 -0.000452735819718 6.18529835143e-05 -0.000456647275092 7.26377143877e-05 -0.000459744627844 8.31501746352e-05 -0.000462098300694 9.33922829803e-05 -0.000463854808424 0.000103363878881 -0.000465070618851 0.000113062848782 -0.000465792621993 0.000122484604277 -0.000466033815713 0.000131621188927 -0.000465787886282 0.000140460977566 -0.000465034935052 0.000148986724169 -0.000463736270034 0.000157175734551 -0.000461845378189 0.000164994967775 -0.000459288169111 0.000172400983417 -0.000455980159021 0.000179327772604 -0.000451783279816 0.000185668565441 -0.000446478198277 0.00019105453887 -0.0004390358878 0.000194738440282 -0.000427622475108 0.000195753656984 -0.000410449153788 0.000193195881647 -0.000386581731161 0.000186422989982 -0.000356136406353 0.000175115036957 -0.000320009098076 0.000159238158661 -0.000279471078459 0.000138962437354 -0.000235827819392 0.000114585193276 -0.000190175987946 8.64831881892e-05 -0.000143365712262 5.44624320336e-05 -9.51864782572e-05 1.73291903544e-05 -3.66578284585e-05 9.18415733824e-06 3.64217327184e-06 7.96086829067e-06 3.47455245827e-06 6.99330376109e-06 2.27586361243e-06 6.02541478306e-06 1.06237424203e-06 4.92632779789e-06 1.61041169693e-07 3.37952162562e-06 -6.02912734129e-07 1.60038484656e-06 -1.46329681275e-06 -1.24890692531e-06 6.01043955733e-08 2.89022281867e-06 1.2245586363e-07 3.21387385538e-06 2.39525781113e-07 3.37655069826e-06 3.20698464364e-07 3.49555986852e-06 3.85596836575e-07 3.525895021e-06 4.15175231348e-07 3.52782331271e-06 3.34610145205e-07 3.45640408909e-06 2.436458085e-07 3.17781572999e-06 1.58802635518e-07 2.93478382001e-06 1.44246250024e-07 2.75443344396e-06 2.96322875874e-07 2.66084002271e-06 4.87495277097e-07 2.76337220673e-06 6.78532974456e-07 2.90467134545e-06 8.69612211399e-07 3.03105544965e-06 1.09536299275e-06 3.16032206794e-06 1.2253718003e-06 3.32240602395e-06 1.33255189762e-06 3.35828191287e-06 1.41846288069e-06 3.33240838305e-06 1.42378199677e-06 3.28718691669e-06 1.46383162491e-06 3.2319804456e-06 1.48234670805e-06 3.0970179229e-06 1.56783780126e-06 2.97021603909e-06 1.70318946231e-06 3.02689370858e-06 1.82830343363e-06 3.13186900822e-06 1.96782176219e-06 3.19198993572e-06 2.09455669306e-06 3.18715548253e-06 2.24798661886e-06 3.19647353133e-06 2.41287904623e-06 3.3096461009e-06 2.6020196377e-06 3.42936596056e-06 2.78520635719e-06 3.55338321548e-06 2.9773185764e-06 3.66706272986e-06 3.19922554722e-06 3.80772394024e-06 3.42934229866e-06 3.97606322039e-06 3.69062628318e-06 4.15089246068e-06 3.94936358944e-06 4.40786040335e-06 4.32757235432e-06 4.77238816495e-06 4.96526531567e-06 5.2476247216e-06 6.79875911039e-06 9.9988248174e-06 -5.46956354621e-06 2.61602299075e-05 -8.09492929953e-06 -0.000254489909433 3.58097217879e-06 -0.000417812208249 1.53375122677e-05 -0.000441946361271 2.68983398094e-05 -0.000452391784389 3.82033362202e-05 -0.000458835411731 4.92511059761e-05 -0.000463776946301 6.00424619966e-05 -0.00046743149244 7.05638901734e-05 -0.000470258349172 8.08181908568e-05 -0.000472344465355 9.08082293063e-05 -0.000473836266222 0.000100535051358 -0.000474788593206 0.000109997111452 -0.000475245559485 0.000119190109979 -0.000475217578222 0.000128106338672 -0.00047469477317 0.000136734118837 -0.000473653400693 0.000145055738567 -0.000472048651552 0.000153047699754 -0.000469828275399 0.000160674878311 -0.00046690655199 0.000167891257241 -0.000463188063992 0.000174624520571 -0.000458508499661 0.000180754082519 -0.00045260014367 0.00018581824729 -0.000444092941003 0.000188918981224 -0.00043071647446 0.000188974399373 -0.00041049819659 0.000185062370979 -0.000382663519589 0.000176618474192 -0.000347686574719 0.000163465117228 -0.000306849527297 0.00014574286907 -0.000261742633145 0.000123809845213 -0.000213889538477 9.81691012992e-05 -0.000164534541575 6.94166222113e-05 -0.000114613791729 3.79140037567e-05 -6.36698813344e-05 1.00364871329e-05 -8.76997909696e-06 7.45086515567e-06 6.23280898578e-06 6.75816327658e-06 4.17170009877e-06 5.97161092674e-06 3.06690397397e-06 5.17941434845e-06 1.85976332727e-06 4.32465115187e-06 1.01917027561e-06 3.1317860684e-06 5.89796084907e-07 1.28041949558e-06 4.04637836849e-07 3.27884739651e-08 9.83481313267e-08 2.79292412459e-06 1.37523909625e-07 3.17576398334e-06 2.19222700208e-07 3.29593161604e-06 3.06868187467e-07 3.40903154227e-06 3.75484397287e-07 3.45841673529e-06 4.35331176306e-07 3.46911675201e-06 4.4451411824e-07 3.44834374555e-06 3.31906424298e-07 3.29148693624e-06 3.03862823227e-07 2.96379780423e-06 2.42299944838e-07 2.81692438135e-06 2.79623744504e-07 2.62440426185e-06 4.47984323503e-07 2.59592332361e-06 6.46630637282e-07 2.70699306501e-06 8.54300732241e-07 2.82441598662e-06 1.05521464089e-06 2.96050261263e-06 1.29729505681e-06 3.08148299082e-06 1.43153822217e-06 3.22525516016e-06 1.52030809057e-06 3.24487106964e-06 1.58528136792e-06 3.22346765424e-06 1.64939325946e-06 3.16912502527e-06 1.70344822662e-06 3.04421097469e-06 1.75432784235e-06 2.92057774748e-06 1.86606763865e-06 2.91644334092e-06 2.00920614284e-06 2.99004409986e-06 2.13387355427e-06 3.06865276936e-06 2.27074597222e-06 3.05152880587e-06 2.3995466771e-06 3.06887302231e-06 2.575424797e-06 3.13488266136e-06 2.75888505982e-06 3.24705672284e-06 2.95793714911e-06 3.35552310644e-06 3.16167347001e-06 3.46438765301e-06 3.34725575165e-06 3.62324313793e-06 3.54249749047e-06 3.78164734666e-06 3.7651742101e-06 3.92841895541e-06 3.99661509433e-06 4.17693821695e-06 4.29272481831e-06 4.47819067578e-06 4.59387438751e-06 4.94395386793e-06 6.69686422114e-06 7.92191073772e-06 -1.87527956446e-06 3.47412571046e-05 -7.73426594771e-06 -0.00024862861027 3.49942045849e-06 -0.000429042044366 1.48449426029e-05 -0.000453288019812 2.60646608234e-05 -0.000463607574965 3.70677711139e-05 -0.000469834403444 4.78253092796e-05 -0.000474530060449 5.83363742633e-05 -0.000477937687013 6.85832967591e-05 -0.000480499973134 7.85703402647e-05 -0.000482325711694 8.8300621483e-05 -0.000483560384689 9.77764367801e-05 -0.000484257810128 0.000106996502838 -0.000484458753584 0.000115956849258 -0.000484170686381 0.000124649799128 -0.000483380278941 0.000133063683971 -0.000482059565256 0.000141180225122 -0.000480157351049 0.000148975038614 -0.00047761512415 0.00015641060045 -0.000474334154276 0.000163437714664 -0.000470207305299 0.000169976357472 -0.000465039461134 0.000175888711174 -0.000458505136448 0.000180595778172 -0.000448792919976 0.000183027669883 -0.000433141587632 0.000181993130064 -0.000409457035698 0.000176578177333 -0.00037724219345 0.000166325912609 -0.00033742803207 0.000151223059838 -0.000291740428237 0.000131599232971 -0.000242112797435 0.000108006544317 -0.000190293022283 8.11106199474e-05 -0.000137635846014 5.15715144828e-05 -8.50741819202e-05 1.93337697363e-05 -3.14194903101e-05 5.01771786738e-06 5.55718598021e-06 5.32837375318e-06 5.92632259778e-06 5.25512525902e-06 4.24812527215e-06 4.77732602916e-06 3.5478958978e-06 4.12995996173e-06 2.50962078326e-06 3.44008683591e-06 1.71441724463e-06 2.61682400214e-06 1.42135551519e-06 1.40083371222e-06 1.62347364984e-06 1.44622892486e-06 9.65891666401e-08 2.69713032867e-06 1.40520212897e-07 3.13281716365e-06 1.78350187622e-07 3.25916277682e-06 2.6623737879e-07 3.32226282445e-06 3.51796368571e-07 3.37401964909e-06 4.31375039122e-07 3.39072086086e-06 4.99655479873e-07 3.38124704231e-06 4.71597094701e-07 3.32067943927e-06 4.02140951167e-07 3.03430220909e-06 4.13799083673e-07 2.80626349527e-06 3.72253097708e-07 2.66688496059e-06 4.4285070191e-07 2.526213709e-06 5.97442500001e-07 2.55329722504e-06 8.11937119537e-07 2.61086239402e-06 1.03227923215e-06 2.74116547766e-06 1.24609724077e-06 2.8687311132e-06 1.49005758196e-06 2.98241326384e-06 1.61886289869e-06 3.1172384139e-06 1.71951592869e-06 3.12399555639e-06 1.80532737366e-06 3.08450407314e-06 1.86853798463e-06 2.98216933864e-06 1.93993293922e-06 2.85034725287e-06 2.03564931896e-06 2.82188414092e-06 2.16586168962e-06 2.86100446851e-06 2.30955939212e-06 2.92608752574e-06 2.43055596106e-06 2.93160463433e-06 2.56256639349e-06 2.93779274682e-06 2.72777766613e-06 2.9705250123e-06 2.90853983137e-06 3.06711524785e-06 3.09889046846e-06 3.16592207564e-06 3.30226511248e-06 3.26169046067e-06 3.53858035854e-06 3.38732623703e-06 3.75256128034e-06 3.56745973124e-06 3.96500160552e-06 3.71589141113e-06 4.15752864585e-06 3.98358528813e-06 4.36444624824e-06 4.26976595772e-06 4.69609616279e-06 4.61475229565e-06 5.70522787721e-06 6.90510872031e-06 6.79659696762e-06 3.36424036806e-05 -6.60279974914e-06 -0.000235226921203 3.63676247358e-06 -0.000439280013116 1.45003669157e-05 -0.00046414948375 2.53654879617e-05 -0.000474470582687 3.60576059612e-05 -0.000480524396743 4.65137238287e-05 -0.000484983944037 5.67323626063e-05 -0.000488153852199 6.66938674316e-05 -0.000490458644064 7.64043991523e-05 -0.000492033063877 8.5867354838e-05 -0.000493019722212 9.50859268433e-05 -0.000493472424773 0.000104059162373 -0.000493427576851 0.000112782947139 -0.000492889729265 0.000121249662967 -0.000491841800145 0.000129447244198 -0.000490251642271 0.000137356886594 -0.000488061100361 0.000144952951802 -0.000485205059844 0.000152195188149 -0.000481570030832 0.000159030490595 -0.000477036167823 0.000165369374187 -0.000471371911896 0.000171052933678 -0.00046418235603 0.000175355009837 -0.000453088846433 0.000177014032432 -0.000434794572254 0.00017474132397 -0.000407178428802 0.000167661728262 -0.000370156808516 0.000155453579999 -0.000325214327663 0.000138280392585 -0.000274561799046 0.000116659796149 -0.000220487030158 9.13576029239e-05 -0.000164988569589 6.31999498313e-05 -0.000109479406092 3.23021690389e-05 -5.41630638499e-05 6.58287740852e-06 -5.68030660813e-06 3.37985586373e-06 8.76578459046e-06 3.89412809795e-06 5.41506011348e-06 3.89151632289e-06 4.25307670778e-06 3.60549191365e-06 3.83610567245e-06 3.02092248493e-06 3.09819911398e-06 2.59459127128e-06 2.14241952799e-06 2.27367482625e-06 1.74673510594e-06 1.00572172612e-06 2.91390159298e-06 2.45517887231e-06 1.0083087184e-07 2.59728636693e-06 8.47933390896e-08 3.14996624274e-06 1.17943490213e-07 3.22716878836e-06 2.13921267024e-07 3.22747274072e-06 3.30238713876e-07 3.25892940891e-06 4.40379282825e-07 3.28182600579e-06 5.40294447661e-07 3.28257392093e-06 6.0248922362e-07 3.25970890865e-06 5.20984060061e-07 3.11696308246e-06 5.39558319985e-07 2.78872944649e-06 5.62412983638e-07 2.64501086259e-06 5.74012502057e-07 2.51551580484e-06 5.86781169393e-07 2.54142568789e-06 7.67158577323e-07 2.43136419954e-06 9.83044891341e-07 2.52620187895e-06 1.22327099477e-06 2.62946602982e-06 1.44677233048e-06 2.75992802585e-06 1.681617578e-06 2.88345254384e-06 1.82086169133e-06 2.98585563029e-06 1.9235007543e-06 2.98296079877e-06 2.00750644564e-06 2.89925442717e-06 2.06773434107e-06 2.79117400021e-06 2.17998577656e-06 2.71068437215e-06 2.30585632141e-06 2.73616552832e-06 2.43381946728e-06 2.79913808913e-06 2.58661462476e-06 2.77970102474e-06 2.7275340657e-06 2.79764956535e-06 2.8791623955e-06 2.81953956307e-06 3.05451203862e-06 2.89233141669e-06 3.2528558669e-06 2.96807863249e-06 3.46178474199e-06 3.05313728317e-06 3.65511322911e-06 3.19408648341e-06 3.86474819918e-06 3.35798342893e-06 4.09345501208e-06 3.48636279494e-06 4.31246558849e-06 3.76496088989e-06 4.42248189226e-06 4.1606207375e-06 4.28943418056e-06 4.74477756731e-06 3.63167683589e-06 7.56299195615e-06 6.40043938697e-06 3.08710809394e-05 -7.21209687096e-06 -0.000221616463631 3.46362587087e-06 -0.000449954019979 1.41883267997e-05 -0.000474872878371 2.47737801819e-05 -0.000485055303826 3.51644054124e-05 -0.000490914939423 4.53115191001e-05 -0.000495131315401 5.52261218418e-05 -0.000498068858138 6.48910766257e-05 -0.000500123941579 7.43158257986e-05 -0.000501457967868 8.35039100019e-05 -0.000502207736248 9.2459392662e-05 -0.000502427515235 0.000101181223775 -0.000502148734854 0.000109665094963 -0.000501372520849 0.000117902896488 -0.000500078193845 0.000125882075646 -0.000498228944263 0.000133582813464 -0.000495759607061 0.000140978021497 -0.000492597575362 0.000148024109502 -0.000488613105994 0.000154663377069 -0.000483672076382 0.000160794953781 -0.000477499977562 0.000166234437701 -0.000469618230361 0.00017007326951 -0.000456924012736 0.000170840760721 -0.000435558313825 0.000167170910461 -0.000403504763204 0.0001582629579 -0.000361245246987 0.000143959247177 -0.000310906982201 0.000124603820164 -0.000255202532112 0.000100865979928 -0.000196747503561 7.36998949812e-05 -0.000137822153961 4.45326927389e-05 -8.03050458281e-05 1.19170641768e-05 -2.15292563898e-05 -4.63778239061e-08 6.29011729279e-06 1.95456172804e-06 6.76967190277e-06 2.59688135131e-06 4.77522468738e-06 2.6743147175e-06 4.1777245778e-06 2.55025495055e-06 3.96261733519e-06 1.95592495312e-06 3.69428735552e-06 1.35327050209e-06 2.75009253491e-06 1.1747487092e-06 1.93383095204e-06 7.00266363007e-07 3.39302098765e-06 3.16325737462e-06 6.19835731018e-08 2.53627703953e-06 6.16815545877e-08 3.15151957227e-06 1.11128253575e-07 3.17900127901e-06 2.08957664517e-07 3.1309334064e-06 3.44676806592e-07 3.1245133959e-06 4.81098686062e-07 3.14671354783e-06 6.05005202124e-07 3.15997106406e-06 7.11375478118e-07 3.15462418348e-06 7.14406181082e-07 3.11514944407e-06 6.28586358904e-07 2.87563441198e-06 6.67909474902e-07 2.60667989679e-06 7.47217585644e-07 2.437181162e-06 7.87709136626e-07 2.50189517672e-06 8.24336446437e-07 2.39562365754e-06 9.59169964822e-07 2.39223277745e-06 1.17803857746e-06 2.41147068195e-06 1.42738723554e-06 2.51147629368e-06 1.65163470039e-06 2.66015764806e-06 1.89388486969e-06 2.74457908986e-06 2.03579902905e-06 2.84205213913e-06 2.13629932274e-06 2.7997358107e-06 2.23009359821e-06 2.69835991953e-06 2.33112088667e-06 2.61059757094e-06 2.45499038989e-06 2.61322431024e-06 2.59430889843e-06 2.66068664519e-06 2.71954380062e-06 2.65524751428e-06 2.86313468193e-06 2.65468742997e-06 3.01927323824e-06 2.66388955973e-06 3.18903654449e-06 2.72297047347e-06 3.36765910705e-06 2.7898109818e-06 3.56669585539e-06 2.85436162752e-06 3.78718763646e-06 2.97398683778e-06 3.98853395399e-06 3.15652048976e-06 4.17161989925e-06 3.30442844679e-06 4.36851258545e-06 3.56865985057e-06 4.64152394354e-06 3.88810178957e-06 5.06063389718e-06 4.32742372487e-06 6.50996340923e-06 6.11020301685e-06 6.66356123899e-06 3.07107316743e-05 -7.51619347774e-06 -0.000207433565011 3.48225311624e-06 -0.000460952120086 1.40382982934e-05 -0.000485428863798 2.43231657419e-05 -0.000495341076756 3.43947145001e-05 -0.000500988203855 4.42166311467e-05 -0.000504955615408 5.38126305193e-05 -0.000507667570033 6.31687209784e-05 -0.000509482893438 7.22977753009e-05 -0.00051058985613 8.12032988647e-05 -0.000511115973336 8.98897482135e-05 -0.000511116509582 9.83559185715e-05 -0.00051061719552 0.000106596871629 -0.000509615512984 0.000114603909615 -0.000508086898245 0.000122363328167 -0.000505989696864 0.000129854146371 -0.000503251289743 0.000137047019826 -0.000499790927674 0.000143894683721 -0.000495460762005 0.000150333750355 -0.000490110815955 0.000156250272035 -0.000483415806663 0.000161429622265 -0.000474796683097 0.000164739430552 -0.000460232669333 0.000164487026945 -0.000435304578782 0.000159257932925 -0.000398274219842 0.000148366947424 -0.000350352723635 0.000131851357393 -0.000294389777334 0.000110245756368 -0.000233596045876 8.43465299918e-05 -0.000170847822225 5.48914939113e-05 -0.000108364556845 2.1853119782e-05 -4.72531204675e-05 6.75481391699e-07 -3.25276678546e-07 2.77391729839e-07 6.69368221998e-06 1.38868174994e-06 5.6614167529e-06 1.71388895027e-06 4.45193140759e-06 1.74042419876e-06 4.15291170518e-06 1.61703990315e-06 4.08798426147e-06 1.2694193572e-06 4.04579083897e-06 5.68207686622e-07 3.45270375544e-06 2.65657929086e-07 2.23803252923e-06 2.11492965287e-07 3.45669583301e-06 3.3737794886e-06 -3.22337249413e-08 2.56964674591e-06 6.38444373709e-08 3.05675865794e-06 1.33223159286e-07 3.11098373651e-06 2.45349214231e-07 3.02015954376e-06 3.94999569727e-07 2.97620463283e-06 5.47003961703e-07 2.9960439903e-06 6.85838170747e-07 3.02245924046e-06 8.09943043145e-07 3.03181598069e-06 9.07803027019e-07 3.0185535563e-06 8.40367574564e-07 2.94426700796e-06 7.41234635851e-07 2.7068776833e-06 7.57450205782e-07 2.42193924872e-06 9.42738592262e-07 2.31754771527e-06 1.01984267345e-06 2.3194250857e-06 1.08949369062e-06 2.32343689731e-06 1.19789308038e-06 2.3038746079e-06 1.39467566469e-06 2.31550905575e-06 1.63142195304e-06 2.4242432476e-06 1.87708548084e-06 2.49977293094e-06 2.09662604642e-06 2.62338648285e-06 2.23662823134e-06 2.6606381815e-06 2.33276677246e-06 2.60308840794e-06 2.44476018073e-06 2.49945529249e-06 2.56725310565e-06 2.4915594343e-06 2.69864771918e-06 2.53009093442e-06 2.85301584454e-06 2.50156511783e-06 3.00199061681e-06 2.50627321154e-06 3.15308187218e-06 2.51320888428e-06 3.33026000888e-06 2.54612202475e-06 3.53022605151e-06 2.59010763641e-06 3.73549295558e-06 2.64942930162e-06 3.89931865002e-06 2.81023693903e-06 4.13295478811e-06 2.92355587793e-06 4.33548677605e-06 3.10176783988e-06 4.5390888717e-06 3.3666627655e-06 4.81333249155e-06 3.61468903994e-06 5.214126081e-06 3.92462006355e-06 6.5273522996e-06 4.79377610085e-06 1.15673021907e-05 2.56720075305e-05 -5.86312533039e-06 -0.000190008798935 4.09740310636e-06 -0.000470913173887 1.41568492123e-05 -0.000495489357134 2.40417756432e-05 -0.000505227799742 3.37528961526e-05 -0.00051070205001 4.32253348531e-05 -0.000514431458514 5.2485058541e-05 -0.000516931239738 6.15184964076e-05 -0.000518520541028 7.03409465621e-05 -0.000519416701708 7.89554452707e-05 -0.000519734908361 8.73664403637e-05 -0.000519531976292 9.55723824634e-05 -0.000518827574428 0.000103567690124 -0.000517615200343 0.000111342737588 -0.000515866226516 0.000118882390544 -0.000513533448005 0.000126163869859 -0.000510536678105 0.000133155015665 -0.000506785658101 0.000139804056982 -0.000502113128328 0.00014604109026 -0.000496350761956 0.000151737092472 -0.000489114508767 0.000156642657262 -0.000479704561401 0.000159353272263 -0.000462945366814 0.000157948268797 -0.000433901164004 0.000151003440607 -0.000391330857248 0.000137993494686 -0.000337343976967 0.0001191743462 -0.000275571494316 9.52720635023e-05 -0.000209693977624 6.73689742278e-05 -0.000142945136015 3.70086937324e-05 -7.80024707675e-05 5.49667451043e-06 -1.57339886668e-05 -8.16904886013e-07 5.99182425653e-06 2.44511001351e-07 5.63492360328e-06 8.43769813941e-07 5.06401130022e-06 1.03464172807e-06 4.26233902193e-06 1.0688899735e-06 4.12019282276e-06 1.04381920816e-06 4.11534493799e-06 9.72309076848e-07 4.11877677825e-06 5.05725262915e-07 3.92248461565e-06 1.86193839268e-07 2.56210239998e-06 5.0260398217e-07 3.13814841839e-06 3.88106182088e-06 -1.20942079501e-07 2.69167176394e-06 -2.8719595033e-09 2.93996202549e-06 1.03542506443e-07 3.00591571053e-06 2.65672469648e-07 2.85935485732e-06 4.37116716991e-07 2.80606614339e-06 6.02687018117e-07 2.8317756159e-06 7.53422626158e-07 2.87301417537e-06 8.86124770596e-07 2.90038863288e-06 1.00213076479e-06 2.90380158465e-06 1.06588308399e-06 2.88174121438e-06 9.83963961213e-07 2.78995427521e-06 8.57862182878e-07 2.54906044869e-06 9.00306097825e-07 2.27600702526e-06 1.07767537106e-06 2.14290609635e-06 1.23604287136e-06 2.16587965202e-06 1.33412838082e-06 2.20658299479e-06 1.44014588425e-06 2.21024305048e-06 1.60707071217e-06 2.25806216953e-06 1.8222893277e-06 2.28528334601e-06 2.06750276789e-06 2.37894527251e-06 2.29463921804e-06 2.4342687762e-06 2.42623244583e-06 2.47228623868e-06 2.54351485949e-06 2.38294707064e-06 2.68521234352e-06 2.35062429164e-06 2.83828331668e-06 2.37773355097e-06 2.97220407695e-06 2.36828909861e-06 3.13022352271e-06 2.34874891381e-06 3.29663530674e-06 2.34716134325e-06 3.46943048539e-06 2.37360892725e-06 3.65555919066e-06 2.40429603763e-06 3.840522969e-06 2.46467769275e-06 4.03099747664e-06 2.62013317739e-06 4.22342376704e-06 2.73089965037e-06 4.45169028384e-06 2.87424243827e-06 4.70944997584e-06 3.10861771908e-06 4.87913934815e-06 3.44474297818e-06 4.91950289883e-06 3.88361335488e-06 4.31050205541e-06 5.40094015953e-06 1.12198789249e-05 1.87528649064e-05 -4.46827640302e-06 -0.000174320014361 4.85905616425e-06 -0.000480242246623 1.44475283244e-05 -0.000505079603111 2.39037002415e-05 -0.000514686406681 3.32267888257e-05 -0.000520028272394 4.2327006522e-05 -0.000523535536261 5.12322548657e-05 -0.00052584083478 5.99282888724e-05 -0.000527221345348 6.84322133713e-05 -0.00052792562938 7.67462441379e-05 -0.000528054195611 8.48745774801e-05 -0.00052766571995 9.28152621025e-05 -0.000526773864123 0.000100562152039 -0.00052536782041 0.000108104667665 -0.000523414577724 0.000115425838251 -0.000520860501206 0.000122500822076 -0.000517617483333 0.000129293649389 -0.000513584225407 0.000135747638056 -0.000508572600615 0.000141784782502 -0.000502393241344 0.000147259713079 -0.000494594384782 0.000151883041433 -0.000484332609198 0.000153922608986 -0.000464989055223 0.000151232168219 -0.000431214589383 0.000142428658965 -0.000382530608463 0.000127196334604 -0.000322114434392 0.000106028907021 -0.000254405883592 7.97766075087e-05 -0.000183443507308 4.94209787447e-05 -0.000112589388072 1.60069179108e-05 -4.45865006229e-05 -1.86219171257e-06 2.13650529513e-06 -9.10318507554e-07 5.04112625971e-06 -4.26541825144e-08 4.76836602289e-06 3.66470866044e-07 4.65565954645e-06 5.09940275938e-07 4.1197738058e-06 5.65824242899e-07 4.06569211839e-06 5.94568718168e-07 4.08838324095e-06 6.10762590379e-07 4.10577756e-06 4.82451641011e-07 4.05279187327e-06 2.00857585955e-07 2.8435929608e-06 1.82091453955e-07 3.16470659757e-06 4.06391922537e-06 -1.7608297403e-07 2.86898241972e-06 -9.90736108862e-08 2.86421951838e-06 6.20889706129e-08 2.84604602742e-06 2.6772710259e-07 2.65494475326e-06 4.44878693314e-07 2.6301233449e-06 6.16233173133e-07 2.66162986797e-06 7.80966364824e-07 2.70949269747e-06 9.30918390393e-07 2.75163890312e-06 1.06145890318e-06 2.77445567037e-06 1.17270737794e-06 2.77167852842e-06 1.22241435189e-06 2.74141992382e-06 1.13808622615e-06 2.63449675744e-06 1.0222777293e-06 2.39277172627e-06 1.04876963858e-06 2.11723071635e-06 1.22475274448e-06 1.99067259863e-06 1.4129813911e-06 2.01909477647e-06 1.5678285886e-06 2.05610705881e-06 1.70612290694e-06 2.12044394107e-06 1.84352413507e-06 2.14855395408e-06 2.0276528976e-06 2.19546841754e-06 2.26159779532e-06 2.20100241899e-06 2.47275158599e-06 2.26183455296e-06 2.61441889018e-06 2.2419855075e-06 2.75889798723e-06 2.20683499871e-06 2.91948559797e-06 2.21782723282e-06 3.08791400965e-06 2.20044955539e-06 3.23761403131e-06 2.19951899512e-06 3.39229039327e-06 2.19284308364e-06 3.56340502318e-06 2.20283071441e-06 3.70896754729e-06 2.25908361475e-06 3.85171985326e-06 2.32235961807e-06 4.09228879886e-06 2.37971257117e-06 4.30339411923e-06 2.52020312345e-06 4.52053806278e-06 2.6568141816e-06 4.75612575741e-06 2.87356023803e-06 5.02102086331e-06 3.17980917568e-06 5.23753815603e-06 3.66527453636e-06 5.94909335376e-06 4.68488925735e-06 1.06905406525e-05 1.40139817895e-05 -2.89294916615e-06 -0.000160744387113 5.67729958812e-06 -0.000488813678513 1.4842862625e-05 -0.000514246528612 2.38764502966e-05 -0.000523721651171 3.27959686605e-05 -0.000528949952824 4.15041132298e-05 -0.000532246309239 5.00366790786e-05 -0.000534376517267 5.83801817903e-05 -0.000535568305554 6.65530441937e-05 -0.000536102318104 7.45568062706e-05 -0.000536062057313 8.23950283052e-05 -0.00053550839047 9.00654977286e-05 -0.000534449070644 9.75615443863e-05 -0.000532868947486 0.000104871741568 -0.000530730133693 0.000111977123691 -0.000527971499879 0.000118850569538 -0.000524496733546 0.000125451725319 -0.000520191263451 0.000131718361854 -0.000514845175923 0.000137563176897 -0.000508243858139 0.000142822673313 -0.000499859620791 0.000147162784297 -0.000488678069311 0.000148457902784 -0.000466289264362 0.000144350829974 -0.000427111963736 0.000133560537466 -0.000371744589997 0.000116031431579 -0.000304588821647 9.25132738704e-05 -0.000230890831817 6.40956679442e-05 -0.000155026915766 3.26533457361e-05 -8.11489500402e-05 1.6365963166e-06 -1.35696996165e-05 -1.01281688896e-06 4.78556346563e-06 -6.12991219289e-07 4.64127675545e-06 -2.68610717579e-07 4.42410600298e-06 2.34310279148e-08 4.36400253037e-06 1.31827448912e-07 4.01205768283e-06 1.97043601255e-07 4.00175055432e-06 2.461659715e-07 4.04124965719e-06 2.90533539927e-07 4.06309862076e-06 3.46182600062e-07 3.9995100544e-06 1.29352322939e-07 3.06460997636e-06 -1.09889728347e-07 3.40432386247e-06 3.95773478477e-06 -9.49684606701e-08 2.96534678414e-06 -8.83617931146e-08 2.85893679611e-06 9.99347534994e-08 2.6589629297e-06 2.75168280255e-07 2.48083241767e-06 4.24678905989e-07 2.48172386197e-06 5.83507286631e-07 2.50391747862e-06 7.59820802136e-07 2.53429863555e-06 9.33224342566e-07 2.57935970505e-06 1.09018004646e-06 2.61861823354e-06 1.22680397839e-06 2.63617225222e-06 1.34127514908e-06 2.6280685371e-06 1.38553058943e-06 2.59133657757e-06 1.31940315198e-06 2.45991883162e-06 1.23857413509e-06 2.19896670098e-06 1.25393094501e-06 1.97610412644e-06 1.4211371052e-06 1.85259958276e-06 1.60916657491e-06 1.86872769264e-06 1.79488136267e-06 1.93535724223e-06 1.96636363574e-06 1.9776694195e-06 2.12765787937e-06 2.03478013098e-06 2.29084390904e-06 2.0384197153e-06 2.49335395847e-06 2.05995328039e-06 2.67443520563e-06 2.06154599256e-06 2.83326698199e-06 2.04866563006e-06 3.00434514087e-06 2.04737515668e-06 3.16174538954e-06 2.04360970868e-06 3.32355507547e-06 2.03815983244e-06 3.46299663531e-06 2.05377802226e-06 3.58146348359e-06 2.08474458364e-06 3.74881942435e-06 2.09219235028e-06 3.94602672662e-06 2.12560520015e-06 4.15401964815e-06 2.17214664037e-06 4.43243497949e-06 2.24175199933e-06 4.70398432165e-06 2.38556737699e-06 4.94303102302e-06 2.63445078626e-06 5.23913394359e-06 2.88308501895e-06 5.55355871275e-06 3.3503314668e-06 5.78048169585e-06 4.4584944166e-06 9.5117230042e-06 1.02738639441e-05 -1.21644201042e-06 -0.000150012628678 6.62492794386e-06 -0.000496656080691 1.53682439498e-05 -0.000522990549477 2.39525305554e-05 -0.000532306692068 3.24407023521e-05 -0.000537439084124 4.07328661961e-05 -0.000540539787413 4.88733967003e-05 -0.000542518691984 5.68491633468e-05 -0.000543546101339 6.46790542053e-05 -0.000543934558507 7.23636222405e-05 -0.000543749371966 7.99055517807e-05 -0.000543053430101 8.73021170946e-05 -0.000541849190121 9.45462509888e-05 -0.000540117045506 0.000101625651523 -0.000537813935996 0.000108519402746 -0.000534870034268 0.000115198253632 -0.000531180691021 0.000121617051626 -0.000526615426609 0.000127708145019 -0.000520941747811 0.000133373194766 -0.000513914489745 0.000138429898579 -0.000504921770642 0.000142493347002 -0.00049274681657 0.000142968296277 -0.000466768998515 0.000137312833667 -0.000421461081799 0.000124419999533 -0.000358855668455 0.000104535175837 -0.000284707748956 7.86418865196e-05 -0.000205000107026 4.78330847481e-05 -0.000124222284649 1.39009457098e-05 -4.7220008561e-05 -1.93627697662e-06 2.26643518133e-06 -1.26536098195e-06 4.11386061805e-06 -7.5752504587e-07 4.1329323758e-06 -5.02801344228e-07 4.16920843377e-06 -2.12830386172e-07 4.07415296565e-06 -1.14289216157e-07 3.91408315777e-06 -4.14160836134e-08 3.92997342402e-06 1.884365939e-08 3.98256339873e-06 8.83052993953e-08 3.99575589436e-06 2.33537540548e-07 3.85565832559e-06 2.48084566524e-08 3.27373651654e-06 -2.52371428396e-07 3.68737154203e-06 3.70606003865e-06 5.06709919855e-08 2.91601554491e-06 5.10245407601e-08 2.85988937369e-06 1.67710299042e-07 2.54342165458e-06 2.99928609222e-07 2.34970404355e-06 4.30709643937e-07 2.35202045218e-06 5.68404272917e-07 2.36728653727e-06 7.2460548082e-07 2.37915004363e-06 9.00668248037e-07 2.40434314783e-06 1.08250402123e-06 2.43782308011e-06 1.24742605792e-06 2.47228060639e-06 1.3912655785e-06 2.48526054826e-06 1.51156251196e-06 2.47207753547e-06 1.54602165815e-06 2.42649169615e-06 1.4961493681e-06 2.24980226909e-06 1.46525564398e-06 2.00785080296e-06 1.52333989819e-06 1.79521589441e-06 1.64119477303e-06 1.75150422892e-06 1.82052862841e-06 1.75660488893e-06 2.00813891781e-06 1.79062121065e-06 2.19284629332e-06 1.85062154796e-06 2.3594541914e-06 1.87236313617e-06 2.53599636063e-06 1.88398014958e-06 2.72014080203e-06 1.87801025318e-06 2.88578193257e-06 1.88362071478e-06 3.0479993488e-06 1.88573903789e-06 3.20495453218e-06 1.88717154036e-06 3.33760130908e-06 1.90595591449e-06 3.47665204678e-06 1.91512549438e-06 3.66210298325e-06 1.89976803068e-06 3.84666499799e-06 1.90820942608e-06 4.05553094299e-06 1.917338751e-06 4.29039304608e-06 1.93764508299e-06 4.51869605562e-06 2.01371780493e-06 4.77441604968e-06 2.1298983963e-06 5.06045110424e-06 2.34860009486e-06 5.41034482205e-06 2.5338993071e-06 5.9086800857e-06 2.85119246112e-06 6.80523504105e-06 3.55823982339e-06 8.93869154763e-06 8.1475604044e-06 9.71070363103e-07 -0.000142051360252 7.84095135873e-06 -0.000503525303505 1.60473183748e-05 -0.000531196472203 2.41148018921e-05 -0.000540373719298 3.21302727919e-05 -0.000545454149645 3.99795348064e-05 -0.000548388795251 4.77089085764e-05 -0.00055024804683 5.53035240543e-05 -0.000551140946184 6.27807975946e-05 -0.000551412358822 7.01400013378e-05 -0.000551109408022 7.73822345631e-05 -0.000550296853486 8.45040207857e-05 -0.000548972537259 9.14976589693e-05 -0.00054711264315 9.83499827565e-05 -0.000544668610728 0.00010503818364 -0.000541560956401 0.000111531246772 -0.000537676805061 0.000117779280367 -0.000532866765463 0.000123709635592 -0.000526875613375 0.000129211781483 -0.000519420236147 0.000134084058073 -0.000509797681203 0.000137884349398 -0.000496550535777 0.000137456939936 -0.000466344830048 0.000130118979264 -0.000414125942894 0.000115011952687 -0.00034375158899 9.27019112965e-05 -0.000262400532131 6.45391498406e-05 -0.000176839912248 3.27340266208e-05 -9.24212220088e-05 5.1750251809e-07 -1.50084310631e-05 -1.36538426281e-06 4.14833481571e-06 -1.16050991594e-06 3.90808721387e-06 -9.15857387502e-07 3.88768009638e-06 -6.4393316155e-07 3.8970143899e-06 -3.58112943506e-07 3.78842290613e-06 -2.60816970528e-07 3.8172779063e-06 -1.81791839297e-07 3.85196787338e-06 -1.18812133505e-07 3.92102884805e-06 -6.53823694542e-08 3.9435779035e-06 9.43937202804e-08 3.69737640353e-06 -2.68909465266e-08 3.39816615196e-06 -2.25246854874e-07 3.88647637801e-06 3.4829677953e-06 1.25125248887e-07 2.79229916408e-06 1.84465279506e-07 2.80187808207e-06 2.01110083755e-07 2.5279752549e-06 3.30717607512e-07 2.22116996256e-06 4.64673716023e-07 2.21911676619e-06 5.98500520914e-07 2.23450145431e-06 7.31013360346e-07 2.24765782735e-06 8.79326056415e-07 2.25702952622e-06 1.05002464268e-06 2.26809540523e-06 1.23558095311e-06 2.28768373253e-06 1.40512954109e-06 2.31665641052e-06 1.55449206729e-06 2.32366505805e-06 1.67618141399e-06 2.30575722949e-06 1.67700518653e-06 2.2499191029e-06 1.62736384617e-06 2.0583187965e-06 1.63938480377e-06 1.78392534884e-06 1.75143539734e-06 1.64010574011e-06 1.88123481186e-06 1.6273858739e-06 2.033273641e-06 1.63911664651e-06 2.24009127532e-06 1.64430792829e-06 2.42621911812e-06 1.6867482448e-06 2.5898311509e-06 1.720912643e-06 2.75316894057e-06 1.71521582872e-06 2.92320812649e-06 1.71414346712e-06 3.08699399924e-06 1.72247885785e-06 3.22795504371e-06 1.74669559994e-06 3.39478617394e-06 1.73955406641e-06 3.57924248435e-06 1.73112210312e-06 3.75023737234e-06 1.7292998717e-06 3.9399066849e-06 1.71920834147e-06 4.1357045474e-06 1.72217898653e-06 4.32370971743e-06 1.75012448727e-06 4.50955321274e-06 1.82811825493e-06 4.7402054928e-06 1.89950533693e-06 5.08818241058e-06 2.00123786397e-06 5.46432061828e-06 2.1574438256e-06 5.91922010162e-06 2.39668452858e-06 6.73435092077e-06 2.74687919189e-06 8.75556061709e-06 6.11890045083e-06 3.83145028319e-06 -0.000137116309308 9.23719471376e-06 -0.000508930262487 1.68049889359e-05 -0.000538763157337 2.43044476041e-05 -0.000547871831239 3.18146992908e-05 -0.000552962961548 3.91998772248e-05 -0.000555772547183 4.65035368852e-05 -0.000557550399217 5.37077564603e-05 -0.000558344026605 6.08267829574e-05 -0.000558530458107 6.78582187044e-05 -0.000558140155678 7.48010012276e-05 -0.000557239224465 8.16504756551e-05 -0.000555821895823 8.83981439501e-05 -0.000553860516988 9.50298567137e-05 -0.000551300845315 0.000101521067833 -0.000548053004141 0.00010783940233 -0.000543996252847 0.000113930425417 -0.000538959143814 0.000119717464253 -0.000532664188911 0.000125076595955 -0.000524781041638 0.000129787341432 -0.000514510148664 0.000133342040284 -0.000500106951268 0.000131917834028 -0.000464922119452 0.000122752831309 -0.000404962609439 0.000105322264059 -0.000326322965024 8.05007188118e-05 -0.000237579951863 4.96833029862e-05 -0.000146025123828 1.45081537004e-05 -5.7249075123e-05 -2.21488308317e-06 1.71381018889e-06 -1.63223964485e-06 3.56486435881e-06 -1.27338226376e-06 3.5485101705e-06 -1.07629947863e-06 3.69009290022e-06 -7.59644014927e-07 3.58014258094e-06 -5.03923524122e-07 3.53279735096e-06 -3.83543629131e-07 3.69735681425e-06 -2.8661690276e-07 3.75592571656e-06 -1.95515383783e-07 3.83124033956e-06 -1.15233926608e-07 3.86487412158e-06 -8.88711880518e-08 3.6721175855e-06 -1.42082015249e-07 3.45212943145e-06 -2.36181466782e-07 3.98497592956e-06 3.24730874357e-06 1.42021929141e-07 2.65149937393e-06 2.48353338289e-07 2.69688121445e-06 2.45976589761e-07 2.53156413048e-06 3.73798714092e-07 2.09440724432e-06 5.0690298046e-07 2.08705661175e-06 6.38321767857e-07 2.10410269746e-06 7.68225055036e-07 2.11875849586e-06 8.99558466476e-07 2.12666270401e-06 1.0405146337e-06 2.12807256739e-06 1.20629145393e-06 2.12279418418e-06 1.39213860994e-06 2.13167555478e-06 1.57340489687e-06 2.14323685453e-06 1.7368786283e-06 2.14312527634e-06 1.87026443959e-06 2.11737039761e-06 1.88840593661e-06 2.04101214451e-06 1.8122048851e-06 1.86088843189e-06 1.84582264101e-06 1.60714395719e-06 1.98365759702e-06 1.49014413592e-06 2.11909873604e-06 1.50422012907e-06 2.26018461713e-06 1.50373043706e-06 2.41795113212e-06 1.52948054212e-06 2.62767889229e-06 1.51168532103e-06 2.80591263542e-06 1.53750845818e-06 2.94846795931e-06 1.57207661021e-06 3.10533386928e-06 1.56609044493e-06 3.29552995477e-06 1.55695517894e-06 3.44947110776e-06 1.58604592069e-06 3.60011734201e-06 1.58091477379e-06 3.80036142167e-06 1.52965059069e-06 3.97703537989e-06 1.54320116121e-06 4.125998151e-06 1.57384370997e-06 4.28045338849e-06 1.59605038623e-06 4.50532049238e-06 1.60347140689e-06 4.79480276129e-06 1.61030597399e-06 5.09926278929e-06 1.69690009369e-06 5.36401235276e-06 1.89384541069e-06 5.65367011179e-06 2.10702716365e-06 5.89706356722e-06 2.50023606616e-06 7.53559018231e-06 4.49111826112e-06 6.1668400358e-06 -0.00013575420692 1.06210324206e-05 -0.00051338307361 1.75463680651e-05 -0.000545687350652 2.44511186144e-05 -0.000554775319659 3.14366698702e-05 -0.000559947051755 3.83460577352e-05 -0.000562680410122 4.52165644516e-05 -0.000564419362003 5.20268546049e-05 -0.000565152841165 5.87864788364e-05 -0.00056528868112 6.54913096914e-05 -0.000564843716993 7.21378322368e-05 -0.000563884611342 7.87200586174e-05 -0.000562403169279 8.52287382506e-05 -0.000560368415198 9.16487815157e-05 -0.000557720312267 9.79542614991e-05 -0.000554358073552 0.000104111762701 -0.000550153517525 0.000110062585707 -0.000544909845118 0.000115727053881 -0.000538328647278 0.000120966786995 -0.000530020844113 0.000125543470825 -0.000519086979792 0.000128874326547 -0.000503437888421 0.000126339900658 -0.000462387899879 0.000115168905769 -0.000393791821973 9.52310586074e-05 -0.000306385115215 6.79596420149e-05 -0.000210310089636 3.67139154782e-05 -0.000114780232579 3.04281106491e-07 -2.08414550866e-05 -1.68570016328e-06 3.70343578243e-06 -1.53031619692e-06 3.40901615165e-06 -1.38500733021e-06 3.40274265697e-06 -1.16723536382e-06 3.47201438753e-06 -9.11111163675e-07 3.32393170046e-06 -6.82880543423e-07 3.30469708132e-06 -5.56293836885e-07 3.57122338555e-06 -4.64427427092e-07 3.66493151176e-06 -3.74249410617e-07 3.74230229678e-06 -2.8082057614e-07 3.77268910616e-06 -2.66334004361e-07 3.65918978043e-06 -1.95241318455e-07 3.38377796383e-06 -1.31947749265e-07 3.9224904225e-06 3.11696437528e-06 1.36625309529e-07 2.51629528754e-06 2.75043401747e-07 2.55981116271e-06 3.10076765774e-07 2.49781980459e-06 4.2445705327e-07 1.98107245349e-06 5.52552435631e-07 1.9599780493e-06 6.79952123145e-07 1.97770951556e-06 8.06629806279e-07 1.99306286013e-06 9.35322684438e-07 1.99891536489e-06 1.0691038148e-06 1.99519131417e-06 1.20915478826e-06 1.98358899138e-06 1.37393969312e-06 1.96767863487e-06 1.56226153114e-06 1.95565510162e-06 1.76029446453e-06 1.94580633278e-06 1.94101486932e-06 1.93737641852e-06 2.0746933463e-06 1.90808279872e-06 2.09296453422e-06 1.84336463299e-06 2.03231611517e-06 1.66848716196e-06 2.06684538752e-06 1.4562458495e-06 2.19335366317e-06 1.37827647059e-06 2.34070981633e-06 1.35689303204e-06 2.49416005443e-06 1.37654140587e-06 2.62373553747e-06 1.38261100562e-06 2.76784567756e-06 1.39385865037e-06 2.94395295239e-06 1.39643148919e-06 3.12595744916e-06 1.38453385953e-06 3.26616953344e-06 1.41715316898e-06 3.43298081793e-06 1.41963193501e-06 3.62553864318e-06 1.38882993375e-06 3.77156683674e-06 1.38416239417e-06 3.90790072729e-06 1.40750578176e-06 4.10787864407e-06 1.37437119603e-06 4.32055011754e-06 1.38372984756e-06 4.54694885492e-06 1.37722007089e-06 4.74866750425e-06 1.40861766171e-06 4.95641367148e-06 1.4896019127e-06 5.22435146493e-06 1.62529301182e-06 5.52992071392e-06 1.80170699252e-06 5.92026018705e-06 2.11423350126e-06 6.73062095434e-06 3.67206174328e-06 7.56460693976e-06 -0.000136576351061 1.18411520737e-05 -0.000517659293387 1.81639525594e-05 -0.0005520095341 2.44781433714e-05 -0.000561088547692 3.09367151481e-05 -0.000566404433281 3.73705421201e-05 -0.000569112848199 4.38089187979e-05 -0.000570856281349 5.02278554498e-05 -0.000571570258106 5.66309164022e-05 -0.000571690234192 6.30127247966e-05 -0.000571224018022 6.93676163417e-05 -0.000570238050954 7.56886786794e-05 -0.000568722823321 8.1966284879e-05 -0.000566644701593 8.81849334718e-05 -0.000563937700273 9.43180697773e-05 -0.000560490036068 0.000100331733147 -0.000556166042844 0.000106163290739 -0.000550740323659 0.000111731191877 -0.00054389549103 0.000116881372841 -0.000535170024223 0.000121359250765 -0.000523563925909 0.000124496931582 -0.000506574753684 0.000120728653385 -0.000458618795418 0.000107360054181 -0.000380422743992 8.45885664413e-05 -0.000283613978663 5.37137585853e-05 -0.000179434114406 1.79927085504e-05 -7.90608681869e-05 -2.69131758286e-06 -1.57530201954e-07 -2.03886516301e-06 3.05079699248e-06 -1.7193682379e-06 3.08928156557e-06 -1.52867943541e-06 3.21183646713e-06 -1.27187748474e-06 3.21508210485e-06 -1.06655326862e-06 3.11860133384e-06 -8.87980322377e-07 3.12630379218e-06 -7.80126996208e-07 3.46381380463e-06 -6.8928065411e-07 3.57485563526e-06 -5.94256401902e-07 3.6484343834e-06 -4.94623948125e-07 3.67447580256e-06 -3.35419664705e-07 3.50118573879e-06 -1.45595500392e-07 3.19471253629e-06 1.09568690451e-07 3.67093464578e-06 3.22708635768e-06 1.20185233971e-07 2.39726648582e-06 3.01652651639e-07 2.379677551e-06 3.8229555911e-07 2.4184042564e-06 4.70543602045e-07 1.89387077271e-06 5.98603025059e-07 1.83293540221e-06 7.21461155831e-07 1.855854389e-06 8.42339377054e-07 1.87314213742e-06 9.66609868046e-07 1.87556528581e-06 1.09806563359e-06 1.86458716623e-06 1.23854014786e-06 1.84391223407e-06 1.38935509344e-06 1.81758301461e-06 1.55645548251e-06 1.78921683128e-06 1.7463857461e-06 1.7564860894e-06 1.95377949066e-06 1.73058757125e-06 2.15475050185e-06 1.70775046665e-06 2.31237807246e-06 1.68642208417e-06 2.33005790066e-06 1.6515055595e-06 2.26700410824e-06 1.51992051844e-06 2.300367774e-06 1.34548799142e-06 2.39155229933e-06 1.26626028492e-06 2.5032260893e-06 1.26537583216e-06 2.626879291e-06 1.25941938609e-06 2.79013252983e-06 1.23105345969e-06 2.95993580207e-06 1.22705262065e-06 3.11695630564e-06 1.22790049712e-06 3.27771661273e-06 1.25677889587e-06 3.42756490885e-06 1.27016446771e-06 3.57991903623e-06 1.23687646559e-06 3.76428704596e-06 1.20030095898e-06 3.97018892116e-06 1.20211034717e-06 4.12478688497e-06 1.22022559497e-06 4.28573094504e-06 1.22296319003e-06 4.46498204914e-06 1.19794168724e-06 4.65595474026e-06 1.21768299585e-06 4.86862877477e-06 1.27684048942e-06 5.11947970981e-06 1.37527209649e-06 5.38933620971e-06 1.53162670237e-06 5.65862922797e-06 1.84131777984e-06 6.314943326e-06 3.02715662801e-06 8.22702761469e-06 -0.000138497834845 1.2785738749e-05 -0.000522217533542 1.85611197451e-05 -0.000557784677374 2.43120253698e-05 -0.000566839110671 3.02586329911e-05 -0.000572350448185 3.62293761374e-05 -0.000575082851731 4.22448990975e-05 -0.000576870922792 4.82803977793e-05 -0.000577604816218 5.43327594858e-05 -0.000577741575038 6.03962242276e-05 -0.000577286432298 6.64641732522e-05 -0.000576304908574 7.2529611445e-05 -0.000574787174995 7.85834109578e-05 -0.000572697409346 8.46105998207e-05 -0.000569963826897 9.05855884182e-05 -0.000566463952695 9.64745525062e-05 -0.000562053962615 0.000102211902957 -0.000556476581151 0.000107715627026 -0.000549398135323 0.000112815456202 -0.000540268804286 0.000117243242845 -0.000527990635652 0.000120236004028 -0.000509566570933 0.000115098805165 -0.000453480746568 9.9349125573e-05 -0.000364672448583 7.37780478132e-05 -0.000258042073689 4.06969922499e-05 -0.000146354214187 2.75292100822e-06 -4.11136073452e-05 -1.48816053936e-06 4.08371853633e-06 -1.7750308152e-06 3.33774141095e-06 -1.7793438832e-06 3.0936073733e-06 -1.64045097807e-06 3.07294105737e-06 -1.40864053923e-06 2.98330977908e-06 -1.23005292139e-06 2.94012636312e-06 -1.1567010109e-06 3.05319440664e-06 -1.03047991453e-06 3.33806195429e-06 -9.00625094056e-07 3.44578849039e-06 -7.53837998278e-07 3.50272182051e-06 -5.94110486717e-07 3.51592189294e-06 -3.6616035387e-07 3.27442696572e-06 -2.18353200657e-07 3.04896511721e-06 3.6358979014e-08 3.41704799131e-06 3.26490522239e-06 1.05525465014e-07 2.29316660869e-06 3.29542247396e-07 2.15692589691e-06 4.4047498751e-07 2.30878828845e-06 5.23008600813e-07 1.81240388774e-06 6.52382667877e-07 1.70457203371e-06 7.66490536004e-07 1.74272868878e-06 8.75524565847e-07 1.76504889142e-06 9.90589406321e-07 1.76137178913e-06 1.11784729873e-06 1.73814271551e-06 1.25943109083e-06 1.70308283263e-06 1.41532673563e-06 1.66238650508e-06 1.58533095118e-06 1.61985956276e-06 1.76476745753e-06 1.57765390193e-06 1.9568069836e-06 1.53914003746e-06 2.16136851452e-06 1.50377689002e-06 2.36630115369e-06 1.48209839857e-06 2.53601463705e-06 1.48240550145e-06 2.58574587324e-06 1.47083134622e-06 2.53507431961e-06 1.39677382641e-06 2.52075795562e-06 1.28113316118e-06 2.6009159078e-06 1.18572453396e-06 2.72774318217e-06 1.133065958e-06 2.85345286221e-06 1.1057881457e-06 2.98127624192e-06 1.09964643651e-06 3.1195678514e-06 1.08998588827e-06 3.28984384966e-06 1.08682467564e-06 3.46690998785e-06 1.09341559466e-06 3.63547352268e-06 1.06864972968e-06 3.76566881991e-06 1.07048022222e-06 3.89920943257e-06 1.06899733721e-06 4.09997506304e-06 1.01970143928e-06 4.29386407279e-06 1.02907978317e-06 4.42844965597e-06 1.06319814254e-06 4.57392837687e-06 1.07202849371e-06 4.77063872967e-06 1.08008680747e-06 5.00173483161e-06 1.14332177196e-06 5.28238998435e-06 1.25138695472e-06 5.632935071e-06 1.49470200316e-06 6.15845054583e-06 2.49060709409e-06 8.41719404271e-06 -0.000140746459879 1.33714774816e-05 -0.000527172583767 1.8653761784e-05 -0.000563067491308 2.38851556383e-05 -0.000572070743462 2.93486512108e-05 -0.000577813976834 3.48794755229e-05 -0.000580613504638 4.04884841609e-05 -0.000582479652337 4.6153075198e-05 -0.000583269008003 5.18631420553e-05 -0.000583451173409 5.76137974118e-05 -0.000583036532892 6.33991379929e-05 -0.000582089648283 6.92134750212e-05 -0.000580600863707 7.50492503086e-05 -0.000578532526366 8.08935884512e-05 -0.000575807479441 8.67239692353e-05 -0.00057229365419 9.25078544092e-05 -0.000567837104149 9.81781893389e-05 -0.00056214616134 0.000103654270896 -0.000554873417967 0.000108749967838 -0.000545363580874 0.000113190408918 -0.000532430321502 0.000116115942653 -0.000512491197627 0.000109471966873 -0.000446836044162 9.10719323485e-05 -0.000346271995371 6.22944216442e-05 -0.000229264318209 2.63085376324e-05 -0.000110364616725 -3.59951714696e-06 -1.12016562264e-05 -2.49868051113e-06 2.98333151664e-06 -2.15923098485e-06 2.99855797547e-06 -1.99040141538e-06 2.92494433942e-06 -1.75867697322e-06 2.84134722547e-06 -1.5885305462e-06 2.81329218091e-06 -1.4542147702e-06 2.80599009638e-06 -1.4015232439e-06 3.00079678357e-06 -1.24108981188e-06 3.1781094318e-06 -1.06552732056e-06 3.27095294075e-06 -8.78569754755e-07 3.31677952335e-06 -6.49581311312e-07 3.2880563307e-06 -3.59839045337e-07 2.98565961074e-06 -2.88518919622e-07 2.9782812641e-06 -1.58997083643e-07 3.29011535497e-06 3.1064346602e-06 1.16112699111e-07 2.17824791344e-06 3.38306450396e-07 1.93597996429e-06 4.70200709972e-07 2.17815162637e-06 6.1096881941e-07 1.67270226452e-06 7.27702003698e-07 1.58881935972e-06 8.28271139557e-07 1.64310827517e-06 9.20818303136e-07 1.67341785564e-06 1.02738361282e-06 1.65567139885e-06 1.15540137786e-06 1.61097050774e-06 1.30451232032e-06 1.55477175504e-06 1.47197087813e-06 1.49572213688e-06 1.65329906287e-06 1.43928475976e-06 1.84217292106e-06 1.3895154752e-06 2.03594281822e-06 1.34604273853e-06 2.22864667664e-06 1.31170204731e-06 2.40228378276e-06 1.3090372967e-06 2.55670917671e-06 1.32855907768e-06 2.71218187184e-06 1.31594134041e-06 2.83152521898e-06 1.27802457469e-06 2.86658111137e-06 1.24664614311e-06 2.85864227006e-06 1.19419044544e-06 2.88604298638e-06 1.10615192394e-06 2.95790843911e-06 1.03438914865e-06 3.06471404774e-06 9.93226251954e-07 3.18450891854e-06 9.70497564928e-07 3.30539152871e-06 9.66217121982e-07 3.4197803759e-06 9.792404868e-07 3.55565133088e-06 9.33003927736e-07 3.75518156898e-06 8.71241355207e-07 3.97199894344e-06 8.52418377243e-07 4.09953111853e-06 8.92268757145e-07 4.18968546951e-06 9.38780735346e-07 4.33224749265e-06 9.20305340688e-07 4.50369786628e-06 9.00253359646e-07 4.67304719487e-06 9.10779133058e-07 4.92096080659e-06 8.96377390045e-07 5.22951332419e-06 9.42136217816e-07 5.58280048327e-06 1.13753661204e-06 6.19052899637e-06 1.89453630698e-06 8.22554675268e-06 -0.000142793488801 1.35447830997e-05 -0.00053249193636 1.8376288815e-05 -0.000567899408926 2.31373664227e-05 -0.000576832204656 2.81553664989e-05 -0.000582832197503 3.32779023837e-05 -0.000585736166302 3.85026775088e-05 -0.00058770446926 4.38126442636e-05 -0.00058857898367 4.91912689617e-05 -0.000588829749505 5.46355701247e-05 -0.000588480747883 6.01423711057e-05 -0.000587596310027 6.57089367593e-05 -0.000586167263078 7.13308074647e-05 -0.000584154199864 7.69990985713e-05 -0.000581475565738 8.26969148629e-05 -0.000577991227801 8.83941239933e-05 -0.000573534063319 9.40248944917e-05 -0.000567776617157 9.95106112867e-05 -0.000560358762781 0.000104647087973 -0.000550499803722 0.000109159605667 -0.000536942438022 0.000112098715957 -0.000515430104744 0.000103810377812 -0.000438547537004 8.26556175854e-05 -0.000325117016982 5.07465426638e-05 -0.000197354165801 1.14926571626e-05 -7.11080602451e-05 -2.28067875531e-06 2.57230446106e-06 -2.37802213317e-06 3.08113262911e-06 -2.25755045002e-06 2.87837223051e-06 -2.08531361611e-06 2.75291220815e-06 -1.89982319766e-06 2.65603138881e-06 -1.75175921605e-06 2.66541271888e-06 -1.65012827802e-06 2.70458514932e-06 -1.54400173178e-06 2.89500096146e-06 -1.3455790756e-06 2.98016899335e-06 -1.1295519175e-06 3.05561483197e-06 -8.96406846852e-07 3.0844918254e-06 -6.10899016223e-07 3.00341546383e-06 -3.89177809857e-07 2.76472603131e-06 -3.51924562913e-07 2.94254553885e-06 -2.43936982961e-07 3.18287874872e-06 2.86343500864e-06 1.8557838776e-07 1.99413764446e-06 3.3512682949e-07 1.78768790654e-06 5.09797510394e-07 2.00487943609e-06 7.21928669714e-07 1.46161261587e-06 8.4091627948e-07 1.47081722146e-06 9.70139930516e-07 1.51487927469e-06 1.10561694392e-06 1.53894550867e-06 1.27389320352e-06 1.48842900406e-06 1.47027426236e-06 1.41561027246e-06 1.67669766431e-06 1.3493948017e-06 1.87595681403e-06 1.29747335004e-06 2.05186979136e-06 1.26434436268e-06 2.19241632936e-06 1.24984493833e-06 2.29519758413e-06 1.24404247797e-06 2.37745478931e-06 1.23009077262e-06 2.47855680526e-06 1.20850221993e-06 2.61183994201e-06 1.19579817542e-06 2.75439318273e-06 1.17391735774e-06 2.8944830529e-06 1.13845672679e-06 3.03136964322e-06 1.11027658465e-06 3.12640362552e-06 1.09964894856e-06 3.15854826738e-06 1.07448862658e-06 3.14608422689e-06 1.04726408797e-06 3.15228520318e-06 9.87362117281e-07 3.19791404288e-06 9.25120063378e-07 3.3091138171e-06 8.55170008813e-07 3.4874873133e-06 8.00981838815e-07 3.66775121139e-06 7.52863180663e-07 3.79821596235e-06 7.40906884289e-07 3.89051907323e-06 7.60229277521e-07 3.97335644927e-06 8.0934672029e-07 4.11341220065e-06 7.98366751385e-07 4.26749250181e-06 7.65740982846e-07 4.37108619678e-06 7.96574018422e-07 4.49306991201e-06 7.8875671256e-07 4.65212700159e-06 7.36461293965e-07 4.87577101941e-06 7.19718270128e-07 5.24178485143e-06 7.75522433622e-07 6.04182390477e-06 1.08112298093e-06 7.7002536467e-06 -0.000144440181156 1.32369566709e-05 -0.000538029462388 1.76635700645e-05 -0.000572326614776 2.20146476022e-05 -0.000581183730243 2.66331140916e-05 -0.000587451042711 3.13864164257e-05 -0.000590489805245 3.62541010961e-05 -0.000592572505979 4.12284039765e-05 -0.000593553633852 4.62879800751e-05 -0.000593889679411 5.14326618829e-05 -0.000593625753025 5.66638453739e-05 -0.000592827798717 6.19838513279e-05 -0.000591487539906 6.73933670437e-05 -0.000589563980179 7.28898990471e-05 -0.000586972335048 7.8464510643e-05 -0.000583566087675 8.40911780035e-05 -0.000579160902038 8.97098249886e-05 -0.000573395445529 9.52447015861e-05 -0.000565893816076 0.000100470046372 -0.000555725197026 0.000105105574424 -0.000541578210908 0.000108075526755 -0.0005184001393 9.77381138887e-05 -0.000428210253592 7.3662555154e-05 -0.000301041178826 4.09792940427e-05 -0.000164669082006 -1.85675676075e-06 -2.82688055462e-05 -2.61605200623e-06 3.3321418723e-06 -2.49349198535e-06 2.95896486308e-06 -2.35337644889e-06 2.73852970518e-06 -2.15630983165e-06 2.55605640237e-06 -2.03340881421e-06 2.53332196303e-06 -1.88411965292e-06 2.51632559341e-06 -1.79803854515e-06 2.61875313562e-06 -1.60627128025e-06 2.70356360777e-06 -1.38576677374e-06 2.76010882409e-06 -1.13984996503e-06 2.81030244499e-06 -8.80531336251e-07 2.82590696571e-06 -6.05046406892e-07 2.72865454402e-06 -4.93445858623e-07 2.65381911121e-06 -3.9908439191e-07 2.84870438975e-06 -2.77029296389e-07 3.0625366342e-06 2.58674215719e-06 3.06437436491e-07 1.68909005988e-06 3.64680111858e-07 1.73100310797e-06 5.71216921313e-07 1.79979045572e-06 8.41668714097e-07 1.19219335231e-06 1.02503437009e-06 1.28849663305e-06 1.15491211452e-06 1.38609164378e-06 1.31622481884e-06 1.3788273605e-06 1.51738483283e-06 1.28851298767e-06 1.72653598002e-06 1.20774805263e-06 1.91752632174e-06 1.15964989216e-06 2.08056430238e-06 1.13559684585e-06 2.2147684837e-06 1.13117261142e-06 2.32946286617e-06 1.13605506336e-06 2.44419702161e-06 1.13005946358e-06 2.56030946804e-06 1.11461796262e-06 2.66449821129e-06 1.10485427617e-06 2.76785903822e-06 1.09294194521e-06 2.85543902661e-06 1.08680491591e-06 2.91501872721e-06 1.07932915216e-06 2.97941008211e-06 1.04629289029e-06 3.07028919784e-06 1.00917284196e-06 3.16739501063e-06 9.77751088203e-07 3.26127259679e-06 9.53720286626e-07 3.34009336268e-06 9.08771339068e-07 3.42020424378e-06 8.45161415218e-07 3.50427526237e-06 7.71155939953e-07 3.57895757933e-06 7.26289277194e-07 3.64339656726e-06 6.88379614214e-07 3.70976138744e-06 6.745266071e-07 3.78457141482e-06 6.85313174346e-07 3.92071525091e-06 6.72906960968e-07 4.0523231612e-06 6.66196657727e-07 4.13769403811e-06 6.79827153767e-07 4.22849974019e-06 7.05198362901e-07 4.31255871136e-06 7.04855094168e-07 4.44300336685e-06 6.07829300481e-07 4.74002570103e-06 4.21831484845e-07 5.18189753207e-06 3.28530008568e-07 5.87127672448e-06 4.06182256107e-07 6.87543854033e-06 -0.000145458061165 1.23901389017e-05 -0.000543543697121 1.64584760885e-05 -0.000576394970706 2.04706382568e-05 -0.000585196084433 2.47430201465e-05 -0.000591723682428 2.91733290697e-05 -0.000594920471679 3.37159196315e-05 -0.000597115542393 3.83750593802e-05 -0.000598213326048 4.31279935293e-05 -0.000598643213574 4.79783506043e-05 -0.00059847675638 5.29339159006e-05 -0.000597784000266 5.80044651659e-05 -0.000596558740101 6.31986857694e-05 -0.00059475882292 6.85231675744e-05 -0.000592297448628 7.39792193366e-05 -0.000589022678469 7.95472589817e-05 -0.000584729485512 8.51801471788e-05 -0.000579028758229 9.08069920927e-05 -0.000571520978921 9.61866886568e-05 -0.000561105415439 0.000101046848386 -0.000546438770445 0.000104121180748 -0.000521474712847 9.09837223456e-05 -0.000415072938759 6.167349188e-05 -0.000271730943973 2.20505524926e-05 -0.000125045115335 -3.88376072111e-06 -2.33396241252e-06 -3.06542266745e-06 2.5142395497e-06 -2.69244558889e-06 2.58629413521e-06 -2.49164594019e-06 2.5379552912e-06 -2.33727804398e-06 2.40187752193e-06 -2.18359309622e-06 2.37982575294e-06 -2.03748987884e-06 2.3704282733e-06 -1.87899887171e-06 2.46051483272e-06 -1.67214599518e-06 2.49702888175e-06 -1.4434003084e-06 2.53178212355e-06 -1.17851925946e-06 2.54594920373e-06 -9.02722502476e-07 2.55071686628e-06 -6.60945376427e-07 2.48747929935e-06 -5.45105097493e-07 2.53854678511e-06 -4.01227308808e-07 2.7059098682e-06 -2.32386743384e-07 2.89425883297e-06 2.35493147771e-06 3.55604487789e-07 1.33498983282e-06 4.47422020427e-07 1.64085708814e-06 5.9179747626e-07 1.65688420848e-06 7.77886008418e-07 1.00703923285e-06 1.01108389677e-06 1.05625673908e-06 1.18216573999e-06 1.21625483766e-06 1.40877809174e-06 1.15363063289e-06 1.63299576039e-06 1.06575685744e-06 1.82454608039e-06 1.0175647633e-06 1.97440003742e-06 1.01104716687e-06 2.09501597933e-06 1.01605889025e-06 2.18977478247e-06 1.03733736367e-06 2.26430291597e-06 1.0622921819e-06 2.34157793934e-06 1.05344556302e-06 2.43795006264e-06 1.01879446846e-06 2.55163548361e-06 9.91670209401e-07 2.66467506507e-06 9.80336306948e-07 2.77478832754e-06 9.77095373514e-07 2.88566722072e-06 9.68790268532e-07 2.98331576153e-06 9.48976288592e-07 3.06668200477e-06 9.26088176595e-07 3.15028560317e-06 8.94413640979e-07 3.25143423812e-06 8.52743868125e-07 3.37087697775e-06 7.89463291319e-07 3.48712910934e-06 7.28906071464e-07 3.56364161162e-06 6.94549947773e-07 3.61803243544e-06 6.71690556409e-07 3.64172452655e-06 6.64485714059e-07 3.67768123758e-06 6.38337641689e-07 3.76408537477e-06 5.98620530799e-07 3.87030168789e-06 5.66173694295e-07 3.95248666153e-06 5.8332372e-07 4.01418397854e-06 6.17259060858e-07 4.09575609454e-06 6.23424040649e-07 4.20359195725e-06 5.97300308124e-07 4.31304013878e-06 4.97243873577e-07 4.37533172189e-06 3.60536337646e-07 4.61247909074e-06 9.68348071147e-08 5.31891224922e-06 -3.16275377279e-07 5.7585421875e-06 -0.000145882512344 1.09648521902e-05 -0.000548750475631 1.47247588335e-05 -0.000580155208733 1.8485757861e-05 -0.000588957450662 2.24744330218e-05 -0.000595712840245 2.66330280341e-05 -0.000599079650712 3.08847332583e-05 -0.000601367986479 3.52472420109e-05 -0.000602576667109 3.97017334051e-05 -0.000603098645836 4.42576352066e-05 -0.000603033618658 4.89308940962e-05 -0.000602458260468 5.3741390614e-05 -0.00060137020955 5.87089754423e-05 -0.000599727385958 6.38524703591e-05 -0.00059744183859 6.91857523055e-05 -0.000594356830453 7.47001366234e-05 -0.000590244581145 8.03687275563e-05 -0.000584697966987 8.61238905315e-05 -0.000577276937807 9.1727036735e-05 -0.000566709056074 9.69633078435e-05 -0.000551675698473 0.000100439455866 -0.000524951649521 8.45540876638e-05 -0.000399188045608 5.10505371488e-05 -0.000238226963681 4.85878518784e-06 -7.88534803135e-05 -1.764267515e-06 4.28926955022e-06 -2.50824706376e-06 3.25840573239e-06 -2.68272862564e-06 2.76094250953e-06 -2.60615055684e-06 2.46152043232e-06 -2.50192599647e-06 2.29779521795e-06 -2.36097139787e-06 2.23903634194e-06 -2.21462703669e-06 2.22428442885e-06 -1.98847919726e-06 2.23461188054e-06 -1.75599443314e-06 2.26484897159e-06 -1.49952082029e-06 2.27568049632e-06 -1.20015275006e-06 2.24703684428e-06 -9.40069405282e-07 2.2911624747e-06 -7.50406894033e-07 2.29834521462e-06 -6.03980451099e-07 2.39270617512e-06 -4.43969520142e-07 2.54634167809e-06 -1.9845611688e-07 2.64998025532e-06 2.15675089622e-06 2.71616874743e-07 1.06447955914e-06 4.97999678346e-07 1.41604658649e-06 6.63118113482e-07 1.49315447458e-06 6.78258683324e-07 9.92839030782e-07 8.82217064635e-07 8.53535322272e-07 1.19782887393e-06 9.02231317372e-07 1.45649012169e-06 8.96540789798e-07 1.63469537687e-06 8.88920159726e-07 1.75356717765e-06 8.99864115555e-07 1.81494822945e-06 9.50627513334e-07 1.87357671517e-06 9.58236133761e-07 1.97264664142e-06 9.38944144157e-07 2.10886583574e-06 9.26696280489e-07 2.25140982964e-06 9.11448575608e-07 2.38107394023e-06 8.89642301803e-07 2.49897047177e-06 8.74215998418e-07 2.61037869052e-06 8.69321340093e-07 2.71879775705e-06 8.68987781518e-07 2.82401472817e-06 8.63855132952e-07 2.92472550075e-06 8.48476173964e-07 3.02499693555e-06 8.26012499604e-07 3.1226590897e-06 7.96853847218e-07 3.21530954269e-06 7.60158167223e-07 3.2906422516e-06 7.14048534537e-07 3.3695180035e-06 6.49875028266e-07 3.45212485731e-06 6.11622464109e-07 3.53316337164e-06 5.90266108567e-07 3.62732235276e-06 5.69867591059e-07 3.70390994219e-06 5.61302012783e-07 3.74680239402e-06 5.55191006479e-07 3.777021956e-06 5.3527874549e-07 3.84322295051e-06 5.16143291177e-07 3.9219578454e-06 5.37729807492e-07 3.97181040002e-06 5.72859318285e-07 3.99341258346e-06 5.75491754145e-07 3.9615646181e-06 5.31073903364e-07 3.93627530314e-06 3.85478984761e-07 4.06176341813e-06 -3.62228936786e-08 4.50615252748e-06 -7.44945869664e-07 4.31953365644e-06 -0.000145712792188 8.90498873978e-06 -0.000553335708482 1.2433389479e-05 -0.000583684012787 1.60551124695e-05 -0.000592579881554 1.98353997403e-05 -0.000599493930939 2.37768982145e-05 -0.00060302208738 2.77721817051e-05 -0.00060536429741 3.18520952242e-05 -0.000606657744602 3.60092221182e-05 -0.000607256990801 4.02621315884e-05 -0.000607287822466 4.46371939099e-05 -0.000606834603219 4.91666241893e-05 -0.000605900946973 5.38845268818e-05 -0.000604446522606 5.88248932664e-05 -0.000602383413365 6.40179843181e-05 -0.000599550948964 6.94734183651e-05 -0.000595700904151 7.51923191676e-05 -0.000590417918457 8.1104470064e-05 -0.000583189293745 8.69807244603e-05 -0.00057258646143 9.2646705827e-05 -0.000557342563693 9.65658948193e-05 -0.000528871021196 7.78199460765e-05 -0.000380441861109 4.3495905206e-05 -0.00020390296079 -4.23917735225e-06 -3.11175844642e-05 -3.44086633878e-06 3.49103939287e-06 -3.15123187841e-06 2.96887490033e-06 -2.96901857468e-06 2.57883347059e-06 -2.84443814353e-06 2.3370403475e-06 -2.71150120635e-06 2.16497485918e-06 -2.54050308899e-06 2.06818441774e-06 -2.33212712891e-06 2.01609580633e-06 -2.08954122708e-06 1.99225899292e-06 -1.82535137042e-06 2.00094153681e-06 -1.56038327789e-06 2.01105400563e-06 -1.32145202944e-06 2.00851729069e-06 -1.09935569646e-06 2.06954459739e-06 -8.80841523789e-07 2.08034970282e-06 -6.60462174416e-07 2.17279684363e-06 -4.90548331885e-07 2.37729171243e-06 -1.73413409732e-07 2.33334758978e-06 1.98377473008e-06 1.59537792632e-07 9.06100750396e-07 4.59332949018e-07 1.11762113883e-06 7.45974812797e-07 1.20799656436e-06 8.3596379694e-07 9.04429125418e-07 9.8689610854e-07 7.04255608576e-07 1.18419151408e-06 7.06442668417e-07 1.32181815911e-06 7.60179453616e-07 1.39651231423e-06 8.15224276401e-07 1.49210909755e-06 8.05091358573e-07 1.63940101029e-06 8.04020922421e-07 1.79466647124e-06 8.03604481425e-07 1.9376245918e-06 7.96534604313e-07 2.07435227124e-06 7.90505607229e-07 2.2026413804e-06 7.83631483547e-07 2.31672805904e-06 7.76019999051e-07 2.41822684087e-06 7.73083137113e-07 2.51503814029e-06 7.72839249641e-07 2.61236477931e-06 7.71879321762e-07 2.70994393459e-06 7.6647258258e-07 2.80855407201e-06 7.49975976717e-07 2.90443571823e-06 7.30222468598e-07 2.99723079277e-06 7.04038766243e-07 3.09672957595e-06 6.60594236261e-07 3.20542144425e-06 6.05129467995e-07 3.3010995822e-06 5.53873415134e-07 3.38853587481e-06 5.23654400862e-07 3.47417731189e-06 5.04072543955e-07 3.55240099802e-06 4.90972165209e-07 3.62343519851e-06 4.89680358886e-07 3.70291463985e-06 4.74958309425e-07 3.77489164431e-06 4.62435897107e-07 3.789713625e-06 5.00297726268e-07 3.76974262528e-06 5.56668280536e-07 3.75541333907e-06 5.86583480093e-07 3.72810175864e-06 6.03096634026e-07 3.65753687274e-06 6.00105740157e-07 3.52144799667e-06 5.20511131955e-07 3.32775303365e-06 1.64700893074e-07 3.17188556692e-06 -6.0550716574e-07 2.41082310497e-06 -0.00014493941914 6.09883040101e-06 -0.000557025301246 9.54344597655e-06 -0.000587130058578 1.31862262694e-05 -0.000596224084982 1.68546032323e-05 -0.000603163702548 2.06341771747e-05 -0.000606803107821 2.44036534945e-05 -0.000609135239716 2.82077167044e-05 -0.000610463367058 3.20588321133e-05 -0.000611109674285 3.5989596297e-05 -0.000611220201666 4.00392633366e-05 -0.000610885849582 4.42542836162e-05 -0.000610117526034 4.86848496934e-05 -0.00060887856266 5.33827337399e-05 -0.000607082637517 5.83987544631e-05 -0.000604568111062 6.3771172569e-05 -0.00060107457599 6.95413256741e-05 -0.000596188257265 7.56475030603e-05 -0.00058929706629 8.19166408514e-05 -0.00057885571328 8.81210969755e-05 -0.000563547357103 9.21571581609e-05 -0.000532907281833 6.74424542702e-05 -0.000355726392247 2.41201174362e-05 -0.000160578645074 -4.62909294925e-06 -2.3681663026e-06 -3.88145836653e-06 2.74353846321e-06 -3.44559076106e-06 2.53308389884e-06 -3.27431755601e-06 2.40761738076e-06 -3.15013787888e-06 2.21293299887e-06 -2.97282570877e-06 1.98775754099e-06 -2.73373228919e-06 1.82922328171e-06 -2.47302701286e-06 1.75555922718e-06 -2.20218806612e-06 1.72163532816e-06 -1.9258372472e-06 1.72485488839e-06 -1.66726183808e-06 1.7527983605e-06 -1.42183285327e-06 1.76346161071e-06 -1.16771116397e-06 1.81585435307e-06 -9.40272279026e-07 1.85333003042e-06 -6.83194625245e-07 1.91622703813e-06 -5.18377382316e-07 2.21289070323e-06 -1.87434851784e-07 2.00327981239e-06 1.79660757299e-06 9.14223405113e-08 8.15808634332e-07 3.58693831654e-07 8.51748067935e-07 5.97539200934e-07 9.70807216026e-07 6.85136721107e-07 8.18477648034e-07 8.29507265328e-07 5.61141525003e-07 9.54182741006e-07 5.82799464274e-07 1.10589499213e-06 6.09271830619e-07 1.29031629298e-06 6.31575902131e-07 1.45543937056e-06 6.40580862785e-07 1.6115802667e-06 6.48494201332e-07 1.75826053305e-06 6.57398205489e-07 1.89021878439e-06 6.65099517323e-07 2.00837128812e-06 6.7276188889e-07 2.11334465824e-06 6.79121993255e-07 2.20425363177e-06 6.85426471219e-07 2.28476951734e-06 6.92902483941e-07 2.36952707019e-06 6.88230885028e-07 2.47674463891e-06 6.648579969e-07 2.59861302243e-06 6.44636285156e-07 2.71874689218e-06 6.29951771498e-07 2.83436438266e-06 6.14527284455e-07 2.9475074108e-06 5.90889236886e-07 3.05639290462e-06 5.51427436469e-07 3.15878685884e-06 5.02477894586e-07 3.24989571104e-06 4.62177610093e-07 3.3344757346e-06 4.38555909666e-07 3.41886815909e-06 4.18820724439e-07 3.50547620307e-06 4.03690095274e-07 3.59523873107e-06 3.98988679209e-07 3.6694540682e-06 3.99983888195e-07 3.70550467416e-06 4.25250224382e-07 3.72385508303e-06 4.80829400474e-07 3.73978754058e-06 5.39581539603e-07 3.69865936588e-06 6.26998433918e-07 3.55634552967e-06 7.44361923419e-07 3.33060682462e-06 8.26876646586e-07 3.03282314656e-06 8.19200490248e-07 2.40862156464e-06 7.80812863883e-07 1.59391386071e-06 2.19386161713e-07 -1.00630935996e-06 -0.000142359952849 2.42624107511e-06 -0.000560460091112 6.053078487e-06 -0.000590759489154 9.92948369182e-06 -0.000600102899839 1.36000629074e-05 -0.000606836619803 1.72639551599e-05 -0.000610469052501 2.08259381111e-05 -0.00061269930723 2.43487062769e-05 -0.00061398802486 2.78721920752e-05 -0.000614635130009 3.14482823332e-05 -0.000614798082884 3.51316650556e-05 -0.00061457108307 3.89843488332e-05 -0.000613971855182 4.3073186677e-05 -0.000612969049585 4.74691311051e-05 -0.000611479985442 5.22463173995e-05 -0.000609346762427 5.74789367618e-05 -0.000606307811093 6.32514369891e-05 -0.000601962756326 6.95528845076e-05 -0.000595598060042 7.63853008101e-05 -0.000585689541138 8.35728646955e-05 -0.000570735566341 8.87702775069e-05 -0.000538104405518 5.90164996361e-05 -0.000325971413136 5.53543879099e-06 -0.00010709809341 -1.99615105289e-06 5.16342154038e-06 -2.99499546671e-06 3.74232630263e-06 -3.37654386264e-06 2.91456124097e-06 -3.43145123947e-06 2.4624834376e-06 -3.31931511758e-06 2.10079043732e-06 -3.13437179014e-06 1.80286221167e-06 -2.90498936598e-06 1.59993386438e-06 -2.6430641178e-06 1.49377904627e-06 -2.3711082664e-06 1.44987025315e-06 -2.08690170284e-06 1.44089493907e-06 -1.81605923815e-06 1.48225583573e-06 -1.55630393514e-06 1.50406460267e-06 -1.29962260049e-06 1.55956657683e-06 -1.05654322111e-06 1.610683677e-06 -7.9145853236e-07 1.65153937088e-06 -5.47243246676e-07 1.96938389692e-06 -2.65845792258e-07 1.7223619027e-06 1.53109734314e-06 7.71151464072e-08 7.4013878751e-07 2.95896834762e-07 6.34335110253e-07 5.0468019081e-07 7.63718148679e-07 6.25685745129e-07 6.99150164146e-07 7.79207183731e-07 4.08607240705e-07 9.3146293483e-07 4.3131231638e-07 1.09512641566e-06 4.46249739389e-07 1.2610262797e-06 4.66270293932e-07 1.41718865508e-06 4.84938784506e-07 1.56162335515e-06 5.0453648934e-07 1.69411718769e-06 5.2532300292e-07 1.8125954941e-06 5.47028715278e-07 1.91710614498e-06 5.68601584436e-07 2.00898743168e-06 5.87588429889e-07 2.09804325298e-06 5.96633521987e-07 2.20534562362e-06 5.85823262118e-07 2.33370659583e-06 5.59989084345e-07 2.46372963603e-06 5.34912800163e-07 2.58876805722e-06 5.19603870911e-07 2.70686093874e-06 5.11852005116e-07 2.81752330488e-06 5.03755687909e-07 2.92227702895e-06 4.85970847145e-07 3.02493012887e-06 4.48464753244e-07 3.12694607631e-06 4.00062696568e-07 3.22268572756e-06 3.65816595473e-07 3.31175612935e-06 3.48756082001e-07 3.40073506856e-06 3.28980986159e-07 3.49805586863e-06 3.0554372253e-07 3.59347570709e-06 3.02647920016e-07 3.66674299195e-06 3.25770860033e-07 3.72005121665e-06 3.7074080814e-07 3.75824097335e-06 4.41420674081e-07 3.75132280163e-06 5.45244763097e-07 3.68587568975e-06 6.91272589577e-07 3.55052335357e-06 8.79538014992e-07 3.22634622129e-06 1.14917664926e-06 2.56240902779e-06 1.48072581502e-06 1.46671426714e-06 1.88091647612e-06 2.31133406217e-08 1.64949325513e-06 -6.72170507587e-06 -0.000135616178673 -2.10639489697e-06 -0.000565079243855 2.09183801497e-06 -0.000594961222048 6.38599343871e-06 -0.000604400248506 1.01615231072e-05 -0.000610615019364 1.37382355119e-05 -0.000614048360787 1.70932641109e-05 -0.000616056757471 2.03136469902e-05 -0.000617210669004 2.34733072036e-05 -0.000617796967555 2.66478037739e-05 -0.000617974632464 2.99099646221e-05 -0.000617835203531 3.33371095254e-05 -0.000617400840789 3.70125494276e-05 -0.000616646182257 4.10268444899e-05 -0.000615495870581 4.54806029585e-05 -0.000613801621795 5.04824758262e-05 -0.000611311644734 5.61517261116e-05 -0.000607631696953 6.25239877046e-05 -0.000601972561853 6.98032234556e-05 -0.000592969035551 7.79449893966e-05 -0.000578877810205 8.56074684899e-05 -0.000545767348892 5.57866870636e-05 -0.000296151975565 -4.54019048442e-06 -4.67721837771e-05 -4.00227672391e-06 4.62528042606e-06 -3.86474958556e-06 3.60462011434e-06 -3.81747529954e-06 2.86715015404e-06 -3.72427312695e-06 2.36919367097e-06 -3.56246804872e-06 1.93895462474e-06 -3.34481387527e-06 1.58523922613e-06 -3.09332623197e-06 1.34852805428e-06 -2.81297849182e-06 1.21356806388e-06 -2.5224189817e-06 1.1594907055e-06 -2.2283671966e-06 1.14707579515e-06 -1.95109765874e-06 1.20527241085e-06 -1.71039680856e-06 1.26370782082e-06 -1.4480474699e-06 1.29761140961e-06 -1.17229515473e-06 1.33532770558e-06 -9.22813615632e-07 1.40253542303e-06 -6.31666627406e-07 1.67869705677e-06 -3.37629148267e-07 1.42900091441e-06 1.19367387405e-06 9.16893785382e-08 6.50083619636e-07 2.15528557143e-07 5.12005304035e-07 4.5346974896e-07 5.27728097107e-07 6.50369235357e-07 5.03729953773e-07 7.60698157727e-07 2.99043653172e-07 9.04722196632e-07 2.87822178761e-07 1.05615744251e-06 2.95406533911e-07 1.20451589789e-06 3.1827832595e-07 1.34741155482e-06 3.42502397234e-07 1.4837051945e-06 3.6848345441e-07 1.61361929338e-06 3.95786281952e-07 1.73544436728e-06 4.2534863783e-07 1.84770264949e-06 4.56694513822e-07 1.95532088849e-06 4.80085144308e-07 2.07035600384e-06 4.81899619494e-07 2.19240424415e-06 4.63756270925e-07 2.32074675706e-06 4.31793122624e-07 2.44924751942e-06 4.06251211141e-07 2.57216580664e-06 3.96761787261e-07 2.68940291549e-06 3.94306252915e-07 2.79861560822e-06 3.94505810795e-07 2.89673053268e-06 3.87365544995e-07 2.99759681118e-06 3.47407818367e-07 3.10964516101e-06 2.87188549372e-07 3.21865539641e-06 2.56343466126e-07 3.31046535036e-06 2.55829593659e-07 3.39605440693e-06 2.42767197428e-07 3.49782836021e-06 2.02489761737e-07 3.60199315152e-06 1.97795576877e-07 3.6818735863e-06 2.44472735522e-07 3.74768432168e-06 3.0381393076e-07 3.80442851673e-06 3.82853562912e-07 3.84866286209e-06 4.99504573099e-07 3.84684224753e-06 6.91645276852e-07 3.73662983525e-06 9.87557673705e-07 3.4284416535e-06 1.45635282352e-06 2.72558656063e-06 2.18349391657e-06 1.27716808015e-06 3.32365583873e-06 -1.35730911023e-06 4.28555275033e-06 -1.39249604977e-05 -0.000123070882479 -7.0642075655e-06 -0.00057194524481 -1.98292340988e-06 -0.000600047106427 2.8192047421e-06 -0.000609206850501 6.76269907039e-06 -0.000614562223615 1.02421714296e-05 -0.000617531483346 1.3346341664e-05 -0.000619163945447 1.62049864195e-05 -0.000620072423308 1.89341846064e-05 -0.000620528746807 2.16360500482e-05 -0.000620679192635 2.44009535616e-05 -0.000620602316244 2.73180479455e-05 -0.000620320171231 3.0483788487e-05 -0.000619813724705 3.40078992958e-05 -0.000619021690753 3.80218815871e-05 -0.000617817479073 4.26822305445e-05 -0.000615972503641 4.81469503784e-05 -0.000613098955229 5.4517782007e-05 -0.000608343462785 6.20271435187e-05 -0.00060047988582 7.01755326273e-05 -0.000587027198764 7.74183660095e-05 -0.000553011079442 3.57232640244e-05 -0.000254457911485 -5.37214956112e-06 -5.67725143498e-06 -4.83470982941e-06 4.08760021755e-06 -4.61848615445e-06 3.38823627085e-06 -4.42033711505e-06 2.66889534068e-06 -4.16095849627e-06 2.1097556991e-06 -3.87233535806e-06 1.65033861928e-06 -3.56981476708e-06 1.2827654958e-06 -3.24856192661e-06 1.02738143323e-06 -2.93701470837e-06 9.02157441677e-07 -2.63820391895e-06 8.60862510544e-07 -2.37987886874e-06 8.88968124717e-07 -2.13867357452e-06 9.64356148523e-07 -1.8854378874e-06 1.01080959447e-06 -1.63594728101e-06 1.04849885502e-06 -1.40048667554e-06 1.10028992591e-06 -1.14195269023e-06 1.14443597733e-06 -6.94580605684e-07 1.231918129e-06 -2.69748815664e-07 1.00456181044e-06 9.24135075968e-07 1.71731941964e-07 4.80962931628e-07 3.01697126951e-07 3.8429538385e-07 4.68872655719e-07 3.6210296535e-07 5.73565356699e-07 4.00011168297e-07 6.8647636774e-07 1.86716486376e-07 8.23486824818e-07 1.51285148195e-07 9.66562993047e-07 1.52683282764e-07 1.09908510291e-06 1.86115363669e-07 1.22934894742e-06 2.12492164252e-07 1.36181346358e-06 2.36274765898e-07 1.50088609346e-06 2.56842815005e-07 1.64358605046e-06 2.82831916311e-07 1.78779815838e-06 3.12542847366e-07 1.9259455844e-06 3.42034825388e-07 2.04674180726e-06 3.61060484496e-07 2.16414231155e-06 3.46345940055e-07 2.29584265116e-06 2.99973540409e-07 2.42965862602e-06 2.72371728456e-07 2.5557331234e-06 2.70449386715e-07 2.67923952393e-06 2.70629701393e-07 2.79044121536e-06 2.82888119339e-07 2.88378538881e-06 2.93685790608e-07 2.99441946828e-06 2.36071351005e-07 3.14092844413e-06 1.40095478697e-07 3.27811996274e-06 1.18127153845e-07 3.38372834242e-06 1.49346849553e-07 3.46036922912e-06 1.64843405679e-07 3.51795629925e-06 1.43951855039e-07 3.60431919559e-06 1.10105589721e-07 3.70787342458e-06 1.39658439969e-07 3.79429722737e-06 2.15556351606e-07 3.90125791936e-06 2.73956909729e-07 4.02283830997e-06 3.7588999466e-07 4.12883527654e-06 5.83232122413e-07 4.188087943e-06 9.26574313996e-07 4.11513635306e-06 1.5266222233e-06 3.66187167615e-06 2.63393509888e-06 2.2319120857e-06 4.75420044649e-06 -1.88377592561e-06 8.38951210888e-06 -2.13923399075e-05 -0.000103580237895 -1.18415494738e-05 -0.000581501563624 -5.73819349612e-06 -0.000606155902226 -3.55194833745e-07 -0.000614594578372 3.7589391921e-06 -0.000618680792468 7.03882518694e-06 -0.000620815164117 9.7589326795e-06 -0.000621887679706 1.21343514247e-05 -0.000622450997707 1.43277257383e-05 -0.000622725199505 1.64625698572e-05 -0.000622816719528 1.86363701592e-05 -0.000622778700685 2.09404279706e-05 -0.000622626416002 2.34731664147e-05 -0.000622348541335 2.63549302384e-05 -0.000621905436523 2.97472452554e-05 -0.000621211078876 3.38706266379e-05 -0.000620098564662 3.9006518233e-05 -0.000618235251725 4.54821139849e-05 -0.000614821604622 5.36072912804e-05 -0.000608606384506 6.23609037534e-05 -0.000595781921716 7.11637767319e-05 -0.000561815124808 1.52481309937e-05 -0.000198544367984 -1.50042073794e-06 1.10710215486e-05 -4.28885096472e-06 6.87584273047e-06 -5.01938587171e-06 4.11864465132e-06 -4.97431010452e-06 2.62373168035e-06 -4.62574650839e-06 1.76114670471e-06 -4.19598444326e-06 1.2205756311e-06 -3.830318779e-06 9.17149785871e-07 -3.49760340963e-06 6.94755126941e-07 -3.12409442895e-06 5.28776594447e-07 -2.81456690258e-06 5.51502134123e-07 -2.60593736046e-06 6.80553770733e-07 -2.37761928226e-06 7.36309138481e-07 -2.09744526939e-06 7.30963408752e-07 -1.78081287732e-06 7.32230944242e-07 -1.41961006992e-06 7.39442031479e-07 -1.02196767813e-06 7.47163725637e-07 -5.48319327751e-07 7.58594120649e-07 -1.91622497382e-07 6.48282356233e-07 7.32758723674e-07 2.28251826529e-07 2.55760275364e-07 4.47263957223e-07 1.67089295609e-07 5.76153424725e-07 2.34202973966e-07 6.45893825843e-07 3.31518237803e-07 6.14415999929e-07 2.18752338593e-07 7.330728577e-07 3.3192971368e-08 8.74424997821e-07 1.17007752983e-08 9.94922566622e-07 6.6056906003e-08 1.12798733139e-06 7.96685278155e-08 1.2808616885e-06 8.36948520643e-08 1.44292811166e-06 9.48690362181e-08 1.60535150053e-06 1.20547763282e-07 1.7546582285e-06 1.63133798668e-07 1.87962781992e-06 2.17076217139e-07 1.97769280883e-06 2.62790324471e-07 2.07731138533e-06 2.4672947431e-07 2.2209599792e-06 1.56102950749e-07 2.39886444855e-06 9.44625484078e-08 2.57039906225e-06 9.8637030327e-08 2.73328787049e-06 1.07615227476e-07 2.91295685206e-06 1.02734216412e-07 3.11745628007e-06 8.88353702685e-08 3.26898716185e-06 8.37388677783e-08 3.3417391794e-06 6.66755864881e-08 3.41262192152e-06 4.61107441212e-08 3.5001822912e-06 6.08805852774e-08 3.58544021179e-06 7.82652273397e-08 3.65543309803e-06 7.29470875239e-08 3.70017225956e-06 6.39651846075e-08 3.75385752166e-06 8.46767858318e-08 3.85000911316e-06 1.17494501461e-07 3.98458719552e-06 1.37574080238e-07 4.15867810535e-06 1.99732353565e-07 4.39259064732e-06 3.48020139169e-07 4.71255376415e-06 6.04806397588e-07 5.1244704681e-06 1.11364493256e-06 5.55267298207e-06 2.20562166687e-06 5.67121629917e-06 4.63315721285e-06 2.45519613136e-06 1.16007188515e-05 -2.84877009794e-05 -7.26526786739e-05 -1.62123245145e-05 -0.000593781158015 -8.17115085138e-06 -0.000614201309627 -2.22348940244e-06 -0.000620546058835 1.70056612018e-06 -0.000622608469205 4.41251391402e-06 -0.000623530257619 6.47055576656e-06 -0.000623948763958 8.17338850356e-06 -0.000624156516704 9.69900728946e-06 -0.000624253496509 1.11636538331e-05 -0.000624283748048 1.26510684881e-05 -0.000624268435322 1.42359961063e-05 -0.000624213344294 1.59997546221e-05 -0.000624114230318 1.8048393648e-05 -0.000623955562863 2.05384002531e-05 -0.000623703556563 2.37251001454e-05 -0.000623285997429 2.80329770023e-05 -0.000622545663238 3.42516184589e-05 -0.000621041525636 4.34535144827e-05 -0.000617809626448 5.56438321084e-05 -0.000607973216867 7.15587312861e-05 -0.000577731219802 7.52271406216e-07 -0.00012773913425 -6.93614115178e-06 1.87592383297e-05 -7.2219105521e-06 7.16145528854e-06 -6.52449227885e-06 3.42109889259e-06 -5.72167638519e-06 1.82080392088e-06 -5.04842891121e-06 1.08782898269e-06 -4.52719859729e-06 6.99314163018e-07 -4.10309598296e-06 4.93070361299e-07 -3.71243546488e-06 3.04154381612e-07 -3.31133932824e-06 1.27795951573e-07 -2.94918796182e-06 1.89510836986e-07 -2.64122124101e-06 3.72801913298e-07 -2.34108517526e-06 4.36427865747e-07 -2.01942056308e-06 4.09606962115e-07 -1.67496399172e-06 3.88099233462e-07 -1.32653646683e-06 3.91347872868e-07 -9.82476119169e-07 4.03417859342e-07 -6.2153956006e-07 3.98030435838e-07 -3.03035341146e-07 3.30229863707e-07 4.30048828522e-07 2.57067410316e-07 4.24600646891e-07 6.59479671915e-07 9.91529398507e-07 1.21086742833e-06 1.24439518207e-06 1.25642037874e-06 1.32265155069e-06 1.40253513261e-06 1.48629436818e-06 1.58126141713e-06 1.70174691884e-06 1.86489014151e-06 2.08183693034e-06 2.344633381e-06 2.59122142413e-06 2.74736136732e-06 2.84168136529e-06 2.94031036834e-06 3.04767663853e-06 3.15030080681e-06 3.23874168981e-06 3.3222164458e-06 3.38829688285e-06 3.43401896673e-06 3.49420687006e-06 3.57201578956e-06 3.64423825706e-06 3.70765335677e-06 3.79144397538e-06 3.90812203e-06 4.04475829916e-06 4.24399709386e-06 4.59146883173e-06 5.19594886324e-06 6.30956136565e-06 8.51473408928e-06 1.31481362168e-05 2.47443797741e-05 -4.79136328322e-05 -1.66965759552e-05 -5.89953122671e-06 -1.44723564213e-06 9.42900929549e-07 2.41123967121e-06 3.46127118958e-06 4.30349222576e-06 5.04888951472e-06 5.76400377499e-06 6.49460346651e-06 7.28032944353e-06 8.16535231481e-06 9.20866799509e-06 1.05046354309e-05 1.22175618516e-05 1.46712967163e-05 1.86290908539e-05 2.58189992229e-05 4.2845572278e-05 9.01139074864e-05 -3.76256752923e-05 -1.88665180053e-05 -1.1705135665e-05 -8.28410665172e-06 -6.46335283231e-06 -5.37555684326e-06 -4.6762481419e-06 -4.18316443844e-06 -3.87896989119e-06 -3.75110741099e-06 -3.56148924523e-06 -3.18855831494e-06 -2.75197919791e-06 -2.34220615407e-06 -1.95392703285e-06 -1.56240552855e-06 -1.15881151931e-06 -7.60574353946e-07 -4.30048828522e-07 ) ; boundaryField { frontAndBack { type empty; value nonuniform 0(); } upperWall { type calculated; value uniform 0; } lowerWall { type calculated; value uniform 0; } inlet { type calculated; value nonuniform List<scalar> 20 ( -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 -0.000625 ) ; } outlet { type calculated; value nonuniform List<scalar> 20 ( 0.000482530362257 0.000624324300643 0.000710223672416 0.000754077283492 0.000775124337989 0.000783556014648 0.000782386464732 0.00077238074408 0.000759005332718 0.000743179126287 0.000724582730505 0.000703061345573 0.000677915253225 0.000647866345591 0.000610668538158 0.000562957201389 0.000502270000848 0.000422133347661 0.000309173794812 0.000155239953197 ) ; } } // ************************************************************************* //
[ "as998@snu.edu.in" ]
as998@snu.edu.in
b83a24c1c121c563410dc2a913b35678af707419
6926361d32b07133eee7b84f7a2049f925b39199
/src/SignalR/clients/cpp/src/signalrclient/negotiate.h
a627e533d78cc30e56298526b813f331149e78a3
[ "Apache-2.0" ]
permissive
lyqcoder/AspNetCore
d0ed82460adfaf94dd9d656443cdf45ad7fe6fa2
6a6a870f0847d347e72443eda843969d0b46da94
refs/heads/master
2020-05-04T06:17:27.579794
2019-04-01T23:01:26
2019-04-02T04:43:30
179,002,699
1
1
Apache-2.0
2019-04-02T05:06:27
2019-04-02T05:06:25
null
UTF-8
C++
false
false
639
h
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #pragma once #include "signalrclient/signalr_client_config.h" #include "signalrclient/transport_type.h" #include "web_request_factory.h" #include "negotiation_response.h" #include "signalrclient/http_client.h" namespace signalr { namespace negotiate { pplx::task<negotiation_response> negotiate(http_client& client, const std::string& base_url, const signalr_client_config& signalr_client_config = signalr::signalr_client_config{}); } }
[ "noreply@github.com" ]
lyqcoder.noreply@github.com
8f4f8fb99167b6dc4204e5ea69b51c4b6eed0630
8b69b0fa5665d972658b9a0b8609e2f6722658dd
/QtUtility/Equipment/EquipmentTip.h
c4ec90b5691e6926385c28d898cee8174e56e2c9
[]
no_license
hcz362329/hcz362329-QtUtility
19cbdb59a920573d0882a053d599e016a7237beb
b7c16fdad89b1b917e4b463838f81502dc9b00ee
refs/heads/master
2022-11-15T08:16:43.047133
2020-07-08T03:55:04
2020-07-08T03:55:04
250,267,308
0
0
null
null
null
null
UTF-8
C++
false
false
548
h
#ifndef EQUIPMENTTIP_H #define EQUIPMENTTIP_H #include "BaseDataDef.h" #include "EquipmentBase.h" #include <QLabel> #include <QTextEdit> class EquipmentTip : public QWidget { Q_OBJECT public: explicit EquipmentTip(QWidget* parent = 0); ~EquipmentTip(); void setEquipmentInfo(const STEquipment& stEquipment); void stringToHtml(QString &str); protected: virtual void paintEvent(QPaintEvent* event); STEquipment m_stEquipment; QPixmap m_pixBG; QVariant m_stItem; QPixmap m_pixIcon; QPixmap m_pixCost; QTextEdit * m_pItemDesc; }; #endif
[ "hcz362329@163.com" ]
hcz362329@163.com
a0a4ea9f36719a4d9059a39a7ada85e65a9efb8c
86862ca97e57cfea14223085672eba33314b9679
/KillNet/stdafx.cpp
a1b0b6bc931bf9dd9c70f60f2622a4a7608a475b
[]
no_license
lpcdma/KillNet
46d029a53f3e59a5f2e30ee862f8d67cfe0bff4a
4fb8707ad7a30d2b94d15a6ef65e72af27fdfd14
refs/heads/master
2021-01-01T19:25:35.650834
2014-12-20T10:23:22
2014-12-20T10:23:22
28,263,597
1
0
null
null
null
null
GB18030
C++
false
false
259
cpp
// stdafx.cpp : 只包括标准包含文件的源文件 // KillNet.pch 将作为预编译头 // stdafx.obj 将包含预编译类型信息 #include "stdafx.h" // TODO: 在 STDAFX.H 中 // 引用任何所需的附加头文件,而不是在此文件中引用
[ "lpcdma@163.com" ]
lpcdma@163.com
0d97f85111e18f52350b6122e104c233cf33972b
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/pdfium/xfa/fxfa/parser/cxfa_month.cpp
16df6e6987c6e73912b21a1ea291b41666d95524
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
797
cpp
// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_month.h" #include "fxjs/xfa/cjx_node.h" #include "xfa/fxfa/parser/cxfa_document.h" CXFA_Month::CXFA_Month(CXFA_Document* doc, XFA_PacketType packet) : CXFA_Node(doc, packet, XFA_XDPPACKET::kLocaleSet, XFA_ObjectType::ContentNode, XFA_Element::Month, {}, {}, cppgc::MakeGarbageCollected<CJX_Node>( doc->GetHeap()->GetAllocationHandle(), this)) {} CXFA_Month::~CXFA_Month() = default;
[ "jengelh@inai.de" ]
jengelh@inai.de
eac407c8aacff1149edb17c02dc81d246e946ef9
69535a36055473a63d4a5ddc858b4897cd919dfa
/TrackParser.cpp
10cda6e1116e93d81e4e450a84159aa698a4f783
[]
no_license
kronosGR/CPP-MusicDB
2705560484c5026ac61b1074d3d56c74e3dcd59b
ed4477bfe58b90fc27043f984a12028977206ac6
refs/heads/master
2023-02-18T13:36:36.551249
2021-01-18T10:34:06
2021-01-18T10:34:06
330,631,251
0
0
null
null
null
null
UTF-8
C++
false
false
1,896
cpp
#include "TrackParser.h" using namespace std; TrackParser::TrackParser() { } TrackParser::~TrackParser() { } /** * @brief stripes of spaces from both ends of the string * @param stringToTrimmed * @return stripped string */ string TrackParser::trim(string stringToTrimmed){ string returnValue = stringToTrimmed; int lastPosition = returnValue.length() -1; bool found = true; while (found == true && lastPosition >=0){ if (returnValue.substr(lastPosition,1) == " "){ returnValue = returnValue.erase(lastPosition,1); } else if (returnValue.substr(0,1) == " "){ returnValue = returnValue.erase(0,1); } else{ found = false; } lastPosition = returnValue.length() -1; } return returnValue; } /** * @brief static public method that parses the string * @param stringToParsed * @return string in author: title */ string TrackParser::parse(string stringToParsed){ string title; string artist; string returnValue=""; if (stringToParsed.find(":") != string::npos){ int pos = stringToParsed.find(":"); artist = stringToParsed.substr(0, pos); title = stringToParsed.substr(pos+1, stringToParsed.length()); returnValue = artist + ": "+ title; } else if ( stringToParsed.find("-") != string::npos){ int pos = stringToParsed.find("-"); title = stringToParsed.substr(0, pos); artist = stringToParsed.substr(pos+1 , stringToParsed.length()); returnValue = artist + ": "+ title; } else if (stringToParsed.find(" by ") != string::npos){ int pos = stringToParsed.find(" by "); title = stringToParsed.substr(0,pos); artist = stringToParsed.substr(pos+3, stringToParsed.length()); returnValue = artist + ": "+ title; } return returnValue; }
[ "geo.elgeo@gmail.com" ]
geo.elgeo@gmail.com
3b26ebbb88fc950e7f7d26ea37ed4957d823a112
e5a2eed530086b4b3772886f1daad8ed6d6b5152
/projects/savefile/src/pse-savefile/expanded/area/areaaudio.cpp
056b815a442f61c39f1036aae5ebd4e89c6ab618
[ "Apache-2.0" ]
permissive
junebug12851/pokered-save-editor-2
f7cf5013652737ef24f0c7a400c6520e4df5f54b
af883fd4c12097d408e1756c7181709cf2b797d8
refs/heads/master
2020-06-06T09:17:16.194569
2020-03-18T09:45:34
2020-03-18T09:45:34
192,697,866
0
0
null
null
null
null
UTF-8
C++
false
false
2,552
cpp
/* * Copyright 2020 June Hanabi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "./areaaudio.h" #include "../../savefile.h" #include "../../savefiletoolset.h" #include "../../savefileiterator.h" #include <pse-db/music.h> #include <pse-db/mapsdb.h> #include <pse-common/random.h> AreaAudio::AreaAudio(SaveFile* saveFile) { load(saveFile); } AreaAudio::~AreaAudio() {} void AreaAudio::load(SaveFile* saveFile) { reset(); if(saveFile == nullptr) return; auto toolset = saveFile->toolset; musicID = toolset->getByte(0x2607); musicIDChanged(); musicBank = toolset->getByte(0x2608); musicBankChanged(); noAudioFadeout = toolset->getBit(0x29D8, 1, 1); noAudioFadeoutChanged(); preventMusicChange = toolset->getBit(0x29DF, 1, 1); preventMusicChangeChanged(); } void AreaAudio::save(SaveFile* saveFile) { auto toolset = saveFile->toolset; toolset->setByte(0x2607, musicID); toolset->setByte(0x2608, musicBank); toolset->setBit(0x29D8, 1, 1, noAudioFadeout); toolset->setBit(0x29DF, 1, 1, preventMusicChange); } void AreaAudio::reset() { musicID = 0; musicIDChanged(); musicBank = 0; musicBankChanged(); noAudioFadeout = false; noAudioFadeoutChanged(); preventMusicChange = false; preventMusicChangeChanged(); } void AreaAudio::randomize() { reset(); // Select a random song auto musicEntry = MusicDB::store.at(Random::rangeExclusive(0, MusicDB::store.size())); // Load it into the map musicID = musicEntry->id; musicIDChanged(); musicBank = musicEntry->bank; musicBankChanged(); } void AreaAudio::setTo(MapDBEntry* map) { reset(); // Select a random song MusicDBEntry* musicEntry = map->toMusic; // Load it into the map musicID = (musicEntry == nullptr) ? 0 : musicEntry->id; musicIDChanged(); musicBank = musicID = (musicEntry == nullptr) ? 0 : musicEntry->bank; musicBankChanged(); }
[ "junehanabi@gmail.com" ]
junehanabi@gmail.com
7f80ec823fe63adfc664b03024a8eac749094419
8fcb1c271da597ecc4aeb75855ff4b372b4bb05e
/COJ/UCalculateE.cpp
dcd4d70343ea3e21ef5a9d7fa8aea061a79e0797
[ "Apache-2.0" ]
permissive
MartinAparicioPons/Competitive-Programming
9c67c6e15a2ea0e2aa8d0ef79de6b4d1f16d3223
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
refs/heads/master
2020-12-15T21:33:39.504595
2016-10-08T20:40:10
2016-10-08T20:40:10
20,273,032
1
0
null
null
null
null
UTF-8
C++
false
false
510
cpp
#include<iostream> #include<cstdio> #include<string> #include<cmath> using namespace std; long fact(int a){ switch (a){ case 5: return 120; case 8: return 40320; case 7: return 5040; case 6: return 720; case 9: return 362880; } } int main(){ int n = 0; double t = 2.708333333; double aux; printf("n e\n- -----------\n0 1\n1 2\n2 2.5\n3 2.666666667\n4 2.708333333"); for (int i = 5; i <= 9; i++){ aux = 1.0/(fact(i)); t += aux; printf("%d %.9lf\n", i, t); } }
[ "martin.aparicio.pons@gmail.com" ]
martin.aparicio.pons@gmail.com
3458e8233e5cdc1db0e28e84187837428bb58864
a107a4f33e5711f4c3a840f60df25dbbb3b0ff8b
/tripletSum.cpp
69e911185103bbbbe970e364dfd1674145120288
[]
no_license
mfayaq/competitive-programming
80c8f7b6e67197312229a0cf8ffd6672afff2700
98f9453ca85e43cdc0cf06232f5c30465a0f5423
refs/heads/master
2022-11-16T05:28:30.816723
2020-07-08T21:24:44
2020-07-08T21:24:44
278,192,818
0
0
null
null
null
null
UTF-8
C++
false
false
187
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int n,sum; cin>>n>>sum; int arr[n]; for(int i=0;i<n;i++){ cin>>arr[i]; } int left=0,right=n-1; while(left<right){
[ "mohdfayaq@gmail.com" ]
mohdfayaq@gmail.com