blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 2
247
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
57
| license_type
stringclasses 2
values | repo_name
stringlengths 4
111
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringlengths 4
58
| visit_date
timestamp[ns]date 2015-07-25 18:16:41
2023-09-06 10:45:08
| revision_date
timestamp[ns]date 1970-01-14 14:03:36
2023-09-06 06:22:19
| committer_date
timestamp[ns]date 1970-01-14 14:03:36
2023-09-06 06:22:19
| github_id
int64 3.89k
689M
โ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 25
values | gha_event_created_at
timestamp[ns]date 2012-06-07 00:51:45
2023-09-14 21:58:52
โ | gha_created_at
timestamp[ns]date 2008-03-27 23:40:48
2023-08-24 19:49:39
โ | gha_language
stringclasses 159
values | src_encoding
stringclasses 34
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 7
10.5M
| extension
stringclasses 111
values | filename
stringlengths 1
195
| text
stringlengths 7
10.5M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5bb52aee875844399060c4d038bf15e40cdfb984
|
ec9452c4b59a23589d45c1324b9d0a488b1b73dc
|
/CommProto/include/CommProto/network/network_graph/network_graph_builder.h
|
b6b6de2faa6423de81853b31b71860e0bbc839dc
|
[] |
no_license
|
NGCP/CommProtocol
|
107767c40c4a2e0e84857295c922effd054c5a58
|
b48217a893cf93cc637c6fa34dc77998a390388b
|
refs/heads/Dev-2018
| 2021-01-13T10:57:29.664094
| 2019-02-28T05:06:41
| 2019-02-28T05:06:41
| 72,263,319
| 1
| 5
| null | 2018-06-05T06:37:50
| 2016-10-29T03:42:54
|
C++
|
UTF-8
|
C++
| false
| false
| 286
|
h
|
network_graph_builder.h
|
/**
*/
#ifndef __COMMPROTOCOL_NETWORK_GRAPH_BUILDER_H
#define __COMMPROTOCOL_NETWORK_GRAPH_BUILDER_H
#include <CommProto/network/network_graph/algorithms/algorithms.h>
namespace comnet {
namespace network {
} // network
} // comnet
#endif // __COMMPROTOCOL_NETWORK_GRAPH_BUILDER_H
|
1cd7334a00954807463cc54e59412dafae0f3741
|
69e6c82c848156f8426797767304aa42c6849d35
|
/minCostPaintingHouse.cpp
|
39930bc396d4a4f69cd0223f74733f6eea714899
|
[] |
no_license
|
dalanlan/algo
|
cea8d79e914f3e973d4ac256e9bb1eaf2a12925c
|
94e85d1e1a79646c44f09c58096584b2521628b9
|
refs/heads/master
| 2020-04-05T18:57:33.051988
| 2016-10-18T08:06:57
| 2016-10-18T08:06:57
| 38,982,619
| 0
| 3
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,056
|
cpp
|
minCostPaintingHouse.cpp
|
/*
Painting house: Facebook interview
There are a row of houses, each house can be painted with three colors,
red, blue and green. The cost of painting each house with a certain color
is different. You have to paint all the houses such that no two adjacent
houses have the same color. You have to paint the houses with minimum cost.
How would you do it?
Note: Painting house-1 with red costs different painting house-2 with red.
The cost are different for each house and each color.
*/
// cost[0~m-1][0~n-1]
// m: color
// n: house
int minCostPaintingHouse(int n, int m, vector<vector<int>>& cost) {
//dp[i][j]: min cost to paint house i with color j
vector<vector<int>> dp=vector<vector<int>>(n+1, vector<int>(m, INT_MAX));
for(int i=0; i<=m; i++) {
dp[0][i] = 0;
}
for(int i=1; i<=n; i++) {
for(int j=0; j<m; j++) {
for(int k=0; k<m; k++) {
if(k==j) {
continue;
}
dp[i][j] = min(dp[i][j], dp[i-1][k]+cost[i-1][j]);
}
}
}
int res = INT_MAX;
for(int i=0; i<m; i++) {
res = min(res, dp[n][i]);
}
return res;
}
|
87ea4583a5686822940786abea6fde800cdd80ba
|
0950668c5e12460782b4ad672228cd811af29d94
|
/src/ENDFtk/TabulationRecord/src/verifyVectorSizes.hpp
|
cac09a2b77c0d22099f8e08b5846aad955628ec4
|
[
"BSD-2-Clause"
] |
permissive
|
njoy/ENDFtk
|
2b8cbe35ebf349b07db6f677967e07b1f64fc4ae
|
eb505f152c9e1260576d08643dae55e1dde330cd
|
refs/heads/master
| 2023-08-09T13:23:47.910869
| 2023-03-30T12:48:36
| 2023-03-30T12:48:36
| 61,145,680
| 26
| 6
|
NOASSERTION
| 2023-09-07T21:58:52
| 2016-06-14T18:17:43
|
C++
|
UTF-8
|
C++
| false
| false
| 493
|
hpp
|
verifyVectorSizes.hpp
|
static void
verifyVectorSizes( const std::vector< double >& xValues,
const std::vector< double >& yValues ) {
const bool mismatchedEvaluationVectorLengths =
( xValues.size() != yValues.size() );
if ( mismatchedEvaluationVectorLengths ) {
Log::error( "Mismatched evaluation pair vector lengths" );
Log::info( "X-values vector length: {}", xValues.size() );
Log::info( "Y-values vector length: {}", yValues.size() );
throw std::exception();
}
}
|
70176f9899b2b4dbd0c8ec2f6c48af89b56dbcae
|
9f51606f24146950e0858491163e11446035ba12
|
/Controllers/AuraSMBusController/AuraSMBusController.h
|
e2151c73755a7fb49b136609419be81be34ec918
|
[] |
no_license
|
hko0451/OpenSourceSWIntroductionProject
|
9366d7aaedfef26fbbd1cb4d326655ff70972f40
|
5a435eb6e7db64f5ae5bc15deabf8405d1174ac8
|
refs/heads/main
| 2023-05-08T23:35:00.496239
| 2021-06-01T12:22:06
| 2021-06-01T12:22:06
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 4,979
|
h
|
AuraSMBusController.h
|
/*
* AuraSMBusContoller.h
* ASUS Aura RGB lighting ์ปจํธ๋กค๋ฌ์ ๋ํ ์ ์์ ํ์
*/
#include <string>
#include "i2c_smbus.h"
#pragma once
typedef unsigned char aura_dev_id;
typedef unsigned short aura_register;
#define AURA_APPLY_VAL 0x01 // Apply Change ๋ ์ง์คํฐ
enum
{
AURA_REG_DEVICE_NAME = 0x1000, // ๊ธฐ๊ธฐ ์คํธ๋ง 16 ๋ฐ์ดํธ
AURA_REG_CONFIG_TABLE = 0x1C00, // LED ๊ตฌ์ฑ ๋ฐ์ดํธ
AURA_REG_COLORS_DIRECT = 0x8000, // ๋ค์ด๋ ํธ ๋ชจ๋ ์๋ค 15๋ฐ์ดํธ
AURA_REG_COLORS_EFFECT = 0x8010, // ์ ํจ๊ณผ 15๋ฐ์ดํธ
AURA_REG_DIRECT = 0x8020, // ๋ค์ด๋ ํธ ์ ํ ๋ ์ง์คํฐ
AURA_REG_MODE = 0x8021, // Aura Mode ์ ํ ๋ ์ง์คํฐ
AURA_REG_APPLY = 0x80A0, // Aura Apply Change ๋ ์ง์คํฐ
AURA_REG_SLOT_INDEX = 0x80F8, // (RAM) Aura Slot ์ธ๋ฑ์ค ๋ ์ง์คํฐ
AURA_REG_I2C_ADDRESS = 0x80F9, // (RAM) Aura I2C ์ฃผ์ ๋ ์ง์คํฐ
AURA_REG_COLORS_DIRECT_V2 = 0x8100, // ๋ค์ด๋ ํธ ๋ชจ๋ ์ (v2) 30 ๋ฐ์ดํธ
AURA_REG_COLORS_EFFECT_V2 = 0x8160, // ์ ํจ๊ณผ (v2) 30๋ฐ์ดํธ
};
enum
{
AURA_MODE_OFF = 0,
AURA_MODE_STATIC = 1,
AURA_MODE_BREATHING = 2,
AURA_MODE_FLASHING = 3,
AURA_MODE_SPECTRUM_CYCLE = 4,
AURA_MODE_RAINBOW = 5,
AURA_MODE_SPECTRUM_CYCLE_BREATHING = 6,
AURA_MODE_CHASE_FADE = 7,
AURA_MODE_SPECTRUM_CYCLE_CHASE_FADE = 8,
AURA_MODE_CHASE = 9,
AURA_MODE_SPECTRUM_CYCLE_CHASE = 10,
AURA_MODE_SPECTRUM_CYCLE_WAVE = 11,
AURA_MODE_CHASE_RAINBOW_PULSE = 12,
AURA_MODE_RANDOM_FLICKER = 13,
AURA_NUMBER_MODES // Aura Mode ๊ฐ์
};
enum
{
AURA_LED_CHANNEL_DRAM_2 = 0x05, // DRAM LED ์ฑ๋ (2)
AURA_LED_CHANNEL_CENTER_START = 0x82, // Center zone์ ์ฒซ๋ฒ์งธ LED ์ฑ๋
AURA_LED_CHANNEL_CENTER = 0x83, // Center zone LED ์ฑ๋
AURA_LED_CHANNEL_AUDIO = 0x84, // Audio zone LED ์ฑ๋
AURA_LED_CHANNEL_BACK_IO = 0x85, // Back I/O zone LED ์ฑ๋
AURA_LED_CHANNEL_RGB_HEADER = 0x86, // RGB ํด๋ 1 LED ์ฑ๋
AURA_LED_CHANNEL_RGB_HEADER_2 = 0x87, // RGB ํด๋ 2 LED ์ฑ๋
AURA_LED_CHANNEL_BACKPLATE = 0x88, // ๋ฐฑํ๋ ์ดํธ LED ์ฑ๋
AURA_LED_CHANNEL_DRAM = 0x8A, // DRAM LED ์ฑ๋ (1)
AURA_LED_CHANNEL_PCIE = 0x8B, // PCIe LED ์ฑ๋
AURA_LED_CHANNEL_RGB_HEADER_3 = 0x91, // RGB ํด๋ 3 LED ์ฑ๋
};
static const char* aura_channels[] =
{
"Audio",
"Backplate",
"Back I/O",
"Center",
"Center",
"DRAM",
"PCIe",
"RGB Header",
"RGB Header 2",
"RGB Header",
"Unknown",
};
enum
{
AURA_CONFIG_LED_COUNT = 0x02, /* LED Count configuration offset */
AURA_CONFIG_CHANNEL_V1 = 0x13, /* LED Channel configuration offset */
AURA_CONFIG_CHANNEL_V2 = 0x1B, /* LED Channel V2 configuration offset */
};
class AuraSMBusController
{
public:
AuraSMBusController(i2c_smbus_interface* bus, aura_dev_id dev);
~AuraSMBusController();
std::string GetDeviceName();
std::string GetDeviceLocation();
unsigned char GetChannel(unsigned int led);
const char* GetChannelName(unsigned int led);
unsigned int GetLEDCount();
unsigned char GetLEDRed(unsigned int led);
unsigned char GetLEDGreen(unsigned int led);
unsigned char GetLEDBlue(unsigned int led);
void SetAllColorsDirect(unsigned char red, unsigned char green, unsigned char blue);
void SetAllColorsEffect(unsigned char red, unsigned char green, unsigned char blue);
void SetDirect(unsigned char direct);
void SetLEDColorDirect(unsigned int led, unsigned char red, unsigned char green, unsigned char blue);
void SetLEDColorEffect(unsigned int led, unsigned char red, unsigned char green, unsigned char blue);
void SetMode(unsigned char mode);
void AuraUpdateDeviceName();
unsigned char AuraRegisterRead(aura_register reg);
void AuraRegisterWrite(aura_register reg, unsigned char val);
void AuraRegisterWriteBlock(aura_register reg, unsigned char * data, unsigned char sz);
private:
char device_name[16];
unsigned char config_table[64];
unsigned int led_count;
aura_register direct_reg;
aura_register effect_reg;
unsigned char channel_cfg;
i2c_smbus_interface * bus;
aura_dev_id dev;
};
|
5f8aecea9a868364a0c58b57b964f1360a70dacf
|
424823cca73a825a8929b30403e781e5fb63c010
|
/kickstart-practice/C.cpp
|
171af44cd09953285034f922b32f0f65aea6136e
|
[
"MIT"
] |
permissive
|
dyong0/codejam
|
2fe237597d440a9f072010cf4821ba2680e62d94
|
436816dc2fc9712bb4b256b4f8786baa0e0b2eb8
|
refs/heads/master
| 2021-01-19T13:19:51.790904
| 2017-02-19T08:36:14
| 2017-02-19T08:36:14
| 82,386,456
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 351
|
cpp
|
C.cpp
|
#include "once.hpp"
int L;
int R;
inline void init() {
}
int solve() {
return (min(L, R)*(min(L, R)+1)) / 2;
}
int main() {
init();
int nCases; cin >> nCases;
for (int i=1; i<=nCases; i++) {
//INPUT
cin >> L >> R;
//OUTPUT
cout << "Case #" << i << ": " << solve() << endl;
}
return 0;
}
|
001269697c89a533e7899ee7904cb2446142eb06
|
52ca17dca8c628bbabb0f04504332c8fdac8e7ea
|
/boost/asio/detail/resolver_service.hpp
|
f6df0679268c3334aeaf0a5ac114fa14dd36f393
|
[] |
no_license
|
qinzuoyan/thirdparty
|
f610d43fe57133c832579e65ca46e71f1454f5c4
|
bba9e68347ad0dbffb6fa350948672babc0fcb50
|
refs/heads/master
| 2021-01-16T17:47:57.121882
| 2015-04-21T06:59:19
| 2015-04-21T06:59:19
| 33,612,579
| 0
| 0
| null | 2015-04-08T14:39:51
| 2015-04-08T14:39:51
| null |
UTF-8
|
C++
| false
| false
| 74
|
hpp
|
resolver_service.hpp
|
#include "thirdparty/boost_1_58_0/boost/asio/detail/resolver_service.hpp"
|
f180b8097e92ab1ed3302691785b7a31c71d45d5
|
465bb2bc4b6bdaf6b55c4928636d88c9a1a726c0
|
/HiDecoder.h
|
615e00e0a58ad1b3c87bf84e0ad59fc96accf6a3
|
[] |
no_license
|
Spitzbube/hiplayer
|
41cb3abe7ca247acb2b992f1dd348675d7f0ecdb
|
37bf97abb0b65cff48e5fb90d73eb2e92cf9ed4f
|
refs/heads/master
| 2020-03-25T08:31:54.507553
| 2018-09-01T15:09:54
| 2018-09-01T15:09:54
| 143,617,667
| 3
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,996
|
h
|
HiDecoder.h
|
#pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#include "threads/Thread.h"
#include "cores/VideoPlayer/DVDStreamInfo.h"
#include <deque>
extern "C" {
#include <hisi/hi_type.h>
#include <hisi/hi_unf_video.h>
#include <hisi/hi_unf_audio.h>
#include <hisi/hi_unf_common.h>
#include <hisi/hi_unf_vo.h>
#include <hisi/hi_unf_disp.h>
#include <hisi/hi_unf_advca.h>
#include <hisi/hi_unf_otp.h>
#include <hisi/hi_adp_mpi.h>
#include <hisi/hi_audio_codec.h>
#include "hisi/HA.AUDIO.PCM.decode.h"
} // extern "C"
#define PTS_FREQ 90000
#define UNIT_FREQ 96000
#define AV_SYNC_THRESH PTS_FREQ*30
#define PTS_US_TO_MS(PTS_US) ((PTS_US) / 1000.0f)
#define PTS_MS_TO_US(PTS_MS) ((PTS_MS) * 1000.0f)
#define PTS_90KHZ_TO_MS(PTS_90MS) ((PTS_90MS) / 90.0f)
#define PTS_MS_TO_90KHZ(PTS_MS) ((PTS_MS) * 90.0f)
enum
{
VIDEO_MODE_NORMAL,
VIDEO_MODE_PAUSE,
VIDEO_MODE_FORWARD,
VIDEO_MODE_BACKWARD
};
class HisiAvDecoder
{
public:
static HisiAvDecoder* GetInstance();
HisiAvDecoder();
virtual ~HisiAvDecoder();
bool IsEOS();
bool VideoOpen(CDVDStreamInfo &hints);
bool VideoClose();
void VideoReset();
void VideoReSync(unsigned int pts);
bool VideoWrite(uint8_t *pData, size_t iSize, unsigned int pts_ms);
bool VideoWriteEx(uint8_t *pData, size_t iSize, unsigned int pts_ms, bool continues, bool last);
double VideoFirstPts();
double VideoCurrentPts();
bool VideoFramePts(int &pts);
bool VideoBufferReady();
bool VideoBufferFull();
bool VideoPlayStarted();
void VideoSetSpeed(int speed);
void VideoSubmitEOS();
void VideoSetRect(int x, int y, int width, int height);
bool AudioOpen(CDVDStreamInfo &hints);
bool AudioClose();
void AudioReset();
void AudioReSync(unsigned int pts);
bool AudioBufferReady();
bool AudioBufferFull();
bool AudioWrite(uint8_t *pData, size_t iSize, unsigned int pts_ms);
bool AudioWriteEx(uint8_t *pData, size_t iSize, unsigned int pts_ms, bool continues, bool last);
bool AudioPlayStarted();
double AudioCurrentPts();
double AudioFirstPts();
double AudioCacheTotal();
double AudioCachetime();
double AudioDelay();
void AudioSubmitEOS();
HI_S32 EventReport(HI_HANDLE hAvplay, HI_UNF_AVPLAY_EVENT_E enEvent, HI_VOID* pPara);
protected:
bool Init();
bool Deinit();
void SubmitEOS();
HI_UNF_VCODEC_TYPE_E codec2vdec(int enc);
HA_CODEC_ID_E codec2adec(int enc);
private:
bool m_opened;
bool m_video_opend;
bool m_audio_opend;
bool m_dump;
unsigned int m_hAvplay;
unsigned int m_hWin;
unsigned int m_hTrack;
//video play
int m_mode;
int m_speed;
HI_UNF_DISP_E m_disp;
bool m_freerun;
CCriticalSection m_section;
CCriticalSection m_EventMutex;
std::deque<int> m_aptsQueue;
std::deque<int> m_vptsQueue;
bool m_audio_full;
bool m_video_full;
bool m_video_eos;
bool m_audio_eos;
bool m_eos;
int m_audio_last_package_pts;
int m_audio_bytes_pes_sec;
double m_audio_cache_total;
double m_audio_cache_time;
double m_audio_delay;
double m_video_1st_pts;
double m_audio_1st_pts;
bool m_audio_play_started;
bool m_video_play_started;
bool m_audio_ready;
bool m_video_ready;
};
|
22600892ca50511eb226266330c869ed8ffd0461
|
fe6d55233610a0c78cfd63cc25564400982b0a4e
|
/src/osd/opensubdiv/osd/clPatchTable.cpp
|
6fec5b98fe7f591f32872bb023e07916c0123d53
|
[
"MIT",
"MIT-0",
"Zlib",
"BSD-3-Clause",
"ISC",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
] |
permissive
|
syoyo/tinyusdz
|
6cc9c18ec4df61a514571cda8a5f8c3ee4ef279a
|
cf6e7f3c6428135109c1d66a261e9291b06f4970
|
refs/heads/dev
| 2023-08-19T06:06:10.594203
| 2023-08-18T12:34:09
| 2023-08-18T12:34:09
| 255,649,890
| 345
| 23
|
MIT
| 2023-07-14T09:20:59
| 2020-04-14T15:36:33
|
C++
|
UTF-8
|
C++
| false
| false
| 6,957
|
cpp
|
clPatchTable.cpp
|
//
// Copyright 2015 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trademarks. This License does not grant permission to use the trade
// names, trademarks, service marks, or product names of the Licensor
// and its affiliates, except as required to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#include "../osd/clPatchTable.h"
#include "../far/error.h"
#include "../far/patchTable.h"
#include "../osd/opencl.h"
#include "../osd/cpuPatchTable.h"
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {
namespace Osd {
CLPatchTable::CLPatchTable() :
_patchArrays(NULL), _indexBuffer(NULL), _patchParamBuffer(NULL) {
}
CLPatchTable::~CLPatchTable() {
if (_patchArrays) clReleaseMemObject(_patchArrays);
if (_indexBuffer) clReleaseMemObject(_indexBuffer);
if (_patchParamBuffer) clReleaseMemObject(_patchParamBuffer);
if (_varyingPatchArrays) clReleaseMemObject(_varyingPatchArrays);
if (_varyingIndexBuffer) clReleaseMemObject(_varyingIndexBuffer);
for (int fvc=0; fvc<(int)_fvarPatchArrays.size(); ++fvc) {
if (_fvarPatchArrays[fvc]) clReleaseMemObject(_fvarPatchArrays[fvc]);
}
for (int fvc=0; fvc<(int)_fvarIndexBuffers.size(); ++fvc) {
if (_fvarIndexBuffers[fvc]) clReleaseMemObject(_fvarIndexBuffers[fvc]);
}
for (int fvc=0; fvc<(int)_fvarParamBuffers.size(); ++fvc) {
if (_fvarParamBuffers[fvc]) clReleaseMemObject(_fvarParamBuffers[fvc]);
}
}
CLPatchTable *
CLPatchTable::Create(Far::PatchTable const *farPatchTable,
cl_context clContext) {
CLPatchTable *instance = new CLPatchTable();
if (instance->allocate(farPatchTable, clContext)) return instance;
delete instance;
return 0;
}
bool
CLPatchTable::allocate(Far::PatchTable const *farPatchTable, cl_context clContext) {
CpuPatchTable patchTable(farPatchTable);
size_t numPatchArrays = patchTable.GetNumPatchArrays();
size_t indexSize = patchTable.GetPatchIndexSize();
size_t patchParamSize = patchTable.GetPatchParamSize();
cl_int err = 0;
_patchArrays = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
numPatchArrays * sizeof(Osd::PatchArray),
(void*)patchTable.GetPatchArrayBuffer(),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_indexBuffer = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
indexSize * sizeof(int),
(void*)patchTable.GetPatchIndexBuffer(),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_patchParamBuffer = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
patchParamSize * sizeof(Osd::PatchParam),
(void*)patchTable.GetPatchParamBuffer(),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_varyingPatchArrays = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
numPatchArrays * sizeof(Osd::PatchArray),
(void*)patchTable.GetVaryingPatchArrayBuffer(),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_varyingIndexBuffer = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
patchTable.GetVaryingPatchIndexSize() * sizeof(int),
(void*)patchTable.GetVaryingPatchIndexBuffer(),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
size_t numFVarChannels = patchTable.GetNumFVarChannels();
_fvarPatchArrays.resize(numFVarChannels, 0);
_fvarIndexBuffers.resize(numFVarChannels, 0);
_fvarParamBuffers.resize(numFVarChannels, 0);
for (int fvc=0; fvc<(int)numFVarChannels; ++fvc) {
_fvarPatchArrays[fvc] = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
numPatchArrays * sizeof(Osd::PatchArray),
(void*)patchTable.GetFVarPatchArrayBuffer(fvc),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_fvarIndexBuffers[fvc] = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
patchTable.GetFVarPatchIndexSize(fvc) * sizeof(int),
(void*)patchTable.GetFVarPatchIndexBuffer(fvc),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
_fvarParamBuffers[fvc] = clCreateBuffer(clContext,
CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR,
patchTable.GetFVarPatchParamSize(fvc) * sizeof(Osd::PatchParam),
(void*)patchTable.GetFVarPatchParamBuffer(fvc),
&err);
if (err != CL_SUCCESS) {
Far::Error(Far::FAR_RUNTIME_ERROR, "clCreateBuffer: %d", err);
return false;
}
}
return true;
}
} // end namespace Osd
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
|
4f1b4d02ddd8c93b5a4a61df1a4563022b2189ce
|
22bb656bb8b2d416cdb5ba5777e76c55b04d9ecb
|
/include/exchcxx/impl/builtin/kernels/pz81_mod.hpp
|
3a681f9ef33b5e879ea4122bb9fed2fc67e9270c
|
[
"BSD-3-Clause-LBNL",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] |
permissive
|
ValeevGroup/ExchCXX
|
4417cb118343b5739b50f13671c6197875dd2468
|
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
|
refs/heads/master
| 2023-08-03T19:06:05.033599
| 2021-07-02T18:27:44
| 2021-07-02T18:27:44
| 313,393,907
| 0
| 0
|
NOASSERTION
| 2021-01-05T15:53:01
| 2020-11-16T18:36:24
|
C++
|
UTF-8
|
C++
| false
| false
| 12,794
|
hpp
|
pz81_mod.hpp
|
#pragma once
#include <cmath>
#include <exchcxx/impl/builtin/fwd.hpp>
#include <exchcxx/impl/builtin/constants.hpp>
#include <exchcxx/impl/builtin/kernel_type.hpp>
#include <exchcxx/impl/builtin/util.hpp>
#include <exchcxx/impl/builtin/kernels/screening_interface.hpp>
namespace ExchCXX {
template <>
struct kernel_traits< BuiltinPZ81_MOD > :
public lda_screening_interface< BuiltinPZ81_MOD > {
static constexpr bool is_lda = true;
static constexpr bool is_gga = false;
static constexpr bool is_mgga = false;
static constexpr double dens_tol = 1e-24;
static constexpr bool is_hyb = false;
static constexpr double exx_coeff = 0.0;
static constexpr double gamma_0 = -0.1423;
static constexpr double gamma_1 = -0.0843;
static constexpr double beta1_0 = 1.0529;
static constexpr double beta1_1 = 1.3981;
static constexpr double beta2_0 = 0.3334;
static constexpr double beta2_1 = 0.2611;
static constexpr double a_0 = 0.0311;
static constexpr double a_1 = 0.01555;
static constexpr double b_0 = -0.048;
static constexpr double b_1 = -0.0269;
static constexpr double c_0 = 0.0020191519406228;
static constexpr double c_1 = 0.00069255121311694;
static constexpr double d_0 = -0.0116320663789130;
static constexpr double d_1 = -0.00480126353790614;
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_unpolar_impl( double rho, double& eps ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t6 = t5 * t5;
constexpr double t13 = gamma_0;
constexpr double t14 = beta1_0;
constexpr double t19 = beta2_0 * t1;
constexpr double t20 = t3 * t6;
constexpr double t27 = a_0;
constexpr double t32 = c_0 * t1;
constexpr double t33 = t32 * t3;
constexpr double t38 = d_0 * t1;
const double t7 = cbrt( rho );
const double t8 = 0.1e1 / t7;
const double t9 = t6 * t8;
const double t10 = t1 * t3 * t9;
const double t11 = t10 / 0.4e1;
const double t12 = 0.1e1 <= t11;
const double t15 = sqrt( t10 );
const double t21 = t20 * t8;
const double t24 = 0.1e1 + t14 * t15 / 0.2e1 + t19 * t21 / 0.4e1;
const double t28 = log( t11 );
eps = piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_0 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 );
}
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_vxc_unpolar_impl( double rho, double& eps, double& vrho ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t6 = t5 * t5;
constexpr double t13 = gamma_0;
constexpr double t14 = beta1_0;
constexpr double t19 = beta2_0 * t1;
constexpr double t20 = t3 * t6;
constexpr double t27 = a_0;
constexpr double t32 = c_0 * t1;
constexpr double t33 = t32 * t3;
constexpr double t38 = d_0 * t1;
const double t7 = cbrt( rho );
const double t8 = 0.1e1 / t7;
const double t9 = t6 * t8;
const double t10 = t1 * t3 * t9;
const double t11 = t10 / 0.4e1;
const double t12 = 0.1e1 <= t11;
const double t15 = sqrt( t10 );
const double t21 = t20 * t8;
const double t24 = 0.1e1 + t14 * t15 / 0.2e1 + t19 * t21 / 0.4e1;
const double t28 = log( t11 );
const double t42 = t24 * t24;
const double t44 = t13 / t42;
const double t47 = t14 / t15 * t1;
const double t49 = 0.1e1 / t7 / rho;
const double t50 = t20 * t49;
const double t54 = -t19 * t50 / 0.12e2 - t47 * t50 / 0.12e2;
const double t56 = 0.1e1 / rho;
const double t68 = piecewise_functor_3( t12, -t44 * t54, -t27 * t56 / 0.3e1 - t33 * t6 * t49 * t28 / 0.12e2 - t32 * t50 / 0.12e2 - t38 * t50 / 0.12e2 );
eps = piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_0 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 );
vrho = rho * t68 + ( piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_0 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 ) );
}
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_ferr_impl( double rho, double& eps ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t6 = t5 * t5;
constexpr double t13 = gamma_1;
constexpr double t14 = beta1_1;
constexpr double t19 = beta2_1 * t1;
constexpr double t20 = t3 * t6;
constexpr double t27 = a_1;
constexpr double t32 = c_1 * t1;
constexpr double t33 = t32 * t3;
constexpr double t38 = d_1 * t1;
const double t7 = cbrt( rho );
const double t8 = 0.1e1 / t7;
const double t9 = t6 * t8;
const double t10 = t1 * t3 * t9;
const double t11 = t10 / 0.4e1;
const double t12 = 0.1e1 <= t11;
const double t15 = sqrt( t10 );
const double t21 = t20 * t8;
const double t24 = 0.1e1 + t14 * t15 / 0.2e1 + t19 * t21 / 0.4e1;
const double t28 = log( t11 );
eps = piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_1 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 );
}
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_vxc_ferr_impl( double rho, double& eps, double& vrho ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t6 = t5 * t5;
constexpr double t13 = gamma_1;
constexpr double t14 = beta1_1;
constexpr double t19 = beta2_1 * t1;
constexpr double t20 = t3 * t6;
constexpr double t27 = a_1;
constexpr double t32 = c_1 * t1;
constexpr double t33 = t32 * t3;
constexpr double t38 = d_1 * t1;
const double t7 = cbrt( rho );
const double t8 = 0.1e1 / t7;
const double t9 = t6 * t8;
const double t10 = t1 * t3 * t9;
const double t11 = t10 / 0.4e1;
const double t12 = 0.1e1 <= t11;
const double t15 = sqrt( t10 );
const double t21 = t20 * t8;
const double t24 = 0.1e1 + t14 * t15 / 0.2e1 + t19 * t21 / 0.4e1;
const double t28 = log( t11 );
const double t42 = t24 * t24;
const double t44 = t13 / t42;
const double t47 = t14 / t15 * t1;
const double t49 = 0.1e1 / t7 / rho;
const double t50 = t20 * t49;
const double t54 = -t19 * t50 / 0.12e2 - t47 * t50 / 0.12e2;
const double t56 = 0.1e1 / rho;
const double t68 = piecewise_functor_3( t12, -t44 * t54, -t27 * t56 / 0.3e1 - t33 * t6 * t49 * t28 / 0.12e2 - t32 * t50 / 0.12e2 - t38 * t50 / 0.12e2 );
eps = piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_1 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 );
vrho = rho * t68 + ( piecewise_functor_3( t12, t13 / t24, t27 * t28 + b_1 + t33 * t9 * t28 / 0.4e1 + t38 * t21 / 0.4e1 ) );
}
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_polar_impl( double rho_a, double rho_b, double& eps ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t81 = constants::m_cbrt_2;
constexpr double t6 = t5 * t5;
constexpr double t14 = gamma_0;
constexpr double t15 = beta1_0;
constexpr double t20 = beta2_0 * t1;
constexpr double t21 = t3 * t6;
constexpr double t28 = a_0;
constexpr double t33 = c_0 * t1;
constexpr double t34 = t33 * t3;
constexpr double t39 = d_0 * t1;
constexpr double t44 = gamma_1;
constexpr double t45 = beta1_1;
constexpr double t49 = beta2_1 * t1;
constexpr double t55 = a_1;
constexpr double t59 = c_1 * t1;
constexpr double t60 = t59 * t3;
constexpr double t64 = d_1 * t1;
const double t7 = rho_a + rho_b;
const double t8 = cbrt( t7 );
const double t9 = 0.1e1 / t8;
const double t10 = t6 * t9;
const double t11 = t1 * t3 * t10;
const double t12 = t11 / 0.4e1;
const double t13 = 0.1e1 <= t12;
const double t16 = sqrt( t11 );
const double t22 = t21 * t9;
const double t25 = 0.1e1 + t15 * t16 / 0.2e1 + t20 * t22 / 0.4e1;
const double t29 = log( t12 );
const double t35 = t10 * t29;
const double t43 = piecewise_functor_3( t13, t14 / t25, t28 * t29 + b_0 + t34 * t35 / 0.4e1 + t39 * t22 / 0.4e1 );
const double t52 = 0.1e1 + t45 * t16 / 0.2e1 + t49 * t22 / 0.4e1;
const double t68 = piecewise_functor_3( t13, t44 / t52, t55 * t29 + b_1 + t60 * t35 / 0.4e1 + t64 * t22 / 0.4e1 );
const double t69 = t68 - t43;
const double t70 = rho_a - rho_b;
const double t71 = 0.1e1 / t7;
const double t72 = t70 * t71;
const double t73 = 0.1e1 + t72;
const double t74 = cbrt( t73 );
const double t76 = 0.1e1 - t72;
const double t77 = cbrt( t76 );
const double t79 = t74 * t73 + t77 * t76 - 0.2e1;
const double t84 = 0.1e1 / ( 0.2e1 * t81 - 0.2e1 );
const double t85 = t69 * t79 * t84;
eps = t43 + t85;
}
BUILTIN_KERNEL_EVAL_RETURN
eval_exc_vxc_polar_impl( double rho_a, double rho_b, double& eps, double& vrho_a, double& vrho_b ) {
(void)(eps);
constexpr double t1 = constants::m_cbrt_3;
constexpr double t3 = constants::m_cbrt_one_ov_pi;
constexpr double t5 = constants::m_cbrt_4;
constexpr double t81 = constants::m_cbrt_2;
constexpr double t6 = t5 * t5;
constexpr double t14 = gamma_0;
constexpr double t15 = beta1_0;
constexpr double t20 = beta2_0 * t1;
constexpr double t21 = t3 * t6;
constexpr double t28 = a_0;
constexpr double t33 = c_0 * t1;
constexpr double t34 = t33 * t3;
constexpr double t39 = d_0 * t1;
constexpr double t44 = gamma_1;
constexpr double t45 = beta1_1;
constexpr double t49 = beta2_1 * t1;
constexpr double t55 = a_1;
constexpr double t59 = c_1 * t1;
constexpr double t60 = t59 * t3;
constexpr double t64 = d_1 * t1;
const double t7 = rho_a + rho_b;
const double t8 = cbrt( t7 );
const double t9 = 0.1e1 / t8;
const double t10 = t6 * t9;
const double t11 = t1 * t3 * t10;
const double t12 = t11 / 0.4e1;
const double t13 = 0.1e1 <= t12;
const double t16 = sqrt( t11 );
const double t22 = t21 * t9;
const double t25 = 0.1e1 + t15 * t16 / 0.2e1 + t20 * t22 / 0.4e1;
const double t29 = log( t12 );
const double t35 = t10 * t29;
const double t43 = piecewise_functor_3( t13, t14 / t25, t28 * t29 + b_0 + t34 * t35 / 0.4e1 + t39 * t22 / 0.4e1 );
const double t52 = 0.1e1 + t45 * t16 / 0.2e1 + t49 * t22 / 0.4e1;
const double t68 = piecewise_functor_3( t13, t44 / t52, t55 * t29 + b_1 + t60 * t35 / 0.4e1 + t64 * t22 / 0.4e1 );
const double t69 = t68 - t43;
const double t70 = rho_a - rho_b;
const double t71 = 0.1e1 / t7;
const double t72 = t70 * t71;
const double t73 = 0.1e1 + t72;
const double t74 = cbrt( t73 );
const double t76 = 0.1e1 - t72;
const double t77 = cbrt( t76 );
const double t79 = t74 * t73 + t77 * t76 - 0.2e1;
const double t84 = 0.1e1 / ( 0.2e1 * t81 - 0.2e1 );
const double t85 = t69 * t79 * t84;
const double t86 = t25 * t25;
const double t88 = t14 / t86;
const double t89 = 0.1e1 / t16;
const double t91 = t15 * t89 * t1;
const double t93 = 0.1e1 / t8 / t7;
const double t94 = t21 * t93;
const double t98 = -t20 * t94 / 0.12e2 - t91 * t94 / 0.12e2;
const double t103 = t6 * t93 * t29;
const double t111 = piecewise_functor_3( t13, -t88 * t98, -t28 * t71 / 0.3e1 - t34 * t103 / 0.12e2 - t33 * t94 / 0.12e2 - t39 * t94 / 0.12e2 );
const double t112 = t52 * t52;
const double t114 = t44 / t112;
const double t116 = t45 * t89 * t1;
const double t120 = -t116 * t94 / 0.12e2 - t49 * t94 / 0.12e2;
const double t131 = piecewise_functor_3( t13, -t114 * t120, -t55 * t71 / 0.3e1 - t60 * t103 / 0.12e2 - t59 * t94 / 0.12e2 - t64 * t94 / 0.12e2 );
const double t132 = t131 - t111;
const double t134 = t132 * t79 * t84;
const double t135 = t7 * t7;
const double t136 = 0.1e1 / t135;
const double t137 = t70 * t136;
const double t138 = t71 - t137;
const double t140 = -t138;
const double t143 = 0.4e1 / 0.3e1 * t74 * t138 + 0.4e1 / 0.3e1 * t77 * t140;
const double t145 = t69 * t143 * t84;
const double t148 = -t71 - t137;
const double t150 = -t148;
const double t153 = 0.4e1 / 0.3e1 * t74 * t148 + 0.4e1 / 0.3e1 * t77 * t150;
const double t155 = t69 * t153 * t84;
eps = t43 + t85;
vrho_a = t43 + t85 + t7 * ( t111 + t134 + t145 );
vrho_b = t43 + t85 + t7 * ( t111 + t134 + t155 );
}
};
struct BuiltinPZ81_MOD : detail::BuiltinKernelImpl< BuiltinPZ81_MOD > {
BuiltinPZ81_MOD( Spin p ) :
detail::BuiltinKernelImpl< BuiltinPZ81_MOD >(p) { }
virtual ~BuiltinPZ81_MOD() = default;
};
} // namespace ExchCXX
|
33535a220a753355ea56304aed6bffd161d1b686
|
5993cb1b965b073a23b148d0841c6f441d43bb68
|
/xyg-org/xyg-org/trunk/src/fetion.cpp
|
c5de1d62c3d444344ebb6a5960e53c91506a7d56
|
[] |
no_license
|
hygkui/ffsion-cn
|
8cf7368608fdf04f0b90c9d1750b1f6c8ddb1ddc
|
6b923b861669f66133a05f20f45aee968174a9cc
|
refs/heads/master
| 2021-01-01T05:48:54.255208
| 2008-06-04T09:01:15
| 2008-06-04T09:01:15
| 22,066
| 3
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,944
|
cpp
|
fetion.cpp
|
#include "include/fetion.h"
#include "include/xyg.h"
#include "include/send.h"
#include "include/libxyg.h"
#include <iostream>
#include <vector>
#include <string>
using namespace std;
using namespace xyg;
extern ServiceConnector* SRVCONN;
void fx_register(Transaction &trans) {
static string username("");
static string password("");
static string nonce("");
int cur_state = trans.GetStatus();
if(cur_state == 1) {
string args = trans.GetArgs();
int p1 = args.find(";", 0);
int p2 = args.find(";", p1+1);
string cmd = args.substr(0, p1);
username = args.substr(p1+1, p2-p1-1);
password = args.substr(p2+1, string::npos);
string body1("\
<args>\
<device type=\"PC\" version=\"5\" client-version=\"2.3.0210\" />\
<caps value=\"simple-im;im-session;temp-group\" />\
<events value=\"contact;permission;system-message\" />\
<user-info attributes=\"all\" />\
<presence>\
<basic value=\"0\" desc=\"\" />\
</presence>\
</args>");
msg_reg_1 msg(username, trans.GetID(), trans.GetSeq(), body1);
if(Send(msg.content().c_str(), msg.content().size()) == PR_SUCCESS) {
trans.SetStatus(cur_state+1);
}
}
else if(cur_state == 2) {
/*string body1("\
<args>\
<device type=\"PC\" version=\"5\" client-version=\"2.3.0210\" />\
<caps value=\"simple-im;im-session;temp-group\" />\
<events value=\"contact;permission;system-message\" />\
<user-info attributes=\"all\" />\
<presence>\
<basic value=\"0\" desc=\"\" />\
</presence>\
</args>");*/
cout <<trans.GetStatus() <<endl;
cout <<trans.GetArgs() <<endl;
}
else if(cur_state == 3) {
}
else if(cur_state == 4) {
}
else if(cur_state == 5) {
}
else if(cur_state == 0xff) {
}
else {
}
}
void fx_getcontactlist(Transaction &trans) {
}
|
692c36ffc3e599b88bd972cfc6d2139b18e9a3f6
|
af0ecafb5428bd556d49575da2a72f6f80d3d14b
|
/CodeJamCrawler/dataset/11_4251_45.cpp
|
5a0d98c19a168a279c34d86e979dcce2f0969475
|
[] |
no_license
|
gbrlas/AVSP
|
0a2a08be5661c1b4a2238e875b6cdc88b4ee0997
|
e259090bf282694676b2568023745f9ffb6d73fd
|
refs/heads/master
| 2021-06-16T22:25:41.585830
| 2017-06-09T06:32:01
| 2017-06-09T06:32:01
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,957
|
cpp
|
11_4251_45.cpp
|
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Robots {
public static Robot orange;
public static Robot blue;
public static int current = 0;
public static int moves = 0;
/**
* @param args
*/
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int casesNumber = scn.nextInt();
for (int c = 0; c < casesNumber; c++) {
int input = scn.nextInt();
orange = new Robot('O', input);
blue = new Robot('B', input);
for (int i = 0; i < input; i++) {
char name = scn.next().charAt(0);
int pos = scn.nextInt();
Entry entry = new Entry(pos, i, name);
if (name == 'O') {
orange.addEntry(entry);
} else {
blue.addEntry(entry);
}
}
//solve it
current = 0;
moves = 0;
boolean a;
boolean b;
while(current < input) {
a = orange.move();
b = blue.move();
if (a || b) {
current++;
}
moves++;
}
StringBuilder builder = new StringBuilder("Case #");
builder.append((c+1));
builder.append(": ");
builder.append(moves);
System.out.println(builder.toString());
}
}
}
class Entry {
public Entry(int pos, int i, char r) {
robot = r;
button = pos;
number = i;
}
char robot;
int button;
int number;
}
class Robot {
char name;
int pos;
List<Entry> entries;
int currentEntry;
public Robot(char c, int total) {
name = c;
pos = 1;
entries = new ArrayList<Entry>(total);
currentEntry = 0;
}
public boolean move() {
if (currentEntry >= entries.size()) {
return false;
}
boolean ret = false;
Entry e = entries.get(currentEntry);
if (e.button > pos) {
//move
pos++;
} else if (e.button < pos) {
//move
pos--;
} else {
//press?
if (Robots.current == e.number) {
ret = true;
currentEntry++;
}
}
return ret;
}
public void addEntry(Entry entry) {
entries.add(entry);
}
}
|
30611743a9fed5bb7fd84c274326df9004b810a1
|
836cb834b9de5c74346966317bf2f6c758391c1b
|
/DistantLands/src/utils/file io/FileIO.h
|
a0d1f2565bf5f5386692d9e583c80828dacb128c
|
[] |
no_license
|
Lars-Schneider/DistantLands
|
aabb1ee599bf686348341b3c6830344efc7af7ae
|
241ac3b50c022cc2159513fb6d23320095410d4a
|
refs/heads/master
| 2023-08-10T09:59:31.159124
| 2021-09-13T03:49:28
| 2021-09-13T03:49:28
| 405,521,661
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 823
|
h
|
FileIO.h
|
#pragma once
#include <string>
#include <fstream>
#include <stdio.h>
static void WRITE_TO_FILE(std::string file_path, std::string text)
{
std::ofstream file;
file.open(file_path, std::ios::app);
file << text;
file.close();
}
static std::string READ_FROM_FILE(std::string file_path)
{
std::ifstream myfile(file_path);
if (myfile.is_open())
{
std::string line;
std::string value;
while (getline(myfile, line))
{
value += line;
}
myfile.close();
return value;
}
return std::string("");
}
static void DELETE_FILE(std::string file_path)
{
remove(file_path.c_str());
}
static void DELETE_FILE_CONTENTS(std::string file_path)
{
std::ofstream file;
file.open(file_path, std::ios::trunc);
file.close();
}
|
038e6d2c4e8558abceebd1f6ae93073490b27a62
|
50784ea37f339d86da8417ee741c6767efeddf4a
|
/ServerF/timeoutmanager.cpp
|
268dabfd4ad7079103f9821c1e4a41ca83970e3c
|
[] |
no_license
|
ehossam/P2P-Image-Sharing
|
5d0701765e1e0c38cb74a3261a34fd437773bad7
|
da9ac91d4e7ed1d5ce65d42886e17dd972efbfde
|
refs/heads/master
| 2023-01-09T23:20:07.550823
| 2020-11-14T18:47:41
| 2020-11-14T18:47:41
| 312,877,237
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 612
|
cpp
|
timeoutmanager.cpp
|
#include "timeoutmanager.h"
#include "client.h"
TimeoutManager::TimeoutManager(QObject *parent) : QObject(parent)
{
sessionCheckTimer = new QTimer(this);
QObject::connect(sessionCheckTimer, SIGNAL(timeout()), this, SLOT(checkClientsTimeout()));
}
void TimeoutManager::checkClientsTimeout()
{
for(int i = 0; i < Client::loggedInClients.size(); i++)
{
Client::loggedInClients.at(i).timeout += SESSION_CHECK_INTERVAL;
if(Client::loggedInClients.at(i).timeout >= SESSION_TIMEOUT)
{
Client::logoutUser(Client::loggedInClients.at(i).username);
}
}
}
|
2baf6e14f277054fcc817a7624b867eae2394a45
|
bfa638f5455c76a8aba251db229efba0eb0643ca
|
/chapter16/16_12/BlobPtr.h
|
9d6449d3a2ab1be41ea4e77f3fa56688a418939a
|
[] |
no_license
|
Ain-Crad/Cpp_Primer_Solution
|
3c6abfbe5b0c2323a351eb5c633b4484248a0e8a
|
ba995dd8e612a6bdaecb074af5ec2a2b0f7ba47d
|
refs/heads/master
| 2023-03-29T16:20:11.985983
| 2021-04-05T13:47:10
| 2021-04-05T13:47:10
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,434
|
h
|
BlobPtr.h
|
#ifndef _BLOB_PTR_H
#define _BLOB_PTR_H
#include <memory>
#include <string>
#include <vector>
#include "Blob.h"
template <typename T> class BlobPtr {
public:
BlobPtr() : curr(0) {}
BlobPtr(Blob<T> &b, size_t sz = 0) : wptr(b.data), curr(sz) {}
T &operator*() const;
BlobPtr &operator++();
BlobPtr &operator--();
BlobPtr operator++(int);
BlobPtr operator--(int);
private:
std::shared_ptr<std::vector<T>> check(size_t, const std::string &) const;
std::weak_ptr<std::vector<T>> wptr;
size_t curr;
};
template <typename T>
std::shared_ptr<std::vector<T>>
BlobPtr<T>::check(size_t i, const std::string &msg) const {
auto ret = wptr.lock();
if (!ret)
throw std::runtime_error("unbound Blob");
if (i >= ret->size() || i < 0)
throw std::out_of_range(msg);
return ret;
}
template <typename T> T &BlobPtr<T>::operator*() const {
auto p = check(curr, "dereference past end");
return (*p)[curr];
}
template <typename T> BlobPtr<T> &BlobPtr<T>::operator++() {
check(curr, "increment past end of Blob");
++curr;
return *this;
}
template <typename T> BlobPtr<T> &BlobPtr<T>::operator--() {
--curr;
check(curr, "decrement past begin of Blob");
return *this;
}
template <typename T> BlobPtr<T> BlobPtr<T>::operator++(int) {
auto ret = *this;
++*this;
return ret;
}
template <typename T> BlobPtr<T> BlobPtr<T>::operator--(int) {
auto ret = *this;
--*this;
return ret;
}
#endif
|
3e10ecb3967171c3fe7f7a75b4f07d8657ae020b
|
82198e2706d8544b7f556399982639320fed47d4
|
/cpp04/ex01/SuperMutant.cpp
|
d4961f6664b20c7c946bcc87383293842b3a8024
|
[] |
no_license
|
jimi-1337/cpp
|
1b7891fbeebc1ed3a6f1a7d7fa4aa61fafbe7f09
|
0c5493e2a3cc380b551ed18f879df674b3b9f782
|
refs/heads/main
| 2023-02-28T00:04:51.139975
| 2021-02-07T16:26:27
| 2021-02-07T16:26:27
| 326,432,691
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,449
|
cpp
|
SuperMutant.cpp
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* SuperMutant.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: amoujane <amoujane@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/01/18 17:54:53 by amoujane #+# #+# */
/* Updated: 2021/01/18 17:56:33 by amoujane ### ########.fr */
/* */
/* ************************************************************************** */
#include "SuperMutant.hpp"
SuperMutant::SuperMutant():Enemy(170, "Super Mutant")
{
std::cout << "Gaaah. Me want smash heads !" << std::endl;
}
SuperMutant::SuperMutant(SuperMutant const &other):Enemy(other)
{
std::cout << "Gaaah. Me want smash heads !" << std::endl;
}
SuperMutant::~SuperMutant()
{
std::cout << "Aaargh ..." << std::endl;
}
SuperMutant &SuperMutant::operator=(SuperMutant const &other)
{
this->type = other.type;
this->hp = other.hp;
return (*this);
}
void SuperMutant::takeDamage(int damage)
{
Enemy::takeDamage(damage - 3);
}
|
59f8dd25ccf7dfd6130d417b20bd6c78a3a6430c
|
17a53a1c81e34ad5934a8820020d5492d7334f58
|
/CS303_Program2/Customer.h
|
a5c72980e91d89cd24b6c651d5cb56520d4f995f
|
[] |
no_license
|
cderk6/CS303-Program-2B
|
239fb85f4c08f5465e171fb5b4f0da0120cd058b
|
e23404c4265474e5393815e19a059c0af56cc00c
|
refs/heads/master
| 2021-01-12T12:34:10.344350
| 2016-11-12T01:17:29
| 2016-11-12T01:17:29
| 72,576,033
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 5,521
|
h
|
Customer.h
|
#ifndef CUSTOMER_H
#define CUSTOMER_H
#include <algorithm>
#include <string>
#include <vector>
#include "BinarySearchTree.h"
#include "Review.h"
#include "omp.h"
using namespace std;
class Customer
{
public:
//constructor
Customer(int id, string name)
{
ID = id; Name = name; reviews = {}, degrees_of_similarity = {};
}
//getters
string getName() { return Name; }
int getID() { return ID; }
int getNumReviews() { return reviews.size(); }
Review& getReview(int idx);
//other functions
//bool insert(const Review& review);
void addReview(Review& review);
void printReviews();
void setSimilarities(vector<Customer>& customers);
int interpolationSearch(int lower, int upper, Review& target, vector<Review>& vec);
vector<Review> getRecommendations(vector<Customer>& customers);
vector<Review> getRawRecommendations();
bool hasRead(Review& book);
private:
//customer data
string Name;
int ID;
vector<Review> reviews;
vector<double> degrees_of_similarity;
vector<Review> all_reviews;
};
Review& Customer::getReview(int idx)
{
if (idx < reviews.size())
return reviews[idx];
}
//adds a review to list of the reviews
void Customer::addReview(Review& review)
{
int idx = interpolationSearch(0, reviews.size() - 1, review, reviews);
if (idx == -1)
reviews.insert(upper_bound(reviews.cbegin(), reviews.cend(), review), review);
else
reviews[idx].setRating(review.getRating());
}
//used for testing, prints out reviews
void Customer::printReviews()
{
for (int i = 0; i < reviews.size(); i++)
{
cout << reviews[i] << endl;
}
}
//sets similarities for the customer
void Customer::setSimilarities(vector<Customer>& customers)
{
// Forumla:
// (5 - avg. rating diff.) / 5 * (# of books in common / total # of reviews for target customer)
degrees_of_similarity.clear();
for (int i = 0; i < customers.size(); i++)
{
degrees_of_similarity.push_back(0);
}
for (int i = 0; i < customers.size(); i++)
{
double avg_diff = 0, total_diff = 0, in_common = 0, deg_of_sim = 0;
#pragma omp parallel for reduction(+:in_common), reduction(+:total_diff)
for (int j = 0; j < customers[i].getNumReviews(); j++)
{
int idx = interpolationSearch(0, getNumReviews() - 1, customers[i].getReview(j), reviews);
if (idx != -1)
{
++in_common;
total_diff += abs(getReview(idx).getRating() - customers[i].getReview(j).getRating());
}
}
if (in_common > 0)
avg_diff = total_diff / in_common;
deg_of_sim = (5 - avg_diff) / 5 * (in_common / getNumReviews());
degrees_of_similarity[i] = deg_of_sim;
}
}
//search for a review in the vector of reviews
int Customer::interpolationSearch(int lower, int upper, Review& target, vector<Review>& vec)
{
if (lower > upper || target < vec[lower] || target > vec[upper])
return -1;
double temp1 = atoi(target.getBook().getISBN().c_str()) - atoi(vec[lower].getBook().getISBN().c_str());
double temp2 = upper - lower;
double temp3 = atoi(vec[upper].getBook().getISBN().c_str()) - atoi(vec[lower].getBook().getISBN().c_str());
int mid = lower + ((temp1 * temp2)/temp3);
if (target.getBook().getISBN() == vec[mid].getBook().getISBN())
return mid;
else if (target > vec[mid])
return interpolationSearch(mid + 1, upper, target, vec);
else
return interpolationSearch(lower, mid - 1, target, vec);
}
//returns all the reviews in a sorted vector by rating
vector<Review> Customer::getRecommendations(vector<Customer>& customers)
{
setSimilarities(customers);
all_reviews.clear();
for (int i = 0; i < customers.size(); i++)
{
for (int j = 0; j < customers[i].getNumReviews(); j++)
{
int idx = interpolationSearch(0, all_reviews.size() - 1, customers[i].getReview(j), all_reviews);
if (idx == -1)
{
all_reviews.insert(upper_bound(all_reviews.cbegin(), all_reviews.cend(), Review(Book(customers[i].getReview(j).getBook().getISBN(), ""), customers[i].getReview(j).getRating(), degrees_of_similarity[i], degrees_of_similarity[i] * customers[i].getReview(j).getRating())), Review(Book(customers[i].getReview(j).getBook().getISBN(), ""), customers[i].getReview(j).getRating(), degrees_of_similarity[i], degrees_of_similarity[i] * customers[i].getReview(j).getRating()));
}
else
{
all_reviews[idx].addToSums(degrees_of_similarity[i], customers[i].getReview(j).getRating());
}
}
}
#pragma omp parallel for
for (int i = 0; i < all_reviews.size(); i++)
{
if(all_reviews[i].getSumOfDegrees() > 0)
all_reviews[i].setRatings((all_reviews[i].getSumOfRatings() / all_reviews[i].getSumOfDegrees()) * (.5 + .25 * (1 - (1.0 / (all_reviews[i].getNumOfRatings() + 1))) + .25 * (all_reviews[i].getSumOfDegrees() / all_reviews[i].getNumOfRatings())));
}
for (int i = 0; i < all_reviews.size(); i++)
{
int max = i;
for (int j = i + 1; j < all_reviews.size(); j++)
{
if (all_reviews[j].getAdjRating() > all_reviews[max].getAdjRating())
max = j;
}
swap(all_reviews[i], all_reviews[max]);
}
return all_reviews;
}
//returns if customer has read a specific book
bool Customer::hasRead(Review& book)
{
if (interpolationSearch(0, reviews.size() - 1, book, reviews) == -1)
return false;
return true;
}
//retruns best overall books sorted by rating
vector<Review> Customer::getRawRecommendations()
{
for (int i = 0; i < all_reviews.size(); i++)
{
int max = i;
for (int j = i + 1; j < all_reviews.size(); j++)
{
if (all_reviews[j].getRating() > all_reviews[max].getRating())
max = j;
}
swap(all_reviews[i], all_reviews[max]);
}
return all_reviews;
}
#endif
|
1e0544f76ab43047f4d2c58dbb012b91164163fa
|
7159a8a2096508c480d015f1fb191ce1716dd9f3
|
/test_imu_data_filter.cpp
|
cf873b65dab068ad9b133510c45b7a914dba271f
|
[] |
no_license
|
HustMrZhang/IMU_Data_Filter_1
|
679a59e34872e542be5a81e81bf723118a9460c8
|
8b6c0e2b7af999d16a4c471d9bed0a443f8fee8d
|
refs/heads/master
| 2020-03-20T19:23:30.607235
| 2018-06-17T07:05:42
| 2018-06-17T07:05:42
| 137,635,846
| 0
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 980
|
cpp
|
test_imu_data_filter.cpp
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define FILTER_SIZE 10
double filter_mat[FILTER_SIZE];
double filter_data(double fx);
int main()
{
int i;
double data_line[6] = {0.0};
double f_ax;
// filter_mat initialization
for(i=0;i<FILTER_SIZE;i++)
filter_mat[i] = 0.0;
// read data from file
FILE * fp = fopen("data_1min.txt","rt");
FILE * fp_out = fopen("filter_result.txt","wt");
if (fp == NULL)
exit(1);
while (!feof(fp))
{
fscanf(fp,"%lf%lf%lf%lf%lf%lf",&data_line[0],&data_line[1],&data_line[2],&data_line[3],&data_line[4],&data_line[5]);
f_ax = filter_data(data_line[3]);
fprintf(fp_out,"%.8f\n", f_ax);
}
return 0;
}
double filter_data(double fx)
{
int j;
double temp_data = 0.0;
for(j=0;j<FILTER_SIZE-1;j++)
{
filter_mat[j] = filter_mat[j+1];
temp_data += filter_mat[j];
}
filter_mat[FILTER_SIZE-1] = fx;
temp_data += filter_mat[FILTER_SIZE-1];
return temp_data/FILTER_SIZE;
}
|
0e9f36a8bb02eba7d73420c5385d9728499d9a00
|
698f95f17785f5b41d02687e38c5225228078acc
|
/HDU/4433.cpp
|
ca73f1e932af895d8543e4089162496fa3b07091
|
[] |
no_license
|
yanyikai/Code
|
7672f9994687721d03b563028574a2dec6584204
|
d8dae461a8beb08065b872fb1d21563291aa3cff
|
refs/heads/master
| 2021-10-11T10:24:06.748148
| 2021-10-04T11:34:16
| 2021-10-04T11:34:16
| 139,777,576
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 830
|
cpp
|
4433.cpp
|
#include<cstdio>
#include<cstring>
using namespace std;
char s[1005],t[1005];
int dp[1005][10][10];
int main()
{
for(;~scanf("%s%s",s,t);)
{
memset(dp,63,sizeof dp);
dp[0][0][0]=0;int n=strlen(s);
for(int i=0;i<n;++i)
for(int j=0;j<10;++j)
for(int k=0;k<10;++k)
if(dp[i][j][k]!=0x3f3f3f3f)
{
int e=(t[i]-s[i]-j+20)%10;
for(int x=0;x<=e;++x)
for(int y=0;y<=x;++y)
if(dp[i][j][k]+e<dp[i+1][(k+x)%10][y])
dp[i+1][(k+x)%10][y]=dp[i][j][k]+e;
e=10-e;
for(int x=0;x<=e;++x)
for(int y=0;y<=x;++y)
if(dp[i][j][k]+e<dp[i+1][(k-x+10)%10][(10-y)%10])
dp[i+1][(k-x+10)%10][(10-y)%10]=dp[i][j][k]+e;
}printf("%d\n",dp[n][0][0]);
}
return 0;
}
|
4d981be64cbf288b7cc868a6fb9e21e4c5181b8e
|
b4c451b85661dbe1d2dd752c9b459a9ff82dcd75
|
/graphs/dfs.cpp
|
dc594582b4127e5db33af1a93b6a2d514f7a3b6c
|
[
"Apache-2.0"
] |
permissive
|
Hannibal404/data-structure-and-algorithms
|
ac250cd71cc6f519a867013aeec1bed3ca420307
|
9dd7203fcede6d75fddefdd6dabef32498b9fbaf
|
refs/heads/master
| 2023-01-03T12:48:16.075552
| 2020-10-03T05:53:53
| 2020-10-03T05:53:53
| 300,664,021
| 1
| 1
|
Apache-2.0
| 2020-10-19T09:14:52
| 2020-10-02T15:49:26
|
C++
|
UTF-8
|
C++
| false
| false
| 958
|
cpp
|
dfs.cpp
|
#include<bits/stdc++.h>
using namespace std;
void dfsUtil(int currentNode, vector< vector<int> > &adj, vector<bool> &visited) {
visited[currentNode] = true;
cout << currentNode << " ";
for(int i = 0; i < adj[currentNode].size(); i++) {
int neighbour = adj[currentNode][i];
if(!visited[neighbour])
dfsUtil(neighbour, adj, visited);
}
return;
}
void dfs(int nodes, vector< vector<int> > &adj) {
vector<bool> visited(nodes+1, false);
for(int i = 1; i <= nodes; i++) {
if(!visited[i])
dfsUtil(i, adj, visited);
}
return;
}
int main() {
int nodes, edges, x, y;
cout << "Input number of nodes and edges: ";
cin >> nodes >> edges;
cout << "Input edges: \n";
vector< vector<int> > adj(nodes+1);
for(int i = 1; i <= edges; i++) {
cin >> x >> y;
adj[x].push_back(y);
adj[y].push_back(x);
}
dfs(nodes, adj);
return 0;
}
|
db6820afdca1066c0583868b482098fc203d7979
|
986cabc81e1aaeb5246ccd684e685a91d8c6d189
|
/room.h
|
dd0cfcf452ddeb9018f558be86316b60bc733924
|
[] |
no_license
|
bigjimbeef/text-adventure
|
4e45bd5e80d748e90f1a194e06c8d6a33a799656
|
c14ddfdc156f0f1e7cd167d951ef8d39525aeea4
|
refs/heads/master
| 2021-01-22T11:38:20.229707
| 2012-10-26T12:04:25
| 2012-10-26T12:04:25
| 6,403,168
| 2
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 505
|
h
|
room.h
|
#ifndef D_ROOM_H
#define D_ROOM_H
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include "enemy.h"
class Game;
class Room
{
public:
Room();
~Room();
void Init();
void Update();
inline bool Initialised() { return m_initialised; }
inline Enemy* GetEnemy() { return mp_enemy; }
Enemy* SpawnNewEnemy();
private:
// Item* mp_item;
Enemy* mp_enemy;
bool m_initialised;
};
#endif
|
541cf1fd01fcb2517106ee5d23ecf35495906695
|
64c797c1aebccdd8d87f1c9e5806a01a8bde7355
|
/RSDKv3/Script.hpp
|
51bd95adc15ebfdf8b654c830614ad150bf68b35
|
[] |
no_license
|
SonicMastr/Sonic-CD-Vita
|
d83ad99441c4fe758832c9e11b31d9cfc8d8e769
|
525b0e6035e4b10135cd043e479c96b1f937b9a9
|
refs/heads/master
| 2023-07-19T14:49:27.317584
| 2023-07-04T19:35:05
| 2023-07-04T19:35:05
| 326,148,412
| 36
| 1
| null | 2021-01-09T03:00:55
| 2021-01-02T09:22:25
|
C++
|
UTF-8
|
C++
| false
| false
| 2,277
|
hpp
|
Script.hpp
|
#ifndef SCRIPT_H
#define SCRIPT_H
#define SCRIPTDATA_COUNT (0x40000)
#define JUMPTABLE_COUNT (0x4000)
#define FUNCTION_COUNT (0x200)
#define JUMPSTACK_COUNT (0x400)
#define FUNCSTACK_COUNT (0x400)
#define RETRO_USE_COMPILER (1)
struct ScriptPtr {
int scriptCodePtr;
int jumpTablePtr;
};
struct ScriptFunction {
#if RETRO_USE_COMPILER
char name[0x20];
#endif
ScriptPtr ptr;
};
struct ObjectScript {
int frameCount;
int spriteSheetID;
ScriptPtr subMain;
ScriptPtr subPlayerInteraction;
ScriptPtr subDraw;
ScriptPtr subStartup;
int frameListOffset;
AnimationFile *animFile;
#if !RETRO_USE_ORIGINAL_CODE
bool mobile; // flag for detecting mobile/updated bytecode
#endif
};
struct ScriptEngine {
int operands[10];
int tempValue[8];
int arrayPosition[3];
int checkResult;
};
enum ScriptSubs { SUB_MAIN = 0, SUB_PLAYERINTERACTION = 1, SUB_DRAW = 2, SUB_SETUP = 3 };
extern ObjectScript objectScriptList[OBJECT_COUNT];
extern ScriptFunction scriptFunctionList[FUNCTION_COUNT];
extern int scriptFunctionCount;
extern int scriptCode[SCRIPTDATA_COUNT];
extern int jumpTableData[JUMPTABLE_COUNT];
extern int jumpTableStack[JUMPSTACK_COUNT];
extern int functionStack[FUNCSTACK_COUNT];
extern int scriptCodePos;
extern int scriptCodeOffset;
extern int jumpTablePos;
extern int jumpTableOffset;
extern int jumpTableStackPos;
extern int functionStackPos;
extern ScriptEngine scriptEng;
extern char scriptText[0x100];
extern int aliasCount;
extern int lineID;
bool ConvertStringToInteger(char *text, int *value);
#if RETRO_USE_COMPILER
void CheckAliasText(char *text);
void ConvertArithmaticSyntax(char *text);
void ConvertIfWhileStatement(char *text);
bool ConvertSwitchStatement(char *text);
void ConvertFunctionText(char *text);
void CheckCaseNumber(char *text);
bool ReadSwitchCase(char *text);
void AppendIntegerToString(char *text, int value);
void CopyAliasStr(char *dest, char *text, bool arrayIndex);
bool CheckOpcodeType(char *text); // Never actually used
void ParseScriptFile(char *scriptName, int scriptID);
#endif
void LoadBytecode(int stageListID, int scriptID);
void ProcessScript(int scriptCodeStart, int jumpTableStart, byte scriptSub);
void ClearScriptData();
#endif // !SCRIPT_H
|
8dccb7e75ce4954fb5d1b4d68204631d10662427
|
4f52a4da323feb3bfaa3c67d141999f46cfd3d9e
|
/BOJ_2753/BOJ_2753/BOJ_2753.cpp
|
5d22d04d56a98e2a4c711d3178cbba1a81151cfc
|
[] |
no_license
|
LHI0915/StudyBackjoon
|
407b4c7c3fbbec60e6cc719714303570ddf34a1f
|
e649de567abea81e49ea8d95249ad735a2bc0a37
|
refs/heads/master
| 2021-07-22T22:12:26.399750
| 2021-07-13T17:35:53
| 2021-07-13T17:35:53
| 141,692,612
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 178
|
cpp
|
BOJ_2753.cpp
|
#include <cstdio>
using namespace std;
int main(void) {
int n;
scanf("%d", &n);
if (n % 4 == 0 && n % 100 != 0 || n % 400 == 0) printf("%d\n", 1);
else printf("%d\n", 0);
}
|
239654f13ded1b214da4b17dd7e2210cea14f321
|
6a3f097cfc870443ae2b1ef648fb326d4dec6385
|
/Advance/A1064.cpp
|
445d894c681b8a82c58e1b9c2e238a8d01f1ae6c
|
[] |
no_license
|
cx563/PAT
|
8c970579023d2a8bf1b9c08c84d87ae81bf86dc1
|
86fe880252badd8301bc38b178dcf79a4fe26a0c
|
refs/heads/master
| 2023-08-10T18:05:57.907522
| 2021-09-19T01:18:17
| 2021-09-19T01:18:17
| 390,920,994
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 586
|
cpp
|
A1064.cpp
|
#include <bits/stdc++.h>
using namespace std;
using gg = long long;
const gg maxn = 1e3 + 10;
gg n;
void inorder(vector<gg>& v,vector<gg>& res,gg root,gg& index){
if(root > n) return;
inorder(v,res,2 * root,index);
res[root] = v[index++];
inorder(v,res,2 * root + 1,index);
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cin>>n;
vector<gg>v(n),res(n+1);
for(auto& i : v) cin>>i;
sort(v.begin(),v.end());
gg index =0;
inorder(v,res,1,index);
for(gg i =1;i<=n;i++){
if(i != 1) cout<<" ";
cout<<res[i];
}
return 0;
}
|
11e820e41260f429368231de4555afce3f8a3c81
|
60bd79d18cf69c133abcb6b0d8b0a959f61b4d10
|
/libraries/RunningAverage/examples/ra_two_sensors/ra_two_sensors.ino
|
763145ae4cf3db6e1c9eeae5a1939d0491927bd2
|
[
"MIT"
] |
permissive
|
RobTillaart/Arduino
|
e75ae38fa6f043f1213c4c7adb310e91da59e4ba
|
48a7d9ec884e54fcc7323e340407e82fcc08ea3d
|
refs/heads/master
| 2023-09-01T03:32:38.474045
| 2023-08-31T20:07:39
| 2023-08-31T20:07:39
| 2,544,179
| 1,406
| 3,798
|
MIT
| 2022-10-27T08:28:51
| 2011-10-09T19:53:59
|
C++
|
UTF-8
|
C++
| false
| false
| 1,213
|
ino
|
ra_two_sensors.ino
|
//
// FILE: ra_two_sensors.ino
// AUTHOR: Rob Tillaart
// DATE: 2020-12-06
// PUPROSE: show working of runningAverage for two sensors
#include "RunningAverage.h"
RunningAverage RAT(10);
RunningAverage RAH(10);
int samples = 0;
float temperature = 25.0;
float humidity = 40.0;
void setup(void)
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.print("Version: ");
Serial.println(RUNNINGAVERAGE_LIB_VERSION);
// explicitly start clean
RAT.clear();
RAH.clear();
}
void loop(void)
{
// random function simulates 2 sensors
temperature = temperature - 1 + random(0, 200) * 0.01; // fluctuate +- 1ยฐC
humidity = humidity - 0.2 + random(0, 400) * 0.001; // fluctuate +- 0.2 %
RAT.addValue(temperature);
RAH.addValue(humidity);
// print a header every 20 lines
if (samples % 20 == 0)
{
Serial.println("\nCNT\tT\tTavg\tH\tHavg");
}
samples++;
Serial.print(samples);
Serial.print('\t');
Serial.print(temperature, 1);
Serial.print('\t');
Serial.print(RAT.getAverage(), 2);
Serial.print('\t');
Serial.print(humidity, 1);
Serial.print('\t');
Serial.print(RAH.getAverage(), 2);
Serial.println();
delay(500);
}
// -- END OF FILE --
|
bf67f9b71fd7e262845b37e9586323960460970c
|
742182b23044c91df9a3d99652697152fc13f91d
|
/Div1/SRM495Div1/Easy.cpp
|
ac391a97adc69852f007e816cb9eb837b4278ce2
|
[] |
no_license
|
iseki-masaya/topcoder
|
15e052bff8043f60a15969acc723e2550eae262c
|
c85ba323476b03abbc22a758e5724f15796ee62b
|
refs/heads/master
| 2016-09-11T02:00:10.773000
| 2015-04-26T02:41:05
| 2015-04-26T02:41:05
| 9,335,477
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,840
|
cpp
|
Easy.cpp
|
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <algorithm>
#include <sstream>
#include <set>
#include <cmath>
#include <map>
#include <stack>
#include <queue>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <numeric>
#include <bitset>
#include <deque>
const long long LINF = (1e15);
const int INF = (1<<27);
#define EPS 1e-6
const int MOD = 1000000007;
using namespace std;
class ColorfulCards {
public:
vector<bool> is_prime;
void sieve(int N) {
is_prime.clear();
is_prime.resize(N+1,true);
is_prime[0] = is_prime[1] = false;
for (int i=2; i<N; ++i) {
if (is_prime[i]) {
for (int j=i*2; j<N; j+=i) {
is_prime[j] = false;
}
}
}
}
vector <int> theCards(int N, string colors) {
sieve(N+1);
int M = (int)colors.size();
vector<int> mx(M),mn(M);
int x = 1;
for (int i=0; i<M; ++i) {
while (is_prime[x] == (colors[i]!='R') ) {
++x;
}
mn[i] = x++;
}
x = N;
for (int i=M-1; i>=0; --i) {
while (is_prime[x] == (colors[i]!='R')) {
--x;
}
mx[i] = x--;
}
vector<int> ans(M);
for (int i=0; i<M; ++i) {
if (mx[i] == mn[i]) {
ans[i] = mx[i];
}
else {
ans[i] = -1;
}
}
return ans;
}
// BEGIN CUT HERE
public:
void run_test(int Case) { if ((Case == -1) || (Case == 0)) test_case_0(); if ((Case == -1) || (Case == 1)) test_case_1(); if ((Case == -1) || (Case == 2)) test_case_2(); if ((Case == -1) || (Case == 3)) test_case_3(); if ((Case == -1) || (Case == 4)) test_case_4(); }
private:
template <typename T> string print_array(const vector<T> &V) { ostringstream os; os << "{ "; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << '\"' << *iter << "\","; os << " }"; return os.str(); }
void verify_case(int Case, const vector <int> &Expected, const vector <int> &Received) { cerr << "Test Case #" << Case << "..."; if (Expected == Received) cerr << "PASSED" << endl; else { cerr << "FAILED" << endl; cerr << "\tExpected: " << print_array(Expected) << endl; cerr << "\tReceived: " << print_array(Received) << endl; } }
void test_case_0() { int Arg0 = 5; string Arg1 = "RRR"; int Arr2[] = {2, 3, 5 }; vector <int> Arg2(Arr2, Arr2 + (sizeof(Arr2) / sizeof(Arr2[0]))); verify_case(0, Arg2, theCards(Arg0, Arg1)); }
void test_case_1() { int Arg0 = 7; string Arg1 = "BBB"; int Arr2[] = {1, 4, 6 }; vector <int> Arg2(Arr2, Arr2 + (sizeof(Arr2) / sizeof(Arr2[0]))); verify_case(1, Arg2, theCards(Arg0, Arg1)); }
void test_case_2() { int Arg0 = 6; string Arg1 = "RBR"; int Arr2[] = {-1, 4, 5 }; vector <int> Arg2(Arr2, Arr2 + (sizeof(Arr2) / sizeof(Arr2[0]))); verify_case(2, Arg2, theCards(Arg0, Arg1)); }
void test_case_3() { int Arg0 = 58; string Arg1 = "RBRRBRBBRBRRBBRRBBBRRBBBRR"; int Arr2[] = {-1, -1, -1, -1, -1, -1, -1, -1, 17, 18, 19, 23, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 47, 53 }; vector <int> Arg2(Arr2, Arr2 + (sizeof(Arr2) / sizeof(Arr2[0]))); verify_case(3, Arg2, theCards(Arg0, Arg1)); }
void test_case_4() { int Arg0 = 495; string Arg1 = "RBRRBRBBRBRRBBRRBBBRRBBBRR"; int Arr2[] = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; vector <int> Arg2(Arr2, Arr2 + (sizeof(Arr2) / sizeof(Arr2[0]))); verify_case(4, Arg2, theCards(Arg0, Arg1)); }
// END CUT HERE
};
// BEGIN CUT HERE
int main() {
ColorfulCards ___test;
___test.run_test(-1);
}
// END CUT HERE
|
1e7c1ea500516fee2565a07b49804e5a17a9541c
|
e4385506c8a86f0466a970a055a6eb56982d04ec
|
/source/file.cpp
|
433c708a8ef79db395fcc88f1e9b463ccf7322be
|
[] |
no_license
|
calegxm999/Line_for_3DS
|
6beb23e97da45276b85822961aecc9ce0203f293
|
dd02cd7ddcf8644d42eac6e0d29ed994d9160beb
|
refs/heads/master
| 2023-01-28T02:07:54.568300
| 2020-12-01T12:03:20
| 2020-12-01T12:03:20
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 10,339
|
cpp
|
file.cpp
|
#include <3ds.h>
#include <cstring>
#include <string>
#include "error.hpp"
#include "unicodetochar/unicodetochar.h"
#include "types.hpp"
#include "file.hpp"
#include "log.hpp"
Result_with_string File_save_to_file(std::string file_name, u8* write_data, int size, std::string dir_path, bool delete_old_file, Handle fs_handle, FS_Archive fs_archive)
{
u32 written_size = 0;
u64 file_size = 0;
bool failed = false;
std::string file_path = dir_path + file_name;
TickCounter write_time;
Result_with_string save_file_result;
save_file_result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if(save_file_result.code != 0)
{
save_file_result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
save_file_result.code = FSUSER_CreateDirectory(fs_archive, fsMakePath(PATH_ASCII, dir_path.c_str()), FS_ATTRIBUTE_DIRECTORY);
if (save_file_result.code != 0 && save_file_result.code != (s32)0xC82044BE)//#0xC82044BE directory already exist
{
save_file_result.string = "[Error] FSUSER_CreateDirectory failed. ";
failed = true;
}
}
if (!failed)
{
if (delete_old_file)
FSUSER_DeleteFile(fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()));
}
if (!failed)
{
save_file_result.code = FSUSER_CreateFile(fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()), FS_ATTRIBUTE_ARCHIVE, 0);
if (save_file_result.code != 0 && save_file_result.code != (s32)0xC82044BE)//#0xC82044BE file already exist
{
save_file_result.string = "[Error] FSUSER_CreateFile failed. ";
failed = true;
}
}
if (!failed)
{
save_file_result.code = FSUSER_OpenFile(&fs_handle, fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()), FS_OPEN_WRITE, FS_ATTRIBUTE_ARCHIVE);
if (save_file_result.code != 0)
{
save_file_result.string = "[Error] FSUSER_OpenFile failed. ";
failed = true;
}
}
if (!failed)
{
if (!(delete_old_file))
{
save_file_result.code = FSFILE_GetSize(fs_handle, &file_size);
if (save_file_result.code != 0)
{
save_file_result.string = "[Error] FSFILE_GetSize failed. ";
failed = true;
}
}
}
if (!failed)
{
osTickCounterStart(&write_time);
save_file_result.code = FSFILE_Write(fs_handle, &written_size, file_size, write_data, size, FS_WRITE_FLUSH);
osTickCounterUpdate(&write_time);
if (save_file_result.code == 0)
save_file_result.string += std::to_string(written_size / 1024) + "KB " + std::to_string(((double)written_size / (osTickCounterRead(&write_time) / 1000.0)) / 1024.0 / 1024.0) + "MB/s ";
else
{
save_file_result.string = "[Error] FSFILE_Write failed. ";
failed = true;
}
}
FSFILE_Close(fs_handle);
FSUSER_CloseArchive(fs_archive);
if(failed)
save_file_result.error_description = "sdmc:" + file_path;
return save_file_result;
}
Result_with_string File_load_from_file(std::string file_name, u8* read_data, int max_size, u32* read_size, std::string dir_path, Handle fs_handle, FS_Archive fs_archive)
{
return File_load_from_file_with_range(file_name, read_data, max_size, 0, read_size, dir_path, fs_handle, fs_archive);
}
Result_with_string File_load_from_rom(std::string file_name, u8* read_data, int max_size, u32* read_size, std::string dir_path)
{
bool failed = false;
size_t read_size_;
u64 file_size;
std::string file_path = dir_path + file_name;
Result_with_string result;
FILE* f = fopen(file_path.c_str(), "rb");
if (f == NULL)
{
result.string = "[Error] fopen failed. ";
failed = true;
}
if (!failed)
{
fseek(f, 0, SEEK_END);
file_size = ftell(f);
rewind(f);
if((int)file_size > max_size)
{
result.code = BUFFER_SIZE_IS_TOO_SMALL;
result.string = Err_query_template_summary(BUFFER_SIZE_IS_TOO_SMALL) + std::to_string(file_size);
result.error_description = Err_query_template_detail(BUFFER_SIZE_IS_TOO_SMALL);
failed = true;
}
}
if (!failed)
{
read_size_ = fread(read_data, 1, file_size, f);
*read_size = read_size_;
if (read_size_ != file_size)
{
result.string = "[Error] fread failed. ";
failed = true;
}
}
fclose(f);
if(failed)
result.error_description = "romfs:" + file_path;
return result;
}
Result_with_string File_load_from_file_with_range(std::string file_name, u8* read_data, int read_length, u64 read_offset, u32* read_size, std::string dir_path, Handle fs_handle, FS_Archive fs_archive)
{
bool failed = false;
u32 read_size_calc;
std::string file_path = dir_path + file_name;
TickCounter read_time;
Result_with_string result;
result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
result.code = FSUSER_OpenFile(&fs_handle, fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()), FS_OPEN_READ, FS_ATTRIBUTE_ARCHIVE);
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenFile failed. ";
failed = true;
}
}
if (!failed)
{
osTickCounterStart(&read_time);
result.code = FSFILE_Read(fs_handle, &read_size_calc, read_offset, read_data, read_length);
osTickCounterUpdate(&read_time);
*read_size = read_size_calc;
if (result.code == 0)
result.string += std::to_string(read_size_calc / 1024) + "KB " + std::to_string(((double)read_size_calc / (osTickCounterRead(&read_time) / 1000.0)) / 1024.0 / 1024.0) + "MB/s ";
if (result.code != 0)
{
result.string = "[Error] FSFILE_Read failed. ";
failed = true;
}
}
FSFILE_Close(fs_handle);
FSUSER_CloseArchive(fs_archive);
if(failed)
result.error_description = "sdmc:" + file_path;
return result;
}
Result_with_string File_delete_file(std::string file_name, std::string dir_path, FS_Archive fs_archive)
{
bool failed = false;
std::string file_path = dir_path + file_name;
Result_with_string result;
result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
result.code = FSUSER_DeleteFile(fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()));
if (result.code != 0)
{
result.string = "[Error] FSUSER_DeleteFile failed. ";
failed = true;
}
}
FSUSER_CloseArchive(fs_archive);
if(failed)
result.error_description = "sdmc:" + file_path;
return result;
}
Result_with_string File_check_file_size(std::string file_name, std::string dir_path, u64* file_size, Handle fs_handle, FS_Archive fs_archive)
{
bool failed = false;
std::string file_path = dir_path + file_name;
Result_with_string result;
result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
result.code = FSUSER_OpenFile(&fs_handle, fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()), FS_OPEN_READ, FS_ATTRIBUTE_ARCHIVE);
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenFile failed. ";
failed = true;
}
}
if (!failed)
{
result.code = FSFILE_GetSize(fs_handle, file_size);
if (result.code != 0)
{
result.string = "[Error] FSFILE_GetSize failed. ";
failed = true;
}
}
FSFILE_Close(fs_handle);
FSUSER_CloseArchive(fs_archive);
if(failed)
result.error_description = "sdmc:" + file_path;
return result;
}
Result_with_string File_check_file_exist(std::string file_name, std::string dir_path, Handle fs_handle, FS_Archive fs_archive)
{
bool failed = false;
std::string file_path = dir_path + file_name;
Result_with_string result;
result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
result.code = FSUSER_OpenFile(&fs_handle, fs_archive, fsMakePath(PATH_ASCII, file_path.c_str()), FS_OPEN_READ, FS_ATTRIBUTE_ARCHIVE);
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenFile failed. ";
failed = true;
}
}
FSFILE_Close(fs_handle);
FSUSER_CloseArchive(fs_archive);
if(failed)
result.error_description = "sdmc:" + file_path;
return result;
}
Result_with_string File_read_dir(int* num_of_detected, std::string file_dir_name[], int name_num_of_array, std::string type[], int type_num_of_array, std::string dir_path)
{
int count = 0;
u32 read_entry = 0;
u32 read_entry_count = 1;
bool failed = false;
char* cache;
FS_DirectoryEntry fs_entry;
Handle fs_handle;
FS_Archive fs_archive;
Result_with_string result;
cache = (char*)malloc(0x500);
result.code = FSUSER_OpenArchive(&fs_archive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, ""));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenArchive failed. ";
failed = true;
}
if (!failed)
{
result.code = FSUSER_OpenDirectory(&fs_handle, fs_archive, fsMakePath(PATH_ASCII, dir_path.c_str()));
if (result.code != 0)
{
result.string = "[Error] FSUSER_OpenDirectory failed. ";
failed = true;
}
}
if (!failed)
{
while (true)
{
if (count >= name_num_of_array || count >= type_num_of_array)
{
result.string = "[Error] array size is too small. ";
break;
}
result.code = FSDIR_Read(fs_handle, &read_entry, read_entry_count, (FS_DirectoryEntry*)&fs_entry);
if (read_entry == 0)
break;
unicodeToChar(cache, fs_entry.name, 512);
file_dir_name[count] = cache;
if (fs_entry.attributes == FS_ATTRIBUTE_HIDDEN)
type[count] = "hidden";
else if (fs_entry.attributes == FS_ATTRIBUTE_DIRECTORY)
type[count] = "dir";
else if (fs_entry.attributes == FS_ATTRIBUTE_ARCHIVE)
type[count] = "file";
else if (fs_entry.attributes == FS_ATTRIBUTE_READ_ONLY)
type[count] = "read only";
else
type[count] = "unknown";
memset(cache, 0x0, 0x500);
count++;
}
*num_of_detected = count;
}
FSDIR_Close(fs_handle);
FSUSER_CloseArchive(fs_archive);
free(cache);
return result;
}
|
658d2e746c24d0bc1bab9a68fda0c7485e8ac792
|
54cadb53c12cfd15d8225d44ebd18e6216970779
|
/Source/Project/Public/CanLookAtDecorator.h
|
ae63078c7ec50913b7faf29be80be66eaf3a4df1
|
[] |
no_license
|
cl4nk/Gladiator_UE4
|
4d8d43a2094eabe2d4abb52643c9d68e8f51a6d2
|
e8e43b71ce8ee2dc0d0db9eaec8f4c0e4c41c508
|
refs/heads/master
| 2021-05-05T15:38:54.031078
| 2017-10-02T20:58:10
| 2017-10-02T20:58:10
| 103,172,329
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 624
|
h
|
CanLookAtDecorator.h
|
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "BehaviorTree/BTDecorator.h"
#include "CanLookAtDecorator.generated.h"
/**
*
*/
UCLASS()
class PROJECT_API UCanLookAtDecorator : public UBTDecorator
{
GENERATED_UCLASS_BODY()
virtual bool CalculateRawConditionValue(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) const override;
void Trace(FHitResult& OutHit, TArray<AActor *> IgnoredActors, const AActor * From, const AActor * Target) const;
UPROPERTY(EditAnywhere)
FBlackboardKeySelector TargetKey;
UPROPERTY(EditAnywhere)
float AngleVision;
};
|
21ae9907e9a4d797000c36c4823f7861bc0174c4
|
7f62f204ffde7fed9c1cb69e2bd44de9203f14c8
|
/DboServer/Server/GameServer/WorldManager.cpp
|
bfb02e88b302e2fee57e691978e3466c2ed94b3e
|
[] |
no_license
|
4l3dx/DBOGLOBAL
|
9853c49f19882d3de10b5ca849ba53b44ab81a0c
|
c5828b24e99c649ae6a2953471ae57a653395ca2
|
refs/heads/master
| 2022-05-28T08:57:10.293378
| 2020-05-01T00:41:08
| 2020-05-01T00:41:08
| 259,094,679
| 3
| 3
| null | 2020-04-29T17:06:22
| 2020-04-26T17:43:08
| null |
UTF-8
|
C++
| false
| false
| 10,734
|
cpp
|
WorldManager.cpp
|
#include "stdafx.h"
#include "WorldManager.h"
#include "World.h"
#include "WorldFactory.h"
#include "TableContainerManager.h"
#include "char.h"
#include "NtlNavi.h"
#include "GameServer.h"
CWorldManager::CWorldManager()
{
Init();
}
CWorldManager::~CWorldManager()
{
Destroy();
}
int CWorldManager::Create(CWorldFactory *pWorldFactory, CWorldTable *pWorldTable, CWorldZoneTable *pWorldZoneTable)
{
m_pWorldFactory = pWorldFactory;
int nResult = NTL_SUCCESS;
for (CTable::TABLEIT iterTable = pWorldTable->Begin(); iterTable != pWorldTable->End(); iterTable++)
{
sWORLD_TBLDAT* pWorldData = (sWORLD_TBLDAT*)(iterTable->second);
if (pWorldData->tblidx == 430000) //dont bother creating the DBO_TEST world.
continue;
if (pWorldData->bDynamic)
{
if (pWorldData->tblidx < DYNAMIC_WORLD_SEPARATOR)
{
ERR_LOG(LOG_SYSTEM, "pTbldat->tblidx[%u] < DYNAMIC_WORLD_SEPARATOR[%u]", pWorldData->tblidx, DYNAMIC_WORLD_SEPARATOR);
break;
}
nResult = CreateDynamicWorld(pWorldData, pWorldZoneTable);
}
else
{
nResult = CreateStaticWorld(pWorldData, pWorldZoneTable);
}
if (nResult > NTL_SUCCESS)
{
ERR_LOG(LOG_SYSTEM, "NTL_SUCCESS != nResult[%u]", nResult);
break;
}
if (!m_pDefaultWorld)
{
m_pDefaultWorld = m_worldIdxList.GetFirst();
if (m_pDefaultWorld)
{
m_defaultWorldID = m_pDefaultWorld->GetID();
m_defaultWorldTblidx = m_pDefaultWorld->GetIdx();
m_vDefaultWorldLoc.operator=(pWorldData->vDefaultLoc);
m_vDefaultWorldDir.operator=(pWorldData->vDefaultDir);
}
else
{
ERR_LOG(LOG_SYSTEM, "Can't find Default World Tblidx[%u]", pWorldData->tblidx);
break;
}
}
}
return nResult;
}
void CWorldManager::Destroy()
{
for (CWorld* pWorld = m_worldList.GetFirst(); pWorld; pWorld = m_worldList.GetFirst())
{
m_worldList.RemoveWorld(pWorld);
m_pWorldFactory->Destroy(pWorld);
}
m_defaultWorldID = INVALID_WORLDID;
m_defaultWorldTblidx = INVALID_TBLIDX;
}
CWorld* CWorldManager::CreateWorld(WORLDID worldID, sWORLD_TBLDAT *pTbldat)
{
CWorld* pWorld = FindWorld(worldID);
if (pWorld && MakeWorld(pTbldat) != NULL)
pWorld->OnCreate();
else
{
ERR_LOG(LOG_SYSTEM, "pWorld == NULL. worldID[%u] worldidx[%u]", worldID, pTbldat->tblidx);
}
return pWorld;
}
CWorld* CWorldManager::CreateWorld(sWORLD_TBLDAT *pTbldat)
{
CWorld* pWorld = MakeWorld(pTbldat);
if (pWorld)
{
pWorld->OnCreate();
}
else
{
ERR_LOG(LOG_SYSTEM, "pWorld == NULL. worldidx[%u]", pTbldat->tblidx);
}
return pWorld;
}
void CWorldManager::DestroyWorld(CWorld *pWorld)
{
if (!pWorld)
{
ERR_LOG(LOG_SYSTEM, "pWorld == NULL");
}
pWorld->OnDestroy();
m_worldIdxList.RemoveWorld(pWorld);
m_worldList.RemoveWorld(pWorld);
m_worldPool.PushWorld(pWorld->GetIdx(), pWorld);
}
void CWorldManager::TickProcess(DWORD dwTickDiff, float fMultiple)
{
for (CWorld* pWorld = m_worldList.GetFirst(); pWorld; pWorld = m_worldList.GetNext())
pWorld->TickProcess(dwTickDiff, fMultiple);
}
int CWorldManager::EnterObject(CSpawnObject *pSpawnObject, WORLDID worldID, bool bIsServerStart/* = false*/)
{
CWorld* pWorld = FindWorld(worldID);
if (pWorld)
{
return pWorld->Enter(pSpawnObject, bIsServerStart);
}
return 100001;
}
int CWorldManager::LeaveObject(CSpawnObject *pSpawnObject)
{
CWorld* pWorld = pSpawnObject->GetCurWorld();
if (pWorld)
return pWorld->Leave(pSpawnObject);
return 100001;
}
int CWorldManager::ChangeWorld(CSpawnObject *pSpawnObject, WORLDID destID)
{
CWorld* pWorld = pSpawnObject->GetCurWorld();
if (pWorld)
{
if (LeaveObject(pSpawnObject) == NTL_SUCCESS)
{
return EnterObject(pSpawnObject, destID);
}
}
return 100001;
}
bool CWorldManager::IsInBoundary(WORLDID worldId, CNtlVector& rLoc)
{
CWorld* pWorld = FindWorld(worldId);
if (pWorld)
{
return pWorld->IsInBoundary(rLoc);
}
return false;
}
CWorld* CWorldManager::FindWorld(WORLDID worldId)
{
return m_worldList.FindWorld(worldId);
}
CWorld* CWorldManager::GetFirst()
{
return m_worldList.GetFirst();
}
CWorld* CWorldManager::GetNext()
{
return m_worldList.GetNext();
}
int CWorldManager::GetAvailableCount(TBLIDX tblidx)
{
return m_worldPool.GetCount(tblidx);
}
int CWorldManager::GetTotalWorldCount()
{
return m_worldPool.GetCount() + m_worldList.GetCount();
}
void CWorldManager::GetZoneAndCellTotalCount(DWORD *dwZoneCount, DWORD *dwCellCount)
{
m_worldPool.GetZoneAndCellTotalCount(dwZoneCount, dwCellCount);
}
CWorld* CWorldManager::GetDefaultWorld()
{
if (m_defaultWorldID == INVALID_WORLDID)
return NULL;
return m_pDefaultWorld;
}
CWorld* CWorldManager::MakeWorld(sWORLD_TBLDAT *pTbldat)
{
CWorld* pWorld = m_worldPool.PopWorld(pTbldat->tblidx);
if (pWorld)
{
// printf("PopWorld tblidx %u success. m_worldPool GetCount = %u \n", pTbldat->tblidx, m_worldPool.GetCount(pTbldat->tblidx));
if (m_worldList.AddWorld(pWorld))
{
if (m_worldIdxList.AddWorld(pWorld))
return pWorld;
}
else
{
m_worldPool.PushWorld(pTbldat->tblidx, pWorld);
}
}
return NULL;
}
CWorld* CWorldManager::MakeWorld(sWORLD_TBLDAT *pTbldat, WORLDID worldID)
{
CWorld* pWorld = m_worldPool.PopWorld(pTbldat->tblidx, worldID);
if (pWorld)
{
if (m_worldList.AddWorld(pWorld))
{
if (m_worldIdxList.AddWorld(pWorld))
return pWorld;
}
else
{
m_worldPool.PushWorld(pTbldat->tblidx, pWorld);
}
}
return NULL;
}
void CWorldManager::Init()
{
this->m_pWorldFactory = NULL;
this->m_pDefaultWorld = NULL;
this->m_defaultWorldID = INVALID_WORLDID;
this->m_defaultWorldTblidx = INVALID_TBLIDX;
}
int CWorldManager::CreateStaticWorld(sWORLD_TBLDAT *pTbldat, CWorldZoneTable *pWorldZoneTable)
{
int nResult = NTL_SUCCESS;
CWorld* pWorld = m_pWorldFactory->Create();
if (pWorld)
{
nResult = pWorld->Create(pTbldat->tblidx, pTbldat, pWorldZoneTable);
if (nResult != NTL_SUCCESS)
return nResult;
if (m_worldList.AddWorld(pWorld))
{
if (m_worldIdxList.AddWorld(pWorld))
{
pWorld->OnPreCreate();
return NTL_SUCCESS;
}
else nResult = 100001;
}
else
{
nResult = 100001;
}
}
else nResult = 100003;
return nResult;
}
int CWorldManager::CreateDynamicWorld(sWORLD_TBLDAT *pTbldat, CWorldZoneTable *pWorldZoneTable)
{
int nResult = NTL_SUCCESS;
if (pTbldat->nCreateCount <= MAX_DYNAMIC_WORLD_CREATE_COUNT)
{
for (int i = 0; i < pTbldat->nCreateCount; i++)
{
if (i > 50)
break;
CWorld* pWorld = m_pWorldFactory->Create();
if (!pWorld)
{
ERR_LOG(LOG_SYSTEM, "CWorld Memory Alloc Fail");
return 100003;
}
WORLDID worldID = i + pTbldat->tblidx;
nResult = pWorld->Create(worldID, pTbldat, pWorldZoneTable);
if (nResult != NTL_SUCCESS)
{
printf("Fail : pWorld->Create( worldID[%u], pTbldat[%u] )", worldID, pTbldat->tblidx);
m_pWorldFactory->Destroy(pWorld);
return nResult;
}
if (!m_worldPool.PushWorld(pTbldat->tblidx, pWorld))
{
printf("Fail : m_worldPool.PushWorld( pTbldat->tblidx[%u], pWorld[%u] )", pTbldat->tblidx, worldID);
nResult = 100001;
m_pWorldFactory->Destroy(pWorld);
break;
}
pWorld->OnPreCreate();
// break;
}
}
else
{
printf("World[%u] Table Dynamic CreateCount[%u] > MAX_DYNAMIC_WORLD_CREATE_COUNT[%u]", pTbldat->tblidx, pTbldat->nCreateCount, MAX_DYNAMIC_WORLD_CREATE_COUNT);
nResult = 100001;
}
return nResult;
}
float CWorldManager::GetAdjustedHeight(WORLDID worldId, float fX, float fY, float fZ, int nVertRange)
{
CGameServer* app = (CGameServer*)g_pApp;
if (app->m_config.m_bEnableNavigator)
{
CWorld* pWorld = FindWorld(worldId);
if (pWorld == NULL)
return fY;
if (GetNaviEngine()->IsPathDataLoaded(pWorld->GetTbldat()->dwWorldResourceID))
{
float fNewY;
long lHeight = GetNaviEngine()->GetFastHeight(pWorld->GetNaviInstanceHandle(), fX, fY, fZ, fNewY, nVertRange);
if (lHeight == 0xFFFFFFFF)
{
ERR_LOG(LOG_USER, "Any object can't spawn at this point., worldId = %u, fX = %f, fY = %f, fZ = %f", worldId, fX, fY, fZ);
return fY;
}
return fNewY;
}
}
return fY;
}
bool CWorldManager::GetDestLocAfterCollision(CWorld * pCurWorld, CCharacter * pChar, CNtlVector & rvShift, CNtlVector & rvDestLoc, CNtlVector & rvNewDir)
{
if (pCurWorld && pChar)
{
if (rvShift.x != 0.0f && rvShift.z != 0.0f)
{
CNtlVector vDestLoc(pChar->GetCurLoc() + rvShift);
if (GetNaviEngine()->IsPathDataLoaded(pCurWorld->GetTbldat()->dwWorldResourceID))
{
vDestLoc.y = GetAdjustedHeight(pCurWorld->GetID(), vDestLoc.x, vDestLoc.y, vDestLoc.z, 5000);
sNAVI_POS sNaviCurLoc(pChar->GetCurLoc().x, pChar->GetCurLoc().y, pChar->GetCurLoc().z);
sNAVI_POS sNaviDestLoc(vDestLoc.x, vDestLoc.y, vDestLoc.z);
sNAVI_POS sFirstCollisionPos;
float fAgentRadius = Dbo_ConvertToAgentRadius(pChar->GetObjectRadius());
// CSimplePerfomanceChecker::CSimplePerfomanceChecker(&v44);
// CSimplePerfomanceChecker::Start(&v44)
eCOL_TEST_RESULT eResult = GetNaviEngine()->FastFirstCollisionTest(pCurWorld->GetNaviInstanceHandle(), fAgentRadius, sNaviCurLoc, sNaviDestLoc, sFirstCollisionPos);
switch (eResult)
{
case eCOL_TEST_RESULT_COL:
case eCOL_TEST_RESULT_NO_COL:
{
if (eResult == eCOL_TEST_RESULT_COL)
{
rvDestLoc.CopyFrom(sFirstCollisionPos.x, sFirstCollisionPos.y, sFirstCollisionPos.z);
}
else
{
float fNewY = 0.0f;
long lHeight = GetNaviEngine()->GetFastHeight(pCurWorld->GetNaviInstanceHandle(), vDestLoc.x, vDestLoc.x, vDestLoc.z, fNewY, 5000);
if (lHeight == 0xFFFFFFFF)
{
return false;
}
rvDestLoc.x = vDestLoc.x;
rvDestLoc.y = fNewY;
rvDestLoc.z = vDestLoc.z;
}
rvNewDir = rvShift;
// rvNewDir -= v49; //TODO
if (rvNewDir.SafeNormalize() == false)
{
rvNewDir = pChar->GetCurDir();
}
return true;
}
break;
default: return false;
}
}
else
{
rvDestLoc.operator=(vDestLoc);
rvNewDir.operator=(rvShift);
if (!rvNewDir.SafeNormalize())
rvNewDir.operator=(pChar->GetCurDir());
}
}
else
{
rvDestLoc.operator=(pChar->GetCurLoc());
rvNewDir.operator=(pChar->GetCurDir());
}
return true;
}
else
ERR_LOG(LOG_GENERAL, "pCurWorld = %016x, pChar = %016x", pCurWorld, pChar);
return false;
}
void CWorldManager::GetTextMemoryUseInfo(char * buff, int nBuffSize)
{
/*int totalNpc;
int nSuPetCount;
int nPetSize;
int nNpcCount;
int nSuPetSize;
int totalMob;
int nPcCount;
int totalSuPet;
int nNpcSize;
int totalPet;
int nMobCount;
int nPcSize;
int totalPc;
int nPetCount;
int nMobSize;
sprintf_s(buff, nBuffSize, "WORLD,%d,%d,%I64d,ZONE,%I64d,%d,%I64d,CELL,%I64d,%d,%I64d", v17);*/
}
|
bab33d9fb64c413ad8b5d32fa78f922d192d4399
|
abac66205dd0ce94edbf8e733659457402abe848
|
/94-Binary Tree Inorder Traversal-C++/main.cpp
|
1ba72257f3a27219785801d3a79d8f6400d77e4e
|
[] |
no_license
|
delta1037/LeetCode
|
83d718776aefc482eb9852a80be92fa6e45a4142
|
7bb791823e8546cfa051af747ac30c5008c5db61
|
refs/heads/master
| 2021-09-19T23:31:54.132222
| 2018-08-01T09:27:07
| 2018-08-01T09:27:07
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 944
|
cpp
|
main.cpp
|
#include <iostream>
#include <vector>
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
vector<int> inorderTraversal(TreeNode* root) {
vector<int> result;
TreeNode *buf;
while (root){
if(root->left){
buf=root->left;
while (buf->right){
buf=buf->right;
}
buf->right=root;
buf=root->left;
root->left=NULL;
root=buf;
}else{
result.push_back(root->val);
root=root->right;
}
}
return result;
}
};
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
|
c740beff992ee4420aed4e1639e7602cea936613
|
0702aaa2ab86f06fedc7e8fcddb7f2f16e2489e6
|
/src/versioninfo.h
|
9a44d48ab4a03991b67a178702353f5ee147b4a9
|
[] |
no_license
|
BenWenger/lusch
|
c31c81a706ded9803ff49b6bc5244036a6bf8aad
|
c3002745931afef96b8a2b9826a9089bac729e4b
|
refs/heads/master
| 2020-06-19T04:54:26.063586
| 2017-10-19T19:18:00
| 2017-10-19T19:18:00
| 94,177,540
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 913
|
h
|
versioninfo.h
|
#ifndef LUSCH_VERIONINFO_H_INCLUDED
#define LUSCH_VERIONINFO_H_INCLUDED
namespace lsh
{
namespace
{
/////////////////////////////////////////////
// Settings File
const char* const settingsFileHeaderString = "Lusch settings file";
const char* const settingsFileVersion = "Dev pre-alpha";
/////////////////////////////////////////////
// Project Files
const char* const projectFileHeaderString = "Lusch project file";
const char* const projectFileVersion = "Dev pre-alpha";
/////////////////////////////////////////////
// Blueprint Files
const char* const blueprintFileHeaderString = "Lusch project file";
const char* const blueprintFileLuschVersion = "Dev pre-alpha";
const char* const blueprintFileVersion = "Dev pre-alpha";
}
}
#endif
|
78d25b751e9451fd0b07020d5d51c27580f7c285
|
af96a2fc2b01fcea3db4ef453c5098df9c29081c
|
/tools.cpp
|
eaa2747ffa21ecf4ba1b61e5e3f929f43c48be7f
|
[] |
no_license
|
Norcrossover/Table-Waiting-App
|
47186f065ac00a24996718e16d3e1e99d4f68ffd
|
9eb5fed61e6b3950d8afcc5723b3118100210f16
|
refs/heads/main
| 2023-06-28T16:39:14.463985
| 2021-08-03T04:44:56
| 2021-08-03T04:44:56
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,896
|
cpp
|
tools.cpp
|
// Kobe Norcross, CS 260, tools.cpp
// Implementation file for all of the helper functions
#include "tools.h"
void printOptions()
{
cout << endl << endl << endl;
cout << "=======================================================" << endl << endl;
cout << " OPTIONS" << endl;
cout << " -------" << endl << endl;
cout << "1. Add a new group to the waiting list." << endl << endl;
cout << "2. Seat the next group in the waiting list." << endl << endl;
cout << "3. Display the waiting list." << endl << endl;
cout << "4. Display the next group to be seated." << endl << endl;
cout << "5. Send promotional material to the newest contact." << endl << endl;
cout << "6. Display newest contact. " << endl << endl;
cout << "7. Check if the contact list is empty or not." << endl << endl;
cout << "8. Quit" << endl << endl;
cout << "=======================================================" << endl << endl;
}
void getOption(int& option)
{
cout << "Enter an option listed -> ";
cin >> option;
while (!cin || option < 1 || option > 8)
{
cin.clear();
cin.ignore(MAXSIZE, '\n');
cout << "Invalid option, try again -> ";
cin >> option;
cout << endl;
}
}
int mainFunction(Queue& aQueue, int option)
{
if (option == 1)
{
aQueue.newGroup();
return option;
}
else if (option == 2)
{
aQueue.dequeue();
return option;
}
else if (option == 3)
{
aQueue.display();
return option;
}
else if (option == 4)
{
aQueue.peek();
return option;
}
else if (option == 5)
{
aQueue.sendEmail();
return option;
}
else if (option == 6)
{
aQueue.stackPeek();
}
else if (option == 7)
{
aQueue.stackPeek();
}
else if (option == 8)
{
return option;
}
else
{
cout << "Invalid option, try again" << endl << endl;
return option;
}
}
|
b3cea1e395ce40ccd9c76ec0884d34de5ba15fad
|
237197ec6d89a7eb62f6f0df98934f0202e86772
|
/macintosh/adobe/macintosh_carbon_safe.hpp
|
1a1540675120242a8d7930fc9385154b4889e98e
|
[] |
no_license
|
ilelann/adobe_platform_libraries
|
acb7efab62cbae6fce61ef2c04cc080f6d085de7
|
55768ef67fdc24dd018e3e674dfe2d63754db5a9
|
refs/heads/master
| 2021-01-18T04:58:32.699240
| 2017-10-30T00:31:40
| 2018-07-19T06:42:11
| 20,827,777
| 2
| 0
| null | 2015-04-07T21:27:54
| 2014-06-14T07:54:34
|
C++
|
UTF-8
|
C++
| false
| false
| 1,244
|
hpp
|
macintosh_carbon_safe.hpp
|
/*
Copyright 2013 Adobe
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************************/
#ifndef ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP
#define ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP
/****************************************************************************************************/
#ifdef __MWERKS__
#pragma warn_implicitconv off
#endif
#include <Carbon/Carbon.h>
#include <AudioToolbox/AudioServices.h>
#ifdef __MWERKS__
#pragma warn_implicitconv reset
#endif
/*
REVISIT (sparent) : Apple insists that you include the entire Carbon/Carbon.h framework to
use any of Carbon. This header file #defines check which conflicts with boost. The work-
around is to undef check here.
(In an unbelieveable set of circumstances, I wrote the check macro!)
*/
#ifdef check
#undef check
#endif
/****************************************************************************************************/
#endif
/****************************************************************************************************/
|
758288ed03fa07bd7b41d1eaa177b68155dedf7f
|
1f83dde7406ac2495136da7e37914975cbc14df9
|
/progteam/kattis/batterup.cpp
|
11783d85b0578b0a296c7e4bb0864627e6532700
|
[] |
no_license
|
FernandoCaudillo10/programmingTeamChallenges
|
fedee59a816827908ecb3c22c4774a6885d13a79
|
698b4f245ee70747f8b54f80e4a0fd4888802670
|
refs/heads/master
| 2021-09-07T08:14:40.370955
| 2018-02-20T02:06:33
| 2018-02-20T02:06:33
| 108,187,993
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 226
|
cpp
|
batterup.cpp
|
#include <iostream>
using namespace std;
int main(){
int t, avg=0, tc=0;
cin >> t;
while(t-->0){
int num;
cin >> num;
if(num == -1){
continue;
}
avg += num;
tc++;
}
cout << avg/(double)tc;
return 0;
}
|
4696bc1f1a70ab71310205fbf3bab1fce614f5c3
|
25844df17a7f79911f4481809baba4d9c4f1ad3b
|
/Expressions/AddExpr.h
|
fcb7ea25847b4f4f658cfb4f91cd9533d4af9405
|
[] |
no_license
|
VladimirVolodya/Pascal_Interpreter
|
c756599d9a5b9d97834481feba4232e080f01f19
|
8332992b7d3fc9e1d3102db5b1cc746cf6cffde5
|
refs/heads/master
| 2023-02-24T21:52:38.165018
| 2020-12-24T15:27:10
| 2020-12-24T15:27:10
| 319,766,788
| 0
| 0
| null | 2020-12-24T15:26:22
| 2020-12-08T21:36:07
|
C++
|
UTF-8
|
C++
| false
| false
| 342
|
h
|
AddExpr.h
|
#ifndef PARSEREXAMPLE_ADDEXPR_H
#define PARSEREXAMPLE_ADDEXPR_H
#include "BaseElements/BaseExpr.h"
class AddExpr : public BaseExpr {
public:
AddExpr(BaseExpr* p_lhs, BaseExpr* p_rhs);
BaseExpr* p_lhs;
BaseExpr* p_rhs;
~AddExpr() override;
var_t Accept(Visitor& visitor) override;
};
#endif //PARSEREXAMPLE_ADDEXPR_H
|
6eb1ef72836a2d74f8792b73bd04cd6249d59ccb
|
2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85
|
/codeforces/gym/NCPC 2017/CF101572I.cpp
|
cc65d96abdda8d6888ea5e490aeab4f49629ced9
|
[] |
no_license
|
OrigenesZhang/-1s
|
d12bad12dee37d4bb168647d7b888e2e198e8e56
|
08a88e4bb84b67a44eead1b034a42f5338aad592
|
refs/heads/master
| 2020-12-31T00:43:17.972520
| 2020-12-23T14:56:38
| 2020-12-23T14:56:38
| 80,637,191
| 4
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,950
|
cpp
|
CF101572I.cpp
|
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for (long long i = (a); i <= (b); i++)
#define FORD(i,a,b) for (long long i = (a); i >= (b); i--)
#define REP(i,a) FOR(i,0,(long long)(a)-1)
#define reset(a,b) memset(a,b,sizeof(a))
#define all(x) x.begin(), x.end()
#define uni(x) x.erase(unique(all(x)), x.end());
#define BUG(x) cout << #x << " = " << x << endl
#define BUGP(x) cout << #x << " = " << x._1 << ", " << x._2 << endl
#define PR(x,a,b) {cout << #x << " = "; FOR (_,a,b) cout << x[_] << ' '; cout << endl;}
#define CON(x) {cout << #x << " = "; for(auto _i:x) cout << _i << ' '; cout << endl;}
#define mod 1000000007
#define pi acos(-1)
#define eps 1e-8
#define pb push_back
#define sqr(x) (x) * (x)
#define _1 first
#define _2 second
using namespace std;
int n, cnt;
string s[555], ss, line;
map<string, int> id;
vector<int> adj[555], ans;
int bfs[555], pre[555];
queue<int> q;
void trace(int cur, int x) {
ans.clear();
while (cur != x) ans.pb(cur), cur = pre[cur];
ans.pb(x);
}
void solve(int x) {
reset(bfs, -1);
bfs[x] = 0;
q.push(x);
while (q.size()) {
int cur = q.front();
q.pop();
for (auto nex: adj[cur]) {
if (nex == x && (bfs[cur] + 1 < ans.size() || ans.empty())) trace(cur, x);
else if (bfs[nex] == -1) bfs[nex] = bfs[cur] + 1, q.push(nex), pre[nex] = cur;
}
}
}
int main() {
cin >> n;
REP (i, n) cin >> s[i], id[s[i]] = i;
REP (i, n) {
cin >> ss >> cnt;
int cur = id[ss];
while (cnt--) {
line = "";
while (line == "") getline(cin, line);
stringstream sss(line);
sss >> ss;
while (sss >> ss) {
if (ss[ss.size() - 1] == ',') ss = ss.substr(0, ss.size() - 1);
adj[cur].pb(id[ss]);
}
}
}
REP (i, n) solve(i);
reverse(all(ans));
if (ans.size()) for (auto i: ans) cout << s[i] << ' ';
else cout << "SHIP IT";
}
|
3818ccf8ece6b3f72af744b1a9a3d1ceb52761b5
|
13396abd486a21ebaec813efed3e5b839abca3d0
|
/OpenGL_Polys.cpp
|
4ace08a9d02e439a935788aafd71355f303fef35
|
[] |
no_license
|
soggyburito/openglPolys
|
ee58cbd971780084f1f6edd46271f499b343c1f4
|
abcbc2c4d8ae552f85945e6ff8622ec0bbdd34dc
|
refs/heads/master
| 2021-04-09T11:09:05.087321
| 2018-03-16T15:12:40
| 2018-03-16T15:12:40
| 125,532,116
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 4,355
|
cpp
|
OpenGL_Polys.cpp
|
#include <iostream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <chrono>
const char* vertexSource = R"glsl(#version 150 core
in vec2 position;
in float color;
out float Color;
void main(){
Color=color;
gl_Position = vec4(-position, 0.0, 1.0);
})glsl";
const char* fragmentSource = R"glsl(
#version 150 core
in float Color;
out vec4 outColor;
void main(){
outColor = vec4(Color, Color,Color,1.0);
})glsl";
const char* colorUniform = R"glsl(
#version 150 core
uniform vec3 triangleColor;
out vec4 outColor;
void main(){
outColor = vec4(Color,1.0);
})glsl";
int main(){
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);
GLFWwindow* window = glfwCreateWindow(800, 600, "OpenGL Polys", nullptr, nullptr);
glfwMakeContextCurrent(window);
glewExperimental = GL_TRUE;
glewInit();
GLuint vertexBuffer;
glGenBuffers(1, &vertexBuffer);
printf("%u\n", vertexBuffer);
/*float vertices[] = {
0.0f, 0.5f, //vertex1(0.0,0.5)(x,y) \
0.5f, -0.5f,//vertex2(0.5,-0.5)(x,y) vertices without colors
-0.5f, -0.5f//vertex3(-0.5,-0.5)(x,y)/
};*/
/*float vertices[] = {
-0.5f, 0.5f, 1.0f, 0.0f, 0.0f, // Top-left
0.5f, 0.5f, 0.0f, 1.0f, 0.0f, // Top-right
0.5f, -0.5f, 0.0f, 0.0f, 1.0f, // Bottom-right
//-0.5f, -0.5f, 1.0f, 1.0f, 1.0f // Bottom-left
};*/
float vertices[] = {
0.0f, 0.5f, 0.0f, // Vertex 1: Red
0.5f, -0.5f, 0.5f, // Vertex 2: Green
-0.5f, -0.5f, 1.0f// Vertex 3: Blue
};
GLuint elements[] = {
0, 1, 2,
2, 3, 0
};
GLuint vao;
glGenVertexArrays(1, &vao);
glBindVertexArray(vao);
GLuint vbo;
glGenBuffers(1, &vbo);//generates 1 buffer
glBindBuffer(GL_ARRAY_BUFFER, vbo);
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
GLuint ebo;
glGenBuffers(1, &ebo);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ebo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(elements), elements, GL_STATIC_DRAW);
//compile vertex shader
GLuint vertexShader = glCreateShader(GL_VERTEX_SHADER);
glShaderSource(vertexShader, 1, &vertexSource, NULL);
glCompileShader(vertexShader);
GLint status;
glGetShaderiv(vertexShader, GL_COMPILE_STATUS, &status);
if (!status){
printf("error compiling vertex shader");
return 4;
}
//compile fragment shader
GLuint fragmentShader = glCreateShader(GL_FRAGMENT_SHADER);
glShaderSource(fragmentShader, 1, &fragmentSource, NULL); //glShaderSource(fragmentShader, 1, &fragmentSource, NULL);replace &fragmentShader with &colorUnifrom
glCompileShader(fragmentShader);
glGetShaderiv(fragmentShader, GL_COMPILE_STATUS, &status);
if (!status){
printf("error compiling fragment shader");
return 5;
}
//combine shaders into a program
GLuint shaderProgram = glCreateProgram();
glAttachShader(shaderProgram, vertexShader);
glAttachShader(shaderProgram, fragmentShader);
glBindFragDataLocation(shaderProgram, 0, "outColor"); // not necessary with only one output
glLinkProgram(shaderProgram);
glUseProgram(shaderProgram);
GLint posAttrib = glGetAttribLocation(shaderProgram, "position");
glVertexAttribPointer(posAttrib, 2, GL_FLOAT, GL_FALSE, 3*sizeof(GLfloat), 0);
glEnableVertexAttribArray(posAttrib);
GLint colAttrib = glGetAttribLocation(shaderProgram, "color");
glEnableVertexAttribArray(colAttrib);
glVertexAttribPointer(colAttrib, 1, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), (void*)(2 * sizeof(GLfloat)));
//GLint uniColor = glGetUniformLocation(shaderProgram, "triangleColor");
//glUniform3f(uniColor, 1.0f, 0.0f, 0.0f);
while (!glfwWindowShouldClose(window)){
//auto t_start = std::chrono::high_resolution_clock::now();
glfwSwapBuffers(window);
glfwPollEvents();
glDrawArrays(GL_TRIANGLES, 0, 3);
//glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, 0);
//auto t_now = std::chrono::high_resolution_clock::now();
//float time = std::chrono::duration_cast<std::chrono::duration<float>>(t_now - t_start).count();
//glUniform3f(uniColor, (sin(time*4.0f) + 1.0f) / 2.0f, 0.0f, 0.0f);
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS){
glfwSetWindowShouldClose(window, GL_TRUE);
}
}
glfwTerminate();
return 0;
}
|
0c0fb9ea0555c595fb9e8aedad0a9ed7abd9b790
|
19c1f3a8d3b370ab8e8c0596579b22f46cd0e958
|
/20-Reference.cpp
|
379f965fde1bd8639eadb56d4dbaaaed890c7e5f
|
[] |
no_license
|
hoklavat/beginner-cpp
|
dbab715cee9d3cb7cd4ff78b78562ed88260aec9
|
838f21de713fcb8d2d58ae38d43495c549e78511
|
refs/heads/master
| 2023-01-08T17:38:14.747038
| 2020-11-09T14:09:27
| 2020-11-09T14:09:27
| 294,480,949
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 587
|
cpp
|
20-Reference.cpp
|
//20-Reference
//reference directive: process with variable itself rather than creating a copy.
#include <iostream>
#include <vector>
using namespace std;
int main(){
int n1{100};
int &r1{n1}; //r1 is reference to n1.
vector<string> v1 {"Ali", "Burhan", "Cemal"};
cout << "r1=" << r1 << ", n1=" << n1 << endl;
r1 = 200;
cout << "r1=" << r1 << ", n1=" << n1 << endl;
for(auto s: v1)
cout << s << " ";
cout << endl;
for(auto &s: v1) //const auto &s: error, const auto s: remains unchanged
s = "None";
for(auto s: v1)
cout << s << " ";
cout << endl;
return 0;
}
|
dcef10700d90887e2caccb94e44e3f6fcca63e11
|
289eed19480194a4e8e79db91a0521dd72c7ef5f
|
/ๅๅญ่ฟๅ/Compute the distances between leaves.cpp
|
649fc0702382b3d9a144f0819f8d4dc421dcbcc0
|
[] |
no_license
|
luoguanghao/bioinfo_algo_script
|
86190b9611ea4e47bf2e25b5b876709ecfde5d69
|
5937a4744da7a33bd1ea585676e048479433fe51
|
refs/heads/master
| 2020-05-30T15:57:23.996963
| 2020-04-09T08:32:42
| 2020-04-09T08:32:42
| 189,834,435
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,915
|
cpp
|
Compute the distances between leaves.cpp
|
/*
Distances Between Leaves Problem: Compute the distances between leaves in a weighted tree.
Input: An integer n followed by the adjacency list of a weighted tree with n leaves.
Output: An n x n matrix (di,j), where di,j is the length of the path between leaves i and j.
Code Challenge: Solve the Distances Between Leaves Problem. The tree is given as an adjacency list of a graph whose leaves are integers between 0 and n - 1; the notation a->b:c means that node a is connected to node b by an edge of weight c. The matrix you return should be space-separated.
----------
Sample Input:
4
0->4:11
1->4:2
2->5:6
3->5:7
4->0:11
4->1:2
4->5:4
5->4:4
5->3:7
5->2:6
-------------
Sample Output:
0 13 21 22
13 0 12 13
21 12 0 13
22 13 13 0
-------------
Lo Kwongho 2018.9
*/
#include <iostream>
#include <vector>
using namespace std;
const int INF = 999999;
const int maxn = 70;
int main(int argc, char *argv[]) {
int n;
int Graph[maxn][maxn];
for(int i=0;i<maxn;i++){
for(int j=0;j<maxn;j++){
if(i==j)
Graph[i][j]=0;
else
Graph[i][j]=INF;
}
}
int v1,v2,tmpw;
scanf("%d",&n);
int outDegree[maxn] = {0};
while(1){
scanf("%d",&v1);
if(v1==-1)
break;
outDegree[v1]++;
scanf("->%d:%d",&v2,&tmpw);
Graph[v1][v2]=tmpw;
}
vector<int> leave;
for(int i=0;i<maxn;i++){
if(outDegree[i]==1){
leave.push_back(i);
//printf("%d ",i);
}
}
printf("%d\n",leave.size());
/*
for(int i=0;i<6;i++){
for(int j=0;j<6;j++){
printf("%3d",Graph[i][j]);
}
printf("\n");
}
*/
for(int v=0;v<maxn;v++){
for(int i=0;i<maxn;i++){
for(int j=0;j<maxn;j++){
if(Graph[i][v]<INF&&Graph[v][j]<INF&&Graph[i][j]>Graph[i][v]+Graph[v][j]){
Graph[i][j]=Graph[i][v]+Graph[v][j];
}
}
}
}
for(int i=0;i<leave.size();i++){
for(int j=0;j<leave.size();j++){
printf("%d",Graph[i][j]);
if(j!=leave.size()-1)
printf(" ");
}
printf("\n");
}
}
|
16ba296c6198d78dd2425ee94122bf4877193a12
|
19d92ec2e125803bd892b3dc806d475ad775b43c
|
/src/item7/partial_delete.cpp
|
f5011f725135bf673280955c1508eb83b03f8bd6
|
[] |
no_license
|
xiaoqiangkx/effective_cpp_notes
|
18fa3f224cbac818d6f525385832a6682bad374d
|
168df21fc69f70278a6626c2f7a01527b3ac9975
|
refs/heads/master
| 2021-01-18T16:04:38.278074
| 2014-05-12T13:58:30
| 2014-05-12T13:58:30
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 993
|
cpp
|
partial_delete.cpp
|
#include <iostream>
class Base {
public:
virtual ~Base() {}
virtual void test() {}
private:
static int a;
int b; // ไธๆฆๆทปๅ ่ฟไธชๅ, sizeof(Base) ๆไธบไบ16, ็ฑไบๅฟ
้กปๅฏน้ฝไธบ8็ๅๆฐ
};
// int Base::a = 1;
class Derived: public Base {
public:
Derived(): p(new char[10]) {}
~Derived() { delete [] p; }
private:
int c; // ๅณไฝฟไธ่ฐ็จๆฌๆๆๅฝๆฐ, cไนๆฏไผ่ขซ่ฐ็จ็.
char *p;
};
int main() {
// ่ๅฝๆฐๆ้ๆฏๆฏไธชๅฏน่ฑก็ฌๆ็.
std::cout << "size of empty Base is " << sizeof(Base) << std::endl;
Base b;
std::cout << "size of empty Base object is " << sizeof(b) << std::endl;
std::cout << "size of empty Derived is " << sizeof(Derived) << std::endl;
Derived d;
std::cout << "size of empty Derived object is " << sizeof(d) << std::endl;
// ๅฑ้จ้ๆฏ็ฐ่ฑก, ไฝฟ็จvalgrindๆฅ่ฏดๆ.
Base *base = new Derived();
delete base;
return 0;
}
|
8cc14f28f9846a930fba89a0a1327652c9870266
|
91f1d5b6789fbc97191dcac3e18a77c5d141e639
|
/linux/sources/server/http/HtmlManager.cpp
|
d7ddd7a48f99854b547a80651503757525a35980
|
[] |
no_license
|
werayn/cpp_zia
|
632d1041f601a7972b01c2fe6439b6b5f1f19262
|
4d834230e2499ba3f6e2baff4fcf4b5cc15b7c1c
|
refs/heads/master
| 2020-04-17T18:03:14.008953
| 2019-01-21T12:30:45
| 2019-01-21T12:30:45
| 166,809,633
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,190
|
cpp
|
HtmlManager.cpp
|
#include "http/HtmlManager.hpp"
namespace zia::api {
std::string HtmlManager::viewDirectory(std::string const &path, std::string uri) {
std::string body = Utils::readFile(VIEW_DIR_FILE);
DIR *dir = opendir(path.c_str());
struct dirent *odir = NULL;
if (!(dir = opendir(path.c_str())))
throw FileNotFound("file not found : " + path);
body.replace(body.find("[path]"), 6, uri);
if (uri[uri.size() - 1] != '/')
uri += "/";
std::string list = "<ul>";
while ((odir = readdir(dir)) != NULL) {
if (odir->d_name[0] != '.')
list += "<li><a href=\"" + uri + odir->d_name + "\">" + std::string(odir->d_name) + "</a></li>";
}
list += "</ul>";
body.replace(body.find("[list]"), 6, list);
closedir(dir);
return body;
}
std::string HtmlManager::viewError(http::Status const &status, std::string const &reason, std::string const &host) {
std::string body = Utils::readFile(VIEW_ERROR_FILE);
body.replace(body.find("[status]"), 8, std::to_string(status));
body.replace(body.find("[reason]"), 8, reason);
body.replace(body.find("[host]"), 6, host);
return body;
}
} /* zia::api */
|
0d3867dc18cd1311ebe20c73a1be6a00478cccac
|
8a59f50cd2d8f786a6b5fad9a7cfb81d3d3f7f01
|
/Old stuff/includes/stack.h
|
fe77d190b01c546e8ea0f685ed68c904d288c944
|
[] |
no_license
|
jjasoliya/Algorithms
|
44f0da41ce4dfea63203b0d72af0d7d278f281b1
|
7b86dff2bbff52832f2bcc822009388f0b171917
|
refs/heads/master
| 2022-04-27T15:35:52.527366
| 2022-04-11T00:10:53
| 2022-04-11T00:10:53
| 83,158,624
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 559
|
h
|
stack.h
|
// class for stack
#define MAX_SIZE 5
class stack
{
public:
stack()
{
int stack_pointer = 0;
};
~stack()
{
};
void push(int item);
int pop();
int stack_pointer;
int stack_arr[MAX_SIZE];
private:
};
void stack::push(int item)
{
if (stack_pointer == MAX_SIZE)
{
cout << "Stack is FULL.." << endl;
return;
}
stack_arr[stack_pointer] = item;
stack_pointer++;
}
int stack::pop()
{
if (stack_pointer <= 0)
{
cout << "Stack is EMPTY" << endl;
return 0;
}
stack_pointer--;
int data = stack_arr[stack_pointer];
return data;
}
|
1cf639a0937e68ba3a3c8f6cdbc1a80fa83876ad
|
335efdfc6d9e86630c6ed9b53b332991a71e7795
|
/include/selfup/ns_log.h
|
690e1e2eed25fea269188385d2a8c97d9d839c01
|
[] |
no_license
|
nOOb3167/gittest_selfup_ns
|
ce1e54a298222e604b7a2711e51ac12a3be903d3
|
0c44b7ecfaae8cd093ecf6ec74bd3786cb68656d
|
refs/heads/master
| 2021-05-10T21:17:47.457797
| 2018-04-09T02:02:24
| 2018-04-09T02:02:24
| 118,224,313
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,174
|
h
|
ns_log.h
|
#ifndef _NS_LOG_H_
#define _NS_LOG_H_
#include <memory>
#include <mutex>
#include <stdexcept>
#include <string>
#include <selfup/ns_systemd.h>
#define NS_LOG_SZ(msg, msg_len) do { g_log->logSimple((msg), (msg_len)); } while (0)
#define NS_SOG_DUMP(msg, msg_len) do { g_log->srvLogDump((msg), (msg_len)); } while (0)
#define NS_SOG_PF(...) do { g_log->srvLogPf(__FILE__, __LINE__, __VA_ARGS__); } while(0)
namespace ns_log
{
class NsLogTls
{
public:
NsLogTls() :
m_empty()
{}
virtual ~NsLogTls() {};
virtual std::string & virtualGetIdent() { return m_empty; };
private:
std::string m_empty;
};
class NsLog
{
public:
NsLog();
std::mutex & getMutex() { return m_mutex; }
std::string & getBuf() { return m_buf; }
void logSimple(const char *msg, size_t msg_len);
void srvLogDump(const char *data, size_t data_num);
void srvLogPf(const char *cpp_file, int cpp_line, const char *format, ...);
static void initGlobal();
static void threadInitTls(NsLogTls *log_tls);
private:
std::mutex m_mutex;
std::string m_buf;
ns_systemd_fd m_fd;
};
} /* namespace ns_log */
extern std::unique_ptr<ns_log::NsLog> g_log;
#endif /* _NS_LOG_H_ */
|
9caa9d72a0a52fae3ddfb95108575585bb895541
|
52c7069296f37db4298b83903371fb3ad426e391
|
/CallControlServer/reflow/dtls_wrapper/test/TestTimerContext.cxx
|
68cc899dda0ecdf3c26a1c5e1095de6001a95d67
|
[
"BSD-3-Clause"
] |
permissive
|
github188/zjsipserver
|
4c8f3dfabca83bac5066859d188345dc0e3e0a59
|
829234121573e41ae7ab9a3b9f7a584eeb905964
|
refs/heads/master
| 2021-01-11T04:54:40.965594
| 2009-02-16T03:08:13
| 2009-02-16T03:08:13
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,544
|
cxx
|
TestTimerContext.cxx
|
#include <iostream>
#include "DtlsTimer.hxx"
#include "TestTimerContext.hxx"
#include "rutil/Timer.hxx"
using namespace std;
using namespace dtls;
using namespace resip;
TestTimerContext::TestTimerContext()
{
mTimer=0;
}
void
TestTimerContext::addTimer(DtlsTimer *timer, unsigned int lifetime)
{
if(mTimer)
delete mTimer;
mTimer=timer;
UInt64 timeMs=Timer::getTimeMs();
mExpiryTime=timeMs+lifetime;
cerr << "Setting a timer for " << lifetime << " ms from now" << endl;
}
UInt64
TestTimerContext::getRemainingTime()
{
UInt64 timeMs=Timer::getTimeMs();
if(mTimer)
{
if(mExpiryTime<timeMs)
return(0);
return(mExpiryTime-timeMs);
}
else
{
return Timer::getForever();
}
}
void
TestTimerContext::updateTimer()
{
UInt64 timeMs=Timer::getTimeMs();
if(mTimer)
{
if(mExpiryTime<timeMs)
{
DtlsTimer *tmpTimer=mTimer;
mTimer=0;
fire(tmpTimer);
}
}
}
/* ====================================================================
Provided under the terms of the Vovida Software License, Version 2.0.
The Vovida Software License, Version 2.0
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
IN EXCESS OF $1,000, NOR FOR ANY 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.
==================================================================== */
|
c74cb503fe3e6aed622e8f8939163cb03f305a95
|
8979c43a5a7810d2f099b30a936b321d672c8608
|
/TwoServo/TwoServo/TwoServo.ino
|
f3bd14da24230c8da555e98527739716c13e0107
|
[] |
no_license
|
OUinterncode/Antennae
|
0903c700125ef4349cba9da13a204227fc0032a2
|
056a9e6806d9cd19ce96ea69579d0e05648cde03
|
refs/heads/master
| 2020-05-17T22:23:41.712815
| 2012-08-27T15:05:21
| 2012-08-27T15:05:21
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,211
|
ino
|
TwoServo.ino
|
#include <Servo.h>
Servo servoSetH;
Servo servoSetV;
int posA = 0;
int posB = 45;
int posC = 90;
int posD = 135;
int posE = 180;
const int buttonPin1 = 2;
const int buttonPin2 = 4;
const int buttonPin3 = 6;
const int buttonPin4 = 8;
int buttonState = 0;
void setup()
{
servoSetA.attach(13);
servoSetB.attach(12);
servoSetA.write(posA);
servoSetB.write(posA);
delay(15);
pinMode (buttonPin1, INPUT);
pinMode (buttonPin2, INPUT);
pinMode (buttonPin3, INPUT);
pinMode (buttonPin4, INPUT);
}
void loop()
{
//sadness
buttonState = digitalRead (buttonPin1);
if (buttonState == HIGH)
{
servoSetV.write.(posE);
servoSetH.write.(posE);
}
//happiness
buttonState = digitalRead (buttonPin2);
if (buttonState == HIGH)
{
servoSetV.write.(posC);
servoSetH.write.(posC);
}
//anger
buttonState = digitalRead (buttonPin3);
if (buttonState == HIGH)
{
servoSetV.write.(posA);
servoSetH.write.(posC);
}
//neutral
buttonState = digitalRead (buttonPin4);
if (buttonState == HIGH)
{
servoSetV.write.(posB);
servoSetH.write.(posC);
}
}
|
178671189d4894f3dcda1b799cd76f62ff308252
|
59dc938d387e0fbd1970391f27d26a4adc0423a6
|
/EngineTest/Source/Utility/has_member_test.cpp
|
65c98d199b3653be14cad607b7be5dc0e536146a
|
[
"MIT"
] |
permissive
|
VovoWang/Photon-v2
|
35d06bcc279a887c1e4a301744fa97cb77210216
|
82687ba650e98a2bfb73d897f673aa9a856245af
|
refs/heads/master
| 2021-04-26T22:19:04.520190
| 2018-03-06T11:44:13
| 2018-03-06T11:44:13
| 124,069,900
| 0
| 0
| null | 2018-03-06T11:40:25
| 2018-03-06T11:40:25
| null |
UTF-8
|
C++
| false
| false
| 2,518
|
cpp
|
has_member_test.cpp
|
#include <Utility/has_member.h>
#include <gtest/gtest.h>
#include <string>
TEST(HasMemberTest, HasMultiplyOperator)
{
EXPECT_TRUE((ph::has_multiply_operator<int, int, int>{}));
EXPECT_TRUE((ph::has_multiply_operator<float, float, float>{}));
EXPECT_FALSE((ph::has_multiply_operator<float, float, std::string>{}));
class A {};
class B {};
class C
{
public:
B operator * (A b) { return B(); }
C operator * (B b) { return C(); }
};
class D : public C {};
EXPECT_FALSE((ph::has_multiply_operator<A, B, C >{}));
EXPECT_FALSE((ph::has_multiply_operator<A, B, const C&>{}));
EXPECT_FALSE((ph::has_multiply_operator<A, B, D >{}));
EXPECT_FALSE((ph::has_multiply_operator<A, B, const D&>{}));
EXPECT_TRUE((ph::has_multiply_operator<C, A, B >{}));
EXPECT_TRUE((ph::has_multiply_operator<C, A, const B&>{}));
EXPECT_TRUE((ph::has_multiply_operator<C, B, C >{}));
EXPECT_TRUE((ph::has_multiply_operator<C, B, const C&>{}));
EXPECT_TRUE((ph::has_multiply_operator<D, A, B >{}));
EXPECT_TRUE((ph::has_multiply_operator<D, A, const B&>{}));
EXPECT_TRUE((ph::has_multiply_operator<D, B, C >{}));
EXPECT_TRUE((ph::has_multiply_operator<D, B, const C&>{}));
EXPECT_FALSE((ph::has_multiply_operator<D, B, D >{}));
EXPECT_FALSE((ph::has_multiply_operator<D, B, const D&>{}));
}
TEST(HasMemberTest, HasAddOperator)
{
EXPECT_TRUE((ph::has_add_operator<int, int, int>{}));
EXPECT_TRUE((ph::has_add_operator<float, float, float>{}));
EXPECT_FALSE((ph::has_add_operator<float, float, std::string>{}));
class A {};
class B {};
class C
{
public:
B operator + (A b) { return B(); }
C operator + (B b) { return C(); }
};
class D : public C {};
EXPECT_FALSE((ph::has_add_operator<A, B, C >{}));
EXPECT_FALSE((ph::has_add_operator<A, B, const C&>{}));
EXPECT_FALSE((ph::has_add_operator<A, B, D >{}));
EXPECT_FALSE((ph::has_add_operator<A, B, const D&>{}));
EXPECT_TRUE((ph::has_add_operator<C, A, B >{}));
EXPECT_TRUE((ph::has_add_operator<C, A, const B&>{}));
EXPECT_TRUE((ph::has_add_operator<C, B, C >{}));
EXPECT_TRUE((ph::has_add_operator<C, B, const C&>{}));
EXPECT_TRUE((ph::has_add_operator<D, A, B >{}));
EXPECT_TRUE((ph::has_add_operator<D, A, const B&>{}));
EXPECT_TRUE((ph::has_add_operator<D, B, C >{}));
EXPECT_TRUE((ph::has_add_operator<D, B, const C&>{}));
EXPECT_FALSE((ph::has_add_operator<D, B, D >{}));
EXPECT_FALSE((ph::has_add_operator<D, B, const D&>{}));
}
|
fb355835135349ac904c1e71c6888809e713bc3a
|
ab38afefb1eafe430b670a3bae3dd6b63cf8dcce
|
/include/andromeda/Game/view_component.h
|
4943bb7acd4074954471b51ef861049121fa917b
|
[] |
no_license
|
SpiritualXTC/andromeda
|
6fc07770701f507eac2056828ffd8d1346bc4a54
|
d426830902dded1f0633079450921b26ef5a4382
|
refs/heads/master
| 2021-01-18T04:04:11.367580
| 2019-12-13T22:52:25
| 2019-12-13T22:52:25
| 36,509,398
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 332
|
h
|
view_component.h
|
#ifndef _ANDROMEDA_GAME_VIEW_COMPONENT_H_
#define _ANDROMEDA_GAME_VIEW_COMPONENT_H_
#include "component.h"
namespace andromeda
{
/*
A View Component Contains a Render Target
*/
class ViewComponent : public Component<ViewComponent>
{
public:
ViewComponent() {}
virtual ~ViewComponent() {}
private:
};
}
#endif
|
f6322c71db437a7333aeb5a98124d57d807dd51d
|
56a505d087ceb3a11ccc5e50fcc79221dea0826a
|
/backend/src/InvertedFile.cpp
|
9114098ea111282469b2f1c9ff125c0ef9a555f0
|
[] |
no_license
|
tempteamcode/TextIndexing
|
45a35427eea230f34714d5ea7ed7431920405e9e
|
2e5f234251ed82850ee7e6f3dd712074daee1a32
|
refs/heads/master
| 2022-12-24T00:46:04.978295
| 2019-12-04T18:37:39
| 2019-12-04T18:40:47
| 220,420,098
| 0
| 1
| null | 2022-12-13T16:35:25
| 2019-11-08T08:20:33
|
C++
|
UTF-8
|
C++
| false
| false
| 2,541
|
cpp
|
InvertedFile.cpp
|
#include <fstream>
#include "InvertedFile.h"
TFID_t TFC_to_TFID(const TFC_t& src)
{
TFID_t result;
unsigned int total = 0;
for (const auto& item : src)
{
total += item.second;
}
for (auto it = src.begin(); it != src.cend(); ++it)
{
result[it->first] = Frequency_t(it->second, total);
}
return result;
}
void invertedFileAdd(InvertedFile_t& IF, DocumentUID_t docID, const TFID_t& TFID)
{
for (const auto& wordfreq : TFID)
{
IF[wordfreq.first].emplace_back(docID, wordfreq.second);
}
}
bool IFExport(const InvertedFile_t& IF, const std::string& path)
{
std::ofstream os(path, std::ios::out | std::ios::binary | std::ios::trunc);
if (!os) return false;
unsigned int count = IF.size();
binWrite<unsigned int>(os, count);
std::map<std::string, unsigned int> addresses;
for (auto& it : IF)
{
addresses[it.first] = 0;
}
std::streampos fptr_begin = os.tellp();
binWrite_map<std::string, unsigned int>(os, addresses);
for (auto& it : IF)
{
std::streampos fptr_addr = os.tellp();
addresses[it.first] = static_cast<unsigned int>(fptr_addr - fptr_begin);
binWrite_vec<DocumentUID_t, Frequency_t>(os, it.second);
}
os.seekp(fptr_begin);
binWrite_map<std::string, unsigned int>(os, addresses);
return true;
}
bool IFImport(InvertedFile_t& IF, const std::string& path)
{
std::ifstream is(path, std::ios::in | std::ios::binary);
if (!is) return false;
unsigned int count;
binRead<unsigned int>(is, count);
std::streampos fptr_begin = is.tellg();
std::map<std::string, unsigned int> addresses;
binRead_map<std::string, unsigned int>(is, addresses);
IF.clear();
for (auto& it : addresses)
{
std::streampos fptr_addr = static_cast<std::streampos>(it.second);
is.seekg(fptr_addr + fptr_begin);
auto& vec = IF[it.first];
binRead_vec<DocumentUID_t, Frequency_t>(is, vec);
}
return true;
}
bool IFImportPart(InvertedFile_t& IF, const std::string& path, const std::vector<std::string>& words)
{
std::ifstream is(path, std::ios::in | std::ios::binary);
if (!is) return false;
unsigned int count;
binRead<unsigned int>(is, count);
std::streampos fptr_begin = is.tellg();
std::map<std::string, unsigned int> addresses;
binRead_map<std::string, unsigned int>(is, addresses);
IF.clear();
for (const std::string& word : words)
{
unsigned int address = addresses[word];
std::streampos fptr_addr = static_cast<std::streampos>(address);
is.seekg(fptr_addr + fptr_begin);
auto& vec = IF[word];
binRead_vec<DocumentUID_t, Frequency_t>(is, vec);
}
return true;
}
|
a3795d0dfdbec584f68417eaa53a0a2d032db8bf
|
ff9d9f472e468fdf5b07a2633e137eea9ba9278b
|
/cube/BaseWidget.cpp
|
75c8cf38b84711a0b52cde1e02667956cdfb1e5b
|
[] |
no_license
|
thetrueoneshots/CWSDK
|
033985a450eebb29825fe02ebd652b3b5539198a
|
4709b77180a77acc85cb74bcb91b31a1b45b5e7e
|
refs/heads/master
| 2022-04-30T20:13:01.344783
| 2022-04-17T12:01:46
| 2022-04-17T12:01:46
| 412,755,911
| 2
| 0
| null | 2021-10-02T09:55:22
| 2021-10-02T09:55:21
| null |
UTF-8
|
C++
| false
| false
| 1,937
|
cpp
|
BaseWidget.cpp
|
#include "BaseWidget.h"
#include "../cwsdk.h"
cube::BaseWidget* cube::BaseWidget::ctor(plasma::D3D11Engine* engine, plasma::Node* node, std::wstring* name)
{
return ((cube::BaseWidget* (*)(cube::BaseWidget*, plasma::D3D11Engine*, plasma::Node*, std::wstring*))CWOffset(0x268A70))(this, engine, node, name);
}
float* cube::BaseWidget::DrawString(FloatVector2* vec, std::wstring* text, float x, float y)
{
return ((float* (*)(cube::BaseWidget*, FloatVector2*, std::wstring*, float, float))CWOffset(0x269210))(this, vec, text, x, y);
}
void cube::BaseWidget::SetScalableFont(std::wstring* filename)
{
this->scalable_font = this->d3d11_engine->font_engine->LoadFont(filename);
}
void cube::BaseWidget::SetTextColor(FloatRGBA* color)
{
this->text_color = *color;
}
void cube::BaseWidget::SetTextColor(char r, char g, char b, char a)
{
float f_red = (float)r / 255.0;
float f_green = (float)g / 255.0;
float f_blue = (float)b / 255.0;
float f_alpha = (float)a / 255.0;
FloatRGBA color(f_red, f_green, f_blue, f_alpha);
this->SetTextColor(&color);
}
void cube::BaseWidget::SetBorderColor(FloatRGBA* color)
{
this->border_color = *color;
}
void cube::BaseWidget::SetBorderColor(char r, char g, char b, char a)
{
float f_red = (float)r / 255.0;
float f_green = (float)g / 255.0;
float f_blue = (float)b / 255.0;
float f_alpha = (float)a / 255.0;
FloatRGBA color(f_red, f_green, f_blue, f_alpha);
this->SetBorderColor(&color);
}
void cube::BaseWidget::SetTextSize(float size)
{
this->text_size = size;
}
void cube::BaseWidget::SetBorderSize(float size)
{
this->border_size = size;
}
void cube::BaseWidget::SetTextPivot(plasma::TextPivot pivot)
{
this->text_pivot = pivot;
}
FloatVector2* cube::BaseWidget::GetRelativeMousePosition(FloatVector2* vec)
{
return ((FloatVector2 * (*)(cube::BaseWidget*, FloatVector2*))CWOffset(0x32B180))(this, vec);
}
|
6d40d9615534a04ed32b6ada89fe7b56d6da3d59
|
209776e95e1c1bc7c838e1b57ef08a7adc9a0a06
|
/src/Segmentor.cpp
|
c856bed909416433fdd27ee5214a8f8335e911b1
|
[] |
no_license
|
JWHennessey/edit_transfer_selection_interface
|
141b7f50a8e420ec10d49aea0bbcbcc4d31214a5
|
445f71bfde5ab2e39abdb6d392862ac7e8a58fc5
|
refs/heads/master
| 2021-05-10T09:12:01.928647
| 2018-01-25T21:31:36
| 2018-01-25T21:31:36
| 118,917,280
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,929
|
cpp
|
Segmentor.cpp
|
#include "Segmentor.h"
Segmentor::Segmentor(Mat &channel, cv::Mat polygonMask)
: mChannel(channel), mPolygonMask(polygonMask)
{
mMask = segmentGrabCut();
}
Mat Segmentor::getMask() { return mMask; }
Mat Segmentor::segmentGrabCut()
{
Mat bgdModel, fgdModel, segmentation, image;
mChannel.convertTo(image, CV_8UC3, 255);
/* cout << "mChannel.channels() " << mChannel.channels() << endl;*/
// cout << "mChannel.type() " << mChannel.type() << endl;
//// cout << image << endl;
// Scalar mean, stddev;
// meanStdDev(mChannel, mean, stddev);
// cout << "mChanel " << mean << " " << stddev << endl;
// meanStdDev(image, mean, stddev);
// cout << "image " << mean << " " << stddev << endl;
// imshow("mChannel", mChannel);
/*imshow("RGB", image);*/
Mat binaryPolygon;
cvtColor(mPolygonMask, binaryPolygon, CV_BGR2GRAY);
binaryPolygon.convertTo(binaryPolygon, CV_8UC1, 255);
threshold(binaryPolygon, binaryPolygon, 1, 255, CV_THRESH_BINARY);
Mat dt;
distanceTransform(binaryPolygon, dt, CV_DIST_L2, 3);
normalize(dt, dt, 0, 1, NORM_MINMAX);
segmentation.create(image.size(), CV_8UC1);
for (auto i = 0; i < segmentation.rows; i++) {
for (auto j = 0; j < segmentation.rows; j++) {
if (binaryPolygon.at<uchar>(i, j) == 0) {
segmentation.at<uchar>(i, j) = GC_BGD;
}
else if (dt.at<float>(i, j) < 0.1) {
segmentation.at<uchar>(i, j) = GC_PR_BGD;
binaryPolygon.at<uchar>(i, j) = 50;
}
else if (dt.at<float>(i, j) > 0.8) {
segmentation.at<uchar>(i, j) = GC_FGD;
}
else {
segmentation.at<uchar>(i, j) = GC_PR_FGD;
binaryPolygon.at<uchar>(i, j) = 127;
}
}
}
/* imshow("binaryPolygon", binaryPolygon);*/
// imshow("mPolygonMask", mPolygonMask);
// imshow("distanceTransform", dt);
/*waitKey();*/
grabCut(image, segmentation, Rect(), bgdModel, fgdModel, 10,
GC_INIT_WITH_MASK);
// Mat outSegmentation(image.size(), CV_32FC3, Scalar(0, 0, 0));
for (auto i = 0; i < segmentation.rows; i++) {
for (auto j = 0; j < segmentation.rows; j++) {
if (segmentation.at<uchar>(i, j) == GC_BGD) {
// segmentation.at<uchar>(i, j) = 0;
}
else if (segmentation.at<uchar>(i, j) == GC_PR_BGD) {
// segmentation.at<uchar>(i, j) = 50;
}
else if (segmentation.at<uchar>(i, j) == GC_PR_FGD) {
// segmentation.at<uchar>(i, j) = 127;
}
else {
// segmentation.at<uchar>(i, j) = 255;
}
}
}
/* imshow("segmentation", segmentation);*/
// imshow("outSegmentation", outSegmentation);
/*waitKey();*/
return segmentation;
}
|
1244e3b97c095556c86907ab055b4c223ff71737
|
704bb87f2eea85d184baad2d8a7f8157b95a9956
|
/puzzle_ravi.cpp
|
7d5c3a3763744f39507d6805525c2680775eea3b
|
[] |
no_license
|
vikram89813/c-Codes
|
32162f710bee61cc371625434b6c936dafeef0b3
|
3ab27fbc1a82901ce5068f7451a9e4f36a22e6be
|
refs/heads/master
| 2020-04-22T10:54:18.046320
| 2019-02-12T13:35:00
| 2019-02-12T13:35:00
| 170,321,455
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 9,613
|
cpp
|
puzzle_ravi.cpp
|
#include <malloc.h>
#pragma GCC optimize ("-Ofast")
int gN = 0, gM = 0, gK = 0, pId = 0, pSize = 0;
typedef struct puzDS
{
i int data[60]; // MAXM*4
short adjpId[4];
int onesCount;
}puzDS;
puzDS *puzzles = NULL;
void init(int N, int M, int K)
{
if (puzzles != NULL)
{
delete puzzles;
puzzles = NULL;
}
pSize = N*N + K;
puzzles = (puzDS*)calloc(pSize, sizeof(puzDS));
gN = N;
gM = M;
gK = K;
pId = 0;
}
void addPiece(int piece[])
{
int oneCount = 0;
int pieceSize = (gM * 4 - 1);
for (int i = 0; i < pieceSize; ++i)
{
if (piece[i] == 1)
{
oneCount++;
}
puzzles[pId].data[i] = piece[i];
}
puzzles[pId].adjpId[0] = -1; // adj top piece
puzzles[pId].adjpId[1] = -1; // adj right piece
puzzles[pId].adjpId[2] = -1; // adj bottom piece
puzzles[pId].adjpId[3] = -1; // adj left piece
puzzles[pId].onesCount = oneCount;
pId++;
}
void fillAdjPieces()
{
// now fill the directions for every pID
short id1 = 0;
short id2 = 0;
short fit = 1;
for (id1 = 0; id1 < pId; ++id1)
{
short oneM = gM;
short twoM = (2 * gM);
short threeM = (3 * gM);
short fourM = (4 * gM);
int i = 0, j = 0;
// Top Check
{
for (id2 = 0; id2 < pId; ++id2)
{
if (id1 != id2)
{
for (i = 0, j = threeM - 1; i < oneM && j >= twoM; ++i, --j)
{
if (puzzles[id1].data[i] == 0 &&
puzzles[id2].data[j] != 0)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == -1 &&
puzzles[id2].data[j] != 1)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == 1 &&
puzzles[id2].data[j] != -1)
{
fit = 0;
break;
}
} // for (i, j)
if (fit == 1)
{
puzzles[id1].adjpId[0] = id2; // found adjTop
break;
}
else
{
fit = 1;
}
} // if(id1 != id2)
} // for(id2)
} // Top Check
fit = 1;
// right Check
{
for (id2 = 0; id2 < pId; ++id2)
{
if (id1 != id2)
{
for (i = oneM, j = fourM - 1; i < twoM && j >= threeM; ++i, --j)
{
if (puzzles[id1].data[i] == 0 &&
puzzles[id2].data[j] != 0)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == -1 &&
puzzles[id2].data[j] != 1)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == 1 &&
puzzles[id2].data[j] != -1)
{
fit = 0;
break;
}
} // for (i, j)
if (fit == 1)
{
puzzles[id1].adjpId[1] = id2; // found adjTop
break;
}
else
{
fit = 1;
}
} // if(id1 != id2)
} // for(id2)
} // right Check
fit = 1;
// Bottom Check
{
for (id2 = 0; id2 < pId; ++id2)
{
if (id1 != id2)
{
for (i = twoM, j = oneM - 1; i < threeM && j >= 0; ++i, --j)
{
if (puzzles[id1].data[i] == 0 &&
puzzles[id2].data[j] != 0)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == -1 &&
puzzles[id2].data[j] != 1)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == 1 &&
puzzles[id2].data[j] != -1)
{
fit = 0;
break;
}
} // for (i, j)
if (fit == 1)
{
puzzles[id1].adjpId[2] = id2; // found adjTop
break;
}
else
{
fit = 1;
}
} // if(id1 != id2)
} // for(id2)
} // Bottom Check
fit = 1;
// Left Check
{
for (id2 = 0; id2 < pId; ++id2)
{
if (id1 != id2)
{
for (i = threeM, j = twoM - 1; i < fourM && j >= oneM; ++i, --j)
{
if (puzzles[id1].data[i] == 0 &&
puzzles[id2].data[j] != 0)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == -1 &&
puzzles[id2].data[j] != 1)
{
fit = 0;
break;
}
else if (puzzles[id1].data[i] == 1 &&
puzzles[id2].data[j] != -1)
{
fit = 0;
break;
}
} // for (i, j)
if (fit == 1)
{
puzzles[id1].adjpId[3] = id2; // found adjTop
break;
}
else
{
fit = 1;
}
} // if(id1 != id2)
} // for(id2)
} // Left Check
} // for (id1)
}
/*
void printAllPieces()
{
for (int i = 0; i < pSize; ++i)
{
printf("piece(%d)==> top=%d .. right=%d .. Btm=%d .. left=%d .. OneCount=%d\n", i, puzzles[i].adjpId[0], puzzles[i].adjpId[1], puzzles[i].adjpId[2], puzzles[i].adjpId[3], puzzles[i].onesCount);
}
}
*/
int findCenterPiece()
{
short tlPid = -1;
fillAdjPieces();
//printAllPieces();
for (int i = 0; i < pSize; ++i)
{
// find topLeftPid
if (puzzles[i].adjpId[0] == -1 &&
puzzles[i].adjpId[1] != -1 &&
puzzles[i].adjpId[2] != -1 &&
puzzles[i].adjpId[3] == -1)
{
tlPid = i;
break;
}
}
/*
if (tlPid == -1)
{
printf("OOPS (0)... topLeft Puzzle not found... Something wrong in addPiece()\n");
return 0;
}
else
{
printf("YUREKA !!! topLeft Puzzle FOUND and is = %d\n", tlPid);
}
*/
short firstCid = tlPid; // move in the rightDir upto gN/2 times
for (short rightMove = 0; rightMove < (gN / 2); ++rightMove)
{
if (puzzles[firstCid].adjpId[1] != -1)
{
firstCid = puzzles[firstCid].adjpId[1];
}
else
{
//printf("OOPS ... (1) First Centre position finding.. Something WRONG!!!\n");
break;
}
}
for (short downMove = 0; downMove < (gN / 2); ++downMove)
{
if (puzzles[firstCid].adjpId[2] != -1)
{
firstCid = puzzles[firstCid].adjpId[2];
}
else
{
//printf("OOPS ... (2) First Centre position finding.. Something WRONG!!!\n");
break;
}
}
//printf("YUREKA !!! First Centre position FOUND and is = %d\n", firstCid);
short secondCid = tlPid; // move in the rightDir upto gN/2 times
for (short bottomMove = 0; bottomMove < (gN / 2); ++bottomMove)
{
if (puzzles[secondCid].adjpId[2] != -1)
{
secondCid = puzzles[secondCid].adjpId[2];
}
else
{
//printf("OOPS ... (3) Second Centre position finding.. Something WRONG!!!\n");
break;
}
}
for (short rightMove = 0; rightMove < (gN / 2); ++rightMove)
{
if (puzzles[secondCid].adjpId[1] != -1)
{
secondCid = puzzles[secondCid].adjpId[1];
}
else
{
//printf("OOPS ... (4) Second Centre position finding.. Something WRONG!!!\n");
break;
}
}
//printf("YUREKA !!! Second Centre position FOUND and is = %d\n", secondCid);
if (firstCid == secondCid)
{
//printf("YUREKA !!! Centre ID Found\n");
return puzzles[secondCid].onesCount;
}
return 0;
}
|
de71a1dfed0270f14e8ee961dbb9dbc3021b3cac
|
3e4f9c2856564e2314cb71d07909891d1b740e6a
|
/src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp
|
a317cf9fe73f6127349a36a7f392de3c2174c332
|
[
"MIT"
] |
permissive
|
chinajeffery/MPC-BE--1.2.3
|
62dd1adbb2c0ef3deed85c6c8ad7de03764e7144
|
2229fde5535f565ba4a496a7f73267bd2c1ad338
|
refs/heads/master
| 2021-01-10T13:36:59.981218
| 2016-03-16T07:46:05
| 2016-03-16T07:46:05
| 53,302,468
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 15,605
|
cpp
|
VMR9AllocatorPresenter.cpp
|
/*
* $Id: VMR9AllocatorPresenter.cpp 2652 2013-05-08 06:25:38Z aleksoid $
*
* (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* MPC-BE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "stdafx.h"
#include "RenderersSettings.h"
#include "VMR9AllocatorPresenter.h"
#include "OuterVMR.h"
#include "IPinHook.h"
#include "MacrovisionKicker.h"
#include "../../../DSUtil/SysVersion.h"
// ISubPicAllocatorPresenter
using namespace DSObjects;
//
// CVMR9AllocatorPresenter
//
#define MY_USER_ID 0x6ABE51
CVMR9AllocatorPresenter::CVMR9AllocatorPresenter(HWND hWnd, bool bFullscreen, HRESULT& hr, CString &_Error)
: CDX9AllocatorPresenter(hWnd, bFullscreen, hr, false, _Error)
, m_fUseInternalTimer(false)
, m_rtPrevStart(-1)
{
}
STDMETHODIMP CVMR9AllocatorPresenter::NonDelegatingQueryInterface(REFIID riid, void** ppv)
{
CheckPointer(ppv, E_POINTER);
return
QI(IVMRSurfaceAllocator9)
QI(IVMRImagePresenter9)
QI(IVMRWindowlessControl9)
__super::NonDelegatingQueryInterface(riid, ppv);
}
HRESULT CVMR9AllocatorPresenter::CreateDevice(CString &_Error)
{
HRESULT hr = __super::CreateDevice(_Error);
if (FAILED(hr)) {
return hr;
}
if (m_pIVMRSurfAllocNotify) {
HMONITOR hMonitor = m_pD3D->GetAdapterMonitor(m_CurrentAdapter);
if (FAILED(hr = m_pIVMRSurfAllocNotify->ChangeD3DDevice(m_pD3DDev, hMonitor))) {
_Error += L"m_pIVMRSurfAllocNotify->ChangeD3DDevice failed";
return hr; //return false;
}
}
return hr;
}
void CVMR9AllocatorPresenter::DeleteSurfaces()
{
CAutoLock cAutoLock(this);
CAutoLock cRenderLock(&m_RenderLock);
m_pSurfaces.RemoveAll();
return __super::DeleteSurfaces();
}
STDMETHODIMP CVMR9AllocatorPresenter::CreateRenderer(IUnknown** ppRenderer)
{
CheckPointer(ppRenderer, E_POINTER);
*ppRenderer = NULL;
HRESULT hr = E_FAIL;
do {
CMacrovisionKicker* pMK = DNew CMacrovisionKicker(NAME("CMacrovisionKicker"), NULL);
CComPtr<IUnknown> pUnk = (IUnknown*)(INonDelegatingUnknown*)pMK;
COuterVMR9 *pOuter = DNew COuterVMR9(NAME("COuterVMR9"), pUnk, &m_VMR9AlphaBitmap, this);
pMK->SetInner((IUnknown*)(INonDelegatingUnknown*)pOuter);
CComQIPtr<IBaseFilter> pBF = pUnk;
CComPtr<IPin> pPin = GetFirstPin(pBF);
CComQIPtr<IMemInputPin> pMemInputPin = pPin;
m_fUseInternalTimer = HookNewSegmentAndReceive((IPinC*)(IPin*)pPin, (IMemInputPinC*)(IMemInputPin*)pMemInputPin);
CComQIPtr<IVMRFilterConfig9> pConfig = pBF;
if (!pConfig) {
break;
}
CRenderersSettings& s = GetRenderersSettings();
if (s.fVMR9MixerMode) {
if (FAILED(hr = pConfig->SetNumberOfStreams(1))) {
break;
}
if (CComQIPtr<IVMRMixerControl9> pMC = pBF) {
DWORD dwPrefs;
pMC->GetMixingPrefs(&dwPrefs);
// See http://msdn.microsoft.com/en-us/library/dd390928(VS.85).aspx
dwPrefs |= MixerPref9_NonSquareMixing;
dwPrefs |= MixerPref9_NoDecimation;
if (s.fVMR9MixerYUV && !IsWinVistaOrLater()) {
dwPrefs &= ~MixerPref9_RenderTargetMask;
dwPrefs |= MixerPref9_RenderTargetYUV;
}
pMC->SetMixingPrefs(dwPrefs);
}
}
if (FAILED(hr = pConfig->SetRenderingMode(VMR9Mode_Renderless))) {
break;
}
CComQIPtr<IVMRSurfaceAllocatorNotify9> pSAN = pBF;
if (!pSAN) {
hr = E_FAIL;
break;
}
if (FAILED(hr = pSAN->AdviseSurfaceAllocator(MY_USER_ID, static_cast<IVMRSurfaceAllocator9*>(this)))
|| FAILED(hr = AdviseNotify(pSAN))) {
break;
}
*ppRenderer = (IUnknown*)pBF.Detach();
} while (0);
return hr;
}
STDMETHODIMP_(void) CVMR9AllocatorPresenter::SetTime(REFERENCE_TIME rtNow)
{
__super::SetTime(rtNow);
//m_fUseInternalTimer = false;
}
// IVMRSurfaceAllocator9
STDMETHODIMP CVMR9AllocatorPresenter::InitializeDevice(DWORD_PTR dwUserID, VMR9AllocationInfo* lpAllocInfo, DWORD* lpNumBuffers)
{
CAutoLock lock(this);
CAutoLock cRenderLock(&m_RenderLock);
if (!lpAllocInfo || !lpNumBuffers) {
return E_POINTER;
}
if (!m_pIVMRSurfAllocNotify) {
return E_FAIL;
}
// WTF: Is this some kind of forgotten debug code ?
if ((GetAsyncKeyState(VK_CONTROL)&0x80000000))
if (lpAllocInfo->Format == '21VY' || lpAllocInfo->Format == '024I') {
return E_FAIL;
}
// The surfaces should already be free when InitializeDevice is called
DeleteSurfaces();
DWORD nOriginal = *lpNumBuffers;
if (*lpNumBuffers == 1) {
*lpNumBuffers = 4;
m_nVMR9Surfaces = 4;
} else {
m_nVMR9Surfaces = 0;
}
m_pSurfaces.SetCount(*lpNumBuffers);
int w = lpAllocInfo->dwWidth;
int h = abs((int)lpAllocInfo->dwHeight);
HRESULT hr;
if (lpAllocInfo->dwFlags & VMR9AllocFlag_3DRenderTarget) {
lpAllocInfo->dwFlags |= VMR9AllocFlag_TextureSurface;
}
hr = m_pIVMRSurfAllocNotify->AllocateSurfaceHelper(lpAllocInfo, lpNumBuffers, &m_pSurfaces[0]);
if (FAILED(hr)) {
return hr;
}
m_pSurfaces.SetCount(*lpNumBuffers);
m_bNeedCheckSample = true;
m_NativeVideoSize = CSize(w, h);
CSize VideoSize = GetVisibleVideoSize();
int arx = lpAllocInfo->szAspectRatio.cx;
int ary = lpAllocInfo->szAspectRatio.cy;
if (arx > 0 && ary > 0) {
arx = arx * VideoSize.cx / m_NativeVideoSize.cx;
ary = ary * VideoSize.cy / m_NativeVideoSize.cy;
m_AspectRatio.SetSize(arx, ary);
} else {
m_AspectRatio = VideoSize;
}
if (FAILED(hr = AllocSurfaces())) {
return hr;
}
if (!(lpAllocInfo->dwFlags & VMR9AllocFlag_TextureSurface)) {
// test if the colorspace is acceptable
if (FAILED(hr = m_pD3DDev->StretchRect(m_pSurfaces[0], NULL, m_pVideoSurface[m_nCurSurface], NULL, D3DTEXF_NONE))) {
DeleteSurfaces();
return E_FAIL;
}
}
hr = m_pD3DDev->ColorFill(m_pVideoSurface[m_nCurSurface], NULL, 0);
if (m_nVMR9Surfaces && m_nVMR9Surfaces != (int)*lpNumBuffers) {
m_nVMR9Surfaces = *lpNumBuffers;
}
*lpNumBuffers = min(nOriginal, *lpNumBuffers);
m_iVMR9Surface = 0;
return hr;
}
STDMETHODIMP CVMR9AllocatorPresenter::TerminateDevice(DWORD_PTR dwUserID)
{
// We should not free the surfaces until we are told to !
// Thats what TerminateDevice is for
DeleteSurfaces();
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetSurface(DWORD_PTR dwUserID, DWORD SurfaceIndex, DWORD SurfaceFlags, IDirect3DSurface9** lplpSurface)
{
if (!lplpSurface) {
return E_POINTER;
}
CAutoLock cAutoLock(this);
CAutoLock cRenderLock(&m_RenderLock);
/*
SurfaceIndex = 0
m_pSurfaces.GetCount() = 0
Scenario:
Thread 1:
Wait on m_RenderLock in this function
Thread 2:
Have m_RenderLock and removes all m_pSurfaces
(Happens by calling ex CDX9AllocatorPresenter::ResetDevice)
When thread 2 releases the lock thread 1 gets it and boom!
Possible solution: Adding object lock and moving m_RenderLock to try to fix this threading issue.
This problem occurs when moving the window from display a to display b.
NOTE: This is just a workaround.
CDX9AllocatorPresenter doesn't follow the rules which is why this happened.
And it is used by EVR custom (which it really shouldn't) so i can't easily fix it without breaking EVR custom.
*/
if (SurfaceIndex >= m_pSurfaces.GetCount()) {
return E_FAIL;
}
if (m_nVMR9Surfaces) {
++m_iVMR9Surface;
m_iVMR9Surface = m_iVMR9Surface % m_nVMR9Surfaces;
*lplpSurface = m_pSurfaces[m_iVMR9Surface + SurfaceIndex];
(*lplpSurface)->AddRef();
} else {
m_iVMR9Surface = SurfaceIndex;
*lplpSurface = m_pSurfaces[SurfaceIndex];
(*lplpSurface)->AddRef();
}
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::AdviseNotify(IVMRSurfaceAllocatorNotify9* lpIVMRSurfAllocNotify)
{
CAutoLock cAutoLock(this);
CAutoLock cRenderLock(&m_RenderLock);
m_pIVMRSurfAllocNotify = lpIVMRSurfAllocNotify;
HRESULT hr;
HMONITOR hMonitor = m_pD3D->GetAdapterMonitor(GetAdapter(m_pD3D));
if (FAILED(hr = m_pIVMRSurfAllocNotify->SetD3DDevice(m_pD3DDev, hMonitor))) {
return hr;
}
return S_OK;
}
// IVMRImagePresenter9
STDMETHODIMP CVMR9AllocatorPresenter::StartPresenting(DWORD_PTR dwUserID)
{
if (!m_bPendingResetDevice) {
ASSERT(m_pD3DDev);
}
CAutoLock cAutoLock(this);
CAutoLock cRenderLock(&m_RenderLock);
return m_pD3DDev ? S_OK : E_FAIL;
}
STDMETHODIMP CVMR9AllocatorPresenter::StopPresenting(DWORD_PTR dwUserID)
{
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::PresentImage(DWORD_PTR dwUserID, VMR9PresentationInfo* lpPresInfo)
{
SetThreadName((DWORD)-1, "CVMR9AllocatorPresenter");
CheckPointer(m_pIVMRSurfAllocNotify, E_UNEXPECTED);
if (m_rtTimePerFrame == 0 || m_bNeedCheckSample) {
m_bNeedCheckSample = false;
CComPtr<IBaseFilter> pVMR9;
CComPtr<IPin> pPin;
CMediaType mt;
if (SUCCEEDED (m_pIVMRSurfAllocNotify->QueryInterface (__uuidof(IBaseFilter), (void**)&pVMR9)) &&
SUCCEEDED (pVMR9->FindPin(L"VMR Input0", &pPin)) &&
SUCCEEDED (pPin->ConnectionMediaType(&mt)) ) {
ExtractAvgTimePerFrame (&mt, m_rtTimePerFrame);
CComPtr<IPin> pPinTo;
if (SUCCEEDED(pPin->ConnectedTo(&pPinTo)) && pPinTo) {
m_Decoder = GetFilterName(GetFilterFromPin(pPinTo));
}
BITMAPINFOHEADER bih;
if (ExtractBIH(&mt, &bih)) {
m_InputVCodec = GetGUIDString(mt.subtype);
m_InputVCodec.Replace(L"MEDIASUBTYPE_", L"");
}
CSize NativeVideoSize = m_NativeVideoSize;
CSize AspectRatio = m_AspectRatio;
if (mt.formattype == FORMAT_VideoInfo || mt.formattype == FORMAT_MPEGVideo) {
VIDEOINFOHEADER *vh = (VIDEOINFOHEADER*)mt.pbFormat;
NativeVideoSize = CSize(vh->bmiHeader.biWidth, abs(vh->bmiHeader.biHeight));
if (vh->rcTarget.right - vh->rcTarget.left > 0) {
NativeVideoSize.cx = vh->rcTarget.right - vh->rcTarget.left;
} else if (vh->rcSource.right - vh->rcSource.left > 0) {
NativeVideoSize.cx = vh->rcSource.right - vh->rcSource.left;
}
if (vh->rcTarget.bottom - vh->rcTarget.top > 0) {
NativeVideoSize.cy = vh->rcTarget.bottom - vh->rcTarget.top;
} else if (vh->rcSource.bottom - vh->rcSource.top > 0) {
NativeVideoSize.cy = vh->rcSource.bottom - vh->rcSource.top;
}
} else if (mt.formattype == FORMAT_VideoInfo2 || mt.formattype == FORMAT_MPEG2Video) {
VIDEOINFOHEADER2 *vh = (VIDEOINFOHEADER2*)mt.pbFormat;
if (vh->dwPictAspectRatioX && vh->dwPictAspectRatioY) {
AspectRatio = CSize(vh->dwPictAspectRatioX, vh->dwPictAspectRatioY);
}
NativeVideoSize = CSize(vh->bmiHeader.biWidth, abs(vh->bmiHeader.biHeight));
if (vh->rcTarget.right - vh->rcTarget.left > 0) {
NativeVideoSize.cx = vh->rcTarget.right - vh->rcTarget.left;
} else if (vh->rcSource.right - vh->rcSource.left > 0) {
NativeVideoSize.cx = vh->rcSource.right - vh->rcSource.left;
}
if (vh->rcTarget.bottom - vh->rcTarget.top > 0) {
NativeVideoSize.cy = vh->rcTarget.bottom - vh->rcTarget.top;
} else if (vh->rcSource.bottom - vh->rcSource.top > 0) {
NativeVideoSize.cy = vh->rcSource.bottom - vh->rcSource.top;
}
}
if (m_NativeVideoSize != NativeVideoSize || m_AspectRatio != AspectRatio) {
m_NativeVideoSize = NativeVideoSize;
m_AspectRatio = AspectRatio;
AfxGetApp()->m_pMainWnd->PostMessage(WM_REARRANGERENDERLESS);
}
}
// If framerate not set by Video Decoder choose 23.97...
if (m_rtTimePerFrame == 0) {
m_rtTimePerFrame = 417166;
}
m_fps = 10000000.0 / m_rtTimePerFrame;
}
HRESULT hr;
if (!lpPresInfo || !lpPresInfo->lpSurf) {
return E_POINTER;
}
CAutoLock cAutoLock(this);
CAutoLock cRenderLock(&m_RenderLock);
if (lpPresInfo->rtEnd > lpPresInfo->rtStart) {
if (m_pSubPicQueue) {
m_pSubPicQueue->SetFPS(m_fps);
if (m_fUseInternalTimer && !g_bExternalSubtitleTime) {
__super::SetTime(g_tSegmentStart + g_tSampleStart);
}
}
}
CSize VideoSize = GetVisibleVideoSize();
int arx = lpPresInfo->szAspectRatio.cx;
int ary = lpPresInfo->szAspectRatio.cy;
if (arx > 0 && ary > 0) {
arx = arx * VideoSize.cx / m_NativeVideoSize.cx;
ary = ary * VideoSize.cy / m_NativeVideoSize.cy;
VideoSize.cx = VideoSize.cy*arx/ary;
}
if (VideoSize != GetVideoSize()) {
m_AspectRatio.SetSize(arx, ary);
AfxGetApp()->m_pMainWnd->PostMessage(WM_REARRANGERENDERLESS);
}
if (!m_bPendingResetDevice) {
CComPtr<IDirect3DTexture9> pTexture;
lpPresInfo->lpSurf->GetContainer(IID_IDirect3DTexture9, (void**)&pTexture);
if (pTexture) {
m_pVideoSurface[m_nCurSurface] = lpPresInfo->lpSurf;
if (m_pVideoTexture[m_nCurSurface]) {
m_pVideoTexture[m_nCurSurface] = pTexture;
}
} else {
hr = m_pD3DDev->StretchRect(lpPresInfo->lpSurf, NULL, m_pVideoSurface[m_nCurSurface], NULL, D3DTEXF_NONE);
}
// Tear test bars
if (GetRenderersData()->m_fTearingTest) {
RECT rcTearing;
rcTearing.left = m_nTearingPos;
rcTearing.top = 0;
rcTearing.right = rcTearing.left + 4;
rcTearing.bottom = m_NativeVideoSize.cy;
m_pD3DDev->ColorFill (m_pVideoSurface[m_nCurSurface], &rcTearing, D3DCOLOR_ARGB (255,255,0,0));
rcTearing.left = (rcTearing.right + 15) % m_NativeVideoSize.cx;
rcTearing.right = rcTearing.left + 4;
m_pD3DDev->ColorFill (m_pVideoSurface[m_nCurSurface], &rcTearing, D3DCOLOR_ARGB (255,255,0,0));
m_nTearingPos = (m_nTearingPos + 7) % m_NativeVideoSize.cx;
}
}
Paint(true);
return S_OK;
}
// IVMRWindowlessControl9
//
// It is only implemented (partially) for the dvd navigator's
// menu handling, which needs to know a few things about the
// location of our window.
STDMETHODIMP CVMR9AllocatorPresenter::GetNativeVideoSize(LONG* lpWidth, LONG* lpHeight, LONG* lpARWidth, LONG* lpARHeight)
{
if (lpWidth) {
*lpWidth = m_NativeVideoSize.cx;
}
if (lpHeight) {
*lpHeight = m_NativeVideoSize.cy;
}
if (lpARWidth) {
*lpARWidth = m_AspectRatio.cx;
}
if (lpARHeight) {
*lpARHeight = m_AspectRatio.cy;
}
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetMinIdealVideoSize(LONG* lpWidth, LONG* lpHeight)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetMaxIdealVideoSize(LONG* lpWidth, LONG* lpHeight)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::SetVideoPosition(const LPRECT lpSRCRect, const LPRECT lpDSTRect)
{
return E_NOTIMPL; // we have our own method for this
}
STDMETHODIMP CVMR9AllocatorPresenter::GetVideoPosition(LPRECT lpSRCRect, LPRECT lpDSTRect)
{
CopyRect(lpSRCRect, CRect(CPoint(0, 0), GetVisibleVideoSize()));
CopyRect(lpDSTRect, &m_VideoRect);
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetAspectRatioMode(DWORD* lpAspectRatioMode)
{
if (lpAspectRatioMode) {
*lpAspectRatioMode = AM_ARMODE_STRETCHED;
}
return S_OK;
}
STDMETHODIMP CVMR9AllocatorPresenter::SetAspectRatioMode(DWORD AspectRatioMode)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::SetVideoClippingWindow(HWND hwnd)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::RepaintVideo(HWND hwnd, HDC hdc)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::DisplayModeChanged()
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetCurrentImage(BYTE** lpDib)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::SetBorderColor(COLORREF Clr)
{
return E_NOTIMPL;
}
STDMETHODIMP CVMR9AllocatorPresenter::GetBorderColor(COLORREF* lpClr)
{
if (lpClr) {
*lpClr = 0;
}
return S_OK;
}
|
3da41a3488b3dc68f670a0702bbc580181579613
|
d23f5a0fa48aae622ebb87c8444995b7212ef6f1
|
/Recursive programs/recursiv1/main.cpp
|
ab251b66d9a9fc995b7ddfe03521a18fe8c32749
|
[] |
no_license
|
AndreiCatalinN/college
|
8693207a90bbcd2a5e94b2d966941efb088dce6a
|
84d1450e409f477cb70258bf0150d3597c1e9475
|
refs/heads/master
| 2021-07-19T19:05:00.117902
| 2020-07-26T12:58:57
| 2020-07-26T12:58:57
| 199,473,120
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 360
|
cpp
|
main.cpp
|
#include <iostream>
using namespace std;
void afisare(int n)
{
if(n>0)
{if(n%10%2==0)
{
cout<<n%10<<" ";
afisare(n/10);
}
else if(n%10%2==1)
{
afisare(n/10);
cout<<n%10<<" ";
}}
else if (n==0) cout<<endl;
}
int main()
{int n;
cin>>n;
afisare(n);
return 0;
}
|
79788145637cba18fc0168febeb7a8139a3142a6
|
38b9daafe39f937b39eefc30501939fd47f7e668
|
/tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta/28.4/p_rgh
|
d39b6f8fe4f99a74b4269748b888023d85c2cdc8
|
[] |
no_license
|
rubynuaa/2-way-coupling
|
3a292840d9f56255f38c5e31c6b30fcb52d9e1cf
|
a820b57dd2cac1170b937f8411bc861392d8fbaa
|
refs/heads/master
| 2020-04-08T18:49:53.047796
| 2018-08-29T14:22:18
| 2018-08-29T14:22:18
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 197,048
|
p_rgh
|
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "28.4";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField nonuniform List<scalar>
21420
(
213.635
181.745
148.748
114.996
80.9267
46.8812
13.8727
-16.3813
-48.5473
-79.7545
-109.637
-137.973
-164.634
-189.53
-212.603
-233.827
-253.192
-270.715
-286.425
-300.355
-312.547
-323.045
-331.889
-339.123
-344.785
-348.912
-351.503
-352.546
-352.083
-350.149
-346.712
-341.777
-335.319
-327.324
-317.751
-306.571
-293.748
-279.241
-263.011
-245.03
-225.278
-203.755
-180.468
-155.453
-128.78
-100.558
-70.9106
-39.9821
-8.56322
23.9576
57.0912
90.4378
123.661
156.381
188.212
218.794
247.748
274.695
299.299
321.236
340.211
355.97
368.276
376.947
381.846
382.832
379.965
373.107
362.369
347.883
329.824
308.429
283.982
256.788
227.217
195.655
162.505
128.181
93.0876
57.6313
22.2026
-12.7322
-45.8154
-78.9474
-110.943
-141.471
-170.327
-197.362
-222.467
-245.562
-266.602
-285.565
-302.448
-317.278
-330.101
-340.972
-349.966
-357.172
-362.68
-366.587
-368.967
-369.885
-369.426
-367.647
-364.572
-360.214
-354.587
-347.68
-339.481
-329.968
-319.112
-306.886
-293.264
-278.209
-261.7
-243.721
-224.256
-203.304
-180.874
-156.995
-131.714
-105.1
-77.2579
-47.7989
-17.8359
12.9486
44.3173
75.9929
107.663
138.982
169.571
199.022
226.918
252.837
276.362
297.098
314.678
328.784
339.142
345.538
347.78
345.838
339.668
329.383
315.044
296.89
275.199
250.306
222.603
192.529
160.549
127.147
92.8095
58.0177
23.2287
-11.1367
-44.7002
-77.129
-108.192
-137.677
-165.432
-191.358
-215.401
-237.545
-257.809
-276.227
-292.853
-307.756
-321
-332.654
-342.792
-351.483
-358.775
-364.728
-369.384
-372.774
-374.944
-375.881
-375.572
-374.076
-371.351
-367.379
-362.131
-355.563
-347.629
-338.276
-327.439
-315.057
-301.068
-285.421
-268.068
-248.98
-228.143
-205.563
-181.27
-155.324
-127.816
-98.8635
-68.6106
-37.2796
-5.10831
27.6448
60.6802
93.6666
126.242
158.023
188.606
217.585
244.557
269.126
290.923
309.611
324.899
336.542
344.35
348.162
347.978
343.756
335.607
323.604
307.956
288.907
266.745
241.804
214.459
185.112
154.181
122.09
89.2579
56.0979
22.9996
-9.67768
-41.5717
-72.4601
-102.07
-130.203
-156.708
-181.478
-204.437
-225.54
-244.774
-262.149
-277.692
-291.443
-303.451
-313.771
-322.464
-329.582
-335.18
-339.315
-342.05
-343.403
-343.395
-342.112
-339.551
-335.723
-330.639
-324.3
-316.695
-307.811
-297.626
-286.113
-273.239
-258.97
-243.267
-226.097
-207.424
-187.218
-165.471
-142.176
-117.364
-91.0845
-63.4089
-34.4644
-4.3474
26.6727
58.2768
90.1713
122.014
153.485
184.202
213.783
241.816
267.889
291.627
312.657
330.636
345.265
356.285
363.502
366.783
365.993
361.216
352.441
339.755
323.433
303.731
280.971
255.538
227.831
198.297
167.365
135.464
103.008
70.3717
37.8383
5.77328
-19.5997
-49.1902
-77.428
-104.148
-129.261
-152.714
-174.471
-194.526
-212.899
-229.619
-244.733
-258.292
-270.348
-280.957
-290.167
-298.019
-304.548
-309.778
-313.724
-316.396
-317.759
-317.797
-316.443
-313.729
-309.574
-303.973
-296.902
-288.31
-278.178
-266.464
-253.149
-238.225
-221.68
-203.519
-183.776
-162.498
-139.744
-115.613
-90.2082
-63.6539
-36.145
-8.37248
19.9224
48.982
78.3411
107.581
136.409
164.545
191.52
216.917
213.675
181.768
148.755
114.988
80.904
46.8476
13.8286
-16.4498
-48.6199
-79.8312
-109.717
-138.056
-164.717
-189.614
-212.686
-233.908
-253.271
-270.792
-286.499
-300.427
-312.616
-323.112
-331.954
-339.186
-344.846
-348.971
-351.562
-352.605
-352.143
-350.208
-346.771
-341.837
-335.38
-327.387
-317.816
-306.638
-293.818
-279.313
-263.085
-245.107
-225.356
-203.835
-180.548
-155.532
-128.857
-100.633
-70.9815
-40.0483
-8.61683
23.9127
57.0569
90.416
123.653
156.389
188.235
218.834
247.804
274.769
299.388
321.339
340.328
356.099
368.414
377.093
381.998
382.994
380.111
373.253
362.51
348.015
329.944
308.535
284.072
256.86
227.27
195.69
162.523
128.182
93.0717
57.5998
22.1544
-12.8036
-45.8682
-79.0203
-111.026
-141.559
-170.42
-197.457
-222.563
-245.659
-266.698
-285.659
-302.54
-317.368
-330.187
-341.055
-350.045
-357.247
-362.752
-366.655
-369.032
-369.946
-369.488
-367.707
-364.631
-360.273
-354.647
-347.741
-339.543
-330.032
-319.177
-306.954
-293.333
-278.281
-261.774
-243.796
-224.333
-203.381
-180.953
-157.073
-131.79
-105.174
-77.3308
-47.8658
-17.8987
12.894
44.2726
75.9599
107.644
138.978
169.583
199.053
226.968
252.905
276.449
297.203
314.798
328.918
339.286
345.69
347.943
345.991
339.82
329.528
315.18
297.012
275.303
250.392
222.669
192.574
160.573
127.15
92.7937
57.9842
23.1795
-11.1993
-44.7736
-77.2101
-108.279
-137.768
-165.524
-191.45
-215.492
-237.634
-257.895
-276.309
-292.932
-307.831
-321.071
-332.722
-342.857
-351.544
-358.835
-364.786
-369.44
-372.829
-374.998
-375.934
-375.626
-374.131
-371.406
-367.436
-362.189
-355.624
-347.692
-338.342
-327.508
-315.129
-301.144
-285.499
-268.148
-249.062
-228.226
-205.646
-181.353
-155.406
-127.895
-98.9377
-68.6792
-37.3408
-5.16015
27.6039
60.6519
93.6525
126.244
158.041
188.642
217.64
244.629
269.216
291.029
309.732
325.032
336.684
344.499
348.319
348.126
343.902
335.748
323.735
308.075
289.011
266.834
241.874
214.511
185.146
154.196
122.088
89.239
56.0638
22.9523
-9.7367
-41.6404
-72.5365
-102.152
-130.289
-156.796
-181.567
-204.526
-225.628
-244.86
-262.233
-277.773
-291.521
-303.526
-313.843
-322.532
-329.648
-335.244
-339.377
-342.11
-343.459
-343.453
-342.168
-339.607
-335.779
-330.695
-324.357
-316.753
-307.87
-297.686
-286.175
-273.303
-259.037
-243.336
-226.168
-207.497
-187.293
-165.547
-142.253
-117.44
-91.1585
-63.4802
-34.5306
-4.40692
26.624
58.2384
90.1445
122.001
153.487
184.22
213.819
241.869
267.961
291.717
312.763
330.757
345.4
356.431
363.657
366.949
366.147
361.366
352.586
339.891
323.557
303.839
281.06
255.608
227.882
198.328
167.378
135.461
102.99
70.3423
37.8013
5.7279
-19.6761
-49.2704
-77.5083
-104.228
-129.341
-152.793
-174.548
-194.601
-212.971
-229.688
-244.799
-258.354
-270.408
-281.014
-290.222
-298.072
-304.6
-309.829
-313.775
-316.446
-317.81
-317.848
-316.497
-313.783
-309.63
-304.031
-296.963
-288.372
-278.242
-266.53
-253.216
-238.293
-221.749
-203.589
-183.845
-162.566
-139.81
-115.677
-90.2688
-63.7106
-36.1966
-8.41687
19.8852
48.9534
78.323
107.575
136.417
164.567
191.557
216.969
213.756
181.815
148.769
114.97
80.8585
46.7803
13.7397
-16.5863
-48.765
-79.9846
-109.877
-138.22
-164.884
-189.78
-212.851
-234.07
-253.429
-270.945
-286.648
-300.57
-312.754
-323.245
-332.084
-339.312
-344.969
-349.09
-351.68
-352.723
-352.264
-350.326
-346.89
-341.957
-335.503
-327.513
-317.946
-306.773
-293.957
-279.457
-263.234
-245.259
-225.513
-203.993
-180.708
-155.69
-129.012
-100.782
-71.1221
-40.1795
-8.72298
23.8241
56.9897
90.374
123.639
156.405
188.284
218.916
247.92
274.917
299.567
321.549
340.564
356.359
368.693
377.386
382.303
383.318
380.406
373.547
362.793
348.281
330.186
308.748
284.253
257.007
227.382
195.766
162.562
128.188
93.0453
57.543
22.0648
-12.9386
-45.9665
-79.1578
-111.182
-141.727
-170.594
-197.636
-222.744
-245.84
-266.877
-285.835
-302.712
-317.534
-330.346
-341.207
-350.189
-357.383
-362.88
-366.777
-369.144
-370.055
-369.594
-367.81
-364.733
-360.375
-354.75
-347.846
-339.65
-330.142
-319.291
-307.072
-293.455
-278.406
-261.903
-243.928
-224.468
-203.518
-181.09
-157.209
-131.924
-105.303
-77.4568
-47.9814
-18.0053
12.8039
44.2021
75.9129
107.624
138.989
169.627
199.132
227.085
253.06
276.641
297.429
315.056
329.202
339.592
346.011
348.286
346.311
340.139
329.834
315.465
297.269
275.527
250.577
222.814
192.676
160.633
127.17
92.7745
57.9294
23.0933
-11.3124
-44.9084
-77.3604
-108.441
-137.937
-165.698
-191.623
-215.662
-237.8
-258.054
-276.462
-293.078
-307.969
-321.202
-332.846
-342.975
-351.657
-358.942
-364.89
-369.541
-372.928
-375.095
-376.028
-375.723
-374.228
-371.505
-367.538
-362.294
-355.733
-347.807
-338.462
-327.635
-315.262
-301.282
-285.643
-268.297
-249.214
-228.381
-205.802
-181.507
-155.557
-128.04
-99.0737
-68.804
-37.4505
-5.25135
27.5346
60.6078
93.6367
126.259
158.091
188.727
217.761
244.787
269.408
291.254
309.986
325.309
336.98
344.808
348.647
348.432
344.207
336.039
324.009
308.324
289.23
267.02
242.025
214.625
185.222
154.237
122.093
89.2106
56.0054
22.8673
-9.8458
-41.7675
-72.6795
-102.306
-130.451
-156.963
-181.735
-204.694
-225.793
-245.022
-262.39
-277.924
-291.666
-303.665
-313.976
-322.659
-329.77
-335.362
-339.491
-342.219
-343.562
-343.557
-342.27
-339.707
-335.879
-330.795
-324.459
-316.856
-307.976
-297.795
-286.288
-273.419
-259.158
-243.462
-226.299
-207.632
-187.431
-165.688
-142.395
-117.581
-91.2959
-63.6127
-34.6536
-4.51681
26.5354
58.1697
90.0986
121.982
153.498
184.263
213.897
241.982
268.11
291.9
312.98
331.004
345.672
356.725
363.968
367.272
366.468
361.67
352.879
340.166
323.805
304.054
281.24
255.749
227.984
198.391
167.404
135.454
102.954
70.2836
37.7274
5.63811
-19.8298
-49.431
-77.6688
-104.389
-129.501
-152.951
-174.703
-194.751
-213.115
-229.826
-244.931
-258.48
-270.527
-281.129
-290.332
-298.179
-304.704
-309.931
-313.876
-316.546
-317.911
-317.954
-316.606
-313.893
-309.743
-304.147
-297.083
-288.496
-278.37
-266.661
-253.351
-238.43
-221.888
-203.728
-183.984
-162.703
-139.943
-115.804
-90.39
-63.8238
-36.2998
-8.50514
19.8107
48.8962
78.2867
107.563
136.432
164.611
191.632
217.073
213.878
181.886
148.789
114.943
80.7898
46.679
13.6056
-16.7905
-48.9824
-80.2148
-110.117
-138.467
-165.134
-190.031
-213.099
-234.314
-253.666
-271.176
-286.87
-300.785
-312.962
-323.446
-332.278
-339.5
-345.152
-349.267
-351.856
-352.901
-352.444
-350.502
-347.067
-342.136
-335.687
-327.702
-318.141
-306.975
-294.165
-279.674
-263.457
-245.488
-225.748
-204.231
-180.947
-155.927
-129.244
-101.006
-71.333
-40.3765
-8.88255
23.6909
56.8887
90.3106
123.618
156.43
188.357
219.039
248.093
275.139
299.837
321.863
340.919
356.748
369.112
377.827
382.761
383.797
380.854
373.99
363.218
348.68
330.55
309.069
284.526
257.228
227.549
195.878
162.622
128.197
93.006
57.4583
21.9316
-13.1404
-46.1136
-79.3642
-111.416
-141.977
-170.855
-197.903
-223.013
-246.11
-267.144
-286.097
-302.967
-317.782
-330.583
-341.432
-350.403
-357.585
-363.072
-366.957
-369.311
-370.218
-369.752
-367.964
-364.884
-360.527
-354.903
-348.002
-339.81
-330.307
-319.461
-307.247
-293.636
-278.593
-262.095
-244.125
-224.668
-203.721
-181.294
-157.413
-132.123
-105.495
-77.6424
-48.1552
-18.1641
12.6701
44.0979
75.8438
107.595
139.006
169.695
199.254
227.263
253.294
276.93
297.77
315.445
329.631
340.053
346.494
348.794
346.802
340.624
330.295
315.894
297.656
275.864
250.858
223.033
192.832
160.726
127.201
92.7474
57.8487
22.9654
-11.4807
-45.1095
-77.5844
-108.683
-138.191
-165.956
-191.882
-215.916
-238.047
-258.292
-276.689
-293.295
-308.175
-321.397
-333.031
-343.151
-351.824
-359.103
-365.044
-369.691
-373.075
-375.24
-376.169
-375.866
-374.373
-371.652
-367.689
-362.451
-355.897
-347.978
-338.642
-327.823
-315.459
-301.489
-285.858
-268.519
-249.442
-228.612
-206.035
-181.738
-155.782
-128.256
-99.2769
-68.9901
-37.6141
-5.38709
27.4317
60.5428
93.6144
126.284
158.166
188.856
217.944
245.024
269.698
291.592
310.368
325.728
337.426
345.272
349.132
348.9
344.669
336.479
324.421
308.698
289.561
267.301
242.252
214.798
185.339
154.299
122.102
89.1696
55.9192
22.7411
-10.0056
-41.9592
-72.8927
-102.536
-130.692
-157.211
-181.986
-204.944
-226.04
-245.263
-262.624
-278.149
-291.882
-303.872
-314.174
-322.849
-329.951
-335.536
-339.66
-342.381
-343.716
-343.712
-342.421
-339.857
-336.029
-330.945
-324.61
-317.01
-308.133
-297.957
-286.455
-273.593
-259.338
-243.65
-226.493
-207.833
-187.638
-165.899
-142.609
-117.792
-91.5016
-63.8113
-34.8381
-4.68149
26.4029
58.0668
90.0295
121.954
153.513
184.328
214.013
242.152
268.334
292.176
313.305
331.374
346.081
357.165
364.433
367.745
366.956
362.13
353.319
340.579
324.177
304.379
281.509
255.96
228.136
198.486
167.444
135.443
102.9
70.195
37.6165
5.50626
-20.0636
-49.6722
-77.9095
-104.63
-129.741
-153.188
-174.935
-194.976
-213.332
-230.033
-245.129
-258.668
-270.707
-281.301
-290.497
-298.338
-304.859
-310.084
-314.027
-316.696
-318.062
-318.114
-316.769
-314.057
-309.913
-304.322
-297.264
-288.682
-278.561
-266.858
-253.553
-238.636
-222.096
-203.937
-184.192
-162.908
-140.143
-115.996
-90.5717
-63.9937
-36.4549
-8.63729
19.6987
48.8101
78.2321
107.545
136.455
164.678
191.743
217.228
214.04
181.98
148.816
114.906
80.6974
46.5431
13.4255
-17.0619
-49.2723
-80.5219
-110.437
-138.797
-165.468
-190.365
-213.429
-234.638
-253.983
-271.483
-287.167
-301.071
-313.238
-323.713
-332.536
-339.751
-345.396
-349.504
-352.09
-353.141
-352.683
-350.737
-347.304
-342.376
-335.932
-327.954
-318.401
-307.243
-294.443
-279.963
-263.754
-245.794
-226.061
-204.549
-181.266
-156.244
-129.553
-101.304
-71.6145
-40.6398
-9.09564
23.513
56.7536
90.2257
123.589
156.462
188.454
219.202
248.323
275.436
300.196
322.282
341.391
357.267
369.671
378.416
383.371
384.425
381.463
374.584
363.787
349.213
331.035
309.496
284.89
257.523
227.771
196.028
162.702
128.209
92.9533
57.3455
21.7553
-13.4086
-46.311
-79.6415
-111.729
-142.312
-171.203
-198.26
-223.373
-246.47
-267.501
-286.447
-303.308
-318.111
-330.898
-341.733
-350.689
-357.855
-363.326
-367.195
-369.536
-370.436
-369.961
-368.168
-365.086
-360.728
-355.107
-348.209
-340.023
-330.526
-319.687
-307.481
-293.876
-278.841
-262.351
-244.387
-224.936
-203.992
-181.567
-157.684
-132.389
-105.75
-77.8833
-48.394
-18.3764
12.4915
43.9587
75.7514
107.557
139.029
169.785
199.416
227.499
253.607
277.316
298.226
315.964
330.204
340.669
347.139
349.455
347.469
341.275
330.911
316.468
298.174
276.314
251.232
223.326
193.04
160.849
127.242
92.7109
57.7408
22.7946
-11.7054
-45.3781
-77.8834
-109.006
-138.529
-166.3
-192.226
-216.255
-238.377
-258.609
-276.993
-293.584
-308.449
-321.656
-333.277
-343.385
-352.047
-359.316
-365.25
-369.891
-373.271
-375.432
-376.358
-376.057
-374.566
-371.848
-367.891
-362.66
-356.114
-348.207
-338.881
-328.074
-315.723
-301.765
-286.145
-268.815
-249.746
-228.921
-206.345
-182.046
-156.083
-128.545
-99.5483
-69.2384
-37.8323
-5.56823
27.2943
60.4558
93.5843
126.317
158.266
189.028
218.188
245.341
270.085
292.044
310.878
326.286
338.022
345.892
349.766
349.535
345.289
337.068
324.971
309.198
290.002
267.677
242.556
215.028
185.495
154.381
122.114
89.1148
55.8043
22.5728
-10.2201
-42.2136
-73.177
-102.842
-131.014
-157.542
-182.321
-205.277
-226.369
-245.585
-262.935
-278.45
-292.17
-304.148
-314.437
-323.101
-330.193
-335.769
-339.884
-342.596
-343.924
-343.917
-342.621
-340.056
-336.227
-331.144
-324.812
-317.216
-308.343
-298.174
-286.679
-273.825
-259.579
-243.9
-226.752
-208.101
-187.914
-166.18
-142.893
-118.074
-91.7764
-64.0763
-35.0851
-4.9016
26.2264
57.9291
89.9368
121.916
153.534
184.413
214.167
242.377
268.631
292.543
313.738
331.867
346.626
357.753
365.052
368.376
367.6
362.751
353.909
341.13
324.673
304.811
281.868
256.242
228.339
198.611
167.496
135.428
102.827
70.076
37.4687
5.33628
-20.382
-49.9945
-78.2305
-104.951
-130.061
-153.504
-175.244
-195.276
-213.62
-230.31
-245.393
-258.92
-270.947
-281.53
-290.717
-298.551
-305.067
-310.288
-314.23
-316.897
-318.264
-318.327
-316.985
-314.275
-310.139
-304.554
-297.504
-288.93
-278.817
-267.12
-253.822
-238.91
-222.374
-204.216
-184.47
-163.182
-140.41
-116.253
-90.8143
-64.2203
-36.6621
-8.81323
19.5491
48.695
78.1589
107.52
136.485
164.767
191.892
217.435
214.242
182.097
148.849
114.86
80.5806
46.3716
13.1989
-17.3996
-49.6345
-80.9059
-110.838
-139.209
-165.885
-190.782
-213.843
-235.044
-254.378
-271.866
-287.538
-301.429
-313.584
-324.047
-332.859
-340.065
-345.701
-349.801
-352.382
-353.442
-352.98
-351.031
-347.599
-342.675
-336.239
-328.269
-318.726
-307.579
-294.791
-280.324
-264.126
-246.176
-226.453
-204.946
-181.666
-156.64
-129.941
-101.678
-71.967
-40.9694
-9.36237
23.2899
56.5839
90.1189
123.553
156.502
188.575
219.406
248.611
275.806
300.646
322.805
341.982
357.917
370.37
379.151
384.132
385.2
382.232
375.329
364.5
349.879
331.642
310.031
285.344
257.891
228.049
196.216
162.802
128.223
92.8872
57.2044
21.5367
-13.742
-46.561
-79.9914
-112.121
-142.73
-171.638
-198.706
-223.823
-246.92
-267.947
-286.885
-303.734
-318.524
-331.294
-342.109
-351.046
-358.192
-363.644
-367.493
-369.819
-370.706
-370.223
-368.424
-365.338
-360.98
-355.361
-348.469
-340.289
-330.799
-319.97
-307.773
-294.178
-279.152
-262.672
-244.716
-225.27
-204.332
-181.908
-158.024
-132.722
-106.07
-78.1712
-48.7071
-18.6429
12.2675
43.7839
75.635
107.508
139.056
169.897
199.618
227.795
253.997
277.799
298.795
316.613
330.921
341.439
347.945
350.277
348.304
342.09
331.684
317.187
298.822
276.877
251.7
223.692
193.3
161.003
127.292
92.6645
57.6051
22.5803
-11.9873
-45.7151
-78.2578
-109.411
-138.952
-166.732
-192.657
-216.679
-238.789
-259.006
-277.372
-293.946
-308.792
-321.981
-333.585
-343.678
-352.325
-359.583
-365.507
-370.141
-373.516
-375.672
-376.593
-376.296
-374.806
-372.093
-368.142
-362.921
-356.386
-348.492
-339.18
-328.389
-316.052
-302.11
-286.504
-269.186
-250.126
-229.306
-206.732
-182.431
-156.46
-128.907
-99.8886
-69.5494
-38.1057
-5.79528
27.1219
60.3464
93.5461
126.357
158.391
189.241
218.494
245.737
270.568
292.609
311.516
326.985
338.767
346.668
350.554
350.331
346.065
337.806
325.659
309.824
290.555
268.146
242.937
215.316
185.69
154.484
122.128
89.0459
55.6601
22.3615
-10.4889
-42.5323
-73.533
-103.226
-131.418
-157.957
-182.739
-205.694
-226.781
-245.987
-263.325
-278.825
-292.53
-304.492
-314.767
-323.416
-330.495
-336.059
-340.165
-342.864
-344.184
-344.173
-342.873
-340.305
-336.475
-331.394
-325.064
-317.472
-308.606
-298.444
-286.959
-274.116
-259.881
-244.213
-227.077
-208.436
-188.26
-166.532
-143.249
-118.427
-92.1207
-64.4082
-35.3955
-5.1768
26.0049
57.7563
89.82
121.868
153.558
184.52
214.359
242.659
269.003
293.002
314.28
332.485
347.307
358.487
365.826
369.167
368.399
363.534
354.648
341.819
325.294
305.351
282.316
256.593
228.592
198.767
167.56
135.408
102.734
69.9257
37.2836
5.13379
-20.7913
-50.398
-78.6317
-105.352
-130.461
-153.899
-175.631
-195.651
-213.982
-230.655
-245.722
-259.234
-271.246
-281.816
-290.992
-298.817
-305.326
-310.542
-314.482
-317.147
-318.518
-318.591
-317.253
-314.548
-310.421
-304.845
-297.805
-289.24
-279.136
-267.448
-254.158
-239.254
-222.721
-204.565
-184.817
-163.524
-140.743
-116.573
-91.1177
-64.5035
-36.9218
-9.03295
19.3617
48.5504
78.0667
107.489
136.521
164.877
192.078
217.694
214.485
182.238
148.888
114.803
80.4385
46.1626
12.9256
-17.8028
-50.069
-81.3672
-111.32
-139.704
-166.387
-191.284
-214.339
-235.531
-254.853
-272.327
-287.983
-301.859
-313.999
-324.447
-333.247
-340.441
-346.067
-350.158
-352.733
-353.802
-353.334
-351.382
-347.953
-343.034
-336.607
-328.646
-319.116
-307.982
-295.209
-280.757
-264.573
-246.636
-226.923
-205.423
-182.146
-157.116
-130.407
-102.127
-72.3907
-41.3655
-9.68297
23.021
56.3791
89.9898
123.508
156.55
188.719
219.65
248.955
276.25
301.185
323.434
342.691
358.697
371.209
380.035
385.046
386.128
383.157
376.226
365.356
350.679
332.37
310.673
285.889
258.333
228.382
196.44
162.92
128.238
92.8072
57.0349
21.2776
-14.1365
-46.8689
-80.4161
-112.594
-143.234
-172.161
-199.241
-224.364
-247.461
-268.483
-287.411
-304.246
-319.019
-331.768
-342.561
-351.474
-358.597
-364.024
-367.851
-370.158
-371.031
-370.536
-368.73
-365.64
-361.283
-355.667
-348.78
-340.608
-331.128
-320.309
-308.124
-294.54
-279.525
-263.056
-245.11
-225.673
-204.74
-182.318
-158.433
-133.123
-106.455
-78.5163
-49.0851
-18.9635
11.9979
43.5731
75.4941
107.449
139.089
170.03
199.859
228.149
254.466
278.378
299.479
317.392
331.781
342.364
348.915
351.267
349.304
343.068
332.613
318.05
299.6
277.553
252.262
224.13
193.612
161.186
127.353
92.6077
57.441
22.3218
-12.3271
-46.1214
-78.7081
-109.898
-139.461
-167.25
-193.175
-217.189
-239.284
-259.483
-277.828
-294.38
-309.204
-322.371
-333.955
-344.03
-352.659
-359.902
-365.816
-370.441
-373.809
-375.96
-376.876
-376.582
-375.095
-372.387
-368.445
-363.234
-356.712
-348.834
-339.54
-328.766
-316.448
-302.524
-286.934
-269.631
-250.582
-229.77
-207.198
-182.894
-156.913
-129.342
-100.298
-69.9236
-38.4345
-6.06871
26.9139
60.2141
93.4993
126.405
158.54
189.497
218.859
246.212
271.149
293.288
312.282
327.824
339.663
347.601
351.503
351.286
346.997
338.692
326.486
310.575
291.217
268.709
243.393
215.661
185.923
154.607
122.145
88.9623
55.4861
22.1068
-10.8126
-42.9159
-73.9612
-103.688
-131.902
-158.455
-183.242
-206.195
-227.275
-246.47
-263.793
-279.276
-292.963
-304.906
-315.163
-323.795
-330.858
-336.408
-340.501
-343.186
-344.497
-344.48
-343.174
-340.603
-336.773
-331.694
-325.367
-317.78
-308.921
-298.769
-287.295
-274.464
-260.242
-244.588
-227.467
-208.839
-188.675
-166.955
-143.676
-118.852
-92.535
-64.8071
-35.7702
-5.50644
25.7372
57.5483
89.6794
121.809
153.587
184.647
214.589
242.996
269.449
293.552
314.93
333.225
348.126
359.37
366.755
370.119
369.357
364.474
355.539
342.647
326.04
306.001
282.853
257.014
228.896
198.954
167.637
135.383
102.622
69.7431
37.0604
4.90613
-21.2997
-50.8826
-79.113
-105.834
-130.942
-154.374
-176.095
-196.101
-214.415
-231.07
-246.118
-259.61
-271.605
-282.159
-291.321
-299.136
-305.637
-310.848
-314.785
-317.449
-318.824
-318.906
-317.575
-314.875
-310.76
-305.194
-298.166
-289.612
-279.519
-267.843
-254.563
-239.666
-223.138
-204.984
-185.234
-163.935
-141.143
-116.958
-91.4821
-64.8434
-37.2344
-9.2965
19.136
48.3759
77.9551
107.45
136.565
165.009
192.3
218.004
214.769
182.401
148.932
114.735
80.2703
45.9129
12.6066
-18.2707
-50.5758
-81.9059
-111.882
-140.283
-166.973
-191.87
-214.919
-236.099
-255.408
-272.864
-288.503
-302.361
-314.483
-324.915
-333.7
-340.88
-346.494
-350.575
-353.144
-354.221
-353.745
-351.793
-348.366
-343.454
-337.036
-329.086
-319.571
-308.452
-295.696
-281.262
-265.094
-247.172
-227.472
-205.98
-182.707
-157.673
-130.952
-102.652
-72.8861
-41.8286
-10.0579
22.7058
56.1387
89.8379
123.455
156.604
188.886
219.934
249.358
276.768
301.815
324.168
343.519
359.608
372.189
381.067
386.113
387.21
384.235
377.274
366.357
351.614
333.221
311.424
286.526
258.848
228.771
196.701
163.057
128.255
92.7129
56.8369
20.9798
-14.5783
-47.2495
-80.9183
-113.148
-143.823
-172.772
-199.868
-224.997
-248.093
-269.109
-288.025
-304.844
-319.596
-332.322
-343.088
-351.974
-359.069
-364.469
-368.269
-370.554
-371.409
-370.902
-369.086
-365.993
-361.636
-356.023
-349.144
-340.981
-331.512
-320.705
-308.534
-294.963
-279.961
-263.505
-245.57
-226.142
-205.216
-182.798
-158.91
-133.592
-106.906
-78.9283
-49.5192
-19.3382
11.6821
43.3258
75.3281
107.377
139.125
170.184
200.14
228.562
255.011
279.054
300.277
318.302
332.786
343.445
350.048
352.427
350.472
344.209
333.698
319.058
300.508
278.342
252.917
224.641
193.974
161.4
127.421
92.5398
57.2479
22.0184
-12.7253
-46.5982
-79.2345
-110.468
-140.056
-167.856
-193.781
-217.784
-239.862
-260.039
-278.36
-294.886
-309.684
-322.825
-334.386
-344.44
-353.049
-360.276
-366.176
-370.79
-374.151
-376.295
-377.207
-376.917
-375.432
-372.73
-368.797
-363.599
-357.093
-349.233
-339.959
-329.206
-316.911
-303.007
-287.437
-270.151
-251.115
-230.311
-207.743
-183.435
-157.443
-129.851
-100.777
-70.3619
-38.8192
-6.38906
26.67
60.0583
93.4433
126.459
158.713
189.795
219.286
246.766
271.827
294.08
313.176
328.805
340.709
348.692
352.614
352.4
348.084
339.727
327.452
311.453
291.991
269.367
243.925
216.063
186.194
154.75
122.163
88.8636
55.2816
21.8081
-11.192
-43.3648
-74.4622
-104.228
-132.469
-159.038
-183.83
-206.781
-227.852
-247.034
-264.34
-279.803
-293.468
-305.389
-315.625
-324.237
-331.281
-336.815
-340.892
-343.563
-344.863
-344.838
-343.526
-340.951
-337.121
-332.043
-325.72
-318.139
-309.289
-299.148
-287.686
-274.87
-260.664
-245.027
-227.922
-209.309
-189.16
-167.449
-144.174
-119.348
-93.0197
-65.2729
-36.21
-5.89052
25.4221
57.3049
89.5144
121.738
153.62
184.794
214.855
243.389
269.969
294.195
315.689
334.09
349.082
360.401
367.839
371.232
370.475
365.571
356.581
343.615
326.911
306.758
283.482
257.506
229.249
199.171
167.724
135.352
102.488
69.5268
36.7973
4.6582
-21.9132
-51.4476
-79.6743
-106.397
-131.503
-154.928
-176.638
-196.627
-214.921
-231.554
-246.579
-260.05
-272.024
-282.559
-291.706
-299.508
-305.999
-311.204
-315.138
-317.801
-319.181
-319.272
-317.949
-315.257
-311.155
-305.6
-298.586
-290.046
-279.965
-268.303
-255.034
-240.147
-223.626
-205.474
-185.722
-164.416
-141.611
-117.408
-91.9077
-65.2398
-37.6005
-9.60402
18.8715
48.1708
77.8236
107.404
136.614
165.162
192.559
218.366
215.092
182.587
148.982
114.656
80.075
45.6185
12.2434
-18.8026
-51.155
-82.5225
-112.527
-140.945
-167.643
-192.54
-215.582
-236.75
-256.041
-273.479
-289.097
-302.934
-315.036
-325.449
-334.217
-341.382
-346.983
-351.052
-353.614
-354.696
-354.212
-352.261
-348.838
-343.933
-337.526
-329.589
-320.091
-308.989
-296.253
-281.839
-265.69
-247.786
-228.1
-206.617
-183.349
-158.309
-131.575
-103.253
-73.4535
-42.3588
-10.4878
22.3432
55.8619
89.6625
123.393
156.665
189.077
220.259
249.817
277.36
302.534
325.008
344.467
360.65
373.31
382.247
387.334
388.447
385.467
378.474
367.503
352.684
334.194
312.282
287.254
259.436
229.214
196.998
163.213
128.273
92.6039
56.6099
20.645
-15.035
-47.7368
-81.5005
-113.784
-144.497
-173.473
-200.584
-225.72
-248.816
-269.825
-288.727
-305.529
-320.257
-332.956
-343.692
-352.546
-359.608
-364.976
-368.747
-371.007
-371.842
-371.319
-369.494
-366.395
-362.039
-356.431
-349.559
-341.407
-331.95
-321.158
-309.002
-295.446
-280.46
-264.019
-246.097
-226.68
-205.761
-183.347
-159.456
-134.129
-107.423
-79.4086
-50.0088
-19.7669
11.3198
43.0414
75.1365
107.294
139.164
170.358
200.46
229.033
255.635
279.827
301.19
319.342
333.936
344.683
351.346
353.755
351.807
345.515
334.941
320.212
301.547
279.245
253.667
225.226
194.388
161.642
127.499
92.4601
57.0251
21.6692
-13.183
-47.1465
-79.8375
-111.121
-140.739
-168.551
-194.474
-218.465
-240.524
-260.676
-278.968
-295.465
-310.233
-323.345
-334.879
-344.908
-353.495
-360.702
-366.587
-371.189
-374.542
-376.677
-377.587
-377.299
-375.816
-373.122
-369.2
-364.017
-357.529
-349.689
-340.438
-329.71
-317.439
-303.56
-288.012
-270.746
-251.725
-230.931
-208.366
-184.055
-158.05
-130.434
-101.326
-70.8648
-39.2604
-6.75684
26.3893
59.8785
93.3776
126.519
158.909
190.135
219.772
247.399
272.601
294.986
314.199
329.926
341.907
349.94
353.887
353.673
349.327
340.913
328.557
312.457
292.876
270.118
244.533
216.523
186.504
154.911
122.181
88.7493
55.0459
21.4646
-11.6277
-43.8796
-75.0368
-104.847
-133.118
-159.704
-184.504
-207.451
-228.513
-247.679
-264.964
-280.405
-294.045
-305.941
-316.153
-324.741
-331.765
-337.279
-341.339
-343.994
-345.28
-345.246
-343.928
-341.348
-337.517
-332.442
-326.123
-318.55
-309.71
-299.581
-288.133
-275.335
-261.146
-245.528
-228.441
-209.848
-189.714
-168.015
-144.745
-119.916
-93.5755
-65.8057
-36.7122
-6.33242
25.0588
57.0252
89.3246
121.654
153.655
184.961
215.159
243.838
270.563
294.929
316.557
335.079
350.175
361.581
369.08
372.507
371.756
366.825
357.775
344.723
327.909
307.622
284.203
258.069
229.652
199.417
167.823
135.315
102.334
69.2752
36.4912
4.36511
-22.6076
-52.0913
-80.3155
-107.041
-132.145
-155.563
-177.258
-197.229
-215.499
-232.107
-247.107
-260.552
-272.502
-283.016
-292.145
-299.932
-306.413
-311.611
-315.541
-318.204
-319.588
-319.689
-318.376
-315.694
-311.605
-306.066
-299.066
-290.542
-280.476
-268.829
-255.574
-240.697
-224.183
-206.034
-186.279
-164.965
-142.147
-117.922
-92.3948
-65.6932
-38.0204
-9.95564
18.5676
47.9346
77.6715
107.35
136.67
165.336
192.854
218.779
215.456
182.795
149.036
114.565
79.8519
45.2799
11.8328
-19.3981
-51.8067
-83.2173
-113.253
-141.691
-168.399
-193.295
-216.328
-237.482
-256.755
-274.17
-289.765
-303.579
-315.658
-326.049
-334.798
-341.946
-347.532
-351.589
-354.143
-355.225
-354.736
-352.787
-349.368
-344.472
-338.077
-330.154
-320.676
-309.593
-296.88
-282.489
-266.361
-248.477
-228.807
-207.334
-184.072
-159.027
-132.279
-103.931
-74.0934
-42.9562
-10.9742
21.9324
55.548
89.4629
123.322
156.732
189.29
220.623
250.333
278.025
303.344
325.952
345.533
361.824
374.572
383.577
388.708
389.84
386.855
379.827
368.794
353.89
335.29
313.248
288.072
260.098
229.712
197.332
163.386
128.291
92.4797
56.3536
20.2732
-15.5086
-48.33
-82.1647
-114.504
-145.258
-174.262
-201.391
-226.536
-249.632
-270.632
-289.519
-306.3
-321.001
-333.67
-344.371
-353.19
-360.215
-365.547
-369.284
-371.516
-372.327
-371.788
-369.951
-366.848
-362.492
-356.889
-350.026
-341.886
-332.444
-321.668
-309.529
-295.99
-281.022
-264.597
-246.69
-227.285
-206.375
-183.965
-160.072
-134.735
-108.008
-79.9575
-50.5548
-20.2499
10.9101
42.7192
74.9184
107.198
139.206
170.552
200.818
229.561
256.335
280.696
302.219
320.514
335.232
346.077
352.809
355.254
353.311
346.986
336.343
321.513
302.718
280.262
254.51
225.883
194.853
161.914
127.583
92.3679
56.7717
21.2737
-13.7009
-47.7672
-80.5183
-111.859
-141.509
-169.334
-195.255
-219.233
-241.27
-261.393
-279.653
-296.117
-310.851
-323.93
-335.433
-345.434
-353.995
-361.182
-367.049
-371.637
-374.981
-377.107
-378.014
-377.727
-376.249
-373.562
-369.653
-364.486
-358.018
-350.202
-340.977
-330.276
-318.034
-304.183
-288.659
-271.416
-252.412
-231.63
-209.069
-184.753
-158.734
-131.092
-101.945
-71.4328
-39.7588
-7.17273
26.0713
59.6741
93.3014
126.585
159.128
190.516
220.319
248.111
273.473
296.007
315.352
331.19
343.257
351.348
355.321
355.108
350.728
342.249
329.802
313.588
293.873
270.964
245.217
217.039
186.85
155.091
122.201
88.6188
54.7785
21.0752
-12.1206
-44.4609
-75.6856
-105.546
-133.85
-160.456
-185.263
-208.207
-229.257
-248.405
-265.668
-281.083
-294.695
-306.562
-316.747
-325.309
-332.308
-337.802
-341.842
-344.478
-345.75
-345.706
-344.38
-341.795
-337.964
-332.891
-326.576
-319.011
-310.183
-300.067
-288.637
-275.857
-261.688
-246.092
-229.026
-210.454
-190.339
-168.652
-145.388
-120.558
-94.2026
-66.4059
-37.2764
-6.83394
24.6463
56.7085
89.1093
121.557
153.693
185.146
215.5
244.341
271.231
295.755
317.534
336.193
351.407
362.911
370.478
373.944
373.199
368.238
359.121
345.973
329.032
308.599
285.013
258.699
230.104
199.692
167.932
135.269
102.156
68.9871
36.1373
4.01217
-23.3684
-52.812
-81.0363
-107.765
-132.868
-156.277
-177.957
-197.906
-216.15
-232.73
-247.7
-261.117
-273.04
-283.53
-292.639
-300.409
-306.878
-312.068
-315.995
-318.657
-320.047
-320.155
-318.856
-316.185
-312.112
-306.589
-299.606
-291.1
-281.051
-269.421
-256.181
-241.317
-224.811
-206.665
-186.908
-165.585
-142.75
-118.502
-92.9438
-66.204
-38.494
-10.3516
18.2235
47.6664
77.4982
107.287
136.731
165.531
193.185
219.243
215.86
183.026
149.094
114.46
79.6
44.8968
11.3722
-20.0575
-52.5313
-83.9908
-114.061
-142.522
-169.24
-194.135
-217.159
-238.296
-257.548
-274.939
-290.508
-304.295
-316.349
-326.717
-335.444
-342.573
-348.142
-352.186
-354.729
-355.809
-355.317
-353.372
-349.957
-345.07
-338.689
-330.783
-321.325
-310.265
-297.577
-283.21
-267.107
-249.246
-229.594
-208.133
-184.877
-159.826
-133.062
-104.686
-74.8063
-43.6197
-11.5192
21.4719
55.1962
89.2384
123.24
156.805
189.525
221.026
250.906
278.765
304.243
327.002
346.72
363.131
375.977
385.056
390.238
391.391
388.4
381.334
370.231
355.232
336.51
314.323
288.983
260.833
230.265
197.702
163.577
128.309
92.3396
56.0669
19.8638
-15.9974
-49.0327
-82.9113
-115.307
-146.106
-175.142
-202.29
-227.444
-250.539
-271.53
-290.399
-307.157
-321.829
-334.463
-345.127
-353.905
-360.89
-366.181
-369.881
-372.081
-372.866
-372.308
-370.459
-367.35
-362.994
-357.397
-350.544
-342.418
-332.992
-322.234
-310.114
-296.595
-281.646
-265.24
-247.349
-227.958
-207.058
-184.653
-160.758
-135.411
-108.661
-80.5749
-51.1583
-20.7876
10.4525
42.3584
74.6732
107.088
139.25
170.766
201.214
230.147
257.114
281.662
303.362
321.818
336.674
347.629
354.438
356.924
354.986
348.624
337.903
322.961
304.021
281.394
255.448
226.613
195.368
162.214
127.675
92.2623
56.4869
20.8305
-14.28
-48.4613
-81.278
-112.683
-142.367
-170.207
-196.125
-220.088
-242.099
-262.19
-280.415
-296.841
-311.537
-324.58
-336.049
-346.018
-354.552
-361.715
-367.561
-372.134
-375.467
-377.585
-378.489
-378.203
-376.729
-374.051
-370.155
-365.007
-358.562
-350.772
-341.575
-330.906
-318.696
-304.874
-289.38
-272.161
-253.176
-232.407
-209.852
-185.531
-159.496
-131.826
-102.636
-72.0669
-40.315
-7.63747
25.7151
59.4441
93.2141
126.656
159.37
190.938
220.926
248.902
274.442
297.142
316.635
332.597
344.76
352.915
356.919
356.705
352.287
343.736
331.188
314.846
294.981
271.904
245.977
217.612
187.234
155.289
122.22
88.4712
54.4783
20.6394
-12.6719
-45.1097
-76.4093
-106.325
-134.666
-161.293
-186.108
-209.047
-230.085
-249.213
-266.451
-281.836
-295.418
-307.253
-317.407
-325.94
-332.912
-338.383
-342.401
-345.017
-346.273
-346.215
-344.881
-342.292
-338.459
-333.389
-327.08
-319.524
-310.708
-300.608
-289.196
-276.438
-262.291
-246.718
-229.677
-211.129
-191.033
-169.362
-146.105
-121.272
-94.9013
-67.0743
-37.9031
-7.39618
24.1842
56.3536
88.8678
121.446
153.733
185.35
215.877
244.899
271.972
296.673
318.62
337.431
352.778
364.39
372.034
375.544
374.806
369.811
360.62
347.363
330.282
309.685
285.907
259.398
230.605
199.995
168.049
135.214
101.953
68.6611
35.7318
3.59087
-24.1879
-53.6082
-81.8367
-108.571
-133.673
-157.072
-178.735
-198.659
-216.874
-233.422
-248.359
-261.744
-273.637
-284.101
-293.187
-300.939
-307.394
-312.576
-316.498
-319.161
-320.557
-320.671
-319.389
-316.731
-312.675
-307.171
-300.205
-291.72
-281.69
-270.08
-256.856
-242.006
-225.51
-207.367
-187.607
-166.274
-143.422
-119.148
-93.5548
-66.7728
-39.0214
-10.7926
17.8381
47.3652
77.3027
107.214
136.796
165.746
193.553
219.759
216.304
183.278
149.156
114.341
79.3183
44.4688
10.8594
-20.7811
-53.3292
-84.8436
-114.953
-143.439
-170.167
-195.061
-218.074
-239.193
-258.422
-275.785
-291.324
-305.083
-317.109
-327.45
-336.154
-343.262
-348.813
-352.842
-355.374
-356.446
-355.954
-354.014
-350.603
-345.728
-339.361
-331.474
-322.039
-311.003
-298.344
-284.004
-267.928
-250.093
-230.46
-209.014
-185.764
-160.707
-133.926
-105.519
-75.5926
-44.3472
-12.1269
20.9604
54.8056
88.9882
123.147
156.883
189.782
221.468
251.535
279.578
305.233
328.158
348.027
364.57
377.524
386.686
391.923
393.098
390.102
382.993
371.816
356.711
337.853
315.506
289.985
261.64
230.872
198.107
163.784
128.326
92.1827
55.7489
19.4148
-16.4993
-49.8493
-83.7401
-116.194
-147.041
-176.113
-203.281
-228.446
-251.538
-272.519
-291.369
-308.102
-322.741
-335.337
-345.959
-354.692
-361.632
-366.879
-370.537
-372.701
-373.458
-372.88
-371.017
-367.902
-363.547
-357.956
-351.114
-343.003
-333.595
-322.857
-310.758
-297.26
-282.334
-265.947
-248.075
-228.7
-207.811
-185.411
-161.514
-136.156
-109.384
-81.2609
-51.8203
-21.3809
9.94594
41.9582
74.3997
106.963
139.295
170.998
201.647
230.791
257.969
282.726
304.621
323.254
338.263
349.34
356.235
358.765
356.832
350.429
339.623
324.558
305.458
282.64
256.48
227.415
195.933
162.541
127.773
92.1424
56.1696
20.338
-14.9212
-49.2292
-82.1184
-113.594
-143.316
-171.17
-197.085
-221.03
-243.012
-263.068
-281.253
-297.638
-312.292
-325.294
-336.726
-346.66
-355.163
-362.3
-368.125
-372.681
-376.002
-378.11
-379.01
-378.727
-377.256
-374.588
-370.708
-365.579
-359.159
-351.398
-342.234
-331.598
-319.424
-305.636
-290.173
-272.982
-254.018
-233.264
-210.714
-186.389
-160.337
-132.635
-103.399
-72.7677
-40.9298
-8.1519
25.3199
59.1876
93.115
126.731
159.633
191.4
221.592
249.772
275.509
298.392
318.048
334.148
346.417
354.643
358.682
358.465
354.005
345.375
332.716
316.233
296.202
272.939
246.813
218.241
187.655
155.505
122.239
88.3054
54.1445
20.1565
-13.2825
-45.8271
-77.2088
-107.185
-135.567
-162.217
-187.039
-209.974
-230.997
-250.104
-267.312
-282.666
-296.213
-308.012
-318.133
-326.634
-333.577
-339.022
-343.016
-345.609
-346.847
-346.775
-345.432
-342.838
-339.004
-333.936
-327.633
-320.087
-311.285
-301.202
-289.812
-277.076
-262.954
-247.408
-230.393
-211.871
-191.798
-170.145
-146.895
-122.058
-95.6724
-67.8123
-38.5934
-8.02002
23.6725
55.9587
88.5994
121.321
153.774
185.57
216.29
245.511
272.786
297.683
319.815
338.795
354.289
366.02
373.748
377.309
376.578
371.544
362.273
348.897
331.66
310.879
286.894
260.169
231.154
200.326
168.175
135.15
101.724
68.2955
35.2717
3.09587
-25.0626
-54.4789
-82.7167
-109.459
-134.56
-157.949
-179.591
-199.488
-217.671
-234.184
-249.085
-262.434
-274.294
-284.728
-293.789
-301.521
-307.962
-313.134
-317.052
-319.715
-321.117
-321.238
-319.975
-317.331
-313.294
-307.81
-300.863
-292.403
-282.393
-270.805
-257.6
-242.765
-226.279
-208.14
-188.377
-167.034
-144.163
-119.859
-94.2284
-67.3995
-39.6018
-11.2797
17.4102
47.0301
77.0842
107.131
136.866
165.981
193.956
220.326
216.788
183.552
149.22
114.207
79.0053
43.9954
10.2925
-21.5695
-54.2009
-85.7762
-115.928
-144.441
-171.18
-196.072
-219.074
-240.173
-259.375
-276.708
-292.216
-305.943
-317.938
-328.25
-336.928
-344.013
-349.545
-353.557
-356.077
-357.134
-356.648
-354.712
-351.308
-346.446
-340.094
-332.228
-322.817
-311.809
-299.181
-284.87
-268.824
-251.018
-231.406
-209.976
-186.733
-161.671
-134.872
-106.43
-76.4528
-45.1369
-12.8007
20.3963
54.3755
88.7116
123.042
156.965
190.06
221.949
252.221
280.465
306.313
329.42
349.454
366.142
379.214
388.467
393.764
394.964
391.962
384.807
373.549
358.328
339.321
316.798
291.079
262.522
231.533
198.547
164.006
128.342
92.0075
55.3983
18.9231
-17.0582
-50.7374
-84.6498
-117.166
-148.065
-177.175
-204.365
-229.541
-252.63
-273.6
-292.43
-309.133
-323.737
-336.292
-346.867
-355.551
-362.442
-367.64
-371.252
-373.377
-374.103
-373.502
-371.624
-368.503
-364.149
-358.565
-351.736
-343.641
-334.252
-323.536
-311.46
-297.987
-283.084
-266.719
-248.868
-229.51
-208.633
-186.239
-162.342
-136.971
-110.176
-82.0157
-52.542
-22.0303
9.38969
41.5174
74.0973
106.823
139.34
171.248
202.116
231.49
258.902
283.886
305.996
324.824
340.001
351.212
358.2
360.78
358.851
352.403
341.504
326.303
307.028
284.002
257.606
228.29
196.547
162.897
127.875
92.0076
55.8186
19.7949
-15.6255
-50.067
-83.0463
-114.594
-144.354
-172.225
-198.134
-222.06
-244.01
-264.027
-282.168
-298.507
-313.116
-326.074
-337.464
-347.36
-355.83
-362.938
-368.739
-373.278
-376.585
-378.683
-379.579
-379.296
-377.83
-375.174
-371.31
-366.204
-359.811
-352.081
-342.952
-332.354
-320.219
-306.468
-291.04
-273.878
-254.939
-234.2
-211.657
-187.327
-161.257
-133.522
-104.235
-73.5359
-41.6041
-8.71691
24.8846
58.9038
93.003
126.809
159.917
191.902
222.318
250.721
276.673
299.758
319.593
335.844
348.229
356.534
360.609
360.39
355.883
347.167
334.385
317.749
297.535
274.068
247.725
218.927
188.112
155.737
122.255
88.1209
53.7761
19.6253
-13.9537
-46.614
-78.0853
-108.127
-136.553
-163.227
-188.058
-210.988
-231.994
-251.076
-268.253
-283.571
-297.081
-308.841
-318.925
-327.391
-334.302
-339.718
-343.686
-346.255
-347.473
-347.386
-346.032
-343.433
-339.598
-334.533
-328.237
-320.702
-311.915
-301.851
-290.482
-277.772
-263.678
-248.16
-231.174
-212.682
-192.633
-171
-147.76
-122.919
-96.5167
-68.6216
-39.3484
-8.70614
23.1114
55.522
88.3035
121.181
153.816
185.806
216.738
246.177
273.672
298.785
321.12
340.284
355.94
367.802
375.622
379.238
378.516
373.439
364.081
350.573
333.166
312.182
287.973
261.009
231.751
200.684
168.307
135.075
101.468
67.8885
34.7546
2.52459
-25.9921
-55.4236
-83.6763
-110.43
-135.529
-158.906
-180.527
-200.394
-218.541
-235.015
-249.876
-263.186
-275.01
-285.412
-294.445
-302.155
-308.58
-313.742
-317.655
-320.319
-321.727
-321.859
-320.612
-317.986
-313.968
-308.508
-301.582
-293.148
-283.16
-271.596
-258.412
-243.594
-227.12
-208.985
-189.219
-167.864
-144.973
-120.637
-94.9648
-68.0845
-40.2332
-11.8155
16.9383
46.6598
76.8417
107.037
136.939
166.236
194.395
220.943
217.313
183.847
149.287
114.057
78.659
43.4763
9.66981
-22.4233
-55.1471
-86.7895
-116.988
-145.529
-172.281
-197.171
-220.159
-241.235
-260.409
-277.709
-293.182
-306.874
-318.836
-329.117
-337.766
-344.826
-350.337
-354.332
-356.838
-357.879
-357.4
-355.468
-352.071
-347.223
-340.887
-333.045
-323.66
-312.681
-300.087
-285.809
-269.796
-252.02
-232.432
-211.02
-187.784
-162.718
-135.899
-107.419
-77.3877
-45.9909
-13.5407
19.7788
53.9047
88.4075
122.925
157.05
190.358
222.468
252.963
281.425
307.484
330.787
351.002
367.847
381.049
390.401
395.763
396.988
393.982
386.776
375.431
360.084
340.913
318.2
292.265
263.476
232.247
199.021
164.243
128.356
91.8127
55.0141
18.3847
-17.6876
-51.6851
-85.6392
-118.224
-149.177
-178.329
-205.543
-230.729
-253.816
-274.773
-293.581
-310.252
-324.817
-337.328
-347.851
-356.482
-363.319
-368.463
-372.027
-374.109
-374.8
-374.174
-372.281
-369.153
-364.8
-359.225
-352.409
-344.332
-334.964
-324.272
-312.221
-298.774
-283.897
-267.557
-249.727
-230.388
-209.525
-187.139
-163.24
-137.858
-111.038
-82.8395
-53.3256
-22.7369
8.78287
41.0346
73.7646
106.666
139.384
171.515
202.622
232.246
259.911
285.144
307.488
326.527
341.887
353.245
360.335
362.97
361.045
354.548
343.548
328.199
308.734
285.48
258.828
229.238
197.211
163.278
127.982
91.8564
55.4322
19.2003
-16.3944
-50.9686
-84.0709
-115.683
-145.485
-173.372
-199.275
-223.178
-245.093
-265.067
-283.16
-299.449
-314.008
-326.918
-338.264
-348.118
-356.551
-363.628
-369.404
-373.923
-377.216
-379.304
-380.194
-379.913
-378.452
-375.807
-371.962
-366.879
-360.516
-352.821
-343.73
-333.173
-321.08
-307.37
-291.98
-274.85
-255.937
-235.217
-212.682
-188.347
-162.257
-134.486
-105.145
-74.3724
-42.3387
-9.33369
24.4083
58.5916
92.8771
126.89
160.222
192.443
223.102
251.749
277.936
301.24
321.27
337.685
350.197
358.587
362.704
362.48
357.923
349.113
336.198
319.394
298.981
275.293
248.713
219.668
188.605
155.986
122.27
87.9165
53.3721
19.0442
-14.6862
-47.4718
-79.04
-109.153
-137.625
-164.325
-189.164
-212.088
-233.076
-252.131
-269.274
-284.553
-298.021
-309.739
-319.782
-328.211
-335.087
-340.473
-344.412
-346.954
-348.15
-348.047
-346.682
-344.077
-340.241
-335.179
-328.891
-321.367
-312.596
-302.552
-291.209
-278.525
-264.462
-248.974
-232.021
-213.561
-193.541
-171.928
-148.7
-123.854
-97.4347
-69.503
-40.1692
-9.45622
22.501
55.043
87.9783
121.024
153.856
186.058
217.22
246.897
274.63
299.98
322.535
341.899
357.733
369.736
377.658
381.333
380.62
375.498
366.046
352.394
334.801
313.596
289.142
261.918
232.395
201.068
168.445
134.988
101.182
67.4384
34.1782
1.87606
-26.9775
-56.4422
-84.716
-111.482
-136.581
-159.945
-181.542
-201.376
-219.485
-235.916
-250.733
-264.001
-275.785
-286.151
-295.155
-302.841
-309.249
-314.399
-318.307
-320.973
-322.389
-322.532
-321.301
-318.696
-314.697
-309.263
-302.362
-293.955
-283.992
-272.454
-259.292
-244.494
-228.032
-209.902
-190.133
-168.766
-145.852
-121.482
-95.764
-68.8282
-40.9147
-12.401
16.4206
46.2532
76.574
106.93
137.015
166.51
194.869
221.611
217.877
184.163
149.355
113.89
78.2779
42.9106
8.98973
-23.3435
-56.1686
-87.8843
-118.133
-146.705
-173.469
-198.356
-221.329
-242.381
-261.524
-278.787
-294.222
-307.877
-319.802
-330.05
-338.669
-345.702
-351.19
-355.166
-357.657
-358.682
-358.209
-356.281
-352.892
-348.06
-341.741
-333.924
-324.566
-313.621
-301.062
-286.82
-270.843
-253.101
-233.539
-212.148
-188.919
-163.849
-137.01
-108.489
-78.3984
-46.9108
-14.3471
19.1064
53.3922
88.0749
122.794
157.138
190.677
223.025
253.761
282.46
308.745
332.262
352.671
369.687
383.028
392.488
397.92
399.172
396.163
388.903
377.463
361.979
342.632
319.711
293.543
264.503
233.013
199.529
164.494
128.366
91.5964
54.5951
17.7958
-18.3918
-52.6898
-86.708
-119.367
-150.38
-179.576
-206.814
-232.013
-255.096
-276.038
-294.822
-311.459
-325.982
-338.444
-348.912
-357.486
-364.264
-369.35
-372.861
-374.896
-375.549
-374.897
-372.987
-369.851
-365.5
-359.934
-353.133
-345.076
-335.732
-325.065
-313.042
-299.623
-284.773
-268.46
-250.654
-231.335
-210.488
-188.11
-164.211
-138.816
-111.971
-83.7326
-54.1724
-23.5015
8.12438
40.5088
73.4002
106.491
139.426
171.797
203.163
233.058
260.998
286.499
309.096
328.365
343.923
355.44
362.642
365.335
363.415
356.865
345.756
330.247
310.575
287.074
260.145
230.258
197.924
163.686
128.092
91.6878
55.0087
18.5527
-17.2298
-51.948
-85.1813
-116.863
-146.709
-174.611
-200.508
-224.384
-246.262
-266.188
-284.229
-300.464
-314.97
-327.827
-339.124
-348.934
-357.328
-364.371
-370.119
-374.617
-377.895
-379.972
-380.856
-380.576
-379.12
-376.488
-372.663
-367.606
-361.275
-353.617
-344.567
-334.055
-322.008
-308.343
-292.993
-275.899
-257.015
-236.314
-213.788
-189.448
-163.338
-135.529
-106.13
-75.2795
-43.1344
-10.0034
23.8898
58.2497
92.7362
126.972
160.546
193.023
223.946
252.855
279.297
302.838
323.08
339.672
352.323
360.805
364.966
364.737
360.126
351.215
338.155
321.168
300.541
276.614
249.777
220.465
189.134
156.25
122.281
87.6911
52.9309
18.4122
-15.4814
-48.4019
-80.0742
-110.263
-138.785
-165.512
-190.36
-213.276
-234.244
-253.269
-270.375
-285.612
-299.035
-310.707
-320.706
-329.093
-335.932
-341.285
-345.194
-347.708
-348.88
-348.757
-347.381
-344.77
-340.932
-335.875
-329.594
-322.082
-313.329
-303.308
-291.991
-279.337
-265.306
-249.852
-232.935
-214.508
-194.52
-172.93
-149.716
-124.865
-98.4267
-70.457
-41.0578
-10.2726
21.8417
54.5218
87.6213
120.85
153.893
186.325
217.737
247.669
275.661
301.266
324.06
343.642
359.667
371.824
379.856
383.595
382.891
377.723
368.168
354.36
336.566
315.121
290.402
262.895
233.085
201.478
168.588
134.887
100.866
66.9434
33.54
1.15049
-28.0212
-57.5351
-85.8363
-112.618
-137.716
-161.067
-182.637
-202.436
-220.501
-236.886
-251.656
-264.878
-276.619
-286.947
-295.919
-303.579
-309.967
-315.106
-319.009
-321.676
-323.1
-323.256
-322.042
-319.46
-315.482
-310.077
-303.202
-294.825
-284.889
-273.378
-260.241
-245.464
-229.016
-210.891
-191.119
-169.739
-146.801
-122.395
-96.6265
-69.6309
-41.647
-13.0358
15.8552
45.8089
76.28
106.81
137.093
166.802
195.378
222.33
218.482
184.5
149.424
113.704
77.861
42.296
8.2507
-24.3309
-57.2663
-89.0617
-119.364
-147.969
-174.745
-199.628
-222.585
-243.611
-262.719
-279.943
-295.338
-308.952
-320.838
-331.049
-339.635
-346.639
-352.103
-356.059
-358.534
-359.543
-359.076
-357.149
-353.771
-348.954
-342.654
-334.865
-325.536
-314.627
-302.107
-287.904
-271.967
-254.26
-234.727
-213.359
-190.138
-165.064
-138.204
-109.64
-79.4857
-47.898
-15.2209
18.378
52.8366
87.7129
122.648
157.227
191.015
223.619
254.615
283.567
310.097
333.843
354.463
371.661
385.154
394.729
400.236
401.519
398.505
391.187
379.646
364.014
344.477
321.333
294.914
265.603
233.833
200.07
164.758
128.373
91.3574
54.1395
17.1528
-19.1727
-53.751
-87.8565
-120.598
-151.674
-180.916
-208.181
-233.391
-256.472
-277.397
-296.155
-312.755
-327.233
-339.642
-350.051
-358.562
-365.276
-370.299
-373.753
-375.737
-376.351
-375.67
-373.742
-370.599
-366.25
-360.693
-353.908
-345.873
-336.553
-325.914
-313.921
-300.532
-285.712
-269.428
-251.649
-232.352
-211.521
-189.153
-165.253
-139.847
-112.975
-84.6961
-55.0831
-24.3256
7.41277
39.9387
73.0028
106.296
139.464
172.094
203.738
233.924
262.161
287.951
310.822
330.338
346.11
357.799
365.122
367.878
365.963
359.356
348.13
332.447
312.553
288.785
261.558
231.349
198.685
164.117
128.204
91.5002
54.5466
17.8503
-18.1341
-53.0085
-86.3773
-118.135
-148.027
-175.945
-201.833
-225.681
-247.517
-267.391
-285.375
-301.552
-316
-328.8
-340.046
-349.807
-358.158
-365.166
-370.884
-375.36
-378.622
-380.687
-381.566
-381.284
-379.835
-377.217
-373.413
-368.384
-362.087
-354.469
-345.465
-335.001
-323.003
-309.386
-294.08
-277.026
-258.172
-237.493
-214.976
-190.632
-164.501
-136.651
-107.191
-76.2583
-43.9923
-10.7273
23.3275
57.8768
92.5792
127.055
160.889
193.641
224.847
254.04
280.756
304.553
325.024
341.808
354.607
363.19
367.398
367.164
362.493
353.472
340.257
323.075
302.216
278.03
250.917
221.318
189.697
156.528
122.287
87.4436
52.4512
17.7278
-16.3407
-49.4056
-81.1893
-111.458
-140.034
-166.788
-191.644
-214.552
-235.499
-254.49
-271.556
-286.747
-300.121
-311.744
-321.696
-330.038
-336.837
-342.155
-346.031
-348.515
-349.66
-349.518
-348.129
-345.512
-341.673
-336.619
-330.347
-322.848
-314.114
-304.117
-292.828
-280.207
-266.21
-250.793
-233.913
-215.524
-195.571
-174.007
-150.807
-125.954
-99.4934
-71.4838
-42.0185
-11.1579
21.1353
53.9585
87.2297
120.659
153.925
186.606
218.286
248.494
276.764
302.643
325.696
345.512
361.743
374.066
382.217
386.025
385.332
380.115
370.449
356.473
338.462
316.757
291.751
263.94
233.82
201.911
168.734
134.772
100.517
66.4022
32.8373
0.349116
-29.1262
-58.7028
-87.038
-113.838
-138.936
-162.271
-183.814
-203.572
-221.592
-237.926
-252.645
-265.818
-277.512
-287.799
-296.736
-304.369
-310.736
-315.863
-319.761
-322.429
-323.862
-324.033
-322.835
-320.278
-316.322
-310.949
-304.103
-295.757
-285.852
-274.368
-261.26
-246.505
-230.073
-211.954
-192.178
-170.785
-147.821
-123.375
-97.5527
-70.493
-42.4305
-13.7197
15.2404
45.3254
75.9583
106.675
137.172
167.113
195.922
223.098
219.127
184.856
149.492
113.499
77.4069
41.6305
7.45119
-25.3866
-58.4412
-90.3226
-120.682
-149.322
-176.11
-200.989
-223.927
-244.924
-263.996
-281.177
-296.527
-310.098
-321.942
-332.114
-340.666
-347.639
-353.076
-357.01
-359.468
-360.46
-360.001
-358.075
-354.707
-349.906
-343.628
-335.869
-326.571
-315.701
-303.22
-289.061
-273.167
-255.498
-235.997
-214.653
-191.441
-166.365
-139.482
-110.874
-80.6509
-48.9579
-16.1599
17.5928
52.2366
87.3203
122.486
157.317
191.371
224.249
255.524
284.749
311.54
335.531
356.376
373.771
387.426
397.126
402.713
404.03
401.012
393.63
381.982
366.19
346.45
323.066
296.376
266.775
234.704
200.642
165.034
128.374
91.0948
53.6456
16.4533
-20.0295
-54.8726
-89.0854
-121.915
-153.061
-182.35
-209.645
-234.864
-257.943
-278.85
-297.58
-314.14
-328.57
-340.922
-351.266
-359.711
-366.356
-371.312
-374.703
-376.633
-377.203
-376.492
-374.546
-371.394
-367.048
-361.501
-354.734
-346.722
-337.429
-326.82
-314.859
-301.502
-286.715
-270.462
-252.711
-233.439
-212.626
-190.268
-166.369
-140.95
-114.052
-85.73
-56.0596
-25.2107
6.64671
39.3228
72.5704
106.081
139.498
172.404
204.346
234.846
263.4
289.501
312.666
332.448
348.45
360.323
367.776
370.601
368.69
362.022
350.67
334.802
314.668
290.614
263.067
232.512
199.495
164.572
128.317
91.2915
54.0445
17.0913
-19.1095
-54.1523
-87.6609
-119.501
-149.441
-177.374
-203.251
-227.068
-248.858
-268.677
-286.599
-302.713
-317.099
-329.838
-341.028
-350.738
-359.043
-366.013
-371.699
-376.151
-379.396
-381.449
-382.322
-382.038
-380.596
-377.993
-374.211
-369.212
-362.952
-355.378
-346.421
-336.009
-324.065
-310.501
-295.242
-278.229
-259.409
-238.753
-216.248
-191.9
-165.747
-137.854
-108.329
-77.3101
-44.9132
-11.507
22.7203
57.4718
92.4045
127.136
161.249
194.296
225.806
255.304
282.315
306.386
327.103
344.093
357.052
365.742
370.004
369.761
365.026
355.888
342.506
325.112
304.005
279.541
252.132
222.225
190.294
156.821
122.288
87.1725
51.9321
16.9893
-17.2659
-50.4844
-82.3868
-112.74
-141.371
-168.156
-193.018
-215.917
-236.839
-255.796
-272.817
-287.96
-301.281
-312.85
-322.751
-331.045
-337.802
-343.084
-346.924
-349.376
-350.492
-350.327
-348.926
-346.302
-342.462
-337.413
-331.148
-323.665
-314.95
-304.979
-293.721
-281.135
-267.175
-251.797
-234.958
-216.61
-196.694
-175.159
-151.974
-127.12
-100.637
-72.5846
-43.0546
-12.1116
20.3811
53.352
86.8026
120.447
153.951
186.901
218.865
249.371
277.939
304.111
327.442
347.512
363.962
376.463
384.744
388.626
387.944
382.676
372.89
358.734
340.489
318.506
293.19
265.054
234.601
202.368
168.882
134.639
100.134
65.8119
32.0716
-0.530394
-30.296
-59.9462
-88.322
-115.142
-140.241
-163.559
-185.071
-204.787
-222.756
-239.036
-253.7
-266.819
-278.464
-288.707
-297.606
-305.209
-311.555
-316.668
-320.561
-323.231
-324.674
-324.861
-323.677
-321.149
-317.22
-311.879
-305.065
-296.75
-286.878
-275.425
-262.347
-247.617
-231.202
-213.089
-193.31
-171.904
-148.912
-124.425
-98.5432
-71.4151
-43.2653
-14.4528
14.5743
44.8011
75.6077
106.524
137.252
167.441
196.5
223.917
219.812
185.233
149.559
113.273
76.9147
40.9123
6.58938
-26.5118
-59.6947
-91.6682
-122.088
-150.764
-177.565
-202.439
-225.357
-246.323
-265.354
-282.489
-297.792
-311.316
-323.115
-333.246
-341.759
-348.7
-354.11
-358.021
-360.462
-361.435
-360.983
-359.056
-355.701
-350.917
-344.663
-336.934
-327.669
-316.841
-304.403
-290.29
-274.443
-256.815
-237.349
-216.031
-192.831
-167.752
-140.845
-112.192
-81.895
-50.0949
-17.1631
16.7496
51.591
86.8959
122.307
157.407
191.745
224.916
256.486
286.003
313.074
337.327
358.412
376.016
389.845
399.679
405.352
406.71
403.682
396.234
384.471
368.508
348.552
324.91
297.931
268.019
235.628
201.244
165.323
128.367
90.8076
53.1119
15.6964
-20.9625
-56.0582
-90.3961
-123.321
-154.541
-183.879
-211.205
-236.435
-259.51
-280.399
-299.097
-315.615
-329.992
-342.283
-352.56
-360.933
-367.504
-372.387
-375.712
-377.583
-378.107
-377.363
-375.397
-372.238
-367.894
-362.359
-355.611
-347.624
-338.36
-327.783
-315.856
-302.534
-287.782
-271.562
-253.841
-234.595
-213.802
-191.457
-167.558
-142.128
-115.202
-86.8351
-57.1036
-26.1584
5.825
38.6598
72.1015
105.843
139.525
172.726
204.987
235.821
264.714
291.148
314.627
334.695
350.943
363.015
370.607
373.506
371.599
364.866
353.379
337.313
316.923
292.562
264.671
233.748
200.351
165.05
128.43
91.0604
53.5005
16.2731
-20.1579
-55.3813
-89.0341
-120.963
-150.952
-178.9
-204.764
-228.547
-250.286
-270.045
-287.901
-303.948
-318.266
-330.941
-342.071
-351.726
-359.982
-366.911
-372.563
-376.991
-380.218
-382.258
-383.124
-382.838
-381.403
-378.816
-375.059
-370.092
-363.871
-356.342
-347.438
-337.081
-325.195
-311.686
-296.479
-279.51
-260.727
-240.096
-217.603
-193.251
-167.076
-139.138
-109.544
-78.4368
-45.8983
-12.3441
22.0666
57.0331
92.2107
127.216
161.625
194.988
226.822
256.646
283.972
308.338
329.317
346.529
359.658
368.464
372.782
372.53
367.727
358.463
344.903
327.283
305.909
281.149
253.423
223.186
190.924
157.126
122.282
86.8765
51.372
16.1951
-18.2586
-51.6403
-83.6683
-114.111
-142.799
-169.614
-194.485
-217.371
-238.267
-257.186
-274.159
-289.249
-302.514
-314.026
-323.872
-332.116
-338.827
-344.07
-347.873
-350.29
-351.374
-351.187
-349.772
-347.141
-343.299
-338.255
-332
-324.531
-315.839
-305.894
-294.669
-282.121
-268.199
-252.864
-236.067
-217.766
-197.89
-176.388
-153.219
-128.364
-101.858
-73.7599
-44.1661
-13.1348
19.575
52.7019
86.3393
120.213
153.971
187.208
219.475
250.3
279.187
305.67
329.299
349.64
366.326
379.017
387.438
391.399
390.728
385.408
375.494
361.144
342.649
320.368
294.72
266.234
235.425
202.845
169.029
134.489
99.715
65.1702
31.243
-1.48927
-31.5338
-61.2666
-89.6892
-116.531
-141.632
-164.931
-186.409
-206.079
-223.994
-240.216
-254.821
-267.882
-279.474
-289.67
-298.529
-306.101
-312.424
-317.523
-321.409
-324.082
-325.535
-325.742
-324.571
-322.075
-318.175
-312.866
-306.089
-297.806
-287.969
-276.549
-263.504
-248.801
-232.403
-214.298
-194.516
-173.096
-150.075
-125.543
-99.5989
-72.3973
-44.1509
-15.2358
13.8544
44.2346
75.2266
106.355
137.33
167.787
197.113
224.786
220.538
185.628
149.623
113.023
76.3831
40.1401
5.66267
-27.7078
-61.0278
-93.0998
-123.584
-152.298
-179.111
-203.977
-226.874
-247.806
-266.793
-283.879
-299.131
-312.605
-324.356
-334.443
-342.917
-349.823
-355.203
-359.09
-361.513
-362.476
-362.019
-360.095
-356.753
-351.984
-345.757
-338.059
-328.832
-318.047
-305.656
-291.594
-275.795
-258.211
-238.783
-217.494
-194.307
-169.226
-142.295
-113.594
-83.2192
-51.3115
-18.2322
15.8477
50.8981
86.438
122.11
157.494
192.135
225.618
257.503
287.331
314.699
339.231
360.571
378.398
392.413
402.388
408.155
409.558
406.516
399
387.115
370.97
350.784
326.867
299.578
269.335
236.604
201.876
165.624
128.351
90.4951
52.5363
14.882
-21.9706
-57.3126
-91.7898
-124.817
-156.116
-185.505
-212.864
-238.104
-261.174
-282.042
-300.707
-317.18
-331.502
-343.728
-353.931
-362.227
-368.72
-373.525
-376.779
-378.587
-379.061
-378.284
-376.296
-373.129
-368.788
-363.266
-356.538
-348.578
-339.345
-328.802
-316.911
-303.627
-288.913
-272.728
-255.04
-235.821
-215.05
-192.718
-168.821
-143.379
-116.426
-88.0123
-58.2163
-27.1697
4.94568
37.9479
71.5949
105.581
139.545
173.059
205.658
236.849
266.105
292.894
316.708
337.08
353.591
365.875
373.616
376.594
374.693
367.89
356.259
339.981
319.317
294.63
266.371
235.055
201.253
165.55
128.54
90.8052
52.9123
15.3929
-21.2814
-56.6971
-90.4996
-122.523
-152.561
-180.524
-206.372
-230.117
-251.802
-271.495
-289.28
-305.255
-319.502
-332.109
-343.175
-352.771
-360.975
-367.861
-373.477
-377.879
-381.087
-383.113
-383.972
-383.684
-382.256
-379.687
-375.955
-371.022
-364.843
-357.362
-348.513
-338.216
-326.392
-312.942
-297.79
-280.87
-262.125
-241.522
-219.044
-194.689
-168.49
-140.506
-110.839
-79.64
-46.9484
-13.2401
21.3647
56.5591
91.9962
127.292
162.016
195.715
227.895
258.066
285.729
310.409
331.669
349.116
362.428
371.357
375.735
375.473
370.597
361.199
347.448
329.587
307.93
282.854
254.789
224.202
191.587
157.443
122.268
86.5541
50.7689
15.3437
-19.3205
-52.8751
-85.0353
-115.572
-144.32
-171.166
-196.043
-218.916
-239.783
-258.66
-275.583
-290.616
-303.821
-315.271
-325.059
-333.248
-339.911
-345.114
-348.879
-351.258
-352.307
-352.095
-350.667
-348.028
-344.185
-339.146
-332.9
-325.447
-316.778
-306.862
-295.673
-283.164
-269.285
-253.994
-237.243
-218.992
-199.159
-177.693
-154.543
-129.687
-103.159
-75.0108
-45.3511
-14.2322
18.7159
52.0054
85.8396
119.954
153.984
187.524
220.113
251.278
280.506
307.321
331.267
351.898
368.834
381.729
390.3
394.345
393.689
388.312
378.261
363.705
344.941
322.342
296.341
267.481
236.291
203.342
169.176
134.317
99.2592
64.4747
30.3507
-2.52895
-32.8422
-62.6655
-91.1409
-118.007
-143.109
-166.388
-187.83
-207.45
-225.307
-241.466
-256.007
-269.007
-280.542
-290.688
-299.504
-307.043
-313.341
-318.426
-322.306
-324.982
-326.446
-326.673
-325.518
-323.053
-319.186
-313.911
-307.173
-298.923
-289.126
-277.741
-264.73
-250.057
-233.679
-215.582
-195.797
-174.362
-151.311
-126.732
-100.721
-73.4402
-45.0878
-16.0684
13.0787
43.6241
74.8136
106.167
137.406
168.149
197.76
225.703
221.305
186.043
149.684
112.749
75.8099
39.3176
4.66315
-28.9756
-62.442
-94.6188
-125.171
-153.924
-180.748
-205.606
-228.479
-249.374
-268.315
-285.348
-300.545
-313.966
-325.667
-335.706
-344.138
-351.007
-356.356
-360.218
-362.622
-363.578
-363.111
-361.189
-357.861
-353.11
-346.911
-339.246
-330.059
-319.321
-306.978
-292.97
-277.225
-259.688
-240.301
-219.041
-195.871
-170.788
-143.833
-115.083
-84.6251
-52.6087
-19.3691
14.8856
50.1563
85.9449
121.894
157.579
192.541
226.356
258.574
288.731
316.415
341.245
362.853
380.918
395.131
405.256
411.122
412.575
409.517
401.932
389.914
373.577
353.146
328.936
301.319
270.723
237.63
202.535
165.935
128.323
90.1562
51.9155
14.0101
-23.0534
-58.64
-93.2679
-126.405
-157.787
-187.229
-214.62
-239.872
-262.935
-283.783
-302.411
-318.836
-333.098
-345.255
-355.381
-363.594
-370.003
-374.726
-377.903
-379.644
-380.066
-379.252
-377.243
-374.067
-369.73
-364.222
-357.517
-349.585
-340.385
-329.879
-318.026
-304.782
-290.108
-273.96
-256.307
-237.118
-216.371
-194.053
-170.16
-144.706
-117.724
-89.2634
-59.399
-28.2457
4.00644
37.1851
71.0488
105.293
139.555
173.402
206.359
237.929
267.57
294.737
318.907
339.604
356.396
368.905
376.806
379.868
377.972
371.096
359.311
342.808
321.853
296.818
268.167
236.433
202.2
166.071
128.646
90.5243
52.2779
14.4488
-22.4827
-58.1017
-92.06
-124.182
-154.271
-182.247
-208.077
-231.78
-253.405
-273.029
-290.738
-306.635
-320.807
-333.34
-344.339
-353.873
-362.022
-368.863
-374.44
-378.814
-382.003
-384.015
-384.867
-384.574
-383.154
-380.604
-376.899
-372.002
-365.867
-358.439
-349.649
-339.415
-327.656
-314.271
-299.177
-282.308
-263.606
-243.031
-220.569
-196.213
-169.99
-141.958
-112.214
-80.9229
-48.0633
-14.197
20.6125
56.0482
91.7594
127.363
162.421
196.476
229.025
259.564
287.585
312.6
334.158
351.857
365.364
374.423
378.863
378.591
373.637
364.097
350.144
332.026
310.067
284.655
256.231
225.271
192.282
157.77
122.244
86.2036
50.121
14.4333
-20.4538
-54.1905
-86.4895
-117.125
-145.934
-172.811
-197.694
-220.553
-241.388
-260.22
-277.088
-292.061
-305.202
-316.587
-326.312
-334.443
-341.055
-346.215
-349.94
-352.279
-353.29
-353.052
-351.609
-348.963
-345.119
-340.086
-333.85
-326.414
-317.768
-307.884
-296.732
-284.265
-270.431
-255.186
-238.486
-220.286
-200.504
-179.074
-155.948
-131.089
-104.54
-76.3398
-46.6087
-15.4083
17.8052
51.2581
85.3019
119.666
153.987
187.848
220.779
252.305
281.897
309.064
333.346
354.285
371.488
384.601
393.331
397.467
396.828
391.391
381.194
366.418
347.369
324.43
298.051
268.794
237.2
203.858
169.32
134.123
98.7645
63.7227
29.3933
-3.65051
-34.2232
-64.1447
-92.6779
-119.571
-144.674
-167.93
-189.333
-208.9
-226.693
-242.785
-257.259
-270.194
-281.669
-291.76
-300.532
-308.036
-314.308
-319.378
-323.251
-325.93
-327.405
-327.654
-326.517
-324.084
-320.254
-315.013
-308.316
-300.104
-290.347
-279.001
-266.027
-251.386
-235.028
-216.94
-197.153
-175.704
-152.621
-127.992
-101.91
-74.5446
-46.0801
-16.9479
12.2451
42.9684
74.3672
105.957
137.478
168.528
198.44
226.67
222.113
186.476
149.74
112.449
75.1924
38.4462
3.58457
-30.3158
-63.9388
-96.2267
-126.85
-155.642
-182.478
-207.325
-230.172
-251.029
-269.918
-286.894
-302.033
-315.398
-327.045
-337.035
-345.422
-352.252
-357.568
-361.404
-363.788
-364.743
-364.256
-362.341
-359.026
-354.294
-348.125
-340.492
-331.35
-320.66
-308.37
-294.421
-278.73
-261.245
-241.902
-220.674
-197.524
-172.439
-145.46
-116.658
-86.1149
-53.9873
-20.5763
13.8623
49.364
85.4152
121.656
157.66
192.961
227.127
259.699
290.203
318.221
343.367
365.26
383.576
397.998
408.282
414.256
415.764
412.687
405.029
392.87
376.331
355.639
331.118
303.153
272.182
238.706
203.223
166.254
128.282
89.7894
51.2468
13.0795
-24.212
-60.0442
-94.8318
-128.086
-159.555
-189.053
-216.476
-241.741
-264.795
-285.62
-304.209
-320.584
-334.782
-346.867
-356.909
-365.035
-371.354
-375.989
-379.085
-380.754
-381.12
-380.268
-378.237
-375.052
-370.72
-365.227
-358.545
-350.644
-341.479
-331.011
-319.2
-305.999
-291.366
-275.259
-257.643
-238.486
-217.765
-195.464
-171.574
-146.109
-119.098
-90.5892
-60.6534
-29.3882
3.0064
36.3693
70.4612
104.976
139.553
173.752
207.089
239.061
269.111
296.678
321.227
342.267
359.359
372.109
380.178
383.33
381.44
374.486
362.539
345.797
324.533
299.127
270.06
237.883
203.193
166.611
128.748
90.2154
51.5946
13.4391
-23.7647
-59.5975
-93.7181
-125.942
-156.083
-184.071
-209.88
-233.536
-255.098
-274.646
-292.273
-308.089
-322.18
-334.636
-345.564
-355.032
-363.122
-369.915
-375.452
-379.798
-382.966
-384.964
-385.808
-385.509
-384.098
-381.567
-377.891
-373.032
-366.944
-359.57
-350.843
-340.677
-328.988
-315.671
-300.64
-283.825
-265.168
-244.625
-222.182
-197.824
-171.578
-143.494
-113.671
-82.2859
-49.2473
-15.2167
19.8085
55.4988
91.4988
127.426
162.839
197.271
230.209
261.14
289.541
314.911
336.787
354.752
368.466
377.665
382.173
381.888
376.851
367.16
352.991
334.602
312.322
286.553
257.748
226.393
193.007
158.106
122.209
85.8237
49.4262
13.4619
-21.6605
-55.5889
-88.0332
-118.771
-147.644
-174.551
-199.439
-222.282
-243.082
-261.866
-278.676
-293.583
-306.657
-317.972
-327.63
-335.699
-342.259
-347.375
-351.058
-353.355
-354.324
-354.058
-352.6
-349.946
-346.102
-341.073
-334.848
-327.429
-318.809
-308.957
-297.845
-285.424
-271.637
-256.442
-239.795
-221.651
-201.924
-180.532
-157.433
-132.572
-106.001
-77.7491
-47.9385
-16.6662
16.8441
50.456
84.7242
119.351
153.98
188.178
221.474
253.378
283.357
310.899
335.538
356.802
374.289
387.634
396.534
400.767
400.148
394.645
384.295
369.285
349.932
326.632
299.852
270.172
238.15
204.389
169.46
133.903
98.2291
62.9114
28.367
-4.85391
-35.6779
-65.706
-94.3014
-121.223
-146.327
-169.56
-190.92
-210.428
-228.155
-244.176
-258.578
-271.443
-282.853
-292.888
-301.612
-309.078
-315.324
-320.377
-324.243
-326.925
-328.413
-328.682
-327.57
-325.166
-321.378
-316.173
-309.521
-301.347
-291.632
-280.327
-267.394
-252.787
-236.452
-218.373
-198.584
-177.121
-154.004
-129.324
-103.168
-75.7106
-47.1294
-17.8724
11.3498
42.2658
73.8858
105.723
137.546
168.923
199.154
227.685
222.964
186.927
149.791
112.121
74.5273
37.516
2.43259
-31.7284
-65.52
-97.9252
-128.622
-157.455
-184.301
-209.136
-231.955
-252.77
-271.605
-288.52
-303.596
-316.902
-328.492
-338.429
-346.769
-353.559
-358.84
-362.648
-365.011
-365.963
-365.457
-363.549
-360.247
-355.535
-349.398
-341.8
-332.705
-322.065
-309.832
-295.945
-280.313
-262.883
-243.587
-222.394
-199.265
-174.179
-147.178
-118.322
-87.6908
-55.4479
-21.8567
12.7763
48.5196
84.8466
121.395
157.736
193.394
227.932
260.876
291.747
320.119
345.598
367.793
386.374
401.017
411.47
417.557
419.124
416.026
408.293
395.986
379.234
358.264
333.415
305.08
273.712
239.83
203.939
166.579
128.227
89.3926
50.5287
12.0881
-25.4482
-61.5283
-96.4833
-129.862
-161.421
-190.979
-218.432
-243.71
-266.755
-287.554
-306.103
-322.423
-336.556
-348.561
-358.516
-366.549
-372.773
-377.314
-380.324
-381.916
-382.223
-381.331
-379.277
-376.084
-371.757
-366.28
-359.624
-351.756
-342.628
-332.201
-320.433
-307.277
-292.69
-276.625
-259.047
-239.926
-219.232
-196.95
-173.064
-147.589
-120.55
-91.9908
-61.9812
-30.5987
1.94407
35.4983
69.8294
104.629
139.538
174.108
207.846
240.242
270.727
298.717
323.668
345.072
362.48
375.487
383.736
386.983
385.1
378.062
365.943
348.948
327.357
301.557
272.051
239.403
204.23
167.168
128.843
89.8761
50.8599
12.3609
-25.1303
-61.1869
-95.4769
-127.807
-158
-185.996
-211.783
-235.388
-256.88
-276.347
-293.887
-309.616
-323.623
-335.996
-346.849
-356.247
-364.276
-371.018
-376.513
-380.828
-383.977
-385.958
-386.794
-386.489
-385.087
-382.576
-378.931
-374.112
-368.073
-360.758
-352.097
-342.002
-330.388
-317.144
-302.179
-285.423
-266.813
-246.305
-223.881
-199.524
-173.255
-145.118
-115.209
-83.6974
-50.5351
-16.3016
18.9505
54.9084
91.2125
127.481
163.268
198.098
231.449
262.794
291.598
317.344
339.557
357.805
371.737
381.084
385.664
385.365
380.239
370.389
355.992
337.314
314.694
288.548
259.34
227.568
193.763
158.45
122.162
85.4128
48.6828
12.427
-22.9426
-57.0722
-89.6687
-120.512
-149.451
-176.388
-201.279
-224.103
-244.867
-263.598
-280.346
-295.184
-308.185
-319.427
-329.014
-337.017
-343.521
-348.592
-352.232
-354.484
-355.407
-355.112
-353.638
-350.977
-347.132
-342.109
-335.895
-328.494
-319.901
-310.084
-299.014
-286.641
-272.903
-257.761
-241.17
-223.087
-203.418
-182.07
-158.999
-134.141
-107.544
-79.2393
-49.3428
-18.0096
15.8341
49.5978
84.1016
119.007
153.959
188.511
222.196
254.499
284.885
312.827
337.842
359.451
377.239
390.831
399.909
404.247
403.652
398.077
387.566
372.309
352.632
328.949
301.742
271.616
239.139
204.936
169.594
133.656
97.6493
62.0396
27.2644
-6.1358
-37.2078
-67.3516
-96.013
-122.966
-148.069
-171.277
-192.59
-212.037
-229.691
-245.636
-259.961
-272.753
-284.095
-294.069
-302.744
-310.17
-316.388
-321.424
-325.283
-327.968
-329.467
-329.756
-328.676
-326.3
-322.557
-317.392
-310.784
-302.655
-292.983
-281.722
-268.832
-254.263
-237.951
-219.882
-200.091
-178.615
-155.463
-130.728
-104.495
-76.938
-48.2361
-18.8408
10.3883
41.5148
73.3681
105.464
137.608
169.334
199.901
228.748
223.857
187.396
149.834
111.762
73.8109
36.5043
1.22666
-33.2132
-67.1874
-99.7162
-130.489
-159.364
-186.218
-211.039
-233.827
-254.598
-273.374
-290.223
-305.234
-318.477
-330.007
-339.889
-348.18
-354.926
-360.171
-363.95
-366.291
-367.234
-366.712
-364.814
-361.524
-356.835
-350.73
-343.169
-334.124
-323.537
-311.364
-297.542
-281.974
-264.604
-245.356
-224.201
-201.097
-176.011
-148.989
-120.074
-89.3554
-56.9906
-23.2135
11.6253
47.6216
84.2375
121.109
157.805
193.839
228.769
262.107
293.364
322.108
347.937
370.453
389.314
404.189
414.819
421.027
422.651
419.538
411.727
399.262
382.286
361.024
335.826
307.101
275.314
241.001
204.682
166.906
128.158
88.9623
49.7611
11.0311
-26.7609
-63.0944
-98.2245
-131.736
-163.386
-193.006
-220.491
-245.78
-268.817
-289.586
-308.094
-324.356
-338.418
-350.341
-360.203
-368.137
-374.26
-378.702
-381.62
-383.13
-383.374
-382.441
-380.363
-377.162
-372.84
-367.381
-360.753
-352.919
-343.831
-333.447
-321.725
-308.617
-294.079
-278.058
-260.522
-241.437
-220.773
-198.512
-174.631
-149.146
-122.079
-93.469
-63.3853
-31.8791
0.816496
34.5701
69.1504
104.251
139.507
174.469
208.628
241.472
272.416
300.854
326.23
348.019
365.762
379.041
387.481
390.829
388.953
381.828
369.527
352.265
330.327
304.11
274.139
240.993
205.309
167.741
128.929
89.5035
50.0716
11.2107
-26.5821
-62.8733
-97.3382
-129.777
-160.023
-188.026
-213.785
-237.335
-258.751
-278.132
-295.58
-311.216
-325.134
-337.421
-348.195
-357.519
-365.482
-372.171
-377.621
-381.906
-385.034
-386.999
-387.824
-387.514
-386.12
-383.631
-380.019
-375.242
-369.254
-362
-353.409
-343.391
-331.856
-318.69
-303.795
-287.1
-268.542
-248.071
-225.67
-201.314
-175.021
-146.83
-116.832
-85.1899
-51.8971
-17.4538
18.037
54.275
90.8982
127.526
163.706
198.956
232.742
264.524
293.754
319.898
342.469
361.015
375.179
384.683
389.347
389.024
383.805
373.786
359.149
340.166
317.186
290.641
261.008
228.794
194.547
158.801
122.101
84.9683
47.8887
11.3257
-24.3022
-58.6429
-91.3988
-122.35
-151.355
-178.323
-203.215
-226.019
-246.743
-265.418
-282.099
-296.864
-309.789
-320.952
-330.463
-338.397
-344.842
-349.867
-353.462
-355.667
-356.539
-356.213
-354.724
-352.056
-348.21
-343.194
-336.99
-329.608
-321.044
-311.263
-300.238
-287.915
-274.229
-259.144
-242.61
-224.594
-204.987
-183.691
-160.647
-135.794
-109.169
-80.8103
-50.8267
-19.444
14.779
48.6815
83.4287
118.632
153.92
188.849
222.942
255.666
286.481
314.845
340.258
362.231
380.338
394.192
403.459
407.91
407.342
401.689
391.01
375.489
355.471
331.381
303.724
273.123
240.167
205.496
169.718
133.38
97.0226
61.1056
26.0818
-7.49679
-38.8151
-69.0836
-97.8142
-124.8
-149.902
-173.083
-194.346
-213.726
-231.303
-247.166
-261.411
-274.124
-285.394
-295.305
-303.927
-311.311
-317.5
-322.518
-326.37
-329.059
-330.569
-330.877
-329.833
-327.487
-323.792
-318.67
-312.107
-304.026
-294.397
-283.184
-270.34
-255.813
-239.525
-221.468
-201.675
-180.187
-156.998
-132.206
-105.894
-78.2273
-49.3998
-19.8514
9.35498
40.7136
72.8123
105.175
137.663
169.76
200.682
229.858
224.794
187.881
149.868
111.371
73.0405
35.3995
-0.0263267
-34.771
-68.9433
-101.602
-132.453
-161.371
-188.231
-213.035
-235.79
-256.514
-275.227
-292.006
-306.947
-320.123
-331.59
-341.414
-349.653
-356.354
-361.561
-365.309
-367.626
-368.553
-368.023
-366.134
-362.856
-358.193
-352.12
-344.599
-335.605
-325.074
-312.966
-299.211
-283.712
-266.408
-247.209
-226.097
-203.018
-177.935
-150.893
-121.918
-91.1101
-58.6157
-24.651
10.4067
46.6683
83.586
120.796
157.865
194.297
229.638
263.391
295.053
324.188
350.386
373.239
392.395
407.514
418.333
424.667
426.348
423.225
415.33
402.702
385.489
363.918
338.352
309.216
276.986
242.216
205.452
167.234
128.075
88.4936
48.9431
9.9027
-28.1497
-64.7452
-100.058
-133.709
-165.454
-195.136
-222.655
-247.953
-270.98
-291.718
-310.181
-326.383
-340.371
-352.206
-361.97
-369.799
-375.814
-380.153
-382.974
-384.395
-384.574
-383.597
-381.495
-378.286
-373.97
-368.53
-361.932
-354.135
-345.088
-334.751
-323.077
-310.019
-295.532
-279.559
-262.067
-243.021
-222.389
-200.151
-176.278
-150.783
-123.688
-95.0255
-64.8667
-33.2315
-0.378855
33.5825
68.422
103.837
139.458
174.831
209.434
242.75
274.179
303.091
328.913
351.111
369.207
382.775
391.416
394.872
393.002
385.785
373.294
355.749
333.444
306.788
276.323
242.653
206.43
168.329
129.003
89.0965
49.2273
9.98513
-28.1229
-64.66
-99.305
-131.857
-162.155
-190.162
-215.888
-239.379
-260.713
-280.002
-297.352
-312.89
-326.713
-338.909
-349.6
-358.847
-366.74
-373.374
-378.778
-383.03
-386.137
-388.086
-388.9
-388.583
-387.197
-384.732
-381.153
-376.421
-370.487
-363.297
-354.781
-344.844
-333.393
-320.31
-305.489
-288.859
-270.356
-249.924
-227.547
-203.195
-176.879
-148.633
-118.542
-86.7673
-53.3337
-18.6749
17.0656
53.5971
90.5538
127.559
164.151
199.845
234.089
266.333
296.013
322.577
345.525
364.387
378.795
388.464
393.207
392.867
387.55
377.352
362.462
343.155
319.797
292.83
262.749
230.07
195.358
159.156
122.023
84.4879
47.0424
10.1556
-25.7417
-60.3029
-93.2249
-124.289
-153.359
-180.358
-205.249
-228.029
-248.71
-267.326
-283.935
-298.623
-311.466
-322.547
-331.977
-339.838
-346.222
-351.199
-354.751
-356.905
-357.718
-357.362
-355.857
-353.183
-349.336
-344.326
-338.133
-330.771
-322.236
-312.494
-301.516
-289.247
-275.617
-260.589
-244.116
-226.171
-206.634
-185.391
-162.379
-137.53
-110.882
-82.4617
-52.3897
-20.959
13.664
47.7034
82.7044
118.223
153.863
189.19
223.71
256.88
288.145
316.954
342.786
365.144
383.588
397.717
407.186
411.758
411.216
405.486
394.629
378.83
358.45
333.929
305.793
274.694
241.231
206.068
169.829
133.072
96.3456
60.1081
24.8146
-8.93642
-40.5028
-70.9039
-99.7073
-126.727
-151.827
-174.978
-196.186
-215.495
-232.99
-248.767
-262.926
-275.556
-286.75
-296.594
-305.161
-312.501
-318.659
-323.658
-327.503
-330.196
-331.718
-332.04
-331.04
-328.728
-325.081
-320.006
-313.489
-305.462
-295.876
-284.714
-271.92
-257.439
-241.175
-223.13
-203.336
-181.838
-158.61
-133.759
-107.364
-79.5792
-50.6202
-20.9008
8.24213
39.8613
72.2168
104.853
137.709
170.203
201.496
231.014
225.777
188.384
149.892
110.945
72.2128
34.2005
-1.32908
-36.4036
-70.7905
-103.584
-134.515
-163.476
-190.34
-215.124
-237.845
-258.519
-277.163
-293.867
-308.735
-321.841
-333.241
-343.003
-351.188
-357.842
-363.011
-366.726
-369.017
-369.927
-369.39
-367.507
-364.245
-359.609
-353.568
-346.09
-337.148
-326.679
-314.637
-300.953
-285.529
-268.294
-249.147
-228.083
-205.03
-179.954
-152.892
-123.855
-92.9557
-60.3245
-26.1726
9.11839
45.6578
82.8903
120.455
157.915
194.764
230.537
264.727
296.814
326.36
352.944
376.154
395.619
410.996
422.013
428.479
430.218
427.089
419.104
406.307
388.845
366.949
340.995
311.424
278.729
243.478
206.246
167.563
127.976
87.9851
48.0744
8.70036
-29.6167
-66.4823
-101.987
-135.782
-167.627
-197.371
-224.924
-250.231
-273.245
-293.952
-312.366
-328.505
-342.414
-354.158
-363.817
-371.536
-377.437
-381.665
-384.383
-385.71
-385.821
-384.798
-382.671
-379.455
-375.145
-369.727
-363.161
-355.403
-346.4
-336.111
-324.488
-311.484
-297.049
-281.127
-263.681
-244.677
-224.08
-201.867
-178.003
-152.498
-125.376
-96.6617
-66.4258
-34.6575
-1.6441
32.5333
67.6422
103.384
139.389
175.193
210.261
244.074
276.012
305.424
331.718
354.346
372.816
386.69
395.544
399.116
397.251
389.938
377.246
359.403
336.712
309.592
278.607
244.383
207.593
168.932
129.064
88.6539
48.3227
8.6813
-29.7563
-66.55
-101.381
-134.05
-164.399
-192.405
-218.095
-241.521
-262.768
-281.957
-299.204
-314.637
-328.361
-340.462
-351.065
-360.232
-368.051
-374.627
-379.983
-384.201
-387.287
-389.219
-390.02
-389.696
-388.318
-385.878
-382.335
-377.649
-371.772
-364.649
-356.211
-346.36
-334.997
-322.002
-307.26
-290.699
-272.254
-251.865
-229.514
-205.169
-178.829
-150.528
-120.341
-88.4321
-54.8463
-19.967
16.0326
52.8715
90.1755
127.576
164.601
200.759
235.486
268.216
298.37
325.378
348.724
367.92
382.585
392.429
397.29
396.897
391.477
381.094
365.935
346.289
322.53
295.121
264.568
231.4
196.197
159.517
121.929
83.971
46.1412
8.91543
-27.264
-62.0559
-95.1498
-126.33
-155.465
-182.492
-207.383
-230.137
-250.771
-269.322
-285.856
-300.461
-313.219
-324.213
-333.557
-341.339
-347.659
-352.589
-356.097
-358.198
-358.945
-358.557
-357.037
-354.357
-350.51
-345.506
-339.325
-331.983
-323.478
-313.777
-302.85
-290.637
-277.065
-262.096
-245.689
-227.818
-208.361
-187.172
-164.197
-139.351
-112.683
-84.1966
-54.0262
-22.4935
12.4207
46.6568
81.93
117.774
153.785
189.532
224.496
258.139
289.877
319.151
345.427
368.191
386.99
401.41
411.093
415.793
415.279
409.471
398.424
382.332
361.57
336.593
307.958
276.33
242.329
206.65
169.926
132.732
95.6153
59.0449
23.4598
-10.4552
-42.2744
-72.8144
-101.694
-128.749
-153.846
-176.963
-198.114
-217.345
-234.753
-250.439
-264.507
-277.049
-288.162
-297.937
-306.445
-313.739
-319.865
-324.844
-328.683
-331.38
-332.914
-333.253
-332.296
-330.025
-326.425
-321.402
-314.929
-306.961
-297.421
-286.313
-273.57
-259.141
-242.901
-224.871
-205.074
-183.569
-160.298
-135.388
-108.908
-80.995
-51.8969
-21.9843
7.04026
38.9572
71.5805
104.494
137.744
170.662
202.343
232.216
226.806
188.902
149.904
110.482
71.3237
32.9036
-2.67941
-38.114
-72.7322
-105.666
-136.677
-165.682
-192.546
-217.308
-239.991
-260.614
-279.183
-295.807
-310.597
-323.629
-334.961
-344.658
-352.786
-359.39
-364.518
-368.2
-370.464
-371.355
-370.813
-368.933
-365.689
-361.081
-355.074
-347.643
-338.754
-328.349
-316.377
-302.769
-287.424
-270.263
-251.171
-230.159
-207.134
-182.068
-154.988
-125.888
-94.8933
-62.1212
-27.7778
7.75717
44.5876
82.1486
120.083
157.951
195.24
231.466
266.113
298.647
328.623
355.613
379.196
398.987
414.634
425.861
432.465
434.261
431.132
423.053
410.08
392.354
370.117
343.755
313.724
280.54
244.785
207.059
167.891
127.854
87.4353
47.1501
7.42427
-31.1679
-68.3092
-104.015
-137.958
-169.907
-199.711
-227.299
-252.615
-275.614
-296.287
-314.649
-330.722
-344.549
-356.195
-365.745
-373.346
-379.128
-383.24
-385.848
-387.075
-387.114
-386.044
-383.893
-380.669
-376.367
-370.971
-364.44
-356.723
-347.767
-337.528
-325.959
-313.01
-298.633
-282.764
-265.367
-246.408
-225.847
-203.662
-179.807
-154.295
-127.146
-98.3781
-68.0647
-36.1584
-2.98153
31.4202
66.8101
102.892
139.298
175.555
211.111
245.445
277.923
307.857
334.649
357.729
376.593
390.789
399.868
403.559
401.702
394.288
381.384
363.226
340.129
312.519
280.987
246.181
208.795
169.543
129.11
88.1704
47.3541
7.29593
-31.4875
-68.5457
-103.57
-136.356
-166.756
-194.757
-220.407
-243.761
-264.913
-283.997
-301.135
-316.458
-330.077
-342.079
-352.588
-361.672
-369.414
-375.928
-381.234
-385.418
-388.483
-390.398
-391.186
-390.851
-389.482
-387.069
-383.564
-378.925
-373.108
-366.056
-357.701
-347.941
-336.671
-323.769
-309.111
-292.622
-274.239
-253.895
-231.574
-207.237
-180.876
-152.517
-122.229
-90.1871
-56.4371
-21.3305
14.9378
52.0986
89.7651
127.578
165.058
201.703
236.938
270.178
300.831
328.306
352.072
371.619
386.554
396.579
401.449
401.114
395.587
385.007
369.567
349.562
325.381
297.506
266.457
232.775
197.057
159.875
121.811
83.4115
45.1796
7.60048
-28.8728
-63.9056
-97.1753
-128.474
-157.676
-184.729
-209.615
-232.34
-252.924
-271.407
-287.861
-302.378
-315.046
-325.949
-335.201
-342.901
-349.154
-354.035
-357.502
-359.547
-360.218
-359.8
-358.264
-355.578
-351.731
-346.733
-340.565
-333.243
-324.77
-315.112
-304.237
-292.085
-278.574
-263.667
-247.328
-229.537
-210.166
-189.036
-166.101
-141.262
-114.571
-86.0202
-55.7314
-23.9991
10.9986
45.536
81.1049
117.285
153.686
189.87
225.302
259.439
291.678
321.439
348.182
371.373
390.544
405.27
415.182
420.017
419.533
413.646
402.399
385.999
364.833
339.376
310.206
278.024
243.459
207.239
170.006
132.355
94.8301
57.9121
22.0224
-12.0607
-44.1336
-74.8175
-103.777
-130.866
-155.96
-179.041
-200.128
-219.277
-236.591
-252.18
-266.153
-278.603
-289.631
-299.332
-307.779
-315.026
-321.118
-326.077
-329.909
-332.611
-334.157
-334.518
-333.601
-331.377
-327.823
-322.857
-316.43
-308.524
-299.032
-287.98
-275.291
-260.922
-244.704
-226.689
-206.891
-185.384
-162.064
-137.094
-110.529
-82.4752
-53.2303
-23.0968
5.73908
38.0012
70.9021
104.094
137.767
171.138
203.224
233.461
227.883
189.436
149.901
109.979
70.3721
31.4975
-4.06979
-39.9063
-74.7724
-107.849
-138.94
-167.99
-194.851
-219.587
-242.229
-262.8
-281.288
-297.826
-312.533
-325.489
-336.748
-346.378
-354.445
-360.998
-366.084
-369.732
-371.966
-372.833
-372.288
-370.414
-367.188
-362.608
-356.638
-349.255
-340.421
-330.085
-318.184
-304.658
-289.399
-272.315
-253.281
-232.326
-209.33
-184.279
-157.183
-128.018
-96.9243
-64.0124
-29.4663
6.32086
43.4553
81.3587
119.678
157.973
195.723
232.425
267.548
300.552
330.978
358.393
382.367
402.499
418.431
429.877
436.625
438.489
435.357
427.178
414.025
396.02
373.425
346.635
316.119
282.42
246.139
207.891
168.221
127.709
86.8471
46.167
6.07882
-32.8055
-70.2279
-106.142
-140.238
-172.294
-202.16
-229.779
-255.107
-278.088
-298.724
-317.032
-333.035
-346.775
-358.32
-367.755
-375.232
-380.886
-384.876
-387.37
-388.489
-388.452
-387.335
-385.158
-381.928
-377.635
-372.265
-365.77
-358.097
-349.189
-339.004
-327.49
-314.601
-300.285
-284.47
-267.125
-248.213
-227.693
-205.539
-181.695
-156.177
-129.002
-100.179
-69.7871
-37.7432
-4.39821
30.2346
65.916
102.354
139.177
175.909
211.975
246.854
279.9
310.386
337.702
361.259
380.536
395.075
404.39
408.214
406.359
398.842
385.716
367.227
343.703
315.577
283.468
248.051
210.037
170.165
129.141
87.6444
46.3217
5.82676
-33.318
-70.6498
-105.874
-138.779
-169.228
-197.219
-222.824
-246.1
-267.15
-286.122
-303.145
-318.352
-331.861
-343.759
-354.171
-363.167
-370.828
-377.278
-382.532
-386.681
-389.726
-391.623
-392.397
-392.049
-390.688
-388.304
-384.84
-380.252
-374.495
-367.518
-359.25
-349.587
-338.413
-325.611
-311.041
-294.627
-276.31
-256.015
-233.727
-209.402
-183.019
-154.605
-124.212
-92.0355
-58.1134
-22.772
13.7737
51.2693
89.313
127.556
165.511
202.668
238.436
272.214
303.391
331.359
355.564
375.476
390.696
400.92
406.038
405.525
399.885
389.1
373.364
352.982
328.359
299.997
268.426
234.204
197.948
160.239
121.679
82.8175
44.1639
6.21464
-30.5649
-65.8497
-99.3016
-130.723
-159.989
-187.068
-211.947
-234.641
-255.172
-273.581
-289.95
-304.375
-316.948
-327.755
-336.911
-344.523
-350.705
-355.539
-358.967
-360.953
-361.535
-361.088
-359.537
-356.846
-353.001
-348.01
-341.854
-334.553
-326.113
-316.501
-305.68
-293.591
-280.144
-265.301
-249.031
-231.327
-212.05
-190.988
-168.092
-143.267
-116.549
-87.9368
-57.514
-25.5308
9.44528
44.3366
80.2208
116.751
153.563
190.198
226.124
260.778
293.543
323.817
351.05
374.689
394.253
409.302
419.454
424.433
423.983
418.015
406.557
389.832
368.241
342.273
312.561
279.784
244.621
207.833
170.066
131.939
93.9883
56.7054
20.5033
-13.7573
-46.0832
-76.9162
-105.958
-133.08
-158.171
-181.212
-202.23
-221.291
-238.506
-253.992
-267.865
-280.216
-291.156
-300.779
-309.162
-316.36
-322.416
-327.355
-331.18
-333.887
-335.446
-335.835
-334.953
-332.781
-329.276
-324.369
-317.993
-310.149
-300.709
-289.714
-277.082
-262.782
-246.584
-228.586
-208.786
-187.282
-163.907
-138.879
-112.229
-84.0199
-54.6207
-24.2335
4.32706
36.9951
70.1808
103.646
137.776
171.634
204.139
234.749
229.012
189.985
149.883
109.434
69.359
29.9632
-5.48625
-41.7857
-76.9156
-110.136
-141.307
-170.403
-197.255
-221.962
-244.561
-265.078
-283.477
-299.923
-314.544
-327.419
-338.602
-348.162
-356.167
-362.666
-367.708
-371.32
-373.522
-374.362
-373.815
-371.948
-368.743
-364.19
-358.26
-350.927
-342.151
-331.887
-320.06
-306.622
-291.453
-274.453
-255.478
-234.585
-211.622
-186.587
-159.478
-130.246
-99.0509
-66.0021
-31.2406
4.8078
42.258
80.5178
119.238
157.979
196.21
233.413
269.032
302.527
333.423
361.286
385.667
406.157
422.389
434.063
440.962
442.9
439.76
431.483
418.139
399.844
376.872
349.632
318.606
284.365
247.536
208.737
168.547
127.531
86.2154
45.1166
4.66018
-34.5364
-72.2446
-108.374
-142.628
-174.792
-204.721
-232.368
-257.706
-280.67
-301.264
-319.516
-335.448
-349.096
-360.533
-369.848
-377.193
-382.713
-386.574
-388.948
-389.95
-389.835
-388.669
-386.467
-383.23
-378.945
-373.603
-367.147
-359.52
-350.663
-340.534
-329.079
-316.253
-302
-286.244
-268.954
-250.09
-229.616
-207.494
-183.666
-158.141
-130.941
-102.064
-71.5783
-39.4224
-5.89164
28.9801
64.9611
101.77
139.027
176.256
212.857
248.304
281.946
313.012
340.878
364.938
384.649
399.551
409.114
413.069
411.224
403.598
390.238
371.402
347.428
318.759
286.043
249.986
211.313
170.795
129.153
87.072
45.2198
4.26884
-35.252
-72.8676
-108.298
-141.323
-171.818
-199.794
-225.347
-248.542
-269.48
-288.332
-305.234
-320.318
-333.713
-345.501
-355.811
-364.716
-372.289
-378.673
-383.875
-387.987
-391.013
-392.894
-393.653
-393.287
-391.935
-389.581
-386.16
-381.626
-375.93
-369.032
-360.855
-351.294
-340.223
-327.528
-313.05
-296.715
-278.468
-258.226
-235.973
-211.663
-185.26
-156.787
-126.287
-93.9721
-59.8704
-24.2859
12.5467
50.3906
88.8256
127.517
165.967
203.658
239.983
274.325
306.053
334.538
359.208
379.51
395.025
405.447
410.616
410.125
404.375
393.377
377.331
356.552
331.46
302.585
270.467
235.677
198.857
160.595
121.516
82.1728
43.0804
4.74332
-32.3529
-67.9004
-101.54
-133.087
-162.413
-189.516
-214.385
-237.043
-257.518
-275.848
-292.126
-306.453
-318.926
-329.633
-338.685
-346.202
-352.309
-357.096
-360.491
-362.418
-362.893
-362.422
-360.855
-358.16
-354.317
-349.331
-343.188
-335.908
-327.502
-317.937
-307.175
-295.155
-281.775
-266.996
-250.799
-233.186
-214.016
-193.022
-170.17
-145.362
-118.617
-89.9406
-59.382
-27.1433
7.82242
43.0655
79.2761
116.173
153.413
190.517
226.965
262.158
295.473
326.287
354.032
378.14
398.117
413.506
423.911
429.041
428.633
422.578
410.901
393.833
371.794
345.295
315.014
281.595
245.812
208.428
170.104
131.479
93.0888
55.4198
18.8974
-15.544
-48.1251
-79.1138
-108.238
-135.394
-160.478
-183.477
-204.421
-223.387
-240.496
-255.875
-269.642
-281.89
-292.736
-302.279
-310.595
-317.74
-323.76
-328.679
-332.496
-335.21
-336.782
-337.199
-336.353
-334.238
-330.788
-325.939
-319.617
-311.838
-302.454
-291.516
-278.943
-264.724
-248.541
-230.562
-210.759
-189.269
-165.827
-140.744
-114.01
-85.6294
-56.0718
-25.3934
2.79761
35.9425
69.4162
103.142
137.769
172.15
205.089
236.078
230.196
190.546
149.845
108.844
68.2882
28.2903
-6.92312
-43.7602
-79.1671
-112.53
-143.78
-172.923
-199.759
-224.433
-246.986
-267.45
-285.75
-302.1
-316.629
-329.42
-340.524
-350.01
-357.949
-364.394
-369.39
-372.965
-375.134
-375.944
-375.393
-373.535
-370.352
-365.828
-359.941
-352.656
-343.943
-333.754
-322.004
-308.66
-293.585
-276.677
-257.762
-236.935
-214.01
-188.994
-161.878
-132.573
-101.276
-68.0925
-33.1038
3.2163
40.9933
79.623
118.76
157.966
196.7
234.428
270.566
304.572
335.96
364.29
389.098
409.962
426.508
438.422
445.48
447.505
444.347
435.973
422.428
403.83
380.462
352.751
321.191
286.378
248.975
209.601
168.871
127.328
85.543
44.0047
3.16705
-36.3532
-74.3583
-110.709
-145.128
-177.401
-207.393
-235.068
-260.413
-283.358
-303.909
-322.101
-337.958
-351.511
-362.832
-372.018
-379.226
-384.606
-388.333
-390.58
-391.454
-391.258
-390.044
-387.816
-384.572
-380.296
-374.985
-368.571
-360.991
-352.19
-342.12
-330.726
-317.966
-303.78
-288.086
-270.851
-252.039
-231.614
-209.528
-185.716
-160.186
-132.962
-104.032
-73.452
-41.184
-7.46491
27.6549
63.9438
101.137
138.847
176.594
213.754
249.795
284.063
315.737
344.178
368.761
388.921
404.207
414.037
418.147
416.301
408.564
394.96
375.762
351.317
322.079
288.727
251.996
212.633
171.436
129.148
86.4558
44.0469
2.62031
-37.291
-75.2023
-110.843
-143.99
-174.529
-202.48
-227.977
-251.084
-271.902
-290.624
-307.4
-322.353
-335.625
-347.302
-357.506
-366.316
-373.8
-380.114
-385.262
-389.336
-392.343
-394.211
-394.953
-394.564
-393.222
-390.899
-387.524
-383.045
-377.411
-370.597
-362.515
-353.062
-342.102
-329.52
-315.14
-298.889
-280.715
-260.53
-238.316
-214.027
-187.605
-159.076
-128.465
-96.0104
-61.7196
-25.885
11.2446
49.4522
88.294
127.454
166.421
204.673
241.584
276.515
308.822
337.848
363.006
383.718
399.543
410.171
415.455
414.919
409.052
397.829
381.456
360.26
334.681
305.269
272.579
237.198
199.787
160.951
121.332
81.4867
41.937
3.1942
-34.2302
-70.0515
-103.883
-135.558
-164.943
-192.065
-216.922
-239.541
-259.954
-278.201
-294.383
-308.605
-320.97
-331.574
-340.517
-347.936
-353.965
-358.704
-362.074
-363.943
-364.288
-363.799
-362.217
-359.52
-355.679
-350.698
-344.568
-337.311
-328.939
-319.423
-308.726
-296.778
-283.467
-268.756
-252.634
-235.116
-216.068
-195.144
-172.34
-147.551
-120.783
-92.037
-61.3438
-28.858
6.14041
41.7237
78.2654
115.549
153.228
190.826
227.819
263.575
297.466
328.846
357.128
381.728
402.138
417.886
428.556
433.847
433.489
427.34
415.434
398.007
375.495
348.442
317.526
283.456
247.031
209.022
170.118
130.97
92.1276
54.0538
17.1845
-17.4064
-50.2613
-81.4137
-110.62
-137.81
-162.886
-185.838
-206.701
-225.568
-242.563
-257.828
-271.484
-283.623
-294.371
-303.829
-312.076
-319.167
-325.149
-330.046
-333.858
-336.579
-338.163
-338.606
-337.803
-335.746
-332.358
-327.565
-321.304
-313.588
-304.264
-293.388
-280.872
-266.752
-250.575
-232.618
-212.81
-191.346
-167.825
-142.689
-115.877
-87.3029
-57.5903
-26.5757
1.14405
34.8498
68.6086
102.573
137.745
172.691
206.074
237.444
231.438
191.119
149.787
108.208
67.1651
26.528
-8.43511
-45.8408
-81.5326
-115.033
-146.358
-175.554
-202.364
-227.002
-249.506
-269.917
-288.108
-304.354
-318.789
-331.492
-342.514
-351.922
-359.793
-366.18
-371.129
-374.666
-376.799
-377.581
-377.021
-375.177
-372.014
-367.521
-361.679
-354.443
-345.796
-335.687
-324.017
-310.77
-295.798
-278.99
-260.131
-239.381
-216.496
-191.499
-164.385
-135
-103.603
-70.2861
-35.062
1.54688
39.6589
78.6714
118.24
157.932
197.191
235.47
272.148
306.687
338.588
367.406
392.66
413.915
430.789
442.954
450.177
452.294
449.118
440.648
426.891
407.98
384.196
355.989
323.87
288.457
250.451
210.48
169.182
127.092
84.814
42.8231
1.57871
-38.2614
-76.5816
-113.157
-147.745
-180.127
-210.179
-237.882
-263.23
-286.151
-306.658
-324.784
-340.561
-354.012
-365.213
-374.266
-381.332
-386.563
-390.15
-392.265
-393
-392.721
-391.459
-389.205
-385.955
-381.69
-376.411
-370.042
-362.514
-353.77
-343.761
-332.431
-319.739
-305.625
-289.996
-272.819
-254.063
-233.687
-211.642
-187.848
-162.313
-135.069
-106.084
-75.412
-43.0289
-9.11992
26.2549
62.8649
100.454
138.636
176.922
214.67
251.328
286.252
318.562
347.61
372.747
393.381
409.066
419.169
423.424
421.593
413.744
399.888
380.311
355.366
325.522
291.502
254.061
213.975
172.068
129.107
85.7772
42.7888
0.869467
-39.4403
-77.6674
-113.518
-146.782
-177.363
-205.281
-230.712
-253.726
-274.412
-292.993
-309.636
-324.455
-337.601
-349.162
-359.257
-367.97
-375.361
-381.6
-386.692
-390.726
-393.718
-395.573
-396.301
-395.885
-394.55
-392.257
-388.931
-384.51
-378.938
-372.21
-364.228
-354.889
-344.044
-331.579
-317.304
-301.139
-283.045
-262.921
-240.748
-216.485
-190.047
-161.463
-130.738
-98.1477
-63.6599
-27.5702
9.86149
48.4464
87.7074
127.353
166.86
205.698
243.222
278.776
311.689
341.287
366.958
388.099
404.249
415.089
420.535
419.91
413.923
402.469
385.759
364.132
338.047
308.073
274.785
238.784
200.751
161.306
121.119
80.7519
40.7235
1.565
-36.2139
-72.3136
-106.337
-138.145
-167.582
-194.72
-219.56
-242.136
-262.482
-280.637
-296.715
-310.83
-323.084
-333.582
-342.414
-349.728
-355.676
-360.366
-363.716
-365.531
-365.923
-365.23
-363.626
-360.928
-357.088
-352.112
-345.993
-338.758
-330.419
-320.957
-310.328
-298.456
-285.216
-270.573
-254.529
-237.113
-218.201
-197.353
-174.601
-149.836
-123.047
-94.233
-63.3984
-30.7014
4.41631
40.3121
77.1896
114.876
153.01
191.125
228.686
265.031
299.522
331.49
360.334
385.452
406.316
422.441
433.39
438.851
438.55
432.303
420.16
402.354
379.346
351.705
320.127
285.377
248.276
209.612
170.103
130.411
91.1005
52.6077
15.3524
-19.3395
-52.4956
-83.8192
-113.106
-140.329
-165.394
-188.297
-209.073
-227.831
-244.707
-259.851
-273.392
-285.416
-296.061
-305.431
-313.605
-320.64
-326.583
-331.457
-335.263
-337.993
-339.59
-340.054
-339.306
-337.306
-333.985
-329.249
-323.051
-315.404
-306.14
-295.329
-282.869
-268.868
-252.684
-234.754
-214.936
-193.517
-169.9
-144.716
-117.833
-89.0393
-59.1822
-27.7967
-0.625138
33.7261
67.7589
101.926
137.702
173.26
207.096
238.845
232.744
191.702
149.704
107.52
65.9957
24.731
-10.0812
-48.039
-84.0189
-117.647
-149.045
-178.298
-205.071
-229.669
-252.119
-272.483
-290.551
-306.687
-321.023
-333.634
-344.571
-353.898
-361.698
-368.024
-372.926
-376.425
-378.519
-379.269
-378.701
-376.873
-373.73
-369.271
-363.473
-356.29
-347.711
-337.685
-326.098
-312.954
-298.09
-281.393
-262.585
-241.922
-219.079
-194.105
-167.003
-137.527
-106.034
-72.5858
-37.1198
-0.202559
38.2523
77.6599
117.675
157.875
197.683
236.536
273.779
308.871
341.307
370.633
396.357
418.019
435.234
447.664
455.059
457.265
454.078
445.51
431.532
412.295
388.075
359.346
326.641
290.599
251.958
211.372
169.476
126.828
84.0305
41.5833
-0.0961469
-40.2515
-78.9044
-115.707
-150.47
-182.966
-213.07
-240.8
-266.155
-289.046
-309.502
-327.559
-343.254
-356.603
-367.681
-376.598
-383.512
-388.584
-392.022
-394
-394.582
-394.221
-392.911
-390.628
-387.373
-383.121
-377.876
-371.556
-364.08
-355.397
-345.451
-334.188
-321.567
-307.53
-291.97
-274.853
-256.157
-235.835
-213.837
-190.066
-164.526
-137.267
-108.231
-77.4681
-44.9673
-10.8684
24.7655
61.7074
99.7064
138.378
177.23
215.591
252.893
288.51
321.487
351.171
376.901
398.035
414.143
424.527
428.936
427.102
419.132
405.009
385.03
359.564
329.091
294.373
256.197
215.356
172.711
129.053
85.0574
41.465
-0.96738
-41.6911
-80.2437
-116.311
-149.692
-180.309
-208.185
-233.543
-256.457
-277.002
-295.436
-311.94
-326.627
-339.64
-351.079
-361.06
-369.669
-376.964
-383.12
-388.155
-392.151
-395.125
-396.972
-397.681
-397.228
-395.905
-393.645
-390.373
-386.012
-380.5
-373.866
-365.987
-356.768
-346.043
-333.702
-319.539
-303.461
-285.451
-265.39
-243.262
-219.028
-192.577
-163.94
-133.092
-100.367
-65.679
-29.3221
8.41295
47.3903
87.0812
127.229
167.296
206.741
244.904
281.108
314.657
344.855
371.066
392.657
409.147
420.205
425.775
425.097
418.998
407.304
390.235
368.15
341.526
310.962
277.046
240.396
201.715
161.644
120.87
79.9621
39.4411
-0.143937
-38.2917
-74.6778
-108.892
-140.837
-170.32
-197.471
-222.292
-244.819
-265.099
-283.155
-299.127
-313.13
-325.271
-335.654
-344.368
-351.568
-357.426
-362.066
-365.409
-367.166
-367.39
-366.678
-365.065
-362.369
-358.533
-353.561
-347.453
-340.241
-331.936
-322.532
-311.972
-300.179
-287.017
-272.442
-256.475
-239.167
-220.409
-199.644
-176.946
-152.213
-125.4
-96.5269
-65.5436
-32.6647
2.64317
38.8271
76.0429
114.143
152.75
191.404
229.559
266.526
301.645
334.227
363.658
389.317
410.655
427.176
438.418
444.059
443.818
437.473
425.082
406.878
383.347
355.091
322.795
287.348
249.542
210.196
170.052
129.8
90.0015
51.0827
13.3851
-21.3343
-54.8337
-86.3336
-115.699
-142.953
-168.006
-190.856
-211.535
-230.18
-246.927
-261.944
-275.366
-287.267
-297.804
-307.082
-315.181
-322.157
-328.061
-332.911
-336.712
-339.452
-341.065
-341.537
-340.858
-338.918
-335.666
-330.992
-324.858
-317.284
-308.081
-297.34
-284.929
-271.077
-254.867
-236.972
-217.137
-195.788
-172.051
-146.828
-119.886
-90.8372
-60.8549
-29.1142
-2.46115
32.5849
66.8687
101.187
137.639
173.865
208.157
240.278
234.12
192.291
149.595
106.776
64.7876
22.9934
-11.9621
-50.3643
-86.6335
-120.375
-151.84
-181.16
-207.88
-232.434
-254.827
-275.15
-293.078
-309.098
-323.331
-335.846
-346.694
-355.937
-363.663
-369.927
-374.78
-378.24
-380.294
-380.987
-380.433
-378.62
-375.498
-371.077
-365.324
-358.195
-349.686
-339.748
-328.247
-315.21
-300.462
-283.889
-265.124
-244.562
-221.759
-196.815
-169.735
-140.158
-108.569
-74.9951
-39.2827
-2.03388
36.7709
76.586
117.062
157.791
198.173
237.626
275.457
311.126
344.117
373.972
400.188
422.274
439.846
452.552
460.127
462.424
459.233
450.564
436.359
416.78
392.107
362.831
329.511
292.817
253.511
212.289
169.766
126.541
83.1956
40.2788
-1.85195
-42.352
-81.3457
-118.382
-153.324
-185.933
-216.08
-243.827
-269.189
-292.043
-312.442
-330.43
-346.046
-359.291
-370.235
-379.002
-385.755
-390.66
-393.943
-395.78
-396.199
-395.753
-394.394
-392.081
-388.821
-384.582
-379.372
-373.105
-365.683
-357.062
-347.182
-335.987
-323.44
-309.484
-293.996
-276.94
-258.308
-238.043
-216.098
-192.353
-166.808
-139.537
-110.457
-79.6018
-46.982
-12.6962
23.203
60.4808
98.9017
138.078
177.516
216.514
254.475
290.817
324.494
354.845
381.19
402.843
419.402
430.09
434.687
432.84
424.749
410.353
389.957
363.952
332.818
297.366
258.421
216.79
173.368
128.978
84.2751
40.048
-2.91808
-44.072
-82.9601
-119.248
-152.735
-183.383
-211.2
-236.476
-259.288
-279.682
-297.958
-314.314
-328.857
-341.73
-353.04
-362.903
-371.405
-378.604
-384.665
-389.646
-393.604
-396.564
-398.412
-399.091
-398.601
-397.287
-395.063
-391.845
-387.55
-382.103
-375.55
-367.786
-358.695
-348.096
-335.887
-321.839
-305.855
-287.934
-267.938
-245.859
-221.665
-195.202
-166.517
-135.54
-102.679
-67.7834
-31.1511
6.89793
46.2813
86.4172
127.088
167.738
207.817
246.644
283.518
317.735
348.555
375.333
397.397
414.239
425.515
431.152
430.484
424.274
412.32
394.876
372.31
345.123
313.937
279.369
242.044
202.696
161.986
120.603
79.1386
38.1073
-1.91974
-40.4555
-77.1427
-111.553
-143.647
-173.168
-200.325
-225.126
-247.596
-267.808
-285.758
-301.615
-315.496
-327.512
-337.774
-346.366
-353.446
-359.207
-363.795
-367.145
-368.848
-368.879
-368.148
-366.535
-363.843
-360.013
-355.046
-348.947
-341.76
-333.491
-324.144
-313.658
-301.95
-288.867
-274.363
-258.47
-241.279
-222.696
-202.018
-179.378
-154.683
-127.848
-98.9194
-67.7827
-34.7416
0.817563
37.2675
74.8256
113.352
152.451
191.659
230.433
268.047
303.824
337.047
367.09
393.316
415.153
432.09
443.641
449.474
449.299
442.856
430.203
411.583
387.502
358.59
325.553
289.384
250.827
210.773
169.963
129.137
88.829
49.4779
11.292
-23.4018
-57.2827
-88.9601
-118.401
-145.684
-170.723
-193.515
-214.09
-232.613
-249.223
-264.107
-277.405
-289.177
-299.601
-308.783
-316.803
-323.72
-329.581
-334.408
-338.203
-340.956
-342.589
-343.051
-342.462
-340.581
-337.404
-332.794
-326.723
-319.231
-310.088
-299.421
-287.05
-273.387
-257.123
-239.273
-219.408
-198.165
-174.276
-149.023
-122.043
-92.6933
-62.6169
-30.5663
-4.33633
31.4439
65.9407
100.334
137.556
174.514
209.257
241.739
235.575
192.883
149.454
105.97
63.542
21.3389
-14.1058
-52.822
-89.385
-123.219
-154.744
-184.145
-210.791
-235.298
-257.628
-277.922
-295.688
-311.587
-325.712
-338.129
-348.885
-358.039
-365.688
-371.888
-376.69
-380.112
-382.124
-382.727
-382.217
-380.419
-377.317
-372.938
-367.23
-360.16
-351.719
-341.877
-330.46
-317.538
-302.913
-286.48
-267.744
-247.303
-224.538
-199.629
-172.586
-142.893
-111.209
-77.521
-41.551
-3.95098
35.2113
75.4466
116.398
157.676
198.66
238.741
277.18
313.448
347.017
377.424
404.154
426.68
444.627
457.622
465.38
467.757
464.577
455.806
441.369
421.43
396.284
366.437
332.468
295.09
255.089
213.197
170.022
126.192
82.2829
38.8826
-3.69132
-44.5807
-83.9036
-121.168
-156.281
-188.994
-219.176
-246.936
-272.303
-295.121
-315.463
-333.377
-348.907
-362.041
-372.844
-381.453
-388.04
-392.772
-395.897
-397.593
-397.826
-397.296
-395.893
-393.552
-390.286
-386.063
-380.891
-374.679
-367.316
-358.759
-348.949
-337.826
-325.358
-311.487
-296.078
-279.086
-260.521
-240.317
-218.427
-194.711
-169.161
-141.882
-112.76
-81.8102
-49.0734
-14.5999
21.574
59.2002
98.0496
137.757
177.805
217.471
256.118
293.206
327.616
358.663
385.649
407.838
424.865
435.863
440.583
438.784
430.577
415.898
395.061
368.48
336.647
300.43
260.674
218.213
173.984
128.849
83.4217
38.5427
-4.96656
-46.5448
-85.7885
-122.282
-155.869
-186.54
-214.289
-239.473
-262.178
-282.404
-300.508
-316.71
-331.109
-343.84
-355.018
-364.764
-373.157
-380.263
-386.213
-391.146
-395.069
-398.021
-399.874
-400.516
-399.99
-398.692
-396.497
-393.341
-389.107
-383.739
-377.248
-369.616
-360.646
-350.186
-338.118
-324.189
-308.306
-290.479
-270.554
-248.534
-224.393
-197.924
-169.197
-138.088
-105.103
-69.9891
-33.0877
5.29365
45.0898
85.6852
126.899
168.158
208.906
248.43
286.011
320.929
352.4
379.777
402.34
419.547
431.04
436.679
436.065
429.748
417.53
399.696
376.623
348.845
317.009
281.761
243.732
203.683
162.302
120.286
78.2469
36.6884
-3.79428
-42.7216
-79.7165
-114.31
-146.553
-176.089
-203.242
-228.018
-250.43
-270.566
-288.4
-304.138
-317.89
-329.781
-339.921
-348.39
-355.348
-361.005
-365.536
-368.904
-370.563
-370.413
-369.638
-368.032
-365.344
-361.521
-356.557
-350.467
-343.307
-335.072
-325.784
-315.381
-303.763
-290.763
-276.329
-260.51
-243.446
-225.063
-204.471
-181.899
-157.248
-130.399
-101.419
-70.1252
-36.9444
-1.06927
35.6191
73.532
112.5
152.116
191.903
231.324
269.611
306.074
339.964
370.643
397.457
419.812
437.184
449.061
455.093
454.99
448.452
435.526
416.471
391.812
362.21
328.418
291.476
252.127
211.337
169.831
128.412
87.5809
47.7903
9.0983
-25.5717
-59.8527
-91.7039
-121.215
-148.523
-173.547
-196.279
-216.739
-235.132
-251.596
-266.34
-279.51
-291.144
-301.451
-310.534
-318.472
-325.326
-331.144
-335.946
-339.737
-342.504
-344.162
-344.601
-344.113
-342.301
-339.196
-334.656
-328.647
-321.244
-312.16
-301.574
-289.224
-275.805
-259.447
-241.658
-221.745
-200.655
-176.573
-151.305
-124.312
-94.602
-64.4776
-32.1694
-6.24436
30.3246
64.9791
99.3425
137.452
175.22
210.4
243.221
237.119
193.471
149.278
105.098
62.2521
19.7649
-16.51
-55.4113
-92.2829
-126.181
-157.756
-187.26
-213.802
-238.262
-260.521
-280.805
-298.381
-314.152
-328.167
-340.481
-351.143
-360.204
-367.773
-373.906
-378.657
-382.042
-384.014
-384.47
-384.053
-382.271
-379.19
-374.855
-369.195
-362.188
-353.814
-344.072
-332.739
-319.938
-305.445
-289.169
-270.44
-250.143
-227.411
-202.545
-175.556
-145.732
-113.955
-80.1741
-43.9256
-5.95704
33.5691
74.2385
115.68
157.528
199.139
239.88
278.946
315.839
350.007
380.991
408.256
431.24
449.579
462.876
470.823
473.293
470.122
461.247
446.571
426.258
400.616
370.176
335.52
297.426
256.708
214.119
170.283
125.825
81.3403
37.4438
-5.56575
-46.8998
-86.5362
-124.013
-159.296
-192.124
-222.361
-250.157
-275.541
-298.323
-318.601
-336.425
-351.852
-364.864
-375.513
-383.954
-390.366
-394.919
-397.887
-399.458
-399.676
-398.845
-397.405
-395.032
-391.756
-387.552
-382.419
-376.262
-368.959
-360.467
-350.728
-339.679
-327.293
-313.513
-298.19
-281.271
-262.779
-242.642
-220.822
-197.148
-171.595
-144.32
-115.163
-84.1201
-51.2829
-16.6194
19.8266
57.8148
97.0961
137.354
178.041
218.404
257.772
295.648
330.826
362.608
390.275
413.022
430.54
441.87
446.786
444.96
436.629
421.652
400.353
373.178
340.622
303.609
263.013
219.696
174.638
128.74
82.5642
37.0029
-7.0685
-49.0816
-88.694
-125.412
-159.119
-189.817
-217.49
-242.562
-265.148
-285.19
-303.112
-319.148
-333.398
-345.983
-357.019
-366.65
-374.926
-381.937
-387.769
-392.654
-396.549
-399.506
-401.378
-402.061
-401.39
-400.092
-397.923
-394.84
-390.667
-385.367
-378.955
-371.446
-362.595
-352.283
-340.358
-326.556
-310.777
-293.047
-273.205
-251.251
-227.175
-200.708
-171.947
-140.701
-107.608
-72.2774
-35.1075
3.6057
43.8201
84.8772
126.643
168.528
209.966
250.211
288.539
324.188
356.352
384.354
407.446
425.041
436.768
442.917
441.861
435.45
422.96
404.723
381.117
352.731
320.227
284.275
245.512
204.728
162.649
119.97
77.3322
35.2249
-5.7247
-45.0622
-82.3918
-117.174
-149.575
-179.114
-206.255
-231.003
-253.351
-273.403
-291.105
-306.716
-320.327
-332.082
-342.091
-350.433
-357.265
-362.806
-367.264
-370.66
-372.294
-371.993
-371.141
-369.544
-366.858
-363.043
-358.079
-351.997
-344.86
-336.658
-327.428
-317.116
-305.596
-292.676
-278.313
-262.566
-245.635
-227.486
-206.989
-184.486
-159.893
-133.034
-104.018
-72.5592
-39.2674
-3.016
33.8779
72.1446
111.563
151.703
192.1
232.191
271.181
308.371
342.957
374.306
401.74
424.637
442.467
454.683
460.922
460.909
454.266
441.058
421.545
396.28
365.953
331.396
293.62
253.442
211.884
169.654
127.621
86.2574
46.019
6.86167
-27.8997
-62.549
-94.5655
-124.139
-151.47
-176.477
-199.145
-219.478
-237.736
-254.045
-268.642
-281.682
-293.168
-303.354
-312.332
-320.186
-326.975
-332.749
-337.528
-341.313
-344.096
-345.786
-346.19
-345.809
-344.075
-341.043
-336.575
-330.631
-323.324
-314.296
-303.801
-291.443
-278.346
-261.838
-244.128
-224.143
-203.268
-178.938
-153.674
-126.707
-96.5544
-66.4473
-33.9535
-8.16239
29.2481
63.9901
98.1766
137.329
175.999
211.588
244.72
238.768
194.048
149.062
104.149
60.9084
18.2789
-19.1856
-58.1262
-95.3397
-129.258
-160.871
-190.513
-216.91
-241.328
-263.51
-283.816
-301.154
-316.79
-330.687
-342.892
-353.455
-362.418
-369.908
-375.976
-380.676
-384.023
-385.947
-386.083
-385.95
-384.177
-381.113
-376.827
-371.216
-364.27
-355.964
-346.331
-335.085
-322.424
-308.084
-292.006
-273.216
-253.089
-230.384
-205.56
-178.647
-148.665
-116.807
-82.9569
-46.4089
-8.05226
31.8385
72.9576
114.901
157.345
199.608
241.043
280.756
318.297
353.085
384.67
412.494
435.952
454.704
468.316
476.455
479.025
475.863
466.891
451.967
431.264
405.109
374.049
338.681
299.845
258.384
215.065
170.542
125.424
80.3338
35.9176
-7.55791
-49.3321
-89.2952
-127.001
-162.485
-195.435
-225.681
-253.446
-278.786
-301.482
-321.668
-339.39
-354.691
-367.538
-377.972
-386.169
-392.316
-396.612
-399.347
-400.727
-400.122
-399.947
-398.702
-396.462
-393.219
-389.025
-383.929
-377.822
-370.573
-362.139
-352.47
-341.493
-329.187
-315.501
-300.263
-283.416
-264.998
-244.936
-223.202
-199.584
-174.037
-146.78
-117.604
-86.4804
-53.5445
-18.6998
18.0126
56.3619
96.0788
136.89
178.245
219.321
259.424
298.117
334.098
366.656
395.037
418.375
436.405
448.088
453.199
451.361
442.921
427.638
405.869
378.071
344.747
306.889
265.42
221.212
175.273
128.582
81.6131
35.3267
-9.322
-51.7942
-91.787
-128.718
-162.501
-193.176
-220.718
-245.653
-268.099
-287.921
-305.643
-321.499
-335.592
-348.027
-358.899
-368.365
-376.467
-383.286
-388.924
-393.626
-397.378
-400.236
-401.951
-402.362
-401.808
-400.94
-399.105
-396.282
-392.192
-386.938
-380.616
-373.217
-364.5
-354.335
-342.56
-328.892
-313.225
-295.597
-275.84
-253.961
-229.968
-203.513
-174.739
-143.347
-110.147
-74.6331
-37.1639
1.86787
42.5191
84.0476
126.379
168.904
211.057
252.045
291.146
327.549
360.429
389.08
412.727
430.725
442.667
448.515
447.821
441.348
428.574
409.924
385.754
356.745
323.532
286.839
247.307
205.747
162.937
119.565
76.3071
33.6258
-7.81598
-47.5832
-85.2481
-120.171
-152.724
-182.215
-209.322
-234.013
-256.26
-276.212
-293.749
-309.225
-322.684
-334.31
-344.187
-352.409
-359.127
-364.555
-368.919
-372.342
-373.956
-373.389
-372.571
-371.011
-368.336
-364.529
-359.57
-353.488
-346.374
-338.205
-329.035
-318.815
-307.399
-294.572
-280.262
-264.589
-247.781
-229.917
-209.538
-187.104
-162.586
-135.714
-106.686
-75.0455
-41.4818
-5.18426
32.0885
70.7105
110.591
151.261
192.282
233.061
272.769
310.712
346.018
378.063
406.15
429.62
447.932
460.508
466.967
467.057
460.302
446.805
426.812
400.913
369.829
334.482
295.809
254.775
212.417
169.431
126.763
84.8581
44.1716
4.69922
-30.4972
-65.3742
-97.5481
-127.175
-154.529
-179.518
-202.123
-222.315
-240.432
-256.572
-271.014
-283.92
-295.243
-305.302
-314.172
-321.937
-328.659
-334.388
-339.146
-342.926
-345.726
-347.453
-347.776
-347.553
-345.904
-342.944
-338.552
-332.676
-325.473
-316.5
-306.125
-293.71
-281.061
-264.293
-246.686
-226.59
-206.025
-181.368
-156.131
-129.242
-98.5358
-68.5362
-35.9598
-10.063
28.2341
62.9828
96.792
137.191
176.876
212.824
246.227
240.54
194.601
148.801
103.119
59.4986
16.8285
-22.09
-60.9441
-98.5626
-132.452
-164.107
-193.936
-220.11
-244.467
-266.548
-286.925
-303.979
-319.487
-333.264
-345.359
-355.829
-364.693
-372.096
-378.051
-382.478
-385.094
-385.203
-381.883
-375.168
-368.218
-361.526
-355.322
-349.542
-343.581
-338.435
-333.907
-329.106
-322.29
-310.576
-294.764
-275.955
-256.077
-233.463
-208.714
-181.939
-151.688
-119.754
-85.8607
-49.0093
-10.2128
30.0197
71.6002
114.055
157.121
200.064
242.23
282.608
320.823
356.252
388.461
416.871
440.82
460.002
473.946
482.278
484.927
481.794
472.734
457.55
436.444
409.755
378.044
341.932
302.315
260.07
215.996
170.759
124.967
79.2624
34.3302
-9.61244
-51.7779
-92.0524
-129.929
-165.53
-198.469
-228.462
-255.701
-279.917
-300.163
-315.674
-325.519
-329.115
-326.567
-319.31
-309.352
-299.142
-291.342
-286.033
-283.445
-282.858
-284.182
-286.971
-290.879
-295.743
-300.645
-305.363
-309.909
-314.317
-318.158
-320.781
-321.519
-319.382
-313.257
-301.881
-285.44
-267.112
-247.142
-225.514
-201.948
-176.411
-149.179
-120.017
-88.8263
-55.8063
-20.7922
16.1926
54.8849
95.0417
136.425
178.454
220.269
261.119
300.649
337.459
370.829
399.949
423.901
442.461
454.509
459.801
457.959
449.417
433.819
411.548
383.087
348.955
310.226
267.854
222.707
175.858
128.363
80.592
33.5729
-11.6236
-54.5173
-94.8334
-131.866
-165.617
-196.121
-223.288
-247.69
-269.271
-287.494
-302.668
-314.497
-322.734
-327.367
-328.327
-325.919
-320.718
-313.723
-305.906
-297.549
-290.214
-284.631
-281.057
-279.884
-280.372
-282.976
-286.918
-291.617
-297.01
-302.87
-307.927
-312.938
-316.964
-320.335
-321.422
-319.304
-311.993
-297.95
-278.295
-256.541
-232.686
-206.288
-177.435
-146.09
-112.739
-77.0592
-39.2866
0.0398366
41.138
83.1575
126.064
169.256
212.154
253.923
293.825
331.03
364.648
393.987
418.208
436.627
448.774
454.344
453.96
447.431
434.351
415.271
390.492
360.833
326.865
289.409
249.081
206.721
163.179
119.11
75.2501
31.9981
-9.90925
-50.0773
-88.0226
-123.001
-155.636
-184.942
-211.844
-236.175
-257.77
-276.672
-292.365
-305.032
-314.423
-320.591
-323.802
-324.443
-323.263
-321.266
-317.465
-309.354
-304.333
-307.132
-310.828
-312.884
-314.586
-316.531
-318.401
-320.127
-321.115
-320.933
-319.139
-314.909
-307.573
-296.384
-282.109
-266.493
-249.828
-232.288
-212.055
-189.712
-165.288
-138.43
-109.401
-77.5839
-43.7789
-7.42532
30.2145
69.1999
109.556
150.779
192.444
233.952
274.401
313.126
349.18
381.945
410.704
434.768
453.582
466.535
473.218
473.418
466.553
452.766
432.276
405.711
373.841
337.588
298.035
256.116
212.932
169.154
125.836
83.3716
42.2444
2.57951
-33.3615
-68.3407
-100.662
-130.322
-157.681
-182.634
-205.154
-225.191
-243.169
-259.133
-273.42
-286.197
-297.345
-307.268
-316.016
-323.672
-330.293
-335.92
-340.552
-344.136
-346.594
-347.648
-346.604
-344.76
-342.111
-338.865
-335.069
-330.708
-325.622
-318.657
-308.44
-295.855
-283.86
-266.711
-249.29
-229.057
-208.975
-183.952
-158.677
-131.939
-100.528
-70.7549
-38.2245
-11.9123
27.2911
61.9708
95.1299
137.045
177.884
214.11
247.737
242.46
195.112
148.492
102.014
58.0054
15.1867
-25.0188
-63.8775
-102
-135.737
-167.366
-197.433
-223.349
-247.654
-268.321
-270.025
-234.283
-195.832
-160.869
-129.754
-102.301
-77.9717
-56.5902
-39.3418
-26.1079
-17.0149
-12.5985
-13.0538
-18.4812
-26.8243
-37.7972
-51.2102
-67.4527
-86.8449
-108.837
-133.075
-160.454
-189.463
-218.206
-238.702
-240.221
-237.07
-229.182
-211.453
-185.065
-154.712
-122.778
-88.932
-51.7141
-12.4447
28.1319
70.174
113.145
156.858
200.502
243.441
284.501
323.416
359.508
392.365
421.389
445.844
465.477
479.769
488.302
491.014
487.924
478.787
463.33
441.814
414.571
382.183
345.289
304.865
261.814
216.976
171.021
124.56
78.24
32.8297
-11.5549
-54.0807
-94.5502
-132.396
-167.561
-198.635
-222.669
-235.011
-228.15
-199.624
-166.913
-135.38
-107.105
-83.5811
-65.5382
-52.9046
-45.0062
-40.146
-37.3585
-36.0236
-36.0555
-37.1186
-39.1764
-42.5617
-47.2783
-53.8751
-62.4185
-73.1453
-86.2618
-101.957
-120.304
-141.312
-164.493
-188.483
-210.213
-224.097
-229.44
-229.015
-221.18
-203.793
-178.618
-151.456
-122.366
-91.1036
-58.053
-22.9005
14.3566
53.3922
93.9645
135.955
178.65
221.242
262.865
303.245
340.922
375.124
405.013
429.612
448.704
461.14
466.541
464.72
456.098
440.175
417.382
388.223
353.259
313.638
270.341
224.241
176.479
128.201
79.651
31.9333
-13.7268
-56.9506
-97.4748
-134.373
-167.477
-196.024
-218.121
-231.77
-233.27
-219.052
-194.477
-169.283
-144.97
-122.572
-102.723
-85.5279
-71.4033
-60.1337
-51.7661
-45.6951
-41.0921
-37.516
-35.3328
-34.4948
-34.9188
-36.3542
-38.951
-42.9118
-48.8043
-57.2036
-68.0421
-81.0536
-96.8657
-115.923
-138.181
-164.152
-191.193
-214.68
-226.741
-229.993
-224.681
-207.881
-179.823
-148.637
-115.259
-79.4376
-41.4083
-1.81081
39.7154
82.2129
125.695
169.564
213.221
255.787
296.518
334.568
368.951
399.017
423.85
442.718
455.081
460.593
460.314
453.73
440.319
420.803
395.378
365.068
330.315
292.09
250.969
207.785
163.543
118.767
74.3357
30.5283
-11.7812
-52.2764
-90.4269
-125.281
-157.607
-185.531
-209.224
-226.337
-233.85
-229.266
-211.063
-188.615
-166.893
-147.102
-129.787
-115.452
-103.981
-94.8314
-87.4191
-82.6456
-80.976
-81.7997
-83.21
-86.1893
-91.3047
-98.4383
-107.844
-119.512
-133.141
-148.687
-165.763
-183.656
-201.162
-216.171
-225.123
-229.241
-229.419
-224.324
-212.333
-192.093
-167.793
-141.076
-112.067
-80.0756
-46.0849
-9.67345
28.2892
67.6171
108.441
150.224
192.551
234.817
276.042
315.581
352.416
385.945
415.401
440.086
459.428
472.775
479.691
479.998
473.029
458.946
437.943
410.679
377.973
340.748
300.326
257.468
213.433
168.82
124.85
81.7904
40.225
0.319598
-36.2958
-71.3632
-103.804
-133.443
-160.736
-185.489
-207.484
-226.398
-242.104
-253.502
-259.089
-255.269
-239.275
-220.914
-202.549
-185.693
-170.484
-157.078
-145.675
-136.451
-129.644
-125.702
-124.701
-126.977
-132.358
-141.03
-153.393
-169.528
-188.932
-213.63
-241.232
-260.191
-261.942
-251.882
-241.836
-229.3
-211.701
-186.464
-161.167
-134.798
-102.666
-73.1172
-40.78
-13.6679
26.4055
60.9755
93.1167
136.906
179.071
215.449
249.241
244.563
195.555
148.131
100.85
56.4187
13.1861
-27.9204
-66.6911
-105.381
-139.06
-169.323
-165.071
-123.007
-83.0723
-44.2412
-16.7077
-9.24642
-5.8747
-3.49067
-1.65231
-0.414381
0.210338
0.188545
0.162158
0.13771
0.116629
0.0971195
0.0665545
0.0283243
-0.00141084
-0.0220713
-0.0396426
-0.0595717
-0.103298
-0.226075
-0.541826
-1.36568
-3.43701
-8.5277
-21.3357
-45.8829
-75.0765
-108.011
-137.674
-150.82
-142.102
-123.586
-91.8799
-54.5044
-14.7293
26.1408
68.6862
112.194
156.576
200.927
244.68
286.434
326.07
362.85
396.38
426.049
451.026
471.13
485.789
494.525
497.286
494.264
485.059
469.322
447.382
419.569
386.473
348.767
307.516
263.63
218.001
171.325
124.179
77.2286
31.3728
-13.4218
-56.1088
-95.7419
-128.606
-146.088
-132.629
-102.701
-70.8209
-43.1524
-25.8492
-14.6432
-7.35275
-3.07216
-1.02456
-0.458695
-0.517981
-0.556664
-0.581528
-0.599909
-0.613761
-0.628064
-0.656661
-0.703031
-0.779114
-0.881193
-1.0342
-1.23879
-1.54519
-2.0115
-2.72633
-3.86802
-5.7409
-8.88759
-14.3036
-23.7704
-40.1346
-62.2229
-87.5074
-114.012
-136.062
-142.893
-137.329
-121.256
-93.1707
-60.1752
-24.9932
12.4846
51.8629
92.803
135.41
178.777
222.185
264.638
305.861
344.454
379.52
410.23
435.515
455.144
467.983
473.615
471.701
463.002
446.714
423.382
393.489
357.658
317.136
272.922
225.852
177.147
128.138
78.8014
30.3578
-15.7053
-59.0366
-98.4436
-129.644
-145.092
-133.864
-108.287
-81.077
-56.1151
-37.5444
-25.1505
-16.2661
-10.0155
-5.70683
-3.02329
-1.49548
-0.807735
-0.656287
-0.63286
-0.618054
-0.606055
-0.584377
-0.563567
-0.546784
-0.554501
-0.578563
-0.624828
-0.694398
-0.820601
-1.00333
-1.26655
-1.64951
-2.28865
-3.32302
-5.11087
-8.51942
-14.8547
-26.7636
-47.9076
-75.1324
-105.289
-132.819
-143.087
-136.263
-115.74
-81.4921
-43.3657
-3.59452
38.3538
81.2545
125.332
169.873
214.306
257.693
299.259
338.194
373.351
404.177
429.647
448.996
461.577
466.561
466.837
460.229
446.464
426.519
400.407
369.452
333.863
294.875
252.932
208.888
163.935
118.423
73.3966
29.0605
-13.5944
-54.2265
-91.6098
-122.527
-142.696
-141.938
-120.231
-94.4707
-69.585
-48.2368
-33.6105
-23.2752
-16.1848
-11.134
-7.70632
-5.42721
-3.94639
-3.0314
-2.99683
-3.42303
-3.59384
-2.81071
-2.20071
-2.15861
-2.34415
-2.67392
-3.2005
-3.97872
-5.13187
-6.86002
-9.422
-13.3896
-19.5453
-29.4592
-44.9153
-64.0085
-84.9404
-105.976
-127.71
-142.136
-141.672
-132.945
-113.355
-82.3138
-48.2308
-11.8094
26.4205
66.0219
107.303
149.636
192.633
235.682
277.714
318.094
355.723
390.049
420.23
445.564
465.467
479.229
486.393
486.795
479.733
465.356
443.833
415.83
382.241
344.056
302.698
258.844
213.937
168.44
123.811
80.1288
38.1826
-1.95523
-39.0988
-74.0949
-106.066
-133.095
-152.204
-155.075
-135.532
-111.528
-87.287
-63.9529
-42.0209
-26.0432
-18.0527
-12.9052
-9.43381
-6.74276
-4.6833
-3.13002
-1.96901
-1.12165
-0.52698
-0.157348
-0.0182045
-0.0242822
-0.0468031
-0.0743297
-0.10593
-0.154277
-0.262912
-0.639472
-2.15883
-9.62961
-30.2763
-56.6943
-87.1503
-123.012
-157.021
-166.909
-152.17
-135.203
-104.605
-75.3901
-43.4894
-15.4258
25.5212
60.0183
90.6517
136.796
180.494
216.843
250.734
246.896
195.903
147.711
99.5108
54.7681
11.2406
-30.6717
-69.3701
-76.3797
-48.5447
-21.7794
-6.03749
-2.41633
-0.216793
0.747917
0.668856
0.555269
0.489006
0.416927
0.346409
0.266405
0.223945
0.194421
0.163411
0.1374
0.115422
0.0936253
0.0636244
0.0279082
0.000547244
-0.0183775
-0.0317027
-0.0394901
-0.0432305
-0.0508468
-0.0654151
-0.082054
-0.0963183
-0.112297
-0.139903
-0.25984
-0.612475
-1.91926
-6.16686
-19.2932
-39.3903
-58.6028
-66.1043
-47.836
-16.5569
24.0312
67.1185
111.112
156.241
201.344
245.976
288.419
328.792
366.279
400.504
430.851
456.366
476.961
492.004
500.955
503.68
500.792
491.535
475.509
453.128
424.721
390.879
352.309
310.191
265.414
218.965
171.516
123.642
76.0768
29.9018
-14.0044
-49.3241
-59.9606
-47.0578
-28.7454
-14.1
-5.96532
-1.56546
-0.0150568
0.0496989
0.0556075
0.0593881
0.0559951
0.0561616
0.054728
0.0463151
0.0413663
0.0372064
0.0336759
0.0304267
0.0281443
0.0261151
0.024149
0.0222568
0.0204056
0.0182067
0.0161495
0.0126469
0.00736966
-0.000737847
-0.0138667
-0.0354184
-0.0731267
-0.139432
-0.261728
-0.50728
-1.03453
-2.21945
-4.93821
-11.2895
-24.4241
-41.0624
-56.7246
-61.8314
-48.8725
-24.7215
10.7784
50.3618
91.6339
134.783
178.774
223.011
266.324
308.398
347.9
383.872
415.525
441.527
461.711
474.998
480.945
478.868
470.145
453.46
429.517
398.86
362.061
320.634
275.45
227.324
177.574
127.792
77.5258
28.5958
-16.1183
-50.2937
-58.2215
-45.4712
-28.8542
-15.4363
-7.51628
-2.81207
-0.571117
-0.00794782
-0.0460955
-0.0264897
0.00145329
0.0184509
0.0291509
0.0269117
0.0225068
0.0216423
0.0245947
0.0246139
0.0238832
0.0249698
0.0258117
0.0258006
0.0250088
0.0247358
0.024363
0.0243437
0.0230738
0.0225939
0.0220226
0.0207345
0.0170383
0.00911944
-0.00806121
-0.0444252
-0.114574
-0.251453
-0.567872
-1.40149
-3.59034
-9.50176
-23.6934
-42.9049
-59.8028
-58.471
-38.4592
-5.04124
37.1866
80.33
124.999
170.169
215.39
259.64
302.026
341.921
377.841
409.487
435.602
455.471
468.287
472.583
473.557
466.901
452.748
432.366
405.493
373.878
337.363
297.592
254.708
209.756
164.029
117.678
72.1456
27.5112
-13.9164
-47.3982
-59.7583
-49.7972
-34.2758
-20.134
-10.5763
-4.73961
-1.52472
-0.213916
-0.0852463
-0.109201
-0.0569796
-0.0218154
0.00207672
0.00793938
0.010522
0.0147146
0.0111155
-0.121432
-0.176975
-0.11297
-0.020172
0.00826875
-0.000129657
-0.00633548
-0.0135286
-0.02273
-0.0372413
-0.059355
-0.0907971
-0.142193
-0.223673
-0.367424
-0.626862
-1.13942
-2.11505
-3.94785
-7.97786
-16.6872
-31.091
-47.2877
-60.431
-58.6621
-41.8171
-13.1318
24.7955
64.5127
106.198
149.057
192.68
236.546
279.391
320.672
359.125
394.267
425.197
451.203
471.696
485.893
493.315
493.79
486.65
471.986
449.947
421.158
386.666
347.479
305.152
260.25
214.454
168.029
122.813
78.5442
36.3509
-3.7249
-38.8587
-62.8721
-61.993
-48.4174
-32.0967
-16.7495
-9.3076
-4.83492
-1.81113
-0.205773
0.131532
0.13872
0.134527
0.132229
0.125232
0.1165
0.105866
0.0935124
0.079138
0.06348
0.0408967
0.00552271
-0.0129096
-0.0214716
-0.0409116
-0.0637288
-0.0876162
-0.11003
-0.139411
-0.193443
-0.253185
-0.388793
-0.465181
-0.505472
-0.571791
-0.735437
-2.31093
-14.6965
-35.9406
-59.3264
-77.3152
-66.1465
-43.3124
-17.1153
24.7479
59.1738
87.5147
136.748
182.205
218.292
252.215
249.543
195.986
147.251
98.5661
53.1149
12.1043
3.53106
2.10847
1.70754
1.5616
1.42353
1.20823
1.0132
0.876854
0.773063
0.659311
0.547215
0.473176
0.400964
0.331041
0.25662
0.215688
0.186293
0.156442
0.131079
0.109324
0.0880055
0.0596791
0.0272996
0.00169396
-0.0164616
-0.0292333
-0.0369947
-0.041389
-0.0488262
-0.0625834
-0.0775488
-0.0867465
-0.093006
-0.0954273
-0.10481
-0.114289
-0.113813
-0.125724
-0.128056
-0.122903
-0.0810131
0.0636713
1.15021
8.30651
31.0283
66.5872
109.867
155.563
201.675
247.279
290.449
331.595
369.804
404.741
435.8
461.861
482.97
498.417
507.595
510.206
507.509
498.208
481.874
459.036
430.006
395.37
355.879
312.854
267.069
219.77
171.466
122.932
75.5673
34.7734
12.1648
2.58812
0.33367
0.171239
0.123274
0.10148
0.0832877
0.0592407
0.0827267
0.0847103
0.072489
0.065829
0.0623448
0.0631162
0.0616639
0.0546837
0.0498962
0.0459033
0.0425576
0.0401106
0.0374795
0.0358767
0.0347046
0.0340443
0.0337927
0.034005
0.0349762
0.0359298
0.0372908
0.0387548
0.040474
0.0423018
0.0433797
0.044867
0.0472942
0.0505108
0.0542763
0.0582145
0.0611196
0.0658713
0.0801442
0.114925
0.206289
0.498527
1.63636
6.29454
22.9305
52.7856
90.7179
134.345
178.879
223.838
267.947
310.972
351.315
388.127
420.813
447.559
468.276
482.037
488.284
485.997
477.331
460.184
435.572
404.091
366.235
323.805
277.538
228.189
177.304
126.839
76.7262
34.0035
11.7751
2.5675
0.350615
0.287889
0.16687
0.102069
0.0947505
0.0929451
0.0756594
0.067044
0.0603583
0.0594212
0.057132
0.0538158
0.0492824
0.0415539
0.0349452
0.0334601
0.0345924
0.0335234
0.0326283
0.0331995
0.0340253
0.0341314
0.0332374
0.0333223
0.0338492
0.0346128
0.034917
0.0366274
0.0390548
0.0418852
0.0450114
0.0480652
0.0488724
0.0483294
0.0490087
0.0537954
0.0583938
0.0602831
0.0588776
0.0634455
0.076505
0.105797
0.21339
0.689274
3.06127
13.984
42.4373
79.9971
124.805
170.5
216.512
261.568
304.793
345.708
382.385
414.915
441.688
462.108
475.225
478.669
480.456
473.68
459.081
438.213
410.457
378.149
340.592
300.006
256.088
210.153
163.625
116.64
71.794
33.3072
12.5733
3.18122
0.373293
0.335325
0.22443
0.1355
0.0835273
0.09497
0.0902654
0.0640324
0.0308101
0.034362
0.0431276
0.0475592
0.0476701
0.042613
0.0369504
0.0319408
0.0265371
0.0185291
0.0146316
0.0278838
0.0390185
0.0389041
0.0367392
0.0352913
0.0354464
0.0369933
0.0380658
0.0389052
0.0399455
0.04128
0.0435718
0.0458343
0.0479647
0.0502092
0.0546202
0.0581911
0.0583189
0.0629496
0.0767282
0.113059
0.231733
0.662692
2.52333
10.3872
32.8458
64.9245
105.297
148.62
192.774
237.502
281.073
323.275
362.594
398.599
430.302
457.006
478.118
492.766
500.462
500.949
493.765
478.819
456.268
426.641
391.243
351.031
307.689
261.693
215.013
167.744
122.054
77.4178
38.27
13.7411
4.07058
0.587462
0.384127
0.300212
0.231947
0.23257
0.210849
0.200497
0.189864
0.172289
0.162041
0.150114
0.139715
0.13261
0.123277
0.11322
0.102002
0.0894908
0.075306
0.0598054
0.0371223
0.00631836
-0.011216
-0.0212599
-0.0395621
-0.0610947
-0.0837937
-0.10589
-0.135085
-0.187939
-0.246964
-0.36037
-0.440218
-0.48123
-0.54142
-0.607648
-0.763741
-0.914641
-0.990587
-1.10359
-1.26531
-1.51514
-1.65071
-1.62463
29.7585
59.2815
83.6846
136.89
184.262
219.773
253.674
252.459
196.258
146.604
92.3746
51.522
15.6796
5.64057
2.27384
1.81804
1.51961
1.35212
1.1511
0.96832
0.836944
0.734588
0.627686
0.524778
0.451044
0.382165
0.316028
0.247917
0.207407
0.17811
0.149538
0.125123
0.103862
0.0828808
0.0560788
0.026577
0.00270865
-0.0146758
-0.0270941
-0.0349154
-0.0398263
-0.047259
-0.0597879
-0.073203
-0.0819749
-0.0888371
-0.0913913
-0.099949
-0.10861
-0.110502
-0.117358
-0.123009
-0.113468
-0.0953053
0.0999811
1.06591
6.83849
30.5716
65.8217
109.552
155.063
201.965
248.291
292.286
334.395
373.387
409.089
440.905
467.513
489.157
505.03
514.455
516.835
514.418
505.09
488.418
465.106
435.427
399.927
359.451
315.455
268.514
220.343
171.018
121.558
73.6528
32.9469
11.2856
2.33377
0.321032
0.166262
0.111383
0.0972424
0.0802587
0.0617354
0.0775078
0.0791933
0.0697206
0.063571
0.060229
0.0602023
0.0584443
0.0524289
0.0478868
0.0440501
0.040863
0.0385217
0.0361223
0.0345541
0.0334274
0.0328175
0.032561
0.0327941
0.0337283
0.0346831
0.0360054
0.0374108
0.0390185
0.0407681
0.0418436
0.0433481
0.0455668
0.0485103
0.0517072
0.0546529
0.0569921
0.0625136
0.0773521
0.110723
0.196859
0.478095
1.56688
5.99228
22.1252
51.4838
89.3181
133.845
179.038
224.835
269.575
313.639
354.89
392.431
426.125
453.59
474.849
489.146
495.711
493.076
484.608
466.795
441.468
409.124
370.113
326.575
279.089
228.438
176.614
125.577
74.9364
32.5377
11.1209
2.44232
0.352879
0.281599
0.16795
0.10849
0.0964717
0.0910372
0.0743531
0.0650475
0.0588376
0.0575442
0.0550831
0.0518278
0.0473187
0.0402858
0.0343432
0.0328524
0.0335513
0.0324697
0.0316111
0.0321034
0.0329134
0.0330224
0.0323433
0.0323997
0.0329434
0.0336609
0.0340918
0.0357363
0.038028
0.0406838
0.0437419
0.0466331
0.0472678
0.0468165
0.0479046
0.0524187
0.0567221
0.0594196
0.058644
0.0635673
0.0730384
0.0983385
0.203383
0.664032
2.92026
13.3768
41.5476
79.0646
124.455
170.768
217.588
263.421
307.528
349.419
386.897
420.369
447.828
468.81
482.347
485.991
487.487
480.509
465.391
444.03
415.277
382.295
343.538
302.131
257.102
210.298
163.037
115.295
70.2401
31.9876
11.929
3.04101
0.387503
0.32598
0.226255
0.136062
0.0938285
0.0940076
0.086211
0.0607558
0.0329297
0.0341796
0.0414935
0.0463382
0.0465191
0.041693
0.0357177
0.0290501
0.0218716
0.0170806
0.0158297
0.0282013
0.0381604
0.0388107
0.0359315
0.0343325
0.0346674
0.0360922
0.0371984
0.0380394
0.0390428
0.0402625
0.042284
0.044311
0.0464296
0.048669
0.052246
0.0554753
0.0565553
0.0617336
0.0744465
0.107345
0.214382
0.631423
2.4016
9.88081
31.8822
63.6175
104.273
148.105
192.886
238.521
282.86
325.933
366.064
403.014
435.532
462.97
484.733
499.854
507.842
508.298
501.075
485.851
462.782
432.25
395.962
354.665
310.256
263.288
215.652
167.355
120.253
75.0986
36.993
13.7941
4.21422
0.574006
0.38133
0.287395
0.229159
0.219662
0.20103
0.190689
0.178982
0.165043
0.154189
0.143072
0.133428
0.126107
0.117244
0.107646
0.0968955
0.0849331
0.071456
0.0565775
0.035301
0.00754238
-0.0095437
-0.0206231
-0.0380357
-0.0584944
-0.0802778
-0.10245
-0.131606
-0.181385
-0.239056
-0.340343
-0.415224
-0.45887
-0.518055
-0.586327
-0.72315
-0.866285
-0.945233
-1.06696
-1.30776
-1.46045
-1.59506
2.53156
28.1583
61.9302
86.1676
138.194
187.094
221.396
255.094
256.341
178.878
91.9072
19.6679
6.52081
2.77509
2.24321
1.9448
1.66828
1.42032
1.26905
1.0892
0.922183
0.797263
0.696974
0.596354
0.501193
0.429008
0.363269
0.300607
0.238243
0.198719
0.169818
0.14248
0.119005
0.0983625
0.0779158
0.052673
0.0256832
0.00346067
-0.0130693
-0.0250226
-0.0327807
-0.0381135
-0.0454551
-0.0569984
-0.0693257
-0.077372
-0.0839074
-0.0872526
-0.0949462
-0.103059
-0.105004
-0.112495
-0.119013
-0.118728
-0.12368
-0.117547
-0.103462
0.0315475
1.11257
7.88196
48.4912
116.912
189.662
247.494
294.011
337.046
376.773
413.44
446.142
473.315
495.52
511.851
521.559
523.548
521.535
512.191
495.147
471.34
440.954
404.515
363.011
317.84
268.72
213.221
136.982
59.9408
18.3573
2.56359
0.472472
0.211356
0.136064
0.0952546
0.0838767
0.0833657
0.0735071
0.0610012
0.0726249
0.0740228
0.0664175
0.0608499
0.0577522
0.0572364
0.0553059
0.0500605
0.0458079
0.0421292
0.0390853
0.0368642
0.0346164
0.0330542
0.0320008
0.0314151
0.0311504
0.0314013
0.0322541
0.0332202
0.0344788
0.0357865
0.0373009
0.0389507
0.0400423
0.0414992
0.0435154
0.046107
0.0488738
0.0507802
0.0514185
0.0524041
0.0554115
0.0581517
0.0621078
0.0770714
0.129929
0.304007
1.06095
5.05098
25.3366
82.5031
153.512
218.41
270.48
316.116
358.421
396.583
431.486
459.599
481.353
496.415
503.293
500.141
492.261
473.628
447.599
414.275
374.046
329.453
280.401
223.885
147.455
67.3183
20.8309
3.31781
0.633448
0.376154
0.193718
0.136414
0.110506
0.0894263
0.0841107
0.0823456
0.070904
0.0625877
0.0569631
0.0553153
0.0529118
0.0497711
0.0453267
0.0388907
0.0335034
0.0320834
0.0323724
0.0312354
0.0304401
0.0308989
0.0316392
0.0317848
0.0312969
0.0313383
0.0319042
0.032531
0.0331139
0.0346421
0.0368081
0.0393261
0.0423049
0.0450877
0.0456218
0.0451987
0.0466348
0.0507321
0.054525
0.0567508
0.0554124
0.0569341
0.0573195
0.0552331
0.0604641
0.0811124
0.155185
0.543173
2.948
16.9686
69.1146
141.149
209.028
263.981
310.003
352.898
391.191
425.705
453.9
475.46
489.54
494.536
494.867
487.582
471.916
450.046
420.197
386.543
346.502
304.317
256.85
199.892
125.56
54.0632
17.8724
3.04952
0.663513
0.471635
0.218745
0.132655
0.117001
0.101165
0.0765152
0.07964
0.0770654
0.0571557
0.0338586
0.0334103
0.0398959
0.0448745
0.045394
0.040819
0.034611
0.026144
0.0174619
0.0148914
0.0174439
0.0254066
0.0332935
0.0354225
0.0339269
0.0330122
0.033589
0.0350517
0.0361735
0.0370441
0.0380034
0.0391144
0.0409607
0.0428557
0.0449013
0.0471354
0.0499961
0.051761
0.0529969
0.0546386
0.0553031
0.0555739
0.0573708
0.0740053
0.139262
0.414189
1.75453
8.7404
41.3385
104.118
174.902
234.964
284.389
328.556
369.521
407.47
440.827
469.068
491.528
507.157
515.475
515.858
508.615
493.1
469.466
437.933
400.756
358.21
312.756
263.626
207.492
131.557
57.8031
18.4101
2.96766
0.675547
0.372909
0.306715
0.259263
0.229131
0.203487
0.201385
0.188561
0.179943
0.169231
0.157167
0.146414
0.136022
0.127032
0.119673
0.111256
0.102093
0.0918455
0.080391
0.0675056
0.0531586
0.0330769
0.00825672
-0.00819957
-0.0198905
-0.0364164
-0.0557879
-0.0766348
-0.098498
-0.127232
-0.174547
-0.230454
-0.320283
-0.390952
-0.436419
-0.494388
-0.56218
-0.688697
-0.815714
-0.901317
-1.0208
-1.23312
-1.38197
-1.53043
-1.79232
-1.98896
-1.72139
24.8041
93.8612
179.846
221.67
257.18
140.501
28.6206
7.26158
3.22532
2.73617
2.31025
2.00827
1.79004
1.56367
1.34514
1.19714
1.03107
0.876273
0.757574
0.660027
0.565331
0.476985
0.407069
0.344483
0.2853
0.22794
0.189722
0.161469
0.135377
0.112875
0.0929323
0.0731388
0.0494434
0.0247058
0.00403643
-0.011634
-0.0231158
-0.0307711
-0.0363192
-0.0434825
-0.0541563
-0.0654011
-0.0729346
-0.0792956
-0.0831318
-0.0901806
-0.0974075
-0.0997351
-0.106459
-0.111989
-0.112822
-0.118819
-0.121194
-0.127089
-0.130801
-0.102474
0.039389
1.23011
9.30496
61.7298
169.83
268.714
334.183
380.119
417.81
451.395
479.214
502.032
518.869
528.921
530.335
528.902
519.487
502.002
477.677
446.436
408.837
364.708
307.202
207.371
93.8344
27.5225
3.26025
0.688771
0.28767
0.140388
0.0918614
0.0895987
0.077209
0.0752785
0.0764933
0.0690907
0.0597571
0.0681038
0.0692902
0.0631153
0.0580624
0.0551237
0.0541747
0.0521285
0.0474994
0.0435387
0.0400472
0.0371532
0.0350064
0.0329321
0.0314212
0.0304294
0.0298682
0.0296048
0.0298637
0.0306147
0.0315459
0.0327358
0.0339522
0.0354006
0.0369623
0.0381297
0.0395649
0.0414242
0.0438481
0.0464841
0.0482382
0.0488512
0.0497598
0.0519304
0.0529169
0.0526623
0.0526664
0.0557855
0.058841
0.0830658
0.210853
0.812612
4.63845
28.4792
113.179
217.117
301.551
359.552
400.226
436.526
465.458
487.681
503.579
510.954
507.2
500.031
480.318
453.675
419.264
376.956
324.356
234.626
115.086
36.3423
6.33322
1.21065
0.608436
0.217956
0.130116
0.115884
0.102779
0.0948085
0.0835353
0.0798061
0.077965
0.068428
0.0604762
0.0551245
0.0530266
0.0505057
0.0474105
0.0430861
0.0372585
0.0324058
0.0309328
0.0309205
0.0298175
0.0291201
0.0294665
0.0300942
0.0302581
0.029893
0.0299562
0.0305267
0.031068
0.0317589
0.0331833
0.0352595
0.0376301
0.040498
0.0430329
0.0436819
0.0433589
0.0450109
0.048848
0.0525083
0.0547787
0.0540206
0.0550739
0.0544282
0.0511723
0.0505261
0.0498917
0.0440057
0.0531942
0.124982
0.496771
3.06734
21.0929
97.3648
204.162
291.567
352.902
394.963
430.588
459.68
481.864
496.586
502.368
502.012
494.394
478.217
455.822
424.799
390.143
345.219
283.761
181.892
78.6491
24.9627
3.9044
1.08534
0.626802
0.219535
0.132887
0.109113
0.0859337
0.0894191
0.0901006
0.0736435
0.0757226
0.0725521
0.0546642
0.0344305
0.0328005
0.0384107
0.0434527
0.0440437
0.0396594
0.0334293
0.0243166
0.0138584
0.012157
0.0200855
0.0262436
0.0320051
0.0341271
0.0327748
0.0319853
0.0326432
0.0339782
0.0351007
0.035976
0.0368673
0.0379758
0.0396231
0.041464
0.0436443
0.0459357
0.0487929
0.0507586
0.0526207
0.0531491
0.0523089
0.0508495
0.0479983
0.0458253
0.0442483
0.0483901
0.0940228
0.292886
1.33094
8.08408
46.9769
143.702
246.55
320.596
372.351
411.882
446.093
475.21
498.423
514.614
523.359
523.574
516.363
500.522
476.229
443.578
405.259
359.459
299.844
195.239
82.5811
23.6395
2.66123
0.859921
0.453298
0.292425
0.224918
0.237584
0.224114
0.208425
0.192105
0.188886
0.178134
0.169986
0.159831
0.149094
0.138724
0.12896
0.120528
0.11329
0.10529
0.0965563
0.0868336
0.0759274
0.0636844
0.0499306
0.0312146
0.00871932
-0.00705402
-0.0190465
-0.0347614
-0.0530998
-0.073008
-0.094454
-0.122605
-0.167341
-0.220814
-0.301263
-0.367618
-0.413734
-0.470286
-0.537413
-0.652792
-0.76925
-0.856539
-0.97391
-1.16112
-1.30763
-1.45198
-1.70336
-1.87665
-2.03888
-2.37829
-2.58732
12.5309
105.057
218.054
7.69511
3.32966
3.06703
2.64991
2.38132
2.1251
1.87652
1.67902
1.47234
1.27284
1.12797
0.97358
0.830014
0.71743
0.623373
0.534256
0.452138
0.385029
0.325629
0.269913
0.217094
0.180429
0.153018
0.128185
0.106695
0.0875341
0.0685062
0.0463667
0.0236386
0.00444822
-0.0103373
-0.021298
-0.0287992
-0.0344816
-0.0414345
-0.0512522
-0.0615612
-0.0685828
-0.0746915
-0.0788056
-0.0853682
-0.091934
-0.0944088
-0.100796
-0.105932
-0.106862
-0.112056
-0.114525
-0.121341
-0.12818
-0.131453
-0.122353
-0.0917023
0.0680481
1.24492
12.3465
76.1032
207.373
331.972
405.91
455.304
485.254
508.587
525.965
536.428
536.892
536.357
526.708
508.493
482.93
447.21
390.777
277.907
134.719
40.8996
5.37718
0.972771
0.390225
0.168844
0.10264
0.0735154
0.0670453
0.0761821
0.0706957
0.0704578
0.0711701
0.0651924
0.0580598
0.0638645
0.064676
0.0595782
0.0550474
0.0522625
0.0510353
0.0489459
0.0448454
0.041173
0.037888
0.0351633
0.0330763
0.03115
0.029733
0.0287872
0.0282589
0.0279966
0.0282571
0.028917
0.0297876
0.0308985
0.0320058
0.0333773
0.0347875
0.0359213
0.0373083
0.0390018
0.0412858
0.0436927
0.0453816
0.0462702
0.0472406
0.0489935
0.0499013
0.0495793
0.0492443
0.0500479
0.0466002
0.04219
0.0434246
0.0548194
0.16513
0.785723
5.11988
33.1874
140.161
271.177
368.074
432.259
470.278
492.737
509.787
516.598
513.49
507.489
485.592
455.75
407.985
310.045
172.341
61.9867
13.4051
2.15994
0.936324
0.339943
0.158444
0.10092
0.089388
0.0975479
0.0938886
0.0889146
0.0803198
0.0765305
0.0738755
0.0653456
0.0578431
0.0527555
0.0503745
0.0478327
0.0448166
0.0406864
0.0354385
0.0310871
0.0295484
0.0293376
0.0282946
0.0276772
0.0279223
0.0284616
0.02857
0.0283128
0.0284251
0.0289727
0.0294459
0.0301751
0.0315102
0.03349
0.0356427
0.0383392
0.040574
0.0412611
0.0412317
0.0428905
0.046483
0.0499868
0.0521275
0.0520444
0.0527869
0.0520197
0.0494951
0.0483462
0.0462855
0.0372552
0.0296573
0.0256394
0.0277874
0.120997
0.646867
3.93329
27.0765
122.068
255.442
357.318
422.75
463.091
486.91
502.413
508.066
508.116
500.215
482.899
458.036
415.443
347.252
222
103.175
34.0402
5.92049
1.70616
0.953293
0.298696
0.160032
0.0907017
0.0730362
0.083423
0.0768707
0.082557
0.0849703
0.0728006
0.0727228
0.0682502
0.0520512
0.0344781
0.0320332
0.0367257
0.0413373
0.0418947
0.0380007
0.0319938
0.0233518
0.0116134
0.011062
0.0207126
0.026889
0.0321288
0.033582
0.0318764
0.0307672
0.0314309
0.0325407
0.0336315
0.0345504
0.0353393
0.0365245
0.0380245
0.0397975
0.041983
0.0442997
0.0469125
0.0494271
0.0512764
0.0510502
0.0497053
0.0479164
0.0455118
0.0426783
0.0375287
0.0294459
0.0258777
0.0323222
0.0638123
0.260869
1.33129
8.92817
56.0656
177.69
305.104
391.993
446.719
481.019
504.994
521.801
530.906
531.247
524.057
507.699
481.8
444.205
384.079
260.611
117.988
33.5986
3.59477
1.11195
0.539119
0.321402
0.249415
0.211904
0.192202
0.214303
0.207878
0.195629
0.182972
0.177599
0.168093
0.160246
0.150672
0.140974
0.13112
0.121921
0.114006
0.106944
0.0993462
0.0910451
0.0818242
0.0714729
0.0598777
0.0467582
0.0294256
0.00894352
-0.00608493
-0.0181208
-0.0330375
-0.050355
-0.0693283
-0.0901985
-0.117526
-0.159698
-0.21049
-0.282813
-0.344961
-0.390977
-0.445843
-0.511204
-0.617072
-0.723986
-0.811186
-0.92497
-1.09374
-1.23404
-1.37679
-1.59953
-1.76971
-1.93931
-2.24035
-2.43958
-2.67216
-2.76921
0.505991
2.74618
2.67384
2.59602
2.40497
2.20211
1.98505
1.76147
1.57513
1.38364
1.20005
1.05992
0.916354
0.783003
0.676655
0.586751
0.503105
0.426754
0.362882
0.306725
0.254451
0.20579
0.170865
0.144467
0.120916
0.100479
0.0821717
0.064007
0.0434101
0.0225023
0.00471723
-0.00917538
-0.0195879
-0.0268834
-0.032582
-0.0392765
-0.0483358
-0.0577545
-0.0643323
-0.0701662
-0.0744505
-0.0803696
-0.0863723
-0.0890691
-0.0950904
-0.0999749
-0.101514
-0.105619
-0.109027
-0.11484
-0.121139
-0.124403
-0.121412
-0.124275
-0.117985
-0.0932478
0.156743
1.44611
11.8358
71.8943
206.27
342.49
435.604
487.623
520.577
537.999
539.992
538.328
523.612
491.317
425.091
302.622
157.038
55.026
8.94827
1.27701
0.51162
0.201754
0.110664
0.0671704
0.0635855
0.0586955
0.0603077
0.0692694
0.0662318
0.0662859
0.0663512
0.0613049
0.055734
0.0597181
0.060197
0.0559604
0.0519318
0.049299
0.0478965
0.0458126
0.042158
0.0387666
0.0356927
0.0331344
0.0310713
0.0293239
0.0280038
0.0271037
0.0266072
0.0263493
0.0266046
0.0271758
0.027991
0.0290105
0.0300214
0.0313105
0.0325713
0.0336752
0.0349944
0.0365347
0.0386523
0.0407698
0.0422942
0.0431729
0.0440427
0.0455754
0.0464356
0.0466092
0.0463029
0.0465684
0.043255
0.0384064
0.0345965
0.0252997
0.021072
0.0258369
0.140428
0.84842
5.67851
34.9906
136.748
278.563
386.826
445.948
487.94
505.014
495.415
485.654
428.256
330.369
197.411
81.2648
22.4837
3.95956
1.77479
0.63386
0.184457
0.0949254
0.0827172
0.0801695
0.082233
0.090681
0.0883453
0.0838069
0.0764457
0.0725986
0.069447
0.0618593
0.0549212
0.0501149
0.0475717
0.0450475
0.0421336
0.0382363
0.0335231
0.0296223
0.0280587
0.0276955
0.026714
0.0261765
0.0263271
0.0267995
0.0268874
0.0266877
0.0268372
0.0273034
0.0277788
0.0285009
0.029755
0.0316014
0.033581
0.0360485
0.0380515
0.0387255
0.0389428
0.0405227
0.0436864
0.0469398
0.0488833
0.0491866
0.0499109
0.0491006
0.0472812
0.0458568
0.0438147
0.0356075
0.0268513
0.0179562
0.00339097
0.0014834
0.0325895
0.164687
0.822587
4.65165
29.2011
119.603
253.477
365.323
436.342
474.266
490.585
488.823
469.515
419.001
339.338
212.702
107.173
38.4884
7.67132
3.00548
1.45484
0.445326
0.203118
0.0957857
0.0756809
0.0654448
0.0641925
0.0758941
0.0736371
0.0784946
0.0799285
0.0704991
0.0690015
0.0637859
0.0492865
0.0340475
0.0311453
0.0348845
0.0388781
0.0393654
0.0359361
0.0303755
0.0221421
0.01035
0.0106889
0.0193745
0.02651
0.0311616
0.0319098
0.0304403
0.0293714
0.029909
0.0308131
0.0318313
0.0328071
0.0335
0.0346456
0.0359767
0.0376976
0.0397389
0.0421123
0.0443514
0.0469093
0.0487237
0.0482011
0.0470528
0.0453099
0.0430046
0.0401262
0.0350929
0.0275795
0.0213854
0.0167544
0.00681916
0.0103562
0.0539553
0.296422
1.52898
9.31277
54.9925
181.45
315.65
417.821
476.211
511.119
528.884
530.342
519.909
491.063
420.693
290.795
141.573
45.5097
6.0104
1.41747
0.642148
0.346028
0.257736
0.210006
0.202749
0.189638
0.180326
0.19851
0.194389
0.183925
0.173255
0.166935
0.158252
0.150685
0.141683
0.132808
0.123508
0.114851
0.107434
0.100595
0.0933989
0.0855454
0.0768374
0.0670564
0.0561123
0.0436464
0.0275893
0.00897226
-0.00526331
-0.0171409
-0.0312707
-0.0475885
-0.0656038
-0.0857674
-0.112116
-0.151712
-0.19961
-0.264855
-0.322871
-0.368117
-0.420989
-0.484146
-0.581169
-0.679721
-0.765275
-0.87456
-1.0273
-1.161
-1.2991
-1.50023
-1.66388
-1.83273
-2.09622
-2.28713
-2.49322
-2.60152
-2.76769
2.40903
2.41854
2.37505
2.23071
2.0502
1.85315
1.64893
1.47307
1.29523
1.12618
0.992211
0.858918
0.735381
0.635382
0.550105
0.471848
0.400946
0.340601
0.287751
0.238898
0.194094
0.161051
0.135814
0.113573
0.0942294
0.0768384
0.0596137
0.0405074
0.0213014
0.004865
-0.00812907
-0.017971
-0.0250073
-0.0306446
-0.037046
-0.0453789
-0.0539828
-0.0601326
-0.0656785
-0.06999
-0.0753984
-0.0809103
-0.0837578
-0.0891919
-0.0936838
-0.0956656
-0.0994241
-0.10328
-0.108056
-0.113032
-0.116178
-0.115464
-0.117625
-0.118355
-0.121279
-0.121679
-0.104798
0.0934667
1.32356
7.80777
38.3546
122.843
228.1
310.844
359.484
370.171
352.272
297.277
210.58
115.96
48.5315
8.89771
1.26214
0.805272
0.235563
0.103243
0.0540737
0.0530136
0.0464243
0.0533908
0.053618
0.0565807
0.0638017
0.062085
0.0620465
0.0616767
0.0574316
0.0530066
0.0556704
0.0558683
0.0523181
0.0487447
0.0462708
0.0447696
0.0427262
0.0394535
0.0363325
0.033473
0.0310762
0.0290356
0.0274737
0.0262465
0.0254086
0.0249306
0.0246974
0.0249236
0.0254326
0.0261857
0.0271088
0.0280538
0.0292276
0.0303715
0.0314407
0.0326542
0.0340951
0.036004
0.0378713
0.0392756
0.0401042
0.0409268
0.042188
0.0428727
0.0430209
0.0424833
0.0425196
0.0399781
0.0357079
0.0311328
0.0219214
0.013591
-0.00195242
-0.0126828
-0.00552386
0.125181
0.877558
4.70631
23.4317
77.7022
145.188
222.272
260.241
234.708
212.163
131.97
68.0775
23.749
6.01625
2.71316
1.08146
0.283917
0.0959345
0.0528398
0.05616
0.0693295
0.0741778
0.0778564
0.0845316
0.082696
0.0784755
0.0721306
0.0683231
0.0649239
0.0581711
0.0518276
0.0473243
0.0446965
0.042221
0.0394251
0.0357776
0.0315487
0.0280434
0.0264947
0.0260129
0.025095
0.024625
0.0246869
0.0251149
0.0251454
0.0249913
0.025189
0.0255877
0.0260667
0.0267642
0.0279302
0.0296407
0.031464
0.0337006
0.0355019
0.0361661
0.0365335
0.0380532
0.0408341
0.0438086
0.045548
0.0460422
0.0465703
0.0455719
0.0441874
0.0428509
0.0407644
0.0335418
0.0246484
0.0154696
0.0012426
-0.00660835
-0.00545652
-0.00696358
0.00226669
0.122639
0.763301
3.83114
17.3385
58.7382
126.001
190.307
220.085
216.644
181.454
121.116
71.2284
28.0399
6.46066
4.32944
1.81146
0.682689
0.251613
0.0903373
0.0652796
0.0570395
0.0621
0.0609442
0.0616757
0.0706481
0.0698723
0.0738355
0.0746639
0.067253
0.0648991
0.0593239
0.0464253
0.0332207
0.0300896
0.0329323
0.0363514
0.0367356
0.0337107
0.028631
0.0208394
0.00982733
0.00981201
0.0176518
0.0251406
0.0292341
0.0299763
0.0287881
0.0278073
0.0281142
0.0289646
0.0298788
0.0308967
0.031522
0.0326061
0.0338084
0.035441
0.037312
0.0396324
0.0416164
0.0439783
0.045723
0.0449672
0.0438693
0.0421157
0.0398739
0.0374222
0.0326377
0.0258816
0.0196916
0.0139872
0.00333695
-0.00371661
-0.00893029
-0.00337853
0.0403882
0.274134
1.49442
7.57289
33.9942
108.368
210.517
285.926
325.86
326.115
288.059
209.676
112.375
44.2629
7.46047
1.9257
1.03275
0.376894
0.249444
0.188108
0.192802
0.181205
0.18426
0.176407
0.170646
0.184393
0.181371
0.172161
0.162967
0.156427
0.148396
0.141144
0.132722
0.124539
0.115856
0.107748
0.100801
0.0942467
0.0874538
0.0800549
0.0718636
0.0626638
0.0523771
0.0405982
0.025606
0.00883942
-0.00456092
-0.0161188
-0.0294585
-0.0447826
-0.0618223
-0.0811644
-0.106375
-0.143404
-0.188284
-0.247271
-0.301249
-0.345205
-0.395817
-0.456285
-0.545187
-0.636092
-0.71894
-0.822889
-0.961606
-1.08812
-1.22088
-1.40267
-1.5586
-1.72233
-1.95565
-2.1363
-2.32229
-2.43089
-2.56788
2.22412
2.23396
2.19339
2.06741
1.90373
1.72301
1.53622
1.37142
1.20695
1.05156
0.924714
0.801294
0.687222
0.593681
0.513392
0.440473
0.374792
0.318177
0.268695
0.223245
0.182062
0.151008
0.127062
0.106159
0.0879487
0.0715309
0.0553072
0.0376263
0.020042
0.00490578
-0.00718791
-0.0164374
-0.0231711
-0.0286706
-0.0347476
-0.0424021
-0.0502476
-0.0559847
-0.0612217
-0.0654769
-0.0704251
-0.0754802
-0.078378
-0.0833172
-0.0871529
-0.0892337
-0.0926454
-0.0976779
-0.101211
-0.104408
-0.10863
-0.108681
-0.11098
-0.11243
-0.114656
-0.121966
-0.130993
-0.12892
-0.115318
-0.0326469
0.431195
2.29018
8.16266
20.0544
36.0117
46.246
44.6335
30.9665
11.4056
1.39712
1.39277
0.742992
0.188859
0.0659125
0.0316623
0.0267026
0.0259059
0.0397415
0.041064
0.0485934
0.0499975
0.0530669
0.0587277
0.0578587
0.0577461
0.0571215
0.0535487
0.0499894
0.0517007
0.0516779
0.0486728
0.0455049
0.0431967
0.0416542
0.0396791
0.0367427
0.0338803
0.0312364
0.0290016
0.0270985
0.0256402
0.0244972
0.0237158
0.023259
0.0230476
0.0232462
0.0237009
0.0243921
0.0252288
0.0261067
0.0271719
0.0282171
0.0292322
0.0303429
0.0317022
0.0334
0.035066
0.0363753
0.0371162
0.0379517
0.0389337
0.0395891
0.0395907
0.0391384
0.0388603
0.0363335
0.032087
0.0274739
0.0194576
0.0111764
-0.0039598
-0.0192806
-0.0369008
-0.0511627
-0.0418536
0.0970454
0.661835
3.086
6.40274
14.1315
21.0175
17.8518
11.8347
7.43274
3.84514
2.80408
1.2235
0.363675
0.0992434
0.00957969
0.0161742
0.0340554
0.0485755
0.0631461
0.0691854
0.0730784
0.0783384
0.0768898
0.0730728
0.0675766
0.0638717
0.0603941
0.0543575
0.0486062
0.0444052
0.0417611
0.0393629
0.0366985
0.0333103
0.0295194
0.026367
0.0248676
0.0242916
0.0234494
0.023028
0.0230331
0.0234184
0.0233871
0.0233212
0.0235065
0.0238821
0.0243303
0.0250071
0.0260893
0.0276568
0.029312
0.031376
0.0329532
0.0336745
0.0340602
0.0355601
0.0379741
0.0406817
0.0422103
0.0429094
0.0431248
0.04231
0.0409554
0.0395988
0.0369711
0.030573
0.0221788
0.0129805
-4.8858e-05
-0.00746349
-0.00843397
-0.0159772
-0.0307056
-0.0436704
-0.0485791
-0.000334022
0.229388
1.2101
3.20124
6.70064
10.1639
10.8514
7.56213
3.98732
3.31244
3.1786
1.26282
0.703562
0.25483
0.0780838
0.0292736
0.0257119
0.0436159
0.0507692
0.057821
0.0578151
0.0587652
0.0656003
0.0657214
0.0689185
0.0693568
0.0634728
0.0606157
0.0549363
0.0434897
0.0320355
0.0288394
0.0309316
0.033801
0.0341042
0.0314063
0.0267734
0.0195248
0.00971213
0.00915533
0.0163143
0.0233874
0.0271379
0.0279475
0.0270208
0.0261379
0.0264586
0.027081
0.0279506
0.0289049
0.029492
0.0304904
0.0315757
0.0331307
0.0348759
0.0370005
0.0388397
0.0410405
0.042528
0.041731
0.0406508
0.0388464
0.0368026
0.0343217
0.029536
0.0237305
0.0176794
0.0115945
0.00221523
-0.00508116
-0.0121631
-0.0181187
-0.0267627
-0.0366541
0.00740431
0.262919
1.30723
4.96198
13.6519
26.944
39.2916
40.8338
30.5814
13.1893
4.14592
3.61203
1.74504
0.478881
0.219095
0.161334
0.16079
0.151448
0.169828
0.166627
0.170641
0.164619
0.160701
0.17089
0.168471
0.16033
0.15243
0.145901
0.138488
0.131605
0.123785
0.116225
0.10817
0.10061
0.0941188
0.0878949
0.0815106
0.0745746
0.0669055
0.0582965
0.0486746
0.0376128
0.0237187
0.00857834
-0.00395903
-0.015069
-0.0276083
-0.0419431
-0.0579825
-0.0763991
-0.100344
-0.134811
-0.176606
-0.229972
-0.280005
-0.322249
-0.370343
-0.427769
-0.509103
-0.592888
-0.672198
-0.770295
-0.896403
-1.01535
-1.14152
-1.30625
-1.45361
-1.61034
-1.8176
-1.98676
-2.15533
-2.26105
-2.37578
2.05599
2.06052
2.02029
1.90717
1.7588
1.59368
1.42334
1.2701
1.11871
0.976349
0.857358
0.743499
0.638596
0.55161
0.476583
0.408973
0.34835
0.29561
0.249553
0.207487
0.169741
0.140758
0.118212
0.0986782
0.0816396
0.0662447
0.051073
0.0347795
0.0187315
0.00485396
-0.00633951
-0.0149788
-0.021368
-0.0266686
-0.0323948
-0.0394036
-0.0465386
-0.0518731
-0.0567926
-0.0609152
-0.0654571
-0.0700926
-0.0729729
-0.0774278
-0.0809498
-0.0830078
-0.0860031
-0.0919999
-0.0936693
-0.0966454
-0.101675
-0.10229
-0.103561
-0.106357
-0.108192
-0.113625
-0.121839
-0.124297
-0.132488
-0.145984
-0.144913
-0.142052
-0.141329
-0.143552
-0.145981
-0.140808
-0.135058
0.0622484
0.154667
0.0826854
0.0312456
-0.00333793
-0.0231591
-0.0158605
-0.0022473
0.0125391
0.0205223
0.0347037
0.0378846
0.0445484
0.0464064
0.0493789
0.0538888
0.0535681
0.0534299
0.0526715
0.049657
0.0467585
0.0477914
0.0476011
0.045035
0.0422318
0.040093
0.0385535
0.0366671
0.0340309
0.0314157
0.0289843
0.0269119
0.0251435
0.0237923
0.022734
0.0220061
0.0215749
0.0213774
0.0215529
0.0219489
0.0225756
0.0233302
0.0241241
0.0250955
0.0260308
0.0269682
0.0280014
0.0292234
0.0307486
0.0322143
0.0333881
0.0340828
0.034846
0.0356511
0.0362454
0.0361658
0.0358103
0.0353489
0.0329539
0.0292245
0.024473
0.0171906
0.00849019
-0.00517149
-0.0195087
-0.0367065
-0.0568194
-0.0782237
-0.0972946
-0.113286
-0.133248
-0.105407
-0.134816
-0.153102
0.17765
-0.094937
0.427867
0.281775
0.220123
0.0419162
-0.0483232
-0.043368
-0.0234687
0.0061135
0.0285777
0.0440002
0.057633
0.0640684
0.0679533
0.0721741
0.0710401
0.0676406
0.0628598
0.0593127
0.0558678
0.0504801
0.0452789
0.0413781
0.0387911
0.0364841
0.0339581
0.0308467
0.0274491
0.0246199
0.0231885
0.0225436
0.0217851
0.0213961
0.0213626
0.0215318
0.0216238
0.0216334
0.0217992
0.0221452
0.022554
0.023214
0.0241996
0.0256275
0.0271307
0.028978
0.0303966
0.0310992
0.0315599
0.032979
0.0351007
0.0375125
0.0388746
0.0396017
0.0396531
0.0389807
0.0377411
0.0363478
0.0337086
0.0275145
0.0197768
0.0104199
-0.00129078
-0.00824956
-0.00996303
-0.0168008
-0.0312843
-0.0471515
-0.0642249
-0.0847361
-0.0970686
-0.11169
-0.118495
-0.123838
-0.118805
-0.116327
0.0549983
0.186779
0.176378
0.265258
0.0822566
0.0122529
-0.0254481
-0.0236429
-0.00211116
0.0170929
0.0380372
0.0470065
0.0536245
0.054263
0.0553625
0.0606548
0.0613194
0.0639135
0.0640884
0.0593447
0.0562094
0.0506145
0.0404799
0.0305479
0.0273985
0.0288859
0.0312321
0.0314406
0.0290262
0.0248137
0.0182096
0.00952032
0.00877795
0.0151557
0.0215317
0.0250068
0.0258655
0.0251505
0.0243781
0.0245531
0.0251434
0.0259848
0.0268084
0.027423
0.0283249
0.0293146
0.0307526
0.0323945
0.0343135
0.0359558
0.0379618
0.0392081
0.0384328
0.0373848
0.0355476
0.0337467
0.0312209
0.0266706
0.0213798
0.0154491
0.00934922
0.000859267
-0.00611947
-0.0122848
-0.0180331
-0.0296188
-0.0501979
-0.0659323
-0.0806672
-0.0988141
-0.109125
-0.110868
-0.113364
-0.113413
-0.0896952
0.475395
0.592232
0.588501
0.445365
0.226397
0.10273
0.104625
0.112397
0.134996
0.13728
0.15479
0.154269
0.157842
0.153025
0.150285
0.157775
0.155726
0.148595
0.141718
0.135404
0.128557
0.122075
0.114853
0.107875
0.10045
0.0934384
0.0873953
0.0815367
0.0755682
0.0691025
0.0619614
0.0539516
0.0450009
0.0346769
0.0218855
0.0082166
-0.00343916
-0.0139997
-0.0257239
-0.0390675
-0.0540812
-0.071482
-0.0940487
-0.125963
-0.164644
-0.212894
-0.259049
-0.299239
-0.344616
-0.3987
-0.472914
-0.549955
-0.625114
-0.716947
-0.83155
-0.942636
-1.06141
-1.21067
-1.34885
-1.4968
-1.68149
-1.83848
-1.99102
-2.0917
-2.18836
1.89015
1.88999
1.85039
1.74893
1.61505
1.46503
1.31039
1.16904
1.03047
0.900613
0.790041
0.685551
0.589565
0.509219
0.439661
0.377344
0.321665
0.272903
0.230322
0.191622
0.157169
0.13032
0.109268
0.0911358
0.0753041
0.0609761
0.046896
0.031976
0.0173766
0.00472106
-0.00557366
-0.0135861
-0.0195955
-0.0246432
-0.0299964
-0.0363885
-0.0428565
-0.0477924
-0.0523813
-0.0563192
-0.0604869
-0.0647375
-0.0675463
-0.0716519
-0.074912
-0.0769853
-0.0796826
-0.0850331
-0.085717
-0.0892551
-0.0939253
-0.0956179
-0.0951756
-0.0997088
-0.101339
-0.105619
-0.113439
-0.116203
-0.123265
-0.134253
-0.134287
-0.132691
-0.13205
-0.133636
-0.134878
-0.128969
-0.124944
-0.121646
-0.110996
-0.090178
-0.0764283
-0.0593103
-0.0460846
-0.0265349
-0.00711881
0.00937435
0.0184454
0.0309922
0.0348671
0.0406953
0.0427894
0.0455843
0.0492335
0.0492633
0.0491163
0.0483064
0.0457538
0.0433665
0.043923
0.0436075
0.0414033
0.038932
0.0369628
0.035462
0.033683
0.0313173
0.0289404
0.0267179
0.0248088
0.0231684
0.0219321
0.0209589
0.0202863
0.0198807
0.0196988
0.019848
0.0201933
0.0207535
0.0214253
0.0221403
0.0230069
0.0238417
0.0246908
0.0256265
0.0267061
0.0280545
0.0293202
0.0303216
0.0309628
0.0315777
0.0322537
0.0326606
0.0325665
0.0321367
0.0314892
0.0292521
0.0258306
0.0211748
0.0146338
0.00625329
-0.00574989
-0.0195181
-0.0355097
-0.0541042
-0.0744711
-0.0940657
-0.112741
-0.132566
-0.137199
-0.147073
-0.151822
-0.127134
-0.134531
-0.107582
-0.108455
-0.107792
-0.0989807
-0.0860092
-0.0545479
-0.0253148
0.00320142
0.024735
0.0398746
0.0524536
0.0588926
0.0626611
0.0660841
0.0652138
0.0622016
0.0580305
0.0546951
0.0513577
0.0465522
0.0418686
0.038274
0.0357855
0.0335915
0.0312195
0.0283841
0.0253462
0.0228133
0.0214628
0.0207831
0.0200955
0.0197403
0.0196537
0.0195363
0.0198429
0.0198942
0.0200629
0.0203835
0.020772
0.0213891
0.0222787
0.0235728
0.0249263
0.0265588
0.0278078
0.0284837
0.0289692
0.0302578
0.032109
0.0341997
0.0354352
0.0360467
0.0360412
0.0354005
0.0342378
0.0327617
0.0301168
0.0243903
0.0173603
0.00841371
-0.00201303
-0.00876517
-0.0112104
-0.0171666
-0.0304178
-0.0452559
-0.0624366
-0.0818199
-0.0958637
-0.109752
-0.119102
-0.123173
-0.11842
-0.11345
-0.110263
-0.100652
-0.100544
-0.0889219
-0.0840522
-0.0746697
-0.0560209
-0.0339444
-0.0067087
0.0143076
0.0339033
0.0432562
0.04938
0.0504271
0.0516233
0.0557781
0.0567363
0.0588719
0.0588399
0.0549381
0.0517151
0.0463481
0.0374122
0.0288095
0.0257849
0.0267919
0.0286551
0.0287557
0.0265992
0.0227786
0.0168819
0.00929251
0.0085154
0.014063
0.0196701
0.0228564
0.0237348
0.0231793
0.0225259
0.0222517
0.0231335
0.0239366
0.0246715
0.0252718
0.0260913
0.0270074
0.0282917
0.0297875
0.031532
0.0329532
0.0346496
0.035763
0.0349009
0.0338864
0.0322039
0.0304547
0.0279661
0.0236799
0.0189304
0.0132618
0.00739488
-0.000164824
-0.00692048
-0.0124387
-0.0174249
-0.0287517
-0.0482678
-0.0640749
-0.0781265
-0.0948038
-0.104456
-0.106571
-0.108548
-0.107783
-0.108747
-0.0858034
-0.0495237
-0.033668
-0.0256678
0.00840958
0.0452119
0.0775214
0.0976095
0.12136
0.126471
0.141392
0.142273
0.145305
0.141464
0.139506
0.144962
0.143155
0.136934
0.130884
0.124913
0.118606
0.112552
0.105919
0.0994988
0.0926961
0.0862352
0.0806374
0.0751708
0.0696264
0.0636376
0.0570303
0.0496262
0.0413523
0.0317874
0.0200996
0.00777586
-0.00298772
-0.0129178
-0.0238092
-0.0361573
-0.0501187
-0.0664236
-0.0875164
-0.11689
-0.15245
-0.195984
-0.238331
-0.276187
-0.318662
-0.369162
-0.436636
-0.507204
-0.577721
-0.663011
-0.766937
-0.869937
-0.980711
-1.11576
-1.24423
-1.38223
-1.54698
-1.69139
-1.82899
-1.92319
-2.00509
1.72431
1.72099
1.68315
1.5925
1.47236
1.337
1.19742
1.06819
0.942228
0.824466
0.722718
0.627457
0.540182
0.466548
0.402615
0.345588
0.294776
0.250062
0.211
0.175652
0.14438
0.119714
0.100237
0.0835358
0.0689441
0.0557217
0.0427653
0.0292124
0.0159831
0.00451766
-0.00488055
-0.0122522
-0.0178496
-0.0225992
-0.0275599
-0.0333592
-0.0391954
-0.043736
-0.0479854
-0.0516993
-0.0555193
-0.0594062
-0.062089
-0.0658143
-0.0688882
-0.0710774
-0.0732203
-0.077125
-0.0784915
-0.0822075
-0.0848603
-0.0869006
-0.0875068
-0.0930826
-0.0941699
-0.0979383
-0.105063
-0.108184
-0.114147
-0.12287
-0.123118
-0.12213
-0.121707
-0.123973
-0.125177
-0.121629
-0.118385
-0.11865
-0.112365
-0.0939915
-0.0787995
-0.0602951
-0.0451537
-0.0258129
-0.00761137
0.00788295
0.0168756
0.0277966
0.0319193
0.036991
0.0391673
0.0417374
0.0447221
0.0449615
0.0448128
0.0440051
0.0418394
0.0398559
0.040082
0.0396803
0.0377808
0.0356094
0.0338112
0.032378
0.0307208
0.0286035
0.0264571
0.0244397
0.0226947
0.0211883
0.0200617
0.0191727
0.0185563
0.0181772
0.0180099
0.0181343
0.0184332
0.0189284
0.01952
0.0201606
0.0209222
0.0216646
0.0224252
0.0232547
0.0242176
0.0253823
0.0264748
0.0273305
0.0278798
0.0283825
0.0288868
0.0291209
0.0289715
0.028439
0.0276056
0.0254752
0.0221887
0.0177257
0.0116676
0.00380283
-0.00718683
-0.0199617
-0.0348414
-0.0517818
-0.0706827
-0.088833
-0.106725
-0.124749
-0.133095
-0.141764
-0.142919
-0.132402
-0.132253
-0.131171
-0.125788
-0.119271
-0.10277
-0.082121
-0.0521994
-0.0246179
0.00151396
0.0216999
0.036008
0.0474597
0.0536607
0.0572428
0.0600651
0.0593884
0.0567483
0.053109
0.0500145
0.046858
0.0425694
0.0383857
0.0351043
0.0327431
0.0306859
0.0284867
0.0259156
0.0232147
0.020955
0.0196997
0.0190118
0.0183928
0.0180678
0.017961
0.0178359
0.0181032
0.0181844
0.0183386
0.0186334
0.0189867
0.0195626
0.0203637
0.021528
0.0227306
0.0241787
0.0252575
0.025909
0.0263724
0.0275325
0.0291287
0.0309398
0.031992
0.03252
0.0323788
0.0317328
0.0305148
0.0289824
0.0263144
0.0211429
0.0146014
0.00626082
-0.00300216
-0.00920951
-0.0120154
-0.0177959
-0.0296979
-0.0433655
-0.0596418
-0.0775073
-0.0921271
-0.105273
-0.114224
-0.117921
-0.113863
-0.108944
-0.107091
-0.108341
-0.110092
-0.107344
-0.0930853
-0.0780763
-0.0561239
-0.0334367
-0.00789281
0.0123857
0.0302852
0.0394492
0.0450527
0.0463654
0.0475934
0.0509119
0.0519914
0.0537356
0.053559
0.0503217
0.0471575
0.0421256
0.034285
0.0268507
0.0240005
0.0246331
0.0260769
0.0260862
0.0241584
0.0207164
0.01548
0.00895713
0.00826024
0.0129792
0.0178334
0.0206822
0.0215738
0.0211689
0.0206318
0.0202319
0.0211262
0.0218732
0.0225435
0.0231014
0.0238488
0.0246845
0.0258368
0.0271688
0.028695
0.0299459
0.0313706
0.0322543
0.0313818
0.0303263
0.0286965
0.0268782
0.0245327
0.0205918
0.016294
0.0108519
0.00535039
-0.0013318
-0.00762913
-0.0126087
-0.0171756
-0.0280225
-0.0460689
-0.0613423
-0.0748577
-0.089854
-0.0990513
-0.101148
-0.102643
-0.10266
-0.103249
-0.101975
-0.0956866
-0.08629
-0.0603156
-0.00980842
0.0326675
0.0666957
0.0885353
0.110303
0.116153
0.128733
0.130409
0.132916
0.129876
0.128447
0.132375
0.130736
0.125324
0.11997
0.114417
0.108637
0.103031
0.0969794
0.0911032
0.0849119
0.0790014
0.0738503
0.068796
0.0636845
0.058179
0.0521111
0.0453189
0.0377275
0.028945
0.0183566
0.00727269
-0.00259275
-0.0118277
-0.0218677
-0.0332132
-0.046096
-0.061235
-0.0807727
-0.107617
-0.140069
-0.179203
-0.217806
-0.253096
-0.292503
-0.339228
-0.400277
-0.464574
-0.530069
-0.608608
-0.702488
-0.797223
-0.899573
-1.02136
-1.13972
-1.26697
-1.41374
-1.54543
-1.6689
-1.75571
-1.82531
1.55885
1.5536
1.5181
1.43764
1.33063
1.20951
1.0845
0.967513
0.853969
0.747991
0.655355
0.569219
0.490494
0.423631
0.365443
0.31371
0.267712
0.227096
0.19159
0.15958
0.131402
0.108957
0.0911228
0.0758829
0.0625612
0.0504786
0.0386725
0.026466
0.014556
0.00425332
-0.00425143
-0.0109698
-0.0161272
-0.0205401
-0.025092
-0.0303181
-0.0355532
-0.0396988
-0.0436012
-0.0470602
-0.0505525
-0.0540953
-0.0566012
-0.0598536
-0.0630222
-0.0650385
-0.0674793
-0.0692402
-0.0717496
-0.0751433
-0.077209
-0.0782937
-0.0801293
-0.0856186
-0.0870845
-0.0905567
-0.0967565
-0.0998973
-0.104962
-0.112069
-0.112367
-0.111575
-0.111207
-0.113018
-0.113906
-0.111104
-0.108649
-0.108236
-0.102088
-0.0863901
-0.0720704
-0.0556233
-0.0413322
-0.0236958
-0.00714658
0.00701681
0.015522
0.024903
0.0289891
0.0333896
0.0355399
0.0378608
0.0403198
0.0406721
0.0405256
0.0397539
0.0379163
0.0362585
0.0362612
0.0358078
0.0341699
0.032271
0.0306446
0.0293012
0.027776
0.0258912
0.023967
0.0221516
0.0205703
0.0191854
0.0181801
0.0173746
0.0168143
0.0164618
0.0163076
0.0164049
0.0166596
0.0170875
0.0176004
0.0181634
0.0188209
0.0194687
0.0201304
0.0208563
0.021691
0.0226819
0.0236062
0.0243202
0.02477
0.0251703
0.0255104
0.0256322
0.0253716
0.0247919
0.0238238
0.0217753
0.0186569
0.0144349
0.00880746
0.00144104
-0.0085661
-0.0201905
-0.0339548
-0.0493313
-0.0666522
-0.0831884
-0.0993992
-0.115789
-0.124466
-0.132382
-0.131945
-0.124291
-0.123989
-0.122511
-0.117212
-0.11004
-0.0948821
-0.0751675
-0.0483635
-0.0229647
0.000573102
0.0190171
0.0322255
0.0425471
0.0483962
0.0517452
0.0541204
0.0535894
0.0513038
0.0481432
0.0453048
0.0423767
0.0385768
0.0348576
0.0318884
0.0296911
0.0277823
0.0257633
0.0234551
0.0210654
0.0190624
0.0179085
0.017234
0.016682
0.0163839
0.0162759
0.0162956
0.016378
0.0164718
0.0166093
0.0168753
0.0171885
0.0177166
0.0184266
0.0194543
0.0205191
0.0217767
0.0227145
0.0233089
0.0237478
0.0247779
0.0261324
0.0276681
0.0285492
0.0289568
0.0287279
0.0280506
0.0268331
0.0252812
0.0226408
0.0178738
0.0118211
0.00423215
-0.00400154
-0.00966157
-0.0127337
-0.018181
-0.0287951
-0.0414962
-0.0565154
-0.0730149
-0.0869128
-0.0991943
-0.107489
-0.110828
-0.107473
-0.10269
-0.100755
-0.102255
-0.103048
-0.100972
-0.0876184
-0.073034
-0.0525857
-0.0312084
-0.00802616
0.0108056
0.026837
0.0355053
0.0406189
0.0420931
0.0433249
0.0460113
0.0471325
0.0485448
0.0483075
0.045606
0.0425996
0.0379692
0.0311212
0.0247157
0.0220782
0.0224332
0.0235268
0.0234618
0.0217464
0.0186736
0.0141185
0.00850399
0.00792386
0.0118511
0.0160373
0.0185507
0.0194375
0.0191518
0.0187428
0.018575
0.0191662
0.0198319
0.0204077
0.0209329
0.0215945
0.0223388
0.0233598
0.0245305
0.0258378
0.0269183
0.0280982
0.0287363
0.0278873
0.0267868
0.0251772
0.0234157
0.0211262
0.017483
0.0135394
0.00855129
0.00359161
-0.0024508
-0.00826452
-0.0127483
-0.0170346
-0.0273753
-0.0439756
-0.0584373
-0.0710965
-0.0842412
-0.09269
-0.0946542
-0.0955071
-0.0971169
-0.0970282
-0.097414
-0.0929081
-0.08345
-0.0580187
-0.0121802
0.0268482
0.0588551
0.0793787
0.100251
0.105864
0.116477
0.118579
0.120638
0.118247
0.117175
0.119954
0.118442
0.113748
0.109003
0.103912
0.0986516
0.0935114
0.0880303
0.0826912
0.0771
0.0717391
0.0670382
0.0624123
0.0577421
0.0527259
0.0472027
0.0410275
0.0341247
0.026143
0.016636
0.00671816
-0.00224407
-0.0107326
-0.0199026
-0.0302368
-0.0420154
-0.0559274
-0.0738413
-0.09817
-0.127533
-0.162518
-0.197435
-0.229966
-0.266158
-0.308959
-0.36384
-0.422023
-0.482208
-0.553832
-0.63815
-0.724478
-0.818079
-0.927331
-1.0353
-1.1513
-1.28155
-1.40049
-1.51055
-1.58938
-1.64849
1.39392
1.38754
1.35492
1.28418
1.18978
1.08253
0.971651
0.866977
0.765689
0.671237
0.587921
0.510841
0.440539
0.380497
0.328147
0.281716
0.240499
0.204014
0.172096
0.143411
0.118262
0.098067
0.0819327
0.0681816
0.0561572
0.0452441
0.0346094
0.023717
0.0130997
0.0039364
-0.00367831
-0.00973285
-0.0144257
-0.0184692
-0.0225983
-0.0272673
-0.0319268
-0.0356772
-0.0392255
-0.0424079
-0.0455832
-0.0487999
-0.0511194
-0.0541389
-0.0570228
-0.0591253
-0.0615878
-0.0623549
-0.0651764
-0.0680565
-0.0705301
-0.0714243
-0.0734751
-0.0769694
-0.0799604
-0.0831649
-0.0885248
-0.0913421
-0.0958569
-0.101695
-0.101864
-0.100634
-0.100133
-0.101458
-0.101941
-0.0995374
-0.0976419
-0.0966657
-0.0907591
-0.0773775
-0.0647351
-0.0503917
-0.0373517
-0.0211707
-0.00630256
0.0064219
0.0142282
0.0222006
0.0260693
0.0298648
0.0319103
0.0339702
0.0359999
0.0363986
0.0362554
0.03554
0.033984
0.0325931
0.0324525
0.0319767
0.0305674
0.028919
0.0274627
0.0262268
0.024842
0.023177
0.0214687
0.0198529
0.0184362
0.0171166
0.0162903
0.0155686
0.0150654
0.0147407
0.0146001
0.0146701
0.014885
0.0152478
0.0156829
0.0161702
0.0167223
0.0172773
0.0178396
0.0184517
0.0191596
0.0199731
0.0207289
0.0212954
0.0216324
0.021908
0.0220986
0.0221008
0.0217428
0.0210933
0.0200281
0.0180484
0.0150991
0.0111251
0.00591262
-0.000919531
-0.00993194
-0.0204221
-0.0327562
-0.0465864
-0.0620156
-0.0767832
-0.0913249
-0.105632
-0.113761
-0.120717
-0.119538
-0.113967
-0.113
-0.111135
-0.106197
-0.0991685
-0.0855513
-0.0673604
-0.0436797
-0.0208829
-4.20495e-05
0.0165102
0.0285401
0.0377462
0.0431669
0.0462566
0.0482651
0.0478514
0.0458867
0.0431533
0.0405885
0.0379141
0.0345717
0.0312908
0.0286339
0.0266206
0.0248742
0.0230449
0.0209939
0.0188968
0.017135
0.0160888
0.0154483
0.0149552
0.0146857
0.0145705
0.0145382
0.0146466
0.0147399
0.0148645
0.0151025
0.0153792
0.0158512
0.0164704
0.0173624
0.0182906
0.019363
0.0201603
0.0206868
0.0210835
0.0219743
0.0231032
0.0243631
0.0250882
0.0253415
0.0250395
0.0243112
0.0230924
0.0215125
0.0189198
0.0145039
0.00892379
0.0020781
-0.00514408
-0.0102251
-0.0133643
-0.0184319
-0.0278143
-0.0392371
-0.0528882
-0.0677716
-0.0805576
-0.091699
-0.0990915
-0.101857
-0.0987156
-0.0946588
-0.0928466
-0.0941684
-0.0945156
-0.0920801
-0.0802001
-0.0663818
-0.0478613
-0.0283569
-0.00774
0.0093265
0.0235077
0.0315475
0.0361885
0.0377359
0.0389513
0.0411457
0.0422437
0.0433899
0.0431236
0.0408536
0.038066
0.0338708
0.0279335
0.0224379
0.0200444
0.0201952
0.0210042
0.0208858
0.0193671
0.0166503
0.0127389
0.0079039
0.00745983
0.0107083
0.0142853
0.0164758
0.0173184
0.0171286
0.0168084
0.0165706
0.0171682
0.0177545
0.0182597
0.0187331
0.0193107
0.0199654
0.0208459
0.0218484
0.0229634
0.0238529
0.0247769
0.025213
0.0243421
0.0232108
0.0216293
0.0199397
0.0176902
0.0143732
0.0107522
0.0062292
0.00173299
-0.00360061
-0.00881835
-0.0128123
-0.0168665
-0.0265493
-0.041552
-0.0549199
-0.0664982
-0.0778742
-0.0853307
-0.0869277
-0.0869724
-0.0889844
-0.0890709
-0.0890552
-0.0846507
-0.0752501
-0.0517589
-0.0119518
0.0219616
0.0506529
0.0693602
0.0896702
0.0954599
0.104531
0.106789
0.108465
0.106589
0.105751
0.107667
0.10626
0.102201
0.0980043
0.0933987
0.0886531
0.0839917
0.0790724
0.0742665
0.0692641
0.0644509
0.0602048
0.0560197
0.0517988
0.0472771
0.0423038
0.0367498
0.0305412
0.023371
0.0149182
0.00611985
-0.00193339
-0.0096346
-0.0179167
-0.02723
-0.03788
-0.050512
-0.0667443
-0.08857
-0.114869
-0.145906
-0.177186
-0.206801
-0.23965
-0.278409
-0.327331
-0.37951
-0.434152
-0.498755
-0.573882
-0.651702
-0.736311
-0.833566
-0.930944
-1.03538
-1.15024
-1.25649
-1.35371
-1.4242
-1.47421
1.22941
1.22263
1.19335
1.13194
1.04974
0.955999
0.858906
0.76656
0.677388
0.594252
0.520405
0.452337
0.390356
0.337174
0.290733
0.249614
0.213157
0.180828
0.152523
0.127152
0.10498
0.0870588
0.0726733
0.0604366
0.0497339
0.0400159
0.03057
0.0209642
0.0116212
0.00357519
-0.00315322
-0.00853481
-0.0127419
-0.0163887
-0.0200831
-0.0242083
-0.0283132
-0.0316672
-0.034856
-0.0377454
-0.0406134
-0.0435267
-0.0456785
-0.0484749
-0.0511287
-0.0533423
-0.0548412
-0.0565028
-0.0584171
-0.0610182
-0.0637627
-0.0649006
-0.0671875
-0.0688775
-0.0730597
-0.0758354
-0.0802897
-0.0828261
-0.0867804
-0.0914602
-0.0914968
-0.0900213
-0.0890607
-0.0898921
-0.0899745
-0.0878233
-0.0861055
-0.0847381
-0.0792545
-0.0679118
-0.0572059
-0.0450079
-0.0335468
-0.0190057
-0.00580381
0.00594314
0.0129435
0.0196291
0.0231579
0.0263962
0.0282782
0.0300733
0.0317432
0.0321416
0.0320033
0.031355
0.0300428
0.0288759
0.0286512
0.0281774
0.0269716
0.0255531
0.0242659
0.0231521
0.021914
0.0204607
0.0189636
0.0175449
0.0162984
0.0152474
0.0144024
0.013758
0.0133108
0.0130154
0.0128859
0.0129318
0.0131069
0.0134068
0.0137667
0.0141762
0.0146292
0.0150908
0.0155535
0.0160537
0.0166347
0.017283
0.0178747
0.0183
0.0185184
0.0186728
0.0187215
0.0186036
0.0181501
0.0174262
0.0162805
0.0143492
0.0115504
0.00782404
0.00301407
-0.00324433
-0.0113283
-0.0207272
-0.0317195
-0.0438984
-0.057358
-0.0701899
-0.0828052
-0.0948983
-0.102038
-0.107747
-0.106163
-0.101952
-0.100492
-0.0987323
-0.0941873
-0.0875644
-0.0755297
-0.0592036
-0.0386684
-0.0186378
-0.000437357
0.0141887
0.0249557
0.0330646
0.0379763
0.0407704
0.0424696
0.0421426
0.0404718
0.038124
0.0358465
0.0334523
0.0305385
0.0276829
0.0253397
0.0235263
0.0219568
0.020328
0.0185276
0.0167089
0.0151771
0.0142452
0.0136543
0.0132205
0.0129796
0.012874
0.0129154
0.0129294
0.0130171
0.0131224
0.0133296
0.0135657
0.0139781
0.0145105
0.0152719
0.0160606
0.0169624
0.017623
0.0180743
0.0184146
0.0191652
0.020084
0.0210973
0.0216513
0.0217643
0.0213761
0.0206
0.0193628
0.0177562
0.0152594
0.0111559
0.00603243
-9.30656e-05
-0.0064134
-0.0109412
-0.0139466
-0.0186168
-0.026776
-0.0368979
-0.0489671
-0.0620332
-0.0733982
-0.0831304
-0.0894491
-0.0915912
-0.0885397
-0.0853099
-0.0837259
-0.0847924
-0.0848085
-0.082142
-0.071658
-0.0590338
-0.0426161
-0.0252556
-0.00721051
0.00795581
0.0203687
0.0276424
0.031806
0.0333464
0.0344953
0.0362998
0.0373134
0.0382445
0.037966
0.0360608
0.0335347
0.0298022
0.0247081
0.0200358
0.0179004
0.0179052
0.0184912
0.01834
0.017009
0.0146419
0.0113016
0.00721912
0.00686368
0.00953272
0.0125448
0.0144357
0.0152148
0.0151046
0.0148663
0.014856
0.015171
0.0156716
0.0161199
0.0165252
0.0170203
0.0175828
0.0183286
0.0191687
0.0200864
0.0207989
0.0214946
0.0217182
0.0208329
0.0196714
0.0181193
0.0164891
0.0142914
0.0112588
0.00793545
0.003881
-0.000176216
-0.00484097
-0.00945971
-0.0130029
-0.0168567
-0.0258045
-0.0391396
-0.0511086
-0.0613633
-0.0710374
-0.0773849
-0.0784216
-0.07739
-0.0796734
-0.0796086
-0.0790935
-0.074887
-0.0658229
-0.0451096
-0.0116308
0.0162121
0.0417563
0.0600747
0.0778416
0.0849833
0.0928232
0.095029
0.0963683
0.0948906
0.0942035
0.0954719
0.0941612
0.0906662
0.0869783
0.0828689
0.0786371
0.0744654
0.0701012
0.0658276
0.0614045
0.0571375
0.0533521
0.0496181
0.0458542
0.0418321
0.0374134
0.0324845
0.0269758
0.0206218
0.0131957
0.00548514
-0.00165333
-0.00853478
-0.0159123
-0.0241948
-0.0336939
-0.0450003
-0.0595028
-0.0788379
-0.102101
-0.129348
-0.157034
-0.183604
-0.213001
-0.247622
-0.290755
-0.337004
-0.385915
-0.443421
-0.509653
-0.5789
-0.654338
-0.74
-0.826643
-0.919336
-1.01967
-1.11334
-1.19821
-1.26015
-1.30207
1.06521
1.05871
1.03315
0.980776
0.910415
0.829876
0.74627
0.666245
0.589066
0.517086
0.45281
0.39372
0.33998
0.293689
0.253211
0.217416
0.185706
0.15755
0.132878
0.110813
0.0915779
0.0759487
0.0633523
0.0526529
0.0432931
0.034792
0.0265481
0.0182102
0.010124
0.00317488
-0.00267104
-0.00737187
-0.0110747
-0.0143017
-0.017551
-0.0211429
-0.0247109
-0.0276674
-0.0304933
-0.0330785
-0.0356447
-0.0382651
-0.0402417
-0.0426699
-0.0450321
-0.0469025
-0.0485521
-0.0502051
-0.0516794
-0.0540081
-0.0573058
-0.0575779
-0.0595052
-0.0616188
-0.0661284
-0.0685633
-0.072431
-0.0743792
-0.077713
-0.0812701
-0.0810585
-0.0795358
-0.0781877
-0.0784704
-0.0781222
-0.0761293
-0.0743857
-0.0728344
-0.0679224
-0.0584176
-0.0493162
-0.0389658
-0.0291681
-0.0171596
-0.00596537
0.00526856
0.0115988
0.0171721
0.0202734
0.0229814
0.0246521
0.0261776
0.027535
0.0278996
0.0277655
0.0271892
0.0260911
0.0251168
0.0248516
0.0244006
0.0233798
0.0221752
0.0210581
0.0200764
0.0189921
0.0177442
0.0164534
0.0152287
0.0141511
0.0133616
0.0125057
0.0119377
0.0115448
0.0112781
0.0111576
0.0111797
0.011314
0.0115509
0.0118362
0.0121652
0.0125214
0.0128871
0.0132483
0.0136363
0.0140887
0.0145775
0.0150112
0.0152982
0.0153969
0.0154276
0.0153401
0.0150993
0.0145478
0.0137551
0.0125485
0.0106642
0.0080205
0.00455469
0.000144556
-0.00549763
-0.0126273
-0.0209295
-0.0304804
-0.0410564
-0.0525138
-0.0633347
-0.0739367
-0.0838072
-0.089697
-0.0941021
-0.0924103
-0.0890406
-0.0873348
-0.0857872
-0.0816869
-0.0756971
-0.0653066
-0.051055
-0.0335559
-0.0163025
-0.000668811
0.0120146
0.0214426
0.0284719
0.0328203
0.0352911
0.0367235
0.0364666
0.035067
0.0330796
0.0310982
0.0289991
0.0265009
0.0240527
0.0220207
0.0204244
0.0190427
0.0176183
0.0160658
0.0145117
0.0131992
0.0123852
0.0118542
0.0114785
0.0112666
0.01117
0.0112502
0.0112073
0.0112844
0.0113704
0.0115461
0.0117399
0.0120883
0.0125298
0.0131622
0.0138128
0.0145496
0.0150791
0.0154455
0.0157167
0.016322
0.0170389
0.01782
0.0181978
0.0181758
0.0177024
0.0168778
0.0156361
0.0140104
0.0115582
0.00783629
0.00319984
-0.00221112
-0.00766221
-0.0116138
-0.0144093
-0.0185639
-0.0255561
-0.034342
-0.0447338
-0.0559025
-0.0656271
-0.0738022
-0.0789533
-0.0804696
-0.0776974
-0.0750494
-0.0736994
-0.0744866
-0.0742642
-0.0716084
-0.0625039
-0.0513606
-0.0371089
-0.0220121
-0.00649001
0.00667392
0.0173778
0.023779
0.0274532
0.028918
0.0299711
0.0314483
0.0323563
0.03311
0.032846
0.0312578
0.0290281
0.0257769
0.0214639
0.017537
0.0156732
0.0155849
0.0159976
0.0158292
0.0146823
0.0126523
0.00983727
0.00645038
0.00615766
0.00832582
0.0108265
0.0124374
0.0131386
0.0130842
0.0129157
0.0130705
0.0131838
0.0135908
0.0139641
0.014309
0.0147196
0.0151832
0.0157947
0.0164728
0.0171958
0.0177305
0.0182049
0.0182295
0.0173236
0.0161474
0.0146336
0.0130679
0.0109695
0.0082292
0.00521634
0.0016706
-0.00184847
-0.00595697
-0.00997605
-0.013085
-0.0167054
-0.0248284
-0.0364509
-0.0468295
-0.0556714
-0.0636896
-0.0688293
-0.0692523
-0.0669427
-0.0694822
-0.069332
-0.0685041
-0.0644435
-0.0559073
-0.038843
-0.0113504
0.0123614
0.0343008
0.0514041
0.0673225
0.0745569
0.0813151
0.083311
0.0843515
0.0831747
0.0825811
0.0833639
0.0821479
0.0791581
0.0759492
0.0723383
0.0686184
0.064943
0.061127
0.0573842
0.0535308
0.0498065
0.0464858
0.0432099
0.0399089
0.0363902
0.0325299
0.028229
0.0234246
0.0178904
0.0114666
0.00481823
-0.00139982
-0.00743529
-0.013893
-0.0211348
-0.0294622
-0.0394035
-0.052136
-0.0689919
-0.089246
-0.112829
-0.136956
-0.16038
-0.186231
-0.216638
-0.254117
-0.29449
-0.337521
-0.387875
-0.445442
-0.506073
-0.572214
-0.646587
-0.722391
-0.803253
-0.889705
-0.970948
-1.04386
-1.09716
-1.13173
0.901309
0.89563
0.874098
0.83053
0.771712
0.70411
0.633744
0.566013
0.500724
0.439786
0.385145
0.334999
0.289437
0.250061
0.215589
0.185127
0.158158
0.134187
0.113165
0.0943987
0.0780712
0.0647487
0.0539751
0.0448338
0.0368363
0.0295715
0.0225418
0.0154634
0.00862449
0.00274751
-0.00221977
-0.00623348
-0.00941713
-0.0122058
-0.0150027
-0.018071
-0.0211169
-0.0236742
-0.0261314
-0.028398
-0.0306484
-0.0330033
-0.0348306
-0.0369148
-0.0388159
-0.0404603
-0.0426882
-0.0436871
-0.0451979
-0.0474605
-0.0499187
-0.0505712
-0.0517993
-0.0550682
-0.058192
-0.0607454
-0.0643672
-0.0657602
-0.0689321
-0.0713909
-0.0707918
-0.069078
-0.0674698
-0.0671764
-0.0663926
-0.0644905
-0.0627905
-0.0611879
-0.0568734
-0.0490086
-0.0411173
-0.032337
-0.0240333
-0.0146872
-0.00571654
0.00427512
0.00999666
0.014778
0.017395
0.019594
0.0210217
0.0222788
0.023359
0.0236684
0.0235377
0.0230349
0.0221274
0.0213233
0.0210501
0.0206389
0.019791
0.0187883
0.0178432
0.0169995
0.0160746
0.0150256
0.0139363
0.0129028
0.0119863
0.0113095
0.0105825
0.0101004
0.00976322
0.00952581
0.00941287
0.00941121
0.00950419
0.00967843
0.00988886
0.0101351
0.0103937
0.0106607
0.0109172
0.0111881
0.0115074
0.0118382
0.0121167
0.0122621
0.0122401
0.0121511
0.0119326
0.0115724
0.0109289
0.0100729
0.00882288
0.00699684
0.00451935
0.00132688
-0.00267005
-0.00770091
-0.0139428
-0.0211238
-0.0292344
-0.0381575
-0.0476002
-0.0563661
-0.0648965
-0.0725368
-0.0770199
-0.0801056
-0.078337
-0.0756441
-0.0739179
-0.0726118
-0.0690316
-0.0638185
-0.055053
-0.0429994
-0.0284113
-0.0139002
-0.000772582
0.00996388
0.0180032
0.0239637
0.0277135
0.0298423
0.0310273
0.0308276
0.0296767
0.0280297
0.0263484
0.0245512
0.0224567
0.0204023
0.0186789
0.0173115
0.0161265
0.0149116
0.0136031
0.012303
0.0112017
0.010509
0.0100463
0.00972799
0.00954516
0.009457
0.00948074
0.00946962
0.00954036
0.00960781
0.00975065
0.00990147
0.0101833
0.0105331
0.0110373
0.0115515
0.0121291
0.0125259
0.0127992
0.0129851
0.0134401
0.0139551
0.0145098
0.0147089
0.0145497
0.0139876
0.0131091
0.0118616
0.0102507
0.00788301
0.00446284
0.00032913
-0.00437164
-0.00897259
-0.0123586
-0.0148215
-0.0184198
-0.0242739
-0.0316705
-0.0403172
-0.0495212
-0.057461
-0.0639736
-0.0678916
-0.0688048
-0.0663801
-0.0641659
-0.0630389
-0.0635777
-0.0632162
-0.0607523
-0.0530266
-0.0435184
-0.0314625
-0.0186882
-0.00564711
0.00547472
0.014497
0.0199832
0.0231469
0.0244752
0.0254125
0.0266094
0.0274008
0.0280019
0.0277687
0.0264594
0.0245452
0.021785
0.0182031
0.0149633
0.0133777
0.0132364
0.0135197
0.0133513
0.0123838
0.010681
0.00835065
0.00560051
0.00536258
0.00710264
0.00913361
0.0104696
0.0110809
0.0110655
0.0109425
0.0110313
0.0111542
0.011489
0.0117936
0.0120734
0.0123957
0.0127584
0.0132341
0.0137485
0.0142783
0.0146346
0.0148963
0.0147262
0.0137984
0.0126136
0.0111497
0.00965145
0.00766726
0.0052229
0.00251082
-0.000554731
-0.00365125
-0.00719676
-0.0105942
-0.013287
-0.0165771
-0.0238662
-0.0337078
-0.0423644
-0.0496281
-0.0559898
-0.0598485
-0.0596545
-0.056413
-0.0590411
-0.0587743
-0.0576088
-0.0535469
-0.046277
-0.03189
-0.00876966
0.0119065
0.0285186
0.0430225
0.0581512
0.0642266
0.0697441
0.0716113
0.0723769
0.071418
0.0708754
0.0712934
0.0701732
0.0676405
0.0648904
0.0617778
0.05857
0.0553981
0.0521271
0.0489168
0.0456277
0.0424461
0.0395976
0.0367885
0.0339584
0.0309486
0.0276519
0.0239827
0.0198875
0.015176
0.00973681
0.00413058
-0.00116351
-0.0063325
-0.0118574
-0.0180493
-0.0251874
-0.0337316
-0.0446624
-0.0590502
-0.076321
-0.0963403
-0.116939
-0.13713
-0.159358
-0.185491
-0.217424
-0.251957
-0.288996
-0.332165
-0.38124
-0.433223
-0.489978
-0.553293
-0.618187
-0.687177
-0.760252
-0.829224
-0.890514
-0.935125
-0.962878
0.737679
0.73325
0.716003
0.681062
0.633546
0.578658
0.52133
0.465862
0.412378
0.362402
0.317434
0.276205
0.23877
0.206327
0.177892
0.152774
0.130542
0.110764
0.0934047
0.07793
0.0644872
0.0534821
0.0445574
0.0369903
0.0303685
0.0243524
0.018543
0.0127167
0.00710231
0.0022824
-0.00181024
-0.00513176
-0.00778285
-0.0101162
-0.012451
-0.0149995
-0.0175314
-0.0196848
-0.0217701
-0.0237173
-0.0256652
-0.0278397
-0.0293522
-0.031215
-0.0330321
-0.0346354
-0.0366203
-0.0378854
-0.0397141
-0.0412186
-0.0428072
-0.0445832
-0.0459559
-0.0487144
-0.0504083
-0.0528795
-0.05603
-0.0574179
-0.0601735
-0.0615965
-0.0606638
-0.0586727
-0.0567539
-0.0559306
-0.0547612
-0.0529168
-0.0514264
-0.0498795
-0.0461709
-0.0397882
-0.0331254
-0.025821
-0.0188579
-0.0115831
-0.00461347
0.00328323
0.00794306
0.0123026
0.0144899
0.0162429
0.017402
0.0183876
0.0192114
0.0194475
0.0193168
0.0188861
0.0181502
0.0175008
0.0172436
0.016886
0.0162014
0.0153906
0.0146172
0.0139182
0.0131553
0.0123009
0.0114112
0.0105677
0.00980286
0.00904147
0.00862061
0.00824306
0.00796656
0.00776286
0.00765842
0.00763711
0.00769027
0.0078043
0.00794267
0.00810673
0.00827146
0.00843966
0.00859036
0.00874511
0.00892803
0.00910514
0.00922603
0.00922512
0.009077
0.00885623
0.00850262
0.00801709
0.00727941
0.00634636
0.0050534
0.00327864
0.000961944
-0.00195477
-0.00552133
-0.00991341
-0.0152073
-0.0212535
-0.0278874
-0.0351349
-0.0425751
-0.0493255
-0.0557842
-0.0612356
-0.0642484
-0.066001
-0.0641595
-0.0619847
-0.0604181
-0.0593272
-0.0563404
-0.0519953
-0.0448582
-0.0350456
-0.0232357
-0.01143
-0.000762941
0.00802586
0.0146409
0.0195297
0.0226431
0.0244094
0.0253624
0.0252098
0.0242904
0.0229646
0.0215848
0.0201002
0.0183988
0.0167291
0.0153154
0.0141847
0.0132039
0.0122035
0.0111358
0.010082
0.00918758
0.00861833
0.00823085
0.00796982
0.00781685
0.0077378
0.00765881
0.00772156
0.00779135
0.00784239
0.00795303
0.00806167
0.00827664
0.00853664
0.00891667
0.00929662
0.00972036
0.00998719
0.0101611
0.01025
0.0105543
0.0108698
0.011201
0.0112188
0.0109128
0.01025
0.00929712
0.00800008
0.00638081
0.00413819
0.00104916
-0.00257958
-0.00658092
-0.0103701
-0.0131408
-0.0151941
-0.0181686
-0.0228894
-0.0288856
-0.0357891
-0.0429674
-0.049042
-0.0538496
-0.0565086
-0.0568226
-0.0546914
-0.0528618
-0.0519487
-0.0522924
-0.0518779
-0.0497305
-0.0433959
-0.0355979
-0.0257524
-0.0153175
-0.00472265
0.00436989
0.0117213
0.0162608
0.0188897
0.0200318
0.020833
0.0217798
0.0224434
0.0229097
0.0227084
0.0216597
0.0200746
0.0178074
0.0149219
0.0123292
0.0110238
0.0108641
0.0110524
0.0108972
0.0101054
0.00872307
0.00684862
0.00467869
0.00449149
0.00584821
0.00745744
0.00853285
0.00904519
0.00905175
0.00895719
0.00893291
0.00910957
0.00938151
0.0096211
0.00983381
0.0100676
0.0103284
0.0106685
0.0110172
0.0113552
0.0115276
0.0115799
0.0112272
0.0102635
0.00906857
0.00765512
0.00623066
0.00438113
0.00225737
-9.32528e-05
-0.00266526
-0.00539067
-0.00831457
-0.01109
-0.0133694
-0.0163761
-0.022823
-0.03073
-0.037648
-0.0432916
-0.047995
-0.0505351
-0.0497631
-0.0477523
-0.048492
-0.0480218
-0.0465887
-0.042813
-0.0366198
-0.0238642
-0.00459825
0.0120743
0.0244784
0.0350501
0.0482705
0.0540157
0.0579712
0.0598258
0.0604278
0.0596345
0.059126
0.0592773
0.0582631
0.0561555
0.0538539
0.0512394
0.0485444
0.0458805
0.0431509
0.0404723
0.0377397
0.0350959
0.0327205
0.0303784
0.028018
0.0255161
0.0227828
0.0197438
0.0163583
0.0124695
0.00800215
0.0034119
-0.000953559
-0.00523921
-0.00981938
-0.0149526
-0.0208847
-0.0280024
-0.0371013
-0.0490272
-0.0633346
-0.0798664
-0.0969603
-0.113851
-0.132396
-0.154209
-0.180681
-0.209403
-0.240361
-0.276332
-0.317042
-0.360352
-0.40766
-0.460097
-0.514034
-0.571148
-0.631222
-0.688082
-0.73802
-0.773927
-0.795157
0.574255
0.57143
0.558668
0.532215
0.495804
0.453438
0.408978
0.365732
0.323978
0.284896
0.249621
0.217284
0.187941
0.162451
0.140079
0.120318
0.102824
0.0872455
0.0735608
0.0613749
0.0508034
0.0421278
0.0350769
0.0291026
0.0238754
0.0191292
0.0145567
0.00998461
0.00564606
0.0018307
-0.00138818
-0.00401146
-0.00611965
-0.0079888
-0.00986337
-0.0119084
-0.0139499
-0.0157167
-0.0174494
-0.019094
-0.0207476
-0.0226118
-0.0238712
-0.0255479
-0.0269781
-0.0284132
-0.0300426
-0.0314759
-0.0339551
-0.0348079
-0.0365427
-0.0375907
-0.0396309
-0.0415045
-0.0428851
-0.0449659
-0.0475259
-0.0489651
-0.0502893
-0.0511109
-0.0501268
-0.0480845
-0.0460236
-0.0447449
-0.0432199
-0.0414059
-0.0402753
-0.0388728
-0.0358198
-0.0307832
-0.0254265
-0.0196036
-0.0139855
-0.00832901
-0.00316041
0.00246802
0.00602884
0.00969187
0.0115224
0.0128927
0.0137618
0.014478
0.0150642
0.0152213
0.0150923
0.0147359
0.0141599
0.0136546
0.0134308
0.0131372
0.0126085
0.0119813
0.0113767
0.0108298
0.0102312
0.00956955
0.00887999
0.00822561
0.00762044
0.00691637
0.00667836
0.00639784
0.00618109
0.00601321
0.00591972
0.00588344
0.00590138
0.00596034
0.00603186
0.00611817
0.00619584
0.00626948
0.00632023
0.00636407
0.00641681
0.00644763
0.00641605
0.00627268
0.0059968
0.00563774
0.0051531
0.00453925
0.00370338
0.00268616
0.00134792
-0.000393258
-0.00257268
-0.00523467
-0.00839156
-0.0121582
-0.0165685
-0.0214545
-0.0266549
-0.0322041
-0.0376122
-0.0423014
-0.0466691
-0.0499853
-0.0514862
-0.0519434
-0.0499838
-0.048217
-0.046914
-0.0460454
-0.043692
-0.0402882
-0.0347756
-0.0271697
-0.0180469
-0.00890958
-0.000669541
0.00616605
0.0113321
0.015147
0.0175927
0.0189821
0.019716
0.0196029
0.0189013
0.0178787
0.0168033
0.0156431
0.0143255
0.0130316
0.0119322
0.0110446
0.0102738
0.00949148
0.00866273
0.0078493
0.00715869
0.00671363
0.00640762
0.006204
0.00608308
0.00601709
0.0058547
0.00598031
0.00604577
0.00608205
0.00616082
0.0062298
0.00637884
0.00655316
0.00681374
0.00706574
0.0073408
0.00748632
0.00755946
0.00756082
0.00771322
0.00785105
0.00797006
0.00781115
0.00736191
0.00659848
0.00556709
0.00421745
0.00256815
0.000403866
-0.00238796
-0.00552295
-0.00886316
-0.0118822
-0.014043
-0.0156328
-0.0179356
-0.0215419
-0.0261065
-0.0312491
-0.0363945
-0.0405388
-0.0435693
-0.0449463
-0.0446623
-0.0427494
-0.0412855
-0.0405783
-0.0407796
-0.0403801
-0.0386327
-0.0336986
-0.0276395
-0.02
-0.0119097
-0.00373048
0.00333962
0.00903465
0.0125978
0.0146693
0.0155913
0.0162368
0.0169505
0.0174742
0.0178196
0.0176562
0.0168561
0.0156115
0.0138429
0.0116262
0.00964067
0.0086213
0.00847116
0.00859206
0.00845997
0.00784418
0.00677539
0.00533623
0.00369878
0.00355565
0.00457209
0.00578765
0.00661865
0.00702074
0.00703671
0.00696131
0.00675187
0.00705617
0.00727568
0.00745543
0.00760301
0.00775388
0.0079158
0.00812545
0.00831712
0.0084679
0.00845815
0.00830248
0.00777687
0.00676454
0.00554652
0.00415837
0.00279208
0.00107019
-0.000766888
-0.00276672
-0.00489439
-0.00725403
-0.00955099
-0.011667
-0.0135245
-0.0162448
-0.0215281
-0.0275612
-0.0327276
-0.0367148
-0.0397705
-0.0409614
-0.0396004
-0.0381832
-0.0380036
-0.0373798
-0.0359967
-0.0327952
-0.0271353
-0.0166907
-0.00150399
0.0110963
0.0209308
0.0290576
0.0380012
0.0434542
0.0461151
0.0477095
0.0482499
0.0476122
0.0471483
0.0471162
0.0462307
0.0445325
0.0426723
0.040565
0.0383946
0.0362513
0.0340678
0.0319279
0.0297559
0.0276556
0.0257648
0.0239038
0.0220325
0.0200573
0.0178986
0.015501
0.0128379
0.00977985
0.00627853
0.00270648
-0.000729236
-0.00411841
-0.00774408
-0.0118112
-0.0165251
-0.0221981
-0.0294538
-0.0389379
-0.0503125
-0.0634276
-0.0770467
-0.0906003
-0.105369
-0.12283
-0.143907
-0.166834
-0.191645
-0.220405
-0.25284
-0.287452
-0.325268
-0.366952
-0.409898
-0.455176
-0.502539
-0.547474
-0.586272
-0.613474
-0.628331
0.410965
0.410045
0.401939
0.383901
0.358475
0.328516
0.296828
0.265797
0.235742
0.207526
0.181972
0.158521
0.137207
0.11864
0.102324
0.0879129
0.075157
0.0637876
0.0537873
0.0448838
0.0371644
0.0308162
0.0256469
0.0212666
0.0174298
0.0139396
0.0105783
0.00723102
0.00405809
0.00126595
-0.00109084
-0.00302247
-0.00458728
-0.00598392
-0.00738478
-0.00890964
-0.0104358
-0.0117741
-0.013098
-0.0143698
-0.015637
-0.0169079
-0.0182618
-0.0196378
-0.0205018
-0.0216559
-0.0230662
-0.0243231
-0.0266228
-0.0276654
-0.0294751
-0.0298766
-0.0319689
-0.0336935
-0.0349087
-0.0367031
-0.0388034
-0.0399739
-0.0401326
-0.0403612
-0.039239
-0.0373081
-0.0352787
-0.0335841
-0.0317422
-0.0299126
-0.0289022
-0.0278366
-0.0255114
-0.0217855
-0.0178028
-0.0135029
-0.00935539
-0.00517511
-0.00158249
0.00181384
0.00462727
0.00710581
0.0085309
0.0095184
0.0100957
0.0105542
0.0109216
0.0109974
0.0108717
0.0105885
0.0101613
0.00979185
0.00961365
0.00939148
0.00901456
0.00856592
0.00812959
0.00773841
0.00730668
0.00683591
0.00634561
0.00587948
0.00544553
0.00493875
0.0047735
0.00457481
0.00441337
0.00428065
0.00419588
0.0041453
0.0041274
0.00413136
0.00413722
0.00414516
0.00413732
0.00411714
0.00406962
0.00400433
0.00393145
0.00382108
0.00364838
0.00337077
0.00297421
0.00249386
0.00189216
0.00117064
0.000250561
-0.000831192
-0.00219743
-0.00389469
-0.00594021
-0.00836022
-0.0111382
-0.0143138
-0.017929
-0.0217003
-0.0255666
-0.0295011
-0.0329372
-0.0355318
-0.0377278
-0.0388816
-0.0388019
-0.0379776
-0.0358244
-0.0344085
-0.0334319
-0.0328081
-0.0311123
-0.0286644
-0.0247429
-0.0193207
-0.0128779
-0.00639248
-0.000549534
0.00435815
0.0080606
0.0107945
0.0125539
0.0135577
0.0140789
0.0139998
0.0135042
0.0127748
0.0120069
0.0111791
0.0102396
0.00931604
0.00853322
0.00789455
0.00733878
0.00677741
0.00618663
0.0056089
0.00511929
0.00479962
0.0045796
0.00443386
0.00434735
0.00430177
0.00414676
0.00426788
0.00431632
0.00433698
0.0043814
0.00441244
0.00449308
0.00458466
0.00472707
0.00485386
0.00498372
0.00501154
0.00498194
0.00489529
0.00489858
0.0048692
0.00479013
0.00446607
0.00388633
0.0030329
0.00194164
0.000572285
-0.00106792
-0.00312557
-0.00564769
-0.0083198
-0.0110439
-0.0133431
-0.0149178
-0.0160277
-0.0176625
-0.0202097
-0.0233708
-0.0267828
-0.0299263
-0.032119
-0.0333167
-0.0333548
-0.0324271
-0.0306635
-0.0295519
-0.0290435
-0.0291484
-0.0288155
-0.0275274
-0.0240055
-0.0197003
-0.014259
-0.00851331
-0.00269124
0.00235291
0.00640935
0.00896875
0.0104602
0.0111351
0.0116067
0.012108
0.0124824
0.0127198
0.0126058
0.0120417
0.0111489
0.00988397
0.00831371
0.00691041
0.00618
0.00605897
0.00613318
0.0060333
0.00559454
0.00483484
0.0038162
0.00267433
0.00257157
0.00327472
0.00412389
0.00471272
0.00500344
0.0050234
0.00497105
0.00473716
0.00502907
0.00519014
0.00530633
0.00538726
0.00545747
0.00552132
0.00560225
0.00564379
0.00561686
0.00543092
0.00507323
0.00438054
0.00330025
0.002022
0.000619644
-0.000728894
-0.00236394
-0.00399766
-0.00573835
-0.00750155
-0.00937277
-0.0110821
-0.0125784
-0.0139825
-0.0163158
-0.0202311
-0.0244847
-0.0279271
-0.0300638
-0.0314123
-0.0312196
-0.0291814
-0.0275839
-0.0273723
-0.0267268
-0.025421
-0.0228005
-0.0182631
-0.0105156
0.000589373
0.00985837
0.0172114
0.0235216
0.0275569
0.0321172
0.0340958
0.0352412
0.0356584
0.0352179
0.0348565
0.0347478
0.0340555
0.0327946
0.0314039
0.0298459
0.0282392
0.0266483
0.0250317
0.0234478
0.0218474
0.0202972
0.0188955
0.0175187
0.0161374
0.0146782
0.0130798
0.011307
0.00934066
0.00709032
0.00453348
0.00192196
-0.00058986
-0.00308221
-0.00575111
-0.00874717
-0.0122289
-0.0164314
-0.0218173
-0.0288411
-0.0372642
-0.0469693
-0.0570924
-0.0672336
-0.078268
-0.0913234
-0.107034
-0.124164
-0.142766
-0.164309
-0.188544
-0.214466
-0.242795
-0.273863
-0.305848
-0.339367
-0.3741
-0.407204
-0.435178
-0.453806
-0.462536
0.247631
0.24866
0.245122
0.235266
0.220591
0.202844
0.183776
0.164894
0.14648
0.129098
0.113279
0.0987191
0.0854054
0.0737747
0.0635558
0.0545474
0.0465971
0.0395173
0.0332893
0.027746
0.0229431
0.0189939
0.0157846
0.0130775
0.0107186
0.00858159
0.00653079
0.00449324
0.00261981
0.000917071
-0.000517769
-0.00169742
-0.00265578
-0.00351984
-0.00440465
-0.0053902
-0.00640352
-0.00732942
-0.00828865
-0.00925926
-0.0102637
-0.0112163
-0.0125854
-0.0138249
-0.0149753
-0.0162897
-0.0178278
-0.0193277
-0.0215102
-0.0229099
-0.0248406
-0.0258613
-0.0277434
-0.0294977
-0.0304906
-0.0317903
-0.0331223
-0.0334366
-0.0328122
-0.0318753
-0.0299746
-0.0275322
-0.0250729
-0.0227422
-0.0203992
-0.0184887
-0.0181069
-0.0170872
-0.015425
-0.0129743
-0.0104259
-0.00768034
-0.00510065
-0.00247628
-0.000299691
0.00125601
0.00311743
0.00453381
0.00542175
0.00599649
0.00630043
0.00652936
0.00670723
0.00671607
0.00660852
0.00641029
0.00613541
0.00590305
0.0057843
0.00564281
0.00541539
0.00514486
0.00488073
0.00464556
0.00438484
0.0041034
0.00380942
0.00353075
0.00327723
0.00310498
0.00291555
0.0027785
0.00266518
0.0025612
0.00248066
0.00241175
0.00235305
0.00229774
0.00223226
0.00215723
0.00205812
0.00193833
0.00178547
0.00160406
0.0013987
0.00114151
0.000819905
0.000401349
-0.000125814
-0.00072998
-0.00144868
-0.00226785
-0.00327044
-0.00440684
-0.00579201
-0.0074298
-0.00931524
-0.0114587
-0.0138164
-0.0163804
-0.0191225
-0.0217973
-0.0243436
-0.0266673
-0.0281678
-0.0287293
-0.0288225
-0.0278592
-0.0261581
-0.0240922
-0.0216873
-0.0205965
-0.0199848
-0.0196212
-0.0185967
-0.0171123
-0.0147697
-0.0115341
-0.00771754
-0.00385135
-0.000387163
0.00258611
0.00481297
0.00645625
0.00752288
0.00813377
0.00844756
0.00840013
0.00810464
0.00766617
0.00720615
0.00671104
0.00614793
0.00559348
0.00512444
0.00473881
0.00440313
0.0040652
0.00371117
0.00336599
0.00307375
0.00288167
0.00274883
0.00266188
0.0026115
0.00259144
0.00260872
0.00260124
0.00261768
0.00261447
0.0026215
0.00260931
0.00261829
0.00262228
0.00264398
0.00264032
0.00262411
0.00252742
0.002391
0.00220186
0.00205861
0.00184902
0.00156759
0.00107288
0.00035585
-0.00059678
-0.00174579
-0.00314227
-0.00475905
-0.00668992
-0.00892172
-0.0111195
-0.0132184
-0.0147849
-0.0157313
-0.0163145
-0.0172466
-0.0187388
-0.0205128
-0.0222278
-0.0234105
-0.023657
-0.0230378
-0.0217528
-0.020183
-0.0185147
-0.0177439
-0.0174324
-0.0174773
-0.0172629
-0.0164789
-0.0143821
-0.0118146
-0.00855726
-0.00511393
-0.00163749
0.00138827
0.00381965
0.00535923
0.00625843
0.0066702
0.00695848
0.00726014
0.00748329
0.00762439
0.00756019
0.00722757
0.00669177
0.00592974
0.00499237
0.0041562
0.00371662
0.00363877
0.00367849
0.00361686
0.00335429
0.00289995
0.00229256
0.0016182
0.00155641
0.00196826
0.0024688
0.00282055
0.00299763
0.00301372
0.00299046
0.00298847
0.00306818
0.0031481
0.00318581
0.00319073
0.0031749
0.00313341
0.00308015
0.00296382
0.00275016
0.00237134
0.0018022
0.000912348
-0.000292697
-0.00166072
-0.00309584
-0.00444721
-0.00603394
-0.00751791
-0.00903214
-0.0104756
-0.0118181
-0.0129871
-0.0139111
-0.0149027
-0.0167682
-0.0196454
-0.0222652
-0.0236499
-0.0236513
-0.0231199
-0.0213987
-0.0185871
-0.0176366
-0.0170017
-0.0163375
-0.0152093
-0.0133491
-0.0103504
-0.00522184
0.00186149
0.00798896
0.0129398
0.0158473
0.0170297
0.0202974
0.0215875
0.022238
0.0224165
0.0221044
0.0218147
0.0216495
0.0211443
0.0203061
0.0193895
0.0183822
0.0173489
0.0163302
0.0153047
0.0143074
0.0133103
0.0123498
0.0114869
0.0106474
0.00981325
0.00893439
0.00797737
0.00691979
0.00573707
0.00437645
0.00281172
0.00127344
-0.000263899
-0.00179849
-0.00345361
-0.00532555
-0.00752155
-0.0102041
-0.0136808
-0.0182458
-0.0237523
-0.0301205
-0.0368135
-0.0435624
-0.0511266
-0.0599237
-0.0704761
-0.0819956
-0.0945451
-0.109078
-0.125355
-0.142765
-0.161762
-0.182413
-0.203517
-0.225339
-0.247274
-0.267929
-0.284752
-0.294495
-0.296853
0.0841239
0.0872896
0.0886346
0.0873619
0.0839107
0.0788702
0.0729041
0.0666189
0.0601987
0.0539173
0.0480251
0.0424542
0.0372113
0.0325224
0.028315
0.024548
0.0211847
0.0181307
0.015385
0.0129017
0.0107315
0.00892522
0.00743421
0.0061571
0.00501961
0.00395894
0.00291845
0.00188011
0.00101457
8.39975e-05
-0.000668709
-0.00131513
-0.00188658
-0.00245671
-0.0030699
-0.00376765
-0.00450925
-0.00524485
-0.00605587
-0.00691036
-0.00782724
-0.00879912
-0.00994873
-0.0111339
-0.0124803
-0.0139357
-0.0155294
-0.0171242
-0.019167
-0.0206686
-0.0224095
-0.023763
-0.0252474
-0.0267371
-0.0272721
-0.0277314
-0.0279269
-0.0270588
-0.0254644
-0.0232871
-0.0205354
-0.0174059
-0.0142809
-0.0113592
-0.00866155
-0.00689014
-0.00626708
-0.00554425
-0.00474271
-0.00377054
-0.00283075
-0.00186224
-0.00100168
-0.000133095
0.000540229
0.000936715
0.00147508
0.00189015
0.00212565
0.00226062
0.00231168
0.0023431
0.00236502
0.00233657
0.00227507
0.00218882
0.00208148
0.00199235
0.00194426
0.00189137
0.0018119
0.00171944
0.00163022
0.00155046
0.00146308
0.00136938
0.00127094
0.00117893
0.00109985
0.00107418
0.000989664
0.000926825
0.000861324
0.000783382
0.000703327
0.000610713
0.000506417
0.000385991
0.000240243
7.46119e-05
-0.000127148
-0.000357323
-0.000629634
-0.000942807
-0.00129835
-0.00172177
-0.00221782
-0.00280218
-0.00349107
-0.0042478
-0.00513009
-0.00609236
-0.00722904
-0.0084514
-0.00989387
-0.0114919
-0.0132126
-0.01506
-0.0169179
-0.0187638
-0.0205041
-0.0219243
-0.0229001
-0.0233588
-0.0227089
-0.0210088
-0.0189235
-0.0158673
-0.0127197
-0.00974281
-0.00746556
-0.00683631
-0.00661631
-0.00650509
-0.00616437
-0.00567391
-0.0048979
-0.00382941
-0.00257115
-0.00127869
-0.000148342
0.000844356
0.00159274
0.00214746
0.00251034
0.00271771
0.00282379
0.00280706
0.00270759
0.0025599
0.00240565
0.00223908
0.00205167
0.00186714
0.00170973
0.0015803
0.0014682
0.00135529
0.00123739
0.00112273
0.00102527
0.00096165
0.000916967
0.000888803
0.000874729
0.000880716
0.000930271
0.000887622
0.000877438
0.000846129
0.000810173
0.000746008
0.00067741
0.000580936
0.000472229
0.000323279
0.00014922
-9.09461e-05
-0.00034906
-0.000662557
-0.000968868
-0.00138597
-0.00189168
-0.00259755
-0.00349185
-0.00458723
-0.00583047
-0.00729881
-0.00892367
-0.0107484
-0.0126924
-0.0143619
-0.015772
-0.0164694
-0.0166731
-0.0166193
-0.0167386
-0.0170446
-0.017252
-0.0170692
-0.0161005
-0.0143243
-0.0119677
-0.00955343
-0.00760815
-0.00628376
-0.00591326
-0.00580265
-0.00580835
-0.0057416
-0.00549088
-0.00480141
-0.00395263
-0.0028665
-0.0017014
-0.000564424
0.000446649
0.0012641
0.00178211
0.00208531
0.00222443
0.00232208
0.00242217
0.00249798
0.00254795
0.00252705
0.00241495
0.00223445
0.00197881
0.00166679
0.00138911
0.00124154
0.00121442
0.00122657
0.00120581
0.00111852
0.000967195
0.000765679
0.000544033
0.000523424
0.000657712
0.000821011
0.00093913
0.000999497
0.00100692
0.00101054
0.00111966
0.00105571
0.00104956
0.00100527
0.000923053
0.000805169
0.000643843
0.000439926
0.000141921
-0.000284244
-0.000891733
-0.0017025
-0.00283082
-0.00419668
-0.00565701
-0.00712029
-0.00844676
-0.00998263
-0.0112883
-0.0125173
-0.0135852
-0.0143157
-0.0148433
-0.015108
-0.0155981
-0.0169233
-0.0188334
-0.0197155
-0.018755
-0.016489
-0.0139838
-0.0108564
-0.00750138
-0.00650147
-0.00551602
-0.00485418
-0.0040811
-0.00304954
-0.00158218
0.000692387
0.00358846
0.00617637
0.00824581
0.00909758
0.00956239
0.010821
0.0113098
0.0115323
0.0115589
0.0113939
0.0112041
0.0110301
0.0107234
0.0102954
0.00983236
0.00932278
0.00879685
0.00827637
0.00775249
0.00724033
0.00672781
0.00622756
0.00576457
0.00530728
0.00484617
0.00435995
0.00383589
0.00326402
0.00262873
0.00191235
0.0011173
0.000371843
-0.000408397
-0.00120518
-0.00207668
-0.00306852
-0.00424558
-0.00568301
-0.00752874
-0.00988235
-0.01263
-0.0157294
-0.0189629
-0.0222157
-0.0259283
-0.0300921
-0.0349564
-0.0401617
-0.0457588
-0.0521498
-0.0591176
-0.0664254
-0.0742391
-0.0824498
-0.0905131
-0.0984294
-0.105592
-0.111633
-0.115684
-0.11609
-0.11289
)
;
boundaryField
{
inlet
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type totalPressure;
rho none;
psi none;
gamma 1;
p0 uniform 0;
value nonuniform List<scalar>
357
(
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-6.44073e-06
-3.13467e-05
-7.24992e-05
-0.000131516
-0.000217359
-0.000337438
-0.000505005
-0.000721701
-0.000986494
-0.00132729
-0.00173745
-0.00223254
-0.00284356
-0.00354855
-0.00438334
-0.00532705
-0.00645805
-0.0077199
-0.00906509
-0.0106764
-0.0120558
-0.0135993
-0.0150579
-0.0163297
-0.0177119
-0.0182788
-0.0186274
-0.0186524
-0.0177621
-0.0163018
-0.0141852
-0.0117103
-0.00892404
-0.00609486
-0.00362801
-0.00158014
-0.000365259
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
-4.97144e-06
-3.27999e-05
-8.04079e-05
-0.000153145
-0.000240569
-0.000354807
-0.000492161
-0.000657523
-0.000856676
-0.00108302
-0.00135382
-0.00165813
-0.0020125
-0.00241654
-0.0028754
-0.00341649
-0.00403354
-0.00473953
-0.00554782
-0.00642149
-0.00742716
-0.00850488
-0.00975287
-0.0110608
-0.0125724
-0.0141739
-0.0158113
-0.0174709
-0.018989
-0.0203076
-0.0213553
-0.0219276
-0.0218103
-0.0209624
-0.018855
-0.0158175
-0.0126103
-0.00868747
-0.00516199
-0.00212925
-0.000288819
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
-7.89232e-06
-3.34136e-05
-8.41459e-05
-0.000150493
-0.000251757
-0.000371334
-0.000533495
-0.000725248
-0.000966505
-0.00124058
-0.00157362
-0.0019128
-0.00231425
-0.00273194
-0.00329472
-0.00396249
-0.00482978
-0.00587017
-0.00708703
-0.00842682
-0.00998043
-0.0116517
-0.0134331
-0.015179
-0.0164685
-0.0173892
-0.0175227
-0.0172384
-0.016759
-0.0163542
-0.0159179
-0.0151609
-0.0138432
-0.0116442
-0.00876493
-0.00564527
-0.00287639
-0.00101637
-0.000107159
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
-1.04687e-05
-6.12768e-05
-0.00015878
-0.000299723
-0.000488393
-0.000732592
-0.00104122
-0.00146906
-0.00205132
-0.00283128
-0.00383035
-0.00514696
-0.00662342
-0.00814551
-0.0096102
-0.0108755
-0.0123373
-0.0134195
-0.0143795
-0.0150987
-0.0153307
-0.0153689
-0.0151027
-0.015144
-0.0160326
-0.0172846
-0.017031
-0.0147129
-0.01122
-0.00769843
-0.00410578
-0.00104464
-2.27999e-08
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
-4.76704e-07
-1.12491e-05
-3.45306e-05
-7.06608e-05
-0.000121931
-0.000194582
-0.000295682
-0.000440982
-0.000639788
-0.000880097
-0.00115869
-0.001456
-0.00175821
-0.00210698
-0.00250258
-0.00296595
-0.00345463
-0.0039773
-0.00458261
-0.00523197
-0.00589972
-0.00660294
-0.00731916
-0.00797471
-0.00856667
-0.00904245
-0.00935202
-0.00937242
-0.00893687
-0.00813149
)
;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //
|
|
d9bad063cbd1751ed3c7e4a3b62f1107ea3ffd81
|
1ec57716e1d0d7dc5e9c93457f0826c0feb6b777
|
/LinuxEpoll/broadcastServer.cpp
|
d10eb6b1cb387d8a6905fa612cb4d36fbd4e783c
|
[] |
no_license
|
smallinsect/MySocket
|
91fa6140c0f88df393ac597c2ea48dfbe77003f7
|
ccb439d01c4545e49422f2cbff471c7d1a60da57
|
refs/heads/master
| 2023-02-22T10:54:12.309761
| 2021-01-24T14:08:02
| 2021-01-24T14:08:02
| 185,744,452
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,530
|
cpp
|
broadcastServer.cpp
|
//
//ๅนฟๆญๆๅกๅจไปฃ็
//
//
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
int main(int argc, char *argv[]){
//ๅๅปบๅฅๆฅๅญ
int fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if(fd == -1){
printf("[sever] socket error ...\n");
exit(1);
}
printf("[server] socket success ...\n");
//็ปๅฎserver็ipๅ็ซฏๅฃ
sockaddr_in serv = {0};
serv.sin_family = AF_INET;
serv.sin_port = htons(8080);
serv.sin_addr.s_addr = htonl(INADDR_ANY);
int ret = bind(fd, (sockaddr *)&serv, sizeof(serv));
if(ret == -1){
printf("[server] bind error ...\n");
exit(1);
}
printf("[server] bind success ...\n");
//ๅๅงๅๅฎขๆท็ซฏๅฐๅไฟกๆฏ
sockaddr_in client = {0};
client.sin_family = AF_INET;
client.sin_port = htons(8787);//ๅฎขๆท็ซฏ็ปๅฎ็็ซฏๅฃ
//ไฝฟ็จๅนฟๆญๅฐๅ็ปๅฎขๆท็ซฏๅ้ๆฐๆฎ
client.sin_addr.s_addr = inet_addr("192.168.3.255");
//inet_pton(AF_INET, "192.168.3.255", &client.sin_add.s_addr);
//็ปๆๅกๅจๅผๆพๅนฟๆญๆ้
int flag = 1;
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &flag, sizeof(flag));
//้ไฟกไฟก
while(true){
//ไธ็ด็ปๅฎขๆท็ซฏๅ้ๆฐๆฎ
static int num = 0;
if(num > 20){
printf("[server] sendto end ...\n");
break;
}
char buf[1024] = {0};
sprintf(buf, "hello, udp == %d", num++);
sendto(fd, buf, strlen(buf)+1, 0, (sockaddr *)&client, sizeof(client));
printf("[server] send buff %s\n", buf);
sleep(1);
}
close(fd);
return 0;
}
|
e49868511e07c1e6ebb47d5773eba2cdd288376b
|
318b9a5fe958e536428eaff5a4217f9f96b2bcc8
|
/apollo/modules/planning_btree/common/trajectory1d/piecewise_jerk_trajectory1d.cc
|
59aaa64bb6cf6c7c78efdd58220a5de9ae46ba70
|
[] |
no_license
|
mengxingshifen1218/BehaviourPlanning
|
96bcf040f6ec63fb5989c6ca3007fe9aad213006
|
ce91810fe8b423fd7ec9b6303ff4f05affad9aa8
|
refs/heads/main
| 2023-04-30T03:11:26.405582
| 2021-05-20T08:07:18
| 2021-05-20T08:07:18
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,800
|
cc
|
piecewise_jerk_trajectory1d.cc
|
#include "modules/planning_btree/common/trajectory1d/piecewise_jerk_trajectory1d.h"
#include <algorithm>
#include "cyber/common/log.h"
namespace apollo {
namespace planning_btree {
// TODO: move this to config
namespace
{
constexpr double kNumericalEpsilon = 1e-6;
}
PiecewiseJerkTrajectory1d::PiecewiseJerkTrajectory1d(const double p,
const double v,
const double a) {
last_p_ = p;
last_v_ = v;
last_a_ = a;
param_.push_back(0.0);
}
void PiecewiseJerkTrajectory1d::AppendSegment(const double jerk,
const double param) {
CHECK_GT(param, kNumericalEpsilon);
param_.push_back(param_.back() + param);
segments_.emplace_back(last_p_, last_v_, last_a_, jerk, param);
last_p_ = segments_.back().end_position();
last_v_ = segments_.back().end_velocity();
last_a_ = segments_.back().end_acceleration();
}
double PiecewiseJerkTrajectory1d::Evaluate(const std::uint32_t order,
const double param) const {
auto it_lower = std::lower_bound(param_.begin(), param_.end(), param);
if (it_lower == param_.begin()) {
return segments_[0].Evaluate(order, param);
}
if (it_lower == param_.end()) {
auto index = std::max(0, static_cast<int>(param_.size() - 2));
return segments_.back().Evaluate(order, param - param_[index]);
}
auto index = std::distance(param_.begin(), it_lower);
return segments_[index - 1].Evaluate(order, param - param_[index - 1]);
}
double PiecewiseJerkTrajectory1d::ParamLength() const { return param_.back(); }
std::string PiecewiseJerkTrajectory1d::ToString() const { return ""; }
} // namespace planning_btree
} // namespace apollo
|
e0c427fe23a4e876feb122a62e0be8885f168989
|
110353759c00f0bde5a6dccacdf87ebc817edd78
|
/lonely.cpp
|
873ac75d844cb5d7003ed1f8ec5ba48566dc24b8
|
[] |
no_license
|
RichardTry/Lonely
|
dcf71c881f383249c5be255f7226954882e5945d
|
915c66d85dc838699135cec4df4f33da8002eb87
|
refs/heads/master
| 2021-05-05T15:20:25.584020
| 2017-09-12T19:23:27
| 2017-09-12T19:23:27
| 103,163,458
| 1
| 0
| null | 2017-09-11T16:58:43
| 2017-09-11T16:58:43
| null |
UTF-8
|
C++
| false
| false
| 10,577
|
cpp
|
lonely.cpp
|
#ifdef USE_SDL2
#include <SDL2/SDL.h>
#else
#include <SDL/SDL.h>
#endif
#include <iostream>
#include <cstdlib>
#include <vector>
#include <map>
#include <ctime>
#include <cmath>
using namespace std;
typedef struct
{
int r;
int g;
int b;
} biome;
const biome arctic = {40000, 40000, 65536};
const biome tundra = {100, 0, 0};
const biome taiga = {0, 2500, 0};
const biome wasteland = {900, 900, 900};
const biome forest = {0, 10000, 0};
const biome desert = {40000, 40000, 0};
const biome savanna = {65536, 40000, 0};
const biome veld = {65536, 30000, 0};
const biome eq = {0, 10000, 1000};
const biome ocean = {0, 0, 65536};
const biome biome_map_earth[64] = {
arctic, arctic, arctic, arctic, arctic, arctic, arctic, arctic,
arctic, arctic, arctic, arctic, arctic, tundra, tundra, tundra,
arctic, arctic, arctic, tundra, tundra, wasteland, taiga, taiga,
arctic, arctic, tundra, taiga, wasteland, wasteland, forest, forest,
arctic, tundra, taiga, taiga, wasteland, wasteland, veld, veld,
arctic, tundra, taiga, forest, forest, veld, desert, desert,
arctic, tundra, taiga, forest, veld, desert, savanna, savanna,
arctic, tundra, taiga, forest, veld, desert, savanna, eq
};
biome average(const biome& a, double A, const biome& b, double B)
{
return {(a.r * A + b.r * B) / (A + B), (a.g * A + b.g * B) / (A + B), (a.b * A + b.b * B) / (A + B)};
}
biome get(const biome* biome_map, int width, int height, double xd, double yd)
{
xd *= width - 1;
yd *= height - 1;
int x = xd;
int y = yd;
int x2 = x + 1;
int y2 = y + 1;
biome average_left = average(biome_map[y * width + x], y2 - yd, biome_map[min(height - 1, y2) * width + x], yd - y);
biome average_right = average(biome_map[y * width + min(width - 1, x2)], y2 - yd, biome_map[min(height - 1, y2) * width + min(width - 1, x2)], yd - y);
return average(average_left, x2 - xd, average_right, xd - x);
}
const int WIDTH = 1024;
const int HEIGHT = 1024;
const double OCEAN_LEVEL = 0.3;
map<pair<int, int>, bool> data_exists;
map<pair<int, int>, int> data;
double pow12(double x)
{
return pow(x, 1.2);
}
double diamond_size(double a, double b)
{
b = fabs(2 * b - 1);
//return 1;
return hypot(1, cos(b * M_PI / 2));
}
int recursion(int a, int b, int mul, double (*dsz)(double, double))
{
pair<int, int> key = make_pair((WIDTH - (a * mul) % WIDTH) % WIDTH, (HEIGHT - (b * mul) % HEIGHT) % HEIGHT);
double multiplier = dsz(key.first / (double)WIDTH, key.second / (double)HEIGHT);
if(data_exists[key])
return data[key];
int ans;
if(a % 2 == 0 && b % 2 == 0)
ans = recursion(a / 2, b / 2, mul * 2, dsz);
else if(a % 2 && b % 2)
ans = (recursion(a - 1, b - 1, mul, dsz)+recursion(a - 1, b + 1, mul, dsz)+recursion(a + 1, b - 1, mul, dsz)+recursion(a + 1, b + 1, mul, dsz)) / 4 + multiplier * (rand() % mul - mul / 2);
else
ans = (recursion(a - 1, b, mul, dsz)+recursion(a + 1, b, mul, dsz)+recursion(a, b - 1, mul, dsz)+recursion(a, b + 1, mul, dsz)) / 4 + multiplier * (rand() % mul - mul / 2);
data_exists[key] = true;
data[key] = ans;
return ans;
}
int main(int argc, char* argv[])
{
if(argc == 2)
srand(atoi(argv[1]));
else
{
int seed = time(NULL);
cout << "Seed: " << seed << endl;
srand(seed);
}
if(SDL_Init(SDL_INIT_VIDEO) < 0)
{
printf("Unable to init SDL: %s\n", SDL_GetError());
return 1;
}
atexit(SDL_Quit);
#ifdef USE_SDL2
SDL_Window* window = SDL_CreateWindow("Lonely", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, 0);
if(!window)
{
printf("Unable to set 640x480 video: %s\n", SDL_GetError());
return 1;
}
SDL_Renderer* renderer = SDL_CreateRenderer(window, -1, 0);
SDL_Texture* texture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_RGB888, SDL_TEXTUREACCESS_STREAMING, 640, 480);
char* buffer = (char*)malloc(640*480*4);
if(!buffer)
{
printf("Unable to allocate frame buffer\n");
return 1;
}
#else
SDL_Surface* screen = SDL_SetVideoMode(640, 480, 24,
SDL_HWSURFACE|SDL_DOUBLEBUF);
if(!screen)
{
printf("Unable to set 640x480 video: %s\n", SDL_GetError());
return 1;
}
#endif
data_exists[make_pair(0, 0)] = data_exists[make_pair(0, WIDTH - 1)] = data_exists[make_pair(WIDTH - 1, 0)] = data_exists[make_pair(WIDTH - 1, HEIGHT - 1)] = true;
vector<vector<int> > hlines(WIDTH, vector<int>(HEIGHT));
int max_height = 0;
int min_height = 0;
for(int i = 0; i < WIDTH; i++)
for(int j = 0; j < HEIGHT; j++)
{
hlines[i][j] = min(255, recursion(i, j, 1, diamond_size));
max_height = max(max_height, hlines[i][j]);
min_height = min(min_height, hlines[i][j]);
}
double rot_angle = 0;
double vert_rot = 0;
double horz_rot_mode = 0;
bool rot_mode = false;
int vert_rot_mode = 0;
bool color_mode = false;
bool done = false;
bool do_rotate = true;
while(!done)
{
if(rot_angle > 2 * M_PI)
rot_angle -= 2 * M_PI;
cout << "I will draw a frame now!" << endl;
SDL_Event event;
while(SDL_PollEvent(&event))
{
switch(event.type)
{
case SDL_QUIT:
done = true;
break;
case SDL_KEYDOWN:
{
if(event.key.keysym.sym == SDLK_ESCAPE)
done = true;
else if(event.key.keysym.sym == SDLK_SPACE)
rot_mode = !rot_mode;
else if(event.key.keysym.sym == SDLK_e)
color_mode = !color_mode;
else if(event.key.keysym.sym == SDLK_DOWN)
vert_rot_mode = 1;
else if(event.key.keysym.sym == SDLK_UP)
vert_rot_mode = -1;
else if(event.key.keysym.sym == SDLK_RIGHT)
horz_rot_mode = 1;
else if(event.key.keysym.sym == SDLK_LEFT)
horz_rot_mode = -1;
else if(event.key.keysym.sym == SDLK_r)
do_rotate = !do_rotate;
break;
}
case SDL_KEYUP:
{
if(event.key.keysym.sym == SDLK_UP || event.key.keysym.sym == SDLK_DOWN)
vert_rot_mode = 0;
else if(event.key.keysym.sym == SDLK_LEFT || event.key.keysym.sym == SDLK_RIGHT)
horz_rot_mode = 0;
break;
}
}
}
#ifdef USE_SDL2
char* ptr = buffer;
#else
char* ptr = (char*)screen->pixels;
#endif
for(int j = 0; j < 480; j++)
for(int i = 0; i < 640; i++)
{
int value;
int hyp = hypot(i - 320, j - 240);
if(hyp >= 200)
{
int data = max(0, 255 - 20 * (hyp - 200));
*(ptr++) = data;
*(ptr++) = data * 2 / 3;
*(ptr++) = data * 2 / 3;
}
else
{
double x = (i - 320) / 200.0;
double y = (j - 240) / 200.0;
double latitude, longitude;
if(rot_mode)
{
latitude = asin(hypot(x, y));
longitude = -atan(y / x);
if(x < 0)
longitude -= M_PI;
}
else
{
y /= sin(acos(x));
double a = asin(y);
a += vert_rot;
bool do_swap = false;
if(a > M_PI / 2)
{
a = M_PI - a;
do_swap = true;
}
if(a < -M_PI / 2)
{
a = -M_PI - a;
do_swap = true;
}
y = sin(a) * sin(acos(x));
latitude = asin(y);
x /= cos(latitude);
latitude += M_PI / 2;
longitude = asin(x);
if(do_swap)
longitude = M_PI - longitude;
}
longitude += rot_angle;
latitude /= M_PI;
longitude /= 2 * M_PI;
longitude -= floor(longitude);
int la = min(HEIGHT - 1., latitude * HEIGHT);
int lo = min(WIDTH - 1., longitude * WIDTH);
double h = pow12((hlines[lo][la] - min_height) / (double)(max_height - min_height));
biome b;
if(h >= OCEAN_LEVEL)
b = get(biome_map_earth, 8, 8, 1 - abs(2 * latitude - 1), 1 - h);
else
b = ocean;
//lo = (WIDTH + lo % WIDTH) % WIDTH;
if(color_mode)
{
*(ptr++) = min(255., h * 256);
*(ptr++) = min(255., h * 256);
*(ptr++) = min(255., h * 256);
}
else
{
*(ptr++) = min(255, (int)sqrt(b.b));
*(ptr++) = min(255, (int)sqrt(b.g));
*(ptr++) = min(255, (int)sqrt(b.r));
}
}
#ifdef USE_SDL2
ptr++;
#endif
}
#ifdef USE_SDL2
SDL_UpdateTexture(texture, NULL, buffer, 640 * 4);
SDL_RenderClear(renderer);
SDL_RenderCopy(renderer, texture, NULL, NULL);
SDL_RenderPresent(renderer);
#else
SDL_Flip(screen);
#endif
if(do_rotate)
rot_angle += 0.03;
if(vert_rot_mode > 0)
vert_rot = min(M_PI / 2, vert_rot + 0.1);
else if(vert_rot_mode < 0)
vert_rot = max(-M_PI / 2, vert_rot - 0.1);
if(horz_rot_mode > 0)
rot_angle += 0.05;
else if(horz_rot_mode < 0)
rot_angle -= 0.05;
}
return 0;
}
|
db9788142e93891dbd515c6a0f90fa9f4463e1d5
|
b898ad7280f0f358bbea09633115eb1b166cb430
|
/src/exportpngform.h
|
a6649bdff85396e9ca4335bef5645841089a4fe1
|
[] |
no_license
|
chankame/AnimationCreator
|
520d89568e4c047faf596b56aa97bc22531925c6
|
7fbf4c984e67b66b0fc52fd41d5f8c6415d96125
|
refs/heads/master
| 2021-01-15T17:08:22.608934
| 2013-01-15T02:50:12
| 2013-01-15T02:50:12
| 2,824,833
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 928
|
h
|
exportpngform.h
|
#ifndef EXPORTPNGFORM_H
#define EXPORTPNGFORM_H
#include <QWidget>
#include <QtGui>
#include "editdata.h"
#include "setting.h"
namespace Ui {
class ExportPNGForm;
}
class ExportPNGForm : public QWidget
{
Q_OBJECT
public:
explicit ExportPNGForm(CEditData *pEditData, CSettings *pSetting, QWidget *parent = 0);
~ExportPNGForm();
signals:
void sig_changeRect( void ) ;
void sig_startExport( void ) ;
void sig_cancel( void ) ;
public slots:
void resizeEvent( QResizeEvent *event ) ;
void slot_changeRect( void ) ;
void slot_openSaveDir( void ) ;
void slot_changeLeft( int val ) ;
void slot_changeRight( int val ) ;
void slot_changeTop( int val ) ;
void slot_changeBottom( int val ) ;
void slot_startExport( void ) ;
void slot_changeSaveDir( void ) ;
void slot_cancel( void ) ;
private:
Ui::ExportPNGForm *ui;
CEditData *m_pEditData ;
CSettings *m_pSetting ;
};
#endif // EXPORTPNGFORM_H
|
5ebe690ba3c5d6d7818164a3e6cc7fb5b1dd7310
|
00d59fc683ae26dbda511bab355836b9e2e6b43d
|
/vjudge/HDU/4284/4698238_AC_3556ms_5716kB.cpp
|
5249cc30d2b663c8b5a29ec50f38d4d6da40f938
|
[] |
no_license
|
howardchina/ACM-ICPC-solved-problem
|
01f8744c12b765ffc0ea23600fab79c58a5f6e0e
|
63805f390c754c4561d43c4902939eff26ad7cbd
|
refs/heads/master
| 2020-04-01T20:22:33.562335
| 2018-12-11T09:09:03
| 2018-12-11T09:09:03
| 153,601,172
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,273
|
cpp
|
4698238_AC_3556ms_5716kB.cpp
|
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <queue>
using namespace std;
const int INF= 0x3f3f3f3f ;
const int maxn = 105;
int N,M,Money,H, C[20], D[20], A[20] ;
int dis[maxn][maxn], g[20][20] ;
int dp[1<<16][16];
int main()
{
// freopen("data.in", "r" ,stdin) ;
int T ;
scanf("%d", &T) ;
while(T--) {
scanf("%d%d%d", &N, &M, &Money) ;
for(int i=1; i<=N; i++)
for(int j=1; j<=N; j++)
dis[i][j] = (i==j ? 0 : INF) ;
for(int i=1; i<=M; i++) {
int u , v, w ;
scanf("%d%d%d", &u, &v, &w) ;
dis[u][v] = dis[v][u] = min(dis[u][v] , w) ;
}
bool ok = false;
scanf("%d", &H) ;
int S = 0 ;
for(int i=0; i<H; i++) {
scanf("%d%d%d",&A[i] , &C[i] , &D[i]) ;
if(A[i] == 1) ok = true , S = i ;
}
if(!ok) {
C[H] = D[H] = 0;
A[H] = 1 ;
S = H ;
H ++ ;
}
for(int k=1; k<=N; k++)
for(int i=1; i<=N; i++)
for(int j=1; j<=N; j++)
dis[i][j] = min(dis[i][j] , dis[i][k] + dis[k][j]);
for(int i=0; i<H; i++)
for(int j=0; j<H; j++)
g[i][j] = dis[A[i]][A[j]] ;
memset(dp, -1 , sizeof(dp)) ;
dp[0][S] = Money ;
for(int s=0; s<(1<<H); s++) {
for(int u=0; u<H; u++)
{
for(int v=0; v<H; v++) {
if(v == u) continue ;
if(dp[s][u] >= g[u][v]) {
int val = dp[s][u] - g[u][v] ;
if(val > dp[s][v]) {
dp[s][v] = val ;
}
}
}
}
for(int u=0; u<H; u++)
{
if((s&(1<<u))==0 && dp[s][u] >= D[u]) {
int val = dp[s][u] + C[u] - D[u] ;
int ns = s | (1<<u) ;
if(val > dp[ns][u]) {
dp[ns][u] = val ;
}
}
}
}
if(dp[(1<<H)-1][S] >= 0) puts("YES") ;
else puts("NO") ;
}
return 0;
}
|
f74a7d3cdf52f4ef11308ae8b704998e5aeac9a5
|
417795cf9f659d63fa6758692e271694582897b3
|
/ResearchPaper.cpp
|
10f7742fe6ef3c83f423d360b488c7e48558a2f9
|
[] |
no_license
|
swn881/CSCI222-Group-1-afterConflict
|
fdf611105f516f9ac863ca09deb3dd9aaabdcb81
|
dea95a920568130ce13bd6c76f7026641b8f8310
|
refs/heads/master
| 2020-03-30T21:46:51.536379
| 2014-10-30T02:51:23
| 2014-10-30T02:51:23
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,151
|
cpp
|
ResearchPaper.cpp
|
#include <iostream>
#include <vector>
#include "ResearchPaper.h"
#include <stdlib.h>
using namespace std;
ResearchPaper::ResearchPaper()
{
paperID = 0;
numContributors = 0;
title = "";
abstract = "";
keywords = "";
approval = -1;
}
ostream& operator<< (ostream& out, const ResearchPaper& temp)
{
out << temp.paperID << "," << temp.numContributors << "," ;
for(int i = 0; i < temp.numContributors; i++)
{
//first last uni email
out << temp.contributedFirst[i] << ",";
out << temp.contributedLast[i] << ",";
out << temp.contributedUni[i] << ",";
out << temp.contributedEmail[i] << ",";
}
out << temp.title << "," << temp.abstract << "," << temp.keywords << ",";
out << temp.approval << endl;
return out;
}
istream& operator>> (istream& in, ResearchPaper& temp)
{
string tempString;
getline(in, tempString, ',');
temp.paperID = atoi(tempString.c_str());
getline(in, tempString, ',');
temp.numContributors = atoi(tempString.c_str());
for(int i = 0; i < temp.numContributors; i++)
{
//read in first name
getline(in, tempString, ',');
temp.contributedFirst.push_back(tempString);
//read in last name
getline(in, tempString, ',');
temp.contributedLast.push_back(tempString);
//read in uni
getline(in, tempString, ',');
temp.contributedUni.push_back(tempString);
//read in email
getline(in, tempString, ',');
temp.contributedEmail.push_back(tempString);
}
getline(in, temp.title, ',');
getline(in, temp.abstract, ',');
getline(in, temp.keywords, ',');
getline(in, tempString, '\n');
temp.approval = atoi(tempString.c_str());
return in;
}
int ResearchPaper::getPaperID()
{
return paperID;
}
void ResearchPaper::setPaperID(int temp)
{
paperID = temp;
}
void ResearchPaper::setNumContributors(int temp)
{
numContributors = temp;
}
void ResearchPaper::setContributedFirst(std::string temp)
{
contributedFirst.push_back(temp);
}
void ResearchPaper::setContributedLast(std::string temp)
{
contributedLast.push_back(temp);
}
void ResearchPaper::setContributedUni(std::string temp)
{
contributedUni.push_back(temp);
}
void ResearchPaper::setContributedEmail(std::string temp)
{
contributedEmail.push_back(temp);
}
void ResearchPaper::setTitle(std::string temp)
{
title = temp;
}
void ResearchPaper::setAbstract(std::string temp)
{
abstract = temp;
}
void ResearchPaper::setKeywords(std::string temp)
{
keywords = temp;
}
bool ResearchPaper::checkEmail(string emailOfUserToCheck)
{
for(int i = 0; i < numContributors; i++)
{
if (contributedEmail[i] == emailOfUserToCheck)
{
return true;
}
}
return false;
}
void ResearchPaper::display()
{
cout << endl;
cout << "Paper Details:" << endl;
cout << "Title: " << title << endl;
cout << "Abstract: " << abstract << endl;
cout << "Keywords: " << keywords << endl;
cout << endl;
}
int ResearchPaper::getApproval()
{
return approval;
}
|
2e583860cf770f9d6e3125f292f5b9db6a3f6333
|
7957d1d8aadd523b618e2fa0c4fe7b1c85787a06
|
/permCheck.h
|
a09fe593b25f1f9e766f1946ef46f0e8becc1c91
|
[] |
no_license
|
bbaskurt/codingAssessments
|
d11c0e0a77291db5df62bb4031208f591e94b618
|
5c4e3129bb45b894eb57b766fd18e2b1ebb9b911
|
refs/heads/master
| 2021-03-18T06:32:26.567165
| 2020-05-10T15:50:11
| 2020-05-10T15:50:11
| 247,053,413
| 0
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 157
|
h
|
permCheck.h
|
#pragma once
#include <vector>
// codility test score: %100
class permCheck
{
public:
permCheck();
~permCheck();
int solution(std::vector<int> &A);
};
|
b73dec279dbbf56a5506a5d78e2133f0e7fff4a9
|
cd8eef1d73c9aed00d69c383338a9b505079131a
|
/ASFIFOSystem.h
|
a1210cffbde7917b548e0cf21f3cda6dfd88486a
|
[] |
no_license
|
penta-dev/Food-Delivery-Simulator
|
3e6d4e4dac93e44f5856c2964bfb5131a8d4b5f5
|
d5ca8146a696515937cbedb0d0b4313cdd9be8a0
|
refs/heads/main
| 2023-05-27T04:51:02.780758
| 2021-06-10T08:12:27
| 2021-06-10T08:12:27
| 375,590,032
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 128
|
h
|
ASFIFOSystem.h
|
#pragma once
#include "ASSystem.h"
class ASFIFOSystem :
public ASSystem
{
public:
virtual void process(float time);
};
|
94a28b552e267a1590eb6951fba4cad5be763648
|
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
|
/app/src/main/cpp/dir7941/dir29315/dir29510/file29672.cpp
|
d8b66978b4412b665f341696f771241c08bfb8ac
|
[] |
no_license
|
tgeng/HugeProject
|
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
|
4488d3b765e8827636ce5e878baacdf388710ef2
|
refs/heads/master
| 2022-08-21T16:58:54.161627
| 2020-05-28T01:54:03
| 2020-05-28T01:54:03
| 267,468,475
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 115
|
cpp
|
file29672.cpp
|
#ifndef file29672
#error "macro file29672 must be defined"
#endif
static const char* file29672String = "file29672";
|
0257740eed79e7f3e32a8f25b804ed1d03b91266
|
3aaae0ea6f1ba4cd94faf8a4d0134f9336ab854c
|
/EPL-Project3/EPL-Project3/TestForm.cc
|
2b555fcfbaab76c528b9a3740c37c9ce9d00b6ed
|
[] |
no_license
|
ytchen/example
|
b41733f0d8a8b554f2a5b906357c9d2adf2622e0
|
f99c66747bd106804f1f4cfdd41ebe97272d6dd7
|
refs/heads/master
| 2016-09-09T17:39:41.489496
| 2012-05-10T04:56:31
| 2012-05-10T04:56:31
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 32,884
|
cc
|
TestForm.cc
|
#include <iostream>
#include <cstdlib>
#include <math.h>
#include "Params.h"
//#include "TestResults.h"
#include "TestForm.h"
#include "QuadTree.h"
#include "Window.h"
#include "ObjInfo.h"
#include "LifeForm.h"
using namespace std;
double eat_success = 1.0;
double age_frequency = 1.0e9;
bool g_use_algae_spores = false;
#define TESTDEBUG 1
/*------------------------------------------------------------------------------*/
bool _close_counts(double a, double b, double fudge /* = VERY_CLOSE */)
{
if (a >= b) return (a - b < fudge);
return (b - a < fudge);
}
/*------------------------------------------------------------------------------*/
// TestForm suport methods
bool TestForm::_lived_too_long = false;
/**********************************************************************
* Good for creating an event to check your energy level in the future.
* @param expected_value what energy should be
* @param health_ok boolean variable to set to false
* if energy is not equal to expected_value
*/
void TestForm::check_health(double expected_value, string check_for, bool* health_ok)
{
assert(health_ok != NULL);
if (! _close_counts(energy, expected_value) )
{ *health_ok = false;
#if TESTDEBUG
cerr << " DRAT: check_health() for " << check_for << ": expected energy = "
<< expected_value << ", but got energy = " << energy << endl;
#endif
}
#if TESTDEBUG
else
{ *health_ok = true;
cerr << " check_health() for " << check_for << ": energy level "
<< energy << " looks good" << endl;
}
#endif
if (energy < min_energy && !_close_counts(energy, min_energy))
{ cerr << " DRAT: my energy is " << energy << " and I'm still alive!" << endl;
_lived_too_long = true;
die();
}
}
//
// Protected Methods.
//
// make sure rads is between 0 and 2*M_PI
double TestForm::_normalize_angle(double rads) const
{
bool reverse = false;
if (rads < 0.0)
{ rads = -rads;
reverse = true;
}
double multi = rads / (2*M_PI);
rads -= ( ((double)((long)multi)) * (2*M_PI) );
if (rads > (2*M_PI)) rads = 0.0; // for floating point precision variance
if (reverse)
{ rads = -rads;
}
return rads;
}
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*--------------- --------------*/
/*--------------- DERIVED CLASSES BELOW --------------*/
/*--------------- --------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*-------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
// Test 1
/*** Static data. */
RkInitializer<Test1> __Test1_initializer("Test1");
T1Results Test1::_tr;
/*** From base class. */
LifeForm* Test1::create(void)
{
cout << "Test 1 create\n";
Test1* t1 = new Test1;
t1->pos.xpos = grid_max / 2.0;
t1->pos.ypos = grid_max / 2.0;
return t1;
}
void Test1::_lifeform_start(void)
{
cout << "perceive():\n";
cout.flush();
schedule<Test1>(1.0, self, &Test1::_doPerceive);
}
/*** Test1-specific. */
Test1::~Test1()
{
if (energy >= min_energy)
{
#if TESTDEBUG
cerr << " DRAT: Died when energy >= min_energy!" << endl;
#endif
}
else
{
_tr.iDied();
}
schedule<TestResults>(0.0, _tr, &TestResults::endTest);
}
void Test1::_doPerceive()
{
bool bFirstTime = _tr.firstTime();
cerr << " calling perceive" << endl;
if (bFirstTime)
{
// following value should allow _tr.expectedPerceives() perceive() calls, and
// I shoul die on the last one (or very shortly thereafter).
energy = ((double)_tr.expectedPerceives() * perceive_cost(max_perceive_range))
+ min_energy - 1.0;
#if TESTDEBUG
cerr << " Starting with energy " << energy << endl;
#endif
}
double energy_before = energy;
_tr.incrementPerceives();
ObjList set = perceive(max_perceive_range);
if (bFirstTime)
{
int number = 0;
ObjList::iterator it = set.begin();
while(it != set.end())
{
number++;
Point other_pos;
other_pos.xpos = pos.xpos + ((*it).distance * cos((*it).bearing));
other_pos.ypos = pos.ypos + ((*it).distance * sin((*it).bearing));
if (! space.is_occupied(other_pos))
{
_tr.badBearingsDist();
#if TESTDEBUG
cerr << " DRAT: perceive() reports a " << (*it).species << " at ("
<< other_pos.xpos << "," << other_pos.ypos
<< "), but there is none there." << endl;
#endif
}
#if TESTDEBUG
else
{ cerr << " found a " << (*it).species << " at ("
<< other_pos.xpos << "," << other_pos.ypos
<< "), right where perceive() reported one!" << endl;
}
#endif
++it;
}
// Test 1 is run with one Test1 object and four PlacedRock objects.
if (number != 4)
{
_tr.badPerceive();
#if TESTDEBUG
cerr << " DRAT: perceive() did not return 4 objects" << endl;
#endif
}
else
{
_tr.goodPerceive();
#if TESTDEBUG
cerr << " perceive() returned 4 objects, as expected" << endl;
#endif
}
double exp = energy_before - perceive_cost(max_perceive_range);
string str("perceive cost");
schedule<Test1,double,double>(0.1, self, &Test1::_checkEnergy, energy_before, exp);
// in case I don't die like I'm supposed to
schedule<TestResults,string,bool>(5.0, _tr,
&TestResults::failedToDie,
string("perceiving life form"),
true);
}
schedule(0.2, self, &Test1::_doPerceive);
}
void Test1::_checkEnergy(double prev_energy, double expected)
{
if (energy < prev_energy && ! _close_counts(energy, prev_energy))
{
_tr.penaltyAssessed(true);
_tr.penaltyOk( _close_counts(energy, expected) );
}
else
{
_tr.penaltyAssessed(false);
_tr.penaltyOk(false);
}
}
/*------------------------------------------------------------------------------*/
// Test 2
/*** Static data */
RkInitializer<Test2> __Test2_initializer("Test2");
Test2* Test2::_pParent = NULL;
bool Test2::_bDidChildTestsAlready = false;
T2Results Test2::_tr;
/*** From base class */
LifeForm* Test2::create(void)
{
Test2* t2 = new Test2;
t2->pos.xpos = grid_max / 2.0;
t2->pos.ypos = grid_max / 2.0;
return t2;
}
void Test2::_lifeform_start(void)
{
set_speed(0.0);
_bEverLived = true;
if (_tr.firstTime())
{
/*** Parent Test2 life form */
_pParent = this;
cout << "reproduce() and aging:\n";
cout.flush();
schedule(2.0, self, &Test2::_doReproduce);
// following value allows one call to reproduce() without dying, and then
// I should die the second time.
energy = 3.0 * min_energy;
_tr.setStartEnergy(energy);
// After the reproduce() in 2.0 time units from now, I will reproduce
// again 11.0 time units after that, at which point I should die. Thus,
// I should die 13.0 time units in now's future.
_pFailedToDie = schedule<TestResults,string,bool>(14.0,
_tr,
&TestResults::failedToDie,
string("parent life form"),
false);
_failedToDieTime = Event::now() + 14.0;
}
else
{
/*** baby Test2 life form */
#if TESTDEBUG
cerr << " child created: " << this << endl;
#endif
_tr.childCreated();
/*** First, check energy levels of parent and child ater the reproduce */
if (! _bDidChildTestsAlready)
{
// first child only runs this code
double startEnergy = _tr.startEnergy();
double expected = ( (startEnergy / 2.0) * (1.0 - reproduce_cost) );
if (energy < startEnergy && ! _close_counts(energy, startEnergy))
{
_tr.childEnergy(true, _close_counts(energy, expected));
}
else _tr.childEnergy(false, false);
#if TESTDEBUG
cerr << " child energy - expected " << expected
<< ": got " << energy << endl;
#endif
if (_pParent->energy < startEnergy && ! _close_counts(_pParent->energy, startEnergy))
{
_tr.parentEnergy(true, _close_counts(_pParent->energy, expected));
}
else _tr.parentEnergy(false, false);
#if TESTDEBUG
cerr << " parent energy - expected " << expected
<< ": got " << energy << endl;
#endif
/*** Next, check that the child is within reproduce_dist units of its parent */
_checkDist();
/*** Now, check for proper aging of the child
* (the parent should die from trying to reproduce again)
*/
_bCheckAging = true;
energy = (age_penalty * 2.0) + min_energy - 1.0; // die after 2nd age event
double expected_aged_energy = energy - age_penalty;
#if TESTDEBUG
cerr << " start child aging sequence with energy = " << energy << endl;
#endif
(void)schedule<Test2,double,double>(age_frequency + 1.0,
self,
&Test2::_checkAgingEnergy,
energy,
expected_aged_energy);
// make sure I die after aging twice
_pFailedToDie = schedule<TestResults,string,bool>((age_frequency * 2.0) + 10.0,
_tr,
&TestResults::failedToDie,
string("child life form"),
true);
_failedToDieTime = Event::now() + (age_frequency * 2.0) + 10.0;
_bDidChildTestsAlready = true;
} // if this is first child
#if TESTDEBUG
else
{
cerr << " DRAT: Uh oh. Looks like dying parent was able to reproduce and\n"
<< " create a child with energy = " << energy;
cerr << ". child committing suicide" << endl;
is_alive = true;
die(!space.is_out_of_bounds(pos) && space.is_occupied(pos));
}
#endif
}
}
/*** Test2-specific */
void Test2::_doReproduce()
{
Test2* child = new Test2();
reproduce(child);
// jmg schedule(11.0, self, &Test2::Test2::_doReproduce);
//schedule(11.0, self, &Test2::Test2::_doReproduce);
schedule(11.0,self,&Test2::_doReproduce);
}
void Test2::_checkDist()
{
double dist = position().distance(_pParent->position());
if (dist > reproduce_dist && ! _close_counts(dist, reproduce_dist))
{
_tr.childDistanceGood(false);
#if TESTDEBUG
cerr << " DRAT: child Test2 supposed to be within " << reproduce_dist
<< " units from its parent. But I'm " << dist << " units away." << endl;
#endif
}
else
{
_tr.childDistanceGood(true);
#if TESTDEBUG
cerr << " child placed " << dist
<< " units from its parent - that's good" << endl;
#endif
}
}
Test2::~Test2()
{
if (_pFailedToDie != NULL
&& Event::now() < _failedToDieTime
&& !_close_counts(Event::now(), _failedToDieTime)
)
{
delete _pFailedToDie;
_pFailedToDie = NULL;
}
if (_bEverLived)
{
double now = Event::now();
if (this == _pParent)
{
#if TESTDEBUG
/*** parent life form dying here */
cerr << " parent " << this << " dying at time " << now << endl;
#endif
}
else
{
#if TESTDEBUG
cerr << " child " << this << " dying at time " << now << endl;
#endif
if (_bCheckAging)
{
/*** baby life form dying here */
double approx_expected_time = age_frequency * 2.0;
_tr.logResult("child life form aged to death", // from aging I hope
Event::now() >= approx_expected_time && now < approx_expected_time + 20.0);
// end the bloody test
schedule<TestResults>(0.0, _tr, &TestResults::endTest);
}
} // if _pParent - else
} // if I ever lived (i.e., if I was not aborted in LifeForm::reproduce()
}
void Test2::_checkAgingEnergy(double prev_energy, double expected)
{
#if TESTDEBUG
bool bOk;
#endif
if (energy < prev_energy && ! _close_counts(energy, prev_energy))
{
if (_close_counts(energy, expected))
{ _tr.childAgingOk(true, true);
#if TESTDEBUG
bOk = true;
#endif
}
else
{ _tr.childAgingOk(true, false);
#if TESTDEBUG
bOk = false;
#endif
}
}
else
{ _tr.childAgingOk(false, false);
#if TESTDEBUG
bOk = false;
#endif
}
#if TESTDEBUG
if (!bOk)
{
cerr << " DRAT: aging - expected energy " << expected
<< " but I've got " << energy << endl;
}
#endif
}
/*------------------------------------------------------------------------------*/
// Test 3
/*** Static data */
RkInitializer<Test3> __Test3_initializer("Test3");
T3Results Test3::_tr;
Test3* Test3::_pMover = NULL;
Test3* Test3::_pStatue = NULL;
double Test3::_startEnergy = 300.0;
bool Test3::_bStatueDead = false;
/*** From base class */
LifeForm* Test3::create(void)
{
Test3* t3 = new Test3();
placeObject(t3);
return t3;
}
void Test3::placeObject(Test3* pLife)
{
if (_tr.firstTime())
{ // statue life form
_pStatue = pLife;
pLife->pos.xpos = (grid_max / 2.0) + 0.7;
pLife->pos.ypos = grid_max / 3.0;
}
else
{ // mover life form
_pMover = pLife;
pLife->pos.xpos = (grid_max / 2.0) - 10.0; // approach _pStatue from approximately
pLife->pos.ypos = (grid_max / 3.0) - 5.0; // at about a 25-degree angle
}
}
void Test3::_lifeform_start(void)
{
energy = _startEnergy; // make sure no one dies when they're not supposed to.
if (this == _pStatue)
{
_printTestTitle();
set_speed(0.0);
#if TESTDEBUG
cerr << " Statue starting with energy " << energy << endl;
#endif
}
else
{
#if TESTDEBUG
cerr << " Mover starting with energy " << energy << endl;
#endif
set_course( position().Point::bearing(_pStatue->position()) );
set_speed(5.0);
_startMoveTime = Event::now();
double dist = position().distance(_pStatue->position());
double delta = (dist + 10.0) / 5.0;
_pPassStatueEvent = schedule<T3Results,bool,bool>(delta,
_tr,
&T3Results::reachedOrPassedStatue,
false,
missedEncounterHalt());
if (! missedEncounterHalt())
{
_pFinishAfterPassed = schedule<Test3>(delta + 0.1, self, &Test3::_finishAfterNoEncounter);
}
}
}
/*** Test3-specific */
Action Test3::encounter(const ObjInfo& obj_info)
{
if (this == _pMover)
{
_tr.reachedOrPassedStatue(true, false);
if (_pPassStatueEvent != NULL)
{ unschedule(_pPassStatueEvent);
}
if (_pFinishAfterPassed != NULL)
{ unschedule(_pFinishAfterPassed);
}
#if TESTDEBUG
cerr << " encounter with the _pStatue life form" << endl;
#endif
}
set_speed(0.0);
/*** Figure energy stuff */
double move_time = Event::now() - _startMoveTime;
double expected_movement_cost = movement_cost(5.0, move_time);
// this event will check for correct energy and setup a check for digestion
// event for the _pMover object.
(void)schedule<Test3,double>(0.1,
self,
&Test3::_afterEncounter,
(this == _pMover ? expected_movement_cost : 0.0));
Action action = LIFEFORM_IGNORE;
if (this == _pMover) action = encounterAction();
return action;
}
void Test3::_finishAfterNoEncounter()
{
#if TESTDEBUG
cerr << " _no_ encounter with the _pStatue life form" << endl;
#endif
set_speed(0.0);
/*** Figure energy stuff */
double move_time = Event::now() - _startMoveTime;
double expected_movement_cost = movement_cost(5.0, move_time);
// this event will check for correct energy and setup a check for digestion
// event for the _pMover object.
(void)schedule<Test3,double>(0.1,
self,
&Test3::_afterEncounter,
(this == _pMover ? expected_movement_cost : 0.0));
}
void Test3::_afterEncounter(double movement_cost)
{
typedef void (T3Results::*EnergyLogFunc)(bool,bool);
EnergyLogFunc logFunc = NULL;
if (this == _pMover)
{
logFunc = &T3Results::moverEnergy;
if (expectStatueDie()) { _tr.logResult("statue life form died", _bStatueDead); }
else { _tr.logResult("statue life form lived", ! _bStatueDead); }
}
else
{
logFunc = &T3Results::statueEnergy;
}
double expected = _startEnergy - (encounter_penalty + movement_cost);
if ( energy < _startEnergy - movement_cost )
{
if (_close_counts(energy, expected))
{
(_tr.*logFunc)(true, true);
#if TESTDEBUG
cerr << " " << (this == _pMover ? "mover " : "statue ")
<< "energy after encounter penalty is "
<< energy << ". That's good." << endl;
#endif
}
else
{
(_tr.*logFunc)(true, false);
#if TESTDEBUG
cerr << " DRAT: penalty assessed for encounter, but my\n"
" energy is " << energy << ", and it should be "
<< expected << endl;
#endif
}
}
else
{
(_tr.*logFunc)(false, false);
#if TESTDEBUG
cerr << " DRAT: no penalty assessed for encounter" << endl;
#endif
}
// Check that the food was digested properly - both mover and statue check,
// but only the mover should expect an increase.
expected = energy + (_startEnergy - encounter_penalty) * eat_efficiency;
schedule<Test3,double,double>(digestion_time + 1.0,
self,
&Test3::_afterDigestion,
energy,
(this == _pMover && expectToDigest()) ? expected : energy);
}
/**
* Check for proper digestion - the event
* @param energyBefore energy after encounter, before digestion
* @param energyAfter expected energy after digestion
*/
void Test3::_afterDigestion(double energyBefore, double energyAfter)
{
#if TESTDEBUG
cerr << " energy was " << energyBefore << ". After digestion time, expect near "
<< energyAfter << endl;
#endif
if (this == _pMover && expectToDigest())
{
if ( energy <= energyBefore || _close_counts(energy, energyBefore) )
{
_tr.logResult("mover digested statue", false);
#if TESTDEBUG
cerr << " DRAT: But instead, I didn't digest anything" << endl;
#endif
}
else
{
_tr.logResult("mover digested statue", true);
if (_close_counts(energy, energyAfter))
{
_tr.logResult("energy gained from meal is correct", true);
#if TESTDEBUG
cerr << " Yup, that's what I got." << endl;
#endif
}
else
{
_tr.logResult("energy gained from meal is correct", false);
#if TESTDEBUG
cerr << " DRAT: Well, I gained energy, but I have energy = "
<< energy << endl;
#endif
}
}
}
else
{
string szLog("statue digested nothing");
if (this == _pMover) szLog = "mover digested nothing";
if (_close_counts(energy, energyBefore))
{ _tr.logResult(szLog, true);
#if TESTDEBUG
cerr << " Yup, that's what I got." << endl;
#endif
}
else
{ _tr.logResult(szLog, false);
#if TESTDEBUG
cerr << " However, I appear to have digested something: energy = "
<< energy << endl;
#endif
}
}
if (this == _pMover)
{
schedule<TestResults>(1.0, _tr, &TestResults::endTest);
}
}
/*------------------------------------------------------------------------------*/
// Test 4
/*** Static data */
RkInitializer<Test4> __Test4_initializer("Test4");
/*** From base class */
LifeForm* Test4::create(void)
{
Test4* t4 = new Test4();
placeObject(t4);
return t4;
}
/*------------------------------------------------------------------------------*/
// Test 5
/*** Static data */
RkInitializer<Test5> __Test5_initializer("Test5");
/*** From base class */
LifeForm* Test5::create(void)
{
eat_success = 0.0; // prevent eat from being successful
Test5* t5 = new Test5();
placeObject(t5);
return t5;
}
/*------------------------------------------------------------------------------*/
// Test 6
/*** Static data */
RkInitializer<Test6> __Test6_initializer("Test6");
/*** From base class */
LifeForm* Test6::create(void)
{
eat_success = 1.0; // allow eat, but there should be nothing to eat
// after the collision.
Test6* t6 = new Test6();
placeObject(t6);
return t6;
}
void Test6::_lifeform_start(void)
{
if (this == _pStatue)
{
_printTestTitle();
energy = min_energy + encounter_penalty - 1.0; // dies during encounter
#if TESTDEBUG
cerr << " Statue starting with energy " << energy << endl;
#endif
}
else
{
Test3::_lifeform_start();
}
}
Test6::~Test6()
{
if (this == _pStatue)
{
#if TESTDEBUG
cerr << " Statue life form died at " << Event::now() << endl;
#endif
// _tr.logResult("encounter with Statue life form (might be reported twice)", true);
// success, otherwise, the test would have
// ended before this destructor was called
// I have to report the encounter again here. Since the statue life form
// dies from the encounter, it's possible that the student's
// LifeForm::resolve_ecounter() won't call _pMover->encounter() at all.
// I don't think that we specified in class or on the assignment that
// they have to call encounter() on the surviving LifeForm in such
// a case.
// _tr.logResult("statue life form died from encounter", true);
}
}
/*------------------------------------------------------------------------------*/
// Test 7
RkInitializer<Test7> __Test7_initializer("Test7");
T7Results Test7::_tr;
Test7* Test7::_lfA = NULL;
Test7* Test7::_lfB = NULL;
/*** From base class */
LifeForm* Test7::create(void)
{
Test7* t7 = new Test7;
// initialize position
if (_tr.firstTime())
{ // life form A
_lfA = t7;
t7->pos.xpos = (grid_max / 2.0) - 4.0;
t7->pos.ypos = (grid_max / 3.0) - 3.0;
}
else
{ // life form B
if (_lfB == NULL)
{
_lfB = t7;
t7->pos.xpos = (grid_max / 2.0) + 3.999;
t7->pos.ypos = (grid_max / 3.0) - 4.0;
}
else
{
t7->pos.xpos = grid_max - 1.0;
t7->pos.ypos = grid_max - 1.0;
}
}
return t7;
}
void Test7::_lifeform_start(void)
{
double threeFourFiveAngle = atan(3.0/4.0);
if (this == _lfA)
{
cout << "two running encounter:\n";
cout.flush();
set_speed(5.0);
set_course(threeFourFiveAngle);
_missedEncounterEvent = schedule<TestResults>(2.0, _tr, &TestResults::endTest);
// a little past the collision point
}
else if (this == _lfB)
{
set_speed(5.0);
set_course(threeFourFiveAngle + (M_PI / 2.0));
}
}
/*** Test7-specific */
Action Test7::encounter(const ObjInfo& obj_info)
{
if (_bFirstEncounter)
{
/***
* I need to make the two life forms run apart. Since (as per Craig's
* instruction) most students don't actually perform the body of
* update_position() unless significant time has passed since the last
* one, and since one of these two life forms is likely to be _very_
* close to the border toward which it will run now, I need to allow a
* little bit of time to pass before running for that border.
*
* So here's what I do. Call set_speed(0.0), first. Then, go ahead
* and call set_course() for each life form right away. But with a
* speed of 0.0, it won't actually start running toward the border yet.
* Then, I set an event for 0.1 time units in the future to set my speed
* to 5.0. That way update_position() should go ahead and let the life
* form move over the border as I need it to.
*/
set_speed(0.0);
#if TESTDEBUG
cerr << " " << this << ": first encounter (distance=" << obj_info.distance
<< "), moving apart" << endl;
#endif
_bFirstEncounter = false;
set_course(obj_info.bearing + M_PI); // move apart
if (_missedEncounterEvent != NULL)
{
// life form A
unschedule(_missedEncounterEvent);
schedule<Test7>(0.599999, self, &Test7::goBack);
}
else
{ // life form B
schedule<LifeForm,bool>(0.6, self, &Test7::die, true);
}
schedule<LifeForm,double>(0.1, self, &LifeForm::set_speed, 5.0);
}
#if TESTDEBUG
else
{
cerr << " " << this << ": subsequent encounter (distance="
<< obj_info.distance << ")" << endl;
if (_bOnWayBack)
{
cerr << " DRAT: encounter with a dead guy?" << endl;
}
}
#endif
if (_bOnWayBack)
{
_tr.deadEncounter();
}
else
{
if (this == _lfA) _tr.logAEncounter();
else _tr.logBEncounter();
}
return LIFEFORM_IGNORE;
}
void Test7::goBack()
{
assert(this == _lfA);
#if TESTDEBUG
cerr << " " << this << ": turning around to trample dead one" << endl;
#endif
set_course( position().bearing(_lfB->position()) );
schedule<TestResults>(2.0, _tr, &TestResults::endTest); // should only take 1.0 time
// units to reach _lfB
_bOnWayBack = true;
}
/*------------------------------------------------------------------------------*/
// Test 8
/*** Static data */
RkInitializer<Test8> __Test8_initializer("Test8");
TestResults Test8::_tr;
/*** From base class */
LifeForm* Test8::create(void)
{
Test8* t8 = new Test8;
// initialize position
if (_tr.firstTime())
{
t8->_me = 0;
t8->pos.xpos = 2.0; // top left
t8->pos.ypos = grid_max / 3.0;
}
else
{
t8->_me = 1;
t8->pos.xpos = 100.0; // top right
t8->pos.ypos = grid_max / 3.0;
}
return t8;
}
void Test8::_lifeform_start(void)
{
energy = 1000.0;
if (_me == 0)
{
cout << "movement cost:\n";
cout.flush();
#if TESTDEBUG
cerr << " Starting energy for both Test8 life forms: " << energy << endl;
#endif
set_course(0.0);
set_speed(8.0);
_runDistance = (100.0 - 2.0) + 0.1; // Make sure I get over the border
double delta_time = _runDistance / 8.0;
schedule(delta_time, self, &Test8::stop_running, pos.xpos + _runDistance);
_expected_energy = energy - movement_cost(8.0, delta_time);
#if TESTDEBUG
cerr << " starting movement at xpos = " << position().xpos
<< ", energy = " << energy << "\n"
<< " expect to end up at xpos = "
<< position().xpos + _runDistance << ", energy = "
<< _expected_energy << endl;
#endif
}
else
{
assert(_me == 1);
set_speed(0.0);
}
}
void Test8::stop_running(double expected_xpos)
{
if (! _close_counts(pos.xpos, expected_xpos, 0.2) )
{
_tr.logResult("position after running looks good", false);
#if TESTDEBUG
cerr << " DRAT: Hmm, I should be at x-coordinate " << expected_xpos
<< ", but instead I'm at " << pos.xpos << endl;
#endif
}
else _tr.logResult("position after running looks good", true);
set_speed(0.0);
schedule(0.0, self, &Test8::check_health_and_die);
}
void Test8::check_health_and_die()
{
_tr.logResult("some movement penalty assessed", energy < 1000.0 - 0.001);
if ( (energy >= _expected_energy && (energy - _expected_energy) < VERY_CLOSE * 2.0)
|| (energy < _expected_energy && (_expected_energy - energy) < VERY_CLOSE * 2.0)
)
{
_tr.logResult("movement energy penalty correct", true);
#if TESTDEBUG
cerr << " After running, my energy is " << energy << ", as expected" << endl;
#endif
}
else
{
_tr.logResult("movement energy penalty correct", false);
#if TESTDEBUG
cerr << " DRAT: After running, my energy is " << energy
<< ", but I expected " << _expected_energy << endl;
#endif
}
schedule<TestResults>(0.0, _tr, &TestResults::endTest);
}
/*------------------------------------------------------------------------------*/
// Test 9
/*** Static data */
RkInitializer<Test9> __Test9_initializer("Test9");
TestResults Test9::_tr;
/*** From base class */
LifeForm* Test9::create(void)
{
Test9* t9 = new Test9;
// initialize position
t9->pos.xpos = grid_max - 25.0;
t9->pos.ypos = grid_max - 50.0;
return t9;
}
void Test9::_lifeform_start(void)
{
energy = 1000.0;
cout << "Christopher Columbus in a parallel universe:\n";
cout.flush();
#if TESTDEBUG
cerr << " Starting energy for Test9 life form: " << energy << endl;
#endif
set_course(M_PI / 4.0); // 45 degrees
set_speed(8.0);
double distToEnd = 1.4142135623731 * 25.0; // course ((x/y) len) * sqrt(2)
double runDistance = distToEnd + 1.0; // plus 1.0 nudge past edge
double delta_time = runDistance / 8.0;
schedule<TestResults,string,bool>( delta_time,
_tr,
&TestResults::failedToDie,
"Christopher",
true
);
_expectedDeathTime = Event::now() + (distToEnd / 8.0);
}
Test9::~Test9()
{
if ( _close_counts(Event::now(), _expectedDeathTime,
(0.1 /* lee-way dist */) / 8.0 /* speed */)
)
{
_tr.logResult("Christopher died when expected", true);
#if TESTDEBUG
cerr << " Christopher died at " << Event::now() << " as expected" << endl;
#endif
}
else
{
_tr.failedToDie("Christopher", false);
#if TESTDEBUG
cerr << " DRAT: Christopher died, but at time " << Event::now()
<< ".\n I was expecting something near time " << _expectedDeathTime
<< endl;
#endif
}
schedule<TestResults>(0.0, _tr, &TestResults::endTest);
}
/*------------------------------------------------------------------------------*/
// Test 10
/*** Static data */
RkInitializer<Test10> __Test10_initializer("Test10");
T10Results Test10::_tr;
/*** From base class */
LifeForm* Test10::create(void)
{
g_use_algae_spores = true;
Test10* t10 = new Test10();
t10->pos.xpos = grid_max - 0.5;
t10->pos.ypos = grid_max - 0.5;
return t10;
}
void Test10::_lifeform_start(void)
{
cout << "event queue monitor:\n";
cout.flush();
schedule<T10Results>(1.0, _tr, &T10Results::monitorQueue);
}
/*------------------------------------------------------------------------------*/
// Test 11
/*** Static data */
RkInitializer<Test11> __Test11_initializer("Test11");
/*** From base class */
LifeForm* Test11::create(void)
{
g_use_algae_spores = true;
Test11* t11 = new Test11();
t11->pos.xpos = grid_max - 0.5;
t11->pos.ypos = grid_max - 0.5;
return t11;
}
|
841a5532269b3dbdda9364a922dc401081664e0b
|
0fee103f9ed82978144d9741e46882c7df9eedb1
|
/Atcoder/AGC021/F.cpp
|
a604abbcfc29549c14996152ede0eebd31100832
|
[] |
no_license
|
Flying2019/testgit
|
2776b6bc3a5839a005726ff108fb69d971065871
|
86a42bb1d4bfd65b5471373f03162270013da2af
|
refs/heads/main
| 2023-07-15T00:57:55.321869
| 2021-08-21T01:16:53
| 2021-08-21T01:16:53
| 302,891,112
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,174
|
cpp
|
F.cpp
|
#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
const int N=8010,mod=998244353;
int fac[N],inv[N];
int ksm(int a,int b=mod-2)
{
int r=1;
for(;b;b>>=1)
{
if(b&1) r=1ll*r*a%mod;
a=1ll*a*a%mod;
}
return r;
}
int C(int a,int b){return a<b || a<0 || b<0?0:1ll*fac[a]*inv[b]%mod*inv[a-b]%mod;}
void init(int n=N-5)
{
fac[0]=1;
for(int i=1;i<=n;i++) fac[i]=1ll*fac[i-1]*i%mod;
inv[n]=ksm(fac[n]);
for(int i=n-1;i>=0;i--) inv[i]=1ll*inv[i+1]*(i+1)%mod;
}
namespace ntt{
const int G=3,Gi=(mod+1)/G;
int rev[N<<2];
int init_rev(int n)
{
int lim=1,l=0;
while(lim<=n) lim<<=1,l++;
for(int i=1;i<lim;i++) rev[i]=(rev[i>>1]>>1)|((i&1)<<(l-1));
return lim;
}
void ntt(int f[],int lim,int opt)
{
for(int i=0;i<lim;i++)
if(i<rev[i]) swap(f[i],f[rev[i]]);
for(int mid=1;mid<lim;mid<<=1)
{
int r=ksm(opt==1?G:Gi,(mod-1)/(mid*2));
for(int i=0;i<lim;i+=mid*2)
for(int j=0,o=1;j<mid;j++,o=1ll*o*r%mod)
{
int x=f[i+j],y=1ll*f[i+j+mid]*o%mod;
f[i+j]=(x+y)%mod;
f[i+j+mid]=(x-y+mod)%mod;
}
}
if(opt==-1)
{
int r=ksm(lim);
for(int i=0;i<lim;i++) f[i]=1ll*f[i]*r%mod;
}
}
}
int f[N<<2],g[N<<2],h1[N<<2],h2[N<<2];
int main()
{
int n,m;
scanf("%d%d",&n,&m);
init();
int lim=ntt::init_rev((n+1)*2);
f[0]=1;
for(int i=1;i<=m;i++)
{
for(int j=0;j<=n;j++) g[j]=1ll*f[j]*(1+j+1ll*j*(j-1)/2%mod)%mod;
for(int j=0;j<=n;j++) h1[j]=1ll*f[j]*inv[j]%mod,h2[j]=inv[j+2];
h2[0]=0;
for(int j=n+1;j<=lim;j++) h1[j]=h2[j]=0;
ntt::ntt(h1,lim,1);ntt::ntt(h2,lim,1);
for(int j=0;j<lim;j++) f[j]=1ll*h1[j]*h2[j]%mod;
ntt::ntt(f,lim,-1);
for(int j=0;j<=n;j++) f[j]=(1ll*fac[j+2]*f[j]+g[j])%mod;
for(int j=n+1;j<lim;j++) f[j]=0;
}
int ans=0;
for(int i=0;i<=n;i++) ans=(ans+1ll*C(n,i)*f[i])%mod;
printf("%d\n",ans);
return 0;
}
|
1f6b4ad65712dceac887ba41e93f841dbb5dd696
|
215e57248338428dff3b8a2ebafa5ba638879f82
|
/test/AccountUnitTest.cpp
|
00e39a4f4c51c6bf3239bd230bd6854c4be52246
|
[] |
no_license
|
xfresh-aiRx/Bank_Account
|
35aad3208b79aeffb98503473998dfe918a9e16f
|
2ec2cf910a1041b13f99f6d406b49548cf8f8e7a
|
refs/heads/main
| 2023-02-24T01:51:05.861510
| 2021-01-27T22:16:29
| 2021-01-27T22:16:29
| 301,164,571
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 48
|
cpp
|
AccountUnitTest.cpp
|
#include <gtest/gtest.h>
#include "Account.hpp"
|
1a06c64385f1bb2d20d5e6583eee717f1bdc05ed
|
d1acc39b165df125fa292f6b74d020e607d1e25d
|
/applications/gui2/src/modules/calibration/calibration.hpp
|
fa766093a532378dcea414bf3d8edaf604299699
|
[
"MIT"
] |
permissive
|
knicos/voltu
|
1e30cb44ec1938fe805d4c09b6f154434bd5cfb9
|
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
|
refs/heads/master
| 2023-07-12T02:14:11.356168
| 2021-08-12T09:08:42
| 2021-08-12T09:08:42
| 318,145,509
| 5
| 2
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 14,454
|
hpp
|
calibration.hpp
|
/**
* @file calibration.hpp
* @copyright Copyright (c) 2020 University of Turku, MIT License
* @author Sebastian Hahta
*/
#pragma once
#include "../../module.hpp"
#include <ftl/calibration/object.hpp>
#include <ftl/calibration/extrinsic.hpp>
#include <ftl/calibration/structures.hpp>
#include <opencv2/core/types.hpp>
namespace ftl
{
namespace gui2
{
/** OpenCV calibration flags */
class OpenCVCalibrateFlags {
public:
bool has(unsigned int flag) const { return (flags_ & flag) != 0; }
void set(unsigned int flag) { flags_ |= flag; }
void unset(unsigned int flag) { flags_ &= ~flag; }
void reset() { flags_ = 0; }
std::string name(int) const;
operator int() { return flags_; }
virtual int defaultFlags() const;
virtual std::vector<int> list() const;
virtual std::string explain(int) const;
private:
int flags_ = 0;
};
class OpenCVCalibrateFlagsStereo : public OpenCVCalibrateFlags {
public:
int defaultFlags() const override;
std::vector<int> list() const override;
std::string explain(int) const override;
};
/**
* Calibration. Loads Intrinsic and Extrinsic calibration modules and
* adds buttons to main screen.
*/
class Calibration : public Module {
public:
using Module::Module;
virtual ~Calibration();
virtual void init() override;
};
/**
* Calibration base module. Implements methods to loading/saving calibration.
* Also manages enabling/disabling calibration.
*/
class CalibrationModule : public Module {
public:
using Module::Module;
virtual void init() = 0;
protected:
/** Set new calibration. */
void setCalibration(ftl::data::Frame& frame, ftl::calibration::CalibrationData data);
/** Activate/deactivate calibration (rectification, distortion corrections,
* ...). See also StereoVideo */
/** set mode, update performed by checkFrame() when next called */
void setCalibrationMode(bool value);
/** set mode directly to frame */
void setCalibrationMode(ftl::data::Frame& frame, bool value);
/** Check everything is in expected state. If returns true, processing can
* continue. Use this in frameset callback. Also sets calibration mode if
* it doesn't match with stored state. Should always be called in FrameSet
* callback.
*/
bool checkFrame(ftl::data::Frame& frame);
cv::cuda::GpuMat getGpuMat(ftl::rgbd::Frame&, ftl::codecs::Channel);
cv::Mat getMat(ftl::rgbd::Frame&, ftl::codecs::Channel);
private:
bool calibrationEnabled(ftl::data::Frame& frame);
std::atomic_bool wait_update_ = false;
std::atomic_bool calibration_enabled_ = false;
ftl::Handle update_handle_;
};
/**
* GUI for camera intrinsic calibration. Only sources which have CalibrationData
* channel can be calibrated (StereoVideo receives updates and saves them).
*
* TODO: Catch exceptions in future and report back to GUI. At the moment
* errors are printed with logging.
* TODO: View: add button to get back to chessboard/capture parameters.
* TODO: Saving calibration should give more feedback, saved just tells it was
* sent but it does not verify it was received (or know if it was
* successfully saved; if saving fails do not write file/changes; how
* to inform GUI/client about the error?)
*
* TODO: FEATURE: Add timer to calibration window showing remaining time until
* next picture is captured.
* TODO: FEATURE: Add calibration image window for browsing calibration images
* and discarding bad images manually. Also should support visualization
* of calibration results; draw detected points and re-projected points
* using OpenGL (reproject points implemented in calibration:: using
* with OpenCV).
* TODO: FEATURE: Visualize lens distortion. Plot regular grid and apply
* distortion model.
*/
class IntrinsicCalibration : public CalibrationModule {
public:
using CalibrationModule::CalibrationModule;
virtual void init() override;
virtual ~IntrinsicCalibration();
/** start calibration process, replaces active view */
void start(ftl::data::FrameID id);
bool hasChannel(ftl::codecs::Channel c);
/** select channel */
void setChannel(ftl::codecs::Channel c);
ftl::codecs::Channel channel() { return state_->channel; }
int count() { return state_->count; }
int calibrated() { return state_->calibrated; }
OpenCVCalibrateFlags& flags() { return state_->flags; };
int defaultFlags();
/** Reset calibration instance, discards drops all state. */
void reset();
void setChessboard(cv::Size, double);
cv::Size chessboardSize();
double squareSize();
/** Returns if capture/calibration is still processing in background.
* calib() instance must not be modifed while isBusy() is true.
*/
bool isBusy();
/** Start/stop capture. After stopping, use isBusy() to check when last
* frame is finished.
*/
void setCapture(bool v) { state_->capture = v; }
bool capturing() { return state_->capture; }
/** get/set capture frequency: interval between processed frames in
* chessboard detection
*/
void setFrequency(float v) { state_->frequency = v; }
float frequency() { return state_->frequency; }
int maxIter() { return state_->max_iter; }
void setMaxIter(int v) { state_->max_iter = v; }
/** Run calibration in another thread. Check status with isBusy(). */
void run();
/** Save calibration */
void saveCalibration();
ftl::calibration::CalibrationData::Intrinsic calibration();
float reprojectionError() { return state_->reprojection_error; }
/** Get sensor size from config/previous calibration (in mm) */
cv::Size2d sensorSize();
void setSensorSize(cv::Size2d size);
/** Set/get focal length in mm */
double focalLength();
void setFocalLength(double value, cv::Size2d sensor_size);
/** Set principal point at image center */
void resetPrincipalPoint();
void resetDistortion();
/** get current frame */
cv::cuda::GpuMat getFrame();
bool hasFrame();
cv::cuda::GpuMat getFrameUndistort();
/** get previous points (visualization) */
std::vector<cv::Point2f> previousPoints();
// must not be running_
//std::vector<cv::Point2f> getPoints(int n);
//std::vector<cv::Point2f> getProjectedPoints(int n);
/** List sources which can be calibrated.
*/
std::vector<std::pair<std::string, ftl::data::FrameID>> listSources(bool all=false);
private:
bool onFrame_(const ftl::data::FrameSetPtr& fs);
/** Set actual channel (channel_alt_) to high res if found in fs */
void setChannel_(ftl::data::FrameSetPtr fs);
std::future<void> future_;
std::mutex mtx_;
ftl::data::FrameSetPtr fs_current_;
ftl::data::FrameSetPtr fs_update_;
struct State {
cv::Mat gray;
ftl::codecs::Channel channel;
ftl::codecs::Channel channel_alt;
ftl::data::FrameID id;
std::atomic_bool capture = false;
std::atomic_bool running = false;
float last = 0.0f;
float frequency = 0.5f;
bool calibrated = false;
int count = 0;
int max_iter = 50;
float reprojection_error = NAN;
std::vector<std::vector<cv::Point2f>> points;
std::vector<std::vector<cv::Point3f>> points_object;
std::unique_ptr<ftl::calibration::ChessboardObject> object;
OpenCVCalibrateFlags flags;
ftl::calibration::CalibrationData::Intrinsic calib;
};
std::unique_ptr<State> state_;
};
////////////////////////////////////////////////////////////////////////////////
/**
* GUI for camera extrinsic calibration. Sources must be in same FrameSet
* (synchronization) and have CalibrationData channel. Provided extrinsic
* parameters can be used to calculate paramters for stereo rectification.
*/
class ExtrinsicCalibration : public CalibrationModule {
public:
using CalibrationModule::CalibrationModule;
virtual void init() override;
virtual ~ExtrinsicCalibration();
/** List framesets and calibrateable sources */
std::vector<std::pair<std::string, unsigned int>> listFrameSets();
std::vector<std::pair<std::string, ftl::data::FrameID>> listSources(unsigned int fsid, bool all);
/** start calibration process for given frames. Assumes stereo,
* calibration: left and right channels are used. */
void start(unsigned int fsid, std::vector<ftl::data::FrameID> sources);
/** discard current state and load defaults */
void reset();
int cameraCount();
std::string cameraName(int camera);
std::vector<std::string> cameraNames();
ftl::calibration::ExtrinsicCalibration& calib() { return state_.calib; } // should avoid
/** hasFrame(int) must be true before calling getFrame() **/
bool hasFrame(int camera);
const cv::cuda::GpuMat getFrame(int camera);
const cv::cuda::GpuMat getFrameRectified(int camera);
/** Next FrameSet, returns true if new FrameSet is available */
bool next();
bool capturing();
void setCapture(bool value);
/** Set callback for point detection. Callback returns number of points
* found, takes input frame, channel and output points as arguments.
*/
//void setCallback(const std::function<int(cv::InputArray, const cv::Mat&, const cv::Mat&, std::vector<cv::Point2f>&)>& cb) { cb_detect_ = cb; }
struct CameraID : ftl::data::FrameID {
CameraID(unsigned int fs, unsigned int s, ftl::codecs::Channel channel) :
ftl::data::FrameID::FrameID(fs, s), channel(channel) {}
const ftl::codecs::Channel channel;
};
/** list selected (active) cameras */
std::vector<CameraID> cameras();
/** Run calibration in another thread. Check status with isBusy(). */
void run();
/** Returns if capture/calibration is still processing in background.
* calib() instance must not be modifed while isBusy() is true.
*/
bool isBusy();
/** status message */
std::string status() { return state_.calib.status(); }
/** Get previous points (for visualization) */
const std::vector<cv::Point2d>& previousPoints(int camera);
/** Get number of frames captured by a camera */
int getFrameCount(int c);
void updateCalibration(int c);
void updateCalibration();
void saveInput(const std::string& filename);
void loadInput(const std::string& filename);
ftl::calibration::CalibrationData::Calibration calibration(int camera);
double reprojectionError(int camera=-1);
enum Flags {
ZERO_DISTORTION = 1,
RATIONAL_MODEL = 2,
FIX_INTRINSIC = 4,
FIX_FOCAL = 8,
FIX_PRINCIPAL_POINT = 16,
FIX_DISTORTION = 32,
LOSS_CAUCHY = 64,
NONMONOTONIC_STEP = 128,
};
void setFlags(int flags);
int flags() const;
protected:
ftl::calibration::CalibrationData::Calibration getCalibration(CameraID id);
/** Calculate stereo rectification maps for two cameras; state_.maps[1,2]
* must already be initialized at correct size */
void stereoRectify(int cl, int cr,
const ftl::calibration::CalibrationData::Calibration& l,
const ftl::calibration::CalibrationData::Calibration& r);
private:
// map frameid+channel to int. used by ExtrinsicCalibration
bool onFrameSet_(const ftl::data::FrameSetPtr& fs);
std::future<void> future_;
std::atomic_bool running_;
ftl::data::FrameSetPtr fs_current_;
ftl::data::FrameSetPtr fs_update_;
struct State {
bool capture = false;
int min_cameras = 2;
int flags = 0;
std::vector<CameraID> cameras;
std::unique_ptr<ftl::calibration::CalibrationObject> calib_object;
ftl::calibration::ExtrinsicCalibration calib;
std::vector<std::vector<cv::Point2d>> points_prev;
std::vector<cv::cuda::GpuMat> maps1;
std::vector<cv::cuda::GpuMat> maps2;
};
State state_;
};
////////////////////////////////////////////////////////////////////////////////
/** Stereo calibration for OpenCV's calibrateStereo() */
class StereoCalibration : public CalibrationModule {
public:
using CalibrationModule::CalibrationModule;
virtual void init() override;
virtual ~StereoCalibration();
/** start calibration process, replaces active view */
void start(ftl::data::FrameID id);
bool hasChannel(ftl::codecs::Channel c);
void setChessboard(cv::Size, double);
cv::Size chessboardSize();
double squareSize();
/** Reset calibration instance, discards drops all state. */
void reset();
OpenCVCalibrateFlagsStereo& flags() { return state_->flags; };
void resetFlags();
/** Returns if capture/calibration is still processing in background.
* calib() instance must not be modifed while isBusy() is true.
*/
bool isBusy();
/** Start/stop capture. After stopping, use isBusy() to check when last
* frame is finished.
*/
void setCapture(bool v);
bool capturing();
/** get/set capture frequency: interval between processed frames in
* chessboard detection
*/
void setFrequency(float v);
float frequency();
/** Run calibration in another thread. Check status with isBusy(). */
void run();
/** Save calibration */
void saveCalibration();
/** check if calibration valid: baseline > 0 */
bool calibrated();
/** get current frame */
cv::cuda::GpuMat getLeft();
cv::cuda::GpuMat getRight();
cv::cuda::GpuMat getLeftRectify();
cv::cuda::GpuMat getRightRectify();
bool hasFrame();
ftl::calibration::CalibrationData::Calibration calibrationLeft();
ftl::calibration::CalibrationData::Calibration calibrationRight();
double baseline();
/** get previous points (visualization) */
std::vector<std::vector<cv::Point2f>> previousPoints();
cv::cuda::GpuMat getLeftPrevious();
cv::cuda::GpuMat getRightPrevious();
int count() const { return state_->count; }
/** List sources which can be calibrated.
*/
std::vector<std::pair<std::string, ftl::data::FrameID>> listSources(bool all=false);
private:
bool onFrame_(const ftl::data::FrameSetPtr& fs);
void calculateRectification();
ftl::rgbd::Frame& frame_();
ftl::codecs::Channel channelLeft_();
ftl::codecs::Channel channelRight_();
std::future<void> future_;
std::mutex mtx_;
ftl::data::FrameSetPtr fs_current_;
ftl::data::FrameSetPtr fs_update_;
struct State {
cv::Mat gray_left;
cv::Mat gray_right;
ftl::calibration::CalibrationData calib;
std::unique_ptr<ftl::calibration::ChessboardObject> object;
ftl::data::FrameID id;
bool highres = false;
cv::Size imsize;
std::atomic_bool capture = false;
std::atomic_bool running = false;
float last = 0.0f;
float frequency = 0.5f;
int count = 0;
float reprojection_error = NAN;
OpenCVCalibrateFlagsStereo flags;
// maps for rectification (cv)
std::pair<cv::Mat, cv::Mat> map_l;
std::pair<cv::Mat, cv::Mat> map_r;
cv::Rect validROI_l;
cv::Rect validROI_r;
ftl::data::FrameSetPtr fs_previous_points;
std::vector<std::vector<cv::Point2f>> points_l;
std::vector<std::vector<cv::Point2f>> points_r;
std::vector<std::vector<cv::Point3f>> points_object;
};
std::unique_ptr<State> state_;
};
}
}
|
c0e8643f2788728dee06c37ffbba53fc90133857
|
e27eb828b38e634279c767a4cf6d8caa2a35b018
|
/ports-juce5/klangfalter/source/UI/IRComponent.cpp
|
3d13070967524945e2517564e65b49648cd6fc76
|
[] |
no_license
|
DISTRHO/DISTRHO-Ports
|
8d9ea43ac7f6264f1b28ff4150e432e43683a9b4
|
f2dbaded0a05732e3499fa374a586e5b32370da5
|
refs/heads/master
| 2023-08-18T12:45:11.671939
| 2022-07-13T00:12:08
| 2022-07-13T00:12:08
| 16,835,158
| 233
| 45
| null | 2023-06-08T05:10:21
| 2014-02-14T11:14:11
|
C++
|
UTF-8
|
C++
| false
| false
| 11,014
|
cpp
|
IRComponent.cpp
|
/*
==============================================================================
This is an automatically generated file created by the Jucer!
Creation date: 8 Mar 2013 10:37:54am
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved.
Jucer version: 1.12
------------------------------------------------------------------------------
The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-6 by Raw Material Software ltd.
==============================================================================
*/
//[Headers] You can add your own extra header files here...
#include "../IRAgent.h"
#include "../Settings.h"
//[/Headers]
#include "IRComponent.h"
//[MiscUserDefs] You can add your own user definitions and misc code here...
//[/MiscUserDefs]
//==============================================================================
IRComponent::IRComponent ()
: Component (L"IRComponent"),
_waveformComponent (0),
_loadButton (0),
_clearButton (0),
_channelComboBox (0),
_channelHeaderLabel (0)
{
addAndMakeVisible (_waveformComponent = new WaveformComponent());
_waveformComponent->setName (L"WaveformComponent");
addAndMakeVisible (_loadButton = new TextButton (L"LoadButton"));
_loadButton->setTooltip (L"Click To Change Impulse Response");
_loadButton->setButtonText (L"No Impulse Response");
_loadButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
_loadButton->addListener (this);
_loadButton->setColour (TextButton::buttonColourId, Colour (0xbbbbff));
_loadButton->setColour (TextButton::buttonOnColourId, Colour (0x4444ff));
_loadButton->setColour (TextButton::textColourOnId, Colour (0xff202020));
_loadButton->setColour (TextButton::textColourOffId, Colour (0xff202020));
addAndMakeVisible (_clearButton = new TextButton (L"ClearButton"));
_clearButton->setTooltip (L"Clear Impulse Response");
_clearButton->setButtonText (L"X");
_clearButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
_clearButton->addListener (this);
addAndMakeVisible (_channelComboBox = new ComboBox (L"ChannelComboBox"));
_channelComboBox->setTooltip (L"Select Channel Of Currently Loaded Audio File");
_channelComboBox->setEditableText (false);
_channelComboBox->setJustificationType (Justification::centred);
_channelComboBox->setTextWhenNothingSelected (String());
_channelComboBox->setTextWhenNoChoicesAvailable (L"(no choices)");
_channelComboBox->addListener (this);
addAndMakeVisible (_channelHeaderLabel = new Label (String(),
L"Channel:"));
_channelHeaderLabel->setFont (Font (15.0000f, Font::plain));
_channelHeaderLabel->setJustificationType (Justification::centredLeft);
_channelHeaderLabel->setEditable (false, false, false);
_channelHeaderLabel->setColour (Label::textColourId, Colour (0xff202020));
_channelHeaderLabel->setColour (TextEditor::textColourId, Colour (0xff202020));
_channelHeaderLabel->setColour (TextEditor::backgroundColourId, Colour (0x0));
//[UserPreSize]
//[/UserPreSize]
setSize (540, 172);
//[Constructor] You can add your own custom stuff here..
_irAgent = nullptr;
//[/Constructor]
}
IRComponent::~IRComponent()
{
//[Destructor_pre]. You can add your own custom destruction code here..
IRComponent::init(nullptr);
//[/Destructor_pre]
deleteAndZero (_waveformComponent);
deleteAndZero (_loadButton);
deleteAndZero (_clearButton);
deleteAndZero (_channelComboBox);
deleteAndZero (_channelHeaderLabel);
//[Destructor]. You can add your own custom destruction code here..
//[/Destructor]
}
//==============================================================================
void IRComponent::paint (Graphics& g)
{
//[UserPrePaint] Add your own custom painting code here..
//[/UserPrePaint]
g.fillAll (Colour (0xffb0b0b6));
//[UserPaint] Add your own custom painting code here..
//[/UserPaint]
}
void IRComponent::resized()
{
_waveformComponent->setBounds (4, 4, 532, 140);
_loadButton->setBounds (4, 148, 396, 24);
_clearButton->setBounds (516, 148, 20, 20);
_channelComboBox->setBounds (468, 148, 40, 20);
_channelHeaderLabel->setBounds (404, 152, 64, 15);
//[UserResized] Add your own custom resize handling here..
//[/UserResized]
}
void IRComponent::buttonClicked (Button* buttonThatWasClicked)
{
//[UserbuttonClicked_Pre]
//[/UserbuttonClicked_Pre]
if (buttonThatWasClicked == _loadButton)
{
//[UserButtonCode__loadButton] -- add your button handler code here..
AudioFormatManager formatManager;
formatManager.registerBasicFormats();
FileChooser fileChooser("Choose a file to open...",
_irAgent->getProcessor().getSettings().getImpulseResponseDirectory(),
formatManager.getWildcardForAllFormats(),
true);
if (fileChooser.browseForFileToOpen() && fileChooser.getResults().size() == 1)
{
const File file = fileChooser.getResults().getReference(0);
_irAgent->setFile(file, 0);
}
//[/UserButtonCode__loadButton]
}
else if (buttonThatWasClicked == _clearButton)
{
//[UserButtonCode__clearButton] -- add your button handler code here..
if (_irAgent)
{
_irAgent->clear();
}
//[/UserButtonCode__clearButton]
}
//[UserbuttonClicked_Post]
//[/UserbuttonClicked_Post]
}
void IRComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
{
//[UsercomboBoxChanged_Pre]
//[/UsercomboBoxChanged_Pre]
if (comboBoxThatHasChanged == _channelComboBox)
{
//[UserComboBoxCode__channelComboBox] -- add your combo box handling code here..
if (_irAgent)
{
const int selectedId = comboBoxThatHasChanged->getSelectedId();
_irAgent->setFile(_irAgent->getFile(), static_cast<size_t>(std::max(0, selectedId-1)));
}
//[/UserComboBoxCode__channelComboBox]
}
//[UsercomboBoxChanged_Post]
//[/UsercomboBoxChanged_Post]
}
//[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
void IRComponent::init(IRAgent* irAgent)
{
if (_irAgent)
{
_irAgent->removeNotificationListener(this);
_irAgent->getProcessor().removeNotificationListener(this);
_irAgent = nullptr;
}
if (irAgent)
{
_irAgent = irAgent;
_irAgent->addNotificationListener(this);
_irAgent->getProcessor().addNotificationListener(this);
}
irChanged();
}
void IRComponent::irChanged()
{
String fileLabelText("No File Loaded");
_channelComboBox->clear();
juce::String toolTip("No Impulse Response");
double sampleRate = 0.0;
size_t samplesPerPx = 0;
if (_irAgent)
{
const File file = _irAgent->getFile();
if (file.exists())
{
const Processor& processor = _irAgent->getProcessor();
const unsigned fileSampleCount = static_cast<unsigned>(_irAgent->getFileSampleCount());
const double fileSampleRate = _irAgent->getFileSampleRate();
const double fileSeconds = static_cast<double>(fileSampleCount) / fileSampleRate;
const unsigned fileChannelCount = static_cast<unsigned>(_irAgent->getFileChannelCount());
fileLabelText = file.getFileName() + String(", ") + String(fileChannelCount) + String(" Channels, ") + String(fileSeconds, 2) + String(" s");
for (size_t i=0; i<fileChannelCount; ++i)
{
_channelComboBox->addItem(String(static_cast<int>(i+1)), i+1);
}
_channelComboBox->setSelectedId(static_cast<int>(_irAgent->getFileChannel()+1));
sampleRate = processor.getSampleRate();
samplesPerPx = static_cast<size_t>(1.6 * (processor.getMaxFileDuration()+1.0) * sampleRate) / _waveformComponent->getWidth();
}
}
_waveformComponent->init(_irAgent, sampleRate, samplesPerPx);
_loadButton->setButtonText(fileLabelText);
}
void IRComponent::changeNotification()
{
irChanged();
}
//[/MiscUserCode]
//==============================================================================
#if 0
/* -- Jucer information section --
This is where the Jucer puts all of its metadata, so don't change anything in here!
BEGIN_JUCER_METADATA
<JUCER_COMPONENT documentType="Component" className="IRComponent" componentName="IRComponent"
parentClasses="public Component, public ChangeNotifier::Listener"
constructorParams="" variableInitialisers="" snapPixels="4" snapActive="1"
snapShown="1" overlayOpacity="0.330000013" fixedSize="1" initialWidth="540"
initialHeight="172">
<BACKGROUND backgroundColour="ffb0b0b6"/>
<GENERICCOMPONENT name="WaveformComponent" id="c9f33b0ee0917f49" memberName="_waveformComponent"
virtualName="" explicitFocusOrder="0" pos="4 4 532 140" class="WaveformComponent"
params=""/>
<TEXTBUTTON name="LoadButton" id="5798b8525a699c54" memberName="_loadButton"
virtualName="" explicitFocusOrder="0" pos="4 148 396 24" tooltip="Click To Change Impulse Response"
bgColOff="bbbbff" bgColOn="4444ff" textCol="ff202020" textColOn="ff202020"
buttonText="No Impulse Response" connectedEdges="3" needsCallback="1"
radioGroupId="0"/>
<TEXTBUTTON name="ClearButton" id="6bd842f223117695" memberName="_clearButton"
virtualName="" explicitFocusOrder="0" pos="516 148 20 20" tooltip="Clear Impulse Response"
buttonText="X" connectedEdges="3" needsCallback="1" radioGroupId="0"/>
<COMBOBOX name="ChannelComboBox" id="c1bafd26d5583017" memberName="_channelComboBox"
virtualName="" explicitFocusOrder="0" pos="468 148 40 20" tooltip="Select Channel Of Currently Loaded Audio File"
editable="0" layout="36" items="" textWhenNonSelected="" textWhenNoItems="(no choices)"/>
<LABEL name="" id="7dd1e4a23ce6582b" memberName="_channelHeaderLabel"
virtualName="" explicitFocusOrder="0" pos="404 152 64 15" textCol="ff202020"
edTextCol="ff202020" edBkgCol="0" labelText="Channel:" editableSingleClick="0"
editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
fontsize="15" bold="0" italic="0" justification="33"/>
</JUCER_COMPONENT>
END_JUCER_METADATA
*/
#endif
|
6a2809ec162653a698475c9b3595813c0702601e
|
ea969a48a512684fcc49e4eae48df26df165f91e
|
/src/findInterestSure.cpp
|
d27bec1b17a2b6f196e93217cfe2f1b499a8690b
|
[] |
no_license
|
azaganidis/generalp
|
1c08ba8cf3b77c5549fd08845fdf66a58da6b8a6
|
05191e889b2e7f93316bb62f87d3e94797ffd040
|
refs/heads/master
| 2020-04-17T14:09:26.794857
| 2016-12-20T15:02:05
| 2016-12-20T15:02:05
| 67,408,396
| 0
| 1
| null | 2016-10-21T13:22:53
| 2016-09-05T09:43:28
|
C++
|
UTF-8
|
C++
| false
| false
| 3,458
|
cpp
|
findInterestSure.cpp
|
#include <cmath>
#include <string>
#include <vector>
#include <sure/sure_estimator.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
using std::sin;
using std::cos;
using std::atan2;
float featureSize(1.2),featureSamplingRate(0.4),normalSamplingRate(0.05),normalsScale(0.15),minimumCornerness(0.10802);
ros::Publisher pubInterestPoints;
sure::SURE_Estimator<pcl::PointXYZRGB> sureE;
sure::Configuration config;
void init()
{
// Adjust the size of the features (in meter)
config.setSize( featureSize);
// Adjust the sampling rate
config.setSamplingRate(featureSamplingRate);
// Adjust the normal sampling rate
config.setNormalSamplingRate(normalSamplingRate);
// Adjust the influence radius for calculating normals
config.setNormalsScale(normalsScale);
// Adjust the minimum Cornerness to reduce number of features on edges
config.setMinimumCornerness(minimumCornerness);
// config.setEntropyCalculationMode(sure::CROSSPRODUCTS_ALL_NORMALS_PAIRWISE);
// set altered configuration
config.setOctreeExpansion(200);
sureE.setConfig(config);
std::cout<<config.getSamplingLevel()<<std::endl;
std::cout<<config.getNormalSamplingLevel()<<std::endl;
std::cout<<config.getOctreeMinimumVolumeSize()<<std::endl;
std::cout<<config.getOctreeExpansion()<<std::endl;
std::cout<<config.getOctreeResolutionThreshold()<<std::endl;
}
void laserCloudHandler(const sensor_msgs::PointCloud2ConstPtr& laserCloudMsg)
{
double timeScanCur = laserCloudMsg->header.stamp.toSec();
pcl::PointCloud<pcl::PointXYZRGB>::Ptr laserCloud(new pcl::PointCloud<pcl::PointXYZRGB>());
pcl::fromROSMsg(*laserCloudMsg, *laserCloud);
sureE.setInputCloud(laserCloud);
sureE.calculateFeatures();
pcl::PointCloud<pcl::InterestPoint>::Ptr features;
features = sureE.getInterestPoints();
// if(features->points.size()>8)
// {
sensor_msgs::PointCloud2 interestPointsMsg;
pcl::toROSMsg(*features, interestPointsMsg);
interestPointsMsg.header.stamp = laserCloudMsg->header.stamp;
interestPointsMsg.header.frame_id = "/camera";
interestPointsMsg.fields[3].name="intensity";
pubInterestPoints.publish(interestPointsMsg);
// }
}
int main(int argc, char** argv)
{
ros::init(argc, argv, "scanRegistration");
ros::NodeHandle nh("~");
std::string inpcloud;
std::string outcloud;
nh.param("featureSize", featureSize, featureSize);
nh.param("featureSamplingRate",featureSamplingRate,featureSamplingRate);
nh.param("normalSamplingRate",normalSamplingRate,normalSamplingRate);
nh.param("normalsScale",normalsScale,normalsScale);
nh.param("minimumCornerness",minimumCornerness,minimumCornerness);
nh.param<std::string>("inputCloud",inpcloud,"/velodyne_cloud");
nh.param<std::string>("outputCloud",outcloud,"/laser_interest");
if(argc>1)featureSize=atof(argv[1]);
if(argc>2)featureSamplingRate=atof(argv[2]);
if(argc>3)normalSamplingRate=atof(argv[3]);
if(argc>4)normalsScale=atof(argv[4]);
if(argc>5)minimumCornerness=atof(argv[5]);
init();
ros::Subscriber subLaserCloud = nh.subscribe<sensor_msgs::PointCloud2> (inpcloud.c_str(), 2, laserCloudHandler);
pubInterestPoints = nh.advertise<sensor_msgs::PointCloud2> (outcloud.c_str(), 2);
std::cout<<inpcloud<<" "<<outcloud<<std::endl;
ros::spin();
return 0;
}
|
3bf127d4b99205d79d065bbf4339d30f782e0c2d
|
6b7bc2fb57178cb0430d73136fa8e3f04d26ae39
|
/C#/SDK Samples/High Level COM/C++/Twin Turbo/VC SampleDlg.cpp
|
b078e093be717041db7b842b543bbc4a6753f0a5
|
[] |
no_license
|
pixalynxdev/dymoCafe
|
2897345e233cab9b7578305cbdcc112b67b88c8b
|
1ee742c8b78cb702f95b3933c35a210d20d70043
|
refs/heads/master
| 2020-03-21T22:19:11.060429
| 2018-06-29T07:50:52
| 2018-06-29T07:50:52
| 139,118,626
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 8,426
|
cpp
|
VC SampleDlg.cpp
|
// VC SampleDlg.cpp : implementation file
//
#include "stdafx.h"
#include "VC Sample.h"
#include "VC SampleDlg.h"
#include ".\vc sampledlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()
// CVCSampleDlg dialog
CVCSampleDlg::CVCSampleDlg(CWnd* pParent /*=NULL*/)
: CDialog(CVCSampleDlg::IDD, pParent)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
void CVCSampleDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_FILENAME_EDIT, m_FileNameEdit);
DDX_Control(pDX, IDC_OBJNAME_CMB, m_LabelObjCmb);
DDX_Control(pDX, IDC_OBJDATA_EDIT, m_LabelDataEdit);
DDX_Control(pDX, IDC_LABELWRITER_CMB, m_LabelWriterCmb);
DDX_Control(pDX, IDC_TRAYSEL_CMB, m_TraySelCmb);
}
BEGIN_MESSAGE_MAP(CVCSampleDlg, CDialog)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
//}}AFX_MSG_MAP
ON_BN_CLICKED(IDC_BROWSE_BTN, OnBnClickedBrowseBtn)
ON_BN_CLICKED(IDC_PRINT_BTN, OnBnClickedPrintBtn)
ON_EN_KILLFOCUS(IDC_OBJDATA_EDIT, OnEnKillfocusObjdataEdit)
ON_CBN_SELCHANGE(IDC_LABELWRITER_CMB, OnCbnSelchangeLabelwriterCmb)
END_MESSAGE_MAP()
// CVCSampleDlg message handlers
BOOL CVCSampleDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Add "About..." menu item to system menu.
// IDM_ABOUTBOX must be in the system command range.
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
// create the DymoAddIn
if (m_DymoAddIn.m_lpDispatch == NULL)
{
if (!m_DymoAddIn.CreateDispatch(_T("Dymo.DymoAddIn")))
{
MessageBox(_T("Error: Cannot create the DymoAddIn."),
_T("DYMO VC Sample"), MB_OK | MB_ICONERROR);
}
}
// create the DymoLabels
if (m_DymoLabels.m_lpDispatch == NULL)
{
if (!m_DymoLabels.CreateDispatch(_T("Dymo.DymoLabels")))
{
MessageBox(_T("Error: Cannot create the DymoLabels."),
_T("DYMO VC Sample"), MB_OK | MB_ICONERROR);
}
}
// setup tray selections
m_TraySelCmb.AddString(_T("Left"));
m_TraySelCmb.AddString(_T("Right"));
m_TraySelCmb.AddString(_T("Auto Switch"));
m_FileNameEdit.SetReadOnly();
// show the file name
m_FileNameEdit.SetWindowText(m_DymoAddIn.get_FileName());
// populate label objects
SetupLabelObject();
// obtain the currently selected printer
SetupLabelWriterSelection(true);
return TRUE; // return TRUE unless you set the focus to a control
}
void CVCSampleDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
if ((nID & 0xFFF0) == IDM_ABOUTBOX)
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}
// If you add a minimize button to your dialog, you will need the code below
// to draw the icon. For MFC applications using the document/view model,
// this is automatically done for you by the framework.
void CVCSampleDlg::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0);
// Center icon in client rectangle
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
CRect rect;
GetClientRect(&rect);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;
// Draw the icon
dc.DrawIcon(x, y, m_hIcon);
}
else
{
CDialog::OnPaint();
}
}
// The system calls this function to obtain the cursor to display while the user drags
// the minimized window.
HCURSOR CVCSampleDlg::OnQueryDragIcon()
{
return static_cast<HCURSOR>(m_hIcon);
}
void CVCSampleDlg::OnBnClickedBrowseBtn()
{
// TODO: Add your control notification handler code here
//standard open dialog
CFileDialog od(TRUE);
od.m_pOFN->lpstrFilter = _T("*.lwl");
// show the file name
CString str;
m_FileNameEdit.GetWindowText(str);
// use the current file name's folder as the initial
// directory for the open file dialog
int i = str.ReverseFind('\\');
CString path = str.Left(i);
od.m_pOFN->lpstrInitialDir = path;
//if user selected a file then open it
if (od.DoModal()==IDOK)
{
if (m_DymoAddIn.Open(od.GetPathName()))
{
// show the file name
str = od.GetPathName();
str += '\\';
str += od.GetFileName();
m_FileNameEdit.SetWindowText(str);
// populate label objects
SetupLabelObject();
// setup paper tray selection
SetupLabelWriterSelection(false);
}
}
}
void CVCSampleDlg::OnBnClickedPrintBtn()
{
// TODO: Add your control notification handler code here
// ATTENTION: This call is very important if you're making mutiple calls to the Print() or Print2() function!
// It's a good idea to always wrap StartPrintJob() and EndPrintJob() around a call to Print() or Print2() function.
m_DymoAddIn.StartPrintJob();
// print two copies
m_DymoAddIn.Print2(1, false, m_TraySelCmb.GetCurSel());
// ATTENTION: Every StartPrintJob() must have a matching EndPrintJob()
m_DymoAddIn.EndPrintJob();
}
void CVCSampleDlg::SetupLabelObject()
{
// clear edit control
m_LabelDataEdit.SetWindowText(_T(""));
// clear all items first
m_LabelObjCmb.ResetContent();
// get the objects on the label
CString ObjNames = m_DymoLabels.GetObjectNames(TRUE);
if (!ObjNames.IsEmpty())
{
// parse the result
int i = ObjNames.Find('|');
while (i >= 0)
{
m_LabelObjCmb.AddString(ObjNames.Left(i));
ObjNames = ObjNames.Right(ObjNames.GetLength() - i - 1);
i = ObjNames.Find('|');
}
if (ObjNames.GetLength() > 0)
m_LabelObjCmb.AddString(ObjNames);
m_LabelObjCmb.SetCurSel(0);
}
}
void CVCSampleDlg::SetupLabelWriterSelection(bool InitCmb)
{
// get the objects on the label
if (InitCmb)
{
// clear all items first
m_LabelWriterCmb.ResetContent();
CString PrtNames = m_DymoAddIn.GetDymoPrinters();
if (!PrtNames.IsEmpty())
{
// parse the result
int i = PrtNames.Find('|');
while (i >= 0)
{
m_LabelWriterCmb.AddString(PrtNames.Left(i));
PrtNames = PrtNames.Right(PrtNames.GetLength() - i - 1);
i = PrtNames.Find('|');
}
if (PrtNames.GetLength() > 0)
m_LabelWriterCmb.AddString(PrtNames);
PrtNames = m_DymoAddIn.GetCurrentPrinterName();
if (!PrtNames.IsEmpty())
m_LabelWriterCmb.SelectString(0, PrtNames);
else
m_LabelWriterCmb.SetCurSel(0);
}
}
// check if selected/current printer is a twin turbo printer
CString CurPrinter;
m_LabelWriterCmb.GetWindowText(CurPrinter);
m_TraySelCmb.EnableWindow(m_DymoAddIn.IsTwinTurboPrinter(CurPrinter));
if (m_TraySelCmb.IsWindowEnabled())
{
// show the current tray selection if the printer
// is a twin turbo
switch (m_DymoAddIn.GetCurrentPaperTray())
{
case 0: // left tray
m_TraySelCmb.SetCurSel(0);
break;
case 1: // right tray
m_TraySelCmb.SetCurSel(1);
break;
case 2: // auto switch
m_TraySelCmb.SetCurSel(2);
break;
default: // tray selection not set, so default to auto switch
m_TraySelCmb.SetCurSel(2);
break;
}
}
}
void CVCSampleDlg::OnEnKillfocusObjdataEdit()
{
// TODO: Add your control notification handler code here
CString objName, objData;
m_LabelObjCmb.GetWindowText(objName);
m_LabelDataEdit.GetWindowText(objData);
m_DymoLabels.SetField(objName, objData);
}
void CVCSampleDlg::OnCbnSelchangeLabelwriterCmb()
{
// TODO: Add your control notification handler code here
CString CurPrinter;
m_LabelWriterCmb.GetWindowText(CurPrinter);
m_DymoAddIn.SelectPrinter(CurPrinter);
SetupLabelWriterSelection(false);
}
|
b54de5aa36034e4389a5abea9b917d8669cf6ea5
|
6397057f97b6aefc2d4c95db0f2815aa8b3ebca8
|
/codeforces/339/A.cpp
|
0057cac80177b97acb8fa7da1ae758e1e0095a1b
|
[] |
no_license
|
masterace007/codeforces_harwest
|
7a212012e437d7809753c12022698ee819516205
|
8d35a4e9fd200ebce33fd99f26ea93ea5d30f509
|
refs/heads/master
| 2023-04-28T17:23:59.157691
| 2021-02-06T12:05:00
| 2021-05-16T16:41:54
| 330,159,824
| 4
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 786
|
cpp
|
A.cpp
|
#include<bits/stdc++.h>
#define endl '\n'
#define pb push_back
#define mod 1000000007
#define int long long int
#define hii cout<<"yes\n";
#define all(x) x.begin(),x.end()
#define deb(x) cout<<#x<<" : "<<x<<"\n";
#define FASTIO ios_base::sync_with_stdio(0);cin.tie(0);cin.tie(0);
using namespace std;
void solve() {
string str;
cin >> str;
vector <char> arr;
for(int i = 0; i < str.length(); ++i){
if(str[i] != '+')
arr.push_back(str[i]);
}
sort(all(arr));
if(str.length() > 1){
for(int i = 0; i < arr.size() - 1; ++i)
cout<<arr[i]<<"+";
cout<<arr.back();
}
else
cout<<arr[0];
cout<<endl;
}
int32_t main() {
FASTIO;
int t = 1;
//cin >> t;
while (t--) {
solve();
}
return 0;
}
|
7dd412c9a4d19dcf790d4418c0903aa4458beb39
|
a330d03e8c306fa7179d9d3adc105f702640f6fb
|
/Maps/DAG.cpp
|
e0f5c5c6add0560db709a67dcc24ddc69a710841
|
[] |
no_license
|
davidbejenariu/Maps_OOP_Project1
|
baa04dd8f51da408dcd9be93da8b2da92c635d19
|
47ef83579451d0173ed8452eb740665c8808ee0a
|
refs/heads/main
| 2023-03-20T07:47:00.726755
| 2021-03-19T19:38:53
| 2021-03-19T19:38:53
| 349,536,735
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,506
|
cpp
|
DAG.cpp
|
//
// Created by david on 18/03/2021.
//
#include "DAG.h"
void DAG::topologicalSort(int city, bool *visited, stack<int> &S)
{
int N = m_cities[city].getNeighboursCount();
Neighbour *neighbours = m_cities[city].getNeighbours();
visited[city] = true;
for (int i = 0; i < N; ++i)
{
int w = neighbours[i].getIndex();
if (!visited[w])
topologicalSort(w, visited, S);
}
S.push(city);
}
double DAG::getShortestPath(int A, int B)
{
stack <int> S;
double *dist = new double[m_citiesCount];
bool *visited = new bool[m_citiesCount];
for (int i = 0; i < m_citiesCount; ++i)
{
dist[i] = inf;
visited[i] = false;
}
for (int i = 0; i < m_citiesCount; ++i)
if (!visited[i])
topologicalSort(i, visited, S);
dist[A] = 0;
while (!S.empty())
{
int city = S.top(); S.pop();
int N = m_cities[city].getNeighboursCount();
Neighbour *neighbours = m_cities[city].getNeighbours();
if (dist[city] != inf)
{
for (int i = 0; i < N; ++i)
{
int w = neighbours[i].getIndex();
double d = neighbours[i].getDistance();
if (dist[city] + d < dist[w])
dist[w] = dist[city] + d;
}
}
}
if (dist[B] != inf)
return dist[B];
else
return -1;
}
void DAG::addStreet(int A, int B)
{
m_cities[A].addNeighbour(m_cities[B]);
}
|
2cac0010f61a2656cda05dc72f05c96f25e89a09
|
3ec10fcbacdd8f9dc475a8ae6d146eaabc1eb3c2
|
/Lesson-04/Final/src/main.cpp
|
6186ede0c971468bccfac83dc3cdd970c11984f9
|
[
"MIT"
] |
permissive
|
tomaszbabiuk/esp8266-training
|
5fb462a041779fde6d826c9ac21174343a49b0b6
|
0597265297a7c167c971da90dd228b9bd106af1a
|
refs/heads/master
| 2020-07-26T21:42:13.468808
| 2019-09-30T10:44:12
| 2019-09-30T10:44:12
| 208,773,945
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 825
|
cpp
|
main.cpp
|
#include <Arduino.h>
#include "Morse.h"
Morse morse;
String s;
void receiver(char e) {
// receiving a message (letter by letter)
Serial.print(e);
delay(50);
}
void transmiter(uint8_t e) {
s += String(e);
if (e == MORSE_GAP) Serial.print("");
if (e == MORSE_CHAR) Serial.print("/");
else if (e == MORSE_SPACE) Serial.print(" ");
else if (e == MORSE_EOL) Serial.println(" EOL ");
else {
if (e == MORSE_DI) Serial.print("_");
else if (e == MORSE_DIT) Serial.print("-");
else if (e == MORSE_DAH) Serial.print("๏ฟฝ");
else {
Serial.print("");
}
}
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
morse.begin(receiver, transmiter);
}
void loop() {
delay(3000);
morse.print("hello");
// put your main code here, to run repeatedly:
}
|
cfce9682579e110f176992fd7c04d6f99d914862
|
fcdea24e6466d4ec8d7798555358a9af8acf9b35
|
/Engine/mrayEngine/include/CommonValueProviders.h
|
adc1df4b2165a275c2c0bcb2aea574bb0356d710
|
[] |
no_license
|
yingzhang536/mrayy-Game-Engine
|
6634afecefcb79c2117cecf3e4e635d3089c9590
|
6b6fcbab8674a6169e26f0f20356d0708620b828
|
refs/heads/master
| 2021-01-17T07:59:30.135446
| 2014-11-30T16:10:54
| 2014-11-30T16:10:54
| 27,630,181
| 2
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 847
|
h
|
CommonValueProviders.h
|
/********************************************************************
created: 2014/03/03
created: 3:3:2014 15:43
filename: C:\Development\mrayEngine\Engine\mrayEngine\include\CommonValueProviders.h
file path: C:\Development\mrayEngine\Engine\mrayEngine\include
file base: CommonValueProviders
file ext: h
author: MHD Yamen Saraiji
purpose:
*********************************************************************/
#ifndef __CommonValueProviders__
#define __CommonValueProviders__
#include "ValueController.h"
namespace mray
{
class TimeValueProvier :public ControllerValue<float>
{
public:
void SetValue(const float &v);
float GetValue();
};
class FPSValueProvier :public ControllerValue<float>
{
public:
void SetValue(const float &v);
float GetValue();
};
}
#endif
|
f666aed6a59fc8feb93ff765673d24f3c5c19a21
|
b133065419866205155d0cea5ff85a833dc32d64
|
/testing/old/balance_optim.cpp
|
f7eef8ce4926ac58f4da9cb07876bb4f5cfd9674
|
[] |
no_license
|
mcomas/coda.base
|
985a7e99b66abea34cbdb04457c00c7a693ad778
|
ef9e03e345ff8c9e980f5bdc716999cf105ccffc
|
refs/heads/master
| 2023-03-05T07:16:35.090759
| 2023-03-01T17:47:03
| 2023-03-01T17:47:03
| 97,572,580
| 7
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,952
|
cpp
|
balance_optim.cpp
|
#define ARMA_NO_DEBUG
// [[Rcpp::depends(RcppArmadillo)]]
#include <RcppArmadillo.h>
#include "balance.h"
#include "coda.h"
class PredictiveBalance: public EvaluateBalance {
arma::mat lY;
arma::mat x;
public:
PredictiveBalance (arma::mat Y, arma::mat X): EvaluateBalance(X.n_cols){
lY = log(Y);
x = X;
}
double eval(Balance *bal){
arma::uvec uL = bal->getL();
arma::uvec uR = bal->getR();
arma::mat y = mean(lY.cols(bal->getL()), 1) - mean(lY.cols(bal->getR()), 1);
//Rcpp::Rcout << y << std::endl << x << std::endl;
arma::mat b = cov(y,x)/var(x);
arma::mat a = mean(y) - b * mean(x);
arma::mat r = a(0) + b(0) * x - y;
arma::mat r2 = r.t() * r;
//arma::mat c = arma::cov(y,x);
//Rcpp::Rcout <<c << std::endl;
return b(0) * b(0) / r2(0);
}
};
class PredictiveBalance2: public EvaluateBalance {
arma::mat lY;
arma::mat x;
public:
PredictiveBalance2 (arma::mat Y, arma::mat X): EvaluateBalance(X.n_cols){
lY = log(Y);
arma::mat m = mean(X);
arma::mat v = var(X);
x = (X - m(0))/sqrt(v(0));
}
double eval(Balance *bal){
arma::uvec uL = bal->getL();
arma::uvec uR = bal->getR();
arma::mat y = mean(lY.cols(bal->getL()), 1) - mean(lY.cols(bal->getR()), 1);
//Rcpp::Rcout << y << std::endl << x << std::endl;
arma::mat b = cov(y,x);
arma::mat a = mean(y) - b;
arma::mat r = a(0) + b(0) * x - y;
arma::mat r2 = r.t() * r;
//arma::mat c = arma::cov(y,x);
//Rcpp::Rcout <<c << std::endl;
return b(0) * b(0) / r2(0);
}
};
// [[Rcpp::export]]
arma::vec find_predictive_balance(arma::mat Y, arma::vec x, int method = 1){
EvaluateBalance h;
if(method == 1){
h = PredictiveBalance(Y, x);
h.setOptimal();
}
if(method == 2){
h = PredictiveBalance2(Y, x);
h.setOptimal();
}
arma::vec bal = arma::zeros(Y.n_cols);
bal(h.bal.getL()).fill(1);
bal(h.bal.getR()).fill(-1);
return bal;
}
|
8636ca61f1d02f49ad931907c3bdfd3190f559d9
|
91863cbd27940164ed20f2b27b227e9d83f889bc
|
/1ยบSemestre/Programaรงรฃo C/Lista 1 (5ยชaula)/Exercicio17(lista aula 5).cpp
|
703b1ccacccf871b88f878876a1a270da44a6fe8
|
[] |
no_license
|
leonardoaguirre/UMC
|
dba6b6122ad8ccf7e5f40089d3274e9ea938ff73
|
4b687b3c643a388e617b6d94ecc97af2d154d5cb
|
refs/heads/main
| 2023-06-05T18:27:41.558430
| 2021-07-06T00:17:33
| 2021-07-06T00:17:33
| 382,501,662
| 0
| 0
| null | null | null | null |
ISO-8859-1
|
C++
| false
| false
| 631
|
cpp
|
Exercicio17(lista aula 5).cpp
|
#include <stdio.h>
/* Funรงรฃo do programareceba as duas dimensรตes de um cรดmodo (em metros). Calcule e mostre a sua
รกrea (em m2) e a potรชncia de iluminaรงรฃo que deverรก ser utilizada.
Programador: Leonardo
Data:08/03/18*/
main ()
{
float LadoA, LadoB, Pot, M2;
printf ("Programa para calcular a potencia da lampada por comodo\n");
printf ("Digite a comprimento do comodo: ");
scanf ("%f", &LadoA);
printf ("Digite a largura do comodo: ");
scanf ("%f", &LadoB);
M2 = LadoA*LadoB;
Pot = M2*18;
printf ("O tamanho do comodo em m2 e: %.2f e a pontencia de lampada a ser usada e de: %.2f", M2, Pot);
}
|
951d3358f9e1d58697183d7ca26dd411d7f98ed5
|
508188ce839f454a128c3a1e9bb50c09cb83fcc0
|
/DotNet/IlAsm2Cpp/bin/Release/il2cpp/Root.T_x3.cpp
|
5537cb2583f734c19fe4e17849611593021b8567
|
[] |
no_license
|
dreamanlan/OldWork
|
1162bd208c9c5697ac4a30570b134c8b717e6ee6
|
f49b780e7094ae8d4be6920da0a900a5feb5cce8
|
refs/heads/master
| 2020-07-02T06:35:07.616480
| 2019-09-29T02:32:50
| 2019-09-29T02:32:50
| 67,272,042
| 6
| 5
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 360,169
|
cpp
|
Root.T_x3.cpp
|
#include "global_xref.h"
inline Root::T_x3::T_x3(Reflector::IAssemblyBrowser^ A_0,Reflector::CodeModel::IAssemblyManager^ A_1,Reflector::ICommandBarManager^ A_2)
{
//temp variables , should be optimized by C++/cli compiler.
Root::T_x79^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
Root::T_x3::T_x5^ Temp_2 = nullptr;
System::Windows::Forms::Control::ControlCollection^ Temp_3 = nullptr;
Root::T_x3::T_x5^ Temp_4 = nullptr;
System::Windows::Forms::Control::ControlCollection^ Temp_5 = nullptr;
Root::T_x79^ Temp_6 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: /*System::Windows::Forms::UserControl();*/ //call void System::Windows::Forms::UserControl::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldc.i4.5
IL_0008: this->Dock=safe_cast<System::Windows::Forms::DockStyle>(5); //callvirt void System::Windows::Forms::Control::set_Dock(System::Windows::Forms::DockStyle)
IL_000d: //ldarg.0
IL_000e: //ldc.i4.0
IL_000f: this->TabStop=false; //call void System::Windows::Forms::Control::set_TabStop(System::Boolean)
IL_0014: //ldarg.0
IL_0015: //ldarg.1
IL_0016: this->F_x12=A_0; //stfld Reflector::IAssemblyBrowser^ Root::T_x3 F_x12
IL_001b: //ldarg.0
IL_001c: //ldarg.2
IL_001d: this->F_x13=A_1; //stfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3 F_x13
IL_0022: //ldarg.0
IL_0023: Temp_0=gcnew Root::T_x79(); //newobj void Root::T_x79::.ctor()
IL_0028: this->F_x2=Temp_0; //stfld Root::T_x79^ Root::T_x3 F_x2
IL_002d: //ldarg.0
IL_002e: //ldarg.1
IL_002f: //ldarg.2
IL_0030: //ldarg.3
IL_0031: //ldarg.0
IL_0032: Temp_1=this->F_x2; //ldfld Root::T_x79^ Root::T_x3 F_x2
IL_0037: Temp_2=gcnew Root::T_x3::T_x5(A_0,A_1,A_2,Temp_1); //newobj void Root::T_x3::T_x5::.ctor(Reflector::IAssemblyBrowser^,Reflector::CodeModel::IAssemblyManager^,Reflector::ICommandBarManager^,Root::T_x79^)
IL_003c: this->F_x1=Temp_2; //stfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_0041: //ldarg.0
IL_0042: Temp_3=this->Controls; //call System::Windows::Forms::Control::ControlCollection^ System::Windows::Forms::Control::get_Controls()
IL_0047: //ldarg.0
IL_0048: Temp_4=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_004d: Temp_3->Add(safe_cast<System::Windows::Forms::Control^>(Temp_4));//callvirt void System::Windows::Forms::Control::ControlCollection::Add(System::Windows::Forms::Control^)
IL_0052: //ldarg.0
IL_0053: Temp_5=this->Controls; //call System::Windows::Forms::Control::ControlCollection^ System::Windows::Forms::Control::get_Controls()
IL_0058: //ldarg.0
IL_0059: Temp_6=this->F_x2; //ldfld Root::T_x79^ Root::T_x3 F_x2
IL_005e: Temp_5->Add(safe_cast<System::Windows::Forms::Control^>(Temp_6));//callvirt void System::Windows::Forms::Control::ControlCollection::Add(System::Windows::Forms::Control^)
IL_0063: return; //ret
}
inline System::Collections::IEnumerable^ Root::T_x3::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
System::NotSupportedException^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: Temp_0=gcnew System::NotSupportedException(); //newobj void System::NotSupportedException::.ctor()
IL_0005: throw Temp_0; //throw
}
inline void Root::T_x3::M_x1(System::Collections::IEnumerable^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
Root::T_x3::T_x5^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x5^ Temp_2 = nullptr;
System::Collections::IEnumerator^ Temp_3 = nullptr;
System::Boolean Temp_4 = false;
System::Object^ Temp_5 = nullptr;
Root::T_x3::T_x5^ Temp_6 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_7 = nullptr;
System::Int32 Temp_8 = 0;
Reflector::CodeModel::IAssemblyManager^ Temp_9 = nullptr;
Root::T_x100^ Temp_10 = nullptr;
System::Collections::IEnumerator^ Temp_11 = nullptr;
System::Boolean Temp_12 = false;
System::Object^ Temp_13 = nullptr;
Root::T_x3::T_x6^ Temp_14 = nullptr;
System::Int32 Temp_15 = 0;
System::Collections::ArrayList^ Temp_16 = nullptr;
Reflector::CodeModel::IAssemblyManager^ Temp_17 = nullptr;
Reflector::CodeModel::IAssemblyResolver^ Temp_18 = nullptr;
Root::T_x3::T_x15^ Temp_19 = nullptr;
System::Int32 Temp_20 = 0;
Reflector::CodeModel::IAssemblyManager^ Temp_21 = nullptr;
Root::T_x3::T_x5^ Temp_22 = nullptr;
//local variables.
System::Collections::ArrayList^ V_0 = nullptr;
System::Boolean V_1 = false;
Reflector::CodeModel::IAssemblyResolver^ V_2 = nullptr;
System::Object^ V_3 = nullptr;
System::NullReferenceException^ V_4 = nullptr;
Root::T_x3::T_x6^ V_5 = nullptr;
System::Collections::IEnumerator^ V_6 = nullptr;
System::IDisposable^ V_7 = nullptr;
System::Int32 V_8 = 0;
//method body -------
IL_0000: goto IL_002b; //br.s IL_002b
IL_0002: //ldloc V_8
IL_0006: switch(V_8){case 0:goto IL_0302;case 1:goto IL_0046;case 2:goto IL_02d6;case 3:goto IL_02f1;case 4:goto IL_02b8;case 5:goto IL_0157;case 6:goto IL_0292;case 7:goto IL_0057;};//switch (IL_0302,IL_0046,IL_02d6,IL_02f1,IL_02b8,IL_0157,IL_0292,IL_0057)
IL_002b: //ldarg.0
IL_002c: Temp_0=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_0031: Temp_1=Temp_0->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeView::get_Nodes()
IL_0036: Temp_1->Clear(); //callvirt void System::Windows::Forms::TreeNodeCollection::Clear()
IL_003b: //ldc.i4 0x1
IL_0040: V_8=1; //stloc V_8
IL_0044: /*goto IL_0002;*/goto IL_0046; //br.s IL_0002
IL_0046: //ldarg.1
IL_0047: if(A_0==nullptr)goto IL_0307; //brfalse IL_0307
IL_004c: //ldc.i4 0x7
IL_0051: V_8=7; //stloc V_8
IL_0055: /*goto IL_0002;*/goto IL_0057; //br.s IL_0002
IL_0057: goto IL_026f; //br IL_026f
IL_005701: try{
IL_005c: //ldc.i4 0x2
IL_0061: V_8=2; //stloc V_8
IL_0065: /*goto IL_0069;*/goto IL_0067; //br.s IL_0069
IL_0067: goto IL_0086; //br.s IL_0086
IL_0069: //ldloc V_8
IL_006d: switch(V_8){case 0:goto IL_00a7;case 1:goto IL_00ed;case 2:goto IL_0067;case 3:goto IL_0093;case 4:goto IL_00dd;};//switch (IL_00a7,IL_00ed,IL_0067,IL_0093,IL_00dd)
IL_0086: goto IL_0088; //br.s IL_0088
IL_0088: //ldc.i4 0x3
IL_008d: V_8=3; //stloc V_8
IL_0091: /*goto IL_0069;*/goto IL_0093; //br.s IL_0069
IL_0093: //ldloc.s V_6
IL_0095: Temp_4=V_6->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_009a: if(Temp_4)goto IL_00a9; //brtrue.s IL_00a9
IL_009c: //ldc.i4 0x0
IL_00a1: V_8=0; //stloc V_8
IL_00a5: /*goto IL_0069;*/goto IL_00a7; //br.s IL_0069
IL_00a7: goto IL_00df; //br.s IL_00df
IL_00a9: //ldloc.s V_6
IL_00ab: Temp_5=V_6->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_00b0: //castclass Root::T_x3::T_x6
IL_00b5: V_5=safe_cast<Root::T_x3::T_x6^>(Temp_5); //stloc.s V_5
IL_00b7: //ldloc.s V_5
IL_00b9: //ldnull
IL_00ba: V_5->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_00bf: //ldarg.0
IL_00c0: Temp_6=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_00c5: Temp_7=Temp_6->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeView::get_Nodes()
IL_00ca: //ldloc.s V_5
IL_00cc: Temp_8=Temp_7->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_5));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_00d1: //pop
IL_00d2: //ldc.i4 0x4
IL_00d7: V_8=4; //stloc V_8
IL_00db: /*goto IL_0069;*/goto IL_00dd; //br.s IL_0069
IL_00dd: goto IL_0088; //br.s IL_0088
IL_00df: //ldc.i4 0x1
IL_00e4: V_8=1; //stloc V_8
IL_00e8: /*goto IL_0069;*/goto IL_00ed; //br IL_0069
IL_00ed: goto IL_02bd; //leave IL_02bd
;}
finally{
IL_00f2: goto IL_0109; //br.s IL_0109
IL_00f4: //ldloc V_8
IL_00f8: switch(V_8){case 0:goto IL_012c;case 1:goto IL_011d;case 2:goto IL_0140;};//switch (IL_012c,IL_011d,IL_0140)
IL_0109: //ldloc.s V_6
IL_010b: //isinst System::IDisposable
IL_0110: V_7=dynamic_cast<System::IDisposable^>(V_6); //stloc.s V_7
IL_0112: //ldc.i4 0x1
IL_0117: V_8=1; //stloc V_8
IL_011b: /*goto IL_00f4;*/goto IL_011d; //br.s IL_00f4
IL_011d: //ldloc.s V_7
IL_011f: if(V_7==nullptr)goto IL_0142; //brfalse.s IL_0142
IL_0121: //ldc.i4 0x0
IL_0126: V_8=0; //stloc V_8
IL_012a: /*goto IL_00f4;*/goto IL_012c; //br.s IL_00f4
IL_012c: goto IL_012e; //br.s IL_012e
IL_012e: //ldloc.s V_7
IL_0130: /*V_7->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_0135: //ldc.i4 0x2
IL_013a: V_8=2; //stloc V_8
IL_013e: /*goto IL_00f4;*/goto IL_0140; //br.s IL_00f4
IL_0140: goto IL_0142; //br.s IL_0142
IL_0142: //endfinally
;}
IL_0143: //ldloc.0
IL_0144: V_0->Sort(); //callvirt void System::Collections::ArrayList::Sort()
IL_0149: //ldc.i4 0x5
IL_014e: V_8=5; //stloc V_8
IL_0152: /*goto IL_0002;*/goto IL_0157; //br IL_0002
IL_0157: goto IL_0297; //br IL_0297
IL_015701: try{
IL_015c: //ldarg.0
IL_015d: Temp_9=this->F_x13; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3 F_x13
IL_0162: //ldloc.2
IL_0163: Temp_10=gcnew Root::T_x100(V_2); //newobj void Root::T_x100::.ctor(Reflector::CodeModel::IAssemblyResolver^)
IL_0168: Temp_9->Resolver=safe_cast<Reflector::CodeModel::IAssemblyResolver^>(Temp_10);//callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_016d: //ldarg.1
IL_016e: Temp_11=A_0->GetEnumerator(); //callvirt System::Collections::IEnumerator^ System::Collections::IEnumerable::GetEnumerator()
IL_0173: V_6=Temp_11; //stloc.s V_6
IL_0175: /*goto IL_0177;*/goto IL_017501; //br.s IL_0177
IL_017501: try{
IL_0177: //ldc.i4 0x1
IL_017c: V_8=1; //stloc V_8
IL_0180: /*goto IL_0184;*/goto IL_0182; //br.s IL_0184
IL_0182: goto IL_01a1; //br.s IL_01a1
IL_0184: //ldloc V_8
IL_0188: switch(V_8){case 0:goto IL_020a;case 1:goto IL_0182;case 2:goto IL_01fa;case 3:goto IL_01e6;case 4:goto IL_01b6;};//switch (IL_020a,IL_0182,IL_01fa,IL_01e6,IL_01b6)
IL_01a1: goto IL_01db; //br.s IL_01db
IL_01a3: //ldloc.s V_6
IL_01a5: Temp_13=V_6->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_01aa: V_3=Temp_13; //stloc.3
IL_01ab: //ldc.i4 0x4
IL_01b0: V_8=4; //stloc V_8
IL_01b4: /*goto IL_0184;*/goto IL_01b6; //br.s IL_0184
IL_01b6: /*goto IL_01b8;*/goto IL_01B601; //br.s IL_01b8
IL_01B601: try{
IL_01b8: //ldloc.0
IL_01b9: //ldloc.3
IL_01ba: Temp_14=Root::T_x3::T_x4::M_x1(V_3); //call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_01bf: Temp_15=V_0->Add(safe_cast<System::Object^>(Temp_14)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_01c4: //pop
IL_01c5: goto IL_01db; //leave.s IL_01db
;}
catch(System::NullReferenceException^ Ex_01C502){
IL_01c7: V_4=Ex_01C502; //stloc.s V_4
IL_01c9: //ldc.i4.0
IL_01ca: V_1=false; //stloc.1
IL_01cb: //ldloc.0
IL_01cc: //ldloc.s V_4
IL_01ce: Temp_19=gcnew Root::T_x3::T_x15(safe_cast<System::Exception^>(V_4));//newobj void Root::T_x3::T_x15::.ctor(System::Exception^)
IL_01d3: Temp_20=V_0->Add(safe_cast<System::Object^>(Temp_19)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_01d8: //pop
IL_01d9: goto IL_01db; //leave.s IL_01db
;}
IL_01db: //ldc.i4 0x3
IL_01e0: V_8=3; //stloc V_8
IL_01e4: /*goto IL_0184;*/goto IL_01e6; //br.s IL_0184
IL_01e6: //ldloc.s V_6
IL_01e8: Temp_12=V_6->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_01ed: if(Temp_12)goto IL_01a3; //brtrue.s IL_01a3
IL_01ef: //ldc.i4 0x2
IL_01f4: V_8=2; //stloc V_8
IL_01f8: /*goto IL_0184;*/goto IL_01fa; //br.s IL_0184
IL_01fa: goto IL_01fc; //br.s IL_01fc
IL_01fc: //ldc.i4 0x0
IL_0201: V_8=0; //stloc V_8
IL_0205: /*goto IL_0184;*/goto IL_020a; //br IL_0184
IL_020a: goto IL_025d; //leave.s IL_025d
;}
finally{
IL_020c: goto IL_0223; //br.s IL_0223
IL_020e: //ldloc V_8
IL_0212: switch(V_8){case 0:goto IL_0237;case 1:goto IL_025a;case 2:goto IL_0246;};//switch (IL_0237,IL_025a,IL_0246)
IL_0223: //ldloc.s V_6
IL_0225: //isinst System::IDisposable
IL_022a: V_7=dynamic_cast<System::IDisposable^>(V_6); //stloc.s V_7
IL_022c: //ldc.i4 0x0
IL_0231: V_8=0; //stloc V_8
IL_0235: /*goto IL_020e;*/goto IL_0237; //br.s IL_020e
IL_0237: //ldloc.s V_7
IL_0239: if(V_7==nullptr)goto IL_025c; //brfalse.s IL_025c
IL_023b: //ldc.i4 0x2
IL_0240: V_8=2; //stloc V_8
IL_0244: /*goto IL_020e;*/goto IL_0246; //br.s IL_020e
IL_0246: goto IL_0248; //br.s IL_0248
IL_0248: //ldloc.s V_7
IL_024a: /*V_7->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_024f: //ldc.i4 0x1
IL_0254: V_8=1; //stloc V_8
IL_0258: /*goto IL_020e;*/goto IL_025a; //br.s IL_020e
IL_025a: goto IL_025c; //br.s IL_025c
IL_025c: //endfinally
;}
IL_025d: goto IL_02e3; //leave IL_02e3
;}
finally{
IL_0262: //ldarg.0
IL_0263: Temp_21=this->F_x13; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3 F_x13
IL_0268: //ldloc.2
IL_0269: Temp_21->Resolver=V_2; //callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_026e: //endfinally
;}
IL_026f: //ldc.i4.1
IL_0270: Temp_16=gcnew System::Collections::ArrayList(safe_cast<System::Int32>(1));//newobj void System::Collections::ArrayList::.ctor(System::Int32)
IL_0275: V_0=Temp_16; //stloc.0
IL_0276: //ldc.i4.1
IL_0277: V_1=true; //stloc.1
IL_0278: //ldarg.0
IL_0279: Temp_17=this->F_x13; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3 F_x13
IL_027e: Temp_18=Temp_17->Resolver; //callvirt Reflector::CodeModel::IAssemblyResolver^ Reflector::CodeModel::IAssemblyManager::get_Resolver()
IL_0283: V_2=Temp_18; //stloc.2
IL_0284: //ldc.i4 0x6
IL_0289: V_8=6; //stloc V_8
IL_028d: /*goto IL_0002;*/goto IL_0292; //br IL_0002
IL_0292: /*goto IL_015c;*/goto IL_015701; //br IL_015c
IL_0297: //ldarg.0
IL_0298: Temp_2=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_029d: Temp_2->BeginUpdate(); //callvirt void System::Windows::Forms::TreeView::BeginUpdate()
IL_02a2: //ldloc.0
IL_02a3: Temp_3=V_0->GetEnumerator(); //callvirt System::Collections::IEnumerator^ System::Collections::ArrayList::GetEnumerator()
IL_02a8: V_6=Temp_3; //stloc.s V_6
IL_02aa: //ldc.i4 0x4
IL_02af: V_8=4; //stloc V_8
IL_02b3: /*goto IL_0002;*/goto IL_02b8; //br IL_0002
IL_02b8: /*goto IL_005c;*/goto IL_005701; //br IL_005c
IL_02bd: //ldarg.0
IL_02be: Temp_22=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_02c3: Temp_22->EndUpdate(); //callvirt void System::Windows::Forms::TreeView::EndUpdate()
IL_02c8: //ldc.i4 0x2
IL_02cd: V_8=2; //stloc V_8
IL_02d1: /*goto IL_0002;*/goto IL_02d6; //br IL_0002
IL_02d6: //ldc.i4.4
IL_02d7: //dup
IL_02d8: //dup
IL_02d9: //ldc.i4.2
IL_02da: //sub
IL_02db: //blt IL_02d7
IL_02e0: //pop
IL_02e1: goto IL_0307; //br.s IL_0307
IL_02e3: //ldc.i4 0x3
IL_02e8: V_8=3; //stloc V_8
IL_02ec: /*goto IL_0002;*/goto IL_02f1; //br IL_0002
IL_02f1: //ldloc.1
IL_02f2: if(!V_1)goto IL_0297; //brfalse.s IL_0297
IL_02f4: //ldc.i4 0x0
IL_02f9: V_8=0; //stloc V_8
IL_02fd: /*goto IL_0002;*/goto IL_0302; //br IL_0002
IL_0302: goto IL_0143; //br IL_0143
IL_0307: return; //ret
}
inline void Root::T_x3::M_x2(System::Collections::IEnumerable^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: //ldarg.1
IL_0002: this->M_x1(A_0); //call void Root::T_x3::M_x1(System::Collections::IEnumerable^)
IL_0007: return; //ret
}
inline void Root::T_x3::OnParentChanged(System::EventArgs^ e)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::Control^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: //ldarg.1
IL_0002: System::Windows::Forms::UserControl::OnParentChanged(e); //call void System::Windows::Forms::UserControl::OnParentChanged(System::EventArgs^)
IL_0007: //ldarg.0
IL_0008: Temp_0=this->Parent; //call System::Windows::Forms::Control^ System::Windows::Forms::Control::get_Parent()
IL_000d: if(Temp_0!=nullptr)goto IL_001a; //brtrue.s IL_001a
IL_000f: goto IL_0011; //br.s IL_0011
IL_0011: //ldarg.0
IL_0012: //ldnull
IL_0013: this->M_x2(safe_cast<System::Collections::IEnumerable^>(nullptr));//call void Root::T_x3::M_x2(System::Collections::IEnumerable^)
IL_0018: goto IL_001a; //br.s IL_001a
IL_001a: return; //ret
}
inline void Root::T_x3::OnVisibleChanged(System::EventArgs^ e)
{
//temp variables , should be optimized by C++/cli compiler.
Root::T_x3::T_x5^ Temp_0 = nullptr;
System::Boolean Temp_1 = false;
System::Windows::Forms::Control^ Temp_2 = nullptr;
Root::T_x3::T_x5^ Temp_3 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
System::Int32 Temp_5 = 0;
Root::T_x3::T_x5^ Temp_6 = nullptr;
Root::T_x3::T_x5^ Temp_7 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_8 = nullptr;
System::Windows::Forms::TreeNode^ Temp_9 = nullptr;
System::Boolean Temp_10 = false;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: goto IL_0027; //br.s IL_0027
IL_0002: //ldloc V_0
IL_0006: switch(V_0){case 0:goto IL_00de;case 1:goto IL_0039;case 2:goto IL_0097;case 3:goto IL_0052;case 4:goto IL_00b8;case 5:goto IL_007b;case 6:goto IL_00c8;};//switch (IL_00de,IL_0039,IL_0097,IL_0052,IL_00b8,IL_007b,IL_00c8)
IL_0027: //ldarg.0
IL_0028: //ldarg.1
IL_0029: System::Windows::Forms::UserControl::OnVisibleChanged(e); //call void System::Windows::Forms::UserControl::OnVisibleChanged(System::EventArgs^)
IL_002e: //ldc.i4 0x1
IL_0033: V_0=1; //stloc V_0
IL_0037: /*goto IL_0002;*/goto IL_0039; //br.s IL_0002
IL_0039: //ldarg.0
IL_003a: Temp_2=this->Parent; //call System::Windows::Forms::Control^ System::Windows::Forms::Control::get_Parent()
IL_003f: if(Temp_2==nullptr)goto IL_00e0; //brfalse IL_00e0
IL_0044: goto IL_0047; //br.s IL_0047
IL_0046: //break
IL_0047: //ldc.i4 0x3
IL_004c: V_0=3; //stloc V_0
IL_0050: /*goto IL_0002;*/goto IL_0052; //br.s IL_0002
IL_0052: goto IL_00ba; //br.s IL_00ba
IL_0054: //ldarg.0
IL_0055: Temp_6=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_005a: //ldarg.0
IL_005b: Temp_7=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_0060: Temp_8=Temp_7->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeView::get_Nodes()
IL_0065: //ldc.i4.0
IL_0066: Temp_9=Temp_8[safe_cast<System::Int32>(0)]; //callvirt System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeNodeCollection::get_Item(System::Int32)
IL_006b: Temp_6->SelectedNode=Temp_9; //callvirt void System::Windows::Forms::TreeView::set_SelectedNode(System::Windows::Forms::TreeNode^)
IL_0070: //ldc.i4 0x5
IL_0075: V_0=5; //stloc V_0
IL_0079: /*goto IL_0002;*/goto IL_007b; //br.s IL_0002
IL_007b: goto IL_00e0; //br.s IL_00e0
IL_007d: //ldarg.0
IL_007e: Temp_0=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_0083: Temp_1=Temp_0->Focus(); //callvirt System::Boolean System::Windows::Forms::Control::Focus()
IL_0088: //pop
IL_0089: //ldc.i4 0x2
IL_008e: V_0=2; //stloc V_0
IL_0092: /*goto IL_0002;*/goto IL_0097; //br IL_0002
IL_0097: //ldarg.0
IL_0098: Temp_3=this->F_x1; //ldfld Root::T_x3::T_x5^ Root::T_x3 F_x1
IL_009d: Temp_4=Temp_3->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeView::get_Nodes()
IL_00a2: Temp_5=Temp_4->Count; //callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::get_Count()
IL_00a7: //ldc.i4.0
IL_00a8: if(Temp_5<=0)goto IL_00e0; //ble.s IL_00e0
IL_00aa: //ldc.i4 0x4
IL_00af: V_0=4; //stloc V_0
IL_00b3: /*goto IL_0002;*/goto IL_00b8; //br IL_0002
IL_00b8: goto IL_0054; //br.s IL_0054
IL_00ba: //ldc.i4 0x6
IL_00bf: V_0=6; //stloc V_0
IL_00c3: /*goto IL_0002;*/goto IL_00c8; //br IL_0002
IL_00c8: //ldarg.0
IL_00c9: Temp_10=this->Visible; //call System::Boolean System::Windows::Forms::Control::get_Visible()
IL_00ce: if(!Temp_10)goto IL_00e0; //brfalse.s IL_00e0
IL_00d0: //ldc.i4 0x0
IL_00d5: V_0=0; //stloc V_0
IL_00d9: /*goto IL_0002;*/goto IL_00de; //br IL_0002
IL_00de: goto IL_007d; //br.s IL_007d
IL_00e0: return; //ret
}
inline Root::T_x3::T_x4::T_x4()
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: /*System::Object();*/ //call void System::Object::.ctor()
IL_0006: return; //ret
}
inline Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
Root::T_x3::T_x8^ Temp_0 = nullptr;
Root::T_x3::T_x9^ Temp_1 = nullptr;
Root::T_x3::T_x13^ Temp_2 = nullptr;
Root::T_x3::T_x10^ Temp_3 = nullptr;
Root::T_x3::T_x12^ Temp_4 = nullptr;
System::NotSupportedException^ Temp_5 = nullptr;
Root::T_x3::T_x11^ Temp_6 = nullptr;
Root::T_x3::T_x7^ Temp_7 = nullptr;
Root::T_x3::T_x14^ Temp_8 = nullptr;
//local variables.
Reflector::CodeModel::ITypeReference^ V_0 = nullptr;
Reflector::CodeModel::IMethodReference^ V_1 = nullptr;
Reflector::CodeModel::IFieldReference^ V_2 = nullptr;
Reflector::CodeModel::IPropertyReference^ V_3 = nullptr;
Reflector::CodeModel::IEventReference^ V_4 = nullptr;
Reflector::CodeModel::IAssemblyReference^ V_5 = nullptr;
Reflector::CodeModel::IModuleReference^ V_6 = nullptr;
Reflector::CodeModel::INamespace^ V_7 = nullptr;
System::Int32 V_8 = 0;
//method body -------
IL_0000: goto IL_004b; //br.s IL_004b
IL_0002: //ldloc V_8
IL_0006: switch(V_8){case 0:goto IL_0170;case 1:goto IL_01c4;case 2:goto IL_0146;case 3:goto IL_0108;case 4:goto IL_015e;case 5:goto IL_01a9;case 6:goto IL_0198;case 7:goto IL_00a4;case 8:goto IL_006b;case 9:goto IL_0119;case 10:goto IL_0131;case 11:goto IL_00b8;case 12:goto IL_00e2;case 13:goto IL_00d0;case 14:goto IL_005d;case 15:goto IL_01d9;};//switch (IL_0170,IL_01c4,IL_0146,IL_0108,IL_015e,IL_01a9,IL_0198,IL_00a4,IL_006b,IL_0119,IL_0131,IL_00b8,IL_00e2,IL_00d0,IL_005d,IL_01d9)
IL_004b: //ldarg.0
IL_004c: //isinst Reflector::CodeModel::ITypeReference
IL_0051: V_0=dynamic_cast<Reflector::CodeModel::ITypeReference^>(A_0);//stloc.0
IL_0052: //ldc.i4 0xe
IL_0057: V_8=14; //stloc V_8
IL_005b: /*goto IL_0002;*/goto IL_005d; //br.s IL_0002
IL_005d: //ldloc.0
IL_005e: if(V_0==nullptr)goto IL_008f; //brfalse.s IL_008f
IL_0060: //ldc.i4 0x8
IL_0065: V_8=8; //stloc V_8
IL_0069: /*goto IL_0002;*/goto IL_006b; //br.s IL_0002
IL_006b: goto IL_017c; //br IL_017c
IL_0070: //ldloc.s V_5
IL_0072: Temp_7=gcnew Root::T_x3::T_x7(V_5); //newobj void Root::T_x3::T_x7::.ctor(Reflector::CodeModel::IAssemblyReference^)
IL_0077: return safe_cast<Root::T_x3::T_x6^>(Temp_7); //ret
IL_0078: //ldloc.s V_4
IL_007a: Temp_8=gcnew Root::T_x3::T_x14(V_4); //newobj void Root::T_x3::T_x14::.ctor(Reflector::CodeModel::IEventReference^)
IL_007f: return safe_cast<Root::T_x3::T_x6^>(Temp_8); //ret
IL_0080: //ldloc.1
IL_0081: Temp_6=gcnew Root::T_x3::T_x11(V_1); //newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_0086: return safe_cast<Root::T_x3::T_x6^>(Temp_6); //ret
IL_0087: //ldloc.s V_6
IL_0089: Temp_0=gcnew Root::T_x3::T_x8(V_6); //newobj void Root::T_x3::T_x8::.ctor(Reflector::CodeModel::IModuleReference^)
IL_008e: return safe_cast<Root::T_x3::T_x6^>(Temp_0); //ret
IL_008f: //ldarg.0
IL_0090: //isinst Reflector::CodeModel::IMethodReference
IL_0095: V_1=dynamic_cast<Reflector::CodeModel::IMethodReference^>(A_0);//stloc.1
IL_0096: //ldc.i4 0x7
IL_009b: V_8=7; //stloc V_8
IL_009f: /*goto IL_0002;*/goto IL_00a4; //br IL_0002
IL_00a4: //ldloc.1
IL_00a5: if(V_1==nullptr)goto IL_00f3; //brfalse.s IL_00f3
IL_00a7: goto IL_00aa; //br.s IL_00aa
IL_00a9: //break
IL_00aa: //ldc.i4 0xb
IL_00af: V_8=11; //stloc V_8
IL_00b3: /*goto IL_0002;*/goto IL_00b8; //br IL_0002
IL_00b8: goto IL_0080; //br.s IL_0080
IL_00ba: //ldarg.0
IL_00bb: //isinst Reflector::CodeModel::IAssemblyReference
IL_00c0: V_5=dynamic_cast<Reflector::CodeModel::IAssemblyReference^>(A_0);//stloc.s V_5
IL_00c2: //ldc.i4 0xd
IL_00c7: V_8=13; //stloc V_8
IL_00cb: /*goto IL_0002;*/goto IL_00d0; //br IL_0002
IL_00d0: //ldloc.s V_5
IL_00d2: if(V_5==nullptr)goto IL_0148; //brfalse.s IL_0148
IL_00d4: //ldc.i4 0xc
IL_00d9: V_8=12; //stloc V_8
IL_00dd: /*goto IL_0002;*/goto IL_00e2; //br IL_0002
IL_00e2: goto IL_0070; //br.s IL_0070
IL_00e4: //ldloc.s V_7
IL_00e6: Temp_1=gcnew Root::T_x3::T_x9(V_7); //newobj void Root::T_x3::T_x9::.ctor(Reflector::CodeModel::INamespace^)
IL_00eb: return safe_cast<Root::T_x3::T_x6^>(Temp_1); //ret
IL_00ec: //ldloc.3
IL_00ed: Temp_2=gcnew Root::T_x3::T_x13(V_3); //newobj void Root::T_x3::T_x13::.ctor(Reflector::CodeModel::IPropertyReference^)
IL_00f2: return safe_cast<Root::T_x3::T_x6^>(Temp_2); //ret
IL_00f3: //ldarg.0
IL_00f4: //isinst Reflector::CodeModel::IFieldReference
IL_00f9: V_2=dynamic_cast<Reflector::CodeModel::IFieldReference^>(A_0);//stloc.2
IL_00fa: //ldc.i4 0x3
IL_00ff: V_8=3; //stloc V_8
IL_0103: /*goto IL_0002;*/goto IL_0108; //br IL_0002
IL_0108: //ldloc.2
IL_0109: if(V_2==nullptr)goto IL_0183; //brfalse.s IL_0183
IL_010b: //ldc.i4 0x9
IL_0110: V_8=9; //stloc V_8
IL_0114: /*goto IL_0002;*/goto IL_0119; //br IL_0002
IL_0119: goto IL_0175; //br.s IL_0175
IL_011b: //ldarg.0
IL_011c: //isinst Reflector::CodeModel::INamespace
IL_0121: V_7=dynamic_cast<Reflector::CodeModel::INamespace^>(A_0); //stloc.s V_7
IL_0123: //ldc.i4 0xa
IL_0128: V_8=10; //stloc V_8
IL_012c: /*goto IL_0002;*/goto IL_0131; //br IL_0002
IL_0131: //ldloc.s V_7
IL_0133: if(V_7==nullptr)goto IL_01de; //brfalse IL_01de
IL_0138: //ldc.i4 0x2
IL_013d: V_8=2; //stloc V_8
IL_0141: /*goto IL_0002;*/goto IL_0146; //br IL_0002
IL_0146: goto IL_00e4; //br.s IL_00e4
IL_0148: //ldarg.0
IL_0149: //isinst Reflector::CodeModel::IModuleReference
IL_014e: V_6=dynamic_cast<Reflector::CodeModel::IModuleReference^>(A_0);//stloc.s V_6
IL_0150: //ldc.i4 0x4
IL_0155: V_8=4; //stloc V_8
IL_0159: /*goto IL_0002;*/goto IL_015e; //br IL_0002
IL_015e: //ldloc.s V_6
IL_0160: if(V_6==nullptr)goto IL_011b; //brfalse.s IL_011b
IL_0162: //ldc.i4 0x0
IL_0167: V_8=0; //stloc V_8
IL_016b: /*goto IL_0002;*/goto IL_0170; //br IL_0002
IL_0170: goto IL_0087; //br IL_0087
IL_0175: //ldloc.2
IL_0176: Temp_4=gcnew Root::T_x3::T_x12(V_2); //newobj void Root::T_x3::T_x12::.ctor(Reflector::CodeModel::IFieldReference^)
IL_017b: return safe_cast<Root::T_x3::T_x6^>(Temp_4); //ret
IL_017c: //ldloc.0
IL_017d: Temp_3=gcnew Root::T_x3::T_x10(V_0); //newobj void Root::T_x3::T_x10::.ctor(Reflector::CodeModel::ITypeReference^)
IL_0182: return safe_cast<Root::T_x3::T_x6^>(Temp_3); //ret
IL_0183: //ldarg.0
IL_0184: //isinst Reflector::CodeModel::IPropertyReference
IL_0189: V_3=dynamic_cast<Reflector::CodeModel::IPropertyReference^>(A_0);//stloc.3
IL_018a: //ldc.i4 0x6
IL_018f: V_8=6; //stloc V_8
IL_0193: /*goto IL_0002;*/goto IL_0198; //br IL_0002
IL_0198: //ldloc.3
IL_0199: if(V_3==nullptr)goto IL_01ae; //brfalse.s IL_01ae
IL_019b: //ldc.i4 0x5
IL_01a0: V_8=5; //stloc V_8
IL_01a4: /*goto IL_0002;*/goto IL_01a9; //br IL_0002
IL_01a9: goto IL_00ec; //br IL_00ec
IL_01ae: //ldarg.0
IL_01af: //isinst Reflector::CodeModel::IEventReference
IL_01b4: V_4=dynamic_cast<Reflector::CodeModel::IEventReference^>(A_0);//stloc.s V_4
IL_01b6: //ldc.i4 0x1
IL_01bb: V_8=1; //stloc V_8
IL_01bf: /*goto IL_0002;*/goto IL_01c4; //br IL_0002
IL_01c4: //ldloc.s V_4
IL_01c6: if(V_4==nullptr)goto IL_00ba; //brfalse IL_00ba
IL_01cb: //ldc.i4 0xf
IL_01d0: V_8=15; //stloc V_8
IL_01d4: /*goto IL_0002;*/goto IL_01d9; //br IL_0002
IL_01d9: goto IL_0078; //br IL_0078
IL_01de: Temp_5=gcnew System::NotSupportedException(); //newobj void System::NotSupportedException::.ctor()
IL_01e3: throw Temp_5; //throw
}
inline Root::T_x3::T_x5::T_x5(Reflector::IAssemblyBrowser^ A_0,Reflector::CodeModel::IAssemblyManager^ A_1,Reflector::ICommandBarManager^ A_2,Root::T_x79^ A_3)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::ImageList^ Temp_0 = nullptr;
System::Windows::Forms::ImageList^ Temp_1 = nullptr;
System::Windows::Forms::ImageList::ImageCollection^ Temp_2 = nullptr;
System::Drawing::Image^ Temp_3 = nullptr;
System::Int32 Temp_4 = 0;
System::Windows::Forms::ImageList^ Temp_5 = nullptr;
System::Windows::Forms::ImageList^ Temp_6 = nullptr;
System::Drawing::Color Temp_7;
Reflector::ICommandBarCollection^ Temp_8 = nullptr;
System::String^ Temp_9 = nullptr;
Reflector::ICommandBar^ Temp_10 = nullptr;
Reflector::ICommandBarItemCollection^ Temp_11 = nullptr;
System::String^ Temp_12 = nullptr;
System::Drawing::Image^ Temp_13 = nullptr;
System::EventHandler^ Temp_14 = nullptr;
Reflector::ICommandBarButton^ Temp_15 = nullptr;
Reflector::ICommandBarItemCollection^ Temp_16 = nullptr;
Reflector::ICommandBarSeparator^ Temp_17 = nullptr;
Reflector::ICommandBarItemCollection^ Temp_18 = nullptr;
System::String^ Temp_19 = nullptr;
System::EventHandler^ Temp_20 = nullptr;
Reflector::ICommandBarButton^ Temp_21 = nullptr;
//local variables.
Reflector::ICommandBar^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4 0xc
IL_0005: V_1=12; //stloc V_1
IL_0009: //ldarg.0
IL_000a: /*System::Windows::Forms::TreeView();*/ //call void System::Windows::Forms::TreeView::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldc.i4.5
IL_0011: this->Dock=safe_cast<System::Windows::Forms::DockStyle>(5); //callvirt void System::Windows::Forms::Control::set_Dock(System::Windows::Forms::DockStyle)
IL_0016: //ldarg.0
IL_0017: //ldc.i4.1
IL_0018: this->HotTracking=true; //call void System::Windows::Forms::TreeView::set_HotTracking(System::Boolean)
IL_001d: //ldarg.0
IL_001e: //ldc.i4.0
IL_001f: this->HideSelection=false; //call void System::Windows::Forms::TreeView::set_HideSelection(System::Boolean)
IL_0024: //ldarg.0
IL_0025: //ldc.i4.0
IL_0026: this->ShowLines=false; //call void System::Windows::Forms::TreeView::set_ShowLines(System::Boolean)
IL_002b: //ldarg.0
IL_002c: Temp_0=gcnew System::Windows::Forms::ImageList(); //newobj void System::Windows::Forms::ImageList::.ctor()
IL_0031: this->ImageList=Temp_0; //call void System::Windows::Forms::TreeView::set_ImageList(System::Windows::Forms::ImageList^)
IL_0036: //ldarg.0
IL_0037: Temp_1=this->ImageList; //call System::Windows::Forms::ImageList^ System::Windows::Forms::TreeView::get_ImageList()
IL_003c: Temp_2=Temp_1->Images; //callvirt System::Windows::Forms::ImageList::ImageCollection^ System::Windows::Forms::ImageList::get_Images()
IL_0041: Temp_3=Root::T_x117::M_x1(); //call System::Drawing::Image^ Root::T_x117::M_x1()
IL_0046: Temp_4=Temp_2->AddStrip(Temp_3); //callvirt System::Int32 System::Windows::Forms::ImageList::ImageCollection::AddStrip(System::Drawing::Image^)
IL_004b: //pop
IL_004c: //ldarg.0
IL_004d: Temp_5=this->ImageList; //call System::Windows::Forms::ImageList^ System::Windows::Forms::TreeView::get_ImageList()
IL_0052: //ldc.i4.s 32
IL_0054: Temp_5->ColorDepth=safe_cast<System::Windows::Forms::ColorDepth>(32);//callvirt void System::Windows::Forms::ImageList::set_ColorDepth(System::Windows::Forms::ColorDepth)
IL_0059: //ldarg.0
IL_005a: Temp_6=this->ImageList; //call System::Windows::Forms::ImageList^ System::Windows::Forms::TreeView::get_ImageList()
IL_005f: //ldc.i4 0xff
IL_0064: //ldc.i4.0
IL_0065: //ldc.i4 0x80
IL_006a: //ldc.i4.0
IL_006b: Temp_7=System::Drawing::Color::FromArgb(safe_cast<System::Int32>(255),safe_cast<System::Int32>(0),safe_cast<System::Int32>(128),safe_cast<System::Int32>(0));//call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32,System::Int32,System::Int32,System::Int32)
IL_0070: Temp_6->TransparentColor=Temp_7; //callvirt void System::Windows::Forms::ImageList::set_TransparentColor(System::Drawing::Color)
IL_0075: //ldarg.0
IL_0076: //ldarg.1
IL_0077: this->F_x1=A_0; //stfld Reflector::IAssemblyBrowser^ Root::T_x3::T_x5 F_x1
IL_007c: //ldarg.0
IL_007d: //ldarg.2
IL_007e: this->F_x2=A_1; //stfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5 F_x2
IL_0083: //ldarg.0
IL_0084: //ldarg.s A_3
IL_0086: this->F_x12=A_3; //stfld Root::T_x79^ Root::T_x3::T_x5 F_x12
IL_008b: //ldarg.3
IL_008c: Temp_8=A_2->CommandBars; //callvirt Reflector::ICommandBarCollection^ Reflector::ICommandBarManager::get_CommandBars()
IL_0091: //ldstr L"\x6B29\x422B\x4F2D\x5C2F\x4B31\x4E33\x5335\x4A37\x6D39\x553B\x503D\x243F\x2D41\x3343"
IL_0096: //ldloc V_1
IL_009a: Temp_9=a(L"\x6B29\x422B\x4F2D\x5C2F\x4B31\x4E33\x5335\x4A37\x6D39\x553B\x503D\x243F\x2D41\x3343",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_009f: Temp_10=Temp_8->AddContextMenu(Temp_9); //callvirt Reflector::ICommandBar^ Reflector::ICommandBarCollection::AddContextMenu(System::String^)
IL_00a4: V_0=Temp_10; //stloc.0
IL_00a5: //ldloc.0
IL_00a6: Temp_11=V_0->Items; //callvirt Reflector::ICommandBarItemCollection^ Reflector::ICommandBar::get_Items()
IL_00ab: //ldstr L"\x0C29\x6F2B\x412D\x402F\x4B31"
IL_00b0: //ldloc V_1
IL_00b4: Temp_12=a(L"\x0C29\x6F2B\x412D\x402F\x4B31",V_1); //call System::String^ undefined_type::a(System::String^,System::Int32)
IL_00b9: Temp_13=Root::T_x106::M_x19(); //call System::Drawing::Image^ Root::T_x106::M_x19()
IL_00be: //ldarg.0
IL_00bf: //ldftn void Root::T_x3::T_x5::M_x1(System::Object^,System::EventArgs^)
IL_00c5: Temp_14=gcnew System::EventHandler(this,&Root::T_x3::T_x5::M_x1);//newobj void System::EventHandler::.ctor(System::Object^,System::IntPtr)
IL_00ca: //ldc.i4 0x20043
IL_00cf: Temp_15=Temp_11->AddButton(Temp_12,Temp_13,Temp_14,safe_cast<System::Windows::Forms::Keys>(131139));//callvirt Reflector::ICommandBarButton^ Reflector::ICommandBarItemCollection::AddButton(System::String^,System::Drawing::Image^,System::EventHandler^,System::Windows::Forms::Keys)
IL_00d4: //pop
IL_00d5: //ldloc.0
IL_00d6: Temp_16=V_0->Items; //callvirt Reflector::ICommandBarItemCollection^ Reflector::ICommandBar::get_Items()
IL_00db: Temp_17=Temp_16->AddSeparator(); //callvirt Reflector::ICommandBarSeparator^ Reflector::ICommandBarItemCollection::AddSeparator()
IL_00e0: //pop
IL_00e1: //ldloc.0
IL_00e2: Temp_18=V_0->Items; //callvirt Reflector::ICommandBarItemCollection^ Reflector::ICommandBar::get_Items()
IL_00e7: //ldstr L"\x6D29\x432B\x0E2D\x642F\x5D31\x1433\x1035\x7537\x5F39\x513B\x5C3D\x253F\x3041"
IL_00ec: //ldloc V_1
IL_00f0: Temp_19=a(L"\x6D29\x432B\x0E2D\x642F\x5D31\x1433\x1035\x7537\x5F39\x513B\x5C3D\x253F\x3041",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_00f5: //ldarg.0
IL_00f6: //ldftn void Root::T_x3::T_x5::M_x2(System::Object^,System::EventArgs^)
IL_00fc: Temp_20=gcnew System::EventHandler(this,&Root::T_x3::T_x5::M_x2);//newobj void System::EventHandler::.ctor(System::Object^,System::IntPtr)
IL_0101: Temp_21=Temp_18->AddButton(Temp_19,Temp_20); //callvirt Reflector::ICommandBarButton^ Reflector::ICommandBarItemCollection::AddButton(System::String^,System::EventHandler^)
IL_0106: //pop
IL_0107: //ldarg.0
IL_0108: //ldloc.0
IL_0109: //castclass System::Windows::Forms::ContextMenu
IL_010e: this->ContextMenu=safe_cast<System::Windows::Forms::ContextMenu^>(V_0);//callvirt void System::Windows::Forms::Control::set_ContextMenu(System::Windows::Forms::ContextMenu^)
IL_0113: return; //ret
}
inline Root::T_x79^ Root::T_x3::T_x5::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
Root::T_x79^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->F_x12; //ldfld Root::T_x79^ Root::T_x3::T_x5 F_x12
IL_0006: return Temp_0; //ret
}
inline void Root::T_x3::T_x5::M_x1(System::IO::StringWriter^ A_0,System::String^ A_1,System::Windows::Forms::TreeNodeCollection^ A_2)
{
//temp variables , should be optimized by C++/cli compiler.
System::Collections::IEnumerator^ Temp_0 = nullptr;
System::Boolean Temp_1 = false;
System::Object^ Temp_2 = nullptr;
System::String^ Temp_3 = nullptr;
System::String^ Temp_4 = nullptr;
System::String^ Temp_5 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_6 = nullptr;
System::Boolean Temp_7 = false;
//local variables.
System::Windows::Forms::TreeNode^ V_0 = nullptr;
System::Collections::IEnumerator^ V_1 = nullptr;
System::IDisposable^ V_2 = nullptr;
System::Int32 V_3 = 0;
System::Int32 V_4 = 0;
System::Int32 V_5 = 0;
//method body -------
IL_0000: //ldc.i4 0x6
IL_0005: V_5=6; //stloc V_5
IL_0009: //ldc.i4.5
IL_000a: //dup
IL_000b: //dup
IL_000c: //ldc.i4.6
IL_000d: //sub
IL_000e: //blt IL_000a
IL_0013: //pop
IL_0014: //ldarg.3
IL_0015: Temp_0=A_2->GetEnumerator(); //callvirt System::Collections::IEnumerator^ System::Windows::Forms::TreeNodeCollection::GetEnumerator()
IL_001a: V_1=Temp_0; //stloc.1
IL_001b: /*goto IL_001d;*/goto IL_001B01; //br.s IL_001d
IL_001B01: try{
IL_001d: //ldc.i4 0x6
IL_0022: V_3=6; //stloc V_3
IL_0026: /*goto IL_002a;*/goto IL_0028; //br.s IL_002a
IL_0028: goto IL_004f; //br.s IL_004f
IL_002a: //ldloc V_3
IL_002e: switch(V_3){case 0:goto IL_00e8;case 1:goto IL_00b7;case 2:goto IL_00a1;case 3:goto IL_0094;case 4:goto IL_00f8;case 5:goto IL_0081;case 6:goto IL_0028;};//switch (IL_00e8,IL_00b7,IL_00a1,IL_0094,IL_00f8,IL_0081,IL_0028)
IL_004f: goto IL_0096; //br.s IL_0096
IL_0051: //ldloc.1
IL_0052: Temp_2=V_1->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_0057: //castclass System::Windows::Forms::TreeNode
IL_005c: V_0=safe_cast<System::Windows::Forms::TreeNode^>(Temp_2); //stloc.0
IL_005d: //ldarg.1
IL_005e: //ldarg.2
IL_005f: A_0->Write(A_1); //callvirt void System::IO::TextWriter::Write(System::String^)
IL_0064: //ldarg.1
IL_0065: //ldloc.0
IL_0066: Temp_3=V_0->Text; //callvirt System::String^ System::Windows::Forms::TreeNode::get_Text()
IL_006b: A_0->Write(Temp_3); //callvirt void System::IO::TextWriter::Write(System::String^)
IL_0070: //ldarg.1
IL_0071: A_0->WriteLine(); //callvirt void System::IO::TextWriter::WriteLine()
IL_0076: //ldc.i4 0x5
IL_007b: V_3=5; //stloc V_3
IL_007f: /*goto IL_002a;*/goto IL_0081; //br.s IL_002a
IL_0081: //ldloc.0
IL_0082: Temp_7=V_0->IsExpanded; //callvirt System::Boolean System::Windows::Forms::TreeNode::get_IsExpanded()
IL_0087: if(!Temp_7)goto IL_0096; //brfalse.s IL_0096
IL_0089: //ldc.i4 0x3
IL_008e: V_3=3; //stloc V_3
IL_0092: /*goto IL_002a;*/goto IL_0094; //br.s IL_002a
IL_0094: goto IL_00b9; //br.s IL_00b9
IL_0096: //ldc.i4 0x2
IL_009b: V_3=2; //stloc V_3
IL_009f: /*goto IL_002a;*/goto IL_00a1; //br.s IL_002a
IL_00a1: //ldloc.1
IL_00a2: Temp_1=V_1->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_00a7: if(Temp_1)goto IL_0051; //brtrue.s IL_0051
IL_00a9: //ldc.i4 0x1
IL_00ae: V_3=1; //stloc V_3
IL_00b2: /*goto IL_002a;*/goto IL_00b7; //br IL_002a
IL_00b7: goto IL_00ea; //br.s IL_00ea
IL_00b9: //ldarg.0
IL_00ba: //ldarg.1
IL_00bb: //ldarg.2
IL_00bc: //ldstr L"\x2D23"
IL_00c1: //ldloc V_5
IL_00c5: Temp_4=a(L"\x2D23",V_5); //call System::String^ undefined_type::a(System::String^,System::Int32)
IL_00ca: Temp_5=System::String::Concat(A_1,Temp_4); //call System::String^ System::String::Concat(System::String^,System::String^)
IL_00cf: //ldloc.0
IL_00d0: Temp_6=V_0->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_00d5: this->M_x1(A_0,Temp_5,Temp_6); //call void Root::T_x3::T_x5::M_x1(System::IO::StringWriter^,System::String^,System::Windows::Forms::TreeNodeCollection^)
IL_00da: //ldc.i4 0x0
IL_00df: V_3=0; //stloc V_3
IL_00e3: /*goto IL_002a;*/goto IL_00e8; //br IL_002a
IL_00e8: goto IL_0096; //br.s IL_0096
IL_00ea: //ldc.i4 0x4
IL_00ef: V_3=4; //stloc V_3
IL_00f3: /*goto IL_002a;*/goto IL_00f8; //br IL_002a
IL_00f8: goto IL_0147; //leave.s IL_0147
;}
finally{
IL_00fa: goto IL_0111; //br.s IL_0111
IL_00fc: //ldloc V_4
IL_0100: switch(V_4){case 0:goto IL_0131;case 1:goto IL_0123;case 2:goto IL_0144;};//switch (IL_0131,IL_0123,IL_0144)
IL_0111: //ldloc.1
IL_0112: //isinst System::IDisposable
IL_0117: V_2=dynamic_cast<System::IDisposable^>(V_1); //stloc.2
IL_0118: //ldc.i4 0x1
IL_011d: V_4=1; //stloc V_4
IL_0121: /*goto IL_00fc;*/goto IL_0123; //br.s IL_00fc
IL_0123: //ldloc.2
IL_0124: if(V_2==nullptr)goto IL_0146; //brfalse.s IL_0146
IL_0126: //ldc.i4 0x0
IL_012b: V_4=0; //stloc V_4
IL_012f: /*goto IL_00fc;*/goto IL_0131; //br.s IL_00fc
IL_0131: goto IL_0133; //br.s IL_0133
IL_0133: //ldloc.2
IL_0134: /*V_2->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_0139: //ldc.i4 0x2
IL_013e: V_4=2; //stloc V_4
IL_0142: /*goto IL_00fc;*/goto IL_0144; //br.s IL_00fc
IL_0144: goto IL_0146; //br.s IL_0146
IL_0146: //endfinally
;}
IL_0147: return; //ret
}
inline void Root::T_x3::T_x5::M_x1(System::Object^ A_0,System::EventArgs^ A_1)
{
//temp variables , should be optimized by C++/cli compiler.
System::Globalization::CultureInfo^ Temp_0 = nullptr;
System::IO::StringWriter^ Temp_1 = nullptr;
System::String^ Temp_2 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_3 = nullptr;
System::String^ Temp_4 = nullptr;
System::Windows::Forms::TreeNode^ Temp_5 = nullptr;
//local variables.
System::IO::StringWriter^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4.5
IL_0001: //dup
IL_0002: //dup
IL_0003: //ldc.i4.6
IL_0004: //add
IL_0005: //bgt IL_0001
IL_000a: //pop
IL_000b: //ldc.i4 0x1
IL_0010: V_1=1; //stloc V_1
IL_0014: /*goto IL_0018;*/goto IL_0016; //br.s IL_0018
IL_0016: goto IL_002d; //br.s IL_002d
IL_0018: //ldloc V_1
IL_001c: switch(V_1){case 0:goto IL_0043;case 1:goto IL_0016;case 2:goto IL_00c3;};//switch (IL_0043,IL_0016,IL_00c3)
IL_002d: //ldarg.0
IL_002e: Temp_5=this->SelectedNode; //call System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeView::get_SelectedNode()
IL_0033: if(Temp_5==nullptr)goto IL_00c5; //brfalse IL_00c5
IL_0038: //ldc.i4 0x0
IL_003d: V_1=0; //stloc V_1
IL_0041: /*goto IL_0018;*/goto IL_0043; //br.s IL_0018
IL_0043: goto IL_00aa; //br.s IL_00aa
IL_004301: try{
IL_0045: //ldarg.0
IL_0046: //ldloc.0
IL_0047: Temp_2=System::String::Empty; //ldsfld System::String^ System::String Empty
IL_004c: //ldarg.0
IL_004d: Temp_3=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeView::get_Nodes()
IL_0052: this->M_x1(V_0,Temp_2,Temp_3); //call void Root::T_x3::T_x5::M_x1(System::IO::StringWriter^,System::String^,System::Windows::Forms::TreeNodeCollection^)
IL_0057: //ldloc.0
IL_0058: Temp_4=V_0->ToString(); //callvirt System::String^ System::IO::StringWriter::ToString()
IL_005d: System::Windows::Forms::Clipboard::SetDataObject(safe_cast<System::Object^>(Temp_4));//call void System::Windows::Forms::Clipboard::SetDataObject(System::Object^)
IL_0062: goto IL_00c5; //leave.s IL_00c5
;}
finally{
IL_0064: //ldc.i4 0x2
IL_0069: V_1=2; //stloc V_1
IL_006d: /*goto IL_0071;*/goto IL_006f; //br.s IL_0071
IL_006f: goto IL_0086; //br.s IL_0086
IL_0071: //ldloc V_1
IL_0075: switch(V_1){case 0:goto IL_0094;case 1:goto IL_00a7;case 2:goto IL_006f;};//switch (IL_0094,IL_00a7,IL_006f)
IL_0086: //ldloc.0
IL_0087: if(V_0==nullptr)goto IL_00a9; //brfalse.s IL_00a9
IL_0089: //ldc.i4 0x0
IL_008e: V_1=0; //stloc V_1
IL_0092: /*goto IL_0071;*/goto IL_0094; //br.s IL_0071
IL_0094: goto IL_0096; //br.s IL_0096
IL_0096: //ldloc.0
IL_0097: /*safe_cast<System::IDisposable^>(V_0)->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_009c: //ldc.i4 0x1
IL_00a1: V_1=1; //stloc V_1
IL_00a5: /*goto IL_0071;*/goto IL_00a7; //br.s IL_0071
IL_00a7: goto IL_00a9; //br.s IL_00a9
IL_00a9: //endfinally
;}
IL_00aa: Temp_0=System::Globalization::CultureInfo::InvariantCulture;//call System::Globalization::CultureInfo^ System::Globalization::CultureInfo::get_InvariantCulture()
IL_00af: Temp_1=gcnew System::IO::StringWriter(safe_cast<System::IFormatProvider^>(Temp_0));//newobj void System::IO::StringWriter::.ctor(System::IFormatProvider^)
IL_00b4: V_0=Temp_1; //stloc.0
IL_00b5: //ldc.i4 0x2
IL_00ba: V_1=2; //stloc V_1
IL_00be: /*goto IL_0018;*/goto IL_00c3; //br IL_0018
IL_00c3: /*goto IL_0045;*/goto IL_004301; //br.s IL_0045
IL_00c5: return; //ret
}
inline void Root::T_x3::T_x5::M_x1(System::Windows::Forms::KeyEventArgs^ A_0)
//System::Windows::Forms::TreeView^::OnKeyDown by M_x1
{
//temp variables , should be optimized by C++/cli compiler.
System::Boolean Temp_0 = false;
System::Windows::Forms::Keys Temp_1 = (System::Windows::Forms::Keys)0;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldc.i4 0x0
IL_0005: V_0=0; //stloc V_0
IL_0009: /*goto IL_000d;*/goto IL_000b; //br.s IL_000d
IL_000b: goto IL_0022; //br.s IL_0022
IL_000d: //ldloc V_0
IL_0011: switch(V_0){case 0:goto IL_000b;case 1:goto IL_0060;case 2:goto IL_003d;};//switch (IL_000b,IL_0060,IL_003d)
IL_0022: goto IL_0025; //br.s IL_0025
IL_0024: //break
IL_0025: //ldarg.1
IL_0026: Temp_1=A_0->KeyData; //callvirt System::Windows::Forms::Keys System::Windows::Forms::KeyEventArgs::get_KeyData()
IL_002b: //ldc.i4 0x60047
IL_0030: if(safe_cast<System::Int32>(Temp_1)!=393287)goto IL_0062; //bne.un.s IL_0062
IL_0032: //ldc.i4 0x2
IL_0037: V_0=2; //stloc V_0
IL_003b: /*goto IL_000d;*/goto IL_003d; //br.s IL_000d
IL_003d: goto IL_003f; //br.s IL_003f
IL_003f: //ldarg.0
IL_0040: //ldarg.0
IL_0041: Temp_0=this->ShowLines; //call System::Boolean System::Windows::Forms::TreeView::get_ShowLines()
IL_0046: //ldc.i4.0
IL_0047: //ceq
IL_0049: this->ShowLines=(Temp_0 == false); //call void System::Windows::Forms::TreeView::set_ShowLines(System::Boolean)
IL_004e: //ldarg.1
IL_004f: //ldc.i4.1
IL_0050: A_0->Handled=true; //callvirt void System::Windows::Forms::KeyEventArgs::set_Handled(System::Boolean)
IL_0055: //ldc.i4 0x1
IL_005a: V_0=1; //stloc V_0
IL_005e: /*goto IL_000d;*/goto IL_0060; //br.s IL_000d
IL_0060: goto IL_0062; //br.s IL_0062
IL_0062: //ldarg.0
IL_0063: //ldarg.1
IL_0064: System::Windows::Forms::TreeView::OnKeyDown(A_0); //call void System::Windows::Forms::TreeView::OnKeyDown(System::Windows::Forms::KeyEventArgs^)
IL_0069: return; //ret
}
inline void Root::T_x3::T_x5::M_x1(System::Windows::Forms::TreeViewCancelEventArgs^ A_0)
//System::Windows::Forms::TreeView^::OnBeforeExpand by M_x1
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeNode^ Temp_0 = nullptr;
Reflector::CodeModel::IAssemblyManager^ Temp_1 = nullptr;
Reflector::CodeModel::IAssemblyResolver^ Temp_2 = nullptr;
Reflector::CodeModel::IAssemblyManager^ Temp_3 = nullptr;
Root::T_x100^ Temp_4 = nullptr;
Reflector::CodeModel::IAssemblyManager^ Temp_5 = nullptr;
//local variables.
Root::T_x3::T_x16^ V_0 = nullptr;
Reflector::CodeModel::IAssemblyResolver^ V_1 = nullptr;
System::Int32 V_2 = 0;
//method body -------
IL_0000: goto IL_0017; //br.s IL_0017
IL_0002: //ldloc V_2
IL_0006: switch(V_2){case 0:goto IL_0046;case 1:goto IL_0038;case 2:goto IL_0088;};//switch (IL_0046,IL_0038,IL_0088)
IL_0017: //ldarg.0
IL_0018: //ldarg.1
IL_0019: System::Windows::Forms::TreeView::OnBeforeExpand(A_0); //call void System::Windows::Forms::TreeView::OnBeforeExpand(System::Windows::Forms::TreeViewCancelEventArgs^)
IL_001e: //ldarg.1
IL_001f: Temp_0=A_0->Node; //callvirt System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeViewCancelEventArgs::get_Node()
IL_0024: //isinst Root::T_x3::T_x16
IL_0029: V_0=dynamic_cast<Root::T_x3::T_x16^>(Temp_0); //stloc.0
IL_002a: goto IL_002d; //br.s IL_002d
IL_002c: //break
IL_002d: //ldc.i4 0x1
IL_0032: V_2=1; //stloc V_2
IL_0036: /*goto IL_0002;*/goto IL_0038; //br.s IL_0002
IL_0038: //ldloc.0
IL_0039: if(V_0==nullptr)goto IL_008a; //brfalse.s IL_008a
IL_003b: //ldc.i4 0x0
IL_0040: V_2=0; //stloc V_2
IL_0044: /*goto IL_0002;*/goto IL_0046; //br.s IL_0002
IL_0046: goto IL_006e; //br.s IL_006e
IL_004601: try{
IL_0048: //ldarg.0
IL_0049: Temp_3=this->F_x2; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5 F_x2
IL_004e: //ldloc.1
IL_004f: Temp_4=gcnew Root::T_x100(V_1); //newobj void Root::T_x100::.ctor(Reflector::CodeModel::IAssemblyResolver^)
IL_0054: Temp_3->Resolver=safe_cast<Reflector::CodeModel::IAssemblyResolver^>(Temp_4);//callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_0059: //ldloc.0
IL_005a: V_0->M_x1(); //callvirt void Root::T_x3::T_x16::M_x1()
IL_005f: goto IL_008a; //leave.s IL_008a
;}
finally{
IL_0061: //ldarg.0
IL_0062: Temp_5=this->F_x2; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5 F_x2
IL_0067: //ldloc.1
IL_0068: Temp_5->Resolver=V_1; //callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_006d: //endfinally
;}
IL_006e: //ldarg.0
IL_006f: Temp_1=this->F_x2; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5 F_x2
IL_0074: Temp_2=Temp_1->Resolver; //callvirt Reflector::CodeModel::IAssemblyResolver^ Reflector::CodeModel::IAssemblyManager::get_Resolver()
IL_0079: V_1=Temp_2; //stloc.1
IL_007a: //ldc.i4 0x2
IL_007f: V_2=2; //stloc V_2
IL_0083: /*goto IL_0002;*/goto IL_0088; //br IL_0002
IL_0088: /*goto IL_0048;*/goto IL_004601; //br.s IL_0048
IL_008a: return; //ret
}
inline Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5::M_x2()
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssemblyManager^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->F_x2; //ldfld Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5 F_x2
IL_0006: return Temp_0; //ret
}
inline void Root::T_x3::T_x5::M_x2(System::Object^ A_0,System::EventArgs^ A_1)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeNode^ Temp_0 = nullptr;
Reflector::IAssemblyBrowser^ Temp_1 = nullptr;
System::Object^ Temp_2 = nullptr;
//local variables.
Root::T_x3::T_x6^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_0017; //br.s IL_0017
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_003f;case 1:goto IL_005d;case 2:goto IL_0031;};//switch (IL_003f,IL_005d,IL_0031)
IL_0017: goto IL_001a; //br.s IL_001a
IL_0019: //break
IL_001a: //ldarg.0
IL_001b: Temp_0=this->SelectedNode; //call System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeView::get_SelectedNode()
IL_0020: //isinst Root::T_x3::T_x6
IL_0025: V_0=dynamic_cast<Root::T_x3::T_x6^>(Temp_0); //stloc.0
IL_0026: //ldc.i4 0x2
IL_002b: V_1=2; //stloc V_1
IL_002f: /*goto IL_0002;*/goto IL_0031; //br.s IL_0002
IL_0031: //ldloc.0
IL_0032: if(V_0==nullptr)goto IL_005f; //brfalse.s IL_005f
IL_0034: //ldc.i4 0x0
IL_0039: V_1=0; //stloc V_1
IL_003d: /*goto IL_0002;*/goto IL_003f; //br.s IL_0002
IL_003f: goto IL_0041; //br.s IL_0041
IL_0041: //ldarg.0
IL_0042: Temp_1=this->F_x1; //ldfld Reflector::IAssemblyBrowser^ Root::T_x3::T_x5 F_x1
IL_0047: //ldloc.0
IL_0048: Temp_2=V_0->M_x1(); //callvirt System::Object^ Root::T_x3::T_x6::M_x1()
IL_004d: Temp_1->ActiveItem=Temp_2; //callvirt void Reflector::IAssemblyBrowser::set_ActiveItem(System::Object^)
IL_0052: //ldc.i4 0x1
IL_0057: V_1=1; //stloc V_1
IL_005b: /*goto IL_0002;*/goto IL_005d; //br.s IL_0002
IL_005d: goto IL_005f; //br.s IL_005f
IL_005f: return; //ret
}
inline void Root::T_x3::T_x5::OnMouseDown(System::Windows::Forms::MouseEventArgs^ e)
{
//temp variables , should be optimized by C++/cli compiler.
System::Int32 Temp_0 = 0;
System::Int32 Temp_1 = 0;
System::Windows::Forms::TreeNode^ Temp_2 = nullptr;
System::Windows::Forms::MouseButtons Temp_3 = (System::Windows::Forms::MouseButtons)0;
System::Windows::Forms::MouseButtons Temp_4 = (System::Windows::Forms::MouseButtons)0;
//local variables.
System::Windows::Forms::TreeNode^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_0027; //br.s IL_0027
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_00cf;case 1:goto IL_0051;case 2:goto IL_0099;case 3:goto IL_0039;case 4:goto IL_0065;case 5:goto IL_0088;case 6:goto IL_00a9;};//switch (IL_00cf,IL_0051,IL_0099,IL_0039,IL_0065,IL_0088,IL_00a9)
IL_0027: //ldarg.0
IL_0028: //ldarg.1
IL_0029: System::Windows::Forms::TreeView::OnMouseDown(e); //call void System::Windows::Forms::TreeView::OnMouseDown(System::Windows::Forms::MouseEventArgs^)
IL_002e: //ldc.i4 0x3
IL_0033: V_1=3; //stloc V_1
IL_0037: /*goto IL_0002;*/goto IL_0039; //br.s IL_0002
IL_0039: //ldarg.1
IL_003a: Temp_3=e->Button; //callvirt System::Windows::Forms::MouseButtons System::Windows::Forms::MouseEventArgs::get_Button()
IL_003f: //ldc.i4 0x100000
IL_0044: if(safe_cast<System::Int32>(Temp_3)==1048576)goto IL_0067; //beq.s IL_0067
IL_0046: //ldc.i4 0x1
IL_004b: V_1=1; //stloc V_1
IL_004f: /*goto IL_0002;*/goto IL_0051; //br.s IL_0002
IL_0051: goto IL_009b; //br.s IL_009b
IL_0053: //ldarg.0
IL_0054: //ldloc.0
IL_0055: this->SelectedNode=V_0; //call void System::Windows::Forms::TreeView::set_SelectedNode(System::Windows::Forms::TreeNode^)
IL_005a: //ldc.i4 0x4
IL_005f: V_1=4; //stloc V_1
IL_0063: /*goto IL_0002;*/goto IL_0065; //br.s IL_0002
IL_0065: goto IL_00d1; //br.s IL_00d1
IL_0067: //ldarg.0
IL_0068: //ldarg.1
IL_0069: Temp_0=e->X; //callvirt System::Int32 System::Windows::Forms::MouseEventArgs::get_X()
IL_006e: //ldarg.1
IL_006f: Temp_1=e->Y; //callvirt System::Int32 System::Windows::Forms::MouseEventArgs::get_Y()
IL_0074: Temp_2=this->GetNodeAt(Temp_0,Temp_1); //call System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeView::GetNodeAt(System::Int32,System::Int32)
IL_0079: V_0=Temp_2; //stloc.0
IL_007a: //ldc.i4 0x5
IL_007f: V_1=5; //stloc V_1
IL_0083: /*goto IL_0002;*/goto IL_0088; //br IL_0002
IL_0088: //ldloc.0
IL_0089: if(V_0==nullptr)goto IL_00d1; //brfalse.s IL_00d1
IL_008b: //ldc.i4 0x2
IL_0090: V_1=2; //stloc V_1
IL_0094: /*goto IL_0002;*/goto IL_0099; //br IL_0002
IL_0099: goto IL_0053; //br.s IL_0053
IL_009b: //ldc.i4 0x6
IL_00a0: V_1=6; //stloc V_1
IL_00a4: /*goto IL_0002;*/goto IL_00a9; //br IL_0002
IL_00a9: //ldc.i4.4
IL_00aa: //dup
IL_00ab: //dup
IL_00ac: //ldc.i4.2
IL_00ad: //sub
IL_00ae: //blt IL_00aa
IL_00b3: //pop
IL_00b4: //ldarg.1
IL_00b5: Temp_4=e->Button; //callvirt System::Windows::Forms::MouseButtons System::Windows::Forms::MouseEventArgs::get_Button()
IL_00ba: //ldc.i4 0x200000
IL_00bf: if(safe_cast<System::Int32>(Temp_4)!=2097152)goto IL_00d1; //bne.un.s IL_00d1
IL_00c1: //ldc.i4 0x0
IL_00c6: V_1=0; //stloc V_1
IL_00ca: /*goto IL_0002;*/goto IL_00cf; //br IL_0002
IL_00cf: goto IL_0067; //br.s IL_0067
IL_00d1: return; //ret
}
inline System::Boolean Root::T_x3::T_x5::ProcessDialogKey(System::Windows::Forms::Keys key)
{
//temp variables , should be optimized by C++/cli compiler.
System::Boolean Temp_0 = false;
System::Windows::Forms::TreeNode^ Temp_1 = nullptr;
System::Windows::Forms::TreeNode^ Temp_2 = nullptr;
Reflector::IAssemblyBrowser^ Temp_3 = nullptr;
System::Object^ Temp_4 = nullptr;
//local variables.
Root::T_x3::T_x6^ V_0 = nullptr;
Root::T_x3::T_x6^ V_1 = nullptr;
System::Int32 V_2 = 0;
//method body -------
IL_0000: //ldc.i4 0x1
IL_0005: V_2=1; //stloc V_2
IL_0009: /*goto IL_000d;*/goto IL_000b; //br.s IL_000d
IL_000b: goto IL_0036; //br.s IL_0036
IL_000d: //ldloc V_2
IL_0011: switch(V_2){case 0:goto IL_007a;case 1:goto IL_000b;case 2:goto IL_0046;case 3:goto IL_00ba;case 4:goto IL_005f;case 5:goto IL_008a;case 6:goto IL_006d;case 7:goto IL_00a6;};//switch (IL_007a,IL_000b,IL_0046,IL_00ba,IL_005f,IL_008a,IL_006d,IL_00a6)
IL_0036: //ldarg.1
IL_0037: //ldc.i4.s 13
IL_0039: if(safe_cast<System::Int32>(key)!=13)goto IL_006f; //bne.un.s IL_006f
IL_003b: //ldc.i4 0x2
IL_0040: V_2=2; //stloc V_2
IL_0044: /*goto IL_000d;*/goto IL_0046; //br.s IL_000d
IL_0046: goto IL_008c; //br.s IL_008c
IL_0048: //ldarg.0
IL_0049: Temp_2=this->SelectedNode; //call System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeView::get_SelectedNode()
IL_004e: //isinst Root::T_x3::T_x6
IL_0053: V_1=dynamic_cast<Root::T_x3::T_x6^>(Temp_2); //stloc.1
IL_0054: //ldc.i4 0x4
IL_0059: V_2=4; //stloc V_2
IL_005d: /*goto IL_000d;*/goto IL_005f; //br.s IL_000d
IL_005f: //ldloc.1
IL_0060: if(V_1==nullptr)goto IL_00d7; //brfalse.s IL_00d7
IL_0062: //ldc.i4 0x6
IL_0067: V_2=6; //stloc V_2
IL_006b: /*goto IL_000d;*/goto IL_006d; //br.s IL_000d
IL_006d: goto IL_00bc; //br.s IL_00bc
IL_006f: //ldc.i4 0x0
IL_0074: V_2=0; //stloc V_2
IL_0078: /*goto IL_000d;*/goto IL_007a; //br.s IL_000d
IL_007a: //ldarg.1
IL_007b: //ldc.i4.s 32
IL_007d: if(safe_cast<System::Int32>(key)!=32)goto IL_00d7; //bne.un.s IL_00d7
IL_007f: //ldc.i4 0x5
IL_0084: V_2=5; //stloc V_2
IL_0088: /*goto IL_000d;*/goto IL_008a; //br.s IL_000d
IL_008a: goto IL_0048; //br.s IL_0048
IL_008c: //ldarg.0
IL_008d: Temp_1=this->SelectedNode; //call System::Windows::Forms::TreeNode^ System::Windows::Forms::TreeView::get_SelectedNode()
IL_0092: //isinst Root::T_x3::T_x6
IL_0097: V_0=dynamic_cast<Root::T_x3::T_x6^>(Temp_1); //stloc.0
IL_0098: //ldc.i4 0x7
IL_009d: V_2=7; //stloc V_2
IL_00a1: /*goto IL_000d;*/goto IL_00a6; //br IL_000d
IL_00a6: //ldloc.0
IL_00a7: if(V_0==nullptr)goto IL_006f; //brfalse.s IL_006f
IL_00a9: goto IL_00ac; //br.s IL_00ac
IL_00ab: //break
IL_00ac: //ldc.i4 0x3
IL_00b1: V_2=3; //stloc V_2
IL_00b5: /*goto IL_000d;*/goto IL_00ba; //br IL_000d
IL_00ba: goto IL_00cf; //br.s IL_00cf
IL_00bc: //ldarg.0
IL_00bd: Temp_3=this->F_x1; //ldfld Reflector::IAssemblyBrowser^ Root::T_x3::T_x5 F_x1
IL_00c2: //ldloc.1
IL_00c3: Temp_4=V_1->M_x1(); //callvirt System::Object^ Root::T_x3::T_x6::M_x1()
IL_00c8: Temp_3->ActiveItem=Temp_4; //callvirt void Reflector::IAssemblyBrowser::set_ActiveItem(System::Object^)
IL_00cd: //ldc.i4.1
IL_00ce: return true; //ret
IL_00cf: //ldloc.0
IL_00d0: V_0->Toggle(); //callvirt void System::Windows::Forms::TreeNode::Toggle()
IL_00d5: //ldc.i4.1
IL_00d6: return true; //ret
IL_00d7: //ldarg.0
IL_00d8: //ldarg.1
IL_00d9: Temp_0=System::Windows::Forms::TreeView::ProcessDialogKey(key);//call System::Boolean System::Windows::Forms::TreeView::ProcessDialogKey(System::Windows::Forms::Keys)
IL_00de: return Temp_0; //ret
}
inline Root::T_x3::T_x6::T_x6()
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: /*System::Windows::Forms::TreeNode();*/ //call void System::Windows::Forms::TreeNode::.ctor()
IL_0006: return; //ret
}
inline System::Object^ Root::T_x3::T_x6::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x6 F_x1
IL_0006: return Temp_0; //ret
}
inline void Root::T_x3::T_x6::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: return; //ret
}
inline void Root::T_x3::T_x6::M_x12(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: //ldarg.1
IL_0002: this->F_x1=A_0; //stfld System::Object^ Root::T_x3::T_x6 F_x1
IL_0007: return; //ret
}
inline System::Int32 Root::T_x3::T_x6::M_x2(System::Object^ A_0)
//System::IComparable^::CompareTo by M_x2
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::String^ Temp_1 = nullptr;
System::Int32 Temp_2 = 0;
//local variables.
Root::T_x3::T_x6^ V_0 = nullptr;
//method body -------
IL_0000: //ldarg.1
IL_0001: //isinst Root::T_x3::T_x6
IL_0006: V_0=dynamic_cast<Root::T_x3::T_x6^>(A_0); //stloc.0
IL_0007: //ldloc.0
IL_0008: if(V_0==nullptr)goto IL_0021; //brfalse.s IL_0021
IL_000a: goto IL_000d; //br.s IL_000d
IL_000c: //break
IL_000d: goto IL_000f; //br.s IL_000f
IL_000f: //ldarg.0
IL_0010: Temp_0=this->Text; //call System::String^ System::Windows::Forms::TreeNode::get_Text()
IL_0015: //ldloc.0
IL_0016: Temp_1=V_0->Text; //callvirt System::String^ System::Windows::Forms::TreeNode::get_Text()
IL_001b: Temp_2=Temp_0->CompareTo(Temp_1); //callvirt System::Int32 System::String::CompareTo(System::String^)
IL_0020: return Temp_2; //ret
IL_0021: //ldc.i4.m1
IL_0022: return -1; //ret
}
inline Root::T_x3::T_x7::T_x7(Reflector::CodeModel::IAssemblyReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::String^ Temp_1 = nullptr;
System::String^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
Reflector::CodeModel::IAssembly^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.1
IL_000e: if(A_0==nullptr)goto IL_006e; //brfalse.s IL_006e
IL_0010: goto IL_002c; //br.s IL_002c
IL_0012: //ldloc.0
IL_0013: Temp_2=V_0->Status; //callvirt System::String^ Reflector::CodeModel::IAssembly::get_Status()
IL_0018: Temp_3=Temp_2->Length; //callvirt System::Int32 System::String::get_Length()
IL_001d: //ldc.i4.0
IL_001e: if(Temp_3<=0)goto IL_006e; //ble.s IL_006e
IL_0020: goto IL_0058; //br.s IL_0058
IL_0022: //ldloc.0
IL_0023: Temp_1=V_0->Status; //callvirt System::String^ Reflector::CodeModel::IAssembly::get_Status()
IL_0028: if(Temp_1==nullptr)goto IL_006e; //brfalse.s IL_006e
IL_002a: goto IL_0012; //br.s IL_0012
IL_002c: //ldarg.0
IL_002d: //ldarg.1
IL_002e: Temp_0=A_0->Name; //callvirt System::String^ Reflector::CodeModel::IAssemblyReference::get_Name()
IL_0033: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0038: //ldarg.0
IL_0039: //ldarg.0
IL_003a: //ldc.i4 0x97
IL_003f: //dup
IL_0040: V_1=151; //stloc.1
IL_0041: this->SelectedImageIndex=151; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0046: //ldloc.1
IL_0047: this->ImageIndex=V_1; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_004c: //ldarg.1
IL_004d: //isinst Reflector::CodeModel::IAssembly
IL_0052: V_0=dynamic_cast<Reflector::CodeModel::IAssembly^>(A_0); //stloc.0
IL_0053: //ldloc.0
IL_0054: if(V_0==nullptr)goto IL_006e; //brfalse.s IL_006e
IL_0056: goto IL_0022; //br.s IL_0022
IL_0058: //ldarg.0
IL_0059: //ldarg.0
IL_005a: //ldc.i4 0xa6
IL_005f: //dup
IL_0060: V_1=166; //stloc.1
IL_0061: this->SelectedImageIndex=166; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0066: //ldloc.1
IL_0067: this->ImageIndex=V_1; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_006c: goto IL_006e; //br.s IL_006e
IL_006e: return; //ret
}
inline void Root::T_x3::T_x7::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeNodeCollection^ Temp_0 = nullptr;
System::Object^ Temp_1 = nullptr;
Root::T_x3::T_x17^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
System::Object^ Temp_5 = nullptr;
Root::T_x3::T_x19^ Temp_6 = nullptr;
System::Int32 Temp_7 = 0;
//local variables.
//method body -------
IL_0000: goto IL_0003; //br.s IL_0003
IL_0002: //break
IL_0003: //ldarg.0
IL_0004: Temp_0=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0009: //ldarg.0
IL_000a: Temp_1=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_000f: Temp_2=gcnew Root::T_x3::T_x17(Temp_1); //newobj void Root::T_x3::T_x17::.ctor(System::Object^)
IL_0014: Temp_3=Temp_0->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0019: //pop
IL_001a: //ldarg.0
IL_001b: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0020: //ldarg.0
IL_0021: Temp_5=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0026: Temp_6=gcnew Root::T_x3::T_x19(Temp_5); //newobj void Root::T_x3::T_x19::.ctor(System::Object^)
IL_002b: Temp_7=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_6));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0030: //pop
IL_0031: return; //ret
}
inline Root::T_x3::T_x8::T_x8(Reflector::CodeModel::IModuleReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: Temp_0=A_0->Name; //callvirt System::String^ Reflector::CodeModel::IModuleReference::get_Name()
IL_0014: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0019: //ldarg.0
IL_001a: //ldarg.0
IL_001b: //ldc.i4 0x99
IL_0020: //dup
IL_0021: V_0=153; //stloc.0
IL_0022: this->SelectedImageIndex=153; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0027: //ldloc.0
IL_0028: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_002d: return; //ret
}
inline Root::T_x3::T_x8::T_x8(System::String^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldnull
IL_0008: this->M_x12(safe_cast<System::Object^>(nullptr)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: this->Text=A_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0014: //ldarg.0
IL_0015: //ldarg.0
IL_0016: //ldc.i4 0x99
IL_001b: //dup
IL_001c: V_0=153; //stloc.0
IL_001d: this->SelectedImageIndex=153; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0022: //ldloc.0
IL_0023: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0028: return; //ret
}
inline void Root::T_x3::T_x8::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeNodeCollection^ Temp_0 = nullptr;
System::Object^ Temp_1 = nullptr;
Root::T_x3::T_x17^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
System::Object^ Temp_5 = nullptr;
Root::T_x3::T_x19^ Temp_6 = nullptr;
System::Int32 Temp_7 = 0;
//local variables.
//method body -------
IL_0000: goto IL_0003; //br.s IL_0003
IL_0002: //break
IL_0003: //ldarg.0
IL_0004: Temp_0=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0009: //ldarg.0
IL_000a: Temp_1=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_000f: Temp_2=gcnew Root::T_x3::T_x17(Temp_1); //newobj void Root::T_x3::T_x17::.ctor(System::Object^)
IL_0014: Temp_3=Temp_0->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0019: //pop
IL_001a: //ldarg.0
IL_001b: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0020: //ldarg.0
IL_0021: Temp_5=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0026: Temp_6=gcnew Root::T_x3::T_x19(Temp_5); //newobj void Root::T_x3::T_x19::.ctor(System::Object^)
IL_002b: Temp_7=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_6));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0030: //pop
IL_0031: return; //ret
}
inline Root::T_x3::T_x9::T_x9(Reflector::CodeModel::INamespace^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: Temp_0=A_0->Name; //callvirt System::String^ Reflector::CodeModel::INamespace::get_Name()
IL_0014: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0019: //ldarg.0
IL_001a: //ldarg.0
IL_001b: //ldc.i4.1
IL_001c: //dup
IL_001d: V_0=1; //stloc.0
IL_001e: this->SelectedImageIndex=1; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0023: //ldloc.0
IL_0024: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0029: return; //ret
}
inline void Root::T_x3::T_x9::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x17^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
Reflector::CodeModel::INamespace^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_0017; //br.s IL_0017
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_003f;case 1:goto IL_0031;case 2:goto IL_005e;};//switch (IL_003f,IL_0031,IL_005e)
IL_0017: goto IL_001a; //br.s IL_001a
IL_0019: //break
IL_001a: //ldarg.0
IL_001b: Temp_0=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0020: //isinst Reflector::CodeModel::INamespace
IL_0025: V_0=dynamic_cast<Reflector::CodeModel::INamespace^>(Temp_0);//stloc.0
IL_0026: //ldc.i4 0x1
IL_002b: V_1=1; //stloc V_1
IL_002f: /*goto IL_0002;*/goto IL_0031; //br.s IL_0002
IL_0031: //ldloc.0
IL_0032: if(V_0==nullptr)goto IL_0060; //brfalse.s IL_0060
IL_0034: //ldc.i4 0x0
IL_0039: V_1=0; //stloc V_1
IL_003d: /*goto IL_0002;*/goto IL_003f; //br.s IL_0002
IL_003f: goto IL_0041; //br.s IL_0041
IL_0041: //ldarg.0
IL_0042: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0047: //ldloc.0
IL_0048: Temp_2=gcnew Root::T_x3::T_x17(safe_cast<System::Object^>(V_0));//newobj void Root::T_x3::T_x17::.ctor(System::Object^)
IL_004d: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0052: //pop
IL_0053: //ldc.i4 0x2
IL_0058: V_1=2; //stloc V_1
IL_005c: /*goto IL_0002;*/goto IL_005e; //br.s IL_0002
IL_005e: goto IL_0060; //br.s IL_0060
IL_0060: return; //ret
}
inline Root::T_x3::T_x10::T_x10(Reflector::CodeModel::ITypeReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
Reflector::CodeModel::ITypeDeclaration^ Temp_1 = nullptr;
System::Int32 Temp_2 = 0;
System::Int32 Temp_3 = 0;
System::Drawing::Color Temp_4;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: Temp_0=Root::T_x115::M_x8(A_0); //call System::String^ Root::T_x115::M_x8(Reflector::CodeModel::ITypeReference^)
IL_0014: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0019: //ldarg.1
IL_001a: Temp_1=A_0->Resolve(); //callvirt Reflector::CodeModel::ITypeDeclaration^ Reflector::CodeModel::ITypeReference::Resolve()
IL_001f: if(Temp_1==nullptr)goto IL_004a; //brfalse.s IL_004a
IL_0021: goto IL_0023; //br.s IL_0023
IL_0023: //ldarg.0
IL_0024: //ldarg.0
IL_0025: //ldarg.1
IL_0026: Temp_2=Root::T_x116::M_x12(A_0); //call System::Int32 Root::T_x116::M_x12(Reflector::CodeModel::ITypeReference^)
IL_002b: //dup
IL_002c: V_0=Temp_2; //stloc.0
IL_002d: this->SelectedImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0032: //ldloc.0
IL_0033: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0038: //ldarg.0
IL_0039: //ldarg.1
IL_003a: Temp_3=Root::T_x116::M_x1(A_0); //call System::Int32 Root::T_x116::M_x1(Reflector::CodeModel::ITypeReference^)
IL_003f: Temp_4=System::Drawing::Color::FromArgb(Temp_3); //call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32)
IL_0044: this->ForeColor=Temp_4; //call void System::Windows::Forms::TreeNode::set_ForeColor(System::Drawing::Color)
IL_0049: return; //ret
IL_004a: //ldarg.0
IL_004b: //ldarg.0
IL_004c: //ldc.i4 0xa6
IL_0051: //dup
IL_0052: V_0=166; //stloc.0
IL_0053: this->SelectedImageIndex=166; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0058: //ldloc.0
IL_0059: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_005e: return; //ret
}
inline void Root::T_x3::T_x10::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x17^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
Root::T_x3::T_x1^ Temp_5 = nullptr;
System::Int32 Temp_6 = 0;
//local variables.
Reflector::CodeModel::ITypeReference^ V_0 = nullptr;
//method body -------
IL_0000: goto IL_0003; //br.s IL_0003
IL_0002: //break
IL_0003: //ldarg.0
IL_0004: Temp_0=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0009: //isinst Reflector::CodeModel::ITypeReference
IL_000e: V_0=dynamic_cast<Reflector::CodeModel::ITypeReference^>(Temp_0);//stloc.0
IL_000f: //ldarg.0
IL_0010: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0015: //ldloc.0
IL_0016: Temp_2=gcnew Root::T_x3::T_x17(safe_cast<System::Object^>(V_0));//newobj void Root::T_x3::T_x17::.ctor(System::Object^)
IL_001b: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0020: //pop
IL_0021: //ldarg.0
IL_0022: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0027: //ldloc.0
IL_0028: //ldarg.1
IL_0029: Temp_5=gcnew Root::T_x3::T_x1(safe_cast<System::Object^>(V_0),A_0);//newobj void Root::T_x3::T_x1::.ctor(System::Object^,System::Object^)
IL_002e: Temp_6=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_5));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0033: //pop
IL_0034: return; //ret
}
inline Root::T_x3::T_x2::T_x2()
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: return; //ret
}
inline Root::T_x3::T_x11::T_x11(Reflector::CodeModel::IMethodReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_1 = nullptr;
System::String^ Temp_2 = nullptr;
System::InvalidOperationException^ Temp_3 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
Root::T_x3::T_x15^ Temp_5 = nullptr;
System::Int32 Temp_6 = 0;
System::Int32 Temp_7 = 0;
System::Int32 Temp_8 = 0;
System::Drawing::Color Temp_9;
//local variables.
Reflector::CodeModel::IMethodDeclaration^ V_0 = nullptr;
System::InvalidOperationException^ V_1 = nullptr;
System::Int32 V_2 = 0;
System::Int32 V_3 = 0;
//method body -------
IL_0000: //ldc.i4 0xe
IL_0005: V_3=14; //stloc V_3
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x2();*/ //call void Root::T_x3::T_x2::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_0016: //ldarg.0
IL_0017: //ldarg.1
IL_0018: Temp_0=Root::T_x115::M_x1(A_0); //call System::String^ Root::T_x115::M_x1(Reflector::CodeModel::IMethodReference^)
IL_001d: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0022: //ldarg.1
IL_0023: Temp_1=A_0->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_0028: V_0=Temp_1; //stloc.0
IL_0029: //ldloc.0
IL_002a: if(V_0==nullptr)goto IL_0055; //brfalse.s IL_0055
IL_002c: goto IL_002e; //br.s IL_002e
IL_002e: //ldarg.0
IL_002f: //ldarg.0
IL_0030: //ldarg.1
IL_0031: Temp_7=Root::T_x116::M_x12(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x12(Reflector::CodeModel::IMemberReference^)
IL_0036: //dup
IL_0037: V_2=Temp_7; //stloc.2
IL_0038: this->SelectedImageIndex=V_2; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_003d: //ldloc.2
IL_003e: this->ImageIndex=V_2; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0043: //ldarg.0
IL_0044: //ldarg.1
IL_0045: Temp_8=Root::T_x116::M_x1(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x1(Reflector::CodeModel::IMemberReference^)
IL_004a: Temp_9=System::Drawing::Color::FromArgb(Temp_8); //call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32)
IL_004f: this->ForeColor=Temp_9; //call void System::Windows::Forms::TreeNode::set_ForeColor(System::Drawing::Color)
IL_0054: return; //ret
IL_0055: //ldarg.0
IL_0056: //ldarg.0
IL_0057: //ldc.i4 0xa6
IL_005c: //dup
IL_005d: V_2=166; //stloc.2
IL_005e: this->SelectedImageIndex=166; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0063: //ldloc.2
IL_0064: this->ImageIndex=V_2; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0069: //ldstr L"\x612B\x4B2D\x442F\x5A31\x5B33\x5235\x1837\x5939\x5D3B\x503D\x603F\x2C41\x2B43\x3245\x6847\x2849\x294B\x6E4D\x224F\x3751\x2753\x3955\x3457\x2C59\x395B\x3A5D\x4E5F"
IL_006e: //ldloc V_3
IL_0072: Temp_2=a(L"\x612B\x4B2D\x442F\x5A31\x5B33\x5235\x1837\x5939\x5D3B\x503D\x603F\x2C41\x2B43\x3245\x6847\x2849\x294B\x6E4D\x224F\x3751\x2753\x3955\x3457\x2C59\x395B\x3A5D\x4E5F",V_3);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0077: Temp_3=gcnew System::InvalidOperationException(Temp_2); //newobj void System::InvalidOperationException::.ctor(System::String^)
IL_007c: V_1=Temp_3; //stloc.1
IL_007d: //ldarg.0
IL_007e: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0083: //ldloc.1
IL_0084: Temp_5=gcnew Root::T_x3::T_x15(safe_cast<System::Exception^>(V_1));//newobj void Root::T_x3::T_x15::.ctor(System::Exception^)
IL_0089: Temp_6=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_5));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_008e: //pop
IL_008f: return; //ret
}
inline void Root::T_x3::T_x11::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x17^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
Root::T_x3::T_x1^ Temp_5 = nullptr;
System::Int32 Temp_6 = 0;
//local variables.
Reflector::CodeModel::IMethodReference^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_0017; //br.s IL_0017
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_0031;case 1:goto IL_0071;case 2:goto IL_003f;};//switch (IL_0031,IL_0071,IL_003f)
IL_0017: goto IL_001a; //br.s IL_001a
IL_0019: //break
IL_001a: //ldarg.0
IL_001b: Temp_0=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0020: //isinst Reflector::CodeModel::IMethodReference
IL_0025: V_0=dynamic_cast<Reflector::CodeModel::IMethodReference^>(Temp_0);//stloc.0
IL_0026: //ldc.i4 0x0
IL_002b: V_1=0; //stloc V_1
IL_002f: /*goto IL_0002;*/goto IL_0031; //br.s IL_0002
IL_0031: //ldloc.0
IL_0032: if(V_0==nullptr)goto IL_0073; //brfalse.s IL_0073
IL_0034: //ldc.i4 0x2
IL_0039: V_1=2; //stloc V_1
IL_003d: /*goto IL_0002;*/goto IL_003f; //br.s IL_0002
IL_003f: goto IL_0041; //br.s IL_0041
IL_0041: //ldarg.0
IL_0042: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0047: //ldloc.0
IL_0048: Temp_2=gcnew Root::T_x3::T_x17(safe_cast<System::Object^>(V_0));//newobj void Root::T_x3::T_x17::.ctor(System::Object^)
IL_004d: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0052: //pop
IL_0053: //ldarg.0
IL_0054: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0059: //ldloc.0
IL_005a: //ldarg.1
IL_005b: Temp_5=gcnew Root::T_x3::T_x1(safe_cast<System::Object^>(V_0),A_0);//newobj void Root::T_x3::T_x1::.ctor(System::Object^,System::Object^)
IL_0060: Temp_6=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_5));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0065: //pop
IL_0066: //ldc.i4 0x1
IL_006b: V_1=1; //stloc V_1
IL_006f: /*goto IL_0002;*/goto IL_0071; //br.s IL_0002
IL_0071: goto IL_0073; //br.s IL_0073
IL_0073: return; //ret
}
inline Root::T_x3::T_x12::T_x12(Reflector::CodeModel::IFieldReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
Reflector::CodeModel::IFieldDeclaration^ Temp_1 = nullptr;
System::String^ Temp_2 = nullptr;
System::InvalidOperationException^ Temp_3 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_4 = nullptr;
Root::T_x3::T_x15^ Temp_5 = nullptr;
System::Int32 Temp_6 = 0;
System::Int32 Temp_7 = 0;
System::Int32 Temp_8 = 0;
System::Drawing::Color Temp_9;
//local variables.
System::InvalidOperationException^ V_0 = nullptr;
System::Int32 V_1 = 0;
System::Int32 V_2 = 0;
//method body -------
IL_0000: //ldc.i4 0xb
IL_0005: V_2=11; //stloc V_2
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x2();*/ //call void Root::T_x3::T_x2::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_0016: //ldarg.0
IL_0017: //ldarg.1
IL_0018: Temp_0=Root::T_x115::M_x1(A_0); //call System::String^ Root::T_x115::M_x1(Reflector::CodeModel::IFieldReference^)
IL_001d: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0022: //ldarg.1
IL_0023: Temp_1=A_0->Resolve(); //callvirt Reflector::CodeModel::IFieldDeclaration^ Reflector::CodeModel::IFieldReference::Resolve()
IL_0028: if(Temp_1==nullptr)goto IL_0053; //brfalse.s IL_0053
IL_002a: goto IL_002c; //br.s IL_002c
IL_002c: //ldarg.0
IL_002d: //ldarg.0
IL_002e: //ldarg.1
IL_002f: Temp_7=Root::T_x116::M_x12(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x12(Reflector::CodeModel::IMemberReference^)
IL_0034: //dup
IL_0035: V_1=Temp_7; //stloc.1
IL_0036: this->SelectedImageIndex=V_1; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_003b: //ldloc.1
IL_003c: this->ImageIndex=V_1; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0041: //ldarg.0
IL_0042: //ldarg.1
IL_0043: Temp_8=Root::T_x116::M_x1(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x1(Reflector::CodeModel::IMemberReference^)
IL_0048: Temp_9=System::Drawing::Color::FromArgb(Temp_8); //call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32)
IL_004d: this->ForeColor=Temp_9; //call void System::Windows::Forms::TreeNode::set_ForeColor(System::Drawing::Color)
IL_0052: return; //ret
IL_0053: //ldarg.0
IL_0054: //ldarg.0
IL_0055: //ldc.i4 0xa6
IL_005a: //dup
IL_005b: V_1=166; //stloc.1
IL_005c: this->SelectedImageIndex=166; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0061: //ldloc.1
IL_0062: this->ImageIndex=V_1; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0067: //ldstr L"\x6F28\x422A\x482C\x432E\x5530\x1332\x5634\x5636\x5738\x1B3A\x533C\x503E\x3540\x6342\x2744\x2246\x6948\x394A\x284C\x3C4E\x3E50\x3F52\x2354\x3256\x3D58\x755A"
IL_006c: //ldloc V_2
IL_0070: Temp_2=a(L"\x6F28\x422A\x482C\x432E\x5530\x1332\x5634\x5636\x5738\x1B3A\x533C\x503E\x3540\x6342\x2744\x2246\x6948\x394A\x284C\x3C4E\x3E50\x3F52\x2354\x3256\x3D58\x755A",V_2);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0075: Temp_3=gcnew System::InvalidOperationException(Temp_2); //newobj void System::InvalidOperationException::.ctor(System::String^)
IL_007a: V_0=Temp_3; //stloc.0
IL_007b: //ldarg.0
IL_007c: Temp_4=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0081: //ldloc.0
IL_0082: Temp_5=gcnew Root::T_x3::T_x15(safe_cast<System::Exception^>(V_0));//newobj void Root::T_x3::T_x15::.ctor(System::Exception^)
IL_0087: Temp_6=Temp_4->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_5));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_008c: //pop
IL_008d: return; //ret
}
inline void Root::T_x3::T_x12::M_x1(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x1^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
Reflector::CodeModel::IFieldReference^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_0017; //br.s IL_0017
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_003f;case 1:goto IL_0031;case 2:goto IL_005f;};//switch (IL_003f,IL_0031,IL_005f)
IL_0017: goto IL_001a; //br.s IL_001a
IL_0019: //break
IL_001a: //ldarg.0
IL_001b: Temp_0=Root::T_x3::T_x6::M_x1(); //call System::Object^ Root::T_x3::T_x6::M_x1()
IL_0020: //isinst Reflector::CodeModel::IFieldReference
IL_0025: V_0=dynamic_cast<Reflector::CodeModel::IFieldReference^>(Temp_0);//stloc.0
IL_0026: //ldc.i4 0x1
IL_002b: V_1=1; //stloc V_1
IL_002f: /*goto IL_0002;*/goto IL_0031; //br.s IL_0002
IL_0031: //ldloc.0
IL_0032: if(V_0==nullptr)goto IL_0061; //brfalse.s IL_0061
IL_0034: //ldc.i4 0x0
IL_0039: V_1=0; //stloc V_1
IL_003d: /*goto IL_0002;*/goto IL_003f; //br.s IL_0002
IL_003f: goto IL_0041; //br.s IL_0041
IL_0041: //ldarg.0
IL_0042: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0047: //ldloc.0
IL_0048: //ldarg.1
IL_0049: Temp_2=gcnew Root::T_x3::T_x1(safe_cast<System::Object^>(V_0),A_0);//newobj void Root::T_x3::T_x1::.ctor(System::Object^,System::Object^)
IL_004e: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0053: //pop
IL_0054: //ldc.i4 0x2
IL_0059: V_1=2; //stloc V_1
IL_005d: /*goto IL_0002;*/goto IL_005f; //br.s IL_0002
IL_005f: goto IL_0061; //br.s IL_0061
IL_0061: return; //ret
}
inline Root::T_x3::T_x13::T_x13(Reflector::CodeModel::IPropertyReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Int32 Temp_1 = 0;
System::Int32 Temp_2 = 0;
System::Drawing::Color Temp_3;
Reflector::CodeModel::IPropertyDeclaration^ Temp_4 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_5 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_6 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_7 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_8 = nullptr;
Root::T_x3::T_x11^ Temp_9 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_10 = nullptr;
System::Int32 Temp_11 = 0;
Reflector::CodeModel::IMethodReference^ Temp_12 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_13 = nullptr;
Root::T_x3::T_x11^ Temp_14 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_15 = nullptr;
System::Int32 Temp_16 = 0;
//local variables.
Reflector::CodeModel::IPropertyDeclaration^ V_0 = nullptr;
Root::T_x3::T_x11^ V_1 = nullptr;
Root::T_x3::T_x11^ V_2 = nullptr;
System::Int32 V_3 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x2();*/ //call void Root::T_x3::T_x2::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: Temp_0=Root::T_x115::M_x12(A_0); //call System::String^ Root::T_x115::M_x12(Reflector::CodeModel::IPropertyReference^)
IL_0014: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0019: //ldarg.0
IL_001a: //ldarg.0
IL_001b: //ldarg.1
IL_001c: Temp_1=Root::T_x116::M_x12(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x12(Reflector::CodeModel::IMemberReference^)
IL_0021: //dup
IL_0022: V_3=Temp_1; //stloc.3
IL_0023: this->SelectedImageIndex=V_3; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0028: //ldloc.3
IL_0029: this->ImageIndex=V_3; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_002e: //ldarg.0
IL_002f: //ldarg.1
IL_0030: Temp_2=Root::T_x116::M_x1(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x1(Reflector::CodeModel::IMemberReference^)
IL_0035: Temp_3=System::Drawing::Color::FromArgb(Temp_2); //call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32)
IL_003a: this->ForeColor=Temp_3; //call void System::Windows::Forms::TreeNode::set_ForeColor(System::Drawing::Color)
IL_003f: //ldarg.1
IL_0040: Temp_4=A_0->Resolve(); //callvirt Reflector::CodeModel::IPropertyDeclaration^ Reflector::CodeModel::IPropertyReference::Resolve()
IL_0045: V_0=Temp_4; //stloc.0
IL_0046: //ldloc.0
IL_0047: Temp_5=V_0->GetMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IPropertyDeclaration::get_GetMethod()
IL_004c: if(Temp_5==nullptr)goto IL_0077; //brfalse.s IL_0077
IL_004e: goto IL_0081; //br.s IL_0081
IL_0050: //ldloc.0
IL_0051: Temp_7=V_0->SetMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IPropertyDeclaration::get_SetMethod()
IL_0056: Temp_8=Temp_7->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_005b: Temp_9=gcnew Root::T_x3::T_x11(safe_cast<Reflector::CodeModel::IMethodReference^>(Temp_8));//newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_0060: V_2=Temp_9; //stloc.2
IL_0061: //ldloc.2
IL_0062: //ldnull
IL_0063: V_2->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_0068: //ldarg.0
IL_0069: Temp_10=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_006e: //ldloc.2
IL_006f: Temp_11=Temp_10->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0074: //pop
IL_0075: goto IL_00a8; //br.s IL_00a8
IL_0077: //ldloc.0
IL_0078: Temp_6=V_0->SetMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IPropertyDeclaration::get_SetMethod()
IL_007d: if(Temp_6==nullptr)goto IL_00a8; //brfalse.s IL_00a8
IL_007f: goto IL_0050; //br.s IL_0050
IL_0081: //ldloc.0
IL_0082: Temp_12=V_0->GetMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IPropertyDeclaration::get_GetMethod()
IL_0087: Temp_13=Temp_12->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_008c: Temp_14=gcnew Root::T_x3::T_x11(safe_cast<Reflector::CodeModel::IMethodReference^>(Temp_13));//newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_0091: V_1=Temp_14; //stloc.1
IL_0092: //ldloc.1
IL_0093: //ldnull
IL_0094: V_1->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_0099: //ldarg.0
IL_009a: Temp_15=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_009f: //ldloc.1
IL_00a0: Temp_16=Temp_15->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_1));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_00a5: //pop
IL_00a6: goto IL_0077; //br.s IL_0077
IL_00a8: return; //ret
}
inline Root::T_x3::T_x14::T_x14(Reflector::CodeModel::IEventReference^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Int32 Temp_1 = 0;
System::Int32 Temp_2 = 0;
System::Drawing::Color Temp_3;
Reflector::CodeModel::IEventDeclaration^ Temp_4 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_5 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_6 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_7 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_8 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_9 = nullptr;
Root::T_x3::T_x11^ Temp_10 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_11 = nullptr;
System::Int32 Temp_12 = 0;
Reflector::CodeModel::IMethodReference^ Temp_13 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_14 = nullptr;
Root::T_x3::T_x11^ Temp_15 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_16 = nullptr;
System::Int32 Temp_17 = 0;
Reflector::CodeModel::IMethodReference^ Temp_18 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_19 = nullptr;
Root::T_x3::T_x11^ Temp_20 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_21 = nullptr;
System::Int32 Temp_22 = 0;
//local variables.
Reflector::CodeModel::IEventDeclaration^ V_0 = nullptr;
Root::T_x3::T_x11^ V_1 = nullptr;
Root::T_x3::T_x11^ V_2 = nullptr;
Root::T_x3::T_x11^ V_3 = nullptr;
System::Int32 V_4 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x2();*/ //call void Root::T_x3::T_x2::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.1
IL_000f: Temp_0=Root::T_x115::M_x5(A_0); //call System::String^ Root::T_x115::M_x5(Reflector::CodeModel::IEventReference^)
IL_0014: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0019: //ldarg.0
IL_001a: //ldarg.0
IL_001b: //ldarg.1
IL_001c: Temp_1=Root::T_x116::M_x12(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x12(Reflector::CodeModel::IMemberReference^)
IL_0021: //dup
IL_0022: V_4=Temp_1; //stloc.s V_4
IL_0024: this->SelectedImageIndex=V_4; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0029: //ldloc.s V_4
IL_002b: this->ImageIndex=V_4; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0030: //ldarg.0
IL_0031: //ldarg.1
IL_0032: Temp_2=Root::T_x116::M_x1(safe_cast<Reflector::CodeModel::IMemberReference^>(A_0));//call System::Int32 Root::T_x116::M_x1(Reflector::CodeModel::IMemberReference^)
IL_0037: Temp_3=System::Drawing::Color::FromArgb(Temp_2); //call System::Drawing::Color System::Drawing::Color::FromArgb(System::Int32)
IL_003c: this->ForeColor=Temp_3; //call void System::Windows::Forms::TreeNode::set_ForeColor(System::Drawing::Color)
IL_0041: //ldarg.1
IL_0042: Temp_4=A_0->Resolve(); //callvirt Reflector::CodeModel::IEventDeclaration^ Reflector::CodeModel::IEventReference::Resolve()
IL_0047: V_0=Temp_4; //stloc.0
IL_0048: //ldloc.0
IL_0049: Temp_5=V_0->AddMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_AddMethod()
IL_004e: if(Temp_5==nullptr)goto IL_00d7; //brfalse IL_00d7
IL_0053: goto IL_0089; //br.s IL_0089
IL_0055: //ldloc.0
IL_0056: Temp_7=V_0->InvokeMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_InvokeMethod()
IL_005b: if(Temp_7==nullptr)goto IL_00e7; //brfalse IL_00e7
IL_0060: goto IL_00b0; //br.s IL_00b0
IL_0062: //ldloc.0
IL_0063: Temp_13=V_0->RemoveMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_RemoveMethod()
IL_0068: Temp_14=Temp_13->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_006d: Temp_15=gcnew Root::T_x3::T_x11(safe_cast<Reflector::CodeModel::IMethodReference^>(Temp_14));//newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_0072: V_2=Temp_15; //stloc.2
IL_0073: //ldloc.2
IL_0074: //ldnull
IL_0075: V_2->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_007a: //ldarg.0
IL_007b: Temp_16=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0080: //ldloc.2
IL_0081: Temp_17=Temp_16->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0086: //pop
IL_0087: goto IL_0055; //br.s IL_0055
IL_0089: //ldloc.0
IL_008a: Temp_18=V_0->AddMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_AddMethod()
IL_008f: Temp_19=Temp_18->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_0094: Temp_20=gcnew Root::T_x3::T_x11(safe_cast<Reflector::CodeModel::IMethodReference^>(Temp_19));//newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_0099: V_1=Temp_20; //stloc.1
IL_009a: //ldloc.1
IL_009b: //ldnull
IL_009c: V_1->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_00a1: //ldarg.0
IL_00a2: Temp_21=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_00a7: //ldloc.1
IL_00a8: Temp_22=Temp_21->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_1));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_00ad: //pop
IL_00ae: goto IL_00d7; //br.s IL_00d7
IL_00b0: //ldloc.0
IL_00b1: Temp_8=V_0->InvokeMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_InvokeMethod()
IL_00b6: Temp_9=Temp_8->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_00bb: Temp_10=gcnew Root::T_x3::T_x11(safe_cast<Reflector::CodeModel::IMethodReference^>(Temp_9));//newobj void Root::T_x3::T_x11::.ctor(Reflector::CodeModel::IMethodReference^)
IL_00c0: V_3=Temp_10; //stloc.3
IL_00c1: //ldloc.3
IL_00c2: //ldnull
IL_00c3: V_3->M_x1(safe_cast<System::Object^>(nullptr)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_00c8: //ldarg.0
IL_00c9: Temp_11=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_00ce: //ldloc.3
IL_00cf: Temp_12=Temp_11->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_3));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_00d4: //pop
IL_00d5: goto IL_00e7; //br.s IL_00e7
IL_00d7: //ldloc.0
IL_00d8: Temp_6=V_0->RemoveMethod; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::IEventDeclaration::get_RemoveMethod()
IL_00dd: if(Temp_6==nullptr)goto IL_0055; //brfalse IL_0055
IL_00e2: goto IL_0062; //br IL_0062
IL_00e7: return; //ret
}
inline Root::T_x3::T_x15::T_x15(System::Exception^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
//local variables.
System::Int32 V_0 = 0;
//method body -------
IL_0000: //ldarg.0
IL_0001: /*Root::T_x3::T_x6();*/ //call void Root::T_x3::T_x6::.ctor()
IL_0006: //ldarg.0
IL_0007: //ldarg.1
IL_0008: this->M_x12(safe_cast<System::Object^>(A_0)); //call void Root::T_x3::T_x6::M_x12(System::Object^)
IL_000d: //ldarg.0
IL_000e: //ldarg.0
IL_000f: //ldc.i4 0xa6
IL_0014: //dup
IL_0015: V_0=166; //stloc.0
IL_0016: this->SelectedImageIndex=166; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_001b: //ldloc.0
IL_001c: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0021: //ldarg.0
IL_0022: //ldarg.1
IL_0023: Temp_0=A_0->Message; //callvirt System::String^ System::Exception::get_Message()
IL_0028: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_002d: return; //ret
}
inline Root::T_x3::T_x16::T_x16()
{
//temp variables , should be optimized by C++/cli compiler.
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: /*System::Windows::Forms::TreeNode();*/ //call void System::Windows::Forms::TreeNode::.ctor()
IL_0006: return; //ret
}
inline void Root::T_x3::T_x16::M_x1(array<System::Windows::Forms::TreeNode^>^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeView^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
//local variables.
System::Windows::Forms::TreeView^ V_0 = nullptr;
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->TreeView; //call System::Windows::Forms::TreeView^ System::Windows::Forms::TreeNode::get_TreeView()
IL_0006: V_0=Temp_0; //stloc.0
IL_0007: //ldloc.0
IL_0008: if(V_0==nullptr)goto IL_002a; //brfalse.s IL_002a
IL_000a: goto IL_000d; //br.s IL_000d
IL_000c: //break
IL_000d: /*goto IL_000f;*/goto IL_000D01; //br.s IL_000f
IL_000D01: try{
IL_000f: //ldloc.0
IL_0010: V_0->BeginUpdate(); //callvirt void System::Windows::Forms::TreeView::BeginUpdate()
IL_0015: //ldarg.0
IL_0016: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_001b: //ldarg.1
IL_001c: Temp_1->AddRange(A_0); //callvirt void System::Windows::Forms::TreeNodeCollection::AddRange(array<System::Windows::Forms::TreeNode^>^)
IL_0021: goto IL_002a; //leave.s IL_002a
;}
finally{
IL_0023: //ldloc.0
IL_0024: V_0->EndUpdate(); //callvirt void System::Windows::Forms::TreeView::EndUpdate()
IL_0029: //endfinally
;}
IL_002a: return; //ret
}
inline void Root::T_x3::T_x16::M_x12()
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeNodeCollection^ Temp_0 = nullptr;
//local variables.
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0006: Temp_0->Clear(); //callvirt void System::Windows::Forms::TreeNodeCollection::Clear()
IL_000b: return; //ret
}
inline Root::T_x79^ Root::T_x3::T_x16::M_x13()
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeView^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
//local variables.
Root::T_x3::T_x5^ V_0 = nullptr;
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->TreeView; //call System::Windows::Forms::TreeView^ System::Windows::Forms::TreeNode::get_TreeView()
IL_0006: //isinst Root::T_x3::T_x5
IL_000b: V_0=dynamic_cast<Root::T_x3::T_x5^>(Temp_0); //stloc.0
IL_000c: //ldloc.0
IL_000d: if(V_0!=nullptr)goto IL_0013; //brtrue.s IL_0013
IL_000f: goto IL_0011; //br.s IL_0011
IL_0011: //ldnull
IL_0012: return nullptr; //ret
IL_0013: goto IL_0016; //br.s IL_0016
IL_0015: //break
IL_0016: //ldloc.0
IL_0017: Temp_1=V_0->M_x1(); //callvirt Root::T_x79^ Root::T_x3::T_x5::M_x1()
IL_001c: return Temp_1; //ret
}
inline Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x16::M_x8()
{
//temp variables , should be optimized by C++/cli compiler.
System::Windows::Forms::TreeView^ Temp_0 = nullptr;
Reflector::CodeModel::IAssemblyManager^ Temp_1 = nullptr;
//local variables.
Root::T_x3::T_x5^ V_0 = nullptr;
//method body -------
IL_0000: //ldarg.0
IL_0001: Temp_0=this->TreeView; //call System::Windows::Forms::TreeView^ System::Windows::Forms::TreeNode::get_TreeView()
IL_0006: //isinst Root::T_x3::T_x5
IL_000b: V_0=dynamic_cast<Root::T_x3::T_x5^>(Temp_0); //stloc.0
IL_000c: //ldloc.0
IL_000d: if(V_0!=nullptr)goto IL_0013; //brtrue.s IL_0013
IL_000f: goto IL_0011; //br.s IL_0011
IL_0011: //ldnull
IL_0012: return nullptr; //ret
IL_0013: //ldc.i4.4
IL_0014: //dup
IL_0015: //dup
IL_0016: //ldc.i4.2
IL_0017: //sub
IL_0018: //blt IL_0014
IL_001d: //pop
IL_001e: //ldloc.0
IL_001f: Temp_1=V_0->M_x2(); //callvirt Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x5::M_x2()
IL_0024: return Temp_1; //ret
}
inline Root::T_x3::T_x17::T_x17(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x6^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
System::Int32 V_0 = 0;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4 0x6
IL_0005: V_1=6; //stloc V_1
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x16();*/ //call void Root::T_x3::T_x16::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->F_x1=A_0; //stfld System::Object^ Root::T_x3::T_x17 F_x1
IL_0016: //ldarg.0
IL_0017: //ldarg.0
IL_0018: //ldc.i4 0xa4
IL_001d: //dup
IL_001e: V_0=164; //stloc.0
IL_001f: this->SelectedImageIndex=164; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0024: //ldloc.0
IL_0025: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_002a: //ldarg.0
IL_002b: //ldstr L"\x6023\x4325\x5827\x4F29\x422B\x4A2D\x432F\x1231\x7B33\x5835"
IL_0030: //ldloc V_1
IL_0034: Temp_0=a(L"\x6023\x4325\x5827\x4F29\x422B\x4A2D\x432F\x1231\x7B33\x5835",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0039: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_003e: //ldarg.0
IL_003f: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0044: Temp_2=gcnew Root::T_x3::T_x6(); //newobj void Root::T_x3::T_x6::.ctor()
IL_0049: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_004e: //pop
IL_004f: return; //ret
}
inline void Root::T_x3::T_x17::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssemblyManager^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
System::Object^ Temp_2 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_3 = nullptr;
Root::T_x21^ Temp_4 = nullptr;
System::Object^ Temp_5 = nullptr;
System::Object^ Temp_6 = nullptr;
System::Boolean Temp_7 = false;
System::Collections::SortedList^ Temp_8 = nullptr;
System::Int32 Temp_9 = 0;
array<System::Windows::Forms::TreeNode^>^ Temp_10 = nullptr;
System::Collections::IDictionaryEnumerator^ Temp_11 = nullptr;
System::Int32 Temp_12 = 0;
System::Object^ Temp_13 = nullptr;
Reflector::CodeModel::IAssemblyReference^ Temp_14 = nullptr;
Root::T_x3::T_x6^ Temp_15 = nullptr;
System::Object^ Temp_16 = nullptr;
System::Boolean Temp_17 = false;
System::Collections::ArrayList^ Temp_18 = nullptr;
System::Int32 Temp_19 = 0;
System::Boolean Temp_20 = false;
System::Object^ Temp_21 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_22 = nullptr;
System::Int32 Temp_23 = 0;
Reflector::CodeModel::IType^ Temp_24 = nullptr;
Reflector::CodeModel::IAssemblyReference^ Temp_25 = nullptr;
Root::T_x3::T_x6^ Temp_26 = nullptr;
System::Boolean Temp_27 = false;
System::Boolean Temp_28 = false;
System::Object^ Temp_29 = nullptr;
System::Object^ Temp_30 = nullptr;
Root::T_x3::T_x6^ Temp_31 = nullptr;
System::Int32 Temp_32 = 0;
System::Object^ Temp_33 = nullptr;
System::Collections::IEnumerator^ Temp_34 = nullptr;
//local variables.
Root::T_x79^ V_0 = nullptr;
Reflector::CodeModel::IAssembly^ V_1 = nullptr;
Reflector::CodeModel::IModule^ V_2 = nullptr;
Reflector::CodeModel::IAssembly^ V_3 = nullptr;
Root::T_x21^ V_4 = nullptr;
System::Collections::SortedList^ V_5 = nullptr;
Reflector::CodeModel::IAssemblyReference^ V_6 = nullptr;
Root::T_x3::T_x6^ V_7 = nullptr;
Reflector::CodeModel::ITypeReference^ V_8 = nullptr;
Reflector::CodeModel::IMemberReference^ V_9 = nullptr;
System::Collections::ArrayList^ V_10 = nullptr;
array<System::Windows::Forms::TreeNode^>^ V_11 = nullptr;
System::Int32 V_12 = 0;
System::Collections::DictionaryEntry V_13;
Reflector::CodeModel::IAssemblyReference^ V_14 = nullptr;
Root::T_x3::T_x6^ V_15 = nullptr;
System::Collections::ArrayList^ V_16 = nullptr;
Root::T_x3::T_x6^ V_17 = nullptr;
System::Collections::IDictionaryEnumerator^ V_18 = nullptr;
System::Collections::IEnumerator^ V_19 = nullptr;
System::IDisposable^ V_20 = nullptr;
System::Int32 V_21 = 0;
//method body -------
IL_0000: goto IL_008e; //br IL_008e
IL_0005: //ldloc V_21
IL_0009: switch(V_21){case 0:goto IL_00d9;case 1:goto IL_0255;case 2:goto IL_04c2;case 3:goto IL_0230;case 4:goto IL_03a3;case 5:goto IL_02e1;case 6:goto IL_00ec;case 7:goto IL_02fc;case 8:goto IL_037c;case 9:goto IL_0143;case 10:goto IL_0285;case 11:goto IL_0507;case 12:goto IL_0106;case 13:goto IL_04ad;case 14:goto IL_02b4;case 15:goto IL_03b8;case 16:goto IL_034c;case 17:goto IL_03e2;case 18:goto IL_00c5;case 19:goto IL_049d;case 20:goto IL_0298;case 21:goto IL_051b;case 22:goto IL_0129;case 23:goto IL_031d;case 24:goto IL_0449;case 25:goto IL_0332;case 26:goto IL_0367;case 27:goto IL_02c7;case 28:goto IL_0549;case 29:goto IL_04e8;case 30:goto IL_026b;case 31:goto IL_0466;};//switch (IL_00d9,IL_0255,IL_04c2,IL_0230,IL_03a3,IL_02e1,IL_00ec,IL_02fc,IL_037c,IL_0143,IL_0285,IL_0507,IL_0106,IL_04ad,IL_02b4,IL_03b8,IL_034c,IL_03e2,IL_00c5,IL_049d,IL_0298,IL_051b,IL_0129,IL_031d,IL_0449,IL_0332,IL_0367,IL_02c7,IL_0549,IL_04e8,IL_026b,IL_0466)
IL_008e: //ldarg.0
IL_008f: this->M_x12(); //call void Root::T_x3::T_x16::M_x12()
IL_0094: //ldarg.0
IL_0095: Temp_0=this->M_x8(); //call Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x16::M_x8()
IL_009a: //pop
IL_009b: //ldarg.0
IL_009c: Temp_1=this->M_x13(); //call Root::T_x79^ Root::T_x3::T_x16::M_x13()
IL_00a1: V_0=Temp_1; //stloc.0
IL_00a2: //ldloc.0
IL_00a3: //ldc.i4.0
IL_00a4: V_0->M_x1(safe_cast<System::Int32>(0)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_00a9: //ldnull
IL_00aa: V_1=safe_cast<Reflector::CodeModel::IAssembly^>(nullptr); //stloc.1
IL_00ab: //ldarg.0
IL_00ac: Temp_2=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_00b1: //isinst Reflector::CodeModel::IModule
IL_00b6: V_2=dynamic_cast<Reflector::CodeModel::IModule^>(Temp_2); //stloc.2
IL_00b7: //ldc.i4 0x12
IL_00bc: V_21=18; //stloc V_21
IL_00c0: /*goto IL_0005;*/goto IL_00c5; //br IL_0005
IL_00c5: //ldloc.2
IL_00c6: if(V_2==nullptr)goto IL_04ed; //brfalse IL_04ed
IL_00cb: //ldc.i4 0x0
IL_00d0: V_21=0; //stloc V_21
IL_00d4: /*goto IL_0005;*/goto IL_00d9; //br IL_0005
IL_00d9: goto IL_0337; //br IL_0337
IL_00de: //ldc.i4 0x6
IL_00e3: V_21=6; //stloc V_21
IL_00e7: /*goto IL_0005;*/goto IL_00ec; //br IL_0005
IL_00ec: //ldloc.s V_4
IL_00ee: Temp_7=V_4->M_x8(); //callvirt System::Boolean Root::T_x21::M_x8()
IL_00f3: if(Temp_7)goto IL_02b9; //brtrue IL_02b9
IL_00f8: //ldc.i4 0xc
IL_00fd: V_21=12; //stloc V_21
IL_0101: /*goto IL_0005;*/goto IL_0106; //br IL_0005
IL_0106: goto IL_0520; //br IL_0520
IL_010b: //ldloc.s V_5
IL_010d: //ldloc.s V_6
IL_010f: Temp_13=V_5[safe_cast<System::Object^>(V_6)]; //callvirt System::Object^ System::Collections::SortedList::get_Item(System::Object^)
IL_0114: //castclass System::Collections::ArrayList
IL_0119: V_10=safe_cast<System::Collections::ArrayList^>(Temp_13); //stloc.s V_10
IL_011b: //ldc.i4 0x16
IL_0120: V_21=22; //stloc V_21
IL_0124: /*goto IL_0005;*/goto IL_0129; //br IL_0005
IL_0129: goto IL_044e; //br IL_044e
IL_012e: Temp_8=gcnew System::Collections::SortedList(); //newobj void System::Collections::SortedList::.ctor()
IL_0133: V_5=Temp_8; //stloc.s V_5
IL_0135: //ldc.i4 0x9
IL_013a: V_21=9; //stloc V_21
IL_013e: /*goto IL_0005;*/goto IL_0143; //br IL_0005
IL_0143: goto IL_00de; //br IL_00de
IL_014301: try{
IL_0148: //ldc.i4 0x0
IL_014d: V_21=0; //stloc V_21
IL_0151: /*goto IL_0155;*/goto IL_0153; //br.s IL_0155
IL_0153: goto IL_0172; //br.s IL_0172
IL_0155: //ldloc V_21
IL_0159: switch(V_21){case 0:goto IL_0153;case 1:goto IL_01ca;case 2:goto IL_01bd;case 3:goto IL_0193;case 4:goto IL_017f;};//switch (IL_0153,IL_01ca,IL_01bd,IL_0193,IL_017f)
IL_0172: goto IL_0174; //br.s IL_0174
IL_0174: //ldc.i4 0x4
IL_0179: V_21=4; //stloc V_21
IL_017d: /*goto IL_0155;*/goto IL_017f; //br.s IL_0155
IL_017f: //ldloc.s V_19
IL_0181: Temp_20=V_19->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_0186: if(Temp_20)goto IL_0195; //brtrue.s IL_0195
IL_0188: //ldc.i4 0x3
IL_018d: V_21=3; //stloc V_21
IL_0191: /*goto IL_0155;*/goto IL_0193; //br.s IL_0155
IL_0193: goto IL_01bf; //br.s IL_01bf
IL_0195: //ldloc.s V_19
IL_0197: Temp_21=V_19->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_019c: //castclass Root::T_x3::T_x6
IL_01a1: V_17=safe_cast<Root::T_x3::T_x6^>(Temp_21); //stloc.s V_17
IL_01a3: //ldloc.s V_15
IL_01a5: Temp_22=V_15->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_01aa: //ldloc.s V_17
IL_01ac: Temp_23=Temp_22->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_17));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_01b1: //pop
IL_01b2: //ldc.i4 0x2
IL_01b7: V_21=2; //stloc V_21
IL_01bb: /*goto IL_0155;*/goto IL_01bd; //br.s IL_0155
IL_01bd: goto IL_0174; //br.s IL_0174
IL_01bf: //ldc.i4 0x1
IL_01c4: V_21=1; //stloc V_21
IL_01c8: /*goto IL_0155;*/goto IL_01ca; //br.s IL_0155
IL_01ca: goto IL_025d; //leave IL_025d
;}
finally{
IL_01cf: goto IL_01e6; //br.s IL_01e6
IL_01d1: //ldloc V_21
IL_01d5: switch(V_21){case 0:goto IL_01fa;case 1:goto IL_0209;case 2:goto IL_021d;};//switch (IL_01fa,IL_0209,IL_021d)
IL_01e6: //ldloc.s V_19
IL_01e8: //isinst System::IDisposable
IL_01ed: V_20=dynamic_cast<System::IDisposable^>(V_19); //stloc.s V_20
IL_01ef: //ldc.i4 0x0
IL_01f4: V_21=0; //stloc V_21
IL_01f8: /*goto IL_01d1;*/goto IL_01fa; //br.s IL_01d1
IL_01fa: //ldloc.s V_20
IL_01fc: if(V_20==nullptr)goto IL_021f; //brfalse.s IL_021f
IL_01fe: //ldc.i4 0x1
IL_0203: V_21=1; //stloc V_21
IL_0207: /*goto IL_01d1;*/goto IL_0209; //br.s IL_01d1
IL_0209: goto IL_020b; //br.s IL_020b
IL_020b: //ldloc.s V_20
IL_020d: /*V_20->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_0212: //ldc.i4 0x2
IL_0217: V_21=2; //stloc V_21
IL_021b: /*goto IL_01d1;*/goto IL_021d; //br.s IL_01d1
IL_021d: goto IL_021f; //br.s IL_021f
IL_021f: //endfinally
;}
IL_0220: //ldloc.3
IL_0221: V_1=V_3; //stloc.1
IL_0222: //ldc.i4 0x3
IL_0227: V_21=3; //stloc V_21
IL_022b: /*goto IL_0005;*/goto IL_0230; //br IL_0005
IL_0230: goto IL_0351; //br IL_0351
IL_0235: //ldloc.0
IL_0236: //ldloc.s V_4
IL_0238: Temp_12=V_4->M_x1(); //callvirt System::Int32 Root::T_x21::M_x1()
IL_023d: V_0->M_x1(Temp_12); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_0242: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_0247: //ldc.i4 0x1
IL_024c: V_21=1; //stloc V_21
IL_0250: /*goto IL_0005;*/goto IL_0255; //br IL_0005
IL_0255: goto IL_0258; //br.s IL_0258
IL_0257: //break
IL_0258: goto IL_00de; //br IL_00de
IL_025d: //ldc.i4 0x1e
IL_0262: V_21=30; //stloc V_21
IL_0266: /*goto IL_0005;*/goto IL_026b; //br IL_0005
IL_026b: //ldloc.s V_18
IL_026d: Temp_28=safe_cast<System::Collections::IEnumerator^>(V_18)->MoveNext();//callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_0272: if(Temp_28)goto IL_03e7; //brtrue IL_03e7
IL_0277: //ldc.i4 0xa
IL_027c: V_21=10; //stloc V_21
IL_0280: /*goto IL_0005;*/goto IL_0285; //br IL_0005
IL_0285: goto IL_02e6; //br.s IL_02e6
IL_0287: //ldnull
IL_0288: V_10=safe_cast<System::Collections::ArrayList^>(nullptr); //stloc.s V_10
IL_028a: //ldc.i4 0x14
IL_028f: V_21=20; //stloc V_21
IL_0293: /*goto IL_0005;*/goto IL_0298; //br IL_0005
IL_0298: //ldloc.s V_5
IL_029a: //ldloc.s V_6
IL_029c: Temp_17=V_5->Contains(safe_cast<System::Object^>(V_6)); //callvirt System::Boolean System::Collections::SortedList::Contains(System::Object^)
IL_02a1: if(!Temp_17)goto IL_04c7; //brfalse IL_04c7
IL_02a6: //ldc.i4 0xe
IL_02ab: V_21=14; //stloc V_21
IL_02af: /*goto IL_0005;*/goto IL_02b4; //br IL_0005
IL_02b4: goto IL_010b; //br IL_010b
IL_02b9: //ldc.i4 0x1b
IL_02be: V_21=27; //stloc V_21
IL_02c2: /*goto IL_0005;*/goto IL_02c7; //br IL_0005
IL_02c7: //ldloc.s V_4
IL_02c9: Temp_27=V_4->M_x2(); //callvirt System::Boolean Root::T_x21::M_x2()
IL_02ce: if(!Temp_27)goto IL_0235; //brfalse IL_0235
IL_02d3: //ldc.i4 0x5
IL_02d8: V_21=5; //stloc V_21
IL_02dc: /*goto IL_0005;*/goto IL_02e1; //br IL_0005
IL_02e1: goto IL_0381; //br IL_0381
IL_02e6: //ldarg.0
IL_02e7: //ldloc.s V_11
IL_02e9: Root::T_x3::T_x16::M_x1(V_11); //call void Root::T_x3::T_x16::M_x1(array<System::Windows::Forms::TreeNode^>^)
IL_02ee: //ldc.i4 0x7
IL_02f3: V_21=7; //stloc V_21
IL_02f7: /*goto IL_0005;*/goto IL_02fc; //br IL_0005
IL_02fc: goto IL_054e; //br IL_054e
IL_0301: //ldloc.s V_4
IL_0303: Temp_5=V_4->M_x12(); //callvirt System::Object^ Root::T_x21::M_x12()
IL_0308: //isinst Reflector::CodeModel::IMemberReference
IL_030d: V_9=dynamic_cast<Reflector::CodeModel::IMemberReference^>(Temp_5);//stloc.s V_9
IL_030f: //ldc.i4 0x17
IL_0314: V_21=23; //stloc V_21
IL_0318: /*goto IL_0005;*/goto IL_031d; //br IL_0005
IL_031d: //ldloc.s V_9
IL_031f: if(V_9==nullptr)goto IL_049f; //brfalse IL_049f
IL_0324: //ldc.i4 0x19
IL_0329: V_21=25; //stloc V_21
IL_032d: /*goto IL_0005;*/goto IL_0332; //br IL_0005
IL_0332: goto IL_046b; //br IL_046b
IL_0337: //ldloc.2
IL_0338: Temp_3=V_2->Assembly; //callvirt Reflector::CodeModel::IAssembly^ Reflector::CodeModel::IModule::get_Assembly()
IL_033d: V_1=Temp_3; //stloc.1
IL_033e: //ldc.i4 0x10
IL_0343: V_21=16; //stloc V_21
IL_0347: /*goto IL_0005;*/goto IL_034c; //br IL_0005
IL_034c: goto IL_04ed; //br IL_04ed
IL_0351: //ldarg.0
IL_0352: Temp_4=this->M_x2(); //call Root::T_x21^ Root::T_x3::T_x17::M_x2()
IL_0357: V_4=Temp_4; //stloc.s V_4
IL_0359: //ldc.i4 0x1a
IL_035e: V_21=26; //stloc V_21
IL_0362: /*goto IL_0005;*/goto IL_0367; //br IL_0005
IL_0367: //ldloc.s V_4
IL_0369: if(V_4==nullptr)goto IL_054e; //brfalse IL_054e
IL_036e: //ldc.i4 0x8
IL_0373: V_21=8; //stloc V_21
IL_0377: /*goto IL_0005;*/goto IL_037c; //br IL_0005
IL_037c: goto IL_012e; //br IL_012e
IL_0381: //ldnull
IL_0382: V_6=safe_cast<Reflector::CodeModel::IAssemblyReference^>(nullptr);//stloc.s V_6
IL_0384: //ldnull
IL_0385: V_7=safe_cast<Root::T_x3::T_x6^>(nullptr); //stloc.s V_7
IL_0387: //ldloc.s V_4
IL_0389: Temp_6=V_4->M_x12(); //callvirt System::Object^ Root::T_x21::M_x12()
IL_038e: //isinst Reflector::CodeModel::ITypeReference
IL_0393: V_8=dynamic_cast<Reflector::CodeModel::ITypeReference^>(Temp_6);//stloc.s V_8
IL_0395: //ldc.i4 0x4
IL_039a: V_21=4; //stloc V_21
IL_039e: /*goto IL_0005;*/goto IL_03a3; //br IL_0005
IL_03a3: //ldloc.s V_8
IL_03a5: if(V_8==nullptr)goto IL_0301; //brfalse IL_0301
IL_03aa: //ldc.i4 0xf
IL_03af: V_21=15; //stloc V_21
IL_03b3: /*goto IL_0005;*/goto IL_03b8; //br IL_0005
IL_03b8: goto IL_03ba; //br.s IL_03ba
IL_03ba: //ldloc.s V_8
IL_03bc: Temp_14=Root::T_x115::M_x1(safe_cast<Reflector::CodeModel::IType^>(V_8));//call Reflector::CodeModel::IAssemblyReference^ Root::T_x115::M_x1(Reflector::CodeModel::IType^)
IL_03c1: V_6=Temp_14; //stloc.s V_6
IL_03c3: //ldloc.s V_8
IL_03c5: Temp_15=Root::T_x3::T_x4::M_x1(safe_cast<System::Object^>(V_8));//call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_03ca: V_7=Temp_15; //stloc.s V_7
IL_03cc: //ldloc.s V_7
IL_03ce: //ldloc.1
IL_03cf: V_7->M_x1(safe_cast<System::Object^>(V_1)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_03d4: //ldc.i4 0x11
IL_03d9: V_21=17; //stloc V_21
IL_03dd: /*goto IL_0005;*/goto IL_03e2; //br IL_0005
IL_03e2: goto IL_0301; //br IL_0301
IL_03e7: //ldloc.s V_18
IL_03e9: Temp_29=safe_cast<System::Collections::IEnumerator^>(V_18)->Current;//callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_03ee: //unbox System::Collections::DictionaryEntry
IL_03f3: //ldobj System::Collections::DictionaryEntry
IL_03f8: V_13=safe_cast<System::Collections::DictionaryEntry>(Temp_29);//stloc.s V_13
IL_03fa: //ldloca.s V_13
IL_03fc: Temp_30=V_13.Key; //call System::Object^ System::Collections::DictionaryEntry::get_Key()
IL_0401: //castclass Reflector::CodeModel::IAssemblyReference
IL_0406: V_14=safe_cast<Reflector::CodeModel::IAssemblyReference^>(Temp_30);//stloc.s V_14
IL_0408: //ldloc.s V_14
IL_040a: Temp_31=Root::T_x3::T_x4::M_x1(safe_cast<System::Object^>(V_14));//call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_040f: V_15=Temp_31; //stloc.s V_15
IL_0411: //ldloc.s V_11
IL_0413: Temp_32=V_12; //ldloc.s V_12
IL_0415: //dup
IL_0416: //ldc.i4.1
IL_0417: //add
IL_0418: V_12=(Temp_32 + 1); //stloc.s V_12
IL_041a: //ldloc.s V_15
IL_041c: V_11[Temp_32]=safe_cast<System::Windows::Forms::TreeNode^>(V_15);//stelem.ref
IL_041d: //ldloca.s V_13
IL_041f: Temp_33=V_13.Value; //call System::Object^ System::Collections::DictionaryEntry::get_Value()
IL_0424: //castclass System::Collections::ArrayList
IL_0429: V_16=safe_cast<System::Collections::ArrayList^>(Temp_33); //stloc.s V_16
IL_042b: //ldloc.s V_16
IL_042d: V_16->Sort(); //callvirt void System::Collections::ArrayList::Sort()
IL_0432: //ldloc.s V_16
IL_0434: Temp_34=V_16->GetEnumerator(); //callvirt System::Collections::IEnumerator^ System::Collections::ArrayList::GetEnumerator()
IL_0439: V_19=Temp_34; //stloc.s V_19
IL_043b: //ldc.i4 0x18
IL_0440: V_21=24; //stloc V_21
IL_0444: /*goto IL_0005;*/goto IL_0449; //br IL_0005
IL_0449: /*goto IL_0148;*/goto IL_014301; //br IL_0148
IL_044e: //ldloc.s V_10
IL_0450: //ldloc.s V_7
IL_0452: Temp_19=V_10->Add(safe_cast<System::Object^>(V_7)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_0457: //pop
IL_0458: //ldc.i4 0x1f
IL_045d: V_21=31; //stloc V_21
IL_0461: /*goto IL_0005;*/goto IL_0466; //br IL_0005
IL_0466: goto IL_0235; //br IL_0235
IL_046b: //ldloc.s V_9
IL_046d: Temp_24=V_9->DeclaringType; //callvirt Reflector::CodeModel::IType^ Reflector::CodeModel::IMemberReference::get_DeclaringType()
IL_0472: //isinst Reflector::CodeModel::ITypeReference
IL_0477: Temp_25=Root::T_x115::M_x1(safe_cast<Reflector::CodeModel::IType^>(dynamic_cast<Reflector::CodeModel::ITypeReference^>(Temp_24)));//call Reflector::CodeModel::IAssemblyReference^ Root::T_x115::M_x1(Reflector::CodeModel::IType^)
IL_047c: V_6=Temp_25; //stloc.s V_6
IL_047e: //ldloc.s V_9
IL_0480: Temp_26=Root::T_x3::T_x4::M_x1(safe_cast<System::Object^>(V_9));//call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_0485: V_7=Temp_26; //stloc.s V_7
IL_0487: //ldloc.s V_7
IL_0489: //ldloc.1
IL_048a: V_7->M_x1(safe_cast<System::Object^>(V_1)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_048f: //ldc.i4 0x13
IL_0494: V_21=19; //stloc V_21
IL_0498: /*goto IL_0005;*/goto IL_049d; //br IL_0005
IL_049d: goto IL_049f; //br.s IL_049f
IL_049f: //ldc.i4 0xd
IL_04a4: V_21=13; //stloc V_21
IL_04a8: /*goto IL_0005;*/goto IL_04ad; //br IL_0005
IL_04ad: //ldloc.s V_6
IL_04af: if(V_6==nullptr)goto IL_0235; //brfalse IL_0235
IL_04b4: //ldc.i4 0x2
IL_04b9: V_21=2; //stloc V_21
IL_04bd: /*goto IL_0005;*/goto IL_04c2; //br IL_0005
IL_04c2: goto IL_0287; //br IL_0287
IL_04c7: //ldc.i4.0
IL_04c8: Temp_18=gcnew System::Collections::ArrayList(safe_cast<System::Int32>(0));//newobj void System::Collections::ArrayList::.ctor(System::Int32)
IL_04cd: V_10=Temp_18; //stloc.s V_10
IL_04cf: //ldloc.s V_5
IL_04d1: //ldloc.s V_6
IL_04d3: //ldloc.s V_10
IL_04d5: V_5->Add(safe_cast<System::Object^>(V_6),safe_cast<System::Object^>(V_10));//callvirt void System::Collections::SortedList::Add(System::Object^,System::Object^)
IL_04da: //ldc.i4 0x1d
IL_04df: V_21=29; //stloc V_21
IL_04e3: /*goto IL_0005;*/goto IL_04e8; //br IL_0005
IL_04e8: goto IL_044e; //br IL_044e
IL_04ed: //ldarg.0
IL_04ee: Temp_16=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_04f3: //isinst Reflector::CodeModel::IAssembly
IL_04f8: V_3=dynamic_cast<Reflector::CodeModel::IAssembly^>(Temp_16);//stloc.3
IL_04f9: //ldc.i4 0xb
IL_04fe: V_21=11; //stloc V_21
IL_0502: /*goto IL_0005;*/goto IL_0507; //br IL_0005
IL_0507: //ldloc.3
IL_0508: if(V_3==nullptr)goto IL_0351; //brfalse IL_0351
IL_050d: //ldc.i4 0x15
IL_0512: V_21=21; //stloc V_21
IL_0516: /*goto IL_0005;*/goto IL_051b; //br IL_0005
IL_051b: goto IL_0220; //br IL_0220
IL_0520: //ldloc.s V_5
IL_0522: Temp_9=V_5->Count; //callvirt System::Int32 System::Collections::SortedList::get_Count()
IL_0527: //conv.ovf.u4
IL_0528: Temp_10=gcnew array<System::Windows::Forms::TreeNode^>(safe_cast<System::UInt32>(Temp_9));//newarr System::Windows::Forms::TreeNode
IL_052d: V_11=Temp_10; //stloc.s V_11
IL_052f: //ldc.i4.0
IL_0530: V_12=0; //stloc.s V_12
IL_0532: //ldloc.s V_5
IL_0534: Temp_11=V_5->GetEnumerator(); //callvirt System::Collections::IDictionaryEnumerator^ System::Collections::SortedList::GetEnumerator()
IL_0539: V_18=Temp_11; //stloc.s V_18
IL_053b: //ldc.i4 0x1c
IL_0540: V_21=28; //stloc V_21
IL_0544: /*goto IL_0005;*/goto IL_0549; //br IL_0005
IL_0549: goto IL_025d; //br IL_025d
IL_054e: //ldloc.0
IL_054f: //ldc.i4.s 100
IL_0551: V_0->M_x1(safe_cast<System::Int32>(100)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_0556: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_055b: return; //ret
}
inline Root::T_x21^ Root::T_x3::T_x17::M_x2()
{
//temp variables , should be optimized by C++/cli compiler.
System::Object^ Temp_0 = nullptr;
Root::T_x21^ Temp_1 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_2 = nullptr;
Root::T_x21^ Temp_3 = nullptr;
System::Object^ Temp_4 = nullptr;
Root::T_x21^ Temp_5 = nullptr;
Root::T_x21^ Temp_6 = nullptr;
Reflector::CodeModel::ITypeDeclaration^ Temp_7 = nullptr;
System::Object^ Temp_8 = nullptr;
Root::T_x21^ Temp_9 = nullptr;
System::Object^ Temp_10 = nullptr;
System::Object^ Temp_11 = nullptr;
//local variables.
Reflector::CodeModel::IModule^ V_0 = nullptr;
Reflector::CodeModel::IAssembly^ V_1 = nullptr;
Reflector::CodeModel::IMethodReference^ V_2 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ V_3 = nullptr;
Reflector::CodeModel::ITypeReference^ V_4 = nullptr;
Reflector::CodeModel::ITypeDeclaration^ V_5 = nullptr;
Reflector::CodeModel::INamespace^ V_6 = nullptr;
System::Int32 V_7 = 0;
//method body -------
IL_0000: goto IL_0043; //br.s IL_0043
IL_0002: //ldloc V_7
IL_0006: switch(V_7){case 0:goto IL_0068;case 1:goto IL_01b2;case 2:goto IL_013b;case 3:goto IL_005a;case 4:goto IL_00ca;case 5:goto IL_0093;case 6:goto IL_0182;case 7:goto IL_00e7;case 8:goto IL_0162;case 9:goto IL_0081;case 10:goto IL_00fc;case 11:goto IL_01a1;case 12:goto IL_012a;case 13:goto IL_00b6;};//switch (IL_0068,IL_01b2,IL_013b,IL_005a,IL_00ca,IL_0093,IL_0182,IL_00e7,IL_0162,IL_0081,IL_00fc,IL_01a1,IL_012a,IL_00b6)
IL_0043: //ldarg.0
IL_0044: Temp_0=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_0049: //isinst Reflector::CodeModel::IModule
IL_004e: V_0=dynamic_cast<Reflector::CodeModel::IModule^>(Temp_0); //stloc.0
IL_004f: //ldc.i4 0x3
IL_0054: V_7=3; //stloc V_7
IL_0058: /*goto IL_0002;*/goto IL_005a; //br.s IL_0002
IL_005a: //ldloc.0
IL_005b: if(V_0==nullptr)goto IL_009c; //brfalse.s IL_009c
IL_005d: //ldc.i4 0x0
IL_0062: V_7=0; //stloc V_7
IL_0066: /*goto IL_0002;*/goto IL_0068; //br.s IL_0002
IL_0068: goto IL_00fe; //br IL_00fe
IL_006d: //ldloc.s V_4
IL_006f: Temp_7=V_4->Resolve(); //callvirt Reflector::CodeModel::ITypeDeclaration^ Reflector::CodeModel::ITypeReference::Resolve()
IL_0074: V_5=Temp_7; //stloc.s V_5
IL_0076: //ldc.i4 0x9
IL_007b: V_7=9; //stloc V_7
IL_007f: /*goto IL_0002;*/goto IL_0081; //br.s IL_0002
IL_0081: //ldloc.s V_5
IL_0083: if(V_5==nullptr)goto IL_00cc; //brfalse.s IL_00cc
IL_0085: //ldc.i4 0x5
IL_008a: V_7=5; //stloc V_7
IL_008e: /*goto IL_0002;*/goto IL_0093; //br IL_0002
IL_0093: goto IL_0105; //br.s IL_0105
IL_0095: //ldloc.3
IL_0096: Temp_3=gcnew Root::T_x21(safe_cast<System::Object^>(V_3)); //newobj void Root::T_x21::.ctor(System::Object^)
IL_009b: return Temp_3; //ret
IL_009c: //ldarg.0
IL_009d: Temp_4=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_00a2: //isinst Reflector::CodeModel::IAssembly
IL_00a7: V_1=dynamic_cast<Reflector::CodeModel::IAssembly^>(Temp_4); //stloc.1
IL_00a8: //ldc.i4 0xd
IL_00ad: V_7=13; //stloc V_7
IL_00b1: /*goto IL_0002;*/goto IL_00b6; //br IL_0002
IL_00b6: //ldloc.1
IL_00b7: if(V_1==nullptr)goto IL_0187; //brfalse IL_0187
IL_00bc: //ldc.i4 0x4
IL_00c1: V_7=4; //stloc V_7
IL_00c5: /*goto IL_0002;*/goto IL_00ca; //br IL_0002
IL_00ca: goto IL_0140; //br.s IL_0140
IL_00cc: //ldarg.0
IL_00cd: Temp_8=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_00d2: //isinst Reflector::CodeModel::INamespace
IL_00d7: V_6=dynamic_cast<Reflector::CodeModel::INamespace^>(Temp_8);//stloc.s V_6
IL_00d9: //ldc.i4 0x7
IL_00de: V_7=7; //stloc V_7
IL_00e2: /*goto IL_0002;*/goto IL_00e7; //br IL_0002
IL_00e7: //ldloc.s V_6
IL_00e9: if(V_6==nullptr)goto IL_01b7; //brfalse IL_01b7
IL_00ee: //ldc.i4 0xa
IL_00f3: V_7=10; //stloc V_7
IL_00f7: /*goto IL_0002;*/goto IL_00fc; //br IL_0002
IL_00fc: goto IL_010d; //br.s IL_010d
IL_00fe: //ldloc.0
IL_00ff: Temp_1=gcnew Root::T_x21(safe_cast<System::Object^>(V_0)); //newobj void Root::T_x21::.ctor(System::Object^)
IL_0104: return Temp_1; //ret
IL_0105: //ldloc.s V_5
IL_0107: Temp_6=gcnew Root::T_x21(safe_cast<System::Object^>(V_5)); //newobj void Root::T_x21::.ctor(System::Object^)
IL_010c: return Temp_6; //ret
IL_010d: //ldloc.s V_6
IL_010f: Temp_9=gcnew Root::T_x21(safe_cast<System::Object^>(V_6)); //newobj void Root::T_x21::.ctor(System::Object^)
IL_0114: return Temp_9; //ret
IL_0115: //ldloc.2
IL_0116: Temp_2=V_2->Resolve(); //callvirt Reflector::CodeModel::IMethodDeclaration^ Reflector::CodeModel::IMethodReference::Resolve()
IL_011b: V_3=Temp_2; //stloc.3
IL_011c: //ldc.i4 0xc
IL_0121: V_7=12; //stloc V_7
IL_0125: /*goto IL_0002;*/goto IL_012a; //br IL_0002
IL_012a: //ldloc.3
IL_012b: if(V_3==nullptr)goto IL_0147; //brfalse.s IL_0147
IL_012d: //ldc.i4 0x2
IL_0132: V_7=2; //stloc V_7
IL_0136: /*goto IL_0002;*/goto IL_013b; //br IL_0002
IL_013b: goto IL_0095; //br IL_0095
IL_0140: //ldloc.1
IL_0141: Temp_5=gcnew Root::T_x21(safe_cast<System::Object^>(V_1)); //newobj void Root::T_x21::.ctor(System::Object^)
IL_0146: return Temp_5; //ret
IL_0147: //ldarg.0
IL_0148: Temp_10=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_014d: //isinst Reflector::CodeModel::ITypeReference
IL_0152: V_4=dynamic_cast<Reflector::CodeModel::ITypeReference^>(Temp_10);//stloc.s V_4
IL_0154: //ldc.i4 0x8
IL_0159: V_7=8; //stloc V_7
IL_015d: /*goto IL_0002;*/goto IL_0162; //br IL_0002
IL_0162: //ldloc.s V_4
IL_0164: if(V_4==nullptr)goto IL_00cc; //brfalse IL_00cc
IL_0169: //ldc.i4.4
IL_016a: //dup
IL_016b: //dup
IL_016c: //ldc.i4.2
IL_016d: //sub
IL_016e: //blt IL_016a
IL_0173: //pop
IL_0174: //ldc.i4 0x6
IL_0179: V_7=6; //stloc V_7
IL_017d: /*goto IL_0002;*/goto IL_0182; //br IL_0002
IL_0182: goto IL_006d; //br IL_006d
IL_0187: //ldarg.0
IL_0188: Temp_11=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x17 F_x1
IL_018d: //isinst Reflector::CodeModel::IMethodReference
IL_0192: V_2=dynamic_cast<Reflector::CodeModel::IMethodReference^>(Temp_11);//stloc.2
IL_0193: //ldc.i4 0xb
IL_0198: V_7=11; //stloc V_7
IL_019c: /*goto IL_0002;*/goto IL_01a1; //br IL_0002
IL_01a1: //ldloc.2
IL_01a2: if(V_2==nullptr)goto IL_0147; //brfalse.s IL_0147
IL_01a4: //ldc.i4 0x1
IL_01a9: V_7=1; //stloc V_7
IL_01ad: /*goto IL_0002;*/goto IL_01b2; //br IL_0002
IL_01b2: goto IL_0115; //br IL_0115
IL_01b7: //ldnull
IL_01b8: return nullptr; //ret
}
inline Root::T_x3::T_x1::T_x1(System::Object^ A_0,System::Object^ A_1)
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssembly^ Temp_0 = nullptr;
System::String^ Temp_1 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_2 = nullptr;
Root::T_x3::T_x6^ Temp_3 = nullptr;
System::Int32 Temp_4 = 0;
System::String^ Temp_5 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_6 = nullptr;
System::String^ Temp_7 = nullptr;
System::String^ Temp_8 = nullptr;
System::String^ Temp_9 = nullptr;
Root::T_x3::T_x1^ Temp_10 = nullptr;
Root::T_x3::T_x1^ Temp_11 = nullptr;
Root::T_x3::T_x1^ Temp_12 = nullptr;
System::String^ Temp_13 = nullptr;
Root::T_x3::T_x1^ Temp_14 = nullptr;
//local variables.
System::Int32 V_0 = 0;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4 0x7
IL_0005: V_1=7; //stloc V_1
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x16();*/ //call void Root::T_x3::T_x16::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->F_x1=A_0; //stfld System::Object^ Root::T_x3::T_x1 F_x1
IL_0016: //ldarg.0
IL_0017: //ldarg.2
IL_0018: //castclass Reflector::CodeModel::IAssembly
IL_001d: this->F_x2=safe_cast<Reflector::CodeModel::IAssembly^>(A_1);//stfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_0022: //ldarg.0
IL_0023: //ldarg.0
IL_0024: //ldc.i4 0xa4
IL_0029: //dup
IL_002a: V_0=164; //stloc.0
IL_002b: this->SelectedImageIndex=164; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0030: //ldloc.0
IL_0031: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_0036: //ldarg.0
IL_0037: //ldarg.0
IL_0038: Temp_0=this->F_x2; //ldfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_003d: Temp_11=this;if(Temp_0==nullptr)goto IL_0041; //brfalse.s IL_0041
IL_003f: Temp_12=Temp_11;goto IL_0051; //br.s IL_0051
IL_0041: //ldstr L"\x7024\x5426\x4C28\x4F2A\x0D2C\x6D2E\x4830"
IL_0046: //ldloc V_1
IL_004a: Temp_1=a(L"\x7024\x5426\x4C28\x4F2A\x0D2C\x6D2E\x4830",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_004f: Temp_14=Temp_11;Temp_13=Temp_1;goto IL_007f; //br.s IL_007f
IL_0051: //ldstr L"\x7024\x5426\x4C28\x4F2A\x0D2C\x662E\x5F30\x1332\x1234"
IL_0056: //ldloc V_1
IL_005a: Temp_5=a(L"\x7024\x5426\x4C28\x4F2A\x0D2C\x662E\x5F30\x1332\x1234",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_005f: //ldarg.0
IL_0060: Temp_6=this->F_x2; //ldfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_0065: Temp_7=safe_cast<Reflector::CodeModel::IAssemblyReference^>(Temp_6)->Name;//callvirt System::String^ Reflector::CodeModel::IAssemblyReference::get_Name()
IL_006a: //ldstr L"\x0224\x0726\x6B28\x522A"
IL_006f: //ldloc V_1
IL_0073: Temp_8=a(L"\x0224\x0726\x6B28\x522A",V_1); //call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0078: Temp_9=System::String::Concat(Temp_5,Temp_7,Temp_8); //call System::String^ System::String::Concat(System::String^,System::String^,System::String^)
IL_007d: Temp_14=Temp_12;Temp_13=Temp_9;goto IL_007f; //br.s IL_007f
IL_007f: Temp_14->Text=Temp_13;/*warning ! semantic stack doesn't empty at joint !;*///call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_0084: //ldarg.0
IL_0085: Temp_2=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_008a: Temp_3=gcnew Root::T_x3::T_x6(); //newobj void Root::T_x3::T_x6::.ctor()
IL_008f: Temp_4=Temp_2->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_3));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_0094: //pop
IL_0095: return; //ret
}
inline void Root::T_x3::T_x1::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssemblyManager^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
array<Reflector::CodeModel::IAssembly^>^ Temp_2 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_3 = nullptr;
Root::T_x100^ Temp_4 = nullptr;
System::Object^ Temp_5 = nullptr;
Root::T_x23^ Temp_6 = nullptr;
System::Object^ Temp_7 = nullptr;
Root::T_x3::T_x6^ Temp_8 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_9 = nullptr;
System::Int32 Temp_10 = 0;
System::Boolean Temp_11 = false;
System::Boolean Temp_12 = false;
System::Int32 Temp_13 = 0;
System::Collections::ArrayList^ Temp_14 = nullptr;
Reflector::CodeModel::IAssemblyResolver^ Temp_15 = nullptr;
System::Int32 Temp_16 = 0;
array<System::Windows::Forms::TreeNode^>^ Temp_17 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_18 = nullptr;
Reflector::CodeModel::IAssemblyCollection^ Temp_19 = nullptr;
System::Int32 Temp_20 = 0;
array<Reflector::CodeModel::IAssembly^>^ Temp_21 = nullptr;
Reflector::CodeModel::IAssemblyCollection^ Temp_22 = nullptr;
Root::T_x3::T_x15^ Temp_23 = nullptr;
System::Int32 Temp_24 = 0;
//local variables.
Reflector::CodeModel::IAssemblyManager^ V_0 = nullptr;
Root::T_x79^ V_1 = nullptr;
array<Reflector::CodeModel::IAssembly^>^ V_2 = nullptr;
System::Collections::ArrayList^ V_3 = nullptr;
System::Boolean V_4 = false;
Reflector::CodeModel::IAssemblyResolver^ V_5 = nullptr;
Root::T_x23^ V_6 = nullptr;
Root::T_x3::T_x6^ V_7 = nullptr;
System::NullReferenceException^ V_8 = nullptr;
array<System::Windows::Forms::TreeNode^>^ V_9 = nullptr;
array<Reflector::CodeModel::IAssembly^>^ V_10 = nullptr;
System::Int32 V_11 = 0;
//method body -------
IL_0000: goto IL_002b; //br.s IL_002b
IL_0002: //ldloc V_11
IL_0006: switch(V_11){case 0:goto IL_0062;case 1:goto IL_021f;case 2:goto IL_01dc;case 3:goto IL_01a1;case 4:goto IL_01ec;case 5:goto IL_01b7;case 6:goto IL_004c;case 7:goto IL_01fe;};//switch (IL_0062,IL_021f,IL_01dc,IL_01a1,IL_01ec,IL_01b7,IL_004c,IL_01fe)
IL_002b: //ldarg.0
IL_002c: this->M_x12(); //call void Root::T_x3::T_x16::M_x12()
IL_0031: //ldarg.0
IL_0032: Temp_0=this->M_x8(); //call Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x16::M_x8()
IL_0037: V_0=Temp_0; //stloc.0
IL_0038: //ldarg.0
IL_0039: Temp_1=this->M_x13(); //call Root::T_x79^ Root::T_x3::T_x16::M_x13()
IL_003e: V_1=Temp_1; //stloc.1
IL_003f: //ldnull
IL_0040: V_2=safe_cast<array<Reflector::CodeModel::IAssembly^>^>(nullptr);//stloc.2
IL_0041: //ldc.i4 0x6
IL_0046: V_11=6; //stloc V_11
IL_004a: /*goto IL_0002;*/goto IL_004c; //br.s IL_0002
IL_004c: //ldarg.0
IL_004d: Temp_18=this->F_x2; //ldfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_0052: if(Temp_18==nullptr)goto IL_0174; //brfalse IL_0174
IL_0057: //ldc.i4 0x0
IL_005c: V_11=0; //stloc V_11
IL_0060: /*goto IL_0002;*/goto IL_0062; //br.s IL_0002
IL_0062: goto IL_0065; //br.s IL_0065
IL_0064: //break
IL_0065: goto IL_01b9; //br IL_01b9
IL_006501: try{
IL_006a: goto IL_0091; //br.s IL_0091
IL_006c: //ldloc V_11
IL_0070: switch(V_11){case 0:goto IL_00d8;case 1:goto IL_0169;case 2:goto IL_00fc;case 3:goto IL_011e;case 4:goto IL_00b7;case 5:goto IL_00e5;case 6:goto IL_00c4;};//switch (IL_00d8,IL_0169,IL_00fc,IL_011e,IL_00b7,IL_00e5,IL_00c4)
IL_0091: //ldloc.0
IL_0092: //ldloc.s V_5
IL_0094: Temp_4=gcnew Root::T_x100(V_5); //newobj void Root::T_x100::.ctor(Reflector::CodeModel::IAssemblyResolver^)
IL_0099: V_0->Resolver=safe_cast<Reflector::CodeModel::IAssemblyResolver^>(Temp_4);//callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_009e: //ldarg.0
IL_009f: Temp_5=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x1 F_x1
IL_00a4: //ldloc.2
IL_00a5: Temp_6=gcnew Root::T_x23(Temp_5,V_2); //newobj void Root::T_x23::.ctor(System::Object^,array<Reflector::CodeModel::IAssembly^>^)
IL_00aa: V_6=Temp_6; //stloc.s V_6
IL_00ac: //ldc.i4 0x4
IL_00b1: V_11=4; //stloc V_11
IL_00b5: /*goto IL_006c;*/goto IL_00b7; //br.s IL_006c
IL_00b7: goto IL_00da; //br.s IL_00da
IL_00b9: //ldc.i4 0x6
IL_00be: V_11=6; //stloc V_11
IL_00c2: /*goto IL_006c;*/goto IL_00c4; //br.s IL_006c
IL_00c4: //ldloc.s V_6
IL_00c6: Temp_12=V_6->M_x8(); //callvirt System::Boolean Root::T_x23::M_x8()
IL_00cb: if(!Temp_12)goto IL_00fe; //brfalse.s IL_00fe
IL_00cd: //ldc.i4 0x0
IL_00d2: V_11=0; //stloc V_11
IL_00d6: /*goto IL_006c;*/goto IL_00d8; //br.s IL_006c
IL_00d8: /*goto IL_0120;*/goto IL_011E01; //br.s IL_0120
IL_00da: //ldc.i4 0x5
IL_00df: V_11=5; //stloc V_11
IL_00e3: /*goto IL_006c;*/goto IL_00e5; //br.s IL_006c
IL_00e5: //ldloc.s V_6
IL_00e7: Temp_11=V_6->M_x13(); //callvirt System::Boolean Root::T_x23::M_x13()
IL_00ec: if(Temp_11)goto IL_00b9; //brtrue.s IL_00b9
IL_00ee: //ldc.i4 0x2
IL_00f3: V_11=2; //stloc V_11
IL_00f7: /*goto IL_006c;*/goto IL_00fc; //br IL_006c
IL_00fc: goto IL_015b; //br.s IL_015b
IL_00fe: //ldloc.1
IL_00ff: //ldloc.s V_6
IL_0101: Temp_13=V_6->M_x1(); //callvirt System::Int32 Root::T_x23::M_x1()
IL_0106: V_1->M_x1(Temp_13); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_010b: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_0110: //ldc.i4 0x3
IL_0115: V_11=3; //stloc V_11
IL_0119: /*goto IL_006c;*/goto IL_011e; //br IL_006c
IL_011e: goto IL_00da; //br.s IL_00da
IL_011E01: try{
IL_0120: //ldloc.s V_6
IL_0122: Temp_7=V_6->M_x2(); //callvirt System::Object^ Root::T_x23::M_x2()
IL_0127: Temp_8=Root::T_x3::T_x4::M_x1(Temp_7); //call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_012c: V_7=Temp_8; //stloc.s V_7
IL_012e: //ldloc.s V_7
IL_0130: //ldarg.0
IL_0131: Temp_9=this->F_x2; //ldfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_0136: V_7->M_x1(safe_cast<System::Object^>(Temp_9)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_013b: //ldloc.3
IL_013c: //ldloc.s V_7
IL_013e: Temp_10=V_3->Add(safe_cast<System::Object^>(V_7)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_0143: //pop
IL_0144: goto IL_00fe; //leave.s IL_00fe
;}
catch(System::NullReferenceException^ Ex_014402){
IL_0146: V_8=Ex_014402; //stloc.s V_8
IL_0148: //ldloc.3
IL_0149: //ldloc.s V_8
IL_014b: Temp_23=gcnew Root::T_x3::T_x15(safe_cast<System::Exception^>(V_8));//newobj void Root::T_x3::T_x15::.ctor(System::Exception^)
IL_0150: Temp_24=V_3->Add(safe_cast<System::Object^>(Temp_23)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_0155: //pop
IL_0156: //ldc.i4.0
IL_0157: V_4=false; //stloc.s V_4
IL_0159: goto IL_00fe; //leave.s IL_00fe
;}
IL_015b: //ldc.i4 0x1
IL_0160: V_11=1; //stloc V_11
IL_0164: /*goto IL_006c;*/goto IL_0169; //br IL_006c
IL_0169: goto IL_01de; //leave.s IL_01de
;}
finally{
IL_016b: //ldloc.0
IL_016c: //ldloc.s V_5
IL_016e: V_0->Resolver=V_5; //callvirt void Reflector::CodeModel::IAssemblyManager::set_Resolver(Reflector::CodeModel::IAssemblyResolver^)
IL_0173: //endfinally
;}
IL_0174: //ldloc.0
IL_0175: Temp_19=V_0->Assemblies; //callvirt Reflector::CodeModel::IAssemblyCollection^ Reflector::CodeModel::IAssemblyManager::get_Assemblies()
IL_017a: Temp_20=safe_cast<System::Collections::ICollection^>(Temp_19)->Count;//callvirt System::Int32 System::Collections::ICollection::get_Count()
IL_017f: //conv.ovf.u4
IL_0180: Temp_21=gcnew array<Reflector::CodeModel::IAssembly^>(safe_cast<System::UInt32>(Temp_20));//newarr Reflector::CodeModel::IAssembly
IL_0185: V_2=Temp_21; //stloc.2
IL_0186: //ldloc.0
IL_0187: Temp_22=V_0->Assemblies; //callvirt Reflector::CodeModel::IAssemblyCollection^ Reflector::CodeModel::IAssemblyManager::get_Assemblies()
IL_018c: //ldloc.2
IL_018d: //ldc.i4.0
IL_018e: safe_cast<System::Collections::ICollection^>(Temp_22)->CopyTo(safe_cast<System::Array^>(V_2),safe_cast<System::Int32>(0));//callvirt void System::Collections::ICollection::CopyTo(System::Array^,System::Int32)
IL_0193: //ldc.i4 0x3
IL_0198: V_11=3; //stloc V_11
IL_019c: /*goto IL_0002;*/goto IL_01a1; //br IL_0002
IL_01a1: goto IL_0200; //br.s IL_0200
IL_01a3: //ldloc.3
IL_01a4: V_3->Sort(); //callvirt void System::Collections::ArrayList::Sort()
IL_01a9: //ldc.i4 0x5
IL_01ae: V_11=5; //stloc V_11
IL_01b2: /*goto IL_0002;*/goto IL_01b7; //br IL_0002
IL_01b7: goto IL_0224; //br.s IL_0224
IL_01b9: //ldc.i4.1
IL_01ba: Temp_2=gcnew array<Reflector::CodeModel::IAssembly^>(1); //newarr Reflector::CodeModel::IAssembly
IL_01bf: V_10=Temp_2; //stloc.s V_10
IL_01c1: //ldloc.s V_10
IL_01c3: //ldc.i4.0
IL_01c4: //ldarg.0
IL_01c5: Temp_3=this->F_x2; //ldfld Reflector::CodeModel::IAssembly^ Root::T_x3::T_x1 F_x2
IL_01ca: V_10[0]=Temp_3; //stelem.ref
IL_01cb: //ldloc.s V_10
IL_01cd: V_2=V_10; //stloc.2
IL_01ce: //ldc.i4 0x2
IL_01d3: V_11=2; //stloc V_11
IL_01d7: /*goto IL_0002;*/goto IL_01dc; //br IL_0002
IL_01dc: goto IL_0200; //br.s IL_0200
IL_01de: //ldc.i4 0x4
IL_01e3: V_11=4; //stloc V_11
IL_01e7: /*goto IL_0002;*/goto IL_01ec; //br IL_0002
IL_01ec: //ldloc.s V_4
IL_01ee: if(!V_4)goto IL_0224; //brfalse.s IL_0224
IL_01f0: //ldc.i4 0x7
IL_01f5: V_11=7; //stloc V_11
IL_01f9: /*goto IL_0002;*/goto IL_01fe; //br IL_0002
IL_01fe: goto IL_01a3; //br.s IL_01a3
IL_0200: Temp_14=gcnew System::Collections::ArrayList(); //newobj void System::Collections::ArrayList::.ctor()
IL_0205: V_3=Temp_14; //stloc.3
IL_0206: //ldc.i4.1
IL_0207: V_4=true; //stloc.s V_4
IL_0209: //ldloc.0
IL_020a: Temp_15=V_0->Resolver; //callvirt Reflector::CodeModel::IAssemblyResolver^ Reflector::CodeModel::IAssemblyManager::get_Resolver()
IL_020f: V_5=Temp_15; //stloc.s V_5
IL_0211: //ldc.i4 0x1
IL_0216: V_11=1; //stloc V_11
IL_021a: /*goto IL_0002;*/goto IL_021f; //br IL_0002
IL_021f: /*goto IL_006a;*/goto IL_006501; //br IL_006a
IL_0224: //ldloc.3
IL_0225: Temp_16=V_3->Count; //callvirt System::Int32 System::Collections::ArrayList::get_Count()
IL_022a: //conv.ovf.u4
IL_022b: Temp_17=gcnew array<System::Windows::Forms::TreeNode^>(safe_cast<System::UInt32>(Temp_16));//newarr System::Windows::Forms::TreeNode
IL_0230: V_9=Temp_17; //stloc.s V_9
IL_0232: //ldloc.3
IL_0233: //ldloc.s V_9
IL_0235: V_3->CopyTo(safe_cast<System::Array^>(V_9)); //callvirt void System::Collections::ArrayList::CopyTo(System::Array^)
IL_023a: //ldarg.0
IL_023b: //ldloc.s V_9
IL_023d: Root::T_x3::T_x16::M_x1(V_9); //call void Root::T_x3::T_x16::M_x1(array<System::Windows::Forms::TreeNode^>^)
IL_0242: //ldloc.1
IL_0243: //ldc.i4.s 100
IL_0245: V_1->M_x1(safe_cast<System::Int32>(100)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_024a: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_024f: return; //ret
}
inline Root::T_x3::T_x18::T_x18(Reflector::CodeModel::IMethodDeclaration^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x6^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
System::Int32 V_0 = 0;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4 0xc
IL_0005: V_1=12; //stloc V_1
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x16();*/ //call void Root::T_x3::T_x16::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->F_x1=A_0; //stfld Reflector::CodeModel::IMethodDeclaration^ Root::T_x3::T_x18 F_x1
IL_0016: //ldarg.0
IL_0017: //ldarg.0
IL_0018: //ldc.i4 0xa4
IL_001d: //dup
IL_001e: V_0=164; //stloc.0
IL_001f: this->SelectedImageIndex=164; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0024: //ldloc.0
IL_0025: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_002a: //ldarg.0
IL_002b: //ldstr L"\x7E29\x442B\x5C2D\x5F2F\x4531\x4733"
IL_0030: //ldloc V_1
IL_0034: Temp_0=a(L"\x7E29\x442B\x5C2D\x5F2F\x4531\x4733",V_1); //call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0039: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_003e: //ldarg.0
IL_003f: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0044: Temp_2=gcnew Root::T_x3::T_x6(); //newobj void Root::T_x3::T_x6::.ctor()
IL_0049: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_004e: //pop
IL_004f: return; //ret
}
inline void Root::T_x3::T_x18::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssemblyManager^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
System::Collections::ArrayList^ Temp_2 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ Temp_3 = nullptr;
Root::T_x22^ Temp_4 = nullptr;
System::Boolean Temp_5 = false;
System::Object^ Temp_6 = nullptr;
Root::T_x3::T_x6^ Temp_7 = nullptr;
System::Int32 Temp_8 = 0;
System::Int32 Temp_9 = 0;
array<System::Windows::Forms::TreeNode^>^ Temp_10 = nullptr;
Root::T_x3::T_x15^ Temp_11 = nullptr;
System::Int32 Temp_12 = 0;
//local variables.
Root::T_x79^ V_0 = nullptr;
System::Collections::ArrayList^ V_1 = nullptr;
System::Boolean V_2 = false;
Root::T_x22^ V_3 = nullptr;
System::NullReferenceException^ V_4 = nullptr;
array<System::Windows::Forms::TreeNode^>^ V_5 = nullptr;
System::Int32 V_6 = 0;
//method body -------
IL_0000: goto IL_0027; //br.s IL_0027
IL_0002: //ldloc V_6
IL_0006: switch(V_6){case 0:goto IL_0061;case 1:goto IL_00fb;case 2:goto IL_00e5;case 3:goto IL_0071;case 4:goto IL_0082;case 5:goto IL_0097;case 6:goto IL_00d5;};//switch (IL_0061,IL_00fb,IL_00e5,IL_0071,IL_0082,IL_0097,IL_00d5)
IL_0027: //ldarg.0
IL_0028: this->M_x12(); //call void Root::T_x3::T_x16::M_x12()
IL_002d: //ldarg.0
IL_002e: Temp_0=this->M_x8(); //call Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x16::M_x8()
IL_0033: //pop
IL_0034: //ldarg.0
IL_0035: Temp_1=this->M_x13(); //call Root::T_x79^ Root::T_x3::T_x16::M_x13()
IL_003a: V_0=Temp_1; //stloc.0
IL_003b: //ldloc.0
IL_003c: //ldc.i4.0
IL_003d: V_0->M_x1(safe_cast<System::Int32>(0)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_0042: Temp_2=gcnew System::Collections::ArrayList(); //newobj void System::Collections::ArrayList::.ctor()
IL_0047: V_1=Temp_2; //stloc.1
IL_0048: //ldc.i4.1
IL_0049: V_2=true; //stloc.2
IL_004a: //ldarg.0
IL_004b: Temp_3=this->F_x1; //ldfld Reflector::CodeModel::IMethodDeclaration^ Root::T_x3::T_x18 F_x1
IL_0050: Temp_4=gcnew Root::T_x22(Temp_3); //newobj void Root::T_x22::.ctor(Reflector::CodeModel::IMethodDeclaration^)
IL_0055: V_3=Temp_4; //stloc.3
IL_0056: //ldc.i4 0x0
IL_005b: V_6=0; //stloc V_6
IL_005f: /*goto IL_0002;*/goto IL_0061; //br.s IL_0002
IL_0061: goto IL_00d7; //br.s IL_00d7
IL_0063: goto IL_0066; //br.s IL_0066
IL_0065: //break
IL_0066: //ldc.i4 0x3
IL_006b: V_6=3; //stloc V_6
IL_006f: /*goto IL_0002;*/goto IL_0071; //br.s IL_0002
IL_0071: //ldloc.2
IL_0072: if(!V_2)goto IL_0100; //brfalse IL_0100
IL_0077: //ldc.i4 0x4
IL_007c: V_6=4; //stloc V_6
IL_0080: /*goto IL_0002;*/goto IL_0082; //br.s IL_0002
IL_0082: goto IL_00c1; //br.s IL_00c1
IL_0084: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_0089: //ldc.i4 0x5
IL_008e: V_6=5; //stloc V_6
IL_0092: /*goto IL_0002;*/goto IL_0097; //br IL_0002
IL_0097: goto IL_00d7; //br.s IL_00d7
IL_009701: try{
IL_0099: //ldloc.1
IL_009a: //ldloc.3
IL_009b: Temp_6=V_3->M_x1(); //callvirt System::Object^ Root::T_x22::M_x1()
IL_00a0: Temp_7=Root::T_x3::T_x4::M_x1(Temp_6); //call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_00a5: Temp_8=V_1->Add(safe_cast<System::Object^>(Temp_7)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_00aa: //pop
IL_00ab: goto IL_0084; //leave.s IL_0084
;}
catch(System::NullReferenceException^ Ex_00AB02){
IL_00ad: V_4=Ex_00AB02; //stloc.s V_4
IL_00af: //ldc.i4.0
IL_00b0: V_2=false; //stloc.2
IL_00b1: //ldloc.1
IL_00b2: //ldloc.s V_4
IL_00b4: Temp_11=gcnew Root::T_x3::T_x15(safe_cast<System::Exception^>(V_4));//newobj void Root::T_x3::T_x15::.ctor(System::Exception^)
IL_00b9: Temp_12=V_1->Add(safe_cast<System::Object^>(Temp_11)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_00be: //pop
IL_00bf: goto IL_0084; //leave.s IL_0084
;}
IL_00c1: //ldloc.1
IL_00c2: V_1->Sort(); //callvirt void System::Collections::ArrayList::Sort()
IL_00c7: //ldc.i4 0x6
IL_00cc: V_6=6; //stloc V_6
IL_00d0: /*goto IL_0002;*/goto IL_00d5; //br IL_0002
IL_00d5: goto IL_0100; //br.s IL_0100
IL_00d7: //ldc.i4 0x2
IL_00dc: V_6=2; //stloc V_6
IL_00e0: /*goto IL_0002;*/goto IL_00e5; //br IL_0002
IL_00e5: //ldloc.3
IL_00e6: Temp_5=V_3->M_x12(); //callvirt System::Boolean Root::T_x22::M_x12()
IL_00eb: /*if(Temp_5)goto IL_0099;*/if(Temp_5)goto IL_009701; //brtrue.s IL_0099
IL_00ed: //ldc.i4 0x1
IL_00f2: V_6=1; //stloc V_6
IL_00f6: /*goto IL_0002;*/goto IL_00fb; //br IL_0002
IL_00fb: goto IL_0063; //br IL_0063
IL_0100: //ldloc.1
IL_0101: Temp_9=V_1->Count; //callvirt System::Int32 System::Collections::ArrayList::get_Count()
IL_0106: //conv.ovf.u4
IL_0107: Temp_10=gcnew array<System::Windows::Forms::TreeNode^>(safe_cast<System::UInt32>(Temp_9));//newarr System::Windows::Forms::TreeNode
IL_010c: V_5=Temp_10; //stloc.s V_5
IL_010e: //ldloc.1
IL_010f: //ldloc.s V_5
IL_0111: V_1->CopyTo(safe_cast<System::Array^>(V_5)); //callvirt void System::Collections::ArrayList::CopyTo(System::Array^)
IL_0116: //ldarg.0
IL_0117: //ldloc.s V_5
IL_0119: Root::T_x3::T_x16::M_x1(V_5); //call void Root::T_x3::T_x16::M_x1(array<System::Windows::Forms::TreeNode^>^)
IL_011e: //ldloc.0
IL_011f: //ldc.i4.s 100
IL_0121: V_0->M_x1(safe_cast<System::Int32>(100)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_0126: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_012b: return; //ret
}
inline Root::T_x3::T_x19::T_x19(System::Object^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_1 = nullptr;
Root::T_x3::T_x6^ Temp_2 = nullptr;
System::Int32 Temp_3 = 0;
//local variables.
System::Int32 V_0 = 0;
System::Int32 V_1 = 0;
//method body -------
IL_0000: //ldc.i4 0x6
IL_0005: V_1=6; //stloc V_1
IL_0009: //ldarg.0
IL_000a: /*Root::T_x3::T_x16();*/ //call void Root::T_x3::T_x16::.ctor()
IL_000f: //ldarg.0
IL_0010: //ldarg.1
IL_0011: this->F_x1=A_0; //stfld System::Object^ Root::T_x3::T_x19 F_x1
IL_0016: //ldarg.0
IL_0017: //ldarg.0
IL_0018: //ldc.i4 0xa4
IL_001d: //dup
IL_001e: V_0=164; //stloc.0
IL_001f: this->SelectedImageIndex=164; //call void System::Windows::Forms::TreeNode::set_SelectedImageIndex(System::Int32)
IL_0024: //ldloc.0
IL_0025: this->ImageIndex=V_0; //call void System::Windows::Forms::TreeNode::set_ImageIndex(System::Int32)
IL_002a: //ldarg.0
IL_002b: //ldstr L"\x7423\x0925\x6127\x4429\x5A2B\x412D\x5B2F\x5731\x1433\x7F35\x5537\x4A39\x533B\x4C3D\x343F\x3141"
IL_0030: //ldloc V_1
IL_0034: Temp_0=a(L"\x7423\x0925\x6127\x4429\x5A2B\x412D\x5B2F\x5731\x1433\x7F35\x5537\x4A39\x533B\x4C3D\x343F\x3141",V_1);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0039: this->Text=Temp_0; //call void System::Windows::Forms::TreeNode::set_Text(System::String^)
IL_003e: //ldarg.0
IL_003f: Temp_1=this->Nodes; //call System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_0044: Temp_2=gcnew Root::T_x3::T_x6(); //newobj void Root::T_x3::T_x6::.ctor()
IL_0049: Temp_3=Temp_1->Add(safe_cast<System::Windows::Forms::TreeNode^>(Temp_2));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_004e: //pop
IL_004f: return; //ret
}
inline void Root::T_x3::T_x19::M_x1()
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::IAssemblyManager^ Temp_0 = nullptr;
Root::T_x79^ Temp_1 = nullptr;
System::Object^ Temp_2 = nullptr;
System::Collections::SortedList^ Temp_3 = nullptr;
System::Boolean Temp_4 = false;
System::Object^ Temp_5 = nullptr;
System::Object^ Temp_6 = nullptr;
Root::T_x3::T_x8^ Temp_7 = nullptr;
System::Int32 Temp_8 = 0;
System::Object^ Temp_9 = nullptr;
System::Collections::IEnumerator^ Temp_10 = nullptr;
System::String^ Temp_11 = nullptr;
Root::T_x3::T_x6^ Temp_12 = nullptr;
System::Boolean Temp_13 = false;
System::Object^ Temp_14 = nullptr;
System::Int32 Temp_15 = 0;
array<Reflector::CodeModel::IModule^>^ Temp_16 = nullptr;
Root::T_x121^ Temp_17 = nullptr;
Reflector::CodeModel::IAssembly^ Temp_18 = nullptr;
System::String^ Temp_19 = nullptr;
Root::T_x3::T_x6^ Temp_20 = nullptr;
System::Int32 Temp_21 = 0;
array<System::Windows::Forms::TreeNode^>^ Temp_22 = nullptr;
System::Collections::IDictionaryEnumerator^ Temp_23 = nullptr;
array<Reflector::CodeModel::IAssembly^>^ Temp_24 = nullptr;
Root::T_x121^ Temp_25 = nullptr;
System::Object^ Temp_26 = nullptr;
System::Int32 Temp_27 = 0;
System::Object^ Temp_28 = nullptr;
System::Object^ Temp_29 = nullptr;
System::Boolean Temp_30 = false;
System::Object^ Temp_31 = nullptr;
System::Windows::Forms::TreeNodeCollection^ Temp_32 = nullptr;
System::Int32 Temp_33 = 0;
System::Boolean Temp_34 = false;
System::Collections::ArrayList^ Temp_35 = nullptr;
//local variables.
Root::T_x79^ V_0 = nullptr;
Reflector::CodeModel::IAssembly^ V_1 = nullptr;
Root::T_x121^ V_2 = nullptr;
Reflector::CodeModel::IModule^ V_3 = nullptr;
Reflector::CodeModel::IAssembly^ V_4 = nullptr;
System::Collections::SortedList^ V_5 = nullptr;
System::String^ V_6 = nullptr;
Root::T_x3::T_x6^ V_7 = nullptr;
Reflector::CodeModel::IFieldDeclaration^ V_8 = nullptr;
Reflector::CodeModel::IMethodDeclaration^ V_9 = nullptr;
System::Collections::ArrayList^ V_10 = nullptr;
array<System::Windows::Forms::TreeNode^>^ V_11 = nullptr;
System::Int32 V_12 = 0;
System::Collections::DictionaryEntry V_13;
System::String^ V_14 = nullptr;
Root::T_x3::T_x8^ V_15 = nullptr;
System::Collections::ArrayList^ V_16 = nullptr;
Root::T_x3::T_x6^ V_17 = nullptr;
array<Reflector::CodeModel::IModule^>^ V_18 = nullptr;
array<Reflector::CodeModel::IAssembly^>^ V_19 = nullptr;
System::Collections::IDictionaryEnumerator^ V_20 = nullptr;
System::Collections::IEnumerator^ V_21 = nullptr;
System::IDisposable^ V_22 = nullptr;
System::Int32 V_23 = 0;
//method body -------
IL_0000: goto IL_007f; //br.s IL_007f
IL_0002: //ldloc V_23
IL_0006: switch(V_23){case 0:goto IL_04d5;case 1:goto IL_033d;case 2:goto IL_038c;case 3:goto IL_00f0;case 4:goto IL_01b9;case 5:goto IL_01cc;case 6:goto IL_04a0;case 7:goto IL_00cc;case 8:goto IL_0255;case 9:goto IL_01e8;case 10:goto IL_04ea;case 11:goto IL_0126;case 12:goto IL_03d5;case 13:goto IL_03bb;case 14:goto IL_00b8;case 15:goto IL_0113;case 16:goto IL_0240;case 17:goto IL_0445;case 18:goto IL_03e9;case 19:goto IL_0510;case 20:goto IL_0377;case 21:goto IL_021a;case 22:goto IL_04b5;case 23:goto IL_048d;case 24:goto IL_0470;case 25:goto IL_018d;case 26:goto IL_01fe;case 27:goto IL_0357;case 28:goto IL_0417;};//switch (IL_04d5,IL_033d,IL_038c,IL_00f0,IL_01b9,IL_01cc,IL_04a0,IL_00cc,IL_0255,IL_01e8,IL_04ea,IL_0126,IL_03d5,IL_03bb,IL_00b8,IL_0113,IL_0240,IL_0445,IL_03e9,IL_0510,IL_0377,IL_021a,IL_04b5,IL_048d,IL_0470,IL_018d,IL_01fe,IL_0357,IL_0417)
IL_007f: //ldarg.0
IL_0080: this->M_x12(); //call void Root::T_x3::T_x16::M_x12()
IL_0085: //ldarg.0
IL_0086: Temp_0=this->M_x8(); //call Reflector::CodeModel::IAssemblyManager^ Root::T_x3::T_x16::M_x8()
IL_008b: //pop
IL_008c: //ldarg.0
IL_008d: Temp_1=this->M_x13(); //call Root::T_x79^ Root::T_x3::T_x16::M_x13()
IL_0092: V_0=Temp_1; //stloc.0
IL_0093: //ldloc.0
IL_0094: //ldc.i4.0
IL_0095: V_0->M_x1(safe_cast<System::Int32>(0)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_009a: //ldnull
IL_009b: V_1=safe_cast<Reflector::CodeModel::IAssembly^>(nullptr); //stloc.1
IL_009c: //ldnull
IL_009d: V_2=safe_cast<Root::T_x121^>(nullptr); //stloc.2
IL_009e: //ldarg.0
IL_009f: Temp_2=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x19 F_x1
IL_00a4: //isinst Reflector::CodeModel::IModule
IL_00a9: V_3=dynamic_cast<Reflector::CodeModel::IModule^>(Temp_2); //stloc.3
IL_00aa: //ldc.i4 0xe
IL_00af: V_23=14; //stloc V_23
IL_00b3: /*goto IL_0002;*/goto IL_00b8; //br IL_0002
IL_00b8: //ldloc.3
IL_00b9: if(V_3==nullptr)goto IL_04ba; //brfalse IL_04ba
IL_00be: //ldc.i4 0x7
IL_00c3: V_23=7; //stloc V_23
IL_00c7: /*goto IL_0002;*/goto IL_00cc; //br IL_0002
IL_00cc: goto IL_0391; //br IL_0391
IL_00d1: //ldloc.0
IL_00d2: //ldloc.2
IL_00d3: Temp_15=V_2->M_x1(); //callvirt System::Int32 Root::T_x121::M_x1()
IL_00d8: V_0->M_x1(Temp_15); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_00dd: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_00e2: //ldc.i4 0x3
IL_00e7: V_23=3; //stloc V_23
IL_00eb: /*goto IL_0002;*/goto IL_00f0; //br IL_0002
IL_00f0: goto IL_01be; //br IL_01be
IL_00f5: //ldloc.s V_5
IL_00f7: //ldloc.s V_6
IL_00f9: Temp_29=V_5[safe_cast<System::Object^>(V_6)]; //callvirt System::Object^ System::Collections::SortedList::get_Item(System::Object^)
IL_00fe: //castclass System::Collections::ArrayList
IL_0103: V_10=safe_cast<System::Collections::ArrayList^>(Temp_29); //stloc.s V_10
IL_0105: //ldc.i4 0xf
IL_010a: V_23=15; //stloc V_23
IL_010e: /*goto IL_0002;*/goto IL_0113; //br IL_0002
IL_0113: goto IL_0475; //br IL_0475
IL_0118: //ldc.i4 0xb
IL_011d: V_23=11; //stloc V_23
IL_0121: /*goto IL_0002;*/goto IL_0126; //br IL_0002
IL_0126: goto IL_01be; //br IL_01be
IL_012b: //ldloc.s V_20
IL_012d: Temp_5=safe_cast<System::Collections::IEnumerator^>(V_20)->Current;//callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_0132: //unbox System::Collections::DictionaryEntry
IL_0137: //ldobj System::Collections::DictionaryEntry
IL_013c: V_13=safe_cast<System::Collections::DictionaryEntry>(Temp_5);//stloc.s V_13
IL_013e: //ldloca.s V_13
IL_0140: Temp_6=V_13.Key; //call System::Object^ System::Collections::DictionaryEntry::get_Key()
IL_0145: //castclass System::String
IL_014a: V_14=safe_cast<System::String^>(Temp_6); //stloc.s V_14
IL_014c: //ldloc.s V_14
IL_014e: Temp_7=gcnew Root::T_x3::T_x8(V_14); //newobj void Root::T_x3::T_x8::.ctor(System::String^)
IL_0153: V_15=Temp_7; //stloc.s V_15
IL_0155: //ldloc.s V_11
IL_0157: Temp_8=V_12; //ldloc.s V_12
IL_0159: //dup
IL_015a: //ldc.i4.1
IL_015b: //add
IL_015c: V_12=(Temp_8 + 1); //stloc.s V_12
IL_015e: //ldloc.s V_15
IL_0160: V_11[Temp_8]=safe_cast<System::Windows::Forms::TreeNode^>(V_15);//stelem.ref
IL_0161: //ldloca.s V_13
IL_0163: Temp_9=V_13.Value; //call System::Object^ System::Collections::DictionaryEntry::get_Value()
IL_0168: //castclass System::Collections::ArrayList
IL_016d: V_16=safe_cast<System::Collections::ArrayList^>(Temp_9); //stloc.s V_16
IL_016f: //ldloc.s V_16
IL_0171: V_16->Sort(); //callvirt void System::Collections::ArrayList::Sort()
IL_0176: //ldloc.s V_16
IL_0178: Temp_10=V_16->GetEnumerator(); //callvirt System::Collections::IEnumerator^ System::Collections::ArrayList::GetEnumerator()
IL_017d: V_21=Temp_10; //stloc.s V_21
IL_017f: //ldc.i4 0x19
IL_0184: V_23=25; //stloc V_23
IL_0188: /*goto IL_0002;*/goto IL_018d; //br IL_0002
IL_018d: /*goto IL_025a;*/goto IL_025501; //br IL_025a
IL_0192: //ldc.i4.1
IL_0193: Temp_24=gcnew array<Reflector::CodeModel::IAssembly^>(1); //newarr Reflector::CodeModel::IAssembly
IL_0198: V_19=Temp_24; //stloc.s V_19
IL_019a: //ldloc.s V_19
IL_019c: //ldc.i4.0
IL_019d: //ldloc.s V_4
IL_019f: V_19[0]=V_4; //stelem.ref
IL_01a0: //ldloc.s V_19
IL_01a2: Temp_25=gcnew Root::T_x121(V_19); //newobj void Root::T_x121::.ctor(array<Reflector::CodeModel::IAssembly^>^)
IL_01a7: V_2=Temp_25; //stloc.2
IL_01a8: //ldloc.s V_4
IL_01aa: V_1=V_4; //stloc.1
IL_01ab: //ldc.i4 0x4
IL_01b0: V_23=4; //stloc V_23
IL_01b4: /*goto IL_0002;*/goto IL_01b9; //br IL_0002
IL_01b9: goto IL_03c0; //br IL_03c0
IL_01be: //ldc.i4 0x5
IL_01c3: V_23=5; //stloc V_23
IL_01c7: /*goto IL_0002;*/goto IL_01cc; //br IL_0002
IL_01cc: goto IL_01cf; //br.s IL_01cf
IL_01ce: //break
IL_01cf: //ldloc.2
IL_01d0: Temp_13=V_2->M_x13(); //callvirt System::Boolean Root::T_x121::M_x13()
IL_01d5: if(Temp_13)goto IL_021f; //brtrue IL_021f
IL_01da: //ldc.i4 0x9
IL_01df: V_23=9; //stloc V_23
IL_01e3: /*goto IL_0002;*/goto IL_01e8; //br IL_0002
IL_01e8: goto IL_0447; //br IL_0447
IL_01ed: //ldnull
IL_01ee: V_10=safe_cast<System::Collections::ArrayList^>(nullptr); //stloc.s V_10
IL_01f0: //ldc.i4 0x1a
IL_01f5: V_23=26; //stloc V_23
IL_01f9: /*goto IL_0002;*/goto IL_01fe; //br IL_0002
IL_01fe: //ldloc.s V_5
IL_0200: //ldloc.s V_6
IL_0202: Temp_34=V_5->Contains(safe_cast<System::Object^>(V_6)); //callvirt System::Boolean System::Collections::SortedList::Contains(System::Object^)
IL_0207: if(!Temp_34)goto IL_04ef; //brfalse IL_04ef
IL_020c: //ldc.i4 0x15
IL_0211: V_23=21; //stloc V_23
IL_0215: /*goto IL_0002;*/goto IL_021a; //br IL_0002
IL_021a: goto IL_00f5; //br IL_00f5
IL_021f: //ldnull
IL_0220: V_6=safe_cast<System::String^>(nullptr); //stloc.s V_6
IL_0222: //ldnull
IL_0223: V_7=safe_cast<Root::T_x3::T_x6^>(nullptr); //stloc.s V_7
IL_0225: //ldloc.2
IL_0226: Temp_14=V_2->M_x2(); //callvirt System::Object^ Root::T_x121::M_x2()
IL_022b: //isinst Reflector::CodeModel::IFieldDeclaration
IL_0230: V_8=dynamic_cast<Reflector::CodeModel::IFieldDeclaration^>(Temp_14);//stloc.s V_8
IL_0232: //ldc.i4 0x10
IL_0237: V_23=16; //stloc V_23
IL_023b: /*goto IL_0002;*/goto IL_0240; //br IL_0002
IL_0240: //ldloc.s V_8
IL_0242: if(V_8==nullptr)goto IL_035c; //brfalse IL_035c
IL_0247: //ldc.i4 0x8
IL_024c: V_23=8; //stloc V_23
IL_0250: /*goto IL_0002;*/goto IL_0255; //br IL_0002
IL_0255: goto IL_03ee; //br IL_03ee
IL_025501: try{
IL_025a: //ldc.i4 0x0
IL_025f: V_23=0; //stloc V_23
IL_0263: /*goto IL_0267;*/goto IL_0265; //br.s IL_0267
IL_0265: goto IL_0284; //br.s IL_0284
IL_0267: //ldloc V_23
IL_026b: switch(V_23){case 0:goto IL_0265;case 1:goto IL_02ae;case 2:goto IL_02bb;case 3:goto IL_02cf;case 4:goto IL_02dc;};//switch (IL_0265,IL_02ae,IL_02bb,IL_02cf,IL_02dc)
IL_0284: goto IL_02b0; //br.s IL_02b0
IL_0286: //ldloc.s V_21
IL_0288: Temp_31=V_21->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_028d: //castclass Root::T_x3::T_x6
IL_0292: V_17=safe_cast<Root::T_x3::T_x6^>(Temp_31); //stloc.s V_17
IL_0294: //ldloc.s V_15
IL_0296: Temp_32=V_15->Nodes; //callvirt System::Windows::Forms::TreeNodeCollection^ System::Windows::Forms::TreeNode::get_Nodes()
IL_029b: //ldloc.s V_17
IL_029d: Temp_33=Temp_32->Add(safe_cast<System::Windows::Forms::TreeNode^>(V_17));//callvirt System::Int32 System::Windows::Forms::TreeNodeCollection::Add(System::Windows::Forms::TreeNode^)
IL_02a2: //pop
IL_02a3: //ldc.i4 0x1
IL_02a8: V_23=1; //stloc V_23
IL_02ac: /*goto IL_0267;*/goto IL_02ae; //br.s IL_0267
IL_02ae: goto IL_02b0; //br.s IL_02b0
IL_02b0: //ldc.i4 0x2
IL_02b5: V_23=2; //stloc V_23
IL_02b9: /*goto IL_0267;*/goto IL_02bb; //br.s IL_0267
IL_02bb: //ldloc.s V_21
IL_02bd: Temp_30=V_21->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_02c2: if(Temp_30)goto IL_0286; //brtrue.s IL_0286
IL_02c4: //ldc.i4 0x3
IL_02c9: V_23=3; //stloc V_23
IL_02cd: /*goto IL_0267;*/goto IL_02cf; //br.s IL_0267
IL_02cf: goto IL_02d1; //br.s IL_02d1
IL_02d1: //ldc.i4 0x4
IL_02d6: V_23=4; //stloc V_23
IL_02da: /*goto IL_0267;*/goto IL_02dc; //br.s IL_0267
IL_02dc: goto IL_032f; //leave.s IL_032f
;}
finally{
IL_02de: goto IL_02f5; //br.s IL_02f5
IL_02e0: //ldloc V_23
IL_02e4: switch(V_23){case 0:goto IL_032c;case 1:goto IL_0318;case 2:goto IL_0309;};//switch (IL_032c,IL_0318,IL_0309)
IL_02f5: //ldloc.s V_21
IL_02f7: //isinst System::IDisposable
IL_02fc: V_22=dynamic_cast<System::IDisposable^>(V_21); //stloc.s V_22
IL_02fe: //ldc.i4 0x2
IL_0303: V_23=2; //stloc V_23
IL_0307: /*goto IL_02e0;*/goto IL_0309; //br.s IL_02e0
IL_0309: //ldloc.s V_22
IL_030b: if(V_22==nullptr)goto IL_032e; //brfalse.s IL_032e
IL_030d: //ldc.i4 0x1
IL_0312: V_23=1; //stloc V_23
IL_0316: /*goto IL_02e0;*/goto IL_0318; //br.s IL_02e0
IL_0318: goto IL_031a; //br.s IL_031a
IL_031a: //ldloc.s V_22
IL_031c: /*V_22->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_0321: //ldc.i4 0x0
IL_0326: V_23=0; //stloc V_23
IL_032a: /*goto IL_02e0;*/goto IL_032c; //br.s IL_02e0
IL_032c: goto IL_032e; //br.s IL_032e
IL_032e: //endfinally
;}
IL_032f: //ldc.i4 0x1
IL_0334: V_23=1; //stloc V_23
IL_0338: /*goto IL_0002;*/goto IL_033d; //br IL_0002
IL_033d: //ldloc.s V_20
IL_033f: Temp_4=safe_cast<System::Collections::IEnumerator^>(V_20)->MoveNext();//callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_0344: if(Temp_4)goto IL_012b; //brtrue IL_012b
IL_0349: //ldc.i4 0x1b
IL_034e: V_23=27; //stloc V_23
IL_0352: /*goto IL_0002;*/goto IL_0357; //br IL_0002
IL_0357: goto IL_0515; //br IL_0515
IL_035c: //ldloc.2
IL_035d: Temp_28=V_2->M_x2(); //callvirt System::Object^ Root::T_x121::M_x2()
IL_0362: //isinst Reflector::CodeModel::IMethodDeclaration
IL_0367: V_9=dynamic_cast<Reflector::CodeModel::IMethodDeclaration^>(Temp_28);//stloc.s V_9
IL_0369: //ldc.i4 0x14
IL_036e: V_23=20; //stloc V_23
IL_0372: /*goto IL_0002;*/goto IL_0377; //br IL_0002
IL_0377: //ldloc.s V_9
IL_0379: if(V_9==nullptr)goto IL_0492; //brfalse IL_0492
IL_037e: //ldc.i4 0x2
IL_0383: V_23=2; //stloc V_23
IL_0387: /*goto IL_0002;*/goto IL_038c; //br IL_0002
IL_038c: goto IL_041c; //br IL_041c
IL_0391: //ldc.i4.1
IL_0392: Temp_16=gcnew array<Reflector::CodeModel::IModule^>(1); //newarr Reflector::CodeModel::IModule
IL_0397: V_18=Temp_16; //stloc.s V_18
IL_0399: //ldloc.s V_18
IL_039b: //ldc.i4.0
IL_039c: //ldloc.3
IL_039d: V_18[0]=V_3; //stelem.ref
IL_039e: //ldloc.s V_18
IL_03a0: Temp_17=gcnew Root::T_x121(V_18); //newobj void Root::T_x121::.ctor(array<Reflector::CodeModel::IModule^>^)
IL_03a5: V_2=Temp_17; //stloc.2
IL_03a6: //ldloc.3
IL_03a7: Temp_18=V_3->Assembly; //callvirt Reflector::CodeModel::IAssembly^ Reflector::CodeModel::IModule::get_Assembly()
IL_03ac: V_1=Temp_18; //stloc.1
IL_03ad: //ldc.i4 0xd
IL_03b2: V_23=13; //stloc V_23
IL_03b6: /*goto IL_0002;*/goto IL_03bb; //br IL_0002
IL_03bb: goto IL_04ba; //br IL_04ba
IL_03c0: Temp_3=gcnew System::Collections::SortedList(); //newobj void System::Collections::SortedList::.ctor()
IL_03c5: V_5=Temp_3; //stloc.s V_5
IL_03c7: //ldc.i4 0xc
IL_03cc: V_23=12; //stloc V_23
IL_03d0: /*goto IL_0002;*/goto IL_03d5; //br IL_0002
IL_03d5: //ldloc.2
IL_03d6: if(V_2==nullptr)goto IL_0447; //brfalse IL_0447
IL_03db: //ldc.i4 0x12
IL_03e0: V_23=18; //stloc V_23
IL_03e4: /*goto IL_0002;*/goto IL_03e9; //br IL_0002
IL_03e9: goto IL_0118; //br IL_0118
IL_03ee: //ldarg.0
IL_03ef: //ldloc.s V_8
IL_03f1: Temp_19=this->M_x1(safe_cast<Reflector::CodeModel::ICustomAttributeProvider^>(V_8));//call System::String^ Root::T_x3::T_x19::M_x1(Reflector::CodeModel::ICustomAttributeProvider^)
IL_03f6: V_6=Temp_19; //stloc.s V_6
IL_03f8: //ldloc.s V_8
IL_03fa: Temp_20=Root::T_x3::T_x4::M_x1(safe_cast<System::Object^>(V_8));//call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_03ff: V_7=Temp_20; //stloc.s V_7
IL_0401: //ldloc.s V_7
IL_0403: //ldloc.1
IL_0404: V_7->M_x1(safe_cast<System::Object^>(V_1)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_0409: //ldc.i4 0x1c
IL_040e: V_23=28; //stloc V_23
IL_0412: /*goto IL_0002;*/goto IL_0417; //br IL_0002
IL_0417: goto IL_035c; //br IL_035c
IL_041c: //ldarg.0
IL_041d: //ldloc.s V_9
IL_041f: Temp_11=this->M_x1(safe_cast<Reflector::CodeModel::ICustomAttributeProvider^>(V_9));//call System::String^ Root::T_x3::T_x19::M_x1(Reflector::CodeModel::ICustomAttributeProvider^)
IL_0424: V_6=Temp_11; //stloc.s V_6
IL_0426: //ldloc.s V_9
IL_0428: Temp_12=Root::T_x3::T_x4::M_x1(safe_cast<System::Object^>(V_9));//call Root::T_x3::T_x6^ Root::T_x3::T_x4::M_x1(System::Object^)
IL_042d: V_7=Temp_12; //stloc.s V_7
IL_042f: //ldloc.s V_7
IL_0431: //ldloc.1
IL_0432: V_7->M_x1(safe_cast<System::Object^>(V_1)); //callvirt void Root::T_x3::T_x6::M_x1(System::Object^)
IL_0437: //ldc.i4 0x11
IL_043c: V_23=17; //stloc V_23
IL_0440: /*goto IL_0002;*/goto IL_0445; //br IL_0002
IL_0445: goto IL_0492; //br.s IL_0492
IL_0447: //ldloc.s V_5
IL_0449: Temp_21=V_5->Count; //callvirt System::Int32 System::Collections::SortedList::get_Count()
IL_044e: //conv.ovf.u4
IL_044f: Temp_22=gcnew array<System::Windows::Forms::TreeNode^>(safe_cast<System::UInt32>(Temp_21));//newarr System::Windows::Forms::TreeNode
IL_0454: V_11=Temp_22; //stloc.s V_11
IL_0456: //ldc.i4.0
IL_0457: V_12=0; //stloc.s V_12
IL_0459: //ldloc.s V_5
IL_045b: Temp_23=V_5->GetEnumerator(); //callvirt System::Collections::IDictionaryEnumerator^ System::Collections::SortedList::GetEnumerator()
IL_0460: V_20=Temp_23; //stloc.s V_20
IL_0462: //ldc.i4 0x18
IL_0467: V_23=24; //stloc V_23
IL_046b: /*goto IL_0002;*/goto IL_0470; //br IL_0002
IL_0470: goto IL_032f; //br IL_032f
IL_0475: //ldloc.s V_10
IL_0477: //ldloc.s V_7
IL_0479: Temp_27=V_10->Add(safe_cast<System::Object^>(V_7)); //callvirt System::Int32 System::Collections::ArrayList::Add(System::Object^)
IL_047e: //pop
IL_047f: //ldc.i4 0x17
IL_0484: V_23=23; //stloc V_23
IL_0488: /*goto IL_0002;*/goto IL_048d; //br IL_0002
IL_048d: goto IL_00d1; //br IL_00d1
IL_0492: //ldc.i4 0x6
IL_0497: V_23=6; //stloc V_23
IL_049b: /*goto IL_0002;*/goto IL_04a0; //br IL_0002
IL_04a0: //ldloc.s V_6
IL_04a2: if(V_6==nullptr)goto IL_00d1; //brfalse IL_00d1
IL_04a7: //ldc.i4 0x16
IL_04ac: V_23=22; //stloc V_23
IL_04b0: /*goto IL_0002;*/goto IL_04b5; //br IL_0002
IL_04b5: goto IL_01ed; //br IL_01ed
IL_04ba: //ldarg.0
IL_04bb: Temp_26=this->F_x1; //ldfld System::Object^ Root::T_x3::T_x19 F_x1
IL_04c0: //isinst Reflector::CodeModel::IAssembly
IL_04c5: V_4=dynamic_cast<Reflector::CodeModel::IAssembly^>(Temp_26);//stloc.s V_4
IL_04c7: //ldc.i4 0x0
IL_04cc: V_23=0; //stloc V_23
IL_04d0: /*goto IL_0002;*/goto IL_04d5; //br IL_0002
IL_04d5: //ldloc.s V_4
IL_04d7: if(V_4==nullptr)goto IL_03c0; //brfalse IL_03c0
IL_04dc: //ldc.i4 0xa
IL_04e1: V_23=10; //stloc V_23
IL_04e5: /*goto IL_0002;*/goto IL_04ea; //br IL_0002
IL_04ea: goto IL_0192; //br IL_0192
IL_04ef: //ldc.i4.0
IL_04f0: Temp_35=gcnew System::Collections::ArrayList(safe_cast<System::Int32>(0));//newobj void System::Collections::ArrayList::.ctor(System::Int32)
IL_04f5: V_10=Temp_35; //stloc.s V_10
IL_04f7: //ldloc.s V_5
IL_04f9: //ldloc.s V_6
IL_04fb: //ldloc.s V_10
IL_04fd: V_5->Add(safe_cast<System::Object^>(V_6),safe_cast<System::Object^>(V_10));//callvirt void System::Collections::SortedList::Add(System::Object^,System::Object^)
IL_0502: //ldc.i4 0x13
IL_0507: V_23=19; //stloc V_23
IL_050b: /*goto IL_0002;*/goto IL_0510; //br IL_0002
IL_0510: goto IL_0475; //br IL_0475
IL_0515: //ldarg.0
IL_0516: //ldloc.s V_11
IL_0518: Root::T_x3::T_x16::M_x1(V_11); //call void Root::T_x3::T_x16::M_x1(array<System::Windows::Forms::TreeNode^>^)
IL_051d: //ldloc.0
IL_051e: //ldc.i4.s 100
IL_0520: V_0->M_x1(safe_cast<System::Int32>(100)); //callvirt void Root::T_x79::M_x1(System::Int32)
IL_0525: System::Windows::Forms::Application::DoEvents(); //call void System::Windows::Forms::Application::DoEvents()
IL_052a: return; //ret
}
inline System::String^ Root::T_x3::T_x19::M_x1(Reflector::CodeModel::ICustomAttributeProvider^ A_0)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::String^ Temp_1 = nullptr;
Reflector::CodeModel::ICustomAttribute^ Temp_2 = nullptr;
Reflector::CodeModel::IExpressionCollection^ Temp_3 = nullptr;
Reflector::CodeModel::IExpression^ Temp_4 = nullptr;
System::Object^ Temp_5 = nullptr;
Reflector::CodeModel::IExpressionCollection^ Temp_6 = nullptr;
System::Int32 Temp_7 = 0;
//local variables.
Reflector::CodeModel::ICustomAttribute^ V_0 = nullptr;
Reflector::CodeModel::ILiteralExpression^ V_1 = nullptr;
System::Int32 V_2 = 0;
System::Int32 V_3 = 0;
//method body -------
IL_0000: //ldc.i4 0x3
IL_0005: V_3=3; //stloc V_3
IL_0009: goto IL_0024; //br.s IL_0024
IL_000b: //ldloc V_2
IL_000f: switch(V_2){case 0:goto IL_0061;case 1:goto IL_0053;case 2:goto IL_00b6;case 3:goto IL_008f;};//switch (IL_0061,IL_0053,IL_00b6,IL_008f)
IL_0024: //ldarg.0
IL_0025: //ldarg.1
IL_0026: //ldstr L"\x7220\x5A22\x5624\x5326\x4C28\x462A\x032C\x7D2E\x4430\x5D32\x4134\x5E36\x5438\x5E3A\x133C\x763E\x2F40\x3742\x2044\x3546\x2648\x3B4A\x1E4C\x2A4E\x2350\x2552\x3C54\x3456\x3C58\x285A"
IL_002b: //ldloc V_3
IL_002f: Temp_0=a(L"\x7220\x5A22\x5624\x5326\x4C28\x462A\x032C\x7D2E\x4430\x5D32\x4134\x5E36\x5438\x5E3A\x133C\x763E\x2F40\x3742\x2044\x3546\x2648\x3B4A\x1E4C\x2A4E\x2350\x2552\x3C54\x3456\x3C58\x285A",V_3);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0034: //ldstr L"\x6520\x4F22\x4924\x6E26\x4428\x5B2A\x422C\x5D2E\x4530\x7232\x4134\x4336\x4B38\x523A\x5F3C\x4A3E\x3540\x2642"
IL_0039: //ldloc V_3
IL_003d: Temp_1=a(L"\x6520\x4F22\x4924\x6E26\x4428\x5B2A\x422C\x5D2E\x4530\x7232\x4134\x4336\x4B38\x523A\x5F3C\x4A3E\x3540\x2642",V_3);//call System::String^ undefined_type::a(System::String^,System::Int32)
IL_0042: Temp_2=this->M_x1(A_0,Temp_0,Temp_1); //call Reflector::CodeModel::ICustomAttribute^ Root::T_x3::T_x19::M_x1(Reflector::CodeModel::ICustomAttributeProvider^,System::String^,System::String^)
IL_0047: V_0=Temp_2; //stloc.0
IL_0048: //ldc.i4 0x1
IL_004d: V_2=1; //stloc V_2
IL_0051: /*goto IL_000b;*/goto IL_0053; //br.s IL_000b
IL_0053: //ldloc.0
IL_0054: if(V_0==nullptr)goto IL_00b8; //brfalse.s IL_00b8
IL_0056: //ldc.i4 0x0
IL_005b: V_2=0; //stloc V_2
IL_005f: /*goto IL_000b;*/goto IL_0061; //br.s IL_000b
IL_0061: goto IL_0081; //br.s IL_0081
IL_0063: //ldloc.0
IL_0064: Temp_3=V_0->Arguments; //callvirt Reflector::CodeModel::IExpressionCollection^ Reflector::CodeModel::ICustomAttribute::get_Arguments()
IL_0069: //ldc.i4.0
IL_006a: Temp_4=Temp_3[safe_cast<System::Int32>(0)]; //callvirt Reflector::CodeModel::IExpression^ Reflector::CodeModel::IExpressionCollection::get_Item(System::Int32)
IL_006f: //castclass Reflector::CodeModel::ILiteralExpression
IL_0074: V_1=safe_cast<Reflector::CodeModel::ILiteralExpression^>(Temp_4);//stloc.1
IL_0075: //ldloc.1
IL_0076: Temp_5=V_1->Value; //callvirt System::Object^ Reflector::CodeModel::ILiteralExpression::get_Value()
IL_007b: //castclass System::String
IL_0080: return safe_cast<System::String^>(Temp_5); //ret
IL_0081: //ldc.i4 0x3
IL_0086: V_2=3; //stloc V_2
IL_008a: /*goto IL_000b;*/goto IL_008f; //br IL_000b
IL_008f: //ldloc.0
IL_0090: Temp_6=V_0->Arguments; //callvirt Reflector::CodeModel::IExpressionCollection^ Reflector::CodeModel::ICustomAttribute::get_Arguments()
IL_0095: Temp_7=safe_cast<System::Collections::ICollection^>(Temp_6)->Count;//callvirt System::Int32 System::Collections::ICollection::get_Count()
IL_009a: //ldc.i4.0
IL_009b: if(Temp_7<=0)goto IL_00b8; //ble.s IL_00b8
IL_009d: //ldc.i4.4
IL_009e: //dup
IL_009f: //dup
IL_00a0: //ldc.i4.2
IL_00a1: //sub
IL_00a2: //blt IL_009e
IL_00a7: //pop
IL_00a8: //ldc.i4 0x2
IL_00ad: V_2=2; //stloc V_2
IL_00b1: /*goto IL_000b;*/goto IL_00b6; //br IL_000b
IL_00b6: goto IL_0063; //br.s IL_0063
IL_00b8: //ldnull
IL_00b9: return nullptr; //ret
}
inline Reflector::CodeModel::ICustomAttribute^ Root::T_x3::T_x19::M_x1(Reflector::CodeModel::ICustomAttributeProvider^ A_0,System::String^ A_1,System::String^ A_2)
{
//temp variables , should be optimized by C++/cli compiler.
Reflector::CodeModel::ICustomAttributeCollection^ Temp_0 = nullptr;
System::Collections::IEnumerator^ Temp_1 = nullptr;
System::Boolean Temp_2 = false;
System::Boolean Temp_3 = false;
System::Object^ Temp_4 = nullptr;
Reflector::CodeModel::IMethodReference^ Temp_5 = nullptr;
Reflector::CodeModel::IType^ Temp_6 = nullptr;
//local variables.
Reflector::CodeModel::ICustomAttribute^ V_0 = nullptr;
Reflector::CodeModel::IType^ V_1 = nullptr;
Reflector::CodeModel::ICustomAttribute^ V_2 = nullptr;
System::Collections::IEnumerator^ V_3 = nullptr;
System::IDisposable^ V_4 = nullptr;
System::Int32 V_5 = 0;
System::Int32 V_6 = 0;
//method body -------
IL_0000: //ldarg.1
IL_0001: Temp_0=A_0->Attributes; //callvirt Reflector::CodeModel::ICustomAttributeCollection^ Reflector::CodeModel::ICustomAttributeProvider::get_Attributes()
IL_0006: Temp_1=safe_cast<System::Collections::IEnumerable^>(Temp_0)->GetEnumerator();//callvirt System::Collections::IEnumerator^ System::Collections::IEnumerable::GetEnumerator()
IL_000b: V_3=Temp_1; //stloc.3
IL_000c: /*goto IL_0010;*/goto IL_000F01; //br.s IL_0010
IL_000e: //ldnull
IL_000f: return nullptr; //ret
IL_000F01: try{
IL_0010: //ldc.i4 0x2
IL_0015: V_5=2; //stloc V_5
IL_0019: /*goto IL_001d;*/goto IL_001b; //br.s IL_001d
IL_001b: goto IL_0042; //br.s IL_0042
IL_001d: //ldloc V_5
IL_0021: switch(V_5){case 0:goto IL_00af;case 1:goto IL_009d;case 2:goto IL_001b;case 3:goto IL_0062;case 4:goto IL_00bf;case 5:goto IL_0087;case 6:goto IL_004f;};//switch (IL_00af,IL_009d,IL_001b,IL_0062,IL_00bf,IL_0087,IL_004f)
IL_0042: goto IL_0044; //br.s IL_0044
IL_0044: //ldc.i4 0x6
IL_0049: V_5=6; //stloc V_5
IL_004d: /*goto IL_001d;*/goto IL_004f; //br.s IL_001d
IL_004f: //ldloc.3
IL_0050: Temp_3=V_3->MoveNext(); //callvirt System::Boolean System::Collections::IEnumerator::MoveNext()
IL_0055: if(Temp_3)goto IL_0064; //brtrue.s IL_0064
IL_0057: //ldc.i4 0x3
IL_005c: V_5=3; //stloc V_5
IL_0060: /*goto IL_001d;*/goto IL_0062; //br.s IL_001d
IL_0062: goto IL_00b1; //br.s IL_00b1
IL_0064: //ldloc.3
IL_0065: Temp_4=V_3->Current; //callvirt System::Object^ System::Collections::IEnumerator::get_Current()
IL_006a: //castclass Reflector::CodeModel::ICustomAttribute
IL_006f: V_0=safe_cast<Reflector::CodeModel::ICustomAttribute^>(Temp_4);//stloc.0
IL_0070: //ldloc.0
IL_0071: Temp_5=V_0->Constructor; //callvirt Reflector::CodeModel::IMethodReference^ Reflector::CodeModel::ICustomAttribute::get_Constructor()
IL_0076: Temp_6=safe_cast<Reflector::CodeModel::IMemberReference^>(Temp_5)->DeclaringType;//callvirt Reflector::CodeModel::IType^ Reflector::CodeModel::IMemberReference::get_DeclaringType()
IL_007b: V_1=Temp_6; //stloc.1
IL_007c: //ldc.i4 0x5
IL_0081: V_5=5; //stloc V_5
IL_0085: /*goto IL_001d;*/goto IL_0087; //br.s IL_001d
IL_0087: //ldarg.0
IL_0088: //ldloc.1
IL_0089: //ldarg.2
IL_008a: //ldarg.3
IL_008b: Temp_2=this->M_x1(V_1,A_1,A_2); //call System::Boolean Root::T_x3::T_x19::M_x1(Reflector::CodeModel::IType^,System::String^,System::String^)
IL_0090: if(!Temp_2)goto IL_0044; //brfalse.s IL_0044
IL_0092: //ldc.i4 0x1
IL_0097: V_5=1; //stloc V_5
IL_009b: /*goto IL_001d;*/goto IL_009d; //br.s IL_001d
IL_009d: goto IL_009f; //br.s IL_009f
IL_009f: //ldloc.0
IL_00a0: V_2=V_0; //stloc.2
IL_00a1: //ldc.i4 0x0
IL_00a6: V_5=0; //stloc V_5
IL_00aa: /*goto IL_001d;*/goto IL_00af; //br IL_001d
IL_00af: goto IL_0114; //leave.s IL_0114
IL_00b1: //ldc.i4 0x4
IL_00b6: V_5=4; //stloc V_5
IL_00ba: /*goto IL_001d;*/goto IL_00bf; //br IL_001d
IL_00bf: goto IL_000e; //leave IL_000e
;}
finally{
IL_00c4: goto IL_00db; //br.s IL_00db
IL_00c6: //ldloc V_6
IL_00ca: switch(V_6){case 0:goto IL_00fd;case 1:goto IL_0111;case 2:goto IL_00ee;};//switch (IL_00fd,IL_0111,IL_00ee)
IL_00db: //ldloc.3
IL_00dc: //isinst System::IDisposable
IL_00e1: V_4=dynamic_cast<System::IDisposable^>(V_3); //stloc.s V_4
IL_00e3: //ldc.i4 0x2
IL_00e8: V_6=2; //stloc V_6
IL_00ec: /*goto IL_00c6;*/goto IL_00ee; //br.s IL_00c6
IL_00ee: //ldloc.s V_4
IL_00f0: if(V_4==nullptr)goto IL_0113; //brfalse.s IL_0113
IL_00f2: //ldc.i4 0x0
IL_00f7: V_6=0; //stloc V_6
IL_00fb: /*goto IL_00c6;*/goto IL_00fd; //br.s IL_00c6
IL_00fd: goto IL_00ff; //br.s IL_00ff
IL_00ff: //ldloc.s V_4
IL_0101: /*V_4->Dispose();*/ //callvirt void System::IDisposable::Dispose()
IL_0106: //ldc.i4 0x1
IL_010b: V_6=1; //stloc V_6
IL_010f: /*goto IL_00c6;*/goto IL_0111; //br.s IL_00c6
IL_0111: goto IL_0113; //br.s IL_0113
IL_0113: //endfinally
;}
IL_0114: goto IL_0117; //br.s IL_0117
IL_0116: //break
IL_0117: //ldloc.2
IL_0118: return V_2; //ret
}
inline System::Boolean Root::T_x3::T_x19::M_x1(Reflector::CodeModel::IType^ A_0,System::String^ A_1,System::String^ A_2)
{
//temp variables , should be optimized by C++/cli compiler.
System::String^ Temp_0 = nullptr;
System::Boolean Temp_1 = false;
System::String^ Temp_2 = nullptr;
System::Boolean Temp_3 = false;
//local variables.
Reflector::CodeModel::ITypeReference^ V_0 = nullptr;
System::Int32 V_1 = 0;
//method body -------
IL_0000: goto IL_001b; //br.s IL_001b
IL_0002: //ldloc V_1
IL_0006: switch(V_1){case 0:goto IL_003e;case 1:goto IL_005a;case 2:goto IL_002d;case 3:goto IL_0073;};//switch (IL_003e,IL_005a,IL_002d,IL_0073)
IL_001b: //ldarg.1
IL_001c: //isinst Reflector::CodeModel::ITypeReference
IL_0021: V_0=dynamic_cast<Reflector::CodeModel::ITypeReference^>(A_0);//stloc.0
IL_0022: //ldc.i4 0x2
IL_0027: V_1=2; //stloc V_1
IL_002b: /*goto IL_0002;*/goto IL_002d; //br.s IL_0002
IL_002d: goto IL_0030; //br.s IL_0030
IL_002f: //break
IL_0030: //ldloc.0
IL_0031: if(V_0==nullptr)goto IL_0075; //brfalse.s IL_0075
IL_0033: //ldc.i4 0x0
IL_0038: V_1=0; //stloc V_1
IL_003c: /*goto IL_0002;*/goto IL_003e; //br.s IL_0002
IL_003e: goto IL_004f; //br.s IL_004f
IL_0040: //ldc.i4.0
IL_0041: return false; //ret
IL_0042: //ldloc.0
IL_0043: Temp_2=V_0->Name; //callvirt System::String^ Reflector::CodeModel::ITypeReference::get_Name()
IL_0048: //ldarg.3
IL_0049: Temp_3=(Temp_2 == A_2); //call System::Boolean System::String::op_Equality(System::String^,System::String^)
IL_004e: return Temp_3; //ret
IL_004f: //ldc.i4 0x1
IL_0054: V_1=1; //stloc V_1
IL_0058: /*goto IL_0002;*/goto IL_005a; //br.s IL_0002
IL_005a: //ldloc.0
IL_005b: Temp_0=V_0->Namespace; //callvirt System::String^ Reflector::CodeModel::ITypeReference::get_Namespace()
IL_0060: //ldarg.2
IL_0061: Temp_1=(Temp_0 == A_1); //call System::Boolean System::String::op_Equality(System::String^,System::String^)
IL_0066: if(!Temp_1)goto IL_0040; //brfalse.s IL_0040
IL_0068: //ldc.i4 0x3
IL_006d: V_1=3; //stloc V_1
IL_0071: /*goto IL_0002;*/goto IL_0073; //br.s IL_0002
IL_0073: goto IL_0042; //br.s IL_0042
IL_0075: //ldc.i4.0
IL_0076: return false; //ret
}
|
9328205382474a88e16a4c7a13b9315f381d5e09
|
509b32cf65d208b8f6284b139999b59a29556d1b
|
/alvere/alvere/src/alvere/graphics/material_instance.hpp
|
7a16ee8389ffaec257ea487c47cd8f46a3a9921b
|
[] |
no_license
|
geoorgeous/alvere_engine
|
1725b57aea848635cc667a0d64d66be54d8079ed
|
71176a6690ffd46c0b1953450afaa6fb4b990647
|
refs/heads/master
| 2021-08-04T06:05:12.879753
| 2020-05-18T21:43:08
| 2020-05-18T21:43:08
| 172,511,977
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,596
|
hpp
|
material_instance.hpp
|
#pragma once
#include "alvere/graphics/material.hpp"
#include "alvere/graphics/texture.hpp"
#include "alvere/math/matrix/matrix_4.hpp"
#include "alvere/math/vectors.hpp"
namespace alvere
{
class MaterialInstance;
struct IMaterialPropertyData
{
const MaterialPropertyInfo * m_propertyInfo;
protected:
friend alvere::MaterialInstance;
virtual void sendToShaderProgram(const ShaderProgram * shaderProgram) const = 0;
};
template <Shader::DataType ShaderDataType>
struct MaterialPropertyData : IMaterialPropertyData { };
template<>
struct MaterialPropertyData<Shader::DataType::Float> : IMaterialPropertyData
{
float m_value = 0.0f;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Float2> : IMaterialPropertyData
{
Vector2 m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Float3> : IMaterialPropertyData
{
Vector3 m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Float4> : IMaterialPropertyData
{
Vector4 m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Int> : IMaterialPropertyData
{
int m_value = 0;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Int2> : IMaterialPropertyData
{
Vector<int, 2> m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Int3> : IMaterialPropertyData
{
Vector<int, 3> m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Int4> : IMaterialPropertyData
{
Vector<int, 4> m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Mat4x4> : IMaterialPropertyData
{
Matrix4 m_value;
private:
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
template<>
struct MaterialPropertyData<Shader::DataType::Sampler2D> : IMaterialPropertyData
{
friend class MaterialInstance;
Texture * m_value = nullptr;
private:
int m_openGLTextureUnitIndex = 0;
void sendToShaderProgram(const ShaderProgram * shaderProgram) const override;
};
class MaterialInstance
{
public:
MaterialInstance(const Material * baseMaterial);
const Material * getBaseMaterial() const;
template<Shader::DataType ShaderDataType>
MaterialPropertyData<ShaderDataType> * get(const std::string & id)
{
const std::vector<MaterialPropertyInfo> & propertiesInfo = m_baseMaterial->getPropertiesInfo();
for (IMaterialPropertyData * propertyData : m_propertiesData)
if (propertyData->m_propertyInfo->m_id == id)
{
if (propertyData->m_propertyInfo->m_shaderDataType == ShaderDataType)
return (MaterialPropertyData<ShaderDataType> *)propertyData;
break;
}
return nullptr;
}
void bind() const;
void unbind() const;
void sendPropertiesToShader() const;
private:
const Material * m_baseMaterial;
std::vector<IMaterialPropertyData *> m_propertiesData;
};
}
|
96b12a6f2c8c54ee19d3323f34980ccbb93e8168
|
0cd6775e19970891b2d4589c21f40f29e470b5e7
|
/includes/html.h
|
83b48e263022e69c24b1fb26ba9e491928f3f59b
|
[
"PHP-3.01"
] |
permissive
|
wxphp/wxphp
|
c36fdf8ad6e14add274321839d18d7df54074237
|
3f0d139babe6e20444d381eeb9c4548c335c9529
|
refs/heads/master
| 2023-08-28T12:10:21.522326
| 2023-07-12T11:59:00
| 2023-07-12T11:59:00
| 4,215,368
| 290
| 58
|
NOASSERTION
| 2023-07-12T11:59:01
| 2012-05-03T15:25:55
|
C++
|
UTF-8
|
C++
| false
| false
| 110,616
|
h
|
html.h
|
/*
* @author Mรกrio Soares
* @contributors Jefferson Gonzรกlez
* @contributors Renรฉ Vรถgeli / Rangee GmbH
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @note
* This file was auto-generated by the wxPHP source maker
*/
#ifndef WXPHP_HTML_H_GUARD
#define WXPHP_HTML_H_GUARD
#include "references.h"
#include "object_types.h"
ZEND_BEGIN_ARG_INFO_EX(wxphp_html_get_args, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
extern zend_class_entry* php_wxHtmlRenderingStyle_entry;
extern zend_object_handlers wxphp_wxHtmlRenderingStyle_object_handlers;
void php_wxHtmlRenderingStyle_destruction_handler(zend_resource*);
class wxHtmlRenderingStyle_php: public wxHtmlRenderingStyle{
public:
wxColour GetSelectedTextBgColour(const wxColour& clr);
wxColour GetSelectedTextColour(const wxColour& clr);
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlRenderingStyle{
wxHtmlRenderingStyle_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlRenderingStyle;
void php_wxHtmlRenderingStyle_free(void *object);
zend_object* php_wxHtmlRenderingStyle_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxHtmlRenderingStyle_functions[] = {
PHP_FE_END
};
#endif
static inline zo_wxHtmlRenderingStyle * php_wxHtmlRenderingStyle_fetch_object(zend_object *obj) {
return (zo_wxHtmlRenderingStyle *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlRenderingStyle, zo)
);
}
#define Z_wxHtmlRenderingStyle_P(zv) \
php_wxHtmlRenderingStyle_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlRenderingInfo_entry;
extern zend_object_handlers wxphp_wxHtmlRenderingInfo_object_handlers;
void php_wxHtmlRenderingInfo_destruction_handler(zend_resource*);
class wxHtmlRenderingInfo_php: public wxHtmlRenderingInfo{
public:
wxHtmlRenderingInfo_php():wxHtmlRenderingInfo(){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlRenderingInfo{
wxHtmlRenderingInfo_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlRenderingInfo;
void php_wxHtmlRenderingInfo_free(void *object);
zend_object* php_wxHtmlRenderingInfo_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlRenderingInfo_GetStyle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlRenderingInfo_SetStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, style)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlRenderingInfo___construct_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlRenderingInfo_functions[] = {
PHP_ME(php_wxHtmlRenderingInfo, GetStyle, php_wxHtmlRenderingInfo_GetStyle_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlRenderingInfo, SetStyle, php_wxHtmlRenderingInfo_SetStyle_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlRenderingInfo, __construct, php_wxHtmlRenderingInfo___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlRenderingInfo * php_wxHtmlRenderingInfo_fetch_object(zend_object *obj) {
return (zo_wxHtmlRenderingInfo *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlRenderingInfo, zo)
);
}
#define Z_wxHtmlRenderingInfo_P(zv) \
php_wxHtmlRenderingInfo_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlCell_entry;
extern zend_object_handlers wxphp_wxHtmlCell_object_handlers;
void php_wxHtmlCell_destruction_handler(zend_resource*);
class wxHtmlCell_php: public wxHtmlCell{
public:
wxHtmlCell_php():wxHtmlCell(){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlCell{
wxHtmlCell_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlCell;
void php_wxHtmlCell_free(void *object);
zend_object* php_wxHtmlCell_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetDescent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetFirstChild_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetNext_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetPosX_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetPosY_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_Layout_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_SetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, link)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_SetNext_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cell)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_SetParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, p)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_SetPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_Find_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, condition)
ZEND_ARG_INFO(0, param)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCell_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlCell_functions[] = {
PHP_ME(php_wxHtmlCell, GetDescent, php_wxHtmlCell_GetDescent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetFirstChild, php_wxHtmlCell_GetFirstChild_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetHeight, php_wxHtmlCell_GetHeight_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetId, php_wxHtmlCell_GetId_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetLink, php_wxHtmlCell_GetLink_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetNext, php_wxHtmlCell_GetNext_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetParent, php_wxHtmlCell_GetParent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetPosX, php_wxHtmlCell_GetPosX_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetPosY, php_wxHtmlCell_GetPosY_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, GetWidth, php_wxHtmlCell_GetWidth_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, Layout, php_wxHtmlCell_Layout_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, SetId, php_wxHtmlCell_SetId_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, SetLink, php_wxHtmlCell_SetLink_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, SetNext, php_wxHtmlCell_SetNext_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, SetParent, php_wxHtmlCell_SetParent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, SetPos, php_wxHtmlCell_SetPos_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCell, __construct, php_wxHtmlCell___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlCell, Find, php_wxHtmlCell_Find_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlCell * php_wxHtmlCell_fetch_object(zend_object *obj) {
return (zo_wxHtmlCell *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlCell, zo)
);
}
#define Z_wxHtmlCell_P(zv) \
php_wxHtmlCell_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlContainerCell_entry;
extern zend_object_handlers wxphp_wxHtmlContainerCell_object_handlers;
void php_wxHtmlContainerCell_destruction_handler(zend_resource*);
class wxHtmlContainerCell_php: public wxHtmlContainerCell{
public:
wxHtmlContainerCell_php(wxHtmlContainerCell* parent):wxHtmlContainerCell(parent){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlContainerCell{
wxHtmlContainerCell_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlContainerCell;
void php_wxHtmlContainerCell_free(void *object);
zend_object* php_wxHtmlContainerCell_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, parent)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetWidthFloat_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, tag)
ZEND_ARG_INFO(0, pixel_scale)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetMinHeight_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, h)
ZEND_ARG_INFO(0, align)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetIndent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, i)
ZEND_ARG_INFO(0, what)
ZEND_ARG_INFO(0, units)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetBorder_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clr1)
ZEND_ARG_INFO(0, clr2)
ZEND_ARG_INFO(0, border)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetBackgroundColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clr)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetAlignVer_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, al)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetAlignHor_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, al)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetAlign_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, tag)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_InsertCell_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cell)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetIndentUnits_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, ind)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetIndent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, ind)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetBackgroundColour_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetAlignVer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetAlignHor_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetDescent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetFirstChild_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetNext_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetPosX_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetPosY_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_Layout_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, link)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetNext_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cell)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, p)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_SetPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_Find_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, condition)
ZEND_ARG_INFO(0, param)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlContainerCell_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlContainerCell_functions[] = {
PHP_ME(php_wxHtmlContainerCell, __construct, php_wxHtmlContainerCell___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlContainerCell, SetWidthFloat, php_wxHtmlContainerCell_SetWidthFloat_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetMinHeight, php_wxHtmlContainerCell_SetMinHeight_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetIndent, php_wxHtmlContainerCell_SetIndent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetBorder, php_wxHtmlContainerCell_SetBorder_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetBackgroundColour, php_wxHtmlContainerCell_SetBackgroundColour_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetAlignVer, php_wxHtmlContainerCell_SetAlignVer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetAlignHor, php_wxHtmlContainerCell_SetAlignHor_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, SetAlign, php_wxHtmlContainerCell_SetAlign_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, InsertCell, php_wxHtmlContainerCell_InsertCell_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, GetIndentUnits, php_wxHtmlContainerCell_GetIndentUnits_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, GetIndent, php_wxHtmlContainerCell_GetIndent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, GetBackgroundColour, php_wxHtmlContainerCell_GetBackgroundColour_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, GetAlignVer, php_wxHtmlContainerCell_GetAlignVer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlContainerCell, GetAlignHor, php_wxHtmlContainerCell_GetAlignHor_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlContainerCell * php_wxHtmlContainerCell_fetch_object(zend_object *obj) {
return (zo_wxHtmlContainerCell *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlContainerCell, zo)
);
}
#define Z_wxHtmlContainerCell_P(zv) \
php_wxHtmlContainerCell_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlLinkInfo_entry;
extern zend_object_handlers wxphp_wxHtmlLinkInfo_object_handlers;
void php_wxHtmlLinkInfo_destruction_handler(zend_resource*);
class wxHtmlLinkInfo_php: public wxHtmlLinkInfo{
public:
wxHtmlLinkInfo_php():wxHtmlLinkInfo(){}
wxHtmlLinkInfo_php(const wxString& href, const wxString& target=wxEmptyString):wxHtmlLinkInfo(href, target){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlLinkInfo{
wxHtmlLinkInfo_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlLinkInfo;
void php_wxHtmlLinkInfo_free(void *object);
zend_object* php_wxHtmlLinkInfo_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_GetEvent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_GetHref_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_GetHtmlCell_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_GetTarget_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, href)
ZEND_ARG_INFO(0, target)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkInfo_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlLinkInfo_functions[] = {
PHP_ME(php_wxHtmlLinkInfo, GetEvent, php_wxHtmlLinkInfo_GetEvent_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlLinkInfo, GetHref, php_wxHtmlLinkInfo_GetHref_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlLinkInfo, GetHtmlCell, php_wxHtmlLinkInfo_GetHtmlCell_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlLinkInfo, GetTarget, php_wxHtmlLinkInfo_GetTarget_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlLinkInfo, __construct, php_wxHtmlLinkInfo___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlLinkInfo * php_wxHtmlLinkInfo_fetch_object(zend_object *obj) {
return (zo_wxHtmlLinkInfo *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlLinkInfo, zo)
);
}
#define Z_wxHtmlLinkInfo_P(zv) \
php_wxHtmlLinkInfo_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlColourCell_entry;
extern zend_object_handlers wxphp_wxHtmlColourCell_object_handlers;
void php_wxHtmlColourCell_destruction_handler(zend_resource*);
class wxHtmlColourCell_php: public wxHtmlColourCell{
public:
wxHtmlColourCell_php(const wxColour& clr, int flags=wxHTML_CLR_FOREGROUND):wxHtmlColourCell(clr, flags){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlColourCell{
wxHtmlColourCell_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlColourCell;
void php_wxHtmlColourCell_free(void *object);
zend_object* php_wxHtmlColourCell_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clr)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetDescent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetFirstChild_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetNext_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetPosX_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetPosY_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_Layout_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_SetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, link)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_SetNext_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cell)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_SetParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, p)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_SetPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_Find_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, condition)
ZEND_ARG_INFO(0, param)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlColourCell_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlColourCell_functions[] = {
PHP_ME(php_wxHtmlColourCell, __construct, php_wxHtmlColourCell___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlColourCell * php_wxHtmlColourCell_fetch_object(zend_object *obj) {
return (zo_wxHtmlColourCell *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlColourCell, zo)
);
}
#define Z_wxHtmlColourCell_P(zv) \
php_wxHtmlColourCell_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlWidgetCell_entry;
extern zend_object_handlers wxphp_wxHtmlWidgetCell_object_handlers;
void php_wxHtmlWidgetCell_destruction_handler(zend_resource*);
class wxHtmlWidgetCell_php: public wxHtmlWidgetCell{
public:
wxHtmlWidgetCell_php(wxWindow* wnd, int w=0):wxHtmlWidgetCell(wnd, w){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlWidgetCell{
wxHtmlWidgetCell_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlWidgetCell;
void php_wxHtmlWidgetCell_free(void *object);
zend_object* php_wxHtmlWidgetCell_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, wnd)
ZEND_ARG_INFO(0, w)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetDescent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetFirstChild_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetNext_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetPosX_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetPosY_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_Layout_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_SetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, link)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_SetNext_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cell)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_SetParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, p)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_SetPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_Find_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, condition)
ZEND_ARG_INFO(0, param)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWidgetCell_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlWidgetCell_functions[] = {
PHP_ME(php_wxHtmlWidgetCell, __construct, php_wxHtmlWidgetCell___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlWidgetCell * php_wxHtmlWidgetCell_fetch_object(zend_object *obj) {
return (zo_wxHtmlWidgetCell *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlWidgetCell, zo)
);
}
#define Z_wxHtmlWidgetCell_P(zv) \
php_wxHtmlWidgetCell_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlFilter_entry;
extern zend_object_handlers wxphp_wxHtmlFilter_object_handlers;
void php_wxHtmlFilter_destruction_handler(zend_resource*);
class wxHtmlFilter_php: public wxHtmlFilter{
public:
wxHtmlFilter_php():wxHtmlFilter(){}
bool CanRead(const wxFSFile& file) const;
wxString ReadFile(const wxFSFile& file) const;
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlFilter{
wxHtmlFilter_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlFilter;
void php_wxHtmlFilter_free(void *object);
zend_object* php_wxHtmlFilter_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlFilter_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlFilter_functions[] = {
PHP_ME(php_wxHtmlFilter, __construct, php_wxHtmlFilter___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlFilter * php_wxHtmlFilter_fetch_object(zend_object *obj) {
return (zo_wxHtmlFilter *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlFilter, zo)
);
}
#define Z_wxHtmlFilter_P(zv) \
php_wxHtmlFilter_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlTagHandler_entry;
extern zend_object_handlers wxphp_wxHtmlTagHandler_object_handlers;
void php_wxHtmlTagHandler_destruction_handler(zend_resource*);
class wxHtmlTagHandler_php: public wxHtmlTagHandler{
public:
wxHtmlTagHandler_php():wxHtmlTagHandler(){}
wxString GetSupportedTags();
bool HandleTag(const wxHtmlTag& tag);
void InitProperties(){
properties = new void*[1];
properties[0] = &m_Parser;
}
void UninitProperties(){
delete[] properties;
}
void** properties;
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlTagHandler{
wxHtmlTagHandler_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlTagHandler;
void php_wxHtmlTagHandler_free(void *object);
zend_object* php_wxHtmlTagHandler_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagHandler_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlTagHandler_functions[] = {
PHP_ME(php_wxHtmlTagHandler, __construct, php_wxHtmlTagHandler___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlTagHandler, __get, wxphp_html_get_args, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlTagHandler * php_wxHtmlTagHandler_fetch_object(zend_object *obj) {
return (zo_wxHtmlTagHandler *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlTagHandler, zo)
);
}
#define Z_wxHtmlTagHandler_P(zv) \
php_wxHtmlTagHandler_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlTag_entry;
extern zend_object_handlers wxphp_wxHtmlTag_object_handlers;
void php_wxHtmlTag_destruction_handler(zend_resource*);
class wxHtmlTag_php: public wxHtmlTag{
public:
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlTag{
wxHtmlTag_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlTag;
void php_wxHtmlTag_free(void *object);
zend_object* php_wxHtmlTag_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_GetAllParams_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_GetName_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_GetParam_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, par)
ZEND_ARG_INFO(0, with_quotes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_GetParamAsColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, par)
ZEND_ARG_INFO(0, clr)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_HasEnding_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_HasParam_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, par)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_ParseAsColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, str)
ZEND_ARG_INFO(0, clr)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_ScanParam_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, par)
ZEND_ARG_INFO(0, format)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTag_GetParamAsInt_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, par)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlTag_functions[] = {
PHP_ME(php_wxHtmlTag, GetAllParams, php_wxHtmlTag_GetAllParams_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, GetName, php_wxHtmlTag_GetName_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, GetParam, php_wxHtmlTag_GetParam_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, GetParamAsColour, php_wxHtmlTag_GetParamAsColour_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, HasEnding, php_wxHtmlTag_HasEnding_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, HasParam, php_wxHtmlTag_HasParam_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, ParseAsColour, php_wxHtmlTag_ParseAsColour_arg_infos, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, ScanParam, php_wxHtmlTag_ScanParam_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlTag, GetParamAsInt, php_wxHtmlTag_GetParamAsInt_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlTag * php_wxHtmlTag_fetch_object(zend_object *obj) {
return (zo_wxHtmlTag *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlTag, zo)
);
}
#define Z_wxHtmlTag_P(zv) \
php_wxHtmlTag_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlWindow_entry;
extern zend_object_handlers wxphp_wxHtmlWindow_object_handlers;
void php_wxHtmlWindow_destruction_handler(zend_resource*);
class wxHtmlWindow_php: public wxHtmlWindow{
public:
wxHtmlWindow_php():wxHtmlWindow(){}
wxHtmlWindow_php(wxWindow* parent, wxWindowID id=wxID_ANY, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxHW_DEFAULT_STYLE, const wxString& name="htmlWindow"):wxHtmlWindow(parent, id, pos, size, style, name){}
bool OnCellClicked(wxHtmlCell* cell, wxCoord x, wxCoord y, const wxMouseEvent& event);
void OnCellMouseHover(wxHtmlCell* cell, wxCoord x, wxCoord y);
void OnLinkClicked(const wxHtmlLinkInfo& link);
void OnSetTitle(const wxString& title);
wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, const wxString& url, wxString* redirect) const;
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlWindow{
wxHtmlWindow_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlWindow;
void php_wxHtmlWindow_free(void *object);
zend_object* php_wxHtmlWindow_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AppendToPage_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, source)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetOpenedAnchor_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetOpenedPage_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetOpenedPageTitle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetRelatedFrame_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HistoryBack_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HistoryCanBack_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HistoryCanForward_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HistoryClear_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HistoryForward_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_LoadPage_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, location)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_LoadFile_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, filename)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SelectAll_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SelectLine_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pos)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SelectWord_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pos)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SelectionToText_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetBorders_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, b)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetPage_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, source)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetRelatedFrame_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, frame)
ZEND_ARG_INFO(0, format)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetRelatedStatusBar_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, statusbar)
ZEND_ARG_INFO(0, index)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetStandardFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ToText_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_WriteCustomization_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cfg)
ZEND_ARG_INFO(0, path)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, parent)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, pos)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, style)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetInternalRepresentation_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AddFilter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, filter)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_ARG_INFO(0, sizes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AcceptsFocus_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Create_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, parent)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, pos)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, style)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_InitDialog_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Layout_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetFocus_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetFocusIgnoringChildren_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Show_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, show)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FindWindowById_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, parent)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FindWindow_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Enable_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, enable)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Disable_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Close_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, force)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetSizer_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, sizer)
ZEND_ARG_INFO(0, deleteOld)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetSizerAndFit_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, sizer)
ZEND_ARG_INFO(0, deleteOld)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetToolTip_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, tipString)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetWindowStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, style)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetWindowStyleFlag_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, style)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Update_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_UpdateWindowUI_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Validate_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_WarpPointer_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_WindowToClientSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_UnsetToolTip_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_UnreserveControlId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_TransferDataToWindow_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_TransferDataFromWindow_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ToggleWindowStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flag)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Thaw_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ShouldInheritColours_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetVirtualSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, width)
ZEND_ARG_INFO(0, height)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetValidator_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, validator)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetTransparent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, alpha)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetSizeHints_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, minW)
ZEND_ARG_INFO(0, minH)
ZEND_ARG_INFO(0, maxW)
ZEND_ARG_INFO(0, maxH)
ZEND_ARG_INFO(0, incW)
ZEND_ARG_INFO(0, incH)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_ARG_INFO(0, width)
ZEND_ARG_INFO(0, height)
ZEND_ARG_INFO(0, sizeFlags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScrollbar_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orientation)
ZEND_ARG_INFO(0, position)
ZEND_ARG_INFO(0, thumbSize)
ZEND_ARG_INFO(0, range)
ZEND_ARG_INFO(0, refresh)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScrollPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orientation)
ZEND_ARG_INFO(0, pos)
ZEND_ARG_INFO(0, refresh)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AcceptsFocusFromKeyboard_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AcceptsFocusRecursively_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AddChild_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, child)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AlwaysShowScrollbars_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, hflag)
ZEND_ARG_INFO(0, vflag)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CacheBestSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CanScroll_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CanSetTransparent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CaptureMouse_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Center_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CenterOnParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Centre_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, direction)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CentreOnParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, direction)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ClearBackground_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ClientToScreen_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pt)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ClientToWindowSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ConvertDialogToPixels_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pt)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ConvertPixelsToDialog_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pt)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DragAcceptFiles_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, accept)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DoUpdateWindowUI_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FindFocus_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FindWindowByLabel_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, label)
ZEND_ARG_INFO(0, parent)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FindWindowByName_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, parent)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Fit_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_FitInside_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Freeze_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetAutoLayout_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetBackgroundColour_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetBackgroundStyle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetBestSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetBestVirtualSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetBorder_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetCapture_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetCaret_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetCharHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetCharWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Destroy_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DestroyChildren_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetClientAreaOrigin_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetClientRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetClientSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetContainingSizer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetCursor_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetEffectiveMinSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetEventHandler_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetExtraStyle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetFont_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetForegroundColour_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetGrandParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetHandle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetHelpText_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetHelpTextAtPoint_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, point)
ZEND_ARG_INFO(0, origin)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetLabel_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMaxClientSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMaxHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMaxSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMaxWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMinClientSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMinHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMinSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetMinWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetName_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetNextSibling_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetPopupMenuSelectionFromUser_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, menu)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetPosition_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetPrevSibling_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScreenPosition_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScreenRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollPos_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orientation)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollRange_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orientation)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollThumb_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orientation)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetSizer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetTextExtent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, string)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetToolTip_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetToolTipText_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetUpdateClientRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetUpdateRegion_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetValidator_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetVirtualSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetWindowBorderSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetWindowStyle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetWindowStyleFlag_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetWindowVariant_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HandleAsNavigationKey_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HandleWindowEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasCapture_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasExtraStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, exFlag)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasFlag_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flag)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasFocus_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasMultiplePages_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasScrollbar_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HasTransparentBackground_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Hide_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_HitTest_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetLayoutDirection_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_InheritAttributes_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_InformFirstDirection_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, direction)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, availableOtherDir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_InvalidateBestSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsBeingDeleted_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsDoubleBuffered_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsEnabled_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsExposed_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_ARG_INFO(0, w)
ZEND_ARG_INFO(0, h)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsFrozen_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsRetained_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsScrollbarAlwaysShown_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsShown_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsShownOnScreen_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsThisEnabled_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsTopLevel_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_LineDown_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_LineUp_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Lower_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Move_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_MoveAfterInTabOrder_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, win)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_MoveBeforeInTabOrder_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, win)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Navigate_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_NavigateIn_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_NewControlId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PageDown_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PageUp_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PopupMenu_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, menu)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PostSizeEvent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PostSizeEventToParent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ProcessWindowEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ProcessWindowEventLocally_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PushEventHandler_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Raise_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Refresh_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, eraseBackground)
ZEND_ARG_INFO(0, rect)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_RefreshRect_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, rect)
ZEND_ARG_INFO(0, eraseBackground)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ReleaseMouse_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_RemoveChild_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, child)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_RemoveEventHandler_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Reparent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, newParent)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ScreenToClient_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pt)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ScrollLines_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, lines)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ScrollPages_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pages)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SendSizeEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SendSizeEventToParent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetAutoLayout_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, autoLayout)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetBackgroundColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, colour)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetBackgroundStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, style)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetCanFocus_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, canFocus)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetCaret_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, caret)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetClientSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, width)
ZEND_ARG_INFO(0, height)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetConstraints_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, constraints)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetContainingSizer_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, sizer)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetCursor_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, cursor)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetDropTarget_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, target)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetEventHandler_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetExtraStyle_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, exStyle)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetFocusFromKbd_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetFont_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, font)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetForegroundColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, colour)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetHelpText_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, helpText)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, winid)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetInitialSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetLabel_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, label)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetLayoutDirection_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetMaxClientSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetMaxSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetMinClientSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetMinSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetName_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetNextHandler_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetOwnBackgroundColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, colour)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetOwnFont_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, font)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetOwnForegroundColour_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, colour)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetPosition_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pt)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetPreviousHandler_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetThemeEnabled_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, enable)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetWindowVariant_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, variant)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Connect_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, lastId)
ZEND_ARG_INFO(0, eventType)
ZEND_ARG_INFO(0, function)
ZEND_ARG_INFO(0, userData)
ZEND_ARG_INFO(0, eventSink)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Disconnect_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, lastId)
ZEND_ARG_INFO(0, eventType)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AddPendingEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DeletePendingEvents_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetEvtHandlerEnabled_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetNextHandler_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetPreviousHandler_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsUnlinked_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ProcessEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ProcessEventLocally_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ProcessPendingEvents_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_QueueEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_RemoveFilter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, filter)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SafelyProcessEvent_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetEvtHandlerEnabled_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, enabled)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Unlink_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScrollRate_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, xstep)
ZEND_ARG_INFO(0, ystep)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScrollbars_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pixelsPerUnitX)
ZEND_ARG_INFO(0, pixelsPerUnitY)
ZEND_ARG_INFO(0, noUnitsX)
ZEND_ARG_INFO(0, noUnitsY)
ZEND_ARG_INFO(0, xPos)
ZEND_ARG_INFO(0, yPos)
ZEND_ARG_INFO(0, noRefresh)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetTargetRect_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, rect)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetTargetWindow_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, window)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_ShowScrollbars_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, horz)
ZEND_ARG_INFO(0, vert)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_StopAutoScrolling_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScrollPageSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_ARG_INFO(0, pageSize)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SetScale_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, xs)
ZEND_ARG_INFO(0, ys)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_Scroll_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_SendAutoScrollEvents_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, event)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_PrepareDC_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dc)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_IsAutoScrolling_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetViewStart_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetTargetWindow_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetTargetRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollPixelsPerUnit_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, xUnit)
ZEND_ARG_INFO(0, yUnit)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollPageSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScrollLines_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, orient)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScaleY_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_GetScaleX_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_EnableScrolling_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, xScrolling)
ZEND_ARG_INFO(0, yScrolling)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DoPrepareDC_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dc)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_DisableKeyboardScrolling_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CalcUnscrolledPosition_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_ARG_INFO(0, xx)
ZEND_ARG_INFO(0, yy)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_CalcScrolledPosition_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_ARG_INFO(0, xx)
ZEND_ARG_INFO(0, yy)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWindow_AdjustScrollbars_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlWindow_functions[] = {
PHP_ME(php_wxHtmlWindow, AppendToPage, php_wxHtmlWindow_AppendToPage_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, GetOpenedAnchor, php_wxHtmlWindow_GetOpenedAnchor_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, GetOpenedPage, php_wxHtmlWindow_GetOpenedPage_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, GetOpenedPageTitle, php_wxHtmlWindow_GetOpenedPageTitle_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, GetRelatedFrame, php_wxHtmlWindow_GetRelatedFrame_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, HistoryBack, php_wxHtmlWindow_HistoryBack_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, HistoryCanBack, php_wxHtmlWindow_HistoryCanBack_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, HistoryCanForward, php_wxHtmlWindow_HistoryCanForward_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, HistoryClear, php_wxHtmlWindow_HistoryClear_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, HistoryForward, php_wxHtmlWindow_HistoryForward_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, LoadPage, php_wxHtmlWindow_LoadPage_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, LoadFile, php_wxHtmlWindow_LoadFile_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SelectAll, php_wxHtmlWindow_SelectAll_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SelectLine, php_wxHtmlWindow_SelectLine_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SelectWord, php_wxHtmlWindow_SelectWord_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SelectionToText, php_wxHtmlWindow_SelectionToText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetBorders, php_wxHtmlWindow_SetBorders_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetPage, php_wxHtmlWindow_SetPage_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetRelatedFrame, php_wxHtmlWindow_SetRelatedFrame_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetRelatedStatusBar, php_wxHtmlWindow_SetRelatedStatusBar_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetStandardFonts, php_wxHtmlWindow_SetStandardFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, ToText, php_wxHtmlWindow_ToText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, WriteCustomization, php_wxHtmlWindow_WriteCustomization_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, __construct, php_wxHtmlWindow___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlWindow, GetInternalRepresentation, php_wxHtmlWindow_GetInternalRepresentation_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, AddFilter, php_wxHtmlWindow_AddFilter_arg_infos, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWindow, SetFonts, php_wxHtmlWindow_SetFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlWindow * php_wxHtmlWindow_fetch_object(zend_object *obj) {
return (zo_wxHtmlWindow *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlWindow, zo)
);
}
#define Z_wxHtmlWindow_P(zv) \
php_wxHtmlWindow_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlLinkEvent_entry;
extern zend_object_handlers wxphp_wxHtmlLinkEvent_object_handlers;
void php_wxHtmlLinkEvent_destruction_handler(zend_resource*);
class wxHtmlLinkEvent_php: public wxHtmlLinkEvent{
public:
wxHtmlLinkEvent_php(int id, const wxHtmlLinkInfo& linkinfo):wxHtmlLinkEvent(id, linkinfo){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlLinkEvent{
wxHtmlLinkEvent_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlLinkEvent;
void php_wxHtmlLinkEvent_free(void *object);
zend_object* php_wxHtmlLinkEvent_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetLinkInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, linkinfo)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetString_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, string)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetInt_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, intCommand)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetExtraLong_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, extraLong)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_IsSelection_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_IsChecked_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetString_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetSelection_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetInt_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetExtraLong_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetEventCategory_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetEventObject_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetEventType_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetSkipped_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetTimestamp_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_IsCommandEvent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_ResumePropagation_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, propagationLevel)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetEventObject_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, object)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetEventType_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, type)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_SetTimestamp_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, timeStamp)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_ShouldPropagate_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_Skip_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, skip)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_StopPropagation_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlLinkEvent_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlLinkEvent_functions[] = {
PHP_ME(php_wxHtmlLinkEvent, GetLinkInfo, php_wxHtmlLinkEvent_GetLinkInfo_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlLinkEvent, __construct, php_wxHtmlLinkEvent___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlLinkEvent * php_wxHtmlLinkEvent_fetch_object(zend_object *obj) {
return (zo_wxHtmlLinkEvent *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlLinkEvent, zo)
);
}
#define Z_wxHtmlLinkEvent_P(zv) \
php_wxHtmlLinkEvent_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlCellEvent_entry;
extern zend_object_handlers wxphp_wxHtmlCellEvent_object_handlers;
void php_wxHtmlCellEvent_destruction_handler(zend_resource*);
class wxHtmlCellEvent_php: public wxHtmlCellEvent{
public:
wxHtmlCellEvent_php(wxEventType commandType, int id, wxHtmlCell* cell, const wxPoint& point, const wxMouseEvent& ev):wxHtmlCellEvent(commandType, id, cell, point, ev){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlCellEvent{
wxHtmlCellEvent_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlCellEvent;
void php_wxHtmlCellEvent_free(void *object);
zend_object* php_wxHtmlCellEvent_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetCell_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetLinkClicked_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetPoint_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetLinkClicked_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, linkclicked)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, commandType)
ZEND_ARG_INFO(0, id)
ZEND_ARG_INFO(0, cell)
ZEND_ARG_INFO(0, point)
ZEND_ARG_INFO(0, ev)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetString_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, string)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetInt_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, intCommand)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetExtraLong_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, extraLong)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_IsSelection_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_IsChecked_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetString_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetSelection_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetInt_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetExtraLong_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetEventCategory_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetEventObject_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetEventType_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetId_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetSkipped_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetTimestamp_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_IsCommandEvent_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_ResumePropagation_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, propagationLevel)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetEventObject_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, object)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetEventType_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, type)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetId_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, id)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_SetTimestamp_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, timeStamp)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_ShouldPropagate_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_Skip_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, skip)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_StopPropagation_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlCellEvent_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlCellEvent_functions[] = {
PHP_ME(php_wxHtmlCellEvent, GetCell, php_wxHtmlCellEvent_GetCell_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCellEvent, GetLinkClicked, php_wxHtmlCellEvent_GetLinkClicked_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCellEvent, GetPoint, php_wxHtmlCellEvent_GetPoint_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCellEvent, SetLinkClicked, php_wxHtmlCellEvent_SetLinkClicked_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlCellEvent, __construct, php_wxHtmlCellEvent___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
static inline zo_wxHtmlCellEvent * php_wxHtmlCellEvent_fetch_object(zend_object *obj) {
return (zo_wxHtmlCellEvent *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlCellEvent, zo)
);
}
#define Z_wxHtmlCellEvent_P(zv) \
php_wxHtmlCellEvent_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlDCRenderer_entry;
extern zend_object_handlers wxphp_wxHtmlDCRenderer_object_handlers;
void php_wxHtmlDCRenderer_destruction_handler(zend_resource*);
class wxHtmlDCRenderer_php: public wxHtmlDCRenderer{
public:
wxHtmlDCRenderer_php():wxHtmlDCRenderer(){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlDCRenderer{
wxHtmlDCRenderer_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlDCRenderer;
void php_wxHtmlDCRenderer_free(void *object);
zend_object* php_wxHtmlDCRenderer_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_GetTotalHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_GetTotalWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_SetStandardFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_SetSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, width)
ZEND_ARG_INFO(0, height)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_SetHtmlText_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, html)
ZEND_ARG_INFO(0, basepath)
ZEND_ARG_INFO(0, isdir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_SetFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_ARG_INFO(0, sizes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_SetDC_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dc)
ZEND_ARG_INFO(0, pixel_scale)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlDCRenderer_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlDCRenderer_functions[] = {
PHP_ME(php_wxHtmlDCRenderer, GetTotalHeight, php_wxHtmlDCRenderer_GetTotalHeight_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, GetTotalWidth, php_wxHtmlDCRenderer_GetTotalWidth_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, __construct, php_wxHtmlDCRenderer___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlDCRenderer, SetStandardFonts, php_wxHtmlDCRenderer_SetStandardFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, SetSize, php_wxHtmlDCRenderer_SetSize_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, SetHtmlText, php_wxHtmlDCRenderer_SetHtmlText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, SetFonts, php_wxHtmlDCRenderer_SetFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlDCRenderer, SetDC, php_wxHtmlDCRenderer_SetDC_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlDCRenderer * php_wxHtmlDCRenderer_fetch_object(zend_object *obj) {
return (zo_wxHtmlDCRenderer *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlDCRenderer, zo)
);
}
#define Z_wxHtmlDCRenderer_P(zv) \
php_wxHtmlDCRenderer_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlEasyPrinting_entry;
extern zend_object_handlers wxphp_wxHtmlEasyPrinting_object_handlers;
void php_wxHtmlEasyPrinting_destruction_handler(zend_resource*);
class wxHtmlEasyPrinting_php: public wxHtmlEasyPrinting{
public:
wxHtmlEasyPrinting_php(const wxString& name="Printing", wxWindow* parentWindow=NULL):wxHtmlEasyPrinting(name, parentWindow){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlEasyPrinting{
wxHtmlEasyPrinting_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlEasyPrinting;
void php_wxHtmlEasyPrinting_free(void *object);
zend_object* php_wxHtmlEasyPrinting_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_GetName_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_GetPageSetupData_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_GetParentWindow_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_GetPrintData_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_PageSetup_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_PreviewFile_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, htmlfile)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_PreviewText_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, htmltext)
ZEND_ARG_INFO(0, basepath)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_PrintFile_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, htmlfile)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_PrintText_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, htmltext)
ZEND_ARG_INFO(0, basepath)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetFooter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, footer)
ZEND_ARG_INFO(0, pg)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetHeader_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, header)
ZEND_ARG_INFO(0, pg)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, parentWindow)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetStandardFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, size)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetParentWindow_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, window)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetName_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_SetFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_ARG_INFO(0, sizes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlEasyPrinting_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlEasyPrinting_functions[] = {
PHP_ME(php_wxHtmlEasyPrinting, GetName, php_wxHtmlEasyPrinting_GetName_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, GetPageSetupData, php_wxHtmlEasyPrinting_GetPageSetupData_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, GetParentWindow, php_wxHtmlEasyPrinting_GetParentWindow_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, GetPrintData, php_wxHtmlEasyPrinting_GetPrintData_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, PageSetup, php_wxHtmlEasyPrinting_PageSetup_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, PreviewFile, php_wxHtmlEasyPrinting_PreviewFile_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, PreviewText, php_wxHtmlEasyPrinting_PreviewText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, PrintFile, php_wxHtmlEasyPrinting_PrintFile_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, PrintText, php_wxHtmlEasyPrinting_PrintText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, SetFooter, php_wxHtmlEasyPrinting_SetFooter_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, SetHeader, php_wxHtmlEasyPrinting_SetHeader_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, __construct, php_wxHtmlEasyPrinting___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlEasyPrinting, SetStandardFonts, php_wxHtmlEasyPrinting_SetStandardFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, SetParentWindow, php_wxHtmlEasyPrinting_SetParentWindow_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, SetName, php_wxHtmlEasyPrinting_SetName_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlEasyPrinting, SetFonts, php_wxHtmlEasyPrinting_SetFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlEasyPrinting * php_wxHtmlEasyPrinting_fetch_object(zend_object *obj) {
return (zo_wxHtmlEasyPrinting *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlEasyPrinting, zo)
);
}
#define Z_wxHtmlEasyPrinting_P(zv) \
php_wxHtmlEasyPrinting_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlPrintout_entry;
extern zend_object_handlers wxphp_wxHtmlPrintout_object_handlers;
void php_wxHtmlPrintout_destruction_handler(zend_resource*);
class wxHtmlPrintout_php: public wxHtmlPrintout{
public:
wxHtmlPrintout_php(const wxString& title="Printout"):wxHtmlPrintout(title){}
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlPrintout{
wxHtmlPrintout_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlPrintout;
void php_wxHtmlPrintout_free(void *object);
zend_object* php_wxHtmlPrintout_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, title)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetMargins_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, top)
ZEND_ARG_INFO(0, bottom)
ZEND_ARG_INFO(0, left)
ZEND_ARG_INFO(0, right)
ZEND_ARG_INFO(0, spaces)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetHtmlText_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, html)
ZEND_ARG_INFO(0, basepath)
ZEND_ARG_INFO(0, isdir)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetHtmlFile_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, htmlfile)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetHeader_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, header)
ZEND_ARG_INFO(0, pg)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetFooter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, footer)
ZEND_ARG_INFO(0, pg)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_ARG_INFO(0, sizes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_AddFilter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, filter)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_FitThisSizeToPage_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, imageSize)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_FitThisSizeToPageMargins_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, imageSize)
ZEND_ARG_INFO(0, pageSetupData)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_FitThisSizeToPaper_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, imageSize)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetDC_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetLogicalPageMarginsRect_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pageSetupData)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetLogicalPageRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetLogicalPaperRect_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPPIPrinter_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_ARG_INFO(0, h)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPPIScreen_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_ARG_INFO(0, h)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPageInfo_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, minPage)
ZEND_ARG_INFO(0, maxPage)
ZEND_ARG_INFO(0, pageFrom)
ZEND_ARG_INFO(0, pageTo)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPageSizeMM_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_ARG_INFO(0, h)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPageSizePixels_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, w)
ZEND_ARG_INFO(0, h)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPaperRectPixels_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetPreview_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetTitle_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_HasPage_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pageNum)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_IsPreview_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_MapScreenSizeToDevice_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_MapScreenSizeToPage_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_MapScreenSizeToPageMargins_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, pageSetupData)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_MapScreenSizeToPaper_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_OffsetLogicalOrigin_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, xoff)
ZEND_ARG_INFO(0, yoff)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_SetLogicalOrigin_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_ARG_INFO(0, y)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlPrintout_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlPrintout_functions[] = {
PHP_ME(php_wxHtmlPrintout, __construct, php_wxHtmlPrintout___construct_arg_infos, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxHtmlPrintout, SetMargins, php_wxHtmlPrintout_SetMargins_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, SetHtmlText, php_wxHtmlPrintout_SetHtmlText_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, SetHtmlFile, php_wxHtmlPrintout_SetHtmlFile_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, SetHeader, php_wxHtmlPrintout_SetHeader_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, SetFooter, php_wxHtmlPrintout_SetFooter_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, SetFonts, php_wxHtmlPrintout_SetFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlPrintout, AddFilter, php_wxHtmlPrintout_AddFilter_arg_infos, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlPrintout * php_wxHtmlPrintout_fetch_object(zend_object *obj) {
return (zo_wxHtmlPrintout *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlPrintout, zo)
);
}
#define Z_wxHtmlPrintout_P(zv) \
php_wxHtmlPrintout_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlTagsModule_entry;
extern zend_object_handlers wxphp_wxHtmlTagsModule_object_handlers;
void php_wxHtmlTagsModule_destruction_handler(zend_resource*);
class wxHtmlTagsModule_php: public wxHtmlTagsModule{
public:
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlTagsModule{
wxHtmlTagsModule_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlTagsModule;
void php_wxHtmlTagsModule_free(void *object);
zend_object* php_wxHtmlTagsModule_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_FillHandlersTable_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, parser)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlTagsModule_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlTagsModule_functions[] = {
PHP_ME(php_wxHtmlTagsModule, FillHandlersTable, php_wxHtmlTagsModule_FillHandlersTable_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlTagsModule * php_wxHtmlTagsModule_fetch_object(zend_object *obj) {
return (zo_wxHtmlTagsModule *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlTagsModule, zo)
);
}
#define Z_wxHtmlTagsModule_P(zv) \
php_wxHtmlTagsModule_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlWinTagHandler_entry;
extern zend_object_handlers wxphp_wxHtmlWinTagHandler_object_handlers;
void php_wxHtmlWinTagHandler_destruction_handler(zend_resource*);
class wxHtmlWinTagHandler_php: public wxHtmlWinTagHandler{
public:
void InitProperties(){
properties = new void*[1];
properties[0] = &m_WParser;
}
void UninitProperties(){
delete[] properties;
}
void** properties;
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlWinTagHandler{
wxHtmlWinTagHandler_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlWinTagHandler;
void php_wxHtmlWinTagHandler_free(void *object);
zend_object* php_wxHtmlWinTagHandler_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler___construct_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, other)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_UnShare_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_UnRef_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_IsSameAs_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_Ref_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clone)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_GetClassInfo_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinTagHandler_IsKindOf_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, info)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlWinTagHandler_functions[] = {
PHP_FE_END
};
#endif
static inline zo_wxHtmlWinTagHandler * php_wxHtmlWinTagHandler_fetch_object(zend_object *obj) {
return (zo_wxHtmlWinTagHandler *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlWinTagHandler, zo)
);
}
#define Z_wxHtmlWinTagHandler_P(zv) \
php_wxHtmlWinTagHandler_fetch_object(Z_OBJ_P(zv))
extern zend_class_entry* php_wxHtmlWinParser_entry;
extern zend_object_handlers wxphp_wxHtmlWinParser_object_handlers;
void php_wxHtmlWinParser_destruction_handler(zend_resource*);
class wxHtmlWinParser_php: public wxHtmlWinParser{
public:
zval phpObj;
wxPHPObjectReferences references;
};
BEGIN_EXTERN_C()
typedef struct _zo_wxHtmlWinParser{
wxHtmlWinParser_php* native_object;
wxphp_object_type object_type;
int is_user_initialized;
zend_object zo;
} zo_wxHtmlWinParser;
void php_wxHtmlWinParser_free(void *object);
zend_object* php_wxHtmlWinParser_new(zend_class_entry *class_type);
END_EXTERN_C()
#ifdef WXPHP_INCLUDE_METHOD_TABLES
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_AddModule_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, module)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_CloseContainer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_CreateCurrentFont_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetActualColor_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetAlign_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetCharHeight_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetCharWidth_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetContainer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetDC_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontBold_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontFace_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontFixed_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontItalic_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontSize_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetFontUnderlined_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetLink_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_GetLinkColor_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetActualColor_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clr)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetAlign_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, a)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetContainer_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, c)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetDC_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, dc)
ZEND_ARG_INFO(0, pixel_scale)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_OpenContainer_arg_infos, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontBold_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontFace_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, face)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontFixed_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontItalic_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontSize_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, s)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFontUnderlined_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, x)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetFonts_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, normal_face)
ZEND_ARG_INFO(0, fixed_face)
ZEND_ARG_INFO(0, sizes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetLink_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, link)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(php_wxHtmlWinParser_SetLinkColor_arg_infos, 0, 0, 0)
ZEND_ARG_INFO(0, clr)
ZEND_END_ARG_INFO()
static zend_function_entry php_wxHtmlWinParser_functions[] = {
PHP_ME(php_wxHtmlWinParser, AddModule, php_wxHtmlWinParser_AddModule_arg_infos, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, CloseContainer, php_wxHtmlWinParser_CloseContainer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, CreateCurrentFont, php_wxHtmlWinParser_CreateCurrentFont_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetActualColor, php_wxHtmlWinParser_GetActualColor_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetAlign, php_wxHtmlWinParser_GetAlign_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetCharHeight, php_wxHtmlWinParser_GetCharHeight_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetCharWidth, php_wxHtmlWinParser_GetCharWidth_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetContainer, php_wxHtmlWinParser_GetContainer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetDC, php_wxHtmlWinParser_GetDC_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontBold, php_wxHtmlWinParser_GetFontBold_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontFace, php_wxHtmlWinParser_GetFontFace_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontFixed, php_wxHtmlWinParser_GetFontFixed_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontItalic, php_wxHtmlWinParser_GetFontItalic_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontSize, php_wxHtmlWinParser_GetFontSize_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetFontUnderlined, php_wxHtmlWinParser_GetFontUnderlined_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetLink, php_wxHtmlWinParser_GetLink_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, GetLinkColor, php_wxHtmlWinParser_GetLinkColor_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetActualColor, php_wxHtmlWinParser_SetActualColor_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetAlign, php_wxHtmlWinParser_SetAlign_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetContainer, php_wxHtmlWinParser_SetContainer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetDC, php_wxHtmlWinParser_SetDC_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, OpenContainer, php_wxHtmlWinParser_OpenContainer_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontBold, php_wxHtmlWinParser_SetFontBold_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontFace, php_wxHtmlWinParser_SetFontFace_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontFixed, php_wxHtmlWinParser_SetFontFixed_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontItalic, php_wxHtmlWinParser_SetFontItalic_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontSize, php_wxHtmlWinParser_SetFontSize_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFontUnderlined, php_wxHtmlWinParser_SetFontUnderlined_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetFonts, php_wxHtmlWinParser_SetFonts_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetLink, php_wxHtmlWinParser_SetLink_arg_infos, ZEND_ACC_PUBLIC)
PHP_ME(php_wxHtmlWinParser, SetLinkColor, php_wxHtmlWinParser_SetLinkColor_arg_infos, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
static inline zo_wxHtmlWinParser * php_wxHtmlWinParser_fetch_object(zend_object *obj) {
return (zo_wxHtmlWinParser *)(
(char *)(obj) - XtOffsetOf(zo_wxHtmlWinParser, zo)
);
}
#define Z_wxHtmlWinParser_P(zv) \
php_wxHtmlWinParser_fetch_object(Z_OBJ_P(zv))
#endif //WXPHP_HTML_H_GUARD
|
e3478ccaea0d998cbffd12f2564d6c12b6f86ed4
|
c1c5a8dc79cacf3b419bad77881213c5db2f80c3
|
/UVa/C++/374.cpp
|
9fdf6d90ad1237675790cc7a2c37649b895eb943
|
[] |
no_license
|
EoinDavey/Competitive
|
7ff8b6b6225814ac60c3ace659bb63190eb52420
|
b2b6909b93f5c073b684477f8a4b06dac22ec678
|
refs/heads/master
| 2023-01-08T00:06:19.076941
| 2022-12-26T14:00:31
| 2022-12-26T14:00:31
| 67,259,478
| 17
| 1
| null | 2022-01-19T18:17:59
| 2016-09-02T22:46:26
|
C++
|
UTF-8
|
C++
| false
| false
| 680
|
cpp
|
374.cpp
|
#include <stdio.h>
#include <iostream>
#include <string>
#include <sstream>
#include <cmath>
#include <climits>
#include <stdlib.h>
#include <vector>
#include <string.h>
#include <stack>
#include <algorithm>
#include <queue>
#include <stdint.h>
using namespace std;
int main(){
long long int B,P,M;
while(cin >> B >> P >> M){
if(M==1||B==0){
cout << 0 << endl;
continue;
}
if(P==0){
cout << 1%M << endl;
continue;
}
if(P==1){
cout << B%M << endl;
continue;
}
int res = 1;
int base = B%M;
while(P>0LL){
if(P%2LL==1LL){
res = (res*base) % M;
}
P = (P >> 1LL);
base = (base * base) % M;
}
cout << res << endl;
}
return 0;
}
|
d02404184753380aa9b4c9a7b290442fe4ae8f84
|
06b39f0bac43504a69c3c2e09c865ced75bef5fa
|
/Project to Debug/debugExerciseProject/Debugging Exercise/Zergling.h
|
78d9c725a2041b7af363bbd8e26bc9829537c64a
|
[] |
no_license
|
EthanSewall/CPP-assessment
|
0689106351976bf01ebf0de2f40bc036bf79419f
|
b6007b23397c6960f74b8c1cb18aee381f49f919
|
refs/heads/main
| 2023-01-27T16:05:12.453450
| 2020-12-10T23:42:26
| 2020-12-10T23:42:26
| 314,660,473
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 164
|
h
|
Zergling.h
|
#pragma once
class Zergling
{
public:
Zergling();
~Zergling();
int health = 10;
int attack();
void takeDamage(int damage);
bool isAlive(Zergling ling);
};
|
864ab896dc1cf4e186c96dc6cbff8878c12e219e
|
74362e40264edb43ac0383b5668ecee84839a7a7
|
/cpp/lifegame_sdl/model.hpp
|
4de1d165423be9e78c0a22cf1d5673a678ebf0a0
|
[] |
no_license
|
arch-jslin/mysandbox
|
96625e0fcf156098a9ab9eb44a46b64becaf0bd5
|
ab93dd2d695e5712637d2821497226847ca3d1af
|
refs/heads/master
| 2021-03-13T00:11:15.419018
| 2020-06-20T15:00:37
| 2020-06-20T15:00:37
| 670,355
| 3
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,585
|
hpp
|
model.hpp
|
#ifndef _LIFEGAME_MODEL_
#define _LIFEGAME_MODEL_
template<typename T>
inline int neighbor_count(T old, size_t const& y, size_t const& x)
{
int count = (old[y-1][x-1] + old[y-1][x] + old[y-1][x+1]) +
(old[y][x-1] + old[y][x+1]) +
(old[y+1][x-1] + old[y+1][x] + old[y+1][x+1]);
return count;
}
//int rule1[9] = {0, 0, 1, 1, 0, 0, 0, 0, 0};
//int rule2[9] = {0, 0, 0, 1, 0, 0, 0, 0, 0};
inline int ruleset(int const& now, int const& n)
{
//return now > 0 ? rule1[n] : rule2[n];
return (((now << 2) + 8) >> n) & 1;
}
template<typename T, size_t W, size_t H>
void wrap_padding(T (&old)[H][W])
{
//side wrapping
for( size_t x = 2; x < W-2; ++x ) {
old[H-1][x] = old[ 1 ][x];
old[ 0 ][x] = old[H-2][x];
}
for( size_t y = 2; y < H-2; ++y ) {
old[y][W-1] = old[y][ 1 ];
old[y][ 0 ] = old[y][W-2];
}
//and corner wrapping
old[1][W-1] = old[H-1][ 1 ] = old[H-1][W-1] = old[ 1 ][ 1 ];
old[1][ 0 ] = old[H-1][ 0 ] = old[H-1][W-2] = old[ 1 ][W-2];
old[0][ 1 ] = old[ 0 ][W-1] = old[H-2][W-1] = old[H-2][ 1 ];
old[0][ 0 ] = old[ 0] [W-2] = old[H-2][ 0 ] = old[H-2][W-2];
}
void wrap_padding(char** old, size_t const& W, size_t const& H)
{
//side wrapping
for ( size_t x = 2; x <= W-1; ++x ) {
old[H+1][x] = old[1][x];
old[ 0 ][x] = old[H][x];
}
for ( size_t y = 2; y <= H-1; ++y ) {
old[y][W+1] = old[y][1];
old[y][ 0 ] = old[y][W];
}
//and corner wrapping
old[1][W+1] = old[H+1][1] = old[H+1][W+1] = old[1][1];
old[1][0] = old[H+1][0] = old[H+1][W] = old[1][W];
old[0][1] = old[0][W+1] = old[H][W+1] = old[H][1];
old[0][0] = old[0][W] = old[H][0] = old[H][W];
}
template<typename T, size_t W, size_t H>
void grid_iteration(T (&old_grid)[H][W], T (&new_grid)[H][W])
{
wrap_padding(old_grid);
for( size_t y = 1; y < H-1; ++y )
for( size_t x = 1; x < W-1; ++x )
//new_grid[y][x] = ruleset( old_grid[y][x], neighbor_count(old_grid, y, x) );
new_grid[y][x] = ruleset( old_grid[y][x], neighbor_count(old_grid, y, x) );
}
void grid_iteration(char** old_grid, char** new_grid, size_t const& W, size_t const& H)
{
wrap_padding(old_grid, W, H);
for( size_t y = 1; y <= H; ++y )
for( size_t x = 1; x <= W; ++x )
//new_grid[y][x] = ruleset( old_grid[y][x], neighbor_count(old_grid, y, x) );
new_grid[y][x] = ruleset( old_grid[y][x], neighbor_count(old_grid, y, x) );
}
#endif //_LIFEGAME_MODEL_
|
b2dac923eee5343ffff53f7c6404785986bfd48f
|
a3d6556180e74af7b555f8d47d3fea55b94bcbda
|
/chrome/browser/policy/test/accessibility_policy_browsertest.cc
|
bc3bcf8bd72fafb63128999643e528ec85f78d5d
|
[
"BSD-3-Clause"
] |
permissive
|
chromium/chromium
|
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
|
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
|
refs/heads/main
| 2023-08-24T00:35:12.585945
| 2023-08-23T22:01:11
| 2023-08-23T22:01:11
| 120,360,765
| 17,408
| 7,102
|
BSD-3-Clause
| 2023-09-10T23:44:27
| 2018-02-05T20:55:32
| null |
UTF-8
|
C++
| false
| false
| 21,549
|
cc
|
accessibility_policy_browsertest.cc
|
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/constants/ash_pref_names.h"
#include "build/build_config.h"
#include "chrome/browser/ash/accessibility/accessibility_manager.h"
#include "chrome/browser/ash/accessibility/magnification_manager.h"
#include "chrome/browser/ash/accessibility/magnifier_type.h"
#include "chrome/browser/policy/policy_test_utils.h"
#include "chrome/browser/ui/ash/keyboard/chrome_keyboard_controller_client.h"
#include "chrome/browser/ui/browser.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_test.h"
namespace policy {
using ::ash::AccessibilityManager;
using ::ash::MagnificationManager;
using ::ash::MagnifierType;
namespace {
void SetEnableFlag(const keyboard::KeyboardEnableFlag& flag) {
auto* keyboard_client = ChromeKeyboardControllerClient::Get();
keyboard_client->SetEnableFlag(flag);
}
void ClearEnableFlag(const keyboard::KeyboardEnableFlag& flag) {
auto* keyboard_client = ChromeKeyboardControllerClient::Get();
keyboard_client->ClearEnableFlag(flag);
}
} // namespace
class AccessibilityPolicyTest : public PolicyTest {};
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, LargeCursorEnabled) {
// Verifies that the large cursor accessibility feature can be controlled
// through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Manually enable the large cursor.
accessibility_manager->EnableLargeCursor(true);
EXPECT_TRUE(accessibility_manager->IsLargeCursorEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kLargeCursorEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsLargeCursorEnabled());
// Verify that the large cursor cannot be enabled manually anymore.
accessibility_manager->EnableLargeCursor(true);
EXPECT_FALSE(accessibility_manager->IsLargeCursorEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, SpokenFeedbackEnabled) {
// Verifies that the spoken feedback accessibility feature can be controlled
// through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Manually enable spoken feedback.
accessibility_manager->EnableSpokenFeedback(true);
EXPECT_TRUE(accessibility_manager->IsSpokenFeedbackEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kSpokenFeedbackEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsSpokenFeedbackEnabled());
// Verify that spoken feedback cannot be enabled manually anymore.
accessibility_manager->EnableSpokenFeedback(true);
EXPECT_FALSE(accessibility_manager->IsSpokenFeedbackEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, HighContrastEnabled) {
// Verifies that the high contrast mode accessibility feature can be
// controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Manually enable high contrast mode.
accessibility_manager->EnableHighContrast(true);
EXPECT_TRUE(accessibility_manager->IsHighContrastEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kHighContrastEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsHighContrastEnabled());
// Verify that high contrast mode cannot be enabled manually anymore.
accessibility_manager->EnableHighContrast(true);
EXPECT_FALSE(accessibility_manager->IsHighContrastEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, ScreenMagnifierTypeNone) {
// Verifies that the screen magnifier can be disabled through policy.
MagnificationManager* magnification_manager = MagnificationManager::Get();
// Manually enable the full-screen magnifier.
magnification_manager->SetMagnifierEnabled(true);
EXPECT_TRUE(magnification_manager->IsMagnifierEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kScreenMagnifierType, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(0), nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(magnification_manager->IsMagnifierEnabled());
// Verify that the screen magnifier cannot be enabled manually anymore.
magnification_manager->SetMagnifierEnabled(true);
EXPECT_FALSE(magnification_manager->IsMagnifierEnabled());
// Verify that the docked magnifier cannot be enabled manually anymore.
magnification_manager->SetDockedMagnifierEnabled(true);
EXPECT_FALSE(magnification_manager->IsDockedMagnifierEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, ScreenMagnifierTypeFull) {
// Verifies that the full-screen magnifier can be enabled through policy.
MagnificationManager* magnification_manager = MagnificationManager::Get();
// Verify that the screen magnifier is initially disabled.
EXPECT_FALSE(magnification_manager->IsMagnifierEnabled());
// Verify that policy can enable the full-screen magnifier.
PolicyMap policies;
policies.Set(key::kScreenMagnifierType, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD,
base::Value(static_cast<int>(MagnifierType::kFull)), nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(magnification_manager->IsMagnifierEnabled());
// Verify that the screen magnifier cannot be disabled manually anymore.
magnification_manager->SetMagnifierEnabled(false);
EXPECT_TRUE(magnification_manager->IsMagnifierEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, ScreenMagnifierTypeDocked) {
// Verifies that the docked magnifier accessibility feature can be
// controlled through policy.
MagnificationManager* magnification_manager = MagnificationManager::Get();
// Verify that the docked magnifier is initially disabled
EXPECT_FALSE(magnification_manager->IsDockedMagnifierEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kScreenMagnifierType, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD,
base::Value(static_cast<int>(MagnifierType::kDocked)), nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(magnification_manager->IsDockedMagnifierEnabled());
// Verify that the docked magnifier cannot be disabled manually anymore.
magnification_manager->SetDockedMagnifierEnabled(false);
EXPECT_TRUE(magnification_manager->IsDockedMagnifierEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest,
AccessibilityVirtualKeyboardEnabled) {
// Verifies that the on-screen keyboard accessibility feature can be
// controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Manually enable the on-screen keyboard.
accessibility_manager->EnableVirtualKeyboard(true);
EXPECT_TRUE(accessibility_manager->IsVirtualKeyboardEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kVirtualKeyboardEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsVirtualKeyboardEnabled());
// Verify that the on-screen keyboard cannot be enabled manually anymore.
accessibility_manager->EnableVirtualKeyboard(true);
EXPECT_FALSE(accessibility_manager->IsVirtualKeyboardEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, StickyKeysEnabled) {
// Verifies that the sticky keys accessibility feature can be
// controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Verify that the sticky keys is initially disabled
EXPECT_FALSE(accessibility_manager->IsStickyKeysEnabled());
// Manually enable the sticky keys.
accessibility_manager->EnableStickyKeys(true);
EXPECT_TRUE(accessibility_manager->IsStickyKeysEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kStickyKeysEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsStickyKeysEnabled());
// Verify that the sticky keys cannot be enabled manually anymore.
accessibility_manager->EnableStickyKeys(true);
EXPECT_FALSE(accessibility_manager->IsStickyKeysEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, VirtualKeyboardEnabled) {
auto* keyboard_client = ChromeKeyboardControllerClient::Get();
ASSERT_TRUE(keyboard_client);
// Verify keyboard disabled by default.
EXPECT_FALSE(keyboard_client->is_keyboard_enabled());
// Verify keyboard can be toggled by default.
SetEnableFlag(keyboard::KeyboardEnableFlag::kTouchEnabled);
EXPECT_TRUE(keyboard_client->is_keyboard_enabled());
ClearEnableFlag(keyboard::KeyboardEnableFlag::kTouchEnabled);
EXPECT_FALSE(keyboard_client->is_keyboard_enabled());
// Verify enabling the policy takes effect immediately and that that user
// cannot disable the keyboard..
PolicyMap policies;
policies.Set(key::kTouchVirtualKeyboardEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(true),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(keyboard_client->is_keyboard_enabled());
ClearEnableFlag(keyboard::KeyboardEnableFlag::kTouchEnabled);
EXPECT_TRUE(keyboard_client->is_keyboard_enabled());
// Verify that disabling the policy takes effect immediately and that the user
// cannot enable the keyboard.
policies.Set(key::kTouchVirtualKeyboardEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(keyboard_client->is_keyboard_enabled());
SetEnableFlag(keyboard::KeyboardEnableFlag::kTouchEnabled);
EXPECT_FALSE(keyboard_client->is_keyboard_enabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, SelectToSpeakEnabled) {
// Verifies that the select to speak accessibility feature can be
// controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Verify that the select to speak is initially disabled
EXPECT_FALSE(accessibility_manager->IsSelectToSpeakEnabled());
// Manually enable the select to speak.
accessibility_manager->SetSelectToSpeakEnabled(true);
EXPECT_TRUE(accessibility_manager->IsSelectToSpeakEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kSelectToSpeakEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsSelectToSpeakEnabled());
// Verify that the select to speak cannot be enabled manually anymore.
accessibility_manager->SetSelectToSpeakEnabled(true);
EXPECT_FALSE(accessibility_manager->IsSelectToSpeakEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, DictationEnabled) {
// Verifies that the dictation accessibility feature can be
// controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
PrefService* prefs = browser()->profile()->GetPrefs();
// Verify that the dictation is initially disabled
EXPECT_FALSE(accessibility_manager->IsDictationEnabled());
// Manually enable the dictation.
prefs->SetBoolean(ash::prefs::kAccessibilityDictationEnabled, true);
EXPECT_TRUE(accessibility_manager->IsDictationEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kDictationEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsDictationEnabled());
// Verify that the dictation cannot be enabled manually anymore.
prefs->SetBoolean(ash::prefs::kAccessibilityDictationEnabled, true);
EXPECT_FALSE(accessibility_manager->IsDictationEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, KeyboardFocusHighlightEnabled) {
// Verifies that the keyboard focus highlight objects accessibility feature
// can be controlled through policy.
AccessibilityManager* const accessibility_manager =
AccessibilityManager::Get();
// Verify that the keyboard focus highlight objects is initially disabled.
EXPECT_FALSE(accessibility_manager->IsFocusHighlightEnabled());
// Manually enable the keyboard focus highlight objects.
accessibility_manager->SetFocusHighlightEnabled(true);
EXPECT_TRUE(accessibility_manager->IsFocusHighlightEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kKeyboardFocusHighlightEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsFocusHighlightEnabled());
// Verify that the keyboard focus highlight objects cannot be enabled manually
// anymore.
accessibility_manager->SetFocusHighlightEnabled(true);
EXPECT_FALSE(accessibility_manager->IsFocusHighlightEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, CursorHighlightEnabled) {
// Verifies that the cursor highlight accessibility feature accessibility
// feature can be controlled through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Verify that the cursor highlight is initially disabled.
EXPECT_FALSE(accessibility_manager->IsCursorHighlightEnabled());
// Manually enable the cursor highlight.
accessibility_manager->SetCursorHighlightEnabled(true);
EXPECT_TRUE(accessibility_manager->IsCursorHighlightEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kCursorHighlightEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsCursorHighlightEnabled());
// Verify that the cursor highlight cannot be enabled manually anymore.
accessibility_manager->SetCursorHighlightEnabled(true);
EXPECT_FALSE(accessibility_manager->IsCursorHighlightEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, CaretHighlightEnabled) {
// Verifies that the caret highlight accessibility feature can be controlled
// through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
// Verify that the caret highlight is initially disabled.
EXPECT_FALSE(accessibility_manager->IsCaretHighlightEnabled());
// Manually enable the caret highlight.
accessibility_manager->SetCaretHighlightEnabled(true);
EXPECT_TRUE(accessibility_manager->IsCaretHighlightEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kCaretHighlightEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsCaretHighlightEnabled());
// Verify that the caret highlight cannot be enabled manually anymore.
accessibility_manager->SetCaretHighlightEnabled(true);
EXPECT_FALSE(accessibility_manager->IsCaretHighlightEnabled());
policies.Set(key::kCaretHighlightEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(true),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(accessibility_manager->IsCaretHighlightEnabled());
// Verify that the caret highlight cannot be disabled manually anymore.
accessibility_manager->SetCaretHighlightEnabled(false);
EXPECT_TRUE(accessibility_manager->IsCaretHighlightEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, MonoAudioEnabled) {
// Verifies that the mono audio accessibility feature can be controlled
// through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
accessibility_manager->EnableMonoAudio(false);
// Verify that the mono audio is initially disabled.
EXPECT_FALSE(accessibility_manager->IsMonoAudioEnabled());
// Manually enable the mono audio.
accessibility_manager->EnableMonoAudio(true);
EXPECT_TRUE(accessibility_manager->IsMonoAudioEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kMonoAudioEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsMonoAudioEnabled());
// Verify that the mono audio cannot be enabled manually anymore.
accessibility_manager->EnableMonoAudio(true);
EXPECT_FALSE(accessibility_manager->IsMonoAudioEnabled());
policies.Set(key::kMonoAudioEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(true),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(accessibility_manager->IsMonoAudioEnabled());
// Verify that the mono audio cannot be disabled manually anymore.
accessibility_manager->EnableMonoAudio(false);
EXPECT_TRUE(accessibility_manager->IsMonoAudioEnabled());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, AutoclickEnabled) {
// Verifies that the autoclick accessibility feature can be controlled through
// policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
accessibility_manager->EnableAutoclick(false);
// Verify that the autoclick is initially disabled.
EXPECT_FALSE(accessibility_manager->IsAutoclickEnabled());
// Manually enable the autoclick.
accessibility_manager->EnableAutoclick(true);
EXPECT_TRUE(accessibility_manager->IsAutoclickEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kAutoclickEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsAutoclickEnabled());
// Verify that the autoclick cannot be enabled manually anymore.
accessibility_manager->EnableAutoclick(true);
EXPECT_FALSE(accessibility_manager->IsAutoclickEnabled());
policies.Set(key::kAutoclickEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(true),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(accessibility_manager->IsAutoclickEnabled());
// Verify that the autoclick cannot be disabled manually anymore.
accessibility_manager->EnableAutoclick(false);
EXPECT_TRUE(accessibility_manager->IsAutoclickEnabled());
// Verify that no confirmation dialog has been shown.
EXPECT_FALSE(accessibility_manager->IsDisableAutoclickDialogVisibleForTest());
}
IN_PROC_BROWSER_TEST_F(AccessibilityPolicyTest, ColorCorrectionEnabled) {
// Verifies that the color correction accessibility feature can be controlled
// through policy.
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
accessibility_manager->SetColorCorrectionEnabled(false);
// Verify that color correction is initially disabled.
EXPECT_FALSE(accessibility_manager->IsColorCorrectionEnabled());
// Manually enable color correction.
accessibility_manager->SetColorCorrectionEnabled(true);
EXPECT_TRUE(accessibility_manager->IsColorCorrectionEnabled());
// Verify that policy overrides the manual setting.
PolicyMap policies;
policies.Set(key::kColorCorrectionEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(false),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_FALSE(accessibility_manager->IsColorCorrectionEnabled());
// Verify that color correction cannot be enabled manually anymore.
accessibility_manager->SetColorCorrectionEnabled(true);
EXPECT_FALSE(accessibility_manager->IsColorCorrectionEnabled());
policies.Set(key::kColorCorrectionEnabled, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, base::Value(true),
nullptr);
UpdateProviderPolicy(policies);
EXPECT_TRUE(accessibility_manager->IsColorCorrectionEnabled());
// Verify that color correction cannot be disabled manually anymore.
accessibility_manager->SetColorCorrectionEnabled(false);
EXPECT_TRUE(accessibility_manager->IsColorCorrectionEnabled());
}
} // namespace policy
|
5a3a5c7fc0fabb62eeba84ee8536d2e934acef32
|
d40deaab4681f6dd0a6a4d919a5a8381397b1a0b
|
/Cses_Introductory/permutations.cpp
|
5fc2ce26ef7d25a9b8ffbf460e5b30c377321805
|
[] |
no_license
|
harrdy272/CSES-Problem-Solutions
|
13be95158e54b90f5984d572ba68e393d6872626
|
94d82457bb70bdaee04c23c2b3ae0ee21f863eb4
|
refs/heads/master
| 2023-01-24T08:14:37.767796
| 2020-12-06T10:31:14
| 2020-12-06T10:31:14
| 315,845,002
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 550
|
cpp
|
permutations.cpp
|
#include<bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin>>n;
if(n==1){
cout<<1<<endl;
}
else if(n==2 || n==3){
cout<<"NO SOLUTION"<<endl;
}
else{
int arr[n];
int i=0,j=2,k=1;
while(j<=n){
arr[i]=j;
i++;
j=j+2;
}
while(k<=n){
arr[i]=k;
i++;
k=k+2;
}
for(int x: arr){
cout<<x<<" ";
}
}
}
|
8e0617efee39f5d0015b357897ebf744200c9672
|
67d83d35a19f512279ea38bd83ea538a1dde5854
|
/LBM-cpu/src/lbm.cpp
|
0fd7f6afa220e91620774667e1f1069192e3a719
|
[] |
no_license
|
ryan42210/LBM_solver
|
9551862f20bade8f1b47ff55abf2b3912856aa00
|
0316af581a50cc4c8c768e368011bad4701dba3a
|
refs/heads/main
| 2023-08-03T22:20:25.761853
| 2021-09-18T10:54:38
| 2021-09-18T10:54:38
| 407,834,747
| 2
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 19,370
|
cpp
|
lbm.cpp
|
//
// Created by ryan on 2021/8/26.
//
// OpenGL specific headers
#include <GLFW/glfw3.h>
// the usual gang of C++ headers
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <ctime> // clock_t, clock(), CLOCKS_PER_SEC
#include <omp.h>
// problem parameters
const int N = 128; // number of node points along X and Y (cavity length in lattice units)
const double REYNOLDS_NUMBER = 1E6; // REYNOLDS_NUMBER = INIT_V * N / kinematicViscosity
// don't change these unless you know what you are doing
const int Q = 9; // number of discrete velocity aections used
const double DENSITY = 2.7; // fluid density in lattice units
const double INIT_V = 0.05; // lid velocity in lattice units
// calculate pixel colors for the current graphics window, defined by the
// minimum and maximum X and Y coordinates
void showGraphics(int WIDTH, int HEIGHT, double xmin, double xmax, double ymin, double ymax, const double *ux,
const double *uy) {
//--------------------------------
// OpenGL initialization stuff
//--------------------------------
// select background color to be white
// R = 1, G = 1, B = 1, alpha = 0
glClearColor(1.0, 1.0, 1.0, 0.0);
// initialize viewing values
glMatrixMode(GL_PROJECTION);
// replace current matrix with the identity matrix
glLoadIdentity();
// set clipping planes in the X-Y-Z coordinate system
glOrtho(xmin, xmax, ymin, ymax, -1.0, 1.0);
// clear all pixels
glClear(GL_COLOR_BUFFER_BIT);
// 2D array size is identical to the window size in pixels
const int NX = WIDTH;
const int NY = HEIGHT;
// calculate pixel size (rectangle to be rendered)
float dx = (xmax - xmin) / NX;
float dy = (ymax - ymin) / NY;
// buffer used to store what we want to plot
float *scalar = new float[WIDTH * HEIGHT];
// scale factors
float min_curl = -0.02;
float max_curl = 0.02;
// loop to fill the buffer that OpenGL will render
// and assign an appropriate color to that pixel
for (int i = 0; i < NX - 1; i++) {
for (int j = 0; j < NY - 1; j++) {
// map pixel coordinate (i,j) to LBM lattice coordinates (x,y)
int xin = i * N / NX;
int yin = j * N / NY;
// get locations of 4 data points inside which this pixel lies
int idx00 = (xin) * N + (yin); // point (0,0)
int idx10 = (xin + 1) * N + (yin); // point (1,0)
int idx01 = (xin) * N + (yin + 1); // point (0,1)
int idx11 = (xin + 1) * N + (yin + 1); // point (1,1)
// additional neighbors for calculating derivatives
//
// 0p 1p
// | |
// | |
// m1-----01------11----p1
// | |
// | |
// | |
// m0-----00------10----p0
// | |
// | |
// 0m 1m
//
int idxm0 = (xin > 0) ? (xin - 1) * N + (yin) : idx00;
int idx0m = (yin > 0) ? (xin) * N + (yin - 1) : idx00;
int idx1m = (yin > 0) ? (xin + 1) * N + (yin - 1) : idx10;
int idxp0 = (xin < N - 1) ? (xin + 2) * N + (yin) : idx10;
int idxp1 = (xin < N - 1) ? (xin + 2) * N + (yin + 1) : idx11;
int idx1p = (yin < N - 1) ? (xin + 1) * N + (yin + 2) : idx11;
int idx0p = (yin < N - 1) ? (xin) * N + (yin + 2) : idx01;
int idxm1 = (xin > 0) ? (xin - 1) * N + (yin + 1) : idx01;
// calculate the normalized coordinates of the pixel
float xfl = (float) i * (float) N / (float) NX;
float yfl = (float) j * (float) N / (float) NY;
float x = xfl - (float) xin;
float y = yfl - (float) yin;
// calculate "curl" of the velocity field at the 4 data points
float dVdx_00 = uy[idx10] - uy[idxm0];
float dVdx_10 = uy[idxp0] - uy[idx00];
float dVdx_01 = uy[idx11] - uy[idxm1];
float dVdx_11 = uy[idxp1] - uy[idx01];
float dUdy_00 = ux[idx01] - ux[idx0m];
float dUdy_10 = ux[idx11] - ux[idx1m];
float dUdy_01 = ux[idx0p] - ux[idx00];
float dUdy_11 = ux[idx1p] - ux[idx10];
float curl_z_00 = dVdx_00 - dUdy_00;
float curl_z_10 = dVdx_10 - dUdy_10;
float curl_z_01 = dVdx_01 - dUdy_01;
float curl_z_11 = dVdx_11 - dUdy_11;
// bilinear interpolation
float ux_interp =
ux[idx00] * (1.0 - x) * (1.0 - y) + ux[idx10] * x * (1.0 - y) + ux[idx01] * (1.0 - x) * y +
ux[idx11] * x * y;
float uy_interp =
uy[idx00] * (1.0 - x) * (1.0 - y) + uy[idx10] * x * (1.0 - y) + uy[idx01] * (1.0 - x) * y +
uy[idx11] * x * y;
float curl_z_in =
curl_z_00 * (1.0 - x) * (1.0 - y) + curl_z_10 * x * (1.0 - y) + curl_z_01 * (1.0 - x) * y +
curl_z_11 * x * y;
// this is the value we want to plot at this pixel (should be in the range [0-1])
// scalar[i*WIDTH + j] = pow((ux_interp*ux_interp + uy_interp*uy_interp), 0.5) / INIT_V; // normalized velocity magnitude
scalar[i * WIDTH + j] =
(max_curl - curl_z_in) / (max_curl - min_curl); // normalized vorticity
float x_actual = xmin + i * dx; // actual x coordinate
float y_actual = ymin + j * dy; // actual y coordinate
float VAL = scalar[i * WIDTH + j];
float R, G, B;
if (VAL <= 0.5) {
// yellow to blue transition
R = 2 * VAL;
G = 2 * VAL;
B = 1 - 2 * VAL;
} else {
// red to yellow transition
R = 1;
G = 2 - 2 * VAL;
B = 0;
}
// rendering the pixel with the appropriate color
glColor3f(R, G, B);
glRectf(x_actual, y_actual, x_actual + dx, y_actual + dy);
}
}
// free memory
delete[] scalar;
}
// D2Q9 parameters
// populate D3Q19 parameters and copy them to __constant__ memory on the GPU
void D3Q9(double *ex, double *ey, int *oppos, double *wt) {
// D2Q9 model base velocities and weights
ex[0] = 0.0;
ey[0] = 0.0;
wt[0] = 4.0 / 9.0;
ex[1] = 1.0;
ey[1] = 0.0;
wt[1] = 1.0 / 9.0;
ex[2] = 0.0;
ey[2] = 1.0;
wt[2] = 1.0 / 9.0;
ex[3] = -1.0;
ey[3] = 0.0;
wt[3] = 1.0 / 9.0;
ex[4] = 0.0;
ey[4] = -1.0;
wt[4] = 1.0 / 9.0;
ex[5] = 1.0;
ey[5] = 1.0;
wt[5] = 1.0 / 36.0;
ex[6] = -1.0;
ey[6] = 1.0;
wt[6] = 1.0 / 36.0;
ex[7] = -1.0;
ey[7] = -1.0;
wt[7] = 1.0 / 36.0;
ex[8] = 1.0;
ey[8] = -1.0;
wt[8] = 1.0 / 36.0;
// define opposite (anti) aections (useful for implementing bounce back)
oppos[0] = 0; // 6 2 5
oppos[1] = 3; // ^
oppos[2] = 4; // |
oppos[3] = 1; // |
oppos[4] = 2; // 3 <----- 0 -----> 1
oppos[5] = 7; // |
oppos[6] = 8; // |
oppos[7] = 5; // v
oppos[8] = 6; // 7 4 8
}
// initialize values for aection vectors, density, velocity and distribution functions on the GPU
void initialize(const int N, const int Q, const double DENSITY, const double LID_VELOCITY,
double *ex, double *ey, int *oppos, double *wt,
double *rho, double *ux, double *uy, double *sigma,
double *f, double *feq, double *f_new) {
// loop over all voxels
#pragma omp parallel for
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
// natural index for location (i,j)
int index = i * N + j; // column-ordering
// initialize density and velocity fields inside the cavity
rho[index] = DENSITY; // density
ux[index] = 0.0; // x-component of velocity
uy[index] = 0.0; // x-component of velocity
sigma[index] = 0.0; // rate-of-strain field
// specify boundary condition for the moving lid
if (j == N - 1) ux[index] = LID_VELOCITY;
// assign initial values for distribution functions
// along various aections using equilibriu, functions
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
double edotu = ex[a] * ux[index] + ey[a] * uy[index];
double udotu = ux[index] * ux[index] + uy[index] * uy[index];
feq[index_f] = rho[index] * wt[a] * (1.0 + 3.0 * edotu + 4.5 * edotu * edotu - 1.5 * udotu);
f[index_f] = feq[index_f];
f_new[index_f] = feq[index_f];
}
}
}
}
// this function updates the values of the distribution functions at all points along all directions
// carries out one lattice time-step (streaming + collision) in the algorithm
void collideAndStream(// READ-ONLY parameters (used by this function but not changed)
const int N, const int Q, const double DENSITY, const double LID_VELOCITY, const double REYNOLDS_NUMBER,
const double *ex, const double *ey, const int *oppos, const double *wt,
// READ + WRITE parameters (get updated in this function)
double *rho, // density
double *ux, // X-velocity
double *uy, // Y-velocity
double *sigma, // rate-of-strain
double *f, // distribution function
double *feq, // equilibrium distribution function
double *f_new) // new distribution function
{
// loop over all interior voxels
#pragma omp parallel for
for (int i = 1; i < N - 1; i++) {
for (int j = 1; j < N - 1; j++) {
// natural index
int index = i * N + j; // column-major ordering
// calculate fluid viscosity based on the Reynolds number
double kinematicViscosity = LID_VELOCITY * (double) N / REYNOLDS_NUMBER;
// calculate relaxation time tau
double tau = 0.5 + 3.0 * kinematicViscosity;
// collision
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
double edotu = ex[a] * ux[index] + ey[a] * uy[index];
double udotu = ux[index] * ux[index] + uy[index] * uy[index];
feq[index_f] = rho[index] * wt[a] * (1 + 3 * edotu + 4.5 * edotu * edotu - 1.5 * udotu);
}
// streaming from interior node points
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
int index_nbr = (i + ex[a]) * N + (j + ey[a]);
int index_nbr_f = a + index_nbr * Q;
int indexoppos = oppos[a] + index * Q;
double tau_eff, tau_t, C_Smagorinsky; // turbulence model parameters
C_Smagorinsky = 0.16;
// tau_t = additional contribution to the relaxation time
// because of the "eddy viscosity" model
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// REFERENCE: Krafczyk M., Tolke J. and Luo L.-S. (2003)
// Large-Eddy Simulations with a Multiple-Relaxation-Time LBE Model
// International Journal of Modern Physics B, Vol.17, 33-39
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
tau_t = 0.5 * (pow(pow(tau, 2) + 18.0 * pow(C_Smagorinsky, 2) * sigma[index], 0.5) - tau);
// the effective relaxation time accounts for the additional "eddy viscosity"
// effects. Note that tau_eff now varies from point to point in the domain, and is
// larger for large strain rates. If the strain rate is zero, tau_eff = 0 and we
// revert back to the original (laminar) LBM scheme where tau_eff = tau.
tau_eff = tau + tau_t;
// post-collision distribution at (i,j) along "a"
double f_plus = f[index_f] - (f[index_f] - feq[index_f]) / tau_eff;
int iS = i + ex[a];
int jS = j + ey[a];
if ((iS == 0) || (iS == N - 1) || (jS == 0) || (jS == N - 1)) {
// bounce back
double ubdote = ux[index_nbr] * ex[a] + uy[index_nbr] * ey[a];
f_new[indexoppos] = f_plus - 6.0 * DENSITY * wt[a] * ubdote;
} else {
// CollideAndStream to neighbor
f_new[index_nbr_f] = f_plus;
}
}
} // j
}//i
}
void macroVar( // READ-ONLY parameters (used by this function but not changed)
const int N, const int Q, const double DENSITY, const double LID_VELOCITY, const double REYNOLDS_NUMBER,
const double *ex, const double *ey, const int *oppos, const double *wt,
// READ + WRITE parameters (get updated in this function)
double *rho, // density
double *ux, // X-velocity
double *uy, // Y-velocity
double *sigma, // rate-of-strain
double *f, // distribution function
double *feq, // equilibrium distribution function
double *f_new) // new distribution function
{
// loop over all interior voxels
#pragma omp parallel for
for (int i = 1; i < N - 1; i++) {
for (int j = 1; j < N - 1; j++) {
// natural index
int index = i * N + j; // column-major ordering
// push f_new into f
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
f[index_f] = f_new[index_f];
}
// UpdateMacroVar density at interior nodes
rho[index] = 0.0;
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
rho[index] += f_new[index_f];
}
// UpdateMacroVar velocity at interior nodes
double velx = 0.0;
double vely = 0.0;
for (int a = 0; a < Q; a++) {
int index_f = a + index * Q;
velx += f_new[index_f] * ex[a];
vely += f_new[index_f] * ey[a];
}
ux[index] = velx / rho[index];
uy[index] = vely / rho[index];
// UpdateMacroVar the rate-of-strain field
double sum_xx = 0.0, sum_xy = 0.0, sum_xz = 0.0;
double sum_yx = 0.0, sum_yy = 0.0, sum_yz = 0.0;
double sum_zx = 0.0, sum_zy = 0.0, sum_zz = 0.0;
for (int a = 1; a < Q; a++) {
int index_f = a + index * Q;
sum_xx = sum_xx + (f_new[index_f] - feq[index_f]) * ex[a] * ex[a];
sum_xy = sum_xy + (f_new[index_f] - feq[index_f]) * ex[a] * ey[a];
sum_xz = 0.0;
sum_yx = sum_xy;
sum_yy = sum_yy + (f_new[index_f] - feq[index_f]) * ey[a] * ey[a];
sum_yz = 0.0;
sum_zx = 0.0;
sum_zy = 0.0;
sum_zz = 0.0;
}
// evaluate |S| (magnitude of the strain-rate)
sigma[index] = pow(sum_xx, 2) + pow(sum_xy, 2) + pow(sum_xz, 2)
+ pow(sum_yx, 2) + pow(sum_yy, 2) + pow(sum_yz, 2)
+ pow(sum_zx, 2) + pow(sum_zy, 2) + pow(sum_zz, 2);
sigma[index] = pow(sigma[index], 0.5);
}//j
}//i
}
int main(int argc, char *argv[]) {
//--------------------------------
// Create a WINDOW using GLFW
//--------------------------------
omp_set_num_threads(16);
GLFWwindow *window;
// initialize the library
if (!glfwInit())
return -1;
// window size for displaying graphics
int WIDTH = 800;
int HEIGHT = 800;
// set the window's display mode
window = glfwCreateWindow(WIDTH, HEIGHT, "Flow inside a square cavity", NULL, NULL);
if (!window) {
glfwTerminate();
return -1;
}
// make the windows context current
glfwMakeContextCurrent(window);
// allocate memory
// distribution functions
double *f = new double[N * N * Q];
double *feq = new double[N * N * Q];
double *f_new = new double[N * N * Q];
// density and velocity
double *rho = new double[N * N];
double *ux = new double[N * N];
double *uy = new double[N * N];
// rate-of-strain
double *sigma = new double[N * N];
// D3Q9 parameters
double *ex = new double[Q];
double *ey = new double[Q];
int *oppos = new int[Q];
double *wt = new double[Q];
// fill D3Q9 parameters in constant memory on the GPU
D3Q9(ex, ey, oppos, wt);
// launch GPU kernel to initialize all fields
initialize(N, Q, DENSITY, INIT_V, ex, ey, oppos, wt, rho, ux, uy, sigma, f, feq, f_new);
// time integration
int time = 0;
clock_t t0, tN;
t0 = clock();
//---------------------------------------
// Loop until the user closes the window
//---------------------------------------
// specify min and max window coordinates
double xmin = 0, xmax = N, ymin = 0, ymax = N;
while (!glfwWindowShouldClose(window)) {
// increment lattice time
time++;
// collision and streaming
collideAndStream(N, Q, DENSITY, INIT_V, REYNOLDS_NUMBER, ex, ey, oppos, wt, rho, ux, uy, sigma, f, feq,
f_new);
// calculate macroscopic variables
macroVar(N, Q, DENSITY, INIT_V, REYNOLDS_NUMBER, ex, ey, oppos, wt, rho, ux, uy, sigma, f, feq, f_new);
// on-the-fly OpenGL graphics
if (time % 100 == 0) {
showGraphics(WIDTH, HEIGHT, xmin, xmax, ymin, ymax, ux, uy);
// swap front and back buffers
glfwSwapBuffers(window);
// poll for and processs events
glfwPollEvents();
}
// calculate and print the number of lattice time-steps per second
tN = clock() - t0;
std::cout << "Lattice time " << time
<< " clock ticks " << tN
<< " wall clock time " << tN / CLOCKS_PER_SEC
<< " lattice time steps per second = " << (float) CLOCKS_PER_SEC * time / (float) tN
<< std::endl;
}
// free memory for LBM buffers
delete[] f;
delete[] feq;
delete[] f_new;
delete[] rho;
delete[] ux;
delete[] uy;
delete[] sigma;
delete[] ex;
delete[] ey;
delete[] oppos;
delete[] wt;
// GLFW clean up
glfwDestroyWindow(window);
glfwTerminate();
// exit main
return 0;
}
|
0139a0d499055a2ff950394fc318d46161efc678
|
4b8c9495b0296b349b54b4f1d5f6a8f0469c479d
|
/api/include/stm32f446/USART.h
|
6ee52c849e1fe2c14c39d699ae2495fe435ff40d
|
[] |
no_license
|
isundaylee/stm32
|
b3bc5defce06409b0e3b02b5856d1f104508bc44
|
07adefc89d3c0b6f3da46f980050e97b7fc794c0
|
refs/heads/master
| 2020-03-07T21:26:59.087527
| 2019-06-03T01:27:25
| 2019-06-03T01:27:48
| 127,726,642
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 802
|
h
|
USART.h
|
#pragma once
#include <DeviceHeader.h>
#include <RingBuffer.h>
const size_t USART_RX_BUFFER_SIZE = 32;
extern "C" void isrUSART1();
extern "C" void isrUSART2();
extern "C" void isrUSART3();
extern "C" void isrUSART6();
class USART {
private:
USART_TypeDef* usart_;
RingBuffer<uint8_t, USART_RX_BUFFER_SIZE> buffer_;
public:
USART(USART_TypeDef* usart) : usart_(usart) {}
void enable(uint32_t baudRate);
void write(uint8_t data);
void write(const char* data);
void write(uint8_t* data, size_t length);
void enableTxDMA();
void disableTxDMA();
int read();
void flush();
friend void isrUSART1();
friend void isrUSART2();
friend void isrUSART3();
friend void isrUSART6();
};
extern USART USART_1;
extern USART USART_2;
extern USART USART_3;
extern USART USART_6;
|
ea7dea1b98a191b01bde3180b69b22a2e5eb3037
|
47a4b9901faf9742273b02ba14444d8d555b65a4
|
/LAN QIAO/G.cpp
|
61defa15158a7109cc763007ba3a282406285582
|
[] |
no_license
|
Aulene/Competitive-Programming-Solutions
|
a028b7b96e024d8547e2ff66801e5377d7fb76cd
|
81d2705263313755399f2e3b6e01e029d40f61a6
|
refs/heads/master
| 2021-06-27T20:03:53.657351
| 2019-04-25T19:48:29
| 2019-04-25T19:48:29
| 101,798,734
| 3
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,799
|
cpp
|
G.cpp
|
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long int
#define mod 1000000007
#define p push
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define vi vector <int>
#define vvi vector < vector <int> >
#define pi pair <int, int>
#define ppi pair < pair <int, int>, int>
#define zp mp(0, 0)
const int N = 5007;
int dp[N][N];
int t[N];
signed main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
// ifstream cin ("/Users/Aulene/Desktop/input.txt");
// ofstream cout ("/Users/Aulene/Desktop/output.txt");
// ifstream cin ("input.txt");
// ofstream cout ("output.txt");
int T, n, m, i, j, u, v, w, lx;
cin >> T;
while(T--) {
bool ans = 1;
int res = 0, maxwar;
lx = 0;
for(i = 0; i < N; i++) t[i] = 0;
for(i = 0; i < N; i++)
for(j = 0; j < N; j++) dp[i][j] = 0;
for(i = 0; i < N; i++)
for(j = 0; j <= i; j++) dp[i][j] = -5007;
cin >> n;
while(n--) {
cin >> u >> v;
t[u] = v;
lx = max(lx, u);
}
dp[1][0] = dp[1][1] = -t[1];
for(i = 1; i <= lx; i++) cout << t[i] << " "; cout << endl;
for(i = 1; i <= lx; i++) {
int ducked = -5008;
for(j = 0; j <= i; j++) {
dp[i][j] = max(dp[i][j], dp[i - 1][j] + j - t[i]);
ducked = max(ducked, dp[i][j]);
}
if(t[i] != 0) {
if(ducked < 0) {
ans = 0;
break;
}
else {
res++;
maxwar = ducked;
}
}
}
for(i = 1; i <= lx; i++) {
for(j = 0; j <= i; j++) cout << dp[i][j] << " "; cout << endl;
}
if(!ans) {
cout << "Defeat" << endl;
cout << "Max level: " << res << endl;
}
else {
cout << "Victory" << endl;
cout << "Max warship: " << maxwar << endl;
}
}
return 0;
}
|
0df7d51b6d6127e1a37984e00eb615a5db0c6cdd
|
b6cddb6389285c3ceaf8ffa3320963bae522189d
|
/contest_training/2018ICPC็ฝ็ป่ต/4็ฆไฝ่ต/G.cpp
|
13ff30243ff176d89e4f08b558dad8ba598684ca
|
[] |
no_license
|
BBBob/Pikachu-s-naughtiness
|
a60f4c552fa71dbe37d7c04d68c112a7cbbc4f77
|
034efaa214bd212693d54ecda969d92f31533154
|
refs/heads/master
| 2021-07-13T08:32:40.464526
| 2018-10-04T13:44:45
| 2018-10-04T13:44:45
| 129,676,531
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,247
|
cpp
|
G.cpp
|
//#define test
#include<bits/stdc++.h>
using namespace std;
const int Nmax=1e6+7;
typedef long long ll;
const ll mod = 1e9+7;
char s[Nmax];
ll a,b,c,inv[Nmax];
inline ll qpow(ll base,ll n)
{
ll ans=1LL;
base%=mod;
while(n>0)
{
if(n&1)
ans=ans*base%mod;
base=base*base%mod;
n>>=1;
}
return ans;
}
inline ll get_euler(ll n)
{
ll ans=n;
for(ll i=2; i*i<=n; i++)
if(n%i==0)
{
ans=ans/i*(i-1);
while(n%i==0)
n/=i;
}
if(n>1)
ans=ans/n*(n-1);
return ans;
}
inline void init()
{
inv[1]=1ll;
inv[2] = inv[mod % 2] * (mod - mod / 2) % mod;
c=get_euler(mod);
}
int main()
{
int t,len,flag;
ll ans;
scanf("%d",&t);
init();
while(t--)
{
memset(s,0,sizeof(s));
scanf("%s",s);
flag=0,b=0;
len=strlen(s);
for(int i=0; i<len; i++)
{
b=b*10+s[i]-'0';
if(b>c)
{
flag=1;
b%=c;
}
}
if(flag)
ans=qpow(2LL,b+c);
else
ans=qpow(2LL,b);
printf("%lld\n",ans*inv[2]%mod);
}
return 0;
}
|
249c112dffb7a353d15328048353d97174aca453
|
c2e4358e1e510546481f5e80c0f7b38b247801ef
|
/float/4DPlugin.cpp
|
2f48bb94682f3fe85f90c63382378b36e7c5620f
|
[] |
no_license
|
miyako/4d-plugin-float
|
3c79a658e56ca9338a2c03fb8a11547e60643e31
|
4092cda2f44dfdcbfb3660237d0296fe7f556d53
|
refs/heads/master
| 2020-04-25T14:47:34.167119
| 2019-10-19T23:36:22
| 2019-10-19T23:36:22
| 172,854,436
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 5,324
|
cpp
|
4DPlugin.cpp
|
/* --------------------------------------------------------------------------------
#
# 4DPlugin.cpp
# source generated by 4D Plugin Wizard
# Project : Float
# author : miyako
# 2019/02/27
#
# --------------------------------------------------------------------------------*/
#include "4DPluginAPI.h"
#include "4DPlugin.h"
void PluginMain(PA_long32 selector, PA_PluginParameters params)
{
try
{
PA_long32 pProcNum = selector;
sLONG_PTR *pResult = (sLONG_PTR *)params->fResult;
PackagePtr pParams = (PackagePtr)params->fParameters;
CommandDispatcher(pProcNum, pResult, pParams);
}
catch(...)
{
}
}
void CommandDispatcher (PA_long32 pProcNum, sLONG_PTR *pResult, PackagePtr pParams)
{
switch(pProcNum)
{
// --- IEEE 754
case 1 :
BLOB_to_float(pResult, pParams);
break;
case 2 :
float_to_BLOB(pResult, pParams);
break;
}
}
// ----------------------------------- IEEE 754 -----------------------------------
void BLOB_to_float(sLONG_PTR *pResult, PackagePtr pParams)
{
C_BLOB Param1;
C_LONGINT Param2;
C_LONGINT Param3;
C_LONGINT Param4;
C_TEXT returnValue;
Param1.fromParamAtIndex(pParams, 1);
Param2.fromParamAtIndex(pParams, 2);
Param3.fromParamAtIndex(pParams, 3);
Param4.fromParamAtIndex(pParams, 4);
float_size_t size = Param1.getBytesLength();
float_convert_mode_t mode = (float_convert_mode_t)Param2.getIntValue();
float_string_length_t len;
float_precision_t precision = Param4.getIntValue();
float_endian_t endian = (float_endian_t)Param3.getIntValue();
switch (precision) {
case -1:
precision = 0;
break;
case 0:
precision = float_precision_default;
break;
default:
break;
}
switch (size) {
case sizeof(float):
{
std::vector<uint8_t>bytes(sizeof(float));
memset((void *)&bytes[0], 0x0, sizeof(float));
float f32 = 0.0f;
std::vector<uint8_t>buf(sizeof(float));
memcpy(&buf[0], Param1.getBytesPtr(), sizeof(float));
switch (endian) {
case float_endian_big:
{
bytes[0] = buf[3];
bytes[1] = buf[2];
bytes[2] = buf[1];
bytes[3] = buf[0];
}
break;
default:
memcpy((void *)&bytes[0], &buf[0], sizeof(float));
break;
}
memcpy(&f32, &bytes[0], sizeof(float));
switch (mode) {
case float_convert_mode_e:
{
len = snprintf(0, 0, float_fmt_e, precision, f32);
std::vector<uint8_t>buf(len + 1);
snprintf((char *)&buf[0], buf.size(), float_fmt_e, precision, f32);
returnValue.setUTF8String(&buf[0],len);
}
break;
case float_convert_mode_f:
{
len = snprintf(0, 0, float_fmt_f, precision, f32);
std::vector<uint8_t>buf(len + 1);
snprintf((char *)&buf[0], buf.size(), float_fmt_f, precision, f32);
returnValue.setUTF8String(&buf[0],len);
}
break;
case float_convert_mode_g:
{
len = snprintf(0, 0, float_fmt_g, precision, f32);
std::vector<uint8_t>buf(len + 1);
snprintf((char *)&buf[0], buf.size(), float_fmt_g, precision, f32);
returnValue.setUTF8String(&buf[0],len);
}
break;
default:
break;
}
}
break;
default:
break;
}
returnValue.setReturn(pResult);
}
void float_to_BLOB(sLONG_PTR *pResult, PackagePtr pParams)
{
C_TEXT Param1;
C_LONGINT Param2;
C_BLOB returnValue;
Param1.fromParamAtIndex(pParams, 1);
Param2.fromParamAtIndex(pParams, 2);
std::vector<uint8_t>bytes(sizeof(float));
memset((void *)&bytes[0], 0x0, sizeof(float));
float f32 = 0.0f;
float_endian_t endian = (float_endian_t)Param2.getIntValue();
CUTF8String s;
Param1.copyUTF8String(&s);
if(s.length()){
f32 = strtof((const char *)s.c_str(), NULL);
std::vector<uint8_t>buf(sizeof(float));
memcpy((void *)&buf[0], &f32, sizeof(float));
switch (endian) {
case float_endian_big:
{
bytes[0] = buf[3];
bytes[1] = buf[2];
bytes[2] = buf[1];
bytes[3] = buf[0];
}
break;
default:
memcpy((void *)&bytes[0], &buf[0], sizeof(float));
break;
}
}
returnValue.setBytes((const uint8_t *)&bytes[0], sizeof(float));
returnValue.setReturn(pResult);
}
|
075602c7d715895a4ae763d79be879b4f1a16ca3
|
8d9dda309a910eed7066384558ebecefc928a60d
|
/DxLibTacticalGame/src/Battle/BUI/UnitStatusDisplay.cpp
|
7504a5fa70935dfa9b9c7086e0cbadf33d66bbfd
|
[
"MIT"
] |
permissive
|
mngh1200/DxLibTacticalgame
|
e7e4aa22018449bc35d76c977bcc96a2ffd2d8d3
|
c471637fa498f5605096c8873aa8acfe1b317e2a
|
refs/heads/main
| 2023-04-26T10:58:22.444709
| 2021-05-24T14:24:11
| 2021-05-24T14:24:11
| 311,380,285
| 0
| 1
|
MIT
| 2020-11-15T08:03:16
| 2020-11-09T15:23:05
| null |
SHIFT_JIS
|
C++
| false
| false
| 4,640
|
cpp
|
UnitStatusDisplay.cpp
|
#include "UnitStatusDisplay.h"
namespace Entity {
/**
* @fn
* ใณใณในใใฉใฏใฟ
*/
UnitStatusDisplay::UnitStatusDisplay()
: animation_{}, extraStatusHoverId_ (EXTRA_STATUS_ID_NONE)
{
shape_.set(X, WIN_H, WIDTH, BUI_LINE_HEIGHT * BUI_LINE_COUNT + BUI_LINE_MARGIN);
}
/**
* @fn
* ๆ็ป
*/
void UnitStatusDisplay::render() const
{
if (targetUnit_)
{
Utility::ResourceManager& rm = Utility::ResourceManager::getInstance();
// ใจใชใข
DxLib::DrawBox(shape_.x, shape_.y, shape_.getX2(), shape_.getY2(), rm.getColor(ColorType::MAIN_COLOR), TRUE);
/* ไธ่ก็ฎ ใใใใ */
UnitInfo info = targetUnit_->getInfo();
// ๅๅ่กจ็คบ
int nameColorType = targetUnit_->isEnemy() ? ColorType::ENEMY_COLOR : ColorType::PLAYER_COLOR;
BUI::drawLabel(shape_.x, shape_.y, info.name, NAME_W, nameColorType, ColorType::WHITE);
// ็นๆฎในใใผใฟใน
for (auto itr = extraStatusList_.begin(); itr != extraStatusList_.end(); ++itr)
{
BUI::drawLabel(itr->shape.x, shape_.y, itr->label, itr->shape.w - BUI_LINE_PADDING * 2);
}
/* ไบ่ก็ฎ ใใใใ */
int x = shape_.x;
int y = shape_.y + BUI_LINE_HEIGHT;
// HP
x = BUI::drawLabel(x, y, "HP", BUI::getHanW(2));
x = BUI::drawValue(x, y, to_string(info.hp) + " / " + to_string(info.hpm), BUI::getHanW(7));
// ๆปๆๅ
x = BUI::drawLabel(x, y, "ๆป", BUI::getZenW(1));
x = BUI::drawValue(x, y, to_string(info.atk), BUI::getHanW(3));
// ้ฒๅพก
x = BUI::drawLabel(x, y, "้ฒ", BUI::getZenW(1));
x = BUI::drawValue(x, y, to_string(info.def), BUI::getHanW(3));
// ๅฐ็จ
x = BUI::drawLabel(x, y, "ๅฐ็จ", BUI::getZenW(2));
x = BUI::drawValue(x, y, info.getLenText(), BUI::getHanW(2));
}
}
/**
* @fn
* ใใฆในใคใใณใใซใใๆดๆฐๅฆ็
*/
void UnitStatusDisplay::updateByEvents(int x, int y)
{
// ็นๆฎในใใผใฟในใฎใใผใซใใใใฎ่กจ็คบ/้่กจ็คบๅคๅฎ
bool isHoverExtraStatus = false;
if (isMouseOver_)
{
int count = 0;
for (auto itr = extraStatusList_.begin(); itr != extraStatusList_.end(); ++itr)
{
if (itr->shape.isHit(x, y))
{
isHoverExtraStatus = true;
if (extraStatusHoverId_ != count)
{
// ใใผใซใใใ่กจ็คบ
extraStatusHoverId_ = count;
if (!tooltip_)
{
// ใใผใซใใใใชใใธใงใฏใ่ฟฝๅ
FrameWork::Game& game = FrameWork::Game::getInstance();
Entity::ObjectsControl& objectsControl = game.objectsControl;
tooltip_ = make_shared<Tooltip>();
objectsControl.addFigure(getLayerId(), tooltip_);
}
tooltip_->show(shape_.x, shape_.y - BUI_PADDING - 5, itr->description);
}
break;
}
++count;
}
}
if (!isHoverExtraStatus)
{
// ใใผใซใใใ้่กจ็คบ
extraStatusHoverId_ = EXTRA_STATUS_ID_NONE;
if (tooltip_)
{
tooltip_->hide();
}
}
}
/**
* @fn
* ใขใใกใผใทใงใณๆดๆฐ
*/
bool UnitStatusDisplay::animationUpdate()
{
if (animationId_ == AnimationKind::DISPLAY)
{
return animation_.update(&shape_.y, ANIMATION_Y0, BATTLE_UI_AREA_Y + BUI_PADDING);
}
return false;
}
/**
* @fn
* ใขใใกใผใทใงใณ็ๆ
* @param (animationId) ใขใใกใผใทใงใณใฎ็จฎ้ก
*/
bool UnitStatusDisplay::createAnimation(int animationId)
{
if (animationId == AnimationKind::DISPLAY)
{
shape_.y = ANIMATION_Y0;
animation_ = Animation(500, 0, 1, 0, Easing::InOutBounce<float>);
return true;
}
return false;
}
/**
* @fn
* ๅฏพ่ฑกใฆใใใๆๅฎ
* @param (unit) ๅฏพ่ฑกใฆใใใ
*/
void UnitStatusDisplay::setTargetUnit(shared_ptr<Unit> unit)
{
if (!unit || targetUnit_ == unit) // ้ธๆๆธใฟใฎใฆใใใใฎๅ ดๅ
{
return;
}
targetUnit_ = unit;
// ็นๆฎในใใผใฟในใฎ่กจ็คบใใผใฟ็ๆ
extraStatusList_.clear();
vector<pair<string, string>> extraStatusTexts;
unit->getExtraStatusList(extraStatusTexts);
int x = shape_.x + NAME_W + BUI_LINE_PADDING * 2 + BUI_LINE_MARGIN + EXTRA_STATUS_MARGIN;
const int y = shape_.y + BUI_LINE_MARGIN;
const int h = BUI_FONT_SIZE + BUI_LINE_PADDING * 2;
for (auto itr = extraStatusTexts.begin(); itr != extraStatusTexts.end(); ++itr)
{
int w = BUI::getZenW((itr->first).size() / 2) + BUI_LINE_PADDING * 2;
extraStatusList_.push_back(ExtraStatus{ itr->first, itr->second, Shape(x, y ,w ,h)});
x = x + w + EXTRA_STATUS_MARGIN;
}
changeAnimation(AnimationKind::DISPLAY);
}
/**
* @fn
* ๅฏพ่ฑกใฆใใใใฏใชใข
*/
void UnitStatusDisplay::clear()
{
targetUnit_.reset();
animation_.reset();
}
}
|
9c2de8b33bd20ffb72618d61b588f488b39d28cc
|
853e9e098a5a003ae80750fba2c9abc94d6cfe2d
|
/src/Cross.h
|
76c6a3c1cab4ae019c98e8906a394b3c19944ef2
|
[] |
no_license
|
YoukaiCat/QtCBM
|
5bebf8dd7c4462d64f5b173e17a7460b3adca1a9
|
e1dbe60c69d7d01818ba61ab85e9dc45f94b010d
|
refs/heads/master
| 2021-05-06T09:02:25.041897
| 2017-12-12T21:15:25
| 2017-12-12T21:15:25
| 114,039,898
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 315
|
h
|
Cross.h
|
#ifndef CROSS_H
#define CROSS_H
#include <QString>
#include <QWidget>
class Cross
{
public:
Cross(const QString& marker);
virtual ~Cross();
virtual QWidget* getWidget() = 0;
QString getMarker() const;
void setMarker(const QString& value);
private:
QString marker;
};
#endif // CROSS_H
|
d433db643d71d5101953f23154c34a2e5cee4804
|
4b15494c1fac858b83d26c99e071580efa554368
|
/Source/Allogen/JNI/Converter/Map.hpp
|
84110242af6e9e712b9d460eab7efecea51ba11b
|
[
"BSD-3-Clause"
] |
permissive
|
Allogica/Allogen
|
87c9b58c26446cfe6ab7e158b5074e3d30ed5d73
|
ec3b82544659403896d95ed933890b761b35cddb
|
refs/heads/master
| 2020-07-12T05:46:25.663068
| 2019-05-16T17:23:46
| 2019-05-16T17:23:46
| 94,276,348
| 4
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 5,125
|
hpp
|
Map.hpp
|
/*
* Copyright (c) 2017, Allogica
*
* 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 Allogen 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.
*/
#pragma once
#include "Allogen/JNI/Converter.hpp"
#include <map>
#include <jni.h>
namespace Allogen {
namespace JNI {
/**
* A converter specialization that allows convertion between std::vector and Java arrays.
*
* @tparam ContainedType the C++ object contained inside the vector
* @tparam Allocator the vector allocator type
*/
template<typename KeyType, typename ValueType, typename Compare, typename Allocator>
struct Converter<std::map<KeyType, ValueType, Compare, Allocator>> {
/**
* The vector type
*/
using Type = std::map<KeyType, ValueType, Compare, Allocator>;
/**
* The Java array type
*/
using JavaType = LocalRef<jobject>;
/**
* Converts a C++ vector into a Java array
*
* @param env the JNI environment
* @param v the C++ vector
*
* @return the converted Java array
*/
static JavaType toJava(JNIEnv* env, Type v) {
LocalRef<jclass> java_util_HashMap = {env, env->FindClass("java/util/HashMap")};
jmethodID java_util_HashMap_ = env->GetMethodID(java_util_HashMap, "<init>", "(I)V");
jmethodID java_util_HashMap_put = env->GetMethodID(java_util_HashMap, "put",
"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");
LocalRef<jobject> result = {env, env->NewObject(java_util_HashMap, java_util_HashMap_, v.size())};
for(auto& entry : v) {
LocalRef<jobject> ret = {env, env->CallObjectMethod(
result, java_util_HashMap_put,
unwrapReference(Converter<KeyType>::toJava(env, entry.first)),
unwrapReference(Converter<ValueType>::toJava(env, entry.second))
)};
}
return result;
}
/**
* Converts a Java array into a C++ vector
*
* @param env the JNI environment
* @param i the Java array
*
* @return the converted C++ vector
*/
static Type fromJava(JNIEnv* env, JavaType map) {
LocalRef<jclass> java_util_Map = {env, env->FindClass("java/util/Map")};
jmethodID java_util_Map_entrySey = env->GetMethodID(java_util_Map, "entrySet", "()Ljava/util/Set;");
LocalRef<jobject> entrySet = {env, env->CallObjectMethod(map, java_util_Map_entrySey)};
LocalRef<jclass> entrySetClass = {env, env->GetObjectClass(entrySet)};
jmethodID java_util_Set_toArray = env->GetMethodID(entrySetClass, "toArray", "()[Ljava/lang/Object;");
LocalRef<jclass> entryClass = {env, env->FindClass("java/util/Map$Entry")};
jmethodID entryGetKey = env->GetMethodID(entryClass, "getKey", "()Ljava/lang/Object;");
jmethodID entryGetValue = env->GetMethodID(entryClass, "getValue", "()Ljava/lang/Object;");
LocalRef<jobjectArray> entries = {env, (jobjectArray) env->CallObjectMethod(entrySet,
java_util_Set_toArray)};
jsize size = env->GetArrayLength(entries);
Type objects;
for(jsize i = 0; i < size; i++) {
LocalRef<jobject> entry = {env, env->GetObjectArrayElement(entries, i)};
typename Converter<KeyType>::JavaType key = {
env, reinterpret_cast<typename Converter<KeyType>::JavaType::RefType>(env->CallObjectMethod(
entry, entryGetKey))
};
typename Converter<ValueType>::JavaType value = {
env, reinterpret_cast<typename Converter<ValueType>::JavaType::RefType>(env->CallObjectMethod(
entry, entryGetValue))
};
objects.insert(std::make_pair(
Converter<KeyType>::fromJava(env, key),
Converter<ValueType>::fromJava(env, value)
));
}
return objects;
}
};
}
}
|
d327fda00f5597c2d4b8122a427c6018a57ef635
|
96b946f54a8283ec11c44a6cadae67d4d0371fcf
|
/cpp/c4_exercise_1.cpp
|
748e4dd6947df39e82cfce77d8f0e7f3ae5f5775
|
[
"MIT"
] |
permissive
|
DeactivatedWhatSoever/code
|
ce351597001a3df078e7a10966f5693afcf1064f
|
f5fc0a7e25ebfbe7efe2bff13d745683fce6a9d5
|
refs/heads/master
| 2022-01-30T07:00:37.413297
| 2019-07-04T04:37:38
| 2019-07-07T04:37:38
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 660
|
cpp
|
c4_exercise_1.cpp
|
#include <iostream>
enum Chess
{
King,
Queen,
Bishop,
Knight,
Rook,
Pawn,
Empty
};
int main()
{
Chess chessBoard [8][8] = {
{ Rook, Knight, Bishop, Queen, King, Bishop, Knight, Rook },
{ Pawn, Pawn, Pawn, Pawn, Pawn, Pawn, Pawn, Pawn },
{ Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty },
{ Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty },
{ Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty },
{ Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty },
{ Pawn, Pawn, Pawn, Pawn, Pawn, Pawn, Pawn, Pawn },
{ Rook, Knight, Bishop, Queen, King, Bishop, Knight, Rook }
};
return 0;
}
|
ae9670d6d133a150a887d23ff3c440211dc62318
|
145b146c6a316d3f3e4a3e598f34ba10750421a9
|
/VSIDHandler/VSIDHandler.cpp
|
c86e5ec51e195dffe5f6dc27ba005363cebaf313
|
[] |
no_license
|
ajorians/FlowdockBot
|
e0ae5e352837236b74dbd6ab8e760dde5e4e36ec
|
6eb5f8daa63df189bb4a93d72674850a6edb1cb8
|
refs/heads/master
| 2021-01-18T15:16:39.208146
| 2015-02-09T14:39:41
| 2015-02-09T14:39:41
| 26,290,095
| 0
| 0
| null | 2014-11-12T16:40:10
| 2014-11-06T21:06:02
|
C++
|
UTF-8
|
C++
| false
| false
| 7,347
|
cpp
|
VSIDHandler.cpp
|
#include "VSIDHandler.h"
#include "HandlerAPI.h"
#include <sstream>
#include <stdlib.h>
#include <cstring>
int StringToInt(const std::string& str)
{
return atoi(str.c_str());
}
std::string IntToString(int nValue)
{
std::ostringstream oss;
oss << nValue;
return oss.str();
}
void Replace(std::string& s, const std::string& strToReplace, const std::string& strToReplaceWith)
{
int nPos = 0;
while(true)
{
nPos = s.find(strToReplace, nPos);
if( nPos == std::string::npos )
return;
s.replace(nPos, strToReplace.length(), strToReplaceWith);
nPos += strToReplaceWith.length();
}
}
std::string UnEscapeXML(const std::string str)
{
std::string strReturn(str);
Replace(strReturn, """, "\"");
Replace(strReturn, "&", "&");
Replace(strReturn, "<", "<");
Replace(strReturn, ">", ">");
Replace(strReturn, "'", "\'");
return strReturn;
}
HANDLER_EXTERN int HandlerMessageSaid(void* pIFlowdockManager, const char* pstrOrg, const char* pstrFlow, int nType, int nUserID, const char* pstrMessage, int nMessageID)
{
IHandler* pIHandler = (IHandler*)pIFlowdockManager;
std::string strMessage(pstrMessage), strOrg(pstrOrg), strFlow(pstrFlow);
if( VSIDHandler::HasVSID(strMessage) )
{
VSIDHandler vsid(pIHandler);
vsid.PostResponseMessage(strOrg, strFlow, strMessage, nMessageID);
}
return 0;
}
VSIDHandler::VSIDHandler(IHandler* pIHandler)
: m_pCurl(NULL), m_pCookies(NULL), m_pIHandler(pIHandler)
{
//curl_global_init(CURL_GLOBAL_ALL);
m_pCurl = curl_easy_init();
curl_easy_setopt(m_pCurl, CURLOPT_WRITEFUNCTION, VSIDHandler::write_callback);
curl_easy_setopt(m_pCurl, CURLOPT_WRITEDATA, this);
curl_easy_setopt(m_pCurl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(m_pCurl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(m_pCurl, CURLOPT_SSL_VERIFYHOST, 0L);
curl_easy_setopt(m_pCurl, CURLOPT_SSLENGINE_DEFAULT,1L);
curl_easy_setopt(m_pCurl, CURLOPT_VERBOSE, 0L);
}
VSIDHandler::~VSIDHandler()
{
curl_easy_cleanup(m_pCurl);
//curl_global_cleanup();
curl_slist_free_all(m_pCookies);
}
std::vector<int> VSIDHandler::VSIDsFromMessage(const std::string& strMessage)
{
std::vector<int> arrVSIDs;
std::string strCurrentItem;
for(std::string::size_type i=0; i<strMessage.length(); i++)
{
if( strMessage[i] >= '0' && strMessage[i] <= '9' )
{
strCurrentItem += strMessage[i];
}
else
{
if( strCurrentItem.length() > 0 && strCurrentItem.length() == 5 )
arrVSIDs.push_back(StringToInt(strCurrentItem));
strCurrentItem.clear();
}
}
if( strCurrentItem.length() > 0 && strCurrentItem.length() == 5 )
arrVSIDs.push_back(StringToInt(strCurrentItem));
return arrVSIDs;
}
bool VSIDHandler::HasVSID(const std::string& strMessage)
{
return VSIDsFromMessage(strMessage).size() > 0;
}
void VSIDHandler::PostResponseMessage(const std::string& strOrg, const std::string& strFlow, const std::string& strMessage, int nMessageID)
{
std::vector<int> arrVSIDs = VSIDsFromMessage(strMessage);
if( arrVSIDs.size() <= 0 )
return;
for(std::vector<int>::size_type i=0; i<arrVSIDs.size(); i++ )
{
std::string strResponse = GetResponseForVSID(arrVSIDs[i]);
if( strResponse.length() > 0 )
m_pIHandler->SayMessage(strOrg.c_str(), strFlow.c_str(), strResponse.c_str(), nMessageID/*CommentTo*/, "VSID");
}
}
size_t VSIDHandler::write_callback(void *ptr, size_t size, size_t nmemb, void *stream)
{
VSIDHandler* pHandler = (VSIDHandler*)stream;
pHandler->m_strWrite.append((char*)ptr, nmemb);
return nmemb;
}
std::string VSIDHandler::GetResponseForVSID(int nID)
{
std::string strAddress = "http://tfs-app01:8080/tfs/web/UI/Pages/Reports/CustomReport.aspx?wid=";
strAddress += IntToString(nID);
curl_easy_setopt(m_pCurl, CURLOPT_URL, strAddress.c_str());
curl_easy_setopt(m_pCurl, CURLOPT_HTTPAUTH, CURLAUTH_NTLM);
std::string strUserPasswd = "a.orians:!Q@W3e4r";
curl_easy_setopt(m_pCurl, CURLOPT_USERPWD, strUserPasswd.c_str());
m_strWrite.clear();
m_resLast = curl_easy_perform(m_pCurl);
std::string strTitle, strAssignedTo, strCurrentStatus, strSeverity, strPriority;
bool bOK = GetInfoOutOfResponse(strTitle, strAssignedTo, strCurrentStatus, strSeverity, strPriority);
std::string strEditURL = "http://tfs-app01:8080/tfs/web/wi.aspx?id=";
strEditURL += IntToString(nID);
std::string strResponse = IntToString(nID);
strResponse += ": ";
if( bOK )
{
strResponse += strTitle + "(" + strCurrentStatus + ") - " + strAssignedTo + " - " + strSeverity + "/" + strPriority + " ";
strResponse = UnEscapeXML(strResponse);
}
strResponse += strEditURL;
return strResponse;
}
bool VSIDHandler::GetInfoOutOfResponse(std::string& strTitle, std::string& strAssignedTo, std::string& strCurrentStatus, std::string& strSeverity, std::string& strPriority) const
{
{
int nStartTitle = m_strWrite.find("<b>Title:</b></td><td>");
int nEndTitle = m_strWrite.find("</td>", nStartTitle + strlen("<b>Title:</b></td><td>"));
if(!( nStartTitle == std::string::npos || nEndTitle == std::string::npos || nStartTitle > nEndTitle ) )
strTitle = m_strWrite.substr(nStartTitle + strlen("<b>Title:</b></td><td>"), nEndTitle - nStartTitle - strlen("<b>Title:</b></td><td>"));
}
{
int nStartAssign = m_strWrite.find("<b>Assigned To:</b></td><td>");
int nEndAssign = m_strWrite.find("</td>", nStartAssign + strlen("<b>Assigned To:</b></td><td>"));
if( !( nStartAssign == std::string::npos || nEndAssign == std::string::npos || nStartAssign > nEndAssign ) )
strAssignedTo = m_strWrite.substr(nStartAssign + strlen("<b>Assigned To:</b></td><td>"), nEndAssign - nStartAssign - strlen("<b>Assigned To:</b></td><td>"));
}
{
int nStartStatus = m_strWrite.find("<b>Current Status:</b></td><td>");
int nEndStatus = m_strWrite.find("</td>", nStartStatus + strlen("<b>Current Status:</b></td><td>"));
if( !( nStartStatus == std::string::npos || nEndStatus == std::string::npos || nStartStatus > nEndStatus ) )
strCurrentStatus = m_strWrite.substr(nStartStatus + strlen("<b>Current Status:</b></td><td>"), nEndStatus - nStartStatus - strlen("<b>Current Status:</b></td><td>"));
}
{
int nStartSeverity = m_strWrite.find("<b>Severity:</b></td><td>");
int nEndSeverity = m_strWrite.find("</td>", nStartSeverity + strlen("<b>Severity:</b></td><td>"));
if( !( nStartSeverity == std::string::npos || nEndSeverity == std::string::npos || nStartSeverity > nEndSeverity ) )
strSeverity = m_strWrite.substr(nStartSeverity + strlen("<b>Severity:</b></td><td>"), nEndSeverity - nStartSeverity - strlen("<b>Severity:</b></td><td>"));
}
{
int nStartPriority = m_strWrite.find("<b>Priority:</b></td><td>");
int nEndPriority = m_strWrite.find("</td>", nStartPriority + strlen("<b>Priority:</b></td><td>"));
if( !( nStartPriority == std::string::npos || nEndPriority == std::string::npos || nStartPriority > nEndPriority ) )
strPriority = m_strWrite.substr(nStartPriority + strlen("<b>Priority:</b></td><td>"), nEndPriority - nStartPriority - strlen("<b>Priority:</b></td><td>"));
}
return true;
}
|
485746772ec97aed826bf3e97b0dbdee6f46f821
|
ace194a37091c9e43262e3f73dc3a6f64f40ea53
|
/src/solvers/heatConduction.hpp
|
6ae441c6a9104c536d5672e8c5f41e05dc7c07c3
|
[
"MIT"
] |
permissive
|
jtoumey/fieldSolve
|
04db57bbb8c995ddd4f72f2f317342a6b7a14c39
|
14c4ace19ca5ccd460cf57db960762cee271adde
|
refs/heads/master
| 2022-11-21T13:57:17.409938
| 2020-06-26T19:31:03
| 2020-06-26T19:31:03
| 200,500,519
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 54
|
hpp
|
heatConduction.hpp
|
#ifndef HEATCONDUCTION_HPP
#define HEATCONDUCTION_HPP
|
56f921bbad7881da70bab33cff30bf1c6cd4f21c
|
009a6da4eaede647ec83fe1f253402315bb3390e
|
/annlight/include/SVDSolver.h
|
c6c233b0a92ea8833dfee4ac4e142991a2d4eb0d
|
[
"LicenseRef-scancode-warranty-disclaimer"
] |
no_license
|
scimerc/sparrow
|
5a8901cebe1b9af7bb85c93b9bf3922454e8d146
|
29743d186f8eb477da411ca0da4f5b3e147590ce
|
refs/heads/master
| 2021-06-16T09:29:16.880587
| 2017-04-05T11:18:18
| 2017-04-05T11:18:18
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,068
|
h
|
SVDSolver.h
|
#ifndef SVD_SOLVER_H_
#define SVD_SOLVER_H_
#define SVD_SYMMETRIC_STORAGE
typedef enum t_solving_type
{
TAKE_BEST,
TAKE_ABOVE_THRESHOLD,
LEAVE_OUT_WORST,
LEAVE_OUT_BELOW_THRESHOLD,
TAKE_PERCENTAGE
};
/**
* The class contains all data of the linear equation system as well as the eigenvalues and eigenvectors of the lefthand coefficient matrix.
* @brief A solver for linear equation systems using principal component analysis.
*/
class SVDSolver
{
public:
SVDSolver(double* covMatrix, double* righthand, unsigned dim, bool copy = true);
SVDSolver(double** covMatrix, double* righthand, unsigned dim, bool copy = true);
~SVDSolver();
void solve(t_solving_type method, double value);
void calculateEigenvalues();
double getCovariance(unsigned i, unsigned j, bool start1 = true) const;
void setCovariance(unsigned i, unsigned j, double value, bool start1 = true);
double getOffDiagonalElement(unsigned i, bool start1 = true) const;
void setOffDiagonalElement(unsigned i, double value, bool start1 = true);
double getEigenvectorValue(unsigned i, unsigned j, bool start1 = true) const;
double* getEigenvector(unsigned i, bool start1 = true) const;
void setEigenvectorValue(unsigned i, unsigned j, double value, bool start1 = true);
double getEigenvalue(unsigned i, bool start1 = true) const;
void setEigenvalue(unsigned i, double value, bool start1 = true);
void setEigenvalues(double* evs);
void setEigenvectors(double* evs);
void setOffDiagonal(double* od);
double* getSolution() const;
unsigned getEffectiveDim() const;
double* transform(double* vec) const;
unsigned getDim() const;
protected:
/** The lefthand coefficient matrix which in this case is a covariance matrix. */
double* covMatrix;
/** The offdiagonal elements calculated by the QL algorithm. */
double* offDiagonalElements;
/** The eigenvectors of <code>covMatrix</code>. */
double* eigenvectors;
/** The eigenvalues of <code>covMatrix</code>. */
double* eigenvalues;
/** The solution of the current linear equation system. */
double* solution;
/** The righthand side vector of the linear equation system. */
double* righthand;
/** The index of the first eigenvalue that should be taken into account. */
unsigned startIndex;
/** The dimension (number of rows) of <code>covMatrix</code>. */
unsigned dim;
void solve();
void tred2();
void tql2(int *ierr);
#ifdef SVD_SYMMETRIC_STORAGE
/**
* This function works with symmetric storage mode. It assumes that the matrix indices start with zero.
* @brief Returns the index in the one-dimensional <code>covMatrix</code> array given the matrix indices of the requested entries.
*
* @param i The matrix row index
* @param j The matrix column array
* @return The index of the requested entry in <code>covMatrix</code>
*/
unsigned getIndex(unsigned i, unsigned j) const;
#endif
};
#endif
|
78ef5e70990341dca51859aa21a5700ce090bb38
|
b9600cf869519c83dd28b9d04e125d5c65300fa1
|
/Casper_Seq_Finder/main.cpp
|
d6117c475aa72d27e934725bba1272f03b8445bb
|
[] |
no_license
|
bdoze90/Casper_Seq_Finder
|
08539b1bbd3a98cffa3ebd8172594fffa1249fda
|
14c72204fb3bcba3d6ae3db2b965f9e084ef6eb4
|
refs/heads/master
| 2021-06-17T06:02:26.909707
| 2020-01-22T19:49:40
| 2020-01-22T19:49:40
| 129,822,840
| 0
| 1
| null | 2020-01-22T19:49:41
| 2018-04-17T00:31:02
|
C++
|
UTF-8
|
C++
| false
| false
| 6,290
|
cpp
|
main.cpp
|
//
// main.cpp
// Casper_Seq_Finder
//
// Created by Brian Mendoza on 3/26/16.
// Copyright (c) 2016 Brian Mendoza. All rights reserved.
//
#include <iostream>
#include <ctime>
#include "Read.h"
#include <string.h>
#include <vector>
#include <set>
#include "gRNA.h"
#include "CrisprGroup.h"
#include "set.h"
#include "WriteFile.h"
using namespace std;
/* Function Prototypes */
void selectOrganism(vector<string> &files, string &endo); //runs through the code that allows one to populate the file locations vector for analysis
string reverseComplement(string &str); //returns reverse complement of input
string toCapitals(string &str); //takes the string to all capitals
/* Main */
//the line limit for the file and the capitals mixed
//int argc, const char * argv[] -> add when exporting executable
int main(int argc, const char * argv[]) {
//int argc = 10;
//std::vector<std::string> argv = {"Executable","saCas9","NNGRRT","scede","FALSE","/Users/brianmendoza/Desktop/","/Users/brianmendoza/Desktop/CASPERinfo","/Users/brianmendoza/Dropbox/sce.fna", "Saccharomyces Cerevisiae S288C", "20", "16","notes_go_here"};
string pamname = argv[1];
string pam = argv[2];
string OrgCode = argv[3];
string returnPath = argv[5];
bool anti = false;
string a = string(argv[4]);
if (a == "TRUE") {
anti = true;
}
string genome_name = string(argv[8]);
int clen = std::stoi(string(argv[9]));
int slen = std::stoi(string(argv[10]));
string misc_notes = string(argv[11]);
//end obtaining information from argv.
std::clock_t start;
double duration;
start = std::clock();
string output_file = OrgCode + "_" + pamname;
Read read;
read.setFileName(argv[7]);
std::cout << "Opening fasta-type file: " << argv[7] << std::endl;
read.openFile();
std::string score_file = argv[6];
//input sequences need to be a vector...
vector<string> inputSequences;
string newseq = "";
std::cout << "Reading file...\n";
std::vector<std::string> chromscaff;
chromscaff.push_back(read.FirstLine()); //reports the first line of the title of the fasta file and adds it to the chromscaff
while (read.newLine()) {
std::string line = read.getLine();
if (line[0] == '>') {
std::cout << "New Chromosome/Scaffold detected.\n";
chromscaff.push_back(line);
inputSequences.push_back(newseq);
newseq = "";
} else {
newseq += line; //THIS ACCOMODATES UP TO A 100000000 NUCLEOTIDE LINE
}
}
std::cout << "Finished reading in the genome file.\n";
//Container for holding the statistics of the fasta for the end:
std::vector<int> karystats;
//fixes the off by one of the input sequences:
inputSequences.push_back(newseq);
newseq.clear();
std::cout << inputSequences.size() << endl;
CrisprGroup *Genome = new CrisprGroup(inputSequences.size(), returnPath, OrgCode,clen,slen);
//Beginning of the for loop that iterates through the Fasta file to find targets
std::cout << "Processing the genome for " << pamname << " target sequences.\n";
for (int j=0; j<inputSequences.size(); j++) {
string chromosomeSequence = toCapitals(inputSequences.at(j));
inputSequences.at(j).clear();
inputSequences.at(j).shrink_to_fit();
karystats.push_back(chromosomeSequence.size());
Genome->findPAMs(chromosomeSequence, true, j, pam, true, anti, score_file);
string reverseSequence;
reverseSequence = reverseComplement(chromosomeSequence);
chromosomeSequence.clear();
chromosomeSequence.shrink_to_fit();
Genome->findPAMs(reverseSequence, false, j, pam, true, anti, score_file);
reverseSequence.clear();
reverseSequence.shrink_to_fit();
cout << "Chromosome " << j+1 << " complete." << endl;
}
Genome->processTargets();
cout << "Finished Locating All Cas9 target sequences" << endl;
WriteFile Output;
Output.inputStats(karystats, misc_notes); // Load the statistics of the size of the chromosomes/scaffolds
Output.setFileName(returnPath + output_file + ".cspr", genome_name);
//Reporting the statistics:
cout << "There were " << Genome->totSize() << " unique sequences." << endl;
cout << "There were " << Genome->repSize() << " identical repeated sequences." << endl;
cout << "Printing to file..." << endl;
Output.retrieveData(Genome,chromscaff);
duration = ( std::clock() - start ) / (double) CLOCKS_PER_SEC;
cout << "Time Elapsed: " << duration/60 << " minutes \n";
delete Genome;
cout << "Finished Creating File.\n To search restart CASPER and select Organism." << endl;
return 0;
}
/* Function: toCapitals
* --------------------------------------------------------------------------------------------------------
* Usage: Takes the input sequence and changes all instances of the lower case into an upper case to be passed
* into the program for editing.
*/
string toCapitals(string &str) {
string tc = "";
for (int i=0; i<str.length(); i++) {
char n = str.at(i);
char change;
switch (n) {
case 'a': change = 'A'; break;
case 't': change = 'T'; break;
case 'g': change = 'G'; break;
case 'c': change = 'C'; break;
default: change = n;
}
tc += change;
}
return tc;
}
/* Function: reverseComplement
* --------------------------------------------------------------------------------------------------------
* Usage: a sequence in the form of a string is passed in by reference and the function returns the reverse
* complement of the passed in sequence, inserting X's if there are any nucleotide discrepancies in the
* original sequence.
*/
string reverseComplement(string &str) {
string rc = "";
for (long i=str.length()-1; i >= 0; i--) {
char n = str.at(i);
char reverse;
switch (n) {
case 'A': reverse = 'T'; break;
case 'T': reverse = 'A'; break;
case 'G': reverse = 'C'; break;
case 'C': reverse = 'G'; break;
default: reverse = 'N';
}
rc += reverse;
}
return rc;
}
|
0587e38e8309b8574ad2c531de52b043d3fbba82
|
ae4dbf03315419da05e7ba1bf897f527d161db73
|
/src/JHelper.cpp
|
5e6972781204d70f1b9968440153516c23031437
|
[] |
no_license
|
Jdasi/ATBlock2
|
da0d05f9f6431474bfe9914cfdec8cea100e77b6
|
7986d167b2dce1e58728bdb1bce97a3028228e39
|
refs/heads/master
| 2021-09-09T04:17:44.296993
| 2018-03-13T19:52:37
| 2018-03-13T19:52:37
| 109,885,419
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 951
|
cpp
|
JHelper.cpp
|
#include "JHelper.h"
int JHelper::calculateIndex(const unsigned _x, const unsigned _y, const unsigned _size_x)
{
return (_y * _size_x) + _x;
}
DirectX::XMINT2 JHelper::calculateCoords(const unsigned int _index, const unsigned int _size_x)
{
DirectX::XMINT2 coords;
coords.x = _index % _size_x;
coords.y = _index / _size_x;
return coords;
}
bool JHelper::validIndex(const int _index, const int _array_size)
{
if (_index < 0 || _index >= _array_size)
return false;
return true;
}
//https://stackoverflow.com/questions/21010586/normalizing-spatial-vectors-without-square-root
//https://en.wikipedia.org/wiki/Fast_inverse_square_root
float JHelper::fisqrt(float _n)
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = _n * 0.5f;
y = _n;
i = *(long *)&y;
i = 0x5f3759df - (i >> 1);
y = *(float *)&i;
y = y * (threehalfs - (x2 * y * y));
return y;
}
|
ef54c46be8479cb51cd1476f28f0684a71e6fca7
|
028173f576b5f2364b800bbfca3dc6be8a238bc3
|
/include/asio2/rpc/rpc_session.hpp
|
770067b5f19664cd52026f615a41650b559ae2b4
|
[
"ICU",
"BSL-1.0"
] |
permissive
|
zhllxt/asio2
|
ca6f98b0c599ebb3eeb13cd79ddb9db6e8ca3666
|
ac8c79964d79020091e38fcbb4ae9dccccb3b03c
|
refs/heads/main
| 2023-09-02T18:56:45.036564
| 2023-05-09T04:57:23
| 2023-05-09T04:57:23
| 108,554,985
| 636
| 166
|
BSL-1.0
| 2023-04-10T09:27:16
| 2017-10-27T14:17:35
|
C++
|
UTF-8
|
C++
| false
| false
| 9,353
|
hpp
|
rpc_session.hpp
|
/*
* Copyright (c) 2017-2023 zhllxt
*
* author : zhllxt
* email : 37792738@qq.com
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef __ASIO2_RPC_SESSION_HPP__
#define __ASIO2_RPC_SESSION_HPP__
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#if __has_include(<cereal/cereal.hpp>)
#include <asio2/base/detail/push_options.hpp>
#include <asio2/config.hpp>
#include <asio2/udp/udp_session.hpp>
#include <asio2/tcp/tcp_session.hpp>
#include <asio2/tcp/tcps_session.hpp>
#include <asio2/http/ws_session.hpp>
#include <asio2/http/wss_session.hpp>
#include <asio2/rpc/detail/rpc_serialization.hpp>
#include <asio2/rpc/detail/rpc_protocol.hpp>
#include <asio2/rpc/detail/rpc_invoker.hpp>
#include <asio2/rpc/impl/rpc_recv_op.hpp>
#include <asio2/rpc/impl/rpc_call_cp.hpp>
namespace asio2::detail
{
ASIO2_CLASS_FORWARD_DECLARE_BASE;
ASIO2_CLASS_FORWARD_DECLARE_UDP_BASE;
ASIO2_CLASS_FORWARD_DECLARE_UDP_SERVER;
ASIO2_CLASS_FORWARD_DECLARE_UDP_SESSION;
ASIO2_CLASS_FORWARD_DECLARE_TCP_BASE;
ASIO2_CLASS_FORWARD_DECLARE_TCP_SERVER;
ASIO2_CLASS_FORWARD_DECLARE_TCP_SESSION;
template<class derived_t, class executor_t>
class rpc_session_impl_t
: public executor_t
, public rpc_call_cp<derived_t, typename executor_t::args_type>
, public rpc_recv_op<derived_t, typename executor_t::args_type>
, protected id_maker<typename rpc_header::id_type>
{
friend executor_t;
ASIO2_CLASS_FRIEND_DECLARE_BASE;
ASIO2_CLASS_FRIEND_DECLARE_UDP_BASE;
ASIO2_CLASS_FRIEND_DECLARE_UDP_SERVER;
ASIO2_CLASS_FRIEND_DECLARE_UDP_SESSION;
ASIO2_CLASS_FRIEND_DECLARE_TCP_BASE;
ASIO2_CLASS_FRIEND_DECLARE_TCP_SERVER;
ASIO2_CLASS_FRIEND_DECLARE_TCP_SESSION;
public:
using super = executor_t;
using self = rpc_session_impl_t<derived_t, executor_t>;
using executor_type = executor_t;
using args_type = typename executor_t::args_type;
static constexpr asio2::net_protocol net_protocol = args_type::net_protocol;
protected:
using super::send;
using super::async_send;
public:
/**
* @brief constructor
*/
template<class ...Args>
explicit rpc_session_impl_t(
rpc_invoker_t<derived_t, typename executor_t::args_type>& invoker,
Args&&... args
)
: super(std::forward<Args>(args)...)
, rpc_call_cp<derived_t, typename executor_t::args_type>(this->io_, this->serializer_, this->deserializer_)
, rpc_recv_op<derived_t, typename executor_t::args_type>()
, id_maker<typename rpc_header::id_type>()
, invoker_(invoker)
{
}
/**
* @brief destructor
*/
~rpc_session_impl_t()
{
}
protected:
inline rpc_invoker_t<derived_t, typename executor_t::args_type>& _invoker() noexcept
{
return (this->invoker_);
}
template<typename C, typename Socket>
inline void _ws_start(std::shared_ptr<derived_t>& this_ptr, std::shared_ptr<ecs_t<C>>& ecs, Socket& socket)
{
super::_ws_start(this_ptr, ecs, socket);
this->derived().ws_stream().binary(true);
}
template<typename DeferEvent>
inline void _handle_disconnect(const error_code& ec, std::shared_ptr<derived_t> this_ptr, DeferEvent chain)
{
while (!this->reqs_.empty())
{
auto& fn = this->reqs_.begin()->second;
fn(rpc::make_error_code(rpc::error::operation_aborted), std::string_view{});
}
super::_handle_disconnect(ec, std::move(this_ptr), std::move(chain));
}
template<typename C>
inline void _fire_recv(
std::shared_ptr<derived_t>& this_ptr, std::shared_ptr<ecs_t<C>>& ecs, std::string_view data)
{
data = this->derived().data_filter_before_recv(data);
this->listener_.notify(event_type::recv, this_ptr, data);
this->derived()._rpc_handle_recv(this_ptr, ecs, data);
}
protected:
rpc_serializer serializer_;
rpc_deserializer deserializer_;
rpc_header header_;
rpc_invoker_t<derived_t, typename executor_t::args_type> & invoker_;
};
}
namespace asio2
{
namespace detail
{
template<asio2::net_protocol np> struct template_args_rpc_session;
template<>
struct template_args_rpc_session<asio2::net_protocol::udp> : public template_args_udp_session
{
static constexpr asio2::net_protocol net_protocol = asio2::net_protocol::udp;
static constexpr bool rdc_call_cp_enabled = false;
static constexpr std::size_t function_storage_size = 72;
};
template<>
struct template_args_rpc_session<asio2::net_protocol::tcp> : public template_args_tcp_session
{
static constexpr asio2::net_protocol net_protocol = asio2::net_protocol::tcp;
static constexpr bool rdc_call_cp_enabled = false;
static constexpr std::size_t function_storage_size = 72;
};
template<>
struct template_args_rpc_session<asio2::net_protocol::ws> : public template_args_ws_session
{
static constexpr asio2::net_protocol net_protocol = asio2::net_protocol::ws;
static constexpr bool rdc_call_cp_enabled = false;
static constexpr std::size_t function_storage_size = 72;
};
}
using rpc_session_args_udp = detail::template_args_rpc_session<asio2::net_protocol::udp>;
using rpc_session_args_tcp = detail::template_args_rpc_session<asio2::net_protocol::tcp>;
using rpc_session_args_ws = detail::template_args_rpc_session<asio2::net_protocol::ws >;
template<class derived_t, class executor_t>
using rpc_session_impl_t = detail::rpc_session_impl_t<derived_t, executor_t>;
template<class derived_t, asio2::net_protocol np> class rpc_session_t;
template<class derived_t>
class rpc_session_t<derived_t, asio2::net_protocol::udp> : public detail::rpc_session_impl_t<derived_t,
detail::udp_session_impl_t<derived_t, detail::template_args_rpc_session<asio2::net_protocol::udp>>>
{
public:
using detail::rpc_session_impl_t<derived_t, detail::udp_session_impl_t<
derived_t, detail::template_args_rpc_session<asio2::net_protocol::udp>>>::rpc_session_impl_t;
};
template<class derived_t>
class rpc_session_t<derived_t, asio2::net_protocol::tcp> : public detail::rpc_session_impl_t<derived_t,
detail::tcp_session_impl_t<derived_t, detail::template_args_rpc_session<asio2::net_protocol::tcp>>>
{
public:
using detail::rpc_session_impl_t<derived_t, detail::tcp_session_impl_t<
derived_t, detail::template_args_rpc_session<asio2::net_protocol::tcp>>>::rpc_session_impl_t;
};
template<class derived_t>
class rpc_session_t<derived_t, asio2::net_protocol::ws> : public detail::rpc_session_impl_t<derived_t,
detail::ws_session_impl_t<derived_t, detail::template_args_rpc_session<asio2::net_protocol::ws>>>
{
public:
using detail::rpc_session_impl_t<derived_t, detail::ws_session_impl_t<
derived_t, detail::template_args_rpc_session<asio2::net_protocol::ws>>>::rpc_session_impl_t;
};
template<asio2::net_protocol np>
class rpc_session_use : public rpc_session_t<rpc_session_use<np>, np>
{
public:
using rpc_session_t<rpc_session_use<np>, np>::rpc_session_t;
};
using rpc_kcp_session = rpc_session_use<asio2::net_protocol::udp>;
#if !defined(ASIO2_USE_WEBSOCKET_RPC)
/// Using tcp dgram mode as the underlying communication support
using rpc_session = rpc_session_use<asio2::net_protocol::tcp>;
#else
/// Using websocket as the underlying communication support
using rpc_session = rpc_session_use<asio2::net_protocol::ws>;
#endif
}
#if defined(ASIO2_INCLUDE_RATE_LIMIT)
#include <asio2/tcp/tcp_stream.hpp>
namespace asio2
{
struct rpc_rate_session_args_tcp : public rpc_session_args_tcp
{
using socket_t = asio2::tcp_stream<asio2::simple_rate_policy>;
};
struct rpc_rate_session_args_ws : public rpc_session_args_ws
{
using socket_t = asio2::tcp_stream<asio2::simple_rate_policy>;
using stream_t = websocket::stream<socket_t&>;
};
template<class derived_t, asio2::net_protocol np> class rpc_rate_session_t;
template<class derived_t>
class rpc_rate_session_t<derived_t, asio2::net_protocol::tcp> : public detail::rpc_session_impl_t<derived_t,
detail::tcp_session_impl_t<derived_t, rpc_rate_session_args_tcp>>
{
public:
using detail::rpc_session_impl_t<derived_t,
detail::tcp_session_impl_t<derived_t, rpc_rate_session_args_tcp>>::rpc_session_impl_t;
};
template<class derived_t>
class rpc_rate_session_t<derived_t, asio2::net_protocol::ws> : public detail::rpc_session_impl_t<derived_t,
detail::ws_session_impl_t<derived_t, rpc_rate_session_args_ws>>
{
public:
using detail::rpc_session_impl_t<derived_t,
detail::ws_session_impl_t<derived_t, rpc_rate_session_args_ws>>::rpc_session_impl_t;
};
template<asio2::net_protocol np>
class rpc_rate_session_use : public rpc_rate_session_t<rpc_rate_session_use<np>, np>
{
public:
using rpc_rate_session_t<rpc_rate_session_use<np>, np>::rpc_rate_session_t;
};
#if !defined(ASIO2_USE_WEBSOCKET_RPC)
/// Using tcp dgram mode as the underlying communication support
using rpc_rate_session = rpc_rate_session_use<asio2::net_protocol::tcp>;
#else
/// Using websocket as the underlying communication support
using rpc_rate_session = rpc_rate_session_use<asio2::net_protocol::ws>;
#endif
}
#endif
#include <asio2/base/detail/pop_options.hpp>
#endif
#endif // !__ASIO2_RPC_SESSION_HPP__
|
765a53757fe299e9902f716e48cdf6de9831d1f2
|
0f08276e557de8437759659970efc829a9cbc669
|
/tests/p74.cpp
|
aef1b9bc793d0db384982be2aa523ac650fd9732
|
[] |
no_license
|
petru-d/leetcode-solutions-reboot
|
4fb35a58435f18934b9fe7931e01dabcc9d05186
|
680dc63d24df4c0cc58fcad429135e90f7dfe8bd
|
refs/heads/master
| 2023-06-14T21:58:53.553870
| 2021-07-11T20:41:57
| 2021-07-11T20:41:57
| 250,795,996
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 590
|
cpp
|
p74.cpp
|
#include "pch.h"
#include "../problems/p74.h"
TEST(p74, t0)
{
p74::Solution s;
std::vector<std::vector<int>> mat = {{1, 3, 5, 7}, {10, 11, 16, 20}, {23, 30, 34, 50}};
auto res = s.searchMatrix(mat, 3);
EXPECT_TRUE(res);
}
TEST(p74, t1)
{
p74::Solution s;
std::vector<std::vector<int>> mat = {{1, 3, 5, 7}, {10, 11, 16, 20}, {23, 30, 34, 50}};
auto res = s.searchMatrix(mat, 13);
EXPECT_FALSE(res);
}
TEST(p74, t2)
{
p74::Solution s;
std::vector<std::vector<int>> mat = {};
auto res = s.searchMatrix(mat, 0);
EXPECT_FALSE(res);
}
|
9c2d4a2fdbc62ea2528be717f64187b39fd30fe6
|
5aa338927cc045e2cf92c95ab0a4ecaa03f378c5
|
/USACO/2016-2017 Season/January/Bronze/notlast.cpp
|
08b8b39cfa941c53ed727d157ddaedda8b2c5813
|
[] |
no_license
|
walnutwaldo/Programming_Contests
|
40cc236a1336be881aad82867be96ef52aaf2c5e
|
cd83bdb117d82b0eeb89701ed4ea719fe80313a8
|
refs/heads/master
| 2022-12-11T13:17:09.867234
| 2022-12-04T16:03:49
| 2022-12-04T16:03:49
| 98,487,399
| 28
| 5
| null | 2017-12-24T02:57:21
| 2017-07-27T02:56:50
|
C++
|
UTF-8
|
C++
| false
| false
| 1,423
|
cpp
|
notlast.cpp
|
#include <bits/stdc++.h>
#define SQ(a) (a)*(a)
#define F0R(i, a) for(int i = 0; i < (a); i++)
#define FOR(i, a, b) for(int i = (a); i < (b); i++)
#define R0F(i, a) for(int i = (a) - 1; i >= 0; i--)
#define ROF(i, a, b) for(int i = (a) - 1; i >= (b); i--)
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define MT make_tuple
#define UB upper_bound
#define LB lower_bound
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef vector<int> vi;
int n;
string names[7] {"Bessie", "Elsie", "Daisy", "Gertie", "Annabelle", "Maggie", "Henrietta"};
unordered_map<string, int> production;
int main() {
ifstream fin("notlast.in");
ofstream fout("notlast.out");
fin >> n;
F0R(i, 7) production[names[i]] = 0;
F0R(i, n) {
string s;
int p;
fin >> s >> p;
production[s] += p;
}
int minP = production[names[0]];
F0R(i, 7) minP = min(minP, production[names[i]]);
string second = "";
F0R(i, 7) {
if(production[names[i]] > minP && (second == "" || production[names[i]] <= production[second])) {
if(second != "" && production[second] == production[names[i]]) {
fout << "Tie\n";
return 0;
}
second = names[i];
}
}
if(second == "") fout << "Tie\n";
else fout << second << endl;
return 0;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.