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
39ea257cc47f5552d1a08f5def55c4265d508756
f0d4e5b2bc6a688dff5dd4d1d0178b3c6e8b3309
/database/txn/TxnAccess.h
8fab5d8cd938434160be6fa674f0347a7975af2f
[ "Apache-2.0" ]
permissive
cac2003/GAM-1
25a2d0f839e00c0c8a0a28629cac8a4a9f007925
218c5a1e985bd7572f9f8a938f9e3c7468868be4
refs/heads/master
2020-03-30T20:03:44.334154
2018-10-05T05:50:48
2018-10-05T06:12:44
151,571,503
3
1
null
2018-10-04T12:55:21
2018-10-04T12:55:21
null
UTF-8
C++
false
false
842
h
// NOTICE: this file is adapted from Cavalia #ifndef __DATABASE_TXN_TXN_ACCESS_H__ #define __DATABASE_TXN_TXN_ACCESS_H__ #include "Record.h" #include "gallocator.h" namespace Database { struct Access { Access() : access_record_(nullptr), access_addr_(Gnullptr) { } AccessType access_type_; Record *access_record_; GAddr access_addr_; }; template<int N> class AccessList { public: AccessList() : access_count_(0) { } Access *NewAccess() { assert(access_count_ < N); Access *ret = &(accesses_[access_count_]); ++access_count_; return ret; } Access *GetAccess(const size_t &index) { return &(accesses_[index]); } void Clear() { access_count_ = 0; } public: size_t access_count_; private: Access accesses_[N]; }; } #endif
[ "guowentian1992@gmail.com" ]
guowentian1992@gmail.com
e8beb524cc8f7102d489dc8bf16b643113417b8c
cb517177a1a2fc008285c84c6ab105c29967cfcc
/Competition/UVa10340.cpp
053702905ecabc89bd51e6a6745b230d7cbfa78e
[]
no_license
cshung/Competition
8b4219593bfe28372ba82fbf923437988d862e2c
f534f37b34a0ef2351f4af3926ac864fed6dafc5
refs/heads/main
2023-08-29T03:25:35.042880
2023-08-16T15:32:45
2023-08-16T15:32:45
23,745,091
0
0
null
null
null
null
UTF-8
C++
false
false
1,076
cpp
#include "stdafx.h" // http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1281 #include "UVa10340.h" #include <iostream> #include <string> using namespace std; int UVa10340() { while (true) { string first_string; string second_string; cin >> first_string; if (cin.eof()) { break; } cin >> second_string; unsigned int first_pointer = 0; unsigned int second_pointer = 0; while (first_pointer < first_string.length() && second_pointer < second_string.length()) { if (first_string[first_pointer] == second_string[second_pointer]) { first_pointer++; second_pointer++; } else { second_pointer++; } } if (first_pointer == first_string.length()) { cout << "Yes" << endl; } else { cout << "No" << endl; } } return 0; }
[ "cshung@gmail.com" ]
cshung@gmail.com
361977dc9798b441dbc6f12dec9c883c56c22839
e83c99f7aa2af6174b6150a6cd6fd94e2b0d3b52
/build-QtTcpClientProducer-Desktop_Qt_5_6_0_MinGW_32bit-Debug/ui_mainwindow.h
2cc19725b3bc55ab06eaf8fa8571fef56fb83f42
[]
no_license
massaohs/Projeto_3
c0f420490af145051a93ac1a3dea5aaafb74187e
ba53fd1c4096a76fb20ad158cdde6c186d537b06
refs/heads/master
2020-12-25T18:33:01.786135
2017-06-30T01:42:38
2017-06-30T01:42:38
93,967,310
0
0
null
null
null
null
UTF-8
C++
false
false
9,159
h
/******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** ** Created by: Qt User Interface Compiler version 5.6.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_MAINWINDOW_H #define UI_MAINWINDOW_H #include <QtCore/QVariant> #include <QtWidgets/QAction> #include <QtWidgets/QApplication> #include <QtWidgets/QButtonGroup> #include <QtWidgets/QGridLayout> #include <QtWidgets/QHBoxLayout> #include <QtWidgets/QHeaderView> #include <QtWidgets/QLCDNumber> #include <QtWidgets/QLabel> #include <QtWidgets/QLineEdit> #include <QtWidgets/QMainWindow> #include <QtWidgets/QMenuBar> #include <QtWidgets/QPushButton> #include <QtWidgets/QSlider> #include <QtWidgets/QSpacerItem> #include <QtWidgets/QStatusBar> #include <QtWidgets/QTextEdit> #include <QtWidgets/QToolBar> #include <QtWidgets/QVBoxLayout> #include <QtWidgets/QWidget> QT_BEGIN_NAMESPACE class Ui_MainWindow { public: QWidget *centralWidget; QVBoxLayout *verticalLayout_2; QHBoxLayout *horizontalLayout_2; QVBoxLayout *verticalLayout; QVBoxLayout *verticalLayout_5; QLineEdit *TextIP; QHBoxLayout *horizontalLayout_10; QPushButton *PBconnect; QPushButton *PBdisconnect; QSpacerItem *verticalSpacer; QGridLayout *gridLayout_5; QLCDNumber *lcdMin; QSlider *SliderMax; QLabel *label_17; QLabel *label_18; QLCDNumber *lcdMax; QSlider *SliderMin; QHBoxLayout *horizontalLayout_9; QLabel *label_19; QSlider *SliderTiming; QLabel *textTiming; QSpacerItem *verticalSpacer_2; QHBoxLayout *horizontalLayout; QPushButton *PBstart; QPushButton *PBstop; QTextEdit *TextOutput; QMenuBar *menuBar; QToolBar *mainToolBar; QStatusBar *statusBar; void setupUi(QMainWindow *MainWindow) { if (MainWindow->objectName().isEmpty()) MainWindow->setObjectName(QStringLiteral("MainWindow")); MainWindow->resize(604, 433); centralWidget = new QWidget(MainWindow); centralWidget->setObjectName(QStringLiteral("centralWidget")); verticalLayout_2 = new QVBoxLayout(centralWidget); verticalLayout_2->setSpacing(6); verticalLayout_2->setContentsMargins(11, 11, 11, 11); verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2")); horizontalLayout_2 = new QHBoxLayout(); horizontalLayout_2->setSpacing(6); horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2")); verticalLayout = new QVBoxLayout(); verticalLayout->setSpacing(6); verticalLayout->setObjectName(QStringLiteral("verticalLayout")); verticalLayout_5 = new QVBoxLayout(); verticalLayout_5->setSpacing(6); verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5")); TextIP = new QLineEdit(centralWidget); TextIP->setObjectName(QStringLiteral("TextIP")); verticalLayout_5->addWidget(TextIP); horizontalLayout_10 = new QHBoxLayout(); horizontalLayout_10->setSpacing(6); horizontalLayout_10->setObjectName(QStringLiteral("horizontalLayout_10")); PBconnect = new QPushButton(centralWidget); PBconnect->setObjectName(QStringLiteral("PBconnect")); horizontalLayout_10->addWidget(PBconnect); PBdisconnect = new QPushButton(centralWidget); PBdisconnect->setObjectName(QStringLiteral("PBdisconnect")); horizontalLayout_10->addWidget(PBdisconnect); verticalLayout_5->addLayout(horizontalLayout_10); verticalSpacer = new QSpacerItem(20, 18, QSizePolicy::Minimum, QSizePolicy::Expanding); verticalLayout_5->addItem(verticalSpacer); gridLayout_5 = new QGridLayout(); gridLayout_5->setSpacing(6); gridLayout_5->setObjectName(QStringLiteral("gridLayout_5")); lcdMin = new QLCDNumber(centralWidget); lcdMin->setObjectName(QStringLiteral("lcdMin")); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(lcdMin->sizePolicy().hasHeightForWidth()); lcdMin->setSizePolicy(sizePolicy); QFont font; font.setBold(false); font.setWeight(50); lcdMin->setFont(font); gridLayout_5->addWidget(lcdMin, 1, 1, 1, 1); SliderMax = new QSlider(centralWidget); SliderMax->setObjectName(QStringLiteral("SliderMax")); SliderMax->setOrientation(Qt::Horizontal); gridLayout_5->addWidget(SliderMax, 2, 0, 1, 1); label_17 = new QLabel(centralWidget); label_17->setObjectName(QStringLiteral("label_17")); gridLayout_5->addWidget(label_17, 0, 1, 1, 1); label_18 = new QLabel(centralWidget); label_18->setObjectName(QStringLiteral("label_18")); gridLayout_5->addWidget(label_18, 2, 1, 1, 1); lcdMax = new QLCDNumber(centralWidget); lcdMax->setObjectName(QStringLiteral("lcdMax")); sizePolicy.setHeightForWidth(lcdMax->sizePolicy().hasHeightForWidth()); lcdMax->setSizePolicy(sizePolicy); gridLayout_5->addWidget(lcdMax, 3, 1, 1, 1); SliderMin = new QSlider(centralWidget); SliderMin->setObjectName(QStringLiteral("SliderMin")); SliderMin->setOrientation(Qt::Horizontal); gridLayout_5->addWidget(SliderMin, 0, 0, 1, 1); verticalLayout_5->addLayout(gridLayout_5); horizontalLayout_9 = new QHBoxLayout(); horizontalLayout_9->setSpacing(6); horizontalLayout_9->setObjectName(QStringLiteral("horizontalLayout_9")); label_19 = new QLabel(centralWidget); label_19->setObjectName(QStringLiteral("label_19")); horizontalLayout_9->addWidget(label_19); SliderTiming = new QSlider(centralWidget); SliderTiming->setObjectName(QStringLiteral("SliderTiming")); SliderTiming->setOrientation(Qt::Horizontal); horizontalLayout_9->addWidget(SliderTiming); textTiming = new QLabel(centralWidget); textTiming->setObjectName(QStringLiteral("textTiming")); horizontalLayout_9->addWidget(textTiming); verticalLayout_5->addLayout(horizontalLayout_9); verticalLayout->addLayout(verticalLayout_5); verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed); verticalLayout->addItem(verticalSpacer_2); horizontalLayout = new QHBoxLayout(); horizontalLayout->setSpacing(6); horizontalLayout->setObjectName(QStringLiteral("horizontalLayout")); PBstart = new QPushButton(centralWidget); PBstart->setObjectName(QStringLiteral("PBstart")); horizontalLayout->addWidget(PBstart); PBstop = new QPushButton(centralWidget); PBstop->setObjectName(QStringLiteral("PBstop")); horizontalLayout->addWidget(PBstop); verticalLayout->addLayout(horizontalLayout); horizontalLayout_2->addLayout(verticalLayout); TextOutput = new QTextEdit(centralWidget); TextOutput->setObjectName(QStringLiteral("TextOutput")); horizontalLayout_2->addWidget(TextOutput); verticalLayout_2->addLayout(horizontalLayout_2); MainWindow->setCentralWidget(centralWidget); menuBar = new QMenuBar(MainWindow); menuBar->setObjectName(QStringLiteral("menuBar")); menuBar->setGeometry(QRect(0, 0, 604, 25)); MainWindow->setMenuBar(menuBar); mainToolBar = new QToolBar(MainWindow); mainToolBar->setObjectName(QStringLiteral("mainToolBar")); MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); statusBar = new QStatusBar(MainWindow); statusBar->setObjectName(QStringLiteral("statusBar")); MainWindow->setStatusBar(statusBar); retranslateUi(MainWindow); QMetaObject::connectSlotsByName(MainWindow); } // setupUi void retranslateUi(QMainWindow *MainWindow) { MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0)); TextIP->setText(QApplication::translate("MainWindow", "127.0.0.1", 0)); PBconnect->setText(QApplication::translate("MainWindow", "Connect", 0)); PBdisconnect->setText(QApplication::translate("MainWindow", "Disconnect", 0)); label_17->setText(QApplication::translate("MainWindow", "Min", 0)); label_18->setText(QApplication::translate("MainWindow", "Max", 0)); label_19->setText(QApplication::translate("MainWindow", "Timing(s)", 0)); textTiming->setText(QApplication::translate("MainWindow", "1", 0)); PBstart->setText(QApplication::translate("MainWindow", "Start", 0)); PBstop->setText(QApplication::translate("MainWindow", "Stop", 0)); } // retranslateUi }; namespace Ui { class MainWindow: public Ui_MainWindow {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_MAINWINDOW_H
[ "LAB C6" ]
LAB C6
c1638c12baa9c723dfc70bd862eb4b86e75283bb
5b59ecb8c86ee528a86e530dab5e1a5bdfae4958
/constantTone/constantTone.ino
46fdeb1caa004b0931d018007d8f4a17326cfb83
[]
no_license
dunland/DAO_Arduino
2b282516d87d3f3ff24596af574e09efcb4f2895
c573a84abb55fea4546b7630adfe6d4b01c519cc
refs/heads/master
2022-02-11T14:13:17.490366
2019-08-16T16:30:20
2019-08-16T16:30:20
102,719,062
0
0
null
null
null
null
UTF-8
C++
false
false
238
ino
int note = 100; void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: tone(8,note); delay(2000); note += 100; if (note >= 3000) { note = 100; } }
[ "david.unland@web.de" ]
david.unland@web.de
aa6eb87466bd9213b0e9a4385f684903c0b8920e
bd50c8190e1e7977a70ce2f77e8f151187966954
/core/src/visitor.cpp
08808199ca3a3dfa8b131cb14cbf0de13de74fb9
[]
no_license
svloyso/DevDaysRoguelike
5789aaaacc69afb035a46074038f78db69efafbe
f4ef21bbbb91f6261591aeec8f9b17617108d76a
refs/heads/master
2021-01-10T03:13:57.993706
2015-11-08T19:37:36
2015-11-08T19:37:36
45,459,065
0
0
null
null
null
null
UTF-8
C++
false
false
103
cpp
#include "visitor.h" #include "basic.h" void Visitor::visit(ObjectPtr obj) { obj->visit(this); }
[ "svloyso@gmail.com" ]
svloyso@gmail.com
602fe84db8aaf2d3d9f323ccdd6f97abe0b8c81e
b4da433d23b02dfb20f2a00d19c0a36a76b49ad9
/AP_Buffer_FIFO.cpp
a4b935e9fb74db0a7df11946410dc9796e24ed49
[]
no_license
SuWeipeng/AP_Buffer
03101610f8164d30dcbf3e15366675a7cfb545ed
831ef0a90955ff9bfe6f765fd48ff1f53e40d305
refs/heads/master
2021-02-04T18:49:03.439281
2020-05-24T15:20:09
2020-05-24T15:20:09
243,698,832
1
0
null
null
null
null
UTF-8
C++
false
false
1,851
cpp
#if defined(USE_RTTHREAD) #include <entry.h> #else #include <string.h> #include <stdlib.h> #endif #include "AP_Buffer_FIFO.h" #ifndef USE_RTTHREAD #define rt_memmove memmove #define rt_malloc malloc #define rt_free free #endif AP_Buffer_FIFO::AP_Buffer_FIFO(AP_Buffer &instance, void* w_buf, void* r_buf) : AP_Buffer_Backend(instance) , _w_buf(w_buf) , _r_buf(r_buf) { } void AP_Buffer_FIFO::write(const void *pBuffer, uint16_t size) { uint8_t* p_buf; uint8_t* w_buf = (uint8_t*)_w_buf; uint16_t write_size = size; p_buf = (uint8_t*)_mem_rev((uint8_t*)pBuffer, write_size); if(size > AP_BUFFER_MAX_SIZE){ p_buf = p_buf+size-AP_BUFFER_MAX_SIZE; write_size = AP_BUFFER_MAX_SIZE; } rt_memmove(w_buf+write_size, w_buf, AP_BUFFER_MAX_SIZE-write_size); rt_memmove(w_buf, p_buf, write_size); rt_free(p_buf); _frontend._buf.count += size; } uint16_t AP_Buffer_FIFO::read(void) { uint8_t* to_pos = (uint8_t*)_r_buf; uint8_t* from_pos; uint16_t read_cnt; uint16_t cnt = 0; if(_frontend._buf.count >= AP_BUFFER_MAX_SIZE){ from_pos = (uint8_t*)_w_buf + AP_BUFFER_MAX_INDEX; read_cnt = AP_BUFFER_MAX_SIZE; } else { from_pos = (uint8_t*)_w_buf + _frontend._buf.count - 1; read_cnt = _frontend._buf.count; } for(uint16_t i=0; i<read_cnt; i++){ rt_memmove(to_pos+i, from_pos-i, 1); _frontend._buf.count -= 1; cnt++; } if(_frontend._buf.count != 0){ _frontend._buf.count = 0; } return cnt; } void* AP_Buffer_FIFO::_mem_rev(void* buf, uint16_t size) { uint16_t loop_cnt = size / 2; uint8_t c; uint8_t* p = (uint8_t*)rt_malloc(size); uint8_t* end; if(p){ end = p+size-1; rt_memmove(p, buf, size); for(uint16_t i=0; i<loop_cnt; i++){ c = *(p+i); *(p+i) = *(end-i); *(end-i) = c; } } return p; }
[ "weipeng.su@outlook.com" ]
weipeng.su@outlook.com
14740751c22500dee73b630ff9f8f56f4b2298b0
e22efcd1f449f5eb87e69a391f8ab3e79dd21207
/OPLab1/Task2/Task2.cpp
1a53f907fb82e31948a45a4124733ed33e2fbba7
[]
no_license
Hyperinex/op_C
c0f603d24789f2120874c891322fc9ed7dc48485
6804e7a0fe2cb2ee94d4589c07347b30266c0da2
refs/heads/main
2023-01-11T12:59:48.612831
2020-11-11T19:14:27
2020-11-11T19:14:27
301,527,534
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
360
cpp
// Task2.cpp: определяет точку входа для консольного приложения. // #include "stdafx.h" #include <windows.h> int main() { SetConsoleCP(1251); SetConsoleOutputCP(1251); printf("«Прозрачный водопад»…\nУпала в светлую волну\nСосновая игла.\n "); return 0; }
[ "46731945+Hyperinex@users.noreply.github.com" ]
46731945+Hyperinex@users.noreply.github.com
760cb4ec6f12ae42ff1996d6b9f6105df7e2d41b
560090526e32e009e2e9331e8a2b4f1e7861a5e8
/Compiled/blaze-3.2/blazetest/src/mathtest/dmatdmatmult/MHbMDb.cpp
c532a71485ca1ac924d95f57a4d773a33b5e1d61
[ "BSD-3-Clause" ]
permissive
jcd1994/MatlabTools
9a4c1f8190b5ceda102201799cc6c483c0a7b6f7
2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1
refs/heads/master
2021-01-18T03:05:19.351404
2018-02-14T02:17:07
2018-02-14T02:17:07
84,264,330
2
0
null
null
null
null
UTF-8
C++
false
false
4,750
cpp
//================================================================================================= /*! // \file src/mathtest/dmatdmatmult/MHbMDb.cpp // \brief Source file for the MHbMDb dense matrix/dense matrix multiplication math test // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribute it and/or modify it under // the terms of the New (Revised) BSD License. Redistribution and use in source and binary // forms, with or without modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // 3. Neither the names of the Blaze development group nor the names of its contributors // may be used to endorse or promote products derived from this software without specific // prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT // SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED // TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. */ //================================================================================================= //************************************************************************************************* // Includes //************************************************************************************************* #include <cstdlib> #include <iostream> #include <blaze/math/DynamicMatrix.h> #include <blaze/math/HybridMatrix.h> #include <blazetest/mathtest/Creator.h> #include <blazetest/mathtest/dmatdmatmult/OperationTest.h> #include <blazetest/system/MathTest.h> //================================================================================================= // // MAIN FUNCTION // //================================================================================================= //************************************************************************************************* int main() { std::cout << " Running 'MHbMDb'..." << std::endl; using blazetest::mathtest::TypeB; try { // Matrix type definitions typedef blaze::HybridMatrix<TypeB,64UL,37UL> MHb; typedef blaze::DynamicMatrix<TypeB> MDb; // Creator type definitions typedef blazetest::Creator<MHb> CMHb; typedef blazetest::Creator<MDb> CMDb; // Running tests with small matrices for( size_t i=0UL; i<=6UL; ++i ) { for( size_t j=0UL; j<=6UL; ++j ) { for( size_t k=0UL; k<=6UL; ++k ) { RUN_DMATDMATMULT_OPERATION_TEST( CMHb( i, j ), CMDb( j, k ) ); } } } // Running tests with large matrices RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 15UL, 37UL ), CMDb( 37UL, 15UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 15UL, 37UL ), CMDb( 37UL, 63UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 37UL, 37UL ), CMDb( 37UL, 37UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 63UL, 37UL ), CMDb( 37UL, 15UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 63UL, 37UL ), CMDb( 37UL, 63UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 16UL, 32UL ), CMDb( 32UL, 16UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 16UL, 32UL ), CMDb( 32UL, 64UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 32UL, 32UL ), CMDb( 32UL, 32UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 64UL, 32UL ), CMDb( 32UL, 16UL ) ); RUN_DMATDMATMULT_OPERATION_TEST( CMHb( 64UL, 32UL ), CMDb( 32UL, 64UL ) ); } catch( std::exception& ex ) { std::cerr << "\n\n ERROR DETECTED during dense matrix/dense matrix multiplication:\n" << ex.what() << "\n"; return EXIT_FAILURE; } return EXIT_SUCCESS; } //*************************************************************************************************
[ "jonathan.doucette@alumni.ubc.ca" ]
jonathan.doucette@alumni.ubc.ca
45e4de7e97afa62723f8491409cceaa5fa1facce
4e8a8b9373a8b481e72f80c710e393eaaa06a135
/src/ofxJSONRPC.h
31952ad7f4e6ff4d274b18f57b7d9bdc037a672d
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
bakercp/ofxJSONRPC
fe40d059c2018c8d33a9dc134fb74580fb17a715
c4512f0e4bae9f6e4b57a48af1b4af6e1302d545
refs/heads/master
2020-12-24T05:41:36.067625
2018-06-06T19:06:17
2018-06-06T19:06:17
15,919,539
23
9
null
2017-06-08T15:20:07
2014-01-14T23:49:51
C++
UTF-8
C++
false
false
487
h
// // Copyright (c) 2014 Christopher Baker <https://christopherbaker.net> // // SPDX-License-Identifier: MIT // #pragma once #include "json.hpp" #include "ofxHTTP.h" #include "ofx/JSONRPC/BaseMessage.h" #include "ofx/JSONRPC/Error.h" #include "ofx/JSONRPC/Errors.h" #include "ofx/JSONRPC/MethodArgs.h" #include "ofx/JSONRPC/MethodRegistry.h" #include "ofx/JSONRPC/Request.h" #include "ofx/JSONRPC/Response.h" #include "ofx/HTTP/JSONRPCServer.h" namespace ofxJSONRPC = ofx::JSONRPC;
[ "me@christopherbaker.net" ]
me@christopherbaker.net
0b29dd859d8194a8def1e8b3d5837d7530fdf515
14d5d165add507452bea06dc6f3366089e55e763
/my-finroc-proj/stereo/stereo_gray/offline/tStereoProc_processCloud_segm.cpp
9e148b15b7b4e91eaa28353f546cf36341ec7066
[]
no_license
arasdar/Robotics
bed8221e404e0a1e78c30cccbe9f7ee369f4f5f9
0a2016dc8ed4a5a28109b893ea3a099dd6abd08d
refs/heads/master
2021-04-15T05:56:58.822963
2018-06-22T22:59:45
2018-06-22T22:59:45
126,894,461
0
0
null
null
null
null
UTF-8
C++
false
false
1,204
cpp
#include "projects/stereo_traversability_experiments/aras/stereo_gray/offline/tStereoProcessing.h" using namespace finroc::stereo_traversability_experiments::aras::stereo_gray::offline; void tStereoProcessing::processCloud_segm() { /*! Initializing process cloud - segmentation*/ float roughness = deg2rad(1.0f); //the tolerance in radians comp->setAngularThreshold(roughness); //3.0f original /*Set up the ground plane comparator*/ comp->setInputCloud(prev_cloud); comp->setInputNormals(prev_normal_cloud); /*Run segmentation*/ pcl::PointCloud<pcl::Label> segment_labels; std::vector<pcl::PointIndices> segments; segm.setInputCloud(prev_cloud); segm.segment(segment_labels, segments); CloudPtr cloud(new Cloud); *cloud = *prev_cloud; /*! Visualizing the segments on the pcd*/ for (unsigned i = 0; i < segments.size(); ++i) { if (segments[i].indices.size() > thresh_segments) { for (unsigned j = 0; j < segments[i].indices.size(); ++j) { cloud->points[segments[i].indices[j]].g = 255; } // for j } //if }// for i prev_cloud_segm = cloud; prev_cloud_segments = segments; prev_cloud_segment_labels = segment_labels; }
[ "arasdar@yahoo.com" ]
arasdar@yahoo.com
5b768536b37c2b868d088cd8cbad8229576bec41
222bc22cb0330b694d2c3b0f4b866d726fd29c72
/src/brookbox/wm2/WmlEdgeKey.inl
d3e371ffdaab0f0a5e09896fdfda61919afca952
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
darwin/inferno
02acd3d05ca4c092aa4006b028a843ac04b551b1
e87017763abae0cfe09d47987f5f6ac37c4f073d
refs/heads/master
2021-03-12T22:15:47.889580
2009-04-17T13:29:39
2009-04-17T13:29:39
178,477
2
0
null
null
null
null
UTF-8
C++
false
false
1,081
inl
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2003. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or disclosed except in accordance with the terms of // that agreement. //---------------------------------------------------------------------------- inline EdgeKey::EdgeKey (int iV0, int iV1) { if ( iV0 < iV1 ) { // v0 is minimum V[0] = iV0; V[1] = iV1; } else { // v1 is minimum V[0] = iV1; V[1] = iV0; } } //---------------------------------------------------------------------------- inline bool EdgeKey::operator< (const EdgeKey& rkKey) const { if ( V[1] < rkKey.V[1] ) return true; if ( V[1] > rkKey.V[1] ) return false; return V[0] < rkKey.V[0]; } //----------------------------------------------------------------------------
[ "antonin@hildebrand.cz" ]
antonin@hildebrand.cz
4dd06e58ebadbcfb1d709a3e52c4933e9253f529
d5b8f1d6b847f27d14b0a73baea0d6d563538a67
/LEVEL_1_NOVICE/15_Do_While_Loop.cpp
ebea2564eff26e1a7840f535b5af8fb3a2825807
[]
no_license
RS-codes/CppQuickRef
047d0d65cce3316fe83b4b678aafc5ed14e04a55
67b0152e28d4b259fa57815ead9fa4b4f9993657
refs/heads/master
2020-12-03T06:10:35.481444
2020-01-22T04:34:14
2020-01-22T04:34:14
231,223,871
0
0
null
null
null
null
UTF-8
C++
false
false
257
cpp
//#15. Do While Loop with Example : #include<iostream> using namespace std; int main() { char input; do{ cout<<"menu"<<endl; cout<<"Enter x to exit or any other key to see menu again: "; cin>>input; }while(input != 'x'); return 0; }
[ "RS-codes@github.com" ]
RS-codes@github.com
bca6f1ff25ac04b59b852de386ead6fca4bcadf7
f59bdc6c260f5d29a955792c5e3b2ea54e6e1c5a
/TFTP/Client/src/CommandDel.cpp
1d1acfd8452bf6ac880a54475bfe7f758ec6f06f
[]
no_license
chenmic/TFTP
4535c5e3fc8479ae564f15faec92883443375b19
6a5ca3082efc92647ddb44603ab5132e5e58d167
refs/heads/master
2020-03-31T17:44:26.773263
2018-10-10T14:02:30
2018-10-10T14:02:30
152,427,890
0
0
null
null
null
null
UTF-8
C++
false
false
237
cpp
#include "../include/CommandDel.h" using namespace std; CommandDel::CommandDel(const string &filename) : Command((short)8), filename(filename){} string CommandDel::getStr(){ return filename; } CommandDel::~CommandDel(){}
[ "noreply@github.com" ]
chenmic.noreply@github.com
4658098d0f2cf702fe6426b862669cd9d10b4a35
04e86f081fe537e7b1375509b28117be733c6139
/L12_02.CommonPrimeDivisors.cpp
9e689e11d35cbe6c1ef6b8fce35f17187432678f
[]
no_license
tedison7/codility
d1f1371b9b788f0131565b253ec8a6f42a9db7d4
65dcd7f73b26cf09fb1a847039072f8c0a8d95b4
refs/heads/main
2023-07-27T01:38:35.725194
2021-09-11T15:46:06
2021-09-11T15:46:06
403,993,063
0
0
null
null
null
null
UTF-8
C++
false
false
947
cpp
// you can use includes, for example: // #include <algorithm> // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; using namespace std; int CalGCD(int a, int b) { if (b == 0) return a; return CalGCD(b, a % b); } bool SameDiv(int a, int b) { if (a == b) return true; int gcd = CalGCD(a, b); int gcdA = 0; int gcdB = 0; while (gcdA != 1) { gcdA = CalGCD(a, gcd); a = a / gcdA; } while (gcdB != 1) { gcdB = CalGCD(b, gcd); b = b / gcdB; } return a == 1 && b == 1; } int solution(vector<int>& A, vector<int>& B) { // write your code in C++14 (g++ 6.2.0) int size = (int)A.size(); int result = 0; for (int i = 0; i < size; i++) { if (SameDiv(A[i], B[i])) result++; } return result; } //https://app.codility.com/demo/results/trainingUX5TNA-B9Q/
[ "ktjiss0930@gmail.com" ]
ktjiss0930@gmail.com
4854eb9554e0e21dd213c2316c9a0868492ac30e
8d577ee98e411bdc23b25cc907416d827ca32a84
/geopano.cpp
1e5499f194dfcc18dddfc735367047298343b319
[]
no_license
jaechoonchon/Vpano
bc3a1b64f52faea0bbe1eb251d653765f0b03cf1
c79c0bd7fcd08d0b2040591ec057f60df8ff83da
refs/heads/master
2016-09-05T13:02:44.822626
2010-11-17T00:58:11
2010-11-17T00:58:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,297
cpp
#include "geopano.h" static int read_scanstr( FILE *fp, /* input file pointer */ const char *str) /* input target string */ { const char *s; int c; s = str; for (;;) { c = getc(fp); if (c == EOF) return FAILURE; if (c == *s) { s++; if (*s == '\0') return SUCCESS; } else s = str; } } // Read state data int CGeopano::read_state(gpano_t *self, string filename1) { const char *filename=filename1.c_str(); FILE *file; int i; gpano_state_t *state; pose3_t pose; // Initialize state data if(self->statesN<=0) for (i = 0; i < GPANO_MAX_FRAMES; i++) { self->statesN=0; state = &self->states[i]; state->valid = false; state->pose = pose3_ident(); } // Prepend the master path GPANO_MSG("loading %s", filename); file = fopen(filename, "r"); if (!file) return GPANO_ERROR("unable to open %s : %s", filename, strerror(errno)); double alt, utm_e, utm_n; double rx, ry, rz; scanstr_(file, "yaw="); scan_(file, 1, (file, "%lf \n", &rz)); scanstr_(file, "pitch="); scan_(file, 1, (file, "%lf \n", &rx)); scanstr_(file, "roll="); scan_(file, 1, (file, "%lf \n", &ry)); scanstr_(file, "x="); scan_(file, 1, (file, "%lf \n", &utm_e)); scanstr_(file, "y="); scan_(file, 1, (file, "%lf \n", &utm_n)); scanstr_(file, "z="); scan_(file, 1, (file, "%lf \n", &alt)); fclose(file); pose.pos = vec3_set(utm_e, utm_n, alt); //pose.rot = quat_from_rpy(ry * M_PI/180, rx * M_PI/180, -rz * M_PI/180); pose.rot = quat_from_rpy(rx * M_PI/180, ry * M_PI/180, -rz * M_PI/180); if(self->statesN==0) self->utm_offset = pose.pos; // Make sure the frame id is sane if ( self->statesN >= GPANO_MAX_FRAMES) { GPANO_MSG("frame %d is out-of-bounds", self->statesN); return -1; } state = &self->states[self->statesN]; state->valid = true; state->pose.pos = vec3_sub(pose.pos, self->utm_offset); state->pose.rot = pose.rot; self->statesN++; GPANO_MSG("loaded state data for %d frames", self->statesN); return 0; } // Write modified state data int CGeopano::write_state(gpano_t *self, string filename1) { const char *filename=filename1.c_str(); FILE *file; int i; gpano_state_t *state; GPANO_MSG("saveing %s", filename); file = fopen(filename, "w"); if (!file) return GPANO_ERROR("unable to open %s : %s", filename, strerror(errno)); for (i = 0; i < self->statesN; i++) { state = &self->states[i]; if (!state->valid) continue; double utm_e, utm_n, alt; double rx, ry, rz; utm_e = state->pose.pos.x + self->utm_offset.x; utm_n = state->pose.pos.y + self->utm_offset.y; alt = state->pose.pos.z + self->utm_offset.z; //quat_to_rpy(state->pose.rot, &ry, &rx, &rz); quat_to_rpy(state->pose.rot, &rx, &ry, &rz); ry *= +180/M_PI; rx *= +180/M_PI; rz *= -180/M_PI; fprintf(file, "em1_%d_%05d,%.6f,%.6f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f,%.3f\n", 0, 0, 0.0, 0.0, alt, rz, ry, rx, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, utm_e, utm_n); } fclose(file); return 0; } void CGeopano::set_poseNew(gpano_t *self, double utm_e, double utm_n, double alt, double roll, double pitch, double yaw ) //[XYZ]=[utm_e utm_n alt], [rX rY rZ]=[pitch roll yaw] { vec3_t pos=vec3_set(utm_e, utm_n, alt); self->poseNew.pos= vec3_sub(pos, self->utm_offset); double rz=yaw; double rx=pitch; double ry=roll; //self->poseNew.rot = quat_from_rpy(ry * M_PI/180, rx * M_PI/180, -rz * M_PI/180); self->poseNew.rot = quat_from_rpy(rx * M_PI/180, ry * M_PI/180, -rz * M_PI/180); } bool CGeopano::set_poseNew(gpano_t *self, string filename1) { const char *filename=filename1.c_str(); GPANO_MSG("loading %s", filename); FILE *file = fopen(filename, "r"); if (!file) return GPANO_ERROR("unable to open %s : %s", filename, strerror(errno)); double alt, utm_e, utm_n; double rx, ry, rz; scanstr_(file, "yaw="); scan_(file, 1, (file, "%lf \n", &rz)); scanstr_(file, "pitch="); scan_(file, 1, (file, "%lf \n", &rx)); scanstr_(file, "roll="); scan_(file, 1, (file, "%lf \n", &ry)); scanstr_(file, "x="); scan_(file, 1, (file, "%lf \n", &utm_e)); scanstr_(file, "y="); scan_(file, 1, (file, "%lf \n", &utm_n)); scanstr_(file, "z="); scan_(file, 1, (file, "%lf \n", &alt)); fclose(file); vec3_t pos = vec3_set(utm_e, utm_n, alt); self->poseNew.pos=vec3_sub(pos, self->utm_offset); //self->poseNew.rot = quat_from_rpy(ry * M_PI/180, rx * M_PI/180, -rz * M_PI/180); self->poseNew.rot = quat_from_rpy(rx * M_PI/180, ry * M_PI/180, -rz * M_PI/180); return true; } // Read plane data int CGeopano::read_plane(gpano_t *self, string filename1) { // Initialize state data if(self->statesN<=0 || self->statesN >= GPANO_MAX_FRAMES) return -1; const char *filename=filename1.c_str(); FILE *file; // Prepend the master path GPANO_MSG("loading %s", filename); file = fopen(filename, "r"); if (!file)return GPANO_ERROR("unable to open %s : %s", filename, strerror(errno)); fscanf(file, "numplanes %d\n",&self->planeN[self->statesN-1]); if(self->planeN[self->statesN-1]<=0) { self->planeN[self->statesN-1]=0; return GPANO_ERROR("worng data format of %s : %s", filename, strerror(errno)); } if(self->planeN[self->statesN-1]>100)self->planeN[self->statesN-1]=100; if(self->plane[self->statesN-1]!=NULL)delete []self->plane[self->statesN-1]; self->plane[self->statesN-1]=new double[self->planeN[self->statesN-1]*4];//Nx Ny Nz D double *tmp=self->plane[self->statesN-1]; memset(tmp,0,sizeof(double)*self->planeN[self->statesN-1]*4); int label, pixeln; for(int i=0; i<self->planeN[self->statesN-1]; i++) fscanf(file, "%d %lf %lf %lf %lf %d\n",&label, &tmp[i*4],&tmp[i*4+1],&tmp[i*4+2],&tmp[i*4+3],&pixeln); fclose(file); return 0; } vec3_t CGeopano::getGlobalPostion( pose3_t &pose, vec3_t in) { return vec3_transform(pose,in); }
[ "jaechoon@earthmine.com" ]
jaechoon@earthmine.com
76d43ad4daa5b88bc8045c8c55a47913131163f5
a58e90d114cee2a5f14379dd8d703c8f4de9a150
/Sandbox/Sandbox.cpp
ec671c5f1de7dccdfbccc9bbf1787c4b5acbcd23
[ "MIT" ]
permissive
Krusto/lwlog
2db893203513038b74eb206404a934c52bec351d
43377e554315636b484a80473ab7994226e4a7b9
refs/heads/master
2023-06-26T07:56:51.008630
2021-07-29T14:09:36
2021-07-29T14:09:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
537
cpp
#include "Benchmark.h" #include "lwlog.h" int main() { auto console = std::make_shared< lwlog::logger< lwlog::default_log_policy, lwlog::default_storage_policy, lwlog::single_threaded_policy, lwlog::sinks::stdout_sink > >("CONSOLE"); console->set_level_filter(lwlog::level::info | lwlog::level::debug | lwlog::level::critical); console->set_pattern("^br_red^[%T] [%n]^reset^ ^green^[%l]^reset^: ^br_cyan^%v^reset^ TEXT"); { Timer timer("timer"); console->critical("First critical message"); } return 0; }
[ "krissko7209@abv.bg" ]
krissko7209@abv.bg
d0c649086b65449ef7103385c47dd128068fa915
ab8d5c1344ece514a61ae0f4646575d4028df548
/week11_HeapMergeSorts/merge.h
662002f86cf0b8e8bb8c06af4777a67408756746
[]
no_license
YuraVasiuk/Custom-Made-Data-Structures
e20262b3e3e43d1e4d61e441ffc237b3d88aa88b
032ea861280cf26f33ce76a2279e17eead5f0a49
refs/heads/master
2021-09-04T11:09:16.722965
2018-01-18T05:00:44
2018-01-18T05:00:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,771
h
/*********************************************************************** * Program: * Week 11, Sorting * Brother Ercanbrack, CS 235 * * Author: * Yurii Vasiuk * Summary: * The implemetation of the merge sort ************************************************************************/ #include <list> using namespace std; /************************************************************************* * This function will be used in the merge sort **************************************************************************/ template<class T> bool split(list<T> & data, list<T> & list1, list<T> & list2) { list<T>::iterator itF = data.begin(); list<T>::iterator itS = ++data.begin(); int numElList1 = 0; // till the end of the data list while (itS != data.end()) { // filling the first sublist list1.push_back(*itF); numElList1++; while (itS != data.end() && *itF < *itS) { list1.push_back(*itS); itF++; itS++; numElList1++; } if (itS != data.end()) { itF++; itS++; } // already sorted, return true if (numElList1 == data.size()) return true; // filling the second sublist list2.push_back(*itF); while (itS != data.end() && *itF < *itS) { list2.push_back(*itS); itF++; itS++; } if (itS != data.end()) { itF++; itS++; } } // the data is not sorted yet, there will be more splitting return false; } /************************************************************************* * This function will be used in the merge sort **************************************************************************/ template<class T> void merge(list<T> & data, list<T> & list1, list<T> & list2) { // for list1 list<T>::iterator it11 = list1.begin(); // the beginning of the sublist list<T>::iterator it12 = list1.begin(); // the next after the end of the sublist // for list2 list<T>::iterator it21 = list2.begin(); // the beginning of the sublist list<T>::iterator it22 = list2.begin(); // the next after the end of the sublist // until the end of the one of the lists while (next(it12) != list1.end() && next(it22) != list2.end()) { // special case -- both sublists have 1 element if (!(*it12 < *next(it12)) && !(*it22 < *next(it22))) { if (*it11 < *it21) { data.push_back(*it11); data.push_back(*it21); ++it11; ++it12; ++it21; ++it22; } else { data.push_back(*it21); data.push_back(*it11); ++it11; ++it12; ++it21; ++it22; } } // make limits for the sublists while (next(it12) != list1.end() && *it12 < *next(it12)) ++it12; while (next(it22) != list2.end() && *it22 < *next(it22)) ++it22; // working with the sublists---------------------------------- // until the end of the one of the sublists while (it11 != it12 && it21 != it22) { // compare, dump into the data, move the iterator if (*it11 < *it21) { data.push_back(*it11); ++it11; } else { data.push_back(*it21); ++it21; } } // this is the end of the one of the sublists // dumpt the rest of the elements into the data while (it11 != it12) { data.push_back(*it11); ++it11; } while (it21 != it22) { data.push_back(*it21); ++it21; } // handle the lats elements of the sublists if (next(it12) != list1.end()) { if (*it11 < *it21) { data.push_back(*it11); data.push_back(*it21); } ++it12; // step beyond the sublist } if (next(it22) != list2.end()) { if (*it11 >= *it21) { data.push_back(*it21); data.push_back(*it11); } ++it22; // step beyond the sublist } // the ends of both sublists, everything has been dumped into the data // both iterators stepped beyond the sublists // and are pointing at the first elements or at the end of one of the sublists } // at this point one of the iterators is pointing at the last element of the sublist // dump this element into the data and dump the rest elements from another sublist if (next(it12) == list1.end()) { data.push_back(*it11); while (it21 != list2.end()) { data.push_back(*it21); ++it21; } } else if (next(it22) == list2.end()) { data.push_back(*it21); while (it11 != list1.end()) { data.push_back(*it11); ++it11; } } } /************************************************************************* * This function sorts a linked list using a Natural Merge Sort. * Input: data - linked list of data to be sorted. * Output: data - sorted linked list **************************************************************************/ template<class T> void mergeSort(list<T> & data) { list<T> list1; list<T> list2; while (!split(data, list1, list2)) { data.clear(); merge(data, list1, list2); list1.clear(); list2.clear(); } }
[ "vas14001@byui.edu" ]
vas14001@byui.edu
f69da0847e0c9f0cae80a9c3d9e90b35ba23f7c2
c81cddc27d6dcd899cb586af50605cf9c74a2bc6
/软设1/二叉树/Huffman/main.cpp
d97464b3962fbb0946b8d24e4e7381651dd014e6
[]
no_license
aplmilk/homework
0bb55958a9b6389332b3e914156b74fbb58e5d5e
b375c3b6c0140bcc09f606585a8cdcf1e91dacc6
refs/heads/master
2016-08-12T04:13:35.223772
2015-12-10T12:35:52
2015-12-10T12:35:52
47,549,089
0
0
null
null
null
null
GB18030
C++
false
false
4,322
cpp
#include <stdio.h> #include <stdlib.h> #define MAX 100 #define TOP 5 typedef struct hufnode // 哈夫曼树结点数据结构 { int weight,children[TOP],parent,choose; // choose:辅助建立用的标记域 } HUFNODE; int AddZero(int n,int k); // 增添零元素 int Total(int m,int k); // 统计总共的结点数 void CreateHuffmanTree(int n,int m,int l,int k); // 构造哈夫曼树 int SeleceMin(HUFNODE huffmantree[],int m); // 选取最小值 void SelectChildrren(HUFNODE huffmantree[],int m,int fc[],int k); // 选取k个最小元素 void PrintHuf(HUFNODE huffmantree[],int n,int l,int k); // 打印哈夫曼树 int main() { int n,k,m,l; printf("Please enter the amount of the weighted nodes:"); scanf("%d",&n); printf("Please enter k(<=%d): ",TOP); scanf("%d",&k); m = AddZero(n,k); // 需添加的零元素的最少个数 l = Total(m + n,k); // 一共最少的结点数 CreateHuffmanTree(n,m,l,k); // 建立 return 0; } int AddZero(int n,int k) // 需添加的零元素的个数 { while(n > k) // 直至至多再凑成一组(k个元素) { n = n / k + n % k; // k个一组合并之后结点最少个数 } n = k - n; // 为凑成k个一组,缺少的个数 return n; } int Total(int m,int k) // 总共的结点数 { int l; l = m; while(m >= k) // 直至至多再凑成一组(k个元素) { l += m / k; // k 个一组而形成的新的结点数 m = m / k + m % k; // k个一组合并之后结点最少个数 } return l; } void CreateHuffmanTree(int n,int m,int l,int k) // 构造哈夫曼树 { int i,fc[k],j; HUFNODE huffmantree[l]; for(i = 0; i < m + n; i ++) // 初始化 { if(i < n) // 用户输入的带权结点 { printf("The weight of number %d node:",i + 1); scanf("%d",&huffmantree[i].weight); } else // 补充的无权结点 { huffmantree[i].weight = 0; } huffmantree[i].parent = -1; // 初始值 for(j = 0; j < k; j ++) { huffmantree[i].children[j] = -1; fc[j] = 0; } huffmantree[i].choose = 0; } for(i = m + n; i < l; i ++) // 构建哈夫曼树 { SelectChildrren(huffmantree,i,fc,k); // 取得k个具有最小权值的结点,下标存入下标数组 huffmantree[i].weight = 0; // 新结点初始化 huffmantree[i].choose = 0; huffmantree[i].parent = -1; for(j = 0; j < k; j ++) { huffmantree[i].weight += huffmantree[fc[j]].weight; // 新结点权值为孩子结点权值之和 huffmantree[i].children[j] = fc[j]; // 孩子结点 huffmantree[fc[j]].parent = i; // 还子结点的父结点 } } PrintHuf(huffmantree,m + n,l,k); // 打印 } void SelectChildrren(HUFNODE huffmantree[],int m,int fc[],int k) // 选取k个具有最小权值的结点 { int i,j; for(i = 0; i < k; i ++) // 循环k次,每次选一个具有最小权值的结点 { j = SeleceMin(huffmantree,m); if(j != -1) { fc[i] = j; } } } int SeleceMin(HUFNODE huffmantree[],int m) // 选取权值最小的结点 { int i = 0,j; while(huffmantree[i].choose == 1) // 寻找第一个没有被选择过的结点 { i ++; if(i == m) { return -1; } } for(j = i; j < m; j ++) // 循环比较 { if(huffmantree[j].choose == 0) // 未被选择 { if(huffmantree[j].weight < huffmantree[i].weight) // 权值更小的结点 { i = j; } } } huffmantree[i].choose = 1; // 标记已选,不在以后的选择范围内 return i; } void PrintHuf(HUFNODE huffmantree[],int n,int l,int k) // 打印 { int i,j; for(i = n; i < l; i ++) // 父结点开始遍历 { printf("%d:",huffmantree[i].weight); for(j = 0; j < k; j ++) // 孩子 { printf(" %d(%d)",huffmantree[i].children[j],huffmantree[huffmantree[i].children[j]].weight); } printf("\n"); } }
[ "387655188@qq.com" ]
387655188@qq.com
4c3cc5c56696f554ed6fb4d8ede8647af380a8b1
63a381d90124527f8dd7d833f3da70b3160f1869
/src/SRP/SRPPresets.cpp
4ad591039abe67e28b4a67f8549e64f813186ce1
[]
no_license
zengnotes/MultiplayerOnlineGame
f75fe82c1ce53c631466c209db7c397ecbff27e2
31561dedb03d77d69dff0ea2853aa666ec4c7751
refs/heads/master
2021-01-20T06:32:50.570693
2014-11-11T20:02:43
2014-11-11T20:02:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,021
cpp
// // SRP xint - SRP implementation using boost::xint // Copyright (C) 2011-2014 Michael Fink // /// \file SRPPresets.cpp Presets for SRP group parameters // // includes #include "stdafx.h" #include "SRPHelper.hpp" using namespace SRP; namespace SRP { /// stores preset SRP group parameters struct PresetGroupParameter { unsigned int uiGenerator; ///< generator value LPCSTR pszaPrime; ///< prime, as hex digits unsigned int uiNumBits; ///< number of bits in prime }; } // namespace SRP /// SRP Group Parameters from RFC 5054 Appendix A PresetGroupParameter g_aGroupParameter [] = { // 1024-bit Group { 2, "EEAF0AB9 ADB38DD6 9C33F80A FA8FC5E8 60726187 75FF3C0B 9EA2314C" "9C256576 D674DF74 96EA81D3 383B4813 D692C6E0 E0D5D8E2 50B98BE4" "8E495C1D 6089DAD1 5DC7D7B4 6154D6B6 CE8EF4AD 69B15D49 82559B29" "7BCF1885 C529F566 660E57EC 68EDBC3C 05726CC0 2FD4CBF4 976EAA9A" "FD5138FE 8376435B 9FC61D2F C0EB06E3", 1024 }, // 1536-bit Group { 2, "9DEF3CAF B939277A B1F12A86 17A47BBB DBA51DF4 99AC4C80 BEEEA961" "4B19CC4D 5F4F5F55 6E27CBDE 51C6A94B E4607A29 1558903B A0D0F843" "80B655BB 9A22E8DC DF028A7C EC67F0D0 8134B1C8 B9798914 9B609E0B" "E3BAB63D 47548381 DBC5B1FC 764E3F4B 53DD9DA1 158BFD3E 2B9C8CF5" "6EDF0195 39349627 DB2FD53D 24B7C486 65772E43 7D6C7F8C E442734A" "F7CCB7AE 837C264A E3A9BEB8 7F8A2FE9 B8B5292E 5A021FFF 5E91479E" "8CE7A28C 2442C6F3 15180F93 499A234D CF76E3FE D135F9BB", 1536 }, // 2048-bit Group { 2, "AC6BDB41 324A9A9B F166DE5E 1389582F AF72B665 1987EE07 FC319294" "3DB56050 A37329CB B4A099ED 8193E075 7767A13D D52312AB 4B03310D" "CD7F48A9 DA04FD50 E8083969 EDB767B0 CF609517 9A163AB3 661A05FB" "D5FAAAE8 2918A996 2F0B93B8 55F97993 EC975EEA A80D740A DBF4FF74" "7359D041 D5C33EA7 1D281E44 6B14773B CA97B43A 23FB8016 76BD207A" "436C6481 F1D2B907 8717461A 5B9D32E6 88F87748 544523B5 24B0D57D" "5EA77A27 75D2ECFA 032CFBDB F52FB378 61602790 04E57AE6 AF874E73" "03CE5329 9CCC041C 7BC308D8 2A5698F3 A8D0C382 71AE35F8 E9DBFBB6" "94B5C803 D89F7AE4 35DE236D 525F5475 9B65E372 FCD68EF2 0FA7111F" "9E4AFF73", 2048 }, }; unsigned int Helper::GetMaxCountPresetGroupParameter() throw() { return sizeof(g_aGroupParameter)/sizeof(*g_aGroupParameter); } GroupParameter Helper::GetPresetGroupParameter(unsigned int uiIndex) { if (uiIndex >= GetMaxCountPresetGroupParameter()) throw std::runtime_error("invalid modulus/generator index"); const PresetGroupParameter& preset = g_aGroupParameter[uiIndex]; GroupParameter gp; gp.g = preset.uiGenerator; gp.uiNumBits = preset.uiNumBits; CStringA cszaPrime(preset.pszaPrime); cszaPrime.Remove(' '); gp.N = BigInteger((LPCSTR)cszaPrime, 16); //ATLASSERT(boost::xint::is_prime(gp.g) == 1); // 1 means: possible prime ATLASSERT(boost::xint::is_probably_prime(gp.g) == 1); // 1 means: possible prime return gp; }
[ "michael.fink@asamnet.de" ]
michael.fink@asamnet.de
7dd0e9a513745f39dfb8a54f9102e29793a8f819
6887dc98ac29fe19c6e5510da99bd607096e798b
/bbs/mmkey.cpp
e1270ef25b46bed0c959c714d25d315bf8f2b167
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
k5jat/wwiv
88d98ac64871c8b71d0887be8059137893170dfd
b390e476c75f68e0f4f28c66d4a2eecd74753b7c
refs/heads/master
2020-04-03T13:24:30.740685
2019-02-03T18:42:14
2019-02-03T18:42:14
155,283,818
0
0
Apache-2.0
2019-02-03T18:42:15
2018-10-29T21:28:43
C++
UTF-8
C++
false
false
4,214
cpp
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2017, WWIV Software Services */ /* */ /* 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 "bbs/mmkey.h" #include <set> #include <string> #include "bbs/input.h" #include "core/log.h" #include "bbs/bbs.h" #include "local_io/keycodes.h" #include "core/strings.h" #include "core/stl.h" #include "core/wwivassert.h" using std::string; using namespace wwiv::strings; using namespace wwiv::stl; string mmkey(std::set<char>& x, std::set<char>& xx, bool bListOption) { char ch; string cmd1; do { do { ch = bout.getkey(); if (bListOption && (ch == RETURN || ch == SPACE)) { ch = upcase(ch); return string(1, ch); } } while ((ch <= ' ' || ch == RETURN || ch > 126) && !a()->hangup_); ch = upcase(ch); bout.bputch(ch); if (ch == RETURN) { cmd1.clear(); } else { cmd1 = ch; } int p = 0; if (contains(xx, ch)) { p = 2; } else if (contains(x, ch)) { p = 1; } else { bout.nl(); bout.newline = true; return cmd1; } int cp = 1; do { do { ch = bout.getkey(); } while ((((ch < ' ') && (ch != RETURN) && (ch != BACKSPACE)) || (ch > 126)) && !a()->hangup_); ch = upcase(ch); if (ch == RETURN) { bout.nl(); bout.newline = true; return cmd1; } else { if (ch == BACKSPACE) { bout.bs(); cmd1.pop_back(); cp--; } else { cmd1.push_back(ch); bout.bputch(ch); cp++; if (ch == '/' && cmd1[0] == '/') { bout.newline = true; return input_upper(50); } else if (cp == p + 1) { bout.nl(); bout.newline = true; return cmd1; } } } } while (cp > 0); } while (!a()->hangup_); return{}; } string mmkey(std::set<char>& x) { std::set<char> xx; return mmkey(x, xx, false); } static int max_sub_key(std::vector<usersubrec>& container) { int key = 0; for (const auto& r : container) { int current_key = to_number<int>(r.keys); if (current_key == 0) { return key; } key = current_key; } return key; } std::string mmkey(MMKeyAreaType dl, bool bListOption) { std::set<char> x = {'/'}; std::set<char> xx{}; switch (dl) { case MMKeyAreaType::subs: { int max_key = max_sub_key(a()->usub); for (char i = 1; i <= max_key / 10; i++) { x.insert(i + '0'); } for (char i = 1; i <= max_key / 100; i++) { xx.insert(i + '0'); } } break; case MMKeyAreaType::dirs: { int max_key = max_sub_key(a()->udir); for (char i = 1; i <= max_key / 10; i++) { x.insert(i); } for (char i = 1; i <= max_key / 100; i++) { xx.insert(i); } } break; default: { DLOG(FATAL) << "invalid mmkey dl: " << static_cast<int>(dl); } } return mmkey(x, xx, bListOption); }
[ "rushfan@wwivbbs.org" ]
rushfan@wwivbbs.org
3bd2deee56bf43af3c6079fdac24420d193b068c
bc245fdb1c7bc426cb9ad64220156da58de99053
/test/parser_test2.cpp
4c6da19b1cd45aee09f851671fc2cd5c4806801f
[]
no_license
gianmarco-todesco/Parser
c1582af5d4b9fc586109808284ed83b31b70bb19
32d0873f9d79c0ff8af733a7e5e3fde80cd10062
refs/heads/master
2021-01-20T01:19:57.538703
2017-09-05T17:37:42
2017-09-05T17:37:42
89,258,855
0
0
null
null
null
null
UTF-8
C++
false
false
1,915
cpp
#include "parser.h" #include "grammarbuilder.h" #include "catch.hpp" #include <sstream> #include <iostream> using namespace std; class MyCGrammarProvider { Grammar *m_grammar; bool m_valid; public: MyCGrammarProvider() : m_grammar(0), m_valid(true) {} ~MyCGrammarProvider() { delete m_grammar; m_grammar = 0; } Grammar *getGrammar() { if(m_grammar || !m_valid) return m_grammar; m_valid = false; FileTokenizer ft; if(ft.read("data/cgrammar.txt")) { GrammarBuilder gb; m_grammar = gb.build(&ft); m_valid = m_grammar != 0; } return m_grammar; } }; class MyCParser : public Parser { public: MyCParser(MyCGrammarProvider &gp) : Parser(gp.getGrammar()) { setSkipNewLines(true); } ~MyCParser() { } private: }; TEST_CASE( "CParser1", "[parser2]") { REQUIRE(Symbol::getTotalCount() == 0); SECTION("body") { MyCGrammarProvider gp; MyCParser parser(gp); //StringTokenizer st("char buffer[100];"); StringTokenizer st("#define CHECK_EXIT(ptr) \\\ndo { \\\n check_exit(ptr); \\\n } while (0)\n"); // parser.traceOn(); bool ret = parser.parse(&st); REQUIRE(ret); // REQUIRE(parser.getParseTree()->toString() == ""); } REQUIRE(Symbol::getTotalCount() == 0); } TEST_CASE( "CParser2", "[parser2]") { REQUIRE(Symbol::getTotalCount() == 0); SECTION("body") { MyCGrammarProvider gp; MyCParser parser(gp); FileTokenizer ft; ft.read("data/test1.c"); bool ret = parser.parse(&ft); REQUIRE(ret); // REQUIRE(parser.getParseTree()->toString() == ""); ParseNode top = parser.getParseTree()->getNode(0); for(int i=0;i<top.getChildCount();i++) { ParseNode stat = top.getChild(i); // cout << stat.getTag() << " - " << stat.getText() << endl; // REQUIRE(stat.getTag() == "Stat"); } } REQUIRE(Symbol::getTotalCount() == 0); }
[ "gianmarco.todesco@gmail.com" ]
gianmarco.todesco@gmail.com
1bb7f5ba4e933e33b3b16682296aadbc40bb1a37
cc590bf63865c7634004ddeb479433a4cb104743
/oommf/app/oxs/ext/imagevectorfield.cc
b4cbf4ec91bc2e390ade420fde886a3eaa9bc4fa
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
fangohr/oommf
3980568c062a4ca32feb21a673bdebd1f4eed800
6dfaa8f744574c8e73679a42536d4c6ea3183ec8
refs/heads/master
2023-07-20T03:58:15.452974
2023-07-14T17:05:04
2023-07-14T17:05:04
43,062,791
23
11
null
2023-07-14T16:50:26
2015-09-24T11:27:36
C++
UTF-8
C++
false
false
8,699
cc
/* FILE: imagevectorfield.cc -*-Mode: c++-*- * * Image vector field object, derived from Oxs_VectorField class. * */ #include <string> #include "oc.h" #include "nb.h" #include "vf.h" #include "atlas.h" #include "threevector.h" #include "meshvalue.h" #include "director.h" #include "imagevectorfield.h" #include "energy.h" // Needed to make MSVC++ 5 happy OC_USE_STRING; // Oxs_Ext registration support OXS_EXT_REGISTER(Oxs_ImageVectorField); /* End includes */ // Constructor Oxs_ImageVectorField::Oxs_ImageVectorField( const char* name, // Child instance id Oxs_Director* newdtr, // App director const char* argstr) // MIF input block parameters : Oxs_VectorField(name,newdtr,argstr), view(xy), exterior(EXTERIOR_INVALID),default_value(0,0,0), image_width(0),image_height(0), column_offset(0),column_scale(1), row_offset(0),row_scale(1) { // Process arguments. // Determine bounding box if(HasInitValue("atlas")) { // Get bounding box from specified atlas. Oxs_OwnedPointer<Oxs_Atlas> atlas; OXS_GET_INIT_EXT_OBJECT("atlas",Oxs_Atlas,atlas); atlas->GetWorldExtents(bbox); } else { // Atlas not specified, so check for and use x/y/zrange data. if(!HasInitValue("xrange") || !HasInitValue("yrange") || !HasInitValue("zrange")) { throw Oxs_ExtError(this,"Can't determine scaling and/or offset;" " Please specify atlas or x/y/zrange."); } vector<OC_REAL8m> xrange,yrange,zrange; GetRealVectorInitValue("xrange",2,xrange); GetRealVectorInitValue("yrange",2,yrange); GetRealVectorInitValue("zrange",2,zrange); if(!bbox.CheckOrderSet(xrange[0],xrange[1], yrange[0],yrange[1], zrange[0],zrange[1])) { throw Oxs_ExtError(this,"Bad order in x/y/zrange data."); } } // Viewplane String viewstr = GetStringInitValue("viewplane","xy"); if(viewstr.compare("xy")==0) view = xy; else if(viewstr.compare("zx")==0) view = zx; else if(viewstr.compare("yz")==0) view = yz; else { String msg = String("Invalid viewplane init string: ") + viewstr + String("; should be one of xy, zx or yz."); throw Oxs_ExtError(this,msg.c_str()); } // Input file String image_filename = GetStringInitValue("image"); // Value scaling and offset OC_REAL8m xmult=1.0,ymult=1.0,zmult=1.0; if(HasInitValue("multiplier")) { xmult = ymult = zmult = GetRealInitValue("multiplier"); } else { xmult = GetRealInitValue("vx_multiplier",1.0); ymult = GetRealInitValue("vy_multiplier",1.0); zmult = GetRealInitValue("vz_multiplier",1.0); } OC_REAL8m xoff = GetRealInitValue("vx_offset",0.0); OC_REAL8m yoff = GetRealInitValue("vy_offset",0.0); OC_REAL8m zoff = GetRealInitValue("vz_offset",0.0); ThreeVector voff(xoff,yoff,zoff); OC_BOOL set_norm=0; OC_REAL8m norm=1.0; if(HasInitValue("norm")) { norm = GetRealInitValue("norm"); set_norm = 1; } // Exterior handling vector<String> params; if(FindInitValue("exterior",params)) { if(params.size()==1) { if(params[0].compare("error")==0) { exterior = EXTERIOR_ERROR; } else if(params[0].compare("boundary")==0) { exterior = EXTERIOR_BOUNDARY; } else { String initstr; FindInitValue("exterior",initstr); String msg = String("Invalid exterior init string: ") + initstr + String("; should be error, boundary, or a three vector."); throw Oxs_ExtError(this,msg.c_str()); } DeleteInitValue("exterior"); } else { default_value = GetThreeVectorInitValue("exterior"); exterior = EXTERIOR_DEFAULT; } } VerifyAllInitArgsUsed(); // Load image into an Nb_ImgObj object Nb_ImgObj image; image.LoadFile(image_filename.c_str()); // Fill value_array with values image_width = image.Width(); image_height = image.Height(); OC_INT4m maxvalue = image.MaxValue(); if(maxvalue<1) { String msg = String("Invalid image file: \"") + image_filename + String("\""); throw Oxs_ExtError(this,msg); } OC_REAL8m pix_scale = 1.0/static_cast<OC_REAL8m>(maxvalue); if(image_width<1 || image_height<1) { String msg = String("Input image file ") + String(image_filename) + String(" is an empty image"); throw Oxs_ExtError(this,msg.c_str()); } for(OC_INT4m i=0;i<image_height;++i) { for(OC_INT4m j=0;j<image_width;++j) { OC_INT4m r,g,b; image.PixelValue(i,j,r,g,b); OC_REAL8m red = static_cast<OC_REAL8m>(r)*pix_scale; OC_REAL8m green = static_cast<OC_REAL8m>(g)*pix_scale; OC_REAL8m blue = static_cast<OC_REAL8m>(b)*pix_scale; ThreeVector value(red,green,blue); if(set_norm) value.SetMag(norm); value.x *= xmult; value.y *= ymult; value.z *= zmult; value += voff; value_array.push_back(value); } } if(set_norm) { default_value.SetMag(norm); } default_value.x *= xmult; default_value.y *= ymult; default_value.z *= zmult; default_value += voff; const vector<ThreeVector>::size_type image_size = value_array.size(); if(view == zx) { // Transform values to view for(vector<ThreeVector>::size_type index=0;index<image_size;index++) { ThreeVector temp = value_array[index]; value_array[index].Set(temp.y,temp.z,temp.x); } ThreeVector temp = default_value; default_value.Set(temp.y,temp.z,temp.x); } else if(view == yz) { for(vector<ThreeVector>::size_type index=0;index<image_size;index++) { ThreeVector temp = value_array[index]; value_array[index].Set(temp.z,temp.x,temp.y); } ThreeVector temp = default_value; default_value.Set(temp.z,temp.x,temp.y); } // Initialize transformation coefficients switch(view) { case xy: column_offset = bbox.GetMinX(); column_scale = static_cast<OC_REAL8m>(image_width) /(bbox.GetMaxX()-bbox.GetMinX()); row_offset = bbox.GetMinY(); row_scale = static_cast<OC_REAL8m>(image_height) /(bbox.GetMaxY()-bbox.GetMinY()); break; case zx: column_offset = bbox.GetMinZ(); column_scale = static_cast<OC_REAL8m>(image_width) /(bbox.GetMaxZ()-bbox.GetMinZ()); row_offset = bbox.GetMinX(); row_scale = static_cast<OC_REAL8m>(image_height) /(bbox.GetMaxX()-bbox.GetMinX()); break; case yz: column_offset = bbox.GetMinY(); column_scale = static_cast<OC_REAL8m>(image_width) /(bbox.GetMaxY()-bbox.GetMinY()); row_offset = bbox.GetMinZ(); row_scale = static_cast<OC_REAL8m>(image_height) /(bbox.GetMaxZ()-bbox.GetMinZ()); break; } } Oxs_ImageVectorField::~Oxs_ImageVectorField() {} void Oxs_ImageVectorField::Value (const ThreeVector& pt, ThreeVector& value) const { OC_REAL8m image_x=0,image_y=0; switch(view) { case xy: image_x = (pt.x - column_offset)*column_scale; image_y = (pt.y - row_offset)*row_scale; break; case zx: image_x = (pt.z - column_offset)*column_scale; image_y = (pt.x - row_offset)*row_scale; break; case yz: image_x = (pt.y - column_offset)*column_scale; image_y = (pt.z - row_offset)*row_scale; break; default: char buf[128]; Oc_Snprintf(buf,sizeof(buf),"Invalid view request: %d", static_cast<int>(view)); throw Oxs_ExtError(this,buf); } OC_INT4m i = static_cast<OC_INT4m>(floor(image_x)); OC_INT4m j = static_cast<OC_INT4m>(floor(image_y)); OC_BOOL outside=0; if(i<0) { i=0; outside=1; } else if(i>=image_width) { i=image_width-1; outside=1; } if(j<0) { j=0; outside=1; } else if(j>=image_height) { j=image_height-1; outside=1; } if(!outside || exterior==EXTERIOR_BOUNDARY) { OC_INT4m index = i + (image_height-1-j)*image_width; value = value_array[index]; } else { if(exterior==EXTERIOR_DEFAULT) { value = default_value; } else { char buf[1024]; Oc_Snprintf(buf,sizeof(buf),"Requested point (%g,%g,%g)" " outside mesh range: (%g,%g,%g) x (%g,%g,%g)" " (Error in member function Oxs_ImageVectorField::Value)", static_cast<double>(pt.x), static_cast<double>(pt.y), static_cast<double>(pt.z), static_cast<double>(bbox.GetMinX()), static_cast<double>(bbox.GetMinY()), static_cast<double>(bbox.GetMinZ()), static_cast<double>(bbox.GetMaxX()), static_cast<double>(bbox.GetMaxY()), static_cast<double>(bbox.GetMaxZ())); throw Oxs_ExtError(this,buf); } } }
[ "fangohr@soton.ac.uk" ]
fangohr@soton.ac.uk
e398091cb0315b81de0463b6d92c5acf76426b22
6249d45a7a8959003639671a4e50457d0a6a50b8
/Classes/Native/Il2CppCompilerCalculateTypeValuesTable.cpp
cfe381a0e1e1aa6c9de2b1decaa8fda34356fc51
[]
no_license
natenankivell/ARMagicDoor
37d074751d91f46a4b61962a0d567000a06555e1
2ba3a94fb4f851596e68112f714bf51c5c15f947
refs/heads/main
2023-08-25T15:05:13.867811
2021-11-02T01:42:10
2021-11-02T01:42:10
423,638,250
0
0
null
null
null
null
UTF-8
C++
false
false
321,117
cpp
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif IL2CPP_EXTERN_C_BEGIN IL2CPP_EXTERN_C_END IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable4[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable5[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable6[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable7[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable8[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable9[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable12[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable14[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable15[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable16[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable17[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable18[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable19[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable20[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable21[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable22[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable23[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable26[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable27[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable28[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable29[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable30[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable31[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable32[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable33[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable34[19]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable35[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable36[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable37[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable38[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable39[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable40[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable41[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable42[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable43[22]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable46[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable47[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable48[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable49[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable50[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable51[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable53[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable55[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable57[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable65[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable66[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable67[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable68[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable69[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable72[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable73[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable74[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable75[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable76[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable77[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable78[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable79[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable80[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable81[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable82[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable83[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable97[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable99[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable104[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable105[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable106[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable107[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable108[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable110[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable112[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable113[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable114[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable116[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable117[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable118[145]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable119[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable120[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable121[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable124[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable125[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable126[45]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable127[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable128[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable129[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable130[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable132[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable133[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable136[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable137[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable139[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable140[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable141[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable144[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable145[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable150[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable151[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable152[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable154[22]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable155[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable156[40]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable157[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable158[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable159[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable160[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable161[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable162[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable163[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable164[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable165[33]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable166[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable167[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable168[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable169[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable170[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable182[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable183[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable184[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable189[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable193[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable194[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable201[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable202[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable203[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable204[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable208[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable210[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable212[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable213[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable214[19]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable215[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable216[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable218[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable220[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable222[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable223[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable224[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable225[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable226[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable230[29]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable231[47]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable232[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable233[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable234[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable235[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable236[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable237[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable238[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable239[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable240[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable242[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable243[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable244[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable245[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable246[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable247[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable248[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable250[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable252[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable253[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable254[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable255[23]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable257[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable258[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable259[48]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable260[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable262[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable264[23]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable265[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable266[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable268[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable269[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable272[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable273[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable274[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable275[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable276[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable277[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable278[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable279[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable280[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable281[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable282[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable283[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable284[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable285[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable287[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable289[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable290[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable291[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable292[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable293[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable295[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable296[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable298[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable299[26]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable300[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable302[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable303[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable304[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable306[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable307[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable308[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable309[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable310[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable311[44]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable312[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable313[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable314[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable315[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable316[35]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable317[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable318[396]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable319[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable320[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable321[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable322[19]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable328[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable330[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable331[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable332[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable333[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable334[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable336[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable337[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable339[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable340[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable341[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable342[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable343[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable344[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable345[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable347[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable348[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable350[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable351[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable352[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable355[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable356[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable357[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable358[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable359[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable360[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable361[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable362[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable363[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable366[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable367[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable368[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable369[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable370[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable371[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable372[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable373[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable374[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable375[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable376[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable378[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable379[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable380[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable381[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable382[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable383[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable384[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable385[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable386[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable387[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable388[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable390[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable391[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable392[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable393[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable394[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable395[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable396[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable397[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable398[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable399[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable402[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable403[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable404[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable406[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable407[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable408[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable409[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable410[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable411[22]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable412[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable413[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable414[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable417[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable418[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable419[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable420[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable421[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable422[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable423[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable424[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable425[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable426[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable427[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable428[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable429[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable431[21]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable432[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable433[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable434[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable435[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable436[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable439[23]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable442[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable443[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable444[25]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable446[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable447[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable449[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable450[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable451[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable452[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable453[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable454[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable458[33]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable461[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable463[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable464[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable465[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable466[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable468[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable469[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable470[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable472[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable474[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable475[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable476[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable479[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable481[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable484[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable485[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable487[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable489[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable494[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable495[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable497[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable501[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable503[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable512[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable518[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable521[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable522[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable524[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable528[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable529[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable531[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable532[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable534[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable535[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable537[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable538[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable539[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable541[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable542[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable543[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable545[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable546[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable547[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable548[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable550[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable551[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable552[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable554[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable555[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable556[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable558[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable559[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable560[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable562[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable564[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable565[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable566[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable567[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable568[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable569[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable572[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable573[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable574[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable575[27]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable576[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable577[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable578[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable579[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable580[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable582[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable583[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable584[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable586[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable587[21]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable588[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable589[25]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable590[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable591[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable592[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable593[84]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable594[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable595[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable596[25]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable597[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable598[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable599[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable600[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable601[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable602[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable603[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable604[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable605[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable606[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable607[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable608[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable609[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable610[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable611[36]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable612[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable614[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable615[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable616[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable617[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable618[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable619[31]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable620[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable621[21]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable622[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable623[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable624[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable625[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable626[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable627[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable628[38]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable629[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable630[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable631[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable633[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable634[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable635[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable636[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable637[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable638[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable639[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable640[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable641[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable643[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable644[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable645[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable646[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable647[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable649[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable650[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable652[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable655[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable658[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable659[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable660[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable661[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable662[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable670[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable673[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable674[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable676[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable677[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable678[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable684[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable685[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable686[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable687[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable688[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable689[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable691[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable694[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable696[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable701[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable702[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable703[39]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable704[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable706[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable709[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable710[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable711[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable712[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable714[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable715[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable717[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable718[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable719[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable720[22]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable721[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable723[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable724[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable725[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable726[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable728[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable729[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable730[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable731[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable734[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable735[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable737[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable738[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable739[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable740[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable741[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable742[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable743[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable744[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable745[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable746[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable747[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable749[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable751[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable753[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable754[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable755[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable758[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable759[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable762[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable763[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable767[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable771[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable772[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable773[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable774[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable778[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable779[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable787[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable788[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable789[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable790[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable791[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable792[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable793[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable794[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable795[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable796[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable797[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable799[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable800[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable806[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable807[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable808[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable809[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable810[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable811[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable812[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable813[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable814[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable815[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable816[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable817[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable818[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable819[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable822[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable823[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable824[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable825[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable826[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable827[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable828[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable829[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable830[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable831[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable832[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable833[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable834[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable835[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable836[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable837[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable838[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable840[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable841[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable842[47]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable843[24]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable844[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable845[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable846[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable847[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable848[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable849[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable850[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable851[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable852[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable853[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable854[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable855[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable856[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable857[21]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable858[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable859[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable860[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable861[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable862[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable863[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable864[24]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable865[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable866[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable867[21]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable868[25]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable869[41]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable870[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable871[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable872[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable873[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable874[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable875[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable876[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable877[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable878[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable879[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable880[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable881[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable885[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable886[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable887[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable888[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable889[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable890[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable891[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable892[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable895[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable896[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable897[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable898[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable901[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable902[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable903[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable904[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable905[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable906[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable907[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable908[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable910[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable912[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable913[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable914[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable917[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable919[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable920[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable921[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable922[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable923[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable924[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable925[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable928[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable939[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable940[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable941[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable942[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable943[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable945[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable953[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable954[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable955[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable957[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable962[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable963[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable964[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable966[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable968[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable969[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable970[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable971[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable972[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable973[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable974[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable975[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable976[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable977[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable978[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable979[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable980[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable981[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable982[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable983[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable984[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable985[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable987[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable988[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable998[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable999[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1000[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1001[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1002[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1003[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1004[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1005[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1009[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1010[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1012[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1013[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1014[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1017[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1019[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1020[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1021[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1022[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1023[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1024[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1025[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1026[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1027[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1028[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1033[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1034[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1035[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1036[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1037[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1038[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1039[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1040[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1041[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1042[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1043[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1044[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1047[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1048[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1050[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1051[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1054[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1058[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1059[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1062[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1063[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1064[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1065[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1066[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1067[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1068[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1069[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1070[45]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1071[39]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1073[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1078[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1079[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1080[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1081[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1082[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1083[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1084[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1086[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1090[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1091[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1092[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1093[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1094[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1095[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1111[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1112[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1113[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1114[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1116[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1117[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1118[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1119[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1122[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1123[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1124[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1125[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1126[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1128[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1140[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1141[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1142[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1143[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1144[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1146[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1147[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1149[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1150[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1152[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1153[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1154[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1155[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1156[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1157[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1158[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1162[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1165[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1166[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1167[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1168[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1169[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1170[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1171[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1172[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1177[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1178[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1183[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1204[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1205[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1209[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1210[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1211[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1212[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1213[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1214[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1215[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1216[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1217[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1218[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1220[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1221[101]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1272[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1279[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1284[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1289[29]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1290[56]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1291[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1292[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1293[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1294[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1296[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1297[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1298[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1299[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1300[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1301[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1302[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1303[26]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1304[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1310[30]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1311[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1313[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1314[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1316[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1318[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1321[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1323[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1324[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1325[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1332[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1334[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1335[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1337[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1338[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1339[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1340[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1342[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1343[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1344[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1345[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1347[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1348[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1349[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1350[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1351[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1352[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1354[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1355[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1356[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1357[32]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1358[48]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1362[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1363[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1364[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1365[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1366[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1367[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1393[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1394[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1395[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1396[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1397[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1398[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1399[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1400[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1403[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1407[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1410[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1411[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1412[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1413[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1414[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1416[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1417[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1421[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1422[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1423[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1424[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1425[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1426[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1429[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1430[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1431[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1434[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1438[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1440[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1441[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1442[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1443[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1444[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1446[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1453[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1454[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1455[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1456[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1457[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1459[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1460[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1477[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1478[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1479[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1480[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1481[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1482[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1483[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1486[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1487[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1488[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1490[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1491[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1493[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1494[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1496[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1498[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1499[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1500[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1501[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1502[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1504[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1505[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1506[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1507[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1511[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1518[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1519[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1521[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1522[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1523[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1524[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1525[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1526[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1527[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1528[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1529[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1530[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1531[68]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1532[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1533[29]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1534[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1535[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1536[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1537[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1538[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1542[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1543[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1550[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1553[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1555[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1556[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1557[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1558[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1559[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1560[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1561[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1562[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1563[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1564[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1568[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1569[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1570[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1572[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1573[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1575[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1576[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1577[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1582[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1583[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1587[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1590[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1600[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1601[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1604[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1605[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1608[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1609[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1611[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1612[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1613[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1614[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1617[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1627[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1628[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1631[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1634[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1635[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1637[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1638[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1639[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1640[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1641[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1642[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1644[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1646[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1647[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1648[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1649[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1650[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1651[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1652[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1653[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1654[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1655[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1656[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1658[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1660[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1662[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1664[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1666[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1667[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1669[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1670[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1671[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1672[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1673[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1674[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1675[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1803[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1804[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1805[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1806[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1807[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1808[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1811[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1812[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1813[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1814[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1815[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1817[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1818[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1819[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1820[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1821[26]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1823[24]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1824[20]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1825[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1826[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1827[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1828[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1829[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1831[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1832[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1833[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1834[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1836[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1837[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1838[25]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1839[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1840[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1841[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1842[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1843[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1844[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1846[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1847[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1851[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1854[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1856[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1857[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1858[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1859[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1860[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1861[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1863[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1864[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1865[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1866[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1867[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1868[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1869[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1870[13]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1871[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1872[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1873[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1874[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1876[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1878[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1879[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1880[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1881[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1882[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1885[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1886[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1887[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1888[15]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1889[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1890[132]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1893[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1894[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1895[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1896[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1904[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1905[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1910[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1911[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1914[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1915[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1916[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1918[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1920[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1923[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1924[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1927[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1928[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1929[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1930[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1931[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1932[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1933[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1934[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1935[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1936[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1937[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1938[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1939[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1940[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1941[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1942[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1944[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1946[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1947[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1949[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1950[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1951[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1952[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1956[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1957[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1960[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1961[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1964[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1965[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1966[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1967[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1968[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1969[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1970[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1971[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1972[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1973[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1974[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1975[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1976[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1979[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1980[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1982[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1985[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1986[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1987[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1988[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1990[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1991[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1992[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1993[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1995[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1999[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2001[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2003[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2004[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2005[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2006[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2007[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2008[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2009[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2012[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2013[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2014[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2015[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2016[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2018[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2019[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2021[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2022[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2023[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2025[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2026[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2027[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2029[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2030[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2032[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2033[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2034[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2035[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2037[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2039[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2040[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2042[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2044[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2045[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2048[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2049[17]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2050[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2051[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2052[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2053[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2054[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2057[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2058[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2059[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2060[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2061[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2062[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2063[12]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2064[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2065[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2069[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2070[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2072[16]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2073[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2074[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2075[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2076[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2077[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2078[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2079[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2080[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2081[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2082[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2083[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2084[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2085[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2086[19]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2088[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2090[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2091[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2092[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2093[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2094[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2095[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2096[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2097[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2098[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2099[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2100[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2101[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2102[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2103[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2104[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2105[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2107[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2108[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2109[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2110[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2112[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2113[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2114[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2115[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2116[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2117[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2118[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2119[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2120[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2121[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2122[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2123[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2124[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2125[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2126[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2127[18]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2130[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2132[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2135[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2136[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2137[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2142[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2144[11]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2146[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2147[9]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2148[8]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2150[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2153[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2154[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2155[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2159[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2160[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2161[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2162[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2163[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2164[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2165[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2166[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2167[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2168[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2169[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2170[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2174[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2179[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2180[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2181[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2183[3]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2184[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2185[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2186[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2187[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2188[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2189[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2190[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2191[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2192[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2193[7]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2194[1]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2195[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2197[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2198[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2199[14]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2202[5]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2203[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2206[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2207[6]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2208[4]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2211[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2212[2]; IL2CPP_EXTERN_C_CONST int32_t* g_FieldOffsetTable[2213] = { NULL, NULL, NULL, NULL, g_FieldOffsetTable4, g_FieldOffsetTable5, g_FieldOffsetTable6, g_FieldOffsetTable7, g_FieldOffsetTable8, g_FieldOffsetTable9, NULL, NULL, g_FieldOffsetTable12, NULL, g_FieldOffsetTable14, g_FieldOffsetTable15, g_FieldOffsetTable16, g_FieldOffsetTable17, g_FieldOffsetTable18, g_FieldOffsetTable19, g_FieldOffsetTable20, g_FieldOffsetTable21, g_FieldOffsetTable22, g_FieldOffsetTable23, NULL, NULL, g_FieldOffsetTable26, g_FieldOffsetTable27, g_FieldOffsetTable28, g_FieldOffsetTable29, g_FieldOffsetTable30, g_FieldOffsetTable31, g_FieldOffsetTable32, g_FieldOffsetTable33, g_FieldOffsetTable34, g_FieldOffsetTable35, g_FieldOffsetTable36, g_FieldOffsetTable37, g_FieldOffsetTable38, g_FieldOffsetTable39, g_FieldOffsetTable40, g_FieldOffsetTable41, g_FieldOffsetTable42, g_FieldOffsetTable43, NULL, NULL, g_FieldOffsetTable46, g_FieldOffsetTable47, g_FieldOffsetTable48, g_FieldOffsetTable49, g_FieldOffsetTable50, g_FieldOffsetTable51, NULL, g_FieldOffsetTable53, NULL, g_FieldOffsetTable55, NULL, g_FieldOffsetTable57, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable65, g_FieldOffsetTable66, g_FieldOffsetTable67, g_FieldOffsetTable68, g_FieldOffsetTable69, NULL, NULL, g_FieldOffsetTable72, g_FieldOffsetTable73, g_FieldOffsetTable74, g_FieldOffsetTable75, g_FieldOffsetTable76, g_FieldOffsetTable77, g_FieldOffsetTable78, g_FieldOffsetTable79, g_FieldOffsetTable80, g_FieldOffsetTable81, g_FieldOffsetTable82, g_FieldOffsetTable83, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable97, NULL, g_FieldOffsetTable99, NULL, NULL, NULL, NULL, g_FieldOffsetTable104, g_FieldOffsetTable105, g_FieldOffsetTable106, g_FieldOffsetTable107, g_FieldOffsetTable108, NULL, g_FieldOffsetTable110, NULL, g_FieldOffsetTable112, g_FieldOffsetTable113, g_FieldOffsetTable114, NULL, g_FieldOffsetTable116, g_FieldOffsetTable117, g_FieldOffsetTable118, g_FieldOffsetTable119, g_FieldOffsetTable120, g_FieldOffsetTable121, NULL, NULL, g_FieldOffsetTable124, g_FieldOffsetTable125, g_FieldOffsetTable126, g_FieldOffsetTable127, g_FieldOffsetTable128, g_FieldOffsetTable129, g_FieldOffsetTable130, NULL, g_FieldOffsetTable132, g_FieldOffsetTable133, NULL, NULL, g_FieldOffsetTable136, g_FieldOffsetTable137, NULL, g_FieldOffsetTable139, g_FieldOffsetTable140, g_FieldOffsetTable141, NULL, NULL, g_FieldOffsetTable144, g_FieldOffsetTable145, NULL, NULL, NULL, NULL, g_FieldOffsetTable150, g_FieldOffsetTable151, g_FieldOffsetTable152, NULL, g_FieldOffsetTable154, g_FieldOffsetTable155, g_FieldOffsetTable156, g_FieldOffsetTable157, g_FieldOffsetTable158, g_FieldOffsetTable159, g_FieldOffsetTable160, g_FieldOffsetTable161, g_FieldOffsetTable162, g_FieldOffsetTable163, g_FieldOffsetTable164, g_FieldOffsetTable165, g_FieldOffsetTable166, g_FieldOffsetTable167, g_FieldOffsetTable168, g_FieldOffsetTable169, g_FieldOffsetTable170, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable182, g_FieldOffsetTable183, g_FieldOffsetTable184, NULL, NULL, NULL, NULL, g_FieldOffsetTable189, NULL, NULL, NULL, g_FieldOffsetTable193, g_FieldOffsetTable194, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable201, g_FieldOffsetTable202, g_FieldOffsetTable203, g_FieldOffsetTable204, NULL, NULL, NULL, g_FieldOffsetTable208, NULL, g_FieldOffsetTable210, NULL, g_FieldOffsetTable212, g_FieldOffsetTable213, g_FieldOffsetTable214, g_FieldOffsetTable215, g_FieldOffsetTable216, NULL, g_FieldOffsetTable218, NULL, g_FieldOffsetTable220, NULL, g_FieldOffsetTable222, g_FieldOffsetTable223, g_FieldOffsetTable224, g_FieldOffsetTable225, g_FieldOffsetTable226, NULL, NULL, NULL, g_FieldOffsetTable230, g_FieldOffsetTable231, g_FieldOffsetTable232, g_FieldOffsetTable233, g_FieldOffsetTable234, g_FieldOffsetTable235, g_FieldOffsetTable236, g_FieldOffsetTable237, g_FieldOffsetTable238, g_FieldOffsetTable239, g_FieldOffsetTable240, NULL, g_FieldOffsetTable242, g_FieldOffsetTable243, g_FieldOffsetTable244, g_FieldOffsetTable245, g_FieldOffsetTable246, g_FieldOffsetTable247, g_FieldOffsetTable248, NULL, g_FieldOffsetTable250, NULL, g_FieldOffsetTable252, g_FieldOffsetTable253, g_FieldOffsetTable254, g_FieldOffsetTable255, NULL, g_FieldOffsetTable257, g_FieldOffsetTable258, g_FieldOffsetTable259, g_FieldOffsetTable260, NULL, g_FieldOffsetTable262, NULL, g_FieldOffsetTable264, g_FieldOffsetTable265, g_FieldOffsetTable266, NULL, g_FieldOffsetTable268, g_FieldOffsetTable269, NULL, NULL, g_FieldOffsetTable272, g_FieldOffsetTable273, g_FieldOffsetTable274, g_FieldOffsetTable275, g_FieldOffsetTable276, g_FieldOffsetTable277, g_FieldOffsetTable278, g_FieldOffsetTable279, g_FieldOffsetTable280, g_FieldOffsetTable281, g_FieldOffsetTable282, g_FieldOffsetTable283, g_FieldOffsetTable284, g_FieldOffsetTable285, NULL, g_FieldOffsetTable287, NULL, g_FieldOffsetTable289, g_FieldOffsetTable290, g_FieldOffsetTable291, g_FieldOffsetTable292, g_FieldOffsetTable293, NULL, g_FieldOffsetTable295, g_FieldOffsetTable296, NULL, g_FieldOffsetTable298, g_FieldOffsetTable299, g_FieldOffsetTable300, NULL, g_FieldOffsetTable302, g_FieldOffsetTable303, g_FieldOffsetTable304, NULL, g_FieldOffsetTable306, g_FieldOffsetTable307, g_FieldOffsetTable308, g_FieldOffsetTable309, g_FieldOffsetTable310, g_FieldOffsetTable311, g_FieldOffsetTable312, g_FieldOffsetTable313, g_FieldOffsetTable314, g_FieldOffsetTable315, g_FieldOffsetTable316, g_FieldOffsetTable317, g_FieldOffsetTable318, g_FieldOffsetTable319, g_FieldOffsetTable320, g_FieldOffsetTable321, g_FieldOffsetTable322, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable328, NULL, g_FieldOffsetTable330, g_FieldOffsetTable331, g_FieldOffsetTable332, g_FieldOffsetTable333, g_FieldOffsetTable334, NULL, g_FieldOffsetTable336, g_FieldOffsetTable337, NULL, g_FieldOffsetTable339, g_FieldOffsetTable340, g_FieldOffsetTable341, g_FieldOffsetTable342, g_FieldOffsetTable343, g_FieldOffsetTable344, g_FieldOffsetTable345, NULL, g_FieldOffsetTable347, g_FieldOffsetTable348, NULL, g_FieldOffsetTable350, g_FieldOffsetTable351, g_FieldOffsetTable352, NULL, NULL, g_FieldOffsetTable355, g_FieldOffsetTable356, g_FieldOffsetTable357, g_FieldOffsetTable358, g_FieldOffsetTable359, g_FieldOffsetTable360, g_FieldOffsetTable361, g_FieldOffsetTable362, g_FieldOffsetTable363, NULL, NULL, g_FieldOffsetTable366, g_FieldOffsetTable367, g_FieldOffsetTable368, g_FieldOffsetTable369, g_FieldOffsetTable370, g_FieldOffsetTable371, g_FieldOffsetTable372, g_FieldOffsetTable373, g_FieldOffsetTable374, g_FieldOffsetTable375, g_FieldOffsetTable376, NULL, g_FieldOffsetTable378, g_FieldOffsetTable379, g_FieldOffsetTable380, g_FieldOffsetTable381, g_FieldOffsetTable382, g_FieldOffsetTable383, g_FieldOffsetTable384, g_FieldOffsetTable385, g_FieldOffsetTable386, g_FieldOffsetTable387, g_FieldOffsetTable388, NULL, g_FieldOffsetTable390, g_FieldOffsetTable391, g_FieldOffsetTable392, g_FieldOffsetTable393, g_FieldOffsetTable394, g_FieldOffsetTable395, g_FieldOffsetTable396, g_FieldOffsetTable397, g_FieldOffsetTable398, g_FieldOffsetTable399, NULL, NULL, g_FieldOffsetTable402, g_FieldOffsetTable403, g_FieldOffsetTable404, NULL, g_FieldOffsetTable406, g_FieldOffsetTable407, g_FieldOffsetTable408, g_FieldOffsetTable409, g_FieldOffsetTable410, g_FieldOffsetTable411, g_FieldOffsetTable412, g_FieldOffsetTable413, g_FieldOffsetTable414, NULL, NULL, g_FieldOffsetTable417, g_FieldOffsetTable418, g_FieldOffsetTable419, g_FieldOffsetTable420, g_FieldOffsetTable421, g_FieldOffsetTable422, g_FieldOffsetTable423, g_FieldOffsetTable424, g_FieldOffsetTable425, g_FieldOffsetTable426, g_FieldOffsetTable427, g_FieldOffsetTable428, g_FieldOffsetTable429, NULL, g_FieldOffsetTable431, g_FieldOffsetTable432, g_FieldOffsetTable433, g_FieldOffsetTable434, g_FieldOffsetTable435, g_FieldOffsetTable436, NULL, NULL, g_FieldOffsetTable439, NULL, NULL, g_FieldOffsetTable442, g_FieldOffsetTable443, g_FieldOffsetTable444, NULL, g_FieldOffsetTable446, g_FieldOffsetTable447, NULL, g_FieldOffsetTable449, g_FieldOffsetTable450, g_FieldOffsetTable451, g_FieldOffsetTable452, g_FieldOffsetTable453, g_FieldOffsetTable454, NULL, NULL, NULL, g_FieldOffsetTable458, NULL, NULL, g_FieldOffsetTable461, NULL, g_FieldOffsetTable463, g_FieldOffsetTable464, g_FieldOffsetTable465, g_FieldOffsetTable466, NULL, g_FieldOffsetTable468, g_FieldOffsetTable469, g_FieldOffsetTable470, NULL, g_FieldOffsetTable472, NULL, g_FieldOffsetTable474, g_FieldOffsetTable475, g_FieldOffsetTable476, NULL, NULL, g_FieldOffsetTable479, NULL, g_FieldOffsetTable481, NULL, NULL, g_FieldOffsetTable484, g_FieldOffsetTable485, NULL, g_FieldOffsetTable487, NULL, g_FieldOffsetTable489, NULL, NULL, NULL, NULL, g_FieldOffsetTable494, g_FieldOffsetTable495, NULL, g_FieldOffsetTable497, NULL, NULL, NULL, g_FieldOffsetTable501, NULL, g_FieldOffsetTable503, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable512, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable518, NULL, NULL, g_FieldOffsetTable521, g_FieldOffsetTable522, NULL, g_FieldOffsetTable524, NULL, NULL, NULL, g_FieldOffsetTable528, g_FieldOffsetTable529, NULL, g_FieldOffsetTable531, g_FieldOffsetTable532, NULL, g_FieldOffsetTable534, g_FieldOffsetTable535, NULL, g_FieldOffsetTable537, g_FieldOffsetTable538, g_FieldOffsetTable539, NULL, g_FieldOffsetTable541, g_FieldOffsetTable542, g_FieldOffsetTable543, NULL, g_FieldOffsetTable545, g_FieldOffsetTable546, g_FieldOffsetTable547, g_FieldOffsetTable548, NULL, g_FieldOffsetTable550, g_FieldOffsetTable551, g_FieldOffsetTable552, NULL, g_FieldOffsetTable554, g_FieldOffsetTable555, g_FieldOffsetTable556, NULL, g_FieldOffsetTable558, g_FieldOffsetTable559, g_FieldOffsetTable560, NULL, g_FieldOffsetTable562, NULL, g_FieldOffsetTable564, g_FieldOffsetTable565, g_FieldOffsetTable566, g_FieldOffsetTable567, g_FieldOffsetTable568, g_FieldOffsetTable569, NULL, NULL, g_FieldOffsetTable572, g_FieldOffsetTable573, g_FieldOffsetTable574, g_FieldOffsetTable575, g_FieldOffsetTable576, g_FieldOffsetTable577, g_FieldOffsetTable578, g_FieldOffsetTable579, g_FieldOffsetTable580, NULL, g_FieldOffsetTable582, g_FieldOffsetTable583, g_FieldOffsetTable584, NULL, g_FieldOffsetTable586, g_FieldOffsetTable587, g_FieldOffsetTable588, g_FieldOffsetTable589, g_FieldOffsetTable590, g_FieldOffsetTable591, g_FieldOffsetTable592, g_FieldOffsetTable593, g_FieldOffsetTable594, g_FieldOffsetTable595, g_FieldOffsetTable596, g_FieldOffsetTable597, g_FieldOffsetTable598, g_FieldOffsetTable599, g_FieldOffsetTable600, g_FieldOffsetTable601, g_FieldOffsetTable602, g_FieldOffsetTable603, g_FieldOffsetTable604, g_FieldOffsetTable605, g_FieldOffsetTable606, g_FieldOffsetTable607, g_FieldOffsetTable608, g_FieldOffsetTable609, g_FieldOffsetTable610, g_FieldOffsetTable611, g_FieldOffsetTable612, NULL, g_FieldOffsetTable614, g_FieldOffsetTable615, g_FieldOffsetTable616, g_FieldOffsetTable617, g_FieldOffsetTable618, g_FieldOffsetTable619, g_FieldOffsetTable620, g_FieldOffsetTable621, g_FieldOffsetTable622, g_FieldOffsetTable623, g_FieldOffsetTable624, g_FieldOffsetTable625, g_FieldOffsetTable626, g_FieldOffsetTable627, g_FieldOffsetTable628, g_FieldOffsetTable629, g_FieldOffsetTable630, g_FieldOffsetTable631, NULL, g_FieldOffsetTable633, g_FieldOffsetTable634, g_FieldOffsetTable635, g_FieldOffsetTable636, g_FieldOffsetTable637, g_FieldOffsetTable638, g_FieldOffsetTable639, g_FieldOffsetTable640, g_FieldOffsetTable641, NULL, g_FieldOffsetTable643, g_FieldOffsetTable644, g_FieldOffsetTable645, g_FieldOffsetTable646, g_FieldOffsetTable647, NULL, g_FieldOffsetTable649, g_FieldOffsetTable650, NULL, g_FieldOffsetTable652, NULL, NULL, g_FieldOffsetTable655, NULL, NULL, g_FieldOffsetTable658, g_FieldOffsetTable659, g_FieldOffsetTable660, g_FieldOffsetTable661, g_FieldOffsetTable662, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable670, NULL, NULL, g_FieldOffsetTable673, g_FieldOffsetTable674, NULL, g_FieldOffsetTable676, g_FieldOffsetTable677, g_FieldOffsetTable678, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable684, g_FieldOffsetTable685, g_FieldOffsetTable686, g_FieldOffsetTable687, g_FieldOffsetTable688, g_FieldOffsetTable689, NULL, g_FieldOffsetTable691, NULL, NULL, g_FieldOffsetTable694, NULL, g_FieldOffsetTable696, NULL, NULL, NULL, NULL, g_FieldOffsetTable701, g_FieldOffsetTable702, g_FieldOffsetTable703, g_FieldOffsetTable704, NULL, g_FieldOffsetTable706, NULL, NULL, g_FieldOffsetTable709, g_FieldOffsetTable710, g_FieldOffsetTable711, g_FieldOffsetTable712, NULL, g_FieldOffsetTable714, g_FieldOffsetTable715, NULL, g_FieldOffsetTable717, g_FieldOffsetTable718, g_FieldOffsetTable719, g_FieldOffsetTable720, g_FieldOffsetTable721, NULL, g_FieldOffsetTable723, g_FieldOffsetTable724, g_FieldOffsetTable725, g_FieldOffsetTable726, NULL, g_FieldOffsetTable728, g_FieldOffsetTable729, g_FieldOffsetTable730, g_FieldOffsetTable731, NULL, NULL, g_FieldOffsetTable734, g_FieldOffsetTable735, NULL, g_FieldOffsetTable737, g_FieldOffsetTable738, g_FieldOffsetTable739, g_FieldOffsetTable740, g_FieldOffsetTable741, g_FieldOffsetTable742, g_FieldOffsetTable743, g_FieldOffsetTable744, g_FieldOffsetTable745, g_FieldOffsetTable746, g_FieldOffsetTable747, NULL, g_FieldOffsetTable749, NULL, g_FieldOffsetTable751, NULL, g_FieldOffsetTable753, g_FieldOffsetTable754, g_FieldOffsetTable755, NULL, NULL, g_FieldOffsetTable758, g_FieldOffsetTable759, NULL, NULL, g_FieldOffsetTable762, g_FieldOffsetTable763, NULL, NULL, NULL, g_FieldOffsetTable767, NULL, NULL, NULL, g_FieldOffsetTable771, g_FieldOffsetTable772, g_FieldOffsetTable773, g_FieldOffsetTable774, NULL, NULL, NULL, g_FieldOffsetTable778, g_FieldOffsetTable779, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable787, g_FieldOffsetTable788, g_FieldOffsetTable789, g_FieldOffsetTable790, g_FieldOffsetTable791, g_FieldOffsetTable792, g_FieldOffsetTable793, g_FieldOffsetTable794, g_FieldOffsetTable795, g_FieldOffsetTable796, g_FieldOffsetTable797, NULL, g_FieldOffsetTable799, g_FieldOffsetTable800, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable806, g_FieldOffsetTable807, g_FieldOffsetTable808, g_FieldOffsetTable809, g_FieldOffsetTable810, g_FieldOffsetTable811, g_FieldOffsetTable812, g_FieldOffsetTable813, g_FieldOffsetTable814, g_FieldOffsetTable815, g_FieldOffsetTable816, g_FieldOffsetTable817, g_FieldOffsetTable818, g_FieldOffsetTable819, NULL, NULL, g_FieldOffsetTable822, g_FieldOffsetTable823, g_FieldOffsetTable824, g_FieldOffsetTable825, g_FieldOffsetTable826, g_FieldOffsetTable827, g_FieldOffsetTable828, g_FieldOffsetTable829, g_FieldOffsetTable830, g_FieldOffsetTable831, g_FieldOffsetTable832, g_FieldOffsetTable833, g_FieldOffsetTable834, g_FieldOffsetTable835, g_FieldOffsetTable836, g_FieldOffsetTable837, g_FieldOffsetTable838, NULL, g_FieldOffsetTable840, g_FieldOffsetTable841, g_FieldOffsetTable842, g_FieldOffsetTable843, g_FieldOffsetTable844, g_FieldOffsetTable845, g_FieldOffsetTable846, g_FieldOffsetTable847, g_FieldOffsetTable848, g_FieldOffsetTable849, g_FieldOffsetTable850, g_FieldOffsetTable851, g_FieldOffsetTable852, g_FieldOffsetTable853, g_FieldOffsetTable854, g_FieldOffsetTable855, g_FieldOffsetTable856, g_FieldOffsetTable857, g_FieldOffsetTable858, g_FieldOffsetTable859, g_FieldOffsetTable860, g_FieldOffsetTable861, g_FieldOffsetTable862, g_FieldOffsetTable863, g_FieldOffsetTable864, g_FieldOffsetTable865, g_FieldOffsetTable866, g_FieldOffsetTable867, g_FieldOffsetTable868, g_FieldOffsetTable869, g_FieldOffsetTable870, g_FieldOffsetTable871, g_FieldOffsetTable872, g_FieldOffsetTable873, g_FieldOffsetTable874, g_FieldOffsetTable875, g_FieldOffsetTable876, g_FieldOffsetTable877, g_FieldOffsetTable878, g_FieldOffsetTable879, g_FieldOffsetTable880, g_FieldOffsetTable881, NULL, NULL, NULL, g_FieldOffsetTable885, g_FieldOffsetTable886, g_FieldOffsetTable887, g_FieldOffsetTable888, g_FieldOffsetTable889, g_FieldOffsetTable890, g_FieldOffsetTable891, g_FieldOffsetTable892, NULL, NULL, g_FieldOffsetTable895, g_FieldOffsetTable896, g_FieldOffsetTable897, g_FieldOffsetTable898, NULL, NULL, g_FieldOffsetTable901, g_FieldOffsetTable902, g_FieldOffsetTable903, g_FieldOffsetTable904, g_FieldOffsetTable905, g_FieldOffsetTable906, g_FieldOffsetTable907, g_FieldOffsetTable908, NULL, g_FieldOffsetTable910, NULL, g_FieldOffsetTable912, g_FieldOffsetTable913, g_FieldOffsetTable914, NULL, NULL, g_FieldOffsetTable917, NULL, g_FieldOffsetTable919, g_FieldOffsetTable920, g_FieldOffsetTable921, g_FieldOffsetTable922, g_FieldOffsetTable923, g_FieldOffsetTable924, g_FieldOffsetTable925, NULL, NULL, g_FieldOffsetTable928, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable939, g_FieldOffsetTable940, g_FieldOffsetTable941, g_FieldOffsetTable942, g_FieldOffsetTable943, NULL, g_FieldOffsetTable945, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable953, g_FieldOffsetTable954, g_FieldOffsetTable955, NULL, g_FieldOffsetTable957, NULL, NULL, NULL, NULL, g_FieldOffsetTable962, g_FieldOffsetTable963, g_FieldOffsetTable964, NULL, g_FieldOffsetTable966, NULL, g_FieldOffsetTable968, g_FieldOffsetTable969, g_FieldOffsetTable970, g_FieldOffsetTable971, g_FieldOffsetTable972, g_FieldOffsetTable973, g_FieldOffsetTable974, g_FieldOffsetTable975, g_FieldOffsetTable976, g_FieldOffsetTable977, g_FieldOffsetTable978, g_FieldOffsetTable979, g_FieldOffsetTable980, g_FieldOffsetTable981, g_FieldOffsetTable982, g_FieldOffsetTable983, g_FieldOffsetTable984, g_FieldOffsetTable985, NULL, g_FieldOffsetTable987, g_FieldOffsetTable988, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable998, g_FieldOffsetTable999, g_FieldOffsetTable1000, g_FieldOffsetTable1001, g_FieldOffsetTable1002, g_FieldOffsetTable1003, g_FieldOffsetTable1004, g_FieldOffsetTable1005, NULL, NULL, NULL, g_FieldOffsetTable1009, g_FieldOffsetTable1010, NULL, g_FieldOffsetTable1012, g_FieldOffsetTable1013, g_FieldOffsetTable1014, NULL, NULL, g_FieldOffsetTable1017, NULL, g_FieldOffsetTable1019, g_FieldOffsetTable1020, g_FieldOffsetTable1021, g_FieldOffsetTable1022, g_FieldOffsetTable1023, g_FieldOffsetTable1024, g_FieldOffsetTable1025, g_FieldOffsetTable1026, g_FieldOffsetTable1027, g_FieldOffsetTable1028, NULL, NULL, NULL, NULL, g_FieldOffsetTable1033, g_FieldOffsetTable1034, g_FieldOffsetTable1035, g_FieldOffsetTable1036, g_FieldOffsetTable1037, g_FieldOffsetTable1038, g_FieldOffsetTable1039, g_FieldOffsetTable1040, g_FieldOffsetTable1041, g_FieldOffsetTable1042, g_FieldOffsetTable1043, g_FieldOffsetTable1044, NULL, NULL, g_FieldOffsetTable1047, g_FieldOffsetTable1048, NULL, g_FieldOffsetTable1050, g_FieldOffsetTable1051, NULL, NULL, g_FieldOffsetTable1054, NULL, NULL, NULL, g_FieldOffsetTable1058, g_FieldOffsetTable1059, NULL, NULL, g_FieldOffsetTable1062, g_FieldOffsetTable1063, g_FieldOffsetTable1064, g_FieldOffsetTable1065, g_FieldOffsetTable1066, g_FieldOffsetTable1067, g_FieldOffsetTable1068, g_FieldOffsetTable1069, g_FieldOffsetTable1070, g_FieldOffsetTable1071, NULL, g_FieldOffsetTable1073, NULL, NULL, NULL, NULL, g_FieldOffsetTable1078, g_FieldOffsetTable1079, g_FieldOffsetTable1080, g_FieldOffsetTable1081, g_FieldOffsetTable1082, g_FieldOffsetTable1083, g_FieldOffsetTable1084, NULL, g_FieldOffsetTable1086, NULL, NULL, NULL, g_FieldOffsetTable1090, g_FieldOffsetTable1091, g_FieldOffsetTable1092, g_FieldOffsetTable1093, g_FieldOffsetTable1094, g_FieldOffsetTable1095, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1111, g_FieldOffsetTable1112, g_FieldOffsetTable1113, g_FieldOffsetTable1114, NULL, g_FieldOffsetTable1116, g_FieldOffsetTable1117, g_FieldOffsetTable1118, g_FieldOffsetTable1119, NULL, NULL, g_FieldOffsetTable1122, g_FieldOffsetTable1123, g_FieldOffsetTable1124, g_FieldOffsetTable1125, g_FieldOffsetTable1126, NULL, g_FieldOffsetTable1128, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1140, g_FieldOffsetTable1141, g_FieldOffsetTable1142, g_FieldOffsetTable1143, g_FieldOffsetTable1144, NULL, g_FieldOffsetTable1146, g_FieldOffsetTable1147, NULL, g_FieldOffsetTable1149, g_FieldOffsetTable1150, NULL, g_FieldOffsetTable1152, g_FieldOffsetTable1153, g_FieldOffsetTable1154, g_FieldOffsetTable1155, g_FieldOffsetTable1156, g_FieldOffsetTable1157, g_FieldOffsetTable1158, NULL, NULL, NULL, g_FieldOffsetTable1162, NULL, NULL, g_FieldOffsetTable1165, g_FieldOffsetTable1166, g_FieldOffsetTable1167, g_FieldOffsetTable1168, g_FieldOffsetTable1169, g_FieldOffsetTable1170, g_FieldOffsetTable1171, g_FieldOffsetTable1172, NULL, NULL, NULL, NULL, g_FieldOffsetTable1177, g_FieldOffsetTable1178, NULL, NULL, NULL, NULL, g_FieldOffsetTable1183, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1204, g_FieldOffsetTable1205, NULL, NULL, NULL, g_FieldOffsetTable1209, g_FieldOffsetTable1210, g_FieldOffsetTable1211, g_FieldOffsetTable1212, g_FieldOffsetTable1213, g_FieldOffsetTable1214, g_FieldOffsetTable1215, g_FieldOffsetTable1216, g_FieldOffsetTable1217, g_FieldOffsetTable1218, NULL, g_FieldOffsetTable1220, g_FieldOffsetTable1221, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1272, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1279, NULL, NULL, NULL, NULL, g_FieldOffsetTable1284, NULL, NULL, NULL, NULL, g_FieldOffsetTable1289, g_FieldOffsetTable1290, g_FieldOffsetTable1291, g_FieldOffsetTable1292, g_FieldOffsetTable1293, g_FieldOffsetTable1294, NULL, g_FieldOffsetTable1296, g_FieldOffsetTable1297, g_FieldOffsetTable1298, g_FieldOffsetTable1299, g_FieldOffsetTable1300, g_FieldOffsetTable1301, g_FieldOffsetTable1302, g_FieldOffsetTable1303, g_FieldOffsetTable1304, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1310, g_FieldOffsetTable1311, NULL, g_FieldOffsetTable1313, g_FieldOffsetTable1314, NULL, g_FieldOffsetTable1316, NULL, g_FieldOffsetTable1318, NULL, NULL, g_FieldOffsetTable1321, NULL, g_FieldOffsetTable1323, g_FieldOffsetTable1324, g_FieldOffsetTable1325, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1332, NULL, g_FieldOffsetTable1334, g_FieldOffsetTable1335, NULL, g_FieldOffsetTable1337, g_FieldOffsetTable1338, g_FieldOffsetTable1339, g_FieldOffsetTable1340, NULL, g_FieldOffsetTable1342, g_FieldOffsetTable1343, g_FieldOffsetTable1344, g_FieldOffsetTable1345, NULL, g_FieldOffsetTable1347, g_FieldOffsetTable1348, g_FieldOffsetTable1349, g_FieldOffsetTable1350, g_FieldOffsetTable1351, g_FieldOffsetTable1352, NULL, g_FieldOffsetTable1354, g_FieldOffsetTable1355, g_FieldOffsetTable1356, g_FieldOffsetTable1357, g_FieldOffsetTable1358, NULL, NULL, NULL, g_FieldOffsetTable1362, g_FieldOffsetTable1363, g_FieldOffsetTable1364, g_FieldOffsetTable1365, g_FieldOffsetTable1366, g_FieldOffsetTable1367, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1393, g_FieldOffsetTable1394, g_FieldOffsetTable1395, g_FieldOffsetTable1396, g_FieldOffsetTable1397, g_FieldOffsetTable1398, g_FieldOffsetTable1399, g_FieldOffsetTable1400, NULL, NULL, g_FieldOffsetTable1403, NULL, NULL, NULL, g_FieldOffsetTable1407, NULL, NULL, g_FieldOffsetTable1410, g_FieldOffsetTable1411, g_FieldOffsetTable1412, g_FieldOffsetTable1413, g_FieldOffsetTable1414, NULL, g_FieldOffsetTable1416, g_FieldOffsetTable1417, NULL, NULL, NULL, g_FieldOffsetTable1421, g_FieldOffsetTable1422, g_FieldOffsetTable1423, g_FieldOffsetTable1424, g_FieldOffsetTable1425, g_FieldOffsetTable1426, NULL, NULL, g_FieldOffsetTable1429, g_FieldOffsetTable1430, g_FieldOffsetTable1431, NULL, NULL, g_FieldOffsetTable1434, NULL, NULL, NULL, g_FieldOffsetTable1438, NULL, g_FieldOffsetTable1440, g_FieldOffsetTable1441, g_FieldOffsetTable1442, g_FieldOffsetTable1443, g_FieldOffsetTable1444, NULL, g_FieldOffsetTable1446, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1453, g_FieldOffsetTable1454, g_FieldOffsetTable1455, g_FieldOffsetTable1456, g_FieldOffsetTable1457, NULL, g_FieldOffsetTable1459, g_FieldOffsetTable1460, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1477, g_FieldOffsetTable1478, g_FieldOffsetTable1479, g_FieldOffsetTable1480, g_FieldOffsetTable1481, g_FieldOffsetTable1482, g_FieldOffsetTable1483, NULL, NULL, g_FieldOffsetTable1486, g_FieldOffsetTable1487, g_FieldOffsetTable1488, NULL, g_FieldOffsetTable1490, g_FieldOffsetTable1491, NULL, g_FieldOffsetTable1493, g_FieldOffsetTable1494, NULL, g_FieldOffsetTable1496, NULL, g_FieldOffsetTable1498, g_FieldOffsetTable1499, g_FieldOffsetTable1500, g_FieldOffsetTable1501, g_FieldOffsetTable1502, NULL, g_FieldOffsetTable1504, g_FieldOffsetTable1505, g_FieldOffsetTable1506, g_FieldOffsetTable1507, NULL, NULL, NULL, g_FieldOffsetTable1511, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1518, g_FieldOffsetTable1519, NULL, g_FieldOffsetTable1521, g_FieldOffsetTable1522, g_FieldOffsetTable1523, g_FieldOffsetTable1524, g_FieldOffsetTable1525, g_FieldOffsetTable1526, g_FieldOffsetTable1527, g_FieldOffsetTable1528, g_FieldOffsetTable1529, g_FieldOffsetTable1530, g_FieldOffsetTable1531, g_FieldOffsetTable1532, g_FieldOffsetTable1533, g_FieldOffsetTable1534, g_FieldOffsetTable1535, g_FieldOffsetTable1536, g_FieldOffsetTable1537, g_FieldOffsetTable1538, NULL, NULL, NULL, g_FieldOffsetTable1542, g_FieldOffsetTable1543, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1550, NULL, NULL, g_FieldOffsetTable1553, NULL, g_FieldOffsetTable1555, g_FieldOffsetTable1556, g_FieldOffsetTable1557, g_FieldOffsetTable1558, g_FieldOffsetTable1559, g_FieldOffsetTable1560, g_FieldOffsetTable1561, g_FieldOffsetTable1562, g_FieldOffsetTable1563, g_FieldOffsetTable1564, NULL, NULL, NULL, g_FieldOffsetTable1568, g_FieldOffsetTable1569, g_FieldOffsetTable1570, NULL, g_FieldOffsetTable1572, g_FieldOffsetTable1573, NULL, g_FieldOffsetTable1575, g_FieldOffsetTable1576, g_FieldOffsetTable1577, NULL, NULL, NULL, NULL, g_FieldOffsetTable1582, g_FieldOffsetTable1583, NULL, NULL, NULL, g_FieldOffsetTable1587, NULL, NULL, g_FieldOffsetTable1590, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1600, g_FieldOffsetTable1601, NULL, NULL, g_FieldOffsetTable1604, g_FieldOffsetTable1605, NULL, NULL, g_FieldOffsetTable1608, g_FieldOffsetTable1609, NULL, g_FieldOffsetTable1611, g_FieldOffsetTable1612, g_FieldOffsetTable1613, g_FieldOffsetTable1614, NULL, NULL, g_FieldOffsetTable1617, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1627, g_FieldOffsetTable1628, NULL, NULL, g_FieldOffsetTable1631, NULL, NULL, g_FieldOffsetTable1634, g_FieldOffsetTable1635, NULL, g_FieldOffsetTable1637, g_FieldOffsetTable1638, g_FieldOffsetTable1639, g_FieldOffsetTable1640, g_FieldOffsetTable1641, g_FieldOffsetTable1642, NULL, g_FieldOffsetTable1644, NULL, g_FieldOffsetTable1646, g_FieldOffsetTable1647, g_FieldOffsetTable1648, g_FieldOffsetTable1649, g_FieldOffsetTable1650, g_FieldOffsetTable1651, g_FieldOffsetTable1652, g_FieldOffsetTable1653, g_FieldOffsetTable1654, g_FieldOffsetTable1655, g_FieldOffsetTable1656, NULL, g_FieldOffsetTable1658, NULL, g_FieldOffsetTable1660, NULL, g_FieldOffsetTable1662, NULL, g_FieldOffsetTable1664, NULL, g_FieldOffsetTable1666, g_FieldOffsetTable1667, NULL, g_FieldOffsetTable1669, g_FieldOffsetTable1670, g_FieldOffsetTable1671, g_FieldOffsetTable1672, g_FieldOffsetTable1673, g_FieldOffsetTable1674, g_FieldOffsetTable1675, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1803, g_FieldOffsetTable1804, g_FieldOffsetTable1805, g_FieldOffsetTable1806, g_FieldOffsetTable1807, g_FieldOffsetTable1808, NULL, NULL, g_FieldOffsetTable1811, g_FieldOffsetTable1812, g_FieldOffsetTable1813, g_FieldOffsetTable1814, g_FieldOffsetTable1815, NULL, g_FieldOffsetTable1817, g_FieldOffsetTable1818, g_FieldOffsetTable1819, g_FieldOffsetTable1820, g_FieldOffsetTable1821, NULL, g_FieldOffsetTable1823, g_FieldOffsetTable1824, g_FieldOffsetTable1825, g_FieldOffsetTable1826, g_FieldOffsetTable1827, g_FieldOffsetTable1828, g_FieldOffsetTable1829, NULL, g_FieldOffsetTable1831, g_FieldOffsetTable1832, g_FieldOffsetTable1833, g_FieldOffsetTable1834, NULL, g_FieldOffsetTable1836, g_FieldOffsetTable1837, g_FieldOffsetTable1838, g_FieldOffsetTable1839, g_FieldOffsetTable1840, g_FieldOffsetTable1841, g_FieldOffsetTable1842, g_FieldOffsetTable1843, g_FieldOffsetTable1844, NULL, g_FieldOffsetTable1846, g_FieldOffsetTable1847, NULL, NULL, NULL, g_FieldOffsetTable1851, NULL, NULL, g_FieldOffsetTable1854, NULL, g_FieldOffsetTable1856, g_FieldOffsetTable1857, g_FieldOffsetTable1858, g_FieldOffsetTable1859, g_FieldOffsetTable1860, g_FieldOffsetTable1861, NULL, g_FieldOffsetTable1863, g_FieldOffsetTable1864, g_FieldOffsetTable1865, g_FieldOffsetTable1866, g_FieldOffsetTable1867, g_FieldOffsetTable1868, g_FieldOffsetTable1869, g_FieldOffsetTable1870, g_FieldOffsetTable1871, g_FieldOffsetTable1872, g_FieldOffsetTable1873, g_FieldOffsetTable1874, NULL, g_FieldOffsetTable1876, NULL, g_FieldOffsetTable1878, g_FieldOffsetTable1879, g_FieldOffsetTable1880, g_FieldOffsetTable1881, g_FieldOffsetTable1882, NULL, NULL, g_FieldOffsetTable1885, g_FieldOffsetTable1886, g_FieldOffsetTable1887, g_FieldOffsetTable1888, g_FieldOffsetTable1889, g_FieldOffsetTable1890, NULL, NULL, g_FieldOffsetTable1893, g_FieldOffsetTable1894, g_FieldOffsetTable1895, g_FieldOffsetTable1896, NULL, NULL, NULL, NULL, NULL, NULL, NULL, g_FieldOffsetTable1904, g_FieldOffsetTable1905, NULL, NULL, NULL, NULL, g_FieldOffsetTable1910, g_FieldOffsetTable1911, NULL, NULL, g_FieldOffsetTable1914, g_FieldOffsetTable1915, g_FieldOffsetTable1916, NULL, g_FieldOffsetTable1918, NULL, g_FieldOffsetTable1920, NULL, NULL, g_FieldOffsetTable1923, g_FieldOffsetTable1924, NULL, NULL, g_FieldOffsetTable1927, g_FieldOffsetTable1928, g_FieldOffsetTable1929, g_FieldOffsetTable1930, g_FieldOffsetTable1931, g_FieldOffsetTable1932, g_FieldOffsetTable1933, g_FieldOffsetTable1934, g_FieldOffsetTable1935, g_FieldOffsetTable1936, g_FieldOffsetTable1937, g_FieldOffsetTable1938, g_FieldOffsetTable1939, g_FieldOffsetTable1940, g_FieldOffsetTable1941, g_FieldOffsetTable1942, NULL, g_FieldOffsetTable1944, NULL, g_FieldOffsetTable1946, g_FieldOffsetTable1947, NULL, g_FieldOffsetTable1949, g_FieldOffsetTable1950, g_FieldOffsetTable1951, g_FieldOffsetTable1952, NULL, NULL, NULL, g_FieldOffsetTable1956, g_FieldOffsetTable1957, NULL, NULL, g_FieldOffsetTable1960, g_FieldOffsetTable1961, NULL, NULL, g_FieldOffsetTable1964, g_FieldOffsetTable1965, g_FieldOffsetTable1966, g_FieldOffsetTable1967, g_FieldOffsetTable1968, g_FieldOffsetTable1969, g_FieldOffsetTable1970, g_FieldOffsetTable1971, g_FieldOffsetTable1972, g_FieldOffsetTable1973, g_FieldOffsetTable1974, g_FieldOffsetTable1975, g_FieldOffsetTable1976, NULL, NULL, g_FieldOffsetTable1979, g_FieldOffsetTable1980, NULL, g_FieldOffsetTable1982, NULL, NULL, g_FieldOffsetTable1985, g_FieldOffsetTable1986, g_FieldOffsetTable1987, g_FieldOffsetTable1988, NULL, g_FieldOffsetTable1990, g_FieldOffsetTable1991, g_FieldOffsetTable1992, g_FieldOffsetTable1993, NULL, g_FieldOffsetTable1995, NULL, NULL, NULL, g_FieldOffsetTable1999, NULL, g_FieldOffsetTable2001, NULL, g_FieldOffsetTable2003, g_FieldOffsetTable2004, g_FieldOffsetTable2005, g_FieldOffsetTable2006, g_FieldOffsetTable2007, g_FieldOffsetTable2008, g_FieldOffsetTable2009, NULL, NULL, g_FieldOffsetTable2012, g_FieldOffsetTable2013, g_FieldOffsetTable2014, g_FieldOffsetTable2015, g_FieldOffsetTable2016, NULL, g_FieldOffsetTable2018, g_FieldOffsetTable2019, NULL, g_FieldOffsetTable2021, g_FieldOffsetTable2022, g_FieldOffsetTable2023, NULL, g_FieldOffsetTable2025, g_FieldOffsetTable2026, g_FieldOffsetTable2027, NULL, g_FieldOffsetTable2029, g_FieldOffsetTable2030, NULL, g_FieldOffsetTable2032, g_FieldOffsetTable2033, g_FieldOffsetTable2034, g_FieldOffsetTable2035, NULL, g_FieldOffsetTable2037, NULL, g_FieldOffsetTable2039, g_FieldOffsetTable2040, NULL, g_FieldOffsetTable2042, NULL, g_FieldOffsetTable2044, g_FieldOffsetTable2045, NULL, NULL, g_FieldOffsetTable2048, g_FieldOffsetTable2049, g_FieldOffsetTable2050, g_FieldOffsetTable2051, g_FieldOffsetTable2052, g_FieldOffsetTable2053, g_FieldOffsetTable2054, NULL, NULL, g_FieldOffsetTable2057, g_FieldOffsetTable2058, g_FieldOffsetTable2059, g_FieldOffsetTable2060, g_FieldOffsetTable2061, g_FieldOffsetTable2062, g_FieldOffsetTable2063, g_FieldOffsetTable2064, g_FieldOffsetTable2065, NULL, NULL, NULL, g_FieldOffsetTable2069, g_FieldOffsetTable2070, NULL, g_FieldOffsetTable2072, g_FieldOffsetTable2073, g_FieldOffsetTable2074, g_FieldOffsetTable2075, g_FieldOffsetTable2076, g_FieldOffsetTable2077, g_FieldOffsetTable2078, g_FieldOffsetTable2079, g_FieldOffsetTable2080, g_FieldOffsetTable2081, g_FieldOffsetTable2082, g_FieldOffsetTable2083, g_FieldOffsetTable2084, g_FieldOffsetTable2085, g_FieldOffsetTable2086, NULL, g_FieldOffsetTable2088, NULL, g_FieldOffsetTable2090, g_FieldOffsetTable2091, g_FieldOffsetTable2092, g_FieldOffsetTable2093, g_FieldOffsetTable2094, g_FieldOffsetTable2095, g_FieldOffsetTable2096, g_FieldOffsetTable2097, g_FieldOffsetTable2098, g_FieldOffsetTable2099, g_FieldOffsetTable2100, g_FieldOffsetTable2101, g_FieldOffsetTable2102, g_FieldOffsetTable2103, g_FieldOffsetTable2104, g_FieldOffsetTable2105, NULL, g_FieldOffsetTable2107, g_FieldOffsetTable2108, g_FieldOffsetTable2109, g_FieldOffsetTable2110, NULL, g_FieldOffsetTable2112, g_FieldOffsetTable2113, g_FieldOffsetTable2114, g_FieldOffsetTable2115, g_FieldOffsetTable2116, g_FieldOffsetTable2117, g_FieldOffsetTable2118, g_FieldOffsetTable2119, g_FieldOffsetTable2120, g_FieldOffsetTable2121, g_FieldOffsetTable2122, g_FieldOffsetTable2123, g_FieldOffsetTable2124, g_FieldOffsetTable2125, g_FieldOffsetTable2126, g_FieldOffsetTable2127, NULL, NULL, g_FieldOffsetTable2130, NULL, g_FieldOffsetTable2132, NULL, NULL, g_FieldOffsetTable2135, g_FieldOffsetTable2136, g_FieldOffsetTable2137, NULL, NULL, NULL, NULL, g_FieldOffsetTable2142, NULL, g_FieldOffsetTable2144, NULL, g_FieldOffsetTable2146, g_FieldOffsetTable2147, g_FieldOffsetTable2148, NULL, g_FieldOffsetTable2150, NULL, NULL, g_FieldOffsetTable2153, g_FieldOffsetTable2154, g_FieldOffsetTable2155, NULL, NULL, NULL, g_FieldOffsetTable2159, g_FieldOffsetTable2160, g_FieldOffsetTable2161, g_FieldOffsetTable2162, g_FieldOffsetTable2163, g_FieldOffsetTable2164, g_FieldOffsetTable2165, g_FieldOffsetTable2166, g_FieldOffsetTable2167, g_FieldOffsetTable2168, g_FieldOffsetTable2169, g_FieldOffsetTable2170, NULL, NULL, NULL, g_FieldOffsetTable2174, NULL, NULL, NULL, NULL, g_FieldOffsetTable2179, g_FieldOffsetTable2180, g_FieldOffsetTable2181, NULL, g_FieldOffsetTable2183, g_FieldOffsetTable2184, g_FieldOffsetTable2185, g_FieldOffsetTable2186, g_FieldOffsetTable2187, g_FieldOffsetTable2188, g_FieldOffsetTable2189, g_FieldOffsetTable2190, g_FieldOffsetTable2191, g_FieldOffsetTable2192, g_FieldOffsetTable2193, g_FieldOffsetTable2194, g_FieldOffsetTable2195, NULL, g_FieldOffsetTable2197, g_FieldOffsetTable2198, g_FieldOffsetTable2199, NULL, NULL, g_FieldOffsetTable2202, g_FieldOffsetTable2203, NULL, NULL, g_FieldOffsetTable2206, g_FieldOffsetTable2207, g_FieldOffsetTable2208, NULL, NULL, g_FieldOffsetTable2211, g_FieldOffsetTable2212, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize0; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize4; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize5; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize6; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize7; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize8; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize9; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize10; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize11; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize12; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize13; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize14; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize15; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize16; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize17; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize18; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize19; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize20; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize21; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize22; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize23; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize24; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize25; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize26; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize27; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize28; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize29; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize30; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize31; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize32; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize33; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize34; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize35; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize36; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize37; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize38; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize39; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize40; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize41; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize42; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize43; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize44; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize45; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize46; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize47; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize48; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize49; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize50; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize51; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize52; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize53; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize54; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize55; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize56; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize57; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize58; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize59; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize60; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize61; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize62; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize63; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize64; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize65; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize66; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize67; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize68; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize69; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize70; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize71; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize72; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize73; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize74; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize75; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize76; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize77; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize78; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize79; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize80; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize81; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize82; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize83; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize84; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize85; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize86; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize87; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize88; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize89; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize90; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize91; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize92; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize93; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize94; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize95; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize96; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize97; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize98; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize99; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize100; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize101; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize102; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize103; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize104; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize105; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize106; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize107; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize108; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize109; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize110; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize111; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize112; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize113; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize114; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize115; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize116; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize117; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize118; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize119; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize120; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize121; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize122; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize123; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize124; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize125; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize126; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize127; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize128; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize129; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize130; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize131; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize132; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize133; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize134; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize135; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize136; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize137; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize138; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize139; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize140; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize141; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize142; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize143; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize144; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize145; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize146; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize147; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize148; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize149; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize150; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize151; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize152; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize153; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize154; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize155; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize156; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize157; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize158; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize159; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize160; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize161; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize162; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize163; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize164; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize165; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize166; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize167; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize168; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize169; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize170; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize171; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize172; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize173; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize174; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize175; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize176; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize177; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize178; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize179; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize180; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize181; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize182; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize183; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize184; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize185; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize186; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize187; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize188; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize189; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize190; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize191; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize192; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize193; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize194; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize195; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize196; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize197; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize198; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize199; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize200; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize201; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize202; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize203; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize204; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize205; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize206; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize207; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize208; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize209; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize210; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize211; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize212; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize213; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize214; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize215; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize216; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize217; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize218; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize219; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize220; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize221; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize222; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize223; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize224; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize225; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize226; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize227; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize228; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize229; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize230; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize231; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize232; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize233; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize234; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize235; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize236; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize237; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize238; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize239; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize240; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize241; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize242; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize243; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize244; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize245; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize246; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize247; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize248; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize249; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize250; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize251; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize252; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize253; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize254; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize255; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize256; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize257; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize258; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize259; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize260; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize261; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize262; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize263; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize264; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize265; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize266; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize267; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize268; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize269; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize270; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize271; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize272; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize273; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize274; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize275; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize276; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize277; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize278; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize279; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize280; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize281; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize282; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize283; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize284; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize285; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize286; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize287; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize288; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize289; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize290; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize291; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize292; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize293; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize294; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize295; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize296; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize297; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize298; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize299; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize300; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize301; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize302; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize303; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize304; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize305; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize306; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize307; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize308; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize309; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize310; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize311; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize312; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize313; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize314; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize315; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize316; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize317; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize318; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize319; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize320; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize321; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize322; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize323; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize324; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize325; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize326; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize327; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize328; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize329; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize330; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize331; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize332; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize333; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize334; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize335; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize336; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize337; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize338; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize339; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize340; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize341; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize342; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize343; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize344; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize345; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize346; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize347; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize348; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize349; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize350; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize351; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize352; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize353; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize354; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize355; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize356; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize357; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize358; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize359; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize360; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize361; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize362; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize363; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize364; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize365; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize366; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize367; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize368; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize369; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize370; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize371; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize372; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize373; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize374; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize375; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize376; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize377; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize378; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize379; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize380; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize381; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize382; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize383; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize384; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize385; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize386; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize387; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize388; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize389; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize390; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize391; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize392; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize393; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize394; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize395; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize396; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize397; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize398; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize399; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize400; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize401; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize402; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize403; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize404; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize405; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize406; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize407; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize408; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize409; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize410; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize411; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize412; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize413; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize414; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize415; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize416; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize417; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize418; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize419; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize420; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize421; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize422; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize423; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize424; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize425; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize426; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize427; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize428; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize429; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize430; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize431; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize432; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize433; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize434; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize435; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize436; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize437; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize438; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize439; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize440; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize441; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize442; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize443; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize444; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize445; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize446; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize447; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize448; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize449; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize450; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize451; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize452; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize453; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize454; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize455; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize456; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize457; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize458; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize459; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize460; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize461; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize462; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize463; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize464; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize465; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize466; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize467; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize468; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize469; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize470; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize471; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize472; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize473; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize474; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize475; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize476; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize477; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize478; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize479; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize480; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize481; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize482; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize483; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize484; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize485; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize486; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize487; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize488; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize489; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize490; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize491; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize492; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize493; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize494; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize495; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize496; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize497; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize498; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize499; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize500; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize501; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize502; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize503; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize504; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize505; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize506; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize507; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize508; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize509; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize510; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize511; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize512; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize513; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize514; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize515; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize516; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize517; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize518; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize519; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize520; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize521; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize522; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize523; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize524; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize525; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize526; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize527; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize528; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize529; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize530; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize531; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize532; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize533; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize534; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize535; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize536; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize537; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize538; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize539; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize540; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize541; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize542; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize543; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize544; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize545; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize546; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize547; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize548; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize549; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize550; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize551; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize552; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize553; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize554; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize555; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize556; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize557; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize558; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize559; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize560; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize561; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize562; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize563; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize564; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize565; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize566; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize567; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize568; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize569; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize570; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize571; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize572; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize573; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize574; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize575; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize576; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize577; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize578; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize579; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize580; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize581; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize582; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize583; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize584; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize585; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize586; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize587; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize588; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize589; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize590; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize591; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize592; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize593; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize594; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize595; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize596; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize597; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize598; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize599; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize600; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize601; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize602; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize603; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize604; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize605; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize606; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize607; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize608; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize609; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize610; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize611; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize612; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize613; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize614; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize615; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize616; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize617; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize618; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize619; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize620; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize621; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize622; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize623; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize624; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize625; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize626; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize627; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize628; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize629; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize630; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize631; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize632; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize633; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize634; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize635; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize636; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize637; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize638; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize639; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize640; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize641; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize642; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize643; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize644; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize645; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize646; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize647; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize648; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize649; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize650; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize651; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize652; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize653; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize654; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize655; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize656; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize657; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize658; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize659; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize660; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize661; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize662; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize663; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize664; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize665; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize666; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize667; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize668; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize669; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize670; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize671; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize672; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize673; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize674; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize675; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize676; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize677; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize678; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize679; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize680; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize681; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize682; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize683; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize684; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize685; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize686; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize687; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize688; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize689; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize690; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize691; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize692; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize693; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize694; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize695; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize696; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize697; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize698; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize699; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize700; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize701; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize702; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize703; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize704; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize705; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize706; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize707; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize708; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize709; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize710; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize711; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize712; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize713; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize714; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize715; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize716; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize717; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize718; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize719; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize720; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize721; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize722; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize723; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize724; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize725; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize726; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize727; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize728; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize729; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize730; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize731; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize732; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize733; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize734; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize735; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize736; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize737; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize738; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize739; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize740; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize741; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize742; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize743; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize744; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize745; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize746; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize747; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize748; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize749; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize750; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize751; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize752; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize753; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize754; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize755; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize756; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize757; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize758; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize759; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize760; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize761; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize762; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize763; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize764; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize765; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize766; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize767; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize768; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize769; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize770; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize771; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize772; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize773; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize774; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize775; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize776; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize777; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize778; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize779; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize780; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize781; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize782; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize783; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize784; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize785; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize786; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize787; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize788; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize789; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize790; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize791; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize792; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize793; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize794; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize795; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize796; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize797; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize798; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize799; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize800; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize801; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize802; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize803; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize804; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize805; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize806; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize807; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize808; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize809; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize810; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize811; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize812; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize813; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize814; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize815; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize816; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize817; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize818; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize819; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize820; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize821; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize822; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize823; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize824; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize825; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize826; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize827; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize828; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize829; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize830; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize831; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize832; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize833; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize834; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize835; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize836; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize837; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize838; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize839; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize840; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize841; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize842; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize843; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize844; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize845; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize846; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize847; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize848; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize849; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize850; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize851; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize852; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize853; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize854; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize855; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize856; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize857; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize858; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize859; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize860; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize861; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize862; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize863; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize864; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize865; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize866; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize867; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize868; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize869; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize870; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize871; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize872; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize873; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize874; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize875; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize876; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize877; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize878; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize879; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize880; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize881; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize882; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize883; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize884; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize885; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize886; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize887; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize888; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize889; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize890; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize891; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize892; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize893; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize894; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize895; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize896; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize897; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize898; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize899; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize900; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize901; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize902; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize903; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize904; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize905; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize906; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize907; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize908; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize909; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize910; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize911; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize912; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize913; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize914; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize915; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize916; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize917; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize918; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize919; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize920; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize921; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize922; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize923; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize924; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize925; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize926; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize927; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize928; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize929; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize930; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize931; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize932; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize933; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize934; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize935; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize936; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize937; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize938; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize939; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize940; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize941; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize942; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize943; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize944; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize945; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize946; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize947; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize948; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize949; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize950; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize951; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize952; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize953; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize954; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize955; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize956; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize957; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize958; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize959; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize960; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize961; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize962; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize963; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize964; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize965; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize966; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize967; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize968; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize969; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize970; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize971; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize972; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize973; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize974; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize975; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize976; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize977; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize978; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize979; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize980; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize981; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize982; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize983; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize984; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize985; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize986; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize987; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize988; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize989; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize990; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize991; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize992; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize993; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize994; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize995; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize996; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize997; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize998; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize999; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1000; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1001; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1002; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1003; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1004; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1005; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1006; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1007; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1008; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1009; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1010; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1011; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1012; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1013; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1014; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1015; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1016; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1017; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1018; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1019; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1020; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1021; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1022; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1023; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1024; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1025; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1026; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1027; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1028; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1029; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1030; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1031; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1032; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1033; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1034; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1035; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1036; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1037; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1038; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1039; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1040; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1041; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1042; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1043; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1044; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1045; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1046; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1047; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1048; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1049; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1050; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1051; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1052; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1053; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1054; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1055; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1056; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1057; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1058; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1059; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1060; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1061; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1062; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1063; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1064; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1065; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1066; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1067; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1068; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1069; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1070; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1071; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1072; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1073; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1074; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1075; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1076; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1077; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1078; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1079; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1080; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1081; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1082; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1083; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1084; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1085; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1086; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1087; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1088; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1089; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1090; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1091; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1092; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1093; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1094; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1095; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1096; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1097; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1098; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1099; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1100; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1101; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1102; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1103; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1104; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1105; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1106; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1107; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1108; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1109; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1110; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1111; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1112; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1113; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1114; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1115; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1116; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1117; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1118; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1119; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1120; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1121; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1122; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1123; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1124; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1125; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1126; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1127; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1128; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1129; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1130; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1131; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1132; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1133; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1134; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1135; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1136; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1137; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1138; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1139; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1140; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1141; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1142; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1143; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1144; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1145; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1146; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1147; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1148; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1149; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1150; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1151; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1152; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1153; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1154; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1155; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1156; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1157; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1158; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1159; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1160; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1161; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1162; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1163; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1164; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1165; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1166; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1167; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1168; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1169; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1170; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1171; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1172; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1173; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1174; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1175; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1176; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1177; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1178; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1179; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1180; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1181; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1182; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1183; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1184; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1185; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1186; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1187; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1188; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1189; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1190; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1191; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1192; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1193; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1194; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1195; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1196; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1197; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1198; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1199; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1200; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1201; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1202; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1203; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1204; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1205; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1206; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1207; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1208; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1209; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1210; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1211; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1212; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1213; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1214; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1215; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1216; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1217; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1218; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1219; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1220; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1221; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1222; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1223; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1224; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1225; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1226; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1227; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1228; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1229; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1230; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1231; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1232; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1233; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1234; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1235; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1236; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1237; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1238; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1239; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1240; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1241; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1242; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1243; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1244; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1245; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1246; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1247; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1248; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1249; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1250; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1251; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1252; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1253; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1254; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1255; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1256; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1257; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1258; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1259; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1260; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1261; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1262; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1263; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1264; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1265; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1266; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1267; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1268; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1269; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1270; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1271; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1272; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1273; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1274; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1275; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1276; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1277; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1278; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1279; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1280; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1281; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1282; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1283; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1284; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1285; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1286; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1287; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1288; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1289; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1290; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1291; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1292; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1293; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1294; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1295; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1296; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1297; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1298; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1299; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1300; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1301; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1302; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1303; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1304; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1305; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1306; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1307; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1308; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1309; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1310; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1311; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1312; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1313; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1314; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1315; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1316; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1317; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1318; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1319; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1320; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1321; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1322; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1323; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1324; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1325; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1326; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1327; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1328; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1329; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1330; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1331; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1332; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1333; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1334; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1335; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1336; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1337; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1338; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1339; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1340; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1341; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1342; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1343; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1344; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1345; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1346; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1347; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1348; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1349; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1350; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1351; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1352; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1353; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1354; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1355; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1356; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1357; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1358; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1359; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1360; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1361; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1362; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1363; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1364; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1365; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1366; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1367; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1368; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1369; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1370; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1371; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1372; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1373; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1374; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1375; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1376; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1377; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1378; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1379; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1380; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1381; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1382; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1383; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1384; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1385; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1386; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1387; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1388; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1389; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1390; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1391; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1392; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1393; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1394; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1395; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1396; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1397; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1398; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1399; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1400; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1401; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1402; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1403; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1404; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1405; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1406; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1407; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1408; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1409; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1410; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1411; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1412; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1413; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1414; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1415; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1416; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1417; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1418; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1419; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1420; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1421; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1422; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1423; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1424; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1425; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1426; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1427; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1428; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1429; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1430; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1431; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1432; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1433; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1434; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1435; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1436; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1437; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1438; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1439; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1440; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1441; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1442; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1443; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1444; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1445; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1446; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1447; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1448; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1449; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1450; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1451; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1452; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1453; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1454; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1455; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1456; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1457; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1458; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1459; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1460; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1461; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1462; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1463; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1464; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1465; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1466; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1467; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1468; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1469; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1470; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1471; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1472; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1473; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1474; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1475; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1476; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1477; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1478; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1479; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1480; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1481; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1482; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1483; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1484; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1485; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1486; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1487; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1488; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1489; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1490; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1491; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1492; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1493; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1494; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1495; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1496; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1497; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1498; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1499; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1500; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1501; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1502; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1503; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1504; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1505; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1506; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1507; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1508; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1509; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1510; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1511; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1512; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1513; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1514; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1515; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1516; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1517; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1518; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1519; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1520; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1521; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1522; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1523; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1524; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1525; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1526; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1527; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1528; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1529; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1530; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1531; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1532; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1533; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1534; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1535; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1536; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1537; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1538; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1539; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1540; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1541; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1542; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1543; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1544; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1545; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1546; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1547; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1548; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1549; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1550; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1551; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1552; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1553; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1554; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1555; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1556; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1557; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1558; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1559; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1560; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1561; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1562; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1563; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1564; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1565; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1566; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1567; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1568; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1569; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1570; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1571; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1572; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1573; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1574; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1575; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1576; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1577; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1578; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1579; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1580; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1581; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1582; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1583; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1584; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1585; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1586; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1587; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1588; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1589; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1590; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1591; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1592; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1593; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1594; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1595; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1596; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1597; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1598; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1599; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1600; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1601; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1602; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1603; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1604; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1605; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1606; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1607; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1608; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1609; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1610; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1611; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1612; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1613; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1614; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1615; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1616; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1617; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1618; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1619; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1620; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1621; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1622; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1623; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1624; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1625; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1626; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1627; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1628; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1629; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1630; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1631; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1632; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1633; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1634; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1635; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1636; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1637; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1638; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1639; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1640; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1641; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1642; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1643; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1644; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1645; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1646; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1647; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1648; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1649; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1650; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1651; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1652; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1653; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1654; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1655; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1656; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1657; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1658; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1659; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1660; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1661; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1662; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1663; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1664; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1665; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1666; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1667; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1668; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1669; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1670; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1671; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1672; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1673; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1674; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1675; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1676; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1677; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1678; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1679; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1680; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1681; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1682; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1683; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1684; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1685; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1686; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1687; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1688; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1689; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1690; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1691; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1692; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1693; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1694; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1695; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1696; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1697; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1698; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1699; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1700; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1701; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1702; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1703; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1704; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1705; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1706; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1707; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1708; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1709; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1710; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1711; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1712; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1713; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1714; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1715; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1716; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1717; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1718; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1719; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1720; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1721; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1722; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1723; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1724; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1725; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1726; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1727; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1728; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1729; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1730; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1731; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1732; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1733; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1734; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1735; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1736; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1737; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1738; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1739; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1740; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1741; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1742; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1743; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1744; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1745; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1746; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1747; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1748; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1749; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1750; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1751; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1752; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1753; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1754; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1755; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1756; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1757; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1758; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1759; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1760; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1761; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1762; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1763; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1764; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1765; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1766; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1767; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1768; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1769; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1770; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1771; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1772; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1773; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1774; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1775; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1776; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1777; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1778; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1779; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1780; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1781; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1782; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1783; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1784; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1785; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1786; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1787; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1788; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1789; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1790; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1791; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1792; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1793; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1794; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1795; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1796; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1797; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1798; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1799; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1800; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1801; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1802; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1803; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1804; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1805; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1806; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1807; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1808; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1809; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1810; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1811; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1812; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1813; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1814; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1815; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1816; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1817; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1818; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1819; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1820; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1821; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1822; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1823; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1824; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1825; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1826; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1827; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1828; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1829; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1830; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1831; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1832; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1833; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1834; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1835; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1836; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1837; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1838; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1839; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1840; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1841; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1842; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1843; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1844; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1845; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1846; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1847; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1848; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1849; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1850; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1851; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1852; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1853; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1854; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1855; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1856; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1857; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1858; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1859; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1860; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1861; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1862; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1863; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1864; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1865; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1866; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1867; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1868; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1869; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1870; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1871; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1872; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1873; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1874; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1875; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1876; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1877; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1878; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1879; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1880; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1881; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1882; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1883; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1884; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1885; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1886; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1887; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1888; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1889; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1890; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1891; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1892; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1893; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1894; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1895; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1896; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1897; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1898; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1899; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1900; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1901; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1902; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1903; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1904; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1905; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1906; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1907; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1908; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1909; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1910; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1911; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1912; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1913; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1914; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1915; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1916; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1917; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1918; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1919; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1920; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1921; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1922; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1923; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1924; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1925; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1926; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1927; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1928; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1929; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1930; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1931; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1932; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1933; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1934; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1935; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1936; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1937; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1938; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1939; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1940; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1941; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1942; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1943; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1944; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1945; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1946; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1947; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1948; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1949; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1950; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1951; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1952; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1953; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1954; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1955; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1956; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1957; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1958; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1959; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1960; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1961; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1962; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1963; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1964; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1965; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1966; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1967; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1968; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1969; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1970; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1971; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1972; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1973; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1974; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1975; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1976; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1977; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1978; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1979; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1980; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1981; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1982; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1983; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1984; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1985; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1986; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1987; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1988; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1989; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1990; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1991; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1992; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1993; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1994; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1995; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1996; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1997; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1998; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1999; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2000; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2001; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2002; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2003; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2004; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2005; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2006; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2007; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2008; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2009; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2010; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2011; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2012; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2013; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2014; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2015; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2016; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2017; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2018; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2019; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2020; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2021; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2022; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2023; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2024; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2025; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2026; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2027; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2028; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2029; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2030; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2031; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2032; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2033; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2034; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2035; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2036; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2037; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2038; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2039; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2040; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2041; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2042; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2043; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2044; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2045; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2046; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2047; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2048; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2049; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2050; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2051; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2052; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2053; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2054; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2055; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2056; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2057; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2058; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2059; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2060; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2061; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2062; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2063; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2064; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2065; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2066; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2067; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2068; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2069; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2070; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2071; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2072; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2073; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2074; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2075; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2076; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2077; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2078; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2079; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2080; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2081; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2082; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2083; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2084; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2085; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2086; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2087; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2088; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2089; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2090; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2091; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2092; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2093; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2094; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2095; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2096; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2097; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2098; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2099; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2100; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2101; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2102; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2103; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2104; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2105; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2106; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2107; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2108; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2109; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2110; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2111; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2112; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2113; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2114; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2115; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2116; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2117; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2118; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2119; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2120; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2121; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2122; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2123; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2124; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2125; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2126; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2127; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2128; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2129; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2130; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2131; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2132; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2133; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2134; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2135; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2136; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2137; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2138; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2139; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2140; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2141; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2142; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2143; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2144; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2145; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2146; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2147; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2148; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2149; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2150; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2151; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2152; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2153; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2154; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2155; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2156; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2157; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2158; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2159; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2160; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2161; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2162; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2163; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2164; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2165; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2166; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2167; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2168; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2169; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2170; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2171; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2172; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2173; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2174; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2175; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2176; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2177; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2178; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2179; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2180; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2181; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2182; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2183; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2184; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2185; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2186; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2187; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2188; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2189; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2190; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2191; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2192; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2193; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2194; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2195; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2196; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2197; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2198; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2199; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2200; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2201; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2202; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2203; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2204; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2205; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2206; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2207; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2208; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2209; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2210; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2211; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize2212; IL2CPP_EXTERN_C_CONST Il2CppTypeDefinitionSizes* g_Il2CppTypeDefinitionSizesTable[2213] = { (&g_typeDefinitionSize0), (&g_typeDefinitionSize1), (&g_typeDefinitionSize2), (&g_typeDefinitionSize3), (&g_typeDefinitionSize4), (&g_typeDefinitionSize5), (&g_typeDefinitionSize6), (&g_typeDefinitionSize7), (&g_typeDefinitionSize8), (&g_typeDefinitionSize9), (&g_typeDefinitionSize10), (&g_typeDefinitionSize11), (&g_typeDefinitionSize12), (&g_typeDefinitionSize13), (&g_typeDefinitionSize14), (&g_typeDefinitionSize15), (&g_typeDefinitionSize16), (&g_typeDefinitionSize17), (&g_typeDefinitionSize18), (&g_typeDefinitionSize19), (&g_typeDefinitionSize20), (&g_typeDefinitionSize21), (&g_typeDefinitionSize22), (&g_typeDefinitionSize23), (&g_typeDefinitionSize24), (&g_typeDefinitionSize25), (&g_typeDefinitionSize26), (&g_typeDefinitionSize27), (&g_typeDefinitionSize28), (&g_typeDefinitionSize29), (&g_typeDefinitionSize30), (&g_typeDefinitionSize31), (&g_typeDefinitionSize32), (&g_typeDefinitionSize33), (&g_typeDefinitionSize34), (&g_typeDefinitionSize35), (&g_typeDefinitionSize36), (&g_typeDefinitionSize37), (&g_typeDefinitionSize38), (&g_typeDefinitionSize39), (&g_typeDefinitionSize40), (&g_typeDefinitionSize41), (&g_typeDefinitionSize42), (&g_typeDefinitionSize43), (&g_typeDefinitionSize44), (&g_typeDefinitionSize45), (&g_typeDefinitionSize46), (&g_typeDefinitionSize47), (&g_typeDefinitionSize48), (&g_typeDefinitionSize49), (&g_typeDefinitionSize50), (&g_typeDefinitionSize51), (&g_typeDefinitionSize52), (&g_typeDefinitionSize53), (&g_typeDefinitionSize54), (&g_typeDefinitionSize55), (&g_typeDefinitionSize56), (&g_typeDefinitionSize57), (&g_typeDefinitionSize58), (&g_typeDefinitionSize59), (&g_typeDefinitionSize60), (&g_typeDefinitionSize61), (&g_typeDefinitionSize62), (&g_typeDefinitionSize63), (&g_typeDefinitionSize64), (&g_typeDefinitionSize65), (&g_typeDefinitionSize66), (&g_typeDefinitionSize67), (&g_typeDefinitionSize68), (&g_typeDefinitionSize69), (&g_typeDefinitionSize70), (&g_typeDefinitionSize71), (&g_typeDefinitionSize72), (&g_typeDefinitionSize73), (&g_typeDefinitionSize74), (&g_typeDefinitionSize75), (&g_typeDefinitionSize76), (&g_typeDefinitionSize77), (&g_typeDefinitionSize78), (&g_typeDefinitionSize79), (&g_typeDefinitionSize80), (&g_typeDefinitionSize81), (&g_typeDefinitionSize82), (&g_typeDefinitionSize83), (&g_typeDefinitionSize84), (&g_typeDefinitionSize85), (&g_typeDefinitionSize86), (&g_typeDefinitionSize87), (&g_typeDefinitionSize88), (&g_typeDefinitionSize89), (&g_typeDefinitionSize90), (&g_typeDefinitionSize91), (&g_typeDefinitionSize92), (&g_typeDefinitionSize93), (&g_typeDefinitionSize94), (&g_typeDefinitionSize95), (&g_typeDefinitionSize96), (&g_typeDefinitionSize97), (&g_typeDefinitionSize98), (&g_typeDefinitionSize99), (&g_typeDefinitionSize100), (&g_typeDefinitionSize101), (&g_typeDefinitionSize102), (&g_typeDefinitionSize103), (&g_typeDefinitionSize104), (&g_typeDefinitionSize105), (&g_typeDefinitionSize106), (&g_typeDefinitionSize107), (&g_typeDefinitionSize108), (&g_typeDefinitionSize109), (&g_typeDefinitionSize110), (&g_typeDefinitionSize111), (&g_typeDefinitionSize112), (&g_typeDefinitionSize113), (&g_typeDefinitionSize114), (&g_typeDefinitionSize115), (&g_typeDefinitionSize116), (&g_typeDefinitionSize117), (&g_typeDefinitionSize118), (&g_typeDefinitionSize119), (&g_typeDefinitionSize120), (&g_typeDefinitionSize121), (&g_typeDefinitionSize122), (&g_typeDefinitionSize123), (&g_typeDefinitionSize124), (&g_typeDefinitionSize125), (&g_typeDefinitionSize126), (&g_typeDefinitionSize127), (&g_typeDefinitionSize128), (&g_typeDefinitionSize129), (&g_typeDefinitionSize130), (&g_typeDefinitionSize131), (&g_typeDefinitionSize132), (&g_typeDefinitionSize133), (&g_typeDefinitionSize134), (&g_typeDefinitionSize135), (&g_typeDefinitionSize136), (&g_typeDefinitionSize137), (&g_typeDefinitionSize138), (&g_typeDefinitionSize139), (&g_typeDefinitionSize140), (&g_typeDefinitionSize141), (&g_typeDefinitionSize142), (&g_typeDefinitionSize143), (&g_typeDefinitionSize144), (&g_typeDefinitionSize145), (&g_typeDefinitionSize146), (&g_typeDefinitionSize147), (&g_typeDefinitionSize148), (&g_typeDefinitionSize149), (&g_typeDefinitionSize150), (&g_typeDefinitionSize151), (&g_typeDefinitionSize152), (&g_typeDefinitionSize153), (&g_typeDefinitionSize154), (&g_typeDefinitionSize155), (&g_typeDefinitionSize156), (&g_typeDefinitionSize157), (&g_typeDefinitionSize158), (&g_typeDefinitionSize159), (&g_typeDefinitionSize160), (&g_typeDefinitionSize161), (&g_typeDefinitionSize162), (&g_typeDefinitionSize163), (&g_typeDefinitionSize164), (&g_typeDefinitionSize165), (&g_typeDefinitionSize166), (&g_typeDefinitionSize167), (&g_typeDefinitionSize168), (&g_typeDefinitionSize169), (&g_typeDefinitionSize170), (&g_typeDefinitionSize171), (&g_typeDefinitionSize172), (&g_typeDefinitionSize173), (&g_typeDefinitionSize174), (&g_typeDefinitionSize175), (&g_typeDefinitionSize176), (&g_typeDefinitionSize177), (&g_typeDefinitionSize178), (&g_typeDefinitionSize179), (&g_typeDefinitionSize180), (&g_typeDefinitionSize181), (&g_typeDefinitionSize182), (&g_typeDefinitionSize183), (&g_typeDefinitionSize184), (&g_typeDefinitionSize185), (&g_typeDefinitionSize186), (&g_typeDefinitionSize187), (&g_typeDefinitionSize188), (&g_typeDefinitionSize189), (&g_typeDefinitionSize190), (&g_typeDefinitionSize191), (&g_typeDefinitionSize192), (&g_typeDefinitionSize193), (&g_typeDefinitionSize194), (&g_typeDefinitionSize195), (&g_typeDefinitionSize196), (&g_typeDefinitionSize197), (&g_typeDefinitionSize198), (&g_typeDefinitionSize199), (&g_typeDefinitionSize200), (&g_typeDefinitionSize201), (&g_typeDefinitionSize202), (&g_typeDefinitionSize203), (&g_typeDefinitionSize204), (&g_typeDefinitionSize205), (&g_typeDefinitionSize206), (&g_typeDefinitionSize207), (&g_typeDefinitionSize208), (&g_typeDefinitionSize209), (&g_typeDefinitionSize210), (&g_typeDefinitionSize211), (&g_typeDefinitionSize212), (&g_typeDefinitionSize213), (&g_typeDefinitionSize214), (&g_typeDefinitionSize215), (&g_typeDefinitionSize216), (&g_typeDefinitionSize217), (&g_typeDefinitionSize218), (&g_typeDefinitionSize219), (&g_typeDefinitionSize220), (&g_typeDefinitionSize221), (&g_typeDefinitionSize222), (&g_typeDefinitionSize223), (&g_typeDefinitionSize224), (&g_typeDefinitionSize225), (&g_typeDefinitionSize226), (&g_typeDefinitionSize227), (&g_typeDefinitionSize228), (&g_typeDefinitionSize229), (&g_typeDefinitionSize230), (&g_typeDefinitionSize231), (&g_typeDefinitionSize232), (&g_typeDefinitionSize233), (&g_typeDefinitionSize234), (&g_typeDefinitionSize235), (&g_typeDefinitionSize236), (&g_typeDefinitionSize237), (&g_typeDefinitionSize238), (&g_typeDefinitionSize239), (&g_typeDefinitionSize240), (&g_typeDefinitionSize241), (&g_typeDefinitionSize242), (&g_typeDefinitionSize243), (&g_typeDefinitionSize244), (&g_typeDefinitionSize245), (&g_typeDefinitionSize246), (&g_typeDefinitionSize247), (&g_typeDefinitionSize248), (&g_typeDefinitionSize249), (&g_typeDefinitionSize250), (&g_typeDefinitionSize251), (&g_typeDefinitionSize252), (&g_typeDefinitionSize253), (&g_typeDefinitionSize254), (&g_typeDefinitionSize255), (&g_typeDefinitionSize256), (&g_typeDefinitionSize257), (&g_typeDefinitionSize258), (&g_typeDefinitionSize259), (&g_typeDefinitionSize260), (&g_typeDefinitionSize261), (&g_typeDefinitionSize262), (&g_typeDefinitionSize263), (&g_typeDefinitionSize264), (&g_typeDefinitionSize265), (&g_typeDefinitionSize266), (&g_typeDefinitionSize267), (&g_typeDefinitionSize268), (&g_typeDefinitionSize269), (&g_typeDefinitionSize270), (&g_typeDefinitionSize271), (&g_typeDefinitionSize272), (&g_typeDefinitionSize273), (&g_typeDefinitionSize274), (&g_typeDefinitionSize275), (&g_typeDefinitionSize276), (&g_typeDefinitionSize277), (&g_typeDefinitionSize278), (&g_typeDefinitionSize279), (&g_typeDefinitionSize280), (&g_typeDefinitionSize281), (&g_typeDefinitionSize282), (&g_typeDefinitionSize283), (&g_typeDefinitionSize284), (&g_typeDefinitionSize285), (&g_typeDefinitionSize286), (&g_typeDefinitionSize287), (&g_typeDefinitionSize288), (&g_typeDefinitionSize289), (&g_typeDefinitionSize290), (&g_typeDefinitionSize291), (&g_typeDefinitionSize292), (&g_typeDefinitionSize293), (&g_typeDefinitionSize294), (&g_typeDefinitionSize295), (&g_typeDefinitionSize296), (&g_typeDefinitionSize297), (&g_typeDefinitionSize298), (&g_typeDefinitionSize299), (&g_typeDefinitionSize300), (&g_typeDefinitionSize301), (&g_typeDefinitionSize302), (&g_typeDefinitionSize303), (&g_typeDefinitionSize304), (&g_typeDefinitionSize305), (&g_typeDefinitionSize306), (&g_typeDefinitionSize307), (&g_typeDefinitionSize308), (&g_typeDefinitionSize309), (&g_typeDefinitionSize310), (&g_typeDefinitionSize311), (&g_typeDefinitionSize312), (&g_typeDefinitionSize313), (&g_typeDefinitionSize314), (&g_typeDefinitionSize315), (&g_typeDefinitionSize316), (&g_typeDefinitionSize317), (&g_typeDefinitionSize318), (&g_typeDefinitionSize319), (&g_typeDefinitionSize320), (&g_typeDefinitionSize321), (&g_typeDefinitionSize322), (&g_typeDefinitionSize323), (&g_typeDefinitionSize324), (&g_typeDefinitionSize325), (&g_typeDefinitionSize326), (&g_typeDefinitionSize327), (&g_typeDefinitionSize328), (&g_typeDefinitionSize329), (&g_typeDefinitionSize330), (&g_typeDefinitionSize331), (&g_typeDefinitionSize332), (&g_typeDefinitionSize333), (&g_typeDefinitionSize334), (&g_typeDefinitionSize335), (&g_typeDefinitionSize336), (&g_typeDefinitionSize337), (&g_typeDefinitionSize338), (&g_typeDefinitionSize339), (&g_typeDefinitionSize340), (&g_typeDefinitionSize341), (&g_typeDefinitionSize342), (&g_typeDefinitionSize343), (&g_typeDefinitionSize344), (&g_typeDefinitionSize345), (&g_typeDefinitionSize346), (&g_typeDefinitionSize347), (&g_typeDefinitionSize348), (&g_typeDefinitionSize349), (&g_typeDefinitionSize350), (&g_typeDefinitionSize351), (&g_typeDefinitionSize352), (&g_typeDefinitionSize353), (&g_typeDefinitionSize354), (&g_typeDefinitionSize355), (&g_typeDefinitionSize356), (&g_typeDefinitionSize357), (&g_typeDefinitionSize358), (&g_typeDefinitionSize359), (&g_typeDefinitionSize360), (&g_typeDefinitionSize361), (&g_typeDefinitionSize362), (&g_typeDefinitionSize363), (&g_typeDefinitionSize364), (&g_typeDefinitionSize365), (&g_typeDefinitionSize366), (&g_typeDefinitionSize367), (&g_typeDefinitionSize368), (&g_typeDefinitionSize369), (&g_typeDefinitionSize370), (&g_typeDefinitionSize371), (&g_typeDefinitionSize372), (&g_typeDefinitionSize373), (&g_typeDefinitionSize374), (&g_typeDefinitionSize375), (&g_typeDefinitionSize376), (&g_typeDefinitionSize377), (&g_typeDefinitionSize378), (&g_typeDefinitionSize379), (&g_typeDefinitionSize380), (&g_typeDefinitionSize381), (&g_typeDefinitionSize382), (&g_typeDefinitionSize383), (&g_typeDefinitionSize384), (&g_typeDefinitionSize385), (&g_typeDefinitionSize386), (&g_typeDefinitionSize387), (&g_typeDefinitionSize388), (&g_typeDefinitionSize389), (&g_typeDefinitionSize390), (&g_typeDefinitionSize391), (&g_typeDefinitionSize392), (&g_typeDefinitionSize393), (&g_typeDefinitionSize394), (&g_typeDefinitionSize395), (&g_typeDefinitionSize396), (&g_typeDefinitionSize397), (&g_typeDefinitionSize398), (&g_typeDefinitionSize399), (&g_typeDefinitionSize400), (&g_typeDefinitionSize401), (&g_typeDefinitionSize402), (&g_typeDefinitionSize403), (&g_typeDefinitionSize404), (&g_typeDefinitionSize405), (&g_typeDefinitionSize406), (&g_typeDefinitionSize407), (&g_typeDefinitionSize408), (&g_typeDefinitionSize409), (&g_typeDefinitionSize410), (&g_typeDefinitionSize411), (&g_typeDefinitionSize412), (&g_typeDefinitionSize413), (&g_typeDefinitionSize414), (&g_typeDefinitionSize415), (&g_typeDefinitionSize416), (&g_typeDefinitionSize417), (&g_typeDefinitionSize418), (&g_typeDefinitionSize419), (&g_typeDefinitionSize420), (&g_typeDefinitionSize421), (&g_typeDefinitionSize422), (&g_typeDefinitionSize423), (&g_typeDefinitionSize424), (&g_typeDefinitionSize425), (&g_typeDefinitionSize426), (&g_typeDefinitionSize427), (&g_typeDefinitionSize428), (&g_typeDefinitionSize429), (&g_typeDefinitionSize430), (&g_typeDefinitionSize431), (&g_typeDefinitionSize432), (&g_typeDefinitionSize433), (&g_typeDefinitionSize434), (&g_typeDefinitionSize435), (&g_typeDefinitionSize436), (&g_typeDefinitionSize437), (&g_typeDefinitionSize438), (&g_typeDefinitionSize439), (&g_typeDefinitionSize440), (&g_typeDefinitionSize441), (&g_typeDefinitionSize442), (&g_typeDefinitionSize443), (&g_typeDefinitionSize444), (&g_typeDefinitionSize445), (&g_typeDefinitionSize446), (&g_typeDefinitionSize447), (&g_typeDefinitionSize448), (&g_typeDefinitionSize449), (&g_typeDefinitionSize450), (&g_typeDefinitionSize451), (&g_typeDefinitionSize452), (&g_typeDefinitionSize453), (&g_typeDefinitionSize454), (&g_typeDefinitionSize455), (&g_typeDefinitionSize456), (&g_typeDefinitionSize457), (&g_typeDefinitionSize458), (&g_typeDefinitionSize459), (&g_typeDefinitionSize460), (&g_typeDefinitionSize461), (&g_typeDefinitionSize462), (&g_typeDefinitionSize463), (&g_typeDefinitionSize464), (&g_typeDefinitionSize465), (&g_typeDefinitionSize466), (&g_typeDefinitionSize467), (&g_typeDefinitionSize468), (&g_typeDefinitionSize469), (&g_typeDefinitionSize470), (&g_typeDefinitionSize471), (&g_typeDefinitionSize472), (&g_typeDefinitionSize473), (&g_typeDefinitionSize474), (&g_typeDefinitionSize475), (&g_typeDefinitionSize476), (&g_typeDefinitionSize477), (&g_typeDefinitionSize478), (&g_typeDefinitionSize479), (&g_typeDefinitionSize480), (&g_typeDefinitionSize481), (&g_typeDefinitionSize482), (&g_typeDefinitionSize483), (&g_typeDefinitionSize484), (&g_typeDefinitionSize485), (&g_typeDefinitionSize486), (&g_typeDefinitionSize487), (&g_typeDefinitionSize488), (&g_typeDefinitionSize489), (&g_typeDefinitionSize490), (&g_typeDefinitionSize491), (&g_typeDefinitionSize492), (&g_typeDefinitionSize493), (&g_typeDefinitionSize494), (&g_typeDefinitionSize495), (&g_typeDefinitionSize496), (&g_typeDefinitionSize497), (&g_typeDefinitionSize498), (&g_typeDefinitionSize499), (&g_typeDefinitionSize500), (&g_typeDefinitionSize501), (&g_typeDefinitionSize502), (&g_typeDefinitionSize503), (&g_typeDefinitionSize504), (&g_typeDefinitionSize505), (&g_typeDefinitionSize506), (&g_typeDefinitionSize507), (&g_typeDefinitionSize508), (&g_typeDefinitionSize509), (&g_typeDefinitionSize510), (&g_typeDefinitionSize511), (&g_typeDefinitionSize512), (&g_typeDefinitionSize513), (&g_typeDefinitionSize514), (&g_typeDefinitionSize515), (&g_typeDefinitionSize516), (&g_typeDefinitionSize517), (&g_typeDefinitionSize518), (&g_typeDefinitionSize519), (&g_typeDefinitionSize520), (&g_typeDefinitionSize521), (&g_typeDefinitionSize522), (&g_typeDefinitionSize523), (&g_typeDefinitionSize524), (&g_typeDefinitionSize525), (&g_typeDefinitionSize526), (&g_typeDefinitionSize527), (&g_typeDefinitionSize528), (&g_typeDefinitionSize529), (&g_typeDefinitionSize530), (&g_typeDefinitionSize531), (&g_typeDefinitionSize532), (&g_typeDefinitionSize533), (&g_typeDefinitionSize534), (&g_typeDefinitionSize535), (&g_typeDefinitionSize536), (&g_typeDefinitionSize537), (&g_typeDefinitionSize538), (&g_typeDefinitionSize539), (&g_typeDefinitionSize540), (&g_typeDefinitionSize541), (&g_typeDefinitionSize542), (&g_typeDefinitionSize543), (&g_typeDefinitionSize544), (&g_typeDefinitionSize545), (&g_typeDefinitionSize546), (&g_typeDefinitionSize547), (&g_typeDefinitionSize548), (&g_typeDefinitionSize549), (&g_typeDefinitionSize550), (&g_typeDefinitionSize551), (&g_typeDefinitionSize552), (&g_typeDefinitionSize553), (&g_typeDefinitionSize554), (&g_typeDefinitionSize555), (&g_typeDefinitionSize556), (&g_typeDefinitionSize557), (&g_typeDefinitionSize558), (&g_typeDefinitionSize559), (&g_typeDefinitionSize560), (&g_typeDefinitionSize561), (&g_typeDefinitionSize562), (&g_typeDefinitionSize563), (&g_typeDefinitionSize564), (&g_typeDefinitionSize565), (&g_typeDefinitionSize566), (&g_typeDefinitionSize567), (&g_typeDefinitionSize568), (&g_typeDefinitionSize569), (&g_typeDefinitionSize570), (&g_typeDefinitionSize571), (&g_typeDefinitionSize572), (&g_typeDefinitionSize573), (&g_typeDefinitionSize574), (&g_typeDefinitionSize575), (&g_typeDefinitionSize576), (&g_typeDefinitionSize577), (&g_typeDefinitionSize578), (&g_typeDefinitionSize579), (&g_typeDefinitionSize580), (&g_typeDefinitionSize581), (&g_typeDefinitionSize582), (&g_typeDefinitionSize583), (&g_typeDefinitionSize584), (&g_typeDefinitionSize585), (&g_typeDefinitionSize586), (&g_typeDefinitionSize587), (&g_typeDefinitionSize588), (&g_typeDefinitionSize589), (&g_typeDefinitionSize590), (&g_typeDefinitionSize591), (&g_typeDefinitionSize592), (&g_typeDefinitionSize593), (&g_typeDefinitionSize594), (&g_typeDefinitionSize595), (&g_typeDefinitionSize596), (&g_typeDefinitionSize597), (&g_typeDefinitionSize598), (&g_typeDefinitionSize599), (&g_typeDefinitionSize600), (&g_typeDefinitionSize601), (&g_typeDefinitionSize602), (&g_typeDefinitionSize603), (&g_typeDefinitionSize604), (&g_typeDefinitionSize605), (&g_typeDefinitionSize606), (&g_typeDefinitionSize607), (&g_typeDefinitionSize608), (&g_typeDefinitionSize609), (&g_typeDefinitionSize610), (&g_typeDefinitionSize611), (&g_typeDefinitionSize612), (&g_typeDefinitionSize613), (&g_typeDefinitionSize614), (&g_typeDefinitionSize615), (&g_typeDefinitionSize616), (&g_typeDefinitionSize617), (&g_typeDefinitionSize618), (&g_typeDefinitionSize619), (&g_typeDefinitionSize620), (&g_typeDefinitionSize621), (&g_typeDefinitionSize622), (&g_typeDefinitionSize623), (&g_typeDefinitionSize624), (&g_typeDefinitionSize625), (&g_typeDefinitionSize626), (&g_typeDefinitionSize627), (&g_typeDefinitionSize628), (&g_typeDefinitionSize629), (&g_typeDefinitionSize630), (&g_typeDefinitionSize631), (&g_typeDefinitionSize632), (&g_typeDefinitionSize633), (&g_typeDefinitionSize634), (&g_typeDefinitionSize635), (&g_typeDefinitionSize636), (&g_typeDefinitionSize637), (&g_typeDefinitionSize638), (&g_typeDefinitionSize639), (&g_typeDefinitionSize640), (&g_typeDefinitionSize641), (&g_typeDefinitionSize642), (&g_typeDefinitionSize643), (&g_typeDefinitionSize644), (&g_typeDefinitionSize645), (&g_typeDefinitionSize646), (&g_typeDefinitionSize647), (&g_typeDefinitionSize648), (&g_typeDefinitionSize649), (&g_typeDefinitionSize650), (&g_typeDefinitionSize651), (&g_typeDefinitionSize652), (&g_typeDefinitionSize653), (&g_typeDefinitionSize654), (&g_typeDefinitionSize655), (&g_typeDefinitionSize656), (&g_typeDefinitionSize657), (&g_typeDefinitionSize658), (&g_typeDefinitionSize659), (&g_typeDefinitionSize660), (&g_typeDefinitionSize661), (&g_typeDefinitionSize662), (&g_typeDefinitionSize663), (&g_typeDefinitionSize664), (&g_typeDefinitionSize665), (&g_typeDefinitionSize666), (&g_typeDefinitionSize667), (&g_typeDefinitionSize668), (&g_typeDefinitionSize669), (&g_typeDefinitionSize670), (&g_typeDefinitionSize671), (&g_typeDefinitionSize672), (&g_typeDefinitionSize673), (&g_typeDefinitionSize674), (&g_typeDefinitionSize675), (&g_typeDefinitionSize676), (&g_typeDefinitionSize677), (&g_typeDefinitionSize678), (&g_typeDefinitionSize679), (&g_typeDefinitionSize680), (&g_typeDefinitionSize681), (&g_typeDefinitionSize682), (&g_typeDefinitionSize683), (&g_typeDefinitionSize684), (&g_typeDefinitionSize685), (&g_typeDefinitionSize686), (&g_typeDefinitionSize687), (&g_typeDefinitionSize688), (&g_typeDefinitionSize689), (&g_typeDefinitionSize690), (&g_typeDefinitionSize691), (&g_typeDefinitionSize692), (&g_typeDefinitionSize693), (&g_typeDefinitionSize694), (&g_typeDefinitionSize695), (&g_typeDefinitionSize696), (&g_typeDefinitionSize697), (&g_typeDefinitionSize698), (&g_typeDefinitionSize699), (&g_typeDefinitionSize700), (&g_typeDefinitionSize701), (&g_typeDefinitionSize702), (&g_typeDefinitionSize703), (&g_typeDefinitionSize704), (&g_typeDefinitionSize705), (&g_typeDefinitionSize706), (&g_typeDefinitionSize707), (&g_typeDefinitionSize708), (&g_typeDefinitionSize709), (&g_typeDefinitionSize710), (&g_typeDefinitionSize711), (&g_typeDefinitionSize712), (&g_typeDefinitionSize713), (&g_typeDefinitionSize714), (&g_typeDefinitionSize715), (&g_typeDefinitionSize716), (&g_typeDefinitionSize717), (&g_typeDefinitionSize718), (&g_typeDefinitionSize719), (&g_typeDefinitionSize720), (&g_typeDefinitionSize721), (&g_typeDefinitionSize722), (&g_typeDefinitionSize723), (&g_typeDefinitionSize724), (&g_typeDefinitionSize725), (&g_typeDefinitionSize726), (&g_typeDefinitionSize727), (&g_typeDefinitionSize728), (&g_typeDefinitionSize729), (&g_typeDefinitionSize730), (&g_typeDefinitionSize731), (&g_typeDefinitionSize732), (&g_typeDefinitionSize733), (&g_typeDefinitionSize734), (&g_typeDefinitionSize735), (&g_typeDefinitionSize736), (&g_typeDefinitionSize737), (&g_typeDefinitionSize738), (&g_typeDefinitionSize739), (&g_typeDefinitionSize740), (&g_typeDefinitionSize741), (&g_typeDefinitionSize742), (&g_typeDefinitionSize743), (&g_typeDefinitionSize744), (&g_typeDefinitionSize745), (&g_typeDefinitionSize746), (&g_typeDefinitionSize747), (&g_typeDefinitionSize748), (&g_typeDefinitionSize749), (&g_typeDefinitionSize750), (&g_typeDefinitionSize751), (&g_typeDefinitionSize752), (&g_typeDefinitionSize753), (&g_typeDefinitionSize754), (&g_typeDefinitionSize755), (&g_typeDefinitionSize756), (&g_typeDefinitionSize757), (&g_typeDefinitionSize758), (&g_typeDefinitionSize759), (&g_typeDefinitionSize760), (&g_typeDefinitionSize761), (&g_typeDefinitionSize762), (&g_typeDefinitionSize763), (&g_typeDefinitionSize764), (&g_typeDefinitionSize765), (&g_typeDefinitionSize766), (&g_typeDefinitionSize767), (&g_typeDefinitionSize768), (&g_typeDefinitionSize769), (&g_typeDefinitionSize770), (&g_typeDefinitionSize771), (&g_typeDefinitionSize772), (&g_typeDefinitionSize773), (&g_typeDefinitionSize774), (&g_typeDefinitionSize775), (&g_typeDefinitionSize776), (&g_typeDefinitionSize777), (&g_typeDefinitionSize778), (&g_typeDefinitionSize779), (&g_typeDefinitionSize780), (&g_typeDefinitionSize781), (&g_typeDefinitionSize782), (&g_typeDefinitionSize783), (&g_typeDefinitionSize784), (&g_typeDefinitionSize785), (&g_typeDefinitionSize786), (&g_typeDefinitionSize787), (&g_typeDefinitionSize788), (&g_typeDefinitionSize789), (&g_typeDefinitionSize790), (&g_typeDefinitionSize791), (&g_typeDefinitionSize792), (&g_typeDefinitionSize793), (&g_typeDefinitionSize794), (&g_typeDefinitionSize795), (&g_typeDefinitionSize796), (&g_typeDefinitionSize797), (&g_typeDefinitionSize798), (&g_typeDefinitionSize799), (&g_typeDefinitionSize800), (&g_typeDefinitionSize801), (&g_typeDefinitionSize802), (&g_typeDefinitionSize803), (&g_typeDefinitionSize804), (&g_typeDefinitionSize805), (&g_typeDefinitionSize806), (&g_typeDefinitionSize807), (&g_typeDefinitionSize808), (&g_typeDefinitionSize809), (&g_typeDefinitionSize810), (&g_typeDefinitionSize811), (&g_typeDefinitionSize812), (&g_typeDefinitionSize813), (&g_typeDefinitionSize814), (&g_typeDefinitionSize815), (&g_typeDefinitionSize816), (&g_typeDefinitionSize817), (&g_typeDefinitionSize818), (&g_typeDefinitionSize819), (&g_typeDefinitionSize820), (&g_typeDefinitionSize821), (&g_typeDefinitionSize822), (&g_typeDefinitionSize823), (&g_typeDefinitionSize824), (&g_typeDefinitionSize825), (&g_typeDefinitionSize826), (&g_typeDefinitionSize827), (&g_typeDefinitionSize828), (&g_typeDefinitionSize829), (&g_typeDefinitionSize830), (&g_typeDefinitionSize831), (&g_typeDefinitionSize832), (&g_typeDefinitionSize833), (&g_typeDefinitionSize834), (&g_typeDefinitionSize835), (&g_typeDefinitionSize836), (&g_typeDefinitionSize837), (&g_typeDefinitionSize838), (&g_typeDefinitionSize839), (&g_typeDefinitionSize840), (&g_typeDefinitionSize841), (&g_typeDefinitionSize842), (&g_typeDefinitionSize843), (&g_typeDefinitionSize844), (&g_typeDefinitionSize845), (&g_typeDefinitionSize846), (&g_typeDefinitionSize847), (&g_typeDefinitionSize848), (&g_typeDefinitionSize849), (&g_typeDefinitionSize850), (&g_typeDefinitionSize851), (&g_typeDefinitionSize852), (&g_typeDefinitionSize853), (&g_typeDefinitionSize854), (&g_typeDefinitionSize855), (&g_typeDefinitionSize856), (&g_typeDefinitionSize857), (&g_typeDefinitionSize858), (&g_typeDefinitionSize859), (&g_typeDefinitionSize860), (&g_typeDefinitionSize861), (&g_typeDefinitionSize862), (&g_typeDefinitionSize863), (&g_typeDefinitionSize864), (&g_typeDefinitionSize865), (&g_typeDefinitionSize866), (&g_typeDefinitionSize867), (&g_typeDefinitionSize868), (&g_typeDefinitionSize869), (&g_typeDefinitionSize870), (&g_typeDefinitionSize871), (&g_typeDefinitionSize872), (&g_typeDefinitionSize873), (&g_typeDefinitionSize874), (&g_typeDefinitionSize875), (&g_typeDefinitionSize876), (&g_typeDefinitionSize877), (&g_typeDefinitionSize878), (&g_typeDefinitionSize879), (&g_typeDefinitionSize880), (&g_typeDefinitionSize881), (&g_typeDefinitionSize882), (&g_typeDefinitionSize883), (&g_typeDefinitionSize884), (&g_typeDefinitionSize885), (&g_typeDefinitionSize886), (&g_typeDefinitionSize887), (&g_typeDefinitionSize888), (&g_typeDefinitionSize889), (&g_typeDefinitionSize890), (&g_typeDefinitionSize891), (&g_typeDefinitionSize892), (&g_typeDefinitionSize893), (&g_typeDefinitionSize894), (&g_typeDefinitionSize895), (&g_typeDefinitionSize896), (&g_typeDefinitionSize897), (&g_typeDefinitionSize898), (&g_typeDefinitionSize899), (&g_typeDefinitionSize900), (&g_typeDefinitionSize901), (&g_typeDefinitionSize902), (&g_typeDefinitionSize903), (&g_typeDefinitionSize904), (&g_typeDefinitionSize905), (&g_typeDefinitionSize906), (&g_typeDefinitionSize907), (&g_typeDefinitionSize908), (&g_typeDefinitionSize909), (&g_typeDefinitionSize910), (&g_typeDefinitionSize911), (&g_typeDefinitionSize912), (&g_typeDefinitionSize913), (&g_typeDefinitionSize914), (&g_typeDefinitionSize915), (&g_typeDefinitionSize916), (&g_typeDefinitionSize917), (&g_typeDefinitionSize918), (&g_typeDefinitionSize919), (&g_typeDefinitionSize920), (&g_typeDefinitionSize921), (&g_typeDefinitionSize922), (&g_typeDefinitionSize923), (&g_typeDefinitionSize924), (&g_typeDefinitionSize925), (&g_typeDefinitionSize926), (&g_typeDefinitionSize927), (&g_typeDefinitionSize928), (&g_typeDefinitionSize929), (&g_typeDefinitionSize930), (&g_typeDefinitionSize931), (&g_typeDefinitionSize932), (&g_typeDefinitionSize933), (&g_typeDefinitionSize934), (&g_typeDefinitionSize935), (&g_typeDefinitionSize936), (&g_typeDefinitionSize937), (&g_typeDefinitionSize938), (&g_typeDefinitionSize939), (&g_typeDefinitionSize940), (&g_typeDefinitionSize941), (&g_typeDefinitionSize942), (&g_typeDefinitionSize943), (&g_typeDefinitionSize944), (&g_typeDefinitionSize945), (&g_typeDefinitionSize946), (&g_typeDefinitionSize947), (&g_typeDefinitionSize948), (&g_typeDefinitionSize949), (&g_typeDefinitionSize950), (&g_typeDefinitionSize951), (&g_typeDefinitionSize952), (&g_typeDefinitionSize953), (&g_typeDefinitionSize954), (&g_typeDefinitionSize955), (&g_typeDefinitionSize956), (&g_typeDefinitionSize957), (&g_typeDefinitionSize958), (&g_typeDefinitionSize959), (&g_typeDefinitionSize960), (&g_typeDefinitionSize961), (&g_typeDefinitionSize962), (&g_typeDefinitionSize963), (&g_typeDefinitionSize964), (&g_typeDefinitionSize965), (&g_typeDefinitionSize966), (&g_typeDefinitionSize967), (&g_typeDefinitionSize968), (&g_typeDefinitionSize969), (&g_typeDefinitionSize970), (&g_typeDefinitionSize971), (&g_typeDefinitionSize972), (&g_typeDefinitionSize973), (&g_typeDefinitionSize974), (&g_typeDefinitionSize975), (&g_typeDefinitionSize976), (&g_typeDefinitionSize977), (&g_typeDefinitionSize978), (&g_typeDefinitionSize979), (&g_typeDefinitionSize980), (&g_typeDefinitionSize981), (&g_typeDefinitionSize982), (&g_typeDefinitionSize983), (&g_typeDefinitionSize984), (&g_typeDefinitionSize985), (&g_typeDefinitionSize986), (&g_typeDefinitionSize987), (&g_typeDefinitionSize988), (&g_typeDefinitionSize989), (&g_typeDefinitionSize990), (&g_typeDefinitionSize991), (&g_typeDefinitionSize992), (&g_typeDefinitionSize993), (&g_typeDefinitionSize994), (&g_typeDefinitionSize995), (&g_typeDefinitionSize996), (&g_typeDefinitionSize997), (&g_typeDefinitionSize998), (&g_typeDefinitionSize999), (&g_typeDefinitionSize1000), (&g_typeDefinitionSize1001), (&g_typeDefinitionSize1002), (&g_typeDefinitionSize1003), (&g_typeDefinitionSize1004), (&g_typeDefinitionSize1005), (&g_typeDefinitionSize1006), (&g_typeDefinitionSize1007), (&g_typeDefinitionSize1008), (&g_typeDefinitionSize1009), (&g_typeDefinitionSize1010), (&g_typeDefinitionSize1011), (&g_typeDefinitionSize1012), (&g_typeDefinitionSize1013), (&g_typeDefinitionSize1014), (&g_typeDefinitionSize1015), (&g_typeDefinitionSize1016), (&g_typeDefinitionSize1017), (&g_typeDefinitionSize1018), (&g_typeDefinitionSize1019), (&g_typeDefinitionSize1020), (&g_typeDefinitionSize1021), (&g_typeDefinitionSize1022), (&g_typeDefinitionSize1023), (&g_typeDefinitionSize1024), (&g_typeDefinitionSize1025), (&g_typeDefinitionSize1026), (&g_typeDefinitionSize1027), (&g_typeDefinitionSize1028), (&g_typeDefinitionSize1029), (&g_typeDefinitionSize1030), (&g_typeDefinitionSize1031), (&g_typeDefinitionSize1032), (&g_typeDefinitionSize1033), (&g_typeDefinitionSize1034), (&g_typeDefinitionSize1035), (&g_typeDefinitionSize1036), (&g_typeDefinitionSize1037), (&g_typeDefinitionSize1038), (&g_typeDefinitionSize1039), (&g_typeDefinitionSize1040), (&g_typeDefinitionSize1041), (&g_typeDefinitionSize1042), (&g_typeDefinitionSize1043), (&g_typeDefinitionSize1044), (&g_typeDefinitionSize1045), (&g_typeDefinitionSize1046), (&g_typeDefinitionSize1047), (&g_typeDefinitionSize1048), (&g_typeDefinitionSize1049), (&g_typeDefinitionSize1050), (&g_typeDefinitionSize1051), (&g_typeDefinitionSize1052), (&g_typeDefinitionSize1053), (&g_typeDefinitionSize1054), (&g_typeDefinitionSize1055), (&g_typeDefinitionSize1056), (&g_typeDefinitionSize1057), (&g_typeDefinitionSize1058), (&g_typeDefinitionSize1059), (&g_typeDefinitionSize1060), (&g_typeDefinitionSize1061), (&g_typeDefinitionSize1062), (&g_typeDefinitionSize1063), (&g_typeDefinitionSize1064), (&g_typeDefinitionSize1065), (&g_typeDefinitionSize1066), (&g_typeDefinitionSize1067), (&g_typeDefinitionSize1068), (&g_typeDefinitionSize1069), (&g_typeDefinitionSize1070), (&g_typeDefinitionSize1071), (&g_typeDefinitionSize1072), (&g_typeDefinitionSize1073), (&g_typeDefinitionSize1074), (&g_typeDefinitionSize1075), (&g_typeDefinitionSize1076), (&g_typeDefinitionSize1077), (&g_typeDefinitionSize1078), (&g_typeDefinitionSize1079), (&g_typeDefinitionSize1080), (&g_typeDefinitionSize1081), (&g_typeDefinitionSize1082), (&g_typeDefinitionSize1083), (&g_typeDefinitionSize1084), (&g_typeDefinitionSize1085), (&g_typeDefinitionSize1086), (&g_typeDefinitionSize1087), (&g_typeDefinitionSize1088), (&g_typeDefinitionSize1089), (&g_typeDefinitionSize1090), (&g_typeDefinitionSize1091), (&g_typeDefinitionSize1092), (&g_typeDefinitionSize1093), (&g_typeDefinitionSize1094), (&g_typeDefinitionSize1095), (&g_typeDefinitionSize1096), (&g_typeDefinitionSize1097), (&g_typeDefinitionSize1098), (&g_typeDefinitionSize1099), (&g_typeDefinitionSize1100), (&g_typeDefinitionSize1101), (&g_typeDefinitionSize1102), (&g_typeDefinitionSize1103), (&g_typeDefinitionSize1104), (&g_typeDefinitionSize1105), (&g_typeDefinitionSize1106), (&g_typeDefinitionSize1107), (&g_typeDefinitionSize1108), (&g_typeDefinitionSize1109), (&g_typeDefinitionSize1110), (&g_typeDefinitionSize1111), (&g_typeDefinitionSize1112), (&g_typeDefinitionSize1113), (&g_typeDefinitionSize1114), (&g_typeDefinitionSize1115), (&g_typeDefinitionSize1116), (&g_typeDefinitionSize1117), (&g_typeDefinitionSize1118), (&g_typeDefinitionSize1119), (&g_typeDefinitionSize1120), (&g_typeDefinitionSize1121), (&g_typeDefinitionSize1122), (&g_typeDefinitionSize1123), (&g_typeDefinitionSize1124), (&g_typeDefinitionSize1125), (&g_typeDefinitionSize1126), (&g_typeDefinitionSize1127), (&g_typeDefinitionSize1128), (&g_typeDefinitionSize1129), (&g_typeDefinitionSize1130), (&g_typeDefinitionSize1131), (&g_typeDefinitionSize1132), (&g_typeDefinitionSize1133), (&g_typeDefinitionSize1134), (&g_typeDefinitionSize1135), (&g_typeDefinitionSize1136), (&g_typeDefinitionSize1137), (&g_typeDefinitionSize1138), (&g_typeDefinitionSize1139), (&g_typeDefinitionSize1140), (&g_typeDefinitionSize1141), (&g_typeDefinitionSize1142), (&g_typeDefinitionSize1143), (&g_typeDefinitionSize1144), (&g_typeDefinitionSize1145), (&g_typeDefinitionSize1146), (&g_typeDefinitionSize1147), (&g_typeDefinitionSize1148), (&g_typeDefinitionSize1149), (&g_typeDefinitionSize1150), (&g_typeDefinitionSize1151), (&g_typeDefinitionSize1152), (&g_typeDefinitionSize1153), (&g_typeDefinitionSize1154), (&g_typeDefinitionSize1155), (&g_typeDefinitionSize1156), (&g_typeDefinitionSize1157), (&g_typeDefinitionSize1158), (&g_typeDefinitionSize1159), (&g_typeDefinitionSize1160), (&g_typeDefinitionSize1161), (&g_typeDefinitionSize1162), (&g_typeDefinitionSize1163), (&g_typeDefinitionSize1164), (&g_typeDefinitionSize1165), (&g_typeDefinitionSize1166), (&g_typeDefinitionSize1167), (&g_typeDefinitionSize1168), (&g_typeDefinitionSize1169), (&g_typeDefinitionSize1170), (&g_typeDefinitionSize1171), (&g_typeDefinitionSize1172), (&g_typeDefinitionSize1173), (&g_typeDefinitionSize1174), (&g_typeDefinitionSize1175), (&g_typeDefinitionSize1176), (&g_typeDefinitionSize1177), (&g_typeDefinitionSize1178), (&g_typeDefinitionSize1179), (&g_typeDefinitionSize1180), (&g_typeDefinitionSize1181), (&g_typeDefinitionSize1182), (&g_typeDefinitionSize1183), (&g_typeDefinitionSize1184), (&g_typeDefinitionSize1185), (&g_typeDefinitionSize1186), (&g_typeDefinitionSize1187), (&g_typeDefinitionSize1188), (&g_typeDefinitionSize1189), (&g_typeDefinitionSize1190), (&g_typeDefinitionSize1191), (&g_typeDefinitionSize1192), (&g_typeDefinitionSize1193), (&g_typeDefinitionSize1194), (&g_typeDefinitionSize1195), (&g_typeDefinitionSize1196), (&g_typeDefinitionSize1197), (&g_typeDefinitionSize1198), (&g_typeDefinitionSize1199), (&g_typeDefinitionSize1200), (&g_typeDefinitionSize1201), (&g_typeDefinitionSize1202), (&g_typeDefinitionSize1203), (&g_typeDefinitionSize1204), (&g_typeDefinitionSize1205), (&g_typeDefinitionSize1206), (&g_typeDefinitionSize1207), (&g_typeDefinitionSize1208), (&g_typeDefinitionSize1209), (&g_typeDefinitionSize1210), (&g_typeDefinitionSize1211), (&g_typeDefinitionSize1212), (&g_typeDefinitionSize1213), (&g_typeDefinitionSize1214), (&g_typeDefinitionSize1215), (&g_typeDefinitionSize1216), (&g_typeDefinitionSize1217), (&g_typeDefinitionSize1218), (&g_typeDefinitionSize1219), (&g_typeDefinitionSize1220), (&g_typeDefinitionSize1221), (&g_typeDefinitionSize1222), (&g_typeDefinitionSize1223), (&g_typeDefinitionSize1224), (&g_typeDefinitionSize1225), (&g_typeDefinitionSize1226), (&g_typeDefinitionSize1227), (&g_typeDefinitionSize1228), (&g_typeDefinitionSize1229), (&g_typeDefinitionSize1230), (&g_typeDefinitionSize1231), (&g_typeDefinitionSize1232), (&g_typeDefinitionSize1233), (&g_typeDefinitionSize1234), (&g_typeDefinitionSize1235), (&g_typeDefinitionSize1236), (&g_typeDefinitionSize1237), (&g_typeDefinitionSize1238), (&g_typeDefinitionSize1239), (&g_typeDefinitionSize1240), (&g_typeDefinitionSize1241), (&g_typeDefinitionSize1242), (&g_typeDefinitionSize1243), (&g_typeDefinitionSize1244), (&g_typeDefinitionSize1245), (&g_typeDefinitionSize1246), (&g_typeDefinitionSize1247), (&g_typeDefinitionSize1248), (&g_typeDefinitionSize1249), (&g_typeDefinitionSize1250), (&g_typeDefinitionSize1251), (&g_typeDefinitionSize1252), (&g_typeDefinitionSize1253), (&g_typeDefinitionSize1254), (&g_typeDefinitionSize1255), (&g_typeDefinitionSize1256), (&g_typeDefinitionSize1257), (&g_typeDefinitionSize1258), (&g_typeDefinitionSize1259), (&g_typeDefinitionSize1260), (&g_typeDefinitionSize1261), (&g_typeDefinitionSize1262), (&g_typeDefinitionSize1263), (&g_typeDefinitionSize1264), (&g_typeDefinitionSize1265), (&g_typeDefinitionSize1266), (&g_typeDefinitionSize1267), (&g_typeDefinitionSize1268), (&g_typeDefinitionSize1269), (&g_typeDefinitionSize1270), (&g_typeDefinitionSize1271), (&g_typeDefinitionSize1272), (&g_typeDefinitionSize1273), (&g_typeDefinitionSize1274), (&g_typeDefinitionSize1275), (&g_typeDefinitionSize1276), (&g_typeDefinitionSize1277), (&g_typeDefinitionSize1278), (&g_typeDefinitionSize1279), (&g_typeDefinitionSize1280), (&g_typeDefinitionSize1281), (&g_typeDefinitionSize1282), (&g_typeDefinitionSize1283), (&g_typeDefinitionSize1284), (&g_typeDefinitionSize1285), (&g_typeDefinitionSize1286), (&g_typeDefinitionSize1287), (&g_typeDefinitionSize1288), (&g_typeDefinitionSize1289), (&g_typeDefinitionSize1290), (&g_typeDefinitionSize1291), (&g_typeDefinitionSize1292), (&g_typeDefinitionSize1293), (&g_typeDefinitionSize1294), (&g_typeDefinitionSize1295), (&g_typeDefinitionSize1296), (&g_typeDefinitionSize1297), (&g_typeDefinitionSize1298), (&g_typeDefinitionSize1299), (&g_typeDefinitionSize1300), (&g_typeDefinitionSize1301), (&g_typeDefinitionSize1302), (&g_typeDefinitionSize1303), (&g_typeDefinitionSize1304), (&g_typeDefinitionSize1305), (&g_typeDefinitionSize1306), (&g_typeDefinitionSize1307), (&g_typeDefinitionSize1308), (&g_typeDefinitionSize1309), (&g_typeDefinitionSize1310), (&g_typeDefinitionSize1311), (&g_typeDefinitionSize1312), (&g_typeDefinitionSize1313), (&g_typeDefinitionSize1314), (&g_typeDefinitionSize1315), (&g_typeDefinitionSize1316), (&g_typeDefinitionSize1317), (&g_typeDefinitionSize1318), (&g_typeDefinitionSize1319), (&g_typeDefinitionSize1320), (&g_typeDefinitionSize1321), (&g_typeDefinitionSize1322), (&g_typeDefinitionSize1323), (&g_typeDefinitionSize1324), (&g_typeDefinitionSize1325), (&g_typeDefinitionSize1326), (&g_typeDefinitionSize1327), (&g_typeDefinitionSize1328), (&g_typeDefinitionSize1329), (&g_typeDefinitionSize1330), (&g_typeDefinitionSize1331), (&g_typeDefinitionSize1332), (&g_typeDefinitionSize1333), (&g_typeDefinitionSize1334), (&g_typeDefinitionSize1335), (&g_typeDefinitionSize1336), (&g_typeDefinitionSize1337), (&g_typeDefinitionSize1338), (&g_typeDefinitionSize1339), (&g_typeDefinitionSize1340), (&g_typeDefinitionSize1341), (&g_typeDefinitionSize1342), (&g_typeDefinitionSize1343), (&g_typeDefinitionSize1344), (&g_typeDefinitionSize1345), (&g_typeDefinitionSize1346), (&g_typeDefinitionSize1347), (&g_typeDefinitionSize1348), (&g_typeDefinitionSize1349), (&g_typeDefinitionSize1350), (&g_typeDefinitionSize1351), (&g_typeDefinitionSize1352), (&g_typeDefinitionSize1353), (&g_typeDefinitionSize1354), (&g_typeDefinitionSize1355), (&g_typeDefinitionSize1356), (&g_typeDefinitionSize1357), (&g_typeDefinitionSize1358), (&g_typeDefinitionSize1359), (&g_typeDefinitionSize1360), (&g_typeDefinitionSize1361), (&g_typeDefinitionSize1362), (&g_typeDefinitionSize1363), (&g_typeDefinitionSize1364), (&g_typeDefinitionSize1365), (&g_typeDefinitionSize1366), (&g_typeDefinitionSize1367), (&g_typeDefinitionSize1368), (&g_typeDefinitionSize1369), (&g_typeDefinitionSize1370), (&g_typeDefinitionSize1371), (&g_typeDefinitionSize1372), (&g_typeDefinitionSize1373), (&g_typeDefinitionSize1374), (&g_typeDefinitionSize1375), (&g_typeDefinitionSize1376), (&g_typeDefinitionSize1377), (&g_typeDefinitionSize1378), (&g_typeDefinitionSize1379), (&g_typeDefinitionSize1380), (&g_typeDefinitionSize1381), (&g_typeDefinitionSize1382), (&g_typeDefinitionSize1383), (&g_typeDefinitionSize1384), (&g_typeDefinitionSize1385), (&g_typeDefinitionSize1386), (&g_typeDefinitionSize1387), (&g_typeDefinitionSize1388), (&g_typeDefinitionSize1389), (&g_typeDefinitionSize1390), (&g_typeDefinitionSize1391), (&g_typeDefinitionSize1392), (&g_typeDefinitionSize1393), (&g_typeDefinitionSize1394), (&g_typeDefinitionSize1395), (&g_typeDefinitionSize1396), (&g_typeDefinitionSize1397), (&g_typeDefinitionSize1398), (&g_typeDefinitionSize1399), (&g_typeDefinitionSize1400), (&g_typeDefinitionSize1401), (&g_typeDefinitionSize1402), (&g_typeDefinitionSize1403), (&g_typeDefinitionSize1404), (&g_typeDefinitionSize1405), (&g_typeDefinitionSize1406), (&g_typeDefinitionSize1407), (&g_typeDefinitionSize1408), (&g_typeDefinitionSize1409), (&g_typeDefinitionSize1410), (&g_typeDefinitionSize1411), (&g_typeDefinitionSize1412), (&g_typeDefinitionSize1413), (&g_typeDefinitionSize1414), (&g_typeDefinitionSize1415), (&g_typeDefinitionSize1416), (&g_typeDefinitionSize1417), (&g_typeDefinitionSize1418), (&g_typeDefinitionSize1419), (&g_typeDefinitionSize1420), (&g_typeDefinitionSize1421), (&g_typeDefinitionSize1422), (&g_typeDefinitionSize1423), (&g_typeDefinitionSize1424), (&g_typeDefinitionSize1425), (&g_typeDefinitionSize1426), (&g_typeDefinitionSize1427), (&g_typeDefinitionSize1428), (&g_typeDefinitionSize1429), (&g_typeDefinitionSize1430), (&g_typeDefinitionSize1431), (&g_typeDefinitionSize1432), (&g_typeDefinitionSize1433), (&g_typeDefinitionSize1434), (&g_typeDefinitionSize1435), (&g_typeDefinitionSize1436), (&g_typeDefinitionSize1437), (&g_typeDefinitionSize1438), (&g_typeDefinitionSize1439), (&g_typeDefinitionSize1440), (&g_typeDefinitionSize1441), (&g_typeDefinitionSize1442), (&g_typeDefinitionSize1443), (&g_typeDefinitionSize1444), (&g_typeDefinitionSize1445), (&g_typeDefinitionSize1446), (&g_typeDefinitionSize1447), (&g_typeDefinitionSize1448), (&g_typeDefinitionSize1449), (&g_typeDefinitionSize1450), (&g_typeDefinitionSize1451), (&g_typeDefinitionSize1452), (&g_typeDefinitionSize1453), (&g_typeDefinitionSize1454), (&g_typeDefinitionSize1455), (&g_typeDefinitionSize1456), (&g_typeDefinitionSize1457), (&g_typeDefinitionSize1458), (&g_typeDefinitionSize1459), (&g_typeDefinitionSize1460), (&g_typeDefinitionSize1461), (&g_typeDefinitionSize1462), (&g_typeDefinitionSize1463), (&g_typeDefinitionSize1464), (&g_typeDefinitionSize1465), (&g_typeDefinitionSize1466), (&g_typeDefinitionSize1467), (&g_typeDefinitionSize1468), (&g_typeDefinitionSize1469), (&g_typeDefinitionSize1470), (&g_typeDefinitionSize1471), (&g_typeDefinitionSize1472), (&g_typeDefinitionSize1473), (&g_typeDefinitionSize1474), (&g_typeDefinitionSize1475), (&g_typeDefinitionSize1476), (&g_typeDefinitionSize1477), (&g_typeDefinitionSize1478), (&g_typeDefinitionSize1479), (&g_typeDefinitionSize1480), (&g_typeDefinitionSize1481), (&g_typeDefinitionSize1482), (&g_typeDefinitionSize1483), (&g_typeDefinitionSize1484), (&g_typeDefinitionSize1485), (&g_typeDefinitionSize1486), (&g_typeDefinitionSize1487), (&g_typeDefinitionSize1488), (&g_typeDefinitionSize1489), (&g_typeDefinitionSize1490), (&g_typeDefinitionSize1491), (&g_typeDefinitionSize1492), (&g_typeDefinitionSize1493), (&g_typeDefinitionSize1494), (&g_typeDefinitionSize1495), (&g_typeDefinitionSize1496), (&g_typeDefinitionSize1497), (&g_typeDefinitionSize1498), (&g_typeDefinitionSize1499), (&g_typeDefinitionSize1500), (&g_typeDefinitionSize1501), (&g_typeDefinitionSize1502), (&g_typeDefinitionSize1503), (&g_typeDefinitionSize1504), (&g_typeDefinitionSize1505), (&g_typeDefinitionSize1506), (&g_typeDefinitionSize1507), (&g_typeDefinitionSize1508), (&g_typeDefinitionSize1509), (&g_typeDefinitionSize1510), (&g_typeDefinitionSize1511), (&g_typeDefinitionSize1512), (&g_typeDefinitionSize1513), (&g_typeDefinitionSize1514), (&g_typeDefinitionSize1515), (&g_typeDefinitionSize1516), (&g_typeDefinitionSize1517), (&g_typeDefinitionSize1518), (&g_typeDefinitionSize1519), (&g_typeDefinitionSize1520), (&g_typeDefinitionSize1521), (&g_typeDefinitionSize1522), (&g_typeDefinitionSize1523), (&g_typeDefinitionSize1524), (&g_typeDefinitionSize1525), (&g_typeDefinitionSize1526), (&g_typeDefinitionSize1527), (&g_typeDefinitionSize1528), (&g_typeDefinitionSize1529), (&g_typeDefinitionSize1530), (&g_typeDefinitionSize1531), (&g_typeDefinitionSize1532), (&g_typeDefinitionSize1533), (&g_typeDefinitionSize1534), (&g_typeDefinitionSize1535), (&g_typeDefinitionSize1536), (&g_typeDefinitionSize1537), (&g_typeDefinitionSize1538), (&g_typeDefinitionSize1539), (&g_typeDefinitionSize1540), (&g_typeDefinitionSize1541), (&g_typeDefinitionSize1542), (&g_typeDefinitionSize1543), (&g_typeDefinitionSize1544), (&g_typeDefinitionSize1545), (&g_typeDefinitionSize1546), (&g_typeDefinitionSize1547), (&g_typeDefinitionSize1548), (&g_typeDefinitionSize1549), (&g_typeDefinitionSize1550), (&g_typeDefinitionSize1551), (&g_typeDefinitionSize1552), (&g_typeDefinitionSize1553), (&g_typeDefinitionSize1554), (&g_typeDefinitionSize1555), (&g_typeDefinitionSize1556), (&g_typeDefinitionSize1557), (&g_typeDefinitionSize1558), (&g_typeDefinitionSize1559), (&g_typeDefinitionSize1560), (&g_typeDefinitionSize1561), (&g_typeDefinitionSize1562), (&g_typeDefinitionSize1563), (&g_typeDefinitionSize1564), (&g_typeDefinitionSize1565), (&g_typeDefinitionSize1566), (&g_typeDefinitionSize1567), (&g_typeDefinitionSize1568), (&g_typeDefinitionSize1569), (&g_typeDefinitionSize1570), (&g_typeDefinitionSize1571), (&g_typeDefinitionSize1572), (&g_typeDefinitionSize1573), (&g_typeDefinitionSize1574), (&g_typeDefinitionSize1575), (&g_typeDefinitionSize1576), (&g_typeDefinitionSize1577), (&g_typeDefinitionSize1578), (&g_typeDefinitionSize1579), (&g_typeDefinitionSize1580), (&g_typeDefinitionSize1581), (&g_typeDefinitionSize1582), (&g_typeDefinitionSize1583), (&g_typeDefinitionSize1584), (&g_typeDefinitionSize1585), (&g_typeDefinitionSize1586), (&g_typeDefinitionSize1587), (&g_typeDefinitionSize1588), (&g_typeDefinitionSize1589), (&g_typeDefinitionSize1590), (&g_typeDefinitionSize1591), (&g_typeDefinitionSize1592), (&g_typeDefinitionSize1593), (&g_typeDefinitionSize1594), (&g_typeDefinitionSize1595), (&g_typeDefinitionSize1596), (&g_typeDefinitionSize1597), (&g_typeDefinitionSize1598), (&g_typeDefinitionSize1599), (&g_typeDefinitionSize1600), (&g_typeDefinitionSize1601), (&g_typeDefinitionSize1602), (&g_typeDefinitionSize1603), (&g_typeDefinitionSize1604), (&g_typeDefinitionSize1605), (&g_typeDefinitionSize1606), (&g_typeDefinitionSize1607), (&g_typeDefinitionSize1608), (&g_typeDefinitionSize1609), (&g_typeDefinitionSize1610), (&g_typeDefinitionSize1611), (&g_typeDefinitionSize1612), (&g_typeDefinitionSize1613), (&g_typeDefinitionSize1614), (&g_typeDefinitionSize1615), (&g_typeDefinitionSize1616), (&g_typeDefinitionSize1617), (&g_typeDefinitionSize1618), (&g_typeDefinitionSize1619), (&g_typeDefinitionSize1620), (&g_typeDefinitionSize1621), (&g_typeDefinitionSize1622), (&g_typeDefinitionSize1623), (&g_typeDefinitionSize1624), (&g_typeDefinitionSize1625), (&g_typeDefinitionSize1626), (&g_typeDefinitionSize1627), (&g_typeDefinitionSize1628), (&g_typeDefinitionSize1629), (&g_typeDefinitionSize1630), (&g_typeDefinitionSize1631), (&g_typeDefinitionSize1632), (&g_typeDefinitionSize1633), (&g_typeDefinitionSize1634), (&g_typeDefinitionSize1635), (&g_typeDefinitionSize1636), (&g_typeDefinitionSize1637), (&g_typeDefinitionSize1638), (&g_typeDefinitionSize1639), (&g_typeDefinitionSize1640), (&g_typeDefinitionSize1641), (&g_typeDefinitionSize1642), (&g_typeDefinitionSize1643), (&g_typeDefinitionSize1644), (&g_typeDefinitionSize1645), (&g_typeDefinitionSize1646), (&g_typeDefinitionSize1647), (&g_typeDefinitionSize1648), (&g_typeDefinitionSize1649), (&g_typeDefinitionSize1650), (&g_typeDefinitionSize1651), (&g_typeDefinitionSize1652), (&g_typeDefinitionSize1653), (&g_typeDefinitionSize1654), (&g_typeDefinitionSize1655), (&g_typeDefinitionSize1656), (&g_typeDefinitionSize1657), (&g_typeDefinitionSize1658), (&g_typeDefinitionSize1659), (&g_typeDefinitionSize1660), (&g_typeDefinitionSize1661), (&g_typeDefinitionSize1662), (&g_typeDefinitionSize1663), (&g_typeDefinitionSize1664), (&g_typeDefinitionSize1665), (&g_typeDefinitionSize1666), (&g_typeDefinitionSize1667), (&g_typeDefinitionSize1668), (&g_typeDefinitionSize1669), (&g_typeDefinitionSize1670), (&g_typeDefinitionSize1671), (&g_typeDefinitionSize1672), (&g_typeDefinitionSize1673), (&g_typeDefinitionSize1674), (&g_typeDefinitionSize1675), (&g_typeDefinitionSize1676), (&g_typeDefinitionSize1677), (&g_typeDefinitionSize1678), (&g_typeDefinitionSize1679), (&g_typeDefinitionSize1680), (&g_typeDefinitionSize1681), (&g_typeDefinitionSize1682), (&g_typeDefinitionSize1683), (&g_typeDefinitionSize1684), (&g_typeDefinitionSize1685), (&g_typeDefinitionSize1686), (&g_typeDefinitionSize1687), (&g_typeDefinitionSize1688), (&g_typeDefinitionSize1689), (&g_typeDefinitionSize1690), (&g_typeDefinitionSize1691), (&g_typeDefinitionSize1692), (&g_typeDefinitionSize1693), (&g_typeDefinitionSize1694), (&g_typeDefinitionSize1695), (&g_typeDefinitionSize1696), (&g_typeDefinitionSize1697), (&g_typeDefinitionSize1698), (&g_typeDefinitionSize1699), (&g_typeDefinitionSize1700), (&g_typeDefinitionSize1701), (&g_typeDefinitionSize1702), (&g_typeDefinitionSize1703), (&g_typeDefinitionSize1704), (&g_typeDefinitionSize1705), (&g_typeDefinitionSize1706), (&g_typeDefinitionSize1707), (&g_typeDefinitionSize1708), (&g_typeDefinitionSize1709), (&g_typeDefinitionSize1710), (&g_typeDefinitionSize1711), (&g_typeDefinitionSize1712), (&g_typeDefinitionSize1713), (&g_typeDefinitionSize1714), (&g_typeDefinitionSize1715), (&g_typeDefinitionSize1716), (&g_typeDefinitionSize1717), (&g_typeDefinitionSize1718), (&g_typeDefinitionSize1719), (&g_typeDefinitionSize1720), (&g_typeDefinitionSize1721), (&g_typeDefinitionSize1722), (&g_typeDefinitionSize1723), (&g_typeDefinitionSize1724), (&g_typeDefinitionSize1725), (&g_typeDefinitionSize1726), (&g_typeDefinitionSize1727), (&g_typeDefinitionSize1728), (&g_typeDefinitionSize1729), (&g_typeDefinitionSize1730), (&g_typeDefinitionSize1731), (&g_typeDefinitionSize1732), (&g_typeDefinitionSize1733), (&g_typeDefinitionSize1734), (&g_typeDefinitionSize1735), (&g_typeDefinitionSize1736), (&g_typeDefinitionSize1737), (&g_typeDefinitionSize1738), (&g_typeDefinitionSize1739), (&g_typeDefinitionSize1740), (&g_typeDefinitionSize1741), (&g_typeDefinitionSize1742), (&g_typeDefinitionSize1743), (&g_typeDefinitionSize1744), (&g_typeDefinitionSize1745), (&g_typeDefinitionSize1746), (&g_typeDefinitionSize1747), (&g_typeDefinitionSize1748), (&g_typeDefinitionSize1749), (&g_typeDefinitionSize1750), (&g_typeDefinitionSize1751), (&g_typeDefinitionSize1752), (&g_typeDefinitionSize1753), (&g_typeDefinitionSize1754), (&g_typeDefinitionSize1755), (&g_typeDefinitionSize1756), (&g_typeDefinitionSize1757), (&g_typeDefinitionSize1758), (&g_typeDefinitionSize1759), (&g_typeDefinitionSize1760), (&g_typeDefinitionSize1761), (&g_typeDefinitionSize1762), (&g_typeDefinitionSize1763), (&g_typeDefinitionSize1764), (&g_typeDefinitionSize1765), (&g_typeDefinitionSize1766), (&g_typeDefinitionSize1767), (&g_typeDefinitionSize1768), (&g_typeDefinitionSize1769), (&g_typeDefinitionSize1770), (&g_typeDefinitionSize1771), (&g_typeDefinitionSize1772), (&g_typeDefinitionSize1773), (&g_typeDefinitionSize1774), (&g_typeDefinitionSize1775), (&g_typeDefinitionSize1776), (&g_typeDefinitionSize1777), (&g_typeDefinitionSize1778), (&g_typeDefinitionSize1779), (&g_typeDefinitionSize1780), (&g_typeDefinitionSize1781), (&g_typeDefinitionSize1782), (&g_typeDefinitionSize1783), (&g_typeDefinitionSize1784), (&g_typeDefinitionSize1785), (&g_typeDefinitionSize1786), (&g_typeDefinitionSize1787), (&g_typeDefinitionSize1788), (&g_typeDefinitionSize1789), (&g_typeDefinitionSize1790), (&g_typeDefinitionSize1791), (&g_typeDefinitionSize1792), (&g_typeDefinitionSize1793), (&g_typeDefinitionSize1794), (&g_typeDefinitionSize1795), (&g_typeDefinitionSize1796), (&g_typeDefinitionSize1797), (&g_typeDefinitionSize1798), (&g_typeDefinitionSize1799), (&g_typeDefinitionSize1800), (&g_typeDefinitionSize1801), (&g_typeDefinitionSize1802), (&g_typeDefinitionSize1803), (&g_typeDefinitionSize1804), (&g_typeDefinitionSize1805), (&g_typeDefinitionSize1806), (&g_typeDefinitionSize1807), (&g_typeDefinitionSize1808), (&g_typeDefinitionSize1809), (&g_typeDefinitionSize1810), (&g_typeDefinitionSize1811), (&g_typeDefinitionSize1812), (&g_typeDefinitionSize1813), (&g_typeDefinitionSize1814), (&g_typeDefinitionSize1815), (&g_typeDefinitionSize1816), (&g_typeDefinitionSize1817), (&g_typeDefinitionSize1818), (&g_typeDefinitionSize1819), (&g_typeDefinitionSize1820), (&g_typeDefinitionSize1821), (&g_typeDefinitionSize1822), (&g_typeDefinitionSize1823), (&g_typeDefinitionSize1824), (&g_typeDefinitionSize1825), (&g_typeDefinitionSize1826), (&g_typeDefinitionSize1827), (&g_typeDefinitionSize1828), (&g_typeDefinitionSize1829), (&g_typeDefinitionSize1830), (&g_typeDefinitionSize1831), (&g_typeDefinitionSize1832), (&g_typeDefinitionSize1833), (&g_typeDefinitionSize1834), (&g_typeDefinitionSize1835), (&g_typeDefinitionSize1836), (&g_typeDefinitionSize1837), (&g_typeDefinitionSize1838), (&g_typeDefinitionSize1839), (&g_typeDefinitionSize1840), (&g_typeDefinitionSize1841), (&g_typeDefinitionSize1842), (&g_typeDefinitionSize1843), (&g_typeDefinitionSize1844), (&g_typeDefinitionSize1845), (&g_typeDefinitionSize1846), (&g_typeDefinitionSize1847), (&g_typeDefinitionSize1848), (&g_typeDefinitionSize1849), (&g_typeDefinitionSize1850), (&g_typeDefinitionSize1851), (&g_typeDefinitionSize1852), (&g_typeDefinitionSize1853), (&g_typeDefinitionSize1854), (&g_typeDefinitionSize1855), (&g_typeDefinitionSize1856), (&g_typeDefinitionSize1857), (&g_typeDefinitionSize1858), (&g_typeDefinitionSize1859), (&g_typeDefinitionSize1860), (&g_typeDefinitionSize1861), (&g_typeDefinitionSize1862), (&g_typeDefinitionSize1863), (&g_typeDefinitionSize1864), (&g_typeDefinitionSize1865), (&g_typeDefinitionSize1866), (&g_typeDefinitionSize1867), (&g_typeDefinitionSize1868), (&g_typeDefinitionSize1869), (&g_typeDefinitionSize1870), (&g_typeDefinitionSize1871), (&g_typeDefinitionSize1872), (&g_typeDefinitionSize1873), (&g_typeDefinitionSize1874), (&g_typeDefinitionSize1875), (&g_typeDefinitionSize1876), (&g_typeDefinitionSize1877), (&g_typeDefinitionSize1878), (&g_typeDefinitionSize1879), (&g_typeDefinitionSize1880), (&g_typeDefinitionSize1881), (&g_typeDefinitionSize1882), (&g_typeDefinitionSize1883), (&g_typeDefinitionSize1884), (&g_typeDefinitionSize1885), (&g_typeDefinitionSize1886), (&g_typeDefinitionSize1887), (&g_typeDefinitionSize1888), (&g_typeDefinitionSize1889), (&g_typeDefinitionSize1890), (&g_typeDefinitionSize1891), (&g_typeDefinitionSize1892), (&g_typeDefinitionSize1893), (&g_typeDefinitionSize1894), (&g_typeDefinitionSize1895), (&g_typeDefinitionSize1896), (&g_typeDefinitionSize1897), (&g_typeDefinitionSize1898), (&g_typeDefinitionSize1899), (&g_typeDefinitionSize1900), (&g_typeDefinitionSize1901), (&g_typeDefinitionSize1902), (&g_typeDefinitionSize1903), (&g_typeDefinitionSize1904), (&g_typeDefinitionSize1905), (&g_typeDefinitionSize1906), (&g_typeDefinitionSize1907), (&g_typeDefinitionSize1908), (&g_typeDefinitionSize1909), (&g_typeDefinitionSize1910), (&g_typeDefinitionSize1911), (&g_typeDefinitionSize1912), (&g_typeDefinitionSize1913), (&g_typeDefinitionSize1914), (&g_typeDefinitionSize1915), (&g_typeDefinitionSize1916), (&g_typeDefinitionSize1917), (&g_typeDefinitionSize1918), (&g_typeDefinitionSize1919), (&g_typeDefinitionSize1920), (&g_typeDefinitionSize1921), (&g_typeDefinitionSize1922), (&g_typeDefinitionSize1923), (&g_typeDefinitionSize1924), (&g_typeDefinitionSize1925), (&g_typeDefinitionSize1926), (&g_typeDefinitionSize1927), (&g_typeDefinitionSize1928), (&g_typeDefinitionSize1929), (&g_typeDefinitionSize1930), (&g_typeDefinitionSize1931), (&g_typeDefinitionSize1932), (&g_typeDefinitionSize1933), (&g_typeDefinitionSize1934), (&g_typeDefinitionSize1935), (&g_typeDefinitionSize1936), (&g_typeDefinitionSize1937), (&g_typeDefinitionSize1938), (&g_typeDefinitionSize1939), (&g_typeDefinitionSize1940), (&g_typeDefinitionSize1941), (&g_typeDefinitionSize1942), (&g_typeDefinitionSize1943), (&g_typeDefinitionSize1944), (&g_typeDefinitionSize1945), (&g_typeDefinitionSize1946), (&g_typeDefinitionSize1947), (&g_typeDefinitionSize1948), (&g_typeDefinitionSize1949), (&g_typeDefinitionSize1950), (&g_typeDefinitionSize1951), (&g_typeDefinitionSize1952), (&g_typeDefinitionSize1953), (&g_typeDefinitionSize1954), (&g_typeDefinitionSize1955), (&g_typeDefinitionSize1956), (&g_typeDefinitionSize1957), (&g_typeDefinitionSize1958), (&g_typeDefinitionSize1959), (&g_typeDefinitionSize1960), (&g_typeDefinitionSize1961), (&g_typeDefinitionSize1962), (&g_typeDefinitionSize1963), (&g_typeDefinitionSize1964), (&g_typeDefinitionSize1965), (&g_typeDefinitionSize1966), (&g_typeDefinitionSize1967), (&g_typeDefinitionSize1968), (&g_typeDefinitionSize1969), (&g_typeDefinitionSize1970), (&g_typeDefinitionSize1971), (&g_typeDefinitionSize1972), (&g_typeDefinitionSize1973), (&g_typeDefinitionSize1974), (&g_typeDefinitionSize1975), (&g_typeDefinitionSize1976), (&g_typeDefinitionSize1977), (&g_typeDefinitionSize1978), (&g_typeDefinitionSize1979), (&g_typeDefinitionSize1980), (&g_typeDefinitionSize1981), (&g_typeDefinitionSize1982), (&g_typeDefinitionSize1983), (&g_typeDefinitionSize1984), (&g_typeDefinitionSize1985), (&g_typeDefinitionSize1986), (&g_typeDefinitionSize1987), (&g_typeDefinitionSize1988), (&g_typeDefinitionSize1989), (&g_typeDefinitionSize1990), (&g_typeDefinitionSize1991), (&g_typeDefinitionSize1992), (&g_typeDefinitionSize1993), (&g_typeDefinitionSize1994), (&g_typeDefinitionSize1995), (&g_typeDefinitionSize1996), (&g_typeDefinitionSize1997), (&g_typeDefinitionSize1998), (&g_typeDefinitionSize1999), (&g_typeDefinitionSize2000), (&g_typeDefinitionSize2001), (&g_typeDefinitionSize2002), (&g_typeDefinitionSize2003), (&g_typeDefinitionSize2004), (&g_typeDefinitionSize2005), (&g_typeDefinitionSize2006), (&g_typeDefinitionSize2007), (&g_typeDefinitionSize2008), (&g_typeDefinitionSize2009), (&g_typeDefinitionSize2010), (&g_typeDefinitionSize2011), (&g_typeDefinitionSize2012), (&g_typeDefinitionSize2013), (&g_typeDefinitionSize2014), (&g_typeDefinitionSize2015), (&g_typeDefinitionSize2016), (&g_typeDefinitionSize2017), (&g_typeDefinitionSize2018), (&g_typeDefinitionSize2019), (&g_typeDefinitionSize2020), (&g_typeDefinitionSize2021), (&g_typeDefinitionSize2022), (&g_typeDefinitionSize2023), (&g_typeDefinitionSize2024), (&g_typeDefinitionSize2025), (&g_typeDefinitionSize2026), (&g_typeDefinitionSize2027), (&g_typeDefinitionSize2028), (&g_typeDefinitionSize2029), (&g_typeDefinitionSize2030), (&g_typeDefinitionSize2031), (&g_typeDefinitionSize2032), (&g_typeDefinitionSize2033), (&g_typeDefinitionSize2034), (&g_typeDefinitionSize2035), (&g_typeDefinitionSize2036), (&g_typeDefinitionSize2037), (&g_typeDefinitionSize2038), (&g_typeDefinitionSize2039), (&g_typeDefinitionSize2040), (&g_typeDefinitionSize2041), (&g_typeDefinitionSize2042), (&g_typeDefinitionSize2043), (&g_typeDefinitionSize2044), (&g_typeDefinitionSize2045), (&g_typeDefinitionSize2046), (&g_typeDefinitionSize2047), (&g_typeDefinitionSize2048), (&g_typeDefinitionSize2049), (&g_typeDefinitionSize2050), (&g_typeDefinitionSize2051), (&g_typeDefinitionSize2052), (&g_typeDefinitionSize2053), (&g_typeDefinitionSize2054), (&g_typeDefinitionSize2055), (&g_typeDefinitionSize2056), (&g_typeDefinitionSize2057), (&g_typeDefinitionSize2058), (&g_typeDefinitionSize2059), (&g_typeDefinitionSize2060), (&g_typeDefinitionSize2061), (&g_typeDefinitionSize2062), (&g_typeDefinitionSize2063), (&g_typeDefinitionSize2064), (&g_typeDefinitionSize2065), (&g_typeDefinitionSize2066), (&g_typeDefinitionSize2067), (&g_typeDefinitionSize2068), (&g_typeDefinitionSize2069), (&g_typeDefinitionSize2070), (&g_typeDefinitionSize2071), (&g_typeDefinitionSize2072), (&g_typeDefinitionSize2073), (&g_typeDefinitionSize2074), (&g_typeDefinitionSize2075), (&g_typeDefinitionSize2076), (&g_typeDefinitionSize2077), (&g_typeDefinitionSize2078), (&g_typeDefinitionSize2079), (&g_typeDefinitionSize2080), (&g_typeDefinitionSize2081), (&g_typeDefinitionSize2082), (&g_typeDefinitionSize2083), (&g_typeDefinitionSize2084), (&g_typeDefinitionSize2085), (&g_typeDefinitionSize2086), (&g_typeDefinitionSize2087), (&g_typeDefinitionSize2088), (&g_typeDefinitionSize2089), (&g_typeDefinitionSize2090), (&g_typeDefinitionSize2091), (&g_typeDefinitionSize2092), (&g_typeDefinitionSize2093), (&g_typeDefinitionSize2094), (&g_typeDefinitionSize2095), (&g_typeDefinitionSize2096), (&g_typeDefinitionSize2097), (&g_typeDefinitionSize2098), (&g_typeDefinitionSize2099), (&g_typeDefinitionSize2100), (&g_typeDefinitionSize2101), (&g_typeDefinitionSize2102), (&g_typeDefinitionSize2103), (&g_typeDefinitionSize2104), (&g_typeDefinitionSize2105), (&g_typeDefinitionSize2106), (&g_typeDefinitionSize2107), (&g_typeDefinitionSize2108), (&g_typeDefinitionSize2109), (&g_typeDefinitionSize2110), (&g_typeDefinitionSize2111), (&g_typeDefinitionSize2112), (&g_typeDefinitionSize2113), (&g_typeDefinitionSize2114), (&g_typeDefinitionSize2115), (&g_typeDefinitionSize2116), (&g_typeDefinitionSize2117), (&g_typeDefinitionSize2118), (&g_typeDefinitionSize2119), (&g_typeDefinitionSize2120), (&g_typeDefinitionSize2121), (&g_typeDefinitionSize2122), (&g_typeDefinitionSize2123), (&g_typeDefinitionSize2124), (&g_typeDefinitionSize2125), (&g_typeDefinitionSize2126), (&g_typeDefinitionSize2127), (&g_typeDefinitionSize2128), (&g_typeDefinitionSize2129), (&g_typeDefinitionSize2130), (&g_typeDefinitionSize2131), (&g_typeDefinitionSize2132), (&g_typeDefinitionSize2133), (&g_typeDefinitionSize2134), (&g_typeDefinitionSize2135), (&g_typeDefinitionSize2136), (&g_typeDefinitionSize2137), (&g_typeDefinitionSize2138), (&g_typeDefinitionSize2139), (&g_typeDefinitionSize2140), (&g_typeDefinitionSize2141), (&g_typeDefinitionSize2142), (&g_typeDefinitionSize2143), (&g_typeDefinitionSize2144), (&g_typeDefinitionSize2145), (&g_typeDefinitionSize2146), (&g_typeDefinitionSize2147), (&g_typeDefinitionSize2148), (&g_typeDefinitionSize2149), (&g_typeDefinitionSize2150), (&g_typeDefinitionSize2151), (&g_typeDefinitionSize2152), (&g_typeDefinitionSize2153), (&g_typeDefinitionSize2154), (&g_typeDefinitionSize2155), (&g_typeDefinitionSize2156), (&g_typeDefinitionSize2157), (&g_typeDefinitionSize2158), (&g_typeDefinitionSize2159), (&g_typeDefinitionSize2160), (&g_typeDefinitionSize2161), (&g_typeDefinitionSize2162), (&g_typeDefinitionSize2163), (&g_typeDefinitionSize2164), (&g_typeDefinitionSize2165), (&g_typeDefinitionSize2166), (&g_typeDefinitionSize2167), (&g_typeDefinitionSize2168), (&g_typeDefinitionSize2169), (&g_typeDefinitionSize2170), (&g_typeDefinitionSize2171), (&g_typeDefinitionSize2172), (&g_typeDefinitionSize2173), (&g_typeDefinitionSize2174), (&g_typeDefinitionSize2175), (&g_typeDefinitionSize2176), (&g_typeDefinitionSize2177), (&g_typeDefinitionSize2178), (&g_typeDefinitionSize2179), (&g_typeDefinitionSize2180), (&g_typeDefinitionSize2181), (&g_typeDefinitionSize2182), (&g_typeDefinitionSize2183), (&g_typeDefinitionSize2184), (&g_typeDefinitionSize2185), (&g_typeDefinitionSize2186), (&g_typeDefinitionSize2187), (&g_typeDefinitionSize2188), (&g_typeDefinitionSize2189), (&g_typeDefinitionSize2190), (&g_typeDefinitionSize2191), (&g_typeDefinitionSize2192), (&g_typeDefinitionSize2193), (&g_typeDefinitionSize2194), (&g_typeDefinitionSize2195), (&g_typeDefinitionSize2196), (&g_typeDefinitionSize2197), (&g_typeDefinitionSize2198), (&g_typeDefinitionSize2199), (&g_typeDefinitionSize2200), (&g_typeDefinitionSize2201), (&g_typeDefinitionSize2202), (&g_typeDefinitionSize2203), (&g_typeDefinitionSize2204), (&g_typeDefinitionSize2205), (&g_typeDefinitionSize2206), (&g_typeDefinitionSize2207), (&g_typeDefinitionSize2208), (&g_typeDefinitionSize2209), (&g_typeDefinitionSize2210), (&g_typeDefinitionSize2211), (&g_typeDefinitionSize2212), };
[ "80724861+natenankivell@users.noreply.github.com" ]
80724861+natenankivell@users.noreply.github.com
4bbaa230e98dbe14c943b3b7faf489f2b27dc41e
f950882940764ace71e51a1512c16a5ac3bc47bc
/src/GisEngine/GeoDatabase/EmbDBTransaction.h
5bb7dd35fa5a04e302e13163fcddfea551ea17e4
[]
no_license
ViacheslavN/GIS
3291a5685b171dc98f6e82595dccc9f235e67bdf
e81b964b866954de9db6ee6977bbdf6635e79200
refs/heads/master
2021-01-23T19:45:24.548502
2018-03-12T09:55:02
2018-03-12T09:55:02
22,220,159
2
0
null
null
null
null
UTF-8
C++
false
false
970
h
#ifndef GIS_ENGINE_GEO_DATABASE_EMBDB_TRANSACTION_H_ #define GIS_ENGINE_GEO_DATABASE_EMBDB_TRANSACTION_H_ #include "GeoDatabase.h" #include "../../EmbDB/EmbDB/embDB.h" namespace GisEngine { namespace GeoDatabase { class CEmbDBTransaction : public ITransaction { public: CEmbDBTransaction(embDB::IConnection* pConnection, eTransactionType type); ~CEmbDBTransaction(); bool begin(); virtual bool commit(); virtual bool rollback(); virtual void GetError(CommonLib::CString& sText); virtual IInsertCursorPtr CreateInsertCusor(ITable *pTable, IFieldSet *pFileds = 0); virtual IUpdateCursorPtr CreateUpdateCusor(ITable *pTable, IFieldSet *pFileds = 0); virtual IDeleteCursorPtr CreateDeleteCusor(ITable *pTable, IFieldSet *pFileds = 0); private: embDB::IConnectionPtr m_pConnection; embDB::ITransactionPtr m_pTran; bool m_bCommit; bool m_bEnd; bool m_bBegin; }; } } #endif
[ "nk.viacheslav@gmail.com" ]
nk.viacheslav@gmail.com
66fcb622e6cd524be6ad5f79a3833f9d7ee71741
033be4ab87853f3749b5d6f58a96ac774c297af2
/path-sum-ii/path-sum-ii.cpp
801b332a0bae87efff93c9ca929c11af8502fd66
[]
no_license
anurag-25/LeetCode
8c7f92bc885579fce09411eda8734ca54822c816
bcce3344ae109cc480e545bbb8f111e2a675cad3
refs/heads/main
2023-09-06T07:11:35.428281
2021-11-26T14:10:38
2021-11-26T14:10:38
405,235,283
0
0
null
null
null
null
UTF-8
C++
false
false
1,049
cpp
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {} * }; */ class Solution { public: void solve (TreeNode* root, int targetSum, vector<vector<int>> &ans, vector<int> &curr) { curr.push_back (root->val); if (root->val==targetSum && !root->left && !root->right) { ans.push_back (curr); } if (root->left) solve (root->left, targetSum-root->val, ans, curr); if (root->right) solve (root->right, targetSum-root->val, ans, curr); curr.pop_back(); } vector<vector<int>> pathSum(TreeNode* root, int targetSum) { vector<vector<int>> ans; if (root==NULL) return ans; vector<int> curr; solve (root, targetSum, ans, curr); return ans; } };
[ "70976859+anurag-25@users.noreply.github.com" ]
70976859+anurag-25@users.noreply.github.com
c8429a8734d3d6304edef3f66be10f1d25723580
090243cf699213f32f870baf2902eb4211f825d6
/vjudge/70127/G.cpp
f9a6191e820bedf91143a92f5927a77dbbce5c2b
[]
no_license
zhu-he/ACM-Source
0d4d0ac0668b569846b12297e7ed4abbb1c16571
02e3322e50336063d0d2dad37b2761ecb3d4e380
refs/heads/master
2021-06-07T18:27:19.702607
2016-07-10T09:20:48
2016-07-10T09:20:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
670
cpp
#include <cstdio> #include <cstring> char T[50001]; char P[50001]; int main() { int t; scanf("%d", &t); while (t--) { scanf("%s", T); scanf("%s", P); int n = strlen(T); int m = strlen(P); int f[m + 1]; f[0] = 0; f[1] = 0; for (int i = 1; i < m; ++i) { int j = f[i]; while (j && P[i] != P[j]) { j = f[j]; } f[i + 1] = P[i] == P[j] ? j + 1 : 0; } int j = 0; int ans = 1; for (int i = 0; i < n; ++i) { while (j && P[j] != T[i]) { j = f[j]; } if (P[j] == T[i]) { j++; } if (i == n - 1) { while (j) { j = f[j]; ans++; } } } printf("%d\n", ans); } return 0; }
[ "841815229@qq.com" ]
841815229@qq.com
b21eaf880ab66dbee692a0590975564dfe7e10e8
a904c42a45b99c6de6c95cf52ba88001740765e4
/Sources/Renderer/Swapchain/Framebuffers.cpp
35970350628c3baa1add5a8134bf95d1d04e8504
[ "MIT" ]
permissive
lineCode/Acid
0cc31acf1060f0d55631b3cbe31e540e89a44a31
573ca8ea9191f62eaab8ef89c34bf15e70e0c1e4
refs/heads/master
2020-03-28T14:29:58.922933
2018-09-12T06:35:25
2018-09-12T06:35:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,815
cpp
#include "Framebuffers.hpp" #include "Display/Display.hpp" #include "Renderer/Renderpass/Renderpass.hpp" #include "DepthStencil.hpp" namespace acid { Framebuffers::Framebuffers(const uint32_t &width, const uint32_t &height, const RenderpassCreate &renderpassCreate, const Renderpass &renderPass, const Swapchain &swapchain, const DepthStencil &depthStencil, const VkSampleCountFlagBits &samples) : m_imageAttachments(std::vector<std::shared_ptr<Texture>>()), m_framebuffers(std::vector<VkFramebuffer>()) { auto logicalDevice = Display::Get()->GetLogicalDevice(); uint32_t textureWidth = renderpassCreate.GetWidth() == 0 ? Display::Get()->GetWidth() : renderpassCreate.GetWidth(); uint32_t textureHeight = renderpassCreate.GetHeight() == 0 ? Display::Get()->GetHeight() : renderpassCreate.GetHeight(); for (auto &image : renderpassCreate.GetImages()) { VkSampleCountFlagBits imageSamples = image.GetUseMsaa() ? samples : VK_SAMPLE_COUNT_1_BIT; switch (image.GetType()) { case ATTACHMENT_IMAGE: m_imageAttachments.emplace_back(std::make_shared<Texture>(textureWidth, textureHeight, image.GetFormat(), VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, imageSamples)); break; case ATTACHMENT_DEPTH: m_imageAttachments.emplace_back(nullptr); break; case ATTACHMENT_SWAPCHAIN: m_imageAttachments.emplace_back(nullptr); break; } } m_framebuffers.resize(swapchain.GetImageCount()); for (uint32_t i = 0; i < swapchain.GetImageCount(); i++) { std::vector<VkImageView> attachments = {}; for (auto &image : renderpassCreate.GetImages()) { switch (image.GetType()) { case ATTACHMENT_IMAGE: attachments.emplace_back(GetAttachment(image.GetBinding())->GetImageView()); break; case ATTACHMENT_DEPTH: attachments.emplace_back(depthStencil.GetImageView()); break; case ATTACHMENT_SWAPCHAIN: attachments.emplace_back(swapchain.GetImageViews().at(i)); break; } } VkFramebufferCreateInfo framebufferCreateInfo = {}; framebufferCreateInfo.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO; framebufferCreateInfo.renderPass = renderPass.GetRenderpass(); framebufferCreateInfo.attachmentCount = static_cast<uint32_t>(attachments.size()); framebufferCreateInfo.pAttachments = attachments.data(); framebufferCreateInfo.width = width; framebufferCreateInfo.height = height; framebufferCreateInfo.layers = 1; Display::CheckVk(vkCreateFramebuffer(logicalDevice, &framebufferCreateInfo, nullptr, &m_framebuffers.at(i))); } } Framebuffers::~Framebuffers() { auto logicalDevice = Display::Get()->GetLogicalDevice(); for (auto &framebuffer : m_framebuffers) { vkDestroyFramebuffer(logicalDevice, framebuffer, nullptr); } } }
[ "mattparks5855@gmail.com" ]
mattparks5855@gmail.com
e66240703af34663a80be0ea47c8cd1b7db26924
352af6bd131766fd1451f4effada1e3d69f230a8
/src/xtopcom/xnetwork/src/xdiscover_message.cpp
ef85c02bdb8e24e3a1211768b122ea187f8d6700
[]
no_license
Alipipe/TOP-chain
8acbc370738af887ebf4a3d1ccee52b2813d3511
52db1c850e1ea2e60a3da7896dc89d83350d1a83
refs/heads/dev/fast_sync_develop
2023-07-02T22:37:07.787601
2021-08-14T05:35:29
2021-08-14T05:35:29
357,528,232
0
0
null
2021-04-13T11:29:16
2021-04-13T11:29:15
null
UTF-8
C++
false
false
1,427
cpp
// Copyright (c) 2017-2018 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "xnetwork/xp2p/xdiscover_message.h" NS_BEG3(top, network, p2p) constexpr std::chrono::seconds xtop_discover_message::ttl; xtop_discover_message::xtop_discover_message(xbyte_buffer_t pd, common::xnode_id_t sender_id, xdiscover_message_type_t const t) : m_payload{ std::move(pd) }, m_sender_id{ std::move(sender_id) }, m_type{ t } , m_ts{ std::chrono::duration_cast<std::chrono::seconds>((std::chrono::system_clock::now() + ttl).time_since_epoch()).count() } { } xbyte_buffer_t const & xtop_discover_message::payload() const noexcept { return m_payload; } bool xtop_discover_message::empty() const noexcept { return m_sender_id.empty() || m_payload.empty() || m_type == xdiscover_message_type_t::invalid; } common::xnode_id_t const & xtop_discover_message::sender_node_id() const noexcept { return m_sender_id; } xdiscover_message_type_t xtop_discover_message::type() const noexcept { return m_type; } bool xtop_discover_message::expired() const noexcept { return std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count() > m_ts; } NS_END3
[ "zql0114@gmail.com" ]
zql0114@gmail.com
f22a193c6bf1807635561f7130ba502a07ad1b09
146c65138cf8665918193c74a185ceab0ba7009b
/src/systemc/ext/channel/sc_signal_inout_if.hh
b272162545abf80f89c0b736ed5bdd3a112b9e4b
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
harvard-acc/gem5-aladdin
b962dd2103e938354c05d81e6843c145ac05e085
d4efbee56d71f9609eab85393eff58f5dbf7763c
refs/heads/master
2022-11-11T12:25:29.032584
2022-01-21T06:26:00
2022-01-21T06:26:00
70,526,994
194
66
BSD-3-Clause
2022-10-06T04:50:52
2016-10-10T20:41:00
C++
UTF-8
C++
false
false
2,953
hh
/* * Copyright 2018 Google, Inc. * * 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 copyright holders 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 * OWNER 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. * * Authors: Gabe Black */ #ifndef __SYSTEMC_EXT_CHANNEL_SC_SIGNAL_INOUT_IF_HH__ #define __SYSTEMC_EXT_CHANNEL_SC_SIGNAL_INOUT_IF_HH__ #include "../core/sc_interface.hh" #include "sc_signal_in_if.hh" namespace sc_core { enum sc_writer_policy { SC_ONE_WRITER, SC_MANY_WRITERS }; template <class T> class sc_signal_write_if : virtual public sc_interface { public: virtual sc_writer_policy get_writer_policy() const { return SC_ONE_WRITER; } virtual void write(const T &) = 0; protected: sc_signal_write_if() : sc_interface() {} private: // Disabled sc_signal_write_if(const sc_signal_write_if<T> &) : sc_interface() {} sc_signal_write_if<T> & operator = (const sc_signal_write_if<T> &) { return *this; } }; template <class T> class sc_signal_inout_if : public sc_signal_in_if<T>, public sc_signal_write_if<T> { protected: sc_signal_inout_if() : sc_signal_in_if<T>(), sc_signal_write_if<T>() {} private: // Disabled sc_signal_inout_if(const sc_signal_inout_if<T> &) : sc_signal_in_if<T>(), sc_signal_write_if<T>() {} sc_signal_inout_if<T> & operator = (const sc_signal_inout_if<T> &) { return *this; } }; // Deprecated. template <class T> using sc_signal_out_if = sc_signal_inout_if<T>; } // namespace sc_core #endif //__SYSTEMC_EXT_CHANNEL_SC_SIGNAL_INOUT_IF_HH__
[ "gabeblack@google.com" ]
gabeblack@google.com
5f8ea73664c53a62e4720ea7b3aa565ecd1ec36a
8018006b59b3fe62a19f77fb490ef5d5a589270b
/Player/TestMain.cpp
4ecf8ae82aec6035bc9a731c1e71bf38316a46a9
[]
no_license
ImanuelRichter/ARdevKitPlayer
d7bab175df474c7d5be8edc0cce4491aac6d1a1f
e557376d04615a6224e0b1ececfc61b2e5075ec3
refs/heads/master
2016-08-05T01:09:58.967301
2014-04-17T20:40:13
2014-04-17T20:40:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,271
cpp
#include "stdafx.h" #include "Player.h" #include "shlwapi.h" #include <QtGui/QApplication> #include <iostream> #include <stdio.h> /// <summary> /// Implements a new message handler for the qDebug() call. /// </summary> /// <param name="type">The type of the message</param> /// <param name="msg">The MSG, as string</param> void myMessageOutput(QtMsgType type, const char * msg) { switch(type) { case QtDebugMsg: fprintf(stdout,"Debug: %s\n", msg); break; case QtWarningMsg: fprintf(stdout,"Warning: %s\n", msg); break; case QtCriticalMsg: fprintf(stdout,"Critical: %s\n", msg); break; case QtFatalMsg: fprintf(stdout,"Fatal: %s\n", msg); break; } } /// <summary> /// init. /// </summary> /// <param name="argc">The argc.</param> /// <param name="argv">The argv, containing Resolution, projectPath, /// execution mode [IMAGE/VIDEO/CAMERA], testFilePath, fps</param> /// <returns>the exit code of the application</returns> int init(int argc, char *argv[]) { // Set qDebug output to std qInstallMsgHandler(myMessageOutput); // Get resolution std::string res = "Resolution: "; int i = 1; int width = 0; if (i < argc) { std::string tmp = argv[i] + 1; res += tmp + "x"; width = atoi(tmp.c_str()); i++; } int height = 0; if (i < argc) { std::string tmp = argv[i] + 1; res += tmp; height = atoi(tmp.c_str()); i++; } if (width == 0 && height == 0) qDebug("Fullscreen"); else qDebug(res.c_str()); // Get projectPath std::string projectPath; int n = i; if (i < argc) { do { if (i > n) projectPath += " "; projectPath += std::string(argv[i] + 1); i++; } while (i < argc && !((std::string(argv[i])).length() >= 2 && (argv[i][0] == '-'))); } else projectPath = "currentProject"; qDebug(("Trying to open project at: " + projectPath).c_str()); // Get mode int mode = CAMERA; if (i < argc) { mode = argv[i][1] - '0'; i++; } switch (mode) { case (IMAGE): qDebug("Mode: IMAGE"); break; case (VIDEO): qDebug("Mode: VIDEO"); break; case (CAMERA): qDebug("Mode: CAMERA"); break; } // Get testFilePath std::string testFilePath = ""; n = i; if (i < argc) { do { if (i > n) testFilePath += " "; if (i == n) testFilePath += std::string(argv[i] + 1); else testFilePath += std::string(argv[i]); i++; } while (i < argc && !((std::string(argv[i])).length() >= 2 && (argv[i][0] == '-'))); } std::ifstream testFilePathIsValid(testFilePath); if (testFilePathIsValid) qDebug(("Loading test file from valid path: " + testFilePath).c_str()); else if (testFilePath == "") qDebug("No test file defined"); else qDebug(("Invalid test file path: " + testFilePath).c_str()); // Get fps int fps = 25; if (i < argc) { fps = atoi(argv[i] + 1); i++; } char fpsOut[3]; std::string suffix = std::string(itoa(fps, fpsOut, 10)) + " fps"; qDebug(("Starting with: " + suffix).c_str()); // Start app QApplication a(argc, argv); Player p; if (width == 0 && height == 0) p.showFullScreen(); else p.resize(width, height); // Pass configurations p.setConfig(projectPath, mode, testFilePath, fps); p.show(); int exitcode = a.exec(); p.m_pScene->~SceneBase(); p.deleteLater(); return exitcode; }
[ "lachowitzer@outlook.com" ]
lachowitzer@outlook.com
faa866dd767ab4f9d60d7c70d26813d04e81812c
b53bdc4576f948e6066bbead8a93451fa1598726
/Luogu/ShengXuan/P3810(2).cpp
581e8f2758b3b5d455d350413cfc33d3222ae3b1
[]
no_license
Clouder0/AlgorithmPractice
da2e28cb60d19fe7a99e9f3d1ba99810897244a4
42faedfd9eb49d6df3d8031d883784c3514a7e8b
refs/heads/main
2023-07-08T11:07:17.631345
2023-07-06T12:15:33
2023-07-06T12:15:33
236,957,049
0
0
null
null
null
null
UTF-8
C++
false
false
2,354
cpp
#include <algorithm> #include <cstdio> template <typename T> void read(T& r) { static char c; r = 0; for (c = getchar(); c > '9' || c < '0'; c = getchar()) ; for (; c >= '0' && c <= '9'; r = (r << 1) + (r << 3) + (c ^ 48), c = getchar()) ; } const int maxn = 2e5 + 100; struct node { int a, b, c, d, cnt, id; } A[maxn], B[maxn], C[maxn]; int n, maxk, tot; bool cmp(const node& x, const node& y) { if (x.a != y.a) return x.a < y.a; if (x.b != y.b) return x.b < y.b; return x.c < y.c; } int ans[maxn]; void cdq2(int l, int r) { if (l == r) return; int mid = l + r >> 1; cdq2(l, mid), cdq2(mid + 1, r); int p = l, q = mid + 1, k = l, sum = 0; while (p <= mid && q <= r) { if (B[p].c <= B[q].c) { sum += B[p].d; C[k++] = B[p++]; } else { if (!B[q].d) ans[B[q].id] += sum; C[k++] = B[q++]; } } while (p <= mid) C[k++] = B[p++]; while (q <= r) { if (!B[q].d) ans[B[q].id] += sum; C[k++] = B[q++]; } for (int i = l; i <= r; ++i) B[i] = C[i]; } void cdq(int l, int r) { if (l == r) return; int mid = l + r >> 1; cdq(l, mid), cdq(mid + 1, r); int p = l, q = mid + 1, k = l; while (p <= mid && q <= r) { if (A[p].b <= A[q].b) { A[p].d = A[p].cnt; B[k++] = A[p++]; } else { A[q].d = 0; B[k++] = A[q++]; } } while (p <= mid) A[p].d = A[p].cnt, B[k++] = A[p++]; while (q <= r) A[q].d = 0, B[k++] = A[q++]; for (int i = l; i <= r; ++i) A[i] = B[i]; cdq2(l, r); } int d[maxn]; int main() { read(n), read(maxk); for (int i = 1; i <= n; ++i) read(B[i].a), read(B[i].b), read(B[i].c), B[i].cnt = 1, B[i].id = i; std::sort(B + 1, B + 1 + n, cmp); for (int i = 1; i <= n; ++i) { if (B[i].a == B[i + 1].a && B[i].b == B[i + 1].b && B[i].c == B[i + 1].c) B[i + 1].cnt += B[i].cnt; else A[++tot] = B[i]; } cdq(1, tot); for (int i = 1; i <= tot; ++i) d[ans[A[i].id] + A[i].cnt] += A[i].cnt; for (int i = 1; i <= n; ++i) printf("%d\n", d[i]); return 0; }
[ "clouder0@outlook.com" ]
clouder0@outlook.com
6e1295e08d1a1985442abf4c4a135a27a047a670
52b592b0cf6509443660d670bb6f33d9e3e03f39
/170817_frameWork2D/mainGame.cpp
49cfe85e815310d1317e34cc34e88401d42c7a48
[]
no_license
choi92727/relicHunterZero
e44bbc189f21c4f32367d479e687a8cdeb63a50e
bd24a91c70126c2094834862a33f6535d3f4b085
refs/heads/master
2021-01-20T23:09:01.593801
2017-09-01T06:59:12
2017-09-01T06:59:12
101,840,329
0
0
null
2017-09-03T17:23:03
2017-08-30T05:11:59
C
UHC
C++
false
false
875
cpp
#include "stdafx.h" #include "mainGame.h" mainGame::mainGame() { } mainGame::~mainGame() { } HRESULT mainGame::init() { gameNode::init(true); SCENEMANAGER->addScene("loadingGame", new loadingGame); SCENEMANAGER->changeScene("loadingGame"); return S_OK; } void mainGame::release() { gameNode::release(); } void mainGame::update() { gameNode::update(); SCENEMANAGER->update(); EFFECTMANAGER->update(); ANIMATIONMANAGER->update(); } void mainGame::render() { //흰색 빈 비트맵 PatBlt(getMemDC(), 0, 0, WINSIZEX, WINSIZEY, WHITENESS); //================================================= SCENEMANAGER->render(); EFFECTMANAGER->render(); TIMEMANAGER->render(getMemDC()); //================================================= //백버퍼의 내용을 HDC에 그린다.(이것도 지우지 말것!) this->getBackBuffer()->render(getHDC()); }
[ "choi92727@gmail.com" ]
choi92727@gmail.com
71aab7b00bb0ff10edf3ed1fe272eb2f15e6d2f8
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/third_party/woff2/src/woff2_dec.cc
ee85fad72bfd36c65d6e629f8f232a7590b74b85
[ "BSD-3-Clause", "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL-1.0-or-later" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
44,155
cc
// Copyright 2014 Google Inc. 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. // // Library for converting WOFF2 format font files to their TTF versions. #include "./woff2_dec.h" #include <stdlib.h> #include <algorithm> #include <complex> #include <cstring> #include <limits> #include <string> #include <vector> #include <map> #include <memory> #include <utility> #include "./brotli/decode.h" #include "./buffer.h" #include "./port.h" #include "./round.h" #include "./store_bytes.h" #include "./table_tags.h" #include "./variable_length.h" #include "./woff2_common.h" namespace woff2 { namespace { using std::string; using std::vector; // simple glyph flags const int kGlyfOnCurve = 1 << 0; const int kGlyfXShort = 1 << 1; const int kGlyfYShort = 1 << 2; const int kGlyfRepeat = 1 << 3; const int kGlyfThisXIsSame = 1 << 4; const int kGlyfThisYIsSame = 1 << 5; // composite glyph flags // See CompositeGlyph.java in sfntly for full definitions const int FLAG_ARG_1_AND_2_ARE_WORDS = 1 << 0; const int FLAG_WE_HAVE_A_SCALE = 1 << 3; const int FLAG_MORE_COMPONENTS = 1 << 5; const int FLAG_WE_HAVE_AN_X_AND_Y_SCALE = 1 << 6; const int FLAG_WE_HAVE_A_TWO_BY_TWO = 1 << 7; const int FLAG_WE_HAVE_INSTRUCTIONS = 1 << 8; const size_t kCheckSumAdjustmentOffset = 8; const size_t kEndPtsOfContoursOffset = 10; const size_t kCompositeGlyphBegin = 10; // 98% of Google Fonts have no glyph above 5k bytes // Largest glyph ever observed was 72k bytes const size_t kDefaultGlyphBuf = 5120; // Over 14k test fonts the max compression ratio seen to date was ~20. // >100 suggests you wrote a bad uncompressed size. const float kMaxPlausibleCompressionRatio = 100.0; // metadata for a TTC font entry struct TtcFont { uint32_t flavor; uint32_t dst_offset; uint32_t header_checksum; std::vector<uint16_t> table_indices; }; struct WOFF2Header { uint32_t flavor; uint32_t header_version; uint16_t num_tables; uint64_t compressed_offset; uint32_t compressed_length; uint32_t uncompressed_size; std::vector<Table> tables; // num_tables unique tables std::vector<TtcFont> ttc_fonts; // metadata to help rebuild font }; /** * Accumulates data we may need to reconstruct a single font. One per font * created for a TTC. */ struct WOFF2FontInfo { uint16_t num_glyphs; uint16_t index_format; uint16_t num_hmetrics; std::vector<int16_t> x_mins; std::map<uint32_t, uint32_t> table_entry_by_tag; }; // Accumulates metadata as we rebuild the font struct RebuildMetadata { uint32_t header_checksum; // set by WriteHeaders std::vector<WOFF2FontInfo> font_infos; // checksums for tables that have been written. // (tag, src_offset) => checksum. Need both because 0-length loca. std::map<std::pair<uint32_t, uint32_t>, uint32_t> checksums; }; int WithSign(int flag, int baseval) { // Precondition: 0 <= baseval < 65536 (to avoid integer overflow) return (flag & 1) ? baseval : -baseval; } bool TripletDecode(const uint8_t* flags_in, const uint8_t* in, size_t in_size, unsigned int n_points, Point* result, size_t* in_bytes_consumed) { int x = 0; int y = 0; if (PREDICT_FALSE(n_points > in_size)) { return FONT_COMPRESSION_FAILURE(); } unsigned int triplet_index = 0; for (unsigned int i = 0; i < n_points; ++i) { uint8_t flag = flags_in[i]; bool on_curve = !(flag >> 7); flag &= 0x7f; unsigned int n_data_bytes; if (flag < 84) { n_data_bytes = 1; } else if (flag < 120) { n_data_bytes = 2; } else if (flag < 124) { n_data_bytes = 3; } else { n_data_bytes = 4; } if (PREDICT_FALSE(triplet_index + n_data_bytes > in_size || triplet_index + n_data_bytes < triplet_index)) { return FONT_COMPRESSION_FAILURE(); } int dx, dy; if (flag < 10) { dx = 0; dy = WithSign(flag, ((flag & 14) << 7) + in[triplet_index]); } else if (flag < 20) { dx = WithSign(flag, (((flag - 10) & 14) << 7) + in[triplet_index]); dy = 0; } else if (flag < 84) { int b0 = flag - 20; int b1 = in[triplet_index]; dx = WithSign(flag, 1 + (b0 & 0x30) + (b1 >> 4)); dy = WithSign(flag >> 1, 1 + ((b0 & 0x0c) << 2) + (b1 & 0x0f)); } else if (flag < 120) { int b0 = flag - 84; dx = WithSign(flag, 1 + ((b0 / 12) << 8) + in[triplet_index]); dy = WithSign(flag >> 1, 1 + (((b0 % 12) >> 2) << 8) + in[triplet_index + 1]); } else if (flag < 124) { int b2 = in[triplet_index + 1]; dx = WithSign(flag, (in[triplet_index] << 4) + (b2 >> 4)); dy = WithSign(flag >> 1, ((b2 & 0x0f) << 8) + in[triplet_index + 2]); } else { dx = WithSign(flag, (in[triplet_index] << 8) + in[triplet_index + 1]); dy = WithSign(flag >> 1, (in[triplet_index + 2] << 8) + in[triplet_index + 3]); } triplet_index += n_data_bytes; // Possible overflow but coordinate values are not security sensitive x += dx; y += dy; *result++ = {x, y, on_curve}; } *in_bytes_consumed = triplet_index; return true; } // This function stores just the point data. On entry, dst points to the // beginning of a simple glyph. Returns true on success. bool StorePoints(unsigned int n_points, const Point* points, unsigned int n_contours, unsigned int instruction_length, uint8_t* dst, size_t dst_size, size_t* glyph_size) { // I believe that n_contours < 65536, in which case this is safe. However, a // comment and/or an assert would be good. unsigned int flag_offset = kEndPtsOfContoursOffset + 2 * n_contours + 2 + instruction_length; int last_flag = -1; int repeat_count = 0; int last_x = 0; int last_y = 0; unsigned int x_bytes = 0; unsigned int y_bytes = 0; for (unsigned int i = 0; i < n_points; ++i) { const Point& point = points[i]; int flag = point.on_curve ? kGlyfOnCurve : 0; int dx = point.x - last_x; int dy = point.y - last_y; if (dx == 0) { flag |= kGlyfThisXIsSame; } else if (dx > -256 && dx < 256) { flag |= kGlyfXShort | (dx > 0 ? kGlyfThisXIsSame : 0); x_bytes += 1; } else { x_bytes += 2; } if (dy == 0) { flag |= kGlyfThisYIsSame; } else if (dy > -256 && dy < 256) { flag |= kGlyfYShort | (dy > 0 ? kGlyfThisYIsSame : 0); y_bytes += 1; } else { y_bytes += 2; } if (flag == last_flag && repeat_count != 255) { dst[flag_offset - 1] |= kGlyfRepeat; repeat_count++; } else { if (repeat_count != 0) { if (PREDICT_FALSE(flag_offset >= dst_size)) { return FONT_COMPRESSION_FAILURE(); } dst[flag_offset++] = repeat_count; } if (PREDICT_FALSE(flag_offset >= dst_size)) { return FONT_COMPRESSION_FAILURE(); } dst[flag_offset++] = flag; repeat_count = 0; } last_x = point.x; last_y = point.y; last_flag = flag; } if (repeat_count != 0) { if (PREDICT_FALSE(flag_offset >= dst_size)) { return FONT_COMPRESSION_FAILURE(); } dst[flag_offset++] = repeat_count; } unsigned int xy_bytes = x_bytes + y_bytes; if (PREDICT_FALSE(xy_bytes < x_bytes || flag_offset + xy_bytes < flag_offset || flag_offset + xy_bytes > dst_size)) { return FONT_COMPRESSION_FAILURE(); } int x_offset = flag_offset; int y_offset = flag_offset + x_bytes; last_x = 0; last_y = 0; for (unsigned int i = 0; i < n_points; ++i) { int dx = points[i].x - last_x; if (dx == 0) { // pass } else if (dx > -256 && dx < 256) { dst[x_offset++] = std::abs(dx); } else { // will always fit for valid input, but overflow is harmless x_offset = Store16(dst, x_offset, dx); } last_x += dx; int dy = points[i].y - last_y; if (dy == 0) { // pass } else if (dy > -256 && dy < 256) { dst[y_offset++] = std::abs(dy); } else { y_offset = Store16(dst, y_offset, dy); } last_y += dy; } *glyph_size = y_offset; return true; } // Compute the bounding box of the coordinates, and store into a glyf buffer. // A precondition is that there are at least 10 bytes available. // dst should point to the beginning of a 'glyf' record. void ComputeBbox(unsigned int n_points, const Point* points, uint8_t* dst) { int x_min = 0; int y_min = 0; int x_max = 0; int y_max = 0; if (n_points > 0) { x_min = points[0].x; x_max = points[0].x; y_min = points[0].y; y_max = points[0].y; } for (unsigned int i = 1; i < n_points; ++i) { int x = points[i].x; int y = points[i].y; x_min = std::min(x, x_min); x_max = std::max(x, x_max); y_min = std::min(y, y_min); y_max = std::max(y, y_max); } size_t offset = 2; offset = Store16(dst, offset, x_min); offset = Store16(dst, offset, y_min); offset = Store16(dst, offset, x_max); offset = Store16(dst, offset, y_max); } bool SizeOfComposite(Buffer composite_stream, size_t* size, bool* have_instructions) { size_t start_offset = composite_stream.offset(); bool we_have_instructions = false; uint16_t flags = FLAG_MORE_COMPONENTS; while (flags & FLAG_MORE_COMPONENTS) { if (PREDICT_FALSE(!composite_stream.ReadU16(&flags))) { return FONT_COMPRESSION_FAILURE(); } we_have_instructions |= (flags & FLAG_WE_HAVE_INSTRUCTIONS) != 0; size_t arg_size = 2; // glyph index if (flags & FLAG_ARG_1_AND_2_ARE_WORDS) { arg_size += 4; } else { arg_size += 2; } if (flags & FLAG_WE_HAVE_A_SCALE) { arg_size += 2; } else if (flags & FLAG_WE_HAVE_AN_X_AND_Y_SCALE) { arg_size += 4; } else if (flags & FLAG_WE_HAVE_A_TWO_BY_TWO) { arg_size += 8; } if (PREDICT_FALSE(!composite_stream.Skip(arg_size))) { return FONT_COMPRESSION_FAILURE(); } } *size = composite_stream.offset() - start_offset; *have_instructions = we_have_instructions; return true; } bool Pad4(WOFF2Out* out) { uint8_t zeroes[] = {0, 0, 0}; if (PREDICT_FALSE(out->Size() + 3 < out->Size())) { return FONT_COMPRESSION_FAILURE(); } uint32_t pad_bytes = Round4(out->Size()) - out->Size(); if (pad_bytes > 0) { if (PREDICT_FALSE(!out->Write(&zeroes, pad_bytes))) { return FONT_COMPRESSION_FAILURE(); } } return true; } // Build TrueType loca table bool StoreLoca(const std::vector<uint32_t>& loca_values, int index_format, uint32_t* checksum, WOFF2Out* out) { // TODO(user) figure out what index format to use based on whether max // offset fits into uint16_t or not const uint64_t loca_size = loca_values.size(); const uint64_t offset_size = index_format ? 4 : 2; if (PREDICT_FALSE((loca_size << 2) >> 2 != loca_size)) { return FONT_COMPRESSION_FAILURE(); } std::vector<uint8_t> loca_content(loca_size * offset_size); uint8_t* dst = &loca_content[0]; size_t offset = 0; for (size_t i = 0; i < loca_values.size(); ++i) { uint32_t value = loca_values[i]; if (index_format) { offset = StoreU32(dst, offset, value); } else { offset = Store16(dst, offset, value >> 1); } } *checksum = ComputeULongSum(&loca_content[0], loca_content.size()); if (PREDICT_FALSE(!out->Write(&loca_content[0], loca_content.size()))) { return FONT_COMPRESSION_FAILURE(); } return true; } // Reconstruct entire glyf table based on transformed original bool ReconstructGlyf(const uint8_t* data, Table* glyf_table, uint32_t* glyf_checksum, Table * loca_table, uint32_t* loca_checksum, WOFF2FontInfo* info, WOFF2Out* out) { static const int kNumSubStreams = 7; Buffer file(data, glyf_table->transform_length); uint32_t version; std::vector<std::pair<const uint8_t*, size_t> > substreams(kNumSubStreams); const size_t glyf_start = out->Size(); if (PREDICT_FALSE(!file.ReadU32(&version))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!file.ReadU16(&info->num_glyphs) || !file.ReadU16(&info->index_format))) { return FONT_COMPRESSION_FAILURE(); } unsigned int offset = (2 + kNumSubStreams) * 4; if (PREDICT_FALSE(offset > glyf_table->transform_length)) { return FONT_COMPRESSION_FAILURE(); } // Invariant from here on: data_size >= offset for (int i = 0; i < kNumSubStreams; ++i) { uint32_t substream_size; if (PREDICT_FALSE(!file.ReadU32(&substream_size))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(substream_size > glyf_table->transform_length - offset)) { return FONT_COMPRESSION_FAILURE(); } substreams[i] = std::make_pair(data + offset, substream_size); offset += substream_size; } Buffer n_contour_stream(substreams[0].first, substreams[0].second); Buffer n_points_stream(substreams[1].first, substreams[1].second); Buffer flag_stream(substreams[2].first, substreams[2].second); Buffer glyph_stream(substreams[3].first, substreams[3].second); Buffer composite_stream(substreams[4].first, substreams[4].second); Buffer bbox_stream(substreams[5].first, substreams[5].second); Buffer instruction_stream(substreams[6].first, substreams[6].second); std::vector<uint32_t> loca_values(info->num_glyphs + 1); std::vector<unsigned int> n_points_vec; std::unique_ptr<Point[]> points; size_t points_size = 0; const uint8_t* bbox_bitmap = bbox_stream.buffer(); // Safe because num_glyphs is bounded unsigned int bitmap_length = ((info->num_glyphs + 31) >> 5) << 2; if (!bbox_stream.Skip(bitmap_length)) { return FONT_COMPRESSION_FAILURE(); } // Temp buffer for glyph's. size_t glyph_buf_size = kDefaultGlyphBuf; std::unique_ptr<uint8_t[]> glyph_buf(new uint8_t[glyph_buf_size]); info->x_mins.resize(info->num_glyphs); for (unsigned int i = 0; i < info->num_glyphs; ++i) { size_t glyph_size = 0; uint16_t n_contours = 0; bool have_bbox = false; if (bbox_bitmap[i >> 3] & (0x80 >> (i & 7))) { have_bbox = true; } if (PREDICT_FALSE(!n_contour_stream.ReadU16(&n_contours))) { return FONT_COMPRESSION_FAILURE(); } if (n_contours == 0xffff) { // composite glyph bool have_instructions = false; unsigned int instruction_size = 0; if (PREDICT_FALSE(!have_bbox)) { // composite glyphs must have an explicit bbox return FONT_COMPRESSION_FAILURE(); } size_t composite_size; if (PREDICT_FALSE(!SizeOfComposite(composite_stream, &composite_size, &have_instructions))) { return FONT_COMPRESSION_FAILURE(); } if (have_instructions) { if (PREDICT_FALSE(!Read255UShort(&glyph_stream, &instruction_size))) { return FONT_COMPRESSION_FAILURE(); } } size_t size_needed = 12 + composite_size + instruction_size; if (PREDICT_FALSE(glyph_buf_size < size_needed)) { glyph_buf.reset(new uint8_t[size_needed]); glyph_buf_size = size_needed; } glyph_size = Store16(glyph_buf.get(), glyph_size, n_contours); if (PREDICT_FALSE(!bbox_stream.Read(glyph_buf.get() + glyph_size, 8))) { return FONT_COMPRESSION_FAILURE(); } glyph_size += 8; if (PREDICT_FALSE(!composite_stream.Read(glyph_buf.get() + glyph_size, composite_size))) { return FONT_COMPRESSION_FAILURE(); } glyph_size += composite_size; if (have_instructions) { glyph_size = Store16(glyph_buf.get(), glyph_size, instruction_size); if (PREDICT_FALSE(!instruction_stream.Read(glyph_buf.get() + glyph_size, instruction_size))) { return FONT_COMPRESSION_FAILURE(); } glyph_size += instruction_size; } } else if (n_contours > 0) { // simple glyph n_points_vec.clear(); unsigned int total_n_points = 0; unsigned int n_points_contour; for (unsigned int j = 0; j < n_contours; ++j) { if (PREDICT_FALSE( !Read255UShort(&n_points_stream, &n_points_contour))) { return FONT_COMPRESSION_FAILURE(); } n_points_vec.push_back(n_points_contour); if (PREDICT_FALSE(total_n_points + n_points_contour < total_n_points)) { return FONT_COMPRESSION_FAILURE(); } total_n_points += n_points_contour; } unsigned int flag_size = total_n_points; if (PREDICT_FALSE( flag_size > flag_stream.length() - flag_stream.offset())) { return FONT_COMPRESSION_FAILURE(); } const uint8_t* flags_buf = flag_stream.buffer() + flag_stream.offset(); const uint8_t* triplet_buf = glyph_stream.buffer() + glyph_stream.offset(); size_t triplet_size = glyph_stream.length() - glyph_stream.offset(); size_t triplet_bytes_consumed = 0; if (points_size < total_n_points) { points_size = total_n_points; points.reset(new Point[points_size]); } if (PREDICT_FALSE(!TripletDecode(flags_buf, triplet_buf, triplet_size, total_n_points, points.get(), &triplet_bytes_consumed))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!flag_stream.Skip(flag_size))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!glyph_stream.Skip(triplet_bytes_consumed))) { return FONT_COMPRESSION_FAILURE(); } unsigned int instruction_size; if (PREDICT_FALSE(!Read255UShort(&glyph_stream, &instruction_size))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(total_n_points >= (1 << 27) || instruction_size >= (1 << 30))) { return FONT_COMPRESSION_FAILURE(); } size_t size_needed = 12 + 2 * n_contours + 5 * total_n_points + instruction_size; if (PREDICT_FALSE(glyph_buf_size < size_needed)) { glyph_buf.reset(new uint8_t[size_needed]); glyph_buf_size = size_needed; } glyph_size = Store16(glyph_buf.get(), glyph_size, n_contours); if (have_bbox) { if (PREDICT_FALSE(!bbox_stream.Read(glyph_buf.get() + glyph_size, 8))) { return FONT_COMPRESSION_FAILURE(); } } else { ComputeBbox(total_n_points, points.get(), glyph_buf.get()); } glyph_size = kEndPtsOfContoursOffset; int end_point = -1; for (unsigned int contour_ix = 0; contour_ix < n_contours; ++contour_ix) { end_point += n_points_vec[contour_ix]; if (PREDICT_FALSE(end_point >= 65536)) { return FONT_COMPRESSION_FAILURE(); } glyph_size = Store16(glyph_buf.get(), glyph_size, end_point); } glyph_size = Store16(glyph_buf.get(), glyph_size, instruction_size); if (PREDICT_FALSE(!instruction_stream.Read(glyph_buf.get() + glyph_size, instruction_size))) { return FONT_COMPRESSION_FAILURE(); } glyph_size += instruction_size; if (PREDICT_FALSE(!StorePoints(total_n_points, points.get(), n_contours, instruction_size, glyph_buf.get(), glyph_buf_size, &glyph_size))) { return FONT_COMPRESSION_FAILURE(); } } loca_values[i] = out->Size() - glyf_start; if (PREDICT_FALSE(!out->Write(glyph_buf.get(), glyph_size))) { return FONT_COMPRESSION_FAILURE(); } // TODO(user) Old code aligned glyphs ... but do we actually need to? if (PREDICT_FALSE(!Pad4(out))) { return FONT_COMPRESSION_FAILURE(); } *glyf_checksum += ComputeULongSum(glyph_buf.get(), glyph_size); // We may need x_min to reconstruct 'hmtx' if (n_contours > 0) { Buffer x_min_buf(glyph_buf.get() + 2, 2); if (PREDICT_FALSE(!x_min_buf.ReadS16(&info->x_mins[i]))) { return FONT_COMPRESSION_FAILURE(); } } } // glyf_table dst_offset was set by ReconstructFont glyf_table->dst_length = out->Size() - glyf_table->dst_offset; loca_table->dst_offset = out->Size(); // loca[n] will be equal the length of the glyph data ('glyf') table loca_values[info->num_glyphs] = glyf_table->dst_length; if (PREDICT_FALSE(!StoreLoca(loca_values, info->index_format, loca_checksum, out))) { return FONT_COMPRESSION_FAILURE(); } loca_table->dst_length = out->Size() - loca_table->dst_offset; return true; } Table* FindTable(std::vector<Table*>* tables, uint32_t tag) { for (Table* table : *tables) { if (table->tag == tag) { return table; } } return NULL; } // Get numberOfHMetrics, https://www.microsoft.com/typography/otspec/hhea.htm bool ReadNumHMetrics(const uint8_t* data, size_t data_size, uint16_t* num_hmetrics) { // Skip 34 to reach 'hhea' numberOfHMetrics Buffer buffer(data, data_size); if (PREDICT_FALSE(!buffer.Skip(34) || !buffer.ReadU16(num_hmetrics))) { return FONT_COMPRESSION_FAILURE(); } return true; } // http://dev.w3.org/webfonts/WOFF2/spec/Overview.html#hmtx_table_format bool ReconstructTransformedHmtx(const uint8_t* transformed_buf, size_t transformed_size, uint16_t num_glyphs, uint16_t num_hmetrics, const std::vector<int16_t>& x_mins, uint32_t* checksum, WOFF2Out* out) { Buffer hmtx_buff_in(transformed_buf, transformed_size); uint8_t hmtx_flags; if (PREDICT_FALSE(!hmtx_buff_in.ReadU8(&hmtx_flags))) { return FONT_COMPRESSION_FAILURE(); } std::vector<uint16_t> advance_widths; std::vector<int16_t> lsbs; bool has_proportional_lsbs = (hmtx_flags & 1) == 0; bool has_monospace_lsbs = (hmtx_flags & 2) == 0; // you say you transformed but there is little evidence of it if (has_proportional_lsbs && has_monospace_lsbs) { return FONT_COMPRESSION_FAILURE(); } assert(x_mins.size() == num_glyphs); // num_glyphs 0 is OK if there is no 'glyf' but cannot then xform 'hmtx'. if (PREDICT_FALSE(num_hmetrics > num_glyphs)) { return FONT_COMPRESSION_FAILURE(); } // https://www.microsoft.com/typography/otspec/hmtx.htm // "...only one entry need be in the array, but that entry is required." if (PREDICT_FALSE(num_hmetrics < 1)) { return FONT_COMPRESSION_FAILURE(); } for (uint16_t i = 0; i < num_hmetrics; i++) { uint16_t advance_width; if (PREDICT_FALSE(!hmtx_buff_in.ReadU16(&advance_width))) { return FONT_COMPRESSION_FAILURE(); } advance_widths.push_back(advance_width); } for (uint16_t i = 0; i < num_hmetrics; i++) { int16_t lsb; if (has_proportional_lsbs) { if (PREDICT_FALSE(!hmtx_buff_in.ReadS16(&lsb))) { return FONT_COMPRESSION_FAILURE(); } } else { lsb = x_mins[i]; } lsbs.push_back(lsb); } for (uint16_t i = num_hmetrics; i < num_glyphs; i++) { int16_t lsb; if (has_monospace_lsbs) { if (PREDICT_FALSE(!hmtx_buff_in.ReadS16(&lsb))) { return FONT_COMPRESSION_FAILURE(); } } else { lsb = x_mins[i]; } lsbs.push_back(lsb); } // bake me a shiny new hmtx table uint32_t hmtx_output_size = 2 * num_glyphs + 2 * num_hmetrics; std::vector<uint8_t> hmtx_table(hmtx_output_size); uint8_t* dst = &hmtx_table[0]; size_t dst_offset = 0; for (uint32_t i = 0; i < num_glyphs; i++) { if (i < num_hmetrics) { Store16(advance_widths[i], &dst_offset, dst); } Store16(lsbs[i], &dst_offset, dst); } *checksum = ComputeULongSum(&hmtx_table[0], hmtx_output_size); if (PREDICT_FALSE(!out->Write(&hmtx_table[0], hmtx_output_size))) { return FONT_COMPRESSION_FAILURE(); } return true; } bool Woff2Uncompress(uint8_t* dst_buf, size_t dst_size, const uint8_t* src_buf, size_t src_size) { size_t uncompressed_size = dst_size; BrotliDecoderResult result = BrotliDecoderDecompress( src_size, src_buf, &uncompressed_size, dst_buf); if (PREDICT_FALSE(result != BROTLI_DECODER_RESULT_SUCCESS || uncompressed_size != dst_size)) { return FONT_COMPRESSION_FAILURE(); } return true; } bool ReadTableDirectory(Buffer* file, std::vector<Table>* tables, size_t num_tables) { uint32_t src_offset = 0; for (size_t i = 0; i < num_tables; ++i) { Table* table = &(*tables)[i]; uint8_t flag_byte; if (PREDICT_FALSE(!file->ReadU8(&flag_byte))) { return FONT_COMPRESSION_FAILURE(); } uint32_t tag; if ((flag_byte & 0x3f) == 0x3f) { if (PREDICT_FALSE(!file->ReadU32(&tag))) { return FONT_COMPRESSION_FAILURE(); } } else { tag = kKnownTags[flag_byte & 0x3f]; } uint32_t flags = 0; uint8_t xform_version = (flag_byte >> 6) & 0x03; // 0 means xform for glyph/loca, non-0 for others if (tag == kGlyfTableTag || tag == kLocaTableTag) { if (xform_version == 0) { flags |= kWoff2FlagsTransform; } } else if (xform_version != 0) { flags |= kWoff2FlagsTransform; } flags |= xform_version; uint32_t dst_length; if (PREDICT_FALSE(!ReadBase128(file, &dst_length))) { return FONT_COMPRESSION_FAILURE(); } uint32_t transform_length = dst_length; if ((flags & kWoff2FlagsTransform) != 0) { if (PREDICT_FALSE(!ReadBase128(file, &transform_length))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(tag == kLocaTableTag && transform_length)) { return FONT_COMPRESSION_FAILURE(); } } if (PREDICT_FALSE(src_offset + transform_length < src_offset)) { return FONT_COMPRESSION_FAILURE(); } table->src_offset = src_offset; table->src_length = transform_length; src_offset += transform_length; table->tag = tag; table->flags = flags; table->transform_length = transform_length; table->dst_length = dst_length; } return true; } // Writes a single Offset Table entry size_t StoreOffsetTable(uint8_t* result, size_t offset, uint32_t flavor, uint16_t num_tables) { offset = StoreU32(result, offset, flavor); // sfnt version offset = Store16(result, offset, num_tables); // num_tables unsigned max_pow2 = 0; while (1u << (max_pow2 + 1) <= num_tables) { max_pow2++; } const uint16_t output_search_range = (1u << max_pow2) << 4; offset = Store16(result, offset, output_search_range); // searchRange offset = Store16(result, offset, max_pow2); // entrySelector // rangeShift offset = Store16(result, offset, (num_tables << 4) - output_search_range); return offset; } size_t StoreTableEntry(uint8_t* result, uint32_t offset, uint32_t tag) { offset = StoreU32(result, offset, tag); offset = StoreU32(result, offset, 0); offset = StoreU32(result, offset, 0); offset = StoreU32(result, offset, 0); return offset; } // First table goes after all the headers, table directory, etc uint64_t ComputeOffsetToFirstTable(const WOFF2Header& hdr) { uint64_t offset = kSfntHeaderSize + kSfntEntrySize * static_cast<uint64_t>(hdr.num_tables); if (hdr.header_version) { offset = CollectionHeaderSize(hdr.header_version, hdr.ttc_fonts.size()) + kSfntHeaderSize * hdr.ttc_fonts.size(); for (const auto& ttc_font : hdr.ttc_fonts) { offset += kSfntEntrySize * ttc_font.table_indices.size(); } } return offset; } std::vector<Table*> Tables(WOFF2Header* hdr, size_t font_index) { std::vector<Table*> tables; if (PREDICT_FALSE(hdr->header_version)) { for (auto index : hdr->ttc_fonts[font_index].table_indices) { tables.push_back(&hdr->tables[index]); } } else { for (auto& table : hdr->tables) { tables.push_back(&table); } } return tables; } // Offset tables assumed to have been written in with 0's initially. // WOFF2Header isn't const so we can use [] instead of at() (which upsets FF) bool ReconstructFont(uint8_t* transformed_buf, const uint32_t transformed_buf_size, RebuildMetadata* metadata, WOFF2Header* hdr, size_t font_index, WOFF2Out* out) { size_t dest_offset = out->Size(); uint8_t table_entry[12]; WOFF2FontInfo* info = &metadata->font_infos[font_index]; std::vector<Table*> tables = Tables(hdr, font_index); // 'glyf' without 'loca' doesn't make sense if (PREDICT_FALSE(static_cast<bool>(FindTable(&tables, kGlyfTableTag)) != static_cast<bool>(FindTable(&tables, kLocaTableTag)))) { return FONT_COMPRESSION_FAILURE(); } uint32_t font_checksum = metadata->header_checksum; if (hdr->header_version) { font_checksum = hdr->ttc_fonts[font_index].header_checksum; } uint32_t loca_checksum = 0; for (size_t i = 0; i < tables.size(); i++) { Table& table = *tables[i]; std::pair<uint32_t, uint32_t> checksum_key = {table.tag, table.src_offset}; bool reused = metadata->checksums.find(checksum_key) != metadata->checksums.end(); if (PREDICT_FALSE(font_index == 0 && reused)) { return FONT_COMPRESSION_FAILURE(); } // TODO(user) a collection with optimized hmtx that reused glyf/loca // would fail. We don't optimize hmtx for collections yet. if (PREDICT_FALSE(static_cast<uint64_t>(table.src_offset + table.src_length) > transformed_buf_size)) { return FONT_COMPRESSION_FAILURE(); } if (table.tag == kHheaTableTag) { if (!ReadNumHMetrics(transformed_buf + table.src_offset, table.src_length, &info->num_hmetrics)) { return FONT_COMPRESSION_FAILURE(); } } uint32_t checksum = 0; if (!reused) { if ((table.flags & kWoff2FlagsTransform) != kWoff2FlagsTransform) { if (table.tag == kHeadTableTag) { if (PREDICT_FALSE(table.src_length < 12)) { return FONT_COMPRESSION_FAILURE(); } // checkSumAdjustment = 0 StoreU32(transformed_buf + table.src_offset, 8, 0); } table.dst_offset = dest_offset; checksum = ComputeULongSum(transformed_buf + table.src_offset, table.src_length); if (PREDICT_FALSE(!out->Write(transformed_buf + table.src_offset, table.src_length))) { return FONT_COMPRESSION_FAILURE(); } } else { if (table.tag == kGlyfTableTag) { table.dst_offset = dest_offset; Table* loca_table = FindTable(&tables, kLocaTableTag); if (PREDICT_FALSE(!ReconstructGlyf(transformed_buf + table.src_offset, &table, &checksum, loca_table, &loca_checksum, info, out))) { return FONT_COMPRESSION_FAILURE(); } } else if (table.tag == kLocaTableTag) { // All the work was done by ReconstructGlyf. We already know checksum. checksum = loca_checksum; } else if (table.tag == kHmtxTableTag) { table.dst_offset = dest_offset; // Tables are sorted so all the info we need has been gathered. if (PREDICT_FALSE(!ReconstructTransformedHmtx( transformed_buf + table.src_offset, table.src_length, info->num_glyphs, info->num_hmetrics, info->x_mins, &checksum, out))) { return FONT_COMPRESSION_FAILURE(); } } else { return FONT_COMPRESSION_FAILURE(); // transform unknown } } metadata->checksums[checksum_key] = checksum; } else { checksum = metadata->checksums[checksum_key]; } font_checksum += checksum; // update the table entry with real values. StoreU32(table_entry, 0, checksum); StoreU32(table_entry, 4, table.dst_offset); StoreU32(table_entry, 8, table.dst_length); if (PREDICT_FALSE(!out->Write(table_entry, info->table_entry_by_tag[table.tag] + 4, 12))) { return FONT_COMPRESSION_FAILURE(); } // We replaced 0's. Update overall checksum. font_checksum += ComputeULongSum(table_entry, 12); if (PREDICT_FALSE(!Pad4(out))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(static_cast<uint64_t>(table.dst_offset + table.dst_length) > out->Size())) { return FONT_COMPRESSION_FAILURE(); } dest_offset = out->Size(); } // Update 'head' checkSumAdjustment. We already set it to 0 and summed font. Table* head_table = FindTable(&tables, kHeadTableTag); if (head_table) { if (PREDICT_FALSE(head_table->dst_length < 12)) { return FONT_COMPRESSION_FAILURE(); } uint8_t checksum_adjustment[4]; StoreU32(checksum_adjustment, 0, 0xB1B0AFBA - font_checksum); if (PREDICT_FALSE(!out->Write(checksum_adjustment, head_table->dst_offset + 8, 4))) { return FONT_COMPRESSION_FAILURE(); } } return true; } bool ReadWOFF2Header(const uint8_t* data, size_t length, WOFF2Header* hdr) { Buffer file(data, length); uint32_t signature; if (PREDICT_FALSE(!file.ReadU32(&signature) || signature != kWoff2Signature || !file.ReadU32(&hdr->flavor))) { return FONT_COMPRESSION_FAILURE(); } // TODO(user): Should call IsValidVersionTag() here. uint32_t reported_length; if (PREDICT_FALSE( !file.ReadU32(&reported_length) || length != reported_length)) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!file.ReadU16(&hdr->num_tables) || !hdr->num_tables)) { return FONT_COMPRESSION_FAILURE(); } // We don't care about these fields of the header: // uint16_t reserved // uint32_t total_sfnt_size, we don't believe this, will compute later if (PREDICT_FALSE(!file.Skip(6))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!file.ReadU32(&hdr->compressed_length))) { return FONT_COMPRESSION_FAILURE(); } // We don't care about these fields of the header: // uint16_t major_version, minor_version if (PREDICT_FALSE(!file.Skip(2 * 2))) { return FONT_COMPRESSION_FAILURE(); } uint32_t meta_offset; uint32_t meta_length; uint32_t meta_length_orig; if (PREDICT_FALSE(!file.ReadU32(&meta_offset) || !file.ReadU32(&meta_length) || !file.ReadU32(&meta_length_orig))) { return FONT_COMPRESSION_FAILURE(); } if (meta_offset) { if (PREDICT_FALSE( meta_offset >= length || length - meta_offset < meta_length)) { return FONT_COMPRESSION_FAILURE(); } } uint32_t priv_offset; uint32_t priv_length; if (PREDICT_FALSE(!file.ReadU32(&priv_offset) || !file.ReadU32(&priv_length))) { return FONT_COMPRESSION_FAILURE(); } if (priv_offset) { if (PREDICT_FALSE( priv_offset >= length || length - priv_offset < priv_length)) { return FONT_COMPRESSION_FAILURE(); } } hdr->tables.resize(hdr->num_tables); if (PREDICT_FALSE(!ReadTableDirectory( &file, &hdr->tables, hdr->num_tables))) { return FONT_COMPRESSION_FAILURE(); } // Before we sort for output the last table end is the uncompressed size. Table& last_table = hdr->tables.back(); hdr->uncompressed_size = last_table.src_offset + last_table.src_length; if (PREDICT_FALSE(hdr->uncompressed_size < last_table.src_offset)) { return FONT_COMPRESSION_FAILURE(); } hdr->header_version = 0; if (hdr->flavor == kTtcFontFlavor) { if (PREDICT_FALSE(!file.ReadU32(&hdr->header_version))) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(hdr->header_version != 0x00010000 && hdr->header_version != 0x00020000)) { return FONT_COMPRESSION_FAILURE(); } uint32_t num_fonts; if (PREDICT_FALSE(!Read255UShort(&file, &num_fonts) || !num_fonts)) { return FONT_COMPRESSION_FAILURE(); } hdr->ttc_fonts.resize(num_fonts); for (uint32_t i = 0; i < num_fonts; i++) { TtcFont& ttc_font = hdr->ttc_fonts[i]; uint32_t num_tables; if (PREDICT_FALSE(!Read255UShort(&file, &num_tables) || !num_tables)) { return FONT_COMPRESSION_FAILURE(); } if (PREDICT_FALSE(!file.ReadU32(&ttc_font.flavor))) { return FONT_COMPRESSION_FAILURE(); } ttc_font.table_indices.resize(num_tables); const Table* glyf_table = NULL; const Table* loca_table = NULL; for (uint32_t j = 0; j < num_tables; j++) { unsigned int table_idx; if (PREDICT_FALSE(!Read255UShort(&file, &table_idx)) || table_idx >= hdr->tables.size()) { return FONT_COMPRESSION_FAILURE(); } ttc_font.table_indices[j] = table_idx; const Table& table = hdr->tables[table_idx]; if (table.tag == kLocaTableTag) { loca_table = &table; } if (table.tag == kGlyfTableTag) { glyf_table = &table; } } if (PREDICT_FALSE((glyf_table == NULL) != (loca_table == NULL))) { #ifdef FONT_COMPRESSION_BIN fprintf(stderr, "Cannot have just one of glyf/loca\n"); #endif return FONT_COMPRESSION_FAILURE(); } } } const uint64_t first_table_offset = ComputeOffsetToFirstTable(*hdr); hdr->compressed_offset = file.offset(); if (PREDICT_FALSE(hdr->compressed_offset > std::numeric_limits<uint32_t>::max())) { return FONT_COMPRESSION_FAILURE(); } uint64_t src_offset = Round4(hdr->compressed_offset + hdr->compressed_length); uint64_t dst_offset = first_table_offset; if (PREDICT_FALSE(src_offset > length)) { #ifdef FONT_COMPRESSION_BIN fprintf(stderr, "offset fail; src_offset %" PRIu64 " length %lu " "dst_offset %" PRIu64 "\n", src_offset, length, dst_offset); #endif return FONT_COMPRESSION_FAILURE(); } if (meta_offset) { if (PREDICT_FALSE(src_offset != meta_offset)) { return FONT_COMPRESSION_FAILURE(); } src_offset = Round4(meta_offset + meta_length); if (PREDICT_FALSE(src_offset > std::numeric_limits<uint32_t>::max())) { return FONT_COMPRESSION_FAILURE(); } } if (priv_offset) { if (PREDICT_FALSE(src_offset != priv_offset)) { return FONT_COMPRESSION_FAILURE(); } src_offset = Round4(priv_offset + priv_length); if (PREDICT_FALSE(src_offset > std::numeric_limits<uint32_t>::max())) { return FONT_COMPRESSION_FAILURE(); } } if (PREDICT_FALSE(src_offset != Round4(length))) { return FONT_COMPRESSION_FAILURE(); } return true; } // Write everything before the actual table data bool WriteHeaders(const uint8_t* data, size_t length, RebuildMetadata* metadata, WOFF2Header* hdr, WOFF2Out* out) { std::vector<uint8_t> output(ComputeOffsetToFirstTable(*hdr), 0); // Re-order tables in output (OTSpec) order std::vector<Table> sorted_tables(hdr->tables); if (hdr->header_version) { // collection; we have to sort the table offset vector in each font for (auto& ttc_font : hdr->ttc_fonts) { std::map<uint32_t, uint16_t> sorted_index_by_tag; for (auto table_index : ttc_font.table_indices) { sorted_index_by_tag[hdr->tables[table_index].tag] = table_index; } uint16_t index = 0; for (auto& i : sorted_index_by_tag) { ttc_font.table_indices[index++] = i.second; } } } else { // non-collection; we can just sort the tables std::sort(sorted_tables.begin(), sorted_tables.end()); } // Start building the font uint8_t* result = &output[0]; size_t offset = 0; if (hdr->header_version) { // TTC header offset = StoreU32(result, offset, hdr->flavor); // TAG TTCTag offset = StoreU32(result, offset, hdr->header_version); // FIXED Version offset = StoreU32(result, offset, hdr->ttc_fonts.size()); // ULONG numFonts // Space for ULONG OffsetTable[numFonts] (zeroed initially) size_t offset_table = offset; // keep start of offset table for later for (size_t i = 0; i < hdr->ttc_fonts.size(); i++) { offset = StoreU32(result, offset, 0); // will fill real values in later } // space for DSIG fields for header v2 if (hdr->header_version == 0x00020000) { offset = StoreU32(result, offset, 0); // ULONG ulDsigTag offset = StoreU32(result, offset, 0); // ULONG ulDsigLength offset = StoreU32(result, offset, 0); // ULONG ulDsigOffset } // write Offset Tables and store the location of each in TTC Header metadata->font_infos.resize(hdr->ttc_fonts.size()); for (size_t i = 0; i < hdr->ttc_fonts.size(); i++) { TtcFont& ttc_font = hdr->ttc_fonts[i]; // write Offset Table location into TTC Header offset_table = StoreU32(result, offset_table, offset); // write the actual offset table so our header doesn't lie ttc_font.dst_offset = offset; offset = StoreOffsetTable(result, offset, ttc_font.flavor, ttc_font.table_indices.size()); for (const auto table_index : ttc_font.table_indices) { uint32_t tag = hdr->tables[table_index].tag; metadata->font_infos[i].table_entry_by_tag[tag] = offset; offset = StoreTableEntry(result, offset, tag); } ttc_font.header_checksum = ComputeULongSum(&output[ttc_font.dst_offset], offset - ttc_font.dst_offset); } } else { metadata->font_infos.resize(1); offset = StoreOffsetTable(result, offset, hdr->flavor, hdr->num_tables); for (uint16_t i = 0; i < hdr->num_tables; ++i) { metadata->font_infos[0].table_entry_by_tag[sorted_tables[i].tag] = offset; offset = StoreTableEntry(result, offset, sorted_tables[i].tag); } } if (PREDICT_FALSE(!out->Write(&output[0], output.size()))) { return FONT_COMPRESSION_FAILURE(); } metadata->header_checksum = ComputeULongSum(&output[0], output.size()); return true; } } // namespace size_t ComputeWOFF2FinalSize(const uint8_t* data, size_t length) { Buffer file(data, length); uint32_t total_length; if (!file.Skip(16) || !file.ReadU32(&total_length)) { return 0; } return total_length; } bool ConvertWOFF2ToTTF(uint8_t *result, size_t result_length, const uint8_t *data, size_t length) { WOFF2MemoryOut out(result, result_length); return ConvertWOFF2ToTTF(data, length, &out); } bool ConvertWOFF2ToTTF(const uint8_t* data, size_t length, WOFF2Out* out) { RebuildMetadata metadata; WOFF2Header hdr; if (!ReadWOFF2Header(data, length, &hdr)) { return FONT_COMPRESSION_FAILURE(); } if (!WriteHeaders(data, length, &metadata, &hdr, out)) { return FONT_COMPRESSION_FAILURE(); } const float compression_ratio = (float) hdr.uncompressed_size / length; if (compression_ratio > kMaxPlausibleCompressionRatio) { #ifdef FONT_COMPRESSION_BIN fprintf(stderr, "Implausible compression ratio %.01f\n", compression_ratio); #endif return FONT_COMPRESSION_FAILURE(); } const uint8_t* src_buf = data + hdr.compressed_offset; std::vector<uint8_t> uncompressed_buf(hdr.uncompressed_size); if (PREDICT_FALSE(!Woff2Uncompress(&uncompressed_buf[0], hdr.uncompressed_size, src_buf, hdr.compressed_length))) { return FONT_COMPRESSION_FAILURE(); } for (size_t i = 0; i < metadata.font_infos.size(); i++) { if (PREDICT_FALSE(!ReconstructFont(&uncompressed_buf[0], hdr.uncompressed_size, &metadata, &hdr, i, out))) { return FONT_COMPRESSION_FAILURE(); } } return true; } } // namespace woff2
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
08f99792d28e843d9623a698c0d341efea1687c6
587e191159ab12e577940251d14558939e602614
/verwrite/stockIT/app/src/main/include/Fuse.FastProperty2Link.h
3e9638362c279ee942df429bb4bc39ed1fbb82ee
[]
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
599
h
// This file was generated based on 'C:\Users\Emenike pc\AppData\Local\Fusetools\Packages\FuseCore\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{struct FastProperty2Link;}} namespace g{ namespace Fuse{ // internal class FastProperty2Link :5813 // { uType* FastProperty2Link_typeof(); void FastProperty2Link__ctor__fn(FastProperty2Link* __this, int* p); struct FastProperty2Link : uObject { uStrong<FastProperty2Link*> Next; int Property; void ctor_(int p); }; // } }} // ::g::Fuse
[ "egaleme@gmail.com" ]
egaleme@gmail.com
bc1c7c4eabbdcd3161121909b15ef72e8bc33ddb
74377cb6c163a0cf5f76fbccded9d47f49ce83e8
/iostream/readfile.hpp
e1c148e8be8f86825818bb650984418eaae0e441
[]
no_license
mauve/util
a083ed95c8466f562c6fa444de3ab0666d7e0fda
94f46bdbbdc29da8cc1b002d9571f9d58b10f318
refs/heads/master
2020-05-14T14:28:31.565374
2015-02-25T12:05:17
2015-02-25T12:05:17
5,748,002
0
0
null
null
null
null
UTF-8
C++
false
false
708
hpp
/* * Copyright (C) 2012, All rights reserved, Mikael Olenfalk <mikael@olenfalk.se> */ #ifndef UTIL_IOSTREAM_READFILE_HPP_ #define UTIL_IOSTREAM_READFILE_HPP_ #include <ios> #include <vector> #include <string> namespace util { bool readfile (const std::string& path, std::vector<char>& buf, std::size_t max_size = 0, std::ios::openmode mode = std::ios::binary | std::ios::in); bool readfile (std::ifstream& ifs, std::vector<char>& buf, std::size_t max_size = 0); bool readfile (const std::string& path, std::string& buf, std::size_t max_size = 0); std::string readfile (const std::string& path, std::size_t max_size = 0); } // namespace util #endif /* UTIL_IOSTREAM_READFILE_HPP_ */
[ "olenfalk@spotify.com" ]
olenfalk@spotify.com
5278e1b253eccc20a858e8058743b47e0a70b393
6ddff82ba9be03efb7417cbc7d9e38331a7b1fbc
/lab06-07/Repo.h
7b4a6e2597128cb55e902b22b60f9c48aa157776
[]
no_license
LauraDiosan-CS/lab5-6-template-stl-iuliagrindeanu
ef1f4e990461ea05b4a657e4df99c7bc922993a0
82c06cf117bc32a5336db92fae68f8ae1f182dba
refs/heads/master
2021-05-18T15:17:14.852139
2020-04-06T15:07:32
2020-04-06T15:07:32
251,294,374
0
0
null
null
null
null
UTF-8
C++
false
false
1,943
h
#pragma once #include "Booking.h" #include <list> #include <fstream> using namespace std; template <class T> class Repo { protected: list<T> lista; public: Repo(); ~Repo(); void addElem(const T b); list<T>& getAll(); int getSize(); int delElem(const T b); void updateElem(const T b, int f_nr, char* c_n, int s_nr); int findElem(const T b); //void load_from_file(const char* fileName); void save_to_file(const char* fileName); }; template <class T> Repo<T>::Repo() {}; template <class T> Repo<T>::~Repo() {}; template <class T> void Repo<T>::addElem(const T b) { lista.push_back(b); } template <class T> list<T>& Repo<T>::getAll() { return lista; } template <class T> int Repo<T>::getSize() { return (int)lista.size(); } template <class T> int Repo<T>::delElem(const T b) { list<T>::iterator it; it = find(lista.begin(), lista.end(), b); if (it != lista.end()) { lista.erase(it); return 0; } return -1; } template <class T> void Repo<T>::updateElem(const T b, int f_nr, char* c_n, int s_nr) { list<T>::iterator it; it = find(lista.begin(), lista.end(), b); if (it != lista.end()) { (*it).setFlightNumber(f_nr); (*it).setClientName(c_n); (*it).setSeatNumber(s_nr); } } template <class T> int Repo<T>::findElem(const T b) { list<T>::iterator it; it = find(lista.begin(), lista.end(), b); if (it != lista.end()) { return distance(lista.begin(), it); } return -1; } /*template <class T> void Repo<T>::load_from_file(const char* fileName) { lista.clear(); //fis = fileName; ifstream f(fileName); if (f.is_open()) { while (!f.eof()) { T elem; load_from_file_elem(f, elem); //f >> elem; lista.push_back(elem); } f.close(); } //char* nume = new char[10]; //int varsta; }*/ template <class T> void Repo<T>::save_to_file(const char* fileName) { ofstream f(fileName); list<T>::iterator it; for (it = lista.begin(); it != lista.end(); it++) { f << *it; } f.close(); }
[ "iuliagrindeanu@yahoo.com" ]
iuliagrindeanu@yahoo.com
ae0193297b06f4eaafa940d42ac82337ce2d3f18
a53392ed71d0f50c0b1ead8afe1ee9b34fd4fd1b
/devel/include/neo_msgs/HoldRequest.h
0cba25d72484f5ba59ae39c5536540b7aa77be46
[]
no_license
Hongbinbin/dashgo
1ae5aa857a803c8f1d299277ac6a5627c6cbecd9
ed2b9b559d356868e6fb99bfec47543b2d9fd482
refs/heads/main
2022-12-25T18:41:03.925227
2020-10-05T11:02:43
2020-10-05T11:02:43
301,355,880
0
0
null
null
null
null
UTF-8
C++
false
false
5,007
h
// Generated by gencpp from file neo_msgs/HoldRequest.msg // DO NOT EDIT! #ifndef NEO_MSGS_MESSAGE_HOLDREQUEST_H #define NEO_MSGS_MESSAGE_HOLDREQUEST_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #include <ros/message_operations.h> namespace neo_msgs { template <class ContainerAllocator> struct HoldRequest_ { typedef HoldRequest_<ContainerAllocator> Type; HoldRequest_() : motor_ids() { } HoldRequest_(const ContainerAllocator& _alloc) : motor_ids(_alloc) { (void)_alloc; } typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other > _motor_ids_type; _motor_ids_type motor_ids; typedef boost::shared_ptr< ::neo_msgs::HoldRequest_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::neo_msgs::HoldRequest_<ContainerAllocator> const> ConstPtr; }; // struct HoldRequest_ typedef ::neo_msgs::HoldRequest_<std::allocator<void> > HoldRequest; typedef boost::shared_ptr< ::neo_msgs::HoldRequest > HoldRequestPtr; typedef boost::shared_ptr< ::neo_msgs::HoldRequest const> HoldRequestConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::neo_msgs::HoldRequest_<ContainerAllocator> & v) { ros::message_operations::Printer< ::neo_msgs::HoldRequest_<ContainerAllocator> >::stream(s, "", v); return s; } } // namespace neo_msgs namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False} // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'neo_msgs': ['/home/eaibot/dashgo_ws/src/neocobot/neo_msgs/msg']} // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] template <class ContainerAllocator> struct IsFixedSize< ::neo_msgs::HoldRequest_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct IsFixedSize< ::neo_msgs::HoldRequest_<ContainerAllocator> const> : FalseType { }; template <class ContainerAllocator> struct IsMessage< ::neo_msgs::HoldRequest_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::neo_msgs::HoldRequest_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::neo_msgs::HoldRequest_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::neo_msgs::HoldRequest_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::neo_msgs::HoldRequest_<ContainerAllocator> > { static const char* value() { return "bb0d6c2d9cfe8f7b5cba05d61857b47e"; } static const char* value(const ::neo_msgs::HoldRequest_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0xbb0d6c2d9cfe8f7bULL; static const uint64_t static_value2 = 0x5cba05d61857b47eULL; }; template<class ContainerAllocator> struct DataType< ::neo_msgs::HoldRequest_<ContainerAllocator> > { static const char* value() { return "neo_msgs/HoldRequest"; } static const char* value(const ::neo_msgs::HoldRequest_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::neo_msgs::HoldRequest_<ContainerAllocator> > { static const char* value() { return "int32[] motor_ids\n\ "; } static const char* value(const ::neo_msgs::HoldRequest_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::neo_msgs::HoldRequest_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.motor_ids); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct HoldRequest_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::neo_msgs::HoldRequest_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::neo_msgs::HoldRequest_<ContainerAllocator>& v) { s << indent << "motor_ids[]" << std::endl; for (size_t i = 0; i < v.motor_ids.size(); ++i) { s << indent << " motor_ids[" << i << "]: "; Printer<int32_t>::stream(s, indent + " ", v.motor_ids[i]); } } }; } // namespace message_operations } // namespace ros #endif // NEO_MSGS_MESSAGE_HOLDREQUEST_H
[ "hobinisagay28@gmail.com" ]
hobinisagay28@gmail.com
79611e69f8959c5e6638b912de15708bceb7309e
6c4e391046022177244aeade63b03fc0824a4c50
/components/password_manager/core/browser/android_affiliation/facet_manager.cc
68ed9c813c3a8d7e719d583733f17ca05e6385d7
[ "BSD-3-Clause" ]
permissive
woshihoujinxin/chromium-2
d17cae43153d14673778bbdf0b739886d2461902
71aec55e801f801f89a81cfb219a219d953a5d5c
refs/heads/master
2022-11-15T00:18:39.821920
2017-07-14T19:59:33
2017-07-14T19:59:33
97,331,019
1
0
null
2017-07-15T17:16:35
2017-07-15T17:16:35
null
UTF-8
C++
false
false
10,258
cc
// Copyright 2015 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. // Note: Read the class comment of AffiliationService for the definition of the // terms used below. // // On-demand fetching strategy // // A GetAffiliations() request concerning facet X will be served from the cache // as long as the cache contains fresh affiliation information for facet X, that // is, if there is an equivalence class in the cache that contains X and has // been fetched less than |kCacheHardExpiryInHours| hours ago. // // Otherwise, a network request is issued against the Affiliation API as soon as // possible, that is, immediately if there is no fetch in flight, or right after // completion of the fetch in flight if there is one, provided that the required // data is not incidentally returned by the first fetch. // // // Proactive fetching strategy // // A Prefetch() request concerning facet Y can trigger an initial network fetch, // or periodic refetches only when: // * The prefetch request is not already expired, i.e., its |keep_fresh_until| // threshold is strictly in the future (that is, prefetch intervals are open // from the right). // * Affiliation information in the cache pertaining to facet Y will get stale // strictly before the specified |keep_fresh_until| threshold. // // An initial fetch will be issued as soon as possible if, in addition to the // two necessery conditions above, and at the time of the Prefetch() call, the // cache contains no affiliation information regarding facet Y, or if the data // in the cache for facet Y is near-stale, that is, it has been fetched more // than |kCacheHardExpiryInHours| hours ago. // // A refetch will be issued every time the data in the cache regarding facet Y // becomes near-stale, that is, exactly |kCacheSoftExpiry| hours after the last // fetch, provided that the above two necessary conditions are also met. // // Fetches are triggered already when the data gets near-stale, as opposed to // waiting until the data would get stale, in an effort to keep the data fresh // even in face of temporary network errors lasting no more than the difference // between soft and hard expiry times. // // The current fetch scheduling logic, however, can only deal with at most one // such 'early' fetch between taking place between the prior fetch and the // corresponding hard expiry time of the data, therefore it is assumed that: // // kCacheSoftExpiryInHours < kCacheHardExpiryInHours, and // 2 * kCacheSoftExpiryInHours > kCacheHardExpiryInHours. // // // Cache freshness terminology // // // Fetch (t=0) kCacheSoftExpiry kCacheHardExpiry // / / / // ---o------------------------o-----------------------o-----------------> t // | | | // | [-- Cache near-stale --------------------- .. // [--------------- Cache is fresh ----------------)[-- Cache is stale .. // #include "components/password_manager/core/browser/android_affiliation/facet_manager.h" #include "base/bind.h" #include "base/location.h" #include "base/task_runner.h" #include "base/time/clock.h" #include "base/time/time.h" #include "components/password_manager/core/browser/android_affiliation/facet_manager_host.h" namespace password_manager { // statics const int FacetManager::kCacheSoftExpiryInHours = 21; const int FacetManager::kCacheHardExpiryInHours = 24; static_assert( FacetManager::kCacheSoftExpiryInHours < FacetManager::kCacheHardExpiryInHours, "Soft expiry period must be shorter than the hard expiry period."); static_assert( 2 * FacetManager::kCacheSoftExpiryInHours > FacetManager::kCacheHardExpiryInHours, "Soft expiry period must be longer than half of the hard expiry period."); // Encapsulates the details of a pending GetAffiliations() request. struct FacetManager::RequestInfo { AffiliationService::ResultCallback callback; scoped_refptr<base::TaskRunner> callback_task_runner; }; FacetManager::FacetManager(const FacetURI& facet_uri, FacetManagerHost* backend, base::Clock* clock) : facet_uri_(facet_uri), backend_(backend), clock_(clock) { AffiliatedFacetsWithUpdateTime affiliations; if (backend_->ReadAffiliationsFromDatabase(facet_uri_, &affiliations)) last_update_time_ = affiliations.last_update_time; } FacetManager::~FacetManager() { // The manager will be destroyed while there are pending requests only if the // entire backend is going away. Fail pending requests in this case. for (const auto& request_info : pending_requests_) ServeRequestWithFailure(request_info); } void FacetManager::GetAffiliations( StrategyOnCacheMiss cache_miss_strategy, const AffiliationService::ResultCallback& callback, const scoped_refptr<base::TaskRunner>& callback_task_runner) { RequestInfo request_info; request_info.callback = callback; request_info.callback_task_runner = callback_task_runner; if (IsCachedDataFresh()) { AffiliatedFacetsWithUpdateTime affiliation; if (!backend_->ReadAffiliationsFromDatabase(facet_uri_, &affiliation)) { ServeRequestWithFailure(request_info); return; } DCHECK_EQ(affiliation.last_update_time, last_update_time_) << facet_uri_; ServeRequestWithSuccess(request_info, affiliation.facets); } else if (cache_miss_strategy == StrategyOnCacheMiss::FETCH_OVER_NETWORK) { pending_requests_.push_back(request_info); backend_->SignalNeedNetworkRequest(); } else { ServeRequestWithFailure(request_info); } } void FacetManager::Prefetch(const base::Time& keep_fresh_until) { keep_fresh_until_thresholds_.insert(keep_fresh_until); // If an initial fetch if needed, trigger that (the refetch will be scheduled // once the initial fetch completes). Otherwise schedule the next refetch. base::Time next_required_fetch(GetNextRequiredFetchTimeDueToPrefetch()); if (next_required_fetch <= clock_->Now()) backend_->SignalNeedNetworkRequest(); else if (next_required_fetch < base::Time::Max()) backend_->RequestNotificationAtTime(facet_uri_, next_required_fetch); // For a finite |keep_fresh_until|, schedule a callback so that once the // prefetch expires, it can be removed from |keep_fresh_untils_|, and also the // manager can get a chance to be destroyed unless it is otherwise needed. if (keep_fresh_until > clock_->Now() && keep_fresh_until < base::Time::Max()) backend_->RequestNotificationAtTime(facet_uri_, keep_fresh_until); } void FacetManager::CancelPrefetch(const base::Time& keep_fresh_until) { auto iter = keep_fresh_until_thresholds_.find(keep_fresh_until); if (iter != keep_fresh_until_thresholds_.end()) keep_fresh_until_thresholds_.erase(iter); } void FacetManager::OnFetchSucceeded( const AffiliatedFacetsWithUpdateTime& affiliation) { last_update_time_ = affiliation.last_update_time; DCHECK(IsCachedDataFresh()) << facet_uri_; for (const auto& request_info : pending_requests_) ServeRequestWithSuccess(request_info, affiliation.facets); pending_requests_.clear(); base::Time next_required_fetch(GetNextRequiredFetchTimeDueToPrefetch()); if (next_required_fetch < base::Time::Max()) backend_->RequestNotificationAtTime(facet_uri_, next_required_fetch); } void FacetManager::NotifyAtRequestedTime() { base::Time next_required_fetch(GetNextRequiredFetchTimeDueToPrefetch()); if (next_required_fetch <= clock_->Now()) backend_->SignalNeedNetworkRequest(); else if (next_required_fetch < base::Time::Max()) backend_->RequestNotificationAtTime(facet_uri_, next_required_fetch); auto iter_first_non_expired = keep_fresh_until_thresholds_.upper_bound(clock_->Now()); keep_fresh_until_thresholds_.erase(keep_fresh_until_thresholds_.begin(), iter_first_non_expired); } bool FacetManager::CanBeDiscarded() const { return pending_requests_.empty() && GetMaximumKeepFreshUntilThreshold() <= clock_->Now(); } bool FacetManager::CanCachedDataBeDiscarded() const { return GetMaximumKeepFreshUntilThreshold() <= clock_->Now() || !IsCachedDataFresh(); } bool FacetManager::DoesRequireFetch() const { return (!pending_requests_.empty() && !IsCachedDataFresh()) || GetNextRequiredFetchTimeDueToPrefetch() <= clock_->Now(); } bool FacetManager::IsCachedDataFresh() const { return clock_->Now() < GetCacheHardExpiryTime(); } bool FacetManager::IsCachedDataNearStale() const { return GetCacheSoftExpiryTime() <= clock_->Now(); } base::Time FacetManager::GetCacheSoftExpiryTime() const { return last_update_time_ + base::TimeDelta::FromHours(kCacheSoftExpiryInHours); } base::Time FacetManager::GetCacheHardExpiryTime() const { return last_update_time_ + base::TimeDelta::FromHours(kCacheHardExpiryInHours); } base::Time FacetManager::GetMaximumKeepFreshUntilThreshold() const { return !keep_fresh_until_thresholds_.empty() ? *keep_fresh_until_thresholds_.rbegin() : base::Time(); } base::Time FacetManager::GetNextRequiredFetchTimeDueToPrefetch() const { // If there is at least one non-expired Prefetch() request that requires the // data to be kept fresh until some time later than its current hard expiry // time, then a fetch is needed once the cached data becomes near-stale. if (clock_->Now() < GetMaximumKeepFreshUntilThreshold() && GetCacheHardExpiryTime() < GetMaximumKeepFreshUntilThreshold()) { return GetCacheSoftExpiryTime(); } return base::Time::Max(); } // static void FacetManager::ServeRequestWithSuccess( const RequestInfo& request_info, const AffiliatedFacets& affiliation) { request_info.callback_task_runner->PostTask( FROM_HERE, base::Bind(request_info.callback, affiliation, true)); } // static void FacetManager::ServeRequestWithFailure(const RequestInfo& request_info) { request_info.callback_task_runner->PostTask( FROM_HERE, base::Bind(request_info.callback, AffiliatedFacets(), false)); } } // namespace password_manager
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
1a623427ca24f36c804aefc1e501e58ad8dd5e01
bc802f2f46557a0b5bfa9eb26821d0e82ec78aab
/H05/ToString/Ex02/Triangle.h
45d840172ff14e655bda0bd307b273f36d0b3d74
[ "MIT" ]
permissive
IceIce1ce/Lab-OOP-HCMUS
5fd145994cb352d1d65af1a292071dd554b3f018
974873f129dd4d39c0094fe8e0cc30236555cf50
refs/heads/master
2022-01-22T12:15:00.084514
2022-01-17T10:32:13
2022-01-17T10:32:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
287
h
#include"Point.h" #include"Tokenizer.h" #include<iostream> using namespace std; class Triangle { private: Point* _A; Point*_B; Point* _C; public: Triangle(Point*, Point*, Point*); Point get_peak_A(); Point get_peak_B(); Point get_peak_C(); static Triangle* Parse(string s); };
[ "ctran743@gmail.com" ]
ctran743@gmail.com
bd298134c136089f90a8df041c6621d15ce610f5
dd34b7bccff4bf11aa269c28dd95c54263b8a1fa
/project/renderengine/renderengine.h
487b6e7f4ee06b5e736d3bc5ced5e8a375b79eb3
[]
no_license
Celdorfpwn/renderapp
14d6438c17b810d326e9fd5a42ee74678ebc616e
57c43daaf34c6a5da12c7eb96fecd074bde0349e
refs/heads/master
2021-04-15T07:24:11.369814
2018-03-21T22:00:23
2018-03-21T22:00:23
126,245,654
0
0
null
null
null
null
UTF-8
C++
false
false
127
h
#ifndef RENDERENGINE_H #define RENDERENGINE_H class RenderEngine { public: RenderEngine(); }; #endif // RENDERENGINE_H
[ "apostol_ionut@ymail.com" ]
apostol_ionut@ymail.com
0b2b440bc06bb9aa47415b018546dd097a0df128
6e1d5f8d0e34ac9e98680810e5bd6613dbcdc7b7
/src/Core/Pipeline/DXRayTracingPipeline.h
263fa29e1a605f090739ba61f13fbadf5fde2931
[]
no_license
darksectordds/FlyCube
1917dee675a14a31176b334253e281e18a1480f7
869c5d480fb8f17f14e54a4fe7d4551c0445a367
refs/heads/master
2023-03-09T09:20:11.274692
2021-02-23T15:49:02
2021-02-23T15:50:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
883
h
#pragma once #include "Pipeline/Pipeline.h" #include <Instance/BaseTypes.h> #include <d3d12.h> #include <wrl.h> using namespace Microsoft::WRL; class DXDevice; class DXRayTracingPipeline : public Pipeline { public: DXRayTracingPipeline(DXDevice& device, const RayTracingPipelineDesc& desc); PipelineType GetPipelineType() const override; const RayTracingPipelineDesc& GetDesc() const; const ComPtr<ID3D12StateObject>& GetPipeline() const; const ComPtr<ID3D12RootSignature>& GetRootSignature() const; const D3D12_DISPATCH_RAYS_DESC& GetDispatchRaysDesc() const; private: void CreateShaderTable(); DXDevice& m_device; RayTracingPipelineDesc m_desc; ComPtr<ID3D12RootSignature> m_root_signature; ComPtr<ID3D12StateObject> m_pipeline_state; D3D12_DISPATCH_RAYS_DESC m_raytrace_desc = {}; ComPtr<ID3D12Resource> m_shader_table; };
[ "softmob@mail.ru" ]
softmob@mail.ru
75ffb39b386bbfbc79cb0204339d671322a1c360
1945d2a07b3c1bbbafcd2fd35f073be6ec7134de
/Excel Sheet Column Title.cpp
491fbfc4e8f6a2cee4862ae21772e13a51ec80dc
[]
no_license
happydog123/LeetCode
dd2b100670a96bc15c5336d4891ea637ae7dbed1
9db78129c44925f9c301a0c8746109cfb483ea9e
refs/heads/master
2021-01-22T09:16:45.873870
2015-03-23T01:54:35
2015-03-23T01:54:35
29,679,264
0
0
null
null
null
null
GB18030
C++
false
false
1,211
cpp
#include <iostream> #include <math.h> #include <string> using namespace std; class Solution { public: string convertToTitle(int n) { string result; unsigned int numpow=1; unsigned int ttemp=n; if(n<=26){ result+=('A'+n-1); return result; } while(!(n<=max(numpow)&&n>=min(numpow))){ numpow++; } int temp=n; int t; int q; for(int i=numpow;i>=1;i--){ t=temp/pow((double)26,i-1); q=temp%(int)pow((double)26,i-1); if(q==0&&i!=1) t--; result+=('A'+t-1); temp=temp-t*pow((double)26,i-1); }; return result; } unsigned int max(int n){ unsigned int pwd=0; unsigned int maxnum=0; for(int i=0;i<n;i++){ pwd=26*pow((double)26,i); maxnum=maxnum+pwd; } return maxnum; } unsigned int min(int n){ unsigned int pwd=0; unsigned int minnum=0; for(int i=0;i<n;i++){ pwd=pow((double)26,i); minnum=minnum+pwd; } return minnum; } }; int main(){ Solution test; int input; cin>>input; cout<<test.convertToTitle(input)<<endl; while(1); return 0; } /* 1.老方法没有考虑AZ这种情况 2.求一共是几位时,采用一种更自然的想法 3.unsigned int的位数更大,不用的话当出现1000000001时会产生溢出 */
[ "hamazuhe2009@163.com" ]
hamazuhe2009@163.com
0d6c1f1e1ca549baf6a493d37466162d8ece682a
2942469228f0d58708aee8ad26a4286e2fb62416
/COMP 1102/practical-01/main-3-4.cpp
314b6b21f935133abf24fa0cd52886f04d13fa91
[]
no_license
WangSihan1118/School-Work-Practice
ebccb4cb03d06d5697f825e73d7a9f4462fb0a46
33e2d544fb2cf1e48a1ae714e17288a35c797b6b
refs/heads/master
2022-11-27T13:53:38.976419
2020-08-03T01:04:25
2020-08-03T01:04:25
281,855,315
0
0
null
null
null
null
UTF-8
C++
false
false
144
cpp
#include <iostream> #include <stdlib.h> extern void passorfail(char grade); int main(int argc,char **argv) { passorfail('A'); return 0 ; }
[ "wangsihan1118@gmail.com" ]
wangsihan1118@gmail.com
3fa814e2624b12b3a466e544f8b79f190ac459aa
646f2d559c6739e282f2c0142fef56aa154d55b8
/src/test/rpc_tests.cpp
afddca5c4a8b63d7d80c99c4a12d7f8e3b5abadc
[ "MIT" ]
permissive
Cyprella/suc
72ed31971249e5dd688e664eff18c24eb0a42876
7c62b7f1c786dbbda3b93febefe8c818486d0e82
refs/heads/master
2021-04-27T18:26:08.619581
2018-02-23T06:03:29
2018-02-23T06:03:29
121,935,379
0
0
null
null
null
null
UTF-8
C++
false
false
16,688
cpp
// Copyright (c) 2012-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" #include "base58.h" #include "netbase.h" #include "test/test_suc.h" #include <boost/algorithm/string.hpp> #include <boost/test/unit_test.hpp> #include <univalue.h> using namespace std; UniValue createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL) { UniValue result(UniValue::VARR); result.push_back(nRequired); UniValue addresses(UniValue::VARR); if (address1) addresses.push_back(address1); if (address2) addresses.push_back(address2); result.push_back(addresses); return result; } UniValue CallRPC(string args) { vector<string> vArgs; boost::split(vArgs, args, boost::is_any_of(" \t")); string strMethod = vArgs[0]; vArgs.erase(vArgs.begin()); UniValue params = RPCConvertValues(strMethod, vArgs); rpcfn_type method = tableRPC[strMethod]->actor; try { UniValue result = (*method)(params, false); return result; } catch (const UniValue& objError) { throw runtime_error(find_value(objError, "message").get_str()); } } BOOST_FIXTURE_TEST_SUITE(rpc_tests, TestingSetup) BOOST_AUTO_TEST_CASE(rpc_rawparams) { // Test raw transaction API argument handling UniValue r; BOOST_CHECK_THROW(CallRPC("getrawtransaction"), runtime_error); BOOST_CHECK_THROW(CallRPC("getrawtransaction not_hex"), runtime_error); BOOST_CHECK_THROW(CallRPC("getrawtransaction a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed not_int"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction null null"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction not_array"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction [] []"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction {} {}"), runtime_error); BOOST_CHECK_NO_THROW(CallRPC("createrawtransaction [] {}")); BOOST_CHECK_THROW(CallRPC("createrawtransaction [] {} extra"), runtime_error); BOOST_CHECK_THROW(CallRPC("decoderawtransaction"), runtime_error); BOOST_CHECK_THROW(CallRPC("decoderawtransaction null"), runtime_error); BOOST_CHECK_THROW(CallRPC("decoderawtransaction DEADBEEF"), runtime_error); string rawtx = "0100000001a15d57094aa7a21a28cb20b59aab8fc7d1149a3bdbcddba9c622e4f5f6a99ece010000006c493046022100f93bb0e7d8db7bd46e40132d1f8242026e045f03a0efe71bbb8e3f475e970d790221009337cd7f1f929f00cc6ff01f03729b069a7c21b59b1736ddfee5db5946c5da8c0121033b9b137ee87d5a812d6f506efdd37f0affa7ffc310711c06c7f3e097c9447c52ffffffff0100e1f505000000001976a9140389035a9225b3839e2bbf32d826a1e222031fd888ac00000000"; BOOST_CHECK_NO_THROW(r = CallRPC(string("decoderawtransaction ")+rawtx)); BOOST_CHECK_EQUAL(find_value(r.get_obj(), "size").get_int(), 193); BOOST_CHECK_EQUAL(find_value(r.get_obj(), "version").get_int(), 1); BOOST_CHECK_EQUAL(find_value(r.get_obj(), "locktime").get_int(), 0); BOOST_CHECK_THROW(r = CallRPC(string("decoderawtransaction ")+rawtx+" extra"), runtime_error); BOOST_CHECK_THROW(CallRPC("signrawtransaction"), runtime_error); BOOST_CHECK_THROW(CallRPC("signrawtransaction null"), runtime_error); BOOST_CHECK_THROW(CallRPC("signrawtransaction ff00"), runtime_error); BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx)); BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx+" null null NONE|ANYONECANPAY")); BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx+" [] [] NONE|ANYONECANPAY")); BOOST_CHECK_THROW(CallRPC(string("signrawtransaction ")+rawtx+" null null badenum"), runtime_error); // Only check failure cases for sendrawtransaction, there's no network to send to... BOOST_CHECK_THROW(CallRPC("sendrawtransaction"), runtime_error); BOOST_CHECK_THROW(CallRPC("sendrawtransaction null"), runtime_error); BOOST_CHECK_THROW(CallRPC("sendrawtransaction DEADBEEF"), runtime_error); BOOST_CHECK_THROW(CallRPC(string("sendrawtransaction ")+rawtx+" extra"), runtime_error); } BOOST_AUTO_TEST_CASE(rpc_rawsign) { UniValue r; // input is a 1-of-2 multisig (so is output): string prevout = "[{\"txid\":\"b4cc287e58f87cdae59417329f710f3ecd75a4ee1d2872b7248f50977c8493f3\"," "\"vout\":1,\"scriptPubKey\":\"a914b10c9df5f7edf436c697f02f1efdba4cf399615187\"," "\"redeemScript\":\"512103debedc17b3df2badbcdd86d5feb4562b86fe182e5998abd8bcd4f122c6155b1b21027e940bb73ab8732bfdf7f9216ecefca5b94d6df834e77e108f68e66f126044c052ae\"}]"; r = CallRPC(string("createrawtransaction ")+prevout+" "+ "{\"7iYoULd4BAqRsRt1UbD5qqna88JvKRU3SL\":11}"); string notsigned = r.get_str(); string privkey1 = "\"XEwTRsCX3CiWSQf8YmKMTeb84KyTbibkUv9mDTZHQ5MwuKG2ZzES\""; string privkey2 = "\"XDmZ7LjGd94Q81eUBjb2h6uV5Y14s7fmeXWEGYabfBJP8RVpprBu\""; r = CallRPC(string("signrawtransaction ")+notsigned+" "+prevout+" "+"[]"); BOOST_CHECK(find_value(r.get_obj(), "complete").get_bool() == false); r = CallRPC(string("signrawtransaction ")+notsigned+" "+prevout+" "+"["+privkey1+","+privkey2+"]"); BOOST_CHECK(find_value(r.get_obj(), "complete").get_bool() == true); } BOOST_AUTO_TEST_CASE(rpc_createraw_op_return) { BOOST_CHECK_NO_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"data\":\"68656c6c6f776f726c64\"}")); // Allow more than one data transaction output BOOST_CHECK_NO_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"data\":\"68656c6c6f776f726c64\",\"data\":\"68656c6c6f776f726c64\"}")); // Key not "data" (bad address) BOOST_CHECK_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"somedata\":\"68656c6c6f776f726c64\"}"), runtime_error); // Bad hex encoding of data output BOOST_CHECK_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"data\":\"12345\"}"), runtime_error); BOOST_CHECK_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"data\":\"12345g\"}"), runtime_error); // Data 81 bytes long BOOST_CHECK_NO_THROW(CallRPC("createrawtransaction [{\"txid\":\"a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed\",\"vout\":0}] {\"data\":\"010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081\"}")); } BOOST_AUTO_TEST_CASE(rpc_format_monetary_values) { BOOST_CHECK(ValueFromAmount(0LL).write() == "0.00000000"); BOOST_CHECK(ValueFromAmount(1LL).write() == "0.00000001"); BOOST_CHECK(ValueFromAmount(17622195LL).write() == "0.17622195"); BOOST_CHECK(ValueFromAmount(50000000LL).write() == "0.50000000"); BOOST_CHECK(ValueFromAmount(89898989LL).write() == "0.89898989"); BOOST_CHECK(ValueFromAmount(100000000LL).write() == "1.00000000"); BOOST_CHECK(ValueFromAmount(2099999999999990LL).write() == "20999999.99999990"); BOOST_CHECK(ValueFromAmount(2099999999999999LL).write() == "20999999.99999999"); BOOST_CHECK_EQUAL(ValueFromAmount(0).write(), "0.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount((COIN/10000)*123456789).write(), "12345.67890000"); BOOST_CHECK_EQUAL(ValueFromAmount(-COIN).write(), "-1.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(-COIN/10).write(), "-0.10000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100000000).write(), "100000000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10000000).write(), "10000000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*1000000).write(), "1000000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100000).write(), "100000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10000).write(), "10000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*1000).write(), "1000.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100).write(), "100.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10).write(), "10.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN).write(), "1.00000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10).write(), "0.10000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100).write(), "0.01000000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/1000).write(), "0.00100000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10000).write(), "0.00010000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100000).write(), "0.00001000"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/1000000).write(), "0.00000100"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10000000).write(), "0.00000010"); BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100000000).write(), "0.00000001"); } static UniValue ValueFromString(const std::string &str) { UniValue value; BOOST_CHECK(value.setNumStr(str)); return value; } BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values) { BOOST_CHECK_THROW(AmountFromValue(ValueFromString("-0.00000001")), UniValue); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0")), 0LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.00000000")), 0LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.00000001")), 1LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.17622195")), 17622195LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.5")), 50000000LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.50000000")), 50000000LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.89898989")), 89898989LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("1.00000000")), 100000000LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("20999999.9999999")), 2099999999999990LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("20999999.99999999")), 2099999999999999LL); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("1e-8")), COIN/100000000); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.1e-7")), COIN/100000000); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.01e-6")), COIN/100000000); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.0000000000000000000000000000000000000000000000000000000000000000000000000001e+68")), COIN/100000000); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("10000000000000000000000000000000000000000000000000000000000000000e-64")), COIN); BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000e64")), COIN); BOOST_CHECK_THROW(AmountFromValue(ValueFromString("1e-9")), UniValue); //should fail BOOST_CHECK_THROW(AmountFromValue(ValueFromString("0.000000019")), UniValue); //should fail BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.00000001000000")), 1LL); //should pass, cut trailing 0 BOOST_CHECK_THROW(AmountFromValue(ValueFromString("19e-9")), UniValue); //should fail BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.19e-6")), 19); //should pass, leading 0 is present BOOST_CHECK_THROW(AmountFromValue(ValueFromString("92233720368.54775808")), UniValue); //overflow error BOOST_CHECK_THROW(AmountFromValue(ValueFromString("1e+11")), UniValue); //overflow error BOOST_CHECK_THROW(AmountFromValue(ValueFromString("1e11")), UniValue); //overflow error signless BOOST_CHECK_THROW(AmountFromValue(ValueFromString("93e+9")), UniValue); //overflow error } BOOST_AUTO_TEST_CASE(json_parse_errors) { // Valid BOOST_CHECK_EQUAL(ParseNonRFCJSONValue("1.0").get_real(), 1.0); // Valid, with leading or trailing whitespace BOOST_CHECK_EQUAL(ParseNonRFCJSONValue(" 1.0").get_real(), 1.0); BOOST_CHECK_EQUAL(ParseNonRFCJSONValue("1.0 ").get_real(), 1.0); BOOST_CHECK_THROW(AmountFromValue(ParseNonRFCJSONValue(".19e-6")), std::runtime_error); //should fail, missing leading 0, therefore invalid JSON BOOST_CHECK_EQUAL(AmountFromValue(ParseNonRFCJSONValue("0.00000000000000000000000000000000000001e+30 ")), 1); // Invalid, initial garbage BOOST_CHECK_THROW(ParseNonRFCJSONValue("[1.0"), std::runtime_error); BOOST_CHECK_THROW(ParseNonRFCJSONValue("a1.0"), std::runtime_error); // Invalid, trailing garbage BOOST_CHECK_THROW(ParseNonRFCJSONValue("1.0sds"), std::runtime_error); BOOST_CHECK_THROW(ParseNonRFCJSONValue("1.0]"), std::runtime_error); // BTC addresses should fail parsing BOOST_CHECK_THROW(ParseNonRFCJSONValue("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"), std::runtime_error); BOOST_CHECK_THROW(ParseNonRFCJSONValue("3J98t1WpEZ73CNmQviecrnyiWrnqRhWNL"), std::runtime_error); } BOOST_AUTO_TEST_CASE(rpc_ban) { BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned"))); UniValue r; BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0 add"))); BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.0.0:8334")), runtime_error); //portnumber for setban not allowed BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); UniValue ar = r.get_array(); UniValue o1 = ar[0].get_obj(); UniValue adr = find_value(o1, "address"); BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/32"); BOOST_CHECK_NO_THROW(CallRPC(string("setban 127.0.0.0 remove")));; BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); BOOST_CHECK_EQUAL(ar.size(), 0); BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/24 add 1607731200 true"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); o1 = ar[0].get_obj(); adr = find_value(o1, "address"); UniValue banned_until = find_value(o1, "banned_until"); BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/24"); BOOST_CHECK_EQUAL(banned_until.get_int64(), 1607731200); // absolute time check BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/24 add 200"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); o1 = ar[0].get_obj(); adr = find_value(o1, "address"); banned_until = find_value(o1, "banned_until"); BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/24"); int64_t now = GetTime(); BOOST_CHECK(banned_until.get_int64() > now); BOOST_CHECK(banned_until.get_int64()-now <= 200); // must throw an exception because 127.0.0.1 is in already banned suubnet range BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.0.1 add")), runtime_error); BOOST_CHECK_NO_THROW(CallRPC(string("setban 127.0.0.0/24 remove")));; BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); BOOST_CHECK_EQUAL(ar.size(), 0); BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/255.255.0.0 add"))); BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.1.1 add")), runtime_error); BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); BOOST_CHECK_EQUAL(ar.size(), 0); BOOST_CHECK_THROW(r = CallRPC(string("setban test add")), runtime_error); //invalid IP //IPv6 tests BOOST_CHECK_NO_THROW(r = CallRPC(string("setban FE80:0000:0000:0000:0202:B3FF:FE1E:8329 add"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); o1 = ar[0].get_obj(); adr = find_value(o1, "address"); BOOST_CHECK_EQUAL(adr.get_str(), "fe80::202:b3ff:fe1e:8329/128"); BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 2001:db8::/ffff:fffc:0:0:0:0:0:0 add"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); o1 = ar[0].get_obj(); adr = find_value(o1, "address"); BOOST_CHECK_EQUAL(adr.get_str(), "2001:db8::/30"); BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 2001:4d48:ac57:400:cacf:e9ff:fe1d:9c63/128 add"))); BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned"))); ar = r.get_array(); o1 = ar[0].get_obj(); adr = find_value(o1, "address"); BOOST_CHECK_EQUAL(adr.get_str(), "2001:4d48:ac57:400:cacf:e9ff:fe1d:9c63/128"); } BOOST_AUTO_TEST_SUITE_END()
[ "dharshan.rasiah@gmail.com" ]
dharshan.rasiah@gmail.com
410218066733c453f57abae8558f442698e83589
4799b00a04835c148a38912c78a49e3ad7ea238a
/apps/reConServer/PyConversationManager.hxx
e67912ad785e8ce374e4d4c0923055a34d7afa33
[ "BSD-3-Clause", "VSL-1.0", "BSD-2-Clause", "Apache-2.0" ]
permissive
amir110/resiprocate
4f7c551b23fd215c74bab19258fe649aee94efdd
8ac44307ece7a2f4325cfcf94f7894f6c63770ba
refs/heads/master
2023-08-18T02:49:35.916666
2023-08-08T14:19:11
2023-08-08T14:19:11
212,524,808
0
0
NOASSERTION
2019-10-03T07:54:31
2019-10-03T07:54:31
null
UTF-8
C++
false
false
5,978
hxx
#ifndef PYCONVERSATIONMANAGER_HXX #define PYCONVERSATIONMANAGER_HXX #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include <rutil/Data.hxx> #include <rutil/PyExtensionBase.hxx> #include <resip/stack/Dispatcher.hxx> #include "MyConversationManager.hxx" #include "reConServerConfig.hxx" namespace reconserver { class PyConversationManager : public reconserver::MyConversationManager, public resip::PyExtensionBase { public: PyConversationManager(const ReConServerConfig& config, bool localAudioEnabled, int defaultSampleRate, int maxSampleRate, bool autoAnswerEnabled); virtual ~PyConversationManager() {}; virtual void startup() override; //virtual void onConversationDestroyed(recon::ConversationHandle convHandle) override; virtual void onParticipantDestroyed(recon::ParticipantHandle partHandle) override; virtual void onDtmfEvent(recon::ParticipantHandle partHandle, int dtmf, int duration, bool up) override; virtual void onIncomingParticipant(recon::ParticipantHandle partHandle, const resip::SipMessage& msg, bool autoAnswer, recon::ConversationProfile& conversationProfile) override; //virtual void onRequestOutgoingParticipant(recon::ParticipantHandle partHandle, const resip::SipMessage& msg, recon::ConversationProfile& conversationProfile) override; virtual void onParticipantTerminated(recon::ParticipantHandle partHandle, unsigned int statusCode) override; virtual void onParticipantProceeding(recon::ParticipantHandle partHandle, const resip::SipMessage& msg) override; //virtual void onRelatedConversation(recon::ConversationHandle relatedConvHandle, recon::ParticipantHandle relatedPartHandle, // recon::ConversationHandle origConvHandle, recon::ParticipantHandle origPartHandle) override; virtual void onParticipantAlerting(recon::ParticipantHandle partHandle, const resip::SipMessage& msg) override; virtual void onParticipantConnected(recon::ParticipantHandle partHandle, const resip::SipMessage& msg) override; virtual void onParticipantConnectedConfirmed(recon::ParticipantHandle partHandle, const resip::SipMessage& msg) override; //virtual void onParticipantRedirectSuccess(recon::ParticipantHandle partHandle) override; //virtual void onParticipantRedirectFailure(recon::ParticipantHandle partHandle, unsigned int statusCode) override; //virtual void onParticipantRequestedHold(recon::ParticipantHandle partHandle, bool held) override; //virtual void displayInfo(); protected: virtual void initMethods() override; Py::Object pyGetRoom(const Py::Tuple& args); Py::Object pyCreateConversation(const Py::Tuple& args); Py::Object pyDestroyConversation(const Py::Tuple& args); Py::Object pyCreateRemoteParticipant(const Py::Tuple& args); Py::Object pyCreateMediaResourceParticipant(const Py::Tuple& args); Py::Object pyDestroyParticipant(const Py::Tuple& args); Py::Object pyAddParticipant(const Py::Tuple& args); Py::Object pyRemoveParticipant(const Py::Tuple& args); Py::Object pyMoveParticipant(const Py::Tuple& args); Py::Object pyAlertParticipant(const Py::Tuple& args); Py::Object pyAnswerParticipant(const Py::Tuple &args); Py::Object pyRejectParticipant(const Py::Tuple& args); private: virtual bool onStartup() override; bool doPythonCall(const char* method, Py::List& args, Py::Object& response); Py::Object pyPartHandle(recon::ParticipantHandle p) { return Py::Long((long unsigned int)p);}; // FIXME recon::ParticipantHandle cPartHandle(const Py::Object& l) { return (long)static_cast<const Py::Long&>(l); }; // FIXME Py::Object pyConvHandle(recon::ConversationHandle c) { return Py::Long((long unsigned int)c);}; // FIXME recon::ConversationHandle cConvHandle(const Py::Object& l) { return (long)static_cast<const Py::Long&>(l); }; // FIXME Py::Object pyTrueFalse(bool v) { return v ? Py::True() : Py::False(); }; resip::Data mScriptName; std::unique_ptr<Py::Module> mPyModule; std::unique_ptr<resip::PyExternalUser> mPyUser; // FIXME - work queue //std::unique_ptr<resip::Dispatcher> mDispatcher; }; } #endif /* ==================================================================== Copyright (c) 2022, Software Freedom Institute https://softwarefreedom.institute Copyright (c) 2013-2022, Daniel Pocock https://danielpocock.com Copyright (c) 2007-2008, Plantronics, 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. 3. Neither the name of Plantronics 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 OWNER 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. ==================================================================== */
[ "daniel@pocock.pro" ]
daniel@pocock.pro
bddacd2909810e507588e6b7f96f5a0f79dd007a
2c8167872b996f916d62f94bfe24bb0b83e7cb35
/MainScene.h
80a95c253684a32580c8eb7b9c1e87647111895b
[]
no_license
angeluen/Classes
814ecb2419809c723452b44e343184c0f80afd43
51d4820ecb97870b820ea001c88257d9257e5155
refs/heads/master
2021-01-22T05:00:56.789270
2014-05-21T01:17:25
2014-05-21T01:17:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
801
h
// // MainScene.h // TestCocos // // Created by 김민준 on 2014. 4. 2.. // // #ifndef __TestCocos__MainScene__ #define __TestCocos__MainScene__ #include <iostream> #include <cocos2d.h> USING_NS_CC; class MainScene : public cocos2d::Layer { private: public: static cocos2d::Scene* createScene(); // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone virtual bool init(); // implement the "static create()" method manually CREATE_FUNC(MainScene); void PlayCallBack(cocos2d::Ref* pSender); void OptionCallBack(cocos2d::Ref* pSender); void QuitCallBack(cocos2d::Ref* pSender); void HelpCallBack(cocos2d::Ref* pSender); }; #endif /* defined(__TestCocos__MainScene__) */
[ "Testing" ]
Testing
9524a54520d85abf1adbf4202c3a96ff2a793d0d
cb80a8562d90eb969272a7ff2cf52c1fa7aeb084
/inletTest9/0.042/alphat
4708f4c2b55c01922640600b106d5cb69d147f75
[]
no_license
mahoep/inletCFD
eb516145fad17408f018f51e32aa0604871eaa95
0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2
refs/heads/main
2023-08-30T22:07:41.314690
2021-10-14T19:23:51
2021-10-14T19:23:51
314,657,843
0
0
null
null
null
null
UTF-8
C++
false
false
140,856
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0.042"; object alphat; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -1 0 0 0 0]; internalField nonuniform List<scalar> 12716 ( 1155.31 1049.99 3524.83 3608.15 5687.07 14127.5 9750.32 639.028 38.4509 6.92502 2.53894 1.44981 1.05415 0.872917 0.775765 0.713968 0.667252 0.627584 0.59222 0.560486 0.532278 0.507479 0.485817 0.466911 0.450349 0.435754 0.42281 0.41127 0.40095 0.391716 0.383465 0.37613 0.369655 0.364003 0.359147 0.355072 0.351769 0.349238 0.347494 0.346541 0.346427 0.347216 0.34896 0.351759 0.355742 0.361065 0.367895 0.376387 0.386619 0.39855 0.412039 0.427094 0.444637 0.468347 0.508698 0.592385 0.78825 1.29818 2.81359 7.46823 15.8378 15.0764 8.21564 3.25574 1.37697 0.641332 0.333235 0.154071 0.0383772 0.00671085 0.000216384 0.000183918 0.00295871 0.0137154 0.00834182 0.00210324 0.000161369 0.000142318 0.00176525 0.00633897 0.00545791 0.00161453 0.000131653 0.000121769 0.00149284 0.00483983 0.00449022 0.00142736 0.00011561 0.000110156 0.00136336 0.00416589 0.00400331 0.00133351 0.000106656 0.000103109 0.00127979 0.00377035 0.00368265 0.00126442 0.000100892 9.83718e-05 0.00122187 0.00351318 0.00345181 0.00121285 9.68723e-05 9.49769e-05 0.00117723 0.00331755 0.00327144 0.0011712 9.3893e-05 9.24062e-05 0.00114103 0.00315886 0.00312287 0.00113572 9.15716e-05 9.036e-05 0.00110985 0.00302518 0.00299642 0.001105 8.96905e-05 8.86632e-05 0.00108226 0.00290973 0.00288618 0.00107784 8.81042e-05 8.72096e-05 0.00105746 0.00280828 0.00278825 0.00105341 8.67296e-05 8.59329e-05 0.00103486 0.00271784 0.0027004 0.00103114 8.55103e-05 8.47883e-05 0.00101407 0.00263622 0.00262083 0.00101067 8.44093e-05 8.37458e-05 0.000994805 0.0025618 0.0025481 0.000991691 8.34008e-05 8.27839e-05 0.000976844 0.00249345 0.00248118 0.000973998 8.24657e-05 8.18864e-05 0.000960006 0.00243025 0.00241917 0.000957401 8.15898e-05 8.1041e-05 0.000944132 0.00237142 0.00236137 0.000941741 8.07614e-05 8.02374e-05 0.000929082 0.00231627 0.0023072 0.000926885 7.99715e-05 7.94675e-05 0.000914749 0.00226447 0.00225626 0.000912731 7.92126e-05 7.8725e-05 0.000901049 0.00221566 0.0022082 0.000899196 7.84791e-05 7.80051e-05 0.000887911 0.00216949 0.00216267 0.000886203 7.77667e-05 7.73039e-05 0.00087526 0.00212565 0.00211936 0.000873678 7.7072e-05 7.66184e-05 0.000863027 0.00208385 0.00207801 0.000861551 7.63921e-05 7.59458e-05 0.000851145 0.00204383 0.00203836 0.000849761 7.57242e-05 7.52833e-05 0.000839556 0.00200536 0.00200021 0.000838252 7.50656e-05 7.46283e-05 0.000828206 0.00196826 0.00196336 0.00082697 7.44136e-05 7.39781e-05 0.000817045 0.00193234 0.00192764 0.00081586 7.37654e-05 7.33295e-05 0.000806014 0.00189742 0.00189285 0.000804866 7.31177e-05 7.26792e-05 0.000795055 0.00186332 0.00185882 0.000793927 7.24668e-05 7.2023e-05 0.000784107 0.00182986 0.00182537 0.000782985 7.18085e-05 7.13566e-05 0.000773111 0.00179686 0.00179234 0.000771984 7.11383e-05 7.06752e-05 0.000762014 0.00176418 0.00175957 0.000760876 7.04514e-05 6.99739e-05 0.000750771 0.00173167 0.00172695 0.000749626 6.97429e-05 6.92482e-05 0.000739352 0.00169923 0.00169438 0.000738203 6.90086e-05 6.84943e-05 0.000727731 0.00166677 0.00166175 0.000726536 6.8245e-05 6.77084e-05 0.000715858 0.00163419 0.00162898 0.000714624 6.74485e-05 6.68872e-05 0.00070372 0.00160141 0.00159599 0.000702452 6.66161e-05 6.60279e-05 0.000691299 0.00156837 0.00156274 0.000690005 6.57453e-05 6.51281e-05 0.000678591 0.00153503 0.00152921 0.00067729 6.48341e-05 6.41863e-05 0.000665614 0.00150144 0.00149546 0.000664338 6.38813e-05 6.32017e-05 0.000652416 0.00146766 0.00146162 0.000651215 6.28864e-05 6.21745e-05 0.000639081 0.00143387 0.00142814 0.000638011 6.18498e-05 6.11055e-05 0.000625776 0.00140037 0.00139522 0.000624926 6.07699e-05 5.99959e-05 0.000612839 0.0013676 0.00136332 0.000612212 5.9654e-05 5.88544e-05 0.000600385 0.00133603 0.00133305 0.000600144 5.85101e-05 5.76907e-05 0.000588793 0.00130638 0.00130477 0.000589111 5.73499e-05 5.65198e-05 0.000578456 0.00127939 0.00127993 0.000579568 5.61909e-05 5.53637e-05 0.000569888 0.00125634 0.00125966 0.000572025 5.5057e-05 5.42496e-05 0.000563591 0.00123823 0.00124482 0.000566929 5.39767e-05 5.32065e-05 0.000559933 0.00122593 0.0012362 0.000564572 5.29774e-05 5.22595e-05 0.000559086 0.0012201 0.00123426 0.00056507 5.20783e-05 5.14242e-05 0.000561065 0.00122131 0.00123894 0.00056816 5.12913e-05 5.0707e-05 0.000565336 0.00122922 0.00124966 0.000573237 5.0613e-05 5.0103e-05 0.000571206 0.00124281 0.00126507 0.000579525 5.00154e-05 4.96211e-05 0.000577159 0.0012607 0.0012829 0.000584209 4.95102e-05 4.92086e-05 0.000579982 0.00127914 0.00130114 0.000586306 4.90379e-05 4.8752e-05 0.000581322 0.00129741 0.00131864 0.000587088 4.85518e-05 4.82628e-05 0.000581745 0.00131391 0.00133378 0.000586869 4.80504e-05 4.77748e-05 0.000581384 0.00132784 0.001346 0.000585693 4.76004e-05 4.73382e-05 0.000580135 0.00133869 0.001355 0.000583579 4.7195e-05 4.69525e-05 0.000578004 0.00134643 0.00136103 0.000580766 4.68341e-05 4.66158e-05 0.000575292 0.00135155 0.00136464 0.000577544 4.65243e-05 4.63333e-05 0.000572268 0.00135471 0.00136616 0.000574004 4.62664e-05 4.61021e-05 0.000569015 0.00135608 0.00136602 0.000570349 4.60544e-05 4.59146e-05 0.00056569 0.00135591 0.0013646 0.000566746 4.58823e-05 4.57638e-05 0.000562418 0.00135456 0.00136205 0.000563254 4.57424e-05 4.56409e-05 0.000559224 0.00135224 0.00135874 0.000559905 4.56267e-05 4.55397e-05 0.000556151 0.00134923 0.00135498 0.000556777 4.55312e-05 4.54558e-05 0.00055324 0.00134579 0.00135081 0.000553868 4.54505e-05 4.53842e-05 0.000550485 0.00134192 0.00134626 0.00055111 4.53812e-05 4.53214e-05 0.000547817 0.0013376 0.00134136 0.000548454 4.53179e-05 4.52619e-05 0.00054525 0.00133286 0.00133613 0.000545906 4.5255e-05 4.51996e-05 0.000542744 0.00132753 0.00133055 0.000543392 4.51874e-05 4.51323e-05 0.000540244 0.00132157 0.00132439 0.000540867 4.51166e-05 4.50622e-05 0.000537699 0.00131502 0.00131767 0.000538297 4.50441e-05 4.49911e-05 0.000535118 0.00130802 0.00131049 0.000535684 4.49708e-05 4.49176e-05 0.000532489 0.00130056 0.00130276 0.000533002 4.48911e-05 4.48377e-05 0.000529735 0.00129247 0.00129445 0.000530201 4.48106e-05 4.47618e-05 0.000526879 0.00128379 0.00128593 0.000527386 4.47365e-05 4.46712e-05 0.00052402 0.00127485 0.0012763 0.000524041 4.4682e-05 4.45097e-05 0.000521037 0.0012647 0.00127034 0.000522879 4.47615e-05 4.47082e-05 0.000521248 0.00126957 0.00128944 0.000530819 4.57776e-05 4.57563e-05 0.000535991 0.00130263 0.00129067 0.000531686 4.65915e-05 4.66766e-05 0.000551512 0.0013408 0.00135289 0.000558105 4.77216e-05 0.00389693 0.00762811 0.011833 0.0162566 0.0200916 0.0241394 0.0275307 0.0303997 0.0325259 0.0339641 0.0346438 0.0345508 0.0337029 0.032075 0.0298239 0.0268815 0.0235834 0.0197947 0.0165846 0.0129145 0.00871946 0.00562335 0.00410347 0.00184402 0.000533246 0.000246916 3.12268e-05 2.22624e-05 0.000226271 0.000462526 0.000155511 6.34019e-05 1.55234e-05 1.88599e-05 0.000143653 0.000359916 0.000331498 0.000138246 1.98521e-05 1.99438e-05 0.000148379 0.000361593 0.000337257 0.000140413 1.97266e-05 1.97229e-05 0.000144761 0.000347297 0.000331889 0.000137924 1.95145e-05 1.94853e-05 0.000144236 0.000343468 0.000332747 0.000138289 1.93359e-05 1.94252e-05 0.000143418 0.000346368 0.000335248 0.000137833 1.93891e-05 1.94717e-05 0.00014398 0.000349199 0.000339061 0.000139087 1.94338e-05 1.95449e-05 0.000145265 0.000352905 0.000342982 0.000140424 1.95191e-05 1.96477e-05 0.000146327 0.00035714 0.000347065 0.000141317 1.96087e-05 1.97247e-05 0.000147446 0.000361417 0.000351129 0.000142443 1.96797e-05 1.97953e-05 0.000148434 0.000365684 0.000355217 0.000143314 1.97506e-05 1.98732e-05 0.000149587 0.000370092 0.000359579 0.000144809 1.98357e-05 1.9983e-05 0.000151514 0.000374904 0.000364456 0.000146528 1.99515e-05 2.00841e-05 0.000152849 0.000380039 0.000369283 0.000147523 2.00281e-05 2.01422e-05 0.000154057 0.000385086 0.000374004 0.000148725 2.01041e-05 2.02202e-05 0.000155412 0.00039009 0.00037885 0.000150144 2.01847e-05 2.03081e-05 0.000157006 0.000395428 0.00038416 0.000151646 2.02753e-05 2.04008e-05 0.00015851 0.000401105 0.000389571 0.000153029 2.0369e-05 2.0493e-05 0.000160038 0.000406739 0.000394973 0.00015451 2.04575e-05 2.05805e-05 0.000161587 0.000412524 0.000400552 0.000155991 2.05446e-05 2.06732e-05 0.00016319 0.000418472 0.000406379 0.000157615 2.06393e-05 2.07741e-05 0.000165108 0.00042487 0.000412663 0.000159487 2.07415e-05 2.08754e-05 0.000166894 0.00043154 0.000419023 0.00016087 2.08376e-05 2.09631e-05 0.000168224 0.000438235 0.000425299 0.00016237 2.09272e-05 2.10767e-05 0.000170182 0.000445002 0.000432042 0.000164381 2.10477e-05 2.12018e-05 0.000172238 0.0004524 0.000439319 0.000166386 2.1164e-05 2.13276e-05 0.000174489 0.000460203 0.000446944 0.00016856 2.12923e-05 2.14584e-05 0.000176803 0.000468324 0.000454723 0.000170634 2.14186e-05 2.1584e-05 0.000178933 0.000476483 0.000462598 0.000172743 2.15434e-05 2.17162e-05 0.000181409 0.000485085 0.000471063 0.000175149 2.16767e-05 2.18597e-05 0.000183943 0.000494146 0.00047985 0.000177514 2.18208e-05 2.20071e-05 0.00018649 0.000503555 0.000488919 0.000179967 2.19653e-05 2.21562e-05 0.000189164 0.000513101 0.000498161 0.00018251 2.21127e-05 2.23079e-05 0.000191811 0.000522986 0.000507698 0.000184947 2.22613e-05 2.24572e-05 0.000194347 0.000532906 0.000517155 0.000187397 2.2407e-05 2.2612e-05 0.000196965 0.00054298 0.00052706 0.000189799 2.2562e-05 2.27684e-05 0.000199558 0.000553698 0.00053767 0.000192265 2.26986e-05 2.2928e-05 0.000202132 0.000565136 0.000548537 0.000194272 2.28791e-05 2.31108e-05 0.000203831 0.000576515 0.000559563 0.000195784 2.30555e-05 2.33423e-05 0.000205742 0.000589897 0.00057365 0.000197923 2.33077e-05 2.36319e-05 0.000208879 0.000607379 0.000591811 0.000201524 2.364e-05 2.39242e-05 0.000215757 0.000635441 0.000616604 0.000205848 2.39692e-05 2.43181e-05 0.000225608 0.000661104 0.000641876 0.000213987 2.41611e-05 2.45287e-05 0.000234729 0.000693396 0.000670809 0.000222829 2.45219e-05 2.49978e-05 0.000242726 0.000719675 0.000702419 0.000235426 2.50639e-05 2.54241e-05 0.000250767 0.000754369 0.000736714 0.000242076 2.54495e-05 2.57832e-05 0.000257978 0.000789926 0.000777527 0.000256635 2.61086e-05 2.64827e-05 0.000277968 0.000836114 0.000820984 0.00026809 2.66379e-05 2.70112e-05 0.000286883 0.000873597 0.000861014 0.00027892 2.71672e-05 2.75998e-05 0.000296759 0.000914077 0.000903071 0.000291339 2.79658e-05 2.86656e-05 0.000308809 0.000948229 0.000928708 0.00030488 2.92018e-05 3.01489e-05 0.000311456 0.000965102 0.000936736 0.000310058 3.16094e-05 3.40265e-05 0.000325076 0.000972432 0.000938664 0.000323722 3.72853e-05 4.35353e-05 0.000382843 0.000983436 0.000954278 0.000445076 3.37824e-05 2.24934e-05 9.67294e-05 0.000276339 0.000807199 0.000263608 2.76888e-05 3.0558e-05 0.000252408 0.000786224 0.000904628 0.000302372 3.56302e-05 4.23122e-05 0.000304452 0.000948992 0.00129853 0.000364962 5.34634e-05 8.79431e-05 0.000498617 0.00231899 0.00341991 0.00135512 0.000151328 0.000176981 0.00135625 0.00374934 0.00467078 0.00196369 0.000211869 0.000233169 0.00216204 0.00506326 0.00492332 0.00208612 0.000223515 0.000202583 0.00161524 0.00370619 0.00472545 0.00186119 0.000244574 0.000281991 0.00210705 0.00502027 0.00545092 0.00228886 0.000327591 0.00035725 0.00242285 0.00579176 0.00583966 0.00250534 0.000406976 0.000461985 0.00302392 0.00709332 0.00745286 0.00328273 0.000523705 0.000515611 0.0034485 0.00782052 0.00623856 0.0028794 0.000470737 0.00046995 0.00296144 0.00648425 0.00615339 0.00286705 0.000470794 0.000457339 0.00299137 0.00638646 0.00506548 0.00253838 0.000426164 0.000434557 0.00267216 0.00551921 0.00626216 0.00300027 0.000473025 0.00050595 0.00327787 0.00692231 0.00696516 0.00342011 0.000513753 0.000528371 0.00335246 0.00648119 0.0056066 0.00372306 0.000573485 0.000653849 0.00416736 0.00460538 0.00377135 0.00358579 0.000677203 0.000752724 0.00317041 0.00357747 0.00310186 0.00256115 0.000836889 0.000955996 0.00230158 0.00251876 0.00207394 0.00182452 0.000999941 0.000912844 0.00156123 0.00201126 0.00189044 0.00133188 0.00103901 0.000636661 0.00117509 0.00193229 0.00206993 0.00115561 0.00077983 0.000403113 0.00121567 0.00238664 0.00260856 0.00132282 0.000410924 0.000337762 0.00106669 0.00333786 0.0017823 0.000820017 0.000328287 0.000312463 0.00080476 0.00200953 0.00196195 0.000773255 0.000307951 0.000276639 0.000670908 0.00131626 0.00165943 0.000725415 0.000268262 0.000251639 0.000723897 0.00153661 0.00141302 0.000678706 0.000225357 0.000199881 0.000606701 0.00107324 0.00140611 0.000683253 0.000189931 0.000177676 0.000716249 0.00136081 0.00131031 0.000687282 0.000161253 0.000142626 0.000645695 0.00105402 0.00141552 0.000747998 0.000139153 0.000150068 0.000769534 0.00130963 0.00212678 0.00100976 0.000176168 0.000202705 0.00113372 0.00239043 0.00247782 0.00120628 0.00019491 0.000184134 0.00115692 0.00204284 0.0028113 0.00138641 0.000199517 0.000213654 0.00150091 0.00280165 0.00268927 0.00142843 0.000191677 0.00017653 0.00129133 0.00215433 0.00273874 0.00149265 0.000188385 0.000205299 0.00160863 0.00286018 0.00272357 0.00154001 0.00018893 0.000166476 0.00137177 0.00259758 0.00202666 0.0011397 0.000144071 0.000151682 0.00136637 0.00264161 0.0024812 0.00124439 0.000148852 0.000119909 0.00106999 0.00207166 0.00116245 0.000336914 6.5163e-05 5.22411e-05 0.000423652 0.00158524 0.00133129 0.000383889 6.27645e-05 4.89663e-05 0.000313839 0.000949365 0.000908065 0.000302838 3.93165e-05 2.72683e-05 0.000127912 0.000358146 0.000956049 0.000505964 4.07227e-05 5.3467e-05 0.000488862 0.000965232 0.000792575 0.000331282 4.51902e-05 3.61509e-05 0.000292212 0.000731651 0.000273259 0.000114038 2.66592e-05 3.55113e-05 0.000435093 0.000816732 0.00076029 0.000349878 4.59344e-05 3.70091e-05 0.000294386 0.000685233 0.000259947 0.000112205 2.62462e-05 3.48492e-05 0.000407511 0.000777974 0.000714579 0.000329436 4.5347e-05 3.68668e-05 0.00027357 0.000617685 0.000237294 0.000108469 2.70727e-05 3.34269e-05 0.000356696 0.000705793 0.000672422 0.000325391 4.39522e-05 3.81693e-05 0.000231558 0.000533149 0.000498532 0.000214736 3.16764e-05 2.41272e-05 8.87578e-05 0.000192909 0.000592719 0.000296942 2.93166e-05 3.93571e-05 0.000258622 0.000537991 0.000463957 0.000213651 3.22003e-05 2.4584e-05 8.81437e-05 0.000181719 0.000534254 0.000271715 2.82111e-05 3.77677e-05 0.000230589 0.000472808 0.000425104 0.000200904 3.12444e-05 2.42172e-05 8.38502e-05 0.000171881 0.000515681 0.000263162 2.78114e-05 3.73227e-05 0.000230079 0.00046688 0.000405934 0.000193618 3.125e-05 2.41778e-05 8.09721e-05 0.000164631 0.000463726 0.00024079 2.64949e-05 3.58489e-05 0.000208756 0.000415003 0.000374776 0.000182139 3.02446e-05 2.40486e-05 7.84025e-05 0.000157489 0.000446628 0.000234068 2.58723e-05 3.51805e-05 0.000208071 0.000406302 0.000353448 0.000172196 3.00379e-05 2.39827e-05 7.53627e-05 0.00014876 0.000396875 0.000212763 2.42667e-05 3.1742e-05 0.000198276 0.000384107 0.000165517 8.80908e-05 2.49091e-05 2.68041e-05 0.00024214 0.000450385 0.000403609 0.000212766 3.60024e-05 3.09466e-05 0.000179291 0.000347329 0.000153243 7.99233e-05 2.45116e-05 2.53625e-05 0.000217849 0.000396707 0.000360687 0.000194085 3.44123e-05 2.99079e-05 0.000168877 0.00031958 0.000142597 7.49047e-05 2.39094e-05 2.35621e-05 0.00019073 0.000335899 0.000321613 0.000179127 3.0599e-05 2.43008e-05 8.29938e-05 0.000148074 0.000359945 0.000205307 2.46577e-05 3.34303e-05 0.000180821 0.000319646 0.000287928 0.000160749 2.91096e-05 2.41674e-05 7.33481e-05 0.000135699 0.000302503 0.000177879 2.32075e-05 3.03862e-05 0.000171051 0.000293111 0.000140643 8.10689e-05 2.44065e-05 2.41566e-05 0.000191624 0.000326866 0.00030117 0.000176113 3.30071e-05 2.92261e-05 0.000152915 0.000268101 0.000130539 7.41235e-05 2.39385e-05 2.28714e-05 0.000171043 0.000279736 0.000272002 0.000162287 2.98934e-05 2.39708e-05 8.01506e-05 0.00013441 0.000298784 0.000180969 2.35221e-05 3.21703e-05 0.000164665 0.000272186 0.000247953 0.000144394 2.84696e-05 2.39297e-05 7.4494e-05 0.000123761 0.000248434 0.000158826 2.25132e-05 2.98536e-05 0.000148841 0.000239169 0.000125624 8.08035e-05 2.40329e-05 2.28213e-05 0.000165645 0.000256445 0.000242947 0.000154596 3.14194e-05 2.79076e-05 0.000132903 0.000219955 0.00011341 7.29771e-05 2.37747e-05 2.19384e-05 0.000147915 0.000223373 0.000214162 0.00013852 2.92481e-05 2.36482e-05 7.79289e-05 0.000115251 0.000231414 0.000155308 2.19643e-05 2.92565e-05 0.000144067 0.000219736 0.000120065 8.15814e-05 2.37019e-05 2.22262e-05 0.000157974 0.000230111 0.000218381 0.000144578 2.98398e-05 2.45056e-05 8.48224e-05 0.000122884 0.00023805 0.000160933 2.31513e-05 3.2013e-05 0.00015019 0.000228958 0.000201879 0.000131694 2.84627e-05 2.37906e-05 7.75914e-05 0.00011032 0.000207229 0.000141805 2.20169e-05 2.97308e-05 0.00013368 0.000193766 0.000110622 8.23797e-05 2.42736e-05 2.22452e-05 0.00014344 0.000203499 0.000191294 0.000134547 2.97474e-05 2.42905e-05 8.41747e-05 0.000111432 0.000208126 0.000147315 2.24749e-05 3.02004e-05 0.000137933 0.00019453 0.00011527 8.80366e-05 2.49382e-05 2.33848e-05 0.000149173 0.000211747 0.000207359 0.00014524 3.27681e-05 2.94672e-05 0.000127614 0.000183942 0.000104066 8.14442e-05 2.45494e-05 2.21569e-05 0.000135682 0.000191901 0.000180032 0.000128807 3.00996e-05 2.46302e-05 8.44111e-05 0.000105222 0.000194228 0.000139586 2.23105e-05 3.03274e-05 0.000131771 0.000180593 0.000107542 8.75602e-05 2.49573e-05 2.28053e-05 0.000141158 0.00019304 0.000179595 0.000132506 3.083e-05 2.5224e-05 8.92038e-05 0.000108101 0.000196146 0.000143148 2.29223e-05 3.10101e-05 0.000135199 0.000182252 0.000110304 9.1749e-05 2.56349e-05 2.3308e-05 0.000144407 0.000195313 0.000181388 0.000135883 3.15673e-05 2.62183e-05 9.42461e-05 0.00011132 0.000196491 0.000143718 2.4052e-05 3.37089e-05 0.000140776 0.000186635 0.000168961 0.000126271 3.02851e-05 2.52347e-05 8.56783e-05 0.000100243 0.000172595 0.000127417 2.25364e-05 3.10671e-05 0.000122086 0.000162195 9.97901e-05 8.80381e-05 2.55356e-05 2.26303e-05 0.000128097 0.000169747 0.000159155 0.000122341 3.103e-05 2.55669e-05 8.93505e-05 9.96423e-05 0.000170223 0.000129223 2.27979e-05 3.12059e-05 0.000123051 0.00015905 0.000100388 9.09869e-05 2.5709e-05 2.28155e-05 0.000129463 0.000169231 0.000159011 0.000123834 3.12953e-05 2.60446e-05 9.24772e-05 0.000101273 0.000171253 0.000131214 2.31723e-05 3.17152e-05 0.000125267 0.000160477 0.000102637 9.45306e-05 2.63039e-05 2.35571e-05 0.000132266 0.000171825 0.000161773 0.000126708 3.22566e-05 2.68277e-05 9.65294e-05 0.000104202 0.000174797 0.000134893 2.38534e-05 3.25048e-05 0.000128957 0.000164051 0.000105987 9.84759e-05 2.71384e-05 2.41193e-05 0.000135711 0.00017541 0.000165384 0.00013035 3.30001e-05 2.7706e-05 0.000100692 0.000107505 0.000179272 0.000138893 2.4723e-05 3.37206e-05 0.000133279 0.000168779 0.00011102 0.000104399 2.84855e-05 2.58314e-05 0.0001422 0.000184629 0.000179182 0.000143558 3.61808e-05 3.28185e-05 0.000130456 0.000161006 0.000103979 9.69568e-05 2.75368e-05 2.44205e-05 0.000130466 0.000170171 0.000161608 0.000125685 3.3838e-05 2.8111e-05 9.88358e-05 0.000104259 0.000172039 0.000133302 2.4723e-05 3.38709e-05 0.000128209 0.000162068 0.000106191 0.000100846 2.80816e-05 2.47318e-05 0.000134696 0.000172199 0.000161868 0.00012951 3.38804e-05 2.82573e-05 0.000102384 0.000106949 0.000174294 0.000136507 2.50657e-05 3.42841e-05 0.00013145 0.000164238 0.000109108 0.000104017 2.85352e-05 2.51233e-05 0.000137952 0.000175299 0.000164992 0.000132711 3.45005e-05 2.87339e-05 0.000105469 0.000109903 0.000177493 0.000139551 2.53553e-05 3.4851e-05 0.000134432 0.000167546 0.00011228 0.000107635 2.92462e-05 2.58682e-05 0.00014165 0.000178948 0.000168621 0.000136378 3.53628e-05 2.9585e-05 0.000109569 0.000113412 0.000181675 0.000143998 2.62175e-05 3.59519e-05 0.000138784 0.000171751 0.000116453 0.000111926 3.00814e-05 2.64617e-05 0.000145888 0.000183291 0.000172929 0.000140588 3.61897e-05 3.03789e-05 0.000113738 0.000117711 0.000186188 0.000148025 2.68896e-05 3.69856e-05 0.000142991 0.000176484 0.00012165 0.000117592 3.14121e-05 2.80812e-05 0.0001513 0.000191472 0.000184224 0.000154253 3.94458e-05 3.55574e-05 0.000141398 0.000165468 0.000115432 0.000108712 2.99439e-05 2.64209e-05 0.00013652 0.0001707 0.000162834 0.000132301 3.67397e-05 3.08175e-05 0.000110002 0.000113748 0.000168316 0.000136309 2.67789e-05 3.69003e-05 0.000132104 0.000159307 0.000113041 0.000111574 3.0706e-05 2.67735e-05 0.000136744 0.000166477 0.000158591 0.000132641 3.70242e-05 3.0914e-05 0.000112922 0.000113308 0.000168269 0.000138272 2.6965e-05 3.71032e-05 0.000134083 0.000159768 0.000114685 0.000114894 3.11056e-05 2.72164e-05 0.000139928 0.00017017 0.000162235 0.000135968 3.73587e-05 3.15545e-05 0.000116945 0.000116378 0.000174257 0.00014314 2.77261e-05 3.82221e-05 0.000139041 0.000166087 0.000119486 0.000120339 3.21124e-05 2.82917e-05 0.000146535 0.000177979 0.00017002 0.00014264 3.88916e-05 3.32151e-05 0.000124715 0.000122904 0.00018732 0.000152096 2.96503e-05 4.16575e-05 0.000157141 0.000180609 0.000164404 0.000146275 3.7807e-05 3.20919e-05 0.000118424 0.000121343 0.000173476 0.000142576 2.81827e-05 3.96764e-05 0.000138929 0.000166745 0.000120586 0.000121965 3.3498e-05 2.89549e-05 0.000145915 0.00017559 0.000167471 0.00014184 3.99257e-05 3.35272e-05 0.00012471 0.000122203 0.000179248 0.000149384 2.9155e-05 4.00519e-05 0.000145125 0.000171588 0.000125738 0.000127592 3.38168e-05 2.95261e-05 0.00015254 0.000182904 0.00017441 0.000148569 4.03242e-05 3.43393e-05 0.000131343 0.000128726 0.000187857 0.000155537 3.06752e-05 4.3169e-05 0.000161013 0.000178787 0.000165631 0.000150883 3.94604e-05 3.38967e-05 0.000124383 0.000126757 0.000175372 0.000146801 2.97168e-05 4.14866e-05 0.000142993 0.000168302 0.000125023 0.000128015 3.48297e-05 3.02106e-05 0.000149217 0.000177264 0.000170073 0.000145715 4.16818e-05 3.54995e-05 0.000132595 0.000127473 0.000185479 0.000154704 3.13027e-05 4.44787e-05 0.000161529 0.000177549 0.000163468 0.000152216 4.06797e-05 3.48918e-05 0.000128489 0.00012789 0.000175722 0.000148375 3.05404e-05 4.26762e-05 0.000145101 0.000169176 0.000127685 0.000132424 3.59645e-05 3.10701e-05 0.00015288 0.000179628 0.000171379 0.000149226 4.27669e-05 3.5887e-05 0.000136183 0.000130528 0.000185042 0.000155905 3.13934e-05 4.49514e-05 0.000162927 0.000175519 0.000163849 0.000153692 4.13115e-05 3.57474e-05 0.00013057 0.000130144 0.000175909 0.000149728 3.11714e-05 4.3656e-05 0.000146319 0.000169068 0.000129732 0.000135238 3.67628e-05 3.17347e-05 0.000153675 0.000179426 0.000172266 0.000150393 4.39285e-05 3.762e-05 0.000141323 0.00013292 0.00018979 0.000160801 3.28712e-05 4.655e-05 0.000168378 0.00018199 0.000168379 0.000160456 4.31407e-05 3.73323e-05 0.000140256 0.000136153 0.000184029 0.000157765 3.2831e-05 4.58023e-05 0.000155147 0.000177679 0.000139038 0.000147009 3.91833e-05 3.4358e-05 0.000165346 0.000193146 0.000185758 0.000174231 4.84229e-05 4.36124e-05 0.000165063 0.000171135 0.000138836 0.000142317 3.74159e-05 3.28176e-05 0.000158653 0.000185617 0.000179973 0.000155806 4.6486e-05 4.0336e-05 0.000149179 0.000142277 0.000193211 0.000166718 3.52799e-05 4.9942e-05 0.000175698 0.00018577 0.000172573 0.000168388 4.58809e-05 3.95084e-05 0.000149817 0.000144004 0.000188714 0.000164114 3.45967e-05 4.95255e-05 0.000173074 0.000180391 0.000170689 0.000163196 4.50149e-05 3.96543e-05 0.0001445 0.000141784 0.000183371 0.000158491 3.48442e-05 4.89248e-05 0.000156641 0.00017738 0.000143564 0.000154658 4.18132e-05 3.65728e-05 0.000169018 0.000193704 0.000186388 0.000178159 5.17315e-05 4.79076e-05 0.00017166 0.000174377 0.00014725 0.000157573 4.15459e-05 3.5989e-05 0.000171702 0.000197795 0.00019086 0.000180942 5.16782e-05 4.83983e-05 0.000174 0.000178731 0.000151239 0.000159399 4.25455e-05 3.77849e-05 0.000173185 0.000198542 0.000191938 0.000182641 5.40894e-05 5.02721e-05 0.000175107 0.000181466 0.000154953 0.000162132 4.36295e-05 3.76214e-05 0.000174253 0.000198245 0.000192078 0.000183937 5.3423e-05 4.96762e-05 0.000176411 0.00018051 0.000155053 0.000163839 4.40833e-05 3.91331e-05 0.000175631 0.000199469 0.00019117 0.000176204 5.63779e-05 5.43009e-05 0.000189551 0.000181535 0.000176533 0.000178855 5.10647e-05 4.49399e-05 0.000160159 0.000156548 0.00019086 0.00016864 3.82872e-05 5.59297e-05 0.000178863 0.000184593 0.000175397 0.000172227 5.26799e-05 4.63258e-05 0.000165641 0.000154126 0.000196187 0.000174576 4.04839e-05 5.84233e-05 0.000173759 0.000188517 0.000179532 0.000185252 5.73162e-05 5.22449e-05 0.000176072 0.000173786 0.000154151 0.000166074 4.69803e-05 4.17726e-05 0.000175137 0.000198699 0.000192916 0.000173693 6.16735e-05 5.93264e-05 0.000192953 0.000183645 0.000177086 0.000183675 5.54009e-05 4.81607e-05 0.000171255 0.0001601 0.000200045 0.000177346 4.0212e-05 5.96237e-05 0.00018034 0.000192075 0.000186061 0.000186823 5.97465e-05 6.05678e-05 0.000185584 0.000180046 0.000177388 0.000176573 5.89178e-05 5.20262e-05 0.000172041 0.000160102 0.000199473 0.000176268 4.28285e-05 6.40459e-05 0.000180949 0.000195233 0.000188507 0.000182083 6.56022e-05 6.70467e-05 0.000189066 0.000182771 0.000180543 0.000183453 6.70072e-05 6.54323e-05 0.000186366 0.000175195 0.00017107 0.000176224 6.25585e-05 5.62779e-05 0.000175459 0.000159453 0.000196394 0.000177761 4.63643e-05 6.49292e-05 0.000175568 0.000191489 0.000183048 0.00018794 6.49113e-05 6.83815e-05 0.000185292 0.000180748 0.000178949 0.000185042 7.10102e-05 7.2685e-05 0.0001803 0.000178319 0.000175682 0.000182604 7.56691e-05 7.68287e-05 0.000178152 0.00017575 0.00017495 0.000188073 7.79637e-05 7.92088e-05 0.000191278 0.000175737 0.0001778 0.000203405 7.86521e-05 7.69179e-05 0.000211306 0.0001793 0.000184576 0.000227012 7.49846e-05 7.27319e-05 0.000233767 0.000186633 0.000194832 0.000246871 7.07866e-05 6.87626e-05 0.00024543 0.000197587 0.000208108 0.000258396 6.7099e-05 6.54162e-05 0.00025818 0.000211826 0.000224364 0.000269525 6.40451e-05 6.27388e-05 0.000272979 0.000228843 0.000244505 0.000280982 6.16409e-05 6.06537e-05 0.00028656 0.000250257 0.000269494 0.000292323 5.98006e-05 5.90697e-05 0.000298207 0.000275864 0.000297351 0.000304046 5.8417e-05 5.79063e-05 0.000309747 0.000304774 0.000327254 0.000315748 5.73986e-05 5.71002e-05 0.000321657 0.000335972 0.000359663 0.000327937 5.66918e-05 5.65884e-05 0.000333933 0.000367989 0.000394171 0.000340134 5.62652e-05 5.63052e-05 0.0003461 0.00039602 0.000422359 0.000352425 5.6069e-05 5.61784e-05 0.000358212 0.000424254 0.000449928 0.00036435 5.60436e-05 5.61866e-05 0.000370009 0.000451687 0.000476808 0.000376173 5.61427e-05 5.63004e-05 0.000381489 0.000478249 0.000502332 0.000387368 5.63242e-05 5.64806e-05 0.000392392 0.000503486 0.000526689 0.000398206 5.65389e-05 5.66914e-05 0.000402762 0.000527321 0.000549329 0.000408209 5.67752e-05 5.69221e-05 0.000412417 0.000549613 0.000570372 0.000417679 5.7001e-05 5.71614e-05 0.000421451 0.000570194 0.00058964 0.000426141 5.7233e-05 5.73964e-05 0.000429611 0.000589343 0.000607815 0.000434011 5.74528e-05 5.76115e-05 0.000436975 0.00060704 0.000624383 0.000441 5.76603e-05 5.78142e-05 0.000443639 0.00062354 0.000640063 0.000447457 5.78517e-05 5.79988e-05 0.000449627 0.000638778 0.000654393 0.000453096 5.80308e-05 5.81704e-05 0.000455001 0.000653118 0.000668055 0.000458284 5.8192e-05 5.83229e-05 0.000459774 0.000666378 0.000680604 0.000462741 5.834e-05 5.84636e-05 0.000464033 0.000678989 0.000692687 0.000466849 5.8472e-05 5.85871e-05 0.000467782 0.00069067 0.000703776 0.000470318 5.85912e-05 5.86995e-05 0.000471126 0.000701853 0.000714633 0.000473558 5.86972e-05 5.87983e-05 0.000474048 0.000712318 0.000724581 0.000476224 5.87932e-05 5.88875e-05 0.000476535 0.000722159 0.000734391 0.000478671 5.88764e-05 5.8966e-05 0.000478856 0.000731776 0.000743451 0.000480766 5.89539e-05 5.904e-05 0.000480954 0.000741085 0.000752583 0.000482816 5.90243e-05 5.91075e-05 0.000482784 0.000749825 0.000760941 0.000484444 5.9092e-05 5.91723e-05 0.000484428 0.000758352 0.000769403 0.000486079 5.91544e-05 5.9232e-05 0.000485883 0.000766429 0.000777281 0.000487365 5.92145e-05 5.92897e-05 0.000487225 0.000774414 0.00078362 0.000488727 5.92707e-05 5.93436e-05 0.00048842 0.00078177 0.000788852 0.00048977 5.93263e-05 5.93967e-05 0.000489522 0.000788879 0.000793578 0.000490895 5.93785e-05 5.9446e-05 0.00049048 0.000795295 0.000797972 0.000491701 5.94293e-05 5.94937e-05 0.000491345 0.000801471 0.000801849 0.000492584 5.94762e-05 5.95367e-05 0.000492057 0.000806939 0.000805417 0.000493143 5.95206e-05 5.95772e-05 0.000492674 0.000812222 0.000808553 0.000493785 5.95602e-05 5.96128e-05 0.000493154 0.000815501 0.000811367 0.000494114 5.9597e-05 5.96458e-05 0.000493555 0.000818425 0.000813825 0.000494538 5.96291e-05 5.96737e-05 0.000493817 0.000820558 0.000815944 0.000494653 5.96581e-05 5.96986e-05 0.000494007 0.00082288 0.000817828 0.000494874 5.96821e-05 5.97184e-05 0.000494074 0.000824452 0.000819434 0.000494805 5.97031e-05 5.97355e-05 0.000494089 0.00082629 0.000820874 0.000494866 5.97194e-05 5.97483e-05 0.000494008 0.000827441 0.000822103 0.000494661 5.97335e-05 5.97594e-05 0.000493903 0.000828925 0.00082322 0.000494614 5.97441e-05 5.97672e-05 0.000493724 0.000829764 0.000824167 0.000494323 5.97532e-05 5.97739e-05 0.000493541 0.00083098 0.000825041 0.000494208 5.97596e-05 5.97781e-05 0.000493303 0.000831584 0.000825782 0.000493866 5.97652e-05 5.97818e-05 0.000493077 0.00083261 0.000826485 0.000493714 5.97686e-05 5.97835e-05 0.000492808 0.000833044 0.000827073 0.000493346 5.97717e-05 5.97852e-05 0.000492561 0.000833919 0.000827631 0.000493179 5.97731e-05 5.97852e-05 0.000492278 0.000834206 0.000828084 0.000492801 5.97745e-05 5.97854e-05 0.000492025 0.000834949 0.000828522 0.000492631 5.97744e-05 5.97843e-05 0.000491741 0.000835116 0.00082887 0.000492256 5.97746e-05 5.97836e-05 0.000491492 0.000835759 0.000829219 0.000492092 5.97737e-05 5.97818e-05 0.000491216 0.000835838 0.00082949 0.000491726 5.97731e-05 5.97805e-05 0.000490977 0.000836406 0.000829768 0.000491572 5.97715e-05 5.97781e-05 0.00049071 0.000836411 0.000829972 0.000491215 5.97703e-05 5.97767e-05 0.000490479 0.00083691 0.000830185 0.000491071 5.97682e-05 5.97738e-05 0.000490222 0.000836848 0.000830328 0.000490725 5.97663e-05 5.9772e-05 0.000490002 0.000837289 0.000830491 0.000490592 5.97637e-05 5.97686e-05 0.000489756 0.000837177 0.000830593 0.000490258 5.97613e-05 5.97663e-05 0.000489548 0.00083758 0.00083072 0.000490137 5.97582e-05 5.97625e-05 0.000489314 0.000837431 0.000830788 0.000489815 5.97554e-05 5.97598e-05 0.000489117 0.000837797 0.000830881 0.000489706 5.9752e-05 5.97558e-05 0.000488895 0.000837611 0.000830918 0.000489397 5.97489e-05 5.97528e-05 0.000488711 0.000837949 0.000830987 0.0004893 5.97452e-05 5.97484e-05 0.000488501 0.000837739 0.000831005 0.000489004 5.97418e-05 5.97452e-05 0.000488331 0.00083806 0.000831061 0.000488922 5.97379e-05 5.97407e-05 0.000488135 0.000837836 0.000831067 0.000488641 5.97343e-05 5.97374e-05 0.000487978 0.000838145 0.000831113 0.000488572 5.97303e-05 5.97328e-05 0.000487796 0.000837911 0.000831112 0.000488304 5.97267e-05 5.97295e-05 0.000487653 0.000838213 0.000831153 0.000488248 5.97227e-05 5.97249e-05 0.000487483 0.000837973 0.000831148 0.000487993 5.97191e-05 5.97217e-05 0.000487352 0.000838271 0.000831185 0.000487949 5.97152e-05 5.97173e-05 0.000487193 0.000838023 0.000831173 0.000487705 5.97118e-05 5.97143e-05 0.000487073 0.000838314 0.000831204 0.000487672 5.97082e-05 5.97101e-05 0.000486925 0.000838061 0.000831191 0.000487439 5.97051e-05 5.97075e-05 0.000486815 0.000838352 0.000831224 0.000487416 5.97018e-05 5.97037e-05 0.000486676 0.0008381 0.00083121 0.000487191 5.96991e-05 5.97015e-05 0.000486574 0.000838387 0.000831237 0.000487175 5.96962e-05 5.9698e-05 0.000486442 0.000838124 0.000831211 0.000486958 5.96938e-05 5.96961e-05 0.000486348 0.000838399 0.000831228 0.000486951 5.96912e-05 5.9693e-05 0.000486225 0.00083813 0.000831203 0.000486743 5.96891e-05 5.96913e-05 0.00048614 0.00083841 0.00083123 0.000486745 5.96867e-05 5.96884e-05 0.000486027 0.000838153 0.000831217 0.000486548 5.96848e-05 5.96869e-05 0.000485954 0.000838445 0.000831256 0.000486562 5.96827e-05 5.96842e-05 0.000485855 0.0008382 0.000831259 0.00048638 5.96811e-05 5.9684e-05 0.000485797 0.000838514 0.000831327 0.000486411 5.96798e-05 5.96836e-05 0.000485717 0.000838306 0.000831371 0.000486249 5.96792e-05 5.96848e-05 0.000485683 0.000838666 0.000831488 0.000486304 5.96784e-05 5.96861e-05 0.00048562 0.000838376 0.0008317 0.000486162 5.96786e-05 5.97289e-05 0.00048598 0.000838851 0.000831847 0.000486592 5.97469e-05 5.97803e-05 0.000486401 0.000840298 0.000832063 0.00048798 6.00352e-05 6.0338e-05 0.000489199 0.000845667 0.000860379 0.000496383 6.16702e-05 6.34209e-05 0.000505408 0.000875843 0.000953285 0.000532759 6.8421e-05 7.29331e-05 0.000566776 0.000995293 0.00106751 0.000608777 7.82068e-05 0.00163259 0.00262011 0.00398752 0.00720412 0.0132094 0.0165903 0.0248034 0.0449167 0.0599212 0.0815685 0.108827 0.143353 0.186843 0.240669 0.306023 0.38353 0.473343 0.574958 0.687265 0.808443 0.936335 1.06785 1.20034 1.32847 1.44913 1.55374 1.63939 1.70069 1.73879 1.7567 1.76761 1.78781 1.81692 1.85423 1.89836 1.94855 2.00366 2.06373 2.12882 2.19948 2.27641 2.36056 2.45307 2.55541 2.66943 2.79755 2.94295 3.11004 3.30503 3.53725 3.06992 2.07442 1.50735 1.23061 1.08663 0.994623 0.917001 0.841583 0.767688 0.697391 0.63181 0.571063 0.514886 0.463076 0.415609 0.372507 0.333707 0.299024 0.268167 0.240797 0.216566 0.195144 0.176228 0.159544 0.144848 0.131921 0.120569 0.110614 0.101898 0.0942806 0.0876338 0.081844 0.0768105 0.072444 0.0686653 0.065405 0.0626021 0.0602033 0.0581618 0.0564373 0.0549947 0.0538034 0.0528369 0.0520725 0.0514904 0.0510735 0.0508069 0.0506782 0.0506762 0.0507916 0.0510159 0.0513424 0.0517653 0.0522792 0.0528798 0.0535637 0.0543275 0.055169 0.0560859 0.0570764 0.0581394 0.0592734 0.0604777 0.0617514 0.0630942 0.0645056 0.0659855 0.0675337 0.0691504 0.0708357 0.0725901 0.074414 0.0763083 0.078274 0.0803123 0.0824246 0.0846128 0.086879 0.0892256 0.0916555 0.0941722 0.0967791 0.0994802 0.10228 0.105184 0.108198 0.111326 0.114577 0.117957 0.121473 0.125134 0.128949 0.132926 0.137077 0.141412 0.145943 0.150683 0.155646 0.160847 0.1663 0.172024 0.178037 0.184358 0.191009 0.198011 0.20539 0.213173 0.221388 0.230067 0.239246 0.248963 0.259262 0.270193 0.281814 0.294188 0.30739 0.321505 0.336635 0.352897 0.370429 0.389395 0.409985 0.43243 0.457005 0.484043 0.513948 0.54722 0.584486 0.62654 0.67442 0.729518 0.793782 0.870079 0.96289 1.0796 1.23288 1.4449 1.75547 2.23796 3.02407 4.30522 6.21 8.77692 13.7144 30.35 111.222 447.244 463.735 472.019 340.931 159.987 58.0843 15.8501 5.4107 2.6219 1.63242 1.22562 1.04486 0.953756 0.894742 0.844536 0.795843 0.748271 0.70341 0.662623 0.626501 0.594973 0.56759 0.543786 0.523017 0.504818 0.488808 0.474694 0.462254 0.451316 0.44174 0.433422 0.42628 0.420258 0.415312 0.411416 0.408558 0.406774 0.406109 0.406571 0.408223 0.411189 0.4156 0.421639 0.429527 0.439506 0.451764 0.466329 0.482871 0.500539 0.518064 0.53473 0.553158 0.584836 0.659973 0.848958 1.32403 2.50489 4.96041 7.43282 5.27992 2.74598 1.00478 0.215447 0.087751 0.0274118 0.0226459 0.0201909 0.0178581 0.016723 0.0152409 0.0145799 0.0135427 0.0131091 0.0123324 0.0120188 0.0114131 0.0111743 0.0106832 0.0104951 0.0100842 0.00993192 0.00957945 0.00945376 0.00914554 0.00903991 0.00876675 0.00867557 0.0084313 0.00835158 0.00813066 0.00806016 0.00785843 0.00779547 0.00760974 0.00755305 0.00738085 0.00732949 0.007169 0.00712223 0.00697194 0.0069291 0.00678767 0.00674817 0.00661445 0.00657779 0.00645079 0.00641649 0.00629544 0.00626308 0.00614718 0.00611649 0.00600509 0.00597582 0.00586832 0.00584024 0.00573606 0.00570893 0.00560752 0.0055811 0.00548193 0.00545601 0.00535864 0.00533298 0.00523709 0.00521144 0.00511663 0.00509084 0.00499682 0.00497076 0.00487728 0.00485081 0.00475764 0.00473065 0.00463756 0.00460998 0.00451682 0.00448858 0.00439529 0.0043664 0.00427302 0.00424355 0.00415021 0.00412028 0.00402727 0.0039971 0.00390476 0.00387488 0.00378417 0.00375504 0.0036668 0.00363904 0.00355497 0.00352901 0.00345108 0.00342737 0.00335705 0.0033376 0.00327231 0.00326168 0.00320257 0.00320209 0.00314993 0.00316101 0.00311667 0.00313988 0.00310391 0.0031387 0.00311076 0.00315568 0.00313491 0.00318802 0.00317303 0.00323092 0.00321911 0.003279 0.00326884 0.00332933 0.00331994 0.00337956 0.00337003 0.00342776 0.00341775 0.00347299 0.00346248 0.00351489 0.00350401 0.00355321 0.00354188 0.00358777 0.00357589 0.0036184 0.00360589 0.00364507 0.00363185 0.00366785 0.0036539 0.00368691 0.00367209 0.00370231 0.00368649 0.00371401 0.00369721 0.00372226 0.00370442 0.00372718 0.00370804 0.00372855 0.00370805 0.00372644 0.00370447 0.00372085 0.00369755 0.00371209 0.00368744 0.00370025 0.0036742 0.00368525 0.00365821 0.00366774 0.00363963 0.00364671 0.00360853 0.00363695 0.00361209 0.00366683 0.00370159 0.00372042 0.00374369 0.0074799 0.0117836 0.0116939 0.00739577 0.0073729 0.0115779 0.0112016 0.00724014 0.00702656 0.0105191 0.01787 0.0166245 0.01647 0.01637 0.0201025 0.0200007 0.0197729 0.024772 0.024529 0.0243239 0.027675 0.0277983 0.0277951 0.0267215 0.026545 0.0177866 0.0113661 0.007188 0.00704334 0.0105369 0.0113767 0.00719994 0.00707865 0.0105916 0.0178803 0.0179872 0.011426 0.0072323 0.00710726 0.0106376 0.0114716 0.00725794 0.00713268 0.0106753 0.0180984 0.0181864 0.0115104 0.00727954 0.00715 0.0107025 0.0115381 0.00729411 0.00715996 0.010718 0.0182669 0.0183252 0.0115535 0.00730131 0.00716241 0.0107224 0.0115565 0.00730066 0.0071568 0.0107144 0.0183656 0.0183847 0.0115461 0.00729169 0.00714268 0.0106936 0.0115217 0.00727404 0.00711976 0.0106594 0.0183836 0.018359 0.0114828 0.00724762 0.00708803 0.0106117 0.0114293 0.00721261 0.00704766 0.0105504 0.0183121 0.0182413 0.0113612 0.00716904 0.00699865 0.010476 0.011279 0.00711695 0.00694138 0.0103892 0.0181477 0.0180325 0.0111837 0.0070569 0.0068763 0.0102913 0.0110768 0.00698954 0.00680421 0.010184 0.017899 0.0177509 0.0109604 0.00691561 0.00672588 0.0100695 0.0108371 0.00683601 0.00664239 0.00995024 0.0175934 0.0174331 0.0107097 0.00675197 0.00655515 0.009829 0.0105817 0.00666498 0.00646572 0.00970875 0.0172762 0.0171285 0.0104565 0.00657664 0.0063762 0.00959318 0.0103386 0.0064892 0.00628903 0.00948886 0.0169933 0.0168916 0.0102358 0.00640507 0.00620654 0.00940121 0.0101546 0.00632686 0.00613183 0.00933333 0.0168318 0.016828 0.0101034 0.00625882 0.00606958 0.00929017 0.0100892 0.0062059 0.00602544 0.00928266 0.0168938 0.0170412 0.0101181 0.00617335 0.00600528 0.0093182 0.0101978 0.00616689 0.00601486 0.00940353 0.0172825 0.0176249 0.010334 0.00619153 0.00605823 0.00954397 0.010531 0.00625072 0.00613803 0.00974166 0.0180805 0.018603 0.0107885 0.0063461 0.00626197 0.00999857 0.011103 0.00649185 0.00642385 0.0103049 0.0192186 0.0199477 0.0114604 0.00667331 0.00661338 0.010657 0.011865 0.00688204 0.0068252 0.0110475 0.0207898 0.0216971 0.0123086 0.00711459 0.00705885 0.0114673 0.0127826 0.00736624 0.00730999 0.0119069 0.0226546 0.0236533 0.0132786 0.00763219 0.00757417 0.0123636 0.0137867 0.00790773 0.00784685 0.0128316 0.0246852 0.0257428 0.0143019 0.00818942 0.00812495 0.0133063 0.0148204 0.00847521 0.00840668 0.0137846 0.0268213 0.0279167 0.0153407 0.00876285 0.00868904 0.0142656 0.0158625 0.00905 0.00897083 0.0147438 0.0290248 0.0301465 0.0163866 0.00933641 0.00925149 0.0152214 0.0169103 0.00962134 0.00953074 0.0156984 0.0312818 0.0324322 0.017434 0.00990486 0.00980864 0.0161754 0.0179585 0.0101872 0.0100855 0.0166536 0.0335998 0.0347896 0.0184849 0.010469 0.0103619 0.0171333 0.0190151 0.0107507 0.0106385 0.0176151 0.0360123 0.0372596 0.0195493 0.0110335 0.0109163 0.0181016 0.0200893 0.0113183 0.0111965 0.0185949 0.0385352 0.039846 0.0206376 0.0116062 0.0114802 0.0190975 0.0211972 0.0118987 0.0117687 0.0196119 0.0412029 0.0426111 0.0217708 0.0121974 0.0120638 0.020141 0.0223617 0.012504 0.0123672 0.0206884 0.0440783 0.0456119 0.022974 0.0128208 0.0126813 0.0212584 0.0236129 0.0131502 0.0130085 0.021857 0.0472201 0.0489104 0.0242849 0.0134949 0.0133516 0.0224922 0.0250001 0.0138578 0.0137133 0.0231746 0.0506891 0.0525636 0.0257711 0.0142414 0.0140964 0.0239039 0.0265956 0.0146483 0.0145033 0.0246876 0.0545965 0.0568241 0.0274845 0.0150823 0.014938 0.0255328 0.0284458 0.0155475 0.0154048 0.0264502 0.0592626 0.0619501 0.0294926 0.0160499 0.0159096 0.0274514 0.0306407 0.0165957 0.0164592 0.028554 0.064939 0.0682928 0.0319102 0.017193 0.0170618 0.0297794 0.0333288 0.0178507 0.017726 0.0311489 0.0720952 0.0764624 0.0349209 0.0185791 0.018463 0.0326909 0.0367213 0.0193931 0.0192885 0.034442 0.081541 0.0875016 0.0387749 0.0203116 0.0202232 0.0364488 0.0411391 0.0213613 0.0212962 0.0387886 0.0945141 0.102979 0.0439147 0.0225792 0.0225466 0.0415489 0.0472446 0.0240161 0.02403 0.0448722 0.113491 0.12688 0.0513215 0.0257455 0.0258272 0.0489929 0.0564489 0.0278782 0.028078 0.0542589 0.144502 0.168674 0.0631151 0.0306007 0.0310107 0.0612461 0.0721344 0.0342236 0.0349875 0.0709497 0.203685 0.2583 0.0850633 0.0393469 0.0407568 0.0853494 0.104736 0.0469229 0.0500496 0.109644 0.352942 0.540358 0.13896 0.059702 0.0679259 0.157431 1.46165 0.902435 0.629743 0.478724 0.385478 0.323007 0.278524 0.24535 0.219705 0.199304 0.182651 0.168747 0.156957 0.146831 0.138035 0.130301 0.123432 0.117273 0.111711 0.106651 0.102024 0.0977809 0.0938271 0.0901078 0.0865941 0.0832644 0.0800997 0.0770844 0.0741978 0.0714311 0.0686914 0.0659993 0.0633683 0.0608088 0.0583225 0.0559079 0.0535622 0.0512832 0.0490693 0.0469204 0.0448395 0.0428314 0.040905 0.0390717 0.0373518 0.0357627 0.034355 0.0331311 0.0320422 0.0311131 0.0303801 0.0298082 0.0293586 0.0290871 0.0289449 0.0289078 0.0289486 0.0290412 0.02916 0.0292833 0.0293942 0.0294812 0.029537 0.0295572 0.02954 0.029486 0.0293957 0.029272 0.0291176 0.0289369 0.0287319 0.0285084 0.0282648 0.0280136 0.0277394 0.0274772 0.027163 0.026936 0.0334773 0.0328952 0.0326345 0.0310923 0.0308291 0.0305916 0.0327106 0.0329213 0.0330614 0.0347308 0.0344516 0.0341841 0.0348785 0.0351573 0.0354446 0.0357446 0.0362572 0.0362903 0.0357242 0.0353509 0.0350754 0.0347934 0.0339638 0.0342746 0.0346147 0.0327493 0.0325365 0.0322997 0.0300621 0.0303476 0.0306838 0.0324223 0.0328696 0.0336827 0.0371237 0.0370021 0.0376681 0.033943 0.0344707 0.0349759 0.03911 0.0383882 0.0387283 0.0378926 0.0344185 0.0352511 0.0360929 0.0395791 0.0404812 0.0398652 0.0354993 0.0360198 0.0406401 0.0414416 0.0365468 0.0370713 0.0422674 0.0434549 0.042417 0.0414285 0.0379604 0.0370002 0.0295666 0.028801 0.0281106 0.027402 0.0268415 0.026139 0.0260835 0.0271357 0.0270794 0.0269711 0.0235733 0.0236792 0.0239201 0.0184426 0.0188696 0.019209 0.0157218 0.0154955 0.0155231 0.0167073 0.0166253 0.00953671 0.00860239 0.00930064 0.00971454 0.0103414 0.0102918 0.00534463 0.00515783 0.00452863 0.00185742 0.000885858 0.00104937 0.00242342 0.00213632 0.00103449 0.00115872 0.00258127 0.00490331 0.00486289 0.0024901 0.00214808 0.00105446 0.00110764 0.00103898 0.00211967 0.00248527 0.00471817 0.00460787 0.00478013 0.00470723 0.00876597 0.00976495 0.0170954 0.0174443 0.0179228 0.0183735 0.0104889 0.00941776 0.0102351 0.00918845 0.00998788 0.00896952 0.00483892 0.00489905 0.00260856 0.00220946 0.00256482 0.00216996 0.00253944 0.00215466 0.00249951 0.00212357 0.00104538 0.00110422 0.00111209 0.00105696 0.00112856 0.00107036 0.0011442 0.00108436 0.00115903 0.00109803 0.00223177 0.00263189 0.00227194 0.00111595 0.00117453 0.00119217 0.00268172 0.00503481 0.0049764 0.00270564 0.00229489 0.00112912 0.00120794 0.0011473 0.00233596 0.00275688 0.0051796 0.00512005 0.00533108 0.00527146 0.00966088 0.0107592 0.0188843 0.0194099 0.0303637 0.031225 0.0389735 0.0400501 0.0412054 0.0445536 0.0431183 0.0375935 0.0381077 0.0439955 0.0448913 0.0386097 0.039094 0.0458 0.0482059 0.0469251 0.0457082 0.0424387 0.0437666 0.0451937 0.0366472 0.0353796 0.0342097 0.0331468 0.0321523 0.0205931 0.0199833 0.011345 0.0101864 0.0110431 0.00991612 0.00543092 0.00549055 0.00291943 0.00247396 0.00286295 0.00242873 0.00283615 0.0024032 0.0027822 0.00235986 0.00116108 0.00122597 0.00124285 0.00118071 0.00126238 0.00119551 0.00128013 0.00121594 0.00130059 0.00123173 0.00250122 0.00294823 0.00254896 0.00125354 0.0013196 0.00134138 0.00300761 0.00565876 0.00559885 0.00303764 0.00257781 0.00127022 0.00136108 0.00129264 0.0026271 0.00309923 0.00583614 0.00577643 0.0104735 0.0116668 0.0107807 0.00596668 0.006025 0.00319721 0.00270983 0.00313141 0.00265739 0.00131012 0.00138358 0.00140464 0.00133431 0.00142929 0.00135374 0.00274318 0.00323251 0.00279917 0.00137968 0.00145231 0.00147861 0.00330265 0.00622774 0.0120122 0.0212551 0.0219724 0.0227581 0.0236199 0.0132324 0.0118578 0.0127893 0.0114682 0.0123847 0.0111109 0.00617121 0.00644591 0.00639179 0.00345509 0.00293385 0.00341543 0.00289498 0.0033411 0.00283547 0.00140041 0.00150315 0.00142806 0.00153117 0.00145026 0.00155726 0.00147963 0.00299682 0.00353515 0.00668214 0.00663205 0.00694068 0.00689649 0.0122864 0.0137223 0.024574 0.0380392 0.0467372 0.0495561 0.0467299 0.0395557 0.0399866 0.0476675 0.0486098 0.0403794 0.0407266 0.0495428 0.0540244 0.0524652 0.0509751 0.0484106 0.0502324 0.0522192 0.0543909 0.0556473 0.0504534 0.0410208 0.0412555 0.0513249 0.0521392 0.0414291 0.0415455 0.0528669 0.0607496 0.0590332 0.0573228 0.0567586 0.0593369 0.0621168 0.0650893 0.062442 0.0535152 0.0416192 0.0416682 0.0540665 0.0545215 0.0417251 0.0418284 0.0549226 0.0668589 0.065554 0.0640614 0.0682107 0.0714099 0.0745475 0.0773718 0.0679546 0.0553119 0.0420259 0.0423987 0.0557898 0.0563615 0.0429574 0.0436457 0.05718 0.0706488 0.0697318 0.0688815 0.0797969 0.0818173 0.0631092 0.0478287 0.0654076 0.0840607 0.0783799 0.0727725 0.0672479 0.0622679 0.0578809 0.0540469 0.0507452 0.0478631 0.0453607 0.0431855 0.0412726 0.0395693 0.0256141 0.0267666 0.028076 0.0156423 0.0139345 0.0149111 0.013311 0.0142742 0.0127644 0.00719022 0.0072261 0.00380772 0.00322938 0.00371387 0.00315568 0.00366566 0.003108 0.00357864 0.00303961 0.00150356 0.00158722 0.00161556 0.00153552 0.00164841 0.00156197 0.0016793 0.00159638 0.00171453 0.00162477 0.00328172 0.00386095 0.00336133 0.00166158 0.00174767 0.00178552 0.00396313 0.00754433 0.00752111 0.00402382 0.00341997 0.00169214 0.0018213 0.00173201 0.0035081 0.00413776 0.00790249 0.00789536 0.00830956 0.00832585 0.0146556 0.0164886 0.0295785 0.0314405 0.0337178 0.0364154 0.0202377 0.0179048 0.0187317 0.0166014 0.0174926 0.0155252 0.0088306 0.00878538 0.00457903 0.00387598 0.00442575 0.00375789 0.00433841 0.0036761 0.004209 0.00357633 0.00176669 0.00186317 0.00190409 0.00181187 0.00195224 0.00185284 0.00200233 0.00191 0.00206886 0.00196529 0.00397884 0.00468831 0.00411896 0.00204071 0.00214617 0.00221976 0.00486491 0.00934427 0.00943382 0.00499121 0.00424227 0.00210975 0.00230291 0.0021883 0.00439931 0.00517364 0.0100089 0.0101471 0.0108061 0.0110482 0.0195436 0.022133 0.0397659 0.0439336 0.0492822 0.0563315 0.0336532 0.0284146 0.0279285 0.024263 0.0245518 0.0215773 0.0122137 0.0118191 0.00590595 0.00505854 0.00567782 0.00486268 0.00551921 0.00471195 0.00531899 0.00453803 0.00227379 0.00238311 0.00246356 0.00236456 0.00256058 0.00245101 0.00265248 0.00255733 0.00275205 0.00265121 0.00523786 0.00610349 0.00546449 0.00274572 0.00284292 0.00293888 0.00636504 0.0131326 0.0136939 0.00660852 0.00569417 0.00283382 0.00302078 0.00293447 0.00600415 0.0070184 0.0149693 0.0165003 0.0199464 0.022162 0.0346139 0.0398102 0.0638875 0.0668947 0.0469879 0.0353994 0.0298804 0.0378608 0.0426047 0.0512865 0.0476253 0.0415397 0.0275193 0.025099 0.0136046 0.0117437 0.011945 0.0100479 0.0104515 0.00775464 0.0078503 0.00653298 0.00309936 0.00313888 0.0034784 0.00374886 0.00165577 0.00241934 0.00574567 0.00566643 0.00657245 0.0067366 0.00243482 0.00246534 0.00231822 0.00394065 0.00777154 0.00792815 0.0134774 0.0157027 0.015712 0.0104773 0.0102533 0.00656726 0.00464518 0.00685995 0.00808666 0.0119847 0.0179028 0.0313394 0.0353454 0.0210169 0.018333 0.0127356 0.0148422 0.0169532 0.0227161 0.0240091 0.0393083 0.0353517 0.0263664 0.0149161 0.0136418 0.0129271 0.0123986 0.0102148 0.00879147 0.00711625 0.00819179 0.00873158 0.00929405 0.0101152 0.00971662 0.014098 0.0182869 0.027057 0.0217267 0.0196662 0.0176782 0.0124133 0.0123342 0.0159411 0.0171268 0.0172633 0.0140737 0.0157081 0.0200148 0.027498 0.0375293 0.0489383 0.0581177 0.0583023 0.0446446 0.0458397 0.0532288 0.0470005 0.0474153 0.0464772 0.0441241 0.0413433 0.0430857 0.0479622 0.041446 0.0382586 0.0375843 0.0385329 0.0413944 0.043251 0.0444492 0.0439349 0.0435545 0.0446954 0.0444623 0.0456973 0.0464706 0.046728 0.044319 0.0424877 0.0404315 0.0429797 0.046051 0.0495548 0.0496409 0.0487907 0.0474977 0.0497957 0.0515981 0.0548546 0.0525639 0.0557836 0.0585403 0.0609288 0.0567663 0.0529975 0.053451 0.0577244 0.0623637 0.067371 0.0654792 0.0626509 0.0594543 0.0635819 0.0671916 0.0721753 0.0681826 0.0732831 0.0776223 0.0815575 0.0757726 0.0704222 0.0727602 0.0785578 0.0848027 0.087468 0.0807623 0.0745137 0.0686721 0.0631997 0.0580713 0.0532737 0.0488056 0.0446673 0.0408818 0.0375078 0.0345914 0.0323625 0.0315748 0.0328023 0.0244821 0.0243844 0.0261704 0.0200943 0.0176218 0.017369 0.0106886 0.0129632 0.0103606 0.0122404 0.0113432 0.0133139 0.0122194 0.012032 0.0112648 0.0104337 0.00956118 0.0089204 0.00976322 0.00948123 0.00855218 0.00827283 0.00840956 0.0073478 0.00790978 0.00868646 0.00939253 0.00796599 0.00928747 0.00796878 0.0082539 0.00866217 0.00728777 0.0066998 0.00600363 0.00643988 0.0071082 0.00790309 0.00720814 0.00623387 0.00574452 0.00515881 0.00574312 0.00657939 0.00600998 0.00702752 0.00513763 0.00467436 0.00399663 0.00364361 0.00413382 0.00472275 0.00526409 0.00564877 0.00584203 0.00579731 0.00488527 0.00459013 0.00386588 0.00364223 0.004417 0.00473493 0.00475423 0.00590965 0.00666694 0.0077259 0.00553857 0.0049165 0.0041916 0.00424565 0.00350212 0.00323342 0.00343345 0.00254139 0.00296624 0.00299351 0.00272049 0.00228801 0.00208007 0.00237237 0.00266841 0.00306066 0.00308465 0.00384964 0.00352008 0.00445151 0.00322566 0.00330548 0.00274168 0.0023472 0.00206573 0.00239038 0.00250444 0.00291782 0.00291432 0.00306655 0.0038753 0.004729 0.00344762 0.00514516 0.00393052 0.00262098 0.00404556 0.00312341 0.00258938 0.00205569 0.00315357 0.00256171 0.0024153 0.0020141 0.00299004 0.00443182 0.00305934 0.00459668 0.00454262 0.0039879 0.00592052 0.00497681 0.00461636 0.0038092 0.00516505 0.00494612 0.00456813 0.00430082 0.00351964 0.00505429 0.00410597 0.00349644 0.00256161 0.00412642 0.00257925 0.00217224 0.00215677 0.00148304 0.00302827 0.0028953 0.00223182 0.0021112 0.0013436 0.00290864 0.00232426 0.00221108 0.00131279 0.00299713 0.00229308 0.00210412 0.00121569 0.00265648 0.00230757 0.00176602 0.00174229 0.00100192 0.00255631 0.00192054 0.00175764 0.000919096 0.00236546 0.00175583 0.00167666 0.000889456 0.00241956 0.00177734 0.00160885 0.000800103 0.00218519 0.00159852 0.00151333 0.000766225 0.00221657 0.00159859 0.00143883 0.000702928 0.0018573 0.00175029 0.00078103 0.00231517 0.00162324 0.00141806 0.000674337 0.00194429 0.00142302 0.0012717 0.000590341 0.00162957 0.00147193 0.000614205 0.00183521 0.00124981 0.00112569 0.000523332 0.00149697 0.00134383 0.00055823 0.00185261 0.00129811 0.00111988 0.000498315 0.00144392 0.00128569 0.000519398 0.00159869 0.00106162 0.000934937 0.000418851 0.00126402 0.00111245 0.000436694 0.00155958 0.00106198 0.000891952 0.000378802 0.00117272 0.00103803 0.000408873 0.00120395 0.00104491 0.000395652 0.00125268 0.00104878 0.000415096 0.00129315 0.000864541 0.000703342 0.00032719 0.000997553 0.000800265 0.000325746 0.00101147 0.000861863 0.00033944 0.00107263 0.000861835 0.000346232 0.00121366 0.000852182 0.000638516 0.000298454 0.00090707 0.000743077 0.000307837 0.000922412 0.000713577 0.000299836 0.000933171 0.000729477 0.000306646 0.000916596 0.00069309 0.000299098 0.000931092 0.000695797 0.000302154 0.000906905 0.000592349 0.000451663 0.000253257 0.000682498 0.000508588 0.00025002 0.000703434 0.000524684 0.000253224 0.000720473 0.000513083 0.00024973 0.000700046 0.00051962 0.000253645 0.000722066 0.000514045 0.00025339 0.000700635 0.000519521 0.000258379 0.000709777 0.000509099 0.000257456 0.000689966 0.000515923 0.000263538 0.000712628 0.000520492 0.000268365 0.000790401 0.000533937 0.000394588 0.000244668 0.000570658 0.000447054 0.000250308 0.000573689 0.000442246 0.000247864 0.000577981 0.000444878 0.000251844 0.000559779 0.000435904 0.000250673 0.000562526 0.000437419 0.000254962 0.000547171 0.000431073 0.000254518 0.000555244 0.000436659 0.000259909 0.000540707 0.000433183 0.000258613 0.000548027 0.000439347 0.000263303 0.000538065 0.000438494 0.000264501 0.000617455 0.000431102 0.000352037 0.000228741 0.000406578 0.000365817 0.000225012 0.000438835 0.000368769 0.000223364 0.000434576 0.000373465 0.000227058 0.000456905 0.000380623 0.000229743 0.000458963 0.000390424 0.000237024 0.000480428 0.000398256 0.000241832 0.000486525 0.000412335 0.000253927 0.000577433 0.000414023 0.000345732 0.00022747 0.00043497 0.000388196 0.000235525 0.000460476 0.000401873 0.000242598 0.000461441 0.000404157 0.000245383 0.000474336 0.000412717 0.00024903 0.000497815 0.000373041 0.000332567 0.000224507 0.000415187 0.000376429 0.000232373 0.000437417 0.000397661 0.000243499 0.000524016 0.000386321 0.000337228 0.000224686 0.00041084 0.000385063 0.000236037 0.000441756 0.000401207 0.000240992 0.000470821 0.00035724 0.000327043 0.000221872 0.000400343 0.000372508 0.00023152 0.000422501 0.000399614 0.000246857 0.000516219 0.000387526 0.000347355 0.000233152 0.000420325 0.000399769 0.000248041 0.000515752 0.000389629 0.000353084 0.000234726 0.000395539 0.000380151 0.00024306 0.000501001 0.00038178 0.000348397 0.000232735 0.000448713 0.000346807 0.000329781 0.000224946 0.00040788 0.000386791 0.000243707 0.000514442 0.000404033 0.000374214 0.000248885 0.000505519 0.000389823 0.000364003 0.000245835 0.000467379 0.000374865 0.00035593 0.000242227 0.00048945 0.000376556 0.000356068 0.000243241 0.000438057 0.00039124 0.000318473 0.000315453 0.000224303 0.000469229 0.000360914 0.000347066 0.000238233 0.000459791 0.000438961 0.000357467 0.000350918 0.000245419 0.000474823 0.000455137 0.000351652 0.000347773 0.000241788 0.00045767 0.000406037 0.000358051 0.000325188 0.000332048 0.000241616 0.000523482 0.000450667 0.000430849 0.000381426 0.000377609 0.000322436 0.000328301 0.000237478 0.000462438 0.000440913 0.000375783 0.000380023 0.000348509 0.000359187 0.000332646 0.000347291 0.000325174 0.00033812 0.000319846 0.000334323 0.000318558 0.000333089 0.000319707 0.000335216 0.000322747 0.000339507 0.000327959 0.000346048 0.000335329 0.000353859 0.000345571 0.000364193 0.00035833 0.000376186 0.000372038 0.000373107 0.000377283 0.000372163 0.0003795 0.000374795 0.000384844 0.000380833 0.000393834 0.000390109 0.000405816 0.000402232 0.000420739 0.000416732 0.000437146 0.000432881 0.000455223 0.000450562 0.000474099 0.000469276 0.000494714 0.000489298 0.000515576 0.000509895 0.000537846 0.00053139 0.000559876 0.000553058 0.000583088 0.000575365 0.000605723 0.000597615 0.000629425 0.000620289 0.000652337 0.000642858 0.000676115 0.000665417 0.000698865 0.000687913 0.000722435 0.000710284 0.000745101 0.000732515 0.000768103 0.000754126 0.000789647 0.000775639 0.000812211 0.000796692 0.000832988 0.000817418 0.00085471 0.000837535 0.000874398 0.00085722 0.000894996 0.000876096 0.00091331 0.000894491 0.000932569 0.000912045 0.000949466 0.000929122 0.000967332 0.000945299 0.000982771 0.00096099 0.000999169 0.000975681 0.00101304 0.00098991 0.00102792 0.0010031 0.00104026 0.00101591 0.00105368 0.00102767 0.00106458 0.00103915 0.00107666 0.00104962 0.00108625 0.00105989 0.0010971 0.00106915 0.0011056 0.00107836 0.00111552 0.00108663 0.00112296 0.00109484 0.00113186 0.00110214 0.00113831 0.00110944 0.00114629 0.00111585 0.00115185 0.00112234 0.00115901 0.00112797 0.0011638 0.00113377 0.00117026 0.00113875 0.00117442 0.00114397 0.00118029 0.00114837 0.00118388 0.00115305 0.0011892 0.00115691 0.00119225 0.00116112 0.00119709 0.00116453 0.00119972 0.00116835 0.00120418 0.00117138 0.00120642 0.00117485 0.00121052 0.00117752 0.00121241 0.00118066 0.0012162 0.00118304 0.00121779 0.00118592 0.00122134 0.00118804 0.00122267 0.0011907 0.001226 0.00119259 0.0012271 0.00119505 0.00123025 0.00119675 0.00123115 0.00119902 0.00123412 0.00120053 0.00123482 0.00120263 0.00123764 0.00120398 0.0012382 0.00120596 0.0012409 0.00120719 0.00124131 0.00120903 0.00124387 0.00121009 0.00124413 0.0012118 0.00124657 0.00121276 0.00124674 0.00121442 0.00124916 0.00121533 0.00124927 0.00121694 0.00125163 0.0012178 0.00125173 0.0012194 0.00125413 0.00122016 0.0012542 0.00122187 0.00125699 0.00122301 0.00125836 0.00123055 0.00127467 0.00125247 0.00135809 0.00140382 0.00149448 0.00150771 0.00230963 0.00226542 0.00192353 0.00331156 0.00180804 0.00192062 0.0028542 0.00178931 0.00191818 0.00276112 0.00178455 0.00191187 0.00274566 0.00177656 0.00190439 0.00263717 0.00178129 0.00190412 0.00270867 0.00177071 0.00189727 0.00263144 0.00177379 0.00189589 0.00269285 0.00176406 0.00188946 0.00262063 0.00176668 0.0018879 0.00267998 0.00175688 0.00188126 0.00260874 0.00175915 0.00187938 0.00266721 0.00174912 0.00187245 0.00259572 0.00175111 0.00187025 0.00265347 0.00174082 0.00186298 0.00258205 0.00174239 0.00186034 0.00263899 0.00173174 0.00185266 0.00256719 0.00173293 0.00184965 0.00262344 0.00172198 0.00184164 0.00255134 0.00172281 0.00183821 0.00260684 0.0017115 0.00182974 0.00253438 0.00171186 0.00182582 0.00258911 0.00170014 0.00181692 0.00251635 0.00170006 0.00181255 0.00257028 0.00168797 0.0018032 0.00249718 0.00168741 0.00179831 0.00255027 0.00167486 0.00178844 0.00247685 0.00167376 0.00178298 0.00252907 0.00166072 0.00177257 0.00245533 0.00165906 0.00176656 0.00250668 0.00164557 0.00175564 0.00243268 0.00164337 0.00174902 0.00248308 0.00162932 0.00173753 0.0024088 0.00162655 0.00173018 0.00245821 0.00161182 0.00171813 0.00238374 0.00160852 0.00171015 0.00243218 0.00159323 0.00169763 0.00235761 0.00158943 0.00168898 0.00240506 0.00157344 0.00167584 0.0023304 0.00156898 0.00166642 0.0023769 0.00155228 0.00165273 0.00230218 0.00154728 0.0016427 0.0023478 0.00152999 0.00162856 0.00227291 0.00152454 0.00161798 0.00231799 0.00150666 0.00160329 0.00224254 0.00150068 0.00159219 0.00228743 0.00148219 0.00157701 0.00221135 0.00147578 0.00156554 0.00225615 0.00145681 0.00155002 0.00217949 0.0014501 0.00153829 0.00222425 0.00143071 0.00152249 0.00214703 0.00142376 0.00151058 0.00219186 0.00140404 0.00149468 0.00211415 0.00139704 0.00148284 0.00215918 0.00137715 0.001467 0.00208066 0.00137026 0.00145534 0.00212607 0.00135026 0.00143965 0.00204721 0.0013435 0.00142826 0.00209309 0.00132344 0.00141282 0.00201361 0.00131696 0.00140187 0.00206004 0.00129693 0.00138684 0.00198002 0.00129086 0.00137643 0.00202735 0.00127088 0.0013618 0.0019468 0.00126517 0.00135185 0.00199535 0.00124501 0.00133739 0.00191441 0.00123936 0.00132754 0.00196467 0.00121848 0.00131264 0.00188397 0.00121203 0.00130345 0.00193696 0.00118983 0.00128862 0.00185723 0.0011809 0.00127729 0.00191537 0.00116042 0.00126419 0.00183241 0.00115141 0.00125257 0.00189354 0.00113165 0.00123854 0.0018099 0.0011236 0.00122922 0.00187287 0.00110571 0.00121558 0.00179066 0.00109826 0.00120838 0.0018561 0.00108254 0.00119614 0.00177504 0.00107729 0.00119237 0.00184298 0.00106392 0.00118237 0.00176291 0.0010612 0.00118085 0.00183376 0.00104778 0.00117315 0.00175517 0.00104664 0.00117176 0.00183051 0.00103329 0.00116409 0.00175409 0.00103373 0.00116289 0.00183444 0.00101962 0.00115412 0.00176046 0.00101841 0.00115043 0.00184701 0.00100044 0.0011369 0.00177631 0.000994111 0.00112725 0.00187478 0.000968244 0.00110599 0.00181052 0.000954809 0.00109361 0.00191853 0.000928008 0.00107794 0.00185703 0.000920777 0.00107895 0.00196116 0.000908375 0.00107809 0.00190033 0.000913919 0.00108494 0.00201063 0.000907885 0.00108541 0.00196228 0.000914479 0.00109482 0.00208413 0.000910743 0.00109858 0.00205558 0.000919325 0.00111176 0.00219224 0.000918494 0.00112019 0.0021971 0.000929362 0.00113821 0.00234455 0.000933076 0.00115237 0.00237675 0.00094702 0.00118255 0.00259361 0.000957172 0.00120845 0.00269614 0.000989012 0.00126954 0.0030788 0.00105357 0.0014471 0.00345805 0.00131167 0.00211088 0.000815738 0.000834923 0.00183953 0.00449278 0.00504338 0.00245335 0.00108096 0.0011146 0.00216589 0.00273603 0.00139486 0.00149751 0.00246114 0.00621198 0.00721856 0.00303379 0.00202061 0.00247202 0.000899525 0.000934268 0.00292991 0.00269653 0.000894099 0.00132657 0.00402999 0.00121354 0.00217368 0.000791892 0.000887077 0.00197091 0.00527035 0.0186981 0.0107826 0.0105387 0.0143621 0.0204488 0.0162416 0.0196352 0.0135131 0.0115389 0.018883 0.0117564 0.00945152 0.0183817 0.0103013 0.00833201 0.0194866 0.00939011 0.00783444 0.0193511 0.00891446 0.00756578 0.0183691 0.00861679 0.00735996 0.0176549 0.0083839 0.00719234 0.0171866 0.00819897 0.00704539 0.0167879 0.00804451 0.00692599 0.016442 0.00791928 0.00682338 0.0161388 0.00781127 0.00673307 0.0158704 0.00771535 0.00665518 0.0156309 0.00763149 0.00658821 0.0154159 0.00755838 0.00653075 0.0152218 0.00749464 0.0064814 0.0150433 0.00743853 0.00643849 0.014875 0.00738851 0.00640024 0.0147269 0.00734405 0.00636558 0.0145821 0.00730131 0.00633319 0.0144556 0.00726196 0.00630762 0.0143331 0.0072279 0.00628576 0.0142228 0.00719833 0.00626827 0.014115 0.00717256 0.00625399 0.0140187 0.00715011 0.00624279 0.013922 0.00713034 0.0062338 0.0138372 0.00711389 0.00622686 0.0137475 0.00709677 0.00622081 0.0136709 0.00708368 0.00621776 0.0135944 0.00707181 0.00621524 0.0135243 0.00706124 0.00621407 0.0134524 0.00705197 0.00621379 0.0133882 0.00704394 0.00621452 0.0133202 0.00703662 0.00621547 0.0132611 0.00703012 0.00621722 0.013196 0.00702413 0.00621885 0.0131415 0.00701862 0.006221 0.0130785 0.0070133 0.0062229 0.0130287 0.00700875 0.00622565 0.0129672 0.00700439 0.00622756 0.0129219 0.00700001 0.00622959 0.0128609 0.006995 0.00623049 0.0128204 0.00699049 0.00623244 0.012759 0.0069859 0.0062331 0.0127238 0.00698149 0.00623447 0.0126609 0.0069763 0.00623411 0.0126319 0.00697175 0.00623534 0.0125665 0.00696659 0.00623425 0.0125455 0.0069619 0.0062346 0.0124766 0.00695659 0.00623214 0.0124748 0.00695137 0.00623445 0.0123884 0.00694588 0.00622771 0.0125766 0.00693654 0.00623039 0.0123068 0.00683758 0.00620341 0.0145614 0.00727828 0.0079612 0.0101881 0.00403691 0.00322478 0.00322471 0.00313762 0.0143855 0.0140169 0.0140641 0.0359188 0.0167256 0.0327108 0.0313002 0.0305367 0.0516072 0.0520009 0.0537978 0.0556052 0.079019 0.0776528 0.0764572 0.0761477 0.105817 0.105906 0.106564 0.107398 0.142743 0.142367 0.142197 0.142369 0.187684 0.187177 0.186902 0.186845 0.241201 0.241784 0.242565 0.243531 0.244601 0.18831 0.14271 0.10593 0.0760449 0.0512944 0.0304721 0.0304444 0.0305809 0.0306638 0.0518578 0.0516167 0.051514 0.0763026 0.0765148 0.0768439 0.0771307 0.05205 0.0308082 0.0309166 0.0310584 0.0311819 0.0527585 0.0525125 0.052291 0.0774657 0.0777871 0.0781359 0.108662 0.108224 0.107804 0.107385 0.106994 0.106592 0.106258 0.143156 0.143649 0.144159 0.190449 0.18972 0.189004 0.245715 0.246843 0.24798 0.249119 0.191184 0.144678 0.145209 0.145748 0.146298 0.193418 0.192668 0.191923 0.25026 0.251402 0.252544 0.253687 0.194173 0.146858 0.10911 0.0784838 0.0529999 0.0313232 0.031458 0.0316019 0.0317459 0.0537856 0.0535153 0.0532564 0.0788512 0.079225 0.0796154 0.0800157 0.0540613 0.0318947 0.0320477 0.0322032 0.0323648 0.0549464 0.0546418 0.0543478 0.0804319 0.0808631 0.0813073 0.112665 0.112106 0.111566 0.111043 0.110538 0.110047 0.109573 0.147429 0.148011 0.148606 0.196473 0.1957 0.194934 0.254829 0.255971 0.257111 0.25825 0.197252 0.149215 0.149839 0.150478 0.151135 0.199638 0.198834 0.198039 0.259387 0.260522 0.261656 0.340898 0.339065 0.337222 0.335373 0.333519 0.331659 0.329797 0.327933 0.326068 0.324204 0.322343 0.320485 0.318634 0.316788 0.314955 0.313138 0.31137 0.309719 0.308275 0.307064 0.385128 0.387143 0.389505 0.39216 0.486225 0.482163 0.478557 0.47554 0.577822 0.582038 0.587238 0.593167 0.711802 0.703536 0.696419 0.690833 0.812765 0.819829 0.829134 0.840172 0.975576 0.961424 0.949768 0.941244 1.0733 1.08319 1.09723 1.1147 1.25383 1.23298 1.21664 1.20566 1.33416 1.34632 1.36489 1.38905 1.51635 1.48899 1.46817 1.45475 1.56142 1.57702 1.60029 1.63065 1.72505 1.69203 1.66652 1.64885 1.71158 1.73081 1.75815 1.79337 1.83505 1.79834 1.76979 1.74985 1.87871 1.83543 1.76452 1.6668 1.54872 1.41735 1.2779 1.13457 0.991422 0.852359 0.720818 0.599565 0.490574 0.394989 0.397898 0.400847 0.403827 0.504321 0.499659 0.495071 0.606231 0.613075 0.620077 0.627235 0.509054 0.406832 0.409861 0.412913 0.415985 0.523663 0.518728 0.513858 0.634551 0.642021 0.649645 0.793475 0.782186 0.771203 0.760525 0.750149 0.740069 0.730283 0.86526 0.878693 0.892627 1.04464 1.0261 1.00835 1.156 1.17865 1.20247 1.22747 1.06398 0.907065 0.922027 0.937527 0.953575 1.12717 1.10521 1.08416 1.25373 1.28131 1.3103 1.34077 1.15007 0.970183 0.805071 0.657418 0.528659 0.419073 0.422176 0.42529 0.428414 0.543973 0.538817 0.533711 0.665337 0.673396 0.681592 0.68992 0.549175 0.431545 0.434682 0.437822 0.440965 0.565043 0.559711 0.554422 0.698376 0.70696 0.715672 0.894517 0.880885 0.867533 0.854463 0.841675 0.829176 0.816973 0.987361 1.00511 1.02342 1.22465 1.19879 1.17393 1.37278 1.40641 1.44169 1.47867 1.25151 1.04229 1.06171 1.08168 1.10217 1.33792 1.30817 1.27936 1.51734 1.55767 1.5996 1.8835 1.82589 1.77097 1.71881 1.66944 1.6228 1.57877 1.53722 1.49802 1.46101 1.42605 1.39299 1.36172 1.33212 1.30415 1.44854 1.48204 1.51772 1.66558 1.62376 1.58475 1.70737 1.75159 1.79924 1.85044 1.71028 1.55566 1.596 1.63896 1.68474 1.86428 1.80931 1.7581 1.90547 1.96475 2.02877 2.1673 2.09518 2.02875 1.96737 1.9105 1.85777 1.80904 1.88296 1.93508 1.99163 2.04119 1.98227 1.92806 2.10504 2.0528 2.11902 2.19091 2.26927 2.33195 2.24964 2.1743 2.42233 2.35506 2.2459 2.09812 1.92341 1.73362 1.78586 1.84176 1.90159 2.13052 2.056 1.98715 2.17349 2.25569 2.34563 2.44435 2.21125 1.96563 2.03407 2.10704 2.18446 2.49539 2.39339 2.29873 2.55298 2.67263 2.8042 3.0883 2.92356 2.77749 2.64748 2.53118 2.42656 2.33193 2.44949 2.55403 2.67058 2.75753 2.63313 2.52214 2.89824 2.80151 2.94988 3.11972 3.31641 3.46568 3.2458 3.0592 3.27332 3.54752 3.27397 2.94789 2.60447 2.26606 1.9436 1.64303 1.36857 1.12319 0.908438 0.724518 0.570419 0.444107 0.342722 0.262787 0.200453 0.151811 0.113245 0.0817687 0.0552598 0.0325281 0.0326985 0.0328707 0.0330506 0.056266 0.0559191 0.0555845 0.0822477 0.0827444 0.0832606 0.0837968 0.0566259 0.0332328 0.0334232 0.0336169 0.0338194 0.05778 0.0573788 0.0569975 0.0843543 0.0849346 0.08554 0.118006 0.117237 0.116501 0.115796 0.11512 0.114471 0.113846 0.152507 0.153227 0.153971 0.202973 0.202119 0.201279 0.263915 0.265041 0.266164 0.267285 0.203845 0.154742 0.155543 0.156377 0.157247 0.20659 0.20565 0.204736 0.268403 0.26952 0.270637 0.271759 0.207562 0.158157 0.11881 0.0861705 0.0581923 0.0340249 0.0342444 0.0344645 0.0346999 0.0595399 0.0590712 0.0586244 0.0868299 0.0875186 0.0882408 0.0889976 0.0600272 0.0349393 0.0351957 0.0354621 0.0357371 0.0616398 0.0610753 0.0605396 0.0897938 0.0906315 0.0915158 0.125736 0.124579 0.123485 0.122451 0.12147 0.120539 0.119654 0.159111 0.160115 0.161173 0.210725 0.209622 0.208571 0.272888 0.27403 0.275195 0.27639 0.211886 0.162291 0.163476 0.164735 0.166073 0.215816 0.214421 0.213115 0.277627 0.27892 0.280286 0.281747 0.217313 0.167502 0.126965 0.0924503 0.062235 0.0360342 0.0363444 0.0366771 0.0370316 0.064245 0.0635321 0.0628638 0.0934414 0.0944959 0.0956229 0.0968333 0.0650117 0.0374153 0.0378334 0.0382949 0.0388073 0.0677387 0.0667457 0.0658411 0.0981397 0.0995571 0.101103 0.138459 0.136404 0.134515 0.132775 0.131164 0.129668 0.128272 0.169029 0.170668 0.172432 0.22255 0.220664 0.218924 0.283335 0.285052 0.286862 0.289477 0.224612 0.174338 0.176403 0.17867 0.181031 0.197965 0.229757 0.226734 0.258662 0.216007 0.18071 0.150848 0.166197 0.177127 0.14072 0.1028 0.0688399 0.0393834 0.04004 0.0407997 0.0416807 0.0730206 0.0714641 0.0700737 0.104669 0.106712 0.0940908 0.0728523 0.0679405 0.0427033 0.0427997 0.0336216 0.030146 0.0386168 0.0426104 0.0521833 0.0569491 0.049678 0.0449453 0.0493115 0.0554751 0.0622478 0.074976 0.0975162 0.123438 0.143268 0.147849 0.120871 0.0942041 0.089143 0.110236 0.13791 0.123538 0.101323 0.0860202 0.0741726 0.0761491 0.0759603 0.0661372 0.0580942 0.0509604 0.0508193 0.0574974 0.0661162 0.0644025 0.0566983 0.0506883 0.0513512 0.0568969 0.0638328 0.0724924 0.0832953 0.096853 0.113959 0.136194 0.163962 0.195889 0.234066 0.281248 0.340528 0.371907 0.370001 0.368447 0.367041 0.365625 0.364199 0.362754 0.361279 0.359768 0.358214 0.356619 0.354983 0.35331 0.351605 0.34987 0.348111 0.346331 0.344534 0.447248 0.450384 0.453511 0.586823 0.581307 0.575839 0.733508 0.742656 0.751983 0.761507 0.59239 0.456625 0.459718 0.462781 0.4658 0.60934 0.603659 0.598004 0.771253 0.781239 0.791472 1.0173 1.00008 0.983532 0.967596 0.952188 0.937232 0.922665 1.14476 1.16692 1.18976 1.46607 1.43259 1.40012 1.68787 1.73404 1.78154 1.83054 1.50073 1.2134 1.23801 1.26379 1.29094 1.61524 1.57497 1.53691 1.88156 1.93539 1.99082 1.99976 1.65918 1.31973 1.03529 0.801949 0.615025 0.468761 0.471643 0.474425 0.477082 0.631664 0.626253 0.62068 0.812653 0.823554 0.834531 0.845095 0.636804 0.479597 0.481973 0.484214 0.486325 0.651665 0.646228 0.641659 0.855127 0.813451 0.64271 0.563952 0.731595 0.953255 1.11567 1.09503 1.07379 1.05405 1.34993 1.38172 1.40322 1.08044 1.47896 1.70514 1.46386 1.04426 0.773639 0.609339 0.791008 1.05446 0.782476 0.596141 0.471276 0.408336 0.487721 0.605946 0.505714 0.435481 0.38294 0.37921 0.42264 0.472062 0.533628 0.620359 0.759266 0.996601 1.38802 1.93776 2.3487 2.27267 2.20331 2.13609 2.07019 2.00593 2.35132 2.43957 2.53017 2.96643 2.83983 2.71972 3.10232 3.07017 2.37515 1.70304 2.40958 2.62041 2.47988 1.83782 1.30451 0.954163 1.25273 1.74371 1.24529 0.979346 0.831686 0.815181 0.898499 1.03905 1.29291 1.73495 2.42108 3.18956 2.66638 1.87701 1.39962 1.26909 1.6058 2.25688 1.09225 1.13403 0.986457 0.896368 0.828194 0.838137 0.909586 0.987632 0.767766 0.764697 0.75406 0.746023 0.78589 0.960179 0.761804 0.646691 0.573725 0.573303 0.625547 0.689329 0.686487 0.633399 0.579659 0.525057 0.523161 0.518741 0.470106 0.424116 0.38045 0.379429 0.424719 0.473191 0.471828 0.422017 0.376721 0.374459 0.418795 0.468005 0.521881 0.579421 0.638689 0.697165 0.700715 0.63697 0.575553 0.572423 0.633637 0.699065 0.515742 0.518008 0.465043 0.41682 0.373252 0.372712 0.415929 0.463591 0.333831 0.33414 0.33482 0.336207 0.338266 0.339823 0.339526 0.339968 0.351082 0.385477 0.445003 0.507154 0.547561 0.487795 0.466647 0.380481 0.312898 0.290647 0.355104 0.439554 0.404026 0.327211 0.269827 0.226539 0.240767 0.258823 0.214988 0.179711 0.151632 0.145652 0.170358 0.201376 0.192854 0.165959 0.143936 0.144696 0.164768 0.188502 0.217103 0.252595 0.298416 0.359935 0.324424 0.278695 0.242629 0.239651 0.270654 0.306901 0.302761 0.269649 0.239981 0.213493 0.212526 0.212882 0.187578 0.165716 0.146727 0.149027 0.167513 0.188598 0.189989 0.169258 0.151088 0.135243 0.132898 0.130245 0.127565 0.12559 0.125467 0.128537 0.109658 0.0946502 0.0825558 0.0838974 0.0950963 0.108773 0.110212 0.0973681 0.0866563 0.0777149 0.0746793 0.0727478 0.0647818 0.0583153 0.0531043 0.0557669 0.0608517 0.0670878 0.0702576 0.0640623 0.0589476 0.0621897 0.0674152 0.0736903 0.0811649 0.090035 0.10054 0.11295 0.116021 0.103822 0.0933993 0.0965261 0.106868 0.118914 0.121485 0.109587 0.0993311 0.0905154 0.0876825 0.0845387 0.0770299 0.0706896 0.0653628 0.0683119 0.073735 0.0801419 0.0829582 0.0764997 0.0709983 0.0734199 0.0789864 0.0854854 0.0930515 0.101836 0.112009 0.123761 0.137301 0.152858 0.170681 0.191041 0.214225 0.240515 0.270112 0.303131 0.302855 0.269755 0.240435 0.240247 0.268954 0.3015 0.300238 0.268404 0.240263 0.21541 0.214955 0.214594 0.191874 0.171928 0.154444 0.155887 0.173097 0.192687 0.19348 0.174155 0.157151 0.15817 0.175026 0.194164 0.21586 0.240422 0.26819 0.299527 0.299213 0.268149 0.240601 0.240736 0.268159 0.299077 0.216462 0.216221 0.194676 0.175662 0.158902 0.159357 0.176061 0.195005 0.144646 0.14415 0.143346 0.142214 0.140795 0.139147 0.125794 0.114164 0.104061 0.106004 0.116054 0.127588 0.129118 0.117657 0.107646 0.0989199 0.0972647 0.0953023 0.0877281 0.0811938 0.0755712 0.0774444 0.0831157 0.0896814 0.0913272 0.0847344 0.0790219 0.0802588 0.0860039 0.0926187 0.10022 0.108939 0.118921 0.13033 0.131185 0.119808 0.109842 0.110398 0.120353 0.131711 0.101685 0.101127 0.0935174 0.0868859 0.0811172 0.0816505 0.0874317 0.094072 0.0766269 0.0761092 0.0752797 0.0740834 0.0725576 0.0707462 0.068667 0.0663287 0.06374 0.060907 0.0578577 0.054747 0.051656 0.0489555 0.0470158 0.0460256 0.0457671 0.0455923 0.0439853 0.040338 0.0355008 0.0289817 0.0275511 0.0270889 0.0274509 0.0308665 0.0313169 0.0327334 0.0369325 0.0349488 0.0339157 0.0334716 0.0308968 0.0277875 0.0236966 0.0248219 0.0183493 0.00951755 0.00370189 0.00230371 0.000874649 0.00101164 0.0012851 0.00377521 0.00131571 0.00231992 0.000920982 0.0011266 0.00219177 0.00548215 0.00729478 0.00315507 0.00178994 0.0024614 0.000803374 0.00091231 0.00326851 0.00291784 0.000981532 0.00167996 0.00547374 0.00185156 0.000765698 0.00100663 0.00160493 0.00311124 0.00756877 0.00318176 0.0225852 0.0124289 0.0113666 0.0183064 0.0223146 0.0194147 0.0208043 0.0147487 0.0106142 0.0147986 0.0266767 0.0277318 0.0298806 0.0291299 0.0283995 0.0310585 0.0332577 0.0332356 0.0313568 0.0318489 0.0333802 0.0335647 0.0339209 0.0344474 0.0352192 0.036288 0.0378805 0.040309 0.0417092 0.0389241 0.0369274 0.0371258 0.0391932 0.041989 0.0424458 0.0397615 0.0377659 0.0363089 0.0356111 0.0354818 0.0344481 0.0336915 0.033216 0.0333582 0.0338045 0.034543 0.0352707 0.0345668 0.0341399 0.0339343 0.0331299 0.032947 0.033347 0.0336386 0.0325705 0.0308702 0.028746 0.0267682 0.0279559 0.0224325 0.0150473 0.00527732 0.00152874 0.00104606 0.000842233 0.00237502 0.00292233 0.00453666 0.00956175 0.00466241 0.00191931 0.000770292 0.00101902 0.00163226 0.00315536 0.00732129 0.00312262 0.0142955 0.0201798 0.0108993 0.00471503 0.00241931 0.000882701 0.0011153 0.00165061 0.00531456 0.00207831 0.000979141 0.00136679 0.00231265 0.000805452 0.00100103 0.00339274 0.00132965 0.00240738 0.000823803 0.00108029 0.00244942 0.00605762 0.00873233 0.00400003 0.00189012 0.0028524 0.000934691 0.0012237 0.00456868 0.00395827 0.0019299 0.000721091 0.00100315 0.00166897 0.00340389 0.00788984 0.00315144 0.0105472 0.00520236 0.00261576 0.000975181 0.00135363 0.00229609 0.000829807 0.00109466 0.00254559 0.00605194 0.00329964 0.00515019 0.0141607 0.0271236 0.0161335 0.0133612 0.0236162 0.0278108 0.0240492 0.0254413 0.0156717 0.01104 0.0225298 0.00747412 0.00307544 0.00295927 0.0152656 0.020288 0.0247112 0.0294326 0.0309403 0.0299247 0.0314934 0.030203 0.0319801 0.0330076 0.0340359 0.0326684 0.0340845 0.0326102 0.0307088 0.0329161 0.0341106 0.0353405 0.0340322 0.0328297 0.0335948 0.0282252 0.0191525 0.00907692 0.00400839 0.00190177 0.00291005 0.000986202 0.00132215 0.0045965 0.00206642 0.000882969 0.00133759 0.00230184 0.000805165 0.00105557 0.00361125 0.00144818 0.00277494 0.000926641 0.0013354 0.002995 0.00681404 0.0102369 0.00507416 0.00251876 0.000937722 0.00136077 0.00323517 0.00611004 0.0051459 0.00232274 0.000832769 0.00113958 0.00259658 0.0041052 0.00196437 0.00302512 0.00104594 0.00145224 0.00472125 0.00234216 0.00095098 0.00149796 0.00266048 0.000865019 0.00116961 0.00425937 0.00365929 0.00838495 0.00353628 0.0164349 0.031309 0.0143008 0.00939553 0.00410058 0.0181464 0.0147743 0.0262242 0.0324846 0.0273174 0.0298583 0.0170039 0.0110514 0.0226242 0.0140995 0.0200057 0.00792406 0.00310879 0.00308405 0.0337566 0.0352675 0.0374139 0.0355479 0.0371804 0.0354859 0.0368152 0.0375639 0.0363576 0.0352263 0.0360017 0.0351164 0.0353842 0.0347627 0.0340689 0.0333366 0.0338796 0.0340679 0.03426 0.0344306 0.0347129 0.035815 0.0361901 0.0368895 0.0376417 0.0365066 0.0354425 0.0350327 0.0344115 0.0339932 0.0336568 0.0334137 0.0332975 0.0332352 0.0328687 0.0329436 0.0331379 0.0334694 0.0332139 0.0330963 0.0339213 0.0340649 0.0343487 0.0347489 0.0338435 0.0334584 0.0338739 0.0343863 0.0349928 0.0349338 0.0355199 0.0359175 0.0368916 0.0382504 0.0386394 0.0381284 0.0394473 0.0388328 0.0403 0.0393478 0.0377496 0.0392543 0.0379259 0.0389361 0.0334744 0.0237849 0.0128414 0.0172307 0.00809333 0.00315356 0.0010195 0.00151207 0.00345824 0.00595208 0.00291767 0.00105448 0.00160328 0.00285881 0.000988338 0.00145491 0.00340028 0.0074403 0.00375445 0.00605467 0.0119897 0.0286911 0.0160078 0.021834 0.011466 0.00558885 0.00278147 0.00103016 0.0015649 0.00265983 0.000924013 0.00132284 0.00301073 0.00689 0.00352522 0.00573367 0.0102279 0.00479585 0.00225461 0.00350677 0.00122504 0.00173314 0.0056542 0.00290075 0.00113711 0.00182391 0.00340147 0.00111635 0.00164588 0.00564827 0.00269835 0.00106633 0.00171346 0.00318116 0.00105708 0.00157264 0.00536715 0.00264862 0.000980833 0.00162324 0.00303549 0.00097283 0.00142012 0.0054041 0.00231819 0.000809667 0.00125955 0.00212556 0.00436775 0.00951151 0.00381698 0.0264523 0.0128771 0.00684476 0.00344928 0.00135674 0.00197564 0.00438031 0.00869911 0.00723584 0.00351485 0.0012168 0.00182804 0.00419307 0.0068973 0.00346008 0.00132375 0.0019731 0.00446441 0.00885734 0.00727697 0.0131722 0.0217059 0.0375697 0.0207994 0.0437352 0.0303359 0.0186461 0.0228216 0.0134644 0.0067541 0.00341181 0.0013693 0.00199683 0.00351072 0.00127998 0.00185759 0.00415239 0.00849886 0.00435442 0.00703646 0.0126396 0.00675048 0.0034509 0.00141211 0.00201863 0.00439374 0.00867194 0.0071211 0.00350221 0.00133829 0.00187817 0.00409577 0.00660698 0.00342079 0.00149091 0.00206325 0.00427589 0.00826925 0.00686262 0.0130013 0.021904 0.0181155 0.029513 0.0453649 0.0312787 0.0360493 0.018031 0.0208495 0.012012 0.00649458 0.00337805 0.00143252 0.00191525 0.00416732 0.00802617 0.00677059 0.00286066 0.00387278 0.00191209 0.00258659 0.0044653 0.00189396 0.0023835 0.00694876 0.00396021 0.0018749 0.00261555 0.00454241 0.00189709 0.00238326 0.00715685 0.00612496 0.0114376 0.00560647 0.0203068 0.035435 0.0208843 0.0116166 0.00567723 0.00605434 0.0172337 0.0172386 0.0286793 0.0469568 0.0305286 0.0539229 0.0521523 0.0542164 0.0515699 0.0499644 0.0367004 0.0320044 0.0186017 0.0216959 0.0520163 0.0498977 0.0465554 0.0447356 0.0376181 0.0201176 0.00945365 0.0041621 0.00445475 0.0136894 0.0218504 0.0134382 0.0270105 0.00974827 0.00419209 0.00441467 0.0141036 0.00986165 0.00444522 0.00476404 0.0207425 0.036567 0.0224024 0.0266139 0.0142587 0.0164641 0.0230126 0.0349193 0.0411061 0.0429952 0.0408482 0.0395049 0.0411101 0.042955 0.0448837 0.0458981 0.0443537 0.0427186 0.0409284 0.0422117 0.0407134 0.0414479 0.0416997 0.0406618 0.0404186 0.0396106 0.0386854 0.039067 0.0395412 0.0410451 0.0415452 0.0427013 0.0427083 0.0439055 0.0436015 0.0449213 0.0462243 0.0459952 0.0450038 0.0441272 0.0435007 0.042004 0.0406634 0.0400609 0.0390506 0.038414 0.037818 0.0373446 0.0364924 0.0371094 0.0378378 0.038605 0.0394979 0.0398224 0.0406214 0.0413235 0.0425471 0.043146 0.0446515 0.0452005 0.0467979 0.0474264 0.047264 0.04662 0.0449988 0.0426802 0.0449045 0.0428686 0.044579 0.0469328 0.0493552 0.0471054 0.0489407 0.0470723 0.048246 0.0497453 0.0512194 0.0507115 0.0524258 0.0514741 0.049354 0.0521456 0.0534688 0.0551322 0.0540673 0.0559258 0.0541586 0.056468 0.0585402 0.0565959 0.0591013 0.0566997 0.0543727 0.0563321 0.046099 0.028157 0.0165902 0.0214024 0.0118359 0.00553126 0.00258345 0.00188583 0.00391257 0.00443926 0.00191327 0.00239623 0.00692353 0.00598238 0.00392865 0.00189313 0.00259793 0.00447118 0.00190023 0.00237121 0.00702268 0.00600246 0.0111959 0.005521 0.0202314 0.0344401 0.0300487 0.0163528 0.0455884 0.027628 0.0162507 0.0208157 0.0114904 0.0052857 0.00251818 0.00187134 0.00380059 0.00421813 0.0017446 0.00211389 0.00639326 0.00298447 0.0050813 0.00215983 0.00275438 0.00558999 0.0107398 0.0196661 0.0337296 0.0294632 0.0158531 0.0439739 0.0265762 0.0157113 0.00885803 0.00483363 0.00233612 0.00294966 0.00486493 0.00219265 0.00271248 0.00555458 0.0109617 0.00592178 0.00931485 0.0151206 0.00851907 0.0047057 0.00232909 0.00291487 0.00475148 0.00216924 0.00264089 0.00540208 0.0104509 0.00570496 0.00883381 0.0193068 0.0323806 0.0203676 0.0283517 0.0425421 0.0251618 0.014502 0.00815023 0.00446303 0.00217309 0.00263286 0.00387347 0.00971037 0.00493145 0.00264525 0.00338895 0.00551736 0.00258114 0.00310478 0.00828254 0.00482266 0.00252462 0.00326124 0.00525675 0.00232468 0.00269675 0.0077549 0.00370337 0.00593541 0.00275552 0.00337439 0.00632835 0.0119364 0.0293029 0.0166361 0.0126404 0.00648871 0.00693912 0.023623 0.0417731 0.0253401 0.0302765 0.019359 0.0267489 0.0129157 0.00692677 0.00731143 0.0174636 0.0561259 0.0667606 0.0714213 0.0678424 0.0641084 0.0579234 0.0648299 0.0613611 0.0588134 0.0619617 0.058856 0.056665 0.0593005 0.0619964 0.064268 0.0618784 0.0592447 0.0613303 0.0623703 0.0605313 0.0611236 0.0594387 0.0577602 0.0582243 0.0566625 0.0568444 0.05544 0.053982 0.0540308 0.0526841 0.0523561 0.0512381 0.0499814 0.0486401 0.0485695 0.049534 0.0503323 0.0487105 0.0480319 0.0474416 0.0458447 0.0465297 0.0473298 0.0482038 0.049439 0.0510117 0.0517217 0.0533003 0.0540927 0.0552368 0.0563086 0.0548609 0.0533592 0.0525127 0.0511729 0.0502519 0.0491762 0.0502494 0.0514107 0.0521721 0.0532959 0.0543369 0.0557379 0.0572502 0.0581875 0.0594044 0.0597582 0.0612356 0.0626047 0.0628063 0.0644377 0.0642037 0.0634743 0.0654802 0.0660463 0.0678497 0.0674816 0.0665802 0.06477 0.0673751 0.0649091 0.0679499 0.0707876 0.0681026 0.0714139 0.0744519 0.076433 0.0736618 0.0749783 0.0724414 0.0699508 0.0710434 0.0687961 0.0695236 0.0695881 0.0713043 0.0715474 0.0735207 0.0733358 0.0756197 0.0778884 0.0775524 0.0801823 0.0793452 0.077665 0.0750113 0.0707203 0.0536606 0.0654506 0.0387991 0.0222411 0.011296 0.00554383 0.00270752 0.0032125 0.00621397 0.00894589 0.00516666 0.00264279 0.00312477 0.0060427 0.0104342 0.00923256 0.014834 0.0232678 0.0306819 0.0195279 0.0224258 0.0135141 0.00731663 0.00383461 0.00310002 0.00543385 0.00442246 0.00588327 0.00277024 0.00314363 0.00833646 0.00423514 0.00647934 0.00318866 0.00378529 0.00686307 0.0123471 0.0205542 0.0357599 0.0184148 0.0321275 0.0495634 0.062769 0.0787167 0.0742656 0.0792426 0.0745265 0.0784696 0.0825353 0.0867032 0.0837731 0.0883484 0.0836201 0.0748593 0.0447178 0.026895 0.016541 0.009776 0.00585588 0.00310495 0.0036086 0.00495864 0.0111213 0.00598185 0.00351502 0.00426992 0.00634983 0.00313619 0.00351177 0.00885066 0.00465714 0.00693555 0.00354064 0.00413369 0.00727112 0.0127617 0.0162399 0.0100839 0.00621818 0.00334628 0.00381483 0.00707002 0.0113396 0.0102854 0.0050775 0.00600905 0.00338904 0.00400798 0.00552822 0.00870944 0.0141118 0.00803827 0.0231692 0.02055 0.031138 0.0509028 0.0321778 0.035281 0.0175016 0.011065 0.00708333 0.00409996 0.0046808 0.00640572 0.00357219 0.00397305 0.00677314 0.012283 0.00798018 0.0112154 0.0202498 0.0248804 0.0150133 0.00880936 0.00559458 0.00676894 0.00372553 0.00402134 0.00952293 0.00495312 0.00691527 0.00383502 0.00424056 0.00692323 0.01226 0.0282164 0.0145476 0.00898916 0.00586392 0.00701016 0.00393269 0.00421302 0.00970192 0.00512413 0.00705042 0.00401743 0.00441026 0.0070694 0.0125043 0.0203152 0.0386748 0.0202839 0.072537 0.059294 0.0441478 0.0259342 0.0195519 0.0788663 0.0660356 0.0924852 0.0846387 0.0705852 0.0414621 0.0229179 0.0176922 0.0310074 0.0137434 0.00784234 0.00811394 0.0207102 0.0281757 0.0588353 0.0816146 0.0892432 0.0952231 0.0876018 0.0954622 0.1024 0.111006 0.104684 0.115365 0.102534 0.115881 0.0945187 0.109655 0.133671 0.146902 0.129012 0.133712 0.121175 0.122801 0.113661 0.105873 0.0992139 0.0935221 0.0957304 0.0910598 0.0923011 0.0883548 0.0846287 0.0809596 0.0824072 0.0856314 0.0890279 0.089067 0.0858957 0.0829294 0.082849 0.0802837 0.0798542 0.0776287 0.0755229 0.0749054 0.0730663 0.0720599 0.0704848 0.068948 0.0674574 0.065979 0.0651379 0.0638793 0.0626493 0.0615563 0.0604989 0.059108 0.0581376 0.0566499 0.0553838 0.0565659 0.0576929 0.0588175 0.0601264 0.0612611 0.062499 0.0638182 0.0650859 0.066422 0.0677727 0.0664697 0.0653596 0.0638657 0.0629507 0.0614478 0.0600779 0.0592486 0.0578415 0.0572609 0.0558361 0.0545034 0.054041 0.0526848 0.0524803 0.0510821 0.0497775 0.0485565 0.0474272 0.0463974 0.0454432 0.0446003 0.0438204 0.0429119 0.0420866 0.041536 0.041472 0.0404326 0.0406952 0.0396634 0.0386767 0.0377878 0.0369502 0.0362094 0.0364504 0.0356749 0.0363056 0.0355661 0.0349004 0.0343231 0.0352533 0.0358489 0.0365182 0.0372534 0.0380574 0.0371231 0.0380003 0.0372854 0.0382018 0.0389297 0.0398157 0.0389095 0.0399222 0.0390997 0.0383377 0.0376498 0.0370269 0.0364811 0.0360117 0.0356485 0.0353917 0.0352633 0.0352935 0.0355111 0.0359515 0.036661 0.0376997 0.0391379 0.0410804 0.0436479 0.045684 0.0431397 0.0411808 0.0436909 0.0457476 0.04836 0.0513184 0.0485535 0.0463333 0.044579 0.0420891 0.0397016 0.0386103 0.037841 0.0373309 0.039332 0.0399714 0.0408743 0.0432128 0.0421737 0.0414136 0.0435142 0.0444166 0.0455988 0.047112 0.0490142 0.0513798 0.0542933 0.0571996 0.0541323 0.0516096 0.0540329 0.0566969 0.0599027 0.06238 0.0590544 0.0562669 0.0539436 0.0518336 0.0495507 0.0478864 0.0465597 0.0455221 0.0474139 0.0485755 0.050033 0.0520212 0.0504458 0.0491714 0.0481595 0.0465088 0.044734 0.0428537 0.0408867 0.0389151 0.0370327 0.036927 0.0369676 0.0371424 0.0387298 0.0386378 0.0386955 0.0405583 0.040401 0.0403917 0.0405105 0.0389485 0.0374261 0.0378222 0.0383065 0.0388834 0.0402088 0.0396984 0.0392754 0.0407458 0.0410833 0.0415145 0.0427844 0.042429 0.042174 0.0420294 0.0420083 0.0421257 0.0423996 0.0441616 0.0437779 0.0435594 0.0450279 0.0453412 0.0458271 0.0473772 0.0467972 0.0463961 0.0461545 0.0448679 0.0434874 0.0435459 0.0437218 0.0440043 0.0451591 0.0449459 0.0448451 0.046056 0.0460867 0.046235 0.0472198 0.0471312 0.0471648 0.0473326 0.0476486 0.0481295 0.048795 0.0496682 0.0507764 0.0521519 0.0538327 0.0558634 0.0582963 0.0611923 0.0646221 0.0666181 0.0630978 0.0601073 0.0616887 0.0647603 0.0683581 0.0698245 0.0661621 0.063023 0.0603434 0.0590776 0.0575786 0.0554529 0.0536793 0.0522144 0.0534739 0.0550163 0.05687 0.0580673 0.0561466 0.0545392 0.0553763 0.0570345 0.0590076 0.061337 0.0640702 0.0672618 0.0709744 0.0717712 0.0680233 0.0647948 0.0652544 0.0685034 0.0722709 0.0624629 0.0620243 0.0596576 0.0576478 0.0559542 0.0563308 0.0580447 0.0600751 0.0548982 0.0545412 0.0539975 0.0532092 0.0522062 0.0510209 0.0500669 0.0493252 0.0487729 0.0497586 0.0503735 0.0511817 0.0521255 0.0512612 0.0505933 0.0501022 0.0493171 0.04839 0.04816 0.0480684 0.048103 0.0488763 0.0488894 0.0490322 0.0497707 0.0495844 0.0495307 0.0500433 0.0501293 0.0503502 0.0507185 0.051249 0.0519586 0.0528671 0.0533782 0.0524387 0.0516999 0.0520035 0.0527592 0.0537165 0.0514295 0.0511419 0.0507477 0.0505026 0.0503939 0.0506388 0.0507609 0.0510202 0.0506429 0.0504106 0.0500812 0.0495988 0.0489824 0.0482535 0.0474205 0.0464911 0.0454751 0.0443843 0.0432313 0.0420303 0.0407943 0.0395386 0.0402624 0.0410495 0.0418958 0.0408152 0.0417619 0.0407735 0.0399075 0.0391649 0.0401941 0.0412771 0.042406 0.0418073 0.042968 0.0425539 0.0425017 0.0435735 0.0438435 0.0448396 0.0459412 0.0459211 0.0447015 0.044944 0.0437257 0.0441841 0.0448051 0.0435849 0.0443086 0.043133 0.0420101 0.0409385 0.0417888 0.0428582 0.0439899 0.045165 0.046392 0.0455393 0.0468295 0.0460707 0.0454449 0.0467593 0.0462338 0.0475783 0.0471961 0.0471137 0.0483757 0.0497111 0.0511208 0.0514417 0.0499627 0.0485488 0.0489734 0.0504191 0.0519198 0.0525267 0.0509929 0.0495253 0.0481165 0.0487738 0.0473947 0.0481672 0.0489847 0.0476622 0.0485048 0.0472563 0.0460573 0.0449087 0.0438091 0.0427603 0.0437541 0.0427976 0.0438285 0.0429748 0.0421823 0.0414552 0.042626 0.0432947 0.0440339 0.0448391 0.0457077 0.0447416 0.0457123 0.0447639 0.0458286 0.0467396 0.0476249 0.0466356 0.0475248 0.0466378 0.0458139 0.0450585 0.0443736 0.0437631 0.0448543 0.0454082 0.0460408 0.0469681 0.0463857 0.0458862 0.0468466 0.0472946 0.0478291 0.0484453 0.047629 0.0467481 0.0475268 0.0483733 0.0492859 0.0484756 0.0494883 0.0486743 0.047824 0.046947 0.0481178 0.0493413 0.0506188 0.0498063 0.0511591 0.0503557 0.0495549 0.0509895 0.0502171 0.0517099 0.0532575 0.0540164 0.0524767 0.053254 0.0517784 0.0525657 0.053336 0.05195 0.0527155 0.0514093 0.0501584 0.0489635 0.0497813 0.0509458 0.0521679 0.0534469 0.0547831 0.0540778 0.0554961 0.0547768 0.0540257 0.0555407 0.0547834 0.0563676 0.0556095 0.0548544 0.0541225 0.0534754 0.0529775 0.0526053 0.0541606 0.053952 0.0555142 0.0555054 0.0570512 0.0586973 0.0588018 0.0604365 0.0607608 0.0623953 0.064137 0.0645744 0.0663254 0.0669889 0.0679828 0.0692252 0.070796 0.0725118 0.0737624 0.0755934 0.0768149 0.0788404 0.0810306 0.0822119 0.0846931 0.0855944 0.0885235 0.0873594 0.0859133 0.0833809 0.0820434 0.079731 0.0775776 0.0763992 0.0743783 0.0733803 0.0714358 0.0696374 0.068754 0.0706522 0.0726803 0.0748286 0.0754644 0.0776809 0.0785746 0.0808887 0.0833252 0.0845108 0.0871016 0.08861 0.090222 0.0916613 0.0925033 0.0927287 0.0968127 0.0966805 0.101622 0.101032 0.107169 0.107223 0.106374 0.101347 0.10034 0.0962524 0.0950085 0.0985938 0.102334 0.104729 0.109293 0.111867 0.113528 0.114214 0.122352 0.131809 0.133801 0.147174 0.149533 0.170025 0.171443 0.159168 0.131401 0.0901112 0.0482907 0.0265488 0.0158881 0.00903641 0.00597871 0.00703844 0.00397771 0.00415953 0.00956495 0.00464564 0.00613188 0.0118733 0.00671064 0.00428002 0.00483885 0.00617514 0.00908391 0.014155 0.00868294 0.0299337 0.0201861 0.0274168 0.0422202 0.0192032 0.0111608 0.00755873 0.00456294 0.0049279 0.00600449 0.0119337 0.00669318 0.00430811 0.00480109 0.00588721 0.00842594 0.0141627 0.00832525 0.0175968 0.0101751 0.00669553 0.00851571 0.00471056 0.00486384 0.0107764 0.0101359 0.00542583 0.00727122 0.0140723 0.00764364 0.00518539 0.00620405 0.00738552 0.0102203 0.0175367 0.0101147 0.0473624 0.0212725 0.0127759 0.00922533 0.00660193 0.00704166 0.0100198 0.0140523 0.0128369 0.00766859 0.0077846 0.012077 0.00754899 0.00747633 0.0106604 0.0196739 0.0339098 0.0676224 0.0311597 0.0766942 0.0481529 0.025419 0.0145598 0.00977809 0.0112655 0.0076505 0.00765839 0.0166968 0.00755014 0.0134187 0.00724603 0.00444116 0.00417213 0.00557042 0.00916061 0.00613177 0.00425773 0.00514266 0.00640517 0.00922115 0.0137534 0.0081615 0.0106151 0.0108482 0.00910935 0.00637348 0.00787624 0.00874016 0.0077916 0.00659929 0.00671831 0.00621669 0.0058116 0.00425189 0.00445289 0.00419487 0.00369369 0.00318838 0.00325003 0.00358575 0.00330872 0.00283029 0.00343476 0.00455466 0.00654328 0.00502041 0.00380751 0.00373444 0.00487033 0.00417006 0.00460521 0.005611 0.00596336 0.00615203 0.00776673 0.00857618 0.00945996 0.00619784 0.00670076 0.00610742 0.0079087 0.0100565 0.00944577 0.00939614 0.0105072 0.0124954 0.0153519 0.0122641 0.011104 0.00861487 0.0178227 0.0218111 0.0254115 0.029972 0.0341634 0.0384355 0.0429633 0.0412662 0.0360161 0.0308549 0.0280617 0.0340159 0.0399175 0.0393023 0.0328734 0.0263334 0.0199781 0.0152968 0.0151301 0.0186854 0.0128629 0.0105048 0.0131263 0.0205428 0.0155748 0.0203846 0.0121328 0.00937476 0.0109545 0.0146694 0.014657 0.0150017 0.0248449 0.0314875 0.0361402 0.0508039 0.0455313 0.0325872 0.0407422 0.0568449 0.0962676 0.125755 0.0974305 0.0725871 0.0396355 0.0231079 0.0264174 0.0418902 0.0296341 0.0553627 0.0274153 0.021049 0.102877 0.0820734 0.0659667 0.113216 0.135648 0.163494 0.195064 0.127846 0.159261 0.231543 0.217999 0.194524 0.107005 0.105606 0.0995439 0.16586 0.312368 0.271524 0.234314 0.20048 0.167047 0.199199 0.26173 0.311414 0.272661 0.248404 0.205798 0.194639 0.213186 0.204337 0.168511 0.229188 0.353937 0.219651 0.133423 0.0985929 0.102223 0.121714 0.161054 0.136707 0.117972 0.106027 0.108019 0.115644 0.125112 0.140817 0.162872 0.179009 0.177001 0.162849 0.152695 0.142453 0.135786 0.128279 0.12059 0.117694 0.123405 0.127904 0.120028 0.117655 0.113786 0.109443 0.106052 0.102735 0.0996765 0.0964593 0.0932691 0.0914382 0.0943257 0.0971566 0.0997779 0.102027 0.105377 0.107329 0.112044 0.113398 0.108461 0.105107 0.103795 0.101387 0.0995492 0.0974239 0.0950298 0.0924452 0.0897711 0.0884125 0.0858481 0.0849187 0.0824351 0.0800114 0.0794369 0.0770869 0.0767829 0.0744894 0.0722867 0.0701862 0.0681969 0.0679518 0.0659922 0.06595 0.0640146 0.0621785 0.0622481 0.0604258 0.0606673 0.0588694 0.0571483 0.0574809 0.0557888 0.05622 0.0545676 0.0550977 0.0567939 0.0585552 0.0579386 0.0597308 0.059234 0.0610574 0.0629576 0.0625367 0.0644722 0.0641543 0.0661452 0.0682097 0.0679758 0.0700912 0.0700145 0.0721718 0.0722857 0.0725551 0.0703413 0.0707608 0.0685821 0.0664874 0.0669988 0.0649379 0.0655512 0.0635441 0.0616039 0.0622654 0.0603808 0.0610848 0.0592562 0.0574882 0.0557775 0.0565096 0.0582193 0.059988 0.0607291 0.058965 0.0572594 0.058008 0.0597047 0.0614592 0.0632713 0.0625512 0.0618155 0.0637029 0.062973 0.0649235 0.0642138 0.0662251 0.0669354 0.0676586 0.0656506 0.0663728 0.0644324 0.0651421 0.0670717 0.0690606 0.0683728 0.0704324 0.0697269 0.0690089 0.0682991 0.0676211 0.0697559 0.0691271 0.0713208 0.0735758 0.0730097 0.0753207 0.0748458 0.0745476 0.0744164 0.0767336 0.0791117 0.0791516 0.0815781 0.0818589 0.0843252 0.0868082 0.0874246 0.0899091 0.0909574 0.0934185 0.0923343 0.0917032 0.0892739 0.0889743 0.0865076 0.0840356 0.0839869 0.0815313 0.0817085 0.0792586 0.0768673 0.077204 0.0796194 0.0820765 0.0825686 0.0801051 0.0776865 0.0782606 0.0758905 0.0765279 0.0742112 0.0719532 0.0726338 0.0704358 0.0711433 0.0718552 0.0740431 0.0733379 0.0755917 0.0748914 0.0772072 0.0795791 0.0789003 0.0813258 0.0806832 0.0831536 0.0838012 0.084484 0.0820053 0.0826981 0.0802727 0.0779037 0.0785965 0.0762903 0.0769698 0.0747308 0.0725517 0.0732175 0.071109 0.0717448 0.0697091 0.0677335 0.0658174 0.0639603 0.0621617 0.0604208 0.0587376 0.057111 0.0578257 0.0562732 0.0569708 0.057627 0.0561764 0.0568134 0.0554466 0.054138 0.0528877 0.0516958 0.0505626 0.0513017 0.0502621 0.0509853 0.0500447 0.049171 0.0483645 0.049139 0.0499069 0.0507449 0.0516516 0.052625 0.0519909 0.0530598 0.0524023 0.0535634 0.0541908 0.054766 0.0536638 0.0542103 0.0531999 0.0522564 0.0513813 0.0505766 0.0498451 0.04919 0.0486152 0.048125 0.0477247 0.048511 0.0488679 0.0493177 0.0499305 0.0495167 0.0491984 0.0497795 0.0500648 0.050448 0.0509232 0.0504343 0.0498549 0.0504749 0.0511737 0.0519478 0.0524397 0.0516927 0.051023 0.0514854 0.0521305 0.0528548 0.0531778 0.0524712 0.0518454 0.051304 0.0508515 0.0504927 0.0502336 0.0505433 0.0507841 0.0511259 0.0513254 0.0509938 0.050764 0.0517526 0.0515627 0.0520895 0.0527021 0.0533968 0.0535626 0.0528752 0.0522707 0.0543297 0.0541705 0.0539623 0.0536554 0.053261 0.0527939 0.0537106 0.0546958 0.055748 0.055286 0.0564259 0.0559309 0.055383 0.0547844 0.0560649 0.0574047 0.0588039 0.0582385 0.0597221 0.0591352 0.0585023 0.060091 0.0594348 0.061101 0.062825 0.0634422 0.0617374 0.0623262 0.0607015 0.0612647 0.0617816 0.0602627 0.0607582 0.0593234 0.0579493 0.0566359 0.0571579 0.0584467 0.0597973 0.0602262 0.0588962 0.0576294 0.0580493 0.056866 0.0572504 0.0561506 0.0551182 0.0541545 0.0545299 0.0554761 0.0564925 0.057578 0.0587316 0.0584169 0.0596496 0.0592972 0.0606098 0.0609483 0.061241 0.0599527 0.060192 0.058979 0.0578347 0.0567597 0.055755 0.054822 0.0550207 0.0559451 0.0569422 0.0570854 0.0560929 0.0551737 0.0581498 0.0580106 0.0591493 0.0603575 0.0616346 0.0614731 0.0628222 0.0625964 0.0623131 0.0619872 0.0616197 0.0612102 0.0626857 0.0622544 0.0638128 0.0633614 0.0628669 0.0645294 0.0640102 0.0657541 0.0652059 0.0646072 0.0664483 0.0683489 0.0703098 0.070859 0.0689133 0.0670293 0.067559 0.069426 0.0713564 0.0718052 0.0698898 0.0680396 0.0662533 0.066707 0.0650028 0.0654344 0.0658283 0.0642247 0.0645995 0.0630772 0.0634299 0.0649385 0.0665139 0.0661876 0.0678427 0.0674976 0.0671202 0.0688719 0.0684754 0.0703094 0.0722107 0.0725789 0.0706908 0.0710395 0.0692342 0.0695662 0.0698695 0.0681571 0.0684415 0.0668076 0.0652421 0.0637441 0.064019 0.0655092 0.0670673 0.0686941 0.0703904 0.0701448 0.0719187 0.0716523 0.0713594 0.0732242 0.0729154 0.0748636 0.0745378 0.074181 0.0737876 0.0733516 0.0728675 0.072332 0.0744166 0.0738414 0.0759999 0.0753865 0.0776166 0.0799088 0.0792691 0.081629 0.0809613 0.0833848 0.0858669 0.0851789 0.0877147 0.0870138 0.0863242 0.0856686 0.0850742 0.084572 0.0841942 0.0867091 0.0864831 0.0889932 0.0915092 0.0914422 0.0939061 0.0940855 0.0946713 0.09574 0.0978955 0.0999006 0.1018 0.103005 0.104526 0.106143 0.108933 0.113422 0.120184 0.12953 0.140911 0.140537 0.157755 0.152353 0.139163 0.12561 0.134116 0.122672 0.127359 0.118356 0.112629 0.111823 0.115827 0.113896 0.118095 0.11514 0.119083 0.126596 0.118667 0.113718 0.10897 0.109654 0.112657 0.115308 0.113498 0.112071 0.110214 0.110816 0.1118 0.11243 0.112924 0.111646 0.111513 0.110176 0.109528 0.109157 0.107144 0.108263 0.109475 0.110658 0.110956 0.111632 0.111846 0.111824 0.111535 0.112379 0.112089 0.112599 0.111712 0.112066 0.110692 0.109196 0.107622 0.106051 0.105541 0.103666 0.103334 0.101204 0.0990777 0.0969099 0.0964242 0.0987569 0.101066 0.101212 0.0987875 0.0963517 0.0965387 0.0940243 0.0943483 0.0917894 0.0892414 0.0896539 0.0870998 0.0876163 0.0882241 0.0908172 0.0901908 0.0927941 0.0922311 0.0948271 0.0974383 0.0969161 0.0994889 0.0990516 0.101559 0.102062 0.10269 0.100061 0.100741 0.0980727 0.0954225 0.0961043 0.0934448 0.0941546 0.0915028 0.0888921 0.0895933 0.0922214 0.0948975 0.0976211 0.0968456 0.0995748 0.0987931 0.101509 0.104251 0.103426 0.106124 0.105323 0.10463 0.104056 0.103621 0.103361 0.105631 0.105452 0.107533 0.107421 0.109255 0.109553 0.110037 0.107861 0.108357 0.106006 0.106534 0.108988 0.111419 0.110669 0.112943 0.112156 0.111494 0.110993 0.112629 0.11418 0.113312 0.114479 0.113373 0.11409 0.112587 0.111101 0.109615 0.108017 0.106177 0.103811 0.100575 0.096132 0.0898574 0.0824129 0.0752958 0.0697742 0.0646578 0.0489696 0.0567506 0.0518088 0.044026 0.0362988 0.0293406 0.029011 0.0230873 0.0264051 0.0222528 0.0201952 0.0265694 0.0333488 0.0398963 0.0417611 0.0351669 0.028503 0.0320776 0.0382628 0.0445552 0.0511133 0.048548 0.0466189 0.0458407 0.045965 0.0467124 0.0477607 0.0528225 0.0581646 0.0638025 0.0643863 0.0582433 0.0523611 0.0521584 0.0585403 0.0651476 0.0720229 0.0708239 0.0697604 0.0760732 0.0827865 0.0899567 0.0923776 0.0847633 0.0775989 0.0792156 0.0867827 0.0947882 0.0971411 0.0888543 0.0809839 0.0734676 0.0662468 0.0592684 0.0524812 0.0535116 0.0605312 0.0677253 0.0694055 0.0622098 0.0552787 0.0576572 0.0643358 0.0711348 0.0782036 0.0767957 0.0751334 0.0828094 0.0908078 0.0991802 0.100514 0.0923109 0.0844167 0.0855352 0.0931037 0.100908 0.108968 0.109054 0.107977 0.10591 0.103302 0.100509 0.0976484 0.0946927 0.0915454 0.0878017 0.0835552 0.0789195 0.0851327 0.090001 0.0969985 0.091966 0.0994747 0.10462 0.109849 0.101862 0.0945468 0.098853 0.106813 0.115531 0.12511 0.118669 0.112943 0.1075 0.113206 0.122069 0.132171 0.118271 0.123623 0.143448 0.151318 0.139396 0.128521 0.135596 0.146972 0.15926 0.172547 0.164372 0.156045 0.129292 0.135312 0.170046 0.185523 0.141713 0.148514 0.2025 0.21082 0.194053 0.178602 0.186914 0.20248 0.219491 0.238387 0.228963 0.219557 0.155708 0.163318 0.231365 0.244376 0.171656 0.180806 0.25873 0.296143 0.270857 0.248737 0.259663 0.283357 0.309968 0.325069 0.297574 0.272829 0.250373 0.230087 0.211803 0.195219 0.180049 0.166098 0.153227 0.141333 0.130352 0.120256 0.111001 0.102509 0.105933 0.114886 0.124587 0.128754 0.118619 0.109231 0.112396 0.122146 0.132627 0.143908 0.139715 0.135114 0.146534 0.158914 0.172337 0.178308 0.164416 0.151578 0.156052 0.169111 0.183129 0.18527 0.171792 0.159039 0.147021 0.135733 0.125148 0.115225 0.117243 0.127012 0.137307 0.136818 0.127207 0.117949 0.117281 0.125834 0.134602 0.143548 0.14675 0.148127 0.159452 0.171239 0.183426 0.177911 0.167367 0.156956 0.152625 0.161782 0.170975 0.180171 0.188511 0.195936 0.199452 0.198153 0.193347 0.186917 0.202802 0.220184 0.239294 0.246615 0.227352 0.209649 0.214237 0.231435 0.24981 0.26941 0.267608 0.260356 0.283533 0.309045 0.337342 0.342692 0.315437 0.290489 0.290245 0.312257 0.335306 0.313006 0.296243 0.279272 0.262398 0.245854 0.229793 0.214307 0.208684 0.22158 0.234523 0.22003 0.209619 0.199098 0.189359 0.19855 0.20778 0.217101 0.230304 0.247398 0.260067 0.272378 0.284185 0.260273 0.250405 0.240427 0.226585 0.236317 0.246394 0.241611 0.23057 0.220127 0.2102 0.200704 0.19155 0.182656 0.173948 0.165371 0.156891 0.148496 0.140192 0.132 0.123943 0.116043 0.108322 0.100797 0.0934978 0.0863978 0.0796137 0.0730511 0.0665408 0.0600834 0.0538524 0.04793 0.04244 0.0371316 0.0322917 0.0386995 0.0360531 0.0433247 0.0507315 0.0518807 0.0452065 0.0483542 0.0426531 0.047162 0.052042 0.0563899 0.0521269 0.0573466 0.054259 0.0603685 0.0587099 0.0582835 0.0598267 0.0647415 0.0730989 0.068004 0.0658602 0.0732776 0.0759289 0.0811946 0.0883351 0.0832169 0.0803575 0.079215 0.0724842 0.0656109 0.0666425 0.0685944 0.0628445 0.0659883 0.0610158 0.0651522 0.0610406 0.0572386 0.0627154 0.0686249 0.0747898 0.0768195 0.0712847 0.0660388 0.06971 0.0746006 0.0797993 0.0852773 0.0828024 0.081097 0.0875452 0.0940966 0.100904 0.101939 0.0953414 0.0889922 0.0910881 0.0973163 0.103787 0.10644 0.100187 0.0942702 0.0886443 0.0833522 0.0784016 0.0738323 0.0696722 0.0745879 0.0712877 0.0768414 0.0745273 0.0730109 0.0793717 0.0805457 0.0825502 0.0852522 0.079817 0.0833663 0.0784172 0.0827104 0.0874314 0.0919383 0.087422 0.0923993 0.0885584 0.0938787 0.0907844 0.0883058 0.0865382 0.0856047 0.08567 0.0869528 0.089728 0.0942638 0.0990444 0.0953481 0.0929249 0.098208 0.10008 0.102817 0.105858 0.104058 0.102821 0.102258 0.0972666 0.0917185 0.0915898 0.0923945 0.0940006 0.0995265 0.0980003 0.0972225 0.102422 0.1033 0.104844 0.109875 0.108254 0.107208 0.106747 0.106842 0.107439 0.108424 0.110692 0.110428 0.110424 0.113645 0.113132 0.11281 0.114822 0.115635 0.1166 0.117782 0.114435 0.110782 0.111574 0.112842 0.114599 0.119017 0.117085 0.115566 0.119241 0.121019 0.123146 0.125638 0.12137 0.11684 0.112045 0.106996 0.101725 0.0963005 0.0992177 0.102689 0.0975155 0.101646 0.0967204 0.101476 0.0968778 0.0925487 0.0980421 0.10387 0.110017 0.113954 0.107906 0.10221 0.106635 0.112174 0.118069 0.122316 0.116597 0.111226 0.10623 0.111073 0.106657 0.111677 0.107858 0.104523 0.109714 0.112947 0.116652 0.120794 0.115943 0.120618 0.115902 0.121108 0.12666 0.131071 0.12567 0.130256 0.125339 0.130026 0.125585 0.121538 0.11791 0.114735 0.119551 0.122711 0.126295 0.1309 0.127323 0.124142 0.128501 0.131736 0.135338 0.139301 0.134857 0.130281 0.134648 0.139378 0.134834 0.139995 0.135524 0.141125 0.136799 0.132537 0.128363 0.124291 0.120309 0.116451 0.113128 0.110489 0.108662 0.107993 0.11527 0.122743 0.130383 0.130404 0.122925 0.115652 0.117458 0.124578 0.131973 0.139684 0.138106 0.138187 0.146153 0.154285 0.162602 0.162603 0.154181 0.146026 0.147658 0.155904 0.164453 0.167156 0.158562 0.15029 0.142348 0.134728 0.127318 0.12011 0.123239 0.13043 0.137917 0.141131 0.133829 0.126926 0.130797 0.137586 0.144615 0.151941 0.148781 0.14561 0.153423 0.161538 0.170074 0.173052 0.164716 0.156645 0.159718 0.167787 0.176132 0.184838 0.181806 0.178956 0.17609 0.173344 0.171331 0.171139 0.179948 0.189096 0.198658 0.199883 0.18991 0.180413 0.182618 0.192322 0.202505 0.213198 0.210385 0.208709 0.219316 0.230534 0.242399 0.245346 0.233106 0.221452 0.224415 0.236155 0.248398 0.250912 0.238835 0.227199 0.216033 0.205349 0.195146 0.185405 0.188218 0.197899 0.208034 0.210655 0.200588 0.190986 0.193865 0.203381 0.213426 0.223906 0.22117 0.21863 0.229682 0.241172 0.253066 0.255244 0.243493 0.232123 0.234789 0.246066 0.257712 0.260568 0.249003 0.2378 0.226986 0.216531 0.206503 0.196979 0.187939 0.179251 0.170893 0.162988 0.155479 0.148284 0.141365 0.134715 0.138725 0.145222 0.152024 0.1559 0.149208 0.142843 0.147055 0.15332 0.159932 0.166912 0.162932 0.159133 0.16658 0.174404 0.18259 0.186316 0.178126 0.170332 0.174286 0.182075 0.190294 0.194501 0.186248 0.178441 0.171067 0.164108 0.157541 0.151343 0.145498 0.1499 0.144463 0.148914 0.14387 0.139183 0.143622 0.148301 0.153343 0.158757 0.154321 0.1601 0.155694 0.161859 0.168415 0.172844 0.166267 0.170762 0.164557 0.169067 0.16321 0.157752 0.152675 0.147966 0.143614 0.139611 0.135953 0.132637 0.129659 0.127012 0.124683 0.122652 0.120889 0.119355 0.118 0.116772 0.115616 0.11717 0.115682 0.116961 0.115175 0.113362 0.114226 0.116267 0.118298 0.119672 0.117429 0.115192 0.116238 0.113833 0.114815 0.112276 0.109736 0.107188 0.107958 0.110595 0.113239 0.115895 0.118571 0.11736 0.119923 0.118647 0.121076 0.122517 0.124023 0.121276 0.122736 0.11989 0.117086 0.114313 0.111565 0.108837 0.109814 0.107019 0.107988 0.105146 0.102341 0.103212 0.100392 0.101221 0.0984075 0.095651 0.0929505 0.0903052 0.0910096 0.0884083 0.089081 0.0865338 0.0840503 0.0846837 0.082264 0.0828585 0.080507 0.0782213 0.0787783 0.0765649 0.0770791 0.0749404 0.0754133 0.0775434 0.0797438 0.0792855 0.0815616 0.0810586 0.0834076 0.0858277 0.0852776 0.0877665 0.0871693 0.0897228 0.0923464 0.0916931 0.0943723 0.0936719 0.0963966 0.0971207 0.0978139 0.0950425 0.0956763 0.092963 0.0903274 0.0908906 0.0883212 0.088831 0.0863319 0.0839096 0.0843646 0.0820168 0.0824263 0.0801561 0.077961 0.0758389 0.0762224 0.0783369 0.0805266 0.0808603 0.0786765 0.0765697 0.076886 0.0789846 0.0811614 0.0834185 0.0831234 0.0827939 0.0851408 0.0847741 0.0872019 0.0867897 0.0892947 0.0897122 0.0900836 0.0875699 0.0878959 0.0854678 0.0857581 0.0881821 0.090693 0.09041 0.0930125 0.0926844 0.0923076 0.0918824 0.0914096 0.0940708 0.0935389 0.0962693 0.099085 0.0984703 0.101349 0.100664 0.0999408 0.0991855 0.102041 0.104966 0.104094 0.107028 0.106081 0.109001 0.111977 0.110871 0.113798 0.112639 0.115496 0.116772 0.118107 0.11501 0.116235 0.113095 0.110027 0.111037 0.107963 0.108866 0.105809 0.102836 0.103596 0.106615 0.109724 0.11293 0.112009 0.115245 0.114192 0.117435 0.12077 0.119454 0.122757 0.121271 0.119799 0.118391 0.121331 0.124323 0.127377 0.125632 0.12859 0.126824 0.125157 0.123541 0.121941 0.120343 0.118749 0.120569 0.118684 0.120266 0.121958 0.124442 0.122455 0.124579 0.122427 0.124257 0.126061 0.128657 0.126643 0.129127 0.126828 0.129204 0.126568 0.123805 0.125847 0.128119 0.13065 0.134097 0.131366 0.128865 0.131738 0.134456 0.137385 0.140543 0.137415 0.134487 0.131732 0.134168 0.131352 0.13353 0.130644 0.12786 0.129694 0.132652 0.135715 0.138904 0.13654 0.139695 0.13713 0.140261 0.143587 0.146539 0.143021 0.145748 0.142241 0.144863 0.141351 0.137987 0.134752 0.131625 0.13371 0.130501 0.132569 0.12926 0.126035 0.122884 0.12451 0.127831 0.131243 0.13325 0.129647 0.126152 0.127749 0.124205 0.125576 0.122021 0.11858 0.119654 0.116238 0.117162 0.113792 0.110532 0.107375 0.104315 0.104988 0.10199 0.102583 0.0996537 0.0968177 0.0973177 0.0945557 0.0949911 0.0953749 0.0981582 0.0977656 0.100634 0.100172 0.103122 0.106171 0.105608 0.108736 0.108084 0.111282 0.11197 0.112588 0.109325 0.109844 0.106669 0.103601 0.104016 0.101037 0.101378 0.0984934 0.0957061 0.0959849 0.0932931 0.0935279 0.0909347 0.0884309 0.0860141 0.0836822 0.0814331 0.0792646 0.0771749 0.0751621 0.0754351 0.073507 0.0737645 0.073995 0.072157 0.0723511 0.0705901 0.068899 0.0672772 0.0657241 0.0642392 0.0643941 0.0629802 0.0631078 0.0617645 0.0604901 0.0592849 0.0645196 0.0659997 0.0658762 0.0674266 0.0675482 0.0691651 0.0690456 0.0707335 0.0724909 0.0743185 0.0741828 0.0760864 0.0759057 0.0756835 0.0776772 0.0774384 0.0795184 0.0816772 0.0818953 0.0797472 0.0799503 0.0778903 0.078063 0.078188 0.0762171 0.0763252 0.0744301 0.0726055 0.0708507 0.078292 0.0803316 0.0802323 0.080114 0.0822409 0.0820873 0.0843031 0.0841231 0.0839164 0.0862381 0.0886445 0.0911377 0.0913064 0.0888264 0.0864328 0.0865998 0.0889796 0.0914449 0.091548 0.0890966 0.08673 0.0844456 0.0845477 0.0823516 0.0824455 0.0846356 0.086904 0.0868227 0.089179 0.0916193 0.0916858 0.0892531 0.0942051 0.0941467 0.094087 0.0939986 0.0938753 0.0937203 0.0963949 0.0962132 0.0989934 0.0987712 0.101655 0.10464 0.104362 0.107451 0.107097 0.110286 0.113587 0.113129 0.116531 0.115966 0.115316 0.114589 0.118011 0.121556 0.120648 0.124259 0.123187 0.126845 0.130638 0.129253 0.133064 0.13141 0.135198 0.137019 0.138674 0.134577 0.135935 0.131891 0.128003 0.129044 0.12523 0.126098 0.122373 0.118781 0.119465 0.123093 0.126857 0.130767 0.129967 0.133989 0.133008 0.137134 0.141433 0.140146 0.144538 0.142941 0.141131 0.139124 0.136971 0.134753 0.138373 0.135972 0.139481 0.137016 0.140436 0.143111 0.145987 0.142114 0.144812 0.140821 0.143201 0.14744 0.151854 0.148954 0.15326 0.150005 0.146874 0.143984 0.147681 0.151546 0.148545 0.15242 0.14945 0.15337 0.150275 0.147131 0.143894 0.140549 0.137081 0.133462 0.136572 0.139994 0.143736 0.147742 0.143887 0.140338 0.143969 0.147665 0.151659 0.155969 0.15192 0.147811 0.15223 0.157005 0.162152 0.16656 0.161311 0.156437 0.160615 0.165617 0.170996 0.175473 0.169942 0.164784 0.159981 0.155512 0.151356 0.14749 0.150916 0.154967 0.159307 0.16303 0.158497 0.154253 0.157532 0.161962 0.166683 0.171716 0.167875 0.163957 0.168941 0.174277 0.179982 0.184473 0.17858 0.173052 0.177081 0.182796 0.188872 0.193143 0.186917 0.181048 0.175524 0.170328 0.165442 0.160845 0.156512 0.159863 0.155599 0.159129 0.154866 0.150787 0.154181 0.158527 0.163057 0.167271 0.162408 0.157741 0.161258 0.156456 0.159415 0.154539 0.149876 0.145412 0.147394 0.152048 0.156918 0.162021 0.167374 0.164518 0.169861 0.166272 0.171506 0.175456 0.178894 0.172993 0.1756 0.169774 0.164233 0.158956 0.153927 0.149126 0.150609 0.14592 0.147095 0.14254 0.138176 0.139064 0.134832 0.135538 0.131443 0.127504 0.123711 0.120056 0.120549 0.117006 0.117386 0.113958 0.110648 0.110928 0.10773 0.107936 0.104851 0.101872 0.102032 0.0991645 0.0992917 0.096536 0.0966437 0.0993836 0.102222 0.102146 0.105103 0.105002 0.108078 0.111265 0.111131 0.114441 0.114241 0.117673 0.12123 0.120939 0.124624 0.124222 0.128034 0.128448 0.12875 0.12492 0.125118 0.121428 0.117871 0.117992 0.114568 0.114633 0.111341 0.108166 0.108213 0.105164 0.105192 0.102265 0.0994418 0.0967171 0.0967648 0.0994775 0.102289 0.102322 0.099519 0.0968148 0.105229 0.105204 0.108228 0.108227 0.111376 0.111375 0.114655 0.114645 0.114626 0.111367 0.111376 0.108245 0.114629 0.11801 0.118013 0.11804 0.11806 0.118048 0.121593 0.121543 0.12523 0.12906 0.128949 0.132929 0.132727 0.132419 0.131993 0.136108 0.140391 0.139801 0.144242 0.143474 0.148076 0.152885 0.151856 0.156839 0.155517 0.160662 0.16206 0.163185 0.157915 0.158773 0.153713 0.148874 0.149504 0.144852 0.145316 0.140842 0.136547 0.136863 0.141166 0.145648 0.145866 0.141377 0.137069 0.137182 0.133041 0.133081 0.129101 0.125275 0.125271 0.121596 0.121568 0.121535 0.1252 0.125238 0.129057 0.129094 0.133073 0.137218 0.137224 0.141542 0.141495 0.145991 0.146045 0.146051 0.14154 0.141509 0.137182 0.133035 0.132994 0.129017 0.129003 0.125189 0.121528 0.13298 0.137129 0.137143 0.141474 0.145999 0.146027 0.15075 0.150763 0.150746 0.150682 0.150548 0.150322 0.14998 0.15485 0.154361 0.159439 0.164755 0.164072 0.169628 0.168713 0.167539 0.16606 0.171732 0.177699 0.183981 0.181729 0.18818 0.185091 0.181314 0.176968 0.172338 0.167784 0.163592 0.168276 0.164359 0.16911 0.174138 0.178372 0.173196 0.177872 0.172718 0.177614 0.182662 0.188586 0.183105 0.18881 0.183256 0.188878 0.183819 0.179464 0.185104 0.191076 0.197391 0.201936 0.195588 0.189553 0.194747 0.200871 0.207258 0.213758 0.207207 0.200864 0.194731 0.201111 0.194739 0.200502 0.193837 0.18744 0.191597 0.198421 0.20557 0.213046 0.20743 0.214607 0.207692 0.214467 0.221421 0.229631 0.222015 0.228963 0.220847 0.225896 0.217571 0.209652 0.202124 0.194973 0.197585 0.190602 0.19245 0.185726 0.17935 0.173295 0.174518 0.180624 0.187054 0.18805 0.181593 0.175461 0.176175 0.170327 0.170849 0.165267 0.15994 0.160301 0.155201 0.155437 0.155582 0.160706 0.160548 0.165898 0.165638 0.171232 0.177102 0.176708 0.182866 0.182322 0.188793 0.189347 0.189764 0.183271 0.183575 0.17739 0.171505 0.171696 0.166071 0.166182 0.160799 0.155659 0.15569 0.160847 0.16625 0.171919 0.171828 0.177755 0.1776 0.183805 0.190337 0.190085 0.196948 0.196611 0.196181 0.195617 0.194859 0.193834 0.200993 0.199546 0.207046 0.204954 0.212736 0.21498 0.216582 0.208564 0.209657 0.20205 0.202824 0.210449 0.21853 0.217717 0.226274 0.225087 0.223385 0.220959 0.22965 0.238838 0.234636 0.243797 0.23738 0.246074 0.237429 0.228539 0.220517 0.213918 0.208607 0.204056 0.199731 0.195317 0.190742 0.186071 0.181395 0.176768 0.172202 0.167688 0.17363 0.179995 0.175338 0.182041 0.177388 0.184454 0.179848 0.175382 0.182782 0.190628 0.198927 0.203552 0.195197 0.187296 0.191969 0.199937 0.208352 0.2172 0.212355 0.207683 0.203213 0.198969 0.194963 0.191224 0.200393 0.209971 0.219935 0.223647 0.213692 0.204112 0.208115 0.217707 0.227705 0.238091 0.23404 0.23035 0.24117 0.252338 0.263811 0.267389 0.25601 0.24487 0.248852 0.259924 0.271221 0.275264 0.264062 0.253077 0.242375 0.232005 0.221997 0.212387 0.216888 0.226512 0.236515 0.241208 0.231219 0.221588 0.226458 0.236091 0.246059 0.256326 0.251515 0.246857 0.257502 0.268404 0.279512 0.283948 0.272925 0.262102 0.266853 0.277606 0.288556 0.299682 0.295141 0.290791 0.28663 0.282668 0.278979 0.275557 0.272414 0.26966 0.26732 0.265312 0.26338 0.261101 0.258148 0.254926 0.253319 0.256927 0.270107 0.295383 0.329197 0.359131 0.372528 0.369084 0.356015 0.340225 0.325378 0.274655 0.190904 0.202113 0.292418 0.312322 0.214629 0.228701 0.334656 0.445922 0.399699 0.359462 0.374937 0.415222 0.462198 0.517338 0.484107 0.35968 0.244667 0.263065 0.388459 0.422072 0.284542 0.309964 0.461822 0.628258 0.572254 0.524729 0.583824 0.666387 0.769441 0.884309 0.694794 0.509578 0.340587 0.378321 0.568253 0.64253 0.426092 0.488471 0.739581 1.00739 0.876366 0.775247 0.983841 1.10792 1.26615 1.47411 1.18311 0.871244 0.573077 0.693562 1.05849 1.34159 0.876578 1.17874 1.80495 2.35475 1.78755 1.42827 1.75528 1.95552 2.0575 1.26231 1.26984 1.27116 1.24213 1.18053 1.09334 0.990833 0.883888 0.780502 0.687194 0.606764 0.538218 0.480304 0.432103 0.391283 0.405099 0.446385 0.493871 0.478058 0.440534 0.405153 0.383284 0.407061 0.429465 0.449252 0.51606 0.547548 0.605867 0.666691 0.727226 0.607984 0.583327 0.551991 0.465285 0.477013 0.484607 0.403331 0.396892 0.389652 0.380995 0.370563 0.358314 0.344424 0.305938 0.315903 0.325414 0.300875 0.290235 0.280039 0.268037 0.279838 0.292418 0.305821 0.312124 0.33467 0.343926 0.3535 0.363743 0.350793 0.336985 0.324123 0.32004 0.335026 0.350688 0.36688 0.365545 0.374947 0.409628 0.488618 0.624101 0.782987 0.827518 0.853708 0.860836 0.61945 0.627524 0.630332 0.48982 0.489586 0.489883 0.492554 0.610579 0.853294 0.836742 0.819057 0.810759 0.607081 0.60158 0.604023 0.498543 0.508243 0.523846 0.495803 0.475201 0.458738 0.444795 0.433255 0.423977 0.416327 0.387245 0.4007 0.415449 0.414243 0.39738 0.381124 0.383401 0.400063 0.41676 0.433396 0.431666 0.431633 0.44912 0.468051 0.489567 0.487932 0.468041 0.449485 0.449868 0.466685 0.483896 0.498073 0.506264 0.511723 0.519623 0.545498 0.622342 0.817314 1.27156 2.19249 3.29752 2.63005 1.73057 2.84678 4.21666 4.13412 2.35749 1.29774 0.832798 0.642252 0.568232 0.541294 0.529203 0.518359 0.505207 0.490373 0.487141 0.476575 0.462062 0.447247 0.432578 0.417449 0.401939 0.386151 0.370166 0.354127 0.338213 0.322596 0.307425 0.292834 0.278923 0.265747 0.268104 0.281894 0.296225 0.299342 0.285225 0.271464 0.274203 0.28763 0.301298 0.31511 0.313708 0.310994 0.326073 0.34132 0.356595 0.357132 0.342719 0.328206 0.32897 0.342781 0.356449 0.355518 0.342407 0.329137 0.315795 0.302465 0.289231 0.276177 0.277843 0.290592 0.303487 0.304803 0.292165 0.279648 0.28183 0.294159 0.306588 0.319043 0.317488 0.316451 0.329407 0.342276 0.354974 0.355078 0.342706 0.330148 0.331457 0.343758 0.355858 0.367662 0.367172 0.367412 0.368384 0.369885 0.371339 0.371758 0.386679 0.401264 0.415456 0.411872 0.398777 0.385244 0.383004 0.395734 0.407986 0.41959 0.424376 0.429127 0.442175 0.455231 0.467422 0.457988 0.447792 0.436186 0.43047 0.440851 0.449295 0.441838 0.434927 0.425628 0.415519 0.404635 0.393045 0.380922 0.379501 0.391136 0.402177 0.400678 0.390112 0.37889 0.379063 0.389928 0.40008 0.409339 0.410412 0.412449 0.421873 0.430183 0.435752 0.431014 0.426613 0.41921 0.417568 0.424152 0.42755 0.425288 0.422737 0.416874 0.409152 0.400303 0.390504 0.379942 0.368807 0.357249 0.34538 0.333299 0.321098 0.308841 0.296601 0.284448 0.287467 0.299439 0.311505 0.314559 0.3026 0.290731 0.294279 0.306063 0.317877 0.329647 0.326505 0.3236 0.335605 0.347493 0.359177 0.361595 0.350036 0.338317 0.341378 0.353034 0.364491 0.367747 0.356399 0.344806 0.333096 0.321434 0.309785 0.298149 0.302213 0.313734 0.325313 0.329472 0.317932 0.30648 0.310963 0.322377 0.333904 0.345515 0.341077 0.336945 0.348586 0.360097 0.37142 0.375615 0.364223 0.352689 0.357157 0.368762 0.380253 0.391509 0.38677 0.382526 0.378798 0.375565 0.372797 0.370535 0.381452 0.39177 0.401285 0.402988 0.393682 0.383543 0.386183 0.396217 0.405406 0.413469 0.411233 0.409793 0.417078 0.422327 0.424181 0.424214 0.42289 0.418145 0.42006 0.424405 0.425378 0.427603 0.426893 0.422869 0.416504 0.408533 0.399386 0.389396 0.393178 0.403137 0.412271 0.416677 0.407508 0.397489 0.402351 0.412551 0.421874 0.430177 0.424871 0.420327 0.426651 0.430418 0.43089 0.435323 0.435014 0.431333 0.436827 0.440649 0.440931 0.437278 0.431794 0.427497 0.424363 0.422362 0.421521 0.421899 0.423522 0.426432 0.430705 0.436443 0.443758 0.452727 0.463287 0.475055 0.475432 0.46164 0.449658 0.439683 0.431654 0.425413 0.420783 0.417616 0.4158 0.415258 0.415898 0.417713 0.420701 0.424814 0.430072 0.43651 0.443976 0.447714 0.447305 0.443206 0.436326 0.427801 0.418221 0.407799 0.396768 0.385347 0.373715 0.361999 0.350281 0.338623 0.327075 0.315665 0.304411 0.29333 0.282434 0.271739 0.261266 0.251042 0.241098 0.231469 0.222192 0.213301 0.204825 0.196783 0.189188 0.194035 0.186794 0.191638 0.18473 0.178254 0.182948 0.189548 0.196572 0.204019 0.198981 0.206755 0.201719 0.209836 0.218371 0.223532 0.214945 0.220135 0.211879 0.217086 0.209145 0.201596 0.194452 0.187719 0.192552 0.199428 0.206697 0.211823 0.20442 0.197391 0.202133 0.209316 0.216859 0.224749 0.219588 0.21435 0.222373 0.230747 0.225402 0.234072 0.228767 0.237749 0.232491 0.227298 0.236589 0.246211 0.256129 0.261299 0.251403 0.241791 0.247055 0.256659 0.26654 0.276684 0.271457 0.266315 0.276745 0.287399 0.298264 0.303357 0.292495 0.28186 0.28708 0.297724 0.308614 0.314054 0.303102 0.292422 0.282009 0.271862 0.261984 0.252383 0.243073 0.248478 0.239455 0.244909 0.236148 0.227702 0.232972 0.241513 0.25036 0.259504 0.253972 0.263328 0.2578 0.26741 0.2773 0.282906 0.272973 0.278669 0.26894 0.274498 0.264918 0.255643 0.246673 0.238013 0.229673 0.221664 0.213997 0.206684 0.211077 0.218454 0.226184 0.230643 0.222953 0.21561 0.220862 0.228103 0.235658 0.243547 0.238687 0.234264 0.242687 0.251449 0.260547 0.265018 0.255866 0.247092 0.251794 0.260423 0.269463 0.274961 0.266211 0.257852 0.249839 0.242129 0.234689 0.227491 0.235809 0.243228 0.250799 0.261633 0.253456 0.24538 0.255015 0.264164 0.273476 0.282902 0.269894 0.258536 0.266468 0.274635 0.283092 0.295216 0.286666 0.278235 0.292392 0.301902 0.311397 0.320862 0.303934 0.291903 0.284154 0.27894 0.274556 0.269981 0.279751 0.289865 0.284385 0.29459 0.288699 0.299038 0.293135 0.287472 0.297928 0.308676 0.319723 0.325697 0.314519 0.303669 0.309702 0.320705 0.332061 0.338845 0.327235 0.315999 0.305123 0.311155 0.30033 0.305585 0.294831 0.284491 0.288881 0.299308 0.31024 0.321691 0.316762 0.328368 0.322354 0.333937 0.345914 0.35288 0.340407 0.346171 0.333668 0.338412 0.326327 0.314889 0.304072 0.293842 0.301144 0.310891 0.321222 0.33186 0.322162 0.312887 0.330305 0.339765 0.34931 0.359041 0.342087 0.332212 0.343922 0.356401 0.351154 0.36455 0.35919 0.372711 0.365783 0.358292 0.350839 0.343781 0.337212 0.331077 0.325282 0.319752 0.314441 0.30933 0.32059 0.332032 0.343641 0.348968 0.337258 0.325744 0.331136 0.342763 0.354617 0.366673 0.360847 0.355387 0.367227 0.379099 0.390918 0.396978 0.384926 0.372854 0.378891 0.391208 0.40354 0.410617 0.397961 0.385355 0.372884 0.360608 0.348568 0.336788 0.342741 0.354712 0.366977 0.37379 0.361266 0.34907 0.355872 0.368331 0.381146 0.394295 0.386617 0.379511 0.392275 0.405209 0.418232 0.426427 0.413002 0.399706 0.407739 0.421425 0.43528 0.449219 0.439884 0.431238 0.423212 0.415767 0.408886 0.402556 0.413839 0.424543 0.434433 0.441789 0.431526 0.420477 0.427722 0.439179 0.449882 0.459643 0.451056 0.443286 0.450533 0.45502 0.455673 0.464839 0.463814 0.458804 0.468011 0.473703 0.475253 0.486954 0.4847 0.478154 0.469051 0.45872 0.447509 0.435585 0.444079 0.456532 0.468318 0.478704 0.466275 0.453237 0.463125 0.476798 0.489936 0.502404 0.490391 0.479292 0.489243 0.496823 0.499986 0.514401 0.510099 0.501298 0.514368 0.524577 0.530275 0.547714 0.540344 0.528541 0.515431 0.502116 0.488204 0.473848 0.459356 0.444906 0.430592 0.416489 0.402658 0.38915 0.375998 0.363224 0.371074 0.384256 0.397826 0.406971 0.392844 0.379108 0.38671 0.401158 0.416021 0.431264 0.421466 0.411763 0.426037 0.440608 0.455423 0.466848 0.451442 0.436301 0.446852 0.462749 0.478924 0.490924 0.473716 0.456819 0.440269 0.424116 0.408414 0.393219 0.378583 0.383767 0.36968 0.377019 0.364569 0.352956 0.369084 0.379585 0.390701 0.415262 0.405088 0.394945 0.384675 0.374175 0.363398 0.352347 0.341073 0.329653 0.318184 0.306769 0.295504 0.284473 0.273743 0.263366 0.253377 0.258821 0.248553 0.251826 0.241764 0.232299 0.234123 0.243742 0.253997 0.255426 0.245071 0.235374 0.236243 0.227112 0.227726 0.21913 0.211036 0.203399 0.203841 0.211489 0.219595 0.228201 0.237354 0.236871 0.246622 0.245978 0.256378 0.257037 0.257523 0.247108 0.247505 0.237752 0.228593 0.219977 0.211858 0.204194 0.204489 0.197221 0.197452 0.190542 0.183985 0.184127 0.17787 0.177953 0.171977 0.166287 0.160864 0.155691 0.155682 0.15073 0.150727 0.145991 0.141462 0.155686 0.160881 0.160869 0.166308 0.166329 0.172047 0.172015 0.178009 0.184311 0.184234 0.190845 0.190711 0.197649 0.204967 0.204744 0.212449 0.212172 0.220307 0.220603 0.220867 0.212695 0.212899 0.205149 0.197807 0.197924 0.190941 0.191011 0.184368 0.178054 0.198007 0.205379 0.205285 0.213052 0.221254 0.221088 0.229751 0.229519 0.229242 0.228934 0.238098 0.247847 0.258236 0.257909 0.269028 0.268664 0.268187 0.267513 0.266507 0.264953 0.262534 0.27394 0.269664 0.281098 0.293128 0.299048 0.286095 0.289241 0.276676 0.278388 0.279461 0.29231 0.291157 0.304907 0.30273 0.317224 0.312842 0.305742 0.318904 0.332551 0.346587 0.359428 0.343041 0.327504 0.332808 0.34956 0.367544 0.371961 0.353145 0.335782 0.319744 0.32112 0.306159 0.306858 0.293005 0.280147 0.280606 0.293431 0.307234 0.322122 0.321819 0.338014 0.337321 0.354904 0.374027 0.374717 0.355591 0.355664 0.338218 0.338149 0.322201 0.307424 0.293701 0.280933 0.281181 0.269325 0.269577 0.258523 0.248154 0.238411 0.238691 0.248427 0.258775 0.258982 0.248654 0.238925 0.2391 0.229925 0.230042 0.221366 0.213156 0.239218 0.248936 0.248822 0.259136 0.25924 0.270179 0.270092 0.269964 0.269792 0.281537 0.281378 0.293999 0.293879 0.307504 0.307521 0.3075 0.294081 0.294134 0.281659 0.281747 0.294168 0.30743 0.307464 0.321737 0.321885 0.322035 0.322153 0.337935 0.354979 0.355405 0.374127 0.374628 0.395307 0.395589 0.394866 0.392355 0.386799 0.376596 0.360878 0.375256 0.389527 0.403484 0.431192 0.412703 0.394417 0.407323 0.429055 0.451854 0.475476 0.449561 0.41693 0.429704 0.441709 0.452938 0.500255 0.484454 0.467441 0.499568 0.523661 0.547187 0.582934 0.55133 0.520725 0.491537 0.464026 0.43832 0.414445 0.41761 0.442455 0.469595 0.471059 0.443492 0.41843 0.417935 0.442789 0.470198 0.500544 0.501435 0.499201 0.5314 0.566244 0.603666 0.612453 0.571854 0.534933 0.534265 0.571838 0.613769 0.610698 0.568639 0.531307 0.498009 0.468143 0.441203 0.416771 0.394506 0.393487 0.373436 0.372683 0.354482 0.337648 0.337339 0.353981 0.371953 0.371321 0.353537 0.337055 0.336839 0.32162 0.321553 0.307416 0.294196 0.281809 0.336711 0.353004 0.353204 0.370854 0.370572 0.389576 0.38995 0.390572 0.391421 0.392422 0.413907 0.415349 0.439292 0.465649 0.463184 0.437389 0.43568 0.412583 0.411483 0.410688 0.433298 0.43429 0.459277 0.461009 0.488941 0.491688 0.494837 0.52738 0.563936 0.605314 0.599261 0.558985 0.523406 0.519942 0.554617 0.593754 0.589508 0.551269 0.517271 0.486792 0.485308 0.458059 0.457334 0.432704 0.41021 0.484435 0.514416 0.515462 0.549044 0.586718 0.585157 0.547778 0.627374 0.629353 0.632943 0.6384 0.645303 0.652492 0.658253 0.66055 0.656911 0.643453 0.614948 0.569529 0.514586 0.463481 0.425668 0.402586 0.390378 0.404695 0.398647 0.414286 0.430629 0.436253 0.419989 0.429231 0.415387 0.436538 0.473535 0.483389 0.448121 0.460668 0.444216 0.460411 0.45345 0.447607 0.46515 0.483185 0.501653 0.510017 0.490405 0.471524 0.477849 0.496532 0.516431 0.537502 0.530297 0.520512 0.508419 0.495353 0.48248 0.470423 0.485541 0.500631 0.515387 0.529894 0.514198 0.498298 0.512021 0.528868 0.545653 0.562146 0.54515 0.52962 0.543961 0.557535 0.566873 0.587942 0.576318 0.560816 0.579266 0.596822 0.611096 0.636387 0.619036 0.599198 0.580412 0.562394 0.544257 0.526204 0.53976 0.559402 0.579298 0.594886 0.572785 0.551216 0.559717 0.583089 0.607514 0.632532 0.617182 0.599211 0.61999 0.642508 0.663521 0.691561 0.665991 0.640358 0.658482 0.687666 0.718725 0.74561 0.711868 0.678454 0.647029 0.618284 0.592345 0.569051 0.54814 0.529349 0.512465 0.49732 0.483787 0.471763 0.461165 0.451922 0.444171 0.453116 0.463427 0.475205 0.488572 0.503683 0.520734 0.539976 0.561721 0.586351 0.614277 0.645855 0.681193 0.71983 0.760469 0.800991 0.777199 0.742778 0.705907 0.673 0.644291 0.616977 0.591056 0.567032 0.54495 0.524726 0.506293 0.489564 0.474413 0.503988 0.493404 0.548405 0.538519 0.527324 0.590076 0.608311 0.623898 0.636756 0.557391 0.566035 0.515573 0.52858 0.543403 0.584991 0.574998 0.655494 0.647108 0.752012 0.730579 0.705356 0.67707 0.64662 0.685204 0.728311 0.771943 0.81338 0.757522 0.705291 0.712633 0.770388 0.834105 0.904021 0.872472 0.815048 0.856377 0.894547 0.76925 0.782331 0.662725 0.669816 0.596731 0.56039 0.579855 0.602094 0.627267 0.649285 0.628251 0.610921 0.677914 0.688263 0.702055 0.720046 0.674107 0.655029 0.685245 0.720948 0.762841 0.782889 0.738457 0.702773 0.742849 0.773995 0.816614 0.893055 0.856981 0.83491 0.82139 0.811805 0.80478 0.798749 0.791803 0.956134 0.928183 1.06176 0.997726 0.934208 0.980403 1.06362 1.1541 1.25213 1.12451 1.18377 0.97783 0.993726 1.00535 1.28468 1.23756 1.46996 1.35756 1.47267 1.33281 1.21052 1.10226 1.00566 0.919173 0.841875 0.773077 0.712114 0.70661 0.768936 0.840793 0.833064 0.760396 0.698462 0.689942 0.750213 0.821599 0.907113 0.918659 0.923467 1.01817 1.12613 1.24905 1.27604 1.13783 1.01948 1.0104 1.13564 1.28726 1.28016 1.12145 0.994925 0.89311 0.81002 0.741072 0.682869 0.678118 0.734635 0.801201 0.795995 0.731021 0.675506 0.873483 0.881136 0.979274 1.10266 1.26148 1.24301 1.08735 0.968145 1.45474 1.47043 1.48 1.46989 1.43696 1.38971 1.55323 1.74926 1.63554 1.82934 1.58876 1.71095 1.32376 1.01432 1.02211 1.03537 1.06471 1.42238 1.3782 1.35268 1.82871 1.94357 2.09208 3.06879 2.64253 2.32921 2.06089 2.30789 1.99419 2.13685 1.85182 1.62541 1.68939 1.95776 2.3018 2.76723 2.51031 3.00516 2.70391 3.21758 4.02691 4.99711 3.70591 4.42952 3.42016 4.07541 3.1367 2.50179 2.05903 1.73272 1.7519 2.14476 2.72127 2.91411 2.20653 1.75594 4.04182 3.59989 4.92614 6.93534 5.56266 8.62752 6.48758 12.3337 8.25212 5.6245 3.70097 2.28776 1.49023 1.11194 0.942703 0.868052 0.831429 0.804997 0.839398 0.876692 0.92214 1.00155 1.1736 1.57061 2.49101 4.54384 8.99951 18.4088 34.8952 58.6497 17.8444 23.6714 10.9396 12.7599 8.12469 5.73497 28.1575 104.404 85.3843 0.00922302 0.012679 0.00648497 0.015026 0.00825286 0.010984 0.00889734 0.0245939 0.00902477 0.00881547 0.00674494 0.00999173 0.00760512 0.00356263 0.00292187 0.0055241 0.00654786 0.00992907 0.0157473 0.0095055 0.00533785 0.0084402 0.00563136 0.00189148 0.00139037 0.00353028 0.00410376 0.0018347 0.00124107 0.00348831 0.00412599 0.00485715 0.0249028 0.00160439 0.0184266 0.00398707 0.0167219 0.00299254 0.00454253 0.0025731 0.00327005 0.00154945 0.00127198 0.00290139 0.0061095 0.0027565 0.0133133 0.0344366 0.0510215 0.0959593 0.361775 0.193334 0.11789 0.298092 0.547721 0.750444 1.43255 1.29836 2.30539 5.64681 2.72995 10.3982 10.9914 6.00506 2.643 1.3326 0.847171 0.65591 0.575789 0.537656 0.513722 0.493823 0.475264 0.458024 0.442639 0.429466 0.418576 0.409829 0.403 0.397844 0.394153 0.391758 0.390515 0.390311 0.391144 0.392968 0.395709 0.399364 0.403938 0.409446 0.415918 0.423399 0.431953 0.441661 0.452639 0.46503 0.479034 0.494905 0.512984 0.5337 0.557589 0.585236 0.617192 0.653841 0.695232 0.741032 0.790964 0.846256 0.913706 1.0144 1.20106 1.60405 2.62819 6.21673 27.5722 227.265 1110.52 2607.7 1638.37 ) ; boundaryField { bottomEmptyFaces { type empty; } topEmptyFaces { type empty; } inlet { type calculated; value nonuniform List<scalar> 69 ( 3829.33 5862.25 13992.5 16602.6 796.981 40.5776 7.07144 2.45578 1.34827 0.960202 0.786696 0.695894 0.640215 0.599764 0.566163 0.536277 0.509266 0.48502 0.463501 0.44455 0.427884 0.413185 0.400155 0.388532 0.378109 0.368737 0.360306 0.352738 0.345981 0.339994 0.33475 0.330228 0.326419 0.323315 0.320921 0.319252 0.318291 0.318073 0.318687 0.320172 0.3226 0.326079 0.330738 0.336711 0.344104 0.352944 0.363148 0.374572 0.387306 0.402482 0.424066 0.462755 0.54528 0.741885 1.26853 2.93124 8.70213 20.9696 18.0275 7.90135 3.06398 1.25417 0.565533 0.288067 0.133254 3613.44 0.000231022 0.0219023 0.0657555 ) ; } outlet { type calculated; value nonuniform List<scalar> 33 ( 1.73874 1.70065 1.63934 1.55369 1.44907 1.32842 1.20029 1.06779 0.936288 0.808401 0.687228 0.574927 0.473317 0.383509 0.306006 0.240656 0.186832 0.143343 0.108817 0.0815571 0.059907 0.0448981 0.0247952 0.0165849 0.0131998 0.00720032 0.00398658 0.00261874 0.00163166 1.75666 7.92564e-05 0.000608633 0.00106674 ) ; } walls { type compressible::alphatWallFunction; Prt 0.85; value nonuniform List<scalar> 900 ( 1.74107e-05 1.74652e-05 1.7453e-05 1.75071e-05 1.74949e-05 1.75486e-05 1.75363e-05 1.75893e-05 1.7577e-05 1.76294e-05 1.7617e-05 1.76688e-05 1.76565e-05 1.77077e-05 1.76953e-05 1.77457e-05 1.77333e-05 1.77828e-05 1.77703e-05 1.78188e-05 1.78061e-05 1.78533e-05 1.78404e-05 1.78862e-05 1.7873e-05 1.79172e-05 1.79037e-05 1.79463e-05 1.79324e-05 1.79733e-05 1.7959e-05 1.79982e-05 1.79835e-05 1.8021e-05 1.80058e-05 1.80416e-05 1.80261e-05 1.80604e-05 1.80446e-05 1.80775e-05 1.80615e-05 1.80933e-05 1.8077e-05 1.81076e-05 1.80911e-05 1.81208e-05 1.81042e-05 1.81329e-05 1.81162e-05 1.81442e-05 1.81273e-05 1.81544e-05 1.81375e-05 1.8164e-05 1.81469e-05 1.81728e-05 1.81556e-05 1.81809e-05 1.81637e-05 1.81884e-05 1.81711e-05 1.81955e-05 1.81781e-05 1.82019e-05 1.81845e-05 1.8208e-05 1.81905e-05 1.82137e-05 1.81961e-05 1.82189e-05 1.82011e-05 1.82236e-05 1.82058e-05 1.8228e-05 1.821e-05 1.82319e-05 1.82138e-05 1.82354e-05 1.82173e-05 1.82386e-05 1.82203e-05 1.82415e-05 1.82231e-05 1.8244e-05 1.82255e-05 1.82463e-05 1.82277e-05 1.82483e-05 1.82297e-05 1.82501e-05 1.82315e-05 1.82518e-05 1.82331e-05 1.82532e-05 1.82346e-05 1.82547e-05 1.8236e-05 1.8256e-05 1.82374e-05 1.82573e-05 1.82387e-05 1.82585e-05 1.824e-05 1.82598e-05 1.82413e-05 1.8261e-05 1.82426e-05 1.82624e-05 1.8244e-05 1.82637e-05 1.82454e-05 1.82651e-05 1.82468e-05 1.82665e-05 1.82483e-05 1.8268e-05 1.82499e-05 1.82696e-05 1.82516e-05 1.82714e-05 1.82534e-05 1.82733e-05 1.82556e-05 1.82756e-05 1.82581e-05 1.82784e-05 1.82613e-05 1.82822e-05 1.82654e-05 1.82873e-05 1.82709e-05 1.82939e-05 1.8278e-05 1.83028e-05 1.8287e-05 1.83367e-05 1.83385e-05 1.84022e-05 1.8514e-05 1.87949e-05 1.94711e-05 2.07733e-05 2.35548e-05 2.6736e-05 7.43915e-05 8.36799e-05 8.80706e-05 0.000114896 0.000131068 6.5886e-05 5.56869e-05 5.85533e-05 6.01424e-05 4.21521e-05 3.8663e-05 5.08833e-05 4.38984e-05 4.49557e-05 6.69871e-05 7.14763e-05 0.000148311 0.000159869 0.000136628 0.00014283 0.00011965 9.64535e-05 0.000107492 9.30134e-05 8.10702e-05 7.20778e-05 7.42882e-05 7.08955e-05 6.5884e-05 5.9983e-05 6.34847e-05 5.8689e-05 7.39879e-06 4.59051e-06 1.34077e-06 1.45846e-06 0 5.33478e-06 5.70007e-06 2.11137e-06 1.17203e-06 0 1.96878e-06 1.50357e-06 0 5.75663e-06 2.35092e-06 5.26197e-06 2.04937e-06 1.09869e-06 0 3.79014e-06 5.36819e-06 2.18572e-06 3.80068e-07 0 1.05321e-06 0 5.8402e-06 2.79878e-06 3.82683e-06 5.07465e-07 0 6.48401e-06 3.45509e-06 5.95018e-06 2.78649e-06 7.47524e-07 0 1.73422e-06 0 4.18529e-06 2.03765e-06 0 6.6357e-06 2.36147e-06 0 3.24688e-06 1.48858e-06 0 1.73299e-05 1.33832e-05 9.33781e-06 7.98418e-06 1.49378e-05 1.01577e-05 9.1713e-06 1.57508e-05 1.15451e-05 1.01166e-05 1.83336e-05 1.42965e-05 6.82903e-06 3.08329e-06 2.12099e-06 7.21104e-06 3.244e-06 2.40066e-06 1.58489e-05 1.66016e-05 1.09823e-05 1.00286e-05 1.8619e-05 1.46772e-05 1.06016e-05 9.19957e-06 1.17139e-05 1.04939e-05 1.00571e-05 8.68858e-06 1.15772e-05 8.11595e-06 8.87622e-06 4.32354e-06 3.20708e-06 8.25726e-06 4.32511e-06 3.4159e-06 8.6191e-06 4.58255e-06 3.71821e-06 7.42392e-06 3.65776e-06 2.72539e-06 7.85588e-06 3.9781e-06 3.01294e-06 8.98172e-06 5.15931e-06 4.15205e-06 9.63873e-06 6.13914e-06 4.79525e-06 6.23767e-06 3.20249e-06 4.32902e-06 8.10198e-07 0 4.89536e-06 5.48751e-06 1.78217e-06 4.3852e-07 1.3394e-06 1.46414e-08 8.08899e-06 4.97393e-06 6.20032e-06 5.65568e-06 1.76848e-06 5.90511e-07 2.25492e-06 1.14558e-06 2.4067e-05 2.0006e-05 7.08679e-06 3.93823e-06 1.29893e-06 0 5.46074e-06 2.2748e-06 9.76161e-07 5.04036e-06 1.78503e-06 6.31725e-07 2.5566e-06 1.0248e-06 6.09067e-06 3.22512e-06 1.60521e-06 6.13777e-06 4.3729e-06 1.01741e-06 0 1.86787e-06 0 2.40729e-05 1.59452e-05 1.39795e-05 3.08715e-06 8.81148e-07 0 4.44121e-06 1.79861e-06 6.09242e-08 2.01435e-05 1.66081e-05 1.4302e-05 2.49844e-05 2.10675e-05 2.51474e-05 1.69632e-05 1.49941e-05 7.02679e-06 9.03564e-06 7.5149e-06 3.43927e-06 2.33822e-06 4.0656e-06 2.77232e-06 6.66768e-06 2.74475e-06 1.63086e-06 3.01705e-06 1.91738e-06 5.71763e-06 2.37834e-06 1.20501e-06 6.53482e-06 2.75031e-06 1.89548e-06 1.75327e-05 1.33038e-05 1.18018e-05 1.86097e-05 2.0489e-05 5.54359e-05 1.64881e-05 1.23433e-05 1.07234e-05 5.40008e-05 5.55363e-05 5.17951e-05 5.42433e-05 5.79978e-05 5.27085e-05 5.09135e-05 4.82068e-05 1.90655e-05 1.50832e-05 1.33891e-05 2.26743e-05 1.8354e-05 2.15344e-05 1.43144e-05 1.27147e-05 1.68991e-05 9.9029e-06 5.75624e-06 1.24767e-05 1.09184e-05 5.0481e-05 1.65137e-05 4.40309e-05 1.15714e-05 3.8159e-05 3.96521e-05 3.79378e-05 1.05616e-05 2.94821e-05 6.03419e-06 1.20453e-05 4.94801e-05 4.12006e-05 3.58962e-05 3.46945e-05 6.55443e-05 6.58369e-05 7.42747e-05 6.79997e-05 2.1542e-05 1.73666e-05 1.37827e-05 1.19525e-05 1.39802e-05 1.22941e-05 2.0432e-05 1.6124e-05 1.43242e-05 2.216e-06 4.16958e-06 0 8.93805e-06 5.7459e-06 6.82978e-06 3.08154e-06 1.82994e-06 2.71594e-06 0 7.36042e-06 3.15299e-06 0 3.42773e-06 3.09648e-06 0 7.63692e-05 7.24334e-05 6.70093e-05 6.19657e-05 5.87381e-05 5.34141e-05 2.63839e-05 4.82625e-05 4.6717e-05 4.27494e-05 2.36481e-05 4.89197e-05 4.55183e-05 2.01164e-05 1.69218e-05 3.85908e-05 1.47102e-05 3.21539e-05 2.57469e-05 1.68785e-05 4.29401e-06 2.20427e-05 2.10692e-05 1.7671e-05 1.53103e-05 2.78246e-05 2.57209e-05 2.15439e-05 1.85665e-05 1.60682e-05 2.94497e-05 1.95324e-05 1.62951e-05 2.67008e-05 2.26238e-05 1.74795e-06 0 0 0 0 0 2.84979e-05 3.70281e-06 2.69743e-05 1.7032e-06 2.5633e-05 5.71403e-07 0 2.31851e-05 0 2.06698e-05 1.79306e-05 3.15182e-05 0 0 3.10172e-05 0 0 0 0 3.01063e-05 2.86705e-05 2.67506e-05 2.38469e-05 3.09028e-05 0 0 2.95331e-05 0 2.98023e-05 0 2.14415e-05 1.86889e-05 0 1.87852e-05 1.66784e-05 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.97867e-05 2.95625e-05 2.98237e-05 2.95437e-05 2.91822e-05 2.89285e-05 2.82259e-05 2.72679e-05 2.63121e-05 2.53128e-05 2.44188e-05 2.3536e-05 2.27638e-05 2.20203e-05 2.13675e-05 2.07669e-05 2.02252e-05 1.97501e-05 1.93086e-05 1.8936e-05 1.85799e-05 1.82983e-05 1.80088e-05 1.78134e-05 1.75746e-05 1.74588e-05 1.72623e-05 1.72075e-05 1.70513e-05 1.70328e-05 1.69181e-05 1.69235e-05 1.68459e-05 1.68669e-05 1.68168e-05 1.68474e-05 1.68152e-05 1.68524e-05 1.68331e-05 1.68749e-05 1.13926e-05 1.1707e-05 6.92271e-06 6.05982e-06 1.68603e-05 1.69106e-05 1.68979e-05 1.69532e-05 1.69409e-05 1.69984e-05 1.69869e-05 1.70462e-05 1.25425e-05 8.18776e-06 7.18996e-06 1.70356e-05 1.70956e-05 1.70852e-05 1.71452e-05 1.71346e-05 1.71941e-05 1.71832e-05 1.72421e-05 1.1094e-05 6.75158e-06 5.95982e-06 1.7231e-05 1.23698e-05 1.7289e-05 1.43338e-05 8.45404e-06 7.15058e-06 7.3623e-06 6.35099e-06 1.03577e-05 6.1337e-06 5.0669e-06 1.72777e-05 1.7335e-05 1.1831e-05 7.25893e-06 6.41135e-06 1.73234e-05 1.15836e-05 6.92e-06 6.12221e-06 1.21787e-05 7.58778e-06 6.74414e-06 1.73796e-05 1.73676e-05 1.74228e-05 9.8368e-06 1.01125e-05 5.54848e-06 4.69696e-06 9.22893e-06 9.44143e-06 4.98502e-06 4.15248e-06 4.79925e-06 3.94481e-06 5.33795e-06 4.40939e-06 1.04939e-05 1.08833e-05 6.24182e-06 5.36553e-06 5.82115e-06 4.90699e-06 6.61373e-06 5.63382e-06 1.36725e-05 1.38976e-05 1.00472e-05 8.58511e-06 1.32754e-05 8.67419e-06 7.6851e-06 1.63255e-05 1.2323e-05 8.14823e-06 6.84648e-06 1.46836e-05 1.42474e-05 8.96479e-06 8.16519e-06 9.36251e-06 8.49948e-06 1.5274e-05 9.95534e-06 8.99973e-06 1.09022e-05 9.60384e-06 2.99841e-05 0 5.37042e-05 4.80095e-05 4.36309e-05 4.10253e-05 3.87503e-05 3.72111e-05 3.58888e-05 3.4972e-05 3.40444e-05 3.34147e-05 3.27157e-05 3.2254e-05 3.1701e-05 3.13404e-05 3.08862e-05 3.05889e-05 3.0202e-05 2.99468e-05 2.96064e-05 2.93808e-05 2.90743e-05 2.88697e-05 2.85882e-05 2.8399e-05 2.81364e-05 2.79587e-05 2.77108e-05 2.75417e-05 2.73052e-05 2.71428e-05 2.69152e-05 2.67577e-05 2.65369e-05 2.6383e-05 2.61673e-05 2.60158e-05 2.5804e-05 2.56539e-05 2.54447e-05 2.52953e-05 2.50877e-05 2.49383e-05 2.47314e-05 2.45814e-05 2.43742e-05 2.42228e-05 2.40144e-05 2.38608e-05 2.36503e-05 2.34939e-05 2.32802e-05 2.31202e-05 2.29023e-05 2.27379e-05 2.25146e-05 2.23449e-05 2.21151e-05 2.1939e-05 2.17014e-05 2.15179e-05 2.12713e-05 2.10793e-05 2.08222e-05 2.06207e-05 2.03518e-05 2.01399e-05 1.98579e-05 1.96347e-05 1.93385e-05 1.91031e-05 1.87914e-05 1.8543e-05 1.82145e-05 1.79521e-05 1.76056e-05 1.73284e-05 1.69628e-05 1.66701e-05 1.62845e-05 1.59761e-05 1.55697e-05 1.52455e-05 1.48185e-05 1.44789e-05 1.4032e-05 1.36783e-05 1.32145e-05 1.28501e-05 1.2373e-05 1.20023e-05 1.15178e-05 1.11474e-05 1.06639e-05 1.03028e-05 9.83125e-06 9.49054e-06 9.04394e-06 8.73566e-06 8.32749e-06 8.06323e-06 7.70551e-06 7.49452e-06 7.19683e-06 7.04414e-06 6.81027e-06 6.71434e-06 6.54393e-06 6.49519e-06 6.39353e-06 6.38109e-06 6.33363e-06 6.33783e-06 6.31929e-06 6.33799e-06 6.33606e-06 6.36488e-06 6.37562e-06 6.41936e-06 6.43661e-06 6.4883e-06 6.50909e-06 6.56432e-06 6.58734e-06 6.64398e-06 6.6675e-06 6.72326e-06 6.7464e-06 6.7998e-06 6.82187e-06 6.87207e-06 6.89263e-06 6.93891e-06 6.95758e-06 7.00002e-06 7.01717e-06 7.0561e-06 7.0717e-06 7.10764e-06 7.1225e-06 7.15687e-06 7.17105e-06 7.20281e-06 7.2163e-06 7.24533e-06 7.25752e-06 7.28354e-06 7.29395e-06 7.31764e-06 7.32663e-06 7.34863e-06 7.35698e-06 7.37707e-06 7.38424e-06 7.40135e-06 7.40674e-06 7.42177e-06 7.42656e-06 7.43987e-06 7.43989e-06 7.45837e-06 7.43323e-06 7.543e-06 7.62349e-06 8.02943e-06 8.20199e-06 8.46122e-06 8.76627e-06 9.2405e-06 6.07569e-05 ) ; } rightWall { type calculated; value nonuniform List<scalar> 30 ( 0.001844 0.00410354 0.00562343 0.00871956 0.0129144 0.0165846 0.0197947 0.0235835 0.0268816 0.029824 0.032075 0.0337029 0.0345508 0.0346438 0.033964 0.0325259 0.0303996 0.0275307 0.0241392 0.0200916 0.0162565 0.011833 0.00762802 0.00389688 5.97949e-05 0.000558097 0.00135288 3.35139e-05 0.000246893 0.000533206 ) ; } symmetryLine { type symmetryPlane; } } // ************************************************************************* //
[ "mhoeper3234@gmail.com" ]
mhoeper3234@gmail.com
5ceacbf3582f9245bf7fb60fb6ba29c1f89330d4
be0282afa8dd436619c71d6118c9db455eaf1a29
/Intermediate/Build/Win64/Design3D/Inc/UMG/ComboBoxString.gen.cpp
2435cabad3dbf08f17821f25b7ecfa25eea136f2
[]
no_license
Quant2017/Design3D
0f915580b222af40ab911021cceef5c26375d7f9
94a22386be4aa37aa0f546354cc62958820a4bf6
refs/heads/master
2022-04-23T10:44:12.398772
2020-04-22T01:02:39
2020-04-22T01:02:39
262,966,755
1
0
null
2020-05-11T07:12:37
2020-05-11T07:12:36
null
UTF-8
C++
false
false
60,913
cpp
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ===========================================================================*/ #include "UObject/GeneratedCppIncludes.h" #include "UMG/Public/Components/ComboBoxString.h" #include "Serialization/ArchiveUObjectFromStructuredArchive.h" #ifdef _MSC_VER #pragma warning (push) #pragma warning (disable : 4883) #endif PRAGMA_DISABLE_DEPRECATION_WARNINGS void EmptyLinkFunctionForGeneratedCodeComboBoxString() {} // Cross Module References UMG_API UFunction* Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature(); UMG_API UClass* Z_Construct_UClass_UComboBoxString(); UMG_API UFunction* Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature(); SLATECORE_API UEnum* Z_Construct_UEnum_SlateCore_ESelectInfo(); UMG_API UClass* Z_Construct_UClass_UComboBoxString_NoRegister(); UMG_API UClass* Z_Construct_UClass_UWidget(); UPackage* Z_Construct_UPackage__Script_UMG(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_AddOption(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_ClearOptions(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_ClearSelection(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_FindOptionIndex(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_GetOptionCount(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_GetSelectedIndex(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_GetSelectedOption(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_RefreshOptions(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_RemoveOption(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_SetSelectedIndex(); UMG_API UFunction* Z_Construct_UFunction_UComboBoxString_SetSelectedOption(); UMG_API UFunction* Z_Construct_UDelegateFunction_UWidget_GenerateWidgetForString__DelegateSignature(); SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FSlateColor(); SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FSlateFontInfo(); SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FMargin(); SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FTableRowStyle(); SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FComboBoxStyle(); // End Cross Module References struct Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics { #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics::Function_MetaDataParams[] = { { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "OnOpeningEvent__DelegateSignature", 0, nullptr, 0, RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x00130000, 0, 0, METADATA_PARAMS(Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics { struct ComboBoxString_eventOnSelectionChangedEvent_Parms { FString SelectedItem; TEnumAsByte<ESelectInfo::Type> SelectionType; }; static const UE4CodeGen_Private::FBytePropertyParams NewProp_SelectionType; static const UE4CodeGen_Private::FStrPropertyParams NewProp_SelectedItem; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FBytePropertyParams Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::NewProp_SelectionType = { "SelectionType", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Byte, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventOnSelectionChangedEvent_Parms, SelectionType), Z_Construct_UEnum_SlateCore_ESelectInfo, METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::NewProp_SelectedItem = { "SelectedItem", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventOnSelectionChangedEvent_Parms, SelectedItem), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::NewProp_SelectionType, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::NewProp_SelectedItem, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::Function_MetaDataParams[] = { { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "OnSelectionChangedEvent__DelegateSignature", sizeof(ComboBoxString_eventOnSelectionChangedEvent_Parms), Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x00130000, 0, 0, METADATA_PARAMS(Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature_Statics::FuncParams); } return ReturnFunction; } void UComboBoxString::StaticRegisterNativesUComboBoxString() { UClass* Class = UComboBoxString::StaticClass(); static const FNameNativePtrPair Funcs[] = { { "AddOption", &UComboBoxString::execAddOption }, { "ClearOptions", &UComboBoxString::execClearOptions }, { "ClearSelection", &UComboBoxString::execClearSelection }, { "FindOptionIndex", &UComboBoxString::execFindOptionIndex }, { "GetOptionAtIndex", &UComboBoxString::execGetOptionAtIndex }, { "GetOptionCount", &UComboBoxString::execGetOptionCount }, { "GetSelectedIndex", &UComboBoxString::execGetSelectedIndex }, { "GetSelectedOption", &UComboBoxString::execGetSelectedOption }, { "RefreshOptions", &UComboBoxString::execRefreshOptions }, { "RemoveOption", &UComboBoxString::execRemoveOption }, { "SetSelectedIndex", &UComboBoxString::execSetSelectedIndex }, { "SetSelectedOption", &UComboBoxString::execSetSelectedOption }, }; FNativeFunctionRegistrar::RegisterFunctions(Class, Funcs, ARRAY_COUNT(Funcs)); } struct Z_Construct_UFunction_UComboBoxString_AddOption_Statics { struct ComboBoxString_eventAddOption_Parms { FString Option; }; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Option_MetaData[]; #endif static const UE4CodeGen_Private::FStrPropertyParams NewProp_Option; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_AddOption_Statics::NewProp_Option_MetaData[] = { { "NativeConst", "" }, }; #endif const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_AddOption_Statics::NewProp_Option = { "Option", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventAddOption_Parms, Option), METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_AddOption_Statics::NewProp_Option_MetaData, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_AddOption_Statics::NewProp_Option_MetaData)) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_AddOption_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_AddOption_Statics::NewProp_Option, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_AddOption_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_AddOption_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "AddOption", sizeof(ComboBoxString_eventAddOption_Parms), Z_Construct_UFunction_UComboBoxString_AddOption_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_AddOption_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_AddOption_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_AddOption_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_AddOption() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_AddOption_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics { #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "ClearOptions", 0, nullptr, 0, RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_ClearOptions() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_ClearOptions_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics { #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "ClearSelection", 0, nullptr, 0, RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_ClearSelection() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_ClearSelection_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics { struct ComboBoxString_eventFindOptionIndex_Parms { FString Option; int32 ReturnValue; }; static const UE4CodeGen_Private::FIntPropertyParams NewProp_ReturnValue; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Option_MetaData[]; #endif static const UE4CodeGen_Private::FStrPropertyParams NewProp_Option; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventFindOptionIndex_Parms, ReturnValue), METADATA_PARAMS(nullptr, 0) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_Option_MetaData[] = { { "NativeConst", "" }, }; #endif const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_Option = { "Option", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventFindOptionIndex_Parms, Option), METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_Option_MetaData, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_Option_MetaData)) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_ReturnValue, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::NewProp_Option, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "FindOptionIndex", sizeof(ComboBoxString_eventFindOptionIndex_Parms), Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_FindOptionIndex() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_FindOptionIndex_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics { struct ComboBoxString_eventGetOptionAtIndex_Parms { int32 Index; FString ReturnValue; }; static const UE4CodeGen_Private::FStrPropertyParams NewProp_ReturnValue; static const UE4CodeGen_Private::FIntPropertyParams NewProp_Index; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventGetOptionAtIndex_Parms, ReturnValue), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::NewProp_Index = { "Index", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventGetOptionAtIndex_Parms, Index), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::NewProp_ReturnValue, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::NewProp_Index, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "GetOptionAtIndex", sizeof(ComboBoxString_eventGetOptionAtIndex_Parms), Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics { struct ComboBoxString_eventGetOptionCount_Parms { int32 ReturnValue; }; static const UE4CodeGen_Private::FIntPropertyParams NewProp_ReturnValue; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventGetOptionCount_Parms, ReturnValue), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::NewProp_ReturnValue, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "Returns the number of options" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "GetOptionCount", sizeof(ComboBoxString_eventGetOptionCount_Parms), Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_GetOptionCount() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_GetOptionCount_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics { struct ComboBoxString_eventGetSelectedIndex_Parms { int32 ReturnValue; }; static const UE4CodeGen_Private::FIntPropertyParams NewProp_ReturnValue; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventGetSelectedIndex_Parms, ReturnValue), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::NewProp_ReturnValue, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "GetSelectedIndex", sizeof(ComboBoxString_eventGetSelectedIndex_Parms), Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_GetSelectedIndex() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_GetSelectedIndex_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics { struct ComboBoxString_eventGetSelectedOption_Parms { FString ReturnValue; }; static const UE4CodeGen_Private::FStrPropertyParams NewProp_ReturnValue; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventGetSelectedOption_Parms, ReturnValue), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::NewProp_ReturnValue, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "GetSelectedOption", sizeof(ComboBoxString_eventGetSelectedOption_Parms), Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x54020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_GetSelectedOption() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_GetSelectedOption_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics { #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "Refreshes the list of options. If you added new ones, and want to update the list even if it's\ncurrently being displayed use this." }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "RefreshOptions", 0, nullptr, 0, RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_RefreshOptions() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_RefreshOptions_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics { struct ComboBoxString_eventRemoveOption_Parms { FString Option; bool ReturnValue; }; static void NewProp_ReturnValue_SetBit(void* Obj); static const UE4CodeGen_Private::FBoolPropertyParams NewProp_ReturnValue; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Option_MetaData[]; #endif static const UE4CodeGen_Private::FStrPropertyParams NewProp_Option; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; void Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_ReturnValue_SetBit(void* Obj) { ((ComboBoxString_eventRemoveOption_Parms*)Obj)->ReturnValue = 1; } const UE4CodeGen_Private::FBoolPropertyParams Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_ReturnValue = { "ReturnValue", nullptr, (EPropertyFlags)0x0010000000000580, UE4CodeGen_Private::EPropertyGenFlags::Bool | UE4CodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, sizeof(bool), sizeof(ComboBoxString_eventRemoveOption_Parms), &Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_ReturnValue_SetBit, METADATA_PARAMS(nullptr, 0) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_Option_MetaData[] = { { "NativeConst", "" }, }; #endif const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_Option = { "Option", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventRemoveOption_Parms, Option), METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_Option_MetaData, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_Option_MetaData)) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_ReturnValue, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::NewProp_Option, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "RemoveOption", sizeof(ComboBoxString_eventRemoveOption_Parms), Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_RemoveOption() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_RemoveOption_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics { struct ComboBoxString_eventSetSelectedIndex_Parms { int32 Index; }; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Index_MetaData[]; #endif static const UE4CodeGen_Private::FIntPropertyParams NewProp_Index; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::NewProp_Index_MetaData[] = { { "NativeConst", "" }, }; #endif const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::NewProp_Index = { "Index", nullptr, (EPropertyFlags)0x0010000000000082, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventSetSelectedIndex_Parms, Index), METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::NewProp_Index_MetaData, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::NewProp_Index_MetaData)) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::NewProp_Index, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "SetSelectedIndex", sizeof(ComboBoxString_eventSetSelectedIndex_Parms), Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_SetSelectedIndex() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_SetSelectedIndex_Statics::FuncParams); } return ReturnFunction; } struct Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics { struct ComboBoxString_eventSetSelectedOption_Parms { FString Option; }; static const UE4CodeGen_Private::FStrPropertyParams NewProp_Option; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Function_MetaDataParams[]; #endif static const UE4CodeGen_Private::FFunctionParams FuncParams; }; const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::NewProp_Option = { "Option", nullptr, (EPropertyFlags)0x0010000000000080, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(ComboBoxString_eventSetSelectedOption_Parms, Option), METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::NewProp_Option, }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::Function_MetaDataParams[] = { { "Category", "ComboBox" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FFunctionParams Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::FuncParams = { (UObject*(*)())Z_Construct_UClass_UComboBoxString, nullptr, "SetSelectedOption", sizeof(ComboBoxString_eventSetSelectedOption_Parms), Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::PropPointers, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::PropPointers), RF_Public|RF_Transient|RF_MarkAsNative, (EFunctionFlags)0x04020401, 0, 0, METADATA_PARAMS(Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::Function_MetaDataParams, ARRAY_COUNT(Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::Function_MetaDataParams)) }; UFunction* Z_Construct_UFunction_UComboBoxString_SetSelectedOption() { static UFunction* ReturnFunction = nullptr; if (!ReturnFunction) { UE4CodeGen_Private::ConstructUFunction(ReturnFunction, Z_Construct_UFunction_UComboBoxString_SetSelectedOption_Statics::FuncParams); } return ReturnFunction; } UClass* Z_Construct_UClass_UComboBoxString_NoRegister() { return UComboBoxString::StaticClass(); } struct Z_Construct_UClass_UComboBoxString_Statics { static UObject* (*const DependentSingletons[])(); static const FClassFunctionLinkInfo FuncInfo[]; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam Class_MetaDataParams[]; #endif #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_OnOpening_MetaData[]; #endif static const UE4CodeGen_Private::FMulticastDelegatePropertyParams NewProp_OnOpening; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_OnSelectionChanged_MetaData[]; #endif static const UE4CodeGen_Private::FMulticastDelegatePropertyParams NewProp_OnSelectionChanged; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_OnGenerateWidgetEvent_MetaData[]; #endif static const UE4CodeGen_Private::FDelegatePropertyParams NewProp_OnGenerateWidgetEvent; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_bIsFocusable_MetaData[]; #endif static void NewProp_bIsFocusable_SetBit(void* Obj); static const UE4CodeGen_Private::FBoolPropertyParams NewProp_bIsFocusable; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_ForegroundColor_MetaData[]; #endif static const UE4CodeGen_Private::FStructPropertyParams NewProp_ForegroundColor; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Font_MetaData[]; #endif static const UE4CodeGen_Private::FStructPropertyParams NewProp_Font; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_EnableGamepadNavigationMode_MetaData[]; #endif static void NewProp_EnableGamepadNavigationMode_SetBit(void* Obj); static const UE4CodeGen_Private::FBoolPropertyParams NewProp_EnableGamepadNavigationMode; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_HasDownArrow_MetaData[]; #endif static void NewProp_HasDownArrow_SetBit(void* Obj); static const UE4CodeGen_Private::FBoolPropertyParams NewProp_HasDownArrow; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_MaxListHeight_MetaData[]; #endif static const UE4CodeGen_Private::FFloatPropertyParams NewProp_MaxListHeight; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_ContentPadding_MetaData[]; #endif static const UE4CodeGen_Private::FStructPropertyParams NewProp_ContentPadding; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_ItemStyle_MetaData[]; #endif static const UE4CodeGen_Private::FStructPropertyParams NewProp_ItemStyle; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_WidgetStyle_MetaData[]; #endif static const UE4CodeGen_Private::FStructPropertyParams NewProp_WidgetStyle; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_SelectedOption_MetaData[]; #endif static const UE4CodeGen_Private::FStrPropertyParams NewProp_SelectedOption; #if WITH_METADATA static const UE4CodeGen_Private::FMetaDataPairParam NewProp_DefaultOptions_MetaData[]; #endif static const UE4CodeGen_Private::FArrayPropertyParams NewProp_DefaultOptions; static const UE4CodeGen_Private::FStrPropertyParams NewProp_DefaultOptions_Inner; static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[]; static const FCppClassTypeInfoStatic StaticCppClassTypeInfo; static const UE4CodeGen_Private::FClassParams ClassParams; }; UObject* (*const Z_Construct_UClass_UComboBoxString_Statics::DependentSingletons[])() = { (UObject* (*)())Z_Construct_UClass_UWidget, (UObject* (*)())Z_Construct_UPackage__Script_UMG, }; const FClassFunctionLinkInfo Z_Construct_UClass_UComboBoxString_Statics::FuncInfo[] = { { &Z_Construct_UFunction_UComboBoxString_AddOption, "AddOption" }, // 2557109842 { &Z_Construct_UFunction_UComboBoxString_ClearOptions, "ClearOptions" }, // 3726078686 { &Z_Construct_UFunction_UComboBoxString_ClearSelection, "ClearSelection" }, // 2319169725 { &Z_Construct_UFunction_UComboBoxString_FindOptionIndex, "FindOptionIndex" }, // 2647884507 { &Z_Construct_UFunction_UComboBoxString_GetOptionAtIndex, "GetOptionAtIndex" }, // 4002120308 { &Z_Construct_UFunction_UComboBoxString_GetOptionCount, "GetOptionCount" }, // 3559310384 { &Z_Construct_UFunction_UComboBoxString_GetSelectedIndex, "GetSelectedIndex" }, // 1901679818 { &Z_Construct_UFunction_UComboBoxString_GetSelectedOption, "GetSelectedOption" }, // 4054641188 { &Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature, "OnOpeningEvent__DelegateSignature" }, // 533517997 { &Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature, "OnSelectionChangedEvent__DelegateSignature" }, // 580152269 { &Z_Construct_UFunction_UComboBoxString_RefreshOptions, "RefreshOptions" }, // 539589496 { &Z_Construct_UFunction_UComboBoxString_RemoveOption, "RemoveOption" }, // 705544340 { &Z_Construct_UFunction_UComboBoxString_SetSelectedIndex, "SetSelectedIndex" }, // 677070646 { &Z_Construct_UFunction_UComboBoxString_SetSelectedOption, "SetSelectedOption" }, // 2238051265 }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::Class_MetaDataParams[] = { { "DisplayName", "ComboBox (String)" }, { "IncludePath", "Components/ComboBoxString.h" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "SerializeToFArchive", "" }, { "ToolTip", "The combobox allows you to display a list of options to the user in a dropdown menu for them to select one." }, }; #endif #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnOpening_MetaData[] = { { "Category", "Events" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "Called when the combobox is opening" }, }; #endif const UE4CodeGen_Private::FMulticastDelegatePropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnOpening = { "OnOpening", nullptr, (EPropertyFlags)0x0010000010080000, UE4CodeGen_Private::EPropertyGenFlags::MulticastDelegate, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, OnOpening), Z_Construct_UDelegateFunction_UComboBoxString_OnOpeningEvent__DelegateSignature, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnOpening_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnOpening_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnSelectionChanged_MetaData[] = { { "Category", "Events" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "Called when a new item is selected in the combobox." }, }; #endif const UE4CodeGen_Private::FMulticastDelegatePropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnSelectionChanged = { "OnSelectionChanged", nullptr, (EPropertyFlags)0x0010000010080000, UE4CodeGen_Private::EPropertyGenFlags::MulticastDelegate, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, OnSelectionChanged), Z_Construct_UDelegateFunction_UComboBoxString_OnSelectionChangedEvent__DelegateSignature, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnSelectionChanged_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnSelectionChanged_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnGenerateWidgetEvent_MetaData[] = { { "Category", "Events" }, { "IsBindableEvent", "True" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "Called when the widget is needed for the item." }, }; #endif const UE4CodeGen_Private::FDelegatePropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnGenerateWidgetEvent = { "OnGenerateWidgetEvent", nullptr, (EPropertyFlags)0x0010000000080001, UE4CodeGen_Private::EPropertyGenFlags::Delegate, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, OnGenerateWidgetEvent), Z_Construct_UDelegateFunction_UWidget_GenerateWidgetForString__DelegateSignature, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnGenerateWidgetEvent_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnGenerateWidgetEvent_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable_MetaData[] = { { "Category", "Interaction" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif void Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable_SetBit(void* Obj) { ((UComboBoxString*)Obj)->bIsFocusable = 1; } const UE4CodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable = { "bIsFocusable", nullptr, (EPropertyFlags)0x0010000000000015, UE4CodeGen_Private::EPropertyGenFlags::Bool | UE4CodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, sizeof(bool), sizeof(UComboBoxString), &Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable_SetBit, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_ForegroundColor_MetaData[] = { { "Category", "Style" }, { "DesignerRebuild", "" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The foreground color to pass through the hierarchy." }, }; #endif const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_ForegroundColor = { "ForegroundColor", nullptr, (EPropertyFlags)0x0010000000000015, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, ForegroundColor), Z_Construct_UScriptStruct_FSlateColor, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ForegroundColor_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ForegroundColor_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_Font_MetaData[] = { { "Category", "Style" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The default font to use in the combobox, only applies if you're not implementing OnGenerateWidgetEvent\nto factory each new entry." }, }; #endif const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_Font = { "Font", nullptr, (EPropertyFlags)0x0010000000000015, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, Font), Z_Construct_UScriptStruct_FSlateFontInfo, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_Font_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_Font_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "When false, directional keys will change the selection. When true, ComboBox\nmust be activated and will only capture arrow input while activated." }, }; #endif void Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode_SetBit(void* Obj) { ((UComboBoxString*)Obj)->EnableGamepadNavigationMode = 1; } const UE4CodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode = { "EnableGamepadNavigationMode", nullptr, (EPropertyFlags)0x0010040000000015, UE4CodeGen_Private::EPropertyGenFlags::Bool | UE4CodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, sizeof(bool), sizeof(UComboBoxString), &Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode_SetBit, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "When false, the down arrow is not generated and it is up to the API consumer\nto make their own visual hint that this is a drop down." }, }; #endif void Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow_SetBit(void* Obj) { ((UComboBoxString*)Obj)->HasDownArrow = 1; } const UE4CodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow = { "HasDownArrow", nullptr, (EPropertyFlags)0x0010040000000015, UE4CodeGen_Private::EPropertyGenFlags::Bool | UE4CodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, sizeof(bool), sizeof(UComboBoxString), &Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow_SetBit, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_MaxListHeight_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The max height of the combobox list that opens" }, }; #endif const UE4CodeGen_Private::FFloatPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_MaxListHeight = { "MaxListHeight", nullptr, (EPropertyFlags)0x0010040000000015, UE4CodeGen_Private::EPropertyGenFlags::Float, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, MaxListHeight), METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_MaxListHeight_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_MaxListHeight_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_ContentPadding_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, }; #endif const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_ContentPadding = { "ContentPadding", nullptr, (EPropertyFlags)0x0010000000000015, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, ContentPadding), Z_Construct_UScriptStruct_FMargin, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ContentPadding_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ContentPadding_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_ItemStyle_MetaData[] = { { "Category", "Style" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The item row style." }, }; #endif const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_ItemStyle = { "ItemStyle", nullptr, (EPropertyFlags)0x0010000000000005, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, ItemStyle), Z_Construct_UScriptStruct_FTableRowStyle, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ItemStyle_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_ItemStyle_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_WidgetStyle_MetaData[] = { { "Category", "Style" }, { "DisplayName", "Style" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The style." }, }; #endif const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_WidgetStyle = { "WidgetStyle", nullptr, (EPropertyFlags)0x0010000000000005, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, WidgetStyle), Z_Construct_UScriptStruct_FComboBoxStyle, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_WidgetStyle_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_WidgetStyle_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_SelectedOption_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The item in the combobox to select by default" }, }; #endif const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_SelectedOption = { "SelectedOption", nullptr, (EPropertyFlags)0x0040000000000001, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, SelectedOption), METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_SelectedOption_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_SelectedOption_MetaData)) }; #if WITH_METADATA const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions_MetaData[] = { { "Category", "Content" }, { "ModuleRelativePath", "Public/Components/ComboBoxString.h" }, { "ToolTip", "The default list of items to be displayed on the combobox." }, }; #endif const UE4CodeGen_Private::FArrayPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions = { "DefaultOptions", nullptr, (EPropertyFlags)0x0040000000000001, UE4CodeGen_Private::EPropertyGenFlags::Array, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(UComboBoxString, DefaultOptions), METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions_MetaData, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions_MetaData)) }; const UE4CodeGen_Private::FStrPropertyParams Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions_Inner = { "DefaultOptions", nullptr, (EPropertyFlags)0x0000000000000000, UE4CodeGen_Private::EPropertyGenFlags::Str, RF_Public|RF_Transient|RF_MarkAsNative, 1, 0, METADATA_PARAMS(nullptr, 0) }; const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UClass_UComboBoxString_Statics::PropPointers[] = { (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnOpening, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnSelectionChanged, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_OnGenerateWidgetEvent, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_bIsFocusable, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_ForegroundColor, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_Font, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_EnableGamepadNavigationMode, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_HasDownArrow, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_MaxListHeight, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_ContentPadding, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_ItemStyle, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_WidgetStyle, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_SelectedOption, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions, (const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UComboBoxString_Statics::NewProp_DefaultOptions_Inner, }; const FCppClassTypeInfoStatic Z_Construct_UClass_UComboBoxString_Statics::StaticCppClassTypeInfo = { TCppClassTypeTraits<UComboBoxString>::IsAbstract, }; const UE4CodeGen_Private::FClassParams Z_Construct_UClass_UComboBoxString_Statics::ClassParams = { &UComboBoxString::StaticClass, nullptr, &StaticCppClassTypeInfo, DependentSingletons, FuncInfo, Z_Construct_UClass_UComboBoxString_Statics::PropPointers, nullptr, ARRAY_COUNT(DependentSingletons), ARRAY_COUNT(FuncInfo), ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::PropPointers), 0, 0x00B000A0u, METADATA_PARAMS(Z_Construct_UClass_UComboBoxString_Statics::Class_MetaDataParams, ARRAY_COUNT(Z_Construct_UClass_UComboBoxString_Statics::Class_MetaDataParams)) }; UClass* Z_Construct_UClass_UComboBoxString() { static UClass* OuterClass = nullptr; if (!OuterClass) { UE4CodeGen_Private::ConstructUClass(OuterClass, Z_Construct_UClass_UComboBoxString_Statics::ClassParams); } return OuterClass; } IMPLEMENT_CLASS(UComboBoxString, 32809674); template<> UMG_API UClass* StaticClass<UComboBoxString>() { return UComboBoxString::StaticClass(); } static FCompiledInDefer Z_CompiledInDefer_UClass_UComboBoxString(Z_Construct_UClass_UComboBoxString, &UComboBoxString::StaticClass, TEXT("/Script/UMG"), TEXT("UComboBoxString"), false, nullptr, nullptr, nullptr); DEFINE_VTABLE_PTR_HELPER_CTOR(UComboBoxString); IMPLEMENT_FSTRUCTUREDARCHIVE_SERIALIZER(UComboBoxString) PRAGMA_ENABLE_DEPRECATION_WARNINGS #ifdef _MSC_VER #pragma warning (pop) #endif
[ "Snake_Jenny@126.com" ]
Snake_Jenny@126.com
fd2390be68ee0e62fb194681a056caf318967d46
4e1188866e4b786fae1dec085594b398cc8c9a2e
/friendtoolbox.h
3b45bc0a26f4e8b642671ed5d70da86197990f53
[]
no_license
lsj754039701/QQ
2f33b988385226786be124c7b4839cff24023147
134d4ac96084ae48933ec7f0404528bd55770630
refs/heads/master
2021-01-17T17:10:01.906937
2016-06-05T14:52:43
2016-06-05T14:52:43
60,465,337
1
0
null
null
null
null
UTF-8
C++
false
false
280
h
#ifndef FRIENDTOOLBOX_H #define FRIENDTOOLBOX_H #include <QToolBox> class friendToolBox:public QToolBox { Q_OBJECT public: friendToolBox(QWidget *parent=0); protected slots: void slotIndexChange(int index); private: int curIndex; }; #endif // FRIENDTOOLBOX_H
[ "754039701@qq.com" ]
754039701@qq.com
42d13c997671639878b86d23d5dfe09594d0d7f6
61961df3f9f1b73f3d6abd73bce0594ec49a7854
/string to interger.cpp
2808b52d206f0a6e5406c2be0ed4664efc94f77c
[]
no_license
arrowxie/LeetCode
d44a14249822d20f337ab9909f04ba7f629b0b82
de8020f61f01a91f3ccb52d4b85148ae19edc662
refs/heads/master
2020-05-16T21:45:49.781425
2015-05-03T05:53:42
2015-05-03T05:53:42
34,974,694
0
0
null
null
null
null
UTF-8
C++
false
false
525
cpp
class Solution { public: int atoi(const char *str) { long long result=0; int temp=0; int count=0; bool sign = true; if(str==NULL) return 0; while(*str==' ') str++; while(*str=='+'||*str == '-') { if(*str == '-') sign = false; str++; count++; } if(count>1) return 0; while(*str<='9'&&*str>='0') { temp = *str-'0'; result = result*10+temp; if(result > INT_MAX) return sign==true? INT_MAX:INT_MIN; str++; } if(!sign) result= -1*result; return result; } };
[ "1161590742@qq.com" ]
1161590742@qq.com
1a066ee12e853a19468f6ba429cec514f87d5457
a64128622c6e44549b2c0822a9989ec0db9f167f
/015_3Sum.cpp
ea0685d9e6e941333eb4ff06aa2157669620cc3f
[]
no_license
liuxiangbin/LeetCode
86c022552cde1d16bc63d71c8ae4f3d5c5280425
47d1289128917f09b0dac1dbec6b8e22b584d3a8
refs/heads/master
2020-05-31T13:36:44.530459
2015-05-24T13:58:51
2015-05-24T13:58:51
25,041,683
1
0
null
null
null
null
UTF-8
C++
false
false
3,203
cpp
/* Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c) The solution set must not contain duplicate triplets. For example, given array S = {-1 0 1 2 -1 -4}, A solution set is: (-1, 0, 1) (-1, -1, 2) */ //Solution 1:O(N^2*lgN) class Solution { public: vector<vector<int> > threeSum(vector<int> &num) { vector<vector<int> > result; if(num.size() < 3) return result; sort(num.begin(),num.end()); if(num[0]>0 || num[num.size()-1] < 0) return result; typedef vector<int>::iterator itv; itv gap = num.begin(); for(;*gap<0;++gap); vector<int> one(3,0); if(gap+2<num.end()&&*(gap+2)==0) result.push_back(one); itv i = num.begin(),j; while(i < gap){ j = i + 1; while(j<gap){ if(binary_search(gap,num.end(),-(*i+*j))){ one[0] = *i; one[1] = *j; one[2] = -(*i+*j); result.push_back(one); } while(j+1<gap&&*(j+1)==*j) ++j; ++j; } while(i+1<gap&&*(i+1)==*i) ++i; ++i; } i = gap; while(i < num.end()){ j = i + 1; while(j<num.end()){ if(binary_search(num.begin(),gap,-(*i+*j))){ one[0] = -(*i+*j); one[1] = *i; one[2] = *j; result.push_back(one); } while(j+1<num.end()&&*(j+1)==*j) ++j; ++j; } while(i+1<num.end()&&*(i+1)==*i) ++i; ++i; } return result; } }; //Solution 2:O(N^2) class Solution { public: vector<vector<int> > threeSum(vector<int> &num) { vector<vector<int> > result; int len = num.size(); if(len < 3) return result; sort(num.begin(),num.end()); if(num[0]>0 || num[len-1] < 0) return result; vector<int> one(3,0); for(int i=0;i<len-2;++i){ int a = num[i]; int start = i+1, end = len-1; while(start < end){ int sum = a+num[start]+num[end]; if(sum == 0){ one[0] = a; one[1] = num[start]; one[2] = num[end]; result.push_back(one); while(start<end&&num[start+1]==num[start]) ++start; ++start; while(start<end&&num[end-1]==num[end]) --end; --end; } else if(sum < 0){ ++start; } else{ --end; } } while(num[i+1] == a) ++i; } return result; } };
[ "mycodekingdom@gmail.com" ]
mycodekingdom@gmail.com
903ff9eb8053470c60f2a2106f18d79f77c302c4
e051007a41a782cf41690fcb4deb492f839dce41
/Mesh.cpp
7041a8b31fccde152084222d50baaac6f53facfc
[ "CC0-1.0" ]
permissive
mderu/SoftwareRenderer
312ae14b2f8a65de9aae3769b1ebb840eb6e340f
ecc105a15871db25262a2b7cf1d3b04f3948f894
refs/heads/master
2021-01-01T15:55:37.019910
2015-11-30T00:28:44
2015-11-30T00:40:55
27,953,040
0
0
null
null
null
null
UTF-8
C++
false
false
20,855
cpp
#include "stdafx.h" #include "Mesh.h" #include "Util.h" #include "Vector3F.h" #include "Matrix4F.h" #include <math.h> #include <algorithm> #include <GL/glut.h> #include <iostream> //Scale: void Mesh::scale(float sc) { s.x *= sc; s.y *= sc; s.z *= sc; } void Mesh::scale(float px, float py, float pz) { s.x *= px; s.y *= py; s.z *= pz; } void Mesh::scale(Vector3F p) { s.x *= p.x; s.y *= p.y; s.z *= p.z; } void Mesh::setScale(Vector3F p) { s.x = p.x; s.y = p.y; s.z = p.z; } void Mesh::setScale(float px, float py, float pz) { s.x = px; s.y = py; s.z = pz; } Vector3F Mesh::getScale() const { return s; } Matrix4F Mesh::getScaleMatrix() const{ return Matrix4F::scale(s); } void Mesh::setRotation(Vector3F p) { r = p; } void Mesh::setRotation(float x, float y, float z) { r = Vector3F(x, y, z); } //Note: will return angles what they were written as. Vector3F Mesh::getEulerAngles() { return r; } void Mesh::calculateVerts() { transform = Matrix4F::projection() * camMatrix() * Matrix4F::transform(p, r, s); for (unsigned i = 0; i < vertArray.size(); i++) { vertArray[i] = transform * oVertArray[i]; vertArray[i].p.x = static_cast<int>(vertArray[i].p.x); vertArray[i].p.y = static_cast<int>(vertArray[i].p.y); vertArray[i].p.z = static_cast<int>(vertArray[i].p.z); } } //Keep in mind: v is the vertex being lit. Vector3F Mesh::calculateLighting(const Vertex3F& v, const Face& f, const Vector3F eye) const { Vector3F color; bool gotoNextLight = false; for (unsigned i = 0; i < sceneLights.size(); i++) { gotoNextLight = false; Vector3F rayOrigin; Vector3F rayDirection; float angle; if (sceneLights[i]->type == Light::LIGHT_DIRECTIONAL) { rayOrigin = Vector3F( sceneLights[i]->direction.x * sceneLights[i]->range - v.p.x, sceneLights[i]->direction.y * sceneLights[i]->range - v.p.y, sceneLights[i]->direction.z * sceneLights[i]->range - v.p.z ); rayDirection = sceneLights[i]->direction; } else if (sceneLights[i]->type == Light::LIGHT_POINT) { rayOrigin = sceneLights[i]->origin; rayDirection = (v.p - rayOrigin).normalize(); } else if (sceneLights[i]->type == Light::LIGHT_SPOTLIGHT) { rayOrigin = sceneLights[i]->origin; rayDirection = (v.p - rayOrigin).normalize(); //If the angle between the direction the spotlight is firing and //The position in question is greater than the spotlight's angle, angle = angleBetween(rayDirection, sceneLights[i]->direction); if (angle > sceneLights[i]->angle) { //Skip this light, this light isn't hitting the object continue; } } float distToV = (v.p - rayOrigin).magnitude(); //If v is out of the range of the light if (sceneLights[i]->type != Light::LIGHT_DIRECTIONAL && distToV > sceneLights[i]->range){continue;} for (unsigned j = 0; j < sceneMeshes.size(); j++) { if (false/*this != sceneMeshes[j] && rayIntersectsBoundingSphere(rayOrigin, rayDirection, sceneMeshes[j])*/) { for (unsigned k = 0; k < sceneMeshes[j]->faces.size(); k++) { if (&f == &sceneMeshes[j]->faces[k]){ continue; } Vector3F faceNormal = crossProduct( sceneMeshes[j]->faces[k].vert1->p, sceneMeshes[j]->faces[k].vert2->p, sceneMeshes[j]->faces[k].vert3->p ).normalize(); float divBy = dotProduct(rayDirection, faceNormal); //Face & Ray are parallel if divBy == 0. We want to skip to the next face then if (divBy == 0){ continue; } float rayDist = dotProduct( sceneMeshes[j]->faces[k].vert1->p - rayOrigin, faceNormal ) / divBy; //If v is closer to the light, skip this face if (rayDist >= distToV || rayDist < 0){ continue; } Vector3F rayOntoFace = rayOrigin + rayDirection * rayDist; float cp2 = crossProductZ(sceneMeshes[j]->faces[k].vert2->p, sceneMeshes[j]->faces[k].vert3->p, rayOntoFace); if (crossProductZ(sceneMeshes[j]->faces[k].vert1->p, sceneMeshes[j]->faces[k].vert2->p, rayOntoFace) - cp2 > .001f || cp2 - crossProductZ(sceneMeshes[j]->faces[k].vert3->p, sceneMeshes[j]->faces[k].vert1->p, rayOntoFace) > .001f) { gotoNextLight = true; break; } else { //std::cout << "Didn't hit" << std::endl; } } } if (gotoNextLight){ break; } } if (!gotoNextLight) { Vector3F refRay = reflectRay(rayDirection, v.n).normalize(); float dotLightNorm = std::max(cosBetween(refRay, v.n), 0.0f); float dotRefView; if (backLit) { dotRefView = pow(cosBetween(refRay, eye), shineCoeff); } else { dotRefView = pow(std::max(cosBetween(rayDirection, eye), 0.0f), shineCoeff)*shineCoeff*shineCoeff; } if ((dotLightNorm + dotRefView) > 0) { if (sceneLights[i]->type == Light::LIGHT_DIRECTIONAL) { color += sceneLights[i]->color * (sceneLights[i]->intensity * (dotLightNorm + dotRefView)); } else if (sceneLights[i]->type == Light::LIGHT_POINT) { color += sceneLights[i]->color * (sceneLights[i]->intensity * (1 - std::min(distToV / sceneLights[i]->range, 1.0f)) * (dotLightNorm + dotRefView)); } else if (sceneLights[i]->type == Light::LIGHT_SPOTLIGHT) { color += sceneLights[i]->color * (sceneLights[i]->intensity * sin(2*(1-angle / sceneLights[i]->angle)) * (1 - std::min(distToV / sceneLights[i]->range, 1.0f)) * (dotLightNorm + dotRefView)); } } } } return color; } void Mesh::BarryLerpPhong(const Face& face) const { //Hardcode eye normal, for now Vector3F eye(0, 0, 1); Vertex3F vBottom = *face.vert1; Vertex3F vMiddle = *face.vert2; Vertex3F vTop = *face.vert3; //Bubble sorts the 3 elements, from lowest to highest y value. if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } if (vMiddle.p.y > vTop.p.y || (vMiddle.p.y == vTop.p.y && vMiddle.p.x > vTop.p.x)){ std::swap(vMiddle, vTop); } if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } //get the change in x,z,normal, etc over dy Vertex3F left_d = get_d_dy(vBottom, vMiddle); Vertex3F right_d = get_d_dy(vBottom, vTop); //Checks to see if the midpoint in the triangle is on the left or not bool midIsLeft = left_d.p.x < right_d.p.x; //start the leftMost, bottom points Vertex3F v1 = vBottom; Vertex3F v2 = vBottom; Vertex3F v = vBottom; if (vBottom.p.y == vMiddle.p.y){ //We need to move p2 over to vMiddle, so we can have proper colors and positions v2 = vMiddle; //Needed because slopes are inaccurate for equal y values. midIsLeft = false; } //if they were assigned to the wrong sides, flip them if (!midIsLeft) { std::swap(left_d, right_d); } //Bottom of eq. guaranteed to be non-negative, so std::max with 1 is okay. Vertex3F dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); //Keep the y value between the bounds of the window int topY = std::min((int)ceilf(vTop.p.y + 1), WINDOW_HEIGHT); int botY = std::max((int)vBottom.p.y, 0); if (botY == 0 && topY >= 0) { //If the middle point also starts below the screen, we need to flip the correct dx //And move the corresponding dx to the proper location. if (vMiddle.p.y < 0) { if (midIsLeft) { left_d = get_d_dy(vMiddle, vTop); v1 = vMiddle - left_d * vMiddle.p.y; v2 -= right_d * vBottom.p.y; } else { right_d = get_d_dy(vMiddle, vTop); v2 = vMiddle - right_d * vMiddle.p.y; v1 -= left_d * vBottom.p.y; } } else { v1 -= left_d * vBottom.p.y; v2 -= right_d * vBottom.p.y; } } for (int y = botY; y < topY; y++) { //std::cout << y << std::endl; v = v1; dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); int topX = std::min((int)ceilf(v2.p.x + 1), WINDOW_WIDTH); int botX = std::max((int)v1.p.x, 0); //pushes z over if the beginning of the triangle is out of bounds if (botX == 0 && topX >= 0){ v -= dv_dx * v1.p.x; } for (int x = botX; x < topX; x++) { if (v.p.z < z_buf[x][y] && v.p.z >= 0) { v.n.normalize(); if (lightAndShadows) { v.p = Vector3F(x, y, v.p.z); Vector3F barryCalc( crossProduct(vBottom.p, vMiddle.p, v.p).magnitude(), crossProduct(vBottom.p, vTop.p, v.p).magnitude(), crossProduct(vMiddle.p, vTop.p, v.p).magnitude() ); barryCalc /= (barryCalc.x + barryCalc.y + barryCalc.z); v.n = (vTop.n*barryCalc.x + vMiddle.n*barryCalc.y + vBottom.n*barryCalc.z).normalize(); v.c = vTop.c*barryCalc.x + vMiddle.c*barryCalc.y + vBottom.c*barryCalc.z; float ambientIntensity = (std::max(1 - cosBetween(eye, v.n), 0.0f)) * 0.25f; //std::cout << ambientIntensity << endl; Vector3F color = calculateLighting(v, face, eye); glColor3f(v.c.x * (color.x + ambientIntensity), v.c.y * (color.y + ambientIntensity), v.c.z * (color.z + ambientIntensity)); } else { float ambientIntensity = (1 - dotProduct(eye, v.n)) / 2.0f; glColor3f(ambientIntensity, ambientIntensity, ambientIntensity); } //glColor3f(v.c.x * intensity, v.c.y * intensity, v.c.z * intensity); //glColor3f(1,1,1); glVertex2i(x, y); z_buf[x][y] = v.p.z; } v += dv_dx; } //Check if we hit the point to swap the slopes if (y == vMiddle.p.y) { //I just ternaried so hard. //Yes, this is legal code. (midIsLeft ? left_d : right_d) = get_d_dy(vMiddle, vTop); } else { v1 += left_d; v2 += right_d; } } } void Mesh::PhongTriangle(const Face& face) const { //Hardcode eye normal, for now Vector3F eye(0, 0, 1); Vertex3F vBottom = *face.vert1; Vertex3F vMiddle= *face.vert2; Vertex3F vTop = *face.vert3; //Bubble sorts the 3 elements, from lowest to highest y value. if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } if (vMiddle.p.y > vTop.p.y || (vMiddle.p.y == vTop.p.y && vMiddle.p.x > vTop.p.x)){ std::swap(vMiddle, vTop); } if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } //get the change in x,z,normal, etc over dy Vertex3F left_d = get_d_dy(vBottom, vMiddle); Vertex3F right_d = get_d_dy(vBottom, vTop); //Checks to see if the midpoint in the triangle is on the left or not bool midIsLeft = left_d.p.x < right_d.p.x; //start the leftMost, bottom points Vertex3F v1 = vBottom; Vertex3F v2 = vBottom; Vertex3F v = vBottom; if (vBottom.p.y == vMiddle.p.y){ //We need to move p2 over to vMiddle, so we can have proper colors and positions v2 = vMiddle; //Needed because slopes are inaccurate for equal y values. midIsLeft = false; } //if they were assigned to the wrong sides, flip them if (!midIsLeft) { std::swap(left_d, right_d); } //Bottom of eq. guaranteed to be non-negative, so std::max with 1 is okay. Vertex3F dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); //Keep the y value between the bounds of the window int topY = std::min((int)ceilf(vTop.p.y + 1), WINDOW_HEIGHT); int botY = std::max((int)vBottom.p.y, 0); if (botY == 0 && topY >= 0) { //If the middle point also starts below the screen, we need to flip the correct dx //And move the corresponding dx to the proper location. if (vMiddle.p.y < 0) { if (midIsLeft) { left_d = get_d_dy(vMiddle, vTop); v1 = vMiddle - left_d * vMiddle.p.y; v2 -= right_d * vBottom.p.y; } else { right_d = get_d_dy(vMiddle, vTop); v2 = vMiddle - right_d * vMiddle.p.y; v1 -= left_d * vBottom.p.y; } } else { v1 -= left_d * vBottom.p.y; v2 -= right_d * vBottom.p.y; } } for (int y = botY; y < topY; y++) { //std::cout << y << std::endl; v = v1; dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); int topX = std::min((int)ceilf(v2.p.x + 1), WINDOW_WIDTH); int botX = std::max((int)v1.p.x, 0); //pushes z over if the beginning of the triangle is out of bounds if (botX == 0 && topX >= 0){ v -= dv_dx * v1.p.x; } for (int x = botX; x < topX; x++) { if (v.p.z < z_buf[x][y] && v.p.z >= 0) { v.n.normalize(); if (lightAndShadows) { v.p = Vector3F(x, y, v.p.z); v.n.normalize(); float ambientIntensity = (std::max(1-cosBetween(eye, v.n), 0.0f)) * 0.25f; //std::cout << ambientIntensity << endl; Vector3F color = calculateLighting(v, face, eye); glColor3f(v.c.x * (color.x + ambientIntensity), v.c.y * (color.y + ambientIntensity), v.c.z * (color.z + ambientIntensity)); } else { float ambientIntensity = (1 - dotProduct(eye, v.n))/2.0f; glColor3f(ambientIntensity, ambientIntensity, ambientIntensity); } //glColor3f(v.c.x * intensity, v.c.y * intensity, v.c.z * intensity); //glColor3f(1,1,1); glVertex2i(x, y); z_buf[x][y] = v.p.z; } v += dv_dx; } //Check if we hit the point to swap the slopes if (y == vMiddle.p.y) { //I just ternaried so hard. //Yes, this is legal code. (midIsLeft ? left_d : right_d) = get_d_dy(vMiddle, vTop); } else { v1 += left_d; v2 += right_d; } } } void Mesh::smoothTriangle(const Face& face) const { Vertex3F vBottom = *face.vert1; Vertex3F vMiddle = *face.vert2; Vertex3F vTop = *face.vert3; //Bubble sorts the 3 elements, from lowest to highest y value. if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } if (vMiddle.p.y > vTop.p.y || (vMiddle.p.y == vTop.p.y && vMiddle.p.x > vTop.p.x)){ std::swap(vMiddle, vTop); } if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } //get the change in x,z,normal, etc over dy Vertex3F left_d = get_d_dy(vBottom, vMiddle); Vertex3F right_d = get_d_dy(vBottom, vTop); //Checks to see if the midpoint in the triangle is on the left or not bool midIsLeft = left_d.p.x < right_d.p.x; //start the leftMost, bottom points Vertex3F v1 = vBottom; Vertex3F v2 = vBottom; Vertex3F v = vBottom; if (vBottom.p.y == vMiddle.p.y){ //We need to move p2 over to vMiddle, so we can have proper colors and positions v2 = vMiddle; //Needed because slopes are inaccurate for equal y values. midIsLeft = false; } //if they were assigned to the wrong sides, flip them if (!midIsLeft) { std::swap(left_d, right_d); } //Bottom of eq. guaranteed to be non-negative, so std::max with 1 is okay. Vertex3F dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); //Keep the y value between the bounds of the window int topY = std::min((int)ceilf(vTop.p.y+1), WINDOW_HEIGHT); int botY = std::max((int)vBottom.p.y, 0); if (botY == 0 && topY >= 0) { //If the middle point also starts below the screen, we need to flip the correct dx //And move the corresponding dx to the proper location. if (vMiddle.p.y < 0) { if (midIsLeft) { left_d = get_d_dy(vMiddle, vTop); v1 = vMiddle - left_d * vMiddle.p.y; v2 -= right_d * vBottom.p.y; } else { right_d = get_d_dy(vMiddle, vTop); v2 = vMiddle - right_d * vMiddle.p.y; v1 -= left_d * vBottom.p.y; } } else { v1 -= left_d * vBottom.p.y; v2 -= right_d * vBottom.p.y; } } for (int y = botY; y < topY; y++) { //std::cout << y << std::endl; v = v1; dv_dx = (v2 - v1) / std::max(1.0f, v2.p.x - v1.p.x); int topX = std::min((int)ceilf(v2.p.x + 1), WINDOW_WIDTH); int botX = std::max((int)v1.p.x, 0); //pushes z over if the beginning of the triangle is out of bounds if (botX == 0 && topX >= 0){ v -= dv_dx * v1.p.x; } for (int x = botX; x < topX; x++) { if (v.p.z < z_buf[x][y] && v.p.z >= 0) { v.n.normalize(); Vector3F eye(0, 0, 1); float ambientIntensity = 1 - ((eye.x * v.n.x) + (eye.y * v.n.y) + (eye.z * v.n.z)); ambientIntensity *= .5f; glColor3f(ambientIntensity, ambientIntensity, ambientIntensity); //glColor3f(v.c.x * intensity, v.c.y * intensity, v.c.z * intensity); //glColor3f(1,1,1); glVertex2i(x, y); z_buf[x][y] = v.p.z; } v += dv_dx; } //Check if we hit the point to swap the slopes if (y == vMiddle.p.y) { //I just ternaried so hard. //Yes, this is legal code. (midIsLeft ? left_d : right_d) = get_d_dy(vMiddle, vTop); } else { v1 += left_d; v2 += right_d; } } } void Mesh::drawTriangle(Vertex3F vBottom, Vertex3F vMiddle, Vertex3F vTop) const { //Eye dotted with the normal, giving us the color at that point. float shade = (1-dotProduct(crossProduct(vBottom.p, vMiddle.p, vTop.p).normalize(), Vector3F(0, 0, 1)))/2.0f; //Bubble sorts the 3 elements, from lowest to highest y value. if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } if (vMiddle.p.y > vTop.p.y || (vMiddle.p.y == vTop.p.y && vMiddle.p.x > vTop.p.x)){ std::swap(vMiddle, vTop); } if (vBottom.p.y > vMiddle.p.y || (vBottom.p.y == vMiddle.p.y && vBottom.p.x > vMiddle.p.x)){ std::swap(vBottom, vMiddle); } //get the change in x,z,normal, etc over dy Vertex3F left_d = get_d_dy(vBottom, vMiddle); Vertex3F right_d = get_d_dy(vBottom, vTop); //Checks to see if the midpoint in the triangle is on the left or not bool midIsLeft = left_d.p.x < right_d.p.x; //start the leftMost, bottom points float x1 = vBottom.p.x, x2 = vBottom.p.x; float z1 = vBottom.p.z, z2 = vBottom.p.z; if (vBottom.p.y == vMiddle.p.y){ //Need to move x2 and z2 over, because the first line will //Only be 1 point if we don't move it over. x2 = vMiddle.p.x; z2 = vMiddle.p.z; //Needed because slopes are inaccurate for equal y values. midIsLeft = false; } //if they were assigned to the wrong sides, flip them if (!midIsLeft) { std::swap(left_d, right_d); } float z = z1; //Bottom of eq. guaranteed to be non-negative, so std::max with 1 is okay. float dz = (z2 - z1) / std::max(1.0f, x2 - x1); //Keep the y value between the bounds of the window int topY = std::min((int)ceilf(vTop.p.y), WINDOW_HEIGHT); int botY = std::max((int)vBottom.p.y, 0); if (botY == 0 && topY >= 0) { //If the middle point also starts below the screen, we need to flip the correct dx //And move the corresponding dx to the proper location. if (vMiddle.p.y < 0) { if (midIsLeft) { left_d = get_d_dy(vMiddle, vTop); x1 = vMiddle.p.x - left_d.p.x * vMiddle.p.y; x2 -= right_d.p.x * vBottom.p.y; z1 = vMiddle.p.z - left_d.p.z * vMiddle.p.y; z2 -= right_d.p.z * vBottom.p.y; } else { right_d = get_d_dy(vMiddle, vTop); x2 = vMiddle.p.x - right_d.p.x * vMiddle.p.y; x1 -= left_d.p.x * vBottom.p.y; z2 = vMiddle.p.z - right_d.p.z * vMiddle.p.y; z1 -= left_d.p.z * vBottom.p.y; } } else { x1 -= left_d.p.x * vBottom.p.y; x2 -= right_d.p.x * vBottom.p.y; z1 -= left_d.p.z * vBottom.p.y; z2 -= right_d.p.z * vBottom.p.y; } } for (int y = botY; y < topY; y++) { //std::cout << y << std::endl; z = z1; dz = (z2 - z1) / std::max(1.0f, x2 - x1); int topX = std::min((int)ceilf(x2), WINDOW_WIDTH); int botX = std::max((int)x1, 0); //pushes z over if the beginning of the triangle is out of bounds if (botX == 0 && topX >= 0){ z -= dz * (int)x1; } for (int x = botX; x < topX; x++) { if (z < z_buf[x][y] && z >= 0) { glColor3f(shade, shade, shade); //glColor3f(v.c.x * intensity, v.c.y * intensity, v.c.z * intensity); //glColor3f(1,1,1); glVertex2i(x, y); z_buf[x][y] = z; /*glColor3f(vBottom.c.x, vBottom.c.y, vBottom.c.z); glVertex2i(x, y); z_buf[x][y] = z;*/ } z += dz; } //Check if we hit the point to swqp the slopes if (y == vMiddle.p.y) { //I just ternaried so hard //Yes, this is correct syntax (midIsLeft ? left_d : right_d) = get_d_dy(vMiddle, vTop); } else { x1 += left_d.p.x; x2 += right_d.p.x; z1 += left_d.p.z; z2 += right_d.p.z; } } } void Mesh::drawQuad(Vertex3F v1, Vertex3F v2, Vertex3F v3, Vertex3F v4) { drawTriangle(v1, v2, v3); drawTriangle(v3, v4, v1); } void Mesh::drawMesh() { if (renderPhong){ std::cout << "Renderering Phong" << std::endl; } for (unsigned i = 0; i < faces.size(); i++) { //Backface culling if (!backfaceCulling || crossProductZ(faces[i].vert2->p, faces[i].vert1->p, faces[i].vert3->p) > 0) { if (wireFrame) { drawLine2i(faces[i].vert1->p, faces[i].vert2->p); drawLine2i(faces[i].vert2->p, faces[i].vert3->p); drawLine2i(faces[i].vert1->p, faces[i].vert3->p); } else { if (renderPhong) { PhongTriangle(faces[i]); } else if (smoothTriangles) { smoothTriangle(faces[i]); } else if (barryPhong) { BarryLerpPhong(faces[i]); } else { drawTriangle(*faces[i].vert1, *faces[i].vert2, *faces[i].vert3); } } } } }
[ "mderu001@ucr.edu" ]
mderu001@ucr.edu
7725f63276574c396cdc6a239ed02bba4e7b3515
2abe8354cb3cdc99a981501516f0f6132b296821
/2021-7-26/Fudan_U3/src/c.cpp
6a6f913f2e29c4d5a7b3334d383606baffbb7257
[]
no_license
maZymaZe/acm-remote
ddacdc367669707cd08527af2c7d5824b9308bd3
594b1836a1e1673b0afa1ee96e7cef7ef4fd8210
refs/heads/master
2023-07-21T19:27:33.180085
2021-08-28T03:42:08
2021-08-28T03:42:08
330,306,957
0
0
null
null
null
null
UTF-8
C++
false
false
3,667
cpp
#include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #define int long long //哈哈哈#define真好用 using namespace std; int fastRead() { int f = 1, r = 0; char c = getchar(); while (c > '9' || c < '0') { if (c == '-') { f = -1; } c = getchar(); } while (c >= '0' && c <= '9') { r = r * 10 + c - '0'; c = getchar(); } return f * r; } void fastWrite(int x) { if (x > 9) { fastWrite(x / 10); } putchar(x % 10 + '0'); } int a, b, c, n, m; void process1() { for (int i = 1; i <= a - c; i++) { printf("%c", 'a'); } for (int i = 1; i <= c; i++) { printf("%c", 'b'); } for (int i = 1; i <= n - a; i++) { printf("%c", 'e'); } puts(""); for (int i = 1; i <= a - c; i++) { printf("%c", 'a'); } for (int i = 1; i <= c; i++) { printf("%c", 'b'); } for (int i = 1; i <= b - c; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - a - b + c; i++) { printf("%c", 'f'); } puts(""); for (int i = 1; i <= a - c; i++) { printf("%c", 'g'); } for (int i = 1; i <= c; i++) { printf("%c", 'b'); } for (int i = 1; i <= b - c; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - a - b + c; i++) { printf("%c", 'h'); } } void process2() { for (int i = 1; i <= b - a; i++) { printf("%c", 'm'); } for (int i = 1; i <= a; i++) { printf("%c", 'a'); } for (int i = 1; i <= c - a; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - c - b + a; i++) { printf("%c", 'q'); } puts(""); for (int i = 1; i <= b - a; i++) { printf("%c", 'b'); } for (int i = 1; i <= a; i++) { printf("%c", 'a'); } for (int i = 1; i <= n - b; i++) { printf("%c", 'u'); } puts(""); for (int i = 1; i <= b - a; i++) { printf("%c", 'b'); } for (int i = 1; i <= a; i++) { printf("%c", 'a'); } for (int i = 1; i <= c - a; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - c - b + a; i++) { printf("%c", 'h'); } } void process3() { for (int i = 1; i <= a - b; i++) { printf("%c", 'a'); } for (int i = 1; i <= b; i++) { printf("%c", 'b'); } for (int i = 1; i <= c - b; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - a - c + b; i++) { printf("%c", 'q'); } puts(""); for (int i = 1; i <= a - b; i++) { printf("%c", 'a'); } for (int i = 1; i <= b; i++) { printf("%c", 'b'); } for (int i = 1; i <= n - a; i++) { printf("%c", 'u'); } puts(""); for (int i = 1; i <= a - b; i++) { printf("%c", 'x'); } for (int i = 1; i <= b; i++) { printf("%c", 'b'); } for (int i = 1; i <= c - b; i++) { printf("%c", 'c'); } for (int i = 1; i <= n - a - c + b; i++) { printf("%c", 'h'); } } signed main() { //这里相应的也要改成signed a = fastRead(), b = fastRead(), c = fastRead(), n = fastRead(); m = min(a, b); m = min(m, c); if (a + b + c - 2 * m > n) { puts("NO"); return 0; } if (c == m) { process1(); } else if (a == m) { process2(); } else { process3(); } return 0; }
[ "782618517@qq.com" ]
782618517@qq.com
b84b7ae4546d76a5ffb05ffef236f16c072eb71a
74a9456b605da15cbce5eefcfc22b2c049925d24
/mimosa/rpc/service.hh
308af70a6a577ba8356f4b28319ba86381ec442d
[ "MIT" ]
permissive
abique/mimosa
195ae693e2270fbfe9129b95b981946fab780d4e
87fff4dfce5f5a792bd7b93db3f3337e477aae76
refs/heads/master
2022-06-30T16:32:55.355008
2022-06-07T11:38:47
2022-06-07T11:38:47
2,087,313
27
8
MIT
2018-01-16T07:20:04
2011-07-22T05:40:03
C++
UTF-8
C++
false
false
893
hh
#pragma once # include <string> # include "../ref-countable.hh" # include "basic-call.hh" # include "protocol.hh" namespace mimosa { namespace rpc { class Channel; class Service : public RefCountable<Service>, private NonCopyable, private NonMovable { public: enum CallMethodStatus { kSucceed = rpc::kSucceed, kMethodNotFound = rpc::kMethodNotFound, kNotImplemented = rpc::kNotImplemented, kInvalidMsg = rpc::kInvalidMsg, }; virtual ~Service() {} virtual uint32_t id() const = 0; virtual const char * name() const = 0; protected: friend class Channel; virtual CallMethodStatus callMethod(BasicCall::Ptr call, const char * request_data, uint32_t request_size); }; } }
[ "bique.alexandre@gmail.com" ]
bique.alexandre@gmail.com
7d0f437a5e12b5995b6901d0d03364125a30c906
a7764174fb0351ea666faa9f3b5dfe304390a011
/drv/StepShape/StepShape_RightCircularCone.ixx
353831537fd4c2209422636c549c90f809043047
[]
no_license
uel-dataexchange/Opencascade_uel
f7123943e9d8124f4fa67579e3cd3f85cfe52d91
06ec93d238d3e3ea2881ff44ba8c21cf870435cd
refs/heads/master
2022-11-16T07:40:30.837854
2020-07-08T01:56:37
2020-07-08T01:56:37
276,290,778
0
0
null
null
null
null
UTF-8
C++
false
false
872
ixx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #include <StepShape_RightCircularCone.jxx> #ifndef _Standard_Type_HeaderFile #include <Standard_Type.hxx> #endif IMPLEMENT_STANDARD_TYPE(StepShape_RightCircularCone) IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() STANDARD_TYPE(StepGeom_GeometricRepresentationItem), STANDARD_TYPE(StepRepr_RepresentationItem), STANDARD_TYPE(MMgt_TShared), STANDARD_TYPE(Standard_Transient), IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() IMPLEMENT_STANDARD_TYPE_END(StepShape_RightCircularCone) IMPLEMENT_DOWNCAST(StepShape_RightCircularCone,Standard_Transient) IMPLEMENT_STANDARD_RTTI(StepShape_RightCircularCone)
[ "shoka.sho2@excel.co.jp" ]
shoka.sho2@excel.co.jp
b67aa3b1415c67dcc58f860bd1d6b4a9a762efac
8cc95381e7c810f0ee4921fb2e6140748dd3ea57
/200_299/288_valid_word_abbr.h
fcd20c969585af1a03c0c86a98dcfe12122999c5
[]
no_license
wangchenwc/leetcode_cpp
5691fd6091050cd09ececfa94c02497f78b88293
6c0c847f25710781f40a2817cb0e0152002f1755
refs/heads/master
2020-04-22T02:36:02.836904
2018-11-08T06:13:00
2018-11-08T06:13:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
678
h
// // 288_valid_word_abbr.h // cpp_code // // Created by zhongyingli on 2018/8/7. // Copyright © 2018 zhongyingli. All rights reserved. // #ifndef _88_valid_word_abbr_h #define _88_valid_word_abbr_h class ValidWordAbbr { public: ValidWordAbbr(vector<string> &dictionary) { for (auto a : dictionary) { string k = a[0] + to_string(a.size() - 2) + a.back(); m[k].insert(a); } } bool isUnique(string word) { string k = word[0] + to_string(word.size() - 2) + word.back(); return m[k].count(word) == m[k].size(); } private: unordered_map<string, set<string>> m; }; #endif /* _88_valid_word_abbr_h */
[ "lizhongying@ofo.com" ]
lizhongying@ofo.com
f2d1b7165bca9be3cc61acf77e5301d197569f24
0d0e78c6262417fb1dff53901c6087b29fe260a0
/wss/src/v20180426/model/SSLCertificate.cpp
0f97a8e340756e43de03ea54c8524e2d4000d4a0
[ "Apache-2.0" ]
permissive
li5ch/tencentcloud-sdk-cpp
ae35ffb0c36773fd28e1b1a58d11755682ade2ee
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
refs/heads/master
2022-12-04T15:33:08.729850
2020-07-20T00:52:24
2020-07-20T00:52:24
281,135,686
1
0
Apache-2.0
2020-07-20T14:14:47
2020-07-20T14:14:46
null
UTF-8
C++
false
false
26,198
cpp
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <tencentcloud/wss/v20180426/model/SSLCertificate.h> using TencentCloud::CoreInternalOutcome; using namespace TencentCloud::Wss::V20180426::Model; using namespace rapidjson; using namespace std; SSLCertificate::SSLCertificate() : m_ownerUinHasBeenSet(false), m_projectIdHasBeenSet(false), m_fromHasBeenSet(false), m_typeHasBeenSet(false), m_certTypeHasBeenSet(false), m_productZhNameHasBeenSet(false), m_domainHasBeenSet(false), m_aliasHasBeenSet(false), m_statusHasBeenSet(false), m_vulnerabilityStatusHasBeenSet(false), m_statusMsgHasBeenSet(false), m_verifyTypeHasBeenSet(false), m_certBeginTimeHasBeenSet(false), m_certEndTimeHasBeenSet(false), m_validityPeriodHasBeenSet(false), m_insertTimeHasBeenSet(false), m_projectInfoHasBeenSet(false), m_idHasBeenSet(false), m_subjectAltNameHasBeenSet(false), m_typeNameHasBeenSet(false), m_statusNameHasBeenSet(false), m_isVipHasBeenSet(false), m_isDvHasBeenSet(false), m_isWildcardHasBeenSet(false), m_isVulnerabilityHasBeenSet(false), m_certHasBeenSet(false) { } CoreInternalOutcome SSLCertificate::Deserialize(const Value &value) { string requestId = ""; if (value.HasMember("OwnerUin") && !value["OwnerUin"].IsNull()) { if (!value["OwnerUin"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.OwnerUin` IsString=false incorrectly").SetRequestId(requestId)); } m_ownerUin = string(value["OwnerUin"].GetString()); m_ownerUinHasBeenSet = true; } if (value.HasMember("ProjectId") && !value["ProjectId"].IsNull()) { if (!value["ProjectId"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.ProjectId` IsString=false incorrectly").SetRequestId(requestId)); } m_projectId = string(value["ProjectId"].GetString()); m_projectIdHasBeenSet = true; } if (value.HasMember("From") && !value["From"].IsNull()) { if (!value["From"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.From` IsString=false incorrectly").SetRequestId(requestId)); } m_from = string(value["From"].GetString()); m_fromHasBeenSet = true; } if (value.HasMember("Type") && !value["Type"].IsNull()) { if (!value["Type"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.Type` IsString=false incorrectly").SetRequestId(requestId)); } m_type = string(value["Type"].GetString()); m_typeHasBeenSet = true; } if (value.HasMember("CertType") && !value["CertType"].IsNull()) { if (!value["CertType"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.CertType` IsString=false incorrectly").SetRequestId(requestId)); } m_certType = string(value["CertType"].GetString()); m_certTypeHasBeenSet = true; } if (value.HasMember("ProductZhName") && !value["ProductZhName"].IsNull()) { if (!value["ProductZhName"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.ProductZhName` IsString=false incorrectly").SetRequestId(requestId)); } m_productZhName = string(value["ProductZhName"].GetString()); m_productZhNameHasBeenSet = true; } if (value.HasMember("Domain") && !value["Domain"].IsNull()) { if (!value["Domain"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.Domain` IsString=false incorrectly").SetRequestId(requestId)); } m_domain = string(value["Domain"].GetString()); m_domainHasBeenSet = true; } if (value.HasMember("Alias") && !value["Alias"].IsNull()) { if (!value["Alias"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.Alias` IsString=false incorrectly").SetRequestId(requestId)); } m_alias = string(value["Alias"].GetString()); m_aliasHasBeenSet = true; } if (value.HasMember("Status") && !value["Status"].IsNull()) { if (!value["Status"].IsUint64()) { return CoreInternalOutcome(Error("response `SSLCertificate.Status` IsUint64=false incorrectly").SetRequestId(requestId)); } m_status = value["Status"].GetUint64(); m_statusHasBeenSet = true; } if (value.HasMember("VulnerabilityStatus") && !value["VulnerabilityStatus"].IsNull()) { if (!value["VulnerabilityStatus"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.VulnerabilityStatus` IsString=false incorrectly").SetRequestId(requestId)); } m_vulnerabilityStatus = string(value["VulnerabilityStatus"].GetString()); m_vulnerabilityStatusHasBeenSet = true; } if (value.HasMember("StatusMsg") && !value["StatusMsg"].IsNull()) { if (!value["StatusMsg"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.StatusMsg` IsString=false incorrectly").SetRequestId(requestId)); } m_statusMsg = string(value["StatusMsg"].GetString()); m_statusMsgHasBeenSet = true; } if (value.HasMember("VerifyType") && !value["VerifyType"].IsNull()) { if (!value["VerifyType"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.VerifyType` IsString=false incorrectly").SetRequestId(requestId)); } m_verifyType = string(value["VerifyType"].GetString()); m_verifyTypeHasBeenSet = true; } if (value.HasMember("CertBeginTime") && !value["CertBeginTime"].IsNull()) { if (!value["CertBeginTime"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.CertBeginTime` IsString=false incorrectly").SetRequestId(requestId)); } m_certBeginTime = string(value["CertBeginTime"].GetString()); m_certBeginTimeHasBeenSet = true; } if (value.HasMember("CertEndTime") && !value["CertEndTime"].IsNull()) { if (!value["CertEndTime"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.CertEndTime` IsString=false incorrectly").SetRequestId(requestId)); } m_certEndTime = string(value["CertEndTime"].GetString()); m_certEndTimeHasBeenSet = true; } if (value.HasMember("ValidityPeriod") && !value["ValidityPeriod"].IsNull()) { if (!value["ValidityPeriod"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.ValidityPeriod` IsString=false incorrectly").SetRequestId(requestId)); } m_validityPeriod = string(value["ValidityPeriod"].GetString()); m_validityPeriodHasBeenSet = true; } if (value.HasMember("InsertTime") && !value["InsertTime"].IsNull()) { if (!value["InsertTime"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.InsertTime` IsString=false incorrectly").SetRequestId(requestId)); } m_insertTime = string(value["InsertTime"].GetString()); m_insertTimeHasBeenSet = true; } if (value.HasMember("ProjectInfo") && !value["ProjectInfo"].IsNull()) { if (!value["ProjectInfo"].IsObject()) { return CoreInternalOutcome(Error("response `SSLCertificate.ProjectInfo` is not object type").SetRequestId(requestId)); } CoreInternalOutcome outcome = m_projectInfo.Deserialize(value["ProjectInfo"]); if (!outcome.IsSuccess()) { outcome.GetError().SetRequestId(requestId); return outcome; } m_projectInfoHasBeenSet = true; } if (value.HasMember("Id") && !value["Id"].IsNull()) { if (!value["Id"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.Id` IsString=false incorrectly").SetRequestId(requestId)); } m_id = string(value["Id"].GetString()); m_idHasBeenSet = true; } if (value.HasMember("SubjectAltName") && !value["SubjectAltName"].IsNull()) { if (!value["SubjectAltName"].IsArray()) return CoreInternalOutcome(Error("response `SSLCertificate.SubjectAltName` is not array type")); const Value &tmpValue = value["SubjectAltName"]; for (Value::ConstValueIterator itr = tmpValue.Begin(); itr != tmpValue.End(); ++itr) { m_subjectAltName.push_back((*itr).GetString()); } m_subjectAltNameHasBeenSet = true; } if (value.HasMember("TypeName") && !value["TypeName"].IsNull()) { if (!value["TypeName"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.TypeName` IsString=false incorrectly").SetRequestId(requestId)); } m_typeName = string(value["TypeName"].GetString()); m_typeNameHasBeenSet = true; } if (value.HasMember("StatusName") && !value["StatusName"].IsNull()) { if (!value["StatusName"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.StatusName` IsString=false incorrectly").SetRequestId(requestId)); } m_statusName = string(value["StatusName"].GetString()); m_statusNameHasBeenSet = true; } if (value.HasMember("IsVip") && !value["IsVip"].IsNull()) { if (!value["IsVip"].IsBool()) { return CoreInternalOutcome(Error("response `SSLCertificate.IsVip` IsBool=false incorrectly").SetRequestId(requestId)); } m_isVip = value["IsVip"].GetBool(); m_isVipHasBeenSet = true; } if (value.HasMember("IsDv") && !value["IsDv"].IsNull()) { if (!value["IsDv"].IsBool()) { return CoreInternalOutcome(Error("response `SSLCertificate.IsDv` IsBool=false incorrectly").SetRequestId(requestId)); } m_isDv = value["IsDv"].GetBool(); m_isDvHasBeenSet = true; } if (value.HasMember("IsWildcard") && !value["IsWildcard"].IsNull()) { if (!value["IsWildcard"].IsBool()) { return CoreInternalOutcome(Error("response `SSLCertificate.IsWildcard` IsBool=false incorrectly").SetRequestId(requestId)); } m_isWildcard = value["IsWildcard"].GetBool(); m_isWildcardHasBeenSet = true; } if (value.HasMember("IsVulnerability") && !value["IsVulnerability"].IsNull()) { if (!value["IsVulnerability"].IsBool()) { return CoreInternalOutcome(Error("response `SSLCertificate.IsVulnerability` IsBool=false incorrectly").SetRequestId(requestId)); } m_isVulnerability = value["IsVulnerability"].GetBool(); m_isVulnerabilityHasBeenSet = true; } if (value.HasMember("Cert") && !value["Cert"].IsNull()) { if (!value["Cert"].IsString()) { return CoreInternalOutcome(Error("response `SSLCertificate.Cert` IsString=false incorrectly").SetRequestId(requestId)); } m_cert = string(value["Cert"].GetString()); m_certHasBeenSet = true; } return CoreInternalOutcome(true); } void SSLCertificate::ToJsonObject(Value &value, Document::AllocatorType& allocator) const { if (m_ownerUinHasBeenSet) { Value iKey(kStringType); string key = "OwnerUin"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_ownerUin.c_str(), allocator).Move(), allocator); } if (m_projectIdHasBeenSet) { Value iKey(kStringType); string key = "ProjectId"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_projectId.c_str(), allocator).Move(), allocator); } if (m_fromHasBeenSet) { Value iKey(kStringType); string key = "From"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_from.c_str(), allocator).Move(), allocator); } if (m_typeHasBeenSet) { Value iKey(kStringType); string key = "Type"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_type.c_str(), allocator).Move(), allocator); } if (m_certTypeHasBeenSet) { Value iKey(kStringType); string key = "CertType"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_certType.c_str(), allocator).Move(), allocator); } if (m_productZhNameHasBeenSet) { Value iKey(kStringType); string key = "ProductZhName"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_productZhName.c_str(), allocator).Move(), allocator); } if (m_domainHasBeenSet) { Value iKey(kStringType); string key = "Domain"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_domain.c_str(), allocator).Move(), allocator); } if (m_aliasHasBeenSet) { Value iKey(kStringType); string key = "Alias"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_alias.c_str(), allocator).Move(), allocator); } if (m_statusHasBeenSet) { Value iKey(kStringType); string key = "Status"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_status, allocator); } if (m_vulnerabilityStatusHasBeenSet) { Value iKey(kStringType); string key = "VulnerabilityStatus"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_vulnerabilityStatus.c_str(), allocator).Move(), allocator); } if (m_statusMsgHasBeenSet) { Value iKey(kStringType); string key = "StatusMsg"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_statusMsg.c_str(), allocator).Move(), allocator); } if (m_verifyTypeHasBeenSet) { Value iKey(kStringType); string key = "VerifyType"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_verifyType.c_str(), allocator).Move(), allocator); } if (m_certBeginTimeHasBeenSet) { Value iKey(kStringType); string key = "CertBeginTime"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_certBeginTime.c_str(), allocator).Move(), allocator); } if (m_certEndTimeHasBeenSet) { Value iKey(kStringType); string key = "CertEndTime"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_certEndTime.c_str(), allocator).Move(), allocator); } if (m_validityPeriodHasBeenSet) { Value iKey(kStringType); string key = "ValidityPeriod"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_validityPeriod.c_str(), allocator).Move(), allocator); } if (m_insertTimeHasBeenSet) { Value iKey(kStringType); string key = "InsertTime"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_insertTime.c_str(), allocator).Move(), allocator); } if (m_projectInfoHasBeenSet) { Value iKey(kStringType); string key = "ProjectInfo"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(kObjectType).Move(), allocator); m_projectInfo.ToJsonObject(value[key.c_str()], allocator); } if (m_idHasBeenSet) { Value iKey(kStringType); string key = "Id"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_id.c_str(), allocator).Move(), allocator); } if (m_subjectAltNameHasBeenSet) { Value iKey(kStringType); string key = "SubjectAltName"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(kArrayType).Move(), allocator); for (auto itr = m_subjectAltName.begin(); itr != m_subjectAltName.end(); ++itr) { value[key.c_str()].PushBack(Value().SetString((*itr).c_str(), allocator), allocator); } } if (m_typeNameHasBeenSet) { Value iKey(kStringType); string key = "TypeName"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_typeName.c_str(), allocator).Move(), allocator); } if (m_statusNameHasBeenSet) { Value iKey(kStringType); string key = "StatusName"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_statusName.c_str(), allocator).Move(), allocator); } if (m_isVipHasBeenSet) { Value iKey(kStringType); string key = "IsVip"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_isVip, allocator); } if (m_isDvHasBeenSet) { Value iKey(kStringType); string key = "IsDv"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_isDv, allocator); } if (m_isWildcardHasBeenSet) { Value iKey(kStringType); string key = "IsWildcard"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_isWildcard, allocator); } if (m_isVulnerabilityHasBeenSet) { Value iKey(kStringType); string key = "IsVulnerability"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, m_isVulnerability, allocator); } if (m_certHasBeenSet) { Value iKey(kStringType); string key = "Cert"; iKey.SetString(key.c_str(), allocator); value.AddMember(iKey, Value(m_cert.c_str(), allocator).Move(), allocator); } } string SSLCertificate::GetOwnerUin() const { return m_ownerUin; } void SSLCertificate::SetOwnerUin(const string& _ownerUin) { m_ownerUin = _ownerUin; m_ownerUinHasBeenSet = true; } bool SSLCertificate::OwnerUinHasBeenSet() const { return m_ownerUinHasBeenSet; } string SSLCertificate::GetProjectId() const { return m_projectId; } void SSLCertificate::SetProjectId(const string& _projectId) { m_projectId = _projectId; m_projectIdHasBeenSet = true; } bool SSLCertificate::ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } string SSLCertificate::GetFrom() const { return m_from; } void SSLCertificate::SetFrom(const string& _from) { m_from = _from; m_fromHasBeenSet = true; } bool SSLCertificate::FromHasBeenSet() const { return m_fromHasBeenSet; } string SSLCertificate::GetType() const { return m_type; } void SSLCertificate::SetType(const string& _type) { m_type = _type; m_typeHasBeenSet = true; } bool SSLCertificate::TypeHasBeenSet() const { return m_typeHasBeenSet; } string SSLCertificate::GetCertType() const { return m_certType; } void SSLCertificate::SetCertType(const string& _certType) { m_certType = _certType; m_certTypeHasBeenSet = true; } bool SSLCertificate::CertTypeHasBeenSet() const { return m_certTypeHasBeenSet; } string SSLCertificate::GetProductZhName() const { return m_productZhName; } void SSLCertificate::SetProductZhName(const string& _productZhName) { m_productZhName = _productZhName; m_productZhNameHasBeenSet = true; } bool SSLCertificate::ProductZhNameHasBeenSet() const { return m_productZhNameHasBeenSet; } string SSLCertificate::GetDomain() const { return m_domain; } void SSLCertificate::SetDomain(const string& _domain) { m_domain = _domain; m_domainHasBeenSet = true; } bool SSLCertificate::DomainHasBeenSet() const { return m_domainHasBeenSet; } string SSLCertificate::GetAlias() const { return m_alias; } void SSLCertificate::SetAlias(const string& _alias) { m_alias = _alias; m_aliasHasBeenSet = true; } bool SSLCertificate::AliasHasBeenSet() const { return m_aliasHasBeenSet; } uint64_t SSLCertificate::GetStatus() const { return m_status; } void SSLCertificate::SetStatus(const uint64_t& _status) { m_status = _status; m_statusHasBeenSet = true; } bool SSLCertificate::StatusHasBeenSet() const { return m_statusHasBeenSet; } string SSLCertificate::GetVulnerabilityStatus() const { return m_vulnerabilityStatus; } void SSLCertificate::SetVulnerabilityStatus(const string& _vulnerabilityStatus) { m_vulnerabilityStatus = _vulnerabilityStatus; m_vulnerabilityStatusHasBeenSet = true; } bool SSLCertificate::VulnerabilityStatusHasBeenSet() const { return m_vulnerabilityStatusHasBeenSet; } string SSLCertificate::GetStatusMsg() const { return m_statusMsg; } void SSLCertificate::SetStatusMsg(const string& _statusMsg) { m_statusMsg = _statusMsg; m_statusMsgHasBeenSet = true; } bool SSLCertificate::StatusMsgHasBeenSet() const { return m_statusMsgHasBeenSet; } string SSLCertificate::GetVerifyType() const { return m_verifyType; } void SSLCertificate::SetVerifyType(const string& _verifyType) { m_verifyType = _verifyType; m_verifyTypeHasBeenSet = true; } bool SSLCertificate::VerifyTypeHasBeenSet() const { return m_verifyTypeHasBeenSet; } string SSLCertificate::GetCertBeginTime() const { return m_certBeginTime; } void SSLCertificate::SetCertBeginTime(const string& _certBeginTime) { m_certBeginTime = _certBeginTime; m_certBeginTimeHasBeenSet = true; } bool SSLCertificate::CertBeginTimeHasBeenSet() const { return m_certBeginTimeHasBeenSet; } string SSLCertificate::GetCertEndTime() const { return m_certEndTime; } void SSLCertificate::SetCertEndTime(const string& _certEndTime) { m_certEndTime = _certEndTime; m_certEndTimeHasBeenSet = true; } bool SSLCertificate::CertEndTimeHasBeenSet() const { return m_certEndTimeHasBeenSet; } string SSLCertificate::GetValidityPeriod() const { return m_validityPeriod; } void SSLCertificate::SetValidityPeriod(const string& _validityPeriod) { m_validityPeriod = _validityPeriod; m_validityPeriodHasBeenSet = true; } bool SSLCertificate::ValidityPeriodHasBeenSet() const { return m_validityPeriodHasBeenSet; } string SSLCertificate::GetInsertTime() const { return m_insertTime; } void SSLCertificate::SetInsertTime(const string& _insertTime) { m_insertTime = _insertTime; m_insertTimeHasBeenSet = true; } bool SSLCertificate::InsertTimeHasBeenSet() const { return m_insertTimeHasBeenSet; } SSLProjectInfo SSLCertificate::GetProjectInfo() const { return m_projectInfo; } void SSLCertificate::SetProjectInfo(const SSLProjectInfo& _projectInfo) { m_projectInfo = _projectInfo; m_projectInfoHasBeenSet = true; } bool SSLCertificate::ProjectInfoHasBeenSet() const { return m_projectInfoHasBeenSet; } string SSLCertificate::GetId() const { return m_id; } void SSLCertificate::SetId(const string& _id) { m_id = _id; m_idHasBeenSet = true; } bool SSLCertificate::IdHasBeenSet() const { return m_idHasBeenSet; } vector<string> SSLCertificate::GetSubjectAltName() const { return m_subjectAltName; } void SSLCertificate::SetSubjectAltName(const vector<string>& _subjectAltName) { m_subjectAltName = _subjectAltName; m_subjectAltNameHasBeenSet = true; } bool SSLCertificate::SubjectAltNameHasBeenSet() const { return m_subjectAltNameHasBeenSet; } string SSLCertificate::GetTypeName() const { return m_typeName; } void SSLCertificate::SetTypeName(const string& _typeName) { m_typeName = _typeName; m_typeNameHasBeenSet = true; } bool SSLCertificate::TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } string SSLCertificate::GetStatusName() const { return m_statusName; } void SSLCertificate::SetStatusName(const string& _statusName) { m_statusName = _statusName; m_statusNameHasBeenSet = true; } bool SSLCertificate::StatusNameHasBeenSet() const { return m_statusNameHasBeenSet; } bool SSLCertificate::GetIsVip() const { return m_isVip; } void SSLCertificate::SetIsVip(const bool& _isVip) { m_isVip = _isVip; m_isVipHasBeenSet = true; } bool SSLCertificate::IsVipHasBeenSet() const { return m_isVipHasBeenSet; } bool SSLCertificate::GetIsDv() const { return m_isDv; } void SSLCertificate::SetIsDv(const bool& _isDv) { m_isDv = _isDv; m_isDvHasBeenSet = true; } bool SSLCertificate::IsDvHasBeenSet() const { return m_isDvHasBeenSet; } bool SSLCertificate::GetIsWildcard() const { return m_isWildcard; } void SSLCertificate::SetIsWildcard(const bool& _isWildcard) { m_isWildcard = _isWildcard; m_isWildcardHasBeenSet = true; } bool SSLCertificate::IsWildcardHasBeenSet() const { return m_isWildcardHasBeenSet; } bool SSLCertificate::GetIsVulnerability() const { return m_isVulnerability; } void SSLCertificate::SetIsVulnerability(const bool& _isVulnerability) { m_isVulnerability = _isVulnerability; m_isVulnerabilityHasBeenSet = true; } bool SSLCertificate::IsVulnerabilityHasBeenSet() const { return m_isVulnerabilityHasBeenSet; } string SSLCertificate::GetCert() const { return m_cert; } void SSLCertificate::SetCert(const string& _cert) { m_cert = _cert; m_certHasBeenSet = true; } bool SSLCertificate::CertHasBeenSet() const { return m_certHasBeenSet; }
[ "zhiqiangfan@tencent.com" ]
zhiqiangfan@tencent.com
ba40e3ec120b1395597b33ff842f0fba19567513
cf326bf46c6f618adaf93bec38a9f0cb3253e82a
/codepasterconstants.h
610cb8f7dfadb55fd5f601dcbcda5a4eb658c29d
[]
no_license
alexander-podshiblov/MyPlugin
05803a90f51346dccf0e3f6a4deb19519a58ee40
dd4d315dd1df7ad9e0f81128e301c091edbb91f1
refs/heads/master
2021-01-19T18:51:50.593869
2014-09-21T12:19:37
2014-09-21T12:19:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
281
h
#ifndef CODEPASTERCONSTANTS_H #define CODEPASTERCONSTANTS_H namespace CodePaster { namespace Constants { const char ACTION_ID[] = "CodePaster.Action"; const char MENU_ID[] = "CodePaster.Menu"; } // namespace CodePaster } // namespace Constants #endif // CODEPASTERCONSTANTS_H
[ "Work@Alexander.(none)" ]
Work@Alexander.(none)
3c4eeb55916213284e124b19ad89d91090d8864c
0617d09a276ee6f59d2feffd4db4739677198178
/src/viewer/render_instances.cpp
e9c70cbe50e440663cb10220259ef9d6e085bca3
[ "MIT" ]
permissive
fanghao6666/visionaray
2d72fa7b35f66ccfe3fd332eb52786f9b6ef9aee
18364c521cad82c3d5a2bbfd462bddb43a1f6a52
refs/heads/master
2022-07-16T08:50:46.153614
2020-05-12T23:04:00
2020-05-12T23:04:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,285
cpp
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <cassert> #include "render.h" namespace visionaray { void render_instances_cpp( index_bvh<index_bvh<basic_triangle<3, float>>::bvh_inst>& bvh, aligned_vector<vec3> const& geometric_normals, aligned_vector<vec3> const& shading_normals, aligned_vector<vec2> const& tex_coords, aligned_vector<generic_material_t> const& materials, aligned_vector<vec3> const& colors, aligned_vector<texture_t> const& textures, aligned_vector<generic_light_t> const& lights, unsigned bounces, float epsilon, vec4 bgcolor, vec4 ambient, host_device_rt& rt, host_sched_t<ray_type_cpu>& sched, camera_t const& cam, unsigned& frame_num, algorithm algo, unsigned ssaa_samples, host_environment_light const& env_light ) { using bvh_ref = index_bvh<index_bvh<basic_triangle<3, float>>::bvh_inst>::bvh_ref; aligned_vector<bvh_ref> primitives; primitives.push_back(bvh.ref()); if (env_light.texture()) { auto kparams = make_kernel_params( normals_per_vertex_binding{}, colors_per_vertex_binding{}, primitives.data(), primitives.data() + primitives.size(), geometric_normals.data(), shading_normals.data(), tex_coords.data(), materials.data(), colors.data(), textures.data(), lights.data(), lights.data() + lights.size(), env_light, bounces, epsilon ); call_kernel( algo, sched, kparams, frame_num, ssaa_samples, cam, rt ); } else { auto kparams = make_kernel_params( normals_per_vertex_binding{}, colors_per_vertex_binding{}, primitives.data(), primitives.data() + primitives.size(), geometric_normals.data(), shading_normals.data(), tex_coords.data(), materials.data(), colors.data(), textures.data(), lights.data(), lights.data() + lights.size(), bounces, epsilon, bgcolor, ambient ); call_kernel( algo, sched, kparams, frame_num, ssaa_samples, cam, rt ); } } } // visionaray
[ "info@szellmann.de" ]
info@szellmann.de
166c9bc9eca4139bc6328b0d2b47d76774b0e469
a722faf9fb50c794555861bb4858c3ed8a7a25f3
/contest/atcoder/abc061/A/main.cpp
8bfc270f11555c678822dc3dd336538a5735c8ab
[]
no_license
ar90n/lab
31e5d2c320de5618bc37572011596fee8923255d
6d035e12f743e9ba984e79bfe660967b9ca8716b
refs/heads/main
2023-07-25T17:29:57.960915
2023-07-22T12:08:18
2023-07-22T12:08:18
77,883,405
4
0
null
2023-07-17T08:45:14
2017-01-03T04:15:49
Jupyter Notebook
UTF-8
C++
false
false
392
cpp
#include <bits/stdc++.h> using namespace std; const string YES = "Yes"; const string NO = "No"; auto solve(long long A, long long B, long long C) { return ((A <= C) && (C <= B)) ? YES : NO; } int main() { long long A; scanf("%lld", &A); long long B; scanf("%lld", &B); long long C; scanf("%lld", &C); auto result = solve(A, B, C); cout << result << endl; return 0; }
[ "argon.argon.argon@gmail.com" ]
argon.argon.argon@gmail.com
3f58398bf1f844d1ed56a0eed5dec4cd8a529e01
e641bd95bff4a447e25235c265a58df8e7e57c84
/content/renderer/service_worker/service_worker_network_provider_for_frame.h
8fd344354cea5f28351177f2c1d2cf4a88f4861e
[ "BSD-3-Clause" ]
permissive
zaourzag/chromium
e50cb6553b4f30e42f452e666885d511f53604da
2370de33e232b282bd45faa084e5a8660cb396ed
refs/heads/master
2023-01-02T08:48:14.707555
2020-11-13T13:47:30
2020-11-13T13:47:30
312,600,463
0
0
BSD-3-Clause
2022-12-23T17:01:30
2020-11-13T14:39:10
null
UTF-8
C++
false
false
3,490
h
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_FOR_FRAME_H_ #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_FOR_FRAME_H_ #include <memory> #include "content/common/content_export.h" #include "content/renderer/service_worker/service_worker_provider_context.h" #include "services/network/public/cpp/shared_url_loader_factory.h" #include "third_party/blink/public/mojom/service_worker/controller_service_worker.mojom-forward.h" #include "third_party/blink/public/mojom/service_worker/service_worker_provider.mojom-forward.h" #include "third_party/blink/public/platform/modules/service_worker/web_service_worker_network_provider.h" namespace content { class RenderFrameImpl; // The WebServiceWorkerNetworkProvider implementation used for frames. class CONTENT_EXPORT ServiceWorkerNetworkProviderForFrame final : public blink::WebServiceWorkerNetworkProvider { public: // Creates a network provider for |frame|. // // |controller_info| contains the endpoint and object info that is needed to // set up the controller service worker for the client. // |fallback_loader_factory| is a default loader factory for fallback // requests, and is used when we create a subresource loader for controllees. // This is non-null only if the provider is created for controllees, and if // the loading context, e.g. a frame, provides it. static std::unique_ptr<ServiceWorkerNetworkProviderForFrame> Create( RenderFrameImpl* frame, blink::mojom::ServiceWorkerContainerInfoForClientPtr container_info, blink::mojom::ControllerServiceWorkerInfoPtr controller_info, scoped_refptr<network::SharedURLLoaderFactory> fallback_loader_factory); // Creates an invalid instance. It has a null |context()|. // TODO(falken): Just use null instead of this. static std::unique_ptr<ServiceWorkerNetworkProviderForFrame> CreateInvalidInstance(); ~ServiceWorkerNetworkProviderForFrame() override; // Implements WebServiceWorkerNetworkProvider. void WillSendRequest(blink::WebURLRequest& request) override; std::unique_ptr<blink::WebURLLoader> CreateURLLoader( const blink::WebURLRequest& request, std::unique_ptr<blink::scheduler::WebResourceLoadingTaskRunnerHandle> freezable_task_runner_handle, std::unique_ptr<blink::scheduler::WebResourceLoadingTaskRunnerHandle> unfreezable_task_runner_handle) override; blink::mojom::ControllerServiceWorkerMode GetControllerServiceWorkerMode() override; int64_t ControllerServiceWorkerID() override; void DispatchNetworkQuiet() override; blink::CrossVariantMojoReceiver< blink::mojom::WorkerTimingContainerInterfaceBase> TakePendingWorkerTimingReceiver(int request_id) override; ServiceWorkerProviderContext* context() { return context_.get(); } private: class NewDocumentObserver; explicit ServiceWorkerNetworkProviderForFrame(RenderFrameImpl* frame); void NotifyExecutionReady(); // |context_| is null if |this| is an invalid instance, in which case there is // no connection to the browser process. scoped_refptr<ServiceWorkerProviderContext> context_; std::unique_ptr<NewDocumentObserver> observer_; }; } // namespace content #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_FOR_FRAME_H_
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0b2d091f95bdb2a1b02ee144d71c421a199aad8a
c98365913c93d4e35eebf94d15286aac9266b500
/src/hpp/dds/pub/find.hpp
55bce9af14bc0e95e8206ee5672342f05232e021
[]
no_license
sutambe/dds-psm-cxx
5646349fc317f215418c30806f58f411c8abb337
bababd36ed41f0bab0ddca8d60b5ea38e1a7900b
refs/heads/master
2021-01-16T19:34:56.119255
2011-11-08T16:23:41
2011-11-08T16:23:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,754
hpp
#ifndef OMG_DDS_PUB_FIND_HPP_ #define OMG_DDS_PUB_FIND_HPP_ /* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Corp. * Copyright 2010, Real-Time Innovations, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <string> #include <dds/core/corefwd.hpp> #include <dds/pub/pubfwd.hpp> #include <dds/pub/detail/find.hpp> namespace dds { namespace pub { template <typename WRITER, typename FwdIterator> uint32_t find(const dds::pub::Publisher& pub, const std::string& topic_name, FwdIterator begin, uint32_t max_size) { return ::dds::pub::detail::find<WRITER, FwdIterator>(pub, topic_name, begin, max_size); } template <typename WRITER, typename BinIterator> uint32_t find(const dds::pub::Publisher& pub, const std::string& topic_name, BinIterator begin) { return ::dds::pub::detail::find<WRITER, BinIterator>(pub, topic_name, begin); } } } #endif /* OMG_DDS_PUB_FIND_HPP_ */
[ "angelo@icorsaro.net" ]
angelo@icorsaro.net
60c8b817872f83f6220366c2d974f9da65963560
56bde74fd9e71289ce2a96e2ea2478d1b92fc8f5
/WindmillDetector.cpp
aad4011d4894f89484c196399d0f773db61b2589
[]
no_license
liufangzheng2017/WindmillDetector
d401bf2be7179a27329d1287874f0eb641e4fb26
aaa14c4c395f2910a6de8539aba8cd6a2fc6dd0e
refs/heads/master
2020-07-10T16:32:01.408351
2019-08-25T15:19:55
2019-08-25T15:19:55
204,311,881
0
0
null
null
null
null
UTF-8
C++
false
false
5,825
cpp
#include "Main.h" WindmillDetector::WindmillDetector() { try { m_stgRead.open("Settings.yaml", cv::FileStorage::READ); } catch (...) { std::cerr << "[Error] E0004 An exception occurred while loading Settings.yaml." << std::endl; std::cerr << "[Trace] Thrown at WindmillDetector::WindmillDetector()." << std::endl; exit(4); } if (m_stgRead.isOpened() == false) { std::cerr << "[Error] E0002 Settings.yaml is inaccessible." << std::endl; std::cerr << "[Trace] Thrown at WindmillDetector::WindmillDetector()." << std::endl; exit(2); } int tmpStgRead = m_stgRead["ColourIsRed"]; if (tmpStgRead == 0) { m_clrRed = false; } else if (tmpStgRead == 1) { m_clrRed = true; } else { std::cerr << "[Warning] W0002 Field ColourIsRed has an unexpected value, using 0 instead." << std::endl; std::cerr << "[ Trace] Raised at WindmillDetector::WindmillDetector()." << std::endl; m_clrRed = false; } std::cout << "[Output] Initializing. Users are resposible for validity of Settings.yaml." << std::endl; f_SetMembers(); m_stgRead.release(); } int WindmillDetector::Detect(void) { std::chrono::steady_clock::time_point clkPast, clkNow; std::chrono::microseconds clkSpan; clkPast = std::chrono::steady_clock::now(); std::vector<cv::Vec4i> ctrHierarchy; std::vector<std::vector<cv::Point2i>> ctrSet; cv::Mat imgSource, imgProcessed; m_vidRead >> imgSource; if (imgSource.empty()) { std::cerr << "[Warning] W0001 Source image is empty." << std::endl; std::cerr << "[ Trace] Raised at WindmillDetector::Detect." << std::endl; return 1; } cv::resize(imgSource, imgSource, cv::Size((int)(0.5 * imgSource.cols), (int)(0.5 * imgSource.rows))); cv::cvtColor(imgSource, imgProcessed, cv::COLOR_BGR2HSV); cv::inRange(imgProcessed, cv::Scalar(m_clrThresL[H], m_clrThresL[S], m_clrThresL[V]), cv::Scalar(m_clrThresH[H], m_clrThresH[S], m_clrThresH[V]), imgProcessed); cv::dilate(imgProcessed, imgProcessed, cv::getStructuringElement(cv::MORPH_RECT, cv::Size(2, 2)), cv::Point(-1, -1), 1); cv::findContours(imgProcessed, ctrSet, ctrHierarchy, cv::RETR_TREE, cv::CHAIN_APPROX_NONE); for (int i = 0, iBackup = 0; i < ctrSet.size(); i++) { if (ctrHierarchy[i][Parent] >= 0) continue; if (ctrHierarchy[i][Child] < 0) continue; if (cv::contourArea(ctrSet[i]) < m_tgtAreaMin || cv::contourArea(ctrSet[i]) > m_tgtAreaMax) continue; iBackup = i; i = ctrHierarchy[i][Child]; while (i >= 0) { cv::RotatedRect tgtBounding = cv::minAreaRect(ctrSet[i]); cv::Point2f tgtVertices[4]; if (cv::contourArea(ctrSet[i]) < m_tgtAreaMin || cv::contourArea(ctrSet[i]) > m_tgtAreaMax) { i = ctrHierarchy[i][Next]; continue; } float tgtHeight = tgtBounding.size.height, tgtWidth = tgtBounding.size.width; if (tgtHeight > tgtWidth) { float t = tgtHeight; tgtHeight = tgtWidth; tgtWidth = t; } float tgtSize = tgtHeight * tgtWidth; float tgtHwRatio = tgtWidth / tgtHeight; if (m_tgtAreaMin < tgtSize && tgtSize < m_tgtAreaMax && tgtHwRatio < m_tgtHwRatioMax) { if (fabs(m_tgtPast.x - tgtBounding.center.x) > m_tgtBiasXMax || fabs(m_tgtPast.y - tgtBounding.center.y) > m_tgtBiasYMax) { m_Delayer++; if (m_Delayer < m_DelayerMax) break; } m_Delayer = 0; m_tgtPast = tgtBounding.center; tgtBounding.points(tgtVertices); cv::line(imgSource, tgtVertices[0], tgtVertices[1], m_clrRendering, 2); cv::line(imgSource, tgtVertices[1], tgtVertices[2], m_clrRendering, 2); cv::line(imgSource, tgtVertices[2], tgtVertices[3], m_clrRendering, 2); cv::line(imgSource, tgtVertices[3], tgtVertices[0], m_clrRendering, 2); i = iBackup; break; } i = ctrHierarchy[i][Next]; } i = iBackup; } clkNow = std::chrono::steady_clock::now(); clkSpan = std::chrono::duration_cast<std::chrono::microseconds>(clkNow - clkPast); std::cout << "[Output] It took " << clkSpan.count() / 1000 << " millisecond(s) to finish detection." << std::endl; cv::imshow("imgSource", imgSource); cv::imshow("imgProcessed", imgProcessed); cv::waitKey(); return 0; } void WindmillDetector::f_SetMembers(void) { m_vidPath = (std::string)m_stgRead["VideoPath"]; if (m_vidPath.empty()) { std::cerr << "[Error] E0001 VideoPath in Settings.yaml is empty." << std::endl; std::cerr << "[Trace] Thrown at WindmillDetector::WindmillDetector()." << std::endl; exit(1); } m_vidRead.open(m_vidPath); if (m_vidRead.isOpened() == false) { std::cerr << "[Error] E0003 Cannot open video specified in Settings.yaml." << std::endl; std::cerr << "[Trace] Thrown at WindmillDetector::WindmillDetector()." << std::endl; exit(3); } if (m_clrRed == true) { m_clrThresL[H] = m_stgRead["ColourThresLRedH"]; m_clrThresL[S] = m_stgRead["ColourThresLRedS"]; m_clrThresL[V] = m_stgRead["ColourThresLRedV"]; m_clrThresH[H] = m_stgRead["ColourThresHRedH"]; m_clrThresH[S] = m_stgRead["ColourThresHRedS"]; m_clrThresH[V] = m_stgRead["ColourThresHRedV"]; m_clrRendering = cv::Scalar(255, 255, 0); } else { m_clrThresL[H] = m_stgRead["ColourThresLBlueH"]; m_clrThresL[S] = m_stgRead["ColourThresLBlueS"]; m_clrThresL[V] = m_stgRead["ColourThresLBlueV"]; m_clrThresH[H] = m_stgRead["ColourThresHBlueH"]; m_clrThresH[S] = m_stgRead["ColourThresHBlueS"]; m_clrThresH[V] = m_stgRead["ColourThresHBlueV"]; m_clrRendering = cv::Scalar(0, 0, 255); } m_tgtAreaMin = m_stgRead["BoundingAreaMin"]; m_tgtAreaMax = m_stgRead["BoundingAreaMax"]; m_tgtBiasXMax = m_stgRead["BiasXMax"]; m_tgtBiasYMax = m_stgRead["BiasYMax"]; m_tgtHwRatioMax = m_stgRead["HwRatioMax"]; m_DelayerMax = m_stgRead["Delayer"]; m_Delayer = 0; m_tgtPast = cv::Point2i(0, 0); }
[ "noreply@github.com" ]
liufangzheng2017.noreply@github.com
c14b01af66df1df3d145ddf65e2d14cc663cb00c
5d4bbc4ba9ab0ddf8a44034ad1a8f3cf0ee274a3
/findFirstAndLastPositionOfElementInSortedArrray.cpp
8897d8cde50b085152ea2b74abae98ffab8e10b1
[]
no_license
a5batra/LeetCode-Solutions-in-C-plus-plus
eda25d641859d8da193825cf06fd7db845862224
2124763fce4b5f7c150c95578bf972fbba3d3b50
refs/heads/master
2021-12-08T21:41:11.234971
2021-08-11T20:43:13
2021-08-11T20:43:13
243,896,276
1
0
null
null
null
null
UTF-8
C++
false
false
1,985
cpp
// // Created by Ankit Batra on 11/22/20. // /* Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. * If target is not found in the array, return [-1, -1]. * Follow up: Could you write an algorithm with O(log n) runtime complexity? */ #include <iostream> #include <sstream> #include <vector> using std::string; using std::vector; class Solution { public: static int binarySearch(vector<int>& nums, int target, string s) { int low = 0; int high = nums.size() - 1; int mid = 0; int result = -1; while (low <= high) { mid = low + (high - low) / 2; if (nums[mid] == target) { result = mid; if (s == "first") high = mid - 1; else low = mid + 1; } else if (nums[mid] < target) low = mid + 1; else high = mid - 1; } return result; } static vector<int> searchRange(vector<int>& nums, int target) { vector<int> indices = {-1, -1}; int first = binarySearch(nums, target, "first"); int last = binarySearch(nums, target, "last"); if (first == -1 || last == -1) return indices; indices[0] = first; indices[1] = last; return indices; } }; int main() { int number; string line; vector<int> nums; int target; vector<int> indices; std::cout << "Enter the elements of array separated by space: " << std::endl; std::getline(std::cin, line); std::istringstream stream(line); while (stream >> number) { nums.push_back(number); } std::cout << "Enter the target value: " << std::endl; std::cin >> target; indices = Solution::searchRange(nums, target); std::cout << "Result: " << std::endl; for (int i = 0; i < indices.size(); ++i) { std::cout << indices[i] << " " ; } return 0; }
[ "a5batra@ucsd.edu" ]
a5batra@ucsd.edu
703b70c7ffaec58cd528fe1fe06f291be209e965
56fcab9393f0ec379e2abb00d2d8eda36f64e823
/uintah/kokkos_src_original/.svn/pristine/70/703b70c7ffaec58cd528fe1fe06f291be209e965.svn-base
224b22c0e7f744360df6079f622dd72bc1591b19
[ "MIT", "CC-BY-4.0" ]
permissive
damu1000/hypre_ep
4a13a5545ac90b231ca9e0f29f23f041f344afb9
a6701de3d455fa4ee95ac7d79608bffa3eb115ee
refs/heads/master
2023-04-11T11:38:21.157249
2021-08-16T21:50:44
2021-08-16T21:50:44
41,874,948
2
1
null
null
null
null
UTF-8
C++
false
false
9,250
/* * The MIT License * * Copyright (c) 2016-2017 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/Wasatch/Transport/SootParticleTransportEquation.h> #include <CCA/Components/Wasatch/Operators/OperatorTypes.h> #include <CCA/Components/Wasatch/ParseTools.h> #include <CCA/Components/Wasatch/TagNames.h> #include <CCA/Components/Wasatch/Expressions/DiffusiveVelocity.h> // includes for soot source terms #include <CCA/Components/Wasatch/Expressions/TarAndSoot/SootAgglomerationRate.h> #include <CCA/Components/Wasatch/Transport/TarAndSootInfo.h> #include <Core/Exceptions/ProblemSetupException.h> namespace WasatchCore{ typedef SpatialOps::SVolField FieldT; EqnTimestepAdaptorBase* setup_soot_particle_equation( Uintah::ProblemSpecP params, const TurbulenceParameters& turbParams, const Expr::Tag densityTag, GraphCategories& gc ) { const TagNames& tagNames = TagNames::self(); Expr::ExpressionFactory& icFactory = *gc[INITIALIZATION ]->exprFactory; proc0cout << "Setting up transport equation for soot particle number density" << std::endl; SootParticleTransportEquation* sootEqn = scinew SootParticleTransportEquation( params, gc, densityTag, turbParams); // default to zero mass fraction unless specified otherwise const Expr::Tag numberDensityTag = tagNames.sootParticleNumberDensity; if( !icFactory.have_entry( numberDensityTag ) ){ icFactory.register_expression( scinew Expr::ConstantExpr<FieldT>::Builder(numberDensityTag ,0.0) ); } //_____________________________________________________ // set up initial conditions on this equation try{ GraphHelper* const icGraphHelper = gc[INITIALIZATION]; icGraphHelper->rootIDs.insert( sootEqn->initial_condition( *icGraphHelper->exprFactory ) ); } catch( std::runtime_error& e ){ std::ostringstream msg; msg << e.what() << std::endl << "ERROR while setting initial conditions on soot particle number density" << std::endl; throw Uintah::ProblemSetupException( msg.str(), __FILE__, __LINE__ ); } return new EqnTimestepAdaptor<FieldT>(sootEqn); } //=========================================================================== SootParticleTransportEquation:: SootParticleTransportEquation( Uintah::ProblemSpecP params, GraphCategories& gc, const Expr::Tag densityTag, const TurbulenceParameters& turbulenceParams ) : PseudospeciesTransportEquation<SVolField>( TagNames::self().sootParticleNumberDensity.name(), params, gc, densityTag, turbulenceParams, false ), densityTag_ ( densityTag ), sootAgglomRateTag_( TagNames::self().sootAgglomerationRate ) { setup(); } //--------------------------------------------------------------------------- SootParticleTransportEquation::~SootParticleTransportEquation() {} //--------------------------------------------------------------------------- void SootParticleTransportEquation:: setup_diffusive_flux( FieldTagInfo& info ) { typedef DiffusiveVelocity< SpatialOps::SSurfXField >::Builder XFlux; typedef DiffusiveVelocity< SpatialOps::SSurfYField >::Builder YFlux; typedef DiffusiveVelocity< SpatialOps::SSurfZField >::Builder ZFlux; Uintah::ProblemSpecP momentumSpec = params_->findBlock("MomentumEquations"); std::string dummyName; Expr::Tag advVelocityTag; const bool doX = momentumSpec->get( "X-Velocity", dummyName ); const bool doY = momentumSpec->get( "Y-Velocity", dummyName ); const bool doZ = momentumSpec->get( "Z-Velocity", dummyName ); const double diffCoeff = 0.0; // soot molecular diffusivity is effectively zero. const TagNames& tagNames = TagNames::self(); const Expr::Tag xDiffFluxTag( solnVarName_ + tagNames.diffusiveflux + "x", Expr::STATE_NONE ); const Expr::Tag yDiffFluxTag( solnVarName_ + tagNames.diffusiveflux + "y", Expr::STATE_NONE ); const Expr::Tag zDiffFluxTag( solnVarName_ + tagNames.diffusiveflux + "z", Expr::STATE_NONE ); Expr::ExpressionFactory& factory = *gc_[ADVANCE_SOLUTION]->exprFactory; if( doX ){ info[DIFFUSIVE_FLUX_X]=xDiffFluxTag; factory.register_expression( scinew XFlux( xDiffFluxTag, primVarTag_, diffCoeff, turbDiffTag_ ) ); } if( doY ){ info[DIFFUSIVE_FLUX_Y]=yDiffFluxTag; factory.register_expression( scinew YFlux( yDiffFluxTag, primVarTag_, diffCoeff, turbDiffTag_ ) ); } if( doZ ){ info[DIFFUSIVE_FLUX_Z]=zDiffFluxTag; factory.register_expression( scinew ZFlux( zDiffFluxTag, primVarTag_, diffCoeff, turbDiffTag_ ) ); } // if doing convection, we will likely have a pressure solve that requires // predicted scalar values to approximate the density time derivatives if( params_->findBlock("MomentumEquations") ){ const std::string& suffix = tagNames.star; const Expr::Tag xFluxTagNew ( solnVarName_ + suffix + tagNames.diffusiveflux + "x", Expr::STATE_NONE ); const Expr::Tag yFluxTagNew ( solnVarName_ + suffix + tagNames.diffusiveflux + "y", Expr::STATE_NONE ); const Expr::Tag zFluxTagNew ( solnVarName_ + suffix + tagNames.diffusiveflux + "z", Expr::STATE_NONE ); const Expr::Tag primVarTagNew( primVarTag_.name() + suffix, Expr::STATE_NONE ); if( doX ){ infoStar_[DIFFUSIVE_FLUX_X]=xFluxTagNew; factory.register_expression( scinew XFlux( xFluxTagNew, primVarTagNew, diffCoeff, turbDiffTag_ ) ); } if( doY ){ infoStar_[DIFFUSIVE_FLUX_Y]=yFluxTagNew; factory.register_expression( scinew YFlux( yFluxTagNew, primVarTagNew, diffCoeff, turbDiffTag_ ) ); } if( doZ ){ infoStar_[DIFFUSIVE_FLUX_Z]=zFluxTagNew; factory.register_expression( scinew ZFlux( zFluxTagNew, primVarTagNew, diffCoeff, turbDiffTag_ ) ); } } } //--------------------------------------------------------------------------- void SootParticleTransportEquation:: setup_source_terms( FieldTagInfo& info, Expr::TagList& srcTags ) { assert( srcTags.empty() ); TagNames tagNames = TagNames::self(); TarAndSootInfo tsInfo = TarAndSootInfo::self(); // define tags we'll need here const std::string suffix = "_src_formation"; const Expr::Tag particleSrcTag( primVarTag_.name() + suffix, Expr::STATE_NONE ); const Expr::Tag tempTag = tagNames.temperature; const Expr::Tag sootTag = tagNames.soot; const Expr::Tag sootFormRateTag = tagNames.sootFormationRate; Expr::ExpressionFactory& factory = *gc_[ADVANCE_SOLUTION]->exprFactory; // soot particle agglomeration rate (particles/second): typedef SootAgglomerationRate<FieldT>::Builder SootAgglomRate; factory.register_expression( scinew SootAgglomRate( sootAgglomRateTag_, densityTag_, tempTag, sootTag, primVarTag_, tsInfo.sootDensity ) ); const double mwCarbon = 12.01e-3; // kg/mol const double avagadro = 6.022e23; // 1/mol const double incipientMass = tsInfo.cMin*mwCarbon/avagadro; // mass per incipient soot particle // calculate production rates of species participating in soot oxidation and typedef Expr::LinearFunction<FieldT>::Builder LinFun; // soot particle formation rate (particles/second): factory.register_expression( scinew LinFun( particleSrcTag , sootFormRateTag, 1./incipientMass, 0) ); srcTags.push_back(particleSrcTag); } //--------------------------------------------------------------------------- Expr::ExpressionID SootParticleTransportEquation:: setup_rhs( FieldTagInfo& info, Expr::TagList& srcTags ) { Expr::ExpressionID rhsID = PseudospeciesTransportEquation<FieldT>::setup_rhs( info, srcTags); // agglomeration is a sink term for the soot particle number density so it is not added to srcTags Expr::ExpressionFactory& factory = *gc_[ADVANCE_SOLUTION]->exprFactory; factory.attach_dependency_to_expression( sootAgglomRateTag_, rhs_tag(), Expr::SUBTRACT_SOURCE_EXPRESSION ); return rhsID; } //--------------------------------------------------------------------------- } /* namespace WasatchCore */
[ "damodars@sci.utah.edu" ]
damodars@sci.utah.edu
5d4d1546b25c8845bca12341157b336bbc3cfebf
339f4d197f735089f85784dc6e853c5ac046aff8
/src/utils.cpp
9122d5c842ee2622a6d429a42b22619c981e2e63
[ "Apache-2.0" ]
permissive
nmaupu/yokis-hack
722d741109bb5c89de33d23f5e8335502cbb00f2
c876cd3e2a56de171a49c5d66bc662cedfa92443
refs/heads/master
2022-03-09T13:49:19.995083
2022-02-22T17:52:58
2022-02-22T17:52:58
227,478,708
15
5
Apache-2.0
2022-02-22T17:42:39
2019-12-11T23:19:52
C++
UTF-8
C++
false
false
510
cpp
#include "utils.h" #include "globals.h" #include <Arduino.h> void printBinaryRepresentation(uint8_t n, bool leadingZero = false) { char buf[8 * sizeof(uint8_t) + 1]; // Assumes 8-bit chars plus zero byte. char* str = &buf[sizeof(buf) - 1]; uint8_t nb = 0; *str = '\0'; do { nb++; char c = n % 2; n /= 2; *--str = c < 10 ? c + '0' : c + 'A' - 10; } while (n); while (nb++ < 8 && leadingZero) { *--str = '0'; } LOG.print(str); }
[ "nmaupu@gmail.com" ]
nmaupu@gmail.com
4fddc89eb407acb61b9b8eb19d1f4ea79cbaaaba
b4660cc8fa3ce045508105fa52228a98fa19a87d
/src/usage_stats/usage_stats.h
4e009a18e689890d8118df7402c9007e79d05adf
[ "BSD-3-Clause", "LicenseRef-scancode-unicode", "LicenseRef-scancode-public-domain" ]
permissive
hnakamur/mozc-deb
81e9b561863e57da73aa9ba90d24ff5d0bca480b
a0d6db21786ae7fc54806714cbeca6c7c74cbd36
refs/heads/master
2021-04-15T09:32:03.635220
2018-05-04T10:09:23
2018-05-04T10:09:23
126,575,465
0
1
null
null
null
null
UTF-8
C++
false
false
4,504
h
// Copyright 2010-2016, Google 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: // // * 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 Google Inc. 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 // OWNER 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. #ifndef MOZC_USAGE_STATS_USAGE_STATS_H_ #define MOZC_USAGE_STATS_USAGE_STATS_H_ #include <map> #include <string> #include <vector> #include "base/port.h" #include "usage_stats/usage_stats.pb.h" namespace mozc { namespace usage_stats { typedef std::map<uint32, Stats::TouchEventStats> TouchEventStatsMap; class UsageStats { public: // Updates count value // Increments val to current value static void IncrementCountBy(const string &name, uint32 val); static void IncrementCount(const string &name) { IncrementCountBy(name, 1); } // Updates timing value // Updates current value using given val static void UpdateTiming(const string &name, uint32 val); // Sets integer value // Replaces old value with val static void SetInteger(const string &name, int val); // Sets boolean value // Replaces old value with val static void SetBoolean(const string &name, bool val); // Returns true if given stats name is in the stats list // (for debugging) static bool IsListed(const string &name); // Stores virtual keyboard touch event stats. // The map "touch_stats" structure is as following // (keyboard_name_01 : (source_id_1 : TouchEventStats, // source_id_2 : TouchEventStats, // source_id_3 : TouchEventStats), // keyboard_name_02 : (source_id_1 : TouchEventStats, // source_id_2 : TouchEventStats, // source_id_3 : TouchEventStats)) static void StoreTouchEventStats( const string &name, const std::map<string, TouchEventStatsMap> &touch_stats); // Synchronizes (writes) usage data into disk. Returns false on failure. static bool Sync(); // Clears existing data exept for Integer and Boolean stats. static void ClearStats(); // Clears all data. static void ClearAllStatsForTest(); // NOTE: These methods are for unit tests. // Reads a value from registry, and sets it in the value. // Returns true if all steps go successfully. // NULL pointers are accetable for the target arguments of GetTimingForTest(). static bool GetCountForTest(const string &name, uint32 *value); static bool GetIntegerForTest(const string &name, int32 *value); static bool GetBooleanForTest(const string &name, bool *value); static bool GetTimingForTest(const string &name, uint64 *total_time, uint32 *num_timings, uint32 *avg_time, uint32 *min_time, uint32 *max_time); static bool GetVirtualKeyboardForTest(const string &name, Stats *stats); // This method doesn't check type of the stats. static bool GetStatsForTest(const string &name, Stats *stats); private: DISALLOW_IMPLICIT_CONSTRUCTORS(UsageStats); }; } // namespace usage_stats } // namespace mozc #endif // MOZC_USAGE_STATS_USAGE_STATS_H_
[ "hnakamur@gmail.com" ]
hnakamur@gmail.com
0204c1b3106fa8cb81795f46b875119cd008c3d5
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_13135.cpp
a91cb4303fc3990e4e9cf8112a3bcb3f266b37c3
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
510
cpp
{ unsigned char x; if (p[0] >= 'a' && p[0] <= 'z') x = (p[0] - 'a' + 0x0a) << 4; else if (p[0] >= 'A' && p[0] <= 'Z') x = (p[0] - 'A' + 0x0a) << 4; else if (p[0] >= '0' && p[0] <= '9') x = (p[0] - '0') << 4; else return (-1); if (p[1] >= 'a' && p[1] <= 'z') x |= p[1] - 'a' + 0x0a; else if (p[1] >= 'A' && p[1] <= 'Z') x |= p[1] - 'A' + 0x0a; else if (p[1] >= '0' && p[1] <= '9') x |= p[1] - '0'; else return (-1); *b++ = x; bsize--; p += 2; psize -= 2; }
[ "993273596@qq.com" ]
993273596@qq.com
0f51d8f25f7ce89113e968c6515b1af60b131e5a
58bffd767c9c2fb289c48217eb1f1a4a3b610e31
/cpp/junk.hpp
5bd3a4f46756b080a183700c4fcbc1b51f785e77
[]
no_license
Grahack/wisp-1
e4b443f7f0b819890f60902a1583248de2459dc6
9d97db7bc3b92d01f9fd61c097b4836714f8c4d9
refs/heads/master
2021-01-21T08:46:11.921038
2013-05-27T19:27:31
2013-05-27T19:27:31
14,207,988
2
0
null
null
null
null
UTF-8
C++
false
false
3,763
hpp
#pragma once // some code that i wrote, that may or may not become useful in the future #include "alloc.hpp" #include "object.hpp" #include <boost/functional/hash.hpp> namespace harkon { // hmm is this even useful? template<class T> class gc_alloc { public: // type definitions typedef T value_type; typedef T* pointer; typedef const T* const_pointer; typedef T& reference; typedef const T& const_reference; typedef std::size_t size_type; typedef std::ptrdiff_t difference_type; // rebind allocator to type U template<class U> struct rebind { typedef gc_alloc<U> other; }; // return address of values pointer address(reference value) const { return &value; } const_pointer address(const_reference value) const { return &value; } /* constructors and destructor * - nothing to do because the allocator has no state */ gc_alloc() throw () { } gc_alloc(const gc_alloc&) throw () { } template<class U> gc_alloc(const gc_alloc<U>&) throw () { } ~gc_alloc() throw () { } // return maximum number of elements that can be allocated size_type max_size() const throw () { return std::numeric_limits<std::size_t>::max() / sizeof(T); } // allocate but don't initialize num elements of type T pointer allocate(size_type num, const void* = 0) { return (pointer) (GC_ALLOC(num * sizeof(T))); } // initialize elements of allocated storage p with value value void construct(pointer p, const T& value) { // initialize memory with placement new new ((void*) p) T(value); } // destroy elements of initialized storage p void destroy(pointer p) { p->~T(); } // deallocate storage p of deleted elements void deallocate(pointer p, size_type num) { } }; // return that all specializations of this allocator are interchangeable template<class T1, class T2> bool operator==(const gc_alloc<T1>&, const gc_alloc<T2>&) throw () { return true; } template<class T1, class T2> bool operator!=(const gc_alloc<T1>&, const gc_alloc<T2>&) throw () { return false; } // TODO: should this be seeded? struct hash_value_visitor: boost::static_visitor<std::size_t> { std::size_t operator()(bool b) const { return boost::hash_value(b); } std::size_t operator()(char c) const { return boost::hash_value(c); } std::size_t operator()(int i) const { return boost::hash_value(i); } std::size_t operator()(nil n) const { return hash_value(n); } std::size_t operator()(symbol const& s) const { return hash_value(s); } std::size_t operator()(string const& ps) { return hash_value(ps); } std::size_t operator()(object_list const& pl) const { return hash_value(pl); } }; inline std::size_t hash_value(object const& o) { hash_value_visitor visitor; return boost::apply_visitor(visitor, o); } inline std::size_t hash_value(symbol const& s) { std::size_t seed = 0x3BB65E2A; // random arbitrary number boost::hash_combine(seed, hash_value(static_cast<persistent::string>(s))); return seed; } inline std::size_t hash_value(string const& s) { std::size_t seed = 0xEF13F20E; // random arbitrary number boost::hash_combine(seed, hash_value(static_cast<persistent::string>(s))); return seed; } inline std::size_t hash_value(object_list const& ol) { std::size_t seed = 0x4AA3BC2E; for (object_list::const_iterator it(ol.begin()); it != ol.end(); ++it) { boost::hash_combine(seed, hash_value(*it)); } return seed; } inline std::size_t hash_value(nil) { return 0x0DD63634; } }
[ "ericwspringer@gmail.com" ]
ericwspringer@gmail.com
ab8bc2ca0ea37f8ad96e18ba2689b4b4b1b99a5d
d364a3bf6f43a16ef6bf0ead96828dc671d6f554
/narcissist/include/narcissist/narcissist.hpp
451cf32b80d3defd632dda916a1617f538313217
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistys01/narcissist
8e22db53042625c88c0b10eeda644997632a34ec
5dff539a607a089135e2b433da0c01fc02ed3181
refs/heads/master
2020-03-28T19:11:42.895103
2018-03-31T10:06:13
2018-03-31T10:07:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
138
hpp
#pragma once #include <secp256k1.h> namespace Narcissist { extern secp256k1_context *secp256k1ctx; void setup(); void destroy(); }
[ "matthew@incognito.host" ]
matthew@incognito.host
72f532c2fe42837e95ea871bf172b864298e4c5c
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/src/protocols/jd3/chunk_library_inputters/PDBChunkLibraryInputter.hh
570b086b554ed6448f8073cfdf6d99ae400880a5
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
C++
false
false
3,330
hh
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // (c) Copyright Rosetta Commons Member Institutions. // (c) This file is part of the Rosetta software suite and is made available under license. // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. // (c) For more information, see http://www.rosettacommons.org. Questions about this can be // (c) addressed to University of Washington CoMotion, email: license@uw.edu. /// @file protocols/jd3/chunk_library_inputters/PDBChunkLibraryInputter.hh /// @brief Declaration of the %PDBChunkLibraryInputter class for initializing Poses from .pdb or .pdb.gz files /// @author Andrew Leaver-Fay (aleaverfay@gmail.com) /// @author Steven Lewis (smlewi@gmail.com) #ifndef INCLUDED_protocols_jd3_chunk_library_inputters_PDBChunkLibraryInputter_HH #define INCLUDED_protocols_jd3_chunk_library_inputters_PDBChunkLibraryInputter_HH // Unit headers #include <protocols/jd3/chunk_library_inputters/PDBChunkLibraryInputter.fwd.hh> // Package headers #include <protocols/jd3/chunk_library_inputters/ChunkLibraryInputter.hh> // Project headers #include <core/pose/Pose.fwd.hh> //utility headers #include <utility/options/keys/OptionKey.fwd.hh> #include <utility/vector1.hh> #include <utility/tag/Tag.fwd.hh> #include <utility/tag/XMLSchemaGeneration.fwd.hh> namespace protocols { namespace jd3 { namespace chunk_library_inputters { /// @brief This is the simplest implementation of ChunkLibraryInputter, which reads from -s/-l and PDB files. class PDBChunkLibraryInputter : public ChunkLibraryInputter { public: PDBChunkLibraryInputter(); virtual ~PDBChunkLibraryInputter(); bool job_available_on_command_line() const override; /// @brief Constructs a list of ChunkLibraryInputSource objects reading from the /// -s or -l command line flags. This stores the names of the PDBs that /// are to be read in, and it initializes the input tags based on the pdb /// names, stripping the path and the extension from the file name. ChunkLibraryInputSources chunk_library_input_sources_from_command_line() override; ChunkLibraryInputSources chunk_library_input_sources_from_tag( utility::options::OptionCollection const & opts, utility::tag::TagCOP tag ) override; /// @brief Takes a ChunkLibraryInputSource object previously initialized in the /// call to initialize_chunk_library_input_sources() core::pose::PoseOP chunk_library_from_input_source( ChunkLibraryInputSource const &, utility::options::OptionCollection const &, utility::tag::TagCOP tag // possibly null-pointing tag pointer ) override; /// @brief returns the name for the element that will be used in a job-definition /// file for a structure originating from a .pdb file: "PDB" static std::string keyname(); /// @brief returns the schema for the PDB element used in a job-definition file /// including all options that govern how a PDB is loaded. static void provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd ); static void list_options_read( utility::options::OptionKeyList & read_options ); }; // PDBChunkLibraryInputter } // namespace chunk_library_inputters } // namespace jd3 } // namespace protocols #endif //INCLUDED_protocols_jd3_PDBChunkLibraryInputter_HH
[ "36790013+MedicaicloudLink@users.noreply.github.com" ]
36790013+MedicaicloudLink@users.noreply.github.com
79e8f8ca8dea145d905ee6531b7db47f8883d66b
5667daf99e88353f63c7d1241da5f3c62679273a
/Examples_3/Unit_Tests/src/10_PixelProjectedReflections/10_PixelProjectedReflections.cpp
64387b5b025ddde21ba5b719da3211ff732cd4a8
[ "Apache-2.0" ]
permissive
GeneralGDA/The-Forge
f5516ae9fe2e07904061450494d020deebd6da5b
6e70720da6bf2dee53a47094ecef8dae9ccf68a1
refs/heads/master
2020-04-04T15:39:04.735469
2018-11-18T11:33:06
2018-11-18T11:33:06
156,046,068
0
0
null
2018-11-04T03:33:17
2018-11-04T03:33:17
null
UTF-8
C++
false
false
95,207
cpp
/* * * Copyright (c) 2018 Confetti Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ // Unit Test for testing materials and pbr. //asimp importer #include "../../../../Common_3/Tools/AssimpImporter/AssimpImporter.h" //tiny stl #include "../../../../Common_3/ThirdParty/OpenSource/TinySTL/vector.h" #include "../../../../Common_3/ThirdParty/OpenSource/TinySTL/string.h" //Interfaces #include "../../../../Common_3/OS/Interfaces/ICameraController.h" #include "../../../../Common_3/OS/Interfaces/ILogManager.h" #include "../../../../Common_3/OS/Interfaces/IFileSystem.h" #include "../../../../Common_3/OS/Interfaces/ITimeManager.h" #include "../../../../Middleware_3/UI/AppUI.h" #include "../../../../Common_3/OS/Core/DebugRenderer.h" #include "../../../../Common_3/Renderer/IRenderer.h" #include "../../../../Common_3/Renderer/ResourceLoader.h" #include "../../../../Common_3/OS/Interfaces/IApp.h" //Renderer #include "../../../../Common_3/Renderer/GpuProfiler.h" //Math #include "../../../../Common_3/OS/Math/MathTypes.h" //ui #include "../../../../Middleware_3/UI/AppUI.h" #include "../../../../Common_3/OS/Core/DebugRenderer.h" //Input #include "../../../../Middleware_3/Input/InputSystem.h" #include "../../../../Middleware_3/Input/InputMappings.h" #include "../../../../Common_3/OS/Interfaces/IMemoryManager.h" const char* pszBases[] = { "../../../src/10_PixelProjectedReflections/", // FSR_BinShaders "../../../src/10_PixelProjectedReflections/", // FSR_SrcShaders "", // FSR_BinShaders_Common "", // FSR_SrcShaders_Common "../../../../../Art/Sponza/", // FSR_Textures "../../../../../Art/Sponza/", // FSR_Meshes "../../../UnitTestResources/", // FSR_Builtin_Fonts "../../../src/10_PixelProjectedReflections/", // FSR_GpuConfig "", // FSR_OtherFiles }; LogManager gLogManager; #define MAX_IN_ROW 4 #define TOTAL_SPHERE 16 #define DEFERRED_RT_COUNT 3 #define LOAD_MATERIAL_BALL #define MAX_PLANES 4 #define DegToRad 0.01745329251994329576923690768489f; struct Vertex { float3 mPos; float3 mNormal; float2 mUv; }; // Have a uniform for camera data struct UniformCamData { mat4 mProjectView; vec3 mCamPos; }; // Have a uniform for extended camera data struct UniformExtendedCamData { mat4 mViewMat; mat4 mProjMat; mat4 mViewProjMat; mat4 mInvViewProjMat; vec4 mCameraWorldPos; vec4 mViewPortSize; }; // Have a uniform for PPR properties struct UniformPPRProData { uint renderMode; float useHolePatching; float useExpensiveHolePatching; float useNormalMap; float intensity; float useFadeEffect; float padding01; float padding02; }; // Have a uniform for object data struct UniformObjData { mat4 mWorldMat; float mRoughness = 0.04f; float mMetallic = 0.0f; int pbrMaterials = -1; }; struct Light { vec4 mPos; vec4 mCol; float mRadius; float mIntensity; float _pad0; float _pad1; }; struct UniformLightData { // Used to tell our shaders how many lights are currently present Light mLights[16]; // array of lights seem to be broken so just a single light for now int mCurrAmountOfLights = 0; }; struct DirectionalLight { vec4 mPos; vec4 mCol; //alpha is the intesity vec4 mDir; }; struct UniformDirectionalLightData { // Used to tell our shaders how many lights are currently present DirectionalLight mLights[16]; // array of lights seem to be broken so just a single light for now int mCurrAmountOfDLights = 0; }; struct PlaneInfo { mat4 rotMat; vec4 centerPoint; vec4 size; }; struct UniformPlaneInfoData { PlaneInfo planeInfo[MAX_PLANES]; uint32_t numPlanes; uint32_t pad00; uint32_t pad01; uint32_t pad02; }; enum { SCENE_ONLY = 0, PPR_ONLY = 1, SCENE_WITH_PPR = 2, SCENE_EXCLU_PPR = 3, }; static bool gUseHolePatching = true; static bool gUseExpensiveHolePatching = true; static bool gUseNormalMap = false; static bool gUseFadeEffect = true; static uint32_t gRenderMode = SCENE_WITH_PPR; static uint32_t gPlaneNumber = 1; static float gPlaneSize = 75.0f; static float gRRP_Intensity = 0.2f; const char* pMaterialImageFileNames[] = { "SponzaPBR_Textures/ao.png", "SponzaPBR_Textures/ao.png", "SponzaPBR_Textures/ao.png", "SponzaPBR_Textures/ao.png", "SponzaPBR_Textures/ao.png", //common "SponzaPBR_Textures/ao.png", "SponzaPBR_Textures/Dielectric_metallic.tga", "SponzaPBR_Textures/Metallic_metallic.tga", "SponzaPBR_Textures/gi_flag.png", //Background "SponzaPBR_Textures/Background/Background_Albedo.tga", "SponzaPBR_Textures/Background/Background_Normal.tga", "SponzaPBR_Textures/Background/Background_Roughness.tga", //ChainTexture "SponzaPBR_Textures/ChainTexture/ChainTexture_Albedo.tga", "SponzaPBR_Textures/ChainTexture/ChainTexture_Metallic.tga", "SponzaPBR_Textures/ChainTexture/ChainTexture_Normal.tga", "SponzaPBR_Textures/ChainTexture/ChainTexture_Roughness.tga", //Lion "SponzaPBR_Textures/Lion/Lion_Albedo.tga", "SponzaPBR_Textures/Lion/Lion_Normal.tga", "SponzaPBR_Textures/Lion/Lion_Roughness.tga", //Sponza_Arch "SponzaPBR_Textures/Sponza_Arch/Sponza_Arch_diffuse.tga", "SponzaPBR_Textures/Sponza_Arch/Sponza_Arch_normal.tga", "SponzaPBR_Textures/Sponza_Arch/Sponza_Arch_roughness.tga", //Sponza_Bricks "SponzaPBR_Textures/Sponza_Bricks/Sponza_Bricks_a_Albedo.tga", "SponzaPBR_Textures/Sponza_Bricks/Sponza_Bricks_a_Normal.tga", "SponzaPBR_Textures/Sponza_Bricks/Sponza_Bricks_a_Roughness.tga", //Sponza_Ceiling "SponzaPBR_Textures/Sponza_Ceiling/Sponza_Ceiling_diffuse.tga", "SponzaPBR_Textures/Sponza_Ceiling/Sponza_Ceiling_normal.tga", "SponzaPBR_Textures/Sponza_Ceiling/Sponza_Ceiling_roughness.tga", //Sponza_Column "SponzaPBR_Textures/Sponza_Column/Sponza_Column_a_diffuse.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_a_normal.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_a_roughness.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_b_diffuse.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_b_normal.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_b_roughness.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_c_diffuse.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_c_normal.tga", "SponzaPBR_Textures/Sponza_Column/Sponza_Column_c_roughness.tga", //Sponza_Curtain "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Blue_diffuse.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Blue_normal.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Green_diffuse.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Green_normal.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Red_diffuse.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_Red_normal.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_metallic.tga", "SponzaPBR_Textures/Sponza_Curtain/Sponza_Curtain_roughness.tga", //Sponza_Details "SponzaPBR_Textures/Sponza_Details/Sponza_Details_diffuse.tga", "SponzaPBR_Textures/Sponza_Details/Sponza_Details_metallic.tga", "SponzaPBR_Textures/Sponza_Details/Sponza_Details_normal.tga", "SponzaPBR_Textures/Sponza_Details/Sponza_Details_roughness.tga", //Sponza_Fabric "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Blue_diffuse.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Blue_normal.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Green_diffuse.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Green_normal.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_metallic.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_roughness.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Red_diffuse.tga", "SponzaPBR_Textures/Sponza_Fabric/Sponza_Fabric_Red_normal.tga", //Sponza_FlagPole "SponzaPBR_Textures/Sponza_FlagPole/Sponza_FlagPole_diffuse.tga", "SponzaPBR_Textures/Sponza_FlagPole/Sponza_FlagPole_normal.tga", "SponzaPBR_Textures/Sponza_FlagPole/Sponza_FlagPole_roughness.tga", //Sponza_Floor "SponzaPBR_Textures/Sponza_Floor/Sponza_Floor_diffuse.tga", "SponzaPBR_Textures/Sponza_Floor/Sponza_Floor_normal.tga", "SponzaPBR_Textures/Sponza_Floor/Sponza_Floor_roughness.tga", //Sponza_Roof "SponzaPBR_Textures/Sponza_Roof/Sponza_Roof_diffuse.tga", "SponzaPBR_Textures/Sponza_Roof/Sponza_Roof_normal.tga", "SponzaPBR_Textures/Sponza_Roof/Sponza_Roof_roughness.tga", //Sponza_Thorn "SponzaPBR_Textures/Sponza_Thorn/Sponza_Thorn_diffuse.tga", "SponzaPBR_Textures/Sponza_Thorn/Sponza_Thorn_normal.tga", "SponzaPBR_Textures/Sponza_Thorn/Sponza_Thorn_roughness.tga", //Vase "SponzaPBR_Textures/Vase/Vase_diffuse.tga", "SponzaPBR_Textures/Vase/Vase_normal.tga", "SponzaPBR_Textures/Vase/Vase_roughness.tga", //VaseHanging "SponzaPBR_Textures/VaseHanging/VaseHanging_diffuse.tga", "SponzaPBR_Textures/VaseHanging/VaseHanging_normal.tga", "SponzaPBR_Textures/VaseHanging/VaseHanging_roughness.tga", //VasePlant "SponzaPBR_Textures/VasePlant/VasePlant_diffuse.tga", "SponzaPBR_Textures/VasePlant/VasePlant_normal.tga", "SponzaPBR_Textures/VasePlant/VasePlant_roughness.tga", //VaseRound "SponzaPBR_Textures/VaseRound/VaseRound_diffuse.tga", "SponzaPBR_Textures/VaseRound/VaseRound_normal.tga", "SponzaPBR_Textures/VaseRound/VaseRound_roughness.tga", "lion/lion_albedo.png", "lion/lion_specular.png", "lion/lion_normal.png", }; // PBR Texture values (these values are mirrored on the shaders). const uint32_t gBRDFIntegrationSize = 512; const uint32_t gSkyboxSize = 1024; const uint32_t gSkyboxMips = 11; const uint32_t gIrradianceSize = 32; const uint32_t gSpecularSize = 128; const uint32_t gSpecularMips = 5; const uint32_t gImageCount = 3; bool gToggleVSync = false; Renderer* pRenderer = NULL; UIApp gAppUI; Queue* pGraphicsQueue = NULL; CmdPool* pCmdPool = NULL; Cmd** ppCmds = NULL; CmdPool* pPreCmdPool = NULL; Cmd** pPrepCmds = NULL; CmdPool* pBrdfCmdPool = NULL; Cmd** pBrdfCmds = NULL; CmdPool* pPPR_ProjectionCmdPool = NULL; Cmd** pPPR_ProjectionCmds = NULL; CmdPool* pPPR_ReflectionCmdPool = NULL; Cmd** pPPR_ReflectionCmds = NULL; SwapChain* pSwapChain = NULL; RenderTarget* pRenderTargetDeferredPass[DEFERRED_RT_COUNT] = { nullptr }; RenderTarget* pSceneBuffer = NULL; RenderTarget* pReflectionBuffer = NULL; RenderTarget* pDepthBuffer = NULL; Fence* pRenderCompleteFences[gImageCount] = { NULL }; Semaphore* pImageAcquiredSemaphore = NULL; Semaphore* pRenderCompleteSemaphores[gImageCount] = { NULL }; Shader* pShaderBRDF = NULL; Pipeline* pPipelineBRDF = NULL; RootSignature* pRootSigBRDF = NULL; Buffer* pSkyboxVertexBuffer = NULL; Shader* pSkyboxShader = NULL; Pipeline* pSkyboxPipeline = NULL; RootSignature* pSkyboxRootSignature = NULL; Shader* pPPR_ProjectionShader = NULL; RootSignature* pPPR_ProjectionRootSignature = NULL; Pipeline* pPPR_ProjectionPipeline = NULL; #ifdef METAL //used to clear compute shader buffer Shader* pClearBufferShader = NULL; RootSignature* pClearBufferRootSignature = NULL; Pipeline* pClearBufferPipeline = NULL; #endif Shader* pPPR_ReflectionShader = NULL; RootSignature* pPPR_ReflectionRootSignature = NULL; Pipeline* pPPR_ReflectionPipeline = NULL; Shader* pPPR_HolePatchingShader = NULL; RootSignature* pPPR_HolePatchingRootSignature = NULL; Pipeline* pPPR_HolePatchingPipeline = NULL; Buffer* pScreenQuadVertexBuffer = NULL; Shader* pShaderGbuffers = NULL; Pipeline* pPipelineGbuffers = NULL; RootSignature* pRootSigGbuffers = NULL; Texture* pSkybox = NULL; Texture* pBRDFIntegrationMap = NULL; Texture* pIrradianceMap = NULL; Texture* pSpecularMap = NULL; Buffer* pIntermediateBuffer = NULL; #define TOTAL_IMGS 84 Texture* pMaterialTextures[TOTAL_IMGS]; tinystl::vector<int> gSponzaTextureIndexforMaterial; //For clearing Intermediate Buffer tinystl::vector<uint32_t> gInitializeVal; #ifdef TARGET_IOS VirtualJoystickUI gVirtualJoystick; #endif UniformObjData pUniformDataMVP; /************************************************************************/ // Vertex buffers for the model /************************************************************************/ //Sponza tinystl::vector<Buffer*> pSponzaVertexBufferPosition; tinystl::vector<Buffer*> pSponzaIndexBuffer; Buffer* pSponzaBuffer; tinystl::vector<int> gSponzaMaterialID; //Lion Buffer* pLionVertexBufferPosition; Buffer* pLionIndexBuffer; Buffer* pLionBuffer; Buffer* pBufferUniformCamera[gImageCount] = { NULL }; UniformCamData pUniformDataCamera; UniformCamData gUniformDataSky; Buffer* pBufferUniformExtendedCamera[gImageCount] = { NULL }; UniformExtendedCamData pUniformDataExtenedCamera; Buffer* pBufferUniformCameraSky[gImageCount] = { NULL }; Buffer* pBufferUniformPPRPro[gImageCount] = { NULL }; UniformPPRProData pUniformPPRProData; Buffer* pBufferUniformLights = NULL; UniformLightData pUniformDataLights; Buffer* pBufferUniformDirectionalLights = NULL; UniformDirectionalLightData pUniformDataDirectionalLights; Buffer* pBufferUniformPlaneInfo[gImageCount] = { NULL }; UniformPlaneInfoData pUniformDataPlaneInfo; Shader* pShaderPostProc = NULL; Pipeline* pPipelinePostProc = NULL; DepthState* pDepth = NULL; RasterizerState* pRasterstateDefault = NULL; Sampler* pSamplerBilinear = NULL; Sampler* pSamplerLinear = NULL; Sampler* pSamplerNearest = NULL; uint32_t gFrameIndex = 0; GpuProfiler* pGpuProfiler = NULL; BlendState* pBlendStateOneZero = nullptr; tinystl::vector<Buffer*> gSphereBuffers; ICameraController* pCameraController = NULL; TextDrawDesc gFrameTimeDraw = TextDrawDesc(0, 0xff00ffff, 18); tinystl::vector<int> gSponzaIndicesArray; tinystl::vector<int> gLionIndicesArray; GuiComponent* pGui; const char* pTextureName[] = { "albedoMap", "normalMap", "metallicMap", "roughnessMap", "aoMap" }; const char* gModel_Sponza = "sponza.obj"; const char* gModel_Lion = "lion.obj"; void transitionRenderTargets() { // Transition render targets to desired state const uint32_t numBarriers = gImageCount + 1; TextureBarrier rtBarriers[numBarriers] = {}; for (uint32_t i = 0; i < gImageCount; ++i) rtBarriers[i] = { pSwapChain->ppSwapchainRenderTargets[i]->pTexture, RESOURCE_STATE_RENDER_TARGET }; rtBarriers[numBarriers - 1] = { pDepthBuffer->pTexture, RESOURCE_STATE_DEPTH_WRITE }; beginCmd(ppCmds[0]); cmdResourceBarrier(ppCmds[0], 0, 0, numBarriers, rtBarriers, false); endCmd(ppCmds[0]); queueSubmit(pGraphicsQueue, 1, &ppCmds[0], pRenderCompleteFences[0], 0, NULL, 0, NULL); waitForFences(pGraphicsQueue, 1, &pRenderCompleteFences[0], false); } // Compute PBR maps (skybox, BRDF Integration Map, Irradiance Map and Specular Map). void computePBRMaps() { // Temporary resources that will be loaded on PBR preprocessing. Texture* pPanoSkybox = NULL; Shader* pPanoToCubeShader = NULL; RootSignature* pPanoToCubeRootSignature = NULL; Pipeline* pPanoToCubePipeline = NULL; Shader* pBRDFIntegrationShader = NULL; RootSignature* pBRDFIntegrationRootSignature = NULL; Pipeline* pBRDFIntegrationPipeline = NULL; Shader* pIrradianceShader = NULL; RootSignature* pIrradianceRootSignature = NULL; Pipeline* pIrradiancePipeline = NULL; Shader* pSpecularShader = NULL; RootSignature* pSpecularRootSignature = NULL; Pipeline* pSpecularPipeline = NULL; Sampler* pSkyboxSampler = NULL; SamplerDesc samplerDesc = { FILTER_LINEAR, FILTER_LINEAR, MIPMAP_MODE_LINEAR, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT, 0, 16 }; addSampler(pRenderer, &samplerDesc, &pSkyboxSampler); // Load the skybox panorama texture. TextureLoadDesc panoDesc = {}; panoDesc.mRoot = FSR_Textures; panoDesc.mUseMipmaps = true; panoDesc.pFilename = "LA_Helipad.hdr"; panoDesc.ppTexture = &pPanoSkybox; addResource(&panoDesc); TextureDesc skyboxImgDesc = {}; skyboxImgDesc.mArraySize = 6; skyboxImgDesc.mDepth = 1; skyboxImgDesc.mFormat = ImageFormat::RGBA32F; skyboxImgDesc.mHeight = gSkyboxSize; skyboxImgDesc.mWidth = gSkyboxSize; skyboxImgDesc.mMipLevels = gSkyboxMips; skyboxImgDesc.mSampleCount = SAMPLE_COUNT_1; skyboxImgDesc.mSrgb = false; skyboxImgDesc.mStartState = RESOURCE_STATE_UNORDERED_ACCESS; skyboxImgDesc.mDescriptors = DESCRIPTOR_TYPE_TEXTURE_CUBE | DESCRIPTOR_TYPE_RW_TEXTURE; skyboxImgDesc.pDebugName = L"skyboxImgBuff"; TextureLoadDesc skyboxLoadDesc = {}; skyboxLoadDesc.pDesc = &skyboxImgDesc; skyboxLoadDesc.ppTexture = &pSkybox; addResource(&skyboxLoadDesc); TextureDesc irrImgDesc = {}; irrImgDesc.mArraySize = 6; irrImgDesc.mDepth = 1; irrImgDesc.mFormat = ImageFormat::RGBA32F; irrImgDesc.mHeight = gIrradianceSize; irrImgDesc.mWidth = gIrradianceSize; irrImgDesc.mMipLevels = 1; irrImgDesc.mSampleCount = SAMPLE_COUNT_1; irrImgDesc.mSrgb = false; irrImgDesc.mStartState = RESOURCE_STATE_UNORDERED_ACCESS; irrImgDesc.mDescriptors = DESCRIPTOR_TYPE_TEXTURE_CUBE | DESCRIPTOR_TYPE_RW_TEXTURE; irrImgDesc.pDebugName = L"irrImgBuff"; TextureLoadDesc irrLoadDesc = {}; irrLoadDesc.pDesc = &irrImgDesc; irrLoadDesc.ppTexture = &pIrradianceMap; addResource(&irrLoadDesc); TextureDesc specImgDesc = {}; specImgDesc.mArraySize = 6; specImgDesc.mDepth = 1; specImgDesc.mFormat = ImageFormat::RGBA32F; specImgDesc.mHeight = gSpecularSize; specImgDesc.mWidth = gSpecularSize; specImgDesc.mMipLevels = gSpecularMips; specImgDesc.mSampleCount = SAMPLE_COUNT_1; specImgDesc.mSrgb = false; specImgDesc.mStartState = RESOURCE_STATE_UNORDERED_ACCESS; specImgDesc.mDescriptors = DESCRIPTOR_TYPE_TEXTURE_CUBE | DESCRIPTOR_TYPE_RW_TEXTURE; specImgDesc.pDebugName = L"specImgBuff"; TextureLoadDesc specImgLoadDesc = {}; specImgLoadDesc.pDesc = &specImgDesc; specImgLoadDesc.ppTexture = &pSpecularMap; addResource(&specImgLoadDesc); // Create empty texture for BRDF integration map. TextureLoadDesc brdfIntegrationLoadDesc = {}; TextureDesc brdfIntegrationDesc = {}; brdfIntegrationDesc.mWidth = gBRDFIntegrationSize; brdfIntegrationDesc.mHeight = gBRDFIntegrationSize; brdfIntegrationDesc.mDepth = 1; brdfIntegrationDesc.mArraySize = 1; brdfIntegrationDesc.mMipLevels = 1; brdfIntegrationDesc.mFormat = ImageFormat::RG32F; brdfIntegrationDesc.mDescriptors = DESCRIPTOR_TYPE_TEXTURE | DESCRIPTOR_TYPE_RW_TEXTURE; brdfIntegrationDesc.mSampleCount = SAMPLE_COUNT_1; brdfIntegrationDesc.mHostVisible = false; brdfIntegrationLoadDesc.pDesc = &brdfIntegrationDesc; brdfIntegrationLoadDesc.ppTexture = &pBRDFIntegrationMap; addResource(&brdfIntegrationLoadDesc); // Load pre-processing shaders. ShaderLoadDesc panoToCubeShaderDesc = {}; panoToCubeShaderDesc.mStages[0] = { "panoToCube.comp", NULL, 0, FSR_SrcShaders }; GPUPresetLevel presetLevel = pRenderer->pActiveGpuSettings->mGpuVendorPreset.mPresetLevel; uint32_t importanceSampleCounts[GPUPresetLevel::GPU_PRESET_COUNT] = { 0, 0, 64, 128, 256, 1024 }; uint32_t importanceSampleCount = importanceSampleCounts[presetLevel]; ShaderMacro importanceSampleMacro = { "IMPORTANCE_SAMPLE_COUNT", tinystl::string::format("%u", importanceSampleCount) }; ShaderLoadDesc brdfIntegrationShaderDesc = {}; brdfIntegrationShaderDesc.mStages[0] = { "BRDFIntegration.comp", &importanceSampleMacro, 1, FSR_SrcShaders }; ShaderLoadDesc irradianceShaderDesc = {}; irradianceShaderDesc.mStages[0] = { "computeIrradianceMap.comp", NULL, 0, FSR_SrcShaders }; ShaderLoadDesc specularShaderDesc = {}; specularShaderDesc.mStages[0] = { "computeSpecularMap.comp", &importanceSampleMacro, 1, FSR_SrcShaders }; addShader(pRenderer, &panoToCubeShaderDesc, &pPanoToCubeShader); addShader(pRenderer, &brdfIntegrationShaderDesc, &pBRDFIntegrationShader); addShader(pRenderer, &irradianceShaderDesc, &pIrradianceShader); addShader(pRenderer, &specularShaderDesc, &pSpecularShader); const char* pStaticSamplerNames[] = { "skyboxSampler" }; RootSignatureDesc panoRootDesc = { &pPanoToCubeShader, 1 }; panoRootDesc.mStaticSamplerCount = 1; panoRootDesc.ppStaticSamplerNames = pStaticSamplerNames; panoRootDesc.ppStaticSamplers = &pSkyboxSampler; RootSignatureDesc brdfRootDesc = { &pBRDFIntegrationShader, 1 }; brdfRootDesc.mStaticSamplerCount = 1; brdfRootDesc.ppStaticSamplerNames = pStaticSamplerNames; brdfRootDesc.ppStaticSamplers = &pSkyboxSampler; RootSignatureDesc irradianceRootDesc = { &pIrradianceShader, 1 }; irradianceRootDesc.mStaticSamplerCount = 1; irradianceRootDesc.ppStaticSamplerNames = pStaticSamplerNames; irradianceRootDesc.ppStaticSamplers = &pSkyboxSampler; RootSignatureDesc specularRootDesc = { &pSpecularShader, 1 }; specularRootDesc.mStaticSamplerCount = 1; specularRootDesc.ppStaticSamplerNames = pStaticSamplerNames; specularRootDesc.ppStaticSamplers = &pSkyboxSampler; addRootSignature(pRenderer, &panoRootDesc, &pPanoToCubeRootSignature); addRootSignature(pRenderer, &brdfRootDesc, &pBRDFIntegrationRootSignature); addRootSignature(pRenderer, &irradianceRootDesc, &pIrradianceRootSignature); addRootSignature(pRenderer, &specularRootDesc, &pSpecularRootSignature); ComputePipelineDesc pipelineSettings = { 0 }; pipelineSettings.pShaderProgram = pPanoToCubeShader; pipelineSettings.pRootSignature = pPanoToCubeRootSignature; addComputePipeline(pRenderer, &pipelineSettings, &pPanoToCubePipeline); pipelineSettings.pShaderProgram = pBRDFIntegrationShader; pipelineSettings.pRootSignature = pBRDFIntegrationRootSignature; addComputePipeline(pRenderer, &pipelineSettings, &pBRDFIntegrationPipeline); pipelineSettings.pShaderProgram = pIrradianceShader; pipelineSettings.pRootSignature = pIrradianceRootSignature; addComputePipeline(pRenderer, &pipelineSettings, &pIrradiancePipeline); pipelineSettings.pShaderProgram = pSpecularShader; pipelineSettings.pRootSignature = pSpecularRootSignature; addComputePipeline(pRenderer, &pipelineSettings, &pSpecularPipeline); // Since this happens on iniatilization, use the first cmd/fence pair available. Cmd* cmd = ppCmds[0]; Fence* pRenderCompleteFence = pRenderCompleteFences[0]; // Compute the BRDF Integration map. beginCmd(cmd); TextureBarrier uavBarriers[4] = { { pSkybox, RESOURCE_STATE_UNORDERED_ACCESS }, { pIrradianceMap, RESOURCE_STATE_UNORDERED_ACCESS }, { pSpecularMap, RESOURCE_STATE_UNORDERED_ACCESS }, { pBRDFIntegrationMap, RESOURCE_STATE_UNORDERED_ACCESS }, }; cmdResourceBarrier(cmd, 0, NULL, 4, uavBarriers, false); cmdBindPipeline(cmd, pBRDFIntegrationPipeline); DescriptorData params[2] = {}; params[0].pName = "dstTexture"; params[0].ppTextures = &pBRDFIntegrationMap; cmdBindDescriptors(cmd, pBRDFIntegrationRootSignature, 1, params); const uint32_t* pThreadGroupSize = pBRDFIntegrationShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, gBRDFIntegrationSize / pThreadGroupSize[0], gBRDFIntegrationSize / pThreadGroupSize[1], pThreadGroupSize[2]); TextureBarrier srvBarrier[1] = { { pBRDFIntegrationMap, RESOURCE_STATE_SHADER_RESOURCE } }; cmdResourceBarrier(cmd, 0, NULL, 1, srvBarrier, true); // Store the panorama texture inside a cubemap. cmdBindPipeline(cmd, pPanoToCubePipeline); params[0].pName = "srcTexture"; params[0].ppTextures = &pPanoSkybox; cmdBindDescriptors(cmd, pPanoToCubeRootSignature, 1, params); struct Data { uint mip; uint textureSize; } data = { 0, gSkyboxSize }; for (int i = 0; i < (int)gSkyboxMips; i++) { data.mip = i; params[0].pName = "RootConstant"; params[0].pRootConstant = &data; params[1].pName = "dstTexture"; params[1].ppTextures = &pSkybox; params[1].mUAVMipSlice = i; cmdBindDescriptors(cmd, pPanoToCubeRootSignature, 2, params); pThreadGroupSize = pPanoToCubeShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, max(1u, (uint32_t)(data.textureSize >> i) / pThreadGroupSize[0]), max(1u, (uint32_t)(data.textureSize >> i) / pThreadGroupSize[1]), 6); } TextureBarrier srvBarriers[1] = { { pSkybox, RESOURCE_STATE_SHADER_RESOURCE } }; cmdResourceBarrier(cmd, 0, NULL, 1, srvBarriers, false); /************************************************************************/ // Compute sky irradiance /************************************************************************/ params[0] = {}; params[1] = {}; cmdBindPipeline(cmd, pIrradiancePipeline); params[0].pName = "srcTexture"; params[0].ppTextures = &pSkybox; params[1].pName = "dstTexture"; params[1].ppTextures = &pIrradianceMap; cmdBindDescriptors(cmd, pIrradianceRootSignature, 2, params); pThreadGroupSize = pIrradianceShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, gIrradianceSize / pThreadGroupSize[0], gIrradianceSize / pThreadGroupSize[1], 6); /************************************************************************/ // Compute specular sky /************************************************************************/ cmdBindPipeline(cmd, pSpecularPipeline); params[0].pName = "srcTexture"; params[0].ppTextures = &pSkybox; cmdBindDescriptors(cmd, pSpecularRootSignature, 1, params); struct PrecomputeSkySpecularData { uint mipSize; float roughness; }; for (int i = 0; i < (int)gSpecularMips; i++) { PrecomputeSkySpecularData data = {}; data.roughness = (float)i / (float)(gSpecularMips - 1); data.mipSize = gSpecularSize >> i; params[0].pName = "RootConstant"; params[0].pRootConstant = &data; params[1].pName = "dstTexture"; params[1].ppTextures = &pSpecularMap; params[1].mUAVMipSlice = i; cmdBindDescriptors(cmd, pSpecularRootSignature, 2, params); pThreadGroupSize = pIrradianceShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, max(1u, (gSpecularSize >> i) / pThreadGroupSize[0]), max(1u, (gSpecularSize >> i) / pThreadGroupSize[1]), 6); } /************************************************************************/ /************************************************************************/ TextureBarrier srvBarriers2[2] = { { pIrradianceMap, RESOURCE_STATE_SHADER_RESOURCE }, { pSpecularMap, RESOURCE_STATE_SHADER_RESOURCE } }; cmdResourceBarrier(cmd, 0, NULL, 2, srvBarriers2, false); endCmd(cmd); queueSubmit(pGraphicsQueue, 1, &cmd, pRenderCompleteFence, 0, 0, 0, 0); waitForFences(pGraphicsQueue, 1, &pRenderCompleteFence, false); // Remove temporary resources. removePipeline(pRenderer, pSpecularPipeline); removeRootSignature(pRenderer, pSpecularRootSignature); removeShader(pRenderer, pSpecularShader); removePipeline(pRenderer, pIrradiancePipeline); removeRootSignature(pRenderer, pIrradianceRootSignature); removeShader(pRenderer, pIrradianceShader); removePipeline(pRenderer, pBRDFIntegrationPipeline); removeRootSignature(pRenderer, pBRDFIntegrationRootSignature); removeShader(pRenderer, pBRDFIntegrationShader); removePipeline(pRenderer, pPanoToCubePipeline); removeRootSignature(pRenderer, pPanoToCubeRootSignature); removeShader(pRenderer, pPanoToCubeShader); removeResource(pPanoSkybox); removeSampler(pRenderer, pSkyboxSampler); } void assignSponzaTextures(); //loadModels bool loadModels() { //Load Sponza Model sponza; tinystl::string sceneFullPath = FileSystem::FixPath(gModel_Sponza, FSRoot::FSR_Meshes); if (!AssimpImporter::ImportModel(sceneFullPath.c_str(), &sponza)) { ErrorMsg("Failed to load %s", FileSystem::GetFileNameAndExtension(sceneFullPath).c_str()); return false; } size_t sponza_meshCount = sponza.mMeshArray.size(); size_t sponza_matCount = sponza.mMaterialList.size(); for (size_t i = 0; i < sponza_meshCount; i++) { Mesh subMesh = sponza.mMeshArray[i]; gSponzaMaterialID.push_back(subMesh.mMaterialId); size_t size_Sponza = subMesh.mIndices.size(); tinystl::vector<Vertex> sponzaVertices; tinystl::vector<uint> sponzaIndices; size_t vertexSize = subMesh.mPositions.size(); for (size_t j = 0; j < vertexSize; j++) { Vertex toAdd = { subMesh.mPositions[j],subMesh.mNormals[j], subMesh.mUvs[j] }; sponzaVertices.push_back(toAdd); } for (size_t j = 0; j < size_Sponza; j++) { sponzaIndices.push_back(subMesh.mIndices[j]); } // Vertex position buffer for the scene BufferLoadDesc vbPosDesc_Sponza = {}; vbPosDesc_Sponza.mDesc.mDescriptors = DESCRIPTOR_TYPE_VERTEX_BUFFER; vbPosDesc_Sponza.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; vbPosDesc_Sponza.mDesc.mVertexStride = sizeof(Vertex); vbPosDesc_Sponza.mDesc.mSize = sponzaVertices.size() * vbPosDesc_Sponza.mDesc.mVertexStride; vbPosDesc_Sponza.pData = sponzaVertices.data(); Buffer* localBuffer = NULL; vbPosDesc_Sponza.ppBuffer = &localBuffer; vbPosDesc_Sponza.mDesc.pDebugName = L"Vertex Position Buffer Desc for Sponza"; addResource(&vbPosDesc_Sponza); pSponzaVertexBufferPosition.push_back(localBuffer); // Index buffer for the scene BufferLoadDesc ibDesc_Sponza = {}; ibDesc_Sponza.mDesc.mDescriptors = DESCRIPTOR_TYPE_INDEX_BUFFER; ibDesc_Sponza.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; ibDesc_Sponza.mDesc.mIndexType = INDEX_TYPE_UINT32; ibDesc_Sponza.mDesc.mSize = sizeof(uint32_t) * (uint32_t)sponzaIndices.size(); ibDesc_Sponza.pData = sponzaIndices.data(); gSponzaIndicesArray.push_back((int)sponzaIndices.size()); Buffer* localIndexBuffer = NULL; ibDesc_Sponza.ppBuffer = &localIndexBuffer; ibDesc_Sponza.mDesc.pDebugName = L"Index Buffer Desc for Sponza"; addResource(&ibDesc_Sponza); pSponzaIndexBuffer.push_back(localIndexBuffer); } Model lion; sceneFullPath = FileSystem::FixPath(gModel_Lion, FSRoot::FSR_Meshes); if (!AssimpImporter::ImportModel(sceneFullPath.c_str(), &lion)) { ErrorMsg("Failed to load %s", FileSystem::GetFileNameAndExtension(sceneFullPath).c_str()); return false; } size_t lion_meshCount = lion.mMeshArray.size(); size_t lion_matCount = lion.mMaterialList.size(); Mesh subMesh = lion.mMeshArray[0]; size_t size_Lion = subMesh.mIndices.size(); int vertexSize = (int)subMesh.mPositions.size(); tinystl::vector<Vertex> lionVertices; tinystl::vector<uint> lionIndices; for (int i = 0; i < vertexSize; i++) { Vertex toAdd = { subMesh.mPositions[i],subMesh.mNormals[i], subMesh.mUvs[i] }; lionVertices.push_back(toAdd); } for (int i = 0; i < size_Lion; i++) { lionIndices.push_back(subMesh.mIndices[i]); } // Vertex position buffer for the scene BufferLoadDesc vbPosDesc_Lion = {}; vbPosDesc_Lion.mDesc.mDescriptors = DESCRIPTOR_TYPE_VERTEX_BUFFER; vbPosDesc_Lion.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; vbPosDesc_Lion.mDesc.mVertexStride = sizeof(Vertex); vbPosDesc_Lion.mDesc.mSize = lionVertices.size() * vbPosDesc_Lion.mDesc.mVertexStride; vbPosDesc_Lion.pData = lionVertices.data(); vbPosDesc_Lion.ppBuffer = &pLionVertexBufferPosition; vbPosDesc_Lion.mDesc.pDebugName = L"Vertex Position Buffer Desc for Lion"; addResource(&vbPosDesc_Lion); // Index buffer for the scene BufferLoadDesc ibDesc_Lion = {}; ibDesc_Lion.mDesc.mDescriptors = DESCRIPTOR_TYPE_INDEX_BUFFER; ibDesc_Lion.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; ibDesc_Lion.mDesc.mIndexType = INDEX_TYPE_UINT32; ibDesc_Lion.mDesc.mSize = sizeof(uint32_t) * (uint32_t)lionIndices.size(); ibDesc_Lion.pData = lionIndices.data(); gLionIndicesArray.push_back((int)lionIndices.size()); ibDesc_Lion.ppBuffer = &pLionIndexBuffer; ibDesc_Lion.mDesc.pDebugName = L"Index Buffer Desc for Lion"; addResource(&ibDesc_Lion); //assinged right textures for each mesh assignSponzaTextures(); return true; } class MaterialPlayground : public IApp { public: bool Init() { RendererDesc settings = { 0 }; initRenderer(GetName(), &settings, &pRenderer); //check for init success if (!pRenderer) return false; QueueDesc queueDesc = {}; queueDesc.mType = CMD_POOL_DIRECT; addQueue(pRenderer, &queueDesc, &pGraphicsQueue); // Create command pool and create a cmd buffer for each swapchain image addCmdPool(pRenderer, pGraphicsQueue, false, &pCmdPool); addCmd_n(pCmdPool, false, gImageCount, &ppCmds); addCmdPool(pRenderer, pGraphicsQueue, false, &pPreCmdPool); addCmd_n(pPreCmdPool, false, gImageCount, &pPrepCmds); addCmdPool(pRenderer, pGraphicsQueue, false, &pBrdfCmdPool); addCmd_n(pBrdfCmdPool, false, gImageCount, &pBrdfCmds); addCmdPool(pRenderer, pGraphicsQueue, false, &pPPR_ProjectionCmdPool); addCmd_n(pPPR_ProjectionCmdPool, false, gImageCount, &pPPR_ProjectionCmds); addCmdPool(pRenderer, pGraphicsQueue, false, &pPPR_ReflectionCmdPool); addCmd_n(pPPR_ReflectionCmdPool, false, gImageCount, &pPPR_ReflectionCmds); for (uint32_t i = 0; i < gImageCount; ++i) { addFence(pRenderer, &pRenderCompleteFences[i]); addSemaphore(pRenderer, &pRenderCompleteSemaphores[i]); } addSemaphore(pRenderer, &pImageAcquiredSemaphore); initResourceLoaderInterface(pRenderer, DEFAULT_MEMORY_BUDGET, true); initDebugRendererInterface(pRenderer, "TitilliumText/TitilliumText-Bold.otf", FSR_Builtin_Fonts); //tinystl::vector<Image> toLoad(TOTAL_IMGS); //adding material textures for (int i = 0; i <TOTAL_IMGS; ++i) { TextureLoadDesc textureDesc = {}; textureDesc.mRoot = FSR_Textures; textureDesc.mUseMipmaps = true; textureDesc.pFilename = pMaterialImageFileNames[i]; textureDesc.ppTexture = &pMaterialTextures[i]; addResource(&textureDesc, true); } #ifdef TARGET_IOS if (!gVirtualJoystick.Init(pRenderer, "circlepad.png", FSR_Textures)) return false; #endif addGpuProfiler(pRenderer, pGraphicsQueue, &pGpuProfiler); computePBRMaps(); SamplerDesc samplerDesc = { FILTER_LINEAR, FILTER_LINEAR, MIPMAP_MODE_LINEAR, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT }; addSampler(pRenderer, &samplerDesc, &pSamplerBilinear); SamplerDesc nearstSamplerDesc = { FILTER_NEAREST, FILTER_NEAREST, MIPMAP_MODE_NEAREST, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT, ADDRESS_MODE_REPEAT }; addSampler(pRenderer, &nearstSamplerDesc, &pSamplerNearest); // GBuffer ShaderLoadDesc gBuffersShaderDesc = {}; gBuffersShaderDesc.mStages[0] = { "fillGbuffers.vert", NULL, 0, FSR_SrcShaders }; #ifndef TARGET_IOS gBuffersShaderDesc.mStages[1] = { "fillGbuffers.frag", NULL, 0, FSR_SrcShaders }; #else gBuffersShaderDesc.mStages[1] = { "fillGbuffers_iOS.frag", NULL, 0, FSR_SrcShaders }; #endif addShader(pRenderer, &gBuffersShaderDesc, &pShaderGbuffers); const char* pStaticSamplerNames[] = { "defaultSampler" }; Sampler* pStaticSamplers[] = { pSamplerBilinear }; RootSignatureDesc gBuffersRootDesc = { &pShaderGbuffers, 1 }; gBuffersRootDesc.mStaticSamplerCount = 1; gBuffersRootDesc.ppStaticSamplerNames = pStaticSamplerNames; gBuffersRootDesc.ppStaticSamplers = pStaticSamplers; #ifndef TARGET_IOS gBuffersRootDesc.mMaxBindlessTextures = TOTAL_IMGS; #endif addRootSignature(pRenderer, &gBuffersRootDesc, &pRootSigGbuffers); ShaderLoadDesc skyboxShaderDesc = {}; skyboxShaderDesc.mStages[0] = { "skybox.vert", NULL, 0, FSR_SrcShaders }; skyboxShaderDesc.mStages[1] = { "skybox.frag", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &skyboxShaderDesc, &pSkyboxShader); const char* pSkyboxamplerName = "skyboxSampler"; RootSignatureDesc skyboxRootDesc = { &pSkyboxShader, 1 }; skyboxRootDesc.mStaticSamplerCount = 1; skyboxRootDesc.ppStaticSamplerNames = &pSkyboxamplerName; skyboxRootDesc.ppStaticSamplers = &pSamplerBilinear; addRootSignature(pRenderer, &skyboxRootDesc, &pSkyboxRootSignature); //BRDF ShaderLoadDesc brdfRenderSceneShaderDesc = {}; brdfRenderSceneShaderDesc.mStages[0] = { "renderSceneBRDF.vert", NULL, 0, FSR_SrcShaders }; brdfRenderSceneShaderDesc.mStages[1] = { "renderSceneBRDF.frag", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &brdfRenderSceneShaderDesc, &pShaderBRDF); const char* pStaticSampler2Names[] = { "envSampler", "defaultSampler" }; Sampler* pStaticSamplers2[] = { pSamplerBilinear, pSamplerNearest }; RootSignatureDesc brdfRootDesc = { &pShaderBRDF, 1 }; brdfRootDesc.mStaticSamplerCount = 2; brdfRootDesc.ppStaticSamplerNames = pStaticSampler2Names; brdfRootDesc.ppStaticSamplers = pStaticSamplers2; addRootSignature(pRenderer, &brdfRootDesc, &pRootSigBRDF); //PPR_Projection ShaderLoadDesc PPR_ProjectionShaderDesc = {}; PPR_ProjectionShaderDesc.mStages[0] = { "PPR_Projection.comp", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &PPR_ProjectionShaderDesc, &pPPR_ProjectionShader); RootSignatureDesc PPR_PRootDesc = { &pPPR_ProjectionShader, 1 }; addRootSignature(pRenderer, &PPR_PRootDesc, &pPPR_ProjectionRootSignature); #ifdef METAL //temporary fix on AMD //PPR_Projection ShaderLoadDesc ClearBufferShaderDesc = {}; ClearBufferShaderDesc.mStages[0] = { "ClearBuffer.comp", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &ClearBufferShaderDesc, &pClearBufferShader); RootSignatureDesc PClearBufferRootDesc = { &pClearBufferShader, 1 }; addRootSignature(pRenderer, &PClearBufferRootDesc, &pClearBufferRootSignature); #endif //PPR_Reflection ShaderLoadDesc PPR_ReflectionShaderDesc = {}; PPR_ReflectionShaderDesc.mStages[0] = { "PPR_Reflection.vert", NULL, 0, FSR_SrcShaders }; PPR_ReflectionShaderDesc.mStages[1] = { "PPR_Reflection.frag", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &PPR_ReflectionShaderDesc, &pPPR_ReflectionShader); RootSignatureDesc PPR_RRootDesc = { &pPPR_ReflectionShader, 1 }; PPR_RRootDesc.mStaticSamplerCount = 1; PPR_RRootDesc.ppStaticSamplerNames = pStaticSamplerNames; PPR_RRootDesc.ppStaticSamplers = pStaticSamplers; addRootSignature(pRenderer, &PPR_RRootDesc, &pPPR_ReflectionRootSignature); //PPR_HolePatching ShaderLoadDesc PPR_HolePatchingShaderDesc = {}; PPR_HolePatchingShaderDesc.mStages[0] = { "PPR_Holepatching.vert", NULL, 0, FSR_SrcShaders }; PPR_HolePatchingShaderDesc.mStages[1] = { "PPR_Holepatching.frag", NULL, 0, FSR_SrcShaders }; addShader(pRenderer, &PPR_HolePatchingShaderDesc, &pPPR_HolePatchingShader); const char* pStaticSamplerforHolePatchingNames[] = { "nearestSampler", "bilinearSampler" }; Sampler* pStaticSamplersforHolePatching[] = { pSamplerNearest, pSamplerBilinear }; RootSignatureDesc PPR_HolePatchingRootDesc = { &pPPR_HolePatchingShader, 1 }; PPR_HolePatchingRootDesc.mStaticSamplerCount = 2; PPR_HolePatchingRootDesc.ppStaticSamplerNames = pStaticSamplerforHolePatchingNames; PPR_HolePatchingRootDesc.ppStaticSamplers = pStaticSamplersforHolePatching; addRootSignature(pRenderer, &PPR_HolePatchingRootDesc, &pPPR_HolePatchingRootSignature); // Create depth state and rasterizer state DepthStateDesc depthStateDesc = {}; depthStateDesc.mDepthTest = true; depthStateDesc.mDepthWrite = true; depthStateDesc.mDepthFunc = CMP_LEQUAL; addDepthState(pRenderer, &depthStateDesc, &pDepth); RasterizerStateDesc rasterizerStateDesc = {}; rasterizerStateDesc.mCullMode = CULL_MODE_NONE; addRasterizerState(pRenderer, &rasterizerStateDesc, &pRasterstateDefault); if (!loadModels()) { finishResourceLoading(); return false; } BufferLoadDesc sponza_buffDesc = {}; sponza_buffDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; sponza_buffDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; sponza_buffDesc.mDesc.mSize = sizeof(UniformObjData); sponza_buffDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; sponza_buffDesc.pData = NULL; sponza_buffDesc.ppBuffer = &pSponzaBuffer; addResource(&sponza_buffDesc); BufferLoadDesc lion_buffDesc = {}; lion_buffDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; lion_buffDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; lion_buffDesc.mDesc.mSize = sizeof(UniformObjData); lion_buffDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; lion_buffDesc.pData = NULL; lion_buffDesc.ppBuffer = &pLionBuffer; addResource(&lion_buffDesc); //Generate sky box vertex buffer float skyBoxPoints[] = { 0.5f, -0.5f, -0.5f,1.0f, // -z -0.5f, -0.5f, -0.5f,1.0f, -0.5f, 0.5f, -0.5f,1.0f, -0.5f, 0.5f, -0.5f,1.0f, 0.5f, 0.5f, -0.5f,1.0f, 0.5f, -0.5f, -0.5f,1.0f, -0.5f, -0.5f, 0.5f,1.0f, //-x -0.5f, -0.5f, -0.5f,1.0f, -0.5f, 0.5f, -0.5f,1.0f, -0.5f, 0.5f, -0.5f,1.0f, -0.5f, 0.5f, 0.5f,1.0f, -0.5f, -0.5f, 0.5f,1.0f, 0.5f, -0.5f, -0.5f,1.0f, //+x 0.5f, -0.5f, 0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, 0.5f, 0.5f, -0.5f,1.0f, 0.5f, -0.5f, -0.5f,1.0f, -0.5f, -0.5f, 0.5f,1.0f, // +z -0.5f, 0.5f, 0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, 0.5f, -0.5f, 0.5f,1.0f, -0.5f, -0.5f, 0.5f,1.0f, -0.5f, 0.5f, -0.5f, 1.0f, //+y 0.5f, 0.5f, -0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, 0.5f, 0.5f, 0.5f,1.0f, -0.5f, 0.5f, 0.5f,1.0f, -0.5f, 0.5f, -0.5f,1.0f, 0.5f, -0.5f, 0.5f, 1.0f, //-y 0.5f, -0.5f, -0.5f,1.0f, -0.5f, -0.5f, -0.5f,1.0f, -0.5f, -0.5f, -0.5f,1.0f, -0.5f, -0.5f, 0.5f,1.0f, 0.5f, -0.5f, 0.5f,1.0f, }; uint64_t skyBoxDataSize = 4 * 6 * 6 * sizeof(float); BufferLoadDesc skyboxVbDesc = {}; skyboxVbDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_VERTEX_BUFFER; skyboxVbDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; skyboxVbDesc.mDesc.mSize = skyBoxDataSize; skyboxVbDesc.mDesc.mVertexStride = sizeof(float) * 4; skyboxVbDesc.pData = skyBoxPoints; skyboxVbDesc.ppBuffer = &pSkyboxVertexBuffer; addResource(&skyboxVbDesc); float screenQuadPoints[] = { -1.0f, 3.0f, 0.5f, 0.0f, -1.0f, -1.0f, -1.0f, 0.5f, 0.0f, 1.0f, 3.0f, -1.0f, 0.5f, 2.0f, 1.0f, }; uint64_t screenQuadDataSize = 5 * 3 * sizeof(float); BufferLoadDesc screenQuadVbDesc = {}; screenQuadVbDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_VERTEX_BUFFER; screenQuadVbDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; screenQuadVbDesc.mDesc.mSize = screenQuadDataSize; screenQuadVbDesc.mDesc.mVertexStride = sizeof(float) * 5; screenQuadVbDesc.pData = screenQuadPoints; screenQuadVbDesc.ppBuffer = &pScreenQuadVertexBuffer; addResource(&screenQuadVbDesc); // Uniform buffer for camera data BufferLoadDesc ubCamDesc = {}; ubCamDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubCamDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; ubCamDesc.mDesc.mSize = sizeof(UniformCamData); ubCamDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubCamDesc.pData = NULL; for (uint32_t i = 0; i < gImageCount; ++i) { ubCamDesc.ppBuffer = &pBufferUniformCamera[i]; addResource(&ubCamDesc); ubCamDesc.ppBuffer = &pBufferUniformCameraSky[i]; addResource(&ubCamDesc); } //temporary fix Needed on AMD for memory type otherwise we have issues. // Uniform buffer for extended camera data BufferLoadDesc ubECamDesc = {}; ubECamDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubECamDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; ubECamDesc.mDesc.mSize = sizeof(UniformExtendedCamData); ubECamDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_OWN_MEMORY_BIT | BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubECamDesc.pData = NULL; for (uint32_t i = 0; i < gImageCount; ++i) { ubECamDesc.ppBuffer = &pBufferUniformExtendedCamera[i]; addResource(&ubECamDesc); } // Uniform buffer for PPR's properties BufferLoadDesc ubPPR_ProDesc = {}; ubPPR_ProDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubPPR_ProDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; ubPPR_ProDesc.mDesc.mSize = sizeof(UniformPPRProData); ubPPR_ProDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubPPR_ProDesc.pData = NULL; for (uint32_t i = 0; i < gImageCount; ++i) { ubPPR_ProDesc.ppBuffer = &pBufferUniformPPRPro[i]; addResource(&ubPPR_ProDesc); } // Uniform buffer for light data BufferLoadDesc ubLightsDesc = {}; ubLightsDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubLightsDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; ubLightsDesc.mDesc.mSize = sizeof(UniformLightData); ubLightsDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubLightsDesc.pData = NULL; ubLightsDesc.ppBuffer = &pBufferUniformLights; addResource(&ubLightsDesc); // Uniform buffer for DirectionalLight data BufferLoadDesc ubDLightsDesc = {}; ubDLightsDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubDLightsDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; ubDLightsDesc.mDesc.mSize = sizeof(UniformDirectionalLightData); ubDLightsDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubDLightsDesc.pData = NULL; ubDLightsDesc.ppBuffer = &pBufferUniformDirectionalLights; addResource(&ubDLightsDesc); // Uniform buffer for extended camera data BufferLoadDesc ubPlaneInfoDesc = {}; ubPlaneInfoDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_UNIFORM_BUFFER; ubPlaneInfoDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_CPU_TO_GPU; ubPlaneInfoDesc.mDesc.mSize = sizeof(UniformPlaneInfoData); ubPlaneInfoDesc.mDesc.mFlags = BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; ubPlaneInfoDesc.pData = NULL; for (uint32_t i = 0; i < gImageCount; ++i) { ubPlaneInfoDesc.ppBuffer = &pBufferUniformPlaneInfo[i]; addResource(&ubPlaneInfoDesc); } finishResourceLoading(); // prepare resources // Update the uniform buffer for the objects mat4 sponza_modelmat = mat4::translation(vec3(0.0f, -6.0f, 0.0f)) * mat4::scale(vec3(0.02f, 0.02f, 0.02f)); pUniformDataMVP.mWorldMat = sponza_modelmat; pUniformDataMVP.mMetallic = 0; pUniformDataMVP.mRoughness = 0.5f; pUniformDataMVP.pbrMaterials = 1; BufferUpdateDesc sponza_objBuffUpdateDesc = { pSponzaBuffer, &pUniformDataMVP }; updateResource(&sponza_objBuffUpdateDesc); // Update the uniform buffer for the objects mat4 lion_modelmat = mat4::translation(vec3(0.0f, -6.0f, 1.0f)) * mat4::rotationY(-1.5708f) * mat4::scale(vec3(0.2f, 0.2f, 0.2f)); pUniformDataMVP.mWorldMat = lion_modelmat; pUniformDataMVP.mMetallic = 0; pUniformDataMVP.mRoughness = 0.5f; pUniformDataMVP.pbrMaterials = 1; BufferUpdateDesc lion_objBuffUpdateDesc = { pLionBuffer, &pUniformDataMVP }; updateResource(&lion_objBuffUpdateDesc); // Add light to scene //Point light Light light; light.mCol = vec4(1.0f, 0.5f, 0.1f, 0.0f); light.mPos = vec4(-12.5f, -3.5f, 4.7f, 0.0f); light.mRadius = 10.0f; light.mIntensity = 400.0f; pUniformDataLights.mLights[0] = light; light.mCol = vec4(1.0f, 0.5f, 0.1f, 0.0f); light.mPos = vec4(-12.5f, -3.5f, -3.7f, 0.0f); light.mRadius = 10.0f; light.mIntensity = 400.0f; pUniformDataLights.mLights[1] = light; // Add light to scene light.mCol = vec4(1.0f, 0.5f, 0.1f, 0.0f); light.mPos = vec4(9.5f, -3.5f, 4.7f, 0.0f); light.mRadius = 10.0f; light.mIntensity = 400.0f; pUniformDataLights.mLights[2] = light; light.mCol = vec4(1.0f, 0.5f, 0.1f, 0.0f); light.mPos = vec4(9.5f, -3.5f, -3.7f, 0.0f); light.mRadius = 10.0f; light.mIntensity = 400.0f; pUniformDataLights.mLights[3] = light; pUniformDataLights.mCurrAmountOfLights = 4; BufferUpdateDesc lightBuffUpdateDesc = { pBufferUniformLights, &pUniformDataLights }; updateResource(&lightBuffUpdateDesc); //Directional light DirectionalLight dLight; dLight.mCol = vec4(1.0f, 1.0f, 1.0f, 5.0f); dLight.mPos = vec4(0.0f, 0.0f, 0.0f, 0.0f); dLight.mDir = vec4(-1.0f, -1.5f, 1.0f, 0.0f); pUniformDataDirectionalLights.mLights[0] = dLight; pUniformDataDirectionalLights.mCurrAmountOfDLights = 1; BufferUpdateDesc directionalLightBuffUpdateDesc = { pBufferUniformDirectionalLights, &pUniformDataDirectionalLights }; updateResource(&directionalLightBuffUpdateDesc); // Create UI if (!gAppUI.Init(pRenderer)) return false; gAppUI.LoadFont("TitilliumText/TitilliumText-Bold.otf", FSR_Builtin_Fonts); GuiDesc guiDesc = {}; guiDesc.mStartSize = vec2(370.0f, 320.0f); guiDesc.mStartPosition = vec2(0.0f, guiDesc.mStartSize.getY()); pGui = gAppUI.AddGuiComponent("Pixel-Projected Reflections", &guiDesc); static const uint32_t enumRenderModes[] = { SCENE_ONLY, PPR_ONLY, SCENE_WITH_PPR, SCENE_EXCLU_PPR, 0 }; static const char* enumRenderModeNames[] = { "Render Scene Only", "Render PPR Only", "Render Scene with PPR ", "Render Scene with exclusive PPR", NULL }; #if !defined(TARGET_IOS) && !defined(_DURANGO) pGui->AddWidget(CheckboxWidget("Toggle VSync", &gToggleVSync)); #endif pGui->AddWidget(DropdownWidget("Render Mode", &gRenderMode, enumRenderModeNames, enumRenderModes, 4)); pGui->AddWidget(CheckboxWidget("Use Holepatching", &gUseHolePatching)); pGui->AddWidget(CheckboxWidget("Use Expensive Holepatching", &gUseExpensiveHolePatching)); //pGui->AddWidget(CheckboxWidget("Use Normalmap", &gUseNormalMap)); pGui->AddWidget(CheckboxWidget("Use Fade Effect", &gUseFadeEffect)); pGui->AddWidget(SliderFloatWidget("Intensity of PPR", &gRRP_Intensity, 0.0f, 1.0f)); pGui->AddWidget(SliderUintWidget("Number of Planes", &gPlaneNumber, 1, 4)); pGui->AddWidget(SliderFloatWidget("Size of Main Plane", &gPlaneSize, 5.0f, 100.0f)); CameraMotionParameters camParameters{ 100.0f, 150.0f, 300.0f }; vec3 camPos{ 20.0f, -2.0f, 0.9f }; vec3 lookat{ 0.0f, -2.0f, 0.9f }; pCameraController = createFpsCameraController(camPos, lookat); requestMouseCapture(true); pCameraController->setMotionParameters(camParameters); InputSystem::RegisterInputEvent(cameraInputEvent); return true; } void Exit() { waitForFences(pGraphicsQueue, 1, &pRenderCompleteFences[gFrameIndex], true); destroyCameraController(pCameraController); removeDebugRendererInterface(); for (uint32_t i = 0; i < gImageCount; ++i) { removeFence(pRenderer, pRenderCompleteFences[i]); removeSemaphore(pRenderer, pRenderCompleteSemaphores[i]); } removeSemaphore(pRenderer, pImageAcquiredSemaphore); removeResource(pSpecularMap); removeResource(pIrradianceMap); removeResource(pSkybox); removeResource(pBRDFIntegrationMap); #ifdef TARGET_IOS gVirtualJoystick.Exit(); #endif removeGpuProfiler(pRenderer, pGpuProfiler); for (uint32_t i = 0; i < gImageCount; ++i) { removeResource(pBufferUniformPlaneInfo[i]); removeResource(pBufferUniformPPRPro[i]); removeResource(pBufferUniformExtendedCamera[i]); removeResource(pBufferUniformCameraSky[i]); removeResource(pBufferUniformCamera[i]); } removeResource(pBufferUniformLights); removeResource(pBufferUniformDirectionalLights); removeResource(pSkyboxVertexBuffer); removeResource(pScreenQuadVertexBuffer); removeResource(pSponzaBuffer); removeResource(pLionBuffer); for (size_t i = 0; i<pSponzaVertexBufferPosition.size(); i++) removeResource(pSponzaVertexBufferPosition[i]); for (size_t i = 0; i<pSponzaIndexBuffer.size(); i++) removeResource(pSponzaIndexBuffer[i]); removeResource(pLionVertexBufferPosition); removeResource(pLionIndexBuffer); gAppUI.Exit(); #ifdef METAL //Temporary fix removeShader(pRenderer, pClearBufferShader); #endif removeShader(pRenderer, pPPR_HolePatchingShader); removeShader(pRenderer, pPPR_ReflectionShader); removeShader(pRenderer, pPPR_ProjectionShader); removeShader(pRenderer, pShaderBRDF); removeShader(pRenderer, pSkyboxShader); removeShader(pRenderer, pShaderGbuffers); removeDepthState(pDepth); removeRasterizerState(pRasterstateDefault); removeSampler(pRenderer, pSamplerBilinear); removeSampler(pRenderer, pSamplerNearest); #ifdef METAL //Temporary fix removeRootSignature(pRenderer, pClearBufferRootSignature); #endif removeRootSignature(pRenderer, pPPR_HolePatchingRootSignature); removeRootSignature(pRenderer, pPPR_ReflectionRootSignature); removeRootSignature(pRenderer, pPPR_ProjectionRootSignature); removeRootSignature(pRenderer, pRootSigBRDF); removeRootSignature(pRenderer, pSkyboxRootSignature); removeRootSignature(pRenderer, pRootSigGbuffers); // Remove commands and command pool& removeCmd_n(pCmdPool, gImageCount, ppCmds); removeCmdPool(pRenderer, pCmdPool); removeQueue(pGraphicsQueue); removeCmd_n(pPreCmdPool, gImageCount, pPrepCmds); removeCmdPool(pRenderer, pPreCmdPool); removeCmd_n(pBrdfCmdPool, gImageCount, pBrdfCmds); removeCmdPool(pRenderer, pBrdfCmdPool); removeCmd_n(pPPR_ProjectionCmdPool, gImageCount, pPPR_ProjectionCmds); removeCmdPool(pRenderer, pPPR_ProjectionCmdPool); removeCmd_n(pPPR_ReflectionCmdPool, gImageCount, pPPR_ReflectionCmds); removeCmdPool(pRenderer, pPPR_ReflectionCmdPool); for (uint i = 0; i < TOTAL_IMGS; ++i) removeResource(pMaterialTextures[i]); // Remove resource loader and renderer removeResourceLoaderInterface(pRenderer); removeRenderer(pRenderer); } bool Load() { if (!addSwapChain()) return false; if (!addSceneBuffer()) return false; if (!addReflectionBuffer()) return false; if (!addGBuffers()) return false; if (!addDepthBuffer()) return false; if (!addIntermeditateBuffer()) return false; if (!gAppUI.Load(pSwapChain->ppSwapchainRenderTargets)) return false; #ifdef TARGET_IOS if (!gVirtualJoystick.Load(pSwapChain->ppSwapchainRenderTargets[0], 0)) return false; #endif // fill Gbuffers // Create vertex layout VertexLayout vertexLayoutSphere = {}; vertexLayoutSphere.mAttribCount = 3; vertexLayoutSphere.mAttribs[0].mSemantic = SEMANTIC_POSITION; vertexLayoutSphere.mAttribs[0].mFormat = ImageFormat::RGB32F; vertexLayoutSphere.mAttribs[0].mBinding = 0; vertexLayoutSphere.mAttribs[0].mLocation = 0; vertexLayoutSphere.mAttribs[0].mOffset = 0; //normals vertexLayoutSphere.mAttribs[1].mSemantic = SEMANTIC_NORMAL; vertexLayoutSphere.mAttribs[1].mFormat = ImageFormat::RGB32F; vertexLayoutSphere.mAttribs[1].mLocation = 1; vertexLayoutSphere.mAttribs[1].mBinding = 0; vertexLayoutSphere.mAttribs[1].mOffset = 3 * sizeof(float); //texture vertexLayoutSphere.mAttribs[2].mSemantic = SEMANTIC_TEXCOORD0; vertexLayoutSphere.mAttribs[2].mFormat = ImageFormat::RG32F; vertexLayoutSphere.mAttribs[2].mLocation = 2; vertexLayoutSphere.mAttribs[2].mBinding = 0; vertexLayoutSphere.mAttribs[2].mOffset = 6 * sizeof(float); // first attribute contains 3 floats /************************************************************************/ // Setup the resources needed for the Deferred Pass Pipeline /************************************************************************/ ImageFormat::Enum deferredFormats[DEFERRED_RT_COUNT] = {}; bool deferredSrgb[DEFERRED_RT_COUNT] = {}; for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) { deferredFormats[i] = pRenderTargetDeferredPass[i]->mDesc.mFormat; deferredSrgb[i] = pRenderTargetDeferredPass[i]->mDesc.mSrgb; } GraphicsPipelineDesc deferredPassPipelineSettings = {}; deferredPassPipelineSettings.mPrimitiveTopo = PRIMITIVE_TOPO_TRI_LIST; deferredPassPipelineSettings.mRenderTargetCount = DEFERRED_RT_COUNT; deferredPassPipelineSettings.pDepthState = pDepth; deferredPassPipelineSettings.pColorFormats = deferredFormats; deferredPassPipelineSettings.pSrgbValues = deferredSrgb; deferredPassPipelineSettings.mSampleCount = pRenderTargetDeferredPass[0]->mDesc.mSampleCount; deferredPassPipelineSettings.mSampleQuality = pRenderTargetDeferredPass[0]->mDesc.mSampleQuality; deferredPassPipelineSettings.mDepthStencilFormat = pDepthBuffer->mDesc.mFormat; deferredPassPipelineSettings.pRootSignature = pRootSigGbuffers; deferredPassPipelineSettings.pShaderProgram = pShaderGbuffers; deferredPassPipelineSettings.pVertexLayout = &vertexLayoutSphere; deferredPassPipelineSettings.pRasterizerState = pRasterstateDefault; addPipeline(pRenderer, &deferredPassPipelineSettings, &pPipelineGbuffers); //layout and pipeline for skybox draw VertexLayout vertexLayoutSkybox = {}; vertexLayoutSkybox.mAttribCount = 1; vertexLayoutSkybox.mAttribs[0].mSemantic = SEMANTIC_POSITION; vertexLayoutSkybox.mAttribs[0].mFormat = ImageFormat::RGBA32F; vertexLayoutSkybox.mAttribs[0].mBinding = 0; vertexLayoutSkybox.mAttribs[0].mLocation = 0; vertexLayoutSkybox.mAttribs[0].mOffset = 0; deferredPassPipelineSettings = {}; deferredPassPipelineSettings.mPrimitiveTopo = PRIMITIVE_TOPO_TRI_LIST; deferredPassPipelineSettings.mRenderTargetCount = DEFERRED_RT_COUNT; deferredPassPipelineSettings.pDepthState = NULL; deferredPassPipelineSettings.pColorFormats = deferredFormats; deferredPassPipelineSettings.pSrgbValues = deferredSrgb; deferredPassPipelineSettings.mSampleCount = pRenderTargetDeferredPass[0]->mDesc.mSampleCount; deferredPassPipelineSettings.mSampleQuality = pRenderTargetDeferredPass[0]->mDesc.mSampleQuality; deferredPassPipelineSettings.mDepthStencilFormat = pDepthBuffer->mDesc.mFormat; deferredPassPipelineSettings.pRootSignature = pSkyboxRootSignature; deferredPassPipelineSettings.pShaderProgram = pSkyboxShader; deferredPassPipelineSettings.pVertexLayout = &vertexLayoutSkybox; deferredPassPipelineSettings.pRasterizerState = pRasterstateDefault; addPipeline(pRenderer, &deferredPassPipelineSettings, &pSkyboxPipeline); // BRDF //Position VertexLayout vertexLayoutScreenQuad = {}; vertexLayoutScreenQuad.mAttribCount = 2; vertexLayoutScreenQuad.mAttribs[0].mSemantic = SEMANTIC_POSITION; vertexLayoutScreenQuad.mAttribs[0].mFormat = ImageFormat::RGB32F; vertexLayoutScreenQuad.mAttribs[0].mBinding = 0; vertexLayoutScreenQuad.mAttribs[0].mLocation = 0; vertexLayoutScreenQuad.mAttribs[0].mOffset = 0; //Uv vertexLayoutScreenQuad.mAttribs[1].mSemantic = SEMANTIC_TEXCOORD0; vertexLayoutScreenQuad.mAttribs[1].mFormat = ImageFormat::RG32F; vertexLayoutScreenQuad.mAttribs[1].mLocation = 1; vertexLayoutScreenQuad.mAttribs[1].mBinding = 0; vertexLayoutScreenQuad.mAttribs[1].mOffset = 3 * sizeof(float); // first attribute contains 3 floats GraphicsPipelineDesc pipelineSettings = { 0 }; pipelineSettings.mPrimitiveTopo = PRIMITIVE_TOPO_TRI_LIST; pipelineSettings.mRenderTargetCount = 1; pipelineSettings.pDepthState = NULL; pipelineSettings.pColorFormats = &pSceneBuffer->mDesc.mFormat; pipelineSettings.pSrgbValues = &pSceneBuffer->mDesc.mSrgb; pipelineSettings.mSampleCount = pSceneBuffer->mDesc.mSampleCount; pipelineSettings.mSampleQuality = pSceneBuffer->mDesc.mSampleQuality; // pipelineSettings.pDepthState is NULL, pipelineSettings.mDepthStencilFormat should be NONE pipelineSettings.mDepthStencilFormat = ImageFormat::NONE; pipelineSettings.pRootSignature = pRootSigBRDF; pipelineSettings.pShaderProgram = pShaderBRDF; pipelineSettings.pVertexLayout = &vertexLayoutScreenQuad; pipelineSettings.pRasterizerState = pRasterstateDefault; addPipeline(pRenderer, &pipelineSettings, &pPipelineBRDF); //PPR_Projection ComputePipelineDesc cpipelineSettings = { 0 }; cpipelineSettings.pShaderProgram = pPPR_ProjectionShader; cpipelineSettings.pRootSignature = pPPR_ProjectionRootSignature; addComputePipeline(pRenderer, &cpipelineSettings, &pPPR_ProjectionPipeline); //PPR_Reflection pipelineSettings = { 0 }; pipelineSettings.mPrimitiveTopo = PRIMITIVE_TOPO_TRI_LIST; pipelineSettings.mRenderTargetCount = 1; pipelineSettings.pDepthState = NULL; pipelineSettings.pColorFormats = &pReflectionBuffer->mDesc.mFormat; pipelineSettings.pSrgbValues = &pReflectionBuffer->mDesc.mSrgb; pipelineSettings.mSampleCount = pReflectionBuffer->mDesc.mSampleCount; pipelineSettings.mSampleQuality = pReflectionBuffer->mDesc.mSampleQuality; pipelineSettings.mDepthStencilFormat = ImageFormat::NONE; pipelineSettings.pRootSignature = pPPR_ReflectionRootSignature; pipelineSettings.pShaderProgram = pPPR_ReflectionShader; pipelineSettings.pVertexLayout = &vertexLayoutScreenQuad; pipelineSettings.pRasterizerState = pRasterstateDefault; addPipeline(pRenderer, &pipelineSettings, &pPPR_ReflectionPipeline); #ifdef METAL //temporary fix //clear compute buffers pipeline ComputePipelineDesc mClearBufferpipelineSettings = { 0 }; mClearBufferpipelineSettings.pShaderProgram = pClearBufferShader; mClearBufferpipelineSettings.pRootSignature = pClearBufferRootSignature; addComputePipeline(pRenderer, &mClearBufferpipelineSettings, &pClearBufferPipeline); #endif //PPR_HolePatching -> Present pipelineSettings = { 0 }; pipelineSettings.mPrimitiveTopo = PRIMITIVE_TOPO_TRI_LIST; pipelineSettings.mRenderTargetCount = 1; pipelineSettings.pDepthState = NULL; pipelineSettings.pColorFormats = &pSwapChain->ppSwapchainRenderTargets[0]->mDesc.mFormat; pipelineSettings.pSrgbValues = &pSwapChain->ppSwapchainRenderTargets[0]->mDesc.mSrgb; pipelineSettings.mSampleCount = pSwapChain->ppSwapchainRenderTargets[0]->mDesc.mSampleCount; pipelineSettings.mSampleQuality = pSwapChain->ppSwapchainRenderTargets[0]->mDesc.mSampleQuality; pipelineSettings.mDepthStencilFormat = ImageFormat::NONE; pipelineSettings.pRootSignature = pPPR_HolePatchingRootSignature; pipelineSettings.pShaderProgram = pPPR_HolePatchingShader; pipelineSettings.pVertexLayout = &vertexLayoutScreenQuad; pipelineSettings.pRasterizerState = pRasterstateDefault; addPipeline(pRenderer, &pipelineSettings, &pPPR_HolePatchingPipeline); #if defined(VULKAN) transitionRenderTargets(); #endif return true; } void Unload() { waitForFences(pGraphicsQueue, 1, &pRenderCompleteFences[gFrameIndex], true); gAppUI.Unload(); #ifdef TARGET_IOS gVirtualJoystick.Unload(); #endif removePipeline(pRenderer, pPipelineBRDF); removePipeline(pRenderer, pSkyboxPipeline); removePipeline(pRenderer, pPPR_ProjectionPipeline); removePipeline(pRenderer, pPPR_ReflectionPipeline); removePipeline(pRenderer, pPPR_HolePatchingPipeline); removePipeline(pRenderer, pPipelineGbuffers); #ifdef METAL //temporary fix removePipeline(pRenderer, pClearBufferPipeline); #endif removeRenderTarget(pRenderer, pDepthBuffer); removeRenderTarget(pRenderer, pSceneBuffer); removeRenderTarget(pRenderer, pReflectionBuffer); removeResource(pIntermediateBuffer); for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) removeRenderTarget(pRenderer, pRenderTargetDeferredPass[i]); removeSwapChain(pRenderer, pSwapChain); } void Update(float deltaTime) { #if !defined(TARGET_IOS) && !defined(_DURANGO) if (pSwapChain->mDesc.mEnableVsync != gToggleVSync) { ::toggleVSync(pRenderer, &pSwapChain); } #endif if (getKeyDown(KEY_BUTTON_X)) { RecenterCameraView(170.0f); } pCameraController->update(deltaTime); // Update camera mat4 viewMat = pCameraController->getViewMatrix(); const float aspectInverse = (float)mSettings.mHeight / (float)mSettings.mWidth; const float horizontal_fov = PI / 2.0f; mat4 projMat = mat4::perspective(horizontal_fov, aspectInverse, 0.1f, 1000.0f); mat4 ViewProjMat = projMat * viewMat; pUniformDataCamera.mProjectView = ViewProjMat; pUniformDataCamera.mCamPos = pCameraController->getViewPosition(); viewMat.setTranslation(vec3(0)); gUniformDataSky = pUniformDataCamera; gUniformDataSky.mProjectView = projMat * viewMat; //data uniforms pUniformDataExtenedCamera.mCameraWorldPos = vec4(pCameraController->getViewPosition(), 1.0); pUniformDataExtenedCamera.mViewMat = pCameraController->getViewMatrix(); pUniformDataExtenedCamera.mProjMat = projMat; pUniformDataExtenedCamera.mViewProjMat = ViewProjMat; pUniformDataExtenedCamera.mInvViewProjMat = inverse(ViewProjMat); pUniformDataExtenedCamera.mViewPortSize = vec4(static_cast<float>(mSettings.mWidth), static_cast<float>(mSettings.mHeight), 0.0, 0.0); //projection uniforms pUniformPPRProData.renderMode = gRenderMode; pUniformPPRProData.useHolePatching = gUseHolePatching == true ? 1.0f : 0.0f; pUniformPPRProData.useExpensiveHolePatching = gUseExpensiveHolePatching == true ? 1.0f : 0.0f; pUniformPPRProData.useNormalMap = gUseNormalMap == true ? 1.0f : 0.0f; pUniformPPRProData.useFadeEffect = gUseFadeEffect == true ? 1.0f : 0.0f; pUniformPPRProData.intensity = gRRP_Intensity; //Planes pUniformDataPlaneInfo.numPlanes = gPlaneNumber; pUniformDataPlaneInfo.planeInfo[0].centerPoint = vec4(0.0, -6.0f, 0.9f, 0.0); pUniformDataPlaneInfo.planeInfo[0].size = vec4(gPlaneSize); pUniformDataPlaneInfo.planeInfo[1].centerPoint = vec4(10.0, -5.0f, -1.25f, 0.0); pUniformDataPlaneInfo.planeInfo[1].size = vec4(9.0f, 2.0f, 0.0f, 0.0f); pUniformDataPlaneInfo.planeInfo[2].centerPoint = vec4(10.0, -5.0f, 3.0f, 0.0); pUniformDataPlaneInfo.planeInfo[2].size = vec4(9.0f, 2.0f, 0.0f, 0.0f); pUniformDataPlaneInfo.planeInfo[3].centerPoint = vec4(10.0, 1.0f, 0.9f, 0.0); pUniformDataPlaneInfo.planeInfo[3].size = vec4(10.0f); mat4 basicMat; basicMat[0] = vec4(1.0, 0.0, 0.0, 0.0); //tan basicMat[1] = vec4(0.0, 0.0, -1.0, 0.0); //bitan basicMat[2] = vec4(0.0, 1.0, 0.0, 0.0); //normal basicMat[3] = vec4(0.0, 0.0, 0.0, 1.0); pUniformDataPlaneInfo.planeInfo[0].rotMat = basicMat; pUniformDataPlaneInfo.planeInfo[1].rotMat = basicMat.rotationX(0.01745329251994329576923690768489f * -80.0f); pUniformDataPlaneInfo.planeInfo[2].rotMat = basicMat.rotationX(0.01745329251994329576923690768489f * -100.0f); pUniformDataPlaneInfo.planeInfo[3].rotMat = basicMat.rotationX(0.01745329251994329576923690768489f * 90.0f);; #if defined(DIRECT3D12) || defined(_DURANGO) // Need to check why this should be transposed on DX12 // Even view or proj matrices work well.... pUniformDataPlaneInfo.planeInfo[0].rotMat = transpose(pUniformDataPlaneInfo.planeInfo[0].rotMat); pUniformDataPlaneInfo.planeInfo[1].rotMat = transpose(pUniformDataPlaneInfo.planeInfo[1].rotMat); pUniformDataPlaneInfo.planeInfo[2].rotMat = transpose(pUniformDataPlaneInfo.planeInfo[2].rotMat); pUniformDataPlaneInfo.planeInfo[3].rotMat = transpose(pUniformDataPlaneInfo.planeInfo[3].rotMat); #endif /************************************************************************/ // Update GUI /************************************************************************/ gAppUI.Update(deltaTime); } void Draw() { // This will acquire the next swapchain image acquireNextImage(pRenderer, pSwapChain, pImageAcquiredSemaphore, NULL, &gFrameIndex); Semaphore* pRenderCompleteSemaphore = pRenderCompleteSemaphores[gFrameIndex]; Fence* pRenderCompleteFence = pRenderCompleteFences[gFrameIndex]; // Stall if CPU is running "Swap Chain Buffer Count" frames ahead of GPU FenceStatus fenceStatus; getFenceStatus(pRenderer, pRenderCompleteFence, &fenceStatus); if (fenceStatus == FENCE_STATUS_INCOMPLETE) waitForFences(pGraphicsQueue, 1, &pRenderCompleteFence, false); tinystl::vector<Cmd*> allCmds; BufferUpdateDesc camBuffUpdateDesc = { pBufferUniformCamera[gFrameIndex], &pUniformDataCamera }; updateResource(&camBuffUpdateDesc); BufferUpdateDesc skyboxViewProjCbv = { pBufferUniformCameraSky[gFrameIndex], &gUniformDataSky }; updateResource(&skyboxViewProjCbv); BufferUpdateDesc CbvExtendedCamera = { pBufferUniformExtendedCamera[gFrameIndex], &pUniformDataExtenedCamera }; updateResource(&CbvExtendedCamera); BufferUpdateDesc CbPPR_Prop = { pBufferUniformPPRPro[gFrameIndex], &pUniformPPRProData }; updateResource(&CbPPR_Prop); BufferUpdateDesc planeInfoBuffUpdateDesc = { pBufferUniformPlaneInfo[gFrameIndex], &pUniformDataPlaneInfo }; updateResource(&planeInfoBuffUpdateDesc); // Draw G-buffers Cmd* cmd = pPrepCmds[gFrameIndex]; beginCmd(cmd); cmdBeginGpuFrameProfile(cmd, pGpuProfiler); //Clear G-buffers and Depth buffer LoadActionsDesc loadActions = {}; for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) { loadActions.mLoadActionsColor[i] = LOAD_ACTION_CLEAR; loadActions.mClearColorValues[i] = pRenderTargetDeferredPass[i]->mDesc.mClearValue; } loadActions.mLoadActionDepth = LOAD_ACTION_CLEAR; loadActions.mClearDepth = { 1.0f, 0.0f }; // Clear depth to the far plane and stencil to 0 // Transfer G-buffers to render target state for each buffer TextureBarrier barrier; for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) { barrier = { pRenderTargetDeferredPass[i]->pTexture, RESOURCE_STATE_RENDER_TARGET }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); } // Transfer DepthBuffer to a DephtWrite State barrier = { pDepthBuffer->pTexture, RESOURCE_STATE_DEPTH_WRITE }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); cmdBindRenderTargets(cmd, DEFERRED_RT_COUNT, pRenderTargetDeferredPass, pDepthBuffer, &loadActions, NULL, NULL, -1, -1); cmdSetViewport(cmd, 0.0f, 0.0f, (float)pRenderTargetDeferredPass[0]->mDesc.mWidth, (float)pRenderTargetDeferredPass[0]->mDesc.mHeight, 0.0f, 1.0f); cmdSetScissor(cmd, 0, 0, pRenderTargetDeferredPass[0]->mDesc.mWidth, pRenderTargetDeferredPass[0]->mDesc.mHeight); // Draw the skybox. cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "Render SkyBox", true); cmdBindPipeline(cmd, pSkyboxPipeline); DescriptorData skyParams[2] = {}; skyParams[0].pName = "uniformBlock"; skyParams[0].ppBuffers = &pBufferUniformCameraSky[gFrameIndex]; skyParams[1].pName = "skyboxTex"; skyParams[1].ppTextures = &pSkybox; cmdBindDescriptors(cmd, pSkyboxRootSignature, 2, skyParams); cmdBindVertexBuffer(cmd, 1, &pSkyboxVertexBuffer, NULL); cmdDraw(cmd, 36, 0); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); // Draw Sponza cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "Fill GBuffers", true); //The default code path we have if not iOS uses an array of texture of size 81 //iOS only supports 31 max texture units in a fragment shader for most devices. //so fallback to binding every texture for every draw call (max of 5 textures) #ifdef TARGET_IOS cmdBindPipeline(cmd, pPipelineGbuffers); DescriptorData params[8] = {}; params[0].pName = "cbCamera"; params[0].ppBuffers = &pBufferUniformCamera[gFrameIndex]; for (int i = 0; i < pSponzaVertexBufferPosition.size(); i++) { Buffer* pSponzaVertexBuffers[] = { pSponzaVertexBufferPosition[i] }; cmdBindVertexBuffer(cmd, 1, pSponzaVertexBuffers, NULL); cmdBindIndexBuffer(cmd, pSponzaIndexBuffer[i], NULL); params[1].pName = "cbObject"; params[1].ppBuffers = &pSponzaBuffer; int materialID = gSponzaMaterialID[i]; materialID *= 5; //because it uses 5 basic textures for redering BRDF for (int j = 0; j <5; ++j) { //added params[2 + j].pName = pTextureName[j]; params[2 + j].ppTextures = &pMaterialTextures[gSponzaTextureIndexforMaterial[materialID + j]]; } cmdBindDescriptors(cmd, pRootSigGbuffers, 7, params); cmdDrawIndexed(cmd, gSponzaIndicesArray[i], 0, 0); } #else cmdBindPipeline(cmd, pPipelineGbuffers); DescriptorData params[8] = {}; params[0].pName = "cbCamera"; params[0].ppBuffers = &pBufferUniformCamera[gFrameIndex]; params[1].pName = "cbObject"; params[1].ppBuffers = &pSponzaBuffer; params[2].pName = "textureMaps"; params[2].ppTextures = pMaterialTextures; params[2].mCount = TOTAL_IMGS; cmdBindDescriptors(cmd, pRootSigGbuffers, 3, params); struct MaterialMaps { uint mapIDs[5]; } data; for (uint32_t i = 0; i < (uint32_t)pSponzaVertexBufferPosition.size(); ++i) { Buffer* pSponzaVertexBuffers[] = { pSponzaVertexBufferPosition[i] }; cmdBindVertexBuffer(cmd, 1, pSponzaVertexBuffers, NULL); cmdBindIndexBuffer(cmd, pSponzaIndexBuffer[i], 0); int materialID = gSponzaMaterialID[i]; materialID *= 5; //because it uses 5 basic textures for redering BRDF for (int j = 0; j < 5; ++j) { //added data.mapIDs[j] = gSponzaTextureIndexforMaterial[materialID + j]; } params[0].pName = "cbTextureRootConstants"; params[0].pRootConstant = &data; cmdBindDescriptors(cmd, pRootSigGbuffers, 1, params); cmdDrawIndexed(cmd, gSponzaIndicesArray[i], 0, 0); } #endif //Draw Lion cmdBindVertexBuffer(cmd, 1, &pLionVertexBufferPosition, NULL); cmdBindIndexBuffer(cmd, pLionIndexBuffer, 0); #ifdef TARGET_IOS params[0].pName = "cbCamera"; params[0].ppBuffers = &pBufferUniformCamera[gFrameIndex]; params[1].pName = "cbObject"; params[1].ppBuffers = &pLionBuffer; params[2].pName = pTextureName[0]; params[2].ppTextures = &pMaterialTextures[81]; params[3].pName = pTextureName[1]; params[3].ppTextures = &pMaterialTextures[83]; params[4].pName = pTextureName[2]; params[4].ppTextures = &pMaterialTextures[6]; params[5].pName = pTextureName[3]; params[5].ppTextures = &pMaterialTextures[6]; params[6].pName = pTextureName[4]; params[6].ppTextures = &pMaterialTextures[0]; cmdBindDescriptors(cmd, pRootSigGbuffers, 7, params); #else data.mapIDs[0] = 81; data.mapIDs[1] = 83; data.mapIDs[2] = 6; data.mapIDs[3] = 6; data.mapIDs[4] = 0; params[0].pName = "cbObject"; params[0].ppBuffers = &pLionBuffer; params[1].pName = "cbTextureRootConstants"; params[1].pRootConstant = &data; cmdBindDescriptors(cmd, pRootSigGbuffers, 2, params); #endif cmdDrawIndexed(cmd, gLionIndicesArray[0], 0, 0); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); endCmd(cmd); allCmds.push_back(cmd); // Render BRDF cmd = pBrdfCmds[gFrameIndex]; beginCmd(cmd); // Transfer G-buffers to a Shader resource state for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) { barrier = { pRenderTargetDeferredPass[i]->pTexture, RESOURCE_STATE_SHADER_RESOURCE }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); } // Transfer current render target to a render target state barrier = { pSceneBuffer->pTexture, RESOURCE_STATE_RENDER_TARGET }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); // Transfer DepthBuffer to a Shader resource state barrier = { pDepthBuffer->pTexture, RESOURCE_STATE_SHADER_RESOURCE }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); loadActions = {}; loadActions.mLoadActionsColor[0] = LOAD_ACTION_CLEAR; loadActions.mClearColorValues[0] = pSceneBuffer->mDesc.mClearValue; cmdBindRenderTargets(cmd, 1, &pSceneBuffer, NULL, &loadActions, NULL, NULL, -1, -1); cmdSetViewport(cmd, 0.0f, 0.0f, (float)pSceneBuffer->mDesc.mWidth, (float)pSceneBuffer->mDesc.mHeight, 0.0f, 1.0f); cmdSetScissor(cmd, 0, 0, pSceneBuffer->mDesc.mWidth, pSceneBuffer->mDesc.mHeight); cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "Render BRDF", false); cmdBindPipeline(cmd, pPipelineBRDF); DescriptorData BRDFParams[12] = {}; BRDFParams[0].pName = "cbExtendCamera"; BRDFParams[0].ppBuffers = &pBufferUniformExtendedCamera[gFrameIndex]; BRDFParams[1].pName = "cbLights"; BRDFParams[1].ppBuffers = &pBufferUniformLights; BRDFParams[2].pName = "cbDLights"; BRDFParams[2].ppBuffers = &pBufferUniformDirectionalLights; BRDFParams[3].pName = "brdfIntegrationMap"; BRDFParams[3].ppTextures = &pBRDFIntegrationMap; BRDFParams[4].pName = "irradianceMap"; BRDFParams[4].ppTextures = &pIrradianceMap; BRDFParams[5].pName = "specularMap"; BRDFParams[5].ppTextures = &pSpecularMap; BRDFParams[6].pName = "AlbedoTexture"; BRDFParams[6].ppTextures = &pRenderTargetDeferredPass[0]->pTexture; BRDFParams[7].pName = "NormalTexture"; BRDFParams[7].ppTextures = &pRenderTargetDeferredPass[1]->pTexture; BRDFParams[8].pName = "RoughnessTexture"; BRDFParams[8].ppTextures = &pRenderTargetDeferredPass[2]->pTexture; BRDFParams[9].pName = "DepthTexture"; BRDFParams[9].ppTextures = &pDepthBuffer->pTexture; cmdBindVertexBuffer(cmd, 1, &pScreenQuadVertexBuffer, NULL); cmdBindDescriptors(cmd, pRootSigBRDF, 10, BRDFParams); cmdDraw(cmd, 3, 0); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); endCmd(cmd); allCmds.push_back(cmd); // PixelProjectReflections_ProjectionPass cmd = pPPR_ProjectionCmds[gFrameIndex]; beginCmd(cmd); #ifdef METAL //temporary fix cmdBindRenderTargets(cmd, 0, NULL, NULL, NULL, NULL, NULL, -1, -1); cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "Clear Compute Buffer", false); cmdBindPipeline(cmd, pClearBufferPipeline); DescriptorData ClearBufferParams[1] = {}; ClearBufferParams[0].pName = "IntermediateBuffer"; ClearBufferParams[0].ppBuffers = &pIntermediateBuffer; cmdBindDescriptors(cmd, pClearBufferRootSignature, 1, ClearBufferParams); const uint32_t* pThreadGroupSize_Clear = cmd->pShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, (mSettings.mWidth * mSettings.mHeight/ pThreadGroupSize_Clear[0]) + 1, 1, 1); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); cmdBindRenderTargets(cmd, 0, NULL, NULL, NULL, NULL, NULL, -1, -1); #endif cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "Pixel-Projected Reflections", false); cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "ProjectionPass", true); cmdBindPipeline(cmd, pPPR_ProjectionPipeline); DescriptorData PPR_ProjectionParams[5] = {}; PPR_ProjectionParams[0].pName = "cbExtendCamera"; PPR_ProjectionParams[0].ppBuffers = &pBufferUniformExtendedCamera[gFrameIndex]; PPR_ProjectionParams[1].pName = "IntermediateBuffer"; PPR_ProjectionParams[1].ppBuffers = &pIntermediateBuffer; PPR_ProjectionParams[2].pName = "DepthTexture"; PPR_ProjectionParams[2].ppTextures = &pDepthBuffer->pTexture; PPR_ProjectionParams[3].pName = "planeInfoBuffer"; PPR_ProjectionParams[3].ppBuffers = &pBufferUniformPlaneInfo[gFrameIndex]; cmdBindDescriptors(cmd, pPPR_ProjectionRootSignature, 4, PPR_ProjectionParams); const uint32_t* pThreadGroupSize = pPPR_ProjectionShader->mReflection.mStageReflections[0].mNumThreadsPerGroup; cmdDispatch(cmd, (mSettings.mWidth * mSettings.mHeight / pThreadGroupSize[0]) + 1, 1, 1); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); endCmd(cmd); allCmds.push_back(cmd); // PixelProjectReflections_ReflectionPass cmd = pPPR_ReflectionCmds[gFrameIndex]; beginCmd(cmd); RenderTarget* pRenderTarget = pReflectionBuffer; barrier = { pSceneBuffer->pTexture, RESOURCE_STATE_SHADER_RESOURCE }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); // Transfer current render target to a render target state barrier = { pRenderTarget->pTexture, RESOURCE_STATE_RENDER_TARGET }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); loadActions = {}; loadActions.mLoadActionsColor[0] = LOAD_ACTION_CLEAR; loadActions.mClearColorValues[0] = pRenderTarget->mDesc.mClearValue; cmdBindRenderTargets(cmd, 1, &pRenderTarget, NULL, &loadActions, NULL, NULL, -1, -1); cmdSetViewport(cmd, 0.0f, 0.0f, (float)pRenderTarget->mDesc.mWidth, (float)pRenderTarget->mDesc.mHeight, 0.0f, 1.0f); cmdSetScissor(cmd, 0, 0, pRenderTarget->mDesc.mWidth, pRenderTarget->mDesc.mHeight); cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "ReflectionPass", true); cmdBindPipeline(cmd, pPPR_ReflectionPipeline); DescriptorData PPR_ReflectionParams[7] = {}; PPR_ReflectionParams[0].pName = "cbExtendCamera"; PPR_ReflectionParams[0].ppBuffers = &pBufferUniformExtendedCamera[gFrameIndex]; PPR_ReflectionParams[1].pName = "SceneTexture"; PPR_ReflectionParams[1].ppTextures = &pSceneBuffer->pTexture; PPR_ReflectionParams[2].pName = "planeInfoBuffer"; PPR_ReflectionParams[2].ppBuffers = &pBufferUniformPlaneInfo[gFrameIndex]; PPR_ReflectionParams[3].pName = "IntermediateBuffer"; PPR_ReflectionParams[3].ppBuffers = &pIntermediateBuffer; PPR_ReflectionParams[4].pName = "DepthTexture"; PPR_ReflectionParams[4].ppTextures = &pDepthBuffer->pTexture; PPR_ReflectionParams[5].pName = "cbProperties"; PPR_ReflectionParams[5].ppBuffers = &pBufferUniformPPRPro[gFrameIndex]; cmdBindDescriptors(cmd, pPPR_ReflectionRootSignature, 6, PPR_ReflectionParams); cmdBindVertexBuffer(cmd, 1, &pScreenQuadVertexBuffer, NULL); cmdDraw(cmd, 3, 0); //End ReflectionPass cmdEndGpuTimestampQuery(cmd, pGpuProfiler); endCmd(cmd); allCmds.push_back(cmd); //Present cmd = ppCmds[gFrameIndex]; beginCmd(cmd); pRenderTarget = pSwapChain->ppSwapchainRenderTargets[gFrameIndex]; barrier = { pReflectionBuffer->pTexture, RESOURCE_STATE_SHADER_RESOURCE }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); barrier = { pRenderTarget->pTexture, RESOURCE_STATE_RENDER_TARGET }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, false); loadActions = {}; loadActions.mLoadActionsColor[0] = LOAD_ACTION_CLEAR; loadActions.mClearColorValues[0] = pRenderTarget->mDesc.mClearValue; cmdBindRenderTargets(cmd, 1, &pRenderTarget, NULL, &loadActions, NULL, NULL, -1, -1); cmdSetViewport(cmd, 0.0f, 0.0f, (float)pRenderTarget->mDesc.mWidth, (float)pRenderTarget->mDesc.mHeight, 0.0f, 1.0f); cmdSetScissor(cmd, 0, 0, pRenderTarget->mDesc.mWidth, pRenderTarget->mDesc.mHeight); cmdBeginGpuTimestampQuery(cmd, pGpuProfiler, "HolePatching", true); cmdBindPipeline(cmd, pPPR_HolePatchingPipeline); DescriptorData PPR_HolePatchingParams[6] = {}; PPR_HolePatchingParams[0].pName = "cbExtendCamera"; PPR_HolePatchingParams[0].ppBuffers = &pBufferUniformExtendedCamera[gFrameIndex]; PPR_HolePatchingParams[1].pName = "SceneTexture"; PPR_HolePatchingParams[1].ppTextures = &pSceneBuffer->pTexture; PPR_HolePatchingParams[2].pName = "SSRTexture"; PPR_HolePatchingParams[2].ppTextures = &pReflectionBuffer->pTexture; PPR_HolePatchingParams[3].pName = "cbProperties"; PPR_HolePatchingParams[3].ppBuffers = &pBufferUniformPPRPro[gFrameIndex]; cmdBindDescriptors(cmd, pPPR_HolePatchingRootSignature, 4, PPR_HolePatchingParams); cmdBindVertexBuffer(cmd, 1, &pScreenQuadVertexBuffer, NULL); cmdDraw(cmd, 3, 0); cmdEndGpuTimestampQuery(cmd, pGpuProfiler); //End Pixel-Projected Reflections cmdEndGpuTimestampQuery(cmd, pGpuProfiler); static HiresTimer gTimer; gTimer.GetUSec(true); #ifdef TARGET_IOS gVirtualJoystick.Draw(cmd, pCameraController, { 1.0f, 1.0f, 1.0f, 1.0f }); #endif drawDebugText(cmd, 8, 15, tinystl::string::format("CPU %f ms", gTimer.GetUSecAverage() / 1000.0f), &gFrameTimeDraw); #ifndef METAL // Metal doesn't support GPU profilers drawDebugText(cmd, 8, 40, tinystl::string::format("GPU %f ms", (float)pGpuProfiler->mCumulativeTime * 1000.0f), &gFrameTimeDraw); drawDebugGpuProfile(cmd, 8, 65, pGpuProfiler, NULL); #endif #ifndef TARGET_IOS gAppUI.Gui(pGui); #endif gAppUI.Draw(cmd); cmdBindRenderTargets(cmd, 0, NULL, NULL, NULL, NULL, NULL, -1, -1); // Transition our texture to present state barrier = { pRenderTarget->pTexture, RESOURCE_STATE_PRESENT }; cmdResourceBarrier(cmd, 0, NULL, 1, &barrier, true); cmdEndGpuFrameProfile(cmd, pGpuProfiler); endCmd(cmd); allCmds.push_back(cmd); queueSubmit(pGraphicsQueue, (uint32_t)allCmds.size(), allCmds.data(), pRenderCompleteFence, 1, &pImageAcquiredSemaphore, 1, &pRenderCompleteSemaphore); queuePresent(pGraphicsQueue, pSwapChain, gFrameIndex, 1, &pRenderCompleteSemaphore); } tinystl::string GetName() { return "10_PixelProjectedReflections"; } bool addSwapChain() { SwapChainDesc swapChainDesc = {}; swapChainDesc.pWindow = pWindow; swapChainDesc.mPresentQueueCount = 1; swapChainDesc.ppPresentQueues = &pGraphicsQueue; swapChainDesc.mWidth = mSettings.mWidth; swapChainDesc.mHeight = mSettings.mHeight; swapChainDesc.mImageCount = gImageCount; swapChainDesc.mSampleCount = SAMPLE_COUNT_1; swapChainDesc.mColorFormat = getRecommendedSwapchainFormat(true); swapChainDesc.mEnableVsync = false; ::addSwapChain(pRenderer, &swapChainDesc, &pSwapChain); return pSwapChain != NULL; } bool addSceneBuffer() { RenderTargetDesc sceneRT = {}; sceneRT.mArraySize = 1; sceneRT.mClearValue = { 0.0f, 0.0f, 0.0f, 0.0f }; sceneRT.mDepth = 1; sceneRT.mFormat = ImageFormat::RGBA8; sceneRT.mHeight = mSettings.mHeight; sceneRT.mWidth = mSettings.mWidth; sceneRT.mSampleCount = SAMPLE_COUNT_1; sceneRT.mSampleQuality = 0; sceneRT.pDebugName = L"Scene Buffer"; addRenderTarget(pRenderer, &sceneRT, &pSceneBuffer); return pSceneBuffer != NULL; } bool addReflectionBuffer() { RenderTargetDesc RT = {}; RT.mArraySize = 1; RT.mClearValue = { 0.0f, 0.0f, 0.0f, 0.0f }; RT.mDepth = 1; RT.mFormat = ImageFormat::RGBA8; RT.mHeight = mSettings.mHeight; RT.mWidth = mSettings.mWidth; RT.mSampleCount = SAMPLE_COUNT_1; RT.mSampleQuality = 0; RT.pDebugName = L"Reflection Buffer"; addRenderTarget(pRenderer, &RT, &pReflectionBuffer); return pReflectionBuffer != NULL; } bool addGBuffers() { ClearValue optimizedColorClearBlack = { 0.0f, 0.0f, 0.0f, 0.0f }; /************************************************************************/ // Deferred pass render targets /************************************************************************/ RenderTargetDesc deferredRTDesc = {}; deferredRTDesc.mArraySize = 1; deferredRTDesc.mClearValue = optimizedColorClearBlack; deferredRTDesc.mDepth = 1; deferredRTDesc.mWidth = mSettings.mWidth; deferredRTDesc.mHeight = mSettings.mHeight; deferredRTDesc.mSampleCount = SAMPLE_COUNT_1; deferredRTDesc.mSampleQuality = 0; deferredRTDesc.pDebugName = L"G-Buffer RTs"; for (uint32_t i = 0; i < DEFERRED_RT_COUNT; ++i) { if (i == 1 || i == 2) deferredRTDesc.mFormat = ImageFormat::RGBA16F; else deferredRTDesc.mFormat = ImageFormat::RGBA8; addRenderTarget(pRenderer, &deferredRTDesc, &pRenderTargetDeferredPass[i]); } return pRenderTargetDeferredPass[0] != NULL; } bool addDepthBuffer() { // Add depth buffer RenderTargetDesc depthRT = {}; depthRT.mArraySize = 1; depthRT.mClearValue = { 1.0f, 0 }; depthRT.mDepth = 1; depthRT.mFormat = ImageFormat::D32F; depthRT.mHeight = mSettings.mHeight; depthRT.mSampleCount = SAMPLE_COUNT_1; depthRT.mSampleQuality = 0; depthRT.mWidth = mSettings.mWidth; addRenderTarget(pRenderer, &depthRT, &pDepthBuffer); return pDepthBuffer != NULL; } bool addIntermeditateBuffer() { // Add Intermediate buffer BufferLoadDesc IntermediateBufferDesc = {}; IntermediateBufferDesc.mDesc.mDescriptors = DESCRIPTOR_TYPE_RW_BUFFER | DESCRIPTOR_TYPE_BUFFER; IntermediateBufferDesc.mDesc.mElementCount = mSettings.mWidth * mSettings.mHeight; IntermediateBufferDesc.mDesc.mStructStride = sizeof(uint32_t); IntermediateBufferDesc.mDesc.mMemoryUsage = RESOURCE_MEMORY_USAGE_GPU_ONLY; #ifdef METAL //temporary fix IntermediateBufferDesc.mDesc.mFlags =BUFFER_CREATION_FLAG_OWN_MEMORY_BIT | BUFFER_CREATION_FLAG_PERSISTENT_MAP_BIT; #endif IntermediateBufferDesc.mDesc.mSize = IntermediateBufferDesc.mDesc.mStructStride * IntermediateBufferDesc.mDesc.mElementCount; gInitializeVal.clear(); for (int i = 0; i < mSettings.mWidth * mSettings.mHeight; i++) { gInitializeVal.push_back(UINT32_MAX); } IntermediateBufferDesc.pData = gInitializeVal.data(); IntermediateBufferDesc.ppBuffer = &pIntermediateBuffer; addResource(&IntermediateBufferDesc); return pIntermediateBuffer != NULL; } void RecenterCameraView(float maxDistance, vec3 lookAt = vec3(0)) { vec3 p = pCameraController->getViewPosition(); vec3 d = p - lookAt; float lenSqr = lengthSqr(d); if (lenSqr > (maxDistance * maxDistance)) { d *= (maxDistance / sqrtf(lenSqr)); } p = d + lookAt; pCameraController->moveTo(p); pCameraController->lookAt(lookAt); } static bool cameraInputEvent(const ButtonData* data) { pCameraController->onInputEvent(data); return true; } }; void assignSponzaTextures() { int AO = 5; int NoMetallic = 6; int Metallic = 7; //00 : leaf gSponzaTextureIndexforMaterial.push_back(66); gSponzaTextureIndexforMaterial.push_back(67); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(68); gSponzaTextureIndexforMaterial.push_back(AO); //01 : vase_round gSponzaTextureIndexforMaterial.push_back(78); gSponzaTextureIndexforMaterial.push_back(79); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(80); gSponzaTextureIndexforMaterial.push_back(AO); //02 : Material__57 (Plant) gSponzaTextureIndexforMaterial.push_back(75); gSponzaTextureIndexforMaterial.push_back(76); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(77); gSponzaTextureIndexforMaterial.push_back(AO); // 03 : Material__298 gSponzaTextureIndexforMaterial.push_back(9); gSponzaTextureIndexforMaterial.push_back(10); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(11); gSponzaTextureIndexforMaterial.push_back(AO); // 04 : 16___Default (gi_flag) gSponzaTextureIndexforMaterial.push_back(8); gSponzaTextureIndexforMaterial.push_back(8); // !!!!!! gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(8); // !!!!! gSponzaTextureIndexforMaterial.push_back(AO); // 05 : bricks gSponzaTextureIndexforMaterial.push_back(22); gSponzaTextureIndexforMaterial.push_back(23); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(24); gSponzaTextureIndexforMaterial.push_back(AO); // 06 : arch gSponzaTextureIndexforMaterial.push_back(19); gSponzaTextureIndexforMaterial.push_back(20); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(21); gSponzaTextureIndexforMaterial.push_back(AO); // 07 : ceiling gSponzaTextureIndexforMaterial.push_back(25); gSponzaTextureIndexforMaterial.push_back(26); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(27); gSponzaTextureIndexforMaterial.push_back(AO); // 08 : column_a gSponzaTextureIndexforMaterial.push_back(28); gSponzaTextureIndexforMaterial.push_back(29); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(30); gSponzaTextureIndexforMaterial.push_back(AO); // 09 : Floor gSponzaTextureIndexforMaterial.push_back(60); gSponzaTextureIndexforMaterial.push_back(61); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(62); gSponzaTextureIndexforMaterial.push_back(AO); // 10 : column_c gSponzaTextureIndexforMaterial.push_back(34); gSponzaTextureIndexforMaterial.push_back(35); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(36); gSponzaTextureIndexforMaterial.push_back(AO); // 11 : details gSponzaTextureIndexforMaterial.push_back(45); gSponzaTextureIndexforMaterial.push_back(47); gSponzaTextureIndexforMaterial.push_back(46); gSponzaTextureIndexforMaterial.push_back(48); gSponzaTextureIndexforMaterial.push_back(AO); // 12 : column_b gSponzaTextureIndexforMaterial.push_back(31); gSponzaTextureIndexforMaterial.push_back(32); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(33); gSponzaTextureIndexforMaterial.push_back(AO); // 13 : Material__47 - it seems missing gSponzaTextureIndexforMaterial.push_back(19); gSponzaTextureIndexforMaterial.push_back(20); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(21); gSponzaTextureIndexforMaterial.push_back(AO); // 14 : flagpole gSponzaTextureIndexforMaterial.push_back(57); gSponzaTextureIndexforMaterial.push_back(58); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(59); gSponzaTextureIndexforMaterial.push_back(AO); // 15 : fabric_e (green) gSponzaTextureIndexforMaterial.push_back(51); gSponzaTextureIndexforMaterial.push_back(52); gSponzaTextureIndexforMaterial.push_back(53); gSponzaTextureIndexforMaterial.push_back(54); gSponzaTextureIndexforMaterial.push_back(AO); // 16 : fabric_d (blue) gSponzaTextureIndexforMaterial.push_back(49); gSponzaTextureIndexforMaterial.push_back(50); gSponzaTextureIndexforMaterial.push_back(53); gSponzaTextureIndexforMaterial.push_back(54); gSponzaTextureIndexforMaterial.push_back(AO); // 17 : fabric_a (red) gSponzaTextureIndexforMaterial.push_back(55); gSponzaTextureIndexforMaterial.push_back(56); gSponzaTextureIndexforMaterial.push_back(53); gSponzaTextureIndexforMaterial.push_back(54); gSponzaTextureIndexforMaterial.push_back(AO); // 18 : fabric_g (curtain_blue) gSponzaTextureIndexforMaterial.push_back(37); gSponzaTextureIndexforMaterial.push_back(38); gSponzaTextureIndexforMaterial.push_back(43); gSponzaTextureIndexforMaterial.push_back(44); gSponzaTextureIndexforMaterial.push_back(AO); // 19 : fabric_c (curtain_red) gSponzaTextureIndexforMaterial.push_back(41); gSponzaTextureIndexforMaterial.push_back(42); gSponzaTextureIndexforMaterial.push_back(43); gSponzaTextureIndexforMaterial.push_back(44); gSponzaTextureIndexforMaterial.push_back(AO); // 20 : fabric_f (curtain_green) gSponzaTextureIndexforMaterial.push_back(39); gSponzaTextureIndexforMaterial.push_back(40); gSponzaTextureIndexforMaterial.push_back(43); gSponzaTextureIndexforMaterial.push_back(44); gSponzaTextureIndexforMaterial.push_back(AO); // 21 : chain gSponzaTextureIndexforMaterial.push_back(12); gSponzaTextureIndexforMaterial.push_back(14); gSponzaTextureIndexforMaterial.push_back(13); gSponzaTextureIndexforMaterial.push_back(15); gSponzaTextureIndexforMaterial.push_back(AO); // 22 : vase_hanging gSponzaTextureIndexforMaterial.push_back(72); gSponzaTextureIndexforMaterial.push_back(73); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(74); gSponzaTextureIndexforMaterial.push_back(AO); // 23 : vase gSponzaTextureIndexforMaterial.push_back(69); gSponzaTextureIndexforMaterial.push_back(70); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(71); gSponzaTextureIndexforMaterial.push_back(AO); // 24 : Material__25 (lion) gSponzaTextureIndexforMaterial.push_back(16); gSponzaTextureIndexforMaterial.push_back(17); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(18); gSponzaTextureIndexforMaterial.push_back(AO); // 25 : roof gSponzaTextureIndexforMaterial.push_back(63); gSponzaTextureIndexforMaterial.push_back(64); gSponzaTextureIndexforMaterial.push_back(NoMetallic); gSponzaTextureIndexforMaterial.push_back(65); gSponzaTextureIndexforMaterial.push_back(AO); } DEFINE_APPLICATION_MAIN(MaterialPlayground)
[ "jenkins@conffx.com" ]
jenkins@conffx.com
775e53378c6a20fca8f804f25ec80f49d85f6623
5838cf8f133a62df151ed12a5f928a43c11772ed
/NT/base/cluster/mgmt/clusocm/ctaskupgradewin2k.h
36dbe12ee13f00db4834d3221c8d0634176f95a3
[]
no_license
proaholic/Win2K3
e5e17b2262f8a2e9590d3fd7a201da19771eb132
572f0250d5825e7b80920b6610c22c5b9baaa3aa
refs/heads/master
2023-07-09T06:15:54.474432
2021-08-11T09:09:14
2021-08-11T09:09:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,649
h
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000-2002 Microsoft Corporation // // Module Name: // CTaskUpgradeWin2k.h // // Description: // This file contains the declaration of the class CTaskUpgradeWindows2000. // This class represents the task of upgrading the cluster service on // a node that had Windows 2000 installed on it. // // Implementation Files: // CTaskUpgradeWin2k.cpp // // Maintained By: // David Potter (DavidP) 07-SEP-2001 // Vij Vasu (Vvasu) 26-JUL-2000 // ////////////////////////////////////////////////////////////////////////////// #pragma once ////////////////////////////////////////////////////////////////////////////// // Include Files ////////////////////////////////////////////////////////////////////////////// // For the base class #include "CTaskUpgrade.h" ////////////////////////////////////////////////////////////////////////////// // Forward Declarations ////////////////////////////////////////////////////////////////////////////// class CTaskUpgradeWindows2000; ////////////////////////////////////////////////////////////////////////////// // External Declarations ////////////////////////////////////////////////////////////////////////////// class CClusOCMApp; ////////////////////////////////////////////////////////////////////////////// //++ // // class CTaskUpgradeWindows2000 // // Description: // This class represents the task of upgrading the cluster service on // a node that had Windows 2000 installed on it. // //-- ////////////////////////////////////////////////////////////////////////////// class CTaskUpgradeWindows2000 : public CTaskUpgrade { public: ////////////////////////////////////////////////////////////////////////// // Public constructors and destructors ////////////////////////////////////////////////////////////////////////// // Constructor. CTaskUpgradeWindows2000( const CClusOCMApp & rAppIn ); // Destructor virtual ~CTaskUpgradeWindows2000( void ); ////////////////////////////////////////////////////////////////////////// // Message handlers ////////////////////////////////////////////////////////////////////////// // Handler for the OC_QUEUE_FILE_OPS message. virtual DWORD DwOcQueueFileOps( HSPFILEQ hSetupFileQueueIn ); // Handler for the OC_COMPLETE_INSTALLATION message. virtual DWORD DwOcCompleteInstallation( void ); // Handler for the OC_CLEANUP message. virtual DWORD DwOcCleanup( void ); protected: ////////////////////////////////////////////////////////////////////////// // Protected methods ////////////////////////////////////////////////////////////////////////// // Map ids specified in the INF file to actual directories. DWORD DwSetDirectoryIds( void ); private: ////////////////////////////////////////////////////////////////////////// // Forbidden methods ////////////////////////////////////////////////////////////////////////// // // Copying an object of this class is not allowed. // // Private copy constructor. CTaskUpgradeWindows2000( const CTaskUpgradeWindows2000 & ); // Private assignment operator. const CTaskUpgradeWindows2000 & operator =( const CTaskUpgradeWindows2000 & ); ////////////////////////////////////////////////////////////////////////// // Private types ////////////////////////////////////////////////////////////////////////// typedef CTaskUpgrade BaseClass; }; //*** class CTaskUpgradeWindows2000
[ "blindtiger@foxmail.com" ]
blindtiger@foxmail.com
27233accce4b93ae5a7a5a62f2714977d349c38c
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/libs/chrono/example/test_clock.cpp
c08473c9955c5c70dd319285902480cac71c6e94
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,609
cpp
// test_system_clock.cpp ----------------------------------------------------------// // Copyright 2008 Howard Hinnant // Copyright 2008 Beman Dawes // Copyright 2009 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt /* This code was extracted by Vicente J. Botet Escriba from Beman Dawes time2_demo.cpp which was derived by Beman Dawes from Howard Hinnant's time2_demo prototype. Many thanks to Howard for making his code available under the Boost license. The original code was modified to conform to Boost conventions and to section 20.9 Time utilities [time] of the C++ committee's working paper N2798. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2798.pdf. time2_demo contained this comment: Much thanks to Andrei Alexandrescu, Walter Brown, Peter Dimov, Jeff Garland, Terry Golubiewski, Daniel Krugler, Anthony Williams. */ #include <sstd/boost/chrono/chrono.hpp> #include <sstd/boost/type_traits.hpp> #include <iostream> #include "clock_name.hpp" #if defined(BOOST_NO_CXX11_CONSTEXPR) using namespace boost::chrono; template <typename Clock> void test_clock() { std::cout << "\n"<< name<Clock>::apply() << " test" << std::endl; { typename Clock::duration delay = milliseconds(5); typename Clock::time_point start = Clock::now(); while (Clock::now() - start <= delay) ; typename Clock::time_point stop = Clock::now(); //typename Clock::duration elapsed = stop - start; std::cout << "5 milliseconds paused " << nanoseconds(stop - start).count() << " nanoseconds\n"; } { typename Clock::time_point start = Clock::now(); typename Clock::time_point stop; std::size_t counter=1; while ((stop=Clock::now()) == start) { ++counter; } //typename Clock::duration elapsed = stop - start; std::cout << "After " << counter << " trials, elapsed time " << nanoseconds(stop - start).count() << " nanoseconds\n"; start = Clock::now(); for (std::size_t c=counter; c>0; --c) { stop=Clock::now();; } std::cout << "After " << counter << " trials, elapsed time " << nanoseconds(stop - start).count() << " nanoseconds\n"; } { typename Clock::time_point start = Clock::now(); typename Clock::time_point stop = Clock::now(); std::cout << "Resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n"; } } void test_system_clock() { std::cout << "system_clock test" << std::endl; system_clock::duration delay = milliseconds(5); system_clock::time_point start = system_clock::now(); while (system_clock::now() - start <= delay) ; system_clock::time_point stop = system_clock::now(); system_clock::duration elapsed = stop - start; std::cout << "paused " << nanoseconds(elapsed).count() << " nanoseconds\n"; start = system_clock::now(); stop = system_clock::now(); std::cout << "system_clock resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n"; } void test_steady_clock() { #ifdef BOOST_CHRONO_HAS_CLOCK_STEADY std::cout << "steady_clock test" << std::endl; steady_clock::duration delay = milliseconds(5); steady_clock::time_point start = steady_clock::now(); while (steady_clock::now() - start <= delay) ; steady_clock::time_point stop = steady_clock::now(); steady_clock::duration elapsed = stop - start; std::cout << "paused " << nanoseconds(elapsed).count() << " nanoseconds\n"; start = steady_clock::now(); stop = steady_clock::now(); std::cout << "steady_clock resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n"; #endif } void test_hi_resolution_clock() { std::cout << "high_resolution_clock test" << std::endl; high_resolution_clock::duration delay = milliseconds(5); high_resolution_clock::time_point start = high_resolution_clock::now(); while (high_resolution_clock::now() - start <= delay) ; high_resolution_clock::time_point stop = high_resolution_clock::now(); high_resolution_clock::duration elapsed = stop - start; std::cout << "paused " << nanoseconds(elapsed).count() << " nanoseconds\n"; start = high_resolution_clock::now(); stop = high_resolution_clock::now(); std::cout << "high_resolution_clock resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n"; } //void test_mixed_clock() //{ // std::cout << "mixed clock test" << std::endl; // high_resolution_clock::time_point hstart = high_resolution_clock::now(); // std::cout << "Add 5 milliseconds to a high_resolution_clock::time_point\n"; // steady_clock::time_point mend = hstart + milliseconds(5); // bool b = hstart == mend; // system_clock::time_point sstart = system_clock::now(); // std::cout << "Subtracting system_clock::time_point from steady_clock::time_point doesn't compile\n"; //// mend - sstart; // doesn't compile // std::cout << "subtract high_resolution_clock::time_point from steady_clock::time_point" // " and add that to a system_clock::time_point\n"; // system_clock::time_point send = sstart + duration_cast<system_clock::duration>(mend - hstart); // std::cout << "subtract two system_clock::time_point's and output that in microseconds:\n"; // microseconds ms = send - sstart; // std::cout << ms.count() << " microseconds\n"; //} // //void test_c_mapping() //{ // std::cout << "C map test\n"; // using namespace boost::chrono; // system_clock::time_point t1 = system_clock::now(); // std::time_t c_time = system_clock::to_time_t(t1); // std::tm* tmptr = std::localtime(&c_time); // std::cout << "It is now " << tmptr->tm_hour << ':' << tmptr->tm_min << ':' << tmptr->tm_sec << ' ' // << tmptr->tm_year + 1900 << '-' << tmptr->tm_mon + 1 << '-' << tmptr->tm_mday << '\n'; // c_time = std::mktime(tmptr); // system_clock::time_point t2 = system_clock::from_time_t(c_time); // microseconds ms = t1 - t2; // std::cout << "Round-tripping through the C interface truncated the precision by " << ms.count() << " microseconds\n"; //} int main() { test_system_clock(); test_steady_clock(); test_hi_resolution_clock(); //test_mixed_clock(); test_clock<system_clock>(); #ifdef BOOST_CHRONO_HAS_CLOCK_STEADY test_clock<steady_clock>(); #endif test_clock<high_resolution_clock>(); return 0; } #else int main() { return 0; } #endif
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
05025747a2dacb0ce35b88b00d3be57815a9b6b3
93c4ca4bee3964373e01e5b83b890b756c8258c2
/futures.h
4b95c3669c48efffb5ff6424bed4484d2b4acf26
[]
no_license
maierlars/agency-node
4b157144637e07b3bc9633895a5a538cad8a3257
55c39797bc4ce6086af4fc6d0a2b0be91fde696b
refs/heads/master
2021-07-01T10:59:42.520005
2021-02-26T14:39:18
2021-02-26T14:39:18
224,397,500
2
2
null
2019-12-30T12:22:16
2019-11-27T09:48:59
C++
UTF-8
C++
false
false
5,283
h
#ifndef AGENCY_NODE_FUTURES_H #define AGENCY_NODE_FUTURES_H #include <utility> #include <optional> #include <functional> #include <atomic> #include <memory> #include <mutex> #include <condition_variable> #include <cassert> #include "deserialize/types.h" struct scheduler { static void queue(std::function<void(void)> const& handler) noexcept { handler(); } }; template<typename T> struct promise; template<typename T> struct future; template<typename T> struct shared_state { enum class state { EMPTY, CALLBACK, VALUE, DONE }; shared_state(shared_state&&) = delete; shared_state(shared_state const&) = delete; shared_state& operator=(shared_state&&) = delete; shared_state& operator=(shared_state const&) = delete; template<typename S = T> explicit shared_state(S&& s) : _state(state::VALUE), _callback(), _value(std::forward<S>(s)) {} shared_state() noexcept = default; std::atomic<state> _state; std::function<void(T&&)> _callback; std::optional<T> _value; template<typename S = T> void setValue(S && s) noexcept { _value = std::forward<S>(s); transit<state::VALUE, state::CALLBACK>(); } void setCallback(std::function<void(T&&)> cb) noexcept { _callback = cb; transit<state::CALLBACK, state::VALUE>(); }; private: template<state A, state B> void transit() { state expected = state::EMPTY; if (_state.compare_exchange_strong(expected, A)) { return ; } assert(expected == B); if (_state.compare_exchange_strong(expected, state::DONE)) { _callback(std::move(*_value)); return; } assert(false); } }; template<typename T> std::pair<future<T>, promise<T>> make_promise() noexcept; template<typename T> future<T> make_future(T&&) noexcept; template<typename T> struct promise { promise() = delete; promise(promise const&) = default; promise(promise&&) noexcept = default; promise& operator=(promise const&) = delete; promise& operator=(promise&&) noexcept = default; void set(T t) && noexcept { state->setValue(std::move(t)); state.reset(); }; std::shared_ptr<shared_state<T>> state; private: explicit promise(std::shared_ptr<shared_state<T>> state) : state(std::move(state)) {} friend std::pair<future<T>, promise<T>> make_promise<T>() noexcept; }; template<typename> struct is_future : std::false_type {}; template<typename T> struct is_future<future<T>> : std::true_type {}; template<typename T> constexpr auto is_future_v = is_future<T>::value; template<typename> struct is_unit : std::false_type {}; template<> struct is_unit<unit_type> : std::true_type {}; template<typename T> constexpr auto is_unit_v = is_unit<T>::value; template<typename T> struct future { using return_type = T; future() = delete; future(future const&) = delete; future(future&&) noexcept = default; future& operator=(future const&) = delete; future& operator=(future&&) noexcept = default; std::shared_ptr<shared_state<T>> state; template<typename F, typename S = std::invoke_result_t<F, T&&>, std::enable_if_t<!is_future_v<S> && !std::is_void_v<S>, int> = 0> auto then(F&& f) && noexcept -> future<S> { auto [fp, p] = make_promise<S>(); state->setCallback([p = std::move(p), f = std::forward<F>(f)](T && t) mutable { std::move(p).set(f(std::move(t))); }); state.reset(); return std::move(fp); } template<typename F, typename S = std::invoke_result_t<F, T&&>, std::enable_if_t<std::is_void_v<S>, int> = 0> auto then(F&& f) && noexcept -> future<unit_type> { auto [fp, p] = make_promise<unit_type>(); state->setCallback([p = std::move(p), f = std::forward<F>(f)](T && t) mutable { f(std::move(t)); std::move(p).set(unit_type{}); }); state.reset(); return std::move(fp); } template<typename F, typename S = std::invoke_result_t<F, T&&>, std::enable_if_t<is_future_v<S>, int> = 0, typename R = typename S::return_type> auto then(F&& f) && noexcept -> future<R> { auto [fp, p] = make_promise<R>(); state->setCallback([p = std::move(p), f = std::forward<F>(f)](T && t) mutable { f(std::move(t)) .then([p = std::move(p)](R && r) mutable { std::move(p).set(std::move(r)); }); }); state.reset(); return std::move(fp); } // passes execution to the scheduler at this point of the stack trace auto reschedule() && noexcept -> future<T> { auto [f, p] = make_promise<T>(); this->then([p = std::move(p)](T&& t) mutable { scheduler::queue([p = std::move(p), t = std::move(t)]() mutable { std::move(p).set(std::move(t)); }); }); return f; } private: future(std::shared_ptr<shared_state<T>> state) : state(std::move(state)) {} friend future<T> make_future<T>(T&&) noexcept; friend std::pair<future<T>, promise<T>> make_promise<T>() noexcept; }; template<typename T> std::pair<future<T>, promise<T>> make_promise() noexcept { auto state = std::make_shared<shared_state<T>>(); return std::make_pair(future{state}, promise{state}); } template<typename T> future<T> make_future(T&& t) noexcept { auto state = std::make_shared<shared_state<T>>(std::forward<T>(t)); return future<T>{state}; } #endif // AGENCY_NODE_FUTURES_H
[ "lars@arangodb.com" ]
lars@arangodb.com
99d572e71f00142d252a97191bf84f9ae25f6de8
d7fa3dabaeec38d4d0efb32e0f7eb78ac13a879b
/bbgram/src/model/User.h
5350972877c671e6bd35f95f4f5e0a2e6b0349b4
[]
no_license
niko-lay/bbgram
1c5de80f44ae496f08ddc6f3e0dc74650f225731
f93c4c0ddea27317241b6505663df1b380219d3e
refs/heads/master
2021-01-12T12:59:43.400736
2018-04-30T22:18:33
2018-04-30T22:18:33
68,862,315
0
0
null
2016-09-21T22:19:00
2016-09-21T22:19:00
null
UTF-8
C++
false
false
1,906
h
#pragma once #include <QMap> #include <bb/cascades/Image> #include "Peer.h" class User : public Peer { Q_OBJECT Q_PROPERTY(QString phone READ phone NOTIFY phoneChanged) Q_PROPERTY(QString firstName READ firstName NOTIFY nameChanged) Q_PROPERTY(QString lastName READ lastName NOTIFY nameChanged) Q_PROPERTY(QString name READ name NOTIFY nameChanged) Q_PROPERTY(bool online READ online NOTIFY statusChanged) Q_PROPERTY(QDateTime lastSeen READ lastSeen NOTIFY statusChanged) Q_PROPERTY(QString lastSeenFormatted READ lastSeenFormatted NOTIFY statusChanged) Q_PROPERTY(QString typingStatus READ typingStatus NOTIFY typingStatusChanged) Q_PROPERTY(QString sortingKey READ sortingKey CONSTANT) Q_PROPERTY(QString color READ color CONSTANT) public: User(int id = 0); ~User(); void load(const QVariantMap& map); void save(QVariantMap& map) const; const QString& phone() const; void setPhone(const QString& phone); const QString& firstName() const; const QString& lastName() const; QString name() const; void setName(const QString& firstName, const QString& lastName); bool online() const; const QDateTime& lastSeen() const; QString lastSeenFormatted() const; QString status() const; void setStatus(bool online, const QDateTime& lastSeen); QString title() const; QString typingStatus() const; void setTypingStatus(tgl_typing_status status); const QString& sortingKey() const; QString color() const; public slots: void resetTypingStatus(); signals: void phoneChanged(); void nameChanged(); void statusChanged(); void typingStatusChanged(); protected: QString m_phone; QString m_firstName; QString m_lastName; bool m_online; QDateTime m_lastSeen; tgl_typing_status m_typingStatus; }; Q_DECLARE_METATYPE(User*);
[ "moadib73rus@gmail.com" ]
moadib73rus@gmail.com
3e2eff52fc20f9dec56129c88f09e236d45a0f2c
b0c55c3b2df6f09bd810a5355a31f1f14778c501
/test/arduino/PrettyColors/PrettyColors.ino
a1902bc136e921db023e80473026f3e59c172d1b
[]
no_license
patilpramod97/laboratory
cef1850a9ac68742285bc5ff339a128cd0a1f6ab
0c0e40283c242abc262bea90507f04981067cb07
refs/heads/master
2021-01-17T21:57:52.856821
2015-03-06T19:24:34
2015-03-06T19:24:34
32,625,549
2
0
null
2015-03-21T08:37:21
2015-03-21T08:37:21
null
UTF-8
C++
false
false
2,962
ino
/* Pretty colors. For use with the BL-L515 Round Type, FULL COLOR LED lamp (common anode)p Connect G, B, R pins of the LED to (PWM) digital out pins 9, 10, and 11, respectively, and connect the anode (long pin) to ground through a 100Ω resistor. */ #include <stdlib.h> const int redPin = 11; const int greenPin = 9; const int bluePin = 10; const double SPEED_LIMIT = 0.001; const double ACCELERATION = 0.000125; //#define INSTABILITY 0.01 // prevents red (which otherwise requires a higher resistance) from dominating const unsigned int RED_FACTOR = 60; //////////////////////////////////////// void writeColor(unsigned long color) { unsigned int red = (color & 0xff0000) >> 16; unsigned int green = (color & 0x00ff00) >> 8; unsigned int blue = (color & 0x0000ff); red = (red * RED_FACTOR) / 255; analogWrite(redPin, 255 - red); analogWrite(greenPin, 255 - green); analogWrite(bluePin, 255 - blue); } double x = 0.0, y = 0.0, z = 0.0; double xspeed = 0.0, yspeed = 0.0, zspeed = 0.0; //float theta = 0.0, phi = 0.0; unsigned long m_w = 42; /* must not be zero */ unsigned long m_z = 1331; /* must not be zero */ unsigned long get_random() { m_z = 36969 * (m_z & 65535) + (m_z >> 16); m_w = 18000 * (m_w & 65535) + (m_w >> 16); return (m_z << 16) + m_w; /* 32-bit result */ } double floatRand(double mn, double sup) { return mn + (get_random() % RAND_MAX) * (sup - mn) / ((double) RAND_MAX + 1); } void nextColor() { double xacc = floatRand(-ACCELERATION, ACCELERATION); double yacc = floatRand(-ACCELERATION, ACCELERATION); double zacc = floatRand(-ACCELERATION, ACCELERATION); xspeed += xacc; yspeed += yacc; zspeed += zacc; if (xspeed > SPEED_LIMIT) { xspeed = SPEED_LIMIT; } else if (xspeed < -SPEED_LIMIT) { xspeed = -SPEED_LIMIT; } if (yspeed > SPEED_LIMIT) { yspeed = SPEED_LIMIT; } else if (yspeed < -SPEED_LIMIT) { yspeed = -SPEED_LIMIT; } if (zspeed > SPEED_LIMIT) { zspeed = SPEED_LIMIT; } else if (zspeed < -SPEED_LIMIT) { zspeed = -SPEED_LIMIT; } x += xspeed; y += yspeed; z += zspeed; if (x > 1.0) { x = 2.0 - x; xspeed = -xspeed; } else if (x < 0.0) { x = -x; xspeed = -xspeed; } if (y > 1.0) { y = 2.0 - y; yspeed = -yspeed; } else if (y < 0.0) { y = -y; yspeed = -yspeed; } if (z > 1.0) { z = 2.0 - z; zspeed = -zspeed; } else if (z < 0.0) { z = -z; zspeed = -zspeed; } unsigned int red = x * 255; unsigned int green = y * 255; unsigned int blue = z * 255; unsigned long color = red * (unsigned long) 0x10000 + green * 0x100 + blue; writeColor(color); } //////////////////////////////////////// void setup() { pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop() { nextColor(); delay(1); }
[ "josh@fortytwo.net" ]
josh@fortytwo.net
4e2998e39d261a9b018eb789011d6875c0e8b631
45074cc0edde439faa782146c9a11ea40148b3b5
/src/chef/CookInfo.h
cbc3fc12b670284d7cc9149bc8ba7339c8f51eda
[ "Zlib" ]
permissive
modificus/gaen
246b91cb4e1bc535a27bab91f119c5f144fc8a89
c8368942acb3c61f1e38e8f3acf93c9ae3af5786
refs/heads/master
2021-01-15T11:44:30.165220
2016-08-27T10:08:29
2016-08-27T10:08:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,227
h
//------------------------------------------------------------------------------ // CookInfo.h - Describes a cooking operation, and its buffer result // // Gaen Concurrency Engine - http://gaen.org // Copyright (c) 2014-2016 Lachlan Orr // // 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. //------------------------------------------------------------------------------ #ifndef GAEN_CHEF_COOK_INFO_H #define GAEN_CHEF_COOK_INFO_H #include "core/mem.h" #include "core/Set.h" #include "core/List.h" #include "core/String.h" #include "assets/Config.h" #include "assets/file_utils.h" namespace gaen { enum CookFlags { kCF_None = 0x00, kCF_CookingDependency = 0x01 }; typedef List<kMEM_Chef, String<kMEM_Chef>> RecipeList; class Chef; class CookInfo { public: CookInfo(Chef * pChef, CookFlags flags, const char * rawPath, const char * cookedPath, const char * gamePath, const RecipeList & recipes); ~CookInfo(); // Record a dependency, but don't cook it to include in the parent // asset. void recordDependency(char * depRawPath, char * gamePath, const char * path) const; // Cook a dependency with the intention of including the cooked // buffer in the parent asset. UniquePtr<CookInfo> cookDependency(const char * path) const; CookFlags flags() const { return mFlags; } const char * rawPath() const { return mRawPath; } const char * cookedPath() const { return mCookedPath; } const char * gamePath() const { return mGamePath; } const void * cookedBuffer() const { return mpCookedBuffer; } u64 cookedBufferSize() const { return mCookedBufferSize; } bool isCooked() const { return mpCookedBuffer != nullptr && mCookedBufferSize > 0; } void setCookedBuffer(void * pBuffer, u64 size) const; const Config<kMEM_Chef> & recipe() const { return mRecipe; } const Set<kMEM_Chef, String<kMEM_Chef>> & dependencies() const { return mDependencies; } private: Chef * mpChef; CookFlags mFlags; char mRawPath[kMaxPath+1]; char mCookedPath[kMaxPath+1]; char mGamePath[kMaxPath+1]; mutable void * mpCookedBuffer; mutable u64 mCookedBufferSize; Config<kMEM_Chef> mRecipe; mutable Set<kMEM_Chef, String<kMEM_Chef>> mDependencies; }; } // namespace gaen #endif // #ifndef GAEN_CHEF_COOK_INFO_H
[ "lorr@gaen.org" ]
lorr@gaen.org
7cc01444100343c9b18227f86ff3aee5594321b6
5547eb598cf36cd6bad73a2506f6d455af30829d
/Huiswerk Week 6/huiswerk week 6/huiswerk week 6/Main.cpp
cb8fb3d9db055f949ca3f5817486dfa7f1889ba9
[]
no_license
jellebooij/OOP-advanced
c13e9722a4fc457dfe2e7f5af305ae015474d8ac
7b4097f5d3ac25a3669e41cd0f39287870baa1dc
refs/heads/master
2020-03-29T22:07:32.736067
2018-11-02T15:01:31
2018-11-02T15:01:31
150,404,025
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
#include <iostream> #include "Parent.h" #include <memory> using namespace std; int main() { std::unique_ptr<Parent> p1 = std::make_unique<Parent>("Parent1"); cout << "P1:" << *p1 << endl; Parent* p2 = new Parent(*p1); // roept de copy constructor aan cout << "P2:" << *p2 << endl; Parent* p3 = new Parent("Parent3"); cout << "P3:" << *p3 << endl; *p3 = *p1; // roept de assignment operator aan cout << "P3:" << *p3 << endl; delete p2; delete p3; return 0; }
[ "jellebooij@outlook.com" ]
jellebooij@outlook.com
c8b1f41e9212d2ed1c055f76062146d7e825bbfb
415ecd6b3ea44dca3ad675b0f17ea145583c17d5
/base_station/receive_function.cpp
41a15f0dd989fa55ecf34d228ef9a011a4995098
[]
no_license
zappyfish/upes-nicky-boi
e7e6dc25da365ae47f1240a840901b90b6c93b3c
830a7f2083379a2832fb040d6c93ae2ef75957d7
refs/heads/master
2020-04-25T05:24:10.140349
2019-02-25T16:29:34
2019-02-25T16:29:34
172,541,715
0
0
null
null
null
null
UTF-8
C++
false
false
544
cpp
// // Created by Liam Kelly on 2/23/19. // #include "receive_function.h" ReceiveFunction::ReceiveFunction(char *name, void (*action)(Packet*)) : mName(name), mAction(action){} ReceiveFunction::ReceiveFunction(ReceiveFunction &toCopy) : mName(toCopy.mName), mAction(toCopy.mAction) {} ReceiveFunction::~ReceiveFunction() {} ReceiveFunction& ReceiveFunction::operator=(const ReceiveFunction &rhs) { mName = rhs.mName; mAction = rhs.mAction; return *this; } void ReceiveFunction::receive(Packet &packet) { mAction(&packet); }
[ "liamkelly2015@gmail.com" ]
liamkelly2015@gmail.com
d1a4845a06a9f8df43a55ae131dbcf2fcbcd3e1b
e5c6be6014b732eee00cafc7bef231d0b4a9dd1e
/include/m5gpack.hpp
2a54ebe3f9bf084a22153cdf9e35c4ebf97f1ab4
[]
no_license
kuvaldini/m5gpack
a346cd505012d4aced8e8769e86ad8d26aca1e1a
79e8e490f2db28f2a0fe81f82f301206bb07878b
refs/heads/main
2023-03-04T03:22:56.080669
2021-02-12T19:04:24
2021-02-12T19:04:24
324,422,385
0
0
null
null
null
null
UTF-8
C++
false
false
25,687
hpp
#pragma once //todo compare presision for floats/doubles //todo printer densed, printer pretty, printer json //todo // #include <endian> #include <cstdint> #include <optional> #include <variant> #include <vector> #include <string_view> #include <chrono> #include <iostream> #include <iomanip> #include <type_traits> // #include <format> //todo #include "byte_range_hex.hpp" /// helper constant to fail static_assert and report type template<class> inline constexpr bool always_false_v = false; /// From https://en.cppreference.com/w/cpp/utility/variant/visit /// helper type for the visitor #4 template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; }; /// explicit deduction guide (not needed as of C++20) template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>; // template<class T=void> struct m5g_value { using string = std::string; template<class...Ts> using vector = std::vector<Ts...>; template<class...Ts> using variant = std::variant<Ts...>; // template<class...Ts> using stdmap = std::map<Ts...>; using ostream = std::ostream; struct nil_t { constexpr bool operator< (nil_t const&)const{return true;} constexpr bool operator==(nil_t const&)const{return true;} }; static constexpr nil_t nil{}; // using bin_t = byte_vector; struct bin_t : std::vector<uint8_t>{ //declare struct instead of using type directly for better compile-time messages using std::vector<uint8_t>::vector; }; using blob_t = bin_t; struct array_t : std::vector<m5g_value>{ //declare struct instead of using type directly for better compile-time messages using std::vector<m5g_value>::vector; }; using pair_t = std::pair<m5g_value,m5g_value>; struct map_t : std::vector<pair_t>{ //declare struct instead of using type directly for better compile-time messages using std::vector<pair_t>::vector; }; struct ext_t{ uint8_t type; bin_t data; auto operator<=>(const ext_t&) const = default; }; struct time_t { using seconds = std::chrono::seconds; using nanoseconds = std::chrono::nanoseconds; std::chrono::seconds sec{0}; std::chrono::nanoseconds ns{0}; constexpr auto operator<=>(time_t const&)const = default; constexpr time_t() = default; constexpr time_t(time_t const&) = default; constexpr time_t(time_t&&) = default; constexpr time_t& operator=(time_t&&) = default; constexpr time_t& operator=(time_t const&) = default; // constexpr time_t(seconds const& s):sec(s){} constexpr time_t(seconds const& s, nanoseconds ns = nanoseconds{0}):sec(s),ns(ns){} constexpr time_t(nanoseconds ns):ns(ns){} friend auto operator<<(std::ostream&os, time_t const& t)->std::ostream&{ return os << t.sec.count() << "s_" << t.ns.count() << "ns"; } }; // enum kind_t { // nil=0, boolean, sigint, unsint, float32, float64, str, bin, arr, map, ext, time // } kind = nil; using var_t = std::variant<nil_t,bool,int64_t,uint64_t,float,double,string,bin_t,array_t,map_t,ext_t,time_t>; var_t var; // the only variable member template<class...Ts> constexpr m5g_value(Ts&&...vs) : var(std::forward<Ts>(vs)...) {} constexpr m5g_value(unsigned u):var(uint64_t(u)){} // template<class> constexpr m5g_value(m5g_value&&val) : var(std::forward<m5g_value>(val).var) {} constexpr m5g_value(m5g_value&&val) { *this = std::move(val); } constexpr m5g_value(m5g_value &val) { *this = val; } constexpr m5g_value(m5g_value const&val){ *this = val; } /* constexpr */ m5g_value& operator=(m5g_value&&val) { this->var=std::move(val.var); val.var={}; return *this; } /* constexpr */ m5g_value& operator=(m5g_value const&val) { this->var=val.var; return *this; } auto get_as_optional_long_double()const{ return std::visit( [](auto const& arg)->std::optional<long double>{ using T = std::decay_t<decltype(arg)>; if constexpr (std::is_arithmetic_v<T> and not std::is_same_v<T,bool>){ return arg; }else{ return {}; } }, this->var); }; constexpr bool is_number()const{ return std::visit([]<typename T>(T&&){ // using T = std::decay_t<decltype(arg)>; return std::is_arithmetic_v<T> and not std::is_same_v<T,bool>; },var); } /// Compare for sorting in map /// bin_t,array_t,map_t,ext_t should never be a key in map bool operator<(m5g_value const& other) const{ // if(this->var.index() == other.var.index()){ // return std::visit( // [&](auto const& arg)->bool{ // using T = std::decay_t<decltype(arg)>; // return arg < std::get<T>(other.var); // }, this->var); // }else{ // auto this_opt_ld = this->get_as_optional_long_double(); // auto other_opt_ld = other.get_as_optional_long_double(); // if(this_opt_ld and other_opt_ld){ // return *this_opt_ld < *other_opt_ld; // } // return this->var.index() < other.var.index(); // } auto this_opt_ld = this->get_as_optional_long_double(); auto other_opt_ld = other.get_as_optional_long_double(); if(this_opt_ld and other_opt_ld){ return *this_opt_ld < *other_opt_ld; } return this->var < other.var; } bool operator==(m5g_value const& other) const{ auto this_opt_ld = this->get_as_optional_long_double(); auto other_opt_ld = other.get_as_optional_long_double(); if(this_opt_ld and other_opt_ld){ return *this_opt_ld == *other_opt_ld; } return this->var == other.var; } // stringify to std::ostream like cerr or cout friend auto operator<<(ostream&os, m5g_value const& val) ->ostream& { std::visit([&](auto&& arg) { using T = std::decay_t<decltype(arg)>; using std::is_same_v; if constexpr (is_same_v<T, nil_t>) os << "nil"; else if constexpr (is_same_v<T, bool>) os << std::boolalpha << arg; else if constexpr (is_same_v<T, bin_t>) os << byte_range_hex(arg); else if constexpr (is_same_v<T, array_t>){ os << "["; auto comma = ""; for(auto&x:arg) os << comma << x, comma = ", "; os << "]"; }else if constexpr (is_same_v<T, map_t>){ os << "{"; auto comma = ""; for(auto&[k,w]:arg) os << comma << k << ": " << w, comma = ", "; os << "}"; }else if constexpr (is_same_v<T, time_t>){ os << arg.sec.count() << "s_" << arg.ns.count() << "ns"; }else if constexpr (is_same_v<T, string>){ os << std::quoted(arg); }else os << arg; //static_assert(always_false_v<T>, "non-exhaustive visitor!"); }, val.var); return os; } }; //m5g_value /* Formats Overview format name first byte (in binary) first byte (in hex) positive fixint 0xxxxxxx 0x00 - 0x7f fixmap 1000xxxx 0x80 - 0x8f fixarray 1001xxxx 0x90 - 0x9f fixstr 101xxxxx 0xa0 - 0xbf nil 11000000 0xc0 (never used) 11000001 0xc1 false 11000010 0xc2 true 11000011 0xc3 bin 8 11000100 0xc4 bin 16 11000101 0xc5 bin 32 11000110 0xc6 ext 8 11000111 0xc7 ext 16 11001000 0xc8 ext 32 11001001 0xc9 float 32 11001010 0xca float 64 11001011 0xcb uint 8 11001100 0xcc uint 16 11001101 0xcd uint 32 11001110 0xce uint 64 11001111 0xcf int 8 11010000 0xd0 int 16 11010001 0xd1 int 32 11010010 0xd2 int 64 11010011 0xd3 fixext 1 11010100 0xd4 fixext 2 11010101 0xd5 fixext 4 11010110 0xd6 fixext 8 11010111 0xd7 fixext 16 11011000 0xd8 str 8 11011001 0xd9 str 16 11011010 0xda str 32 11011011 0xdb array 16 11011100 0xdc array 32 11011101 0xdd map 16 11011110 0xde map 32 11011111 0xdf negative fixint 111xxxxx 0xe0 - 0xff */ struct m5g_byte_stream : std::vector<uint8_t> { using std::vector<uint8_t>::vector; enum format : uint8_t { /// Nil format stores nil in 1 byte. nil = 0xc0, falso = 0xc2, truo = 0xc3, /// positive fixnum stores 7-bit positive integer 0XXXXXXX pos_fixnum_id = 0b00000000, pos_fixnum_id_mask = 0b10000000, pos_fixnum_max = 127, pos_fixnum_data_mask = (uint8_t)~pos_fixnum_id_mask, //0b01111111, /// negative fixnum stores 5-bit negative integer 111YYYYY neg_fixnum_id = (uint8_t)0b11100000, neg_fixnum_id_mask = (uint8_t)0b11100000, // neg_fixnum_min = (uint8_t)~neg_fixnum_id_mask, // neg_fixnum_data_mask = (uint8_t)0b00011111, neg_fixnum_data_mask = (uint8_t)~neg_fixnum_id_mask, /// uint 8 stores a 8-bit unsigned integer uint8 = 0xcc, uint16 = 0xcd, uint32 = 0xce, uint64 = 0xcf, /// int 8 stores a 8-bit signed integer int8 = 0xd0, int16 = 0xd1, int32 = 0xd2, int64 = 0xd3, /// float 32 stores a floating point number in IEEE 754 single precision floating point number format: float32 = 0xca, float64 = 0xcb, /// fixstr stores a byte array whose length is upto 31 bytes: fixstr_id = 0b10100000, ///101XXXXX fixstr_id_mask = 0b11100000, fixstr_len_mask = (uint8_t)~fixstr_id_mask, fixstr_len_max = fixstr_len_mask, // fixstr_id_mask = (uint8_t)~fixstr_len_mask, /// str 8 stores a byte array whose length is upto (2^8)-1 bytes: str8 = 0xd9, /// str 16 stores a byte array whose length is upto (2^16)-1 bytes: str16 = 0xda, /// str 32 stores a byte array whose length is upto (2^32)-1 bytes: str32 = 0xdb, /// bin 8 stores a byte array whose length is upto (2^8)-1 bytes: bin8 = 0xc4, /// bin 16 stores a byte array whose length is upto (2^16)-1 bytes: bin16 = 0xc5, /// bin 32 stores a byte array whose length is upto (2^32)-1 bytes: bin32 = 0xc6, /// fixarray stores an array whose length is upto 15 elements: fixarr_id = 0b10010000, ///1001XXXX fixarr_id_mask = 0b11110000, //(uint8_t)~fixarr_len_mask, fixarr_len_mask = (uint8_t)~fixarr_id_mask, //0b00001111, fixarr_len_max = 0b00001111, /// array 16 stores an array whose length is upto (2^16)-1 elements: arr16 = 0xdc, /// array 32 stores an array whose length is upto (2^32)-1 elements: arr32 = 0xdd, /// fixmap stores a map whose length is upto 15 elements fixmap_id = 0b10000000, ///1001XXXX fixmap_id_mask = 0b11110000, fixmap_len_mask = (uint8_t)~fixmap_id_mask, fixmap_len_max = fixmap_len_mask, //0b00001111, /// map 16 stores a map whose length is upto (2^16)-1 elements map16 = 0xde, map32 = 0xdf, /// fixext 1 stores an integer and a byte array whose length is 1 byte fixext1 = 0xd4, fixext2 = 0xd5, fixext4 = 0xd6, fixext8 = 0xd7, fixext16 = 0xd8, /// ext 8 stores an integer and a byte array whose length is upto (2^8)-1 bytes: ext8 = 0xc7, ext16 = 0xc8, ext32 = 0xc9, /// timestamp 32 stores the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC /// in an 32-bit unsigned integer: timestamp32 = 0xd6, /// timestamp 64 stores the number of seconds and nanoseconds that have elapsed since 1970-01-01 00:00:00 UTC /// in 32-bit unsigned integers: timestamp64 = 0xd7, /// timestamp 96 stores the number of seconds and nanoseconds that have elapsed since 1970-01-01 00:00:00 UTC /// in 64-bit signed integer and 32-bit unsigned integer: timestamp96 = 0xc7, }; m5g_byte_stream& operator<<(m5g_value const& val){ std::visit(overloaded{ [](auto&&a){ static_assert(always_false_v<decltype(a)>,"expected overload for type"); }, [&](m5g_value::nil_t){ detail() << nil; }, [&](bool b){ detail() << (b ? truo : falso); }, [&](int64_t const& i){ if(i < 0 and i >= -32){ // 5 bit allowed detail() << int8_t(i); }else if(int8_t(i) == i){ detail() << int8 << int8_t(i); }else if(int16_t(i) == i){ detail() << int16 << int16_t(i); }else if(int32_t(i) == i){ detail() << int32 << int32_t(i); }else{ detail() << int64 << i; } }, [&](uint64_t const& u){ if(u <= 127){ // 7 bit allowed detail() << uint8_t(u); }else if(uint8_t(u) == u){ detail() << uint8 << uint8_t(u); }else if(uint16_t(u) == u){ detail() << uint16 << uint16_t(u); }else if(uint32_t(u) == u){ detail() << uint32 << uint32_t(u); }else{ detail() << uint64 << u; } }, [&](float const& f){ detail()<< float32 << f; }, [&](double const& f){ detail() << float64 << f; }, [&](std::string const& str){ auto size = str.size(); if(size == (size & fixstr_len_mask)){ detail() << uint8_t(size | fixstr_id) << str; }else if(uint8_t(size) == size){ detail() << str8 << uint8_t(size) << str; }else if(uint16_t(size) == size){ detail() << str16 << uint16_t(size) << str; }else if(uint32_t(size) == size){ detail() << str32 << uint32_t(size) << str; }else std::terminate(); //throw m5g_exception("wrong size is more than uint32_t"); }, [&](m5g_value::bin_t const& bytes){ auto size = bytes.size(); if(uint8_t(size) == size){ detail() << bin8 << uint8_t(size); }else if(uint16_t(size) == size){ detail() << bin16 << uint16_t(size); }else if(uint32_t(size) == size){ detail() << bin32 << uint32_t(size); }else std::terminate(); //throw m5g_exception("wrong size is more than uint32_t"); detail() << bytes; }, [&](m5g_value::array_t const& arr){ auto size = arr.size(); if(size <= fixarr_len_max) detail() << uint8_t(size | fixarr_id); else if(uint16_t(size) == size) detail() << arr16 << uint16_t(size); else if(uint32_t(size) == size) detail() << arr32 << uint32_t(size); else std::terminate(); //throw m5g_exception("wrong size is more than uint32_t"); for(auto&each:arr) *this << each; }, [&](m5g_value::map_t const& m){ auto size = m.size(); if(size <= fixmap_len_max) detail() << uint8_t(size | fixmap_id); else if(uint16_t(size) == size) detail() << map16 << uint16_t(size); else if(uint32_t(size) == size) detail() << map32 << uint32_t(size); else std::terminate(); //throw m5g_exception("wrong size is more than uint32_t"); for(auto&[k,v]:m) *this << k << v; }, [&](m5g_value::ext_t const& e){ auto size = e.data.size(); if(size == 1) detail() << fixext1; else if(size == 2) detail() << fixext2; else if(size == 4) detail() << fixext4; else if(size == 8) detail() << fixext8; else if(size == 16) detail() << fixext16; else if(uint8_t(size) == size) detail() << ext8 << uint8_t(size); else if(uint16_t(size) == size) detail() << ext16 << uint16_t(size); else if(uint32_t(size) == size) detail() << ext32 << uint32_t(size); else std::terminate();//throw detail() << e.type << e.data; }, [&](m5g_value::time_t const& t){ using namespace std::chrono; int64_t sec = t.sec.count(); uint32_t nsec = t.ns.count(); if (sec <= UINT32_MAX and sec >= 0 and nsec == 0){ detail() << timestamp32 << char(-1) << uint32_t(sec); }else if (sec == (sec & 0x3'FFFF'FFFF)){ detail() << timestamp64 << char(-1) << ((uint64_t(nsec) << 34)|sec); }else{ detail() << timestamp96 << uint8_t(12) << char(-1) << uint32_t(nsec) << sec; } } },val.var); return *this; } auto operator<<(m5g_byte_stream const& bs) ->m5g_byte_stream& { insert(end(), bs.begin(), bs.end()); return *this; } m5g_byte_stream& operator>>(m5g_value&val){ auto&var=val.var; auto set_array = [&](size_t len){ var = m5g_value::array_t(len); for(auto&v:get<m5g_value::array_t>(var)) *this >> v; }; auto set_map = [&](size_t len){ var = m5g_value::map_t(len); for(auto&[k,v]:get<m5g_value::map_t>(var)) *this >> k >> v; }; auto set_str = [&](size_t len){ var = std::string(begin(),begin()+len); erase(begin(),begin()+len); }; auto set_bin = [&](size_t len){ var = m5g_value::bin_t(begin(),begin()+len); erase(begin(),begin()+len); }; auto set_ext = [&](size_t len){ uint8_t type; detail() >> type; if(type == (uint8_t)-1){ //time switch(len){ using namespace std::chrono; case 4:{ uint32_t sec; detail() >> sec; var = m5g_value::time_t(seconds(sec),nanoseconds(0)); }break; case 8:{ uint64_t data; detail()>>data; var = m5g_value::time_t{ .sec = seconds{data&((1ull<<34)-1)}, .ns = nanoseconds{data>>34}, }; }break; case 12:{ int64_t sec; uint32_t nsec; detail()>>nsec>>sec; var = m5g_value::time_t{seconds(sec),nanoseconds(nsec)}; }break; default: throw std::logic_error("wrong len {} for ext type -1 time"); } }else{ var = m5g_value::ext_t{ .type=type, .data= m5g_value::bin_t(begin(),begin()+len) }; erase(begin(),begin()+len); } }; enum format f{};// = front(); detail() >> f; switch(f){ case nil : var = m5g_value::nil; break; case falso: var = false; break; case truo : var = true; break; case uint8 :{ uint8_t v; detail() >> v; var = uint64_t(v);} break; case uint16:{ uint16_t v; detail() >> v; var = uint64_t(v);} break; case uint32:{ uint32_t v; detail() >> v; var = uint64_t(v);} break; case uint64:{ uint64_t v; detail() >> v; var = v; } break; case int8 :{ int8_t v; detail() >> v; var = int64_t(v);} break; case int16:{ int16_t v; detail() >> v; var = int64_t(v);} break; case int32:{ int32_t v; detail() >> v; var = int64_t(v);} break; case int64:{ int64_t v; detail() >> v; var = v; } break; // case str8 :{ uint8_t len; detail()>>len; set_str(len); } break; case str16:{ uint16_t len; detail()>>len; set_str(len); } break; case str32:{ uint32_t len; detail()>>len; set_str(len); } break; case bin8 :{ uint8_t len; detail()>>len; set_bin(len); } break; case bin16:{ uint16_t len; detail()>>len; set_bin(len); } break; case bin32:{ uint32_t len; detail()>>len; set_bin(len); } break; case arr16:{ uint16_t len; detail()>>len; set_array(len); } break; case arr32:{ uint32_t len; detail()>>len; set_array(len); } break; case map16:{ uint16_t len; detail()>>len; set_map(len); } break; case map32:{ uint32_t len; detail()>>len; set_map(len); } break; // case fixext1 : set_ext(1); break; case fixext2 : set_ext(2); break; case fixext4 : set_ext(4); break; case fixext8 : set_ext(8); break; case fixext16: set_ext(16); break; case ext8 : { uint8_t len; detail()>>len; set_ext(len); } break; case ext16: { uint16_t len; detail()>>len; set_ext(len); } break; case ext32: { uint32_t len; detail()>>len; set_ext(len); } break; default: // The longest masks go first if((f&fixmap_id_mask)==fixmap_id){ uint8_t len = f & fixmap_len_mask; set_map(len); }else if((f&fixarr_id_mask)==fixarr_id){ uint8_t len = f & fixarr_len_mask; set_array(len); }else if((f&fixstr_id_mask)==fixstr_id){ //is_fixstr(f) size_t len = f & fixstr_len_mask; var = std::string(begin(),begin()+len); }else if((f&neg_fixnum_id_mask)==neg_fixnum_id){ //is_neg_fixnum(f)){ var = int64_t(f&neg_fixnum_data_mask); }else if((f&pos_fixnum_id_mask)==pos_fixnum_id){ //is_pos_fixnum(f)){ var = uint64_t(f&pos_fixnum_data_mask); }else{ // ToDo use std::format but g++10 on Mac has no header <format> // throw std::logic_error(std::format("Unexpencted format {}.", f)); throw std::logic_error("Unexpencted msgpack format byte {}"); } }//switch return *this; } private: struct detail_ { m5g_byte_stream& mbs; template<typename T> auto operator<<(T const& v) noexcept ->std::enable_if_t<std::is_arithmetic_v<T> and not std::is_same_v<T,bool>, detail_& > { #if (BYTE_ORDER == LITTLE_ENDIAN) //C++20 if constexpr (std::endian::native == std::endian::little) std::reverse_iterator<uint8_t*> first{(uint8_t *) (&v + 1)}, last{(uint8_t *) (&v)}; #else uint8_t *first=(uint8_t*)&v, *last=(uint8_t*)(&v+1); #endif mbs.insert(mbs.end(), first, last); return *this; } template<typename T> auto operator>>(T const& val) ->std::enable_if_t<std::is_arithmetic_v<T> and not std::is_same_v<T,bool>, detail_& > { using namespace std; if(mbs.size() < sizeof(T)){ cerr<<"err in "<<__func__<<"(): input stream is too short (size:"<<mbs.size() <<", requested:"<< sizeof(T)<<")"<<endl; std::stringstream ss; ss<<"input stream is too short (size:"<<mbs.size()<<", requested:"<< sizeof(T)<<")"<<endl; throw std::logic_error(ss.str()); //mbs.error_flag() = true; return *this; } #if BYTE_ORDER == LITTLE_ENDIAN std::reverse_iterator<uint8_t*> out_it{(uint8_t*)(&val+1)}, out_end{(uint8_t*)(&val)}; #else uint8_t* out_it{(uint8_t*)(&val)}, *out_end{(uint8_t*)(&val+1)}; #endif auto iter = mbs.begin(); while (out_it != out_end && iter != mbs.end()) { *out_it++ = *iter++; } mbs.erase(mbs.begin(),iter); ///FIXME OPTIMIZE as stream circular buffer return *this; } detail_& operator<<(enum format ef){ return *this << (uint8_t)ef; } detail_& operator>>(enum format &ef){ return *this >> (uint8_t&)ef; } detail_& operator<<(std::string const& s) { mbs.insert(mbs.end(), s.begin(), s.end()); // Alternative way: vec.reserve(vec.size()+sv.size()); for(auto&c:sv) vec<<c; return *this; } detail_& operator<<(m5g_value::bin_t const& b) { mbs.insert(mbs.end(), b.begin(), b.end()); // Alternative way: vec.reserve(vec.size()+sv.size()); for(auto&c:sv) vec<<c; return *this; } }; detail_ detail() { return {*this}; } }; //struct m5g_byte_stream namespace m5g { using value = m5g_value; using nil_t = m5g_value::nil_t; constexpr auto nil = m5g_value::nil; using bin = m5g_value::bin_t; // using blob = m5g_value::blob_t; using array = m5g_value::array_t; using arr = m5g_value::array_t; using map = m5g_value::map_t; using ext = m5g_value::ext_t; using timestamp = m5g_value::time_t; //using map = m5g_map; //using string = m5g_string; using stream = m5g_byte_stream; using byte_stream = m5g_byte_stream; // constexpr m5g::value nilval{}, valnil{}; } namespace m5gpack { using m5gval = m5g::value; using m5gnil_t = m5g::nil_t; constexpr auto m5gnil = m5g::nil; // using m5gstr = m5g::string; using m5gbin = m5g::bin; // using m5gblob = m5g::blob; using m5garr = m5g::array; using m5gmap = m5g::map; }
[ "i.kyb@ya.ru" ]
i.kyb@ya.ru
4c2e61be146acb29f353dae7614bc772ce8a311d
b1d0b228332702856ad2cbee60874e39db368834
/EllipseDetectorLib/EllipseDetectorLib.h
39d17a49d642ccea6fedcb4178b5950901706570
[]
no_license
Jasionkit/EllipseDetectorLib
9ef5538dc35e4df4c787b8ebed2691cfa9f0c88c
660e60c464760349dc580ba02272b1f295064ad6
refs/heads/master
2021-06-20T20:50:26.953688
2017-03-12T19:27:07
2017-03-12T19:27:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,504
h
// EllipseDetectorLib.h #pragma once using namespace System; #include "EllipseResult.h" #include "ExecutionTime.h" #include <opencv2\opencv.hpp> using namespace std; using namespace cv; using namespace System; using namespace System::Drawing; using namespace System::Runtime::InteropServices; namespace EllipseDetectorLib { /* * EllipseDetector is the main class * This class implements a .NET wrapper of very fast ellipse detector, codename: YAED (Yet Another Ellipse Detector) */ public ref class EllipseDetector { public: EllipseDetector(System::String ^fileName); ~EllipseDetector(void); !EllipseDetector(); property System::String ^FileName { System::String ^get() { return _sFileName; } void set(System::String ^value) { if(_sFileName != nullptr) { delete _sFileName; } _sFileName = value; } } //System::Collections::Generic::List<EllipseResult ^> ^Search(); System::Tuple<System::Drawing::Size, System::Collections::Generic::List<EllipseResult^>^> ^EllipseDetector::Search(); property int ThLength { int get() { return _iThLength; } void set(int value) { _iThLength = value; } } property float ThObb { float get() { return _fThObb; } void set(float value) { _fThObb = value; } } property float ThPos { float get() { return _fThPos; } void set(float value) { _fThPos = value; } } property float TaoCenters { float get() { return _fTaoCenters; } void set(float value) { _fTaoCenters = value; } } property int Ns { int get() { return _iNs; } void set(int value) { _iNs = value; } } property float ThScoreScore { float get() { return _fThScoreScore; } void set(float value) { _fThScoreScore = value; } } property System::Drawing::Size PreProcessingGaussKernelSize { System::Drawing::Size get(){ return _pPreProcessingGaussKernelSize; } void set(System::Drawing::Size value){ _pPreProcessingGaussKernelSize = value; } } property float DistanceToEllipseContour { float get() { return _fDistanceToEllipseContour; } void set(float value) { _fDistanceToEllipseContour = value; } } property double PreProcessingGaussSigma { double get() { return _dPreProcessingGaussSigma; } void set(double value) { _dPreProcessingGaussSigma = value; } } property float MinReliability { float get() { return _fMinReliability; } void set(float value) { _fMinReliability = value; } } property ExecutionTime^ Execution { ExecutionTime^ get() { return _etExecutionTime; } } // TODO: Add your methods for this class here. private: System::Collections::Generic::List<EllipseResult^> ^_searchResults; System::Tuple<System::Drawing::Size, System::Collections::Generic::List<EllipseResult^>^> ^_result; System::String ^_sFileName; ExecutionTime ^ _etExecutionTime; // Parameters Settings (Sect. 4.2) int _iThLength; float _fThObb; float _fThPos; float _fTaoCenters; int _iNs; float _fThScoreScore; System::Drawing::Size _pPreProcessingGaussKernelSize;// Gaussian filter parameters, in pre-processing double _dPreProcessingGaussSigma; float _fDistanceToEllipseContour; // (Sect. 3.3.1 - Validation) float _fMinReliability; // Const parameters to discard bad ellipses*/ }; }
[ "desakov@diasoft.ru" ]
desakov@diasoft.ru
81a28bbe716352ab0b67c44464e601cd1873737a
4dd6b1890042bb3cf972afd9d66cc26fd7a3856f
/for dividing an integer into two integers.cpp
f3178f66503f573b497ba1fac02c8d0177fad35a
[]
no_license
Vanshika-RJIT/c-plus-plus-progamming-language-
485606060b38e7dd460ed9f90930d0d418fad299
fefa46b78ceae1bd83e08013018ccd6313bef7f0
refs/heads/master
2020-11-23T22:29:30.976722
2020-10-15T12:53:42
2020-10-15T12:53:42
227,846,853
0
1
null
2020-10-15T12:53:43
2019-12-13T13:31:54
HTML
UTF-8
C++
false
false
376
cpp
#include<iostream> #include<cstring> using namespace std; int main() { int t; cin>>t; int c=0; while(t--) { c++; string n,m; cin>>n; m=n; for(int i=0;n[i]!='\0';i++) { if(n[i]=='4') { n[i]='3'; } } int a=stoi(m); int b=stoi(n); cout<<"Case #"<<c<<": "<<n<<" "<<a-b<<endl; } return 0; }
[ "noreply@github.com" ]
Vanshika-RJIT.noreply@github.com
890e99b88e96542cbfeba8c70047c4a5ea18f4db
7f7cfa3b40507e72f0b38d99b8eecaee96664d96
/trunk/07-Source/Project/util.cpp
9be97cca3a50985243ee993745e87e39c817bbce
[]
no_license
BGCX067/faiq-svn-to-git
4c61568005a49f9e59dd638767f7659d0f723ed1
043cc825890b5febb6b9373f1e082c6ab5ab24a7
refs/heads/master
2016-09-01T08:56:54.756786
2015-12-28T14:21:15
2015-12-28T14:21:15
48,699,066
0
0
null
null
null
null
UTF-8
C++
false
false
28,305
cpp
/**************************************************************************//** * NAME: util.cpp * * PURPOSE: Searchmonkey reusable and miscellaneous functions. * * DATE: September 6, 2009 *******************************************************************************/ #include "debug.h" #include <QAbstractButton> #include <QComboBox> #include <QDesktopServices> #include <QDir> #include <QFileDialog> #include <QFileInfo> #include <QIcon> #include <QLineEdit> #include <QList> #include <QListWidget> #include <QMessageBox> #include <QObject> #include <QSettings> #include <QString> #include <QStringList> #include <QUrl> #include "util.h" /**************************************************************************//** * BoxConfirm(): Popup confirmation with option to not show again. * * Returns : true if user presses 'OK ', false if user presses 'Cancel' ******************************************************************************/ bool boxConfirm (const QString &_s, const QString &_title, QAbstractButton *again, const QMessageBox::Icon _icon) { QMessageBox msgBox; if (again != nullptr) msgBox.addButton(again, QMessageBox::ApplyRole); msgBox.setWindowModality(Qt::NonModal); msgBox.setText(_s); msgBox.setIcon(_icon); msgBox.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); msgBox.setDefaultButton(QMessageBox::Cancel); msgBox.setWindowIcon(QIcon(SM_ICON)); if (!_title.isEmpty()) msgBox.setWindowTitle(_title); // // This is kind of a hack. Probably best to add checkbox to a QDialog. // bool ret = true; forever { switch(msgBox.exec()) { case QMessageBox::Ok: break; case QMessageBox::Cancel: ret = false; break; default: // checkbox clicked continue; // Q_ASSERT(0); // unlikely } break; } if (again != nullptr) msgBox.removeButton(again); return ret; } /**************************************************************************//** * BoxError(): Pop up an error message box. (Default - warning icon.) ******************************************************************************/ void boxError (const QString &_s, const QMessageBox::Icon _icon) { ENTEX("::boxError"); QMessageBox msgBox; msgBox.setText(_s); msgBox.setIcon(_icon); msgBox.setWindowIcon(QIcon(SM_ICON)); qd(3) << "calling exec() on message box..."; msgBox.exec(); } QString tr (const char *s) { return QObject::tr(s); } /**************************************************************************//** * Browse(): Advanced browse for target directory. * * Parms : _this - parent * b - keep mru dir for different browse operations * * Returns : user-selected directory, otherwise empty string ******************************************************************************/ QString browse (QWidget *_this, Browse b) { ENTEX("::browse"); QString mruSetting = tr("MainWindow/mruDir") + (b == SEARCH ? "" : b == CONTEXT ? tr("1") : tr("2")); QString parentSetting = tr("MainWindow/mruParent") + (b == SEARCH ? "" : b == CONTEXT ? tr("1") : tr("2")); QList<QUrl> urls; urls << QUrl::fromLocalFile(QDesktopServices::storageLocation( QDesktopServices::DesktopLocation)) << QUrl::fromLocalFile(QDesktopServices::storageLocation( QDesktopServices::DocumentsLocation)) << QUrl::fromLocalFile(QDesktopServices::storageLocation( QDesktopServices::HomeLocation)) << QUrl::fromLocalFile(QDir::rootPath()) << QUrl::fromLocalFile(QDir::currentPath()); QSettings settings; QString mru = settings.value(mruSetting, "").toString(); QString parent = settings.value(parentSetting, "").toString(); QFileDialog dialog(_this, QObject::tr("Select Directory"), !parent.isEmpty() ? parent : QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)); dialog.setSidebarUrls(urls); dialog.setFileMode(QFileDialog::Directory); dialog.setViewMode(QFileDialog::Detail); dialog.setOptions(QFileDialog::ShowDirsOnly); qd(3) << "selecting file-" << mru; dialog.selectFile(mru); QStringList fileNames; if (dialog.exec()) fileNames = dialog.selectedFiles(); QString directory; if (!fileNames.isEmpty()) directory = fileNames[0]; if (!directory.isEmpty()) { QDir dir(directory); // save parent dir so it lists dir we want QString dbg; settings.setValue(parentSetting, dbg = dir.cd("..") ? dir.absolutePath() : directory); qd(3) << "set parent-" << dbg; settings.setValue(mruSetting, directory); } return directory; } /**************************************************************************//** * bytes2units(): Convert bytes to B, KB, MB, GB, ... * * parms : _size - bytes * * returns : '0 B' if _size < 0; otherwise, nice string like '724 KB' ******************************************************************************/ QString bytes2units (qint64 _size) { quint64 size = _size < 0 ? Q_UINT64_C(0) : static_cast<ull>(_size); (void)_size; char s[16]; for (int i = 0; i < 16; s[i++]='\0') ; if (size < KB) sprintf (s, "%d B ", static_cast<int>(size)); else if (size < MB) { sprintf (s, "%1.1lf KB ", static_cast<double>(size) / KB); // // enforce N KB not N.0 KB // /*string _s(s); string::size_type loc = _s.find(".0"); if (loc != string::npos) { _s.erase(loc, 2); sprintf (s, "%s", _s.c_str()); }*/ } else if (size < GB) sprintf (s, "%1.1lf MB ", static_cast<double>(size) / MB); else if (size < TB) sprintf (s, "%1.1lf GB ", static_cast<double>(size) / GB); else if (size < PB) sprintf (s, "%1.1lf TB ", static_cast<double>(size) / TB); else sprintf (s, "%1.1lf PB ", static_cast<double>(size) / PB); return QString(s); } /**************************************************************************//** * charS() : make a string plural. * * Parms : cond - condition for plurality. * * Returns : 's' if cond true, '\0' otherwise ******************************************************************************/ QChar charS (bool cond) { return cond ? QChar('s') : QChar('\0'); } /**************************************************************************//** * Chop(): wrapper with return val for: void QString::chop(). * * Parms: s - string to be chopped * n - chars to chop off end of s * * Returns: chopped QString ******************************************************************************/ QString chop (QString s, int n) { s.chop(n); return s; } /**************************************************************************//** * CountHits(): Count occurrences of regex in chunk of text. * * Parms : _rx - regular expression * _text - text which may contain pattern * * Returns : number of occurrences ******************************************************************************/ int countHits (const QRegExp &_rx, const QString &_text) { ENTEX("::countHits"); register int hits = 0, index = _text.indexOf(_rx); while (index >= 0) { ++hits; int length = _rx.matchedLength(); index = _text.indexOf(_rx, index + length); } qd(11) << "returning " << hits << " hits"; return hits; } /**************************************************************************//** * FileRemove(): remove file. * * Parms : s - optional ptr to hold error msg * * Returns : true on success, false otherwise ******************************************************************************/ bool fileRemove (QString path, bool prompt, QString *s) { ENTEX("::fileRemove"); QFile file(path); if (!file.exists(path)) { ::boxError(QObject::tr("File %1 does not exist: cannot remove").arg(path)); return false; } if (prompt && !::boxConfirm(QObject::tr("Delete file %1 from disk?").arg(path))) return false; if (!file.remove(path)) { ::boxError(QObject::tr("Could not remove file %1").arg(path)); if (s != nullptr) *s = file.errorString(); qd(0) << "QFile::remove() failed:" << file.errorString(); return false; } return true; } /**************************************************************************//** * Filepath2abspath(): convert list of QFileInfo objects to absolute paths. * * Parms : fil - list of QFileInfo objects * * Returns : list of canonical filepaths ******************************************************************************/ QStringList filepath2abspath (const QFileInfoList &fil) { QStringList files; for (register int i = 0, sz = fil.size(); i < sz; ++i) files << fil[i].canonicalFilePath(); return files; } /**************************************************************************//** * Filepath2abspath(): convert list of filenames to absolute paths. * * Parms : _files - list of filenames * _dir - a directory * * Returns : list of filepaths i.e. filenames w/ prepended directory ******************************************************************************/ QStringList filepath2abspath (const QStringList &_files, const QDir &_dir) { QStringList files; register int size = _files.size(); for (register int i = 0; i < size; ++i) files << _dir.absoluteFilePath(_files[i]); return files; } /**************************************************************************//** * GetLine(): get line from searchmonkey config file. * * Parms : _file - config file * * Returns : line as QString ******************************************************************************/ QString getLine (QFile &_file) { char buf[512]; memset (buf, '\0', sizeof(buf)); QString line; while (!_file.atEnd()) { _file.readLine(buf, sizeof(buf)); line = QString(buf); line = line.trimmed(); if (line.isEmpty() || line[0] == '#') continue; else break; } return line; } /**************************************************************************//** * int2syntax(): convert uint to QRegExp::PatternSyntax without relying on the * actual values of the enumerated type. We are relying on the * order of elements in the combobox (see the *.ui file): * 0 - RegExp * 1 - RegExp2 * 2 - Wildcard * 3 - Fixed * * parms : index - position in syntaxComboBox * * returns : QRegExp::PatternSyntax ******************************************************************************/ QRegExp::PatternSyntax int2syntax (int index) { switch (index) { case +0 : return QRegExp::RegExp; case +1 : return QRegExp::RegExp2; case +2 : return QRegExp::Wildcard; case +3 : return QRegExp::FixedString; case -1 : return QRegExp::RegExp; // empty or no selection default : Q_ASSERT(0); } return QRegExp::RegExp; } /**************************************************************************//** * IntMax(): converter for quint64 to int using limits.h header. * * Parms : i - qint64 * * Returns : i as int if i < INT_MAX, otherwise INT_MAX * i as int if i > INT_MIN, otherwise INT_MIN ******************************************************************************/ int intMax (qint64 i) { if (i > 0LL) { if (i < static_cast<qint64>(INT_MAX)) return static_cast<int>(i); else return INT_MAX; } else if (i < 0LL) { if (i > static_cast<qint64>(INT_MIN)) return static_cast<int>(i); else return INT_MIN; } else return 0; } /**************************************************************************//** * List2ListWidget(): populate list widget from string list. ******************************************************************************/ void list2ListWidget (const QStringList &sl, QListWidget *lw) { if (sl.isEmpty() || !lw) return; lw->clear(); lw->addItems(sl); } /**************************************************************************//** * ListIntersect(): find the intersection of two QString lists. * * Parms : list1 * list2 * * Returns : intersection QString list ******************************************************************************/ QStringList listIntersect (const QStringList &list1, const QStringList &list2){ if (list1.empty() || list2.empty()) return QStringList(); if (list1 == list2) return list1; QStringList intersection; for (register int i = 0, sz = list1.size(); i < sz; ++i) { if (list2.contains(list1.at(i))) intersection << list1.at(i); } return intersection; } /**************************************************************************//** * ListSubtract(): subtract one QFileInfo list from another: (list1 - list2) * * Parms : list1 - minuend * list2 - subtrahend * * Returns : difference QFileInfo list ******************************************************************************/ QFileInfoList listSubtract (const QFileInfoList &list1, const QFileInfoList &list2) { if (list2.empty()) return QFileInfoList(list1); if (list1.empty() || list1 == list2) return QFileInfoList(); QFileInfoList difference; for (register int i = 0, sz = list1.size(); i < sz; ++i) { if (list2.indexOf(list1.at(i)) == -1) difference << list1.at(i); } return difference; } /**************************************************************************//** * ListSubtract(): subtract one QString list from another: (list1 - list2) * * Parms : list1 - minuend * list2 - subtrahend * * Returns : difference QString list ******************************************************************************/ QStringList listSubtract (const QStringList &list1,const QStringList &list2) { if (list2.empty()) return QStringList(list1); if (list1.empty() || list1 == list2) return QStringList(); QStringList difference; for (register int i = 0, sz = list1.size(); i < sz; ++i) { if (list2.indexOf(list1.at(i)) == -1) difference << list1.at(i); } return difference; } /**************************************************************************//** * ListWidget2List(): populate string list from list widget. ******************************************************************************/ void listWidget2List (QListWidget *lw, QStringList *sl) { if (!lw || !sl) return; sl->clear(); int count = lw->count(); for (int i = 0; i < count; ++i) { QListWidgetItem * item = lw->item(i); QString data = (item->data(Qt::DisplayRole)).toString(); *sl << data; } } /**************************************************************************//** * MakePrintable(): Reduce a raw QString to only printable QChars. * * Parms : _s - raw QString * * Returns : printable QString ******************************************************************************/ QString makePrintable (const QString &_s) { QString s; s.resize(_s.size()); register int j = 0; for (register int i = 0, sz = _s.size(); i < sz; ++i) { if (_s.at(i).isPrint()) s[j++] = _s.at(i); } s.resize(j); return s; } /**************************************************************************//** * ms2units(): Convert milliseconds to common macro units w/ integer rounding. * Form: 'n <units> [n <units>]' * * parms : _ms - milliseconds (non-negative) * * returns : handy string like '1 min 2 sec', '24 sec', or '123 ms' ******************************************************************************/ QString ms2units (quint64 _ms) { #define scul(x) static_cast<unsigned long>(x) const quint64 sec = Q_UINT64_C(1000); // ms in sec const quint64 min = Q_UINT64_C(60000); // ms in min const quint64 hour = Q_UINT64_C(3600000); // ms in hour const quint64 day = Q_UINT64_C(86400000); // ms in day const quint64 month = Q_UINT64_C(2592000000); // ms in month const quint64 year = Q_UINT64_C(31104000000); // ms in year char s[32]; for (int i = 0; i < 32; s[i++]='\0') ; if (_ms < sec) sprintf (s, "%lu ms", scul(_ms)); else if (_ms < min) sprintf (s, "%lu sec", scul(_ms / sec)); else if (_ms < hour) sprintf (s, "%lu min %lu sec", scul(_ms / min), scul((_ms % min) / sec)); else if (_ms < day) sprintf (s, "%lu hour %lu min", scul(_ms / hour), scul((_ms % hour) / min)); else if (_ms < month) sprintf (s, "%lu day %lu hour", scul(_ms / day), scul((_ms % day) / hour)); else if (_ms < year) sprintf (s, "%lu month %lu day", scul(_ms / month), scul((_ms % month) / day)); else sprintf (s, "%lu year %lu month", scul(_ms / year), scul((_ms % year) / month)); return QString(s); } /***************************************************************************//** * FUNCTION: ParseDelim() * * PURPOSE: Separates a string into fields by setting delimiters to null. * * INPUT: str - ptr to string to be parsed * delims - ptr to string of possible delims * * OUTPUT: flds - buffer to hold parsed fields * n_found - fields parsed (optional) * * COMMENTS: Allocates memory to hold both the pointers to the parsed fields, as * well as the input string itself. This buffer is returned, and it is * the calling application's responsibilty to free the memory. The * size of memory equals: * * n_found * sizeof (char *) + strlen (str) + 1 - xmem * * RETURNS: flds - buffer holding parsed fields *******************************************************************************/ void* parseDelim (const char* str, const char* delims, char*** flds, int* n_found) { int fields = 1, // fields parsed xmem = 0; // accumulate extra mem from stripped chars /*------------------------------------------------------------------------* Inititialize pfix, optional number found parm; validate pointers; copy subject string into marching pointer; and save the start address. *------------------------------------------------------------------------*/ n_found ? *n_found = 0 : 0; if (!(delims && *delims) || !flds || !(str && *str)) return (0); char * s, // marching ptr * start; // sentinel ptr if (!(start = s = strdup (str))) { qDebug() << "strdup(" << str << ") failed"; return (0); } /*------------------------------------------------------------------------* Remove trailing CR, LF and SP. *------------------------------------------------------------------------*/ int tmp; strip (s, string (SM_CR + SM_LF + SM_SP).c_str(), &tmp); xmem += tmp; /*------------------------------------------------------------------------* Parse. The position pointer, s, points to the next segment to process. *------------------------------------------------------------------------*/ bool done = false; while (!done) { if ((s = strpbrk (s, delims))) { /*----------------------------------------------------------------* Strip trailing blanks from each field. *----------------------------------------------------------------*/ char * p = s; if (p > start && *(p - 1) == ' ') { while (p - 1 >= start && *(p - 1) == ' ') p--; if (s - p) { xmem += s - p; s = (char *) memmove (p, s, strlen (s) + 1); } } *s++ = '\0'; // define field fields++; } else done = true; } // while /*------------------------------------------------------------------------* Allocate the exact amount of memory needed. The input string now has embedded nulls to delineate the fields. Copy this string into the lower part of the allocated buffer. Align the respective pointers upstream in the same buffer. Return the entire buffer. *------------------------------------------------------------------------*/ int space; tmp = strlen (str) + 1 - xmem; if ((*flds = (char **) malloc (space = fields * sizeof (char *) + tmp))) { memset (*flds, '\0', space); memcpy (s = (char *) *flds + fields * sizeof (char *), start, tmp); for (int i = 0; i < fields; i++) { (*flds)[i] = s; s = strchr (s, '\0') + 1; } n_found ? *n_found = fields : 0; } else { *flds = (char **) 0; } free (start); return ((void *) *flds); } // ParseDelim() /***************************************************************************//** * FUNCTION: positionAtLine() * * PURPOSE: Position file ptr to end of line equal to given string. * * INPUT: _file - file * _s - string * * RETURNS: file ptr position ******************************************************************************/ qint64 positionAfterLine(QFile &_file, const QString &_string) { ENTEX("::positionAfterLine"); char buf[512]; bool found = false; while (!_file.atEnd()) { memset(buf, '\0', sizeof(buf)); _file.readLine(buf, sizeof(buf)); QString s(buf); s = s.trimmed(); qd(11) << "s-" << s; if (s[0] == '#') continue; if ((found = s == _string)) break; } if (!found) _file.write(("\n" + _string + "\n").toStdString().c_str()); return _file.pos(); } /**************************************************************************//** * StarDotAdd: prepend "*." to QStringList of non-wildcard extensions. ******************************************************************************/ QStringList starDotAdd (const QStringList &_sl) { QStringList sl; for (int i = 0, sz = _sl.size(); i < sz; ++i) sl << ("*." + _sl.at(i)); return sl; } /**************************************************************************//** * StarDotRemove: remove "*." from QStringList of wildcard extensions. ******************************************************************************/ QStringList starDotRemove (const QStringList &_sl) { QStringList sl; for (int i = 0, sz = _sl.size(); i < sz; ++i) sl << QString(_sl.at(i)).remove("*."); return sl; } /***************************************************************************//** * FUNCTION: strip() * * PURPOSE: Strip trailing garbage from a string. * * INPUT: ps - string address * g - garbage * n - length change (optional) * * OUTPUT: ps - stripped * * RETURNS: stripped string address ******************************************************************************/ string* strip (string* ps, const string& g, int* n) { if (!ps || g.empty()) return (ps); // while the last element in the string is garbage, erase it int n_ = 0; size_t i; while ((i = (*ps).size() - 1) > 0 && g.find_first_of (string (1, (*ps)[i])) != string::npos) { (*ps).erase (i); ++n_; } n ? *n = n_ : n_; return (ps); } char * strip (char * pz, const char * g, int * n) { if (!(pz || *pz) || !(g || *g)) return (pz); /*--------------------------------------------------------------------* (1) pass constructed string ptr and garbage ref to string version (2) dereference returned string ptr (3) call resultant string's member c_str() conversion function (4) copy returned buffer into original buffer (always exceeds or equals size of stripped buffer) *--------------------------------------------------------------------*/ string s_(pz); return (strcpy (pz, (*strip (&s_, string (g), n)).c_str())); } // strip() /**************************************************************************//** * units2bytes(): Convert B, KB, MB, GB, TB, PB to bytes. * * parms : _units : string - 'N <units>' eg. 123 KB * * returns : -1 on error, otherwise bytes ******************************************************************************/ qint64 units2bytes (const QString &_units) { ENTEX("::units2bytes"); if (_units.isEmpty() || _units.isNull()) return (-1); float mag; char buf[_units.size()]; // more than big enough sscanf(_units.toStdString().c_str(), "%f %s", &mag, buf); QString z = QString(QObject::tr("units2bytes(): mag- %1 units-'%2'")).arg(mag).arg(buf); qd(11) << z; (void)_units; if (mag < 0) return (-1); QString units(buf); if (units == "B") return static_cast<qint64>(mag); if (units == "KB") return static_cast<qint64>(mag * KB); if (units == "MB") return static_cast<qint64>(mag * MB); if (units == "GB") return static_cast<qint64>(mag * GB); if (units == "TB") return static_cast<qint64>(mag * TB); if (units == "PB") return static_cast<qint64>(mag * PB); return -1; } /**************************************************************************//** * UpdateComboBox(): update a combobox's history. ******************************************************************************/ void updateComboBox (QComboBox *comboBox) { if (comboBox->findText(comboBox->currentText()) == -1) comboBox->addItem(comboBox->currentText()); } /**************************************************************************//** * ValidDir(): Validate a Qstring as an existing dir. ******************************************************************************/ bool validDir (const QString &dir) { QFileInfo fi(dir); return fi.isDir(); } /**************************************************************************//** * ValidRx(): Validate a QRegExp as a valid regular expression. ******************************************************************************/ bool validRx (const QRegExp &rx) { return rx.isValid(); } /**************************************************************************//** * ValidRx(): Validate a QRegExp as a valid regular expression. ******************************************************************************/ bool validRx (QRegExp *rx) { return rx->isValid(); } /**************************************************************************//** * ValidRx(): Validate a Qstring as a valid regular expression. ******************************************************************************/ bool validRx (const QString &s, QRegExp::PatternSyntax syntax) { QRegExp rx(s); rx.setPatternSyntax(syntax); return rx.isValid(); } /**************************************************************************//** * ValidRx(): Validate a QstringList as a valid regular expression. ******************************************************************************/ bool validRx (const QStringList &_sl, QRegExp::PatternSyntax _syntax) { QList<QString>::const_iterator i = _sl.begin(); while (i != _sl.end()) { if (!validRx(*(i++), _syntax)) return false; } return true; }
[ "you@example.com" ]
you@example.com
7f7a042dfb5381934c453a5dc3c041ae1e5f04c0
9ca50ac301ca48e38503aea0c1bf45bdadc310e4
/src/cbor_serializer.cpp
7e1cbe019e18d3e096fed30b37dd813d8fe9356e
[]
no_license
zdzhaoyong/svar_rosbridge
c0484546e1ce33cf866f412eadca9ecc80c0a921
10e7734776034bd2fd007f7867b696b4e4d4b9a8
refs/heads/master
2023-07-12T22:10:02.580484
2021-08-08T06:45:50
2021-08-08T06:45:50
383,981,892
7
0
null
null
null
null
UTF-8
C++
false
false
14,394
cpp
#include "Svar.h" using namespace sv; struct cbor_serializer final{ struct OSize{ template <typename T> OSize& operator <<(const T& c){ sz+=sizeof(T); return *this; } void write(const char* s,size_t length){ sz+=length; } size_t sz=0; }; struct OStream{ OStream(std::vector<char>& ost):o(ost),reverse(little_endianess()),ptr(ost.data()){} OStream& operator <<(char c){ *(ptr++)=c; return *this; } template <typename T> OStream& operator <<(const T& c){ std::array<char,sizeof(T)>& a=*(std::array<char,sizeof(T)>*)ptr; memcpy(a.data(),&c,sizeof(T)); if(reverse){ std::reverse(a.begin(), a.end()); } ptr+=sizeof(T); return *this; } void write(const char* s,size_t length){ memcpy(ptr,s,length); ptr+=length; } static constexpr bool little_endianess() noexcept { return 0x78 == (char)0x12345678; } std::vector<char>& o; bool reverse; char* ptr; }; struct IStream{ IStream(SvarBuffer& ist):i(ist),reverse(OStream::little_endianess()),ptr((const char*)i._ptr){} template<typename T> IStream& operator >>(T & c){ if(reverse){ std::array<char,sizeof(T)>& a=*(std::array<char,sizeof(T)>*)&c; memcpy(a.data(),ptr,a.size()); std::reverse(a.begin(),a.end()); } else memcpy(&c,ptr,sizeof(T)); ptr+=sizeof(T); return *this; } const void* read(size_t sz){ const void* ret=ptr; ptr+=sz; return ret; } SvarBuffer& i; const char* ptr; bool reverse; }; static Svar load(SvarBuffer input){ IStream i(input); return loadStream(i); } static Svar loadStream(IStream& i){ typedef unsigned char u_char; static std::vector<std::function<Svar(u_char,IStream&)> > funcs; if(funcs.empty()){ funcs.resize(256); for(int it=0;it<256;it++)funcs[it]=[](u_char c,IStream& i){return Svar::Undefined();}; for(u_char it=0;it<=0x17;it++) funcs[it]=[](u_char c,IStream& i){return Svar((int)c);}; funcs[0x18]=[](u_char c,IStream& i){uint8_t v;i>>v;return Svar((int)v);}; funcs[0x19]=[](u_char c,IStream& i){uint16_t v;i>>v;return Svar((int)v);}; funcs[0x1A]=[](u_char c,IStream& i){uint32_t v;i>>v;return Svar((int)v);}; funcs[0x1B]=[](u_char c,IStream& i){uint64_t v;i>>v;return Svar((int)v);};//positive int for(u_char it=0x20;it<=0x37;it++) funcs[it]=[](u_char c,IStream& i){return Svar((int)(-1-(c-0x20)));}; funcs[0x38]=[](u_char c,IStream& i){uint8_t v;i>>v;return Svar((int)(-1-v));}; funcs[0x39]=[](u_char c,IStream& i){uint16_t v;i>>v;return Svar((int)(-1-v));}; funcs[0x3A]=[](u_char c,IStream& i){uint32_t v;i>>v;return Svar((int)(-1-v));}; funcs[0x3B]=[](u_char c,IStream& i){uint64_t v;i>>v;return Svar((int)(-1-v));};//negative int for(u_char it=0x40;it<=0x5F;it++) funcs[it]=[](u_char c,IStream& i){ int len = funcs[c-0x40](c-0x40,i).as<int>(); std::string* buf=new std::string((char*)i.read(len),len); return Svar::create(SvarBuffer(buf->data(),buf->size(),std::unique_ptr<std::string>(buf))); };//binary string for(u_char it=0x60;it<=0x7B;it++) funcs[it]=[](u_char c,IStream& i){ int len = funcs[c-0x60](c-0x60,i).as<int>(); return Svar(std::string((char*)i.read(len),len)); };//string for(u_char it=0x80;it<=0x9B;it++) funcs[it]=[](u_char c,IStream& i){ int len = funcs[c-0x80](c-0x80,i).as<int>(); std::vector<Svar> vec(len); for(int j=0;j<len;j++){ uint8_t t;i>>t; vec[j]=funcs[t](t,i); } return Svar(vec); };//array for(u_char it=0xA0;it<=0xBB;it++) funcs[it]=[](u_char c,IStream& i){ int len = funcs[c-0xA0](c-0xA0,i).as<int>(); std::map<std::string,Svar> m; for(int j=0;j<len;j++){ uint8_t t1,t2; i>>t1; Svar f=funcs[t1](t1,i); i>>t2; m[f.castAs<std::string>()]=funcs[t2](t2,i); } return Svar(m); };//map funcs[0xF4]=[](u_char c,IStream& i){return Svar(false);};//false funcs[0xF5]=[](u_char c,IStream& i){return Svar(true);};//true funcs[0xF6]=[](u_char c,IStream& i){return Svar::Null();};//null funcs[0xFB]=[](u_char c,IStream& i){double d;i>>d;return Svar(d);};//double } u_char c; i>>c; return funcs[c](c,i); } static SvarBuffer dump(Svar var){ OSize sz; dumpStream(sz,var); std::vector<char>* ret=new std::vector<char>(); ret->resize(sz.sz); OStream ost(*ret); dumpStream(ost,var); return SvarBuffer(ret->data(),ret->size(),std::unique_ptr<std::vector<char>>(ret)); } static char c(std::uint8_t x){return *reinterpret_cast<char*>(&x);} template <typename T> static T& dumpStream(T& o,Svar var) { if(var.isUndefined()||var.isNull()) return o<<c(0xF6); if(var.is<bool>()) return o<<(var.as<bool>()? c(0xF5) : c(0xF4)); if(var.is<double>()) return o<<c(0xFB)<<var.as<double>(); if(var.is<int>()) { const int& v=var.as<int>(); if (v >= 0) { if (v <= 0x17) { return o<<c(static_cast<std::uint8_t>(v)); } else if (v <= (std::numeric_limits<std::uint8_t>::max)()) { return o<<c(0x18)<<c(static_cast<std::uint8_t>(v)); } else if (v <= (std::numeric_limits<std::uint16_t>::max)()) { return o<<c(0x19)<<(static_cast<std::uint16_t>(v)); } else if (v <= (std::numeric_limits<std::uint32_t>::max)()) { return o<<c(0x1A)<<static_cast<std::uint32_t>(v); } else// this never happens { return o<<c(0x1B)<<static_cast<std::uint64_t>(v); } } else { // The conversions below encode the sign in the first // byte, and the value is converted to a positive number. const auto n = -1 - v; if (v >= -24) { return o<<static_cast<std::uint8_t>(0x20 + n); } else if (n <= (std::numeric_limits<std::uint8_t>::max)()) { return o<<c(0x38)<<static_cast<std::uint8_t>(n); } else if (n <= (std::numeric_limits<std::uint16_t>::max)()) { return o<<c(0x39)<<static_cast<std::uint16_t>(n); } else if (n <= (std::numeric_limits<std::uint32_t>::max)()) { return o<<c(0x3A)<<static_cast<std::uint32_t>(n); } else { return o<<c(0x3B)<<static_cast<std::uint64_t>(n); } } } if(var.is<SvarBuffer>()){ SvarBuffer& s=var.as<SvarBuffer>(); const auto N = s.length(); if (N <= 0x17) { o<<c(static_cast<std::uint8_t>(0x40 + N)); } else if (N <= (std::numeric_limits<std::uint8_t>::max)()) { o<<c(0x58)<<(static_cast<std::uint8_t>(N)); } else if (N <= (std::numeric_limits<std::uint16_t>::max)()) { o<<c(0x59)<<static_cast<std::uint16_t>(N); } else if (N <= (std::numeric_limits<std::uint32_t>::max)()) { o<<c(0x5A)<<static_cast<std::uint32_t>(N); } // LCOV_EXCL_START else if (N <= (std::numeric_limits<std::uint64_t>::max)()) { o<<c(0x5B)<<(static_cast<std::uint64_t>(N)); } // LCOV_EXCL_STOP // step 2: write the string o.write(reinterpret_cast<const char*>(s._ptr),N); return o; } if(var.is<std::string>()) { // step 1: write control byte and the string length std::string& s=var.as<std::string>(); const auto N = s.size(); if (N <= 0x17) { o<<c(static_cast<std::uint8_t>(0x60 + N)); } else if (N <= (std::numeric_limits<std::uint8_t>::max)()) { o<<c(0x78)<<(static_cast<std::uint8_t>(N)); } else if (N <= (std::numeric_limits<std::uint16_t>::max)()) { o<<c(0x79)<<static_cast<std::uint16_t>(N); } else if (N <= (std::numeric_limits<std::uint32_t>::max)()) { o<<c(0x7A)<<static_cast<std::uint32_t>(N); } // LCOV_EXCL_START else if (N <= (std::numeric_limits<std::uint64_t>::max)()) { o<<c(0x7B)<<(static_cast<std::uint64_t>(N)); } // LCOV_EXCL_STOP // step 2: write the string o.write(reinterpret_cast<const char*>(s.data()),N); return o; } if(var.isArray()) { std::vector<Svar>& vec=var.as<SvarArray>()._var; const auto N = vec.size(); if (N <= 0x17) { o<<c(static_cast<std::uint8_t>(0x80 + N)); } else if (N <= (std::numeric_limits<std::uint8_t>::max)()) { o<<c(0x98)<<(static_cast<std::uint8_t>(N)); } else if (N <= (std::numeric_limits<std::uint16_t>::max)()) { o<<c(0x99)<<static_cast<std::uint16_t>(N); } else if (N <= (std::numeric_limits<std::uint32_t>::max)()) { o<<c(0x9A)<<static_cast<std::uint32_t>(N); } // LCOV_EXCL_START else if (N <= (std::numeric_limits<std::uint64_t>::max)()) { o<<c(0x9B)<<static_cast<std::uint64_t>(N); } // LCOV_EXCL_STOP // step 2: write each element for (const auto& el : vec) { dumpStream(o,el); } return o; } if(var.isObject()) { auto& obj=var.as<SvarObject>()._var; const auto N = obj.size(); if (N <= 0x17) { o<<(static_cast<std::uint8_t>(0xA0 + N)); } else if (N <= (std::numeric_limits<std::uint8_t>::max)()) { o<<c(0xB8)<<(static_cast<std::uint8_t>(N)); } else if (N <= (std::numeric_limits<std::uint16_t>::max)()) { o<<c(0xB9)<<(static_cast<std::uint16_t>(N)); } else if (N <= (std::numeric_limits<std::uint32_t>::max)()) { o<<c(0xBA)<<(static_cast<std::uint32_t>(N)); } // LCOV_EXCL_START else if (N <= (std::numeric_limits<std::uint64_t>::max)()) { o<<c(0xBB)<<(static_cast<std::uint64_t>(N)); } // LCOV_EXCL_STOP // step 2: write each element for (const auto& el : obj) { dumpStream(o,el.first); dumpStream(o,el.second); } return o; } Svar func_buffer=var.classPtr()->_attr["__buffer__"]; if(func_buffer.isFunction()){ dumpStream(o,func_buffer(var)); } throw SvarExeption("Unable dump cbor for type " + var.typeName()); } }; REGISTER_SVAR_MODULE(cbor){ sv::Class<cbor_serializer>("cbor_serializer") .def_static("load",&cbor_serializer::load) .def_static("dump",&cbor_serializer::dump); svar["serializers"]["cbor"]=cbor_serializer(); }
[ "zd5945@126.com" ]
zd5945@126.com
9b00144b6ff5ba8a7046002ba65dd0d05800acbb
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/mash/screenlock/screenlock.cc
17cf4f97df6acd57f6f918d892569c92d066f412
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
3,789
cc
// Copyright 2016 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 "mash/screenlock/screenlock.h" #include "ash/public/interfaces/container.mojom.h" #include "base/macros.h" #include "base/strings/utf_string_conversions.h" #include "mash/session/public/interfaces/session.mojom.h" #include "mojo/public/cpp/bindings/binding.h" #include "services/shell/public/cpp/connector.h" #include "services/ui/public/cpp/property_type_converters.h" #include "ui/views/background.h" #include "ui/views/controls/button/md_text_button.h" #include "ui/views/mus/aura_init.h" #include "ui/views/mus/native_widget_mus.h" #include "ui/views/mus/window_manager_connection.h" #include "ui/views/widget/widget_delegate.h" namespace mash { namespace screenlock { namespace { class ScreenlockView : public views::WidgetDelegateView, public views::ButtonListener { public: explicit ScreenlockView(shell::Connector* connector) : connector_(connector), unlock_button_( views::MdTextButton::Create(this, base::ASCIIToUTF16("Unlock"))) { set_background(views::Background::CreateSolidBackground(SK_ColorYELLOW)); AddChildView(unlock_button_); } ~ScreenlockView() override {} private: // Overridden from views::WidgetDelegate: base::string16 GetWindowTitle() const override { // TODO(beng): use resources. return base::ASCIIToUTF16("Screenlock"); } // Overridden from views::View: void Layout() override { gfx::Rect bounds = GetLocalBounds(); bounds.Inset(10, 10); gfx::Size ps = unlock_button_->GetPreferredSize(); bounds.set_height(bounds.height() - ps.height() - 10); unlock_button_->SetBounds(bounds.width() - ps.width(), bounds.bottom() + 10, ps.width(), ps.height()); } // Overridden from views::ButtonListener: void ButtonPressed(views::Button* sender, const ui::Event& event) override { DCHECK_EQ(sender, unlock_button_); mash::session::mojom::SessionPtr session; connector_->ConnectToInterface("service:mash_session", &session); session->UnlockScreen(); } shell::Connector* connector_; views::MdTextButton* unlock_button_; DISALLOW_COPY_AND_ASSIGN(ScreenlockView); }; } // namespace Screenlock::Screenlock() {} Screenlock::~Screenlock() {} void Screenlock::OnStart(const shell::Identity& identity) { tracing_.Initialize(connector(), identity.name()); mash::session::mojom::SessionPtr session; connector()->ConnectToInterface("service:mash_session", &session); session->AddScreenlockStateListener( bindings_.CreateInterfacePtrAndBind(this)); aura_init_.reset( new views::AuraInit(connector(), "views_mus_resources.pak")); window_manager_connection_ = views::WindowManagerConnection::Create(connector(), identity); views::Widget* widget = new views::Widget; views::Widget::InitParams params( views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); params.delegate = new ScreenlockView(connector()); std::map<std::string, std::vector<uint8_t>> properties; properties[ash::mojom::kWindowContainer_Property] = mojo::ConvertTo<std::vector<uint8_t>>( static_cast<int32_t>(ash::mojom::Container::LOGIN_WINDOWS)); ui::Window* window = views::WindowManagerConnection::Get()->NewWindow(properties); params.native_widget = new views::NativeWidgetMus( widget, window, ui::mojom::SurfaceType::DEFAULT); widget->Init(params); widget->Show(); } void Screenlock::ScreenlockStateChanged(bool screen_locked) { if (!screen_locked) base::MessageLoop::current()->QuitWhenIdle(); } } // namespace screenlock } // namespace mash
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
6ab6adf5a7006c2bb78328c0120feb3ede910204
e99592f5f7a8c58c4619ca42d3ccb2292b49f332
/MFCApplication2/MFCApplication2/MFCApplication2View.h
ff7552f411fb314ccf44ac8e88523b008463c505
[]
no_license
tseebo/Vc
e19318b5c7daad2e0490edb08388a104f6663747
78e65b17d1443247dccde04e2e27839a0d16e175
refs/heads/master
2021-03-21T15:04:10.567853
2020-07-02T11:27:07
2020-07-02T11:27:07
247,305,884
1
0
null
null
null
null
GB18030
C++
false
false
954
h
// MFCApplication2View.h : CMFCApplication2View 类的接口 // #pragma once class CMFCApplication2View : public CView { protected: // 仅从序列化创建 CMFCApplication2View(); DECLARE_DYNCREATE(CMFCApplication2View) // 特性 public: CMFCApplication2Doc* GetDocument() const; // 操作 public: // 重写 public: virtual void OnDraw(CDC* pDC); // 重写以绘制该视图 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: // 实现 public: virtual ~CMFCApplication2View(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // 生成的消息映射函数 protected: DECLARE_MESSAGE_MAP() public: afx_msg void OnLButtonDown(UINT nFlags, CPoint point); }; #ifndef _DEBUG // MFCApplication2View.cpp 中的调试版本 inline CMFCApplication2Doc* CMFCApplication2View::GetDocument() const { return reinterpret_cast<CMFCApplication2Doc*>(m_pDocument); } #endif
[ "1305771558@qq.com" ]
1305771558@qq.com
f588866f132160c77b68e3acf5b0c866d32a9cca
8992d58c52017d7c2060de0a9e01e78b9a729549
/src/masternode.cpp
1899b2339704876a18c42ff4048160feaf45824f
[ "MIT" ]
permissive
AnabolicRampage/Linda-1
f744efccfc93818fec1cd2fa0878a558b8fb01bd
612a80960d0661bd8c72f3885a723b7e1674fc48
refs/heads/master
2020-04-16T13:13:10.911616
2019-01-13T13:29:01
2019-01-13T13:29:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
30,284
cpp
#include "masternode.h" #include "activemasternode.h" #include "darksend.h" //#include "primitives/transaction.h" #include "main.h" #include "util.h" #include "addrman.h" #include <boost/lexical_cast.hpp> int CMasterNode::minProtoVersion = MIN_MN_PROTO_VERSION; /** The list of active masternodes */ std::vector<CMasterNode> vecMasternodes; /** Object for who's going to get paid on which blocks */ CMasternodePayments masternodePayments; // keep track of masternode votes I've seen map<uint256, CMasternodePaymentWinner> mapSeenMasternodeVotes; // keep track of the scanning errors I've seen map<uint256, int> mapSeenMasternodeScanningErrors; // who's asked for the masternode list and the last time std::map<CNetAddr, int64_t> askedForMasternodeList; // which masternodes we've asked for std::map<COutPoint, int64_t> askedForMasternodeListEntry; // cache block hashes as we calculate them std::map<int64_t, uint256> mapCacheBlockHashes; // manage the masternode connections void ProcessMasternodeConnections(){ LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes) { //if it's our masternode, let it be if(darkSendPool.submittedToMasternode == pnode->addr) continue; if(pnode->fDarkSendMaster){ LogPrintf("Closing masternode connection %s \n", pnode->addr.ToString().c_str()); pnode->CloseSocketDisconnect(); } } } void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream& vRecv) { if (strCommand == "dsee") { //DarkSend Election Entry if(fLiteMode) return; //disable all darksend/masternode related functionality bool fIsInitialDownload = IsInitialBlockDownload(); if(fIsInitialDownload) return; CTxIn vin; CService addr; CPubKey pubkey; CPubKey pubkey2; vector<unsigned char> vchSig; int64_t sigTime; int count; int current; int64_t lastUpdated; int protocolVersion; std::string strMessage; // 70047 and greater vRecv >> vin >> addr >> vchSig >> sigTime >> pubkey >> pubkey2 >> count >> current >> lastUpdated >> protocolVersion; // make sure signature isn't in the future (past is OK) if (sigTime > GetAdjustedTime() + 60 * 60) { LogPrintf("dsee - Signature rejected, too far into the future %s\n", vin.ToString().c_str()); return; } bool isLocal = addr.IsRFC1918() || addr.IsLocal(); //if(Params().MineBlocksOnDemand()) isLocal = false; std::string vchPubKey(pubkey.begin(), pubkey.end()); std::string vchPubKey2(pubkey2.begin(), pubkey2.end()); strMessage = addr.ToString() + boost::lexical_cast<std::string>(sigTime) + vchPubKey + vchPubKey2 + boost::lexical_cast<std::string>(protocolVersion); if(protocolVersion < MIN_MN_PROTO_VERSION) { LogPrintf("dsee - ignoring outdated masternode %s protocol version %d\n", vin.ToString().c_str(), protocolVersion); return; } CScript pubkeyScript; pubkeyScript =GetScriptForDestination(pubkey.GetID()); if(pubkeyScript.size() != 25) { LogPrintf("dsee - pubkey the wrong size\n"); Misbehaving(pfrom->GetId(), 100); return; } CScript pubkeyScript2; pubkeyScript2 =GetScriptForDestination(pubkey2.GetID()); if(pubkeyScript2.size() != 25) { LogPrintf("dsee - pubkey2 the wrong size\n"); Misbehaving(pfrom->GetId(), 100); return; } std::string errorMessage = ""; if(!darkSendSigner.VerifyMessage(pubkey, vchSig, strMessage, errorMessage)){ LogPrintf("dsee - Got bad masternode address signature\n"); Misbehaving(pfrom->GetId(), 100); return; } //search existing masternode list, this is where we update existing masternodes with new dsee broadcasts BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { if(mn.vin.prevout == vin.prevout) { // count == -1 when it's a new entry // e.g. We don't want the entry relayed/time updated when we're syncing the list // mn.pubkey = pubkey, IsVinAssociatedWithPubkey is validated once below, // after that they just need to match if(count == -1 && mn.pubkey == pubkey && !mn.UpdatedWithin(MASTERNODE_MIN_DSEE_SECONDS)){ mn.UpdateLastSeen(); if(mn.now < sigTime){ //take the newest entry LogPrintf("dsee - Got updated entry for %s\n", addr.ToString().c_str()); mn.pubkey2 = pubkey2; mn.now = sigTime; mn.sig = vchSig; mn.protocolVersion = protocolVersion; mn.addr = addr; RelayDarkSendElectionEntry(vin, addr, vchSig, sigTime, pubkey, pubkey2, count, current, lastUpdated, protocolVersion); } } return; } else if ((CNetAddr)mn.addr == (CNetAddr)addr) { // don't add masternodes with the same service address as they // are attempting to earn payments without contributing // we won't mark the sending node as misbehaving unless // they are the culprit LogPrintf("dsee - Already have mn with same service address:%s\n", addr.ToString()); if ((CNetAddr)pfrom->addr == (CNetAddr)addr) Misbehaving(pfrom->GetId(), 20); return; } } // make sure the vout that was signed is related to the transaction that spawned the masternode // - this is expensive, so it's only done once per masternode if(!darkSendSigner.IsVinAssociatedWithPubkey(vin, pubkey)) { LogPrintf("dsee - Got mismatched pubkey and vin\n"); Misbehaving(pfrom->GetId(), 100); return; } if(fDebug) LogPrintf("dsee - Got NEW masternode entry %s\n", addr.ToString().c_str()); // make sure it's still unspent // - this is checked later by .check() in many places and by ThreadCheckDarkSendPool() CValidationState state; CTransaction tx = CTransaction(); int64_t nTempTxOut = (MASTERNODE_COLLATERAL / COIN) - 1; CTxOut vout = CTxOut(nTempTxOut*COIN, darkSendPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout); bool pfMissingInputs = false; if(AcceptableInputs(mempool, state, tx, false, &pfMissingInputs)){ if(fDebug) LogPrintf("dsee - Accepted masternode entry %i %i\n", count, current); if(GetInputAge(vin) < MASTERNODE_MIN_CONFIRMATIONS){ LogPrintf("dsee - Input must have least %d confirmations\n", MASTERNODE_MIN_CONFIRMATIONS); Misbehaving(pfrom->GetId(), 20); return; } // use this as a peer addrman.Add(CAddress(addr), pfrom->addr, 2*60*60); // add our masternode CMasterNode mn(addr, vin, pubkey, vchSig, sigTime, pubkey2, protocolVersion); mn.UpdateLastSeen(lastUpdated); vecMasternodes.push_back(mn); // if it matches our masternodeprivkey, then we've been remotely activated if(pubkey2 == activeMasternode.pubKeyMasternode && protocolVersion == PROTOCOL_VERSION){ activeMasternode.EnableHotColdMasterNode(vin, addr); } if(count == -1 && !isLocal) RelayDarkSendElectionEntry(vin, addr, vchSig, sigTime, pubkey, pubkey2, count, current, lastUpdated, protocolVersion); } else { LogPrintf("dsee - Rejected masternode entry %s\n", addr.ToString().c_str()); int nDoS = 0; if (state.IsInvalid(nDoS)) { LogPrintf("dsee - %s from %s %s was not accepted into the memory pool\n", tx.GetHash().ToString().c_str(), pfrom->addr.ToString().c_str(), pfrom->cleanSubVer.c_str()); if (nDoS > 0) Misbehaving(pfrom->GetId(), nDoS); } } } else if (strCommand == "dseep") { //DarkSend Election Entry Ping if(fLiteMode) return; //disable all darksend/masternode related functionality bool fIsInitialDownload = IsInitialBlockDownload(); if(fIsInitialDownload) return; CTxIn vin; vector<unsigned char> vchSig; int64_t sigTime; bool stop; vRecv >> vin >> vchSig >> sigTime >> stop; if(fDebug) LogPrintf("dseep - Received: vin: %s sigTime: %lld stop: %s\n", vin.ToString().c_str(), sigTime, stop ? "true" : "false"); if (sigTime > GetAdjustedTime() + 60 * 60) { LogPrintf("dseep - Signature rejected, too far into the future %s\n", vin.ToString().c_str()); return; } if (sigTime <= GetAdjustedTime() - 60 * 60) { LogPrintf("dseep - Signature rejected, too far into the past %s - %d %d \n", vin.ToString().c_str(), sigTime, GetAdjustedTime()); return; } // see if we have this masternode BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { if(mn.vin.prevout == vin.prevout) { if(fDebug) LogPrintf("dseep - Found corresponding mn for vin: %s\n", vin.ToString().c_str()); // take this only if it's newer if(mn.lastDseep < sigTime){ std::string strMessage = mn.addr.ToString() + boost::lexical_cast<std::string>(sigTime) + boost::lexical_cast<std::string>(stop); std::string errorMessage = ""; if(!darkSendSigner.VerifyMessage(mn.pubkey2, vchSig, strMessage, errorMessage)){ LogPrintf("dseep - Got bad masternode address signature %s \n", vin.ToString().c_str()); return; } mn.lastDseep = sigTime; if(!mn.UpdatedWithin(MASTERNODE_MIN_DSEEP_SECONDS)){ mn.UpdateLastSeen(); if(stop) { mn.Disable(); mn.Check(); } RelayDarkSendElectionEntryPing(vin, vchSig, sigTime, stop); } } return; } } if(fDebug) LogPrintf("dseep - Couldn't find masternode entry %s\n", vin.ToString().c_str()); std::map<COutPoint, int64_t>::iterator i = askedForMasternodeListEntry.find(vin.prevout); if (i != askedForMasternodeListEntry.end()){ int64_t t = (*i).second; if (GetTime() < t) { // we've asked recently return; } } // ask for the dsee info once from the node that sent dseep LogPrintf("dseep - Asking source node for missing entry %s\n", vin.ToString().c_str()); pfrom->PushMessage("dseg", vin); int64_t askAgain = GetTime() + MASTERNODE_MIN_DSEEP_SECONDS; askedForMasternodeListEntry[vin.prevout] = askAgain; } else if (strCommand == "dseg") { //Get masternode list or specific entry if(fLiteMode) return; //disable all darksend/masternode related functionality CTxIn vin; vRecv >> vin; if(vin == CTxIn()) { //only should ask for this once //local network //Note tor peers show up as local proxied addrs //if(!pfrom->addr.IsRFC1918())//&& !Params().MineBlocksOnDemand()) //{ std::map<CNetAddr, int64_t>::iterator i = askedForMasternodeList.find(pfrom->addr); if (i != askedForMasternodeList.end()) { int64_t t = (*i).second; if (GetTime() < t) { //Misbehaving(pfrom->GetId(), 34); //LogPrintf("dseg - peer already asked me for the list\n"); //return; } } int64_t askAgain = GetTime()+(60*60*3); askedForMasternodeList[pfrom->addr] = askAgain; //} } //else, asking for a specific node which is ok int count = vecMasternodes.size(); int i = 0; BOOST_FOREACH(CMasterNode mn, vecMasternodes) { if(mn.addr.IsRFC1918()) continue; //local network if(vin == CTxIn()){ mn.Check(); if(mn.IsEnabled()) { if(fDebug) LogPrintf("dseg - Sending masternode entry - %s \n", mn.addr.ToString().c_str()); pfrom->PushMessage("dsee", mn.vin, mn.addr, mn.sig, mn.now, mn.pubkey, mn.pubkey2, count, i, mn.lastTimeSeen, mn.protocolVersion); } } else if (vin == mn.vin) { if(fDebug) LogPrintf("dseg - Sending masternode entry - %s \n", mn.addr.ToString().c_str()); pfrom->PushMessage("dsee", mn.vin, mn.addr, mn.sig, mn.now, mn.pubkey, mn.pubkey2, count, i, mn.lastTimeSeen, mn.protocolVersion); LogPrintf("dseg - Sent 1 masternode entries to %s\n", pfrom->addr.ToString().c_str()); return; } i++; } LogPrintf("dseg - Sent %d masternode entries to %s\n", count, pfrom->addr.ToString().c_str()); } else if (strCommand == "mnget") { //Masternode Payments Request Sync if(fLiteMode) return; //disable all darksend/masternode related functionality /*if(pfrom->HasFulfilledRequest("mnget")) { LogPrintf("mnget - peer already asked me for the list\n"); Misbehaving(pfrom->GetId(), 20); return; }*/ pfrom->FulfilledRequest("mnget"); masternodePayments.Sync(pfrom); LogPrintf("mnget - Sent masternode winners to %s\n", pfrom->addr.ToString().c_str()); } else if (strCommand == "mnw") { //Masternode Payments Declare Winner //this is required in litemode CMasternodePaymentWinner winner; int a = 0; vRecv >> winner >> a; if(pindexBest == NULL) return; uint256 hash = winner.GetHash(); if(mapSeenMasternodeVotes.count(hash)) { if(fDebug) LogPrintf("mnw - seen vote %s Height %d bestHeight %d\n", hash.ToString().c_str(), winner.nBlockHeight, pindexBest->nHeight); return; } if(winner.nBlockHeight < pindexBest->nHeight - 10 || winner.nBlockHeight > pindexBest->nHeight+20){ LogPrintf("mnw - winner out of range %s Height %d bestHeight %d\n", winner.vin.ToString().c_str(), winner.nBlockHeight, pindexBest->nHeight); return; } if(winner.vin.nSequence != std::numeric_limits<unsigned int>::max()){ LogPrintf("mnw - invalid nSequence\n"); Misbehaving(pfrom->GetId(), 100); return; } LogPrintf("mnw - winning vote %s Height %d bestHeight %d\n", winner.vin.ToString().c_str(), winner.nBlockHeight, pindexBest->nHeight); if(!masternodePayments.CheckSignature(winner)){ LogPrintf("mnw - invalid signature\n"); Misbehaving(pfrom->GetId(), 100); return; } mapSeenMasternodeVotes.insert(make_pair(hash, winner)); if(masternodePayments.AddWinningMasternode(winner)){ masternodePayments.Relay(winner); } } } struct CompareValueOnly { bool operator()(const pair<int64_t, CTxIn>& t1, const pair<int64_t, CTxIn>& t2) const { return t1.first < t2.first; } }; struct CompareValueOnly2 { bool operator()(const pair<int64_t, int>& t1, const pair<int64_t, int>& t2) const { return t1.first < t2.first; } }; int CountMasternodesAboveProtocol(int protocolVersion) { int i = 0; BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { if(mn.protocolVersion < protocolVersion) continue; i++; } return i; } int GetMasternodeByVin(CTxIn& vin) { int i = 0; BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { if (mn.vin == vin) return i; i++; } return -1; } bool IsMasternodePaidInList(std::vector<CScript> vecPaidMasternodes, CScript sAddress) { return std::find(vecPaidMasternodes.begin(), vecPaidMasternodes.end(), sAddress) != vecPaidMasternodes.end(); } int GetCurrentMasterNode(int64_t nBlockHeight, int minProtocol) { int i = 0; unsigned int score = 0; int winner = -1; // masternodes show be payed at most once per day // and rewards should be shared evenly amongst all contributors // this can be accomplished by checking the last cycle of blocks // and removing all already paid masternodes from the // winner selection for the next block int count = vecMasternodes.size(); count = std::max(count, 960); count = std::min(count, 1500); // limit so we don't cause wallet lockups int iCount = count; std::vector<CScript> vecPaidMasternodes; CBlockIndex* pblockindex = mapBlockIndex[hashBestChain]; for (int n = 0; n < count; n++) { CBlock block; if (block.ReadFromDisk(pblockindex)) { if (block.HasMasternodePayment()) { if (block.vtx[1].vout.size() == 3) { CScript mnScript = block.vtx[1].vout[2].scriptPubKey; if (!IsMasternodePaidInList(vecPaidMasternodes, mnScript)) vecPaidMasternodes.push_back(mnScript); } else if (block.vtx[1].vout.size() == 4) { CScript mnScript = block.vtx[1].vout[3].scriptPubKey; if (!IsMasternodePaidInList(vecPaidMasternodes, mnScript)) vecPaidMasternodes.push_back(mnScript); } } } pblockindex = pblockindex->pprev; } // scan for winner BOOST_FOREACH(CMasterNode mn, vecMasternodes) { CScript mnScript = GetScriptForDestination(mn.pubkey.GetID()); if (IsMasternodePaidInList(vecPaidMasternodes, mnScript)) { i++; continue; } mn.Check(); if(mn.protocolVersion < minProtocol) continue; if(!mn.IsEnabled()) { i++; continue; } // calculate the score for each masternode uint256 n = mn.CalculateScore(nBlockHeight); unsigned int n2 = 0; memcpy(&n2, &n, sizeof(n2)); // determine the winner if(n2 > score) { score = n2; winner = i; } i++; } return winner; } int GetMasternodeByRank(int findRank, int64_t nBlockHeight, int minProtocol) { int i = 0; std::vector<pair<unsigned int, int> > vecMasternodeScores; i = 0; BOOST_FOREACH(CMasterNode mn, vecMasternodes) { mn.Check(); if(mn.protocolVersion < minProtocol) continue; if(!mn.IsEnabled()) { i++; continue; } uint256 n = mn.CalculateScore(nBlockHeight); unsigned int n2 = 0; memcpy(&n2, &n, sizeof(n2)); vecMasternodeScores.push_back(make_pair(n2, i)); i++; } sort(vecMasternodeScores.rbegin(), vecMasternodeScores.rend(), CompareValueOnly2()); int rank = 0; BOOST_FOREACH (PAIRTYPE(unsigned int, int)& s, vecMasternodeScores){ rank++; if(rank == findRank) return s.second; } return -1; } int GetMasternodeRank(CTxIn& vin, int64_t nBlockHeight, int minProtocol) { std::vector<pair<unsigned int, CTxIn> > vecMasternodeScores = GetMasternodeScores(nBlockHeight, minProtocol); return GetMasternodeRank(vin, vecMasternodeScores); } int GetMasternodeRank(CTxIn& vin, std::vector<pair<unsigned int, CTxIn> >& vecMasternodeScores) { unsigned int rank = 0; BOOST_FOREACH (PAIRTYPE(unsigned int, CTxIn)& s, vecMasternodeScores) { rank++; if(s.second == vin) { return rank; } } return -1; } std::vector<pair<unsigned int, CTxIn> > GetMasternodeScores(int64_t nBlockHeight, int minProtocol) { std::vector<pair<unsigned int, CTxIn> > vecMasternodeScores; BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { mn.Check(); if(mn.protocolVersion < minProtocol) { continue; } if(!mn.IsEnabled()) { continue; } uint256 n = mn.CalculateScore(nBlockHeight); unsigned int n2 = 0; memcpy(&n2, &n, sizeof(n2)); vecMasternodeScores.push_back(make_pair(n2, mn.vin)); } sort(vecMasternodeScores.rbegin(), vecMasternodeScores.rend(), CompareValueOnly()); return vecMasternodeScores; } //Get the last hash that matches the modulus given. Processed in reverse order bool GetBlockHash(uint256& hash, int nBlockHeight) { if (pindexBest == NULL) return false; if(nBlockHeight == 0) nBlockHeight = pindexBest->nHeight; if(mapCacheBlockHashes.count(nBlockHeight)){ hash = mapCacheBlockHashes[nBlockHeight]; return true; } const CBlockIndex *BlockLastSolved = pindexBest; const CBlockIndex *BlockReading = pindexBest; if (BlockLastSolved == NULL || BlockLastSolved->nHeight == 0 || pindexBest->nHeight+1 < nBlockHeight) return false; int nBlocksAgo = 0; if(nBlockHeight > 0) nBlocksAgo = (pindexBest->nHeight+1)-nBlockHeight; assert(nBlocksAgo >= 0); int n = 0; for (unsigned int i = 1; BlockReading && BlockReading->nHeight > 0; i++) { if(n >= nBlocksAgo){ hash = BlockReading->GetBlockHash(); mapCacheBlockHashes[nBlockHeight] = hash; return true; } n++; if (BlockReading->pprev == NULL) { assert(BlockReading); break; } BlockReading = BlockReading->pprev; } return false; } // // Deterministically calculate a given "score" for a masternode depending on how close it's hash is to // the proof of work for that block. The further away they are the better, the furthest will win the election // and get paid this block // uint256 CMasterNode::CalculateScore(int64_t nBlockHeight) { if(pindexBest == NULL) return 0; uint256 hash = 0; uint256 aux = vin.prevout.hash + vin.prevout.n; if(!GetBlockHash(hash, nBlockHeight)) return 0; CHashWriter ss(SER_GETHASH, PROTOCOL_VERSION); ss << hash; uint256 hash2 = ss.GetHash(); CHashWriter ss2(SER_GETHASH, PROTOCOL_VERSION); ss2 << hash; ss2 << aux; uint256 hash3 = ss2.GetHash(); uint256 r = (hash3 > hash2 ? hash3 - hash2 : hash2 - hash3); return r; } void CMasterNode::Check() { //once spent, stop doing the checks if(enabled==3) return; if(!UpdatedWithin(MASTERNODE_REMOVAL_SECONDS)){ enabled = 4; return; } if(!UpdatedWithin(MASTERNODE_EXPIRATION_SECONDS)){ enabled = 2; return; } if(!unitTest){ CValidationState state; CTransaction tx = CTransaction(); int64_t nTempTxOut = (MASTERNODE_COLLATERAL/COIN) - 1; CTxOut vout = CTxOut(nTempTxOut*COIN, darkSendPool.collateralPubKey); tx.vin.push_back(vin); tx.vout.push_back(vout); bool pfMissingInputs = false; if(!AcceptableInputs(mempool, state, tx, false, &pfMissingInputs)) { enabled = 3; return; } } enabled = 1; // OK } bool CMasternodePayments::CheckSignature(CMasternodePaymentWinner& winner) { //note: need to investigate why this is failing std::string strMessage = winner.vin.ToString().c_str() + boost::lexical_cast<std::string>(winner.nBlockHeight) + winner.payee.ToString(); std::string strPubKey = strMainPubKey ; CPubKey pubkey(ParseHex(strPubKey)); std::string errorMessage = ""; if(!darkSendSigner.VerifyMessage(pubkey, winner.vchSig, strMessage, errorMessage)){ return false; } return true; } bool CMasternodePayments::Sign(CMasternodePaymentWinner& winner) { std::string strMessage = winner.vin.ToString().c_str() + boost::lexical_cast<std::string>(winner.nBlockHeight) + winner.payee.ToString(); CKey key2; CPubKey pubkey2; std::string errorMessage = ""; if(!darkSendSigner.SetKey(strMasterPrivKey, errorMessage, key2, pubkey2)) { LogPrintf("CMasternodePayments::Sign - ERROR: Invalid masternodeprivkey: '%s'\n", errorMessage.c_str()); return false; } if(!darkSendSigner.SignMessage(strMessage, errorMessage, winner.vchSig, key2)) { LogPrintf("CMasternodePayments::Sign - Sign message failed"); return false; } if(!darkSendSigner.VerifyMessage(pubkey2, winner.vchSig, strMessage, errorMessage)) { LogPrintf("CMasternodePayments::Sign - Verify message failed"); return false; } return true; } uint64_t CMasternodePayments::CalculateScore(uint256 blockHash, CTxIn& vin) { uint256 n1 = blockHash; uint256 n2 = Hash(BEGIN(n1), END(n1)); uint256 n3 = Hash(BEGIN(vin.prevout.hash), END(vin.prevout.hash)); uint256 n4 = n3 > n2 ? (n3 - n2) : (n2 - n3); //LogPrintf(" -- CMasternodePayments CalculateScore() n2 = %d \n", n2.Get64()); //LogPrintf(" -- CMasternodePayments CalculateScore() n3 = %d \n", n3.Get64()); //LogPrintf(" -- CMasternodePayments CalculateScore() n4 = %d \n", n4.Get64()); return n4.Get64(); } bool CMasternodePayments::GetBlockPayee(int nBlockHeight, CScript& payee) { BOOST_FOREACH(CMasternodePaymentWinner& winner, vWinning){ if(winner.nBlockHeight == nBlockHeight) { payee = winner.payee; return true; } } return false; } bool CMasternodePayments::GetWinningMasternode(int nBlockHeight, CTxIn& vinOut) { BOOST_FOREACH(CMasternodePaymentWinner& winner, vWinning){ if(winner.nBlockHeight == nBlockHeight) { vinOut = winner.vin; return true; } } return false; } bool CMasternodePayments::AddWinningMasternode(CMasternodePaymentWinner& winnerIn) { uint256 blockHash = 0; if(!GetBlockHash(blockHash, winnerIn.nBlockHeight-576)) { return false; } winnerIn.score = CalculateScore(blockHash, winnerIn.vin); bool foundBlock = false; BOOST_FOREACH(CMasternodePaymentWinner& winner, vWinning){ if(winner.nBlockHeight == winnerIn.nBlockHeight) { foundBlock = true; if(winner.score < winnerIn.score){ winner.score = winnerIn.score; winner.vin = winnerIn.vin; winner.payee = winnerIn.payee; winner.vchSig = winnerIn.vchSig; return true; } } } // if it's not in the vector if(!foundBlock){ vWinning.push_back(winnerIn); mapSeenMasternodeVotes.insert(make_pair(winnerIn.GetHash(), winnerIn)); return true; } return false; } void CMasternodePayments::CleanPaymentList() { if(pindexBest == NULL) return; int nLimit = std::max(((int)vecMasternodes.size())*2, 1000); vector<CMasternodePaymentWinner>::iterator it; for(it=vWinning.begin();it<vWinning.end();it++){ if(pindexBest->nHeight - (*it).nBlockHeight > nLimit){ if(fDebug) LogPrintf("CMasternodePayments::CleanPaymentList - Removing old masternode payment - block %d\n", (*it).nBlockHeight); vWinning.erase(it); break; } } } bool CMasternodePayments::ProcessBlock(int nBlockHeight) { if(!enabled) return false; CMasternodePaymentWinner winner; std::vector<CTxIn> vecLastPayments; int c = 0; BOOST_REVERSE_FOREACH(CMasternodePaymentWinner& winner, vWinning){ vecLastPayments.push_back(winner.vin); //if we have one full payment cycle, break if(++c > (int)vecMasternodes.size()) break; } std::random_shuffle ( vecMasternodes.begin(), vecMasternodes.end() ); BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { bool found = false; BOOST_FOREACH(CTxIn& vin, vecLastPayments) if(mn.vin == vin) found = true; if(found) continue; mn.Check(); if(!mn.IsEnabled()) { continue; } winner.score = 0; winner.nBlockHeight = nBlockHeight; winner.vin = mn.vin; winner.payee =GetScriptForDestination(mn.pubkey.GetID()); break; } //if we can't find someone to get paid, pick randomly if(winner.nBlockHeight == 0 && vecMasternodes.size() > 0) { winner.score = 0; winner.nBlockHeight = nBlockHeight; winner.vin = vecMasternodes[0].vin; winner.payee =GetScriptForDestination(vecMasternodes[0].pubkey.GetID()); } if(Sign(winner)){ if(AddWinningMasternode(winner)){ Relay(winner); return true; } } return false; } void CMasternodePayments::Relay(CMasternodePaymentWinner& winner) { CInv inv(MSG_MASTERNODE_WINNER, winner.GetHash()); vector<CInv> vInv; vInv.push_back(inv); LOCK(cs_vNodes); BOOST_FOREACH(CNode* pnode, vNodes){ pnode->PushMessage("inv", vInv); } } void CMasternodePayments::Sync(CNode* node) { int a = 0; BOOST_FOREACH(CMasternodePaymentWinner& winner, vWinning) if(winner.nBlockHeight >= pindexBest->nHeight-10 && winner.nBlockHeight <= pindexBest->nHeight + 20) node->PushMessage("mnw", winner, a); } bool CMasternodePayments::SetPrivKey(std::string strPrivKey) { CMasternodePaymentWinner winner; // Test signing successful, proceed strMasterPrivKey = strPrivKey; Sign(winner); if(CheckSignature(winner)){ LogPrintf("CMasternodePayments::SetPrivKey - Successfully initialized as masternode payments master\n"); enabled = true; return true; } else { return false; } }
[ "dstoneham.93@gmail.com" ]
dstoneham.93@gmail.com
1bca70424b807cf1380b4830273f3f075b1d62a4
e179d313721d389730834cfe3677f9c4d7dacae5
/critpath/mcpat/processor.h
b8a1438fb7c770a84523f65471d97e773e488ed3
[]
no_license
PolyArch/prism
8796243a5618e8d12f965bf30b9f6e799112e1cd
583beba32710113e47f68ab573aae5376a19e010
refs/heads/master
2021-03-27T12:37:34.160907
2019-09-30T17:38:49
2019-09-30T17:38:49
111,027,680
0
0
null
null
null
null
UTF-8
C++
false
false
4,782
h
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * 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 copyright holders 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 * OWNER 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.” * ***************************************************************************/ #ifndef PROCESSOR_H_ #define PROCESSOR_H_ #include "XML_Parse.h" #include "area.h" #include "decoder.h" #include "parameter.h" #include "array.h" #include "arbiter.h" #include <vector> #include "basic_components.h" #include "core.h" #include "memoryctrl.h" #include "router.h" #include "sharedcache.h" #include "noc.h" #include "iocontrollers.h" class Processor : public Component { public: ParseXML *XML; vector<Core *> cores; vector<SharedCache *> l2array; vector<SharedCache *> l3array; vector<SharedCache *> l1dirarray; vector<SharedCache *> l2dirarray; vector<NoC *> nocs; MemoryController * mc; NIUController * niu; PCIeController * pcie; FlashController * flashcontroller; InputParameter interface_ip; ProcParam procdynp; //wire globalInterconnect; //clock_network globalClock; Component core, l2, l3, l1dir, l2dir, noc, mcs, cc, nius, pcies,flashcontrollers; int numCore, numL2, numL3, numNOC, numL1Dir, numL2Dir; Processor(ParseXML *XML_interface); //void compute(); virtual void set_proc_param(); virtual void displayEnergy(uint32_t indent = 0,int plevel = 100, bool is_tdp=true); virtual void displayDeviceType(int device_type_, uint32_t indent = 0); virtual void displayInterconnectType(int interconnect_type_, uint32_t indent = 0); ~Processor(); }; class PrismProcessor : public Processor { public: PrismProcessor(ParseXML* XML_interface); virtual void computeEnergy(); virtual void computeAccPower(); virtual void displayAccEnergy(); double executionTime_acc; //overall output energy Component overall_acc, core_acc, ifu_acc, icache_acc, lsu_acc, dcache_acc, mmu_acc, exu_acc, iiw_acc, fiw_acc, isel_acc, rnu_acc, corepipe_acc, undiffCore_acc, l2cache_acc, ialu_acc, fpu_acc, mul_acc, rfu_acc, l2_acc, l3_acc, l1dir_acc, l2dir_acc, noc_acc, cc_acc, nius_acc, pcies_acc, flashcontrollers_acc; //overall output power Component overall_acc_power, core_acc_power, ifu_acc_power, icache_acc_power, lsu_acc_power, dcache_acc_power, mmu_acc_power, exu_acc_power, iiw_acc_power, fiw_acc_power, isel_acc_power, rnu_acc_power, corepipe_acc_power, undiffCore_acc_power, l2cache_acc_power, ialu_acc_power, fpu_acc_power, mul_acc_power, rfu_acc_power, l2_acc_power, l3_acc_power, l1dir_acc_power, l2dir_acc_power, noc_acc_power, cc_acc_power, nius_acc_power, pcies_acc_power, flashcontrollers_acc_power; }; class NLAProcessor : public PrismProcessor { public: NLAProcessor(ParseXML* XML_interface); vector<NLAU *> nlas; virtual void computeEnergy(); virtual void computeAccPower(); virtual void displayAccEnergy(); //current energy Component nla, imu; //overall output energy Component nla_acc, imu_acc, nla_net_acc; //overall output power Component nla_acc_power, imu_acc_power, nla_net_acc_power; }; #endif /* PROCESSOR_H_ */
[ "tjn@cs.wisc.edu" ]
tjn@cs.wisc.edu
b936314a44822a6a43b314d0f0ecc98e220bf826
59ad83925bd1ffb3f3b6248ddf317921ed2bb24b
/ATATool/PropertyPageBT.cpp
66d618c38fc1044d33e586b461f450a2b7f57d5b
[]
no_license
momoomom/ATA
f5cb01615b2b662d54ec834c95d7d5921ab96c7c
92489654d21c61b8a5cc6f62b790ddfa6448e704
refs/heads/master
2021-12-11T13:20:11.810785
2016-11-15T07:02:26
2016-11-15T07:02:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,323
cpp
// PropertyPageBT.cpp : implementation file // #include "stdafx.h" #include "ATATool.h" #include "PropertyPageBT.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CPropertyPageBT property page IMPLEMENT_DYNCREATE(CPropertyPageBT, CPropertyPage) CPropertyPageBT::CPropertyPageBT() : CPropertyPage(CPropertyPageBT::IDD) { //{{AFX_DATA_INIT(CPropertyPageBT) m_BTAddr = _T(""); /*zishuo20150727*/ m_BTHostAddr = _T(""); m_bCheckBTAddr = FALSE; /*end*/ //}}AFX_DATA_INIT } CPropertyPageBT::~CPropertyPageBT() { } void CPropertyPageBT::DoDataExchange(CDataExchange* pDX) { CPropertyPage::DoDataExchange(pDX); //{{AFX_DATA_MAP(CPropertyPageBT) DDX_Control(pDX, IDC_COMBO_SPEC_TYPE, m_comboSpecType); DDX_Text(pDX, IDC_EDIT_BT_ADDR, m_BTAddr); /*zishuo20150727*/ DDX_Check(pDX, IDC_CHECK_BT_ADDR, m_bCheckBTAddr); DDX_Text(pDX, IDC_EDIT_BT_HOSTADDR, m_BTHostAddr); /*end*/ //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CPropertyPageBT, CPropertyPage) //{{AFX_MSG_MAP(CPropertyPageBT) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CPropertyPageBT message handlers void CPropertyPageBT::UpdateParameters() { UpdateData (true); sprintf (p_sTestSpec->bt_spec.addr, m_BTAddr.GetBuffer(0), m_BTAddr.GetLength()); p_sTestSpec->bt_spec.addr[m_BTAddr.GetLength()] = '\0'; p_sCommonCFG->bt_spec_type = p_sTestSpec->bt_spec.specType = m_comboSpecType.GetCurSel(); /*zishuo20150727*/ p_sCommonCFG->bt_cfg.bBtAddrCheck = m_bCheckBTAddr ? true : false; memcpy (p_sTestSpec->bt_spec.local_bssid, m_BTHostAddr.GetBuffer(0), m_BTHostAddr.GetLength()); p_sTestSpec->bt_spec.local_bssid[m_BTHostAddr.GetLength()] = '\0'; /*end*/ } void CPropertyPageBT::InitParameters () { m_BTAddr = p_sTestSpec->bt_spec.addr; m_comboSpecType.SetCurSel (p_sTestSpec->bt_spec.specType); /*zishuo20150727*/ m_bCheckBTAddr =p_sCommonCFG->bt_cfg.bBtAddrCheck; m_BTHostAddr=p_sTestSpec->bt_spec.local_bssid; /*end*/ UpdateData (false); }
[ "jian.song@wheatek.com" ]
jian.song@wheatek.com
8d15a60c3dd3c0c459a30470830b49969b5318e6
bf7fe9c190e45d80200706bf39359716ba41587d
/Particles/Particle.cpp
e64c0e1e4c1617d6458ae8ee0190c005554474dc
[]
no_license
VladislavKoleda/CosmicDefender--master
de1a34f9ebe0bff764152b94d170710642809a98
042097567af4a3e6eba147971ce067a3a982907a
refs/heads/master
2020-11-23T21:04:17.911131
2019-12-13T10:53:43
2019-12-13T10:53:43
227,819,746
0
0
null
null
null
null
UTF-8
C++
false
false
293
cpp
#include "Particle.h" using namespace SFML::System; namespace ComicDefender { Particle::Particle(float angle, float speed, float dx, float dy, float x, float y, float Q, int Flag) { Angle = angle; Speed = speed; DX = dx; DY = dy; X = x; Y = y; q = Q; flag = Flag; } }
[ "koleda147@gmail.com" ]
koleda147@gmail.com
33991f2b695dde5e4e31de736c744c428b884efe
081c3f131070a238892670c96c18796d9dcffcf0
/VCExercisesOOP/ArrayParallelLookup/ArrayParallelLookup.cpp
5f55d394df563d502c41c30a972073cd37cbaca3
[]
no_license
EdgarCerna/csis223
77b66ffa8b8e8f04fa822ff4679f8abe2730a47c
f9f317f5f428799107edfad3a9ecca1f3db71cc1
refs/heads/master
2020-03-29T21:06:43.932374
2018-12-13T07:21:25
2018-12-13T07:21:25
150,350,218
0
0
null
null
null
null
UTF-8
C++
false
false
1,842
cpp
// ArrayParallelLookup.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <fstream> #include <string> using namespace std; int main() { string stateCode[60]; // declare 2-letter state code array string stateName[60]; // declare state name array string codeInput; int cnt = 0; int pos; ifstream stateInput; stateInput.open("States.txt"); if (!stateInput) { cout << endl << "Error opening States input file." << endl << endl; system("pause"); return -1; } stateInput >> stateCode[cnt] >> stateName[cnt]; // read first record while (!stateInput.eof()) { cnt++; // count records stateInput >> stateCode[cnt] >> stateName[cnt]; // read next record } stateInput.close(); // close file after array has been loaded with data cout << endl << cnt << " state records loaded." << endl << endl; // display count of state lookup records cout << endl << endl << "Enter state code [Q to quit]: "; // prompt for first state code cin >> codeInput; // first state code input while (codeInput != "Q" && codeInput != "q") { pos = 0; // initialize array position to first element in stateCode array while (codeInput != stateCode[pos] && pos < cnt) // continue to next array element while pos < count { pos++; // increment value to next position in array } if (codeInput == stateCode[pos]) cout << endl << "Selected state is " << stateName[pos] << endl; else cout << endl << "State code " << codeInput << " not found in list." << endl; cout << endl << endl << "Enter state code [Q to quit]: "; // prompt for next state code cin >> codeInput; // next state code input (or Q to quit) } cout << endl << endl; system("pause"); return 0; }
[ "S1460902@student.mcckc.edu" ]
S1460902@student.mcckc.edu
2f3206a2476d7d968ae286484738fc47b3797eba
cfdae4915f49b5acd9fac9b2674a8084ba8dd1bf
/tests/functional/namespace/expected/Car.qml.cpp
6da8e024cc7b74a86b4a399a45de3bd8649a1953
[ "BSD-2-Clause" ]
permissive
cryoma01/doxyqml
729f38e447c30da42baa2a4c6172aaef862990b5
6481a723fec932cc724bcd8c8bcf9f343079deed
refs/heads/master
2020-09-21T15:19:17.966386
2019-04-28T18:05:02
2019-04-28T18:05:02
224,829,534
0
0
NOASSERTION
2019-11-29T10:14:30
2019-11-29T10:14:29
null
UTF-8
C++
false
false
123
cpp
namespace ns { /** * A car */ class Car : public Item { public: /** * Car speed */ Q_PROPERTY(real speed) }; }
[ "mail@agateau.com" ]
mail@agateau.com
3a28223b812928a964dfe07d7d62d5cc976c1bc7
a8b937985a2a245195a039192be6b4334fe8a349
/tests/ordinary_differential_equations_test.cpp
3aa3ed0488c2db080c7852759cb15e2e2b3eb62a
[]
no_license
Quanteek/OpenNN-CMake
f7e460758f6dd62a39fedfc148726a5e9fb64f50
1cecec74764ef70f1caa10fc76272673c9eb3b40
refs/heads/master
2021-01-01T05:40:41.148486
2014-06-26T11:49:59
2014-06-26T11:49:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,338
cpp
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library */ /* www.intelnics.com/opennn */ /* */ /* O R D I N A R Y D I F F E R E N T I A L E Q U A T I O N S T E S T C L A S S */ /* */ /* Roberto Lopez */ /* Intelnics - The artificial intelligence company */ /* robertolopez@intelnics.com */ /* */ /****************************************************************************************************************/ // Unit testing includes #include "ordinary_differential_equations_test.h" using namespace OpenNN; OrdinaryDifferentialEquationsTest::OrdinaryDifferentialEquationsTest(void) : UnitTesting() { } OrdinaryDifferentialEquationsTest::~OrdinaryDifferentialEquationsTest(void) { } void OrdinaryDifferentialEquationsTest::test_constructor(void) { message += "test_constructor\n"; } void OrdinaryDifferentialEquationsTest::test_destructor(void) { message += "test_destructor\n"; } void OrdinaryDifferentialEquationsTest::test_get_points_number(void) { message += "test_get_points_number\n"; } void OrdinaryDifferentialEquationsTest::test_get_tolerance(void) { message += "test_get_tolerance\n"; } void OrdinaryDifferentialEquationsTest::test_get_initial_size(void) { message += "test_get_initial_size\n"; } void OrdinaryDifferentialEquationsTest::test_get_warning_size(void) { message += "test_get_warning_size\n"; } void OrdinaryDifferentialEquationsTest::test_get_error_size(void) { message += "test_get_error_size\n"; } void OrdinaryDifferentialEquationsTest::test_get_display(void) { message += "test_get_display\n"; } void OrdinaryDifferentialEquationsTest::test_set_default(void) { message += "test_set_default\n"; } void OrdinaryDifferentialEquationsTest::test_set_points_number(void) { message += "test_set_points_number\n"; } void OrdinaryDifferentialEquationsTest::test_set_tolerance(void) { message += "test_set_tolerance\n"; } void OrdinaryDifferentialEquationsTest::test_set_initial_size(void) { message += "test_set_initial_size\n"; } void OrdinaryDifferentialEquationsTest::test_set_warning_size(void) { message += "test_set_warning_size\n"; } void OrdinaryDifferentialEquationsTest::test_set_error_size(void) { message += "test_set_error_size\n"; } void OrdinaryDifferentialEquationsTest::test_set_display(void) { message += "test_set_display\n"; } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_integral_1(void) { message += "test_calculate_Runge_Kutta_integral_1\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; unsigned points_number = 11; ode.set_points_number(points_number); Vector<double> x(points_number); Vector<double> y(points_number); ode.calculate_Runge_Kutta_solution(*this, x, y, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y[points_number-1] == 0.0, LOG); ode.calculate_Runge_Kutta_solution(*this, x, y, &OrdinaryDifferentialEquationsTest::calculate_x_dot, nn, 0.0, 1.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); // assert_true(y[points_number-1] == 0.5, LOG); ode.calculate_Runge_Kutta_solution(*this, x, y, &OrdinaryDifferentialEquationsTest::calculate_x_squared_dot, nn, 0.0, 1.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); // assert_true(y[points_number-1] == 1.0/3.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_integral_2(void) { message += "test_calculate_Runge_Kutta_integral_2\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; unsigned points_number = 11; ode.set_points_number(points_number); Vector<double> x(points_number); Vector<double> y1(points_number); Vector<double> y2(points_number); ode.calculate_Runge_Kutta_solution(*this, x, y1, y2, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_integral_3(void) { message += "test_calculate_Runge_Kutta_integral_3\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; unsigned points_number = 11; ode.set_points_number(points_number); Vector<double> x(points_number); Vector<double> y1(points_number); Vector<double> y2(points_number); Vector<double> y3(points_number); ode.calculate_Runge_Kutta_solution(*this, x, y1, y2, y3, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); assert_true(y3[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_integral_4(void) { message += "test_calculate_Runge_Kutta_integral_4\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; unsigned points_number = 11; ode.set_points_number(points_number); Vector<double> x(points_number); Vector<double> y1(points_number); Vector<double> y2(points_number); Vector<double> y3(points_number); Vector<double> y4(points_number); ode.calculate_Runge_Kutta_solution(*this, x, y1, y2, y3, y4, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); assert_true(y3[points_number-1] == 0.0, LOG); assert_true(y4[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_integral_5(void) { message += "test_calculate_Runge_Kutta_integral_5\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; unsigned points_number = 11; ode.set_points_number(points_number); Vector<double> x(points_number); Vector<double> y1(points_number); Vector<double> y2(points_number); Vector<double> y3(points_number); Vector<double> y4(points_number); Vector<double> y5(points_number); ode.calculate_Runge_Kutta_solution(*this, x, y1, y2, y3, y4, y5, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); assert_true(y3[points_number-1] == 0.0, LOG); assert_true(y4[points_number-1] == 0.0, LOG); assert_true(y5[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_Fehlberg_integral_1(void) { message += "test_calculate_Runge_Kutta_Fehlberg_integral_1\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; Vector<double> x; Vector<double> y; unsigned points_number = ode.calculate_Runge_Kutta_Fehlberg_solution(*this, x, y, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_Fehlberg_integral_2(void) { message += "test_calculate_Runge_Kutta_Fehlberg_integral_2\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; Vector<double> x; Vector<double> y1; Vector<double> y2; unsigned points_number = ode.calculate_Runge_Kutta_Fehlberg_solution(*this, x, y1, y2, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_Fehlberg_integral_3(void) { message += "test_calculate_Runge_Kutta_Fehlberg_integral_3\n"; // OrdinaryDifferentialEquations ode; // NeuralNetwork nn; // Vector<double> x; // Vector<double> y1; // Vector<double> y2; // Vector<double> y3; // unsigned points_number = ode.calculate_Runge_Kutta_Fehlberg_solution(*this, // x, y1, y2, y3, // &OrdinaryDifferentialEquationsTest::calculate_zero_dot, // &OrdinaryDifferentialEquationsTest::calculate_zero_dot, // &OrdinaryDifferentialEquationsTest::calculate_zero_dot, // nn, 0.0, 1.0, // 0.0, 0.0, 0.0); // assert_true(x[points_number-1] == 1.0, LOG); // assert_true(y1[points_number-1] == 0.0, LOG); // assert_true(y2[points_number-1] == 0.0, LOG); // assert_true(y3[points_number-1] == 0.0, LOG); } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_Fehlberg_integral_4(void) { message += "test_calculate_Runge_Kutta_Fehlberg_integral_4\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; Vector<double> x; Vector<double> y1; Vector<double> y2; Vector<double> y3; Vector<double> y4; unsigned points_number = ode.calculate_Runge_Kutta_Fehlberg_solution(*this, x, y1, y2, y3, y4, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); assert_true(y3[points_number-1] == 0.0, LOG); assert_true(y4[points_number-1] == 0.0, LOG); */ } // @todo void OrdinaryDifferentialEquationsTest::test_calculate_Runge_Kutta_Fehlberg_integral_5(void) { message += "test_calculate_Runge_Kutta_Fehlberg_integral_5\n"; /* OrdinaryDifferentialEquations ode; NeuralNetwork nn; Vector<double> x; Vector<double> y1; Vector<double> y2; Vector<double> y3; Vector<double> y4; Vector<double> y5; unsigned points_number = ode.calculate_Runge_Kutta_Fehlberg_solution(*this, x, y1, y2, y3, y4, y5, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, &OrdinaryDifferentialEquationsTest::calculate_zero_dot, nn, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0); assert_true(x[points_number-1] == 1.0, LOG); assert_true(y1[points_number-1] == 0.0, LOG); assert_true(y2[points_number-1] == 0.0, LOG); assert_true(y3[points_number-1] == 0.0, LOG); assert_true(y4[points_number-1] == 0.0, LOG); assert_true(y5[points_number-1] == 0.0, LOG); */ } double OrdinaryDifferentialEquationsTest::calculate_zero_dot(const NeuralNetwork&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_zero_dot(const NeuralNetwork&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_zero_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_zero_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_zero_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_x_dot(const NeuralNetwork&, const double& x, const double&) const { return(x); } double OrdinaryDifferentialEquationsTest::calculate_x_dot(const NeuralNetwork&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_x_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_x_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_x_dot(const NeuralNetwork&, const double&, const double&, const double&, const double&, const double&, const double&) const { return(0.0); } double OrdinaryDifferentialEquationsTest::calculate_x_squared_dot(const NeuralNetwork&, const double& x, const double&) const { return(x*x); } void OrdinaryDifferentialEquationsTest::test_to_XML(void) { message += "test_to_XML\n"; } void OrdinaryDifferentialEquationsTest::test_from_XML(void) { message += "test_from_XML\n"; } void OrdinaryDifferentialEquationsTest::run_test_case(void) { message += "Running ordinary differential equations test case...\n"; // Constructor and destructor methods test_constructor(); test_destructor(); // Get methods test_get_points_number(); test_get_tolerance(); test_get_initial_size(); test_get_warning_size(); test_get_error_size(); test_get_display(); // Set methods test_set_default(); test_set_points_number(); test_set_tolerance(); test_set_initial_size(); test_set_warning_size(); test_set_error_size(); test_set_display(); // Runge-Kutta methods test_calculate_Runge_Kutta_integral_1(); test_calculate_Runge_Kutta_integral_2(); test_calculate_Runge_Kutta_integral_3(); test_calculate_Runge_Kutta_integral_4(); test_calculate_Runge_Kutta_integral_5(); // Runge-Kutta-Fehlberg methods test_calculate_Runge_Kutta_Fehlberg_integral_1(); test_calculate_Runge_Kutta_Fehlberg_integral_2(); test_calculate_Runge_Kutta_Fehlberg_integral_3(); test_calculate_Runge_Kutta_Fehlberg_integral_4(); test_calculate_Runge_Kutta_Fehlberg_integral_5(); message += "End of ordinary differential equations test case.\n"; } // OpenNN: Open Neural Networks Library. // Copyright (C) 2005-2014 Roberto Lopez // // This library 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 2.1 of the License, or any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
[ "benoitbayol@dhcp-23-78.wifi-auth.ecp.fr" ]
benoitbayol@dhcp-23-78.wifi-auth.ecp.fr
03ba321494eb0d8a9d803ce9fa41ba43202dee1a
89a6e0eca52e0cb31915fa43d9b1ba3f0145b257
/演算法題型分類/Prefix-Sum/c462.cc
c8cd34d1dd66923ddd1b8abd864fd0f720deb7e4
[]
no_license
rollfatcat/ProblemSet
03a3a960ec324b831d3db422a52d623f2d04b6f0
f9c76320e8812304b73ac348e8e34e8a55e08a10
refs/heads/master
2023-04-03T15:48:44.551030
2023-03-21T19:09:32
2023-03-21T19:09:32
191,777,230
4
0
null
null
null
null
UTF-8
C++
false
false
1,161
cc
/* 給定K個單位長度和一個字串,輸出連續K個單位大小寫交錯的子字串長度? * 解題關鍵:貪婪法,將原字串轉變為連續大小寫的字元長度 * */ #include<bits/stdc++.h> using namespace std; const int MaxN=1e5; char ss[MaxN+2]; int num[MaxN]; int main(){ int K, N; while(scanf("%d",&K)!=EOF){ scanf("%s\n",ss); /* 轉換為"連續"大小寫字元的長度 */ N=0; num[0]=1; bool now, pre= 'A'<=ss[0] and ss[0]<='Z'; for(int i=1;ss[i]!='\0';i++, pre=now){ now='A'<=ss[i] and ss[i]<='Z'; (pre==now)? num[N]+=1: num[++N]=1; } /* 貪婪法:從枚舉起點,直到某一段的連續長度不等於K * 若新節點的長度 等於K時 nowL可以延伸一個單位 * 若新節點的長度不等於K時,nowL到這邊時就得停止 * 此時試著以這個節點作為新起點,往後延伸。 * 注意:最後一次時 nowL 可能剛好在延伸而沒有比對到 */ int maxL=0; int nowL=0; for(int i=0;i<=N;i++){ if(num[i]==K) nowL++; else{ maxL=max(maxL,nowL+(num[i]>K)); nowL= num[i]>K; } } printf("%d\n",max(maxL,nowL)*K); } }
[ "crhsieh1114@outlook.com" ]
crhsieh1114@outlook.com
4390c1bff6f099dd276e25e7a079ed18c3807248
ef5fe6b55f3d9a697392a252617e1dc79b184222
/AtCoder/ABC159/A.cpp
5526d6589ea1ad22a5b6d47d89fa5d4bc02c9914
[]
no_license
kunichan9292/Programing-contest
15110f1dbf00a9957d524c6163cd165b3828803f
9126d5c63b80f170de8108ca74c7ae7a2bf9c921
refs/heads/master
2022-06-18T04:40:45.662188
2020-05-12T19:49:16
2020-05-12T19:49:16
263,432,210
0
0
null
null
null
null
UTF-8
C++
false
false
234
cpp
#include<iostream> using namespace std; int main(){ int N,M; cin >> N >> M; int count_N=0; int count_M=0; if(N>=2){ count_N=N*(N-1)/2; } if(M>=2){ count_M=M*(M-1)/2; } cout << count_N + count_M << endl; }
[ "9230-kunichan@ezweb.ne.jp" ]
9230-kunichan@ezweb.ne.jp
0b05a26b7af8621d8c8f4398b68c12144a422346
76f0efb245ff0013e0428ee7636e72dc288832ab
/out/Default/gen/blink/bindings/core/v8/V8SVGAnimatedLength.cpp
f047d3641e36c96ca3d249741f3d0bdafe150f78
[]
no_license
dckristiono/chromium
e8845d2a8754f39e0ca1d3d3d44d01231957367c
8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9
refs/heads/master
2020-04-22T02:34:41.775069
2016-08-24T14:05:09
2016-08-24T14:05:09
66,465,243
0
2
null
null
null
null
UTF-8
C++
false
false
5,966
cpp
// 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "V8SVGAnimatedLength.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8DOMConfiguration.h" #include "bindings/core/v8/V8ObjectConstructor.h" #include "bindings/core/v8/V8SVGElement.h" #include "bindings/core/v8/V8SVGLength.h" #include "core/dom/Document.h" #include "wtf/GetPtr.h" #include "wtf/RefPtr.h" namespace blink { // Suppress warning: global constructors, because struct WrapperTypeInfo is trivial // and does not depend on another global objects. #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wglobal-constructors" #endif const WrapperTypeInfo V8SVGAnimatedLength::wrapperTypeInfo = { gin::kEmbedderBlink, V8SVGAnimatedLength::domTemplate, V8SVGAnimatedLength::trace, V8SVGAnimatedLength::traceWrappers, 0, V8SVGAnimatedLength::visitDOMWrapper, V8SVGAnimatedLength::preparePrototypeAndInterfaceObject, nullptr, "SVGAnimatedLength", 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Dependent }; #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) #pragma clang diagnostic pop #endif // This static member must be declared by DEFINE_WRAPPERTYPEINFO in SVGAnimatedLength.h. // For details, see the comment of DEFINE_WRAPPERTYPEINFO in // bindings/core/v8/ScriptWrappable.h. const WrapperTypeInfo& SVGAnimatedLength::s_wrapperTypeInfo = V8SVGAnimatedLength::wrapperTypeInfo; static_assert( !std::is_base_of<ActiveScriptWrappable, SVGAnimatedLength>::value, "SVGAnimatedLength inherits from ActiveScriptWrappable, but does not specify " "[ActiveScriptWrappable] extended attribute in the IDL file. " "Be consistent."); namespace SVGAnimatedLengthV8Internal { static void baseValAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) { v8::Local<v8::Object> holder = info.Holder(); SVGAnimatedLength* impl = V8SVGAnimatedLength::toImpl(holder); v8SetReturnValueFast(info, WTF::getPtr(impl->baseVal()), impl); } static void baseValAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { SVGAnimatedLengthV8Internal::baseValAttributeGetter(info); } static void animValAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) { v8::Local<v8::Object> holder = info.Holder(); SVGAnimatedLength* impl = V8SVGAnimatedLength::toImpl(holder); v8SetReturnValueFast(info, WTF::getPtr(impl->animVal()), impl); } static void animValAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { SVGAnimatedLengthV8Internal::animValAttributeGetter(info); } } // namespace SVGAnimatedLengthV8Internal void V8SVGAnimatedLength::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper) { SVGAnimatedLength* impl = scriptWrappable->toImpl<SVGAnimatedLength>(); SVGElement* contextElement = impl->contextElement(); if (contextElement) { DOMWrapperWorld::setWrapperReferencesInAllWorlds(wrapper, contextElement, isolate); } } const V8DOMConfiguration::AccessorConfiguration V8SVGAnimatedLengthAccessors[] = { {"baseVal", SVGAnimatedLengthV8Internal::baseValAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, {"animVal", SVGAnimatedLengthV8Internal::animValAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, }; static void installV8SVGAnimatedLengthTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { // Initialize the interface object's template. V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8SVGAnimatedLength::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTemplate>(), V8SVGAnimatedLength::internalFieldCount); v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate); ALLOW_UNUSED_LOCAL(signature); v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTemplate(); ALLOW_UNUSED_LOCAL(instanceTemplate); v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->PrototypeTemplate(); ALLOW_UNUSED_LOCAL(prototypeTemplate); // Register DOM constants, attributes and operations. V8DOMConfiguration::installAccessors(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8SVGAnimatedLengthAccessors, WTF_ARRAY_LENGTH(V8SVGAnimatedLengthAccessors)); } v8::Local<v8::FunctionTemplate> V8SVGAnimatedLength::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) { return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8SVGAnimatedLengthTemplate); } bool V8SVGAnimatedLength::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value); } v8::Local<v8::Object> V8SVGAnimatedLength::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value); } SVGAnimatedLength* V8SVGAnimatedLength::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr; } } // namespace blink
[ "dckristiono@gmail.com" ]
dckristiono@gmail.com
8da97996b3b05400945207630bfa70ab128623bb
aed00e5e89506629e4182f6074062d4f86644f07
/script/hardware_interface.cpp
53cf8d9916db2ec72cf2322cc48fcfb745833959
[]
no_license
AntoBrandi/Simple-Robot-Arm
a3504bb8c034dea07e4e235e793ff656e7daed13
65c86640353aeb4138929e04d8eb6d66bf1a2a95
refs/heads/master
2022-04-23T18:09:29.601832
2020-04-24T16:53:54
2020-04-24T16:53:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,726
cpp
#include <hardware_interface/joint_command_interface.h> #include <hardware_interface/joint_state_interface.h> #include <hardware_interface/robot_hw.h> #include <std_msgs/UInt16MultiArray.h> #include <ros/ros.h> class ArduinoBot : public hardware_interface::RobotHW { public: ArduinoBot() { // init the publisher and subscriber node ros::init(argc, argv, "node_interface"); pub = n.advertise<std_msgs::UInt16MultiArray>("servo_actuator",1000); sub = n.suscribe("servo_position",1000,read); msg.data.clear(); // connect and register the joint state interface hardware_interface::JointStateHandle state_handle_1("joint_1", &pos[0], &vel[0], &eff[0]); jnt_state_interface.registerHandle(state_handle_1); hardware_interface::JointStateHandle state_handle_2("joint_2", &pos[1], &vel[1], &eff[1]); jnt_state_interface.registerHandle(state_handle_2); hardware_interface::JointStateHandle state_handle_3("joint_3", &pos[2], &vel[2], &eff[2]); jnt_state_interface.registerHandle(state_handle_3); registerInterface(&jnt_state_interface); // connect and register the joint position interface hardware_interface::JointHandle pos_handle_1(jnt_state_interface.getHandle("joint_1"), &cmd[0]); jnt_pos_interface.registerHandle(pos_handle_1); hardware_interface::JointHandle pos_handle_2(jnt_state_interface.getHandle("joint_2"), &cmd[1]); jnt_pos_interface.registerHandle(pos_handle_2); hardware_interface::JointHandle pos_handle_3(jnt_state_interface.getHandle("joint_3"), &cmd[2]); jnt_pos_interface.registerHandle(pos_handle_3); registerInterface(&jnt_pos_interface); } read(const std_msgs::UInt16MultiArray& joints) { // Asks data about the servo motor position to the arduino controller for(int i = 0; i<3;i++){ pos[i]=joints.data[i]; } } write() { // Sends data about servo motor position to the arduino controller for (int i = 0; i<3;i++){ msg.data.push_back((int)((cmd[i]+1.57075)*180)/3.1415); } pub.publish(msg); } sleep() { rate.sleep(); } private: ros::NodeHandle n; ros::Publisher pub; ros::Subscriber sub; ros::Rate rate(10); std_msgs::UInt16MultiArray msg; hardware_interface::JointStateInterface jnt_state_interface; hardware_interface::PositionJointInterface jnt_pos_interface; // input from the controllers double cmd[3]; // output of the robot double pos[3]; double vel[3]; double eff[3]; }; int main(int argc, char **argv) { ArduinoBot robot; controller_manager::ControllerManager cm(&robot); while (true) { cm.update(robot.get_time(), robot.get_period()); robot.write(); robot.sleep(); } return 0; }
[ "antonio.brandi@outlook.it" ]
antonio.brandi@outlook.it
84498f78a8810b6e87c0c8c9daa8b1638b235d66
517b8f53ecc24928a787ab92cb729b7ebe6b3de4
/389 BASICALLY SPEAKING.cpp
4c119070127f877e54c10ec5f9b0f55640300d98
[]
no_license
sajalkhan/UVA-ONLINE-JUDGE
4c738fe946d536a5b058da56d8a025be54514856
801ebd2a6366d11226e275210171c66cc4baecfe
refs/heads/master
2021-05-12T08:15:41.628850
2018-01-12T19:32:30
2018-01-12T19:32:30
117,277,417
1
0
null
null
null
null
UTF-8
C++
false
false
1,561
cpp
/**-------------------------------------- MD.SOHARUB HOSSEN DAFFODIL INTERNATIONAL UNIVERSITY PROBLEM: UVA 389 BASICALLY SPEAKING ----------------------------------------*/ #include<bits/stdc++.h> using namespace std; int other_to_decimal(string s,int a) { int ln=s.size(); int p=ln-1; long long result=0; for(int i=0; i<ln; i++) { if(isdigit(s[i])) result+=(s[i]-'0')*pow(a,p--); if(isalpha(s[i])) result+=(s[i]-55)*pow(a,p--); } return result; } string decimal_to_other(long long num,int b) { if(!num)return "0"; string result; while(num) { int n=num%b; if(n<10)result+=n+'0'; else result+=n+55; num/=b; } reverse(result.begin(),result.end()); return result; } int main() { string s; int a,b; while(cin>>s>>a>>b) { if(a==10) { stringstream ss(s); long long n; ss>>n; string s1=decimal_to_other(n,b); int ln=s1.size(); if(ln<=7) { for(int i=0;i<7-ln;i++)printf(" "); cout<<s1<<endl; } else printf(" ERROR\n"); } else { long long n=other_to_decimal(s,a); string s1=decimal_to_other(n,b); int ln=s1.size(); if(ln<=7) { for(int i=0;i<7-ln;i++)printf(" "); cout<<s1<<endl; } else printf(" ERROR\n"); } } return 0; }
[ "sajalhossen@yahoo.com" ]
sajalhossen@yahoo.com
529d27d51381dafc81e45d876cdddb9c74cb56d4
ef23e388061a637f82b815d32f7af8cb60c5bb1f
/src/emu/cpu/sh4/sh4comn.h
546468de860a577af428f1943de8fa266b407d59
[]
no_license
marcellodash/psmame
76fd877a210d50d34f23e50d338e65a17deff066
09f52313bd3b06311b910ed67a0e7c70c2dd2535
refs/heads/master
2021-05-29T23:57:23.333706
2011-06-23T20:11:22
2011-06-23T20:11:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,775
h
/***************************************************************************** * * sh4comn.h * * SH-4 non-specific components * *****************************************************************************/ #pragma once #ifndef __SH4COMN_H__ #define __SH4COMN_H__ //#define USE_SH4DRC /* speed up delay loops, bail out of tight loops */ #define BUSY_LOOP_HACKS 0 #define VERBOSE 0 #ifdef USE_SH4DRC #include "cpu/drcfe.h" #include "cpu/drcuml.h" #include "cpu/drcumlsh.h" class sh4_frontend; #endif #define CPU_TYPE_SH3 (2) #define CPU_TYPE_SH4 (3) #define LOG(x) do { if (VERBOSE) logerror x; } while (0) #define EXPPRI(pl,po,p,n) (((4-(pl)) << 24) | ((15-(po)) << 16) | ((p) << 8) | (255-(n))) #define NMIPRI() EXPPRI(3,0,16,SH4_INTC_NMI) #define INTPRI(p,n) EXPPRI(4,2,p,n) #define FP_RS(r) sh4->fr[(r)] // binary representation of single precision floating point register r #define FP_RFS(r) *( (float *)(sh4->fr+(r)) ) // single precision floating point register r #define FP_RFD(r) *( (double *)(sh4->fr+(r)) ) // double precision floating point register r #define FP_XS(r) sh4->xf[(r)] // binary representation of extended single precision floating point register r #define FP_XFS(r) *( (float *)(sh4->xf+(r)) ) // single precision extended floating point register r #define FP_XFD(r) *( (double *)(sh4->xf+(r)) ) // double precision extended floating point register r #ifdef LSB_FIRST #define FP_RS2(r) sh4->fr[(r) ^ sh4->fpu_pr] #define FP_RFS2(r) *( (float *)(sh4->fr+((r) ^ sh4->fpu_pr)) ) #define FP_XS2(r) sh4->xf[(r) ^ sh4->fpu_pr] #define FP_XFS2(r) *( (float *)(sh4->xf+((r) ^ sh4->fpu_pr)) ) #endif typedef struct { UINT32 ppc; UINT32 pc, spc; UINT32 pr; UINT32 sr, ssr; UINT32 gbr, vbr; UINT32 mach, macl; UINT32 r[16], rbnk[2][8], sgr; UINT32 fr[16], xf[16]; UINT32 ea; UINT32 delay; UINT32 cpu_off; UINT32 pending_irq; UINT32 test_irq; UINT32 fpscr; UINT32 fpul; UINT32 dbr; UINT32 exception_priority[128]; int exception_requesting[128]; INT8 irq_line_state[17]; device_irq_callback irq_callback; legacy_cpu_device *device; address_space *internal; address_space *program; direct_read_data *direct; address_space *io; UINT32 *m; INT8 nmi_line_state; UINT8 sleep_mode; int frt_input; int irln; int internal_irq_level; int internal_irq_vector; emu_timer *dma_timer[4]; emu_timer *refresh_timer; emu_timer *rtc_timer; emu_timer *timer[3]; UINT32 refresh_timer_base; int dma_timer_active[4]; int sh4_icount; int is_slave; int cpu_clock, bus_clock, pm_clock; int fpu_sz, fpu_pr; int ioport16_pullup, ioport16_direction; int ioport4_pullup, ioport4_direction; void (*ftcsr_read_callback)(UINT32 data); /* This MMU simulation is good for the simple remap used on Naomi GD-ROM SQ access *ONLY* */ UINT32 sh4_tlb_address[64]; UINT32 sh4_tlb_data[64]; UINT8 sh4_mmu_enabled; int cpu_type; #ifdef USE_SH4DRC int icount; int pcfsel; // last pcflush entry set int maxpcfsel; // highest valid pcflush entry UINT32 pcflushes[16]; // pcflush entries drc_cache * cache; /* pointer to the DRC code cache */ drcuml_state * drcuml; /* DRC UML generator state */ sh4_frontend * drcfe; /* pointer to the DRC front-end class */ UINT32 drcoptions; /* configurable DRC options */ /* internal stuff */ UINT8 cache_dirty; /* true if we need to flush the cache */ /* parameters for subroutines */ UINT64 numcycles; /* return value from gettotalcycles */ UINT32 arg0; /* print_debug argument 1 */ UINT32 arg1; /* print_debug argument 2 */ UINT32 irq; /* irq we're taking */ /* register mappings */ drcuml_parameter regmap[16]; /* parameter to register mappings for all 16 integer registers */ drcuml_codehandle * entry; /* entry point */ drcuml_codehandle * read8; /* read byte */ drcuml_codehandle * write8; /* write byte */ drcuml_codehandle * read16; /* read half */ drcuml_codehandle * write16; /* write half */ drcuml_codehandle * read32; /* read word */ drcuml_codehandle * write32; /* write word */ drcuml_codehandle * interrupt; /* interrupt */ drcuml_codehandle * nocode; /* nocode */ drcuml_codehandle * out_of_cycles; /* out of cycles exception handler */ UINT32 prefadr; UINT32 target; #endif } sh4_state; #ifdef USE_SH4DRC class sh4_frontend : public drc_frontend { public: sh4_frontend(sh4_state &state, UINT32 window_start, UINT32 window_end, UINT32 max_sequence); protected: virtual bool describe(opcode_desc &desc, const opcode_desc *prev); private: bool describe_group_0(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_2(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_3(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_4(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_6(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_8(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_12(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); bool describe_group_15(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode); sh4_state &m_context; }; INLINE sh4_state *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == SH3 || device->type() == SH4); return *(sh4_state **)downcast<legacy_cpu_device *>(device)->token(); } #else INLINE sh4_state *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == SH3 || device->type() == SH4); return (sh4_state *)downcast<legacy_cpu_device *>(device)->token(); } #endif enum { ICF = 0x00800000, OCFA = 0x00080000, OCFB = 0x00040000, OVF = 0x00020000 }; /* Bits in SR */ #define T 0x00000001 #define S 0x00000002 #define I 0x000000f0 #define Q 0x00000100 #define M 0x00000200 #define FD 0x00008000 #define BL 0x10000000 #define sRB 0x20000000 #define MD 0x40000000 /* 29 bits */ #define AM 0x1fffffff #define FLAGS (MD|sRB|BL|FD|M|Q|I|S|T) /* Bits in FPSCR */ #define RM 0x00000003 #define DN 0x00040000 #define PR 0x00080000 #define SZ 0x00100000 #define FR 0x00200000 #define Rn ((opcode>>8)&15) #define Rm ((opcode>>4)&15) #define REGFLAG_R(n) (1 << (n)) #define REGFLAG_FR(n) (1 << (n)) #define REGFLAG_XR(n) (1 << (n)) /* register flags 1 */ #define REGFLAG_PR (1 << 0) #define REGFLAG_MACL (1 << 1) #define REGFLAG_MACH (1 << 2) #define REGFLAG_GBR (1 << 3) #define REGFLAG_VBR (1 << 4) #define REGFLAG_SR (1 << 5) #define REGFLAG_SGR (1 << 6) #define REGFLAG_FPUL (1 << 7) #define REGFLAG_FPSCR (1 << 8) #define REGFLAG_DBR (1 << 9) #define REGFLAG_SSR (1 << 10) #define REGFLAG_SPC (1 << 11) void sh4_exception_recompute(sh4_state *sh4); // checks if there is any interrupt with high enough priority void sh4_exception_request(sh4_state *sh4, int exception); // start requesting an exception void sh4_exception_unrequest(sh4_state *sh4, int exception); // stop requesting an exception void sh4_exception_checkunrequest(sh4_state *sh4, int exception); void sh4_exception(sh4_state *sh4, const char *message, int exception); // handle exception void sh4_change_register_bank(sh4_state *sh4, int to); void sh4_syncronize_register_bank(sh4_state *sh4, int to); void sh4_swap_fp_registers(sh4_state *sh4); void sh4_default_exception_priorities(sh4_state *sh4); // setup default priorities for exceptions void sh4_parse_configuration(sh4_state *sh4, const struct sh4_config *conf); void sh4_set_irq_line(sh4_state *sh4, int irqline, int state); // set state of external interrupt line #ifdef LSB_FIRST void sh4_swap_fp_couples(sh4_state *sh4); #endif void sh4_common_init(device_t *device); UINT32 sh4_getsqremap(sh4_state *sh4, UINT32 address); READ64_HANDLER( sh4_tlb_r ); WRITE64_HANDLER( sh4_tlb_w ); INLINE void sh4_check_pending_irq(sh4_state *sh4, const char *message) // look for highest priority active exception and handle it { int a,irq,z; irq = 0; z = -1; for (a=0;a <= SH4_INTC_ROVI;a++) { if (sh4->exception_requesting[a]) { if ((int)sh4->exception_priority[a] > z) { z = sh4->exception_priority[a]; irq = a; } } } if (z >= 0) { sh4_exception(sh4, message, irq); } } #endif /* __SH4COMN_H__ */
[ "Mike@localhost" ]
Mike@localhost