blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
703db9fb4943600a0affa9f970cc39e7127086ab | e08133f5d23d75e467dc2842f91371222929685a | /submission/src/material.hpp | ca49c524793230a7fcdc28821b04e3953d83a774 | [] | no_license | sork01/grafikprojekt | d59aa7da8b63ad2471365a833cdac58b8f2a76f2 | 3bc990f2853e240a474ce9e0c88b5927f32611d5 | refs/heads/main | 2023-03-01T07:32:30.073842 | 2021-02-13T09:26:30 | 2021-02-13T09:26:30 | 338,538,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | hpp |
// *neode.onsave* setgo gcc -I/usr/include/glm -fsyntax-only material.hpp
#ifndef HAVE_MATERIAL_H
#define HAVE_MATERIAL_H
#include "glm.hpp"
#include "texture.hpp"
using glm::vec3;
/**
* Material is a structure for everything relevant to the material system
* Every Intersection contains a Material instance, giving the material properties
* of the intersected object at the point of intersection.
*/
class Material
{
public:
/**
* Create a new default material
*/
Material();
/**
* Create a new material with a given color. The color is applied to the ambient and diffuse components
*/
Material(vec3 color);
virtual ~Material();
/**
* Index of refraction
*/
float refraction = 1.0f;
/**
* Opacity/transparency. Range of each component is [0,1] where (0,0,0) indicates a fully transparent material
*/
vec3 opacity = vec3(1.0f);
/**
* Specular (mirror-like) reflection. Range of each component is [0,1] where (1,1,1) indicates a perfect mirror
*/
vec3 reflectivity = vec3(0.0f);
/**
* Metallic reflection mode. If true, any color reflected by this material should be heavily
* tinted by the diffuse color of this material.
*/
bool metallic = false;
/**
* Base Phong illumination specular color factors, or weights on texture colors if using a specular texture
*/
vec3 specularFactors = vec3(0.01f);
/**
* Base Phong illumination diffuse color factors, or weights on texture colors if using a diffuse texture
*/
vec3 diffuseFactors = vec3(0.5f);
/**
* Base Phong illumination ambient color factors, or weight on texture colors if using an ambient texture
*/
vec3 ambientFactors = vec3(0.5f);
/**
* Specular texture, colors weighted by specularFactors
*/
Texture* specularTexture = nullptr;
/**
* Diffuse texture, colors weighted by diffuseFactors
*/
Texture* diffuseTexture = nullptr;
/**
* Ambient texture, colors weighted by ambientFactors
*/
Texture* ambientTexture = nullptr;
/**
* Phong illumination shininess parameter
*/
float shininess = 1.0f;
};
#endif
| [
"ro.gunning@gmail.com"
] | ro.gunning@gmail.com |
e597081a0dc6e074e283c9faccd8875c029e2792 | 2ec89b56385de7afac23e18b5b97d08e35a46e02 | /contrib/epee/include/storages/parserse_base_utils.h | 1a9b4861bc58bef6de8c13e48be3471d44045515 | [
"BSD-3-Clause",
"MIT"
] | permissive | etcoin-project/etcoin | 05a6d2f7c1eddbeb0b42c4778d060b02d07398e2 | c87538d8f64b91eef7ce40f438b85b13e7f0332e | refs/heads/master | 2022-12-03T00:16:18.281347 | 2020-08-20T08:20:05 | 2020-08-20T08:20:05 | 268,973,844 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,808 | h | // Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the name of the Andrey N. Sabelnikov 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 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 <algorithm>
#include <boost/utility/string_ref.hpp>
#include "misc_log_ex.h"
#undef ETCOIN_DEFAULT_LOG_CATEGORY
#define ETCOIN_DEFAULT_LOG_CATEGORY "serialization"
namespace epee
{
namespace misc_utils
{
namespace parse
{
// 1: digit
// 2: .eE (floating point)
// 4: alpha
// 8: whitespace
// 16: allowed in float but doesn't necessarily mean it's a float
// 32: \ and " (end of verbatim string)
static const constexpr uint8_t lut[256]={
0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, 8, 0, 0, // 16
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 32
8, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 16, 18, 0, // 48
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 0, 0, 0, // 64
0, 4, 4, 4, 4, 22, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 80
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 32, 0, 0, 0, // 96
0, 4, 4, 4, 4, 22, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // 112
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, // 128
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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,
};
static const constexpr unsigned char isx[256] =
{
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 10, 11, 12, 13, 14, 15, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 10, 11, 12, 13, 14, 15, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
};
inline bool isspace(char c)
{
return lut[(uint8_t)c] & 8;
}
inline bool isdigit(char c)
{
return lut[(uint8_t)c] & 1;
}
inline std::string transform_to_escape_sequence(const std::string& src)
{
static const char escaped[] = "\b\f\n\r\t\v\"\\/";
std::string::const_iterator it = std::find_first_of(src.begin(), src.end(), escaped, escaped + sizeof(escaped));
if (it == src.end())
return src;
std::string res;
res.reserve(2 * src.size());
res.assign(src.begin(), it);
for(; it!=src.end(); ++it)
{
switch(*it)
{
case '\b': //Backspace (ascii code 08)
res+="\\b"; break;
case '\f': //Form feed (ascii code 0C)
res+="\\f"; break;
case '\n': //New line
res+="\\n"; break;
case '\r': //Carriage return
res+="\\r"; break;
case '\t': //Tab
res+="\\t"; break;
case '\v': //Vertical tab
res+="\\v"; break;
//case '\'': //Apostrophe or single quote
// res+="\\'"; break;
case '"': //Double quote
res+="\\\""; break;
case '\\': //Backslash caracter
res+="\\\\"; break;
case '/': //Backslash caracter
res+="\\/"; break;
default:
res.push_back(*it);
}
}
return res;
}
/*
\b Backspace (ascii code 08)
\f Form feed (ascii code 0C)
\n New line
\r Carriage return
\t Tab
\v Vertical tab
\' Apostrophe or single quote
\" Double quote
\\ Backslash character
*/
inline void match_string2(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, std::string& val)
{
bool escape_mode = false;
std::string::const_iterator it = star_end_string;
++it;
std::string::const_iterator fi = it;
while (fi != buf_end && ((lut[(uint8_t)*fi] & 32)) == 0)
++fi;
val.assign(it, fi);
it = fi;
for(;it != buf_end;it++)
{
if(escape_mode/*prev_ch == '\\'*/)
{
switch(*it)
{
case 'b': //Backspace (ascii code 08)
val.push_back(0x08);break;
case 'f': //Form feed (ascii code 0C)
val.push_back(0x0C);break;
case 'n': //New line
val.push_back('\n');break;
case 'r': //Carriage return
val.push_back('\r');break;
case 't': //Tab
val.push_back('\t');break;
case 'v': //Vertical tab
val.push_back('\v');break;
case '\'': //Apostrophe or single quote
val.push_back('\'');break;
case '"': //Double quote
val.push_back('"');break;
case '\\': //Backslash character
val.push_back('\\');break;
case '/': //Slash character
val.push_back('/');break;
case 'u': //Unicode code point
if (buf_end - it < 4)
{
ASSERT_MES_AND_THROW("Invalid Unicode escape sequence");
}
else
{
uint32_t dst = 0;
for (int i = 0; i < 4; ++i)
{
const unsigned char tmp = isx[(unsigned char)*++it];
CHECK_AND_ASSERT_THROW_MES(tmp != 0xff, "Bad Unicode encoding");
dst = dst << 4 | tmp;
}
// encode as UTF-8
if (dst <= 0x7f)
{
val.push_back(dst);
}
else if (dst <= 0x7ff)
{
val.push_back(0xc0 | (dst >> 6));
val.push_back(0x80 | (dst & 0x3f));
}
else if (dst <= 0xffff)
{
val.push_back(0xe0 | (dst >> 12));
val.push_back(0x80 | ((dst >> 6) & 0x3f));
val.push_back(0x80 | (dst & 0x3f));
}
else
{
ASSERT_MES_AND_THROW("Unicode code point is out or range");
}
}
break;
default:
val.push_back(*it);
LOG_PRINT_L0("Unknown escape sequence :\"\\" << *it << "\"");
}
escape_mode = false;
}else if(*it == '"')
{
star_end_string = it;
return;
}else if(*it == '\\')
{
escape_mode = true;
}
else
{
val.push_back(*it);
}
}
ASSERT_MES_AND_THROW("Failed to match string in json entry: " << std::string(star_end_string, buf_end));
}
inline bool match_string(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, std::string& val)
{
try
{
match_string2(star_end_string, buf_end, val);
return true;
}
catch(...)
{
return false;
}
}
inline void match_number2(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, boost::string_ref& val, bool& is_float_val, bool& is_signed_val)
{
val.clear();
uint8_t float_flag = 0;
is_signed_val = false;
size_t chars = 0;
std::string::const_iterator it = star_end_string;
if (it != buf_end && *it == '-')
{
is_signed_val = true;
++chars;
++it;
}
for(;it != buf_end;it++)
{
const uint8_t flags = lut[(uint8_t)*it];
if (flags & 16)
{
float_flag |= flags;
++chars;
}
else
{
val = boost::string_ref(&*star_end_string, chars);
if(val.size())
{
star_end_string = --it;
is_float_val = !!(float_flag & 2);
return;
}
else
ASSERT_MES_AND_THROW("wrong number in json entry: " << std::string(star_end_string, buf_end));
}
}
ASSERT_MES_AND_THROW("wrong number in json entry: " << std::string(star_end_string, buf_end));
}
inline bool match_number(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, boost::string_ref& val)
{
try
{
bool is_v_float = false;bool is_signed_val = false;
match_number2(star_end_string, buf_end, val, is_v_float, is_signed_val);
return !is_v_float;
}
catch(...)
{
return false;
}
}
inline void match_word2(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, boost::string_ref& val)
{
val.clear();
for(std::string::const_iterator it = star_end_string;it != buf_end;it++)
{
if (!(lut[(uint8_t)*it] & 4))
{
val = boost::string_ref(&*star_end_string, std::distance(star_end_string, it));
if(val.size())
{
star_end_string = --it;
return;
}else
ASSERT_MES_AND_THROW("failed to match word number in json entry: " << std::string(star_end_string, buf_end));
}
}
ASSERT_MES_AND_THROW("failed to match word number in json entry: " << std::string(star_end_string, buf_end));
}
inline bool match_word(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, boost::string_ref& val)
{
try
{
match_word2(star_end_string, buf_end, val);
return true;
}
catch(...)
{
return false;
}
}
inline bool match_word_with_extrasymb(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, std::string& val)
{
val.clear();
for(std::string::const_iterator it = star_end_string;it != buf_end;it++)
{
if(!isalnum(*it) && *it != '-' && *it != '_')
{
val.assign(star_end_string, it);
if(val.size())
{
star_end_string = --it;
return true;
}else
return false;
}
}
return false;
}
inline bool match_word_til_equal_mark(std::string::const_iterator& star_end_string, std::string::const_iterator buf_end, std::string::const_iterator& word_end)
{
word_end = star_end_string;
for(std::string::const_iterator it = star_end_string;it != buf_end;it++)
{
if(isspace(*it))
{
continue;
}else if( *it == '=' )
{
star_end_string = it;
word_end = it;
return true;
}
}
return false;
}
}
}
}
| [
"dev@etcoin.xyz"
] | dev@etcoin.xyz |
563e34cb1cee630637a2dff926ad5eb564b15729 | cd1331017b2edc39195b705b782d5d57211058e0 | /source/src/Polarization.cpp | 179d024d93320fb132bdbb026da2badf089a6d6f | [
"BSD-3-Clause"
] | permissive | cpawley/ostap | 046456d192e7bf3be3d2c85f213cdb9e58a3eaba | da561c52c6c62a8586f13bb2fa1a678715966c0b | refs/heads/master | 2020-04-27T18:40:04.703080 | 2019-03-08T18:21:10 | 2019-03-08T18:21:10 | 174,581,654 | 0 | 0 | BSD-3-Clause | 2019-03-08T17:37:14 | 2019-03-08T17:37:14 | null | UTF-8 | C++ | false | false | 14,138 | cpp | // ============================================================================
// Include files
// ============================================================================
// STD&STL
// ============================================================================
#include <cmath>
#include <climits>
// ============================================================================
// Ostap
// ============================================================================
#include "Ostap/Polarization.h"
#include "Ostap/Tensors.h"
// ============================================================================
// ROOT
// ============================================================================
#include "Math/Boost.h"
// ============================================================================
/** @file
* Implementation file for functions from namespace Ostap::Polarization
* @date 2018-03-20
* @author Vanya Belyaev Ivan.Belyaev@itep.ru
*/
// ============================================================================
namespace
{
// ==========================================================================
static_assert ( std::numeric_limits<float> ::is_specialized ,
"std::numeric_limits<float> is not specialized" ) ;
/// large negative number
constexpr double s_INVALID = -0.9 * std::numeric_limits<float>::max () ;
static_assert ( s_INVALID < 0 , "invalid negative number" ) ;
// ==========================================================================
}
// ============================================================================
/* Boost LorentzVector into rest-frame of another Lorentz vector
* @param what the vextro to be bosted
* @param frame the 4-vector of the frame
* @return boosted vector
*/
// ============================================================================
Ostap::LorentzVector Ostap::Math::boost
( const Ostap::LorentzVector& what ,
const Ostap::LorentzVector& frame )
{
const ROOT::Math::Boost b { frame.BoostToCM() } ;
return b ( what ) ;
}
// ============================================================================
/* simple function which evaluates the magnitude of 3-momentum
* of particle "v" in the rest system of particle "M"
*
* \f$ \left|\vec{p}\right|
* \sqrt{ \frac{\left(v\cdot M\right)^2}{M^2} -v^2} \f$
*
* @attention particle M must be time-like particle!
* @param v the vector to be checked
* @param M the defintion of "rest"-system
* @return the magnitude of 3D-momentum of v in rest-frame of M
* @date 2008-07-27
*/
// ============================================================================
double Ostap::Math::restMomentum
( const Ostap::LorentzVector& v ,
const Ostap::LorentzVector& M )
{
const double M2 = M.M2 ( ) ;
if ( 0 >= M2 ) { return s_INVALID ; } // ATTENTION!
const double vM = v.Dot(M) ;
const double P2 = vM * vM / M2 - v.M2() ;
if ( 0 > P2 ) { return s_INVALID ; } // ATTENTION!
return 0 <= P2 ? std::sqrt ( P2 ) : -std::sqrt ( std::abs ( P2 ) ) ;
}
// ============================================================================
/* simple function which evaluates the energy
* of particle "v" in the rest system of particle "M"
*
* \f$ e = \frac{v\cdot M}{\sqrt{M^2}} \f$
*
* @attention particle M must be time-like particle: M^2 > 0 !
* @param v the vector to be checked
* @param M the defintion of "rest"-system
* @return the energy of v in rest-frame of M
* @author Vanya BELYAEV Ivan.BElyaev@nikhef.nl
* @date 2008-07-27
*/
// ============================================================================
double Ostap::Math::restEnergy
( const Ostap::LorentzVector& v ,
const Ostap::LorentzVector& M )
{
const double M2 = M.M2 () ;
if ( 0 >= M2 ) { return s_INVALID ; } // RETURN
// evaluate the energy
return v.Dot( M ) / std::sqrt ( M2 ) ;
}
// ============================================================================
/* simple function for evaluation of the euclidiam norm
* for LorentzVectors
* (E**2+Px**2+Py**2+Pz**2)
* @param vct the vector
* @return euclidian norm squared
* @date 2006-01-17
*/
// ============================================================================
double Ostap::Math::euclidianNorm2 ( const Ostap::LorentzVector& vct )
{
return
vct.e() * vct.e() +
vct.x() * vct.x() +
vct.y() * vct.y() +
vct.z() * vct.z() ;
}
// ============================================================================
namespace
{
typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<long double> > LV ;
// ==========================================================================
Ostap::Math::Polarization::Frame
_frame_ ( const long double az ,
const long double bz ,
const LV& AT ,
const LV& BT ,
const LV& P ,
const Ostap::Math::Polarization::UseMadisonConvention madison )
{
const LV Z ( az * AT + bz * BT ) ;
//
const long double atat = AT.M2 ( ) ;
const long double atbt = AT.Dot ( BT ) ;
const long double btbt = BT.M2 ( ) ;
//
const long double ax = -az * atbt - bz * btbt ;
const long double bx = az * atat + bz * atbt ;
//
LV X ( ax * AT + bx * BT ) ;
//
const long double ixm = madison ? 1 / std::abs ( X.M() ) : -1 / std::abs ( X.M() ) ;
if ( 0 < az * bx - ax * bz ) { X *= ixm ; }
else { X *= -ixm ; }
//
// const short s = 0 < az * bx - ax * bz ? 1 : -1 ;
// const LV X ( ( s * ax ) * AT + ( s * bx ) * BT ) ;
//
const long double im = 1/P.M() ;
const LV Y ( Ostap::Math::Tensors::Epsilon::epsilon( P , X , Z ) * -im ) ;
//
typedef Ostap::LorentzVector VL ;
return {{ VL( X ) , VL( Y ) , VL ( Z ) ,
VL ( Ostap::Math::Tensors::Epsilon::epsilon ( X , Y , Z ) ) }} ;
}
// ==========================================================================
}
// ============================================================================
/* get three axes for polarization frame
* @param f the frame
* @param P 4-momenta of the particle
* @param beam1 4-momenta of the first colliding particle
* @param beam2 4-momenta of the second colliding particle
* @param madison use Madison convention?
* @return three polarization axes: x,y&z
*/
// ============================================================================
Ostap::Math::Polarization::Frame
Ostap::Math::Polarization::frame
( const Ostap::Math::Polarization::Frames f ,
const Ostap::LorentzVector& p ,
const Ostap::LorentzVector& beam1 ,
const Ostap::LorentzVector& beam2 ,
const Ostap::Math::Polarization::UseMadisonConvention madison )
{
//
const LV P1 ( beam1 ) ;
const LV P2 ( beam2 ) ;
const LV A ( P1 + P2 ) ;
const LV B ( P1 - P2 ) ;
const LV P ( p ) ;
/// the particle mass squared
const long double M2 = P.M2() ;
const long double AP = A.Dot ( P ) ;
const long double BP = B.Dot ( P ) ;
const LV AT ( A - ( AP / M2 ) * P ) ;
const LV BT ( B - ( BP / M2 ) * P ) ;
//
switch ( f )
{
// ========================================================================
case Ostap::Math::Polarization::Frames::GottfriedJackson :
{
const long double az_GJ = -1/(AT+BT).M() ; // ATTENTION HERE!
const long double bz_GJ = az_GJ ; // ATTENTION HERE!
return _frame_ ( az_GJ , bz_GJ , AT , BT , P , madison ) ;
}
// ========================================================================
case Ostap::Math::Polarization::Frames::Target :
{
const long double az_TA = 1 / ( AT - BT ) . M() ; // ATTENTION HERE!
const long double bz_TA = -az_TA ; // ATTENTION HERE!
return _frame_ ( az_TA , bz_TA , AT , BT , P , madison ) ;
}
// ========================================================================
case Ostap::Math::Polarization::Frames::CollinsSoper :
{
const long double c1 = 1/(AT-BT).M() ;
const long double c2 = 1/(AT+BT).M() ;
const long double a1 = c1 - c2 ;
const long double a2 = c1 + c2 ;
const long double d = 1 / ( a1 * AT - a2 * BT ).M() ;
const long double az_CS = -a1 * d ; // ATTENTION HERE
const long double bz_CS = a2 * d ; // ATTENTION HERE
return _frame_ ( az_CS , bz_CS , AT , BT , P , madison ) ;
}
case Ostap::Math::Polarization::Frames::Recoil : ;
default : ;
}
// ==========================================================================
/// helicity frame:
const long double az_HX = 1 / AT.M() ; // ATTENTION HERE!
const long double bz_HX = 0 ; // ATTENTION HERE!
//
return _frame_ ( az_HX , bz_HX , AT , BT , P , madison ) ;
}
// ============================================================================
/* get the direction cosines of the particle direction
* in the specified reference frame
* @param p the particle
* @param f the frame
* @return direction cosines
*/
// ============================================================================
Ostap::Math::Polarization::Cosines
Ostap::Math::Polarization::cosines
( const Ostap::LorentzVector& p ,
const Ostap::Math::Polarization::Frame& f )
{
const double irm = -1 / restMomentum ( p , f[3] ) ;
return {{ f[0].Dot(p)*irm , f[1].Dot(p)*irm ,f[2].Dot(p)*irm }} ;
}
// ============================================================================
/* get the direction cosines of the particle direction
* in the rest frame of particle m, and the beam-momenta p1& p2
* @param p the particle
* @param f the frame
* @param m the particle that defined the frame
* @param p1 4-momenta of the first colliding particle
* @param p2 4-momenta of the second colliding particle
* @param madison use Madison convention?
* @return \$ (\cos \theta,\phi)\$ structure
*/
// ============================================================================
Ostap::Math::Polarization::Cosines
Ostap::Math::Polarization::cosines
( const Ostap::LorentzVector& p ,
const Ostap::Math::Polarization::Frames f ,
const Ostap::LorentzVector& m ,
const Ostap::LorentzVector& beam1 ,
const Ostap::LorentzVector& beam2 ,
const Ostap::Math::Polarization::UseMadisonConvention madison )
{ return cosines ( p , frame ( f , m , beam1 , beam2 , madison ) ) ; }
// ============================================================================
/* get the angles \$ (\cos \theta,\phi)\$ for the particle
* in the defined frame
* @param p the particle
* @param f the frame
* @return \$ (\cos \theta,\phi)\$ structure
*/
// ============================================================================
Ostap::Math::Polarization::Angles
Ostap::Math::Polarization::angles
( const Ostap::LorentzVector& p ,
const Ostap::Math::Polarization::Frame& f )
{
const Cosines cs = cosines ( p , f ) ;
return { cs[2] , std::atan2 ( cs[1] , cs[0] ) } ;
}
// ============================================================================
/* get the angles \$f(\cos \theta,\phi)\f$ for the particle
* in the rest frame of particle m, and the beam-momenta p1& p2
* @param p the particle
* @param f the frame
* @param m the particle that defined the frame
* @param p1 4-momenta of the first colliding particle
* @param p2 4-momenta of the second colliding particle
* @param madison use Madison convention?
* @return \f$ (\cos \theta,\phi)\f$ structure
*/
// ============================================================================
Ostap::Math::Polarization::Angles
Ostap::Math::Polarization::angles
( const Ostap::LorentzVector& p ,
const Ostap::Math::Polarization::Frames f ,
const Ostap::LorentzVector& m ,
const Ostap::LorentzVector& beam1 ,
const Ostap::LorentzVector& beam2 ,
const Ostap::Math::Polarization::UseMadisonConvention madison )
{ return angles ( p , frame ( f , m , beam1 , beam2 , madison ) ) ; }
// ============================================================================
/* get the polarization vectors from the frame
* @param f the frame
* @return polarization vectors (-1,0,+1)
*/
// ============================================================================
Ostap::Math::Polarization::PolVectors
Ostap::Math::Polarization::vectors
( const Ostap::Math::Polarization::Frame& f )
{
typedef Ostap::LorentzVector VL ;
typedef Ostap::ComplexLorentzVector CLV ;
const VL& ax = f[0] ;
const VL& ay = f[1] ;
const VL& az = f[2] ;
//
static const double s_isq2 = 1/std::sqrt ( 2.0 ) ;
static const std::complex<double> j { 0 , 1 } ;
return {{
CLV ( ( ax.X () - j * ay.X () ) * s_isq2 ,
( ax.Y () - j * ay.Y () ) * s_isq2 ,
( ax.Z () - j * ay.Z () ) * s_isq2 ,
( ax.T () - j * ay.T () ) * s_isq2 ) ,
CLV ( az.X() , az.Y() , az.Z() , az.T () ) ,
CLV ( ( -ax.X () - j * ay.X () ) * s_isq2 ,
( -ax.Y () - j * ay.Y () ) * s_isq2 ,
( -ax.Z () - j * ay.Z () ) * s_isq2 ,
( -ax.T () - j * ay.T () ) * s_isq2 ) }} ;
}
// ============================================================================
// ============================================================================
// The END
// ============================================================================
| [
"Ivan.Belyaev@cern.ch"
] | Ivan.Belyaev@cern.ch |
4396dc8c2c66d3857441a11be90566654d251b3d | b3439873c106d69b6ae8110c36bcd77264e8c5a7 | /server/Common/Packets/GCMissionList.cpp | dd56abc6dbb7ff20bcca8213cb90121454b5efdb | [] | no_license | cnsuhao/web-pap | b41356411dc8dad0e42a11e62a27a1b4336d91e2 | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | refs/heads/master | 2021-05-28T01:01:18.122567 | 2013-11-19T06:49:41 | 2013-11-19T06:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include "stdafx.h"
// GCMissionList.cpp
//
/////////////////////////////////////////////////////
#include "GCMissionList.h"
using namespace Packets;
BOOL GCMissionList::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(m_ObjID));
iStream.Read( (CHAR*)(&m_uMissionListFlags), sizeof(m_uMissionListFlags) );
iStream.Read( (CHAR*)(&m_listMission), sizeof(_MISSION_LIST));
//BYTE i;
//for ( i = 0; i < MAX_CHAR_MISSION_NUM; i++ )
//{
// if ( m_uMissionListFlags & (0x00000001 << i) )
// {
// iStream.Read( (CHAR*)(&m_listMission.m_aMission[i]), sizeof(_OWN_MISSION));
// }
//}
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
BOOL GCMissionList::Write( SocketOutputStream& oStream )const
{
__ENTER_FUNCTION
oStream.Write( (CHAR*)(&m_ObjID), sizeof(m_ObjID));
oStream.Write( (CHAR*)(&m_uMissionListFlags), sizeof(m_uMissionListFlags) );
oStream.Write( (CHAR*)(&m_listMission), sizeof(_MISSION_LIST));
//BYTE i;
//for ( i = 0; i < MAX_CHAR_MISSION_NUM; i++ )
//{
// if ( m_uMissionListFlags & (0x00000001 << i) )
// {
// oStream.Write( (CHAR*)(&m_listMission.m_aMission[i]), sizeof(_OWN_MISSION));
// }
//}
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}
UINT GCMissionList::Execute( Player* pPlayer )
{
__ENTER_FUNCTION
return GCMissionListHandler::Execute( this, pPlayer ) ;
__LEAVE_FUNCTION
return FALSE ;
}
| [
"viticm@126.com"
] | viticm@126.com |
a0715a65b5123b474750c679021bcf757b0575bf | c5cd6140b8fe24723d6791ac6c81cfa94ce841e3 | /DBMS/DBMS源代码/mainwindow.cpp | e0f3deaea415619b6ca65953cc7af7b2fb04da00 | [] | no_license | bugaosuni59/homework-DB | ccd3f655a11dedc245952a4a0d75a0a7beee72ce | 22888e1569a8c62e9b432288260785e1ef20ed61 | refs/heads/master | 2021-01-20T02:44:02.922854 | 2017-06-20T15:05:32 | 2017-06-20T15:05:32 | 89,446,678 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,803 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->tree->setColumnCount(1); //设置列数
ui->tree->setHeaderLabel(tr("数据库管理系统")); //设置头的标题
dbms = new DBMS();
FileController::Init(dbms);// dbms初始化
update(); // 根据dbms进行重绘
// 隐藏行标题
ui->table->verticalHeader()->hide();
//设置表格的选择方式
ui->table->setSelectionBehavior(QAbstractItemView::SelectRows);
//设置编辑方式
ui->table->setEditTriggers(QAbstractItemView::DoubleClicked);
ui->splitter1->setStretchFactor(0, 2);
ui->splitter1->setStretchFactor(1, 1);
ui->splitter2->setStretchFactor(0, 1);
ui->splitter2->setStretchFactor(1, 3);
// 暂时设定为不可修改,更新功能后将废除
ui->table->setEditTriggers(QAbstractItemView::NoEditTriggers); // 不可更改
ui->table2->setEditTriggers(QAbstractItemView::NoEditTriggers); // 不可更改
ui->lineEdit->setFocus();
connect(ui->tree, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(treeclicked(QTreeWidgetItem*)));
}
void MainWindow::updatecard1(int dbid,int tblid){
// 字段名称、类型
tblmsg.clear();
QStringList headerLabels;
headerLabels << "字段名" << "类型"<<"非空"<<"主键"<<"默认值";
ui->table->setHorizontalHeaderLabels(headerLabels);
ui->table->setRowCount(dbms->db[dbid].table[tblid].ncol);
for(int i=0;i<dbms->db[dbid].table[tblid].ncol;i++){
vector<QTableWidgetItem*> vec;
QTableWidgetItem* item1=new QTableWidgetItem;
QTableWidgetItem* item2=new QTableWidgetItem;
item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
item2->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
QString q1="";
QString q2="";
q1+=dbms->db[dbid].table[tblid].colname[i].data();
q2+=dbms->db[dbid].table[tblid].coltype[i].data();
item1->setText(q1);
item2->setText(q2);
ui->table->setItem(i, 0, item1);
ui->table->setItem(i, 1, item2);
vec.push_back(item1);
vec.push_back(item2);
tblmsg.push_back(vec);
}
ui->tabWidget->setCurrentIndex(0);
}
void MainWindow::updatecard2(int dbid,int tblid){
// 刷记录
recordmsg.clear();
QStringList headerLabels;
for(int i=0;i<dbms->db[dbid].table[tblid].ncol;i++){
headerLabels<<dbms->db[dbid].table[tblid].colname[i].data();
}
ui->table2->setColumnCount(dbms->db[dbid].table[tblid].ncol);
ui->table2->setRowCount(dbms->db[dbid].table[tblid].nrow);
ui->table2->setHorizontalHeaderLabels(headerLabels);
for(int i=0;i<dbms->db[dbid].table[tblid].nrow;i++){
vector<QTableWidgetItem*> vec;
for(int j=0;j<dbms->db[dbid].table[tblid].ncol;j++){
QTableWidgetItem* item1=new QTableWidgetItem;
item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
QString q1="";
q1+=dbms->db[dbid].table[tblid].record[i][j].data();
item1->setText(q1);
ui->table2->setItem(i, j, item1);
vec.push_back(item1);
}tblmsg.push_back(vec);
}
ui->tabWidget->setCurrentIndex(1);
}
void MainWindow::updatecard2(int dbid,int tblid,vector<int> rowid){
// 刷记录
recordmsg.clear();
QStringList headerLabels;
for(int i=0;i<dbms->db[dbid].table[tblid].ncol;i++){
headerLabels<<dbms->db[dbid].table[tblid].colname[i].data();
}
ui->table2->setColumnCount(dbms->db[dbid].table[tblid].ncol);
ui->table2->setRowCount(rowid.size());
ui->table2->setHorizontalHeaderLabels(headerLabels);
// for(int i=0;i<dbms->db[dbid].table[tblid].nrow;i++){
// vector<QTableWidgetItem*> vec;
// for(int j=0;j<dbms->db[dbid].table[tblid].ncol;j++){
// QTableWidgetItem* item1=new QTableWidgetItem;
// item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
// QString q1="";
// q1+=dbms->db[dbid].table[tblid].record[i][j].data();
// item1->setText(q1);
// ui->table2->setItem(i, j, item1);
// vec.push_back(item1);
// }tblmsg.push_back(vec);
// }
for(int i=0;i<rowid.size();i++){
vector<QTableWidgetItem*> vec;
for(int j=0;j<dbms->db[dbid].table[tblid].ncol;j++){
QTableWidgetItem* item1=new QTableWidgetItem;
item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
QString q1="";
q1+=dbms->db[dbid].table[tblid].record[rowid[i]][j].data();
item1->setText(q1);
ui->table2->setItem(i, j, item1);
vec.push_back(item1);
}tblmsg.push_back(vec);
}
ui->tabWidget->setCurrentIndex(1);
}
void MainWindow::updatecard2(int dbid,int tblid,vector<int> colid,bool a){
recordmsg.clear();
QStringList headerLabels;
for(int i=0;i<colid.size();i++){
headerLabels<<dbms->db[dbid].table[tblid].colname[colid[i]].data();
}
ui->table2->setColumnCount(colid.size());
ui->table2->setRowCount(dbms->db[dbid].table[tblid].nrow);
ui->table2->setHorizontalHeaderLabels(headerLabels);
for(int i=0;i<dbms->db[dbid].table[tblid].nrow;i++){
vector<QTableWidgetItem*> vec;
for(int j=0;j<colid.size();j++){
QTableWidgetItem* item1=new QTableWidgetItem;
item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
QString q1="";
q1+=dbms->db[dbid].table[tblid].record[i][colid[j]].data();
item1->setText(q1);
ui->table2->setItem(i, j, item1);
vec.push_back(item1);
}tblmsg.push_back(vec);
}
ui->tabWidget->setCurrentIndex(1);
}
void MainWindow::updatecard2(int dbid,int tblid,vector<int> rowid,vector<int> colid){
recordmsg.clear();
QStringList headerLabels;
for(int i=0;i<colid.size();i++){
headerLabels<<dbms->db[dbid].table[tblid].colname[colid[i]].data();
}
ui->table2->setColumnCount(colid.size());
ui->table2->setRowCount(rowid.size());
ui->table2->setHorizontalHeaderLabels(headerLabels);
for(int i=0;i<rowid.size();i++){
vector<QTableWidgetItem*> vec;
for(int j=0;j<colid.size();j++){
QTableWidgetItem* item1=new QTableWidgetItem;
item1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
QString q1="";
q1+=dbms->db[dbid].table[tblid].record[rowid[i]][colid[j]].data();
item1->setText(q1);
ui->table2->setItem(i, j, item1);
vec.push_back(item1);
}tblmsg.push_back(vec);
}
ui->tabWidget->setCurrentIndex(1);
}
void MainWindow::updatecard2(vector<vector<QString>> rec){
}
// 根据dbms进行重绘
void MainWindow::update(){
ui->tree->clear();
ui->table->clear();
//设置表格列标题
QStringList headerLabels;
headerLabels << "字段名" << "类型"<<"非空"<<"主键"<<"默认值";
ui->table->setHorizontalHeaderLabels(headerLabels);
// treeitem.clear();
// for(int i=0;i<dbms->getDbNumber();i++){
// Database tdb = dbms->getDb(i);
// vector<QTreeWidgetItem*> troot;
// QTreeWidgetItem *dbItem1 = new QTreeWidgetItem(ui->tree,QStringList(tdb.getName().data()));
// troot.push_back(dbItem1);
// for(int j=0;j<tdb.getTableNumber();j++){
// QTreeWidgetItem *item1 = new QTreeWidgetItem(treeitem[i][0],QStringList(dbms->db[i].table[j].name.data())); //子节点
// troot.push_back(item1);
// }
// treeitem.push_back(troot);
// }
treedb.clear();
treetbl.clear();
treei.clear();
treej.clear();
for(int i=0;i<dbms->n;i++){
QTreeWidgetItem *dbItem=new QTreeWidgetItem(ui->tree,QStringList(dbms->db[i].name.data()));
treedb.push_back(dbItem);
}
for(int i=0;i<dbms->n;i++){
for(int j=0;j<dbms->db[i].n;j++){
QTreeWidgetItem *tblItem=new QTreeWidgetItem(treedb[i],QStringList(dbms->db[i].table[j].name.data()));
treedb[i]->addChild(tblItem);
treei.push_back(i);
treej.push_back(j);
treetbl.push_back(tblItem);
}
}
}
MainWindow::~MainWindow()
{
delete ui;
}
// 菜单-系统-退出
void MainWindow::on_action_X_triggered()
{
exit(0);
}
// 树上的某个节点被点击,刷新右侧两个选项卡,左选项卡focus
void MainWindow::treeclicked(QTreeWidgetItem* item){
// item->setText(0,item->text(0)+"6");
int len=treetbl.size();
for(int i=0;i<len;i++){
if(item==treetbl[i]){
updatecard2(treei[i],treej[i]);
updatecard1(treei[i],treej[i]);
}
}
}
void MainWindow::on_lineEdit_editingFinished()
{
// 直到监测到';'为止 记录字符串
ui->textEdit->append(ui->lineEdit->text());
sql+=ui->lineEdit->text();
// 如果监测到';'
int index=sql.indexOf(";");
if(index!=-1){
QString tem = sql.left(index+1);
sql = "";
sql+=tem;
// 得到了待解析sql语句
// 语句执行返回结果
QString msg = sqlExecute();
ui->textEdit->append(msg);
// 记得清空sql
sql="";
}
ui->lineEdit->setText("");
}
/**********************************
进行语句解析和内容执行
做日志记录
返回结果或错误提示
**********************************/
QString MainWindow::sqlExecute(){
// 可能考虑sql语句小写化
/********************
根操作:
create,drop,alter,insert,
update,select,delete,use
共8种
********************/
ofstream ofs("log.log",ios::app);
QDateTime time = QDateTime::currentDateTime();//获取系统现在的时间
QString str = time.toString("yyyy-MM-dd hh:mm:ss ddd"); //设置显示格式
ofs<<"At "<<str.toLatin1().data()<<" : "<<sql.toLatin1().data()<<endl;
ofs.close();
QString err = "还有这种操作Σ(゚д゚|||)语法错误!";
QString tem1="";
int jb=0; // 记录要解析位置的角标
readAWord(tem1,jb);
switch(judgeRoot(tem1)){
case 1:// create
{
ui->textEdit->append("操作1");
tem1="";
readAWord(tem1,jb);
// 1.create database
if(isWord(tem1,"database")){
tem1="";
readToEnd(tem1,jb);
// 检查数据库名的合法性
if(wordLegal(tem1)){
// 创建一个数据库
// vector<QTreeWidgetItem*> troot;
// QTreeWidgetItem *dbItem1 = new QTreeWidgetItem(ui->tree,QStringList(tem1));
// troot.push_back(dbItem1);
// treeitem.push_back(troot);
QByteArray ba = tem1.toLatin1();
Database newDB(ba.data());
if(!dbms->push(newDB)){
return "重复了,哥(:3 」∠)";
}
update();
}else{
return err;
}
}
// 2.create table
else if(isWord(tem1,"table")){
tem1="";
int state = readTblName(tem1,jb);
// readAWord(tem1,jb);
// if(tem1[tem1.length()-1]==';'){
if(state==1){
// 创建空表
// tem1[tem1.length()-1]='\0';
ui->textEdit->append("创建表");
if(wordLegal(tem1)){
// 创建一个表
QByteArray ba = tem1.toLatin1();
Table tbl1(ba.data());
if(dbms->getDbIndex(currentDb.getName().data())==-1){
return "老哥你先use个数据库";
// ui->textEdit->append("老哥你先use个数据库");
}else{
if(!dbms->db[dbms->getDbIndex(currentDb.getName().data())].push(tbl1)){
return "重复了,哥(:3 」∠)";
}
update();
}
}else{
return err;
}
}else if(state==2){
// 创建非空表,解析语法
// 截取从'('到')'的内容
// 中间以','间隔拆开
// tem1[tem1.length()-1]='\0';
QByteArray ba = tem1.toLatin1();
Table tbl1(ba.data());
if(dbms->getDbIndex(currentDb.getName().data())==-1){
return "老哥你先use个数据库";
}
// 读取单词,连续两个,到','或')'
QString tem2;
while(1){
readAWord(tem1,jb);
readAType(tem2,jb);
/*****************************************
注意合法判断!!!!
*****************************************/
if(!wordLegal(tem1)||!wordLegal(tem2)||!typeLegal(tem2)){
return err;
}
// ba = tem1.toLatin1();
// tbl1.colname.push_back(ba.data());
// ba = tem2.toLatin1();
// tbl1.coltype.push_back(ba.data());
tbl1.pushcol(tem1.toLatin1().data(),tem2.toLatin1().data());
if(sql[jb]==';'){
// 把tbl添加到dbms中
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].push(tbl1)){
return "重复了,哥(:3 」∠)";
}
update();
break;
}
}
}else {
return err;
}
}
break;
}
case 2:// drop
{
tem1="";
readAWord(tem1,jb);
// 1.drop database
if(isWord(tem1,"database")){
tem1="";
readToEnd(tem1,jb);
// 检查数据库名的合法性
if(wordLegal(tem1)){
// 检查数据库的有无
QByteArray ba = tem1.toLatin1();
if(dbms->getDbIndex(ba.data())==-1){
return "(´・ω・`)没有这种特技!";
// ui->textEdit->append("(´・ω・`)没有这种特技!");
}else{
dbms->drop(dbms->getDbIndex(ba.data()));
update();
}
}else{
return err;
}
}
// 2.drop table
else if(isWord(tem1,"table")){
tem1="";
readToEnd(tem1,jb);
// 检查表名的合法性
if(wordLegal(tem1)){
// 检查表的有无
QByteArray ba = tem1.toLatin1();
if(currentDb.getTableIndex(ba.data())==-1){
return "(´・ω・`)当前数据库没有这个表,也有可能是你还没use数据库";
// ui->textEdit->append("(´・ω・`)没有这种特技!");
}else{
// dbms->drop(dbms->getDbIndex(ba.data()));
dbms->db[dbms->getDbIndex(currentDb.name.data())].drop(ba.data());
update();
}
}else{
return err;
}
}
break;
}
case 3:// alter
{
readAWord(tem1,jb);
if(!isWord(tem1,"table"))return err;
readAWord(tem1,jb);
if(!dbms->hasTable(tem1.toLatin1().data()))return "(:3 」∠)没有这种表";
QString tblname=tem1;
readAWord(tem1,jb);
// RENAME 重命名
if(isWord(tem1,"rename")){
readAWord(tem1,jb);
if(!isWord(tem1,"to"))return err;
readToEnd(tem1,jb);
if(!wordLegal(tem1))return err;
dbms->db[dbms->getDbIndex(currentDb.name.data())].rename(tblname.toLatin1().data(),tem1.toLatin1().data());
update();
return "改名成功";
}
// ADD添加列
else if(isWord(tem1,"add")){
QString tem2;
readAWord(tem1,jb);
readToEnd(tem2,jb);
if(!wordLegal(tem1)||!typeLegal(tem2))return err;
if(dbms->db[dbms->getDbIndex(currentDb.name.data())].addcol(tblname.toLatin1().data(),tem1.toLatin1().data(),tem2.toLatin1().data())){
update();
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
return "列添加成功";
}
}
// MODIFY修改列(不需要实现这个功能)
else if(isWord(tem1,"modify")){
}
// DROP删除列
else if(isWord(tem1,"drop")){
readToEnd(tem1,jb);
if(!wordLegal(tem1))return err;
if(dbms->db[dbms->getDbIndex(currentDb.name.data())].dropcol(tblname.toLatin1().data(),tem1.toLatin1().data())){
update();
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
return "列删除成功";
}
return "老哥,没这列吧……?";
}else return err;
break;
}
case 4:// insert
{
// 插入信息
readAWord(tem1,jb);
if(!isWord(tem1,"into"))return err;
readTblName(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->hasTable(tem1.toLatin1().data()))return "没有这种表";
QString tblname = tem1;
vector<string> cname;
vector<int> ctype;
vector<string> cvalue;
while(1){
int val=readAType(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
cname.push_back(tem1.toLatin1().data());
ctype.push_back(dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),tem1.toLatin1().data()));
if(val==2)break;
}
readTblName(tem1,jb);
if(!isWord(tem1,"values"))return err;
for(int i=0;i<ctype.size();i++){
if(readAValue(tem1,jb,ctype[i])==-1)return err;
if(ctype[i]==1){// int
if(!intLegal(tem1))return err;
cvalue.push_back(tem1.toLatin1().data());
}else if(ctype[i]==2){// double
if(!doubleLegal(tem1))return err;
cvalue.push_back(tem1.toLatin1().data());
}else if(ctype[i]==3){// varchar
cvalue.push_back(tem1.toLatin1().data());
}
}
dbms->db[dbms->getDbIndex(currentDb.name.data())].pushrecord(tblname.toLatin1().data(),cname,cvalue);
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
break;
}
case 5:// update
{
// 更新某记录中某项值
readAWord(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->hasTable(tem1.toLatin1().data()))return "没有这种表";
QString tblname=tem1;
readAWord(tem1,jb);
if(!isWord(tem1,"set"))return err;
readToOpr(tem1,jb); // 列名
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
QString colname=tem1;
int op = readOpr(tem1,jb); // 运算符
if(op!=5)return err;
int coltype=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),colname.toLatin1().data());
// 1整数 2小数 3字符串
// 数字分号 '字符串'分号
if(coltype==3){
readAStr(tem1,jb);
}
else {
readANum(tem1,jb);
if(coltype==1){
if(!intLegal(tem1))return err;
}else if(!doubleLegal(tem1))return err;
}
QString value=tem1;
if(sql[jb]==';'){
// 修改这一列所有内容
dbms->db[dbms->getDbIndex(currentDb.name.data())].update(tblname.toLatin1().data(),colname.toLatin1().data(),coltype,value.toLatin1().data());
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
}else{
readAWord(tem1,jb);
if(!isWord(tem1,"where"))return err;
readToOpr(tem1,jb); // 列名
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
QString colname2=tem1;
int opr = readOpr(tem1,jb); // 运算符
if(opr==0)return err;
int coltype2=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),colname2.toLatin1().data());
// 1整数 2小数 3字符串
// 数字分号 '字符串'分号
if(coltype2==3){
readAStr(tem1,jb);
}
else {
readANum(tem1,jb);
if(coltype2==1){
if(!intLegal(tem1))return err;
}else if(!doubleLegal(tem1))return err;
}
/*
tblname
colname
coltype
value
colname2
coltype2
opr
tem1
*/
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()),
dbms->db[dbms->getDbIndex(currentDb.name.data())].update(tblname.toLatin1().data(),colname.toLatin1().data(),coltype,value.toLatin1().data(),colname2.toLatin1().data(),coltype2,opr,tem1.toLatin1().data()));
}
break;
}
case 6:// select
{
// 1.select *
// 2.select 列1,列2...
if(readAZimu(jb)=='*'){
readAWord(tem1,jb);
if(!isWord(tem1,"from"))return err;
if(!wordLegal(tem1))return err;
readTblName2(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->hasTable(tem1.toLatin1().data()))return "没有这种表";
QString tblname=tem1;
// 有或无where
if(sql[jb]==';'){
// 直接选择该表内容
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
}else{
// 读取where条件
readAWord(tem1,jb);
if(!isWord(tem1,"where"))return err;
readToOpr(tem1,jb); // 列名
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
QString colname=tem1;
int opr = readOpr(tem1,jb); // 运算符
if(opr==0)return err;
int coltype=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),colname.toLatin1().data());
// 1整数 2小数 3字符串
// 数字分号 '字符串'分号
if(coltype==3){
readAStr(tem1,jb);
}
else {
readANum(tem1,jb);
if(coltype==1){
if(!intLegal(tem1))return err;
}else if(!doubleLegal(tem1))return err;
}
// 使用tblname,colname,coltype,opr,tem1去找vec<row>
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()),
dbms->db[dbms->getDbIndex(currentDb.name.data())].select(tblname.toLatin1().data(),colname.toLatin1().data(),coltype,opr,tem1.toLatin1().data()));
}
}else{
vector<int> colid;
vector<QString> colname;
// 列名 from
// 列名,列名 from
while(readACol(tem1,jb)){
colname.push_back(tem1);
}
colname.push_back(tem1);
readAWord(tem1,jb);
if(!isWord(tem1,"from"))return err;
if(!wordLegal(tem1))return err;
readTblName2(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->hasTable(tem1.toLatin1().data()))return "没有这种表";
QString tblname=tem1;
for(int i=0;i<colname.size();i++){
// 检测列的有无
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),colname[i].toLatin1().data()))
return "没有这种列";
// 找到列号加入
int cid=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColIndex(tblname.toLatin1().data(),colname[i].toLatin1().data());
colid.push_back(cid);
}
/*
<>colid
<>colname
tblname
要读where后面的内容
*/
if(sql[jb]==';'){
// 直接选择该表内容
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()),colid,true);
}else{
// 读取where条件
readAWord(tem1,jb);
if(!isWord(tem1,"where"))return err;
readToOpr(tem1,jb); // 列名
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
QString colname2=tem1;
int opr = readOpr(tem1,jb); // 运算符
if(opr==0)return err;
int coltype=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),colname2.toLatin1().data());
// 1整数 2小数 3字符串
// 数字分号 '字符串'分号
if(coltype==3){
readAStr(tem1,jb);
}
else {
readANum(tem1,jb);
if(coltype==1){
if(!intLegal(tem1))return err;
}else if(!doubleLegal(tem1))return err;
}
// // 使用tblname,colname,coltype,opr,tem1去找vec<row>
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()),
dbms->db[dbms->getDbIndex(currentDb.name.data())].select(tblname.toLatin1().data(),colname2.toLatin1().data(),coltype,opr,tem1.toLatin1().data()),colid);
// updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()),
// dbms->db[dbms->getDbIndex(currentDb.name.data())].select(tblname.toLatin1().data(),colname.toLatin1().data(),coltype,opr,tem1.toLatin1().data()));
}
}
break;
}
case 7:// delete
{
// 删记录
readAWord(tem1,jb);
if(!isWord(tem1,"from"))return err;
readAWord(tem1,jb);
if(!wordLegal(tem1))return err;
if(!dbms->hasTable(tem1.toLatin1().data()))return "没有这种表";
QString tblname=tem1;
readAWord(tem1,jb);
if(!isWord(tem1,"where"))return err;
readToOpr(tem1,jb); // 列名
if(!dbms->db[dbms->getDbIndex(currentDb.name.data())].hascol(tblname.toLatin1().data(),tem1.toLatin1().data()))
return "没有这种列";
QString colname=tem1;
int opr = readOpr(tem1,jb); // 运算符
if(opr==0)return err;
int coltype=dbms->db[dbms->getDbIndex(currentDb.name.data())].getColTypeNum(tblname.toLatin1().data(),colname.toLatin1().data());
// 1整数 2小数 3字符串
// 数字分号 '字符串'分号
if(coltype==3){
readAStr(tem1,jb);
}
else {
readANum(tem1,jb);
if(coltype==1){
if(!intLegal(tem1))return err;
}else if(!doubleLegal(tem1))return err;
}
// tblname colname coltype opr tem1
// > < >= <= =
// 1 2 3 4 5
dbms->db[dbms->getDbIndex(currentDb.name.data())].delrecord(tblname.toLatin1().data(),colname.toLatin1().data(),coltype,opr,tem1.toLatin1().data());
updatecard2(dbms->getDbIndex(currentDb.name.data()),dbms->db[dbms->getDbIndex(currentDb.name.data())].getTableIndex(tblname.toLatin1().data()));
break;
}
case 8:// use
{
tem1="";
readToEnd(tem1,jb);
// 得到希望使用的数据库名称
QByteArray ba = tem1.toLatin1();
// 判断有无这个数据库,如果有,使用这个数据库
if(dbms->getDbIndex(ba.data())==-1){
ui->textEdit->append("(´・ω・`)没有这种特技!");
}else{
currentDb = dbms->getDb(dbms->getDbIndex(ba.data()));
QString qst="使用了数据库:";qst+=tem1;
ui->textEdit->append(qst);
}
break;
}
case 0:
return err;
}
/********************
返回情况:
1.成功执行(影响行数)
2.语法错误
********************/
return "成功执行";
}
/********************
判断根操作:
create,drop,alter,insert,
update,select,delete,use
共8种
********************/
int MainWindow::judgeRoot(QString str){
if(isWord(str,"create"))return 1;
if(isWord(str,"drop"))return 2;
if(isWord(str,"alter"))return 3;
if(isWord(str,"insert"))return 4;
if(isWord(str,"update"))return 5;
if(isWord(str,"select"))return 6;
if(isWord(str,"delete"))return 7;
if(isWord(str,"use"))return 8;
return 0;
}
// 从sql中读取一个字符串,更新next角标
void MainWindow::readAWord(QString &str,int &jb){
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==' '){
if(str.length()<=0){
jb++;
readAWord(str,jb);
return;
}
jb=i+1;
break;
}str+=sql[i];
}
}
bool MainWindow::readACol(QString &str,int &jb){
// 读取到逗号返回1 空格返回0
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==' '||sql[i]==','){
if(str.length()<=0){
jb++;
return readACol(str,jb);
}
jb=i+1;
if(sql[i]==' ')return false;
if(sql[i]==',')return true;
break;
}str+=sql[i];
}
return false;
}
char MainWindow::readAZimu(int &jb){
int len=sql.length();
string str="";
for(int i=jb;i<len;i++){
if(sql[i]!=' '){
jb=i;
str+=sql[i].toLatin1();
if(str[0]=='*')jb++;
return str[0];
}
}return ' ';
}
// 从sql中读取一个字符串,更新next角标 返回0:未知异常 返回1:空表 返回2:有内容表
int MainWindow::readTblName(QString &str,int &jb){
int len=sql.length();
int res=0;
str="";
for(int i=jb;i<len;i++){
if(sql[i]==' ')continue;
if(sql[i]==';'||sql[i]=='('){
jb=i+1;
if(sql[i]==';')res=1;
else if(sql[i]=='(')res=2;
break;
}str+=sql[i];
}return res;
}
void MainWindow::readTblName2(QString &str,int &jb){
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==';'||sql[i]==' '){
jb=i;
if(sql[i]==' ')jb++;
break;
}str+=sql[i];
}
}
// 从sql中读取一个类型,更新next角标 返回0:未知异常 返回1:, 返回2:)
int MainWindow::readAType(QString &str,int &jb){
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==','||sql[i]==')'){
jb=i+1;
if(sql[i]==',')return 1;
else return 2;
break;
}str+=sql[i];
}return 0;
}
// 从sql中读取字符串到分号,更新next角标
void MainWindow::readToEnd(QString &str,int &jb){
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==';'){
jb=i+1;
break;
}str+=sql[i];
}
}
void MainWindow::readANum(QString &str,int &jb){
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(!(sql[i]==','||(sql[i]>='0'&&sql[i]<='9'))){
jb=i;
if(str.length()<=0){
jb++;
readANum(str,jb);
}
break;
}str+=sql[i];
}
}
void MainWindow::readAStr(QString &str,int &jb){
int len=sql.length();
str="";
int i=jb;
for(;sql[i]!='\''&&i<len;i++){;}
i++;
for(;i<len;i++){
if(sql[i]=='\''){
jb=i+1;
break;
}str+=sql[i];
}
}
// 读取一个int 或 double 或varchar值
int MainWindow::readAValue(QString &str,int &jb,int type){
int len=sql.length();
str="";
if(type!=3){
for(int i=jb;i<len;i++){
if(sql[i]==','||sql[i]==')'){
jb=i+1;
if(sql[i]==',')return 1;
else return 2;
break;
}str+=sql[i];
}return 0;
}
if(type==3){
if(sql[jb]=='\'')jb+=1;
else return -1;
for(int i=jb;i<len;i++){
if(sql[i]=='\''){
jb=i+2;
break;
}str+=sql[i];
}return 0;
}
return 0;
}
int MainWindow::readOpr(QString &str,int &jb){
// > < >= <= =
// 1 2 3 4 5
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(!(sql[i]=='<'||sql[i]=='>'||sql[i]=='=')){
if(str.length()<=0){
jb++;
return readOpr(str,jb);
}
jb=i;
if(sql[i]==' ')jb=i+1;
break;
}str+=sql[i];
}
return judgeOpr(str);
}
int MainWindow::judgeOpr(QString &str){
// > < >= <= =
// 1 2 3 4 5
if(str[0]=='>'&&str.length()==1)return 1;
if(str[0]=='<'&&str.length()==1)return 2;
if(str[0]=='>'&&str.length()==2&&str[1]=='=')return 3;
if(str[0]=='<'&&str.length()==2&&str[1]=='=')return 4;
if(str[0]=='='&&str.length()==1)return 5;
return 0;
}
void MainWindow::readToOpr(QString &str,int &jb){
// 读取到 空格或操作符
int len=sql.length();
str="";
for(int i=jb;i<len;i++){
if(sql[i]==' '||sql[i]=='>'||sql[i]=='<'||sql[i]=='='){
if(sql[i]==' '){
if(str.length()<=0){
jb++;
readAWord(str,jb);
return;
}
jb=i+1;
}else{
jb=i;
}
break;
}str+=sql[i];
}
}
// 判断str是不是word(大小写兼容)
bool MainWindow::isWord(QString str,QString word){
int len=word.length();
if(str.length()!=len)return false;
for(int i=0;i<len;i++){
if(str[i].isUpper()){
if(word[i].isUpper()){
if(str[i]!=word[i])return false;
}else{
if(str[i]!=word[i].toUpper())return false;
}
}else{
if(word[i].isUpper()){
if(str[i]!=word[i].toLower())return false;
}else{
if(str[i]!=word[i])return false;
}
}
}
return true;
}
// 判断字符串是否合法
bool MainWindow::wordLegal(QString &str){
int len=str.length();
for(int i=0;i<len;i++){
if(str[i]=='\''||
str[i]=='"'||
str[i]==' '||
str[i]==','||
str[i]=='.'||
str[i]=='('||
str[i]==')'||
str[i]=='='||
str[i]=='+'||
str[i]=='-'||
str[i]=='%'||
str[i]=='&'||
str[i]=='!'||
str[i]=='?'||
str[i]=='>'||
str[i]=='<'||
str[i]=='/'||
str[i]=='*'||
str[i]=='['||
str[i]=='|'||
str[i]==']'||
str[i]=='{'||
str[i]=='}')return false;
}return true;
}
bool MainWindow::typeLegal(QString &str){
return isWord(str,"int")||isWord(str,"varchar")||isWord(str,"double");
}
bool MainWindow::intLegal(QString &str){
// 只有数字
int len=str.length();
for(int i=0;i<len;i++){
if(!(str[i]>='0'&&str[i]<='9'))return false;
}return true;
}
bool MainWindow::doubleLegal(QString &str){
// 除了最多一个的小数点,只有数字,不排除前导0末尾0
int cnt=0;
int len=str.length();
for(int i=0;i<len;i++){
if(!(str[i]>='0'&&str[i]<='9')){
if(str[i]!='.')return false;
cnt++;
}
}
if(cnt>=2)return false;
return true;
}
void MainWindow::closeEvent(QCloseEvent *event){
FileController::Exit(dbms);
}
/*****************************************************************************
语句系统:
需要识别的语句:
数据库层:
创建数据库
CREATE DATABASE database_name;
删除数据库
DROP DATABASE database_name;
表:
创建表
CREATE TABLE table_name(
id INT PRIMARY KEY,
name VARCHAR(20) not null,
score INT default 0
);
删除表
DROP TABLE 表名;
重命名
ALTER TABLE 表名 RENAME TO 表名2;
字段:
添加字段 可能有not null,default特性
ALTER TABLE 表名 ADD col_name VARCHAR(20);
修改字段(暂时只能改名,不支持修改类型)
ALTER TABLE 表名 RENAME COLUMN name1 TO name2;
ALTER TABLE 表名 MODIFY colname varchar(25);
删除字段
ALTER TABLE 表名 DROP name1;
记录:
插入记录(要注意类型检查,默认值)
INSERT INTO 表名(id,name) VALUES(1,'hey');
更新记录(注意WHERE语句条件)
UPDATE 表名 SET name = 'hoo';
UPDATE 表名 SET name = 'hoo' WHERE id<6;
查询记录(注意WHERE语句条件)
SELECT * FROM 表名 WHERE id=6 AND SCORE!=100;
SELECT id,name FROM 表名 WHERE id<6 OR SCORE<100;
删除记录
DELETE FROM 表名 WHERE id=6;
★语法树★:
use
数据库名
;
create
database
数据库名
;
table
表名
;
(
列名1 类型 限定符,... 详细解析见下
)
;
建表详细解析:
(
列名1
INT
DOUBLE
VARCHAR
)
;
,
...
primary key
,
...
)
;
not null
,
...
)
;
default
数字
,
...
)
;
'字符串'
,
...
)
;
drop
database
数据库名
;
table
表名
;
alter
table
表名
RENAME
TO
新表名
;
ADD
新列名
类型名
;
MODIFY
列名
类型名
;
DROP
列名
;
insert
into
表名
(
列名1,列名2,列名3
)
VALUES
(
数字,'字符串','字符串'
)
;
update
表名
set
列名=
数字
;
where
...
'字符串'
;
where
...
-- 只实现单表查询
select
*
from
表名
;
where
...
列名
from
表名
;
where
...
列名1,列名2...
from
表名
;
where
...
delete
from
表名
where
列名1
运算符
数字
;
AND
列名2
运算符
数字
;
...
'字符串'
;
...
OR
列名2
运算符
数字
;
...
'字符串'
;
...
'字符串'
;
AND
列名2
运算符
数字
;
...
'字符串'
;
...
OR
列名2
运算符
数字
;
...
'字符串'
;
...
根共8种
******************************************************************************/
void MainWindow::on_action_triggered()
{
Dialoghelp di;
di.exec();
}
void MainWindow::on_action_N_triggered()
{
DialogDbNew di(this);
di.exec();
}
void MainWindow::on_action_D_triggered()
{
DialogDbDel di(this);
di.exec();
}
void MainWindow::on_action_N_2_triggered()
{
DialogTblNew di(this);
di.exec();
}
void MainWindow::on_action_R_2_triggered()
{
DialogTblRename di(this);
di.exec();
}
void MainWindow::on_action_D_2_triggered()
{
DialogTblDel di(this);
di.exec();
}
void MainWindow::on_action_Q_triggered()
{
DialogTblQuery di(this);
di.exec();
}
void MainWindow::on_action_Q_2_triggered()
{
DialogTblQuery di(this);
di.exec();
}
void MainWindow::on_action_M_triggered()
{
DialogColRename di(this);
di.exec();
}
void MainWindow::on_action_N_3_triggered()
{
DialogColAdd di(this);
di.exec();
}
void MainWindow::on_action_D_3_triggered()
{
DialogColDel di(this);
di.exec();
}
void MainWindow::on_action_N_4_triggered()
{
DialogRecAdd di(this);
di.exec();
}
void MainWindow::on_action_M_2_triggered()
{
DialogRecUpdate di(this);
di.exec();
}
void MainWindow::on_action_D_4_triggered()
{
DialogRecDel di(this);
di.exec();
}
void MainWindow::on_action_L_triggered()
{
DialogLog di(this);
di.exec();
}
| [
"598586484@qq.com"
] | 598586484@qq.com |
0baec61ce9e8284d855b730fb775a3c437984520 | 0bb16de075f2632349450d69683db3c871b63797 | /cpp/qt-tuto/events+widgets-i/p3/spinbox.cpp | f430e0113e254d3673b65aa76fa12662cd44707e | [] | no_license | pwarnimo/misc_projects | 0e84866bf88bdf138d5bf20116fba3b88ddff7a3 | 8293b76c01b329a7bc6e5169afe0001591e42da6 | refs/heads/master | 2021-01-19T01:29:49.282313 | 2016-04-21T15:40:03 | 2016-04-21T15:40:03 | 35,493,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <QHBoxLayout>
#include <QLabel>
#include "spinbox.h"
SpinBox::SpinBox(QWidget *parent) : QWidget(parent) {
QHBoxLayout *hbox = new QHBoxLayout(this);
hbox->setSpacing(15);
spinbox = new QSpinBox(this);
QLabel *lbl = new QLabel("0", this);
hbox->addWidget(spinbox);
hbox->addWidget(lbl);
connect(spinbox, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), lbl, static_cast<void (QLabel::*)(int)>(&QLabel::setNum));
}
| [
"pwarnimo@gmail.com"
] | pwarnimo@gmail.com |
d173c8c16ce18a68f36a2fb1fbc421018f79a985 | 99298a83dc991a08a12880209a843738a3c3fc0f | /ProcessLib/BoundaryCondition/NonuniformNeumannBoundaryConditionLocalAssembler.h | 12a2b88a89dd425823bec9ec3f3e36755757826a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | KeitaYoshioka/ogs | 8fa8097c58e2c5ce134808de966e3431247579d3 | eeb7dd25db3245a94c8c1ef74ca1f689a4afbd61 | refs/heads/master | 2022-12-01T16:06:52.622393 | 2017-12-20T09:40:12 | 2017-12-20T09:40:12 | 105,892,458 | 3 | 0 | null | 2017-11-07T09:14:44 | 2017-10-05T13:19:26 | C++ | UTF-8 | C++ | false | false | 3,774 | h | /**
* \copyright
* Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include "MeshLib/PropertyVector.h"
#include "NumLib/DOF/DOFTableUtil.h"
#include "NumLib/Function/Interpolation.h"
#include "GenericNonuniformNaturalBoundaryConditionLocalAssembler.h"
namespace ProcessLib
{
struct NonuniformNeumannBoundaryConditionData
{
/* TODO use Parameter */
MeshLib::PropertyVector<double> const& values;
// Used for mapping boundary nodes to bulk nodes.
std::size_t bulk_mesh_id;
MeshLib::PropertyVector<std::size_t> const& mapping_to_bulk_nodes;
NumLib::LocalToGlobalIndexMap const& dof_table_bulk;
int const variable_id_bulk;
int const component_id_bulk;
};
template <typename ShapeFunction, typename IntegrationMethod,
unsigned GlobalDim>
class NonuniformNeumannBoundaryConditionLocalAssembler final
: public GenericNonuniformNaturalBoundaryConditionLocalAssembler<
ShapeFunction, IntegrationMethod, GlobalDim>
{
using Base = GenericNonuniformNaturalBoundaryConditionLocalAssembler<
ShapeFunction, IntegrationMethod, GlobalDim>;
public:
/// The neumann_bc_value factor is directly integrated into the local
/// element matrix.
NonuniformNeumannBoundaryConditionLocalAssembler(
MeshLib::Element const& e,
std::size_t const local_matrix_size,
bool is_axially_symmetric,
unsigned const integration_order,
NonuniformNeumannBoundaryConditionData const& data)
: Base(e, is_axially_symmetric, integration_order),
_data(data),
_local_rhs(local_matrix_size)
{
}
void assemble(std::size_t const id,
NumLib::LocalToGlobalIndexMap const& dof_table_boundary,
double const /*t*/, const GlobalVector& /*x*/,
GlobalMatrix& /*K*/, GlobalVector& b) override
{
_local_rhs.setZero();
auto indices = NumLib::getIndices(id, dof_table_boundary);
// TODO lots of heap allocations.
std::vector<double> neumann_param_nodal_values_local;
neumann_param_nodal_values_local.reserve(indices.size());
for (auto i : indices)
{
neumann_param_nodal_values_local.push_back(
_data.values.getComponent(i, 0));
}
auto const n_integration_points = Base::_ns_and_weights.size();
for (unsigned ip = 0; ip < n_integration_points; ip++)
{
auto const& n_and_weight = Base::_ns_and_weights[ip];
double flux;
NumLib::shapeFunctionInterpolate(neumann_param_nodal_values_local,
n_and_weight.N, flux);
_local_rhs.noalias() +=
n_and_weight.N * (n_and_weight.weight * flux);
}
// map boundary dof indices to bulk dof indices
for (auto& i : indices)
{
auto const bulk_node_id =
_data.mapping_to_bulk_nodes.getComponent(i, 0);
MeshLib::Location const l{
_data.bulk_mesh_id, MeshLib::MeshItemType::Node, bulk_node_id};
i = _data.dof_table_bulk.getGlobalIndex(l, _data.variable_id_bulk,
_data.component_id_bulk);
assert(i != NumLib::MeshComponentMap::nop);
}
b.add(indices, _local_rhs);
}
private:
NonuniformNeumannBoundaryConditionData const& _data;
typename Base::NodalVectorType _local_rhs;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
};
} // namespace ProcessLib
| [
"christoph.lehmann@ufz.de"
] | christoph.lehmann@ufz.de |
8a0ea7f3ff021772bc4ef71124c83b215b38c8a0 | 6b6a8a45af2dcb382e61c129073b68de9386ba6b | /framework/core/hpp_command_buffer.cpp | 3c34cc484f2861955ee81066fbde3cd01afc54a5 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | KhronosGroup/Vulkan-Samples | 7e5ab5d9529e944e790dbe237201e0fbc5866d92 | 9a134552d64b2ebb16b9628ccae27f07e8c05290 | refs/heads/main | 2023-08-31T21:48:39.455558 | 2023-08-28T19:33:43 | 2023-08-28T19:33:43 | 218,329,478 | 3,492 | 582 | Apache-2.0 | 2023-09-12T17:16:11 | 2019-10-29T16:10:56 | C++ | UTF-8 | C++ | false | false | 30,614 | cpp | /* Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 the "License";
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "core/hpp_command_buffer.h"
#include <core/hpp_command_pool.h>
#include <core/hpp_device.h>
#include <core/hpp_pipeline.h>
#include <rendering/hpp_render_frame.h>
namespace vkb
{
namespace core
{
HPPCommandBuffer::HPPCommandBuffer(vkb::core::HPPCommandPool &command_pool, vk::CommandBufferLevel level) :
HPPVulkanResource(nullptr, &command_pool.get_device()),
level(level),
command_pool(command_pool),
max_push_constants_size(get_device().get_gpu().get_properties().limits.maxPushConstantsSize)
{
vk::CommandBufferAllocateInfo allocate_info(command_pool.get_handle(), level, 1);
set_handle(get_device().get_handle().allocateCommandBuffers(allocate_info).front());
}
HPPCommandBuffer::HPPCommandBuffer(HPPCommandBuffer &&other) :
HPPVulkanResource(std::move(other)),
level(other.level),
command_pool(other.command_pool),
current_render_pass(std::exchange(other.current_render_pass, {})),
pipeline_state(std::exchange(other.pipeline_state, {})),
resource_binding_state(std::exchange(other.resource_binding_state, {})),
stored_push_constants(std::exchange(other.stored_push_constants, {})),
max_push_constants_size(std::exchange(other.max_push_constants_size, {})),
last_framebuffer_extent(std::exchange(other.last_framebuffer_extent, {})),
last_render_area_extent(std::exchange(other.last_render_area_extent, {})),
update_after_bind(std::exchange(other.update_after_bind, {})),
descriptor_set_layout_binding_state(std::exchange(other.descriptor_set_layout_binding_state, {}))
{
}
HPPCommandBuffer::~HPPCommandBuffer()
{
// Destroy command buffer
if (get_handle())
{
get_device().get_handle().freeCommandBuffers(command_pool.get_handle(), get_handle());
}
}
vk::Result HPPCommandBuffer::begin(vk::CommandBufferUsageFlags flags, HPPCommandBuffer *primary_cmd_buf)
{
if (level == vk::CommandBufferLevel::eSecondary)
{
assert(primary_cmd_buf && "A primary command buffer pointer must be provided when calling begin from a secondary one");
auto const &render_pass_binding = primary_cmd_buf->get_current_render_pass();
return begin(flags, render_pass_binding.render_pass, render_pass_binding.framebuffer, primary_cmd_buf->get_current_subpass_index());
}
return begin(flags, nullptr, nullptr, 0);
}
vk::Result HPPCommandBuffer::begin(vk::CommandBufferUsageFlags flags, const vkb::core::HPPRenderPass *render_pass, const vkb::core::HPPFramebuffer *framebuffer, uint32_t subpass_index)
{
// Reset state
pipeline_state.reset();
resource_binding_state.reset();
descriptor_set_layout_binding_state.clear();
stored_push_constants.clear();
vk::CommandBufferBeginInfo begin_info(flags);
vk::CommandBufferInheritanceInfo inheritance;
if (level == vk::CommandBufferLevel::eSecondary)
{
assert((render_pass && framebuffer) && "Render pass and framebuffer must be provided when calling begin from a secondary one");
current_render_pass.render_pass = render_pass;
current_render_pass.framebuffer = framebuffer;
inheritance.renderPass = current_render_pass.render_pass->get_handle();
inheritance.framebuffer = current_render_pass.framebuffer->get_handle();
inheritance.subpass = subpass_index;
begin_info.pInheritanceInfo = &inheritance;
}
get_handle().begin(begin_info);
return vk::Result::eSuccess;
}
void HPPCommandBuffer::begin_query(const vkb::core::HPPQueryPool &query_pool, uint32_t query, vk::QueryControlFlags flags)
{
get_handle().beginQuery(query_pool.get_handle(), query, flags);
}
void HPPCommandBuffer::begin_render_pass(const vkb::rendering::HPPRenderTarget &render_target,
const std::vector<vkb::common::HPPLoadStoreInfo> &load_store_infos,
const std::vector<vk::ClearValue> &clear_values,
const std::vector<std::unique_ptr<vkb::rendering::HPPSubpass>> &subpasses,
vk::SubpassContents contents)
{
// Reset state
pipeline_state.reset();
resource_binding_state.reset();
descriptor_set_layout_binding_state.clear();
auto &render_pass = get_render_pass(render_target, load_store_infos, subpasses);
auto &framebuffer = get_device().get_resource_cache().request_framebuffer(render_target, render_pass);
begin_render_pass(render_target, render_pass, framebuffer, clear_values, contents);
}
void HPPCommandBuffer::begin_render_pass(const vkb::rendering::HPPRenderTarget &render_target,
const vkb::core::HPPRenderPass &render_pass,
const vkb::core::HPPFramebuffer &framebuffer,
const std::vector<vk::ClearValue> &clear_values,
vk::SubpassContents contents)
{
current_render_pass.render_pass = &render_pass;
current_render_pass.framebuffer = &framebuffer;
// Begin render pass
vk::RenderPassBeginInfo begin_info(
current_render_pass.render_pass->get_handle(), current_render_pass.framebuffer->get_handle(), {{}, render_target.get_extent()}, clear_values);
const auto &framebuffer_extent = current_render_pass.framebuffer->get_extent();
// Test the requested render area to confirm that it is optimal and could not cause a performance reduction
if (!is_render_size_optimal(framebuffer_extent, begin_info.renderArea))
{
// Only prints the warning if the framebuffer or render area are different since the last time the render size was not optimal
if ((framebuffer_extent != last_framebuffer_extent) || (begin_info.renderArea.extent != last_render_area_extent))
{
LOGW("Render target extent is not an optimal size, this may result in reduced performance.");
}
last_framebuffer_extent = framebuffer_extent;
last_render_area_extent = begin_info.renderArea.extent;
}
get_handle().beginRenderPass(begin_info, contents);
// Update blend state attachments for first subpass
auto blend_state = pipeline_state.get_color_blend_state();
blend_state.attachments.resize(current_render_pass.render_pass->get_color_output_count(pipeline_state.get_subpass_index()));
pipeline_state.set_color_blend_state(blend_state);
}
void HPPCommandBuffer::bind_buffer(
const vkb::core::HPPBuffer &buffer, vk::DeviceSize offset, vk::DeviceSize range, uint32_t set, uint32_t binding, uint32_t array_element)
{
resource_binding_state.bind_buffer(buffer, offset, range, set, binding, array_element);
}
void HPPCommandBuffer::bind_image(
const vkb::core::HPPImageView &image_view, const vkb::core::HPPSampler &sampler, uint32_t set, uint32_t binding, uint32_t array_element)
{
resource_binding_state.bind_image(image_view, sampler, set, binding, array_element);
}
void HPPCommandBuffer::bind_image(const vkb::core::HPPImageView &image_view, uint32_t set, uint32_t binding, uint32_t array_element)
{
resource_binding_state.bind_image(image_view, set, binding, array_element);
}
void HPPCommandBuffer::bind_index_buffer(const vkb::core::HPPBuffer &buffer, vk::DeviceSize offset, vk::IndexType index_type)
{
get_handle().bindIndexBuffer(buffer.get_handle(), offset, index_type);
}
void HPPCommandBuffer::bind_input(const vkb::core::HPPImageView &image_view, uint32_t set, uint32_t binding, uint32_t array_element)
{
resource_binding_state.bind_input(image_view, set, binding, array_element);
}
void HPPCommandBuffer::bind_lighting(vkb::rendering::HPPLightingState &lighting_state, uint32_t set, uint32_t binding)
{
bind_buffer(lighting_state.light_buffer.get_buffer(), lighting_state.light_buffer.get_offset(), lighting_state.light_buffer.get_size(), set, binding, 0);
set_specialization_constant(0, to_u32(lighting_state.directional_lights.size()));
set_specialization_constant(1, to_u32(lighting_state.point_lights.size()));
set_specialization_constant(2, to_u32(lighting_state.spot_lights.size()));
}
void HPPCommandBuffer::bind_pipeline_layout(vkb::core::HPPPipelineLayout &pipeline_layout)
{
pipeline_state.set_pipeline_layout(pipeline_layout);
}
void HPPCommandBuffer::bind_vertex_buffers(uint32_t first_binding,
const std::vector<std::reference_wrapper<const vkb::core::HPPBuffer>> &buffers,
const std::vector<vk::DeviceSize> &offsets)
{
std::vector<vk::Buffer> buffer_handles(buffers.size(), nullptr);
std::transform(buffers.begin(), buffers.end(), buffer_handles.begin(), [](const vkb::core::HPPBuffer &buffer) { return buffer.get_handle(); });
get_handle().bindVertexBuffers(first_binding, buffer_handles, offsets);
}
void HPPCommandBuffer::blit_image(const vkb::core::HPPImage &src_img, const vkb::core::HPPImage &dst_img, const std::vector<vk::ImageBlit> ®ions)
{
get_handle().blitImage(
src_img.get_handle(), vk::ImageLayout::eTransferSrcOptimal, dst_img.get_handle(), vk::ImageLayout::eTransferDstOptimal, regions, vk::Filter::eNearest);
}
void HPPCommandBuffer::buffer_memory_barrier(const vkb::core::HPPBuffer &buffer,
vk::DeviceSize offset,
vk::DeviceSize size,
const vkb::common::HPPBufferMemoryBarrier &memory_barrier)
{
vk::BufferMemoryBarrier buffer_memory_barrier(memory_barrier.src_access_mask, memory_barrier.dst_access_mask, {}, {}, buffer.get_handle(), offset, size);
vk::PipelineStageFlags src_stage_mask = memory_barrier.src_stage_mask;
vk::PipelineStageFlags dst_stage_mask = memory_barrier.dst_stage_mask;
get_handle().pipelineBarrier(src_stage_mask, dst_stage_mask, {}, {}, buffer_memory_barrier, {});
}
void HPPCommandBuffer::clear(vk::ClearAttachment attachment, vk::ClearRect rect)
{
get_handle().clearAttachments(attachment, rect);
}
void HPPCommandBuffer::copy_buffer(const vkb::core::HPPBuffer &src_buffer, const vkb::core::HPPBuffer &dst_buffer, vk::DeviceSize size)
{
vk::BufferCopy copy_region({}, {}, size);
get_handle().copyBuffer(src_buffer.get_handle(), dst_buffer.get_handle(), copy_region);
}
void HPPCommandBuffer::copy_buffer_to_image(const vkb::core::HPPBuffer &buffer,
const vkb::core::HPPImage &image,
const std::vector<vk::BufferImageCopy> ®ions)
{
get_handle().copyBufferToImage(buffer.get_handle(), image.get_handle(), vk::ImageLayout::eTransferDstOptimal, regions);
}
void HPPCommandBuffer::copy_image(const vkb::core::HPPImage &src_img, const vkb::core::HPPImage &dst_img, const std::vector<vk::ImageCopy> ®ions)
{
get_handle().copyImage(src_img.get_handle(), vk::ImageLayout::eTransferSrcOptimal, dst_img.get_handle(), vk::ImageLayout::eTransferDstOptimal, regions);
}
void HPPCommandBuffer::copy_image_to_buffer(const vkb::core::HPPImage &image,
vk::ImageLayout image_layout,
const vkb::core::HPPBuffer &buffer,
const std::vector<vk::BufferImageCopy> ®ions)
{
get_handle().copyImageToBuffer(image.get_handle(), image_layout, buffer.get_handle(), regions);
}
void HPPCommandBuffer::dispatch(uint32_t group_count_x, uint32_t group_count_y, uint32_t group_count_z)
{
flush(vk::PipelineBindPoint::eCompute);
get_handle().dispatch(group_count_x, group_count_y, group_count_z);
}
void HPPCommandBuffer::dispatch_indirect(const vkb::core::HPPBuffer &buffer, vk::DeviceSize offset)
{
flush(vk::PipelineBindPoint::eCompute);
get_handle().dispatchIndirect(buffer.get_handle(), offset);
}
void HPPCommandBuffer::draw(uint32_t vertex_count, uint32_t instance_count, uint32_t first_vertex, uint32_t first_instance)
{
flush(vk::PipelineBindPoint::eGraphics);
get_handle().draw(vertex_count, instance_count, first_vertex, first_instance);
}
void HPPCommandBuffer::draw_indexed(uint32_t index_count, uint32_t instance_count, uint32_t first_index, int32_t vertex_offset, uint32_t first_instance)
{
flush(vk::PipelineBindPoint::eGraphics);
get_handle().drawIndexed(index_count, instance_count, first_index, vertex_offset, first_instance);
}
void HPPCommandBuffer::draw_indexed_indirect(const vkb::core::HPPBuffer &buffer, vk::DeviceSize offset, uint32_t draw_count, uint32_t stride)
{
flush(vk::PipelineBindPoint::eGraphics);
get_handle().drawIndexedIndirect(buffer.get_handle(), offset, draw_count, stride);
}
vk::Result HPPCommandBuffer::end()
{
get_handle().end();
return vk::Result::eSuccess;
}
void HPPCommandBuffer::end_query(const vkb::core::HPPQueryPool &query_pool, uint32_t query)
{
get_handle().endQuery(query_pool.get_handle(), query);
}
void HPPCommandBuffer::end_render_pass()
{
get_handle().endRenderPass();
}
void HPPCommandBuffer::execute_commands(HPPCommandBuffer &secondary_command_buffer)
{
get_handle().executeCommands(secondary_command_buffer.get_handle());
}
void HPPCommandBuffer::execute_commands(std::vector<HPPCommandBuffer *> &secondary_command_buffers)
{
std::vector<vk::CommandBuffer> sec_cmd_buf_handles(secondary_command_buffers.size(), nullptr);
std::transform(secondary_command_buffers.begin(),
secondary_command_buffers.end(),
sec_cmd_buf_handles.begin(),
[](const vkb::core::HPPCommandBuffer *sec_cmd_buf) { return sec_cmd_buf->get_handle(); });
get_handle().executeCommands(sec_cmd_buf_handles);
}
vkb::core::HPPRenderPass &HPPCommandBuffer::get_render_pass(const vkb::rendering::HPPRenderTarget &render_target,
const std::vector<vkb::common::HPPLoadStoreInfo> &load_store_infos,
const std::vector<std::unique_ptr<vkb::rendering::HPPSubpass>> &subpasses)
{
// Create render pass
assert(subpasses.size() > 0 && "Cannot create a render pass without any subpass");
std::vector<vkb::core::HPPSubpassInfo> subpass_infos(subpasses.size());
auto subpass_info_it = subpass_infos.begin();
for (auto &subpass : subpasses)
{
subpass_info_it->input_attachments = subpass->get_input_attachments();
subpass_info_it->output_attachments = subpass->get_output_attachments();
subpass_info_it->color_resolve_attachments = subpass->get_color_resolve_attachments();
subpass_info_it->disable_depth_stencil_attachment = subpass->get_disable_depth_stencil_attachment();
subpass_info_it->depth_stencil_resolve_mode = subpass->get_depth_stencil_resolve_mode();
subpass_info_it->depth_stencil_resolve_attachment = subpass->get_depth_stencil_resolve_attachment();
subpass_info_it->debug_name = subpass->get_debug_name();
++subpass_info_it;
}
return get_device().get_resource_cache().request_render_pass(render_target.get_attachments(), load_store_infos, subpass_infos);
}
void HPPCommandBuffer::image_memory_barrier(const vkb::core::HPPImageView &image_view, const vkb::common::HPPImageMemoryBarrier &memory_barrier) const
{
// Adjust barrier's subresource range for depth images
auto subresource_range = image_view.get_subresource_range();
auto format = image_view.get_format();
if (vkb::common::is_depth_only_format(format))
{
subresource_range.aspectMask = vk::ImageAspectFlagBits::eDepth;
}
else if (vkb::common::is_depth_stencil_format(format))
{
subresource_range.aspectMask = vk::ImageAspectFlagBits::eDepth | vk::ImageAspectFlagBits::eStencil;
}
vk::ImageMemoryBarrier image_memory_barrier(memory_barrier.src_access_mask,
memory_barrier.dst_access_mask,
memory_barrier.old_layout,
memory_barrier.new_layout,
memory_barrier.old_queue_family,
memory_barrier.new_queue_family,
image_view.get_image().get_handle(),
subresource_range);
vk::PipelineStageFlags src_stage_mask = memory_barrier.src_stage_mask;
vk::PipelineStageFlags dst_stage_mask = memory_barrier.dst_stage_mask;
get_handle().pipelineBarrier(src_stage_mask, dst_stage_mask, {}, {}, {}, image_memory_barrier);
}
void HPPCommandBuffer::next_subpass()
{
// Increment subpass index
pipeline_state.set_subpass_index(pipeline_state.get_subpass_index() + 1);
// Update blend state attachments
auto blend_state = pipeline_state.get_color_blend_state();
blend_state.attachments.resize(current_render_pass.render_pass->get_color_output_count(pipeline_state.get_subpass_index()));
pipeline_state.set_color_blend_state(blend_state);
// Reset descriptor sets
resource_binding_state.reset();
descriptor_set_layout_binding_state.clear();
// Clear stored push constants
stored_push_constants.clear();
get_handle().nextSubpass(vk::SubpassContents::eInline);
}
void HPPCommandBuffer::push_constants(const std::vector<uint8_t> &values)
{
uint32_t push_constant_size = to_u32(stored_push_constants.size() + values.size());
if (push_constant_size > max_push_constants_size)
{
LOGE("Push constant limit of {} exceeded (pushing {} bytes for a total of {} bytes)", max_push_constants_size, values.size(), push_constant_size);
throw std::runtime_error("Push constant limit exceeded.");
}
else
{
stored_push_constants.insert(stored_push_constants.end(), values.begin(), values.end());
}
}
vk::Result HPPCommandBuffer::reset(ResetMode reset_mode)
{
assert(reset_mode == command_pool.get_reset_mode() && "Command buffer reset mode must match the one used by the pool to allocate it");
if (reset_mode == ResetMode::ResetIndividually)
{
get_handle().reset(vk::CommandBufferResetFlagBits::eReleaseResources);
}
return vk::Result::eSuccess;
}
void HPPCommandBuffer::reset_query_pool(const vkb::core::HPPQueryPool &query_pool, uint32_t first_query, uint32_t query_count)
{
get_handle().resetQueryPool(query_pool.get_handle(), first_query, query_count);
}
void HPPCommandBuffer::resolve_image(const vkb::core::HPPImage &src_img, const vkb::core::HPPImage &dst_img, const std::vector<vk::ImageResolve> ®ions)
{
get_handle().resolveImage(src_img.get_handle(), vk::ImageLayout::eTransferSrcOptimal, dst_img.get_handle(), vk::ImageLayout::eTransferDstOptimal, regions);
}
void HPPCommandBuffer::set_blend_constants(const std::array<float, 4> &blend_constants)
{
get_handle().setBlendConstants(blend_constants.data());
}
void HPPCommandBuffer::set_color_blend_state(const vkb::rendering::HPPColorBlendState &state_info)
{
pipeline_state.set_color_blend_state(state_info);
}
void HPPCommandBuffer::set_depth_bias(float depth_bias_constant_factor, float depth_bias_clamp, float depth_bias_slope_factor)
{
get_handle().setDepthBias(depth_bias_constant_factor, depth_bias_clamp, depth_bias_slope_factor);
}
void HPPCommandBuffer::set_depth_bounds(float min_depth_bounds, float max_depth_bounds)
{
get_handle().setDepthBounds(min_depth_bounds, max_depth_bounds);
}
void HPPCommandBuffer::set_depth_stencil_state(const vkb::rendering::HPPDepthStencilState &state_info)
{
pipeline_state.set_depth_stencil_state(state_info);
}
void HPPCommandBuffer::set_input_assembly_state(const vkb::rendering::HPPInputAssemblyState &state_info)
{
pipeline_state.set_input_assembly_state(state_info);
}
void HPPCommandBuffer::set_line_width(float line_width)
{
get_handle().setLineWidth(line_width);
}
void HPPCommandBuffer::set_multisample_state(const vkb::rendering::HPPMultisampleState &state_info)
{
pipeline_state.set_multisample_state(state_info);
}
void HPPCommandBuffer::set_rasterization_state(const vkb::rendering::HPPRasterizationState &state_info)
{
pipeline_state.set_rasterization_state(state_info);
}
void HPPCommandBuffer::set_scissor(uint32_t first_scissor, const std::vector<vk::Rect2D> &scissors)
{
get_handle().setScissor(first_scissor, scissors);
}
void HPPCommandBuffer::set_specialization_constant(uint32_t constant_id, const std::vector<uint8_t> &data)
{
pipeline_state.set_specialization_constant(constant_id, data);
}
void HPPCommandBuffer::set_update_after_bind(bool update_after_bind_)
{
update_after_bind = update_after_bind_;
}
void HPPCommandBuffer::set_vertex_input_state(const vkb::rendering::HPPVertexInputState &state_info)
{
pipeline_state.set_vertex_input_state(state_info);
}
void HPPCommandBuffer::set_viewport(uint32_t first_viewport, const std::vector<vk::Viewport> &viewports)
{
get_handle().setViewport(first_viewport, viewports);
}
void HPPCommandBuffer::set_viewport_state(const vkb::rendering::HPPViewportState &state_info)
{
pipeline_state.set_viewport_state(state_info);
}
void HPPCommandBuffer::update_buffer(const vkb::core::HPPBuffer &buffer, vk::DeviceSize offset, const std::vector<uint8_t> &data)
{
get_handle().updateBuffer<uint8_t>(buffer.get_handle(), offset, data);
}
void HPPCommandBuffer::write_timestamp(vk::PipelineStageFlagBits pipeline_stage, const vkb::core::HPPQueryPool &query_pool, uint32_t query)
{
get_handle().writeTimestamp(pipeline_stage, query_pool.get_handle(), query);
}
void HPPCommandBuffer::flush(vk::PipelineBindPoint pipeline_bind_point)
{
flush_pipeline_state(pipeline_bind_point);
flush_push_constants();
flush_descriptor_state(pipeline_bind_point);
}
void HPPCommandBuffer::flush_descriptor_state(vk::PipelineBindPoint pipeline_bind_point)
{
assert(command_pool.get_render_frame() && "The command pool must be associated to a render frame");
const auto &pipeline_layout = pipeline_state.get_pipeline_layout();
std::unordered_set<uint32_t> update_descriptor_sets;
// Iterate over the shader sets to check if they have already been bound
// If they have, add the set so that the command buffer later updates it
for (auto &set_it : pipeline_layout.get_shader_sets())
{
uint32_t descriptor_set_id = set_it.first;
auto descriptor_set_layout_it = descriptor_set_layout_binding_state.find(descriptor_set_id);
if (descriptor_set_layout_it != descriptor_set_layout_binding_state.end())
{
if (descriptor_set_layout_it->second->get_handle() != pipeline_layout.get_descriptor_set_layout(descriptor_set_id).get_handle())
{
update_descriptor_sets.emplace(descriptor_set_id);
}
}
}
// Validate that the bound descriptor set layouts exist in the pipeline layout
for (auto set_it = descriptor_set_layout_binding_state.begin(); set_it != descriptor_set_layout_binding_state.end();)
{
if (!pipeline_layout.has_descriptor_set_layout(set_it->first))
{
set_it = descriptor_set_layout_binding_state.erase(set_it);
}
else
{
++set_it;
}
}
// Check if a descriptor set needs to be created
if (resource_binding_state.is_dirty() || !update_descriptor_sets.empty())
{
resource_binding_state.clear_dirty();
// Iterate over all of the resource sets bound by the command buffer
for (auto &resource_set_it : resource_binding_state.get_resource_sets())
{
uint32_t descriptor_set_id = resource_set_it.first;
auto &resource_set = resource_set_it.second;
// Don't update resource set if it's not in the update list OR its state hasn't changed
if (!resource_set.is_dirty() && (update_descriptor_sets.find(descriptor_set_id) == update_descriptor_sets.end()))
{
continue;
}
// Clear dirty flag for resource set
resource_binding_state.clear_dirty(descriptor_set_id);
// Skip resource set if a descriptor set layout doesn't exist for it
if (!pipeline_layout.has_descriptor_set_layout(descriptor_set_id))
{
continue;
}
auto &descriptor_set_layout = pipeline_layout.get_descriptor_set_layout(descriptor_set_id);
// Make descriptor set layout bound for current set
descriptor_set_layout_binding_state[descriptor_set_id] = &descriptor_set_layout;
BindingMap<vk::DescriptorBufferInfo> buffer_infos;
BindingMap<vk::DescriptorImageInfo> image_infos;
std::vector<uint32_t> dynamic_offsets;
// Iterate over all resource bindings
for (auto &binding_it : resource_set.get_resource_bindings())
{
auto binding_index = binding_it.first;
auto &binding_resources = binding_it.second;
// Check if binding exists in the pipeline layout
if (auto binding_info = descriptor_set_layout.get_layout_binding(binding_index))
{
// Iterate over all binding resources
for (auto &element_it : binding_resources)
{
auto array_element = element_it.first;
auto &resource_info = element_it.second;
// Pointer references
auto &buffer = resource_info.buffer;
auto &sampler = resource_info.sampler;
auto &image_view = resource_info.image_view;
// Get buffer info
if (buffer != nullptr && vkb::common::is_buffer_descriptor_type(binding_info->descriptorType))
{
vk::DescriptorBufferInfo buffer_info(resource_info.buffer->get_handle(), resource_info.offset, resource_info.range);
if (vkb::common::is_dynamic_buffer_descriptor_type(binding_info->descriptorType))
{
dynamic_offsets.push_back(to_u32(buffer_info.offset));
buffer_info.offset = 0;
}
buffer_infos[binding_index][array_element] = buffer_info;
}
// Get image info
else if (image_view != nullptr || sampler != nullptr)
{
// Can be null for input attachments
vk::DescriptorImageInfo image_info(sampler ? sampler->get_handle() : nullptr, image_view->get_handle());
if (image_view != nullptr)
{
// Add image layout info based on descriptor type
switch (binding_info->descriptorType)
{
case vk::DescriptorType::eCombinedImageSampler:
image_info.imageLayout = vk::ImageLayout::eShaderReadOnlyOptimal;
break;
case vk::DescriptorType::eInputAttachment:
image_info.imageLayout =
vkb::common::is_depth_format(image_view->get_format()) ? vk::ImageLayout::eDepthStencilReadOnlyOptimal : vk::ImageLayout::eShaderReadOnlyOptimal;
break;
case vk::DescriptorType::eStorageImage:
image_info.imageLayout = vk::ImageLayout::eGeneral;
break;
default:
continue;
}
}
image_infos[binding_index][array_element] = image_info;
}
}
assert((!update_after_bind ||
(buffer_infos.count(binding_index) > 0 || (image_infos.count(binding_index) > 0))) &&
"binding index with no buffer or image infos can't be checked for adding to bindings_to_update");
}
}
vk::DescriptorSet descriptor_set_handle = command_pool.get_render_frame()->request_descriptor_set(
descriptor_set_layout, buffer_infos, image_infos, update_after_bind, command_pool.get_thread_index());
// Bind descriptor set
get_handle().bindDescriptorSets(pipeline_bind_point, pipeline_layout.get_handle(), descriptor_set_id, descriptor_set_handle, dynamic_offsets);
}
}
}
void HPPCommandBuffer::flush_pipeline_state(vk::PipelineBindPoint pipeline_bind_point)
{
// Create a new pipeline only if the graphics state changed
if (!pipeline_state.is_dirty())
{
return;
}
pipeline_state.clear_dirty();
// Create and bind pipeline
if (pipeline_bind_point == vk::PipelineBindPoint::eGraphics)
{
pipeline_state.set_render_pass(*current_render_pass.render_pass);
auto &pipeline = get_device().get_resource_cache().request_graphics_pipeline(pipeline_state);
get_handle().bindPipeline(pipeline_bind_point, pipeline.get_handle());
}
else if (pipeline_bind_point == vk::PipelineBindPoint::eCompute)
{
auto &pipeline = get_device().get_resource_cache().request_compute_pipeline(pipeline_state);
get_handle().bindPipeline(pipeline_bind_point, pipeline.get_handle());
}
else
{
throw "Only graphics and compute pipeline bind points are supported now";
}
}
void HPPCommandBuffer::flush_push_constants()
{
if (stored_push_constants.empty())
{
return;
}
const vkb::core::HPPPipelineLayout &pipeline_layout = pipeline_state.get_pipeline_layout();
vk::ShaderStageFlags shader_stage = pipeline_layout.get_push_constant_range_stage(to_u32(stored_push_constants.size()));
if (shader_stage)
{
get_handle().pushConstants<uint8_t>(pipeline_layout.get_handle(), shader_stage, 0, stored_push_constants);
}
else
{
LOGW("Push constant range [{}, {}] not found", 0, stored_push_constants.size());
}
stored_push_constants.clear();
}
const HPPCommandBuffer::RenderPassBinding &HPPCommandBuffer::get_current_render_pass() const
{
return current_render_pass;
}
const uint32_t HPPCommandBuffer::get_current_subpass_index() const
{
return pipeline_state.get_subpass_index();
}
const bool HPPCommandBuffer::is_render_size_optimal(const vk::Extent2D &framebuffer_extent, const vk::Rect2D &render_area)
{
auto render_area_granularity = current_render_pass.render_pass->get_render_area_granularity();
return ((render_area.offset.x % render_area_granularity.width == 0) && (render_area.offset.y % render_area_granularity.height == 0) &&
((render_area.extent.width % render_area_granularity.width == 0) || (render_area.offset.x + render_area.extent.width == framebuffer_extent.width)) &&
((render_area.extent.height % render_area_granularity.height == 0) || (render_area.offset.y + render_area.extent.height == framebuffer_extent.height)));
}
} // namespace core
} // namespace vkb
| [
"noreply@github.com"
] | KhronosGroup.noreply@github.com |
da90c53dadbf5fbfcba82d90d14cc926d13db2cf | f40f9d4a5973bfa4180ee778e83238d5c3656422 | /App/Il2CppOutputProject/Source/il2cppOutput/Bulk_I18N.West_0.cpp | fc9d53646004eed6e2fb230d2a6d5ef30899681d | [] | no_license | stevenshan/hololens-fun | cd30936f5ef2c98204613ed53b1754925e31fe95 | feb647b9f8301fc24429b601dbcc4299eefb79d8 | refs/heads/master | 2020-03-28T18:45:08.058701 | 2018-09-16T11:00:15 | 2018-09-16T11:00:15 | 148,907,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592,817 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct VirtFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
// I18N.Common.ByteEncoding
struct ByteEncoding_t1371924561;
// I18N.Common.MonoEncoding
struct MonoEncoding_t666837952;
// I18N.West.CP10000
struct CP10000_t776152390;
// I18N.West.CP10079
struct CP10079_t3879478589;
// I18N.West.CP1250
struct CP1250_t1787607523;
// I18N.West.CP1252
struct CP1252_t2169944547;
// I18N.West.CP1253
struct CP1253_t4126259683;
// I18N.West.CP28592
struct CP28592_t3519602206;
// I18N.West.CP28593
struct CP28593_t3519602207;
// I18N.West.CP28597
struct CP28597_t3519602203;
// I18N.West.CP28605
struct CP28605_t1600022914;
// I18N.West.CP437
struct CP437_t3683438768;
// I18N.West.CP850
struct CP850_t1311178993;
// I18N.West.CP860
struct CP860_t1311113457;
// I18N.West.CP861
struct CP861_t2877197398;
// I18N.West.CP863
struct CP863_t1714397984;
// I18N.West.CP865
struct CP865_t551598570;
// I18N.West.ENCibm437
struct ENCibm437_t3410411110;
// I18N.West.ENCibm850
struct ENCibm850_t3813826705;
// I18N.West.ENCibm860
struct ENCibm860_t3814023313;
// I18N.West.ENCibm861
struct ENCibm861_t2247939372;
// I18N.West.ENCibm863
struct ENCibm863_t1085139958;
// I18N.West.ENCibm865
struct ENCibm865_t278570904;
// I18N.West.ENCiso_8859_15
struct ENCiso_8859_15_t3881981915;
// I18N.West.ENCiso_8859_2
struct ENCiso_8859_2_t815391552;
// I18N.West.ENCiso_8859_3
struct ENCiso_8859_3_t2381475493;
// I18N.West.ENCiso_8859_7
struct ENCiso_8859_7_t412107025;
// I18N.West.ENCmacintosh
struct ENCmacintosh_t1087697298;
// I18N.West.ENCwindows_1250
struct ENCwindows_1250_t3241285640;
// I18N.West.ENCwindows_1252
struct ENCwindows_1252_t3241285642;
// I18N.West.ENCwindows_1253
struct ENCwindows_1253_t3241285643;
// I18N.West.ENCx_mac_icelandic
struct ENCx_mac_icelandic_t2411177152;
// System.ArgumentNullException
struct ArgumentNullException_t1615371798;
// System.Byte[]
struct ByteU5BU5D_t4116647657;
// System.Char
struct Char_t3634460470;
// System.Char[]
struct CharU5BU5D_t3528271667;
// System.Collections.Hashtable
struct Hashtable_t1853889766;
// System.Collections.IDictionary
struct IDictionary_t1363984059;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t1169129676;
// System.Globalization.CodePageDataItem
struct CodePageDataItem_t2285235057;
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t2481557153;
// System.String
struct String_t;
// System.Text.DecoderFallback
struct DecoderFallback_t3123823036;
// System.Text.EncoderFallback
struct EncoderFallback_t1188251036;
// System.Text.EncoderFallbackBuffer
struct EncoderFallbackBuffer_t3523102303;
// System.Text.EncoderNLS
struct EncoderNLS_t449404832;
// System.Text.Encoding
struct Encoding_t1523322056;
// System.Void
struct Void_t1185182177;
extern RuntimeClass* ArgumentNullException_t1615371798_il2cpp_TypeInfo_var;
extern RuntimeClass* CP10000_t776152390_il2cpp_TypeInfo_var;
extern RuntimeClass* CP10079_t3879478589_il2cpp_TypeInfo_var;
extern RuntimeClass* CP1250_t1787607523_il2cpp_TypeInfo_var;
extern RuntimeClass* CP1252_t2169944547_il2cpp_TypeInfo_var;
extern RuntimeClass* CP1253_t4126259683_il2cpp_TypeInfo_var;
extern RuntimeClass* CP28592_t3519602206_il2cpp_TypeInfo_var;
extern RuntimeClass* CP28593_t3519602207_il2cpp_TypeInfo_var;
extern RuntimeClass* CP28597_t3519602203_il2cpp_TypeInfo_var;
extern RuntimeClass* CP28605_t1600022914_il2cpp_TypeInfo_var;
extern RuntimeClass* CP437_t3683438768_il2cpp_TypeInfo_var;
extern RuntimeClass* CP850_t1311178993_il2cpp_TypeInfo_var;
extern RuntimeClass* CP860_t1311113457_il2cpp_TypeInfo_var;
extern RuntimeClass* CP861_t2877197398_il2cpp_TypeInfo_var;
extern RuntimeClass* CP863_t1714397984_il2cpp_TypeInfo_var;
extern RuntimeClass* CP865_t551598570_il2cpp_TypeInfo_var;
extern RuntimeClass* CharU5BU5D_t3528271667_il2cpp_TypeInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____05C64B887A4D766EEB5842345D6B609A0E3A91C9_0_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____148F346330E294B4157ED412259A7E7F373E26A8_1_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____356CE585046545CD2D0B109FF8A85DB88EE29074_4_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____4FEA2A6324C0192B29C90830F5D578051A4B1B16_5_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____598D9433A53523A59D462896B803E416AB0B1901_6_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255377____FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14_FieldInfo_var;
extern String_t* _stringLiteral1127016572;
extern String_t* _stringLiteral130595687;
extern String_t* _stringLiteral1316450907;
extern String_t* _stringLiteral1390518650;
extern String_t* _stringLiteral1558333156;
extern String_t* _stringLiteral1558726372;
extern String_t* _stringLiteral1698459209;
extern String_t* _stringLiteral1714878455;
extern String_t* _stringLiteral1897605313;
extern String_t* _stringLiteral193839523;
extern String_t* _stringLiteral2001907480;
extern String_t* _stringLiteral2147317726;
extern String_t* _stringLiteral2150154659;
extern String_t* _stringLiteral2532524355;
extern String_t* _stringLiteral2815495132;
extern String_t* _stringLiteral287407422;
extern String_t* _stringLiteral287538494;
extern String_t* _stringLiteral287604030;
extern String_t* _stringLiteral287800638;
extern String_t* _stringLiteral2910049891;
extern String_t* _stringLiteral2910049892;
extern String_t* _stringLiteral2910115428;
extern String_t* _stringLiteral3222297718;
extern String_t* _stringLiteral3333322248;
extern String_t* _stringLiteral3559409385;
extern String_t* _stringLiteral3826640113;
extern String_t* _stringLiteral3834112455;
extern String_t* _stringLiteral4044171842;
extern String_t* _stringLiteral738504473;
extern String_t* _stringLiteral782313540;
extern String_t* _stringLiteral917377426;
extern String_t* _stringLiteral955263520;
extern const RuntimeMethod* CP10000_ToBytes_m649997851_RuntimeMethod_var;
extern const RuntimeMethod* CP10079_ToBytes_m269400159_RuntimeMethod_var;
extern const RuntimeMethod* CP1250_ToBytes_m1874831942_RuntimeMethod_var;
extern const RuntimeMethod* CP1252_ToBytes_m2178101453_RuntimeMethod_var;
extern const RuntimeMethod* CP1253_ToBytes_m2933438082_RuntimeMethod_var;
extern const RuntimeMethod* CP28592_ToBytes_m1147372611_RuntimeMethod_var;
extern const RuntimeMethod* CP28593_ToBytes_m2661625239_RuntimeMethod_var;
extern const RuntimeMethod* CP28597_ToBytes_m1627223541_RuntimeMethod_var;
extern const RuntimeMethod* CP28605_ToBytes_m202961327_RuntimeMethod_var;
extern const RuntimeMethod* CP437_ToBytes_m2085014260_RuntimeMethod_var;
extern const RuntimeMethod* CP850_ToBytes_m3523557065_RuntimeMethod_var;
extern const RuntimeMethod* CP860_ToBytes_m1075198352_RuntimeMethod_var;
extern const RuntimeMethod* CP861_ToBytes_m4228683849_RuntimeMethod_var;
extern const RuntimeMethod* CP863_ToBytes_m1393587056_RuntimeMethod_var;
extern const RuntimeMethod* CP865_ToBytes_m2745119654_RuntimeMethod_var;
extern const uint32_t CP10000_ToBytes_m649997851_MetadataUsageId;
extern const uint32_t CP10000__cctor_m1195550768_MetadataUsageId;
extern const uint32_t CP10000__ctor_m3617119530_MetadataUsageId;
extern const uint32_t CP10079_ToBytes_m269400159_MetadataUsageId;
extern const uint32_t CP10079__cctor_m86018401_MetadataUsageId;
extern const uint32_t CP10079__ctor_m1290414847_MetadataUsageId;
extern const uint32_t CP1250_ToBytes_m1874831942_MetadataUsageId;
extern const uint32_t CP1250__cctor_m785447402_MetadataUsageId;
extern const uint32_t CP1250__ctor_m1346107891_MetadataUsageId;
extern const uint32_t CP1252_ToBytes_m2178101453_MetadataUsageId;
extern const uint32_t CP1252__cctor_m928446954_MetadataUsageId;
extern const uint32_t CP1252__ctor_m1487796723_MetadataUsageId;
extern const uint32_t CP1253_ToBytes_m2933438082_MetadataUsageId;
extern const uint32_t CP1253__cctor_m848689642_MetadataUsageId;
extern const uint32_t CP1253__ctor_m1416428019_MetadataUsageId;
extern const uint32_t CP28592_ToBytes_m1147372611_MetadataUsageId;
extern const uint32_t CP28592__cctor_m2479705516_MetadataUsageId;
extern const uint32_t CP28592__ctor_m2087654126_MetadataUsageId;
extern const uint32_t CP28593_ToBytes_m2661625239_MetadataUsageId;
extern const uint32_t CP28593__cctor_m3521028743_MetadataUsageId;
extern const uint32_t CP28593__ctor_m1724258889_MetadataUsageId;
extern const uint32_t CP28597_ToBytes_m1627223541_MetadataUsageId;
extern const uint32_t CP28597__cctor_m679642395_MetadataUsageId;
extern const uint32_t CP28597__ctor_m3177839837_MetadataUsageId;
extern const uint32_t CP28605_ToBytes_m202961327_MetadataUsageId;
extern const uint32_t CP28605__cctor_m974363138_MetadataUsageId;
extern const uint32_t CP28605__ctor_m3830061296_MetadataUsageId;
extern const uint32_t CP437_ToBytes_m2085014260_MetadataUsageId;
extern const uint32_t CP437__cctor_m2169473896_MetadataUsageId;
extern const uint32_t CP437__ctor_m2326238033_MetadataUsageId;
extern const uint32_t CP850_ToBytes_m3523557065_MetadataUsageId;
extern const uint32_t CP850__cctor_m1757892644_MetadataUsageId;
extern const uint32_t CP850__ctor_m2102303190_MetadataUsageId;
extern const uint32_t CP860_ToBytes_m1075198352_MetadataUsageId;
extern const uint32_t CP860__cctor_m1382043684_MetadataUsageId;
extern const uint32_t CP860__ctor_m2017565142_MetadataUsageId;
extern const uint32_t CP861_ToBytes_m4228683849_MetadataUsageId;
extern const uint32_t CP861__cctor_m1382036197_MetadataUsageId;
extern const uint32_t CP861__ctor_m2017557783_MetadataUsageId;
extern const uint32_t CP863_ToBytes_m1393587056_MetadataUsageId;
extern const uint32_t CP863__cctor_m1382040387_MetadataUsageId;
extern const uint32_t CP863__ctor_m2017561793_MetadataUsageId;
extern const uint32_t CP865_ToBytes_m2745119654_MetadataUsageId;
extern const uint32_t CP865__cctor_m1382040553_MetadataUsageId;
extern const uint32_t CP865__ctor_m2017562139_MetadataUsageId;
extern const uint32_t ENCibm437__ctor_m2342796966_MetadataUsageId;
extern const uint32_t ENCibm850__ctor_m3815060551_MetadataUsageId;
extern const uint32_t ENCibm860__ctor_m2763273287_MetadataUsageId;
extern const uint32_t ENCibm861__ctor_m2763274360_MetadataUsageId;
extern const uint32_t ENCibm863__ctor_m2763272198_MetadataUsageId;
extern const uint32_t ENCibm865__ctor_m2763270020_MetadataUsageId;
extern const uint32_t ENCiso_8859_15__ctor_m209160458_MetadataUsageId;
extern const uint32_t ENCiso_8859_2__ctor_m649984600_MetadataUsageId;
extern const uint32_t ENCiso_8859_3__ctor_m649983511_MetadataUsageId;
extern const uint32_t ENCiso_8859_7__ctor_m649979203_MetadataUsageId;
extern const uint32_t ENCmacintosh__ctor_m8668102_MetadataUsageId;
extern const uint32_t ENCwindows_1250__ctor_m884268625_MetadataUsageId;
extern const uint32_t ENCwindows_1252__ctor_m1935340039_MetadataUsageId;
extern const uint32_t ENCwindows_1253__ctor_m1571944802_MetadataUsageId;
extern const uint32_t ENCx_mac_icelandic__ctor_m3706204843_MetadataUsageId;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct CharU5BU5D_t3528271667;
#ifndef U3CMODULEU3E_T692745595_H
#define U3CMODULEU3E_T692745595_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t692745595
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CMODULEU3E_T692745595_H
#ifndef RUNTIMEOBJECT_H
#define RUNTIMEOBJECT_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEOBJECT_H
#ifndef CONSTS_T1749595338_H
#define CONSTS_T1749595338_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Consts
struct Consts_t1749595338 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONSTS_T1749595338_H
struct Il2CppArrayBounds;
#ifndef RUNTIMEARRAY_H
#define RUNTIMEARRAY_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Array
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEARRAY_H
#ifndef EXCEPTION_T_H
#define EXCEPTION_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4013366056* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((&____className_1), value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((&____message_2), value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((&____data_3), value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((&____innerException_4), value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((&____helpURL_5), value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((&____stackTrace_6), value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((&____stackTraceString_7), value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((&____remoteStackTraceString_8), value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((&____dynamicMethods_10), value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((&____source_12), value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t2481557153 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t2481557153 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t2481557153 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((&____safeSerializationManager_13), value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t1169129676* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t1169129676** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t1169129676* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((&___captured_traces_14), value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4013366056* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4013366056** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4013366056* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((&___native_trace_ips_15), value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((&___s_EDILock_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___native_trace_ips_15;
};
#endif // EXCEPTION_T_H
#ifndef STRING_T_H
#define STRING_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((&___Empty_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRING_T_H
#ifndef ENCODERFALLBACK_T1188251036_H
#define ENCODERFALLBACK_T1188251036_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.EncoderFallback
struct EncoderFallback_t1188251036 : public RuntimeObject
{
public:
// System.Boolean System.Text.EncoderFallback::bIsMicrosoftBestFitFallback
bool ___bIsMicrosoftBestFitFallback_0;
public:
inline static int32_t get_offset_of_bIsMicrosoftBestFitFallback_0() { return static_cast<int32_t>(offsetof(EncoderFallback_t1188251036, ___bIsMicrosoftBestFitFallback_0)); }
inline bool get_bIsMicrosoftBestFitFallback_0() const { return ___bIsMicrosoftBestFitFallback_0; }
inline bool* get_address_of_bIsMicrosoftBestFitFallback_0() { return &___bIsMicrosoftBestFitFallback_0; }
inline void set_bIsMicrosoftBestFitFallback_0(bool value)
{
___bIsMicrosoftBestFitFallback_0 = value;
}
};
struct EncoderFallback_t1188251036_StaticFields
{
public:
// System.Text.EncoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.EncoderFallback::replacementFallback
EncoderFallback_t1188251036 * ___replacementFallback_1;
// System.Text.EncoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.EncoderFallback::exceptionFallback
EncoderFallback_t1188251036 * ___exceptionFallback_2;
// System.Object System.Text.EncoderFallback::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_3;
public:
inline static int32_t get_offset_of_replacementFallback_1() { return static_cast<int32_t>(offsetof(EncoderFallback_t1188251036_StaticFields, ___replacementFallback_1)); }
inline EncoderFallback_t1188251036 * get_replacementFallback_1() const { return ___replacementFallback_1; }
inline EncoderFallback_t1188251036 ** get_address_of_replacementFallback_1() { return &___replacementFallback_1; }
inline void set_replacementFallback_1(EncoderFallback_t1188251036 * value)
{
___replacementFallback_1 = value;
Il2CppCodeGenWriteBarrier((&___replacementFallback_1), value);
}
inline static int32_t get_offset_of_exceptionFallback_2() { return static_cast<int32_t>(offsetof(EncoderFallback_t1188251036_StaticFields, ___exceptionFallback_2)); }
inline EncoderFallback_t1188251036 * get_exceptionFallback_2() const { return ___exceptionFallback_2; }
inline EncoderFallback_t1188251036 ** get_address_of_exceptionFallback_2() { return &___exceptionFallback_2; }
inline void set_exceptionFallback_2(EncoderFallback_t1188251036 * value)
{
___exceptionFallback_2 = value;
Il2CppCodeGenWriteBarrier((&___exceptionFallback_2), value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_3() { return static_cast<int32_t>(offsetof(EncoderFallback_t1188251036_StaticFields, ___s_InternalSyncObject_3)); }
inline RuntimeObject * get_s_InternalSyncObject_3() const { return ___s_InternalSyncObject_3; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_3() { return &___s_InternalSyncObject_3; }
inline void set_s_InternalSyncObject_3(RuntimeObject * value)
{
___s_InternalSyncObject_3 = value;
Il2CppCodeGenWriteBarrier((&___s_InternalSyncObject_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCODERFALLBACK_T1188251036_H
#ifndef ENCODERFALLBACKBUFFER_T3523102303_H
#define ENCODERFALLBACKBUFFER_T3523102303_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.EncoderFallbackBuffer
struct EncoderFallbackBuffer_t3523102303 : public RuntimeObject
{
public:
// System.Char* System.Text.EncoderFallbackBuffer::charStart
Il2CppChar* ___charStart_0;
// System.Char* System.Text.EncoderFallbackBuffer::charEnd
Il2CppChar* ___charEnd_1;
// System.Text.EncoderNLS System.Text.EncoderFallbackBuffer::encoder
EncoderNLS_t449404832 * ___encoder_2;
// System.Boolean System.Text.EncoderFallbackBuffer::setEncoder
bool ___setEncoder_3;
// System.Boolean System.Text.EncoderFallbackBuffer::bUsedEncoder
bool ___bUsedEncoder_4;
// System.Boolean System.Text.EncoderFallbackBuffer::bFallingBack
bool ___bFallingBack_5;
// System.Int32 System.Text.EncoderFallbackBuffer::iRecursionCount
int32_t ___iRecursionCount_6;
public:
inline static int32_t get_offset_of_charStart_0() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___charStart_0)); }
inline Il2CppChar* get_charStart_0() const { return ___charStart_0; }
inline Il2CppChar** get_address_of_charStart_0() { return &___charStart_0; }
inline void set_charStart_0(Il2CppChar* value)
{
___charStart_0 = value;
}
inline static int32_t get_offset_of_charEnd_1() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___charEnd_1)); }
inline Il2CppChar* get_charEnd_1() const { return ___charEnd_1; }
inline Il2CppChar** get_address_of_charEnd_1() { return &___charEnd_1; }
inline void set_charEnd_1(Il2CppChar* value)
{
___charEnd_1 = value;
}
inline static int32_t get_offset_of_encoder_2() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___encoder_2)); }
inline EncoderNLS_t449404832 * get_encoder_2() const { return ___encoder_2; }
inline EncoderNLS_t449404832 ** get_address_of_encoder_2() { return &___encoder_2; }
inline void set_encoder_2(EncoderNLS_t449404832 * value)
{
___encoder_2 = value;
Il2CppCodeGenWriteBarrier((&___encoder_2), value);
}
inline static int32_t get_offset_of_setEncoder_3() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___setEncoder_3)); }
inline bool get_setEncoder_3() const { return ___setEncoder_3; }
inline bool* get_address_of_setEncoder_3() { return &___setEncoder_3; }
inline void set_setEncoder_3(bool value)
{
___setEncoder_3 = value;
}
inline static int32_t get_offset_of_bUsedEncoder_4() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___bUsedEncoder_4)); }
inline bool get_bUsedEncoder_4() const { return ___bUsedEncoder_4; }
inline bool* get_address_of_bUsedEncoder_4() { return &___bUsedEncoder_4; }
inline void set_bUsedEncoder_4(bool value)
{
___bUsedEncoder_4 = value;
}
inline static int32_t get_offset_of_bFallingBack_5() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___bFallingBack_5)); }
inline bool get_bFallingBack_5() const { return ___bFallingBack_5; }
inline bool* get_address_of_bFallingBack_5() { return &___bFallingBack_5; }
inline void set_bFallingBack_5(bool value)
{
___bFallingBack_5 = value;
}
inline static int32_t get_offset_of_iRecursionCount_6() { return static_cast<int32_t>(offsetof(EncoderFallbackBuffer_t3523102303, ___iRecursionCount_6)); }
inline int32_t get_iRecursionCount_6() const { return ___iRecursionCount_6; }
inline int32_t* get_address_of_iRecursionCount_6() { return &___iRecursionCount_6; }
inline void set_iRecursionCount_6(int32_t value)
{
___iRecursionCount_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCODERFALLBACKBUFFER_T3523102303_H
#ifndef ENCODING_T1523322056_H
#define ENCODING_T1523322056_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.Encoding
struct Encoding_t1523322056 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::m_codePage
int32_t ___m_codePage_55;
// System.Globalization.CodePageDataItem System.Text.Encoding::dataItem
CodePageDataItem_t2285235057 * ___dataItem_56;
// System.Boolean System.Text.Encoding::m_deserializedFromEverett
bool ___m_deserializedFromEverett_57;
// System.Boolean System.Text.Encoding::m_isReadOnly
bool ___m_isReadOnly_58;
// System.Text.EncoderFallback System.Text.Encoding::encoderFallback
EncoderFallback_t1188251036 * ___encoderFallback_59;
// System.Text.DecoderFallback System.Text.Encoding::decoderFallback
DecoderFallback_t3123823036 * ___decoderFallback_60;
public:
inline static int32_t get_offset_of_m_codePage_55() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___m_codePage_55)); }
inline int32_t get_m_codePage_55() const { return ___m_codePage_55; }
inline int32_t* get_address_of_m_codePage_55() { return &___m_codePage_55; }
inline void set_m_codePage_55(int32_t value)
{
___m_codePage_55 = value;
}
inline static int32_t get_offset_of_dataItem_56() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___dataItem_56)); }
inline CodePageDataItem_t2285235057 * get_dataItem_56() const { return ___dataItem_56; }
inline CodePageDataItem_t2285235057 ** get_address_of_dataItem_56() { return &___dataItem_56; }
inline void set_dataItem_56(CodePageDataItem_t2285235057 * value)
{
___dataItem_56 = value;
Il2CppCodeGenWriteBarrier((&___dataItem_56), value);
}
inline static int32_t get_offset_of_m_deserializedFromEverett_57() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___m_deserializedFromEverett_57)); }
inline bool get_m_deserializedFromEverett_57() const { return ___m_deserializedFromEverett_57; }
inline bool* get_address_of_m_deserializedFromEverett_57() { return &___m_deserializedFromEverett_57; }
inline void set_m_deserializedFromEverett_57(bool value)
{
___m_deserializedFromEverett_57 = value;
}
inline static int32_t get_offset_of_m_isReadOnly_58() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___m_isReadOnly_58)); }
inline bool get_m_isReadOnly_58() const { return ___m_isReadOnly_58; }
inline bool* get_address_of_m_isReadOnly_58() { return &___m_isReadOnly_58; }
inline void set_m_isReadOnly_58(bool value)
{
___m_isReadOnly_58 = value;
}
inline static int32_t get_offset_of_encoderFallback_59() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___encoderFallback_59)); }
inline EncoderFallback_t1188251036 * get_encoderFallback_59() const { return ___encoderFallback_59; }
inline EncoderFallback_t1188251036 ** get_address_of_encoderFallback_59() { return &___encoderFallback_59; }
inline void set_encoderFallback_59(EncoderFallback_t1188251036 * value)
{
___encoderFallback_59 = value;
Il2CppCodeGenWriteBarrier((&___encoderFallback_59), value);
}
inline static int32_t get_offset_of_decoderFallback_60() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___decoderFallback_60)); }
inline DecoderFallback_t3123823036 * get_decoderFallback_60() const { return ___decoderFallback_60; }
inline DecoderFallback_t3123823036 ** get_address_of_decoderFallback_60() { return &___decoderFallback_60; }
inline void set_decoderFallback_60(DecoderFallback_t3123823036 * value)
{
___decoderFallback_60 = value;
Il2CppCodeGenWriteBarrier((&___decoderFallback_60), value);
}
};
struct Encoding_t1523322056_StaticFields
{
public:
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_t1523322056 * ___defaultEncoding_0;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_t1523322056 * ___unicodeEncoding_1;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUnicode
Encoding_t1523322056 * ___bigEndianUnicode_2;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_t1523322056 * ___utf7Encoding_3;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8Encoding
Encoding_t1523322056 * ___utf8Encoding_4;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_t1523322056 * ___utf32Encoding_5;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_t1523322056 * ___asciiEncoding_6;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::latin1Encoding
Encoding_t1523322056 * ___latin1Encoding_7;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::encodings
Hashtable_t1853889766 * ___encodings_8;
// System.Object System.Text.Encoding::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_61;
public:
inline static int32_t get_offset_of_defaultEncoding_0() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___defaultEncoding_0)); }
inline Encoding_t1523322056 * get_defaultEncoding_0() const { return ___defaultEncoding_0; }
inline Encoding_t1523322056 ** get_address_of_defaultEncoding_0() { return &___defaultEncoding_0; }
inline void set_defaultEncoding_0(Encoding_t1523322056 * value)
{
___defaultEncoding_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultEncoding_0), value);
}
inline static int32_t get_offset_of_unicodeEncoding_1() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___unicodeEncoding_1)); }
inline Encoding_t1523322056 * get_unicodeEncoding_1() const { return ___unicodeEncoding_1; }
inline Encoding_t1523322056 ** get_address_of_unicodeEncoding_1() { return &___unicodeEncoding_1; }
inline void set_unicodeEncoding_1(Encoding_t1523322056 * value)
{
___unicodeEncoding_1 = value;
Il2CppCodeGenWriteBarrier((&___unicodeEncoding_1), value);
}
inline static int32_t get_offset_of_bigEndianUnicode_2() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___bigEndianUnicode_2)); }
inline Encoding_t1523322056 * get_bigEndianUnicode_2() const { return ___bigEndianUnicode_2; }
inline Encoding_t1523322056 ** get_address_of_bigEndianUnicode_2() { return &___bigEndianUnicode_2; }
inline void set_bigEndianUnicode_2(Encoding_t1523322056 * value)
{
___bigEndianUnicode_2 = value;
Il2CppCodeGenWriteBarrier((&___bigEndianUnicode_2), value);
}
inline static int32_t get_offset_of_utf7Encoding_3() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf7Encoding_3)); }
inline Encoding_t1523322056 * get_utf7Encoding_3() const { return ___utf7Encoding_3; }
inline Encoding_t1523322056 ** get_address_of_utf7Encoding_3() { return &___utf7Encoding_3; }
inline void set_utf7Encoding_3(Encoding_t1523322056 * value)
{
___utf7Encoding_3 = value;
Il2CppCodeGenWriteBarrier((&___utf7Encoding_3), value);
}
inline static int32_t get_offset_of_utf8Encoding_4() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf8Encoding_4)); }
inline Encoding_t1523322056 * get_utf8Encoding_4() const { return ___utf8Encoding_4; }
inline Encoding_t1523322056 ** get_address_of_utf8Encoding_4() { return &___utf8Encoding_4; }
inline void set_utf8Encoding_4(Encoding_t1523322056 * value)
{
___utf8Encoding_4 = value;
Il2CppCodeGenWriteBarrier((&___utf8Encoding_4), value);
}
inline static int32_t get_offset_of_utf32Encoding_5() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf32Encoding_5)); }
inline Encoding_t1523322056 * get_utf32Encoding_5() const { return ___utf32Encoding_5; }
inline Encoding_t1523322056 ** get_address_of_utf32Encoding_5() { return &___utf32Encoding_5; }
inline void set_utf32Encoding_5(Encoding_t1523322056 * value)
{
___utf32Encoding_5 = value;
Il2CppCodeGenWriteBarrier((&___utf32Encoding_5), value);
}
inline static int32_t get_offset_of_asciiEncoding_6() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___asciiEncoding_6)); }
inline Encoding_t1523322056 * get_asciiEncoding_6() const { return ___asciiEncoding_6; }
inline Encoding_t1523322056 ** get_address_of_asciiEncoding_6() { return &___asciiEncoding_6; }
inline void set_asciiEncoding_6(Encoding_t1523322056 * value)
{
___asciiEncoding_6 = value;
Il2CppCodeGenWriteBarrier((&___asciiEncoding_6), value);
}
inline static int32_t get_offset_of_latin1Encoding_7() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___latin1Encoding_7)); }
inline Encoding_t1523322056 * get_latin1Encoding_7() const { return ___latin1Encoding_7; }
inline Encoding_t1523322056 ** get_address_of_latin1Encoding_7() { return &___latin1Encoding_7; }
inline void set_latin1Encoding_7(Encoding_t1523322056 * value)
{
___latin1Encoding_7 = value;
Il2CppCodeGenWriteBarrier((&___latin1Encoding_7), value);
}
inline static int32_t get_offset_of_encodings_8() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___encodings_8)); }
inline Hashtable_t1853889766 * get_encodings_8() const { return ___encodings_8; }
inline Hashtable_t1853889766 ** get_address_of_encodings_8() { return &___encodings_8; }
inline void set_encodings_8(Hashtable_t1853889766 * value)
{
___encodings_8 = value;
Il2CppCodeGenWriteBarrier((&___encodings_8), value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_61() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___s_InternalSyncObject_61)); }
inline RuntimeObject * get_s_InternalSyncObject_61() const { return ___s_InternalSyncObject_61; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_61() { return &___s_InternalSyncObject_61; }
inline void set_s_InternalSyncObject_61(RuntimeObject * value)
{
___s_InternalSyncObject_61 = value;
Il2CppCodeGenWriteBarrier((&___s_InternalSyncObject_61), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCODING_T1523322056_H
#ifndef VALUETYPE_T3640485471_H
#define VALUETYPE_T3640485471_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ValueType
struct ValueType_t3640485471 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_com
{
};
#endif // VALUETYPE_T3640485471_H
#ifndef __STATICARRAYINITTYPESIZEU3D512_T3317833663_H
#define __STATICARRAYINITTYPESIZEU3D512_T3317833663_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512
struct __StaticArrayInitTypeSizeU3D512_t3317833663
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D512_t3317833663__padding[512];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D512_T3317833663_H
#ifndef MONOENCODING_T666837952_H
#define MONOENCODING_T666837952_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.Common.MonoEncoding
struct MonoEncoding_t666837952 : public Encoding_t1523322056
{
public:
// System.Int32 I18N.Common.MonoEncoding::win_code_page
int32_t ___win_code_page_62;
public:
inline static int32_t get_offset_of_win_code_page_62() { return static_cast<int32_t>(offsetof(MonoEncoding_t666837952, ___win_code_page_62)); }
inline int32_t get_win_code_page_62() const { return ___win_code_page_62; }
inline int32_t* get_address_of_win_code_page_62() { return &___win_code_page_62; }
inline void set_win_code_page_62(int32_t value)
{
___win_code_page_62 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOENCODING_T666837952_H
#ifndef BOOLEAN_T97287965_H
#define BOOLEAN_T97287965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean
struct Boolean_t97287965
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_t97287965_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((&___TrueString_5), value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((&___FalseString_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOLEAN_T97287965_H
#ifndef BYTE_T1134296376_H
#define BYTE_T1134296376_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Byte
struct Byte_t1134296376
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t1134296376, ___m_value_0)); }
inline uint8_t get_m_value_0() const { return ___m_value_0; }
inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint8_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BYTE_T1134296376_H
#ifndef CHAR_T3634460470_H
#define CHAR_T3634460470_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Char
struct Char_t3634460470
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_t3634460470, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_t3634460470_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_t4116647657* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_t4116647657* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_t4116647657** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_t4116647657* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((&___categoryForLatin1_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CHAR_T3634460470_H
#ifndef INT32_T2950945753_H
#define INT32_T2950945753_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32
struct Int32_t2950945753
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT32_T2950945753_H
#ifndef INTPTR_T_H
#define INTPTR_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INTPTR_T_H
#ifndef SYSTEMEXCEPTION_T176217640_H
#define SYSTEMEXCEPTION_T176217640_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.SystemException
struct SystemException_t176217640 : public Exception_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMEXCEPTION_T176217640_H
#ifndef VOID_T1185182177_H
#define VOID_T1185182177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void
struct Void_t1185182177
{
public:
union
{
struct
{
};
uint8_t Void_t1185182177__padding[1];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T1185182177_H
#ifndef U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255377_H
#define U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255377_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t3057255377 : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields
{
public:
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::05C64B887A4D766EEB5842345D6B609A0E3A91C9
__StaticArrayInitTypeSizeU3D512_t3317833663 ___05C64B887A4D766EEB5842345D6B609A0E3A91C9_0;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::148F346330E294B4157ED412259A7E7F373E26A8
__StaticArrayInitTypeSizeU3D512_t3317833663 ___148F346330E294B4157ED412259A7E7F373E26A8_1;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::1F867F0E96DB3A56943B8CB2662D1DA624023FCD
__StaticArrayInitTypeSizeU3D512_t3317833663 ___1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::3220DE2BE9769737429E0DE2C6D837CB7C5A02AD
__StaticArrayInitTypeSizeU3D512_t3317833663 ___3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::356CE585046545CD2D0B109FF8A85DB88EE29074
__StaticArrayInitTypeSizeU3D512_t3317833663 ___356CE585046545CD2D0B109FF8A85DB88EE29074_4;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::4FEA2A6324C0192B29C90830F5D578051A4B1B16
__StaticArrayInitTypeSizeU3D512_t3317833663 ___4FEA2A6324C0192B29C90830F5D578051A4B1B16_5;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::598D9433A53523A59D462896B803E416AB0B1901
__StaticArrayInitTypeSizeU3D512_t3317833663 ___598D9433A53523A59D462896B803E416AB0B1901_6;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::6E6F169B075CACDE575F1FEA42B1376D31D5A7E5
__StaticArrayInitTypeSizeU3D512_t3317833663 ___6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::7089F9820A6F9CC830909BCD1FAF2EF0A540F348
__StaticArrayInitTypeSizeU3D512_t3317833663 ___7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D
__StaticArrayInitTypeSizeU3D512_t3317833663 ___9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8
__StaticArrayInitTypeSizeU3D512_t3317833663 ___A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED
__StaticArrayInitTypeSizeU3D512_t3317833663 ___B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::D5DB24A984219B0001B4B86CDE1E0DF54572D83A
__StaticArrayInitTypeSizeU3D512_t3317833663 ___D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::E11338F644FF140C0E23D8B7526DB4D2D73FC3F7
__StaticArrayInitTypeSizeU3D512_t3317833663 ___E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=512 <PrivateImplementationDetails>::FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4
__StaticArrayInitTypeSizeU3D512_t3317833663 ___FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14;
public:
inline static int32_t get_offset_of_U305C64B887A4D766EEB5842345D6B609A0E3A91C9_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___05C64B887A4D766EEB5842345D6B609A0E3A91C9_0)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U305C64B887A4D766EEB5842345D6B609A0E3A91C9_0() const { return ___05C64B887A4D766EEB5842345D6B609A0E3A91C9_0; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U305C64B887A4D766EEB5842345D6B609A0E3A91C9_0() { return &___05C64B887A4D766EEB5842345D6B609A0E3A91C9_0; }
inline void set_U305C64B887A4D766EEB5842345D6B609A0E3A91C9_0(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___05C64B887A4D766EEB5842345D6B609A0E3A91C9_0 = value;
}
inline static int32_t get_offset_of_U3148F346330E294B4157ED412259A7E7F373E26A8_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___148F346330E294B4157ED412259A7E7F373E26A8_1)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U3148F346330E294B4157ED412259A7E7F373E26A8_1() const { return ___148F346330E294B4157ED412259A7E7F373E26A8_1; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U3148F346330E294B4157ED412259A7E7F373E26A8_1() { return &___148F346330E294B4157ED412259A7E7F373E26A8_1; }
inline void set_U3148F346330E294B4157ED412259A7E7F373E26A8_1(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___148F346330E294B4157ED412259A7E7F373E26A8_1 = value;
}
inline static int32_t get_offset_of_U31F867F0E96DB3A56943B8CB2662D1DA624023FCD_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U31F867F0E96DB3A56943B8CB2662D1DA624023FCD_2() const { return ___1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U31F867F0E96DB3A56943B8CB2662D1DA624023FCD_2() { return &___1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2; }
inline void set_U31F867F0E96DB3A56943B8CB2662D1DA624023FCD_2(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2 = value;
}
inline static int32_t get_offset_of_U33220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U33220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3() const { return ___3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U33220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3() { return &___3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3; }
inline void set_U33220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3 = value;
}
inline static int32_t get_offset_of_U3356CE585046545CD2D0B109FF8A85DB88EE29074_4() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___356CE585046545CD2D0B109FF8A85DB88EE29074_4)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U3356CE585046545CD2D0B109FF8A85DB88EE29074_4() const { return ___356CE585046545CD2D0B109FF8A85DB88EE29074_4; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U3356CE585046545CD2D0B109FF8A85DB88EE29074_4() { return &___356CE585046545CD2D0B109FF8A85DB88EE29074_4; }
inline void set_U3356CE585046545CD2D0B109FF8A85DB88EE29074_4(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___356CE585046545CD2D0B109FF8A85DB88EE29074_4 = value;
}
inline static int32_t get_offset_of_U34FEA2A6324C0192B29C90830F5D578051A4B1B16_5() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___4FEA2A6324C0192B29C90830F5D578051A4B1B16_5)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U34FEA2A6324C0192B29C90830F5D578051A4B1B16_5() const { return ___4FEA2A6324C0192B29C90830F5D578051A4B1B16_5; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U34FEA2A6324C0192B29C90830F5D578051A4B1B16_5() { return &___4FEA2A6324C0192B29C90830F5D578051A4B1B16_5; }
inline void set_U34FEA2A6324C0192B29C90830F5D578051A4B1B16_5(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___4FEA2A6324C0192B29C90830F5D578051A4B1B16_5 = value;
}
inline static int32_t get_offset_of_U3598D9433A53523A59D462896B803E416AB0B1901_6() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___598D9433A53523A59D462896B803E416AB0B1901_6)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U3598D9433A53523A59D462896B803E416AB0B1901_6() const { return ___598D9433A53523A59D462896B803E416AB0B1901_6; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U3598D9433A53523A59D462896B803E416AB0B1901_6() { return &___598D9433A53523A59D462896B803E416AB0B1901_6; }
inline void set_U3598D9433A53523A59D462896B803E416AB0B1901_6(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___598D9433A53523A59D462896B803E416AB0B1901_6 = value;
}
inline static int32_t get_offset_of_U36E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U36E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7() const { return ___6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U36E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7() { return &___6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7; }
inline void set_U36E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7 = value;
}
inline static int32_t get_offset_of_U37089F9820A6F9CC830909BCD1FAF2EF0A540F348_8() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U37089F9820A6F9CC830909BCD1FAF2EF0A540F348_8() const { return ___7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U37089F9820A6F9CC830909BCD1FAF2EF0A540F348_8() { return &___7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8; }
inline void set_U37089F9820A6F9CC830909BCD1FAF2EF0A540F348_8(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8 = value;
}
inline static int32_t get_offset_of_U39ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_U39ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9() const { return ___9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_U39ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9() { return &___9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9; }
inline void set_U39ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9 = value;
}
inline static int32_t get_offset_of_A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10() const { return ___A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10() { return &___A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10; }
inline void set_A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10 = value;
}
inline static int32_t get_offset_of_B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11() const { return ___B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11() { return &___B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11; }
inline void set_B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11 = value;
}
inline static int32_t get_offset_of_D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12() const { return ___D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12() { return &___D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12; }
inline void set_D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12 = value;
}
inline static int32_t get_offset_of_E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13() const { return ___E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13() { return &___E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13; }
inline void set_E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13 = value;
}
inline static int32_t get_offset_of_FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255377_StaticFields, ___FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14)); }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 get_FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14() const { return ___FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14; }
inline __StaticArrayInitTypeSizeU3D512_t3317833663 * get_address_of_FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14() { return &___FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14; }
inline void set_FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14(__StaticArrayInitTypeSizeU3D512_t3317833663 value)
{
___FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255377_H
#ifndef BYTEENCODING_T1371924561_H
#define BYTEENCODING_T1371924561_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.Common.ByteEncoding
struct ByteEncoding_t1371924561 : public MonoEncoding_t666837952
{
public:
// System.Char[] I18N.Common.ByteEncoding::toChars
CharU5BU5D_t3528271667* ___toChars_63;
// System.String I18N.Common.ByteEncoding::encodingName
String_t* ___encodingName_64;
// System.String I18N.Common.ByteEncoding::bodyName
String_t* ___bodyName_65;
// System.String I18N.Common.ByteEncoding::headerName
String_t* ___headerName_66;
// System.String I18N.Common.ByteEncoding::webName
String_t* ___webName_67;
// System.Boolean I18N.Common.ByteEncoding::isBrowserDisplay
bool ___isBrowserDisplay_68;
// System.Boolean I18N.Common.ByteEncoding::isBrowserSave
bool ___isBrowserSave_69;
// System.Boolean I18N.Common.ByteEncoding::isMailNewsDisplay
bool ___isMailNewsDisplay_70;
// System.Boolean I18N.Common.ByteEncoding::isMailNewsSave
bool ___isMailNewsSave_71;
// System.Int32 I18N.Common.ByteEncoding::windowsCodePage
int32_t ___windowsCodePage_72;
public:
inline static int32_t get_offset_of_toChars_63() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___toChars_63)); }
inline CharU5BU5D_t3528271667* get_toChars_63() const { return ___toChars_63; }
inline CharU5BU5D_t3528271667** get_address_of_toChars_63() { return &___toChars_63; }
inline void set_toChars_63(CharU5BU5D_t3528271667* value)
{
___toChars_63 = value;
Il2CppCodeGenWriteBarrier((&___toChars_63), value);
}
inline static int32_t get_offset_of_encodingName_64() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___encodingName_64)); }
inline String_t* get_encodingName_64() const { return ___encodingName_64; }
inline String_t** get_address_of_encodingName_64() { return &___encodingName_64; }
inline void set_encodingName_64(String_t* value)
{
___encodingName_64 = value;
Il2CppCodeGenWriteBarrier((&___encodingName_64), value);
}
inline static int32_t get_offset_of_bodyName_65() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___bodyName_65)); }
inline String_t* get_bodyName_65() const { return ___bodyName_65; }
inline String_t** get_address_of_bodyName_65() { return &___bodyName_65; }
inline void set_bodyName_65(String_t* value)
{
___bodyName_65 = value;
Il2CppCodeGenWriteBarrier((&___bodyName_65), value);
}
inline static int32_t get_offset_of_headerName_66() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___headerName_66)); }
inline String_t* get_headerName_66() const { return ___headerName_66; }
inline String_t** get_address_of_headerName_66() { return &___headerName_66; }
inline void set_headerName_66(String_t* value)
{
___headerName_66 = value;
Il2CppCodeGenWriteBarrier((&___headerName_66), value);
}
inline static int32_t get_offset_of_webName_67() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___webName_67)); }
inline String_t* get_webName_67() const { return ___webName_67; }
inline String_t** get_address_of_webName_67() { return &___webName_67; }
inline void set_webName_67(String_t* value)
{
___webName_67 = value;
Il2CppCodeGenWriteBarrier((&___webName_67), value);
}
inline static int32_t get_offset_of_isBrowserDisplay_68() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___isBrowserDisplay_68)); }
inline bool get_isBrowserDisplay_68() const { return ___isBrowserDisplay_68; }
inline bool* get_address_of_isBrowserDisplay_68() { return &___isBrowserDisplay_68; }
inline void set_isBrowserDisplay_68(bool value)
{
___isBrowserDisplay_68 = value;
}
inline static int32_t get_offset_of_isBrowserSave_69() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___isBrowserSave_69)); }
inline bool get_isBrowserSave_69() const { return ___isBrowserSave_69; }
inline bool* get_address_of_isBrowserSave_69() { return &___isBrowserSave_69; }
inline void set_isBrowserSave_69(bool value)
{
___isBrowserSave_69 = value;
}
inline static int32_t get_offset_of_isMailNewsDisplay_70() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___isMailNewsDisplay_70)); }
inline bool get_isMailNewsDisplay_70() const { return ___isMailNewsDisplay_70; }
inline bool* get_address_of_isMailNewsDisplay_70() { return &___isMailNewsDisplay_70; }
inline void set_isMailNewsDisplay_70(bool value)
{
___isMailNewsDisplay_70 = value;
}
inline static int32_t get_offset_of_isMailNewsSave_71() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___isMailNewsSave_71)); }
inline bool get_isMailNewsSave_71() const { return ___isMailNewsSave_71; }
inline bool* get_address_of_isMailNewsSave_71() { return &___isMailNewsSave_71; }
inline void set_isMailNewsSave_71(bool value)
{
___isMailNewsSave_71 = value;
}
inline static int32_t get_offset_of_windowsCodePage_72() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561, ___windowsCodePage_72)); }
inline int32_t get_windowsCodePage_72() const { return ___windowsCodePage_72; }
inline int32_t* get_address_of_windowsCodePage_72() { return &___windowsCodePage_72; }
inline void set_windowsCodePage_72(int32_t value)
{
___windowsCodePage_72 = value;
}
};
struct ByteEncoding_t1371924561_StaticFields
{
public:
// System.Byte[] I18N.Common.ByteEncoding::isNormalized
ByteU5BU5D_t4116647657* ___isNormalized_73;
// System.Byte[] I18N.Common.ByteEncoding::isNormalizedComputed
ByteU5BU5D_t4116647657* ___isNormalizedComputed_74;
// System.Byte[] I18N.Common.ByteEncoding::normalization_bytes
ByteU5BU5D_t4116647657* ___normalization_bytes_75;
public:
inline static int32_t get_offset_of_isNormalized_73() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561_StaticFields, ___isNormalized_73)); }
inline ByteU5BU5D_t4116647657* get_isNormalized_73() const { return ___isNormalized_73; }
inline ByteU5BU5D_t4116647657** get_address_of_isNormalized_73() { return &___isNormalized_73; }
inline void set_isNormalized_73(ByteU5BU5D_t4116647657* value)
{
___isNormalized_73 = value;
Il2CppCodeGenWriteBarrier((&___isNormalized_73), value);
}
inline static int32_t get_offset_of_isNormalizedComputed_74() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561_StaticFields, ___isNormalizedComputed_74)); }
inline ByteU5BU5D_t4116647657* get_isNormalizedComputed_74() const { return ___isNormalizedComputed_74; }
inline ByteU5BU5D_t4116647657** get_address_of_isNormalizedComputed_74() { return &___isNormalizedComputed_74; }
inline void set_isNormalizedComputed_74(ByteU5BU5D_t4116647657* value)
{
___isNormalizedComputed_74 = value;
Il2CppCodeGenWriteBarrier((&___isNormalizedComputed_74), value);
}
inline static int32_t get_offset_of_normalization_bytes_75() { return static_cast<int32_t>(offsetof(ByteEncoding_t1371924561_StaticFields, ___normalization_bytes_75)); }
inline ByteU5BU5D_t4116647657* get_normalization_bytes_75() const { return ___normalization_bytes_75; }
inline ByteU5BU5D_t4116647657** get_address_of_normalization_bytes_75() { return &___normalization_bytes_75; }
inline void set_normalization_bytes_75(ByteU5BU5D_t4116647657* value)
{
___normalization_bytes_75 = value;
Il2CppCodeGenWriteBarrier((&___normalization_bytes_75), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BYTEENCODING_T1371924561_H
#ifndef ARGUMENTEXCEPTION_T132251570_H
#define ARGUMENTEXCEPTION_T132251570_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentException
struct ArgumentException_t132251570 : public SystemException_t176217640
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_t132251570, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((&___m_paramName_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTEXCEPTION_T132251570_H
#ifndef RUNTIMEFIELDHANDLE_T1871169219_H
#define RUNTIMEFIELDHANDLE_T1871169219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t1871169219
{
public:
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeFieldHandle_t1871169219, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEFIELDHANDLE_T1871169219_H
#ifndef CP10000_T776152390_H
#define CP10000_T776152390_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP10000
struct CP10000_t776152390 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP10000_t776152390_StaticFields
{
public:
// System.Char[] I18N.West.CP10000::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP10000_t776152390_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP10000_T776152390_H
#ifndef CP10079_T3879478589_H
#define CP10079_T3879478589_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP10079
struct CP10079_t3879478589 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP10079_t3879478589_StaticFields
{
public:
// System.Char[] I18N.West.CP10079::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP10079_t3879478589_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP10079_T3879478589_H
#ifndef CP1250_T1787607523_H
#define CP1250_T1787607523_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP1250
struct CP1250_t1787607523 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP1250_t1787607523_StaticFields
{
public:
// System.Char[] I18N.West.CP1250::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP1250_t1787607523_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP1250_T1787607523_H
#ifndef CP1252_T2169944547_H
#define CP1252_T2169944547_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP1252
struct CP1252_t2169944547 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP1252_t2169944547_StaticFields
{
public:
// System.Char[] I18N.West.CP1252::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP1252_t2169944547_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP1252_T2169944547_H
#ifndef CP1253_T4126259683_H
#define CP1253_T4126259683_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP1253
struct CP1253_t4126259683 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP1253_t4126259683_StaticFields
{
public:
// System.Char[] I18N.West.CP1253::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP1253_t4126259683_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP1253_T4126259683_H
#ifndef CP28592_T3519602206_H
#define CP28592_T3519602206_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP28592
struct CP28592_t3519602206 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP28592_t3519602206_StaticFields
{
public:
// System.Char[] I18N.West.CP28592::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP28592_t3519602206_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP28592_T3519602206_H
#ifndef CP28593_T3519602207_H
#define CP28593_T3519602207_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP28593
struct CP28593_t3519602207 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP28593_t3519602207_StaticFields
{
public:
// System.Char[] I18N.West.CP28593::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP28593_t3519602207_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP28593_T3519602207_H
#ifndef CP28597_T3519602203_H
#define CP28597_T3519602203_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP28597
struct CP28597_t3519602203 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP28597_t3519602203_StaticFields
{
public:
// System.Char[] I18N.West.CP28597::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP28597_t3519602203_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP28597_T3519602203_H
#ifndef CP28605_T1600022914_H
#define CP28605_T1600022914_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP28605
struct CP28605_t1600022914 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP28605_t1600022914_StaticFields
{
public:
// System.Char[] I18N.West.CP28605::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP28605_t1600022914_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP28605_T1600022914_H
#ifndef CP437_T3683438768_H
#define CP437_T3683438768_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP437
struct CP437_t3683438768 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP437_t3683438768_StaticFields
{
public:
// System.Char[] I18N.West.CP437::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP437_t3683438768_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP437_T3683438768_H
#ifndef CP850_T1311178993_H
#define CP850_T1311178993_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP850
struct CP850_t1311178993 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP850_t1311178993_StaticFields
{
public:
// System.Char[] I18N.West.CP850::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP850_t1311178993_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP850_T1311178993_H
#ifndef CP860_T1311113457_H
#define CP860_T1311113457_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP860
struct CP860_t1311113457 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP860_t1311113457_StaticFields
{
public:
// System.Char[] I18N.West.CP860::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP860_t1311113457_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP860_T1311113457_H
#ifndef CP861_T2877197398_H
#define CP861_T2877197398_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP861
struct CP861_t2877197398 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP861_t2877197398_StaticFields
{
public:
// System.Char[] I18N.West.CP861::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP861_t2877197398_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP861_T2877197398_H
#ifndef CP863_T1714397984_H
#define CP863_T1714397984_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP863
struct CP863_t1714397984 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP863_t1714397984_StaticFields
{
public:
// System.Char[] I18N.West.CP863::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP863_t1714397984_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP863_T1714397984_H
#ifndef CP865_T551598570_H
#define CP865_T551598570_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.CP865
struct CP865_t551598570 : public ByteEncoding_t1371924561
{
public:
public:
};
struct CP865_t551598570_StaticFields
{
public:
// System.Char[] I18N.West.CP865::ToChars
CharU5BU5D_t3528271667* ___ToChars_76;
public:
inline static int32_t get_offset_of_ToChars_76() { return static_cast<int32_t>(offsetof(CP865_t551598570_StaticFields, ___ToChars_76)); }
inline CharU5BU5D_t3528271667* get_ToChars_76() const { return ___ToChars_76; }
inline CharU5BU5D_t3528271667** get_address_of_ToChars_76() { return &___ToChars_76; }
inline void set_ToChars_76(CharU5BU5D_t3528271667* value)
{
___ToChars_76 = value;
Il2CppCodeGenWriteBarrier((&___ToChars_76), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CP865_T551598570_H
#ifndef ARGUMENTNULLEXCEPTION_T1615371798_H
#define ARGUMENTNULLEXCEPTION_T1615371798_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentNullException
struct ArgumentNullException_t1615371798 : public ArgumentException_t132251570
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTNULLEXCEPTION_T1615371798_H
#ifndef ENCIBM437_T3410411110_H
#define ENCIBM437_T3410411110_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm437
struct ENCibm437_t3410411110 : public CP437_t3683438768
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM437_T3410411110_H
#ifndef ENCIBM850_T3813826705_H
#define ENCIBM850_T3813826705_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm850
struct ENCibm850_t3813826705 : public CP850_t1311178993
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM850_T3813826705_H
#ifndef ENCIBM860_T3814023313_H
#define ENCIBM860_T3814023313_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm860
struct ENCibm860_t3814023313 : public CP860_t1311113457
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM860_T3814023313_H
#ifndef ENCIBM861_T2247939372_H
#define ENCIBM861_T2247939372_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm861
struct ENCibm861_t2247939372 : public CP861_t2877197398
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM861_T2247939372_H
#ifndef ENCIBM863_T1085139958_H
#define ENCIBM863_T1085139958_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm863
struct ENCibm863_t1085139958 : public CP863_t1714397984
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM863_T1085139958_H
#ifndef ENCIBM865_T278570904_H
#define ENCIBM865_T278570904_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCibm865
struct ENCibm865_t278570904 : public CP865_t551598570
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCIBM865_T278570904_H
#ifndef ENCISO_8859_15_T3881981915_H
#define ENCISO_8859_15_T3881981915_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCiso_8859_15
struct ENCiso_8859_15_t3881981915 : public CP28605_t1600022914
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCISO_8859_15_T3881981915_H
#ifndef ENCISO_8859_2_T815391552_H
#define ENCISO_8859_2_T815391552_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCiso_8859_2
struct ENCiso_8859_2_t815391552 : public CP28592_t3519602206
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCISO_8859_2_T815391552_H
#ifndef ENCISO_8859_3_T2381475493_H
#define ENCISO_8859_3_T2381475493_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCiso_8859_3
struct ENCiso_8859_3_t2381475493 : public CP28593_t3519602207
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCISO_8859_3_T2381475493_H
#ifndef ENCISO_8859_7_T412107025_H
#define ENCISO_8859_7_T412107025_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCiso_8859_7
struct ENCiso_8859_7_t412107025 : public CP28597_t3519602203
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCISO_8859_7_T412107025_H
#ifndef ENCMACINTOSH_T1087697298_H
#define ENCMACINTOSH_T1087697298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCmacintosh
struct ENCmacintosh_t1087697298 : public CP10000_t776152390
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCMACINTOSH_T1087697298_H
#ifndef ENCWINDOWS_1250_T3241285640_H
#define ENCWINDOWS_1250_T3241285640_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCwindows_1250
struct ENCwindows_1250_t3241285640 : public CP1250_t1787607523
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCWINDOWS_1250_T3241285640_H
#ifndef ENCWINDOWS_1252_T3241285642_H
#define ENCWINDOWS_1252_T3241285642_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCwindows_1252
struct ENCwindows_1252_t3241285642 : public CP1252_t2169944547
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCWINDOWS_1252_T3241285642_H
#ifndef ENCWINDOWS_1253_T3241285643_H
#define ENCWINDOWS_1253_T3241285643_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCwindows_1253
struct ENCwindows_1253_t3241285643 : public CP1253_t4126259683
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCWINDOWS_1253_T3241285643_H
#ifndef ENCX_MAC_ICELANDIC_T2411177152_H
#define ENCX_MAC_ICELANDIC_T2411177152_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// I18N.West.ENCx_mac_icelandic
struct ENCx_mac_icelandic_t2411177152 : public CP10079_t3879478589
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCX_MAC_ICELANDIC_T2411177152_H
// System.Char[]
struct CharU5BU5D_t3528271667 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Il2CppChar m_Items[1];
public:
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// System.Void I18N.Common.ByteEncoding::.ctor(System.Int32,System.Char[],System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ByteEncoding__ctor_m2650597204 (ByteEncoding_t1371924561 * __this, int32_t p0, CharU5BU5D_t3528271667* p1, String_t* p2, String_t* p3, String_t* p4, String_t* p5, bool p6, bool p7, bool p8, bool p9, int32_t p10, const RuntimeMethod* method);
// System.Text.EncoderFallback System.Text.Encoding::get_EncoderFallback()
extern "C" IL2CPP_METHOD_ATTR EncoderFallback_t1188251036 * Encoding_get_EncoderFallback_m4088593971 (Encoding_t1523322056 * __this, const RuntimeMethod* method);
// System.Int32 System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
extern "C" IL2CPP_METHOD_ATTR int32_t RuntimeHelpers_get_OffsetToStringData_m2192601476 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t String_get_Length_m3847582255 (String_t* __this, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m1170824041 (ArgumentNullException_t1615371798 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void I18N.Common.MonoEncoding::HandleFallback(System.Text.EncoderFallbackBuffer&,System.Char*,System.Int32&,System.Int32&,System.Byte*,System.Int32&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void MonoEncoding_HandleFallback_m37600073 (MonoEncoding_t666837952 * __this, EncoderFallbackBuffer_t3523102303 ** p0, Il2CppChar* p1, int32_t* p2, int32_t* p3, uint8_t* p4, int32_t* p5, int32_t* p6, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
extern "C" IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m3117905507 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, RuntimeFieldHandle_t1871169219 p1, const RuntimeMethod* method);
// System.Void I18N.West.CP437::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP437__ctor_m2326238033 (CP437_t3683438768 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP850::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP850__ctor_m2102303190 (CP850_t1311178993 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP860::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP860__ctor_m2017565142 (CP860_t1311113457 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP861::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP861__ctor_m2017557783 (CP861_t2877197398 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP863::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP863__ctor_m2017561793 (CP863_t1714397984 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP865::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP865__ctor_m2017562139 (CP865_t551598570 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP28605::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28605__ctor_m3830061296 (CP28605_t1600022914 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP28592::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28592__ctor_m2087654126 (CP28592_t3519602206 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP28593::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28593__ctor_m1724258889 (CP28593_t3519602207 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP28597::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28597__ctor_m3177839837 (CP28597_t3519602203 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP10000::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP10000__ctor_m3617119530 (CP10000_t776152390 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP1250::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1250__ctor_m1346107891 (CP1250_t1787607523 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP1252::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1252__ctor_m1487796723 (CP1252_t2169944547 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP1253::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1253__ctor_m1416428019 (CP1253_t4126259683 * __this, const RuntimeMethod* method);
// System.Void I18N.West.CP10079::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP10079__ctor_m1290414847 (CP10079_t3879478589 * __this, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP10000::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP10000__ctor_m3617119530 (CP10000_t776152390 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10000__ctor_m3617119530_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP10000_t776152390_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP10000_t776152390_StaticFields*)il2cpp_codegen_static_fields_for(CP10000_t776152390_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)10000), L_0, _stringLiteral1714878455, _stringLiteral2815495132, _stringLiteral2815495132, _stringLiteral2815495132, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP10000::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10000_GetByteCountImpl_m4071366027 (CP10000_t776152390 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP10000::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10000_GetByteCount_m697898292 (CP10000_t776152390 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP10000::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP10000_ToBytes_m649997851 (CP10000_t776152390 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10000_ToBytes_m649997851_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP10000_ToBytes_m649997851_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP10000::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10000_GetBytesImpl_m3816693721 (CP10000_t776152390 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0ab6;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_0a98;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)8706))))
{
goto IL_0403;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)733))))
{
goto IL_0320;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)376))))
{
goto IL_02c9;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)338))))
{
goto IL_02ae;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)160))))
{
case 0:
{
goto IL_0521;
}
case 1:
{
goto IL_052c;
}
case 2:
{
goto IL_0a98;
}
case 3:
{
goto IL_0a98;
}
case 4:
{
goto IL_0537;
}
case 5:
{
goto IL_0542;
}
case 6:
{
goto IL_0a61;
}
case 7:
{
goto IL_054d;
}
case 8:
{
goto IL_0558;
}
case 9:
{
goto IL_0a98;
}
case 10:
{
goto IL_0563;
}
case 11:
{
goto IL_056e;
}
case 12:
{
goto IL_0579;
}
case 13:
{
goto IL_0a61;
}
case 14:
{
goto IL_0584;
}
case 15:
{
goto IL_058f;
}
case 16:
{
goto IL_059a;
}
case 17:
{
goto IL_0a98;
}
case 18:
{
goto IL_0a61;
}
case 19:
{
goto IL_0a61;
}
case 20:
{
goto IL_05a5;
}
case 21:
{
goto IL_0a98;
}
case 22:
{
goto IL_05b0;
}
case 23:
{
goto IL_05bb;
}
case 24:
{
goto IL_05c6;
}
case 25:
{
goto IL_0a61;
}
case 26:
{
goto IL_05d1;
}
case 27:
{
goto IL_05dc;
}
case 28:
{
goto IL_0a61;
}
case 29:
{
goto IL_0a61;
}
case 30:
{
goto IL_0a61;
}
case 31:
{
goto IL_05e7;
}
case 32:
{
goto IL_05f2;
}
case 33:
{
goto IL_05fd;
}
case 34:
{
goto IL_0608;
}
case 35:
{
goto IL_0613;
}
case 36:
{
goto IL_061e;
}
case 37:
{
goto IL_0629;
}
case 38:
{
goto IL_0634;
}
case 39:
{
goto IL_063f;
}
case 40:
{
goto IL_064a;
}
case 41:
{
goto IL_0655;
}
case 42:
{
goto IL_0660;
}
case 43:
{
goto IL_066b;
}
case 44:
{
goto IL_0676;
}
case 45:
{
goto IL_0681;
}
case 46:
{
goto IL_068c;
}
case 47:
{
goto IL_0697;
}
case 48:
{
goto IL_0a61;
}
case 49:
{
goto IL_06a2;
}
case 50:
{
goto IL_06ad;
}
case 51:
{
goto IL_06b8;
}
case 52:
{
goto IL_06c3;
}
case 53:
{
goto IL_06ce;
}
case 54:
{
goto IL_06d9;
}
case 55:
{
goto IL_0a61;
}
case 56:
{
goto IL_06e4;
}
case 57:
{
goto IL_06ef;
}
case 58:
{
goto IL_06fa;
}
case 59:
{
goto IL_0705;
}
case 60:
{
goto IL_0710;
}
case 61:
{
goto IL_0a61;
}
case 62:
{
goto IL_0a61;
}
case 63:
{
goto IL_071b;
}
case 64:
{
goto IL_0726;
}
case 65:
{
goto IL_0731;
}
case 66:
{
goto IL_073c;
}
case 67:
{
goto IL_0747;
}
case 68:
{
goto IL_0752;
}
case 69:
{
goto IL_075d;
}
case 70:
{
goto IL_0768;
}
case 71:
{
goto IL_0773;
}
case 72:
{
goto IL_077e;
}
case 73:
{
goto IL_0789;
}
case 74:
{
goto IL_0794;
}
case 75:
{
goto IL_079f;
}
case 76:
{
goto IL_07aa;
}
case 77:
{
goto IL_07b5;
}
case 78:
{
goto IL_07c0;
}
case 79:
{
goto IL_07cb;
}
case 80:
{
goto IL_0a61;
}
case 81:
{
goto IL_07d6;
}
case 82:
{
goto IL_07e1;
}
case 83:
{
goto IL_07ec;
}
case 84:
{
goto IL_07f7;
}
case 85:
{
goto IL_0802;
}
case 86:
{
goto IL_080d;
}
case 87:
{
goto IL_0818;
}
case 88:
{
goto IL_0823;
}
case 89:
{
goto IL_082e;
}
case 90:
{
goto IL_0839;
}
case 91:
{
goto IL_0844;
}
case 92:
{
goto IL_084f;
}
case 93:
{
goto IL_0a61;
}
case 94:
{
goto IL_0a61;
}
case 95:
{
goto IL_085a;
}
case 96:
{
goto IL_0a61;
}
case 97:
{
goto IL_0a61;
}
case 98:
{
goto IL_0a61;
}
case 99:
{
goto IL_0a61;
}
case 100:
{
goto IL_0a61;
}
case 101:
{
goto IL_0a61;
}
case 102:
{
goto IL_0a61;
}
case 103:
{
goto IL_0a61;
}
case 104:
{
goto IL_0a61;
}
case 105:
{
goto IL_0a61;
}
case 106:
{
goto IL_0a61;
}
case 107:
{
goto IL_0a61;
}
case 108:
{
goto IL_0a61;
}
case 109:
{
goto IL_0a61;
}
case 110:
{
goto IL_0a61;
}
case 111:
{
goto IL_0a61;
}
case 112:
{
goto IL_0a61;
}
case 113:
{
goto IL_0a61;
}
case 114:
{
goto IL_0a61;
}
case 115:
{
goto IL_0a61;
}
case 116:
{
goto IL_0a61;
}
case 117:
{
goto IL_0a61;
}
case 118:
{
goto IL_0a61;
}
case 119:
{
goto IL_0a61;
}
case 120:
{
goto IL_0a61;
}
case 121:
{
goto IL_0a61;
}
case 122:
{
goto IL_0a61;
}
case 123:
{
goto IL_0a61;
}
case 124:
{
goto IL_0a61;
}
case 125:
{
goto IL_0a61;
}
case 126:
{
goto IL_0a61;
}
case 127:
{
goto IL_0a61;
}
case 128:
{
goto IL_0a61;
}
case 129:
{
goto IL_0a61;
}
case 130:
{
goto IL_0a61;
}
case 131:
{
goto IL_0a61;
}
case 132:
{
goto IL_0a61;
}
case 133:
{
goto IL_0a61;
}
case 134:
{
goto IL_0a61;
}
case 135:
{
goto IL_0a61;
}
case 136:
{
goto IL_0a61;
}
case 137:
{
goto IL_0a61;
}
case 138:
{
goto IL_0a61;
}
case 139:
{
goto IL_0a61;
}
case 140:
{
goto IL_0a61;
}
case 141:
{
goto IL_0a61;
}
case 142:
{
goto IL_0a61;
}
case 143:
{
goto IL_0a61;
}
case 144:
{
goto IL_0a61;
}
case 145:
{
goto IL_0865;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)338))))
{
goto IL_0870;
}
}
{
goto IL_0a61;
}
IL_02ae:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)339))))
{
goto IL_087b;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)376))))
{
goto IL_0886;
}
}
{
goto IL_0a61;
}
IL_02c9:
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) > ((int32_t)((int32_t)710))))
{
goto IL_02ec;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)402))))
{
goto IL_0891;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)710))))
{
goto IL_089c;
}
}
{
goto IL_0a61;
}
IL_02ec:
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)711))))
{
goto IL_08a7;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)728))))
{
case 0:
{
goto IL_08b2;
}
case 1:
{
goto IL_08bd;
}
case 2:
{
goto IL_08c8;
}
case 3:
{
goto IL_08d3;
}
case 4:
{
goto IL_08de;
}
case 5:
{
goto IL_08e9;
}
}
}
{
goto IL_0a61;
}
IL_0320:
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) > ((int32_t)((int32_t)8249))))
{
goto IL_03ba;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) > ((int32_t)((int32_t)8230))))
{
goto IL_039f;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)960))))
{
goto IL_08f4;
}
}
{
int32_t L_19 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)((int32_t)8211))))
{
case 0:
{
goto IL_08ff;
}
case 1:
{
goto IL_090a;
}
case 2:
{
goto IL_0a61;
}
case 3:
{
goto IL_0a61;
}
case 4:
{
goto IL_0a61;
}
case 5:
{
goto IL_0915;
}
case 6:
{
goto IL_0920;
}
case 7:
{
goto IL_092b;
}
case 8:
{
goto IL_0a61;
}
case 9:
{
goto IL_0936;
}
case 10:
{
goto IL_0941;
}
case 11:
{
goto IL_094c;
}
case 12:
{
goto IL_0a61;
}
case 13:
{
goto IL_0957;
}
case 14:
{
goto IL_0962;
}
case 15:
{
goto IL_096d;
}
case 16:
{
goto IL_0a61;
}
case 17:
{
goto IL_0a61;
}
case 18:
{
goto IL_0a61;
}
case 19:
{
goto IL_0978;
}
}
}
{
goto IL_0a61;
}
IL_039f:
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8240))))
{
goto IL_0983;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8249))))
{
goto IL_098e;
}
}
{
goto IL_0a61;
}
IL_03ba:
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) > ((int32_t)((int32_t)8260))))
{
goto IL_03dd;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)8250))))
{
goto IL_0999;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8260))))
{
goto IL_09a4;
}
}
{
goto IL_0a61;
}
IL_03dd:
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)8482))))
{
goto IL_09af;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8486))))
{
goto IL_09ba;
}
}
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) == ((int32_t)((int32_t)8706))))
{
goto IL_09c5;
}
}
{
goto IL_0a61;
}
IL_0403:
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) > ((int32_t)((int32_t)8800))))
{
goto IL_0492;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) > ((int32_t)((int32_t)8730))))
{
goto IL_0454;
}
}
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) > ((int32_t)((int32_t)8719))))
{
goto IL_0439;
}
}
{
int32_t L_31 = V_0;
if ((((int32_t)L_31) == ((int32_t)((int32_t)8710))))
{
goto IL_09d0;
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)8719))))
{
goto IL_09db;
}
}
{
goto IL_0a61;
}
IL_0439:
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)8721))))
{
goto IL_09e6;
}
}
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) == ((int32_t)((int32_t)8730))))
{
goto IL_09f1;
}
}
{
goto IL_0a61;
}
IL_0454:
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) > ((int32_t)((int32_t)8747))))
{
goto IL_0477;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8734))))
{
goto IL_09fc;
}
}
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)8747))))
{
goto IL_0a07;
}
}
{
goto IL_0a61;
}
IL_0477:
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)8776))))
{
goto IL_0a12;
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) == ((int32_t)((int32_t)8800))))
{
goto IL_0a1a;
}
}
{
goto IL_0a61;
}
IL_0492:
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) > ((int32_t)((int32_t)9674))))
{
goto IL_04d8;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) > ((int32_t)((int32_t)8805))))
{
goto IL_04bd;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)8804))))
{
goto IL_0a22;
}
}
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)8805))))
{
goto IL_0a2a;
}
}
{
goto IL_0a61;
}
IL_04bd:
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)8984))))
{
goto IL_0a32;
}
}
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9674))))
{
goto IL_0a37;
}
}
{
goto IL_0a61;
}
IL_04d8:
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) > ((int32_t)((int32_t)10003))))
{
goto IL_04fb;
}
}
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) == ((int32_t)((int32_t)9830))))
{
goto IL_0a3f;
}
}
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) == ((int32_t)((int32_t)10003))))
{
goto IL_0a44;
}
}
{
goto IL_0a61;
}
IL_04fb:
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)63743))))
{
goto IL_0a49;
}
}
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) == ((int32_t)((int32_t)64257))))
{
goto IL_0a51;
}
}
{
int32_t L_51 = V_0;
if ((((int32_t)L_51) == ((int32_t)((int32_t)64258))))
{
goto IL_0a59;
}
}
{
goto IL_0a61;
}
IL_0521:
{
V_0 = ((int32_t)202);
goto IL_0a98;
}
IL_052c:
{
V_0 = ((int32_t)193);
goto IL_0a98;
}
IL_0537:
{
V_0 = ((int32_t)219);
goto IL_0a98;
}
IL_0542:
{
V_0 = ((int32_t)180);
goto IL_0a98;
}
IL_054d:
{
V_0 = ((int32_t)164);
goto IL_0a98;
}
IL_0558:
{
V_0 = ((int32_t)172);
goto IL_0a98;
}
IL_0563:
{
V_0 = ((int32_t)187);
goto IL_0a98;
}
IL_056e:
{
V_0 = ((int32_t)199);
goto IL_0a98;
}
IL_0579:
{
V_0 = ((int32_t)194);
goto IL_0a98;
}
IL_0584:
{
V_0 = ((int32_t)168);
goto IL_0a98;
}
IL_058f:
{
V_0 = ((int32_t)248);
goto IL_0a98;
}
IL_059a:
{
V_0 = ((int32_t)161);
goto IL_0a98;
}
IL_05a5:
{
V_0 = ((int32_t)171);
goto IL_0a98;
}
IL_05b0:
{
V_0 = ((int32_t)166);
goto IL_0a98;
}
IL_05bb:
{
V_0 = ((int32_t)225);
goto IL_0a98;
}
IL_05c6:
{
V_0 = ((int32_t)252);
goto IL_0a98;
}
IL_05d1:
{
V_0 = ((int32_t)188);
goto IL_0a98;
}
IL_05dc:
{
V_0 = ((int32_t)200);
goto IL_0a98;
}
IL_05e7:
{
V_0 = ((int32_t)192);
goto IL_0a98;
}
IL_05f2:
{
V_0 = ((int32_t)203);
goto IL_0a98;
}
IL_05fd:
{
V_0 = ((int32_t)231);
goto IL_0a98;
}
IL_0608:
{
V_0 = ((int32_t)229);
goto IL_0a98;
}
IL_0613:
{
V_0 = ((int32_t)204);
goto IL_0a98;
}
IL_061e:
{
V_0 = ((int32_t)128);
goto IL_0a98;
}
IL_0629:
{
V_0 = ((int32_t)129);
goto IL_0a98;
}
IL_0634:
{
V_0 = ((int32_t)174);
goto IL_0a98;
}
IL_063f:
{
V_0 = ((int32_t)130);
goto IL_0a98;
}
IL_064a:
{
V_0 = ((int32_t)233);
goto IL_0a98;
}
IL_0655:
{
V_0 = ((int32_t)131);
goto IL_0a98;
}
IL_0660:
{
V_0 = ((int32_t)230);
goto IL_0a98;
}
IL_066b:
{
V_0 = ((int32_t)232);
goto IL_0a98;
}
IL_0676:
{
V_0 = ((int32_t)237);
goto IL_0a98;
}
IL_0681:
{
V_0 = ((int32_t)234);
goto IL_0a98;
}
IL_068c:
{
V_0 = ((int32_t)235);
goto IL_0a98;
}
IL_0697:
{
V_0 = ((int32_t)236);
goto IL_0a98;
}
IL_06a2:
{
V_0 = ((int32_t)132);
goto IL_0a98;
}
IL_06ad:
{
V_0 = ((int32_t)241);
goto IL_0a98;
}
IL_06b8:
{
V_0 = ((int32_t)238);
goto IL_0a98;
}
IL_06c3:
{
V_0 = ((int32_t)239);
goto IL_0a98;
}
IL_06ce:
{
V_0 = ((int32_t)205);
goto IL_0a98;
}
IL_06d9:
{
V_0 = ((int32_t)133);
goto IL_0a98;
}
IL_06e4:
{
V_0 = ((int32_t)175);
goto IL_0a98;
}
IL_06ef:
{
V_0 = ((int32_t)244);
goto IL_0a98;
}
IL_06fa:
{
V_0 = ((int32_t)242);
goto IL_0a98;
}
IL_0705:
{
V_0 = ((int32_t)243);
goto IL_0a98;
}
IL_0710:
{
V_0 = ((int32_t)134);
goto IL_0a98;
}
IL_071b:
{
V_0 = ((int32_t)167);
goto IL_0a98;
}
IL_0726:
{
V_0 = ((int32_t)136);
goto IL_0a98;
}
IL_0731:
{
V_0 = ((int32_t)135);
goto IL_0a98;
}
IL_073c:
{
V_0 = ((int32_t)137);
goto IL_0a98;
}
IL_0747:
{
V_0 = ((int32_t)139);
goto IL_0a98;
}
IL_0752:
{
V_0 = ((int32_t)138);
goto IL_0a98;
}
IL_075d:
{
V_0 = ((int32_t)140);
goto IL_0a98;
}
IL_0768:
{
V_0 = ((int32_t)190);
goto IL_0a98;
}
IL_0773:
{
V_0 = ((int32_t)141);
goto IL_0a98;
}
IL_077e:
{
V_0 = ((int32_t)143);
goto IL_0a98;
}
IL_0789:
{
V_0 = ((int32_t)142);
goto IL_0a98;
}
IL_0794:
{
V_0 = ((int32_t)144);
goto IL_0a98;
}
IL_079f:
{
V_0 = ((int32_t)145);
goto IL_0a98;
}
IL_07aa:
{
V_0 = ((int32_t)147);
goto IL_0a98;
}
IL_07b5:
{
V_0 = ((int32_t)146);
goto IL_0a98;
}
IL_07c0:
{
V_0 = ((int32_t)148);
goto IL_0a98;
}
IL_07cb:
{
V_0 = ((int32_t)149);
goto IL_0a98;
}
IL_07d6:
{
V_0 = ((int32_t)150);
goto IL_0a98;
}
IL_07e1:
{
V_0 = ((int32_t)152);
goto IL_0a98;
}
IL_07ec:
{
V_0 = ((int32_t)151);
goto IL_0a98;
}
IL_07f7:
{
V_0 = ((int32_t)153);
goto IL_0a98;
}
IL_0802:
{
V_0 = ((int32_t)155);
goto IL_0a98;
}
IL_080d:
{
V_0 = ((int32_t)154);
goto IL_0a98;
}
IL_0818:
{
V_0 = ((int32_t)214);
goto IL_0a98;
}
IL_0823:
{
V_0 = ((int32_t)191);
goto IL_0a98;
}
IL_082e:
{
V_0 = ((int32_t)157);
goto IL_0a98;
}
IL_0839:
{
V_0 = ((int32_t)156);
goto IL_0a98;
}
IL_0844:
{
V_0 = ((int32_t)158);
goto IL_0a98;
}
IL_084f:
{
V_0 = ((int32_t)159);
goto IL_0a98;
}
IL_085a:
{
V_0 = ((int32_t)216);
goto IL_0a98;
}
IL_0865:
{
V_0 = ((int32_t)245);
goto IL_0a98;
}
IL_0870:
{
V_0 = ((int32_t)206);
goto IL_0a98;
}
IL_087b:
{
V_0 = ((int32_t)207);
goto IL_0a98;
}
IL_0886:
{
V_0 = ((int32_t)217);
goto IL_0a98;
}
IL_0891:
{
V_0 = ((int32_t)196);
goto IL_0a98;
}
IL_089c:
{
V_0 = ((int32_t)246);
goto IL_0a98;
}
IL_08a7:
{
V_0 = ((int32_t)255);
goto IL_0a98;
}
IL_08b2:
{
V_0 = ((int32_t)249);
goto IL_0a98;
}
IL_08bd:
{
V_0 = ((int32_t)250);
goto IL_0a98;
}
IL_08c8:
{
V_0 = ((int32_t)251);
goto IL_0a98;
}
IL_08d3:
{
V_0 = ((int32_t)254);
goto IL_0a98;
}
IL_08de:
{
V_0 = ((int32_t)247);
goto IL_0a98;
}
IL_08e9:
{
V_0 = ((int32_t)253);
goto IL_0a98;
}
IL_08f4:
{
V_0 = ((int32_t)185);
goto IL_0a98;
}
IL_08ff:
{
V_0 = ((int32_t)208);
goto IL_0a98;
}
IL_090a:
{
V_0 = ((int32_t)209);
goto IL_0a98;
}
IL_0915:
{
V_0 = ((int32_t)212);
goto IL_0a98;
}
IL_0920:
{
V_0 = ((int32_t)213);
goto IL_0a98;
}
IL_092b:
{
V_0 = ((int32_t)226);
goto IL_0a98;
}
IL_0936:
{
V_0 = ((int32_t)210);
goto IL_0a98;
}
IL_0941:
{
V_0 = ((int32_t)211);
goto IL_0a98;
}
IL_094c:
{
V_0 = ((int32_t)227);
goto IL_0a98;
}
IL_0957:
{
V_0 = ((int32_t)160);
goto IL_0a98;
}
IL_0962:
{
V_0 = ((int32_t)224);
goto IL_0a98;
}
IL_096d:
{
V_0 = ((int32_t)165);
goto IL_0a98;
}
IL_0978:
{
V_0 = ((int32_t)201);
goto IL_0a98;
}
IL_0983:
{
V_0 = ((int32_t)228);
goto IL_0a98;
}
IL_098e:
{
V_0 = ((int32_t)220);
goto IL_0a98;
}
IL_0999:
{
V_0 = ((int32_t)221);
goto IL_0a98;
}
IL_09a4:
{
V_0 = ((int32_t)218);
goto IL_0a98;
}
IL_09af:
{
V_0 = ((int32_t)170);
goto IL_0a98;
}
IL_09ba:
{
V_0 = ((int32_t)189);
goto IL_0a98;
}
IL_09c5:
{
V_0 = ((int32_t)182);
goto IL_0a98;
}
IL_09d0:
{
V_0 = ((int32_t)198);
goto IL_0a98;
}
IL_09db:
{
V_0 = ((int32_t)184);
goto IL_0a98;
}
IL_09e6:
{
V_0 = ((int32_t)183);
goto IL_0a98;
}
IL_09f1:
{
V_0 = ((int32_t)195);
goto IL_0a98;
}
IL_09fc:
{
V_0 = ((int32_t)176);
goto IL_0a98;
}
IL_0a07:
{
V_0 = ((int32_t)186);
goto IL_0a98;
}
IL_0a12:
{
V_0 = ((int32_t)197);
goto IL_0a98;
}
IL_0a1a:
{
V_0 = ((int32_t)173);
goto IL_0a98;
}
IL_0a22:
{
V_0 = ((int32_t)178);
goto IL_0a98;
}
IL_0a2a:
{
V_0 = ((int32_t)179);
goto IL_0a98;
}
IL_0a32:
{
V_0 = ((int32_t)17);
goto IL_0a98;
}
IL_0a37:
{
V_0 = ((int32_t)215);
goto IL_0a98;
}
IL_0a3f:
{
V_0 = ((int32_t)19);
goto IL_0a98;
}
IL_0a44:
{
V_0 = ((int32_t)18);
goto IL_0a98;
}
IL_0a49:
{
V_0 = ((int32_t)240);
goto IL_0a98;
}
IL_0a51:
{
V_0 = ((int32_t)222);
goto IL_0a98;
}
IL_0a59:
{
V_0 = ((int32_t)223);
goto IL_0a98;
}
IL_0a61:
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) < ((int32_t)((int32_t)65281))))
{
goto IL_0a7b;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) > ((int32_t)((int32_t)65374))))
{
goto IL_0a7b;
}
}
{
int32_t L_54 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_54, (int32_t)((int32_t)65248)));
goto IL_0a98;
}
IL_0a7b:
{
Il2CppChar* L_55 = ___chars0;
uint8_t* L_56 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_55, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_56, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_57 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_57, (int32_t)1));
int32_t L_58 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)1));
goto IL_0ab6;
}
IL_0a98:
{
uint8_t* L_59 = ___bytes2;
if ((((intptr_t)L_59) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0aa3;
}
}
{
uint8_t* L_60 = ___bytes2;
int32_t L_61 = V_2;
int32_t L_62 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_60, (int32_t)L_61)))) = (int8_t)(((int32_t)((uint8_t)L_62)));
}
IL_0aa3:
{
int32_t L_63 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_63, (int32_t)1));
int32_t L_64 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)1));
int32_t L_65 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_65, (int32_t)1));
int32_t L_66 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_66, (int32_t)1));
}
IL_0ab6:
{
int32_t L_67 = ___charCount1;
if ((((int32_t)L_67) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_68 = V_2;
return L_68;
}
}
// System.Void I18N.West.CP10000::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP10000__cctor_m1195550768 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10000__cctor_m1195550768_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____6E6F169B075CACDE575F1FEA42B1376D31D5A7E5_7_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP10000_t776152390_StaticFields*)il2cpp_codegen_static_fields_for(CP10000_t776152390_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP10079::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP10079__ctor_m1290414847 (CP10079_t3879478589 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10079__ctor_m1290414847_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP10079_t3879478589_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP10079_t3879478589_StaticFields*)il2cpp_codegen_static_fields_for(CP10079_t3879478589_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)10079), L_0, _stringLiteral955263520, _stringLiteral1390518650, _stringLiteral1390518650, _stringLiteral1390518650, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP10079::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10079_GetByteCountImpl_m2844419502 (CP10079_t3879478589 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP10079::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10079_GetByteCount_m2608755637 (CP10079_t3879478589 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP10079::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP10079_ToBytes_m269400159 (CP10079_t3879478589 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10079_ToBytes_m269400159_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP10079_ToBytes_m269400159_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP10079::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP10079_GetBytesImpl_m2386102415 (CP10079_t3879478589 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_09e7;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_09c9;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)8482))))
{
goto IL_03b5;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)711))))
{
goto IL_02ec;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)339))))
{
goto IL_02ae;
}
}
{
int32_t L_6 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)160))))
{
case 0:
{
goto IL_0495;
}
case 1:
{
goto IL_04a0;
}
case 2:
{
goto IL_09c9;
}
case 3:
{
goto IL_09c9;
}
case 4:
{
goto IL_04ab;
}
case 5:
{
goto IL_04b6;
}
case 6:
{
goto IL_09ac;
}
case 7:
{
goto IL_04c1;
}
case 8:
{
goto IL_04cc;
}
case 9:
{
goto IL_09c9;
}
case 10:
{
goto IL_04d7;
}
case 11:
{
goto IL_04e2;
}
case 12:
{
goto IL_04ed;
}
case 13:
{
goto IL_09ac;
}
case 14:
{
goto IL_04f8;
}
case 15:
{
goto IL_0503;
}
case 16:
{
goto IL_050e;
}
case 17:
{
goto IL_09c9;
}
case 18:
{
goto IL_09ac;
}
case 19:
{
goto IL_09ac;
}
case 20:
{
goto IL_0519;
}
case 21:
{
goto IL_09c9;
}
case 22:
{
goto IL_0524;
}
case 23:
{
goto IL_052f;
}
case 24:
{
goto IL_053a;
}
case 25:
{
goto IL_09ac;
}
case 26:
{
goto IL_0545;
}
case 27:
{
goto IL_0550;
}
case 28:
{
goto IL_09ac;
}
case 29:
{
goto IL_09ac;
}
case 30:
{
goto IL_09ac;
}
case 31:
{
goto IL_055b;
}
case 32:
{
goto IL_0566;
}
case 33:
{
goto IL_0571;
}
case 34:
{
goto IL_057c;
}
case 35:
{
goto IL_0587;
}
case 36:
{
goto IL_0592;
}
case 37:
{
goto IL_059d;
}
case 38:
{
goto IL_05a8;
}
case 39:
{
goto IL_05b3;
}
case 40:
{
goto IL_05be;
}
case 41:
{
goto IL_05c9;
}
case 42:
{
goto IL_05d4;
}
case 43:
{
goto IL_05df;
}
case 44:
{
goto IL_05ea;
}
case 45:
{
goto IL_05f5;
}
case 46:
{
goto IL_0600;
}
case 47:
{
goto IL_060b;
}
case 48:
{
goto IL_0616;
}
case 49:
{
goto IL_0621;
}
case 50:
{
goto IL_062c;
}
case 51:
{
goto IL_0637;
}
case 52:
{
goto IL_0642;
}
case 53:
{
goto IL_064d;
}
case 54:
{
goto IL_0658;
}
case 55:
{
goto IL_09ac;
}
case 56:
{
goto IL_0663;
}
case 57:
{
goto IL_066e;
}
case 58:
{
goto IL_0679;
}
case 59:
{
goto IL_0684;
}
case 60:
{
goto IL_068f;
}
case 61:
{
goto IL_069a;
}
case 62:
{
goto IL_09c9;
}
case 63:
{
goto IL_06a5;
}
case 64:
{
goto IL_06b0;
}
case 65:
{
goto IL_06bb;
}
case 66:
{
goto IL_06c6;
}
case 67:
{
goto IL_06d1;
}
case 68:
{
goto IL_06dc;
}
case 69:
{
goto IL_06e7;
}
case 70:
{
goto IL_06f2;
}
case 71:
{
goto IL_06fd;
}
case 72:
{
goto IL_0708;
}
case 73:
{
goto IL_0713;
}
case 74:
{
goto IL_071e;
}
case 75:
{
goto IL_0729;
}
case 76:
{
goto IL_0734;
}
case 77:
{
goto IL_073f;
}
case 78:
{
goto IL_074a;
}
case 79:
{
goto IL_0755;
}
case 80:
{
goto IL_0760;
}
case 81:
{
goto IL_076b;
}
case 82:
{
goto IL_0776;
}
case 83:
{
goto IL_0781;
}
case 84:
{
goto IL_078c;
}
case 85:
{
goto IL_0797;
}
case 86:
{
goto IL_07a2;
}
case 87:
{
goto IL_07ad;
}
case 88:
{
goto IL_07b8;
}
case 89:
{
goto IL_07c3;
}
case 90:
{
goto IL_07ce;
}
case 91:
{
goto IL_07d9;
}
case 92:
{
goto IL_07e4;
}
case 93:
{
goto IL_07ef;
}
case 94:
{
goto IL_07fa;
}
case 95:
{
goto IL_0805;
}
case 96:
{
goto IL_09ac;
}
case 97:
{
goto IL_09ac;
}
case 98:
{
goto IL_09ac;
}
case 99:
{
goto IL_09ac;
}
case 100:
{
goto IL_09ac;
}
case 101:
{
goto IL_09ac;
}
case 102:
{
goto IL_09ac;
}
case 103:
{
goto IL_09ac;
}
case 104:
{
goto IL_09ac;
}
case 105:
{
goto IL_09ac;
}
case 106:
{
goto IL_09ac;
}
case 107:
{
goto IL_09ac;
}
case 108:
{
goto IL_09ac;
}
case 109:
{
goto IL_09ac;
}
case 110:
{
goto IL_09ac;
}
case 111:
{
goto IL_09ac;
}
case 112:
{
goto IL_09ac;
}
case 113:
{
goto IL_09ac;
}
case 114:
{
goto IL_09ac;
}
case 115:
{
goto IL_09ac;
}
case 116:
{
goto IL_09ac;
}
case 117:
{
goto IL_09ac;
}
case 118:
{
goto IL_09ac;
}
case 119:
{
goto IL_09ac;
}
case 120:
{
goto IL_09ac;
}
case 121:
{
goto IL_09ac;
}
case 122:
{
goto IL_09ac;
}
case 123:
{
goto IL_09ac;
}
case 124:
{
goto IL_09ac;
}
case 125:
{
goto IL_09ac;
}
case 126:
{
goto IL_09ac;
}
case 127:
{
goto IL_09ac;
}
case 128:
{
goto IL_09ac;
}
case 129:
{
goto IL_09ac;
}
case 130:
{
goto IL_09ac;
}
case 131:
{
goto IL_09ac;
}
case 132:
{
goto IL_09ac;
}
case 133:
{
goto IL_09ac;
}
case 134:
{
goto IL_09ac;
}
case 135:
{
goto IL_09ac;
}
case 136:
{
goto IL_09ac;
}
case 137:
{
goto IL_09ac;
}
case 138:
{
goto IL_09ac;
}
case 139:
{
goto IL_09ac;
}
case 140:
{
goto IL_09ac;
}
case 141:
{
goto IL_09ac;
}
case 142:
{
goto IL_09ac;
}
case 143:
{
goto IL_09ac;
}
case 144:
{
goto IL_09ac;
}
case 145:
{
goto IL_0810;
}
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)338))))
{
goto IL_081b;
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)339))))
{
goto IL_0826;
}
}
{
goto IL_09ac;
}
IL_02ae:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)402))))
{
goto IL_02d1;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)376))))
{
goto IL_0831;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)402))))
{
goto IL_083c;
}
}
{
goto IL_09ac;
}
IL_02d1:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)710))))
{
goto IL_0847;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)711))))
{
goto IL_0852;
}
}
{
goto IL_09ac;
}
IL_02ec:
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) > ((int32_t)((int32_t)8226))))
{
goto IL_0377;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)728))))
{
case 0:
{
goto IL_085d;
}
case 1:
{
goto IL_0868;
}
case 2:
{
goto IL_0873;
}
case 3:
{
goto IL_087e;
}
case 4:
{
goto IL_0889;
}
case 5:
{
goto IL_0894;
}
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)960))))
{
goto IL_089f;
}
}
{
int32_t L_17 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)((int32_t)8211))))
{
case 0:
{
goto IL_08aa;
}
case 1:
{
goto IL_08b5;
}
case 2:
{
goto IL_09ac;
}
case 3:
{
goto IL_09ac;
}
case 4:
{
goto IL_09ac;
}
case 5:
{
goto IL_08c0;
}
case 6:
{
goto IL_08cb;
}
case 7:
{
goto IL_08d6;
}
case 8:
{
goto IL_09ac;
}
case 9:
{
goto IL_08e1;
}
case 10:
{
goto IL_08ec;
}
case 11:
{
goto IL_08f7;
}
case 12:
{
goto IL_09ac;
}
case 13:
{
goto IL_09ac;
}
case 14:
{
goto IL_09ac;
}
case 15:
{
goto IL_0902;
}
}
}
{
goto IL_09ac;
}
IL_0377:
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) > ((int32_t)((int32_t)8240))))
{
goto IL_039a;
}
}
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)8230))))
{
goto IL_090d;
}
}
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8240))))
{
goto IL_0918;
}
}
{
goto IL_09ac;
}
IL_039a:
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8260))))
{
goto IL_0923;
}
}
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)8482))))
{
goto IL_092e;
}
}
{
goto IL_09ac;
}
IL_03b5:
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) > ((int32_t)((int32_t)8734))))
{
goto IL_0429;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) > ((int32_t)((int32_t)8710))))
{
goto IL_03eb;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)8486))))
{
goto IL_0939;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8706))))
{
goto IL_0944;
}
}
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) == ((int32_t)((int32_t)8710))))
{
goto IL_094c;
}
}
{
goto IL_09ac;
}
IL_03eb:
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) > ((int32_t)((int32_t)8721))))
{
goto IL_040e;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)8719))))
{
goto IL_0954;
}
}
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) == ((int32_t)((int32_t)8721))))
{
goto IL_095c;
}
}
{
goto IL_09ac;
}
IL_040e:
{
int32_t L_31 = V_0;
if ((((int32_t)L_31) == ((int32_t)((int32_t)8730))))
{
goto IL_0964;
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)8734))))
{
goto IL_096c;
}
}
{
goto IL_09ac;
}
IL_0429:
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) > ((int32_t)((int32_t)8800))))
{
goto IL_0457;
}
}
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) == ((int32_t)((int32_t)8747))))
{
goto IL_0974;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) == ((int32_t)((int32_t)8776))))
{
goto IL_097c;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8800))))
{
goto IL_0984;
}
}
{
goto IL_09ac;
}
IL_0457:
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) > ((int32_t)((int32_t)8805))))
{
goto IL_047a;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)8804))))
{
goto IL_098c;
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) == ((int32_t)((int32_t)8805))))
{
goto IL_0994;
}
}
{
goto IL_09ac;
}
IL_047a:
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) == ((int32_t)((int32_t)9674))))
{
goto IL_099c;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) == ((int32_t)((int32_t)63743))))
{
goto IL_09a4;
}
}
{
goto IL_09ac;
}
IL_0495:
{
V_0 = ((int32_t)202);
goto IL_09c9;
}
IL_04a0:
{
V_0 = ((int32_t)193);
goto IL_09c9;
}
IL_04ab:
{
V_0 = ((int32_t)219);
goto IL_09c9;
}
IL_04b6:
{
V_0 = ((int32_t)180);
goto IL_09c9;
}
IL_04c1:
{
V_0 = ((int32_t)164);
goto IL_09c9;
}
IL_04cc:
{
V_0 = ((int32_t)172);
goto IL_09c9;
}
IL_04d7:
{
V_0 = ((int32_t)187);
goto IL_09c9;
}
IL_04e2:
{
V_0 = ((int32_t)199);
goto IL_09c9;
}
IL_04ed:
{
V_0 = ((int32_t)194);
goto IL_09c9;
}
IL_04f8:
{
V_0 = ((int32_t)168);
goto IL_09c9;
}
IL_0503:
{
V_0 = ((int32_t)248);
goto IL_09c9;
}
IL_050e:
{
V_0 = ((int32_t)161);
goto IL_09c9;
}
IL_0519:
{
V_0 = ((int32_t)171);
goto IL_09c9;
}
IL_0524:
{
V_0 = ((int32_t)166);
goto IL_09c9;
}
IL_052f:
{
V_0 = ((int32_t)225);
goto IL_09c9;
}
IL_053a:
{
V_0 = ((int32_t)252);
goto IL_09c9;
}
IL_0545:
{
V_0 = ((int32_t)188);
goto IL_09c9;
}
IL_0550:
{
V_0 = ((int32_t)200);
goto IL_09c9;
}
IL_055b:
{
V_0 = ((int32_t)192);
goto IL_09c9;
}
IL_0566:
{
V_0 = ((int32_t)203);
goto IL_09c9;
}
IL_0571:
{
V_0 = ((int32_t)231);
goto IL_09c9;
}
IL_057c:
{
V_0 = ((int32_t)229);
goto IL_09c9;
}
IL_0587:
{
V_0 = ((int32_t)204);
goto IL_09c9;
}
IL_0592:
{
V_0 = ((int32_t)128);
goto IL_09c9;
}
IL_059d:
{
V_0 = ((int32_t)129);
goto IL_09c9;
}
IL_05a8:
{
V_0 = ((int32_t)174);
goto IL_09c9;
}
IL_05b3:
{
V_0 = ((int32_t)130);
goto IL_09c9;
}
IL_05be:
{
V_0 = ((int32_t)233);
goto IL_09c9;
}
IL_05c9:
{
V_0 = ((int32_t)131);
goto IL_09c9;
}
IL_05d4:
{
V_0 = ((int32_t)230);
goto IL_09c9;
}
IL_05df:
{
V_0 = ((int32_t)232);
goto IL_09c9;
}
IL_05ea:
{
V_0 = ((int32_t)237);
goto IL_09c9;
}
IL_05f5:
{
V_0 = ((int32_t)234);
goto IL_09c9;
}
IL_0600:
{
V_0 = ((int32_t)235);
goto IL_09c9;
}
IL_060b:
{
V_0 = ((int32_t)236);
goto IL_09c9;
}
IL_0616:
{
V_0 = ((int32_t)220);
goto IL_09c9;
}
IL_0621:
{
V_0 = ((int32_t)132);
goto IL_09c9;
}
IL_062c:
{
V_0 = ((int32_t)241);
goto IL_09c9;
}
IL_0637:
{
V_0 = ((int32_t)238);
goto IL_09c9;
}
IL_0642:
{
V_0 = ((int32_t)239);
goto IL_09c9;
}
IL_064d:
{
V_0 = ((int32_t)205);
goto IL_09c9;
}
IL_0658:
{
V_0 = ((int32_t)133);
goto IL_09c9;
}
IL_0663:
{
V_0 = ((int32_t)175);
goto IL_09c9;
}
IL_066e:
{
V_0 = ((int32_t)244);
goto IL_09c9;
}
IL_0679:
{
V_0 = ((int32_t)242);
goto IL_09c9;
}
IL_0684:
{
V_0 = ((int32_t)243);
goto IL_09c9;
}
IL_068f:
{
V_0 = ((int32_t)134);
goto IL_09c9;
}
IL_069a:
{
V_0 = ((int32_t)160);
goto IL_09c9;
}
IL_06a5:
{
V_0 = ((int32_t)167);
goto IL_09c9;
}
IL_06b0:
{
V_0 = ((int32_t)136);
goto IL_09c9;
}
IL_06bb:
{
V_0 = ((int32_t)135);
goto IL_09c9;
}
IL_06c6:
{
V_0 = ((int32_t)137);
goto IL_09c9;
}
IL_06d1:
{
V_0 = ((int32_t)139);
goto IL_09c9;
}
IL_06dc:
{
V_0 = ((int32_t)138);
goto IL_09c9;
}
IL_06e7:
{
V_0 = ((int32_t)140);
goto IL_09c9;
}
IL_06f2:
{
V_0 = ((int32_t)190);
goto IL_09c9;
}
IL_06fd:
{
V_0 = ((int32_t)141);
goto IL_09c9;
}
IL_0708:
{
V_0 = ((int32_t)143);
goto IL_09c9;
}
IL_0713:
{
V_0 = ((int32_t)142);
goto IL_09c9;
}
IL_071e:
{
V_0 = ((int32_t)144);
goto IL_09c9;
}
IL_0729:
{
V_0 = ((int32_t)145);
goto IL_09c9;
}
IL_0734:
{
V_0 = ((int32_t)147);
goto IL_09c9;
}
IL_073f:
{
V_0 = ((int32_t)146);
goto IL_09c9;
}
IL_074a:
{
V_0 = ((int32_t)148);
goto IL_09c9;
}
IL_0755:
{
V_0 = ((int32_t)149);
goto IL_09c9;
}
IL_0760:
{
V_0 = ((int32_t)221);
goto IL_09c9;
}
IL_076b:
{
V_0 = ((int32_t)150);
goto IL_09c9;
}
IL_0776:
{
V_0 = ((int32_t)152);
goto IL_09c9;
}
IL_0781:
{
V_0 = ((int32_t)151);
goto IL_09c9;
}
IL_078c:
{
V_0 = ((int32_t)153);
goto IL_09c9;
}
IL_0797:
{
V_0 = ((int32_t)155);
goto IL_09c9;
}
IL_07a2:
{
V_0 = ((int32_t)154);
goto IL_09c9;
}
IL_07ad:
{
V_0 = ((int32_t)214);
goto IL_09c9;
}
IL_07b8:
{
V_0 = ((int32_t)191);
goto IL_09c9;
}
IL_07c3:
{
V_0 = ((int32_t)157);
goto IL_09c9;
}
IL_07ce:
{
V_0 = ((int32_t)156);
goto IL_09c9;
}
IL_07d9:
{
V_0 = ((int32_t)158);
goto IL_09c9;
}
IL_07e4:
{
V_0 = ((int32_t)159);
goto IL_09c9;
}
IL_07ef:
{
V_0 = ((int32_t)224);
goto IL_09c9;
}
IL_07fa:
{
V_0 = ((int32_t)223);
goto IL_09c9;
}
IL_0805:
{
V_0 = ((int32_t)216);
goto IL_09c9;
}
IL_0810:
{
V_0 = ((int32_t)245);
goto IL_09c9;
}
IL_081b:
{
V_0 = ((int32_t)206);
goto IL_09c9;
}
IL_0826:
{
V_0 = ((int32_t)207);
goto IL_09c9;
}
IL_0831:
{
V_0 = ((int32_t)217);
goto IL_09c9;
}
IL_083c:
{
V_0 = ((int32_t)196);
goto IL_09c9;
}
IL_0847:
{
V_0 = ((int32_t)246);
goto IL_09c9;
}
IL_0852:
{
V_0 = ((int32_t)255);
goto IL_09c9;
}
IL_085d:
{
V_0 = ((int32_t)249);
goto IL_09c9;
}
IL_0868:
{
V_0 = ((int32_t)250);
goto IL_09c9;
}
IL_0873:
{
V_0 = ((int32_t)251);
goto IL_09c9;
}
IL_087e:
{
V_0 = ((int32_t)254);
goto IL_09c9;
}
IL_0889:
{
V_0 = ((int32_t)247);
goto IL_09c9;
}
IL_0894:
{
V_0 = ((int32_t)253);
goto IL_09c9;
}
IL_089f:
{
V_0 = ((int32_t)185);
goto IL_09c9;
}
IL_08aa:
{
V_0 = ((int32_t)208);
goto IL_09c9;
}
IL_08b5:
{
V_0 = ((int32_t)209);
goto IL_09c9;
}
IL_08c0:
{
V_0 = ((int32_t)212);
goto IL_09c9;
}
IL_08cb:
{
V_0 = ((int32_t)213);
goto IL_09c9;
}
IL_08d6:
{
V_0 = ((int32_t)226);
goto IL_09c9;
}
IL_08e1:
{
V_0 = ((int32_t)210);
goto IL_09c9;
}
IL_08ec:
{
V_0 = ((int32_t)211);
goto IL_09c9;
}
IL_08f7:
{
V_0 = ((int32_t)227);
goto IL_09c9;
}
IL_0902:
{
V_0 = ((int32_t)165);
goto IL_09c9;
}
IL_090d:
{
V_0 = ((int32_t)201);
goto IL_09c9;
}
IL_0918:
{
V_0 = ((int32_t)228);
goto IL_09c9;
}
IL_0923:
{
V_0 = ((int32_t)218);
goto IL_09c9;
}
IL_092e:
{
V_0 = ((int32_t)170);
goto IL_09c9;
}
IL_0939:
{
V_0 = ((int32_t)189);
goto IL_09c9;
}
IL_0944:
{
V_0 = ((int32_t)182);
goto IL_09c9;
}
IL_094c:
{
V_0 = ((int32_t)198);
goto IL_09c9;
}
IL_0954:
{
V_0 = ((int32_t)184);
goto IL_09c9;
}
IL_095c:
{
V_0 = ((int32_t)183);
goto IL_09c9;
}
IL_0964:
{
V_0 = ((int32_t)195);
goto IL_09c9;
}
IL_096c:
{
V_0 = ((int32_t)176);
goto IL_09c9;
}
IL_0974:
{
V_0 = ((int32_t)186);
goto IL_09c9;
}
IL_097c:
{
V_0 = ((int32_t)197);
goto IL_09c9;
}
IL_0984:
{
V_0 = ((int32_t)173);
goto IL_09c9;
}
IL_098c:
{
V_0 = ((int32_t)178);
goto IL_09c9;
}
IL_0994:
{
V_0 = ((int32_t)179);
goto IL_09c9;
}
IL_099c:
{
V_0 = ((int32_t)215);
goto IL_09c9;
}
IL_09a4:
{
V_0 = ((int32_t)240);
goto IL_09c9;
}
IL_09ac:
{
Il2CppChar* L_42 = ___chars0;
uint8_t* L_43 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_42, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_43, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_44 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)1));
int32_t L_45 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_45, (int32_t)1));
goto IL_09e7;
}
IL_09c9:
{
uint8_t* L_46 = ___bytes2;
if ((((intptr_t)L_46) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_09d4;
}
}
{
uint8_t* L_47 = ___bytes2;
int32_t L_48 = V_2;
int32_t L_49 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_47, (int32_t)L_48)))) = (int8_t)(((int32_t)((uint8_t)L_49)));
}
IL_09d4:
{
int32_t L_50 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_50, (int32_t)1));
int32_t L_51 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)1));
int32_t L_52 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)1));
int32_t L_53 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_53, (int32_t)1));
}
IL_09e7:
{
int32_t L_54 = ___charCount1;
if ((((int32_t)L_54) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_55 = V_2;
return L_55;
}
}
// System.Void I18N.West.CP10079::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP10079__cctor_m86018401 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP10079__cctor_m86018401_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____1F867F0E96DB3A56943B8CB2662D1DA624023FCD_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP10079_t3879478589_StaticFields*)il2cpp_codegen_static_fields_for(CP10079_t3879478589_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP1250::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1250__ctor_m1346107891 (CP1250_t1787607523 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1250__ctor_m1346107891_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1250_t1787607523_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP1250_t1787607523_StaticFields*)il2cpp_codegen_static_fields_for(CP1250_t1787607523_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)1250), L_0, _stringLiteral2001907480, _stringLiteral287604030, _stringLiteral2150154659, _stringLiteral2150154659, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)1250), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP1250::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1250_GetByteCountImpl_m3202829556 (CP1250_t1787607523 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP1250::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1250_GetByteCount_m893832332 (CP1250_t1787607523 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP1250::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP1250_ToBytes_m1874831942 (CP1250_t1787607523 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1250_ToBytes_m1874831942_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP1250_ToBytes_m1874831942_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP1250::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1250_GetBytesImpl_m3545898548 (CP1250_t1787607523 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0801;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_07e3;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)382))))
{
goto IL_03ab;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)136))))
{
goto IL_0057;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)((int32_t)129))))
{
goto IL_07e3;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)131))))
{
goto IL_07e3;
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)136))))
{
goto IL_07e3;
}
}
{
goto IL_07ac;
}
IL_0057:
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) > ((int32_t)((int32_t)273))))
{
goto IL_0266;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)144))))
{
goto IL_07e3;
}
}
{
int32_t L_10 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)152))))
{
case 0:
{
goto IL_07e3;
}
case 1:
{
goto IL_07ac;
}
case 2:
{
goto IL_07ac;
}
case 3:
{
goto IL_07ac;
}
case 4:
{
goto IL_07ac;
}
case 5:
{
goto IL_07ac;
}
case 6:
{
goto IL_07ac;
}
case 7:
{
goto IL_07ac;
}
case 8:
{
goto IL_07e3;
}
case 9:
{
goto IL_07ac;
}
case 10:
{
goto IL_07ac;
}
case 11:
{
goto IL_07ac;
}
case 12:
{
goto IL_07e3;
}
case 13:
{
goto IL_07ac;
}
case 14:
{
goto IL_07e3;
}
case 15:
{
goto IL_07e3;
}
case 16:
{
goto IL_07e3;
}
case 17:
{
goto IL_07e3;
}
case 18:
{
goto IL_07ac;
}
case 19:
{
goto IL_07e3;
}
case 20:
{
goto IL_07e3;
}
case 21:
{
goto IL_07e3;
}
case 22:
{
goto IL_07e3;
}
case 23:
{
goto IL_07ac;
}
case 24:
{
goto IL_07e3;
}
case 25:
{
goto IL_07e3;
}
case 26:
{
goto IL_07ac;
}
case 27:
{
goto IL_07ac;
}
case 28:
{
goto IL_07e3;
}
case 29:
{
goto IL_07e3;
}
case 30:
{
goto IL_07e3;
}
case 31:
{
goto IL_07e3;
}
case 32:
{
goto IL_07e3;
}
case 33:
{
goto IL_07ac;
}
case 34:
{
goto IL_07ac;
}
case 35:
{
goto IL_07e3;
}
case 36:
{
goto IL_07ac;
}
case 37:
{
goto IL_07ac;
}
case 38:
{
goto IL_07ac;
}
case 39:
{
goto IL_07ac;
}
case 40:
{
goto IL_07ac;
}
case 41:
{
goto IL_07e3;
}
case 42:
{
goto IL_07e3;
}
case 43:
{
goto IL_07ac;
}
case 44:
{
goto IL_07e3;
}
case 45:
{
goto IL_07ac;
}
case 46:
{
goto IL_07ac;
}
case 47:
{
goto IL_07e3;
}
case 48:
{
goto IL_07ac;
}
case 49:
{
goto IL_07e3;
}
case 50:
{
goto IL_07ac;
}
case 51:
{
goto IL_07e3;
}
case 52:
{
goto IL_07ac;
}
case 53:
{
goto IL_07e3;
}
case 54:
{
goto IL_07e3;
}
case 55:
{
goto IL_07ac;
}
case 56:
{
goto IL_07ac;
}
case 57:
{
goto IL_07ac;
}
case 58:
{
goto IL_07ac;
}
case 59:
{
goto IL_07e3;
}
case 60:
{
goto IL_07e3;
}
case 61:
{
goto IL_07ac;
}
case 62:
{
goto IL_07e3;
}
case 63:
{
goto IL_07e3;
}
case 64:
{
goto IL_07ac;
}
case 65:
{
goto IL_07ac;
}
case 66:
{
goto IL_07e3;
}
case 67:
{
goto IL_07ac;
}
case 68:
{
goto IL_07e3;
}
case 69:
{
goto IL_07e3;
}
case 70:
{
goto IL_07ac;
}
case 71:
{
goto IL_07e3;
}
case 72:
{
goto IL_07ac;
}
case 73:
{
goto IL_07e3;
}
case 74:
{
goto IL_07e3;
}
case 75:
{
goto IL_07ac;
}
case 76:
{
goto IL_07e3;
}
case 77:
{
goto IL_07ac;
}
case 78:
{
goto IL_07ac;
}
case 79:
{
goto IL_07e3;
}
case 80:
{
goto IL_07ac;
}
case 81:
{
goto IL_07e3;
}
case 82:
{
goto IL_07ac;
}
case 83:
{
goto IL_07e3;
}
case 84:
{
goto IL_07ac;
}
case 85:
{
goto IL_07e3;
}
case 86:
{
goto IL_07e3;
}
case 87:
{
goto IL_07ac;
}
case 88:
{
goto IL_07ac;
}
case 89:
{
goto IL_07ac;
}
case 90:
{
goto IL_07ac;
}
case 91:
{
goto IL_07e3;
}
case 92:
{
goto IL_07e3;
}
case 93:
{
goto IL_07ac;
}
case 94:
{
goto IL_07e3;
}
case 95:
{
goto IL_07e3;
}
case 96:
{
goto IL_07ac;
}
case 97:
{
goto IL_07ac;
}
case 98:
{
goto IL_07e3;
}
case 99:
{
goto IL_07ac;
}
case 100:
{
goto IL_07e3;
}
case 101:
{
goto IL_07e3;
}
case 102:
{
goto IL_07ac;
}
case 103:
{
goto IL_07ac;
}
case 104:
{
goto IL_07ac;
}
case 105:
{
goto IL_07ac;
}
case 106:
{
goto IL_049c;
}
case 107:
{
goto IL_04a7;
}
case 108:
{
goto IL_04b2;
}
case 109:
{
goto IL_04bd;
}
case 110:
{
goto IL_04c8;
}
case 111:
{
goto IL_04d3;
}
case 112:
{
goto IL_07ac;
}
case 113:
{
goto IL_07ac;
}
case 114:
{
goto IL_07ac;
}
case 115:
{
goto IL_07ac;
}
case 116:
{
goto IL_04de;
}
case 117:
{
goto IL_04e9;
}
case 118:
{
goto IL_04f4;
}
case 119:
{
goto IL_04ff;
}
case 120:
{
goto IL_050a;
}
case 121:
{
goto IL_0515;
}
}
}
{
goto IL_07ac;
}
IL_0266:
{
int32_t L_11 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)280))))
{
case 0:
{
goto IL_0520;
}
case 1:
{
goto IL_052b;
}
case 2:
{
goto IL_0536;
}
case 3:
{
goto IL_0541;
}
}
}
{
int32_t L_12 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)((int32_t)313))))
{
case 0:
{
goto IL_054c;
}
case 1:
{
goto IL_0557;
}
case 2:
{
goto IL_07ac;
}
case 3:
{
goto IL_07ac;
}
case 4:
{
goto IL_0562;
}
case 5:
{
goto IL_056d;
}
case 6:
{
goto IL_07ac;
}
case 7:
{
goto IL_07ac;
}
case 8:
{
goto IL_0578;
}
case 9:
{
goto IL_0583;
}
case 10:
{
goto IL_058e;
}
case 11:
{
goto IL_0599;
}
case 12:
{
goto IL_07ac;
}
case 13:
{
goto IL_07ac;
}
case 14:
{
goto IL_05a4;
}
case 15:
{
goto IL_05af;
}
case 16:
{
goto IL_07ac;
}
case 17:
{
goto IL_07ac;
}
case 18:
{
goto IL_07ac;
}
case 19:
{
goto IL_07ac;
}
case 20:
{
goto IL_07ac;
}
case 21:
{
goto IL_07ac;
}
case 22:
{
goto IL_07ac;
}
case 23:
{
goto IL_05ba;
}
case 24:
{
goto IL_05c5;
}
case 25:
{
goto IL_07ac;
}
case 26:
{
goto IL_07ac;
}
case 27:
{
goto IL_05d0;
}
case 28:
{
goto IL_05db;
}
case 29:
{
goto IL_07ac;
}
case 30:
{
goto IL_07ac;
}
case 31:
{
goto IL_05e6;
}
case 32:
{
goto IL_05f1;
}
case 33:
{
goto IL_05fc;
}
case 34:
{
goto IL_0607;
}
case 35:
{
goto IL_07ac;
}
case 36:
{
goto IL_07ac;
}
case 37:
{
goto IL_0612;
}
case 38:
{
goto IL_061d;
}
case 39:
{
goto IL_0628;
}
case 40:
{
goto IL_0633;
}
case 41:
{
goto IL_063e;
}
case 42:
{
goto IL_0649;
}
case 43:
{
goto IL_0654;
}
case 44:
{
goto IL_065f;
}
case 45:
{
goto IL_07ac;
}
case 46:
{
goto IL_07ac;
}
case 47:
{
goto IL_07ac;
}
case 48:
{
goto IL_07ac;
}
case 49:
{
goto IL_07ac;
}
case 50:
{
goto IL_07ac;
}
case 51:
{
goto IL_07ac;
}
case 52:
{
goto IL_07ac;
}
case 53:
{
goto IL_066a;
}
case 54:
{
goto IL_0675;
}
case 55:
{
goto IL_0680;
}
case 56:
{
goto IL_068b;
}
case 57:
{
goto IL_07ac;
}
case 58:
{
goto IL_07ac;
}
case 59:
{
goto IL_07ac;
}
case 60:
{
goto IL_07ac;
}
case 61:
{
goto IL_07ac;
}
case 62:
{
goto IL_07ac;
}
case 63:
{
goto IL_07ac;
}
case 64:
{
goto IL_0696;
}
case 65:
{
goto IL_06a1;
}
case 66:
{
goto IL_06ac;
}
case 67:
{
goto IL_06b7;
}
case 68:
{
goto IL_06c2;
}
case 69:
{
goto IL_06cd;
}
}
}
{
goto IL_07ac;
}
IL_03ab:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)8240))))
{
goto IL_045e;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) > ((int32_t)((int32_t)733))))
{
goto IL_03f2;
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)711))))
{
goto IL_06d8;
}
}
{
int32_t L_16 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)728))))
{
case 0:
{
goto IL_06e3;
}
case 1:
{
goto IL_06ee;
}
case 2:
{
goto IL_07ac;
}
case 3:
{
goto IL_06f9;
}
case 4:
{
goto IL_07ac;
}
case 5:
{
goto IL_0704;
}
}
}
{
goto IL_07ac;
}
IL_03f2:
{
int32_t L_17 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)((int32_t)8211))))
{
case 0:
{
goto IL_070f;
}
case 1:
{
goto IL_071a;
}
case 2:
{
goto IL_07ac;
}
case 3:
{
goto IL_07ac;
}
case 4:
{
goto IL_07ac;
}
case 5:
{
goto IL_0725;
}
case 6:
{
goto IL_0730;
}
case 7:
{
goto IL_073b;
}
case 8:
{
goto IL_07ac;
}
case 9:
{
goto IL_0746;
}
case 10:
{
goto IL_0751;
}
case 11:
{
goto IL_075c;
}
case 12:
{
goto IL_07ac;
}
case 13:
{
goto IL_0764;
}
case 14:
{
goto IL_076c;
}
case 15:
{
goto IL_0774;
}
case 16:
{
goto IL_07ac;
}
case 17:
{
goto IL_07ac;
}
case 18:
{
goto IL_07ac;
}
case 19:
{
goto IL_077c;
}
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)8240))))
{
goto IL_0784;
}
}
{
goto IL_07ac;
}
IL_045e:
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) > ((int32_t)((int32_t)8250))))
{
goto IL_0481;
}
}
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8249))))
{
goto IL_078c;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8250))))
{
goto IL_0794;
}
}
{
goto IL_07ac;
}
IL_0481:
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)8364))))
{
goto IL_079c;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)8482))))
{
goto IL_07a4;
}
}
{
goto IL_07ac;
}
IL_049c:
{
V_0 = ((int32_t)195);
goto IL_07e3;
}
IL_04a7:
{
V_0 = ((int32_t)227);
goto IL_07e3;
}
IL_04b2:
{
V_0 = ((int32_t)165);
goto IL_07e3;
}
IL_04bd:
{
V_0 = ((int32_t)185);
goto IL_07e3;
}
IL_04c8:
{
V_0 = ((int32_t)198);
goto IL_07e3;
}
IL_04d3:
{
V_0 = ((int32_t)230);
goto IL_07e3;
}
IL_04de:
{
V_0 = ((int32_t)200);
goto IL_07e3;
}
IL_04e9:
{
V_0 = ((int32_t)232);
goto IL_07e3;
}
IL_04f4:
{
V_0 = ((int32_t)207);
goto IL_07e3;
}
IL_04ff:
{
V_0 = ((int32_t)239);
goto IL_07e3;
}
IL_050a:
{
V_0 = ((int32_t)208);
goto IL_07e3;
}
IL_0515:
{
V_0 = ((int32_t)240);
goto IL_07e3;
}
IL_0520:
{
V_0 = ((int32_t)202);
goto IL_07e3;
}
IL_052b:
{
V_0 = ((int32_t)234);
goto IL_07e3;
}
IL_0536:
{
V_0 = ((int32_t)204);
goto IL_07e3;
}
IL_0541:
{
V_0 = ((int32_t)236);
goto IL_07e3;
}
IL_054c:
{
V_0 = ((int32_t)197);
goto IL_07e3;
}
IL_0557:
{
V_0 = ((int32_t)229);
goto IL_07e3;
}
IL_0562:
{
V_0 = ((int32_t)188);
goto IL_07e3;
}
IL_056d:
{
V_0 = ((int32_t)190);
goto IL_07e3;
}
IL_0578:
{
V_0 = ((int32_t)163);
goto IL_07e3;
}
IL_0583:
{
V_0 = ((int32_t)179);
goto IL_07e3;
}
IL_058e:
{
V_0 = ((int32_t)209);
goto IL_07e3;
}
IL_0599:
{
V_0 = ((int32_t)241);
goto IL_07e3;
}
IL_05a4:
{
V_0 = ((int32_t)210);
goto IL_07e3;
}
IL_05af:
{
V_0 = ((int32_t)242);
goto IL_07e3;
}
IL_05ba:
{
V_0 = ((int32_t)213);
goto IL_07e3;
}
IL_05c5:
{
V_0 = ((int32_t)245);
goto IL_07e3;
}
IL_05d0:
{
V_0 = ((int32_t)192);
goto IL_07e3;
}
IL_05db:
{
V_0 = ((int32_t)224);
goto IL_07e3;
}
IL_05e6:
{
V_0 = ((int32_t)216);
goto IL_07e3;
}
IL_05f1:
{
V_0 = ((int32_t)248);
goto IL_07e3;
}
IL_05fc:
{
V_0 = ((int32_t)140);
goto IL_07e3;
}
IL_0607:
{
V_0 = ((int32_t)156);
goto IL_07e3;
}
IL_0612:
{
V_0 = ((int32_t)170);
goto IL_07e3;
}
IL_061d:
{
V_0 = ((int32_t)186);
goto IL_07e3;
}
IL_0628:
{
V_0 = ((int32_t)138);
goto IL_07e3;
}
IL_0633:
{
V_0 = ((int32_t)154);
goto IL_07e3;
}
IL_063e:
{
V_0 = ((int32_t)222);
goto IL_07e3;
}
IL_0649:
{
V_0 = ((int32_t)254);
goto IL_07e3;
}
IL_0654:
{
V_0 = ((int32_t)141);
goto IL_07e3;
}
IL_065f:
{
V_0 = ((int32_t)157);
goto IL_07e3;
}
IL_066a:
{
V_0 = ((int32_t)217);
goto IL_07e3;
}
IL_0675:
{
V_0 = ((int32_t)249);
goto IL_07e3;
}
IL_0680:
{
V_0 = ((int32_t)219);
goto IL_07e3;
}
IL_068b:
{
V_0 = ((int32_t)251);
goto IL_07e3;
}
IL_0696:
{
V_0 = ((int32_t)143);
goto IL_07e3;
}
IL_06a1:
{
V_0 = ((int32_t)159);
goto IL_07e3;
}
IL_06ac:
{
V_0 = ((int32_t)175);
goto IL_07e3;
}
IL_06b7:
{
V_0 = ((int32_t)191);
goto IL_07e3;
}
IL_06c2:
{
V_0 = ((int32_t)142);
goto IL_07e3;
}
IL_06cd:
{
V_0 = ((int32_t)158);
goto IL_07e3;
}
IL_06d8:
{
V_0 = ((int32_t)161);
goto IL_07e3;
}
IL_06e3:
{
V_0 = ((int32_t)162);
goto IL_07e3;
}
IL_06ee:
{
V_0 = ((int32_t)255);
goto IL_07e3;
}
IL_06f9:
{
V_0 = ((int32_t)178);
goto IL_07e3;
}
IL_0704:
{
V_0 = ((int32_t)189);
goto IL_07e3;
}
IL_070f:
{
V_0 = ((int32_t)150);
goto IL_07e3;
}
IL_071a:
{
V_0 = ((int32_t)151);
goto IL_07e3;
}
IL_0725:
{
V_0 = ((int32_t)145);
goto IL_07e3;
}
IL_0730:
{
V_0 = ((int32_t)146);
goto IL_07e3;
}
IL_073b:
{
V_0 = ((int32_t)130);
goto IL_07e3;
}
IL_0746:
{
V_0 = ((int32_t)147);
goto IL_07e3;
}
IL_0751:
{
V_0 = ((int32_t)148);
goto IL_07e3;
}
IL_075c:
{
V_0 = ((int32_t)132);
goto IL_07e3;
}
IL_0764:
{
V_0 = ((int32_t)134);
goto IL_07e3;
}
IL_076c:
{
V_0 = ((int32_t)135);
goto IL_07e3;
}
IL_0774:
{
V_0 = ((int32_t)149);
goto IL_07e3;
}
IL_077c:
{
V_0 = ((int32_t)133);
goto IL_07e3;
}
IL_0784:
{
V_0 = ((int32_t)137);
goto IL_07e3;
}
IL_078c:
{
V_0 = ((int32_t)139);
goto IL_07e3;
}
IL_0794:
{
V_0 = ((int32_t)155);
goto IL_07e3;
}
IL_079c:
{
V_0 = ((int32_t)128);
goto IL_07e3;
}
IL_07a4:
{
V_0 = ((int32_t)153);
goto IL_07e3;
}
IL_07ac:
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) < ((int32_t)((int32_t)65281))))
{
goto IL_07c6;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) > ((int32_t)((int32_t)65374))))
{
goto IL_07c6;
}
}
{
int32_t L_26 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)((int32_t)65248)));
goto IL_07e3;
}
IL_07c6:
{
Il2CppChar* L_27 = ___chars0;
uint8_t* L_28 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_27, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_28, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_29 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)1));
goto IL_0801;
}
IL_07e3:
{
uint8_t* L_31 = ___bytes2;
if ((((intptr_t)L_31) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_07ee;
}
}
{
uint8_t* L_32 = ___bytes2;
int32_t L_33 = V_2;
int32_t L_34 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_32, (int32_t)L_33)))) = (int8_t)(((int32_t)((uint8_t)L_34)));
}
IL_07ee:
{
int32_t L_35 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)1));
int32_t L_36 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)1));
int32_t L_37 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)1));
int32_t L_38 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)1));
}
IL_0801:
{
int32_t L_39 = ___charCount1;
if ((((int32_t)L_39) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_40 = V_2;
return L_40;
}
}
// System.Void I18N.West.CP1250::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP1250__cctor_m785447402 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1250__cctor_m785447402_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____3220DE2BE9769737429E0DE2C6D837CB7C5A02AD_3_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP1250_t1787607523_StaticFields*)il2cpp_codegen_static_fields_for(CP1250_t1787607523_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP1252::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1252__ctor_m1487796723 (CP1252_t2169944547 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1252__ctor_m1487796723_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1252_t2169944547_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP1252_t2169944547_StaticFields*)il2cpp_codegen_static_fields_for(CP1252_t2169944547_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)1252), L_0, _stringLiteral3333322248, _stringLiteral287407422, _stringLiteral2532524355, _stringLiteral2532524355, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP1252::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1252_GetByteCountImpl_m589105161 (CP1252_t2169944547 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP1252::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1252_GetByteCount_m4041755124 (CP1252_t2169944547 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP1252::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP1252_ToBytes_m2178101453 (CP1252_t2169944547 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1252_ToBytes_m2178101453_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP1252_ToBytes_m2178101453_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP1252::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1252_GetBytesImpl_m1688339788 (CP1252_t2169944547 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_04f3;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_04d5;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)382))))
{
goto IL_02b0;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)352))))
{
goto IL_0272;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)338))))
{
goto IL_0257;
}
}
{
int32_t L_6 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)129))))
{
case 0:
{
goto IL_04d5;
}
case 1:
{
goto IL_049e;
}
case 2:
{
goto IL_049e;
}
case 3:
{
goto IL_049e;
}
case 4:
{
goto IL_049e;
}
case 5:
{
goto IL_049e;
}
case 6:
{
goto IL_049e;
}
case 7:
{
goto IL_049e;
}
case 8:
{
goto IL_049e;
}
case 9:
{
goto IL_049e;
}
case 10:
{
goto IL_049e;
}
case 11:
{
goto IL_049e;
}
case 12:
{
goto IL_04d5;
}
case 13:
{
goto IL_049e;
}
case 14:
{
goto IL_04d5;
}
case 15:
{
goto IL_04d5;
}
case 16:
{
goto IL_049e;
}
case 17:
{
goto IL_049e;
}
case 18:
{
goto IL_049e;
}
case 19:
{
goto IL_049e;
}
case 20:
{
goto IL_049e;
}
case 21:
{
goto IL_049e;
}
case 22:
{
goto IL_049e;
}
case 23:
{
goto IL_049e;
}
case 24:
{
goto IL_049e;
}
case 25:
{
goto IL_049e;
}
case 26:
{
goto IL_049e;
}
case 27:
{
goto IL_049e;
}
case 28:
{
goto IL_04d5;
}
case 29:
{
goto IL_049e;
}
case 30:
{
goto IL_049e;
}
case 31:
{
goto IL_04d5;
}
case 32:
{
goto IL_04d5;
}
case 33:
{
goto IL_04d5;
}
case 34:
{
goto IL_04d5;
}
case 35:
{
goto IL_04d5;
}
case 36:
{
goto IL_04d5;
}
case 37:
{
goto IL_04d5;
}
case 38:
{
goto IL_04d5;
}
case 39:
{
goto IL_04d5;
}
case 40:
{
goto IL_04d5;
}
case 41:
{
goto IL_04d5;
}
case 42:
{
goto IL_04d5;
}
case 43:
{
goto IL_04d5;
}
case 44:
{
goto IL_04d5;
}
case 45:
{
goto IL_04d5;
}
case 46:
{
goto IL_04d5;
}
case 47:
{
goto IL_04d5;
}
case 48:
{
goto IL_04d5;
}
case 49:
{
goto IL_04d5;
}
case 50:
{
goto IL_04d5;
}
case 51:
{
goto IL_04d5;
}
case 52:
{
goto IL_04d5;
}
case 53:
{
goto IL_04d5;
}
case 54:
{
goto IL_04d5;
}
case 55:
{
goto IL_04d5;
}
case 56:
{
goto IL_04d5;
}
case 57:
{
goto IL_04d5;
}
case 58:
{
goto IL_04d5;
}
case 59:
{
goto IL_04d5;
}
case 60:
{
goto IL_04d5;
}
case 61:
{
goto IL_04d5;
}
case 62:
{
goto IL_04d5;
}
case 63:
{
goto IL_04d5;
}
case 64:
{
goto IL_04d5;
}
case 65:
{
goto IL_04d5;
}
case 66:
{
goto IL_04d5;
}
case 67:
{
goto IL_04d5;
}
case 68:
{
goto IL_04d5;
}
case 69:
{
goto IL_04d5;
}
case 70:
{
goto IL_04d5;
}
case 71:
{
goto IL_04d5;
}
case 72:
{
goto IL_04d5;
}
case 73:
{
goto IL_04d5;
}
case 74:
{
goto IL_04d5;
}
case 75:
{
goto IL_04d5;
}
case 76:
{
goto IL_04d5;
}
case 77:
{
goto IL_04d5;
}
case 78:
{
goto IL_04d5;
}
case 79:
{
goto IL_04d5;
}
case 80:
{
goto IL_04d5;
}
case 81:
{
goto IL_04d5;
}
case 82:
{
goto IL_04d5;
}
case 83:
{
goto IL_04d5;
}
case 84:
{
goto IL_04d5;
}
case 85:
{
goto IL_04d5;
}
case 86:
{
goto IL_04d5;
}
case 87:
{
goto IL_04d5;
}
case 88:
{
goto IL_04d5;
}
case 89:
{
goto IL_04d5;
}
case 90:
{
goto IL_04d5;
}
case 91:
{
goto IL_04d5;
}
case 92:
{
goto IL_04d5;
}
case 93:
{
goto IL_04d5;
}
case 94:
{
goto IL_04d5;
}
case 95:
{
goto IL_04d5;
}
case 96:
{
goto IL_04d5;
}
case 97:
{
goto IL_04d5;
}
case 98:
{
goto IL_04d5;
}
case 99:
{
goto IL_04d5;
}
case 100:
{
goto IL_04d5;
}
case 101:
{
goto IL_04d5;
}
case 102:
{
goto IL_04d5;
}
case 103:
{
goto IL_04d5;
}
case 104:
{
goto IL_04d5;
}
case 105:
{
goto IL_04d5;
}
case 106:
{
goto IL_04d5;
}
case 107:
{
goto IL_04d5;
}
case 108:
{
goto IL_04d5;
}
case 109:
{
goto IL_04d5;
}
case 110:
{
goto IL_04d5;
}
case 111:
{
goto IL_04d5;
}
case 112:
{
goto IL_04d5;
}
case 113:
{
goto IL_04d5;
}
case 114:
{
goto IL_04d5;
}
case 115:
{
goto IL_04d5;
}
case 116:
{
goto IL_04d5;
}
case 117:
{
goto IL_04d5;
}
case 118:
{
goto IL_04d5;
}
case 119:
{
goto IL_04d5;
}
case 120:
{
goto IL_04d5;
}
case 121:
{
goto IL_04d5;
}
case 122:
{
goto IL_04d5;
}
case 123:
{
goto IL_04d5;
}
case 124:
{
goto IL_04d5;
}
case 125:
{
goto IL_04d5;
}
case 126:
{
goto IL_04d5;
}
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)338))))
{
goto IL_0393;
}
}
{
goto IL_049e;
}
IL_0257:
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)339))))
{
goto IL_039e;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)352))))
{
goto IL_03a9;
}
}
{
goto IL_049e;
}
IL_0272:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) > ((int32_t)((int32_t)376))))
{
goto IL_0295;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)353))))
{
goto IL_03b4;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)376))))
{
goto IL_03bf;
}
}
{
goto IL_049e;
}
IL_0295:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)381))))
{
goto IL_03ca;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)382))))
{
goto IL_03d5;
}
}
{
goto IL_049e;
}
IL_02b0:
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) > ((int32_t)((int32_t)8230))))
{
goto IL_034a;
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) > ((int32_t)((int32_t)710))))
{
goto IL_02de;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)402))))
{
goto IL_03e0;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)710))))
{
goto IL_03eb;
}
}
{
goto IL_049e;
}
IL_02de:
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)732))))
{
goto IL_03f6;
}
}
{
int32_t L_20 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)((int32_t)8211))))
{
case 0:
{
goto IL_0401;
}
case 1:
{
goto IL_040c;
}
case 2:
{
goto IL_049e;
}
case 3:
{
goto IL_049e;
}
case 4:
{
goto IL_049e;
}
case 5:
{
goto IL_0417;
}
case 6:
{
goto IL_0422;
}
case 7:
{
goto IL_042d;
}
case 8:
{
goto IL_049e;
}
case 9:
{
goto IL_0438;
}
case 10:
{
goto IL_0443;
}
case 11:
{
goto IL_044e;
}
case 12:
{
goto IL_049e;
}
case 13:
{
goto IL_0456;
}
case 14:
{
goto IL_045e;
}
case 15:
{
goto IL_0466;
}
case 16:
{
goto IL_049e;
}
case 17:
{
goto IL_049e;
}
case 18:
{
goto IL_049e;
}
case 19:
{
goto IL_046e;
}
}
}
{
goto IL_049e;
}
IL_034a:
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) > ((int32_t)((int32_t)8249))))
{
goto IL_036d;
}
}
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)8240))))
{
goto IL_0476;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)8249))))
{
goto IL_047e;
}
}
{
goto IL_049e;
}
IL_036d:
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8250))))
{
goto IL_0486;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)8364))))
{
goto IL_048e;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8482))))
{
goto IL_0496;
}
}
{
goto IL_049e;
}
IL_0393:
{
V_0 = ((int32_t)140);
goto IL_04d5;
}
IL_039e:
{
V_0 = ((int32_t)156);
goto IL_04d5;
}
IL_03a9:
{
V_0 = ((int32_t)138);
goto IL_04d5;
}
IL_03b4:
{
V_0 = ((int32_t)154);
goto IL_04d5;
}
IL_03bf:
{
V_0 = ((int32_t)159);
goto IL_04d5;
}
IL_03ca:
{
V_0 = ((int32_t)142);
goto IL_04d5;
}
IL_03d5:
{
V_0 = ((int32_t)158);
goto IL_04d5;
}
IL_03e0:
{
V_0 = ((int32_t)131);
goto IL_04d5;
}
IL_03eb:
{
V_0 = ((int32_t)136);
goto IL_04d5;
}
IL_03f6:
{
V_0 = ((int32_t)152);
goto IL_04d5;
}
IL_0401:
{
V_0 = ((int32_t)150);
goto IL_04d5;
}
IL_040c:
{
V_0 = ((int32_t)151);
goto IL_04d5;
}
IL_0417:
{
V_0 = ((int32_t)145);
goto IL_04d5;
}
IL_0422:
{
V_0 = ((int32_t)146);
goto IL_04d5;
}
IL_042d:
{
V_0 = ((int32_t)130);
goto IL_04d5;
}
IL_0438:
{
V_0 = ((int32_t)147);
goto IL_04d5;
}
IL_0443:
{
V_0 = ((int32_t)148);
goto IL_04d5;
}
IL_044e:
{
V_0 = ((int32_t)132);
goto IL_04d5;
}
IL_0456:
{
V_0 = ((int32_t)134);
goto IL_04d5;
}
IL_045e:
{
V_0 = ((int32_t)135);
goto IL_04d5;
}
IL_0466:
{
V_0 = ((int32_t)149);
goto IL_04d5;
}
IL_046e:
{
V_0 = ((int32_t)133);
goto IL_04d5;
}
IL_0476:
{
V_0 = ((int32_t)137);
goto IL_04d5;
}
IL_047e:
{
V_0 = ((int32_t)139);
goto IL_04d5;
}
IL_0486:
{
V_0 = ((int32_t)155);
goto IL_04d5;
}
IL_048e:
{
V_0 = ((int32_t)128);
goto IL_04d5;
}
IL_0496:
{
V_0 = ((int32_t)153);
goto IL_04d5;
}
IL_049e:
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) < ((int32_t)((int32_t)65281))))
{
goto IL_04b8;
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) > ((int32_t)((int32_t)65374))))
{
goto IL_04b8;
}
}
{
int32_t L_29 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)((int32_t)65248)));
goto IL_04d5;
}
IL_04b8:
{
Il2CppChar* L_30 = ___chars0;
uint8_t* L_31 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_30, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_31, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_32 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)1));
int32_t L_33 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_33, (int32_t)1));
goto IL_04f3;
}
IL_04d5:
{
uint8_t* L_34 = ___bytes2;
if ((((intptr_t)L_34) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_04e0;
}
}
{
uint8_t* L_35 = ___bytes2;
int32_t L_36 = V_2;
int32_t L_37 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_35, (int32_t)L_36)))) = (int8_t)(((int32_t)((uint8_t)L_37)));
}
IL_04e0:
{
int32_t L_38 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)1));
int32_t L_39 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_39, (int32_t)1));
int32_t L_40 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_40, (int32_t)1));
int32_t L_41 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_41, (int32_t)1));
}
IL_04f3:
{
int32_t L_42 = ___charCount1;
if ((((int32_t)L_42) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_43 = V_2;
return L_43;
}
}
// System.Void I18N.West.CP1252::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP1252__cctor_m928446954 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1252__cctor_m928446954_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____05C64B887A4D766EEB5842345D6B609A0E3A91C9_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP1252_t2169944547_StaticFields*)il2cpp_codegen_static_fields_for(CP1252_t2169944547_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP1253::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP1253__ctor_m1416428019 (CP1253_t4126259683 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1253__ctor_m1416428019_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1253_t4126259683_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP1253_t4126259683_StaticFields*)il2cpp_codegen_static_fields_for(CP1253_t4126259683_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)1253), L_0, _stringLiteral917377426, _stringLiteral287800638, _stringLiteral193839523, _stringLiteral193839523, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)1253), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP1253::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1253_GetByteCountImpl_m2286874994 (CP1253_t4126259683 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP1253::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1253_GetByteCount_m2101870641 (CP1253_t4126259683 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP1253::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP1253_ToBytes_m2933438082 (CP1253_t4126259683 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1253_ToBytes_m2933438082_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP1253_ToBytes_m2933438082_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP1253::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP1253_GetBytesImpl_m2995955741 (CP1253_t4126259683 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_04bc;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_049e;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)8230))))
{
goto IL_02f9;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)402))))
{
goto IL_0144;
}
}
{
int32_t L_5 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)129))))
{
case 0:
{
goto IL_049e;
}
case 1:
{
goto IL_0467;
}
case 2:
{
goto IL_0467;
}
case 3:
{
goto IL_0467;
}
case 4:
{
goto IL_0467;
}
case 5:
{
goto IL_0467;
}
case 6:
{
goto IL_0467;
}
case 7:
{
goto IL_049e;
}
case 8:
{
goto IL_0467;
}
case 9:
{
goto IL_049e;
}
case 10:
{
goto IL_0467;
}
case 11:
{
goto IL_049e;
}
case 12:
{
goto IL_049e;
}
case 13:
{
goto IL_049e;
}
case 14:
{
goto IL_049e;
}
case 15:
{
goto IL_049e;
}
case 16:
{
goto IL_0467;
}
case 17:
{
goto IL_0467;
}
case 18:
{
goto IL_0467;
}
case 19:
{
goto IL_0467;
}
case 20:
{
goto IL_0467;
}
case 21:
{
goto IL_0467;
}
case 22:
{
goto IL_0467;
}
case 23:
{
goto IL_049e;
}
case 24:
{
goto IL_0467;
}
case 25:
{
goto IL_049e;
}
case 26:
{
goto IL_0467;
}
case 27:
{
goto IL_049e;
}
case 28:
{
goto IL_049e;
}
case 29:
{
goto IL_049e;
}
case 30:
{
goto IL_049e;
}
case 31:
{
goto IL_049e;
}
case 32:
{
goto IL_0467;
}
case 33:
{
goto IL_0467;
}
case 34:
{
goto IL_049e;
}
case 35:
{
goto IL_049e;
}
case 36:
{
goto IL_049e;
}
case 37:
{
goto IL_049e;
}
case 38:
{
goto IL_049e;
}
case 39:
{
goto IL_049e;
}
case 40:
{
goto IL_049e;
}
case 41:
{
goto IL_049e;
}
case 42:
{
goto IL_049e;
}
case 43:
{
goto IL_049e;
}
case 44:
{
goto IL_049e;
}
case 45:
{
goto IL_049e;
}
case 46:
{
goto IL_0467;
}
case 47:
{
goto IL_049e;
}
case 48:
{
goto IL_049e;
}
case 49:
{
goto IL_049e;
}
case 50:
{
goto IL_049e;
}
case 51:
{
goto IL_0467;
}
case 52:
{
goto IL_049e;
}
case 53:
{
goto IL_049e;
}
case 54:
{
goto IL_049e;
}
case 55:
{
goto IL_0467;
}
case 56:
{
goto IL_0467;
}
case 57:
{
goto IL_0467;
}
case 58:
{
goto IL_049e;
}
case 59:
{
goto IL_0467;
}
case 60:
{
goto IL_049e;
}
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)402))))
{
goto IL_0342;
}
}
{
goto IL_0467;
}
IL_0144:
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)900))))
{
case 0:
{
goto IL_034d;
}
case 1:
{
goto IL_0358;
}
case 2:
{
goto IL_0363;
}
case 3:
{
goto IL_0467;
}
case 4:
{
goto IL_036e;
}
case 5:
{
goto IL_0379;
}
case 6:
{
goto IL_0384;
}
case 7:
{
goto IL_0467;
}
case 8:
{
goto IL_038f;
}
case 9:
{
goto IL_0467;
}
case 10:
{
goto IL_039a;
}
case 11:
{
goto IL_039a;
}
case 12:
{
goto IL_039a;
}
case 13:
{
goto IL_039a;
}
case 14:
{
goto IL_039a;
}
case 15:
{
goto IL_039a;
}
case 16:
{
goto IL_039a;
}
case 17:
{
goto IL_039a;
}
case 18:
{
goto IL_039a;
}
case 19:
{
goto IL_039a;
}
case 20:
{
goto IL_039a;
}
case 21:
{
goto IL_039a;
}
case 22:
{
goto IL_039a;
}
case 23:
{
goto IL_039a;
}
case 24:
{
goto IL_039a;
}
case 25:
{
goto IL_039a;
}
case 26:
{
goto IL_039a;
}
case 27:
{
goto IL_039a;
}
case 28:
{
goto IL_039a;
}
case 29:
{
goto IL_039a;
}
case 30:
{
goto IL_0467;
}
case 31:
{
goto IL_03a7;
}
case 32:
{
goto IL_03a7;
}
case 33:
{
goto IL_03a7;
}
case 34:
{
goto IL_03a7;
}
case 35:
{
goto IL_03a7;
}
case 36:
{
goto IL_03a7;
}
case 37:
{
goto IL_03a7;
}
case 38:
{
goto IL_03a7;
}
case 39:
{
goto IL_03a7;
}
case 40:
{
goto IL_03a7;
}
case 41:
{
goto IL_03a7;
}
case 42:
{
goto IL_03a7;
}
case 43:
{
goto IL_03a7;
}
case 44:
{
goto IL_03a7;
}
case 45:
{
goto IL_03a7;
}
case 46:
{
goto IL_03a7;
}
case 47:
{
goto IL_03a7;
}
case 48:
{
goto IL_03a7;
}
case 49:
{
goto IL_03a7;
}
case 50:
{
goto IL_03a7;
}
case 51:
{
goto IL_03a7;
}
case 52:
{
goto IL_03a7;
}
case 53:
{
goto IL_03a7;
}
case 54:
{
goto IL_03a7;
}
case 55:
{
goto IL_03a7;
}
case 56:
{
goto IL_03a7;
}
case 57:
{
goto IL_03a7;
}
case 58:
{
goto IL_03a7;
}
case 59:
{
goto IL_03a7;
}
case 60:
{
goto IL_03a7;
}
case 61:
{
goto IL_03a7;
}
case 62:
{
goto IL_03a7;
}
case 63:
{
goto IL_03a7;
}
case 64:
{
goto IL_03a7;
}
case 65:
{
goto IL_03a7;
}
case 66:
{
goto IL_03a7;
}
case 67:
{
goto IL_03a7;
}
case 68:
{
goto IL_03a7;
}
case 69:
{
goto IL_03a7;
}
case 70:
{
goto IL_03a7;
}
case 71:
{
goto IL_03a7;
}
case 72:
{
goto IL_03a7;
}
case 73:
{
goto IL_03a7;
}
case 74:
{
goto IL_03a7;
}
case 75:
{
goto IL_0467;
}
case 76:
{
goto IL_0467;
}
case 77:
{
goto IL_0467;
}
case 78:
{
goto IL_0467;
}
case 79:
{
goto IL_0467;
}
case 80:
{
goto IL_0467;
}
case 81:
{
goto IL_03b4;
}
}
}
{
int32_t L_8 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)8211))))
{
case 0:
{
goto IL_03bf;
}
case 1:
{
goto IL_03ca;
}
case 2:
{
goto IL_03d5;
}
case 3:
{
goto IL_0467;
}
case 4:
{
goto IL_0467;
}
case 5:
{
goto IL_03e0;
}
case 6:
{
goto IL_03eb;
}
case 7:
{
goto IL_03f6;
}
case 8:
{
goto IL_0467;
}
case 9:
{
goto IL_0401;
}
case 10:
{
goto IL_040c;
}
case 11:
{
goto IL_0417;
}
case 12:
{
goto IL_0467;
}
case 13:
{
goto IL_041f;
}
case 14:
{
goto IL_0427;
}
case 15:
{
goto IL_042f;
}
case 16:
{
goto IL_0467;
}
case 17:
{
goto IL_0467;
}
case 18:
{
goto IL_0467;
}
case 19:
{
goto IL_0437;
}
}
}
{
goto IL_0467;
}
IL_02f9:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)8249))))
{
goto IL_031c;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)8240))))
{
goto IL_043f;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)8249))))
{
goto IL_0447;
}
}
{
goto IL_0467;
}
IL_031c:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)8250))))
{
goto IL_044f;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)8364))))
{
goto IL_0457;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)8482))))
{
goto IL_045f;
}
}
{
goto IL_0467;
}
IL_0342:
{
V_0 = ((int32_t)131);
goto IL_049e;
}
IL_034d:
{
V_0 = ((int32_t)180);
goto IL_049e;
}
IL_0358:
{
V_0 = ((int32_t)161);
goto IL_049e;
}
IL_0363:
{
V_0 = ((int32_t)162);
goto IL_049e;
}
IL_036e:
{
V_0 = ((int32_t)184);
goto IL_049e;
}
IL_0379:
{
V_0 = ((int32_t)185);
goto IL_049e;
}
IL_0384:
{
V_0 = ((int32_t)186);
goto IL_049e;
}
IL_038f:
{
V_0 = ((int32_t)188);
goto IL_049e;
}
IL_039a:
{
int32_t L_15 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)720)));
goto IL_049e;
}
IL_03a7:
{
int32_t L_16 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)720)));
goto IL_049e;
}
IL_03b4:
{
V_0 = ((int32_t)246);
goto IL_049e;
}
IL_03bf:
{
V_0 = ((int32_t)150);
goto IL_049e;
}
IL_03ca:
{
V_0 = ((int32_t)151);
goto IL_049e;
}
IL_03d5:
{
V_0 = ((int32_t)175);
goto IL_049e;
}
IL_03e0:
{
V_0 = ((int32_t)145);
goto IL_049e;
}
IL_03eb:
{
V_0 = ((int32_t)146);
goto IL_049e;
}
IL_03f6:
{
V_0 = ((int32_t)130);
goto IL_049e;
}
IL_0401:
{
V_0 = ((int32_t)147);
goto IL_049e;
}
IL_040c:
{
V_0 = ((int32_t)148);
goto IL_049e;
}
IL_0417:
{
V_0 = ((int32_t)132);
goto IL_049e;
}
IL_041f:
{
V_0 = ((int32_t)134);
goto IL_049e;
}
IL_0427:
{
V_0 = ((int32_t)135);
goto IL_049e;
}
IL_042f:
{
V_0 = ((int32_t)149);
goto IL_049e;
}
IL_0437:
{
V_0 = ((int32_t)133);
goto IL_049e;
}
IL_043f:
{
V_0 = ((int32_t)137);
goto IL_049e;
}
IL_0447:
{
V_0 = ((int32_t)139);
goto IL_049e;
}
IL_044f:
{
V_0 = ((int32_t)155);
goto IL_049e;
}
IL_0457:
{
V_0 = ((int32_t)128);
goto IL_049e;
}
IL_045f:
{
V_0 = ((int32_t)153);
goto IL_049e;
}
IL_0467:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) < ((int32_t)((int32_t)65281))))
{
goto IL_0481;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) > ((int32_t)((int32_t)65374))))
{
goto IL_0481;
}
}
{
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)((int32_t)65248)));
goto IL_049e;
}
IL_0481:
{
Il2CppChar* L_20 = ___chars0;
uint8_t* L_21 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_20, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_21, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_22 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
int32_t L_23 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)1));
goto IL_04bc;
}
IL_049e:
{
uint8_t* L_24 = ___bytes2;
if ((((intptr_t)L_24) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_04a9;
}
}
{
uint8_t* L_25 = ___bytes2;
int32_t L_26 = V_2;
int32_t L_27 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_25, (int32_t)L_26)))) = (int8_t)(((int32_t)((uint8_t)L_27)));
}
IL_04a9:
{
int32_t L_28 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
int32_t L_29 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)1));
int32_t L_30 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
int32_t L_31 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1));
}
IL_04bc:
{
int32_t L_32 = ___charCount1;
if ((((int32_t)L_32) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_33 = V_2;
return L_33;
}
}
// System.Void I18N.West.CP1253::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP1253__cctor_m848689642 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP1253__cctor_m848689642_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____356CE585046545CD2D0B109FF8A85DB88EE29074_4_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP1253_t4126259683_StaticFields*)il2cpp_codegen_static_fields_for(CP1253_t4126259683_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP28592::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28592__ctor_m2087654126 (CP28592_t3519602206 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28592__ctor_m2087654126_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28592_t3519602206_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP28592_t3519602206_StaticFields*)il2cpp_codegen_static_fields_for(CP28592_t3519602206_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)28592), L_0, _stringLiteral1698459209, _stringLiteral287604030, _stringLiteral287604030, _stringLiteral287604030, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)1250), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP28592::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28592_GetByteCountImpl_m4122853888 (CP28592_t3519602206 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP28592::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28592_GetByteCount_m3385166225 (CP28592_t3519602206 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP28592::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP28592_ToBytes_m1147372611 (CP28592_t3519602206 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28592_ToBytes_m1147372611_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP28592_ToBytes_m1147372611_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP28592::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28592_GetBytesImpl_m1074210647 (CP28592_t3519602206 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0ba6;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)161))))
{
goto IL_0b88;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9559))))
{
goto IL_04b9;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)9472))))
{
goto IL_03f4;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)733))))
{
goto IL_0387;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)283))))
{
goto IL_022f;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)162))))
{
case 0:
{
goto IL_0690;
}
case 1:
{
goto IL_0b51;
}
case 2:
{
goto IL_0b88;
}
case 3:
{
goto IL_069b;
}
case 4:
{
goto IL_0b51;
}
case 5:
{
goto IL_0b88;
}
case 6:
{
goto IL_0b88;
}
case 7:
{
goto IL_06a6;
}
case 8:
{
goto IL_0b51;
}
case 9:
{
goto IL_0b51;
}
case 10:
{
goto IL_0b51;
}
case 11:
{
goto IL_0b88;
}
case 12:
{
goto IL_06b1;
}
case 13:
{
goto IL_0b51;
}
case 14:
{
goto IL_0b88;
}
case 15:
{
goto IL_0b51;
}
case 16:
{
goto IL_0b51;
}
case 17:
{
goto IL_0b51;
}
case 18:
{
goto IL_0b88;
}
case 19:
{
goto IL_0b51;
}
case 20:
{
goto IL_06bc;
}
case 21:
{
goto IL_0b51;
}
case 22:
{
goto IL_0b88;
}
}
}
{
int32_t L_8 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)193))))
{
case 0:
{
goto IL_0b88;
}
case 1:
{
goto IL_0b88;
}
case 2:
{
goto IL_0b51;
}
case 3:
{
goto IL_0b88;
}
case 4:
{
goto IL_0b51;
}
case 5:
{
goto IL_0b51;
}
case 6:
{
goto IL_0b88;
}
case 7:
{
goto IL_0b51;
}
case 8:
{
goto IL_0b88;
}
case 9:
{
goto IL_0b51;
}
case 10:
{
goto IL_0b88;
}
case 11:
{
goto IL_0b51;
}
case 12:
{
goto IL_0b88;
}
case 13:
{
goto IL_0b88;
}
case 14:
{
goto IL_0b51;
}
case 15:
{
goto IL_0b88;
}
case 16:
{
goto IL_0b51;
}
case 17:
{
goto IL_0b51;
}
case 18:
{
goto IL_0b88;
}
case 19:
{
goto IL_0b88;
}
case 20:
{
goto IL_0b51;
}
case 21:
{
goto IL_0b88;
}
case 22:
{
goto IL_0b88;
}
case 23:
{
goto IL_0b51;
}
case 24:
{
goto IL_0b51;
}
case 25:
{
goto IL_0b88;
}
case 26:
{
goto IL_0b51;
}
case 27:
{
goto IL_0b88;
}
case 28:
{
goto IL_0b88;
}
case 29:
{
goto IL_0b51;
}
case 30:
{
goto IL_0b88;
}
case 31:
{
goto IL_0b51;
}
case 32:
{
goto IL_0b88;
}
case 33:
{
goto IL_0b88;
}
case 34:
{
goto IL_0b51;
}
case 35:
{
goto IL_0b88;
}
case 36:
{
goto IL_0b51;
}
case 37:
{
goto IL_0b51;
}
case 38:
{
goto IL_0b88;
}
case 39:
{
goto IL_0b51;
}
case 40:
{
goto IL_0b88;
}
case 41:
{
goto IL_0b51;
}
case 42:
{
goto IL_0b88;
}
case 43:
{
goto IL_0b51;
}
case 44:
{
goto IL_0b88;
}
case 45:
{
goto IL_0b88;
}
case 46:
{
goto IL_0b51;
}
case 47:
{
goto IL_0b51;
}
case 48:
{
goto IL_0b51;
}
case 49:
{
goto IL_0b51;
}
case 50:
{
goto IL_0b88;
}
case 51:
{
goto IL_0b88;
}
case 52:
{
goto IL_0b51;
}
case 53:
{
goto IL_0b88;
}
case 54:
{
goto IL_0b88;
}
case 55:
{
goto IL_0b51;
}
case 56:
{
goto IL_0b51;
}
case 57:
{
goto IL_0b88;
}
case 58:
{
goto IL_0b51;
}
case 59:
{
goto IL_0b88;
}
case 60:
{
goto IL_0b88;
}
case 61:
{
goto IL_0b51;
}
case 62:
{
goto IL_0b51;
}
case 63:
{
goto IL_0b51;
}
case 64:
{
goto IL_0b51;
}
case 65:
{
goto IL_06c4;
}
case 66:
{
goto IL_06cf;
}
case 67:
{
goto IL_06da;
}
case 68:
{
goto IL_06e5;
}
case 69:
{
goto IL_06f0;
}
case 70:
{
goto IL_06fb;
}
case 71:
{
goto IL_0b51;
}
case 72:
{
goto IL_0b51;
}
case 73:
{
goto IL_0b51;
}
case 74:
{
goto IL_0b51;
}
case 75:
{
goto IL_0706;
}
case 76:
{
goto IL_0711;
}
case 77:
{
goto IL_071c;
}
case 78:
{
goto IL_0727;
}
case 79:
{
goto IL_0732;
}
case 80:
{
goto IL_073d;
}
case 81:
{
goto IL_0b51;
}
case 82:
{
goto IL_0b51;
}
case 83:
{
goto IL_0b51;
}
case 84:
{
goto IL_0b51;
}
case 85:
{
goto IL_0b51;
}
case 86:
{
goto IL_0b51;
}
case 87:
{
goto IL_0748;
}
case 88:
{
goto IL_0753;
}
case 89:
{
goto IL_075e;
}
case 90:
{
goto IL_0769;
}
}
}
{
goto IL_0b51;
}
IL_022f:
{
int32_t L_9 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)313))))
{
case 0:
{
goto IL_0774;
}
case 1:
{
goto IL_077f;
}
case 2:
{
goto IL_0b51;
}
case 3:
{
goto IL_0b51;
}
case 4:
{
goto IL_078a;
}
case 5:
{
goto IL_0795;
}
case 6:
{
goto IL_0b51;
}
case 7:
{
goto IL_0b51;
}
case 8:
{
goto IL_07a0;
}
case 9:
{
goto IL_07ab;
}
case 10:
{
goto IL_07b6;
}
case 11:
{
goto IL_07c1;
}
case 12:
{
goto IL_0b51;
}
case 13:
{
goto IL_0b51;
}
case 14:
{
goto IL_07cc;
}
case 15:
{
goto IL_07d7;
}
case 16:
{
goto IL_0b51;
}
case 17:
{
goto IL_0b51;
}
case 18:
{
goto IL_0b51;
}
case 19:
{
goto IL_0b51;
}
case 20:
{
goto IL_0b51;
}
case 21:
{
goto IL_0b51;
}
case 22:
{
goto IL_0b51;
}
case 23:
{
goto IL_07e2;
}
case 24:
{
goto IL_07ed;
}
case 25:
{
goto IL_0b51;
}
case 26:
{
goto IL_0b51;
}
case 27:
{
goto IL_07f8;
}
case 28:
{
goto IL_0803;
}
case 29:
{
goto IL_0b51;
}
case 30:
{
goto IL_0b51;
}
case 31:
{
goto IL_080e;
}
case 32:
{
goto IL_0819;
}
case 33:
{
goto IL_0824;
}
case 34:
{
goto IL_082f;
}
case 35:
{
goto IL_0b51;
}
case 36:
{
goto IL_0b51;
}
case 37:
{
goto IL_083a;
}
case 38:
{
goto IL_0845;
}
case 39:
{
goto IL_0850;
}
case 40:
{
goto IL_085b;
}
case 41:
{
goto IL_0866;
}
case 42:
{
goto IL_0871;
}
case 43:
{
goto IL_087c;
}
case 44:
{
goto IL_0887;
}
case 45:
{
goto IL_0b51;
}
case 46:
{
goto IL_0b51;
}
case 47:
{
goto IL_0b51;
}
case 48:
{
goto IL_0b51;
}
case 49:
{
goto IL_0b51;
}
case 50:
{
goto IL_0b51;
}
case 51:
{
goto IL_0b51;
}
case 52:
{
goto IL_0b51;
}
case 53:
{
goto IL_0892;
}
case 54:
{
goto IL_089d;
}
case 55:
{
goto IL_08a8;
}
case 56:
{
goto IL_08b3;
}
case 57:
{
goto IL_0b51;
}
case 58:
{
goto IL_0b51;
}
case 59:
{
goto IL_0b51;
}
case 60:
{
goto IL_0b51;
}
case 61:
{
goto IL_0b51;
}
case 62:
{
goto IL_0b51;
}
case 63:
{
goto IL_0b51;
}
case 64:
{
goto IL_08be;
}
case 65:
{
goto IL_08c9;
}
case 66:
{
goto IL_08d4;
}
case 67:
{
goto IL_08df;
}
case 68:
{
goto IL_08ea;
}
case 69:
{
goto IL_08f5;
}
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)711))))
{
goto IL_0900;
}
}
{
int32_t L_11 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)728))))
{
case 0:
{
goto IL_090b;
}
case 1:
{
goto IL_0916;
}
case 2:
{
goto IL_0b51;
}
case 3:
{
goto IL_0921;
}
case 4:
{
goto IL_0b51;
}
case 5:
{
goto IL_092c;
}
}
}
{
goto IL_0b51;
}
IL_0387:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)8597))))
{
goto IL_03ce;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)8226))))
{
goto IL_0937;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)8252))))
{
goto IL_093e;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0946;
}
case 1:
{
goto IL_094e;
}
case 2:
{
goto IL_0956;
}
case 3:
{
goto IL_095e;
}
case 4:
{
goto IL_0966;
}
case 5:
{
goto IL_096e;
}
}
}
{
goto IL_0b51;
}
IL_03ce:
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)8616))))
{
goto IL_0976;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)8735))))
{
goto IL_097e;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)9472))))
{
goto IL_0986;
}
}
{
goto IL_0b51;
}
IL_03f4:
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) > ((int32_t)((int32_t)9500))))
{
goto IL_0450;
}
}
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) > ((int32_t)((int32_t)9488))))
{
goto IL_042a;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)9474))))
{
goto IL_0991;
}
}
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)9484))))
{
goto IL_099c;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)9488))))
{
goto IL_09a7;
}
}
{
goto IL_0b51;
}
IL_042a:
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)9492))))
{
goto IL_09b2;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)9496))))
{
goto IL_09bd;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)9500))))
{
goto IL_09c8;
}
}
{
goto IL_0b51;
}
IL_0450:
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) > ((int32_t)((int32_t)9524))))
{
goto IL_047e;
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) == ((int32_t)((int32_t)9508))))
{
goto IL_09d3;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)9516))))
{
goto IL_09de;
}
}
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) == ((int32_t)((int32_t)9524))))
{
goto IL_09e9;
}
}
{
goto IL_0b51;
}
IL_047e:
{
int32_t L_31 = V_0;
if ((((int32_t)L_31) == ((int32_t)((int32_t)9532))))
{
goto IL_09f4;
}
}
{
int32_t L_32 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_32, (int32_t)((int32_t)9552))))
{
case 0:
{
goto IL_09ff;
}
case 1:
{
goto IL_0a0a;
}
case 2:
{
goto IL_0b51;
}
case 3:
{
goto IL_0b51;
}
case 4:
{
goto IL_0a15;
}
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)9559))))
{
goto IL_0a20;
}
}
{
goto IL_0b51;
}
IL_04b9:
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)9644))))
{
goto IL_0581;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) > ((int32_t)((int32_t)9577))))
{
goto IL_0520;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) > ((int32_t)((int32_t)9568))))
{
goto IL_04fa;
}
}
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)9562))))
{
goto IL_0a2b;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)9565))))
{
goto IL_0a36;
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) == ((int32_t)((int32_t)9568))))
{
goto IL_0a41;
}
}
{
goto IL_0b51;
}
IL_04fa:
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) == ((int32_t)((int32_t)9571))))
{
goto IL_0a4c;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) == ((int32_t)((int32_t)9574))))
{
goto IL_0a57;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9577))))
{
goto IL_0a62;
}
}
{
goto IL_0b51;
}
IL_0520:
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) > ((int32_t)((int32_t)9604))))
{
goto IL_054e;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9580))))
{
goto IL_0a6d;
}
}
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9600))))
{
goto IL_0a78;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) == ((int32_t)((int32_t)9604))))
{
goto IL_0a83;
}
}
{
goto IL_0b51;
}
IL_054e:
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) == ((int32_t)((int32_t)9608))))
{
goto IL_0a8e;
}
}
{
int32_t L_48 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_48, (int32_t)((int32_t)9617))))
{
case 0:
{
goto IL_0a99;
}
case 1:
{
goto IL_0aa4;
}
case 2:
{
goto IL_0aaf;
}
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9644))))
{
goto IL_0aba;
}
}
{
goto IL_0b51;
}
IL_0581:
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) > ((int32_t)((int32_t)9688))))
{
goto IL_05dd;
}
}
{
int32_t L_51 = V_0;
if ((((int32_t)L_51) > ((int32_t)((int32_t)9660))))
{
goto IL_05b7;
}
}
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) == ((int32_t)((int32_t)9650))))
{
goto IL_0ac2;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)9658))))
{
goto IL_0aca;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) == ((int32_t)((int32_t)9660))))
{
goto IL_0ad2;
}
}
{
goto IL_0b51;
}
IL_05b7:
{
int32_t L_55 = V_0;
if ((((int32_t)L_55) == ((int32_t)((int32_t)9668))))
{
goto IL_0ada;
}
}
{
int32_t L_56 = V_0;
if ((((int32_t)L_56) == ((int32_t)((int32_t)9675))))
{
goto IL_0ae2;
}
}
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) == ((int32_t)((int32_t)9688))))
{
goto IL_0aea;
}
}
{
goto IL_0b51;
}
IL_05dd:
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) > ((int32_t)((int32_t)9830))))
{
goto IL_064d;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9689))))
{
goto IL_0af1;
}
}
{
int32_t L_60 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_60, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0af9;
}
case 1:
{
goto IL_0b00;
}
case 2:
{
goto IL_0b07;
}
case 3:
{
goto IL_0b51;
}
case 4:
{
goto IL_0b51;
}
case 5:
{
goto IL_0b51;
}
case 6:
{
goto IL_0b0c;
}
case 7:
{
goto IL_0b51;
}
case 8:
{
goto IL_0b11;
}
}
}
{
int32_t L_61 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_61, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0b16;
}
case 1:
{
goto IL_0b51;
}
case 2:
{
goto IL_0b51;
}
case 3:
{
goto IL_0b1a;
}
case 4:
{
goto IL_0b51;
}
case 5:
{
goto IL_0b1e;
}
case 6:
{
goto IL_0b22;
}
}
}
{
goto IL_0b51;
}
IL_064d:
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) == ((int32_t)((int32_t)9834))))
{
goto IL_0b26;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9836))))
{
goto IL_0b2b;
}
}
{
int32_t L_64 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0b30;
}
case 1:
{
goto IL_0b38;
}
case 2:
{
goto IL_0b3d;
}
case 3:
{
goto IL_0b42;
}
case 4:
{
goto IL_0b47;
}
case 5:
{
goto IL_0b51;
}
case 6:
{
goto IL_0b4c;
}
}
}
{
goto IL_0b51;
}
IL_0690:
{
V_0 = ((int32_t)141);
goto IL_0b88;
}
IL_069b:
{
V_0 = ((int32_t)142);
goto IL_0b88;
}
IL_06a6:
{
V_0 = ((int32_t)136);
goto IL_0b88;
}
IL_06b1:
{
V_0 = ((int32_t)159);
goto IL_0b88;
}
IL_06bc:
{
V_0 = ((int32_t)20);
goto IL_0b88;
}
IL_06c4:
{
V_0 = ((int32_t)195);
goto IL_0b88;
}
IL_06cf:
{
V_0 = ((int32_t)227);
goto IL_0b88;
}
IL_06da:
{
V_0 = ((int32_t)161);
goto IL_0b88;
}
IL_06e5:
{
V_0 = ((int32_t)177);
goto IL_0b88;
}
IL_06f0:
{
V_0 = ((int32_t)198);
goto IL_0b88;
}
IL_06fb:
{
V_0 = ((int32_t)230);
goto IL_0b88;
}
IL_0706:
{
V_0 = ((int32_t)200);
goto IL_0b88;
}
IL_0711:
{
V_0 = ((int32_t)232);
goto IL_0b88;
}
IL_071c:
{
V_0 = ((int32_t)207);
goto IL_0b88;
}
IL_0727:
{
V_0 = ((int32_t)239);
goto IL_0b88;
}
IL_0732:
{
V_0 = ((int32_t)208);
goto IL_0b88;
}
IL_073d:
{
V_0 = ((int32_t)240);
goto IL_0b88;
}
IL_0748:
{
V_0 = ((int32_t)202);
goto IL_0b88;
}
IL_0753:
{
V_0 = ((int32_t)234);
goto IL_0b88;
}
IL_075e:
{
V_0 = ((int32_t)204);
goto IL_0b88;
}
IL_0769:
{
V_0 = ((int32_t)236);
goto IL_0b88;
}
IL_0774:
{
V_0 = ((int32_t)197);
goto IL_0b88;
}
IL_077f:
{
V_0 = ((int32_t)229);
goto IL_0b88;
}
IL_078a:
{
V_0 = ((int32_t)165);
goto IL_0b88;
}
IL_0795:
{
V_0 = ((int32_t)181);
goto IL_0b88;
}
IL_07a0:
{
V_0 = ((int32_t)163);
goto IL_0b88;
}
IL_07ab:
{
V_0 = ((int32_t)179);
goto IL_0b88;
}
IL_07b6:
{
V_0 = ((int32_t)209);
goto IL_0b88;
}
IL_07c1:
{
V_0 = ((int32_t)241);
goto IL_0b88;
}
IL_07cc:
{
V_0 = ((int32_t)210);
goto IL_0b88;
}
IL_07d7:
{
V_0 = ((int32_t)242);
goto IL_0b88;
}
IL_07e2:
{
V_0 = ((int32_t)213);
goto IL_0b88;
}
IL_07ed:
{
V_0 = ((int32_t)245);
goto IL_0b88;
}
IL_07f8:
{
V_0 = ((int32_t)192);
goto IL_0b88;
}
IL_0803:
{
V_0 = ((int32_t)224);
goto IL_0b88;
}
IL_080e:
{
V_0 = ((int32_t)216);
goto IL_0b88;
}
IL_0819:
{
V_0 = ((int32_t)248);
goto IL_0b88;
}
IL_0824:
{
V_0 = ((int32_t)166);
goto IL_0b88;
}
IL_082f:
{
V_0 = ((int32_t)182);
goto IL_0b88;
}
IL_083a:
{
V_0 = ((int32_t)170);
goto IL_0b88;
}
IL_0845:
{
V_0 = ((int32_t)186);
goto IL_0b88;
}
IL_0850:
{
V_0 = ((int32_t)169);
goto IL_0b88;
}
IL_085b:
{
V_0 = ((int32_t)185);
goto IL_0b88;
}
IL_0866:
{
V_0 = ((int32_t)222);
goto IL_0b88;
}
IL_0871:
{
V_0 = ((int32_t)254);
goto IL_0b88;
}
IL_087c:
{
V_0 = ((int32_t)171);
goto IL_0b88;
}
IL_0887:
{
V_0 = ((int32_t)187);
goto IL_0b88;
}
IL_0892:
{
V_0 = ((int32_t)217);
goto IL_0b88;
}
IL_089d:
{
V_0 = ((int32_t)249);
goto IL_0b88;
}
IL_08a8:
{
V_0 = ((int32_t)219);
goto IL_0b88;
}
IL_08b3:
{
V_0 = ((int32_t)251);
goto IL_0b88;
}
IL_08be:
{
V_0 = ((int32_t)172);
goto IL_0b88;
}
IL_08c9:
{
V_0 = ((int32_t)188);
goto IL_0b88;
}
IL_08d4:
{
V_0 = ((int32_t)175);
goto IL_0b88;
}
IL_08df:
{
V_0 = ((int32_t)191);
goto IL_0b88;
}
IL_08ea:
{
V_0 = ((int32_t)174);
goto IL_0b88;
}
IL_08f5:
{
V_0 = ((int32_t)190);
goto IL_0b88;
}
IL_0900:
{
V_0 = ((int32_t)183);
goto IL_0b88;
}
IL_090b:
{
V_0 = ((int32_t)162);
goto IL_0b88;
}
IL_0916:
{
V_0 = ((int32_t)255);
goto IL_0b88;
}
IL_0921:
{
V_0 = ((int32_t)178);
goto IL_0b88;
}
IL_092c:
{
V_0 = ((int32_t)189);
goto IL_0b88;
}
IL_0937:
{
V_0 = 7;
goto IL_0b88;
}
IL_093e:
{
V_0 = ((int32_t)19);
goto IL_0b88;
}
IL_0946:
{
V_0 = ((int32_t)27);
goto IL_0b88;
}
IL_094e:
{
V_0 = ((int32_t)24);
goto IL_0b88;
}
IL_0956:
{
V_0 = ((int32_t)26);
goto IL_0b88;
}
IL_095e:
{
V_0 = ((int32_t)25);
goto IL_0b88;
}
IL_0966:
{
V_0 = ((int32_t)29);
goto IL_0b88;
}
IL_096e:
{
V_0 = ((int32_t)18);
goto IL_0b88;
}
IL_0976:
{
V_0 = ((int32_t)23);
goto IL_0b88;
}
IL_097e:
{
V_0 = ((int32_t)28);
goto IL_0b88;
}
IL_0986:
{
V_0 = ((int32_t)148);
goto IL_0b88;
}
IL_0991:
{
V_0 = ((int32_t)131);
goto IL_0b88;
}
IL_099c:
{
V_0 = ((int32_t)134);
goto IL_0b88;
}
IL_09a7:
{
V_0 = ((int32_t)143);
goto IL_0b88;
}
IL_09b2:
{
V_0 = ((int32_t)144);
goto IL_0b88;
}
IL_09bd:
{
V_0 = ((int32_t)133);
goto IL_0b88;
}
IL_09c8:
{
V_0 = ((int32_t)147);
goto IL_0b88;
}
IL_09d3:
{
V_0 = ((int32_t)132);
goto IL_0b88;
}
IL_09de:
{
V_0 = ((int32_t)146);
goto IL_0b88;
}
IL_09e9:
{
V_0 = ((int32_t)145);
goto IL_0b88;
}
IL_09f4:
{
V_0 = ((int32_t)149);
goto IL_0b88;
}
IL_09ff:
{
V_0 = ((int32_t)157);
goto IL_0b88;
}
IL_0a0a:
{
V_0 = ((int32_t)138);
goto IL_0b88;
}
IL_0a15:
{
V_0 = ((int32_t)153);
goto IL_0b88;
}
IL_0a20:
{
V_0 = ((int32_t)139);
goto IL_0b88;
}
IL_0a2b:
{
V_0 = ((int32_t)152);
goto IL_0b88;
}
IL_0a36:
{
V_0 = ((int32_t)140);
goto IL_0b88;
}
IL_0a41:
{
V_0 = ((int32_t)156);
goto IL_0b88;
}
IL_0a4c:
{
V_0 = ((int32_t)137);
goto IL_0b88;
}
IL_0a57:
{
V_0 = ((int32_t)155);
goto IL_0b88;
}
IL_0a62:
{
V_0 = ((int32_t)154);
goto IL_0b88;
}
IL_0a6d:
{
V_0 = ((int32_t)158);
goto IL_0b88;
}
IL_0a78:
{
V_0 = ((int32_t)151);
goto IL_0b88;
}
IL_0a83:
{
V_0 = ((int32_t)150);
goto IL_0b88;
}
IL_0a8e:
{
V_0 = ((int32_t)135);
goto IL_0b88;
}
IL_0a99:
{
V_0 = ((int32_t)128);
goto IL_0b88;
}
IL_0aa4:
{
V_0 = ((int32_t)129);
goto IL_0b88;
}
IL_0aaf:
{
V_0 = ((int32_t)130);
goto IL_0b88;
}
IL_0aba:
{
V_0 = ((int32_t)22);
goto IL_0b88;
}
IL_0ac2:
{
V_0 = ((int32_t)30);
goto IL_0b88;
}
IL_0aca:
{
V_0 = ((int32_t)16);
goto IL_0b88;
}
IL_0ad2:
{
V_0 = ((int32_t)31);
goto IL_0b88;
}
IL_0ada:
{
V_0 = ((int32_t)17);
goto IL_0b88;
}
IL_0ae2:
{
V_0 = ((int32_t)9);
goto IL_0b88;
}
IL_0aea:
{
V_0 = 8;
goto IL_0b88;
}
IL_0af1:
{
V_0 = ((int32_t)10);
goto IL_0b88;
}
IL_0af9:
{
V_0 = 1;
goto IL_0b88;
}
IL_0b00:
{
V_0 = 2;
goto IL_0b88;
}
IL_0b07:
{
V_0 = ((int32_t)15);
goto IL_0b88;
}
IL_0b0c:
{
V_0 = ((int32_t)12);
goto IL_0b88;
}
IL_0b11:
{
V_0 = ((int32_t)11);
goto IL_0b88;
}
IL_0b16:
{
V_0 = 6;
goto IL_0b88;
}
IL_0b1a:
{
V_0 = 5;
goto IL_0b88;
}
IL_0b1e:
{
V_0 = 3;
goto IL_0b88;
}
IL_0b22:
{
V_0 = 4;
goto IL_0b88;
}
IL_0b26:
{
V_0 = ((int32_t)13);
goto IL_0b88;
}
IL_0b2b:
{
V_0 = ((int32_t)14);
goto IL_0b88;
}
IL_0b30:
{
V_0 = ((int32_t)131);
goto IL_0b88;
}
IL_0b38:
{
V_0 = ((int32_t)27);
goto IL_0b88;
}
IL_0b3d:
{
V_0 = ((int32_t)24);
goto IL_0b88;
}
IL_0b42:
{
V_0 = ((int32_t)26);
goto IL_0b88;
}
IL_0b47:
{
V_0 = ((int32_t)25);
goto IL_0b88;
}
IL_0b4c:
{
V_0 = ((int32_t)9);
goto IL_0b88;
}
IL_0b51:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) < ((int32_t)((int32_t)65281))))
{
goto IL_0b6b;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) > ((int32_t)((int32_t)65374))))
{
goto IL_0b6b;
}
}
{
int32_t L_67 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_67, (int32_t)((int32_t)65248)));
goto IL_0b88;
}
IL_0b6b:
{
Il2CppChar* L_68 = ___chars0;
uint8_t* L_69 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_68, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_69, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_70 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_70, (int32_t)1));
int32_t L_71 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_71, (int32_t)1));
goto IL_0ba6;
}
IL_0b88:
{
uint8_t* L_72 = ___bytes2;
if ((((intptr_t)L_72) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0b93;
}
}
{
uint8_t* L_73 = ___bytes2;
int32_t L_74 = V_2;
int32_t L_75 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_73, (int32_t)L_74)))) = (int8_t)(((int32_t)((uint8_t)L_75)));
}
IL_0b93:
{
int32_t L_76 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_76, (int32_t)1));
int32_t L_77 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_77, (int32_t)1));
int32_t L_78 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)1));
int32_t L_79 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_79, (int32_t)1));
}
IL_0ba6:
{
int32_t L_80 = ___charCount1;
if ((((int32_t)L_80) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_81 = V_2;
return L_81;
}
}
// System.Void I18N.West.CP28592::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP28592__cctor_m2479705516 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28592__cctor_m2479705516_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____A394B4578F1DC8407FC72C0514F23F5AE4EDEBA8_10_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP28592_t3519602206_StaticFields*)il2cpp_codegen_static_fields_for(CP28592_t3519602206_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP28593::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28593__ctor_m1724258889 (CP28593_t3519602207 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28593__ctor_m1724258889_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28593_t3519602207_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP28593_t3519602207_StaticFields*)il2cpp_codegen_static_fields_for(CP28593_t3519602207_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)28593), L_0, _stringLiteral738504473, _stringLiteral287538494, _stringLiteral287538494, _stringLiteral287538494, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)28593), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP28593::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28593_GetByteCountImpl_m535572573 (CP28593_t3519602207 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP28593::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28593_GetByteCount_m972693908 (CP28593_t3519602207 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP28593::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP28593_ToBytes_m2661625239 (CP28593_t3519602207 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28593_ToBytes_m2661625239_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP28593_ToBytes_m2661625239_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP28593::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28593_GetBytesImpl_m2732152247 (CP28593_t3519602207 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0471;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)161))))
{
goto IL_0453;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)365))))
{
goto IL_02c8;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)351))))
{
goto IL_02ad;
}
}
{
int32_t L_5 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)163))))
{
case 0:
{
goto IL_0453;
}
case 1:
{
goto IL_0453;
}
case 2:
{
goto IL_041c;
}
case 3:
{
goto IL_041c;
}
case 4:
{
goto IL_0453;
}
case 5:
{
goto IL_0453;
}
case 6:
{
goto IL_041c;
}
case 7:
{
goto IL_041c;
}
case 8:
{
goto IL_041c;
}
case 9:
{
goto IL_041c;
}
case 10:
{
goto IL_0453;
}
case 11:
{
goto IL_041c;
}
case 12:
{
goto IL_041c;
}
case 13:
{
goto IL_0453;
}
case 14:
{
goto IL_041c;
}
case 15:
{
goto IL_0453;
}
case 16:
{
goto IL_0453;
}
case 17:
{
goto IL_0453;
}
case 18:
{
goto IL_0453;
}
case 19:
{
goto IL_041c;
}
case 20:
{
goto IL_0453;
}
case 21:
{
goto IL_0453;
}
case 22:
{
goto IL_041c;
}
case 23:
{
goto IL_041c;
}
case 24:
{
goto IL_041c;
}
case 25:
{
goto IL_041c;
}
case 26:
{
goto IL_0453;
}
case 27:
{
goto IL_041c;
}
case 28:
{
goto IL_041c;
}
case 29:
{
goto IL_0453;
}
case 30:
{
goto IL_0453;
}
case 31:
{
goto IL_0453;
}
case 32:
{
goto IL_041c;
}
case 33:
{
goto IL_0453;
}
case 34:
{
goto IL_041c;
}
case 35:
{
goto IL_041c;
}
case 36:
{
goto IL_0453;
}
case 37:
{
goto IL_0453;
}
case 38:
{
goto IL_0453;
}
case 39:
{
goto IL_0453;
}
case 40:
{
goto IL_0453;
}
case 41:
{
goto IL_0453;
}
case 42:
{
goto IL_0453;
}
case 43:
{
goto IL_0453;
}
case 44:
{
goto IL_0453;
}
case 45:
{
goto IL_041c;
}
case 46:
{
goto IL_0453;
}
case 47:
{
goto IL_0453;
}
case 48:
{
goto IL_0453;
}
case 49:
{
goto IL_0453;
}
case 50:
{
goto IL_041c;
}
case 51:
{
goto IL_0453;
}
case 52:
{
goto IL_0453;
}
case 53:
{
goto IL_041c;
}
case 54:
{
goto IL_0453;
}
case 55:
{
goto IL_0453;
}
case 56:
{
goto IL_0453;
}
case 57:
{
goto IL_0453;
}
case 58:
{
goto IL_041c;
}
case 59:
{
goto IL_041c;
}
case 60:
{
goto IL_0453;
}
case 61:
{
goto IL_0453;
}
case 62:
{
goto IL_0453;
}
case 63:
{
goto IL_0453;
}
case 64:
{
goto IL_041c;
}
case 65:
{
goto IL_0453;
}
case 66:
{
goto IL_041c;
}
case 67:
{
goto IL_041c;
}
case 68:
{
goto IL_0453;
}
case 69:
{
goto IL_0453;
}
case 70:
{
goto IL_0453;
}
case 71:
{
goto IL_0453;
}
case 72:
{
goto IL_0453;
}
case 73:
{
goto IL_0453;
}
case 74:
{
goto IL_0453;
}
case 75:
{
goto IL_0453;
}
case 76:
{
goto IL_0453;
}
case 77:
{
goto IL_041c;
}
case 78:
{
goto IL_0453;
}
case 79:
{
goto IL_0453;
}
case 80:
{
goto IL_0453;
}
case 81:
{
goto IL_0453;
}
case 82:
{
goto IL_041c;
}
case 83:
{
goto IL_0453;
}
case 84:
{
goto IL_0453;
}
case 85:
{
goto IL_041c;
}
case 86:
{
goto IL_0453;
}
case 87:
{
goto IL_0453;
}
case 88:
{
goto IL_0453;
}
case 89:
{
goto IL_0453;
}
case 90:
{
goto IL_041c;
}
case 91:
{
goto IL_041c;
}
case 92:
{
goto IL_041c;
}
case 93:
{
goto IL_041c;
}
case 94:
{
goto IL_041c;
}
case 95:
{
goto IL_041c;
}
case 96:
{
goto IL_041c;
}
case 97:
{
goto IL_041c;
}
case 98:
{
goto IL_041c;
}
case 99:
{
goto IL_041c;
}
case 100:
{
goto IL_041c;
}
case 101:
{
goto IL_0306;
}
case 102:
{
goto IL_0311;
}
case 103:
{
goto IL_031c;
}
case 104:
{
goto IL_0327;
}
case 105:
{
goto IL_041c;
}
case 106:
{
goto IL_041c;
}
case 107:
{
goto IL_041c;
}
case 108:
{
goto IL_041c;
}
case 109:
{
goto IL_041c;
}
case 110:
{
goto IL_041c;
}
case 111:
{
goto IL_041c;
}
case 112:
{
goto IL_041c;
}
case 113:
{
goto IL_041c;
}
case 114:
{
goto IL_041c;
}
case 115:
{
goto IL_041c;
}
case 116:
{
goto IL_041c;
}
case 117:
{
goto IL_041c;
}
case 118:
{
goto IL_041c;
}
case 119:
{
goto IL_041c;
}
case 120:
{
goto IL_041c;
}
case 121:
{
goto IL_0332;
}
case 122:
{
goto IL_033d;
}
case 123:
{
goto IL_0348;
}
case 124:
{
goto IL_0353;
}
case 125:
{
goto IL_035e;
}
case 126:
{
goto IL_0369;
}
case 127:
{
goto IL_041c;
}
case 128:
{
goto IL_041c;
}
case 129:
{
goto IL_0374;
}
case 130:
{
goto IL_037f;
}
case 131:
{
goto IL_038a;
}
case 132:
{
goto IL_0395;
}
case 133:
{
goto IL_041c;
}
case 134:
{
goto IL_041c;
}
case 135:
{
goto IL_041c;
}
case 136:
{
goto IL_041c;
}
case 137:
{
goto IL_041c;
}
case 138:
{
goto IL_041c;
}
case 139:
{
goto IL_041c;
}
case 140:
{
goto IL_041c;
}
case 141:
{
goto IL_03a0;
}
case 142:
{
goto IL_03ab;
}
case 143:
{
goto IL_041c;
}
case 144:
{
goto IL_041c;
}
case 145:
{
goto IL_03b6;
}
case 146:
{
goto IL_03c1;
}
}
}
{
int32_t L_6 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)348))))
{
case 0:
{
goto IL_03cc;
}
case 1:
{
goto IL_03d4;
}
case 2:
{
goto IL_03dc;
}
case 3:
{
goto IL_03e4;
}
}
}
{
goto IL_041c;
}
IL_02ad:
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)364))))
{
goto IL_03ec;
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)365))))
{
goto IL_03f4;
}
}
{
goto IL_041c;
}
IL_02c8:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)380))))
{
goto IL_02eb;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)379))))
{
goto IL_03fc;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)380))))
{
goto IL_0404;
}
}
{
goto IL_041c;
}
IL_02eb:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)728))))
{
goto IL_040c;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)729))))
{
goto IL_0414;
}
}
{
goto IL_041c;
}
IL_0306:
{
V_0 = ((int32_t)198);
goto IL_0453;
}
IL_0311:
{
V_0 = ((int32_t)230);
goto IL_0453;
}
IL_031c:
{
V_0 = ((int32_t)197);
goto IL_0453;
}
IL_0327:
{
V_0 = ((int32_t)229);
goto IL_0453;
}
IL_0332:
{
V_0 = ((int32_t)216);
goto IL_0453;
}
IL_033d:
{
V_0 = ((int32_t)248);
goto IL_0453;
}
IL_0348:
{
V_0 = ((int32_t)171);
goto IL_0453;
}
IL_0353:
{
V_0 = ((int32_t)187);
goto IL_0453;
}
IL_035e:
{
V_0 = ((int32_t)213);
goto IL_0453;
}
IL_0369:
{
V_0 = ((int32_t)245);
goto IL_0453;
}
IL_0374:
{
V_0 = ((int32_t)166);
goto IL_0453;
}
IL_037f:
{
V_0 = ((int32_t)182);
goto IL_0453;
}
IL_038a:
{
V_0 = ((int32_t)161);
goto IL_0453;
}
IL_0395:
{
V_0 = ((int32_t)177);
goto IL_0453;
}
IL_03a0:
{
V_0 = ((int32_t)169);
goto IL_0453;
}
IL_03ab:
{
V_0 = ((int32_t)185);
goto IL_0453;
}
IL_03b6:
{
V_0 = ((int32_t)172);
goto IL_0453;
}
IL_03c1:
{
V_0 = ((int32_t)188);
goto IL_0453;
}
IL_03cc:
{
V_0 = ((int32_t)222);
goto IL_0453;
}
IL_03d4:
{
V_0 = ((int32_t)254);
goto IL_0453;
}
IL_03dc:
{
V_0 = ((int32_t)170);
goto IL_0453;
}
IL_03e4:
{
V_0 = ((int32_t)186);
goto IL_0453;
}
IL_03ec:
{
V_0 = ((int32_t)221);
goto IL_0453;
}
IL_03f4:
{
V_0 = ((int32_t)253);
goto IL_0453;
}
IL_03fc:
{
V_0 = ((int32_t)175);
goto IL_0453;
}
IL_0404:
{
V_0 = ((int32_t)191);
goto IL_0453;
}
IL_040c:
{
V_0 = ((int32_t)162);
goto IL_0453;
}
IL_0414:
{
V_0 = ((int32_t)255);
goto IL_0453;
}
IL_041c:
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) < ((int32_t)((int32_t)65281))))
{
goto IL_0436;
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) > ((int32_t)((int32_t)65374))))
{
goto IL_0436;
}
}
{
int32_t L_16 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)65248)));
goto IL_0453;
}
IL_0436:
{
Il2CppChar* L_17 = ___chars0;
uint8_t* L_18 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_17, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_18, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
int32_t L_20 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1));
goto IL_0471;
}
IL_0453:
{
uint8_t* L_21 = ___bytes2;
if ((((intptr_t)L_21) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_045e;
}
}
{
uint8_t* L_22 = ___bytes2;
int32_t L_23 = V_2;
int32_t L_24 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_22, (int32_t)L_23)))) = (int8_t)(((int32_t)((uint8_t)L_24)));
}
IL_045e:
{
int32_t L_25 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
int32_t L_26 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)1));
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
int32_t L_28 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_28, (int32_t)1));
}
IL_0471:
{
int32_t L_29 = ___charCount1;
if ((((int32_t)L_29) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_30 = V_2;
return L_30;
}
}
// System.Void I18N.West.CP28593::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP28593__cctor_m3521028743 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28593__cctor_m3521028743_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____B676CC7861A57EFB9BD0D7BEA61CD8E2484C57ED_11_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP28593_t3519602207_StaticFields*)il2cpp_codegen_static_fields_for(CP28593_t3519602207_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP28597::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28597__ctor_m3177839837 (CP28597_t3519602203 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28597__ctor_m3177839837_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28597_t3519602203_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP28597_t3519602203_StaticFields*)il2cpp_codegen_static_fields_for(CP28597_t3519602203_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)28597), L_0, _stringLiteral1127016572, _stringLiteral287800638, _stringLiteral287800638, _stringLiteral287800638, (bool)1, (bool)1, (bool)1, (bool)1, ((int32_t)1253), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP28597::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28597_GetByteCountImpl_m1834467057 (CP28597_t3519602203 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP28597::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28597_GetByteCount_m1419163125 (CP28597_t3519602203 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP28597::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP28597_ToBytes_m1627223541 (CP28597_t3519602203 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28597_ToBytes_m1627223541_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP28597_ToBytes_m1627223541_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP28597::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28597_GetBytesImpl_m4259092689 (CP28597_t3519602203 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_02c0;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)161))))
{
goto IL_02a2;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)981))))
{
goto IL_01f3;
}
}
{
int32_t L_4 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)163))))
{
case 0:
{
goto IL_02a2;
}
case 1:
{
goto IL_026b;
}
case 2:
{
goto IL_026b;
}
case 3:
{
goto IL_02a2;
}
case 4:
{
goto IL_02a2;
}
case 5:
{
goto IL_02a2;
}
case 6:
{
goto IL_02a2;
}
case 7:
{
goto IL_026b;
}
case 8:
{
goto IL_02a2;
}
case 9:
{
goto IL_02a2;
}
case 10:
{
goto IL_02a2;
}
case 11:
{
goto IL_026b;
}
case 12:
{
goto IL_026b;
}
case 13:
{
goto IL_02a2;
}
case 14:
{
goto IL_02a2;
}
case 15:
{
goto IL_02a2;
}
case 16:
{
goto IL_02a2;
}
case 17:
{
goto IL_02a2;
}
case 18:
{
goto IL_026b;
}
case 19:
{
goto IL_026b;
}
case 20:
{
goto IL_02a2;
}
case 21:
{
goto IL_026b;
}
case 22:
{
goto IL_026b;
}
case 23:
{
goto IL_026b;
}
case 24:
{
goto IL_02a2;
}
case 25:
{
goto IL_026b;
}
case 26:
{
goto IL_02a2;
}
}
}
{
int32_t L_5 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)901))))
{
case 0:
{
goto IL_021d;
}
case 1:
{
goto IL_021d;
}
case 2:
{
goto IL_021d;
}
case 3:
{
goto IL_021d;
}
case 4:
{
goto IL_021d;
}
case 5:
{
goto IL_021d;
}
case 6:
{
goto IL_026b;
}
case 7:
{
goto IL_0227;
}
case 8:
{
goto IL_026b;
}
case 9:
{
goto IL_022f;
}
case 10:
{
goto IL_022f;
}
case 11:
{
goto IL_022f;
}
case 12:
{
goto IL_022f;
}
case 13:
{
goto IL_022f;
}
case 14:
{
goto IL_022f;
}
case 15:
{
goto IL_022f;
}
case 16:
{
goto IL_022f;
}
case 17:
{
goto IL_022f;
}
case 18:
{
goto IL_022f;
}
case 19:
{
goto IL_022f;
}
case 20:
{
goto IL_022f;
}
case 21:
{
goto IL_022f;
}
case 22:
{
goto IL_022f;
}
case 23:
{
goto IL_022f;
}
case 24:
{
goto IL_022f;
}
case 25:
{
goto IL_022f;
}
case 26:
{
goto IL_022f;
}
case 27:
{
goto IL_022f;
}
case 28:
{
goto IL_022f;
}
case 29:
{
goto IL_026b;
}
case 30:
{
goto IL_0239;
}
case 31:
{
goto IL_0239;
}
case 32:
{
goto IL_0239;
}
case 33:
{
goto IL_0239;
}
case 34:
{
goto IL_0239;
}
case 35:
{
goto IL_0239;
}
case 36:
{
goto IL_0239;
}
case 37:
{
goto IL_0239;
}
case 38:
{
goto IL_0239;
}
case 39:
{
goto IL_0239;
}
case 40:
{
goto IL_0239;
}
case 41:
{
goto IL_0239;
}
case 42:
{
goto IL_0239;
}
case 43:
{
goto IL_0239;
}
case 44:
{
goto IL_0239;
}
case 45:
{
goto IL_0239;
}
case 46:
{
goto IL_0239;
}
case 47:
{
goto IL_0239;
}
case 48:
{
goto IL_0239;
}
case 49:
{
goto IL_0239;
}
case 50:
{
goto IL_0239;
}
case 51:
{
goto IL_0239;
}
case 52:
{
goto IL_0239;
}
case 53:
{
goto IL_0239;
}
case 54:
{
goto IL_0239;
}
case 55:
{
goto IL_0239;
}
case 56:
{
goto IL_0239;
}
case 57:
{
goto IL_0239;
}
case 58:
{
goto IL_0239;
}
case 59:
{
goto IL_0239;
}
case 60:
{
goto IL_0239;
}
case 61:
{
goto IL_0239;
}
case 62:
{
goto IL_0239;
}
case 63:
{
goto IL_0239;
}
case 64:
{
goto IL_0239;
}
case 65:
{
goto IL_0239;
}
case 66:
{
goto IL_0239;
}
case 67:
{
goto IL_0239;
}
case 68:
{
goto IL_0239;
}
case 69:
{
goto IL_0239;
}
case 70:
{
goto IL_0239;
}
case 71:
{
goto IL_0239;
}
case 72:
{
goto IL_0239;
}
case 73:
{
goto IL_0239;
}
case 74:
{
goto IL_026b;
}
case 75:
{
goto IL_026b;
}
case 76:
{
goto IL_026b;
}
case 77:
{
goto IL_026b;
}
case 78:
{
goto IL_026b;
}
case 79:
{
goto IL_026b;
}
case 80:
{
goto IL_0243;
}
}
}
{
goto IL_026b;
}
IL_01f3:
{
int32_t L_6 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)8213))))
{
case 0:
{
goto IL_024b;
}
case 1:
{
goto IL_026b;
}
case 2:
{
goto IL_026b;
}
case 3:
{
goto IL_0253;
}
case 4:
{
goto IL_025b;
}
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)8364))))
{
goto IL_0263;
}
}
{
goto IL_026b;
}
IL_021d:
{
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)720)));
goto IL_02a2;
}
IL_0227:
{
V_0 = ((int32_t)188);
goto IL_02a2;
}
IL_022f:
{
int32_t L_9 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)720)));
goto IL_02a2;
}
IL_0239:
{
int32_t L_10 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)720)));
goto IL_02a2;
}
IL_0243:
{
V_0 = ((int32_t)246);
goto IL_02a2;
}
IL_024b:
{
V_0 = ((int32_t)175);
goto IL_02a2;
}
IL_0253:
{
V_0 = ((int32_t)161);
goto IL_02a2;
}
IL_025b:
{
V_0 = ((int32_t)162);
goto IL_02a2;
}
IL_0263:
{
V_0 = ((int32_t)164);
goto IL_02a2;
}
IL_026b:
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) < ((int32_t)((int32_t)65281))))
{
goto IL_0285;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)65374))))
{
goto IL_0285;
}
}
{
int32_t L_13 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)((int32_t)65248)));
goto IL_02a2;
}
IL_0285:
{
Il2CppChar* L_14 = ___chars0;
uint8_t* L_15 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_14, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_15, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_16 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
int32_t L_17 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)1));
goto IL_02c0;
}
IL_02a2:
{
uint8_t* L_18 = ___bytes2;
if ((((intptr_t)L_18) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_02ad;
}
}
{
uint8_t* L_19 = ___bytes2;
int32_t L_20 = V_2;
int32_t L_21 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_19, (int32_t)L_20)))) = (int8_t)(((int32_t)((uint8_t)L_21)));
}
IL_02ad:
{
int32_t L_22 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
int32_t L_23 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)1));
int32_t L_24 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)1));
int32_t L_25 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1));
}
IL_02c0:
{
int32_t L_26 = ___charCount1;
if ((((int32_t)L_26) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_27 = V_2;
return L_27;
}
}
// System.Void I18N.West.CP28597::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP28597__cctor_m679642395 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28597__cctor_m679642395_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____E11338F644FF140C0E23D8B7526DB4D2D73FC3F7_13_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP28597_t3519602203_StaticFields*)il2cpp_codegen_static_fields_for(CP28597_t3519602203_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP28605::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP28605__ctor_m3830061296 (CP28605_t1600022914 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28605__ctor_m3830061296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28605_t1600022914_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP28605_t1600022914_StaticFields*)il2cpp_codegen_static_fields_for(CP28605_t1600022914_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)28605), L_0, _stringLiteral1316450907, _stringLiteral3826640113, _stringLiteral3826640113, _stringLiteral3826640113, (bool)0, (bool)1, (bool)1, (bool)1, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP28605::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28605_GetByteCountImpl_m3468275740 (CP28605_t1600022914 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP28605::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28605_GetByteCount_m4117613923 (CP28605_t1600022914 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP28605::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP28605_ToBytes_m202961327 (CP28605_t1600022914 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28605_ToBytes_m202961327_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP28605_ToBytes_m202961327_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP28605::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP28605_GetBytesImpl_m2317869089 (CP28605_t1600022914 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0294;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)164))))
{
goto IL_0276;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)352))))
{
goto IL_01cb;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)338))))
{
goto IL_01b9;
}
}
{
int32_t L_5 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)165))))
{
case 0:
{
goto IL_0276;
}
case 1:
{
goto IL_023f;
}
case 2:
{
goto IL_0276;
}
case 3:
{
goto IL_023f;
}
case 4:
{
goto IL_0276;
}
case 5:
{
goto IL_0276;
}
case 6:
{
goto IL_0276;
}
case 7:
{
goto IL_0276;
}
case 8:
{
goto IL_0276;
}
case 9:
{
goto IL_0276;
}
case 10:
{
goto IL_0276;
}
case 11:
{
goto IL_0276;
}
case 12:
{
goto IL_0276;
}
case 13:
{
goto IL_0276;
}
case 14:
{
goto IL_0276;
}
case 15:
{
goto IL_023f;
}
case 16:
{
goto IL_0276;
}
case 17:
{
goto IL_0276;
}
case 18:
{
goto IL_0276;
}
case 19:
{
goto IL_023f;
}
case 20:
{
goto IL_0276;
}
case 21:
{
goto IL_0276;
}
case 22:
{
goto IL_0276;
}
case 23:
{
goto IL_023f;
}
case 24:
{
goto IL_023f;
}
case 25:
{
goto IL_023f;
}
case 26:
{
goto IL_0276;
}
case 27:
{
goto IL_0276;
}
case 28:
{
goto IL_0276;
}
case 29:
{
goto IL_0276;
}
case 30:
{
goto IL_0276;
}
case 31:
{
goto IL_0276;
}
case 32:
{
goto IL_0276;
}
case 33:
{
goto IL_0276;
}
case 34:
{
goto IL_0276;
}
case 35:
{
goto IL_0276;
}
case 36:
{
goto IL_0276;
}
case 37:
{
goto IL_0276;
}
case 38:
{
goto IL_0276;
}
case 39:
{
goto IL_0276;
}
case 40:
{
goto IL_0276;
}
case 41:
{
goto IL_0276;
}
case 42:
{
goto IL_0276;
}
case 43:
{
goto IL_0276;
}
case 44:
{
goto IL_0276;
}
case 45:
{
goto IL_0276;
}
case 46:
{
goto IL_0276;
}
case 47:
{
goto IL_0276;
}
case 48:
{
goto IL_0276;
}
case 49:
{
goto IL_0276;
}
case 50:
{
goto IL_0276;
}
case 51:
{
goto IL_0276;
}
case 52:
{
goto IL_0276;
}
case 53:
{
goto IL_0276;
}
case 54:
{
goto IL_0276;
}
case 55:
{
goto IL_0276;
}
case 56:
{
goto IL_0276;
}
case 57:
{
goto IL_0276;
}
case 58:
{
goto IL_0276;
}
case 59:
{
goto IL_0276;
}
case 60:
{
goto IL_0276;
}
case 61:
{
goto IL_0276;
}
case 62:
{
goto IL_0276;
}
case 63:
{
goto IL_0276;
}
case 64:
{
goto IL_0276;
}
case 65:
{
goto IL_0276;
}
case 66:
{
goto IL_0276;
}
case 67:
{
goto IL_0276;
}
case 68:
{
goto IL_0276;
}
case 69:
{
goto IL_0276;
}
case 70:
{
goto IL_0276;
}
case 71:
{
goto IL_0276;
}
case 72:
{
goto IL_0276;
}
case 73:
{
goto IL_0276;
}
case 74:
{
goto IL_0276;
}
case 75:
{
goto IL_0276;
}
case 76:
{
goto IL_0276;
}
case 77:
{
goto IL_0276;
}
case 78:
{
goto IL_0276;
}
case 79:
{
goto IL_0276;
}
case 80:
{
goto IL_0276;
}
case 81:
{
goto IL_0276;
}
case 82:
{
goto IL_0276;
}
case 83:
{
goto IL_0276;
}
case 84:
{
goto IL_0276;
}
case 85:
{
goto IL_0276;
}
case 86:
{
goto IL_0276;
}
case 87:
{
goto IL_0276;
}
case 88:
{
goto IL_0276;
}
case 89:
{
goto IL_0276;
}
case 90:
{
goto IL_0276;
}
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)338))))
{
goto IL_01ff;
}
}
{
goto IL_023f;
}
IL_01b9:
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)339))))
{
goto IL_0207;
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)352))))
{
goto IL_020f;
}
}
{
goto IL_023f;
}
IL_01cb:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)376))))
{
goto IL_01e5;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)353))))
{
goto IL_0217;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)376))))
{
goto IL_021f;
}
}
{
goto IL_023f;
}
IL_01e5:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)381))))
{
goto IL_0227;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)382))))
{
goto IL_022f;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)8364))))
{
goto IL_0237;
}
}
{
goto IL_023f;
}
IL_01ff:
{
V_0 = ((int32_t)188);
goto IL_0276;
}
IL_0207:
{
V_0 = ((int32_t)189);
goto IL_0276;
}
IL_020f:
{
V_0 = ((int32_t)166);
goto IL_0276;
}
IL_0217:
{
V_0 = ((int32_t)168);
goto IL_0276;
}
IL_021f:
{
V_0 = ((int32_t)190);
goto IL_0276;
}
IL_0227:
{
V_0 = ((int32_t)180);
goto IL_0276;
}
IL_022f:
{
V_0 = ((int32_t)184);
goto IL_0276;
}
IL_0237:
{
V_0 = ((int32_t)164);
goto IL_0276;
}
IL_023f:
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) < ((int32_t)((int32_t)65281))))
{
goto IL_0259;
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) > ((int32_t)((int32_t)65374))))
{
goto IL_0259;
}
}
{
int32_t L_17 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)((int32_t)65248)));
goto IL_0276;
}
IL_0259:
{
Il2CppChar* L_18 = ___chars0;
uint8_t* L_19 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_18, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_19, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_20 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
int32_t L_21 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)1));
goto IL_0294;
}
IL_0276:
{
uint8_t* L_22 = ___bytes2;
if ((((intptr_t)L_22) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0281;
}
}
{
uint8_t* L_23 = ___bytes2;
int32_t L_24 = V_2;
int32_t L_25 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_23, (int32_t)L_24)))) = (int8_t)(((int32_t)((uint8_t)L_25)));
}
IL_0281:
{
int32_t L_26 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
int32_t L_27 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)1));
int32_t L_28 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
int32_t L_29 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)1));
}
IL_0294:
{
int32_t L_30 = ___charCount1;
if ((((int32_t)L_30) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_31 = V_2;
return L_31;
}
}
// System.Void I18N.West.CP28605::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP28605__cctor_m974363138 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP28605__cctor_m974363138_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____9ACD15FF06BC5A9B676BDBD6BFF4025F9CCE845D_9_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP28605_t1600022914_StaticFields*)il2cpp_codegen_static_fields_for(CP28605_t1600022914_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP437::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP437__ctor_m2326238033 (CP437_t3683438768 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP437__ctor_m2326238033_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP437_t3683438768_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP437_t3683438768_StaticFields*)il2cpp_codegen_static_fields_for(CP437_t3683438768_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)437), L_0, _stringLiteral1897605313, _stringLiteral3559409385, _stringLiteral3559409385, _stringLiteral3559409385, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP437::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP437_GetByteCountImpl_m3988085719 (CP437_t3683438768 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP437::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP437_GetByteCount_m805045098 (CP437_t3683438768 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP437::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP437_ToBytes_m2085014260 (CP437_t3683438768 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP437_ToBytes_m2085014260_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP437_ToBytes_m2085014260_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP437::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP437_GetBytesImpl_m34724243 (CP437_t3683438768 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_2316;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)128))))
{
goto IL_22f8;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)8962))))
{
goto IL_0d9a;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)8240))))
{
goto IL_0a70;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)894))))
{
goto IL_08bb;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)732))))
{
goto IL_0835;
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) > ((int32_t)((int32_t)700))))
{
goto IL_07e6;
}
}
{
int32_t L_8 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)160))))
{
case 0:
{
goto IL_119f;
}
case 1:
{
goto IL_11aa;
}
case 2:
{
goto IL_11b5;
}
case 3:
{
goto IL_11c0;
}
case 4:
{
goto IL_11cb;
}
case 5:
{
goto IL_11d3;
}
case 6:
{
goto IL_11de;
}
case 7:
{
goto IL_11e9;
}
case 8:
{
goto IL_11f1;
}
case 9:
{
goto IL_11f9;
}
case 10:
{
goto IL_1201;
}
case 11:
{
goto IL_120c;
}
case 12:
{
goto IL_1217;
}
case 13:
{
goto IL_1222;
}
case 14:
{
goto IL_122a;
}
case 15:
{
goto IL_1232;
}
case 16:
{
goto IL_123a;
}
case 17:
{
goto IL_1245;
}
case 18:
{
goto IL_1250;
}
case 19:
{
goto IL_125b;
}
case 20:
{
goto IL_1263;
}
case 21:
{
goto IL_126b;
}
case 22:
{
goto IL_1276;
}
case 23:
{
goto IL_127e;
}
case 24:
{
goto IL_1289;
}
case 25:
{
goto IL_1291;
}
case 26:
{
goto IL_1299;
}
case 27:
{
goto IL_12a4;
}
case 28:
{
goto IL_12af;
}
case 29:
{
goto IL_12ba;
}
case 30:
{
goto IL_12c5;
}
case 31:
{
goto IL_12cd;
}
case 32:
{
goto IL_12d8;
}
case 33:
{
goto IL_12e0;
}
case 34:
{
goto IL_12e8;
}
case 35:
{
goto IL_12f0;
}
case 36:
{
goto IL_12f8;
}
case 37:
{
goto IL_1303;
}
case 38:
{
goto IL_130e;
}
case 39:
{
goto IL_1319;
}
case 40:
{
goto IL_1324;
}
case 41:
{
goto IL_132c;
}
case 42:
{
goto IL_1337;
}
case 43:
{
goto IL_133f;
}
case 44:
{
goto IL_1347;
}
case 45:
{
goto IL_134f;
}
case 46:
{
goto IL_1357;
}
case 47:
{
goto IL_135f;
}
case 48:
{
goto IL_1367;
}
case 49:
{
goto IL_136f;
}
case 50:
{
goto IL_137a;
}
case 51:
{
goto IL_1382;
}
case 52:
{
goto IL_138a;
}
case 53:
{
goto IL_1392;
}
case 54:
{
goto IL_139a;
}
case 55:
{
goto IL_13a5;
}
case 56:
{
goto IL_13ad;
}
case 57:
{
goto IL_13b5;
}
case 58:
{
goto IL_13bd;
}
case 59:
{
goto IL_13c5;
}
case 60:
{
goto IL_13cd;
}
case 61:
{
goto IL_13d8;
}
case 62:
{
goto IL_13e0;
}
case 63:
{
goto IL_13e8;
}
case 64:
{
goto IL_13f3;
}
case 65:
{
goto IL_13fe;
}
case 66:
{
goto IL_1409;
}
case 67:
{
goto IL_1414;
}
case 68:
{
goto IL_141c;
}
case 69:
{
goto IL_1427;
}
case 70:
{
goto IL_1432;
}
case 71:
{
goto IL_143d;
}
case 72:
{
goto IL_1448;
}
case 73:
{
goto IL_1453;
}
case 74:
{
goto IL_145e;
}
case 75:
{
goto IL_1469;
}
case 76:
{
goto IL_1474;
}
case 77:
{
goto IL_147f;
}
case 78:
{
goto IL_148a;
}
case 79:
{
goto IL_1495;
}
case 80:
{
goto IL_14a0;
}
case 81:
{
goto IL_14a8;
}
case 82:
{
goto IL_14b3;
}
case 83:
{
goto IL_14be;
}
case 84:
{
goto IL_14c9;
}
case 85:
{
goto IL_14d4;
}
case 86:
{
goto IL_14dc;
}
case 87:
{
goto IL_14e7;
}
case 88:
{
goto IL_14f2;
}
case 89:
{
goto IL_14fa;
}
case 90:
{
goto IL_1505;
}
case 91:
{
goto IL_1510;
}
case 92:
{
goto IL_151b;
}
case 93:
{
goto IL_1526;
}
case 94:
{
goto IL_152e;
}
case 95:
{
goto IL_1536;
}
case 96:
{
goto IL_1541;
}
case 97:
{
goto IL_1549;
}
case 98:
{
goto IL_1551;
}
case 99:
{
goto IL_1559;
}
case 100:
{
goto IL_1561;
}
case 101:
{
goto IL_1569;
}
case 102:
{
goto IL_1571;
}
case 103:
{
goto IL_1579;
}
case 104:
{
goto IL_1581;
}
case 105:
{
goto IL_1589;
}
case 106:
{
goto IL_1591;
}
case 107:
{
goto IL_1599;
}
case 108:
{
goto IL_15a1;
}
case 109:
{
goto IL_15a9;
}
case 110:
{
goto IL_15b1;
}
case 111:
{
goto IL_15b9;
}
case 112:
{
goto IL_15c1;
}
case 113:
{
goto IL_15c9;
}
case 114:
{
goto IL_15d1;
}
case 115:
{
goto IL_15d9;
}
case 116:
{
goto IL_15e1;
}
case 117:
{
goto IL_15e9;
}
case 118:
{
goto IL_15f1;
}
case 119:
{
goto IL_15f9;
}
case 120:
{
goto IL_1601;
}
case 121:
{
goto IL_1609;
}
case 122:
{
goto IL_1611;
}
case 123:
{
goto IL_1619;
}
case 124:
{
goto IL_1621;
}
case 125:
{
goto IL_1629;
}
case 126:
{
goto IL_1631;
}
case 127:
{
goto IL_1639;
}
case 128:
{
goto IL_1641;
}
case 129:
{
goto IL_1649;
}
case 130:
{
goto IL_1651;
}
case 131:
{
goto IL_1659;
}
case 132:
{
goto IL_1661;
}
case 133:
{
goto IL_1669;
}
case 134:
{
goto IL_1671;
}
case 135:
{
goto IL_1679;
}
case 136:
{
goto IL_1681;
}
case 137:
{
goto IL_1689;
}
case 138:
{
goto IL_1691;
}
case 139:
{
goto IL_1699;
}
case 140:
{
goto IL_16a1;
}
case 141:
{
goto IL_16a9;
}
case 142:
{
goto IL_16b1;
}
case 143:
{
goto IL_16b9;
}
case 144:
{
goto IL_16c1;
}
case 145:
{
goto IL_16c9;
}
case 146:
{
goto IL_22db;
}
case 147:
{
goto IL_22db;
}
case 148:
{
goto IL_16d1;
}
case 149:
{
goto IL_16d9;
}
case 150:
{
goto IL_16e1;
}
case 151:
{
goto IL_16e9;
}
case 152:
{
goto IL_22db;
}
case 153:
{
goto IL_16f1;
}
case 154:
{
goto IL_16f9;
}
case 155:
{
goto IL_1701;
}
case 156:
{
goto IL_1709;
}
case 157:
{
goto IL_1711;
}
case 158:
{
goto IL_1719;
}
case 159:
{
goto IL_22db;
}
case 160:
{
goto IL_22db;
}
case 161:
{
goto IL_1721;
}
case 162:
{
goto IL_1729;
}
case 163:
{
goto IL_1731;
}
case 164:
{
goto IL_1739;
}
case 165:
{
goto IL_1741;
}
case 166:
{
goto IL_1749;
}
case 167:
{
goto IL_1751;
}
case 168:
{
goto IL_1759;
}
case 169:
{
goto IL_22db;
}
case 170:
{
goto IL_22db;
}
case 171:
{
goto IL_22db;
}
case 172:
{
goto IL_1761;
}
case 173:
{
goto IL_1769;
}
case 174:
{
goto IL_1771;
}
case 175:
{
goto IL_1779;
}
case 176:
{
goto IL_1781;
}
case 177:
{
goto IL_1789;
}
case 178:
{
goto IL_1791;
}
case 179:
{
goto IL_1799;
}
case 180:
{
goto IL_17a1;
}
case 181:
{
goto IL_17a9;
}
case 182:
{
goto IL_17b1;
}
case 183:
{
goto IL_17b9;
}
case 184:
{
goto IL_17c1;
}
case 185:
{
goto IL_17c9;
}
case 186:
{
goto IL_17d1;
}
case 187:
{
goto IL_17d9;
}
case 188:
{
goto IL_17e1;
}
case 189:
{
goto IL_17e9;
}
case 190:
{
goto IL_17f1;
}
case 191:
{
goto IL_17f9;
}
case 192:
{
goto IL_1801;
}
case 193:
{
goto IL_1809;
}
case 194:
{
goto IL_1811;
}
case 195:
{
goto IL_1819;
}
case 196:
{
goto IL_1821;
}
case 197:
{
goto IL_1829;
}
case 198:
{
goto IL_1831;
}
case 199:
{
goto IL_1839;
}
case 200:
{
goto IL_1841;
}
case 201:
{
goto IL_1849;
}
case 202:
{
goto IL_1851;
}
case 203:
{
goto IL_1859;
}
case 204:
{
goto IL_1861;
}
case 205:
{
goto IL_1869;
}
case 206:
{
goto IL_1871;
}
case 207:
{
goto IL_1879;
}
case 208:
{
goto IL_1881;
}
case 209:
{
goto IL_1889;
}
case 210:
{
goto IL_1891;
}
case 211:
{
goto IL_1899;
}
case 212:
{
goto IL_18a1;
}
case 213:
{
goto IL_18a9;
}
case 214:
{
goto IL_18b1;
}
case 215:
{
goto IL_18b9;
}
case 216:
{
goto IL_18c1;
}
case 217:
{
goto IL_18c9;
}
case 218:
{
goto IL_18d1;
}
case 219:
{
goto IL_18d9;
}
case 220:
{
goto IL_18e1;
}
case 221:
{
goto IL_18e9;
}
case 222:
{
goto IL_18f1;
}
case 223:
{
goto IL_22db;
}
case 224:
{
goto IL_18f9;
}
case 225:
{
goto IL_22db;
}
case 226:
{
goto IL_22db;
}
case 227:
{
goto IL_22db;
}
case 228:
{
goto IL_22db;
}
case 229:
{
goto IL_22db;
}
case 230:
{
goto IL_22db;
}
case 231:
{
goto IL_22db;
}
case 232:
{
goto IL_22db;
}
case 233:
{
goto IL_1901;
}
case 234:
{
goto IL_22db;
}
case 235:
{
goto IL_22db;
}
case 236:
{
goto IL_22db;
}
case 237:
{
goto IL_22db;
}
case 238:
{
goto IL_22db;
}
case 239:
{
goto IL_22db;
}
case 240:
{
goto IL_22db;
}
case 241:
{
goto IL_1909;
}
case 242:
{
goto IL_1914;
}
case 243:
{
goto IL_22db;
}
case 244:
{
goto IL_22db;
}
case 245:
{
goto IL_22db;
}
case 246:
{
goto IL_22db;
}
case 247:
{
goto IL_191f;
}
case 248:
{
goto IL_22db;
}
case 249:
{
goto IL_22db;
}
case 250:
{
goto IL_1927;
}
case 251:
{
goto IL_22db;
}
case 252:
{
goto IL_22db;
}
case 253:
{
goto IL_22db;
}
case 254:
{
goto IL_22db;
}
case 255:
{
goto IL_192f;
}
case 256:
{
goto IL_1937;
}
case 257:
{
goto IL_193f;
}
case 258:
{
goto IL_22db;
}
case 259:
{
goto IL_22db;
}
case 260:
{
goto IL_22db;
}
case 261:
{
goto IL_22db;
}
case 262:
{
goto IL_22db;
}
case 263:
{
goto IL_22db;
}
case 264:
{
goto IL_22db;
}
case 265:
{
goto IL_1947;
}
case 266:
{
goto IL_22db;
}
case 267:
{
goto IL_1952;
}
case 268:
{
goto IL_22db;
}
case 269:
{
goto IL_22db;
}
case 270:
{
goto IL_195a;
}
case 271:
{
goto IL_1962;
}
case 272:
{
goto IL_196a;
}
case 273:
{
goto IL_22db;
}
case 274:
{
goto IL_22db;
}
case 275:
{
goto IL_22db;
}
case 276:
{
goto IL_22db;
}
case 277:
{
goto IL_22db;
}
case 278:
{
goto IL_1972;
}
case 279:
{
goto IL_22db;
}
case 280:
{
goto IL_22db;
}
case 281:
{
goto IL_22db;
}
case 282:
{
goto IL_22db;
}
case 283:
{
goto IL_22db;
}
case 284:
{
goto IL_22db;
}
case 285:
{
goto IL_22db;
}
case 286:
{
goto IL_22db;
}
case 287:
{
goto IL_22db;
}
case 288:
{
goto IL_197a;
}
case 289:
{
goto IL_22db;
}
case 290:
{
goto IL_22db;
}
case 291:
{
goto IL_1982;
}
case 292:
{
goto IL_22db;
}
case 293:
{
goto IL_22db;
}
case 294:
{
goto IL_22db;
}
case 295:
{
goto IL_22db;
}
case 296:
{
goto IL_22db;
}
case 297:
{
goto IL_22db;
}
case 298:
{
goto IL_22db;
}
case 299:
{
goto IL_22db;
}
case 300:
{
goto IL_22db;
}
case 301:
{
goto IL_198a;
}
case 302:
{
goto IL_1992;
}
case 303:
{
goto IL_199a;
}
case 304:
{
goto IL_19a2;
}
case 305:
{
goto IL_19aa;
}
case 306:
{
goto IL_19b2;
}
case 307:
{
goto IL_19ba;
}
case 308:
{
goto IL_19c2;
}
case 309:
{
goto IL_19ca;
}
case 310:
{
goto IL_19d2;
}
case 311:
{
goto IL_19da;
}
case 312:
{
goto IL_19e2;
}
case 313:
{
goto IL_19ea;
}
case 314:
{
goto IL_19f2;
}
case 315:
{
goto IL_19fa;
}
case 316:
{
goto IL_1a02;
}
case 317:
{
goto IL_22db;
}
case 318:
{
goto IL_1a0a;
}
case 319:
{
goto IL_1a12;
}
case 320:
{
goto IL_22db;
}
case 321:
{
goto IL_22db;
}
case 322:
{
goto IL_22db;
}
case 323:
{
goto IL_22db;
}
case 324:
{
goto IL_1a1a;
}
case 325:
{
goto IL_1a22;
}
case 326:
{
goto IL_1a2a;
}
case 327:
{
goto IL_1a32;
}
case 328:
{
goto IL_1a3a;
}
case 329:
{
goto IL_1a42;
}
case 330:
{
goto IL_1a4a;
}
case 331:
{
goto IL_1a52;
}
case 332:
{
goto IL_1a5a;
}
case 333:
{
goto IL_1a62;
}
case 334:
{
goto IL_22db;
}
case 335:
{
goto IL_22db;
}
case 336:
{
goto IL_1a6a;
}
case 337:
{
goto IL_22db;
}
case 338:
{
goto IL_22db;
}
case 339:
{
goto IL_22db;
}
case 340:
{
goto IL_22db;
}
case 341:
{
goto IL_22db;
}
case 342:
{
goto IL_22db;
}
case 343:
{
goto IL_22db;
}
case 344:
{
goto IL_22db;
}
case 345:
{
goto IL_22db;
}
case 346:
{
goto IL_22db;
}
case 347:
{
goto IL_22db;
}
case 348:
{
goto IL_22db;
}
case 349:
{
goto IL_22db;
}
case 350:
{
goto IL_22db;
}
case 351:
{
goto IL_22db;
}
case 352:
{
goto IL_22db;
}
case 353:
{
goto IL_22db;
}
case 354:
{
goto IL_22db;
}
case 355:
{
goto IL_22db;
}
case 356:
{
goto IL_22db;
}
case 357:
{
goto IL_22db;
}
case 358:
{
goto IL_22db;
}
case 359:
{
goto IL_22db;
}
case 360:
{
goto IL_22db;
}
case 361:
{
goto IL_22db;
}
case 362:
{
goto IL_22db;
}
case 363:
{
goto IL_22db;
}
case 364:
{
goto IL_22db;
}
case 365:
{
goto IL_22db;
}
case 366:
{
goto IL_22db;
}
case 367:
{
goto IL_22db;
}
case 368:
{
goto IL_22db;
}
case 369:
{
goto IL_22db;
}
case 370:
{
goto IL_22db;
}
case 371:
{
goto IL_22db;
}
case 372:
{
goto IL_22db;
}
case 373:
{
goto IL_22db;
}
case 374:
{
goto IL_22db;
}
case 375:
{
goto IL_22db;
}
case 376:
{
goto IL_22db;
}
case 377:
{
goto IL_22db;
}
case 378:
{
goto IL_22db;
}
case 379:
{
goto IL_22db;
}
case 380:
{
goto IL_22db;
}
case 381:
{
goto IL_22db;
}
case 382:
{
goto IL_22db;
}
case 383:
{
goto IL_22db;
}
case 384:
{
goto IL_22db;
}
case 385:
{
goto IL_22db;
}
case 386:
{
goto IL_22db;
}
case 387:
{
goto IL_22db;
}
case 388:
{
goto IL_22db;
}
case 389:
{
goto IL_22db;
}
case 390:
{
goto IL_22db;
}
case 391:
{
goto IL_22db;
}
case 392:
{
goto IL_22db;
}
case 393:
{
goto IL_22db;
}
case 394:
{
goto IL_22db;
}
case 395:
{
goto IL_22db;
}
case 396:
{
goto IL_22db;
}
case 397:
{
goto IL_22db;
}
case 398:
{
goto IL_22db;
}
case 399:
{
goto IL_22db;
}
case 400:
{
goto IL_22db;
}
case 401:
{
goto IL_22db;
}
case 402:
{
goto IL_22db;
}
case 403:
{
goto IL_22db;
}
case 404:
{
goto IL_22db;
}
case 405:
{
goto IL_22db;
}
case 406:
{
goto IL_22db;
}
case 407:
{
goto IL_22db;
}
case 408:
{
goto IL_22db;
}
case 409:
{
goto IL_22db;
}
case 410:
{
goto IL_22db;
}
case 411:
{
goto IL_22db;
}
case 412:
{
goto IL_22db;
}
case 413:
{
goto IL_22db;
}
case 414:
{
goto IL_22db;
}
case 415:
{
goto IL_22db;
}
case 416:
{
goto IL_22db;
}
case 417:
{
goto IL_22db;
}
case 418:
{
goto IL_22db;
}
case 419:
{
goto IL_22db;
}
case 420:
{
goto IL_22db;
}
case 421:
{
goto IL_22db;
}
case 422:
{
goto IL_22db;
}
case 423:
{
goto IL_22db;
}
case 424:
{
goto IL_22db;
}
case 425:
{
goto IL_22db;
}
case 426:
{
goto IL_22db;
}
case 427:
{
goto IL_22db;
}
case 428:
{
goto IL_22db;
}
case 429:
{
goto IL_22db;
}
case 430:
{
goto IL_22db;
}
case 431:
{
goto IL_22db;
}
case 432:
{
goto IL_22db;
}
case 433:
{
goto IL_22db;
}
case 434:
{
goto IL_22db;
}
case 435:
{
goto IL_22db;
}
case 436:
{
goto IL_22db;
}
case 437:
{
goto IL_22db;
}
case 438:
{
goto IL_22db;
}
case 439:
{
goto IL_22db;
}
case 440:
{
goto IL_22db;
}
case 441:
{
goto IL_22db;
}
case 442:
{
goto IL_22db;
}
case 443:
{
goto IL_22db;
}
case 444:
{
goto IL_22db;
}
case 445:
{
goto IL_22db;
}
case 446:
{
goto IL_22db;
}
case 447:
{
goto IL_22db;
}
case 448:
{
goto IL_22db;
}
case 449:
{
goto IL_1a72;
}
case 450:
{
goto IL_22db;
}
case 451:
{
goto IL_22db;
}
case 452:
{
goto IL_22db;
}
case 453:
{
goto IL_22db;
}
case 454:
{
goto IL_22db;
}
case 455:
{
goto IL_22db;
}
case 456:
{
goto IL_22db;
}
case 457:
{
goto IL_22db;
}
case 458:
{
goto IL_22db;
}
case 459:
{
goto IL_22db;
}
case 460:
{
goto IL_22db;
}
case 461:
{
goto IL_22db;
}
case 462:
{
goto IL_22db;
}
case 463:
{
goto IL_22db;
}
case 464:
{
goto IL_22db;
}
case 465:
{
goto IL_22db;
}
case 466:
{
goto IL_22db;
}
case 467:
{
goto IL_22db;
}
case 468:
{
goto IL_22db;
}
case 469:
{
goto IL_22db;
}
case 470:
{
goto IL_22db;
}
case 471:
{
goto IL_22db;
}
case 472:
{
goto IL_1a7a;
}
}
}
{
int32_t L_9 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)697))))
{
case 0:
{
goto IL_1a85;
}
case 1:
{
goto IL_1a8d;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1a95;
}
}
}
{
goto IL_22db;
}
IL_07e6:
{
int32_t L_10 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)708))))
{
case 0:
{
goto IL_1a9d;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_1aa5;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_1aad;
}
case 5:
{
goto IL_1ab5;
}
case 6:
{
goto IL_1ac0;
}
case 7:
{
goto IL_1ac8;
}
case 8:
{
goto IL_22db;
}
case 9:
{
goto IL_1ad0;
}
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)730))))
{
goto IL_1ad8;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)732))))
{
goto IL_1ae3;
}
}
{
goto IL_22db;
}
IL_0835:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)807))))
{
goto IL_0895;
}
}
{
int32_t L_14 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)((int32_t)768))))
{
case 0:
{
goto IL_1aeb;
}
case 1:
{
goto IL_1af3;
}
case 2:
{
goto IL_1afb;
}
case 3:
{
goto IL_1b03;
}
case 4:
{
goto IL_1b0b;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_22db;
}
case 7:
{
goto IL_22db;
}
case 8:
{
goto IL_1b16;
}
case 9:
{
goto IL_22db;
}
case 10:
{
goto IL_1b1e;
}
case 11:
{
goto IL_22db;
}
case 12:
{
goto IL_22db;
}
case 13:
{
goto IL_22db;
}
case 14:
{
goto IL_1b29;
}
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)807))))
{
goto IL_1b31;
}
}
{
goto IL_22db;
}
IL_0895:
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)817))))
{
goto IL_1b39;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)818))))
{
goto IL_1b41;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)894))))
{
goto IL_1b49;
}
}
{
goto IL_22db;
}
IL_08bb:
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) > ((int32_t)((int32_t)956))))
{
goto IL_0962;
}
}
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) > ((int32_t)((int32_t)934))))
{
goto IL_0927;
}
}
{
int32_t L_21 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)((int32_t)913))))
{
case 0:
{
goto IL_1b51;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_1b5c;
}
case 3:
{
goto IL_1b67;
}
case 4:
{
goto IL_1b72;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_22db;
}
case 7:
{
goto IL_1b7d;
}
}
}
{
int32_t L_22 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)((int32_t)928))))
{
case 0:
{
goto IL_1b88;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1b93;
}
case 4:
{
goto IL_1b9e;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_1ba9;
}
}
}
{
goto IL_22db;
}
IL_0927:
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)937))))
{
goto IL_1bb4;
}
}
{
int32_t L_24 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)((int32_t)945))))
{
case 0:
{
goto IL_1bbf;
}
case 1:
{
goto IL_1bca;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1bd5;
}
case 4:
{
goto IL_1be0;
}
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)956))))
{
goto IL_1beb;
}
}
{
goto IL_22db;
}
IL_0962:
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) > ((int32_t)((int32_t)1417))))
{
goto IL_09ad;
}
}
{
int32_t L_27 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)((int32_t)960))))
{
case 0:
{
goto IL_1bf6;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1c01;
}
case 4:
{
goto IL_1c0c;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_1c17;
}
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) == ((int32_t)((int32_t)1211))))
{
goto IL_1c22;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)1417))))
{
goto IL_1c2a;
}
}
{
goto IL_22db;
}
IL_09ad:
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) == ((int32_t)((int32_t)1642))))
{
goto IL_1c32;
}
}
{
int32_t L_31 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)((int32_t)8192))))
{
case 0:
{
goto IL_1c3a;
}
case 1:
{
goto IL_1c42;
}
case 2:
{
goto IL_1c4a;
}
case 3:
{
goto IL_1c52;
}
case 4:
{
goto IL_1c5a;
}
case 5:
{
goto IL_1c62;
}
case 6:
{
goto IL_1c6a;
}
case 7:
{
goto IL_22db;
}
case 8:
{
goto IL_22db;
}
case 9:
{
goto IL_22db;
}
case 10:
{
goto IL_22db;
}
case 11:
{
goto IL_22db;
}
case 12:
{
goto IL_22db;
}
case 13:
{
goto IL_22db;
}
case 14:
{
goto IL_22db;
}
case 15:
{
goto IL_22db;
}
case 16:
{
goto IL_1c72;
}
case 17:
{
goto IL_1c7a;
}
case 18:
{
goto IL_22db;
}
case 19:
{
goto IL_1c82;
}
case 20:
{
goto IL_1c8a;
}
case 21:
{
goto IL_22db;
}
case 22:
{
goto IL_22db;
}
case 23:
{
goto IL_1c92;
}
case 24:
{
goto IL_1c9a;
}
case 25:
{
goto IL_1ca2;
}
case 26:
{
goto IL_1caa;
}
case 27:
{
goto IL_22db;
}
case 28:
{
goto IL_1cb2;
}
case 29:
{
goto IL_1cba;
}
case 30:
{
goto IL_1cc2;
}
case 31:
{
goto IL_22db;
}
case 32:
{
goto IL_1cca;
}
case 33:
{
goto IL_1cd2;
}
case 34:
{
goto IL_1cdd;
}
case 35:
{
goto IL_22db;
}
case 36:
{
goto IL_1ce4;
}
case 37:
{
goto IL_22db;
}
case 38:
{
goto IL_1cef;
}
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)8240))))
{
goto IL_1cf7;
}
}
{
goto IL_22db;
}
IL_0a70:
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) > ((int32_t)((int32_t)8597))))
{
goto IL_0c78;
}
}
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)8329))))
{
goto IL_0b49;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) > ((int32_t)((int32_t)8245))))
{
goto IL_0aa9;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8242))))
{
goto IL_1cff;
}
}
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)8245))))
{
goto IL_1d07;
}
}
{
goto IL_22db;
}
IL_0aa9:
{
int32_t L_38 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)((int32_t)8249))))
{
case 0:
{
goto IL_1d0f;
}
case 1:
{
goto IL_1d17;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1d1f;
}
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) == ((int32_t)((int32_t)8260))))
{
goto IL_1d27;
}
}
{
int32_t L_40 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)((int32_t)8304))))
{
case 0:
{
goto IL_1d2f;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_1d3a;
}
case 5:
{
goto IL_1d3a;
}
case 6:
{
goto IL_1d3a;
}
case 7:
{
goto IL_1d3a;
}
case 8:
{
goto IL_1d3a;
}
case 9:
{
goto IL_22db;
}
case 10:
{
goto IL_22db;
}
case 11:
{
goto IL_22db;
}
case 12:
{
goto IL_22db;
}
case 13:
{
goto IL_22db;
}
case 14:
{
goto IL_22db;
}
case 15:
{
goto IL_1d47;
}
case 16:
{
goto IL_1d52;
}
case 17:
{
goto IL_1d52;
}
case 18:
{
goto IL_1d52;
}
case 19:
{
goto IL_1d52;
}
case 20:
{
goto IL_1d52;
}
case 21:
{
goto IL_1d52;
}
case 22:
{
goto IL_1d52;
}
case 23:
{
goto IL_1d52;
}
case 24:
{
goto IL_1d52;
}
case 25:
{
goto IL_1d52;
}
}
}
{
goto IL_22db;
}
IL_0b49:
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) > ((int32_t)((int32_t)8359))))
{
goto IL_0b6c;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)8356))))
{
goto IL_1d5f;
}
}
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)8359))))
{
goto IL_1d6a;
}
}
{
goto IL_22db;
}
IL_0b6c:
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)8413))))
{
goto IL_1d75;
}
}
{
int32_t L_45 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_45, (int32_t)((int32_t)8450))))
{
case 0:
{
goto IL_1d7d;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_22db;
}
case 5:
{
goto IL_1d85;
}
case 6:
{
goto IL_22db;
}
case 7:
{
goto IL_22db;
}
case 8:
{
goto IL_1d8d;
}
case 9:
{
goto IL_1d95;
}
case 10:
{
goto IL_1d9d;
}
case 11:
{
goto IL_1da5;
}
case 12:
{
goto IL_1dad;
}
case 13:
{
goto IL_22db;
}
case 14:
{
goto IL_1db5;
}
case 15:
{
goto IL_1dbd;
}
case 16:
{
goto IL_1dc5;
}
case 17:
{
goto IL_1dcd;
}
case 18:
{
goto IL_22db;
}
case 19:
{
goto IL_1dd5;
}
case 20:
{
goto IL_22db;
}
case 21:
{
goto IL_22db;
}
case 22:
{
goto IL_1ddd;
}
case 23:
{
goto IL_1de5;
}
case 24:
{
goto IL_1ded;
}
case 25:
{
goto IL_1df5;
}
case 26:
{
goto IL_1dfd;
}
case 27:
{
goto IL_1e05;
}
case 28:
{
goto IL_22db;
}
case 29:
{
goto IL_22db;
}
case 30:
{
goto IL_22db;
}
case 31:
{
goto IL_22db;
}
case 32:
{
goto IL_1e0d;
}
case 33:
{
goto IL_22db;
}
case 34:
{
goto IL_1e15;
}
case 35:
{
goto IL_22db;
}
case 36:
{
goto IL_1e1d;
}
case 37:
{
goto IL_22db;
}
case 38:
{
goto IL_1e28;
}
case 39:
{
goto IL_22db;
}
case 40:
{
goto IL_1e30;
}
case 41:
{
goto IL_1e38;
}
case 42:
{
goto IL_1e43;
}
case 43:
{
goto IL_1e4b;
}
case 44:
{
goto IL_1e53;
}
case 45:
{
goto IL_1e5b;
}
case 46:
{
goto IL_1e63;
}
case 47:
{
goto IL_1e6b;
}
case 48:
{
goto IL_22db;
}
case 49:
{
goto IL_1e73;
}
case 50:
{
goto IL_1e7b;
}
}
}
{
int32_t L_46 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_46, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_1e83;
}
case 1:
{
goto IL_1e8b;
}
case 2:
{
goto IL_1e93;
}
case 3:
{
goto IL_1e9b;
}
case 4:
{
goto IL_1ea3;
}
case 5:
{
goto IL_1eab;
}
}
}
{
goto IL_22db;
}
IL_0c78:
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) > ((int32_t)((int32_t)8764))))
{
goto IL_0d31;
}
}
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) > ((int32_t)((int32_t)8709))))
{
goto IL_0ca6;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)8616))))
{
goto IL_1eb3;
}
}
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) == ((int32_t)((int32_t)8709))))
{
goto IL_1ebb;
}
}
{
goto IL_22db;
}
IL_0ca6:
{
int32_t L_51 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)((int32_t)8721))))
{
case 0:
{
goto IL_1ec6;
}
case 1:
{
goto IL_1ed1;
}
case 2:
{
goto IL_1ed9;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_1ee4;
}
case 5:
{
goto IL_1eec;
}
case 6:
{
goto IL_1ef4;
}
case 7:
{
goto IL_1efc;
}
case 8:
{
goto IL_1f07;
}
case 9:
{
goto IL_1f12;
}
case 10:
{
goto IL_22db;
}
case 11:
{
goto IL_22db;
}
case 12:
{
goto IL_22db;
}
case 13:
{
goto IL_1f1d;
}
case 14:
{
goto IL_1f28;
}
case 15:
{
goto IL_22db;
}
case 16:
{
goto IL_22db;
}
case 17:
{
goto IL_22db;
}
case 18:
{
goto IL_1f30;
}
case 19:
{
goto IL_22db;
}
case 20:
{
goto IL_22db;
}
case 21:
{
goto IL_22db;
}
case 22:
{
goto IL_22db;
}
case 23:
{
goto IL_22db;
}
case 24:
{
goto IL_1f38;
}
}
}
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) == ((int32_t)((int32_t)8758))))
{
goto IL_1f43;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)8764))))
{
goto IL_1f4b;
}
}
{
goto IL_22db;
}
IL_0d31:
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) > ((int32_t)((int32_t)8810))))
{
goto IL_0d74;
}
}
{
int32_t L_55 = V_0;
if ((((int32_t)L_55) == ((int32_t)((int32_t)8776))))
{
goto IL_1f53;
}
}
{
int32_t L_56 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_56, (int32_t)((int32_t)8801))))
{
case 0:
{
goto IL_1f5e;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_1f69;
}
case 4:
{
goto IL_1f74;
}
}
}
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) == ((int32_t)((int32_t)8810))))
{
goto IL_1f7f;
}
}
{
goto IL_22db;
}
IL_0d74:
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) == ((int32_t)((int32_t)8811))))
{
goto IL_1f8a;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)8901))))
{
goto IL_1f95;
}
}
{
int32_t L_60 = V_0;
if ((((int32_t)L_60) == ((int32_t)((int32_t)8962))))
{
goto IL_1fa0;
}
}
{
goto IL_22db;
}
IL_0d9a:
{
int32_t L_61 = V_0;
if ((((int32_t)L_61) > ((int32_t)((int32_t)9632))))
{
goto IL_0ff8;
}
}
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) > ((int32_t)((int32_t)9488))))
{
goto IL_0e4a;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) > ((int32_t)((int32_t)9001))))
{
goto IL_0e01;
}
}
{
int32_t L_64 = V_0;
if ((((int32_t)L_64) > ((int32_t)((int32_t)8976))))
{
goto IL_0ddb;
}
}
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) == ((int32_t)((int32_t)8963))))
{
goto IL_1fa8;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) == ((int32_t)((int32_t)8976))))
{
goto IL_1fb0;
}
}
{
goto IL_22db;
}
IL_0ddb:
{
int32_t L_67 = V_0;
if ((((int32_t)L_67) == ((int32_t)((int32_t)8992))))
{
goto IL_1fbb;
}
}
{
int32_t L_68 = V_0;
if ((((int32_t)L_68) == ((int32_t)((int32_t)8993))))
{
goto IL_1fc6;
}
}
{
int32_t L_69 = V_0;
if ((((int32_t)L_69) == ((int32_t)((int32_t)9001))))
{
goto IL_1fd1;
}
}
{
goto IL_22db;
}
IL_0e01:
{
int32_t L_70 = V_0;
if ((((int32_t)L_70) > ((int32_t)((int32_t)9472))))
{
goto IL_0e24;
}
}
{
int32_t L_71 = V_0;
if ((((int32_t)L_71) == ((int32_t)((int32_t)9002))))
{
goto IL_1fd9;
}
}
{
int32_t L_72 = V_0;
if ((((int32_t)L_72) == ((int32_t)((int32_t)9472))))
{
goto IL_1fe1;
}
}
{
goto IL_22db;
}
IL_0e24:
{
int32_t L_73 = V_0;
if ((((int32_t)L_73) == ((int32_t)((int32_t)9474))))
{
goto IL_1fec;
}
}
{
int32_t L_74 = V_0;
if ((((int32_t)L_74) == ((int32_t)((int32_t)9484))))
{
goto IL_1ff7;
}
}
{
int32_t L_75 = V_0;
if ((((int32_t)L_75) == ((int32_t)((int32_t)9488))))
{
goto IL_2002;
}
}
{
goto IL_22db;
}
IL_0e4a:
{
int32_t L_76 = V_0;
if ((((int32_t)L_76) > ((int32_t)((int32_t)9516))))
{
goto IL_0e9b;
}
}
{
int32_t L_77 = V_0;
if ((((int32_t)L_77) > ((int32_t)((int32_t)9496))))
{
goto IL_0e75;
}
}
{
int32_t L_78 = V_0;
if ((((int32_t)L_78) == ((int32_t)((int32_t)9492))))
{
goto IL_200d;
}
}
{
int32_t L_79 = V_0;
if ((((int32_t)L_79) == ((int32_t)((int32_t)9496))))
{
goto IL_2018;
}
}
{
goto IL_22db;
}
IL_0e75:
{
int32_t L_80 = V_0;
if ((((int32_t)L_80) == ((int32_t)((int32_t)9500))))
{
goto IL_2023;
}
}
{
int32_t L_81 = V_0;
if ((((int32_t)L_81) == ((int32_t)((int32_t)9508))))
{
goto IL_202e;
}
}
{
int32_t L_82 = V_0;
if ((((int32_t)L_82) == ((int32_t)((int32_t)9516))))
{
goto IL_2039;
}
}
{
goto IL_22db;
}
IL_0e9b:
{
int32_t L_83 = V_0;
if ((((int32_t)L_83) > ((int32_t)((int32_t)9604))))
{
goto IL_0fb1;
}
}
{
int32_t L_84 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_84, (int32_t)((int32_t)9524))))
{
case 0:
{
goto IL_2044;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_22db;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_22db;
}
case 7:
{
goto IL_22db;
}
case 8:
{
goto IL_204f;
}
case 9:
{
goto IL_22db;
}
case 10:
{
goto IL_22db;
}
case 11:
{
goto IL_22db;
}
case 12:
{
goto IL_22db;
}
case 13:
{
goto IL_22db;
}
case 14:
{
goto IL_22db;
}
case 15:
{
goto IL_22db;
}
case 16:
{
goto IL_22db;
}
case 17:
{
goto IL_22db;
}
case 18:
{
goto IL_22db;
}
case 19:
{
goto IL_22db;
}
case 20:
{
goto IL_22db;
}
case 21:
{
goto IL_22db;
}
case 22:
{
goto IL_22db;
}
case 23:
{
goto IL_22db;
}
case 24:
{
goto IL_22db;
}
case 25:
{
goto IL_22db;
}
case 26:
{
goto IL_22db;
}
case 27:
{
goto IL_22db;
}
case 28:
{
goto IL_205a;
}
case 29:
{
goto IL_2065;
}
case 30:
{
goto IL_2070;
}
case 31:
{
goto IL_207b;
}
case 32:
{
goto IL_2086;
}
case 33:
{
goto IL_2091;
}
case 34:
{
goto IL_209c;
}
case 35:
{
goto IL_20a7;
}
case 36:
{
goto IL_20b2;
}
case 37:
{
goto IL_20bd;
}
case 38:
{
goto IL_20c8;
}
case 39:
{
goto IL_20d3;
}
case 40:
{
goto IL_20de;
}
case 41:
{
goto IL_20e9;
}
case 42:
{
goto IL_20f4;
}
case 43:
{
goto IL_20ff;
}
case 44:
{
goto IL_210a;
}
case 45:
{
goto IL_2115;
}
case 46:
{
goto IL_2120;
}
case 47:
{
goto IL_212b;
}
case 48:
{
goto IL_2136;
}
case 49:
{
goto IL_2141;
}
case 50:
{
goto IL_214c;
}
case 51:
{
goto IL_2157;
}
case 52:
{
goto IL_2162;
}
case 53:
{
goto IL_216d;
}
case 54:
{
goto IL_2178;
}
case 55:
{
goto IL_2183;
}
case 56:
{
goto IL_218e;
}
}
}
{
int32_t L_85 = V_0;
if ((((int32_t)L_85) == ((int32_t)((int32_t)9600))))
{
goto IL_2199;
}
}
{
int32_t L_86 = V_0;
if ((((int32_t)L_86) == ((int32_t)((int32_t)9604))))
{
goto IL_21a4;
}
}
{
goto IL_22db;
}
IL_0fb1:
{
int32_t L_87 = V_0;
if ((((int32_t)L_87) == ((int32_t)((int32_t)9608))))
{
goto IL_21af;
}
}
{
int32_t L_88 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_88, (int32_t)((int32_t)9612))))
{
case 0:
{
goto IL_21ba;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_21c5;
}
case 5:
{
goto IL_21d0;
}
case 6:
{
goto IL_21db;
}
case 7:
{
goto IL_21e6;
}
}
}
{
int32_t L_89 = V_0;
if ((((int32_t)L_89) == ((int32_t)((int32_t)9632))))
{
goto IL_21f1;
}
}
{
goto IL_22db;
}
IL_0ff8:
{
int32_t L_90 = V_0;
if ((((int32_t)L_90) > ((int32_t)((int32_t)9830))))
{
goto IL_10df;
}
}
{
int32_t L_91 = V_0;
if ((((int32_t)L_91) > ((int32_t)((int32_t)9668))))
{
goto IL_1054;
}
}
{
int32_t L_92 = V_0;
if ((((int32_t)L_92) > ((int32_t)((int32_t)9650))))
{
goto IL_102e;
}
}
{
int32_t L_93 = V_0;
if ((((int32_t)L_93) == ((int32_t)((int32_t)9644))))
{
goto IL_21fc;
}
}
{
int32_t L_94 = V_0;
if ((((int32_t)L_94) == ((int32_t)((int32_t)9650))))
{
goto IL_2204;
}
}
{
goto IL_22db;
}
IL_102e:
{
int32_t L_95 = V_0;
if ((((int32_t)L_95) == ((int32_t)((int32_t)9658))))
{
goto IL_220c;
}
}
{
int32_t L_96 = V_0;
if ((((int32_t)L_96) == ((int32_t)((int32_t)9660))))
{
goto IL_2214;
}
}
{
int32_t L_97 = V_0;
if ((((int32_t)L_97) == ((int32_t)((int32_t)9668))))
{
goto IL_221c;
}
}
{
goto IL_22db;
}
IL_1054:
{
int32_t L_98 = V_0;
if ((((int32_t)L_98) > ((int32_t)((int32_t)9688))))
{
goto IL_1077;
}
}
{
int32_t L_99 = V_0;
if ((((int32_t)L_99) == ((int32_t)((int32_t)9675))))
{
goto IL_2224;
}
}
{
int32_t L_100 = V_0;
if ((((int32_t)L_100) == ((int32_t)((int32_t)9688))))
{
goto IL_222c;
}
}
{
goto IL_22db;
}
IL_1077:
{
int32_t L_101 = V_0;
if ((((int32_t)L_101) == ((int32_t)((int32_t)9689))))
{
goto IL_2233;
}
}
{
int32_t L_102 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_102, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_223b;
}
case 1:
{
goto IL_2242;
}
case 2:
{
goto IL_2249;
}
case 3:
{
goto IL_22db;
}
case 4:
{
goto IL_22db;
}
case 5:
{
goto IL_22db;
}
case 6:
{
goto IL_2251;
}
case 7:
{
goto IL_22db;
}
case 8:
{
goto IL_2259;
}
}
}
{
int32_t L_103 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_103, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_2261;
}
case 1:
{
goto IL_22db;
}
case 2:
{
goto IL_22db;
}
case 3:
{
goto IL_2268;
}
case 4:
{
goto IL_22db;
}
case 5:
{
goto IL_226f;
}
case 6:
{
goto IL_2276;
}
}
}
{
goto IL_22db;
}
IL_10df:
{
int32_t L_104 = V_0;
if ((((int32_t)L_104) > ((int32_t)((int32_t)12288))))
{
goto IL_1130;
}
}
{
int32_t L_105 = V_0;
if ((((int32_t)L_105) > ((int32_t)((int32_t)9835))))
{
goto IL_110a;
}
}
{
int32_t L_106 = V_0;
if ((((int32_t)L_106) == ((int32_t)((int32_t)9834))))
{
goto IL_227a;
}
}
{
int32_t L_107 = V_0;
if ((((int32_t)L_107) == ((int32_t)((int32_t)9835))))
{
goto IL_227f;
}
}
{
goto IL_22db;
}
IL_110a:
{
int32_t L_108 = V_0;
if ((((int32_t)L_108) == ((int32_t)((int32_t)10003))))
{
goto IL_2284;
}
}
{
int32_t L_109 = V_0;
if ((((int32_t)L_109) == ((int32_t)((int32_t)10072))))
{
goto IL_228c;
}
}
{
int32_t L_110 = V_0;
if ((((int32_t)L_110) == ((int32_t)((int32_t)12288))))
{
goto IL_2291;
}
}
{
goto IL_22db;
}
IL_1130:
{
int32_t L_111 = V_0;
if ((((int32_t)L_111) > ((int32_t)((int32_t)12315))))
{
goto IL_1173;
}
}
{
int32_t L_112 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_112, (int32_t)((int32_t)12295))))
{
case 0:
{
goto IL_2296;
}
case 1:
{
goto IL_229b;
}
case 2:
{
goto IL_22a0;
}
case 3:
{
goto IL_22a5;
}
case 4:
{
goto IL_22ad;
}
}
}
{
int32_t L_113 = V_0;
if ((((int32_t)L_113) == ((int32_t)((int32_t)12314))))
{
goto IL_22b5;
}
}
{
int32_t L_114 = V_0;
if ((((int32_t)L_114) == ((int32_t)((int32_t)12315))))
{
goto IL_22ba;
}
}
{
goto IL_22db;
}
IL_1173:
{
int32_t L_115 = V_0;
if ((((int32_t)L_115) == ((int32_t)((int32_t)12539))))
{
goto IL_22bf;
}
}
{
int32_t L_116 = V_0;
if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_116, (int32_t)((int32_t)65281)))) > ((uint32_t)((int32_t)29)))))
{
goto IL_22c7;
}
}
{
int32_t L_117 = V_0;
if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_117, (int32_t)((int32_t)65312)))) > ((uint32_t)((int32_t)62)))))
{
goto IL_22d1;
}
}
{
goto IL_22db;
}
IL_119f:
{
V_0 = ((int32_t)255);
goto IL_22f8;
}
IL_11aa:
{
V_0 = ((int32_t)173);
goto IL_22f8;
}
IL_11b5:
{
V_0 = ((int32_t)155);
goto IL_22f8;
}
IL_11c0:
{
V_0 = ((int32_t)156);
goto IL_22f8;
}
IL_11cb:
{
V_0 = ((int32_t)15);
goto IL_22f8;
}
IL_11d3:
{
V_0 = ((int32_t)157);
goto IL_22f8;
}
IL_11de:
{
V_0 = ((int32_t)221);
goto IL_22f8;
}
IL_11e9:
{
V_0 = ((int32_t)21);
goto IL_22f8;
}
IL_11f1:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_11f9:
{
V_0 = ((int32_t)99);
goto IL_22f8;
}
IL_1201:
{
V_0 = ((int32_t)166);
goto IL_22f8;
}
IL_120c:
{
V_0 = ((int32_t)174);
goto IL_22f8;
}
IL_1217:
{
V_0 = ((int32_t)170);
goto IL_22f8;
}
IL_1222:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_122a:
{
V_0 = ((int32_t)114);
goto IL_22f8;
}
IL_1232:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_123a:
{
V_0 = ((int32_t)248);
goto IL_22f8;
}
IL_1245:
{
V_0 = ((int32_t)241);
goto IL_22f8;
}
IL_1250:
{
V_0 = ((int32_t)253);
goto IL_22f8;
}
IL_125b:
{
V_0 = ((int32_t)51);
goto IL_22f8;
}
IL_1263:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_126b:
{
V_0 = ((int32_t)230);
goto IL_22f8;
}
IL_1276:
{
V_0 = ((int32_t)20);
goto IL_22f8;
}
IL_127e:
{
V_0 = ((int32_t)250);
goto IL_22f8;
}
IL_1289:
{
V_0 = ((int32_t)44);
goto IL_22f8;
}
IL_1291:
{
V_0 = ((int32_t)49);
goto IL_22f8;
}
IL_1299:
{
V_0 = ((int32_t)167);
goto IL_22f8;
}
IL_12a4:
{
V_0 = ((int32_t)175);
goto IL_22f8;
}
IL_12af:
{
V_0 = ((int32_t)172);
goto IL_22f8;
}
IL_12ba:
{
V_0 = ((int32_t)171);
goto IL_22f8;
}
IL_12c5:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_12cd:
{
V_0 = ((int32_t)168);
goto IL_22f8;
}
IL_12d8:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_12e0:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_12e8:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_12f0:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_12f8:
{
V_0 = ((int32_t)142);
goto IL_22f8;
}
IL_1303:
{
V_0 = ((int32_t)143);
goto IL_22f8;
}
IL_130e:
{
V_0 = ((int32_t)146);
goto IL_22f8;
}
IL_1319:
{
V_0 = ((int32_t)128);
goto IL_22f8;
}
IL_1324:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_132c:
{
V_0 = ((int32_t)144);
goto IL_22f8;
}
IL_1337:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_133f:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_1347:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_134f:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1357:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_135f:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1367:
{
V_0 = ((int32_t)68);
goto IL_22f8;
}
IL_136f:
{
V_0 = ((int32_t)165);
goto IL_22f8;
}
IL_137a:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1382:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_138a:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1392:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_139a:
{
V_0 = ((int32_t)153);
goto IL_22f8;
}
IL_13a5:
{
V_0 = ((int32_t)120);
goto IL_22f8;
}
IL_13ad:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_13b5:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_13bd:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_13c5:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_13cd:
{
V_0 = ((int32_t)154);
goto IL_22f8;
}
IL_13d8:
{
V_0 = ((int32_t)89);
goto IL_22f8;
}
IL_13e0:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_13e8:
{
V_0 = ((int32_t)225);
goto IL_22f8;
}
IL_13f3:
{
V_0 = ((int32_t)133);
goto IL_22f8;
}
IL_13fe:
{
V_0 = ((int32_t)160);
goto IL_22f8;
}
IL_1409:
{
V_0 = ((int32_t)131);
goto IL_22f8;
}
IL_1414:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_141c:
{
V_0 = ((int32_t)132);
goto IL_22f8;
}
IL_1427:
{
V_0 = ((int32_t)134);
goto IL_22f8;
}
IL_1432:
{
V_0 = ((int32_t)145);
goto IL_22f8;
}
IL_143d:
{
V_0 = ((int32_t)135);
goto IL_22f8;
}
IL_1448:
{
V_0 = ((int32_t)138);
goto IL_22f8;
}
IL_1453:
{
V_0 = ((int32_t)130);
goto IL_22f8;
}
IL_145e:
{
V_0 = ((int32_t)136);
goto IL_22f8;
}
IL_1469:
{
V_0 = ((int32_t)137);
goto IL_22f8;
}
IL_1474:
{
V_0 = ((int32_t)141);
goto IL_22f8;
}
IL_147f:
{
V_0 = ((int32_t)161);
goto IL_22f8;
}
IL_148a:
{
V_0 = ((int32_t)140);
goto IL_22f8;
}
IL_1495:
{
V_0 = ((int32_t)139);
goto IL_22f8;
}
IL_14a0:
{
V_0 = ((int32_t)100);
goto IL_22f8;
}
IL_14a8:
{
V_0 = ((int32_t)164);
goto IL_22f8;
}
IL_14b3:
{
V_0 = ((int32_t)149);
goto IL_22f8;
}
IL_14be:
{
V_0 = ((int32_t)162);
goto IL_22f8;
}
IL_14c9:
{
V_0 = ((int32_t)147);
goto IL_22f8;
}
IL_14d4:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_14dc:
{
V_0 = ((int32_t)148);
goto IL_22f8;
}
IL_14e7:
{
V_0 = ((int32_t)246);
goto IL_22f8;
}
IL_14f2:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_14fa:
{
V_0 = ((int32_t)151);
goto IL_22f8;
}
IL_1505:
{
V_0 = ((int32_t)163);
goto IL_22f8;
}
IL_1510:
{
V_0 = ((int32_t)150);
goto IL_22f8;
}
IL_151b:
{
V_0 = ((int32_t)129);
goto IL_22f8;
}
IL_1526:
{
V_0 = ((int32_t)121);
goto IL_22f8;
}
IL_152e:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_1536:
{
V_0 = ((int32_t)152);
goto IL_22f8;
}
IL_1541:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_1549:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_1551:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_1559:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_1561:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_1569:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_1571:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_1579:
{
V_0 = ((int32_t)99);
goto IL_22f8;
}
IL_1581:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_1589:
{
V_0 = ((int32_t)99);
goto IL_22f8;
}
IL_1591:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_1599:
{
V_0 = ((int32_t)99);
goto IL_22f8;
}
IL_15a1:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_15a9:
{
V_0 = ((int32_t)99);
goto IL_22f8;
}
IL_15b1:
{
V_0 = ((int32_t)68);
goto IL_22f8;
}
IL_15b9:
{
V_0 = ((int32_t)100);
goto IL_22f8;
}
IL_15c1:
{
V_0 = ((int32_t)68);
goto IL_22f8;
}
IL_15c9:
{
V_0 = ((int32_t)100);
goto IL_22f8;
}
IL_15d1:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_15d9:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_15e1:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_15e9:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_15f1:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_15f9:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_1601:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_1609:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_1611:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_1619:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_1621:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1629:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1631:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1639:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1641:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1649:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1651:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1659:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1661:
{
V_0 = ((int32_t)72);
goto IL_22f8;
}
IL_1669:
{
V_0 = ((int32_t)104);
goto IL_22f8;
}
IL_1671:
{
V_0 = ((int32_t)72);
goto IL_22f8;
}
IL_1679:
{
V_0 = ((int32_t)104);
goto IL_22f8;
}
IL_1681:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1689:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_1691:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1699:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_16a1:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_16a9:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_16b1:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_16b9:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_16c1:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_16c9:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_16d1:
{
V_0 = ((int32_t)74);
goto IL_22f8;
}
IL_16d9:
{
V_0 = ((int32_t)106);
goto IL_22f8;
}
IL_16e1:
{
V_0 = ((int32_t)75);
goto IL_22f8;
}
IL_16e9:
{
V_0 = ((int32_t)107);
goto IL_22f8;
}
IL_16f1:
{
V_0 = ((int32_t)76);
goto IL_22f8;
}
IL_16f9:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_1701:
{
V_0 = ((int32_t)76);
goto IL_22f8;
}
IL_1709:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_1711:
{
V_0 = ((int32_t)76);
goto IL_22f8;
}
IL_1719:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_1721:
{
V_0 = ((int32_t)76);
goto IL_22f8;
}
IL_1729:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_1731:
{
V_0 = ((int32_t)78);
goto IL_22f8;
}
IL_1739:
{
V_0 = ((int32_t)110);
goto IL_22f8;
}
IL_1741:
{
V_0 = ((int32_t)78);
goto IL_22f8;
}
IL_1749:
{
V_0 = ((int32_t)110);
goto IL_22f8;
}
IL_1751:
{
V_0 = ((int32_t)78);
goto IL_22f8;
}
IL_1759:
{
V_0 = ((int32_t)110);
goto IL_22f8;
}
IL_1761:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1769:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1771:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1779:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1781:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1789:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1791:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1799:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_17a1:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_17a9:
{
V_0 = ((int32_t)114);
goto IL_22f8;
}
IL_17b1:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_17b9:
{
V_0 = ((int32_t)114);
goto IL_22f8;
}
IL_17c1:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_17c9:
{
V_0 = ((int32_t)114);
goto IL_22f8;
}
IL_17d1:
{
V_0 = ((int32_t)83);
goto IL_22f8;
}
IL_17d9:
{
V_0 = ((int32_t)115);
goto IL_22f8;
}
IL_17e1:
{
V_0 = ((int32_t)83);
goto IL_22f8;
}
IL_17e9:
{
V_0 = ((int32_t)115);
goto IL_22f8;
}
IL_17f1:
{
V_0 = ((int32_t)83);
goto IL_22f8;
}
IL_17f9:
{
V_0 = ((int32_t)115);
goto IL_22f8;
}
IL_1801:
{
V_0 = ((int32_t)83);
goto IL_22f8;
}
IL_1809:
{
V_0 = ((int32_t)115);
goto IL_22f8;
}
IL_1811:
{
V_0 = ((int32_t)84);
goto IL_22f8;
}
IL_1819:
{
V_0 = ((int32_t)116);
goto IL_22f8;
}
IL_1821:
{
V_0 = ((int32_t)84);
goto IL_22f8;
}
IL_1829:
{
V_0 = ((int32_t)116);
goto IL_22f8;
}
IL_1831:
{
V_0 = ((int32_t)84);
goto IL_22f8;
}
IL_1839:
{
V_0 = ((int32_t)116);
goto IL_22f8;
}
IL_1841:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1849:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1851:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1859:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1861:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1869:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1871:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1879:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1881:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1889:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1891:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1899:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_18a1:
{
V_0 = ((int32_t)87);
goto IL_22f8;
}
IL_18a9:
{
V_0 = ((int32_t)119);
goto IL_22f8;
}
IL_18b1:
{
V_0 = ((int32_t)89);
goto IL_22f8;
}
IL_18b9:
{
V_0 = ((int32_t)121);
goto IL_22f8;
}
IL_18c1:
{
V_0 = ((int32_t)89);
goto IL_22f8;
}
IL_18c9:
{
V_0 = ((int32_t)90);
goto IL_22f8;
}
IL_18d1:
{
V_0 = ((int32_t)122);
goto IL_22f8;
}
IL_18d9:
{
V_0 = ((int32_t)90);
goto IL_22f8;
}
IL_18e1:
{
V_0 = ((int32_t)122);
goto IL_22f8;
}
IL_18e9:
{
V_0 = ((int32_t)90);
goto IL_22f8;
}
IL_18f1:
{
V_0 = ((int32_t)122);
goto IL_22f8;
}
IL_18f9:
{
V_0 = ((int32_t)98);
goto IL_22f8;
}
IL_1901:
{
V_0 = ((int32_t)68);
goto IL_22f8;
}
IL_1909:
{
V_0 = ((int32_t)159);
goto IL_22f8;
}
IL_1914:
{
V_0 = ((int32_t)159);
goto IL_22f8;
}
IL_191f:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1927:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_192f:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1937:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_193f:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1947:
{
V_0 = ((int32_t)228);
goto IL_22f8;
}
IL_1952:
{
V_0 = ((int32_t)116);
goto IL_22f8;
}
IL_195a:
{
V_0 = ((int32_t)84);
goto IL_22f8;
}
IL_1962:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_196a:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1972:
{
V_0 = ((int32_t)122);
goto IL_22f8;
}
IL_197a:
{
V_0 = ((int32_t)124);
goto IL_22f8;
}
IL_1982:
{
V_0 = ((int32_t)33);
goto IL_22f8;
}
IL_198a:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_1992:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_199a:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_19a2:
{
V_0 = ((int32_t)105);
goto IL_22f8;
}
IL_19aa:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_19b2:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_19ba:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_19c2:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_19ca:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_19d2:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_19da:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_19e2:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_19ea:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_19f2:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_19fa:
{
V_0 = ((int32_t)85);
goto IL_22f8;
}
IL_1a02:
{
V_0 = ((int32_t)117);
goto IL_22f8;
}
IL_1a0a:
{
V_0 = ((int32_t)65);
goto IL_22f8;
}
IL_1a12:
{
V_0 = ((int32_t)97);
goto IL_22f8;
}
IL_1a1a:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1a22:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1a2a:
{
V_0 = ((int32_t)71);
goto IL_22f8;
}
IL_1a32:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1a3a:
{
V_0 = ((int32_t)75);
goto IL_22f8;
}
IL_1a42:
{
V_0 = ((int32_t)107);
goto IL_22f8;
}
IL_1a4a:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1a52:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1a5a:
{
V_0 = ((int32_t)79);
goto IL_22f8;
}
IL_1a62:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1a6a:
{
V_0 = ((int32_t)106);
goto IL_22f8;
}
IL_1a72:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1a7a:
{
V_0 = ((int32_t)237);
goto IL_22f8;
}
IL_1a85:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1a8d:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_1a95:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1a9d:
{
V_0 = ((int32_t)94);
goto IL_22f8;
}
IL_1aa5:
{
V_0 = ((int32_t)94);
goto IL_22f8;
}
IL_1aad:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1ab5:
{
V_0 = ((int32_t)196);
goto IL_22f8;
}
IL_1ac0:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1ac8:
{
V_0 = ((int32_t)96);
goto IL_22f8;
}
IL_1ad0:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_1ad8:
{
V_0 = ((int32_t)248);
goto IL_22f8;
}
IL_1ae3:
{
V_0 = ((int32_t)126);
goto IL_22f8;
}
IL_1aeb:
{
V_0 = ((int32_t)96);
goto IL_22f8;
}
IL_1af3:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1afb:
{
V_0 = ((int32_t)94);
goto IL_22f8;
}
IL_1b03:
{
V_0 = ((int32_t)126);
goto IL_22f8;
}
IL_1b0b:
{
V_0 = ((int32_t)196);
goto IL_22f8;
}
IL_1b16:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_1b1e:
{
V_0 = ((int32_t)248);
goto IL_22f8;
}
IL_1b29:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_1b31:
{
V_0 = ((int32_t)44);
goto IL_22f8;
}
IL_1b39:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_1b41:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_1b49:
{
V_0 = ((int32_t)59);
goto IL_22f8;
}
IL_1b51:
{
V_0 = ((int32_t)224);
goto IL_22f8;
}
IL_1b5c:
{
V_0 = ((int32_t)226);
goto IL_22f8;
}
IL_1b67:
{
V_0 = ((int32_t)235);
goto IL_22f8;
}
IL_1b72:
{
V_0 = ((int32_t)238);
goto IL_22f8;
}
IL_1b7d:
{
V_0 = ((int32_t)233);
goto IL_22f8;
}
IL_1b88:
{
V_0 = ((int32_t)227);
goto IL_22f8;
}
IL_1b93:
{
V_0 = ((int32_t)228);
goto IL_22f8;
}
IL_1b9e:
{
V_0 = ((int32_t)231);
goto IL_22f8;
}
IL_1ba9:
{
V_0 = ((int32_t)232);
goto IL_22f8;
}
IL_1bb4:
{
V_0 = ((int32_t)234);
goto IL_22f8;
}
IL_1bbf:
{
V_0 = ((int32_t)224);
goto IL_22f8;
}
IL_1bca:
{
V_0 = ((int32_t)225);
goto IL_22f8;
}
IL_1bd5:
{
V_0 = ((int32_t)235);
goto IL_22f8;
}
IL_1be0:
{
V_0 = ((int32_t)238);
goto IL_22f8;
}
IL_1beb:
{
V_0 = ((int32_t)230);
goto IL_22f8;
}
IL_1bf6:
{
V_0 = ((int32_t)227);
goto IL_22f8;
}
IL_1c01:
{
V_0 = ((int32_t)229);
goto IL_22f8;
}
IL_1c0c:
{
V_0 = ((int32_t)231);
goto IL_22f8;
}
IL_1c17:
{
V_0 = ((int32_t)237);
goto IL_22f8;
}
IL_1c22:
{
V_0 = ((int32_t)104);
goto IL_22f8;
}
IL_1c2a:
{
V_0 = ((int32_t)58);
goto IL_22f8;
}
IL_1c32:
{
V_0 = ((int32_t)37);
goto IL_22f8;
}
IL_1c3a:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c42:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c4a:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c52:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c5a:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c62:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c6a:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_1c72:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_1c7a:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_1c82:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_1c8a:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_1c92:
{
V_0 = ((int32_t)95);
goto IL_22f8;
}
IL_1c9a:
{
V_0 = ((int32_t)96);
goto IL_22f8;
}
IL_1ca2:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1caa:
{
V_0 = ((int32_t)44);
goto IL_22f8;
}
IL_1cb2:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_1cba:
{
V_0 = ((int32_t)34);
goto IL_22f8;
}
IL_1cc2:
{
V_0 = ((int32_t)44);
goto IL_22f8;
}
IL_1cca:
{
V_0 = ((int32_t)43);
goto IL_22f8;
}
IL_1cd2:
{
V_0 = ((int32_t)216);
goto IL_22f8;
}
IL_1cdd:
{
V_0 = 7;
goto IL_22f8;
}
IL_1ce4:
{
V_0 = ((int32_t)250);
goto IL_22f8;
}
IL_1cef:
{
V_0 = ((int32_t)46);
goto IL_22f8;
}
IL_1cf7:
{
V_0 = ((int32_t)37);
goto IL_22f8;
}
IL_1cff:
{
V_0 = ((int32_t)39);
goto IL_22f8;
}
IL_1d07:
{
V_0 = ((int32_t)96);
goto IL_22f8;
}
IL_1d0f:
{
V_0 = ((int32_t)60);
goto IL_22f8;
}
IL_1d17:
{
V_0 = ((int32_t)62);
goto IL_22f8;
}
IL_1d1f:
{
V_0 = ((int32_t)19);
goto IL_22f8;
}
IL_1d27:
{
V_0 = ((int32_t)47);
goto IL_22f8;
}
IL_1d2f:
{
V_0 = ((int32_t)248);
goto IL_22f8;
}
IL_1d3a:
{
int32_t L_118 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_118, (int32_t)((int32_t)8256)));
goto IL_22f8;
}
IL_1d47:
{
V_0 = ((int32_t)252);
goto IL_22f8;
}
IL_1d52:
{
int32_t L_119 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_119, (int32_t)((int32_t)8272)));
goto IL_22f8;
}
IL_1d5f:
{
V_0 = ((int32_t)156);
goto IL_22f8;
}
IL_1d6a:
{
V_0 = ((int32_t)158);
goto IL_22f8;
}
IL_1d75:
{
V_0 = ((int32_t)9);
goto IL_22f8;
}
IL_1d7d:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_1d85:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_1d8d:
{
V_0 = ((int32_t)103);
goto IL_22f8;
}
IL_1d95:
{
V_0 = ((int32_t)72);
goto IL_22f8;
}
IL_1d9d:
{
V_0 = ((int32_t)72);
goto IL_22f8;
}
IL_1da5:
{
V_0 = ((int32_t)72);
goto IL_22f8;
}
IL_1dad:
{
V_0 = ((int32_t)104);
goto IL_22f8;
}
IL_1db5:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1dbd:
{
V_0 = ((int32_t)73);
goto IL_22f8;
}
IL_1dc5:
{
V_0 = ((int32_t)76);
goto IL_22f8;
}
IL_1dcd:
{
V_0 = ((int32_t)108);
goto IL_22f8;
}
IL_1dd5:
{
V_0 = ((int32_t)78);
goto IL_22f8;
}
IL_1ddd:
{
V_0 = ((int32_t)80);
goto IL_22f8;
}
IL_1de5:
{
V_0 = ((int32_t)80);
goto IL_22f8;
}
IL_1ded:
{
V_0 = ((int32_t)81);
goto IL_22f8;
}
IL_1df5:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_1dfd:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_1e05:
{
V_0 = ((int32_t)82);
goto IL_22f8;
}
IL_1e0d:
{
V_0 = ((int32_t)84);
goto IL_22f8;
}
IL_1e15:
{
V_0 = ((int32_t)90);
goto IL_22f8;
}
IL_1e1d:
{
V_0 = ((int32_t)234);
goto IL_22f8;
}
IL_1e28:
{
V_0 = ((int32_t)90);
goto IL_22f8;
}
IL_1e30:
{
V_0 = ((int32_t)75);
goto IL_22f8;
}
IL_1e38:
{
V_0 = ((int32_t)143);
goto IL_22f8;
}
IL_1e43:
{
V_0 = ((int32_t)66);
goto IL_22f8;
}
IL_1e4b:
{
V_0 = ((int32_t)67);
goto IL_22f8;
}
IL_1e53:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_1e5b:
{
V_0 = ((int32_t)101);
goto IL_22f8;
}
IL_1e63:
{
V_0 = ((int32_t)69);
goto IL_22f8;
}
IL_1e6b:
{
V_0 = ((int32_t)70);
goto IL_22f8;
}
IL_1e73:
{
V_0 = ((int32_t)77);
goto IL_22f8;
}
IL_1e7b:
{
V_0 = ((int32_t)111);
goto IL_22f8;
}
IL_1e83:
{
V_0 = ((int32_t)27);
goto IL_22f8;
}
IL_1e8b:
{
V_0 = ((int32_t)24);
goto IL_22f8;
}
IL_1e93:
{
V_0 = ((int32_t)26);
goto IL_22f8;
}
IL_1e9b:
{
V_0 = ((int32_t)25);
goto IL_22f8;
}
IL_1ea3:
{
V_0 = ((int32_t)29);
goto IL_22f8;
}
IL_1eab:
{
V_0 = ((int32_t)18);
goto IL_22f8;
}
IL_1eb3:
{
V_0 = ((int32_t)23);
goto IL_22f8;
}
IL_1ebb:
{
V_0 = ((int32_t)237);
goto IL_22f8;
}
IL_1ec6:
{
V_0 = ((int32_t)228);
goto IL_22f8;
}
IL_1ed1:
{
V_0 = ((int32_t)45);
goto IL_22f8;
}
IL_1ed9:
{
V_0 = ((int32_t)241);
goto IL_22f8;
}
IL_1ee4:
{
V_0 = ((int32_t)47);
goto IL_22f8;
}
IL_1eec:
{
V_0 = ((int32_t)92);
goto IL_22f8;
}
IL_1ef4:
{
V_0 = ((int32_t)42);
goto IL_22f8;
}
IL_1efc:
{
V_0 = ((int32_t)248);
goto IL_22f8;
}
IL_1f07:
{
V_0 = ((int32_t)249);
goto IL_22f8;
}
IL_1f12:
{
V_0 = ((int32_t)251);
goto IL_22f8;
}
IL_1f1d:
{
V_0 = ((int32_t)236);
goto IL_22f8;
}
IL_1f28:
{
V_0 = ((int32_t)28);
goto IL_22f8;
}
IL_1f30:
{
V_0 = ((int32_t)124);
goto IL_22f8;
}
IL_1f38:
{
V_0 = ((int32_t)239);
goto IL_22f8;
}
IL_1f43:
{
V_0 = ((int32_t)58);
goto IL_22f8;
}
IL_1f4b:
{
V_0 = ((int32_t)126);
goto IL_22f8;
}
IL_1f53:
{
V_0 = ((int32_t)247);
goto IL_22f8;
}
IL_1f5e:
{
V_0 = ((int32_t)240);
goto IL_22f8;
}
IL_1f69:
{
V_0 = ((int32_t)243);
goto IL_22f8;
}
IL_1f74:
{
V_0 = ((int32_t)242);
goto IL_22f8;
}
IL_1f7f:
{
V_0 = ((int32_t)174);
goto IL_22f8;
}
IL_1f8a:
{
V_0 = ((int32_t)175);
goto IL_22f8;
}
IL_1f95:
{
V_0 = ((int32_t)250);
goto IL_22f8;
}
IL_1fa0:
{
V_0 = ((int32_t)127);
goto IL_22f8;
}
IL_1fa8:
{
V_0 = ((int32_t)94);
goto IL_22f8;
}
IL_1fb0:
{
V_0 = ((int32_t)169);
goto IL_22f8;
}
IL_1fbb:
{
V_0 = ((int32_t)244);
goto IL_22f8;
}
IL_1fc6:
{
V_0 = ((int32_t)245);
goto IL_22f8;
}
IL_1fd1:
{
V_0 = ((int32_t)60);
goto IL_22f8;
}
IL_1fd9:
{
V_0 = ((int32_t)62);
goto IL_22f8;
}
IL_1fe1:
{
V_0 = ((int32_t)196);
goto IL_22f8;
}
IL_1fec:
{
V_0 = ((int32_t)179);
goto IL_22f8;
}
IL_1ff7:
{
V_0 = ((int32_t)218);
goto IL_22f8;
}
IL_2002:
{
V_0 = ((int32_t)191);
goto IL_22f8;
}
IL_200d:
{
V_0 = ((int32_t)192);
goto IL_22f8;
}
IL_2018:
{
V_0 = ((int32_t)217);
goto IL_22f8;
}
IL_2023:
{
V_0 = ((int32_t)195);
goto IL_22f8;
}
IL_202e:
{
V_0 = ((int32_t)180);
goto IL_22f8;
}
IL_2039:
{
V_0 = ((int32_t)194);
goto IL_22f8;
}
IL_2044:
{
V_0 = ((int32_t)193);
goto IL_22f8;
}
IL_204f:
{
V_0 = ((int32_t)197);
goto IL_22f8;
}
IL_205a:
{
V_0 = ((int32_t)205);
goto IL_22f8;
}
IL_2065:
{
V_0 = ((int32_t)186);
goto IL_22f8;
}
IL_2070:
{
V_0 = ((int32_t)213);
goto IL_22f8;
}
IL_207b:
{
V_0 = ((int32_t)214);
goto IL_22f8;
}
IL_2086:
{
V_0 = ((int32_t)201);
goto IL_22f8;
}
IL_2091:
{
V_0 = ((int32_t)184);
goto IL_22f8;
}
IL_209c:
{
V_0 = ((int32_t)183);
goto IL_22f8;
}
IL_20a7:
{
V_0 = ((int32_t)187);
goto IL_22f8;
}
IL_20b2:
{
V_0 = ((int32_t)212);
goto IL_22f8;
}
IL_20bd:
{
V_0 = ((int32_t)211);
goto IL_22f8;
}
IL_20c8:
{
V_0 = ((int32_t)200);
goto IL_22f8;
}
IL_20d3:
{
V_0 = ((int32_t)190);
goto IL_22f8;
}
IL_20de:
{
V_0 = ((int32_t)189);
goto IL_22f8;
}
IL_20e9:
{
V_0 = ((int32_t)188);
goto IL_22f8;
}
IL_20f4:
{
V_0 = ((int32_t)198);
goto IL_22f8;
}
IL_20ff:
{
V_0 = ((int32_t)199);
goto IL_22f8;
}
IL_210a:
{
V_0 = ((int32_t)204);
goto IL_22f8;
}
IL_2115:
{
V_0 = ((int32_t)181);
goto IL_22f8;
}
IL_2120:
{
V_0 = ((int32_t)182);
goto IL_22f8;
}
IL_212b:
{
V_0 = ((int32_t)185);
goto IL_22f8;
}
IL_2136:
{
V_0 = ((int32_t)209);
goto IL_22f8;
}
IL_2141:
{
V_0 = ((int32_t)210);
goto IL_22f8;
}
IL_214c:
{
V_0 = ((int32_t)203);
goto IL_22f8;
}
IL_2157:
{
V_0 = ((int32_t)207);
goto IL_22f8;
}
IL_2162:
{
V_0 = ((int32_t)208);
goto IL_22f8;
}
IL_216d:
{
V_0 = ((int32_t)202);
goto IL_22f8;
}
IL_2178:
{
V_0 = ((int32_t)216);
goto IL_22f8;
}
IL_2183:
{
V_0 = ((int32_t)215);
goto IL_22f8;
}
IL_218e:
{
V_0 = ((int32_t)206);
goto IL_22f8;
}
IL_2199:
{
V_0 = ((int32_t)223);
goto IL_22f8;
}
IL_21a4:
{
V_0 = ((int32_t)220);
goto IL_22f8;
}
IL_21af:
{
V_0 = ((int32_t)219);
goto IL_22f8;
}
IL_21ba:
{
V_0 = ((int32_t)221);
goto IL_22f8;
}
IL_21c5:
{
V_0 = ((int32_t)222);
goto IL_22f8;
}
IL_21d0:
{
V_0 = ((int32_t)176);
goto IL_22f8;
}
IL_21db:
{
V_0 = ((int32_t)177);
goto IL_22f8;
}
IL_21e6:
{
V_0 = ((int32_t)178);
goto IL_22f8;
}
IL_21f1:
{
V_0 = ((int32_t)254);
goto IL_22f8;
}
IL_21fc:
{
V_0 = ((int32_t)22);
goto IL_22f8;
}
IL_2204:
{
V_0 = ((int32_t)30);
goto IL_22f8;
}
IL_220c:
{
V_0 = ((int32_t)16);
goto IL_22f8;
}
IL_2214:
{
V_0 = ((int32_t)31);
goto IL_22f8;
}
IL_221c:
{
V_0 = ((int32_t)17);
goto IL_22f8;
}
IL_2224:
{
V_0 = ((int32_t)9);
goto IL_22f8;
}
IL_222c:
{
V_0 = 8;
goto IL_22f8;
}
IL_2233:
{
V_0 = ((int32_t)10);
goto IL_22f8;
}
IL_223b:
{
V_0 = 1;
goto IL_22f8;
}
IL_2242:
{
V_0 = 2;
goto IL_22f8;
}
IL_2249:
{
V_0 = ((int32_t)15);
goto IL_22f8;
}
IL_2251:
{
V_0 = ((int32_t)12);
goto IL_22f8;
}
IL_2259:
{
V_0 = ((int32_t)11);
goto IL_22f8;
}
IL_2261:
{
V_0 = 6;
goto IL_22f8;
}
IL_2268:
{
V_0 = 5;
goto IL_22f8;
}
IL_226f:
{
V_0 = 3;
goto IL_22f8;
}
IL_2276:
{
V_0 = 4;
goto IL_22f8;
}
IL_227a:
{
V_0 = ((int32_t)13);
goto IL_22f8;
}
IL_227f:
{
V_0 = ((int32_t)14);
goto IL_22f8;
}
IL_2284:
{
V_0 = ((int32_t)251);
goto IL_22f8;
}
IL_228c:
{
V_0 = ((int32_t)124);
goto IL_22f8;
}
IL_2291:
{
V_0 = ((int32_t)32);
goto IL_22f8;
}
IL_2296:
{
V_0 = ((int32_t)9);
goto IL_22f8;
}
IL_229b:
{
V_0 = ((int32_t)60);
goto IL_22f8;
}
IL_22a0:
{
V_0 = ((int32_t)62);
goto IL_22f8;
}
IL_22a5:
{
V_0 = ((int32_t)174);
goto IL_22f8;
}
IL_22ad:
{
V_0 = ((int32_t)175);
goto IL_22f8;
}
IL_22b5:
{
V_0 = ((int32_t)91);
goto IL_22f8;
}
IL_22ba:
{
V_0 = ((int32_t)93);
goto IL_22f8;
}
IL_22bf:
{
V_0 = ((int32_t)250);
goto IL_22f8;
}
IL_22c7:
{
int32_t L_120 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_120, (int32_t)((int32_t)65248)));
goto IL_22f8;
}
IL_22d1:
{
int32_t L_121 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_121, (int32_t)((int32_t)65248)));
goto IL_22f8;
}
IL_22db:
{
Il2CppChar* L_122 = ___chars0;
uint8_t* L_123 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_122, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_123, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_124 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_124, (int32_t)1));
int32_t L_125 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_125, (int32_t)1));
goto IL_2316;
}
IL_22f8:
{
uint8_t* L_126 = ___bytes2;
if ((((intptr_t)L_126) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_2303;
}
}
{
uint8_t* L_127 = ___bytes2;
int32_t L_128 = V_2;
int32_t L_129 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_127, (int32_t)L_128)))) = (int8_t)(((int32_t)((uint8_t)L_129)));
}
IL_2303:
{
int32_t L_130 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_130, (int32_t)1));
int32_t L_131 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_131, (int32_t)1));
int32_t L_132 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_132, (int32_t)1));
int32_t L_133 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_133, (int32_t)1));
}
IL_2316:
{
int32_t L_134 = ___charCount1;
if ((((int32_t)L_134) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_135 = V_2;
return L_135;
}
}
// System.Void I18N.West.CP437::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP437__cctor_m2169473896 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP437__cctor_m2169473896_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____7089F9820A6F9CC830909BCD1FAF2EF0A540F348_8_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP437_t3683438768_StaticFields*)il2cpp_codegen_static_fields_for(CP437_t3683438768_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP850::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP850__ctor_m2102303190 (CP850_t1311178993 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP850__ctor_m2102303190_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP850_t1311178993_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP850_t1311178993_StaticFields*)il2cpp_codegen_static_fields_for(CP850_t1311178993_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)850), L_0, _stringLiteral782313540, _stringLiteral2910049891, _stringLiteral2910049891, _stringLiteral2910049891, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP850::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP850_GetByteCountImpl_m2899915759 (CP850_t1311178993 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP850::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP850_GetByteCount_m2150945876 (CP850_t1311178993 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP850::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP850_ToBytes_m3523557065 (CP850_t1311178993 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP850_ToBytes_m3523557065_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP850_ToBytes_m3523557065_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP850::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP850_GetBytesImpl_m3961619136 (CP850_t1311178993 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_106f;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)26))))
{
goto IL_1051;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9562))))
{
goto IL_079c;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)9474))))
{
goto IL_06d7;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)8254))))
{
goto IL_066a;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)8215))))
{
goto IL_0644;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)26))))
{
case 0:
{
goto IL_0973;
}
case 1:
{
goto IL_1051;
}
case 2:
{
goto IL_097b;
}
case 3:
{
goto IL_1051;
}
case 4:
{
goto IL_1051;
}
case 5:
{
goto IL_1051;
}
case 6:
{
goto IL_1051;
}
case 7:
{
goto IL_1051;
}
case 8:
{
goto IL_1051;
}
case 9:
{
goto IL_1051;
}
case 10:
{
goto IL_1051;
}
case 11:
{
goto IL_1051;
}
case 12:
{
goto IL_1051;
}
case 13:
{
goto IL_1051;
}
case 14:
{
goto IL_1051;
}
case 15:
{
goto IL_1051;
}
case 16:
{
goto IL_1051;
}
case 17:
{
goto IL_1051;
}
case 18:
{
goto IL_1051;
}
case 19:
{
goto IL_1051;
}
case 20:
{
goto IL_1051;
}
case 21:
{
goto IL_1051;
}
case 22:
{
goto IL_1051;
}
case 23:
{
goto IL_1051;
}
case 24:
{
goto IL_1051;
}
case 25:
{
goto IL_1051;
}
case 26:
{
goto IL_1051;
}
case 27:
{
goto IL_1051;
}
case 28:
{
goto IL_1051;
}
case 29:
{
goto IL_1051;
}
case 30:
{
goto IL_1051;
}
case 31:
{
goto IL_1051;
}
case 32:
{
goto IL_1051;
}
case 33:
{
goto IL_1051;
}
case 34:
{
goto IL_1051;
}
case 35:
{
goto IL_1051;
}
case 36:
{
goto IL_1051;
}
case 37:
{
goto IL_1051;
}
case 38:
{
goto IL_1051;
}
case 39:
{
goto IL_1051;
}
case 40:
{
goto IL_1051;
}
case 41:
{
goto IL_1051;
}
case 42:
{
goto IL_1051;
}
case 43:
{
goto IL_1051;
}
case 44:
{
goto IL_1051;
}
case 45:
{
goto IL_1051;
}
case 46:
{
goto IL_1051;
}
case 47:
{
goto IL_1051;
}
case 48:
{
goto IL_1051;
}
case 49:
{
goto IL_1051;
}
case 50:
{
goto IL_1051;
}
case 51:
{
goto IL_1051;
}
case 52:
{
goto IL_1051;
}
case 53:
{
goto IL_1051;
}
case 54:
{
goto IL_1051;
}
case 55:
{
goto IL_1051;
}
case 56:
{
goto IL_1051;
}
case 57:
{
goto IL_1051;
}
case 58:
{
goto IL_1051;
}
case 59:
{
goto IL_1051;
}
case 60:
{
goto IL_1051;
}
case 61:
{
goto IL_1051;
}
case 62:
{
goto IL_1051;
}
case 63:
{
goto IL_1051;
}
case 64:
{
goto IL_1051;
}
case 65:
{
goto IL_1051;
}
case 66:
{
goto IL_1051;
}
case 67:
{
goto IL_1051;
}
case 68:
{
goto IL_1051;
}
case 69:
{
goto IL_1051;
}
case 70:
{
goto IL_1051;
}
case 71:
{
goto IL_1051;
}
case 72:
{
goto IL_1051;
}
case 73:
{
goto IL_1051;
}
case 74:
{
goto IL_1051;
}
case 75:
{
goto IL_1051;
}
case 76:
{
goto IL_1051;
}
case 77:
{
goto IL_1051;
}
case 78:
{
goto IL_1051;
}
case 79:
{
goto IL_1051;
}
case 80:
{
goto IL_1051;
}
case 81:
{
goto IL_1051;
}
case 82:
{
goto IL_1051;
}
case 83:
{
goto IL_1051;
}
case 84:
{
goto IL_1051;
}
case 85:
{
goto IL_1051;
}
case 86:
{
goto IL_1051;
}
case 87:
{
goto IL_1051;
}
case 88:
{
goto IL_1051;
}
case 89:
{
goto IL_1051;
}
case 90:
{
goto IL_1051;
}
case 91:
{
goto IL_1051;
}
case 92:
{
goto IL_1051;
}
case 93:
{
goto IL_1051;
}
case 94:
{
goto IL_1051;
}
case 95:
{
goto IL_1051;
}
case 96:
{
goto IL_1051;
}
case 97:
{
goto IL_1051;
}
case 98:
{
goto IL_1051;
}
case 99:
{
goto IL_1051;
}
case 100:
{
goto IL_1051;
}
case 101:
{
goto IL_0983;
}
case 102:
{
goto IL_101a;
}
case 103:
{
goto IL_101a;
}
case 104:
{
goto IL_101a;
}
case 105:
{
goto IL_101a;
}
case 106:
{
goto IL_101a;
}
case 107:
{
goto IL_101a;
}
case 108:
{
goto IL_101a;
}
case 109:
{
goto IL_101a;
}
case 110:
{
goto IL_101a;
}
case 111:
{
goto IL_101a;
}
case 112:
{
goto IL_101a;
}
case 113:
{
goto IL_101a;
}
case 114:
{
goto IL_101a;
}
case 115:
{
goto IL_101a;
}
case 116:
{
goto IL_101a;
}
case 117:
{
goto IL_101a;
}
case 118:
{
goto IL_101a;
}
case 119:
{
goto IL_101a;
}
case 120:
{
goto IL_101a;
}
case 121:
{
goto IL_101a;
}
case 122:
{
goto IL_101a;
}
case 123:
{
goto IL_101a;
}
case 124:
{
goto IL_101a;
}
case 125:
{
goto IL_101a;
}
case 126:
{
goto IL_101a;
}
case 127:
{
goto IL_101a;
}
case 128:
{
goto IL_101a;
}
case 129:
{
goto IL_101a;
}
case 130:
{
goto IL_101a;
}
case 131:
{
goto IL_101a;
}
case 132:
{
goto IL_101a;
}
case 133:
{
goto IL_101a;
}
case 134:
{
goto IL_098b;
}
case 135:
{
goto IL_0996;
}
case 136:
{
goto IL_09a1;
}
case 137:
{
goto IL_09ac;
}
case 138:
{
goto IL_09b7;
}
case 139:
{
goto IL_09c2;
}
case 140:
{
goto IL_09cd;
}
case 141:
{
goto IL_09d8;
}
case 142:
{
goto IL_09e3;
}
case 143:
{
goto IL_09ee;
}
case 144:
{
goto IL_09f9;
}
case 145:
{
goto IL_0a04;
}
case 146:
{
goto IL_0a0f;
}
case 147:
{
goto IL_0a1a;
}
case 148:
{
goto IL_0a25;
}
case 149:
{
goto IL_0a30;
}
case 150:
{
goto IL_0a3b;
}
case 151:
{
goto IL_0a46;
}
case 152:
{
goto IL_0a51;
}
case 153:
{
goto IL_0a5c;
}
case 154:
{
goto IL_0a67;
}
case 155:
{
goto IL_0a72;
}
case 156:
{
goto IL_0a7d;
}
case 157:
{
goto IL_0a88;
}
case 158:
{
goto IL_0a93;
}
case 159:
{
goto IL_0a9e;
}
case 160:
{
goto IL_0aa9;
}
case 161:
{
goto IL_0ab4;
}
case 162:
{
goto IL_0abf;
}
case 163:
{
goto IL_0aca;
}
case 164:
{
goto IL_0ad5;
}
case 165:
{
goto IL_0ae0;
}
case 166:
{
goto IL_0aeb;
}
case 167:
{
goto IL_0af6;
}
case 168:
{
goto IL_0b01;
}
case 169:
{
goto IL_0b0c;
}
case 170:
{
goto IL_0b17;
}
case 171:
{
goto IL_0b22;
}
case 172:
{
goto IL_0b2d;
}
case 173:
{
goto IL_0b38;
}
case 174:
{
goto IL_0b43;
}
case 175:
{
goto IL_0b4e;
}
case 176:
{
goto IL_0b59;
}
case 177:
{
goto IL_0b64;
}
case 178:
{
goto IL_0b6f;
}
case 179:
{
goto IL_0b7a;
}
case 180:
{
goto IL_0b85;
}
case 181:
{
goto IL_0b90;
}
case 182:
{
goto IL_0b9b;
}
case 183:
{
goto IL_0ba6;
}
case 184:
{
goto IL_0bb1;
}
case 185:
{
goto IL_0bbc;
}
case 186:
{
goto IL_0bc7;
}
case 187:
{
goto IL_0bd2;
}
case 188:
{
goto IL_0bdd;
}
case 189:
{
goto IL_0be8;
}
case 190:
{
goto IL_0bf3;
}
case 191:
{
goto IL_0bfe;
}
case 192:
{
goto IL_0c09;
}
case 193:
{
goto IL_0c14;
}
case 194:
{
goto IL_0c1f;
}
case 195:
{
goto IL_0c2a;
}
case 196:
{
goto IL_0c35;
}
case 197:
{
goto IL_0c40;
}
case 198:
{
goto IL_0c4b;
}
case 199:
{
goto IL_0c56;
}
case 200:
{
goto IL_0c61;
}
case 201:
{
goto IL_0c6c;
}
case 202:
{
goto IL_0c77;
}
case 203:
{
goto IL_0c82;
}
case 204:
{
goto IL_0c8d;
}
case 205:
{
goto IL_0c98;
}
case 206:
{
goto IL_0ca3;
}
case 207:
{
goto IL_0cae;
}
case 208:
{
goto IL_0cb9;
}
case 209:
{
goto IL_0cc4;
}
case 210:
{
goto IL_0ccf;
}
case 211:
{
goto IL_0cda;
}
case 212:
{
goto IL_0ce5;
}
case 213:
{
goto IL_0cf0;
}
case 214:
{
goto IL_0cfb;
}
case 215:
{
goto IL_0d06;
}
case 216:
{
goto IL_0d11;
}
case 217:
{
goto IL_0d1c;
}
case 218:
{
goto IL_0d27;
}
case 219:
{
goto IL_0d32;
}
case 220:
{
goto IL_0d3d;
}
case 221:
{
goto IL_0d48;
}
case 222:
{
goto IL_0d53;
}
case 223:
{
goto IL_0d5e;
}
case 224:
{
goto IL_0d69;
}
case 225:
{
goto IL_0d74;
}
case 226:
{
goto IL_0d7f;
}
case 227:
{
goto IL_0d8a;
}
case 228:
{
goto IL_0d95;
}
case 229:
{
goto IL_0da0;
}
case 230:
{
goto IL_101a;
}
case 231:
{
goto IL_101a;
}
case 232:
{
goto IL_101a;
}
case 233:
{
goto IL_101a;
}
case 234:
{
goto IL_101a;
}
case 235:
{
goto IL_101a;
}
case 236:
{
goto IL_101a;
}
case 237:
{
goto IL_101a;
}
case 238:
{
goto IL_101a;
}
case 239:
{
goto IL_101a;
}
case 240:
{
goto IL_101a;
}
case 241:
{
goto IL_101a;
}
case 242:
{
goto IL_101a;
}
case 243:
{
goto IL_101a;
}
case 244:
{
goto IL_101a;
}
case 245:
{
goto IL_101a;
}
case 246:
{
goto IL_0dab;
}
case 247:
{
goto IL_101a;
}
case 248:
{
goto IL_101a;
}
case 249:
{
goto IL_101a;
}
case 250:
{
goto IL_101a;
}
case 251:
{
goto IL_101a;
}
case 252:
{
goto IL_101a;
}
case 253:
{
goto IL_101a;
}
case 254:
{
goto IL_101a;
}
case 255:
{
goto IL_101a;
}
case 256:
{
goto IL_101a;
}
case 257:
{
goto IL_101a;
}
case 258:
{
goto IL_101a;
}
case 259:
{
goto IL_101a;
}
case 260:
{
goto IL_101a;
}
case 261:
{
goto IL_101a;
}
case 262:
{
goto IL_101a;
}
case 263:
{
goto IL_101a;
}
case 264:
{
goto IL_101a;
}
case 265:
{
goto IL_101a;
}
case 266:
{
goto IL_101a;
}
case 267:
{
goto IL_101a;
}
case 268:
{
goto IL_101a;
}
case 269:
{
goto IL_101a;
}
case 270:
{
goto IL_101a;
}
case 271:
{
goto IL_101a;
}
case 272:
{
goto IL_101a;
}
case 273:
{
goto IL_101a;
}
case 274:
{
goto IL_101a;
}
case 275:
{
goto IL_101a;
}
case 276:
{
goto IL_101a;
}
case 277:
{
goto IL_101a;
}
case 278:
{
goto IL_101a;
}
case 279:
{
goto IL_0db6;
}
case 280:
{
goto IL_101a;
}
case 281:
{
goto IL_101a;
}
case 282:
{
goto IL_101a;
}
case 283:
{
goto IL_101a;
}
case 284:
{
goto IL_101a;
}
case 285:
{
goto IL_101a;
}
case 286:
{
goto IL_101a;
}
case 287:
{
goto IL_101a;
}
case 288:
{
goto IL_101a;
}
case 289:
{
goto IL_101a;
}
case 290:
{
goto IL_101a;
}
case 291:
{
goto IL_101a;
}
case 292:
{
goto IL_101a;
}
case 293:
{
goto IL_101a;
}
case 294:
{
goto IL_101a;
}
case 295:
{
goto IL_101a;
}
case 296:
{
goto IL_101a;
}
case 297:
{
goto IL_101a;
}
case 298:
{
goto IL_101a;
}
case 299:
{
goto IL_101a;
}
case 300:
{
goto IL_101a;
}
case 301:
{
goto IL_101a;
}
case 302:
{
goto IL_101a;
}
case 303:
{
goto IL_101a;
}
case 304:
{
goto IL_101a;
}
case 305:
{
goto IL_101a;
}
case 306:
{
goto IL_101a;
}
case 307:
{
goto IL_101a;
}
case 308:
{
goto IL_101a;
}
case 309:
{
goto IL_101a;
}
case 310:
{
goto IL_101a;
}
case 311:
{
goto IL_101a;
}
case 312:
{
goto IL_101a;
}
case 313:
{
goto IL_101a;
}
case 314:
{
goto IL_101a;
}
case 315:
{
goto IL_101a;
}
case 316:
{
goto IL_101a;
}
case 317:
{
goto IL_101a;
}
case 318:
{
goto IL_101a;
}
case 319:
{
goto IL_101a;
}
case 320:
{
goto IL_101a;
}
case 321:
{
goto IL_101a;
}
case 322:
{
goto IL_101a;
}
case 323:
{
goto IL_101a;
}
case 324:
{
goto IL_101a;
}
case 325:
{
goto IL_101a;
}
case 326:
{
goto IL_101a;
}
case 327:
{
goto IL_101a;
}
case 328:
{
goto IL_101a;
}
case 329:
{
goto IL_101a;
}
case 330:
{
goto IL_101a;
}
case 331:
{
goto IL_101a;
}
case 332:
{
goto IL_101a;
}
case 333:
{
goto IL_101a;
}
case 334:
{
goto IL_101a;
}
case 335:
{
goto IL_101a;
}
case 336:
{
goto IL_101a;
}
case 337:
{
goto IL_101a;
}
case 338:
{
goto IL_101a;
}
case 339:
{
goto IL_101a;
}
case 340:
{
goto IL_101a;
}
case 341:
{
goto IL_101a;
}
case 342:
{
goto IL_101a;
}
case 343:
{
goto IL_101a;
}
case 344:
{
goto IL_101a;
}
case 345:
{
goto IL_101a;
}
case 346:
{
goto IL_101a;
}
case 347:
{
goto IL_101a;
}
case 348:
{
goto IL_101a;
}
case 349:
{
goto IL_101a;
}
case 350:
{
goto IL_101a;
}
case 351:
{
goto IL_101a;
}
case 352:
{
goto IL_101a;
}
case 353:
{
goto IL_101a;
}
case 354:
{
goto IL_101a;
}
case 355:
{
goto IL_101a;
}
case 356:
{
goto IL_101a;
}
case 357:
{
goto IL_101a;
}
case 358:
{
goto IL_101a;
}
case 359:
{
goto IL_101a;
}
case 360:
{
goto IL_101a;
}
case 361:
{
goto IL_101a;
}
case 362:
{
goto IL_101a;
}
case 363:
{
goto IL_101a;
}
case 364:
{
goto IL_101a;
}
case 365:
{
goto IL_101a;
}
case 366:
{
goto IL_101a;
}
case 367:
{
goto IL_101a;
}
case 368:
{
goto IL_101a;
}
case 369:
{
goto IL_101a;
}
case 370:
{
goto IL_101a;
}
case 371:
{
goto IL_101a;
}
case 372:
{
goto IL_101a;
}
case 373:
{
goto IL_101a;
}
case 374:
{
goto IL_101a;
}
case 375:
{
goto IL_101a;
}
case 376:
{
goto IL_0dc1;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)8215))))
{
goto IL_0dcc;
}
}
{
goto IL_101a;
}
IL_0644:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)8226))))
{
goto IL_0dd7;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)8252))))
{
goto IL_0dde;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)8254))))
{
goto IL_0de6;
}
}
{
goto IL_101a;
}
IL_066a:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)8735))))
{
goto IL_06b1;
}
}
{
int32_t L_13 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0df1;
}
case 1:
{
goto IL_0df9;
}
case 2:
{
goto IL_0e01;
}
case 3:
{
goto IL_0e09;
}
case 4:
{
goto IL_0e11;
}
case 5:
{
goto IL_0e19;
}
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)8616))))
{
goto IL_0e21;
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)8735))))
{
goto IL_0e29;
}
}
{
goto IL_101a;
}
IL_06b1:
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)8962))))
{
goto IL_0e31;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)9472))))
{
goto IL_0e39;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)9474))))
{
goto IL_0e44;
}
}
{
goto IL_101a;
}
IL_06d7:
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) > ((int32_t)((int32_t)9508))))
{
goto IL_0733;
}
}
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) > ((int32_t)((int32_t)9492))))
{
goto IL_070d;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)9484))))
{
goto IL_0e4f;
}
}
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)9488))))
{
goto IL_0e5a;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) == ((int32_t)((int32_t)9492))))
{
goto IL_0e65;
}
}
{
goto IL_101a;
}
IL_070d:
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)9496))))
{
goto IL_0e70;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)9500))))
{
goto IL_0e7b;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)9508))))
{
goto IL_0e86;
}
}
{
goto IL_101a;
}
IL_0733:
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) > ((int32_t)((int32_t)9532))))
{
goto IL_0761;
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) == ((int32_t)((int32_t)9516))))
{
goto IL_0e91;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)9524))))
{
goto IL_0e9c;
}
}
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) == ((int32_t)((int32_t)9532))))
{
goto IL_0ea7;
}
}
{
goto IL_101a;
}
IL_0761:
{
int32_t L_31 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)((int32_t)9552))))
{
case 0:
{
goto IL_0eb2;
}
case 1:
{
goto IL_0ebd;
}
case 2:
{
goto IL_101a;
}
case 3:
{
goto IL_101a;
}
case 4:
{
goto IL_0ec8;
}
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)9559))))
{
goto IL_0ed3;
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)9562))))
{
goto IL_0ede;
}
}
{
goto IL_101a;
}
IL_079c:
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)9644))))
{
goto IL_0864;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) > ((int32_t)((int32_t)9580))))
{
goto IL_0803;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) > ((int32_t)((int32_t)9571))))
{
goto IL_07dd;
}
}
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)9565))))
{
goto IL_0ee9;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)9568))))
{
goto IL_0ef4;
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) == ((int32_t)((int32_t)9571))))
{
goto IL_0eff;
}
}
{
goto IL_101a;
}
IL_07dd:
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) == ((int32_t)((int32_t)9574))))
{
goto IL_0f0a;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) == ((int32_t)((int32_t)9577))))
{
goto IL_0f15;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9580))))
{
goto IL_0f20;
}
}
{
goto IL_101a;
}
IL_0803:
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) > ((int32_t)((int32_t)9608))))
{
goto IL_0831;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9600))))
{
goto IL_0f2b;
}
}
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9604))))
{
goto IL_0f36;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) == ((int32_t)((int32_t)9608))))
{
goto IL_0f41;
}
}
{
goto IL_101a;
}
IL_0831:
{
int32_t L_47 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_47, (int32_t)((int32_t)9617))))
{
case 0:
{
goto IL_0f4c;
}
case 1:
{
goto IL_0f57;
}
case 2:
{
goto IL_0f62;
}
}
}
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) == ((int32_t)((int32_t)9632))))
{
goto IL_0f6d;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9644))))
{
goto IL_0f78;
}
}
{
goto IL_101a;
}
IL_0864:
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) > ((int32_t)((int32_t)9688))))
{
goto IL_08c0;
}
}
{
int32_t L_51 = V_0;
if ((((int32_t)L_51) > ((int32_t)((int32_t)9660))))
{
goto IL_089a;
}
}
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) == ((int32_t)((int32_t)9650))))
{
goto IL_0f80;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)9658))))
{
goto IL_0f88;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) == ((int32_t)((int32_t)9660))))
{
goto IL_0f90;
}
}
{
goto IL_101a;
}
IL_089a:
{
int32_t L_55 = V_0;
if ((((int32_t)L_55) == ((int32_t)((int32_t)9668))))
{
goto IL_0f98;
}
}
{
int32_t L_56 = V_0;
if ((((int32_t)L_56) == ((int32_t)((int32_t)9675))))
{
goto IL_0fa0;
}
}
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) == ((int32_t)((int32_t)9688))))
{
goto IL_0fa8;
}
}
{
goto IL_101a;
}
IL_08c0:
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) > ((int32_t)((int32_t)9830))))
{
goto IL_0930;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9689))))
{
goto IL_0faf;
}
}
{
int32_t L_60 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_60, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0fb7;
}
case 1:
{
goto IL_0fbe;
}
case 2:
{
goto IL_0fc5;
}
case 3:
{
goto IL_101a;
}
case 4:
{
goto IL_101a;
}
case 5:
{
goto IL_101a;
}
case 6:
{
goto IL_0fcd;
}
case 7:
{
goto IL_101a;
}
case 8:
{
goto IL_0fd2;
}
}
}
{
int32_t L_61 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_61, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0fd7;
}
case 1:
{
goto IL_101a;
}
case 2:
{
goto IL_101a;
}
case 3:
{
goto IL_0fdb;
}
case 4:
{
goto IL_101a;
}
case 5:
{
goto IL_0fdf;
}
case 6:
{
goto IL_0fe3;
}
}
}
{
goto IL_101a;
}
IL_0930:
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) == ((int32_t)((int32_t)9834))))
{
goto IL_0fe7;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9836))))
{
goto IL_0fec;
}
}
{
int32_t L_64 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0ff1;
}
case 1:
{
goto IL_0ff9;
}
case 2:
{
goto IL_0ffe;
}
case 3:
{
goto IL_1003;
}
case 4:
{
goto IL_1008;
}
case 5:
{
goto IL_100d;
}
case 6:
{
goto IL_1015;
}
}
}
{
goto IL_101a;
}
IL_0973:
{
V_0 = ((int32_t)127);
goto IL_1051;
}
IL_097b:
{
V_0 = ((int32_t)26);
goto IL_1051;
}
IL_0983:
{
V_0 = ((int32_t)28);
goto IL_1051;
}
IL_098b:
{
V_0 = ((int32_t)255);
goto IL_1051;
}
IL_0996:
{
V_0 = ((int32_t)173);
goto IL_1051;
}
IL_09a1:
{
V_0 = ((int32_t)189);
goto IL_1051;
}
IL_09ac:
{
V_0 = ((int32_t)156);
goto IL_1051;
}
IL_09b7:
{
V_0 = ((int32_t)207);
goto IL_1051;
}
IL_09c2:
{
V_0 = ((int32_t)190);
goto IL_1051;
}
IL_09cd:
{
V_0 = ((int32_t)221);
goto IL_1051;
}
IL_09d8:
{
V_0 = ((int32_t)245);
goto IL_1051;
}
IL_09e3:
{
V_0 = ((int32_t)249);
goto IL_1051;
}
IL_09ee:
{
V_0 = ((int32_t)184);
goto IL_1051;
}
IL_09f9:
{
V_0 = ((int32_t)166);
goto IL_1051;
}
IL_0a04:
{
V_0 = ((int32_t)174);
goto IL_1051;
}
IL_0a0f:
{
V_0 = ((int32_t)170);
goto IL_1051;
}
IL_0a1a:
{
V_0 = ((int32_t)240);
goto IL_1051;
}
IL_0a25:
{
V_0 = ((int32_t)169);
goto IL_1051;
}
IL_0a30:
{
V_0 = ((int32_t)238);
goto IL_1051;
}
IL_0a3b:
{
V_0 = ((int32_t)248);
goto IL_1051;
}
IL_0a46:
{
V_0 = ((int32_t)241);
goto IL_1051;
}
IL_0a51:
{
V_0 = ((int32_t)253);
goto IL_1051;
}
IL_0a5c:
{
V_0 = ((int32_t)252);
goto IL_1051;
}
IL_0a67:
{
V_0 = ((int32_t)239);
goto IL_1051;
}
IL_0a72:
{
V_0 = ((int32_t)230);
goto IL_1051;
}
IL_0a7d:
{
V_0 = ((int32_t)244);
goto IL_1051;
}
IL_0a88:
{
V_0 = ((int32_t)250);
goto IL_1051;
}
IL_0a93:
{
V_0 = ((int32_t)247);
goto IL_1051;
}
IL_0a9e:
{
V_0 = ((int32_t)251);
goto IL_1051;
}
IL_0aa9:
{
V_0 = ((int32_t)167);
goto IL_1051;
}
IL_0ab4:
{
V_0 = ((int32_t)175);
goto IL_1051;
}
IL_0abf:
{
V_0 = ((int32_t)172);
goto IL_1051;
}
IL_0aca:
{
V_0 = ((int32_t)171);
goto IL_1051;
}
IL_0ad5:
{
V_0 = ((int32_t)243);
goto IL_1051;
}
IL_0ae0:
{
V_0 = ((int32_t)168);
goto IL_1051;
}
IL_0aeb:
{
V_0 = ((int32_t)183);
goto IL_1051;
}
IL_0af6:
{
V_0 = ((int32_t)181);
goto IL_1051;
}
IL_0b01:
{
V_0 = ((int32_t)182);
goto IL_1051;
}
IL_0b0c:
{
V_0 = ((int32_t)199);
goto IL_1051;
}
IL_0b17:
{
V_0 = ((int32_t)142);
goto IL_1051;
}
IL_0b22:
{
V_0 = ((int32_t)143);
goto IL_1051;
}
IL_0b2d:
{
V_0 = ((int32_t)146);
goto IL_1051;
}
IL_0b38:
{
V_0 = ((int32_t)128);
goto IL_1051;
}
IL_0b43:
{
V_0 = ((int32_t)212);
goto IL_1051;
}
IL_0b4e:
{
V_0 = ((int32_t)144);
goto IL_1051;
}
IL_0b59:
{
V_0 = ((int32_t)210);
goto IL_1051;
}
IL_0b64:
{
V_0 = ((int32_t)211);
goto IL_1051;
}
IL_0b6f:
{
V_0 = ((int32_t)222);
goto IL_1051;
}
IL_0b7a:
{
V_0 = ((int32_t)214);
goto IL_1051;
}
IL_0b85:
{
V_0 = ((int32_t)215);
goto IL_1051;
}
IL_0b90:
{
V_0 = ((int32_t)216);
goto IL_1051;
}
IL_0b9b:
{
V_0 = ((int32_t)209);
goto IL_1051;
}
IL_0ba6:
{
V_0 = ((int32_t)165);
goto IL_1051;
}
IL_0bb1:
{
V_0 = ((int32_t)227);
goto IL_1051;
}
IL_0bbc:
{
V_0 = ((int32_t)224);
goto IL_1051;
}
IL_0bc7:
{
V_0 = ((int32_t)226);
goto IL_1051;
}
IL_0bd2:
{
V_0 = ((int32_t)229);
goto IL_1051;
}
IL_0bdd:
{
V_0 = ((int32_t)153);
goto IL_1051;
}
IL_0be8:
{
V_0 = ((int32_t)158);
goto IL_1051;
}
IL_0bf3:
{
V_0 = ((int32_t)157);
goto IL_1051;
}
IL_0bfe:
{
V_0 = ((int32_t)235);
goto IL_1051;
}
IL_0c09:
{
V_0 = ((int32_t)233);
goto IL_1051;
}
IL_0c14:
{
V_0 = ((int32_t)234);
goto IL_1051;
}
IL_0c1f:
{
V_0 = ((int32_t)154);
goto IL_1051;
}
IL_0c2a:
{
V_0 = ((int32_t)237);
goto IL_1051;
}
IL_0c35:
{
V_0 = ((int32_t)232);
goto IL_1051;
}
IL_0c40:
{
V_0 = ((int32_t)225);
goto IL_1051;
}
IL_0c4b:
{
V_0 = ((int32_t)133);
goto IL_1051;
}
IL_0c56:
{
V_0 = ((int32_t)160);
goto IL_1051;
}
IL_0c61:
{
V_0 = ((int32_t)131);
goto IL_1051;
}
IL_0c6c:
{
V_0 = ((int32_t)198);
goto IL_1051;
}
IL_0c77:
{
V_0 = ((int32_t)132);
goto IL_1051;
}
IL_0c82:
{
V_0 = ((int32_t)134);
goto IL_1051;
}
IL_0c8d:
{
V_0 = ((int32_t)145);
goto IL_1051;
}
IL_0c98:
{
V_0 = ((int32_t)135);
goto IL_1051;
}
IL_0ca3:
{
V_0 = ((int32_t)138);
goto IL_1051;
}
IL_0cae:
{
V_0 = ((int32_t)130);
goto IL_1051;
}
IL_0cb9:
{
V_0 = ((int32_t)136);
goto IL_1051;
}
IL_0cc4:
{
V_0 = ((int32_t)137);
goto IL_1051;
}
IL_0ccf:
{
V_0 = ((int32_t)141);
goto IL_1051;
}
IL_0cda:
{
V_0 = ((int32_t)161);
goto IL_1051;
}
IL_0ce5:
{
V_0 = ((int32_t)140);
goto IL_1051;
}
IL_0cf0:
{
V_0 = ((int32_t)139);
goto IL_1051;
}
IL_0cfb:
{
V_0 = ((int32_t)208);
goto IL_1051;
}
IL_0d06:
{
V_0 = ((int32_t)164);
goto IL_1051;
}
IL_0d11:
{
V_0 = ((int32_t)149);
goto IL_1051;
}
IL_0d1c:
{
V_0 = ((int32_t)162);
goto IL_1051;
}
IL_0d27:
{
V_0 = ((int32_t)147);
goto IL_1051;
}
IL_0d32:
{
V_0 = ((int32_t)228);
goto IL_1051;
}
IL_0d3d:
{
V_0 = ((int32_t)148);
goto IL_1051;
}
IL_0d48:
{
V_0 = ((int32_t)246);
goto IL_1051;
}
IL_0d53:
{
V_0 = ((int32_t)155);
goto IL_1051;
}
IL_0d5e:
{
V_0 = ((int32_t)151);
goto IL_1051;
}
IL_0d69:
{
V_0 = ((int32_t)163);
goto IL_1051;
}
IL_0d74:
{
V_0 = ((int32_t)150);
goto IL_1051;
}
IL_0d7f:
{
V_0 = ((int32_t)129);
goto IL_1051;
}
IL_0d8a:
{
V_0 = ((int32_t)236);
goto IL_1051;
}
IL_0d95:
{
V_0 = ((int32_t)231);
goto IL_1051;
}
IL_0da0:
{
V_0 = ((int32_t)152);
goto IL_1051;
}
IL_0dab:
{
V_0 = ((int32_t)209);
goto IL_1051;
}
IL_0db6:
{
V_0 = ((int32_t)213);
goto IL_1051;
}
IL_0dc1:
{
V_0 = ((int32_t)159);
goto IL_1051;
}
IL_0dcc:
{
V_0 = ((int32_t)242);
goto IL_1051;
}
IL_0dd7:
{
V_0 = 7;
goto IL_1051;
}
IL_0dde:
{
V_0 = ((int32_t)19);
goto IL_1051;
}
IL_0de6:
{
V_0 = ((int32_t)238);
goto IL_1051;
}
IL_0df1:
{
V_0 = ((int32_t)27);
goto IL_1051;
}
IL_0df9:
{
V_0 = ((int32_t)24);
goto IL_1051;
}
IL_0e01:
{
V_0 = ((int32_t)26);
goto IL_1051;
}
IL_0e09:
{
V_0 = ((int32_t)25);
goto IL_1051;
}
IL_0e11:
{
V_0 = ((int32_t)29);
goto IL_1051;
}
IL_0e19:
{
V_0 = ((int32_t)18);
goto IL_1051;
}
IL_0e21:
{
V_0 = ((int32_t)23);
goto IL_1051;
}
IL_0e29:
{
V_0 = ((int32_t)28);
goto IL_1051;
}
IL_0e31:
{
V_0 = ((int32_t)127);
goto IL_1051;
}
IL_0e39:
{
V_0 = ((int32_t)196);
goto IL_1051;
}
IL_0e44:
{
V_0 = ((int32_t)179);
goto IL_1051;
}
IL_0e4f:
{
V_0 = ((int32_t)218);
goto IL_1051;
}
IL_0e5a:
{
V_0 = ((int32_t)191);
goto IL_1051;
}
IL_0e65:
{
V_0 = ((int32_t)192);
goto IL_1051;
}
IL_0e70:
{
V_0 = ((int32_t)217);
goto IL_1051;
}
IL_0e7b:
{
V_0 = ((int32_t)195);
goto IL_1051;
}
IL_0e86:
{
V_0 = ((int32_t)180);
goto IL_1051;
}
IL_0e91:
{
V_0 = ((int32_t)194);
goto IL_1051;
}
IL_0e9c:
{
V_0 = ((int32_t)193);
goto IL_1051;
}
IL_0ea7:
{
V_0 = ((int32_t)197);
goto IL_1051;
}
IL_0eb2:
{
V_0 = ((int32_t)205);
goto IL_1051;
}
IL_0ebd:
{
V_0 = ((int32_t)186);
goto IL_1051;
}
IL_0ec8:
{
V_0 = ((int32_t)201);
goto IL_1051;
}
IL_0ed3:
{
V_0 = ((int32_t)187);
goto IL_1051;
}
IL_0ede:
{
V_0 = ((int32_t)200);
goto IL_1051;
}
IL_0ee9:
{
V_0 = ((int32_t)188);
goto IL_1051;
}
IL_0ef4:
{
V_0 = ((int32_t)204);
goto IL_1051;
}
IL_0eff:
{
V_0 = ((int32_t)185);
goto IL_1051;
}
IL_0f0a:
{
V_0 = ((int32_t)203);
goto IL_1051;
}
IL_0f15:
{
V_0 = ((int32_t)202);
goto IL_1051;
}
IL_0f20:
{
V_0 = ((int32_t)206);
goto IL_1051;
}
IL_0f2b:
{
V_0 = ((int32_t)223);
goto IL_1051;
}
IL_0f36:
{
V_0 = ((int32_t)220);
goto IL_1051;
}
IL_0f41:
{
V_0 = ((int32_t)219);
goto IL_1051;
}
IL_0f4c:
{
V_0 = ((int32_t)176);
goto IL_1051;
}
IL_0f57:
{
V_0 = ((int32_t)177);
goto IL_1051;
}
IL_0f62:
{
V_0 = ((int32_t)178);
goto IL_1051;
}
IL_0f6d:
{
V_0 = ((int32_t)254);
goto IL_1051;
}
IL_0f78:
{
V_0 = ((int32_t)22);
goto IL_1051;
}
IL_0f80:
{
V_0 = ((int32_t)30);
goto IL_1051;
}
IL_0f88:
{
V_0 = ((int32_t)16);
goto IL_1051;
}
IL_0f90:
{
V_0 = ((int32_t)31);
goto IL_1051;
}
IL_0f98:
{
V_0 = ((int32_t)17);
goto IL_1051;
}
IL_0fa0:
{
V_0 = ((int32_t)9);
goto IL_1051;
}
IL_0fa8:
{
V_0 = 8;
goto IL_1051;
}
IL_0faf:
{
V_0 = ((int32_t)10);
goto IL_1051;
}
IL_0fb7:
{
V_0 = 1;
goto IL_1051;
}
IL_0fbe:
{
V_0 = 2;
goto IL_1051;
}
IL_0fc5:
{
V_0 = ((int32_t)15);
goto IL_1051;
}
IL_0fcd:
{
V_0 = ((int32_t)12);
goto IL_1051;
}
IL_0fd2:
{
V_0 = ((int32_t)11);
goto IL_1051;
}
IL_0fd7:
{
V_0 = 6;
goto IL_1051;
}
IL_0fdb:
{
V_0 = 5;
goto IL_1051;
}
IL_0fdf:
{
V_0 = 3;
goto IL_1051;
}
IL_0fe3:
{
V_0 = 4;
goto IL_1051;
}
IL_0fe7:
{
V_0 = ((int32_t)13);
goto IL_1051;
}
IL_0fec:
{
V_0 = ((int32_t)14);
goto IL_1051;
}
IL_0ff1:
{
V_0 = ((int32_t)179);
goto IL_1051;
}
IL_0ff9:
{
V_0 = ((int32_t)27);
goto IL_1051;
}
IL_0ffe:
{
V_0 = ((int32_t)24);
goto IL_1051;
}
IL_1003:
{
V_0 = ((int32_t)26);
goto IL_1051;
}
IL_1008:
{
V_0 = ((int32_t)25);
goto IL_1051;
}
IL_100d:
{
V_0 = ((int32_t)254);
goto IL_1051;
}
IL_1015:
{
V_0 = ((int32_t)9);
goto IL_1051;
}
IL_101a:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) < ((int32_t)((int32_t)65281))))
{
goto IL_1034;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) > ((int32_t)((int32_t)65374))))
{
goto IL_1034;
}
}
{
int32_t L_67 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_67, (int32_t)((int32_t)65248)));
goto IL_1051;
}
IL_1034:
{
Il2CppChar* L_68 = ___chars0;
uint8_t* L_69 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_68, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_69, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_70 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_70, (int32_t)1));
int32_t L_71 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_71, (int32_t)1));
goto IL_106f;
}
IL_1051:
{
uint8_t* L_72 = ___bytes2;
if ((((intptr_t)L_72) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_105c;
}
}
{
uint8_t* L_73 = ___bytes2;
int32_t L_74 = V_2;
int32_t L_75 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_73, (int32_t)L_74)))) = (int8_t)(((int32_t)((uint8_t)L_75)));
}
IL_105c:
{
int32_t L_76 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_76, (int32_t)1));
int32_t L_77 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_77, (int32_t)1));
int32_t L_78 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)1));
int32_t L_79 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_79, (int32_t)1));
}
IL_106f:
{
int32_t L_80 = ___charCount1;
if ((((int32_t)L_80) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_81 = V_2;
return L_81;
}
}
// System.Void I18N.West.CP850::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP850__cctor_m1757892644 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP850__cctor_m1757892644_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____4FEA2A6324C0192B29C90830F5D578051A4B1B16_5_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP850_t1311178993_StaticFields*)il2cpp_codegen_static_fields_for(CP850_t1311178993_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP860::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP860__ctor_m2017565142 (CP860_t1311113457 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP860__ctor_m2017565142_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP860_t1311113457_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP860_t1311113457_StaticFields*)il2cpp_codegen_static_fields_for(CP860_t1311113457_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)860), L_0, _stringLiteral3834112455, _stringLiteral2910049892, _stringLiteral2910049892, _stringLiteral2910049892, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP860::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP860_GetByteCountImpl_m2920626431 (CP860_t1311113457 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP860::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP860_GetByteCount_m4062419987 (CP860_t1311113457 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP860::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP860_ToBytes_m1075198352 (CP860_t1311113457 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP860_ToBytes_m1075198352_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP860_ToBytes_m1075198352_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP860::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP860_GetBytesImpl_m757029995 (CP860_t1311113457 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0f9a;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)26))))
{
goto IL_0f7c;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9484))))
{
goto IL_05b9;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)8319))))
{
goto IL_04a3;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)937))))
{
goto IL_041d;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)920))))
{
goto IL_03f7;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)26))))
{
case 0:
{
goto IL_08a4;
}
case 1:
{
goto IL_0f7c;
}
case 2:
{
goto IL_08ac;
}
case 3:
{
goto IL_0f7c;
}
case 4:
{
goto IL_0f7c;
}
case 5:
{
goto IL_0f7c;
}
case 6:
{
goto IL_0f7c;
}
case 7:
{
goto IL_0f7c;
}
case 8:
{
goto IL_0f7c;
}
case 9:
{
goto IL_0f7c;
}
case 10:
{
goto IL_0f7c;
}
case 11:
{
goto IL_0f7c;
}
case 12:
{
goto IL_0f7c;
}
case 13:
{
goto IL_0f7c;
}
case 14:
{
goto IL_0f7c;
}
case 15:
{
goto IL_0f7c;
}
case 16:
{
goto IL_0f7c;
}
case 17:
{
goto IL_0f7c;
}
case 18:
{
goto IL_0f7c;
}
case 19:
{
goto IL_0f7c;
}
case 20:
{
goto IL_0f7c;
}
case 21:
{
goto IL_0f7c;
}
case 22:
{
goto IL_0f7c;
}
case 23:
{
goto IL_0f7c;
}
case 24:
{
goto IL_0f7c;
}
case 25:
{
goto IL_0f7c;
}
case 26:
{
goto IL_0f7c;
}
case 27:
{
goto IL_0f7c;
}
case 28:
{
goto IL_0f7c;
}
case 29:
{
goto IL_0f7c;
}
case 30:
{
goto IL_0f7c;
}
case 31:
{
goto IL_0f7c;
}
case 32:
{
goto IL_0f7c;
}
case 33:
{
goto IL_0f7c;
}
case 34:
{
goto IL_0f7c;
}
case 35:
{
goto IL_0f7c;
}
case 36:
{
goto IL_0f7c;
}
case 37:
{
goto IL_0f7c;
}
case 38:
{
goto IL_0f7c;
}
case 39:
{
goto IL_0f7c;
}
case 40:
{
goto IL_0f7c;
}
case 41:
{
goto IL_0f7c;
}
case 42:
{
goto IL_0f7c;
}
case 43:
{
goto IL_0f7c;
}
case 44:
{
goto IL_0f7c;
}
case 45:
{
goto IL_0f7c;
}
case 46:
{
goto IL_0f7c;
}
case 47:
{
goto IL_0f7c;
}
case 48:
{
goto IL_0f7c;
}
case 49:
{
goto IL_0f7c;
}
case 50:
{
goto IL_0f7c;
}
case 51:
{
goto IL_0f7c;
}
case 52:
{
goto IL_0f7c;
}
case 53:
{
goto IL_0f7c;
}
case 54:
{
goto IL_0f7c;
}
case 55:
{
goto IL_0f7c;
}
case 56:
{
goto IL_0f7c;
}
case 57:
{
goto IL_0f7c;
}
case 58:
{
goto IL_0f7c;
}
case 59:
{
goto IL_0f7c;
}
case 60:
{
goto IL_0f7c;
}
case 61:
{
goto IL_0f7c;
}
case 62:
{
goto IL_0f7c;
}
case 63:
{
goto IL_0f7c;
}
case 64:
{
goto IL_0f7c;
}
case 65:
{
goto IL_0f7c;
}
case 66:
{
goto IL_0f7c;
}
case 67:
{
goto IL_0f7c;
}
case 68:
{
goto IL_0f7c;
}
case 69:
{
goto IL_0f7c;
}
case 70:
{
goto IL_0f7c;
}
case 71:
{
goto IL_0f7c;
}
case 72:
{
goto IL_0f7c;
}
case 73:
{
goto IL_0f7c;
}
case 74:
{
goto IL_0f7c;
}
case 75:
{
goto IL_0f7c;
}
case 76:
{
goto IL_0f7c;
}
case 77:
{
goto IL_0f7c;
}
case 78:
{
goto IL_0f7c;
}
case 79:
{
goto IL_0f7c;
}
case 80:
{
goto IL_0f7c;
}
case 81:
{
goto IL_0f7c;
}
case 82:
{
goto IL_0f7c;
}
case 83:
{
goto IL_0f7c;
}
case 84:
{
goto IL_0f7c;
}
case 85:
{
goto IL_0f7c;
}
case 86:
{
goto IL_0f7c;
}
case 87:
{
goto IL_0f7c;
}
case 88:
{
goto IL_0f7c;
}
case 89:
{
goto IL_0f7c;
}
case 90:
{
goto IL_0f7c;
}
case 91:
{
goto IL_0f7c;
}
case 92:
{
goto IL_0f7c;
}
case 93:
{
goto IL_0f7c;
}
case 94:
{
goto IL_0f7c;
}
case 95:
{
goto IL_0f7c;
}
case 96:
{
goto IL_0f7c;
}
case 97:
{
goto IL_0f7c;
}
case 98:
{
goto IL_0f7c;
}
case 99:
{
goto IL_0f7c;
}
case 100:
{
goto IL_0f7c;
}
case 101:
{
goto IL_08b4;
}
case 102:
{
goto IL_0f45;
}
case 103:
{
goto IL_0f45;
}
case 104:
{
goto IL_0f45;
}
case 105:
{
goto IL_0f45;
}
case 106:
{
goto IL_0f45;
}
case 107:
{
goto IL_0f45;
}
case 108:
{
goto IL_0f45;
}
case 109:
{
goto IL_0f45;
}
case 110:
{
goto IL_0f45;
}
case 111:
{
goto IL_0f45;
}
case 112:
{
goto IL_0f45;
}
case 113:
{
goto IL_0f45;
}
case 114:
{
goto IL_0f45;
}
case 115:
{
goto IL_0f45;
}
case 116:
{
goto IL_0f45;
}
case 117:
{
goto IL_0f45;
}
case 118:
{
goto IL_0f45;
}
case 119:
{
goto IL_0f45;
}
case 120:
{
goto IL_0f45;
}
case 121:
{
goto IL_0f45;
}
case 122:
{
goto IL_0f45;
}
case 123:
{
goto IL_0f45;
}
case 124:
{
goto IL_0f45;
}
case 125:
{
goto IL_0f45;
}
case 126:
{
goto IL_0f45;
}
case 127:
{
goto IL_0f45;
}
case 128:
{
goto IL_0f45;
}
case 129:
{
goto IL_0f45;
}
case 130:
{
goto IL_0f45;
}
case 131:
{
goto IL_0f45;
}
case 132:
{
goto IL_0f45;
}
case 133:
{
goto IL_0f45;
}
case 134:
{
goto IL_08bc;
}
case 135:
{
goto IL_08c7;
}
case 136:
{
goto IL_08d2;
}
case 137:
{
goto IL_08dd;
}
case 138:
{
goto IL_0f45;
}
case 139:
{
goto IL_0f45;
}
case 140:
{
goto IL_0f45;
}
case 141:
{
goto IL_08e8;
}
case 142:
{
goto IL_0f45;
}
case 143:
{
goto IL_0f45;
}
case 144:
{
goto IL_08f0;
}
case 145:
{
goto IL_08fb;
}
case 146:
{
goto IL_0906;
}
case 147:
{
goto IL_0f45;
}
case 148:
{
goto IL_0f45;
}
case 149:
{
goto IL_0f45;
}
case 150:
{
goto IL_0911;
}
case 151:
{
goto IL_091c;
}
case 152:
{
goto IL_0927;
}
case 153:
{
goto IL_0f45;
}
case 154:
{
goto IL_0f45;
}
case 155:
{
goto IL_0f45;
}
case 156:
{
goto IL_0932;
}
case 157:
{
goto IL_093a;
}
case 158:
{
goto IL_0f45;
}
case 159:
{
goto IL_0f45;
}
case 160:
{
goto IL_0945;
}
case 161:
{
goto IL_0950;
}
case 162:
{
goto IL_095b;
}
case 163:
{
goto IL_0966;
}
case 164:
{
goto IL_0f45;
}
case 165:
{
goto IL_0971;
}
case 166:
{
goto IL_097c;
}
case 167:
{
goto IL_0987;
}
case 168:
{
goto IL_0992;
}
case 169:
{
goto IL_099d;
}
case 170:
{
goto IL_0f45;
}
case 171:
{
goto IL_0f45;
}
case 172:
{
goto IL_0f45;
}
case 173:
{
goto IL_09a8;
}
case 174:
{
goto IL_09b3;
}
case 175:
{
goto IL_09be;
}
case 176:
{
goto IL_09c9;
}
case 177:
{
goto IL_0f45;
}
case 178:
{
goto IL_09d4;
}
case 179:
{
goto IL_09df;
}
case 180:
{
goto IL_0f45;
}
case 181:
{
goto IL_0f45;
}
case 182:
{
goto IL_0f45;
}
case 183:
{
goto IL_09ea;
}
case 184:
{
goto IL_09f5;
}
case 185:
{
goto IL_0a00;
}
case 186:
{
goto IL_0a0b;
}
case 187:
{
goto IL_0a16;
}
case 188:
{
goto IL_0f45;
}
case 189:
{
goto IL_0f45;
}
case 190:
{
goto IL_0f45;
}
case 191:
{
goto IL_0a21;
}
case 192:
{
goto IL_0a2c;
}
case 193:
{
goto IL_0f45;
}
case 194:
{
goto IL_0a37;
}
case 195:
{
goto IL_0f45;
}
case 196:
{
goto IL_0f45;
}
case 197:
{
goto IL_0a42;
}
case 198:
{
goto IL_0a4d;
}
case 199:
{
goto IL_0a58;
}
case 200:
{
goto IL_0a63;
}
case 201:
{
goto IL_0a6e;
}
case 202:
{
goto IL_0f45;
}
case 203:
{
goto IL_0f45;
}
case 204:
{
goto IL_0f45;
}
case 205:
{
goto IL_0a79;
}
case 206:
{
goto IL_0a84;
}
case 207:
{
goto IL_0a8f;
}
case 208:
{
goto IL_0a9a;
}
case 209:
{
goto IL_0f45;
}
case 210:
{
goto IL_0aa5;
}
case 211:
{
goto IL_0ab0;
}
case 212:
{
goto IL_0f45;
}
case 213:
{
goto IL_0f45;
}
case 214:
{
goto IL_0f45;
}
case 215:
{
goto IL_0abb;
}
case 216:
{
goto IL_0ac6;
}
case 217:
{
goto IL_0ad1;
}
case 218:
{
goto IL_0adc;
}
case 219:
{
goto IL_0ae7;
}
case 220:
{
goto IL_0f45;
}
case 221:
{
goto IL_0af2;
}
case 222:
{
goto IL_0f45;
}
case 223:
{
goto IL_0afd;
}
case 224:
{
goto IL_0b08;
}
case 225:
{
goto IL_0f45;
}
case 226:
{
goto IL_0b13;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)915))))
{
goto IL_0b1e;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)920))))
{
goto IL_0b29;
}
}
{
goto IL_0f45;
}
IL_03f7:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)931))))
{
goto IL_0b34;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)934))))
{
goto IL_0b3f;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)937))))
{
goto IL_0b4a;
}
}
{
goto IL_0f45;
}
IL_041d:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)966))))
{
goto IL_047d;
}
}
{
int32_t L_14 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)((int32_t)945))))
{
case 0:
{
goto IL_0b55;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0b60;
}
case 4:
{
goto IL_0b6b;
}
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)956))))
{
goto IL_0b76;
}
}
{
int32_t L_16 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)960))))
{
case 0:
{
goto IL_0b81;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0b8c;
}
case 4:
{
goto IL_0b97;
}
case 5:
{
goto IL_0f45;
}
case 6:
{
goto IL_0ba2;
}
}
}
{
goto IL_0f45;
}
IL_047d:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)8226))))
{
goto IL_0bad;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)8252))))
{
goto IL_0bb4;
}
}
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)8319))))
{
goto IL_0bbc;
}
}
{
goto IL_0f45;
}
IL_04a3:
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) > ((int32_t)((int32_t)8776))))
{
goto IL_0538;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) > ((int32_t)((int32_t)8616))))
{
goto IL_04f5;
}
}
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)8359))))
{
goto IL_0bc7;
}
}
{
int32_t L_23 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0bd2;
}
case 1:
{
goto IL_0bda;
}
case 2:
{
goto IL_0be2;
}
case 3:
{
goto IL_0bea;
}
case 4:
{
goto IL_0bf2;
}
case 5:
{
goto IL_0bfa;
}
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8616))))
{
goto IL_0c02;
}
}
{
goto IL_0f45;
}
IL_04f5:
{
int32_t L_25 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)((int32_t)8729))))
{
case 0:
{
goto IL_0c0a;
}
case 1:
{
goto IL_0c15;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0f45;
}
case 4:
{
goto IL_0f45;
}
case 5:
{
goto IL_0c20;
}
case 6:
{
goto IL_0c2b;
}
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8745))))
{
goto IL_0c33;
}
}
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) == ((int32_t)((int32_t)8776))))
{
goto IL_0c3e;
}
}
{
goto IL_0f45;
}
IL_0538:
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) > ((int32_t)((int32_t)8992))))
{
goto IL_057b;
}
}
{
int32_t L_29 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)((int32_t)8801))))
{
case 0:
{
goto IL_0c49;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0c54;
}
case 4:
{
goto IL_0c5f;
}
}
}
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) == ((int32_t)((int32_t)8962))))
{
goto IL_0c6a;
}
}
{
int32_t L_31 = V_0;
if ((((int32_t)L_31) == ((int32_t)((int32_t)8992))))
{
goto IL_0c72;
}
}
{
goto IL_0f45;
}
IL_057b:
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) > ((int32_t)((int32_t)9472))))
{
goto IL_059e;
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)8993))))
{
goto IL_0c7d;
}
}
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) == ((int32_t)((int32_t)9472))))
{
goto IL_0c88;
}
}
{
goto IL_0f45;
}
IL_059e:
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) == ((int32_t)((int32_t)9474))))
{
goto IL_0c93;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)9484))))
{
goto IL_0c9e;
}
}
{
goto IL_0f45;
}
IL_05b9:
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) > ((int32_t)((int32_t)9632))))
{
goto IL_077d;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) > ((int32_t)((int32_t)9516))))
{
goto IL_0620;
}
}
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) > ((int32_t)((int32_t)9496))))
{
goto IL_05fa;
}
}
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) == ((int32_t)((int32_t)9488))))
{
goto IL_0ca9;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) == ((int32_t)((int32_t)9492))))
{
goto IL_0cb4;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9496))))
{
goto IL_0cbf;
}
}
{
goto IL_0f45;
}
IL_05fa:
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)9500))))
{
goto IL_0cca;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9508))))
{
goto IL_0cd5;
}
}
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9516))))
{
goto IL_0ce0;
}
}
{
goto IL_0f45;
}
IL_0620:
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) > ((int32_t)((int32_t)9604))))
{
goto IL_0736;
}
}
{
int32_t L_47 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_47, (int32_t)((int32_t)9524))))
{
case 0:
{
goto IL_0ceb;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0f45;
}
case 4:
{
goto IL_0f45;
}
case 5:
{
goto IL_0f45;
}
case 6:
{
goto IL_0f45;
}
case 7:
{
goto IL_0f45;
}
case 8:
{
goto IL_0cf6;
}
case 9:
{
goto IL_0f45;
}
case 10:
{
goto IL_0f45;
}
case 11:
{
goto IL_0f45;
}
case 12:
{
goto IL_0f45;
}
case 13:
{
goto IL_0f45;
}
case 14:
{
goto IL_0f45;
}
case 15:
{
goto IL_0f45;
}
case 16:
{
goto IL_0f45;
}
case 17:
{
goto IL_0f45;
}
case 18:
{
goto IL_0f45;
}
case 19:
{
goto IL_0f45;
}
case 20:
{
goto IL_0f45;
}
case 21:
{
goto IL_0f45;
}
case 22:
{
goto IL_0f45;
}
case 23:
{
goto IL_0f45;
}
case 24:
{
goto IL_0f45;
}
case 25:
{
goto IL_0f45;
}
case 26:
{
goto IL_0f45;
}
case 27:
{
goto IL_0f45;
}
case 28:
{
goto IL_0d01;
}
case 29:
{
goto IL_0d0c;
}
case 30:
{
goto IL_0d17;
}
case 31:
{
goto IL_0d22;
}
case 32:
{
goto IL_0d2d;
}
case 33:
{
goto IL_0d38;
}
case 34:
{
goto IL_0d43;
}
case 35:
{
goto IL_0d4e;
}
case 36:
{
goto IL_0d59;
}
case 37:
{
goto IL_0d64;
}
case 38:
{
goto IL_0d6f;
}
case 39:
{
goto IL_0d7a;
}
case 40:
{
goto IL_0d85;
}
case 41:
{
goto IL_0d90;
}
case 42:
{
goto IL_0d9b;
}
case 43:
{
goto IL_0da6;
}
case 44:
{
goto IL_0db1;
}
case 45:
{
goto IL_0dbc;
}
case 46:
{
goto IL_0dc7;
}
case 47:
{
goto IL_0dd2;
}
case 48:
{
goto IL_0ddd;
}
case 49:
{
goto IL_0de8;
}
case 50:
{
goto IL_0df3;
}
case 51:
{
goto IL_0dfe;
}
case 52:
{
goto IL_0e09;
}
case 53:
{
goto IL_0e14;
}
case 54:
{
goto IL_0e1f;
}
case 55:
{
goto IL_0e2a;
}
case 56:
{
goto IL_0e35;
}
}
}
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) == ((int32_t)((int32_t)9600))))
{
goto IL_0e40;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9604))))
{
goto IL_0e4b;
}
}
{
goto IL_0f45;
}
IL_0736:
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) == ((int32_t)((int32_t)9608))))
{
goto IL_0e56;
}
}
{
int32_t L_51 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)((int32_t)9612))))
{
case 0:
{
goto IL_0e61;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0f45;
}
case 4:
{
goto IL_0e6c;
}
case 5:
{
goto IL_0e77;
}
case 6:
{
goto IL_0e82;
}
case 7:
{
goto IL_0e8d;
}
}
}
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) == ((int32_t)((int32_t)9632))))
{
goto IL_0e98;
}
}
{
goto IL_0f45;
}
IL_077d:
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) > ((int32_t)((int32_t)9675))))
{
goto IL_07d9;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) > ((int32_t)((int32_t)9658))))
{
goto IL_07b3;
}
}
{
int32_t L_55 = V_0;
if ((((int32_t)L_55) == ((int32_t)((int32_t)9644))))
{
goto IL_0ea3;
}
}
{
int32_t L_56 = V_0;
if ((((int32_t)L_56) == ((int32_t)((int32_t)9650))))
{
goto IL_0eab;
}
}
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) == ((int32_t)((int32_t)9658))))
{
goto IL_0eb3;
}
}
{
goto IL_0f45;
}
IL_07b3:
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) == ((int32_t)((int32_t)9660))))
{
goto IL_0ebb;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9668))))
{
goto IL_0ec3;
}
}
{
int32_t L_60 = V_0;
if ((((int32_t)L_60) == ((int32_t)((int32_t)9675))))
{
goto IL_0ecb;
}
}
{
goto IL_0f45;
}
IL_07d9:
{
int32_t L_61 = V_0;
if ((((int32_t)L_61) > ((int32_t)((int32_t)9794))))
{
goto IL_082c;
}
}
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) == ((int32_t)((int32_t)9688))))
{
goto IL_0ed3;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9689))))
{
goto IL_0eda;
}
}
{
int32_t L_64 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0ee2;
}
case 1:
{
goto IL_0ee9;
}
case 2:
{
goto IL_0ef0;
}
case 3:
{
goto IL_0f45;
}
case 4:
{
goto IL_0f45;
}
case 5:
{
goto IL_0f45;
}
case 6:
{
goto IL_0ef8;
}
case 7:
{
goto IL_0f45;
}
case 8:
{
goto IL_0efd;
}
}
}
{
goto IL_0f45;
}
IL_082c:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) > ((int32_t)((int32_t)9834))))
{
goto IL_086c;
}
}
{
int32_t L_66 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_66, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0f02;
}
case 1:
{
goto IL_0f45;
}
case 2:
{
goto IL_0f45;
}
case 3:
{
goto IL_0f06;
}
case 4:
{
goto IL_0f45;
}
case 5:
{
goto IL_0f0a;
}
case 6:
{
goto IL_0f0e;
}
}
}
{
int32_t L_67 = V_0;
if ((((int32_t)L_67) == ((int32_t)((int32_t)9834))))
{
goto IL_0f12;
}
}
{
goto IL_0f45;
}
IL_086c:
{
int32_t L_68 = V_0;
if ((((int32_t)L_68) == ((int32_t)((int32_t)9835))))
{
goto IL_0f17;
}
}
{
int32_t L_69 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_69, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0f1c;
}
case 1:
{
goto IL_0f24;
}
case 2:
{
goto IL_0f29;
}
case 3:
{
goto IL_0f2e;
}
case 4:
{
goto IL_0f33;
}
case 5:
{
goto IL_0f38;
}
case 6:
{
goto IL_0f40;
}
}
}
{
goto IL_0f45;
}
IL_08a4:
{
V_0 = ((int32_t)127);
goto IL_0f7c;
}
IL_08ac:
{
V_0 = ((int32_t)26);
goto IL_0f7c;
}
IL_08b4:
{
V_0 = ((int32_t)28);
goto IL_0f7c;
}
IL_08bc:
{
V_0 = ((int32_t)255);
goto IL_0f7c;
}
IL_08c7:
{
V_0 = ((int32_t)173);
goto IL_0f7c;
}
IL_08d2:
{
V_0 = ((int32_t)155);
goto IL_0f7c;
}
IL_08dd:
{
V_0 = ((int32_t)156);
goto IL_0f7c;
}
IL_08e8:
{
V_0 = ((int32_t)21);
goto IL_0f7c;
}
IL_08f0:
{
V_0 = ((int32_t)166);
goto IL_0f7c;
}
IL_08fb:
{
V_0 = ((int32_t)174);
goto IL_0f7c;
}
IL_0906:
{
V_0 = ((int32_t)170);
goto IL_0f7c;
}
IL_0911:
{
V_0 = ((int32_t)248);
goto IL_0f7c;
}
IL_091c:
{
V_0 = ((int32_t)241);
goto IL_0f7c;
}
IL_0927:
{
V_0 = ((int32_t)253);
goto IL_0f7c;
}
IL_0932:
{
V_0 = ((int32_t)20);
goto IL_0f7c;
}
IL_093a:
{
V_0 = ((int32_t)250);
goto IL_0f7c;
}
IL_0945:
{
V_0 = ((int32_t)167);
goto IL_0f7c;
}
IL_0950:
{
V_0 = ((int32_t)175);
goto IL_0f7c;
}
IL_095b:
{
V_0 = ((int32_t)172);
goto IL_0f7c;
}
IL_0966:
{
V_0 = ((int32_t)171);
goto IL_0f7c;
}
IL_0971:
{
V_0 = ((int32_t)168);
goto IL_0f7c;
}
IL_097c:
{
V_0 = ((int32_t)145);
goto IL_0f7c;
}
IL_0987:
{
V_0 = ((int32_t)134);
goto IL_0f7c;
}
IL_0992:
{
V_0 = ((int32_t)143);
goto IL_0f7c;
}
IL_099d:
{
V_0 = ((int32_t)142);
goto IL_0f7c;
}
IL_09a8:
{
V_0 = ((int32_t)128);
goto IL_0f7c;
}
IL_09b3:
{
V_0 = ((int32_t)146);
goto IL_0f7c;
}
IL_09be:
{
V_0 = ((int32_t)144);
goto IL_0f7c;
}
IL_09c9:
{
V_0 = ((int32_t)137);
goto IL_0f7c;
}
IL_09d4:
{
V_0 = ((int32_t)152);
goto IL_0f7c;
}
IL_09df:
{
V_0 = ((int32_t)139);
goto IL_0f7c;
}
IL_09ea:
{
V_0 = ((int32_t)165);
goto IL_0f7c;
}
IL_09f5:
{
V_0 = ((int32_t)169);
goto IL_0f7c;
}
IL_0a00:
{
V_0 = ((int32_t)159);
goto IL_0f7c;
}
IL_0a0b:
{
V_0 = ((int32_t)140);
goto IL_0f7c;
}
IL_0a16:
{
V_0 = ((int32_t)153);
goto IL_0f7c;
}
IL_0a21:
{
V_0 = ((int32_t)157);
goto IL_0f7c;
}
IL_0a2c:
{
V_0 = ((int32_t)150);
goto IL_0f7c;
}
IL_0a37:
{
V_0 = ((int32_t)154);
goto IL_0f7c;
}
IL_0a42:
{
V_0 = ((int32_t)225);
goto IL_0f7c;
}
IL_0a4d:
{
V_0 = ((int32_t)133);
goto IL_0f7c;
}
IL_0a58:
{
V_0 = ((int32_t)160);
goto IL_0f7c;
}
IL_0a63:
{
V_0 = ((int32_t)131);
goto IL_0f7c;
}
IL_0a6e:
{
V_0 = ((int32_t)132);
goto IL_0f7c;
}
IL_0a79:
{
V_0 = ((int32_t)135);
goto IL_0f7c;
}
IL_0a84:
{
V_0 = ((int32_t)138);
goto IL_0f7c;
}
IL_0a8f:
{
V_0 = ((int32_t)130);
goto IL_0f7c;
}
IL_0a9a:
{
V_0 = ((int32_t)136);
goto IL_0f7c;
}
IL_0aa5:
{
V_0 = ((int32_t)141);
goto IL_0f7c;
}
IL_0ab0:
{
V_0 = ((int32_t)161);
goto IL_0f7c;
}
IL_0abb:
{
V_0 = ((int32_t)164);
goto IL_0f7c;
}
IL_0ac6:
{
V_0 = ((int32_t)149);
goto IL_0f7c;
}
IL_0ad1:
{
V_0 = ((int32_t)162);
goto IL_0f7c;
}
IL_0adc:
{
V_0 = ((int32_t)147);
goto IL_0f7c;
}
IL_0ae7:
{
V_0 = ((int32_t)148);
goto IL_0f7c;
}
IL_0af2:
{
V_0 = ((int32_t)246);
goto IL_0f7c;
}
IL_0afd:
{
V_0 = ((int32_t)151);
goto IL_0f7c;
}
IL_0b08:
{
V_0 = ((int32_t)163);
goto IL_0f7c;
}
IL_0b13:
{
V_0 = ((int32_t)129);
goto IL_0f7c;
}
IL_0b1e:
{
V_0 = ((int32_t)226);
goto IL_0f7c;
}
IL_0b29:
{
V_0 = ((int32_t)233);
goto IL_0f7c;
}
IL_0b34:
{
V_0 = ((int32_t)228);
goto IL_0f7c;
}
IL_0b3f:
{
V_0 = ((int32_t)232);
goto IL_0f7c;
}
IL_0b4a:
{
V_0 = ((int32_t)234);
goto IL_0f7c;
}
IL_0b55:
{
V_0 = ((int32_t)224);
goto IL_0f7c;
}
IL_0b60:
{
V_0 = ((int32_t)235);
goto IL_0f7c;
}
IL_0b6b:
{
V_0 = ((int32_t)238);
goto IL_0f7c;
}
IL_0b76:
{
V_0 = ((int32_t)230);
goto IL_0f7c;
}
IL_0b81:
{
V_0 = ((int32_t)227);
goto IL_0f7c;
}
IL_0b8c:
{
V_0 = ((int32_t)229);
goto IL_0f7c;
}
IL_0b97:
{
V_0 = ((int32_t)231);
goto IL_0f7c;
}
IL_0ba2:
{
V_0 = ((int32_t)237);
goto IL_0f7c;
}
IL_0bad:
{
V_0 = 7;
goto IL_0f7c;
}
IL_0bb4:
{
V_0 = ((int32_t)19);
goto IL_0f7c;
}
IL_0bbc:
{
V_0 = ((int32_t)252);
goto IL_0f7c;
}
IL_0bc7:
{
V_0 = ((int32_t)158);
goto IL_0f7c;
}
IL_0bd2:
{
V_0 = ((int32_t)27);
goto IL_0f7c;
}
IL_0bda:
{
V_0 = ((int32_t)24);
goto IL_0f7c;
}
IL_0be2:
{
V_0 = ((int32_t)26);
goto IL_0f7c;
}
IL_0bea:
{
V_0 = ((int32_t)25);
goto IL_0f7c;
}
IL_0bf2:
{
V_0 = ((int32_t)29);
goto IL_0f7c;
}
IL_0bfa:
{
V_0 = ((int32_t)18);
goto IL_0f7c;
}
IL_0c02:
{
V_0 = ((int32_t)23);
goto IL_0f7c;
}
IL_0c0a:
{
V_0 = ((int32_t)249);
goto IL_0f7c;
}
IL_0c15:
{
V_0 = ((int32_t)251);
goto IL_0f7c;
}
IL_0c20:
{
V_0 = ((int32_t)236);
goto IL_0f7c;
}
IL_0c2b:
{
V_0 = ((int32_t)28);
goto IL_0f7c;
}
IL_0c33:
{
V_0 = ((int32_t)239);
goto IL_0f7c;
}
IL_0c3e:
{
V_0 = ((int32_t)247);
goto IL_0f7c;
}
IL_0c49:
{
V_0 = ((int32_t)240);
goto IL_0f7c;
}
IL_0c54:
{
V_0 = ((int32_t)243);
goto IL_0f7c;
}
IL_0c5f:
{
V_0 = ((int32_t)242);
goto IL_0f7c;
}
IL_0c6a:
{
V_0 = ((int32_t)127);
goto IL_0f7c;
}
IL_0c72:
{
V_0 = ((int32_t)244);
goto IL_0f7c;
}
IL_0c7d:
{
V_0 = ((int32_t)245);
goto IL_0f7c;
}
IL_0c88:
{
V_0 = ((int32_t)196);
goto IL_0f7c;
}
IL_0c93:
{
V_0 = ((int32_t)179);
goto IL_0f7c;
}
IL_0c9e:
{
V_0 = ((int32_t)218);
goto IL_0f7c;
}
IL_0ca9:
{
V_0 = ((int32_t)191);
goto IL_0f7c;
}
IL_0cb4:
{
V_0 = ((int32_t)192);
goto IL_0f7c;
}
IL_0cbf:
{
V_0 = ((int32_t)217);
goto IL_0f7c;
}
IL_0cca:
{
V_0 = ((int32_t)195);
goto IL_0f7c;
}
IL_0cd5:
{
V_0 = ((int32_t)180);
goto IL_0f7c;
}
IL_0ce0:
{
V_0 = ((int32_t)194);
goto IL_0f7c;
}
IL_0ceb:
{
V_0 = ((int32_t)193);
goto IL_0f7c;
}
IL_0cf6:
{
V_0 = ((int32_t)197);
goto IL_0f7c;
}
IL_0d01:
{
V_0 = ((int32_t)205);
goto IL_0f7c;
}
IL_0d0c:
{
V_0 = ((int32_t)186);
goto IL_0f7c;
}
IL_0d17:
{
V_0 = ((int32_t)213);
goto IL_0f7c;
}
IL_0d22:
{
V_0 = ((int32_t)214);
goto IL_0f7c;
}
IL_0d2d:
{
V_0 = ((int32_t)201);
goto IL_0f7c;
}
IL_0d38:
{
V_0 = ((int32_t)184);
goto IL_0f7c;
}
IL_0d43:
{
V_0 = ((int32_t)183);
goto IL_0f7c;
}
IL_0d4e:
{
V_0 = ((int32_t)187);
goto IL_0f7c;
}
IL_0d59:
{
V_0 = ((int32_t)212);
goto IL_0f7c;
}
IL_0d64:
{
V_0 = ((int32_t)211);
goto IL_0f7c;
}
IL_0d6f:
{
V_0 = ((int32_t)200);
goto IL_0f7c;
}
IL_0d7a:
{
V_0 = ((int32_t)190);
goto IL_0f7c;
}
IL_0d85:
{
V_0 = ((int32_t)189);
goto IL_0f7c;
}
IL_0d90:
{
V_0 = ((int32_t)188);
goto IL_0f7c;
}
IL_0d9b:
{
V_0 = ((int32_t)198);
goto IL_0f7c;
}
IL_0da6:
{
V_0 = ((int32_t)199);
goto IL_0f7c;
}
IL_0db1:
{
V_0 = ((int32_t)204);
goto IL_0f7c;
}
IL_0dbc:
{
V_0 = ((int32_t)181);
goto IL_0f7c;
}
IL_0dc7:
{
V_0 = ((int32_t)182);
goto IL_0f7c;
}
IL_0dd2:
{
V_0 = ((int32_t)185);
goto IL_0f7c;
}
IL_0ddd:
{
V_0 = ((int32_t)209);
goto IL_0f7c;
}
IL_0de8:
{
V_0 = ((int32_t)210);
goto IL_0f7c;
}
IL_0df3:
{
V_0 = ((int32_t)203);
goto IL_0f7c;
}
IL_0dfe:
{
V_0 = ((int32_t)207);
goto IL_0f7c;
}
IL_0e09:
{
V_0 = ((int32_t)208);
goto IL_0f7c;
}
IL_0e14:
{
V_0 = ((int32_t)202);
goto IL_0f7c;
}
IL_0e1f:
{
V_0 = ((int32_t)216);
goto IL_0f7c;
}
IL_0e2a:
{
V_0 = ((int32_t)215);
goto IL_0f7c;
}
IL_0e35:
{
V_0 = ((int32_t)206);
goto IL_0f7c;
}
IL_0e40:
{
V_0 = ((int32_t)223);
goto IL_0f7c;
}
IL_0e4b:
{
V_0 = ((int32_t)220);
goto IL_0f7c;
}
IL_0e56:
{
V_0 = ((int32_t)219);
goto IL_0f7c;
}
IL_0e61:
{
V_0 = ((int32_t)221);
goto IL_0f7c;
}
IL_0e6c:
{
V_0 = ((int32_t)222);
goto IL_0f7c;
}
IL_0e77:
{
V_0 = ((int32_t)176);
goto IL_0f7c;
}
IL_0e82:
{
V_0 = ((int32_t)177);
goto IL_0f7c;
}
IL_0e8d:
{
V_0 = ((int32_t)178);
goto IL_0f7c;
}
IL_0e98:
{
V_0 = ((int32_t)254);
goto IL_0f7c;
}
IL_0ea3:
{
V_0 = ((int32_t)22);
goto IL_0f7c;
}
IL_0eab:
{
V_0 = ((int32_t)30);
goto IL_0f7c;
}
IL_0eb3:
{
V_0 = ((int32_t)16);
goto IL_0f7c;
}
IL_0ebb:
{
V_0 = ((int32_t)31);
goto IL_0f7c;
}
IL_0ec3:
{
V_0 = ((int32_t)17);
goto IL_0f7c;
}
IL_0ecb:
{
V_0 = ((int32_t)9);
goto IL_0f7c;
}
IL_0ed3:
{
V_0 = 8;
goto IL_0f7c;
}
IL_0eda:
{
V_0 = ((int32_t)10);
goto IL_0f7c;
}
IL_0ee2:
{
V_0 = 1;
goto IL_0f7c;
}
IL_0ee9:
{
V_0 = 2;
goto IL_0f7c;
}
IL_0ef0:
{
V_0 = ((int32_t)15);
goto IL_0f7c;
}
IL_0ef8:
{
V_0 = ((int32_t)12);
goto IL_0f7c;
}
IL_0efd:
{
V_0 = ((int32_t)11);
goto IL_0f7c;
}
IL_0f02:
{
V_0 = 6;
goto IL_0f7c;
}
IL_0f06:
{
V_0 = 5;
goto IL_0f7c;
}
IL_0f0a:
{
V_0 = 3;
goto IL_0f7c;
}
IL_0f0e:
{
V_0 = 4;
goto IL_0f7c;
}
IL_0f12:
{
V_0 = ((int32_t)13);
goto IL_0f7c;
}
IL_0f17:
{
V_0 = ((int32_t)14);
goto IL_0f7c;
}
IL_0f1c:
{
V_0 = ((int32_t)179);
goto IL_0f7c;
}
IL_0f24:
{
V_0 = ((int32_t)27);
goto IL_0f7c;
}
IL_0f29:
{
V_0 = ((int32_t)24);
goto IL_0f7c;
}
IL_0f2e:
{
V_0 = ((int32_t)26);
goto IL_0f7c;
}
IL_0f33:
{
V_0 = ((int32_t)25);
goto IL_0f7c;
}
IL_0f38:
{
V_0 = ((int32_t)254);
goto IL_0f7c;
}
IL_0f40:
{
V_0 = ((int32_t)9);
goto IL_0f7c;
}
IL_0f45:
{
int32_t L_70 = V_0;
if ((((int32_t)L_70) < ((int32_t)((int32_t)65281))))
{
goto IL_0f5f;
}
}
{
int32_t L_71 = V_0;
if ((((int32_t)L_71) > ((int32_t)((int32_t)65374))))
{
goto IL_0f5f;
}
}
{
int32_t L_72 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_72, (int32_t)((int32_t)65248)));
goto IL_0f7c;
}
IL_0f5f:
{
Il2CppChar* L_73 = ___chars0;
uint8_t* L_74 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_73, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_74, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_75 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_75, (int32_t)1));
int32_t L_76 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_76, (int32_t)1));
goto IL_0f9a;
}
IL_0f7c:
{
uint8_t* L_77 = ___bytes2;
if ((((intptr_t)L_77) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0f87;
}
}
{
uint8_t* L_78 = ___bytes2;
int32_t L_79 = V_2;
int32_t L_80 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_78, (int32_t)L_79)))) = (int8_t)(((int32_t)((uint8_t)L_80)));
}
IL_0f87:
{
int32_t L_81 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_81, (int32_t)1));
int32_t L_82 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_82, (int32_t)1));
int32_t L_83 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_83, (int32_t)1));
int32_t L_84 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_84, (int32_t)1));
}
IL_0f9a:
{
int32_t L_85 = ___charCount1;
if ((((int32_t)L_85) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_86 = V_2;
return L_86;
}
}
// System.Void I18N.West.CP860::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP860__cctor_m1382043684 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP860__cctor_m1382043684_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____148F346330E294B4157ED412259A7E7F373E26A8_1_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP860_t1311113457_StaticFields*)il2cpp_codegen_static_fields_for(CP860_t1311113457_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP861::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP861__ctor_m2017557783 (CP861_t2877197398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP861__ctor_m2017557783_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP861_t2877197398_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP861_t2877197398_StaticFields*)il2cpp_codegen_static_fields_for(CP861_t2877197398_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)861), L_0, _stringLiteral4044171842, _stringLiteral2910115428, _stringLiteral2910115428, _stringLiteral2910115428, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP861::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP861_GetByteCountImpl_m2187414398 (CP861_t2877197398 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP861::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP861_GetByteCount_m3373505733 (CP861_t2877197398 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP861::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP861_ToBytes_m4228683849 (CP861_t2877197398 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP861_ToBytes_m4228683849_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP861_ToBytes_m4228683849_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP861::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP861_GetBytesImpl_m2504534670 (CP861_t2877197398 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0fd2;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)26))))
{
goto IL_0fb4;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9474))))
{
goto IL_05d9;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)8319))))
{
goto IL_04c3;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)934))))
{
goto IL_0425;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)915))))
{
goto IL_03ff;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)26))))
{
case 0:
{
goto IL_08dc;
}
case 1:
{
goto IL_0fb4;
}
case 2:
{
goto IL_08e4;
}
case 3:
{
goto IL_0fb4;
}
case 4:
{
goto IL_0fb4;
}
case 5:
{
goto IL_0fb4;
}
case 6:
{
goto IL_0fb4;
}
case 7:
{
goto IL_0fb4;
}
case 8:
{
goto IL_0fb4;
}
case 9:
{
goto IL_0fb4;
}
case 10:
{
goto IL_0fb4;
}
case 11:
{
goto IL_0fb4;
}
case 12:
{
goto IL_0fb4;
}
case 13:
{
goto IL_0fb4;
}
case 14:
{
goto IL_0fb4;
}
case 15:
{
goto IL_0fb4;
}
case 16:
{
goto IL_0fb4;
}
case 17:
{
goto IL_0fb4;
}
case 18:
{
goto IL_0fb4;
}
case 19:
{
goto IL_0fb4;
}
case 20:
{
goto IL_0fb4;
}
case 21:
{
goto IL_0fb4;
}
case 22:
{
goto IL_0fb4;
}
case 23:
{
goto IL_0fb4;
}
case 24:
{
goto IL_0fb4;
}
case 25:
{
goto IL_0fb4;
}
case 26:
{
goto IL_0fb4;
}
case 27:
{
goto IL_0fb4;
}
case 28:
{
goto IL_0fb4;
}
case 29:
{
goto IL_0fb4;
}
case 30:
{
goto IL_0fb4;
}
case 31:
{
goto IL_0fb4;
}
case 32:
{
goto IL_0fb4;
}
case 33:
{
goto IL_0fb4;
}
case 34:
{
goto IL_0fb4;
}
case 35:
{
goto IL_0fb4;
}
case 36:
{
goto IL_0fb4;
}
case 37:
{
goto IL_0fb4;
}
case 38:
{
goto IL_0fb4;
}
case 39:
{
goto IL_0fb4;
}
case 40:
{
goto IL_0fb4;
}
case 41:
{
goto IL_0fb4;
}
case 42:
{
goto IL_0fb4;
}
case 43:
{
goto IL_0fb4;
}
case 44:
{
goto IL_0fb4;
}
case 45:
{
goto IL_0fb4;
}
case 46:
{
goto IL_0fb4;
}
case 47:
{
goto IL_0fb4;
}
case 48:
{
goto IL_0fb4;
}
case 49:
{
goto IL_0fb4;
}
case 50:
{
goto IL_0fb4;
}
case 51:
{
goto IL_0fb4;
}
case 52:
{
goto IL_0fb4;
}
case 53:
{
goto IL_0fb4;
}
case 54:
{
goto IL_0fb4;
}
case 55:
{
goto IL_0fb4;
}
case 56:
{
goto IL_0fb4;
}
case 57:
{
goto IL_0fb4;
}
case 58:
{
goto IL_0fb4;
}
case 59:
{
goto IL_0fb4;
}
case 60:
{
goto IL_0fb4;
}
case 61:
{
goto IL_0fb4;
}
case 62:
{
goto IL_0fb4;
}
case 63:
{
goto IL_0fb4;
}
case 64:
{
goto IL_0fb4;
}
case 65:
{
goto IL_0fb4;
}
case 66:
{
goto IL_0fb4;
}
case 67:
{
goto IL_0fb4;
}
case 68:
{
goto IL_0fb4;
}
case 69:
{
goto IL_0fb4;
}
case 70:
{
goto IL_0fb4;
}
case 71:
{
goto IL_0fb4;
}
case 72:
{
goto IL_0fb4;
}
case 73:
{
goto IL_0fb4;
}
case 74:
{
goto IL_0fb4;
}
case 75:
{
goto IL_0fb4;
}
case 76:
{
goto IL_0fb4;
}
case 77:
{
goto IL_0fb4;
}
case 78:
{
goto IL_0fb4;
}
case 79:
{
goto IL_0fb4;
}
case 80:
{
goto IL_0fb4;
}
case 81:
{
goto IL_0fb4;
}
case 82:
{
goto IL_0fb4;
}
case 83:
{
goto IL_0fb4;
}
case 84:
{
goto IL_0fb4;
}
case 85:
{
goto IL_0fb4;
}
case 86:
{
goto IL_0fb4;
}
case 87:
{
goto IL_0fb4;
}
case 88:
{
goto IL_0fb4;
}
case 89:
{
goto IL_0fb4;
}
case 90:
{
goto IL_0fb4;
}
case 91:
{
goto IL_0fb4;
}
case 92:
{
goto IL_0fb4;
}
case 93:
{
goto IL_0fb4;
}
case 94:
{
goto IL_0fb4;
}
case 95:
{
goto IL_0fb4;
}
case 96:
{
goto IL_0fb4;
}
case 97:
{
goto IL_0fb4;
}
case 98:
{
goto IL_0fb4;
}
case 99:
{
goto IL_0fb4;
}
case 100:
{
goto IL_0fb4;
}
case 101:
{
goto IL_08ec;
}
case 102:
{
goto IL_0f7d;
}
case 103:
{
goto IL_0f7d;
}
case 104:
{
goto IL_0f7d;
}
case 105:
{
goto IL_0f7d;
}
case 106:
{
goto IL_0f7d;
}
case 107:
{
goto IL_0f7d;
}
case 108:
{
goto IL_0f7d;
}
case 109:
{
goto IL_0f7d;
}
case 110:
{
goto IL_0f7d;
}
case 111:
{
goto IL_0f7d;
}
case 112:
{
goto IL_0f7d;
}
case 113:
{
goto IL_0f7d;
}
case 114:
{
goto IL_0f7d;
}
case 115:
{
goto IL_0f7d;
}
case 116:
{
goto IL_0f7d;
}
case 117:
{
goto IL_0f7d;
}
case 118:
{
goto IL_0f7d;
}
case 119:
{
goto IL_0f7d;
}
case 120:
{
goto IL_0f7d;
}
case 121:
{
goto IL_0f7d;
}
case 122:
{
goto IL_0f7d;
}
case 123:
{
goto IL_0f7d;
}
case 124:
{
goto IL_0f7d;
}
case 125:
{
goto IL_0f7d;
}
case 126:
{
goto IL_0f7d;
}
case 127:
{
goto IL_0f7d;
}
case 128:
{
goto IL_0f7d;
}
case 129:
{
goto IL_0f7d;
}
case 130:
{
goto IL_0f7d;
}
case 131:
{
goto IL_0f7d;
}
case 132:
{
goto IL_0f7d;
}
case 133:
{
goto IL_0f7d;
}
case 134:
{
goto IL_08f4;
}
case 135:
{
goto IL_08ff;
}
case 136:
{
goto IL_0f7d;
}
case 137:
{
goto IL_090a;
}
case 138:
{
goto IL_0f7d;
}
case 139:
{
goto IL_0f7d;
}
case 140:
{
goto IL_0f7d;
}
case 141:
{
goto IL_0915;
}
case 142:
{
goto IL_0f7d;
}
case 143:
{
goto IL_0f7d;
}
case 144:
{
goto IL_0f7d;
}
case 145:
{
goto IL_091d;
}
case 146:
{
goto IL_0928;
}
case 147:
{
goto IL_0f7d;
}
case 148:
{
goto IL_0f7d;
}
case 149:
{
goto IL_0f7d;
}
case 150:
{
goto IL_0933;
}
case 151:
{
goto IL_093e;
}
case 152:
{
goto IL_0949;
}
case 153:
{
goto IL_0f7d;
}
case 154:
{
goto IL_0f7d;
}
case 155:
{
goto IL_0f7d;
}
case 156:
{
goto IL_0954;
}
case 157:
{
goto IL_095c;
}
case 158:
{
goto IL_0f7d;
}
case 159:
{
goto IL_0f7d;
}
case 160:
{
goto IL_0f7d;
}
case 161:
{
goto IL_0967;
}
case 162:
{
goto IL_0972;
}
case 163:
{
goto IL_097d;
}
case 164:
{
goto IL_0f7d;
}
case 165:
{
goto IL_0988;
}
case 166:
{
goto IL_0f7d;
}
case 167:
{
goto IL_0993;
}
case 168:
{
goto IL_0f7d;
}
case 169:
{
goto IL_0f7d;
}
case 170:
{
goto IL_099e;
}
case 171:
{
goto IL_09a9;
}
case 172:
{
goto IL_09b4;
}
case 173:
{
goto IL_09bf;
}
case 174:
{
goto IL_0f7d;
}
case 175:
{
goto IL_09ca;
}
case 176:
{
goto IL_0f7d;
}
case 177:
{
goto IL_0f7d;
}
case 178:
{
goto IL_0f7d;
}
case 179:
{
goto IL_09d5;
}
case 180:
{
goto IL_0f7d;
}
case 181:
{
goto IL_0f7d;
}
case 182:
{
goto IL_09e0;
}
case 183:
{
goto IL_0f7d;
}
case 184:
{
goto IL_0f7d;
}
case 185:
{
goto IL_09eb;
}
case 186:
{
goto IL_0f7d;
}
case 187:
{
goto IL_0f7d;
}
case 188:
{
goto IL_09f6;
}
case 189:
{
goto IL_0f7d;
}
case 190:
{
goto IL_0a01;
}
case 191:
{
goto IL_0f7d;
}
case 192:
{
goto IL_0a0c;
}
case 193:
{
goto IL_0f7d;
}
case 194:
{
goto IL_0a17;
}
case 195:
{
goto IL_0a22;
}
case 196:
{
goto IL_0a2d;
}
case 197:
{
goto IL_0a38;
}
case 198:
{
goto IL_0a43;
}
case 199:
{
goto IL_0a4e;
}
case 200:
{
goto IL_0a59;
}
case 201:
{
goto IL_0f7d;
}
case 202:
{
goto IL_0a64;
}
case 203:
{
goto IL_0a6f;
}
case 204:
{
goto IL_0a7a;
}
case 205:
{
goto IL_0a85;
}
case 206:
{
goto IL_0a90;
}
case 207:
{
goto IL_0a9b;
}
case 208:
{
goto IL_0aa6;
}
case 209:
{
goto IL_0ab1;
}
case 210:
{
goto IL_0f7d;
}
case 211:
{
goto IL_0abc;
}
case 212:
{
goto IL_0f7d;
}
case 213:
{
goto IL_0f7d;
}
case 214:
{
goto IL_0ac7;
}
case 215:
{
goto IL_0f7d;
}
case 216:
{
goto IL_0f7d;
}
case 217:
{
goto IL_0ad2;
}
case 218:
{
goto IL_0add;
}
case 219:
{
goto IL_0f7d;
}
case 220:
{
goto IL_0ae8;
}
case 221:
{
goto IL_0af3;
}
case 222:
{
goto IL_0afe;
}
case 223:
{
goto IL_0f7d;
}
case 224:
{
goto IL_0b09;
}
case 225:
{
goto IL_0b14;
}
case 226:
{
goto IL_0b1f;
}
case 227:
{
goto IL_0b2a;
}
case 228:
{
goto IL_0b35;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)402))))
{
goto IL_0b40;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)915))))
{
goto IL_0b4b;
}
}
{
goto IL_0f7d;
}
IL_03ff:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)920))))
{
goto IL_0b56;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)931))))
{
goto IL_0b61;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)934))))
{
goto IL_0b6c;
}
}
{
goto IL_0f7d;
}
IL_0425:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)956))))
{
goto IL_0468;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)937))))
{
goto IL_0b77;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)945))))
{
case 0:
{
goto IL_0b82;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0b8d;
}
case 4:
{
goto IL_0b98;
}
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)956))))
{
goto IL_0ba3;
}
}
{
goto IL_0f7d;
}
IL_0468:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) > ((int32_t)((int32_t)8226))))
{
goto IL_04a8;
}
}
{
int32_t L_18 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)((int32_t)960))))
{
case 0:
{
goto IL_0bae;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0bb9;
}
case 4:
{
goto IL_0bc4;
}
case 5:
{
goto IL_0f7d;
}
case 6:
{
goto IL_0bcf;
}
}
}
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)8226))))
{
goto IL_0bda;
}
}
{
goto IL_0f7d;
}
IL_04a8:
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8252))))
{
goto IL_0be1;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8319))))
{
goto IL_0be9;
}
}
{
goto IL_0f7d;
}
IL_04c3:
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) > ((int32_t)((int32_t)8776))))
{
goto IL_0558;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) > ((int32_t)((int32_t)8616))))
{
goto IL_0515;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8359))))
{
goto IL_0bf4;
}
}
{
int32_t L_25 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0bff;
}
case 1:
{
goto IL_0c07;
}
case 2:
{
goto IL_0c0f;
}
case 3:
{
goto IL_0c17;
}
case 4:
{
goto IL_0c1f;
}
case 5:
{
goto IL_0c27;
}
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8616))))
{
goto IL_0c2f;
}
}
{
goto IL_0f7d;
}
IL_0515:
{
int32_t L_27 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)((int32_t)8729))))
{
case 0:
{
goto IL_0c37;
}
case 1:
{
goto IL_0c42;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0f7d;
}
case 4:
{
goto IL_0f7d;
}
case 5:
{
goto IL_0c4d;
}
case 6:
{
goto IL_0c58;
}
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) == ((int32_t)((int32_t)8745))))
{
goto IL_0c60;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)8776))))
{
goto IL_0c6b;
}
}
{
goto IL_0f7d;
}
IL_0558:
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) > ((int32_t)((int32_t)8976))))
{
goto IL_059b;
}
}
{
int32_t L_31 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)((int32_t)8801))))
{
case 0:
{
goto IL_0c76;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0c81;
}
case 4:
{
goto IL_0c8c;
}
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)8962))))
{
goto IL_0c97;
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)8976))))
{
goto IL_0c9f;
}
}
{
goto IL_0f7d;
}
IL_059b:
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)8993))))
{
goto IL_05be;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) == ((int32_t)((int32_t)8992))))
{
goto IL_0caa;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8993))))
{
goto IL_0cb5;
}
}
{
goto IL_0f7d;
}
IL_05be:
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)9472))))
{
goto IL_0cc0;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)9474))))
{
goto IL_0ccb;
}
}
{
goto IL_0f7d;
}
IL_05d9:
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) > ((int32_t)((int32_t)9632))))
{
goto IL_07b5;
}
}
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) > ((int32_t)((int32_t)9508))))
{
goto IL_0640;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) > ((int32_t)((int32_t)9492))))
{
goto IL_061a;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9484))))
{
goto IL_0cd6;
}
}
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)9488))))
{
goto IL_0ce1;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9492))))
{
goto IL_0cec;
}
}
{
goto IL_0f7d;
}
IL_061a:
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9496))))
{
goto IL_0cf7;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) == ((int32_t)((int32_t)9500))))
{
goto IL_0d02;
}
}
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) == ((int32_t)((int32_t)9508))))
{
goto IL_0d0d;
}
}
{
goto IL_0f7d;
}
IL_0640:
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) > ((int32_t)((int32_t)9600))))
{
goto IL_0756;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9516))))
{
goto IL_0d18;
}
}
{
int32_t L_50 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_50, (int32_t)((int32_t)9524))))
{
case 0:
{
goto IL_0d23;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0f7d;
}
case 4:
{
goto IL_0f7d;
}
case 5:
{
goto IL_0f7d;
}
case 6:
{
goto IL_0f7d;
}
case 7:
{
goto IL_0f7d;
}
case 8:
{
goto IL_0d2e;
}
case 9:
{
goto IL_0f7d;
}
case 10:
{
goto IL_0f7d;
}
case 11:
{
goto IL_0f7d;
}
case 12:
{
goto IL_0f7d;
}
case 13:
{
goto IL_0f7d;
}
case 14:
{
goto IL_0f7d;
}
case 15:
{
goto IL_0f7d;
}
case 16:
{
goto IL_0f7d;
}
case 17:
{
goto IL_0f7d;
}
case 18:
{
goto IL_0f7d;
}
case 19:
{
goto IL_0f7d;
}
case 20:
{
goto IL_0f7d;
}
case 21:
{
goto IL_0f7d;
}
case 22:
{
goto IL_0f7d;
}
case 23:
{
goto IL_0f7d;
}
case 24:
{
goto IL_0f7d;
}
case 25:
{
goto IL_0f7d;
}
case 26:
{
goto IL_0f7d;
}
case 27:
{
goto IL_0f7d;
}
case 28:
{
goto IL_0d39;
}
case 29:
{
goto IL_0d44;
}
case 30:
{
goto IL_0d4f;
}
case 31:
{
goto IL_0d5a;
}
case 32:
{
goto IL_0d65;
}
case 33:
{
goto IL_0d70;
}
case 34:
{
goto IL_0d7b;
}
case 35:
{
goto IL_0d86;
}
case 36:
{
goto IL_0d91;
}
case 37:
{
goto IL_0d9c;
}
case 38:
{
goto IL_0da7;
}
case 39:
{
goto IL_0db2;
}
case 40:
{
goto IL_0dbd;
}
case 41:
{
goto IL_0dc8;
}
case 42:
{
goto IL_0dd3;
}
case 43:
{
goto IL_0dde;
}
case 44:
{
goto IL_0de9;
}
case 45:
{
goto IL_0df4;
}
case 46:
{
goto IL_0dff;
}
case 47:
{
goto IL_0e0a;
}
case 48:
{
goto IL_0e15;
}
case 49:
{
goto IL_0e20;
}
case 50:
{
goto IL_0e2b;
}
case 51:
{
goto IL_0e36;
}
case 52:
{
goto IL_0e41;
}
case 53:
{
goto IL_0e4c;
}
case 54:
{
goto IL_0e57;
}
case 55:
{
goto IL_0e62;
}
case 56:
{
goto IL_0e6d;
}
}
}
{
int32_t L_51 = V_0;
if ((((int32_t)L_51) == ((int32_t)((int32_t)9600))))
{
goto IL_0e78;
}
}
{
goto IL_0f7d;
}
IL_0756:
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) > ((int32_t)((int32_t)9608))))
{
goto IL_0779;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)9604))))
{
goto IL_0e83;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) == ((int32_t)((int32_t)9608))))
{
goto IL_0e8e;
}
}
{
goto IL_0f7d;
}
IL_0779:
{
int32_t L_55 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_55, (int32_t)((int32_t)9612))))
{
case 0:
{
goto IL_0e99;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0f7d;
}
case 4:
{
goto IL_0ea4;
}
case 5:
{
goto IL_0eaf;
}
case 6:
{
goto IL_0eba;
}
case 7:
{
goto IL_0ec5;
}
}
}
{
int32_t L_56 = V_0;
if ((((int32_t)L_56) == ((int32_t)((int32_t)9632))))
{
goto IL_0ed0;
}
}
{
goto IL_0f7d;
}
IL_07b5:
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) > ((int32_t)((int32_t)9675))))
{
goto IL_0811;
}
}
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) > ((int32_t)((int32_t)9658))))
{
goto IL_07eb;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9644))))
{
goto IL_0edb;
}
}
{
int32_t L_60 = V_0;
if ((((int32_t)L_60) == ((int32_t)((int32_t)9650))))
{
goto IL_0ee3;
}
}
{
int32_t L_61 = V_0;
if ((((int32_t)L_61) == ((int32_t)((int32_t)9658))))
{
goto IL_0eeb;
}
}
{
goto IL_0f7d;
}
IL_07eb:
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) == ((int32_t)((int32_t)9660))))
{
goto IL_0ef3;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9668))))
{
goto IL_0efb;
}
}
{
int32_t L_64 = V_0;
if ((((int32_t)L_64) == ((int32_t)((int32_t)9675))))
{
goto IL_0f03;
}
}
{
goto IL_0f7d;
}
IL_0811:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) > ((int32_t)((int32_t)9794))))
{
goto IL_0864;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) == ((int32_t)((int32_t)9688))))
{
goto IL_0f0b;
}
}
{
int32_t L_67 = V_0;
if ((((int32_t)L_67) == ((int32_t)((int32_t)9689))))
{
goto IL_0f12;
}
}
{
int32_t L_68 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_68, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0f1a;
}
case 1:
{
goto IL_0f21;
}
case 2:
{
goto IL_0f28;
}
case 3:
{
goto IL_0f7d;
}
case 4:
{
goto IL_0f7d;
}
case 5:
{
goto IL_0f7d;
}
case 6:
{
goto IL_0f30;
}
case 7:
{
goto IL_0f7d;
}
case 8:
{
goto IL_0f35;
}
}
}
{
goto IL_0f7d;
}
IL_0864:
{
int32_t L_69 = V_0;
if ((((int32_t)L_69) > ((int32_t)((int32_t)9834))))
{
goto IL_08a4;
}
}
{
int32_t L_70 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_70, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0f3a;
}
case 1:
{
goto IL_0f7d;
}
case 2:
{
goto IL_0f7d;
}
case 3:
{
goto IL_0f3e;
}
case 4:
{
goto IL_0f7d;
}
case 5:
{
goto IL_0f42;
}
case 6:
{
goto IL_0f46;
}
}
}
{
int32_t L_71 = V_0;
if ((((int32_t)L_71) == ((int32_t)((int32_t)9834))))
{
goto IL_0f4a;
}
}
{
goto IL_0f7d;
}
IL_08a4:
{
int32_t L_72 = V_0;
if ((((int32_t)L_72) == ((int32_t)((int32_t)9835))))
{
goto IL_0f4f;
}
}
{
int32_t L_73 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_73, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0f54;
}
case 1:
{
goto IL_0f5c;
}
case 2:
{
goto IL_0f61;
}
case 3:
{
goto IL_0f66;
}
case 4:
{
goto IL_0f6b;
}
case 5:
{
goto IL_0f70;
}
case 6:
{
goto IL_0f78;
}
}
}
{
goto IL_0f7d;
}
IL_08dc:
{
V_0 = ((int32_t)127);
goto IL_0fb4;
}
IL_08e4:
{
V_0 = ((int32_t)26);
goto IL_0fb4;
}
IL_08ec:
{
V_0 = ((int32_t)28);
goto IL_0fb4;
}
IL_08f4:
{
V_0 = ((int32_t)255);
goto IL_0fb4;
}
IL_08ff:
{
V_0 = ((int32_t)173);
goto IL_0fb4;
}
IL_090a:
{
V_0 = ((int32_t)156);
goto IL_0fb4;
}
IL_0915:
{
V_0 = ((int32_t)21);
goto IL_0fb4;
}
IL_091d:
{
V_0 = ((int32_t)174);
goto IL_0fb4;
}
IL_0928:
{
V_0 = ((int32_t)170);
goto IL_0fb4;
}
IL_0933:
{
V_0 = ((int32_t)248);
goto IL_0fb4;
}
IL_093e:
{
V_0 = ((int32_t)241);
goto IL_0fb4;
}
IL_0949:
{
V_0 = ((int32_t)253);
goto IL_0fb4;
}
IL_0954:
{
V_0 = ((int32_t)20);
goto IL_0fb4;
}
IL_095c:
{
V_0 = ((int32_t)250);
goto IL_0fb4;
}
IL_0967:
{
V_0 = ((int32_t)175);
goto IL_0fb4;
}
IL_0972:
{
V_0 = ((int32_t)172);
goto IL_0fb4;
}
IL_097d:
{
V_0 = ((int32_t)171);
goto IL_0fb4;
}
IL_0988:
{
V_0 = ((int32_t)168);
goto IL_0fb4;
}
IL_0993:
{
V_0 = ((int32_t)164);
goto IL_0fb4;
}
IL_099e:
{
V_0 = ((int32_t)142);
goto IL_0fb4;
}
IL_09a9:
{
V_0 = ((int32_t)143);
goto IL_0fb4;
}
IL_09b4:
{
V_0 = ((int32_t)146);
goto IL_0fb4;
}
IL_09bf:
{
V_0 = ((int32_t)128);
goto IL_0fb4;
}
IL_09ca:
{
V_0 = ((int32_t)144);
goto IL_0fb4;
}
IL_09d5:
{
V_0 = ((int32_t)165);
goto IL_0fb4;
}
IL_09e0:
{
V_0 = ((int32_t)139);
goto IL_0fb4;
}
IL_09eb:
{
V_0 = ((int32_t)166);
goto IL_0fb4;
}
IL_09f6:
{
V_0 = ((int32_t)153);
goto IL_0fb4;
}
IL_0a01:
{
V_0 = ((int32_t)157);
goto IL_0fb4;
}
IL_0a0c:
{
V_0 = ((int32_t)167);
goto IL_0fb4;
}
IL_0a17:
{
V_0 = ((int32_t)154);
goto IL_0fb4;
}
IL_0a22:
{
V_0 = ((int32_t)151);
goto IL_0fb4;
}
IL_0a2d:
{
V_0 = ((int32_t)141);
goto IL_0fb4;
}
IL_0a38:
{
V_0 = ((int32_t)225);
goto IL_0fb4;
}
IL_0a43:
{
V_0 = ((int32_t)133);
goto IL_0fb4;
}
IL_0a4e:
{
V_0 = ((int32_t)160);
goto IL_0fb4;
}
IL_0a59:
{
V_0 = ((int32_t)131);
goto IL_0fb4;
}
IL_0a64:
{
V_0 = ((int32_t)132);
goto IL_0fb4;
}
IL_0a6f:
{
V_0 = ((int32_t)134);
goto IL_0fb4;
}
IL_0a7a:
{
V_0 = ((int32_t)145);
goto IL_0fb4;
}
IL_0a85:
{
V_0 = ((int32_t)135);
goto IL_0fb4;
}
IL_0a90:
{
V_0 = ((int32_t)138);
goto IL_0fb4;
}
IL_0a9b:
{
V_0 = ((int32_t)130);
goto IL_0fb4;
}
IL_0aa6:
{
V_0 = ((int32_t)136);
goto IL_0fb4;
}
IL_0ab1:
{
V_0 = ((int32_t)137);
goto IL_0fb4;
}
IL_0abc:
{
V_0 = ((int32_t)161);
goto IL_0fb4;
}
IL_0ac7:
{
V_0 = ((int32_t)140);
goto IL_0fb4;
}
IL_0ad2:
{
V_0 = ((int32_t)162);
goto IL_0fb4;
}
IL_0add:
{
V_0 = ((int32_t)147);
goto IL_0fb4;
}
IL_0ae8:
{
V_0 = ((int32_t)148);
goto IL_0fb4;
}
IL_0af3:
{
V_0 = ((int32_t)246);
goto IL_0fb4;
}
IL_0afe:
{
V_0 = ((int32_t)155);
goto IL_0fb4;
}
IL_0b09:
{
V_0 = ((int32_t)163);
goto IL_0fb4;
}
IL_0b14:
{
V_0 = ((int32_t)150);
goto IL_0fb4;
}
IL_0b1f:
{
V_0 = ((int32_t)129);
goto IL_0fb4;
}
IL_0b2a:
{
V_0 = ((int32_t)152);
goto IL_0fb4;
}
IL_0b35:
{
V_0 = ((int32_t)149);
goto IL_0fb4;
}
IL_0b40:
{
V_0 = ((int32_t)159);
goto IL_0fb4;
}
IL_0b4b:
{
V_0 = ((int32_t)226);
goto IL_0fb4;
}
IL_0b56:
{
V_0 = ((int32_t)233);
goto IL_0fb4;
}
IL_0b61:
{
V_0 = ((int32_t)228);
goto IL_0fb4;
}
IL_0b6c:
{
V_0 = ((int32_t)232);
goto IL_0fb4;
}
IL_0b77:
{
V_0 = ((int32_t)234);
goto IL_0fb4;
}
IL_0b82:
{
V_0 = ((int32_t)224);
goto IL_0fb4;
}
IL_0b8d:
{
V_0 = ((int32_t)235);
goto IL_0fb4;
}
IL_0b98:
{
V_0 = ((int32_t)238);
goto IL_0fb4;
}
IL_0ba3:
{
V_0 = ((int32_t)230);
goto IL_0fb4;
}
IL_0bae:
{
V_0 = ((int32_t)227);
goto IL_0fb4;
}
IL_0bb9:
{
V_0 = ((int32_t)229);
goto IL_0fb4;
}
IL_0bc4:
{
V_0 = ((int32_t)231);
goto IL_0fb4;
}
IL_0bcf:
{
V_0 = ((int32_t)237);
goto IL_0fb4;
}
IL_0bda:
{
V_0 = 7;
goto IL_0fb4;
}
IL_0be1:
{
V_0 = ((int32_t)19);
goto IL_0fb4;
}
IL_0be9:
{
V_0 = ((int32_t)252);
goto IL_0fb4;
}
IL_0bf4:
{
V_0 = ((int32_t)158);
goto IL_0fb4;
}
IL_0bff:
{
V_0 = ((int32_t)27);
goto IL_0fb4;
}
IL_0c07:
{
V_0 = ((int32_t)24);
goto IL_0fb4;
}
IL_0c0f:
{
V_0 = ((int32_t)26);
goto IL_0fb4;
}
IL_0c17:
{
V_0 = ((int32_t)25);
goto IL_0fb4;
}
IL_0c1f:
{
V_0 = ((int32_t)29);
goto IL_0fb4;
}
IL_0c27:
{
V_0 = ((int32_t)18);
goto IL_0fb4;
}
IL_0c2f:
{
V_0 = ((int32_t)23);
goto IL_0fb4;
}
IL_0c37:
{
V_0 = ((int32_t)249);
goto IL_0fb4;
}
IL_0c42:
{
V_0 = ((int32_t)251);
goto IL_0fb4;
}
IL_0c4d:
{
V_0 = ((int32_t)236);
goto IL_0fb4;
}
IL_0c58:
{
V_0 = ((int32_t)28);
goto IL_0fb4;
}
IL_0c60:
{
V_0 = ((int32_t)239);
goto IL_0fb4;
}
IL_0c6b:
{
V_0 = ((int32_t)247);
goto IL_0fb4;
}
IL_0c76:
{
V_0 = ((int32_t)240);
goto IL_0fb4;
}
IL_0c81:
{
V_0 = ((int32_t)243);
goto IL_0fb4;
}
IL_0c8c:
{
V_0 = ((int32_t)242);
goto IL_0fb4;
}
IL_0c97:
{
V_0 = ((int32_t)127);
goto IL_0fb4;
}
IL_0c9f:
{
V_0 = ((int32_t)169);
goto IL_0fb4;
}
IL_0caa:
{
V_0 = ((int32_t)244);
goto IL_0fb4;
}
IL_0cb5:
{
V_0 = ((int32_t)245);
goto IL_0fb4;
}
IL_0cc0:
{
V_0 = ((int32_t)196);
goto IL_0fb4;
}
IL_0ccb:
{
V_0 = ((int32_t)179);
goto IL_0fb4;
}
IL_0cd6:
{
V_0 = ((int32_t)218);
goto IL_0fb4;
}
IL_0ce1:
{
V_0 = ((int32_t)191);
goto IL_0fb4;
}
IL_0cec:
{
V_0 = ((int32_t)192);
goto IL_0fb4;
}
IL_0cf7:
{
V_0 = ((int32_t)217);
goto IL_0fb4;
}
IL_0d02:
{
V_0 = ((int32_t)195);
goto IL_0fb4;
}
IL_0d0d:
{
V_0 = ((int32_t)180);
goto IL_0fb4;
}
IL_0d18:
{
V_0 = ((int32_t)194);
goto IL_0fb4;
}
IL_0d23:
{
V_0 = ((int32_t)193);
goto IL_0fb4;
}
IL_0d2e:
{
V_0 = ((int32_t)197);
goto IL_0fb4;
}
IL_0d39:
{
V_0 = ((int32_t)205);
goto IL_0fb4;
}
IL_0d44:
{
V_0 = ((int32_t)186);
goto IL_0fb4;
}
IL_0d4f:
{
V_0 = ((int32_t)213);
goto IL_0fb4;
}
IL_0d5a:
{
V_0 = ((int32_t)214);
goto IL_0fb4;
}
IL_0d65:
{
V_0 = ((int32_t)201);
goto IL_0fb4;
}
IL_0d70:
{
V_0 = ((int32_t)184);
goto IL_0fb4;
}
IL_0d7b:
{
V_0 = ((int32_t)183);
goto IL_0fb4;
}
IL_0d86:
{
V_0 = ((int32_t)187);
goto IL_0fb4;
}
IL_0d91:
{
V_0 = ((int32_t)212);
goto IL_0fb4;
}
IL_0d9c:
{
V_0 = ((int32_t)211);
goto IL_0fb4;
}
IL_0da7:
{
V_0 = ((int32_t)200);
goto IL_0fb4;
}
IL_0db2:
{
V_0 = ((int32_t)190);
goto IL_0fb4;
}
IL_0dbd:
{
V_0 = ((int32_t)189);
goto IL_0fb4;
}
IL_0dc8:
{
V_0 = ((int32_t)188);
goto IL_0fb4;
}
IL_0dd3:
{
V_0 = ((int32_t)198);
goto IL_0fb4;
}
IL_0dde:
{
V_0 = ((int32_t)199);
goto IL_0fb4;
}
IL_0de9:
{
V_0 = ((int32_t)204);
goto IL_0fb4;
}
IL_0df4:
{
V_0 = ((int32_t)181);
goto IL_0fb4;
}
IL_0dff:
{
V_0 = ((int32_t)182);
goto IL_0fb4;
}
IL_0e0a:
{
V_0 = ((int32_t)185);
goto IL_0fb4;
}
IL_0e15:
{
V_0 = ((int32_t)209);
goto IL_0fb4;
}
IL_0e20:
{
V_0 = ((int32_t)210);
goto IL_0fb4;
}
IL_0e2b:
{
V_0 = ((int32_t)203);
goto IL_0fb4;
}
IL_0e36:
{
V_0 = ((int32_t)207);
goto IL_0fb4;
}
IL_0e41:
{
V_0 = ((int32_t)208);
goto IL_0fb4;
}
IL_0e4c:
{
V_0 = ((int32_t)202);
goto IL_0fb4;
}
IL_0e57:
{
V_0 = ((int32_t)216);
goto IL_0fb4;
}
IL_0e62:
{
V_0 = ((int32_t)215);
goto IL_0fb4;
}
IL_0e6d:
{
V_0 = ((int32_t)206);
goto IL_0fb4;
}
IL_0e78:
{
V_0 = ((int32_t)223);
goto IL_0fb4;
}
IL_0e83:
{
V_0 = ((int32_t)220);
goto IL_0fb4;
}
IL_0e8e:
{
V_0 = ((int32_t)219);
goto IL_0fb4;
}
IL_0e99:
{
V_0 = ((int32_t)221);
goto IL_0fb4;
}
IL_0ea4:
{
V_0 = ((int32_t)222);
goto IL_0fb4;
}
IL_0eaf:
{
V_0 = ((int32_t)176);
goto IL_0fb4;
}
IL_0eba:
{
V_0 = ((int32_t)177);
goto IL_0fb4;
}
IL_0ec5:
{
V_0 = ((int32_t)178);
goto IL_0fb4;
}
IL_0ed0:
{
V_0 = ((int32_t)254);
goto IL_0fb4;
}
IL_0edb:
{
V_0 = ((int32_t)22);
goto IL_0fb4;
}
IL_0ee3:
{
V_0 = ((int32_t)30);
goto IL_0fb4;
}
IL_0eeb:
{
V_0 = ((int32_t)16);
goto IL_0fb4;
}
IL_0ef3:
{
V_0 = ((int32_t)31);
goto IL_0fb4;
}
IL_0efb:
{
V_0 = ((int32_t)17);
goto IL_0fb4;
}
IL_0f03:
{
V_0 = ((int32_t)9);
goto IL_0fb4;
}
IL_0f0b:
{
V_0 = 8;
goto IL_0fb4;
}
IL_0f12:
{
V_0 = ((int32_t)10);
goto IL_0fb4;
}
IL_0f1a:
{
V_0 = 1;
goto IL_0fb4;
}
IL_0f21:
{
V_0 = 2;
goto IL_0fb4;
}
IL_0f28:
{
V_0 = ((int32_t)15);
goto IL_0fb4;
}
IL_0f30:
{
V_0 = ((int32_t)12);
goto IL_0fb4;
}
IL_0f35:
{
V_0 = ((int32_t)11);
goto IL_0fb4;
}
IL_0f3a:
{
V_0 = 6;
goto IL_0fb4;
}
IL_0f3e:
{
V_0 = 5;
goto IL_0fb4;
}
IL_0f42:
{
V_0 = 3;
goto IL_0fb4;
}
IL_0f46:
{
V_0 = 4;
goto IL_0fb4;
}
IL_0f4a:
{
V_0 = ((int32_t)13);
goto IL_0fb4;
}
IL_0f4f:
{
V_0 = ((int32_t)14);
goto IL_0fb4;
}
IL_0f54:
{
V_0 = ((int32_t)179);
goto IL_0fb4;
}
IL_0f5c:
{
V_0 = ((int32_t)27);
goto IL_0fb4;
}
IL_0f61:
{
V_0 = ((int32_t)24);
goto IL_0fb4;
}
IL_0f66:
{
V_0 = ((int32_t)26);
goto IL_0fb4;
}
IL_0f6b:
{
V_0 = ((int32_t)25);
goto IL_0fb4;
}
IL_0f70:
{
V_0 = ((int32_t)254);
goto IL_0fb4;
}
IL_0f78:
{
V_0 = ((int32_t)9);
goto IL_0fb4;
}
IL_0f7d:
{
int32_t L_74 = V_0;
if ((((int32_t)L_74) < ((int32_t)((int32_t)65281))))
{
goto IL_0f97;
}
}
{
int32_t L_75 = V_0;
if ((((int32_t)L_75) > ((int32_t)((int32_t)65374))))
{
goto IL_0f97;
}
}
{
int32_t L_76 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_76, (int32_t)((int32_t)65248)));
goto IL_0fb4;
}
IL_0f97:
{
Il2CppChar* L_77 = ___chars0;
uint8_t* L_78 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_77, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_78, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_79 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_79, (int32_t)1));
int32_t L_80 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_80, (int32_t)1));
goto IL_0fd2;
}
IL_0fb4:
{
uint8_t* L_81 = ___bytes2;
if ((((intptr_t)L_81) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0fbf;
}
}
{
uint8_t* L_82 = ___bytes2;
int32_t L_83 = V_2;
int32_t L_84 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_82, (int32_t)L_83)))) = (int8_t)(((int32_t)((uint8_t)L_84)));
}
IL_0fbf:
{
int32_t L_85 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_85, (int32_t)1));
int32_t L_86 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_86, (int32_t)1));
int32_t L_87 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_87, (int32_t)1));
int32_t L_88 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_88, (int32_t)1));
}
IL_0fd2:
{
int32_t L_89 = ___charCount1;
if ((((int32_t)L_89) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_90 = V_2;
return L_90;
}
}
// System.Void I18N.West.CP861::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP861__cctor_m1382036197 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP861__cctor_m1382036197_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____D5DB24A984219B0001B4B86CDE1E0DF54572D83A_12_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP861_t2877197398_StaticFields*)il2cpp_codegen_static_fields_for(CP861_t2877197398_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP863::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP863__ctor_m2017561793 (CP863_t1714397984 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP863__ctor_m2017561793_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP863_t1714397984_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP863_t1714397984_StaticFields*)il2cpp_codegen_static_fields_for(CP863_t1714397984_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)863), L_0, _stringLiteral3222297718, _stringLiteral1558726372, _stringLiteral1558726372, _stringLiteral1558726372, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP863::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP863_GetByteCountImpl_m419338514 (CP863_t1714397984 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP863::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP863_GetByteCount_m2212905267 (CP863_t1714397984 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP863::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP863_ToBytes_m1393587056 (CP863_t1714397984 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP863_ToBytes_m1393587056_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP863_ToBytes_m1393587056_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP863::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP863_GetBytesImpl_m2222699445 (CP863_t1714397984 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0fdd;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)26))))
{
goto IL_0fbf;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9472))))
{
goto IL_05d1;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)8252))))
{
goto IL_04bb;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)934))))
{
goto IL_041d;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)915))))
{
goto IL_03f7;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)26))))
{
case 0:
{
goto IL_08ec;
}
case 1:
{
goto IL_0fbf;
}
case 2:
{
goto IL_08f4;
}
case 3:
{
goto IL_0fbf;
}
case 4:
{
goto IL_0fbf;
}
case 5:
{
goto IL_0fbf;
}
case 6:
{
goto IL_0fbf;
}
case 7:
{
goto IL_0fbf;
}
case 8:
{
goto IL_0fbf;
}
case 9:
{
goto IL_0fbf;
}
case 10:
{
goto IL_0fbf;
}
case 11:
{
goto IL_0fbf;
}
case 12:
{
goto IL_0fbf;
}
case 13:
{
goto IL_0fbf;
}
case 14:
{
goto IL_0fbf;
}
case 15:
{
goto IL_0fbf;
}
case 16:
{
goto IL_0fbf;
}
case 17:
{
goto IL_0fbf;
}
case 18:
{
goto IL_0fbf;
}
case 19:
{
goto IL_0fbf;
}
case 20:
{
goto IL_0fbf;
}
case 21:
{
goto IL_0fbf;
}
case 22:
{
goto IL_0fbf;
}
case 23:
{
goto IL_0fbf;
}
case 24:
{
goto IL_0fbf;
}
case 25:
{
goto IL_0fbf;
}
case 26:
{
goto IL_0fbf;
}
case 27:
{
goto IL_0fbf;
}
case 28:
{
goto IL_0fbf;
}
case 29:
{
goto IL_0fbf;
}
case 30:
{
goto IL_0fbf;
}
case 31:
{
goto IL_0fbf;
}
case 32:
{
goto IL_0fbf;
}
case 33:
{
goto IL_0fbf;
}
case 34:
{
goto IL_0fbf;
}
case 35:
{
goto IL_0fbf;
}
case 36:
{
goto IL_0fbf;
}
case 37:
{
goto IL_0fbf;
}
case 38:
{
goto IL_0fbf;
}
case 39:
{
goto IL_0fbf;
}
case 40:
{
goto IL_0fbf;
}
case 41:
{
goto IL_0fbf;
}
case 42:
{
goto IL_0fbf;
}
case 43:
{
goto IL_0fbf;
}
case 44:
{
goto IL_0fbf;
}
case 45:
{
goto IL_0fbf;
}
case 46:
{
goto IL_0fbf;
}
case 47:
{
goto IL_0fbf;
}
case 48:
{
goto IL_0fbf;
}
case 49:
{
goto IL_0fbf;
}
case 50:
{
goto IL_0fbf;
}
case 51:
{
goto IL_0fbf;
}
case 52:
{
goto IL_0fbf;
}
case 53:
{
goto IL_0fbf;
}
case 54:
{
goto IL_0fbf;
}
case 55:
{
goto IL_0fbf;
}
case 56:
{
goto IL_0fbf;
}
case 57:
{
goto IL_0fbf;
}
case 58:
{
goto IL_0fbf;
}
case 59:
{
goto IL_0fbf;
}
case 60:
{
goto IL_0fbf;
}
case 61:
{
goto IL_0fbf;
}
case 62:
{
goto IL_0fbf;
}
case 63:
{
goto IL_0fbf;
}
case 64:
{
goto IL_0fbf;
}
case 65:
{
goto IL_0fbf;
}
case 66:
{
goto IL_0fbf;
}
case 67:
{
goto IL_0fbf;
}
case 68:
{
goto IL_0fbf;
}
case 69:
{
goto IL_0fbf;
}
case 70:
{
goto IL_0fbf;
}
case 71:
{
goto IL_0fbf;
}
case 72:
{
goto IL_0fbf;
}
case 73:
{
goto IL_0fbf;
}
case 74:
{
goto IL_0fbf;
}
case 75:
{
goto IL_0fbf;
}
case 76:
{
goto IL_0fbf;
}
case 77:
{
goto IL_0fbf;
}
case 78:
{
goto IL_0fbf;
}
case 79:
{
goto IL_0fbf;
}
case 80:
{
goto IL_0fbf;
}
case 81:
{
goto IL_0fbf;
}
case 82:
{
goto IL_0fbf;
}
case 83:
{
goto IL_0fbf;
}
case 84:
{
goto IL_0fbf;
}
case 85:
{
goto IL_0fbf;
}
case 86:
{
goto IL_0fbf;
}
case 87:
{
goto IL_0fbf;
}
case 88:
{
goto IL_0fbf;
}
case 89:
{
goto IL_0fbf;
}
case 90:
{
goto IL_0fbf;
}
case 91:
{
goto IL_0fbf;
}
case 92:
{
goto IL_0fbf;
}
case 93:
{
goto IL_0fbf;
}
case 94:
{
goto IL_0fbf;
}
case 95:
{
goto IL_0fbf;
}
case 96:
{
goto IL_0fbf;
}
case 97:
{
goto IL_0fbf;
}
case 98:
{
goto IL_0fbf;
}
case 99:
{
goto IL_0fbf;
}
case 100:
{
goto IL_0fbf;
}
case 101:
{
goto IL_08fc;
}
case 102:
{
goto IL_0f88;
}
case 103:
{
goto IL_0f88;
}
case 104:
{
goto IL_0f88;
}
case 105:
{
goto IL_0f88;
}
case 106:
{
goto IL_0f88;
}
case 107:
{
goto IL_0f88;
}
case 108:
{
goto IL_0f88;
}
case 109:
{
goto IL_0f88;
}
case 110:
{
goto IL_0f88;
}
case 111:
{
goto IL_0f88;
}
case 112:
{
goto IL_0f88;
}
case 113:
{
goto IL_0f88;
}
case 114:
{
goto IL_0f88;
}
case 115:
{
goto IL_0f88;
}
case 116:
{
goto IL_0f88;
}
case 117:
{
goto IL_0f88;
}
case 118:
{
goto IL_0f88;
}
case 119:
{
goto IL_0f88;
}
case 120:
{
goto IL_0f88;
}
case 121:
{
goto IL_0f88;
}
case 122:
{
goto IL_0f88;
}
case 123:
{
goto IL_0f88;
}
case 124:
{
goto IL_0f88;
}
case 125:
{
goto IL_0f88;
}
case 126:
{
goto IL_0f88;
}
case 127:
{
goto IL_0f88;
}
case 128:
{
goto IL_0f88;
}
case 129:
{
goto IL_0f88;
}
case 130:
{
goto IL_0f88;
}
case 131:
{
goto IL_0f88;
}
case 132:
{
goto IL_0f88;
}
case 133:
{
goto IL_0f88;
}
case 134:
{
goto IL_0904;
}
case 135:
{
goto IL_0f88;
}
case 136:
{
goto IL_090f;
}
case 137:
{
goto IL_091a;
}
case 138:
{
goto IL_0925;
}
case 139:
{
goto IL_0f88;
}
case 140:
{
goto IL_0930;
}
case 141:
{
goto IL_093b;
}
case 142:
{
goto IL_0946;
}
case 143:
{
goto IL_0f88;
}
case 144:
{
goto IL_0f88;
}
case 145:
{
goto IL_0951;
}
case 146:
{
goto IL_095c;
}
case 147:
{
goto IL_0f88;
}
case 148:
{
goto IL_0f88;
}
case 149:
{
goto IL_0967;
}
case 150:
{
goto IL_0972;
}
case 151:
{
goto IL_097d;
}
case 152:
{
goto IL_0988;
}
case 153:
{
goto IL_0993;
}
case 154:
{
goto IL_099e;
}
case 155:
{
goto IL_0f88;
}
case 156:
{
goto IL_09a9;
}
case 157:
{
goto IL_09b4;
}
case 158:
{
goto IL_09bf;
}
case 159:
{
goto IL_0f88;
}
case 160:
{
goto IL_0f88;
}
case 161:
{
goto IL_09ca;
}
case 162:
{
goto IL_09d5;
}
case 163:
{
goto IL_09e0;
}
case 164:
{
goto IL_09eb;
}
case 165:
{
goto IL_0f88;
}
case 166:
{
goto IL_09f6;
}
case 167:
{
goto IL_0f88;
}
case 168:
{
goto IL_0a01;
}
case 169:
{
goto IL_0f88;
}
case 170:
{
goto IL_0f88;
}
case 171:
{
goto IL_0f88;
}
case 172:
{
goto IL_0f88;
}
case 173:
{
goto IL_0a0c;
}
case 174:
{
goto IL_0a17;
}
case 175:
{
goto IL_0a22;
}
case 176:
{
goto IL_0a2d;
}
case 177:
{
goto IL_0a38;
}
case 178:
{
goto IL_0f88;
}
case 179:
{
goto IL_0f88;
}
case 180:
{
goto IL_0a43;
}
case 181:
{
goto IL_0a4e;
}
case 182:
{
goto IL_0f88;
}
case 183:
{
goto IL_0f88;
}
case 184:
{
goto IL_0f88;
}
case 185:
{
goto IL_0f88;
}
case 186:
{
goto IL_0a59;
}
case 187:
{
goto IL_0f88;
}
case 188:
{
goto IL_0f88;
}
case 189:
{
goto IL_0f88;
}
case 190:
{
goto IL_0f88;
}
case 191:
{
goto IL_0a64;
}
case 192:
{
goto IL_0f88;
}
case 193:
{
goto IL_0a6f;
}
case 194:
{
goto IL_0a7a;
}
case 195:
{
goto IL_0f88;
}
case 196:
{
goto IL_0f88;
}
case 197:
{
goto IL_0a85;
}
case 198:
{
goto IL_0a90;
}
case 199:
{
goto IL_0f88;
}
case 200:
{
goto IL_0a9b;
}
case 201:
{
goto IL_0f88;
}
case 202:
{
goto IL_0f88;
}
case 203:
{
goto IL_0f88;
}
case 204:
{
goto IL_0f88;
}
case 205:
{
goto IL_0aa6;
}
case 206:
{
goto IL_0ab1;
}
case 207:
{
goto IL_0abc;
}
case 208:
{
goto IL_0ac7;
}
case 209:
{
goto IL_0ad2;
}
case 210:
{
goto IL_0f88;
}
case 211:
{
goto IL_0f88;
}
case 212:
{
goto IL_0add;
}
case 213:
{
goto IL_0ae8;
}
case 214:
{
goto IL_0f88;
}
case 215:
{
goto IL_0f88;
}
case 216:
{
goto IL_0f88;
}
case 217:
{
goto IL_0af3;
}
case 218:
{
goto IL_0afe;
}
case 219:
{
goto IL_0f88;
}
case 220:
{
goto IL_0f88;
}
case 221:
{
goto IL_0b09;
}
case 222:
{
goto IL_0f88;
}
case 223:
{
goto IL_0b14;
}
case 224:
{
goto IL_0b1f;
}
case 225:
{
goto IL_0b2a;
}
case 226:
{
goto IL_0b35;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)402))))
{
goto IL_0b40;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)915))))
{
goto IL_0b4b;
}
}
{
goto IL_0f88;
}
IL_03f7:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)920))))
{
goto IL_0b56;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)931))))
{
goto IL_0b61;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)934))))
{
goto IL_0b6c;
}
}
{
goto IL_0f88;
}
IL_041d:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)956))))
{
goto IL_0460;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)937))))
{
goto IL_0b77;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)945))))
{
case 0:
{
goto IL_0b82;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0b8d;
}
case 4:
{
goto IL_0b98;
}
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)956))))
{
goto IL_0ba3;
}
}
{
goto IL_0f88;
}
IL_0460:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) > ((int32_t)((int32_t)8215))))
{
goto IL_04a0;
}
}
{
int32_t L_18 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)((int32_t)960))))
{
case 0:
{
goto IL_0bae;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0bb9;
}
case 4:
{
goto IL_0bc4;
}
case 5:
{
goto IL_0f88;
}
case 6:
{
goto IL_0bcf;
}
}
}
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)8215))))
{
goto IL_0bda;
}
}
{
goto IL_0f88;
}
IL_04a0:
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8226))))
{
goto IL_0be5;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8252))))
{
goto IL_0bec;
}
}
{
goto IL_0f88;
}
IL_04bb:
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) > ((int32_t)((int32_t)8745))))
{
goto IL_0550;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) > ((int32_t)((int32_t)8597))))
{
goto IL_050d;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8254))))
{
goto IL_0bf4;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)8319))))
{
goto IL_0bff;
}
}
{
int32_t L_26 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0c0a;
}
case 1:
{
goto IL_0c12;
}
case 2:
{
goto IL_0c1a;
}
case 3:
{
goto IL_0c22;
}
case 4:
{
goto IL_0c2a;
}
case 5:
{
goto IL_0c32;
}
}
}
{
goto IL_0f88;
}
IL_050d:
{
int32_t L_27 = V_0;
if ((((int32_t)L_27) == ((int32_t)((int32_t)8616))))
{
goto IL_0c3a;
}
}
{
int32_t L_28 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_28, (int32_t)((int32_t)8729))))
{
case 0:
{
goto IL_0c42;
}
case 1:
{
goto IL_0c4d;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0f88;
}
case 4:
{
goto IL_0f88;
}
case 5:
{
goto IL_0c58;
}
case 6:
{
goto IL_0c63;
}
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)8745))))
{
goto IL_0c6b;
}
}
{
goto IL_0f88;
}
IL_0550:
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) > ((int32_t)((int32_t)8962))))
{
goto IL_0593;
}
}
{
int32_t L_31 = V_0;
if ((((int32_t)L_31) == ((int32_t)((int32_t)8776))))
{
goto IL_0c76;
}
}
{
int32_t L_32 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_32, (int32_t)((int32_t)8801))))
{
case 0:
{
goto IL_0c81;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0c8c;
}
case 4:
{
goto IL_0c97;
}
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)8962))))
{
goto IL_0ca2;
}
}
{
goto IL_0f88;
}
IL_0593:
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)8992))))
{
goto IL_05b6;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) == ((int32_t)((int32_t)8976))))
{
goto IL_0caa;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8992))))
{
goto IL_0cb5;
}
}
{
goto IL_0f88;
}
IL_05b6:
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)8993))))
{
goto IL_0cc0;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)9472))))
{
goto IL_0ccb;
}
}
{
goto IL_0f88;
}
IL_05d1:
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) > ((int32_t)((int32_t)9619))))
{
goto IL_07ad;
}
}
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) > ((int32_t)((int32_t)9500))))
{
goto IL_0638;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) > ((int32_t)((int32_t)9488))))
{
goto IL_0612;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9474))))
{
goto IL_0cd6;
}
}
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)9484))))
{
goto IL_0ce1;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9488))))
{
goto IL_0cec;
}
}
{
goto IL_0f88;
}
IL_0612:
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9492))))
{
goto IL_0cf7;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) == ((int32_t)((int32_t)9496))))
{
goto IL_0d02;
}
}
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) == ((int32_t)((int32_t)9500))))
{
goto IL_0d0d;
}
}
{
goto IL_0f88;
}
IL_0638:
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) > ((int32_t)((int32_t)9580))))
{
goto IL_074e;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9508))))
{
goto IL_0d18;
}
}
{
int32_t L_50 = V_0;
if ((((int32_t)L_50) == ((int32_t)((int32_t)9516))))
{
goto IL_0d23;
}
}
{
int32_t L_51 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)((int32_t)9524))))
{
case 0:
{
goto IL_0d2e;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0f88;
}
case 4:
{
goto IL_0f88;
}
case 5:
{
goto IL_0f88;
}
case 6:
{
goto IL_0f88;
}
case 7:
{
goto IL_0f88;
}
case 8:
{
goto IL_0d39;
}
case 9:
{
goto IL_0f88;
}
case 10:
{
goto IL_0f88;
}
case 11:
{
goto IL_0f88;
}
case 12:
{
goto IL_0f88;
}
case 13:
{
goto IL_0f88;
}
case 14:
{
goto IL_0f88;
}
case 15:
{
goto IL_0f88;
}
case 16:
{
goto IL_0f88;
}
case 17:
{
goto IL_0f88;
}
case 18:
{
goto IL_0f88;
}
case 19:
{
goto IL_0f88;
}
case 20:
{
goto IL_0f88;
}
case 21:
{
goto IL_0f88;
}
case 22:
{
goto IL_0f88;
}
case 23:
{
goto IL_0f88;
}
case 24:
{
goto IL_0f88;
}
case 25:
{
goto IL_0f88;
}
case 26:
{
goto IL_0f88;
}
case 27:
{
goto IL_0f88;
}
case 28:
{
goto IL_0d44;
}
case 29:
{
goto IL_0d4f;
}
case 30:
{
goto IL_0d5a;
}
case 31:
{
goto IL_0d65;
}
case 32:
{
goto IL_0d70;
}
case 33:
{
goto IL_0d7b;
}
case 34:
{
goto IL_0d86;
}
case 35:
{
goto IL_0d91;
}
case 36:
{
goto IL_0d9c;
}
case 37:
{
goto IL_0da7;
}
case 38:
{
goto IL_0db2;
}
case 39:
{
goto IL_0dbd;
}
case 40:
{
goto IL_0dc8;
}
case 41:
{
goto IL_0dd3;
}
case 42:
{
goto IL_0dde;
}
case 43:
{
goto IL_0de9;
}
case 44:
{
goto IL_0df4;
}
case 45:
{
goto IL_0dff;
}
case 46:
{
goto IL_0e0a;
}
case 47:
{
goto IL_0e15;
}
case 48:
{
goto IL_0e20;
}
case 49:
{
goto IL_0e2b;
}
case 50:
{
goto IL_0e36;
}
case 51:
{
goto IL_0e41;
}
case 52:
{
goto IL_0e4c;
}
case 53:
{
goto IL_0e57;
}
case 54:
{
goto IL_0e62;
}
case 55:
{
goto IL_0e6d;
}
case 56:
{
goto IL_0e78;
}
}
}
{
goto IL_0f88;
}
IL_074e:
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) > ((int32_t)((int32_t)9604))))
{
goto IL_0771;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)9600))))
{
goto IL_0e83;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) == ((int32_t)((int32_t)9604))))
{
goto IL_0e8e;
}
}
{
goto IL_0f88;
}
IL_0771:
{
int32_t L_55 = V_0;
if ((((int32_t)L_55) == ((int32_t)((int32_t)9608))))
{
goto IL_0e99;
}
}
{
int32_t L_56 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_56, (int32_t)((int32_t)9612))))
{
case 0:
{
goto IL_0ea4;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0f88;
}
case 4:
{
goto IL_0eaf;
}
case 5:
{
goto IL_0eba;
}
case 6:
{
goto IL_0ec5;
}
case 7:
{
goto IL_0ed0;
}
}
}
{
goto IL_0f88;
}
IL_07ad:
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) > ((int32_t)((int32_t)9675))))
{
goto IL_0821;
}
}
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) > ((int32_t)((int32_t)9650))))
{
goto IL_07e3;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9632))))
{
goto IL_0edb;
}
}
{
int32_t L_60 = V_0;
if ((((int32_t)L_60) == ((int32_t)((int32_t)9644))))
{
goto IL_0ee6;
}
}
{
int32_t L_61 = V_0;
if ((((int32_t)L_61) == ((int32_t)((int32_t)9650))))
{
goto IL_0eee;
}
}
{
goto IL_0f88;
}
IL_07e3:
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) > ((int32_t)((int32_t)9660))))
{
goto IL_0806;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9658))))
{
goto IL_0ef6;
}
}
{
int32_t L_64 = V_0;
if ((((int32_t)L_64) == ((int32_t)((int32_t)9660))))
{
goto IL_0efe;
}
}
{
goto IL_0f88;
}
IL_0806:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) == ((int32_t)((int32_t)9668))))
{
goto IL_0f06;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) == ((int32_t)((int32_t)9675))))
{
goto IL_0f0e;
}
}
{
goto IL_0f88;
}
IL_0821:
{
int32_t L_67 = V_0;
if ((((int32_t)L_67) > ((int32_t)((int32_t)9794))))
{
goto IL_0874;
}
}
{
int32_t L_68 = V_0;
if ((((int32_t)L_68) == ((int32_t)((int32_t)9688))))
{
goto IL_0f16;
}
}
{
int32_t L_69 = V_0;
if ((((int32_t)L_69) == ((int32_t)((int32_t)9689))))
{
goto IL_0f1d;
}
}
{
int32_t L_70 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_70, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0f25;
}
case 1:
{
goto IL_0f2c;
}
case 2:
{
goto IL_0f33;
}
case 3:
{
goto IL_0f88;
}
case 4:
{
goto IL_0f88;
}
case 5:
{
goto IL_0f88;
}
case 6:
{
goto IL_0f3b;
}
case 7:
{
goto IL_0f88;
}
case 8:
{
goto IL_0f40;
}
}
}
{
goto IL_0f88;
}
IL_0874:
{
int32_t L_71 = V_0;
if ((((int32_t)L_71) > ((int32_t)((int32_t)9834))))
{
goto IL_08b4;
}
}
{
int32_t L_72 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_72, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0f45;
}
case 1:
{
goto IL_0f88;
}
case 2:
{
goto IL_0f88;
}
case 3:
{
goto IL_0f49;
}
case 4:
{
goto IL_0f88;
}
case 5:
{
goto IL_0f4d;
}
case 6:
{
goto IL_0f51;
}
}
}
{
int32_t L_73 = V_0;
if ((((int32_t)L_73) == ((int32_t)((int32_t)9834))))
{
goto IL_0f55;
}
}
{
goto IL_0f88;
}
IL_08b4:
{
int32_t L_74 = V_0;
if ((((int32_t)L_74) == ((int32_t)((int32_t)9835))))
{
goto IL_0f5a;
}
}
{
int32_t L_75 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_75, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0f5f;
}
case 1:
{
goto IL_0f67;
}
case 2:
{
goto IL_0f6c;
}
case 3:
{
goto IL_0f71;
}
case 4:
{
goto IL_0f76;
}
case 5:
{
goto IL_0f7b;
}
case 6:
{
goto IL_0f83;
}
}
}
{
goto IL_0f88;
}
IL_08ec:
{
V_0 = ((int32_t)127);
goto IL_0fbf;
}
IL_08f4:
{
V_0 = ((int32_t)26);
goto IL_0fbf;
}
IL_08fc:
{
V_0 = ((int32_t)28);
goto IL_0fbf;
}
IL_0904:
{
V_0 = ((int32_t)255);
goto IL_0fbf;
}
IL_090f:
{
V_0 = ((int32_t)155);
goto IL_0fbf;
}
IL_091a:
{
V_0 = ((int32_t)156);
goto IL_0fbf;
}
IL_0925:
{
V_0 = ((int32_t)152);
goto IL_0fbf;
}
IL_0930:
{
V_0 = ((int32_t)160);
goto IL_0fbf;
}
IL_093b:
{
V_0 = ((int32_t)143);
goto IL_0fbf;
}
IL_0946:
{
V_0 = ((int32_t)164);
goto IL_0fbf;
}
IL_0951:
{
V_0 = ((int32_t)174);
goto IL_0fbf;
}
IL_095c:
{
V_0 = ((int32_t)170);
goto IL_0fbf;
}
IL_0967:
{
V_0 = ((int32_t)167);
goto IL_0fbf;
}
IL_0972:
{
V_0 = ((int32_t)248);
goto IL_0fbf;
}
IL_097d:
{
V_0 = ((int32_t)241);
goto IL_0fbf;
}
IL_0988:
{
V_0 = ((int32_t)253);
goto IL_0fbf;
}
IL_0993:
{
V_0 = ((int32_t)166);
goto IL_0fbf;
}
IL_099e:
{
V_0 = ((int32_t)161);
goto IL_0fbf;
}
IL_09a9:
{
V_0 = ((int32_t)134);
goto IL_0fbf;
}
IL_09b4:
{
V_0 = ((int32_t)250);
goto IL_0fbf;
}
IL_09bf:
{
V_0 = ((int32_t)165);
goto IL_0fbf;
}
IL_09ca:
{
V_0 = ((int32_t)175);
goto IL_0fbf;
}
IL_09d5:
{
V_0 = ((int32_t)172);
goto IL_0fbf;
}
IL_09e0:
{
V_0 = ((int32_t)171);
goto IL_0fbf;
}
IL_09eb:
{
V_0 = ((int32_t)173);
goto IL_0fbf;
}
IL_09f6:
{
V_0 = ((int32_t)142);
goto IL_0fbf;
}
IL_0a01:
{
V_0 = ((int32_t)132);
goto IL_0fbf;
}
IL_0a0c:
{
V_0 = ((int32_t)128);
goto IL_0fbf;
}
IL_0a17:
{
V_0 = ((int32_t)145);
goto IL_0fbf;
}
IL_0a22:
{
V_0 = ((int32_t)144);
goto IL_0fbf;
}
IL_0a2d:
{
V_0 = ((int32_t)146);
goto IL_0fbf;
}
IL_0a38:
{
V_0 = ((int32_t)148);
goto IL_0fbf;
}
IL_0a43:
{
V_0 = ((int32_t)168);
goto IL_0fbf;
}
IL_0a4e:
{
V_0 = ((int32_t)149);
goto IL_0fbf;
}
IL_0a59:
{
V_0 = ((int32_t)153);
goto IL_0fbf;
}
IL_0a64:
{
V_0 = ((int32_t)157);
goto IL_0fbf;
}
IL_0a6f:
{
V_0 = ((int32_t)158);
goto IL_0fbf;
}
IL_0a7a:
{
V_0 = ((int32_t)154);
goto IL_0fbf;
}
IL_0a85:
{
V_0 = ((int32_t)225);
goto IL_0fbf;
}
IL_0a90:
{
V_0 = ((int32_t)133);
goto IL_0fbf;
}
IL_0a9b:
{
V_0 = ((int32_t)131);
goto IL_0fbf;
}
IL_0aa6:
{
V_0 = ((int32_t)135);
goto IL_0fbf;
}
IL_0ab1:
{
V_0 = ((int32_t)138);
goto IL_0fbf;
}
IL_0abc:
{
V_0 = ((int32_t)130);
goto IL_0fbf;
}
IL_0ac7:
{
V_0 = ((int32_t)136);
goto IL_0fbf;
}
IL_0ad2:
{
V_0 = ((int32_t)137);
goto IL_0fbf;
}
IL_0add:
{
V_0 = ((int32_t)140);
goto IL_0fbf;
}
IL_0ae8:
{
V_0 = ((int32_t)139);
goto IL_0fbf;
}
IL_0af3:
{
V_0 = ((int32_t)162);
goto IL_0fbf;
}
IL_0afe:
{
V_0 = ((int32_t)147);
goto IL_0fbf;
}
IL_0b09:
{
V_0 = ((int32_t)246);
goto IL_0fbf;
}
IL_0b14:
{
V_0 = ((int32_t)151);
goto IL_0fbf;
}
IL_0b1f:
{
V_0 = ((int32_t)163);
goto IL_0fbf;
}
IL_0b2a:
{
V_0 = ((int32_t)150);
goto IL_0fbf;
}
IL_0b35:
{
V_0 = ((int32_t)129);
goto IL_0fbf;
}
IL_0b40:
{
V_0 = ((int32_t)159);
goto IL_0fbf;
}
IL_0b4b:
{
V_0 = ((int32_t)226);
goto IL_0fbf;
}
IL_0b56:
{
V_0 = ((int32_t)233);
goto IL_0fbf;
}
IL_0b61:
{
V_0 = ((int32_t)228);
goto IL_0fbf;
}
IL_0b6c:
{
V_0 = ((int32_t)232);
goto IL_0fbf;
}
IL_0b77:
{
V_0 = ((int32_t)234);
goto IL_0fbf;
}
IL_0b82:
{
V_0 = ((int32_t)224);
goto IL_0fbf;
}
IL_0b8d:
{
V_0 = ((int32_t)235);
goto IL_0fbf;
}
IL_0b98:
{
V_0 = ((int32_t)238);
goto IL_0fbf;
}
IL_0ba3:
{
V_0 = ((int32_t)230);
goto IL_0fbf;
}
IL_0bae:
{
V_0 = ((int32_t)227);
goto IL_0fbf;
}
IL_0bb9:
{
V_0 = ((int32_t)229);
goto IL_0fbf;
}
IL_0bc4:
{
V_0 = ((int32_t)231);
goto IL_0fbf;
}
IL_0bcf:
{
V_0 = ((int32_t)237);
goto IL_0fbf;
}
IL_0bda:
{
V_0 = ((int32_t)141);
goto IL_0fbf;
}
IL_0be5:
{
V_0 = 7;
goto IL_0fbf;
}
IL_0bec:
{
V_0 = ((int32_t)19);
goto IL_0fbf;
}
IL_0bf4:
{
V_0 = ((int32_t)167);
goto IL_0fbf;
}
IL_0bff:
{
V_0 = ((int32_t)252);
goto IL_0fbf;
}
IL_0c0a:
{
V_0 = ((int32_t)27);
goto IL_0fbf;
}
IL_0c12:
{
V_0 = ((int32_t)24);
goto IL_0fbf;
}
IL_0c1a:
{
V_0 = ((int32_t)26);
goto IL_0fbf;
}
IL_0c22:
{
V_0 = ((int32_t)25);
goto IL_0fbf;
}
IL_0c2a:
{
V_0 = ((int32_t)29);
goto IL_0fbf;
}
IL_0c32:
{
V_0 = ((int32_t)18);
goto IL_0fbf;
}
IL_0c3a:
{
V_0 = ((int32_t)23);
goto IL_0fbf;
}
IL_0c42:
{
V_0 = ((int32_t)249);
goto IL_0fbf;
}
IL_0c4d:
{
V_0 = ((int32_t)251);
goto IL_0fbf;
}
IL_0c58:
{
V_0 = ((int32_t)236);
goto IL_0fbf;
}
IL_0c63:
{
V_0 = ((int32_t)28);
goto IL_0fbf;
}
IL_0c6b:
{
V_0 = ((int32_t)239);
goto IL_0fbf;
}
IL_0c76:
{
V_0 = ((int32_t)247);
goto IL_0fbf;
}
IL_0c81:
{
V_0 = ((int32_t)240);
goto IL_0fbf;
}
IL_0c8c:
{
V_0 = ((int32_t)243);
goto IL_0fbf;
}
IL_0c97:
{
V_0 = ((int32_t)242);
goto IL_0fbf;
}
IL_0ca2:
{
V_0 = ((int32_t)127);
goto IL_0fbf;
}
IL_0caa:
{
V_0 = ((int32_t)169);
goto IL_0fbf;
}
IL_0cb5:
{
V_0 = ((int32_t)244);
goto IL_0fbf;
}
IL_0cc0:
{
V_0 = ((int32_t)245);
goto IL_0fbf;
}
IL_0ccb:
{
V_0 = ((int32_t)196);
goto IL_0fbf;
}
IL_0cd6:
{
V_0 = ((int32_t)179);
goto IL_0fbf;
}
IL_0ce1:
{
V_0 = ((int32_t)218);
goto IL_0fbf;
}
IL_0cec:
{
V_0 = ((int32_t)191);
goto IL_0fbf;
}
IL_0cf7:
{
V_0 = ((int32_t)192);
goto IL_0fbf;
}
IL_0d02:
{
V_0 = ((int32_t)217);
goto IL_0fbf;
}
IL_0d0d:
{
V_0 = ((int32_t)195);
goto IL_0fbf;
}
IL_0d18:
{
V_0 = ((int32_t)180);
goto IL_0fbf;
}
IL_0d23:
{
V_0 = ((int32_t)194);
goto IL_0fbf;
}
IL_0d2e:
{
V_0 = ((int32_t)193);
goto IL_0fbf;
}
IL_0d39:
{
V_0 = ((int32_t)197);
goto IL_0fbf;
}
IL_0d44:
{
V_0 = ((int32_t)205);
goto IL_0fbf;
}
IL_0d4f:
{
V_0 = ((int32_t)186);
goto IL_0fbf;
}
IL_0d5a:
{
V_0 = ((int32_t)213);
goto IL_0fbf;
}
IL_0d65:
{
V_0 = ((int32_t)214);
goto IL_0fbf;
}
IL_0d70:
{
V_0 = ((int32_t)201);
goto IL_0fbf;
}
IL_0d7b:
{
V_0 = ((int32_t)184);
goto IL_0fbf;
}
IL_0d86:
{
V_0 = ((int32_t)183);
goto IL_0fbf;
}
IL_0d91:
{
V_0 = ((int32_t)187);
goto IL_0fbf;
}
IL_0d9c:
{
V_0 = ((int32_t)212);
goto IL_0fbf;
}
IL_0da7:
{
V_0 = ((int32_t)211);
goto IL_0fbf;
}
IL_0db2:
{
V_0 = ((int32_t)200);
goto IL_0fbf;
}
IL_0dbd:
{
V_0 = ((int32_t)190);
goto IL_0fbf;
}
IL_0dc8:
{
V_0 = ((int32_t)189);
goto IL_0fbf;
}
IL_0dd3:
{
V_0 = ((int32_t)188);
goto IL_0fbf;
}
IL_0dde:
{
V_0 = ((int32_t)198);
goto IL_0fbf;
}
IL_0de9:
{
V_0 = ((int32_t)199);
goto IL_0fbf;
}
IL_0df4:
{
V_0 = ((int32_t)204);
goto IL_0fbf;
}
IL_0dff:
{
V_0 = ((int32_t)181);
goto IL_0fbf;
}
IL_0e0a:
{
V_0 = ((int32_t)182);
goto IL_0fbf;
}
IL_0e15:
{
V_0 = ((int32_t)185);
goto IL_0fbf;
}
IL_0e20:
{
V_0 = ((int32_t)209);
goto IL_0fbf;
}
IL_0e2b:
{
V_0 = ((int32_t)210);
goto IL_0fbf;
}
IL_0e36:
{
V_0 = ((int32_t)203);
goto IL_0fbf;
}
IL_0e41:
{
V_0 = ((int32_t)207);
goto IL_0fbf;
}
IL_0e4c:
{
V_0 = ((int32_t)208);
goto IL_0fbf;
}
IL_0e57:
{
V_0 = ((int32_t)202);
goto IL_0fbf;
}
IL_0e62:
{
V_0 = ((int32_t)216);
goto IL_0fbf;
}
IL_0e6d:
{
V_0 = ((int32_t)215);
goto IL_0fbf;
}
IL_0e78:
{
V_0 = ((int32_t)206);
goto IL_0fbf;
}
IL_0e83:
{
V_0 = ((int32_t)223);
goto IL_0fbf;
}
IL_0e8e:
{
V_0 = ((int32_t)220);
goto IL_0fbf;
}
IL_0e99:
{
V_0 = ((int32_t)219);
goto IL_0fbf;
}
IL_0ea4:
{
V_0 = ((int32_t)221);
goto IL_0fbf;
}
IL_0eaf:
{
V_0 = ((int32_t)222);
goto IL_0fbf;
}
IL_0eba:
{
V_0 = ((int32_t)176);
goto IL_0fbf;
}
IL_0ec5:
{
V_0 = ((int32_t)177);
goto IL_0fbf;
}
IL_0ed0:
{
V_0 = ((int32_t)178);
goto IL_0fbf;
}
IL_0edb:
{
V_0 = ((int32_t)254);
goto IL_0fbf;
}
IL_0ee6:
{
V_0 = ((int32_t)22);
goto IL_0fbf;
}
IL_0eee:
{
V_0 = ((int32_t)30);
goto IL_0fbf;
}
IL_0ef6:
{
V_0 = ((int32_t)16);
goto IL_0fbf;
}
IL_0efe:
{
V_0 = ((int32_t)31);
goto IL_0fbf;
}
IL_0f06:
{
V_0 = ((int32_t)17);
goto IL_0fbf;
}
IL_0f0e:
{
V_0 = ((int32_t)9);
goto IL_0fbf;
}
IL_0f16:
{
V_0 = 8;
goto IL_0fbf;
}
IL_0f1d:
{
V_0 = ((int32_t)10);
goto IL_0fbf;
}
IL_0f25:
{
V_0 = 1;
goto IL_0fbf;
}
IL_0f2c:
{
V_0 = 2;
goto IL_0fbf;
}
IL_0f33:
{
V_0 = ((int32_t)15);
goto IL_0fbf;
}
IL_0f3b:
{
V_0 = ((int32_t)12);
goto IL_0fbf;
}
IL_0f40:
{
V_0 = ((int32_t)11);
goto IL_0fbf;
}
IL_0f45:
{
V_0 = 6;
goto IL_0fbf;
}
IL_0f49:
{
V_0 = 5;
goto IL_0fbf;
}
IL_0f4d:
{
V_0 = 3;
goto IL_0fbf;
}
IL_0f51:
{
V_0 = 4;
goto IL_0fbf;
}
IL_0f55:
{
V_0 = ((int32_t)13);
goto IL_0fbf;
}
IL_0f5a:
{
V_0 = ((int32_t)14);
goto IL_0fbf;
}
IL_0f5f:
{
V_0 = ((int32_t)179);
goto IL_0fbf;
}
IL_0f67:
{
V_0 = ((int32_t)27);
goto IL_0fbf;
}
IL_0f6c:
{
V_0 = ((int32_t)24);
goto IL_0fbf;
}
IL_0f71:
{
V_0 = ((int32_t)26);
goto IL_0fbf;
}
IL_0f76:
{
V_0 = ((int32_t)25);
goto IL_0fbf;
}
IL_0f7b:
{
V_0 = ((int32_t)254);
goto IL_0fbf;
}
IL_0f83:
{
V_0 = ((int32_t)9);
goto IL_0fbf;
}
IL_0f88:
{
int32_t L_76 = V_0;
if ((((int32_t)L_76) < ((int32_t)((int32_t)65281))))
{
goto IL_0fa2;
}
}
{
int32_t L_77 = V_0;
if ((((int32_t)L_77) > ((int32_t)((int32_t)65374))))
{
goto IL_0fa2;
}
}
{
int32_t L_78 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_78, (int32_t)((int32_t)65248)));
goto IL_0fbf;
}
IL_0fa2:
{
Il2CppChar* L_79 = ___chars0;
uint8_t* L_80 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_79, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_80, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_81 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_81, (int32_t)1));
int32_t L_82 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_82, (int32_t)1));
goto IL_0fdd;
}
IL_0fbf:
{
uint8_t* L_83 = ___bytes2;
if ((((intptr_t)L_83) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0fca;
}
}
{
uint8_t* L_84 = ___bytes2;
int32_t L_85 = V_2;
int32_t L_86 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_84, (int32_t)L_85)))) = (int8_t)(((int32_t)((uint8_t)L_86)));
}
IL_0fca:
{
int32_t L_87 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_87, (int32_t)1));
int32_t L_88 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_88, (int32_t)1));
int32_t L_89 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_89, (int32_t)1));
int32_t L_90 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_90, (int32_t)1));
}
IL_0fdd:
{
int32_t L_91 = ___charCount1;
if ((((int32_t)L_91) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_92 = V_2;
return L_92;
}
}
// System.Void I18N.West.CP863::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP863__cctor_m1382040387 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP863__cctor_m1382040387_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____598D9433A53523A59D462896B803E416AB0B1901_6_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP863_t1714397984_StaticFields*)il2cpp_codegen_static_fields_for(CP863_t1714397984_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.CP865::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CP865__ctor_m2017562139 (CP865_t551598570 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP865__ctor_m2017562139_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP865_t551598570_il2cpp_TypeInfo_var);
CharU5BU5D_t3528271667* L_0 = ((CP865_t551598570_StaticFields*)il2cpp_codegen_static_fields_for(CP865_t551598570_il2cpp_TypeInfo_var))->get_ToChars_76();
ByteEncoding__ctor_m2650597204(__this, ((int32_t)865), L_0, _stringLiteral2147317726, _stringLiteral1558726372, _stringLiteral1558333156, _stringLiteral1558333156, (bool)0, (bool)0, (bool)0, (bool)0, ((int32_t)1252), /*hidden argument*/NULL);
return;
}
}
// System.Int32 I18N.West.CP865::GetByteCountImpl(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP865_GetByteCountImpl_m3062488915 (CP865_t551598570 * __this, Il2CppChar* ___chars0, int32_t ___count1, const RuntimeMethod* method)
{
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
Il2CppChar* L_1 = ___chars0;
int32_t L_2 = ___count1;
int32_t L_3 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_1, L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_3;
}
IL_0014:
{
int32_t L_4 = ___count1;
return L_4;
}
}
// System.Int32 I18N.West.CP865::GetByteCount(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CP865_GetByteCount_m2326116647 (CP865_t551598570 * __this, String_t* ___s0, const RuntimeMethod* method)
{
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
EncoderFallback_t1188251036 * L_0 = Encoding_get_EncoderFallback_m4088593971(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0029;
}
}
{
String_t* L_1 = ___s0;
V_1 = L_1;
String_t* L_2 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_2));
Il2CppChar* L_3 = V_0;
if (!L_3)
{
goto IL_0018;
}
}
{
Il2CppChar* L_4 = V_0;
int32_t L_5 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (int32_t)L_5));
}
IL_0018:
{
Il2CppChar* L_6 = V_0;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_m3847582255(L_7, /*hidden argument*/NULL);
int32_t L_9 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_6, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), 0);
return L_9;
}
IL_0029:
{
String_t* L_10 = ___s0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
return L_11;
}
}
// System.Void I18N.West.CP865::ToBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CP865_ToBytes_m2745119654 (CP865_t551598570 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP865_ToBytes_m2745119654_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t* L_0 = ___bytes2;
if ((!(((uintptr_t)L_0) == ((uintptr_t)(((uintptr_t)0))))))
{
goto IL_0010;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral130595687, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, CP865_ToBytes_m2745119654_RuntimeMethod_var);
}
IL_0010:
{
Il2CppChar* L_2 = ___chars0;
int32_t L_3 = ___charCount1;
uint8_t* L_4 = ___bytes2;
int32_t L_5 = ___byteCount3;
VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(48 /* System.Int32 I18N.Common.MonoEncoding::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32) */, __this, (Il2CppChar*)(Il2CppChar*)L_2, L_3, (uint8_t*)(uint8_t*)L_4, L_5);
return;
}
}
// System.Int32 I18N.West.CP865::GetBytesImpl(System.Char*,System.Int32,System.Byte*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t CP865_GetBytesImpl_m3185277730 (CP865_t551598570 * __this, Il2CppChar* ___chars0, int32_t ___charCount1, uint8_t* ___bytes2, int32_t ___byteCount3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
EncoderFallbackBuffer_t3523102303 * V_3 = NULL;
{
V_1 = 0;
V_2 = 0;
V_3 = (EncoderFallbackBuffer_t3523102303 *)NULL;
goto IL_0fd6;
}
IL_000b:
{
Il2CppChar* L_0 = ___chars0;
int32_t L_1 = V_1;
V_0 = (*((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_0, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_1)), (int32_t)2))))));
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)26))))
{
goto IL_0fb8;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)9474))))
{
goto IL_05dd;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)8319))))
{
goto IL_04c7;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)934))))
{
goto IL_0429;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)915))))
{
goto IL_0403;
}
}
{
int32_t L_7 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)26))))
{
case 0:
{
goto IL_08e0;
}
case 1:
{
goto IL_0fb8;
}
case 2:
{
goto IL_08e8;
}
case 3:
{
goto IL_0fb8;
}
case 4:
{
goto IL_0fb8;
}
case 5:
{
goto IL_0fb8;
}
case 6:
{
goto IL_0fb8;
}
case 7:
{
goto IL_0fb8;
}
case 8:
{
goto IL_0fb8;
}
case 9:
{
goto IL_0fb8;
}
case 10:
{
goto IL_0fb8;
}
case 11:
{
goto IL_0fb8;
}
case 12:
{
goto IL_0fb8;
}
case 13:
{
goto IL_0fb8;
}
case 14:
{
goto IL_0fb8;
}
case 15:
{
goto IL_0fb8;
}
case 16:
{
goto IL_0fb8;
}
case 17:
{
goto IL_0fb8;
}
case 18:
{
goto IL_0fb8;
}
case 19:
{
goto IL_0fb8;
}
case 20:
{
goto IL_0fb8;
}
case 21:
{
goto IL_0fb8;
}
case 22:
{
goto IL_0fb8;
}
case 23:
{
goto IL_0fb8;
}
case 24:
{
goto IL_0fb8;
}
case 25:
{
goto IL_0fb8;
}
case 26:
{
goto IL_0fb8;
}
case 27:
{
goto IL_0fb8;
}
case 28:
{
goto IL_0fb8;
}
case 29:
{
goto IL_0fb8;
}
case 30:
{
goto IL_0fb8;
}
case 31:
{
goto IL_0fb8;
}
case 32:
{
goto IL_0fb8;
}
case 33:
{
goto IL_0fb8;
}
case 34:
{
goto IL_0fb8;
}
case 35:
{
goto IL_0fb8;
}
case 36:
{
goto IL_0fb8;
}
case 37:
{
goto IL_0fb8;
}
case 38:
{
goto IL_0fb8;
}
case 39:
{
goto IL_0fb8;
}
case 40:
{
goto IL_0fb8;
}
case 41:
{
goto IL_0fb8;
}
case 42:
{
goto IL_0fb8;
}
case 43:
{
goto IL_0fb8;
}
case 44:
{
goto IL_0fb8;
}
case 45:
{
goto IL_0fb8;
}
case 46:
{
goto IL_0fb8;
}
case 47:
{
goto IL_0fb8;
}
case 48:
{
goto IL_0fb8;
}
case 49:
{
goto IL_0fb8;
}
case 50:
{
goto IL_0fb8;
}
case 51:
{
goto IL_0fb8;
}
case 52:
{
goto IL_0fb8;
}
case 53:
{
goto IL_0fb8;
}
case 54:
{
goto IL_0fb8;
}
case 55:
{
goto IL_0fb8;
}
case 56:
{
goto IL_0fb8;
}
case 57:
{
goto IL_0fb8;
}
case 58:
{
goto IL_0fb8;
}
case 59:
{
goto IL_0fb8;
}
case 60:
{
goto IL_0fb8;
}
case 61:
{
goto IL_0fb8;
}
case 62:
{
goto IL_0fb8;
}
case 63:
{
goto IL_0fb8;
}
case 64:
{
goto IL_0fb8;
}
case 65:
{
goto IL_0fb8;
}
case 66:
{
goto IL_0fb8;
}
case 67:
{
goto IL_0fb8;
}
case 68:
{
goto IL_0fb8;
}
case 69:
{
goto IL_0fb8;
}
case 70:
{
goto IL_0fb8;
}
case 71:
{
goto IL_0fb8;
}
case 72:
{
goto IL_0fb8;
}
case 73:
{
goto IL_0fb8;
}
case 74:
{
goto IL_0fb8;
}
case 75:
{
goto IL_0fb8;
}
case 76:
{
goto IL_0fb8;
}
case 77:
{
goto IL_0fb8;
}
case 78:
{
goto IL_0fb8;
}
case 79:
{
goto IL_0fb8;
}
case 80:
{
goto IL_0fb8;
}
case 81:
{
goto IL_0fb8;
}
case 82:
{
goto IL_0fb8;
}
case 83:
{
goto IL_0fb8;
}
case 84:
{
goto IL_0fb8;
}
case 85:
{
goto IL_0fb8;
}
case 86:
{
goto IL_0fb8;
}
case 87:
{
goto IL_0fb8;
}
case 88:
{
goto IL_0fb8;
}
case 89:
{
goto IL_0fb8;
}
case 90:
{
goto IL_0fb8;
}
case 91:
{
goto IL_0fb8;
}
case 92:
{
goto IL_0fb8;
}
case 93:
{
goto IL_0fb8;
}
case 94:
{
goto IL_0fb8;
}
case 95:
{
goto IL_0fb8;
}
case 96:
{
goto IL_0fb8;
}
case 97:
{
goto IL_0fb8;
}
case 98:
{
goto IL_0fb8;
}
case 99:
{
goto IL_0fb8;
}
case 100:
{
goto IL_0fb8;
}
case 101:
{
goto IL_08f0;
}
case 102:
{
goto IL_0f81;
}
case 103:
{
goto IL_0f81;
}
case 104:
{
goto IL_0f81;
}
case 105:
{
goto IL_0f81;
}
case 106:
{
goto IL_0f81;
}
case 107:
{
goto IL_0f81;
}
case 108:
{
goto IL_0f81;
}
case 109:
{
goto IL_0f81;
}
case 110:
{
goto IL_0f81;
}
case 111:
{
goto IL_0f81;
}
case 112:
{
goto IL_0f81;
}
case 113:
{
goto IL_0f81;
}
case 114:
{
goto IL_0f81;
}
case 115:
{
goto IL_0f81;
}
case 116:
{
goto IL_0f81;
}
case 117:
{
goto IL_0f81;
}
case 118:
{
goto IL_0f81;
}
case 119:
{
goto IL_0f81;
}
case 120:
{
goto IL_0f81;
}
case 121:
{
goto IL_0f81;
}
case 122:
{
goto IL_0f81;
}
case 123:
{
goto IL_0f81;
}
case 124:
{
goto IL_0f81;
}
case 125:
{
goto IL_0f81;
}
case 126:
{
goto IL_0f81;
}
case 127:
{
goto IL_0f81;
}
case 128:
{
goto IL_0f81;
}
case 129:
{
goto IL_0f81;
}
case 130:
{
goto IL_0f81;
}
case 131:
{
goto IL_0f81;
}
case 132:
{
goto IL_0f81;
}
case 133:
{
goto IL_0f81;
}
case 134:
{
goto IL_08f8;
}
case 135:
{
goto IL_0903;
}
case 136:
{
goto IL_0f81;
}
case 137:
{
goto IL_090e;
}
case 138:
{
goto IL_0919;
}
case 139:
{
goto IL_0f81;
}
case 140:
{
goto IL_0f81;
}
case 141:
{
goto IL_0924;
}
case 142:
{
goto IL_0f81;
}
case 143:
{
goto IL_0f81;
}
case 144:
{
goto IL_092c;
}
case 145:
{
goto IL_0937;
}
case 146:
{
goto IL_0942;
}
case 147:
{
goto IL_0f81;
}
case 148:
{
goto IL_0f81;
}
case 149:
{
goto IL_0f81;
}
case 150:
{
goto IL_094d;
}
case 151:
{
goto IL_0958;
}
case 152:
{
goto IL_0963;
}
case 153:
{
goto IL_0f81;
}
case 154:
{
goto IL_0f81;
}
case 155:
{
goto IL_0f81;
}
case 156:
{
goto IL_096e;
}
case 157:
{
goto IL_0976;
}
case 158:
{
goto IL_0f81;
}
case 159:
{
goto IL_0f81;
}
case 160:
{
goto IL_0981;
}
case 161:
{
goto IL_0f81;
}
case 162:
{
goto IL_098c;
}
case 163:
{
goto IL_0997;
}
case 164:
{
goto IL_0f81;
}
case 165:
{
goto IL_09a2;
}
case 166:
{
goto IL_0f81;
}
case 167:
{
goto IL_0f81;
}
case 168:
{
goto IL_0f81;
}
case 169:
{
goto IL_0f81;
}
case 170:
{
goto IL_09ad;
}
case 171:
{
goto IL_09b8;
}
case 172:
{
goto IL_09c3;
}
case 173:
{
goto IL_09ce;
}
case 174:
{
goto IL_0f81;
}
case 175:
{
goto IL_09d9;
}
case 176:
{
goto IL_0f81;
}
case 177:
{
goto IL_0f81;
}
case 178:
{
goto IL_0f81;
}
case 179:
{
goto IL_0f81;
}
case 180:
{
goto IL_0f81;
}
case 181:
{
goto IL_0f81;
}
case 182:
{
goto IL_0f81;
}
case 183:
{
goto IL_09e4;
}
case 184:
{
goto IL_0f81;
}
case 185:
{
goto IL_0f81;
}
case 186:
{
goto IL_0f81;
}
case 187:
{
goto IL_0f81;
}
case 188:
{
goto IL_09ef;
}
case 189:
{
goto IL_0f81;
}
case 190:
{
goto IL_09fa;
}
case 191:
{
goto IL_0f81;
}
case 192:
{
goto IL_0f81;
}
case 193:
{
goto IL_0f81;
}
case 194:
{
goto IL_0a05;
}
case 195:
{
goto IL_0f81;
}
case 196:
{
goto IL_0f81;
}
case 197:
{
goto IL_0a10;
}
case 198:
{
goto IL_0a1b;
}
case 199:
{
goto IL_0a26;
}
case 200:
{
goto IL_0a31;
}
case 201:
{
goto IL_0f81;
}
case 202:
{
goto IL_0a3c;
}
case 203:
{
goto IL_0a47;
}
case 204:
{
goto IL_0a52;
}
case 205:
{
goto IL_0a5d;
}
case 206:
{
goto IL_0a68;
}
case 207:
{
goto IL_0a73;
}
case 208:
{
goto IL_0a7e;
}
case 209:
{
goto IL_0a89;
}
case 210:
{
goto IL_0a94;
}
case 211:
{
goto IL_0a9f;
}
case 212:
{
goto IL_0aaa;
}
case 213:
{
goto IL_0ab5;
}
case 214:
{
goto IL_0f81;
}
case 215:
{
goto IL_0ac0;
}
case 216:
{
goto IL_0acb;
}
case 217:
{
goto IL_0ad6;
}
case 218:
{
goto IL_0ae1;
}
case 219:
{
goto IL_0f81;
}
case 220:
{
goto IL_0aec;
}
case 221:
{
goto IL_0af7;
}
case 222:
{
goto IL_0b02;
}
case 223:
{
goto IL_0b0d;
}
case 224:
{
goto IL_0b18;
}
case 225:
{
goto IL_0b23;
}
case 226:
{
goto IL_0b2e;
}
case 227:
{
goto IL_0f81;
}
case 228:
{
goto IL_0f81;
}
case 229:
{
goto IL_0b39;
}
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)402))))
{
goto IL_0b44;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)915))))
{
goto IL_0b4f;
}
}
{
goto IL_0f81;
}
IL_0403:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)920))))
{
goto IL_0b5a;
}
}
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)931))))
{
goto IL_0b65;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)934))))
{
goto IL_0b70;
}
}
{
goto IL_0f81;
}
IL_0429:
{
int32_t L_13 = V_0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)956))))
{
goto IL_046c;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)937))))
{
goto IL_0b7b;
}
}
{
int32_t L_15 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)((int32_t)945))))
{
case 0:
{
goto IL_0b86;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0b91;
}
case 4:
{
goto IL_0b9c;
}
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)956))))
{
goto IL_0ba7;
}
}
{
goto IL_0f81;
}
IL_046c:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) > ((int32_t)((int32_t)8226))))
{
goto IL_04ac;
}
}
{
int32_t L_18 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)((int32_t)960))))
{
case 0:
{
goto IL_0bb2;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0bbd;
}
case 4:
{
goto IL_0bc8;
}
case 5:
{
goto IL_0f81;
}
case 6:
{
goto IL_0bd3;
}
}
}
{
int32_t L_19 = V_0;
if ((((int32_t)L_19) == ((int32_t)((int32_t)8226))))
{
goto IL_0bde;
}
}
{
goto IL_0f81;
}
IL_04ac:
{
int32_t L_20 = V_0;
if ((((int32_t)L_20) == ((int32_t)((int32_t)8252))))
{
goto IL_0be5;
}
}
{
int32_t L_21 = V_0;
if ((((int32_t)L_21) == ((int32_t)((int32_t)8319))))
{
goto IL_0bed;
}
}
{
goto IL_0f81;
}
IL_04c7:
{
int32_t L_22 = V_0;
if ((((int32_t)L_22) > ((int32_t)((int32_t)8776))))
{
goto IL_055c;
}
}
{
int32_t L_23 = V_0;
if ((((int32_t)L_23) > ((int32_t)((int32_t)8616))))
{
goto IL_0519;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)8359))))
{
goto IL_0bf8;
}
}
{
int32_t L_25 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)((int32_t)8592))))
{
case 0:
{
goto IL_0c03;
}
case 1:
{
goto IL_0c0b;
}
case 2:
{
goto IL_0c13;
}
case 3:
{
goto IL_0c1b;
}
case 4:
{
goto IL_0c23;
}
case 5:
{
goto IL_0c2b;
}
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)8616))))
{
goto IL_0c33;
}
}
{
goto IL_0f81;
}
IL_0519:
{
int32_t L_27 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)((int32_t)8729))))
{
case 0:
{
goto IL_0c3b;
}
case 1:
{
goto IL_0c46;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0f81;
}
case 4:
{
goto IL_0f81;
}
case 5:
{
goto IL_0c51;
}
case 6:
{
goto IL_0c5c;
}
}
}
{
int32_t L_28 = V_0;
if ((((int32_t)L_28) == ((int32_t)((int32_t)8745))))
{
goto IL_0c64;
}
}
{
int32_t L_29 = V_0;
if ((((int32_t)L_29) == ((int32_t)((int32_t)8776))))
{
goto IL_0c6f;
}
}
{
goto IL_0f81;
}
IL_055c:
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) > ((int32_t)((int32_t)8976))))
{
goto IL_059f;
}
}
{
int32_t L_31 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)((int32_t)8801))))
{
case 0:
{
goto IL_0c7a;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0c85;
}
case 4:
{
goto IL_0c90;
}
}
}
{
int32_t L_32 = V_0;
if ((((int32_t)L_32) == ((int32_t)((int32_t)8962))))
{
goto IL_0c9b;
}
}
{
int32_t L_33 = V_0;
if ((((int32_t)L_33) == ((int32_t)((int32_t)8976))))
{
goto IL_0ca3;
}
}
{
goto IL_0f81;
}
IL_059f:
{
int32_t L_34 = V_0;
if ((((int32_t)L_34) > ((int32_t)((int32_t)8993))))
{
goto IL_05c2;
}
}
{
int32_t L_35 = V_0;
if ((((int32_t)L_35) == ((int32_t)((int32_t)8992))))
{
goto IL_0cae;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) == ((int32_t)((int32_t)8993))))
{
goto IL_0cb9;
}
}
{
goto IL_0f81;
}
IL_05c2:
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) == ((int32_t)((int32_t)9472))))
{
goto IL_0cc4;
}
}
{
int32_t L_38 = V_0;
if ((((int32_t)L_38) == ((int32_t)((int32_t)9474))))
{
goto IL_0ccf;
}
}
{
goto IL_0f81;
}
IL_05dd:
{
int32_t L_39 = V_0;
if ((((int32_t)L_39) > ((int32_t)((int32_t)9632))))
{
goto IL_07b9;
}
}
{
int32_t L_40 = V_0;
if ((((int32_t)L_40) > ((int32_t)((int32_t)9508))))
{
goto IL_0644;
}
}
{
int32_t L_41 = V_0;
if ((((int32_t)L_41) > ((int32_t)((int32_t)9492))))
{
goto IL_061e;
}
}
{
int32_t L_42 = V_0;
if ((((int32_t)L_42) == ((int32_t)((int32_t)9484))))
{
goto IL_0cda;
}
}
{
int32_t L_43 = V_0;
if ((((int32_t)L_43) == ((int32_t)((int32_t)9488))))
{
goto IL_0ce5;
}
}
{
int32_t L_44 = V_0;
if ((((int32_t)L_44) == ((int32_t)((int32_t)9492))))
{
goto IL_0cf0;
}
}
{
goto IL_0f81;
}
IL_061e:
{
int32_t L_45 = V_0;
if ((((int32_t)L_45) == ((int32_t)((int32_t)9496))))
{
goto IL_0cfb;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) == ((int32_t)((int32_t)9500))))
{
goto IL_0d06;
}
}
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) == ((int32_t)((int32_t)9508))))
{
goto IL_0d11;
}
}
{
goto IL_0f81;
}
IL_0644:
{
int32_t L_48 = V_0;
if ((((int32_t)L_48) > ((int32_t)((int32_t)9600))))
{
goto IL_075a;
}
}
{
int32_t L_49 = V_0;
if ((((int32_t)L_49) == ((int32_t)((int32_t)9516))))
{
goto IL_0d1c;
}
}
{
int32_t L_50 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_50, (int32_t)((int32_t)9524))))
{
case 0:
{
goto IL_0d27;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0f81;
}
case 4:
{
goto IL_0f81;
}
case 5:
{
goto IL_0f81;
}
case 6:
{
goto IL_0f81;
}
case 7:
{
goto IL_0f81;
}
case 8:
{
goto IL_0d32;
}
case 9:
{
goto IL_0f81;
}
case 10:
{
goto IL_0f81;
}
case 11:
{
goto IL_0f81;
}
case 12:
{
goto IL_0f81;
}
case 13:
{
goto IL_0f81;
}
case 14:
{
goto IL_0f81;
}
case 15:
{
goto IL_0f81;
}
case 16:
{
goto IL_0f81;
}
case 17:
{
goto IL_0f81;
}
case 18:
{
goto IL_0f81;
}
case 19:
{
goto IL_0f81;
}
case 20:
{
goto IL_0f81;
}
case 21:
{
goto IL_0f81;
}
case 22:
{
goto IL_0f81;
}
case 23:
{
goto IL_0f81;
}
case 24:
{
goto IL_0f81;
}
case 25:
{
goto IL_0f81;
}
case 26:
{
goto IL_0f81;
}
case 27:
{
goto IL_0f81;
}
case 28:
{
goto IL_0d3d;
}
case 29:
{
goto IL_0d48;
}
case 30:
{
goto IL_0d53;
}
case 31:
{
goto IL_0d5e;
}
case 32:
{
goto IL_0d69;
}
case 33:
{
goto IL_0d74;
}
case 34:
{
goto IL_0d7f;
}
case 35:
{
goto IL_0d8a;
}
case 36:
{
goto IL_0d95;
}
case 37:
{
goto IL_0da0;
}
case 38:
{
goto IL_0dab;
}
case 39:
{
goto IL_0db6;
}
case 40:
{
goto IL_0dc1;
}
case 41:
{
goto IL_0dcc;
}
case 42:
{
goto IL_0dd7;
}
case 43:
{
goto IL_0de2;
}
case 44:
{
goto IL_0ded;
}
case 45:
{
goto IL_0df8;
}
case 46:
{
goto IL_0e03;
}
case 47:
{
goto IL_0e0e;
}
case 48:
{
goto IL_0e19;
}
case 49:
{
goto IL_0e24;
}
case 50:
{
goto IL_0e2f;
}
case 51:
{
goto IL_0e3a;
}
case 52:
{
goto IL_0e45;
}
case 53:
{
goto IL_0e50;
}
case 54:
{
goto IL_0e5b;
}
case 55:
{
goto IL_0e66;
}
case 56:
{
goto IL_0e71;
}
}
}
{
int32_t L_51 = V_0;
if ((((int32_t)L_51) == ((int32_t)((int32_t)9600))))
{
goto IL_0e7c;
}
}
{
goto IL_0f81;
}
IL_075a:
{
int32_t L_52 = V_0;
if ((((int32_t)L_52) > ((int32_t)((int32_t)9608))))
{
goto IL_077d;
}
}
{
int32_t L_53 = V_0;
if ((((int32_t)L_53) == ((int32_t)((int32_t)9604))))
{
goto IL_0e87;
}
}
{
int32_t L_54 = V_0;
if ((((int32_t)L_54) == ((int32_t)((int32_t)9608))))
{
goto IL_0e92;
}
}
{
goto IL_0f81;
}
IL_077d:
{
int32_t L_55 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_55, (int32_t)((int32_t)9612))))
{
case 0:
{
goto IL_0e9d;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0f81;
}
case 4:
{
goto IL_0ea8;
}
case 5:
{
goto IL_0eb3;
}
case 6:
{
goto IL_0ebe;
}
case 7:
{
goto IL_0ec9;
}
}
}
{
int32_t L_56 = V_0;
if ((((int32_t)L_56) == ((int32_t)((int32_t)9632))))
{
goto IL_0ed4;
}
}
{
goto IL_0f81;
}
IL_07b9:
{
int32_t L_57 = V_0;
if ((((int32_t)L_57) > ((int32_t)((int32_t)9675))))
{
goto IL_0815;
}
}
{
int32_t L_58 = V_0;
if ((((int32_t)L_58) > ((int32_t)((int32_t)9658))))
{
goto IL_07ef;
}
}
{
int32_t L_59 = V_0;
if ((((int32_t)L_59) == ((int32_t)((int32_t)9644))))
{
goto IL_0edf;
}
}
{
int32_t L_60 = V_0;
if ((((int32_t)L_60) == ((int32_t)((int32_t)9650))))
{
goto IL_0ee7;
}
}
{
int32_t L_61 = V_0;
if ((((int32_t)L_61) == ((int32_t)((int32_t)9658))))
{
goto IL_0eef;
}
}
{
goto IL_0f81;
}
IL_07ef:
{
int32_t L_62 = V_0;
if ((((int32_t)L_62) == ((int32_t)((int32_t)9660))))
{
goto IL_0ef7;
}
}
{
int32_t L_63 = V_0;
if ((((int32_t)L_63) == ((int32_t)((int32_t)9668))))
{
goto IL_0eff;
}
}
{
int32_t L_64 = V_0;
if ((((int32_t)L_64) == ((int32_t)((int32_t)9675))))
{
goto IL_0f07;
}
}
{
goto IL_0f81;
}
IL_0815:
{
int32_t L_65 = V_0;
if ((((int32_t)L_65) > ((int32_t)((int32_t)9794))))
{
goto IL_0868;
}
}
{
int32_t L_66 = V_0;
if ((((int32_t)L_66) == ((int32_t)((int32_t)9688))))
{
goto IL_0f0f;
}
}
{
int32_t L_67 = V_0;
if ((((int32_t)L_67) == ((int32_t)((int32_t)9689))))
{
goto IL_0f16;
}
}
{
int32_t L_68 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_68, (int32_t)((int32_t)9786))))
{
case 0:
{
goto IL_0f1e;
}
case 1:
{
goto IL_0f25;
}
case 2:
{
goto IL_0f2c;
}
case 3:
{
goto IL_0f81;
}
case 4:
{
goto IL_0f81;
}
case 5:
{
goto IL_0f81;
}
case 6:
{
goto IL_0f34;
}
case 7:
{
goto IL_0f81;
}
case 8:
{
goto IL_0f39;
}
}
}
{
goto IL_0f81;
}
IL_0868:
{
int32_t L_69 = V_0;
if ((((int32_t)L_69) > ((int32_t)((int32_t)9834))))
{
goto IL_08a8;
}
}
{
int32_t L_70 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_70, (int32_t)((int32_t)9824))))
{
case 0:
{
goto IL_0f3e;
}
case 1:
{
goto IL_0f81;
}
case 2:
{
goto IL_0f81;
}
case 3:
{
goto IL_0f42;
}
case 4:
{
goto IL_0f81;
}
case 5:
{
goto IL_0f46;
}
case 6:
{
goto IL_0f4a;
}
}
}
{
int32_t L_71 = V_0;
if ((((int32_t)L_71) == ((int32_t)((int32_t)9834))))
{
goto IL_0f4e;
}
}
{
goto IL_0f81;
}
IL_08a8:
{
int32_t L_72 = V_0;
if ((((int32_t)L_72) == ((int32_t)((int32_t)9835))))
{
goto IL_0f53;
}
}
{
int32_t L_73 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_73, (int32_t)((int32_t)65512))))
{
case 0:
{
goto IL_0f58;
}
case 1:
{
goto IL_0f60;
}
case 2:
{
goto IL_0f65;
}
case 3:
{
goto IL_0f6a;
}
case 4:
{
goto IL_0f6f;
}
case 5:
{
goto IL_0f74;
}
case 6:
{
goto IL_0f7c;
}
}
}
{
goto IL_0f81;
}
IL_08e0:
{
V_0 = ((int32_t)127);
goto IL_0fb8;
}
IL_08e8:
{
V_0 = ((int32_t)26);
goto IL_0fb8;
}
IL_08f0:
{
V_0 = ((int32_t)28);
goto IL_0fb8;
}
IL_08f8:
{
V_0 = ((int32_t)255);
goto IL_0fb8;
}
IL_0903:
{
V_0 = ((int32_t)173);
goto IL_0fb8;
}
IL_090e:
{
V_0 = ((int32_t)156);
goto IL_0fb8;
}
IL_0919:
{
V_0 = ((int32_t)175);
goto IL_0fb8;
}
IL_0924:
{
V_0 = ((int32_t)21);
goto IL_0fb8;
}
IL_092c:
{
V_0 = ((int32_t)166);
goto IL_0fb8;
}
IL_0937:
{
V_0 = ((int32_t)174);
goto IL_0fb8;
}
IL_0942:
{
V_0 = ((int32_t)170);
goto IL_0fb8;
}
IL_094d:
{
V_0 = ((int32_t)248);
goto IL_0fb8;
}
IL_0958:
{
V_0 = ((int32_t)241);
goto IL_0fb8;
}
IL_0963:
{
V_0 = ((int32_t)253);
goto IL_0fb8;
}
IL_096e:
{
V_0 = ((int32_t)20);
goto IL_0fb8;
}
IL_0976:
{
V_0 = ((int32_t)250);
goto IL_0fb8;
}
IL_0981:
{
V_0 = ((int32_t)167);
goto IL_0fb8;
}
IL_098c:
{
V_0 = ((int32_t)172);
goto IL_0fb8;
}
IL_0997:
{
V_0 = ((int32_t)171);
goto IL_0fb8;
}
IL_09a2:
{
V_0 = ((int32_t)168);
goto IL_0fb8;
}
IL_09ad:
{
V_0 = ((int32_t)142);
goto IL_0fb8;
}
IL_09b8:
{
V_0 = ((int32_t)143);
goto IL_0fb8;
}
IL_09c3:
{
V_0 = ((int32_t)146);
goto IL_0fb8;
}
IL_09ce:
{
V_0 = ((int32_t)128);
goto IL_0fb8;
}
IL_09d9:
{
V_0 = ((int32_t)144);
goto IL_0fb8;
}
IL_09e4:
{
V_0 = ((int32_t)165);
goto IL_0fb8;
}
IL_09ef:
{
V_0 = ((int32_t)153);
goto IL_0fb8;
}
IL_09fa:
{
V_0 = ((int32_t)157);
goto IL_0fb8;
}
IL_0a05:
{
V_0 = ((int32_t)154);
goto IL_0fb8;
}
IL_0a10:
{
V_0 = ((int32_t)225);
goto IL_0fb8;
}
IL_0a1b:
{
V_0 = ((int32_t)133);
goto IL_0fb8;
}
IL_0a26:
{
V_0 = ((int32_t)160);
goto IL_0fb8;
}
IL_0a31:
{
V_0 = ((int32_t)131);
goto IL_0fb8;
}
IL_0a3c:
{
V_0 = ((int32_t)132);
goto IL_0fb8;
}
IL_0a47:
{
V_0 = ((int32_t)134);
goto IL_0fb8;
}
IL_0a52:
{
V_0 = ((int32_t)145);
goto IL_0fb8;
}
IL_0a5d:
{
V_0 = ((int32_t)135);
goto IL_0fb8;
}
IL_0a68:
{
V_0 = ((int32_t)138);
goto IL_0fb8;
}
IL_0a73:
{
V_0 = ((int32_t)130);
goto IL_0fb8;
}
IL_0a7e:
{
V_0 = ((int32_t)136);
goto IL_0fb8;
}
IL_0a89:
{
V_0 = ((int32_t)137);
goto IL_0fb8;
}
IL_0a94:
{
V_0 = ((int32_t)141);
goto IL_0fb8;
}
IL_0a9f:
{
V_0 = ((int32_t)161);
goto IL_0fb8;
}
IL_0aaa:
{
V_0 = ((int32_t)140);
goto IL_0fb8;
}
IL_0ab5:
{
V_0 = ((int32_t)139);
goto IL_0fb8;
}
IL_0ac0:
{
V_0 = ((int32_t)164);
goto IL_0fb8;
}
IL_0acb:
{
V_0 = ((int32_t)149);
goto IL_0fb8;
}
IL_0ad6:
{
V_0 = ((int32_t)162);
goto IL_0fb8;
}
IL_0ae1:
{
V_0 = ((int32_t)147);
goto IL_0fb8;
}
IL_0aec:
{
V_0 = ((int32_t)148);
goto IL_0fb8;
}
IL_0af7:
{
V_0 = ((int32_t)246);
goto IL_0fb8;
}
IL_0b02:
{
V_0 = ((int32_t)155);
goto IL_0fb8;
}
IL_0b0d:
{
V_0 = ((int32_t)151);
goto IL_0fb8;
}
IL_0b18:
{
V_0 = ((int32_t)163);
goto IL_0fb8;
}
IL_0b23:
{
V_0 = ((int32_t)150);
goto IL_0fb8;
}
IL_0b2e:
{
V_0 = ((int32_t)129);
goto IL_0fb8;
}
IL_0b39:
{
V_0 = ((int32_t)152);
goto IL_0fb8;
}
IL_0b44:
{
V_0 = ((int32_t)159);
goto IL_0fb8;
}
IL_0b4f:
{
V_0 = ((int32_t)226);
goto IL_0fb8;
}
IL_0b5a:
{
V_0 = ((int32_t)233);
goto IL_0fb8;
}
IL_0b65:
{
V_0 = ((int32_t)228);
goto IL_0fb8;
}
IL_0b70:
{
V_0 = ((int32_t)232);
goto IL_0fb8;
}
IL_0b7b:
{
V_0 = ((int32_t)234);
goto IL_0fb8;
}
IL_0b86:
{
V_0 = ((int32_t)224);
goto IL_0fb8;
}
IL_0b91:
{
V_0 = ((int32_t)235);
goto IL_0fb8;
}
IL_0b9c:
{
V_0 = ((int32_t)238);
goto IL_0fb8;
}
IL_0ba7:
{
V_0 = ((int32_t)230);
goto IL_0fb8;
}
IL_0bb2:
{
V_0 = ((int32_t)227);
goto IL_0fb8;
}
IL_0bbd:
{
V_0 = ((int32_t)229);
goto IL_0fb8;
}
IL_0bc8:
{
V_0 = ((int32_t)231);
goto IL_0fb8;
}
IL_0bd3:
{
V_0 = ((int32_t)237);
goto IL_0fb8;
}
IL_0bde:
{
V_0 = 7;
goto IL_0fb8;
}
IL_0be5:
{
V_0 = ((int32_t)19);
goto IL_0fb8;
}
IL_0bed:
{
V_0 = ((int32_t)252);
goto IL_0fb8;
}
IL_0bf8:
{
V_0 = ((int32_t)158);
goto IL_0fb8;
}
IL_0c03:
{
V_0 = ((int32_t)27);
goto IL_0fb8;
}
IL_0c0b:
{
V_0 = ((int32_t)24);
goto IL_0fb8;
}
IL_0c13:
{
V_0 = ((int32_t)26);
goto IL_0fb8;
}
IL_0c1b:
{
V_0 = ((int32_t)25);
goto IL_0fb8;
}
IL_0c23:
{
V_0 = ((int32_t)29);
goto IL_0fb8;
}
IL_0c2b:
{
V_0 = ((int32_t)18);
goto IL_0fb8;
}
IL_0c33:
{
V_0 = ((int32_t)23);
goto IL_0fb8;
}
IL_0c3b:
{
V_0 = ((int32_t)249);
goto IL_0fb8;
}
IL_0c46:
{
V_0 = ((int32_t)251);
goto IL_0fb8;
}
IL_0c51:
{
V_0 = ((int32_t)236);
goto IL_0fb8;
}
IL_0c5c:
{
V_0 = ((int32_t)28);
goto IL_0fb8;
}
IL_0c64:
{
V_0 = ((int32_t)239);
goto IL_0fb8;
}
IL_0c6f:
{
V_0 = ((int32_t)247);
goto IL_0fb8;
}
IL_0c7a:
{
V_0 = ((int32_t)240);
goto IL_0fb8;
}
IL_0c85:
{
V_0 = ((int32_t)243);
goto IL_0fb8;
}
IL_0c90:
{
V_0 = ((int32_t)242);
goto IL_0fb8;
}
IL_0c9b:
{
V_0 = ((int32_t)127);
goto IL_0fb8;
}
IL_0ca3:
{
V_0 = ((int32_t)169);
goto IL_0fb8;
}
IL_0cae:
{
V_0 = ((int32_t)244);
goto IL_0fb8;
}
IL_0cb9:
{
V_0 = ((int32_t)245);
goto IL_0fb8;
}
IL_0cc4:
{
V_0 = ((int32_t)196);
goto IL_0fb8;
}
IL_0ccf:
{
V_0 = ((int32_t)179);
goto IL_0fb8;
}
IL_0cda:
{
V_0 = ((int32_t)218);
goto IL_0fb8;
}
IL_0ce5:
{
V_0 = ((int32_t)191);
goto IL_0fb8;
}
IL_0cf0:
{
V_0 = ((int32_t)192);
goto IL_0fb8;
}
IL_0cfb:
{
V_0 = ((int32_t)217);
goto IL_0fb8;
}
IL_0d06:
{
V_0 = ((int32_t)195);
goto IL_0fb8;
}
IL_0d11:
{
V_0 = ((int32_t)180);
goto IL_0fb8;
}
IL_0d1c:
{
V_0 = ((int32_t)194);
goto IL_0fb8;
}
IL_0d27:
{
V_0 = ((int32_t)193);
goto IL_0fb8;
}
IL_0d32:
{
V_0 = ((int32_t)197);
goto IL_0fb8;
}
IL_0d3d:
{
V_0 = ((int32_t)205);
goto IL_0fb8;
}
IL_0d48:
{
V_0 = ((int32_t)186);
goto IL_0fb8;
}
IL_0d53:
{
V_0 = ((int32_t)213);
goto IL_0fb8;
}
IL_0d5e:
{
V_0 = ((int32_t)214);
goto IL_0fb8;
}
IL_0d69:
{
V_0 = ((int32_t)201);
goto IL_0fb8;
}
IL_0d74:
{
V_0 = ((int32_t)184);
goto IL_0fb8;
}
IL_0d7f:
{
V_0 = ((int32_t)183);
goto IL_0fb8;
}
IL_0d8a:
{
V_0 = ((int32_t)187);
goto IL_0fb8;
}
IL_0d95:
{
V_0 = ((int32_t)212);
goto IL_0fb8;
}
IL_0da0:
{
V_0 = ((int32_t)211);
goto IL_0fb8;
}
IL_0dab:
{
V_0 = ((int32_t)200);
goto IL_0fb8;
}
IL_0db6:
{
V_0 = ((int32_t)190);
goto IL_0fb8;
}
IL_0dc1:
{
V_0 = ((int32_t)189);
goto IL_0fb8;
}
IL_0dcc:
{
V_0 = ((int32_t)188);
goto IL_0fb8;
}
IL_0dd7:
{
V_0 = ((int32_t)198);
goto IL_0fb8;
}
IL_0de2:
{
V_0 = ((int32_t)199);
goto IL_0fb8;
}
IL_0ded:
{
V_0 = ((int32_t)204);
goto IL_0fb8;
}
IL_0df8:
{
V_0 = ((int32_t)181);
goto IL_0fb8;
}
IL_0e03:
{
V_0 = ((int32_t)182);
goto IL_0fb8;
}
IL_0e0e:
{
V_0 = ((int32_t)185);
goto IL_0fb8;
}
IL_0e19:
{
V_0 = ((int32_t)209);
goto IL_0fb8;
}
IL_0e24:
{
V_0 = ((int32_t)210);
goto IL_0fb8;
}
IL_0e2f:
{
V_0 = ((int32_t)203);
goto IL_0fb8;
}
IL_0e3a:
{
V_0 = ((int32_t)207);
goto IL_0fb8;
}
IL_0e45:
{
V_0 = ((int32_t)208);
goto IL_0fb8;
}
IL_0e50:
{
V_0 = ((int32_t)202);
goto IL_0fb8;
}
IL_0e5b:
{
V_0 = ((int32_t)216);
goto IL_0fb8;
}
IL_0e66:
{
V_0 = ((int32_t)215);
goto IL_0fb8;
}
IL_0e71:
{
V_0 = ((int32_t)206);
goto IL_0fb8;
}
IL_0e7c:
{
V_0 = ((int32_t)223);
goto IL_0fb8;
}
IL_0e87:
{
V_0 = ((int32_t)220);
goto IL_0fb8;
}
IL_0e92:
{
V_0 = ((int32_t)219);
goto IL_0fb8;
}
IL_0e9d:
{
V_0 = ((int32_t)221);
goto IL_0fb8;
}
IL_0ea8:
{
V_0 = ((int32_t)222);
goto IL_0fb8;
}
IL_0eb3:
{
V_0 = ((int32_t)176);
goto IL_0fb8;
}
IL_0ebe:
{
V_0 = ((int32_t)177);
goto IL_0fb8;
}
IL_0ec9:
{
V_0 = ((int32_t)178);
goto IL_0fb8;
}
IL_0ed4:
{
V_0 = ((int32_t)254);
goto IL_0fb8;
}
IL_0edf:
{
V_0 = ((int32_t)22);
goto IL_0fb8;
}
IL_0ee7:
{
V_0 = ((int32_t)30);
goto IL_0fb8;
}
IL_0eef:
{
V_0 = ((int32_t)16);
goto IL_0fb8;
}
IL_0ef7:
{
V_0 = ((int32_t)31);
goto IL_0fb8;
}
IL_0eff:
{
V_0 = ((int32_t)17);
goto IL_0fb8;
}
IL_0f07:
{
V_0 = ((int32_t)9);
goto IL_0fb8;
}
IL_0f0f:
{
V_0 = 8;
goto IL_0fb8;
}
IL_0f16:
{
V_0 = ((int32_t)10);
goto IL_0fb8;
}
IL_0f1e:
{
V_0 = 1;
goto IL_0fb8;
}
IL_0f25:
{
V_0 = 2;
goto IL_0fb8;
}
IL_0f2c:
{
V_0 = ((int32_t)15);
goto IL_0fb8;
}
IL_0f34:
{
V_0 = ((int32_t)12);
goto IL_0fb8;
}
IL_0f39:
{
V_0 = ((int32_t)11);
goto IL_0fb8;
}
IL_0f3e:
{
V_0 = 6;
goto IL_0fb8;
}
IL_0f42:
{
V_0 = 5;
goto IL_0fb8;
}
IL_0f46:
{
V_0 = 3;
goto IL_0fb8;
}
IL_0f4a:
{
V_0 = 4;
goto IL_0fb8;
}
IL_0f4e:
{
V_0 = ((int32_t)13);
goto IL_0fb8;
}
IL_0f53:
{
V_0 = ((int32_t)14);
goto IL_0fb8;
}
IL_0f58:
{
V_0 = ((int32_t)179);
goto IL_0fb8;
}
IL_0f60:
{
V_0 = ((int32_t)27);
goto IL_0fb8;
}
IL_0f65:
{
V_0 = ((int32_t)24);
goto IL_0fb8;
}
IL_0f6a:
{
V_0 = ((int32_t)26);
goto IL_0fb8;
}
IL_0f6f:
{
V_0 = ((int32_t)25);
goto IL_0fb8;
}
IL_0f74:
{
V_0 = ((int32_t)254);
goto IL_0fb8;
}
IL_0f7c:
{
V_0 = ((int32_t)9);
goto IL_0fb8;
}
IL_0f81:
{
int32_t L_74 = V_0;
if ((((int32_t)L_74) < ((int32_t)((int32_t)65281))))
{
goto IL_0f9b;
}
}
{
int32_t L_75 = V_0;
if ((((int32_t)L_75) > ((int32_t)((int32_t)65374))))
{
goto IL_0f9b;
}
}
{
int32_t L_76 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_76, (int32_t)((int32_t)65248)));
goto IL_0fb8;
}
IL_0f9b:
{
Il2CppChar* L_77 = ___chars0;
uint8_t* L_78 = ___bytes2;
MonoEncoding_HandleFallback_m37600073(__this, (EncoderFallbackBuffer_t3523102303 **)(&V_3), (Il2CppChar*)(Il2CppChar*)L_77, (int32_t*)(&V_1), (int32_t*)(&___charCount1), (uint8_t*)(uint8_t*)L_78, (int32_t*)(&V_2), (int32_t*)(&___byteCount3), /*hidden argument*/NULL);
int32_t L_79 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_79, (int32_t)1));
int32_t L_80 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_80, (int32_t)1));
goto IL_0fd6;
}
IL_0fb8:
{
uint8_t* L_81 = ___bytes2;
if ((((intptr_t)L_81) == ((intptr_t)(((uintptr_t)0)))))
{
goto IL_0fc3;
}
}
{
uint8_t* L_82 = ___bytes2;
int32_t L_83 = V_2;
int32_t L_84 = V_0;
*((int8_t*)(((uint8_t*)il2cpp_codegen_add((intptr_t)L_82, (int32_t)L_83)))) = (int8_t)(((int32_t)((uint8_t)L_84)));
}
IL_0fc3:
{
int32_t L_85 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_85, (int32_t)1));
int32_t L_86 = ___byteCount3;
___byteCount3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_86, (int32_t)1));
int32_t L_87 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_87, (int32_t)1));
int32_t L_88 = ___charCount1;
___charCount1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_88, (int32_t)1));
}
IL_0fd6:
{
int32_t L_89 = ___charCount1;
if ((((int32_t)L_89) > ((int32_t)0)))
{
goto IL_000b;
}
}
{
int32_t L_90 = V_2;
return L_90;
}
}
// System.Void I18N.West.CP865::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CP865__cctor_m1382040553 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CP865__cctor_m1382040553_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t3528271667* L_0 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
CharU5BU5D_t3528271667* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255377____FBB979B39B3DE95C52CD45C1036F61ABCE6B17D4_14_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((CP865_t551598570_StaticFields*)il2cpp_codegen_static_fields_for(CP865_t551598570_il2cpp_TypeInfo_var))->set_ToChars_76(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm437::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm437__ctor_m2342796966 (ENCibm437_t3410411110 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm437__ctor_m2342796966_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP437_t3683438768_il2cpp_TypeInfo_var);
CP437__ctor_m2326238033(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm850::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm850__ctor_m3815060551 (ENCibm850_t3813826705 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm850__ctor_m3815060551_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP850_t1311178993_il2cpp_TypeInfo_var);
CP850__ctor_m2102303190(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm860::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm860__ctor_m2763273287 (ENCibm860_t3814023313 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm860__ctor_m2763273287_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP860_t1311113457_il2cpp_TypeInfo_var);
CP860__ctor_m2017565142(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm861::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm861__ctor_m2763274360 (ENCibm861_t2247939372 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm861__ctor_m2763274360_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP861_t2877197398_il2cpp_TypeInfo_var);
CP861__ctor_m2017557783(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm863::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm863__ctor_m2763272198 (ENCibm863_t1085139958 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm863__ctor_m2763272198_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP863_t1714397984_il2cpp_TypeInfo_var);
CP863__ctor_m2017561793(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCibm865::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCibm865__ctor_m2763270020 (ENCibm865_t278570904 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCibm865__ctor_m2763270020_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP865_t551598570_il2cpp_TypeInfo_var);
CP865__ctor_m2017562139(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCiso_8859_15::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCiso_8859_15__ctor_m209160458 (ENCiso_8859_15_t3881981915 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCiso_8859_15__ctor_m209160458_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28605_t1600022914_il2cpp_TypeInfo_var);
CP28605__ctor_m3830061296(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCiso_8859_2::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCiso_8859_2__ctor_m649984600 (ENCiso_8859_2_t815391552 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCiso_8859_2__ctor_m649984600_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28592_t3519602206_il2cpp_TypeInfo_var);
CP28592__ctor_m2087654126(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCiso_8859_3::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCiso_8859_3__ctor_m649983511 (ENCiso_8859_3_t2381475493 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCiso_8859_3__ctor_m649983511_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28593_t3519602207_il2cpp_TypeInfo_var);
CP28593__ctor_m1724258889(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCiso_8859_7::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCiso_8859_7__ctor_m649979203 (ENCiso_8859_7_t412107025 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCiso_8859_7__ctor_m649979203_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP28597_t3519602203_il2cpp_TypeInfo_var);
CP28597__ctor_m3177839837(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCmacintosh::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCmacintosh__ctor_m8668102 (ENCmacintosh_t1087697298 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCmacintosh__ctor_m8668102_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP10000_t776152390_il2cpp_TypeInfo_var);
CP10000__ctor_m3617119530(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCwindows_1250::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCwindows_1250__ctor_m884268625 (ENCwindows_1250_t3241285640 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCwindows_1250__ctor_m884268625_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1250_t1787607523_il2cpp_TypeInfo_var);
CP1250__ctor_m1346107891(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCwindows_1252::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCwindows_1252__ctor_m1935340039 (ENCwindows_1252_t3241285642 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCwindows_1252__ctor_m1935340039_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1252_t2169944547_il2cpp_TypeInfo_var);
CP1252__ctor_m1487796723(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCwindows_1253::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCwindows_1253__ctor_m1571944802 (ENCwindows_1253_t3241285643 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCwindows_1253__ctor_m1571944802_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP1253_t4126259683_il2cpp_TypeInfo_var);
CP1253__ctor_m1416428019(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void I18N.West.ENCx_mac_icelandic::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ENCx_mac_icelandic__ctor_m3706204843 (ENCx_mac_icelandic_t2411177152 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ENCx_mac_icelandic__ctor_m3706204843_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CP10079_t3879478589_il2cpp_TypeInfo_var);
CP10079__ctor_m1290414847(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"steven.shan99@gmail.com"
] | steven.shan99@gmail.com |
24271be18ea521b6f261a4266280e5eabe48f5a6 | 0f2635f18d7b47323332ab733f34c9308888e851 | /LUOGU/纪念品分组.cpp | c7cfd2719661218fd19a3b5a21a209b578137f82 | [] | no_license | stevebraveman/Code | 2e48b3638272126653c5a2baabac3438db781157 | 4205dd6c4c2f87a8d8554a21efac39616672004e | refs/heads/master | 2020-06-30T21:55:41.313296 | 2019-11-13T22:57:51 | 2019-11-13T22:57:51 | 178,631,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int main() {
int w,n,a[30002]= {0},tot=0,k=0,l=0;
cin>>w>>n;
for(int i=1; i<=n; i++) {
cin>>a[i];
}
sort(a+1,a+n+1);
for(int i=1;i<=n;i++){
cout<<a[i]<<" ";
}
/*for(int i=1;i<=n;i++){
k+=a[i];
if((w-k)<a[i+1]){
tot++;
k=0;
}
}
for(int i=1;i<=n;i++){
l+=a[i];
}
if(l<=w) tot++;
cout<<tot;*/
}
| [
"zhoujiangfan52D2@163.com"
] | zhoujiangfan52D2@163.com |
117fb530f76dc1831e77c89ccaa1f4ebdbeabff6 | ed6c5cec7520ce5c274d75fa94e28a2ef8042c89 | /Practice/pre_incr.cpp | 232e97defecd21568f60fdbfb286061403989b24 | [] | no_license | itails/backup | 97b922950f073acf8118995dec2f02303f24e98e | e8e5f360acfcaca7aa1b6dbefb5be8153dd446dc | refs/heads/master | 2020-08-29T16:39:16.109363 | 2019-10-28T16:39:40 | 2019-10-28T16:39:40 | 218,092,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include<iostream>
using namespace std;
class incr
{
int x;
public:
incr()
{
x=1;
}
void display();
void operator++();
void operator++(int);
};
void incr::display()
{
cout<<x<<endl;
}
void incr::operator++()
{
++x;
}
void incr::operator++(int)
{
x++;
}
int main()
{
incr i1;
i1.display();
++i1;
i1.display();
i1++;
i1.display();
return 0;
}
| [
"noreply@github.com"
] | itails.noreply@github.com |
8e98a5a42d688f11962af7b40b91770650b488a3 | bad36c1f43de268040144fa92771329f1c4b9028 | /1014.cpp | 5b68308fd043da415ca4ee335e0b8cab46239305 | [] | no_license | Rindonn/PAT | 9292d12f4128e9f34f802c90bc6a85be95344dbe | f2704a963f0cd42596d27bb9e698ba4e1b608a30 | refs/heads/master | 2023-06-22T20:14:40.124305 | 2018-05-30T14:16:43 | 2018-05-30T14:16:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,587 | cpp | /*
* @Author: 凛冬
* @Date: 2018-05-30
* @Last Modified by: 凛冬
* @Last Modified time: 2018-05-30
*/
#include <iostream>
#include <bits/stdc++.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <cmath>
using namespace std;
int main(){
char str1[61];
char str2[61];
cin.getline(str1,61);
cin.getline(str2,61);
char str3[61];
char str4[61];
cin.getline(str3,61);
cin.getline(str4,61);
int a;
int count=0;
for(a=0;a<60;a++){
if(str1[a]>='A'&&str1[a]<='G'&&count==0)
{
if(str1[a]==str2[a])
{
switch(str1[a])
{
case 'A':cout<<"MON ";
break;
case 'B':cout<<"TUE ";
break;
case 'C':cout<<"WED ";
break;
case 'D':cout<<"THU ";
break;
case 'E':cout<<"FRI ";
break;
case 'F':cout<<"SAT ";
break;
case 'G':cout<<"SUN ";
break;
}
count++;
a++;
}
}
if((str1[a]>='A'&&str1[a]<='N'&&count==1)||(str1[a]>='0'&&str1[a]<='9'&&count==1))
{
if(str1[a]==str2[a])
{
switch(str1[a])
{
case '0':cout<<"00:";
break;
case '1':cout<<"01:";
break;
case '2':cout<<"02:";
break;
case '3':cout<<"03:";
break;
case '4':cout<<"04:";
break;
case '5':cout<<"05:";
break;
case '6':cout<<"06:";
break;
case '7':cout<<"07:";
break;
case '8':cout<<"08:";
break;
case '9':cout<<"09:";
break;
case 'A':cout<<"10:";
break;
case 'B':cout<<"11:";
break;
case 'C':cout<<"12:";
break;
case 'D':cout<<"13:";
break;
case 'E':cout<<"14:";
break;
case 'F':cout<<"15:";
break;
case 'G':cout<<"16:";
break;
case 'H':cout<<"17:";
break;
case 'I':cout<<"18:";
break;
case 'J':cout<<"19:";
break;
case 'K':cout<<"20:";
break;
case 'L':cout<<"21:";
break;
case 'M':cout<<"22:";
break;
case 'N':cout<<"23:";
break;
}
count++;
a++;
}
}
if(count==2)
{
break;
}
}
for(a=0;a<=59;a++){
if((str3[a]>='a'&&str3[a]<='z')||(str3[a]>='A'&&str3[a]<='Z'))
{
if(str3[a]==str4[a])
{
if(a<10){
cout<<"0";
cout<<a;
return 0;
}
else
{
cout<<a;
return 0;
}
}
}
}
return 0;
} | [
"384693801@qq.com"
] | 384693801@qq.com |
6ed316fb48bc916e625dab2267e5623caca2f49c | 897868d4960eee6e728597e4ec5576aa03064785 | /llvm/lib/Target/SystemZ/SystemZElimCompare.cpp | 0b5c9dc3bf00a663486e47fa8ab1762b9f1255a8 | [
"MIT",
"NCSA"
] | permissive | martell/ellcc | ab95d98c6023a23402a474044730db125349c843 | b144e161b5f70da528ae64329f27e4dfab489e5a | refs/heads/master | 2021-04-26T11:49:19.551929 | 2016-10-05T09:21:00 | 2016-10-05T09:21:00 | 70,063,491 | 2 | 1 | NOASSERTION | 2020-03-07T21:58:00 | 2016-10-05T13:32:53 | null | UTF-8 | C++ | false | false | 17,260 | cpp | //===-- SystemZElimCompare.cpp - Eliminate comparison instructions --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This pass:
// (1) tries to remove compares if CC already contains the required information
// (2) fuses compares and branches into COMPARE AND BRANCH instructions
//
//===----------------------------------------------------------------------===//
#include "SystemZTargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
using namespace llvm;
#define DEBUG_TYPE "systemz-elim-compare"
STATISTIC(BranchOnCounts, "Number of branch-on-count instructions");
STATISTIC(EliminatedComparisons, "Number of eliminated comparisons");
STATISTIC(FusedComparisons, "Number of fused compare-and-branch instructions");
namespace {
// Represents the references to a particular register in one or more
// instructions.
struct Reference {
Reference()
: Def(false), Use(false) {}
Reference &operator|=(const Reference &Other) {
Def |= Other.Def;
Use |= Other.Use;
return *this;
}
explicit operator bool() const { return Def || Use; }
// True if the register is defined or used in some form, either directly or
// via a sub- or super-register.
bool Def;
bool Use;
};
class SystemZElimCompare : public MachineFunctionPass {
public:
static char ID;
SystemZElimCompare(const SystemZTargetMachine &tm)
: MachineFunctionPass(ID), TII(nullptr), TRI(nullptr) {}
StringRef getPassName() const override {
return "SystemZ Comparison Elimination";
}
bool processBlock(MachineBasicBlock &MBB);
bool runOnMachineFunction(MachineFunction &F) override;
MachineFunctionProperties getRequiredProperties() const override {
return MachineFunctionProperties().set(
MachineFunctionProperties::Property::NoVRegs);
}
private:
Reference getRegReferences(MachineInstr &MI, unsigned Reg);
bool convertToBRCT(MachineInstr &MI, MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers);
bool convertToLoadAndTest(MachineInstr &MI);
bool adjustCCMasksForInstr(MachineInstr &MI, MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers);
bool optimizeCompareZero(MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers);
bool fuseCompareOperations(MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers);
const SystemZInstrInfo *TII;
const TargetRegisterInfo *TRI;
};
char SystemZElimCompare::ID = 0;
} // end anonymous namespace
FunctionPass *llvm::createSystemZElimComparePass(SystemZTargetMachine &TM) {
return new SystemZElimCompare(TM);
}
// Return true if CC is live out of MBB.
static bool isCCLiveOut(MachineBasicBlock &MBB) {
for (auto SI = MBB.succ_begin(), SE = MBB.succ_end(); SI != SE; ++SI)
if ((*SI)->isLiveIn(SystemZ::CC))
return true;
return false;
}
// Return true if any CC result of MI would reflect the value of Reg.
static bool resultTests(MachineInstr &MI, unsigned Reg) {
if (MI.getNumOperands() > 0 && MI.getOperand(0).isReg() &&
MI.getOperand(0).isDef() && MI.getOperand(0).getReg() == Reg)
return true;
switch (MI.getOpcode()) {
case SystemZ::LR:
case SystemZ::LGR:
case SystemZ::LGFR:
case SystemZ::LTR:
case SystemZ::LTGR:
case SystemZ::LTGFR:
case SystemZ::LER:
case SystemZ::LDR:
case SystemZ::LXR:
case SystemZ::LTEBR:
case SystemZ::LTDBR:
case SystemZ::LTXBR:
if (MI.getOperand(1).getReg() == Reg)
return true;
}
return false;
}
// Describe the references to Reg or any of its aliases in MI.
Reference SystemZElimCompare::getRegReferences(MachineInstr &MI, unsigned Reg) {
Reference Ref;
for (unsigned I = 0, E = MI.getNumOperands(); I != E; ++I) {
const MachineOperand &MO = MI.getOperand(I);
if (MO.isReg()) {
if (unsigned MOReg = MO.getReg()) {
if (TRI->regsOverlap(MOReg, Reg)) {
if (MO.isUse())
Ref.Use = true;
else if (MO.isDef())
Ref.Def = true;
}
}
}
}
return Ref;
}
// Return true if this is a load and test which can be optimized the
// same way as compare instruction.
static bool isLoadAndTestAsCmp(MachineInstr &MI) {
// If we during isel used a load-and-test as a compare with 0, the
// def operand is dead.
return (MI.getOpcode() == SystemZ::LTEBR ||
MI.getOpcode() == SystemZ::LTDBR ||
MI.getOpcode() == SystemZ::LTXBR) &&
MI.getOperand(0).isDead();
}
// Return the source register of Compare, which is the unknown value
// being tested.
static unsigned getCompareSourceReg(MachineInstr &Compare) {
unsigned reg = 0;
if (Compare.isCompare())
reg = Compare.getOperand(0).getReg();
else if (isLoadAndTestAsCmp(Compare))
reg = Compare.getOperand(1).getReg();
assert (reg);
return reg;
}
// Compare compares the result of MI against zero. If MI is an addition
// of -1 and if CCUsers is a single branch on nonzero, eliminate the addition
// and convert the branch to a BRCT(G). Return true on success.
bool SystemZElimCompare::convertToBRCT(
MachineInstr &MI, MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers) {
// Check whether we have an addition of -1.
unsigned Opcode = MI.getOpcode();
unsigned BRCT;
if (Opcode == SystemZ::AHI)
BRCT = SystemZ::BRCT;
else if (Opcode == SystemZ::AGHI)
BRCT = SystemZ::BRCTG;
else
return false;
if (MI.getOperand(2).getImm() != -1)
return false;
// Check whether we have a single JLH.
if (CCUsers.size() != 1)
return false;
MachineInstr *Branch = CCUsers[0];
if (Branch->getOpcode() != SystemZ::BRC ||
Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP ||
Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE)
return false;
// We already know that there are no references to the register between
// MI and Compare. Make sure that there are also no references between
// Compare and Branch.
unsigned SrcReg = getCompareSourceReg(Compare);
MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch;
for (++MBBI; MBBI != MBBE; ++MBBI)
if (getRegReferences(*MBBI, SrcReg))
return false;
// The transformation is OK. Rebuild Branch as a BRCT(G).
MachineOperand Target(Branch->getOperand(2));
while (Branch->getNumOperands())
Branch->RemoveOperand(0);
Branch->setDesc(TII->get(BRCT));
MachineInstrBuilder(*Branch->getParent()->getParent(), Branch)
.addOperand(MI.getOperand(0))
.addOperand(MI.getOperand(1))
.addOperand(Target)
.addReg(SystemZ::CC, RegState::ImplicitDefine | RegState::Dead);
MI.eraseFromParent();
return true;
}
// If MI is a load instruction, try to convert it into a LOAD AND TEST.
// Return true on success.
bool SystemZElimCompare::convertToLoadAndTest(MachineInstr &MI) {
unsigned Opcode = TII->getLoadAndTest(MI.getOpcode());
if (!Opcode)
return false;
MI.setDesc(TII->get(Opcode));
MachineInstrBuilder(*MI.getParent()->getParent(), MI)
.addReg(SystemZ::CC, RegState::ImplicitDefine);
return true;
}
// The CC users in CCUsers are testing the result of a comparison of some
// value X against zero and we know that any CC value produced by MI
// would also reflect the value of X. Try to adjust CCUsers so that
// they test the result of MI directly, returning true on success.
// Leave everything unchanged on failure.
bool SystemZElimCompare::adjustCCMasksForInstr(
MachineInstr &MI, MachineInstr &Compare,
SmallVectorImpl<MachineInstr *> &CCUsers) {
int Opcode = MI.getOpcode();
const MCInstrDesc &Desc = TII->get(Opcode);
unsigned MIFlags = Desc.TSFlags;
// See which compare-style condition codes are available.
unsigned ReusableCCMask = SystemZII::getCompareZeroCCMask(MIFlags);
// For unsigned comparisons with zero, only equality makes sense.
unsigned CompareFlags = Compare.getDesc().TSFlags;
if (CompareFlags & SystemZII::IsLogical)
ReusableCCMask &= SystemZ::CCMASK_CMP_EQ;
if (ReusableCCMask == 0)
return false;
unsigned CCValues = SystemZII::getCCValues(MIFlags);
assert((ReusableCCMask & ~CCValues) == 0 && "Invalid CCValues");
// Now check whether these flags are enough for all users.
SmallVector<MachineOperand *, 4> AlterMasks;
for (unsigned int I = 0, E = CCUsers.size(); I != E; ++I) {
MachineInstr *MI = CCUsers[I];
// Fail if this isn't a use of CC that we understand.
unsigned Flags = MI->getDesc().TSFlags;
unsigned FirstOpNum;
if (Flags & SystemZII::CCMaskFirst)
FirstOpNum = 0;
else if (Flags & SystemZII::CCMaskLast)
FirstOpNum = MI->getNumExplicitOperands() - 2;
else
return false;
// Check whether the instruction predicate treats all CC values
// outside of ReusableCCMask in the same way. In that case it
// doesn't matter what those CC values mean.
unsigned CCValid = MI->getOperand(FirstOpNum).getImm();
unsigned CCMask = MI->getOperand(FirstOpNum + 1).getImm();
unsigned OutValid = ~ReusableCCMask & CCValid;
unsigned OutMask = ~ReusableCCMask & CCMask;
if (OutMask != 0 && OutMask != OutValid)
return false;
AlterMasks.push_back(&MI->getOperand(FirstOpNum));
AlterMasks.push_back(&MI->getOperand(FirstOpNum + 1));
}
// All users are OK. Adjust the masks for MI.
for (unsigned I = 0, E = AlterMasks.size(); I != E; I += 2) {
AlterMasks[I]->setImm(CCValues);
unsigned CCMask = AlterMasks[I + 1]->getImm();
if (CCMask & ~ReusableCCMask)
AlterMasks[I + 1]->setImm((CCMask & ReusableCCMask) |
(CCValues & ~ReusableCCMask));
}
// CC is now live after MI.
int CCDef = MI.findRegisterDefOperandIdx(SystemZ::CC, false, true, TRI);
assert(CCDef >= 0 && "Couldn't find CC set");
MI.getOperand(CCDef).setIsDead(false);
// Clear any intervening kills of CC.
MachineBasicBlock::iterator MBBI = MI, MBBE = Compare;
for (++MBBI; MBBI != MBBE; ++MBBI)
MBBI->clearRegisterKills(SystemZ::CC, TRI);
return true;
}
// Return true if Compare is a comparison against zero.
static bool isCompareZero(MachineInstr &Compare) {
switch (Compare.getOpcode()) {
case SystemZ::LTEBRCompare:
case SystemZ::LTDBRCompare:
case SystemZ::LTXBRCompare:
return true;
default:
if (isLoadAndTestAsCmp(Compare))
return true;
return Compare.getNumExplicitOperands() == 2 &&
Compare.getOperand(1).isImm() && Compare.getOperand(1).getImm() == 0;
}
}
// Try to optimize cases where comparison instruction Compare is testing
// a value against zero. Return true on success and if Compare should be
// deleted as dead. CCUsers is the list of instructions that use the CC
// value produced by Compare.
bool SystemZElimCompare::optimizeCompareZero(
MachineInstr &Compare, SmallVectorImpl<MachineInstr *> &CCUsers) {
if (!isCompareZero(Compare))
return false;
// Search back for CC results that are based on the first operand.
unsigned SrcReg = getCompareSourceReg(Compare);
MachineBasicBlock &MBB = *Compare.getParent();
MachineBasicBlock::iterator MBBI = Compare, MBBE = MBB.begin();
Reference CCRefs;
Reference SrcRefs;
while (MBBI != MBBE) {
--MBBI;
MachineInstr &MI = *MBBI;
if (resultTests(MI, SrcReg)) {
// Try to remove both MI and Compare by converting a branch to BRCT(G).
// We don't care in this case whether CC is modified between MI and
// Compare.
if (!CCRefs.Use && !SrcRefs && convertToBRCT(MI, Compare, CCUsers)) {
BranchOnCounts += 1;
return true;
}
// Try to eliminate Compare by reusing a CC result from MI.
if ((!CCRefs && convertToLoadAndTest(MI)) ||
(!CCRefs.Def && adjustCCMasksForInstr(MI, Compare, CCUsers))) {
EliminatedComparisons += 1;
return true;
}
}
SrcRefs |= getRegReferences(MI, SrcReg);
if (SrcRefs.Def)
return false;
CCRefs |= getRegReferences(MI, SystemZ::CC);
if (CCRefs.Use && CCRefs.Def)
return false;
}
return false;
}
// Try to fuse comparison instruction Compare into a later branch.
// Return true on success and if Compare is therefore redundant.
bool SystemZElimCompare::fuseCompareOperations(
MachineInstr &Compare, SmallVectorImpl<MachineInstr *> &CCUsers) {
// See whether we have a single branch with which to fuse.
if (CCUsers.size() != 1)
return false;
MachineInstr *Branch = CCUsers[0];
SystemZII::FusedCompareType Type;
switch (Branch->getOpcode()) {
case SystemZ::BRC:
Type = SystemZII::CompareAndBranch;
break;
case SystemZ::CondReturn:
Type = SystemZII::CompareAndReturn;
break;
case SystemZ::CallBCR:
Type = SystemZII::CompareAndSibcall;
break;
case SystemZ::CondTrap:
Type = SystemZII::CompareAndTrap;
break;
default:
return false;
}
// See whether we have a comparison that can be fused.
unsigned FusedOpcode =
TII->getFusedCompare(Compare.getOpcode(), Type, &Compare);
if (!FusedOpcode)
return false;
// Make sure that the operands are available at the branch.
unsigned SrcReg = Compare.getOperand(0).getReg();
unsigned SrcReg2 =
Compare.getOperand(1).isReg() ? Compare.getOperand(1).getReg() : 0;
MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch;
for (++MBBI; MBBI != MBBE; ++MBBI)
if (MBBI->modifiesRegister(SrcReg, TRI) ||
(SrcReg2 && MBBI->modifiesRegister(SrcReg2, TRI)))
return false;
// Read the branch mask, target (if applicable), regmask (if applicable).
MachineOperand CCMask(MBBI->getOperand(1));
assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 &&
"Invalid condition-code mask for integer comparison");
// This is only valid for CompareAndBranch.
MachineOperand Target(MBBI->getOperand(
Type == SystemZII::CompareAndBranch ? 2 : 0));
const uint32_t *RegMask;
if (Type == SystemZII::CompareAndSibcall)
RegMask = MBBI->getOperand(2).getRegMask();
// Clear out all current operands.
int CCUse = MBBI->findRegisterUseOperandIdx(SystemZ::CC, false, TRI);
assert(CCUse >= 0 && "BRC/BCR must use CC");
Branch->RemoveOperand(CCUse);
// Remove target (branch) or regmask (sibcall).
if (Type == SystemZII::CompareAndBranch ||
Type == SystemZII::CompareAndSibcall)
Branch->RemoveOperand(2);
Branch->RemoveOperand(1);
Branch->RemoveOperand(0);
// Rebuild Branch as a fused compare and branch.
Branch->setDesc(TII->get(FusedOpcode));
MachineInstrBuilder MIB(*Branch->getParent()->getParent(), Branch);
MIB.addOperand(Compare.getOperand(0))
.addOperand(Compare.getOperand(1))
.addOperand(CCMask);
if (Type == SystemZII::CompareAndBranch) {
// Only conditional branches define CC, as they may be converted back
// to a non-fused branch because of a long displacement. Conditional
// returns don't have that problem.
MIB.addOperand(Target)
.addReg(SystemZ::CC, RegState::ImplicitDefine | RegState::Dead);
}
if (Type == SystemZII::CompareAndSibcall)
MIB.addRegMask(RegMask);
// Clear any intervening kills of SrcReg and SrcReg2.
MBBI = Compare;
for (++MBBI; MBBI != MBBE; ++MBBI) {
MBBI->clearRegisterKills(SrcReg, TRI);
if (SrcReg2)
MBBI->clearRegisterKills(SrcReg2, TRI);
}
FusedComparisons += 1;
return true;
}
// Process all comparison instructions in MBB. Return true if something
// changed.
bool SystemZElimCompare::processBlock(MachineBasicBlock &MBB) {
bool Changed = false;
// Walk backwards through the block looking for comparisons, recording
// all CC users as we go. The subroutines can delete Compare and
// instructions before it.
bool CompleteCCUsers = !isCCLiveOut(MBB);
SmallVector<MachineInstr *, 4> CCUsers;
MachineBasicBlock::iterator MBBI = MBB.end();
while (MBBI != MBB.begin()) {
MachineInstr &MI = *--MBBI;
if (CompleteCCUsers && (MI.isCompare() || isLoadAndTestAsCmp(MI)) &&
(optimizeCompareZero(MI, CCUsers) ||
fuseCompareOperations(MI, CCUsers))) {
++MBBI;
MI.eraseFromParent();
Changed = true;
CCUsers.clear();
continue;
}
if (MI.definesRegister(SystemZ::CC)) {
CCUsers.clear();
CompleteCCUsers = true;
}
if (MI.readsRegister(SystemZ::CC) && CompleteCCUsers)
CCUsers.push_back(&MI);
}
return Changed;
}
bool SystemZElimCompare::runOnMachineFunction(MachineFunction &F) {
if (skipFunction(*F.getFunction()))
return false;
TII = static_cast<const SystemZInstrInfo *>(F.getSubtarget().getInstrInfo());
TRI = &TII->getRegisterInfo();
bool Changed = false;
for (auto &MBB : F)
Changed |= processBlock(MBB);
return Changed;
}
| [
"rich@ellcc.org"
] | rich@ellcc.org |
2405342dd22421410a376768b7164fcb07602e2e | c51febc209233a9160f41913d895415704d2391f | /library/ATF/LPSTYLESTRUCT.hpp | 03283a6d81654ef0f2113174c1208ed9b5110a14 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 263 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <tagSTYLESTRUCT.hpp>
START_ATF_NAMESPACE
typedef tagSTYLESTRUCT *LPSTYLESTRUCT;
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
08d10cdb86235d6198adf62e971e2a69918565f5 | 7ce3445a70b37f9dcdf3d5689348c7bd06e9dc15 | /Source/HowTo_AutoCamera/Mover.h | 990749fef0cc2f6679fb1f3444df3e7df59c8027 | [] | no_license | jpyepez/UE4AutoCamera | 98e1f0f926c0b123db512e630ba205d0bf467922 | 8a0da6308d7065d641287ca24efeadeb422309f9 | refs/heads/master | 2021-08-14T16:46:37.254546 | 2017-11-16T08:09:54 | 2017-11-16T08:09:54 | 110,413,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Mover.generated.h"
UCLASS()
class HOWTO_AUTOCAMERA_API AMover : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMover();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
float RunningTime;
};
| [
"jpyepezimc@gmail.com"
] | jpyepezimc@gmail.com |
c0864bed9a9481a969d190291af7e77a2cb01734 | de7e771699065ec21a340ada1060a3cf0bec3091 | /analysis/common/src/java/org/apache/lucene/analysis/hunspell/package-info.cpp | 8ea54be0e3e3535be39693ddbbc670a0e4557173 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | using namespace std;
#include "package-info.h"
namespace org::apache::lucene::analysis::hunspell
{
} | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
f1e5ed1460b4e9c860512677ab9ff9d8a91f50f5 | f7f70ce50ae5ee14771ae21c3d287797843764ca | /Source/Library/Language/Hlsl/Source/HlslLang.cpp | da382664379a547cdf0b80d4bcb68c317ea04555 | [
"MIT"
] | permissive | cschladetsch/KAI | b36757e52c0de072e87f2ba868cdee7fa69fe8de | c972934ce9254b881ede5be484f5d1ab93b7951e | refs/heads/master | 2023-03-04T07:34:53.945220 | 2023-02-24T17:28:01 | 2023-02-24T17:28:01 | 21,534,145 | 14 | 4 | null | 2017-02-28T02:12:34 | 2014-07-06T05:23:56 | C++ | UTF-8 | C++ | false | false | 1,066 | cpp | #include <fstream>
#include <KAI/Core/File.h>
#include "KAI/Executor/Executor.h"
#include "KAI/Language/Hlsl/HlslLang.h"
using namespace std;
KAI_BEGIN
void HlslLang::Print()
{
/*
cout << "Input--" << endl;
cout << lex->GetInput() << endl;
cout << "Lexer--" << endl;
lex->Print();
cout << "Parser--" << endl;
parse->Print();
cout << "Trans--" << endl;
cout << trans->Result() << endl;
*/
}
Pointer<Continuation> HlslLang::TranslateFile(const char *name, Structure st)
{
ifstream file(name, ios::binary);
if (!file)
return Object();
return Translate(ReadTextFile(name).c_str(), st);
}
Pointer<Continuation> HlslLang::Translate(const char *text, Structure st)
{
KAI_UNUSED_2(text, st);
return Object();
// trans = std::make_shared<Translator>(reg);
// trans->Translate(text);
//
// if (lex->Failed)
// Fail(lex->Error);
//
// if (parse->Failed)
// Fail(parse->Error);
//
// if (trans->Failed)
// Fail(trans->Error);
//
// return !Failed;
}
KAI_END
| [
"christian.schladetsch@gmail.com"
] | christian.schladetsch@gmail.com |
bbdc4fdcd3fcae84315a8f1b37567cd9b91bec50 | 48dd7abadcdad9dee7d944c669131ffceaaa457a | /ImageProcessing/INIT/gamma_correct.cpp | bf70f42cd651092db4637c4808117fdab63f4189 | [] | no_license | mattzen/cppRepos | 1160602bc627eaaff33e576f4d4e726d8aeb387f | 8d4c6ad4417cb7978fefffff6426e5be102dae5a | refs/heads/master | 2023-08-02T15:55:17.624108 | 2019-11-18T03:15:40 | 2019-11-18T03:15:40 | 222,325,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp |
// ================================================================
// gamma_correct.c - gamma correct.
// Written by Mateusz Zmijewski
// =====================================================================
#include "IP.h"
using namespace std;
// function prototype
void gamma_correct(imageP, double, imageP);
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// main:
//
int
main(int argc, char** argv)
{
double gamma;
imageP I1, I2;
// error checking: proper usage
if(argc != 4) {
cerr << "Usage: gamma_correct infile number outfile\n";
exit(1);
}
// read input image (I1) and reserve space for output (I2)
I1 = IP_readImage(argv[1]);
I2 = NEWIMAGE;
// read gamma
gamma = atoi(argv[2]);
//apply function
gamma_correct(I1,gamma,I2);
//save new image into I2
IP_saveImage(I2,argv[3]);
// free up image structures/memory
IP_freeImage(I1);
IP_freeImage(I2);
return 1;
}
//qrtz:
void
gamma_correct(imageP I1, double gamma,imageP I2)
{
int i, total;
uchar *in, *out, lut[256];
// total number of pixels in image
total = I1->width * I1->height;
// init I2 dimensions and buffer
I2->width = I1->width;
I2->height = I1->height;
I2->image = (uchar *) malloc(total);
if(I2->image == NULL) {
cerr << "thr: Insufficient memory\n";
exit(1);
}
// init lookup table
for(i=0; i<256 ; i++) {
lut[i] = 256*pow((double)i/256,1.0/gamma);
}
// visit all input pixels and apply lut to threshold
in = I1->image; // input image buffer
out = I2->image; // output image buffer
for(i=0; i<total; i++) out[i] = lut[ in[i] ];
}
| [
"mattzy90@hotmail.com"
] | mattzy90@hotmail.com |
abf85193a0b8ab17b47dcd9685036b4bd5913912 | 8f98f3a6565d9eb31d03885b89a758bffafb9572 | /src/qt/transactiontablemodel.h | e144b9f393dc01a2cd36bb7ae605e7f3207c11dd | [
"MIT"
] | permissive | TeamEmpireCoin/EmpireCoin | 8167485f612950076f56828a816cfb52f35c4085 | 212b22821ad8ba0eec08aa9b460624f9937a92a5 | refs/heads/master | 2021-01-18T21:33:13.149110 | 2016-06-15T16:02:05 | 2016-06-15T16:02:05 | 47,073,059 | 2 | 2 | null | 2016-01-17T11:59:44 | 2015-11-29T17:30:40 | C++ | UTF-8 | C++ | false | false | 2,949 | h | // Copyright (c) 2011-2013 The EmpireCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TRANSACTIONTABLEMODEL_H
#define TRANSACTIONTABLEMODEL_H
#include <QAbstractTableModel>
#include <QStringList>
class CWallet;
class TransactionTablePriv;
class TransactionRecord;
class WalletModel;
/** UI model for the transaction table of a wallet.
*/
class TransactionTableModel : public QAbstractTableModel
{
Q_OBJECT
public:
explicit TransactionTableModel(CWallet* wallet, WalletModel *parent = 0);
~TransactionTableModel();
enum ColumnIndex {
Status = 0,
Date = 1,
Type = 2,
ToAddress = 3,
Amount = 4
};
/** Roles to get specific information from a transaction row.
These are independent of column.
*/
enum RoleIndex {
/** Type of transaction */
TypeRole = Qt::UserRole,
/** Date and time this transaction was created */
DateRole,
/** Long description (HTML format) */
LongDescriptionRole,
/** Address of transaction */
AddressRole,
/** Label of address related to transaction */
LabelRole,
/** Net amount of transaction */
AmountRole,
/** Unique identifier */
TxIDRole,
/** Is transaction confirmed? */
ConfirmedRole,
/** Formatted amount, without brackets when unconfirmed */
FormattedAmountRole
};
int rowCount(const QModelIndex &parent) const;
int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
private:
CWallet* wallet;
WalletModel *walletModel;
QStringList columns;
TransactionTablePriv *priv;
int cachedNumBlocks;
QString lookupAddress(const std::string &address, bool tooltip) const;
QVariant addressColor(const TransactionRecord *wtx) const;
QString formatTxStatus(const TransactionRecord *wtx) const;
QString formatTxDate(const TransactionRecord *wtx) const;
QString formatTxType(const TransactionRecord *wtx) const;
QString formatTxToAddress(const TransactionRecord *wtx, bool tooltip) const;
QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true) const;
QString formatTooltip(const TransactionRecord *rec) const;
QVariant txStatusDecoration(const TransactionRecord *wtx) const;
QVariant txAddressDecoration(const TransactionRecord *wtx) const;
public slots:
void updateTransaction(const QString &hash, int status);
void updateConfirmations();
void updateDisplayUnit();
friend class TransactionTablePriv;
};
#endif // TRANSACTIONTABLEMODEL_H
| [
"x.madisco@yandex.com"
] | x.madisco@yandex.com |
be67a21d6235a0baa8618541fea1228afe031a90 | 3ca14675ee14a7f327e452f5c9fb8c5211c67482 | /sources/Bomberman/ECS/Systems/RemovableSystem.hpp | e01476c5ff72f322555750c112cd3928d1164852 | [] | no_license | eliemoriceau/bomberman | 2d671a384eeeaf1b69fee46ba9ceacad18cd8bef | 5f798468810e1302ed8048ca6dc2bb8ef268eddb | refs/heads/main | 2023-08-13T20:21:10.369797 | 2021-09-17T08:00:37 | 2021-09-17T08:00:37 | 407,455,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | hpp | /*
** EPITECH PROJECT, 2022
** Indie
** File description:
** Created by elie,
*/
#pragma once
#include "System.hpp"
namespace ECS {
class RemovableSystem : public System {
public:
void update();
};
} | [
"elie.moriceau@epitech.eu"
] | elie.moriceau@epitech.eu |
5551aa001ffe82f1b3dc6afaecad28290243ca5d | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /es/src/v20180416/model/LogstashPipelineInfo.cpp | fbf2babab50df20f07ad8bf2f8c133922d40868e | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 11,360 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <tencentcloud/es/v20180416/model/LogstashPipelineInfo.h>
using TencentCloud::CoreInternalOutcome;
using namespace TencentCloud::Es::V20180416::Model;
using namespace std;
LogstashPipelineInfo::LogstashPipelineInfo() :
m_pipelineIdHasBeenSet(false),
m_pipelineDescHasBeenSet(false),
m_configHasBeenSet(false),
m_statusHasBeenSet(false),
m_workersHasBeenSet(false),
m_batchSizeHasBeenSet(false),
m_batchDelayHasBeenSet(false),
m_queueTypeHasBeenSet(false),
m_queueMaxBytesHasBeenSet(false),
m_queueCheckPointWritesHasBeenSet(false)
{
}
CoreInternalOutcome LogstashPipelineInfo::Deserialize(const rapidjson::Value &value)
{
string requestId = "";
if (value.HasMember("PipelineId") && !value["PipelineId"].IsNull())
{
if (!value["PipelineId"].IsString())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.PipelineId` IsString=false incorrectly").SetRequestId(requestId));
}
m_pipelineId = string(value["PipelineId"].GetString());
m_pipelineIdHasBeenSet = true;
}
if (value.HasMember("PipelineDesc") && !value["PipelineDesc"].IsNull())
{
if (!value["PipelineDesc"].IsString())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.PipelineDesc` IsString=false incorrectly").SetRequestId(requestId));
}
m_pipelineDesc = string(value["PipelineDesc"].GetString());
m_pipelineDescHasBeenSet = true;
}
if (value.HasMember("Config") && !value["Config"].IsNull())
{
if (!value["Config"].IsString())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.Config` IsString=false incorrectly").SetRequestId(requestId));
}
m_config = string(value["Config"].GetString());
m_configHasBeenSet = true;
}
if (value.HasMember("Status") && !value["Status"].IsNull())
{
if (!value["Status"].IsInt64())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.Status` IsInt64=false incorrectly").SetRequestId(requestId));
}
m_status = value["Status"].GetInt64();
m_statusHasBeenSet = true;
}
if (value.HasMember("Workers") && !value["Workers"].IsNull())
{
if (!value["Workers"].IsUint64())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.Workers` IsUint64=false incorrectly").SetRequestId(requestId));
}
m_workers = value["Workers"].GetUint64();
m_workersHasBeenSet = true;
}
if (value.HasMember("BatchSize") && !value["BatchSize"].IsNull())
{
if (!value["BatchSize"].IsUint64())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.BatchSize` IsUint64=false incorrectly").SetRequestId(requestId));
}
m_batchSize = value["BatchSize"].GetUint64();
m_batchSizeHasBeenSet = true;
}
if (value.HasMember("BatchDelay") && !value["BatchDelay"].IsNull())
{
if (!value["BatchDelay"].IsUint64())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.BatchDelay` IsUint64=false incorrectly").SetRequestId(requestId));
}
m_batchDelay = value["BatchDelay"].GetUint64();
m_batchDelayHasBeenSet = true;
}
if (value.HasMember("QueueType") && !value["QueueType"].IsNull())
{
if (!value["QueueType"].IsString())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.QueueType` IsString=false incorrectly").SetRequestId(requestId));
}
m_queueType = string(value["QueueType"].GetString());
m_queueTypeHasBeenSet = true;
}
if (value.HasMember("QueueMaxBytes") && !value["QueueMaxBytes"].IsNull())
{
if (!value["QueueMaxBytes"].IsString())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.QueueMaxBytes` IsString=false incorrectly").SetRequestId(requestId));
}
m_queueMaxBytes = string(value["QueueMaxBytes"].GetString());
m_queueMaxBytesHasBeenSet = true;
}
if (value.HasMember("QueueCheckPointWrites") && !value["QueueCheckPointWrites"].IsNull())
{
if (!value["QueueCheckPointWrites"].IsUint64())
{
return CoreInternalOutcome(Core::Error("response `LogstashPipelineInfo.QueueCheckPointWrites` IsUint64=false incorrectly").SetRequestId(requestId));
}
m_queueCheckPointWrites = value["QueueCheckPointWrites"].GetUint64();
m_queueCheckPointWritesHasBeenSet = true;
}
return CoreInternalOutcome(true);
}
void LogstashPipelineInfo::ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const
{
if (m_pipelineIdHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "PipelineId";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_pipelineId.c_str(), allocator).Move(), allocator);
}
if (m_pipelineDescHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "PipelineDesc";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_pipelineDesc.c_str(), allocator).Move(), allocator);
}
if (m_configHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "Config";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_config.c_str(), allocator).Move(), allocator);
}
if (m_statusHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "Status";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, m_status, allocator);
}
if (m_workersHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "Workers";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, m_workers, allocator);
}
if (m_batchSizeHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "BatchSize";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, m_batchSize, allocator);
}
if (m_batchDelayHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "BatchDelay";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, m_batchDelay, allocator);
}
if (m_queueTypeHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "QueueType";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_queueType.c_str(), allocator).Move(), allocator);
}
if (m_queueMaxBytesHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "QueueMaxBytes";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_queueMaxBytes.c_str(), allocator).Move(), allocator);
}
if (m_queueCheckPointWritesHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "QueueCheckPointWrites";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, m_queueCheckPointWrites, allocator);
}
}
string LogstashPipelineInfo::GetPipelineId() const
{
return m_pipelineId;
}
void LogstashPipelineInfo::SetPipelineId(const string& _pipelineId)
{
m_pipelineId = _pipelineId;
m_pipelineIdHasBeenSet = true;
}
bool LogstashPipelineInfo::PipelineIdHasBeenSet() const
{
return m_pipelineIdHasBeenSet;
}
string LogstashPipelineInfo::GetPipelineDesc() const
{
return m_pipelineDesc;
}
void LogstashPipelineInfo::SetPipelineDesc(const string& _pipelineDesc)
{
m_pipelineDesc = _pipelineDesc;
m_pipelineDescHasBeenSet = true;
}
bool LogstashPipelineInfo::PipelineDescHasBeenSet() const
{
return m_pipelineDescHasBeenSet;
}
string LogstashPipelineInfo::GetConfig() const
{
return m_config;
}
void LogstashPipelineInfo::SetConfig(const string& _config)
{
m_config = _config;
m_configHasBeenSet = true;
}
bool LogstashPipelineInfo::ConfigHasBeenSet() const
{
return m_configHasBeenSet;
}
int64_t LogstashPipelineInfo::GetStatus() const
{
return m_status;
}
void LogstashPipelineInfo::SetStatus(const int64_t& _status)
{
m_status = _status;
m_statusHasBeenSet = true;
}
bool LogstashPipelineInfo::StatusHasBeenSet() const
{
return m_statusHasBeenSet;
}
uint64_t LogstashPipelineInfo::GetWorkers() const
{
return m_workers;
}
void LogstashPipelineInfo::SetWorkers(const uint64_t& _workers)
{
m_workers = _workers;
m_workersHasBeenSet = true;
}
bool LogstashPipelineInfo::WorkersHasBeenSet() const
{
return m_workersHasBeenSet;
}
uint64_t LogstashPipelineInfo::GetBatchSize() const
{
return m_batchSize;
}
void LogstashPipelineInfo::SetBatchSize(const uint64_t& _batchSize)
{
m_batchSize = _batchSize;
m_batchSizeHasBeenSet = true;
}
bool LogstashPipelineInfo::BatchSizeHasBeenSet() const
{
return m_batchSizeHasBeenSet;
}
uint64_t LogstashPipelineInfo::GetBatchDelay() const
{
return m_batchDelay;
}
void LogstashPipelineInfo::SetBatchDelay(const uint64_t& _batchDelay)
{
m_batchDelay = _batchDelay;
m_batchDelayHasBeenSet = true;
}
bool LogstashPipelineInfo::BatchDelayHasBeenSet() const
{
return m_batchDelayHasBeenSet;
}
string LogstashPipelineInfo::GetQueueType() const
{
return m_queueType;
}
void LogstashPipelineInfo::SetQueueType(const string& _queueType)
{
m_queueType = _queueType;
m_queueTypeHasBeenSet = true;
}
bool LogstashPipelineInfo::QueueTypeHasBeenSet() const
{
return m_queueTypeHasBeenSet;
}
string LogstashPipelineInfo::GetQueueMaxBytes() const
{
return m_queueMaxBytes;
}
void LogstashPipelineInfo::SetQueueMaxBytes(const string& _queueMaxBytes)
{
m_queueMaxBytes = _queueMaxBytes;
m_queueMaxBytesHasBeenSet = true;
}
bool LogstashPipelineInfo::QueueMaxBytesHasBeenSet() const
{
return m_queueMaxBytesHasBeenSet;
}
uint64_t LogstashPipelineInfo::GetQueueCheckPointWrites() const
{
return m_queueCheckPointWrites;
}
void LogstashPipelineInfo::SetQueueCheckPointWrites(const uint64_t& _queueCheckPointWrites)
{
m_queueCheckPointWrites = _queueCheckPointWrites;
m_queueCheckPointWritesHasBeenSet = true;
}
bool LogstashPipelineInfo::QueueCheckPointWritesHasBeenSet() const
{
return m_queueCheckPointWritesHasBeenSet;
}
| [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
45d6aeb574ee11cfd77bc5cc38ffab0eb912f52c | 117761fd24cb1ab05d581e88304beec24143e680 | /goblin/whattodo_menu.hpp | 66479575800375a02599bd3ae8fee05c2398dd3b | [] | no_license | NineDayGame/NineDayGame | 0d944bb1a17dfc1200331e32f2fcaa2fe422d8b4 | 2a30ed7a02a99d7789f54ed5848598a6f8d7c00d | refs/heads/master | 2021-01-01T18:55:06.919599 | 2011-02-28T05:40:26 | 2011-02-28T05:40:26 | 1,386,782 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 409 | hpp | #ifndef WHATTODO_MENU_HPP
#define WHATTODO_MENU_HPP
#include "inventory_menu.hpp"
#include "entity.hpp"
#include "item.hpp"
class WhatToDoMenu : public InventoryMenu
{
public:
typedef boost::shared_ptr<WhatToDoMenu> ShPtr;
WhatToDoMenu(GameState::ShPtr parent, Living::ShPtr player, int sx, int sy, int w, int h);
virtual ~WhatToDoMenu();
virtual void init(Entity::ShPtr e, Item::ShPtr i);
};
#endif
| [
"foxryan@gmail.com"
] | foxryan@gmail.com |
d73783707ff99907364094f0f38c71e8cbf6ebc9 | df256c2663bcd2a61fff9950759debd2760d0ce9 | /State/State/States/Stopped.h | da0e98d8aae570068c2252f2e662fe40efcda3cf | [
"BSD-2-Clause"
] | permissive | jayavardhanravi/DesignPatterns | d4adbb80c2b781affd531f8887c4634e35788353 | aa6a37790f447c7caf69c6a1a9c6107074309a03 | refs/heads/master | 2021-07-25T05:21:02.690532 | 2021-01-02T14:17:54 | 2021-01-02T14:17:54 | 233,955,558 | 15 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | #pragma once
#include "RobotState.h"
#include "Ready.h"
#include "Shutdown.h"
class Stopped : public RobotState
{
public:
Stopped();
~Stopped();
bool StoppedRobot(Controller *);
bool ShutdownRobot(Controller *);
bool ReadyRobot(Controller *);
private:
std::unique_ptr<Stopped> state_ = nullptr;
};
| [
"8674552+jayavardhanravi@users.noreply.github.com"
] | 8674552+jayavardhanravi@users.noreply.github.com |
ddc24cb26e6f097cf6d581c59a702df127896e70 | ef9a782df42136ec09485cbdbfa8a56512c32530 | /branches/fasset2.3.2threads/src/livestock/diet.cpp | 2adab1ad5050de37ab708d7b2bec8632a6e6ca2d | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,114 | cpp | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
// Class: diet
#include "../base/common.h"
#include "diet.h"
#include "../products/feedItem.h"
#include "../products/products.h"
#ifdef _STANDALONE
#include "../base/message.h"
#endif
// Functions for class diet
/**
* constructor
*/
diet::diet(const char * aName, const int aIndex, const base * aOwner)
: base(aName, aIndex, aOwner)
{
startDate = new bsTime();
normalfeedItemList = new cloneList <product>;
deficiencyfeedItemList= new cloneList <product>;
surplusfeedItemList= new cloneList <product>;
grazedItem = NULL;
housed = 0;
propRoughage = 0.0;
propGrazed = 0.0;
zeroGrazing=false;
}
/**
* clone
*/
diet* diet::clone() const
{
diet * aDiet = new diet();
aDiet->startDate=startDate->clone();
aDiet->normalfeedItemList=normalfeedItemList->clone();
aDiet->deficiencyfeedItemList=deficiencyfeedItemList->clone();
aDiet->surplusfeedItemList=surplusfeedItemList->clone();
aDiet->grazedItem = (feed_resource *) grazedItem->clone();
aDiet->housed = housed;
aDiet->zeroGrazing=zeroGrazing;
return aDiet;
}
/**
* destructor
*/
diet::~diet()
{
delete startDate;
if (normalfeedItemList) delete normalfeedItemList;
if (deficiencyfeedItemList) delete deficiencyfeedItemList;
if (surplusfeedItemList) delete surplusfeedItemList;
delete grazedItem;
}
/**
* Empty Class. Why do we have it?
*/
void diet::DailyUpdate()
{
}
/**
* Initialize diet from files
*/
void diet::ReadParameters(commonData * infile, bool isAutoFeed)
{
infile->setCritical(true);
autoFeed = isAutoFeed;
infile->FindSection(GetName(),GetIndex()); // find the correct place in the input file
int day,month;
int year = theTime[id].GetYear();
infile->FindItem("Day",&day);
infile->FindItem("Month",&month);
//input expected grazing intake (if appropriate)
infile->setCritical(false);
bool gotGrazing = false;
double grazing=0.0;
gotGrazing= infile->FindItem("Grazing",&grazing); //get amount DM grazed in kg
double grazingSFU=0.0;
if (!gotGrazing)
gotGrazing= infile->FindItem("GrazingSFU",&grazingSFU);
zeroGrazing=false;
infile->setCritical(true);
if (!gotGrazing)
{
infile->FindItem("propRoughage",&propRoughage);
gotGrazing= infile->FindItem("propGrazed",&propGrazed); //
if (propGrazed==-1)
zeroGrazing=true;
}
if (!gotGrazing)
theMessage[id]->FatalError("cattle diet: grazing amount cannot be input as both amount and SFUs");
if ((grazing>0.0)||(grazingSFU>0.0)|| (propGrazed>0.0) ||zeroGrazing)
{
int feedCode;
feedItem* aFeedItem;
string theItemName;
infile->setCritical(false);
feedCode=0;
infile->FindItem("FeedCode",&feedCode);
infile->FindItem("Item",&theItemName);
if ((feedCode==0)&&(theItemName==""))
theMessage[id]->FatalError("cattle diet: grazed feed type not defined by name or feed code");
if (feedCode>0)
aFeedItem = (feedItem*) theProducts[id]->GetProductElement(feedCode); //get default product info using feed code
else
aFeedItem = (feedItem*) theProducts[id]->GetProductElement(theItemName); //get default product info using name
grazedItem= new feed_resource(*aFeedItem);
grazedItem->SetObjType(feedItemObj);
if (autoFeed == true)
grazedItem->Setamount(-1.0); //will be overwritten later if autoFeed is true
else if (grazingSFU>0)
{
grazing = grazingSFU/aFeedItem->GetfeedUnitsPerItemUnit(); //convert to tonnes FW
grazedItem->Setamount(grazing);
}
else
grazedItem->Setamount(grazing);
grazedItem->SetIsSupplement(false);
infile->setCritical(true);
}
infile->FindItem("Housed",&housed);
startDate->SetTime(day, month, year);
string namestr;
char Indexstr[10];
sprintf(Indexstr,"(%d)",Index);
namestr=(string) GetName()+Indexstr+"."+"Normal.Supplement";
int first,num;
infile->setCritical(false);
if (!autoFeed)
infile->getSectionsNumbers(namestr,&first,&num); //count the number of supplements available in this period
else
{
first=0;
num=1;
}
infile->setCritical(true);
for(int inx=first;inx<=(first+num);inx++)
{
infile->FindSection(namestr.c_str(),inx); // find the correct place in the input file
normalfeedItemList->InsertLast(LoadFeedItem(infile,autoFeed)); //load feed items into the feed item list
}
infile->setCritical(false);
namestr=(string) GetName()+Indexstr+"."+"Deficiency.Supplement";
infile->getSectionsNumbers(namestr,&first,&num); //count the number of deficiency supplements
for(int inx=first;inx<=(first+num);inx++)
{
infile->FindSection(namestr.c_str(),inx); // find the correct place in the input file
deficiencyfeedItemList->InsertLast(LoadFeedItem(infile,autoFeed)); //load feed items into the feed item list
}
namestr=(string) GetName()+Indexstr+"."+"Surplus.Supplement";
infile->getSectionsNumbers( namestr,&first,&num); //count the number of surplus supplements
for(int inx=first;inx<=(first+num);inx++)
{
infile->FindSection(namestr.c_str(),inx); // find the correct place in the input file
surplusfeedItemList->InsertLast(LoadFeedItem(infile,autoFeed)); //load feed items into the feed item list
}
infile->setCritical(true);
}
/**
* Grazing or not
*/
bool diet::IsGrazing()
{
if (grazedItem)
{
if (grazedItem->GetAmount()>0.0)
return true;
else
return false;
}
else
return false;
};
/*
* Loads the amount of each feed, finds the information about feed composition and convert from feedItem to feed_resource
*/
feed_resource* diet::LoadFeedItem(commonData * infile,bool autoFeed)
{
feed_resource* feed_resourceClone=new feed_resource();
feedItem* aFeedItem;
double amount=-1.0;
string theItemName;
int feedCode=0;
double SFUamount=-1.0;
infile->setCritical(false);
infile->FindItem("Item",&theItemName);
infile->FindItem("Amount",&amount);
infile->FindItem("SFUamount",&SFUamount);
infile->FindItem("FeedCode",&feedCode);
infile->setCritical(true);
if ((SFUamount>0)&&(amount>0))
theMessage[id]->FatalError("cattle diet: feed amount cannot be input as both amount and SFUs");
if ((SFUamount==-1.0)&&(amount==-1.0)&&(!autoFeed))
theMessage[id]->FatalError("cattle diet: feed amount not specified as amount fresh weight or amount of SFUs");
if ((feedCode==0)&&(theItemName==""))
theMessage[id]->FatalError("cattle diet: feed type not defined by name or feed code");
if (feedCode>0)
aFeedItem = (feedItem*) theProducts[id]->GetProductElement(feedCode); //get default product info using feed code
else
aFeedItem = (feedItem*) theProducts[id]->GetProductElement(theItemName); //get default product info using name
if (!autoFeed)
{
if (SFUamount>0)
amount = SFUamount/aFeedItem->GetfeedUnitsPerItemUnit(); //convert to tonnes FW
else
amount /= (aFeedItem->GetdryMatter() * 1000.0);
}
else
amount = -1.0;
if ((amount>0.0)||(autoFeed))
{
feed_resourceClone = new feed_resource(*aFeedItem); // LEAK (bmp) !!!
feed_resourceClone->SetObjType(feedItemObj);
feed_resourceClone->Setamount(amount);
feed_resourceClone->SetIsSupplement(true);
}
else theMessage[id]->FatalError("cattle diet: feed amount cannot be zero");
feed_resourceClone->GotItAll();
return feed_resourceClone;
};
/*
* Get grazed feed required (kg DM/day)
*/
double diet::GetGrazingFeedRequirement(bool zeroGrazed)
{
double grazedFeedReq = 0.0;
if (grazedItem && (zeroGrazed==zeroGrazing))
grazedFeedReq=grazedItem->GetAmount() * grazedItem->GetdryMatter();
return grazedFeedReq;
};
void diet::ShowDiet(fstream * fs, bool header)
{
if (header)
{
*fs << "Date" << "\t";
if (grazedItem)
*fs << "Code" << "\t" << "DM" << "\t" << "FE" << "\t" << "ME" << "\t";
*fs << "housed" << "\t" << "propRoughage" << "\t" << "propGrazed" << "\t";
for (int i=0; i<normalfeedItemList->NumOfNodes();i++)
*fs << "Code" << "\t" << "DM" << "\t" << "FE" << "\t" << "ME" << "\t";
if (deficiencyfeedItemList->NumOfNodes()>0)
{
for (int i=0; i<deficiencyfeedItemList->NumOfNodes();i++)
*fs << "Code" << "\t" << "DM" << "\t" << "FE" << "\t" << "ME" << "\t";
}
if (surplusfeedItemList->NumOfNodes()>0)
{
for (int i=0; i<surplusfeedItemList->NumOfNodes();i++)
*fs << "Code" << "\t" << "DM" << "\t" << "FE" << "\t" << "ME" << "\t";
}
}
else
{
*fs << startDate->GetYear() << "-" << startDate->GetMonth() << "-" << startDate->GetDay() << "\t";
if (grazedItem)
{
*fs << grazedItem->GetCode()<< "\t";
*fs << 1000.0 * grazedItem->GetAmount()* grazedItem->GetdryMatter()<< "\t";
*fs << grazedItem->GetAmount() * grazedItem->GetfeedUnitsPerItemUnit()<< "\t";
*fs << grazedItem->GetAmount() * grazedItem->GetME()<< "\t";
}
else
*fs << "0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t";
*fs << housed << "\t";
*fs << propRoughage << "\t";
*fs << propGrazed << "\t";
for (int i=0; i<normalfeedItemList->NumOfNodes();i++)
{
feedItem * aFeedItem= ((feedItem *)normalfeedItemList->ElementAtNumber(i));
*fs << aFeedItem->GetCode()<< "\t";
*fs << 1000.0 * aFeedItem->GetAmount()* aFeedItem->GetdryMatter()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetfeedUnitsPerItemUnit()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetME()<< "\t";
}
if (deficiencyfeedItemList->NumOfNodes()>0)
{
for (int i=0; i<deficiencyfeedItemList->NumOfNodes();i++)
{
feedItem * aFeedItem= ((feedItem *)deficiencyfeedItemList->ElementAtNumber(i));
*fs << aFeedItem->GetCode()<< "\t";
*fs << 1000.0 * aFeedItem->GetAmount()* aFeedItem->GetdryMatter()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetfeedUnitsPerItemUnit()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetME()<< "\t";
}
}
else
for (int i=0; i<2;i++)
*fs << "0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t";
if (surplusfeedItemList->NumOfNodes()>0)
{
for (int i=0; i<surplusfeedItemList->NumOfNodes();i++)
{
feedItem * aFeedItem= ((feedItem *)surplusfeedItemList->ElementAtNumber(i));
*fs << aFeedItem->GetCode()<< "\t";
*fs << 1000.0 * aFeedItem->GetAmount()* aFeedItem->GetdryMatter()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetfeedUnitsPerItemUnit()<< "\t";
*fs << aFeedItem->GetAmount() * aFeedItem->GetME()<< "\t";
}
}
else
for (int i=0; i<2;i++)
*fs << "0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t"<< "0.0" << "\t";
}
}
/**
* If normalfeedItemList and aList have the same item that item in normalfeedItemList's amount would be updated
*/
void diet::GetRoughageRequired(linkList <product> * aList, double numberOfAnimals)
{
// double amount;
for(int i=0;i<aList->NumOfNodes();i++)
{
product * aProduct = aList->ElementAtNumber(i);
for(int j=0;j<normalfeedItemList->NumOfNodes();j++)
{
product * aRequireProduct = normalfeedItemList->ElementAtNumber(j);
if (!((feedItem*) aProduct)->GetCode() == ((feedItem*) aRequireProduct)->GetCode())
aProduct->Setamount(aProduct->GetAmount()+numberOfAnimals*aRequireProduct->GetAmount());
}
}
};
/**
* return the amount of Silage multiplier by numberOfAnimals
*/
double diet::GetGrassSilageRequired(double numberOfAnimals)
{
double amount=0.0;
//product * aProduct;
for(int j=0;j<normalfeedItemList->NumOfNodes();j++)
{
product * aProduct = normalfeedItemList->ElementAtNumber(j);
if (((feedItem*) aProduct)->GetCode() == 565)
amount+=numberOfAnimals*aProduct->GetAmount();
}
return amount;
};
/*
* Returns winter silage requirement in tonnes DM
*/
double diet::GetSilageRequired(double numberOfAnimals, int startCode, int endCode)
{
double amount=0.0;
// product * aProduct;
for(int j=0;j<normalfeedItemList->NumOfNodes();j++)
{
feedItem * aProduct = ((feedItem*) normalfeedItemList->ElementAtNumber(j));
int code = aProduct->GetCode();
if ((code >= startCode) && (code <= endCode))
amount+=numberOfAnimals*aProduct->GetAmount() * aProduct->GetdryMatter();
}
return amount;
};
/**
* Empty all list
*/
void diet::ClearLists()
{
if (normalfeedItemList)
delete normalfeedItemList;
if (deficiencyfeedItemList)
delete deficiencyfeedItemList;
if (surplusfeedItemList)
delete surplusfeedItemList;
delete grazedItem;
}
/**
*
*/
void diet::CreateDefaultDiets(double differentiation)
{
feedItem *aConcFeed;
feedItem *aRoughFeed;
feedItem * afeedItem;
aRoughFeed = ((feedItem *) FindConservedRoughageFeed());
aConcFeed = ((feedItem *) FindConcentrateFeed());
// surplus feed list.
afeedItem = new feedItem(*aConcFeed);
afeedItem->SetObjType(feedItemObj);
afeedItem->Setamount((1-differentiation) *afeedItem->GetAmount());
surplusfeedItemList->InsertLast(afeedItem); //load feed items into the feed item list
afeedItem = new feedItem(*aRoughFeed);
afeedItem->SetObjType(feedItemObj);
surplusfeedItemList->InsertLast(afeedItem); //load feed items into the feed item list
// deficiency feed list.
afeedItem = new feedItem(*aConcFeed);
afeedItem->SetObjType(feedItemObj);
afeedItem->Setamount((1+differentiation)*afeedItem->GetAmount());
deficiencyfeedItemList->InsertLast(afeedItem); //load feed items into the feed item list
afeedItem = new feedItem(*aRoughFeed);
afeedItem->SetObjType(feedItemObj);
deficiencyfeedItemList->InsertLast(afeedItem); //load feed items into the feed item list
};
/**
* Find the first instance of roughage in normalfeedItemList
*/
product* diet::FindConservedRoughageFeed()
{
int j=0;
product * aProduct=new product();
bool gotRough=false;
while ((j<normalfeedItemList->NumOfNodes())&&(!gotRough))
{
aProduct = normalfeedItemList->ElementAtNumber(j);
if (((feedItem*) aProduct)->GetfeedCategory() == 2)
gotRough=true;
j++;
}
if (!gotRough)
theMessage[id]->FatalError("diet: FindConservedRoughageFeed - feed not found");
return aProduct;
};
/**
* Find the first instance of Concentrate in normalfeedItemList
*/
product* diet::FindConcentrateFeed()
{
int j=0;
product * aProduct=new product();
bool gotConc=false;
while ((j<normalfeedItemList->NumOfNodes())&&(!gotConc))
{
aProduct = normalfeedItemList->ElementAtNumber(j);
if (((feedItem*) aProduct)->GetfeedCategory() == 1)
gotConc=true;
j++;
}
if (!gotConc)
theMessage[id]->FatalError("diet: FindConcentrateFeed - feed not found");
return aProduct;
};
product* diet::FindGrazedFeed()
{
if (grazedItem)
return grazedItem;
else
return NULL;
};
| [
"sai@agro.au.dk"
] | sai@agro.au.dk |
57ef691fa29cd28aa8d52fb267e8a766b8cb87b9 | fc48cd25cd7a6a1061a15826c4d5502bee88fe2a | /MyDungreed/MyDungreed/NormalEffect.cpp | 87ca1383a06cf8fdc3bee84d38464c0ca350b5ec | [] | no_license | Daruria/CopyProject | 9e3b5ba0f607930b6f58104e9eb52c4f04e2f98f | 672bc7c90aff617d2aa5f087e77f30129565d9a0 | refs/heads/master | 2022-11-20T12:19:03.801310 | 2020-07-26T17:02:55 | 2020-07-26T17:02:55 | 282,668,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include "stdafx.h"
#include "NormalEffect.h"
#include "ScrollManager.h"
CNormalEffect::CNormalEffect():
m_fAngle(0.f),
m_fSpeed(0.f),
m_iFrame(0),
m_iMaxFrame(0),
m_dwFrameTime(0),
m_dwFrameMaxTime(0),
m_strKey("")
{
}
CNormalEffect::~CNormalEffect()
{
Release();
}
void CNormalEffect::Initialize()
{
m_dwFrameTime = GetTickCount();
m_dwFrameMaxTime = 100;
m_iFrame = 0;
m_bLife = true;
}
int CNormalEffect::Update()
{
if (m_iMaxFrame == 1)
{
if (m_dwFrameTime + m_dwFrameMaxTime < GetTickCount())
m_bLife = false;
return 0;
}
if (m_dwFrameTime + m_dwFrameMaxTime < GetTickCount())
{
m_iFrame++;
if (m_iFrame >= m_iMaxFrame) m_bLife = false;
m_dwFrameTime = GetTickCount();
}
m_tInfo.fx += cosf(m_fAngle) * m_fSpeed;
m_tInfo.fy += sinf(m_fAngle) * m_fSpeed;
return 0;
}
void CNormalEffect::LateUpdate()
{
}
void CNormalEffect::Render(HDC hDC)
{
HDC hMemDC = FIND_BITMAP_DC(m_strKey);
POSITION tPos = CScrollManager::WorldToScreen(m_tInfo);
if (tPos.fx + m_tInfo.icx / 2 < 0 || tPos.fx - m_tInfo.icx / 2 > WINCX)
return;
if (tPos.fy + m_tInfo.icy / 2 < 0 || tPos.fy - m_tInfo.icy / 2 > WINCY)
return;
SIZE tSize = GET_BITMAP_SIZE(m_strKey);
BOOL bRender = TRUE;
if (hMemDC)
bRender = GdiTransparentBlt(hDC,
static_cast<int>(tPos.fx - m_tInfo.icx * m_fRatio / 2),
static_cast<int>(tPos.fy - m_tInfo.icy * m_fRatio / 2),
static_cast<int>(m_tInfo.icx * m_fRatio),
static_cast<int>(m_tInfo.icy * m_fRatio),
hMemDC,
m_tInfo.icx * m_iFrame, 0, m_tInfo.icx, m_tInfo.icy, RGB(255, 0, 255));
else
CAN_NOT_FOUND_BITMAP(hDC, static_cast<int>(tPos.fx - m_tInfo.icx / 2), static_cast<int>(tPos.fy - m_tInfo.icy / 2), m_tInfo.icx, m_tInfo.icy);
int iA = 0;
}
void CNormalEffect::Release()
{
}
| [
"56038721+Daruria@users.noreply.github.com"
] | 56038721+Daruria@users.noreply.github.com |
9b0b11dacca9a3e494d54eb95db6f9f07492f048 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/079/948/CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62a.cpp | d0acc296cfe9f246849435812fd4991f32387936 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62a.cpp
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-62a.tmpl.cpp
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: environment Read input from an environment variable
* GoodSource: Copy a fixed string into data
* Sinks: w32_vsnprintf
* GoodSink: vsnprintf with a format string
* BadSink : vsnprintf without a format string
* Flow Variant: 62 Data flow: data flows using a C++ reference from one function to another in different source files
*
* */
#include <stdarg.h>
#include "std_testcase.h"
#ifndef _WIN32
#include <wchar.h>
#endif
namespace CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62
{
#ifndef OMITBAD
/* bad function declaration */
void badSource(char * &data);
static void badVaSink(char * data, ...)
{
{
char dest[100] = "";
va_list args;
va_start(args, data);
/* POTENTIAL FLAW: Do not specify the format allowing a possible format string vulnerability */
vsnprintf(dest, 100-1, data, args);
va_end(args);
printLine(dest);
}
}
void bad()
{
char * data;
char dataBuffer[100] = "";
data = dataBuffer;
badSource(data);
badVaSink(data, data);
}
#endif /* OMITBAD */
#ifndef OMITGOOD
/* goodG2B uses the GoodSource with the BadSink */
void goodG2BSource(char * &data);
static void goodG2BVaSink(char * data, ...)
{
{
char dest[100] = "";
va_list args;
va_start(args, data);
/* POTENTIAL FLAW: Do not specify the format allowing a possible format string vulnerability */
vsnprintf(dest, 100-1, data, args);
va_end(args);
printLine(dest);
}
}
static void goodG2B()
{
char * data;
char dataBuffer[100] = "";
data = dataBuffer;
goodG2BSource(data);
goodG2BVaSink(data, data);
}
/* goodB2G uses the BadSource with the GoodSink */
void goodB2GSource(char * &data);
static void goodB2GVaSink(char * data, ...)
{
{
char dest[100] = "";
va_list args;
va_start(args, data);
/* FIX: Specify the format disallowing a format string vulnerability */
vsnprintf(dest, 100-1, "%s", args);
va_end(args);
printLine(dest);
}
}
static void goodB2G()
{
char * data;
char dataBuffer[100] = "";
data = dataBuffer;
goodB2GSource(data);
goodB2GVaSink(data, data);
}
void good()
{
goodG2B();
goodB2G();
}
#endif /* OMITGOOD */
} /* close namespace */
/* Below is the main(). It is only used when building this testcase on
its own for testing or for building a binary to use in testing binary
analysis tools. It is not used when compiling all the testcases as one
application, which is how source code analysis tools are tested. */
#ifdef INCLUDEMAIN
using namespace CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62; /* so that we can use good and bad easily */
int main(int argc, char * argv[])
{
/* seed randomness */
srand( (unsigned)time(NULL) );
#ifndef OMITGOOD
printLine("Calling good()...");
good();
printLine("Finished good()");
#endif /* OMITGOOD */
#ifndef OMITBAD
printLine("Calling bad()...");
bad();
printLine("Finished bad()");
#endif /* OMITBAD */
return 0;
}
#endif
| [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
7aad8fcda24f6040df002e45e623290f7886cba9 | 30b8561243cff67f758633327004cb378e5c5cef | /source/include/NGE/Geometry/Basic/Basic.hpp | 6154ba79c046e14d0cc74a363b5f4e7576e6aa6b | [] | no_license | tkubicz/ngengine | 56a7235de0c799f541d47841380da6fd90d3abed | 75413c8b77587e5ec8f03164fa9b5dcd7697c0c6 | refs/heads/master | 2021-01-12T06:02:57.202296 | 2016-06-15T16:42:43 | 2016-06-15T16:42:43 | 77,282,542 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | hpp | /*
* File: Basic.hpp
* Author: tku
*
* Created on 3 listopad 2013, 04:32
*/
#ifndef BASIC_HPP
#define BASIC_HPP
#include "NGE/Geometry/Mesh.hpp"
namespace NGE {
namespace Geometry {
namespace Basic {
class Basic : public Geometry::Mesh {
public:
/**
* Metoda inicjująca obiekt.
* Metoda inicjuje obiekt tzn. wywołuje metody InitializeGeometry(), InitializeVBO() i InitializeVBA().
* @return true - jeżeli wszystko się powiodło, w przeciwnym razie false.
*/
virtual bool Initialize() = 0;
/**
* Metoda aktualizująca obiekt.
* @param deltaTime
*/
virtual void Update(float deltaTime) = 0;
/**
* Metoda renderująca obiekt
*/
virtual void Render() = 0;
protected:
/**
* Metoda inicjująca geometrię.
* Uzupełnia wektory wierzchołków, tekstur, wektorów normalnych, indeksów i kolorów.
* @return true - jeżeli wszystko się powiodło, w przeciwnym razie false.
*/
virtual bool InitializeGeometry() = 0;
/**
* Metoda inicjująca Vertex Buffer Objects.
* Metoda generująca bufory i wypełniająca je danymi.
* @return true - jeżeli wszystko się powiodło, w przeciwnym razie false.
*/
virtual bool InitializeVBO() = 0;
/**
* Metoda inicjująca Vertex Buffer Arrays.
* Metoda generuje VBA i przypisuje do nich bufory obiektów wygenerowane przy pomocy
* metody InitializeVBO().
* @return true - jeżeli wszystko się powiodło, w przeciwnym razie false.
*/
virtual bool InitializeVBA() = 0;
};
}
}
}
#endif /* BASIC_HPP */
| [
"tymoteusz.kubicz@gmail.com"
] | tymoteusz.kubicz@gmail.com |
670fdb2dd68937aed3e2e2ed2ddbcbe97a40fd52 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/compiler/mlir/tools/kernel_gen/transforms/same_shape_propagation.cc | 1e422f6ab88c70ef2774536523d1d3dfab8adc81 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 14,082 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
// This file contains the analysis and transformation to rewrite kernel
// functions such that they use a single set of arguments for the strides and
// sizes of operands with equal shapes.
#include <memory>
#include <tuple>
#include <utility>
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/EquivalenceClasses.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Debug.h"
#include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project
#include "mlir/Dialect/GPU/IR/GPUDialect.h" // from @llvm-project
#include "mlir/Dialect/LLVMIR/LLVMDialect.h" // from @llvm-project
#include "mlir/IR/AsmState.h" // from @llvm-project
#include "mlir/IR/BuiltinTypes.h" // from @llvm-project
#include "mlir/IR/MLIRContext.h" // from @llvm-project
#include "mlir/IR/Value.h" // from @llvm-project
#include "mlir/Support/LLVM.h" // from @llvm-project
#include "tensorflow/compiler/mlir/tools/kernel_gen/ir/tf_framework_ops.h"
#include "tensorflow/compiler/mlir/tools/kernel_gen/transforms/passes.h"
#include "tensorflow/compiler/xla/mlir_hlo/lhlo/IR/lhlo_ops.h"
#define DEBUG_TYPE "kernel-gen-shapes"
namespace {
using mlir::ArrayRef;
using mlir::SmallVector;
using mlir::Value;
/// Represents a value or constant. Used to unify operands for operations that
/// take both ssa values and attributes.
struct ValueOrConst {
explicit ValueOrConst(Value v) : value_or_constant(v), is_constant(false) {}
explicit ValueOrConst(int64_t c) : value_or_constant(c), is_constant(true) {}
Value value() const {
assert(!is_constant);
return value_or_constant.value;
}
int64_t constant() const {
assert(is_constant);
return value_or_constant.constant;
}
bool isConstant() const { return is_constant; }
private:
union ValueOrConstStorage {
explicit ValueOrConstStorage(Value v) : value(v) {}
explicit ValueOrConstStorage(size_t c) : constant(c) {}
Value value;
int64_t constant;
} value_or_constant;
bool is_constant;
};
llvm::hash_code hash_value(ValueOrConst value) {
return value.isConstant() ? static_cast<llvm::hash_code>(value.constant())
: mlir::hash_value(value.value());
}
bool operator==(ValueOrConst lhs, ValueOrConst rhs) {
if (lhs.isConstant()) {
return rhs.isConstant() && lhs.constant() == rhs.constant();
} else {
return !rhs.isConstant() && lhs.value() == rhs.value();
}
}
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
const ValueOrConst &value) {
if (value.isConstant()) {
os << value.constant();
} else {
Value val = value.value();
mlir::AsmState asm_state(
val.getParentRegion()->getParentOfType<mlir::func::FuncOp>());
val.printAsOperand(os, asm_state);
}
return os;
}
/// Represents a shape, as either a single SSA value that represents the entire
/// shape vector or as a vector of SSA values representing scalars.
struct ShapeValue {
explicit ShapeValue(Value vector)
: shape({ValueOrConst{vector}}), is_vector(true) {}
explicit ShapeValue(ValueOrConst vector) : shape({vector}), is_vector(true) {
assert(!vector.isConstant());
}
template <typename T>
explicit ShapeValue(T values)
: shape(values.begin(), values.end()), is_vector(false) {}
ValueOrConst vector() const {
assert(is_vector);
return shape.front();
}
ArrayRef<ValueOrConst> scalars() const {
assert(!is_vector);
return llvm::ArrayRef(shape);
}
bool isVector() const { return is_vector; }
private:
SmallVector<ValueOrConst, 4> shape;
bool is_vector;
};
llvm::hash_code hash_value(ShapeValue shape) {
return shape.isVector() ? hash_value(shape.vector())
: hash_value(shape.scalars());
}
bool operator==(ShapeValue lhs, ShapeValue rhs) {
if (lhs.isVector()) {
return rhs.isVector() && lhs.vector() == rhs.vector();
} else {
return !rhs.isVector() && lhs.scalars() == rhs.scalars();
}
}
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
const ShapeValue &shape) {
if (shape.isVector()) {
os << shape.vector();
return os;
}
os << "[";
bool first = true;
for (auto scalar : shape.scalars()) {
if (!first) {
os << ", ";
}
first = false;
os << scalar;
}
os << "]";
return os;
}
} // namespace
namespace llvm {
template <>
struct DenseMapInfo<ShapeValue> {
static ShapeValue getEmptyKey() {
return ShapeValue(DenseMapInfo<mlir::Value>::getEmptyKey());
}
static ShapeValue getTombstoneKey() {
return ShapeValue(DenseMapInfo<mlir::Value>::getTombstoneKey());
}
static unsigned getHashValue(ShapeValue shape) { return hash_value(shape); }
static bool isEqual(ShapeValue LHS, ShapeValue RHS) { return LHS == RHS; }
};
} // namespace llvm
namespace mlir {
namespace kernel_gen {
namespace transforms {
namespace {
#define GEN_PASS_DEF_PROPAGATESHAPEKNOWLEDGETOKERNELS
#include "tensorflow/compiler/mlir/tools/kernel_gen/transforms/kernel_gen_passes.h.inc"
// A basic shape equality inference. This should be superceeded by a proper
// inference once available. Until then, we just build this out to the needs of
// the kernel generator project.
class ShapeEqualityKnowledge {
public:
/// Checks all operations for potential shape equality of their respective
/// results.
void build(func::FuncOp function) {
function.walk([&](Operation *op) {
if (auto reshape = dyn_cast<memref::ReshapeOp>(op)) {
registerAssociation(ShapeValue{(Value)reshape.getShape()},
reshape.getResult());
return;
}
if (auto cast = dyn_cast<memref::ReinterpretCastOp>(op)) {
// Only support fully dynamic sizes for now.
// TODO(herhut): Fix once the op has canonicalizers that break this.
for (unsigned int p = 0, e = cast.getResultRank(); p < e; ++p) {
if (!cast.isDynamicSize(p)) {
return;
}
}
registerAssociation(ShapeValue{cast.getSizes()}, cast.getResult());
return;
}
if (auto alloc = dyn_cast<memref::AllocOp>(op)) {
SmallVector<ValueOrConst, 4> shape;
ShapedType type = alloc.getResult().getType().cast<ShapedType>();
fillShapeFromAllocLike(alloc.getDynamicSizes(), type, shape);
registerAssociation(ShapeValue{shape}, alloc.getResult());
return;
}
if (auto alloc = dyn_cast<tf_framework::TFAllocOp>(op)) {
// Construct a symbol representing the allocated shape.
SmallVector<ValueOrConst, 4> shape;
ShapedType type = alloc.getResult().getType().cast<ShapedType>();
fillShapeFromAllocLike(alloc.getDynSizes(), type, shape);
registerAssociation(ShapeValue{shape}, alloc.getResult());
return;
}
});
}
/// Checks whether `one` and `other` are known to have the same shape and
/// strides.
bool haveSameShape(Value one, Value other) {
return equal_shapes_.isEquivalent(one.getAsOpaquePointer(),
other.getAsOpaquePointer());
}
private:
static void fillShapeFromAllocLike(mlir::OperandRange operands,
ShapedType type,
SmallVectorImpl<ValueOrConst> &shape) {
assert(type.hasRank());
auto dynamic_sizes = operands.begin();
for (auto extent : type.getShape()) {
shape.push_back(ShapedType::isDynamic(extent)
? ValueOrConst{*(dynamic_sizes++)}
: ValueOrConst{extent});
}
}
/// Registers the value `value` to have the shape represented by `shape`. If
/// `shape` has been registered before, place `value` into the same
/// equivalence class. Otherwise register `value` as an equivalence class of
/// its own.
void registerAssociation(ShapeValue shape, Value value) {
LLVM_DEBUG({ llvm::dbgs() << "Processing " << value << "\n"; });
auto insert_symbolic = symbolic_shapes_.insert({shape, value});
if (insert_symbolic.second) {
LLVM_DEBUG({ llvm::dbgs() << "New symbolic shape " << shape << "\n"; });
equal_shapes_.insert(value.getAsOpaquePointer());
// We have seen this symbolic shape for the first time. Try to match it
// with a vector or shape we already know and alias classes if possible.
// This could be based on shape dialect if we weren't late in the
// lowering.
tryEvaluateShapeToRoot(shape, value);
} else {
auto rep = insert_symbolic.first->second;
LLVM_DEBUG({ llvm::dbgs() << "Aliasing with rep " << rep << "\n"; });
equal_shapes_.unionSets(rep.getAsOpaquePointer(),
value.getAsOpaquePointer());
}
}
/// Follows the definition chains of the ShapeValue `shape` to identify cases
/// where `shape` is derived from some other value's shape. In such case, the
/// equivalence classes of that other value and `value` are unioned.
/// This is based on pattern matching and not complete.
void tryEvaluateShapeToRoot(ShapeValue shape, Value value) {
// Just some pattern matching for common cases here.
if (!shape.isVector()) {
// Patterns that revolve around scalars.
// Check whether the scalars are all dim operations for some other memref.
Value candidate;
bool all_are_dimops =
llvm::all_of(llvm::enumerate(shape.scalars()), [&candidate](auto p) {
ValueOrConst val = p.value();
if (val.isConstant()) return false;
auto dimOp = val.value().getDefiningOp<memref::DimOp>();
if (!dimOp) return false;
if (!candidate) candidate = dimOp.getSource();
auto index = dimOp.getConstantIndex();
if (!index.has_value()) return false;
return candidate == dimOp.getSource() && p.index() == index.value();
});
if (all_are_dimops && candidate) {
equal_shapes_.unionSets(candidate.getAsOpaquePointer(),
value.getAsOpaquePointer());
}
}
}
// These are values with identical shapes (or rather their opaque pointers).
llvm::EquivalenceClasses<void *> equal_shapes_;
// A map from a value that encodes a shape to a value that has this shape.
llvm::DenseMap<ShapeValue, Value> symbolic_shapes_;
};
/// For arguments to kernels that have the same shape, use the stride and
/// shape information of the left-most argument inside of the kernel function.
/// That way, llvm can CSE index computations on same-shaped inputs.
struct PropagateShapeKnowledgeToKernels
: public impl::PropagateShapeKnowledgeToKernelsBase<
PropagateShapeKnowledgeToKernels> {
void runOnOperation() override {
ShapeEqualityKnowledge knowledge;
knowledge.build(getOperation());
getOperation().walk([&](gpu::LaunchFuncOp launch) {
auto module = launch->getParentOfType<ModuleOp>();
auto kernel = module.lookupSymbol<LLVM::LLVMFuncOp>(launch.getKernel());
if (!kernel || kernel.isExternal()) return;
llvm::SmallVector<std::pair<Value, int>, 4> seen_memrefs;
// Position of the kernel argument we are currently at.
int kernel_p = 0;
for (auto operand : launch.getKernelOperands()) {
auto memref = operand.getType().dyn_cast<MemRefType>();
if (!memref) {
// Scalar argument, advance kernel position by one.
kernel_p++;
continue;
}
for (auto previous : seen_memrefs) {
if (!knowledge.haveSameShape(operand, previous.first)) {
continue;
}
auto previous_type = previous.first.getType().cast<MemRefType>();
// We use the first equality found and replace uses of corresponding
// size and (potentially) stride information here.
auto args_to_replace = memref.getRank();
// If both memrefs have identity layouts, we can also reuse the
// strides here, as they are the identity strides and hence fully
// determinded by the shape.
if (previous_type.getLayout().isIdentity() &&
memref.getLayout().isIdentity()) {
args_to_replace *= 2;
}
int previous_args_pos = previous.second;
auto previous_args = kernel.getArguments()
.drop_front(previous_args_pos + 3)
.take_front(args_to_replace);
auto current_args = kernel.getArguments()
.drop_front(kernel_p + 3)
.take_front(args_to_replace);
for (auto pair : llvm::zip(previous_args, current_args)) {
mlir::BlockArgument prev, curr;
std::tie(prev, curr) = pair;
curr.replaceAllUsesWith(prev);
}
break;
}
seen_memrefs.push_back({operand, kernel_p});
// Advance base, aligned, offset, strides and sizes many arguments.
kernel_p += memref.getRank() * 2 + 3;
}
});
}
};
} // namespace
std::unique_ptr<OperationPass<func::FuncOp>>
CreatePropagateShapeKnowledgeToKernels() {
return std::make_unique<PropagateShapeKnowledgeToKernels>();
}
} // namespace transforms
} // namespace kernel_gen
} // namespace mlir
| [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a33b1043f02c9f80956577c4e741074b9c6f6c0e | 70d18149c9d7125b6b52eb540b79add35945cfa4 | /Variable Sized Arrays.cpp | ce62648709bb7e18437d0e0ccd478f6ab5395df1 | [] | no_license | astrodestroyergithub/Hackerrank | c02baab3159de738c380d9a9c7cb7819416ba39e | f222fa7bf4432e36fba41dc7bda7f598387c20c8 | refs/heads/master | 2023-06-17T11:28:46.220080 | 2021-07-16T10:42:52 | 2021-07-16T10:42:52 | 312,766,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n,q;
cin>>n>>q;
vector<int> a[n];
for(int i=0;i<n;i++)
{
int k;
cin>>k;
for(int j=0;j<k;j++)
{
int o;
cin>>o;
a[i].push_back(o);
}
}
for(int i=0;i<q;i++)
{
int r,s;
cin>>r>>s;
cout<<a[r][s]<<endl;
}
return 0;
}
| [
"noreply@github.com"
] | astrodestroyergithub.noreply@github.com |
5f3063060609f5d2732ecb783ff5c70d1b8918dc | 2bf7fa88e9db79ad96fc62f9dda8d586efb1cc5b | /navigation/ca_safety_controller/src/nodelet.cpp | 6f813311882ba463a9c1ce09156558c614f8ee4a | [] | permissive | ivanpauno/create_autonomy | 3111556667317f077d506c66a2d7d3f31373f409 | 7c3810761d12f064f15459458529ec20ff28f89d | refs/heads/kinetic-devel | 2021-07-06T02:51:07.138626 | 2019-11-08T13:24:05 | 2019-11-08T13:24:05 | 210,257,141 | 0 | 0 | BSD-3-Clause | 2019-11-27T20:06:04 | 2019-09-23T03:29:23 | C++ | UTF-8 | C++ | false | false | 3,634 | cpp | /*
* Copyright (c) 2012, Yujin Robot.
* 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 Yujin Robot 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.
*/
/**
* @file /ca_safety_controller/src/nodelet.cpp
*
* @brief Implementation for Create's safety controller nodelet
*
* @author Marcus Liebhardt, Yujin Robot
*
**/
/*****************************************************************************
** Includes
*****************************************************************************/
#include <nodelet/nodelet.h>
#include <pluginlib/class_list_macros.h>
#include <ecl/threads/thread.hpp>
#include "ca_safety_controller/safety_controller.hpp"
namespace ca
{
class SafetyControllerNodelet : public nodelet::Nodelet
{
public:
SafetyControllerNodelet() : shutdown_requested_(false) { };
~SafetyControllerNodelet()
{
NODELET_DEBUG_STREAM("Waiting for update thread to finish.");
shutdown_requested_ = true;
update_thread_.join();
}
virtual void onInit()
{
ros::NodeHandle nh = this->getPrivateNodeHandle();
// resolve node(let) name
std::string name = nh.getUnresolvedNamespace();
int pos = name.find_last_of('/');
name = name.substr(pos + 1);
NODELET_INFO_STREAM("Initialising nodelet... [" << name << "]");
controller_.reset(new SafetyController(nh, name));
if (controller_->init())
{
NODELET_INFO_STREAM("Create initialised. Spinning up update thread ... [" << name << "]");
update_thread_.start(&SafetyControllerNodelet::update, *this);
NODELET_INFO_STREAM("Nodelet initialised. [" << name << "]");
}
else
{
NODELET_ERROR_STREAM("Couldn't initialise nodelet! Please restart. [" << name << "]");
}
}
private:
void update()
{
ros::Rate spin_rate(10);
controller_->enable(); // enable the controller when loading the nodelet
while (! shutdown_requested_ && ros::ok())
{
controller_->spin();
spin_rate.sleep();
}
}
boost::shared_ptr<SafetyController> controller_;
ecl::Thread update_thread_;
bool shutdown_requested_;
};
} // namespace ca
PLUGINLIB_EXPORT_CLASS(ca::SafetyControllerNodelet,
nodelet::Nodelet);
| [
"emiliano_borghi@hotmail.com"
] | emiliano_borghi@hotmail.com |
9c89aabf507dec9328e4a7a631a327e8a3e5d3c4 | bcfd3336ae1dcac5e6f3b9e2154caad199043b27 | /src/scp/QuorumSetUtils.h | 5822a94bfe51894962b2b7f52c179817378f53b7 | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | acgchain/acg-core | 58ba9d4e0dd147c45a51b33017d75402cdce9531 | 098676521a3211ab702d5f473510dc07e60467e2 | refs/heads/master | 2020-07-26T11:57:58.634134 | 2019-10-08T03:39:28 | 2019-10-08T03:39:28 | 208,636,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | // Copyright 2016 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#pragma once
#include "xdr/Stellar-SCP.h"
namespace acg
{
bool isQuorumSetSane(SCPQuorumSet const& qSet, bool extraChecks);
// normalize the quorum set, optionally removing idToRemove
void normalizeQSet(SCPQuorumSet& qSet, NodeID const* idToRemove = nullptr);
}
| [
"ubuntu@ip-172-31-20-103.ap-southeast-1.compute.internal"
] | ubuntu@ip-172-31-20-103.ap-southeast-1.compute.internal |
aacbd23d4cb7a74eca51fed034bdab4cfc150173 | b0b943b56c27f952926e3e164bd2c97854970230 | /MFCShowVideoTest/VideoInfo.h | c8a7565f27e770e7253a1ca5955121e4ea86d4f1 | [] | no_license | 1219797100/MFCShowVideoTest | 6c10478af5f4d895540a22f7e1cc8d806a249880 | f3c3b9981e06c1a1f546f573482920bc5f353300 | refs/heads/master | 2020-05-15T03:46:55.957102 | 2019-04-18T11:19:59 | 2019-04-18T11:19:59 | 182,073,175 | 1 | 0 | null | 2019-04-18T11:12:43 | 2019-04-18T11:12:43 | null | UTF-8 | C++ | false | false | 322 | h | #pragma once
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "CvvImage.h"
class CVideoInfo
{
public:
CvCapture* m_pCapture;
IplImage* m_pFrameImage;
char s_Pictrldir[200];
double m_FrameWidth;
double m_FrameHeight;
public:
CVideoInfo(void);
public:
~CVideoInfo(void);
};
| [
"cqswzqcj@163.com"
] | cqswzqcj@163.com |
f1184f33d185482104a733f0333121330ba25974 | a79f0fa7bff3f396971345b03f57fe0a12059bf0 | /Classes/HelloWorldScene.h | 6ca7d0c053675c5598642dbef47e48debaf1ed71 | [] | no_license | 253627764/Runfield | 26618f114a9623d25ec5c1909ab92f49559137cb | c29f6276b033ac03ec5bb7d78673d20cc231ff65 | refs/heads/master | 2021-01-12T21:17:20.743676 | 2013-11-24T18:11:03 | 2013-11-24T18:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
#include "Terrain.h"
#include "Path.h"
#include "Shadow.h"
#include "Forest.h"
#include<vector>
class HelloWorld: public cocos2d::CCLayer {
public:
HelloWorld();
~HelloWorld();
// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
virtual bool init();
virtual void onEnter();
virtual void onExit();
// there's no 'id' in cpp, so we recommend returning the class instance pointer
static cocos2d::CCScene* scene();
// a selector callback
void menuCloseCallback(CCObject* pSender);
// implement the "static node()" method manually
CREATE_FUNC(HelloWorld)
;
virtual void keyBackClicked();
void ccTouchesBegan(cocos2d::CCSet* pTouches, cocos2d::CCEvent* pEvent);
void ccTouchesEnded(cocos2d::CCSet* pTouches, cocos2d::CCEvent* pEvent);
void ccTouchesCancelled(cocos2d::CCSet* pTouches, cocos2d::CCEvent* pEvent);
private:
void loadTextures();
void tick(float dt);
void updateLevel(long st, float offset, float yoff, int gap);
void updateSky(long st, float yoff);
void updateMountain(float offset, float yoff);
void reset();
long getCurTimeInMilliSeconds();
void playMusic(float volume, bool isLooped, std::list<std::string> musicList);
/**
* 狐狸的动画做到第几帧。默认为第一帧
*/
int animFrame;
/**
* 当前动画持续的时间
*/
int animTime;
/**
* 当狐狸的关键帧改变时,记录当前的动画时间
*/
int lastAnimTime;
/**
* 上一帧动画开始的时间
*/
long lastAnimFrameTime;
float lastY;
float lastYoff;std::list<cocos2d::CCPoint> locations;
int gameOverTime;
long titleScreenTime;
/**
* 上一帧绘制完成的时间
*/
long lastFrameTime;
/**
* 当前帧率
*/
int fps;
/**
* 平均帧率
*/
int avgFps;
/**
* 当前帧率是否较低
*/
bool slow;
int totalFrameTime;
/**
* 已经绘制的帧数
*/
int frame;
/**
* 是否发生点击事件
*/
bool down;
/**
* 地面水平偏移距离
*/
float offset;
/**
* 地面水平移动速度
*/
float speed;
/**
* 狐狸的y坐标
*/
float y;
/**
* 地面垂直移动速度
*/
float vy;
/**
* 跃起动作的持续时长
*/
int jump;
/**
* 狐狸是否已经落地
*/
bool onground;
/**
* 当前取得的分数
*/
int points;
/**
* 游戏是否已经开始
*/
bool gameStarted;
/**
* 游戏是否结束
*/
bool gameOver;
/**
* 游戏分数记录
*/
int record;
/**
* 旧的游戏分数记录
*/
int oldRecord;
/**
* 是否正在启动加速
*/
bool wasBoosting;
/**
* 是否正在加速中
*/
bool wasBooming;
Terrain* _terrain;
cocos2d::CCSprite* _sky;
cocos2d::CCSprite* _mountain;
cocos2d::CCLabelTTF* _pointsText;
cocos2d::CCLabelTTF* _recordText;
cocos2d::CCLabelTTF* _instText;
Path* _path;
cocos2d::CCSprite* _fox;
cocos2d::CCSprite* _inst;
Shadow* _shadow;
Forest* _forest;
Forest* _forest2;
Forest* _fgFront;
cocos2d::CCSprite* _title;
cocos2d::CCLabelTTF* _failedTipText;
cocos2d::CCLabelTTF* _newRecordText;
cocos2d::CCLayerColor* _mask;
std::list<std::string> _jumpMusic;
std::list<std::string> _failMusic;
std::list<std::string> _landingMusic;
std::list<std::string> _boostsMusic;
std::list<std::string> _boomMusic;
};
#endif // __HELLOWORLD_SCENE_H__
| [
"reactor.lau@gmail.com"
] | reactor.lau@gmail.com |
929359b8bff4603c7643431549d54cf08f291ee7 | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/russia-team-f/sources/105-f-8.cpp | 2fe1d3a68d0dbb98a5f8dcfd143b23e10d0883d8 | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,504 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#include <cstdio>
using namespace std;
typedef long double ld;
const int maxN = 5000;
const ld Pi = atan(1.0) * 4;
int n, m;
bool Less(ld a, ld b)
{
return (b - a > 1e-13);
}
bool Gr(ld a, ld b)
{
return Less(b, a);
}
bool Eq(ld a, ld b)
{
return !Less(a, b) && !Less(b, a);
}
bool GrOrEq (ld a, ld b)
{
return Gr(a, b) || Eq(a, b);
}
ld sqr (ld a)
{
return a * a;
}
ld myAbs (ld a)
{
if (Eq(a, 0))
return 0;
if (Less(a, 0))
return -a;
return a;
}
ld mySqrt (ld a)
{
if (Eq(a, 0))
return 0;
return sqrt(a);
}
struct point
{
ld x, y;
point () {}
point (ld x_, ld y_)
{
x = x_;
y = y_;
}
void scan ()
{
cin >> x >> y;
}
void print()
{
cout << x << " " << y << "\n";
}
ld vect (point a)
{
return x * a.y - y * a.x;
}
ld scal (point a)
{
return x * a.x + y * a.y;
}
point operator - (point a)
{
return point (x - a.x, y - a.y);
}
point operator + (point a)
{
return point (x + a.x, y + a.y);
}
point operator * (ld a)
{
return point (x * a, y * a);
}
ld len()
{
return mySqrt(sqr(x) + sqr(y));
}
point ort()
{
return point (-y, x);
}
point norm()
{
ld l = len();
return point(x / l, y / l);
}
bool equal (point a)
{
return (Eq(x - a.x, 0) && Eq(y - a.y, 0));
}
};
bool intersectLineWithCircle (point A, point a, point O, ld r, point *P1, point *P2)
{
ld hlen = myAbs(a.vect(O - A) / a.len());
point h = a.norm() * a.norm().scal(O - A);
point H = A + h;
if (Less(r, hlen))
return false;
ld len = mySqrt(sqr(r) - sqr(hlen));
*P1 = H + (a.norm() * len);
*P2 = H - (a.norm() * len);
return true;
}
bool inSegment (point P, point A, point B)
{
if (!Eq((B - A).vect(P - A), 0))
return false;
if (GrOrEq((B - A).scal(P - A), 0) && GrOrEq((A - B).scal(P - B), 0))
return true;
return false;
}
int intersectSegmentWithCircle(point A, point B, point O, ld r, point *P1, point *P2)
{
int cnt = 0;
if (!intersectLineWithCircle(A, (B - A), O, r, P1, P2))
return 0;
if (inSegment(*P1, A, B))
cnt++;
if (inSegment(*P2, A, B))
{
if (cnt == 0)
swap(*P1, *P2);
cnt++;
}
return cnt;
}
point A[maxN], X;
point B[maxN];
int ind;
int main()
{
freopen("polygon.in", "r", stdin);
freopen("polygon.out", "w", stdout);
cout << fixed << setprecision(10);
cin >> n;
for (int i = 0; i < n; i++)
A[i].scan();
cin >> m;
for (int i = 0; i < m; i++)
{
ind = 0;
X.scan();
for (int j = 0; j < n; j++)
{
if (A[j].equal(A[(j + 1) % n]))
continue;
point P1, P2;
int cnt = intersectSegmentWithCircle(A[j], A[(j + 1) % n], A[0], (X - A[0]).len(), &P1, &P2);
if (cnt > 0)
{
B[ind++] = (P1 - A[0]);
}
if (cnt == 2)
{
B[ind++] = (P2 - A[0]);
}
}
X = X - A[0];
ld ans1 = 1000, ans2 = 0;
for (int j = 0; j < ind; j++)
{
ld angle = atan2(X.vect(B[j]), X.scal(B[j]));
if (Less(angle, 0))
angle += 2 * Pi;
if (angle < ans1)
ans1 = angle;
if (angle > ans2)
ans2 = angle;
}
if (ind == 0)
{
ans1 = 2 * Pi;
ans2 = 2 * Pi;
ans1 = ans1 * 180 / Pi;
ans2 = ans2 * 180 / Pi;
cout << ans1 << " " << ans2 << "\n";
continue;
}
ans1 = ans1 * 180 / Pi;
ans2 = (2 * Pi - ans2) * 180 / Pi;
cout << ans1 << " " << ans2 << "\n";
}
return 0;
} | [
"shk.slava@gmail.com"
] | shk.slava@gmail.com |
85e731bb5fbbe20c1b03e9d651b859630d11a85c | 18af68b691f3e60413881e17c514b6b8333a2f85 | /micron_code/3d_visualization.cpp | 993a1baee51102e8027dcd33e0ad6874bad230de | [] | no_license | aravindvenu7/MicronProject | beec4132e42dd2cff9d4306e00bc4d1d691deb68 | 7f939adcbe65737d33d7fc0dd720b8abb173d97a | refs/heads/main | 2023-05-21T00:23:03.680536 | 2021-06-03T12:56:09 | 2021-06-03T12:56:09 | 359,710,956 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | // Copyright (c) 2017 Simone Foti <simofoti@gmail.com>
#include "3d_visualization.h"
#include <vector>
#include <opencv2/viz.hpp>
cv::viz::Viz3d viz_elem("show_cloud");
void showCloud(cv::Mat M) {
cv::viz::Viz3d viz_elem("show_cloud");
viz_elem.setBackgroundColor(cv::viz::Color::black());
//viz_elem.showWidget("coosys", cv::viz::WCoordinateSystem());
viz_elem.showWidget("cloud", cv::viz::WCloud(M, cv::viz::Color::white()));
viz_elem.spin();
}
void showCloud(std::list<cv::Point3d> list_of_points) {
std::vector<cv::Point3d> vec_pts(list_of_points.begin(),
list_of_points.end());
cv::viz::Viz3d viz_elem("show_cloud");
viz_elem.setBackgroundColor(cv::viz::Color::black());
//viz_elem.showWidget("coosys", cv::viz::WCoordinateSystem());
viz_elem.showWidget(
"cloud", cv::viz::WCloud(cv::Mat(vec_pts), cv::viz::Color::white()));
//viz_elem.showImage(cv::Mat(vec_pts));
viz_elem.spin();
std::cout << "here inside show cloud" << std::endl;
}
void showCloudandcloud(std::list<cv::Point3d> list_of_points1, std::list<cv::Point3d> list_of_points2) {
list_of_points1.splice(list_of_points1.end(), list_of_points2);
std::vector<cv::Point3d> vec_pts(list_of_points1.begin(),
list_of_points1.end());
cv::viz::Viz3d viz_elem("show_cloud");
viz_elem.setBackgroundColor(cv::viz::Color::black());
//viz_elem.showWidget("coosys", cv::viz::WCoordinateSystem());
viz_elem.showWidget(
"cloud", cv::viz::WCloud(cv::Mat(vec_pts), cv::viz::Color::white()));
//viz_elem.showImage(cv::Mat(vec_pts));
viz_elem.spinOnce(1, true);
}
void showCloudAndTip(std::list<cv::Point3d>& list_of_points, const cv::Point3d& micron_tip) {
std::vector<cv::Point3d> vec_pts(list_of_points.begin(),
list_of_points.end());
viz_elem.setBackgroundColor(cv::viz::Color::black());
cv::viz::WCloud* cloud = new cv::viz::WCloud(cv::Mat(vec_pts), cv::viz::Color::white());
cv::viz::WSphere* tip = new cv::viz::WSphere(micron_tip, 1000, 10, cv::viz::Color::red());
viz_elem.showWidget("cloud", *cloud);
viz_elem.showWidget("point", *tip);
viz_elem.spinOnce(1, true);
}
/*
void showCloudAllBranches(std::list<Branch> all_branches, cv::Mat warp_matrix) {
std::list<cv::Point3d> all_points;
for (const auto& it : all_branches) {
Branch3d currentBranch(it, warp_matrix);
all_points.splice(all_points.end(),
findAllCrfsOfBranchMean3(currentBranch));
}
showCloud(all_points);
}
*/
| [
"aravindvenugopal19@gmail.com"
] | aravindvenugopal19@gmail.com |
4d9417205052485365ee3a3f5ce1322323a3858c | d94e2681b6bdaf30c9ee086141a88f9ce9088239 | /task/task3-3/stack.h | 6f20b9daa1022183cccac5288f823717ef90a36b | [] | no_license | Leo-Jiangsu/CppStudy | 937486bd43a6404be4a3867893c9e86a2ea21de7 | 3232a6fd8235a5ca07e2960bcef142efb8775e0e | refs/heads/master | 2023-07-09T18:32:43.361744 | 2021-08-20T10:46:00 | 2021-08-20T10:46:00 | 395,623,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef STACK_H_
#define STACK_H_
class Stack
{
public:
Stack(unsigned int size = 10)
: size_(size),
top_index_(-1),
element_(new int[size]())
{}
~Stack()
{
delete [] element_;
}
void Push(int data);
void Pop();
int top() const
{
return element_[top_index_];
}
bool empty() const
{
return top_index_ == -1;
}
bool full() const
{
return top_index_ == size_;
}
private:
int size_;
int top_index_;
int *element_;
};
#endif
| [
"976851951@qq.com"
] | 976851951@qq.com |
67c4b45034839368bc1b3a69659c2944f0f5ed87 | f67bc52b0cccf2e45cba37a35262f6835de49196 | /Presentations/2020/12.December/17/TicTacToe/TicTacToe/TicTacToeGame.h | 999e1a603cdaa1eabe11e98413cda1375f9eb730 | [
"MIT"
] | permissive | lmsasu/MLReadingGroup | f7dc0b01f1997f80b3448895979694255e36fd2c | a17d2d62b4c7940b9829fc52eb0167847f9e7491 | refs/heads/master | 2021-06-16T07:29:57.243299 | 2021-02-12T05:42:43 | 2021-02-12T05:42:43 | 155,562,672 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 60 | h | #pragma once
class TicTacToeGame
{
public:
void Run();
};
| [
"k_arpi2004@yahoo.co.uk"
] | k_arpi2004@yahoo.co.uk |
4440f8b9292d951e97133c70a9d117d4a0a3dcd6 | 79c22c41efdf703d1831d610b45489d5cabd231e | /src/Map.h | db12164de605ec23a8c4df7c45f31d3a76108258 | [] | no_license | XenoAmess/LZHRA | 47c110a82f7518515e21f3ce4013a4b2b7f465ac | 61552483cbb1f180ba091f524319913cef47ef29 | refs/heads/master | 2021-03-27T17:24:00.959353 | 2019-03-18T04:06:35 | 2019-03-18T04:06:35 | 123,705,083 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | h | /*
* Trie,makes to replace std::map,but actually use much too memory (although runs a little faster)
*
*/
#ifndef MAP_H_
#define MAP_H_
#include"Common.h"
struct MapNode {
MapNode* father;
MapNode* sons[2];
List* val;
MapNode* buildSon(unsigned char index) {
sons[index] = new MapNode(this);
return sons[index];
}
MapNode(MapNode* father = NULL) {
val = NULL;
this->father = father;
sons[0] = NULL;
sons[1] = NULL;
}
void clear() {
if (sons[0] != NULL) {
sons[0]->clear();
delete sons[0];
}
if (sons[1] != NULL) {
sons[1]->clear();
delete sons[1];
}
if (val != NULL) {
val->clear();
delete val;
}
sons[0] = NULL;
sons[1] = NULL;
}
};
struct Map {
MapNode* head;
Map() {
head = new MapNode(NULL);
}
~Map() {
clear();
}
void clear() {
head->clear();
}
List & operator [](size_t val) {
MapNode* nowpos = head;
unsigned char nowbit;
do {
nowbit = (val & (size_t) 1);
val >>= 1;
if (nowpos->sons[nowbit] == NULL) {
nowpos->buildSon(nowbit);
}
nowpos = nowpos->sons[nowbit];
} while (val);
if (nowpos->val == NULL)
nowpos->val = new List();
return *nowpos->val;
}
// List & operator [](size_t val) {
// MapNode* nowfather = head;
// unsigned int nowbit = 0;
// MapNode* nowpos = nowfather->sons[nowbit];
// while (val) {
// nowbit = (val & (size_t) 1) ? 1 : 0;
// //std::cout << val << " " << nowbit << std::endl;
// val >>= 1;
// if (nowpos == NULL) {
// nowpos = nowfather->buildSon(nowbit);
// }
// nowfather = nowpos;
// nowpos = nowfather->sons[nowbit];
// }
// if (nowpos == NULL) {
// nowpos = nowfather->buildSon(nowbit);
// }
// if (nowpos->val == NULL)
// nowpos->val = new List();
// std::cout << std::endl << std::endl;
// return *nowpos->val;
// }
bool find(size_t val) {
MapNode* nowpos = head;
unsigned char nowbit;
do {
nowbit = (val & (size_t) 1);
val >>= 1;
if (nowpos->sons[nowbit] == NULL) {
return false;
}
nowpos = nowpos->sons[nowbit];
} while (val);
return true;
}
};
#endif /* MAP_H_ */
| [
"my-name@chromium.org"
] | my-name@chromium.org |
c3413732883f20d617a7b2dcd7bf8aa0510edbed | 5a406fc517d9c0dfe96164e155f508e1842120f0 | /OCTLib/code/simple_lin_interpl_FFT.cpp | b2880da4692b514a2219c55bb56ba252a0a19cf1 | [
"BSD-3-Clause-Clear"
] | permissive | rosmir/octlab | e41bd3a370d3bc25378f35227e440f2c28db3794 | a035478daea64f5b120debde9783c23e356df88b | refs/heads/master | 2020-04-14T11:01:32.405277 | 2019-10-27T16:51:25 | 2019-10-27T16:51:25 | 17,990,670 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,550 | cpp | /*******************************************************************************
* $Id: simple_lin_interpl_FFT.cpp 25 2010-01-19 05:47:46Z rosmir $
* Copyright (C) 2010 Stepan A. Baranov (stepan@baranov.su)
* All rights reserved.
* web-site: www.OCTLab.org
* ***** ******* *****
* Use of this source code is governed by a Clear BSD-style license that can be
* found on the https://github.com/rosmir/octlab/blob/master/LICENSE web-page or
* in the COPYRIGHT.TXT file
*******************************************************************************/
// standard headers
#include <functional>
#include <algorithm>
#include <map>
// common header
#include "./OCTLib.h"
// need for FFT analysis
#include "./fftw3.h"
// for DLL export
extern "C" {
DllExport I8 OL_smpl_lin_fft_u8(U32, U32, U32, U32, I8, I8, DBL *, U8 *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_i16(U32, U32, U32, U32, I8, I8, DBL *, I16 *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_u16(U32, U32, U32, U32, I8, I8, DBL *, U16 *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_i32(U32, U32, U32, U32, I8, I8, DBL *, I32 *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_u32(U32, U32, U32, U32, I8, I8, DBL *, U32 *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_sgl(U32, U32, U32, U32, I8, I8, DBL *, SGL *,
DBL *, DBL *);
DllExport I8 OL_smpl_lin_fft_dbl(U32, U32, U32, U32, I8, I8, DBL *, DBL *,
DBL *, DBL *);
}
/* simple linear interpolation + FFT main function
PURPOSE:
calculate simple FFT (using fftw_plan_r2r_1d() function call from FFTW
library) for RAW B-scan pre-processed using known (actual) laser spectrum
(wavelengths vs time/spatial indexes). Read description for
lin_interpl_FFT.cpp file for more details.
INPUTS:
X - number of elements in each row (RAW A-line size)
Y - number of rows (# of RAW A-lines)
start_index - first index for spectrum (left RAW A-line cut-off)
end_index - last index for spectrum (right RAW A-line cut-off)
hann_flag - flag for Hanning window [4]
dB_flag - flag for scale: linear or dB (20log())
spectrum - pointer to line with spectrum in wavelengths (nm)
in - pointer to buffer with RAW B-scan before FFT (size: X * Y)
OUTPUTS:
intensity - pointer to buffer contained intensities, structural B-scan
(size: ((end_index - start_index) / 2) * Y)
phase - pointer to buffer contained phases, phase B-scan
(size: ((end_index - start_index) / 2) * Y)
RREMARKS:
note that this function does not return Im and Re parts after FFT. Use
lin_interpl_FFT.cpp file to obtain them.
*/
template <typename T1>
I8 simple_lin_fft(U32 X, U32 Y, U32 start_index, U32 end_index, I8 hann_flag,
I8 dB_flag, DBL *spectrum, T1 *in, DBL *intensity,
DBL *phase) {
// initialize map
map<DBL, I32> spectrum_map;
I32 size = end_index - start_index;
// simple checks
if (size < 3) return EXIT_FAILURE;
DBL *hann_win = static_cast<DBL *>(fftw_malloc(sizeof(DBL) * size));
I32 *li = static_cast<I32 *>(fftw_malloc(sizeof(I32) * (size - 2)));
DBL *p = static_cast<DBL *>(fftw_malloc(sizeof(DBL) * (size - 2)));
// create FFTW plan
fftw_plan fft_p = fftw_plan_r2r_1d(size, intensity, phase, FFTW_R2HC,
FFTW_ESTIMATE);
I32 width = static_cast<I32>(size/2);
I32 j, z;
// load wavelength spectrum
for (z = 0; z < size; z++) spectrum_map.insert(DI_Pair(spectrum[z], z));
DBL start_wavenumber = 1 / spectrum[0];
// linear wavenumber step
DBL wavenumber_step = (start_wavenumber - (1 / spectrum[size - 1])) / \
(size - 1);
// Hanning window for first and last elements
if (hann_flag)
hann_win[0] = hann_win[size - 1] = 0.0;
else
hann_win[0] = hann_win[size - 1] = 1.0;
// Hanning window for all other elements and coefficients and indexes for
// linear interpolation
#pragma omp parallel for default(shared) private(z)
for (z = 1; z < size - 1; z++) {
if (hann_flag)
hann_win[z] = 0.5 * (1 - cos(kTwoPi * z / size));
else
hann_win[z] = 1.0;
// nonlinear wavelength corresponding to linear wavenumber
DBL nl = 1 / (start_wavenumber - wavenumber_step * z);
// close spectrum wavelength (its index) from left side
li[z - 1] = find_index(&spectrum_map, nl);
// the relative distance (in range 0...1) between linear and nonlinear
// wavelengths calculated before
p[z - 1] = (nl - spectrum[li[z - 1]]) / \
(spectrum[li[z - 1] + 1] - spectrum[li[z - 1]]);
}
// parallel run by A-lines
#pragma omp parallel for default(shared) private(j)
for (j = 0; j < static_cast<I32>(Y); j++) {
DBL *tmp_fft_in = static_cast<DBL *>(fftw_malloc(sizeof(DBL) * size));
DBL *tmp_fft_out = static_cast<DBL *>(fftw_malloc(sizeof(DBL) * size));
U32 pos = j * width;
U32 _pos = j * X + start_index;
// linear interpolation: keep first and last elements
tmp_fft_in[0] = hann_win[0] * in[_pos];
tmp_fft_in[size - 1] = hann_win[size - 1] * in[_pos + size - 1];
// linear interpolation
// new value for calculated nonlinear wavelength but linear in wavenumber
for (I32 i = 0; i < size - 2; i++)
tmp_fft_in[i + 1] = hann_win[i + 1] * ((1 - p[i]) * in[_pos + li[i]] + \
p[i] * in[_pos + li[i] + 1]);
// perform FFT using FFTW3 library
fftw_execute_r2r(fft_p, tmp_fft_in, tmp_fft_out);
// ZERO components
if (dB_flag)
intensity[pos] = 20 * log10(abs(tmp_fft_out[0]));
else
intensity[pos] = tmp_fft_out[0];
phase[pos] = 0.0;
// construct intensity and phase information
for (I32 pos1 = 1, pos2 = size - 1; pos1 < width; pos1++, pos2--) {
// intensity
if (dB_flag)
intensity[pos + pos1] = 20 * log10(sqrt(tmp_fft_out[pos1] * \
tmp_fft_out[pos1] + tmp_fft_out[pos2] * \
tmp_fft_out[pos2]));
else
intensity[pos + pos1] = sqrt(tmp_fft_out[pos1] * tmp_fft_out[pos1] + \
tmp_fft_out[pos2] * tmp_fft_out[pos2]);
// phase
phase[pos + pos1] = atan2(tmp_fft_out[pos2], tmp_fft_out[pos1]);
}
fftw_free(tmp_fft_in);
fftw_free(tmp_fft_out);
} // end of parallel code
fftw_destroy_plan(fft_p);
fftw_free(hann_win);
fftw_free(li);
fftw_free(p);
return EXIT_SUCCESS;
}
/************OL_smpl_lin_fft************/
// simple linear interpolation + FFT for U8
I8 OL_smpl_lin_fft_u8(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, U8 *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for I16
I8 OL_smpl_lin_fft_i16(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, I16 *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for U16
I8 OL_smpl_lin_fft_u16(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, U16 *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for I32
I8 OL_smpl_lin_fft_i32(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, I32 *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for U32
I8 OL_smpl_lin_fft_u32(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, U32 *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for SGL
I8 OL_smpl_lin_fft_sgl(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, SGL *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
// simple linear interpolation + FFT for DBL
I8 OL_smpl_lin_fft_dbl(U32 X, U32 Y, U32 start_index, U32 end_index,
I8 hann_flag, I8 dB_flag, DBL *spectrum, DBL *in,
DBL *intensity, DBL *phase) {
return simple_lin_fft(X, Y, start_index, end_index, hann_flag, dB_flag,
spectrum, in, intensity, phase);
}
/*******************************************************************************
Checked by http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py
*******************************************************************************/
| [
"stepan@baranov.us"
] | stepan@baranov.us |
4003a19110082eb3849434f8685cfa2c3619aeee | 444a9480bce2035565332d4d4654244c0b5cd47b | /research/cv/PaDiM/ascend_310_infer/src/main.cc | 4cd23dd18c86035a13a0fb1e6ea1eaf4c093a2a0 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license"
] | permissive | mindspore-ai/models | 7ede9c6454e77e995e674628204e1c6e76bd7b27 | eab643f51336dbf7d711f02d27e6516e5affee59 | refs/heads/master | 2023-07-20T01:49:34.614616 | 2023-07-17T11:43:18 | 2023-07-17T11:43:18 | 417,393,380 | 301 | 92 | Apache-2.0 | 2023-05-17T11:22:28 | 2021-10-15T06:38:37 | Python | UTF-8 | C++ | false | false | 4,546 | cc | /**
* Copyright 2022 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <sys/time.h>
#include <gflags/gflags.h>
#include <dirent.h>
#include <iostream>
#include <string>
#include <algorithm>
#include <iosfwd>
#include <vector>
#include <fstream>
#include <sstream>
#include "include/api/model.h"
#include "include/api/context.h"
#include "include/api/types.h"
#include "include/api/serialization.h"
#include "include/dataset/execute.h"
#include "include/dataset/vision.h"
#include "inc/utils.h"
using mindspore::Context;
using mindspore::Serialization;
using mindspore::Model;
using mindspore::Status;
using mindspore::MSTensor;
using mindspore::dataset::Execute;
using mindspore::ModelType;
using mindspore::GraphCell;
using mindspore::kSuccess;
DEFINE_string(mindir_path, "", "mindir path");
DEFINE_string(input_path, ".", "input path");
DEFINE_string(result_path, ".", "result_path");
DEFINE_string(time_path, ".", "time_path");
DEFINE_int32(device_id, 0, "device id");
int main(int argc, char **argv) {
gflags::ParseCommandLineFlags(&argc, &argv, true);
if (RealPath(FLAGS_mindir_path).empty()) {
std::cout << "Invalid mindir" << std::endl;
return 1;
}
auto context = std::make_shared<Context>();
auto ascend310 = std::make_shared<mindspore::Ascend310DeviceInfo>();
ascend310->SetDeviceID(FLAGS_device_id);
context->MutableDeviceInfo().push_back(ascend310);
mindspore::Graph graph;
Serialization::Load(FLAGS_mindir_path, ModelType::kMindIR, &graph);
Model model;
Status ret = model.Build(GraphCell(graph), context);
if (ret != kSuccess) {
std::cout << "ERROR: Build failed." << std::endl;
return 1;
}
std::vector<MSTensor> model_inputs = model.GetInputs();
if (model_inputs.empty()) {
std::cout << "Invalid model, inputs is empty." << std::endl;
return 1;
}
auto input_files = GetAllFiles(FLAGS_input_path);
if (input_files.empty()) {
std::cout << "ERROR: input data empty." << std::endl;
return 1;
}
std::map<double, double> costTime_map;
size_t size = input_files.size();
for (size_t i = 0; i < size; ++i) {
struct timeval start = {0};
struct timeval end = {0};
double startTimeMs;
double endTimeMs;
std::vector<MSTensor> inputs;
std::vector<MSTensor> outputs;
std::cout << "Start predict " << std::endl;
std::cout << "input files:" << input_files[i] << std::endl;
auto input = ReadFileToTensor(input_files[i]);
inputs.emplace_back(model_inputs[0].Name(), model_inputs[0].DataType(), model_inputs[0].Shape(),
input.Data().get(), input.DataSize());
gettimeofday(&start, nullptr);
ret = model.Predict(inputs, &outputs);
gettimeofday(&end, nullptr);
if (ret != kSuccess) {
std::cout << "Predict file failed." << std::endl;
return 1;
}
startTimeMs = (1.0 * start.tv_sec * 1000000 + start.tv_usec) / 1000;
endTimeMs = (1.0 * end.tv_sec * 1000000 + end.tv_usec) / 1000;
costTime_map.insert(std::pair<double, double>(startTimeMs, endTimeMs));
WriteResult(FLAGS_result_path, input_files[i], outputs);
}
double average = 0.0;
int inferCount = 0;
for (auto iter = costTime_map.begin(); iter != costTime_map.end(); iter++) {
double diff = 0.0;
diff = iter->second - iter->first;
average += diff;
inferCount++;
}
average = average / inferCount;
std::stringstream timeCost;
timeCost << "NN inference cost average time: "<< average << " ms of infer_count " << inferCount << std::endl;
std::cout << "NN inference cost average time: "<< average << "ms of infer_count " << inferCount << std::endl;
std::string fileName = FLAGS_time_path + std::string("/test_perform_static.txt");
std::ofstream fileStream(fileName.c_str(), std::ios::trunc);
fileStream << timeCost.str();
fileStream.close();
costTime_map.clear();
return 0;
}
| [
"2875794302@qq.com"
] | 2875794302@qq.com |
cc599930db6e337caba11ace78c1bb44a343345b | 807933598ab844fa931cceede24cbb27b49f5609 | /src/common_types.h | 37a6c93157b98c9f2e991a2cf812a839bf6f4e73 | [
"MIT"
] | permissive | wwylele/teakra | 141853b714ac854949da8f8f760c5ace73c619b4 | 01db7cdd00aabcce559a8dddce8798dabb71949b | refs/heads/master | 2022-03-09T03:24:26.822596 | 2022-02-24T01:04:10 | 2022-02-24T01:04:10 | 119,041,479 | 74 | 14 | MIT | 2022-02-24T01:04:12 | 2018-01-26T10:57:39 | C++ | UTF-8 | C++ | false | false | 1,041 | h | #pragma once
#include <cstdint>
using u8 = std::uint8_t;
using u16 = std::uint16_t;
using u32 = std::uint32_t;
using u64 = std::uint64_t;
using s8 = std::int8_t;
using s16 = std::int16_t;
using s32 = std::int32_t;
using s64 = std::int64_t;
template <typename T>
constexpr unsigned BitSize() {
return sizeof(T) * 8; // yeah I know I shouldn't use 8 here.
}
template <typename T>
constexpr T SignExtend(const T value, unsigned bit_count) {
const T mask = static_cast<T>(1ULL << bit_count) - 1;
const bool sign_bit = ((value >> (bit_count - 1)) & 1) != 0;
if (sign_bit) {
return value | ~mask;
}
return value & mask;
}
template <unsigned bit_count, typename T>
constexpr T SignExtend(const T value) {
static_assert(bit_count <= BitSize<T>(), "bit_count larger than bitsize of T");
return SignExtend(value, bit_count);
}
inline constexpr u16 BitReverse(u16 value) {
u16 result = 0;
for (u32 i = 0; i < 16; ++i) {
result |= ((value >> i) & 1) << (15 - i);
}
return result;
}
| [
"wwylele@gmail.com"
] | wwylele@gmail.com |
7cfa199a449a3396ca6a9d44e1d6b91660516931 | fc3aa9ea0af827ceb1ae33af7edffeaa90750f45 | /src/EffectVCPU.cpp | ff1290c8d59b41f983dc6480afabd1dce05d7d60 | [] | no_license | nutti/GameEngine | 6ef06624970e4889220ad1dfa4c8105119bdd465 | 2b4f09465ecfcf0ed778ada7dbfe96aaa840d479 | refs/heads/master | 2016-09-05T09:06:20.595686 | 2014-03-09T11:30:55 | 2014-03-09T11:30:55 | 5,918,684 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,881 | cpp | #include "EffectVCPU.h"
#include <MAPIL/MAPIL.h>
#include "ScriptEffect.h"
#include "Enemy.h"
#include "Stage.h"
#include "SpriteBatch.h"
namespace GameEngine
{
EffectVCPU::EffectVCPU() : VM::VCPU()
{
}
EffectVCPU::~EffectVCPU()
{
}
void EffectVCPU::Init( VM::Data* pData, ScriptEffectData* pEffectData )
{
m_pData = pData;
m_pEffectData = pEffectData;
VM::VCPU::Init();
}
void EffectVCPU::SysPlayBGM()
{
Pop();
int id = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_BGMMap[ Top().m_Integer ];
MAPIL::PlayStreamingBuffer( id );
}
void EffectVCPU::SysStopBGM()
{
Pop();
int id = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_BGMMap[ Top().m_Integer ];
MAPIL::StopStreamingBuffer( id );
}
void EffectVCPU::SysGetScriptEffectReg()
{
Pop();
int reg = Top().m_Integer;
Pop();
int id = Top().m_Integer;
Pop();
MAPIL::Assert( id < sizeof( m_pEffectData->m_Regs ) / sizeof( m_pEffectData->m_Regs[ 0 ] ), -1 );
Push( m_pEffectData->m_Regs[ id ] );
}
void EffectVCPU::SysGetEnemyPosX()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( raw ){
#if defined ( USE_FLOATING_POINT )
float x;
float y;
raw->GetPos( &x, &y );
Push( x );
#elif defined ( USE_GAME_UNIT )
GameUnit x;
GameUnit y;
raw->GetPos( &x, &y );
Push( x.GetFloat() );
#endif
}
else{
Push( -1000.0f );
}
}
void EffectVCPU::SysGetEnemyPosY()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( raw ){
#if defined ( USE_FLOATING_POINT )
float x;
float y;
raw->GetPos( &x, &y );
Push( x );
#elif defined ( USE_GAME_UNIT )
GameUnit x;
GameUnit y;
raw->GetPos( &x, &y );
Push( y.GetFloat() );
#endif
}
else{
Push( -1000.0f );
}
}
void EffectVCPU::SysGetEnemyPosXGU()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( raw ){
GameUnit x;
GameUnit y;
raw->GetPos( &x, &y );
Push( x.GetRawValue() );
}
else{
Push( 0 );
}
}
void EffectVCPU::SysGetEnemyPosYGU()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( raw ){
GameUnit x;
GameUnit y;
raw->GetPos( &x, &y );
Push( y.GetRawValue() );
}
else{
Push( 0 );
}
}
void EffectVCPU::SysEnemyAlive()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( raw ){
Push( 1 );
}
else{
Push( 0 );
}
}
void EffectVCPU::SysEnemyInSkillMode()
{
Pop();
std::shared_ptr < Enemy > raw = m_pEffectData->m_ParentEnemy.lock();
if( !raw ){
Push( 0 );
return;
}
Push( raw->IsInSkillMode() );
}
void EffectVCPU::SysGetScriptEffectCounter()
{
Pop();
Push( m_pEffectData->m_Counter );
}
void EffectVCPU::SysDrawTextureAtlasPSR()
{
Pop();
float angle = Top().m_Float;
Pop();
float sy = Top().m_Float;
Pop();
float sx = Top().m_Float;
Pop();
float y = Top().m_Float;
Pop();
float x = Top().m_Float;
Pop();
int id = Top().m_Integer;
Pop();
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
MAPIL::DrawClipedTexture( m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TextureMap[ atlas.m_TexID ],
x, y, sx, sy, angle,
atlas.m_X, atlas.m_Y, atlas.m_X + atlas.m_Width, atlas.m_Y + atlas.m_Height );
}
void EffectVCPU::SysDrawTextureAtlasPSRC()
{
Pop();
int color = RetPop().m_Integer;
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
MAPIL::DrawClipedTexture( m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TextureMap[ atlas.m_TexID ],
x, y, sx, sy, angle,
atlas.m_X, atlas.m_Y, atlas.m_X + atlas.m_Width, atlas.m_Y + atlas.m_Height,
true, color );
}
void EffectVCPU::SysDrawTextureAtlasBlendingPSR()
{
Pop();
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int alphaMode = RetPop().m_Integer;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
AddToAtlasSpriteBatch( false, alphaMode, id, x, y, sx, sy, angle );
}
void EffectVCPU::SysDrawTextureAtlasBlendingPSRC()
{
Pop();
int color = RetPop().m_Integer;
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int alphaMode = RetPop().m_Integer;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
AddToAtlasSpriteBatch( false, alphaMode, id, x, y, sx, sy, angle, true, color );
}
void EffectVCPU::SysDrawClipedTextureAtlasP()
{
Pop();
float cy2 = Top().m_Float;
Pop();
float cx2 = Top().m_Float;
Pop();
float cy1 = Top().m_Float;
Pop();
float cx1 = Top().m_Float;
Pop();
float y = Top().m_Float;
Pop();
float x = Top().m_Float;
Pop();
int id = Top().m_Integer;
Pop();
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
MAPIL::DrawClipedTexture( m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TextureMap[ atlas.m_TexID ],
x, y, 1.0f, 1.0f, 0.0f,
atlas.m_X + cx1, atlas.m_Y + cy1, atlas.m_X + cx2, atlas.m_Y + cy2 );
}
void EffectVCPU::SysDrawClipedTextureAtlasPSR()
{
Pop();
float cy2 = Top().m_Float;
Pop();
float cx2 = Top().m_Float;
Pop();
float cy1 = Top().m_Float;
Pop();
float cx1 = Top().m_Float;
Pop();
float angle = Top().m_Float;
Pop();
float sy = Top().m_Float;
Pop();
float sx = Top().m_Float;
Pop();
float y = Top().m_Float;
Pop();
float x = Top().m_Float;
Pop();
int id = Top().m_Integer;
Pop();
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
MAPIL::DrawClipedTexture( m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TextureMap[ atlas.m_TexID ],
x, y, sx, sy, angle,
atlas.m_X + cx1, atlas.m_Y + cy1, atlas.m_X + cx2, atlas.m_Y + cy2 );
}
void EffectVCPU::SysDrawClipedTextureAtlasPSRC()
{
Pop();
float cy2 = RetPop().m_Float;
float cx2 = RetPop().m_Float;
float cy1 = RetPop().m_Float;
float cx1 = RetPop().m_Float;
int color = RetPop().m_Integer;
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
MAPIL::DrawClipedTexture( m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TextureMap[ atlas.m_TexID ],
x, y, sx, sy, angle,
atlas.m_X + cx1, atlas.m_Y + cy1, atlas.m_X + cx2, atlas.m_Y + cy2, true, color );
}
void EffectVCPU::SysDrawClipedTextureAtlasBlendingP()
{
Pop();
float cy2 = Top().m_Float;
Pop();
float cx2 = Top().m_Float;
Pop();
float cy1 = Top().m_Float;
Pop();
float cx1 = Top().m_Float;
Pop();
float y = Top().m_Float;
Pop();
float x = Top().m_Float;
Pop();
int alphaMode = Top().m_Integer;
Pop();
int id = Top().m_Integer;
Pop();
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
AddToAtlasSpriteBatch( false, alphaMode, id, x, y, 0.0f, 0.0f, 0.0f );
}
void EffectVCPU::SysDrawClipedTextureAtlasBlendingPSR()
{
Pop();
float cy2 = RetPop().m_Float;
float cx2 = RetPop().m_Float;
float cy1 = RetPop().m_Float;
float cx1 = RetPop().m_Float;
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int alphaMode = RetPop().m_Integer;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
AddToAtlasSpriteBatch( false, alphaMode, id, x, y, sx, sy, angle );
}
void EffectVCPU::SysDrawClipedTextureAtlasBlendingPSRC()
{
Pop();
float cy2 = RetPop().m_Float;
float cx2 = RetPop().m_Float;
float cy1 = RetPop().m_Float;
float cx1 = RetPop().m_Float;
int color = RetPop().m_Integer;
float angle = RetPop().m_Float;
float sy = RetPop().m_Float;
float sx = RetPop().m_Float;
float y = RetPop().m_Float;
float x = RetPop().m_Float;
int alphaMode = RetPop().m_Integer;
int id = RetPop().m_Integer;
ResourceMap::TextureAtlas atlas = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_TexAtlasMap[ id ];
AddToAtlasSpriteBatch( false, alphaMode, id, cx1, cy1, cx2, cy2, x, y, sx, sy, angle, true, color );
}
void EffectVCPU::SysTerminateScriptEffect()
{
Pop();
m_pEffectData->m_StatusFlags.set( ScriptEffectData::TERMINATED );
}
void EffectVCPU::SysGetScriptEffectPosX()
{
Pop();
Push( m_pEffectData->m_PosX );
}
void EffectVCPU::SysGetScriptEffectPosY()
{
Pop();
Push( m_pEffectData->m_PosY );
}
void EffectVCPU::SysPlaySE()
{
Pop();
int id = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_SEMap[ RetPop().m_Integer ];
MAPIL::PlayStaticBuffer( id );
}
void EffectVCPU::SysStopSE()
{
Pop();
int id = m_pEffectData->m_pResourceMap->m_pStageResourceMap->m_SEMap[ RetPop().m_Integer ];
MAPIL::StopStaticBuffer( id );
}
void EffectVCPU::OpSysCall( int val )
{
switch( val ){
case VM::SYS_GET_SCRIPT_EFFECT_REG:
SysGetScriptEffectReg();
break;
case VM::SYS_GET_SCRIPT_EFFECT_COUNTER:
SysGetScriptEffectCounter();
break;
case VM::SYS_ENEMY_GET_POSX:
SysGetEnemyPosX();
break;
case VM::SYS_ENEMY_GET_POSY:
SysGetEnemyPosY();
break;
case VM::SYS_ENEMY_ALIVE:
SysEnemyAlive();
break;
case VM::SYS_ENEMY_IN_SKILL_MODE:
SysEnemyInSkillMode();
break;
case VM::SYS_ENEMY_GET_POSX_GU:
SysGetEnemyPosXGU();
break;
case VM::SYS_ENEMY_GET_POSY_GU:
SysGetEnemyPosYGU();
break;
case VM::SYS_DRAW_TEXTURE_ATLAS_PSR:
SysDrawTextureAtlasPSR();
break;
case VM::SYS_DRAW_TEXTURE_ATLAS_PSRC:
SysDrawTextureAtlasPSRC();
break;
case VM::SYS_DRAW_TEXTURE_ATLAS_BLENDING_PSRC:
SysDrawTextureAtlasBlendingPSRC();
break;
case VM::SYS_DRAW_TEXTURE_ATLAS_BLENDING_PSR:
SysDrawTextureAtlasBlendingPSR();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_P:
SysDrawClipedTextureAtlasP();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_PSR:
SysDrawClipedTextureAtlasPSR();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_PSRC:
SysDrawClipedTextureAtlasPSRC();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_BLENDING_P:
SysDrawClipedTextureAtlasBlendingP();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_BLENDING_PSR:
SysDrawClipedTextureAtlasBlendingPSR();
break;
case VM::SYS_DRAW_CLIPED_TEXTURE_ATLAS_BLENDING_PSRC:
SysDrawClipedTextureAtlasBlendingPSRC();
break;
case VM::SYS_TERMINATE_SCRIPT_EFFECT:
SysTerminateScriptEffect();
break;
case VM::SYS_GET_SCRIPT_EFFECT_POS_X:
SysGetScriptEffectPosX();
break;
case VM::SYS_GET_SCRIPT_EFFECT_POS_Y:
SysGetScriptEffectPosY();
break;
case VM::SYS_PLAY_BGM:
SysPlayBGM();
break;
case VM::SYS_STOP_BGM:
SysStopBGM();
break;
case VM::SYS_PLAY_SE:
SysPlaySE();
break;
case VM::SYS_STOP_SE:
SysStopSE();
break;
default:
VM::VCPU::OpSysCall( val );
break;
}
}
} | [
"nutti.metro@gmail.com"
] | nutti.metro@gmail.com |
f55e841db325d532048a1eb8014d9ac5fa63f316 | 9b7f8b025d3932939b333ff62f88159f9ff0b490 | /maths/fast_pow.cpp | 2ea1ec16f0c73dfc6ce65c416191a2190a4c258a | [] | no_license | afAditya/Competitive-Coding | b43b64e2ab12a3839a9822e1ec4d9b38620ee251 | 378fe8b8a95cb1419953052857291cc3afbe3fe4 | refs/heads/master | 2023-08-21T19:47:31.385873 | 2021-10-19T05:50:54 | 2021-10-19T05:50:54 | 418,787,747 | 0 | 0 | null | 2021-10-19T05:47:47 | 2021-10-19T05:47:46 | null | UTF-8 | C++ | false | false | 253 | cpp | #include<bits/stdc++.h>
using namespace std;
int fastPower(int a, int b){
int res = 1;
while(b > 0){
if( (b&1) != 0) {
res = res * a;
}
a = a * a;
b = b >> 1;
}
return res;
}
int main() {
int m=5,n=2;
cout<<fastPower(m,n);
} | [
"adityasinghrajput971@gmail.com"
] | adityasinghrajput971@gmail.com |
2aed6ce2389bccf27bf1c460e063d7a0836e316f | 692968a4cf79173b721e5ce0764fe62c97cf183b | /sceneTest/rawdatareader.cpp | 6d8eb90eb9e85d128ab548c92e6ed5ecab41088f | [] | no_license | YuryArnold/CodeSamples | ddc9e49094b7f3809f681d5d3783055c477bb011 | 26324297acbccaa8fe00b49b762d9e81506b8b13 | refs/heads/master | 2023-04-30T23:35:00.003700 | 2023-04-20T01:56:37 | 2023-04-20T01:56:37 | 238,295,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include "rawdatareader.h"
#include <QDataStream>
#include <QDebug>
RawDataReader::RawDataReader(QObject *parent) : QObject (parent)
{
numbOfPointsPortion = 1000;
}
RawDataReader::~RawDataReader()
{
}
void RawDataReader::parseDataFromFile()
{
int cntOfPoints = 0;
QPair<int16_t,int16_t> data;
QFile file(pathToRawFile);
file.open(QIODevice::ReadOnly);
QDataStream in(&file);
in.setByteOrder(in.LittleEndian);
while(!in.atEnd()){
if(cntOfPoints == numbOfPointsPortion){
emit parsedData(points);
//just sleep for some time
QThread::msleep(200);
cntOfPoints = 0;
points.clear();
}
in>>data;
points.append(data);
cntOfPoints++;
}
if(!points.isEmpty()){
emit parsedData(points);
points.clear();
}
file.close();
qDebug()<<"Reading of points Are finished!";
}
void RawDataReader::setNumberOfPointsPerTransfer(int _numbOfPointsPortion)
{
numbOfPointsPortion = _numbOfPointsPortion;
}
void RawDataReader::setPathToFile(QString _pathToRawFile)
{
pathToRawFile = _pathToRawFile;
parseDataFromFile();
}
| [
"tmtm.com"
] | tmtm.com |
6a4e348808670beaf22bb2c983959623baa283d3 | 69a82af4b0358ff5b5cb68377cc08be35dad9c95 | /InMemoryDB/DBWrapper/DBWrapper.h | e934f8bd07e5a655ca3902b05db863af85fab9c0 | [] | no_license | karthikpm10/Object-Oriented-Design | caba03b4c9b74cbdcf460d69eae089878e47f9ea | fede865b4cd3da31126c59ef4516c8e58289a70a | refs/heads/master | 2021-09-10T18:53:03.413812 | 2018-02-08T06:13:19 | 2018-02-08T06:13:19 | 109,552,273 | 0 | 1 | null | 2018-03-31T05:02:17 | 2017-11-05T04:41:26 | C++ | UTF-8 | C++ | false | false | 11,603 | h | #pragma once
//////////////////////////////////////////////////////////////////////////////
// DBWrapper.h - key/value pair in-memory database //
// //
// Karthik Palepally Muniyappa,CSE687 - Object Oriented Design, Spring 2017 //
// //
//////////////////////////////////////////////////////////////////////////////
/*
Module Operations:
==================
This module defines an DBWrapper Class
DBWrapper class defines functions to:
store an element in the memory map
delete an element in the memory map
update an element for an existing key
show the element of a key
show the contents of the unordered map
persist the contents of the db to an xml file
load the db from the xml file
query the db based on various parameters
Public Interface:
=================
using Key = std::string;
using Keys = std::vector<Key>;
bool insertElement(string key, string typeName, string category, string desc, vector<string> children, Data dataValue);//insert an element into the db
bool removeElement(string key);//remove an element from the db
void showDB();// show the contents of the db
bool updateElement(string key, string paramName, string paramValue,bool add=true);// update the db element
bool updateElement(string key, Data paramValue);//update the element
Element<Data> getRecord(vector<string> Keys, string key);//get the element of a specified key
vector<string> getDBKeys();//get all the db keys
vector<string> getChildren(vector<string> Keys, string key);// get the children of a specified key
vector<string> query(vector<string> Keys, string regEX, string paramName="default");// query the db and return the keys
vector<string> unionKeys(vector<string> keys1, vector<string> keys2);//return the union of two key set
vector<string> queryTimeInterval(vector<string> Keys, string startTime, string endTime = "default");// query based on time and date the element was return in the db
bool LoadDBfromXmlStr(std::string xmlFpath);//load the db from the xml file
DBWrapper(string xmlFPath,int persistCounter=20)//constructor which accepts the xml file path and the counter after which the db contents will be persisted
* Required Files:
* ---------------
* - NoSqlDb.h
* - Convert.h
* Build Process:
* --------------
* devenv DBWrapper.sln /debug rebuild
*
* Maintenance History:
* --------------------
ver 0.1 : 2nd Feb 2017
*
/*
* -
*/
#include "../NoSqlDb/NoSqlDb.h"
#include "../Convert/Convert.h"
#include<algorithm>
#include<regex>
#include <time.h>
using namespace std;
template<typename Data>
class DBWrapper
{
private:
NoSqlDb<Data> db;
Element<Data> updateChild(Element<Data> element, string child, bool add);
public:
bool insertElement(string key, string typeName, string category, string desc, vector<string> children, Data dataValue);
bool removeElement(string key);
void showDB();
bool updateElement(string key, string paramName, string paramValue, bool add = true);
bool updateElement(string key, Data paramValue);
Element<Data> getRecord(vector<string> Keys, string key);
vector<string> getDBKeys();
vector<string> getChildren(vector<string> Keys, string key);
vector<string> query(vector<string> Keys, string regEX, string paramName = "default");
vector<string> unionKeys(vector<string> keys1, vector<string> keys2);
vector<string> queryTimeInterval(vector<string> Keys, string startTime, string endTime = "default");
bool LoadDBfromXmlStr(std::string xmlFpath);
bool writeDBToFile(std::string xmlFpath);
//accepts xmlpath of the file where the contents of the db will be wriiten and read, and a persistence counter,
//after reaching the limit, the contents wiwll be written to file
DBWrapper(string xmlFPath, int persistCounter = 20)
{
db.setxmlFilePath(xmlFPath);
cout << "\n*************************Requirement 6: Setting the Number of writes after which the db contents are persisted on line 33 of DBWrapper.h******************************\n";
db.setPersistCounter(persistCounter);
}
};
//updates the child vector of the elements
template<typename Data>
Element<Data> DBWrapper<Data>::updateChild(Element<Data> element, string child, bool add)
{
vector<string> childrens = element.children;
if (add)
{
childrens.push_back(child);
}
else
{
childrens.erase(remove(childrens.begin(), childrens.end(), child), childrens.end());
}
element.children = childrens;
return element;
}
//inserts the element into the db
template<typename Data>
bool DBWrapper<Data>::insertElement(string key, string typeName, string category, string desc, vector<string> children, Data dataValue)
{
bool flag = false;
try
{
time_t currentTime;
Element<Data> element;
element.name = typeName;
element.category = category;
element.description = desc;
element.children = children;
element.data = dataValue;
element.timeDate = time(¤tTime);
cout << "\n**********************Requirement 3: addition of key/value pairs********************************\n";
flag = db.save(key, element);
cout << "\nkey=" << key << " saved in DB\n";
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return flag;
}
//deletes the key from the db
template<typename Data>
bool DBWrapper<Data>::removeElement(string key_delete)
{
bool flag = false;
try
{
flag = db.removeElement(key_delete);
vector<string> keys = db.keys();
for (string key : keys)
{
Element<Data> element = db.value(key);
vector<string> childrens = element.children;
vector<string> tempChildrens = childrens;
//iterating over children, to update the children vector of other elements
for (string child : childrens)
{
if (child == key_delete)
{
tempChildrens.erase(remove(tempChildrens.begin(), tempChildrens.end(), key_delete), tempChildrens.end());
}
}
element.children = tempChildrens;
db.updateElement(key, element);
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return flag;
}
//displays the contents of the db
template<typename Data>
void DBWrapper<Data>::showDB()
{
try
{
std::cout << "\n Retrieving elements from NoSqlDb";
std::cout << "\n ------------------------------------------\n";
std::cout << "\n size of db = " << db.count() << "\n";
vector<string> keys = db.keys();
for (string key : keys)
{
cout << "\n " << key << ":";
cout << db.value(key).show();
}
std::cout << "\n\n";
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
}
//updates the element based on the paramName
template<typename Data>
bool DBWrapper<Data>::updateElement(string key, string paramName, string paramValue, bool add)
{
try
{
bool updateDB = true;
Element<Data> element = db.value(key);
if (string(element.name) != "")
{
if (paramName == "name")
element.name = paramValue;
else if (paramName == "category")
element.category = paramValue;
else if (paramName == "description")
element.description = paramValue;
else if (paramName == "children")
element = updateChild(element, paramValue, add);
// else if (paramName == "parent")
//element.parent = paramValue;
else
{
cout << "Invalid Param Name";
updateDB = false;
return false;
}
if (updateDB)
{
db.updateElement(key, element);
return true;
}
}
return false;
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
return false;
}
}
//updates the data value of the element
template<typename Data>
bool DBWrapper<Data>::updateElement(string key, Data paramValue)
{
bool flag = false;
try
{
Element<Data> element = db.value(key);
if (string(element.name) != "")
{
element.data = paramValue;
flag = db.updateElement(key, element);
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return flag;
}
//gets the element of the key
template<typename Data>
Element<Data> DBWrapper<Data>::getRecord(vector<string> Keys, string key)
{
Element<Data> record;
try
{
for (string DBKey : Keys)
{
if (DBKey == key)
{
record = db.value(key);
}
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return record;
}
//returnss the db keys
template<typename Data>
vector<string> DBWrapper<Data>::getDBKeys()
{
return db.keys();
}
//returns the children of the key
template<typename Data>
vector<string> DBWrapper<Data>::getChildren(vector<string> Keys, string key)
{
vector<string> children;
try
{
regex regexp(key);
for (string DBKey : Keys)
{
if (regex_match(DBKey, regexp))
{
children = db.value(key).children;
}
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return children;
}
//queries the element parameters based on the regular expression given
template<typename Data>
vector<string> DBWrapper<Data>::query(vector<string> Keys, string regEX, string paramName)
{
cout << "*************************Requirement 12: Queries Implemented using Reg ex line 316 of DBWrapper.h*******************************";
vector<string> matchedKeys;
try
{
regex regexp(regEX);
string searchParam;
for (string DBKey : Keys)
{
if (paramName == "ItemName")
searchParam = db.value(DBKey).name;
else if (paramName == "category")
searchParam = db.value(DBKey).category;
else if (paramName == "description")
searchParam = db.value(DBKey).description;
else if (paramName == "data")
searchParam = Convert<Data>::toString(db.value(DBKey).data);
else
{
if (paramName == "default")
{
if (regex_match(DBKey, regexp))
{
matchedKeys.push_back(DBKey);
}
}
}
if (regex_match(searchParam, regexp))
matchedKeys.push_back(DBKey);
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return matchedKeys;
}
// returns the union of two key vectors
template<typename Data>
vector<string> DBWrapper<Data>::unionKeys(vector<string> keys1, vector<string> keys2)
{
try
{
for (string key1 : keys1)
{
bool contains = false;
for (string key2 : keys2)
{
if (key1 == key2)
contains = true;
}
if (!contains)
keys2.push_back(key1);
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return keys2;
}
//queries based on time date of element
template<typename Data>
vector<string> DBWrapper<Data>::queryTimeInterval(vector<string> Keys, string startTime, string endTime)
{
vector<string> returnKeys;
try
{
time_t currentTime;
time_t startTimeobj = db.DateTimeFromString(startTime.c_str());
time_t endTimeobj = (endTime != "default" ? db.DateTimeFromString(endTime.c_str()) : time(¤tTime));
for (string DBKey : Keys)
{
time_t elemTime = db.value(DBKey).timeDate;
if ((elemTime > startTimeobj) && (elemTime <= endTimeobj))
{
returnKeys.push_back(DBKey);
}
}
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return returnKeys;
}
//persists db from xml file
template<typename Data>
bool DBWrapper<Data>::LoadDBfromXmlStr(std::string xmlFpath)
{
try
{
db.DBfromXmlStr(xmlFpath);
return true;
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return false;
}
//writes the contents of db to a file
template<typename Data>
bool DBWrapper<Data>::writeDBToFile(std::string xmlFpath)
{
try
{
db.DBtoXmlStr(xmlFpath);
return true;
}
catch (std::exception& ex)
{
std::cout << "Exception " << ex.what();
}
return false;
}
| [
"karthikpm10@gmail.com"
] | karthikpm10@gmail.com |
11df8cb6e9827cb3d14b6633e96d2fa6f1e4a864 | 83b436628ea2c33589de186907294f4f49b5f746 | /BZOJ/Finished Tasks/BZOJ_1113.cpp | 3d2003f5994b91bb170b7fdcc5e309918720c20d | [] | no_license | bill125/OI | 728162511a1b90bda8e63b4d4f9d670147d298a9 | ffd1c94ff0e340ed0770ad48d99ab05290605007 | refs/heads/master | 2020-05-31T14:04:55.314839 | 2014-06-02T05:06:57 | 2014-06-02T05:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <iostream>
#include <set>
#include <map>
#include <queue>
#include <cstdlib>
using namespace std;
typedef long long ll;
typedef double db;
#define rep(i,n) for (int i = 0;i < n;++i)
#define repD(i,n) for (int i = n-1;i >= 0;--i)
#define For(i,a,b) for (int i = a;i <= b;++i)
#define ForD(i,a,b) for (int i = a;i >= b;--i)
#define ForS(i,a,b,step) for (int i = a;i != b;i += step)
#define ForE(i,a) for (int i = h[a];i != -1;i = E[i].next)
#define ForV(i,a) for (__typeof (a.begin()) i = a.begin();i != a.end();++i)
#define fill(a,b) memset(a,b,sizeof(a))
#define pb push_back
#define gi gI()
const int inf = ~0U>>1,maxn = 250000+10;
int n,l = 0;
int Stack[maxn];
void setIO(string name) {
#ifndef ONLINE_JUDGE
string in = name + ".in";
string out = name + ".out";
freopen(in.c_str() , "r" , stdin);
freopen(out.c_str() , "w" , stdout);
#endif
}
int gI() {
char c = getchar();
while ((c < '0' || c > '9') && c != '-') c = getchar();
int p = 0,flag = 1;
if (c == '-') flag = -1,c = getchar();
while (c >= '0' && c <= '9') p = p*10 + c-'0',c = getchar();
return p*flag;
}
int Pop_Stack(int b) {
int last = -1,cnt = 0;
while (l && Stack[l] > b) {
if (Stack[l] != last) ++ cnt;
last = Stack[l--];
}
return cnt;
}
int main() {
setIO("test");
scanf("%d", &n);
int ans = 0;
rep(i,n) {
int a = gi,b = gi;
ans += Pop_Stack(b);
Stack[++l] = b;
}
ans += Pop_Stack(-1);
printf("%d\n", ans);
return 0;
}
| [
"bill125@gmail.com"
] | bill125@gmail.com |
52768bee1ff45448101d453c58e7f838c79de1b6 | d645db5569db9a94e2353399b222d46620f6ea8f | /P6/Effects.cpp | f53a02562a0e1291c1d8fbd4a8325063b0cfa541 | [] | no_license | DrEvilBrain/CS3113 | 6c6741e7c6d765e4a3eb9ae9231c3da32e617903 | dc2675446badd2b2a89012dbdbc445213f0ece34 | refs/heads/main | 2023-05-11T12:34:31.405832 | 2021-05-12T21:58:27 | 2021-05-12T21:58:27 | 337,232,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | #include "Effects.h"
Effects::Effects(glm::mat4 projectionMatrix, glm::mat4 viewMatrix)
{
// Non textured Shader
program.Load("shaders/vertex.glsl", "shaders/fragment.glsl");
program.SetProjectionMatrix(projectionMatrix);
program.SetViewMatrix(viewMatrix);
currentEffect = NONE;
alpha = 0;
speed = 1;
}
void Effects::DrawOverlay()
{
glUseProgram(program.programID);
float vertices[] = { -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5 };
glVertexAttribPointer(program.positionAttribute, 2, GL_FLOAT, false, 0, vertices);
glEnableVertexAttribArray(program.positionAttribute);
glDrawArrays(GL_TRIANGLES, 0, 6);
glDisableVertexAttribArray(program.positionAttribute);
}
void Effects::Start(EffectType effectType, float effectSpeed)
{
currentEffect = effectType;
speed = effectSpeed;
switch (currentEffect)
{
case NONE:
break;
case FADEIN:
alpha = 1.0f;
break;
case FADEOUT:
alpha = 0.0f;
break;
}
}
void Effects::Update(float deltaTime)
{
switch (currentEffect)
{
case NONE:
break;
case FADEIN:
alpha -= deltaTime * speed;
if (alpha <= 0)
{
currentEffect = NONE;
}
break;
case FADEOUT:
alpha += deltaTime * speed;
break;
}
}
void Effects::Render()
{
glm::mat4 modelMatrix = glm::mat4(1.0f);
switch (currentEffect)
{
case NONE:
break;
case FADEOUT:
case FADEIN:
modelMatrix = glm::scale(modelMatrix, glm::vec3(10, 10, 1));
program.SetModelMatrix(modelMatrix);
program.SetColor(0, 0, 0, alpha);
DrawOverlay();
break;
}
}
| [
"drevilbrain@gmail.com"
] | drevilbrain@gmail.com |
b94f3b74c221d3cfdf10eb184058b5bf5ab581dd | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/iOS/Preview/include/Fuse.Controls.SafeEdgePanel.h | b01d91119a9174523664f69032e1483930c1ac86 | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,052 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Panels/1.12.0/SafeEdgePanel.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Controls.Panel.h>
#include <Fuse.Drawing.ISurfaceDrawable.h>
#include <Fuse.IActualPlacement.h>
#include <Fuse.INotifyUnrooted.h>
#include <Fuse.IProperties.h>
#include <Fuse.ISourceLocation.h>
#include <Fuse.ITemplateSource.h>
#include <Fuse.Node.h>
#include <Fuse.Scripting.IScriptObject.h>
#include <Fuse.Triggers.Actions.ICollapse.h>
#include <Fuse.Triggers.Actions.IHide.h>
#include <Fuse.Triggers.Actions.IShow.h>
#include <Fuse.Visual.h>
#include <Uno.Collections.ICollection-1.h>
#include <Uno.Collections.IEnumerable-1.h>
#include <Uno.Collections.IList-1.h>
#include <Uno.Float4.h>
#include <Uno.UX.IPropertyListener.h>
namespace g{namespace Fuse{namespace Controls{struct SafeEdgePanel;}}}
namespace g{namespace Fuse{namespace Reactive{struct WindowCaps;}}}
namespace g{namespace Uno{namespace UX{struct PropertyObject;}}}
namespace g{namespace Uno{namespace UX{struct Selector;}}}
namespace g{
namespace Fuse{
namespace Controls{
// public sealed class SafeEdgePanel
// {
::g::Fuse::Controls::Panel_type* SafeEdgePanel_typeof();
void SafeEdgePanel__ctor_7_fn(SafeEdgePanel* __this);
void SafeEdgePanel__get_ExtraPadding_fn(SafeEdgePanel* __this, ::g::Uno::Float4* __retval);
void SafeEdgePanel__set_ExtraPadding_fn(SafeEdgePanel* __this, ::g::Uno::Float4* value);
void SafeEdgePanel__get_MinEdgePadding_fn(SafeEdgePanel* __this, ::g::Uno::Float4* __retval);
void SafeEdgePanel__set_MinEdgePadding_fn(SafeEdgePanel* __this, ::g::Uno::Float4* value);
void SafeEdgePanel__New4_fn(SafeEdgePanel** __retval);
void SafeEdgePanel__OnPropertyChanged2_fn(SafeEdgePanel* __this, ::g::Uno::UX::PropertyObject* sender, ::g::Uno::UX::Selector* name);
void SafeEdgePanel__OnRooted_fn(SafeEdgePanel* __this);
void SafeEdgePanel__OnUnrooted_fn(SafeEdgePanel* __this);
void SafeEdgePanel__get_Padding1_fn(SafeEdgePanel* __this, ::g::Uno::Float4* __retval);
void SafeEdgePanel__set_Padding1_fn(SafeEdgePanel* __this, ::g::Uno::Float4* value);
void SafeEdgePanel__get_PadEdges_fn(SafeEdgePanel* __this, int32_t* __retval);
void SafeEdgePanel__set_PadEdges_fn(SafeEdgePanel* __this, int32_t* value);
void SafeEdgePanel__UpdatePadding_fn(SafeEdgePanel* __this);
struct SafeEdgePanel : ::g::Fuse::Controls::Panel
{
uStrong< ::g::Fuse::Reactive::WindowCaps*> _caps;
int32_t _padEdges;
::g::Uno::Float4 _extraPadding;
::g::Uno::Float4 _minEdgePadding;
void ctor_7();
::g::Uno::Float4 ExtraPadding();
void ExtraPadding(::g::Uno::Float4 value);
::g::Uno::Float4 MinEdgePadding();
void MinEdgePadding(::g::Uno::Float4 value);
::g::Uno::Float4 Padding1();
void Padding1(::g::Uno::Float4 value);
int32_t PadEdges();
void PadEdges(int32_t value);
void UpdatePadding();
static SafeEdgePanel* New4();
};
// }
}}} // ::g::Fuse::Controls
| [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
ed2d6a2afd8e785046b19036579bdde4afed56d8 | 70e0667e2281db6f67ac44a179164474a588dd3c | /cyber/common/file.h | f09b5d128c19b7e9cbc24f92ee38cf56046c5a81 | [
"Apache-2.0"
] | permissive | L-Net-1992/apollo_windows | dd06bfaf648179c9334b87d1aa8dc11878a78a83 | 78db2493b7356f012ec5342c27c11ff592c664c5 | refs/heads/master | 2023-03-17T15:13:11.221761 | 2020-05-04T13:41:37 | 2020-05-04T14:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,022 | h | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*****************************************************************************/
/**
* @file
*/
#ifndef CYBER_COMMON_FILE_H_
#define CYBER_COMMON_FILE_H_
#include <dirent.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdio>
#include <fstream>
#include <string>
#include <vector>
#include "cyber/common/log.h"
#include "google/protobuf/io/zero_copy_stream_impl.h"
#include "google/protobuf/text_format.h"
#include "cyber/platform/macros.h"
/**
* @namespace apollo::common::util
* @brief apollo::common::util
*/
namespace apollo {
namespace cyber {
namespace common {
// file type: file or directory
enum FileType { TYPE_FILE, TYPE_DIR };
bool SetProtoToASCIIFile(const google::protobuf::Message &message,
int file_descriptor);
/**
* @brief Sets the content of the file specified by the file_name to be the
* ascii representation of the input protobuf.
* @param message The proto to output to the specified file.
* @param file_name The name of the target file to set the content.
* @return If the action is successful.
*/
bool SetProtoToASCIIFile(const google::protobuf::Message &message,
const std::string &file_name);
/**
* @brief Parses the content of the file specified by the file_name as ascii
* representation of protobufs, and merges the parsed content to the
* proto.
* @param file_name The name of the file to parse whose content.
* @param message The proto to carry the parsed content in the specified file.
* @return If the action is successful.
*/
bool GetProtoFromASCIIFile(const std::string &file_name,
google::protobuf::Message *message);
/**
* @brief Sets the content of the file specified by the file_name to be the
* binary representation of the input protobuf.
* @param message The proto to output to the specified file.
* @param file_name The name of the target file to set the content.
* @return If the action is successful.
*/
bool SetProtoToBinaryFile(const google::protobuf::Message &message,
const std::string &file_name);
/**
* @brief Parses the content of the file specified by the file_name as binary
* representation of protobufs, and merges the parsed content to the
* proto.
* @param file_name The name of the file to parse whose content.
* @param message The proto to carry the parsed content in the specified file.
* @return If the action is successful.
*/
bool GetProtoFromBinaryFile(const std::string &file_name,
google::protobuf::Message *message);
/**
* @brief Parses the content of the file specified by the file_name as a
* representation of protobufs, and merges the parsed content to the
* proto.
* @param file_name The name of the file to parse whose content.
* @param message The proto to carry the parsed content in the specified file.
* @return If the action is successful.
*/
bool GetProtoFromFile(const std::string &file_name,
google::protobuf::Message *message);
/**
* @brief Get file content as string.
* @param file_name The name of the file to read content.
* @param content The file content.
* @return If the action is successful.
*/
bool GetContent(const std::string &file_name, std::string *content);
/**
* @brief Get absolute path by concatenating prefix and relative_path.
* @return The absolute path.
*/
std::string CYBER_API GetAbsolutePath(const std::string &prefix,
const std::string &relative_path);
/**
* @brief Check if the path exists.
* @param path a file name, such as /a/b/c.txt
* @return If the path exists.
*/
bool PathExists(const std::string &path);
/**
* @brief Check if the directory specified by directory_path exists
* and is indeed a directory.
* @param directory_path Directory path.
* @return If the directory specified by directory_path exists
* and is indeed a directory.
*/
bool DirectoryExists(const std::string &directory_path);
/**
* @brief Expand path pattern to matched paths.
* @param pattern Path pattern, which may contain wildcards [?*].
* @return Matched path list.
*/
std::vector<std::string> Glob(const std::string &pattern);
/**
* @brief Copy a file.
* @param from The file path to copy from.
* @param to The file path to copy to.
* @return If the action is successful.
*/
bool CopyFile(const std::string &from, const std::string &to);
/**
* @brief Copy a directory.
* @param from The path to copy from.
* @param to The path to copy to.
* @return If the action is successful.
*/
bool CopyDir(const std::string &from, const std::string &to);
/**
* @brief Copy a file or directory.
* @param from The path to copy from.
* @param to The path to copy to.
* @return If the action is successful.
*/
bool Copy(const std::string &from, const std::string &to);
/**
* @brief Check if a specified directory specified by directory_path exists.
* If not, recursively create the directory (and its parents).
* @param directory_path Directory path.
* @return If the directory does exist or its creation is successful.
*/
bool EnsureDirectory(const std::string &directory_path);
/**
* @brief Remove all the files under a specified directory. Note that
* sub-directories are NOT affected.
* @param directory_path Directory path.
* @return If the action is successful.
*/
bool RemoveAllFiles(const std::string &directory_path);
/**
* @brief List sub-paths.
* @param directory_path Directory path.
* @param d_type Sub-path type, DT_DIR for directory, or DT_REG for file.
* @return A vector of sub-paths, without the directory_path prefix.
*/
std::vector<std::string> ListSubPaths(const std::string &directory_path,
const unsigned char d_type = DT_DIR);
std::string GetFileName(const std::string &path,
const bool remove_extension = false);
std::string GetCurrentPath();
// delete file including file or directory
bool DeleteFile(const std::string &filename);
bool GetType(const std::string &filename, FileType *type);
bool CreateDir(const std::string &dir);
} // namespace common
} // namespace cyber
} // namespace apollo
#endif // CYBER_COMMON_FILE_H_
| [
"mjopenglsdl@gmail.com"
] | mjopenglsdl@gmail.com |
fff7e2b33e4fcf1293f008cc75e7f6fe0a7825e3 | c74e77aed37c97ad459a876720e4e2848bb75d60 | /800-899/818/(30947816)[WRONG_ANSWER]D[ b'Multicolored Cars' ].cpp | d580b2d9b75c77e67117a23c99f57e7f4cabb070 | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long uLL;
typedef long double ldb;
typedef pair<int,int> pii;
int M[1000001];
int main()
{
ios_base::sync_with_stdio(0);cin.tie(0);
int n, A;
cin>>n>>A;
int B;
cin>>B;
if(B == A)
return cout<<-1<<endl, 0;
++M[B];
for(int i = 1; i < n; ++i)
{
int inp;
cin>>inp;
if(M[A] > M[B])
return cout<<-1<<endl, 0;
}
cout<<B<<endl;
return 0;
}
| [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
e283229278986f19beb2c39dba2f71937d2371ef | 3042631cbb0fe0594adfba0f073de6d30cf02ff7 | /prj2-server/Server_GS.cpp | d0ba07d20bea90071ab89dcf867c6a1b36a9d93a | [] | no_license | ryanleek/2017_DataStructure_Final | 7f36b7a1bfd164cb62b22c59afbc8d2ac3920717 | 2b30ba9f3e1826de65fd8f84b7bd5260596a8278 | refs/heads/master | 2021-08-30T15:37:13.452138 | 2017-12-18T13:38:38 | 2017-12-18T13:38:38 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,937 | cpp | #include "Server.h"
bool Server::recvall(int index, char* data, int totalbytes)
{
int bytesrecieved = 0;
while (bytesrecieved < totalbytes)
{
int RetnCheck = recv(connections[index].socket, data, totalbytes - bytesrecieved, NULL);
if (RetnCheck == SOCKET_ERROR)
return false;
bytesrecieved += RetnCheck;
}
return true;
}
bool Server::sendall(int index, char* data, int totalbytes)
{
int bytessent = 0;
while (bytessent < totalbytes)
{
int RetnCheck = send(connections[index].socket, data + bytessent, totalbytes - bytessent, NULL);
if (RetnCheck == SOCKET_ERROR)
return false;
bytessent += RetnCheck;
}
return true;
}
// 정수를 전송하며 성공했는지 확인
bool Server::SendInt(int index, int _int)
{
int RetnCheck = send(connections[index].socket, (char*)&_int, sizeof(int), NULL);
if (RetnCheck == SOCKET_ERROR) // 전송에 실패
return false;
return true;
}
// 패킷을 전송하며 성공했는지 확인
bool Server::SendPacket(int index, Packet _packettype)
{
int RetnCheck = send(connections[index].socket, (char*)&_packettype, sizeof(Packet), NULL);
if (RetnCheck == SOCKET_ERROR) // 전송에 실패
return false;
return true;
}
// 메시지를 송신하며 성공했는지 확인
bool Server::SendMsg(int index, string &_string)
{
if (!SendPacket(index, P_ChatMessage)) // 패킷 전송에 실패
return false;
int bufferlength = _string.size();
if (!SendInt(index, bufferlength)) // 버퍼 길이 전송에 실패
return false;
int RetnCheck = send(connections[index].socket, _string.c_str(), bufferlength, NULL);
if (RetnCheck == SOCKET_ERROR) // string 버퍼 전송에 실패
return false;
return true;
}
// 아이디를 송신하며 성공했는지 확인
bool Server::SendID(int index, string &_string)
{
if (!SendPacket(index, P_ID)) // 패킷 전송에 실패
return false;
int bufferlength = _string.size();
if (!SendInt(index, bufferlength)) // 버퍼 길이 전송에 실패
return false;
int RetnCheck = send(connections[index].socket, _string.c_str(), bufferlength, NULL);
if (RetnCheck == SOCKET_ERROR) // string 버퍼 전송에 실패
return false;
return true;
}
// 패스워드를 송신하며 성공했는지 확인
bool Server::SendPW(int index, string &_string)
{
if (!SendPacket(index, P_PW)) // 패킷 전송에 실패
return false;
int bufferlength = _string.size();
if (!SendInt(index, bufferlength)) // 버퍼 길이 전송에 실패
return false;
int RetnCheck = send(connections[index].socket, _string.c_str(), bufferlength, NULL);
if (RetnCheck == SOCKET_ERROR) // string 버퍼 전송에 실패
return false;
return true;
}
// 친구 아이디를 송신하며 성공했는지 확인
bool Server::SendFriend(int index, string &_string)
{
if (!SendPacket(index, P_Friend)) // 패킷 전송에 실패
return false;
int bufferlength = _string.size();
if (!SendInt(index, bufferlength)) // 버퍼 길이 전송에 실패
return false;
int RetnCheck = send(connections[index].socket, _string.c_str(), bufferlength, NULL);
if (RetnCheck == SOCKET_ERROR) // string 버퍼 전송에 실패
return false;
return true;
}
// 방 아이디를 송신하며 성공했는지 확인
bool Server::SendRoomID(int index, string &_string)
{
if (!SendPacket(index, P_ChatRoom)) // 패킷 전송에 실패
return false;
int bufferlength = _string.size();
if (!SendInt(index, bufferlength)) // 버퍼 길이 전송에 실패
return false;
int RetnCheck = send(connections[index].socket, _string.c_str(), bufferlength, NULL);
if (RetnCheck == SOCKET_ERROR) // string 버퍼 전송에 실패
return false;
return true;
}
// 정수를 수신하며 성공했는지 확인
bool Server::GetInt(int index, int &_int)
{
int RetnCheck = recv(connections[index].socket, (char*)&_int, sizeof(int), NULL);
if (RetnCheck == SOCKET_ERROR) // 수신에 실패
return false;
return true;
}
// 패킷을 수신하며 성공했는지 확인
bool Server::GetPacket(int index, Packet &_packettype)
{
int RetnCheck = recv(connections[index].socket, (char*)&_packettype, sizeof(Packet), NULL);
if (RetnCheck == SOCKET_ERROR) // 전송에 실패
return false;
return true;
}
// 메세지를 수신하며 성공했는지 확인
bool Server::GetString(int index, string &_string)
{
int bufferlength; // 버퍼의 길이를 저장
if (!GetInt(index, bufferlength)) // 버퍼의 길이를 가져오고 변수에 저장한다
return false;
char* buffer = new char[bufferlength + 1]; // 버퍼의 메모리 할당
buffer[bufferlength] = '\0';
int RetnCheck = recv(connections[index].socket, buffer, bufferlength, NULL); // 메세지 수신
_string = buffer; // string을 받은 메세지로 설정
delete[] buffer; // memory leak을 막기 위해 버퍼의 메모리 해제
if (RetnCheck == SOCKET_ERROR) // 소켓 연결 에러 발생
return false;
return true;
}
| [
"30751720+ryanleek@users.noreply.github.com"
] | 30751720+ryanleek@users.noreply.github.com |
6d9073fd1fa9aab9a63e847f9e021fec7cc9d4a9 | 1668deb08746c2e20ffad917741a6263677e56ce | /LeetCode/Easy/height checker.cpp | 7c40af7d93d87493288105af65d9847ba70f24b7 | [] | no_license | sakshi0461/Data-Structure-And-Algo | ebad88097f8cc5b45d175fe96a0258e39f76d352 | daa1703b34c8d281243c7846c5382e840b9927cb | refs/heads/master | 2022-12-04T08:15:17.094571 | 2020-08-21T19:43:32 | 2020-08-21T19:43:32 | 281,624,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | class Solution {
public:
int heightChecker(vector<int>& heights) {
vector<int>num=heights;
sort(heights.begin(),heights.end());
int count=0;
for(int i=0;i<num.size();i++){
if(num[i]!=heights[i])
count++;
}
return count;
}
}; | [
"iec2018046@iiita.ac.in"
] | iec2018046@iiita.ac.in |
5d8da864903b208f1d58902dec4f6feef1268046 | d6afd06eaf6178818c5a22fd5cb00614b8ab81c1 | /abstracta/protocolo.hpp | 35fb6963452149dc2a452a04a6384f9f5c647224 | [] | no_license | alonsokane/abstracta | 3d72d510156a2d6ecf24fdf835dd373789af2b28 | f57d069b06d3089a12302c809cc790c85e43b0c6 | refs/heads/master | 2021-04-06T20:45:51.467366 | 2019-10-08T02:43:13 | 2019-10-08T02:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | hpp | //
// protocolo.hpp
// abstracta
//
// Created by alonso paucar ugarte on 10/6/19.
// Copyright © 2019 alonso paucar ugarte. All rights reserved.
//
#ifndef protocolo_hpp
#define protocolo_hpp
#include <stdio.h>
#include <iostream>
#include <string>
#include "/Users/alonsopaucarugarte/Desktop/abstracta/abstracta/euclides.h"
#include "enig.hpp"
#include "culebra.hpp"
#include "verman.hpp"
#include "vigenere.hpp"
#include "afin.hpp"
#include <cstdlib>
using namespace euclides;
class protocolo{
public:
std::string me,clave_vige,c_m,pos;
protocolo(std::string,std::string,int ,int);
protocolo(std::string);
void rotor(std::string,int,int);
int filas,columnas;
int a,b;
std::string clave();
std::string me_deci;
std::string descifrado();
private:
std::string alfabeto = "abcdefghijklmnopqrstuvwxyz";
std::string alfa1,alfa2,alfa3;
};
#endif /* protocolo_hpp */
| [
"noreply@github.com"
] | alonsokane.noreply@github.com |
b81b26d435812f289d4b93e6eadc3ce968fafdfe | edbaf7821dd1541cab6658a345be56a88191557d | /src/sword.cpp | 8c811a91f762fda6d0931d27a546db26dc052543 | [] | no_license | jeremyelkayam/Warriors | 18853864b41374e83869aea7715e7eb8fbad9579 | a619f8ba3cf7349bbeddb260152678754f58e13a | refs/heads/master | 2023-06-10T03:30:47.299407 | 2023-06-01T22:42:15 | 2023-06-01T22:42:15 | 37,489,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | //
// Created by jeremyelkayam on 9/26/20.
//
#include "sword.hpp"
Sword::Sword(float xcor, float ycor, sf::Texture &texture, float warrior_width, sf::Color warrior_color)
: Entity(xcor,ycor,texture) {
color = warrior_color;
active = false;
//Set our sprite's coordinates to the center of the warrior to which it belongs.
sf::FloatRect sprite_rect=sprite.getLocalBounds();
sprite.setOrigin(sprite_rect.left - warrior_width,
sprite_rect.top + sprite_rect.height/2);
}
void Sword::update(float xcor, float ycor, float angle){
sprite.setPosition(xcor,ycor);
//convert the sword's angle into degrees because SFML likes degrees for some reason
angle *= 180 / M_PI;
sprite.setRotation(angle);
} | [
"jeremyelkayam@gmail.com"
] | jeremyelkayam@gmail.com |
8a151930cad10b8a9d388f2d773c2cc49ac73593 | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/services/device/public/mojom/screen_orientation.mojom-blink-test-utils.h | 1d3632cdc4257da0f3e360a477ddc9b13fc0e0cb | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_DEVICE_PUBLIC_MOJOM_SCREEN_ORIENTATION_MOJOM_BLINK_TEST_UTILS_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_SCREEN_ORIENTATION_MOJOM_BLINK_TEST_UTILS_H_
#include "services/device/public/mojom/screen_orientation.mojom-blink.h"
#include "third_party/blink/public/platform/web_common.h"
namespace device {
namespace mojom {
namespace blink {
class BLINK_PLATFORM_EXPORT ScreenOrientationInterceptorForTesting : public ScreenOrientation {
virtual ScreenOrientation* GetForwardingInterface() = 0;
void LockOrientation(::blink::WebScreenOrientationLockType orientation, LockOrientationCallback callback) override;
void UnlockOrientation() override;
};
class BLINK_PLATFORM_EXPORT ScreenOrientationAsyncWaiter {
public:
explicit ScreenOrientationAsyncWaiter(ScreenOrientation* proxy);
~ScreenOrientationAsyncWaiter();
void LockOrientation(
::blink::WebScreenOrientationLockType orientation, ::device::mojom::blink::ScreenOrientationLockResult* out_result);
private:
ScreenOrientation* const proxy_;
DISALLOW_COPY_AND_ASSIGN(ScreenOrientationAsyncWaiter);
};
class BLINK_PLATFORM_EXPORT ScreenOrientationListenerInterceptorForTesting : public ScreenOrientationListener {
virtual ScreenOrientationListener* GetForwardingInterface() = 0;
void IsAutoRotateEnabledByUser(IsAutoRotateEnabledByUserCallback callback) override;
};
class BLINK_PLATFORM_EXPORT ScreenOrientationListenerAsyncWaiter {
public:
explicit ScreenOrientationListenerAsyncWaiter(ScreenOrientationListener* proxy);
~ScreenOrientationListenerAsyncWaiter();
void IsAutoRotateEnabledByUser(
bool* out_enabled);
private:
ScreenOrientationListener* const proxy_;
DISALLOW_COPY_AND_ASSIGN(ScreenOrientationListenerAsyncWaiter);
};
} // namespace blink
} // namespace mojom
} // namespace device
#endif // SERVICES_DEVICE_PUBLIC_MOJOM_SCREEN_ORIENTATION_MOJOM_BLINK_TEST_UTILS_H_ | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
1a29133629bcc396e3869100288688f1b41527e6 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/sync/session_sync_service_factory_unittest.cc | 64f72fa693e98227bad036c4a5473ad094ce54bb | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,440 | cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/session_sync_service_factory.h"
#include "chrome/common/webui_url_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
const char kValidUrl[] = "http://www.example.com";
const char kInvalidUrl[] = "invalid.url";
TEST(SessionSyncServiceFactoryTest, ShouldSyncURL) {
EXPECT_TRUE(
SessionSyncServiceFactory::ShouldSyncURLForTesting(GURL(kValidUrl)));
EXPECT_TRUE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("other://anything")));
EXPECT_TRUE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("chrome-other://anything")));
EXPECT_FALSE(
SessionSyncServiceFactory::ShouldSyncURLForTesting(GURL(kInvalidUrl)));
EXPECT_FALSE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("file://anything")));
EXPECT_FALSE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL(chrome::kChromeUIVersionURL)));
EXPECT_FALSE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("chrome-native://anything")));
EXPECT_FALSE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("chrome-distiller://anything")));
EXPECT_FALSE(SessionSyncServiceFactory::ShouldSyncURLForTesting(
GURL("chrome-untrusted://anything")));
}
} // namespace
| [
"jengelh@inai.de"
] | jengelh@inai.de |
0c1509858efeb92a7db07d00ec78abc94079b28c | 50edab9babae446ac188df34a8c37d4fa537e946 | /libccif/src/bp/DeleteFlowReq.h | e852eb28a367d1a33ab8ddafa5932efc79203d7c | [] | no_license | krishnact/projects | e1cae86e05d30ad6bd4935ba7e4c25985f58d5d1 | 940a17ffa42afc28dbd8af2656e3611b87033116 | refs/heads/master | 2020-12-24T13:36:24.259601 | 2019-10-31T14:54:36 | 2019-10-31T14:54:36 | 24,039,232 | 0 | 0 | null | 2020-10-13T02:36:47 | 2014-09-15T02:04:17 | C++ | UTF-8 | C++ | false | false | 3,779 | h | #ifndef ORG_HIMALAY_CCIF_DELETEFLOWREQ
#define ORG_HIMALAY_CCIF_DELETEFLOWREQ
//@Generated(date = "Mon Feb 01 22:30:18 EST 2016")
// Copyright (2012) Krishna C Tripathi. All rights reserved.
//
// You are not allowed to read/copy/distribute following code without explicit written authorization from Krishna C Tripathi
//
#include "stdio.h"
#include "runtime.h"
#include "boost/shared_ptr.hpp"
#include "APDUHeader.h" //header for org.himalay.ccif.APDUHeader
#include "APDUBaseFactory.h"
/**
* Definitions for enclosing type
*/
#define org_himalay_ccif_DeleteFlowReq__USE_SMART_PTR
#ifdef org_himalay_ccif_DeleteFlowReq__USE_SMART_PTR
#include "boost/shared_ptr.hpp"
#define org_himalay_ccif_DeleteFlowReq__PTR_TYPE boost::shared_ptr<DeleteFlowReq>
#define org_himalay_ccif_DeleteFlowReq__NEW(x) {/** Serious **/x = org_himalay_ccif_DeleteFlowReq__PTR_TYPE(new DeleteFlowReq()); }
#define org_himalay_ccif_DeleteFlowReq__INIT(x)
#define org_himalay_ccif_DeleteFlowReq__DELETE(x)
#else
#define org_himalay_ccif_DeleteFlowReq__PTR_TYPE DeleteFlowReq*
#define org_himalay_ccif_DeleteFlowReq__NEW(x) {x= new DeleteFlowReq();}
#define org_himalay_ccif_DeleteFlowReq__INIT(x) x=NULL;
#define org_himalay_ccif_DeleteFlowReq__DELETE(x) {delete(x);x=NULL;}
#endif
/**
* Definitions for inline types
*/
//#ifndef ArrayList
#ifdef org_himalay_ccif_DeleteFlowReq__USE_SMART_PTR
#define ArrayList(x) SmartPtrList<x>
#define ArrayList_iterator(x) SmartPtrList<x>::iterator
#include "SmartPtrList.h"
#else
#define ArrayList(x) BinMessagePtrList
#define ArrayList_iterator(x) BinMessagePtrList::iterator
#include "BinMessagePtrList.h"
#endif
//#endif
// Namespace
namespace org {
namespace himalay {
namespace ccif {
using namespace ::org::himalay::msgs::runtime;
using namespace org::himalay::ccif;
using namespace org::himalay::msgs::runtime;
#ifdef org_himalay_ccif_DeleteFlowReq__USE_SMART_PTR
class DeleteFlowReq;
typedef ::boost::shared_ptr<DeleteFlowReq> DeleteFlowReqPtr;
#endif
class DeleteFlowReq :public APDUBaseFactory::APDUBase { //Concrete type is DeleteFlowReq
// public:
// long references;
public:
// members variables
// header ---
public:
org_himalay_ccif_APDUHeader__PTR_TYPE header ;
// length ---
public:
ui8 length ;
// flowId ---
public:
int flowId ;
public:
DeleteFlowReq (); // throws Exception
virtual ~DeleteFlowReq ();
public:
int readNoHeader(DataInputStream& istream);// throws IOException
public:
int read(DataInputStream& istream);// throws IOException
public:
int write(DataOutputStream& ostream);// throws IOException
public:
int dump(DumpContext& dc);// throws IOException
// Getter for header
// public: org_himalay_ccif_APDUHeader__PTR_TYPE getHeader();
// Setter for header
// public: void setHeader(org_himalay_ccif_APDUHeader__PTR_TYPE val);
// Getter for length
// public: ui8 getLength();
// Setter for length
// public: void setLength(ui8 val);
// Getter for flowId
// public: ui24 getFlowId();
// Setter for flowId
// public: void setFlowId(ui24 val);
public:
int getSize();// throws IOException
public:
void setHeader(org_himalay_ccif_APDUHeader__PTR_TYPE header);
public:
org_himalay_ccif_APDUHeader__PTR_TYPE getHeader();
};
#ifdef org_himalay_ccif_DeleteFlowReq__USE_SMART_PTR
void intrusive_ptr_add_ref(org::himalay::ccif::DeleteFlowReq* p);
void intrusive_ptr_release(org::himalay::ccif::DeleteFlowReq* p);
#endif
}
}
}
#undef ArrayList
#undef ArrayList_iterator
#endif // ORG_HIMALAY_CCIF_DELETEFLOWREQ
// End of code | [
"krishnact@himalay.org"
] | krishnact@himalay.org |
61a5c4d74891e71e23bb55758dbf2718d7bf2e5a | f8724feecc6ff9070a2f282cb68fbfe7d407b6b6 | /WebDL/MyForm.h | 3fd93e887bb7948952f65cd0d70e8602e3c0a4f6 | [] | no_license | pratyush997/WebDL | 7063acfd66ab4f2f59eb608b1dd9998ef39926ee | 0c82eb074daf78a4efe77d9450c15ce89b314a0e | refs/heads/master | 2020-04-10T03:59:48.612089 | 2016-09-06T19:46:22 | 2016-09-06T19:46:22 | 51,861,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,321 | h | #pragma once
namespace WebDL {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for MyForm
/// </summary>
public ref class MyForm : public System::Windows::Forms::Form
{
public:
MyForm(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~MyForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ go;
protected:
private: System::Windows::Forms::TextBox^ urlbox;
protected:
private: System::Windows::Forms::TextBox^ initialNo;
private: System::Windows::Forms::TextBox^ finalNo;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::CheckBox^ cmd;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Button^ help;
private: System::Windows::Forms::Button^ downloads;
private:
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(MyForm::typeid));
this->go = (gcnew System::Windows::Forms::Button());
this->urlbox = (gcnew System::Windows::Forms::TextBox());
this->initialNo = (gcnew System::Windows::Forms::TextBox());
this->finalNo = (gcnew System::Windows::Forms::TextBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->cmd = (gcnew System::Windows::Forms::CheckBox());
this->label5 = (gcnew System::Windows::Forms::Label());
this->help = (gcnew System::Windows::Forms::Button());
this->downloads = (gcnew System::Windows::Forms::Button());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// go
//
this->go->Enabled = false;
this->go->Location = System::Drawing::Point(234, 165);
this->go->Name = L"go";
this->go->Size = System::Drawing::Size(75, 23);
this->go->TabIndex = 5;
this->go->Text = L"Go";
this->go->UseVisualStyleBackColor = true;
this->go->Click += gcnew System::EventHandler(this, &MyForm::go_Click);
//
// urlbox
//
this->urlbox->Location = System::Drawing::Point(84, 56);
this->urlbox->MaxLength = 200;
this->urlbox->Name = L"urlbox";
this->urlbox->Size = System::Drawing::Size(155, 20);
this->urlbox->TabIndex = 1;
this->urlbox->TextChanged += gcnew System::EventHandler(this, &MyForm::textBox1_TextChanged);
//
// initialNo
//
this->initialNo->Enabled = false;
this->initialNo->Location = System::Drawing::Point(84, 87);
this->initialNo->MaxLength = 999;
this->initialNo->Name = L"initialNo";
this->initialNo->Size = System::Drawing::Size(44, 20);
this->initialNo->TabIndex = 2;
this->initialNo->TextChanged += gcnew System::EventHandler(this, &MyForm::initialNo_TextChanged);
//
// finalNo
//
this->finalNo->Enabled = false;
this->finalNo->Location = System::Drawing::Point(84, 116);
this->finalNo->MaxLength = 999;
this->finalNo->Name = L"finalNo";
this->finalNo->Size = System::Drawing::Size(44, 20);
this->finalNo->TabIndex = 3;
this->finalNo->TextChanged += gcnew System::EventHandler(this, &MyForm::finalNo_TextChanged);
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(16, 61);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(46, 13);
this->label1->TabIndex = 5;
this->label1->Text = L"Website";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System::Drawing::Point(15, 90);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(51, 13);
this->label2->TabIndex = 6;
this->label2->Text = L"Initial No.";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(15, 118);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(49, 13);
this->label3->TabIndex = 7;
this->label3->Text = L"Final No.";
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(147, 200);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(33, 35);
this->pictureBox1->TabIndex = 9;
this->pictureBox1->TabStop = false;
this->pictureBox1->Click += gcnew System::EventHandler(this, &MyForm::pictureBox1_Click);
//
// cmd
//
this->cmd->AutoSize = true;
this->cmd->Enabled = false;
this->cmd->Location = System::Drawing::Point(259, 194);
this->cmd->Name = L"cmd";
this->cmd->Size = System::Drawing::Size(50, 17);
this->cmd->TabIndex = 4;
this->cmd->Text = L"CMD";
this->cmd->UseVisualStyleBackColor = true;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Location = System::Drawing::Point(45, 21);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(235, 13);
this->label5->TabIndex = 12;
this->label5->Text = L"Mass download webpages from sequential URL.";
//
// help
//
this->help->Location = System::Drawing::Point(19, 165);
this->help->Name = L"help";
this->help->Size = System::Drawing::Size(75, 23);
this->help->TabIndex = 6;
this->help->Text = L"Help";
this->help->UseVisualStyleBackColor = true;
this->help->Click += gcnew System::EventHandler(this, &MyForm::help_Click);
//
// downloads
//
this->downloads->Location = System::Drawing::Point(126, 165);
this->downloads->Name = L"downloads";
this->downloads->Size = System::Drawing::Size(75, 23);
this->downloads->TabIndex = 13;
this->downloads->Text = L"Downloads";
this->downloads->UseVisualStyleBackColor = true;
this->downloads->Click += gcnew System::EventHandler(this, &MyForm::downloads_Click_1);
//
// MyForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(322, 243);
this->Controls->Add(this->downloads);
this->Controls->Add(this->help);
this->Controls->Add(this->label5);
this->Controls->Add(this->cmd);
this->Controls->Add(this->pictureBox1);
this->Controls->Add(this->label3);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->finalNo);
this->Controls->Add(this->initialNo);
this->Controls->Add(this->urlbox);
this->Controls->Add(this->go);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle;
this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
this->MaximizeBox = false;
this->MinimizeBox = false;
this->Name = L"MyForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"WebDL";
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void textBox1_TextChanged(System::Object^ sender, System::EventArgs^ e) {
this->initialNo->Enabled = true;
}
private: System::Void initialNo_TextChanged(System::Object^ sender, System::EventArgs^ e) {
this->finalNo->Enabled = true;
}
private: System::Void finalNo_TextChanged(System::Object^ sender, System::EventArgs^ e) {
this->go->Enabled = true;
this->cmd->Enabled= true;
}
private: System::Void go_Click(System::Object^ sender, System::EventArgs^ e) {
// Input set
int ini, fin;
ini = System::Convert::ToInt16(initialNo->Text);
fin = System::Convert::ToInt16(finalNo->Text);
String^ url;
url = (urlbox->Text);
//System::IO::File::Create("job.bat"); // Batch File Creation
System::IO::StreamWriter^ writer = gcnew System::IO::StreamWriter("job.bat"); //open the file for writing.
for (int i = ini; i <= fin; i++)
{
writer->WriteLine("\nwget --continue --directory-prefix=\"C:\\WebDL\\Webpages\" --html-extension --no-cookies --output-document=\"C:\\WebDL\\Webpages\\""" + i + ".html\" --convert-links --user-agent=\"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4\" \"" + url + i + "\"\r\n");
//Sorry for such a long string.
}
writer->Close();
MessageBox::Show("Script Creation is done.\nExecution will begin now.");
MessageBoxButtons::OK;
if (cmd)
{
System::Diagnostics::Process::Start("cmd", "/c job.bat &PAUSE"); // Can't use +xyz one.
}
else
{
System::Diagnostics::Process::Start("cmd", "/c job.bat");
}
}
private: System::Void pictureBox1_Click(System::Object^ sender, System::EventArgs^ e) {
System::Diagnostics::Process::Start("https://github.com/pratyush997");
}
private: System::Void help_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox::Show("Sample : -\t\t\tVersion : 1.0\n\nWebsite : www.google.com/X \n\tWhere 'X' - Sequential Page\n\nInitial No : 2\n\nFinal No : 50\n");
//MessageBox::Show("Downloads Directory : - C:\WebDL\Webpages"); // Gotta fix it asap.
}
private: System::Void downloads_Click_1(System::Object^ sender, System::EventArgs^ e) {
System::Diagnostics::Process::Start("explorer","C:\\WebDL\\Webpages");
}
};
}
| [
"pratyush997@outlook.com"
] | pratyush997@outlook.com |
a77eb246288f44e1a9c8a61e79d663866e21dc0e | 407ea15ce5e6fd6c113d565ad71d6cebfe287cd1 | /src/clamav_engine.h | 420098b3595a7785983cc5dee12e12d21229d297 | [
"Apache-2.0"
] | permissive | pombredanne/libclamav_test | c6c548961c44fd86de1581bc1725b73a0844df01 | 033863e6a418e14fdf37a8e3fb5848c815419bb8 | refs/heads/master | 2020-05-19T17:28:22.946690 | 2018-06-01T09:00:57 | 2018-06-01T09:00:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,511 | h | #ifndef CLAMAV_ENGIN_H_
#define CLAMAV_ENGIN_H_
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <string>
#include <map>
#include <vector>
#include "clamav.h"
enum ClamavScanStat
{
kScanStatIsVIRUS = 10,
kScanStatNotVIRUS,
kScanStatUnknow,
};
struct ClamavScanResult
{
const char *virname;
unsigned long int size;
uint8_t stat;
char type[40];
ClamavScanResult()
: virname("")
, size(0)
, stat(0)
{
//type[0] = 0;
memset(type, 0, sizeof(type));
}
};
//TODO, enable more settings
struct ClamavSettings
{
long long max_file_size;
long long max_scan_size;
int ReMatchAlgorithm;
std::string tmp_file_dir;
ClamavSettings()
: max_file_size(0)
, max_scan_size(0)
, ReMatchAlgorithm(kReMatchAlgorithm_None)\
, tmp_file_dir("")
{
}
};
// ClamAV Virus Database : CVD
struct ClamavVDInfo
{
std::string name;
struct cl_cvd* info;
};
static inline std::string CVDInfoList2String(std::vector<ClamavVDInfo>& v)
{
std::vector<ClamavVDInfo>::iterator it;
std::string res_str;
char buf[1024];
for (it = v.begin(); it != v.end(); it++)
{
snprintf(buf, sizeof buf,
"vd name :%s\n"
"time :%s\n"
"version :%u\n"
"sigs :%u\n"
"fl :%u\n"
"md5 :%s\n"
"builder :%s\n"
"stime :%u\n\n"
, it->name.c_str()
, it->info->time
, it->info->version
, it->info->sigs
, it->info->fl
, it->info->md5
, it->info->builder
, it->info->stime
);
res_str += std::string(buf);
}
return res_str;
}
//typedef off_t (*clcb_pread)(void* handle, void *buf, size_t count, off_t offset)
class ClamavEngine
{
public:
explicit ClamavEngine(const char* path);
~ClamavEngine();
static std::string getClamavVersion();
static void enableDebug();
int buildEngine(ClamavSettings* av_settings = NULL);
int reBuildEngine(ClamavSettings* av_settings = NULL);
int ScanFmap(void* ptr, size_t len, ClamavScanResult* result, uint32_t scan_opt);
int scanFileFd(int fd, ClamavScanResult* result, uint32_t scan_opt);
int scanFileFdRaw(int fd, ClamavScanResult* result);
int scanFileFdStd(int fd, ClamavScanResult* result);
int getSettings();
int setSettings(ClamavSettings* settings);
int checkDatebaseChanged();
uint32_t scanSettingMask(const char* setting_section);
const std::string& getErrInfo()
{
return err_info_;
}
uint64_t getSigNum()
{
return sig_num_;
}
std::vector<ClamavVDInfo>& getCVDInfoList()
{
return cvd_info_list_;
}
private:
struct cmp_str
{
bool operator()(const char* a, const char* b) const
{
return strcmp(a, b) < 0;
}
};
void settingMaskInit();
std::map<const char*, uint32_t, cmp_str> setting_mask_map_;
private:
std::string err_info_;
uint64_t sig_num_;
private:
std::string db_path_;
std::vector<ClamavVDInfo> cvd_info_list_;
struct cl_engine* engine_;
struct cl_stat* dbstat_;
};
#endif
| [
"realzhangm@163.com"
] | realzhangm@163.com |
cf40e88110fe077f39c8ffc5680f05a3e3ac561a | 8e073ed35d182c51c5519a4ac1e8ffb9d7614dbb | /TouchGFX/generated/gui_generated/src/screen_screen/screenViewBase.cpp | 1b391b731c2d655bbd1d8a0c4dbd00b59469a6f9 | [] | no_license | jshxcn/project-test | bcc672014a76504473bfbe7033573c0aff3cced2 | d548ace772d44011de69236b24d53a3f6d985589 | refs/heads/master | 2022-12-08T11:35:36.732245 | 2020-08-31T08:17:03 | 2020-08-31T08:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | cpp | /*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#include <gui_generated/screen_screen/screenViewBase.hpp>
#include <touchgfx/Color.hpp>
#include "BitmapDatabase.hpp"
#include <texts/TextKeysAndLanguages.hpp>
screenViewBase::screenViewBase()
{
box1.setPosition(0, 0, 480, 320);
box1.setColor(touchgfx::Color::getColorFrom24BitRGB(33, 18, 106));
buttonWithLabel2.setXY(155, 114);
buttonWithLabel2.setBitmaps(touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_ID), touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_PRESSED_ID));
buttonWithLabel2.setLabelText(touchgfx::TypedText(T_SINGLEUSEID2));
buttonWithLabel2.setLabelColor(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
buttonWithLabel2.setLabelColorPressed(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
buttonWithLabel1.setXY(310, 0);
buttonWithLabel1.setBitmaps(touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_ID), touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_PRESSED_ID));
buttonWithLabel1.setLabelText(touchgfx::TypedText(T_SINGLEUSEID1));
buttonWithLabel1.setLabelColor(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
buttonWithLabel1.setLabelColorPressed(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
buttonWithLabel3.setXY(0, 260);
buttonWithLabel3.setBitmaps(touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_ID), touchgfx::Bitmap(BITMAP_BLUE_BUTTONS_ROUND_EDGE_SMALL_PRESSED_ID));
buttonWithLabel3.setLabelText(touchgfx::TypedText(T_SINGLEUSEID3));
buttonWithLabel3.setLabelColor(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
buttonWithLabel3.setLabelColorPressed(touchgfx::Color::getColorFrom24BitRGB(255, 255, 255));
toggleButton1.setXY(0, 0);
toggleButton1.setBitmaps(touchgfx::Bitmap(BITMAP_BLUE_TOGGLEBARS_TOGGLE_ROUND_LARGE_BUTTON_OFF_ID), touchgfx::Bitmap(BITMAP_BLUE_TOGGLEBARS_TOGGLE_ROUND_LARGE_BUTTON_ON_ID));
add(box1);
add(buttonWithLabel2);
add(buttonWithLabel1);
add(buttonWithLabel3);
add(toggleButton1);
}
void screenViewBase::setupScreen()
{
}
| [
"harkja@hanmail.net"
] | harkja@hanmail.net |
720cfec3c2280b439c9dd540b32a8fa65aadfdc1 | 9508e06b39b258fc676ff1e8055cca5c1527e1d0 | /src/Log.h | aedd084b68092529dda92ff91c0d4fdb807fd96b | [] | no_license | fritzb/moderncpp | de00567a6138d5b930b90eb4057e9822457f5588 | 26d93ab3a5a26365dfd71f2d23cf9275ca2893c3 | refs/heads/master | 2020-05-16T12:37:58.851159 | 2019-06-20T23:08:12 | 2019-06-20T23:08:12 | 183,051,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | /*
* $Id: Log.h,v 1.1 2005/12/05 02:07:19 fzb Exp $
*
* Log.h --
*
* Fritz Budiyanto, October 2005
*
*/
#ifndef __LOG_H__
#define __LOG_H__
#include <string>
#include <stdio.h>
#include <stdarg.h>
#ifdef DEBUG
#define DEBUG_DEFAULT true
#else
#define DEBUG_DEFAULT false
#endif
class Log {
public:
// Types
enum Priority {
Error,
Debug
};
static const bool DebugDefault = DEBUG_DEFAULT;
// Accessor
bool debug() const { return debug_; }
// Mutator
void debugIs(bool d) { debug_ = d; }
void entryNew(Priority prio,
const std::string &name,
const std::string &funcName,
const char *format, ...) {
va_list args;
if (prio == Debug) {
if (!debug_) {
return;
}
}
va_start(args, format);
fprintf(stderr, "[%s] %s.%s: ",
moduleName_.c_str(),
name.c_str(),
funcName.c_str());
vfprintf(stderr, format, args);
va_end(args);
}
// Constructor/Destructor
Log(std::string moduleName) :debug_(DebugDefault) { moduleName_ = moduleName; }
private:
std::string moduleName_;
bool debug_;
};
#endif /* __LOG_H__ */
/* end of file */
| [
"fritzbx@icloud.com"
] | fritzbx@icloud.com |
23439271e1ff33361a8a8edb6832116b5dc9285a | aeeb9442e954f6955dd832637bd4991503c20377 | /src/au_uav_ros/src/simPlaneObject.cpp | 3e3a71ff8dbff2c3b5c254c95039cdc8eee2a19f | [] | no_license | Idianale/au_uav_pkg | 8ad46b04c72e320bc58333ae5371ef58188635b9 | e38b06eef33d34c96a2d32ea2f6aed735a0d73d8 | refs/heads/master | 2021-05-31T22:46:18.812867 | 2016-06-07T16:10:25 | 2016-06-07T16:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,366 | cpp | #include "au_uav_ros/simPlaneObject.h"
using namespace au_uav_ros;
#define MAXIMUM_TURNING_ANGLE 22.5 //degrees
SimPlaneObject::SimPlaneObject(void) : PlaneObject() {
simSpeed = 1;
}
SimPlaneObject::SimPlaneObject(struct waypoint wp) : PlaneObject(wp) {
this->speed = MPS_SPEED;
simSpeed = 1;
}
void SimPlaneObject::setSimSpeed(double _simSpeed) {
simSpeed = _simSpeed;
}
double SimPlaneObject::getSimSpeed(void) const {
return this->simSpeed;
}
bool SimPlaneObject::simulate(au_uav_ros::Telemetry *telem) {
fillTelemetryUpdate(telem);
return true;
}
bool SimPlaneObject::handleNewCommand(au_uav_ros::Command newCommand) {
if(this->id != newCommand.planeID)
{
return false;
}
if (newCommand.commandID == COMMAND_AVOID_WP || newCommand.commandID == COMMAND_NORMAL_WP) {
setCurrentDest(newCommand.latitude,
newCommand.longitude,
newCommand.altitude);
}
return true;
}
bool SimPlaneObject::fillTelemetryUpdate(au_uav_ros::Telemetry *update) {
//difference in latitudes in radians
double lat1 = currentLoc.latitude*DEGREES_TO_RADIANS;
double long1 = currentLoc.longitude*DEGREES_TO_RADIANS;
double lat2, long2;
if (this->currentDest != INVALID_WP) {
lat2 = currentDest.latitude*DEGREES_TO_RADIANS;
long2 = currentDest.longitude*DEGREES_TO_RADIANS;
}else {
lat2 = normalPath.front().latitude*DEGREES_TO_RADIANS;
long2 = normalPath.front().longitude*DEGREES_TO_RADIANS;
}
double deltaLat = lat2 - lat1;
double deltaLong = long2 - long1;
//calculate bearing from current position to destination
double y = sin(deltaLong)*cos(lat2);
double x = cos(lat1)*sin(lat2) - sin(lat1)*cos(lat2)*cos(deltaLong);
this->targetBearing = atan2(y, x)*RADIANS_TO_DEGREES;
//calculate the real bearing based on our maximum angle change
//first create a temporary bearing that is the same as bearing but at a different numerical value
double tempBearing = -1000;
if((this->targetBearing) < 0)
{
tempBearing = this->targetBearing + 360;
}
else
{
tempBearing = this->targetBearing - 360;
}
double diff1 = abs(this->currentBearing - this->targetBearing);
double diff2 = abs(this->currentBearing - tempBearing);
//check for easy to calculate values first
if(diff1 < (MAXIMUM_TURNING_ANGLE*simSpeed) || diff2 < (MAXIMUM_TURNING_ANGLE*simSpeed))
{
//the difference is less than our maximum angle, set it to the bearing
this->currentBearing = this->targetBearing;
}
else
{
//we have a larger difference than we can turn, so turn our maximum
double mod;
if(diff1 < diff2)
{
if(this->targetBearing > this->currentBearing) mod = (MAXIMUM_TURNING_ANGLE*simSpeed);
else mod = 0 - (MAXIMUM_TURNING_ANGLE*simSpeed);
}
else
{
if(tempBearing > this->currentBearing) mod = (MAXIMUM_TURNING_ANGLE*simSpeed);
else mod = 0 - (MAXIMUM_TURNING_ANGLE*simSpeed);
}
//add our mod, either +22.5 or -22.5
this->currentBearing = this->currentBearing + mod;
//tweak the value to keep it between -180 and 180
if(this->currentBearing > 180) this->currentBearing = this->currentBearing - 360;
if(this->currentBearing <= -180) this->currentBearing = this->currentBearing + 360;
}
//time to calculate the new positions, God help us
/*
Algorithm for updating position:
1) Estimate new latitude using basic trig and this equation:
lat2 = lat1 + (MPS_SPEED*cos(bearing))*METERS_TO_LATITUDE
2) Use law of haversines to find the new longitude
haversin(c) = haversin(a-b) + sin(a)*sin(b)*haversin(C)
where haversin(x) = (sin(x/2.0))^2
where c = MPS_SPEED/EARTH_RADIUS (radians)
where a = 90 - lat1 (degrees)
where b = 90 - lat2 (degrees)
where C = the change in longitude, what we are solving for
C = 2.0 * arcsin(sqrt((haversin(c) - haversin(a-b))/(sin(a)*sin(b))))
*/
//1) Estimate new latitude using basic trig and this equation
this->currentLoc.latitude = lat1*RADIANS_TO_DEGREES + ((MPS_SPEED*simSpeed)*cos(this->currentBearing*DEGREES_TO_RADIANS))*METERS_TO_LATITUDE;
//2) Use the law of haversines to find the new longitude
double temp = pow(sin(((MPS_SPEED*simSpeed)/EARTH_RADIUS)/2.0), 2); //TODO verify
temp = temp - pow(sin((this->currentLoc.latitude*DEGREES_TO_RADIANS - lat1)/2.0), 2);
temp = temp / (sin(M_PI/2.0 - lat1)*sin((M_PI/2.0)-this->currentLoc.latitude*DEGREES_TO_RADIANS));
temp = 2.0 * RADIANS_TO_DEGREES * asin(sqrt(temp));
//depending on bearing, we should be either gaining or losing longitude
if(currentBearing > 0)
{
this->currentLoc.longitude += temp;
}
else
{
this->currentLoc.longitude -= temp;
}
this->distanceToDestination = distanceBetween(this->currentLoc, this->currentDest);
update->planeID = this->id;
update->currentLatitude = this->currentLoc.latitude;
update->currentLongitude = this->currentLoc.longitude;
update->currentAltitude = this->currentLoc.altitude;
update->destLatitude = this->currentDest.latitude;
update->destLongitude = this->currentDest.longitude;
update->destAltitude = this->currentDest.altitude;
update->currentWaypointIndex = this->currentWaypointIndex;
this->speed = MPS_SPEED*simSpeed;
update->groundSpeed = this->speed;
//TODO: charge name to currentBearing
update->targetBearing = this->currentBearing;
update->distanceToDestination = this->distanceToDestination;
update->telemetryHeader.stamp = ros::Time::now();
updateTime();
return true;
}
| [
"viki@c3po.(none)"
] | viki@c3po.(none) |
d3d8f6b2cb84ddb9f1967f903e594a47319f6970 | 765d6788c1d123174e5df5afcd318fadd3c14ec6 | /Warzone-Reborn/LazyImporter.h | 709ea2b4d23665d38116151022e7b96b1a37d6ea | [] | no_license | ZENOMODzOFC/Warzone-Reborn | c654c4e928fc95fdc1d4e3209a05c1be95337284 | 12d00676b8bd1e242faf0a1e9553791a443992ce | refs/heads/master | 2023-02-06T23:17:08.498622 | 2020-12-30T08:45:01 | 2020-12-30T08:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,743 | h | #pragma once
#ifndef LAZY_IMPORTER_HPP
#define LAZY_IMPORTER_HPP
#define iat(name) \
::li::detail::lazy_function<::li::detail::khash(#name), decltype(&name)>()
#define LI_FN_DEF(name) ::li::detail::lazy_function<::li::detail::khash(#name), name>()
#define LI_MODULE(name) ::li::detail::lazy_module<::li::detail::khash(name)>()
// NOTE only std::forward is used from this header.
// If there is a need to eliminate this dependency the function itself is very small.
#include <utility>
#include <cstddef>
#include <intrin.h>
#ifndef LAZY_IMPORTER_NO_FORCEINLINE
#if defined(_MSC_VER)
#define LAZY_IMPORTER_FORCEINLINE __forceinline
#elif defined(__GNUC__) && __GNUC__ > 3
#define LAZY_IMPORTER_FORCEINLINE inline __attribute__((__always_inline__))
#else
#define LAZY_IMPORTER_FORCEINLINE inline
#endif
#else
#define LAZY_IMPORTER_FORCEINLINE inline
#endif
#ifdef LAZY_IMPORTER_CASE_INSENSITIVE
#define LAZY_IMPORTER_TOLOWER(c) (c >= 'A' && c <= 'Z' ? (c | (1 << 5)) : c)
#else
#define LAZY_IMPORTER_TOLOWER(c) (c)
#endif
namespace li {
namespace detail {
template<class First, class Second>
struct pair {
First first;
Second second;
};
namespace win {
struct LIST_ENTRY_T {
const char* Flink;
const char* Blink;
};
struct UNICODE_STRING_T {
unsigned short Length;
unsigned short MaximumLength;
wchar_t* Buffer;
};
struct PEB_LDR_DATA_T {
unsigned long Length;
unsigned long Initialized;
const char* SsHandle;
LIST_ENTRY_T InLoadOrderModuleList;
};
struct PEB_T {
unsigned char Reserved1[2];
unsigned char BeingDebugged;
unsigned char Reserved2[1];
const char* Reserved3[2];
PEB_LDR_DATA_T* Ldr;
};
struct LDR_DATA_TABLE_ENTRY_T {
LIST_ENTRY_T InLoadOrderLinks;
LIST_ENTRY_T InMemoryOrderLinks;
LIST_ENTRY_T InInitializationOrderLinks;
const char* DllBase;
const char* EntryPoint;
union {
unsigned long SizeOfImage;
const char* _dummy;
};
UNICODE_STRING_T FullDllName;
UNICODE_STRING_T BaseDllName;
LAZY_IMPORTER_FORCEINLINE const LDR_DATA_TABLE_ENTRY_T*
load_order_next() const noexcept
{
return reinterpret_cast<const LDR_DATA_TABLE_ENTRY_T*>(
InLoadOrderLinks.Flink);
}
};
struct IMAGE_DOS_HEADER { // DOS .EXE header
unsigned short e_magic; // Magic number
unsigned short e_cblp; // Bytes on last page of file
unsigned short e_cp; // Pages in file
unsigned short e_crlc; // Relocations
unsigned short e_cparhdr; // Size of header in paragraphs
unsigned short e_minalloc; // Minimum extra paragraphs needed
unsigned short e_maxalloc; // Maximum extra paragraphs needed
unsigned short e_ss; // Initial (relative) SS value
unsigned short e_sp; // Initial SP value
unsigned short e_csum; // Checksum
unsigned short e_ip; // Initial IP value
unsigned short e_cs; // Initial (relative) CS value
unsigned short e_lfarlc; // File address of relocation table
unsigned short e_ovno; // Overlay number
unsigned short e_res[4]; // Reserved words
unsigned short e_oemid; // OEM identifier (for e_oeminfo)
unsigned short e_oeminfo; // OEM information; e_oemid specific
unsigned short e_res2[10]; // Reserved words
long e_lfanew; // File address of new exe header
};
struct IMAGE_FILE_HEADER {
unsigned short Machine;
unsigned short NumberOfSections;
unsigned long TimeDateStamp;
unsigned long PointerToSymbolTable;
unsigned long NumberOfSymbols;
unsigned short SizeOfOptionalHeader;
unsigned short Characteristics;
};
struct IMAGE_EXPORT_DIRECTORY {
unsigned long Characteristics;
unsigned long TimeDateStamp;
unsigned short MajorVersion;
unsigned short MinorVersion;
unsigned long Name;
unsigned long Base;
unsigned long NumberOfFunctions;
unsigned long NumberOfNames;
unsigned long AddressOfFunctions; // RVA from base of image
unsigned long AddressOfNames; // RVA from base of image
unsigned long AddressOfNameOrdinals; // RVA from base of image
};
struct IMAGE_DATA_DIRECTORY {
unsigned long VirtualAddress;
unsigned long Size;
};
struct IMAGE_OPTIONAL_HEADER64 {
unsigned short Magic;
unsigned char MajorLinkerVersion;
unsigned char MinorLinkerVersion;
unsigned long SizeOfCode;
unsigned long SizeOfInitializedData;
unsigned long SizeOfUninitializedData;
unsigned long AddressOfEntryPoint;
unsigned long BaseOfCode;
unsigned long long ImageBase;
unsigned long SectionAlignment;
unsigned long FileAlignment;
unsigned short MajorOperatingSystemVersion;
unsigned short MinorOperatingSystemVersion;
unsigned short MajorImageVersion;
unsigned short MinorImageVersion;
unsigned short MajorSubsystemVersion;
unsigned short MinorSubsystemVersion;
unsigned long Win32VersionValue;
unsigned long SizeOfImage;
unsigned long SizeOfHeaders;
unsigned long CheckSum;
unsigned short Subsystem;
unsigned short DllCharacteristics;
unsigned long long SizeOfStackReserve;
unsigned long long SizeOfStackCommit;
unsigned long long SizeOfHeapReserve;
unsigned long long SizeOfHeapCommit;
unsigned long LoaderFlags;
unsigned long NumberOfRvaAndSizes;
IMAGE_DATA_DIRECTORY DataDirectory[16];
};
struct IMAGE_OPTIONAL_HEADER32 {
unsigned short Magic;
unsigned char MajorLinkerVersion;
unsigned char MinorLinkerVersion;
unsigned long SizeOfCode;
unsigned long SizeOfInitializedData;
unsigned long SizeOfUninitializedData;
unsigned long AddressOfEntryPoint;
unsigned long BaseOfCode;
unsigned long BaseOfData;
unsigned long ImageBase;
unsigned long SectionAlignment;
unsigned long FileAlignment;
unsigned short MajorOperatingSystemVersion;
unsigned short MinorOperatingSystemVersion;
unsigned short MajorImageVersion;
unsigned short MinorImageVersion;
unsigned short MajorSubsystemVersion;
unsigned short MinorSubsystemVersion;
unsigned long Win32VersionValue;
unsigned long SizeOfImage;
unsigned long SizeOfHeaders;
unsigned long CheckSum;
unsigned short Subsystem;
unsigned short DllCharacteristics;
unsigned long SizeOfStackReserve;
unsigned long SizeOfStackCommit;
unsigned long SizeOfHeapReserve;
unsigned long SizeOfHeapCommit;
unsigned long LoaderFlags;
unsigned long NumberOfRvaAndSizes;
IMAGE_DATA_DIRECTORY DataDirectory[16];
};
struct IMAGE_NT_HEADERS {
unsigned long Signature;
IMAGE_FILE_HEADER FileHeader;
#ifdef _WIN64
IMAGE_OPTIONAL_HEADER64 OptionalHeader;
#else
IMAGE_OPTIONAL_HEADER32 OptionalHeader;
#endif
};
} // namespace win
// hashing stuff
struct hash_t {
using value_type = unsigned long;
constexpr static value_type offset = 2166136261;
constexpr static value_type prime = 16777619;
constexpr static unsigned long long prime64 = prime;
LAZY_IMPORTER_FORCEINLINE constexpr static value_type single(value_type value,
char c) noexcept
{
return static_cast<hash_t::value_type>(
(value ^ LAZY_IMPORTER_TOLOWER(c)) *
static_cast<unsigned long long>(prime));
}
};
template<class CharT = char>
LAZY_IMPORTER_FORCEINLINE constexpr hash_t::value_type
khash(const CharT* str, hash_t::value_type value = hash_t::offset) noexcept
{
return (*str ? khash(str + 1, hash_t::single(value, *str)) : value);
}
template<class CharT = char>
LAZY_IMPORTER_FORCEINLINE hash_t::value_type hash(const CharT* str) noexcept
{
hash_t::value_type value = hash_t::offset;
for (;;) {
char c = *str++;
if (!c)
return value;
value = hash_t::single(value, c);
}
}
LAZY_IMPORTER_FORCEINLINE hash_t::value_type hash(
const win::UNICODE_STRING_T& str) noexcept
{
auto first = str.Buffer;
const auto last = first + (str.Length / sizeof(wchar_t));
auto value = hash_t::offset;
for (; first != last; ++first)
value = hash_t::single(value, static_cast<char>(*first));
return value;
}
LAZY_IMPORTER_FORCEINLINE pair<hash_t::value_type, hash_t::value_type> hash_forwarded(
const char* str) noexcept
{
pair<hash_t::value_type, hash_t::value_type> module_and_function{
hash_t::offset, hash_t::offset
};
for (; *str != '.'; ++str)
hash_t::single(module_and_function.first, *str);
++str;
for (; *str; ++str)
hash_t::single(module_and_function.second, *str);
return module_and_function;
}
// some helper functions
LAZY_IMPORTER_FORCEINLINE const win::PEB_T* peb() noexcept
{
#if defined(_WIN64)
return reinterpret_cast<const win::PEB_T*>(__readgsqword(0x60));
#elif defined(_WIN32)
return reinterpret_cast<const win::PEB_T*>(__readfsdword(0x30));
#else
#error Unsupported platform. Open an issue and I'll probably add support.
#endif
}
LAZY_IMPORTER_FORCEINLINE const win::PEB_LDR_DATA_T* ldr()
{
return reinterpret_cast<const win::PEB_LDR_DATA_T*>(peb()->Ldr);
}
LAZY_IMPORTER_FORCEINLINE const win::IMAGE_NT_HEADERS* nt_headers(
const char* base) noexcept
{
return reinterpret_cast<const win::IMAGE_NT_HEADERS*>(
base + reinterpret_cast<const win::IMAGE_DOS_HEADER*>(base)->e_lfanew);
}
LAZY_IMPORTER_FORCEINLINE const win::IMAGE_EXPORT_DIRECTORY* image_export_dir(
const char* base) noexcept
{
return reinterpret_cast<const win::IMAGE_EXPORT_DIRECTORY*>(
base + nt_headers(base)->OptionalHeader.DataDirectory->VirtualAddress);
}
LAZY_IMPORTER_FORCEINLINE const win::LDR_DATA_TABLE_ENTRY_T* ldr_data_entry() noexcept
{
return reinterpret_cast<const win::LDR_DATA_TABLE_ENTRY_T*>(
ldr()->InLoadOrderModuleList.Flink);
}
struct exports_directory {
const char* _base;
const win::IMAGE_EXPORT_DIRECTORY* _ied;
unsigned long _ied_size;
public:
using size_type = unsigned long;
LAZY_IMPORTER_FORCEINLINE
exports_directory(const char* base) noexcept : _base(base)
{
const auto ied_data_dir = nt_headers(base)->OptionalHeader.DataDirectory[0];
_ied = reinterpret_cast<const win::IMAGE_EXPORT_DIRECTORY*>(
base + ied_data_dir.VirtualAddress);
_ied_size = ied_data_dir.Size;
}
LAZY_IMPORTER_FORCEINLINE explicit operator bool() const noexcept
{
return reinterpret_cast<const char*>(_ied) != _base;
}
LAZY_IMPORTER_FORCEINLINE size_type size() const noexcept
{
return _ied->NumberOfNames;
}
LAZY_IMPORTER_FORCEINLINE const char* base() const noexcept { return _base; }
LAZY_IMPORTER_FORCEINLINE const win::IMAGE_EXPORT_DIRECTORY* ied() const noexcept
{
return _ied;
}
LAZY_IMPORTER_FORCEINLINE const char* name(size_type index) const noexcept
{
return reinterpret_cast<const char*>(
_base + reinterpret_cast<const unsigned long*>(
_base + _ied->AddressOfNames)[index]);
}
LAZY_IMPORTER_FORCEINLINE const char* address(size_type index) const noexcept
{
const auto* const rva_table =
reinterpret_cast<const unsigned long*>(_base + _ied->AddressOfFunctions);
const auto* const ord_table = reinterpret_cast<const unsigned short*>(
_base + _ied->AddressOfNameOrdinals);
return _base + rva_table[ord_table[index]];
}
LAZY_IMPORTER_FORCEINLINE bool is_forwarded(const char* export_address) const
noexcept
{
const auto ui_ied = reinterpret_cast<const char*>(_ied);
return (export_address > ui_ied && export_address < ui_ied + _ied_size);
}
};
struct safe_module_enumerator {
using value_type = const detail::win::LDR_DATA_TABLE_ENTRY_T;
value_type* value;
value_type* const head;
LAZY_IMPORTER_FORCEINLINE safe_module_enumerator() noexcept
: value(ldr_data_entry()), head(value)
{}
LAZY_IMPORTER_FORCEINLINE void reset() noexcept { value = head; }
LAZY_IMPORTER_FORCEINLINE bool next() noexcept
{
value = value->load_order_next();
return value != head;
}
};
struct unsafe_module_enumerator {
using value_type = const detail::win::LDR_DATA_TABLE_ENTRY_T*;
value_type value;
LAZY_IMPORTER_FORCEINLINE unsafe_module_enumerator() noexcept
: value(ldr_data_entry())
{}
LAZY_IMPORTER_FORCEINLINE void reset() noexcept { value = ldr_data_entry(); }
LAZY_IMPORTER_FORCEINLINE bool next() noexcept
{
value = value->load_order_next();
return true;
}
};
// provides the cached functions which use Derive classes methods
template<class Derived, class DefaultType = void*>
class lazy_base {
protected:
// This function is needed because every templated function
// with different args has its own static buffer
LAZY_IMPORTER_FORCEINLINE static void*& _cache() noexcept
{
static void* value = nullptr;
return value;
}
public:
template<class T = DefaultType>
LAZY_IMPORTER_FORCEINLINE static T safe() noexcept
{
return Derived::template get<T, safe_module_enumerator>();
}
template<class T = DefaultType, class Enum = unsafe_module_enumerator>
LAZY_IMPORTER_FORCEINLINE static T cached() noexcept
{
auto& cached = _cache();
if (!cached)
cached = Derived::template get<void*, Enum>();
return (T)(cached);
}
template<class T = DefaultType>
LAZY_IMPORTER_FORCEINLINE static T safe_cached() noexcept
{
return cached<T, safe_module_enumerator>();
}
};
template<hash_t::value_type Hash>
struct lazy_module : lazy_base<lazy_module<Hash>> {
template<class T = void*, class Enum = unsafe_module_enumerator>
LAZY_IMPORTER_FORCEINLINE static T get() noexcept
{
Enum e;
do {
if (hash(e.value->BaseDllName) == Hash)
return (T)(e.value->DllBase);
} while (e.next());
return {};
}
};
template<hash_t::value_type Hash, class T>
struct lazy_function : lazy_base<lazy_function<Hash, T>, T> {
using base_type = lazy_base<lazy_function<Hash, T>, T>;
template<class... Args>
LAZY_IMPORTER_FORCEINLINE decltype(auto) operator()(Args&&... args) const
{
#ifndef LAZY_IMPORTER_CACHE_OPERATOR_PARENS
return get()(std::forward<Args>(args)...);
#else
return cached()(std::forward<Args>(args)...);
#endif
}
template<class F = T, class Enum = unsafe_module_enumerator>
LAZY_IMPORTER_FORCEINLINE static F get() noexcept
{
// for backwards compatability.
// Before 2.0 it was only possible to resolve forwarded exports when
// this macro was enabled
#ifdef LAZY_IMPORTER_RESOLVE_FORWARDED_EXPORTS
return forwarded<F, Enum>();
#else
Enum e;
do {
const exports_directory exports(e.value->DllBase);
if (exports) {
auto export_index = exports.size();
while (export_index--)
if (hash(exports.name(export_index)) == Hash)
return (F)(exports.address(export_index));
}
} while (e.next());
return {};
#endif
}
template<class F = T, class Enum = unsafe_module_enumerator>
LAZY_IMPORTER_FORCEINLINE static F forwarded() noexcept
{
detail::win::UNICODE_STRING_T name;
hash_t::value_type module_hash = 0;
auto function_hash = Hash;
Enum e;
do {
name = e.value->BaseDllName;
name.Length -= 8; // get rid of .dll extension
if (!module_hash || hash(name) == module_hash) {
const exports_directory exports(e.value->DllBase);
if (exports) {
auto export_index = exports.size();
while (export_index--)
if (hash(exports.name(export_index)) == function_hash) {
const auto addr = exports.address(export_index);
if (exports.is_forwarded(addr)) {
auto hashes = hash_forwarded(
reinterpret_cast<const char*>(addr));
function_hash = hashes.second;
module_hash = hashes.first;
e.reset();
break;
}
return (F)(addr);
}
}
}
} while (e.next());
return {};
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F forwarded_safe() noexcept
{
return forwarded<F, safe_module_enumerator>();
}
template<class F = T, class Enum = unsafe_module_enumerator>
LAZY_IMPORTER_FORCEINLINE static F forwarded_cached() noexcept
{
auto& value = base_type::_cache();
if (!value)
value = forwarded<void*, Enum>();
return (F)(value);
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F forwarded_safe_cached() noexcept
{
return forwarded_cached<F, safe_module_enumerator>();
}
template<class F = T, bool IsSafe = false, class Module>
LAZY_IMPORTER_FORCEINLINE static F in(Module m) noexcept
{
if (IsSafe && !m)
return {};
const exports_directory exports((const char*)(m));
if (IsSafe && !exports)
return {};
for (unsigned long i{};; ++i) {
if (IsSafe && i == exports.size())
break;
if (hash(exports.name(i)) == Hash)
return (F)(exports.address(i));
}
return {};
}
template<class F = T, class Module>
LAZY_IMPORTER_FORCEINLINE static F in_safe(Module m) noexcept
{
return in<F, true>(m);
}
template<class F = T, bool IsSafe = false, class Module>
LAZY_IMPORTER_FORCEINLINE static F in_cached(Module m) noexcept
{
auto& value = base_type::_cache();
if (!value)
value = in<void*, IsSafe>(m);
return (F)(value);
}
template<class F = T, class Module>
LAZY_IMPORTER_FORCEINLINE static F in_safe_cached(Module m) noexcept
{
return in_cached<F, true>(m);
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F nt() noexcept
{
return in<F>(ldr_data_entry()->load_order_next()->DllBase);
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F nt_safe() noexcept
{
return in_safe<F>(ldr_data_entry()->load_order_next()->DllBase);
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F nt_cached() noexcept
{
return in_cached<F>(ldr_data_entry()->load_order_next()->DllBase);
}
template<class F = T>
LAZY_IMPORTER_FORCEINLINE static F nt_safe_cached() noexcept
{
return in_safe_cached<F>(ldr_data_entry()->load_order_next()->DllBase);
}
};
}
} // namespace li::detail
#endif // include guard | [
"63737942+zirconiium@users.noreply.github.com"
] | 63737942+zirconiium@users.noreply.github.com |
15b8be05ac2d07b7c29c5a769dd0474defb1af29 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-codedeploy/source/model/ListDeploymentGroupsResult.cpp | 8894bb99ef927de580c2ce4570f4e8383b5d321a | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,958 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#include <aws/codedeploy/model/ListDeploymentGroupsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::CodeDeploy::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
using namespace Aws;
ListDeploymentGroupsResult::ListDeploymentGroupsResult()
{
}
ListDeploymentGroupsResult::ListDeploymentGroupsResult(const Aws::AmazonWebServiceResult<JsonValue>& result)
{
*this = result;
}
ListDeploymentGroupsResult& ListDeploymentGroupsResult::operator =(const Aws::AmazonWebServiceResult<JsonValue>& result)
{
const JsonValue& jsonValue = result.GetPayload();
if(jsonValue.ValueExists("applicationName"))
{
m_applicationName = jsonValue.GetString("applicationName");
}
if(jsonValue.ValueExists("deploymentGroups"))
{
Array<JsonValue> deploymentGroupsJsonList = jsonValue.GetArray("deploymentGroups");
for(unsigned deploymentGroupsIndex = 0; deploymentGroupsIndex < deploymentGroupsJsonList.GetLength(); ++deploymentGroupsIndex)
{
m_deploymentGroups.push_back(deploymentGroupsJsonList[deploymentGroupsIndex].AsString());
}
}
if(jsonValue.ValueExists("nextToken"))
{
m_nextToken = jsonValue.GetString("nextToken");
}
return *this;
}
| [
"henso@amazon.com"
] | henso@amazon.com |
db6826dc50924a0f1a1715266b110dedde822eb3 | cf5ab3d9fc28fce297591ff12d760e152547ecc1 | /metabuilder/examples/mobileapp/src/platform/ios/platform_ios.cpp | cfd231b9dd2c1f3c9740b0db123445440810d305 | [
"MIT"
] | permissive | kjmac123/metabuilder | 19a1275f9913c8fa28507d176cf0f52050df0b2f | 71cba48d03241d5e2f8b5c96ef9139693f9bd1ad | refs/heads/master | 2020-05-18T11:36:20.393044 | 2019-03-09T15:11:24 | 2019-03-09T15:11:24 | 17,400,788 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp |
#include "core.h"
#include "platform/platform.h"
#include <mach/mach_time.h>
namespace Platform
{
static F64 g_machTimeToNs;
static mach_timebase_info_data_t g_timebase;
void Init()
{
mach_timebase_info(&g_timebase);
g_machTimeToNs = ((F64)g_timebase.numer / (F64)g_timebase.denom);
}
void Shutdown()
{
}
void LogErrorNewLine(const char* str)
{
printf("%s\n", str);
}
void LogInfoNewLine(const char* str)
{
printf("%s\n", str);
}
void LogDebugNewLine(const char* str)
{
printf("%s\n", str);
}
F64 GetSystemTicksToSecondsScale()
{
return 1.0 / F64(MB_SECONDS_TO_NANOSECONDS) * g_machTimeToNs;
}
U64 GetSystemTicks()
{
return mach_absolute_time();
}
}
| [
"kjmac123@gmail.com"
] | kjmac123@gmail.com |
292d710a0ddac736a33163516f925cbe22dab9a5 | c7ea1b3b93a04a7ef9b1f2811f6abf3c4f59a01f | /PAT/A1106 Lowest Price in Supply Chain.cpp | 2e0a290f1c20a0f5976d706c5657457ecb5b458b | [] | no_license | TicoHsueh/PAT_Practice | f020a8c59dfbdf2576efe71dcb8ee020954ed598 | c440a832bec389fdd51183b7f935d49274029474 | refs/heads/master | 2020-07-12T22:36:05.530341 | 2020-03-25T15:22:38 | 2020-03-25T15:22:38 | 204,924,128 | 0 | 1 | null | 2020-03-25T15:22:39 | 2019-08-28T12:15:31 | C++ | UTF-8 | C++ | false | false | 858 | cpp | #include "bits/stdc++.h"
#define MAXN 100010
#define INF 100000000
using namespace std;
int n;
double p,r;
vector<int> Adj[MAXN];
int minLay = INF;
int numOfLay[MAXN];
void DFS(int index,int layer)
{
if(Adj[index].size()==0){
if(layer<minLay){
minLay = layer;
numOfLay[layer] = 1;
}else if(layer==minLay){
numOfLay[layer]++;
}
return ;
}
for(int i=0;i<Adj[index].size();i++){
DFS(Adj[index][i],layer+1);
}
}
int main()
{
cin>>n>>p>>r;
r /= 100;
for(int i=0;i<n;i++){
int num,e;
cin>>num;
for(int j=0;j<num;j++){
cin>>e;
Adj[i].push_back(e);
}
}
fill(numOfLay,numOfLay+n,0);
DFS(0,0);
cout<<minLay<<endl;
printf("%.4f %d\n",p*pow(1+r,minLay),numOfLay[minLay]);
return 0;
}
| [
"HsuehBo@outlook.com"
] | HsuehBo@outlook.com |
fdb80b0ba63efa6ef34f0e160a899dbbb67b1370 | 69aab86a56c78cdfb51ab19b8f6a71274fb69fba | /Code/inc/HUD/GameLabel.h | c02b1a30360757d07577132c67accdb068352cba | [
"BSD-3-Clause"
] | permissive | zc5872061/wonderland | 89882b6062b4a2d467553fc9d6da790f4df59a18 | b6e0153eaa65a53abdee2b97e1289a3252b966f1 | refs/heads/master | 2021-01-25T10:44:13.871783 | 2011-08-11T20:12:36 | 2011-08-11T20:12:36 | 38,088,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | /*
* GameLabel.h
*
* Created on: 2011-01-10
* Author: artur.m
*/
#ifndef GAMELABEL_H_
#define GAMELABEL_H_
#include "GameControl.h"
#include "GamePanel.h"
#include "MathHelper.h"
#include "GameBitmap.h"
#include "GameCommon.h"
#include <string>
#include <vector>
#include <memory>
class GamePanel;
class GameLabel : public GameControl
{
public:
virtual std::string getType() const { return "GameLabel"; }
static shared_ptr<GameLabel> spawn(const Rectangle& rect);
virtual ~GameLabel();
void setText(const std::string& text);
const std::string& getText() const;
void setTextVerticalAlignment(Common::VerticalAlignment align);
Common::VerticalAlignment getTextVerticalAlignment() const { return m_vAlign; }
void setTextHorizontalAlignment(Common::HorizontalAlignment align);
Common::HorizontalAlignment getTextHorizontalAlignment() const { return m_hAlign; }
void setTextAlignment(Common::HorizontalAlignment hAlign, Common::VerticalAlignment vAlign);
void setTextColor(unsigned char r, unsigned char g, unsigned char b);
Common::Color getTextColor() const { return m_color; }
int getTextSize() const { return m_fontSize; }
void setFontSize(int size);
private:
GameLabel(const Rectangle& bounds);
void initialize();
void cleanOldText();
// Creates the bitmap which holds the rendered by FreeType text
void createBitmap();
// Updates the color of the text in the rendered bitmap
void updateColor();
private:
static int s_instances;
std::string m_text;
std::string m_bitmapId;
Common::HorizontalAlignment m_hAlign;
Common::VerticalAlignment m_vAlign;
Common::Color m_color;
int m_fontSize;
};
#endif /* GAMELABEL_H_ */
| [
"Artur.S.Mazurek@gmail.com"
] | Artur.S.Mazurek@gmail.com |
16d61836d419b847c36f1bdb8fd58b55cce96002 | 339d9e00297cac7fba1d95dfe72a3f515a2d3995 | /offb_test/devel/include/mavros_msgs/VFR_HUD.h | 5db484e7fbab1bacead727c9fdba79571511997c | [] | no_license | pjw9195/drone-offb_test | 5c88f2647d9b436c86cceb5737169638c7833e84 | ff6f908ebf34e9587fbda7bd40442400b45e7290 | refs/heads/master | 2020-04-03T21:53:13.696528 | 2019-07-19T04:38:57 | 2019-07-19T04:38:57 | 155,585,681 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | h | // Generated by gencpp from file mavros_msgs/VFR_HUD.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_VFR_HUD_H
#define MAVROS_MSGS_MESSAGE_VFR_HUD_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/Header.h>
namespace mavros_msgs
{
template <class ContainerAllocator>
struct VFR_HUD_
{
typedef VFR_HUD_<ContainerAllocator> Type;
VFR_HUD_()
: header()
, airspeed(0.0)
, groundspeed(0.0)
, heading(0)
, throttle(0.0)
, altitude(0.0)
, climb(0.0) {
}
VFR_HUD_(const ContainerAllocator& _alloc)
: header(_alloc)
, airspeed(0.0)
, groundspeed(0.0)
, heading(0)
, throttle(0.0)
, altitude(0.0)
, climb(0.0) {
(void)_alloc;
}
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header;
typedef float _airspeed_type;
_airspeed_type airspeed;
typedef float _groundspeed_type;
_groundspeed_type groundspeed;
typedef int16_t _heading_type;
_heading_type heading;
typedef float _throttle_type;
_throttle_type throttle;
typedef float _altitude_type;
_altitude_type altitude;
typedef float _climb_type;
_climb_type climb;
typedef boost::shared_ptr< ::mavros_msgs::VFR_HUD_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::mavros_msgs::VFR_HUD_<ContainerAllocator> const> ConstPtr;
}; // struct VFR_HUD_
typedef ::mavros_msgs::VFR_HUD_<std::allocator<void> > VFR_HUD;
typedef boost::shared_ptr< ::mavros_msgs::VFR_HUD > VFR_HUDPtr;
typedef boost::shared_ptr< ::mavros_msgs::VFR_HUD const> VFR_HUDConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::mavros_msgs::VFR_HUD_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace mavros_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
// {'geographic_msgs': ['/opt/ros/kinetic/share/geographic_msgs/cmake/../msg'], 'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'mavros_msgs': ['/home/jinwoo/offboard_test/src/mavros/mavros_msgs/msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'uuid_msgs': ['/opt/ros/kinetic/share/uuid_msgs/cmake/../msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::mavros_msgs::VFR_HUD_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::mavros_msgs::VFR_HUD_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::mavros_msgs::VFR_HUD_<ContainerAllocator> const>
: TrueType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
{
static const char* value()
{
return "1f55e210c3d39fe105d44d8dc963655f";
}
static const char* value(const ::mavros_msgs::VFR_HUD_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x1f55e210c3d39fe1ULL;
static const uint64_t static_value2 = 0x05d44d8dc963655fULL;
};
template<class ContainerAllocator>
struct DataType< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
{
static const char* value()
{
return "mavros_msgs/VFR_HUD";
}
static const char* value(const ::mavros_msgs::VFR_HUD_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
{
static const char* value()
{
return "# Metrics typically displayed on a HUD for fixed wing aircraft\n\
#\n\
# VFR_HUD message\n\
\n\
std_msgs/Header header\n\
float32 airspeed # m/s\n\
float32 groundspeed # m/s\n\
int16 heading # degrees 0..360\n\
float32 throttle # normalized to 0.0..1.0\n\
float32 altitude # MSL\n\
float32 climb # current climb rate m/s\n\
\n\
================================================================================\n\
MSG: std_msgs/Header\n\
# Standard metadata for higher-level stamped data types.\n\
# This is generally used to communicate timestamped data \n\
# in a particular coordinate frame.\n\
# \n\
# sequence ID: consecutively increasing ID \n\
uint32 seq\n\
#Two-integer timestamp that is expressed as:\n\
# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
# time-handling sugar is provided by the client library\n\
time stamp\n\
#Frame this data is associated with\n\
# 0: no frame\n\
# 1: global frame\n\
string frame_id\n\
";
}
static const char* value(const ::mavros_msgs::VFR_HUD_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.header);
stream.next(m.airspeed);
stream.next(m.groundspeed);
stream.next(m.heading);
stream.next(m.throttle);
stream.next(m.altitude);
stream.next(m.climb);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct VFR_HUD_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::mavros_msgs::VFR_HUD_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::mavros_msgs::VFR_HUD_<ContainerAllocator>& v)
{
s << indent << "header: ";
s << std::endl;
Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
s << indent << "airspeed: ";
Printer<float>::stream(s, indent + " ", v.airspeed);
s << indent << "groundspeed: ";
Printer<float>::stream(s, indent + " ", v.groundspeed);
s << indent << "heading: ";
Printer<int16_t>::stream(s, indent + " ", v.heading);
s << indent << "throttle: ";
Printer<float>::stream(s, indent + " ", v.throttle);
s << indent << "altitude: ";
Printer<float>::stream(s, indent + " ", v.altitude);
s << indent << "climb: ";
Printer<float>::stream(s, indent + " ", v.climb);
}
};
} // namespace message_operations
} // namespace ros
#endif // MAVROS_MSGS_MESSAGE_VFR_HUD_H
| [
"pjw9195@naver.com"
] | pjw9195@naver.com |
743018a5696a2a6493f70062f07555b08d24c7b9 | 74343c6485338177dd236d79f54720f51e03b07e | /Lista 1.1/Ex.15/Calculos.cpp | ff71aadbd00e588740e3b63e418427bf1400ea6d | [] | no_license | ElFaga/C-2020 | 41fe5e64a16f093d613270a15aefe359c1239192 | 7ab427e05cbc222a9bf975c43dfcc6804fa63d75 | refs/heads/master | 2022-12-06T01:19:13.202982 | 2020-08-25T18:49:14 | 2020-08-25T18:49:14 | 264,358,108 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include <string.h>
#include <iostream>
int main (){
double a, b, c, r, s, som1, som2, d;
printf("Digite o valor de A: ");
scanf("%lf", &a);
if (a <= 0){
printf("\n");
printf("Valor invalido!");
printf("\n");
return 0;
}
printf("\n");
printf("Digite o valor de B: ");
scanf("%lf", &b);
if (b <= 0){
printf("\n");
printf("Valor invalido!");
printf("\n");
return 0;
}
printf("\n");
printf("Digite o valor de C: ");
scanf("%lf", &c);
if (c <= 0){
printf("\n");
printf("Valor invalido!");
printf("\n");
return 0;
}
som1 = a + b;
som2 = b + c;
r = pow (som1, 2);
s = pow (som2, 2);
printf("R eh igual a: %lf", r);
printf("\n");
printf("S eh igual a: %lf", s);
d = (r + s) / 2;
printf("\n");
printf("D eh igual a: %lf", d);
return 0;
}
| [
"noreply@github.com"
] | ElFaga.noreply@github.com |
ea9333a46a3f9bd34be03f23ba1a40fb26f4f0d7 | 75aab49ae1002249ff1b79276fa910498fd72bc6 | /合并石子.cpp | 1a4a385d58e74231c90b80cb18d21bb406a22d7f | [] | no_license | huang7262/lqb | 8f3347795b7d0208ab2d02c276a9e11e618133e6 | 562d23973f5cf8ec59c2f101fb43f7579f5a3e01 | refs/heads/master | 2020-03-21T09:35:20.174504 | 2017-10-28T09:55:10 | 2017-10-28T09:55:10 | 138,407,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | /*问题描述
* 在一条直线上有n堆石子,每堆有一定的数量,每次可以将两堆相邻的石子合并,合并后放在两堆的中间位置,合并的费用为两堆石子的总数。求把所有石子合并成一堆的最小花费。
* 输入格式
* 输入第一行包含一个整数n,表示石子的堆数。
* 接下来一行,包含n个整数,按顺序给出每堆石子的大小 。
* 输出格式
* 输出一个整数,表示合并的最小花费。
* 样例输入
* 5
* 1 2 3 4 5
* 样例输出
* 33
* 数据规模和约定
* 1<=n<=1000, 每堆石子至少1颗,最多10000颗。*/
#include <iostream>
using namespace std;
const int MAXN = 1000;
int main()
{
int n;
int dp[MAXN][MAXN] = {0};
cin >> n;
for(int i = 0; i != n; i++){
cin >> dp[i][i];
}
for(int i = 0; i+1 != n; i++){
for(int j = i+1; j != n; j++)
dp[i][j] = dp[i][j-1] + dp[j][j];
}
for(int j = 2; j != n; j++){
for(int i = 0; i+j != n; i++){
int minAns;
if(dp[i][i+j-1] <= dp[i+1][i+j])
minAns = dp[i][i+j-1];
else
minAns = dp[i+1][i+j];
for(int m = i+2; m < i+j; m++){
if(dp[i][m-1] + dp[m][i+j] < minAns){
minAns = dp[i][m-1] + dp[m][i+j];
}
}
dp[i][i+j] += minAns;
}
}
cout << dp[0][n-1] << endl;
return 0;
}
| [
"wy5251702@qq.com"
] | wy5251702@qq.com |
d036b140ccc658fae9970c3276c377b9b10b7692 | 40712dc426dfb114dfabe5913b0bfa08ab618961 | /Extras/wxWidgets-2.9.0/src/gtk/mdi.cpp | a37cb4035d1bf9482e35119bef8fbaf6a82faf0f | [] | no_license | erwincoumans/dynamica | 7dc8e06966ca1ced3fc56bd3b655a40c38dae8fa | 8b5eb35467de0495f43ed929d82617c21d2abecb | refs/heads/master | 2021-01-17T05:53:34.958159 | 2015-02-10T18:34:11 | 2015-02-10T18:34:11 | 31,622,543 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,204 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/gtk/mdi.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id: mdi.cpp 59523 2009-03-14 01:24:45Z FM $
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if wxUSE_MDI
#include "wx/mdi.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/menu.h"
#endif
#include "wx/gtk/private.h"
//-----------------------------------------------------------------------------
// "switch_page"
//-----------------------------------------------------------------------------
extern "C" {
static void
gtk_mdi_page_change_callback( GtkNotebook *WXUNUSED(widget),
GtkNotebookPage *page,
gint WXUNUSED(page_num),
wxMDIParentFrame *parent )
{
// send deactivate event to old child
wxMDIChildFrame *child = parent->GetActiveChild();
if (child)
{
wxActivateEvent event1( wxEVT_ACTIVATE, false, child->GetId() );
event1.SetEventObject( child);
child->HandleWindowEvent( event1 );
}
// send activate event to new child
wxMDIClientWindowBase *client_window = parent->GetClientWindow();
if ( !client_window )
return;
child = NULL;
wxWindowList::compatibility_iterator node = client_window->GetChildren().GetFirst();
while ( node )
{
wxMDIChildFrame *child_frame = wxDynamicCast( node->GetData(), wxMDIChildFrame );
// child_frame can be NULL when this is called from dtor, probably
// because g_signal_connect (m_widget, "switch_page", (see below)
// isn't deleted early enough
if ( child_frame && child_frame->m_page == page )
{
child = child_frame;
break;
}
node = node->GetNext();
}
if (!child)
return;
wxActivateEvent event2( wxEVT_ACTIVATE, true, child->GetId() );
event2.SetEventObject( child);
child->HandleWindowEvent( event2 );
}
}
//-----------------------------------------------------------------------------
// wxMDIParentFrame
//-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame,wxFrame)
void wxMDIParentFrame::Init()
{
m_justInserted = false;
}
bool wxMDIParentFrame::Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString& name )
{
if ( !wxFrame::Create( parent, id, title, pos, size, style, name ) )
return false;
m_clientWindow = OnCreateClient();
if ( !m_clientWindow->CreateClient(this, GetWindowStyleFlag()) )
return false;
return true;
}
void wxMDIParentFrame::OnInternalIdle()
{
/* if a MDI child window has just been inserted
it has to be brought to the top in idle time. we
simply set the last notebook page active as new
pages can only be appended at the end */
if (m_justInserted)
{
GtkNotebook *notebook = GTK_NOTEBOOK(m_clientWindow->m_widget);
gtk_notebook_set_current_page( notebook, g_list_length( notebook->children ) - 1 );
/* need to set the menubar of the child */
wxMDIChildFrame *active_child_frame = GetActiveChild();
if (active_child_frame != NULL)
{
wxMenuBar *menu_bar = active_child_frame->m_menuBar;
if (menu_bar)
{
menu_bar->SetInvokingWindow(active_child_frame);
}
}
m_justInserted = false;
return;
}
wxFrame::OnInternalIdle();
wxMDIChildFrame *active_child_frame = GetActiveChild();
bool visible_child_menu = false;
wxWindowList::compatibility_iterator node = m_clientWindow->GetChildren().GetFirst();
while (node)
{
wxMDIChildFrame *child_frame = wxDynamicCast( node->GetData(), wxMDIChildFrame );
if ( child_frame )
{
wxMenuBar *menu_bar = child_frame->m_menuBar;
if ( menu_bar )
{
if (child_frame == active_child_frame)
{
if (menu_bar->Show(true))
{
menu_bar->SetInvokingWindow( child_frame );
}
visible_child_menu = true;
}
else
{
if (menu_bar->Show(false))
{
menu_bar->UnsetInvokingWindow( child_frame );
}
}
}
}
node = node->GetNext();
}
/* show/hide parent menu bar as required */
if ((m_frameMenuBar) &&
(m_frameMenuBar->IsShown() == visible_child_menu))
{
if (visible_child_menu)
{
m_frameMenuBar->Show( false );
m_frameMenuBar->UnsetInvokingWindow( this );
}
else
{
m_frameMenuBar->Show( true );
m_frameMenuBar->SetInvokingWindow( this );
}
}
}
void wxMDIParentFrame::DoGetClientSize(int* width, int* height) const
{
wxFrame::DoGetClientSize(width, height);
if (height)
{
wxMDIChildFrame* active_child_frame = GetActiveChild();
if (active_child_frame)
{
wxMenuBar* menubar = active_child_frame->m_menuBar;
if (menubar && menubar->IsShown())
{
GtkRequisition req;
gtk_widget_size_request(menubar->m_widget, &req);
*height -= req.height;
if (*height < 0) *height = 0;
}
}
}
}
wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const
{
if (!m_clientWindow) return NULL;
GtkNotebook *notebook = GTK_NOTEBOOK(m_clientWindow->m_widget);
if (!notebook) return NULL;
gint i = gtk_notebook_get_current_page( notebook );
if (i < 0) return NULL;
GtkNotebookPage* page = (GtkNotebookPage*) (g_list_nth(notebook->children,i)->data);
if (!page) return NULL;
wxWindowList::compatibility_iterator node = m_clientWindow->GetChildren().GetFirst();
while (node)
{
if ( wxPendingDelete.Member(node->GetData()) )
return NULL;
wxMDIChildFrame *child_frame = wxDynamicCast( node->GetData(), wxMDIChildFrame );
if (!child_frame)
return NULL;
if (child_frame->m_page == page)
return child_frame;
node = node->GetNext();
}
return NULL;
}
void wxMDIParentFrame::ActivateNext()
{
if (m_clientWindow)
gtk_notebook_next_page( GTK_NOTEBOOK(m_clientWindow->m_widget) );
}
void wxMDIParentFrame::ActivatePrevious()
{
if (m_clientWindow)
gtk_notebook_prev_page( GTK_NOTEBOOK(m_clientWindow->m_widget) );
}
//-----------------------------------------------------------------------------
// wxMDIChildFrame
//-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame,wxFrame)
BEGIN_EVENT_TABLE(wxMDIChildFrame, wxFrame)
EVT_ACTIVATE(wxMDIChildFrame::OnActivate)
EVT_MENU_HIGHLIGHT_ALL(wxMDIChildFrame::OnMenuHighlight)
END_EVENT_TABLE()
void wxMDIChildFrame::Init()
{
m_menuBar = NULL;
m_page = NULL;
}
bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
wxWindowID id,
const wxString& title,
const wxPoint& WXUNUSED(pos),
const wxSize& size,
long style,
const wxString& name)
{
m_mdiParent = parent;
m_title = title;
return wxWindow::Create(parent->GetClientWindow(), id,
wxDefaultPosition, size,
style, name);
}
wxMDIChildFrame::~wxMDIChildFrame()
{
delete m_menuBar;
// wxMDIClientWindow does not get redrawn properly after last child is removed
if (m_parent && m_parent->GetChildren().size() <= 1)
gtk_widget_queue_draw(m_parent->m_widget);
}
void wxMDIChildFrame::SetMenuBar( wxMenuBar *menu_bar )
{
wxASSERT_MSG( m_menuBar == NULL, "Only one menubar allowed" );
m_menuBar = menu_bar;
if (m_menuBar)
{
wxMDIParentFrame *mdi_frame = (wxMDIParentFrame*)m_parent->GetParent();
m_menuBar->SetParent( mdi_frame );
/* insert the invisible menu bar into the _parent_ mdi frame */
m_menuBar->Show(false);
gtk_box_pack_start(GTK_BOX(mdi_frame->m_mainWidget), m_menuBar->m_widget, false, false, 0);
gtk_box_reorder_child(GTK_BOX(mdi_frame->m_mainWidget), m_menuBar->m_widget, 0);
gulong handler_id = g_signal_handler_find(
m_menuBar->m_widget,
GSignalMatchType(G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DATA),
g_signal_lookup("size_request", GTK_TYPE_WIDGET),
0, NULL, NULL, m_menuBar);
if (handler_id != 0)
g_signal_handler_disconnect(m_menuBar->m_widget, handler_id);
gtk_widget_set_size_request(m_menuBar->m_widget, -1, -1);
}
}
wxMenuBar *wxMDIChildFrame::GetMenuBar() const
{
return m_menuBar;
}
GtkNotebook *wxMDIChildFrame::GTKGetNotebook() const
{
wxMDIClientWindow * const
client = wxStaticCast(GetParent(), wxMDIClientWindow);
wxCHECK( client, NULL );
return GTK_NOTEBOOK(client->m_widget);
}
void wxMDIChildFrame::Activate()
{
GtkNotebook * const notebook = GTKGetNotebook();
wxCHECK_RET( notebook, "no parent notebook?" );
gint pageno = gtk_notebook_page_num( notebook, m_widget );
gtk_notebook_set_current_page( notebook, pageno );
}
void wxMDIChildFrame::OnActivate( wxActivateEvent& WXUNUSED(event) )
{
}
void wxMDIChildFrame::OnMenuHighlight( wxMenuEvent& event )
{
#if wxUSE_STATUSBAR
wxMDIParentFrame *mdi_frame = (wxMDIParentFrame*)m_parent->GetParent();
if ( !ShowMenuHelp(event.GetMenuId()) )
{
// we don't have any help text for this item, but may be the MDI frame
// does?
mdi_frame->OnMenuHighlight(event);
}
#endif // wxUSE_STATUSBAR
}
void wxMDIChildFrame::SetTitle( const wxString &title )
{
if ( title == m_title )
return;
m_title = title;
GtkNotebook * const notebook = GTKGetNotebook();
wxCHECK_RET( notebook, "no parent notebook?" );
gtk_notebook_set_tab_label_text(notebook, m_widget, wxGTK_CONV( title ) );
}
//-----------------------------------------------------------------------------
// wxMDIClientWindow
//-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxWindow)
wxMDIClientWindow::~wxMDIClientWindow()
{
// disconnect our handler because our ~wxWindow (which is going to be called
// after this dtor) will call DestroyChildren(); in turns our children
// ~wxWindow dtors will call wxWindow::Show(false) and this will generate
// a call to gtk_mdi_page_change_callback with an invalid parent
// (because gtk_mdi_page_change_callback expects a wxMDIClientWindow but
// at that point of the dtor chain we are a simple wxWindow!)
g_signal_handlers_disconnect_by_func(m_widget,
(gpointer)gtk_mdi_page_change_callback,
GetParent());
}
bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style)
{
if ( !PreCreation( parent, wxDefaultPosition, wxDefaultSize ) ||
!CreateBase( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize,
style, wxDefaultValidator, "wxMDIClientWindow" ))
{
wxFAIL_MSG( "wxMDIClientWindow creation failed" );
return false;
}
m_widget = gtk_notebook_new();
g_object_ref(m_widget);
g_signal_connect (m_widget, "switch_page",
G_CALLBACK (gtk_mdi_page_change_callback), parent);
gtk_notebook_set_scrollable( GTK_NOTEBOOK(m_widget), 1 );
m_parent->DoAddChild( this );
PostCreation();
Show( true );
return true;
}
void wxMDIClientWindow::AddChildGTK(wxWindowGTK* child)
{
wxMDIChildFrame* child_frame = static_cast<wxMDIChildFrame*>(child);
wxString s = child_frame->GetTitle();
if ( s.empty() )
s = _("MDI child");
GtkWidget *label_widget = gtk_label_new( s.mbc_str() );
gtk_misc_set_alignment( GTK_MISC(label_widget), 0.0, 0.5 );
GtkNotebook* notebook = GTK_NOTEBOOK(m_widget);
gtk_notebook_append_page( notebook, child->m_widget, label_widget );
child_frame->m_page = (GtkNotebookPage*) (g_list_last(notebook->children)->data);
wxMDIParentFrame* parent_frame = static_cast<wxMDIParentFrame*>(GetParent());
parent_frame->m_justInserted = true;
}
#endif // wxUSE_MDI
| [
"erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499"
] | erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499 |
400e31bd920cd9cec0fc18df0cef7e6a163850f5 | 7d6d77717a23f0b03544b0a93114cd2355e12463 | /picnic_in_the_trees_p1_alex_larkworthy.ino | 9e0419810bc3348c541d4dab6f7e1edef9eb89e2 | [] | no_license | alexlarkwo/PhysicalComputingP1 | d68a7f2e0e0589814aa9e042b15ce18f451d705e | 0ce9bfc730f6dcd22f5e30652ffacbcf20926416 | refs/heads/master | 2020-07-05T13:20:23.536429 | 2019-08-16T04:31:21 | 2019-08-16T04:31:21 | 202,658,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | ino | int angle = 0;
int delaytime = 10;
int soundSensor = A2;
int lightVal;
int soundVal;
int lightSensor = A3;
int lightLevel;
unsigned long currentTime = 0;
boolean jitter = false;
#include <Servo.h>
Servo myservo1;
Servo myservo2;
void setup() {
myservo1.attach(7);
myservo2.attach(8);
Serial.begin (9600);
pinMode(soundSensor, INPUT);
pinMode(lightSensor, INPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
}
void loop() {
soundVal = analogRead(soundSensor);
Serial.println (soundVal);
Serial.println (jitter);
if (!jitter && soundVal > 40) {
jitter = true;
currentTime = millis();
}
//
if (millis() >= currentTime + 2500 && jitter) {
delay(500);
jitter = false;
Serial.println("NO JITTER");
delay(500);
}
if (jitter) {
myservo1.write(10);
delay(1000);
myservo1.write(95);
delay(1000);
}
//light sensor code
lightVal = analogRead(lightSensor);
Serial.println(lightVal);
if (lightVal > 30){
myservo2.write(10);
delay(1000);
myservo2.write(95);
delay(1000);
}
}
| [
"noreply@github.com"
] | alexlarkwo.noreply@github.com |
258ed4d0c87f82596d00ff95288293294495be8f | 4ead26a90177ec360d2c92e3b9a513fa94eb268a | /src/instrument_reader.cpp | 40f44dcab89a685104b47870ec6918038dd3a8be | [
"MIT"
] | permissive | jose-navarro/astrolabe | f509fbec917b5ec94b48e9d383c46dd0d4f2d395 | 95482bf4ecd7c22e0bcef18aeae0d8b828b3327c | refs/heads/master | 2020-04-07T12:43:41.193990 | 2019-12-09T12:54:35 | 2019-12-09T12:54:35 | 156,842,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,623 | cpp | /** \file instrument_reader.cpp
\brief Implementation file for instrument_reader.hpp.
\ingroup ASTROLABE_data_IO
*/
#include "instrument_reader.hpp"
int
instrument_reader::
close
(void)
{
{
int status;
status = 0;
// If we were already closed, we'll simply ignore the request.
if (!data_channel_is_open_) return status;
if (data_channel_is_socket_)
{
if (socket_reader_ != NULL)
{
status = socket_reader_->close();
delete socket_reader_;
socket_reader_ = NULL;
}
}
else
{
if (file_reader_ != NULL)
{
status = file_reader_->close();
delete file_reader_;
file_reader_ = NULL;
}
}
data_channel_is_open_ = false;
return status;
}
}
bool
instrument_reader::
data_channel_is_file
(void)
{
{
return !data_channel_is_socket_;
}
}
bool
instrument_reader::
data_channel_is_socket
(void)
{
{
return data_channel_is_socket_;
}
}
instrument_reader::
instrument_reader
(void)
{
{
data_channel_is_open_ = false;
data_channel_is_set_ = false;
data_channel_is_socket_ = false;
file_reader_ = NULL;
is_eof_ = false;
is_header_filename_set_ = false;
is_metadata_read_ = false;
is_schema_filename_set_ = false;
header_file_ = "";
schema_file_ = "";
socket_reader_ = NULL;
socket_works_in_server_mode_ = true;
}
}
instrument_reader::
~instrument_reader
(void)
{
{
// Close the reader if still open.
if (data_channel_is_open_) close();
}
}
int
instrument_reader::
get_metadata
(int& total_metadata_warnings,
int& total_metadata_errors)
{
{
int data_channel_format; // Format of the data (file, socket...) to read.
vector<string> error_description; // To build full error messages.
gp_utils gp; // Utilitary class. Used to format error messages
// in our case.
int retcode; // Return code.
string error_message; // A full error message.
string error_tag; // Tag in the input header file where an error has
// been found.
// Don't try to retrieve metadata if it's already been retrieved or
// we've already opened (open()) the underlying data channel.
if ((is_metadata_read_) | (data_channel_is_open_)) return 1;
//
// We need at least the name of the astrolabe header file. If
// not set, we must report an error.
//
if (!is_header_filename_set_) return 2;
// It looks like everything is correct. Set the total number of issues to 0.
total_metadata_warnings = 0;
total_metadata_errors = 0;
//
// We have to parse the file containing the astrolabe header with
// the description of the data channel (socket, file...).
//
// We'll may use the parser in two different ways; this depends on having
// or not a schema file.
//
if (is_schema_filename_set_)
{
// We've got an schema to check the input file.
header_parser_.set_parser_parameters(header_file_, schema_file_, &header_data_);
}
else
{
// No schema available. We'll work in "unsafe" mode.
header_parser_.set_parser_parameters_developer(header_file_, &header_data_);
}
// We are ready to parse...
header_parser_.parse();
//
// Check if warnings of errors have been detected and set the return
// code accordingly.
//
total_metadata_warnings = header_parser_.warnings_dim();
total_metadata_errors = header_parser_.errors_dim();
retcode = 0;
if ((total_metadata_warnings != 0) | (total_metadata_errors != 0)) retcode = 3;
//
// We indicate that the metadata has been retrieved, no matter the what
// the return code is. This is to avoid repeated calls to this method.
//
is_metadata_read_ = true;
//
// Load some metadata from our own purposes. Only if we could
// read it correctly!
//
if (total_metadata_errors == 0)
{
data_channel_format = header_data_.get_device_format();
data_channel_is_socket_ = (data_channel_format == gp_astrolabe_header_file_data::GP_ASTROLABE_HEADER_FORMAT_IS_SOCKET);
}
// That's all.
return retcode;
}
}
int
instrument_reader::
get_metadata_errors
(list<string>& list_of_errors)
{
{
int i;
string message;
int total_items;
list_of_errors.clear();
total_items = header_parser_.errors_dim();
for (i = 0; i < total_items; i++)
{
message = header_parser_.errors_get(i);
list_of_errors.push_back(message);
}
return total_items;
}
}
int
instrument_reader::
get_metadata_warnings
(list<string>& list_of_warnings)
{
{
int i;
string message;
int total_items;
list_of_warnings.clear();
total_items = header_parser_.warnings_dim();
for (i = 0; i < total_items; i++)
{
message = header_parser_.warnings_get(i);
list_of_warnings.push_back(message);}
return total_items;
}
}
bool
instrument_reader::
is_eof
(void)
const
{
{
return is_eof_;
}
}
bool
instrument_reader::
is_open
(void)
const
{
{
return data_channel_is_open_;
}
}
int
instrument_reader::
open
(void)
{
{
string data_channel_filename;
string chunk_filename;
const char* host;
int port;
int status;
// If the data channel is already open, report an error.
if (data_channel_is_open_) return 1;
//
// Now, check what kind of underlying data channel we are
// going to deal with.
//
if (data_channel_is_socket_)
{
// Working with sockets.
// Get the host, if any.
host = NULL;
if (header_data_.is_set_device_server()) host = (header_data_.get_device_server()).c_str();
// We must retrieve the port used to connect.
port = header_data_.get_device_port();
// Check that server or client mode plus host and port make the right combination.
if (!socket_works_in_server_mode_)
{
// We want the socket reader work as a client, that is, starting
// itself the connection. Therefore, we need not only a port number
// but also a host name or IP addresss...
if (host == NULL) return 2;
}
// Create the socket reader.
try
{
socket_reader_ = new instrument_socket_reader();
}
catch (...)
{
// Unable to open.
return 2;
}
// Open the socket connection.
status = socket_reader_->open(host, port, socket_works_in_server_mode_);
if (status != 0) return status;
// We've opened the underlying data channel!!!
data_channel_is_open_ = true;
}
else
{
//
// Retrieve the name of the "general" external file that will keep (in fact,
// possibly split into chunks) the actual data.
//
data_channel_filename = header_data_.get_device_file_name();
//
// Set up the segmented_file_utils object that will take care of generating
// the names of the chunk files making the "general" underlying data file.
//
chunk_names_generator_.set_mode_read(data_channel_filename, false);
//
// Get the name of the first chunk making the general file.
// Note that if the next call fails, it will mean that the
// actual chunk files are not located in the same folder
// than the astrolabe header file or that these chunks
// do not exist or that are named incorrectly.
//
status = chunk_names_generator_.get_next_filename(chunk_filename);
if (status != 0) return 2; // Unable to open data channel.
//
// Instantiate the file reader.
//
file_reader_ = new instrument_file_reader_txt_forward();
//
// We may now try to open the actual underlying file using
// the reader (whatever it is) just created. This should never
// fail, since our chunk filenames generator already has checked
// that these chunks do exist. However, we'll check...
//
status = file_reader_->open(chunk_filename.c_str());
if (status != 0) return status;
// We've opened the underlying data channel!!!
data_channel_is_open_ = true;
}
// That's all!
return 0;
}
}
int
instrument_reader::
read_active_flag
(bool& active)
{
{
int status;
if (data_channel_is_socket_)
{
// Sockets.
status = socket_reader_->read_active_flag(active);
}
else
{
// Files.
status = file_reader_->read_active_flag(active);
}
return status;
}
}
int
instrument_reader::
read_identifier
(char*& identifier,
int id_len)
{
{
if (data_channel_is_socket_)
{
// Sockets
return socket_reader_->read_identifier(identifier, id_len);
}
else
{
// Files.
return file_reader_->read_identifier(identifier, id_len);
}
}
}
int
instrument_reader::
read_l_data
(int n_tag_values,
double*& the_tags,
int n_expectation_values,
double*& the_expectations,
int& n_covariance_values_found,
double*& the_covariance_values)
{
{
if (data_channel_is_socket_)
{
// Sockets.
return socket_reader_->read_l_data(n_tag_values, the_tags,
n_expectation_values, the_expectations,
n_covariance_values_found, the_covariance_values);
}
else
{
// Files.
return file_reader_->read_l_data(n_tag_values, the_tags,
n_expectation_values, the_expectations,
n_covariance_values_found, the_covariance_values);
}
}
}
int
instrument_reader::
read_instance_id
(int& instance_identifier)
{
{
if (data_channel_is_socket_)
{
// Sockets.
return socket_reader_->read_instance_id(instance_identifier);
}
else
{
// Files
return file_reader_->read_instance_id(instance_identifier);
}
}
}
int
instrument_reader::
read_time
(double& time)
{
{
int status;
if (data_channel_is_socket_)
{
// Sockets.
status = socket_reader_->read_time(time);
}
else
{
// Files.
status = file_reader_->read_time(time);
}
// Check how things went.
if (status != 0) return status;
// That's all.
return 0;
}
}
int
instrument_reader::
read_type
(char& record_type)
{
{
string chunk_filename;
int status;
if (data_channel_is_socket_)
{
// Sockets.
status = socket_reader_->read_type(record_type);
if (status == 1) is_eof_ = true;
return status;
}
else
{
// Files.
//
// Use the file generic file reader's read_type method to actually
// read the type.
//
status = file_reader_->read_type(record_type);
//
// Note that the following test is inside a while loop; this strange
// way of testing tries to cover the situation where a series of chunk
// files are empty, so opening the next chunk will raise again
// an end of file condition.
//
// The look is broken either when a chunk is opened and its first type
// value read correctly or when NO more chunks are available.
//
while (status == 1)
{
//
// This is an end-of-file condition. Since we're working with split
// files (chunks) we must try to open the next one instead of returning
// directly this flag. Only when no more files are available we'll
// return and "end-of-file" code.
//
//
// First, close the current reader. This could return an error code,
// that we'll rewrite as "error closing / opening current / next chunk".
//
status = file_reader_->close();
delete file_reader_;
file_reader_ = NULL;
if (status != 0) return 7;
//
// Generate the name for the next chunk.
//
// If we've got an error here, it means that there are no more files
// to read, so we'll return the end-of-file condition.
//
status = chunk_names_generator_.get_next_filename(chunk_filename);
if (status != 0)
{
is_eof_ = true;
return 1; // End of file (no more chunks are available).
}
//
// Instantiate the file reader.
//
file_reader_ = new instrument_file_reader_txt_forward();
//
// Open the new chunk. If this fails, we'll return an
// "error closing / opening current / next chunk".
//
status = file_reader_->open(chunk_filename.c_str());
if (status != 0) return 7;
//
// Now we must read the type from the new chunk!
//
status = file_reader_->read_type(record_type);
}
//
// At this point we may have a correct type read or an error code that
// will never be an end-of-file condition. Whatever it is, we may
// safely return.
//
// If the type was correctly read, the status will be 0; if we've had
// a problem, it will not be an end of file, but some other kind of
// problem that we must report.
//
return status;
}
}
}
int
instrument_reader::
set_data_channel
(bool socket_works_in_server_mode)
{
{
if ((data_channel_is_set_) | (data_channel_is_open_))
{
// It is not possible to set the filename once it's been opened.
return 1;
}
// Copy the socket server mode flag.
socket_works_in_server_mode_ = socket_works_in_server_mode;
data_channel_is_set_ = true;
// That's all.
return 0;
}
}
int
instrument_reader::
set_header_file
(const char* header_file_name)
{
{
int status;
int total_errors;
int total_warnings;
if (header_file_name == NULL)
{
// We need a filename.
return 1;
}
if ((is_header_filename_set_) | (data_channel_is_open_))
{
// It is not possible to set the filename once it's been opened.
return 2;
}
// Copy the input file name and set control flags.
header_file_ = header_file_name;
is_header_filename_set_ = true;
// Let's load the metadata!!!
status = get_metadata(total_warnings, total_errors);
//
// If errors or warnings have been detected, report the issue. The
// caller module may retrieve the amount and list of warnings or
// errors using get_metadata_warnings() and get_metadata_errors()
// respectively.
//
if (status != 0) return 3;
// That's all.
return 0;
}
}
int
instrument_reader::
set_schema_file
(const char* schema_file_name)
{
{
if (schema_file_name == NULL)
{
// We need a filename.
return 1;
}
if (is_header_filename_set_)
{
//
// It is not possible to set the name of the XML schema if the
// name of the astrolabe header file has already been set.
//
return 2;
}
// Copy the input file name and set control flags.
schema_file_ = schema_file_name;
is_schema_filename_set_ = true;
return 0;
}
}
| [
"jose.navarro@cttc.es"
] | jose.navarro@cttc.es |
17743b5d7726cd72043489de9e37cf55b8d8cdb2 | d5208f8f6e5970b207b5c3cbcfcaa7e86da408d9 | /src/SSVStart/GameSystem/Timers/TimerStatic.cpp | 41516a114ec4584f5480630a1d3e5aa7ab756111 | [
"AFL-3.0",
"LicenseRef-scancode-unknown-license-reference",
"AFL-2.1"
] | permissive | respu/SSVStart | 023a821785b70556e07fb59c708bd633c18bf9aa | d369067fe7832cf29ef5c294b4e0a3a5d7d77177 | refs/heads/master | 2020-12-25T05:47:36.049350 | 2013-06-12T20:12:11 | 2013-06-12T20:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include "SSVStart/GameSystem/Timers/TimerStatic.h"
#include "SSVStart/GameSystem/GameWindow.h"
namespace ssvs
{
StaticTimer::StaticTimer(GameWindow& mGameWindow, float mStep, float mTimeSlice, float mMaxLoops) : TimerBase(mGameWindow), step{mStep}, timeSlice{mTimeSlice}, maxLoops{mMaxLoops} { }
StaticTimer::~StaticTimer() { }
void StaticTimer::runUpdate()
{
loops = 0;
time += frameTime;
while(time >= timeSlice && loops < maxLoops)
{
gameWindow.runUpdate(step);
time -= timeSlice;
++loops;
}
}
float StaticTimer::getStep() const { return step; }
float StaticTimer::getTimeSlice() const { return timeSlice; }
float StaticTimer::getMaxLoops() const { return maxLoops; }
float StaticTimer::getTime() const { return time; }
float StaticTimer::getLoops() const { return loops; }
void StaticTimer::setStep(float mStep) { step = mStep; }
void StaticTimer::setTimeSlice(float mTimeSlice) { timeSlice = mTimeSlice; }
void StaticTimer::setMaxLoops(float mMaxLoops) { maxLoops = mMaxLoops; }
StaticTimer& createStaticTimer(GameWindow& mGameWindow, float mStep, float mSpeed, float mMaxLoops) { return *(new StaticTimer{mGameWindow, mStep, mSpeed, mMaxLoops}); }
}
| [
"vittorio.romeo@outlook.com"
] | vittorio.romeo@outlook.com |
befdc33643d15443e317e137c5549e32e2d91fd4 | dc23eb8e14659ab8bb62001a3b3323cb50c2a8ef | /system/testing/gtest_extras/Isolate.h | aca409d904476456eac80825140028c600163951 | [] | no_license | wudeven/cells-android10 | e49c0c830da7041313289349e160385df5d12ef8 | d18dfa3ab597a37b8b71a14f094ba5b8afc75a93 | refs/heads/master | 2023-08-16T06:47:55.804251 | 2021-10-16T05:41:01 | 2021-10-16T05:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,035 | h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <poll.h>
#include <stdint.h>
#include <sys/types.h>
#include <map>
#include <memory>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <vector>
#include "Color.h"
#include "Options.h"
#include "Test.h"
namespace android {
namespace gtest_extras {
class Isolate {
public:
Isolate(const Options& options, const std::vector<const char*>& child_args)
: options_(options), child_args_(child_args) {}
void EnumerateTests();
int Run();
private:
struct ResultsType {
const char* color;
const char* prefix;
const char* list_desc;
const char* title;
bool (*match_func)(const Test&);
void (*print_func)(const Options&, const Test&);
};
size_t CheckTestsFinished();
void CheckTestsTimeout();
int ChildProcessFn(const std::tuple<std::string, std::string>& test);
void HandleSignals();
void LaunchTests();
void ReadTestsOutput();
void RunAllTests();
void PrintFooter(uint64_t elapsed_time_ns);
void PrintResults(size_t total, const ResultsType& results, std::string* footer);
void WriteXmlResults(uint64_t elapsed_time_ns, time_t start_time);
static std::string GetTestName(const std::tuple<std::string, std::string>& test) {
return std::get<0>(test) + std::get<1>(test);
}
const Options& options_;
const std::vector<const char*>& child_args_;
size_t total_suites_ = 0;
size_t total_tests_ = 0;
size_t total_disable_tests_ = 0;
size_t total_pass_tests_;
size_t total_xpass_tests_;
size_t total_fail_tests_;
size_t total_xfail_tests_;
size_t total_timeout_tests_;
size_t total_slow_tests_;
size_t total_skipped_tests_;
size_t cur_test_index_ = 0;
uint64_t slow_threshold_ns_;
uint64_t deadline_threshold_ns_;
std::vector<std::tuple<std::string, std::string>> tests_;
std::vector<Test*> running_;
std::vector<pollfd> running_pollfds_;
std::vector<size_t> running_indices_;
std::unordered_map<pid_t, std::unique_ptr<Test>> running_by_pid_;
std::map<size_t, Test*> running_by_test_index_;
std::map<size_t, std::unique_ptr<Test>> finished_;
static constexpr useconds_t MIN_USECONDS_WAIT = 1000;
static ResultsType SlowResults;
static ResultsType XpassFailResults;
static ResultsType FailResults;
static ResultsType TimeoutResults;
static ResultsType SkippedResults;
};
} // namespace gtest_extras
} // namespace android
| [
"jianglin@xdja.com"
] | jianglin@xdja.com |
e36530f1875f3f3d4fe041c42ea17f1d56fcf1a6 | 28ca4fe10b0b9a4ae917b665acf3545f7fb7c613 | /main.ino | bae4c9e5a25cc8993ddfa817d4b8ecc2dc03d936 | [] | no_license | eoinoreilly30/autonomous-mobot | 54175556947438d7fbb72725b11d4cf06c1d23c1 | c940d35cb8d48fd5e1f1ad920004ea178b5dd01f | refs/heads/master | 2021-08-17T16:16:29.041989 | 2020-05-13T23:45:32 | 2020-05-13T23:45:32 | 181,191,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,780 | ino | // Libraries used in BFS algorithm
#include <StackList.h>
#include <QueueArray.h>
/////////////////////////////////////////////////////////////////////////
// Wifi variables
////////////////////////////////////////////////////////////////////////
#ifndef __CC3200R1M1RGC__
#include <SPI.h>
#endif
#include <WiFi.h>
char ssid[] = "NETGEAR65";
char password[] = "littlecello367";
IPAddress server(192,168,1,2);
WiFiClient client;
////////////////////////////////////////////////////////////////////////
// Motor Control variables
////////////////////////////////////////////////////////////////////////
int rightMotorPWM = 40;
int rightMotorPhase = 39;
int leftMotorPWM = 38;
int leftMotorPhase = 34;
int motorOffset = 4;
int speedVal = 220; //180
int harderTurn = 220;
int medTurn = 130;
int softTurn = 70;
int turnOnSpotVal = 130; // 90
////////////////////////////////////////////////////////////////////////
// Sensor variables
////////////////////////////////////////////////////////////////////////
int AnalogValue[5] = {0,0,0,0,0};
int sensorOnOff[5] = {0,0,0,0,0};
int AnalogPin[5] = {A9, A11, A13, A8, A14};
int distanceSensorPin = 2;
int distanceThreshold = 680;
int threshold = 150;
bool reachedWhiteMark = false;
bool lost = false;
unsigned long currentTime;
////////////////////////////////////////////////////////////////////////////////////
// Breadth First Search Variables
////////////////////////////////////////////////////////////////////////////////////
bool marked[8];
int edgeTo[8]; // parent array
StackList<int> path;
int current = 0;
int cameFrom = 4;
int dest;
bool edge[8][8] = { // Track stored as a truth table
// 0 1 2 3 4 5 6 7
/*0*/ {false, false, false, false, true, false, true, false},
/*1*/ {false, false, false, false, false, false, true, true},
/*2*/ {false, false, false, true, false, false, true, false},
/*3*/ {false, false, true, false, false, false, false, true},
/*4*/ {true, false, false, false, false, false, false, true},
/*5*/ {false, false, false, false, false, false, false, false},
/*6*/ {true, true, true, false, false, false, false, false},
/*7*/ {false, true, false, true, true, false, false, false},
};
////////////////////////////////////////////////////////////////////////////////////
// Setup
////////////////////////////////////////////////////////////////////////////////////
void setup() {
Serial.begin(9600);
Serial.println("Begin");
pinMode(distanceSensorPin, INPUT);
// Wifi setup
connectToServer();
// drive to 0 checkpoint
drive();
stopLine();
reachedWhiteMark = false;
}
////////////////////////////////////////////////////////////////////////////
// Main Loop
////////////////////////////////////////////////////////////////////////////
void loop(){
// send current location and receive next destination
receiveDest(current);
// find shortest routes to all checkpoints
breadthFirstSearch(current);
// find shortest route to the specified destination
// but if dest == 5, first go to 7, then 5
if(dest == 5){
pathTo(7);
}
else {
pathTo(dest);
}
// 'path' contains the checkpoints to get to the destination
while(!path.isEmpty()) {
// conditions for each checkpoint on track, based on the direction you are approaching them
switch(path.pop()) {
case 0:
if(current == 0){
drive();
}
else if(current == 4){
if(cameFrom == 0){
turn180();
drive();
}
else if(cameFrom == 7){
drive();
}
current = 0;
cameFrom = 4;
}
else if(current == 6){
if(cameFrom == 1){
turn90RightSix();
drive();
}
else if(cameFrom == 2){
drive();
}
current = 0;
cameFrom = 6;
}
break;
case 1:
if(current == 6){
if(cameFrom == 0){
turn90Left();
drive();
}
else if(cameFrom == 2){
turn90Right();
drive();
}
current = 1;
cameFrom = 6;
}
else if(current == 7){
if(cameFrom == 4){
turn90Right();
drive();
}
else if(cameFrom == 3){
turn90Left();
drive();
}
current = 1;
cameFrom = 7;
}
break;
case 2:
if(current == 3){
if(cameFrom == 2){
turn180();
drive();
}
else if(cameFrom == 7){
drive();
}
current = 2;
cameFrom = 3;
}
else if(current == 6){
if(cameFrom == 1){
turn90LeftSix();
drive();
}
else if(cameFrom == 0){
drive();
}
current = 2;
cameFrom = 6;
}
break;
case 3:
if(current == 2){
if(cameFrom == 6){
drive();
}
else if(cameFrom == 3){
turn180();
drive();
}
current = 3;
cameFrom = 2;
}
else if(current == 7){
if(cameFrom == 4){
drive();
}
else if(cameFrom == 1){
turn90Right();
drive();
}
current = 3;
cameFrom = 7;
}
break;
case 4:
if(current == 0){
if(cameFrom == 6){
drive();
}
else if(cameFrom == 4){
turn180();
drive();
}
current = 4;
cameFrom = 0;
}
else if(current == 7){
if(cameFrom == 3){
drive();
}
else if(cameFrom == 1){
turn90Left();
drive();
}
current = 4;
cameFrom = 7;
}
break;
case 6:
if(current == 0){
if(cameFrom == 4){
drive();
}
else if(cameFrom == 6){
turn180();
drive();
}
current = 6;
cameFrom = 0;
}
else if(current == 1){
if(cameFrom == 7){
drive();
}
else if(cameFrom == 6){
turn180();
drive();
}
current = 6;
cameFrom = 1;
}
else if(current == 2){
if(cameFrom == 3){
drive();
}
else if(cameFrom == 6){
turn180();
drive();
}
current = 6;
cameFrom = 2;
}
break;
case 7:
if(current == 4){
if(cameFrom == 0){
drive();
}
else if(cameFrom == 7){
turn180();
drive();
}
current = 7;
cameFrom = 4;
}
else if(current == 1){
if(cameFrom == 6){
drive();
}
else if(cameFrom == 7){
turn180();
drive();
}
current = 7;
cameFrom = 1;
}
else if(current == 3){
if(cameFrom == 2){
drive();
}
else if(cameFrom == 7){
turn180();
drive();
}
current = 7;
cameFrom = 3;
}
break;
}
reachedWhiteMark = false;
}
// when the above while loop exits, the destination is reached
stopLine();
// if 5 was the destination, drive to 5 using distance sensor
if(dest == 5){
if(cameFrom == 4){
turn90Left();
}
else if(cameFrom == 3){
turn90Right();
}
else if(cameFrom == 1){
park();
}
park();
}
}
// this function uses the distance sensor to park at the wall
void park(){
// first drive up the remaining white line
while(!isLost()){
readValues();
if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 0 1 0 0
forward();
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 1 0 0 0
turnLeft(medTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 0 0 0 1 0
turnRight(medTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 1 1 0 0
turnLeft(softTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 0 0 1 1 0
turnRight(softTurn);
}
}
// then keep driving forward into the wild
while(readDistanceSensor() < distanceThreshold){
forward();
}
// stop and update server
stopLine();
receiveDest(5);
}
////////////////////////////////////////////////////////////////////////////
// Path finding algorithm
////////////////////////////////////////////////////////////////////////////
void breadthFirstSearch(int node){
// reset variables
for(int i=0; i<8; i++){
edgeTo[i] = 0;
marked[i] = false;
}
// 'marked' means the node has been visited
marked[node] = true;
// 'q' contains the unexplored nodes
QueueArray<int> q;
q.push(node);
while(!q.isEmpty()){
// take a node...
int v = q.pop();
// and explore each neighbour of 'v'
for(int i=0; i<8; i++){
// first check if they are connected
if(edge[v][i] || edge[i][v]){
// then check if they have been visited before
if(!marked[i]){
marked[i] = true;
q.push(i);
// store the parent of current node 'i' as 'v'
edgeTo[i] = v;
}
}
}
}
}
// traverse back up minimum spanning tree
void pathTo(int destination) {
for(int i=destination; i != current; i = edgeTo[i]){
path.push(i);
if(path.peek() == current){
break;
}
}
}
////////////////////////////////////////////////////////////////////////////
// Wifi functions
////////////////////////////////////////////////////////////////////////////
void connectToServer(){
Serial.print("Attempting to connect to Network named: ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while ( WiFi.status() != WL_CONNECTED);
Serial.println("\nYou're connected to the network");
Serial.println("Waiting for an ip address");
while (WiFi.localIP() == INADDR_NONE);
Serial.println("\nIP Address obtained");
printWifiStatus();
}
void receiveDest(int currentPos){
Serial.println("\nStarting connection to server...");
// if you get a connection, report back via serial:
if (client.connect(server, 80)) {
Serial.println("connected to server");
// Make a HTTP request:
String messageToSend = "POST /mobilerobotics/api/position/tag/?group=2&pos=";
messageToSend += String(currentPos);
messageToSend += " HTTP/1.1";
Serial.println("Sending message...");
client.println(messageToSend);
client.println("Host: energia.nu");
client.println("Connection: close");
client.println();
}
// Read reply from server
char buffer[255] = {0};
while (!client.available()) {}; // Wait for connection to be available...
if (client.available()) {
client.read((uint8_t*)buffer, client.available());
}
String finalMessage = buffer;
Serial.println("Full message received:");
Serial.println(finalMessage);
Serial.println("End of received");
// Extract next destination by splitting up the string
String jsonMessage = finalMessage.substring(finalMessage.indexOf("{"), finalMessage.length()-1);
String nextPosition = jsonMessage.substring(16, 17);
// end of trip, do nothing
if(nextPosition.equals("T")){
while(true);
}
// otherwise convert to integer and store in dest
dest = nextPosition.toInt();
// if the server's disconnected, stop the client:
if (!client.connected()) {
Serial.println();
Serial.println("disconnecting from server.");
client.stop();
}
}
void printWifiStatus() {
Serial.print("SSID: ");
Serial.println(WiFi.SSID());
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
Serial.println(ip);
}
////////////////////////////////////////////////////////////////////////////
// Line following functions
////////////////////////////////////////////////////////////////////////////
// this function just follows the white line and returns when a checkpoint is reached
void drive() {
while(reachedWhiteMark == false){
readValues();
//normal operation
if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 0 1 0 0
lost = false;
forward();
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 1 0 0 0
lost = false;
turnLeft(medTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 0 0 0 1 0
lost = false;
turnRight(medTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 1 1 0 0
lost = false;
turnLeft(softTurn);
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 0 0 1 1 0
lost = false;
turnRight(softTurn);
}
else if(sensorOnOff[0] == 1 && sensorOnOff[1] == 1 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 1 1 0 0 0
lost = false;
turnLeftHard();
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 1 && sensorOnOff[4] == 1){ // 0 0 0 1 1
lost = false;
turnRightHard();
}
else if(sensorOnOff[0] == 1 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 1 0 0 0 0
lost = false;
turnLeftHard();
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 1){ // 0 0 0 0 1
lost = false;
turnRightHard();
}
// checkpoint reached, therefore stop just after white line
else if(isAtStopLine()){
lost = false;
// wait until we have drove past the white mark
while(isAtStopLine());
Serial.println("Reached white mark");
reachedWhiteMark = true;
}
// if car has lost the white line, wait for 1000ms before driving backwards
else if(isLost()){
// first time we are lost, record the time, break
if(lost == false){
currentTime = millis();
lost = true;
}
// only if we are lost for more than 1000 milliseconds, reverse
else if(millis() - currentTime >= 1000){
stopLine();
while(isLost()){
reverse();
}
}
}
}
}
// returns true if the sensors detect a checkpoint
bool isAtStopLine(){
readValues();
if(sensorOnOff[0] == 1 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 1){ // 1 1 1 1 1
return true;
}
else if(sensorOnOff[0] == 1 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 1 1 1 0 0
return true;
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 1){ // 0 0 1 1 1
return true;
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 1){ // 0 1 1 1 1
return true;
}
else if(sensorOnOff[0] == 1 && sensorOnOff[1] == 1 && sensorOnOff[2] == 1 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 1 1 1 1 0
return true;
}
return false;
}
// returns true if the sensors detect the normal straight line
// the function is used in the 180 degree turning function
bool isAtStraightLine(){
readValues();
if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 1 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 0 1 0 0
return true;
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 1 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){ // 0 1 0 0 0
return true;
}
else if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 1 && sensorOnOff[4] == 0){ // 0 0 0 1 0
return true;
}
return false;
}
// returns true if lost
bool isLost(){
readValues();
if(sensorOnOff[0] == 0 && sensorOnOff[1] == 0 && sensorOnOff[2] == 0 && sensorOnOff[3] == 0 && sensorOnOff[4] == 0){
return true;
}
return false;
}
// reads the line sensor values
void readValues(){
//take sampleAmount sets of readings
int AnalogAverage[5] = {0,0,0,0,0};
int sampleAmount = 50;
for(int i=0; i<sampleAmount; i++){
for (int j=0; j<5; j++){
AnalogAverage[j] += analogRead(AnalogPin[j]);
}
}
//average them by dividing by sampleAmount
for(int i=0; i<5; i++){
AnalogValue[i] = AnalogAverage[i] / sampleAmount;
if(AnalogValue[i] <= threshold)
sensorOnOff[i] = 1;
else
sensorOnOff[i] = 0;
}
}
// reads the sharp distance sensor
int readDistanceSensor(){
return analogRead(distanceSensorPin);
}
//////////////////////////////////////////////////////////////////////////////
// Motor control functions
//////////////////////////////////////////////////////////////////////////////
void forward(){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, LOW ); //forward
analogWrite(rightMotorPWM, speedVal - motorOffset); // set speed of motor
analogWrite(leftMotorPWM, speedVal); // set speed of motor
}
void turnLeft(int leftTurnOffset){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, LOW ); //forward
analogWrite(rightMotorPWM, speedVal); // set speed of motor
analogWrite(leftMotorPWM, speedVal - leftTurnOffset); // set speed of motor
}
void turnRight(int rightTurnOffset){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, LOW ); //forward
analogWrite(rightMotorPWM, speedVal - rightTurnOffset); // set speed of motor
analogWrite(leftMotorPWM, speedVal); // set speed of motor
}
void turnLeftHard(){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, LOW ); //forward
analogWrite(rightMotorPWM, harderTurn); // set speed of motor
analogWrite(leftMotorPWM, 0); // set speed of motor
}
void turnRightHard(){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, LOW ); //forward
analogWrite(rightMotorPWM, 0); // set speed of motor
analogWrite(leftMotorPWM, harderTurn); // set speed of motor
}
void stopLine(){
analogWrite(rightMotorPWM, 0); // set speed of motor
analogWrite(leftMotorPWM, 0); // set speed of motor
Serial.println("Stop"); // Display motor direction
}
void turn180(){
//clockwise turn
digitalWrite(rightMotorPhase, HIGH); //backward
digitalWrite(leftMotorPhase, LOW ); //forward
while(sensorOnOff[4] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
while(sensorOnOff[3] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
while(sensorOnOff[2] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
while(sensorOnOff[1] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
while(sensorOnOff[0] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
while(!isAtStraightLine()){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning 180"); // Display motor direction
readValues();
}
}
void turn90Right(){
digitalWrite(rightMotorPhase, HIGH); //backward
digitalWrite(leftMotorPhase, LOW ); //forward
while(sensorOnOff[1] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
while(sensorOnOff[0] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
while(sensorOnOff[0] == 1){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
while(sensorOnOff[2] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
}
void turn90Left(){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, HIGH ); //backward
while(sensorOnOff[0] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Left"); // Display motor direction
readValues();
}
while(sensorOnOff[1] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Left"); // Display motor direction
readValues();
}
}
// special case for checkpoint 6
void turn90RightSix(){
digitalWrite(rightMotorPhase, HIGH); //backward
digitalWrite(leftMotorPhase, LOW ); //forward
while(sensorOnOff[3] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
}
// special case for checkpoint 6
void turn90LeftSix(){
digitalWrite(rightMotorPhase, LOW); //forward
digitalWrite(leftMotorPhase, HIGH ); //backward
while(sensorOnOff[1] == 0){
analogWrite(rightMotorPWM, turnOnSpotVal); // set speed of motor
analogWrite(leftMotorPWM, turnOnSpotVal); // set speed of motor
Serial.println("Turning Right"); // Display motor direction
readValues();
}
}
void reverse(){
digitalWrite(rightMotorPhase, HIGH); //reverse
digitalWrite(leftMotorPhase, HIGH ); //reverse
analogWrite(rightMotorPWM, speedVal - motorOffset); // set speed of motor
analogWrite(leftMotorPWM, speedVal); // set speed of motor
Serial.println("Reverse"); // Display motor direction
}
| [
"eoinoreilly30@gmail.com"
] | eoinoreilly30@gmail.com |
3143305992c2cf200131b8f1d6d32a15b83adbbf | 089077acd7dc512a1afde017692382b0b9ada02f | /SmartHSR/TinySolid/OpenSolid.h | 22b41ecd12afc6534588c4f4c1fb7fca5f3174e0 | [] | no_license | lizzyly7/SmartDraw | 6830b172cebcf2005366b7438d771af3faa137cf | cb891dbe66d75bbb3f692fce72e91402e1c97010 | refs/heads/main | 2023-04-19T05:54:52.948266 | 2021-05-04T11:02:01 | 2021-05-04T11:02:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | h | /********************************************************************
created: 2004/01/16
created: 16:1:2004 13:46
filename: D:\Project\PlantWAVE\OpenSolid\OpenSolid.h
file path: D:\Project\PlantWAVE\OpenSolid
file base: OpenSolid
file ext: h
author:
purpose:
*********************************************************************/
#ifndef __OPENSOLID_H__
#define __OPENSOLID_H__
#include <SQLib.h>
#include <queue>
using namespace std;
#ifndef DLL_EXPORT
#define DLL_EXPORT __declspec(dllexport)
#endif
class DLL_EXPORT COpenSolid{
public:
COpenSolid();
virtual ~COpenSolid();
public:
const int GetNumOfCurveSegments();
void SetNumOfCurveSegments(int nSegments);
PSQPRIMITIVE CreatePlaneSurface(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateConeSurface(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateTorusSurface(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateSphereSurface(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateSolid(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateSurface(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateArc(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE CreateFacets(PPOINT_T pptPoints,int nParts,int nPoints,const SQHEADER& hdr);
void ComputeVolume(PSQPRIMITIVE pPrimitive);
void Pure();
protected:
bool PossibleBeCone(PSQPRIMITIVE pPrimitive);
bool PossibleBeDome(PSQPRIMITIVE pPrimitive);
bool PossibleBeSphere(PSQPRIMITIVE pPrimitive);
PSQPRIMITIVE NewPrimitive();
bool DeletePrimitive(PSQPRIMITIVE pPrimitive);
private:
int m_nCurveSegments;
queue<PSQPRIMITIVE> m_quePrimitivePool;
list<PSQPRIMITIVE>* m_plstPrimitive;
};
extern COpenSolid theOpenSolid;
#endif | [
"humkyung@atools.co.kr"
] | humkyung@atools.co.kr |
57ad0de2c0ea27b734ebd6fd08dcc068f87fb356 | e9193e13e5788952fd40abe65fa3ca6143369114 | /src/sst/elements/memHierarchy/testcpu/standardCPU.cc | 43d1c4835f266e88b18967483b49bd20bba61b6d | [
"BSD-3-Clause"
] | permissive | SalvatoreDiGirolamo/sst-elements | 00ea1786b3ef59dfbc9035ff98b68076c4fc90b6 | 8a491cf7149c400220b7bfcdf4de1fed6715ba7c | refs/heads/master | 2022-02-25T14:43:11.971363 | 2022-01-30T00:01:25 | 2022-01-30T00:01:25 | 217,837,549 | 0 | 0 | NOASSERTION | 2019-10-27T10:19:31 | 2019-10-27T10:19:31 | null | UTF-8 | C++ | false | false | 14,867 | cc | // Copyright 2009-2021 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2021, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory
// the distribution for more information.
//
// This file is part of the SST software package. For license
// information, see the LICENSE file in the top level directory of the
// distribution.
#include <sst_config.h>
#include "testcpu/standardCPU.h"
#include <sst/core/params.h>
#include <sst/core/simulation.h>
#include <sst/core/interfaces/stringEvent.h>
#include "util.h"
using namespace SST;
using namespace SST::Interfaces;
using namespace SST::MemHierarchy;
using namespace SST::Statistics;
/* Constructor */
standardCPU::standardCPU(ComponentId_t id, Params& params) :
Component(id), rng(id, 13)
{
// Restart the RNG to ensure completely consistent results
// Seed with user-provided seed
uint32_t z_seed = params.find<uint32_t>("rngseed", 7);
rng.restart(z_seed, 13);
out.init("", params.find<unsigned int>("verbose", 1), 0, Output::STDOUT);
bool found;
/* Required parameter - memFreq */
memFreq = params.find<int>("memFreq", 0, found);
if (!found) {
out.fatal(CALL_INFO, -1,"%s, Error: parameter 'memFreq' was not provided\n",
getName().c_str());
}
/* Required parameter - memSize */
UnitAlgebra memsize = params.find<UnitAlgebra>("memSize", UnitAlgebra("0B"), found);
if ( !found ) {
out.fatal(CALL_INFO, -1, "%s, Error: parameter 'memSize' was not provided\n",
getName().c_str());
}
if (!(memsize.hasUnits("B"))) {
out.fatal(CALL_INFO, -1, "%s, Error: memSize parameter requires units of 'B' (SI OK). You provided '%s'\n",
getName().c_str(), memsize.toString().c_str() );
}
maxAddr = memsize.getRoundedValue() - 1;
mmioAddr = params.find<uint64_t>("mmio_addr", "0", found);
if (found) {
sst_assert(mmioAddr > maxAddr, CALL_INFO, -1, "incompatible parameters: mmio_addr must be >= memSize (mmio above physical memory addresses).\n");
}
maxOutstanding = params.find<uint64_t>("maxOutstanding", 10);
/* Required parameter - opCount */
ops = params.find<uint64_t>("opCount", 0, found);
sst_assert(found, CALL_INFO, -1, "%s, Error: parameter 'opCount' was not provided\n", getName().c_str());
/* Frequency of different ops */
unsigned readf = params.find<unsigned>("read_freq", 25);
unsigned writef = params.find<unsigned>("write_freq", 75);
unsigned flushf = params.find<unsigned>("flush_freq", 0);
unsigned flushinvf = params.find<unsigned>("flushinv_freq", 0);
unsigned customf = params.find<unsigned>("custom_freq", 0);
unsigned llscf = params.find<unsigned>("llsc_freq", 0);
unsigned mmiof = params.find<unsigned>("mmio_freq", 0);
if (mmiof != 0 && mmioAddr == 0) {
out.fatal(CALL_INFO, -1, "%s, Error: mmio_freq is > 0 but no mmio device has been specified via mmio_addr\n", getName().c_str());
}
high_mark = readf + writef + flushf + flushinvf + customf + llscf + mmiof; /* Numbers less than this and above other marks indicate read */
if (high_mark == 0) {
out.fatal(CALL_INFO, -1, "%s, Error: The input doesn't indicate a frequency for any command type.\n", getName().c_str());
}
write_mark = writef; /* Numbers less than this indicate write */
flush_mark = write_mark + flushf; /* Numbers less than this indicate flush */
flushinv_mark = flush_mark + flushinvf; /* Numbers less than this indicate flush-inv */
custom_mark = flushinv_mark + customf; /* Numbers less than this indicate flush */
llsc_mark = custom_mark + llscf; /* Numbers less than this indicate LL-SC */
mmio_mark = llsc_mark + mmiof; /* Numbers less than this indicate MMIO read or write */
noncacheableRangeStart = params.find<uint64_t>("noncacheableRangeStart", 0);
noncacheableRangeEnd = params.find<uint64_t>("noncacheableRangeEnd", 0);
noncacheableSize = noncacheableRangeEnd - noncacheableRangeStart;
maxReqsPerIssue = params.find<uint32_t>("reqsPerIssue", 1);
if (maxReqsPerIssue < 1) {
out.fatal(CALL_INFO, -1, "%s, Error: StandardCPU cannot issue less than one request at a time...fix your input deck\n", getName().c_str());
}
// Tell the simulator not to end until we OK it
registerAsPrimaryComponent();
primaryComponentDoNotEndSim();
//set our clock
std::string clockFreq = params.find<std::string>("clock", "1GHz");
clockHandler = new Clock::Handler<standardCPU>(this, &standardCPU::clockTic);
clockTC = registerClock( clockFreq, clockHandler );
/* Find the interface the user provided in the Python and load it*/
memory = loadUserSubComponent<StandardMem>("memory", ComponentInfo::SHARE_NONE, clockTC, new StandardMem::Handler<standardCPU>(this, &standardCPU::handleEvent));
if (!memory) {
out.fatal(CALL_INFO, -1, "Unable to load memHierarchy.standardInterface subcomponent; check that 'memory' slot is filled in input.\n");
}
clock_ticks = 0;
requestsPendingCycle = registerStatistic<uint64_t>("pendCycle");
num_reads_issued = registerStatistic<uint64_t>("reads");
num_writes_issued = registerStatistic<uint64_t>("writes");
if (noncacheableSize != 0) {
noncacheableReads = registerStatistic<uint64_t>("readNoncache");
noncacheableWrites = registerStatistic<uint64_t>("writeNoncache");
}
if (flushf != 0 ) {
num_flushes_issued = registerStatistic<uint64_t>("flushes");
}
if (flushinvf != 0) {
num_flushinvs_issued = registerStatistic<uint64_t>("flushinvs");
}
if (customf != 0) {
num_custom_issued = registerStatistic<uint64_t>("customReqs");
}
if (llscf != 0) {
num_llsc_issued = registerStatistic<uint64_t>("llsc");
num_llsc_success = registerStatistic<uint64_t>("llsc_success");
}
ll_issued = false;
}
void standardCPU::init(unsigned int phase)
{
memory->init(phase);
}
void standardCPU::setup() {
memory->setup();
lineSize = memory->getLineSize();
}
void standardCPU::finish() { }
// incoming events are scanned and deleted
void standardCPU::handleEvent(StandardMem::Request *req)
{
std::map<uint64_t, std::pair<SimTime_t,std::string>>::iterator i = requests.find(req->getID());
if ( requests.end() == i ) {
out.fatal(CALL_INFO, -1, "Event (%" PRIx64 ") not found!\n", req->getID());
} else {
SimTime_t et = getCurrentSimTime() - i->second.first;
if (i->second.second == "StoreConditional" && req->getSuccess())
num_llsc_success->addData(1);
requests.erase(i);
}
delete req;
}
bool standardCPU::clockTic( Cycle_t )
{
++clock_ticks;
// Histogram bin the requests pending per cycle
requestsPendingCycle->addData((uint64_t) requests.size());
// communicate?
if ((0 != ops) && (0 == (rng.generateNextUInt32() % memFreq))) {
if ( requests.size() < maxOutstanding ) {
// yes, communicate
// create event
// x4 to prevent splitting blocks
uint32_t reqsToSend = 1;
if (maxReqsPerIssue > 1) reqsToSend += rng.generateNextUInt32() % maxReqsPerIssue;
if (reqsToSend > (maxOutstanding - requests.size())) reqsToSend = maxOutstanding - requests.size();
if (reqsToSend > ops) reqsToSend = ops;
for (int i = 0; i < reqsToSend; i++) {
StandardMem::Addr addr = rng.generateNextUInt64();
std::vector<uint8_t> data;
data.resize(4);
data[0] = (addr >> 24) & 0xff;
data[1] = (addr >> 16) & 0xff;
data[2] = (addr >> 8) & 0xff;
data[3] = (addr >> 0) & 0xff;
uint32_t instNum = rng.generateNextUInt32() % high_mark;
uint64_t size = 4;
std::string cmdString = "Read";
Interfaces::StandardMem::Request* req;
if (ll_issued) {
req = createSC();
}else if (instNum < write_mark) {
req = createWrite(addr);
} else if (instNum < flush_mark) {
req = createFlush(addr);
} else if (instNum < flushinv_mark) {
req = createFlushInv(addr);
} else if (instNum < custom_mark) {
} else if (instNum < llsc_mark) {
req = createLL(addr);
} else if (instNum < mmio_mark) {
bool opType = rng.generateNextUInt32() % 2;
if (opType) {
req = createMMIORead();
} else {
req = createMMIOWrite();
}
} else {
req = createRead(addr);
}
if (req->needsResponse()) {
requests[req->getID()] = std::make_pair(getCurrentSimTime(), cmdString);
}
memory->send(req);
ops--;
}
}
}
// Check whether to end the simulation
if ( 0 == ops && requests.empty() ) {
out.verbose(CALL_INFO, 1, 0, "StandardCPU: Test Completed Successfuly\n");
primaryComponentOKToEndSim();
return true; // Turn our clock off while we wait for any other CPUs to end
}
// return false so we keep going
return false;
}
/* Methods for sending different kinds of requests */
StandardMem::Request* standardCPU::createWrite(Addr addr) {
addr = ((addr % maxAddr)>>2) << 2;
// Dummy payload
std::vector<uint8_t> data;
data.resize(4);
data[0] = (addr >> 24) & 0xff;
data[1] = (addr >> 16) & 0xff;
data[2] = (addr >> 8) & 0xff;
data[3] = (addr >> 0) & 0xff;
StandardMem::Request* req = new Interfaces::StandardMem::Write(addr, data.size(), data);
num_writes_issued->addData(1);
if (addr >= noncacheableRangeStart && addr < noncacheableRangeEnd) {
req->setNoncacheable();
noncacheableWrites->addData(1);
}
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued %sWrite for address 0x%" PRIx64 "\n", getName().c_str(), ops, req->getNoncacheable() ? "Noncacheable " : "", addr);
return req;
}
StandardMem::Request* standardCPU::createRead(Addr addr) {
addr = ((addr % maxAddr)>>2) << 2;
StandardMem::Request* req = new Interfaces::StandardMem::Read(addr, 4);
num_reads_issued->addData(1);
if (addr >= noncacheableRangeStart && addr < noncacheableRangeEnd) {
req->setNoncacheable();
noncacheableReads->addData(1);
}
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued %sRead for address 0x%" PRIx64 "\n", getName().c_str(), ops, req->getNoncacheable() ? "Noncacheable " : "", addr);
return req;
}
StandardMem::Request* standardCPU::createFlush(Addr addr) {
addr = ((addr % (maxAddr - noncacheableSize)>>2) << 2);
if (addr >= noncacheableRangeStart && addr < noncacheableRangeEnd)
addr += noncacheableRangeEnd;
addr = addr - (addr % lineSize);
StandardMem::Request* req = new Interfaces::StandardMem::FlushAddr(addr, lineSize, false, 10);
num_flushes_issued->addData(1);
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued FlushAddr for address 0x%" PRIx64 "\n", getName().c_str(), ops, addr);
return req;
}
StandardMem::Request* standardCPU::createFlushInv(Addr addr) {
addr = ((addr % (maxAddr - noncacheableSize)>>2) << 2);
if (addr >= noncacheableRangeStart && addr < noncacheableRangeEnd)
addr += noncacheableRangeEnd;
addr = addr - (addr % lineSize);
StandardMem::Request* req = new Interfaces::StandardMem::FlushAddr(addr, lineSize, true, 10);
num_flushinvs_issued->addData(1);
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued FlushAddrInv for address 0x%" PRIx64 "\n", getName().c_str(), ops, addr);
return req;
}
StandardMem::Request* standardCPU::createLL(Addr addr) {
// Addr needs to be a cacheable range
Addr cacheableSize = maxAddr + 1 - noncacheableRangeEnd + noncacheableRangeStart;
addr = (addr % (cacheableSize >> 2)) << 2;
if (addr >= noncacheableRangeStart && addr < noncacheableRangeEnd) {
addr += noncacheableRangeEnd;
}
// Align addr
addr = (addr >> 2) << 2;
StandardMem::Request* req = new Interfaces::StandardMem::LoadLink(addr, 4);
// Set these so we issue a matching sc
ll_addr = addr;
ll_issued = true;
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued LoadLink for address 0x%" PRIx64 "\n", getName().c_str(), ops, addr);
return req;
}
StandardMem::Request* standardCPU::createSC() {
std::vector<uint8_t> data;
data.resize(4);
data[0] = (ll_addr >> 24) & 0xff;
data[1] = (ll_addr >> 16) & 0xff;
data[2] = (ll_addr >> 8) & 0xff;
data[3] = (ll_addr >> 0) & 0xff;
StandardMem::Request* req = new Interfaces::StandardMem::StoreConditional(ll_addr, data.size(), data);
num_llsc_issued->addData(1);
ll_issued = false;
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued StoreConditional for address 0x%" PRIx64 "\n", getName().c_str(), ops, ll_addr);
return req;
}
StandardMem::Request* standardCPU::createMMIOWrite() {
bool posted = rng.generateNextUInt32() % 2;
int32_t payload = rng.generateNextInt32();
payload >>= 16; // Shrink the number a bit
int32_t payload_cp = payload;
std::vector<uint8_t> data;
for (int i = 0; i < sizeof(int32_t); i++) {
data.push_back(payload & 0xFF);
payload >>=8;
}
StandardMem::Request* req = new Interfaces::StandardMem::Write(mmioAddr, sizeof(int32_t), data, posted);
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued MMIO Write for address 0x%" PRIx64 " with payload %d\n", getName().c_str(), ops, mmioAddr, payload_cp);
return req;
}
StandardMem::Request* standardCPU::createMMIORead() {
StandardMem::Request* req = new Interfaces::StandardMem::Read(mmioAddr, sizeof(int32_t));
out.verbose(CALL_INFO, 2, 0, "%s: %" PRIu64 " Issued MMIO Read for address 0x%" PRIx64 "\n", getName().c_str(), ops, mmioAddr);
return req;
}
void standardCPU::emergencyShutdown() {
if (out.getVerboseLevel() > 1) {
if (out.getOutputLocation() == Output::STDOUT)
out.setOutputLocation(Output::STDERR);
out.output("MemHierarchy::standardCPU %s\n", getName().c_str());
out.output(" Outstanding events: %zu\n", requests.size());
out.output("End MemHierarchy::standardCPU %s\n", getName().c_str());
}
}
| [
"grvosku@sandia.gov"
] | grvosku@sandia.gov |
468a7e8cfd565bc9299858784219cd2b0f97e5b2 | 41575c498b7197e97b12a8ce2a880047df363cc3 | /src/local/inp/win32/Driver.hpp | e83fa5de7c99e16690afefd7809f12b1b4068e89 | [] | no_license | gongfuPanada/page | f00a6f9015b4aad79398f0df041613ab28be405b | fa2ccdef4b33480c2ac5f872d717323f45618a34 | refs/heads/master | 2021-01-15T22:09:34.836791 | 2013-03-23T18:54:13 | 2013-03-23T18:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,221 | hpp | /**
* @section license
*
* Copyright (c) 2006-2013 David Osborn
*
* Permission is granted to use and redistribute this software in source and
* binary form, with or without modification, subject to the following
* conditions:
*
* 1. Redistributions in source form 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, and in the same
* place and form as other copyright, license, and disclaimer information.
*
* As a special exception, distributions of derivative works in binary form may
* include an acknowledgement in place of the above copyright notice, this list
* of conditions, and the following disclaimer in the documentation and/or other
* materials provided with the distribution, and in the same place and form as
* other acknowledgements, similar in substance to the following:
*
* Portions of this software are based on the work of David Osborn.
*
* This software is provided "as is", without any express or implied warranty.
* In no event will the authors be liable for any damages arising out of the use
* of this software.
*/
#ifndef page_local_inp_win32_Driver_hpp
# define page_local_inp_win32_Driver_hpp
# include <windows.h> // DWORD, HWND, LONG, LPARAM, UINT{,_PTR}, WPARAM
# include "../Driver.hpp"
namespace page
{
namespace wnd { namespace win32 { class Window; }}
namespace inp
{
namespace win32
{
struct Driver : inp::Driver
{
// construct
explicit Driver(wnd::win32::Window &);
// window access
wnd::win32::Window &GetWindow();
const wnd::win32::Window &GetWindow() const;
private:
// state query
State Poll() const;
// cursor mode modifiers
void DoSetCursorMode(CursorMode);
void ShowCursor(bool);
// system cursor state
math::Vector<2, unsigned> GetRawCursorPosition() const;
math::Vector<2, int> GetRawCursorTranslation() const;
bool GetMouseButton(Button) const;
// cursor update
void UpdateCursor();
// inspiration notification
void OnImbue(const ui::Interface *);
// window signal handlers
void OnFocus(bool focus);
void OnMessage(UINT, WPARAM, LPARAM);
void OnMove(const math::Vector<2, int> &);
void OnSize(const math::Vector<2, unsigned> &);
boost::signals::scoped_connection focusCon, messageCon, moveCon, sizeCon;
// window message handlers
void OnButtonDown(Button, WPARAM, LPARAM);
void OnButtonUp(Button, WPARAM, LPARAM);
void OnMouseMove(WPARAM, LPARAM);
void OnMouseWheel(WPARAM, LPARAM);
// mouse state
void ResetMouseState();
void ResetMouseState(const math::Vector<2> &position);
void ResetMouseDrag(const math::Vector<2> &position);
// mouse repeat timer
void StartMouseRepeatTimer();
void StopMouseRepeatTimer();
// mouse repeat timer handling
void OnMouseRepeatTimer();
static void CALLBACK MouseRepeatTimerRouter(HWND, UINT, UINT_PTR, DWORD);
// vector normalization
math::Vector<2> NormClientVector(const math::Vector<2, int> &) const;
math::Vector<2> NormScreenVector(const math::Vector<2, int> &) const;
// MSH_MOUSEWHEEL message
UINT mshMousewheel;
// system limits
struct Limits
{
// construct
Limits();
UINT doubleTime;
math::Vector<2, unsigned> doubleRange, dragRange;
unsigned repeatDelay;
DWORD repeatSpeed;
} limits;
// cursor state
struct Cursor
{
// construct
Cursor();
enum Icon
{
noIcon,
arrowIcon,
themeIcon
} icon;
bool visible;
math::Vector<2, unsigned> pointPosition;
} cursor;
// mouse state
struct Mouse
{
// construct
Mouse();
bool down, dragging, _double, ignoreDown;
Button downButton;
LONG downTime;
math::Vector<2, unsigned> downPosition;
float deltaScroll;
// repeating
bool repeating;
UINT_PTR repeatTimer;
} mouse;
};
}
}
}
#endif
| [
"davidcosborn@gmail.com"
] | davidcosborn@gmail.com |
8642e7c51cbce6efc1fdf17834a7fc4630b7ab8b | f76606b4e7ea1c34dd6b99a1ea6991c79e5592e0 | /src/elements/mupmedia.h | 57cfa34a3dc842f574034804509d259754dbb735 | [] | no_license | oleglite/MUP | 5bc31e34c1f16131c05984991d933c58bb8a1467 | 346ae80396bfc048835ffe0807e35fe703f960d8 | refs/heads/master | 2021-01-10T19:54:41.851887 | 2012-06-01T16:39:23 | 2012-06-01T16:39:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #ifndef MUPMEDIA_H
#define MUPMEDIA_H
#include "mupelement.h"
class MupMedia : public MupElement
{
public:
MupMedia(const QString& label, bool isSingle = false);
protected:
virtual QString groupElementOpenTag();
virtual QString groupElementCloseTag();
};
#endif // MUPMEDIA_H
| [
"beloglazov.oleg@gmail.com"
] | beloglazov.oleg@gmail.com |
67d16c966219fbe91e5ca53268e0b187f49ebb46 | 7845bd472e1a596dc17861884474ce0cdc607afa | /cpu.h | ab8f77781d3c29068b372c7e1691fe0e9266a9f5 | [] | no_license | salihbektas/Simple-CPU-emulator | 285b09b1480c1d8fe82500fb58df2d9b43ec68a5 | 5e221b3ea78231db800db8c079696bc070d79ad6 | refs/heads/master | 2021-01-20T13:26:45.014913 | 2017-05-06T22:17:28 | 2017-05-06T22:17:28 | 90,493,270 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 933 | h | #ifndef CPU_H
#define CPU_H
#include <string>
#include "memory.h"
using namespace std;
class CPU{
public:
CPU();
CPU(int option);
CPU(int reg1, int reg2, int reg3, int reg4, int reg5, int progcount);
void setR1(int value);
void setR2(int value);
void setR3(int value);
void setR4(int value);
void setR5(int value);
void setPC(int value);
void setMaxLine(int value);
int getR1();
int getR2();
int getR3();
int getR4();
int getR5();
int getPC();
bool halted();
int getMaxLine();
void print();
void execute(string, Memory&);
string split(int& count, string str);
bool isInteger(string ch);
bool isMemory(string ch);
int doInteger(string ch);
private:
int r1=0, r2=0, r3=0, r4=0, r5=0, PC=1;
int maxLine;
};
#endif
| [
"noreply@github.com"
] | salihbektas.noreply@github.com |
7f38b94e836ad0d1a9367296fa2cf6a09216e1f6 | 839b0b1508840c45ef4ffad5e103e358fb821b94 | /src/StreetKombat/SpecialComponent.cpp | ac81d5ad1cc508174804a5ae8b814a181719a7e4 | [] | no_license | renanmms/StreetKombat | a74979b24adb43de3427cfacc8106ef6d1f44188 | 2c42d0a5f9aad9f276293cf95c5dd0896aa1a9b8 | refs/heads/master | 2023-05-04T02:37:10.041669 | 2021-05-29T20:40:28 | 2021-05-29T20:40:28 | 366,177,844 | 0 | 0 | null | 2021-05-29T01:34:21 | 2021-05-10T21:16:46 | C++ | UTF-8 | C++ | false | false | 1,361 | cpp | #include "SpecialComponent.h"
#include "Component.h"
#include "Special.h"
SpecialComponent::SpecialComponent(Character* owner, std::vector<int> activationSequence)
:Component(owner,110)
,owner(owner)
,mCurrentState(0)
,mLastKeyTime(0)
,deltaTime(0)
,mRechargeTime(0)
,mActivationSequence(activationSequence)
{
}
void SpecialComponent::Update(float deltaTime)
{
this->deltaTime = deltaTime;
}
void SpecialComponent::ProcessInput(const uint8_t* keyState)
{
// ------ Atualiza tempo de recarga da habilidade
mRechargeTime -= deltaTime;
if (mRechargeTime > 0) return;
// ------ Atualiza o tempo desde a ultima tecla
mLastKeyTime += deltaTime;
// ------ Verifica se passou do tempo minimo
if (mLastKeyTime > 0.2f)
{
// ------ Se a tecla correta foi pressionada
if (keyState[mActivationSequence[mCurrentState]])
{
// --- Atualiza o estado
mCurrentState++;
// --- Verifica se o jogador acertou a sequencia completa
if (mCurrentState == mActivationSequence.size())
{
new Special(owner->GetGame(), owner);
mRechargeTime = 1;
}
// --- Se o estado for final, volta pro inicio
mCurrentState = mCurrentState % mActivationSequence.size();
// --- Reset no tempo da ultima tecla apertada
mLastKeyTime = 0;
}
}
// ------ Verifica se passou do tempo maximo
if (mLastKeyTime > 1.0f)
{
mCurrentState = 0;
}
}
| [
"12pedro07@gmail.com"
] | 12pedro07@gmail.com |
ed734cc34827163af386c17c3923682ec8277ea1 | bf06c4ed2965abc45dde0f42f7c9b86b5f855184 | /Entity.cpp | 28ea3c44adfd029a4dffdcab6b1bc5252a60920a | [] | no_license | Matheu1305/CPP_SPACE_INVADERS | 680599bb912abf6451e172da795b2f4467c85bca | 4b002ea80762001b35040f318927d560253aacb5 | refs/heads/master | 2021-05-22T22:09:05.431744 | 2020-04-04T23:03:32 | 2020-04-04T23:03:32 | 253,118,607 | 0 | 0 | null | 2020-04-04T23:30:16 | 2020-04-04T23:30:15 | null | ISO-8859-1 | C++ | false | false | 1,102 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include <iostream>
#include <string>
#include <conio.h>
#include "Entity.h"
using namespace std;
void SetCursorPosition(int x, int y){
HANDLE output = GetStdHandle(STD_OUTPUT_HANDLE);
COORD pos = {x,y};
SetConsoleCursorPosition(output, pos);
}
Entity::Entity(int x, int y, int sAX, int sAY, char ch){
this->x = x;
this->y = y;
this->ch = ch;
this->spaceAlocatedX = sAX;
this->spaceAlocatedY = sAY;
}
// Dar print à posição central da Entity
void Entity::showPosition(){
cout << "[" << x << ", " << y << "]";
}
// Desenhar o ch em x e y
void Entity::draw(){
SetCursorPosition(x, y);
cout << ch;
}
// Desenhar o ch num x e y escolhido por nós
void Entity::drawOn(int xC, int yC) {
SetCursorPosition(xC, yC);
cout << ch;
}
// Desenhar o ch num quadrado de tamanho definido pelo user
void Entity::drawEntity() {
for (int yS = -spaceAlocatedY; yS < spaceAlocatedY; yS++){
for (int xS = -spaceAlocatedX; xS < spaceAlocatedX; xS++){
drawOn(xS + x, yS + y);
}
}
}
| [
"noreply@github.com"
] | Matheu1305.noreply@github.com |
46291ee6bf499d203114bdb8a35583840a69b169 | d61f2cac3bd9ed39f95184b89dd40952c6482786 | /testCase/results/16/U | 97f3ceef398bea897f04a24c8b23512e95f09faf | [] | no_license | karimimp/PUFoam | 4b3a5b427717aa0865889fa2342112cc3d24ce66 | 9d16e06d63e141607491219924018bea99cbb9e5 | refs/heads/master | 2022-06-24T08:51:18.370701 | 2022-04-28T18:33:03 | 2022-04-28T18:33:03 | 120,094,729 | 6 | 3 | null | 2022-04-27T09:46:38 | 2018-02-03T13:43:52 | C++ | UTF-8 | C++ | false | false | 26,983 | /*--------------------------------*- 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 volVectorField;
location "16";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField nonuniform List<vector>
800
(
(4.0702234e-06 0.00034996352 0)
(4.6656018e-06 0.00035266166 0)
(4.1020677e-06 0.0003531179 0)
(3.4337497e-06 0.00035311445 0)
(2.853998e-06 0.00035300751 0)
(2.3883153e-06 0.00035298962 0)
(1.9169204e-06 0.00035301881 0)
(1.4091487e-06 0.00035306024 0)
(8.6344247e-07 0.000353095 0)
(2.9091457e-07 0.00035311433 0)
(-2.9112899e-07 0.00035311433 0)
(-8.6362076e-07 0.000353095 0)
(-1.4092618e-06 0.00035306023 0)
(-1.9169761e-06 0.00035301879 0)
(-2.3883473e-06 0.0003529896 0)
(-2.8540665e-06 0.00035300748 0)
(-3.4339137e-06 0.00035311444 0)
(-4.1023721e-06 0.00035311789 0)
(-4.6660406e-06 0.00035266166 0)
(-4.0705084e-06 0.00034996349 0)
(1.9887472e-06 0.00064328553 0)
(2.2403477e-06 0.00064820563 0)
(2.6352285e-06 0.00064927875 0)
(2.6731108e-06 0.00064939218 0)
(2.4136194e-06 0.00064927682 0)
(2.1306487e-06 0.00064924945 0)
(1.7478968e-06 0.00064928173 0)
(1.2989752e-06 0.00064933411 0)
(8.0075675e-07 0.00064937984 0)
(2.7054333e-07 0.00064940548 0)
(-2.7082733e-07 0.00064940548 0)
(-8.0100413e-07 0.00064937983 0)
(-1.2991605e-06 0.00064933408 0)
(-1.7480269e-06 0.00064928168 0)
(-2.1307565e-06 0.00064924938 0)
(-2.4137556e-06 0.00064927675 0)
(-2.673328e-06 0.00064939211 0)
(-2.6355348e-06 0.0006492787 0)
(-2.2407262e-06 0.00064820562 0)
(-1.9889786e-06 0.00064328552 0)
(1.7169989e-06 0.0012024474 0)
(1.8357054e-06 0.0012093479 0)
(2.0325728e-06 0.0012107795 0)
(2.2517604e-06 0.0012109781 0)
(2.1298353e-06 0.0012109196 0)
(1.9771432e-06 0.0012109675 0)
(1.6691142e-06 0.0012110705 0)
(1.2594199e-06 0.0012111846 0)
(7.8177774e-07 0.0012112729 0)
(2.6478996e-07 0.00121132 0)
(-2.6507596e-07 0.00121132 0)
(-7.8202995e-07 0.0012112729 0)
(-1.2596182e-06 0.0012111845 0)
(-1.6692617e-06 0.0012110705 0)
(-1.9772645e-06 0.0012109674 0)
(-2.1299724e-06 0.0012109195 0)
(-2.2519515e-06 0.001210978 0)
(-2.0327993e-06 0.0012107795 0)
(-1.8359369e-06 0.0012093479 0)
(-1.7171305e-06 0.0012024475 0)
(-4.301715e-07 0.0017561669 0)
(-6.2614049e-07 0.0017653596 0)
(1.024346e-06 0.0017667676 0)
(1.9502812e-06 0.0017671071 0)
(2.0712808e-06 0.0017672046 0)
(2.0460572e-06 0.0017674026 0)
(1.7617989e-06 0.0017676288 0)
(1.3402029e-06 0.0017678276 0)
(8.33066e-07 0.0017679659 0)
(2.8216365e-07 0.0017680365 0)
(-2.8240904e-07 0.0017680365 0)
(-8.3328404e-07 0.0017679658 0)
(-1.3403751e-06 0.0017678276 0)
(-1.7619254e-06 0.0017676288 0)
(-2.0461471e-06 0.0017674025 0)
(-2.0713687e-06 0.0017672046 0)
(-1.9503977e-06 0.0017671071 0)
(-1.0244662e-06 0.0017667676 0)
(6.2606702e-07 0.0017653597 0)
(4.3014542e-07 0.001756167 0)
(-1.2264617e-06 0.0022532031 0)
(-1.5446196e-06 0.0022658825 0)
(7.3992521e-07 0.0022679331 0)
(2.3890406e-06 0.0022688859 0)
(2.5798138e-06 0.0022694434 0)
(2.5266563e-06 0.0022699623 0)
(2.1500249e-06 0.0022703795 0)
(1.6126077e-06 0.0022706793 0)
(9.9195395e-07 0.0022708658 0)
(3.3444147e-07 0.0022709571 0)
(-3.346316e-07 0.0022709571 0)
(-9.9211947e-07 0.0022708658 0)
(-1.6127315e-06 0.0022706792 0)
(-2.1501002e-06 0.0022703795 0)
(-2.5266917e-06 0.0022699622 0)
(-2.5798457e-06 0.0022694434 0)
(-2.3890765e-06 0.0022688859 0)
(-7.3994315e-07 0.0022679331 0)
(1.5446385e-06 0.0022658826 0)
(1.2264772e-06 0.0022532032 0)
(-9.2243996e-07 0.0026767511 0)
(-5.9689988e-07 0.0026922034 0)
(2.4355824e-06 0.0026973308 0)
(4.3267316e-06 0.0026993972 0)
(4.1754818e-06 0.0027007101 0)
(3.7651345e-06 0.0027016188 0)
(3.0260559e-06 0.0027021846 0)
(2.1880698e-06 0.0027025268 0)
(1.3198538e-06 0.0027027138 0)
(4.4163723e-07 0.0027027975 0)
(-4.4180862e-07 0.0027027975 0)
(-1.3199951e-06 0.0027027138 0)
(-2.1881662e-06 0.0027025267 0)
(-3.026096e-06 0.0027021846 0)
(-3.7651281e-06 0.0027016188 0)
(-4.1755009e-06 0.0027007101 0)
(-4.3267368e-06 0.0026993972 0)
(-2.4355455e-06 0.0026973308 0)
(5.9690566e-07 0.0026922035 0)
(9.2242101e-07 0.0026767511 0)
(2.9011244e-06 0.0030060551 0)
(7.9497176e-06 0.0030258563 0)
(1.0368735e-05 0.0030321354 0)
(9.4493093e-06 0.003035032 0)
(7.6618008e-06 0.0030369899 0)
(6.161731e-06 0.0030380895 0)
(4.614875e-06 0.0030386593 0)
(3.1989912e-06 0.0030389717 0)
(1.8832377e-06 0.0030391186 0)
(6.2250345e-07 0.0030391773 0)
(-6.22719e-07 0.0030391773 0)
(-1.8834147e-06 0.0030391186 0)
(-3.1991151e-06 0.0030389716 0)
(-4.6149365e-06 0.0030386593 0)
(-6.1617252e-06 0.0030380895 0)
(-7.6618474e-06 0.00303699 0)
(-9.4493299e-06 0.0030350321 0)
(-1.0368684e-05 0.0030321355 0)
(-7.949728e-06 0.0030258565 0)
(-2.9011478e-06 0.0030060551 0)
(5.6733567e-05 0.0032964062 0)
(7.8303285e-05 0.0033544984 0)
(4.9031259e-05 0.0033596976 0)
(3.3036102e-05 0.0033616543 0)
(2.2370201e-05 0.0033638747 0)
(1.5599e-05 0.0033647899 0)
(1.0742087e-05 0.0033651429 0)
(7.055434e-06 0.0033653196 0)
(4.0156129e-06 0.0033653778 0)
(1.3037085e-06 0.003365409 0)
(-1.3039791e-06 0.003365409 0)
(-4.015817e-06 0.0033653778 0)
(-7.0555391e-06 0.0033653197 0)
(-1.0742089e-05 0.003365143 0)
(-1.5598891e-05 0.0033647901 0)
(-2.2370147e-05 0.0033638751 0)
(-3.3036037e-05 0.0033616547 0)
(-4.9031077e-05 0.0033596981 0)
(-7.8303099e-05 0.003354499 0)
(-5.6733435e-05 0.0032964066 0)
(0.00029359059 0.003032476 0)
(0.00045152607 0.0033901639 0)
(0.00034669463 0.0034057045 0)
(0.0002452386 0.0033893536 0)
(0.0001701562 0.0033792948 0)
(0.00011760171 0.003373143 0)
(7.9948426e-05 0.0033696865 0)
(5.1727724e-05 0.0033678389 0)
(2.9087414e-05 0.0033669136 0)
(9.4131111e-06 0.0033665671 0)
(-9.4138081e-06 0.003366567 0)
(-2.9088038e-05 0.0033669136 0)
(-5.1728069e-05 0.0033678389 0)
(-7.9948383e-05 0.0033696866 0)
(-0.00011760136 0.0033731434 0)
(-0.0001701556 0.0033792954 0)
(-0.00024523757 0.0033893541 0)
(-0.0003466933 0.003405705 0)
(-0.00045152455 0.0033901645 0)
(-0.00029358965 0.003032477 0)
(0.00036399148 0.0023226275 0)
(0.00072189929 0.0032329255 0)
(0.00071625901 0.0033941065 0)
(0.00060014976 0.0033872143 0)
(0.00046627794 0.0033522619 0)
(0.0003462425 0.0033203982 0)
(0.00024627148 0.0032971885 0)
(0.00016371184 0.0032819506 0)
(9.3488748e-05 0.0032729556 0)
(3.0515271e-05 0.0032687623 0)
(-3.0517422e-05 0.0032687621 0)
(-9.3490732e-05 0.0032729548 0)
(-0.00016371341 0.0032819497 0)
(-0.00024627249 0.0032971876 0)
(-0.00034624275 0.0033203979 0)
(-0.00046627779 0.003352262 0)
(-0.00060014922 0.0033872145 0)
(-0.00071625835 0.0033941064 0)
(-0.00072189893 0.0032329256 0)
(-0.00036399139 0.0023226271 0)
(0.00024204382 0.0018114763 0)
(0.00058516861 0.0030188359 0)
(0.00069243943 0.003394878 0)
(0.00065409485 0.0034795516 0)
(0.00055245554 0.003467246 0)
(0.00043498153 0.0034293473 0)
(0.00032213006 0.0033916214 0)
(0.00021990134 0.0033624265 0)
(0.0001276017 0.0033434482 0)
(4.2003863e-05 0.003334171 0)
(-4.2006878e-05 0.0033341706 0)
(-0.00012760444 0.0033434464 0)
(-0.00021990374 0.0033624248 0)
(-0.0003221317 0.0033916195 0)
(-0.00043498257 0.0034293462 0)
(-0.00055245625 0.0034672454 0)
(-0.0006540951 0.0034795512 0)
(-0.00069243937 0.0033948769 0)
(-0.00058516878 0.003018835 0)
(-0.00024204403 0.0018114752 0)
(0.0001367147 0.0014759037 0)
(0.00039888043 0.0027964897 0)
(0.00054702035 0.0033425363 0)
(0.00056877358 0.0035334744 0)
(0.00051469768 0.0035706979 0)
(0.00042651075 0.0035482027 0)
(0.00032782905 0.0035094575 0)
(0.00022964196 0.0034737428 0)
(0.00013543314 0.0034484679 0)
(4.4947801e-05 0.0034356469 0)
(-4.494984e-05 0.0034356464 0)
(-0.00013543482 0.0034484656 0)
(-0.00022964318 0.0034737402 0)
(-0.00032783034 0.0035094545 0)
(-0.00042651157 0.0035482006 0)
(-0.00051469783 0.0035706964 0)
(-0.00056877356 0.0035334732 0)
(-0.00054702018 0.003342535 0)
(-0.00039888046 0.0027964883 0)
(-0.00013671489 0.0014759023 0)
(7.2235253e-05 0.0012723268 0)
(0.00025092344 0.0026000879 0)
(0.00039233823 0.0032505543 0)
(0.00044253495 0.0035313868 0)
(0.00042493712 0.0036241797 0)
(0.00036841394 0.0036290869 0)
(0.00029295855 0.0036003727 0)
(0.00021026563 0.0035661575 0)
(0.00012596283 0.0035394962 0)
(4.2119683e-05 0.0035254149 0)
(-4.2119454e-05 0.0035254142 0)
(-0.00012596288 0.0035394937 0)
(-0.0002102658 0.0035661539 0)
(-0.00029295858 0.0036003692 0)
(-0.00036841352 0.0036290839 0)
(-0.00042493667 0.0036241775 0)
(-0.00044253426 0.003531385 0)
(-0.00039233757 0.003250553 0)
(-0.00025092354 0.0026000867 0)
(-7.223542e-05 0.0012723256 0)
(3.730812e-05 0.0011546609 0)
(0.00015167021 0.0024536846 0)
(0.00026616508 0.0031590857 0)
(0.00032221093 0.0035047576 0)
(0.00032593331 0.0036464543 0)
(0.00029419743 0.0036812793 0)
(0.00024127493 0.0036681726 0)
(0.00017710952 0.0036408747 0)
(0.000107667 0.0036167244 0)
(3.624424e-05 0.0036033471 0)
(-3.6241412e-05 0.0036033461 0)
(-0.00010766456 0.0036167215 0)
(-0.00017710772 0.0036408707 0)
(-0.00024127302 0.0036681689 0)
(-0.00029419531 0.003681276 0)
(-0.00032593159 0.0036464515 0)
(-0.00032220909 0.0035047557 0)
(-0.0002661634 0.0031590846 0)
(-0.00015167001 0.0024536839 0)
(-3.7308481e-05 0.0011546601 0)
(1.9522746e-05 0.0010871839 0)
(9.0558484e-05 0.0023531834 0)
(0.00017487342 0.0030842122 0)
(0.0002249318 0.0034723858 0)
(0.00023817658 0.003651872 0)
(0.00022285382 0.003713532 0)
(0.00018794322 0.0037171251 0)
(0.00014083299 0.0036992256 0)
(8.6780257e-05 0.003679843 0)
(2.9389089e-05 0.0036684249 0)
(-2.9384588e-05 0.0036684239 0)
(-8.6775965e-05 0.0036798399 0)
(-0.00014082919 0.0036992216 0)
(-0.00018793943 0.003717121 0)
(-0.00022285025 0.0037135283 0)
(-0.00023817351 0.0036518693 0)
(-0.0002249292 0.0034723843 0)
(-0.00017487157 0.0030842118 0)
(-9.0557746e-05 0.0023531833 0)
(-1.9522668e-05 0.0010871838 0)
(1.055981e-05 0.0010480149 0)
(5.4292914e-05 0.0022865565 0)
(0.00011298363 0.0030278642 0)
(0.00015290278 0.0034421755 0)
(0.00016847403 0.0036486182 0)
(0.00016274464 0.0037318679 0)
(0.00014074329 0.0037506318 0)
(0.00010745514 0.00374244 0)
(6.7036227e-05 0.0037286401 0)
(2.2826016e-05 0.0037197395 0)
(-2.2820186e-05 0.0037197387 0)
(-6.7030869e-05 0.0037286371 0)
(-0.00010745037 0.0037424361 0)
(-0.00014073867 0.0037506275 0)
(-0.00016274021 0.0037318642 0)
(-0.00016847035 0.0036486158 0)
(-0.00015289963 0.0034421748 0)
(-0.00011298115 0.0030278647 0)
(-5.4291838e-05 0.0022865572 0)
(-1.0559684e-05 0.0010480152 0)
(5.9273828e-06 0.0010248593 0)
(3.2917759e-05 0.0022431884 0)
(7.2483051e-05 0.0029875546 0)
(0.00010227932 0.0034172574 0)
(0.0001166113 0.0036419575 0)
(0.00011585021 0.0037414305 0)
(0.00010245793 0.0037727332 0)
(7.954923e-05 0.0037733068 0)
(5.0183199e-05 0.0037649372 0)
(1.7171272e-05 0.0037586071 0)
(-1.7165262e-05 0.0037586064 0)
(-5.017761e-05 0.0037649344 0)
(-7.9543899e-05 0.0037733033 0)
(-0.00010245268 0.0037727293 0)
(-0.00011584534 0.0037414269 0)
(-0.00011660714 0.0036419553 0)
(-0.00010227577 0.0034172573 0)
(-7.248052e-05 0.0029875558 0)
(-3.2916624e-05 0.00224319 0)
(-5.9270675e-06 0.0010248599 0)
(3.4352212e-06 0.0010109097 0)
(2.0216405e-05 0.0022152115 0)
(4.644325e-05 0.0029596402 0)
(6.7801779e-05 0.0033981677 0)
(7.9579666e-05 0.0036348397 0)
(8.1013691e-05 0.0037459732 0)
(7.3076582e-05 0.003787028 0)
(5.7588824e-05 0.0037948957 0)
(3.6691979e-05 0.0037912886 0)
(1.2610013e-05 0.003787288 0)
(-1.2604511e-05 0.0037872873 0)
(-3.6686582e-05 0.0037912863 0)
(-5.7583485e-05 0.0037948924 0)
(-7.3071773e-05 0.0037870246 0)
(-8.1009113e-05 0.0037459702 0)
(-7.957555e-05 0.0036348379 0)
(-6.7798333e-05 0.0033981679 0)
(-4.6440345e-05 0.0029596421 0)
(-2.0215093e-05 0.0022152137 0)
(-3.4351205e-06 0.0010109102 0)
(2.0381108e-06 0.0010023643 0)
(1.2560621e-05 0.0021971996 0)
(2.981215e-05 0.0029406668 0)
(4.474496e-05 0.0033841789 0)
(5.3820573e-05 0.0036285571 0)
(5.5955766e-05 0.003747833 0)
(5.1349657e-05 0.0037961676 0)
(4.0998201e-05 0.0038097829 0)
(2.635081e-05 0.0038100831 0)
(9.0916124e-06 0.0038080407 0)
(-9.0867724e-06 0.0038080401 0)
(-2.6346157e-05 0.0038100811 0)
(-4.0993921e-05 0.0038097799 0)
(-5.1345405e-05 0.0037961644 0)
(-5.595178e-05 0.0037478305 0)
(-5.3817071e-05 0.0036285559 0)
(-4.4741895e-05 0.0033841796 0)
(-2.9810093e-05 0.0029406696 0)
(-1.2559725e-05 0.0021972023 0)
(-2.0378768e-06 0.0010023647 0)
(1.2257238e-06 0.00099706289 0)
(7.8730666e-06 0.0021855851 0)
(1.9190841e-05 0.002927898 0)
(2.947204e-05 0.0033742029 0)
(3.6192158e-05 0.0036234951 0)
(3.8313187e-05 0.0037483524 0)
(3.56861e-05 0.0038019679 0)
(2.8817254e-05 0.0038199428 0)
(1.8663298e-05 0.003823303 0)
(6.461254e-06 0.0038228238 0)
(-6.4577952e-06 0.0038228233 0)
(-1.8659706e-05 0.0038233011 0)
(-2.8813888e-05 0.0038199404 0)
(-3.5682608e-05 0.0038019653 0)
(-3.8309793e-05 0.0037483502 0)
(-3.6189333e-05 0.0036234945 0)
(-2.9469637e-05 0.0033742043 0)
(-1.9189211e-05 0.0029279014 0)
(-7.8725175e-06 0.0021855881 0)
(-1.2256997e-06 0.00099706334 0)
(7.4047148e-07 0.00099374752 0)
(4.9621841e-06 0.002178077 0)
(1.2385406e-05 0.0029193498 0)
(1.9397544e-05 0.0033672112 0)
(2.4245617e-05 0.0036196253 0)
(2.60669e-05 0.0037482641 0)
(2.4592622e-05 0.0038056348 0)
(2.005478e-05 0.0038268258 0)
(1.3074467e-05 0.0038325026 0)
(4.5401218e-06 0.0038332256 0)
(-4.5375985e-06 0.0038332253 0)
(-1.3071782e-05 0.003832501 0)
(-2.005217e-05 0.0038268242 0)
(-2.4590158e-05 0.0038056328 0)
(-2.6064586e-05 0.0037482627 0)
(-2.4243312e-05 0.0036196255 0)
(-1.9395542e-05 0.0033672133 0)
(-1.2383996e-05 0.0029193539 0)
(-4.9615867e-06 0.0021780803 0)
(-7.4047774e-07 0.00099374797 0)
(4.4552624e-07 0.0009916662 0)
(3.1342509e-06 0.0021732129 0)
(8.0053886e-06 0.0029136442 0)
(1.2759395e-05 0.0033623673 0)
(1.6196175e-05 0.0036167643 0)
(1.76478e-05 0.0037479469 0)
(1.6835107e-05 0.0038079498 0)
(1.3845371e-05 0.0038314647 0)
(9.0778367e-06 0.0038388514 0)
(3.1605914e-06 0.0038404731 0)
(-3.159026e-06 0.0038404729 0)
(-9.0762347e-06 0.0038388501 0)
(-1.3843635e-05 0.0038314634 0)
(-1.6833577e-05 0.0038079483 0)
(-1.7646528e-05 0.003747946 0)
(-1.6194926e-05 0.0036167653 0)
(-1.2758275e-05 0.0033623701 0)
(-8.0045297e-06 0.0029136486 0)
(-3.1341164e-06 0.0021732169 0)
(-4.457102e-07 0.00099166708 0)
(2.6500306e-07 0.00099035971 0)
(1.9781307e-06 0.0021700583 0)
(5.1752914e-06 0.0029098426 0)
(8.3853029e-06 0.0033590381 0)
(1.0792111e-05 0.0036146962 0)
(1.1898605e-05 0.003747582 0)
(1.1460886e-05 0.0038094105 0)
(9.4952626e-06 0.0038345788 0)
(6.2563795e-06 0.0038432032 0)
(2.1831789e-06 0.0038454827 0)
(-2.1824658e-06 0.0038454826 0)
(-6.2558431e-06 0.0038432024 0)
(-9.4944876e-06 0.0038345775 0)
(-1.1460114e-05 0.0038094094 0)
(-1.1898053e-05 0.0037475817 0)
(-1.0791204e-05 0.0036146976 0)
(-8.3843809e-06 0.0033590414 0)
(-5.174568e-06 0.0029098472 0)
(-1.9780323e-06 0.0021700626 0)
(-2.6521982e-07 0.00099036135 0)
(1.5419852e-07 0.00098954274 0)
(1.2432633e-06 0.0021680128 0)
(3.3410311e-06 0.0029073136 0)
(5.5018014e-06 0.0033567631 0)
(7.1723589e-06 0.003613224 0)
(7.992143e-06 0.0037472465 0)
(7.7643485e-06 0.0038103314 0)
(6.4745967e-06 0.0038366617 0)
(4.2847541e-06 0.0038461691 0)
(1.498229e-06 0.0038489221 0)
(-1.4979712e-06 0.0038489219 0)
(-4.2845911e-06 0.0038461686 0)
(-6.474437e-06 0.0038366607 0)
(-7.7641634e-06 0.0038103304 0)
(-7.991911e-06 0.0037472467 0)
(-7.1718838e-06 0.0036132257 0)
(-5.5011729e-06 0.0033567667 0)
(-3.3404411e-06 0.0029073184 0)
(-1.2435776e-06 0.0021680171 0)
(-1.5472177e-07 0.00098954483 0)
(8.6995514e-08 0.0009890358 0)
(7.7622637e-07 0.0021666885 0)
(2.1503333e-06 0.0029056341 0)
(3.6007066e-06 0.0033552156 0)
(4.752525e-06 0.003612188 0)
(5.3482709e-06 0.0037469674 0)
(5.2365095e-06 0.0038109109 0)
(4.3919594e-06 0.0038380502 0)
(2.9175088e-06 0.0038481802 0)
(1.0217446e-06 0.0038512692 0)
(-1.0223542e-06 0.0038512689 0)
(-2.9181755e-06 0.0038481796 0)
(-4.3924761e-06 0.0038380495 0)
(-5.2368579e-06 0.00381091 0)
(-5.3485823e-06 0.0037469674 0)
(-4.7525024e-06 0.0036121894 0)
(-3.6004995e-06 0.0033552192 0)
(-2.1498487e-06 0.0029056394 0)
(-7.7611835e-07 0.0021666933 0)
(-8.7251466e-08 0.00098903805 0)
(4.6328303e-08 0.00098872473 0)
(4.7933248e-07 0.0021658339 0)
(1.3774476e-06 0.0029045217 0)
(2.3485707e-06 0.0033541675 0)
(3.1385087e-06 0.0036114651 0)
(3.5652562e-06 0.0037467478 0)
(3.5162222e-06 0.0038112748 0)
(2.9649061e-06 0.0038389731 0)
(1.9762098e-06 0.0038495377 0)
(6.9302637e-07 0.0038528629 0)
(-6.9407779e-07 0.0038528624 0)
(-1.9775483e-06 0.0038495369 0)
(-2.965993e-06 0.0038389723 0)
(-3.5170461e-06 0.0038112737 0)
(-3.5659496e-06 0.0037467471 0)
(-3.1386984e-06 0.003611466 0)
(-2.3483596e-06 0.0033541705 0)
(-1.3772382e-06 0.0029045269 0)
(-4.7954719e-07 0.0021658394 0)
(-4.662525e-08 0.00098872741 0)
(2.2461387e-08 0.00098853702 0)
(2.9176188e-07 0.0021652854 0)
(8.7680405e-07 0.0029037873 0)
(1.5249472e-06 0.0033534602 0)
(2.0641297e-06 0.0036109644 0)
(2.366755e-06 0.0037465804 0)
(2.3506023e-06 0.0038115026 0)
(1.9922595e-06 0.0038395848 0)
(1.332153e-06 0.0038504503 0)
(4.674909e-07 0.0038539396 0)
(-4.6940704e-07 0.0038539392 0)
(-1.3337846e-06 0.0038504493 0)
(-1.9935167e-06 0.0038395833 0)
(-2.3520714e-06 0.003811501 0)
(-2.3680025e-06 0.0037465791 0)
(-2.0645632e-06 0.0036109647 0)
(-1.5248417e-06 0.0033534625 0)
(-8.7647083e-07 0.0029037921 0)
(-2.9182711e-07 0.002165291 0)
(-2.2692596e-08 0.00098853995 0)
(8.8795063e-09 0.00098842671 0)
(1.7422393e-07 0.0021649359 0)
(5.5337196e-07 0.0029033041 0)
(9.8444981e-07 0.0033529845 0)
(1.3512148e-06 0.0036106194 0)
(1.5645446e-06 0.0037464554 0)
(1.5646047e-06 0.0038116443 0)
(1.3324322e-06 0.0038399888 0)
(8.9368207e-07 0.003851061 0)
(3.1370205e-07 0.0038546638 0)
(-3.1606913e-07 0.0038546635 0)
(-8.9577902e-07 0.0038510599 0)
(-1.3344225e-06 0.0038399867 0)
(-1.5664472e-06 0.0038116423 0)
(-1.5660241e-06 0.0037464536 0)
(-1.3522912e-06 0.0036106189 0)
(-9.8507458e-07 0.003352986 0)
(-5.5352586e-07 0.0029033086 0)
(-1.7418503e-07 0.0021649413 0)
(-8.8778621e-09 0.00098842964 0)
(1.2774961e-09 0.00098836429 0)
(1.0090579e-07 0.0021647155 0)
(3.4550425e-07 0.0029029878 0)
(6.3148661e-07 0.0033526658 0)
(8.8026005e-07 0.0036103831 0)
(1.0296272e-06 0.0037463641 0)
(1.0367773e-06 0.0038117318 0)
(8.8690035e-07 0.0038402544 0)
(5.9654174e-07 0.0038514685 0)
(2.0919996e-07 0.0038551494 0)
(-2.1263365e-07 0.0038551489 0)
(-5.9961441e-07 0.0038514668 0)
(-8.8980026e-07 0.0038402518 0)
(-1.0394984e-06 0.0038117295 0)
(-1.0319089e-06 0.0037463616 0)
(-8.8182863e-07 0.0036103818 0)
(-6.3254795e-07 0.0033526665 0)
(-3.4609107e-07 0.0029029916 0)
(-1.0097474e-07 0.0021647203 0)
(-1.1385007e-09 0.00098836693 0)
(-2.6320211e-09 0.0009883307 0)
(5.5956969e-08 0.0021645779 0)
(2.1317802e-07 0.002902782 0)
(4.0252284e-07 0.0033524534 0)
(5.7046699e-07 0.0036102219 0)
(6.7433131e-07 0.0037462983 0)
(6.8397829e-07 0.0038117859 0)
(5.8792036e-07 0.0038404287 0)
(3.9626144e-07 0.0038517393 0)
(1.3846066e-07 0.0038554736 0)
(-1.4282856e-07 0.003855473 0)
(-4.0053979e-07 0.0038517374 0)
(-5.9195223e-07 0.0038404258 0)
(-6.8786747e-07 0.0038117829 0)
(-6.7785136e-07 0.0037462952 0)
(-5.7304646e-07 0.0036102198 0)
(-4.0415022e-07 0.0033524531 0)
(-2.1437207e-07 0.0029027847 0)
(-5.6432451e-08 0.002164582 0)
(2.8424608e-09 0.00098833279 0)
(-3.9290842e-09 0.00098831437 0)
(2.9699456e-08 0.002164493 0)
(1.2994139e-07 0.0029026487 0)
(2.5480242e-07 0.0033523121 0)
(3.6819864e-07 0.0036101122 0)
(4.4056938e-07 0.0037462511 0)
(4.5016811e-07 0.0038118187 0)
(3.884101e-07 0.0038405427 0)
(2.6197353e-07 0.0038519189 0)
(9.0940418e-08 0.0038556896 0)
(-9.6250561e-08 0.003855689 0)
(-2.675895e-07 0.0038519169 0)
(-3.9389655e-07 0.0038405398 0)
(-4.5516962e-07 0.0038118156 0)
(-4.4504725e-07 0.0037462475 0)
(-3.7197541e-07 0.0036101093 0)
(-2.5756068e-07 0.0033523109 0)
(-1.3171773e-07 0.0029026504 0)
(-3.0177908e-08 0.0021644964 0)
(4.0945288e-09 0.00098831592 0)
(-4.2274353e-09 0.00098830788 0)
(1.4724e-08 0.0021644413 0)
(7.8690301e-08 0.0029025624 0)
(1.6122936e-07 0.0033522184 0)
(2.3805473e-07 0.003610038 0)
(2.8795995e-07 0.0037462175 0)
(2.961291e-07 0.0038118385 0)
(2.5629864e-07 0.0038406173 0)
(1.7257373e-07 0.0038520382 0)
(5.8852592e-08 0.0038558338 0)
(-6.5862698e-08 0.003855833 0)
(-1.7983857e-07 0.0038520363 0)
(-2.6281089e-07 0.0038406145 0)
(-3.019863e-07 0.0038118355 0)
(-2.9348623e-07 0.0037462138 0)
(-2.4299609e-07 0.0036100344 0)
(-1.6530804e-07 0.003352216 0)
(-8.1254805e-08 0.002902563 0)
(-1.5337206e-08 0.0021644438 0)
(4.441581e-09 0.00098830897 0)
(-3.6551005e-09 0.0009883063 0)
(6.9672714e-09 0.00216441 0)
(4.8492813e-08 0.0029025065 0)
(1.0360894e-07 0.0033521558 0)
(1.5573958e-07 0.0036099878 0)
(1.9010104e-07 0.0037461941 0)
(1.9612899e-07 0.0038118511 0)
(1.699494e-07 0.0038406669 0)
(1.1407768e-07 0.0038521179 0)
(3.7836943e-08 0.0038559302 0)
(-4.5866055e-08 0.0038559295 0)
(-1.2231442e-07 0.0038521161 0)
(-1.7798604e-07 0.0038406639 0)
(-2.0375565e-07 0.0038118476 0)
(-1.9714377e-07 0.0037461899 0)
(-1.6215516e-07 0.0036099833 0)
(-1.0875659e-07 0.0033521526 0)
(-5.1676922e-08 0.0029025056 0)
(-7.9098485e-09 0.002164411 0)
(3.810675e-09 0.00098830697 0)
(-2.6874728e-09 0.00098830642 0)
(4.1120026e-09 0.00216439 0)
(3.2304871e-08 0.0029024692 0)
(7.0393411e-08 0.0033521135 0)
(1.0604333e-07 0.0036099536 0)
(1.2927224e-07 0.0037461784 0)
(1.3329554e-07 0.0038118598 0)
(1.1508674e-07 0.0038407006 0)
(7.6666129e-08 0.0038521719 0)
(2.4218497e-08 0.0038559959 0)
(-3.3176814e-08 0.0038559952 0)
(-8.5482245e-08 0.0038521702 0)
(-1.2389877e-07 0.0038406975 0)
(-1.4181616e-07 0.003811856 0)
(-1.3724219e-07 0.0037461736 0)
(-1.1320752e-07 0.0036099485 0)
(-7.6351419e-08 0.0033521093 0)
(-3.6444639e-08 0.0029024665 0)
(-5.3003873e-09 0.0021643891 0)
(2.9454445e-09 0.0009883067 0)
(-1.4013757e-09 0.00098830629 0)
(4.9406733e-09 0.0021643753 0)
(2.6709372e-08 0.0029024426 0)
(5.429687e-08 0.0033520843 0)
(7.8866715e-08 0.0036099305 0)
(9.4001747e-08 0.0037461686 0)
(9.5357928e-08 0.0038118669 0)
(8.1117821e-08 0.0038407248 0)
(5.3198976e-08 0.0038522101 0)
(1.5531394e-08 0.0038560417 0)
(-2.5628698e-08 0.003856041 0)
(-6.3112358e-08 0.0038522082 0)
(-9.1064039e-08 0.0038407215 0)
(-1.0499847e-07 0.0038118628 0)
(-1.0339974e-07 0.003746163 0)
(-8.7354555e-08 0.0036099246 0)
(-6.1069195e-08 0.0033520785 0)
(-3.1341519e-08 0.0029024382 0)
(-6.3293754e-09 0.0021643727 0)
(1.6708774e-09 0.00098830581 0)
(2.0910498e-10 0.00098830483 0)
(9.3182763e-09 0.0021643623 0)
(2.9987267e-08 0.0029024222 0)
(5.1366622e-08 0.0033520633 0)
(6.835932e-08 0.0036099157 0)
(7.7071963e-08 0.0037461639 0)
(7.5026491e-08 0.0038118746 0)
(6.2071018e-08 0.0038407446 0)
(3.9502963e-08 0.0038522395 0)
(1.0155015e-08 0.0038560761 0)
(-2.143387e-08 0.0038560756 0)
(-5.0350252e-08 0.0038522372 0)
(-7.2728012e-08 0.0038407411 0)
(-8.5704841e-08 0.0038118702 0)
(-8.728995e-08 0.0037461578 0)
(-7.7612472e-08 0.0036099087 0)
(-5.8700871e-08 0.0033520563 0)
(-3.4497117e-08 0.0029024158 0)
(-1.0855854e-08 0.0021643578 0)
(-2.3242794e-10 0.0009883032 0)
(2.7352109e-09 0.00098830484 0)
(1.7036112e-08 0.0021643533 0)
(4.028521e-08 0.0029024101 0)
(5.9048556e-08 0.0033520541 0)
(7.0363344e-08 0.0036099132 0)
(7.3186342e-08 0.0037461703 0)
(6.7225302e-08 0.0038118902 0)
(5.2893121e-08 0.003840769 0)
(3.2244492e-08 0.0038522705 0)
(7.4140894e-09 0.0038561107 0)
(-1.9344872e-08 0.0038561101 0)
(-4.4302737e-08 0.0038522684 0)
(-6.4670613e-08 0.0038407658 0)
(-7.8719355e-08 0.0038118859 0)
(-8.4189271e-08 0.0037461639 0)
(-8.0145185e-08 0.0036099053 0)
(-6.6921607e-08 0.0033520453 0)
(-4.5597273e-08 0.0029024013 0)
(-1.916936e-08 0.0021643464 0)
(-2.9370221e-09 0.00098830231 0)
(7.7304629e-09 0.00098828225 0)
(3.1274535e-08 0.0021643213 0)
(5.960986e-08 0.0029023819 0)
(7.6160303e-08 0.0033520336 0)
(8.1987403e-08 0.0036099011 0)
(7.8784913e-08 0.0037461663 0)
(6.7706798e-08 0.0038118933 0)
(5.050758e-08 0.003840778 0)
(2.9236217e-08 0.0038522836 0)
(5.6735815e-09 0.0038561261 0)
(-1.8722042e-08 0.0038561253 0)
(-4.2325143e-08 0.0038522816 0)
(-6.3390837e-08 0.0038407747 0)
(-8.0050697e-08 0.0038118886 0)
(-9.0132241e-08 0.0037461592 0)
(-9.2036302e-08 0.0036098921 0)
(-8.423042e-08 0.0033520228 0)
(-6.494018e-08 0.0029023705 0)
(-3.3543885e-08 0.0021643118 0)
(-8.0597638e-09 0.00098827898 0)
(1.9228937e-08 0.00098825062 0)
(5.5046765e-08 0.0021642583 0)
(8.3773557e-08 0.0029023287 0)
(9.6097268e-08 0.0033519923 0)
(9.6310077e-08 0.0036098697 0)
(8.7431139e-08 0.0037461424 0)
(7.1423755e-08 0.0038118747 0)
(5.1023814e-08 0.0038407625 0)
(2.8634616e-08 0.0038522702 0)
(4.7854455e-09 0.0038561135 0)
(-1.9345668e-08 0.0038561126 0)
(-4.2822144e-08 0.0038522678 0)
(-6.5005638e-08 0.0038407589 0)
(-8.4586808e-08 0.0038118689 0)
(-9.9412171e-08 0.0037461339 0)
(-1.0703946e-07 0.0036098589 0)
(-1.0478648e-07 0.0033519793 0)
(-8.9615721e-08 0.0029023143 0)
(-5.75448e-08 0.002164246 0)
(-1.9561349e-08 0.00098824616 0)
(2.4321946e-08 0.00098816362 0)
(6.476766e-08 0.0021642149 0)
(9.1134153e-08 0.0029023113 0)
(1.0135648e-07 0.0033519962 0)
(1.0002658e-07 0.0036098908 0)
(8.9169559e-08 0.0037461776 0)
(7.1326225e-08 0.0038119192 0)
(4.9898855e-08 0.0038408122 0)
(2.7276801e-08 0.0038523214 0)
(4.178925e-09 0.0038561654 0)
(-1.9035982e-08 0.0038561646 0)
(-4.1993694e-08 0.0038523189 0)
(-6.4549806e-08 0.003840808 0)
(-8.5211116e-08 0.0038119115 0)
(-1.0135141e-07 0.0037461674 0)
(-1.1063352e-07 0.0036098782 0)
(-1.1045004e-07 0.0033519801 0)
(-9.7407582e-08 0.0029022929 0)
(-6.7684252e-08 0.0021641986 0)
(-2.5040021e-08 0.00098815705 0)
)
;
boundaryField
{
Wall
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
atmosphere
{
type pressureInletOutletVelocity;
value nonuniform List<vector>
20
(
(2.4321946e-08 0.00098816362 0)
(6.476766e-08 0.0021642149 0)
(9.1134153e-08 0.0029023113 0)
(1.0135648e-07 0.0033519962 0)
(1.0002658e-07 0.0036098908 0)
(8.9169559e-08 0.0037461776 0)
(7.1326225e-08 0.0038119192 0)
(4.9898855e-08 0.0038408122 0)
(2.7276801e-08 0.0038523214 0)
(4.178925e-09 0.0038561654 0)
(-1.9035982e-08 0.0038561646 0)
(-4.1993694e-08 0.0038523189 0)
(-6.4549806e-08 0.003840808 0)
(-8.5211116e-08 0.0038119115 0)
(-1.0135141e-07 0.0037461674 0)
(-1.1063352e-07 0.0036098782 0)
(-1.1045004e-07 0.0033519801 0)
(-9.7407582e-08 0.0029022929 0)
(-6.7684252e-08 0.0021641986 0)
(-2.5040021e-08 0.00098815705 0)
)
;
}
}
// ************************************************************************* //
| [
"mohsenk@outlook.com"
] | mohsenk@outlook.com | |
6cd72988cb37f842e5f057ec741eb5f1db7c2984 | 5bb3a45942b6c6812c93a7ebcebc69f05d4581cc | /demo/src/main.cpp | a9712f72932b35c8af0734faea44cf6583721bb8 | [] | no_license | fenghaotong/cmake-study | de5ff51a46f4e5335c65de46a728cb8efd322c32 | a127e51d83ed320523240655d1eed399ee95d5fa | refs/heads/master | 2023-07-18T15:58:49.816077 | 2021-09-17T03:19:46 | 2021-09-17T03:19:46 | 393,227,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,753 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <winsock2.h>
#include <iphlpapi.h>
// Link with Iphlpapi.lib
#pragma comment(lib, "IPHLPAPI.lib")
#define WORKING_BUFFER_SIZE 15000
#define MAX_TRIES 3
#define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x))
#define FREE(x) HeapFree(GetProcessHeap(), 0, (x))
using namespace std;
/* Note: could also use malloc() and free() */
int __cdecl main(int argc, char **argv)
{
/* Declare and initialize variables */
DWORD dwSize = 0;
DWORD dwRetVal = 0;
unsigned int i = 0;
// Set the flags to pass to GetAdaptersAddresses
ULONG flags = GAA_FLAG_INCLUDE_PREFIX;
// default to unspecified address family (both)
ULONG family = AF_UNSPEC;
LPVOID lpMsgBuf = NULL;
PIP_ADAPTER_ADDRESSES pAddresses = NULL;
ULONG outBufLen = 0;
ULONG Iterations = 0;
PIP_ADAPTER_ADDRESSES pCurrAddresses = NULL;
PIP_ADAPTER_UNICAST_ADDRESS pUnicast = NULL;
PIP_ADAPTER_ANYCAST_ADDRESS pAnycast = NULL;
PIP_ADAPTER_MULTICAST_ADDRESS pMulticast = NULL;
IP_ADAPTER_DNS_SERVER_ADDRESS *pDnServer = NULL;
IP_ADAPTER_PREFIX *pPrefix = NULL;
if (argc != 2) {
printf(" Usage: getadapteraddresses family\n");
printf(" getadapteraddresses 4 (for IPv4)\n");
printf(" getadapteraddresses 6 (for IPv6)\n");
printf(" getadapteraddresses A (for both IPv4 and IPv6)\n");
exit(1);
}
if (atoi(argv[1]) == 4)
family = AF_INET;
else if (atoi(argv[1]) == 6)
family = AF_INET6;
printf("Calling GetAdaptersAddresses function with family = ");
if (family == AF_INET)
printf("AF_INET\n");
if (family == AF_INET6)
printf("AF_INET6\n");
if (family == AF_UNSPEC)
printf("AF_UNSPEC\n\n");
// Allocate a 15 KB buffer to start with.
outBufLen = WORKING_BUFFER_SIZE;
do {
pAddresses = (IP_ADAPTER_ADDRESSES *) MALLOC(outBufLen);
if (pAddresses == NULL) {
printf
("Memory allocation failed for IP_ADAPTER_ADDRESSES struct\n");
exit(1);
}
dwRetVal =
GetAdaptersAddresses(family, flags, NULL, pAddresses, &outBufLen);
if (dwRetVal == ERROR_BUFFER_OVERFLOW) {
FREE(pAddresses);
pAddresses = NULL;
} else {
break;
}
Iterations++;
} while ((dwRetVal == ERROR_BUFFER_OVERFLOW) && (Iterations < MAX_TRIES));
DWORD recvTotal, sendTotal;
recvTotal = sendTotal = 0;
if (dwRetVal == NO_ERROR) {
// If successful, output some information from the data we received
pCurrAddresses = pAddresses;
while (pCurrAddresses) {
MIB_IFROW *pIfRow = NULL;
pIfRow = (MIB_IFROW *) malloc(sizeof(MIB_IFROW));
SecureZeroMemory((PVOID)pIfRow, sizeof(MIB_IFROW));
pIfRow->dwIndex = pCurrAddresses->IfIndex;
int dwRetVal = GetIfEntry(pIfRow);
cout << "***************sent:" << pIfRow->dwOutOctets << "***************recv:" << pIfRow->dwInOctets << endl;
recvTotal += pIfRow->dwInOctets;
sendTotal += pIfRow->dwOutOctets;
printf("\tLength of the IP_ADAPTER_ADDRESS struct: %ld\n",
pCurrAddresses->Length);
printf("\tIfIndex (IPv4 interface): %u\n", pCurrAddresses->IfIndex);
printf("\tAdapter name: %s\n", pCurrAddresses->AdapterName);
pUnicast = pCurrAddresses->FirstUnicastAddress;
if (pUnicast != NULL) {
for (i = 0; pUnicast != NULL; i++)
pUnicast = pUnicast->Next;
printf("\tNumber of Unicast Addresses: %d\n", i);
} else
printf("\tNo Unicast Addresses\n");
pAnycast = pCurrAddresses->FirstAnycastAddress;
if (pAnycast) {
for (i = 0; pAnycast != NULL; i++)
pAnycast = pAnycast->Next;
printf("\tNumber of Anycast Addresses: %d\n", i);
} else
printf("\tNo Anycast Addresses\n");
pMulticast = pCurrAddresses->FirstMulticastAddress;
if (pMulticast) {
for (i = 0; pMulticast != NULL; i++)
pMulticast = pMulticast->Next;
printf("\tNumber of Multicast Addresses: %d\n", i);
} else
printf("\tNo Multicast Addresses\n");
pDnServer = pCurrAddresses->FirstDnsServerAddress;
if (pDnServer) {
for (i = 0; pDnServer != NULL; i++)
pDnServer = pDnServer->Next;
printf("\tNumber of DNS Server Addresses: %d\n", i);
} else
printf("\tNo DNS Server Addresses\n");
printf("\tDNS Suffix: %wS\n", pCurrAddresses->DnsSuffix);
printf("\tDescription: %wS\n", pCurrAddresses->Description);
printf("\tFriendly name: %wS\n", pCurrAddresses->FriendlyName);
if (pCurrAddresses->PhysicalAddressLength != 0) {
printf("\tPhysical address: ");
for (i = 0; i < (int) pCurrAddresses->PhysicalAddressLength;
i++) {
if (i == (pCurrAddresses->PhysicalAddressLength - 1))
printf("%.2X\n",
(int) pCurrAddresses->PhysicalAddress[i]);
else
printf("%.2X-",
(int) pCurrAddresses->PhysicalAddress[i]);
}
}
printf("\tFlags: %ld\n", pCurrAddresses->Flags);
printf("\tMtu: %lu\n", pCurrAddresses->Mtu);
printf("\tIfType: %ld\n", pCurrAddresses->IfType);
printf("\tOperStatus: %ld\n", pCurrAddresses->OperStatus);
printf("\tIpv6IfIndex (IPv6 interface): %u\n",
pCurrAddresses->Ipv6IfIndex);
printf("\tZoneIndices (hex): ");
for (i = 0; i < 16; i++)
printf("%lx ", pCurrAddresses->ZoneIndices[i]);
printf("\n");
printf("\tTransmit link speed: %I64u\n", pCurrAddresses->TransmitLinkSpeed);
printf("\tReceive link speed: %I64u\n", pCurrAddresses->ReceiveLinkSpeed);
pPrefix = pCurrAddresses->FirstPrefix;
if (pPrefix) {
for (i = 0; pPrefix != NULL; i++)
pPrefix = pPrefix->Next;
printf("\tNumber of IP Adapter Prefix entries: %d\n", i);
} else
printf("\tNumber of IP Adapter Prefix entries: 0\n");
printf("\n");
free(pIfRow);
pCurrAddresses = pCurrAddresses->Next;
}
} else {
printf("Call to GetAdaptersAddresses failed with error: %d\n",
dwRetVal);
if (dwRetVal == ERROR_NO_DATA)
printf("\tNo addresses were found for the requested parameters\n");
else {
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, dwRetVal, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
// Default language
(LPTSTR) & lpMsgBuf, 0, NULL)) {
printf("\tError: %s", lpMsgBuf);
LocalFree(lpMsgBuf);
if (pAddresses)
FREE(pAddresses);
exit(1);
}
}
}
cout << "***************sentTotal:" << sendTotal << "***************recvTotal:" << recvTotal << endl;
if (pAddresses) {
FREE(pAddresses);
}
return 0;
} | [
"fenghaotong@datagrand.com"
] | fenghaotong@datagrand.com |
72aca89ebde83415e199a363b809c4ec1729d195 | cfa21acecb795e3dc168efa9029ecf86cd058d3f | /ConvexHull/main.cpp | e27ac0496e3bf2068489e682d3439c241f8b3823 | [] | no_license | kbjjun0707/Algorithm | 88c74770a25475bd2579a1b50f22e85a6de70ebe | 2a0c66dc616d830a2122a9ed61c1afb5f954b934 | refs/heads/master | 2021-01-19T20:11:58.586894 | 2017-04-18T02:46:35 | 2017-04-18T02:46:35 | 88,494,693 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,651 | cpp | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
struct Point2f {
float x, y;
Point2f(const Point2f &src) {
this->x = src.x; this->y = src.y;
}
Point2f(float x = 0, float y = 0) {
this->x = x; this->y = y;
}
Point2f operator-(const Point2f &b) {
return Point2f(this->x - b.x, this->y - b.y);
}
void operator=(const Point2f &b) {
this->x = b.x; this->y = b.y;
}
};
bool LeftBottomComp(const Point2f &a, const Point2f &b) {
if (a.x == b.x)
return a.y < b.y;
return a.x < b.x;
}
Point2f g_stdPt;
bool AngleComp(const Point2f &a, const Point2f &b) {
if (((a.y - g_stdPt.y) / (a.x - g_stdPt.x)) == ((b.y - g_stdPt.y) / (b.x - g_stdPt.x))) {
return (((a.y - g_stdPt.y)*(a.y - g_stdPt.y) + (a.x - g_stdPt.x)*(a.x - g_stdPt.x)) <
((b.y - g_stdPt.y)*(b.y - g_stdPt.y) + (b.x - g_stdPt.x)*(b.x - g_stdPt.x)));
}
return (((a.y - g_stdPt.y) / (a.x - g_stdPt.x)) < ((b.y - g_stdPt.y) / (b.x - g_stdPt.x)));
}
// u, v는 벡터
int det(const Point2f &u, const Point2f &v) {
return ((u.x * v.y) - (u.y * v.x));
}
// det < 0 이면 ccw, det > 0 cw, det == 0 평행
int det(Point2f &a, Point2f &b, Point2f &c) {
return det(Point2f(b - a), Point2f(c - b));
}
void convexHull(const std::vector<Point2f> &p_Datas, std::vector<Point2f> &dst, std::vector<Point2f> &noncoverage = std::vector<Point2f>()) {
dst.clear();
noncoverage.clear();
int size = p_Datas.size();
if (size <= 3) {
for (auto it : p_Datas)
dst.push_back(it);
return;
}
std::vector<Point2f> Datas;
for (auto it : p_Datas)
Datas.push_back(it);
std::sort(Datas.begin(), Datas.end(), LeftBottomComp);
g_stdPt = Datas[0]; // 각도를 구할기준점 설정
std::sort(Datas.begin()+1, Datas.end(), AngleComp);
Point2f p1 = Datas[0], p2 = Datas[1], p3;
dst.push_back(p1);
dst.push_back(p2);
// i == 정렬된 배열의 인덱스
// top == convexhull로 판단, 저장하는 배열의 맨 위 인덱스
int i = 2, top = 1;
while (i < size) {
p1 = dst[top - 1];
p2 = dst[top - 0];
p3 = Datas[i];
if (det(p1, p2, p3) >= 0) {
dst.push_back(p3);
i++;
top++;
} else {
noncoverage.push_back(dst.back());
dst.pop_back();
top--;
}
}
}
int main() {
FILE *fp;
fopen_s(&fp, "input.txt", "r");
int num = 0;
float a, b;
fscanf_s(fp, "%d", &num);
std::vector<Point2f> datas; // 점들 저장소
for (int i = 0; i < num; i++) {
fscanf_s(fp, "%f %f", &a, &b);
datas.push_back(Point2f(a, b));
}
fclose(fp);
std::vector<Point2f> convexhullPoints;
convexHull(datas, convexhullPoints);
for (auto it : convexhullPoints) {
cout << it.x << ", " << it.y << endl;
}
return 0;
} | [
"kbjjun0707@naver.com"
] | kbjjun0707@naver.com |
4daa820e8e0392268c3bd4888472f653e5dfb47f | 0c51500f87101f13c471f0c310e9451a87adc714 | /nfdrs/cnfdrs.h | 9509a570e6e509f3ad755f97b768c8b01619491b | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | firelab/wfips | a5e589fde41579e87008a7900a87692ec985e529 | 6b3bd4934d281ebb31164bd242a57079a82053b0 | refs/heads/master | 2020-05-01T06:03:41.792664 | 2017-01-27T19:31:55 | 2017-01-27T19:31:55 | 14,540,320 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,747 | h | /******************************************************************************
*
* $Id: cnfdrs.h 79 2012-07-26 15:36:43Z kyle.shannon $
*
* Project: NFDRS library
* Purpose:
* Author: Stu Britan <stu at fire dot org>
*
******************************************************************************
*
* THIS SOFTWARE WAS DEVELOPED AT THE ROCKY MOUNTAIN RESEARCH STATION (RMRS)
* MISSOULA FIRE SCIENCES LABORATORY BY EMPLOYEES OF THE FEDERAL GOVERNMENT
* IN THE COURSE OF THEIR OFFICIAL DUTIES. PURSUANT TO TITLE 17 SECTION 105
* OF THE UNITED STATES CODE, THIS SOFTWARE IS NOT SUBJECT TO COPYRIGHT
* PROTECTION AND IS IN THE PUBLIC DOMAIN. RMRS MISSOULA FIRE SCIENCES
* LABORATORY ASSUMES NO RESPONSIBILITY WHATSOEVER FOR ITS USE BY OTHER
* PARTIES, AND MAKES NO GUARANTEES, EXPRESSED OR IMPLIED, ABOUT ITS QUALITY,
* RELIABILITY, OR ANY OTHER CHARACTERISTIC.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*****************************************************************************/
/*
#ifdef BUILD_CNFDRSDLL
#define CNFDRSDLL_EXPORT __declspec(dllexport)
#else
#define CNFDRSDLL_EXPORT __declspec(dllimport)
#endif
#pragma once
*/
#ifdef WIN32
#ifdef nfdrs_EXPORTS
#define CNFDRSDLL_EXPORT __declspec(dllexport)
#else
#define CNFDRSDLL_EXPORT __declspec(dllimport)
#endif
#else
#define CNFDRSDLL_EXPORT
#endif
typedef const char* LPCSTR;
class NFDRCalc;
class CNFDRSDLL_EXPORT CNFDRS
{
public:
CNFDRS();
~CNFDRS();
double fCalcDaylightHours(short iLat, short iJulian);
short iCalcIndexes(short iWS, short iSlopeCls, double * fROS, int * iSC, double * fERC, double * fFL, int * iFIL, int * iBI);
short iCalcAdjustMC1(short iMonth, short iExposure, short iAspect, short iSite, short iSlope30, short iHour);
short iCalcIC(short iTemp, short iSOW, double fMC1, double fROS, int * iIC);
short iDoAdjustMC1(short iAdjust);
short iGetFuelBed(int * iSA1, int * iSA10, int * iSA100, int * iSA1000, int * iSAWOOD, int * iSAHERB, double * fW1,
double * fW10, double * fW100, double * fW1000, double * fWWOOD, double * fWHERB, double * fWDROUGHT,
double * fDEPTH, int * iMXD, int * iHD, int * iSCM, double * fWNDFC, double * fWNDFCMin, double * fWNDFCMax);
short iGetFuelModel(int * iFM);
short iSetFuelBed(short iSA1, short iSA10, short iSA100, short iSA1000, short iSAWOOD, short iSAHERB, double fW1, double fW10, double fW100, double fW1000, double fWWOOD, double fWHERB, double fWDROUGHT, double fWDEPTH, short iMXD, short iHD, short iSCM, double fWNDFC, double fWNDFCMin, double fWNDFCMax);
short iSetFuelModel(short iFM, short iNFMAS);
short iSetMoistures(double fMC1, double fMC10, double fMC100, double fMC1000, double fMCWood, double fMCHerb, short iRainEvent, short iKBDI, short iGreenHerb, short iGreenWoody, short iSeason, short iSOW);
short iInitialize(short iNFDRSVersion, short iClimateClass, short iJulianLookFreeze, short iJulianGreenUp, short iLat, short iHerbAnnual, short iWoodyDeciduous, short iOneIsTen, double fStart100, double fStart1000, short iStartKBDI, double fAvgPrecip);
short iCalcMoist(short iInit, short iTemp, short iRH, short iMaxTemp, short iMaxRH, short iMinTemp, short iMinRH,
short iPrecipDur, double fPrecipAmt, short iSOW, double f10stick, short iJulian, short iYear,
short iDeclareGreenUp, short iDeclareFreeze, short iGreenHerb, short iGreenWoody, short iSeason,
double * f1, double * f10, double * f100, double * f1000, double * fHerb, double * fWood,
int * iStage, double * fGren, double * fX1000, int * iRainEvent, int * iKBDI);
short iCalcKBDI(double fPrecipAmt, short iMaxTemp, double fCummPrecip, short iYKBDI, double fAvgPrecip);
short LoadState(LPCSTR fileName);
short SaveState(LPCSTR fileName);
double GetL1();
double GetL10();
double GetL100();
double GetL1000();
double GetLHerb();
double GetLWood();
double GetLDrought();
short GetSG1();
short GetSG10();
short GetSG100();
short GetSG1000();
short GetSGHerb();
short GetSGWood();
short GetHD();
short GetMXD();
short GetSCM();
double GetWindFC();
double GetDepth();
short SetNFDRSVersion(short version);
short iCalcMoistWetFlag(short iInit, short iTemp, short iRH, short iMaxTemp, short iMaxRH, short iMinTemp,
short iMinRH, short iPrecipDur, double fPrecipAmt, short iSOW, double f10stick, short iJulian, short iYear,
short iDeclareGreenUp, short iDeclareFreeze, short iGreenHerb, short iGreenWoody, short iSeason,
int iWetFlag, double * f1, double * f10, double * f100, double * f1000, double * fHerb, double * fWood,
int * iStage, double * fGren, double * fX1000, int * iRainEvent, int * iKBDI);
short iSetAnnualInit(short iJulianGreenUp, double fStart1000, short iStartKBDI);
short iSetJulianShrubDormant(short iJulianDormant);
private:
NFDRCalc *m_nfdrs;
};
| [
"kyle@pobox.com"
] | kyle@pobox.com |
6a1f8976f72c2db220066272b0d384da21fef1e2 | 4a8f783118bd1bba8023f5dbd499b08e1822ce93 | /src/Domain/ElementLogicalCoordinates.cpp | 052fed6230e849f927b1a6bf293400c85cce6506 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | denyzamelchor/spectre | 8db0757005dea9bb53cd7bd68ee8d11551705da4 | 1c1b72fbf464827788dbbdb8782a8251a2921c48 | refs/heads/develop | 2020-04-26T05:57:25.244454 | 2019-06-22T04:11:17 | 2019-06-22T04:11:17 | 155,779,028 | 0 | 0 | NOASSERTION | 2018-11-01T21:38:07 | 2018-11-01T21:38:06 | null | UTF-8 | C++ | false | false | 4,549 | cpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "ElementLogicalCoordinates.hpp"
#include <array>
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>
#include "DataStructures/IdPair.hpp"
#include "DataStructures/Tensor/Tensor.hpp" // IWYU pragma: keep
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Domain/BlockId.hpp" // IWYU pragma: keep
#include "Domain/ElementId.hpp" // IWYU pragma: keep
#include "Domain/Side.hpp"
#include "Utilities/GenerateInstantiations.hpp"
#include "Utilities/Gsl.hpp"
#include "Utilities/MakeArray.hpp"
namespace {
// Define this alias so we don't need to keep typing this monster.
template <size_t Dim>
using block_logical_coord_holder =
IdPair<domain::BlockId, tnsr::I<double, Dim, typename ::Frame::Logical>>;
} // namespace
template <size_t Dim>
std::unordered_map<ElementId<Dim>, ElementLogicalCoordHolder<Dim>>
element_logical_coordinates(const std::vector<ElementId<Dim>>& element_ids,
const std::vector<block_logical_coord_holder<Dim>>&
block_coord_holders) noexcept {
// Temporarily put results here in data structures that allow
// push_back, because we don't know the sizes of the output
// DataVectors ahead of time.
std::vector<std::array<std::vector<double>, Dim>> x_element_logical(
element_ids.size());
std::vector<std::vector<size_t>> offsets(element_ids.size());
// Loop over points
for (size_t offset = 0; offset < block_coord_holders.size(); ++offset) {
const auto& block_id = block_coord_holders[offset].id;
const auto& x_block_logical = block_coord_holders[offset].data;
// Need to loop over elements, because the block doesn't know
// things like the refinement_level of each element.
for (size_t index = 0; index < element_ids.size(); ++index) {
const auto& element_id = element_ids[index];
if (element_id.block_id() == block_id.get_index()) {
// This element is in this block; now check if the point is in
// this element.
bool is_contained = true;
auto x_elem = make_array<Dim>(0.0);
for (size_t d = 0; d < Dim; ++d) {
const double up =
gsl::at(element_id.segment_ids(), d).endpoint(Side::Upper);
const double lo =
gsl::at(element_id.segment_ids(), d).endpoint(Side::Lower);
const double x_block_log = x_block_logical.get(d);
if (x_block_log < lo or x_block_log > up) {
is_contained = false;
break;
}
// Map to element coords
gsl::at(x_elem, d) = (2.0 * x_block_log - up - lo) / (up - lo);
}
if (is_contained) {
for (size_t d = 0; d < Dim; ++d) {
gsl::at(x_element_logical[index], d).push_back(gsl::at(x_elem, d));
}
offsets[index].push_back(offset);
// Found a matching element, so we don't need to check other
// elements.
break;
}
}
}
}
// Now we know how many points are in each element, so we can
// put the intermediate results into the final data structure.
std::unordered_map<ElementId<Dim>, ElementLogicalCoordHolder<Dim>> result;
for (size_t index = 0; index < element_ids.size(); ++index) {
const size_t num_grid_pts = x_element_logical[index][0].size();
if (num_grid_pts > 0) {
tnsr::I<DataVector, Dim, Frame::Logical> tmp(num_grid_pts);
std::vector<size_t> off(num_grid_pts);
for (size_t s = 0; s < num_grid_pts; ++s) {
for (size_t d = 0; d < Dim; ++d) {
tmp.get(d)[s] = gsl::at(x_element_logical[index], d)[s];
}
off[s] = offsets[index][s];
}
result.emplace(element_ids[index], ElementLogicalCoordHolder<Dim>{
std::move(tmp), std::move(off)});
}
}
return result;
}
/// \cond
#define DIM(data) BOOST_PP_TUPLE_ELEM(0, data)
#define INSTANTIATE(_, data) \
template std::unordered_map<ElementId<DIM(data)>, \
ElementLogicalCoordHolder<DIM(data)>> \
element_logical_coordinates( \
const std::vector<ElementId<DIM(data)>>& element_ids, \
const std::vector<block_logical_coord_holder<DIM(data)>>& \
block_coord_holders) noexcept;
GENERATE_INSTANTIATIONS(INSTANTIATE, (1, 2, 3))
#undef DIM
#undef INSTANTIATE
/// \endcond
| [
"scheel@tapir.caltech.edu"
] | scheel@tapir.caltech.edu |
64cac577d618f25b4934cda55bd45dedbc869e88 | 66a237cf903be1caacfc0e4098431bbdf7088fc8 | /external/GamePlay/gameplay/src/Node.h | 229ddfc02ddb23648a2b1238c67865506d5eb5b2 | [
"Apache-2.0"
] | permissive | brucelevis/platformer | 95abcb0f63adf64d7f641ba2239b7adb12c1903f | 9d794338ac4d18ac439b5b47bab3cfeb538f79bb | refs/heads/master | 2023-03-20T07:29:48.784013 | 2017-09-03T16:48:06 | 2017-09-03T16:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,051 | h | #ifndef NODE_H_
#define NODE_H_
#include "Transform.h"
#include "ScriptTarget.h"
#include "Model.h"
#include "Sprite.h"
#include "TileSet.h"
#include "Text.h"
#include "Form.h"
#include "ParticleEmitter.h"
#include "Camera.h"
#include "Light.h"
#include "PhysicsRigidBody.h"
#include "PhysicsCollisionObject.h"
#include "BoundingBox.h"
#include "AIAgent.h"
namespace gameplay
{
class Scene;
class Camera;
class Light;
class AudioSource;
class AIAgent;
class Drawable;
/**
* Defines a hierarchical structure of objects in 3D transformation spaces.
*
* This object allow you to attach components to a scene such as:
* Drawable's(Model, Camera, Light, PhysicsCollisionObject, AudioSource, etc.
*
* @see http://gameplay3d.github.io/GamePlay/docs/file-formats.html#wiki-Node
*/
class Node : public Transform, public Ref
{
friend class Scene;
friend class SceneLoader;
friend class Bundle;
friend class MeshSkin;
friend class Light;
GP_SCRIPT_EVENTS_START();
GP_SCRIPT_EVENT(update, "<Node>f");
GP_SCRIPT_EVENT(messageReceived, "<Node><AIMessage>");
GP_SCRIPT_EVENT(stateEnter, "<Node><AIState>");
GP_SCRIPT_EVENT(stateExit, "<Node><AIState>");
GP_SCRIPT_EVENT(stateUpdate, "<Node><AIState>f");
GP_SCRIPT_EVENTS_END();
public:
/**
* Defines the types of nodes.
*/
enum Type
{
NODE = 1,
JOINT
};
/**
* Creates a new node with the specified ID.
*
* @param id The ID for the new node.
* @script{create}
*/
static Node* create(const char* id = NULL);
/**
* Extends ScriptTarget::getTypeName() to return the type name of this class.
*
* @return The type name of this class: "Node"
* @see ScriptTarget::getTypeName()
*/
const char* getTypeName() const;
/**
* Gets the identifier for the node.
*
* @return The node identifier.
*/
const char* getId() const;
/**
* Sets the identifier for the node.
*
* @param id The identifier to set for the node.
*/
void setId(const char* id);
/**
* Returns the type of the node.
*/
virtual Node::Type getType() const;
/**
* Adds a child node.
*
* @param child The child to add.
*/
virtual void addChild(Node* child);
/**
* Removes a child node.
*
* @param child The child to remove.
*/
virtual void removeChild(Node* child);
/**
* Removes all child nodes.
*/
virtual void removeAllChildren();
/**
* Returns the first child for this node.
*
* @return The first child.
*/
Node* getFirstChild() const;
/**
* Returns the first sibling of this node.
*
* @return The first sibling.
*/
Node* getNextSibling() const;
/**
* Returns the previous sibling to this node.
*
* @return The previous sibling.
*/
Node* getPreviousSibling() const;
/**
* Returns the parent of this node.
*
* @return The parent.
*/
Node* getParent() const;
/**
* Returns the number of direct children of this item.
*
* @return The number of children.
*/
unsigned int getChildCount() const;
/**
* Gets the top level node in this node's parent hierarchy.
*/
Node* getRootNode() const;
/**
* Returns the first child node that matches the given ID.
*
* This method checks the specified ID against its immediate child nodes
* but does not check the ID against itself.
* If recursive is true, it also traverses the Node's hierarchy with a breadth first search.
*
* @param id The ID of the child to find.
* @param recursive True to search recursively all the node's children, false for only direct children.
* @param exactMatch true if only nodes whose ID exactly matches the specified ID are returned,
* or false if nodes that start with the given ID are returned.
*
* @return The Node found or NULL if not found.
*/
Node* findNode(const char* id, bool recursive = true, bool exactMatch = true) const;
/**
* Returns all child nodes that match the given ID.
*
* @param id The ID of the node to find.
* @param nodes A vector of nodes to be populated with matches.
* @param recursive true if a recursive search should be performed, false otherwise.
* @param exactMatch true if only nodes whose ID exactly matches the specified ID are returned,
* or false if nodes that start with the given ID are returned.
*
* @return The number of matches found.
* @script{ignore}
*/
unsigned int findNodes(const char* id, std::vector<Node*>& nodes, bool recursive = true, bool exactMatch = true) const;
/**
* Gets the scene this node is currenlty within.
*
* @return The scene.
*/
virtual Scene* getScene() const;
/**
* Sets a tag on this Node.
*
* tags can be used for a variety of purposes within a game. For example,
* a tag called "transparent" can be added to nodes, to indicate which nodes in
* a scene are transparent. This tag can then be read during rendering to sort
* transparent and opaque objects for correct drawing order.
*
* Setting a tag to NULL removes the tag from the Node.
*
* @param name Name of the tag to set.
* @param value Optional value of the tag (empty string by default).
*/
void setTag(const char* name, const char* value = "");
/**
* Returns the value of the custom tag with the given name.
*
* @param name Name of the tag to return.
*
* @return The value of the given tag, or NULL if the tag is not set.
*/
const char* getTag(const char* name) const;
/**
* Determines if a custom tag with the specified name is set.
*
* @param name Name of the tag to query.
*
* @return true if the tag is set, false otherwise.
*/
bool hasTag(const char* name) const;
/**
* Sets if the node is enabled in the scene.
*
* @param enabled if the node is enabled in the scene.
*/
void setEnabled(bool enabled);
/**
* Gets if the node is enabled in the scene.
*
* @return if the node is enabled in the scene.
*/
bool isEnabled() const;
/**
* Gets if the node inherently enabled.
*
* @return if components attached on this node should be running.
*/
bool isEnabledInHierarchy() const;
/**
* Called to update the state of this Node.
*
* This method is called by Scene::update(float) to update the state of all active
* nodes in a scene. A Node is considered active if Node::isActive() returns true.
*
* If any scripts are attached to the node, their update event will be fired.
*
* @param elapsedTime Elapsed time in milliseconds.
*/
void update(float elapsedTime);
/**
* Returns whether the transformation of this node is static.
*
* Nodes that have static rigid bodies attached to them are considered static.
*
* @return True if the transformation of this Node is static, false otherwise.
*
* @see Transform::isStatic()
*/
bool isStatic() const;
/**
* Gets the world matrix corresponding to this node.
*
* @return The world matrix of this node.
*/
virtual const Matrix& getWorldMatrix() const;
/**
* Gets the world view matrix corresponding to this node.
*
* @return The world view matrix of this node.
*/
const Matrix& getWorldViewMatrix() const;
/**
* Gets the inverse transpose world matrix corresponding to this node.
*
* This matrix is typically used to transform normal vectors into world space.
*
* @return The inverse world matrix of this node.
*/
const Matrix& getInverseTransposeWorldMatrix() const;
/**
* Gets the inverse transpose world view matrix corresponding to this node.
*
* This matrix is typically used to transform normal vectors into view space.
*
* @return The inverse world view matrix of this node.
*/
const Matrix& getInverseTransposeWorldViewMatrix() const;
/**
* Gets the view matrix corresponding to this node based
* on the scene's active camera.
*
* @return The view matrix of this node.
*/
const Matrix& getViewMatrix() const;
/**
* Gets the inverse view matrix corresponding to this node based
* on the scene's active camera.
*
* @return The inverse view matrix of this node.
*/
const Matrix& getInverseViewMatrix() const;
/**
* Gets the projection matrix corresponding to this node based
* on the scene's active camera.
*
* @return The projection matrix of this node.
*/
const Matrix& getProjectionMatrix() const;
/**
* Gets the view * projection matrix corresponding to this node based
* on the scene's active camera.
*
* @return The view * projection matrix of this node.
*/
const Matrix& getViewProjectionMatrix() const;
/**
* Gets the inverse view * projection matrix corresponding to this node based
* on the scene's active camera.
*
* @return The inverse view * projection matrix of this node.
*/
const Matrix& getInverseViewProjectionMatrix() const;
/**
* Gets the world * view * projection matrix corresponding to this node based
* on the scene's active camera.
*
* @return The world * view * projection matrix of this node.
*/
const Matrix& getWorldViewProjectionMatrix() const;
/**
* Gets the translation vector (or position) of this Node in world space.
*
* @return The world translation vector.
*/
Vector3 getTranslationWorld() const;
/**
* Gets the translation vector (or position) of this Node in view space.
*
* @return The view space translation vector.
*/
Vector3 getTranslationView() const;
/**
* Returns the forward vector of the Node in world space.
*
* @return The forward vector in world space.
*/
Vector3 getForwardVectorWorld() const;
/**
* Returns the forward vector of the Node in view space.
*
* @return The forward vector in view space.
*/
Vector3 getForwardVectorView() const;
/**
* Returns the right vector of the Node in world space.
*
* @return The right vector in world space.
*/
Vector3 getRightVectorWorld() const;
/**
* Returns the up vector of the Node in world space.
*
* @return The up vector in world space.
*/
Vector3 getUpVectorWorld() const;
/**
* Returns the translation vector of the currently active camera for this node's scene.
*
* @return The translation vector of the scene's active camera.
*/
Vector3 getActiveCameraTranslationWorld() const;
/**
* Returns the view-space translation vector of the currently active camera for this node's scene.
*
* @return The translation vector of the scene's active camera, in view-space.
*/
Vector3 getActiveCameraTranslationView() const;
/**
* Gets the first animation in the node hierarchy with the specified ID.
*
* @param id The ID of the animation to get. Returns the first animation if ID is NULL.
* @return The first animation with the specified ID.
*/
Animation* getAnimation(const char* id = NULL) const;
/**
* Gets the drawable object attached to this node.
*
* @return The drawable component attached to this node.
*/
Drawable* getDrawable() const;
/**
* Set the drawable object to be attached to this node
*
* This is typically a Model, ParticleEmiiter, Form, Terrrain, Sprite, TileSet or Text.
*
* This will increase the reference count of the new drawble and decrease
* the reference count of the old drawable.
*
* @param drawable The new drawable component. May be NULL.
*/
void setDrawable(Drawable* drawable);
/**
* Gets the camera attached to this node.
*
* @return Gets the camera attached to this node.
*/
Camera* getCamera() const;
/**
* Attaches a camera to this node.
*
* This will increase the reference count of the new camera and decrease
* the reference count of the old camera.
*
* @param camera The new camera. May be NULL.
*/
void setCamera(Camera* camera);
/**
* Get the light attached to this node.
*
* @return The light attached to this node.
*/
Light* getLight() const;
/**
* Attaches a light to this node.
*
* This will increase the reference count of the new light and decrease
* the reference count of the old light.
*
* @param light The new light. May be NULL.
*/
void setLight(Light* light);
/**
* Gets the audio source attached to this node.
*
* @return The audio source attached to this node.
*/
AudioSource* getAudioSource() const;
/**
* Attaches an audio source to this node.
*
* This will increase the reference count of the new audio source and decrease
* the reference count of the old audio source.
*
* @param audio The new audio source. May be NULL.
*/
void setAudioSource(AudioSource* audio);
/**
* Returns the pointer to this node's physics collision object.
*
* The type of the returned collision object can be queried using
* the PhysicsCollisionObject::getType() method.
*
* @return The pointer to this node's physics collision object.
*/
PhysicsCollisionObject* getCollisionObject() const;
/**
* Sets (or disables) the physics collision object for this node.
*
* The supported collision object types include rigid bodies, ghost objects,
* characters, vehicles, and vehicle wheels.
*
* Rigid bodies are used to represent most physical objects in a game. The important
* feature of rigid bodies is that they can be simulated by the physics system as other
* rigid bodies or collision objects collide with them. To support this physics simulation,
* rigid bodies require additional parameters, such as mass, friction and restitution to
* define their physical features. These parameters can be passed into the
* 'rigidBodyParameters' parameter.
*
* Vehicles consist of a rigid body with wheels. The rigid body parameters can be passed-in
* via the 'rigidBodyParameters' parameter, and wheels can be added to the vehicle.
*
* Ghost objects are a simple type of collision object that are not simulated. By default
* they pass through other objects in the scene without affecting them. Ghost objects do
* receive collision events however, which makes them useful for representing non-simulated
* entities in a game that still require collision events, such as volumetric triggers,
* power-ups, etc.
*
* Characters are an extension of ghost objects which provide a number of additional features
* for animating and moving characters within a game. Characters are represented as ghost
* objects instead of rigid bodies to allow more direct control over character movement,
* since attempting to model a physics character with a simulated rigid body usually results
* in unresponsive and unpredictable character movement. Unlike normal ghost objects,
* characters to react to other characters and rigid bodies in the world. Characters react
* to gravity and collide (and respond) with rigid bodies to allow them to walk on the ground,
* slide along walls and walk up/down slopes and stairs.
*
* @param type The type of the collision object to set; to disable the physics
* collision object, pass PhysicsCollisionObject::NONE.
* @param shape Definition of a physics collision shape to be used for this collision object.
* Use the static shape methods on the PhysicsCollisionShape class to specify a shape
* definition, such as PhysicsCollisionShape::box().
* @param rigidBodyParameters If type is PhysicsCollisionObject::RIGID_BODY or
* PhysicsCollisionObject::VEHICLE, this must point to a valid rigid body
* parameters object containing information about the rigid body;
* otherwise, this parameter may be NULL.
* @param group Group identifier of the object for collision filtering.
* @param mask Bitmask to filter groups of objects to collide with this one.
*/
PhysicsCollisionObject* setCollisionObject(PhysicsCollisionObject::Type type,
const PhysicsCollisionShape::Definition& shape = PhysicsCollisionShape::box(),
PhysicsRigidBody::Parameters* rigidBodyParameters = NULL,
int group = PHYSICS_COLLISION_GROUP_DEFAULT,
int mask = PHYSICS_COLLISION_MASK_DEFAULT);
/**
* Sets the physics collision object for this node using the data from the Properties object defined at the specified URL,
* where the URL is of the format "<file-path>.<extension>#<namespace-id>/<namespace-id>/.../<namespace-id>"
* (and "#<namespace-id>/<namespace-id>/.../<namespace-id>" is optional).
*
* @param url The URL pointing to the Properties object defining the physics collision object.
*/
PhysicsCollisionObject* setCollisionObject(const char* url);
PhysicsCollisionObject* setCollisionObject(Properties* properties);
/**
* Gets the AI agent assigned to this node
*
* @return The AI agent for this node.
*/
AIAgent* getAgent() const;
/**
* Sets the AI agent for this node.
*
* @param agent The AI agent to set.
*/
void setAgent(AIAgent* agent);
/**
* Gets the user object assigned to this node.
*
* @return The user object assigned object to this node.
*/
Ref* getUserObject() const;
/**
* Sets a user object to be assigned object to this node.
*
* @param obj The user object assigned object to this node.
*/
void setUserObject(Ref* obj);
/**
* Returns the bounding sphere for the Node, in world space.
*
* The bounding sphere for a node represents the area, in world
* space, that the node contains. This includes the space occupied
* by any child nodes as well as the space occupied by any data
* inside the node (such as models).
*
* Bounding spheres for nodes are rough approximations of the data
* contained within a node and they are intended for visibility
* testing or first-pass intersection testing only. They are not
* appropriate for accurate collision detection since they most often
* do not tightly contain a node's content.
*
* A node that does not occupy any space will return a bounding sphere
* with a center point equal to the node translation and a radius of zero.
*
* @return The world-space bounding sphere for the node.
*/
const BoundingSphere& getBoundingSphere() const;
/**
* Clones the node and all of its child nodes.
*
* @return A new node.
* @script{create}
*/
Node* clone() const;
protected:
/**
* Constructor.
*/
Node(const char* id);
/**
* Destructor.
*/
virtual ~Node();
/**
* Clones a single node and its data but not its children.
*
* @param context The clone context.
*
* @return Pointer to the newly created node.
*/
virtual Node* cloneSingleNode(NodeCloneContext &context) const;
/**
* Recursively clones this node and its children.
*
* @param context The clone context.
*
* @return The newly created node.
*/
Node* cloneRecursive(NodeCloneContext &context) const;
/**
* Copies the data from this node into the given node.
*
* @param node The node to copy the data to.
* @param context The clone context.
*/
void cloneInto(Node* node, NodeCloneContext &context) const;
/**
* Removes this node from its parent.
*/
void remove();
/**
* Called when this Node's transform changes.
*/
void transformChanged();
/**
* Called when this Node's hierarchy changes.
*/
void hierarchyChanged();
/**
* Marks the bounding volume of the node as dirty.
*/
void setBoundsDirty();
/**
* Returns the first child node that matches the given ID.
*
* This method checks the specified ID against its immediate child nodes
* but does not check the ID against itself.
* If recursive is true, it also traverses the Node's hierarchy with a breadth first search.
*
* @param id The ID of the child to find.
* @param recursive True to search recursively all the node's children, false for only direct children.
* @param exactMatch true if only nodes whose ID exactly matches the specified ID are returned,
* or false if nodes that start with the given ID are returned.
* @param skipSkin Set true to skip skin hierarchy, initial find may set false to include skin hierarchy.
*
* @return The Node found or NULL if not found.
*/
Node* findNode(const char* id, bool recursive, bool exactMatch, bool skipSkin) const;
/**
* Returns all child nodes that match the given ID.
*
* @param id The ID of the node to find.
* @param nodes A vector of nodes to be populated with matches.
* @param recursive true if a recursive search should be performed, false otherwise.
* @param exactMatch true if only nodes whose ID exactly matches the specified ID are returned,
* or false if nodes that start with the given ID are returned.
* @param skipSkin Set true to skip skin hierarchy, initial find may set false to include skin hierarchy.
*
* @return The number of matches found.
* @script{ignore}
*/
unsigned int findNodes(const char* id, std::vector<Node*>& nodes, bool recursive, bool exactMatch, bool skipSkin) const;
private:
/**
* Hidden copy constructor.
*/
Node(const Node& copy);
/**
* Hidden copy assignment operator.
*/
Node& operator=(const Node&);
protected:
/** The scene this node is attached to. */
Scene* _scene;
/** The nodes id. */
std::string _id;
/** The nodes first child. */
Node* _firstChild;
/** The nodes next sibiling. */
Node* _nextSibling;
/** The nodes previous sibiling. */
Node* _prevSibling;
/** The nodes parent. */
Node* _parent;
/** The number of child nodes. */
unsigned int _childCount;
/** If this node is enabled. Maybe different if parent is enabled/disabled. */
bool _enabled;
/** Tags assigned to this node. */
std::map<std::string, std::string>* _tags;
/** The drawble component attached to this node. */
Drawable* _drawable;
/** The camera component attached to this node. */
Camera* _camera;
/** The light component attached to this node. */
Light* _light;
/** The audio source component attached to this node. */
AudioSource* _audioSource;
/** The collision object component attached to this node. */
PhysicsCollisionObject* _collisionObject;
/** The AI agent component attached to this node. */
mutable AIAgent* _agent;
/** The user object component attached to this node. */
Ref* _userObject;
/** The world matrix for this node. */
mutable Matrix _world;
/** The bounding sphere for this node. */
mutable BoundingSphere _bounds;
/** The dirty bits used for optimization. */
mutable int _dirtyBits;
};
/**
* NodeCloneContext represents the context data that is kept when cloning a node.
* The NodeCloneContext is used to make sure objects don't get cloned twice.
*/
class NodeCloneContext
{
public:
/**
* Constructor.
*/
NodeCloneContext();
/**
* Destructor.
*/
~NodeCloneContext();
/**
* Finds the cloned animation of the given animation or NULL if this animation was not registered with this context.
*
* @param animation The animation to search for the cloned copy of.
*
* @return The cloned animation or NULL if not found.
*/
Animation* findClonedAnimation(const Animation* animation);
/**
* Registers the cloned animation with this context so that it doesn't get cloned twice.
*
* @param original The pointer to the original animation.
* @param clone The pointer to the cloned animation.
*/
void registerClonedAnimation(const Animation* original, Animation* clone);
/**
* Finds the cloned node of the given node or NULL if this node was not registered with this context.
*
* @param node The node to search for the cloned copy of.
*
* @return The cloned node or NULL if not found.
*/
Node* findClonedNode(const Node* node);
/**
* Registers the cloned node with this context so that it doens't get cloned twice.
*
* @param original The pointer to the original node.
* @param clone The pointer to the cloned node.
*/
void registerClonedNode(const Node* original, Node* clone);
private:
/**
* Hidden copy constructor.
*/
NodeCloneContext(const NodeCloneContext&);
/**
* Hidden copy assignment operator.
*/
NodeCloneContext& operator=(const NodeCloneContext&);
std::map<const Animation*, Animation*> _clonedAnimations;
std::map<const Node*, Node*> _clonedNodes;
};
}
#endif
| [
"louis.mclaughlin@yahoo.co.uk"
] | louis.mclaughlin@yahoo.co.uk |
a7150e7c85d9b6c792e817d99c3c4c8925f8be40 | 1b4f9ec9bcf9b0b2610945c85cd7f76071d27097 | /Linked Lists/Insert a node at a specific position in a linked list.cpp | 39e7cc6b48d82edeb12e14d05a612e05e251fd53 | [] | no_license | vishal-d/Hackerrank-Interviewkit-solutions | bc6ff86b5a1c0dcfc3c9f9eb0d0ddcada90436cd | b0b5a90c2bfe186e9629664242a73a435b45f63a | refs/heads/master | 2022-12-27T20:49:57.904858 | 2020-09-30T13:41:44 | 2020-09-30T13:41:44 | 288,418,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | /*
* For your reference:
*
* SinglyLinkedListNode {
* int data;
* SinglyLinkedListNode* next;
* };
*
*/
SinglyLinkedListNode* insertNodeAtPosition(SinglyLinkedListNode* head, int data, int position) {
SinglyLinkedListNode* newnode= new SinglyLinkedListNode(data);
//newnode->data=data;
SinglyLinkedListNode* current=head;
int counter=0;
if(position==0){
newnode->next=head;
return newnode;
}
while(counter<position-1){
current=current->next;
counter++;
}
newnode->next=current->next;
current->next=newnode;
return head;
}
| [
"noreply@github.com"
] | vishal-d.noreply@github.com |
06dcbf59227f84a460f4cf793088c9477454b7ce | 4d0166c58be6a031c695295ded4192cfac202fc3 | /bin/mac64/cpp/obj/include/com/haxepunk/graphics/atlas/_AtlasData/AtlasDataType_Impl_.h | 2ee624e069954ae98a7870e4c809d6adafc3dd07 | [] | no_license | tobyalden/worry | 8d1262c91fa0cb491e917492baf9ce0a5fc45d1a | ebb9892175c92772142e3d48f3d4571132670863 | refs/heads/master | 2021-01-10T02:44:23.673599 | 2016-03-24T01:40:57 | 2016-03-26T02:08:12 | 53,271,643 | 0 | 2 | null | 2016-03-27T22:42:13 | 2016-03-06T19:19:26 | C++ | UTF-8 | C++ | false | false | 2,340 | h | #ifndef INCLUDED_com_haxepunk_graphics_atlas__AtlasData_AtlasDataType_Impl_
#define INCLUDED_com_haxepunk_graphics_atlas__AtlasData_AtlasDataType_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS4(com,haxepunk,graphics,atlas,AtlasData)
HX_DECLARE_CLASS5(com,haxepunk,graphics,atlas,_AtlasData,AtlasDataType_Impl_)
HX_DECLARE_CLASS3(openfl,_legacy,display,BitmapData)
HX_DECLARE_CLASS3(openfl,_legacy,display,IBitmapDrawable)
namespace com{
namespace haxepunk{
namespace graphics{
namespace atlas{
namespace _AtlasData{
class HXCPP_CLASS_ATTRIBUTES AtlasDataType_Impl__obj : public hx::Object{
public:
typedef hx::Object super;
typedef AtlasDataType_Impl__obj OBJ_;
AtlasDataType_Impl__obj();
Void __construct();
public:
inline void *operator new( size_t inSize, bool inContainer=false,const char *inName="com.haxepunk.graphics.atlas._AtlasData.AtlasDataType_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
static hx::ObjectPtr< AtlasDataType_Impl__obj > __new();
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~AtlasDataType_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
::String __ToString() const { return HX_HCSTRING("AtlasDataType_Impl_","\x2f","\x50","\xda","\x8c"); }
static ::com::haxepunk::graphics::atlas::AtlasData _new( ::com::haxepunk::graphics::atlas::AtlasData data);
static Dynamic _new_dyn();
static ::com::haxepunk::graphics::atlas::AtlasData toAtlasData( ::com::haxepunk::graphics::atlas::AtlasData this1);
static Dynamic toAtlasData_dyn();
static ::com::haxepunk::graphics::atlas::AtlasData fromString( ::String s);
static Dynamic fromString_dyn();
static ::com::haxepunk::graphics::atlas::AtlasData fromBitmapData( ::openfl::_legacy::display::BitmapData bd);
static Dynamic fromBitmapData_dyn();
static ::com::haxepunk::graphics::atlas::AtlasData fromAtlasData( ::com::haxepunk::graphics::atlas::AtlasData data);
static Dynamic fromAtlasData_dyn();
};
} // end namespace com
} // end namespace haxepunk
} // end namespace graphics
} // end namespace atlas
} // end namespace _AtlasData
#endif /* INCLUDED_com_haxepunk_graphics_atlas__AtlasData_AtlasDataType_Impl_ */
| [
"toby@Tobys-MacBook-Pro.local"
] | toby@Tobys-MacBook-Pro.local |
7b8885cebe72a664d863633cc3e3f1a6ee18960d | 63480c2926743ef75310e8b604b3ff110b493241 | /QML_SeaBattle/cbattlefield.cpp | 9f2f51d4c83cdb66ac77c5300facf99148d2df4c | [] | no_license | lmd-luxoft/labwork-RuslanSan | f5e6a13ddd7cc666c9f2f2da6fe489c56f97c5d1 | c3f99e54b6e86620110cd894fa9aabeae9550042 | refs/heads/main | 2023-03-12T04:39:10.238198 | 2021-03-03T07:12:14 | 2021-03-03T07:12:14 | 339,020,257 | 0 | 0 | null | 2021-02-15T09:07:14 | 2021-02-15T09:07:10 | null | UTF-8 | C++ | false | false | 2,795 | cpp | #include "cbattlefield.h"
#include "cships.h"
#include <algorithm>
const quint8 C_amountOfRows = 10;
CBattleField::CBattleField(QObject *parent) : QObject(parent),
m_amountOfRows(C_amountOfRows),
m_playerIsComputer(false),
m_availableCells(),
m_firedCells(),
m_ships(C_amountOfRows, C_amountOfRows)
{
for (int i=0; i< C_amountOfRows*C_amountOfRows; ++i) {
m_availableCells.push_back(i);
}
}
CShips& CBattleField::ships() {
return m_ships;
}
const std::vector<quint8> &CBattleField::availableCells() const
{
return m_availableCells;
}
void CBattleField::fire(quint8 x, quint8 y)
{
quint8 state=CShip::Undefined;
if (x>0 && y>0 && x <= C_amountOfRows && y <= C_amountOfRows) {
quint8 index = (y-1)*C_amountOfRows + (x-1);
auto it= std::find( m_firedCells.begin(), m_firedCells.end(), index);
if (it == m_firedCells.end() ) {
m_firedCells.push_back(index);
it= std::find( m_availableCells.begin(), m_availableCells.end(), index);
if (it != m_availableCells.end())
m_availableCells.erase(it);
CShip* pShip = m_ships.isShipPresentAtPos(x, y);
if (pShip) {
pShip->DestroyOnePart();
state = (pShip->state() != CShip::Destroyed) ? CShip::Broken : CShip::Destroyed;
if (CShip::Destroyed == state) {
showShipInState( pShip, CShip::Destroyed);
emit shipDestroyed();
if (m_ships.amountOfDestoyedShips() == m_ships.amountOfShips())
emit allShipDestroyed();
}
}
if (CShip::Destroyed != state)
emit setCellValue(x, y, state);
emit afterFire( m_playerIsComputer );
}
}
}
quint8 CBattleField::amountOfRows() const
{
return m_amountOfRows;
}
quint8 CBattleField::amountOfShips() const
{
return m_ships.amountOfShips();
}
quint8 CBattleField::amountOfDestroyedShips() const
{
return m_ships.amountOfDestoyedShips();
}
bool CBattleField::isPlayerComputer() const
{
return m_playerIsComputer;
}
void CBattleField::setPlayerIsComputer(bool playerIsComputer)
{
m_playerIsComputer = playerIsComputer;
}
void CBattleField::showShipInState(const CShip *pShip, quint8 state)
{
if (pShip) {
quint8 xd(0), yd(0);
for (auto i=0; i<pShip->size(); i++) {
if (CShip::Horizontal == pShip->direction()) {
xd=i; }
else {
yd=i; }
emit setCellValue(pShip->x()+xd, pShip->y()+yd, state);
}
}
}
void CBattleField::showShips()
{
for(const CShip ship: m_ships.ships()) {
showShipInState( &ship, CShip::Normal);
}
}
| [
"russanemail@gmail.com"
] | russanemail@gmail.com |
ec833d062a0c1f53d91393f0d8786ef5e9ccc13c | 3c761ddfeadde07c39f033b12457fe490df6339f | /moneyhub2.2/BankUI/UIControl/BaseClass/MouseObjContainer.h | 0b5688d291618c4400cd6effc408f6c8408d7610 | [] | no_license | 3660628/chtmoneyhub | d8fe22cef017d7a12b4c582667b6484af01032d2 | 7861d387a49edfe395379c1450df18cb1b8658f2 | refs/heads/master | 2021-01-02T09:20:08.263263 | 2012-01-11T08:32:20 | 2012-01-11T08:32:20 | 33,034,456 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,280 | h | #pragma once
// 之所以要弄这么一个类,主要是需要传递一些数据,模板类实例化之后,就不好写成指针的形式了
class CBaseProperties
{
public:
CBaseProperties() : m_bIsInWindow(false), m_iAlwaysStatus(0), m_iContainerType(-1), m_bIsPushDownButtonDown(false) {}
bool IsInWindow() const { return m_iAlwaysStatus > 0 ? true : m_bIsInWindow; }
void SetContainerType(int iType) { m_iContainerType = iType; }
ButtonStatus GetStatus() const
{
return IsInWindow() ? ((m_iContainerType == 0 && m_bIsPushDownButtonDown) ? Btn_MouseDown : Btn_MouseOver) : Btn_MouseOut;
}
int m_iAlwaysStatus;
bool m_bIsInWindow;
int m_iContainerType;
bool m_bIsPushDownButtonDown;
};
template <class T>
class ATL_NO_VTABLE CMouseObjContainer : public CBaseProperties
{
public:
void RegisterMouseObjChild(HWND hWnd, bool bAutoUpdate)
{
m_ChildWndSet.insert(std::make_pair(hWnd, bAutoUpdate));
T *pT = static_cast<T*>(this);
::SendMessage(hWnd, WM_USER + 0x000f, 0, (LPARAM)pT->m_hWnd);
}
void SetAlwaysOn(bool bFlag)
{
m_iAlwaysStatus = bFlag ? 1 : 0;
InvalidateAll();
}
private:
void InvalidateAll()
{
T *pT = static_cast<T*>(this);
pT->Invalidate();
for (ChildWindowSet::iterator it = m_ChildWndSet.begin(); it != m_ChildWndSet.end(); it++)
if (it->second)
::InvalidateRect(it->first, NULL, FALSE);
}
BEGIN_MSG_MAP_EX(T)
MESSAGE_HANDLER(WM_MOUSEMOVE, OnMouseMove)
MESSAGE_HANDLER(WM_MOUSELEAVE, OnMouseLeave)
MESSAGE_HANDLER_EX(WM_USER + 0x000f, OnMouseMoveChild)
MESSAGE_HANDLER_EX(WM_USER + 0x000e, OnSetAlwaysOnOrOff)
END_MSG_MAP()
LRESULT OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
{
bHandled = FALSE;
T *pT = static_cast<T*>(this);
if (!m_bIsInWindow)
{
TRACKMOUSEEVENT tme = { sizeof(TRACKMOUSEEVENT), TME_LEAVE, pT->m_hWnd };
::TrackMouseEvent(&tme);
m_bIsInWindow = true;
InvalidateAll();
}
return 0;
}
LRESULT OnMouseLeave(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
{
bHandled = FALSE;
POINT pt;
::GetCursorPos(&pt);
HWND hMouseWnd = ::WindowFromPoint(pt);
if (m_ChildWndSet.find(hMouseWnd) == m_ChildWndSet.end() || ::SendMessage(hMouseWnd, WM_USER + 0x000e, 0, MAKELPARAM(pt.x, pt.y)) == 0)
{
m_bIsInWindow = false;
InvalidateAll();
}
return 0;
}
LRESULT OnMouseMoveChild(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
T *pT = static_cast<T*>(this);
if (wParam == 0)
{
POINT pt;
::GetCursorPos(&pt);
HWND hMouseWnd = ::WindowFromPoint(pt);
if (hMouseWnd != pT->m_hWnd && m_ChildWndSet.find(hMouseWnd) == m_ChildWndSet.end())
{
m_bIsInWindow = false;
InvalidateAll();
}
else
{
TRACKMOUSEEVENT tme = { sizeof(TRACKMOUSEEVENT), TME_LEAVE, pT->m_hWnd };
::TrackMouseEvent(&tme);
}
}
else
{
if (!m_bIsInWindow)
{
m_bIsInWindow = true;
InvalidateAll();
}
}
return 0;
}
LRESULT OnSetAlwaysOnOrOff(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
SetAlwaysOn(wParam != 0);
return 0;
}
private:
typedef std::map<HWND, bool> ChildWindowSet;
ChildWindowSet m_ChildWndSet;
};
| [
"robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1"
] | robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1 |
8d221743a7a058653f826b3a0ead43c4656a948c | 05f8bb5289d3056ad7e4e20f05cfc98294838a1c | /tools/toy/mlir/ShapeInferencePass.cpp | cf3e492989b0f6f7cb1cb55487713720e1cfe6b5 | [
"MIT"
] | permissive | quantapix/qnarre | 72fc18d605dfa5db8a056016a7e5cbb2b19ad2da | a37ccb61338ce3d733c0f0ec1c9d40000b93132d | refs/heads/main | 2023-08-30T23:25:16.401972 | 2023-08-29T00:43:52 | 2023-08-29T00:43:52 | 178,420,195 | 2 | 0 | Apache-2.0 | 2021-09-27T21:56:01 | 2019-03-29T14:26:31 | Python | UTF-8 | C++ | false | false | 4,150 | cpp | //===- ShapeInferencePass.cpp - Shape Inference ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements a Function level pass performing interprocedural
// propagation of array shapes through function specialization.
//
//===----------------------------------------------------------------------===//
#include "mlir/Pass/Pass.h"
#include "toy/Dialect.h"
#include "toy/Passes.h"
#include "toy/ShapeInferenceInterface.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#define DEBUG_TYPE "shape-inference"
using namespace mlir;
using namespace toy;
/// Include the auto-generated definitions for the shape inference interfaces.
#include "toy/ShapeInferenceOpInterfaces.cpp.inc"
namespace {
/// The ShapeInferencePass is a pass that performs intra-procedural
/// shape inference.
///
/// Algorithm:
///
/// 1) Build a worklist containing all the operations that return a
/// dynamically shaped tensor: these are the operations that need shape
/// inference.
/// 2) Iterate on the worklist:
/// a) find an operation to process: the next ready operation in the
/// worklist has all of its arguments non-generic,
/// b) if no operation is found, break out of the loop,
/// c) remove the operation from the worklist,
/// d) infer the shape of its output from the argument types.
/// 3) If the worklist is empty, the algorithm succeeded.
///
struct ShapeInferencePass
: public mlir::PassWrapper<ShapeInferencePass, OperationPass<toy::FuncOp>> {
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ShapeInferencePass)
void runOnOperation() override {
auto f = getOperation();
// Populate the worklist with the operations that need shape inference:
// these are operations that return a dynamic shape.
llvm::SmallPtrSet<mlir::Operation *, 16> opWorklist;
f.walk([&](mlir::Operation *op) {
if (returnsDynamicShape(op))
opWorklist.insert(op);
});
// Iterate on the operations in the worklist until all operations have been
// inferred or no change happened (fix point).
while (!opWorklist.empty()) {
// Find the next operation ready for inference, that is an operation
// with all operands already resolved (non-generic).
auto nextop = llvm::find_if(opWorklist, allOperandsInferred);
if (nextop == opWorklist.end())
break;
Operation *op = *nextop;
opWorklist.erase(op);
// Ask the operation to infer its output shapes.
LLVM_DEBUG(llvm::dbgs() << "Inferring shape for: " << *op << "\n");
if (auto shapeOp = dyn_cast<ShapeInference>(op)) {
shapeOp.inferShapes();
} else {
op->emitError("unable to infer shape of operation without shape "
"inference interface");
return signalPassFailure();
}
}
// If the operation worklist isn't empty, this indicates a failure.
if (!opWorklist.empty()) {
f.emitError("Shape inference failed, ")
<< opWorklist.size() << " operations couldn't be inferred\n";
signalPassFailure();
}
}
/// A utility method that returns if the given operation has all of its
/// operands inferred.
static bool allOperandsInferred(Operation *op) {
return llvm::all_of(op->getOperandTypes(), [](Type operandType) {
return operandType.isa<RankedTensorType>();
});
}
/// A utility method that returns if the given operation has a dynamically
/// shaped result.
static bool returnsDynamicShape(Operation *op) {
return llvm::any_of(op->getResultTypes(), [](Type resultType) {
return !resultType.isa<RankedTensorType>();
});
}
};
} // namespace
/// Create a Shape Inference pass.
std::unique_ptr<mlir::Pass> mlir::toy::createShapeInferencePass() {
return std::make_unique<ShapeInferencePass>();
}
| [
"quantapix@gmail.com"
] | quantapix@gmail.com |
4e44d91acdcd8b7d2d5bce7c37e03e75ee6d4abb | f94894ab8253b5f15445d56111a031b49785f8b0 | /Kaynak.cpp | 5acc9eb01d29179e6b913ff4c7bcbbd8bb33c26c | [] | no_license | ilhan-sadikoglu/Polymorphism | c42d54d3d905d2d931dfe2feadae38de2b701b93 | c695eed3f0ace718127a8d743c85c19d33fe8bf9 | refs/heads/master | 2022-09-10T08:20:27.329351 | 2020-05-30T09:26:01 | 2020-05-30T09:26:01 | 268,047,898 | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 2,216 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
class Sekil { //nesnesi oluşturulamayan sanal bir sınıf
public:
int getKenar() {
return kenar;
}
int getTaban() {
return taban;
}
int getYukseklik() {
return yukseklik;
}
int setTaban(int a) {
taban = a;
}
int setYukseklik(int a) {
yukseklik = a;
}
void setKenar(int a) {
kenar = a;
}
virtual void print() = 0; //sanal olmasını sağladı
~Sekil() = default;
protected:
double kenar, taban, yukseklik;
string renk;
};
class Dikdortgen : public Sekil { //Sekil sınıfından kalıtım alan bir dortgen sınıfı oluşturduk
public:
Dikdortgen() {
kenar = 4;
taban = 0;
yukseklik = 0;
}
Dikdortgen(int a, int b) {
kenar = 4;
taban = a;
yukseklik = b;
}
virtual void print() {
cout << "Bu bir Dikdortgen \n"<< "taban: " << taban << "\nyukseklik: " << yukseklik<<endl;
cout << "alan: " << taban*yukseklik<<endl<<endl;
}
~Dikdortgen() = default;
};
class Kare : public Dikdortgen { //Sekil sınıfından kalıtım alan bir dortgen sınıfı oluşturduk
public:
//constructorlarımızı yazmalıyız
Kare() {
kenar = 4;
taban = 0;
yukseklik = 0;
}
Kare(int a) {
kenar = 4;
taban = a;
yukseklik = a;
}
void print() {
cout << "Bu bir kare \n" << "taban ve yukseklik: " << taban << endl;
cout << "alan: " << taban*yukseklik << endl << endl;
}
~Kare() = default;
};
class Ucgen: public Sekil { //Sekil sınıfından kalıtım alan bir üçgen sınıfı oluşturduk
public:
Ucgen() {
kenar = 3;
taban = 0;
yukseklik = 0;
}
Ucgen(int a, int b) {
kenar = 3;
taban = a;
yukseklik = b;
}
virtual void print() {
cout << "Bu bir Ucgen \n" << "taban: " << taban << "\nyukseklik: " << yukseklik << endl;
cout << "alan: " << (taban*yukseklik)/2 << endl << endl;
}
~Ucgen() = default;
};
int main() {
vector<Sekil*>dizi;
Dikdortgen d1(5,7),d2(7,9);
dizi.push_back(&d1);
dizi.push_back(&d2);
Kare k1(3), k2(4);
dizi.push_back(&k1);
dizi.push_back(&k2);
Ucgen u1(6, 8);
dizi.push_back(&u1);
for(int i=0;i<dizi.size();i++)
dizi[i]->print();
} | [
"noreply@github.com"
] | ilhan-sadikoglu.noreply@github.com |
eb7757a8cfe16766bb604438bc5af65460320123 | 7f041147e9a40340a446832b134172a871d90e34 | /demo/zfsrc/ZFFramework_test/ZFCore_test/ZFCore_ZFObserverGroup_test.cpp | 506612984a26dcbf7af67619f03323befb1a8318 | [
"MIT"
] | permissive | ZFFramework/ZFFramework | cf5eaff500b30469e9a7f975a23812b05147442f | f7b6daed830232e3d883e1520d097f8422c38800 | refs/heads/master | 2023-08-31T21:38:34.437769 | 2023-08-30T10:31:08 | 2023-08-30T10:31:08 | 43,946,097 | 60 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | cpp | #include "ZFCore_test.h"
ZF_NAMESPACE_GLOBAL_BEGIN
zfclass ZFCore_ZFObserverGroup_test : zfextend ZFFramework_test_TestCase {
ZFOBJECT_DECLARE(ZFCore_ZFObserverGroup_test, ZFFramework_test_TestCase)
ZFOBSERVER_EVENT(ZFObserverGroupTest0)
ZFOBSERVER_EVENT(ZFObserverGroupTest1)
protected:
zfoverride
virtual void testCaseOnStart(void) {
zfsuper::testCaseOnStart();
zfblockedAlloc(v_zfstring, testObserver0, "testObserver0");
ZFObserver testObserver1;
ZFObject *testObserver2 = zfAlloc(v_zfstring, "testObserver2");
zfblockedAlloc(v_zfstring, testObserver3, "testObserver3");
ZFObject *owner = zfAlloc(ZFObject);
ZFLISTENER(observer
) {
zfLogTrim() << zfargs.sender() << " " << ZFIdMapNameForId(zfargs.eventId());
} ZFLISTENER_END()
ZFObserverGroup(this, testObserver0)
.observerAdd(zfself::EventZFObserverGroupTest0(), observer)
.observerAdd(zfself::EventZFObserverGroupTest1(), observer)
;
ZFObserverGroup(this, testObserver1)
.observerAdd(zfself::EventZFObserverGroupTest0(), observer)
.observerAdd(zfself::EventZFObserverGroupTest1(), observer)
;
ZFObserverGroup(this, testObserver2)
.observerAdd(zfself::EventZFObserverGroupTest0(), observer)
.observerAdd(zfself::EventZFObserverGroupTest1(), observer)
;
ZFObserverGroup(owner, testObserver3)
.observerAdd(zfself::EventZFObserverGroupTest0(), observer)
.observerAdd(zfself::EventZFObserverGroupTest1(), observer)
;
this->testCaseOutput("before remove, all observer should be called");
testObserver0->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver0->observerNotify(zfself::EventZFObserverGroupTest1());
testObserver1.observerNotify(zfself::EventZFObserverGroupTest0());
testObserver1.observerNotify(zfself::EventZFObserverGroupTest1());
testObserver2->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver2->observerNotify(zfself::EventZFObserverGroupTest1());
testObserver3->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver3->observerNotify(zfself::EventZFObserverGroupTest1());
this->testCaseOutputSeparator();
zfRelease(owner);
this->testCaseOutput("owner released, all related observer should be removed");
testObserver3->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver3->observerNotify(zfself::EventZFObserverGroupTest1());
this->testCaseOutputSeparator();
zfRelease(testObserver2);
this->testCaseOutput("target released, all related observer should be removed");
this->testCaseOutputSeparator();
ZFObserverGroupRemove(this);
this->testCaseOutput("after remove, all observer should be removed");
testObserver0->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver0->observerNotify(zfself::EventZFObserverGroupTest1());
testObserver1.observerNotify(zfself::EventZFObserverGroupTest0());
testObserver1.observerNotify(zfself::EventZFObserverGroupTest1());
testObserver3->observerNotify(zfself::EventZFObserverGroupTest0());
testObserver3->observerNotify(zfself::EventZFObserverGroupTest1());
this->testCaseStop();
}
};
ZFOBJECT_REGISTER(ZFCore_ZFObserverGroup_test)
ZFOBSERVER_EVENT_REGISTER(ZFCore_ZFObserverGroup_test, ZFObserverGroupTest0)
ZFOBSERVER_EVENT_REGISTER(ZFCore_ZFObserverGroup_test, ZFObserverGroupTest1)
ZF_NAMESPACE_GLOBAL_END
| [
"z@zsaber.com"
] | z@zsaber.com |
389e11003aefca03875d9deb25d8b82fdbcab1e4 | e0e025b0b186e047461d2d74ea5fa84fb8a21f7b | /.history/8_cosuri_20210307084423.cpp | f6ab7a6510355cf37f50df8ae625c3f282de8732 | [] | no_license | xKristee29/1nfo | fbd4b9c1b50f45fbd10b968f39d342a47a007da7 | 1aa9ec38f24a54c76cab8d94212bd33df616082d | refs/heads/main | 2023-03-20T02:04:51.730374 | 2021-03-08T20:24:55 | 2021-03-08T20:24:55 | 345,783,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <bits/stdc++.h>
using namespace std;
ifstream f("cosuri.in");
ofstream g("cosuri.out");
multiset<int> s;
int n,cerinta;
int main(){
f>>cerinta>>n;
if(cerin)
return 0;
} | [
"c90717489@gmail.com"
] | c90717489@gmail.com |
d1aa9f6bc956343c7475566b2ff7efcf92297b9c | 868da0c4a384082f015ecb01f98ebd4c5a06ba07 | /algorithms/anagram/anagram.cpp | 27a4bfc8af7ed3f8d821bb507245e6d097c12c08 | [] | no_license | datumbrain/cpplibs | deff2395fa87c0970fe2e9d0db00213e760f564b | 01c1dedc8acfc18f0510a88175d34b560cb85586 | refs/heads/master | 2021-04-15T19:12:16.447573 | 2018-07-06T07:29:34 | 2018-07-06T07:29:34 | 94,587,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#define ALPHABETS_LENGTH 26
int anagram[ALPHABETS_LENGTH];
int main () {
ifstream fin("./anagram_input");
if (!fin) {
cout << "Input file not found.";
return 1;
}
char ch;
for (int i = 0 ; i < ALPHABETS_LENGTH ; i++)
anagram[i] = 0;
do {
fin.get(ch);
if (fin.eof())
break;
if (ch >= 'a' && ch <= 'z') {
anagram[static_cast<int>(ch) - static_cast<int>('a')]++;
}
} while (true);
for (int i = 0 ; i < ALPHABETS_LENGTH ; i++) {
if (anagram[i] == 0)
continue;
cout << "Occurance of " << static_cast<char>(i + 'a')
<< " is " << anagram[i] << (anagram[i] > 1 ? " times." : " time.") << endl;
}
if (fin)
fin.close();
return 0;
}
| [
"fsdqui@gmail.com"
] | fsdqui@gmail.com |
49af80b4966f2779348584e68e462dc73484113f | be72da9e96f0be4ca2f3ff204e972d2a98442f52 | /FileManager.h | 529939b0d9bfda36af31cfa2aa5a8a8c785d87d1 | [] | no_license | easyhooon/Basic-Major-Project-2 | 44654b79bc05798d3d65c1fc893d24da3fc0d0a6 | 0bbde1883d4b45992ff48201955ecd2a085a4681 | refs/heads/main | 2023-01-21T01:01:13.627710 | 2020-12-03T09:03:21 | 2020-12-03T09:03:21 | 318,132,621 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 233 | h | #pragma once
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
//파일 스트림 부모 클래스
class FileManager {
public:
void fileSave(string fileName) {
}
void fileLoad(string fileName) {
}
}; | [
"51016231+easyhooon@users.noreply.github.com"
] | 51016231+easyhooon@users.noreply.github.com |
a2570a06245d4a738bb073dd646f8f37f3024c31 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/adsi/novellnw/cschema.hxx | 7edc575e9938390edfea554435e02f7287c880c6 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,629 | hxx |
typedef struct _PropertyInfo
{
LPTSTR szPropertyName;
BSTR bstrOID;
BSTR bstrSyntax;
long lMaxRange;
long lMinRange;
BOOL fMultiValued;
DWORD dwFlags;
DWORD dwInfoLevel;
DWORD dwSyntaxId;
}PROPERTYINFO, *PPROPERTYINFO, *LPPROPERTYINFO;
typedef struct _ClassInfo
{
BSTR bstrName;
const GUID *pCLSID;
const GUID *pPrimaryInterfaceGUID;
BSTR bstrOID;
BOOL fAbstract;
BSTR bstrMandatoryProperties;
BSTR bstrOptionalProperties;
BSTR bstrPossSuperiors;
BSTR bstrContainment;
BOOL fContainer;
BSTR bstrHelpFileName;
long lHelpFileContext;
PROPERTYINFO *aPropertyInfo;
DWORD cPropertyInfo;
} CLASSINFO;
typedef struct _SyntaxInfo
{
BSTR bstrName;
long lOleAutoDataType;
} SYNTAXINFO;
extern DWORD g_cNWCOMPATClasses;
extern CLASSINFO g_aNWCOMPATClasses[];
extern DWORD g_cNWCOMPATSyntax;
extern SYNTAXINFO g_aNWCOMPATSyntax[];
HRESULT MakeVariantFromStringList(
BSTR bstrList,
VARIANT *pvVariant );
class CNWCOMPATSchema;
class CNWCOMPATSchema : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADs,
public IADsContainer
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
/* Other methods */
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsContainer_METHODS
/* Constructors, Destructors .... */
CNWCOMPATSchema::CNWCOMPATSchema();
CNWCOMPATSchema::~CNWCOMPATSchema();
static HRESULT CNWCOMPATSchema::CreateSchema(
BSTR bstrParent,
BSTR bstrName,
CCredentials &Credentials,
DWORD dwObjectState,
REFIID riid,
void **ppvObj );
static HRESULT CNWCOMPATSchema::AllocateSchemaObject(
CNWCOMPATSchema **ppSchema );
protected:
CDispatchMgr FAR * _pDispMgr;
VARIANT _vFilter;
CCredentials _Credentials;
};
class CNWCOMPATClass : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADsClass
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
/* Other methods */
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsClass_METHODS
/* Constructors, Destructors, .... */
CNWCOMPATClass::CNWCOMPATClass();
CNWCOMPATClass::~CNWCOMPATClass();
static HRESULT CNWCOMPATClass::CreateClass(
BSTR bstrParent,
CLASSINFO *pClassInfo,
DWORD dwObjectState,
REFIID riid,
void **ppvObj );
static HRESULT CNWCOMPATClass::AllocateClassObject(
CNWCOMPATClass **ppClass );
protected:
CDispatchMgr FAR * _pDispMgr;
VARIANT _vFilter;
DWORD _cPropertyInfo;
PROPERTYINFO *_aPropertyInfo;
/* Properties */
BSTR _bstrCLSID;
BSTR _bstrOID;
BSTR _bstrPrimaryInterface;
VARIANT_BOOL _fAbstract;
VARIANT _vMandatoryProperties;
VARIANT _vOptionalProperties;
VARIANT _vPossSuperiors;
VARIANT _vContainment;
VARIANT_BOOL _fContainer;
BSTR _bstrHelpFileName;
long _lHelpFileContext;
};
class CNWCOMPATProperty : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADsProperty
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
/* Other methods */
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsProperty_METHODS
/* Constructors, Destructors, ... */
CNWCOMPATProperty::CNWCOMPATProperty();
CNWCOMPATProperty::~CNWCOMPATProperty();
static HRESULT CNWCOMPATProperty::CreateProperty(
BSTR bstrParent,
PROPERTYINFO *pPropertyInfo,
DWORD dwObjectState,
REFIID riid,
void **ppvObj );
static HRESULT CNWCOMPATProperty::AllocatePropertyObject(
CNWCOMPATProperty **ppProperty );
protected:
CDispatchMgr FAR * _pDispMgr;
/* Properties */
BSTR _bstrOID;
BSTR _bstrSyntax;
long _lMaxRange;
long _lMinRange;
VARIANT_BOOL _fMultiValued;
};
class CNWCOMPATSyntax : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADsSyntax
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
/* Other methods */
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsSyntax_METHODS
/* Constructors, Destructors, ... */
CNWCOMPATSyntax::CNWCOMPATSyntax();
CNWCOMPATSyntax::~CNWCOMPATSyntax();
static HRESULT CNWCOMPATSyntax::CreateSyntax(
BSTR bstrParent,
SYNTAXINFO *pSyntaxInfo,
DWORD dwObjectState,
REFIID riid,
void **ppvObj );
static HRESULT CNWCOMPATSyntax::AllocateSyntaxObject(
CNWCOMPATSyntax **ppSyntax );
protected:
CDispatchMgr FAR * _pDispMgr;
/* Properties */
long _lOleAutoDataType;
};
| [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.